| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | /*! For license information please see editor-one-top-bar.min.js.LICENSE.txt */ |
| 2 | -(()=>{var B,H,W,K,Y={2192:(B,H,W)=>{"use strict";var K=W(41594),Y=Symbol.for("react.element"),ie=Symbol.for("react.fragment"),ce=Object.prototype.hasOwnProperty,ue=K.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,de={key:!0,ref:!0,__self:!0,__source:!0};function q(B,H,W){var K,ie={},pe=null,fe=null;for(K in void 0!==W&&(pe=""+W),void 0!==H.key&&(pe=""+H.key),void 0!==H.ref&&(fe=H.ref),H)ce.call(H,K)&&!de.hasOwnProperty(K)&&(ie[K]=H[K]);if(B&&B.defaultProps)for(K in H=B.defaultProps)void 0===ie[K]&&(ie[K]=H[K]);return{$$typeof:Y,type:B,key:pe,ref:fe,props:ie,_owner:ue.current}}H.Fragment=ie,H.jsx=q,H.jsxs=q},7470:(B,H,W)=>{"use strict";var K=W(75206);H.createRoot=K.createRoot,H.hydrateRoot=K.hydrateRoot},10564:B=>{function _typeof(H){return B.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(B){return typeof B}:function(B){return B&&"function"==typeof Symbol&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},B.exports.__esModule=!0,B.exports.default=B.exports,_typeof(H)}B.exports=_typeof,B.exports.__esModule=!0,B.exports.default=B.exports},18791:(B,H,W)=>{"use strict";var K=W(10564);Object.defineProperty(H,"__esModule",{value:!0}),H.default=void 0;_interopRequireWildcard(W(41594));var Y=_interopRequireWildcard(W(75206)),ie=W(7470);function _interopRequireWildcard(B,H){if("function"==typeof WeakMap)var W=new WeakMap,Y=new WeakMap;return(_interopRequireWildcard=function _interopRequireWildcard(B,H){if(!H&&B&&B.__esModule)return B;var ie,ce,ue={__proto__:null,default:B};if(null===B||"object"!=K(B)&&"function"!=typeof B)return ue;if(ie=H?Y:W){if(ie.has(B))return ie.get(B);ie.set(B,ue)}for(var de in B)"default"!==de&&{}.hasOwnProperty.call(B,de)&&((ce=(ie=Object.defineProperty)&&Object.getOwnPropertyDescriptor(B,de))&&(ce.get||ce.set)?ie(ue,de,ce):ue[de]=B[de]);return ue})(B,H)}H.default={render:function render(B,H){var W;try{var K=(0,ie.createRoot)(H);K.render(B),W=function unmountFunction(){K.unmount()}}catch(K){Y.render(B,H),W=function unmountFunction(){Y.unmountComponentAtNode(H)}}return{unmount:W}}}},24007:(B,H,W)=>{"use strict";Object.defineProperty(H,Symbol.toStringTag,{value:"Module"});const K=W(62540),Y=W(41594),ie=W(75206);function n(B){const H=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(B)for(const W in B)if("default"!==W){const K=Object.getOwnPropertyDescriptor(B,W);Object.defineProperty(H,W,K.get?K:{enumerable:!0,get:()=>B[W]})}return H.default=B,Object.freeze(H)}const ce=n(Y),ue=n(ie);function s(B,H){if(null==B)return{};var W={};for(var K in B)if({}.hasOwnProperty.call(B,K)){if(-1!==H.indexOf(K))continue;W[K]=B[K]}return W}function a(){return a=Object.assign?Object.assign.bind():function(B){for(var H=1;H<arguments.length;H++){var W=arguments[H];for(var K in W)({}).hasOwnProperty.call(W,K)&&(B[K]=W[K])}return B},a.apply(null,arguments)}function l(B){return B&&B.__esModule&&Object.prototype.hasOwnProperty.call(B,"default")?B.default:B}function c(B){if(Object.prototype.hasOwnProperty.call(B,"__esModule"))return B;var H=B.default;if("function"==typeof H){var W=function e(){var B=!1;try{B=this instanceof e}catch{}return B?Reflect.construct(H,arguments,this.constructor):H.apply(this,arguments)};W.prototype=H.prototype}else W={};return Object.defineProperty(W,"__esModule",{value:!0}),Object.keys(B).forEach(function(H){var K=Object.getOwnPropertyDescriptor(B,H);Object.defineProperty(W,H,K.get?K:{enumerable:!0,get:function(){return B[H]}})}),W}var de={exports:{}};var pe,fe,ke,Je,rt;function N(){return fe?pe:(fe=1,pe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}const st=l(function $(){return rt||(rt=1,de.exports=function F(){if(Je)return ke;Je=1;var B=N();function t(){}function r(){}return r.resetWarningCache=t,ke=function(){function n(H,W,K,Y,ie,ce){if(ce!==B){var ue=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw ue.name="Invariant Violation",ue}}function o(){return n}n.isRequired=n;var H={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return H.PropTypes=H,H},ke}()()),de.exports}());function z(B){var H,W,K="";if("string"==typeof B||"number"==typeof B)K+=B;else if("object"==typeof B)if(Array.isArray(B)){var Y=B.length;for(H=0;H<Y;H++)B[H]&&(W=z(B[H]))&&(K&&(K+=" "),K+=W)}else for(W in B)B[W]&&(K&&(K+=" "),K+=W);return K}function V(){for(var B,H,W=0,K="",Y=arguments.length;W<Y;W++)(B=arguments[W])&&(H=z(B))&&(K&&(K+=" "),K+=H);return K}function U(B,H,W=void 0){const K={};return Object.keys(B).forEach(Y=>{K[Y]=B[Y].reduce((B,K)=>{if(K){const Y=H(K);""!==Y&&B.push(Y),W&&W[K]&&B.push(W[K])}return B},[]).join(" ")}),K}var at,lt={},pt={exports:{}};function G(){return at||(at=1,(B=pt).exports=function(B){return B&&B.__esModule?B:{default:B}},B.exports.__esModule=!0,B.exports.default=B.exports),pt.exports;var B}var ht,mt={exports:{}};var vt,yt={exports:{}};function ee(B){var H=Object.create(null);return function(W){return void 0===H[W]&&(H[W]=B(W)),H[W]}}var bt=/^((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|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,wt=ee(function(B){return bt.test(B)||111===B.charCodeAt(0)&&110===B.charCodeAt(1)&&B.charCodeAt(2)<91}),xt=function(){function e(B){var H=this;this._insertTag=function(B){var W;W=0===H.tags.length?H.insertionPoint?H.insertionPoint.nextSibling:H.prepend?H.container.firstChild:H.before:H.tags[H.tags.length-1].nextSibling,H.container.insertBefore(B,W),H.tags.push(B)},this.isSpeedy=void 0===B.speedy||B.speedy,this.tags=[],this.ctr=0,this.nonce=B.nonce,this.key=B.key,this.container=B.container,this.prepend=B.prepend,this.insertionPoint=B.insertionPoint,this.before=null}var B=e.prototype;return B.hydrate=function(B){B.forEach(this._insertTag)},B.insert=function(B){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(B){var H=document.createElement("style");return H.setAttribute("data-emotion",B.key),void 0!==B.nonce&&H.setAttribute("nonce",B.nonce),H.appendChild(document.createTextNode("")),H.setAttribute("data-s",""),H}(this));var H=this.tags[this.tags.length-1];if(this.isSpeedy){var W=function(B){if(B.sheet)return B.sheet;for(var H=0;H<document.styleSheets.length;H++)if(document.styleSheets[H].ownerNode===B)return document.styleSheets[H]}(H);try{W.insertRule(B,W.cssRules.length)}catch(B){}}else H.appendChild(document.createTextNode(B));this.ctr++},B.flush=function(){this.tags.forEach(function(B){var H;return null==(H=B.parentNode)?void 0:H.removeChild(B)}),this.tags=[],this.ctr=0},e}(),St="-ms-",kt="-moz-",Et="-webkit-",At="comm",Pt="rule",Lt="decl",jt="@keyframes",Ft=Math.abs,Nt=String.fromCharCode,Dt=Object.assign;function he(B){return B.trim()}function me(B,H,W){return B.replace(H,W)}function ge(B,H){return B.indexOf(H)}function ve(B,H){return 0|B.charCodeAt(H)}function ye(B,H,W){return B.slice(H,W)}function be(B){return B.length}function we(B){return B.length}function xe(B,H){return H.push(B),B}var $t=1,zt=1,Bt=0,Vt=0,Xt=0,Jt="";function Te(B,H,W,K,Y,ie,ce){return{value:B,root:H,parent:W,type:K,props:Y,children:ie,line:$t,column:zt,length:ce,return:""}}function Re(B,H){return Dt(Te("",null,null,"",null,null,0),B,{length:-B.length},H)}function Ie(){return Xt=Vt>0?ve(Jt,--Vt):0,zt--,10===Xt&&(zt=1,$t--),Xt}function Me(){return Xt=Vt<Bt?ve(Jt,Vt++):0,zt++,10===Xt&&(zt=1,$t++),Xt}function Ae(){return ve(Jt,Vt)}function Pe(){return Vt}function Ne(B,H){return ye(Jt,B,H)}function je(B){switch(B){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 Le(B){return $t=zt=1,Bt=be(Jt=B),Vt=0,[]}function De(B){return Jt="",B}function Fe(B){return he(Ne(Vt-1,ze(91===B?B+2:40===B?B+1:B)))}function $e(B){for(;(Xt=Ae())&&Xt<33;)Me();return je(B)>2||je(Xt)>3?"":" "}function Be(B,H){for(;--H&&Me()&&!(Xt<48||Xt>102||Xt>57&&Xt<65||Xt>70&&Xt<97););return Ne(B,Pe()+(H<6&&32==Ae()&&32==Me()))}function ze(B){for(;Me();)switch(Xt){case B:return Vt;case 34:case 39:34!==B&&39!==B&&ze(Xt);break;case 40:41===B&&ze(B);break;case 92:Me()}return Vt}function Ve(B,H){for(;Me()&&B+Xt!==57&&(B+Xt!==84||47!==Ae()););return"/*"+Ne(H,Vt-1)+"*"+Nt(47===B?B:Me())}function Ue(B){for(;!je(Ae());)Me();return Ne(B,Vt)}function qe(B){return De(We("",null,null,null,[""],B=Le(B),0,[0],B))}function We(B,H,W,K,Y,ie,ce,ue,de){for(var pe=0,fe=0,ke=ce,Je=0,rt=0,st=0,at=1,lt=1,pt=1,ht=0,mt="",vt=Y,yt=ie,bt=K,wt=mt;lt;)switch(st=ht,ht=Me()){case 40:if(108!=st&&58==ve(wt,ke-1)){-1!=ge(wt+=me(Fe(ht),"&","&\f"),"&\f")&&(pt=-1);break}case 34:case 39:case 91:wt+=Fe(ht);break;case 9:case 10:case 13:case 32:wt+=$e(st);break;case 92:wt+=Be(Pe()-1,7);continue;case 47:switch(Ae()){case 42:case 47:xe(Ge(Ve(Me(),Pe()),H,W),de);break;default:wt+="/"}break;case 123*at:ue[pe++]=be(wt)*pt;case 125*at:case 59:case 0:switch(ht){case 0:case 125:lt=0;case 59+fe:-1==pt&&(wt=me(wt,/\f/g,"")),rt>0&&be(wt)-ke&&xe(rt>32?Ke(wt+";",K,W,ke-1):Ke(me(wt," ","")+";",K,W,ke-2),de);break;case 59:wt+=";";default:if(xe(bt=He(wt,H,W,pe,fe,Y,ue,mt,vt=[],yt=[],ke),ie),123===ht)if(0===fe)We(wt,H,bt,bt,vt,ie,ke,ue,yt);else switch(99===Je&&110===ve(wt,3)?100:Je){case 100:case 108:case 109:case 115:We(B,bt,bt,K&&xe(He(B,bt,bt,0,0,Y,ue,mt,Y,vt=[],ke),yt),Y,yt,ke,ue,K?vt:yt);break;default:We(wt,bt,bt,bt,[""],yt,0,ue,yt)}}pe=fe=rt=0,at=pt=1,mt=wt="",ke=ce;break;case 58:ke=1+be(wt),rt=st;default:if(at<1)if(123==ht)--at;else if(125==ht&&0==at++&&125==Ie())continue;switch(wt+=Nt(ht),ht*at){case 38:pt=fe>0?1:(wt+="\f",-1);break;case 44:ue[pe++]=(be(wt)-1)*pt,pt=1;break;case 64:45===Ae()&&(wt+=Fe(Me())),Je=Ae(),fe=ke=be(mt=wt+=Ue(Pe())),ht++;break;case 45:45===st&&2==be(wt)&&(at=0)}}return ie}function He(B,H,W,K,Y,ie,ce,ue,de,pe,fe){for(var ke=Y-1,Je=0===Y?ie:[""],rt=we(Je),st=0,at=0,lt=0;st<K;++st)for(var pt=0,ht=ye(B,ke+1,ke=Ft(at=ce[st])),mt=B;pt<rt;++pt)(mt=he(at>0?Je[pt]+" "+ht:me(ht,/&\f/g,Je[pt])))&&(de[lt++]=mt);return Te(B,H,W,0===Y?Pt:ue,de,pe,fe)}function Ge(B,H,W){return Te(B,H,W,At,Nt(Xt),ye(B,2,-2),0)}function Ke(B,H,W,K){return Te(B,H,W,Lt,ye(B,0,K),ye(B,K+1,-1),K)}function Ye(B,H){for(var W="",K=we(B),Y=0;Y<K;Y++)W+=H(B[Y],Y,B,H)||"";return W}function Ze(B,H,W,K){switch(B.type){case"@layer":if(B.children.length)break;case"@import":case Lt:return B.return=B.return||B.value;case At:return"";case jt:return B.return=B.value+"{"+Ye(B.children,K)+"}";case Pt:B.value=B.props.join(",")}return be(W=Ye(B.children,K))?B.return=B.value+"{"+W+"}":""}var Xe=function(B,H,W){for(var K=0,Y=0;K=Y,Y=Ae(),38===K&&12===Y&&(H[W]=1),!je(Y);)Me();return Ne(B,Vt)},Qt=new WeakMap,Qe=function(B){if("rule"===B.type&&B.parent&&!(B.length<1)){for(var H=B.value,W=B.parent,K=B.column===W.column&&B.line===W.line;"rule"!==W.type;)if(!(W=W.parent))return;if((1!==B.props.length||58===H.charCodeAt(0)||Qt.get(W))&&!K){Qt.set(B,!0);for(var Y=[],ie=function(B,H){return De(function(B,H){var W=-1,K=44;do{switch(je(K)){case 0:38===K&&12===Ae()&&(H[W]=1),B[W]+=Xe(Vt-1,H,W);break;case 2:B[W]+=Fe(K);break;case 4:if(44===K){B[++W]=58===Ae()?"&\f":"",H[W]=B[W].length;break}default:B[W]+=Nt(K)}}while(K=Me());return B}(Le(B),H))}(H,Y),ce=W.props,ue=0,de=0;ue<ie.length;ue++)for(var pe=0;pe<ce.length;pe++,de++)B.props[de]=Y[ue]?ie[ue].replace(/&\f/g,ce[pe]):ce[pe]+" "+ie[ue]}}},et=function(B){if("decl"===B.type){var H=B.value;108===H.charCodeAt(0)&&98===H.charCodeAt(2)&&(B.return="",B.value="")}};function tt(B,H){switch(function(B,H){return 45^ve(B,0)?(((H<<2^ve(B,0))<<2^ve(B,1))<<2^ve(B,2))<<2^ve(B,3):0}(B,H)){case 5103:return Et+"print-"+B+B;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 Et+B+B;case 5349:case 4246:case 4810:case 6968:case 2756:return Et+B+kt+B+St+B+B;case 6828:case 4268:return Et+B+St+B+B;case 6165:return Et+B+St+"flex-"+B+B;case 5187:return Et+B+me(B,/(\w+).+(:[^]+)/,Et+"box-$1$2"+St+"flex-$1$2")+B;case 5443:return Et+B+St+"flex-item-"+me(B,/flex-|-self/,"")+B;case 4675:return Et+B+St+"flex-line-pack"+me(B,/align-content|flex-|-self/,"")+B;case 5548:return Et+B+St+me(B,"shrink","negative")+B;case 5292:return Et+B+St+me(B,"basis","preferred-size")+B;case 6060:return Et+"box-"+me(B,"-grow","")+Et+B+St+me(B,"grow","positive")+B;case 4554:return Et+me(B,/([^-])(transform)/g,"$1"+Et+"$2")+B;case 6187:return me(me(me(B,/(zoom-|grab)/,Et+"$1"),/(image-set)/,Et+"$1"),B,"")+B;case 5495:case 3959:return me(B,/(image-set\([^]*)/,Et+"$1$`$1");case 4968:return me(me(B,/(.+:)(flex-)?(.*)/,Et+"box-pack:$3"+St+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Et+B+B;case 4095:case 3583:case 4068:case 2532:return me(B,/(.+)-inline(.+)/,Et+"$1$2")+B;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(be(B)-1-H>6)switch(ve(B,H+1)){case 109:if(45!==ve(B,H+4))break;case 102:return me(B,/(.+:)(.+)-([^]+)/,"$1"+Et+"$2-$3$1"+kt+(108==ve(B,H+3)?"$3":"$2-$3"))+B;case 115:return~ge(B,"stretch")?tt(me(B,"stretch","fill-available"),H)+B:B}break;case 4949:if(115!==ve(B,H+1))break;case 6444:switch(ve(B,be(B)-3-(~ge(B,"!important")&&10))){case 107:return me(B,":",":"+Et)+B;case 101:return me(B,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Et+(45===ve(B,14)?"inline-":"")+"box$3$1"+Et+"$2$3$1"+St+"$2box$3")+B}break;case 5936:switch(ve(B,H+11)){case 114:return Et+B+St+me(B,/[svh]\w+-[tblr]{2}/,"tb")+B;case 108:return Et+B+St+me(B,/[svh]\w+-[tblr]{2}/,"tb-rl")+B;case 45:return Et+B+St+me(B,/[svh]\w+-[tblr]{2}/,"lr")+B}return Et+B+St+B+B}return B}var er=[function(B,H,W,K){if(B.length>-1&&!B.return)switch(B.type){case Lt:B.return=tt(B.value,B.length);break;case jt:return Ye([Re(B,{value:me(B.value,"@","@"+Et)})],K);case Pt:if(B.length)return function(B,H){return B.map(H).join("")}(B.props,function(H){switch(function(B){return(B=/(::plac\w+|:read-\w+)/.exec(B))?B[0]:B}(H)){case":read-only":case":read-write":return Ye([Re(B,{props:[me(H,/:(read-\w+)/,":-moz-$1")]})],K);case"::placeholder":return Ye([Re(B,{props:[me(H,/:(plac\w+)/,":"+Et+"input-$1")]}),Re(B,{props:[me(H,/:(plac\w+)/,":-moz-$1")]}),Re(B,{props:[me(H,/:(plac\w+)/,St+"input-$1")]})],K)}return""})}}],nt=function(B){var H=B.key;if("css"===H){var W=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(W,function(B){-1!==B.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(B),B.setAttribute("data-s",""))})}var K,Y,ie=B.stylisPlugins||er,ce={},ue=[];K=B.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+H+' "]'),function(B){for(var H=B.getAttribute("data-emotion").split(" "),W=1;W<H.length;W++)ce[H[W]]=!0;ue.push(B)});var de,pe,fe=[Ze,(pe=function(B){de.insert(B)},function(B){B.root||(B=B.return)&&pe(B)})],ke=function(B){var H=we(B);return function(W,K,Y,ie){for(var ce="",ue=0;ue<H;ue++)ce+=B[ue](W,K,Y,ie)||"";return ce}}([Qe,et].concat(ie,fe));Y=function(B,H,W,K){de=W,Ye(qe(B?B+"{"+H.styles+"}":H.styles),ke),K&&(Je.inserted[H.name]=!0)};var Je={key:H,sheet:new xt({key:H,container:K,nonce:B.nonce,speedy:B.speedy,prepend:B.prepend,insertionPoint:B.insertionPoint}),nonce:B.nonce,inserted:ce,registered:{},insert:Y};return Je.sheet.hydrate(ue),Je},ot=function(B,H,W){var K=B.key+"-"+H.name;!1===W&&void 0===B.registered[K]&&(B.registered[K]=H.styles)},it=function(B,H,W){ot(B,H,W);var K=B.key+"-"+H.name;if(void 0===B.inserted[H.name]){var Y=H;do{B.insert(H===Y?"."+K:"",Y,B.sheet,!0),Y=Y.next}while(void 0!==Y)}},tr={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,scale: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},rr=/[A-Z]|^ms/g,Er=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ct=function(B){return 45===B.charCodeAt(1)},ut=function(B){return null!=B&&"boolean"!=typeof B},Mr=ee(function(B){return ct(B)?B:B.replace(rr,"-$&").toLowerCase()}),dt=function(B,H){switch(B){case"animation":case"animationName":if("string"==typeof H)return H.replace(Er,function(B,H,W){return Ar={name:H,styles:W,next:Ar},H})}return 1===tr[B]||ct(B)||"number"!=typeof H||0===H?H:H+"px"};function ft(B,H,W){if(null==W)return"";var K=W;if(void 0!==K.__emotion_styles)return K;switch(typeof W){case"boolean":return"";case"object":var Y=W;if(1===Y.anim)return Ar={name:Y.name,styles:Y.styles,next:Ar},Y.name;var ie=W;if(void 0!==ie.styles){var ce=ie.next;if(void 0!==ce)for(;void 0!==ce;)Ar={name:ce.name,styles:ce.styles,next:Ar},ce=ce.next;return ie.styles+";"}return function(B,H,W){var K="";if(Array.isArray(W))for(var Y=0;Y<W.length;Y++)K+=ft(B,H,W[Y])+";";else for(var ie in W){var ce=W[ie];if("object"!=typeof ce){var ue=ce;null!=H&&void 0!==H[ue]?K+=ie+"{"+H[ue]+"}":ut(ue)&&(K+=Mr(ie)+":"+dt(ie,ue)+";")}else if(!Array.isArray(ce)||"string"!=typeof ce[0]||null!=H&&void 0!==H[ce[0]]){var de=ft(B,H,ce);switch(ie){case"animation":case"animationName":K+=Mr(ie)+":"+de+";";break;default:K+=ie+"{"+de+"}"}}else for(var pe=0;pe<ce.length;pe++)ut(ce[pe])&&(K+=Mr(ie)+":"+dt(ie,ce[pe])+";")}return K}(B,H,W);case"function":if(void 0!==B){var ue=Ar,de=W(B);return Ar=ue,ft(B,H,de)}}var pe=W;if(null==H)return pe;var fe=H[pe];return void 0!==fe?fe:pe}var Ar,Fr=/label:\s*([^\s;{]+)\s*(;|$)/g;function gt(B,H,W){if(1===B.length&&"object"==typeof B[0]&&null!==B[0]&&void 0!==B[0].styles)return B[0];var K=!0,Y="";Ar=void 0;var ie=B[0];null==ie||void 0===ie.raw?(K=!1,Y+=ft(W,H,ie)):Y+=ie[0];for(var ce=1;ce<B.length;ce++)Y+=ft(W,H,B[ce]),K&&(Y+=ie[ce]);Fr.lastIndex=0;for(var ue,de="";null!==(ue=Fr.exec(Y));)de+="-"+ue[1];var pe=function(B){for(var H,W=0,K=0,Y=B.length;Y>=4;++K,Y-=4)H=1540483477*(65535&(H=255&B.charCodeAt(K)|(255&B.charCodeAt(++K))<<8|(255&B.charCodeAt(++K))<<16|(255&B.charCodeAt(++K))<<24))+(59797*(H>>>16)<<16),W=1540483477*(65535&(H^=H>>>24))+(59797*(H>>>16)<<16)^1540483477*(65535&W)+(59797*(W>>>16)<<16);switch(Y){case 3:W^=(255&B.charCodeAt(K+2))<<16;case 2:W^=(255&B.charCodeAt(K+1))<<8;case 1:W=1540483477*(65535&(W^=255&B.charCodeAt(K)))+(59797*(W>>>16)<<16)}return(((W=1540483477*(65535&(W^=W>>>13))+(59797*(W>>>16)<<16))^W>>>15)>>>0).toString(36)}(Y)+de;return{name:pe,styles:Y,next:Ar}}var Dr=!!ce.useInsertionEffect&&ce.useInsertionEffect,Hr=Dr||function(B){return B()},Vr=Dr||ce.useLayoutEffect,qr=ce.createContext("undefined"!=typeof HTMLElement?nt({key:"css"}):null),Gr=qr.Provider,_t=function(B){return Y.forwardRef(function(H,W){var K=Y.useContext(qr);return B(H,K,W)})},Xr=ce.createContext({}),Kr=_t(function(B,H){var W=gt([B.styles],void 0,ce.useContext(Xr)),K=ce.useRef();return Vr(function(){var B=H.key+"-global",Y=new H.sheet.constructor({key:B,nonce:H.sheet.nonce,container:H.sheet.container,speedy:H.sheet.isSpeedy}),ie=!1,ce=document.querySelector('style[data-emotion="'+B+" "+W.name+'"]');return H.sheet.tags.length&&(Y.before=H.sheet.tags[0]),null!==ce&&(ie=!0,ce.setAttribute("data-emotion",B),Y.hydrate([ce])),K.current=[Y,ie],function(){Y.flush()}},[H]),Vr(function(){var B=K.current,Y=B[0];if(B[1])B[1]=!1;else{if(void 0!==W.next&&it(H,W.next,!0),Y.tags.length){var ie=Y.tags[Y.tags.length-1].nextElementSibling;Y.before=ie,Y.flush()}H.insert("",W,Y,!1)}},[H,W.name]),null});function Ct(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];return gt(H)}var Ot=function(){var B=Ct.apply(void 0,arguments),H="animation-"+B.name;return{name:H,styles:"@keyframes "+H+"{"+B.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Yr=wt,Tt=function(B){return"theme"!==B},Rt=function(B){return"string"==typeof B&&B.charCodeAt(0)>96?Yr:Tt},It=function(B,H,W){var K;if(H){var Y=H.shouldForwardProp;K=B.__emotion_forwardProp&&Y?function(H){return B.__emotion_forwardProp(H)&&Y(H)}:Y}return"function"!=typeof K&&W&&(K=B.__emotion_forwardProp),K},Mt=function(B){var H=B.cache,W=B.serialized,K=B.isStringTag;return ot(H,W,K),Hr(function(){return it(H,W,K)}),null},Jr=function e(B,H){var W,K,Y=B.__emotion_real===B,ie=Y&&B.__emotion_base||B;void 0!==H&&(W=H.label,K=H.target);var ue=It(B,H,Y),de=ue||Rt(ie),pe=!de("as");return function(){var fe=arguments,ke=Y&&void 0!==B.__emotion_styles?B.__emotion_styles.slice(0):[];if(void 0!==W&&ke.push("label:"+W+";"),null==fe[0]||void 0===fe[0].raw)ke.push.apply(ke,fe);else{ke.push(fe[0][0]);for(var Je=fe.length,rt=1;rt<Je;rt++)ke.push(fe[rt],fe[0][rt])}var st=_t(function(B,H,W){var Y=pe&&B.as||ie,fe="",Je=[],rt=B;if(null==B.theme){for(var st in rt={},B)rt[st]=B[st];rt.theme=ce.useContext(Xr)}"string"==typeof B.className?fe=function(B,H,W){var K="";return W.split(" ").forEach(function(W){void 0!==B[W]?H.push(B[W]+";"):W&&(K+=W+" ")}),K}(H.registered,Je,B.className):null!=B.className&&(fe=B.className+" ");var at=gt(ke.concat(Je),H.registered,rt);fe+=H.key+"-"+at.name,void 0!==K&&(fe+=" "+K);var lt=pe&&void 0===ue?Rt(Y):de,pt={};for(var ht in B)pe&&"as"===ht||lt(ht)&&(pt[ht]=B[ht]);return pt.className=fe,W&&(pt.ref=W),ce.createElement(ce.Fragment,null,ce.createElement(Mt,{cache:H,serialized:at,isStringTag:"string"==typeof Y}),ce.createElement(Y,pt))});return st.displayName=void 0!==W?W:"Styled("+("string"==typeof ie?ie:ie.displayName||ie.name||"Component")+")",st.defaultProps=B.defaultProps,st.__emotion_real=st,st.__emotion_base=ie,st.__emotion_styles=ke,st.__emotion_forwardProp=ue,Object.defineProperty(st,"toString",{value:function(){return"."+K}}),st.withComponent=function(B,W){return e(B,a({},H,W,{shouldForwardProp:It(st,W,!0)})).apply(void 0,ke)},st}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(B){Jr[B]=Jr(B)});var Qr="-ms-",en="-moz-",rn="-webkit-",nn="comm",cn="rule",un="decl",dn="@keyframes",fn=Math.abs,mn=String.fromCharCode,gn=Object.assign;function Ut(B){return B.trim()}function qt(B,H,W){return B.replace(H,W)}function Wt(B,H){return B.indexOf(H)}function Ht(B,H){return 0|B.charCodeAt(H)}function Gt(B,H,W){return B.slice(H,W)}function Kt(B){return B.length}function Yt(B){return B.length}function Zt(B,H){return H.push(B),B}var kn=1,Cn=1,On=0,En=0,Rn=0,In="";function nr(B,H,W,K,Y,ie,ce){return{value:B,root:H,parent:W,type:K,props:Y,children:ie,line:kn,column:Cn,length:ce,return:""}}function or(B,H){return gn(nr("",null,null,"",null,null,0),B,{length:-B.length},H)}function ir(){return Rn=En>0?Ht(In,--En):0,Cn--,10===Rn&&(Cn=1,kn--),Rn}function sr(){return Rn=En<On?Ht(In,En++):0,Cn++,10===Rn&&(Cn=1,kn++),Rn}function ar(){return Ht(In,En)}function lr(){return En}function cr(B,H){return Gt(In,B,H)}function ur(B){switch(B){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 pr(B){return kn=Cn=1,On=Kt(In=B),En=0,[]}function dr(B){return In="",B}function fr(B){return Ut(cr(En-1,gr(91===B?B+2:40===B?B+1:B)))}function hr(B){for(;(Rn=ar())&&Rn<33;)sr();return ur(B)>2||ur(Rn)>3?"":" "}function mr(B,H){for(;--H&&sr()&&!(Rn<48||Rn>102||Rn>57&&Rn<65||Rn>70&&Rn<97););return cr(B,lr()+(H<6&&32==ar()&&32==sr()))}function gr(B){for(;sr();)switch(Rn){case B:return En;case 34:case 39:34!==B&&39!==B&&gr(Rn);break;case 40:41===B&&gr(B);break;case 92:sr()}return En}function vr(B,H){for(;sr()&&B+Rn!==57&&(B+Rn!==84||47!==ar()););return"/*"+cr(H,En-1)+"*"+mn(47===B?B:sr())}function yr(B){for(;!ur(ar());)sr();return cr(B,En)}function br(B){return dr(wr("",null,null,null,[""],B=pr(B),0,[0],B))}function wr(B,H,W,K,Y,ie,ce,ue,de){for(var pe=0,fe=0,ke=ce,Je=0,rt=0,st=0,at=1,lt=1,pt=1,ht=0,mt="",vt=Y,yt=ie,bt=K,wt=mt;lt;)switch(st=ht,ht=sr()){case 40:if(108!=st&&58==Ht(wt,ke-1)){-1!=Wt(wt+=qt(fr(ht),"&","&\f"),"&\f")&&(pt=-1);break}case 34:case 39:case 91:wt+=fr(ht);break;case 9:case 10:case 13:case 32:wt+=hr(st);break;case 92:wt+=mr(lr()-1,7);continue;case 47:switch(ar()){case 42:case 47:Zt(_r(vr(sr(),lr()),H,W),de);break;default:wt+="/"}break;case 123*at:ue[pe++]=Kt(wt)*pt;case 125*at:case 59:case 0:switch(ht){case 0:case 125:lt=0;case 59+fe:-1==pt&&(wt=qt(wt,/\f/g,"")),rt>0&&Kt(wt)-ke&&Zt(rt>32?Sr(wt+";",K,W,ke-1):Sr(qt(wt," ","")+";",K,W,ke-2),de);break;case 59:wt+=";";default:if(Zt(bt=xr(wt,H,W,pe,fe,Y,ue,mt,vt=[],yt=[],ke),ie),123===ht)if(0===fe)wr(wt,H,bt,bt,vt,ie,ke,ue,yt);else switch(99===Je&&110===Ht(wt,3)?100:Je){case 100:case 108:case 109:case 115:wr(B,bt,bt,K&&Zt(xr(B,bt,bt,0,0,Y,ue,mt,Y,vt=[],ke),yt),Y,yt,ke,ue,K?vt:yt);break;default:wr(wt,bt,bt,bt,[""],yt,0,ue,yt)}}pe=fe=rt=0,at=pt=1,mt=wt="",ke=ce;break;case 58:ke=1+Kt(wt),rt=st;default:if(at<1)if(123==ht)--at;else if(125==ht&&0==at++&&125==ir())continue;switch(wt+=mn(ht),ht*at){case 38:pt=fe>0?1:(wt+="\f",-1);break;case 44:ue[pe++]=(Kt(wt)-1)*pt,pt=1;break;case 64:45===ar()&&(wt+=fr(sr())),Je=ar(),fe=ke=Kt(mt=wt+=yr(lr())),ht++;break;case 45:45===st&&2==Kt(wt)&&(at=0)}}return ie}function xr(B,H,W,K,Y,ie,ce,ue,de,pe,fe){for(var ke=Y-1,Je=0===Y?ie:[""],rt=Yt(Je),st=0,at=0,lt=0;st<K;++st)for(var pt=0,ht=Gt(B,ke+1,ke=fn(at=ce[st])),mt=B;pt<rt;++pt)(mt=Ut(at>0?Je[pt]+" "+ht:qt(ht,/&\f/g,Je[pt])))&&(de[lt++]=mt);return nr(B,H,W,0===Y?cn:ue,de,pe,fe)}function _r(B,H,W){return nr(B,H,W,nn,mn(Rn),Gt(B,2,-2),0)}function Sr(B,H,W,K){return nr(B,H,W,un,Gt(B,0,K),Gt(B,K+1,-1),K)}function kr(B,H){for(var W="",K=Yt(B),Y=0;Y<K;Y++)W+=H(B[Y],Y,B,H)||"";return W}function Cr(B,H,W,K){switch(B.type){case"@layer":if(B.children.length)break;case"@import":case un:return B.return=B.return||B.value;case nn:return"";case dn:return B.return=B.value+"{"+kr(B.children,K)+"}";case cn:B.value=B.props.join(",")}return Kt(W=kr(B.children,K))?B.return=B.value+"{"+W+"}":""}var Or=function(B,H,W){for(var K=0,Y=0;K=Y,Y=ar(),38===K&&12===Y&&(H[W]=1),!ur(Y);)sr();return cr(B,En)},Tn=new WeakMap,Tr=function(B){if("rule"===B.type&&B.parent&&!(B.length<1)){for(var H=B.value,W=B.parent,K=B.column===W.column&&B.line===W.line;"rule"!==W.type;)if(!(W=W.parent))return;if((1!==B.props.length||58===H.charCodeAt(0)||Tn.get(W))&&!K){Tn.set(B,!0);for(var Y=[],ie=function(B,H){return dr(function(B,H){var W=-1,K=44;do{switch(ur(K)){case 0:38===K&&12===ar()&&(H[W]=1),B[W]+=Or(En-1,H,W);break;case 2:B[W]+=fr(K);break;case 4:if(44===K){B[++W]=58===ar()?"&\f":"",H[W]=B[W].length;break}default:B[W]+=mn(K)}}while(K=sr());return B}(pr(B),H))}(H,Y),ce=W.props,ue=0,de=0;ue<ie.length;ue++)for(var pe=0;pe<ce.length;pe++,de++)B.props[de]=Y[ue]?ie[ue].replace(/&\f/g,ce[pe]):ce[pe]+" "+ie[ue]}}},Rr=function(B){if("decl"===B.type){var H=B.value;108===H.charCodeAt(0)&&98===H.charCodeAt(2)&&(B.return="",B.value="")}};function Ir(B,H){switch(function(B,H){return 45^Ht(B,0)?(((H<<2^Ht(B,0))<<2^Ht(B,1))<<2^Ht(B,2))<<2^Ht(B,3):0}(B,H)){case 5103:return rn+"print-"+B+B;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 rn+B+B;case 5349:case 4246:case 4810:case 6968:case 2756:return rn+B+en+B+Qr+B+B;case 6828:case 4268:return rn+B+Qr+B+B;case 6165:return rn+B+Qr+"flex-"+B+B;case 5187:return rn+B+qt(B,/(\w+).+(:[^]+)/,rn+"box-$1$2"+Qr+"flex-$1$2")+B;case 5443:return rn+B+Qr+"flex-item-"+qt(B,/flex-|-self/,"")+B;case 4675:return rn+B+Qr+"flex-line-pack"+qt(B,/align-content|flex-|-self/,"")+B;case 5548:return rn+B+Qr+qt(B,"shrink","negative")+B;case 5292:return rn+B+Qr+qt(B,"basis","preferred-size")+B;case 6060:return rn+"box-"+qt(B,"-grow","")+rn+B+Qr+qt(B,"grow","positive")+B;case 4554:return rn+qt(B,/([^-])(transform)/g,"$1"+rn+"$2")+B;case 6187:return qt(qt(qt(B,/(zoom-|grab)/,rn+"$1"),/(image-set)/,rn+"$1"),B,"")+B;case 5495:case 3959:return qt(B,/(image-set\([^]*)/,rn+"$1$`$1");case 4968:return qt(qt(B,/(.+:)(flex-)?(.*)/,rn+"box-pack:$3"+Qr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+rn+B+B;case 4095:case 3583:case 4068:case 2532:return qt(B,/(.+)-inline(.+)/,rn+"$1$2")+B;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(Kt(B)-1-H>6)switch(Ht(B,H+1)){case 109:if(45!==Ht(B,H+4))break;case 102:return qt(B,/(.+:)(.+)-([^]+)/,"$1"+rn+"$2-$3$1"+en+(108==Ht(B,H+3)?"$3":"$2-$3"))+B;case 115:return~Wt(B,"stretch")?Ir(qt(B,"stretch","fill-available"),H)+B:B}break;case 4949:if(115!==Ht(B,H+1))break;case 6444:switch(Ht(B,Kt(B)-3-(~Wt(B,"!important")&&10))){case 107:return qt(B,":",":"+rn)+B;case 101:return qt(B,/(.+:)([^;!]+)(;|!.+)?/,"$1"+rn+(45===Ht(B,14)?"inline-":"")+"box$3$1"+rn+"$2$3$1"+Qr+"$2box$3")+B}break;case 5936:switch(Ht(B,H+11)){case 114:return rn+B+Qr+qt(B,/[svh]\w+-[tblr]{2}/,"tb")+B;case 108:return rn+B+Qr+qt(B,/[svh]\w+-[tblr]{2}/,"tb-rl")+B;case 45:return rn+B+Qr+qt(B,/[svh]\w+-[tblr]{2}/,"lr")+B}return rn+B+Qr+B+B}return B}var zn=[function(B,H,W,K){if(B.length>-1&&!B.return)switch(B.type){case un:B.return=Ir(B.value,B.length);break;case dn:return kr([or(B,{value:qt(B.value,"@","@"+rn)})],K);case cn:if(B.length)return function(B,H){return B.map(H).join("")}(B.props,function(H){switch(function(B){return(B=/(::plac\w+|:read-\w+)/.exec(B))?B[0]:B}(H)){case":read-only":case":read-write":return kr([or(B,{props:[qt(H,/:(read-\w+)/,":-moz-$1")]})],K);case"::placeholder":return kr([or(B,{props:[qt(H,/:(plac\w+)/,":"+rn+"input-$1")]}),or(B,{props:[qt(H,/:(plac\w+)/,":-moz-$1")]}),or(B,{props:[qt(H,/:(plac\w+)/,Qr+"input-$1")]})],K)}return""})}}];const Bn=new Map;function Nr(B){const{styles:H,defaultTheme:W={}}=B,Y="function"==typeof H?B=>{return H(null==(K=B)||0===Object.keys(K).length?W:B);var K}:H;return K.jsx(Kr,{styles:Y})}function jr(B,H){return Jr(B,H)}const Lr=(B,H)=>{Array.isArray(B.__emotion_styles)&&(B.__emotion_styles=H(B.__emotion_styles))},Un=[],Hn=c(Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Nr,StyledEngineProvider:function Pr(B){const{injectFirst:H,enableCssLayer:W,children:Y}=B,ie=ce.useMemo(()=>{const B=`${H}-${W}`;if("object"==typeof document&&Bn.has(B))return Bn.get(B);const K=function(B,H){const W=function(B){var H=B.key;if("css"===H){var W=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(W,function(B){-1!==B.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(B),B.setAttribute("data-s",""))})}var K,Y,ie=B.stylisPlugins||zn,ce={},ue=[];K=B.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+H+' "]'),function(B){for(var H=B.getAttribute("data-emotion").split(" "),W=1;W<H.length;W++)ce[H[W]]=!0;ue.push(B)});var de,pe,fe=[Cr,(pe=function(B){de.insert(B)},function(B){B.root||(B=B.return)&&pe(B)})],ke=function(B){var H=Yt(B);return function(W,K,Y,ie){for(var ce="",ue=0;ue<H;ue++)ce+=B[ue](W,K,Y,ie)||"";return ce}}([Tr,Rr].concat(ie,fe));Y=function(B,H,W,K){de=W,kr(br(B?B+"{"+H.styles+"}":H.styles),ke),K&&(Je.inserted[H.name]=!0)};var Je={key:H,sheet:new xt({key:H,container:K,nonce:B.nonce,speedy:B.speedy,prepend:B.prepend,insertionPoint:B.insertionPoint}),nonce:B.nonce,inserted:ce,registered:{},insert:Y};return Je.sheet.hydrate(ue),Je}({key:"css",prepend:B});if(H){const B=W.insert;W.insert=(...H)=>(H[1].styles.match(/^@layer\s+[^{]*$/)||(H[1].styles=`@layer mui {${H[1].styles}}`),B(...H))}return W}(H,W);return Bn.set(B,K),K},[H,W]);return H||W?K.jsx(Gr,{value:ie,children:Y}):Y},ThemeContext:Xr,css:Ct,default:jr,internal_processStyles:Lr,internal_serializeStyles:function(B){return Un[0]=B,gt(Un)},keyframes:Ot},Symbol.toStringTag,{value:"Module"})));function $r(B){if("object"!=typeof B||null===B)return!1;const H=Object.getPrototypeOf(B);return!(null!==H&&H!==Object.prototype&&null!==Object.getPrototypeOf(H)||Symbol.toStringTag in B||Symbol.iterator in B)}function Br(B){if(ce.isValidElement(B)||!$r(B))return B;const H={};return Object.keys(B).forEach(W=>{H[W]=Br(B[W])}),H}function zr(B,H,W={clone:!0}){const K=W.clone?a({},B):B;return $r(B)&&$r(H)&&Object.keys(H).forEach(Y=>{ce.isValidElement(H[Y])?K[Y]=H[Y]:$r(H[Y])&&Object.prototype.hasOwnProperty.call(B,Y)&&$r(B[Y])?K[Y]=zr(B[Y],H[Y],W):W.clone?K[Y]=$r(H[Y])?Br(H[Y]):H[Y]:K[Y]=H[Y]}),K}const Vn=c(Object.freeze(Object.defineProperty({__proto__:null,default:zr,isPlainObject:$r},Symbol.toStringTag,{value:"Module"})));function Ur(B){let H="https://mui.com/production-error/?code="+B;for(let B=1;B<arguments.length;B+=1)H+="&args[]="+encodeURIComponent(arguments[B]);return"Minified MUI error #"+B+"; visit "+H+" for the full message."}const qn=Object.freeze(Object.defineProperty({__proto__:null,default:Ur},Symbol.toStringTag,{value:"Module"}));function Wr(B){if("string"!=typeof B)throw new Error(Ur(7));return B.charAt(0).toUpperCase()+B.slice(1)}const Wn=c(Object.freeze(Object.defineProperty({__proto__:null,default:Wr},Symbol.toStringTag,{value:"Module"})));var Gn,Xn={exports:{}},Zn={};var Kn;var Yn=function tn(){return Kn||(Kn=1,Xn.exports=function Zr(){if(Gn)return Zn;Gn=1;var B=Symbol.for("react.transitional.element"),H=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),ie=Symbol.for("react.consumer"),ce=Symbol.for("react.context"),ue=Symbol.for("react.forward_ref"),de=Symbol.for("react.suspense"),pe=Symbol.for("react.suspense_list"),fe=Symbol.for("react.memo"),ke=Symbol.for("react.lazy"),Je=Symbol.for("react.view_transition"),rt=Symbol.for("react.client.reference");function h(rt){if("object"==typeof rt&&null!==rt){var st=rt.$$typeof;switch(st){case B:switch(rt=rt.type){case W:case Y:case K:case de:case pe:case Je:return rt;default:switch(rt=rt&&rt.$$typeof){case ce:case ue:case ke:case fe:case ie:return rt;default:return st}}case H:return st}}}return Zn.ContextConsumer=ie,Zn.ContextProvider=ce,Zn.Element=B,Zn.ForwardRef=ue,Zn.Fragment=W,Zn.Lazy=ke,Zn.Memo=fe,Zn.Portal=H,Zn.Profiler=Y,Zn.StrictMode=K,Zn.Suspense=de,Zn.SuspenseList=pe,Zn.isContextConsumer=function(B){return h(B)===ie},Zn.isContextProvider=function(B){return h(B)===ce},Zn.isElement=function(H){return"object"==typeof H&&null!==H&&H.$$typeof===B},Zn.isForwardRef=function(B){return h(B)===ue},Zn.isFragment=function(B){return h(B)===W},Zn.isLazy=function(B){return h(B)===ke},Zn.isMemo=function(B){return h(B)===fe},Zn.isPortal=function(B){return h(B)===H},Zn.isProfiler=function(B){return h(B)===Y},Zn.isStrictMode=function(B){return h(B)===K},Zn.isSuspense=function(B){return h(B)===de},Zn.isSuspenseList=function(B){return h(B)===pe},Zn.isValidElementType=function(B){return"string"==typeof B||"function"==typeof B||B===W||B===Y||B===K||B===de||B===pe||"object"==typeof B&&null!==B&&(B.$$typeof===ke||B.$$typeof===fe||B.$$typeof===ce||B.$$typeof===ie||B.$$typeof===ue||B.$$typeof===rt||void 0!==B.getModuleId)},Zn.typeOf=h,Zn}()),Xn.exports}();const oo=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function on(B){const H=`${B}`.match(oo);return H&&H[1]||""}function sn(B,H=""){return B.displayName||B.name||on(B)||H}function an(B,H,W){const K=sn(H);return B.displayName||(""!==K?`${W}(${K})`:W)}const so=c(Object.freeze(Object.defineProperty({__proto__:null,default:function ln(B){if(null!=B){if("string"==typeof B)return B;if("function"==typeof B)return sn(B,"Component");if("object"==typeof B)switch(B.$$typeof){case Yn.ForwardRef:return an(B,B.render,"ForwardRef");case Yn.Memo:return an(B,B.type,"memo");default:return}}},getFunctionName:on},Symbol.toStringTag,{value:"Module"}))),ao=["values","unit","step"];function pn(B){const{values:H={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:W="px",step:K=5}=B,Y=s(B,ao),ie=(B=>{const H=Object.keys(B).map(H=>({key:H,val:B[H]}))||[];return H.sort((B,H)=>B.val-H.val),H.reduce((B,H)=>a({},B,{[H.key]:H.val}),{})})(H),ce=Object.keys(ie);function c(B){return`@media (min-width:${"number"==typeof H[B]?H[B]:B}${W})`}function u(B){return`@media (max-width:${("number"==typeof H[B]?H[B]:B)-K/100}${W})`}function p(B,Y){const ie=ce.indexOf(Y);return`@media (min-width:${"number"==typeof H[B]?H[B]:B}${W}) and (max-width:${(-1!==ie&&"number"==typeof H[ce[ie]]?H[ce[ie]]:Y)-K/100}${W})`}return a({keys:ce,values:ie,up:c,down:u,between:p,only:function(B){return ce.indexOf(B)+1<ce.length?p(B,ce[ce.indexOf(B)+1]):c(B)},not:function(B){const H=ce.indexOf(B);return 0===H?c(ce[1]):H===ce.length-1?u(ce[H]):p(B,ce[ce.indexOf(B)+1]).replace("@media","@media not all and")},unit:W},Y)}const lo={borderRadius:4};function hn(B,H){return H?zr(B,H,{clone:!1}):B}const co={xs:0,sm:600,md:900,lg:1200,xl:1536},uo={keys:["xs","sm","md","lg","xl"],up:B=>`@media (min-width:${co[B]}px)`};function vn(B,H,W){const K=B.theme||{};if(Array.isArray(H)){const B=K.breakpoints||uo;return H.reduce((K,Y,ie)=>(K[B.up(B.keys[ie])]=W(H[ie]),K),{})}if("object"==typeof H){const B=K.breakpoints||uo;return Object.keys(H).reduce((K,Y)=>{if(-1!==Object.keys(B.values||co).indexOf(Y))K[B.up(Y)]=W(H[Y],Y);else{const B=Y;K[B]=H[B]}return K},{})}return W(H)}function yn(B={}){var H;return(null==(H=B.keys)?void 0:H.reduce((H,W)=>(H[B.up(W)]={},H),{}))||{}}function bn(B,H){return B.reduce((B,H)=>{const W=B[H];return(!W||0===Object.keys(W).length)&&delete B[H],B},H)}function wn({values:B,breakpoints:H,base:W}){const K=W||function(B,H){if("object"!=typeof B)return{};const W={},K=Object.keys(H);return Array.isArray(B)?K.forEach((H,K)=>{K<B.length&&(W[H]=!0)}):K.forEach(H=>{null!=B[H]&&(W[H]=!0)}),W}(B,H),Y=Object.keys(K);if(0===Y.length)return B;let ie;return Y.reduce((H,W,K)=>(Array.isArray(B)?(H[W]=null!=B[K]?B[K]:B[ie],ie=K):"object"==typeof B?(H[W]=null!=B[W]?B[W]:B[ie],ie=W):H[W]=B,H),{})}function xn(B,H,W=!0){if(!H||"string"!=typeof H)return null;if(B&&B.vars&&W){const W=`vars.${H}`.split(".").reduce((B,H)=>B&&B[H]?B[H]:null,B);if(null!=W)return W}return H.split(".").reduce((B,H)=>B&&null!=B[H]?B[H]:null,B)}function _n(B,H,W,K=W){let Y;return Y="function"==typeof B?B(W):Array.isArray(B)?B[W]||K:xn(B,W)||K,H&&(Y=H(Y,K,B)),Y}function Sn(B){const{prop:H,cssProperty:W=B.prop,themeKey:K,transform:Y}=B,i=B=>{if(null==B[H])return null;const ie=B[H],ce=xn(B.theme,K)||{};return vn(B,ie,B=>{let K=_n(ce,Y,B);return B===K&&"string"==typeof B&&(K=_n(ce,Y,`${H}${"default"===B?"":Wr(B)}`,B)),!1===W?K:{[W]:K}})};return i.propTypes={},i.filterProps=[H],i}const fo={m:"margin",p:"padding"},mo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},vo={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},yo=function(){const B={};return H=>(void 0===B[H]&&(B[H]=(B=>{if(B.length>2){if(!vo[B])return[B];B=vo[B]}const[H,W]=B.split(""),K=fo[H],Y=mo[W]||"";return Array.isArray(Y)?Y.map(B=>K+B):[K+Y]})(H)),B[H])}(),wo=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],xo=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Mn(B,H,W,K){var Y;const ie=null!=(Y=xn(B,H,!1))?Y:W;return"number"==typeof ie?B=>"string"==typeof B?B:ie*B:Array.isArray(ie)?B=>"string"==typeof B?B:ie[B]:"function"==typeof ie?ie:()=>{}}function An(B){return Mn(B,"spacing",8)}function Pn(B,H){if("string"==typeof H||null==H)return H;const W=B(Math.abs(H));return H>=0?W:"number"==typeof W?-W:`-${W}`}function Nn(B,H){const W=An(B.theme);return Object.keys(B).map(K=>function(B,H,W,K){if(-1===H.indexOf(W))return null;const Y=function(B,H){return W=>B.reduce((B,K)=>(B[K]=Pn(H,W),B),{})}(yo(W),K);return vn(B,B[W],Y)}(B,H,K,W)).reduce(hn,{})}function jn(B){return Nn(B,wo)}function Ln(B){return Nn(B,xo)}function Dn(...B){const H=B.reduce((B,H)=>(H.filterProps.forEach(W=>{B[W]=H}),B),{}),r=B=>Object.keys(B).reduce((W,K)=>H[K]?hn(W,H[K](B)):W,{});return r.propTypes={},r.filterProps=B.reduce((B,H)=>B.concat(H.filterProps),[]),r}function Fn(B){return"number"!=typeof B?B:`${B}px solid`}function $n(B,H){return Sn({prop:B,themeKey:"borders",transform:H})}jn.propTypes={},jn.filterProps=wo,Ln.propTypes={},Ln.filterProps=xo;const So=$n("border",Fn),Ro=$n("borderTop",Fn),Io=$n("borderRight",Fn),Ao=$n("borderBottom",Fn),Po=$n("borderLeft",Fn),Lo=$n("borderColor"),jo=$n("borderTopColor"),Fo=$n("borderRightColor"),$o=$n("borderBottomColor"),zo=$n("borderLeftColor"),Bo=$n("outline",Fn),Uo=$n("outlineColor"),Jn=B=>{if(void 0!==B.borderRadius&&null!==B.borderRadius){const H=Mn(B.theme,"shape.borderRadius",4),r=B=>({borderRadius:Pn(H,B)});return vn(B,B.borderRadius,r)}return null};Jn.propTypes={},Jn.filterProps=["borderRadius"],Dn(So,Ro,Io,Ao,Po,Lo,jo,Fo,$o,zo,Jn,Bo,Uo);const Qn=B=>{if(void 0!==B.gap&&null!==B.gap){const H=Mn(B.theme,"spacing",8),r=B=>({gap:Pn(H,B)});return vn(B,B.gap,r)}return null};Qn.propTypes={},Qn.filterProps=["gap"];const eo=B=>{if(void 0!==B.columnGap&&null!==B.columnGap){const H=Mn(B.theme,"spacing",8),r=B=>({columnGap:Pn(H,B)});return vn(B,B.columnGap,r)}return null};eo.propTypes={},eo.filterProps=["columnGap"];const to=B=>{if(void 0!==B.rowGap&&null!==B.rowGap){const H=Mn(B.theme,"spacing",8),r=B=>({rowGap:Pn(H,B)});return vn(B,B.rowGap,r)}return null};function ro(B,H){return"grey"===H?H:B}function no(B){return B<=1&&0!==B?100*B+"%":B}to.propTypes={},to.filterProps=["rowGap"],Dn(Qn,eo,to,Sn({prop:"gridColumn"}),Sn({prop:"gridRow"}),Sn({prop:"gridAutoFlow"}),Sn({prop:"gridAutoColumns"}),Sn({prop:"gridAutoRows"}),Sn({prop:"gridTemplateColumns"}),Sn({prop:"gridTemplateRows"}),Sn({prop:"gridTemplateAreas"}),Sn({prop:"gridArea"})),Dn(Sn({prop:"color",themeKey:"palette",transform:ro}),Sn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ro}),Sn({prop:"backgroundColor",themeKey:"palette",transform:ro}));const Ho=Sn({prop:"width",transform:no}),io=B=>{if(void 0!==B.maxWidth&&null!==B.maxWidth){const t=H=>{var W,K;const Y=(null==(W=B.theme)||null==(W=W.breakpoints)||null==(W=W.values)?void 0:W[H])||co[H];return Y?"px"!==(null==(K=B.theme)||null==(K=K.breakpoints)?void 0:K.unit)?{maxWidth:`${Y}${B.theme.breakpoints.unit}`}:{maxWidth:Y}:{maxWidth:no(H)}};return vn(B,B.maxWidth,t)}return null};io.filterProps=["maxWidth"];const Vo=Sn({prop:"minWidth",transform:no}),qo=Sn({prop:"height",transform:no}),Wo=Sn({prop:"maxHeight",transform:no}),Go=Sn({prop:"minHeight",transform:no});Sn({prop:"size",cssProperty:"width",transform:no}),Sn({prop:"size",cssProperty:"height",transform:no}),Dn(Ho,io,Vo,qo,Wo,Go,Sn({prop:"boxSizing"}));const Xo={border:{themeKey:"borders",transform:Fn},borderTop:{themeKey:"borders",transform:Fn},borderRight:{themeKey:"borders",transform:Fn},borderBottom:{themeKey:"borders",transform:Fn},borderLeft:{themeKey:"borders",transform:Fn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Fn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Jn},color:{themeKey:"palette",transform:ro},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ro},backgroundColor:{themeKey:"palette",transform:ro},p:{style:Ln},pt:{style:Ln},pr:{style:Ln},pb:{style:Ln},pl:{style:Ln},px:{style:Ln},py:{style:Ln},padding:{style:Ln},paddingTop:{style:Ln},paddingRight:{style:Ln},paddingBottom:{style:Ln},paddingLeft:{style:Ln},paddingX:{style:Ln},paddingY:{style:Ln},paddingInline:{style:Ln},paddingInlineStart:{style:Ln},paddingInlineEnd:{style:Ln},paddingBlock:{style:Ln},paddingBlockStart:{style:Ln},paddingBlockEnd:{style:Ln},m:{style:jn},mt:{style:jn},mr:{style:jn},mb:{style:jn},ml:{style:jn},mx:{style:jn},my:{style:jn},margin:{style:jn},marginTop:{style:jn},marginRight:{style:jn},marginBottom:{style:jn},marginLeft:{style:jn},marginX:{style:jn},marginY:{style:jn},marginInline:{style:jn},marginInlineStart:{style:jn},marginInlineEnd:{style:jn},marginBlock:{style:jn},marginBlockStart:{style:jn},marginBlockEnd:{style:jn},displayPrint:{cssProperty:!1,transform:B=>({"@media print":{display:B}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Qn},rowGap:{style:to},columnGap:{style:eo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:no},maxWidth:{style:io},minWidth:{transform:no},height:{transform:no},maxHeight:{transform:no},minHeight:{transform:no},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function po(){function e(B,H,W,K){const Y={[B]:H,theme:W},ie=K[B];if(!ie)return{[B]:H};const{cssProperty:ce=B,themeKey:ue,transform:de,style:pe}=ie;if(null==H)return null;if("typography"===ue&&"inherit"===H)return{[B]:H};const fe=xn(W,ue)||{};return pe?pe(Y):vn(Y,H,H=>{let W=_n(fe,de,H);return H===W&&"string"==typeof H&&(W=_n(fe,de,`${B}${"default"===H?"":Wr(H)}`,H)),!1===ce?W:{[ce]:W}})}return function t(B){var H;const{sx:W,theme:K={}}=B||{};if(!W)return null;const Y=null!=(H=K.unstable_sxConfig)?H:Xo;function a(B){let H=B;if("function"==typeof B)H=B(K);else if("object"!=typeof B)return B;if(!H)return null;const W=yn(K.breakpoints),ie=Object.keys(W);let ce=W;return Object.keys(H).forEach(B=>{const W="function"==typeof(ie=H[B])?ie(K):ie;var ie;if(null!=W)if("object"==typeof W)if(Y[B])ce=hn(ce,e(B,W,K,Y));else{const H=vn({theme:K},W,H=>({[B]:H}));!function(...B){const H=B.reduce((B,H)=>B.concat(Object.keys(H)),[]),W=new Set(H);return B.every(B=>W.size===Object.keys(B).length)}(H,W)?ce=hn(ce,H):ce[B]=t({sx:W,theme:K})}else ce=hn(ce,e(B,W,K,Y))}),bn(ie,ce)}return Array.isArray(W)?W.map(a):a(W)}}const Zo=po();function ho(B,H){const W=this;if(W.vars&&"function"==typeof W.getColorSchemeSelector){const K=W.getColorSchemeSelector(B).replace(/(\[[^\]]+\])/,"*:where($1)");return{[K]:H}}return W.palette.mode===B?H:{}}Zo.filterProps=["sx"];const Ko=["breakpoints","palette","spacing","shape"];function go(B={},...H){const{breakpoints:W={},palette:K={},spacing:Y,shape:ie={}}=B,ce=s(B,Ko),ue=pn(W),de=function(B=8){if(B.mui)return B;const H=An({spacing:B}),r=(...B)=>(0===B.length?[1]:B).map(B=>{const W=H(B);return"number"==typeof W?`${W}px`:W}).join(" ");return r.mui=!0,r}(Y);let pe=zr({breakpoints:ue,direction:"ltr",components:{},palette:a({mode:"light"},K),spacing:de,shape:a({},lo,ie)},ce);return pe.applyStyles=ho,pe=H.reduce((B,H)=>zr(B,H),pe),pe.unstable_sxConfig=a({},Xo,null==ce?void 0:ce.unstable_sxConfig),pe.unstable_sx=function(B){return Zo({sx:B,theme:this})},pe}const Yo=c(Object.freeze(Object.defineProperty({__proto__:null,default:go,private_createBreakpoints:pn,unstable_applyStyles:ho},Symbol.toStringTag,{value:"Module"}))),Jo=["sx"];function bo(B){const{sx:H}=B,W=s(B,Jo),{systemProps:K,otherProps:Y}=(B=>{var H,W;const K={systemProps:{},otherProps:{}},Y=null!=(H=null==B||null==(W=B.theme)?void 0:W.unstable_sxConfig)?H:Xo;return Object.keys(B).forEach(H=>{Y[H]?K.systemProps[H]=B[H]:K.otherProps[H]=B[H]}),K})(W);let ie;return ie=Array.isArray(H)?[K,...H]:"function"==typeof H?(...B)=>{const W=H(...B);return $r(W)?a({},K,W):K}:a({},K,H),a({},Y,{sx:ie})}const Qo=c(Object.freeze(Object.defineProperty({__proto__:null,default:Zo,extendSxProp:bo,unstable_createStyleFunctionSx:po,unstable_defaultSxConfig:Xo},Symbol.toStringTag,{value:"Module"})));var ei;const ti=l(function _o(){if(ei)return lt;ei=1;var B=G();Object.defineProperty(lt,"__esModule",{value:!0}),lt.default=function(B={}){const{themeId:ie,defaultTheme:ue=fe,rootShouldForwardProp:de=f,slotShouldForwardProp:ke=f}=B,b=B=>(0,ce.default)((0,H.default)({},B,{theme:g((0,H.default)({},B,{defaultTheme:ue,themeId:ie}))}));return b.__mui_systemSx=!0,(B,ce={})=>{(0,K.internal_processStyles)(B,B=>B.filter(B=>!(null!=B&&B.__mui_systemSx)));const{name:fe,slot:Je,skipVariantsResolver:rt,skipSx:st,overridesResolver:at=v(m(Je))}=ce,lt=(0,W.default)(ce,pe),pt=void 0!==rt?rt:Je&&"Root"!==Je&&"root"!==Je||!1,ht=st||!1;let mt=f;"Root"===Je||"root"===Je?mt=de:Je?mt=ke:function(B){return"string"==typeof B&&B.charCodeAt(0)>96}(B)&&(mt=void 0);const vt=(0,K.default)(B,(0,H.default)({shouldForwardProp:mt,label:undefined},lt)),I=B=>"function"==typeof B&&B.__emotion_real!==B||(0,Y.isPlainObject)(B)?W=>y(B,(0,H.default)({},W,{theme:g({theme:W.theme,defaultTheme:ue,themeId:ie})})):B,M=(W,...K)=>{let Y=I(W);const ce=K?K.map(I):[];fe&&at&&ce.push(B=>{const W=g((0,H.default)({},B,{defaultTheme:ue,themeId:ie}));if(!W.components||!W.components[fe]||!W.components[fe].styleOverrides)return null;const K=W.components[fe].styleOverrides,Y={};return Object.entries(K).forEach(([K,ie])=>{Y[K]=y(ie,(0,H.default)({},B,{theme:W}))}),at(B,Y)}),fe&&!pt&&ce.push(B=>{var W;const K=g((0,H.default)({},B,{defaultTheme:ue,themeId:ie}));return y({variants:null==K||null==(W=K.components)||null==(W=W[fe])?void 0:W.variants},(0,H.default)({},B,{theme:K}))}),ht||ce.push(b);const de=ce.length-K.length;if(Array.isArray(W)&&de>0){const B=new Array(de).fill("");Y=[...W,...B],Y.raw=[...W.raw,...B]}const pe=vt(Y,...ce);return B.muiName&&(pe.muiName=B.muiName),pe};return vt.withConfig&&(M.withConfig=vt.withConfig),M}},lt.shouldForwardProp=f,lt.systemDefaultTheme=void 0;var H=B(function Z(){return ht||(ht=1,function(B){function t(){return B.exports=t=Object.assign?Object.assign.bind():function(B){for(var H=1;H<arguments.length;H++){var W=arguments[H];for(var K in W)({}).hasOwnProperty.call(W,K)&&(B[K]=W[K])}return B},B.exports.__esModule=!0,B.exports.default=B.exports,t.apply(null,arguments)}B.exports=t,B.exports.__esModule=!0,B.exports.default=B.exports}(mt)),mt.exports}()),W=B(function Q(){return vt||(vt=1,(B=yt).exports=function(B,H){if(null==B)return{};var W={};for(var K in B)if({}.hasOwnProperty.call(B,K)){if(-1!==H.indexOf(K))continue;W[K]=B[K]}return W},B.exports.__esModule=!0,B.exports.default=B.exports),yt.exports;var B}()),K=function(B){if(B&&B.__esModule)return B;if(null===B||"object"!=typeof B&&"function"!=typeof B)return{default:B};var H=d(void 0);if(H&&H.has(B))return H.get(B);var W={__proto__:null},K=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Y in B)if("default"!==Y&&Object.prototype.hasOwnProperty.call(B,Y)){var ie=K?Object.getOwnPropertyDescriptor(B,Y):null;ie&&(ie.get||ie.set)?Object.defineProperty(W,Y,ie):W[Y]=B[Y]}return W.default=B,H&&H.set(B,W),W}(Hn),Y=Vn,ie=(B(Wn),B(so),B(Yo)),ce=B(Qo);const ue=["ownerState"],de=["variants"],pe=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(B){if("function"!=typeof WeakMap)return null;var H=new WeakMap,W=new WeakMap;return(d=function(B){return B?W:H})(B)}function f(B){return"ownerState"!==B&&"theme"!==B&&"sx"!==B&&"as"!==B}const fe=lt.systemDefaultTheme=(0,ie.default)(),m=B=>B?B.charAt(0).toLowerCase()+B.slice(1):B;function g({defaultTheme:B,theme:H,themeId:W}){return K=H,0===Object.keys(K).length?B:H[W]||H;var K}function v(B){return B?(H,W)=>W[B]:null}function y(B,K){let{ownerState:Y}=K,ie=(0,W.default)(K,ue);const ce="function"==typeof B?B((0,H.default)({ownerState:Y},ie)):B;if(Array.isArray(ce))return ce.flatMap(B=>y(B,(0,H.default)({ownerState:Y},ie)));if(ce&&"object"==typeof ce&&Array.isArray(ce.variants)){const{variants:B=[]}=ce;let K=(0,W.default)(ce,de);return B.forEach(B=>{let W=!0;"function"==typeof B.props?W=B.props((0,H.default)({ownerState:Y},ie,Y)):Object.keys(B.props).forEach(H=>{(null==Y?void 0:Y[H])!==B.props[H]&&ie[H]!==B.props[H]&&(W=!1)}),W&&(Array.isArray(K)||(K=[K]),K.push("function"==typeof B.style?B.style((0,H.default)({ownerState:Y},ie,Y)):B.style))}),K}return ce}return lt}());function ko(B){let H="https://mui.com/production-error/?code="+B;for(let B=1;B<arguments.length;B+=1)H+="&args[]="+encodeURIComponent(arguments[B]);return"Minified MUI error #"+B+"; visit "+H+" for the full message."}function Co(B){if("object"!=typeof B||null===B)return!1;const H=Object.getPrototypeOf(B);return!(null!==H&&H!==Object.prototype&&null!==Object.getPrototypeOf(H)||Symbol.toStringTag in B||Symbol.iterator in B)}function Oo(B){if(ce.isValidElement(B)||!Co(B))return B;const H={};return Object.keys(B).forEach(W=>{H[W]=Oo(B[W])}),H}function Eo(B,H,W={clone:!0}){const K=W.clone?a({},B):B;return Co(B)&&Co(H)&&Object.keys(H).forEach(Y=>{ce.isValidElement(H[Y])?K[Y]=H[Y]:Co(H[Y])&&Object.prototype.hasOwnProperty.call(B,Y)&&Co(B[Y])?K[Y]=Eo(B[Y],H[Y],W):W.clone?K[Y]=Co(H[Y])?Oo(H[Y]):H[Y]:K[Y]=H[Y]}),K}const To=B=>B,ri=(()=>{let B=To;return{configure(H){B=H},generate:H=>B(H),reset(){B=To}}})(),ni={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Mo(B,H,W="Mui"){const K=ni[H];return K?`${W}-${K}`:`${ri.generate(B)}-${H}`}var oi={};const ii=c(qn);function No(B,H=Number.MIN_SAFE_INTEGER,W=Number.MAX_SAFE_INTEGER){return Math.max(H,Math.min(B,W))}const si=c(Object.freeze(Object.defineProperty({__proto__:null,default:No},Symbol.toStringTag,{value:"Module"})));var ai;var li=function Do(){if(ai)return oi;ai=1;var B=G();Object.defineProperty(oi,"__esModule",{value:!0}),oi.alpha=u,oi.blend=function(B,H,W,K=1){const o=(B,H)=>Math.round((B**(1/K)*(1-W)+H**(1/K)*W)**K),Y=i(B),ie=i(H);return a({type:"rgb",values:[o(Y.values[0],ie.values[0]),o(Y.values[1],ie.values[1]),o(Y.values[2],ie.values[2])]})},oi.colorChannel=void 0,oi.darken=p,oi.decomposeColor=i,oi.emphasize=f,oi.getContrastRatio=function(B,H){const W=c(B),K=c(H);return(Math.max(W,K)+.05)/(Math.min(W,K)+.05)},oi.getLuminance=c,oi.hexToRgb=o,oi.hslToRgb=l,oi.lighten=d,oi.private_safeAlpha=function(B,H,W){try{return u(B,H)}catch(H){return B}},oi.private_safeColorChannel=void 0,oi.private_safeDarken=function(B,H,W){try{return p(B,H)}catch(H){return B}},oi.private_safeEmphasize=function(B,H,W){try{return f(B,H)}catch(H){return B}},oi.private_safeLighten=function(B,H,W){try{return d(B,H)}catch(H){return B}},oi.recomposeColor=a,oi.rgbToHex=function(B){if(0===B.indexOf("#"))return B;const{values:H}=i(B);return`#${H.map((B,H)=>function(B){const H=B.toString(16);return 1===H.length?`0${H}`:H}(3===H?Math.round(255*B):B)).join("")}`};var H=B(ii),W=B(si);function n(B,H=0,K=1){return(0,W.default)(B,H,K)}function o(B){B=B.slice(1);const H=new RegExp(`.{1,${B.length>=6?2:1}}`,"g");let W=B.match(H);return W&&1===W[0].length&&(W=W.map(B=>B+B)),W?`rgb${4===W.length?"a":""}(${W.map((B,H)=>H<3?parseInt(B,16):Math.round(parseInt(B,16)/255*1e3)/1e3).join(", ")})`:""}function i(B){if(B.type)return B;if("#"===B.charAt(0))return i(o(B));const W=B.indexOf("("),K=B.substring(0,W);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(K))throw new Error((0,H.default)(9,B));let Y,ie=B.substring(W+1,B.length-1);if("color"===K){if(ie=ie.split(" "),Y=ie.shift(),4===ie.length&&"/"===ie[3].charAt(0)&&(ie[3]=ie[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(Y))throw new Error((0,H.default)(10,Y))}else ie=ie.split(",");return ie=ie.map(B=>parseFloat(B)),{type:K,values:ie,colorSpace:Y}}const s=B=>{const H=i(B);return H.values.slice(0,3).map((B,W)=>-1!==H.type.indexOf("hsl")&&0!==W?`${B}%`:B).join(" ")};function a(B){const{type:H,colorSpace:W}=B;let{values:K}=B;return-1!==H.indexOf("rgb")?K=K.map((B,H)=>H<3?parseInt(B,10):B):-1!==H.indexOf("hsl")&&(K[1]=`${K[1]}%`,K[2]=`${K[2]}%`),K=-1!==H.indexOf("color")?`${W} ${K.join(" ")}`:`${K.join(", ")}`,`${H}(${K})`}function l(B){B=i(B);const{values:H}=B,W=H[0],K=H[1]/100,Y=H[2]/100,ie=K*Math.min(Y,1-Y),l=(B,H=(B+W/30)%12)=>Y-ie*Math.max(Math.min(H-3,9-H,1),-1);let ce="rgb";const ue=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===B.type&&(ce+="a",ue.push(H[3])),a({type:ce,values:ue})}function c(B){let H="hsl"===(B=i(B)).type||"hsla"===B.type?i(l(B)).values:B.values;return H=H.map(H=>("color"!==B.type&&(H/=255),H<=.03928?H/12.92:((H+.055)/1.055)**2.4)),Number((.2126*H[0]+.7152*H[1]+.0722*H[2]).toFixed(3))}function u(B,H){return B=i(B),H=n(H),"rgb"!==B.type&&"hsl"!==B.type||(B.type+="a"),"color"===B.type?B.values[3]=`/${H}`:B.values[3]=H,a(B)}function p(B,H){if(B=i(B),H=n(H),-1!==B.type.indexOf("hsl"))B.values[2]*=1-H;else if(-1!==B.type.indexOf("rgb")||-1!==B.type.indexOf("color"))for(let W=0;W<3;W+=1)B.values[W]*=1-H;return a(B)}function d(B,H){if(B=i(B),H=n(H),-1!==B.type.indexOf("hsl"))B.values[2]+=(100-B.values[2])*H;else if(-1!==B.type.indexOf("rgb"))for(let W=0;W<3;W+=1)B.values[W]+=(255-B.values[W])*H;else if(-1!==B.type.indexOf("color"))for(let W=0;W<3;W+=1)B.values[W]+=(1-B.values[W])*H;return a(B)}function f(B,H=.15){return c(B)>.5?p(B,H):d(B,H)}return oi.colorChannel=s,oi.private_safeColorChannel=(B,H)=>{try{return s(B)}catch(H){return B}},oi}();const ci={black:"#000",white:"#fff"},ui={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},di="#d32f2f",pi="#42a5f5",hi="#0288d1",fi=["mode","contrastThreshold","tonalOffset"],mi={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ci.white,default:ci.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},gi={text:{primary:ci.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ci.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function _i(B,H,W,K){const Y=K.light||K,ie=K.dark||1.5*K;B[H]||(B.hasOwnProperty(W)?B[H]=B[W]:"light"===H?B.light=li.lighten(B.main,Y):"dark"===H&&(B.dark=li.darken(B.main,ie)))}const vi=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],yi={textTransform:"uppercase"},bi='"Roboto", "Helvetica", "Arial", sans-serif';function Oi(B,H){const W="function"==typeof H?H(B):H,{fontFamily:K=bi,fontSize:Y=14,fontWeightLight:ie=300,fontWeightRegular:ce=400,fontWeightMedium:ue=500,fontWeightBold:de=700,htmlFontSize:pe=16,allVariants:fe,pxToRem:ke}=W,Je=s(W,vi),rt=Y/14,st=ke||(B=>B/pe*rt+"rem"),v=(B,H,W,Y,ie)=>{return a({fontFamily:K,fontWeight:B,fontSize:st(H),lineHeight:W},K===bi?{letterSpacing:(ce=Y/H,Math.round(1e5*ce)/1e5+"em")}:{},ie,fe);var ce},at={h1:v(ie,96,1.167,-1.5),h2:v(ie,60,1.2,-.5),h3:v(ce,48,1.167,0),h4:v(ce,34,1.235,.25),h5:v(ce,24,1.334,0),h6:v(ue,20,1.6,.15),subtitle1:v(ce,16,1.75,.15),subtitle2:v(ue,14,1.57,.1),body1:v(ce,16,1.5,.15),body2:v(ce,14,1.43,.15),button:v(ue,14,1.75,.4,yi),caption:v(ce,12,1.66,.4),overline:v(ce,12,2.66,1,yi),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Eo(a({htmlFontSize:pe,pxToRem:st,fontFamily:K,fontSize:Y,fontWeightLight:ie,fontWeightRegular:ce,fontWeightMedium:ue,fontWeightBold:de},at),Je,{clone:!1})}function Ei(...B){return[`${B[0]}px ${B[1]}px ${B[2]}px ${B[3]}px rgba(0,0,0,0.2)`,`${B[4]}px ${B[5]}px ${B[6]}px ${B[7]}px rgba(0,0,0,0.14)`,`${B[8]}px ${B[9]}px ${B[10]}px ${B[11]}px rgba(0,0,0,0.12)`].join(",")}const wi=["none",Ei(0,2,1,-1,0,1,1,0,0,1,3,0),Ei(0,3,1,-2,0,2,2,0,0,1,5,0),Ei(0,3,3,-2,0,3,4,0,0,1,8,0),Ei(0,2,4,-1,0,4,5,0,0,1,10,0),Ei(0,3,5,-1,0,5,8,0,0,1,14,0),Ei(0,3,5,-1,0,6,10,0,0,1,18,0),Ei(0,4,5,-2,0,7,10,1,0,2,16,1),Ei(0,5,5,-3,0,8,10,1,0,3,14,2),Ei(0,5,6,-3,0,9,12,1,0,3,16,2),Ei(0,6,6,-3,0,10,14,1,0,4,18,3),Ei(0,6,7,-4,0,11,15,1,0,4,20,3),Ei(0,7,8,-4,0,12,17,2,0,5,22,4),Ei(0,7,8,-4,0,13,19,2,0,5,24,4),Ei(0,7,9,-4,0,14,21,2,0,5,26,4),Ei(0,8,9,-5,0,15,22,2,0,6,28,5),Ei(0,8,10,-5,0,16,24,2,0,6,30,5),Ei(0,8,11,-5,0,17,26,2,0,6,32,5),Ei(0,9,11,-5,0,18,28,2,0,7,34,6),Ei(0,9,12,-6,0,19,29,2,0,7,36,6),Ei(0,10,13,-6,0,20,31,3,0,8,38,7),Ei(0,10,13,-6,0,21,33,3,0,8,40,7),Ei(0,10,14,-6,0,22,35,3,0,8,42,7),Ei(0,11,14,-7,0,23,36,3,0,9,44,8),Ei(0,11,15,-7,0,24,38,3,0,9,46,8)],xi=["duration","easing","delay"],Si={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ki={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ai(B){return`${Math.round(B)}ms`}function Pi(B){if(!B)return 0;const H=B/36;return Math.round(10*(4+15*H**.25+H/5))}function Ni(B){const H=a({},Si,B.easing),W=a({},ki,B.duration);return a({getAutoHeightDuration:Pi,create:(B=["all"],K={})=>{const{duration:Y=W.standard,easing:ie=H.easeInOut,delay:ce=0}=K;s(K,xi);return(Array.isArray(B)?B:[B]).map(B=>`${B} ${"string"==typeof Y?Y:Ai(Y)} ${ie} ${"string"==typeof ce?ce:Ai(ce)}`).join(",")}},B,{easing:H,duration:W})}const Ci={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ri=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Di(B={},...H){const{mixins:W={},palette:K={},transitions:Y={},typography:ie={}}=B,ce=s(B,Ri);if(B.vars)throw new Error(ko(18));const ue=function(B){const{mode:H="light",contrastThreshold:W=3,tonalOffset:K=.2}=B,Y=s(B,fi),ie=B.primary||function(B="light"){return"dark"===B?{main:"#90caf9",light:"#e3f2fd",dark:pi}:{main:"#1976d2",light:pi,dark:"#1565c0"}}(H),ce=B.secondary||function(B="light"){return"dark"===B?{main:"#ce93d8",light:"#f3e5f5",dark:"#ab47bc"}:{main:"#9c27b0",light:"#ba68c8",dark:"#7b1fa2"}}(H),ue=B.error||function(B="light"){return"dark"===B?{main:"#f44336",light:"#e57373",dark:di}:{main:di,light:"#ef5350",dark:"#c62828"}}(H),de=B.info||function(B="light"){return"dark"===B?{main:"#29b6f6",light:"#4fc3f7",dark:hi}:{main:hi,light:"#03a9f4",dark:"#01579b"}}(H),pe=B.success||function(B="light"){return"dark"===B?{main:"#66bb6a",light:"#81c784",dark:"#388e3c"}:{main:"#2e7d32",light:"#4caf50",dark:"#1b5e20"}}(H),fe=B.warning||function(B="light"){return"dark"===B?{main:"#ffa726",light:"#ffb74d",dark:"#f57c00"}:{main:"#ed6c02",light:"#ff9800",dark:"#e65100"}}(H);function f(B){return li.getContrastRatio(B,gi.text.primary)>=W?gi.text.primary:mi.text.primary}const h=({color:B,name:H,mainShade:W=500,lightShade:Y=300,darkShade:ie=700})=>{if(!(B=a({},B)).main&&B[W]&&(B.main=B[W]),!B.hasOwnProperty("main"))throw new Error(ko(11,H?` (${H})`:"",W));if("string"!=typeof B.main)throw new Error(ko(12,H?` (${H})`:"",JSON.stringify(B.main)));return _i(B,"light",Y,K),_i(B,"dark",ie,K),B.contrastText||(B.contrastText=f(B.main)),B},ke={dark:gi,light:mi};return Eo(a({common:a({},ci),mode:H,primary:h({color:ie,name:"primary"}),secondary:h({color:ce,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:ue,name:"error"}),warning:h({color:fe,name:"warning"}),info:h({color:de,name:"info"}),success:h({color:pe,name:"success"}),grey:ui,contrastThreshold:W,getContrastText:f,augmentColor:h,tonalOffset:K},ke[H]),Y)}(K),de=go(B);let pe=Eo(de,{mixins:(fe=de.breakpoints,ke=W,a({toolbar:{minHeight:56,[fe.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[fe.up("sm")]:{minHeight:64}}},ke)),palette:ue,shadows:wi.slice(),typography:Oi(ue,ie),transitions:Ni(Y),zIndex:a({},Ci)});var fe,ke;return pe=Eo(pe,ce),pe=H.reduce((B,H)=>Eo(B,H),pe),pe.unstable_sxConfig=a({},Xo,null==ce?void 0:ce.unstable_sxConfig),pe.unstable_sx=function(B){return Zo({sx:B,theme:this})},pe}const Mi=Di(),Ii="$$material";function Bi(B){return"ownerState"!==B&&"theme"!==B&&"sx"!==B&&"as"!==B}const zi=B=>Bi(B)&&"classes"!==B,Ti=ti({themeId:Ii,defaultTheme:Mi,rootShouldForwardProp:zi});function Ui(B,H){const W=a({},H);return Object.keys(B).forEach(K=>{if(K.toString().match(/^(components|slots)$/))W[K]=a({},B[K],W[K]);else if(K.toString().match(/^(componentsProps|slotProps)$/)){const Y=B[K]||{},ie=H[K];W[K]={},ie&&Object.keys(ie)?Y&&Object.keys(Y)?(W[K]=a({},ie),Object.keys(Y).forEach(B=>{W[K][B]=Ui(Y[B],ie[B])})):W[K]=ie:W[K]=Y}else void 0===W[K]&&(W[K]=B[K])}),W}function qi(B){const{theme:H,name:W,props:K}=B;return H&&H.components&&H.components[W]&&H.components[W].defaultProps?Ui(H.components[W].defaultProps,K):K}function Wi(B=null){const H=ce.useContext(Xr);return H&&(W=H,0!==Object.keys(W).length)?H:B;var W}const Li=go();function Gi(B=Li){return Wi(B)}function Ki({props:B,name:H,defaultTheme:W,themeId:K}){let Y=Gi(W);return K&&(Y=Y[K]||Y),qi({theme:Y,name:H,props:B})}function Yi({props:B,name:H}){return Ki({props:B,name:H,defaultTheme:Mi,themeId:Ii})}function Zi(B){if("string"!=typeof B)throw new Error(ko(7));return B.charAt(0).toUpperCase()+B.slice(1)}Number.isInteger;function es(){return null}es.isRequired=es;const ns=B=>{let H;return H=B<1?5.11916*B**2:4.5*Math.log(B+1)+2,(H/100).toFixed(2)};function os({styles:B,themeId:H,defaultTheme:W={}}){const Y=Gi(W),ie="function"==typeof B?B(H&&Y[H]||Y):B;return K.jsx(Nr,{styles:ie})}const is=B=>B,ji=(()=>{let B=is;return{configure(H){B=H},generate:H=>B(H),reset(){B=is}}})();function as(B){var H,W,K="";if("string"==typeof B||"number"==typeof B)K+=B;else if("object"==typeof B)if(Array.isArray(B)){var Y=B.length;for(H=0;H<Y;H++)B[H]&&(W=as(B[H]))&&(K&&(K+=" "),K+=W)}else for(W in B)B[W]&&(K&&(K+=" "),K+=W);return K}function ls(){for(var B,H,W=0,K="",Y=arguments.length;W<Y;W++)(B=arguments[W])&&(H=as(B))&&(K&&(K+=" "),K+=H);return K}const Fi=["className","component"],$i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"},Hi=["ownerState"],Vi=["variants"],Xi=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function hs(B){return"ownerState"!==B&&"theme"!==B&&"sx"!==B&&"as"!==B}const Ji=go(),gs=B=>B?B.charAt(0).toLowerCase()+B.slice(1):B;function vs({defaultTheme:B,theme:H,themeId:W}){return K=H,0===Object.keys(K).length?B:H[W]||H;var K}function ys(B){return B?(H,W)=>W[B]:null}function bs(B,H){let{ownerState:W}=H,K=s(H,Hi);const Y="function"==typeof B?B(a({ownerState:W},K)):B;if(Array.isArray(Y))return Y.flatMap(B=>bs(B,a({ownerState:W},K)));if(Y&&"object"==typeof Y&&Array.isArray(Y.variants)){const{variants:B=[]}=Y;let H=s(Y,Vi);return B.forEach(B=>{let Y=!0;"function"==typeof B.props?Y=B.props(a({ownerState:W},K,W)):Object.keys(B.props).forEach(H=>{(null==W?void 0:W[H])!==B.props[H]&&K[H]!==B.props[H]&&(Y=!1)}),Y&&(Array.isArray(H)||(H=[H]),H.push("function"==typeof B.style?B.style(a({ownerState:W},K,W)):B.style))}),H}return Y}const Qi=function(B={}){const{themeId:H,defaultTheme:W=Ji,rootShouldForwardProp:K=hs,slotShouldForwardProp:Y=hs}=B,i=B=>Zo(a({},B,{theme:vs(a({},B,{defaultTheme:W,themeId:H}))}));return i.__mui_systemSx=!0,(B,ie={})=>{Lr(B,B=>B.filter(B=>!(null!=B&&B.__mui_systemSx)));const{name:ce,slot:ue,skipVariantsResolver:de,skipSx:pe,overridesResolver:fe=ys(gs(ue))}=ie,ke=s(ie,Xi),Je=void 0!==de?de:ue&&"Root"!==ue&&"root"!==ue||!1,rt=pe||!1;let st=hs;"Root"===ue||"root"===ue?st=K:ue?st=Y:function(B){return"string"==typeof B&&B.charCodeAt(0)>96}(B)&&(st=void 0);const at=jr(B,a({shouldForwardProp:st,label:undefined},ke)),w=B=>"function"==typeof B&&B.__emotion_real!==B||$r(B)?K=>bs(B,a({},K,{theme:vs({theme:K.theme,defaultTheme:W,themeId:H})})):B,x=(K,...Y)=>{let ie=w(K);const ue=Y?Y.map(w):[];ce&&fe&&ue.push(B=>{const K=vs(a({},B,{defaultTheme:W,themeId:H}));if(!K.components||!K.components[ce]||!K.components[ce].styleOverrides)return null;const Y=K.components[ce].styleOverrides,ie={};return Object.entries(Y).forEach(([H,W])=>{ie[H]=bs(W,a({},B,{theme:K}))}),fe(B,ie)}),ce&&!Je&&ue.push(B=>{var K;const Y=vs(a({},B,{defaultTheme:W,themeId:H}));return bs({variants:null==Y||null==(K=Y.components)||null==(K=K[ce])?void 0:K.variants},a({},B,{theme:Y}))}),rt||ue.push(i);const de=ue.length-Y.length;if(Array.isArray(K)&&de>0){const B=new Array(de).fill("");ie=[...K,...B],ie.raw=[...K.raw,...B]}const pe=at(ie,...ue);return B.muiName&&(pe.muiName=B.muiName),pe};return at.withConfig&&(x.withConfig=at.withConfig),x}}(),ts="undefined"!=typeof window?ce.useLayoutEffect:ce.useEffect;function _s(B,H,W,K,Y){const[ie,ue]=ce.useState(()=>Y&&W?W(B).matches:K?K(B).matches:H);return ts(()=>{let H=!0;if(!W)return;const K=W(B),o=()=>{H&&ue(K.matches)};return o(),K.addListener(o),()=>{H=!1,K.removeListener(o)}},[B,W]),ie}const rs=ce.useSyncExternalStore;function ks(B,H,W,K,Y){const ie=ce.useCallback(()=>H,[H]),ue=ce.useMemo(()=>{if(Y&&W)return()=>W(B).matches;if(null!==K){const{matches:H}=K(B);return()=>H}return ie},[ie,B,K,Y,W]),[de,pe]=ce.useMemo(()=>{if(null===W)return[ie,()=>()=>{}];const H=W(B);return[()=>H.matches,B=>(H.addListener(B),()=>{H.removeListener(B)})]},[ie,W,B]);return rs(pe,de,ue)}function Cs(B,H={}){const W=Wi(),K="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:Y=!1,matchMedia:ie=(K?window.matchMedia:null),ssrMatchMedia:ce=null,noSsr:ue=!1}=qi({name:"MuiUseMediaQuery",props:H,theme:W});let de="function"==typeof B?B(W):B;de=de.replace(/^@media( ?)/m,"");return(void 0!==rs?ks:_s)(de,Y,ie,ce,ue)}function Os(B,H=0,W=1){return No(B,H,W)}function Es(B){if(B.type)return B;if("#"===B.charAt(0))return Es(function(B){B=B.slice(1);const H=new RegExp(`.{1,${B.length>=6?2:1}}`,"g");let W=B.match(H);return W&&1===W[0].length&&(W=W.map(B=>B+B)),W?`rgb${4===W.length?"a":""}(${W.map((B,H)=>H<3?parseInt(B,16):Math.round(parseInt(B,16)/255*1e3)/1e3).join(", ")})`:""}(B));const H=B.indexOf("("),W=B.substring(0,H);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(W))throw new Error(Ur(9,B));let K,Y=B.substring(H+1,B.length-1);if("color"===W){if(Y=Y.split(" "),K=Y.shift(),4===Y.length&&"/"===Y[3].charAt(0)&&(Y[3]=Y[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(K))throw new Error(Ur(10,K))}else Y=Y.split(",");return Y=Y.map(B=>parseFloat(B)),{type:W,values:Y,colorSpace:K}}function Ts(B){const{type:H,colorSpace:W}=B;let{values:K}=B;return-1!==H.indexOf("rgb")?K=K.map((B,H)=>H<3?parseInt(B,10):B):-1!==H.indexOf("hsl")&&(K[1]=`${K[1]}%`,K[2]=`${K[2]}%`),K=-1!==H.indexOf("color")?`${W} ${K.join(" ")}`:`${K.join(", ")}`,`${H}(${K})`}function Rs(B,H){return B=Es(B),H=Os(H),"rgb"!==B.type&&"hsl"!==B.type||(B.type+="a"),"color"===B.type?B.values[3]=`/${H}`:B.values[3]=H,Ts(B)}function Is(B,H){if(B=Es(B),H=Os(H),-1!==B.type.indexOf("hsl"))B.values[2]*=1-H;else if(-1!==B.type.indexOf("rgb")||-1!==B.type.indexOf("color"))for(let W=0;W<3;W+=1)B.values[W]*=1-H;return Ts(B)}function Ms(B,H){if(B=Es(B),H=Os(H),-1!==B.type.indexOf("hsl"))B.values[2]+=(100-B.values[2])*H;else if(-1!==B.type.indexOf("rgb"))for(let W=0;W<3;W+=1)B.values[W]+=(255-B.values[W])*H;else if(-1!==B.type.indexOf("color"))for(let W=0;W<3;W+=1)B.values[W]+=(1-B.values[W])*H;return Ts(B)}const ss=ce.createContext(null);function js(){return ce.useContext(ss)}const cs="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Ds(B){const{children:H,theme:W}=B,Y=js(),ie=ce.useMemo(()=>{const B=null===Y?W:function(B,H){if("function"==typeof H){return H(B)}return a({},B,H)}(Y,W);return null!=B&&(B[cs]=null!==Y),B},[W,Y]);return K.jsx(ss.Provider,{value:ie,children:H})}const us=["value"],ds=ce.createContext();function zs(B){let{value:H}=B,W=s(B,us);return K.jsx(ds.Provider,a({value:null==H||H},W))}const Vs=()=>{const B=ce.useContext(ds);return null!=B&&B},ps=ce.createContext(void 0);function qs({value:B,children:H}){return K.jsx(ps.Provider,{value:B,children:H})}const fs={};function Hs(B,H,W,K=!1){return ce.useMemo(()=>{const Y=B&&H[B]||H;if("function"==typeof W){const ie=W(Y),ce=B?a({},H,{[B]:ie}):ie;return K?()=>ce:ce}return a({},H,B?{[B]:W}:W)},[B,H,W,K])}function Gs(B){const{children:H,theme:W,themeId:Y}=B,ie=Wi(fs),ce=js()||fs,ue=Hs(Y,ie,W),de=Hs(Y,ce,W,!0),pe="rtl"===ue.direction;return K.jsx(Ds,{theme:de,children:K.jsx(Xr.Provider,{value:ue,children:K.jsx(zs,{value:pe,children:K.jsx(qs,{value:null==ue?void 0:ue.components,children:H})})})})}const ms=["component","direction","spacing","divider","children","className","useFlexGap"],ws=go(),xs=Qi("div",{name:"MuiStack",slot:"Root",overridesResolver:(B,H)=>H.root});function Xs(B){return Ki({props:B,name:"MuiStack",defaultTheme:ws})}function Js(B,H){const W=ce.Children.toArray(B).filter(Boolean);return W.reduce((B,K,Y)=>(B.push(K),Y<W.length-1&&B.push(ce.cloneElement(H,{key:`separator-${Y}`})),B),[])}const Qs=({ownerState:B,theme:H})=>{let W=a({display:"flex",flexDirection:"column"},vn({theme:H},wn({values:B.direction,breakpoints:H.breakpoints.values}),B=>({flexDirection:B})));if(B.spacing){const K=An(H),Y=Object.keys(H.breakpoints.values).reduce((H,W)=>(("object"==typeof B.spacing&&null!=B.spacing[W]||"object"==typeof B.direction&&null!=B.direction[W])&&(H[W]=!0),H),{}),ie=wn({values:B.direction,base:Y}),ce=wn({values:B.spacing,base:Y});"object"==typeof ie&&Object.keys(ie).forEach((B,H,W)=>{if(!ie[B]){const K=H>0?ie[W[H-1]]:"column";ie[B]=K}}),W=zr(W,vn({theme:H},ce,(H,W)=>{return B.useFlexGap?{gap:Pn(K,H)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Y=W?ie[W]:B.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[Y]}`]:Pn(K,H)}};var Y}))}return W=function(B,...H){const W=yn(B),K=[W,...H].reduce((B,H)=>zr(B,H),{});return bn(Object.keys(W),K)}(H.breakpoints,W),W};function ea(){const B=Gi(Mi);return B[Ii]||B}function ta(B,H,W="Mui"){const K={};return H.forEach(H=>{K[H]=Mo(B,H,W)}),K}function ra(B){return Mo("MuiPaper",B)}ta("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Ss=["className","component","elevation","square","variant"],As=Ti("div",{name:"MuiPaper",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,H[W.variant],!W.square&&H.rounded,"elevation"===W.variant&&H[`elevation${W.elevation}`]]}})(({theme:B,ownerState:H})=>{var W;return a({backgroundColor:(B.vars||B).palette.background.paper,color:(B.vars||B).palette.text.primary,transition:B.transitions.create("box-shadow")},!H.square&&{borderRadius:B.shape.borderRadius},"outlined"===H.variant&&{border:`1px solid ${(B.vars||B).palette.divider}`},"elevation"===H.variant&&a({boxShadow:(B.vars||B).shadows[H.elevation]},!B.vars&&"dark"===B.palette.mode&&{backgroundImage:`linear-gradient(${li.alpha("#fff",ns(H.elevation))}, ${li.alpha("#fff",ns(H.elevation))})`},B.vars&&{backgroundImage:null==(W=B.vars.overlays)?void 0:W[H.elevation]}))}),Ps=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiPaper"}),{className:Y,component:ie="div",elevation:ce=1,square:ue=!1,variant:de="elevation"}=W,pe=s(W,Ss),fe=a({},W,{component:ie,elevation:ce,square:ue,variant:de}),ke=(B=>{const{square:H,elevation:W,variant:K,classes:Y}=B;return U({root:["root",K,!H&&"rounded","elevation"===K&&`elevation${W}`]},ra,Y)})(fe);return K.jsx(As,a({as:ie,ownerState:fe,className:V(ke.root,Y),ref:H},pe))}),Ls=Ps;function aa(B){return Mo("MuiAppBar",B)}ta("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Fs=["className","color","enableColorOnDark","position"],ca=(B,H)=>B?`${null==B?void 0:B.replace(")","")}, ${H})`:H,Ns=Ti(Ls,{name:"MuiAppBar",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,H[`position${Zi(W.position)}`],H[`color${Zi(W.color)}`]]}})(({theme:B,ownerState:H})=>{const W="light"===B.palette.mode?B.palette.grey[100]:B.palette.grey[900];return a({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===H.position&&{position:"fixed",zIndex:(B.vars||B).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===H.position&&{position:"absolute",zIndex:(B.vars||B).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===H.position&&{position:"sticky",zIndex:(B.vars||B).zIndex.appBar,top:0,left:"auto",right:0},"static"===H.position&&{position:"static"},"relative"===H.position&&{position:"relative"},!B.vars&&a({},"default"===H.color&&{backgroundColor:W,color:B.palette.getContrastText(W)},H.color&&"default"!==H.color&&"inherit"!==H.color&&"transparent"!==H.color&&{backgroundColor:B.palette[H.color].main,color:B.palette[H.color].contrastText},"inherit"===H.color&&{color:"inherit"},"dark"===B.palette.mode&&!H.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===H.color&&a({backgroundColor:"transparent",color:"inherit"},"dark"===B.palette.mode&&{backgroundImage:"none"})),B.vars&&a({},"default"===H.color&&{"--AppBar-background":H.enableColorOnDark?B.vars.palette.AppBar.defaultBg:ca(B.vars.palette.AppBar.darkBg,B.vars.palette.AppBar.defaultBg),"--AppBar-color":H.enableColorOnDark?B.vars.palette.text.primary:ca(B.vars.palette.AppBar.darkColor,B.vars.palette.text.primary)},H.color&&!H.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":H.enableColorOnDark?B.vars.palette[H.color].main:ca(B.vars.palette.AppBar.darkBg,B.vars.palette[H.color].main),"--AppBar-color":H.enableColorOnDark?B.vars.palette[H.color].contrastText:ca(B.vars.palette.AppBar.darkColor,B.vars.palette[H.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===H.color?"inherit":"var(--AppBar-color)"},"transparent"===H.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),$s=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiAppBar"}),{className:Y,color:ie="primary",enableColorOnDark:ce=!1,position:ue="fixed"}=W,de=s(W,Fs),pe=a({},W,{color:ie,position:ue,enableColorOnDark:ce}),fe=(B=>{const{color:H,position:W,classes:K}=B;return U({root:["root",`color${Zi(H)}`,`position${Zi(W)}`]},aa,K)})(pe);return K.jsx(Ns,a({square:!0,component:"header",ownerState:pe,elevation:4,className:V(fe.root,Y,"fixed"===ue&&"mui-fixed"),ref:H},de))}),Bs=$s,Us={elevation:0,color:"default"},Ws=Y.forwardRef((B,H)=>Y.createElement(Bs,{...Us,...B,ref:H}));Ws.defaultProps=Us;var Zs=Ws;const Ks=function(B={}){const{createStyledComponent:H=xs,useThemeProps:W=Xs,componentName:Y="MuiStack"}=B,l=()=>function(B,H,W){const K={};return Object.keys(B).forEach(H=>{K[H]=B[H].reduce((B,H)=>{if(H){const K=(B=>function(B,H,W="Mui"){const K=$i[H];return K?`${W}-${K}`:`${ji.generate(B)}-${H}`}(Y,B))(H);""!==K&&B.push(K),W&&W[H]&&B.push(W[H])}return B},[]).join(" ")}),K}({root:["root"]},0,{}),ie=H(Qs),ue=ce.forwardRef(function(B,H){const Y=bo(W(B)),{component:ce="div",direction:ue="column",spacing:de=0,divider:pe,children:fe,className:ke,useFlexGap:Je=!1}=Y,rt=s(Y,ms),st={direction:ue,spacing:de,useFlexGap:Je},at=l();return K.jsx(ie,a({as:ce,ownerState:st,ref:H,className:ls(at.root,ke)},rt,{children:pe?Js(fe,pe):fe}))});return ue}({createStyledComponent:Ti("div",{name:"MuiStack",slot:"Root",overridesResolver:(B,H)=>H.root}),useThemeProps:B=>Yi({props:B,name:"MuiStack"})}),Ys=Ks;var na=Y.forwardRef((B,H)=>Y.createElement(Ys,{...B,ref:H}));function ba(B){return Mo("MuiToolbar",B)}ta("MuiToolbar",["root","gutters","regular","dense"]);const oa=["className","component","disableGutters","variant"],ia=Ti("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,!W.disableGutters&&H.gutters,H[W.variant]]}})(({theme:B,ownerState:H})=>a({position:"relative",display:"flex",alignItems:"center"},!H.disableGutters&&{paddingLeft:B.spacing(2),paddingRight:B.spacing(2),[B.breakpoints.up("sm")]:{paddingLeft:B.spacing(3),paddingRight:B.spacing(3)}},"dense"===H.variant&&{minHeight:48}),({theme:B,ownerState:H})=>"regular"===H.variant&&B.mixins.toolbar),sa=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiToolbar"}),{className:Y,component:ie="div",disableGutters:ce=!1,variant:ue="regular"}=W,de=s(W,oa),pe=a({},W,{component:ie,disableGutters:ce,variant:ue}),fe=(B=>{const{classes:H,disableGutters:W,variant:K}=B;return U({root:["root",!W&&"gutters",K]},ba,H)})(pe);return K.jsx(ia,a({as:ie,className:V(fe.root,Y),ref:H,ownerState:pe},de))}),la=sa;var ua=Y.forwardRef((B,H)=>Y.createElement(la,{...B,ref:H}));function Ca(B){return Mo("MuiTypography",B)}ta("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const da=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],pa=Ti("span",{name:"MuiTypography",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,W.variant&&H[W.variant],"inherit"!==W.align&&H[`align${Zi(W.align)}`],W.noWrap&&H.noWrap,W.gutterBottom&&H.gutterBottom,W.paragraph&&H.paragraph]}})(({theme:B,ownerState:H})=>a({margin:0},"inherit"===H.variant&&{font:"inherit"},"inherit"!==H.variant&&B.typography[H.variant],"inherit"!==H.align&&{textAlign:H.align},H.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},H.gutterBottom&&{marginBottom:"0.35em"},H.paragraph&&{marginBottom:16})),ha={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},fa={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},ma=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiTypography"}),Y=(B=>fa[B]||B)(W.color),ie=bo(a({},W,{color:Y})),{align:ce="inherit",className:ue,component:de,gutterBottom:pe=!1,noWrap:fe=!1,paragraph:ke=!1,variant:Je="body1",variantMapping:rt=ha}=ie,st=s(ie,da),at=a({},ie,{align:ce,color:Y,className:ue,component:de,gutterBottom:pe,noWrap:fe,paragraph:ke,variant:Je,variantMapping:rt}),lt=de||(ke?"p":rt[Je]||ha[Je])||"span",pt=(B=>{const{align:H,gutterBottom:W,noWrap:K,paragraph:Y,variant:ie,classes:ce}=B;return U({root:["root",ie,"inherit"!==B.align&&`align${Zi(H)}`,W&&"gutterBottom",K&&"noWrap",Y&&"paragraph"]},Ca,ce)})(at);return K.jsx(pa,a({as:lt,ref:H,ownerState:at,className:V(pt.root,ue)},st))}),ga=ma,va={variantMapping:{display1:"h1",display2:"h2",display3:"h3",display4:"h4",display5:"h5",display6:"h6"}},ya=Y.forwardRef((B,H)=>{const W={...va,...B,variantMapping:{...va.variantMapping,...B.variantMapping}};return Y.createElement(ga,{...W,ref:H})});ya.defaultProps=va;var wa=ya;st.oneOfType([st.func,st.object]),st.elementType;function Da(B,H){"function"==typeof B?B(H):B&&(B.current=H)}function Fa(...B){return ce.useMemo(()=>B.every(B=>null==B)?null:H=>{B.forEach(B=>{Da(B,H)})},B)}const _a="undefined"!=typeof window?ce.useLayoutEffect:ce.useEffect;function Ba(B){const H=ce.useRef(B);return _a(()=>{H.current=B}),ce.useRef((...B)=>(0,H.current)(...B)).current}const xa={},Sa=[];class Ua{static create(){return new Ua}start(B,H){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,H()},B)}constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}}function qa(){const B=function(B){const H=ce.useRef(xa);return H.current===xa&&(H.current=B(void 0)),H}(Ua.create).current;var H;return H=B.disposeEffect,ce.useEffect(H,Sa),B}let ka=!0,Oa=!1;const Ea=new Ua,Ra={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Ya(B){B.metaKey||B.altKey||B.ctrlKey||(ka=!0)}function Za(){ka=!1}function Xa(){"hidden"===this.visibilityState&&Oa&&(ka=!0)}function Qa(B,H){return Qa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(B,H){return B.__proto__=H,B},Qa(B,H)}function el(B,H){B.prototype=Object.create(H.prototype),B.prototype.constructor=B,Qa(B,H)}const Ma=Y.createContext(null);var Ia="unmounted",Aa="exited",Ta="entering",Pa="entered",La="exiting",ja=function(B){function n(H,W){var K;K=B.call(this,H,W)||this;var Y,ie=W&&!W.isMounting?H.enter:H.appear;return K.appearStatus=null,H.in?ie?(Y=Aa,K.appearStatus=Ta):Y=Pa:Y=H.unmountOnExit||H.mountOnEnter?Ia:Aa,K.state={status:Y},K.nextCallback=null,K}el(n,B),n.getDerivedStateFromProps=function(B,H){return B.in&&H.status===Ia?{status:Aa}:null};var H=n.prototype;return H.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},H.componentDidUpdate=function(B){var H=null;if(B!==this.props){var W=this.state.status;this.props.in?W!==Ta&&W!==Pa&&(H=Ta):W!==Ta&&W!==Pa||(H=La)}this.updateStatus(!1,H)},H.componentWillUnmount=function(){this.cancelNextCallback()},H.getTimeouts=function(){var B,H,W,K=this.props.timeout;return B=H=W=K,null!=K&&"number"!=typeof K&&(B=K.exit,H=K.enter,W=void 0!==K.appear?K.appear:H),{exit:B,enter:H,appear:W}},H.updateStatus=function(B,H){void 0===B&&(B=!1),null!==H?(this.cancelNextCallback(),H===Ta?((this.props.unmountOnExit||this.props.mountOnEnter)&&(this.props.nodeRef?this.props.nodeRef.current:ie.findDOMNode(this)),this.performEnter(B)):this.performExit()):this.props.unmountOnExit&&this.state.status===Aa&&this.setState({status:Ia})},H.performEnter=function(B){var H=this,W=this.props.enter,K=this.context?this.context.isMounting:B,Y=this.props.nodeRef?[K]:[ie.findDOMNode(this),K],ce=Y[0],ue=Y[1],de=this.getTimeouts(),pe=K?de.appear:de.enter;B||W?(this.props.onEnter(ce,ue),this.safeSetState({status:Ta},function(){H.props.onEntering(ce,ue),H.onTransitionEnd(pe,function(){H.safeSetState({status:Pa},function(){H.props.onEntered(ce,ue)})})})):this.safeSetState({status:Pa},function(){H.props.onEntered(ce)})},H.performExit=function(){var B=this,H=this.props.exit,W=this.getTimeouts(),K=this.props.nodeRef?void 0:ie.findDOMNode(this);H?(this.props.onExit(K),this.safeSetState({status:La},function(){B.props.onExiting(K),B.onTransitionEnd(W.exit,function(){B.safeSetState({status:Aa},function(){B.props.onExited(K)})})})):this.safeSetState({status:Aa},function(){B.props.onExited(K)})},H.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},H.safeSetState=function(B,H){H=this.setNextCallback(H),this.setState(B,H)},H.setNextCallback=function(B){var H=this,W=!0;return this.nextCallback=function(K){W&&(W=!1,H.nextCallback=null,B(K))},this.nextCallback.cancel=function(){W=!1},this.nextCallback},H.onTransitionEnd=function(B,H){this.setNextCallback(H);var W=this.props.nodeRef?this.props.nodeRef.current:ie.findDOMNode(this),K=null==B&&!this.props.addEndListener;if(W&&!K){if(this.props.addEndListener){var Y=this.props.nodeRef?[this.nextCallback]:[W,this.nextCallback],ce=Y[0],ue=Y[1];this.props.addEndListener(ce,ue)}null!=B&&setTimeout(this.nextCallback,B)}else setTimeout(this.nextCallback,0)},H.render=function(){var B=this.state.status;if(B===Ia)return null;var H=this.props,W=H.children,K=s(H,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Y.createElement(Ma.Provider,{value:null},"function"==typeof W?W(B,K):Y.cloneElement(Y.Children.only(W),K))},n}(Y.Component);function cl(){}ja.contextType=Ma,ja.propTypes={},ja.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:cl,onEntering:cl,onEntered:cl,onExit:cl,onExiting:cl,onExited:cl},ja.UNMOUNTED=Ia,ja.EXITED=Aa,ja.ENTERING=Ta,ja.ENTERED=Pa,ja.EXITING=La;const Na=ja;function pl(B,H){var W=Object.create(null);return B&&Y.Children.map(B,function(B){return B}).forEach(function(B){W[B.key]=function(B){return H&&Y.isValidElement(B)?H(B):B}(B)}),W}function dl(B,H,W){return null!=W[H]?W[H]:B.props[H]}function fl(B,H,W){var K=pl(B.children),ie=function(B,H){function r(W){return W in H?H[W]:B[W]}B=B||{},H=H||{};var W,K=Object.create(null),Y=[];for(var ie in B)ie in H?Y.length&&(K[ie]=Y,Y=[]):Y.push(ie);var ce={};for(var ue in H){if(K[ue])for(W=0;W<K[ue].length;W++){var de=K[ue][W];ce[K[ue][W]]=r(de)}ce[ue]=r(ue)}for(W=0;W<Y.length;W++)ce[Y[W]]=r(Y[W]);return ce}(H,K);return Object.keys(ie).forEach(function(ce){var ue=ie[ce];if(Y.isValidElement(ue)){var de=ce in H,pe=ce in K,fe=H[ce],ke=Y.isValidElement(fe)&&!fe.props.in;!pe||de&&!ke?pe||!de||ke?pe&&de&&Y.isValidElement(fe)&&(ie[ce]=Y.cloneElement(ue,{onExited:W.bind(null,ue),in:fe.props.in,exit:dl(ue,"exit",B),enter:dl(ue,"enter",B)})):ie[ce]=Y.cloneElement(ue,{in:!1}):ie[ce]=Y.cloneElement(ue,{onExited:W.bind(null,ue),in:!0,exit:dl(ue,"exit",B),enter:dl(ue,"enter",B)})}}),ie}var $a=Object.values||function(B){return Object.keys(B).map(function(H){return B[H]})},za=function(B){function r(H,W){var K,Y=(K=B.call(this,H,W)||this).handleExited.bind(function(B){if(void 0===B)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B}(K));return K.state={contextValue:{isMounting:!0},handleExited:Y,firstRender:!0},K}el(r,B);var H=r.prototype;return H.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},H.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(B,H){var W,K,ie=H.children,ce=H.handleExited;return{children:H.firstRender?(W=B,K=ce,pl(W.children,function(B){return Y.cloneElement(B,{onExited:K.bind(null,B),in:!0,appear:dl(B,"appear",W),enter:dl(B,"enter",W),exit:dl(B,"exit",W)})})):fl(B,ie,ce),firstRender:!1}},H.handleExited=function(B,H){var W=pl(this.props.children);B.key in W||(B.props.onExited&&B.props.onExited(H),this.mounted&&this.setState(function(H){var W=a({},H.children);return delete W[B.key],{children:W}}))},H.render=function(){var B=this.props,H=B.component,W=B.childFactory,K=s(B,["component","childFactory"]),ie=this.state.contextValue,ce=$a(this.state.children).map(W);return delete K.appear,delete K.enter,delete K.exit,null===H?Y.createElement(Ma.Provider,{value:ie},ce):Y.createElement(Ma.Provider,{value:ie},Y.createElement(H,K,ce))},r}(Y.Component);za.propTypes={},za.defaultProps={component:"div",childFactory:function(B){return B}};const Ha=za;const Va=ta("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Wa=["center","classes","className"];let Ga,Ka,tl,rl,kl=B=>B;const nl=Ot(Ga||(Ga=kl` | |
| 2 | +(()=>{var W,H,U,G,X={2192:(W,H,U)=>{"use strict";var G=U(41594),X=Symbol.for("react.element"),oe=Symbol.for("react.fragment"),ie=Object.prototype.hasOwnProperty,ae=G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,le={key:!0,ref:!0,__self:!0,__source:!0};function q(W,H,U){var G,oe={},ce=null,ue=null;for(G in void 0!==U&&(ce=""+U),void 0!==H.key&&(ce=""+H.key),void 0!==H.ref&&(ue=H.ref),H)ie.call(H,G)&&!le.hasOwnProperty(G)&&(oe[G]=H[G]);if(W&&W.defaultProps)for(G in H=W.defaultProps)void 0===oe[G]&&(oe[G]=H[G]);return{$$typeof:X,type:W,key:ce,ref:ue,props:oe,_owner:ae.current}}H.Fragment=oe,H.jsx=q,H.jsxs=q},7470:(W,H,U)=>{"use strict";var G=U(75206);H.createRoot=G.createRoot,H.hydrateRoot=G.hydrateRoot},10564:W=>{function _typeof(H){return W.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(W){return typeof W}:function(W){return W&&"function"==typeof Symbol&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},W.exports.__esModule=!0,W.exports.default=W.exports,_typeof(H)}W.exports=_typeof,W.exports.__esModule=!0,W.exports.default=W.exports},18791:(W,H,U)=>{"use strict";var G=U(10564);Object.defineProperty(H,"__esModule",{value:!0}),H.default=void 0;_interopRequireWildcard(U(41594));var X=_interopRequireWildcard(U(75206)),oe=U(7470);function _interopRequireWildcard(W,H){if("function"==typeof WeakMap)var U=new WeakMap,X=new WeakMap;return(_interopRequireWildcard=function _interopRequireWildcard(W,H){if(!H&&W&&W.__esModule)return W;var oe,ie,ae={__proto__:null,default:W};if(null===W||"object"!=G(W)&&"function"!=typeof W)return ae;if(oe=H?X:U){if(oe.has(W))return oe.get(W);oe.set(W,ae)}for(var le in W)"default"!==le&&{}.hasOwnProperty.call(W,le)&&((ie=(oe=Object.defineProperty)&&Object.getOwnPropertyDescriptor(W,le))&&(ie.get||ie.set)?oe(ae,le,ie):ae[le]=W[le]);return ae})(W,H)}H.default={render:function render(W,H){var U;try{var G=(0,oe.createRoot)(H);G.render(W),U=function unmountFunction(){G.unmount()}}catch(G){X.render(W,H),U=function unmountFunction(){X.unmountComponentAtNode(H)}}return{unmount:U}}}},24007:(W,H,U)=>{"use strict";Object.defineProperty(H,Symbol.toStringTag,{value:"Module"});const G=U(62540),X=U(41594),oe=U(75206);function n(W){const H=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(W)for(const U in W)if("default"!==U){const G=Object.getOwnPropertyDescriptor(W,U);Object.defineProperty(H,U,G.get?G:{enumerable:!0,get:()=>W[U]})}return H.default=W,Object.freeze(H)}const ie=n(X),ae=n(oe);function a(W,H){if(null==W)return{};var U={};for(var G in W)if({}.hasOwnProperty.call(W,G)){if(-1!==H.indexOf(G))continue;U[G]=W[G]}return U}function s(){return s=Object.assign?Object.assign.bind():function(W){for(var H=1;H<arguments.length;H++){var U=arguments[H];for(var G in U)({}).hasOwnProperty.call(U,G)&&(W[G]=U[G])}return W},s.apply(null,arguments)}function l(W){return W&&W.__esModule&&Object.prototype.hasOwnProperty.call(W,"default")?W.default:W}function c(W){if(Object.prototype.hasOwnProperty.call(W,"__esModule"))return W;var H=W.default;if("function"==typeof H){var U=function e(){var W=!1;try{W=this instanceof e}catch{}return W?Reflect.construct(H,arguments,this.constructor):H.apply(this,arguments)};U.prototype=H.prototype}else U={};return Object.defineProperty(U,"__esModule",{value:!0}),Object.keys(W).forEach(function(H){var G=Object.getOwnPropertyDescriptor(W,H);Object.defineProperty(U,H,G.get?G:{enumerable:!0,get:function(){return W[H]}})}),U}var le={exports:{}};var ce,ue,de,pe,fe;function j(){return ue?ce:(ue=1,ce="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}const ke=l(function F(){return fe||(fe=1,le.exports=function D(){if(pe)return de;pe=1;var W=j();function t(){}function r(){}return r.resetWarningCache=t,de=function(){function n(H,U,G,X,oe,ie){if(ie!==W){var ae=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw ae.name="Invariant Violation",ae}}function o(){return n}n.isRequired=n;var H={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return H.PropTypes=H,H}}()()),le.exports}());function B(W){var H,U,G="";if("string"==typeof W||"number"==typeof W)G+=W;else if("object"==typeof W)if(Array.isArray(W)){var X=W.length;for(H=0;H<X;H++)W[H]&&(U=B(W[H]))&&(G&&(G+=" "),G+=U)}else for(U in W)W[U]&&(G&&(G+=" "),G+=U);return G}function V(){for(var W,H,U=0,G="",X=arguments.length;U<X;U++)(W=arguments[U])&&(H=B(W))&&(G&&(G+=" "),G+=H);return G}function q(W,H,U=void 0){const G={};return Object.keys(W).forEach(X=>{G[X]=W[X].reduce((W,G)=>{if(G){const X=H(G);""!==X&&W.push(X),U&&U[G]&&W.push(U[G])}return W},[]).join(" ")}),G}var Qe,tt={},it={exports:{}};function K(){return Qe||(Qe=1,(W=it).exports=function(W){return W&&W.__esModule?W:{default:W}},W.exports.__esModule=!0,W.exports.default=W.exports),it.exports;var W}var at,st={exports:{}};var ut,ht={exports:{}};function ee(W){var H=Object.create(null);return function(U){return void 0===H[U]&&(H[U]=W(U)),H[U]}}var ft=/^((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)-.*))$/,gt=ee(function(W){return ft.test(W)||111===W.charCodeAt(0)&&110===W.charCodeAt(1)&&W.charCodeAt(2)<91}),yt=function(){function e(W){var H=this;this._insertTag=function(W){var U;U=0===H.tags.length?H.insertionPoint?H.insertionPoint.nextSibling:H.prepend?H.container.firstChild:H.before:H.tags[H.tags.length-1].nextSibling,H.container.insertBefore(W,U),H.tags.push(W)},this.isSpeedy=void 0===W.speedy||W.speedy,this.tags=[],this.ctr=0,this.nonce=W.nonce,this.key=W.key,this.container=W.container,this.prepend=W.prepend,this.insertionPoint=W.insertionPoint,this.before=null}var W=e.prototype;return W.hydrate=function(W){W.forEach(this._insertTag)},W.insert=function(W){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(W){var H=document.createElement("style");return H.setAttribute("data-emotion",W.key),void 0!==W.nonce&&H.setAttribute("nonce",W.nonce),H.appendChild(document.createTextNode("")),H.setAttribute("data-s",""),H}(this));var H=this.tags[this.tags.length-1];if(this.isSpeedy){var U=function(W){if(W.sheet)return W.sheet;for(var H=0;H<document.styleSheets.length;H++)if(document.styleSheets[H].ownerNode===W)return document.styleSheets[H]}(H);try{U.insertRule(W,U.cssRules.length)}catch(W){}}else H.appendChild(document.createTextNode(W));this.ctr++},W.flush=function(){this.tags.forEach(function(W){var H;return null==(H=W.parentNode)?void 0:H.removeChild(W)}),this.tags=[],this.ctr=0},e}(),vt="-ms-",bt="-moz-",xt="-webkit-",wt="comm",St="rule",Ct="decl",It="@keyframes",Pt=Math.abs,At=String.fromCharCode,jt=Object.assign;function he(W){return W.trim()}function me(W,H,U){return W.replace(H,U)}function ge(W,H){return W.indexOf(H)}function ye(W,H){return 0|W.charCodeAt(H)}function be(W,H,U){return W.slice(H,U)}function ve(W){return W.length}function xe(W){return W.length}function _e(W,H){return H.push(W),W}var Nt=1,Lt=1,$t=0,Dt=0,Ft=0,zt="";function Te(W,H,U,G,X,oe,ie){return{value:W,root:H,parent:U,type:G,props:X,children:oe,line:Nt,column:Lt,length:ie,return:""}}function Me(W,H){return jt(Te("",null,null,"",null,null,0),W,{length:-W.length},H)}function Re(){return Ft=Dt<$t?ye(zt,Dt++):0,Lt++,10===Ft&&(Lt=1,Nt++),Ft}function Ie(){return ye(zt,Dt)}function Ne(){return Dt}function Pe(W,H){return be(zt,W,H)}function je(W){switch(W){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 Ae(W){return Nt=Lt=1,$t=ve(zt=W),Dt=0,[]}function $e(W){return zt="",W}function Le(W){return he(Pe(Dt-1,ze(91===W?W+2:40===W?W+1:W)))}function De(W){for(;(Ft=Ie())&&Ft<33;)Re();return je(W)>2||je(Ft)>3?"":" "}function Fe(W,H){for(;--H&&Re()&&!(Ft<48||Ft>102||Ft>57&&Ft<65||Ft>70&&Ft<97););return Pe(W,Ne()+(H<6&&32==Ie()&&32==Re()))}function ze(W){for(;Re();)switch(Ft){case W:return Dt;case 34:case 39:34!==W&&39!==W&&ze(Ft);break;case 40:41===W&&ze(W);break;case 92:Re()}return Dt}function Be(W,H){for(;Re()&&W+Ft!==57&&(W+Ft!==84||47!==Ie()););return"/*"+Pe(H,Dt-1)+"*"+At(47===W?W:Re())}function Ve(W){for(;!je(Ie());)Re();return Pe(W,Dt)}function qe(W){return $e(Ue("",null,null,null,[""],W=Ae(W),0,[0],W))}function Ue(W,H,U,G,X,oe,ie,ae,le){for(var ce=0,ue=0,de=ie,pe=0,fe=0,ke=0,Qe=1,tt=1,it=1,at=0,st="",ut=X,ht=oe,ft=G,gt=st;tt;)switch(ke=at,at=Re()){case 40:if(108!=ke&&58==ye(gt,de-1)){-1!=ge(gt+=me(Le(at),"&","&\f"),"&\f")&&(it=-1);break}case 34:case 39:case 91:gt+=Le(at);break;case 9:case 10:case 13:case 32:gt+=De(ke);break;case 92:gt+=Fe(Ne()-1,7);continue;case 47:switch(Ie()){case 42:case 47:_e(He(Be(Re(),Ne()),H,U),le);break;default:gt+="/"}break;case 123*Qe:ae[ce++]=ve(gt)*it;case 125*Qe:case 59:case 0:switch(at){case 0:case 125:tt=0;case 59+ue:-1==it&&(gt=me(gt,/\f/g,"")),fe>0&&ve(gt)-de&&_e(fe>32?Ke(gt+";",G,U,de-1):Ke(me(gt," ","")+";",G,U,de-2),le);break;case 59:gt+=";";default:if(_e(ft=We(gt,H,U,ce,ue,X,ae,st,ut=[],ht=[],de),oe),123===at)if(0===ue)Ue(gt,H,ft,ft,ut,oe,de,ae,ht);else switch(99===pe&&110===ye(gt,3)?100:pe){case 100:case 108:case 109:case 115:Ue(W,ft,ft,G&&_e(We(W,ft,ft,0,0,X,ae,st,X,ut=[],de),ht),X,ht,de,ae,G?ut:ht);break;default:Ue(gt,ft,ft,ft,[""],ht,0,ae,ht)}}ce=ue=fe=0,Qe=it=1,st=gt="",de=ie;break;case 58:de=1+ve(gt),fe=ke;default:if(Qe<1)if(123==at)--Qe;else if(125==at&&0==Qe++&&125==(Ft=Dt>0?ye(zt,--Dt):0,Lt--,10===Ft&&(Lt=1,Nt--),Ft))continue;switch(gt+=At(at),at*Qe){case 38:it=ue>0?1:(gt+="\f",-1);break;case 44:ae[ce++]=(ve(gt)-1)*it,it=1;break;case 64:45===Ie()&&(gt+=Le(Re())),pe=Ie(),ue=de=ve(st=gt+=Ve(Ne())),at++;break;case 45:45===ke&&2==ve(gt)&&(Qe=0)}}return oe}function We(W,H,U,G,X,oe,ie,ae,le,ce,ue){for(var de=X-1,pe=0===X?oe:[""],fe=xe(pe),ke=0,Qe=0,tt=0;ke<G;++ke)for(var it=0,at=be(W,de+1,de=Pt(Qe=ie[ke])),st=W;it<fe;++it)(st=he(Qe>0?pe[it]+" "+at:me(at,/&\f/g,pe[it])))&&(le[tt++]=st);return Te(W,H,U,0===X?St:ae,le,ce,ue)}function He(W,H,U){return Te(W,H,U,wt,At(Ft),be(W,2,-2),0)}function Ke(W,H,U,G){return Te(W,H,U,Ct,be(W,0,G),be(W,G+1,-1),G)}function Ge(W,H){for(var U="",G=xe(W),X=0;X<G;X++)U+=H(W[X],X,W,H)||"";return U}function Xe(W,H,U,G){switch(W.type){case"@layer":if(W.children.length)break;case"@import":case Ct:return W.return=W.return||W.value;case wt:return"";case It:return W.return=W.value+"{"+Ge(W.children,G)+"}";case St:W.value=W.props.join(",")}return ve(U=Ge(W.children,G))?W.return=W.value+"{"+U+"}":""}var Ye=function(W,H,U){for(var G=0,X=0;G=X,X=Ie(),38===G&&12===X&&(H[U]=1),!je(X);)Re();return Pe(W,Dt)},Bt=new WeakMap,Ze=function(W){if("rule"===W.type&&W.parent&&!(W.length<1)){for(var H=W.value,U=W.parent,G=W.column===U.column&&W.line===U.line;"rule"!==U.type;)if(!(U=U.parent))return;if((1!==W.props.length||58===H.charCodeAt(0)||Bt.get(U))&&!G){Bt.set(W,!0);for(var X=[],oe=function(W,H){return $e(function(W,H){var U=-1,G=44;do{switch(je(G)){case 0:38===G&&12===Ie()&&(H[U]=1),W[U]+=Ye(Dt-1,H,U);break;case 2:W[U]+=Le(G);break;case 4:if(44===G){W[++U]=58===Ie()?"&\f":"",H[U]=W[U].length;break}default:W[U]+=At(G)}}while(G=Re());return W}(Ae(W),H))}(H,X),ie=U.props,ae=0,le=0;ae<oe.length;ae++)for(var ce=0;ce<ie.length;ce++,le++)W.props[le]=X[ae]?oe[ae].replace(/&\f/g,ie[ce]):ie[ce]+" "+oe[ae]}}},Je=function(W){if("decl"===W.type){var H=W.value;108===H.charCodeAt(0)&&98===H.charCodeAt(2)&&(W.return="",W.value="")}};function et(W,H){switch(function(W,H){return 45^ye(W,0)?(((H<<2^ye(W,0))<<2^ye(W,1))<<2^ye(W,2))<<2^ye(W,3):0}(W,H)){case 5103:return xt+"print-"+W+W;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 xt+W+W;case 5349:case 4246:case 4810:case 6968:case 2756:return xt+W+bt+W+vt+W+W;case 6828:case 4268:return xt+W+vt+W+W;case 6165:return xt+W+vt+"flex-"+W+W;case 5187:return xt+W+me(W,/(\w+).+(:[^]+)/,xt+"box-$1$2"+vt+"flex-$1$2")+W;case 5443:return xt+W+vt+"flex-item-"+me(W,/flex-|-self/,"")+W;case 4675:return xt+W+vt+"flex-line-pack"+me(W,/align-content|flex-|-self/,"")+W;case 5548:return xt+W+vt+me(W,"shrink","negative")+W;case 5292:return xt+W+vt+me(W,"basis","preferred-size")+W;case 6060:return xt+"box-"+me(W,"-grow","")+xt+W+vt+me(W,"grow","positive")+W;case 4554:return xt+me(W,/([^-])(transform)/g,"$1"+xt+"$2")+W;case 6187:return me(me(me(W,/(zoom-|grab)/,xt+"$1"),/(image-set)/,xt+"$1"),W,"")+W;case 5495:case 3959:return me(W,/(image-set\([^]*)/,xt+"$1$`$1");case 4968:return me(me(W,/(.+:)(flex-)?(.*)/,xt+"box-pack:$3"+vt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+xt+W+W;case 4095:case 3583:case 4068:case 2532:return me(W,/(.+)-inline(.+)/,xt+"$1$2")+W;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(ve(W)-1-H>6)switch(ye(W,H+1)){case 109:if(45!==ye(W,H+4))break;case 102:return me(W,/(.+:)(.+)-([^]+)/,"$1"+xt+"$2-$3$1"+bt+(108==ye(W,H+3)?"$3":"$2-$3"))+W;case 115:return~ge(W,"stretch")?et(me(W,"stretch","fill-available"),H)+W:W}break;case 4949:if(115!==ye(W,H+1))break;case 6444:switch(ye(W,ve(W)-3-(~ge(W,"!important")&&10))){case 107:return me(W,":",":"+xt)+W;case 101:return me(W,/(.+:)([^;!]+)(;|!.+)?/,"$1"+xt+(45===ye(W,14)?"inline-":"")+"box$3$1"+xt+"$2$3$1"+vt+"$2box$3")+W}break;case 5936:switch(ye(W,H+11)){case 114:return xt+W+vt+me(W,/[svh]\w+-[tblr]{2}/,"tb")+W;case 108:return xt+W+vt+me(W,/[svh]\w+-[tblr]{2}/,"tb-rl")+W;case 45:return xt+W+vt+me(W,/[svh]\w+-[tblr]{2}/,"lr")+W}return xt+W+vt+W+W}return W}var Yt=[function(W,H,U,G){if(W.length>-1&&!W.return)switch(W.type){case Ct:W.return=et(W.value,W.length);break;case It:return Ge([Me(W,{value:me(W.value,"@","@"+xt)})],G);case St:if(W.length)return function(W,H){return W.map(H).join("")}(W.props,function(H){switch(function(W){return(W=/(::plac\w+|:read-\w+)/.exec(W))?W[0]:W}(H)){case":read-only":case":read-write":return Ge([Me(W,{props:[me(H,/:(read-\w+)/,":-moz-$1")]})],G);case"::placeholder":return Ge([Me(W,{props:[me(H,/:(plac\w+)/,":"+xt+"input-$1")]}),Me(W,{props:[me(H,/:(plac\w+)/,":-moz-$1")]}),Me(W,{props:[me(H,/:(plac\w+)/,vt+"input-$1")]})],G)}return""})}}],rt=function(W){var H=W.key;if("css"===H){var U=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(U,function(W){-1!==W.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(W),W.setAttribute("data-s",""))})}var G,X,oe=W.stylisPlugins||Yt,ie={},ae=[];G=W.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+H+' "]'),function(W){for(var H=W.getAttribute("data-emotion").split(" "),U=1;U<H.length;U++)ie[H[U]]=!0;ae.push(W)});var le,ce,ue=[Xe,(ce=function(W){le.insert(W)},function(W){W.root||(W=W.return)&&ce(W)})],de=function(W){var H=xe(W);return function(U,G,X,oe){for(var ie="",ae=0;ae<H;ae++)ie+=W[ae](U,G,X,oe)||"";return ie}}([Ze,Je].concat(oe,ue));X=function(W,H,U,G){le=U,Ge(qe(W?W+"{"+H.styles+"}":H.styles),de),G&&(pe.inserted[H.name]=!0)};var pe={key:H,sheet:new yt({key:H,container:G,nonce:W.nonce,speedy:W.speedy,prepend:W.prepend,insertionPoint:W.insertionPoint}),nonce:W.nonce,inserted:ie,registered:{},insert:X};return pe.sheet.hydrate(ae),pe},nt=function(W,H,U){var G=W.key+"-"+H.name;!1===U&&void 0===W.registered[G]&&(W.registered[G]=H.styles)},ot=function(W,H,U){nt(W,H,U);var G=W.key+"-"+H.name;if(void 0===W.inserted[H.name]){var X=H;do{W.insert(H===X?"."+G:"",X,W.sheet,!0),X=X.next}while(void 0!==X)}},Zt={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,scale: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},Jt=/[A-Z]|^ms/g,Qt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,lt=function(W){return 45===W.charCodeAt(1)},ct=function(W){return null!=W&&"boolean"!=typeof W},er=ee(function(W){return lt(W)?W:W.replace(Jt,"-$&").toLowerCase()}),pt=function(W,H){switch(W){case"animation":case"animationName":if("string"==typeof H)return H.replace(Qt,function(W,H,U){return tr={name:H,styles:U,next:tr},H})}return 1===Zt[W]||lt(W)||"number"!=typeof H||0===H?H:H+"px"};function dt(W,H,U){if(null==U)return"";var G=U;if(void 0!==G.__emotion_styles)return G;switch(typeof U){case"boolean":return"";case"object":var X=U;if(1===X.anim)return tr={name:X.name,styles:X.styles,next:tr},X.name;var oe=U;if(void 0!==oe.styles){var ie=oe.next;if(void 0!==ie)for(;void 0!==ie;)tr={name:ie.name,styles:ie.styles,next:tr},ie=ie.next;return oe.styles+";"}return function(W,H,U){var G="";if(Array.isArray(U))for(var X=0;X<U.length;X++)G+=dt(W,H,U[X])+";";else for(var oe in U){var ie=U[oe];if("object"!=typeof ie){var ae=ie;null!=H&&void 0!==H[ae]?G+=oe+"{"+H[ae]+"}":ct(ae)&&(G+=er(oe)+":"+pt(oe,ae)+";")}else if(!Array.isArray(ie)||"string"!=typeof ie[0]||null!=H&&void 0!==H[ie[0]]){var le=dt(W,H,ie);switch(oe){case"animation":case"animationName":G+=er(oe)+":"+le+";";break;default:G+=oe+"{"+le+"}"}}else for(var ce=0;ce<ie.length;ce++)ct(ie[ce])&&(G+=er(oe)+":"+pt(oe,ie[ce])+";")}return G}(W,H,U);case"function":if(void 0!==W){var ae=tr,le=U(W);return tr=ae,dt(W,H,le)}}var ce=U;if(null==H)return ce;var ue=H[ce];return void 0!==ue?ue:ce}var tr,Or=/label:\s*([^\s;{]+)\s*(;|$)/g;function mt(W,H,U){if(1===W.length&&"object"==typeof W[0]&&null!==W[0]&&void 0!==W[0].styles)return W[0];var G=!0,X="";tr=void 0;var oe=W[0];null==oe||void 0===oe.raw?(G=!1,X+=dt(U,H,oe)):X+=oe[0];for(var ie=1;ie<W.length;ie++)X+=dt(U,H,W[ie]),G&&(X+=oe[ie]);Or.lastIndex=0;for(var ae,le="";null!==(ae=Or.exec(X));)le+="-"+ae[1];var ce=function(W){for(var H,U=0,G=0,X=W.length;X>=4;++G,X-=4)H=1540483477*(65535&(H=255&W.charCodeAt(G)|(255&W.charCodeAt(++G))<<8|(255&W.charCodeAt(++G))<<16|(255&W.charCodeAt(++G))<<24))+(59797*(H>>>16)<<16),U=1540483477*(65535&(H^=H>>>24))+(59797*(H>>>16)<<16)^1540483477*(65535&U)+(59797*(U>>>16)<<16);switch(X){case 3:U^=(255&W.charCodeAt(G+2))<<16;case 2:U^=(255&W.charCodeAt(G+1))<<8;case 1:U=1540483477*(65535&(U^=255&W.charCodeAt(G)))+(59797*(U>>>16)<<16)}return(((U=1540483477*(65535&(U^=U>>>13))+(59797*(U>>>16)<<16))^U>>>15)>>>0).toString(36)}(X)+le;return{name:ce,styles:X,next:tr}}var Mr=!!ie.useInsertionEffect&&ie.useInsertionEffect,Rr=Mr||function(W){return W()},Ar=Mr||ie.useLayoutEffect,Fr=ie.createContext("undefined"!=typeof HTMLElement?rt({key:"css"}):null),Br=Fr.Provider,_t=function(W){return X.forwardRef(function(H,U){var G=X.useContext(Fr);return W(H,G,U)})},qr=ie.createContext({}),Wr=_t(function(W,H){var U=mt([W.styles],void 0,ie.useContext(qr)),G=ie.useRef();return Ar(function(){var W=H.key+"-global",X=new H.sheet.constructor({key:W,nonce:H.sheet.nonce,container:H.sheet.container,speedy:H.sheet.isSpeedy}),oe=!1,ie=document.querySelector('style[data-emotion="'+W+" "+U.name+'"]');return H.sheet.tags.length&&(X.before=H.sheet.tags[0]),null!==ie&&(oe=!0,ie.setAttribute("data-emotion",W),X.hydrate([ie])),G.current=[X,oe],function(){X.flush()}},[H]),Ar(function(){var W=G.current,X=W[0];if(W[1])W[1]=!1;else{if(void 0!==U.next&&ot(H,U.next,!0),X.tags.length){var oe=X.tags[X.tags.length-1].nextElementSibling;X.before=oe,X.flush()}H.insert("",U,X,!1)}},[H,U.name]),null});function kt(){for(var W=arguments.length,H=new Array(W),U=0;U<W;U++)H[U]=arguments[U];return mt(H)}var Ot=function(){var W=kt.apply(void 0,arguments),H="animation-"+W.name;return{name:H,styles:"@keyframes "+H+"{"+W.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Hr=gt,Et=function(W){return"theme"!==W},Tt=function(W){return"string"==typeof W&&W.charCodeAt(0)>96?Hr:Et},Mt=function(W,H,U){var G;if(H){var X=H.shouldForwardProp;G=W.__emotion_forwardProp&&X?function(H){return W.__emotion_forwardProp(H)&&X(H)}:X}return"function"!=typeof G&&U&&(G=W.__emotion_forwardProp),G},Rt=function(W){var H=W.cache,U=W.serialized,G=W.isStringTag;return nt(H,U,G),Rr(function(){return ot(H,U,G)}),null},Ur=function e(W,H){var U,G,X=W.__emotion_real===W,oe=X&&W.__emotion_base||W;void 0!==H&&(U=H.label,G=H.target);var ae=Mt(W,H,X),le=ae||Tt(oe),ce=!le("as");return function(){var ue=arguments,de=X&&void 0!==W.__emotion_styles?W.__emotion_styles.slice(0):[];if(void 0!==U&&de.push("label:"+U+";"),null==ue[0]||void 0===ue[0].raw)de.push.apply(de,ue);else{de.push(ue[0][0]);for(var pe=ue.length,fe=1;fe<pe;fe++)de.push(ue[fe],ue[0][fe])}var ke=_t(function(W,H,U){var X=ce&&W.as||oe,ue="",pe=[],fe=W;if(null==W.theme){for(var ke in fe={},W)fe[ke]=W[ke];fe.theme=ie.useContext(qr)}"string"==typeof W.className?ue=function(W,H,U){var G="";return U.split(" ").forEach(function(U){void 0!==W[U]?H.push(W[U]+";"):U&&(G+=U+" ")}),G}(H.registered,pe,W.className):null!=W.className&&(ue=W.className+" ");var Qe=mt(de.concat(pe),H.registered,fe);ue+=H.key+"-"+Qe.name,void 0!==G&&(ue+=" "+G);var tt=ce&&void 0===ae?Tt(X):le,it={};for(var at in W)ce&&"as"===at||tt(at)&&(it[at]=W[at]);return it.className=ue,U&&(it.ref=U),ie.createElement(ie.Fragment,null,ie.createElement(Rt,{cache:H,serialized:Qe,isStringTag:"string"==typeof X}),ie.createElement(X,it))});return ke.displayName=void 0!==U?U:"Styled("+("string"==typeof oe?oe:oe.displayName||oe.name||"Component")+")",ke.defaultProps=W.defaultProps,ke.__emotion_real=ke,ke.__emotion_base=oe,ke.__emotion_styles=de,ke.__emotion_forwardProp=ae,Object.defineProperty(ke,"toString",{value:function(){return"."+G}}),ke.withComponent=function(W,U){return e(W,s({},H,U,{shouldForwardProp:Mt(ke,U,!0)})).apply(void 0,de)},ke}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(W){Ur[W]=Ur(W)});var Gr="-ms-",Xr="-moz-",Yr="-webkit-",Jr="comm",Qr="rule",en="decl",an="@keyframes",sn=Math.abs,ln=String.fromCharCode,un=Object.assign;function Vt(W){return W.trim()}function qt(W,H,U){return W.replace(H,U)}function Ut(W,H){return W.indexOf(H)}function Wt(W,H){return 0|W.charCodeAt(H)}function Ht(W,H,U){return W.slice(H,U)}function Kt(W){return W.length}function Gt(W){return W.length}function Xt(W,H){return H.push(W),W}var pn=1,hn=1,fn=0,wn=0,Sn=0,kn="";function rr(W,H,U,G,X,oe,ie){return{value:W,root:H,parent:U,type:G,props:X,children:oe,line:pn,column:hn,length:ie,return:""}}function nr(W,H){return un(rr("",null,null,"",null,null,0),W,{length:-W.length},H)}function or(){return Sn=wn<fn?Wt(kn,wn++):0,hn++,10===Sn&&(hn=1,pn++),Sn}function ir(){return Wt(kn,wn)}function ar(){return wn}function sr(W,H){return Ht(kn,W,H)}function lr(W){switch(W){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 cr(W){return pn=hn=1,fn=Kt(kn=W),wn=0,[]}function ur(W){return kn="",W}function pr(W){return Vt(sr(wn-1,hr(91===W?W+2:40===W?W+1:W)))}function dr(W){for(;(Sn=ir())&&Sn<33;)or();return lr(W)>2||lr(Sn)>3?"":" "}function fr(W,H){for(;--H&&or()&&!(Sn<48||Sn>102||Sn>57&&Sn<65||Sn>70&&Sn<97););return sr(W,ar()+(H<6&&32==ir()&&32==or()))}function hr(W){for(;or();)switch(Sn){case W:return wn;case 34:case 39:34!==W&&39!==W&&hr(Sn);break;case 40:41===W&&hr(W);break;case 92:or()}return wn}function mr(W,H){for(;or()&&W+Sn!==57&&(W+Sn!==84||47!==ir()););return"/*"+sr(H,wn-1)+"*"+ln(47===W?W:or())}function gr(W){for(;!lr(ir());)or();return sr(W,wn)}function yr(W){return ur(br("",null,null,null,[""],W=cr(W),0,[0],W))}function br(W,H,U,G,X,oe,ie,ae,le){for(var ce=0,ue=0,de=ie,pe=0,fe=0,ke=0,Qe=1,tt=1,it=1,at=0,st="",ut=X,ht=oe,ft=G,gt=st;tt;)switch(ke=at,at=or()){case 40:if(108!=ke&&58==Wt(gt,de-1)){-1!=Ut(gt+=qt(pr(at),"&","&\f"),"&\f")&&(it=-1);break}case 34:case 39:case 91:gt+=pr(at);break;case 9:case 10:case 13:case 32:gt+=dr(ke);break;case 92:gt+=fr(ar()-1,7);continue;case 47:switch(ir()){case 42:case 47:Xt(xr(mr(or(),ar()),H,U),le);break;default:gt+="/"}break;case 123*Qe:ae[ce++]=Kt(gt)*it;case 125*Qe:case 59:case 0:switch(at){case 0:case 125:tt=0;case 59+ue:-1==it&&(gt=qt(gt,/\f/g,"")),fe>0&&Kt(gt)-de&&Xt(fe>32?_r(gt+";",G,U,de-1):_r(qt(gt," ","")+";",G,U,de-2),le);break;case 59:gt+=";";default:if(Xt(ft=vr(gt,H,U,ce,ue,X,ae,st,ut=[],ht=[],de),oe),123===at)if(0===ue)br(gt,H,ft,ft,ut,oe,de,ae,ht);else switch(99===pe&&110===Wt(gt,3)?100:pe){case 100:case 108:case 109:case 115:br(W,ft,ft,G&&Xt(vr(W,ft,ft,0,0,X,ae,st,X,ut=[],de),ht),X,ht,de,ae,G?ut:ht);break;default:br(gt,ft,ft,ft,[""],ht,0,ae,ht)}}ce=ue=fe=0,Qe=it=1,st=gt="",de=ie;break;case 58:de=1+Kt(gt),fe=ke;default:if(Qe<1)if(123==at)--Qe;else if(125==at&&0==Qe++&&125==(Sn=wn>0?Wt(kn,--wn):0,hn--,10===Sn&&(hn=1,pn--),Sn))continue;switch(gt+=ln(at),at*Qe){case 38:it=ue>0?1:(gt+="\f",-1);break;case 44:ae[ce++]=(Kt(gt)-1)*it,it=1;break;case 64:45===ir()&&(gt+=pr(or())),pe=ir(),ue=de=Kt(st=gt+=gr(ar())),at++;break;case 45:45===ke&&2==Kt(gt)&&(Qe=0)}}return oe}function vr(W,H,U,G,X,oe,ie,ae,le,ce,ue){for(var de=X-1,pe=0===X?oe:[""],fe=Gt(pe),ke=0,Qe=0,tt=0;ke<G;++ke)for(var it=0,at=Ht(W,de+1,de=sn(Qe=ie[ke])),st=W;it<fe;++it)(st=Vt(Qe>0?pe[it]+" "+at:qt(at,/&\f/g,pe[it])))&&(le[tt++]=st);return rr(W,H,U,0===X?Qr:ae,le,ce,ue)}function xr(W,H,U){return rr(W,H,U,Jr,ln(Sn),Ht(W,2,-2),0)}function _r(W,H,U,G){return rr(W,H,U,en,Ht(W,0,G),Ht(W,G+1,-1),G)}function wr(W,H){for(var U="",G=Gt(W),X=0;X<G;X++)U+=H(W[X],X,W,H)||"";return U}function Sr(W,H,U,G){switch(W.type){case"@layer":if(W.children.length)break;case"@import":case en:return W.return=W.return||W.value;case Jr:return"";case an:return W.return=W.value+"{"+wr(W.children,G)+"}";case Qr:W.value=W.props.join(",")}return Kt(U=wr(W.children,G))?W.return=W.value+"{"+U+"}":""}var kr=function(W,H,U){for(var G=0,X=0;G=X,X=ir(),38===G&&12===X&&(H[U]=1),!lr(X);)or();return sr(W,wn)},Cn=new WeakMap,Cr=function(W){if("rule"===W.type&&W.parent&&!(W.length<1)){for(var H=W.value,U=W.parent,G=W.column===U.column&&W.line===U.line;"rule"!==U.type;)if(!(U=U.parent))return;if((1!==W.props.length||58===H.charCodeAt(0)||Cn.get(U))&&!G){Cn.set(W,!0);for(var X=[],oe=function(W,H){return ur(function(W,H){var U=-1,G=44;do{switch(lr(G)){case 0:38===G&&12===ir()&&(H[U]=1),W[U]+=kr(wn-1,H,U);break;case 2:W[U]+=pr(G);break;case 4:if(44===G){W[++U]=58===ir()?"&\f":"",H[U]=W[U].length;break}default:W[U]+=ln(G)}}while(G=or());return W}(cr(W),H))}(H,X),ie=U.props,ae=0,le=0;ae<oe.length;ae++)for(var ce=0;ce<ie.length;ce++,le++)W.props[le]=X[ae]?oe[ae].replace(/&\f/g,ie[ce]):ie[ce]+" "+oe[ae]}}},Er=function(W){if("decl"===W.type){var H=W.value;108===H.charCodeAt(0)&&98===H.charCodeAt(2)&&(W.return="",W.value="")}};function Tr(W,H){switch(function(W,H){return 45^Wt(W,0)?(((H<<2^Wt(W,0))<<2^Wt(W,1))<<2^Wt(W,2))<<2^Wt(W,3):0}(W,H)){case 5103:return Yr+"print-"+W+W;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 Yr+W+W;case 5349:case 4246:case 4810:case 6968:case 2756:return Yr+W+Xr+W+Gr+W+W;case 6828:case 4268:return Yr+W+Gr+W+W;case 6165:return Yr+W+Gr+"flex-"+W+W;case 5187:return Yr+W+qt(W,/(\w+).+(:[^]+)/,Yr+"box-$1$2"+Gr+"flex-$1$2")+W;case 5443:return Yr+W+Gr+"flex-item-"+qt(W,/flex-|-self/,"")+W;case 4675:return Yr+W+Gr+"flex-line-pack"+qt(W,/align-content|flex-|-self/,"")+W;case 5548:return Yr+W+Gr+qt(W,"shrink","negative")+W;case 5292:return Yr+W+Gr+qt(W,"basis","preferred-size")+W;case 6060:return Yr+"box-"+qt(W,"-grow","")+Yr+W+Gr+qt(W,"grow","positive")+W;case 4554:return Yr+qt(W,/([^-])(transform)/g,"$1"+Yr+"$2")+W;case 6187:return qt(qt(qt(W,/(zoom-|grab)/,Yr+"$1"),/(image-set)/,Yr+"$1"),W,"")+W;case 5495:case 3959:return qt(W,/(image-set\([^]*)/,Yr+"$1$`$1");case 4968:return qt(qt(W,/(.+:)(flex-)?(.*)/,Yr+"box-pack:$3"+Gr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Yr+W+W;case 4095:case 3583:case 4068:case 2532:return qt(W,/(.+)-inline(.+)/,Yr+"$1$2")+W;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(Kt(W)-1-H>6)switch(Wt(W,H+1)){case 109:if(45!==Wt(W,H+4))break;case 102:return qt(W,/(.+:)(.+)-([^]+)/,"$1"+Yr+"$2-$3$1"+Xr+(108==Wt(W,H+3)?"$3":"$2-$3"))+W;case 115:return~Ut(W,"stretch")?Tr(qt(W,"stretch","fill-available"),H)+W:W}break;case 4949:if(115!==Wt(W,H+1))break;case 6444:switch(Wt(W,Kt(W)-3-(~Ut(W,"!important")&&10))){case 107:return qt(W,":",":"+Yr)+W;case 101:return qt(W,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Yr+(45===Wt(W,14)?"inline-":"")+"box$3$1"+Yr+"$2$3$1"+Gr+"$2box$3")+W}break;case 5936:switch(Wt(W,H+11)){case 114:return Yr+W+Gr+qt(W,/[svh]\w+-[tblr]{2}/,"tb")+W;case 108:return Yr+W+Gr+qt(W,/[svh]\w+-[tblr]{2}/,"tb-rl")+W;case 45:return Yr+W+Gr+qt(W,/[svh]\w+-[tblr]{2}/,"lr")+W}return Yr+W+Gr+W+W}return W}var En=[function(W,H,U,G){if(W.length>-1&&!W.return)switch(W.type){case en:W.return=Tr(W.value,W.length);break;case an:return wr([nr(W,{value:qt(W.value,"@","@"+Yr)})],G);case Qr:if(W.length)return function(W,H){return W.map(H).join("")}(W.props,function(H){switch(function(W){return(W=/(::plac\w+|:read-\w+)/.exec(W))?W[0]:W}(H)){case":read-only":case":read-write":return wr([nr(W,{props:[qt(H,/:(read-\w+)/,":-moz-$1")]})],G);case"::placeholder":return wr([nr(W,{props:[qt(H,/:(plac\w+)/,":"+Yr+"input-$1")]}),nr(W,{props:[qt(H,/:(plac\w+)/,":-moz-$1")]}),nr(W,{props:[qt(H,/:(plac\w+)/,Gr+"input-$1")]})],G)}return""})}}];let On;function Nr(W){const{styles:H,defaultTheme:U={}}=W,X="function"==typeof H?W=>{return H(null==(G=W)||0===Object.keys(G).length?U:W);var G}:H;return G.jsx(Wr,{styles:X})}function Pr(W,H){return Ur(W,H)}"object"==typeof document&&(On=function(W){var H=W.key;if("css"===H){var U=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(U,function(W){-1!==W.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(W),W.setAttribute("data-s",""))})}var G,X,oe=W.stylisPlugins||En,ie={},ae=[];G=W.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+H+' "]'),function(W){for(var H=W.getAttribute("data-emotion").split(" "),U=1;U<H.length;U++)ie[H[U]]=!0;ae.push(W)});var le,ce,ue=[Sr,(ce=function(W){le.insert(W)},function(W){W.root||(W=W.return)&&ce(W)})],de=function(W){var H=Gt(W);return function(U,G,X,oe){for(var ie="",ae=0;ae<H;ae++)ie+=W[ae](U,G,X,oe)||"";return ie}}([Cr,Er].concat(oe,ue));X=function(W,H,U,G){le=U,wr(yr(W?W+"{"+H.styles+"}":H.styles),de),G&&(pe.inserted[H.name]=!0)};var pe={key:H,sheet:new yt({key:H,container:G,nonce:W.nonce,speedy:W.speedy,prepend:W.prepend,insertionPoint:W.insertionPoint}),nonce:W.nonce,inserted:ie,registered:{},insert:X};return pe.sheet.hydrate(ae),pe}({key:"css",prepend:!0}));const jr=(W,H)=>{Array.isArray(W.__emotion_styles)&&(W.__emotion_styles=H(W.__emotion_styles))},Tn=c(Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Nr,StyledEngineProvider:function Ir(W){const{injectFirst:H,children:U}=W;return H&&On?G.jsx(Br,{value:On,children:U}):U},ThemeContext:qr,css:kt,default:Pr,internal_processStyles:jr,keyframes:Ot},Symbol.toStringTag,{value:"Module"})));function $r(W){if("object"!=typeof W||null===W)return!1;const H=Object.getPrototypeOf(W);return!(null!==H&&H!==Object.prototype&&null!==Object.getPrototypeOf(H)||Symbol.toStringTag in W||Symbol.iterator in W)}function Lr(W){if(ie.isValidElement(W)||!$r(W))return W;const H={};return Object.keys(W).forEach(U=>{H[U]=Lr(W[U])}),H}function Dr(W,H,U={clone:!0}){const G=U.clone?s({},W):W;return $r(W)&&$r(H)&&Object.keys(H).forEach(X=>{ie.isValidElement(H[X])?G[X]=H[X]:$r(H[X])&&Object.prototype.hasOwnProperty.call(W,X)&&$r(W[X])?G[X]=Dr(W[X],H[X],U):U.clone?G[X]=$r(H[X])?Lr(H[X]):H[X]:G[X]=H[X]}),G}const Dn=c(Object.freeze(Object.defineProperty({__proto__:null,default:Dr,isPlainObject:$r},Symbol.toStringTag,{value:"Module"})));function zr(W){let H="https://mui.com/production-error/?code="+W;for(let W=1;W<arguments.length;W+=1)H+="&args[]="+encodeURIComponent(arguments[W]);return"Minified MUI error #"+W+"; visit "+H+" for the full message."}const Fn=Object.freeze(Object.defineProperty({__proto__:null,default:zr},Symbol.toStringTag,{value:"Module"}));function Vr(W){if("string"!=typeof W)throw new Error(zr(7));return W.charAt(0).toUpperCase()+W.slice(1)}const zn=c(Object.freeze(Object.defineProperty({__proto__:null,default:Vr},Symbol.toStringTag,{value:"Module"})));var Bn,Vn={exports:{}},qn={};var Wn;var Hn=function Zr(){return Wn||(Wn=1,Vn.exports=function Kr(){if(Bn)return qn;Bn=1;var W=Symbol.for("react.transitional.element"),H=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),oe=Symbol.for("react.consumer"),ie=Symbol.for("react.context"),ae=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),ue=Symbol.for("react.memo"),de=Symbol.for("react.lazy"),pe=Symbol.for("react.view_transition"),fe=Symbol.for("react.client.reference");function h(fe){if("object"==typeof fe&&null!==fe){var ke=fe.$$typeof;switch(ke){case W:switch(fe=fe.type){case U:case X:case G:case le:case ce:case pe:return fe;default:switch(fe=fe&&fe.$$typeof){case ie:case ae:case de:case ue:case oe:return fe;default:return ke}}case H:return ke}}}return qn.ContextConsumer=oe,qn.ContextProvider=ie,qn.Element=W,qn.ForwardRef=ae,qn.Fragment=U,qn.Lazy=de,qn.Memo=ue,qn.Portal=H,qn.Profiler=X,qn.StrictMode=G,qn.Suspense=le,qn.SuspenseList=ce,qn.isContextConsumer=function(W){return h(W)===oe},qn.isContextProvider=function(W){return h(W)===ie},qn.isElement=function(H){return"object"==typeof H&&null!==H&&H.$$typeof===W},qn.isForwardRef=function(W){return h(W)===ae},qn.isFragment=function(W){return h(W)===U},qn.isLazy=function(W){return h(W)===de},qn.isMemo=function(W){return h(W)===ue},qn.isPortal=function(W){return h(W)===H},qn.isProfiler=function(W){return h(W)===X},qn.isStrictMode=function(W){return h(W)===G},qn.isSuspense=function(W){return h(W)===le},qn.isSuspenseList=function(W){return h(W)===ce},qn.isValidElementType=function(W){return"string"==typeof W||"function"==typeof W||W===U||W===X||W===G||W===le||W===ce||"object"==typeof W&&null!==W&&(W.$$typeof===de||W.$$typeof===ue||W.$$typeof===ie||W.$$typeof===oe||W.$$typeof===ae||W.$$typeof===fe||void 0!==W.getModuleId)},qn.typeOf=h,qn}()),Vn.exports}();const Un=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function tn(W){const H=`${W}`.match(Un);return H&&H[1]||""}function rn(W,H=""){return W.displayName||W.name||tn(W)||H}function nn(W,H,U){const G=rn(H);return W.displayName||(""!==G?`${U}(${G})`:U)}const Kn=c(Object.freeze(Object.defineProperty({__proto__:null,default:function on(W){if(null!=W){if("string"==typeof W)return W;if("function"==typeof W)return rn(W,"Component");if("object"==typeof W)switch(W.$$typeof){case Hn.ForwardRef:return nn(W,W.render,"ForwardRef");case Hn.Memo:return nn(W,W.type,"memo");default:return}}},getFunctionName:tn},Symbol.toStringTag,{value:"Module"}))),Gn=["values","unit","step"];function cn(W){const{values:H={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:U="px",step:G=5}=W,X=a(W,Gn),oe=(W=>{const H=Object.keys(W).map(H=>({key:H,val:W[H]}))||[];return H.sort((W,H)=>W.val-H.val),H.reduce((W,H)=>s({},W,{[H.key]:H.val}),{})})(H),ie=Object.keys(oe);function c(W){return`@media (min-width:${"number"==typeof H[W]?H[W]:W}${U})`}function u(W){return`@media (max-width:${("number"==typeof H[W]?H[W]:W)-G/100}${U})`}function p(W,X){const oe=ie.indexOf(X);return`@media (min-width:${"number"==typeof H[W]?H[W]:W}${U}) and (max-width:${(-1!==oe&&"number"==typeof H[ie[oe]]?H[ie[oe]]:X)-G/100}${U})`}return s({keys:ie,values:oe,up:c,down:u,between:p,only:function(W){return ie.indexOf(W)+1<ie.length?p(W,ie[ie.indexOf(W)+1]):c(W)},not:function(W){const H=ie.indexOf(W);return 0===H?c(ie[1]):H===ie.length-1?u(ie[H]):p(W,ie[ie.indexOf(W)+1]).replace("@media","@media not all and")},unit:U},X)}const Xn={borderRadius:4};function dn(W,H){return H?Dr(W,H,{clone:!1}):W}const ro={xs:0,sm:600,md:900,lg:1200,xl:1536},oo={keys:["xs","sm","md","lg","xl"],up:W=>`@media (min-width:${ro[W]}px)`};function mn(W,H,U){const G=W.theme||{};if(Array.isArray(H)){const W=G.breakpoints||oo;return H.reduce((G,X,oe)=>(G[W.up(W.keys[oe])]=U(H[oe]),G),{})}if("object"==typeof H){const W=G.breakpoints||oo;return Object.keys(H).reduce((G,X)=>{if(-1!==Object.keys(W.values||ro).indexOf(X))G[W.up(X)]=U(H[X],X);else{const W=X;G[W]=H[W]}return G},{})}return U(H)}function gn(W={}){var H;return(null==(H=W.keys)?void 0:H.reduce((H,U)=>(H[W.up(U)]={},H),{}))||{}}function yn(W,H){return W.reduce((W,H)=>{const U=W[H];return(!U||0===Object.keys(U).length)&&delete W[H],W},H)}function bn({values:W,breakpoints:H,base:U}){const G=U||function(W,H){if("object"!=typeof W)return{};const U={},G=Object.keys(H);return Array.isArray(W)?G.forEach((H,G)=>{G<W.length&&(U[H]=!0)}):G.forEach(H=>{null!=W[H]&&(U[H]=!0)}),U}(W,H),X=Object.keys(G);if(0===X.length)return W;let oe;return X.reduce((H,U,G)=>(Array.isArray(W)?(H[U]=null!=W[G]?W[G]:W[oe],oe=G):"object"==typeof W?(H[U]=null!=W[U]?W[U]:W[oe],oe=U):H[U]=W,H),{})}function vn(W,H,U=!0){if(!H||"string"!=typeof H)return null;if(W&&W.vars&&U){const U=`vars.${H}`.split(".").reduce((W,H)=>W&&W[H]?W[H]:null,W);if(null!=U)return U}return H.split(".").reduce((W,H)=>W&&null!=W[H]?W[H]:null,W)}function xn(W,H,U,G=U){let X;return X="function"==typeof W?W(U):Array.isArray(W)?W[U]||G:vn(W,U)||G,H&&(X=H(X,G,W)),X}function _n(W){const{prop:H,cssProperty:U=W.prop,themeKey:G,transform:X}=W,i=W=>{if(null==W[H])return null;const oe=W[H],ie=vn(W.theme,G)||{};return mn(W,oe,W=>{let G=xn(ie,X,W);return W===G&&"string"==typeof W&&(G=xn(ie,X,`${H}${"default"===W?"":Vr(W)}`,W)),!1===U?G:{[U]:G}})};return i.propTypes={},i.filterProps=[H],i}const io={m:"margin",p:"padding"},ao={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},so={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},lo=function(){const W={};return H=>(void 0===W[H]&&(W[H]=(W=>{if(W.length>2){if(!so[W])return[W];W=so[W]}const[H,U]=W.split(""),G=io[H],X=ao[U]||"";return Array.isArray(X)?X.map(W=>G+W):[G+X]})(H)),W[H])}(),uo=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fo=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Mn(W,H,U,G){var X;const oe=null!=(X=vn(W,H,!1))?X:U;return"number"==typeof oe?W=>"string"==typeof W?W:oe*W:Array.isArray(oe)?W=>"string"==typeof W?W:oe[W]:"function"==typeof oe?oe:()=>{}}function Rn(W){return Mn(W,"spacing",8)}function In(W,H){if("string"==typeof H||null==H)return H;const U=W(Math.abs(H));return H>=0?U:"number"==typeof U?-U:`-${U}`}function Nn(W,H){const U=Rn(W.theme);return Object.keys(W).map(G=>function(W,H,U,G){if(-1===H.indexOf(U))return null;const X=function(W,H){return U=>W.reduce((W,G)=>(W[G]=In(H,U),W),{})}(lo(U),G);return mn(W,W[U],X)}(W,H,G,U)).reduce(dn,{})}function Pn(W){return Nn(W,uo)}function jn(W){return Nn(W,fo)}function An(...W){const H=W.reduce((W,H)=>(H.filterProps.forEach(U=>{W[U]=H}),W),{}),r=W=>Object.keys(W).reduce((U,G)=>H[G]?dn(U,H[G](W)):U,{});return r.propTypes={},r.filterProps=W.reduce((W,H)=>W.concat(H.filterProps),[]),r}function $n(W){return"number"!=typeof W?W:`${W}px solid`}function Ln(W,H){return _n({prop:W,themeKey:"borders",transform:H})}Pn.propTypes={},Pn.filterProps=uo,jn.propTypes={},jn.filterProps=fo;const mo=Ln("border",$n),go=Ln("borderTop",$n),vo=Ln("borderRight",$n),bo=Ln("borderBottom",$n),_o=Ln("borderLeft",$n),So=Ln("borderColor"),ko=Ln("borderTopColor"),Co=Ln("borderRightColor"),Eo=Ln("borderBottomColor"),Mo=Ln("borderLeftColor"),Ro=Ln("outline",$n),Po=Ln("outlineColor"),Yn=W=>{if(void 0!==W.borderRadius&&null!==W.borderRadius){const H=Mn(W.theme,"shape.borderRadius",4),r=W=>({borderRadius:In(H,W)});return mn(W,W.borderRadius,r)}return null};Yn.propTypes={},Yn.filterProps=["borderRadius"],An(mo,go,vo,bo,_o,So,ko,Co,Eo,Mo,Yn,Ro,Po);const Qn=W=>{if(void 0!==W.gap&&null!==W.gap){const H=Mn(W.theme,"spacing",8),r=W=>({gap:In(H,W)});return mn(W,W.gap,r)}return null};Qn.propTypes={},Qn.filterProps=["gap"];const Zn=W=>{if(void 0!==W.columnGap&&null!==W.columnGap){const H=Mn(W.theme,"spacing",8),r=W=>({columnGap:In(H,W)});return mn(W,W.columnGap,r)}return null};Zn.propTypes={},Zn.filterProps=["columnGap"];const Jn=W=>{if(void 0!==W.rowGap&&null!==W.rowGap){const H=Mn(W.theme,"spacing",8),r=W=>({rowGap:In(H,W)});return mn(W,W.rowGap,r)}return null};function eo(W,H){return"grey"===H?H:W}function to(W){return W<=1&&0!==W?100*W+"%":W}Jn.propTypes={},Jn.filterProps=["rowGap"],An(Qn,Zn,Jn,_n({prop:"gridColumn"}),_n({prop:"gridRow"}),_n({prop:"gridAutoFlow"}),_n({prop:"gridAutoColumns"}),_n({prop:"gridAutoRows"}),_n({prop:"gridTemplateColumns"}),_n({prop:"gridTemplateRows"}),_n({prop:"gridTemplateAreas"}),_n({prop:"gridArea"})),An(_n({prop:"color",themeKey:"palette",transform:eo}),_n({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:eo}),_n({prop:"backgroundColor",themeKey:"palette",transform:eo}));const Ao=_n({prop:"width",transform:to}),no=W=>{if(void 0!==W.maxWidth&&null!==W.maxWidth){const t=H=>{var U,G;const X=(null==(U=W.theme)||null==(U=U.breakpoints)||null==(U=U.values)?void 0:U[H])||ro[H];return X?"px"!==(null==(G=W.theme)||null==(G=G.breakpoints)?void 0:G.unit)?{maxWidth:`${X}${W.theme.breakpoints.unit}`}:{maxWidth:X}:{maxWidth:to(H)}};return mn(W,W.maxWidth,t)}return null};no.filterProps=["maxWidth"];const jo=_n({prop:"minWidth",transform:to}),No=_n({prop:"height",transform:to}),Lo=_n({prop:"maxHeight",transform:to}),$o=_n({prop:"minHeight",transform:to});_n({prop:"size",cssProperty:"width",transform:to}),_n({prop:"size",cssProperty:"height",transform:to}),An(Ao,no,jo,No,Lo,$o,_n({prop:"boxSizing"}));const Do={border:{themeKey:"borders",transform:$n},borderTop:{themeKey:"borders",transform:$n},borderRight:{themeKey:"borders",transform:$n},borderBottom:{themeKey:"borders",transform:$n},borderLeft:{themeKey:"borders",transform:$n},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:$n},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Yn},color:{themeKey:"palette",transform:eo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:eo},backgroundColor:{themeKey:"palette",transform:eo},p:{style:jn},pt:{style:jn},pr:{style:jn},pb:{style:jn},pl:{style:jn},px:{style:jn},py:{style:jn},padding:{style:jn},paddingTop:{style:jn},paddingRight:{style:jn},paddingBottom:{style:jn},paddingLeft:{style:jn},paddingX:{style:jn},paddingY:{style:jn},paddingInline:{style:jn},paddingInlineStart:{style:jn},paddingInlineEnd:{style:jn},paddingBlock:{style:jn},paddingBlockStart:{style:jn},paddingBlockEnd:{style:jn},m:{style:Pn},mt:{style:Pn},mr:{style:Pn},mb:{style:Pn},ml:{style:Pn},mx:{style:Pn},my:{style:Pn},margin:{style:Pn},marginTop:{style:Pn},marginRight:{style:Pn},marginBottom:{style:Pn},marginLeft:{style:Pn},marginX:{style:Pn},marginY:{style:Pn},marginInline:{style:Pn},marginInlineStart:{style:Pn},marginInlineEnd:{style:Pn},marginBlock:{style:Pn},marginBlockStart:{style:Pn},marginBlockEnd:{style:Pn},displayPrint:{cssProperty:!1,transform:W=>({"@media print":{display:W}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Qn},rowGap:{style:Jn},columnGap:{style:Zn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:to},maxWidth:{style:no},minWidth:{transform:to},height:{transform:to},maxHeight:{transform:to},minHeight:{transform:to},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function co(){function e(W,H,U,G){const X={[W]:H,theme:U},oe=G[W];if(!oe)return{[W]:H};const{cssProperty:ie=W,themeKey:ae,transform:le,style:ce}=oe;if(null==H)return null;if("typography"===ae&&"inherit"===H)return{[W]:H};const ue=vn(U,ae)||{};return ce?ce(X):mn(X,H,H=>{let U=xn(ue,le,H);return H===U&&"string"==typeof H&&(U=xn(ue,le,`${W}${"default"===H?"":Vr(H)}`,H)),!1===ie?U:{[ie]:U}})}return function t(W){var H;const{sx:U,theme:G={}}=W||{};if(!U)return null;const X=null!=(H=G.unstable_sxConfig)?H:Do;function s(W){let H=W;if("function"==typeof W)H=W(G);else if("object"!=typeof W)return W;if(!H)return null;const U=gn(G.breakpoints),oe=Object.keys(U);let ie=U;return Object.keys(H).forEach(W=>{const U="function"==typeof(oe=H[W])?oe(G):oe;var oe;if(null!=U)if("object"==typeof U)if(X[W])ie=dn(ie,e(W,U,G,X));else{const H=mn({theme:G},U,H=>({[W]:H}));!function(...W){const H=W.reduce((W,H)=>W.concat(Object.keys(H)),[]),U=new Set(H);return W.every(W=>U.size===Object.keys(W).length)}(H,U)?ie=dn(ie,H):ie[W]=t({sx:U,theme:G})}else ie=dn(ie,e(W,U,G,X))}),yn(oe,ie)}return Array.isArray(U)?U.map(s):s(U)}}const Fo=co();function po(W,H){const U=this;if(U.vars&&"function"==typeof U.getColorSchemeSelector){const G=U.getColorSchemeSelector(W).replace(/(\[[^\]]+\])/,"*:where($1)");return{[G]:H}}return U.palette.mode===W?H:{}}Fo.filterProps=["sx"];const zo=["breakpoints","palette","spacing","shape"];function ho(W={},...H){const{breakpoints:U={},palette:G={},spacing:X,shape:oe={}}=W,ie=a(W,zo),ae=cn(U),le=function(W=8){if(W.mui)return W;const H=Rn({spacing:W}),r=(...W)=>(0===W.length?[1]:W).map(W=>{const U=H(W);return"number"==typeof U?`${U}px`:U}).join(" ");return r.mui=!0,r}(X);let ce=Dr({breakpoints:ae,direction:"ltr",components:{},palette:s({mode:"light"},G),spacing:le,shape:s({},Xn,oe)},ie);return ce.applyStyles=po,ce=H.reduce((W,H)=>Dr(W,H),ce),ce.unstable_sxConfig=s({},Do,null==ie?void 0:ie.unstable_sxConfig),ce.unstable_sx=function(W){return Fo({sx:W,theme:this})},ce}const Bo=c(Object.freeze(Object.defineProperty({__proto__:null,default:ho,private_createBreakpoints:cn,unstable_applyStyles:po},Symbol.toStringTag,{value:"Module"}))),Vo=["sx"];function yo(W){const{sx:H}=W,U=a(W,Vo),{systemProps:G,otherProps:X}=(W=>{var H,U;const G={systemProps:{},otherProps:{}},X=null!=(H=null==W||null==(U=W.theme)?void 0:U.unstable_sxConfig)?H:Do;return Object.keys(W).forEach(H=>{X[H]?G.systemProps[H]=W[H]:G.otherProps[H]=W[H]}),G})(U);let oe;return oe=Array.isArray(H)?[G,...H]:"function"==typeof H?(...W)=>{const U=H(...W);return $r(U)?s({},G,U):G}:s({},G,H),s({},X,{sx:oe})}const qo=c(Object.freeze(Object.defineProperty({__proto__:null,default:Fo,extendSxProp:yo,unstable_createStyleFunctionSx:co,unstable_defaultSxConfig:Do},Symbol.toStringTag,{value:"Module"})));var Wo;const Ho=l(function xo(){if(Wo)return tt;Wo=1;var W=K();Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=function(W={}){const{themeId:oe,defaultTheme:ae=ue,rootShouldForwardProp:le=f,slotShouldForwardProp:de=f}=W,v=W=>(0,ie.default)((0,H.default)({},W,{theme:g((0,H.default)({},W,{defaultTheme:ae,themeId:oe}))}));return v.__mui_systemSx=!0,(W,ie={})=>{(0,G.internal_processStyles)(W,W=>W.filter(W=>!(null!=W&&W.__mui_systemSx)));const{name:ue,slot:pe,skipVariantsResolver:fe,skipSx:ke,overridesResolver:Qe=y(m(pe))}=ie,tt=(0,U.default)(ie,ce),it=void 0!==fe?fe:pe&&"Root"!==pe&&"root"!==pe||!1,at=ke||!1;let st=f;"Root"===pe||"root"===pe?st=le:pe?st=de:function(W){return"string"==typeof W&&W.charCodeAt(0)>96}(W)&&(st=void 0);const ut=(0,G.default)(W,(0,H.default)({shouldForwardProp:st,label:undefined},tt)),R=W=>"function"==typeof W&&W.__emotion_real!==W||(0,X.isPlainObject)(W)?U=>b(W,(0,H.default)({},U,{theme:g({theme:U.theme,defaultTheme:ae,themeId:oe})})):W,I=(U,...G)=>{let X=R(U);const ie=G?G.map(R):[];ue&&Qe&&ie.push(W=>{const U=g((0,H.default)({},W,{defaultTheme:ae,themeId:oe}));if(!U.components||!U.components[ue]||!U.components[ue].styleOverrides)return null;const G=U.components[ue].styleOverrides,X={};return Object.entries(G).forEach(([G,oe])=>{X[G]=b(oe,(0,H.default)({},W,{theme:U}))}),Qe(W,X)}),ue&&!it&&ie.push(W=>{var U;const G=g((0,H.default)({},W,{defaultTheme:ae,themeId:oe}));return b({variants:null==G||null==(U=G.components)||null==(U=U[ue])?void 0:U.variants},(0,H.default)({},W,{theme:G}))}),at||ie.push(v);const le=ie.length-G.length;if(Array.isArray(U)&&le>0){const W=new Array(le).fill("");X=[...U,...W],X.raw=[...U.raw,...W]}const ce=ut(X,...ie);return W.muiName&&(ce.muiName=W.muiName),ce};return ut.withConfig&&(I.withConfig=ut.withConfig),I}},tt.shouldForwardProp=f,tt.systemDefaultTheme=void 0;var H=W(function Y(){return at||(at=1,function(W){function t(){return W.exports=t=Object.assign?Object.assign.bind():function(W){for(var H=1;H<arguments.length;H++){var U=arguments[H];for(var G in U)({}).hasOwnProperty.call(U,G)&&(W[G]=U[G])}return W},W.exports.__esModule=!0,W.exports.default=W.exports,t.apply(null,arguments)}W.exports=t,W.exports.__esModule=!0,W.exports.default=W.exports}(st)),st.exports}()),U=W(function J(){return ut||(ut=1,(W=ht).exports=function(W,H){if(null==W)return{};var U={};for(var G in W)if({}.hasOwnProperty.call(W,G)){if(-1!==H.indexOf(G))continue;U[G]=W[G]}return U},W.exports.__esModule=!0,W.exports.default=W.exports),ht.exports;var W}()),G=function(W){if(W&&W.__esModule)return W;if(null===W||"object"!=typeof W&&"function"!=typeof W)return{default:W};var H=d(void 0);if(H&&H.has(W))return H.get(W);var U={__proto__:null},G=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var X in W)if("default"!==X&&Object.prototype.hasOwnProperty.call(W,X)){var oe=G?Object.getOwnPropertyDescriptor(W,X):null;oe&&(oe.get||oe.set)?Object.defineProperty(U,X,oe):U[X]=W[X]}return U.default=W,H&&H.set(W,U),U}(Tn),X=Dn,oe=(W(zn),W(Kn),W(Bo)),ie=W(qo);const ae=["ownerState"],le=["variants"],ce=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(W){if("function"!=typeof WeakMap)return null;var H=new WeakMap,U=new WeakMap;return(d=function(W){return W?U:H})(W)}function f(W){return"ownerState"!==W&&"theme"!==W&&"sx"!==W&&"as"!==W}const ue=tt.systemDefaultTheme=(0,oe.default)(),m=W=>W?W.charAt(0).toLowerCase()+W.slice(1):W;function g({defaultTheme:W,theme:H,themeId:U}){return G=H,0===Object.keys(G).length?W:H[U]||H;var G}function y(W){return W?(H,U)=>U[W]:null}function b(W,G){let{ownerState:X}=G,oe=(0,U.default)(G,ae);const ie="function"==typeof W?W((0,H.default)({ownerState:X},oe)):W;if(Array.isArray(ie))return ie.flatMap(W=>b(W,(0,H.default)({ownerState:X},oe)));if(ie&&"object"==typeof ie&&Array.isArray(ie.variants)){const{variants:W=[]}=ie;let G=(0,U.default)(ie,le);return W.forEach(W=>{let U=!0;"function"==typeof W.props?U=W.props((0,H.default)({ownerState:X},oe,X)):Object.keys(W.props).forEach(H=>{(null==X?void 0:X[H])!==W.props[H]&&oe[H]!==W.props[H]&&(U=!1)}),U&&(Array.isArray(G)||(G=[G]),G.push("function"==typeof W.style?W.style((0,H.default)({ownerState:X},oe,X)):W.style))}),G}return ie}return tt}()),wo=W=>W,Ko=(()=>{let W=wo;return{configure(H){W=H},generate:H=>W(H),reset(){W=wo}}})(),Yo={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Oo(W,H,U="Mui"){const G=Yo[H];return G?`${U}-${G}`:`${Ko.generate(W)}-${H}`}var Zo={};const Jo=c(Fn);function To(W,H=Number.MIN_SAFE_INTEGER,U=Number.MAX_SAFE_INTEGER){return Math.max(H,Math.min(W,U))}const Qo=c(Object.freeze(Object.defineProperty({__proto__:null,default:To},Symbol.toStringTag,{value:"Module"})));var ni;var oi=function Io(){if(ni)return Zo;ni=1;var W=K();Object.defineProperty(Zo,"__esModule",{value:!0}),Zo.alpha=u,Zo.blend=function(W,H,U,G=1){const o=(W,H)=>Math.round((W**(1/G)*(1-U)+H**(1/G)*U)**G),X=i(W),oe=i(H);return s({type:"rgb",values:[o(X.values[0],oe.values[0]),o(X.values[1],oe.values[1]),o(X.values[2],oe.values[2])]})},Zo.colorChannel=void 0,Zo.darken=p,Zo.decomposeColor=i,Zo.emphasize=f,Zo.getContrastRatio=function(W,H){const U=c(W),G=c(H);return(Math.max(U,G)+.05)/(Math.min(U,G)+.05)},Zo.getLuminance=c,Zo.hexToRgb=o,Zo.hslToRgb=l,Zo.lighten=d,Zo.private_safeAlpha=function(W,H,U){try{return u(W,H)}catch(H){return W}},Zo.private_safeColorChannel=void 0,Zo.private_safeDarken=function(W,H,U){try{return p(W,H)}catch(H){return W}},Zo.private_safeEmphasize=function(W,H,U){try{return f(W,H)}catch(H){return W}},Zo.private_safeLighten=function(W,H,U){try{return d(W,H)}catch(H){return W}},Zo.recomposeColor=s,Zo.rgbToHex=function(W){if(0===W.indexOf("#"))return W;const{values:H}=i(W);return`#${H.map((W,H)=>function(W){const H=W.toString(16);return 1===H.length?`0${H}`:H}(3===H?Math.round(255*W):W)).join("")}`};var H=W(Jo),U=W(Qo);function n(W,H=0,G=1){return(0,U.default)(W,H,G)}function o(W){W=W.slice(1);const H=new RegExp(`.{1,${W.length>=6?2:1}}`,"g");let U=W.match(H);return U&&1===U[0].length&&(U=U.map(W=>W+W)),U?`rgb${4===U.length?"a":""}(${U.map((W,H)=>H<3?parseInt(W,16):Math.round(parseInt(W,16)/255*1e3)/1e3).join(", ")})`:""}function i(W){if(W.type)return W;if("#"===W.charAt(0))return i(o(W));const U=W.indexOf("("),G=W.substring(0,U);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(G))throw new Error((0,H.default)(9,W));let X,oe=W.substring(U+1,W.length-1);if("color"===G){if(oe=oe.split(" "),X=oe.shift(),4===oe.length&&"/"===oe[3].charAt(0)&&(oe[3]=oe[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(X))throw new Error((0,H.default)(10,X))}else oe=oe.split(",");return oe=oe.map(W=>parseFloat(W)),{type:G,values:oe,colorSpace:X}}const a=W=>{const H=i(W);return H.values.slice(0,3).map((W,U)=>-1!==H.type.indexOf("hsl")&&0!==U?`${W}%`:W).join(" ")};function s(W){const{type:H,colorSpace:U}=W;let{values:G}=W;return-1!==H.indexOf("rgb")?G=G.map((W,H)=>H<3?parseInt(W,10):W):-1!==H.indexOf("hsl")&&(G[1]=`${G[1]}%`,G[2]=`${G[2]}%`),G=-1!==H.indexOf("color")?`${U} ${G.join(" ")}`:`${G.join(", ")}`,`${H}(${G})`}function l(W){W=i(W);const{values:H}=W,U=H[0],G=H[1]/100,X=H[2]/100,oe=G*Math.min(X,1-X),l=(W,H=(W+U/30)%12)=>X-oe*Math.max(Math.min(H-3,9-H,1),-1);let ie="rgb";const ae=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===W.type&&(ie+="a",ae.push(H[3])),s({type:ie,values:ae})}function c(W){let H="hsl"===(W=i(W)).type||"hsla"===W.type?i(l(W)).values:W.values;return H=H.map(H=>("color"!==W.type&&(H/=255),H<=.03928?H/12.92:((H+.055)/1.055)**2.4)),Number((.2126*H[0]+.7152*H[1]+.0722*H[2]).toFixed(3))}function u(W,H){return W=i(W),H=n(H),"rgb"!==W.type&&"hsl"!==W.type||(W.type+="a"),"color"===W.type?W.values[3]=`/${H}`:W.values[3]=H,s(W)}function p(W,H){if(W=i(W),H=n(H),-1!==W.type.indexOf("hsl"))W.values[2]*=1-H;else if(-1!==W.type.indexOf("rgb")||-1!==W.type.indexOf("color"))for(let U=0;U<3;U+=1)W.values[U]*=1-H;return s(W)}function d(W,H){if(W=i(W),H=n(H),-1!==W.type.indexOf("hsl"))W.values[2]+=(100-W.values[2])*H;else if(-1!==W.type.indexOf("rgb"))for(let U=0;U<3;U+=1)W.values[U]+=(255-W.values[U])*H;else if(-1!==W.type.indexOf("color"))for(let U=0;U<3;U+=1)W.values[U]+=(1-W.values[U])*H;return s(W)}function f(W,H=.15){return c(W)>.5?p(W,H):d(W,H)}return Zo.colorChannel=a,Zo.private_safeColorChannel=(W,H)=>{try{return a(W)}catch(H){return W}},Zo}();const ai={black:"#000",white:"#fff"},si={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},ui="#f3e5f5",hi="#ce93d8",vi="#ba68c8",bi="#ab47bc",xi="#9c27b0",wi="#7b1fa2",Si="#e57373",Ci="#ef5350",Mi="#f44336",Ri="#d32f2f",Ti="#c62828",Ni="#ffb74d",Li="#ffa726",Di="#ff9800",zi="#f57c00",Xi="#e65100",Yi="#e3f2fd",Zi="#90caf9",Ji="#42a5f5",Qi="#1976d2",ea="#1565c0",ta="#4fc3f7",la="#29b6f6",ca="#03a9f4",ha="#0288d1",ma="#01579b",va="#81c784",ba="#66bb6a",xa="#4caf50",_a="#388e3c",Ra="#2e7d32",Ta="#1b5e20",Pa=["mode","contrastThreshold","tonalOffset"],Na={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ai.white,default:ai.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},$a={text:{primary:ai.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ai.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Uo(W,H,U,G){const X=G.light||G,oe=G.dark||1.5*G;W[H]||(W.hasOwnProperty(U)?W[H]=W[U]:"light"===H?W.light=oi.lighten(W.main,X):"dark"===H&&(W.dark=oi.darken(W.main,oe)))}const Da=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],Ba={textTransform:"uppercase"},Va='"Roboto", "Helvetica", "Arial", sans-serif';function Go(W,H){const U="function"==typeof H?H(W):H,{fontFamily:G=Va,fontSize:X=14,fontWeightLight:oe=300,fontWeightRegular:ie=400,fontWeightMedium:ae=500,fontWeightBold:le=700,htmlFontSize:ce=16,allVariants:ue,pxToRem:de}=U,pe=a(U,Da),fe=X/14,ke=de||(W=>W/ce*fe+"rem"),y=(W,H,U,X,oe)=>{return s({fontFamily:G,fontWeight:W,fontSize:ke(H),lineHeight:U},G===Va?{letterSpacing:(ie=X/H,Math.round(1e5*ie)/1e5+"em")}:{},oe,ue);var ie},Qe={h1:y(oe,96,1.167,-1.5),h2:y(oe,60,1.2,-.5),h3:y(ie,48,1.167,0),h4:y(ie,34,1.235,.25),h5:y(ie,24,1.334,0),h6:y(ae,20,1.6,.15),subtitle1:y(ie,16,1.75,.15),subtitle2:y(ae,14,1.57,.1),body1:y(ie,16,1.5,.15),body2:y(ie,14,1.43,.15),button:y(ae,14,1.75,.4,Ba),caption:y(ie,12,1.66,.4),overline:y(ie,12,2.66,1,Ba),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Dr(s({htmlFontSize:ce,pxToRem:ke,fontFamily:G,fontSize:X,fontWeightLight:oe,fontWeightRegular:ie,fontWeightMedium:ae,fontWeightBold:le},Qe),pe,{clone:!1})}function Xo(...W){return[`${W[0]}px ${W[1]}px ${W[2]}px ${W[3]}px rgba(0,0,0,0.2)`,`${W[4]}px ${W[5]}px ${W[6]}px ${W[7]}px rgba(0,0,0,0.14)`,`${W[8]}px ${W[9]}px ${W[10]}px ${W[11]}px rgba(0,0,0,0.12)`].join(",")}const qa=["none",Xo(0,2,1,-1,0,1,1,0,0,1,3,0),Xo(0,3,1,-2,0,2,2,0,0,1,5,0),Xo(0,3,3,-2,0,3,4,0,0,1,8,0),Xo(0,2,4,-1,0,4,5,0,0,1,10,0),Xo(0,3,5,-1,0,5,8,0,0,1,14,0),Xo(0,3,5,-1,0,6,10,0,0,1,18,0),Xo(0,4,5,-2,0,7,10,1,0,2,16,1),Xo(0,5,5,-3,0,8,10,1,0,3,14,2),Xo(0,5,6,-3,0,9,12,1,0,3,16,2),Xo(0,6,6,-3,0,10,14,1,0,4,18,3),Xo(0,6,7,-4,0,11,15,1,0,4,20,3),Xo(0,7,8,-4,0,12,17,2,0,5,22,4),Xo(0,7,8,-4,0,13,19,2,0,5,24,4),Xo(0,7,9,-4,0,14,21,2,0,5,26,4),Xo(0,8,9,-5,0,15,22,2,0,6,28,5),Xo(0,8,10,-5,0,16,24,2,0,6,30,5),Xo(0,8,11,-5,0,17,26,2,0,6,32,5),Xo(0,9,11,-5,0,18,28,2,0,7,34,6),Xo(0,9,12,-6,0,19,29,2,0,7,36,6),Xo(0,10,13,-6,0,20,31,3,0,8,38,7),Xo(0,10,13,-6,0,21,33,3,0,8,40,7),Xo(0,10,14,-6,0,22,35,3,0,8,42,7),Xo(0,11,14,-7,0,23,36,3,0,9,44,8),Xo(0,11,15,-7,0,24,38,3,0,9,46,8)],Xa=["duration","easing","delay"],Ya={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Ja={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ei(W){return`${Math.round(W)}ms`}function ti(W){if(!W)return 0;const H=W/36;return Math.round(10*(4+15*H**.25+H/5))}function ri(W){const H=s({},Ya,W.easing),U=s({},Ja,W.duration);return s({getAutoHeightDuration:ti,create:(W=["all"],G={})=>{const{duration:X=U.standard,easing:oe=H.easeInOut,delay:ie=0}=G;a(G,Xa);return(Array.isArray(W)?W:[W]).map(W=>`${W} ${"string"==typeof X?X:ei(X)} ${oe} ${"string"==typeof ie?ie:ei(ie)}`).join(",")}},W,{easing:H,duration:U})}const Qa={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},ts=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function ii(W={},...H){const{mixins:U={},palette:G={},transitions:X={},typography:oe={}}=W,ie=a(W,ts);if(W.vars)throw new Error(zr(18));const ae=function(W){const{mode:H="light",contrastThreshold:U=3,tonalOffset:G=.2}=W,X=a(W,Pa),oe=W.primary||function(W="light"){return"dark"===W?{main:Zi,light:Yi,dark:Ji}:{main:Qi,light:Ji,dark:ea}}(H),ie=W.secondary||function(W="light"){return"dark"===W?{main:hi,light:ui,dark:bi}:{main:xi,light:vi,dark:wi}}(H),ae=W.error||function(W="light"){return"dark"===W?{main:Mi,light:Si,dark:Ri}:{main:Ri,light:Ci,dark:Ti}}(H),le=W.info||function(W="light"){return"dark"===W?{main:la,light:ta,dark:ha}:{main:ha,light:ca,dark:ma}}(H),ce=W.success||function(W="light"){return"dark"===W?{main:ba,light:va,dark:_a}:{main:Ra,light:xa,dark:Ta}}(H),ue=W.warning||function(W="light"){return"dark"===W?{main:Li,light:Ni,dark:zi}:{main:"#ed6c02",light:Di,dark:Xi}}(H);function f(W){return oi.getContrastRatio(W,$a.text.primary)>=U?$a.text.primary:Na.text.primary}const h=({color:W,name:H,mainShade:U=500,lightShade:X=300,darkShade:oe=700})=>{if(!(W=s({},W)).main&&W[U]&&(W.main=W[U]),!W.hasOwnProperty("main"))throw new Error(zr(11,H?` (${H})`:"",U));if("string"!=typeof W.main)throw new Error(zr(12,H?` (${H})`:"",JSON.stringify(W.main)));return Uo(W,"light",X,G),Uo(W,"dark",oe,G),W.contrastText||(W.contrastText=f(W.main)),W},de={dark:$a,light:Na};return Dr(s({common:s({},ai),mode:H,primary:h({color:oe,name:"primary"}),secondary:h({color:ie,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:ae,name:"error"}),warning:h({color:ue,name:"warning"}),info:h({color:le,name:"info"}),success:h({color:ce,name:"success"}),grey:si,contrastThreshold:U,getContrastText:f,augmentColor:h,tonalOffset:G},de[H]),X)}(G),le=ho(W);let ce=Dr(le,{mixins:(ue=le.breakpoints,de=U,s({toolbar:{minHeight:56,[ue.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[ue.up("sm")]:{minHeight:64}}},de)),palette:ae,shadows:qa.slice(),typography:Go(ae,oe),transitions:ri(X),zIndex:s({},Qa)});var ue,de;return ce=Dr(ce,ie),ce=H.reduce((W,H)=>Dr(W,H),ce),ce.unstable_sxConfig=s({},Do,null==ie?void 0:ie.unstable_sxConfig),ce.unstable_sx=function(W){return Fo({sx:W,theme:this})},ce}const rs=ii(),ns="$$material";function li(W){return"ownerState"!==W&&"theme"!==W&&"sx"!==W&&"as"!==W}const ci=W=>li(W)&&"classes"!==W,os=Ho({themeId:ns,defaultTheme:rs,rootShouldForwardProp:ci});function pi(W,H){const U=s({},H);return Object.keys(W).forEach(G=>{if(G.toString().match(/^(components|slots)$/))U[G]=s({},W[G],U[G]);else if(G.toString().match(/^(componentsProps|slotProps)$/)){const X=W[G]||{},oe=H[G];U[G]={},oe&&Object.keys(oe)?X&&Object.keys(X)?(U[G]=s({},oe),Object.keys(X).forEach(W=>{U[G][W]=pi(X[W],oe[W])})):U[G]=oe:U[G]=X}else void 0===U[G]&&(U[G]=W[G])}),U}function di(W){const{theme:H,name:U,props:G}=W;return H&&H.components&&H.components[U]&&H.components[U].defaultProps?pi(H.components[U].defaultProps,G):G}function fi(W=null){const H=ie.useContext(qr);return H&&(U=H,0!==Object.keys(U).length)?H:W;var U}const is=ho();function mi(W=is){return fi(W)}function gi({props:W,name:H,defaultTheme:U,themeId:G}){let X=mi(U);return G&&(X=X[G]||X),di({theme:X,name:H,props:W})}function yi({props:W,name:H}){return gi({props:W,name:H,defaultTheme:rs,themeId:ns})}Number.isInteger;function _i(){return null}_i.isRequired=_i;const ki=W=>{let H;return H=W<1?5.11916*W**2:4.5*Math.log(W+1)+2,(H/100).toFixed(2)};function Oi({styles:W,themeId:H,defaultTheme:U={}}){const X=mi(U),oe="function"==typeof W?W(H&&X[H]||X):W;return G.jsx(Nr,{styles:oe})}const as=["className","component"];function Ei(W,H,U="Mui"){const G={};return H.forEach(H=>{G[H]=Oo(W,H,U)}),G}const ss=["ownerState"],cs=["variants"],us=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Ii(W){return"ownerState"!==W&&"theme"!==W&&"sx"!==W&&"as"!==W}const ds=ho(),Pi=W=>W?W.charAt(0).toLowerCase()+W.slice(1):W;function ji({defaultTheme:W,theme:H,themeId:U}){return G=H,0===Object.keys(G).length?W:H[U]||H;var G}function Ai(W){return W?(H,U)=>U[W]:null}function $i(W,H){let{ownerState:U}=H,G=a(H,ss);const X="function"==typeof W?W(s({ownerState:U},G)):W;if(Array.isArray(X))return X.flatMap(W=>$i(W,s({ownerState:U},G)));if(X&&"object"==typeof X&&Array.isArray(X.variants)){const{variants:W=[]}=X;let H=a(X,cs);return W.forEach(W=>{let X=!0;"function"==typeof W.props?X=W.props(s({ownerState:U},G,U)):Object.keys(W.props).forEach(H=>{(null==U?void 0:U[H])!==W.props[H]&&G[H]!==W.props[H]&&(X=!1)}),X&&(Array.isArray(H)||(H=[H]),H.push("function"==typeof W.style?W.style(s({ownerState:U},G,U)):W.style))}),H}return X}const ps=function(W={}){const{themeId:H,defaultTheme:U=ds,rootShouldForwardProp:G=Ii,slotShouldForwardProp:X=Ii}=W,i=W=>Fo(s({},W,{theme:ji(s({},W,{defaultTheme:U,themeId:H}))}));return i.__mui_systemSx=!0,(W,oe={})=>{jr(W,W=>W.filter(W=>!(null!=W&&W.__mui_systemSx)));const{name:ie,slot:ae,skipVariantsResolver:le,skipSx:ce,overridesResolver:ue=Ai(Pi(ae))}=oe,de=a(oe,us),pe=void 0!==le?le:ae&&"Root"!==ae&&"root"!==ae||!1,fe=ce||!1;let ke=Ii;"Root"===ae||"root"===ae?ke=G:ae?ke=X:function(W){return"string"==typeof W&&W.charCodeAt(0)>96}(W)&&(ke=void 0);const Qe=Pr(W,s({shouldForwardProp:ke,label:undefined},de)),x=W=>"function"==typeof W&&W.__emotion_real!==W||$r(W)?G=>$i(W,s({},G,{theme:ji({theme:G.theme,defaultTheme:U,themeId:H})})):W,_=(G,...X)=>{let oe=x(G);const ae=X?X.map(x):[];ie&&ue&&ae.push(W=>{const G=ji(s({},W,{defaultTheme:U,themeId:H}));if(!G.components||!G.components[ie]||!G.components[ie].styleOverrides)return null;const X=G.components[ie].styleOverrides,oe={};return Object.entries(X).forEach(([H,U])=>{oe[H]=$i(U,s({},W,{theme:G}))}),ue(W,oe)}),ie&&!pe&&ae.push(W=>{var G;const X=ji(s({},W,{defaultTheme:U,themeId:H}));return $i({variants:null==X||null==(G=X.components)||null==(G=G[ie])?void 0:G.variants},s({},W,{theme:X}))}),fe||ae.push(i);const le=ae.length-X.length;if(Array.isArray(G)&&le>0){const W=new Array(le).fill("");oe=[...G,...W],oe.raw=[...G.raw,...W]}const ce=Qe(oe,...ae);return W.muiName&&(ce.muiName=W.muiName),ce};return Qe.withConfig&&(_.withConfig=Qe.withConfig),_}}(),hs="undefined"!=typeof window?ie.useLayoutEffect:ie.useEffect;function Fi(W,H,U,G,X){const[oe,ae]=ie.useState(()=>X&&U?U(W).matches:G?G(W).matches:H);return hs(()=>{let H=!0;if(!U)return;const G=U(W),o=()=>{H&&ae(G.matches)};return o(),G.addListener(o),()=>{H=!1,G.removeListener(o)}},[W,U]),oe}const ms=ie.useSyncExternalStore;function Bi(W,H,U,G,X){const oe=ie.useCallback(()=>H,[H]),ae=ie.useMemo(()=>{if(X&&U)return()=>U(W).matches;if(null!==G){const{matches:H}=G(W);return()=>H}return oe},[oe,W,G,X,U]),[le,ce]=ie.useMemo(()=>{if(null===U)return[oe,()=>()=>{}];const H=U(W);return[()=>H.matches,W=>(H.addListener(W),()=>{H.removeListener(W)})]},[oe,U,W]);return ms(ce,le,ae)}function Vi(W,H={}){const U=fi(),G="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:X=!1,matchMedia:oe=(G?window.matchMedia:null),ssrMatchMedia:ie=null,noSsr:ae=!1}=di({name:"MuiUseMediaQuery",props:H,theme:U});let le="function"==typeof W?W(U):W;le=le.replace(/^@media( ?)/m,"");return(void 0!==ms?Bi:Fi)(le,X,oe,ie,ae)}function qi(W,H=0,U=1){return To(W,H,U)}function Ui(W){if(W.type)return W;if("#"===W.charAt(0))return Ui(function(W){W=W.slice(1);const H=new RegExp(`.{1,${W.length>=6?2:1}}`,"g");let U=W.match(H);return U&&1===U[0].length&&(U=U.map(W=>W+W)),U?`rgb${4===U.length?"a":""}(${U.map((W,H)=>H<3?parseInt(W,16):Math.round(parseInt(W,16)/255*1e3)/1e3).join(", ")})`:""}(W));const H=W.indexOf("("),U=W.substring(0,H);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(U))throw new Error(zr(9,W));let G,X=W.substring(H+1,W.length-1);if("color"===U){if(X=X.split(" "),G=X.shift(),4===X.length&&"/"===X[3].charAt(0)&&(X[3]=X[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(G))throw new Error(zr(10,G))}else X=X.split(",");return X=X.map(W=>parseFloat(W)),{type:U,values:X,colorSpace:G}}function Wi(W){const{type:H,colorSpace:U}=W;let{values:G}=W;return-1!==H.indexOf("rgb")?G=G.map((W,H)=>H<3?parseInt(W,10):W):-1!==H.indexOf("hsl")&&(G[1]=`${G[1]}%`,G[2]=`${G[2]}%`),G=-1!==H.indexOf("color")?`${U} ${G.join(" ")}`:`${G.join(", ")}`,`${H}(${G})`}function Hi(W,H){return W=Ui(W),H=qi(H),"rgb"!==W.type&&"hsl"!==W.type||(W.type+="a"),"color"===W.type?W.values[3]=`/${H}`:W.values[3]=H,Wi(W)}function Ki(W,H){if(W=Ui(W),H=qi(H),-1!==W.type.indexOf("hsl"))W.values[2]*=1-H;else if(-1!==W.type.indexOf("rgb")||-1!==W.type.indexOf("color"))for(let U=0;U<3;U+=1)W.values[U]*=1-H;return Wi(W)}function Gi(W,H){if(W=Ui(W),H=qi(H),-1!==W.type.indexOf("hsl"))W.values[2]+=(100-W.values[2])*H;else if(-1!==W.type.indexOf("rgb"))for(let U=0;U<3;U+=1)W.values[U]+=(255-W.values[U])*H;else if(-1!==W.type.indexOf("color"))for(let U=0;U<3;U+=1)W.values[U]+=(1-W.values[U])*H;return Wi(W)}(ke.element,()=>null).isRequired=(ke.element.isRequired,()=>null);ke.elementType;ke.oneOfType([ke.func,ke.object]);function ra(...W){return W.reduce((W,H)=>null==H?W:function(...U){W.apply(this,U),H.apply(this,U)},()=>{})}function na(W,H=166){let U;function n(...G){clearTimeout(U),U=setTimeout(()=>{W.apply(this,G)},H)}return n.clear=()=>{clearTimeout(U)},n}function oa(W,H){var U,G;return ie.isValidElement(W)&&-1!==H.indexOf(null!=(U=W.type.muiName)?U:null==(G=W.type)||null==(G=G._payload)||null==(G=G.value)?void 0:G.muiName)}function ia(W){return W&&W.ownerDocument||document}function aa(W){return ia(W).defaultView||window}function sa(W,H){"function"==typeof W?W(H):W&&(W.current=H)}let gs=0;const ys=ie["useId".toString()];function ua(W){if(void 0!==ys){const H=ys();return null!=W?W:H}return function(W){const[H,U]=ie.useState(W),G=W||H;return ie.useEffect(()=>{null==H&&(gs+=1,U(`mui-${gs}`))},[H]),G}(W)}function pa({controlled:W,default:H,name:U,state:G="value"}){const{current:X}=ie.useRef(void 0!==W),[oe,ae]=ie.useState(H);return[X?W:oe,ie.useCallback(W=>{X||ae(W)},[])]}function da(W){const H=ie.useRef(W);return hs(()=>{H.current=W}),ie.useRef((...W)=>(0,H.current)(...W)).current}function fa(...W){return ie.useMemo(()=>W.every(W=>null==W)?null:H=>{W.forEach(W=>{sa(W,H)})},W)}const vs={},bs=[];class ga{static create(){return new ga}start(W,H){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,H()},W)}constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}}function ya(){const W=function(W){const H=ie.useRef(vs);return H.current===vs&&(H.current=W(void 0)),H}(ga.create).current;var H;return H=W.disposeEffect,ie.useEffect(H,bs),W}let xs=!0,_s=!1;const ks=new ga,Cs={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function wa(W){W.metaKey||W.altKey||W.ctrlKey||(xs=!0)}function Sa(){xs=!1}function ka(){"hidden"===this.visibilityState&&_s&&(xs=!0)}function Ca(W){const H=W.documentElement.clientWidth;return Math.abs(window.innerWidth-H)}const Ea=W=>{const H=ie.useRef({});return ie.useEffect(()=>{H.current=W}),H.current},Es=ie.createContext(null);function Ma(){return ie.useContext(Es)}const Os="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Ia(W){const{children:H,theme:U}=W,X=Ma(),oe=ie.useMemo(()=>{const W=null===X?U:function(W,H){if("function"==typeof H){return H(W)}return s({},W,H)}(X,U);return null!=W&&(W[Os]=null!==X),W},[U,X]);return G.jsx(Es.Provider,{value:oe,children:H})}const Ms=["value"],Rs=ie.createContext();function ja(W){let{value:H}=W,U=a(W,Ms);return G.jsx(Rs.Provider,s({value:null==H||H},U))}const Aa=()=>{const W=ie.useContext(Rs);return null!=W&&W},Is=ie.createContext(void 0);function La({value:W,children:H}){return G.jsx(Is.Provider,{value:W,children:H})}const Ts={};function Fa(W,H,U,G=!1){return ie.useMemo(()=>{const X=W&&H[W]||H;if("function"==typeof U){const oe=U(X),ie=W?s({},H,{[W]:oe}):oe;return G?()=>ie:ie}return s({},H,W?{[W]:U}:U)},[W,H,U,G])}function za(W){const{children:H,theme:U,themeId:X}=W,oe=fi(Ts),ie=Ma()||Ts,ae=Fa(X,oe,U),le=Fa(X,ie,U,!0),ce="rtl"===ae.direction;return G.jsx(Ia,{theme:le,children:G.jsx(qr.Provider,{value:ae,children:G.jsx(ja,{value:ce,children:G.jsx(La,{value:null==ae?void 0:ae.components,children:H})})})})}const Ls=["component","direction","spacing","divider","children","className","useFlexGap"],$s=ho(),Fs=ps("div",{name:"MuiStack",slot:"Root",overridesResolver:(W,H)=>H.root});function Ua(W){return gi({props:W,name:"MuiStack",defaultTheme:$s})}function Wa(W,H){const U=ie.Children.toArray(W).filter(Boolean);return U.reduce((W,G,X)=>(W.push(G),X<U.length-1&&W.push(ie.cloneElement(H,{key:`separator-${X}`})),W),[])}const Ha=({ownerState:W,theme:H})=>{let U=s({display:"flex",flexDirection:"column"},mn({theme:H},bn({values:W.direction,breakpoints:H.breakpoints.values}),W=>({flexDirection:W})));if(W.spacing){const G=Rn(H),X=Object.keys(H.breakpoints.values).reduce((H,U)=>(("object"==typeof W.spacing&&null!=W.spacing[U]||"object"==typeof W.direction&&null!=W.direction[U])&&(H[U]=!0),H),{}),oe=bn({values:W.direction,base:X}),ie=bn({values:W.spacing,base:X});"object"==typeof oe&&Object.keys(oe).forEach((W,H,U)=>{if(!oe[W]){const G=H>0?oe[U[H-1]]:"column";oe[W]=G}}),U=Dr(U,mn({theme:H},ie,(H,U)=>{return W.useFlexGap?{gap:In(G,H)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${X=U?oe[U]:W.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[X]}`]:In(G,H)}};var X}))}return U=function(W,...H){const U=gn(W),G=[U,...H].reduce((W,H)=>Dr(W,H),{});return yn(Object.keys(U),G)}(H.breakpoints,U),U};function Ka(){const W=mi(rs);return W[ns]||W}function Ga(W){return Oo("MuiPaper",W)}Ei("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const zs=["className","component","elevation","square","variant"],Bs=os("div",{name:"MuiPaper",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,H[U.variant],!U.square&&H.rounded,"elevation"===U.variant&&H[`elevation${U.elevation}`]]}})(({theme:W,ownerState:H})=>{var U;return s({backgroundColor:(W.vars||W).palette.background.paper,color:(W.vars||W).palette.text.primary,transition:W.transitions.create("box-shadow")},!H.square&&{borderRadius:W.shape.borderRadius},"outlined"===H.variant&&{border:`1px solid ${(W.vars||W).palette.divider}`},"elevation"===H.variant&&s({boxShadow:(W.vars||W).shadows[H.elevation]},!W.vars&&"dark"===W.palette.mode&&{backgroundImage:`linear-gradient(${oi.alpha("#fff",ki(H.elevation))}, ${oi.alpha("#fff",ki(H.elevation))})`},W.vars&&{backgroundImage:null==(U=W.vars.overlays)?void 0:U[H.elevation]}))}),Vs=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiPaper"}),{className:X,component:oe="div",elevation:ie=1,square:ae=!1,variant:le="elevation"}=U,ce=a(U,zs),ue=s({},U,{component:oe,elevation:ie,square:ae,variant:le}),de=(W=>{const{square:H,elevation:U,variant:G,classes:X}=W;return q({root:["root",G,!H&&"rounded","elevation"===G&&`elevation${U}`]},Ga,X)})(ue);return G.jsx(Bs,s({as:oe,ownerState:ue,className:V(de.root,X),ref:H},ce))});function Za(W){return Oo("MuiAppBar",W)}Ei("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const qs=["className","color","enableColorOnDark","position"],es=(W,H)=>W?`${null==W?void 0:W.replace(")","")}, ${H})`:H,Hs=os(Vs,{name:"MuiAppBar",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,H[`position${Vr(U.position)}`],H[`color${Vr(U.color)}`]]}})(({theme:W,ownerState:H})=>{const U="light"===W.palette.mode?W.palette.grey[100]:W.palette.grey[900];return s({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===H.position&&{position:"fixed",zIndex:(W.vars||W).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===H.position&&{position:"absolute",zIndex:(W.vars||W).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===H.position&&{position:"sticky",zIndex:(W.vars||W).zIndex.appBar,top:0,left:"auto",right:0},"static"===H.position&&{position:"static"},"relative"===H.position&&{position:"relative"},!W.vars&&s({},"default"===H.color&&{backgroundColor:U,color:W.palette.getContrastText(U)},H.color&&"default"!==H.color&&"inherit"!==H.color&&"transparent"!==H.color&&{backgroundColor:W.palette[H.color].main,color:W.palette[H.color].contrastText},"inherit"===H.color&&{color:"inherit"},"dark"===W.palette.mode&&!H.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===H.color&&s({backgroundColor:"transparent",color:"inherit"},"dark"===W.palette.mode&&{backgroundImage:"none"})),W.vars&&s({},"default"===H.color&&{"--AppBar-background":H.enableColorOnDark?W.vars.palette.AppBar.defaultBg:es(W.vars.palette.AppBar.darkBg,W.vars.palette.AppBar.defaultBg),"--AppBar-color":H.enableColorOnDark?W.vars.palette.text.primary:es(W.vars.palette.AppBar.darkColor,W.vars.palette.text.primary)},H.color&&!H.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":H.enableColorOnDark?W.vars.palette[H.color].main:es(W.vars.palette.AppBar.darkBg,W.vars.palette[H.color].main),"--AppBar-color":H.enableColorOnDark?W.vars.palette[H.color].contrastText:es(W.vars.palette.AppBar.darkColor,W.vars.palette[H.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===H.color?"inherit":"var(--AppBar-color)"},"transparent"===H.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),Us=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiAppBar"}),{className:X,color:oe="primary",enableColorOnDark:ie=!1,position:ae="fixed"}=U,le=a(U,qs),ce=s({},U,{color:oe,position:ae,enableColorOnDark:ie}),ue=(W=>{const{color:H,position:U,classes:G}=W;return q({root:["root",`color${Vr(H)}`,`position${Vr(U)}`]},Za,G)})(ce);return G.jsx(Hs,s({square:!0,component:"header",ownerState:ce,elevation:4,className:V(ue.root,X,"fixed"===ae&&"mui-fixed"),ref:H},le))}),Ks={elevation:0,color:"default"},Gs=X.forwardRef((W,H)=>X.createElement(Us,{...Ks,...W,ref:H}));Gs.defaultProps=Ks;var Xs=Gs;const Ys=function(W={}){const{createStyledComponent:H=Fs,useThemeProps:U=Ua,componentName:X="MuiStack"}=W,oe=H(Ha),ae=ie.forwardRef(function(W,H){const ie=yo(U(W)),{component:ae="div",direction:le="column",spacing:ce=0,divider:ue,children:de,className:pe,useFlexGap:fe=!1}=ie,ke=a(ie,Ls),Qe={direction:le,spacing:ce,useFlexGap:fe},tt=q({root:["root"]},W=>Oo(X,W),{});return G.jsx(oe,s({as:ae,ownerState:Qe,ref:H,className:V(tt.root,pe)},ke,{children:ue?Wa(de,ue):de}))});return ae}({createStyledComponent:os("div",{name:"MuiStack",slot:"Root",overridesResolver:(W,H)=>H.root}),useThemeProps:W=>yi({props:W,name:"MuiStack"})});var Js=X.forwardRef((W,H)=>X.createElement(Ys,{...W,ref:H}));function ls(W){return Oo("MuiToolbar",W)}Ei("MuiToolbar",["root","gutters","regular","dense"]);const Qs=["className","component","disableGutters","variant"],el=os("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,!U.disableGutters&&H.gutters,H[U.variant]]}})(({theme:W,ownerState:H})=>s({position:"relative",display:"flex",alignItems:"center"},!H.disableGutters&&{paddingLeft:W.spacing(2),paddingRight:W.spacing(2),[W.breakpoints.up("sm")]:{paddingLeft:W.spacing(3),paddingRight:W.spacing(3)}},"dense"===H.variant&&{minHeight:48}),({theme:W,ownerState:H})=>"regular"===H.variant&&W.mixins.toolbar),tl=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiToolbar"}),{className:X,component:oe="div",disableGutters:ie=!1,variant:ae="regular"}=U,le=a(U,Qs),ce=s({},U,{component:oe,disableGutters:ie,variant:ae}),ue=(W=>{const{classes:H,disableGutters:U,variant:G}=W;return q({root:["root",!U&&"gutters",G]},ls,H)})(ce);return G.jsx(el,s({as:oe,className:V(ue.root,X),ref:H,ownerState:ce},le))});var rl=X.forwardRef((W,H)=>X.createElement(tl,{...W,ref:H}));function fs(W){return Oo("MuiTypography",W)}Ei("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const ol=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],il=os("span",{name:"MuiTypography",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,U.variant&&H[U.variant],"inherit"!==U.align&&H[`align${Vr(U.align)}`],U.noWrap&&H.noWrap,U.gutterBottom&&H.gutterBottom,U.paragraph&&H.paragraph]}})(({theme:W,ownerState:H})=>s({margin:0},"inherit"===H.variant&&{font:"inherit"},"inherit"!==H.variant&&W.typography[H.variant],"inherit"!==H.align&&{textAlign:H.align},H.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},H.gutterBottom&&{marginBottom:"0.35em"},H.paragraph&&{marginBottom:16})),al={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},sl={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},ll=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiTypography"}),X=(W=>sl[W]||W)(U.color),oe=yo(s({},U,{color:X})),{align:ie="inherit",className:ae,component:le,gutterBottom:ce=!1,noWrap:ue=!1,paragraph:de=!1,variant:pe="body1",variantMapping:fe=al}=oe,ke=a(oe,ol),Qe=s({},oe,{align:ie,color:X,className:ae,component:le,gutterBottom:ce,noWrap:ue,paragraph:de,variant:pe,variantMapping:fe}),tt=le||(de?"p":fe[pe]||al[pe])||"span",it=(W=>{const{align:H,gutterBottom:U,noWrap:G,paragraph:X,variant:oe,classes:ie}=W;return q({root:["root",oe,"inherit"!==W.align&&`align${Vr(H)}`,U&&"gutterBottom",G&&"noWrap",X&&"paragraph"]},fs,ie)})(Qe);return G.jsx(il,s({as:tt,ref:H,ownerState:Qe,className:V(it.root,ae)},ke))}),cl={variantMapping:{display1:"h1",display2:"h2",display3:"h3",display4:"h4",display5:"h5",display6:"h6"}},ul=X.forwardRef((W,H)=>{const U={...cl,...W,variantMapping:{...cl.variantMapping,...W.variantMapping}};return X.createElement(ll,{...U,ref:H})});ul.defaultProps=cl;var dl=ul;function ws(W,H){return ws=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(W,H){return W.__proto__=H,W},ws(W,H)}function Ss(W,H){W.prototype=Object.create(H.prototype),W.prototype.constructor=W,ws(W,H)}const pl=X.createContext(null);var hl="unmounted",fl="exited",ml="entering",gl="entered",yl="exiting",wl=function(W){function n(H,U){var G;G=W.call(this,H,U)||this;var X,oe=U&&!U.isMounting?H.enter:H.appear;return G.appearStatus=null,H.in?oe?(X=fl,G.appearStatus=ml):X=gl:X=H.unmountOnExit||H.mountOnEnter?hl:fl,G.state={status:X},G.nextCallback=null,G}Ss(n,W),n.getDerivedStateFromProps=function(W,H){return W.in&&H.status===hl?{status:fl}:null};var H=n.prototype;return H.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},H.componentDidUpdate=function(W){var H=null;if(W!==this.props){var U=this.state.status;this.props.in?U!==ml&&U!==gl&&(H=ml):U!==ml&&U!==gl||(H=yl)}this.updateStatus(!1,H)},H.componentWillUnmount=function(){this.cancelNextCallback()},H.getTimeouts=function(){var W,H,U,G=this.props.timeout;return W=H=U=G,null!=G&&"number"!=typeof G&&(W=G.exit,H=G.enter,U=void 0!==G.appear?G.appear:H),{exit:W,enter:H,appear:U}},H.updateStatus=function(W,H){void 0===W&&(W=!1),null!==H?(this.cancelNextCallback(),H===ml?((this.props.unmountOnExit||this.props.mountOnEnter)&&(this.props.nodeRef?this.props.nodeRef.current:oe.findDOMNode(this)),this.performEnter(W)):this.performExit()):this.props.unmountOnExit&&this.state.status===fl&&this.setState({status:hl})},H.performEnter=function(W){var H=this,U=this.props.enter,G=this.context?this.context.isMounting:W,X=this.props.nodeRef?[G]:[oe.findDOMNode(this),G],ie=X[0],ae=X[1],le=this.getTimeouts(),ce=G?le.appear:le.enter;W||U?(this.props.onEnter(ie,ae),this.safeSetState({status:ml},function(){H.props.onEntering(ie,ae),H.onTransitionEnd(ce,function(){H.safeSetState({status:gl},function(){H.props.onEntered(ie,ae)})})})):this.safeSetState({status:gl},function(){H.props.onEntered(ie)})},H.performExit=function(){var W=this,H=this.props.exit,U=this.getTimeouts(),G=this.props.nodeRef?void 0:oe.findDOMNode(this);H?(this.props.onExit(G),this.safeSetState({status:yl},function(){W.props.onExiting(G),W.onTransitionEnd(U.exit,function(){W.safeSetState({status:fl},function(){W.props.onExited(G)})})})):this.safeSetState({status:fl},function(){W.props.onExited(G)})},H.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},H.safeSetState=function(W,H){H=this.setNextCallback(H),this.setState(W,H)},H.setNextCallback=function(W){var H=this,U=!0;return this.nextCallback=function(G){U&&(U=!1,H.nextCallback=null,W(G))},this.nextCallback.cancel=function(){U=!1},this.nextCallback},H.onTransitionEnd=function(W,H){this.setNextCallback(H);var U=this.props.nodeRef?this.props.nodeRef.current:oe.findDOMNode(this),G=null==W&&!this.props.addEndListener;if(U&&!G){if(this.props.addEndListener){var X=this.props.nodeRef?[this.nextCallback]:[U,this.nextCallback],ie=X[0],ae=X[1];this.props.addEndListener(ie,ae)}null!=W&&setTimeout(this.nextCallback,W)}else setTimeout(this.nextCallback,0)},H.render=function(){var W=this.state.status;if(W===hl)return null;var H=this.props,U=H.children,G=a(H,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return X.createElement(pl.Provider,{value:null},"function"==typeof U?U(W,G):X.cloneElement(X.Children.only(U),G))},n}(X.Component);function Ns(){}function Ps(W,H){var U=Object.create(null);return W&&X.Children.map(W,function(W){return W}).forEach(function(W){U[W.key]=function(W){return H&&X.isValidElement(W)?H(W):W}(W)}),U}function js(W,H,U){return null!=U[H]?U[H]:W.props[H]}function As(W,H,U){var G=Ps(W.children),oe=function(W,H){function r(U){return U in H?H[U]:W[U]}W=W||{},H=H||{};var U,G=Object.create(null),X=[];for(var oe in W)oe in H?X.length&&(G[oe]=X,X=[]):X.push(oe);var ie={};for(var ae in H){if(G[ae])for(U=0;U<G[ae].length;U++){var le=G[ae][U];ie[G[ae][U]]=r(le)}ie[ae]=r(ae)}for(U=0;U<X.length;U++)ie[X[U]]=r(X[U]);return ie}(H,G);return Object.keys(oe).forEach(function(ie){var ae=oe[ie];if(X.isValidElement(ae)){var le=ie in H,ce=ie in G,ue=H[ie],de=X.isValidElement(ue)&&!ue.props.in;!ce||le&&!de?ce||!le||de?ce&&le&&X.isValidElement(ue)&&(oe[ie]=X.cloneElement(ae,{onExited:U.bind(null,ae),in:ue.props.in,exit:js(ae,"exit",W),enter:js(ae,"enter",W)})):oe[ie]=X.cloneElement(ae,{in:!1}):oe[ie]=X.cloneElement(ae,{onExited:U.bind(null,ae),in:!0,exit:js(ae,"exit",W),enter:js(ae,"enter",W)})}}),oe}wl.contextType=pl,wl.propTypes={},wl.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ns,onEntering:Ns,onEntered:Ns,onExit:Ns,onExiting:Ns,onExited:Ns},wl.UNMOUNTED=hl,wl.EXITED=fl,wl.ENTERING=ml,wl.ENTERED=gl,wl.EXITING=yl;var Sl=Object.values||function(W){return Object.keys(W).map(function(H){return W[H]})},Cl=function(W){function r(H,U){var G,X=(G=W.call(this,H,U)||this).handleExited.bind(function(W){if(void 0===W)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W}(G));return G.state={contextValue:{isMounting:!0},handleExited:X,firstRender:!0},G}Ss(r,W);var H=r.prototype;return H.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},H.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(W,H){var U,G,oe=H.children,ie=H.handleExited;return{children:H.firstRender?(U=W,G=ie,Ps(U.children,function(W){return X.cloneElement(W,{onExited:G.bind(null,W),in:!0,appear:js(W,"appear",U),enter:js(W,"enter",U),exit:js(W,"exit",U)})})):As(W,oe,ie),firstRender:!1}},H.handleExited=function(W,H){var U=Ps(this.props.children);W.key in U||(W.props.onExited&&W.props.onExited(H),this.mounted&&this.setState(function(H){var U=s({},H.children);return delete U[W.key],{children:U}}))},H.render=function(){var W=this.props,H=W.component,U=W.childFactory,G=a(W,["component","childFactory"]),oe=this.state.contextValue,ie=Sl(this.state.children).map(U);return delete G.appear,delete G.enter,delete G.exit,null===H?X.createElement(pl.Provider,{value:oe},ie):X.createElement(pl.Provider,{value:oe},X.createElement(H,G,ie))},r}(X.Component);Cl.propTypes={},Cl.defaultProps={component:"div",childFactory:function(W){return W}};const El=Ei("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ol=["center","classes","className"];let Ml,Rl,Il,Tl,Ws=W=>W;const Pl=Ot(Ml||(Ml=Ws` | |
| 3 | 3 | 0% { |
| 4 | 4 | transform: scale(0); |
| 5 | 5 | opacity: 0.1; |
| 6 | 6 | } |
| @@ -8,9 +8,9 @@ | ||
| 8 | 8 | 100% { |
| 9 | 9 | transform: scale(1); |
| 10 | 10 | opacity: 0.3; |
| 11 | 11 | } |
| 12 | -`)),ol=Ot(Ka||(Ka=kl` | |
| 12 | +`)),Al=Ot(Rl||(Rl=Ws` | |
| 13 | 13 | 0% { |
| 14 | 14 | opacity: 1; |
| 15 | 15 | } |
| 16 | 16 | |
| @@ -16,9 +16,9 @@ | ||
| 16 | 16 | |
| 17 | 17 | 100% { |
| 18 | 18 | opacity: 0; |
| 19 | 19 | } |
| 20 | -`)),il=Ot(tl||(tl=kl` | |
| 20 | +`)),jl=Ot(Il||(Il=Ws` | |
| 21 | 21 | 0% { |
| 22 | 22 | transform: scale(1); |
| 23 | 23 | } |
| 24 | 24 | |
| @@ -28,9 +28,9 @@ | ||
| 28 | 28 | |
| 29 | 29 | 100% { |
| 30 | 30 | transform: scale(1); |
| 31 | 31 | } |
| 32 | -`)),sl=Ti("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),al=Ti(function vl(B){const{className:H,classes:W,pulsate:Y=!1,rippleX:ie,rippleY:ue,rippleSize:de,in:pe,onExited:fe,timeout:ke}=B,[Je,rt]=ce.useState(!1),st=V(H,W.ripple,W.rippleVisible,Y&&W.ripplePulsate),at={width:de,height:de,top:-de/2+ue,left:-de/2+ie},lt=V(W.child,Je&&W.childLeaving,Y&&W.childPulsate);return pe||Je||rt(!0),ce.useEffect(()=>{if(!pe&&null!=fe){const B=setTimeout(fe,ke);return()=>{clearTimeout(B)}}},[fe,pe,ke]),K.jsx("span",{className:st,style:at,children:K.jsx("span",{className:lt})})},{name:"MuiTouchRipple",slot:"Ripple"})(rl||(rl=kl` | |
| 32 | +`)),Nl=os("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Ll=os(function Ds(W){const{className:H,classes:U,pulsate:X=!1,rippleX:oe,rippleY:ae,rippleSize:le,in:ce,onExited:ue,timeout:de}=W,[pe,fe]=ie.useState(!1),ke=V(H,U.ripple,U.rippleVisible,X&&U.ripplePulsate),Qe={width:le,height:le,top:-le/2+ae,left:-le/2+oe},tt=V(U.child,pe&&U.childLeaving,X&&U.childPulsate);return ce||pe||fe(!0),ie.useEffect(()=>{if(!ce&&null!=ue){const W=setTimeout(ue,de);return()=>{clearTimeout(W)}}},[ue,ce,de]),G.jsx("span",{className:ke,style:Qe,children:G.jsx("span",{className:tt})})},{name:"MuiTouchRipple",slot:"Ripple"})(Tl||(Tl=Ws` | |
| 33 | 33 | opacity: 0; |
| 34 | 34 | position: absolute; |
| 35 | 35 | |
| 36 | 36 | &.${0} { |
| @@ -71,9 +71,9 @@ | ||
| 71 | 71 | animation-timing-function: ${0}; |
| 72 | 72 | animation-iteration-count: infinite; |
| 73 | 73 | animation-delay: 200ms; |
| 74 | 74 | } |
| 75 | -`),Va.rippleVisible,nl,550,({theme:B})=>B.transitions.easing.easeInOut,Va.ripplePulsate,({theme:B})=>B.transitions.duration.shorter,Va.child,Va.childLeaving,ol,550,({theme:B})=>B.transitions.easing.easeInOut,Va.childPulsate,il,({theme:B})=>B.transitions.easing.easeInOut),ll=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiTouchRipple"}),{center:Y=!1,classes:ie={},className:ue}=W,de=s(W,Wa),[pe,fe]=ce.useState([]),ke=ce.useRef(0),Je=ce.useRef(null);ce.useEffect(()=>{Je.current&&(Je.current(),Je.current=null)},[pe]);const rt=ce.useRef(!1),st=qa(),at=ce.useRef(null),lt=ce.useRef(null),pt=ce.useCallback(B=>{const{pulsate:H,rippleX:W,rippleY:Y,rippleSize:ce,cb:ue}=B;fe(B=>[...B,K.jsx(al,{classes:{ripple:V(ie.ripple,Va.ripple),rippleVisible:V(ie.rippleVisible,Va.rippleVisible),ripplePulsate:V(ie.ripplePulsate,Va.ripplePulsate),child:V(ie.child,Va.child),childLeaving:V(ie.childLeaving,Va.childLeaving),childPulsate:V(ie.childPulsate,Va.childPulsate)},timeout:550,pulsate:H,rippleX:W,rippleY:Y,rippleSize:ce},ke.current)]),ke.current+=1,Je.current=ue},[ie]),ht=ce.useCallback((B={},H={},W=()=>{})=>{const{pulsate:K=!1,center:ie=Y||H.pulsate,fakeElement:ce=!1}=H;if("mousedown"===(null==B?void 0:B.type)&&rt.current)return void(rt.current=!1);"touchstart"===(null==B?void 0:B.type)&&(rt.current=!0);const ue=ce?null:lt.current,de=ue?ue.getBoundingClientRect():{width:0,height:0,left:0,top:0};let pe,fe,ke;if(ie||void 0===B||0===B.clientX&&0===B.clientY||!B.clientX&&!B.touches)pe=Math.round(de.width/2),fe=Math.round(de.height/2);else{const{clientX:H,clientY:W}=B.touches&&B.touches.length>0?B.touches[0]:B;pe=Math.round(H-de.left),fe=Math.round(W-de.top)}if(ie)ke=Math.sqrt((2*de.width**2+de.height**2)/3),ke%2==0&&(ke+=1);else{const B=2*Math.max(Math.abs((ue?ue.clientWidth:0)-pe),pe)+2,H=2*Math.max(Math.abs((ue?ue.clientHeight:0)-fe),fe)+2;ke=Math.sqrt(B**2+H**2)}null!=B&&B.touches?null===at.current&&(at.current=()=>{pt({pulsate:K,rippleX:pe,rippleY:fe,rippleSize:ke,cb:W})},st.start(80,()=>{at.current&&(at.current(),at.current=null)})):pt({pulsate:K,rippleX:pe,rippleY:fe,rippleSize:ke,cb:W})},[Y,pt,st]),mt=ce.useCallback(()=>{ht({},{pulsate:!0})},[ht]),vt=ce.useCallback((B,H)=>{if(st.clear(),"touchend"===(null==B?void 0:B.type)&&at.current)return at.current(),at.current=null,void st.start(0,()=>{vt(B,H)});at.current=null,fe(B=>B.length>0?B.slice(1):B),Je.current=H},[st]);return ce.useImperativeHandle(H,()=>({pulsate:mt,start:ht,stop:vt}),[mt,ht,vt]),K.jsx(sl,a({className:V(Va.root,ie.root,ue),ref:lt},de,{children:K.jsx(Ha,{component:null,exit:!0,children:pe})}))}),ul=ll;function Al(B){return Mo("MuiButtonBase",B)}const hl=ta("MuiButtonBase",["root","disabled","focusVisible"]),ml=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],gl=Ti("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(B,H)=>H.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${hl.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),yl=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiButtonBase"}),{action:Y,centerRipple:ie=!1,children:ue,className:de,component:pe="button",disabled:fe=!1,disableRipple:ke=!1,disableTouchRipple:Je=!1,focusRipple:rt=!1,LinkComponent:st="a",onBlur:at,onClick:lt,onContextMenu:pt,onDragLeave:ht,onFocus:mt,onFocusVisible:vt,onKeyDown:yt,onKeyUp:bt,onMouseDown:wt,onMouseLeave:xt,onMouseUp:St,onTouchEnd:kt,onTouchMove:Et,onTouchStart:At,tabIndex:Pt=0,TouchRippleProps:Lt,touchRippleRef:jt,type:Ft}=W,Nt=s(W,ml),Dt=ce.useRef(null),$t=ce.useRef(null),zt=Fa($t,jt),{isFocusVisibleRef:Bt,onFocus:Vt,onBlur:Xt,ref:Jt}=function Ja(){const B=ce.useCallback(B=>{var H;null!=B&&((H=B.ownerDocument).addEventListener("keydown",Ya,!0),H.addEventListener("mousedown",Za,!0),H.addEventListener("pointerdown",Za,!0),H.addEventListener("touchstart",Za,!0),H.addEventListener("visibilitychange",Xa,!0))},[]),H=ce.useRef(!1);return{isFocusVisibleRef:H,onFocus:function(B){return!!function(B){const{target:H}=B;try{return H.matches(":focus-visible")}catch(B){}return ka||function(B){const{type:H,tagName:W}=B;return!("INPUT"!==W||!Ra[H]||B.readOnly)||"TEXTAREA"===W&&!B.readOnly||!!B.isContentEditable}(H)}(B)&&(H.current=!0,!0)},onBlur:function(){return!!H.current&&(Oa=!0,Ea.start(100,()=>{Oa=!1}),H.current=!1,!0)},ref:B}}(),[Qt,er]=ce.useState(!1);fe&&Qt&&er(!1),ce.useImperativeHandle(Y,()=>({focusVisible:()=>{er(!0),Dt.current.focus()}}),[]);const[tr,rr]=ce.useState(!1);ce.useEffect(()=>{rr(!0)},[]);const Er=tr&&!ke&&!fe;function Z(B,H,W=Je){return Ba(K=>(H&&H(K),!W&&$t.current&&$t.current[B](K),!0))}ce.useEffect(()=>{Qt&&rt&&!ke&&tr&&$t.current.pulsate()},[ke,rt,Qt,tr]);const Mr=Z("start",wt),Ar=Z("stop",pt),Fr=Z("stop",ht),Dr=Z("stop",St),Hr=Z("stop",B=>{Qt&&B.preventDefault(),xt&&xt(B)}),Vr=Z("start",At),qr=Z("stop",kt),Gr=Z("stop",Et),Xr=Z("stop",B=>{Xt(B),!1===Bt.current&&er(!1),at&&at(B)},!1),Kr=Ba(B=>{Dt.current||(Dt.current=B.currentTarget),Vt(B),!0===Bt.current&&(er(!0),vt&&vt(B)),mt&&mt(B)}),ae=()=>{const B=Dt.current;return pe&&"button"!==pe&&!("A"===B.tagName&&B.href)},Yr=ce.useRef(!1),Jr=Ba(B=>{rt&&!Yr.current&&Qt&&$t.current&&" "===B.key&&(Yr.current=!0,$t.current.stop(B,()=>{$t.current.start(B)})),B.target===B.currentTarget&&ae()&&" "===B.key&&B.preventDefault(),yt&&yt(B),B.target===B.currentTarget&&ae()&&"Enter"===B.key&&!fe&&(B.preventDefault(),lt&<(B))}),Qr=Ba(B=>{rt&&" "===B.key&&$t.current&&Qt&&!B.defaultPrevented&&(Yr.current=!1,$t.current.stop(B,()=>{$t.current.pulsate(B)})),bt&&bt(B),lt&&B.target===B.currentTarget&&ae()&&" "===B.key&&!B.defaultPrevented&<(B)});let en=pe;"button"===en&&(Nt.href||Nt.to)&&(en=st);const rn={};"button"===en?(rn.type=void 0===Ft?"button":Ft,rn.disabled=fe):(Nt.href||Nt.to||(rn.role="button"),fe&&(rn["aria-disabled"]=fe));const nn=Fa(H,Jt,Dt),cn=a({},W,{centerRipple:ie,component:pe,disabled:fe,disableRipple:ke,disableTouchRipple:Je,focusRipple:rt,tabIndex:Pt,focusVisible:Qt}),un=(B=>{const{disabled:H,focusVisible:W,focusVisibleClassName:K,classes:Y}=B,ie=U({root:["root",H&&"disabled",W&&"focusVisible"]},Al,Y);return W&&K&&(ie.root+=` ${K}`),ie})(cn);return K.jsxs(gl,a({as:en,className:V(un.root,de),ownerState:cn,onBlur:Xr,onClick:lt,onContextMenu:Ar,onFocus:Kr,onKeyDown:Jr,onKeyUp:Qr,onMouseDown:Mr,onMouseLeave:Hr,onMouseUp:Dr,onDragLeave:Fr,onTouchEnd:qr,onTouchMove:Gr,onTouchStart:Vr,ref:nn,tabIndex:fe?-1:Pt,type:Ft},rn,Nt,{children:[ue,Er?K.jsx(ul,a({ref:zt,center:ie},Lt)):null]}))}),bl=yl;function Fl(B){return Mo("MuiIconButton",B)}const wl=ta("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),_l=["edge","children","className","color","disabled","disableFocusRipple","size"],xl=Ti(bl,{name:"MuiIconButton",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,"default"!==W.color&&H[`color${Zi(W.color)}`],W.edge&&H[`edge${Zi(W.edge)}`],H[`size${Zi(W.size)}`]]}})(({theme:B,ownerState:H})=>a({textAlign:"center",flex:"0 0 auto",fontSize:B.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(B.vars||B).palette.action.active,transition:B.transitions.create("background-color",{duration:B.transitions.duration.shortest})},!H.disableRipple&&{"&:hover":{backgroundColor:B.vars?`rgba(${B.vars.palette.action.activeChannel} / ${B.vars.palette.action.hoverOpacity})`:li.alpha(B.palette.action.active,B.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===H.edge&&{marginLeft:"small"===H.size?-3:-12},"end"===H.edge&&{marginRight:"small"===H.size?-3:-12}),({theme:B,ownerState:H})=>{var W;const K=null==(W=(B.vars||B).palette)?void 0:W[H.color];return a({},"inherit"===H.color&&{color:"inherit"},"inherit"!==H.color&&"default"!==H.color&&a({color:null==K?void 0:K.main},!H.disableRipple&&{"&:hover":a({},K&&{backgroundColor:B.vars?`rgba(${K.mainChannel} / ${B.vars.palette.action.hoverOpacity})`:li.alpha(K.main,B.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===H.size&&{padding:5,fontSize:B.typography.pxToRem(18)},"large"===H.size&&{padding:12,fontSize:B.typography.pxToRem(28)},{[`&.${wl.disabled}`]:{backgroundColor:"transparent",color:(B.vars||B).palette.action.disabled}})}),Sl=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiIconButton"}),{edge:Y=!1,children:ie,className:ce,color:ue="default",disabled:de=!1,disableFocusRipple:pe=!1,size:fe="medium"}=W,ke=s(W,_l),Je=a({},W,{edge:Y,color:ue,disabled:de,disableFocusRipple:pe,size:fe}),rt=(B=>{const{classes:H,disabled:W,color:K,edge:Y,size:ie}=B;return U({root:["root",W&&"disabled","default"!==K&&`color${Zi(K)}`,Y&&`edge${Zi(Y)}`,`size${Zi(ie)}`]},Fl,H)})(Je);return K.jsx(xl,a({className:V(rt.root,ce),centerRipple:!0,focusRipple:!pe,disabled:de,ref:H},ke,{ownerState:Je,children:ie}))}),Cl=Sl,Ol="&:hover,&:focus,&:active,&:visited",El="__unstableAccessibleMain",Rl="__unstableAccessibleLight",Ml="0.75rem",Il="1.25em",Tl="1.25em",Pl="1.25em",Ll="eui-rtl",jl=[0,1,1,1,1],Nl=["theme"];function ec(B){let{theme:H}=B,W=s(B,Nl);const Y=H[Ii];return K.jsx(Gs,a({},W,{themeId:Y?Ii:void 0,theme:Y||H}))}const tc=(B,H)=>{const W={},K={};return H.forEach(H=>{K[H]=`Mui${B}-${H}`,W[H]={slot:H,name:`Mui${B}`}}),{slots:W,classNames:K}},rc=(B,...H)=>{const W={...B};return W.shape={borderRadius:4,__unstableBorderRadiusMultipliers:jl,...W.shape},Di(W,...H)},nc=B=>function(B){return"ownerState"!==B&&"theme"!==B&&"sx"!==B&&"as"!==B}(B)&&"classes"!==B,Dl=rc({}),$l=ti({themeId:Ii,defaultTheme:Dl,rootShouldForwardProp:nc}),sc=(B,H)=>{if(!H?.shouldForwardProp)return $l(B,H);const W=H.shouldForwardProp,K={...H};return K.shouldForwardProp=B=>nc(B)&&W(B),$l(B,K)},zl="#FFFFFF",Bl="#f1f3f3",Ul="#d5d8dc",Hl="#babfc5",Vl="#9da5ae",ql="#818a96",Wl="#69727d",Gl="#515962",Xl="#3f444b",Zl="#1f2124",Kl="#0c0d0e",Yl="#f3bafd",Jl="#f0abfc",Ql="#eb8efb",oc="#ef4444",ic="#dc2626",ac="#b91c1c",lc="#b15211",cc="#3b82f6",uc="#2563eb",dc="#1d4ed8",pc="#10b981",hc="#0a875a",fc="#047857",mc="#99f6e4",gc="#5eead4",vc="#2adfcd",yc="#b51243",bc="#93003f",wc="#7e013b",_c={styleOverrides:{listbox:({theme:B})=>({"&.MuiAutocomplete-listboxSizeTiny":{fontSize:"0.875rem"},'&.MuiAutocomplete-listbox .MuiAutocomplete-option[aria-selected="true"]':{"&,&.Mui-Mui-focused":{backgroundColor:B.palette.action.selected}}})},variants:[{props:{size:"tiny"},style:()=>({"& .MuiOutlinedInput-root":{padding:"2.5px 0","& .MuiAutocomplete-input":{lineHeight:Tl,height:Tl,padding:"4px 2px 4px 8px"}},"& .MuiFilledInput-root":{padding:0,"& .MuiAutocomplete-input":{padding:"15px 8px 6px"}},"& .MuiInput-root":{paddingBottom:0,"& .MuiAutocomplete-input":{padding:"2px 0"}},"& .MuiAutocomplete-popupIndicator":{fontSize:"1.5em"},"& .MuiAutocomplete-clearIndicator":{fontSize:"1.2em"},"& .MuiAutocomplete-popupIndicator .MuiSvgIcon-root, & .MuiAutocomplete-clearIndicator .MuiSvgIcon-root":{fontSize:"1em"},"& .MuiInputAdornment-root .MuiIconButton-root":{padding:"2px"},"& .MuiAutocomplete-tagSizeTiny":{fontSize:Ml},"&.MuiAutocomplete-hasPopupIcon.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root .MuiAutocomplete-input":{paddingRight:"48px"}})},{props:{size:"tiny",multiple:!0},style:()=>({"& .MuiAutocomplete-tag":{margin:"1.5px 3px"}})}]},xc=["primary","secondary","error","warning","info","success","accent","global","promotion","decorative","neutral"],Sc=["primary","global"],kc=xc.filter(B=>!Sc.includes(B)),Cc={styleOverrides:{root:()=>({boxShadow:"none","&:hover":{boxShadow:"none"}})},variants:xc.map(B=>({props:{variant:"contained",color:B},style:({theme:H})=>({"& .MuiButtonGroup-grouped:not(:last-of-type), & .MuiButtonGroup-grouped:not(:last-of-type).Mui-disabled":{borderRight:0},"& .MuiButtonGroup-grouped:not(:last-child), & > *:not(:last-child) .MuiButtonGroup-grouped":{borderRight:`1px solid ${H.palette[B].dark}`},"& .MuiButtonGroup-grouped:not(:last-child).Mui-disabled, & > *:not(:last-child) .MuiButtonGroup-grouped.Mui-disabled":{borderRight:`1px solid ${H.palette.action.disabled}`}})}))},Oc={variants:[{props:{color:"primary",variant:"outlined"},style:({theme:B})=>({color:B.palette.primary.__unstableAccessibleMain,borderColor:B.palette.primary.__unstableAccessibleMain,"& .MuiChip-deleteIcon":{color:B.palette.primary.__unstableAccessibleLight,"&:hover":{color:B.palette.primary.__unstableAccessibleMain}}})},{props:{color:"global",variant:"outlined"},style:({theme:B})=>({color:B.palette.global.__unstableAccessibleMain,borderColor:B.palette.global.__unstableAccessibleMain,"& .MuiChip-deleteIcon":{color:B.palette.global.__unstableAccessibleLight,"&:hover":{color:B.palette.global.__unstableAccessibleMain}}})},{props:{color:"default",variant:"filled"},style:({theme:B})=>({backgroundColor:"light"===B.palette.mode?"#EBEBEB":"#434547","&.Mui-focusVisible, &.MuiChip-clickable:hover":{backgroundColor:B.palette.action.focus},"& .MuiChip-icon":{color:"inherit"}})},...Uc(["default"],function(B){return{backgroundColor:{light:"#EBEBEB",dark:"#434547"},backgroundColorHover:{light:B.palette.action.focus,dark:B.palette.action.focus},color:{light:B.palette.text.primary,dark:B.palette.text.primary},deleteIconOpacity:.26,deleteIconOpacityHover:.7}}),...Uc(["primary","global"],function(B,H){const W=B.palette[H];return{backgroundColor:{light:Ms(W.light,.8),dark:Is(W.__unstableAccessibleMain,.8)},backgroundColorHover:{light:Ms(W.light,.6),dark:Is(W.__unstableAccessibleMain,.9)},color:{light:Is(W.__unstableAccessibleMain,.3),dark:Ms(W.light,.3)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),...Uc(kc,function(B,H){return{backgroundColor:{light:Ms(B.palette[H].light,.9),dark:Is(B.palette[H].light,.8)},backgroundColorHover:{light:Ms(B.palette[H].light,.8),dark:Is(B.palette[H].light,.9)},color:{light:Is(B.palette[H].main,.3),dark:Ms(B.palette[H].main,.5)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),{props:{size:"tiny"},style:()=>({fontSize:Ml,height:"20px",paddingInline:"5px","& .MuiChip-avatar":{width:"1rem",height:"1rem",fontSize:"9px",marginLeft:0,marginRight:"1px"},"& .MuiChip-icon":{fontSize:"1rem",marginLeft:0,marginRight:0},"& .MuiChip-label":{paddingRight:"3px",paddingLeft:"3px"},"& .MuiChip-deleteIcon":{fontSize:"0.875rem",marginLeft:0,marginRight:0}})},{props:{size:"small"},style:()=>({height:"24px",paddingInline:"5px","& .MuiChip-avatar":{width:"1.125rem",height:"1.125rem",fontSize:"9px",marginLeft:0,marginRight:"2px"},"& .MuiChip-icon":{fontSize:"1.125rem",marginLeft:0,marginRight:0},"& .MuiChip-label":{paddingRight:"3px",paddingLeft:"3px"},"& .MuiChip-deleteIcon":{fontSize:"1rem",marginLeft:0,marginRight:0}})},{props:{size:"medium"},style:()=>({height:"32px",paddingInline:"6px","& .MuiChip-avatar":{width:"1.25rem",height:"1.25rem",fontSize:"0.75rem",marginLeft:0,marginRight:"2px"},"& .MuiChip-icon":{fontSize:"1.25rem",marginLeft:0,marginRight:0},"& .MuiChip-label":{paddingRight:"4px",paddingLeft:"4px"},"& .MuiChip-deleteIcon":{fontSize:"1.125rem",marginLeft:0,marginRight:0}})}]};function Uc(B,H){return B.map(B=>({props:{color:B,variant:"standard"},style:({theme:W})=>{const K=H(W,B),{mode:Y}=W.palette;return{backgroundColor:K.backgroundColor[Y],color:K.color[Y],"&.Mui-focusVisible, &.MuiChip-clickable:hover":{backgroundColor:K.backgroundColorHover[Y]},"& .MuiChip-icon":{color:"inherit"},"& .MuiChip-deleteIcon":{color:K.color[Y],opacity:K.deleteIconOpacity,"&:hover,&:focus":{color:K.color[Y],opacity:K.deleteIconOpacityHover}}}}}))}const Ec="1rem",Rc="0.75rem";var Mc={MuiAccordion:{styleOverrides:{root:({theme:B})=>({backgroundColor:B.palette.background.default,"&:before":{content:"none"},"&.Mui-expanded":{margin:0},"&.MuiAccordion-gutters + .MuiAccordion-root.MuiAccordion-gutters":{marginTop:B.spacing(1),marginBottom:B.spacing(0)},"&:not(.MuiAccordion-gutters) + .MuiAccordion-root:not(.MuiAccordion-gutters)":{borderTop:0},"&.Mui-disabled":{backgroundColor:B.palette.background.default}})},variants:[{props:{square:!1},style:({theme:B})=>{const H=B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[3];return{"&:first-of-type":{borderTopLeftRadius:H,borderTopRightRadius:H},"&:last-of-type":{borderBottomLeftRadius:H,borderBottomRightRadius:H}}}}]},MuiAccordionActions:{styleOverrides:{root:({theme:B})=>({padding:B.spacing(2)})}},MuiAccordionSummary:{styleOverrides:{root:()=>({minHeight:"64px"}),content:({theme:B})=>({margin:B.spacing(1,0),"&.MuiAccordionSummary-content.Mui-expanded":{margin:B.spacing(1,0)}})}},MuiAccordionSummaryIcon:{styleOverrides:{root:({theme:B})=>({padding:B.spacing(1,0)})}},MuiAccordionSummaryText:{styleOverrides:{root:({theme:B})=>({marginTop:0,marginBottom:0,padding:B.spacing(1,0)})}},MuiAutocomplete:_c,MuiAvatar:{variants:[{props:{variant:"rounded"},style:({theme:B})=>({borderRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiButton:{styleOverrides:{root:({theme:B})=>({borderRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[2],boxShadow:"none",whiteSpace:"nowrap","&:hover":{boxShadow:"none"},"& .MuiSvgIcon-root":{fill:"currentColor"}})},variants:[{props:{color:"primary",variant:"outlined"},style:({theme:B})=>({color:B.palette.primary.__unstableAccessibleMain,borderColor:B.palette.primary.__unstableAccessibleMain,"&:hover":{borderColor:B.palette.primary.__unstableAccessibleMain}})},{props:{color:"primary",variant:"text"},style:({theme:B})=>({color:B.palette.primary.__unstableAccessibleMain})},{props:{color:"global",variant:"outlined"},style:({theme:B})=>({color:B.palette.global.__unstableAccessibleMain,borderColor:B.palette.global.__unstableAccessibleMain,"&:hover":{borderColor:B.palette.global.__unstableAccessibleMain}})},{props:{color:"global",variant:"text"},style:({theme:B})=>({color:B.palette.global.__unstableAccessibleMain})}]},MuiButtonBase:{styleOverrides:{root:()=>({"&.MuiButtonBase-root.Mui-focusVisible":{boxShadow:"0 0 0 1px inset"},".MuiCircularProgress-root":{fontSize:"inherit"}})}},MuiButtonGroup:Cc,MuiCard:{defaultProps:{},styleOverrides:{root:()=>({position:"relative"})}},MuiCardActions:{styleOverrides:{root:({theme:B})=>({justifyContent:"flex-end",padding:B.spacing(1.5,2)})}},MuiCardGroup:{styleOverrides:{root:()=>({"& .MuiCard-root.MuiPaper-outlined:not(:last-child)":{borderBottom:0},"& .MuiCard-root.MuiPaper-rounded":{"&:first-child:not(:last-child)":{borderBottomRightRadius:0,borderBottomLeftRadius:0},"&:not(:first-child):not(:last-child)":{borderRadius:0},"&:last-child:not(:first-child)":{borderTopRightRadius:0,borderTopLeftRadius:0}}})}},MuiCardHeader:{styleOverrides:{action:()=>({alignSelf:"center"})}},MuiChip:Oc,MuiCircularProgress:{styleOverrides:{root:({theme:B})=>({fontSize:B.spacing(5)})}},MuiDialog:{styleOverrides:{paper:({theme:B})=>({borderRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[4]})}},MuiDialogActions:{styleOverrides:{root:({theme:B})=>({padding:B.spacing(2,3)})}},MuiDialogContent:{styleOverrides:{dividers:()=>({"&:last-child":{borderBottom:"none"}})}},MuiFilledInput:{styleOverrides:{root:({theme:B})=>({borderTopLeftRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[2],borderTopRightRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{size:"tiny"},style:({theme:B})=>({fontSize:Ml,lineHeight:Pl,"& .MuiInputBase-input":{fontSize:Ml,lineHeight:Pl,height:Pl,padding:"15px 8px 6px"},"&.MuiInputBase-adornedStart":{paddingLeft:B.spacing(1)},"&.MuiInputBase-adornedEnd":{paddingRight:B.spacing(1)},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart:not(.MuiInputAdornment-hiddenLabel)":{marginTop:B.spacing(1)},"& .MuiInputAdornment-root:not(.MuiInputAdornment-positionEnd)":{marginRight:0},"& .MuiInputAdornment-root.MuiInputAdornment-positionEnd":{marginLeft:0}})},{props:{size:"tiny",multiline:!0},style:()=>({padding:0})}]},MuiFormHelperText:{styleOverrides:{root:({theme:B})=>({color:B.palette.text.tertiary,margin:B.spacing(.5,0,0)})}},MuiFormLabel:{variants:[{props:{size:"tiny"},style:()=>({fontSize:"0.75rem",lineHeight:"1.6",fontWeight:"400",letterSpacing:"0.19px"})},{props:{size:"small"},style:({theme:B})=>({...B.typography.body2})}]},MuiIconButton:{variants:[{props:{color:"primary"},style:({theme:B})=>({color:B.palette.primary.__unstableAccessibleMain})},{props:{color:"global"},style:({theme:B})=>({color:B.palette.global.__unstableAccessibleMain})},{props:{edge:"start",size:"small"},style:({theme:B})=>({marginLeft:B.spacing(-1.5)})},{props:{edge:"end",size:"small"},style:({theme:B})=>({marginRight:B.spacing(-1.5)})},{props:{edge:"start",size:"large"},style:({theme:B})=>({marginLeft:B.spacing(-2)})},{props:{edge:"end",size:"large"},style:({theme:B})=>({marginRight:B.spacing(-2)})},{props:{size:"tiny"},style:({theme:B})=>({padding:B.spacing(.75)})},{props:{size:"tiny",edge:"start"},style:({theme:B})=>({marginLeft:B.spacing(-1)})},{props:{size:"tiny",edge:"end"},style:({theme:B})=>({marginRight:B.spacing(-1)})}]},MuiInput:{variants:[{props:{size:"tiny"},style:({theme:B})=>({fontSize:Ml,lineHeight:Il,"&.MuiInput-root":{marginTop:B.spacing(1.5)},"& .MuiInputBase-input":{fontSize:Ml,lineHeight:Il,height:Il,padding:"6.5px 0"}})}]},MuiInputAdornment:{styleOverrides:{root:({theme:B})=>({"&.MuiInputAdornment-sizeTiny":{"&.MuiInputAdornment-positionStart":{marginRight:B.spacing(.5)},"&.MuiInputAdornment-positionEnd":{marginLeft:B.spacing(.5)}}})}},MuiInputBase:{styleOverrides:{input:()=>({".MuiInputBase-root.Mui-disabled &":{backgroundColor:"initial"}})}},MuiInputLabel:{variants:[{props:{size:"tiny",shrink:!1},style:()=>({"&.MuiInputLabel-outlined":{transform:"translate(7.5px, 5.5px) scale(1)"},"&.MuiInputLabel-standard":{transform:"translate(0px, 18px) scale(1)"},"&.MuiInputLabel-filled":{transform:"translate(8px, 11px) scale(1)"}})},{props:{size:"tiny",shrink:!0},style:()=>({"&.MuiInputLabel-filled":{transform:"translate(8px, 2px) scale(0.75)"}})}]},MuiListItem:{styleOverrides:{root:({theme:B})=>({color:B.palette.text.primary,"a&":{[Ol]:{color:B.palette.text.primary}}})}},MuiListItemButton:{styleOverrides:{root:({theme:B})=>({color:B.palette.text.primary,"&.Mui-selected":{backgroundColor:B.palette.action.selected,"&:hover":{backgroundColor:B.palette.action.selected},"&:focus":{backgroundColor:B.palette.action.focus}},"a&":{[Ol]:{color:B.palette.text.primary}}})}},MuiListItemIcon:{styleOverrides:{root:({theme:B})=>({minWidth:"initial","&:not(:last-child)":{marginRight:B.spacing(1)}})}},MuiListItemText:{styleOverrides:{root:({theme:B})=>({color:B.palette.text.primary})}},MuiListSubheader:{styleOverrides:{root:({theme:B})=>({backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12))",lineHeight:"36px",color:B.palette.text.secondary})}},MuiMenuItem:{styleOverrides:{root:({theme:B})=>({"&.Mui-selected":{backgroundColor:B.palette.action.selected,"&:hover":{backgroundColor:B.palette.action.selected},"&:focus":{backgroundColor:B.palette.action.focus}},"a&":{[Ol]:{color:B.palette.text.primary}},"& .MuiListItemIcon-root":{minWidth:"initial"}})}},MuiOutlinedInput:{styleOverrides:{root:({theme:B})=>({borderRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[2],"&.Mui-focused .MuiInputAdornment-root .MuiOutlinedInput-notchedOutline":{borderColor:"dark"===B.palette.mode?"rgba(255, 255, 255, 0.23)":"rgba(0, 0, 0, 0.23)",borderWidth:"1px"}})},variants:[{props:{size:"tiny"},style:({theme:B})=>({fontSize:Ml,lineHeight:Tl,"&.MuiInputBase-adornedStart":{paddingLeft:B.spacing(1)},"&.MuiInputBase-adornedEnd":{paddingRight:B.spacing(1)},"& .MuiInputBase-input":{fontSize:Ml,lineHeight:Tl,height:Tl,padding:"6.5px 8px"},"& .MuiInputAdornment-root + .MuiInputBase-input":{paddingLeft:0},"&:has(.MuiInputBase-input + .MuiInputAdornment-root) .MuiInputBase-input":{paddingRight:0}})},{props:{size:"tiny",multiline:!0},style:()=>({padding:0})},{props:B=>!!B.endAdornment&&"tiny"===B.size,style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{"&.MuiSelect-standard":{paddingTop:0,paddingBottom:0},"&.MuiSelect-outlined,&.MuiSelect-filled":{paddingTop:"4px",paddingBottom:"4px"}}})},{props:B=>!!B.endAdornment&&"small"===B.size,style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{paddingTop:"2.5px",paddingBottom:"2.5px"}})},{props:B=>!(!B.endAdornment||"medium"!==B.size&&B.size),style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{paddingTop:"8.5px",paddingBottom:"8.5px"}})}]},MuiPagination:{variants:[{props:{shape:"rounded"},style:({theme:B})=>({borderRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiPaper:{variants:[{props:{square:!1},style:({theme:B})=>({borderRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[3]})}]},MuiSelect:{styleOverrides:{nativeInput:()=>({".MuiInputBase-root.Mui-disabled &":{backgroundColor:"initial",opacity:0}})},variants:[{props:{size:"tiny"},style:()=>({"& .MuiSelect-icon":{fontSize:Ec,right:"9px"},"& .MuiSelect-select.MuiSelect-outlined, & .MuiSelect-select.MuiSelect-filled":{minHeight:Tl},"& .MuiSelect-select.MuiSelect-standard":{lineHeight:Il,minHeight:Il}})}]},MuiSkeleton:{variants:[{props:{variant:"rounded"},style:({theme:B})=>({borderRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiSnackbarContent:{defaultProps:{},styleOverrides:{root:({theme:B})=>({borderRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[2]})}},MuiStepConnector:{styleOverrides:{root:({theme:B})=>({"& .MuiStepConnector-line":{borderColor:B.palette.divider}})}},MuiStepIcon:{styleOverrides:{root:({theme:B})=>({"&:not(.Mui-active) .MuiStepIcon-text":{fill:B.palette.common.white}})}},MuiStepLabel:{styleOverrides:{root:()=>({alignItems:"flex-start"})}},MuiStepper:{styleOverrides:{root:()=>({"& .MuiStepLabel-root":{alignItems:"center"}})}},MuiSvgIcon:{variants:[{props:{fontSize:"tiny"},style:()=>({fontSize:"1rem"})}]},MuiTab:{styleOverrides:{root:{"&:not(.Mui-selected)":{fontWeight:400},"&.Mui-selected":{fontWeight:700}}},variants:[{props:{size:"small"},style:({theme:B})=>({fontSize:Rc,lineHeight:1.6,padding:B.spacing(.75,1),minWidth:72,"&:not(.MuiTab-labelIcon)":{minHeight:32},"&.MuiTab-labelIcon":{minHeight:32}})}]},MuiTableRow:{styleOverrides:{root:({theme:B})=>({"&.Mui-selected":{backgroundColor:B.palette.action.selected,"&:hover":{backgroundColor:B.palette.action.selected}}})},variants:[{props:B=>"onClick"in B,style:()=>({cursor:"pointer"})}]},MuiTabPanel:{styleOverrides:{root:({theme:B})=>({color:B.palette.text.primary})}},MuiTabs:{styleOverrides:{indicator:{height:"3px"}},variants:[{props:{size:"small"},style:({theme:B})=>({minHeight:32,"& .MuiTab-root":{fontSize:Rc,lineHeight:1.6,padding:B.spacing(.75,1),minWidth:72,"&:not(.MuiTab-labelIcon)":{minHeight:32},"&.MuiTab-labelIcon":{minHeight:32}}})}]},MuiTextField:{styleOverrides:{root:({theme:B})=>({borderRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[2],"& legend":{transition:"unset"}})},variants:[{props:{size:"tiny",select:!0},style:()=>({"& .MuiSelect-icon":{fontSize:Ec,right:"9px"},"& .MuiInputBase-root .MuiSelect-select":{minHeight:"auto"}})}]},MuiToggleButton:{styleOverrides:{root:({theme:B})=>({borderRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{color:"primary"},style:({theme:B})=>({"&.MuiToggleButton-root.Mui-selected":{color:B.palette.primary.__unstableAccessibleMain}})},{props:{color:"global"},style:({theme:B})=>({"&.MuiToggleButton-root.Mui-selected":{color:B.palette.global.__unstableAccessibleMain}})},{props:{size:"tiny"},style:({theme:B})=>({fontSize:Ml,lineHeight:1.3334,padding:B.spacing(.625)})}]},MuiTooltip:{styleOverrides:{arrow:({theme:B})=>({color:B.palette.grey[700]}),tooltip:({theme:B})=>({backgroundColor:B.palette.grey[700],borderRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[1]})}}};const Ic={components:Mc,shape:{borderRadius:4,__unstableBorderRadiusMultipliers:jl},typography:{display1:{fontSize:"0rem"},display2:{fontSize:"0rem"},display3:{fontSize:"0rem"},display4:{fontSize:"0rem"},display5:{fontSize:"0rem"},display6:{fontSize:"0rem"},button:{textTransform:"none"},h1:{fontWeight:700},h2:{fontWeight:700},h3:{fontSize:"2.75rem",fontWeight:700},h4:{fontSize:"2rem",fontWeight:700},h5:{fontWeight:700},subtitle1:{fontWeight:500,lineHeight:1.3},subtitle2:{lineHeight:1.3}},zIndex:{mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},Ac={...Ic,palette:{mode:"light",primary:{main:Jl,light:Yl,dark:Ql,contrastText:Kl,[El]:"#C00BB9",[Rl]:"#D355CE"},secondary:{main:Gl,light:Wl,dark:Xl,contrastText:zl},grey:{50:Bl,100:Ul,200:Hl,300:Vl,400:ql,500:Wl,600:Gl,700:Xl,800:Zl,900:Kl},text:{primary:Kl,secondary:Xl,tertiary:Wl,disabled:Vl},background:{paper:zl,default:zl},success:{main:hc,light:pc,dark:fc,contrastText:zl},error:{main:ic,light:oc,dark:ac,contrastText:zl},warning:{main:"#bb5b1d",light:"#d97706",dark:lc,contrastText:zl},info:{main:uc,light:cc,dark:dc,contrastText:zl},global:{main:gc,light:mc,dark:vc,contrastText:Kl,[El]:"#17929B",[Rl]:"#5DB3B9"},accent:{main:bc,light:yc,dark:wc,contrastText:zl},promotion:{main:bc,light:yc,dark:wc,contrastText:zl},decorative:{main:gc,light:mc,dark:vc,contrastText:Kl},neutral:{main:"#ffffff",light:"#ffffff",dark:"#ffffff",contrastText:"#ffffff"}}},Tc={...Ic,palette:{mode:"dark",primary:{main:Jl,light:Yl,dark:Ql,contrastText:Kl,[El]:"#C00BB9",[Rl]:"#D355CE"},secondary:{main:Vl,light:Hl,dark:ql,contrastText:Kl},grey:{50:Bl,100:Ul,200:Hl,300:Vl,400:ql,500:Wl,600:Gl,700:Xl,800:Zl,900:Kl},text:{primary:zl,secondary:Hl,tertiary:Vl,disabled:Gl},background:{paper:Kl,default:Zl},success:{main:hc,light:pc,dark:fc,contrastText:zl},error:{main:ic,light:oc,dark:ac,contrastText:zl},warning:{main:"#f59e0b",light:"#fbbf24",dark:lc,contrastText:"#000000"},info:{main:uc,light:cc,dark:dc,contrastText:zl},global:{main:gc,light:mc,dark:vc,contrastText:Kl,[El]:"#17929B",[Rl]:"#5DB3B9"},accent:{main:bc,light:yc,dark:wc,contrastText:zl},promotion:{main:bc,light:yc,dark:wc,contrastText:zl},decorative:{main:gc,light:mc,dark:vc,contrastText:Kl},neutral:{main:"#ffffff",light:"#ffffff",dark:"#ffffff",contrastText:"#ffffff"}}},Pc="#524CFF";var Lc={primary:{main:Pc,light:"#6B65FF",dark:"#4C43E5",contrastText:"#FFFFFF",[El]:"#524CFF",[Rl]:"#6B65FF"},action:{selected:Rs(Pc,.08)}};const jc=Zl,Fc=Xl;var Nc={primary:{main:jc,light:Fc,dark:Kl,contrastText:"#FFFFFF",[El]:jc,[Rl]:Fc},accent:{main:Jl,light:Yl,dark:Ql,contrastText:Kl}};const Dc=Bl,$c="#FFFFFF";var zc={primary:{main:Dc,light:$c,dark:Ul,contrastText:Kl,[El]:Dc,[Rl]:$c},accent:{main:Jl,light:Yl,dark:Ql,contrastText:Kl}};const Bc=Zl,Hc=Xl;var Vc={primary:{main:Bc,light:Hc,dark:Kl,contrastText:"#FFFFFF",[El]:Bc,[Rl]:Hc},accent:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},decorative:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},neutral:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"}};const qc=Bl,Wc="#FFFFFF";var Gc={primary:{main:qc,light:Wc,dark:Ul,contrastText:Kl,[El]:qc,[Rl]:Wc},accent:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},decorative:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},neutral:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"}};const Xc=Y.createContext(null),pu=({value:B,children:H})=>ce.createElement(Xc.Provider,{value:B},H),Zc={zIndex:Ic.zIndex},Kc=!0;function hu(B){return B?mu(B,{primary:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],secondary:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],success:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],info:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],warning:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],error:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],background:["default","paper","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],decorative:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],accent:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],neutral:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],text:["primary","secondary","tertiary","disabled"],action:["active","focus","hover","disabled","disabledBackground","selected","__unstableGradientAngle"],divider:Kc}):{}}function mu(B,H){if(!B||!H)return{};const W={};return Object.entries(H).forEach(([H,K])=>{if(B[H])if("boolean"!=typeof K){if(Array.isArray(K)){const Y=B[H];K.forEach(B=>{void 0!==Y?.[B]&&(W[H]={...W[H],[B]:Y[B]})})}}else W[H]=B[H]}),W}const Yc=new Map,Jc=_t(({colorScheme:B,palette:H,children:W,overrides:K,unstableThemeV0:ie},ce)=>{const ue=Y.useContext(Xc),de=ce.key===Ll,pe=B||ue?.colorScheme||"auto",fe=Cs("(prefers-color-scheme: dark)"),ke="auto"===pe&&fe||"dark"===pe,Je=function(B,H){if(!B)return H;if("function"!=typeof B)return console.error("overrides must be a function"),H;const W=B(structuredClone(H||Zc));return W&&"object"==typeof W?W:(console.error("overrides function must return an object"),H)}(K,ue?.overrides),rt=ie?.name||H||ue?.themeName,st=ie||ue?.customTheme;let at=st?((B,H=!1,W=!1)=>{if(!B.name)throw new Error("Custom theme must have a name");const K=`${B.name}-${H}-${W}`;if(Yc.has(K))return Yc.get(K);const Y={typography:{subtitle1:{fontWeight:500,lineHeight:1.3},subtitle2:{lineHeight:1.3}}};W&&(Y.direction="rtl");const ie=function(B,H){const W={components:Mc};return H&&B.palette?.dark?W.palette={...Tc.palette,...hu(B.palette.dark),mode:"dark"}:B.palette?.light&&(W.palette={...Ac.palette,...hu(B.palette.light)}),B.shadows&&(W.shadows=B.shadows),B.shape&&(W.shape=B.shape),B.typography&&(W.typography=function(B={}){return B?mu(B,{fontFamily:Kc,display1:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display2:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display3:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display4:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display5:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display6:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h1:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h2:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h3:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h4:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h5:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h6:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],subtitle1:["fontFamily"],subtitle2:["fontFamily"],body1:["fontFamily"],body2:["fontFamily"],caption:["fontFamily"],overline:["fontFamily"],button:["fontFamily","textTransform"]}):{}}(B.typography)),B.zIndex&&(W.zIndex=B.zIndex),W}(B,H),ce=rc(ie,Y);return Yc.set(K,ce),ce})(st,ke,de):(({palette:B="default",rtl:H=!1,isDarkMode:W=!1}={})=>{const K=`${B}-${W}-${H}`;if(Yc.has(K))return Yc.get(K);const Y=W?Tc:Ac,ie={};"marketing-suite"===B&&(ie.palette=Lc),"unstable"===B&&(ie.palette=W?zc:Nc,ie.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]}),"argon-beta"===B&&(ie.palette=W?Gc:Vc,ie.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]}),H&&(ie.direction="rtl");const ce=rc(Y,ie);return Yc.set(K,ce),ce})({rtl:de,isDarkMode:ke,palette:H||ue?.themeName});return Je&&(at=((B,H)=>{if(!H)return B;const W={};return["zIndex"].forEach(B=>{B in H&&(W[B]=H[B])}),Eo(B,W,{clone:!0})})(at,Je)),Y.createElement(pu,{value:{colorScheme:B,themeName:rt,overrides:Je,customTheme:st}},Y.createElement(ec,{theme:at},W))}),yu=(B="default")=>"inherit"===B?"inherit":"default"===B?"action.active":Sc.includes(B)?`${B}.${El}`:`${B}.main`;var Qc=Y.forwardRef((B,H)=>{const{sx:W={},color:K}=B,ie=B.href?Ol:"&:hover,&:focus,&:active",ce={[ie]:{color:yu(K)}};return Y.createElement(Cl,{...B,sx:{...ce,...W},ref:H})});function wu(B){return Mo("MuiSvgIcon",B)}ta("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const eu=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],tu=Ti("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,"inherit"!==W.color&&H[`color${Zi(W.color)}`],H[`fontSize${Zi(W.fontSize)}`]]}})(({theme:B,ownerState:H})=>{var W,K,Y,ie,ce,ue,de,pe,fe,ke,Je,rt,st;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:H.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(W=B.transitions)||null==(K=W.create)?void 0:K.call(W,"fill",{duration:null==(Y=B.transitions)||null==(Y=Y.duration)?void 0:Y.shorter}),fontSize:{inherit:"inherit",small:(null==(ie=B.typography)||null==(ce=ie.pxToRem)?void 0:ce.call(ie,20))||"1.25rem",medium:(null==(ue=B.typography)||null==(de=ue.pxToRem)?void 0:de.call(ue,24))||"1.5rem",large:(null==(pe=B.typography)||null==(fe=pe.pxToRem)?void 0:fe.call(pe,35))||"2.1875rem"}[H.fontSize],color:null!=(ke=null==(Je=(B.vars||B).palette)||null==(Je=Je[H.color])?void 0:Je.main)?ke:{action:null==(rt=(B.vars||B).palette)||null==(rt=rt.action)?void 0:rt.active,disabled:null==(st=(B.vars||B).palette)||null==(st=st.action)?void 0:st.disabled,inherit:void 0}[H.color]}}),ru=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiSvgIcon"}),{children:Y,className:ie,color:ue="inherit",component:de="svg",fontSize:pe="medium",htmlColor:fe,inheritViewBox:ke=!1,titleAccess:Je,viewBox:rt="0 0 24 24"}=W,st=s(W,eu),at=ce.isValidElement(Y)&&"svg"===Y.type,lt=a({},W,{color:ue,component:de,fontSize:pe,instanceFontSize:B.fontSize,inheritViewBox:ke,viewBox:rt,hasSvgAsChild:at}),pt={};ke||(pt.viewBox=rt);const ht=(B=>{const{color:H,fontSize:W,classes:K}=B;return U({root:["root","inherit"!==H&&`color${Zi(H)}`,`fontSize${Zi(W)}`]},wu,K)})(lt);return K.jsxs(tu,a({as:de,className:V(ht.root,ie),focusable:"false",color:fe,"aria-hidden":!Je||void 0,role:Je?"img":void 0,ref:H},pt,st,at&&Y.props,{ownerState:lt,children:[at?Y.props.children:Y,Je?K.jsx("title",{children:Je}):null]}))});ru.muiName="SvgIcon";const nu=ru;var ou=Y.forwardRef((B,H)=>Y.createElement(nu,{...B,ref:H})),iu=ce.forwardRef((B,H)=>ce.createElement(ou,{viewBox:"0 0 24 24",...B,ref:H},ce.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.25C12.4142 2.25 12.75 2.58579 12.75 3V4C12.75 4.41421 12.4142 4.75 12 4.75C11.5858 4.75 11.25 4.41421 11.25 4V3C11.25 2.58579 11.5858 2.25 12 2.25ZM5.06967 5.06967C5.36256 4.77678 5.83744 4.77678 6.13033 5.06967L6.83033 5.76967C7.12322 6.06256 7.12322 6.53744 6.83033 6.83033C6.53744 7.12322 6.06256 7.12322 5.76967 6.83033L5.06967 6.13033C4.77678 5.83744 4.77678 5.36256 5.06967 5.06967ZM18.9303 5.06967C19.2232 5.36256 19.2232 5.83744 18.9303 6.13033L18.2303 6.83033C17.9374 7.12322 17.4626 7.12322 17.1697 6.83033C16.8768 6.53744 16.8768 6.06256 17.1697 5.76967L17.8697 5.06967C18.1626 4.77678 18.6374 4.77678 18.9303 5.06967ZM12 7.75C11.108 7.75 10.2386 8.03066 9.51498 8.55222C8.79135 9.07378 8.25017 9.80981 7.9681 10.656C7.68602 11.5023 7.67735 12.4158 7.94332 13.2672C8.20928 14.1186 8.7364 14.8648 9.45 15.4C9.47737 15.4205 9.50331 15.4429 9.52763 15.467C9.76639 15.7033 9.97545 15.9663 10.1511 16.25H13.8489C14.0246 15.9663 14.2336 15.7033 14.4724 15.467C14.4967 15.4429 14.5226 15.4205 14.55 15.4C15.2636 14.8648 15.7907 14.1186 16.0567 13.2672C16.3226 12.4158 16.314 11.5023 16.0319 10.656C15.7498 9.80981 15.2086 9.07378 14.485 8.55222C13.7614 8.03066 12.892 7.75 12 7.75ZM14.9408 17.3899C14.9685 17.3444 14.9916 17.2956 15.0092 17.2444C15.1354 16.9955 15.2989 16.7666 15.4949 16.566C16.4376 15.8445 17.1342 14.8485 17.4885 13.7145C17.8483 12.5625 17.8366 11.3266 17.4549 10.1817C17.0733 9.0368 16.3411 8.041 15.3621 7.33536C14.3831 6.62971 13.2068 6.25 12 6.25C10.7932 6.25 9.61694 6.62971 8.63792 7.33536C7.65889 8.041 6.9267 9.0368 6.54507 10.1817C6.16344 11.3266 6.15171 12.5625 6.51155 13.7145C6.86579 14.8485 7.56245 15.8445 8.50515 16.566C8.7009 16.7665 8.86438 16.9951 8.99046 17.2438C9.00821 17.2954 9.03145 17.3446 9.05947 17.3905C9.0918 17.4648 9.12088 17.5406 9.14662 17.6178C9.28311 18.0273 9.3213 18.4632 9.25809 18.8902C9.2527 18.9265 9.25 18.9632 9.25 19C9.25 19.7293 9.53973 20.4288 10.0555 20.9445C10.5712 21.4603 11.2707 21.75 12 21.75C12.7293 21.75 13.4288 21.4603 13.9445 20.9445C14.4603 20.4288 14.75 19.7293 14.75 19C14.75 18.9632 14.7473 18.9265 14.7419 18.8902C14.6787 18.4632 14.7169 18.0273 14.8534 17.6178C14.8792 17.5404 14.9083 17.4644 14.9408 17.3899ZM13.2767 17.75H10.7233C10.7985 18.177 10.8081 18.6141 10.7509 19.0461C10.7625 19.3609 10.8926 19.6604 11.1161 19.8839C11.3505 20.1183 11.6685 20.25 12 20.25C12.3315 20.25 12.6495 20.1183 12.8839 19.8839C13.1074 19.6604 13.2375 19.3609 13.2491 19.0461C13.1919 18.6141 13.2015 18.177 13.2767 17.75ZM2.25 12C2.25 11.5858 2.58579 11.25 3 11.25H4C4.41421 11.25 4.75 11.5858 4.75 12C4.75 12.4142 4.41421 12.75 4 12.75H3C2.58579 12.75 2.25 12.4142 2.25 12ZM19.25 12C19.25 11.5858 19.5858 11.25 20 11.25H21C21.4142 11.25 21.75 11.5858 21.75 12C21.75 12.4142 21.4142 12.75 21 12.75H20C19.5858 12.75 19.25 12.4142 19.25 12Z"}))),su=ce.forwardRef((B,H)=>ce.createElement(ou,{viewBox:"0 0 24 24",...B,ref:H},ce.createElement("path",{d:"M11.75 15.75C12.3023 15.75 12.75 16.1977 12.75 16.75V16.7598C12.75 17.3121 12.3023 17.7598 11.75 17.7598C11.1977 17.7598 10.75 17.3121 10.75 16.7598V16.75C10.75 16.1977 11.1977 15.75 11.75 15.75Z"}),ce.createElement("path",{d:"M11.1846 5.80957C11.8554 5.67269 12.5519 5.7716 13.1592 6.08887L13.1611 6.09082C13.7668 6.41042 14.2478 6.92595 14.5283 7.55273C14.8087 8.17938 14.8742 8.88338 14.7158 9.55176C14.5574 10.2202 14.1831 10.8182 13.6494 11.248C13.3136 11.5185 12.9265 11.7121 12.5156 11.8193V13.5C12.5156 13.9142 12.1798 14.25 11.7656 14.25C11.3516 14.2498 11.0156 13.9141 11.0156 13.5V11.167C11.0156 10.7537 11.3504 10.4183 11.7637 10.417C12.1047 10.4159 12.4371 10.2973 12.708 10.0791C12.9791 9.86074 13.1733 9.55417 13.2559 9.20605C13.3384 8.85764 13.3036 8.49103 13.1582 8.16602C13.0131 7.84167 12.7675 7.57909 12.4629 7.41797C12.1603 7.26033 11.8157 7.21168 11.4844 7.2793C11.1523 7.34706 10.8495 7.52873 10.627 7.79688C10.3624 8.11534 9.88993 8.15896 9.57129 7.89453C9.25265 7.63007 9.20839 7.1576 9.47266 6.83887C9.91082 6.31093 10.5138 5.94644 11.1846 5.80957Z"}),ce.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.75 2C17.1348 2 21.5 6.36522 21.5 11.75C21.5 17.1348 17.1348 21.5 11.75 21.5C6.36522 21.5 2 17.1348 2 11.75C2 6.36522 6.36522 2 11.75 2ZM11.75 3.5C7.19365 3.5 3.5 7.19365 3.5 11.75C3.5 16.3063 7.19365 20 11.75 20C16.3063 20 20 16.3063 20 11.75C20 7.19365 16.3063 3.5 11.75 3.5Z"})));function Tu(B){return Mo("MuiDivider",B)}const au=ta("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),lu=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],cu=Ti("div",{name:"MuiDivider",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,W.absolute&&H.absolute,H[W.variant],W.light&&H.light,"vertical"===W.orientation&&H.vertical,W.flexItem&&H.flexItem,W.children&&H.withChildren,W.children&&"vertical"===W.orientation&&H.withChildrenVertical,"right"===W.textAlign&&"vertical"!==W.orientation&&H.textAlignRight,"left"===W.textAlign&&"vertical"!==W.orientation&&H.textAlignLeft]}})(({theme:B,ownerState:H})=>a({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(B.vars||B).palette.divider,borderBottomWidth:"thin"},H.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},H.light&&{borderColor:B.vars?`rgba(${B.vars.palette.dividerChannel} / 0.08)`:li.alpha(B.palette.divider,.08)},"inset"===H.variant&&{marginLeft:72},"middle"===H.variant&&"horizontal"===H.orientation&&{marginLeft:B.spacing(2),marginRight:B.spacing(2)},"middle"===H.variant&&"vertical"===H.orientation&&{marginTop:B.spacing(1),marginBottom:B.spacing(1)},"vertical"===H.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},H.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:B})=>a({},B.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:B,ownerState:H})=>a({},H.children&&"vertical"!==H.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(B.vars||B).palette.divider}`}}),({theme:B,ownerState:H})=>a({},H.children&&"vertical"===H.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(B.vars||B).palette.divider}`}}),({ownerState:B})=>a({},"right"===B.textAlign&&"vertical"!==B.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===B.textAlign&&"vertical"!==B.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),uu=Ti("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.wrapper,"vertical"===W.orientation&&H.wrapperVertical]}})(({theme:B,ownerState:H})=>a({display:"inline-block",paddingLeft:`calc(${B.spacing(1)} * 1.2)`,paddingRight:`calc(${B.spacing(1)} * 1.2)`},"vertical"===H.orientation&&{paddingTop:`calc(${B.spacing(1)} * 1.2)`,paddingBottom:`calc(${B.spacing(1)} * 1.2)`})),du=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiDivider"}),{absolute:Y=!1,children:ie,className:ce,component:ue=(ie?"div":"hr"),flexItem:de=!1,light:pe=!1,orientation:fe="horizontal",role:ke=("hr"!==ue?"separator":void 0),textAlign:Je="center",variant:rt="fullWidth"}=W,st=s(W,lu),at=a({},W,{absolute:Y,component:ue,flexItem:de,light:pe,orientation:fe,role:ke,textAlign:Je,variant:rt}),lt=(B=>{const{absolute:H,children:W,classes:K,flexItem:Y,light:ie,orientation:ce,textAlign:ue,variant:de}=B;return U({root:["root",H&&"absolute",de,ie&&"light","vertical"===ce&&"vertical",Y&&"flexItem",W&&"withChildren",W&&"vertical"===ce&&"withChildrenVertical","right"===ue&&"vertical"!==ce&&"textAlignRight","left"===ue&&"vertical"!==ce&&"textAlignLeft"],wrapper:["wrapper","vertical"===ce&&"wrapperVertical"]},Tu,K)})(at);return K.jsx(cu,a({as:ue,className:V(lt.root,ce),role:ke,ref:H,ownerState:at},st,{children:ie?K.jsx(uu,{className:lt.wrapper,ownerState:at,children:ie}):null}))});du.muiSkipListHighlight=!0;const fu=du;var gu=Y.forwardRef((B,H)=>Y.createElement(fu,{...B,ref:H})),vu=ce.forwardRef((B,H)=>ce.createElement(ou,{viewBox:"0 0 24 24",...B,ref:H},ce.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.75C10.2051 3.75 8.75 5.20507 8.75 7C8.75 8.79493 10.2051 10.25 12 10.25C13.7949 10.25 15.25 8.79493 15.25 7C15.25 5.20507 13.7949 3.75 12 3.75ZM7.25 7C7.25 4.37665 9.37665 2.25 12 2.25C14.6234 2.25 16.75 4.37665 16.75 7C16.75 9.62335 14.6234 11.75 12 11.75C9.37665 11.75 7.25 9.62335 7.25 7ZM10 15.75C9.13805 15.75 8.3114 16.0924 7.7019 16.7019C7.09241 17.3114 6.75 18.138 6.75 19V21C6.75 21.4142 6.41421 21.75 6 21.75C5.58579 21.75 5.25 21.4142 5.25 21V19C5.25 17.7402 5.75044 16.532 6.64124 15.6412C7.53204 14.7504 8.74022 14.25 10 14.25H14C15.2598 14.25 16.468 14.7504 17.3588 15.6412C18.2496 16.532 18.75 17.7402 18.75 19V21C18.75 21.4142 18.4142 21.75 18 21.75C17.5858 21.75 17.25 21.4142 17.25 21V19C17.25 18.138 16.9076 17.3114 16.2981 16.7019C15.6886 16.0924 14.862 15.75 14 15.75H10Z"})));function Du(B,H){const W=a({},H);return Object.keys(B).forEach(K=>{if(K.toString().match(/^(components|slots)$/))W[K]=a({},B[K],W[K]);else if(K.toString().match(/^(componentsProps|slotProps)$/)){const Y=B[K]||{},ie=H[K];W[K]={},ie&&Object.keys(ie)?Y&&Object.keys(Y)?(W[K]=a({},ie),Object.keys(Y).forEach(B=>{W[K][B]=Du(Y[B],ie[B])})):W[K]=ie:W[K]=Y}else void 0===W[K]&&(W[K]=B[K])}),W}function Fu(B){return Mo("MuiButton",B)}const bu=ta("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),_u=ce.createContext({}),xu=ce.createContext(void 0),Su=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Wu=B=>a({},"small"===B.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===B.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===B.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),ku=Ti(bl,{shouldForwardProp:B=>zi(B)||"classes"===B,name:"MuiButton",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,H[W.variant],H[`${W.variant}${Zi(W.color)}`],H[`size${Zi(W.size)}`],H[`${W.variant}Size${Zi(W.size)}`],"inherit"===W.color&&H.colorInherit,W.disableElevation&&H.disableElevation,W.fullWidth&&H.fullWidth]}})(({theme:B,ownerState:H})=>{var W,K;const Y="light"===B.palette.mode?B.palette.grey[300]:B.palette.grey[800],ie="light"===B.palette.mode?B.palette.grey.A100:B.palette.grey[700];return a({},B.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(B.vars||B).shape.borderRadius,transition:B.transitions.create(["background-color","box-shadow","border-color","color"],{duration:B.transitions.duration.short}),"&:hover":a({textDecoration:"none",backgroundColor:B.vars?`rgba(${B.vars.palette.text.primaryChannel} / ${B.vars.palette.action.hoverOpacity})`:li.alpha(B.palette.text.primary,B.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===H.variant&&"inherit"!==H.color&&{backgroundColor:B.vars?`rgba(${B.vars.palette[H.color].mainChannel} / ${B.vars.palette.action.hoverOpacity})`:li.alpha(B.palette[H.color].main,B.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===H.variant&&"inherit"!==H.color&&{border:`1px solid ${(B.vars||B).palette[H.color].main}`,backgroundColor:B.vars?`rgba(${B.vars.palette[H.color].mainChannel} / ${B.vars.palette.action.hoverOpacity})`:li.alpha(B.palette[H.color].main,B.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===H.variant&&{backgroundColor:B.vars?B.vars.palette.Button.inheritContainedHoverBg:ie,boxShadow:(B.vars||B).shadows[4],"@media (hover: none)":{boxShadow:(B.vars||B).shadows[2],backgroundColor:(B.vars||B).palette.grey[300]}},"contained"===H.variant&&"inherit"!==H.color&&{backgroundColor:(B.vars||B).palette[H.color].dark,"@media (hover: none)":{backgroundColor:(B.vars||B).palette[H.color].main}}),"&:active":a({},"contained"===H.variant&&{boxShadow:(B.vars||B).shadows[8]}),[`&.${bu.focusVisible}`]:a({},"contained"===H.variant&&{boxShadow:(B.vars||B).shadows[6]}),[`&.${bu.disabled}`]:a({color:(B.vars||B).palette.action.disabled},"outlined"===H.variant&&{border:`1px solid ${(B.vars||B).palette.action.disabledBackground}`},"contained"===H.variant&&{color:(B.vars||B).palette.action.disabled,boxShadow:(B.vars||B).shadows[0],backgroundColor:(B.vars||B).palette.action.disabledBackground})},"text"===H.variant&&{padding:"6px 8px"},"text"===H.variant&&"inherit"!==H.color&&{color:(B.vars||B).palette[H.color].main},"outlined"===H.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===H.variant&&"inherit"!==H.color&&{color:(B.vars||B).palette[H.color].main,border:B.vars?`1px solid rgba(${B.vars.palette[H.color].mainChannel} / 0.5)`:`1px solid ${li.alpha(B.palette[H.color].main,.5)}`},"contained"===H.variant&&{color:B.vars?B.vars.palette.text.primary:null==(W=(K=B.palette).getContrastText)?void 0:W.call(K,B.palette.grey[300]),backgroundColor:B.vars?B.vars.palette.Button.inheritContainedBg:Y,boxShadow:(B.vars||B).shadows[2]},"contained"===H.variant&&"inherit"!==H.color&&{color:(B.vars||B).palette[H.color].contrastText,backgroundColor:(B.vars||B).palette[H.color].main},"inherit"===H.color&&{color:"inherit",borderColor:"currentColor"},"small"===H.size&&"text"===H.variant&&{padding:"4px 5px",fontSize:B.typography.pxToRem(13)},"large"===H.size&&"text"===H.variant&&{padding:"8px 11px",fontSize:B.typography.pxToRem(15)},"small"===H.size&&"outlined"===H.variant&&{padding:"3px 9px",fontSize:B.typography.pxToRem(13)},"large"===H.size&&"outlined"===H.variant&&{padding:"7px 21px",fontSize:B.typography.pxToRem(15)},"small"===H.size&&"contained"===H.variant&&{padding:"4px 10px",fontSize:B.typography.pxToRem(13)},"large"===H.size&&"contained"===H.variant&&{padding:"8px 22px",fontSize:B.typography.pxToRem(15)},H.fullWidth&&{width:"100%"})},({ownerState:B})=>B.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${bu.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${bu.disabled}`]:{boxShadow:"none"}}),Cu=Ti("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.startIcon,H[`iconSize${Zi(W.size)}`]]}})(({ownerState:B})=>a({display:"inherit",marginRight:8,marginLeft:-4},"small"===B.size&&{marginLeft:-2},Wu(B))),Ou=Ti("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.endIcon,H[`iconSize${Zi(W.size)}`]]}})(({ownerState:B})=>a({display:"inherit",marginRight:-4,marginLeft:8},"small"===B.size&&{marginRight:-2},Wu(B))),Eu=ce.forwardRef(function(B,H){const W=ce.useContext(_u),Y=ce.useContext(xu),ie=Yi({props:Du(W,B),name:"MuiButton"}),{children:ue,color:de="primary",component:pe="button",className:fe,disabled:ke=!1,disableElevation:Je=!1,disableFocusRipple:rt=!1,endIcon:st,focusVisibleClassName:at,fullWidth:lt=!1,size:pt="medium",startIcon:ht,type:mt,variant:vt="text"}=ie,yt=s(ie,Su),bt=a({},ie,{color:de,component:pe,disabled:ke,disableElevation:Je,disableFocusRipple:rt,fullWidth:lt,size:pt,type:mt,variant:vt}),wt=(B=>{const{color:H,disableElevation:W,fullWidth:K,size:Y,variant:ie,classes:ce}=B;return a({},ce,U({root:["root",ie,`${ie}${Zi(H)}`,`size${Zi(Y)}`,`${ie}Size${Zi(Y)}`,`color${Zi(H)}`,W&&"disableElevation",K&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Zi(Y)}`],endIcon:["icon","endIcon",`iconSize${Zi(Y)}`]},Fu,ce))})(bt),xt=ht&&K.jsx(Cu,{className:wt.startIcon,ownerState:bt,children:ht}),St=st&&K.jsx(Ou,{className:wt.endIcon,ownerState:bt,children:st}),kt=Y||"";return K.jsxs(ku,a({ownerState:bt,className:V(W.className,wt.root,fe,kt),component:pe,disabled:ke,focusRipple:!rt,focusVisibleClassName:V(wt.focusVisible,at),ref:H,type:mt},yt,{classes:wt,children:[xt,ue,St]}))}),Ru=Eu;function Xu(B){return Mo("MuiCircularProgress",B)}ta("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Mu=["className","color","disableShrink","size","style","thickness","value","variant"];let Iu,Au,Pu,Lu,np=B=>B;const ju=Ot(Iu||(Iu=np` | |
| 75 | +`),El.rippleVisible,Pl,550,({theme:W})=>W.transitions.easing.easeInOut,El.ripplePulsate,({theme:W})=>W.transitions.duration.shorter,El.child,El.childLeaving,Al,550,({theme:W})=>W.transitions.easing.easeInOut,El.childPulsate,jl,({theme:W})=>W.transitions.easing.easeInOut),$l=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiTouchRipple"}),{center:X=!1,classes:oe={},className:ae}=U,le=a(U,Ol),[ce,ue]=ie.useState([]),de=ie.useRef(0),pe=ie.useRef(null);ie.useEffect(()=>{pe.current&&(pe.current(),pe.current=null)},[ce]);const fe=ie.useRef(!1),ke=ya(),Qe=ie.useRef(null),tt=ie.useRef(null),it=ie.useCallback(W=>{const{pulsate:H,rippleX:U,rippleY:X,rippleSize:ie,cb:ae}=W;ue(W=>[...W,G.jsx(Ll,{classes:{ripple:V(oe.ripple,El.ripple),rippleVisible:V(oe.rippleVisible,El.rippleVisible),ripplePulsate:V(oe.ripplePulsate,El.ripplePulsate),child:V(oe.child,El.child),childLeaving:V(oe.childLeaving,El.childLeaving),childPulsate:V(oe.childPulsate,El.childPulsate)},timeout:550,pulsate:H,rippleX:U,rippleY:X,rippleSize:ie},de.current)]),de.current+=1,pe.current=ae},[oe]),at=ie.useCallback((W={},H={},U=()=>{})=>{const{pulsate:G=!1,center:oe=X||H.pulsate,fakeElement:ie=!1}=H;if("mousedown"===(null==W?void 0:W.type)&&fe.current)return void(fe.current=!1);"touchstart"===(null==W?void 0:W.type)&&(fe.current=!0);const ae=ie?null:tt.current,le=ae?ae.getBoundingClientRect():{width:0,height:0,left:0,top:0};let ce,ue,de;if(oe||void 0===W||0===W.clientX&&0===W.clientY||!W.clientX&&!W.touches)ce=Math.round(le.width/2),ue=Math.round(le.height/2);else{const{clientX:H,clientY:U}=W.touches&&W.touches.length>0?W.touches[0]:W;ce=Math.round(H-le.left),ue=Math.round(U-le.top)}if(oe)de=Math.sqrt((2*le.width**2+le.height**2)/3),de%2==0&&(de+=1);else{const W=2*Math.max(Math.abs((ae?ae.clientWidth:0)-ce),ce)+2,H=2*Math.max(Math.abs((ae?ae.clientHeight:0)-ue),ue)+2;de=Math.sqrt(W**2+H**2)}null!=W&&W.touches?null===Qe.current&&(Qe.current=()=>{it({pulsate:G,rippleX:ce,rippleY:ue,rippleSize:de,cb:U})},ke.start(80,()=>{Qe.current&&(Qe.current(),Qe.current=null)})):it({pulsate:G,rippleX:ce,rippleY:ue,rippleSize:de,cb:U})},[X,it,ke]),st=ie.useCallback(()=>{at({},{pulsate:!0})},[at]),ut=ie.useCallback((W,H)=>{if(ke.clear(),"touchend"===(null==W?void 0:W.type)&&Qe.current)return Qe.current(),Qe.current=null,void ke.start(0,()=>{ut(W,H)});Qe.current=null,ue(W=>W.length>0?W.slice(1):W),pe.current=H},[ke]);return ie.useImperativeHandle(H,()=>({pulsate:st,start:at,stop:ut}),[st,at,ut]),G.jsx(Nl,s({className:V(El.root,oe.root,ae),ref:tt},le,{children:G.jsx(Cl,{component:null,exit:!0,children:ce})}))});function Zs(W){return Oo("MuiButtonBase",W)}const Dl=Ei("MuiButtonBase",["root","disabled","focusVisible"]),Fl=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],zl=os("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(W,H)=>H.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Dl.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Bl=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiButtonBase"}),{action:X,centerRipple:oe=!1,children:ae,className:le,component:ce="button",disabled:ue=!1,disableRipple:de=!1,disableTouchRipple:pe=!1,focusRipple:fe=!1,LinkComponent:ke="a",onBlur:Qe,onClick:tt,onContextMenu:it,onDragLeave:at,onFocus:st,onFocusVisible:ut,onKeyDown:ht,onKeyUp:ft,onMouseDown:gt,onMouseLeave:yt,onMouseUp:vt,onTouchEnd:bt,onTouchMove:xt,onTouchStart:wt,tabIndex:St=0,TouchRippleProps:Ct,touchRippleRef:It,type:Pt}=U,At=a(U,Fl),jt=ie.useRef(null),Nt=ie.useRef(null),Lt=fa(Nt,It),{isFocusVisibleRef:$t,onFocus:Dt,onBlur:Ft,ref:zt}=function Oa(){const W=ie.useCallback(W=>{var H;null!=W&&((H=W.ownerDocument).addEventListener("keydown",wa,!0),H.addEventListener("mousedown",Sa,!0),H.addEventListener("pointerdown",Sa,!0),H.addEventListener("touchstart",Sa,!0),H.addEventListener("visibilitychange",ka,!0))},[]),H=ie.useRef(!1);return{isFocusVisibleRef:H,onFocus:function(W){return!!function(W){const{target:H}=W;try{return H.matches(":focus-visible")}catch(W){}return xs||function(W){const{type:H,tagName:U}=W;return!("INPUT"!==U||!Cs[H]||W.readOnly)||"TEXTAREA"===U&&!W.readOnly||!!W.isContentEditable}(H)}(W)&&(H.current=!0,!0)},onBlur:function(){return!!H.current&&(_s=!0,ks.start(100,()=>{_s=!1}),H.current=!1,!0)},ref:W}}(),[Bt,Yt]=ie.useState(!1);ue&&Bt&&Yt(!1),ie.useImperativeHandle(X,()=>({focusVisible:()=>{Yt(!0),jt.current.focus()}}),[]);const[Zt,Jt]=ie.useState(!1);ie.useEffect(()=>{Jt(!0)},[]);const Qt=Zt&&!de&&!ue;function Y(W,H,U=pe){return da(G=>(H&&H(G),!U&&Nt.current&&Nt.current[W](G),!0))}ie.useEffect(()=>{Bt&&fe&&!de&&Zt&&Nt.current.pulsate()},[de,fe,Bt,Zt]);const er=Y("start",gt),tr=Y("stop",it),Or=Y("stop",at),Mr=Y("stop",vt),Rr=Y("stop",W=>{Bt&&W.preventDefault(),yt&&yt(W)}),Ar=Y("start",wt),Fr=Y("stop",bt),Br=Y("stop",xt),qr=Y("stop",W=>{Ft(W),!1===$t.current&&Yt(!1),Qe&&Qe(W)},!1),Wr=da(W=>{jt.current||(jt.current=W.currentTarget),Dt(W),!0===$t.current&&(Yt(!0),ut&&ut(W)),st&&st(W)}),se=()=>{const W=jt.current;return ce&&"button"!==ce&&!("A"===W.tagName&&W.href)},Hr=ie.useRef(!1),Ur=da(W=>{fe&&!Hr.current&&Bt&&Nt.current&&" "===W.key&&(Hr.current=!0,Nt.current.stop(W,()=>{Nt.current.start(W)})),W.target===W.currentTarget&&se()&&" "===W.key&&W.preventDefault(),ht&&ht(W),W.target===W.currentTarget&&se()&&"Enter"===W.key&&!ue&&(W.preventDefault(),tt&&tt(W))}),Gr=da(W=>{fe&&" "===W.key&&Nt.current&&Bt&&!W.defaultPrevented&&(Hr.current=!1,Nt.current.stop(W,()=>{Nt.current.pulsate(W)})),ft&&ft(W),tt&&W.target===W.currentTarget&&se()&&" "===W.key&&!W.defaultPrevented&&tt(W)});let Xr=ce;"button"===Xr&&(At.href||At.to)&&(Xr=ke);const Yr={};"button"===Xr?(Yr.type=void 0===Pt?"button":Pt,Yr.disabled=ue):(At.href||At.to||(Yr.role="button"),ue&&(Yr["aria-disabled"]=ue));const Jr=fa(H,zt,jt),Qr=s({},U,{centerRipple:oe,component:ce,disabled:ue,disableRipple:de,disableTouchRipple:pe,focusRipple:fe,tabIndex:St,focusVisible:Bt}),en=(W=>{const{disabled:H,focusVisible:U,focusVisibleClassName:G,classes:X}=W,oe=q({root:["root",H&&"disabled",U&&"focusVisible"]},Zs,X);return U&&G&&(oe.root+=` ${G}`),oe})(Qr);return G.jsxs(zl,s({as:Xr,className:V(en.root,le),ownerState:Qr,onBlur:qr,onClick:tt,onContextMenu:tr,onFocus:Wr,onKeyDown:Ur,onKeyUp:Gr,onMouseDown:er,onMouseLeave:Rr,onMouseUp:Mr,onDragLeave:Or,onTouchEnd:Fr,onTouchMove:Br,onTouchStart:Ar,ref:Jr,tabIndex:ue?-1:St,type:Pt},Yr,At,{children:[ae,Qt?G.jsx($l,s({ref:Lt,center:oe},Ct)):null]}))});function nl(W){return Oo("MuiIconButton",W)}const Vl=Ei("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),ql=["edge","children","className","color","disabled","disableFocusRipple","size"],Wl=os(Bl,{name:"MuiIconButton",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,"default"!==U.color&&H[`color${Vr(U.color)}`],U.edge&&H[`edge${Vr(U.edge)}`],H[`size${Vr(U.size)}`]]}})(({theme:W,ownerState:H})=>s({textAlign:"center",flex:"0 0 auto",fontSize:W.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(W.vars||W).palette.action.active,transition:W.transitions.create("background-color",{duration:W.transitions.duration.shortest})},!H.disableRipple&&{"&:hover":{backgroundColor:W.vars?`rgba(${W.vars.palette.action.activeChannel} / ${W.vars.palette.action.hoverOpacity})`:oi.alpha(W.palette.action.active,W.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===H.edge&&{marginLeft:"small"===H.size?-3:-12},"end"===H.edge&&{marginRight:"small"===H.size?-3:-12}),({theme:W,ownerState:H})=>{var U;const G=null==(U=(W.vars||W).palette)?void 0:U[H.color];return s({},"inherit"===H.color&&{color:"inherit"},"inherit"!==H.color&&"default"!==H.color&&s({color:null==G?void 0:G.main},!H.disableRipple&&{"&:hover":s({},G&&{backgroundColor:W.vars?`rgba(${G.mainChannel} / ${W.vars.palette.action.hoverOpacity})`:oi.alpha(G.main,W.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===H.size&&{padding:5,fontSize:W.typography.pxToRem(18)},"large"===H.size&&{padding:12,fontSize:W.typography.pxToRem(28)},{[`&.${Vl.disabled}`]:{backgroundColor:"transparent",color:(W.vars||W).palette.action.disabled}})}),Hl=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiIconButton"}),{edge:X=!1,children:oe,className:ie,color:ae="default",disabled:le=!1,disableFocusRipple:ce=!1,size:ue="medium"}=U,de=a(U,ql),pe=s({},U,{edge:X,color:ae,disabled:le,disableFocusRipple:ce,size:ue}),fe=(W=>{const{classes:H,disabled:U,color:G,edge:X,size:oe}=W;return q({root:["root",U&&"disabled","default"!==G&&`color${Vr(G)}`,X&&`edge${Vr(X)}`,`size${Vr(oe)}`]},nl,H)})(pe);return G.jsx(Wl,s({className:V(fe.root,ie),centerRipple:!0,focusRipple:!ce,disabled:le,ref:H},de,{ownerState:pe,children:oe}))}),Ul="&:hover,&:focus,&:active,&:visited",Kl="__unstableAccessibleMain",Gl="__unstableAccessibleLight",Xl="0.75rem",Yl="1.25em",Zl="1.25em",Jl="1.25em",Ql="eui-rtl",ec=[0,1,1,1,1],tc=["theme"];function bl(W){let{theme:H}=W,U=a(W,tc);const X=H[ns];return G.jsx(za,s({},U,{themeId:X?ns:void 0,theme:X||H}))}const vl=(W,H)=>{const U={},G={};return H.forEach(H=>{G[H]=`Mui${W}-${H}`,U[H]={slot:H,name:`Mui${W}`}}),{slots:U,classNames:G}},xl=(W,...H)=>{const U={...W};return U.shape={borderRadius:4,__unstableBorderRadiusMultipliers:ec,...U.shape},ii(U,...H)},_l=W=>function(W){return"ownerState"!==W&&"theme"!==W&&"sx"!==W&&"as"!==W}(W)&&"classes"!==W,rc=xl({}),nc=Ho({themeId:ns,defaultTheme:rc,rootShouldForwardProp:_l}),kl=(W,H)=>{if(!H?.shouldForwardProp)return nc(W,H);const U=H.shouldForwardProp,G={...H};return G.shouldForwardProp=W=>_l(W)&&U(W),nc(W,G)},oc="#FFFFFF",ic="#f1f3f3",ac="#d5d8dc",lc="#babfc5",cc="#9da5ae",uc="#818a96",dc="#69727d",pc="#515962",fc="#3f444b",yc="#1f2124",vc="#0c0d0e",bc="#f3bafd",xc="#f0abfc",_c="#eb8efb",wc="#ef4444",Sc="#dc2626",kc="#b91c1c",Cc="#b15211",Ec="#3b82f6",Oc="#2563eb",Mc="#1d4ed8",Rc="#10b981",Ic="#0a875a",Tc="#047857",Pc="#99f6e4",jc="#5eead4",Lc="#2adfcd",Dc="#b51243",zc="#93003f",Vc="#7e013b",qc={styleOverrides:{listbox:({theme:W})=>({"&.MuiAutocomplete-listboxSizeTiny":{fontSize:"0.875rem"},'&.MuiAutocomplete-listbox .MuiAutocomplete-option[aria-selected="true"]':{"&,&.Mui-Mui-focused":{backgroundColor:W.palette.action.selected}}})},variants:[{props:{size:"tiny"},style:()=>({"& .MuiOutlinedInput-root":{padding:"2.5px 0","& .MuiAutocomplete-input":{lineHeight:Zl,height:Zl,padding:"4px 2px 4px 8px"}},"& .MuiFilledInput-root":{padding:0,"& .MuiAutocomplete-input":{padding:"15px 8px 6px"}},"& .MuiInput-root":{paddingBottom:0,"& .MuiAutocomplete-input":{padding:"2px 0"}},"& .MuiAutocomplete-popupIndicator":{fontSize:"1.5em"},"& .MuiAutocomplete-clearIndicator":{fontSize:"1.2em"},"& .MuiAutocomplete-popupIndicator .MuiSvgIcon-root, & .MuiAutocomplete-clearIndicator .MuiSvgIcon-root":{fontSize:"1em"},"& .MuiInputAdornment-root .MuiIconButton-root":{padding:"2px"},"& .MuiAutocomplete-tagSizeTiny":{fontSize:Xl},"&.MuiAutocomplete-hasPopupIcon.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root .MuiAutocomplete-input":{paddingRight:"48px"}})},{props:{size:"tiny",multiple:!0},style:()=>({"& .MuiAutocomplete-tag":{margin:"1.5px 3px"}})}]},Wc=["primary","secondary","error","warning","info","success","accent","global","promotion","decorative","neutral"],Hc=["primary","global"],Uc=Wc.filter(W=>!Hc.includes(W)),Kc={styleOverrides:{root:()=>({boxShadow:"none","&:hover":{boxShadow:"none"}})},variants:Wc.map(W=>({props:{variant:"contained",color:W},style:({theme:H})=>({"& .MuiButtonGroup-grouped:not(:last-of-type), & .MuiButtonGroup-grouped:not(:last-of-type).Mui-disabled":{borderRight:0},"& .MuiButtonGroup-grouped:not(:last-child), & > *:not(:last-child) .MuiButtonGroup-grouped":{borderRight:`1px solid ${H.palette[W].dark}`},"& .MuiButtonGroup-grouped:not(:last-child).Mui-disabled, & > *:not(:last-child) .MuiButtonGroup-grouped.Mui-disabled":{borderRight:`1px solid ${H.palette.action.disabled}`}})}))},Xc={variants:[{props:{color:"primary",variant:"outlined"},style:({theme:W})=>({color:W.palette.primary.__unstableAccessibleMain,borderColor:W.palette.primary.__unstableAccessibleMain,"& .MuiChip-deleteIcon":{color:W.palette.primary.__unstableAccessibleLight,"&:hover":{color:W.palette.primary.__unstableAccessibleMain}}})},{props:{color:"global",variant:"outlined"},style:({theme:W})=>({color:W.palette.global.__unstableAccessibleMain,borderColor:W.palette.global.__unstableAccessibleMain,"& .MuiChip-deleteIcon":{color:W.palette.global.__unstableAccessibleLight,"&:hover":{color:W.palette.global.__unstableAccessibleMain}}})},{props:{color:"default",variant:"filled"},style:({theme:W})=>({backgroundColor:"light"===W.palette.mode?"#EBEBEB":"#434547","&.Mui-focusVisible, &.MuiChip-clickable:hover":{backgroundColor:W.palette.action.focus},"& .MuiChip-icon":{color:"inherit"}})},...sc(["default"],function(W){return{backgroundColor:{light:"#EBEBEB",dark:"#434547"},backgroundColorHover:{light:W.palette.action.focus,dark:W.palette.action.focus},color:{light:W.palette.text.primary,dark:W.palette.text.primary},deleteIconOpacity:.26,deleteIconOpacityHover:.7}}),...sc(["primary","global"],function(W,H){const U=W.palette[H];return{backgroundColor:{light:Gi(U.light,.8),dark:Ki(U.__unstableAccessibleMain,.8)},backgroundColorHover:{light:Gi(U.light,.6),dark:Ki(U.__unstableAccessibleMain,.9)},color:{light:Ki(U.__unstableAccessibleMain,.3),dark:Gi(U.light,.3)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),...sc(Uc,function(W,H){return{backgroundColor:{light:Gi(W.palette[H].light,.9),dark:Ki(W.palette[H].light,.8)},backgroundColorHover:{light:Gi(W.palette[H].light,.8),dark:Ki(W.palette[H].light,.9)},color:{light:Ki(W.palette[H].main,.3),dark:Gi(W.palette[H].main,.5)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),{props:{size:"tiny"},style:()=>({fontSize:Xl,height:"20px",paddingInline:"5px","& .MuiChip-avatar":{width:"1rem",height:"1rem",fontSize:"9px",marginLeft:0,marginRight:"1px"},"& .MuiChip-icon":{fontSize:"1rem",marginLeft:0,marginRight:0},"& .MuiChip-label":{paddingRight:"3px",paddingLeft:"3px"},"& .MuiChip-deleteIcon":{fontSize:"0.875rem",marginLeft:0,marginRight:0}})},{props:{size:"small"},style:()=>({height:"24px",paddingInline:"5px","& .MuiChip-avatar":{width:"1.125rem",height:"1.125rem",fontSize:"9px",marginLeft:0,marginRight:"2px"},"& .MuiChip-icon":{fontSize:"1.125rem",marginLeft:0,marginRight:0},"& .MuiChip-label":{paddingRight:"3px",paddingLeft:"3px"},"& .MuiChip-deleteIcon":{fontSize:"1rem",marginLeft:0,marginRight:0}})},{props:{size:"medium"},style:()=>({height:"32px",paddingInline:"6px","& .MuiChip-avatar":{width:"1.25rem",height:"1.25rem",fontSize:"0.75rem",marginLeft:0,marginRight:"2px"},"& .MuiChip-icon":{fontSize:"1.25rem",marginLeft:0,marginRight:0},"& .MuiChip-label":{paddingRight:"4px",paddingLeft:"4px"},"& .MuiChip-deleteIcon":{fontSize:"1.125rem",marginLeft:0,marginRight:0}})}]};function sc(W,H){return W.map(W=>({props:{color:W,variant:"standard"},style:({theme:U})=>{const G=H(U,W),{mode:X}=U.palette;return{backgroundColor:G.backgroundColor[X],color:G.color[X],"&.Mui-focusVisible, &.MuiChip-clickable:hover":{backgroundColor:G.backgroundColorHover[X]},"& .MuiChip-icon":{color:"inherit"},"& .MuiChip-deleteIcon":{color:G.color[X],opacity:G.deleteIconOpacity,"&:hover,&:focus":{color:G.color[X],opacity:G.deleteIconOpacityHover}}}}}))}const Yc="1rem",Zc="0.75rem";var Jc={MuiAccordion:{styleOverrides:{root:({theme:W})=>({backgroundColor:W.palette.background.default,"&:before":{content:"none"},"&.Mui-expanded":{margin:0},"&.MuiAccordion-gutters + .MuiAccordion-root.MuiAccordion-gutters":{marginTop:W.spacing(1),marginBottom:W.spacing(0)},"&:not(.MuiAccordion-gutters) + .MuiAccordion-root:not(.MuiAccordion-gutters)":{borderTop:0},"&.Mui-disabled":{backgroundColor:W.palette.background.default}})},variants:[{props:{square:!1},style:({theme:W})=>{const H=W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[3];return{"&:first-of-type":{borderTopLeftRadius:H,borderTopRightRadius:H},"&:last-of-type":{borderBottomLeftRadius:H,borderBottomRightRadius:H}}}}]},MuiAccordionActions:{styleOverrides:{root:({theme:W})=>({padding:W.spacing(2)})}},MuiAccordionSummary:{styleOverrides:{root:()=>({minHeight:"64px"}),content:({theme:W})=>({margin:W.spacing(1,0),"&.MuiAccordionSummary-content.Mui-expanded":{margin:W.spacing(1,0)}})}},MuiAccordionSummaryIcon:{styleOverrides:{root:({theme:W})=>({padding:W.spacing(1,0)})}},MuiAccordionSummaryText:{styleOverrides:{root:({theme:W})=>({marginTop:0,marginBottom:0,padding:W.spacing(1,0)})}},MuiAutocomplete:qc,MuiAvatar:{variants:[{props:{variant:"rounded"},style:({theme:W})=>({borderRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiButton:{styleOverrides:{root:({theme:W})=>({borderRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[2],boxShadow:"none",whiteSpace:"nowrap","&:hover":{boxShadow:"none"},"& .MuiSvgIcon-root":{fill:"currentColor"}})},variants:[{props:{color:"primary",variant:"outlined"},style:({theme:W})=>({color:W.palette.primary.__unstableAccessibleMain,borderColor:W.palette.primary.__unstableAccessibleMain,"&:hover":{borderColor:W.palette.primary.__unstableAccessibleMain}})},{props:{color:"primary",variant:"text"},style:({theme:W})=>({color:W.palette.primary.__unstableAccessibleMain})},{props:{color:"global",variant:"outlined"},style:({theme:W})=>({color:W.palette.global.__unstableAccessibleMain,borderColor:W.palette.global.__unstableAccessibleMain,"&:hover":{borderColor:W.palette.global.__unstableAccessibleMain}})},{props:{color:"global",variant:"text"},style:({theme:W})=>({color:W.palette.global.__unstableAccessibleMain})}]},MuiButtonBase:{styleOverrides:{root:()=>({"&.MuiButtonBase-root.Mui-focusVisible":{boxShadow:"0 0 0 1px inset"},".MuiCircularProgress-root":{fontSize:"inherit"}})}},MuiButtonGroup:Kc,MuiCard:{defaultProps:{},styleOverrides:{root:()=>({position:"relative"})}},MuiCardActions:{styleOverrides:{root:({theme:W})=>({justifyContent:"flex-end",padding:W.spacing(1.5,2)})}},MuiCardGroup:{styleOverrides:{root:()=>({"& .MuiCard-root.MuiPaper-outlined:not(:last-child)":{borderBottom:0},"& .MuiCard-root.MuiPaper-rounded":{"&:first-child:not(:last-child)":{borderBottomRightRadius:0,borderBottomLeftRadius:0},"&:not(:first-child):not(:last-child)":{borderRadius:0},"&:last-child:not(:first-child)":{borderTopRightRadius:0,borderTopLeftRadius:0}}})}},MuiCardHeader:{styleOverrides:{action:()=>({alignSelf:"center"})}},MuiChip:Xc,MuiCircularProgress:{styleOverrides:{root:({theme:W})=>({fontSize:W.spacing(5)})}},MuiDialog:{styleOverrides:{paper:({theme:W})=>({borderRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[4]})}},MuiDialogActions:{styleOverrides:{root:({theme:W})=>({padding:W.spacing(2,3)})}},MuiDialogContent:{styleOverrides:{dividers:()=>({"&:last-child":{borderBottom:"none"}})}},MuiFilledInput:{styleOverrides:{root:({theme:W})=>({borderTopLeftRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[2],borderTopRightRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{size:"tiny"},style:({theme:W})=>({fontSize:Xl,lineHeight:Jl,"& .MuiInputBase-input":{fontSize:Xl,lineHeight:Jl,height:Jl,padding:"15px 8px 6px"},"&.MuiInputBase-adornedStart":{paddingLeft:W.spacing(1)},"&.MuiInputBase-adornedEnd":{paddingRight:W.spacing(1)},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart:not(.MuiInputAdornment-hiddenLabel)":{marginTop:W.spacing(1)},"& .MuiInputAdornment-root:not(.MuiInputAdornment-positionEnd)":{marginRight:0},"& .MuiInputAdornment-root.MuiInputAdornment-positionEnd":{marginLeft:0}})},{props:{size:"tiny",multiline:!0},style:()=>({padding:0})}]},MuiFormHelperText:{styleOverrides:{root:({theme:W})=>({color:W.palette.text.tertiary,margin:W.spacing(.5,0,0)})}},MuiFormLabel:{variants:[{props:{size:"tiny"},style:()=>({fontSize:"0.75rem",lineHeight:"1.6",fontWeight:"400",letterSpacing:"0.19px"})},{props:{size:"small"},style:({theme:W})=>({...W.typography.body2})}]},MuiIconButton:{variants:[{props:{color:"primary"},style:({theme:W})=>({color:W.palette.primary.__unstableAccessibleMain})},{props:{color:"global"},style:({theme:W})=>({color:W.palette.global.__unstableAccessibleMain})},{props:{edge:"start",size:"small"},style:({theme:W})=>({marginLeft:W.spacing(-1.5)})},{props:{edge:"end",size:"small"},style:({theme:W})=>({marginRight:W.spacing(-1.5)})},{props:{edge:"start",size:"large"},style:({theme:W})=>({marginLeft:W.spacing(-2)})},{props:{edge:"end",size:"large"},style:({theme:W})=>({marginRight:W.spacing(-2)})},{props:{size:"tiny"},style:({theme:W})=>({padding:W.spacing(.75)})},{props:{size:"tiny",edge:"start"},style:({theme:W})=>({marginLeft:W.spacing(-1)})},{props:{size:"tiny",edge:"end"},style:({theme:W})=>({marginRight:W.spacing(-1)})}]},MuiInput:{variants:[{props:{size:"tiny"},style:({theme:W})=>({fontSize:Xl,lineHeight:Yl,"&.MuiInput-root":{marginTop:W.spacing(1.5)},"& .MuiInputBase-input":{fontSize:Xl,lineHeight:Yl,height:Yl,padding:"6.5px 0"}})}]},MuiInputAdornment:{styleOverrides:{root:({theme:W})=>({"&.MuiInputAdornment-sizeTiny":{"&.MuiInputAdornment-positionStart":{marginRight:W.spacing(.5)},"&.MuiInputAdornment-positionEnd":{marginLeft:W.spacing(.5)}}})}},MuiInputBase:{styleOverrides:{input:()=>({".MuiInputBase-root.Mui-disabled &":{backgroundColor:"initial"}})}},MuiInputLabel:{variants:[{props:{size:"tiny",shrink:!1},style:()=>({"&.MuiInputLabel-outlined":{transform:"translate(7.5px, 5.5px) scale(1)"},"&.MuiInputLabel-standard":{transform:"translate(0px, 18px) scale(1)"},"&.MuiInputLabel-filled":{transform:"translate(8px, 11px) scale(1)"}})},{props:{size:"tiny",shrink:!0},style:()=>({"&.MuiInputLabel-filled":{transform:"translate(8px, 2px) scale(0.75)"}})}]},MuiListItem:{styleOverrides:{root:({theme:W})=>({color:W.palette.text.primary,"a&":{[Ul]:{color:W.palette.text.primary}}})}},MuiListItemButton:{styleOverrides:{root:({theme:W})=>({color:W.palette.text.primary,"&.Mui-selected":{backgroundColor:W.palette.action.selected,"&:hover":{backgroundColor:W.palette.action.selected},"&:focus":{backgroundColor:W.palette.action.focus}},"a&":{[Ul]:{color:W.palette.text.primary}}})}},MuiListItemIcon:{styleOverrides:{root:({theme:W})=>({minWidth:"initial","&:not(:last-child)":{marginRight:W.spacing(1)}})}},MuiListItemText:{styleOverrides:{root:({theme:W})=>({color:W.palette.text.primary})}},MuiListSubheader:{styleOverrides:{root:({theme:W})=>({backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12))",lineHeight:"36px",color:W.palette.text.secondary})}},MuiMenuItem:{styleOverrides:{root:({theme:W})=>({"&.Mui-selected":{backgroundColor:W.palette.action.selected,"&:hover":{backgroundColor:W.palette.action.selected},"&:focus":{backgroundColor:W.palette.action.focus}},"a&":{[Ul]:{color:W.palette.text.primary}},"& .MuiListItemIcon-root":{minWidth:"initial"}})}},MuiOutlinedInput:{styleOverrides:{root:({theme:W})=>({borderRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[2],"&.Mui-focused .MuiInputAdornment-root .MuiOutlinedInput-notchedOutline":{borderColor:"dark"===W.palette.mode?"rgba(255, 255, 255, 0.23)":"rgba(0, 0, 0, 0.23)",borderWidth:"1px"}})},variants:[{props:{size:"tiny"},style:({theme:W})=>({fontSize:Xl,lineHeight:Zl,"&.MuiInputBase-adornedStart":{paddingLeft:W.spacing(1)},"&.MuiInputBase-adornedEnd":{paddingRight:W.spacing(1)},"& .MuiInputBase-input":{fontSize:Xl,lineHeight:Zl,height:Zl,padding:"6.5px 8px"},"& .MuiInputAdornment-root + .MuiInputBase-input":{paddingLeft:0},"&:has(.MuiInputBase-input + .MuiInputAdornment-root) .MuiInputBase-input":{paddingRight:0}})},{props:{size:"tiny",multiline:!0},style:()=>({padding:0})},{props:W=>!!W.endAdornment&&"tiny"===W.size,style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{"&.MuiSelect-standard":{paddingTop:0,paddingBottom:0},"&.MuiSelect-outlined,&.MuiSelect-filled":{paddingTop:"4px",paddingBottom:"4px"}}})},{props:W=>!!W.endAdornment&&"small"===W.size,style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{paddingTop:"2.5px",paddingBottom:"2.5px"}})},{props:W=>!(!W.endAdornment||"medium"!==W.size&&W.size),style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{paddingTop:"8.5px",paddingBottom:"8.5px"}})}]},MuiPagination:{variants:[{props:{shape:"rounded"},style:({theme:W})=>({borderRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiPaper:{variants:[{props:{square:!1},style:({theme:W})=>({borderRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[3]})}]},MuiSelect:{styleOverrides:{nativeInput:()=>({".MuiInputBase-root.Mui-disabled &":{backgroundColor:"initial",opacity:0}})},variants:[{props:{size:"tiny"},style:()=>({"& .MuiSelect-icon":{fontSize:Yc,right:"9px"},"& .MuiSelect-select.MuiSelect-outlined, & .MuiSelect-select.MuiSelect-filled":{minHeight:Zl},"& .MuiSelect-select.MuiSelect-standard":{lineHeight:Yl,minHeight:Yl}})}]},MuiSkeleton:{variants:[{props:{variant:"rounded"},style:({theme:W})=>({borderRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiSnackbarContent:{defaultProps:{},styleOverrides:{root:({theme:W})=>({borderRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[2]})}},MuiStepConnector:{styleOverrides:{root:({theme:W})=>({"& .MuiStepConnector-line":{borderColor:W.palette.divider}})}},MuiStepIcon:{styleOverrides:{root:({theme:W})=>({"&:not(.Mui-active) .MuiStepIcon-text":{fill:W.palette.common.white}})}},MuiStepLabel:{styleOverrides:{root:()=>({alignItems:"flex-start"})}},MuiStepper:{styleOverrides:{root:()=>({"& .MuiStepLabel-root":{alignItems:"center"}})}},MuiSvgIcon:{variants:[{props:{fontSize:"tiny"},style:()=>({fontSize:"1rem"})}]},MuiTab:{styleOverrides:{root:{"&:not(.Mui-selected)":{fontWeight:400},"&.Mui-selected":{fontWeight:700}}},variants:[{props:{size:"small"},style:({theme:W})=>({fontSize:Zc,lineHeight:1.6,padding:W.spacing(.75,1),minWidth:72,"&:not(.MuiTab-labelIcon)":{minHeight:32},"&.MuiTab-labelIcon":{minHeight:32}})}]},MuiTableRow:{styleOverrides:{root:({theme:W})=>({"&.Mui-selected":{backgroundColor:W.palette.action.selected,"&:hover":{backgroundColor:W.palette.action.selected}}})},variants:[{props:W=>"onClick"in W,style:()=>({cursor:"pointer"})}]},MuiTabPanel:{styleOverrides:{root:({theme:W})=>({color:W.palette.text.primary})}},MuiTabs:{styleOverrides:{indicator:{height:"3px"}},variants:[{props:{size:"small"},style:({theme:W})=>({minHeight:32,"& .MuiTab-root":{fontSize:Zc,lineHeight:1.6,padding:W.spacing(.75,1),minWidth:72,"&:not(.MuiTab-labelIcon)":{minHeight:32},"&.MuiTab-labelIcon":{minHeight:32}}})}]},MuiTextField:{styleOverrides:{root:({theme:W})=>({borderRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[2],"& legend":{transition:"unset"}})},variants:[{props:{size:"tiny",select:!0},style:()=>({"& .MuiSelect-icon":{fontSize:Yc,right:"9px"},"& .MuiInputBase-root .MuiSelect-select":{minHeight:"auto"}})}]},MuiToggleButton:{styleOverrides:{root:({theme:W})=>({borderRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{color:"primary"},style:({theme:W})=>({"&.MuiToggleButton-root.Mui-selected":{color:W.palette.primary.__unstableAccessibleMain}})},{props:{color:"global"},style:({theme:W})=>({"&.MuiToggleButton-root.Mui-selected":{color:W.palette.global.__unstableAccessibleMain}})},{props:{size:"tiny"},style:({theme:W})=>({fontSize:Xl,lineHeight:1.3334,padding:W.spacing(.625)})}]},MuiTooltip:{styleOverrides:{arrow:({theme:W})=>({color:W.palette.grey[700]}),tooltip:({theme:W})=>({backgroundColor:W.palette.grey[700],borderRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[1]})}}};const Qc={components:Jc,shape:{borderRadius:4,__unstableBorderRadiusMultipliers:ec},typography:{display1:{fontSize:"0rem"},display2:{fontSize:"0rem"},display3:{fontSize:"0rem"},display4:{fontSize:"0rem"},display5:{fontSize:"0rem"},display6:{fontSize:"0rem"},button:{textTransform:"none"},h1:{fontWeight:700},h2:{fontWeight:700},h3:{fontSize:"2.75rem",fontWeight:700},h4:{fontSize:"2rem",fontWeight:700},h5:{fontWeight:700},subtitle1:{fontWeight:500,lineHeight:1.3},subtitle2:{lineHeight:1.3}},zIndex:{mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},eu={...Qc,palette:{mode:"light",primary:{main:xc,light:bc,dark:_c,contrastText:vc,[Kl]:"#C00BB9",[Gl]:"#D355CE"},secondary:{main:pc,light:dc,dark:fc,contrastText:oc},grey:{50:ic,100:ac,200:lc,300:cc,400:uc,500:dc,600:pc,700:fc,800:yc,900:vc},text:{primary:vc,secondary:fc,tertiary:dc,disabled:cc},background:{paper:oc,default:oc},success:{main:Ic,light:Rc,dark:Tc,contrastText:oc},error:{main:Sc,light:wc,dark:kc,contrastText:oc},warning:{main:"#bb5b1d",light:"#d97706",dark:Cc,contrastText:oc},info:{main:Oc,light:Ec,dark:Mc,contrastText:oc},global:{main:jc,light:Pc,dark:Lc,contrastText:vc,[Kl]:"#17929B",[Gl]:"#5DB3B9"},accent:{main:zc,light:Dc,dark:Vc,contrastText:oc},promotion:{main:zc,light:Dc,dark:Vc,contrastText:oc},decorative:{main:jc,light:Pc,dark:Lc,contrastText:vc},neutral:{main:"#ffffff",light:"#ffffff",dark:"#ffffff",contrastText:"#ffffff"}}},tu={...Qc,palette:{mode:"dark",primary:{main:xc,light:bc,dark:_c,contrastText:vc,[Kl]:"#C00BB9",[Gl]:"#D355CE"},secondary:{main:cc,light:lc,dark:uc,contrastText:vc},grey:{50:ic,100:ac,200:lc,300:cc,400:uc,500:dc,600:pc,700:fc,800:yc,900:vc},text:{primary:oc,secondary:lc,tertiary:cc,disabled:pc},background:{paper:vc,default:yc},success:{main:Ic,light:Rc,dark:Tc,contrastText:oc},error:{main:Sc,light:wc,dark:kc,contrastText:oc},warning:{main:"#f59e0b",light:"#fbbf24",dark:Cc,contrastText:"#000000"},info:{main:Oc,light:Ec,dark:Mc,contrastText:oc},global:{main:jc,light:Pc,dark:Lc,contrastText:vc,[Kl]:"#17929B",[Gl]:"#5DB3B9"},accent:{main:zc,light:Dc,dark:Vc,contrastText:oc},promotion:{main:zc,light:Dc,dark:Vc,contrastText:oc},decorative:{main:jc,light:Pc,dark:Lc,contrastText:vc},neutral:{main:"#ffffff",light:"#ffffff",dark:"#ffffff",contrastText:"#ffffff"}}};function hc(W){if("object"!=typeof W||null===W)return!1;const H=Object.getPrototypeOf(W);return!(null!==H&&H!==Object.prototype&&null!==Object.getPrototypeOf(H)||Symbol.toStringTag in W||Symbol.iterator in W)}function mc(W){if(ie.isValidElement(W)||!hc(W))return W;const H={};return Object.keys(W).forEach(U=>{H[U]=mc(W[U])}),H}function gc(W,H,U={clone:!0}){const G=U.clone?s({},W):W;return hc(W)&&hc(H)&&Object.keys(H).forEach(X=>{ie.isValidElement(H[X])?G[X]=H[X]:hc(H[X])&&Object.prototype.hasOwnProperty.call(W,X)&&hc(W[X])?G[X]=gc(W[X],H[X],U):U.clone?G[X]=hc(H[X])?mc(H[X]):H[X]:G[X]=H[X]}),G}const nu="#524CFF";var ou={primary:{main:nu,light:"#6B65FF",dark:"#4C43E5",contrastText:"#FFFFFF",[Kl]:"#524CFF",[Gl]:"#6B65FF"},action:{selected:Hi(nu,.08)}};const iu=yc,au=fc;var lu={primary:{main:iu,light:au,dark:vc,contrastText:"#FFFFFF",[Kl]:iu,[Gl]:au},accent:{main:xc,light:bc,dark:_c,contrastText:vc}};const cu=ic,uu="#FFFFFF";var pu={primary:{main:cu,light:uu,dark:ac,contrastText:vc,[Kl]:cu,[Gl]:uu},accent:{main:xc,light:bc,dark:_c,contrastText:vc}};const hu=yc,fu=fc;var mu={primary:{main:hu,light:fu,dark:vc,contrastText:"#FFFFFF",[Kl]:hu,[Gl]:fu},accent:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},decorative:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},neutral:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"}};const gu=ic,yu="#FFFFFF";var vu={primary:{main:gu,light:yu,dark:ac,contrastText:vc,[Kl]:gu,[Gl]:yu},accent:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},decorative:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},neutral:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"}};const xu=X.createContext(null),Nc=({value:W,children:H})=>ie.createElement(xu.Provider,{value:W},H),_u={zIndex:Qc.zIndex},wu=!0;function Ac(W){return W?$c(W,{primary:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],secondary:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],success:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],info:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],warning:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],error:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],background:["default","paper","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],decorative:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],accent:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],neutral:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceMain","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],text:["primary","secondary","tertiary","disabled"],action:["active","focus","hover","disabled","disabledBackground","selected","__unstableGradientAngle"],divider:wu}):{}}function $c(W,H){if(!W||!H)return{};const U={};return Object.entries(H).forEach(([H,G])=>{if(W[H])if("boolean"!=typeof G){if(Array.isArray(G)){const X=W[H];G.forEach(W=>{void 0!==X?.[W]&&(U[H]={...U[H],[W]:X[W]})})}}else U[H]=W[H]}),U}const Su=new Map,ku=_t(({colorScheme:W,palette:H,children:U,overrides:G,unstableThemeV0:oe},ie)=>{const ae=X.useContext(xu),le=ie.key===Ql,ce=W||ae?.colorScheme||"auto",ue=Vi("(prefers-color-scheme: dark)"),de="auto"===ce&&ue||"dark"===ce,pe=function(W,H){if(!W)return H;if("function"!=typeof W)return console.error("overrides must be a function"),H;const U=W(structuredClone(H||_u));return U&&"object"==typeof U?U:(console.error("overrides function must return an object"),H)}(G,ae?.overrides),fe=oe?.name||H||ae?.themeName,ke=oe||ae?.customTheme;let Qe=ke?((W,H=!1,U=!1)=>{if(!W.name)throw new Error("Custom theme must have a name");const G=`${W.name}-${H}-${U}`;if(Su.has(G))return Su.get(G);const X={typography:{subtitle1:{fontWeight:500,lineHeight:1.3},subtitle2:{lineHeight:1.3}}};U&&(X.direction="rtl");const oe=function(W,H){const U={components:Jc};return H&&W.palette?.dark?U.palette={...tu.palette,...Ac(W.palette.dark),mode:"dark"}:W.palette?.light&&(U.palette={...eu.palette,...Ac(W.palette.light)}),W.shadows&&(U.shadows=W.shadows),W.shape&&(U.shape=W.shape),W.typography&&(U.typography=function(W={}){return W?$c(W,{fontFamily:wu,display1:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display2:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display3:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display4:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display5:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display6:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h1:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h2:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h3:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h4:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h5:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h6:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],subtitle1:["fontFamily"],subtitle2:["fontFamily"],body1:["fontFamily"],body2:["fontFamily"],caption:["fontFamily"],overline:["fontFamily"],button:["fontFamily","textTransform"]}):{}}(W.typography)),W.zIndex&&(U.zIndex=W.zIndex),U}(W,H),ie=xl(oe,X);return Su.set(G,ie),ie})(ke,de,le):(({palette:W="default",rtl:H=!1,isDarkMode:U=!1}={})=>{const G=`${W}-${U}-${H}`;if(Su.has(G))return Su.get(G);const X=U?tu:eu,oe={};"marketing-suite"===W&&(oe.palette=ou),"unstable"===W&&(oe.palette=U?pu:lu,oe.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]}),"argon-beta"===W&&(oe.palette=U?vu:mu,oe.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]}),H&&(oe.direction="rtl");const ie=xl(X,oe);return Su.set(G,ie),ie})({rtl:le,isDarkMode:de,palette:H||ae?.themeName});return pe&&(Qe=((W,H)=>{if(!H)return W;const U={};return["zIndex"].forEach(W=>{W in H&&(U[W]=H[W])}),gc(W,U,{clone:!0})})(Qe,pe)),X.createElement(Nc,{value:{colorScheme:W,themeName:fe,overrides:pe,customTheme:ke}},X.createElement(bl,{theme:Qe},U))}),Fc=(W="default")=>"inherit"===W?"inherit":"default"===W?"action.active":Hc.includes(W)?`${W}.${Kl}`:`${W}.main`;var Cu=X.forwardRef((W,H)=>{const{sx:U={},color:G}=W,oe=W.href?Ul:"&:hover,&:focus,&:active",ie={[oe]:{color:Fc(G)}};return X.createElement(Hl,{...W,sx:{...ie,...U},ref:H})});function Bc(W){return Oo("MuiSvgIcon",W)}Ei("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Eu=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Ou=os("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,"inherit"!==U.color&&H[`color${Vr(U.color)}`],H[`fontSize${Vr(U.fontSize)}`]]}})(({theme:W,ownerState:H})=>{var U,G,X,oe,ie,ae,le,ce,ue,de,pe,fe,ke;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:H.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(U=W.transitions)||null==(G=U.create)?void 0:G.call(U,"fill",{duration:null==(X=W.transitions)||null==(X=X.duration)?void 0:X.shorter}),fontSize:{inherit:"inherit",small:(null==(oe=W.typography)||null==(ie=oe.pxToRem)?void 0:ie.call(oe,20))||"1.25rem",medium:(null==(ae=W.typography)||null==(le=ae.pxToRem)?void 0:le.call(ae,24))||"1.5rem",large:(null==(ce=W.typography)||null==(ue=ce.pxToRem)?void 0:ue.call(ce,35))||"2.1875rem"}[H.fontSize],color:null!=(de=null==(pe=(W.vars||W).palette)||null==(pe=pe[H.color])?void 0:pe.main)?de:{action:null==(fe=(W.vars||W).palette)||null==(fe=fe.action)?void 0:fe.active,disabled:null==(ke=(W.vars||W).palette)||null==(ke=ke.action)?void 0:ke.disabled,inherit:void 0}[H.color]}}),Mu=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiSvgIcon"}),{children:X,className:oe,color:ae="inherit",component:le="svg",fontSize:ce="medium",htmlColor:ue,inheritViewBox:de=!1,titleAccess:pe,viewBox:fe="0 0 24 24"}=U,ke=a(U,Eu),Qe=ie.isValidElement(X)&&"svg"===X.type,tt=s({},U,{color:ae,component:le,fontSize:ce,instanceFontSize:W.fontSize,inheritViewBox:de,viewBox:fe,hasSvgAsChild:Qe}),it={};de||(it.viewBox=fe);const at=(W=>{const{color:H,fontSize:U,classes:G}=W;return q({root:["root","inherit"!==H&&`color${Vr(H)}`,`fontSize${Vr(U)}`]},Bc,G)})(tt);return G.jsxs(Ou,s({as:le,className:V(at.root,oe),focusable:"false",color:ue,"aria-hidden":!pe||void 0,role:pe?"img":void 0,ref:H},it,ke,Qe&&X.props,{ownerState:tt,children:[Qe?X.props.children:X,pe?G.jsx("title",{children:pe}):null]}))});Mu.muiName="SvgIcon";var Ru=X.forwardRef((W,H)=>X.createElement(Mu,{...W,ref:H})),Tu=ie.forwardRef((W,H)=>ie.createElement(Ru,{viewBox:"0 0 24 24",...W,ref:H},ie.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.25C12.4142 2.25 12.75 2.58579 12.75 3V4C12.75 4.41421 12.4142 4.75 12 4.75C11.5858 4.75 11.25 4.41421 11.25 4V3C11.25 2.58579 11.5858 2.25 12 2.25ZM5.06967 5.06967C5.36256 4.77678 5.83744 4.77678 6.13033 5.06967L6.83033 5.76967C7.12322 6.06256 7.12322 6.53744 6.83033 6.83033C6.53744 7.12322 6.06256 7.12322 5.76967 6.83033L5.06967 6.13033C4.77678 5.83744 4.77678 5.36256 5.06967 5.06967ZM18.9303 5.06967C19.2232 5.36256 19.2232 5.83744 18.9303 6.13033L18.2303 6.83033C17.9374 7.12322 17.4626 7.12322 17.1697 6.83033C16.8768 6.53744 16.8768 6.06256 17.1697 5.76967L17.8697 5.06967C18.1626 4.77678 18.6374 4.77678 18.9303 5.06967ZM12 7.75C11.108 7.75 10.2386 8.03066 9.51498 8.55222C8.79135 9.07378 8.25017 9.80981 7.9681 10.656C7.68602 11.5023 7.67735 12.4158 7.94332 13.2672C8.20928 14.1186 8.7364 14.8648 9.45 15.4C9.47737 15.4205 9.50331 15.4429 9.52763 15.467C9.76639 15.7033 9.97545 15.9663 10.1511 16.25H13.8489C14.0246 15.9663 14.2336 15.7033 14.4724 15.467C14.4967 15.4429 14.5226 15.4205 14.55 15.4C15.2636 14.8648 15.7907 14.1186 16.0567 13.2672C16.3226 12.4158 16.314 11.5023 16.0319 10.656C15.7498 9.80981 15.2086 9.07378 14.485 8.55222C13.7614 8.03066 12.892 7.75 12 7.75ZM14.9408 17.3899C14.9685 17.3444 14.9916 17.2956 15.0092 17.2444C15.1354 16.9955 15.2989 16.7666 15.4949 16.566C16.4376 15.8445 17.1342 14.8485 17.4885 13.7145C17.8483 12.5625 17.8366 11.3266 17.4549 10.1817C17.0733 9.0368 16.3411 8.041 15.3621 7.33536C14.3831 6.62971 13.2068 6.25 12 6.25C10.7932 6.25 9.61694 6.62971 8.63792 7.33536C7.65889 8.041 6.9267 9.0368 6.54507 10.1817C6.16344 11.3266 6.15171 12.5625 6.51155 13.7145C6.86579 14.8485 7.56245 15.8445 8.50515 16.566C8.7009 16.7665 8.86438 16.9951 8.99046 17.2438C9.00821 17.2954 9.03145 17.3446 9.05947 17.3905C9.0918 17.4648 9.12088 17.5406 9.14662 17.6178C9.28311 18.0273 9.3213 18.4632 9.25809 18.8902C9.2527 18.9265 9.25 18.9632 9.25 19C9.25 19.7293 9.53973 20.4288 10.0555 20.9445C10.5712 21.4603 11.2707 21.75 12 21.75C12.7293 21.75 13.4288 21.4603 13.9445 20.9445C14.4603 20.4288 14.75 19.7293 14.75 19C14.75 18.9632 14.7473 18.9265 14.7419 18.8902C14.6787 18.4632 14.7169 18.0273 14.8534 17.6178C14.8792 17.5404 14.9083 17.4644 14.9408 17.3899ZM13.2767 17.75H10.7233C10.7985 18.177 10.8081 18.6141 10.7509 19.0461C10.7625 19.3609 10.8926 19.6604 11.1161 19.8839C11.3505 20.1183 11.6685 20.25 12 20.25C12.3315 20.25 12.6495 20.1183 12.8839 19.8839C13.1074 19.6604 13.2375 19.3609 13.2491 19.0461C13.1919 18.6141 13.2015 18.177 13.2767 17.75ZM2.25 12C2.25 11.5858 2.58579 11.25 3 11.25H4C4.41421 11.25 4.75 11.5858 4.75 12C4.75 12.4142 4.41421 12.75 4 12.75H3C2.58579 12.75 2.25 12.4142 2.25 12ZM19.25 12C19.25 11.5858 19.5858 11.25 20 11.25H21C21.4142 11.25 21.75 11.5858 21.75 12C21.75 12.4142 21.4142 12.75 21 12.75H20C19.5858 12.75 19.25 12.4142 19.25 12Z"}))),Pu=ie.forwardRef((W,H)=>ie.createElement(Ru,{viewBox:"0 0 24 24",...W,ref:H},ie.createElement("path",{d:"M11.75 15.75C12.3023 15.75 12.75 16.1977 12.75 16.75V16.7598C12.75 17.3121 12.3023 17.7598 11.75 17.7598C11.1977 17.7598 10.75 17.3121 10.75 16.7598V16.75C10.75 16.1977 11.1977 15.75 11.75 15.75Z"}),ie.createElement("path",{d:"M11.1846 5.80957C11.8554 5.67269 12.5519 5.7716 13.1592 6.08887L13.1611 6.09082C13.7668 6.41042 14.2478 6.92595 14.5283 7.55273C14.8087 8.17938 14.8742 8.88338 14.7158 9.55176C14.5574 10.2202 14.1831 10.8182 13.6494 11.248C13.3136 11.5185 12.9265 11.7121 12.5156 11.8193V13.5C12.5156 13.9142 12.1798 14.25 11.7656 14.25C11.3516 14.2498 11.0156 13.9141 11.0156 13.5V11.167C11.0156 10.7537 11.3504 10.4183 11.7637 10.417C12.1047 10.4159 12.4371 10.2973 12.708 10.0791C12.9791 9.86074 13.1733 9.55417 13.2559 9.20605C13.3384 8.85764 13.3036 8.49103 13.1582 8.16602C13.0131 7.84167 12.7675 7.57909 12.4629 7.41797C12.1603 7.26033 11.8157 7.21168 11.4844 7.2793C11.1523 7.34706 10.8495 7.52873 10.627 7.79688C10.3624 8.11534 9.88993 8.15896 9.57129 7.89453C9.25265 7.63007 9.20839 7.1576 9.47266 6.83887C9.91082 6.31093 10.5138 5.94644 11.1846 5.80957Z"}),ie.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.75 2C17.1348 2 21.5 6.36522 21.5 11.75C21.5 17.1348 17.1348 21.5 11.75 21.5C6.36522 21.5 2 17.1348 2 11.75C2 6.36522 6.36522 2 11.75 2ZM11.75 3.5C7.19365 3.5 3.5 7.19365 3.5 11.75C3.5 16.3063 7.19365 20 11.75 20C16.3063 20 20 16.3063 20 11.75C20 7.19365 16.3063 3.5 11.75 3.5Z"})));function Gc(W){return Oo("MuiDivider",W)}const ju=Ei("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Nu=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Lu=os("div",{name:"MuiDivider",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,U.absolute&&H.absolute,H[U.variant],U.light&&H.light,"vertical"===U.orientation&&H.vertical,U.flexItem&&H.flexItem,U.children&&H.withChildren,U.children&&"vertical"===U.orientation&&H.withChildrenVertical,"right"===U.textAlign&&"vertical"!==U.orientation&&H.textAlignRight,"left"===U.textAlign&&"vertical"!==U.orientation&&H.textAlignLeft]}})(({theme:W,ownerState:H})=>s({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(W.vars||W).palette.divider,borderBottomWidth:"thin"},H.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},H.light&&{borderColor:W.vars?`rgba(${W.vars.palette.dividerChannel} / 0.08)`:oi.alpha(W.palette.divider,.08)},"inset"===H.variant&&{marginLeft:72},"middle"===H.variant&&"horizontal"===H.orientation&&{marginLeft:W.spacing(2),marginRight:W.spacing(2)},"middle"===H.variant&&"vertical"===H.orientation&&{marginTop:W.spacing(1),marginBottom:W.spacing(1)},"vertical"===H.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},H.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:W})=>s({},W.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:W,ownerState:H})=>s({},H.children&&"vertical"!==H.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(W.vars||W).palette.divider}`}}),({theme:W,ownerState:H})=>s({},H.children&&"vertical"===H.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(W.vars||W).palette.divider}`}}),({ownerState:W})=>s({},"right"===W.textAlign&&"vertical"!==W.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===W.textAlign&&"vertical"!==W.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),qu=os("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.wrapper,"vertical"===U.orientation&&H.wrapperVertical]}})(({theme:W,ownerState:H})=>s({display:"inline-block",paddingLeft:`calc(${W.spacing(1)} * 1.2)`,paddingRight:`calc(${W.spacing(1)} * 1.2)`},"vertical"===H.orientation&&{paddingTop:`calc(${W.spacing(1)} * 1.2)`,paddingBottom:`calc(${W.spacing(1)} * 1.2)`})),Hu=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiDivider"}),{absolute:X=!1,children:oe,className:ie,component:ae=(oe?"div":"hr"),flexItem:le=!1,light:ce=!1,orientation:ue="horizontal",role:de=("hr"!==ae?"separator":void 0),textAlign:pe="center",variant:fe="fullWidth"}=U,ke=a(U,Nu),Qe=s({},U,{absolute:X,component:ae,flexItem:le,light:ce,orientation:ue,role:de,textAlign:pe,variant:fe}),tt=(W=>{const{absolute:H,children:U,classes:G,flexItem:X,light:oe,orientation:ie,textAlign:ae,variant:le}=W;return q({root:["root",H&&"absolute",le,oe&&"light","vertical"===ie&&"vertical",X&&"flexItem",U&&"withChildren",U&&"vertical"===ie&&"withChildrenVertical","right"===ae&&"vertical"!==ie&&"textAlignRight","left"===ae&&"vertical"!==ie&&"textAlignLeft"],wrapper:["wrapper","vertical"===ie&&"wrapperVertical"]},Gc,G)})(Qe);return G.jsx(Lu,s({as:ae,className:V(tt.root,ie),role:de,ref:H,ownerState:Qe},ke,{children:oe?G.jsx(qu,{className:tt.wrapper,ownerState:Qe,children:oe}):null}))});Hu.muiSkipListHighlight=!0;var Uu=X.forwardRef((W,H)=>X.createElement(Hu,{...W,ref:H})),Ku=ie.forwardRef((W,H)=>ie.createElement(Ru,{viewBox:"0 0 24 24",...W,ref:H},ie.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.75C10.2051 3.75 8.75 5.20507 8.75 7C8.75 8.79493 10.2051 10.25 12 10.25C13.7949 10.25 15.25 8.79493 15.25 7C15.25 5.20507 13.7949 3.75 12 3.75ZM7.25 7C7.25 4.37665 9.37665 2.25 12 2.25C14.6234 2.25 16.75 4.37665 16.75 7C16.75 9.62335 14.6234 11.75 12 11.75C9.37665 11.75 7.25 9.62335 7.25 7ZM10 15.75C9.13805 15.75 8.3114 16.0924 7.7019 16.7019C7.09241 17.3114 6.75 18.138 6.75 19V21C6.75 21.4142 6.41421 21.75 6 21.75C5.58579 21.75 5.25 21.4142 5.25 21V19C5.25 17.7402 5.75044 16.532 6.64124 15.6412C7.53204 14.7504 8.74022 14.25 10 14.25H14C15.2598 14.25 16.468 14.7504 17.3588 15.6412C18.2496 16.532 18.75 17.7402 18.75 19V21C18.75 21.4142 18.4142 21.75 18 21.75C17.5858 21.75 17.25 21.4142 17.25 21V19C17.25 18.138 16.9076 17.3114 16.2981 16.7019C15.6886 16.0924 14.862 15.75 14 15.75H10Z"})));function ru(W){return Oo("MuiButton",W)}const Gu=Ei("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Xu=ie.createContext({}),ed=ie.createContext(void 0),td=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],su=W=>s({},"small"===W.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===W.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===W.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),rd=os(Bl,{shouldForwardProp:W=>ci(W)||"classes"===W,name:"MuiButton",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,H[U.variant],H[`${U.variant}${Vr(U.color)}`],H[`size${Vr(U.size)}`],H[`${U.variant}Size${Vr(U.size)}`],"inherit"===U.color&&H.colorInherit,U.disableElevation&&H.disableElevation,U.fullWidth&&H.fullWidth]}})(({theme:W,ownerState:H})=>{var U,G;const X="light"===W.palette.mode?W.palette.grey[300]:W.palette.grey[800],oe="light"===W.palette.mode?W.palette.grey.A100:W.palette.grey[700];return s({},W.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(W.vars||W).shape.borderRadius,transition:W.transitions.create(["background-color","box-shadow","border-color","color"],{duration:W.transitions.duration.short}),"&:hover":s({textDecoration:"none",backgroundColor:W.vars?`rgba(${W.vars.palette.text.primaryChannel} / ${W.vars.palette.action.hoverOpacity})`:oi.alpha(W.palette.text.primary,W.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===H.variant&&"inherit"!==H.color&&{backgroundColor:W.vars?`rgba(${W.vars.palette[H.color].mainChannel} / ${W.vars.palette.action.hoverOpacity})`:oi.alpha(W.palette[H.color].main,W.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===H.variant&&"inherit"!==H.color&&{border:`1px solid ${(W.vars||W).palette[H.color].main}`,backgroundColor:W.vars?`rgba(${W.vars.palette[H.color].mainChannel} / ${W.vars.palette.action.hoverOpacity})`:oi.alpha(W.palette[H.color].main,W.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===H.variant&&{backgroundColor:W.vars?W.vars.palette.Button.inheritContainedHoverBg:oe,boxShadow:(W.vars||W).shadows[4],"@media (hover: none)":{boxShadow:(W.vars||W).shadows[2],backgroundColor:(W.vars||W).palette.grey[300]}},"contained"===H.variant&&"inherit"!==H.color&&{backgroundColor:(W.vars||W).palette[H.color].dark,"@media (hover: none)":{backgroundColor:(W.vars||W).palette[H.color].main}}),"&:active":s({},"contained"===H.variant&&{boxShadow:(W.vars||W).shadows[8]}),[`&.${Gu.focusVisible}`]:s({},"contained"===H.variant&&{boxShadow:(W.vars||W).shadows[6]}),[`&.${Gu.disabled}`]:s({color:(W.vars||W).palette.action.disabled},"outlined"===H.variant&&{border:`1px solid ${(W.vars||W).palette.action.disabledBackground}`},"contained"===H.variant&&{color:(W.vars||W).palette.action.disabled,boxShadow:(W.vars||W).shadows[0],backgroundColor:(W.vars||W).palette.action.disabledBackground})},"text"===H.variant&&{padding:"6px 8px"},"text"===H.variant&&"inherit"!==H.color&&{color:(W.vars||W).palette[H.color].main},"outlined"===H.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===H.variant&&"inherit"!==H.color&&{color:(W.vars||W).palette[H.color].main,border:W.vars?`1px solid rgba(${W.vars.palette[H.color].mainChannel} / 0.5)`:`1px solid ${oi.alpha(W.palette[H.color].main,.5)}`},"contained"===H.variant&&{color:W.vars?W.vars.palette.text.primary:null==(U=(G=W.palette).getContrastText)?void 0:U.call(G,W.palette.grey[300]),backgroundColor:W.vars?W.vars.palette.Button.inheritContainedBg:X,boxShadow:(W.vars||W).shadows[2]},"contained"===H.variant&&"inherit"!==H.color&&{color:(W.vars||W).palette[H.color].contrastText,backgroundColor:(W.vars||W).palette[H.color].main},"inherit"===H.color&&{color:"inherit",borderColor:"currentColor"},"small"===H.size&&"text"===H.variant&&{padding:"4px 5px",fontSize:W.typography.pxToRem(13)},"large"===H.size&&"text"===H.variant&&{padding:"8px 11px",fontSize:W.typography.pxToRem(15)},"small"===H.size&&"outlined"===H.variant&&{padding:"3px 9px",fontSize:W.typography.pxToRem(13)},"large"===H.size&&"outlined"===H.variant&&{padding:"7px 21px",fontSize:W.typography.pxToRem(15)},"small"===H.size&&"contained"===H.variant&&{padding:"4px 10px",fontSize:W.typography.pxToRem(13)},"large"===H.size&&"contained"===H.variant&&{padding:"8px 22px",fontSize:W.typography.pxToRem(15)},H.fullWidth&&{width:"100%"})},({ownerState:W})=>W.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Gu.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Gu.disabled}`]:{boxShadow:"none"}}),od=os("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.startIcon,H[`iconSize${Vr(U.size)}`]]}})(({ownerState:W})=>s({display:"inherit",marginRight:8,marginLeft:-4},"small"===W.size&&{marginLeft:-2},su(W))),id=os("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.endIcon,H[`iconSize${Vr(U.size)}`]]}})(({ownerState:W})=>s({display:"inherit",marginRight:-4,marginLeft:8},"small"===W.size&&{marginRight:-2},su(W))),ad=ie.forwardRef(function(W,H){const U=ie.useContext(Xu),X=ie.useContext(ed),oe=yi({props:pi(U,W),name:"MuiButton"}),{children:ae,color:le="primary",component:ce="button",className:ue,disabled:de=!1,disableElevation:pe=!1,disableFocusRipple:fe=!1,endIcon:ke,focusVisibleClassName:Qe,fullWidth:tt=!1,size:it="medium",startIcon:at,type:st,variant:ut="text"}=oe,ht=a(oe,td),ft=s({},oe,{color:le,component:ce,disabled:de,disableElevation:pe,disableFocusRipple:fe,fullWidth:tt,size:it,type:st,variant:ut}),gt=(W=>{const{color:H,disableElevation:U,fullWidth:G,size:X,variant:oe,classes:ie}=W;return s({},ie,q({root:["root",oe,`${oe}${Vr(H)}`,`size${Vr(X)}`,`${oe}Size${Vr(X)}`,`color${Vr(H)}`,U&&"disableElevation",G&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Vr(X)}`],endIcon:["icon","endIcon",`iconSize${Vr(X)}`]},ru,ie))})(ft),yt=at&&G.jsx(od,{className:gt.startIcon,ownerState:ft,children:at}),vt=ke&&G.jsx(id,{className:gt.endIcon,ownerState:ft,children:ke}),bt=X||"";return G.jsxs(rd,s({ownerState:ft,className:V(U.className,gt.root,ue,bt),component:ce,disabled:de,focusRipple:!fe,focusVisibleClassName:V(gt.focusVisible,Qe),ref:H,type:st},ht,{classes:gt,children:[yt,ae,vt]}))});function du(W){return Oo("MuiCircularProgress",W)}Ei("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const ld=["className","color","disableShrink","size","style","thickness","value","variant"];let cd,ud,pd,hd,bu=W=>W;const fd=Ot(cd||(cd=bu` | |
| 76 | 76 | 0% { |
| 77 | 77 | transform: rotate(0deg); |
| 78 | 78 | } |
| 79 | 79 | |
| @@ -79,9 +79,9 @@ | ||
| 79 | 79 | |
| 80 | 80 | 100% { |
| 81 | 81 | transform: rotate(360deg); |
| 82 | 82 | } |
| 83 | -`)),Nu=Ot(Au||(Au=np` | |
| 83 | +`)),md=Ot(ud||(ud=bu` | |
| 84 | 84 | 0% { |
| 85 | 85 | stroke-dasharray: 1px, 200px; |
| 86 | 86 | stroke-dashoffset: 0; |
| 87 | 87 | } |
| @@ -94,13 +94,13 @@ | ||
| 94 | 94 | 100% { |
| 95 | 95 | stroke-dasharray: 100px, 200px; |
| 96 | 96 | stroke-dashoffset: -125px; |
| 97 | 97 | } |
| 98 | -`)),$u=Ti("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,H[W.variant],H[`color${Zi(W.color)}`]]}})(({ownerState:B,theme:H})=>a({display:"inline-block"},"determinate"===B.variant&&{transition:H.transitions.create("transform")},"inherit"!==B.color&&{color:(H.vars||H).palette[B.color].main}),({ownerState:B})=>"indeterminate"===B.variant&&Ct(Pu||(Pu=np` | |
| 98 | +`)),xd=os("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,H[U.variant],H[`color${Vr(U.color)}`]]}})(({ownerState:W,theme:H})=>s({display:"inline-block"},"determinate"===W.variant&&{transition:H.transitions.create("transform")},"inherit"!==W.color&&{color:(H.vars||H).palette[W.color].main}),({ownerState:W})=>"indeterminate"===W.variant&&kt(pd||(pd=bu` | |
| 99 | 99 | animation: ${0} 1.4s linear infinite; |
| 100 | - `),ju)),zu=Ti("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(B,H)=>H.svg})({display:"block"}),Bu=Ti("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.circle,H[`circle${Zi(W.variant)}`],W.disableShrink&&H.circleDisableShrink]}})(({ownerState:B,theme:H})=>a({stroke:"currentColor"},"determinate"===B.variant&&{transition:H.transitions.create("stroke-dashoffset")},"indeterminate"===B.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:B})=>"indeterminate"===B.variant&&!B.disableShrink&&Ct(Lu||(Lu=np` | |
| 100 | + `),fd)),_d=os("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(W,H)=>H.svg})({display:"block"}),wd=os("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.circle,H[`circle${Vr(U.variant)}`],U.disableShrink&&H.circleDisableShrink]}})(({ownerState:W,theme:H})=>s({stroke:"currentColor"},"determinate"===W.variant&&{transition:H.transitions.create("stroke-dashoffset")},"indeterminate"===W.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:W})=>"indeterminate"===W.variant&&!W.disableShrink&&kt(hd||(hd=bu` | |
| 101 | 101 | animation: ${0} 1.4s ease-in-out infinite; |
| 102 | - `),Nu)),Uu=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiCircularProgress"}),{className:Y,color:ie="primary",disableShrink:ce=!1,size:ue=40,style:de,thickness:pe=3.6,value:fe=0,variant:ke="indeterminate"}=W,Je=s(W,Mu),rt=a({},W,{color:ie,disableShrink:ce,size:ue,thickness:pe,value:fe,variant:ke}),st=(B=>{const{classes:H,variant:W,color:K,disableShrink:Y}=B;return U({root:["root",W,`color${Zi(K)}`],svg:["svg"],circle:["circle",`circle${Zi(W)}`,Y&&"circleDisableShrink"]},Xu,H)})(rt),at={},lt={},pt={};if("determinate"===ke){const B=2*Math.PI*((44-pe)/2);at.strokeDasharray=B.toFixed(3),pt["aria-valuenow"]=Math.round(fe),at.strokeDashoffset=`${((100-fe)/100*B).toFixed(3)}px`,lt.transform="rotate(-90deg)"}return K.jsx($u,a({className:V(st.root,Y),style:a({width:ue,height:ue},lt,de),ownerState:rt,ref:H,role:"progressbar"},pt,Je,{children:K.jsx(zu,{className:st.svg,ownerState:rt,viewBox:"22 22 44 44",children:K.jsx(Bu,{className:st.circle,style:at,ownerState:rt,cx:44,cy:44,r:(44-pe)/2,fill:"none",strokeWidth:pe})})}))}),Hu=Uu,Vu={color:"inherit",size:"1em"},qu=Y.forwardRef((B,H)=>Y.createElement(Hu,{...Vu,...B,ref:H}));qu.defaultProps=Vu;var Gu=qu;const Zu="rgba(0, 0, 0, 0.04)",Ku="rgba(0, 0, 0, 0.08)",Yu=sc(Ru)(({theme:B,ownerState:H})=>{const{color:W,unstableToColor:K,unstableGradientAngle:Y}=H,ie=W&&"inherit"!==W?W:"primary",ce=!!B.palette[ie]?.__unstableTonalMain,a=({variant:B})=>"unstableTonal"===B&&ce,l=({variant:B})=>!!B&&!["contained","outlined","text"].includes(B);return{variants:[{props:()=>H.loading&&"center"===H.loadingPosition,style:{"&.MuiButtonBase-root":{"&, &:hover, &:focus, &:active":{color:"transparent"}},"& .MuiButton-loadingWrapper":{display:"contents","& .MuiButton-loadingIndicator":{display:"flex",position:"absolute",left:"50%",transform:"translateX(-50%)",color:B.palette.action.disabled}}}},{props:B=>a(B)&&"inherit"!==B.color&&!B.disabled,style:{background:B.palette[ie]?.__unstableTonalMain,color:B.palette[ie].main,"&:hover":{backgroundColor:B.palette[ie]?.__unstableTonalDark}}},{props:B=>B.disabled&&l(B),style:{background:B.palette.action.disabledBackground,color:B.palette.action.disabled}},{props:B=>a(B)&&"inherit"===B.color,style:{background:Zu,color:"inherit","&:hover":{backgroundColor:Ku}}},{props:B=>"unstableTonal"===B.variant&&!ce,style:{background:"#ff0000",color:"#ff0000"}},{props:B=>"small"===B.size&&l(B),style:{padding:"4px 10px",fontSize:B.typography.pxToRem(13)}},{props:B=>"large"===B.size&&l(B),style:{padding:"8px 22px",fontSize:B.typography.pxToRem(15)}},{props:B=>(({variant:B})=>"unstableGradient"===B&&ce)(B)&&!B.disabled,style:_p(B,Y,W,K)},{props:B=>"unstableGradient"===B.variant&&!ce,style:{background:"#ff0000",color:"#ff0000"}}]}}),vp=(B="primary",H="text",W)=>{if(B)return"inherit"===B?"inherit":"contained"===H?`${B}.contrastText`:"unstableTonal"===H?`${B}.main`:W.palette.primary.__unstableAccessibleMain&&Sc.includes(B)?`${B}.${El}`:`${B}.main`},Ju={loading:!1,loadingIndicator:Y.createElement(Gu,{color:"inherit",size:16}),loadingPosition:"center"},Qu=Y.forwardRef((B,H)=>{const W={...Ju,...B},K=Y.useContext(_u),ie=ea(),{sx:ce={},unstableToColor:ue,unstableGradientAngle:de,...pe}=function(B){const{loading:H,loadingPosition:W,loadingIndicator:K,...ie}=B;if(!H)return ie;switch(W){case"start":ie.startIcon=K;break;case"end":ie.endIcon=K;break;case"center":ie.children=Y.createElement(xp,{loadingIndicator:K},B.children)}return{...ie,disabled:!0}}(W),fe={...pe,loading:W.loading,loadingPosition:W.loadingPosition,loadingIndicator:W.loadingIndicator,unstableToColor:ue,unstableGradientAngle:de};let ke={};const Je=pe.href?Ol:"&:hover,&:focus,&:active",rt=pe.color||K?.color,st=pe.variant||K?.variant;return ke={[Je]:{color:vp(rt,st,ie)}},Y.createElement(Yu,{...pe,color:rt,variant:st,sx:{...ke,...ce},ref:H,ownerState:fe})});var pd=Qu;function xp({loadingIndicator:B,children:H}){return Y.createElement(Y.Fragment,null,Y.createElement("div",{className:"MuiButton-loadingWrapper"},Y.createElement("div",{className:"MuiButton-loadingIndicator"},B)),H)}function _p(B,H,W,K){if(!W)return;const Y=W,ie=function(B,H){if(void 0!==H)return H;const{__unstableGradientAngle:W}=B.palette.action;return void 0!==W?W:125}(B,H);let{main:ce,__unstableTonalMain:ue,__unstableTonalDark:de}=B.palette[Y]||{};"inherit"===W&&(ce="inherit",ue=Zu,de=Ku);const pe=[ue],fe=[de];if(K){const H=K,{__unstableTonalMain:W,__unstableTonalDark:Y}=B.palette[H];pe.push(W),fe.push(Y)}return{color:ce,backgroundImage:`linear-gradient( ${ie}deg, ${pe.join(", ")} )`,"&:hover":{backgroundImage:`linear-gradient( ${ie}deg, ${fe.join(",")} )`}}}Qu.defaultProps=Ju;const Sp=B=>"string"==typeof B,kp=()=>{let B,H;const W=new Promise((W,K)=>{B=W,H=K});return W.resolve=B,W.reject=H,W},Cp=B=>null==B?"":""+B,hd=/###/g,Ep=B=>B&&B.indexOf("###")>-1?B.replace(hd,"."):B,Tp=B=>!B||Sp(B),Rp=(B,H,W)=>{const K=Sp(H)?H.split("."):H;let Y=0;for(;Y<K.length-1;){if(Tp(B))return{};const H=Ep(K[Y]);!B[H]&&W&&(B[H]=new W),B=Object.prototype.hasOwnProperty.call(B,H)?B[H]:{},++Y}return Tp(B)?{}:{obj:B,k:Ep(K[Y])}},Ip=(B,H,W)=>{const{obj:K,k:Y}=Rp(B,H,Object);if(void 0!==K||1===H.length)return void(K[Y]=W);let ie=H[H.length-1],ce=H.slice(0,H.length-1),ue=Rp(B,ce,Object);for(;void 0===ue.obj&&ce.length;)ie=`${ce[ce.length-1]}.${ie}`,ce=ce.slice(0,ce.length-1),ue=Rp(B,ce,Object),ue?.obj&&void 0!==ue.obj[`${ue.k}.${ie}`]&&(ue.obj=void 0);ue.obj[`${ue.k}.${ie}`]=W},Mp=(B,H)=>{const{obj:W,k:K}=Rp(B,H);if(W&&Object.prototype.hasOwnProperty.call(W,K))return W[K]},Ap=(B,H,W)=>{for(const K in H)"__proto__"!==K&&"constructor"!==K&&(K in B?Sp(B[K])||B[K]instanceof String||Sp(H[K])||H[K]instanceof String?W&&(B[K]=H[K]):Ap(B[K],H[K],W):B[K]=H[K]);return B},Pp=B=>B.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var fd={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const jp=B=>Sp(B)?B.replace(/[&<>"'\/]/g,B=>fd[B]):B,wd=[" ",",","?","!",";"],xd=new class{getRegExp(B){const H=this.regExpMap.get(B);if(void 0!==H)return H;const W=new RegExp(B);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(B,W),this.regExpQueue.push(B),W}constructor(B){this.capacity=B,this.regExpMap=new Map,this.regExpQueue=[]}}(20),Fp=(B,H,W=".")=>{if(!B)return;if(B[H]){if(!Object.prototype.hasOwnProperty.call(B,H))return;return B[H]}const K=H.split(W);let Y=B;for(let B=0;B<K.length;){if(!Y||"object"!=typeof Y)return;let H,ie="";for(let ce=B;ce<K.length;++ce)if(ce!==B&&(ie+=W),ie+=K[ce],H=Y[ie],void 0!==H){if(["string","number","boolean"].indexOf(typeof H)>-1&&ce<K.length-1)continue;B+=ce-B+1;break}Y=H}return Y},$p=B=>B?.replace(/_/g,"-"),Sd={type:"logger",log(B){this.output("log",B)},warn(B){this.output("warn",B)},error(B){this.output("error",B)},output(B,H){console?.[B]?.apply?.(console,H)}};class zp{init(B,H={}){this.prefix=H.prefix||"i18next:",this.logger=B||Sd,this.options=H,this.debug=H.debug}log(...B){return this.forward(B,"log","",!0)}warn(...B){return this.forward(B,"warn","",!0)}error(...B){return this.forward(B,"error","")}deprecate(...B){return this.forward(B,"warn","WARNING DEPRECATED: ",!0)}forward(B,H,W,K){return K&&!this.debug?null:(Sp(B[0])&&(B[0]=`${W}${this.prefix} ${B[0]}`),this.logger[H](B))}create(B){return new zp(this.logger,{prefix:`${this.prefix}:${B}:`,...this.options})}clone(B){return(B=B||this.options).prefix=B.prefix||this.prefix,new zp(this.logger,B)}constructor(B,H={}){this.init(B,H)}}var kd=new zp;class Up{on(B,H){return B.split(" ").forEach(B=>{this.observers[B]||(this.observers[B]=new Map);const W=this.observers[B].get(H)||0;this.observers[B].set(H,W+1)}),this}off(B,H){this.observers[B]&&(H?this.observers[B].delete(H):delete this.observers[B])}emit(B,...H){this.observers[B]&&Array.from(this.observers[B].entries()).forEach(([B,W])=>{for(let K=0;K<W;K++)B(...H)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([W,K])=>{for(let Y=0;Y<K;Y++)W.apply(W,[B,...H])})}constructor(){this.observers={}}}class qp extends Up{addNamespaces(B){this.options.ns.indexOf(B)<0&&this.options.ns.push(B)}removeNamespaces(B){const H=this.options.ns.indexOf(B);H>-1&&this.options.ns.splice(H,1)}getResource(B,H,W,K={}){const Y=void 0!==K.keySeparator?K.keySeparator:this.options.keySeparator,ie=void 0!==K.ignoreJSONStructure?K.ignoreJSONStructure:this.options.ignoreJSONStructure;let ce;B.indexOf(".")>-1?ce=B.split("."):(ce=[B,H],W&&(Array.isArray(W)?ce.push(...W):Sp(W)&&Y?ce.push(...W.split(Y)):ce.push(W)));const ue=Mp(this.data,ce);return!ue&&!H&&!W&&B.indexOf(".")>-1&&(B=ce[0],H=ce[1],W=ce.slice(2).join(".")),!ue&&ie&&Sp(W)?Fp(this.data?.[B]?.[H],W,Y):ue}addResource(B,H,W,K,Y={silent:!1}){const ie=void 0!==Y.keySeparator?Y.keySeparator:this.options.keySeparator;let ce=[B,H];W&&(ce=ce.concat(ie?W.split(ie):W)),B.indexOf(".")>-1&&(ce=B.split("."),K=H,H=ce[1]),this.addNamespaces(H),Ip(this.data,ce,K),Y.silent||this.emit("added",B,H,W,K)}addResources(B,H,W,K={silent:!1}){for(const K in W)(Sp(W[K])||Array.isArray(W[K]))&&this.addResource(B,H,K,W[K],{silent:!0});K.silent||this.emit("added",B,H,W)}addResourceBundle(B,H,W,K,Y,ie={silent:!1,skipCopy:!1}){let ce=[B,H];B.indexOf(".")>-1&&(ce=B.split("."),K=W,W=H,H=ce[1]),this.addNamespaces(H);let ue=Mp(this.data,ce)||{};ie.skipCopy||(W=JSON.parse(JSON.stringify(W))),K?Ap(ue,W,Y):ue={...ue,...W},Ip(this.data,ce,ue),ie.silent||this.emit("added",B,H,W)}removeResourceBundle(B,H){this.hasResourceBundle(B,H)&&delete this.data[B][H],this.removeNamespaces(H),this.emit("removed",B,H)}hasResourceBundle(B,H){return void 0!==this.getResource(B,H)}getResourceBundle(B,H){return H||(H=this.options.defaultNS),this.getResource(B,H)}getDataByLanguage(B){return this.data[B]}hasLanguageSomeTranslations(B){const H=this.getDataByLanguage(B);return!!(H&&Object.keys(H)||[]).find(B=>H[B]&&Object.keys(H[B]).length>0)}toJSON(){return this.data}constructor(B,H={ns:["translation"],defaultNS:"translation"}){super(),this.data=B||{},this.options=H,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}}var Cd={processors:{},addPostProcessor(B){this.processors[B.name]=B},handle(B,H,W,K,Y){return B.forEach(B=>{H=this.processors[B]?.process(H,W,K,Y)??H}),H}};const Od=Symbol("i18next/PATH_KEY");function Gp(B,H){const{[Od]:W}=B(function(){const B=[],H=Object.create(null);let W;return H.get=(K,Y)=>(W?.revoke?.(),Y===Od?B:(B.push(Y),W=Proxy.revocable(K,H),W.proxy)),Proxy.revocable(Object.create(null),H).proxy}()),K=H?.keySeparator??".",Y=H?.nsSeparator??":";if(W.length>1&&Y){const B=H?.ns;if((B?Array.isArray(B)?B:[B]:[]).includes(W[0]))return`${W[0]}${Y}${W.slice(1).join(K)}`}return W.join(K)}const Rd={},Yp=B=>!Sp(B)&&"boolean"!=typeof B&&"number"!=typeof B;class Zp extends Up{changeLanguage(B){B&&(this.language=B)}exists(B,H={interpolation:{}}){const W={...H};if(null==B)return!1;const K=this.resolve(B,W);if(void 0===K?.res)return!1;const Y=Yp(K.res);return!1!==W.returnObjects||!Y}extractFromKey(B,H){let W=void 0!==H.nsSeparator?H.nsSeparator:this.options.nsSeparator;void 0===W&&(W=":");const K=void 0!==H.keySeparator?H.keySeparator:this.options.keySeparator;let Y=H.ns||this.options.defaultNS||[];const ie=W&&B.indexOf(W)>-1,ce=!(this.options.userDefinedKeySeparator||H.keySeparator||this.options.userDefinedNsSeparator||H.nsSeparator||((B,H,W)=>{H=H||"",W=W||"";const K=wd.filter(B=>H.indexOf(B)<0&&W.indexOf(B)<0);if(0===K.length)return!0;const Y=xd.getRegExp(`(${K.map(B=>"?"===B?"\\?":B).join("|")})`);let ie=!Y.test(B);if(!ie){const H=B.indexOf(W);H>0&&!Y.test(B.substring(0,H))&&(ie=!0)}return ie})(B,W,K));if(ie&&!ce){const H=B.match(this.interpolator.nestingRegexp);if(H&&H.length>0)return{key:B,namespaces:Sp(Y)?[Y]:Y};const ie=B.split(W);(W!==K||W===K&&this.options.ns.indexOf(ie[0])>-1)&&(Y=ie.shift()),B=ie.join(K)}return{key:B,namespaces:Sp(Y)?[Y]:Y}}translate(B,H,W){let K="object"==typeof H?{...H}:H;if("object"!=typeof K&&this.options.overloadTranslationOptionHandler&&(K=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof K&&(K={...K}),K||(K={}),null==B)return"";"function"==typeof B&&(B=Gp(B,{...this.options,...K})),Array.isArray(B)||(B=[String(B)]);const Y=void 0!==K.returnDetails?K.returnDetails:this.options.returnDetails,ie=void 0!==K.keySeparator?K.keySeparator:this.options.keySeparator,{key:ce,namespaces:ue}=this.extractFromKey(B[B.length-1],K),de=ue[ue.length-1];let pe=void 0!==K.nsSeparator?K.nsSeparator:this.options.nsSeparator;void 0===pe&&(pe=":");const fe=K.lng||this.language,ke=K.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===fe?.toLowerCase())return ke?Y?{res:`${de}${pe}${ce}`,usedKey:ce,exactUsedKey:ce,usedLng:fe,usedNS:de,usedParams:this.getUsedParamsDetails(K)}:`${de}${pe}${ce}`:Y?{res:ce,usedKey:ce,exactUsedKey:ce,usedLng:fe,usedNS:de,usedParams:this.getUsedParamsDetails(K)}:ce;const Je=this.resolve(B,K);let rt=Je?.res;const st=Je?.usedKey||ce,at=Je?.exactUsedKey||ce,lt=void 0!==K.joinArrays?K.joinArrays:this.options.joinArrays,pt=!this.i18nFormat||this.i18nFormat.handleAsObject,ht=void 0!==K.count&&!Sp(K.count),mt=Zp.hasDefaultValue(K),vt=ht?this.pluralResolver.getSuffix(fe,K.count,K):"",yt=K.ordinal&&ht?this.pluralResolver.getSuffix(fe,K.count,{ordinal:!1}):"",bt=ht&&!K.ordinal&&0===K.count,wt=bt&&K[`defaultValue${this.options.pluralSeparator}zero`]||K[`defaultValue${vt}`]||K[`defaultValue${yt}`]||K.defaultValue;let xt=rt;pt&&!rt&&mt&&(xt=wt);const St=Yp(xt),kt=Object.prototype.toString.apply(xt);if(!(pt&&xt&&St&&["[object Number]","[object Function]","[object RegExp]"].indexOf(kt)<0)||Sp(lt)&&Array.isArray(xt))if(pt&&Sp(lt)&&Array.isArray(rt))rt=rt.join(lt),rt&&(rt=this.extendTranslation(rt,B,K,W));else{let H=!1,Y=!1;!this.isValidLookup(rt)&&mt&&(H=!0,rt=wt),this.isValidLookup(rt)||(Y=!0,rt=ce);const ue=(K.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&Y?void 0:rt,ke=mt&&wt!==rt&&this.options.updateMissing;if(Y||H||ke){if(this.logger.log(ke?"updateKey":"missingKey",fe,de,ce,ke?wt:rt),ie){const B=this.resolve(ce,{...K,keySeparator:!1});B&&B.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let B=[];const H=this.languageUtils.getFallbackCodes(this.options.fallbackLng,K.lng||this.language);if("fallback"===this.options.saveMissingTo&&H&&H[0])for(let W=0;W<H.length;W++)B.push(H[W]);else"all"===this.options.saveMissingTo?B=this.languageUtils.toResolveHierarchy(K.lng||this.language):B.push(K.lng||this.language);const r=(B,H,W)=>{const Y=mt&&W!==rt?W:ue;this.options.missingKeyHandler?this.options.missingKeyHandler(B,de,H,Y,ke,K):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(B,de,H,Y,ke,K),this.emit("missingKey",B,de,H,rt)};this.options.saveMissing&&(this.options.saveMissingPlurals&&ht?B.forEach(B=>{const H=this.pluralResolver.getSuffixes(B,K);bt&&K[`defaultValue${this.options.pluralSeparator}zero`]&&H.indexOf(`${this.options.pluralSeparator}zero`)<0&&H.push(`${this.options.pluralSeparator}zero`),H.forEach(H=>{r([B],ce+H,K[`defaultValue${H}`]||wt)})}):r(B,ce,wt))}rt=this.extendTranslation(rt,B,K,Je,W),Y&&rt===ce&&this.options.appendNamespaceToMissingKey&&(rt=`${de}${pe}${ce}`),(Y||H)&&this.options.parseMissingKeyHandler&&(rt=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${de}${pe}${ce}`:ce,H?rt:void 0,K))}else{if(!K.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const B=this.options.returnedObjectHandler?this.options.returnedObjectHandler(st,xt,{...K,ns:ue}):`key '${ce} (${this.language})' returned an object instead of string.`;return Y?(Je.res=B,Je.usedParams=this.getUsedParamsDetails(K),Je):B}if(ie){const B=Array.isArray(xt),H=B?[]:{},W=B?at:st;for(const B in xt)if(Object.prototype.hasOwnProperty.call(xt,B)){const Y=`${W}${ie}${B}`;H[B]=mt&&!rt?this.translate(Y,{...K,defaultValue:Yp(wt)?wt[B]:void 0,joinArrays:!1,ns:ue}):this.translate(Y,{...K,joinArrays:!1,ns:ue}),H[B]===Y&&(H[B]=xt[B])}rt=H}}return Y?(Je.res=rt,Je.usedParams=this.getUsedParamsDetails(K),Je):rt}extendTranslation(B,H,W,K,Y){if(this.i18nFormat?.parse)B=this.i18nFormat.parse(B,{...this.options.interpolation.defaultVariables,...W},W.lng||this.language||K.usedLng,K.usedNS,K.usedKey,{resolved:K});else if(!W.skipInterpolation){W.interpolation&&this.interpolator.init({...W,interpolation:{...this.options.interpolation,...W.interpolation}});const ie=Sp(B)&&(void 0!==W?.interpolation?.skipOnVariables?W.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let ce;if(ie){const H=B.match(this.interpolator.nestingRegexp);ce=H&&H.length}let ue=W.replace&&!Sp(W.replace)?W.replace:W;if(this.options.interpolation.defaultVariables&&(ue={...this.options.interpolation.defaultVariables,...ue}),B=this.interpolator.interpolate(B,ue,W.lng||this.language||K.usedLng,W),ie){const H=B.match(this.interpolator.nestingRegexp);ce<(H&&H.length)&&(W.nest=!1)}!W.lng&&K&&K.res&&(W.lng=this.language||K.usedLng),!1!==W.nest&&(B=this.interpolator.nest(B,(...B)=>Y?.[0]!==B[0]||W.context?this.translate(...B,H):(this.logger.warn(`It seems you are nesting recursively key: ${B[0]} in key: ${H[0]}`),null),W)),W.interpolation&&this.interpolator.reset()}const ie=W.postProcess||this.options.postProcess,ce=Sp(ie)?[ie]:ie;return null!=B&&ce?.length&&!1!==W.applyPostProcessor&&(B=Cd.handle(ce,B,H,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...K,usedParams:this.getUsedParamsDetails(W)},...W}:W,this)),B}resolve(B,H={}){let W,K,Y,ie,ce;return Sp(B)&&(B=[B]),B.forEach(B=>{if(this.isValidLookup(W))return;const ue=this.extractFromKey(B,H),de=ue.key;K=de;let pe=ue.namespaces;this.options.fallbackNS&&(pe=pe.concat(this.options.fallbackNS));const fe=void 0!==H.count&&!Sp(H.count),ke=fe&&!H.ordinal&&0===H.count,Je=void 0!==H.context&&(Sp(H.context)||"number"==typeof H.context)&&""!==H.context,rt=H.lngs?H.lngs:this.languageUtils.toResolveHierarchy(H.lng||this.language,H.fallbackLng);pe.forEach(B=>{this.isValidLookup(W)||(ce=B,Rd[`${rt[0]}-${B}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(ce)||(Rd[`${rt[0]}-${B}`]=!0,this.logger.warn(`key "${K}" for languages "${rt.join(", ")}" won't get resolved as namespace "${ce}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),rt.forEach(K=>{if(this.isValidLookup(W))return;ie=K;const ce=[de];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(ce,de,K,B,H);else{let B;fe&&(B=this.pluralResolver.getSuffix(K,H.count,H));const W=`${this.options.pluralSeparator}zero`,Y=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(fe&&(H.ordinal&&0===B.indexOf(Y)&&ce.push(de+B.replace(Y,this.options.pluralSeparator)),ce.push(de+B),ke&&ce.push(de+W)),Je){const K=`${de}${this.options.contextSeparator||"_"}${H.context}`;ce.push(K),fe&&(H.ordinal&&0===B.indexOf(Y)&&ce.push(K+B.replace(Y,this.options.pluralSeparator)),ce.push(K+B),ke&&ce.push(K+W))}}let ue;for(;ue=ce.pop();)this.isValidLookup(W)||(Y=ue,W=this.getResource(K,B,ue,H))}))})}),{res:W,usedKey:K,exactUsedKey:Y,usedLng:ie,usedNS:ce}}isValidLookup(B){return!(void 0===B||!this.options.returnNull&&null===B||!this.options.returnEmptyString&&""===B)}getResource(B,H,W,K={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(B,H,W,K):this.resourceStore.getResource(B,H,W,K)}getUsedParamsDetails(B={}){const H=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],W=B.replace&&!Sp(B.replace);let K=W?B.replace:B;if(W&&void 0!==B.count&&(K.count=B.count),this.options.interpolation.defaultVariables&&(K={...this.options.interpolation.defaultVariables,...K}),!W){K={...K};for(const B of H)delete K[B]}return K}static hasDefaultValue(B){for(const H in B)if(Object.prototype.hasOwnProperty.call(B,H)&&"defaultValue"===H.substring(0,12)&&void 0!==B[H])return!0;return!1}constructor(B,H={}){var W,K;super(),W=B,K=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(B=>{W[B]&&(K[B]=W[B])}),this.options=H,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=kd.create("translator")}}class Xp{getScriptPartFromCode(B){if(!(B=$p(B))||B.indexOf("-")<0)return null;const H=B.split("-");return 2===H.length?null:(H.pop(),"x"===H[H.length-1].toLowerCase()?null:this.formatLanguageCode(H.join("-")))}getLanguagePartFromCode(B){if(!(B=$p(B))||B.indexOf("-")<0)return B;const H=B.split("-");return this.formatLanguageCode(H[0])}formatLanguageCode(B){if(Sp(B)&&B.indexOf("-")>-1){let H;try{H=Intl.getCanonicalLocales(B)[0]}catch(B){}return H&&this.options.lowerCaseLng&&(H=H.toLowerCase()),H||(this.options.lowerCaseLng?B.toLowerCase():B)}return this.options.cleanCode||this.options.lowerCaseLng?B.toLowerCase():B}isSupportedCode(B){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(B=this.getLanguagePartFromCode(B)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(B)>-1}getBestMatchFromCodes(B){if(!B)return null;let H;return B.forEach(B=>{if(H)return;const W=this.formatLanguageCode(B);this.options.supportedLngs&&!this.isSupportedCode(W)||(H=W)}),!H&&this.options.supportedLngs&&B.forEach(B=>{if(H)return;const W=this.getScriptPartFromCode(B);if(this.isSupportedCode(W))return H=W;const K=this.getLanguagePartFromCode(B);if(this.isSupportedCode(K))return H=K;H=this.options.supportedLngs.find(B=>B===K?B:B.indexOf("-")<0&&K.indexOf("-")<0?void 0:B.indexOf("-")>0&&K.indexOf("-")<0&&B.substring(0,B.indexOf("-"))===K||0===B.indexOf(K)&&K.length>1?B:void 0)}),H||(H=this.getFallbackCodes(this.options.fallbackLng)[0]),H}getFallbackCodes(B,H){if(!B)return[];if("function"==typeof B&&(B=B(H)),Sp(B)&&(B=[B]),Array.isArray(B))return B;if(!H)return B.default||[];let W=B[H];return W||(W=B[this.getScriptPartFromCode(H)]),W||(W=B[this.formatLanguageCode(H)]),W||(W=B[this.getLanguagePartFromCode(H)]),W||(W=B.default),W||[]}toResolveHierarchy(B,H){const W=this.getFallbackCodes((!1===H?[]:H)||this.options.fallbackLng||[],B),K=[],o=B=>{B&&(this.isSupportedCode(B)?K.push(B):this.logger.warn(`rejecting language code not found in supportedLngs: ${B}`))};return Sp(B)&&(B.indexOf("-")>-1||B.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(B)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(B)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(B))):Sp(B)&&o(this.formatLanguageCode(B)),W.forEach(B=>{K.indexOf(B)<0&&o(this.formatLanguageCode(B))}),K}constructor(B){this.options=B,this.supportedLngs=this.options.supportedLngs||!1,this.logger=kd.create("languageUtils")}}const Id={zero:0,one:1,two:2,few:3,many:4,other:5},Ad={select:B=>1===B?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class ed{clearCache(){this.pluralRulesCache={}}getRule(B,H={}){const W=$p("dev"===B?"en":B),K=H.ordinal?"ordinal":"cardinal",Y=JSON.stringify({cleanedCode:W,type:K});if(Y in this.pluralRulesCache)return this.pluralRulesCache[Y];let ie;try{ie=new Intl.PluralRules(W,{type:K})}catch(W){if("undefined"==typeof Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Ad;if(!B.match(/-|_/))return Ad;const K=this.languageUtils.getLanguagePartFromCode(B);ie=this.getRule(K,H)}return this.pluralRulesCache[Y]=ie,ie}needsPlural(B,H={}){let W=this.getRule(B,H);return W||(W=this.getRule("dev",H)),W?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(B,H,W={}){return this.getSuffixes(B,W).map(B=>`${H}${B}`)}getSuffixes(B,H={}){let W=this.getRule(B,H);return W||(W=this.getRule("dev",H)),W?W.resolvedOptions().pluralCategories.sort((B,H)=>Id[B]-Id[H]).map(B=>`${this.options.prepend}${H.ordinal?`ordinal${this.options.prepend}`:""}${B}`):[]}getSuffix(B,H,W={}){const K=this.getRule(B,W);return K?`${this.options.prepend}${W.ordinal?`ordinal${this.options.prepend}`:""}${K.select(H)}`:(this.logger.warn(`no plural rule found for: ${B}`),this.getSuffix("dev",H,W))}constructor(B,H={}){this.languageUtils=B,this.options=H,this.logger=kd.create("pluralResolver"),this.pluralRulesCache={}}}const td=(B,H,W,K=".",Y=!0)=>{let ie=((B,H,W)=>{const K=Mp(B,W);return void 0!==K?K:Mp(H,W)})(B,H,W);return!ie&&Y&&Sp(W)&&(ie=Fp(B,W,K),void 0===ie&&(ie=Fp(H,W,K))),ie},rd=B=>B.replace(/\$/g,"$$$$");class nd{init(B={}){B.interpolation||(B.interpolation={escapeValue:!0});const{escape:H,escapeValue:W,useRawValueToEscape:K,prefix:Y,prefixEscaped:ie,suffix:ce,suffixEscaped:ue,formatSeparator:de,unescapeSuffix:pe,unescapePrefix:fe,nestingPrefix:ke,nestingPrefixEscaped:Je,nestingSuffix:rt,nestingSuffixEscaped:st,nestingOptionsSeparator:at,maxReplaces:lt,alwaysFormat:pt}=B.interpolation;this.escape=void 0!==H?H:jp,this.escapeValue=void 0===W||W,this.useRawValueToEscape=void 0!==K&&K,this.prefix=Y?Pp(Y):ie||"{{",this.suffix=ce?Pp(ce):ue||"}}",this.formatSeparator=de||",",this.unescapePrefix=pe?"":fe||"-",this.unescapeSuffix=this.unescapePrefix?"":pe||"",this.nestingPrefix=ke?Pp(ke):Je||Pp("$t("),this.nestingSuffix=rt?Pp(rt):st||Pp(")"),this.nestingOptionsSeparator=at||",",this.maxReplaces=lt||1e3,this.alwaysFormat=void 0!==pt&&pt,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(B,H)=>B?.source===H?(B.lastIndex=0,B):new RegExp(H,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(B,H,W,K){let Y,ie,ce;const ue=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=B=>{if(B.indexOf(this.formatSeparator)<0){const Y=td(H,ue,B,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(Y,void 0,W,{...K,...H,interpolationkey:B}):Y}const Y=B.split(this.formatSeparator),ie=Y.shift().trim(),ce=Y.join(this.formatSeparator).trim();return this.format(td(H,ue,ie,this.options.keySeparator,this.options.ignoreJSONStructure),ce,W,{...K,...H,interpolationkey:ie})};this.resetRegExp();const de=K?.missingInterpolationHandler||this.options.missingInterpolationHandler,pe=void 0!==K?.interpolation?.skipOnVariables?K.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:B=>rd(B)},{regex:this.regexp,safeValue:B=>this.escapeValue?rd(this.escape(B)):rd(B)}].forEach(H=>{for(ce=0;Y=H.regex.exec(B);){const W=Y[1].trim();if(ie=l(W),void 0===ie)if("function"==typeof de){const H=de(B,Y,K);ie=Sp(H)?H:""}else if(K&&Object.prototype.hasOwnProperty.call(K,W))ie="";else{if(pe){ie=Y[0];continue}this.logger.warn(`missed to pass in variable ${W} for interpolating ${B}`),ie=""}else Sp(ie)||this.useRawValueToEscape||(ie=Cp(ie));const ue=H.safeValue(ie);if(B=B.replace(Y[0],ue),pe?(H.regex.lastIndex+=ie.length,H.regex.lastIndex-=Y[0].length):H.regex.lastIndex=0,ce++,ce>=this.maxReplaces)break}}),B}nest(B,H,W={}){let K,Y,ie;const s=(B,H)=>{const W=this.nestingOptionsSeparator;if(B.indexOf(W)<0)return B;const K=B.split(new RegExp(`${Pp(W)}[ ]*{`));let Y=`{${K[1]}`;B=K[0],Y=this.interpolate(Y,ie);const ce=Y.match(/'/g),ue=Y.match(/"/g);((ce?.length??0)%2==0&&!ue||(ue?.length??0)%2!=0)&&(Y=Y.replace(/'/g,'"'));try{ie=JSON.parse(Y),H&&(ie={...H,...ie})}catch(H){return this.logger.warn(`failed parsing options string in nesting for key ${B}`,H),`${B}${W}${Y}`}return ie.defaultValue&&ie.defaultValue.indexOf(this.prefix)>-1&&delete ie.defaultValue,B};for(;K=this.nestingRegexp.exec(B);){let ce=[];ie={...W},ie=ie.replace&&!Sp(ie.replace)?ie.replace:ie,ie.applyPostProcessor=!1,delete ie.defaultValue;const ue=/{.*}/.test(K[1])?K[1].lastIndexOf("}")+1:K[1].indexOf(this.formatSeparator);if(-1!==ue&&(ce=K[1].slice(ue).split(this.formatSeparator).map(B=>B.trim()).filter(Boolean),K[1]=K[1].slice(0,ue)),Y=H(s.call(this,K[1].trim(),ie),ie),Y&&K[0]===B&&!Sp(Y))return Y;Sp(Y)||(Y=Cp(Y)),Y||(this.logger.warn(`missed to resolve ${K[1]} for nesting ${B}`),Y=""),ce.length&&(Y=ce.reduce((B,H)=>this.format(B,H,W.lng,{...W,interpolationkey:K[1].trim()}),Y.trim())),B=B.replace(K[0],Y),this.regexp.lastIndex=0}return B}constructor(B={}){this.logger=kd.create("interpolator"),this.options=B,this.format=B?.interpolation?.format||(B=>B),this.init(B)}}const od=B=>{const H={};return(W,K,Y)=>{let ie=Y;Y&&Y.interpolationkey&&Y.formatParams&&Y.formatParams[Y.interpolationkey]&&Y[Y.interpolationkey]&&(ie={...ie,[Y.interpolationkey]:void 0});const ce=K+JSON.stringify(ie);let ue=H[ce];return ue||(ue=B($p(K),Y),H[ce]=ue),ue(W)}},id=B=>(H,W,K)=>B($p(W),K)(H);class sd{init(B,H={interpolation:{}}){this.formatSeparator=H.interpolation.formatSeparator||",";const W=H.cacheInBuiltFormats?od:id;this.formats={number:W((B,H)=>{const W=new Intl.NumberFormat(B,{...H});return B=>W.format(B)}),currency:W((B,H)=>{const W=new Intl.NumberFormat(B,{...H,style:"currency"});return B=>W.format(B)}),datetime:W((B,H)=>{const W=new Intl.DateTimeFormat(B,{...H});return B=>W.format(B)}),relativetime:W((B,H)=>{const W=new Intl.RelativeTimeFormat(B,{...H});return B=>W.format(B,H.range||"day")}),list:W((B,H)=>{const W=new Intl.ListFormat(B,{...H});return B=>W.format(B)})}}add(B,H){this.formats[B.toLowerCase().trim()]=H}addCached(B,H){this.formats[B.toLowerCase().trim()]=od(H)}format(B,H,W,K={}){const Y=H.split(this.formatSeparator);if(Y.length>1&&Y[0].indexOf("(")>1&&Y[0].indexOf(")")<0&&Y.find(B=>B.indexOf(")")>-1)){const B=Y.findIndex(B=>B.indexOf(")")>-1);Y[0]=[Y[0],...Y.splice(1,B)].join(this.formatSeparator)}return Y.reduce((B,H)=>{const{formatName:Y,formatOptions:ie}=(B=>{let H=B.toLowerCase().trim();const W={};if(B.indexOf("(")>-1){const K=B.split("(");H=K[0].toLowerCase().trim();const Y=K[1].substring(0,K[1].length-1);"currency"===H&&Y.indexOf(":")<0?W.currency||(W.currency=Y.trim()):"relativetime"===H&&Y.indexOf(":")<0?W.range||(W.range=Y.trim()):Y.split(";").forEach(B=>{if(B){const[H,...K]=B.split(":"),Y=K.join(":").trim().replace(/^'+|'+$/g,""),ie=H.trim();W[ie]||(W[ie]=Y),"false"===Y&&(W[ie]=!1),"true"===Y&&(W[ie]=!0),isNaN(Y)||(W[ie]=parseInt(Y,10))}})}return{formatName:H,formatOptions:W}})(H);if(this.formats[Y]){let H=B;try{const ce=K?.formatParams?.[K.interpolationkey]||{},ue=ce.locale||ce.lng||K.locale||K.lng||W;H=this.formats[Y](B,ue,{...ie,...K,...ce})}catch(B){this.logger.warn(B)}return H}return this.logger.warn(`there was no format function for ${Y}`),B},B)}constructor(B={}){this.logger=kd.create("formatter"),this.options=B,this.init(B)}}class ad extends Up{queueLoad(B,H,W,K){const Y={},ie={},ce={},ue={};return B.forEach(B=>{let K=!0;H.forEach(H=>{const ce=`${B}|${H}`;!W.reload&&this.store.hasResourceBundle(B,H)?this.state[ce]=2:this.state[ce]<0||(1===this.state[ce]?void 0===ie[ce]&&(ie[ce]=!0):(this.state[ce]=1,K=!1,void 0===ie[ce]&&(ie[ce]=!0),void 0===Y[ce]&&(Y[ce]=!0),void 0===ue[H]&&(ue[H]=!0)))}),K||(ce[B]=!0)}),(Object.keys(Y).length||Object.keys(ie).length)&&this.queue.push({pending:ie,pendingCount:Object.keys(ie).length,loaded:{},errors:[],callback:K}),{toLoad:Object.keys(Y),pending:Object.keys(ie),toLoadLanguages:Object.keys(ce),toLoadNamespaces:Object.keys(ue)}}loaded(B,H,W){const K=B.split("|"),Y=K[0],ie=K[1];H&&this.emit("failedLoading",Y,ie,H),!H&&W&&this.store.addResourceBundle(Y,ie,W,void 0,void 0,{skipCopy:!0}),this.state[B]=H?-1:2,H&&W&&(this.state[B]=0);const ce={};this.queue.forEach(W=>{((B,H,W)=>{const{obj:K,k:Y}=Rp(B,H,Object);K[Y]=K[Y]||[],K[Y].push(W)})(W.loaded,[Y],ie),((B,H)=>{void 0!==B.pending[H]&&(delete B.pending[H],B.pendingCount--)})(W,B),H&&W.errors.push(H),0!==W.pendingCount||W.done||(Object.keys(W.loaded).forEach(B=>{ce[B]||(ce[B]={});const H=W.loaded[B];H.length&&H.forEach(H=>{void 0===ce[B][H]&&(ce[B][H]=!0)})}),W.done=!0,W.errors.length?W.callback(W.errors):W.callback())}),this.emit("loaded",ce),this.queue=this.queue.filter(B=>!B.done)}read(B,H,W,K=0,Y=this.retryTimeout,ie){if(!B.length)return ie(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:B,ns:H,fcName:W,tried:K,wait:Y,callback:ie});this.readingCalls++;const s=(ce,ue)=>{if(this.readingCalls--,this.waitingReads.length>0){const B=this.waitingReads.shift();this.read(B.lng,B.ns,B.fcName,B.tried,B.wait,B.callback)}ce&&ue&&K<this.maxRetries?setTimeout(()=>{this.read.call(this,B,H,W,K+1,2*Y,ie)},Y):ie(ce,ue)},ce=this.backend[W].bind(this.backend);if(2!==ce.length)return ce(B,H,s);try{const W=ce(B,H);W&&"function"==typeof W.then?W.then(B=>s(null,B)).catch(s):s(null,W)}catch(B){s(B)}}prepareLoading(B,H,W={},K){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),K&&K();Sp(B)&&(B=this.languageUtils.toResolveHierarchy(B)),Sp(H)&&(H=[H]);const Y=this.queueLoad(B,H,W,K);if(!Y.toLoad.length)return Y.pending.length||K(),null;Y.toLoad.forEach(B=>{this.loadOne(B)})}load(B,H,W){this.prepareLoading(B,H,{},W)}reload(B,H,W){this.prepareLoading(B,H,{reload:!0},W)}loadOne(B,H=""){const W=B.split("|"),K=W[0],Y=W[1];this.read(K,Y,"read",void 0,void 0,(W,ie)=>{W&&this.logger.warn(`${H}loading namespace ${Y} for language ${K} failed`,W),!W&&ie&&this.logger.log(`${H}loaded namespace ${Y} for language ${K}`,ie),this.loaded(B,W,ie)})}saveMissing(B,H,W,K,Y,ie={},ce=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(H)){if(null!=W&&""!==W){if(this.backend?.create){const ue={...ie,isUpdate:Y},de=this.backend.create.bind(this.backend);if(de.length<6)try{let Y;Y=5===de.length?de(B,H,W,K,ue):de(B,H,W,K),Y&&"function"==typeof Y.then?Y.then(B=>ce(null,B)).catch(ce):ce(null,Y)}catch(B){ce(B)}else de(B,H,W,K,ce,ue)}B&&B[0]&&this.store.addResource(B[0],H,W,K)}}else this.logger.warn(`did not save key "${W}" as the namespace "${H}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}constructor(B,H,W,K={}){super(),this.backend=B,this.store=H,this.services=W,this.languageUtils=W.languageUtils,this.options=K,this.logger=kd.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=K.maxParallelReads||10,this.readingCalls=0,this.maxRetries=K.maxRetries>=0?K.maxRetries:5,this.retryTimeout=K.retryTimeout>=1?K.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(W,K.backend,K)}}const ld=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:B=>{let H={};if("object"==typeof B[1]&&(H=B[1]),Sp(B[1])&&(H.defaultValue=B[1]),Sp(B[2])&&(H.tDescription=B[2]),"object"==typeof B[2]||"object"==typeof B[3]){const W=B[3]||B[2];Object.keys(W).forEach(B=>{H[B]=W[B]})}return H},interpolation:{escapeValue:!0,format:B=>B,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),cd=B=>(Sp(B.ns)&&(B.ns=[B.ns]),Sp(B.fallbackLng)&&(B.fallbackLng=[B.fallbackLng]),Sp(B.fallbackNS)&&(B.fallbackNS=[B.fallbackNS]),B.supportedLngs?.indexOf?.("cimode")<0&&(B.supportedLngs=B.supportedLngs.concat(["cimode"])),"boolean"==typeof B.initImmediate&&(B.initAsync=B.initImmediate),B),ud=()=>{},Td="__i18next_supportNoticeShown";class dd extends Up{init(B={},H){this.isInitializing=!0,"function"==typeof B&&(H=B,B={}),null==B.defaultNS&&B.ns&&(Sp(B.ns)?B.defaultNS=B.ns:B.ns.indexOf("translation")<0&&(B.defaultNS=B.ns[0]));const W=ld();var K;this.options={...W,...this.options,...cd(B)},this.options.interpolation={...W.interpolation,...this.options.interpolation},void 0!==B.keySeparator&&(this.options.userDefinedKeySeparator=B.keySeparator),void 0!==B.nsSeparator&&(this.options.userDefinedNsSeparator=B.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=W.overloadTranslationOptionHandler),!1===this.options.showSupportNotice||(K=this,K?.modules?.backend?.name?.indexOf("Locize")>0||K?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||K?.options?.backend?.backends&&K.options.backend.backends.some(B=>B?.name?.indexOf("Locize")>0||B?.constructor?.name?.indexOf("Locize")>0)||K?.options?.backend?.projectId||K?.options?.backend?.backendOptions&&K.options.backend.backendOptions.some(B=>B?.projectId))||"undefined"!=typeof globalThis&&globalThis[Td]||("undefined"!=typeof console&&void 0!==console.info&&console.info("🌐 i18next is maintained with support from Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),"undefined"!=typeof globalThis&&(globalThis[Td]=!0));const o=B=>B?"function"==typeof B?new B:B:null;if(!this.options.isClone){let B;this.modules.logger?kd.init(o(this.modules.logger),this.options):kd.init(null,this.options),B=this.modules.formatter?this.modules.formatter:sd;const H=new Xp(this.options);this.store=new qp(this.options.resources,this.options);const K=this.services;K.logger=kd,K.resourceStore=this.store,K.languageUtils=H,K.pluralResolver=new ed(H,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==W.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!B||this.options.interpolation.format&&this.options.interpolation.format!==W.interpolation.format||(K.formatter=o(B),K.formatter.init&&K.formatter.init(K,this.options),this.options.interpolation.format=K.formatter.format.bind(K.formatter)),K.interpolator=new nd(this.options),K.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},K.backendConnector=new ad(o(this.modules.backend),K.resourceStore,K,this.options),K.backendConnector.on("*",(B,...H)=>{this.emit(B,...H)}),this.modules.languageDetector&&(K.languageDetector=o(this.modules.languageDetector),K.languageDetector.init&&K.languageDetector.init(K,this.options.detection,this.options)),this.modules.i18nFormat&&(K.i18nFormat=o(this.modules.i18nFormat),K.i18nFormat.init&&K.i18nFormat.init(this)),this.translator=new Zp(this.services,this.options),this.translator.on("*",(B,...H)=>{this.emit(B,...H)}),this.modules.external.forEach(B=>{B.init&&B.init(this)})}if(this.format=this.options.interpolation.format,H||(H=ud),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const B=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);B.length>0&&"dev"!==B[0]&&(this.options.lng=B[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(B=>{this[B]=(...H)=>this.store[B](...H)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(B=>{this[B]=(...H)=>(this.store[B](...H),this)});const Y=kp(),s=()=>{const e=(B,W)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),Y.resolve(W),H(B,W)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?s():setTimeout(s,0),Y}loadResources(B,H=ud){let W=H;const K=Sp(B)?B:this.language;if("function"==typeof B&&(W=B),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===K?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return W();const B=[],t=H=>{H&&"cimode"!==H&&this.services.languageUtils.toResolveHierarchy(H).forEach(H=>{"cimode"!==H&&B.indexOf(H)<0&&B.push(H)})};K?t(K):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(B=>t(B)),this.options.preload?.forEach?.(B=>t(B)),this.services.backendConnector.load(B,this.options.ns,B=>{B||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),W(B)})}else W(null)}reloadResources(B,H,W){const K=kp();return"function"==typeof B&&(W=B,B=void 0),"function"==typeof H&&(W=H,H=void 0),B||(B=this.languages),H||(H=this.options.ns),W||(W=ud),this.services.backendConnector.reload(B,H,B=>{K.resolve(),W(B)}),K}use(B){if(!B)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!B.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===B.type&&(this.modules.backend=B),("logger"===B.type||B.log&&B.warn&&B.error)&&(this.modules.logger=B),"languageDetector"===B.type&&(this.modules.languageDetector=B),"i18nFormat"===B.type&&(this.modules.i18nFormat=B),"postProcessor"===B.type&&Cd.addPostProcessor(B),"formatter"===B.type&&(this.modules.formatter=B),"3rdParty"===B.type&&this.modules.external.push(B),this}setResolvedLanguage(B){if(B&&this.languages&&!(["cimode","dev"].indexOf(B)>-1)){for(let B=0;B<this.languages.length;B++){const H=this.languages[B];if(!(["cimode","dev"].indexOf(H)>-1)&&this.store.hasLanguageSomeTranslations(H)){this.resolvedLanguage=H;break}}!this.resolvedLanguage&&this.languages.indexOf(B)<0&&this.store.hasLanguageSomeTranslations(B)&&(this.resolvedLanguage=B,this.languages.unshift(B))}}changeLanguage(B,H){this.isLanguageChangingTo=B;const W=kp();this.emit("languageChanging",B);const n=B=>{this.language=B,this.languages=this.services.languageUtils.toResolveHierarchy(B),this.resolvedLanguage=void 0,this.setResolvedLanguage(B)},o=(K,Y)=>{Y?this.isLanguageChangingTo===B&&(n(Y),this.translator.changeLanguage(Y),this.isLanguageChangingTo=void 0,this.emit("languageChanged",Y),this.logger.log("languageChanged",Y)):this.isLanguageChangingTo=void 0,W.resolve((...B)=>this.t(...B)),H&&H(K,(...B)=>this.t(...B))},i=H=>{B||H||!this.services.languageDetector||(H=[]);const W=Sp(H)?H:H&&H[0],K=this.store.hasLanguageSomeTranslations(W)?W:this.services.languageUtils.getBestMatchFromCodes(Sp(H)?[H]:H);K&&(this.language||n(K),this.translator.language||this.translator.changeLanguage(K),this.services.languageDetector?.cacheUserLanguage?.(K)),this.loadResources(K,B=>{o(B,K)})};return B||!this.services.languageDetector||this.services.languageDetector.async?!B&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(i):this.services.languageDetector.detect(i):i(B):i(this.services.languageDetector.detect()),W}getFixedT(B,H,W){const n=(B,H,...K)=>{let Y;Y="object"!=typeof H?this.options.overloadTranslationOptionHandler([B,H].concat(K)):{...H},Y.lng=Y.lng||n.lng,Y.lngs=Y.lngs||n.lngs,Y.ns=Y.ns||n.ns,""!==Y.keyPrefix&&(Y.keyPrefix=Y.keyPrefix||W||n.keyPrefix);const ie=this.options.keySeparator||".";let ce;return Y.keyPrefix&&Array.isArray(B)?ce=B.map(B=>("function"==typeof B&&(B=Gp(B,{...this.options,...H})),`${Y.keyPrefix}${ie}${B}`)):("function"==typeof B&&(B=Gp(B,{...this.options,...H})),ce=Y.keyPrefix?`${Y.keyPrefix}${ie}${B}`:B),this.t(ce,Y)};return Sp(B)?n.lng=B:n.lngs=B,n.ns=H,n.keyPrefix=W,n}t(...B){return this.translator?.translate(...B)}exists(...B){return this.translator?.exists(...B)}setDefaultNamespace(B){this.options.defaultNS=B}hasLoadedNamespace(B,H={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const W=H.lng||this.resolvedLanguage||this.languages[0],K=!!this.options&&this.options.fallbackLng,Y=this.languages[this.languages.length-1];if("cimode"===W.toLowerCase())return!0;const i=(B,H)=>{const W=this.services.backendConnector.state[`${B}|${H}`];return-1===W||0===W||2===W};if(H.precheck){const B=H.precheck(this,i);if(void 0!==B)return B}return!(!this.hasResourceBundle(W,B)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!i(W,B)||K&&!i(Y,B)))}loadNamespaces(B,H){const W=kp();return this.options.ns?(Sp(B)&&(B=[B]),B.forEach(B=>{this.options.ns.indexOf(B)<0&&this.options.ns.push(B)}),this.loadResources(B=>{W.resolve(),H&&H(B)}),W):(H&&H(),Promise.resolve())}loadLanguages(B,H){const W=kp();Sp(B)&&(B=[B]);const K=this.options.preload||[],Y=B.filter(B=>K.indexOf(B)<0&&this.services.languageUtils.isSupportedCode(B));return Y.length?(this.options.preload=K.concat(Y),this.loadResources(B=>{W.resolve(),H&&H(B)}),W):(H&&H(),Promise.resolve())}dir(B){if(B||(B=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!B)return"rtl";try{const H=new Intl.Locale(B);if(H&&H.getTextInfo){const B=H.getTextInfo();if(B&&B.direction)return B.direction}}catch(B){}const H=this.services?.languageUtils||new Xp(ld());return B.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(H.getLanguagePartFromCode(B))>-1||B.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(B={},H){const W=new dd(B,H);return W.createInstance=dd.createInstance,W}cloneInstance(B={},H=ud){const W=B.forkResourceStore;W&&delete B.forkResourceStore;const K={...this.options,...B,isClone:!0},Y=new dd(K);if(void 0===B.debug&&void 0===B.prefix||(Y.logger=Y.logger.clone(B)),["store","services","language"].forEach(B=>{Y[B]=this[B]}),Y.services={...this.services},Y.services.utils={hasLoadedNamespace:Y.hasLoadedNamespace.bind(Y)},W){const B=Object.keys(this.store.data).reduce((B,H)=>(B[H]={...this.store.data[H]},B[H]=Object.keys(B[H]).reduce((W,K)=>(W[K]={...B[H][K]},W),B[H]),B),{});Y.store=new qp(B,K),Y.services.resourceStore=Y.store}if(B.interpolation){const H={...ld().interpolation,...this.options.interpolation,...B.interpolation},W={...K,interpolation:H};Y.services.interpolator=new nd(W)}return Y.translator=new Zp(Y.services,K),Y.translator.on("*",(B,...H)=>{Y.emit(B,...H)}),Y.init(K,H),Y.translator.options=K,Y.translator.backendConnector.services.utils={hasLoadedNamespace:Y.hasLoadedNamespace.bind(Y)},Y}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}constructor(B={},H){var W;if(super(),this.options=cd(B),this.services={},this.logger=kd,this.modules={external:[]},W=this,Object.getOwnPropertyNames(Object.getPrototypeOf(W)).forEach(B=>{"function"==typeof W[B]&&(W[B]=W[B].bind(W))}),H&&!this.isInitialized&&!B.isClone){if(!this.options.initAsync)return this.init(B,H),this;setTimeout(()=>{this.init(B,H)},0)}}}const Pd=dd.createInstance(),jd={},md=(B,H,W,K)=>{bd(W)&&jd[W]||(bd(W)&&(jd[W]=new Date),((B,H,W,K)=>{const Y=[W,{code:H,...K||{}}];if(B?.services?.logger?.forward)return B.services.logger.forward(Y,"warn","react-i18next::",!0);bd(Y[0])&&(Y[0]=`react-i18next:: ${Y[0]}`),B?.services?.logger?.warn?B.services.logger.warn(...Y):console?.warn&&console.warn(...Y)})(B,H,W,K))},gd=(B,H)=>()=>{if(B.isInitialized)H();else{const r=()=>{setTimeout(()=>{B.off("initialized",r)},0),H()};B.on("initialized",r)}},vd=(B,H,W)=>{B.loadNamespaces(H,gd(B,W))},yd=(B,H,W,K)=>{if(bd(W)&&(W=[W]),B.options.preload&&B.options.preload.indexOf(H)>-1)return vd(B,W,K);W.forEach(H=>{B.options.ns.indexOf(H)<0&&B.options.ns.push(H)}),B.loadLanguages(H,gd(B,K))},bd=B=>"string"==typeof B,Fd=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Nd={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},_d=B=>Nd[B];let Dd,Ud={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:B=>B.replace(Fd,_d),transDefaultProps:void 0};const Vd={type:"3rdParty",init(B){((B={})=>{Ud={...Ud,...B}})(B.options.react),(B=>{Dd=B})(B)}},Gd=Y.createContext();class Ed{addUsedNamespaces(B){B.forEach(B=>{this.usedNamespaces[B]||(this.usedNamespaces[B]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}constructor(){this.usedNamespaces={}}}var Xd,Zd={exports:{}},Kd={};var Yd;var Qd=function Ld(){return Yd||(Yd=1,Zd.exports=function Md(){if(Xd)return Kd;Xd=1;var B=Y,H="function"==typeof Object.is?Object.is:function(B,H){return B===H&&(0!==B||1/B==1/H)||B!=B&&H!=H},W=B.useState,K=B.useEffect,ie=B.useLayoutEffect,ce=B.useDebugValue;function a(B){var W=B.getSnapshot;B=B.value;try{var K=W();return!H(B,K)}catch(B){return!0}}var ue="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(B,H){return H()}:function(B,H){var Y=H(),ue=W({inst:{value:Y,getSnapshot:H}}),de=ue[0].inst,pe=ue[1];return ie(function(){de.value=Y,de.getSnapshot=H,a(de)&&pe({inst:de})},[B,Y,H]),K(function(){return a(de)&&pe({inst:de}),B(function(){a(de)&&pe({inst:de})})},[B]),ce(Y),Y};return Kd.useSyncExternalStore=void 0!==B.useSyncExternalStore?B.useSyncExternalStore:ue,Kd}()),Zd.exports}();const ep={t:(B,H)=>{return bd(H)?H:"object"==typeof(W=H)&&null!==W&&bd(H.defaultValue)?H.defaultValue:Array.isArray(B)?B[B.length-1]:B;var W},ready:!1},$d=()=>()=>{},Bd=(B,H={})=>{const{i18n:W}=H,{i18n:K,defaultNS:ie}=Y.useContext(Gd)||{},ce=W||K||Dd;ce&&!ce.reportNamespaces&&(ce.reportNamespaces=new Ed),ce||md(ce,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const ue=Y.useMemo(()=>({...Ud,...ce?.options?.react,...H}),[ce,H]),{useSuspense:de,keyPrefix:pe}=ue,fe=B||ie||ce?.options?.defaultNS,ke=bd(fe)?[fe]:fe||["translation"],Je=Y.useMemo(()=>ke,ke);ce?.reportNamespaces?.addUsedNamespaces?.(Je);const rt=Y.useRef(0),st=Y.useCallback(B=>{if(!ce)return $d;const{bindI18n:H,bindI18nStore:W}=ue,n=()=>{rt.current+=1,B()};return H&&ce.on(H,n),W&&ce.store.on(W,n),()=>{H&&H.split(" ").forEach(B=>ce.off(B,n)),W&&W.split(" ").forEach(B=>ce.store.off(B,n))}},[ce,ue]),at=Y.useRef(),lt=Y.useCallback(()=>{if(!ce)return ep;const B=!(!ce.isInitialized&&!ce.initializedStoreOnce)&&Je.every(B=>((B,H,W={})=>H.languages&&H.languages.length?H.hasLoadedNamespace(B,{lng:W.lng,precheck:(H,K)=>{if(W.bindI18n&&W.bindI18n.indexOf("languageChanging")>-1&&H.services.backendConnector.backend&&H.isLanguageChangingTo&&!K(H.isLanguageChangingTo,B))return!1}}):(md(H,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:H.languages}),!0))(B,ce,ue)),W=H.lng||ce.language,K=rt.current,Y=at.current;if(Y&&Y.ready===B&&Y.lng===W&&Y.keyPrefix===pe&&Y.revision===K)return Y;const ie={t:ce.getFixedT(W,"fallback"===ue.nsMode?Je:Je[0],pe),ready:B,lng:W,keyPrefix:pe,revision:K};return at.current=ie,ie},[ce,Je,pe,ue,H.lng]),[pt,ht]=Y.useState(0),{t:mt,ready:vt}=Qd.useSyncExternalStore(st,lt,lt);Y.useEffect(()=>{if(ce&&!vt&&!de){const e=()=>ht(B=>B+1);H.lng?yd(ce,H.lng,Je,e):vd(ce,Je,e)}},[ce,H.lng,Je,vt,de,pt]);const yt=ce||{},bt=Y.useRef(null),wt=Y.useRef(),k=B=>{const H=Object.getOwnPropertyDescriptors(B);H.__original&&delete H.__original;const W=Object.create(Object.getPrototypeOf(B),H);if(!Object.prototype.hasOwnProperty.call(W,"__original"))try{Object.defineProperty(W,"__original",{value:B,writable:!1,enumerable:!1,configurable:!1})}catch(B){}return W},xt=Y.useMemo(()=>{const B=yt,H=B?.language;let W=B;B&&(bt.current&&bt.current.__original===B?wt.current!==H?(W=k(B),bt.current=W,wt.current=H):W=bt.current:(W=k(B),bt.current=W,wt.current=H));const K=[mt,W,vt];return K.t=mt,K.i18n=W,K.ready=vt,K},[mt,yt,vt,yt.resolvedLanguage,yt.language,yt.languages]);if(ce&&de&&!vt)throw new Promise(B=>{const t=()=>B();H.lng?yd(ce,H.lng,Je,t):vd(ce,Je,t)});return xt};function zd(B){if("undefined"==typeof window)return B;const H=ce.useRef(null);return ce.useLayoutEffect(()=>{H.current=B}),ce.useCallback((...B)=>{var W;null===(W=H.current)||void 0===W||W.call(H,...B)},[])}const tp={},rp={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1};function qd({isOpen:B,anchorEl:H,anchorPosition:W,close:K,popupId:Y,onMouseLeave:ie,disableAutoFocus:ce,_openEventType:ue}){return{id:Y,anchorEl:H,anchorPosition:W,anchorReference:"contextmenu"===ue?"anchorPosition":"anchorEl",open:B,onClose:K,onMouseLeave:ie,...ce&&{autoFocus:!1,disableAutoFocusItem:!0,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function Wd(B,H){const{anchorEl:W,_childPopupState:K}=H;return Hd(W,B)||Hd(function(B,{popupId:H}){if(!H)return null;const W="function"==typeof B.getRootNode?B.getRootNode():document;return"function"==typeof W.getElementById?W.getElementById(H):null}(B,H),B)||null!=K&&Wd(B,K)}function Hd(B,H){if(!B)return!1;for(;H;){if(H===B)return!0;H=H.parentElement}return!1}let op=0;var ip,sp={exports:{}},ap={};var lp;(function nf(){return lp||(lp=1,sp.exports=function Jd(){if(ip)return ap;ip=1;var B,H=Symbol.for("react.element"),W=Symbol.for("react.portal"),K=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),ie=Symbol.for("react.profiler"),ce=Symbol.for("react.provider"),ue=Symbol.for("react.context"),de=Symbol.for("react.server_context"),pe=Symbol.for("react.forward_ref"),fe=Symbol.for("react.suspense"),ke=Symbol.for("react.suspense_list"),Je=Symbol.for("react.memo"),rt=Symbol.for("react.lazy"),st=Symbol.for("react.offscreen");function m(B){if("object"==typeof B&&null!==B){var st=B.$$typeof;switch(st){case H:switch(B=B.type){case K:case ie:case Y:case fe:case ke:return B;default:switch(B=B&&B.$$typeof){case de:case ue:case pe:case rt:case Je:case ce:return B;default:return st}}case W:return st}}}return B=Symbol.for("react.module.reference"),ap.ContextConsumer=ue,ap.ContextProvider=ce,ap.Element=H,ap.ForwardRef=pe,ap.Fragment=K,ap.Lazy=rt,ap.Memo=Je,ap.Portal=W,ap.Profiler=ie,ap.StrictMode=Y,ap.Suspense=fe,ap.SuspenseList=ke,ap.isAsyncMode=function(){return!1},ap.isConcurrentMode=function(){return!1},ap.isContextConsumer=function(B){return m(B)===ue},ap.isContextProvider=function(B){return m(B)===ce},ap.isElement=function(B){return"object"==typeof B&&null!==B&&B.$$typeof===H},ap.isForwardRef=function(B){return m(B)===pe},ap.isFragment=function(B){return m(B)===K},ap.isLazy=function(B){return m(B)===rt},ap.isMemo=function(B){return m(B)===Je},ap.isPortal=function(B){return m(B)===W},ap.isProfiler=function(B){return m(B)===ie},ap.isStrictMode=function(B){return m(B)===Y},ap.isSuspense=function(B){return m(B)===fe},ap.isSuspenseList=function(B){return m(B)===ke},ap.isValidElementType=function(H){return"string"==typeof H||"function"==typeof H||H===K||H===ie||H===Y||H===fe||H===ke||H===st||"object"==typeof H&&null!==H&&(H.$$typeof===rt||H.$$typeof===Je||H.$$typeof===ce||H.$$typeof===ue||H.$$typeof===pe||H.$$typeof===B||void 0!==H.getModuleId)},ap.typeOf=m,ap}()),sp.exports})();function sf(B){return"string"==typeof B}function af(B,H,W){return void 0===B||sf(B)?H:a({},H,{ownerState:a({},H.ownerState,W)})}const cp=ce.createContext({disableDefaultClasses:!1});function uf(B,H=[]){if(void 0===B)return{};const W={};return Object.keys(B).filter(W=>W.match(/^on[A-Z]/)&&"function"==typeof B[W]&&!H.includes(W)).forEach(H=>{W[H]=B[H]}),W}function pf(B,H,W){return"function"==typeof B?B(H,W):B}const up=(st.element,()=>null);up.isRequired=(st.element.isRequired,()=>null);function yf(...B){return B.reduce((B,H)=>null==H?B:function(...W){B.apply(this,W),H.apply(this,W)},()=>{})}function bf(B,H=166){let W;function n(...K){clearTimeout(W),W=setTimeout(()=>{B.apply(this,K)},H)}return n.clear=()=>{clearTimeout(W)},n}function wf(B,H){var W,K;return ce.isValidElement(B)&&-1!==H.indexOf(null!=(W=B.type.muiName)?W:null==(K=B.type)||null==(K=K._payload)||null==(K=K.value)?void 0:K.muiName)}function xf(B){return B&&B.ownerDocument||document}function _f(B){return xf(B).defaultView||window}let dp=0;const pp=ce["useId".toString()];function Cf(B){if(void 0!==pp){const H=pp();return null!=B?B:H}return function(B){const[H,W]=ce.useState(B),K=B||H;return ce.useEffect(()=>{null==H&&(dp+=1,W(`mui-${dp}`))},[H]),K}(B)}function Of({controlled:B,default:H,name:W,state:K="value"}){const{current:Y}=ce.useRef(void 0!==B),[ie,ue]=ce.useState(H);return[Y?B:ie,ce.useCallback(B=>{Y||ue(B)},[])]}function Ef(B){const H=B.documentElement.clientWidth;return Math.abs(window.innerWidth-H)}const Tf=B=>{const H=ce.useRef({});return ce.useEffect(()=>{H.current=B}),H.current};function Rf(B){if(void 0===B)return{};const H={};return Object.keys(B).filter(H=>!(H.match(/^on[A-Z]/)&&"function"==typeof B[H])).forEach(W=>{H[W]=B[W]}),H}function If(B){const{getSlotProps:H,additionalProps:W,externalSlotProps:K,externalForwardedProps:Y,className:ie}=B;if(!H){const B=V(null==W?void 0:W.className,ie,null==Y?void 0:Y.className,null==K?void 0:K.className),H=a({},null==W?void 0:W.style,null==Y?void 0:Y.style,null==K?void 0:K.style),ce=a({},W,Y,K);return B.length>0&&(ce.className=B),Object.keys(H).length>0&&(ce.style=H),{props:ce,internalRef:void 0}}const ce=uf(a({},Y,K)),ue=Rf(K),de=Rf(Y),pe=H(ce),fe=V(null==pe?void 0:pe.className,null==W?void 0:W.className,ie,null==Y?void 0:Y.className,null==K?void 0:K.className),ke=a({},null==pe?void 0:pe.style,null==W?void 0:W.style,null==Y?void 0:Y.style,null==K?void 0:K.style),Je=a({},pe,W,de,ue);return fe.length>0&&(Je.className=fe),Object.keys(ke).length>0&&(Je.style=ke),{props:Je,internalRef:pe.ref}}const hp=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Af(B){var H;const{elementType:W,externalSlotProps:K,ownerState:Y,skipResolvingSlotProps:ie=!1}=B,ce=s(B,hp),ue=ie?{}:pf(K,Y),{props:de,internalRef:pe}=If(a({},ce,{externalSlotProps:ue}));return af(W,a({},de,{ref:Fa(pe,null==ue?void 0:ue.ref,null==(H=B.additionalProps)?void 0:H.ref)}),Y)}const fp=ce.createContext({});function jf(B){return Mo("MuiList",B)}ta("MuiList",["root","padding","dense","subheader"]);const mp=["children","className","component","dense","disablePadding","subheader"],gp=Ti("ul",{name:"MuiList",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,!W.disablePadding&&H.padding,W.dense&&H.dense,W.subheader&&H.subheader]}})(({ownerState:B})=>a({listStyle:"none",margin:0,padding:0,position:"relative"},!B.disablePadding&&{paddingTop:8,paddingBottom:8},B.subheader&&{paddingTop:0})),yp=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiList"}),{children:Y,className:ie,component:ue="ul",dense:de=!1,disablePadding:pe=!1,subheader:fe}=W,ke=s(W,mp),Je=ce.useMemo(()=>({dense:de}),[de]),rt=a({},W,{component:ue,dense:de,disablePadding:pe}),st=(B=>{const{classes:H,disablePadding:W,dense:K,subheader:Y}=B;return U({root:["root",!W&&"padding",K&&"dense",Y&&"subheader"]},jf,H)})(rt);return K.jsx(fp.Provider,{value:Je,children:K.jsxs(gp,a({as:ue,className:V(st.root,ie),ref:H,ownerState:rt},ke,{children:[fe,Y]}))})}),bp=yp,wp=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function zf(B,H,W){return B===H?B.firstChild:H&&H.nextElementSibling?H.nextElementSibling:W?null:B.firstChild}function Vf(B,H,W){return B===H?W?B.firstChild:B.lastChild:H&&H.previousElementSibling?H.previousElementSibling:W?null:B.lastChild}function Uf(B,H){if(void 0===H)return!0;let W=B.innerText;return void 0===W&&(W=B.textContent),W=W.trim().toLowerCase(),0!==W.length&&(H.repeating?W[0]===H.keys[0]:0===W.indexOf(H.keys.join("")))}function qf(B,H,W,K,Y,ie){let ce=!1,ue=Y(B,H,!!H&&W);for(;ue;){if(ue===B.firstChild){if(ce)return!1;ce=!0}const H=!K&&(ue.disabled||"true"===ue.getAttribute("aria-disabled"));if(ue.hasAttribute("tabindex")&&Uf(ue,ie)&&!H)return ue.focus(),!0;ue=Y(B,ue,W)}return!1}const Op=ce.forwardRef(function(B,H){const{actions:W,autoFocus:Y=!1,autoFocusItem:ie=!1,children:ue,className:de,disabledItemsFocusable:pe=!1,disableListWrap:fe=!1,onKeyDown:ke,variant:Je="selectedMenu"}=B,rt=s(B,wp),st=ce.useRef(null),at=ce.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});_a(()=>{Y&&st.current.focus()},[Y]),ce.useImperativeHandle(W,()=>({adjustStyleForScrollbar:(B,{direction:H})=>{const W=!st.current.style.width;if(B.clientHeight<st.current.clientHeight&&W){const W=`${Ef(xf(B))}px`;st.current.style["rtl"===H?"paddingLeft":"paddingRight"]=W,st.current.style.width=`calc(100% + ${W})`}return st.current}}),[]);const lt=Fa(st,H);let pt=-1;ce.Children.forEach(ue,(B,H)=>{ce.isValidElement(B)?(B.props.disabled||("selectedMenu"===Je&&B.props.selected||-1===pt)&&(pt=H),pt===H&&(B.props.disabled||B.props.muiSkipListHighlight||B.type.muiSkipListHighlight)&&(pt+=1,pt>=ue.length&&(pt=-1))):pt===H&&(pt+=1,pt>=ue.length&&(pt=-1))});const ht=ce.Children.map(ue,(B,H)=>{if(H===pt){const H={};return ie&&(H.autoFocus=!0),void 0===B.props.tabIndex&&"selectedMenu"===Je&&(H.tabIndex=0),ce.cloneElement(B,H)}return B});return K.jsx(bp,a({role:"menu",ref:lt,className:de,onKeyDown:B=>{const H=st.current,W=B.key,K=xf(H).activeElement;if("ArrowDown"===W)B.preventDefault(),qf(H,K,fe,pe,zf);else if("ArrowUp"===W)B.preventDefault(),qf(H,K,fe,pe,Vf);else if("Home"===W)B.preventDefault(),qf(H,null,fe,pe,zf);else if("End"===W)B.preventDefault(),qf(H,null,fe,pe,Vf);else if(1===W.length){const Y=at.current,ie=W.toLowerCase(),ce=performance.now();Y.keys.length>0&&(ce-Y.lastTime>500?(Y.keys=[],Y.repeating=!0,Y.previousKeyMatched=!0):Y.repeating&&ie!==Y.keys[0]&&(Y.repeating=!1)),Y.lastTime=ce,Y.keys.push(ie);const ue=K&&!Y.repeating&&Uf(K,Y);Y.previousKeyMatched&&(ue||qf(H,K,!1,pe,zf,Y))?B.preventDefault():Y.previousKeyMatched=!1}ke&&ke(B)},tabIndex:Y?0:-1},rt,{children:ht}))}),Lp=Op;function Gf(B,H){var W,K;const{timeout:Y,easing:ie,style:ce={}}=B;return{duration:null!=(W=ce.transitionDuration)?W:"number"==typeof Y?Y:Y[H.mode]||0,easing:null!=(K=ce.transitionTimingFunction)?K:"object"==typeof ie?ie[H.mode]:ie,delay:ce.transitionDelay}}const Np=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Yf(B){return`scale(${B}, ${B**2})`}const Dp={entering:{opacity:1,transform:Yf(1)},entered:{opacity:1,transform:"none"}},Bp="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Hp=ce.forwardRef(function(B,H){const{addEndListener:W,appear:Y=!0,children:ie,easing:ue,in:de,onEnter:pe,onEntered:fe,onEntering:ke,onExit:Je,onExited:rt,onExiting:st,style:at,timeout:lt="auto",TransitionComponent:pt=Na}=B,ht=s(B,Np),mt=qa(),vt=ce.useRef(),yt=ea(),bt=ce.useRef(null),wt=Fa(bt,ie.ref,H),O=B=>H=>{if(B){const W=bt.current;void 0===H?B(W):B(W,H)}},xt=O(ke),St=O((B,H)=>{const{duration:W,delay:K,easing:Y}=Gf({style:at,timeout:lt,easing:ue},{mode:"enter"});let ie;"auto"===lt?(ie=yt.transitions.getAutoHeightDuration(B.clientHeight),vt.current=ie):ie=W,B.style.transition=[yt.transitions.create("opacity",{duration:ie,delay:K}),yt.transitions.create("transform",{duration:Bp?ie:.666*ie,delay:K,easing:Y})].join(","),pe&&pe(B,H)}),kt=O(fe),Et=O(st),At=O(B=>{const{duration:H,delay:W,easing:K}=Gf({style:at,timeout:lt,easing:ue},{mode:"exit"});let Y;"auto"===lt?(Y=yt.transitions.getAutoHeightDuration(B.clientHeight),vt.current=Y):Y=H,B.style.transition=[yt.transitions.create("opacity",{duration:Y,delay:W}),yt.transitions.create("transform",{duration:Bp?Y:.666*Y,delay:Bp?W:W||.333*Y,easing:K})].join(","),B.style.opacity=0,B.style.transform=Yf(.75),Je&&Je(B)}),Pt=O(rt);return K.jsx(pt,a({appear:Y,in:de,nodeRef:bt,onEnter:St,onEntered:kt,onEntering:xt,onExit:At,onExited:Pt,onExiting:Et,addEndListener:B=>{"auto"===lt&&mt.start(vt.current||0,B),W&&W(bt.current,B)},timeout:"auto"===lt?null:lt},ht,{children:(B,H)=>ce.cloneElement(ie,a({style:a({opacity:0,transform:Yf(.75),visibility:"exited"!==B||de?void 0:"hidden"},Dp[B],at,ie.props.style),ref:wt},H))}))});Hp.muiSupportAuto=!0;const Vp=Hp;function eh(B,H){H?B.setAttribute("aria-hidden","true"):B.removeAttribute("aria-hidden")}function th(B){return parseInt(_f(B).getComputedStyle(B).paddingRight,10)||0}function rh(B,H,W,K,Y){const ie=[H,W,...K];[].forEach.call(B.children,B=>{const H=-1===ie.indexOf(B),W=!function(B){const H=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(B.tagName),W="INPUT"===B.tagName&&"hidden"===B.getAttribute("type");return H||W}(B);H&&W&&eh(B,Y)})}function nh(B,H){let W=-1;return B.some((B,K)=>!!H(B)&&(W=K,!0)),W}const Wp=new class{add(B,H){let W=this.modals.indexOf(B);if(-1!==W)return W;W=this.modals.length,this.modals.push(B),B.modalRef&&eh(B.modalRef,!1);const K=function(B){const H=[];return[].forEach.call(B.children,B=>{"true"===B.getAttribute("aria-hidden")&&H.push(B)}),H}(H);rh(H,B.mount,B.modalRef,K,!0);const Y=nh(this.containers,B=>B.container===H);return-1!==Y?(this.containers[Y].modals.push(B),W):(this.containers.push({modals:[B],container:H,restore:null,hiddenSiblings:K}),W)}mount(B,H){const W=nh(this.containers,H=>-1!==H.modals.indexOf(B)),K=this.containers[W];K.restore||(K.restore=function(B,H){const W=[],K=B.container;if(!H.disableScrollLock){if(function(B){const H=xf(B);return H.body===B?_f(B).innerWidth>H.documentElement.clientWidth:B.scrollHeight>B.clientHeight}(K)){const B=Ef(xf(K));W.push({value:K.style.paddingRight,property:"padding-right",el:K}),K.style.paddingRight=`${th(K)+B}px`;const H=xf(K).querySelectorAll(".mui-fixed");[].forEach.call(H,H=>{W.push({value:H.style.paddingRight,property:"padding-right",el:H}),H.style.paddingRight=`${th(H)+B}px`})}let B;if(K.parentNode instanceof DocumentFragment)B=xf(K).body;else{const H=K.parentElement,W=_f(K);B="HTML"===(null==H?void 0:H.nodeName)&&"scroll"===W.getComputedStyle(H).overflowY?H:K}W.push({value:B.style.overflow,property:"overflow",el:B},{value:B.style.overflowX,property:"overflow-x",el:B},{value:B.style.overflowY,property:"overflow-y",el:B}),B.style.overflow="hidden"}return()=>{W.forEach(({value:B,el:H,property:W})=>{B?H.style.setProperty(W,B):H.style.removeProperty(W)})}}(K,H))}remove(B,H=!0){const W=this.modals.indexOf(B);if(-1===W)return W;const K=nh(this.containers,H=>-1!==H.modals.indexOf(B)),Y=this.containers[K];if(Y.modals.splice(Y.modals.indexOf(B),1),this.modals.splice(W,1),0===Y.modals.length)Y.restore&&Y.restore(),B.modalRef&&eh(B.modalRef,H),rh(Y.container,B.mount,B.modalRef,Y.hiddenSiblings,!1),this.containers.splice(K,1);else{const B=Y.modals[Y.modals.length-1];B.modalRef&&eh(B.modalRef,!1)}return W}isTopModal(B){return this.modals.length>0&&this.modals[this.modals.length-1]===B}constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}},Kp=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function sh(B){const H=[],W=[];return Array.from(B.querySelectorAll(Kp)).forEach((B,K)=>{const Y=function(B){const H=parseInt(B.getAttribute("tabindex")||"",10);return Number.isNaN(H)?"true"===B.contentEditable||("AUDIO"===B.nodeName||"VIDEO"===B.nodeName||"DETAILS"===B.nodeName)&&null===B.getAttribute("tabindex")?0:B.tabIndex:H}(B);-1!==Y&&function(B){return!(B.disabled||"INPUT"===B.tagName&&"hidden"===B.type||function(B){if("INPUT"!==B.tagName||"radio"!==B.type)return!1;if(!B.name)return!1;const t=H=>B.ownerDocument.querySelector(`input[type="radio"]${H}`);let H=t(`[name="${B.name}"]:checked`);return H||(H=t(`[name="${B.name}"]`)),H!==B}(B))}(B)&&(0===Y?H.push(B):W.push({documentOrder:K,tabIndex:Y,node:B}))}),W.sort((B,H)=>B.tabIndex===H.tabIndex?B.documentOrder-H.documentOrder:B.tabIndex-H.tabIndex).map(B=>B.node).concat(H)}function ah(){return!0}function lh(B){const{children:H,disableAutoFocus:W=!1,disableEnforceFocus:Y=!1,disableRestoreFocus:ie=!1,getTabbable:ue=sh,isEnabled:de=ah,open:pe}=B,fe=ce.useRef(!1),ke=ce.useRef(null),Je=ce.useRef(null),rt=ce.useRef(null),st=ce.useRef(null),at=ce.useRef(!1),lt=ce.useRef(null),pt=Fa(H.ref,lt),ht=ce.useRef(null);ce.useEffect(()=>{pe&<.current&&(at.current=!W)},[W,pe]),ce.useEffect(()=>{if(!pe||!lt.current)return;const B=xf(lt.current);return lt.current.contains(B.activeElement)||(lt.current.hasAttribute("tabIndex")||lt.current.setAttribute("tabIndex","-1"),at.current&<.current.focus()),()=>{ie||(rt.current&&rt.current.focus&&(fe.current=!0,rt.current.focus()),rt.current=null)}},[pe]),ce.useEffect(()=>{if(!pe||!lt.current)return;const B=xf(lt.current),t=H=>{ht.current=H,!Y&&de()&&"Tab"===H.key&&B.activeElement===lt.current&&H.shiftKey&&(fe.current=!0,Je.current&&Je.current.focus())},r=()=>{const H=lt.current;if(null===H)return;if(!B.hasFocus()||!de()||fe.current)return void(fe.current=!1);if(H.contains(B.activeElement))return;if(Y&&B.activeElement!==ke.current&&B.activeElement!==Je.current)return;if(B.activeElement!==st.current)st.current=null;else if(null!==st.current)return;if(!at.current)return;let W=[];if(B.activeElement!==ke.current&&B.activeElement!==Je.current||(W=ue(lt.current)),W.length>0){var K,ie;const B=Boolean((null==(K=ht.current)?void 0:K.shiftKey)&&"Tab"===(null==(ie=ht.current)?void 0:ie.key)),H=W[0],Y=W[W.length-1];"string"!=typeof H&&"string"!=typeof Y&&(B?Y.focus():H.focus())}else H.focus()};B.addEventListener("focusin",r),B.addEventListener("keydown",t,!0);const H=setInterval(()=>{B.activeElement&&"BODY"===B.activeElement.tagName&&r()},50);return()=>{clearInterval(H),B.removeEventListener("focusin",r),B.removeEventListener("keydown",t,!0)}},[W,Y,ie,de,pe,ue]);const b=B=>{null===rt.current&&(rt.current=B.relatedTarget),at.current=!0};return K.jsxs(ce.Fragment,{children:[K.jsx("div",{tabIndex:pe?0:-1,onFocus:b,ref:ke,"data-testid":"sentinelStart"}),ce.cloneElement(H,{ref:pt,onFocus:B=>{null===rt.current&&(rt.current=B.relatedTarget),at.current=!0,st.current=B.target;const W=H.props.onFocus;W&&W(B)}}),K.jsx("div",{tabIndex:pe?0:-1,onFocus:b,ref:Je,"data-testid":"sentinelEnd"})]})}const Jp=ce.forwardRef(function(B,H){const{children:W,container:Y,disablePortal:ie=!1}=B,[de,pe]=ce.useState(null),fe=Fa(ce.isValidElement(W)?W.ref:null,H);if(_a(()=>{ie||pe(function(B){return"function"==typeof B?B():B}(Y)||document.body)},[Y,ie]),_a(()=>{if(de&&!ie)return Da(H,de),()=>{Da(H,null)}},[H,de,ie]),ie){if(ce.isValidElement(W)){const B={ref:fe};return ce.cloneElement(W,B)}return K.jsx(ce.Fragment,{children:W})}return K.jsx(ce.Fragment,{children:de?ue.createPortal(W,de):de})}),Qp=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],oh={entering:{opacity:1},entered:{opacity:1}},ih=ce.forwardRef(function(B,H){const W=ea(),Y={enter:W.transitions.duration.enteringScreen,exit:W.transitions.duration.leavingScreen},{addEndListener:ie,appear:ue=!0,children:de,easing:pe,in:fe,onEnter:ke,onEntered:Je,onEntering:rt,onExit:st,onExited:at,onExiting:lt,style:pt,timeout:ht=Y,TransitionComponent:mt=Na}=B,vt=s(B,Qp),yt=ce.useRef(null),bt=Fa(yt,de.ref,H),C=B=>H=>{if(B){const W=yt.current;void 0===H?B(W):B(W,H)}},wt=C(rt),xt=C((B,H)=>{const K=Gf({style:pt,timeout:ht,easing:pe},{mode:"enter"});B.style.webkitTransition=W.transitions.create("opacity",K),B.style.transition=W.transitions.create("opacity",K),ke&&ke(B,H)}),St=C(Je),kt=C(lt),Et=C(B=>{const H=Gf({style:pt,timeout:ht,easing:pe},{mode:"exit"});B.style.webkitTransition=W.transitions.create("opacity",H),B.style.transition=W.transitions.create("opacity",H),st&&st(B)}),At=C(at);return K.jsx(mt,a({appear:ue,in:fe,nodeRef:yt,onEnter:xt,onEntered:St,onEntering:wt,onExit:Et,onExited:At,onExiting:kt,addEndListener:B=>{ie&&ie(yt.current,B)},timeout:ht},vt,{children:(B,H)=>ce.cloneElement(de,a({style:a({opacity:0,visibility:"exited"!==B||fe?void 0:"hidden"},oh[B],pt,de.props.style),ref:bt},H))}))}),ch=ih;function hh(B){return Mo("MuiBackdrop",B)}ta("MuiBackdrop",["root","invisible"]);const uh=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],dh=Ti("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,W.invisible&&H.invisible]}})(({ownerState:B})=>a({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},B.invisible&&{backgroundColor:"transparent"})),ph=ce.forwardRef(function(B,H){var W,Y,ie;const ce=Yi({props:B,name:"MuiBackdrop"}),{children:ue,className:de,component:pe="div",components:fe={},componentsProps:ke={},invisible:Je=!1,open:rt,slotProps:st={},slots:at={},TransitionComponent:lt=ch,transitionDuration:pt}=ce,ht=s(ce,uh),mt=a({},ce,{component:pe,invisible:Je}),vt=(B=>{const{classes:H,invisible:W}=B;return U({root:["root",W&&"invisible"]},hh,H)})(mt),yt=null!=(W=st.root)?W:ke.root;return K.jsx(lt,a({in:rt,timeout:pt},ht,{children:K.jsx(dh,a({"aria-hidden":!0},yt,{as:null!=(Y=null!=(ie=at.root)?ie:fe.Root)?Y:pe,className:V(vt.root,de,null==yt?void 0:yt.className),ownerState:a({},mt,null==yt?void 0:yt.ownerState),classes:vt,ref:H,children:ue}))}))}),fh=ph;function bh(B){return Mo("MuiModal",B)}ta("MuiModal",["root","hidden","backdrop"]);const mh=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],gh=Ti("div",{name:"MuiModal",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,!W.open&&W.exited&&H.hidden]}})(({theme:B,ownerState:H})=>a({position:"fixed",zIndex:(B.vars||B).zIndex.modal,right:0,bottom:0,top:0,left:0},!H.open&&H.exited&&{visibility:"hidden"})),vh=Ti(fh,{name:"MuiModal",slot:"Backdrop",overridesResolver:(B,H)=>H.backdrop})({zIndex:-1}),yh=ce.forwardRef(function(B,H){var W,Y,ie,ue,de,pe;const fe=Yi({name:"MuiModal",props:B}),{BackdropComponent:ke=vh,BackdropProps:Je,className:rt,closeAfterTransition:st=!1,children:at,container:lt,component:pt,components:ht={},componentsProps:mt={},disableAutoFocus:vt=!1,disableEnforceFocus:yt=!1,disableEscapeKeyDown:bt=!1,disablePortal:wt=!1,disableRestoreFocus:xt=!1,disableScrollLock:St=!1,hideBackdrop:kt=!1,keepMounted:Et=!1,onBackdropClick:At,open:Pt,slotProps:Lt,slots:jt}=fe,Ft=s(fe,mh),Nt=a({},fe,{closeAfterTransition:st,disableAutoFocus:vt,disableEnforceFocus:yt,disableEscapeKeyDown:bt,disablePortal:wt,disableRestoreFocus:xt,disableScrollLock:St,hideBackdrop:kt,keepMounted:Et}),{getRootProps:Dt,getBackdropProps:$t,getTransitionProps:zt,portalRef:Bt,isTopModal:Vt,exited:Xt,hasTransition:Jt}=function(B){const{container:H,disableEscapeKeyDown:W=!1,disableScrollLock:K=!1,manager:Y=Wp,closeAfterTransition:ie=!1,onTransitionEnter:ue,onTransitionExited:de,children:pe,onClose:fe,open:ke,rootRef:Je}=B,rt=ce.useRef({}),st=ce.useRef(null),at=ce.useRef(null),lt=Fa(at,Je),[pt,ht]=ce.useState(!ke),mt=function(B){return!!B&&B.props.hasOwnProperty("in")}(pe);let vt=!0;"false"!==B["aria-hidden"]&&!1!==B["aria-hidden"]||(vt=!1);const _=()=>(rt.current.modalRef=at.current,rt.current.mount=st.current,rt.current),S=()=>{Y.mount(_(),{disableScrollLock:K}),at.current&&(at.current.scrollTop=0)},yt=Ba(()=>{const B=function(B){return"function"==typeof B?B():B}(H)||xf(st.current).body;Y.add(_(),B),at.current&&S()}),bt=ce.useCallback(()=>Y.isTopModal(_()),[Y]),wt=Ba(B=>{st.current=B,B&&(ke&&bt()?S():at.current&&eh(at.current,vt))}),xt=ce.useCallback(()=>{Y.remove(_(),vt)},[vt,Y]);ce.useEffect(()=>()=>{xt()},[xt]),ce.useEffect(()=>{ke?yt():mt&&ie||xt()},[ke,xt,mt,ie,yt]);const T=B=>H=>{var K;null==(K=B.onKeyDown)||K.call(B,H),"Escape"===H.key&&229!==H.which&&bt()&&(W||(H.stopPropagation(),fe&&fe(H,"escapeKeyDown")))},R=B=>H=>{var W;null==(W=B.onClick)||W.call(B,H),H.target===H.currentTarget&&fe&&fe(H,"backdropClick")};return{getRootProps:(H={})=>{const W=uf(B);delete W.onTransitionEnter,delete W.onTransitionExited;const K=a({},W,H);return a({role:"presentation"},K,{onKeyDown:T(K),ref:lt})},getBackdropProps:(B={})=>a({"aria-hidden":!0},B,{onClick:R(B),open:ke}),getTransitionProps:()=>({onEnter:yf(()=>{ht(!1),ue&&ue()},null==pe?void 0:pe.props.onEnter),onExited:yf(()=>{ht(!0),de&&de(),ie&&xt()},null==pe?void 0:pe.props.onExited)}),rootRef:lt,portalRef:wt,isTopModal:bt,exited:pt,hasTransition:mt}}(a({},Nt,{rootRef:H})),Qt=a({},Nt,{exited:Xt}),er=(B=>{const{open:H,exited:W,classes:K}=B;return U({root:["root",!H&&W&&"hidden"],backdrop:["backdrop"]},bh,K)})(Qt),tr={};if(void 0===at.props.tabIndex&&(tr.tabIndex="-1"),Jt){const{onEnter:B,onExited:H}=zt();tr.onEnter=B,tr.onExited=H}const rr=null!=(W=null!=(Y=null==jt?void 0:jt.root)?Y:ht.Root)?W:gh,Er=null!=(ie=null!=(ue=null==jt?void 0:jt.backdrop)?ue:ht.Backdrop)?ie:ke,Mr=null!=(de=null==Lt?void 0:Lt.root)?de:mt.root,Ar=null!=(pe=null==Lt?void 0:Lt.backdrop)?pe:mt.backdrop,Fr=Af({elementType:rr,externalSlotProps:Mr,externalForwardedProps:Ft,getSlotProps:Dt,additionalProps:{ref:H,as:pt},ownerState:Qt,className:V(rt,null==Mr?void 0:Mr.className,null==er?void 0:er.root,!Qt.open&&Qt.exited&&(null==er?void 0:er.hidden))}),Dr=Af({elementType:Er,externalSlotProps:Ar,additionalProps:Je,getSlotProps:B=>$t(a({},B,{onClick:H=>{At&&At(H),null!=B&&B.onClick&&B.onClick(H)}})),className:V(null==Ar?void 0:Ar.className,null==Je?void 0:Je.className,null==er?void 0:er.backdrop),ownerState:Qt});return Et||Pt||Jt&&!Xt?K.jsx(Jp,{ref:Bt,container:lt,disablePortal:wt,children:K.jsxs(rr,a({},Fr,{children:[!kt&&ke?K.jsx(Er,a({},Dr)):null,K.jsx(lh,{disableEnforceFocus:yt,disableAutoFocus:vt,disableRestoreFocus:xt,isEnabled:Vt,open:Pt,children:ce.cloneElement(at,tr)})]}))}):null}),wh=yh;function Ch(B){return Mo("MuiPopover",B)}ta("MuiPopover",["root","paper"]);const _h=["onEntering"],xh=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Sh=["slotProps"];function Rh(B,H){let W=0;return"number"==typeof H?W=H:"center"===H?W=B.height/2:"bottom"===H&&(W=B.height),W}function Ih(B,H){let W=0;return"number"==typeof H?W=H:"center"===H?W=B.width/2:"right"===H&&(W=B.width),W}function Mh(B){return[B.horizontal,B.vertical].map(B=>"number"==typeof B?`${B}px`:B).join(" ")}function Ah(B){return"function"==typeof B?B():B}const kh=Ti(wh,{name:"MuiPopover",slot:"Root",overridesResolver:(B,H)=>H.root})({}),Oh=Ti(Ls,{name:"MuiPopover",slot:"Paper",overridesResolver:(B,H)=>H.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Eh=ce.forwardRef(function(B,H){var W,Y,ie;const ue=Yi({props:B,name:"MuiPopover"}),{action:de,anchorEl:pe,anchorOrigin:fe={vertical:"top",horizontal:"left"},anchorPosition:ke,anchorReference:Je="anchorEl",children:rt,className:st,container:at,elevation:lt=8,marginThreshold:pt=16,open:ht,PaperProps:mt={},slots:vt,slotProps:yt,transformOrigin:bt={vertical:"top",horizontal:"left"},TransitionComponent:wt=Vp,transitionDuration:xt="auto",TransitionProps:{onEntering:St}={},disableScrollLock:kt=!1}=ue,Et=s(ue.TransitionProps,_h),At=s(ue,xh),Pt=null!=(W=null==yt?void 0:yt.paper)?W:mt,Lt=ce.useRef(),jt=Fa(Lt,Pt.ref),Ft=a({},ue,{anchorOrigin:fe,anchorReference:Je,elevation:lt,marginThreshold:pt,externalPaperSlotProps:Pt,transformOrigin:bt,TransitionComponent:wt,transitionDuration:xt,TransitionProps:Et}),Nt=(B=>{const{classes:H}=B;return U({root:["root"],paper:["paper"]},Ch,H)})(Ft),Dt=ce.useCallback(()=>{if("anchorPosition"===Je)return ke;const B=Ah(pe),H=(B&&1===B.nodeType?B:xf(Lt.current).body).getBoundingClientRect();return{top:H.top+Rh(H,fe.vertical),left:H.left+Ih(H,fe.horizontal)}},[pe,fe.horizontal,fe.vertical,ke,Je]),$t=ce.useCallback(B=>({vertical:Rh(B,bt.vertical),horizontal:Ih(B,bt.horizontal)}),[bt.horizontal,bt.vertical]),zt=ce.useCallback(B=>{const H={width:B.offsetWidth,height:B.offsetHeight},W=$t(H);if("none"===Je)return{top:null,left:null,transformOrigin:Mh(W)};const K=Dt();let Y=K.top-W.vertical,ie=K.left-W.horizontal;const ce=Y+H.height,ue=ie+H.width,de=_f(Ah(pe)),fe=de.innerHeight-pt,ke=de.innerWidth-pt;if(null!==pt&&Y<pt){const B=Y-pt;Y-=B,W.vertical+=B}else if(null!==pt&&ce>fe){const B=ce-fe;Y-=B,W.vertical+=B}if(null!==pt&&ie<pt){const B=ie-pt;ie-=B,W.horizontal+=B}else if(ue>ke){const B=ue-ke;ie-=B,W.horizontal+=B}return{top:`${Math.round(Y)}px`,left:`${Math.round(ie)}px`,transformOrigin:Mh(W)}},[pe,Je,Dt,$t,pt]),[Bt,Vt]=ce.useState(ht),Xt=ce.useCallback(()=>{const B=Lt.current;if(!B)return;const H=zt(B);null!==H.top&&(B.style.top=H.top),null!==H.left&&(B.style.left=H.left),B.style.transformOrigin=H.transformOrigin,Vt(!0)},[zt]);ce.useEffect(()=>(kt&&window.addEventListener("scroll",Xt),()=>window.removeEventListener("scroll",Xt)),[pe,kt,Xt]),ce.useEffect(()=>{ht&&Xt()}),ce.useImperativeHandle(de,()=>ht?{updatePosition:()=>{Xt()}}:null,[ht,Xt]),ce.useEffect(()=>{if(!ht)return;const B=bf(()=>{Xt()}),H=_f(pe);return H.addEventListener("resize",B),()=>{B.clear(),H.removeEventListener("resize",B)}},[pe,ht,Xt]);let Jt=xt;"auto"!==xt||wt.muiSupportAuto||(Jt=void 0);const Qt=at||(pe?xf(Ah(pe)).body:void 0),er=null!=(Y=null==vt?void 0:vt.root)?Y:kh,tr=null!=(ie=null==vt?void 0:vt.paper)?ie:Oh,rr=Af({elementType:tr,externalSlotProps:a({},Pt,{style:Bt?Pt.style:a({},Pt.style,{opacity:0})}),additionalProps:{elevation:lt,ref:jt},ownerState:Ft,className:V(Nt.paper,null==Pt?void 0:Pt.className)}),Er=Af({elementType:er,externalSlotProps:(null==yt?void 0:yt.root)||{},externalForwardedProps:At,additionalProps:{ref:H,slotProps:{backdrop:{invisible:!0}},container:Qt,open:ht},ownerState:Ft,className:V(Nt.root,st)}),{slotProps:Mr}=Er,Ar=s(Er,Sh);return K.jsx(er,a({},Ar,!sf(er)&&{slotProps:Mr,disableScrollLock:kt},{children:K.jsx(wt,a({appear:!0,in:ht,onEntering:(B,H)=>{St&&St(B,H),Xt()},onExited:()=>{Vt(!1)},timeout:Jt},Et,{children:K.jsx(tr,a({},rr,{children:rt}))}))}))}),Th=Eh;function Dh(B){return Mo("MuiMenu",B)}ta("MuiMenu",["root","paper","list"]);const Ph=["onEntering"],Lh=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],jh={vertical:"top",horizontal:"right"},Fh={vertical:"top",horizontal:"left"},Nh=Ti(Th,{shouldForwardProp:B=>zi(B)||"classes"===B,name:"MuiMenu",slot:"Root",overridesResolver:(B,H)=>H.root})({}),$h=Ti(Oh,{name:"MuiMenu",slot:"Paper",overridesResolver:(B,H)=>H.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),zh=Ti(Lp,{name:"MuiMenu",slot:"List",overridesResolver:(B,H)=>H.list})({outline:0}),Bh=ce.forwardRef(function(B,H){var W,Y;const ie=Yi({props:B,name:"MuiMenu"}),{autoFocus:ue=!0,children:de,className:pe,disableAutoFocusItem:fe=!1,MenuListProps:ke={},onClose:Je,open:rt,PaperProps:st={},PopoverClasses:at,transitionDuration:lt="auto",TransitionProps:{onEntering:pt}={},variant:ht="selectedMenu",slots:mt={},slotProps:vt={}}=ie,yt=s(ie.TransitionProps,Ph),bt=s(ie,Lh),wt=Vs(),xt=a({},ie,{autoFocus:ue,disableAutoFocusItem:fe,MenuListProps:ke,onEntering:pt,PaperProps:st,transitionDuration:lt,TransitionProps:yt,variant:ht}),St=(B=>{const{classes:H}=B;return U({root:["root"],paper:["paper"],list:["list"]},Dh,H)})(xt),kt=ue&&!fe&&rt,Et=ce.useRef(null);let At=-1;ce.Children.map(de,(B,H)=>{ce.isValidElement(B)&&(B.props.disabled||("selectedMenu"===ht&&B.props.selected||-1===At)&&(At=H))});const Pt=null!=(W=mt.paper)?W:$h,Lt=null!=(Y=vt.paper)?Y:st,jt=Af({elementType:mt.root,externalSlotProps:vt.root,ownerState:xt,className:[St.root,pe]}),Ft=Af({elementType:Pt,externalSlotProps:Lt,ownerState:xt,className:St.paper});return K.jsx(Nh,a({onClose:Je,anchorOrigin:{vertical:"bottom",horizontal:wt?"right":"left"},transformOrigin:wt?jh:Fh,slots:{paper:Pt,root:mt.root},slotProps:{root:jt,paper:Ft},open:rt,ref:H,transitionDuration:lt,TransitionProps:a({onEntering:(B,H)=>{Et.current&&Et.current.adjustStyleForScrollbar(B,{direction:wt?"rtl":"ltr"}),pt&&pt(B,H)}},yt),ownerState:xt},bt,{classes:at,children:K.jsx(zh,a({onKeyDown:B=>{"Tab"===B.key&&(B.preventDefault(),Je&&Je(B,"tabKeyDown"))},actions:Et,autoFocus:ue&&(-1===At||fe),autoFocusItem:kt,variant:ht},ke,{className:V(St.list,ke.className),children:de}))}))}),Uh=Bh;var Hh=Y.forwardRef((B,H)=>{const{direction:W}=ea(),K={...B};return"rtl"===W&&(K.anchorOrigin?.horizontal&&(K.anchorOrigin={...K.anchorOrigin,horizontal:"left"===K.anchorOrigin.horizontal?"right":"left"}),K.transformOrigin?.horizontal&&(K.transformOrigin={...K.transformOrigin,horizontal:"left"===K.transformOrigin.horizontal?"right":"left"})),Y.createElement(Th,{...K,ref:H})});const Vh={elevation:6},qh=Y.forwardRef((B,H)=>Y.createElement(Uh,{as:Hh,...Vh,...B,ref:H}));qh.defaultProps=Vh;var Wh=qh;function Xh(B){return Mo("MuiListItemIcon",B)}const Gh=ta("MuiListItemIcon",["root","alignItemsFlexStart"]),Zh=["className"],Kh=Ti("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,"flex-start"===W.alignItems&&H.alignItemsFlexStart]}})(({theme:B,ownerState:H})=>a({minWidth:56,color:(B.vars||B).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===H.alignItems&&{marginTop:8})),Yh=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiListItemIcon"}),{className:Y}=W,ie=s(W,Zh),ue=a({},W,{alignItems:ce.useContext(fp).alignItems}),de=(B=>{const{alignItems:H,classes:W}=B;return U({root:["root","flex-start"===H&&"alignItemsFlexStart"]},Xh,W)})(ue);return K.jsx(Kh,a({className:V(de.root,Y),ownerState:ue,ref:H},ie))}),Jh=Yh;function nm(B){return Mo("MuiListItemText",B)}const Qh=ta("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),ef=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],tf=Ti("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[{[`& .${Qh.primary}`]:H.primary},{[`& .${Qh.secondary}`]:H.secondary},H.root,W.inset&&H.inset,W.primary&&W.secondary&&H.multiline,W.dense&&H.dense]}})(({ownerState:B})=>a({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},B.primary&&B.secondary&&{marginTop:6,marginBottom:6},B.inset&&{paddingLeft:56})),rf=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiListItemText"}),{children:Y,className:ie,disableTypography:ue=!1,inset:de=!1,primary:pe,primaryTypographyProps:fe,secondary:ke,secondaryTypographyProps:Je}=W,rt=s(W,ef),{dense:st}=ce.useContext(fp);let at=null!=pe?pe:Y,lt=ke;const pt=a({},W,{disableTypography:ue,inset:de,primary:!!at,secondary:!!lt,dense:st}),ht=(B=>{const{classes:H,inset:W,primary:K,secondary:Y,dense:ie}=B;return U({root:["root",W&&"inset",ie&&"dense",K&&Y&&"multiline"],primary:["primary"],secondary:["secondary"]},nm,H)})(pt);return null==at||at.type===ga||ue||(at=K.jsx(ga,a({variant:st?"body2":"body1",className:ht.primary,component:null!=fe&&fe.variant?void 0:"span",display:"block"},fe,{children:at}))),null==lt||lt.type===ga||ue||(lt=K.jsx(ga,a({variant:"body2",className:ht.secondary,color:"text.secondary",display:"block"},Je,{children:lt}))),K.jsxs(tf,a({className:V(ht.root,ie),ownerState:pt,ref:H},rt,{children:[at,lt]}))}),of=rf;function cm(B){return Mo("MuiMenuItem",B)}const lf=ta("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),cf=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],df=Ti(bl,{shouldForwardProp:B=>zi(B)||"classes"===B,name:"MuiMenuItem",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,W.dense&&H.dense,W.divider&&H.divider,!W.disableGutters&&H.gutters]}})(({theme:B,ownerState:H})=>a({},B.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!H.disableGutters&&{paddingLeft:16,paddingRight:16},H.divider&&{borderBottom:`1px solid ${(B.vars||B).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(B.vars||B).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${lf.selected}`]:{backgroundColor:B.vars?`rgba(${B.vars.palette.primary.mainChannel} / ${B.vars.palette.action.selectedOpacity})`:li.alpha(B.palette.primary.main,B.palette.action.selectedOpacity),[`&.${lf.focusVisible}`]:{backgroundColor:B.vars?`rgba(${B.vars.palette.primary.mainChannel} / calc(${B.vars.palette.action.selectedOpacity} + ${B.vars.palette.action.focusOpacity}))`:li.alpha(B.palette.primary.main,B.palette.action.selectedOpacity+B.palette.action.focusOpacity)}},[`&.${lf.selected}:hover`]:{backgroundColor:B.vars?`rgba(${B.vars.palette.primary.mainChannel} / calc(${B.vars.palette.action.selectedOpacity} + ${B.vars.palette.action.hoverOpacity}))`:li.alpha(B.palette.primary.main,B.palette.action.selectedOpacity+B.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:B.vars?`rgba(${B.vars.palette.primary.mainChannel} / ${B.vars.palette.action.selectedOpacity})`:li.alpha(B.palette.primary.main,B.palette.action.selectedOpacity)}},[`&.${lf.focusVisible}`]:{backgroundColor:(B.vars||B).palette.action.focus},[`&.${lf.disabled}`]:{opacity:(B.vars||B).palette.action.disabledOpacity},[`& + .${au.root}`]:{marginTop:B.spacing(1),marginBottom:B.spacing(1)},[`& + .${au.inset}`]:{marginLeft:52},[`& .${Qh.root}`]:{marginTop:0,marginBottom:0},[`& .${Qh.inset}`]:{paddingLeft:36},[`& .${Gh.root}`]:{minWidth:36}},!H.dense&&{[B.breakpoints.up("sm")]:{minHeight:"auto"}},H.dense&&a({minHeight:32,paddingTop:4,paddingBottom:4},B.typography.body2,{[`& .${Gh.root} svg`]:{fontSize:"1.25rem"}}))),hf=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiMenuItem"}),{autoFocus:Y=!1,component:ie="li",dense:ue=!1,divider:de=!1,disableGutters:pe=!1,focusVisibleClassName:fe,role:ke="menuitem",tabIndex:Je,className:rt}=W,st=s(W,cf),at=ce.useContext(fp),lt=ce.useMemo(()=>({dense:ue||at.dense||!1,disableGutters:pe}),[at.dense,ue,pe]),pt=ce.useRef(null);_a(()=>{Y&&pt.current&&pt.current.focus()},[Y]);const ht=a({},W,{dense:lt.dense,divider:de,disableGutters:pe}),mt=(B=>{const{disabled:H,dense:W,divider:K,disableGutters:Y,selected:ie,classes:ce}=B;return a({},ce,U({root:["root",W&&"dense",H&&"disabled",!Y&&"gutters",K&&"divider",ie&&"selected"]},cm,ce))})(W),vt=Fa(pt,H);let yt;return W.disabled||(yt=void 0!==Je?Je:-1),K.jsx(fp.Provider,{value:lt,children:K.jsx(df,a({ref:vt,role:ke,tabIndex:yt,component:ie,focusVisibleClassName:V(mt.focusVisible,fe),className:V(mt.root,rt)},st,{ownerState:ht,classes:mt}))})}),ff=hf;var mf=Y.forwardRef((B,H)=>Y.createElement(ff,{...B,ref:H})),gf=Y.forwardRef((B,H)=>Y.createElement(Jh,{...B,ref:H})),vf=Y.forwardRef((B,H)=>Y.createElement(of,{...B,ref:H})),Sf=ce.forwardRef((B,H)=>ce.createElement(ou,{viewBox:"0 0 24 24",...B,ref:H},ce.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4C14 3.58579 14.3358 3.25 14.75 3.25H19.75C20.1642 3.25 20.5 3.58579 20.5 4V9C20.5 9.41421 20.1642 9.75 19.75 9.75C19.3358 9.75 19 9.41421 19 9V5.81066L10.2803 14.5303C9.98744 14.8232 9.51256 14.8232 9.21967 14.5303C8.92678 14.2374 8.92678 13.7626 9.21967 13.4697L17.9393 4.75H14.75C14.3358 4.75 14 4.41421 14 4ZM3.80546 7.05546C4.32118 6.53973 5.02065 6.25 5.75 6.25H10.75C11.1642 6.25 11.5 6.58579 11.5 7C11.5 7.41421 11.1642 7.75 10.75 7.75H5.75C5.41848 7.75 5.10054 7.8817 4.86612 8.11612C4.6317 8.35054 4.5 8.66848 4.5 9V18C4.5 18.3315 4.6317 18.6495 4.86612 18.8839C5.10054 19.1183 5.41848 19.25 5.75 19.25H14.75C15.0815 19.25 15.3995 19.1183 15.6339 18.8839C15.8683 18.6495 16 18.3315 16 18V13C16 12.5858 16.3358 12.25 16.75 12.25C17.1642 12.25 17.5 12.5858 17.5 13V18C17.5 18.7293 17.2103 19.4288 16.6945 19.9445C16.1788 20.4603 15.4793 20.75 14.75 20.75H5.75C5.02065 20.75 4.32118 20.4603 3.80546 19.9445C3.28973 19.4288 3 18.7293 3 18V9C3 8.27065 3.28973 7.57118 3.80546 7.05546Z"})));const kf=Pd.createInstance();var Mf;kf.use((Mf=(B,H)=>W(46906)(`./${B}/${H}.json`),{type:"backend",init:function(B,H,W){},read:function(B,H,W){if(Mf.length<3)try{var K=Mf(B,H);K&&"function"==typeof K.then?K.then(function(B){return W(null,B&&B.default||B)}).catch(W):W(null,K)}catch(B){W(B)}else Mf(B,H)}})).use(Vd).init({lng:"en",fallbackLng:"en",ns:"common",defaultNS:"common",interpolation:{escapeValue:!1},react:{useSuspense:!0}});var Pf=class{subscribe(B){return this.listeners.add(B),this.onSubscribe(),()=>{this.listeners.delete(B),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}};function _m(B,H){if(!Object.prototype.hasOwnProperty.call(B,H))throw new TypeError("attempted to use private field on non-instance");return B}var Lf,Ff,Nf=0;function Om(B){return"__private_"+Nf+++"_"+B}var Df={setTimeout:(B,H)=>setTimeout(B,H),clearTimeout:B=>clearTimeout(B),setInterval:(B,H)=>setInterval(B,H),clearInterval:B=>clearInterval(B)},$f=new(Lf=Om("_provider"),Ff=Om("_providerCalled"),class{setTimeoutProvider(B){_m(this,Lf)[Lf]=B}setTimeout(B,H){return _m(this,Lf)[Lf].setTimeout(B,H)}clearTimeout(B){_m(this,Lf)[Lf].clearTimeout(B)}setInterval(B,H){return _m(this,Lf)[Lf].setInterval(B,H)}clearInterval(B){_m(this,Lf)[Lf].clearInterval(B)}constructor(){Object.defineProperty(this,Lf,{writable:!0,value:void 0}),Object.defineProperty(this,Ff,{writable:!0,value:void 0}),_m(this,Lf)[Lf]=Df,_m(this,Ff)[Ff]=!1}}),Bf="undefined"==typeof window||"Deno"in globalThis;function Im(){}function Mm(B){return"number"==typeof B&&B>=0&&B!==1/0}function Am(B,H){return Math.max(B+(H||0)-Date.now(),0)}function Pm(B,H){return"function"==typeof B?B(H):B}function Nm(B,H){return"function"==typeof B?B(H):B}function jm(B,H){const{type:W="all",exact:K,fetchStatus:Y,predicate:ie,queryKey:ce,stale:ue}=B;if(ce)if(K){if(H.queryHash!==Dm(ce,H.options))return!1}else if(!$m(H.queryKey,ce))return!1;if("all"!==W){const B=H.isActive();if("active"===W&&!B)return!1;if("inactive"===W&&B)return!1}return!("boolean"==typeof ue&&H.isStale()!==ue||Y&&Y!==H.state.fetchStatus||ie&&!ie(H))}function Lm(B,H){const{exact:W,status:K,predicate:Y,mutationKey:ie}=B;if(ie){if(!H.options.mutationKey)return!1;if(W){if(Fm(H.options.mutationKey)!==Fm(ie))return!1}else if(!$m(H.options.mutationKey,ie))return!1}return!(K&&H.state.status!==K||Y&&!Y(H))}function Dm(B,H){return(H?.queryKeyHashFn||Fm)(B)}function Fm(B){return JSON.stringify(B,(B,H)=>qm(H)?Object.keys(H).sort().reduce((B,W)=>(B[W]=H[W],B),{}):H)}function $m(B,H){return B===H||typeof B==typeof H&&!(!B||!H||"object"!=typeof B||"object"!=typeof H)&&Object.keys(H).every(W=>$m(B[W],H[W]))}var Hf=Object.prototype.hasOwnProperty;function zm(B,H,W=0){if(B===H)return B;if(W>500)return H;const K=Um(B)&&Um(H);if(!(K||qm(B)&&qm(H)))return H;const Y=(K?B:Object.keys(B)).length,ie=K?H:Object.keys(H),ce=ie.length,ue=K?new Array(ce):{};let de=0;for(let pe=0;pe<ce;pe++){const ce=K?pe:ie[pe],fe=B[ce],ke=H[ce];if(fe===ke){ue[ce]=fe,(K?pe<Y:Hf.call(B,ce))&&de++;continue}if(null===fe||null===ke||"object"!=typeof fe||"object"!=typeof ke){ue[ce]=ke;continue}const Je=zm(fe,ke,W+1);ue[ce]=Je,Je===fe&&de++}return Y===ce&&de===Y?B:ue}function Vm(B,H){if(!H||Object.keys(B).length!==Object.keys(H).length)return!1;for(const W in B)if(B[W]!==H[W])return!1;return!0}function Um(B){return Array.isArray(B)&&B.length===Object.keys(B).length}function qm(B){if(!Wm(B))return!1;const H=B.constructor;if(void 0===H)return!0;const W=H.prototype;return!!Wm(W)&&!!W.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(B)===Object.prototype}function Wm(B){return"[object Object]"===Object.prototype.toString.call(B)}function Hm(B,H,W){return"function"==typeof W.structuralSharing?W.structuralSharing(B,H):!1!==W.structuralSharing?zm(B,H):H}function Gm(B,H,W=0){const K=[...B,H];return W&&K.length>W?K.slice(1):K}function Km(B,H,W=0){const K=[H,...B];return W&&K.length>W?K.slice(0,-1):K}var Wf=Symbol();function Zm(B,H){return!B.queryFn&&H?.initialPromise?()=>H.initialPromise:B.queryFn&&B.queryFn!==Wf?B.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${B.queryHash}'`))}function Xm(B,H){return"function"==typeof B?B(...H):!!B}function Jm(B,H){if(!Object.prototype.hasOwnProperty.call(B,H))throw new TypeError("attempted to use private field on non-instance");return B}var Xf,Zf,Kf,Jf=0;function ng(B){return"__private_"+Jf+++"_"+B}var Qf=new(Xf=ng("_focused"),Zf=ng("_cleanup"),Kf=ng("_setup"),class extends Pf{onSubscribe(){Jm(this,Zf)[Zf]||this.setEventListener(Jm(this,Kf)[Kf])}onUnsubscribe(){this.hasListeners()||(null==Jm(this,Zf)[Zf]||Jm(this,Zf)[Zf].call(this),Jm(this,Zf)[Zf]=void 0)}setEventListener(B){Jm(this,Kf)[Kf]=B,null==Jm(this,Zf)[Zf]||Jm(this,Zf)[Zf].call(this),Jm(this,Zf)[Zf]=B(B=>{"boolean"==typeof B?this.setFocused(B):this.onFocus()})}setFocused(B){Jm(this,Xf)[Xf]!==B&&(Jm(this,Xf)[Xf]=B,this.onFocus())}onFocus(){const B=this.isFocused();this.listeners.forEach(H=>{H(B)})}isFocused(){return"boolean"==typeof Jm(this,Xf)[Xf]?Jm(this,Xf)[Xf]:"hidden"!==globalThis.document?.visibilityState}constructor(){super(),Object.defineProperty(this,Xf,{writable:!0,value:void 0}),Object.defineProperty(this,Zf,{writable:!0,value:void 0}),Object.defineProperty(this,Kf,{writable:!0,value:void 0}),Jm(this,Kf)[Kf]=B=>{if(!Bf&&window.addEventListener){const t=()=>B();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}});function ig(){let B,H;const W=new Promise((W,K)=>{B=W,H=K});function n(B){Object.assign(W,B),delete W.resolve,delete W.reject}return W.status="pending",W.catch(()=>{}),W.resolve=H=>{n({status:"fulfilled",value:H}),B(H)},W.reject=B=>{n({status:"rejected",reason:B}),H(B)},W}var sg=function(B){setTimeout(B,0)},em=function(){let B=[],H=0,r=B=>{B()},n=B=>{B()},W=sg;const i=K=>{H?B.push(K):W(()=>{r(K)})};return{batch:K=>{let Y;H++;try{Y=K()}finally{H--,H||(()=>{const H=B;B=[],H.length&&W(()=>{n(()=>{H.forEach(B=>{r(B)})})})})()}return Y},batchCalls:B=>(...H)=>{i(()=>{B(...H)})},schedule:i,setNotifyFunction:B=>{r=B},setBatchNotifyFunction:B=>{n=B},setScheduler:B=>{W=B}}}();function lg(B,H){if(!Object.prototype.hasOwnProperty.call(B,H))throw new TypeError("attempted to use private field on non-instance");return B}var tm,rm,om,im=0;function fg(B){return"__private_"+im+++"_"+B}var sm=new(tm=fg("_online"),rm=fg("_cleanup"),om=fg("_setup"),class extends Pf{onSubscribe(){lg(this,rm)[rm]||this.setEventListener(lg(this,om)[om])}onUnsubscribe(){this.hasListeners()||(null==lg(this,rm)[rm]||lg(this,rm)[rm].call(this),lg(this,rm)[rm]=void 0)}setEventListener(B){lg(this,om)[om]=B,null==lg(this,rm)[rm]||lg(this,rm)[rm].call(this),lg(this,rm)[rm]=B(this.setOnline.bind(this))}setOnline(B){lg(this,tm)[tm]!==B&&(lg(this,tm)[tm]=B,this.listeners.forEach(H=>{H(B)}))}isOnline(){return lg(this,tm)[tm]}constructor(){super(),Object.defineProperty(this,tm,{writable:!0,value:void 0}),Object.defineProperty(this,rm,{writable:!0,value:void 0}),Object.defineProperty(this,om,{writable:!0,value:void 0}),lg(this,tm)[tm]=!0,lg(this,om)[om]=B=>{if(!Bf&&window.addEventListener){const t=()=>B(!0),r=()=>B(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}});function mg(B){return Math.min(1e3*2**B,3e4)}function gg(B){return"online"!==(B??"online")||sm.isOnline()}var am=class extends Error{constructor(B){super("CancelledError"),this.revert=B?.revert,this.silent=B?.silent}};function yg(B){let H,W=!1,K=0;const Y=ig(),i=()=>"pending"!==Y.status,s=()=>Qf.isFocused()&&("always"===B.networkMode||sm.isOnline())&&B.canRun(),a=()=>gg(B.networkMode)&&B.canRun(),l=B=>{i()||(H?.(),Y.resolve(B))},c=B=>{i()||(H?.(),Y.reject(B))},u=()=>new Promise(W=>{H=B=>{(i()||s())&&W(B)},B.onPause?.()}).then(()=>{H=void 0,i()||B.onContinue?.()}),p=()=>{if(i())return;let H;const Y=0===K?B.initialPromise:void 0;try{H=Y??B.fn()}catch(B){H=Promise.reject(B)}Promise.resolve(H).then(l).catch(H=>{if(i())return;const Y=B.retry??(Bf?0:3),ie=B.retryDelay??mg,ce="function"==typeof ie?ie(K,H):ie,ue=!0===Y||"number"==typeof Y&&K<Y||"function"==typeof Y&&Y(K,H);var de;!W&&ue?(K++,B.onFail?.(K,H),(de=ce,new Promise(B=>{$f.setTimeout(B,de)})).then(()=>s()?void 0:u()).then(()=>{W?c(H):p()})):c(H)})};return{promise:Y,status:()=>Y.status,cancel:H=>{if(!i()){const W=new am(H);c(W),B.onCancel?.(W)}},continue:()=>(H?.(),Y),cancelRetry:()=>{W=!0},continueRetry:()=>{W=!1},canStart:a,start:()=>(a()?p():u().then(p),Y)}}function bg(B,H){if(!Object.prototype.hasOwnProperty.call(B,H))throw new TypeError("attempted to use private field on non-instance");return B}var lm,um=0;var dm=(lm=function _g(B){return"__private_"+um+++"_"+B}("_gcTimeout"),class{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Mm(this.gcTime)&&(bg(this,lm)[lm]=$f.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(B){this.gcTime=Math.max(this.gcTime||0,B??(Bf?1/0:3e5))}clearGcTimeout(){bg(this,lm)[lm]&&($f.clearTimeout(bg(this,lm)[lm]),bg(this,lm)[lm]=void 0)}constructor(){Object.defineProperty(this,lm,{writable:!0,value:void 0})}});function kg(B,H){if(!Object.prototype.hasOwnProperty.call(B,H))throw new TypeError("attempted to use private field on non-instance");return B}var pm,hm,fm,mm,gm,vm,ym,bm,wm,xm=0;function jg(B){return"__private_"+xm+++"_"+B}var Sm=(pm=jg("_initialState"),hm=jg("_revertState"),fm=jg("_cache"),mm=jg("_client"),gm=jg("_retryer"),vm=jg("_defaultOptions"),ym=jg("_abortSignalConsumed"),bm=jg("_dispatch"),wm=class extends dm{get meta(){return this.options.meta}get promise(){return kg(this,gm)[gm]?.promise}setOptions(B){if(this.options={...kg(this,vm)[vm],...B},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const B=$g(this.options);void 0!==B.data&&(this.setState(Fg(B.data,B.dataUpdatedAt)),kg(this,pm)[pm]=B)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||kg(this,fm)[fm].remove(this)}setData(B,H){const W=Hm(this.state.data,B,this.options);return kg(this,bm)[bm]({data:W,type:"success",dataUpdatedAt:H?.updatedAt,manual:H?.manual}),W}setState(B,H){kg(this,bm)[bm]({type:"setState",state:B,setStateOptions:H})}cancel(B){const H=kg(this,gm)[gm]?.promise;return kg(this,gm)[gm]?.cancel(B),H?H.then(Im).catch(Im):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(kg(this,pm)[pm])}isActive(){return this.observers.some(B=>!1!==Nm(B.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Wf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(B=>"static"===Pm(B.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(B=>B.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(B=0){return void 0===this.state.data||"static"!==B&&(!!this.state.isInvalidated||!Am(this.state.dataUpdatedAt,B))}onFocus(){const B=this.observers.find(B=>B.shouldFetchOnWindowFocus());B?.refetch({cancelRefetch:!1}),kg(this,gm)[gm]?.continue()}onOnline(){const B=this.observers.find(B=>B.shouldFetchOnReconnect());B?.refetch({cancelRefetch:!1}),kg(this,gm)[gm]?.continue()}addObserver(B){this.observers.includes(B)||(this.observers.push(B),this.clearGcTimeout(),kg(this,fm)[fm].notify({type:"observerAdded",query:this,observer:B}))}removeObserver(B){this.observers.includes(B)&&(this.observers=this.observers.filter(H=>H!==B),this.observers.length||(kg(this,gm)[gm]&&(kg(this,ym)[ym]?kg(this,gm)[gm].cancel({revert:!0}):kg(this,gm)[gm].cancelRetry()),this.scheduleGc()),kg(this,fm)[fm].notify({type:"observerRemoved",query:this,observer:B}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||kg(this,bm)[bm]({type:"invalidate"})}async fetch(B,H){if("idle"!==this.state.fetchStatus&&"rejected"!==kg(this,gm)[gm]?.status())if(void 0!==this.state.data&&H?.cancelRefetch)this.cancel({silent:!0});else if(kg(this,gm)[gm])return kg(this,gm)[gm].continueRetry(),kg(this,gm)[gm].promise;if(B&&this.setOptions(B),!this.options.queryFn){const B=this.observers.find(B=>B.options.queryFn);B&&this.setOptions(B.options)}const W=new AbortController,n=B=>{Object.defineProperty(B,"signal",{enumerable:!0,get:()=>(kg(this,ym)[ym]=!0,W.signal)})},o=()=>{const B=Zm(this.options,H),W=(()=>{const B={client:kg(this,mm)[mm],queryKey:this.queryKey,meta:this.meta};return n(B),B})();return kg(this,ym)[ym]=!1,this.options.persister?this.options.persister(B,W,this):B(W)},K=(()=>{const B={fetchOptions:H,options:this.options,queryKey:this.queryKey,client:kg(this,mm)[mm],state:this.state,fetchFn:o};return n(B),B})();this.options.behavior?.onFetch(K,this),kg(this,hm)[hm]=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===K.fetchOptions?.meta||kg(this,bm)[bm]({type:"fetch",meta:K.fetchOptions?.meta}),kg(this,gm)[gm]=yg({initialPromise:H?.initialPromise,fn:K.fetchFn,onCancel:B=>{B instanceof am&&B.revert&&this.setState({...kg(this,hm)[hm],fetchStatus:"idle"}),W.abort()},onFail:(B,H)=>{kg(this,bm)[bm]({type:"failed",failureCount:B,error:H})},onPause:()=>{kg(this,bm)[bm]({type:"pause"})},onContinue:()=>{kg(this,bm)[bm]({type:"continue"})},retry:K.options.retry,retryDelay:K.options.retryDelay,networkMode:K.options.networkMode,canRun:()=>!0});try{const B=await kg(this,gm)[gm].start();if(void 0===B)throw new Error(`${this.queryHash} data is undefined`);return this.setData(B),kg(this,fm)[fm].config.onSuccess?.(B,this),kg(this,fm)[fm].config.onSettled?.(B,this.state.error,this),B}catch(B){if(B instanceof am){if(B.silent)return kg(this,gm)[gm].promise;if(B.revert){if(void 0===this.state.data)throw B;return this.state.data}}throw kg(this,bm)[bm]({type:"error",error:B}),kg(this,fm)[fm].config.onError?.(B,this),kg(this,fm)[fm].config.onSettled?.(this.state.data,B,this),B}finally{this.scheduleGc()}}constructor(B){super(),Object.defineProperty(this,bm,{value:Bg}),Object.defineProperty(this,pm,{writable:!0,value:void 0}),Object.defineProperty(this,hm,{writable:!0,value:void 0}),Object.defineProperty(this,fm,{writable:!0,value:void 0}),Object.defineProperty(this,mm,{writable:!0,value:void 0}),Object.defineProperty(this,gm,{writable:!0,value:void 0}),Object.defineProperty(this,vm,{writable:!0,value:void 0}),Object.defineProperty(this,ym,{writable:!0,value:void 0}),kg(this,ym)[ym]=!1,kg(this,vm)[vm]=B.defaultOptions,this.setOptions(B.options),this.observers=[],kg(this,mm)[mm]=B.client,kg(this,fm)[fm]=kg(this,mm)[mm].getQueryCache(),this.queryKey=B.queryKey,this.queryHash=B.queryHash,kg(this,pm)[pm]=$g(this.options),this.state=B.state??kg(this,pm)[pm],this.scheduleGc()}},wm);function Dg(B,H){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:gg(H.networkMode)?"fetching":"paused",...void 0===B&&{error:null,status:"pending"}}}function Fg(B,H){return{data:B,dataUpdatedAt:H??Date.now(),error:null,isInvalidated:!1,status:"success"}}function $g(B){const H="function"==typeof B.initialData?B.initialData():B.initialData,W=void 0!==H,K=W?"function"==typeof B.initialDataUpdatedAt?B.initialDataUpdatedAt():B.initialDataUpdatedAt:0;return{data:H,dataUpdateCount:0,dataUpdatedAt:W?K??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:W?"success":"pending",fetchStatus:"idle"}}function Bg(B){this.state=(H=>{switch(B.type){case"failed":return{...H,fetchFailureCount:B.failureCount,fetchFailureReason:B.error};case"pause":return{...H,fetchStatus:"paused"};case"continue":return{...H,fetchStatus:"fetching"};case"fetch":return{...H,...Dg(H.data,this.options),fetchMeta:B.meta??null};case"success":const W={...H,...Fg(B.data,B.dataUpdatedAt),dataUpdateCount:H.dataUpdateCount+1,...!B.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return kg(this,hm)[hm]=B.manual?W:void 0,W;case"error":const K=B.error;return{...H,error:K,errorUpdateCount:H.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:H.fetchFailureCount+1,fetchFailureReason:K,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...H,isInvalidated:!0};case"setState":return{...H,...B.state}}})(this.state),em.batch(()=>{this.observers.forEach(B=>{B.onQueryUpdate()}),kg(this,fm)[fm].notify({query:this,type:"updated",action:B})})}function zg(B,H){if(!Object.prototype.hasOwnProperty.call(B,H))throw new TypeError("attempted to use private field on non-instance");return B}var km,Cm,Em,Rm,Tm,Bm,Ym,Qm,eg,tg,rg,og,ag,cg,ug,dg,pg,hg,vg,wg,xg,Sg,Cg,Og,Eg,Rg=0;function hv(B){return"__private_"+Rg+++"_"+B}var Mg=(km=hv("_client"),Cm=hv("_currentQuery"),Em=hv("_currentQueryInitialState"),Rm=hv("_currentResult"),Tm=hv("_currentResultState"),Bm=hv("_currentResultOptions"),Ym=hv("_currentThenable"),Qm=hv("_selectError"),eg=hv("_selectFn"),tg=hv("_selectResult"),rg=hv("_lastQueryWithDefinedData"),og=hv("_staleTimeoutId"),ag=hv("_refetchIntervalId"),cg=hv("_currentRefetchInterval"),ug=hv("_trackedProps"),dg=hv("_executeFetch"),pg=hv("_updateStaleTimeout"),hg=hv("_computeRefetchInterval"),vg=hv("_updateRefetchInterval"),wg=hv("_updateTimers"),xg=hv("_clearStaleTimeout"),Sg=hv("_clearRefetchInterval"),Cg=hv("_updateQuery"),Og=hv("_notify"),Eg=class extends Pf{bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(zg(this,Cm)[Cm].addObserver(this),gv(zg(this,Cm)[Cm],this.options)?zg(this,dg)[dg]():this.updateResult(),zg(this,wg)[wg]())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return vv(zg(this,Cm)[Cm],this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return vv(zg(this,Cm)[Cm],this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,zg(this,xg)[xg](),zg(this,Sg)[Sg](),zg(this,Cm)[Cm].removeObserver(this)}setOptions(B){const H=this.options,W=zg(this,Cm)[Cm];if(this.options=zg(this,km)[km].defaultQueryOptions(B),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof Nm(this.options.enabled,zg(this,Cm)[Cm]))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");zg(this,Cg)[Cg](),zg(this,Cm)[Cm].setOptions(this.options),H._defaulted&&!Vm(this.options,H)&&zg(this,km)[km].getQueryCache().notify({type:"observerOptionsUpdated",query:zg(this,Cm)[Cm],observer:this});const K=this.hasListeners();K&&yv(zg(this,Cm)[Cm],W,this.options,H)&&zg(this,dg)[dg](),this.updateResult(),!K||zg(this,Cm)[Cm]===W&&Nm(this.options.enabled,zg(this,Cm)[Cm])===Nm(H.enabled,zg(this,Cm)[Cm])&&Pm(this.options.staleTime,zg(this,Cm)[Cm])===Pm(H.staleTime,zg(this,Cm)[Cm])||zg(this,pg)[pg]();const Y=zg(this,hg)[hg]();!K||zg(this,Cm)[Cm]===W&&Nm(this.options.enabled,zg(this,Cm)[Cm])===Nm(H.enabled,zg(this,Cm)[Cm])&&Y===zg(this,cg)[cg]||zg(this,vg)[vg](Y)}getOptimisticResult(B){const H=zg(this,km)[km].getQueryCache().build(zg(this,km)[km],B),W=this.createResult(H,B);return K=W,!Vm(this.getCurrentResult(),K)&&(zg(this,Rm)[Rm]=W,zg(this,Bm)[Bm]=this.options,zg(this,Tm)[Tm]=zg(this,Cm)[Cm].state),W;var K}getCurrentResult(){return zg(this,Rm)[Rm]}trackResult(B,H){return new Proxy(B,{get:(B,W)=>(this.trackProp(W),H?.(W),"promise"===W&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==zg(this,Ym)[Ym].status||zg(this,Ym)[Ym].reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(B,W))})}trackProp(B){zg(this,ug)[ug].add(B)}getCurrentQuery(){return zg(this,Cm)[Cm]}refetch({...B}={}){return this.fetch({...B})}fetchOptimistic(B){const H=zg(this,km)[km].defaultQueryOptions(B),W=zg(this,km)[km].getQueryCache().build(zg(this,km)[km],H);return W.fetch().then(()=>this.createResult(W,H))}fetch(B){return zg(this,dg)[dg]({...B,cancelRefetch:B.cancelRefetch??!0}).then(()=>(this.updateResult(),zg(this,Rm)[Rm]))}createResult(B,H){const W=zg(this,Cm)[Cm],K=this.options,Y=zg(this,Rm)[Rm],ie=zg(this,Tm)[Tm],ce=zg(this,Bm)[Bm],ue=B!==W?B.state:zg(this,Em)[Em],{state:de}=B;let pe,fe={...de},ke=!1;if(H._optimisticResults){const Y=this.hasListeners(),ie=!Y&&gv(B,H),ce=Y&&yv(B,W,H,K);(ie||ce)&&(fe={...fe,...Dg(de.data,B.options)}),"isRestoring"===H._optimisticResults&&(fe.fetchStatus="idle")}let{error:Je,errorUpdatedAt:rt,status:st}=fe;pe=fe.data;let at=!1;if(void 0!==H.placeholderData&&void 0===pe&&"pending"===st){let B;Y?.isPlaceholderData&&H.placeholderData===ce?.placeholderData?(B=Y.data,at=!0):B="function"==typeof H.placeholderData?H.placeholderData(zg(this,rg)[rg]?.state.data,zg(this,rg)[rg]):H.placeholderData,void 0!==B&&(st="success",pe=Hm(Y?.data,B,H),ke=!0)}if(H.select&&void 0!==pe&&!at)if(Y&&pe===ie?.data&&H.select===zg(this,eg)[eg])pe=zg(this,tg)[tg];else try{zg(this,eg)[eg]=H.select,pe=H.select(pe),pe=Hm(Y?.data,pe,H),zg(this,tg)[tg]=pe,zg(this,Qm)[Qm]=null}catch(B){zg(this,Qm)[Qm]=B}zg(this,Qm)[Qm]&&(Je=zg(this,Qm)[Qm],pe=zg(this,tg)[tg],rt=Date.now(),st="error");const lt="fetching"===fe.fetchStatus,pt="pending"===st,ht="error"===st,mt=pt&<,vt=void 0!==pe,yt={status:st,fetchStatus:fe.fetchStatus,isPending:pt,isSuccess:"success"===st,isError:ht,isInitialLoading:mt,isLoading:mt,data:pe,dataUpdatedAt:fe.dataUpdatedAt,error:Je,errorUpdatedAt:rt,failureCount:fe.fetchFailureCount,failureReason:fe.fetchFailureReason,errorUpdateCount:fe.errorUpdateCount,isFetched:fe.dataUpdateCount>0||fe.errorUpdateCount>0,isFetchedAfterMount:fe.dataUpdateCount>ue.dataUpdateCount||fe.errorUpdateCount>ue.errorUpdateCount,isFetching:lt,isRefetching:lt&&!pt,isLoadingError:ht&&!vt,isPaused:"paused"===fe.fetchStatus,isPlaceholderData:ke,isRefetchError:ht&&vt,isStale:bv(B,H),refetch:this.refetch,promise:zg(this,Ym)[Ym],isEnabled:!1!==Nm(H.enabled,B)};if(this.options.experimental_prefetchInRender){const H=void 0!==yt.data,K="error"===yt.status&&!H,o=B=>{K?B.reject(yt.error):H&&B.resolve(yt.data)},i=()=>{const B=zg(this,Ym)[Ym]=yt.promise=ig();o(B)},Y=zg(this,Ym)[Ym];switch(Y.status){case"pending":B.queryHash===W.queryHash&&o(Y);break;case"fulfilled":(K||yt.data!==Y.value)&&i();break;case"rejected":K&&yt.error===Y.reason||i()}}return yt}updateResult(){const B=zg(this,Rm)[Rm],H=this.createResult(zg(this,Cm)[Cm],this.options);zg(this,Tm)[Tm]=zg(this,Cm)[Cm].state,zg(this,Bm)[Bm]=this.options,void 0!==zg(this,Tm)[Tm].data&&(zg(this,rg)[rg]=zg(this,Cm)[Cm]),Vm(H,B)||(zg(this,Rm)[Rm]=H,zg(this,Og)[Og]({listeners:(()=>{if(!B)return!0;const{notifyOnChangeProps:H}=this.options,W="function"==typeof H?H():H;if("all"===W||!W&&!zg(this,ug)[ug].size)return!0;const K=new Set(W??zg(this,ug)[ug]);return this.options.throwOnError&&K.add("error"),Object.keys(zg(this,Rm)[Rm]).some(H=>{const W=H;return zg(this,Rm)[Rm][W]!==B[W]&&K.has(W)})})()}))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&zg(this,wg)[wg]()}constructor(B,H){super(),Object.defineProperty(this,dg,{value:wv}),Object.defineProperty(this,pg,{value:xv}),Object.defineProperty(this,hg,{value:_v}),Object.defineProperty(this,vg,{value:Sv}),Object.defineProperty(this,wg,{value:kv}),Object.defineProperty(this,xg,{value:Cv}),Object.defineProperty(this,Sg,{value:Ov}),Object.defineProperty(this,Cg,{value:Ev}),Object.defineProperty(this,Og,{value:Tv}),Object.defineProperty(this,km,{writable:!0,value:void 0}),Object.defineProperty(this,Cm,{writable:!0,value:void 0}),Object.defineProperty(this,Em,{writable:!0,value:void 0}),Object.defineProperty(this,Rm,{writable:!0,value:void 0}),Object.defineProperty(this,Tm,{writable:!0,value:void 0}),Object.defineProperty(this,Bm,{writable:!0,value:void 0}),Object.defineProperty(this,Ym,{writable:!0,value:void 0}),Object.defineProperty(this,Qm,{writable:!0,value:void 0}),Object.defineProperty(this,eg,{writable:!0,value:void 0}),Object.defineProperty(this,tg,{writable:!0,value:void 0}),Object.defineProperty(this,rg,{writable:!0,value:void 0}),Object.defineProperty(this,og,{writable:!0,value:void 0}),Object.defineProperty(this,ag,{writable:!0,value:void 0}),Object.defineProperty(this,cg,{writable:!0,value:void 0}),Object.defineProperty(this,ug,{writable:!0,value:void 0}),zg(this,Cm)[Cm]=void 0,zg(this,Em)[Em]=void 0,zg(this,Rm)[Rm]=void 0,zg(this,ug)[ug]=new Set,this.options=H,zg(this,km)[km]=B,zg(this,Qm)[Qm]=null,zg(this,Ym)[Ym]=ig(),this.bindMethods(),this.setOptions(H)}},Eg);function gv(B,H){return function(B,H){return!1!==Nm(H.enabled,B)&&void 0===B.state.data&&!("error"===B.state.status&&!1===H.retryOnMount)}(B,H)||void 0!==B.state.data&&vv(B,H,H.refetchOnMount)}function vv(B,H,W){if(!1!==Nm(H.enabled,B)&&"static"!==Pm(H.staleTime,B)){const K="function"==typeof W?W(B):W;return"always"===K||!1!==K&&bv(B,H)}return!1}function yv(B,H,W,K){return(B!==H||!1===Nm(K.enabled,B))&&(!W.suspense||"error"!==B.state.status)&&bv(B,W)}function bv(B,H){return!1!==Nm(H.enabled,B)&&B.isStaleByTime(Pm(H.staleTime,B))}function wv(B){zg(this,Cg)[Cg]();let H=zg(this,Cm)[Cm].fetch(this.options,B);return B?.throwOnError||(H=H.catch(Im)),H}function xv(){zg(this,xg)[xg]();const B=Pm(this.options.staleTime,zg(this,Cm)[Cm]);if(Bf||zg(this,Rm)[Rm].isStale||!Mm(B))return;const H=Am(zg(this,Rm)[Rm].dataUpdatedAt,B)+1;zg(this,og)[og]=$f.setTimeout(()=>{zg(this,Rm)[Rm].isStale||this.updateResult()},H)}function _v(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(zg(this,Cm)[Cm]):this.options.refetchInterval)??!1}function Sv(B){zg(this,Sg)[Sg](),zg(this,cg)[cg]=B,!Bf&&!1!==Nm(this.options.enabled,zg(this,Cm)[Cm])&&Mm(zg(this,cg)[cg])&&0!==zg(this,cg)[cg]&&(zg(this,ag)[ag]=$f.setInterval(()=>{(this.options.refetchIntervalInBackground||Qf.isFocused())&&zg(this,dg)[dg]()},zg(this,cg)[cg]))}function kv(){zg(this,pg)[pg](),zg(this,vg)[vg](zg(this,hg)[hg]())}function Cv(){zg(this,og)[og]&&($f.clearTimeout(zg(this,og)[og]),zg(this,og)[og]=void 0)}function Ov(){zg(this,ag)[ag]&&($f.clearInterval(zg(this,ag)[ag]),zg(this,ag)[ag]=void 0)}function Ev(){const B=zg(this,km)[km].getQueryCache().build(zg(this,km)[km],this.options);if(B===zg(this,Cm)[Cm])return;const H=zg(this,Cm)[Cm];zg(this,Cm)[Cm]=B,zg(this,Em)[Em]=B.state,this.hasListeners()&&(H?.removeObserver(this),B.addObserver(this))}function Tv(B){em.batch(()=>{B.listeners&&this.listeners.forEach(B=>{B(zg(this,Rm)[Rm])}),zg(this,km)[km].getQueryCache().notify({query:zg(this,Cm)[Cm],type:"observerResultsUpdated"})})}function Rv(B){return{onFetch:(H,W)=>{const K=H.options,Y=H.fetchOptions?.meta?.fetchMore?.direction,ie=H.state.data?.pages||[],ce=H.state.data?.pageParams||[];let ue={pages:[],pageParams:[]},de=0;const c=async()=>{let W=!1;const pe=Zm(H.options,H.fetchOptions),p=async(B,K,Y)=>{if(W)return Promise.reject();if(null==K&&B.pages.length)return Promise.resolve(B);const ie=(()=>{const B={client:H.client,queryKey:H.queryKey,pageParam:K,direction:Y?"backward":"forward",meta:H.options.meta};return(B=>{!function(B,W,K){let Y,ie=!1;Object.defineProperty(B,"signal",{enumerable:!0,get:()=>(Y??(Y=H.signal),ie||(ie=!0,Y.aborted?K():Y.addEventListener("abort",K,{once:!0})),Y)})}(B,0,()=>W=!0)})(B),B})(),ce=await pe(ie),{maxPages:ue}=H.options,de=Y?Km:Gm;return{pages:de(B.pages,ce,ue),pageParams:de(B.pageParams,K,ue)}};if(Y&&ie.length){const B="backward"===Y,H={pages:ie,pageParams:ce},W=(B?Mv:Iv)(K,H);ue=await p(H,W,B)}else{const H=B??ie.length;do{const B=0===de?ce[0]??K.initialPageParam:Iv(K,ue);if(de>0&&null==B)break;ue=await p(ue,B),de++}while(de<H)}return ue};H.options.persister?H.fetchFn=()=>H.options.persister?.(c,{client:H.client,queryKey:H.queryKey,meta:H.options.meta,signal:H.signal},W):H.fetchFn=c}}}function Iv(B,{pages:H,pageParams:W}){const K=H.length-1;return H.length>0?B.getNextPageParam(H[K],H,W[K],W):void 0}function Mv(B,{pages:H,pageParams:W}){return H.length>0?B.getPreviousPageParam?.(H[0],H,W[0],W):void 0}function Av(B,H){if(!Object.prototype.hasOwnProperty.call(B,H))throw new TypeError("attempted to use private field on non-instance");return B}var Ig,Ag,Tg,Pg,Lg,Ng,Ug=0;function Bv(B){return"__private_"+Ug+++"_"+B}var Hg=(Ig=Bv("_client"),Ag=Bv("_observers"),Tg=Bv("_mutationCache"),Pg=Bv("_retryer"),Lg=Bv("_dispatch"),Ng=class extends dm{setOptions(B){this.options=B,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(B){Av(this,Ag)[Ag].includes(B)||(Av(this,Ag)[Ag].push(B),this.clearGcTimeout(),Av(this,Tg)[Tg].notify({type:"observerAdded",mutation:this,observer:B}))}removeObserver(B){Av(this,Ag)[Ag]=Av(this,Ag)[Ag].filter(H=>H!==B),this.scheduleGc(),Av(this,Tg)[Tg].notify({type:"observerRemoved",mutation:this,observer:B})}optionalRemove(){Av(this,Ag)[Ag].length||("pending"===this.state.status?this.scheduleGc():Av(this,Tg)[Tg].remove(this))}continue(){return Av(this,Pg)[Pg]?.continue()??this.execute(this.state.variables)}async execute(B){const t=()=>{Av(this,Lg)[Lg]({type:"continue"})},H={client:Av(this,Ig)[Ig],meta:this.options.meta,mutationKey:this.options.mutationKey};Av(this,Pg)[Pg]=yg({fn:()=>this.options.mutationFn?this.options.mutationFn(B,H):Promise.reject(new Error("No mutationFn found")),onFail:(B,H)=>{Av(this,Lg)[Lg]({type:"failed",failureCount:B,error:H})},onPause:()=>{Av(this,Lg)[Lg]({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Av(this,Tg)[Tg].canRun(this)});const W="pending"===this.state.status,K=!Av(this,Pg)[Pg].canStart();try{if(W)t();else{Av(this,Lg)[Lg]({type:"pending",variables:B,isPaused:K}),Av(this,Tg)[Tg].config.onMutate&&await Av(this,Tg)[Tg].config.onMutate(B,this,H);const W=await(this.options.onMutate?.(B,H));W!==this.state.context&&Av(this,Lg)[Lg]({type:"pending",context:W,variables:B,isPaused:K})}const Y=await Av(this,Pg)[Pg].start();return await(Av(this,Tg)[Tg].config.onSuccess?.(Y,B,this.state.context,this,H)),await(this.options.onSuccess?.(Y,B,this.state.context,H)),await(Av(this,Tg)[Tg].config.onSettled?.(Y,null,this.state.variables,this.state.context,this,H)),await(this.options.onSettled?.(Y,null,B,this.state.context,H)),Av(this,Lg)[Lg]({type:"success",data:Y}),Y}catch(t){try{await(Av(this,Tg)[Tg].config.onError?.(t,B,this.state.context,this,H))}catch(B){Promise.reject(B)}try{await(this.options.onError?.(t,B,this.state.context,H))}catch(B){Promise.reject(B)}try{await(Av(this,Tg)[Tg].config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,H))}catch(B){Promise.reject(B)}try{await(this.options.onSettled?.(void 0,t,B,this.state.context,H))}catch(B){Promise.reject(B)}throw Av(this,Lg)[Lg]({type:"error",error:t}),t}finally{Av(this,Tg)[Tg].runNext(this)}}constructor(B){super(),Object.defineProperty(this,Lg,{value:Vv}),Object.defineProperty(this,Ig,{writable:!0,value:void 0}),Object.defineProperty(this,Ag,{writable:!0,value:void 0}),Object.defineProperty(this,Tg,{writable:!0,value:void 0}),Object.defineProperty(this,Pg,{writable:!0,value:void 0}),Av(this,Ig)[Ig]=B.client,this.mutationId=B.mutationId,Av(this,Tg)[Tg]=B.mutationCache,Av(this,Ag)[Ag]=[],this.state=B.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(B.options),this.scheduleGc()}},Ng);function Vv(B){this.state=(H=>{switch(B.type){case"failed":return{...H,failureCount:B.failureCount,failureReason:B.error};case"pause":return{...H,isPaused:!0};case"continue":return{...H,isPaused:!1};case"pending":return{...H,context:B.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:B.isPaused,status:"pending",variables:B.variables,submittedAt:Date.now()};case"success":return{...H,data:B.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...H,data:void 0,error:B.error,failureCount:H.failureCount+1,failureReason:B.error,isPaused:!1,status:"error"}}})(this.state),em.batch(()=>{Av(this,Ag)[Ag].forEach(H=>{H.onMutationUpdate(B)}),Av(this,Tg)[Tg].notify({mutation:this,type:"updated",action:B})})}function Uv(B,H){if(!Object.prototype.hasOwnProperty.call(B,H))throw new TypeError("attempted to use private field on non-instance");return B}var Vg,qg,Wg,Gg=0;function Kv(B){return"__private_"+Gg+++"_"+B}var Xg=(Vg=Kv("_mutations"),qg=Kv("_scopes"),Wg=Kv("_mutationId"),class extends Pf{build(B,H,W){const K=new Hg({client:B,mutationCache:this,mutationId:++Uv(this,Wg)[Wg],options:B.defaultMutationOptions(H),state:W});return this.add(K),K}add(B){Uv(this,Vg)[Vg].add(B);const H=Zv(B);if("string"==typeof H){const W=Uv(this,qg)[qg].get(H);W?W.push(B):Uv(this,qg)[qg].set(H,[B])}this.notify({type:"added",mutation:B})}remove(B){if(Uv(this,Vg)[Vg].delete(B)){const H=Zv(B);if("string"==typeof H){const W=Uv(this,qg)[qg].get(H);if(W)if(W.length>1){const H=W.indexOf(B);-1!==H&&W.splice(H,1)}else W[0]===B&&Uv(this,qg)[qg].delete(H)}}this.notify({type:"removed",mutation:B})}canRun(B){const H=Zv(B);if("string"==typeof H){const W=Uv(this,qg)[qg].get(H),K=W?.find(B=>"pending"===B.state.status);return!K||K===B}return!0}runNext(B){const H=Zv(B);if("string"==typeof H){const W=Uv(this,qg)[qg].get(H)?.find(H=>H!==B&&H.state.isPaused);return W?.continue()??Promise.resolve()}return Promise.resolve()}clear(){em.batch(()=>{Uv(this,Vg)[Vg].forEach(B=>{this.notify({type:"removed",mutation:B})}),Uv(this,Vg)[Vg].clear(),Uv(this,qg)[qg].clear()})}getAll(){return Array.from(Uv(this,Vg)[Vg])}find(B){const H={exact:!0,...B};return this.getAll().find(B=>Lm(H,B))}findAll(B={}){return this.getAll().filter(H=>Lm(B,H))}notify(B){em.batch(()=>{this.listeners.forEach(H=>{H(B)})})}resumePausedMutations(){const B=this.getAll().filter(B=>B.state.isPaused);return em.batch(()=>Promise.all(B.map(B=>B.continue().catch(Im))))}constructor(B={}){super(),Object.defineProperty(this,Vg,{writable:!0,value:void 0}),Object.defineProperty(this,qg,{writable:!0,value:void 0}),Object.defineProperty(this,Wg,{writable:!0,value:void 0}),this.config=B,Uv(this,Vg)[Vg]=new Set,Uv(this,qg)[qg]=new Map,Uv(this,Wg)[Wg]=0}});function Zv(B){return B.options.scope?.id}function Xv(B,H){if(!Object.prototype.hasOwnProperty.call(B,H))throw new TypeError("attempted to use private field on non-instance");return B}var Zg,Kg,Yg,Jg,Qg,ev,tv=0;function iy(B){return"__private_"+tv+++"_"+B}var rv=(Zg=iy("_client"),Kg=iy("_currentResult"),Yg=iy("_currentMutation"),Jg=iy("_mutateOptions"),Qg=iy("_updateResult"),ev=iy("_notify"),class extends Pf{bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(B){const H=this.options;this.options=Xv(this,Zg)[Zg].defaultMutationOptions(B),Vm(this.options,H)||Xv(this,Zg)[Zg].getMutationCache().notify({type:"observerOptionsUpdated",mutation:Xv(this,Yg)[Yg],observer:this}),H?.mutationKey&&this.options.mutationKey&&Fm(H.mutationKey)!==Fm(this.options.mutationKey)?this.reset():"pending"===Xv(this,Yg)[Yg]?.state.status&&Xv(this,Yg)[Yg].setOptions(this.options)}onUnsubscribe(){this.hasListeners()||Xv(this,Yg)[Yg]?.removeObserver(this)}onMutationUpdate(B){Xv(this,Qg)[Qg](),Xv(this,ev)[ev](B)}getCurrentResult(){return Xv(this,Kg)[Kg]}reset(){Xv(this,Yg)[Yg]?.removeObserver(this),Xv(this,Yg)[Yg]=void 0,Xv(this,Qg)[Qg](),Xv(this,ev)[ev]()}mutate(B,H){return Xv(this,Jg)[Jg]=H,Xv(this,Yg)[Yg]?.removeObserver(this),Xv(this,Yg)[Yg]=Xv(this,Zg)[Zg].getMutationCache().build(Xv(this,Zg)[Zg],this.options),Xv(this,Yg)[Yg].addObserver(this),Xv(this,Yg)[Yg].execute(B)}constructor(B,H){super(),Object.defineProperty(this,Qg,{value:ay}),Object.defineProperty(this,ev,{value:ly}),Object.defineProperty(this,Zg,{writable:!0,value:void 0}),Object.defineProperty(this,Kg,{writable:!0,value:void 0}),Object.defineProperty(this,Yg,{writable:!0,value:void 0}),Object.defineProperty(this,Jg,{writable:!0,value:void 0}),Xv(this,Kg)[Kg]=void 0,Xv(this,Zg)[Zg]=B,this.setOptions(H),this.bindMethods(),Xv(this,Qg)[Qg]()}});function ay(){const B=Xv(this,Yg)[Yg]?.state??{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0};Xv(this,Kg)[Kg]={...B,isPending:"pending"===B.status,isSuccess:"success"===B.status,isError:"error"===B.status,isIdle:"idle"===B.status,mutate:this.mutate,reset:this.reset}}function ly(B){em.batch(()=>{if(Xv(this,Jg)[Jg]&&this.hasListeners()){const H=Xv(this,Kg)[Kg].variables,W=Xv(this,Kg)[Kg].context,K={client:Xv(this,Zg)[Zg],meta:this.options.meta,mutationKey:this.options.mutationKey};if("success"===B?.type){try{Xv(this,Jg)[Jg].onSuccess?.(B.data,H,W,K)}catch(B){Promise.reject(B)}try{Xv(this,Jg)[Jg].onSettled?.(B.data,null,H,W,K)}catch(B){Promise.reject(B)}}else if("error"===B?.type){try{Xv(this,Jg)[Jg].onError?.(B.error,H,W,K)}catch(B){Promise.reject(B)}try{Xv(this,Jg)[Jg].onSettled?.(void 0,B.error,H,W,K)}catch(B){Promise.reject(B)}}}this.listeners.forEach(B=>{B(Xv(this,Kg)[Kg])})})}function cy(B,H){if(!Object.prototype.hasOwnProperty.call(B,H))throw new TypeError("attempted to use private field on non-instance");return B}var nv,ov=0;var iv=(nv=function dy(B){return"__private_"+ov+++"_"+B}("_queries"),class extends Pf{build(B,H,W){const K=H.queryKey,Y=H.queryHash??Dm(K,H);let ie=this.get(Y);return ie||(ie=new Sm({client:B,queryKey:K,queryHash:Y,options:B.defaultQueryOptions(H),state:W,defaultOptions:B.getQueryDefaults(K)}),this.add(ie)),ie}add(B){cy(this,nv)[nv].has(B.queryHash)||(cy(this,nv)[nv].set(B.queryHash,B),this.notify({type:"added",query:B}))}remove(B){const H=cy(this,nv)[nv].get(B.queryHash);H&&(B.destroy(),H===B&&cy(this,nv)[nv].delete(B.queryHash),this.notify({type:"removed",query:B}))}clear(){em.batch(()=>{this.getAll().forEach(B=>{this.remove(B)})})}get(B){return cy(this,nv)[nv].get(B)}getAll(){return[...cy(this,nv)[nv].values()]}find(B){const H={exact:!0,...B};return this.getAll().find(B=>jm(H,B))}findAll(B={}){const H=this.getAll();return Object.keys(B).length>0?H.filter(H=>jm(B,H)):H}notify(B){em.batch(()=>{this.listeners.forEach(H=>{H(B)})})}onFocus(){em.batch(()=>{this.getAll().forEach(B=>{B.onFocus()})})}onOnline(){em.batch(()=>{this.getAll().forEach(B=>{B.onOnline()})})}constructor(B={}){super(),Object.defineProperty(this,nv,{writable:!0,value:void 0}),this.config=B,cy(this,nv)[nv]=new Map}});function hy(B,H){if(!Object.prototype.hasOwnProperty.call(B,H))throw new TypeError("attempted to use private field on non-instance");return B}var sv,av,lv,cv,uv,dv,pv,fv,mv=0;function ky(B){return"__private_"+mv+++"_"+B}var Pv=(sv=ky("_queryCache"),av=ky("_mutationCache"),lv=ky("_defaultOptions"),cv=ky("_queryDefaults"),uv=ky("_mutationDefaults"),dv=ky("_mountCount"),pv=ky("_unsubscribeFocus"),fv=ky("_unsubscribeOnline"),class{mount(){hy(this,dv)[dv]++,1===hy(this,dv)[dv]&&(hy(this,pv)[pv]=Qf.subscribe(async B=>{B&&(await this.resumePausedMutations(),hy(this,sv)[sv].onFocus())}),hy(this,fv)[fv]=sm.subscribe(async B=>{B&&(await this.resumePausedMutations(),hy(this,sv)[sv].onOnline())}))}unmount(){hy(this,dv)[dv]--,0===hy(this,dv)[dv]&&(null==hy(this,pv)[pv]||hy(this,pv)[pv].call(this),hy(this,pv)[pv]=void 0,null==hy(this,fv)[fv]||hy(this,fv)[fv].call(this),hy(this,fv)[fv]=void 0)}isFetching(B){return hy(this,sv)[sv].findAll({...B,fetchStatus:"fetching"}).length}isMutating(B){return hy(this,av)[av].findAll({...B,status:"pending"}).length}getQueryData(B){const H=this.defaultQueryOptions({queryKey:B});return hy(this,sv)[sv].get(H.queryHash)?.state.data}ensureQueryData(B){const H=this.defaultQueryOptions(B),W=hy(this,sv)[sv].build(this,H),K=W.state.data;return void 0===K?this.fetchQuery(B):(B.revalidateIfStale&&W.isStaleByTime(Pm(H.staleTime,W))&&this.prefetchQuery(H),Promise.resolve(K))}getQueriesData(B){return hy(this,sv)[sv].findAll(B).map(({queryKey:B,state:H})=>[B,H.data])}setQueryData(B,H,W){const K=this.defaultQueryOptions({queryKey:B}),Y=hy(this,sv)[sv].get(K.queryHash),ie=Y?.state.data,ce=function(B,H){return"function"==typeof B?B(H):B}(H,ie);if(void 0!==ce)return hy(this,sv)[sv].build(this,K).setData(ce,{...W,manual:!0})}setQueriesData(B,H,W){return em.batch(()=>hy(this,sv)[sv].findAll(B).map(({queryKey:B})=>[B,this.setQueryData(B,H,W)]))}getQueryState(B){const H=this.defaultQueryOptions({queryKey:B});return hy(this,sv)[sv].get(H.queryHash)?.state}removeQueries(B){const H=hy(this,sv)[sv];em.batch(()=>{H.findAll(B).forEach(B=>{H.remove(B)})})}resetQueries(B,H){const W=hy(this,sv)[sv];return em.batch(()=>(W.findAll(B).forEach(B=>{B.reset()}),this.refetchQueries({type:"active",...B},H)))}cancelQueries(B,H={}){const W={revert:!0,...H},K=em.batch(()=>hy(this,sv)[sv].findAll(B).map(B=>B.cancel(W)));return Promise.all(K).then(Im).catch(Im)}invalidateQueries(B,H={}){return em.batch(()=>(hy(this,sv)[sv].findAll(B).forEach(B=>{B.invalidate()}),"none"===B?.refetchType?Promise.resolve():this.refetchQueries({...B,type:B?.refetchType??B?.type??"active"},H)))}refetchQueries(B,H={}){const W={...H,cancelRefetch:H.cancelRefetch??!0},K=em.batch(()=>hy(this,sv)[sv].findAll(B).filter(B=>!B.isDisabled()&&!B.isStatic()).map(B=>{let H=B.fetch(void 0,W);return W.throwOnError||(H=H.catch(Im)),"paused"===B.state.fetchStatus?Promise.resolve():H}));return Promise.all(K).then(Im)}fetchQuery(B){const H=this.defaultQueryOptions(B);void 0===H.retry&&(H.retry=!1);const W=hy(this,sv)[sv].build(this,H);return W.isStaleByTime(Pm(H.staleTime,W))?W.fetch(H):Promise.resolve(W.state.data)}prefetchQuery(B){return this.fetchQuery(B).then(Im).catch(Im)}fetchInfiniteQuery(B){return B.behavior=Rv(B.pages),this.fetchQuery(B)}prefetchInfiniteQuery(B){return this.fetchInfiniteQuery(B).then(Im).catch(Im)}ensureInfiniteQueryData(B){return B.behavior=Rv(B.pages),this.ensureQueryData(B)}resumePausedMutations(){return sm.isOnline()?hy(this,av)[av].resumePausedMutations():Promise.resolve()}getQueryCache(){return hy(this,sv)[sv]}getMutationCache(){return hy(this,av)[av]}getDefaultOptions(){return hy(this,lv)[lv]}setDefaultOptions(B){hy(this,lv)[lv]=B}setQueryDefaults(B,H){hy(this,cv)[cv].set(Fm(B),{queryKey:B,defaultOptions:H})}getQueryDefaults(B){const H=[...hy(this,cv)[cv].values()],W={};return H.forEach(H=>{$m(B,H.queryKey)&&Object.assign(W,H.defaultOptions)}),W}setMutationDefaults(B,H){hy(this,uv)[uv].set(Fm(B),{mutationKey:B,defaultOptions:H})}getMutationDefaults(B){const H=[...hy(this,uv)[uv].values()],W={};return H.forEach(H=>{$m(B,H.mutationKey)&&Object.assign(W,H.defaultOptions)}),W}defaultQueryOptions(B){if(B._defaulted)return B;const H={...hy(this,lv)[lv].queries,...this.getQueryDefaults(B.queryKey),...B,_defaulted:!0};return H.queryHash||(H.queryHash=Dm(H.queryKey,H)),void 0===H.refetchOnReconnect&&(H.refetchOnReconnect="always"!==H.networkMode),void 0===H.throwOnError&&(H.throwOnError=!!H.suspense),!H.networkMode&&H.persister&&(H.networkMode="offlineFirst"),H.queryFn===Wf&&(H.enabled=!1),H}defaultMutationOptions(B){return B?._defaulted?B:{...hy(this,lv)[lv].mutations,...B?.mutationKey&&this.getMutationDefaults(B.mutationKey),...B,_defaulted:!0}}clear(){hy(this,sv)[sv].clear(),hy(this,av)[av].clear()}constructor(B={}){Object.defineProperty(this,sv,{writable:!0,value:void 0}),Object.defineProperty(this,av,{writable:!0,value:void 0}),Object.defineProperty(this,lv,{writable:!0,value:void 0}),Object.defineProperty(this,cv,{writable:!0,value:void 0}),Object.defineProperty(this,uv,{writable:!0,value:void 0}),Object.defineProperty(this,dv,{writable:!0,value:void 0}),Object.defineProperty(this,pv,{writable:!0,value:void 0}),Object.defineProperty(this,fv,{writable:!0,value:void 0}),hy(this,sv)[sv]=B.queryCache||new iv,hy(this,av)[av]=B.mutationCache||new Xg,hy(this,lv)[lv]=B.defaultOptions||{},hy(this,cv)[cv]=new Map,hy(this,uv)[uv]=new Map,hy(this,dv)[dv]=0}}),Lv=ce.createContext(void 0),Ey=B=>{const H=ce.useContext(Lv);if(B)return B;if(!H)throw new Error("No QueryClient set, use QueryClientProvider to set one");return H},Ty=({client:B,children:H})=>(ce.useEffect(()=>(B.mount(),()=>{B.unmount()}),[B]),K.jsx(Lv.Provider,{value:B,children:H})),jv=ce.createContext(!1),Fv=ce.createContext(function(){let B=!1;return{clearReset:()=>{B=!1},reset:()=>{B=!0},isReset:()=>B}}()),My=(B,H,W)=>H.fetchOptimistic(B).catch(()=>{W.clearReset()});function Ay(B,H){return function(B,H,W){const K=ce.useContext(jv),Y=ce.useContext(Fv),ie=Ey(W),ue=ie.defaultQueryOptions(B);ie.getDefaultOptions().queries?._experimental_beforeQuery?.(ue);const de=ie.getQueryCache().get(ue.queryHash);ue._optimisticResults=K?"isRestoring":"optimistic",(B=>{if(B.suspense){const H=1e3,r=B=>"static"===B?B:Math.max(B??H,H),W=B.staleTime;B.staleTime="function"==typeof W?(...B)=>r(W(...B)):r(W),"number"==typeof B.gcTime&&(B.gcTime=Math.max(B.gcTime,H))}})(ue),((B,H,W)=>{const K=W?.state.error&&"function"==typeof B.throwOnError?Xm(B.throwOnError,[W.state.error,W]):B.throwOnError;(B.suspense||B.experimental_prefetchInRender||K)&&(H.isReset()||(B.retryOnMount=!1))})(ue,Y,de),(B=>{ce.useEffect(()=>{B.clearReset()},[B])})(Y);const pe=!ie.getQueryCache().get(ue.queryHash),[fe]=ce.useState(()=>new H(ie,ue)),ke=fe.getOptimisticResult(ue),Je=!K&&!1!==B.subscribed;if(ce.useSyncExternalStore(ce.useCallback(B=>{const H=Je?fe.subscribe(em.batchCalls(B)):Im;return fe.updateResult(),H},[fe,Je]),()=>fe.getCurrentResult(),()=>fe.getCurrentResult()),ce.useEffect(()=>{fe.setOptions(ue)},[ue,fe]),((B,H)=>B?.suspense&&H.isPending)(ue,ke))throw My(ue,fe,Y);if((({result:B,errorResetBoundary:H,throwOnError:W,query:K,suspense:Y})=>B.isError&&!H.isReset()&&!B.isFetching&&K&&(Y&&void 0===B.data||Xm(W,[B.error,K])))({result:ke,errorResetBoundary:Y,throwOnError:ue.throwOnError,query:de,suspense:ue.suspense}))throw ke.error;if(ie.getDefaultOptions().queries?._experimental_afterQuery?.(ue,ke),ue.experimental_prefetchInRender&&!Bf&&((B,H)=>B.isLoading&&B.isFetching&&!H)(ke,K)){const B=pe?My(ue,fe,Y):de?.promise;B?.catch(Im).finally(()=>{fe.updateResult()})}return ue.notifyOnChangeProps?ke:fe.trackResult(ke)}(B,Mg,H)}function Py(B,H){const W=Ey(H),[K]=ce.useState(()=>new rv(W,B));ce.useEffect(()=>{K.setOptions(B)},[K,B]);const Y=ce.useSyncExternalStore(ce.useCallback(B=>K.subscribe(em.batchCalls(B)),[K]),()=>K.getCurrentResult(),()=>K.getCurrentResult()),ie=ce.useCallback((B,H)=>{K.mutate(B,H).catch(Im)},[K]);if(Y.error&&Xm(K.options.throwOnError,[Y.error]))throw Y.error;return{...Y,mutate:ie,mutateAsync:Y.mutate}}const Nv={local:{SUPPORT_FORM_URL:"https://my.stg.elementor.red/support-form/",FEEDBACK_API:"https://my.stg.elementor.red/feedback/api/v1",WHATS_NEW_API:"https://my.stg.elementor.red/whats-new/api/v1",MY_ELEMENTOR_URL:"https://my.stg.elementor.red"},development:{SUPPORT_FORM_URL:"https://my.dev.elementor.red/support-form/",FEEDBACK_API:"https://my.dev.elementor.red/feedback/api/v1",WHATS_NEW_API:"https://my.dev.elementor.red/whats-new/api/v1",MY_ELEMENTOR_URL:"https://my.dev.elementor.red"},staging:{SUPPORT_FORM_URL:"https://my.stg.elementor.red/support-form/",FEEDBACK_API:"https://my.stg.elementor.red/feedback/api/v1",WHATS_NEW_API:"https://my.stg.elementor.red/whats-new/api/v1",MY_ELEMENTOR_URL:"https://my.stg.elementor.red"},production:{SUPPORT_FORM_URL:"https://my.elementor.com/support-form/",FEEDBACK_API:"https://my.elementor.com/feedback/api/v1",WHATS_NEW_API:"https://my.elementor.com/whats-new/api/v1",MY_ELEMENTOR_URL:"https://my.elementor.com"}};function jy(B,H){return function(){return B.apply(H,arguments)}}const{toString:Dv}=Object.prototype,{getPrototypeOf:$v}=Object,{iterator:zv,toStringTag:Hv}=Symbol,qv=(Wv=Object.create(null),B=>{const H=Dv.call(B);return Wv[H]||(Wv[H]=H.slice(8,-1).toLowerCase())});var Wv;const Vy=B=>(B=B.toLowerCase(),H=>qv(H)===B),Uy=B=>H=>typeof H===B,{isArray:Gv}=Array,Yv=Uy("undefined");function Hy(B){return null!==B&&!Yv(B)&&null!==B.constructor&&!Yv(B.constructor)&&ey(B.constructor.isBuffer)&&B.constructor.isBuffer(B)}const Jv=Vy("ArrayBuffer"),Qv=Uy("string"),ey=Uy("function"),ty=Uy("number"),Xy=B=>null!==B&&"object"==typeof B,Jy=B=>{if("object"!==qv(B))return!1;const H=$v(B);return!(null!==H&&H!==Object.prototype&&null!==Object.getPrototypeOf(H)||Hv in B||zv in B)},ry=Vy("Date"),ny=Vy("File"),oy=Vy("Blob"),sy=Vy("FileList"),uy="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==W.g?W.g:{},py=void 0!==uy.FormData?uy.FormData:void 0,fy=Vy("URLSearchParams"),[my,gy,vy,yy]=["ReadableStream","Request","Response","Headers"].map(Vy);function ub(B,H,{allOwnKeys:W=!1}={}){if(null==B)return;let K,Y;if("object"!=typeof B&&(B=[B]),Gv(B))for(K=0,Y=B.length;K<Y;K++)H.call(null,B[K],K,B);else{if(Hy(B))return;const Y=W?Object.getOwnPropertyNames(B):Object.keys(B),ie=Y.length;let ce;for(K=0;K<ie;K++)ce=Y[K],H.call(null,B[ce],ce,B)}}function pb(B,H){if(Hy(B))return null;H=H.toLowerCase();const W=Object.keys(B);let K,Y=W.length;for(;Y-- >0;)if(K=W[Y],H===K.toLowerCase())return K;return null}const by="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:W.g,fb=B=>!Yv(B)&&B!==by,wy=(_y="undefined"!=typeof Uint8Array&&$v(Uint8Array),B=>_y&&B instanceof _y);var _y;const xy=Vy("HTMLFormElement"),Sy=(({hasOwnProperty:B})=>(H,W)=>B.call(H,W))(Object.prototype),Cy=Vy("RegExp"),bb=(B,H)=>{const W=Object.getOwnPropertyDescriptors(B),K={};ub(W,(W,Y)=>{let ie;!1!==(ie=H(W,Y,B))&&(K[Y]=ie||W)}),Object.defineProperties(B,K)},Oy=Vy("AsyncFunction"),Ry=(Iy="function"==typeof setImmediate,Ly=ey(by.postMessage),Iy?setImmediate:Ly?((B,H)=>(by.addEventListener("message",({source:W,data:K})=>{W===by&&K===B&&H.length&&H.shift()()},!1),W=>{H.push(W),by.postMessage(B,"*")}))(`axios@${Math.random()}`,[]):B=>setTimeout(B));var Iy,Ly;const Fy="undefined"!=typeof queueMicrotask?queueMicrotask.bind(by):"undefined"!=typeof process&&process.nextTick||Ry,Ny={isArray:Gv,isArrayBuffer:Jv,isBuffer:Hy,isFormData:B=>{let H;return B&&(py&&B instanceof py||ey(B.append)&&("formdata"===(H=qv(B))||"object"===H&&ey(B.toString)&&"[object FormData]"===B.toString()))},isArrayBufferView:function(B){let H;return H="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(B):B&&B.buffer&&Jv(B.buffer),H},isString:Qv,isNumber:ty,isBoolean:B=>!0===B||!1===B,isObject:Xy,isPlainObject:Jy,isEmptyObject:B=>{if(!Xy(B)||Hy(B))return!1;try{return 0===Object.keys(B).length&&Object.getPrototypeOf(B)===Object.prototype}catch(B){return!1}},isReadableStream:my,isRequest:gy,isResponse:vy,isHeaders:yy,isUndefined:Yv,isDate:ry,isFile:ny,isReactNativeBlob:B=>!(!B||void 0===B.uri),isReactNative:B=>B&&void 0!==B.getParts,isBlob:oy,isRegExp:Cy,isFunction:ey,isStream:B=>Xy(B)&&ey(B.pipe),isURLSearchParams:fy,isTypedArray:wy,isFileList:sy,forEach:ub,merge:function e(){const{caseless:B,skipUndefined:H}=fb(this)&&this||{},W={},o=(K,Y)=>{if("__proto__"===Y||"constructor"===Y||"prototype"===Y)return;const ie=B&&pb(W,Y)||Y;Jy(W[ie])&&Jy(K)?W[ie]=e(W[ie],K):Jy(K)?W[ie]=e({},K):Gv(K)?W[ie]=K.slice():H&&Yv(K)||(W[ie]=K)};for(let B=0,H=arguments.length;B<H;B++)arguments[B]&&ub(arguments[B],o);return W},extend:(B,H,W,{allOwnKeys:K}={})=>(ub(H,(H,K)=>{W&&ey(H)?Object.defineProperty(B,K,{value:jy(H,W),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(B,K,{value:H,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:K}),B),trim:B=>B.trim?B.trim():B.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:B=>(65279===B.charCodeAt(0)&&(B=B.slice(1)),B),inherits:(B,H,W,K)=>{B.prototype=Object.create(H.prototype,K),Object.defineProperty(B.prototype,"constructor",{value:B,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(B,"super",{value:H.prototype}),W&&Object.assign(B.prototype,W)},toFlatObject:(B,H,W,K)=>{let Y,ie,ce;const ue={};if(H=H||{},null==B)return H;do{for(Y=Object.getOwnPropertyNames(B),ie=Y.length;ie-- >0;)ce=Y[ie],K&&!K(ce,B,H)||ue[ce]||(H[ce]=B[ce],ue[ce]=!0);B=!1!==W&&$v(B)}while(B&&(!W||W(B,H))&&B!==Object.prototype);return H},kindOf:qv,kindOfTest:Vy,endsWith:(B,H,W)=>{B=String(B),(void 0===W||W>B.length)&&(W=B.length),W-=H.length;const K=B.indexOf(H,W);return-1!==K&&K===W},toArray:B=>{if(!B)return null;if(Gv(B))return B;let H=B.length;if(!ty(H))return null;const W=new Array(H);for(;H-- >0;)W[H]=B[H];return W},forEachEntry:(B,H)=>{const W=(B&&B[zv]).call(B);let K;for(;(K=W.next())&&!K.done;){const W=K.value;H.call(B,W[0],W[1])}},matchAll:(B,H)=>{let W;const K=[];for(;null!==(W=B.exec(H));)K.push(W);return K},isHTMLForm:xy,hasOwnProperty:Sy,hasOwnProp:Sy,reduceDescriptors:bb,freezeMethods:B=>{bb(B,(H,W)=>{if(ey(B)&&-1!==["arguments","caller","callee"].indexOf(W))return!1;const K=B[W];ey(K)&&(H.enumerable=!1,"writable"in H?H.writable=!1:H.set||(H.set=()=>{throw Error("Can not rewrite read-only method '"+W+"'")}))})},toObjectSet:(B,H)=>{const W={},n=B=>{B.forEach(B=>{W[B]=!0})};return Gv(B)?n(B):n(String(B).split(H)),W},toCamelCase:B=>B.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(B,H,W){return H.toUpperCase()+W}),noop:()=>{},toFiniteNumber:(B,H)=>null!=B&&Number.isFinite(B=+B)?B:H,findKey:pb,global:by,isContextDefined:fb,isSpecCompliantForm:function(B){return!!(B&&ey(B.append)&&"FormData"===B[Hv]&&B[zv])},toJSONObject:B=>{const H=new Array(10),r=(B,W)=>{if(Xy(B)){if(H.indexOf(B)>=0)return;if(Hy(B))return B;if(!("toJSON"in B)){H[W]=B;const K=Gv(B)?[]:{};return ub(B,(B,H)=>{const Y=r(B,W+1);!Yv(Y)&&(K[H]=Y)}),H[W]=void 0,K}}return B};return r(B,0)},isAsyncFn:Oy,isThenable:B=>B&&(Xy(B)||ey(B))&&ey(B.then)&&ey(B.catch),setImmediate:Ry,asap:Fy,isIterable:B=>null!=B&&ey(B[zv])};class Ob extends Error{static from(B,H,W,K,Y,ie){const ce=new Ob(B.message,H||B.code,W,K,Y);return ce.cause=B,ce.name=B.name,null!=B.status&&null==ce.status&&(ce.status=B.status),ie&&Object.assign(ce,ie),ce}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ny.toJSONObject(this.config),code:this.code,status:this.status}}constructor(B,H,W,K,Y){super(B),Object.defineProperty(this,"message",{value:B,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,H&&(this.code=H),W&&(this.config=W),K&&(this.request=K),Y&&(this.response=Y,this.status=Y.status)}}Ob.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Ob.ERR_BAD_OPTION="ERR_BAD_OPTION",Ob.ECONNABORTED="ECONNABORTED",Ob.ETIMEDOUT="ETIMEDOUT",Ob.ERR_NETWORK="ERR_NETWORK",Ob.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Ob.ERR_DEPRECATED="ERR_DEPRECATED",Ob.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Ob.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Ob.ERR_CANCELED="ERR_CANCELED",Ob.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Ob.ERR_INVALID_URL="ERR_INVALID_URL";const Dy=Ob;function Tb(B){return Ny.isPlainObject(B)||Ny.isArray(B)}function Rb(B){return Ny.endsWith(B,"[]")?B.slice(0,-2):B}function Ib(B,H,W){return B?B.concat(H).map(function(B,H){return B=Rb(B),!W&&H?"["+B+"]":B}).join(W?".":""):H}const $y=Ny.toFlatObject(Ny,{},null,function(B){return/^is[A-Z]/.test(B)});function Ab(B,H,W){if(!Ny.isObject(B))throw new TypeError("target must be an object");H=H||new FormData;const K=(W=Ny.toFlatObject(W,{metaTokens:!0,dots:!1,indexes:!1},!1,function(B,H){return!Ny.isUndefined(H[B])})).metaTokens,Y=W.visitor||c,ie=W.dots,ce=W.indexes,ue=(W.Blob||"undefined"!=typeof Blob&&Blob)&&Ny.isSpecCompliantForm(H);if(!Ny.isFunction(Y))throw new TypeError("visitor must be a function");function l(B){if(null===B)return"";if(Ny.isDate(B))return B.toISOString();if(Ny.isBoolean(B))return B.toString();if(!ue&&Ny.isBlob(B))throw new Dy("Blob is not supported. Use a Buffer instead.");return Ny.isArrayBuffer(B)||Ny.isTypedArray(B)?ue&&"function"==typeof Blob?new Blob([B]):Buffer.from(B):B}function c(B,W,Y){let ue=B;if(Ny.isReactNative(H)&&Ny.isReactNativeBlob(B))return H.append(Ib(Y,W,ie),l(B)),!1;if(B&&!Y&&"object"==typeof B)if(Ny.endsWith(W,"{}"))W=K?W:W.slice(0,-2),B=JSON.stringify(B);else if(Ny.isArray(B)&&function(B){return Ny.isArray(B)&&!B.some(Tb)}(B)||(Ny.isFileList(B)||Ny.endsWith(W,"[]"))&&(ue=Ny.toArray(B)))return W=Rb(W),ue.forEach(function(B,K){!Ny.isUndefined(B)&&null!==B&&H.append(!0===ce?Ib([W],K,ie):null===ce?W:W+"[]",l(B))}),!1;return!!Tb(B)||(H.append(Ib(Y,W,ie),l(B)),!1)}const de=[],pe=Object.assign($y,{defaultVisitor:c,convertValue:l,isVisitable:Tb});if(!Ny.isObject(B))throw new TypeError("data must be an object");return function e(B,W){if(!Ny.isUndefined(B)){if(-1!==de.indexOf(B))throw Error("Circular reference detected in "+W.join("."));de.push(B),Ny.forEach(B,function(B,K){!0===(!(Ny.isUndefined(B)||null===B)&&Y.call(H,B,Ny.isString(K)?K.trim():K,W,pe))&&e(B,W?W.concat(K):[K])}),de.pop()}}(B),H}function Pb(B){const H={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(B).replace(/[!'()~]|%20|%00/g,function(B){return H[B]})}function Nb(B,H){this._pairs=[],B&&Ab(B,this,H)}const zy=Nb.prototype;function Lb(B){return encodeURIComponent(B).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Db(B,H,W){if(!H)return B;const K=W&&W.encode||Lb,Y=Ny.isFunction(W)?{serialize:W}:W,ie=Y&&Y.serialize;let ce;if(ce=ie?ie(H,Y):Ny.isURLSearchParams(H)?H.toString():new Nb(H,Y).toString(K),ce){const H=B.indexOf("#");-1!==H&&(B=B.slice(0,H)),B+=(-1===B.indexOf("?")?"?":"&")+ce}return B}zy.append=function(B,H){this._pairs.push([B,H])},zy.toString=function(B){const H=B?function(H){return B.call(this,H,Pb)}:Pb;return this._pairs.map(function(B){return H(B[0])+"="+H(B[1])},"").join("&")};class Fb{use(B,H,W){return this.handlers.push({fulfilled:B,rejected:H,synchronous:!!W&&W.synchronous,runWhen:W?W.runWhen:null}),this.handlers.length-1}eject(B){this.handlers[B]&&(this.handlers[B]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(B){Ny.forEach(this.handlers,function(H){null!==H&&B(H)})}constructor(){this.handlers=[]}}const By={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},qy={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Nb,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Wy="undefined"!=typeof window&&"undefined"!=typeof document,Gy="object"==typeof navigator&&navigator||void 0,Zy=Wy&&(!Gy||["ReactNative","NativeScript","NS"].indexOf(Gy.product)<0),Ky="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Yy=Wy&&window.location.href||"http://localhost",Qy={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Wy,hasStandardBrowserEnv:Zy,hasStandardBrowserWebWorkerEnv:Ky,navigator:Gy,origin:Yy},Symbol.toStringTag,{value:"Module"})),...qy};function Gb(B){function t(B,H,W,K){let Y=B[K++];if("__proto__"===Y)return!0;const ie=Number.isFinite(+Y),ce=K>=B.length;return Y=!Y&&Ny.isArray(W)?W.length:Y,ce?(Ny.hasOwnProp(W,Y)?W[Y]=[W[Y],H]:W[Y]=H,!ie):(W[Y]&&Ny.isObject(W[Y])||(W[Y]=[]),t(B,H,W[Y],K)&&Ny.isArray(W[Y])&&(W[Y]=function(B){const H={},W=Object.keys(B);let K;const Y=W.length;let ie;for(K=0;K<Y;K++)ie=W[K],H[ie]=B[ie];return H}(W[Y])),!ie)}if(Ny.isFormData(B)&&Ny.isFunction(B.entries)){const H={};return Ny.forEachEntry(B,(B,W)=>{t(function(B){return Ny.matchAll(/\w+|\[(\w*)]/g,B).map(B=>"[]"===B[0]?"":B[1]||B[0])}(B),W,H,0)}),H}return null}const eb={transitional:By,adapter:["xhr","http","fetch"],transformRequest:[function(B,H){const W=H.getContentType()||"",K=W.indexOf("application/json")>-1,Y=Ny.isObject(B);if(Y&&Ny.isHTMLForm(B)&&(B=new FormData(B)),Ny.isFormData(B))return K?JSON.stringify(Gb(B)):B;if(Ny.isArrayBuffer(B)||Ny.isBuffer(B)||Ny.isStream(B)||Ny.isFile(B)||Ny.isBlob(B)||Ny.isReadableStream(B))return B;if(Ny.isArrayBufferView(B))return B.buffer;if(Ny.isURLSearchParams(B))return H.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),B.toString();let ie;if(Y){if(W.indexOf("application/x-www-form-urlencoded")>-1)return function(B,H){return Ab(B,new Qy.classes.URLSearchParams,{visitor:function(B,H,W,K){return Qy.isNode&&Ny.isBuffer(B)?(this.append(H,B.toString("base64")),!1):K.defaultVisitor.apply(this,arguments)},...H})}(B,this.formSerializer).toString();if((ie=Ny.isFileList(B))||W.indexOf("multipart/form-data")>-1){const H=this.env&&this.env.FormData;return Ab(ie?{"files[]":B}:B,H&&new H,this.formSerializer)}}return Y||K?(H.setContentType("application/json",!1),function(B){if(Ny.isString(B))try{return(0,JSON.parse)(B),Ny.trim(B)}catch(B){if("SyntaxError"!==B.name)throw B}return(0,JSON.stringify)(B)}(B)):B}],transformResponse:[function(B){const H=this.transitional||eb.transitional,W=H&&H.forcedJSONParsing,K="json"===this.responseType;if(Ny.isResponse(B)||Ny.isReadableStream(B))return B;if(B&&Ny.isString(B)&&(W&&!this.responseType||K)){const W=!(H&&H.silentJSONParsing)&&K;try{return JSON.parse(B,this.parseReviver)}catch(B){if(W){if("SyntaxError"===B.name)throw Dy.from(B,Dy.ERR_BAD_RESPONSE,this,null,this.response);throw B}}}return B}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Qy.classes.FormData,Blob:Qy.classes.Blob},validateStatus:function(B){return B>=200&&B<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ny.forEach(["delete","get","head","post","put","patch"],B=>{eb.headers[B]={}});const tb=eb,rb=Ny.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),nb=Symbol("internals");function Jb(B,H){if(!1!==B&&null!=B)if(Ny.isArray(B))B.forEach(B=>Jb(B,H));else if(!(B=>!/[\r\n]/.test(B))(String(B)))throw new Error(`Invalid character in header content ["${H}"]`)}function Qb(B){return B&&String(B).trim().toLowerCase()}function ew(B){return!1===B||null==B?B:Ny.isArray(B)?B.map(ew):function(B){let H=B.length;for(;H>0;){const W=B.charCodeAt(H-1);if(10!==W&&13!==W)break;H-=1}return H===B.length?B:B.slice(0,H)}(String(B))}function tw(B,H,W,K,Y){return Ny.isFunction(K)?K.call(this,H,W):(Y&&(H=W),Ny.isString(H)?Ny.isString(K)?-1!==H.indexOf(K):Ny.isRegExp(K)?K.test(H):void 0:void 0)}class rw{set(B,H,W){const K=this;function o(B,H,W){const Y=Qb(H);if(!Y)throw new Error("header name must be a non-empty string");const ie=Ny.findKey(K,Y);(!ie||void 0===K[ie]||!0===W||void 0===W&&!1!==K[ie])&&(Jb(B,H),K[ie||H]=ew(B))}const i=(B,H)=>Ny.forEach(B,(B,W)=>o(B,W,H));if(Ny.isPlainObject(B)||B instanceof this.constructor)i(B,H);else if(Ny.isString(B)&&(B=B.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(B.trim()))i((B=>{const H={};let W,K,Y;return B&&B.split("\n").forEach(function(B){Y=B.indexOf(":"),W=B.substring(0,Y).trim().toLowerCase(),K=B.substring(Y+1).trim(),!W||H[W]&&rb[W]||("set-cookie"===W?H[W]?H[W].push(K):H[W]=[K]:H[W]=H[W]?H[W]+", "+K:K)}),H})(B),H);else if(Ny.isObject(B)&&Ny.isIterable(B)){let W,K,Y={};for(const H of B){if(!Ny.isArray(H))throw TypeError("Object iterator must return a key-value pair");Y[K=H[0]]=(W=Y[K])?Ny.isArray(W)?[...W,H[1]]:[W,H[1]]:H[1]}i(Y,H)}else null!=B&&o(H,B,W);return this}get(B,H){if(B=Qb(B)){const W=Ny.findKey(this,B);if(W){const B=this[W];if(!H)return B;if(!0===H)return function(B){const H=Object.create(null),W=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let K;for(;K=W.exec(B);)H[K[1]]=K[2];return H}(B);if(Ny.isFunction(H))return H.call(this,B,W);if(Ny.isRegExp(H))return H.exec(B);throw new TypeError("parser must be boolean|regexp|function")}}}has(B,H){if(B=Qb(B)){const W=Ny.findKey(this,B);return!(!W||void 0===this[W]||H&&!tw(0,this[W],W,H))}return!1}delete(B,H){const W=this;let K=!1;function o(B){if(B=Qb(B)){const Y=Ny.findKey(W,B);!Y||H&&!tw(0,W[Y],Y,H)||(delete W[Y],K=!0)}}return Ny.isArray(B)?B.forEach(o):o(B),K}clear(B){const H=Object.keys(this);let W=H.length,K=!1;for(;W--;){const Y=H[W];B&&!tw(0,this[Y],Y,B,!0)||(delete this[Y],K=!0)}return K}normalize(B){const H=this,W={};return Ny.forEach(this,(K,Y)=>{const ie=Ny.findKey(W,Y);if(ie)return H[ie]=ew(K),void delete H[Y];const ce=B?function(B){return B.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(B,H,W)=>H.toUpperCase()+W)}(Y):String(Y).trim();ce!==Y&&delete H[Y],H[ce]=ew(K),W[ce]=!0}),this}concat(...B){return this.constructor.concat(this,...B)}toJSON(B){const H=Object.create(null);return Ny.forEach(this,(W,K)=>{null!=W&&!1!==W&&(H[K]=B&&Ny.isArray(W)?W.join(", "):W)}),H}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([B,H])=>B+": "+H).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(B){return B instanceof this?B:new this(B)}static concat(B,...H){const W=new this(B);return H.forEach(B=>W.set(B)),W}static accessor(B){const H=(this[nb]=this[nb]={accessors:{}}).accessors,W=this.prototype;function n(B){const K=Qb(B);H[K]||(function(B,H){const W=Ny.toCamelCase(" "+H);["get","set","has"].forEach(K=>{Object.defineProperty(B,K+W,{value:function(B,W,Y){return this[K].call(this,H,B,W,Y)},configurable:!0})})}(W,B),H[K]=!0)}return Ny.isArray(B)?B.forEach(n):n(B),this}constructor(B){B&&this.set(B)}}rw.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ny.reduceDescriptors(rw.prototype,({value:B},H)=>{let W=H[0].toUpperCase()+H.slice(1);return{get:()=>B,set(B){this[W]=B}}}),Ny.freezeMethods(rw);const ob=rw;function ow(B,H){const W=this||tb,K=H||W,Y=ob.from(K.headers);let ie=K.data;return Ny.forEach(B,function(B){ie=B.call(W,ie,Y.normalize(),H?H.status:void 0)}),Y.normalize(),ie}function iw(B){return!(!B||!B.__CANCEL__)}const ib=class extends Dy{constructor(B,H,W){super(null==B?"canceled":B,Dy.ERR_CANCELED,H,W),this.name="CanceledError",this.__CANCEL__=!0}};function aw(B,H,W){const K=W.config.validateStatus;W.status&&K&&!K(W.status)?H(new Dy("Request failed with status code "+W.status,[Dy.ERR_BAD_REQUEST,Dy.ERR_BAD_RESPONSE][Math.floor(W.status/100)-4],W.config,W.request,W)):B(W)}const lw=(B,H,W=3)=>{let K=0;const Y=function(B,H){B=B||10;const W=new Array(B),K=new Array(B);let Y,ie=0,ce=0;return H=void 0!==H?H:1e3,function(ue){const de=Date.now(),pe=K[ce];Y||(Y=de),W[ie]=ue,K[ie]=de;let fe=ce,ke=0;for(;fe!==ie;)ke+=W[fe++],fe%=B;if(ie=(ie+1)%B,ie===ce&&(ce=(ce+1)%B),de-Y<H)return;const Je=pe&&de-pe;return Je?Math.round(1e3*ke/Je):void 0}}(50,250);return function(W,ie){let ce,ue,de=0,pe=1e3/ie;const u=(W,ie=Date.now())=>{de=ie,ce=null,ue&&(clearTimeout(ue),ue=null),(W=>{const ie=W.loaded,ce=W.lengthComputable?W.total:void 0,ue=ie-K,de=Y(ue);K=ie,B({loaded:ie,total:ce,progress:ce?ie/ce:void 0,bytes:ue,rate:de||void 0,estimated:de&&ce&&ie<=ce?(ce-ie)/de:void 0,event:W,lengthComputable:null!=ce,[H?"download":"upload"]:!0})})(...W)};return[(...B)=>{const H=Date.now(),W=H-de;W>=pe?u(B,H):(ce=B,ue||(ue=setTimeout(()=>{ue=null,u(ce)},pe-W)))},()=>ce&&u(ce)]}(0,W)},cw=(B,H)=>{const W=null!=B;return[K=>H[0]({lengthComputable:W,total:B,loaded:K}),H[1]]},uw=B=>(...H)=>Ny.asap(()=>B(...H)),sb=Qy.hasStandardBrowserEnv?((B,H)=>W=>(W=new URL(W,Qy.origin),B.protocol===W.protocol&&B.host===W.host&&(H||B.port===W.port)))(new URL(Qy.origin),Qy.navigator&&/(msie|trident)/i.test(Qy.navigator.userAgent)):()=>!0,ab=Qy.hasStandardBrowserEnv?{write(B,H,W,K,Y,ie,ce){if("undefined"==typeof document)return;const ue=[`${B}=${encodeURIComponent(H)}`];Ny.isNumber(W)&&ue.push(`expires=${new Date(W).toUTCString()}`),Ny.isString(K)&&ue.push(`path=${K}`),Ny.isString(Y)&&ue.push(`domain=${Y}`),!0===ie&&ue.push("secure"),Ny.isString(ce)&&ue.push(`SameSite=${ce}`),document.cookie=ue.join("; ")},read(B){if("undefined"==typeof document)return null;const H=document.cookie.match(new RegExp("(?:^|; )"+B+"=([^;]*)"));return H?decodeURIComponent(H[1]):null},remove(B){this.write(B,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function fw(B,H,W){let K=!("string"==typeof(Y=H)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(Y));var Y;return B&&(K||0==W)?function(B,H){return H?B.replace(/\/?\/$/,"")+"/"+H.replace(/^\/+/,""):B}(B,H):H}const hw=B=>B instanceof ob?{...B}:B;function mw(B,H){H=H||{};const W={};function n(B,H,W,K){return Ny.isPlainObject(B)&&Ny.isPlainObject(H)?Ny.merge.call({caseless:K},B,H):Ny.isPlainObject(H)?Ny.merge({},H):Ny.isArray(H)?H.slice():H}function o(B,H,W,K){return Ny.isUndefined(H)?Ny.isUndefined(B)?void 0:n(void 0,B,0,K):n(B,H,0,K)}function i(B,H){if(!Ny.isUndefined(H))return n(void 0,H)}function s(B,H){return Ny.isUndefined(H)?Ny.isUndefined(B)?void 0:n(void 0,B):n(void 0,H)}function a(W,K,Y){return Y in H?n(W,K):Y in B?n(void 0,W):void 0}const K={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(B,H,W)=>o(hw(B),hw(H),0,!0)};return Ny.forEach(Object.keys({...B,...H}),function(Y){if("__proto__"===Y||"constructor"===Y||"prototype"===Y)return;const ie=Ny.hasOwnProp(K,Y)?K[Y]:o,ce=ie(B[Y],H[Y],Y);Ny.isUndefined(ce)&&ie!==a||(W[Y]=ce)}),W}const gw=B=>{const H=mw({},B);let{data:W,withXSRFToken:K,xsrfHeaderName:Y,xsrfCookieName:ie,headers:ce,auth:ue}=H;if(H.headers=ce=ob.from(ce),H.url=Db(fw(H.baseURL,H.url,H.allowAbsoluteUrls),B.params,B.paramsSerializer),ue&&ce.set("Authorization","Basic "+btoa((ue.username||"")+":"+(ue.password?unescape(encodeURIComponent(ue.password)):""))),Ny.isFormData(W))if(Qy.hasStandardBrowserEnv||Qy.hasStandardBrowserWebWorkerEnv)ce.setContentType(void 0);else if(Ny.isFunction(W.getHeaders)){const B=W.getHeaders(),H=["content-type","content-length"];Object.entries(B).forEach(([B,W])=>{H.includes(B.toLowerCase())&&ce.set(B,W)})}if(Qy.hasStandardBrowserEnv&&(K&&Ny.isFunction(K)&&(K=K(H)),K||!1!==K&&sb(H.url))){const B=Y&&ie&&ab.read(ie);B&&ce.set(Y,B)}return H},lb="undefined"!=typeof XMLHttpRequest&&function(B){return new Promise(function(H,W){const K=gw(B);let Y=K.data;const ie=ob.from(K.headers).normalize();let ce,ue,de,pe,fe,{responseType:ke,onUploadProgress:Je,onDownloadProgress:rt}=K;function h(){pe&&pe(),fe&&fe(),K.cancelToken&&K.cancelToken.unsubscribe(ce),K.signal&&K.signal.removeEventListener("abort",ce)}let st=new XMLHttpRequest;function g(){if(!st)return;const K=ob.from("getAllResponseHeaders"in st&&st.getAllResponseHeaders());aw(function(B){H(B),h()},function(B){W(B),h()},{data:ke&&"text"!==ke&&"json"!==ke?st.response:st.responseText,status:st.status,statusText:st.statusText,headers:K,config:B,request:st}),st=null}st.open(K.method.toUpperCase(),K.url,!0),st.timeout=K.timeout,"onloadend"in st?st.onloadend=g:st.onreadystatechange=function(){st&&4===st.readyState&&(0!==st.status||st.responseURL&&0===st.responseURL.indexOf("file:"))&&setTimeout(g)},st.onabort=function(){st&&(W(new Dy("Request aborted",Dy.ECONNABORTED,B,st)),st=null)},st.onerror=function(H){const K=H&&H.message?H.message:"Network Error",Y=new Dy(K,Dy.ERR_NETWORK,B,st);Y.event=H||null,W(Y),st=null},st.ontimeout=function(){let H=K.timeout?"timeout of "+K.timeout+"ms exceeded":"timeout exceeded";const Y=K.transitional||By;K.timeoutErrorMessage&&(H=K.timeoutErrorMessage),W(new Dy(H,Y.clarifyTimeoutError?Dy.ETIMEDOUT:Dy.ECONNABORTED,B,st)),st=null},void 0===Y&&ie.setContentType(null),"setRequestHeader"in st&&Ny.forEach(ie.toJSON(),function(B,H){st.setRequestHeader(H,B)}),Ny.isUndefined(K.withCredentials)||(st.withCredentials=!!K.withCredentials),ke&&"json"!==ke&&(st.responseType=K.responseType),rt&&([de,fe]=lw(rt,!0),st.addEventListener("progress",de)),Je&&st.upload&&([ue,pe]=lw(Je),st.upload.addEventListener("progress",ue),st.upload.addEventListener("loadend",pe)),(K.cancelToken||K.signal)&&(ce=H=>{st&&(W(!H||H.type?new ib(null,B,st):H),st.abort(),st=null)},K.cancelToken&&K.cancelToken.subscribe(ce),K.signal&&(K.signal.aborted?ce():K.signal.addEventListener("abort",ce)));const at=function(B){const H=/^([-+\w]{1,25})(:?\/\/|:)/.exec(B);return H&&H[1]||""}(K.url);at&&-1===Qy.protocols.indexOf(at)?W(new Dy("Unsupported protocol "+at+":",Dy.ERR_BAD_REQUEST,B)):st.send(Y||null)})},yw=(B,H)=>{const{length:W}=B=B?B.filter(Boolean):[];if(H||W){let W,K=new AbortController;const o=function(B){if(!W){W=!0,s();const H=B instanceof Error?B:this.reason;K.abort(H instanceof Dy?H:new ib(H instanceof Error?H.message:H))}};let Y=H&&setTimeout(()=>{Y=null,o(new Dy(`timeout of ${H}ms exceeded`,Dy.ETIMEDOUT))},H);const s=()=>{B&&(Y&&clearTimeout(Y),Y=null,B.forEach(B=>{B.unsubscribe?B.unsubscribe(o):B.removeEventListener("abort",o)}),B=null)};B.forEach(B=>B.addEventListener("abort",o));const{signal:ie}=K;return ie.unsubscribe=()=>Ny.asap(s),ie}},bw=function*(B,H){let W=B.byteLength;if(!H||W<H)return void(yield B);let K,Y=0;for(;Y<W;)K=Y+H,yield B.slice(Y,K),Y=K},ww=(B,H,W,K)=>{const Y=async function*(B,H){for await(const W of async function*(B){if(B[Symbol.asyncIterator])return void(yield*B);const H=B.getReader();try{for(;;){const{done:B,value:W}=await H.read();if(B)break;yield W}}finally{await H.cancel()}}(B))yield*bw(W,H)}(B,H);let ie,ce=0,a=B=>{ie||(ie=!0,K&&K(B))};return new ReadableStream({async pull(B){try{const{done:H,value:K}=await Y.next();if(H)return a(),void B.close();let ie=K.byteLength;if(W){let B=ce+=ie;W(B)}B.enqueue(new Uint8Array(K))}catch(B){throw a(B),B}},cancel:B=>(a(B),Y.return())},{highWaterMark:2})},{isFunction:cb}=Ny,db=(({Request:B,Response:H})=>({Request:B,Response:H}))(Ny.global),{ReadableStream:hb,TextEncoder:mb}=Ny.global,Cw=(B,...H)=>{try{return!!B(...H)}catch(B){return!1}},Ow=B=>{B=Ny.merge.call({skipUndefined:!0},db,B);const{fetch:H,Request:W,Response:K}=B,Y=H?cb(H):"function"==typeof fetch,ie=cb(W),ce=cb(K);if(!Y)return!1;const ue=Y&&cb(hb),de=Y&&("function"==typeof mb?(pe=new mb,B=>pe.encode(B)):async B=>new Uint8Array(await new W(B).arrayBuffer()));var pe;const fe=ie&&ue&&Cw(()=>{let B=!1;const H=new hb,K=new W(Qy.origin,{body:H,method:"POST",get duplex(){return B=!0,"half"}}).headers.has("Content-Type");return H.cancel(),B&&!K}),ke=ce&&ue&&Cw(()=>Ny.isReadableStream(new K("").body)),Je={stream:ke&&(B=>B.body)};return Y&&["text","arrayBuffer","blob","formData","stream"].forEach(B=>{!Je[B]&&(Je[B]=(H,W)=>{let K=H&&H[B];if(K)return K.call(H);throw new Dy(`Response type '${B}' is not supported`,Dy.ERR_NOT_SUPPORT,W)})}),async B=>{let{url:Y,method:ce,data:ue,signal:pe,cancelToken:rt,timeout:st,onDownloadProgress:at,onUploadProgress:lt,responseType:pt,headers:ht,withCredentials:mt="same-origin",fetchOptions:vt}=gw(B),yt=H||fetch;pt=pt?(pt+"").toLowerCase():"text";let bt=yw([pe,rt&&rt.toAbortSignal()],st),wt=null;const xt=bt&&bt.unsubscribe&&(()=>{bt.unsubscribe()});let St;try{if(lt&&fe&&"get"!==ce&&"head"!==ce&&0!==(St=await(async(B,H)=>{const K=Ny.toFiniteNumber(B.getContentLength());return null==K?(async B=>{if(null==B)return 0;if(Ny.isBlob(B))return B.size;if(Ny.isSpecCompliantForm(B)){const H=new W(Qy.origin,{method:"POST",body:B});return(await H.arrayBuffer()).byteLength}return Ny.isArrayBufferView(B)||Ny.isArrayBuffer(B)?B.byteLength:(Ny.isURLSearchParams(B)&&(B+=""),Ny.isString(B)?(await de(B)).byteLength:void 0)})(H):K})(ht,ue))){let B,H=new W(Y,{method:"POST",body:ue,duplex:"half"});if(Ny.isFormData(ue)&&(B=H.headers.get("content-type"))&&ht.setContentType(B),H.body){const[B,W]=cw(St,lw(uw(lt)));ue=ww(H.body,65536,B,W)}}Ny.isString(mt)||(mt=mt?"include":"omit");const H=ie&&"credentials"in W.prototype,pe={...vt,signal:bt,method:ce.toUpperCase(),headers:ht.normalize().toJSON(),body:ue,duplex:"half",credentials:H?mt:void 0};wt=ie&&new W(Y,pe);let rt=await(ie?yt(wt,vt):yt(Y,pe));const st=ke&&("stream"===pt||"response"===pt);if(ke&&(at||st&&xt)){const B={};["status","statusText","headers"].forEach(H=>{B[H]=rt[H]});const H=Ny.toFiniteNumber(rt.headers.get("content-length")),[W,Y]=at&&cw(H,lw(uw(at),!0))||[];rt=new K(ww(rt.body,65536,W,()=>{Y&&Y(),xt&&xt()}),B)}pt=pt||"text";let kt=await Je[Ny.findKey(Je,pt)||"text"](rt,B);return!st&&xt&&xt(),await new Promise((H,W)=>{aw(H,W,{data:kt,headers:ob.from(rt.headers),status:rt.status,statusText:rt.statusText,config:B,request:wt})})}catch(H){if(xt&&xt(),H&&"TypeError"===H.name&&/Load failed|fetch/i.test(H.message))throw Object.assign(new Dy("Network Error",Dy.ERR_NETWORK,B,wt,H&&H.response),{cause:H.cause||H});throw Dy.from(H,H&&H.code,B,wt,H&&H.response)}}},gb=new Map,Tw=B=>{let H=B&&B.env||{};const{fetch:W,Request:K,Response:Y}=H,ie=[K,Y,W];let ce,ue,de=ie.length,pe=gb;for(;de--;)ce=ie[de],ue=pe.get(ce),void 0===ue&&pe.set(ce,ue=de?new Map:Ow(H)),pe=ue;return ue};Tw();const vb={http:null,xhr:lb,fetch:{get:Tw}};Ny.forEach(vb,(B,H)=>{if(B){try{Object.defineProperty(B,"name",{value:H})}catch(B){}Object.defineProperty(B,"adapterName",{value:H})}});const Iw=B=>`- ${B}`,Mw=B=>Ny.isFunction(B)||null===B||!1===B,Aw=function(B,H){B=Ny.isArray(B)?B:[B];const{length:W}=B;let K,Y;const ie={};for(let ce=0;ce<W;ce++){let W;if(K=B[ce],Y=K,!Mw(K)&&(Y=vb[(W=String(K)).toLowerCase()],void 0===Y))throw new Dy(`Unknown adapter '${W}'`);if(Y&&(Ny.isFunction(Y)||(Y=Y.get(H))))break;ie[W||"#"+ce]=Y}if(!Y){const B=Object.entries(ie).map(([B,H])=>`adapter ${B} `+(!1===H?"is not supported by the environment":"is not available in the build"));let H=W?B.length>1?"since :\n"+B.map(Iw).join("\n"):" "+Iw(B[0]):"as no adapter specified";throw new Dy("There is no suitable adapter to dispatch the request "+H,"ERR_NOT_SUPPORT")}return Y};function Pw(B){if(B.cancelToken&&B.cancelToken.throwIfRequested(),B.signal&&B.signal.aborted)throw new ib(null,B)}function Nw(B){return Pw(B),B.headers=ob.from(B.headers),B.data=ow.call(B,B.transformRequest),-1!==["post","put","patch"].indexOf(B.method)&&B.headers.setContentType("application/x-www-form-urlencoded",!1),Aw(B.adapter||tb.adapter,B)(B).then(function(H){return Pw(B),H.data=ow.call(B,B.transformResponse,H),H.headers=ob.from(H.headers),H},function(H){return iw(H)||(Pw(B),H&&H.response&&(H.response.data=ow.call(B,B.transformResponse,H.response),H.response.headers=ob.from(H.response.headers))),Promise.reject(H)})}const yb="1.15.0",wb={};["object","boolean","number","function","string","symbol"].forEach((B,H)=>{wb[B]=function(W){return typeof W===B||"a"+(H<1?"n ":" ")+B}});const _b={};wb.transitional=function(B,H,W){function n(B,H){return"[Axios v"+yb+"] Transitional option '"+B+"'"+H+(W?". "+W:"")}return(W,K,Y)=>{if(!1===B)throw new Dy(n(K," has been removed"+(H?" in "+H:"")),Dy.ERR_DEPRECATED);return H&&!_b[K]&&(_b[K]=!0,console.warn(n(K," has been deprecated since v"+H+" and will be removed in the near future"))),!B||B(W,K,Y)}},wb.spelling=function(B){return(H,W)=>(console.warn(`${W} is likely a misspelling of ${B}`),!0)};const xb={assertOptions:function(B,H,W){if("object"!=typeof B)throw new Dy("options must be an object",Dy.ERR_BAD_OPTION_VALUE);const K=Object.keys(B);let Y=K.length;for(;Y-- >0;){const ie=K[Y],ce=H[ie];if(ce){const H=B[ie],W=void 0===H||ce(H,ie,B);if(!0!==W)throw new Dy("option "+ie+" must be "+W,Dy.ERR_BAD_OPTION_VALUE);continue}if(!0!==W)throw new Dy("Unknown option "+ie,Dy.ERR_BAD_OPTION)}},validators:wb},Sb=xb.validators;class Bw{async request(B,H){try{return await this._request(B,H)}catch(B){if(B instanceof Error){let H={};Error.captureStackTrace?Error.captureStackTrace(H):H=new Error;const W=(()=>{if(!H.stack)return"";const B=H.stack.indexOf("\n");return-1===B?"":H.stack.slice(B+1)})();try{if(B.stack){if(W){const H=W.indexOf("\n"),K=-1===H?-1:W.indexOf("\n",H+1),Y=-1===K?"":W.slice(K+1);String(B.stack).endsWith(Y)||(B.stack+="\n"+W)}}else B.stack=W}catch(B){}}throw B}}_request(B,H){"string"==typeof B?(H=H||{}).url=B:H=B||{},H=mw(this.defaults,H);const{transitional:W,paramsSerializer:K,headers:Y}=H;void 0!==W&&xb.assertOptions(W,{silentJSONParsing:Sb.transitional(Sb.boolean),forcedJSONParsing:Sb.transitional(Sb.boolean),clarifyTimeoutError:Sb.transitional(Sb.boolean),legacyInterceptorReqResOrdering:Sb.transitional(Sb.boolean)},!1),null!=K&&(Ny.isFunction(K)?H.paramsSerializer={serialize:K}:xb.assertOptions(K,{encode:Sb.function,serialize:Sb.function},!0)),void 0!==H.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?H.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:H.allowAbsoluteUrls=!0),xb.assertOptions(H,{baseUrl:Sb.spelling("baseURL"),withXsrfToken:Sb.spelling("withXSRFToken")},!0),H.method=(H.method||this.defaults.method||"get").toLowerCase();let ie=Y&&Ny.merge(Y.common,Y[H.method]);Y&&Ny.forEach(["delete","get","head","post","put","patch","common"],B=>{delete Y[B]}),H.headers=ob.concat(ie,Y);const ce=[];let ue=!0;this.interceptors.request.forEach(function(B){if("function"==typeof B.runWhen&&!1===B.runWhen(H))return;ue=ue&&B.synchronous;const W=H.transitional||By;W&&W.legacyInterceptorReqResOrdering?ce.unshift(B.fulfilled,B.rejected):ce.push(B.fulfilled,B.rejected)});const de=[];let pe;this.interceptors.response.forEach(function(B){de.push(B.fulfilled,B.rejected)});let fe,ke=0;if(!ue){const B=[Nw.bind(this),void 0];for(B.unshift(...ce),B.push(...de),fe=B.length,pe=Promise.resolve(H);ke<fe;)pe=pe.then(B[ke++],B[ke++]);return pe}fe=ce.length;let Je=H;for(;ke<fe;){const H=ce[ke++],W=ce[ke++];try{Je=H(Je)}catch(B){W.call(this,B);break}}try{pe=Nw.call(this,Je)}catch(B){return Promise.reject(B)}for(ke=0,fe=de.length;ke<fe;)pe=pe.then(de[ke++],de[ke++]);return pe}getUri(B){return Db(fw((B=mw(this.defaults,B)).baseURL,B.url,B.allowAbsoluteUrls),B.params,B.paramsSerializer)}constructor(B){this.defaults=B||{},this.interceptors={request:new Fb,response:new Fb}}}Ny.forEach(["delete","get","head","options"],function(B){Bw.prototype[B]=function(H,W){return this.request(mw(W||{},{method:B,url:H,data:(W||{}).data}))}}),Ny.forEach(["post","put","patch"],function(B){function t(H){return function(W,K,Y){return this.request(mw(Y||{},{method:B,headers:H?{"Content-Type":"multipart/form-data"}:{},url:W,data:K}))}}Bw.prototype[B]=t(),Bw.prototype[B+"Form"]=t(!0)});const kb=Bw;class Vw{throwIfRequested(){if(this.reason)throw this.reason}subscribe(B){this.reason?B(this.reason):this._listeners?this._listeners.push(B):this._listeners=[B]}unsubscribe(B){if(!this._listeners)return;const H=this._listeners.indexOf(B);-1!==H&&this._listeners.splice(H,1)}toAbortSignal(){const B=new AbortController,t=H=>{B.abort(H)};return this.subscribe(t),B.signal.unsubscribe=()=>this.unsubscribe(t),B.signal}static source(){let B;return{token:new Vw(function(H){B=H}),cancel:B}}constructor(B){if("function"!=typeof B)throw new TypeError("executor must be a function.");let H;this.promise=new Promise(function(B){H=B});const W=this;this.promise.then(B=>{if(!W._listeners)return;let H=W._listeners.length;for(;H-- >0;)W._listeners[H](B);W._listeners=null}),this.promise.then=B=>{let H;const K=new Promise(B=>{W.subscribe(B),H=B}).then(B);return K.cancel=function(){W.unsubscribe(H)},K},B(function(B,K,Y){W.reason||(W.reason=new ib(B,K,Y),H(W.reason))})}}const Cb=Vw,Eb={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Eb).forEach(([B,H])=>{Eb[H]=B});const Mb=Eb,jb=function e(B){const H=new kb(B),W=jy(kb.prototype.request,H);return Ny.extend(W,kb.prototype,H,{allOwnKeys:!0}),Ny.extend(W,H,null,{allOwnKeys:!0}),W.create=function(H){return e(mw(B,H))},W}(tb);jb.Axios=kb,jb.CanceledError=ib,jb.CancelToken=Cb,jb.isCancel=iw,jb.VERSION=yb,jb.toFormData=Ab,jb.AxiosError=Dy,jb.Cancel=jb.CanceledError,jb.all=function(B){return Promise.all(B)},jb.spread=function(B){return function(H){return B.apply(null,H)}},jb.isAxiosError=function(B){return Ny.isObject(B)&&!0===B.isAxiosError},jb.mergeConfig=mw,jb.AxiosHeaders=ob,jb.formToJSON=B=>Gb(Ny.isHTMLForm(B)?new FormData(B):B),jb.getAdapter=Aw,jb.HttpStatusCode=Mb,jb.default=jb;class Gw{static initialize(B){Gw.config=B}static create(B,H=3e4,W){if(!Gw.config)throw new Error("HttpClient must be initialized with config before use. Call HttpClient.initialize(config) first.");const K=Gw.config[B];if(!K)throw new Error(`Configuration key "${B}" is not found in the environment config`);return new Gw(K,H,W)}async get(B,H,W){return this.http.get(B,{params:H,...W})}async post(B,H,W){return this.http.post(B,H,W)}async put(B,H,W){return this.http.put(B,H,W)}async delete(B,H){return this.http.delete(B,H)}getInstance(){return this.http}constructor(B,H=3e4,W){const K={Accept:"application/json","Content-Type":"application/json",...W||{}};this.http=jb.create({baseURL:B,timeout:H,responseType:"json",headers:K})}}var $b,zb,Bb,Ub;Gw.config=null,$b={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},zb=["(","?"],Bb={")":["("],":":["?","?:"]},Ub=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var Hb={"!":function(B){return!B},"*":function(B,H){return B*H},"/":function(B,H){return B/H},"%":function(B,H){return B%H},"+":function(B,H){return B+H},"-":function(B,H){return B-H},"<":function(B,H){return B<H},"<=":function(B,H){return B<=H},">":function(B,H){return B>H},">=":function(B,H){return B>=H},"==":function(B,H){return B===H},"!=":function(B,H){return B!==H},"&&":function(B,H){return B&&H},"||":function(B,H){return B||H},"?:":function(B,H,W){if(B)throw H;return W}},Vb={contextDelimiter:"",onMissingKey:null};function ex(B,H){var W;for(W in this.data=B,this.pluralForms={},this.options={},Vb)this.options[W]=void 0!==H&&W in H?H[W]:Vb[W]}ex.prototype.getPluralForm=function(B,H){var W,K,Y,ie,ce=this.pluralForms[B];return ce||("function"!=typeof(Y=(W=this.data[B][""])["Plural-Forms"]||W["plural-forms"]||W.plural_forms)&&(K=function(B){var H,W,K;for(H=B.split(";"),W=0;W<H.length;W++)if(0===(K=H[W].trim()).indexOf("plural="))return K.substr(7)}(W["Plural-Forms"]||W["plural-forms"]||W.plural_forms),ie=function(B){var H=function(B){for(var H,W,K,Y,ie=[],ce=[];H=B.match(Ub);){for(W=H[0],(K=B.substr(0,H.index).trim())&&ie.push(K);Y=ce.pop();){if(Bb[W]){if(Bb[W][0]===Y){W=Bb[W][1]||W;break}}else if(zb.indexOf(Y)>=0||$b[Y]<$b[W]){ce.push(Y);break}ie.push(Y)}Bb[W]||ce.push(W),B=B.substr(H.index+W.length)}return(B=B.trim())&&ie.push(B),ie.concat(ce.reverse())}(B);return function(B){return function(B,H){var W,K,Y,ie,ce,ue,de=[];for(W=0;W<B.length;W++){if(ce=B[W],ie=Hb[ce]){for(K=ie.length,Y=Array(K);K--;)Y[K]=de.pop();try{ue=ie.apply(null,Y)}catch(B){return B}}else ue=H.hasOwnProperty(ce)?H[ce]:+ce;de.push(ue)}return de[0]}(H,B)}}(K),Y=function(B){return+ie({n:B})}),ce=this.pluralForms[B]=Y),ce(H)},ex.prototype.dcnpgettext=function(B,H,W,K,Y){var ie,ce,ue;return ie=void 0===Y?0:this.getPluralForm(B,Y),ce=W,H&&(ce=H+this.options.contextDelimiter+W),(ue=this.data[B][ce])&&ue[ie]?ue[ie]:(this.options.onMissingKey&&this.options.onMissingKey(W,B),0===ie?W:K)};const qb={plural_forms:B=>1===B?0:1},Wb=/^i18n\.(n?gettext|has_translation)(_|$)/;var nx=function(B){return"string"!=typeof B||""===B?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(B)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},ox=function(B){return"string"!=typeof B||""===B?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(B)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(B)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},ix=function(B,H){return function(W,K,Y,ie=10){const ce=B[H];if(!ox(W))return;if(!nx(K))return;if("function"!=typeof Y)return void console.error("The hook callback must be a function.");if("number"!=typeof ie)return void console.error("If specified, the hook priority must be a number.");const ue={callback:Y,priority:ie,namespace:K};if(ce[W]){const B=ce[W].handlers;let H;for(H=B.length;H>0&&!(ie>=B[H-1].priority);H--);H===B.length?B[H]=ue:B.splice(H,0,ue),ce.__current.forEach(B=>{B.name===W&&B.currentIndex>=H&&B.currentIndex++})}else ce[W]={handlers:[ue],runs:0};"hookAdded"!==W&&B.doAction("hookAdded",W,K,Y,ie)}},sx=function(B,H,W=!1){return function(K,Y){const ie=B[H];if(!ox(K))return;if(!W&&!nx(Y))return;if(!ie[K])return 0;let ce=0;if(W)ce=ie[K].handlers.length,ie[K]={runs:ie[K].runs,handlers:[]};else{const B=ie[K].handlers;for(let H=B.length-1;H>=0;H--)B[H].namespace===Y&&(B.splice(H,1),ce++,ie.__current.forEach(B=>{B.name===K&&B.currentIndex>=H&&B.currentIndex--}))}return"hookRemoved"!==K&&B.doAction("hookRemoved",K,Y),ce}},ax=function(B,H){return function(W,K){const Y=B[H];return void 0!==K?W in Y&&Y[W].handlers.some(B=>B.namespace===K):W in Y}},lx=function(B,H,W,K){return function(Y,...ie){const ce=B[H];ce[Y]||(ce[Y]={handlers:[],runs:0}),ce[Y].runs++;const ue=ce[Y].handlers;if(!ue||!ue.length)return W?ie[0]:void 0;const de={name:Y,currentIndex:0};return(K?async function(){try{ce.__current.add(de);let B=W?ie[0]:void 0;for(;de.currentIndex<ue.length;){const H=ue[de.currentIndex];B=await H.callback.apply(null,ie),W&&(ie[0]=B),de.currentIndex++}return W?B:void 0}finally{ce.__current.delete(de)}}:function(){try{ce.__current.add(de);let B=W?ie[0]:void 0;for(;de.currentIndex<ue.length;)B=ue[de.currentIndex].callback.apply(null,ie),W&&(ie[0]=B),de.currentIndex++;return W?B:void 0}finally{ce.__current.delete(de)}})()}},cx=function(B,H){return function(){const W=B[H],K=Array.from(W.__current);return K.at(-1)?.name??null}},ux=function(B,H){return function(W){const K=B[H];return void 0===W?K.__current.size>0:Array.from(K.__current).some(B=>B.name===W)}},px=function(B,H){return function(W){const K=B[H];if(ox(W))return K[W]&&K[W].runs?K[W].runs:0}};const Xb=((B,H,W)=>{const K=new ex({}),Y=new Set,i=()=>{Y.forEach(B=>B())},s=(B,H="default")=>{K.data[H]={...K.data[H],...B},K.data[H][""]={...qb,...K.data[H]?.[""]},delete K.pluralForms[H]},a=(B,H)=>{s(B,H),i()},l=(B="default",H,W,Y,ie)=>(K.data[B]||s(void 0,B),K.dcnpgettext(B,H,W,Y,ie)),c=(B="default")=>B,u=(B,H,K)=>{let Y=l(K,H,B);return W?(Y=W.applyFilters("i18n.gettext_with_context",Y,B,H,K),W.applyFilters("i18n.gettext_with_context_"+c(K),Y,B,H,K)):Y};if(W){const e=B=>{Wb.test(B)&&i()};W.addAction("hookAdded","core/i18n",e),W.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:(B="default")=>K.data[B],setLocaleData:a,addLocaleData:(B,H="default")=>{K.data[H]={...K.data[H],...B,"":{...qb,...K.data[H]?.[""],...B?.[""]}},delete K.pluralForms[H],i()},resetLocaleData:(B,H)=>{K.data={},K.pluralForms={},a(B,H)},subscribe:B=>(Y.add(B),()=>Y.delete(B)),__:(B,H)=>{let K=l(H,void 0,B);return W?(K=W.applyFilters("i18n.gettext",K,B,H),W.applyFilters("i18n.gettext_"+c(H),K,B,H)):K},_x:u,_n:(B,H,K,Y)=>{let ie=l(Y,void 0,B,H,K);return W?(ie=W.applyFilters("i18n.ngettext",ie,B,H,K,Y),W.applyFilters("i18n.ngettext_"+c(Y),ie,B,H,K,Y)):ie},_nx:(B,H,K,Y,ie)=>{let ce=l(ie,Y,B,H,K);return W?(ce=W.applyFilters("i18n.ngettext_with_context",ce,B,H,K,Y,ie),W.applyFilters("i18n.ngettext_with_context_"+c(ie),ce,B,H,K,Y,ie)):ce},isRTL:()=>"rtl"===u("ltr","text direction"),hasTranslation:(B,H,Y)=>{const ie=H?H+""+B:B;let ce=!!K.data?.[null!=Y?Y:"default"]?.[ie];return W&&(ce=W.applyFilters("i18n.has_translation",ce,B,H,Y),ce=W.applyFilters("i18n.has_translation_"+c(Y),ce,B,H,Y)),ce}}})(0,0,new class{constructor(){this.actions=Object.create(null),this.actions.__current=new Set,this.filters=Object.create(null),this.filters.__current=new Set,this.addAction=ix(this,"actions"),this.addFilter=ix(this,"filters"),this.removeAction=sx(this,"actions"),this.removeFilter=sx(this,"filters"),this.hasAction=ax(this,"actions"),this.hasFilter=ax(this,"filters"),this.removeAllActions=sx(this,"actions",!0),this.removeAllFilters=sx(this,"filters",!0),this.doAction=lx(this,"actions",!1,!1),this.doActionAsync=lx(this,"actions",!1,!0),this.applyFilters=lx(this,"filters",!0,!1),this.applyFiltersAsync=lx(this,"filters",!0,!0),this.currentAction=cx(this,"actions"),this.currentFilter=cx(this,"filters"),this.doingAction=ux(this,"actions"),this.doingFilter=ux(this,"filters"),this.didAction=px(this,"actions"),this.didFilter=px(this,"filters")}});Xb.getLocaleData.bind(Xb),Xb.setLocaleData.bind(Xb),Xb.resetLocaleData.bind(Xb),Xb.subscribe.bind(Xb);const Zb=Xb.__.bind(Xb);Xb._x.bind(Xb),Xb._n.bind(Xb),Xb._nx.bind(Xb),Xb.isRTL.bind(Xb),Xb.hasTranslation.bind(Xb);const hx=(B,H)=>{let W,K,Y=B.path;return"string"==typeof B.namespace&&"string"==typeof B.endpoint&&(W=B.namespace.replace(/^\/|\/$/g,""),K=B.endpoint.replace(/^\//,""),Y=K?W+"/"+K:W),delete B.namespace,delete B.endpoint,H({...B,path:Y})};function mx(B){let H="";const W=Object.entries(B);let K;for(;K=W.shift();){let[B,Y]=K;if(Array.isArray(Y)||Y&&Y.constructor===Object){const H=Object.entries(Y).reverse();for(const[K,Y]of H)W.unshift([`${B}[${K}]`,Y])}else void 0!==Y&&(null===Y&&(Y=""),H+="&"+[B,Y].map(encodeURIComponent).join("="))}return H.substr(1)}function gx(B){try{return decodeURIComponent(B)}catch(H){return B}}function vx(B){return(function(B){let H;try{H=new URL(B,"http://example.com").search.substring(1)}catch(B){}if(H)return H}(B)||"").replace(/\+/g,"%20").split("&").reduce((B,H)=>{const[W,K=""]=H.split("=").filter(Boolean).map(gx);return W&&function(B,H,W){const K=H.length,Y=K-1;for(let ie=0;ie<K;ie++){let K=H[ie];!K&&Array.isArray(B)&&(K=B.length.toString()),K=["__proto__","constructor","prototype"].includes(K)?K.toUpperCase():K;const ce=!isNaN(Number(H[ie+1]));B[K]=ie===Y?W:B[K]||(ce?[]:{}),Array.isArray(B[K])&&!ce&&(B[K]={...B[K]}),B=B[K]}}(B,W.replace(/\]/g,"").split("["),K),B},Object.create(null))}function yx(B="",H){if(!H||!Object.keys(H).length)return B;let W=B;const K=B.indexOf("?");return-1!==K&&(H=Object.assign(vx(B),H),W=W.substr(0,K)),W+"?"+mx(H)}function bx(B,H){return vx(B)[H]}function wx(B,H){return void 0!==bx(B,H)}function xx(B,...H){const W=B.indexOf("?");if(-1===W)return B;const K=vx(B),Y=B.substr(0,W);H.forEach(B=>delete K[B]);const ie=mx(K);return ie?Y+"?"+ie:Y}function _x(B){const H=B.split("?"),W=H[1],K=H[0];return W?K+"?"+W.split("&").map(B=>B.split("=")).map(B=>B.map(decodeURIComponent)).sort((B,H)=>B[0].localeCompare(H[0])).map(B=>B.map(encodeURIComponent)).map(B=>B.join("=")).join("&"):K}function Sx(B,H){return Promise.resolve(H?B.body:new window.Response(JSON.stringify(B.body),{status:200,statusText:"OK",headers:B.headers}))}const kx=({path:B,url:H,...W},K)=>({...W,url:H&&yx(H,K),path:B&&yx(B,K)}),Cx=B=>B.json?B.json():Promise.reject(B),Ox=B=>{const{next:H}=(B=>{if(!B)return{};const H=B.match(/<([^>]+)>; rel="next"/);return H?{next:H[1]}:{}})(B.headers.get("link"));return H},Ex=async(B,H)=>{if(!1===B.parse)return H(B);if(!(B=>{const H=!!B.path&&-1!==B.path.indexOf("per_page=-1"),W=!!B.url&&-1!==B.url.indexOf("per_page=-1");return H||W})(B))return H(B);const W=await Dx({...kx(B,{per_page:100}),parse:!1}),K=await Cx(W);if(!Array.isArray(K))return K;let Y=Ox(W);if(!Y)return K;let ie=[].concat(K);for(;Y;){const H=await Dx({...B,path:void 0,url:Y,parse:!1}),W=await Cx(H);ie=ie.concat(W),Y=Ox(H)}return ie},Kb=new Set(["PATCH","PUT","DELETE"]),Yb="GET",Ix=(B,H=!0)=>Promise.resolve(((B,H=!0)=>H?204===B.status?null:B.json?B.json():Promise.reject(B):B)(B,H)).catch(B=>Mx(B,H));function Mx(B,H=!0){if(!H)throw B;return(B=>{const H={code:"invalid_json",message:Zb("The response is not a valid JSON response.")};if(!B||!B.json)throw H;return B.json().catch(()=>{throw H})})(B).then(B=>{const H={code:"unknown_error",message:Zb("An unknown error occurred.")};throw B||H})}const nw={Accept:"application/json, */*;q=0.1"},sw={credentials:"include"},dw=[(B,H)=>("string"!=typeof B.url||wx(B.url,"_locale")||(B.url=yx(B.url,{_locale:"user"})),"string"!=typeof B.path||wx(B.path,"_locale")||(B.path=yx(B.path,{_locale:"user"})),H(B)),hx,(B,H)=>{const{method:W=Yb}=B;return Kb.has(W.toUpperCase())&&(B={...B,headers:{...B.headers,"X-HTTP-Method-Override":W,"Content-Type":"application/json"},method:"POST"}),H(B)},Ex],jx=B=>{if(B.status>=200&&B.status<300)return B;throw B};let Lx=B=>{const{url:H,path:W,data:K,parse:Y=!0,...ie}=B;let{body:ce,headers:ue}=B;return ue={...nw,...ue},K&&(ce=JSON.stringify(K),ue["Content-Type"]="application/json"),window.fetch(H||W||window.location.href,{...sw,...ie,body:ce,headers:ue}).then(B=>Promise.resolve(B).then(jx).catch(B=>Mx(B,Y)).then(B=>Ix(B,Y)),B=>{if(B&&"AbortError"===B.name)throw B;throw{code:"fetch_error",message:Zb("You are probably offline.")}})};function Dx(B){const H=dw.reduceRight((B,H)=>W=>H(W,B),Lx);return H(B).catch(H=>"rest_cookie_invalid_nonce"!==H.code?Promise.reject(H):window.fetch(Dx.nonceEndpoint).then(jx).then(B=>B.text()).then(H=>(Dx.nonceMiddleware.nonce=H,Dx(B))))}Dx.use=function(B){dw.unshift(B)},Dx.setFetchHandler=function(B){Lx=B},Dx.createNonceMiddleware=function(B){const t=(B,H)=>{const{headers:W={}}=B;for(const K in W)if("x-wp-nonce"===K.toLowerCase()&&W[K]===t.nonce)return H(B);return H({...B,headers:{...W,"X-WP-Nonce":t.nonce}})};return t.nonce=B,t},Dx.createPreloadingMiddleware=function(B){const H=Object.fromEntries(Object.entries(B).map(([B,H])=>[_x(B),H]));return(B,W)=>{const{parse:K=!0}=B;let Y=B.path;if(!Y&&B.url){const{rest_route:H,...W}=vx(B.url);"string"==typeof H&&(Y=yx(H,W))}if("string"!=typeof Y)return W(B);const ie=B.method||"GET",ce=_x(Y);if("GET"===ie&&H[ce]){const B=H[ce];return delete H[ce],Sx(B,!!K)}if("OPTIONS"===ie&&H[ie]&&H[ie][ce]){const B=H[ie][ce];return delete H[ie][ce],Sx(B,!!K)}return W(B)}},Dx.createRootURLMiddleware=B=>(H,W)=>hx(H,H=>{let K,Y=H.url,ie=H.path;return"string"==typeof ie&&(K=B,-1!==B.indexOf("?")&&(ie=ie.replace("?","&")),ie=ie.replace(/^\//,""),"string"==typeof K&&-1!==K.indexOf("?")&&(ie=ie.replace("?","&")),Y=K+ie),W({...H,url:Y})}),Dx.fetchAllMiddleware=Ex,Dx.mediaUploadMiddleware=(B,H)=>{if(!function(B){const H=!!B.method&&"POST"===B.method;return(!!B.path&&-1!==B.path.indexOf("/wp/v2/media")||!!B.url&&-1!==B.url.indexOf("/wp/v2/media"))&&H}(B))return H(B);let W=0;const n=B=>(W++,H({path:`/wp/v2/media/${B}/post-process`,method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch(()=>W<5?n(B):(H({path:`/wp/v2/media/${B}?force=true`,method:"DELETE"}),Promise.reject())));return H({...B,parse:!1}).catch(H=>{const W=H.headers.get("x-wp-upload-attachment-id");return H.status>=500&&H.status<600&&W?n(W).catch(()=>!1!==B.parse?Promise.reject({code:"post_process",message:Zb("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(H)):Mx(H,B.parse)}).then(H=>Ix(H,B.parse))},Dx.createThemePreviewMiddleware=B=>(H,W)=>{if("string"==typeof H.url){const W=bx(H.url,"wp_theme_preview");void 0===W?H.url=yx(H.url,{wp_theme_preview:B}):""===W&&(H.url=xx(H.url,"wp_theme_preview"))}if("string"==typeof H.path){const W=bx(H.path,"wp_theme_preview");void 0===W?H.path=yx(H.path,{wp_theme_preview:B}):""===W&&(H.path=xx(H.path,"wp_theme_preview"))}return W(H)};class Fx extends Error{constructor(B){super(B),this.name="APIError"}}var pw=function(B){return B.GET="GET",B.POST="POST",B.PUT="PUT",B.PATCH="PATCH",B.DELETE="DELETE",B.HEAD="HEAD",B}({});const vw="/wp/v2";class zx{static async request({path:B,data:H,method:W="POST"}){try{const K=(window?.elementorOneSettingsData?.wpRestUrl||"/wp-json/").replace(/\/$/,""),Y=window?.elementorOneSettingsData?.wpRestNonce||"";let ie=`${K}${B}`;"GET"!==W||B.startsWith(vw)||(ie=yx(ie,{sb_time:(new Date).getTime()}));const ce=await Dx({url:ie,method:W,data:H,headers:{"X-WP-Nonce":Y}});if(B.startsWith(vw))return ce;if(void 0===ce?.success)return ce;if(!ce.success)throw new Fx(ce.data?.message||"Unknown error");return ce.data}catch(B){throw B instanceof Fx?B:new Fx(B?.message||"Unknown error")}}}const _w="/elementor-one/v1";class Ux extends zx{static async initConnect(B="new"){const H={wp_rest:window?.elementorOneSettingsData?.wpRestNonce};return"update"===B&&(H.update_redirect_uri=!0),zx.request({method:pw.POST,path:`${_w}/connect/authorize`,data:H})}static async disconnect(){return zx.request({method:pw.POST,path:`${_w}/connect/disconnect`,data:{wp_rest:window?.elementorOneSettingsData?.wpRestNonce}})}static async getPluginSettings(){return zx.request({method:pw.GET,path:`${_w}/settings`})}static async getNotifications(B,H){return zx.request({method:pw.GET,path:`${_w}/top-bar/notifications?app_name=${B}&app_version=${H}`})}static async sendFeedback(B){return zx.request({method:pw.POST,path:`${_w}/top-bar/feedback`,data:B})}}const xw=new Gw("https://ipapi.co/json/");class Wx{static async getCountryCode(){const{data:B}=await xw.get("");return B.country}}var Sw;if("undefined"==typeof window){var kw={hostname:""};Sw={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:kw,referrer:""},screen:{width:0,height:0},location:kw,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else Sw=window;var Ew={DEBUG:!1,LIB_VERSION:"2.77.0"},Rw="__mp_targeting",Lw="__mp_recorder",jw="__MP_TARGETING_FILENAME__";function Jx(B,H){(null==H||H>B.length)&&(H=B.length);for(var W=0,K=new Array(H);W<H;W++)K[W]=B[W];return K}function Qx(B,H,W,K,Y,ie,ce){try{var ue=B[ie](ce),de=ue.value}catch(B){return void W(B)}ue.done?H(de):Promise.resolve(de).then(K,Y)}function e_(B){return function(){var H=this,W=arguments;return new Promise(function(K,Y){var ie=B.apply(H,W);function s(B){Qx(ie,K,Y,s,a,"next",B)}function a(B){Qx(ie,K,Y,s,a,"throw",B)}s(void 0)})}}function t_(B,H,W){return t_=p_()?Reflect.construct:function(B,H,W){var K=[null];K.push.apply(K,H);var Y=new(Function.bind.apply(B,K));return W&&l_(Y,W.prototype),Y},t_.apply(null,arguments)}function r_(B,H,W){return H&&function(B,H){for(var W=0;W<H.length;W++){var K=H[W];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(B,K.key,K)}}(B.prototype,H),B}function n_(){return n_=Object.assign||function(B){for(var H=1;H<arguments.length;H++){var W=arguments[H];for(var K in W)Object.prototype.hasOwnProperty.call(W,K)&&(B[K]=W[K])}return B},n_.apply(this,arguments)}function o_(B){return o_=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},o_(B)}function i_(B,H){if("function"!=typeof H&&null!==H)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(H&&H.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),H&&l_(B,H)}function s_(B,H){return null!=H&&"undefined"!=typeof Symbol&&H[Symbol.hasInstance]?!!H[Symbol.hasInstance](B):B instanceof H}function a_(B,H){if(null==B)return{};var W,K,Y={},ie=Object.keys(B);for(K=0;K<ie.length;K++)W=ie[K],H.indexOf(W)>=0||(Y[W]=B[W]);return Y}function l_(B,H){return l_=Object.setPrototypeOf||function(B,H){return B.__proto__=H,B},l_(B,H)}function c_(B){return B&&"undefined"!=typeof Symbol&&B.constructor===Symbol?"symbol":typeof B}function u_(B){var H="function"==typeof Map?new Map:void 0;return u_=function(B){if(null===B||(W=B,-1===Function.toString.call(W).indexOf("[native code]")))return B;var W;if("function"!=typeof B)throw new TypeError("Super expression must either be null or a function");if(void 0!==H){if(H.has(B))return H.get(B);H.set(B,n)}function n(){return t_(B,arguments,o_(this).constructor)}return n.prototype=Object.create(B.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),l_(n,B)},u_(B)}function p_(){try{var B=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(B){}return(p_=function(){return!!B})()}function d_(B,H){var W="undefined"!=typeof Symbol&&B[Symbol.iterator]||B["@@iterator"];if(W)return(W=W.call(B)).next.bind(W);if(Array.isArray(B)||(W=function(B,H){if(B){if("string"==typeof B)return Jx(B,H);var W=Object.prototype.toString.call(B).slice(8,-1);return"Object"===W&&B.constructor&&(W=B.constructor.name),"Map"===W||"Set"===W?Array.from(W):"Arguments"===W||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(W)?Jx(B,H):void 0}}(B))||H){W&&(B=W);var K=0;return function(){return K>=B.length?{done:!0}:{done:!1,value:B[K++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f_(B,H){var W,K,Y,ie,ce={label:0,sent:function(){if(1&Y[0])throw Y[1];return Y[1]},trys:[],ops:[]};return ie={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(ie[Symbol.iterator]=function(){return this}),ie;function a(ie){return function(ue){return function(ie){if(W)throw new TypeError("Generator is already executing.");for(;ce;)try{if(W=1,K&&(Y=2&ie[0]?K.return:ie[0]?K.throw||((Y=K.return)&&Y.call(K),0):K.next)&&!(Y=Y.call(K,ie[1])).done)return Y;switch(K=0,Y&&(ie=[2&ie[0],Y.value]),ie[0]){case 0:case 1:Y=ie;break;case 4:return ce.label++,{value:ie[1],done:!1};case 5:ce.label++,K=ie[1],ie=[0];continue;case 7:ie=ce.ops.pop(),ce.trys.pop();continue;default:if(!((Y=(Y=ce.trys).length>0&&Y[Y.length-1])||6!==ie[0]&&2!==ie[0])){ce=0;continue}if(3===ie[0]&&(!Y||ie[1]>Y[0]&&ie[1]<Y[3])){ce.label=ie[1];break}if(6===ie[0]&&ce.label<Y[1]){ce.label=Y[1],Y=ie;break}if(Y&&ce.label<Y[2]){ce.label=Y[2],ce.ops.push(ie);break}Y[2]&&ce.ops.pop(),ce.trys.pop();continue}ie=H.call(B,ce)}catch(B){ie=[6,B],K=0}finally{W=Y=0}if(5&ie[0])throw ie[1];return{value:ie[0]?ie[1]:void 0,done:!0}}([ie,ue])}}}function h_(B){var H="function"==typeof Symbol&&Symbol.iterator,W=H&&B[H],K=0;if(W)return W.call(B);if(B&&"number"==typeof B.length)return{next:function(){return B&&K>=B.length&&(B=void 0),{value:B&&B[K++],done:!B}}};throw new TypeError(H?"Object is not iterable.":"Symbol.iterator is not defined.")}var Fw,Dw=Object.defineProperty,v_=function(B,H,W){return function(B,H,W){return H in B?Dw(B,H,{enumerable:!0,configurable:!0,writable:!0,value:W}):B[H]=W}(B,"symbol"!==(void 0===H?"undefined":c_(H))?H+"":H,W)},$w=Object.defineProperty,b_=function(B,H,W){return function(B,H,W){return H in B?$w(B,H,{enumerable:!0,configurable:!0,writable:!0,value:W}):B[H]=W}(B,"symbol"!==(void 0===H?"undefined":c_(H))?H+"":H,W)},zw=function(B){return B[B.Document=0]="Document",B[B.DocumentType=1]="DocumentType",B[B.Element=2]="Element",B[B.Text=3]="Text",B[B.CDATA=4]="CDATA",B[B.Comment=5]="Comment",B}(zw||{}),Uw={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Hw={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},qw={};var Ww={};function O_(B,H,W){var K,Y=B+"."+String(W);if(Ww[Y])return Ww[Y].call(H);var ie=function k_(B){if(qw[B])return qw[B];var H=globalThis[B],W=H.prototype,K=B in Uw?Uw[B]:void 0,Y=Boolean(K&&K.every(function(B){var H,K;return Boolean(null==(K=null==(H=Object.getOwnPropertyDescriptor(W,B))?void 0:H.get)?void 0:K.toString().includes("[native code]"))})),ie=B in Hw?Hw[B]:void 0,ce=Boolean(ie&&ie.every(function(B){var H;return"function"==typeof W[B]&&(null==(H=W[B])?void 0:H.toString().includes("[native code]"))}));if(Y&&ce&&!globalThis.Zone)return qw[B]=H.prototype,H.prototype;try{var ue=document.createElement("iframe");document.body.appendChild(ue);var de=ue.contentWindow;if(!de)return H.prototype;var pe=de[B].prototype;return document.body.removeChild(ue),pe?qw[B]=pe:W}catch(B){return W}}(B),ce=null==(K=Object.getOwnPropertyDescriptor(ie,W))?void 0:K.get;return ce?(Ww[Y]=ce,ce.call(H)):H[W]}var E_=function(B){return O_("Node",B,"childNodes")},T_=function(B){return O_("Node",B,"parentNode")},R_=function(B){return O_("Node",B,"parentElement")},I_=function(B){return O_("Node",B,"textContent")},A_=function(B){return B&&"shadowRoot"in B?O_("Element",B,"shadowRoot"):null};function P_(B){return B.nodeType===B.ELEMENT_NODE}function N_(B){var H=B&&"host"in B&&"mode"in B&&function(B){return B&&"host"in B?O_("ShadowRoot",B,"host"):null}(B)||null;return Boolean(H&&"shadowRoot"in H&&A_(H)===B)}function j_(B){return"[object ShadowRoot]"===Object.prototype.toString.call(B)}function L_(B){try{var H=B.rules||B.cssRules;if(!H)return null;var W=B.href;return!W&&B.ownerNode&&B.ownerNode.ownerDocument&&(W=B.ownerNode.ownerDocument.location.href),(K=Array.from(H,function(B){return D_(B,W)}).join("")).includes(" background-clip: text;")&&!K.includes(" -webkit-background-clip: text;")&&(K=K.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),K}catch(B){return null}var K}function D_(B,H){if(function(B){return"styleSheet"in B}(B)){var W;try{W=L_(B.styleSheet)||function(B){var H=B.cssText;if(H.split('"').length<3)return H;var W=["@import","url("+JSON.stringify(B.href)+")"];return""===B.layerName?W.push("layer"):B.layerName&&W.push("layer("+B.layerName+")"),B.supportsText&&W.push("supports("+B.supportsText+")"),B.media.length&&W.push(B.media.mediaText),W.join(" ")+";"}(B)}catch(H){W=B.cssText}return B.styleSheet.href?K_(W,B.styleSheet.href):W}var K,Y=B.cssText;return function(B){return"selectorText"in B}(B)&&B.selectorText.includes(":")&&(K=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,Y=Y.replace(K,"$1\\$2")),H?K_(Y,H):Y}var Xw=function(){function e(){b_(this,"idNodeMap",new Map),b_(this,"nodeMetaMap",new WeakMap)}var B=e.prototype;return B.getId=function(B){var H;if(!B)return-1;var W=null==(H=this.getMeta(B))?void 0:H.id;return null!=W?W:-1},B.getNode=function(B){return this.idNodeMap.get(B)||null},B.getIds=function(){return Array.from(this.idNodeMap.keys())},B.getMeta=function(B){return this.nodeMetaMap.get(B)||null},B.removeNodeFromMap=function(B,H){var W=this;void 0===H&&(H=!1);var K=this.getId(B);this.idNodeMap.delete(K),H&&this.nodeMetaMap.delete(B),B.childNodes&&B.childNodes.forEach(function(B){return W.removeNodeFromMap(B,H)})},B.has=function(B){return this.idNodeMap.has(B)},B.hasNode=function(B){return this.nodeMetaMap.has(B)},B.add=function(B,H){var W=H.id;this.idNodeMap.set(W,B),this.nodeMetaMap.set(B,H)},B.replace=function(B,H){var W=this.getNode(B);if(W){var K=this.nodeMetaMap.get(W);K&&this.nodeMetaMap.set(H,K)}this.idNodeMap.set(B,H)},B.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function $_(B){var H=B.element,W=B.maskInputOptions,K=B.tagName,Y=B.type,ie=B.value,ce=B.maskInputFn,ue=ie||"",de=Y&&B_(Y);return(W[K.toLowerCase()]||de&&W[de])&&(ue=ce?ce(ue,H):"*".repeat(ue.length)),ue}function B_(B){return B.toLowerCase()}var Zw="__rrweb_original__";function V_(B){var H=B.type;return B.hasAttribute("data-rr-is-password")?"password":H?B_(H):null}function U_(B,H){var W;try{W=new URL(B,null!=H?H:window.location.href)}catch(B){return null}var K,Y=W.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!=(K=null==Y?void 0:Y[1])?K:null}var Kw=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Yw=/^(?:[a-z+]+:)?\/\//i,Jw=/^www\..*/i,Qw=/^(data:)([^,]*),(.*)/i;function K_(B,H){return(B||"").replace(Kw,function(B,W,K,Y,ie,ce){var ue,de=K||ie||ce,pe=W||Y||"";if(!de)return B;if(Yw.test(de)||Jw.test(de))return"url("+pe+de+pe+")";if(Qw.test(de))return"url("+pe+de+pe+")";if("/"===de[0])return"url("+pe+(((ue=H).indexOf("//")>-1?ue.split("/").slice(0,3).join("/"):ue.split("/")[0]).split("?")[0]+de)+pe+")";var fe=H.split("/"),ke=de.split("/");fe.pop();for(var Je,rt=d_(ke);!(Je=rt()).done;){var st=Je.value;"."!==st&&(".."===st?fe.pop():fe.push(st))}return"url("+pe+fe.join("/")+pe+")"})}function Y_(B,H){return void 0===H&&(H=!1),H?B.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):B.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}var m_,g_,y_=1,w_=new RegExp("[^a-z0-9-_:]");function eS(){return y_++}var __=/^[^ \t\n\r\u000c]+/,x_=/^[, \t\n\r\u000c]+/,S_=new WeakMap;function oS(B,H){return H&&""!==H.trim()?iS(B,H):H}function iS(B,H){var W=S_.get(B);if(W||(W=B.createElement("a"),S_.set(B,W)),H){if(H.startsWith("blob:")||H.startsWith("data:"))return H}else H="";return W.setAttribute("href",H),W.href}function sS(B,H,W,K){return K?"src"===W||"href"===W&&("use"!==H||"#"!==K[0])||"xlink:href"===W&&"#"!==K[0]?oS(B,K):"background"!==W||"table"!==H&&"td"!==H&&"th"!==H?"srcset"===W?function(B,H){if(""===H.trim())return H;var W=0;function n(B){var K,Y=B.exec(H.substring(W));return Y?(K=Y[0],W+=K.length,K):""}for(var K=[];n(x_),!(W>=H.length);){var Y=n(__);if(","===Y.slice(-1))Y=oS(B,Y.substring(0,Y.length-1)),K.push(Y);else{var ie="";Y=oS(B,Y);for(var ce=!1;;){var ue=H.charAt(W);if(""===ue){K.push((Y+ie).trim());break}if(ce)")"===ue&&(ce=!1);else{if(","===ue){W+=1,K.push((Y+ie).trim());break}"("===ue&&(ce=!0)}ie+=ue,W+=1}}}return K.join(", ")}(B,K):"style"===W?K_(K,iS(B)):"object"===H&&"data"===W?oS(B,K):K:oS(B,K):K}function aS(B,H,W){return("video"===B||"audio"===B)&&"autoplay"===H}function lS(B,H,W){if(!B)return!1;if(B.nodeType!==B.ELEMENT_NODE)return!!W&&lS(T_(B),H,W);for(var K=B.classList.length;K--;){var Y=B.classList[K];if(H.test(Y))return!0}return!!W&&lS(T_(B),H,W)}function cS(B,H,W,K){var Y;if(P_(B)){if(!E_(Y=B).length)return!1}else{if(null===R_(B))return!1;Y=R_(B)}try{if("string"==typeof H){if(K){if(Y.closest("."+H))return!0}else if(Y.classList.contains(H))return!0}else if(lS(Y,H,K))return!0;if(W)if(K){if(Y.closest(W))return!0}else if(Y.matches(W))return!0}catch(B){}return!1}function pS(B){return null==B?"":B.toLowerCase()}function dS(B,H){var W=H.doc,K=H.mirror,Y=H.blockClass,ie=H.blockSelector,ce=H.maskTextClass,ue=H.maskTextSelector,de=H.skipChild,pe=void 0!==de&&de,fe=H.inlineStylesheet,ke=void 0===fe||fe,Je=H.maskInputOptions,rt=void 0===Je?{}:Je,st=H.maskTextFn,at=H.maskInputFn,lt=H.slimDOMOptions,pt=H.dataURLOptions,ht=void 0===pt?{}:pt,mt=H.inlineImages,vt=void 0!==mt&&mt,yt=H.recordCanvas,bt=void 0!==yt&&yt,wt=H.onSerialize,xt=H.onIframeLoad,St=H.iframeLoadTimeout,kt=void 0===St?5e3:St,Et=H.onStylesheetLoad,At=H.stylesheetLoadTimeout,Pt=void 0===At?5e3:At,Lt=H.keepIframeSrcFn,jt=void 0===Lt?function(){return!1}:Lt,Ft=H.newlyAddedElement,Nt=void 0!==Ft&&Ft,Dt=H.cssCaptured,$t=void 0!==Dt&&Dt,zt=H.needsMask,Bt=H.preserveWhiteSpace,Vt=void 0===Bt||Bt;zt||(zt=cS(B,ce,ue,void 0===zt));var Xt,Jt=function uS(B,H){var W=H.doc,K=H.mirror,Y=H.blockClass,ie=H.blockSelector,ce=H.needsMask,ue=H.inlineStylesheet,de=H.maskInputOptions,pe=void 0===de?{}:de,fe=H.maskTextFn,ke=H.maskInputFn,Je=H.dataURLOptions,rt=void 0===Je?{}:Je,st=H.inlineImages,at=H.recordCanvas,lt=H.keepIframeSrcFn,pt=H.newlyAddedElement,ht=void 0!==pt&&pt,mt=H.cssCaptured,vt=void 0!==mt&&mt,yt=function(B,H){if(H.hasNode(B)){var W=H.getId(B);return 1===W?void 0:W}}(W,K);switch(B.nodeType){case B.DOCUMENT_NODE:return"CSS1Compat"!==B.compatMode?{type:zw.Document,childNodes:[],compatMode:B.compatMode}:{type:zw.Document,childNodes:[]};case B.DOCUMENT_TYPE_NODE:return{type:zw.DocumentType,name:B.name,publicId:B.publicId,systemId:B.systemId,rootId:yt};case B.ELEMENT_NODE:return function(B,H){for(var W,K=H.doc,Y=H.inlineStylesheet,ie=H.maskInputOptions,ce=void 0===ie?{}:ie,ue=H.maskInputFn,de=H.dataURLOptions,pe=void 0===de?{}:de,fe=H.inlineImages,ke=H.recordCanvas,Je=H.keepIframeSrcFn,rt=H.newlyAddedElement,st=void 0!==rt&&rt,at=H.rootId,lt=function(B,H,W){try{if("string"==typeof H){if(B.classList.contains(H))return!0}else for(var K=B.classList.length;K--;){var Y=B.classList[K];if(H.test(Y))return!0}if(W)return B.matches(W)}catch(B){}return!1}(B,H.blockClass,H.blockSelector),pt=function(B){if(s_(B,HTMLFormElement))return"form";var H=B_(B.tagName);return w_.test(H)?"div":H}(B),ht={},mt=B.attributes.length,vt=0;vt<mt;vt++){var yt=B.attributes[vt];aS(pt,yt.name)||(ht[yt.name]=sS(K,pt,B_(yt.name),yt.value))}if("link"===pt&&Y){var bt=Array.from(K.styleSheets).find(function(H){return H.href===B.href}),wt=null;bt&&(wt=L_(bt)),wt&&(delete ht.rel,delete ht.href,ht._cssText=wt)}if("style"===pt&&B.sheet){var xt=L_(B.sheet);xt&&(B.childNodes.length>1&&(xt=function(B,H){return function(B,H,W){void 0===W&&(W=!1);var K=Array.from(H.childNodes),Y=[],ie=0;if(K.length>1&&B&&"string"==typeof B)for(var ce=Y_(B,W),ue=ce.length/B.length,de=1;de<K.length;de++)if(K[de].textContent&&"string"==typeof K[de].textContent){for(var pe=Y_(K[de].textContent,W),fe=3;fe<pe.length&&(pe[fe].match(/[a-zA-Z0-9]/)||-1!==pe.indexOf(pe.substring(0,fe),1));fe++);for(;fe<pe.length;fe++){var ke=pe.substring(0,fe),Je=ce.split(ke),rt=-1;if(2===Je.length)rt=Je[0].length;else if(Je.length>2&&""===Je[0]&&""!==K[de-1].textContent)rt=ce.indexOf(ke,1);else if(1===Je.length){if(ke=ke.substring(0,ke.length-1),(Je=ce.split(ke)).length<=1)return Y.push(B),Y;fe=101}else fe===pe.length-1&&(rt=ce.indexOf(ke));if(Je.length>=2&&fe>100){var st=K[de-1].textContent;if(st&&"string"==typeof st){var at=Y_(st).length;rt=ce.indexOf(ke,at)}-1===rt&&(rt=Je[0].length)}if(-1!==rt){for(var lt=Math.floor(rt/ue);lt>0&<<B.length;){if((ie+=1)>50*K.length)return Y.push(B),Y;var pt=Y_(B.substring(0,lt),W);if(pt.length===rt){Y.push(B.substring(0,lt)),B=B.substring(lt),ce=ce.substring(rt);break}pt.length<rt?lt+=Math.max(1,Math.floor((rt-pt.length)/ue)):lt-=Math.max(1,Math.floor((pt.length-rt)*ue))}break}}}return Y.push(B),Y}(B,H).join("/* rr_split */")}(xt,B)),ht._cssText=xt)}if("input"===pt||"textarea"===pt||"select"===pt){var St=B.value,kt=B.checked;"radio"!==ht.type&&"checkbox"!==ht.type&&"submit"!==ht.type&&"button"!==ht.type&&St?ht.value=$_({element:B,type:V_(B),tagName:pt,value:St,maskInputOptions:ce,maskInputFn:ue}):kt&&(ht.checked=kt)}if("option"===pt&&(B.selected&&!ce.select?ht.selected=!0:delete ht.selected),"dialog"===pt&&B.open&&(ht.rr_open_mode=B.matches("dialog:modal")?"modal":"non-modal"),"canvas"===pt&&ke)if("2d"===B.__context)(function(B){var H=B.getContext("2d");if(!H)return!0;for(var W=0;W<B.width;W+=50)for(var K=0;K<B.height;K+=50){var Y=H.getImageData,ie=Zw in Y?Y[Zw]:Y;if(new Uint32Array(ie.call(H,W,K,Math.min(50,B.width-W),Math.min(50,B.height-K)).data.buffer).some(function(B){return 0!==B}))return!1}return!0})(B)||(ht.rr_dataURL=B.toDataURL(pe.type,pe.quality));else if(!("__context"in B)){var Et=B.toDataURL(pe.type,pe.quality),At=K.createElement("canvas");At.width=B.width,At.height=B.height,Et!==At.toDataURL(pe.type,pe.quality)&&(ht.rr_dataURL=Et)}if("img"===pt&&fe){m_||(m_=K.createElement("canvas"),g_=m_.getContext("2d"));var Pt=B,Lt=Pt.currentSrc||Pt.getAttribute("src")||"<unknown-src>",jt=Pt.crossOrigin,A=function(){Pt.removeEventListener("load",A);try{m_.width=Pt.naturalWidth,m_.height=Pt.naturalHeight,g_.drawImage(Pt,0,0),ht.rr_dataURL=m_.toDataURL(pe.type,pe.quality)}catch(B){if("anonymous"!==Pt.crossOrigin)return Pt.crossOrigin="anonymous",void(Pt.complete&&0!==Pt.naturalWidth?A():Pt.addEventListener("load",A));console.warn("Cannot inline img src="+Lt+"! Error: "+B)}"anonymous"===Pt.crossOrigin&&(jt?ht.crossOrigin=jt:Pt.removeAttribute("crossorigin"))};Pt.complete&&0!==Pt.naturalWidth?A():Pt.addEventListener("load",A)}if("audio"===pt||"video"===pt){var Ft=ht;Ft.rr_mediaState=B.paused?"paused":"played",Ft.rr_mediaCurrentTime=B.currentTime,Ft.rr_mediaPlaybackRate=B.playbackRate,Ft.rr_mediaMuted=B.muted,Ft.rr_mediaLoop=B.loop,Ft.rr_mediaVolume=B.volume}if(st||(B.scrollLeft&&(ht.rr_scrollLeft=B.scrollLeft),B.scrollTop&&(ht.rr_scrollTop=B.scrollTop)),lt){var Nt=B.getBoundingClientRect(),Dt=Nt.width,$t=Nt.height;ht={class:ht.class,rr_width:Dt+"px",rr_height:$t+"px"}}"iframe"!==pt||Je(ht.src)||(B.contentDocument||(ht.rr_src=ht.src),delete ht.src);try{customElements.get(pt)&&(W=!0)}catch(B){}return{type:zw.Element,tagName:pt,attributes:ht,childNodes:[],isSVG:(zt=B,Boolean("svg"===zt.tagName||zt.ownerSVGElement)||void 0),needBlock:lt,rootId:at,isCustom:W};var zt}(B,{doc:W,blockClass:Y,blockSelector:ie,inlineStylesheet:ue,maskInputOptions:pe,maskInputFn:ke,dataURLOptions:rt,inlineImages:st,recordCanvas:at,keepIframeSrcFn:lt,newlyAddedElement:ht,rootId:yt});case B.TEXT_NODE:return function(B,H){var W=H.needsMask,K=H.maskTextFn,Y=H.rootId,ie=H.cssCaptured,ce=T_(B),ue=ce&&ce.tagName,de="",pe="STYLE"===ue||void 0,fe="SCRIPT"===ue||void 0;return fe?de="SCRIPT_PLACEHOLDER":ie||(de=I_(B),pe&&de&&(de=K_(de,iS(H.doc)))),!pe&&!fe&&de&&W&&(de=K?K(de,R_(B)):de.replace(/[\S]/g,"*")),{type:zw.Text,textContent:de||"",rootId:Y}}(B,{doc:W,needsMask:ce,maskTextFn:fe,rootId:yt,cssCaptured:vt});case B.CDATA_SECTION_NODE:return{type:zw.CDATA,textContent:"",rootId:yt};case B.COMMENT_NODE:return{type:zw.Comment,textContent:I_(B)||"",rootId:yt};default:return!1}}(B,{doc:W,mirror:K,blockClass:Y,blockSelector:ie,needsMask:zt,inlineStylesheet:ke,maskInputOptions:rt,maskTextFn:st,maskInputFn:at,dataURLOptions:ht,inlineImages:vt,recordCanvas:bt,keepIframeSrcFn:jt,newlyAddedElement:Nt,cssCaptured:$t});if(!Jt)return console.warn(B,"not serialized"),null;Xt=K.hasNode(B)?K.getId(B):function(B,H){if(H.comment&&B.type===zw.Comment)return!0;if(B.type===zw.Element){if(H.script&&("script"===B.tagName||"link"===B.tagName&&("preload"===B.attributes.rel&&"script"===B.attributes.as||"modulepreload"===B.attributes.rel)||"link"===B.tagName&&"prefetch"===B.attributes.rel&&"string"==typeof B.attributes.href&&"js"===U_(B.attributes.href)))return!0;if(H.headFavicon&&("link"===B.tagName&&"shortcut icon"===B.attributes.rel||"meta"===B.tagName&&(pS(B.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===pS(B.attributes.name)||"icon"===pS(B.attributes.rel)||"apple-touch-icon"===pS(B.attributes.rel)||"shortcut icon"===pS(B.attributes.rel))))return!0;if("meta"===B.tagName){if(H.headMetaDescKeywords&&pS(B.attributes.name).match(/^description|keywords$/))return!0;if(H.headMetaSocial&&(pS(B.attributes.property).match(/^(og|twitter|fb):/)||pS(B.attributes.name).match(/^(og|twitter):/)||"pinterest"===pS(B.attributes.name)))return!0;if(H.headMetaRobots&&("robots"===pS(B.attributes.name)||"googlebot"===pS(B.attributes.name)||"bingbot"===pS(B.attributes.name)))return!0;if(H.headMetaHttpEquiv&&void 0!==B.attributes["http-equiv"])return!0;if(H.headMetaAuthorship&&("author"===pS(B.attributes.name)||"generator"===pS(B.attributes.name)||"framework"===pS(B.attributes.name)||"publisher"===pS(B.attributes.name)||"progid"===pS(B.attributes.name)||pS(B.attributes.property).match(/^article:/)||pS(B.attributes.property).match(/^product:/)))return!0;if(H.headMetaVerification&&("google-site-verification"===pS(B.attributes.name)||"yandex-verification"===pS(B.attributes.name)||"csrf-token"===pS(B.attributes.name)||"p:domain_verify"===pS(B.attributes.name)||"verify-v1"===pS(B.attributes.name)||"verification"===pS(B.attributes.name)||"shopify-checkout-api-token"===pS(B.attributes.name)))return!0}}return!1}(Jt,lt)||!Vt&&Jt.type===zw.Text&&!Jt.textContent.replace(/^\s+|\s+$/gm,"").length?-2:eS();var Qt=Object.assign(Jt,{id:Xt});if(K.add(B,Qt),-2===Xt)return null;wt&&wt(B);var er=!pe;if(Qt.type===zw.Element){er=er&&!Qt.needBlock,delete Qt.needBlock;var tr=A_(B);tr&&j_(tr)&&(Qt.isShadowHost=!0)}if((Qt.type===zw.Document||Qt.type===zw.Element)&&er){lt.headWhitespace&&Qt.type===zw.Element&&"head"===Qt.tagName&&(Vt=!1);var rr={doc:W,mirror:K,blockClass:Y,blockSelector:ie,needsMask:zt,maskTextClass:ce,maskTextSelector:ue,skipChild:pe,inlineStylesheet:ke,maskInputOptions:rt,maskTextFn:st,maskInputFn:at,slimDOMOptions:lt,dataURLOptions:ht,inlineImages:vt,recordCanvas:bt,preserveWhiteSpace:Vt,onSerialize:wt,onIframeLoad:xt,iframeLoadTimeout:kt,onStylesheetLoad:Et,stylesheetLoadTimeout:Pt,keepIframeSrcFn:jt,cssCaptured:!1};if(Qt.type===zw.Element&&"textarea"===Qt.tagName&&void 0!==Qt.attributes.value);else{Qt.type===zw.Element&&void 0!==Qt.attributes._cssText&&"string"==typeof Qt.attributes._cssText&&(rr.cssCaptured=!0);for(var Er,Mr=d_(Array.from(E_(B)));!(Er=Mr()).done;){var Ar=dS(Er.value,rr);Ar&&Qt.childNodes.push(Ar)}}var Fr=null;if(P_(B)&&(Fr=A_(B)))for(var Dr,Hr=d_(Array.from(E_(Fr)));!(Dr=Hr()).done;){var Vr=dS(Dr.value,rr);Vr&&(j_(Fr)&&(Vr.isShadow=!0),Qt.childNodes.push(Vr))}}var qr=T_(B);return qr&&N_(qr)&&j_(qr)&&(Qt.isShadow=!0),Qt.type===zw.Element&&"iframe"===Qt.tagName&&function(B,H,W){var K=B.contentWindow;if(K){var Y,ie=!1;try{Y=K.document.readyState}catch(B){return}if("complete"===Y){var ce="about:blank";if(K.location.href!==ce||B.src===ce||""===B.src)return setTimeout(H,0),B.addEventListener("load",H);B.addEventListener("load",H)}else{var ue=setTimeout(function(){ie||(H(),ie=!0)},W);B.addEventListener("load",function(){clearTimeout(ue),ie=!0,H()})}}}(B,function(){var H=B.contentDocument;if(H&&xt){var W=dS(H,{doc:H,mirror:K,blockClass:Y,blockSelector:ie,needsMask:zt,maskTextClass:ce,maskTextSelector:ue,skipChild:!1,inlineStylesheet:ke,maskInputOptions:rt,maskTextFn:st,maskInputFn:at,slimDOMOptions:lt,dataURLOptions:ht,inlineImages:vt,recordCanvas:bt,preserveWhiteSpace:Vt,onSerialize:wt,onIframeLoad:xt,iframeLoadTimeout:kt,onStylesheetLoad:Et,stylesheetLoadTimeout:Pt,keepIframeSrcFn:jt});W&&xt(B,W)}},kt),Qt.type===zw.Element&&"link"===Qt.tagName&&"string"==typeof Qt.attributes.rel&&("stylesheet"===Qt.attributes.rel||"preload"===Qt.attributes.rel&&"string"==typeof Qt.attributes.href&&"css"===U_(Qt.attributes.href))&&function(B,H,W){var K,Y=!1;try{K=B.sheet}catch(B){return}if(!K){var ie=setTimeout(function(){Y||(H(),Y=!0)},W);B.addEventListener("load",function(){clearTimeout(ie),Y=!0,H()})}}(B,function(){if(Et){var H=dS(B,{doc:W,mirror:K,blockClass:Y,blockSelector:ie,needsMask:zt,maskTextClass:ce,maskTextSelector:ue,skipChild:!1,inlineStylesheet:ke,maskInputOptions:rt,maskTextFn:st,maskInputFn:at,slimDOMOptions:lt,dataURLOptions:ht,inlineImages:vt,recordCanvas:bt,preserveWhiteSpace:Vt,onSerialize:wt,onIframeLoad:xt,iframeLoadTimeout:kt,onStylesheetLoad:Et,stylesheetLoadTimeout:Pt,keepIframeSrcFn:jt});H&&Et(B,H)}},Pt),Qt}var C_={exports:{}},M_=String,gS=function(){return{isColorSupported:!1,reset:M_,bold:M_,dim:M_,italic:M_,underline:M_,inverse:M_,hidden:M_,strikethrough:M_,black:M_,red:M_,green:M_,yellow:M_,blue:M_,magenta:M_,cyan:M_,white:M_,gray:M_,bgBlack:M_,bgRed:M_,bgGreen:M_,bgYellow:M_,bgBlue:M_,bgMagenta:M_,bgCyan:M_,bgWhite:M_}};C_.exports=gS(),C_.exports.createColors=gS;var F_=C_.exports,z_=function fS(B){if(B.__esModule)return B;var H=B.default;if("function"==typeof H){var W=function e(){return s_(this,e)?Reflect.construct(H,arguments,this.constructor):H.apply(this,arguments)};W.prototype=H.prototype}else W={};return Object.defineProperty(W,"__esModule",{value:!0}),Object.keys(B).forEach(function(H){var K=Object.getOwnPropertyDescriptor(B,H);Object.defineProperty(W,H,K.get?K:{enumerable:!0,get:function(){return B[H]}})}),W}(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),H_=F_,q_=z_,W_=function(B){function t(H,W,K,Y,ie,ce){var ue;return(ue=B.call(this,H)||this).name="CssSyntaxError",ue.reason=H,ie&&(ue.file=ie),Y&&(ue.source=Y),ce&&(ue.plugin=ce),void 0!==W&&void 0!==K&&("number"==typeof W?(ue.line=W,ue.column=K):(ue.line=W.line,ue.column=W.column,ue.endLine=K.line,ue.endColumn=K.column)),ue.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(ue,t),ue}i_(t,B);var H=t.prototype;return H.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},H.showSourceCode=function(B){var H=this;if(!this.source)return"";var W=this.source;null==B&&(B=H_.isColorSupported),q_&&B&&(W=q_(W));var K,Y,ie=W.split(/\r?\n/),ce=Math.max(this.line-3,0),ue=Math.min(this.line+2,ie.length),de=String(ue).length;if(B){var pe=H_.createColors(!0),fe=pe.bold,ke=pe.gray,Je=pe.red;K=function(B){return fe(Je(B))},Y=function(B){return ke(B)}}else K=Y=function(B){return B};return ie.slice(ce,ue).map(function(B,W){var ie=ce+1+W,ue=" "+(" "+ie).slice(-de)+" | ";if(ie===H.line){var pe=Y(ue.replace(/\d/g," "))+B.slice(0,H.column-1).replace(/[^\t]/g," ");return K(">")+Y(ue)+B+"\n "+pe+K("^")}return" "+Y(ue)+B}).join("\n")},H.toString=function(){var B=this.showSourceCode();return B&&(B="\n\n"+B+"\n"),this.name+": "+this.message+B},t}(u_(Error)),G_=W_;W_.default=W_;var X_={};X_.isClean=Symbol("isClean"),X_.my=Symbol("my");var Z_={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1},J_=function(){function e(B){this.builder=B}var B=e.prototype;return B.atrule=function(B,H){var W="@"+B.name,K=B.params?this.rawValue(B,"params"):"";if(void 0!==B.raws.afterName?W+=B.raws.afterName:K&&(W+=" "),B.nodes)this.block(B,W+K);else{var Y=(B.raws.between||"")+(H?";":"");this.builder(W+K+Y,B)}},B.beforeAfter=function(B,H){var W;W="decl"===B.type?this.raw(B,null,"beforeDecl"):"comment"===B.type?this.raw(B,null,"beforeComment"):"before"===H?this.raw(B,null,"beforeRule"):this.raw(B,null,"beforeClose");for(var K=B.parent,Y=0;K&&"root"!==K.type;)Y+=1,K=K.parent;if(W.includes("\n")){var ie=this.raw(B,null,"indent");if(ie.length)for(var ce=0;ce<Y;ce++)W+=ie}return W},B.block=function(B,H){var W,K=this.raw(B,"between","beforeOpen");this.builder(H+K+"{",B,"start"),B.nodes&&B.nodes.length?(this.body(B),W=this.raw(B,"after")):W=this.raw(B,"after","emptyBody"),W&&this.builder(W),this.builder("}",B,"end")},B.body=function(B){for(var H=B.nodes.length-1;H>0&&"comment"===B.nodes[H].type;)H-=1;for(var W=this.raw(B,"semicolon"),K=0;K<B.nodes.length;K++){var Y=B.nodes[K],ie=this.raw(Y,"before");ie&&this.builder(ie),this.stringify(Y,H!==K||W)}},B.comment=function(B){var H=this.raw(B,"left","commentLeft"),W=this.raw(B,"right","commentRight");this.builder("/*"+H+B.text+W+"*/",B)},B.decl=function(B,H){var W=this.raw(B,"between","colon"),K=B.prop+W+this.rawValue(B,"value");B.important&&(K+=B.raws.important||" !important"),H&&(K+=";"),this.builder(K,B)},B.document=function(B){this.body(B)},B.raw=function(B,H,W){var K;if(W||(W=H),H&&void 0!==(K=B.raws[H]))return K;var Y=B.parent;if("before"===W){if(!Y||"root"===Y.type&&Y.first===B)return"";if(Y&&"document"===Y.type)return""}if(!Y)return Z_[W];var ie=B.root();if(ie.rawCache||(ie.rawCache={}),void 0!==ie.rawCache[W])return ie.rawCache[W];if("before"===W||"after"===W)return this.beforeAfter(B,W);var ce,ue="raw"+((ce=W)[0].toUpperCase()+ce.slice(1));return this[ue]?K=this[ue](ie,B):ie.walk(function(B){if(void 0!==(K=B.raws[H]))return!1}),void 0===K&&(K=Z_[W]),ie.rawCache[W]=K,K},B.rawBeforeClose=function(B){var H;return B.walk(function(B){if(B.nodes&&B.nodes.length>0&&void 0!==B.raws.after)return(H=B.raws.after).includes("\n")&&(H=H.replace(/[^\n]+$/,"")),!1}),H&&(H=H.replace(/\S/g,"")),H},B.rawBeforeComment=function(B,H){var W;return B.walkComments(function(B){if(void 0!==B.raws.before)return(W=B.raws.before).includes("\n")&&(W=W.replace(/[^\n]+$/,"")),!1}),void 0===W?W=this.raw(H,null,"beforeDecl"):W&&(W=W.replace(/\S/g,"")),W},B.rawBeforeDecl=function(B,H){var W;return B.walkDecls(function(B){if(void 0!==B.raws.before)return(W=B.raws.before).includes("\n")&&(W=W.replace(/[^\n]+$/,"")),!1}),void 0===W?W=this.raw(H,null,"beforeRule"):W&&(W=W.replace(/\S/g,"")),W},B.rawBeforeOpen=function(B){var H;return B.walk(function(B){if("decl"!==B.type&&void 0!==(H=B.raws.between))return!1}),H},B.rawBeforeRule=function(B){var H;return B.walk(function(W){if(W.nodes&&(W.parent!==B||B.first!==W)&&void 0!==W.raws.before)return(H=W.raws.before).includes("\n")&&(H=H.replace(/[^\n]+$/,"")),!1}),H&&(H=H.replace(/\S/g,"")),H},B.rawColon=function(B){var H;return B.walkDecls(function(B){if(void 0!==B.raws.between)return H=B.raws.between.replace(/[^\s:]/g,""),!1}),H},B.rawEmptyBody=function(B){var H;return B.walk(function(B){if(B.nodes&&0===B.nodes.length&&void 0!==(H=B.raws.after))return!1}),H},B.rawIndent=function(B){return B.raws.indent?B.raws.indent:(B.walk(function(W){var K=W.parent;if(K&&K!==B&&K.parent&&K.parent===B&&void 0!==W.raws.before){var Y=W.raws.before.split("\n");return H=(H=Y[Y.length-1]).replace(/\S/g,""),!1}}),H);var H},B.rawSemicolon=function(B){var H;return B.walk(function(B){if(B.nodes&&B.nodes.length&&"decl"===B.last.type&&void 0!==(H=B.raws.semicolon))return!1}),H},B.rawValue=function(B,H){var W=B[H],K=B.raws[H];return K&&K.value===W?K.raw:W},B.root=function(B){this.body(B),B.raws.after&&this.builder(B.raws.after)},B.rule=function(B){this.block(B,this.rawValue(B,"selector")),B.raws.ownSemicolon&&this.builder(B.raws.ownSemicolon,B,"end")},B.stringify=function(B,H){if(!this[B.type])throw new Error("Unknown AST node type "+B.type+". Maybe you need to change PostCSS stringifier.");this[B.type](B,H)},e}(),Q_=J_;J_.default=J_;var tx=Q_;function TS(B,H){new tx(H).stringify(B)}var rx=TS;TS.default=TS;var dx=X_.isClean,fx=X_.my,Rx=G_,Ax=Q_,Tx=rx;function jS(B,H){var W=new B.constructor;for(var K in B)if(Object.prototype.hasOwnProperty.call(B,K)&&"proxyCache"!==K){var Y=B[K],ie=void 0===Y?"undefined":c_(Y);"parent"===K&&"object"===ie?H&&(W[K]=H):"source"===K?W[K]=Y:Array.isArray(Y)?W[K]=Y.map(function(B){return jS(B,W)}):("object"===ie&&null!==Y&&(Y=jS(Y)),W[K]=Y)}return W}var Px=function(){function e(B){for(var H in void 0===B&&(B={}),this.raws={},this[dx]=!1,this[fx]=!0,B)if("nodes"===H){this.nodes=[];for(var W,K=d_(B[H]);!(W=K()).done;){var Y=W.value;"function"==typeof Y.clone?this.append(Y.clone()):this.append(Y)}}else this[H]=B[H]}var B=e.prototype;return B.addToError=function(B){if(B.postcssNode=this,B.stack&&this.source&&/\n\s{4}at /.test(B.stack)){var H=this.source;B.stack=B.stack.replace(/\n\s{4}at /,"$&"+H.input.from+":"+H.start.line+":"+H.start.column+"$&")}return B},B.after=function(B){return this.parent.insertAfter(this,B),this},B.assign=function(B){for(var H in void 0===B&&(B={}),B)this[H]=B[H];return this},B.before=function(B){return this.parent.insertBefore(this,B),this},B.cleanRaws=function(B){delete this.raws.before,delete this.raws.after,B||delete this.raws.between},B.clone=function(B){void 0===B&&(B={});var H=jS(this);for(var W in B)H[W]=B[W];return H},B.cloneAfter=function(B){void 0===B&&(B={});var H=this.clone(B);return this.parent.insertAfter(this,H),H},B.cloneBefore=function(B){void 0===B&&(B={});var H=this.clone(B);return this.parent.insertBefore(this,H),H},B.error=function(B,H){if(void 0===H&&(H={}),this.source){var W=this.rangeBy(H),K=W.end,Y=W.start;return this.source.input.error(B,{column:Y.column,line:Y.line},{column:K.column,line:K.line},H)}return new Rx(B)},B.getProxyProcessor=function(){return{get:function(B,H){return"proxyOf"===H?B:"root"===H?function(){return B.root().toProxy()}:B[H]},set:function(B,H,W){return B[H]===W||(B[H]=W,"prop"!==H&&"value"!==H&&"name"!==H&&"params"!==H&&"important"!==H&&"text"!==H||B.markDirty()),!0}}},B.markDirty=function(){if(this[dx]){this[dx]=!1;for(var B=this;B=B.parent;)B[dx]=!1}},B.next=function(){if(this.parent){var B=this.parent.index(this);return this.parent.nodes[B+1]}},B.positionBy=function(B,H){var W=this.source.start;if(B.index)W=this.positionInside(B.index,H);else if(B.word){var K=(H=this.toString()).indexOf(B.word);-1!==K&&(W=this.positionInside(K,H))}return W},B.positionInside=function(B,H){for(var W=H||this.toString(),K=this.source.start.column,Y=this.source.start.line,ie=0;ie<B;ie++)"\n"===W[ie]?(K=1,Y+=1):K+=1;return{column:K,line:Y}},B.prev=function(){if(this.parent){var B=this.parent.index(this);return this.parent.nodes[B-1]}},B.rangeBy=function(B){var H={column:this.source.start.column,line:this.source.start.line},W=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:H.column+1,line:H.line};if(B.word){var K=this.toString(),Y=K.indexOf(B.word);-1!==Y&&(H=this.positionInside(Y,K),W=this.positionInside(Y+B.word.length,K))}else B.start?H={column:B.start.column,line:B.start.line}:B.index&&(H=this.positionInside(B.index)),B.end?W={column:B.end.column,line:B.end.line}:"number"==typeof B.endIndex?W=this.positionInside(B.endIndex):B.index&&(W=this.positionInside(B.index+1));return(W.line<H.line||W.line===H.line&&W.column<=H.column)&&(W={column:H.column+1,line:H.line}),{end:W,start:H}},B.raw=function(B,H){return(new Ax).raw(this,B,H)},B.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},B.replaceWith=function(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];if(this.parent){for(var K,Y=this,ie=!1,ce=d_(H);!(K=ce()).done;){var ue=K.value;ue===this?ie=!0:ie?(this.parent.insertAfter(Y,ue),Y=ue):this.parent.insertBefore(Y,ue)}ie||this.remove()}return this},B.root=function(){for(var B=this;B.parent&&"document"!==B.parent.type;)B=B.parent;return B},B.toJSON=function(B,H){var W={},K=null==H;H=H||new Map;var Y=0;for(var ie in this)if(Object.prototype.hasOwnProperty.call(this,ie)&&"parent"!==ie&&"proxyCache"!==ie){var ce=this[ie];if(Array.isArray(ce))W[ie]=ce.map(function(B){return"object"===(void 0===B?"undefined":c_(B))&&B.toJSON?B.toJSON(null,H):B});else if("object"===(void 0===ce?"undefined":c_(ce))&&ce.toJSON)W[ie]=ce.toJSON(null,H);else if("source"===ie){var ue=H.get(ce.input);null==ue&&(ue=Y,H.set(ce.input,Y),Y++),W[ie]={end:ce.end,inputId:ue,start:ce.start}}else W[ie]=ce}return K&&(W.inputs=[].concat(H.keys()).map(function(B){return B.toJSON()})),W},B.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},B.toString=function(B){void 0===B&&(B=Tx),B.stringify&&(B=B.stringify);var H="";return B(this,function(B){H+=B}),H},B.warn=function(B,H,W){var K={node:this};for(var Y in W)K[Y]=W[Y];return B.warn(H,K)},r_(e,[{key:"proxyOf",get:function(){return this}}]),e}(),Nx=Px;Px.default=Px;var $x=function(B){function t(H){var W;return H&&void 0!==H.value&&"string"!=typeof H.value&&(H=n_({},H,{value:String(H.value)})),(W=B.call(this,H)||this).type="decl",W}return i_(t,B),r_(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(Nx),Bx=$x;$x.default=$x;var Hx=z_.SourceMapConsumer,Vx=z_.SourceMapGenerator,qx=z_.existsSync,Gx=z_.readFileSync,Xx=z_.dirname,Zx=z_.join,Kx=function(){function e(B,H){if(!1!==H.map){this.loadAnnotation(B),this.inline=this.startWith(this.annotation,"data:");var W=H.map?H.map.prev:void 0,K=this.loadMap(H.from,W);!this.mapFile&&H.from&&(this.mapFile=H.from),this.mapFile&&(this.root=Xx(this.mapFile)),K&&(this.text=K)}}var B=e.prototype;return B.consumer=function(){return this.consumerCache||(this.consumerCache=new Hx(this.text)),this.consumerCache},B.decodeInline=function(B){var H;if(/^data:application\/json;charset=utf-?8,/.test(B)||/^data:application\/json,/.test(B))return decodeURIComponent(B.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(B)||/^data:application\/json;base64,/.test(B))return H=B.substr(RegExp.lastMatch.length),Buffer?Buffer.from(H,"base64").toString():window.atob(H);var W=B.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+W)},B.getAnnotationURL=function(B){return B.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},B.isMap=function(B){return"object"===(void 0===B?"undefined":c_(B))&&("string"==typeof B.mappings||"string"==typeof B._mappings||Array.isArray(B.sections))},B.loadAnnotation=function(B){var H=B.match(/\/\*\s*# sourceMappingURL=/gm);if(H){var W=B.lastIndexOf(H.pop()),K=B.indexOf("*/",W);W>-1&&K>-1&&(this.annotation=this.getAnnotationURL(B.substring(W,K)))}},B.loadFile=function(B){if(this.root=Xx(B),qx(B))return this.mapFile=B,Gx(B,"utf-8").toString().trim()},B.loadMap=function(B,H){if(!1===H)return!1;if(H){if("string"==typeof H)return H;if("function"!=typeof H){if(s_(H,Hx))return Vx.fromSourceMap(H).toString();if(s_(H,Vx))return H.toString();if(this.isMap(H))return JSON.stringify(H);throw new Error("Unsupported previous source map format: "+H.toString())}var W=H(B);if(W){var K=this.loadFile(W);if(!K)throw new Error("Unable to load previous source map: "+W.toString());return K}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var Y=this.annotation;return B&&(Y=Zx(Xx(B),Y)),this.loadFile(Y)}}},B.startWith=function(B,H){return!!B&&B.substr(0,H.length)===H},B.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),Yx=Kx;Kx.default=Kx;var tS=z_.SourceMapConsumer,rS=z_.SourceMapGenerator,nS=z_.fileURLToPath,hS=z_.pathToFileURL,mS=z_.isAbsolute,vS=z_.resolve,yS=z_,bS=G_,wS=Yx,_S=Symbol("fromOffsetCache"),xS=Boolean(tS&&rS),SS=Boolean(vS&&mS),kS=function(){function e(B,H){if(void 0===H&&(H={}),null==B||"object"===(void 0===B?"undefined":c_(B))&&!B.toString)throw new Error("PostCSS received "+B+" instead of CSS string");if(this.css=B.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,H.from&&(!SS||/^\w+:\/\//.test(H.from)||mS(H.from)?this.file=H.from:this.file=vS(H.from)),SS&&xS){var W=new wS(this.css,H);if(W.text){this.map=W;var K=W.consumer().file;!this.file&&K&&(this.file=this.mapResolve(K))}}this.file||(this.id="<input css "+function(B){void 0===B&&(B=21);for(var H="",W=B;W--;)H+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return H}(6)+">"),this.map&&(this.map.file=this.from)}var B=e.prototype;return B.error=function(B,H,W,K){var Y,ie,ce;if(void 0===K&&(K={}),H&&"object"===(void 0===H?"undefined":c_(H))){var ue=H,de=W;if("number"==typeof ue.offset){var pe=this.fromOffset(ue.offset);H=pe.line,W=pe.col}else H=ue.line,W=ue.column;if("number"==typeof de.offset){var fe=this.fromOffset(de.offset);ie=fe.line,ce=fe.col}else ie=de.line,ce=de.column}else if(!W){var ke=this.fromOffset(H);H=ke.line,W=ke.col}var Je=this.origin(H,W,ie,ce);return(Y=Je?new bS(B,void 0===Je.endLine?Je.line:{column:Je.column,line:Je.line},void 0===Je.endLine?Je.column:{column:Je.endColumn,line:Je.endLine},Je.source,Je.file,K.plugin):new bS(B,void 0===ie?H:{column:W,line:H},void 0===ie?W:{column:ce,line:ie},this.css,this.file,K.plugin)).input={column:W,endColumn:ce,endLine:ie,line:H,source:this.css},this.file&&(hS&&(Y.input.url=hS(this.file).toString()),Y.input.file=this.file),Y},B.fromOffset=function(B){var H;if(this[_S])H=this[_S];else{var W=this.css.split("\n");H=new Array(W.length);for(var K=0,Y=0,ie=W.length;Y<ie;Y++)H[Y]=K,K+=W[Y].length+1;this[_S]=H}var ce=0;if(B>=H[H.length-1])ce=H.length-1;else for(var ue,de=H.length-2;ce<de;)if(B<H[ue=ce+(de-ce>>1)])de=ue-1;else{if(!(B>=H[ue+1])){ce=ue;break}ce=ue+1}return{col:B-H[ce]+1,line:ce+1}},B.mapResolve=function(B){return/^\w+:\/\//.test(B)?B:vS(this.map.consumer().sourceRoot||this.map.root||".",B)},B.origin=function(B,H,W,K){if(!this.map)return!1;var Y,ie,ce=this.map.consumer(),ue=ce.originalPositionFor({column:H,line:B});if(!ue.source)return!1;"number"==typeof W&&(Y=ce.originalPositionFor({column:K,line:W})),ie=mS(ue.source)?hS(ue.source):new URL(ue.source,this.map.consumer().sourceRoot||hS(this.map.mapFile));var de={column:ue.column,endColumn:Y&&Y.column,endLine:Y&&Y.line,line:ue.line,url:ie.toString()};if("file:"===ie.protocol){if(!nS)throw new Error("file: protocol is not available in this PostCSS build");de.file=nS(ie)}var pe=ce.sourceContentFor(ue.source);return pe&&(de.source=pe),de},B.toJSON=function(){for(var B={},H=0,W=["hasBOM","css","file","id"];H<W.length;H++){var K=W[H];null!=this[K]&&(B[K]=this[K])}return this.map&&(B.map=n_({},this.map),B.map.consumerCache&&(B.map.consumerCache=void 0)),B},r_(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),CS=kS;kS.default=kS,yS&&yS.registerInput&&yS.registerInput(kS);var OS=z_.SourceMapConsumer,ES=z_.SourceMapGenerator,RS=z_.dirname,MS=z_.relative,IS=z_.resolve,AS=z_.sep,PS=z_.pathToFileURL,LS=CS,FS=Boolean(OS&&ES),NS=Boolean(RS&&IS&&MS&&AS),DS=function(){function e(B,H,W,K){this.stringify=B,this.mapOpts=W.map||{},this.root=H,this.opts=W,this.css=K,this.originalCSS=K,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var B=e.prototype;return B.addAnnotation=function(){var B;B=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var H="\n";this.css.includes("\r\n")&&(H="\r\n"),this.css+=H+"/*# sourceMappingURL="+B+" */"},B.applyPrevMaps=function(){for(var B,H=d_(this.previous());!(B=H()).done;){var W=B.value,K=this.toUrl(this.path(W.file)),Y=W.root||RS(W.file),ie=void 0;!1===this.mapOpts.sourcesContent?(ie=new OS(W.text)).sourcesContent&&(ie.sourcesContent=null):ie=W.consumer(),this.map.applySourceMap(ie,K,this.toUrl(this.path(Y)))}},B.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var B,H=this.root.nodes.length-1;H>=0;H--)"comment"===(B=this.root.nodes[H]).type&&0===B.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(H);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},B.generate=function(){if(this.clearAnnotation(),NS&&FS&&this.isMap())return this.generateMap();var B="";return this.stringify(this.root,function(H){B+=H}),[B]},B.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var B=this.previous()[0].consumer();B.file=this.outputFile(),this.map=ES.fromSourceMap(B,{ignoreInvalidMapping:!0})}else this.map=new ES({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},B.generateString=function(){var B=this;this.css="",this.map=new ES({file:this.outputFile(),ignoreInvalidMapping:!0});var H,W,K=1,Y=1,ie="<no source>",ce={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(ue,de,pe){if(B.css+=ue,de&&"end"!==pe&&(ce.generated.line=K,ce.generated.column=Y-1,de.source&&de.source.start?(ce.source=B.sourcePath(de),ce.original.line=de.source.start.line,ce.original.column=de.source.start.column-1,B.map.addMapping(ce)):(ce.source=ie,ce.original.line=1,ce.original.column=0,B.map.addMapping(ce))),(H=ue.match(/\n/g))?(K+=H.length,W=ue.lastIndexOf("\n"),Y=ue.length-W):Y+=ue.length,de&&"start"!==pe){var fe=de.parent||{raws:{}};("decl"===de.type||"atrule"===de.type&&!de.nodes)&&de===fe.last&&!fe.raws.semicolon||(de.source&&de.source.end?(ce.source=B.sourcePath(de),ce.original.line=de.source.end.line,ce.original.column=de.source.end.column-1,ce.generated.line=K,ce.generated.column=Y-2,B.map.addMapping(ce)):(ce.source=ie,ce.original.line=1,ce.original.column=0,ce.generated.line=K,ce.generated.column=Y-1,B.map.addMapping(ce)))}})},B.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(B){return B.annotation}))},B.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var B=this.mapOpts.annotation;return(void 0===B||!0===B)&&(!this.previous().length||this.previous().some(function(B){return B.inline}))},B.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},B.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(B){return B.withContent()})},B.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},B.path=function(B){if(this.mapOpts.absolute)return B;if(60===B.charCodeAt(0))return B;if(/^\w+:\/\//.test(B))return B;var H=this.memoizedPaths.get(B);if(H)return H;var W=this.opts.to?RS(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(W=RS(IS(W,this.mapOpts.annotation)));var K=MS(W,B);return this.memoizedPaths.set(B,K),K},B.previous=function(){var B=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(H){if(H.source&&H.source.input.map){var W=H.source.input.map;B.previousMaps.includes(W)||B.previousMaps.push(W)}});else{var H=new LS(this.originalCSS,this.opts);H.map&&this.previousMaps.push(H.map)}return this.previousMaps},B.setSourcesContent=function(){var B=this,H={};if(this.root)this.root.walk(function(W){if(W.source){var K=W.source.input.from;if(K&&!H[K]){H[K]=!0;var Y=B.usesFileUrls?B.toFileUrl(K):B.toUrl(B.path(K));B.map.setSourceContent(Y,W.source.input.css)}}});else if(this.css){var W=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(W,this.css)}},B.sourcePath=function(B){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(B.source.input.from):this.toUrl(this.path(B.source.input.from))},B.toBase64=function(B){return Buffer?Buffer.from(B).toString("base64"):window.btoa(unescape(encodeURIComponent(B)))},B.toFileUrl=function(B){var H=this.memoizedFileURLs.get(B);if(H)return H;if(PS){var W=PS(B).toString();return this.memoizedFileURLs.set(B,W),W}throw new Error("`map.absolute` option is not available in this PostCSS build")},B.toUrl=function(B){var H=this.memoizedURLs.get(B);if(H)return H;"\\"===AS&&(B=B.replace(/\\/g,"/"));var W=encodeURI(B).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(B,W),W},e}(),$S=DS,zS=function(B){function t(H){var W;return(W=B.call(this,H)||this).type="comment",W}return i_(t,B),t}(Nx),BS=zS;zS.default=zS;var US,HS,VS,qS,WS=X_.isClean,GS=X_.my,XS=Bx,ZS=BS;function Mk(B){return B.map(function(B){return B.nodes&&(B.nodes=Mk(B.nodes)),delete B.source,B})}function Ak(B){if(B[WS]=!1,B.proxyOf.nodes)for(var H,W=d_(B.proxyOf.nodes);!(H=W()).done;)Ak(H.value)}var KS=function(B){function t(){return B.apply(this,arguments)||this}i_(t,B);var H=t.prototype;return H.append=function(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];for(var K,Y=d_(H);!(K=Y()).done;)for(var ie,ce=K.value,ue=d_(this.normalize(ce,this.last));!(ie=ue()).done;){var de=ie.value;this.proxyOf.nodes.push(de)}return this.markDirty(),this},H.cleanRaws=function(H){if(B.prototype.cleanRaws.call(this,H),this.nodes)for(var W,K=d_(this.nodes);!(W=K()).done;)W.value.cleanRaws(H)},H.each=function(B){if(this.proxyOf.nodes){for(var H,W,K=this.getIterator();this.indexes[K]<this.proxyOf.nodes.length&&(H=this.indexes[K],!1!==(W=B(this.proxyOf.nodes[H],H)));)this.indexes[K]+=1;return delete this.indexes[K],W}},H.every=function(B){return this.nodes.every(B)},H.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var B=this.lastEach;return this.indexes[B]=0,B},H.getProxyProcessor=function(){return{get:function(B,H){return"proxyOf"===H?B:B[H]?"each"===H||"string"==typeof H&&H.startsWith("walk")?function(){for(var W=arguments.length,K=new Array(W),Y=0;Y<W;Y++)K[Y]=arguments[Y];var ie;return(ie=B)[H].apply(ie,[].concat(K.map(function(B){return"function"==typeof B?function(H,W){return B(H.toProxy(),W)}:B})))}:"every"===H||"some"===H?function(W){return B[H](function(B){for(var H=arguments.length,K=new Array(H>1?H-1:0),Y=1;Y<H;Y++)K[Y-1]=arguments[Y];return W.apply(void 0,[].concat([B.toProxy()],K))})}:"root"===H?function(){return B.root().toProxy()}:"nodes"===H?B.nodes.map(function(B){return B.toProxy()}):"first"===H||"last"===H?B[H].toProxy():B[H]:B[H]},set:function(B,H,W){return B[H]===W||(B[H]=W,"name"!==H&&"params"!==H&&"selector"!==H||B.markDirty()),!0}}},H.index=function(B){return"number"==typeof B?B:(B.proxyOf&&(B=B.proxyOf),this.proxyOf.nodes.indexOf(B))},H.insertAfter=function(B,H){var W,K=this.index(B),Y=this.normalize(H,this.proxyOf.nodes[K]).reverse();K=this.index(B);for(var ie,ce=d_(Y);!(ie=ce()).done;){var ue=ie.value;this.proxyOf.nodes.splice(K+1,0,ue)}for(var de in this.indexes)K<(W=this.indexes[de])&&(this.indexes[de]=W+Y.length);return this.markDirty(),this},H.insertBefore=function(B,H){var W,K=this.index(B),Y=0===K&&"prepend",ie=this.normalize(H,this.proxyOf.nodes[K],Y).reverse();K=this.index(B);for(var ce,ue=d_(ie);!(ce=ue()).done;){var de=ce.value;this.proxyOf.nodes.splice(K,0,de)}for(var pe in this.indexes)K<=(W=this.indexes[pe])&&(this.indexes[pe]=W+ie.length);return this.markDirty(),this},H.normalize=function(B,H){var W=this;if("string"==typeof B)B=Mk(US(B).nodes);else if(void 0===B)B=[];else if(Array.isArray(B))for(var K,Y=d_(B=B.slice(0));!(K=Y()).done;){var ie=K.value;ie.parent&&ie.parent.removeChild(ie,"ignore")}else if("root"===B.type&&"document"!==this.type)for(var ce,ue=d_(B=B.nodes.slice(0));!(ce=ue()).done;){var de=ce.value;de.parent&&de.parent.removeChild(de,"ignore")}else if(B.type)B=[B];else if(B.prop){if(void 0===B.value)throw new Error("Value field is missed in node creation");"string"!=typeof B.value&&(B.value=String(B.value)),B=[new XS(B)]}else if(B.selector)B=[new HS(B)];else if(B.name)B=[new VS(B)];else{if(!B.text)throw new Error("Unknown node type in node creation");B=[new ZS(B)]}var pe=B.map(function(B){return B[GS]||t.rebuild(B),(B=B.proxyOf).parent&&B.parent.removeChild(B),B[WS]&&Ak(B),void 0===B.raws.before&&H&&void 0!==H.raws.before&&(B.raws.before=H.raws.before.replace(/\S/g,"")),B.parent=W.proxyOf,B});return pe},H.prepend=function(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];for(var K,Y=d_(H=H.reverse());!(K=Y()).done;){for(var ie,ce=K.value,ue=this.normalize(ce,this.first,"prepend").reverse(),de=d_(ue);!(ie=de()).done;){var pe=ie.value;this.proxyOf.nodes.unshift(pe)}for(var fe in this.indexes)this.indexes[fe]=this.indexes[fe]+ue.length}return this.markDirty(),this},H.push=function(B){return B.parent=this,this.proxyOf.nodes.push(B),this},H.removeAll=function(){for(var B,H=d_(this.proxyOf.nodes);!(B=H()).done;)B.value.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this},H.removeChild=function(B){var H;for(var W in B=this.index(B),this.proxyOf.nodes[B].parent=void 0,this.proxyOf.nodes.splice(B,1),this.indexes)(H=this.indexes[W])>=B&&(this.indexes[W]=H-1);return this.markDirty(),this},H.replaceValues=function(B,H,W){return W||(W=H,H={}),this.walkDecls(function(K){H.props&&!H.props.includes(K.prop)||H.fast&&!K.value.includes(H.fast)||(K.value=K.value.replace(B,W))}),this.markDirty(),this},H.some=function(B){return this.nodes.some(B)},H.walk=function(B){return this.each(function(H,W){var K;try{K=B(H,W)}catch(B){throw H.addToError(B)}return!1!==K&&H.walk&&(K=H.walk(B)),K})},H.walkAtRules=function(B,H){return H?s_(B,RegExp)?this.walk(function(W,K){if("atrule"===W.type&&B.test(W.name))return H(W,K)}):this.walk(function(W,K){if("atrule"===W.type&&W.name===B)return H(W,K)}):(H=B,this.walk(function(B,W){if("atrule"===B.type)return H(B,W)}))},H.walkComments=function(B){return this.walk(function(H,W){if("comment"===H.type)return B(H,W)})},H.walkDecls=function(B,H){return H?s_(B,RegExp)?this.walk(function(W,K){if("decl"===W.type&&B.test(W.prop))return H(W,K)}):this.walk(function(W,K){if("decl"===W.type&&W.prop===B)return H(W,K)}):(H=B,this.walk(function(B,W){if("decl"===B.type)return H(B,W)}))},H.walkRules=function(B,H){return H?s_(B,RegExp)?this.walk(function(W,K){if("rule"===W.type&&B.test(W.selector))return H(W,K)}):this.walk(function(W,K){if("rule"===W.type&&W.selector===B)return H(W,K)}):(H=B,this.walk(function(B,W){if("rule"===B.type)return H(B,W)}))},r_(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(Nx);KS.registerParse=function(B){US=B},KS.registerRule=function(B){HS=B},KS.registerAtRule=function(B){VS=B},KS.registerRoot=function(B){qS=B};var YS=KS;KS.default=KS,KS.rebuild=function(B){"atrule"===B.type?Object.setPrototypeOf(B,VS.prototype):"rule"===B.type?Object.setPrototypeOf(B,HS.prototype):"decl"===B.type?Object.setPrototypeOf(B,XS.prototype):"comment"===B.type?Object.setPrototypeOf(B,ZS.prototype):"root"===B.type&&Object.setPrototypeOf(B,qS.prototype),B[GS]=!0,B.nodes&&B.nodes.forEach(function(B){KS.rebuild(B)})};var JS,QS,ek=function(B){function t(H){var W;return(W=B.call(this,n_({type:"document"},H))||this).nodes||(W.nodes=[]),W}return i_(t,B),t.prototype.toResult=function(B){return void 0===B&&(B={}),new JS(new QS,this,B).stringify()},t}(YS);ek.registerLazyResult=function(B){JS=B},ek.registerProcessor=function(B){QS=B};var tk=ek;ek.default=ek;var rk=function(){function e(B,H){if(void 0===H&&(H={}),this.type="warning",this.text=B,H.node&&H.node.source){var W=H.node.rangeBy(H);this.line=W.start.line,this.column=W.start.column,this.endLine=W.end.line,this.endColumn=W.end.column}for(var K in H)this[K]=H[K]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),nk=rk;rk.default=rk;var ok=nk,ik=function(){function e(B,H,W){this.processor=B,this.messages=[],this.root=H,this.opts=W,this.css=void 0,this.map=void 0}var B=e.prototype;return B.toString=function(){return this.css},B.warn=function(B,H){void 0===H&&(H={}),H.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(H.plugin=this.lastPlugin.postcssPlugin);var W=new ok(B,H);return this.messages.push(W),W},B.warnings=function(){return this.messages.filter(function(B){return"warning"===B.type})},r_(e,[{key:"content",get:function(){return this.css}}]),e}(),sk=ik;ik.default=ik;var ak="'".charCodeAt(0),lk='"'.charCodeAt(0),ck="\\".charCodeAt(0),uk="/".charCodeAt(0),dk="\n".charCodeAt(0),pk=" ".charCodeAt(0),hk="\f".charCodeAt(0),fk="\t".charCodeAt(0),mk="\r".charCodeAt(0),gk="[".charCodeAt(0),vk="]".charCodeAt(0),yk="(".charCodeAt(0),bk=")".charCodeAt(0),wk="{".charCodeAt(0),_k="}".charCodeAt(0),xk=";".charCodeAt(0),Sk="*".charCodeAt(0),kk=":".charCodeAt(0),Ck="@".charCodeAt(0),Ok=/[\t\n\f\r "#'()/;[\\\]{}]/g,Ek=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Rk=/.[\r\n"'(/\\]/,Ik=/[\da-f]/i,Tk=YS,Pk=function(B){function t(H){var W;return(W=B.call(this,H)||this).type="atrule",W}i_(t,B);var H=t.prototype;return H.append=function(){for(var H=arguments.length,W=new Array(H),K=0;K<H;K++)W[K]=arguments[K];var Y;return this.proxyOf.nodes||(this.nodes=[]),(Y=B.prototype.append).call.apply(Y,[].concat([this],W))},H.prepend=function(){for(var H=arguments.length,W=new Array(H),K=0;K<H;K++)W[K]=arguments[K];var Y;return this.proxyOf.nodes||(this.nodes=[]),(Y=B.prototype.prepend).call.apply(Y,[].concat([this],W))},t}(Tk),Lk=Pk;Pk.default=Pk,Tk.registerAtRule(Pk);var jk,Fk,Nk=YS,Dk=function(B){function t(H){var W;return(W=B.call(this,H)||this).type="root",W.nodes||(W.nodes=[]),W}i_(t,B);var H=t.prototype;return H.normalize=function(H,W,K){var Y=B.prototype.normalize.call(this,H);if(W)if("prepend"===K)this.nodes.length>1?W.raws.before=this.nodes[1].raws.before:delete W.raws.before;else if(this.first!==W)for(var ie,ce=d_(Y);!(ie=ce()).done;)ie.value.raws.before=W.raws.before;return Y},H.removeChild=function(H,W){var K=this.index(H);return!W&&0===K&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[K].raws.before),B.prototype.removeChild.call(this,H)},H.toResult=function(B){return void 0===B&&(B={}),new jk(new Fk,this,B).stringify()},t}(Nk);Dk.registerLazyResult=function(B){jk=B},Dk.registerProcessor=function(B){Fk=B};var $k=Dk;Dk.default=Dk,Nk.registerRoot(Dk);var zk={comma:function(B){return zk.split(B,[","],!0)},space:function(B){return zk.split(B,[" ","\n","\t"])},split:function(B,H,W){for(var K,Y=[],ie="",ce=!1,ue=0,de=!1,pe="",fe=!1,ke=d_(B);!(K=ke()).done;){var Je=K.value;fe?fe=!1:"\\"===Je?fe=!0:de?Je===pe&&(de=!1):'"'===Je||"'"===Je?(de=!0,pe=Je):"("===Je?ue+=1:")"===Je?ue>0&&(ue-=1):0===ue&&H.includes(Je)&&(ce=!0),ce?(""!==ie&&Y.push(ie.trim()),ie="",ce=!1):ie+=Je}return(W||""!==ie)&&Y.push(ie.trim()),Y}},Bk=zk;zk.default=zk;var Uk=YS,Hk=Bk,Vk=function(B){function t(H){var W;return(W=B.call(this,H)||this).type="rule",W.nodes||(W.nodes=[]),W}return i_(t,B),r_(t,[{key:"selectors",get:function(){return Hk.comma(this.selector)},set:function(B){var H=this.selector?this.selector.match(/,\s*/):null,W=H?H[0]:","+this.raw("between","beforeOpen");this.selector=B.join(W)}}]),t}(Uk),qk=Vk;Vk.default=Vk,Uk.registerRule(Vk);var Wk=Bx,Gk=BS,Xk=Lk,Zk=$k,Kk=qk,Yk={empty:!0,space:!0},Jk=function(){function e(B){this.input=B,this.root=new Zk,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:B,start:{column:1,line:1,offset:0}}}var B=e.prototype;return B.atrule=function(B){var H,W,K,Y=new Xk;Y.name=B[1].slice(1),""===Y.name&&this.unnamedAtrule(Y,B),this.init(Y,B[2]);for(var ie=!1,ce=!1,ue=[],de=[];!this.tokenizer.endOfFile();){if("("===(H=(B=this.tokenizer.nextToken())[0])||"["===H?de.push("("===H?")":"]"):"{"===H&&de.length>0?de.push("}"):H===de[de.length-1]&&de.pop(),0===de.length){if(";"===H){Y.source.end=this.getPosition(B[2]),Y.source.end.offset++,this.semicolon=!0;break}if("{"===H){ce=!0;break}if("}"===H){if(ue.length>0){for(W=ue[K=ue.length-1];W&&"space"===W[0];)W=ue[--K];W&&(Y.source.end=this.getPosition(W[3]||W[2]),Y.source.end.offset++)}this.end(B);break}ue.push(B)}else ue.push(B);if(this.tokenizer.endOfFile()){ie=!0;break}}Y.raws.between=this.spacesAndCommentsFromEnd(ue),ue.length?(Y.raws.afterName=this.spacesAndCommentsFromStart(ue),this.raw(Y,"params",ue),ie&&(B=ue[ue.length-1],Y.source.end=this.getPosition(B[3]||B[2]),Y.source.end.offset++,this.spaces=Y.raws.between,Y.raws.between="")):(Y.raws.afterName="",Y.params=""),ce&&(Y.nodes=[],this.current=Y)},B.checkMissedSemicolon=function(B){var H=this.colon(B);if(!1!==H){for(var W,K=0,Y=H-1;Y>=0&&("space"===(W=B[Y])[0]||2!==(K+=1));Y--);throw this.input.error("Missed semicolon","word"===W[0]?W[3]+1:W[2])}},B.colon=function(B){for(var H,W,K,Y,ie=0,ce=d_(B.entries());!(Y=ce()).done;){var ue=Y.value,de=ue[0];if("("===(W=(H=ue[1])[0])&&(ie+=1),")"===W&&(ie-=1),0===ie&&":"===W){if(K){if("word"===K[0]&&"progid"===K[1])continue;return de}this.doubleColon(H)}K=H}return!1},B.comment=function(B){var H=new Gk;this.init(H,B[2]),H.source.end=this.getPosition(B[3]||B[2]),H.source.end.offset++;var W=B[1].slice(2,-2);if(/^\s*$/.test(W))H.text="",H.raws.left=W,H.raws.right="";else{var K=W.match(/^(\s*)([^]*\S)(\s*)$/);H.text=K[2],H.raws.left=K[1],H.raws.right=K[3]}},B.createTokenizer=function(){this.tokenizer=function(B,H){void 0===H&&(H={});var W,K,Y,ie,ce,ue,de,pe,fe,ke,Je=B.css.valueOf(),rt=H.ignoreErrors,st=Je.length,at=0,lt=[],pt=[];function y(H){throw B.error("Unclosed "+H,at)}return{back:function(B){pt.push(B)},endOfFile:function(){return 0===pt.length&&at>=st},nextToken:function(B){if(pt.length)return pt.pop();if(!(at>=st)){var H=!!B&&B.ignoreUnclosed;switch(W=Je.charCodeAt(at)){case dk:case pk:case fk:case mk:case hk:K=at;do{K+=1,W=Je.charCodeAt(K)}while(W===pk||W===dk||W===fk||W===mk||W===hk);ke=["space",Je.slice(at,K)],at=K-1;break;case gk:case vk:case wk:case _k:case kk:case xk:case bk:var ht=String.fromCharCode(W);ke=[ht,ht,at];break;case yk:if(pe=lt.length?lt.pop()[1]:"",fe=Je.charCodeAt(at+1),"url"===pe&&fe!==ak&&fe!==lk&&fe!==pk&&fe!==dk&&fe!==fk&&fe!==hk&&fe!==mk){K=at;do{if(ue=!1,-1===(K=Je.indexOf(")",K+1))){if(rt||H){K=at;break}y("bracket")}for(de=K;Je.charCodeAt(de-1)===ck;)de-=1,ue=!ue}while(ue);ke=["brackets",Je.slice(at,K+1),at,K],at=K}else K=Je.indexOf(")",at+1),ie=Je.slice(at,K+1),-1===K||Rk.test(ie)?ke=["(","(",at]:(ke=["brackets",ie,at,K],at=K);break;case ak:case lk:Y=W===ak?"'":'"',K=at;do{if(ue=!1,-1===(K=Je.indexOf(Y,K+1))){if(rt||H){K=at+1;break}y("string")}for(de=K;Je.charCodeAt(de-1)===ck;)de-=1,ue=!ue}while(ue);ke=["string",Je.slice(at,K+1),at,K],at=K;break;case Ck:Ok.lastIndex=at+1,Ok.test(Je),K=0===Ok.lastIndex?Je.length-1:Ok.lastIndex-2,ke=["at-word",Je.slice(at,K+1),at,K],at=K;break;case ck:for(K=at,ce=!0;Je.charCodeAt(K+1)===ck;)K+=1,ce=!ce;if(W=Je.charCodeAt(K+1),ce&&W!==uk&&W!==pk&&W!==dk&&W!==fk&&W!==mk&&W!==hk&&(K+=1,Ik.test(Je.charAt(K)))){for(;Ik.test(Je.charAt(K+1));)K+=1;Je.charCodeAt(K+1)===pk&&(K+=1)}ke=["word",Je.slice(at,K+1),at,K],at=K;break;default:W===uk&&Je.charCodeAt(at+1)===Sk?(0===(K=Je.indexOf("*/",at+2)+1)&&(rt||H?K=Je.length:y("comment")),ke=["comment",Je.slice(at,K+1),at,K],at=K):(Ek.lastIndex=at+1,Ek.test(Je),K=0===Ek.lastIndex?Je.length-1:Ek.lastIndex-2,ke=["word",Je.slice(at,K+1),at,K],lt.push(ke),at=K)}return at++,ke}},position:function(){return at}}}(this.input)},B.decl=function(B,H){var W=new Wk;this.init(W,B[0][2]);var K,Y=B[B.length-1];for(";"===Y[0]&&(this.semicolon=!0,B.pop()),W.source.end=this.getPosition(Y[3]||Y[2]||function(B){for(var H=B.length-1;H>=0;H--){var W=B[H],K=W[3]||W[2];if(K)return K}}(B)),W.source.end.offset++;"word"!==B[0][0];)1===B.length&&this.unknownWord(B),W.raws.before+=B.shift()[1];for(W.source.start=this.getPosition(B[0][2]),W.prop="";B.length;){var ie=B[0][0];if(":"===ie||"space"===ie||"comment"===ie)break;W.prop+=B.shift()[1]}for(W.raws.between="";B.length;){if(":"===(K=B.shift())[0]){W.raws.between+=K[1];break}"word"===K[0]&&/\w/.test(K[1])&&this.unknownWord([K]),W.raws.between+=K[1]}"_"!==W.prop[0]&&"*"!==W.prop[0]||(W.raws.before+=W.prop[0],W.prop=W.prop.slice(1));for(var ce,ue=[];B.length&&("space"===(ce=B[0][0])||"comment"===ce);)ue.push(B.shift());this.precheckMissedSemicolon(B);for(var de=B.length-1;de>=0;de--){if("!important"===(K=B[de])[1].toLowerCase()){W.important=!0;var pe=this.stringFrom(B,de);" !important"!==(pe=this.spacesFromEnd(B)+pe)&&(W.raws.important=pe);break}if("important"===K[1].toLowerCase()){for(var fe=B.slice(0),ke="",Je=de;Je>0;Je--){var rt=fe[Je][0];if(0===ke.trim().indexOf("!")&&"space"!==rt)break;ke=fe.pop()[1]+ke}0===ke.trim().indexOf("!")&&(W.important=!0,W.raws.important=ke,B=fe)}if("space"!==K[0]&&"comment"!==K[0])break}B.some(function(B){return"space"!==B[0]&&"comment"!==B[0]})&&(W.raws.between+=ue.map(function(B){return B[1]}).join(""),ue=[]),this.raw(W,"value",ue.concat(B),H),W.value.includes(":")&&!H&&this.checkMissedSemicolon(B)},B.doubleColon=function(B){throw this.input.error("Double colon",{offset:B[2]},{offset:B[2]+B[1].length})},B.emptyRule=function(B){var H=new Kk;this.init(H,B[2]),H.selector="",H.raws.between="",this.current=H},B.end=function(B){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(B[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(B)},B.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},B.freeSemicolon=function(B){if(this.spaces+=B[1],this.current.nodes){var H=this.current.nodes[this.current.nodes.length-1];H&&"rule"===H.type&&!H.raws.ownSemicolon&&(H.raws.ownSemicolon=this.spaces,this.spaces="")}},B.getPosition=function(B){var H=this.input.fromOffset(B);return{column:H.col,line:H.line,offset:B}},B.init=function(B,H){this.current.push(B),B.source={input:this.input,start:this.getPosition(H)},B.raws.before=this.spaces,this.spaces="","comment"!==B.type&&(this.semicolon=!1)},B.other=function(B){for(var H=!1,W=null,K=!1,Y=null,ie=[],ce=B[1].startsWith("--"),ue=[],de=B;de;){if(W=de[0],ue.push(de),"("===W||"["===W)Y||(Y=de),ie.push("("===W?")":"]");else if(ce&&K&&"{"===W)Y||(Y=de),ie.push("}");else if(0===ie.length){if(";"===W){if(K)return void this.decl(ue,ce);break}if("{"===W)return void this.rule(ue);if("}"===W){this.tokenizer.back(ue.pop()),H=!0;break}":"===W&&(K=!0)}else W===ie[ie.length-1]&&(ie.pop(),0===ie.length&&(Y=null));de=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(H=!0),ie.length>0&&this.unclosedBracket(Y),H&&K){if(!ce)for(;ue.length&&("space"===(de=ue[ue.length-1][0])||"comment"===de);)this.tokenizer.back(ue.pop());this.decl(ue,ce)}else this.unknownWord(ue)},B.parse=function(){for(var B;!this.tokenizer.endOfFile();)switch((B=this.tokenizer.nextToken())[0]){case"space":this.spaces+=B[1];break;case";":this.freeSemicolon(B);break;case"}":this.end(B);break;case"comment":this.comment(B);break;case"at-word":this.atrule(B);break;case"{":this.emptyRule(B);break;default:this.other(B)}this.endFile()},B.precheckMissedSemicolon=function(){},B.raw=function(B,H,W,K){for(var Y,ie,ce,ue,de=W.length,pe="",fe=!0,ke=0;ke<de;ke+=1)"space"!==(ie=(Y=W[ke])[0])||ke!==de-1||K?"comment"===ie?(ue=W[ke-1]?W[ke-1][0]:"empty",ce=W[ke+1]?W[ke+1][0]:"empty",Yk[ue]||Yk[ce]||","===pe.slice(-1)?fe=!1:pe+=Y[1]):pe+=Y[1]:fe=!1;if(!fe){var Je=W.reduce(function(B,H){return B+H[1]},"");B.raws[H]={raw:Je,value:pe}}B[H]=pe},B.rule=function(B){B.pop();var H=new Kk;this.init(H,B[0][2]),H.raws.between=this.spacesAndCommentsFromEnd(B),this.raw(H,"selector",B),this.current=H},B.spacesAndCommentsFromEnd=function(B){for(var H,W="";B.length&&("space"===(H=B[B.length-1][0])||"comment"===H);)W=B.pop()[1]+W;return W},B.spacesAndCommentsFromStart=function(B){for(var H,W="";B.length&&("space"===(H=B[0][0])||"comment"===H);)W+=B.shift()[1];return W},B.spacesFromEnd=function(B){for(var H="";B.length&&"space"===B[B.length-1][0];)H=B.pop()[1]+H;return H},B.stringFrom=function(B,H){for(var W="",K=H;K<B.length;K++)W+=B[K][1];return B.splice(H,B.length-H),W},B.unclosedBlock=function(){var B=this.current.source.start;throw this.input.error("Unclosed block",B.line,B.column)},B.unclosedBracket=function(B){throw this.input.error("Unclosed bracket",{offset:B[2]},{offset:B[2]+1})},B.unexpectedClose=function(B){throw this.input.error("Unexpected }",{offset:B[2]},{offset:B[2]+1})},B.unknownWord=function(B){throw this.input.error("Unknown word",{offset:B[0][2]},{offset:B[0][2]+B[0][1].length})},B.unnamedAtrule=function(B,H){throw this.input.error("At-rule without name",{offset:H[2]},{offset:H[2]+H[1].length})},e}(),Qk=YS,eC=Jk,tC=CS;function $C(B,H){var W=new tC(B,H),K=new eC(W);try{K.parse()}catch(B){throw B}return K.root}var rC=$C;$C.default=$C,Qk.registerParse($C);var nC=X_.isClean,oC=X_.my,iC=$S,sC=rx,aC=YS,lC=tk,cC=sk,uC=rC,dC=$k,pC={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},hC={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},fC={Once:!0,postcssPlugin:!0,prepare:!0};function eO(B){return"object"===(void 0===B?"undefined":c_(B))&&"function"==typeof B.then}function tO(B){var H=!1,W=pC[B.type];return"decl"===B.type?H=B.prop.toLowerCase():"atrule"===B.type&&(H=B.name.toLowerCase()),H&&B.append?[W,W+"-"+H,0,W+"Exit",W+"Exit-"+H]:H?[W,W+"-"+H,W+"Exit",W+"Exit-"+H]:B.append?[W,0,W+"Exit"]:[W,W+"Exit"]}function rO(B){return{eventIndex:0,events:"document"===B.type?["Document",0,"DocumentExit"]:"root"===B.type?["Root",0,"RootExit"]:tO(B),iterator:0,node:B,visitorIndex:0,visitors:[]}}function nO(B){return B[nC]=!1,B.nodes&&B.nodes.forEach(function(B){return nO(B)}),B}var mC={},gC=function(){function e(B,H,W){var K,Y=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===H?"undefined":c_(H))||null===H||"root"!==H.type&&"document"!==H.type)if(s_(H,e)||s_(H,cC))K=nO(H.root),H.map&&(void 0===W.map&&(W.map={}),W.map.inline||(W.map.inline=!1),W.map.prev=H.map);else{var ie=uC;W.syntax&&(ie=W.syntax.parse),W.parser&&(ie=W.parser),ie.parse&&(ie=ie.parse);try{K=ie(H,W)}catch(B){this.processed=!0,this.error=B}K&&!K[oC]&&aC.rebuild(K)}else K=nO(H);this.result=new cC(B,K,W),this.helpers=n_({},mC,{postcss:mC,result:this.result}),this.plugins=this.processor.plugins.map(function(B){return"object"===(void 0===B?"undefined":c_(B))&&B.prepare?n_({},B,B.prepare(Y.result)):B})}var B=e.prototype;return B.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},B.catch=function(B){return this.async().catch(B)},B.finally=function(B){return this.async().then(B,B)},B.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},B.handleError=function(B,H){var W=this.result.lastPlugin;try{if(H&&H.addToError(B),this.error=B,"CssSyntaxError"!==B.name||B.plugin)W.postcssVersion;else B.plugin=W.postcssPlugin,B.setMessage()}catch(B){console&&console.error&&console.error(B)}return B},B.prepareVisitors=function(){var B=this;this.listeners={};for(var H,r=function(H,W,K){B.listeners[W]||(B.listeners[W]=[]),B.listeners[W].push([H,K])},W=d_(this.plugins);!(H=W()).done;){var K=H.value;if("object"===(void 0===K?"undefined":c_(K)))for(var Y in K){if(!hC[Y]&&/^[A-Z]/.test(Y))throw new Error("Unknown event "+Y+" in "+K.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!fC[Y])if("object"===c_(K[Y]))for(var ie in K[Y])r(K,"*"===ie?Y:Y+"-"+ie.toLowerCase(),K[Y][ie]);else"function"==typeof K[Y]&&r(K,Y,K[Y])}}this.hasListener=Object.keys(this.listeners).length>0},B.runAsync=function(){var B=this;return e_(function(){var H,W,K,Y,ie,ce,ue,de,pe,fe,ke,Je;return f_(this,function(rt){switch(rt.label){case 0:B.plugin=0,H=0,rt.label=1;case 1:if(!(H<B.plugins.length))return[3,6];if(W=B.plugins[H],!eO(K=B.runOnRoot(W)))return[3,5];rt.label=2;case 2:return rt.trys.push([2,4,,5]),[4,K];case 3:return rt.sent(),[3,5];case 4:throw Y=rt.sent(),B.handleError(Y);case 5:return H++,[3,1];case 6:if(B.prepareVisitors(),!B.hasListener)return[3,18];ie=B.result.root,rt.label=7;case 7:if(ie[nC])return[3,14];ie[nC]=!0,ce=[rO(ie)],rt.label=8;case 8:if(!(ce.length>0))return[3,13];if(!eO(ue=B.visitTick(ce)))return[3,12];rt.label=9;case 9:return rt.trys.push([9,11,,12]),[4,ue];case 10:return rt.sent(),[3,12];case 11:throw de=rt.sent(),pe=ce[ce.length-1].node,B.handleError(de,pe);case 12:return[3,8];case 13:return[3,7];case 14:if(!B.listeners.OnceExit)return[3,18];fe=function(){var H,W,K,Y,ce;return f_(this,function(ue){switch(ue.label){case 0:H=Je.value,W=H[0],K=H[1],B.result.lastPlugin=W,ue.label=1;case 1:return ue.trys.push([1,6,,7]),"document"!==ie.type?[3,3]:(Y=ie.nodes.map(function(H){return K(H,B.helpers)}),[4,Promise.all(Y)]);case 2:return ue.sent(),[3,5];case 3:return[4,K(ie,B.helpers)];case 4:ue.sent(),ue.label=5;case 5:return[3,7];case 6:throw ce=ue.sent(),B.handleError(ce);case 7:return[2]}})},ke=d_(B.listeners.OnceExit),rt.label=15;case 15:return(Je=ke()).done?[3,18]:[5,h_(fe())];case 16:rt.sent(),rt.label=17;case 17:return[3,15];case 18:return B.processed=!0,[2,B.stringify()]}})})()},B.runOnRoot=function(B){var H=this;this.result.lastPlugin=B;try{if("object"===(void 0===B?"undefined":c_(B))&&B.Once){if("document"===this.result.root.type){var W=this.result.root.nodes.map(function(W){return B.Once(W,H.helpers)});return eO(W[0])?Promise.all(W):W}return B.Once(this.result.root,this.helpers)}if("function"==typeof B)return B(this.result.root,this.result)}catch(B){throw this.handleError(B)}},B.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var B=this.result.opts,H=sC;B.syntax&&(H=B.syntax.stringify),B.stringifier&&(H=B.stringifier),H.stringify&&(H=H.stringify);var W=new iC(H,this.result.root,this.result.opts).generate();return this.result.css=W[0],this.result.map=W[1],this.result},B.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var B,H=d_(this.plugins);!(B=H()).done;){var W=B.value;if(eO(this.runOnRoot(W)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var K=this.result.root;!K[nC];)K[nC]=!0,this.walkSync(K);if(this.listeners.OnceExit)if("document"===K.type)for(var Y,ie=d_(K.nodes);!(Y=ie()).done;){var ce=Y.value;this.visitSync(this.listeners.OnceExit,ce)}else this.visitSync(this.listeners.OnceExit,K)}return this.result},B.then=function(B,H){return this.async().then(B,H)},B.toString=function(){return this.css},B.visitSync=function(B,H){for(var W,K=d_(B);!(W=K()).done;){var Y=W.value,ie=Y[0],ce=Y[1];this.result.lastPlugin=ie;var ue=void 0;try{ue=ce(H,this.helpers)}catch(B){throw this.handleError(B,H.proxyOf)}if("root"!==H.type&&"document"!==H.type&&!H.parent)return!0;if(eO(ue))throw this.getAsyncError()}},B.visitTick=function(B){var H=B[B.length-1],W=H.node,K=H.visitors;if("root"===W.type||"document"===W.type||W.parent){if(K.length>0&&H.visitorIndex<K.length){var Y=K[H.visitorIndex],ie=Y[0],ce=Y[1];H.visitorIndex+=1,H.visitorIndex===K.length&&(H.visitors=[],H.visitorIndex=0),this.result.lastPlugin=ie;try{return ce(W.toProxy(),this.helpers)}catch(B){throw this.handleError(B,W)}}if(0!==H.iterator){for(var ue,de=H.iterator;ue=W.nodes[W.indexes[de]];)if(W.indexes[de]+=1,!ue[nC])return ue[nC]=!0,void B.push(rO(ue));H.iterator=0,delete W.indexes[de]}for(var pe=H.events;H.eventIndex<pe.length;){var fe=pe[H.eventIndex];if(H.eventIndex+=1,0===fe)return void(W.nodes&&W.nodes.length&&(W[nC]=!0,H.iterator=W.getIterator()));if(this.listeners[fe])return void(H.visitors=this.listeners[fe])}B.pop()}else B.pop()},B.walkSync=function(B){var H=this;B[nC]=!0;for(var W,K=d_(tO(B));!(W=K()).done;){var Y=W.value;if(0===Y)B.nodes&&B.each(function(B){B[nC]||H.walkSync(B)});else{var ie=this.listeners[Y];if(ie&&this.visitSync(ie,B.toProxy()))return}}},B.warnings=function(){return this.sync().warnings()},r_(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();gC.registerPostcss=function(B){mC=B};var vC=gC;gC.default=gC,dC.registerLazyResult(gC),lC.registerLazyResult(gC);var yC=$S,bC=rx,wC=rC,_C=sk,xC=function(){function e(B,H,W){var K;H=H.toString(),this.stringified=!1,this._processor=B,this._css=H,this._opts=W,this._map=void 0;var Y=bC;this.result=new _C(this._processor,K,this._opts),this.result.css=H;var ie=this;Object.defineProperty(this.result,"root",{get:function(){return ie.root}});var ce=new yC(Y,K,this._opts,H);if(ce.isMap()){var ue=ce.generate(),de=ue[0],pe=ue[1];de&&(this.result.css=de),pe&&(this.result.map=pe)}else ce.clearAnnotation(),this.result.css=ce.css}var B=e.prototype;return B.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},B.catch=function(B){return this.async().catch(B)},B.finally=function(B){return this.async().then(B,B)},B.sync=function(){if(this.error)throw this.error;return this.result},B.then=function(B,H){return this.async().then(B,H)},B.toString=function(){return this._css},B.warnings=function(){return[]},r_(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var B,H=wC;try{B=H(this._css,this._opts)}catch(B){this.error=B}if(this.error)throw this.error;return this._root=B,B}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),SC=xC;xC.default=xC;var kC=SC,CC=vC,OC=tk,EC=$k,RC=function(){function e(B){void 0===B&&(B=[]),this.version="8.4.38",this.plugins=this.normalize(B)}var B=e.prototype;return B.normalize=function(B){for(var H,W=[],K=d_(B);!(H=K()).done;){var Y=H.value;if(!0===Y.postcss?Y=Y():Y.postcss&&(Y=Y.postcss),"object"===(void 0===Y?"undefined":c_(Y))&&Array.isArray(Y.plugins))W=W.concat(Y.plugins);else if("object"===(void 0===Y?"undefined":c_(Y))&&Y.postcssPlugin)W.push(Y);else if("function"==typeof Y)W.push(Y);else{if("object"!==(void 0===Y?"undefined":c_(Y))||!Y.parse&&!Y.stringify)throw new Error(Y+" is not a PostCSS plugin");0}}return W},B.process=function(B,H){return void 0===H&&(H={}),this.plugins.length||H.parser||H.stringifier||H.syntax?new CC(this,B,H):new kC(this,B,H)},B.use=function(B){return this.plugins=this.plugins.concat(this.normalize([B])),this},e}(),MC=RC;RC.default=RC,EC.registerProcessor(RC),OC.registerProcessor(RC);var IC=Bx,AC=Yx,TC=BS,PC=Lk,LC=CS,jC=$k,FC=qk;function EO(B,H){if(Array.isArray(B))return B.map(function(B){return EO(B)});var W=B.inputs,K=a_(B,["inputs"]);if(W){H=[];for(var Y,ie=d_(W);!(Y=ie()).done;){var ce=n_({},Y.value,{__proto__:LC.prototype});ce.map&&(ce.map=n_({},ce.map,{__proto__:AC.prototype})),H.push(ce)}}if(K.nodes&&(K.nodes=B.nodes.map(function(B){return EO(B,H)})),K.source){var ue=K.source,de=ue.inputId,pe=a_(ue,["inputId"]);K.source=pe,null!=de&&(K.source.input=H[de])}if("root"===K.type)return new jC(K);if("decl"===K.type)return new IC(K);if("rule"===K.type)return new FC(K);if("comment"===K.type)return new TC(K);if("atrule"===K.type)return new PC(K);throw new Error("Unknown node type: "+B.type)}var NC=EO;EO.default=EO;var DC=G_,zC=Bx,BC=vC,UC=YS,HC=MC,VC=rx,qC=NC,WC=tk,GC=nk,XC=BS,ZC=Lk,KC=sk,YC=CS,JC=rC,QC=Bk,oO=qk,iO=$k,sO=Nx;function GO(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];return 1===H.length&&Array.isArray(H[0])&&(H=H[0]),new HC(H)}GO.plugin=function(B,H){var W,K=!1;function o(){for(var W=arguments.length,Y=new Array(W),ie=0;ie<W;ie++)Y[ie]=arguments[ie];console&&console.warn&&!K&&(K=!0,console.warn(B+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(B+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));var ce=H.apply(void 0,[].concat(Y));return ce.postcssPlugin=B,ce.postcssVersion=(new HC).version,ce}return Object.defineProperty(o,"postcss",{get:function(){return W||(W=o()),W}}),o.process=function(B,H,W){return GO([o(W)]).process(B,H)},o},GO.stringify=VC,GO.parse=JC,GO.fromJSON=qC,GO.list=QC,GO.comment=function(B){return new XC(B)},GO.atRule=function(B){return new ZC(B)},GO.decl=function(B){return new zC(B)},GO.rule=function(B){return new oO(B)},GO.root=function(B){return new iO(B)},GO.document=function(B){return new WC(B)},GO.CssSyntaxError=DC,GO.Declaration=zC,GO.Container=UC,GO.Processor=HC,GO.Document=WC,GO.Comment=XC,GO.Warning=GC,GO.AtRule=ZC,GO.Result=KC,GO.Input=YC,GO.Rule=oO,GO.Root=iO,GO.Node=sO,BC.registerPostcss(GO),GO.default=GO;var aO=Object.defineProperty,YO=function(B,H,W){return function(B,H,W){return H in B?aO(B,H,{enumerable:!0,configurable:!0,writable:!0,value:W}):B[H]=W}(B,"symbol"!==(void 0===H?"undefined":c_(H))?H+"":H,W)};var lO={exports:{}},cO=String,QO=function(){return{isColorSupported:!1,reset:cO,bold:cO,dim:cO,italic:cO,underline:cO,inverse:cO,hidden:cO,strikethrough:cO,black:cO,red:cO,green:cO,yellow:cO,blue:cO,magenta:cO,cyan:cO,white:cO,gray:cO,bgBlack:cO,bgRed:cO,bgGreen:cO,bgYellow:cO,bgBlue:cO,bgMagenta:cO,bgCyan:cO,bgWhite:cO}};lO.exports=QO(),lO.exports.createColors=QO;var uO=lO.exports,dO=function ZO(B){if(B.__esModule)return B;var H=B.default;if("function"==typeof H){var W=function e(){return s_(this,e)?Reflect.construct(H,arguments,this.constructor):H.apply(this,arguments)};W.prototype=H.prototype}else W={};return Object.defineProperty(W,"__esModule",{value:!0}),Object.keys(B).forEach(function(H){var K=Object.getOwnPropertyDescriptor(B,H);Object.defineProperty(W,H,K.get?K:{enumerable:!0,get:function(){return B[H]}})}),W}(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),pO=uO,hO=dO,fO=function(B){function t(H,W,K,Y,ie,ce){var ue;return(ue=B.call(this,H)||this).name="CssSyntaxError",ue.reason=H,ie&&(ue.file=ie),Y&&(ue.source=Y),ce&&(ue.plugin=ce),void 0!==W&&void 0!==K&&("number"==typeof W?(ue.line=W,ue.column=K):(ue.line=W.line,ue.column=W.column,ue.endLine=K.line,ue.endColumn=K.column)),ue.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(ue,t),ue}i_(t,B);var H=t.prototype;return H.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},H.showSourceCode=function(B){var H=this;if(!this.source)return"";var W=this.source;null==B&&(B=pO.isColorSupported),hO&&B&&(W=hO(W));var K,Y,ie=W.split(/\r?\n/),ce=Math.max(this.line-3,0),ue=Math.min(this.line+2,ie.length),de=String(ue).length;if(B){var pe=pO.createColors(!0),fe=pe.bold,ke=pe.gray,Je=pe.red;K=function(B){return fe(Je(B))},Y=function(B){return ke(B)}}else K=Y=function(B){return B};return ie.slice(ce,ue).map(function(B,W){var ie=ce+1+W,ue=" "+(" "+ie).slice(-de)+" | ";if(ie===H.line){var pe=Y(ue.replace(/\d/g," "))+B.slice(0,H.column-1).replace(/[^\t]/g," ");return K(">")+Y(ue)+B+"\n "+pe+K("^")}return" "+Y(ue)+B}).join("\n")},H.toString=function(){var B=this.showSourceCode();return B&&(B="\n\n"+B+"\n"),this.name+": "+this.message+B},t}(u_(Error)),mO=fO;fO.default=fO;var gO={};gO.isClean=Symbol("isClean"),gO.my=Symbol("my");var vO={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1},yO=function(){function e(B){this.builder=B}var B=e.prototype;return B.atrule=function(B,H){var W="@"+B.name,K=B.params?this.rawValue(B,"params"):"";if(void 0!==B.raws.afterName?W+=B.raws.afterName:K&&(W+=" "),B.nodes)this.block(B,W+K);else{var Y=(B.raws.between||"")+(H?";":"");this.builder(W+K+Y,B)}},B.beforeAfter=function(B,H){var W;W="decl"===B.type?this.raw(B,null,"beforeDecl"):"comment"===B.type?this.raw(B,null,"beforeComment"):"before"===H?this.raw(B,null,"beforeRule"):this.raw(B,null,"beforeClose");for(var K=B.parent,Y=0;K&&"root"!==K.type;)Y+=1,K=K.parent;if(W.includes("\n")){var ie=this.raw(B,null,"indent");if(ie.length)for(var ce=0;ce<Y;ce++)W+=ie}return W},B.block=function(B,H){var W,K=this.raw(B,"between","beforeOpen");this.builder(H+K+"{",B,"start"),B.nodes&&B.nodes.length?(this.body(B),W=this.raw(B,"after")):W=this.raw(B,"after","emptyBody"),W&&this.builder(W),this.builder("}",B,"end")},B.body=function(B){for(var H=B.nodes.length-1;H>0&&"comment"===B.nodes[H].type;)H-=1;for(var W=this.raw(B,"semicolon"),K=0;K<B.nodes.length;K++){var Y=B.nodes[K],ie=this.raw(Y,"before");ie&&this.builder(ie),this.stringify(Y,H!==K||W)}},B.comment=function(B){var H=this.raw(B,"left","commentLeft"),W=this.raw(B,"right","commentRight");this.builder("/*"+H+B.text+W+"*/",B)},B.decl=function(B,H){var W=this.raw(B,"between","colon"),K=B.prop+W+this.rawValue(B,"value");B.important&&(K+=B.raws.important||" !important"),H&&(K+=";"),this.builder(K,B)},B.document=function(B){this.body(B)},B.raw=function(B,H,W){var K;if(W||(W=H),H&&void 0!==(K=B.raws[H]))return K;var Y=B.parent;if("before"===W){if(!Y||"root"===Y.type&&Y.first===B)return"";if(Y&&"document"===Y.type)return""}if(!Y)return vO[W];var ie=B.root();if(ie.rawCache||(ie.rawCache={}),void 0!==ie.rawCache[W])return ie.rawCache[W];if("before"===W||"after"===W)return this.beforeAfter(B,W);var ce,ue="raw"+((ce=W)[0].toUpperCase()+ce.slice(1));return this[ue]?K=this[ue](ie,B):ie.walk(function(B){if(void 0!==(K=B.raws[H]))return!1}),void 0===K&&(K=vO[W]),ie.rawCache[W]=K,K},B.rawBeforeClose=function(B){var H;return B.walk(function(B){if(B.nodes&&B.nodes.length>0&&void 0!==B.raws.after)return(H=B.raws.after).includes("\n")&&(H=H.replace(/[^\n]+$/,"")),!1}),H&&(H=H.replace(/\S/g,"")),H},B.rawBeforeComment=function(B,H){var W;return B.walkComments(function(B){if(void 0!==B.raws.before)return(W=B.raws.before).includes("\n")&&(W=W.replace(/[^\n]+$/,"")),!1}),void 0===W?W=this.raw(H,null,"beforeDecl"):W&&(W=W.replace(/\S/g,"")),W},B.rawBeforeDecl=function(B,H){var W;return B.walkDecls(function(B){if(void 0!==B.raws.before)return(W=B.raws.before).includes("\n")&&(W=W.replace(/[^\n]+$/,"")),!1}),void 0===W?W=this.raw(H,null,"beforeRule"):W&&(W=W.replace(/\S/g,"")),W},B.rawBeforeOpen=function(B){var H;return B.walk(function(B){if("decl"!==B.type&&void 0!==(H=B.raws.between))return!1}),H},B.rawBeforeRule=function(B){var H;return B.walk(function(W){if(W.nodes&&(W.parent!==B||B.first!==W)&&void 0!==W.raws.before)return(H=W.raws.before).includes("\n")&&(H=H.replace(/[^\n]+$/,"")),!1}),H&&(H=H.replace(/\S/g,"")),H},B.rawColon=function(B){var H;return B.walkDecls(function(B){if(void 0!==B.raws.between)return H=B.raws.between.replace(/[^\s:]/g,""),!1}),H},B.rawEmptyBody=function(B){var H;return B.walk(function(B){if(B.nodes&&0===B.nodes.length&&void 0!==(H=B.raws.after))return!1}),H},B.rawIndent=function(B){return B.raws.indent?B.raws.indent:(B.walk(function(W){var K=W.parent;if(K&&K!==B&&K.parent&&K.parent===B&&void 0!==W.raws.before){var Y=W.raws.before.split("\n");return H=(H=Y[Y.length-1]).replace(/\S/g,""),!1}}),H);var H},B.rawSemicolon=function(B){var H;return B.walk(function(B){if(B.nodes&&B.nodes.length&&"decl"===B.last.type&&void 0!==(H=B.raws.semicolon))return!1}),H},B.rawValue=function(B,H){var W=B[H],K=B.raws[H];return K&&K.value===W?K.raw:W},B.root=function(B){this.body(B),B.raws.after&&this.builder(B.raws.after)},B.rule=function(B){this.block(B,this.rawValue(B,"selector")),B.raws.ownSemicolon&&this.builder(B.raws.ownSemicolon,B,"end")},B.stringify=function(B,H){if(!this[B.type])throw new Error("Unknown AST node type "+B.type+". Maybe you need to change PostCSS stringifier.");this[B.type](B,H)},e}(),bO=yO;yO.default=yO;var wO=bO;function pE(B,H){new wO(H).stringify(B)}var _O=pE;pE.default=pE;var xO=gO.isClean,SO=gO.my,kO=mO,CO=bO,OO=_O;function yE(B,H){var W=new B.constructor;for(var K in B)if(Object.prototype.hasOwnProperty.call(B,K)&&"proxyCache"!==K){var Y=B[K],ie=void 0===Y?"undefined":c_(Y);"parent"===K&&"object"===ie?H&&(W[K]=H):"source"===K?W[K]=Y:Array.isArray(Y)?W[K]=Y.map(function(B){return yE(B,W)}):("object"===ie&&null!==Y&&(Y=yE(Y)),W[K]=Y)}return W}var RO=function(){function e(B){for(var H in void 0===B&&(B={}),this.raws={},this[xO]=!1,this[SO]=!0,B)if("nodes"===H){this.nodes=[];for(var W,K=d_(B[H]);!(W=K()).done;){var Y=W.value;"function"==typeof Y.clone?this.append(Y.clone()):this.append(Y)}}else this[H]=B[H]}var B=e.prototype;return B.addToError=function(B){if(B.postcssNode=this,B.stack&&this.source&&/\n\s{4}at /.test(B.stack)){var H=this.source;B.stack=B.stack.replace(/\n\s{4}at /,"$&"+H.input.from+":"+H.start.line+":"+H.start.column+"$&")}return B},B.after=function(B){return this.parent.insertAfter(this,B),this},B.assign=function(B){for(var H in void 0===B&&(B={}),B)this[H]=B[H];return this},B.before=function(B){return this.parent.insertBefore(this,B),this},B.cleanRaws=function(B){delete this.raws.before,delete this.raws.after,B||delete this.raws.between},B.clone=function(B){void 0===B&&(B={});var H=yE(this);for(var W in B)H[W]=B[W];return H},B.cloneAfter=function(B){void 0===B&&(B={});var H=this.clone(B);return this.parent.insertAfter(this,H),H},B.cloneBefore=function(B){void 0===B&&(B={});var H=this.clone(B);return this.parent.insertBefore(this,H),H},B.error=function(B,H){if(void 0===H&&(H={}),this.source){var W=this.rangeBy(H),K=W.end,Y=W.start;return this.source.input.error(B,{column:Y.column,line:Y.line},{column:K.column,line:K.line},H)}return new kO(B)},B.getProxyProcessor=function(){return{get:function(B,H){return"proxyOf"===H?B:"root"===H?function(){return B.root().toProxy()}:B[H]},set:function(B,H,W){return B[H]===W||(B[H]=W,"prop"!==H&&"value"!==H&&"name"!==H&&"params"!==H&&"important"!==H&&"text"!==H||B.markDirty()),!0}}},B.markDirty=function(){if(this[xO]){this[xO]=!1;for(var B=this;B=B.parent;)B[xO]=!1}},B.next=function(){if(this.parent){var B=this.parent.index(this);return this.parent.nodes[B+1]}},B.positionBy=function(B,H){var W=this.source.start;if(B.index)W=this.positionInside(B.index,H);else if(B.word){var K=(H=this.toString()).indexOf(B.word);-1!==K&&(W=this.positionInside(K,H))}return W},B.positionInside=function(B,H){for(var W=H||this.toString(),K=this.source.start.column,Y=this.source.start.line,ie=0;ie<B;ie++)"\n"===W[ie]?(K=1,Y+=1):K+=1;return{column:K,line:Y}},B.prev=function(){if(this.parent){var B=this.parent.index(this);return this.parent.nodes[B-1]}},B.rangeBy=function(B){var H={column:this.source.start.column,line:this.source.start.line},W=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:H.column+1,line:H.line};if(B.word){var K=this.toString(),Y=K.indexOf(B.word);-1!==Y&&(H=this.positionInside(Y,K),W=this.positionInside(Y+B.word.length,K))}else B.start?H={column:B.start.column,line:B.start.line}:B.index&&(H=this.positionInside(B.index)),B.end?W={column:B.end.column,line:B.end.line}:"number"==typeof B.endIndex?W=this.positionInside(B.endIndex):B.index&&(W=this.positionInside(B.index+1));return(W.line<H.line||W.line===H.line&&W.column<=H.column)&&(W={column:H.column+1,line:H.line}),{end:W,start:H}},B.raw=function(B,H){return(new CO).raw(this,B,H)},B.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},B.replaceWith=function(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];if(this.parent){for(var K,Y=this,ie=!1,ce=d_(H);!(K=ce()).done;){var ue=K.value;ue===this?ie=!0:ie?(this.parent.insertAfter(Y,ue),Y=ue):this.parent.insertBefore(Y,ue)}ie||this.remove()}return this},B.root=function(){for(var B=this;B.parent&&"document"!==B.parent.type;)B=B.parent;return B},B.toJSON=function(B,H){var W={},K=null==H;H=H||new Map;var Y=0;for(var ie in this)if(Object.prototype.hasOwnProperty.call(this,ie)&&"parent"!==ie&&"proxyCache"!==ie){var ce=this[ie];if(Array.isArray(ce))W[ie]=ce.map(function(B){return"object"===(void 0===B?"undefined":c_(B))&&B.toJSON?B.toJSON(null,H):B});else if("object"===(void 0===ce?"undefined":c_(ce))&&ce.toJSON)W[ie]=ce.toJSON(null,H);else if("source"===ie){var ue=H.get(ce.input);null==ue&&(ue=Y,H.set(ce.input,Y),Y++),W[ie]={end:ce.end,inputId:ue,start:ce.start}}else W[ie]=ce}return K&&(W.inputs=[].concat(H.keys()).map(function(B){return B.toJSON()})),W},B.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},B.toString=function(B){void 0===B&&(B=OO),B.stringify&&(B=B.stringify);var H="";return B(this,function(B){H+=B}),H},B.warn=function(B,H,W){var K={node:this};for(var Y in W)K[Y]=W[Y];return B.warn(H,K)},r_(e,[{key:"proxyOf",get:function(){return this}}]),e}(),MO=RO;RO.default=RO;var IO=function(B){function t(H){var W;return H&&void 0!==H.value&&"string"!=typeof H.value&&(H=n_({},H,{value:String(H.value)})),(W=B.call(this,H)||this).type="decl",W}return i_(t,B),r_(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(MO),AO=IO;IO.default=IO;var TO=dO.SourceMapConsumer,PO=dO.SourceMapGenerator,LO=dO.existsSync,jO=dO.readFileSync,FO=dO.dirname,NO=dO.join,DO=function(){function e(B,H){if(!1!==H.map){this.loadAnnotation(B),this.inline=this.startWith(this.annotation,"data:");var W=H.map?H.map.prev:void 0,K=this.loadMap(H.from,W);!this.mapFile&&H.from&&(this.mapFile=H.from),this.mapFile&&(this.root=FO(this.mapFile)),K&&(this.text=K)}}var B=e.prototype;return B.consumer=function(){return this.consumerCache||(this.consumerCache=new TO(this.text)),this.consumerCache},B.decodeInline=function(B){var H;if(/^data:application\/json;charset=utf-?8,/.test(B)||/^data:application\/json,/.test(B))return decodeURIComponent(B.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(B)||/^data:application\/json;base64,/.test(B))return H=B.substr(RegExp.lastMatch.length),Buffer?Buffer.from(H,"base64").toString():window.atob(H);var W=B.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+W)},B.getAnnotationURL=function(B){return B.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},B.isMap=function(B){return"object"===(void 0===B?"undefined":c_(B))&&("string"==typeof B.mappings||"string"==typeof B._mappings||Array.isArray(B.sections))},B.loadAnnotation=function(B){var H=B.match(/\/\*\s*# sourceMappingURL=/gm);if(H){var W=B.lastIndexOf(H.pop()),K=B.indexOf("*/",W);W>-1&&K>-1&&(this.annotation=this.getAnnotationURL(B.substring(W,K)))}},B.loadFile=function(B){if(this.root=FO(B),LO(B))return this.mapFile=B,jO(B,"utf-8").toString().trim()},B.loadMap=function(B,H){if(!1===H)return!1;if(H){if("string"==typeof H)return H;if("function"!=typeof H){if(s_(H,TO))return PO.fromSourceMap(H).toString();if(s_(H,PO))return H.toString();if(this.isMap(H))return JSON.stringify(H);throw new Error("Unsupported previous source map format: "+H.toString())}var W=H(B);if(W){var K=this.loadFile(W);if(!K)throw new Error("Unable to load previous source map: "+W.toString());return K}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var Y=this.annotation;return B&&(Y=NO(FO(B),Y)),this.loadFile(Y)}}},B.startWith=function(B,H){return!!B&&B.substr(0,H.length)===H},B.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),$O=DO;DO.default=DO;var zO=dO.SourceMapConsumer,BO=dO.SourceMapGenerator,UO=dO.fileURLToPath,HO=dO.pathToFileURL,VO=dO.isAbsolute,qO=dO.resolve,WO=dO,XO=mO,KO=$O,JO=Symbol("fromOffsetCache"),eE=Boolean(zO&&BO),tE=Boolean(qO&&VO),rE=function(){function e(B,H){if(void 0===H&&(H={}),null==B||"object"===(void 0===B?"undefined":c_(B))&&!B.toString)throw new Error("PostCSS received "+B+" instead of CSS string");if(this.css=B.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,H.from&&(!tE||/^\w+:\/\//.test(H.from)||VO(H.from)?this.file=H.from:this.file=qO(H.from)),tE&&eE){var W=new KO(this.css,H);if(W.text){this.map=W;var K=W.consumer().file;!this.file&&K&&(this.file=this.mapResolve(K))}}this.file||(this.id="<input css "+function(B){void 0===B&&(B=21);for(var H="",W=B;W--;)H+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return H}(6)+">"),this.map&&(this.map.file=this.from)}var B=e.prototype;return B.error=function(B,H,W,K){var Y,ie,ce;if(void 0===K&&(K={}),H&&"object"===(void 0===H?"undefined":c_(H))){var ue=H,de=W;if("number"==typeof ue.offset){var pe=this.fromOffset(ue.offset);H=pe.line,W=pe.col}else H=ue.line,W=ue.column;if("number"==typeof de.offset){var fe=this.fromOffset(de.offset);ie=fe.line,ce=fe.col}else ie=de.line,ce=de.column}else if(!W){var ke=this.fromOffset(H);H=ke.line,W=ke.col}var Je=this.origin(H,W,ie,ce);return(Y=Je?new XO(B,void 0===Je.endLine?Je.line:{column:Je.column,line:Je.line},void 0===Je.endLine?Je.column:{column:Je.endColumn,line:Je.endLine},Je.source,Je.file,K.plugin):new XO(B,void 0===ie?H:{column:W,line:H},void 0===ie?W:{column:ce,line:ie},this.css,this.file,K.plugin)).input={column:W,endColumn:ce,endLine:ie,line:H,source:this.css},this.file&&(HO&&(Y.input.url=HO(this.file).toString()),Y.input.file=this.file),Y},B.fromOffset=function(B){var H;if(this[JO])H=this[JO];else{var W=this.css.split("\n");H=new Array(W.length);for(var K=0,Y=0,ie=W.length;Y<ie;Y++)H[Y]=K,K+=W[Y].length+1;this[JO]=H}var ce=0;if(B>=H[H.length-1])ce=H.length-1;else for(var ue,de=H.length-2;ce<de;)if(B<H[ue=ce+(de-ce>>1)])de=ue-1;else{if(!(B>=H[ue+1])){ce=ue;break}ce=ue+1}return{col:B-H[ce]+1,line:ce+1}},B.mapResolve=function(B){return/^\w+:\/\//.test(B)?B:qO(this.map.consumer().sourceRoot||this.map.root||".",B)},B.origin=function(B,H,W,K){if(!this.map)return!1;var Y,ie,ce=this.map.consumer(),ue=ce.originalPositionFor({column:H,line:B});if(!ue.source)return!1;"number"==typeof W&&(Y=ce.originalPositionFor({column:K,line:W})),ie=VO(ue.source)?HO(ue.source):new URL(ue.source,this.map.consumer().sourceRoot||HO(this.map.mapFile));var de={column:ue.column,endColumn:Y&&Y.column,endLine:Y&&Y.line,line:ue.line,url:ie.toString()};if("file:"===ie.protocol){if(!UO)throw new Error("file: protocol is not available in this PostCSS build");de.file=UO(ie)}var pe=ce.sourceContentFor(ue.source);return pe&&(de.source=pe),de},B.toJSON=function(){for(var B={},H=0,W=["hasBOM","css","file","id"];H<W.length;H++){var K=W[H];null!=this[K]&&(B[K]=this[K])}return this.map&&(B.map=n_({},this.map),B.map.consumerCache&&(B.map.consumerCache=void 0)),B},r_(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),nE=rE;rE.default=rE,WO&&WO.registerInput&&WO.registerInput(rE);var oE=dO.SourceMapConsumer,iE=dO.SourceMapGenerator,sE=dO.dirname,aE=dO.relative,lE=dO.resolve,cE=dO.sep,uE=dO.pathToFileURL,dE=nE,hE=Boolean(oE&&iE),fE=Boolean(sE&&lE&&aE&&cE),mE=function(){function e(B,H,W,K){this.stringify=B,this.mapOpts=W.map||{},this.root=H,this.opts=W,this.css=K,this.originalCSS=K,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var B=e.prototype;return B.addAnnotation=function(){var B;B=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var H="\n";this.css.includes("\r\n")&&(H="\r\n"),this.css+=H+"/*# sourceMappingURL="+B+" */"},B.applyPrevMaps=function(){for(var B,H=d_(this.previous());!(B=H()).done;){var W=B.value,K=this.toUrl(this.path(W.file)),Y=W.root||sE(W.file),ie=void 0;!1===this.mapOpts.sourcesContent?(ie=new oE(W.text)).sourcesContent&&(ie.sourcesContent=null):ie=W.consumer(),this.map.applySourceMap(ie,K,this.toUrl(this.path(Y)))}},B.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var B,H=this.root.nodes.length-1;H>=0;H--)"comment"===(B=this.root.nodes[H]).type&&0===B.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(H);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},B.generate=function(){if(this.clearAnnotation(),fE&&hE&&this.isMap())return this.generateMap();var B="";return this.stringify(this.root,function(H){B+=H}),[B]},B.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var B=this.previous()[0].consumer();B.file=this.outputFile(),this.map=iE.fromSourceMap(B,{ignoreInvalidMapping:!0})}else this.map=new iE({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},B.generateString=function(){var B=this;this.css="",this.map=new iE({file:this.outputFile(),ignoreInvalidMapping:!0});var H,W,K=1,Y=1,ie="<no source>",ce={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(ue,de,pe){if(B.css+=ue,de&&"end"!==pe&&(ce.generated.line=K,ce.generated.column=Y-1,de.source&&de.source.start?(ce.source=B.sourcePath(de),ce.original.line=de.source.start.line,ce.original.column=de.source.start.column-1,B.map.addMapping(ce)):(ce.source=ie,ce.original.line=1,ce.original.column=0,B.map.addMapping(ce))),(H=ue.match(/\n/g))?(K+=H.length,W=ue.lastIndexOf("\n"),Y=ue.length-W):Y+=ue.length,de&&"start"!==pe){var fe=de.parent||{raws:{}};("decl"===de.type||"atrule"===de.type&&!de.nodes)&&de===fe.last&&!fe.raws.semicolon||(de.source&&de.source.end?(ce.source=B.sourcePath(de),ce.original.line=de.source.end.line,ce.original.column=de.source.end.column-1,ce.generated.line=K,ce.generated.column=Y-2,B.map.addMapping(ce)):(ce.source=ie,ce.original.line=1,ce.original.column=0,ce.generated.line=K,ce.generated.column=Y-1,B.map.addMapping(ce)))}})},B.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(B){return B.annotation}))},B.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var B=this.mapOpts.annotation;return(void 0===B||!0===B)&&(!this.previous().length||this.previous().some(function(B){return B.inline}))},B.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},B.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(B){return B.withContent()})},B.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},B.path=function(B){if(this.mapOpts.absolute)return B;if(60===B.charCodeAt(0))return B;if(/^\w+:\/\//.test(B))return B;var H=this.memoizedPaths.get(B);if(H)return H;var W=this.opts.to?sE(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(W=sE(lE(W,this.mapOpts.annotation)));var K=aE(W,B);return this.memoizedPaths.set(B,K),K},B.previous=function(){var B=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(H){if(H.source&&H.source.input.map){var W=H.source.input.map;B.previousMaps.includes(W)||B.previousMaps.push(W)}});else{var H=new dE(this.originalCSS,this.opts);H.map&&this.previousMaps.push(H.map)}return this.previousMaps},B.setSourcesContent=function(){var B=this,H={};if(this.root)this.root.walk(function(W){if(W.source){var K=W.source.input.from;if(K&&!H[K]){H[K]=!0;var Y=B.usesFileUrls?B.toFileUrl(K):B.toUrl(B.path(K));B.map.setSourceContent(Y,W.source.input.css)}}});else if(this.css){var W=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(W,this.css)}},B.sourcePath=function(B){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(B.source.input.from):this.toUrl(this.path(B.source.input.from))},B.toBase64=function(B){return Buffer?Buffer.from(B).toString("base64"):window.btoa(unescape(encodeURIComponent(B)))},B.toFileUrl=function(B){var H=this.memoizedFileURLs.get(B);if(H)return H;if(uE){var W=uE(B).toString();return this.memoizedFileURLs.set(B,W),W}throw new Error("`map.absolute` option is not available in this PostCSS build")},B.toUrl=function(B){var H=this.memoizedURLs.get(B);if(H)return H;"\\"===cE&&(B=B.replace(/\\/g,"/"));var W=encodeURI(B).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(B,W),W},e}(),gE=mE,vE=function(B){function t(H){var W;return(W=B.call(this,H)||this).type="comment",W}return i_(t,B),t}(MO),bE=vE;vE.default=vE;var wE,_E,xE,SE,kE=gO.isClean,CE=gO.my,OE=AO,EE=bE;function hT(B){return B.map(function(B){return B.nodes&&(B.nodes=hT(B.nodes)),delete B.source,B})}function mT(B){if(B[kE]=!1,B.proxyOf.nodes)for(var H,W=d_(B.proxyOf.nodes);!(H=W()).done;)mT(H.value)}var RE=function(B){function t(){return B.apply(this,arguments)||this}i_(t,B);var H=t.prototype;return H.append=function(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];for(var K,Y=d_(H);!(K=Y()).done;)for(var ie,ce=K.value,ue=d_(this.normalize(ce,this.last));!(ie=ue()).done;){var de=ie.value;this.proxyOf.nodes.push(de)}return this.markDirty(),this},H.cleanRaws=function(H){if(B.prototype.cleanRaws.call(this,H),this.nodes)for(var W,K=d_(this.nodes);!(W=K()).done;)W.value.cleanRaws(H)},H.each=function(B){if(this.proxyOf.nodes){for(var H,W,K=this.getIterator();this.indexes[K]<this.proxyOf.nodes.length&&(H=this.indexes[K],!1!==(W=B(this.proxyOf.nodes[H],H)));)this.indexes[K]+=1;return delete this.indexes[K],W}},H.every=function(B){return this.nodes.every(B)},H.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var B=this.lastEach;return this.indexes[B]=0,B},H.getProxyProcessor=function(){return{get:function(B,H){return"proxyOf"===H?B:B[H]?"each"===H||"string"==typeof H&&H.startsWith("walk")?function(){for(var W=arguments.length,K=new Array(W),Y=0;Y<W;Y++)K[Y]=arguments[Y];var ie;return(ie=B)[H].apply(ie,[].concat(K.map(function(B){return"function"==typeof B?function(H,W){return B(H.toProxy(),W)}:B})))}:"every"===H||"some"===H?function(W){return B[H](function(B){for(var H=arguments.length,K=new Array(H>1?H-1:0),Y=1;Y<H;Y++)K[Y-1]=arguments[Y];return W.apply(void 0,[].concat([B.toProxy()],K))})}:"root"===H?function(){return B.root().toProxy()}:"nodes"===H?B.nodes.map(function(B){return B.toProxy()}):"first"===H||"last"===H?B[H].toProxy():B[H]:B[H]},set:function(B,H,W){return B[H]===W||(B[H]=W,"name"!==H&&"params"!==H&&"selector"!==H||B.markDirty()),!0}}},H.index=function(B){return"number"==typeof B?B:(B.proxyOf&&(B=B.proxyOf),this.proxyOf.nodes.indexOf(B))},H.insertAfter=function(B,H){var W,K=this.index(B),Y=this.normalize(H,this.proxyOf.nodes[K]).reverse();K=this.index(B);for(var ie,ce=d_(Y);!(ie=ce()).done;){var ue=ie.value;this.proxyOf.nodes.splice(K+1,0,ue)}for(var de in this.indexes)K<(W=this.indexes[de])&&(this.indexes[de]=W+Y.length);return this.markDirty(),this},H.insertBefore=function(B,H){var W,K=this.index(B),Y=0===K&&"prepend",ie=this.normalize(H,this.proxyOf.nodes[K],Y).reverse();K=this.index(B);for(var ce,ue=d_(ie);!(ce=ue()).done;){var de=ce.value;this.proxyOf.nodes.splice(K,0,de)}for(var pe in this.indexes)K<=(W=this.indexes[pe])&&(this.indexes[pe]=W+ie.length);return this.markDirty(),this},H.normalize=function(B,H){var W=this;if("string"==typeof B)B=hT(wE(B).nodes);else if(void 0===B)B=[];else if(Array.isArray(B))for(var K,Y=d_(B=B.slice(0));!(K=Y()).done;){var ie=K.value;ie.parent&&ie.parent.removeChild(ie,"ignore")}else if("root"===B.type&&"document"!==this.type)for(var ce,ue=d_(B=B.nodes.slice(0));!(ce=ue()).done;){var de=ce.value;de.parent&&de.parent.removeChild(de,"ignore")}else if(B.type)B=[B];else if(B.prop){if(void 0===B.value)throw new Error("Value field is missed in node creation");"string"!=typeof B.value&&(B.value=String(B.value)),B=[new OE(B)]}else if(B.selector)B=[new _E(B)];else if(B.name)B=[new xE(B)];else{if(!B.text)throw new Error("Unknown node type in node creation");B=[new EE(B)]}var pe=B.map(function(B){return B[CE]||t.rebuild(B),(B=B.proxyOf).parent&&B.parent.removeChild(B),B[kE]&&mT(B),void 0===B.raws.before&&H&&void 0!==H.raws.before&&(B.raws.before=H.raws.before.replace(/\S/g,"")),B.parent=W.proxyOf,B});return pe},H.prepend=function(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];for(var K,Y=d_(H=H.reverse());!(K=Y()).done;){for(var ie,ce=K.value,ue=this.normalize(ce,this.first,"prepend").reverse(),de=d_(ue);!(ie=de()).done;){var pe=ie.value;this.proxyOf.nodes.unshift(pe)}for(var fe in this.indexes)this.indexes[fe]=this.indexes[fe]+ue.length}return this.markDirty(),this},H.push=function(B){return B.parent=this,this.proxyOf.nodes.push(B),this},H.removeAll=function(){for(var B,H=d_(this.proxyOf.nodes);!(B=H()).done;)B.value.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this},H.removeChild=function(B){var H;for(var W in B=this.index(B),this.proxyOf.nodes[B].parent=void 0,this.proxyOf.nodes.splice(B,1),this.indexes)(H=this.indexes[W])>=B&&(this.indexes[W]=H-1);return this.markDirty(),this},H.replaceValues=function(B,H,W){return W||(W=H,H={}),this.walkDecls(function(K){H.props&&!H.props.includes(K.prop)||H.fast&&!K.value.includes(H.fast)||(K.value=K.value.replace(B,W))}),this.markDirty(),this},H.some=function(B){return this.nodes.some(B)},H.walk=function(B){return this.each(function(H,W){var K;try{K=B(H,W)}catch(B){throw H.addToError(B)}return!1!==K&&H.walk&&(K=H.walk(B)),K})},H.walkAtRules=function(B,H){return H?s_(B,RegExp)?this.walk(function(W,K){if("atrule"===W.type&&B.test(W.name))return H(W,K)}):this.walk(function(W,K){if("atrule"===W.type&&W.name===B)return H(W,K)}):(H=B,this.walk(function(B,W){if("atrule"===B.type)return H(B,W)}))},H.walkComments=function(B){return this.walk(function(H,W){if("comment"===H.type)return B(H,W)})},H.walkDecls=function(B,H){return H?s_(B,RegExp)?this.walk(function(W,K){if("decl"===W.type&&B.test(W.prop))return H(W,K)}):this.walk(function(W,K){if("decl"===W.type&&W.prop===B)return H(W,K)}):(H=B,this.walk(function(B,W){if("decl"===B.type)return H(B,W)}))},H.walkRules=function(B,H){return H?s_(B,RegExp)?this.walk(function(W,K){if("rule"===W.type&&B.test(W.selector))return H(W,K)}):this.walk(function(W,K){if("rule"===W.type&&W.selector===B)return H(W,K)}):(H=B,this.walk(function(B,W){if("rule"===B.type)return H(B,W)}))},r_(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(MO);RE.registerParse=function(B){wE=B},RE.registerRule=function(B){_E=B},RE.registerAtRule=function(B){xE=B},RE.registerRoot=function(B){SE=B};var ME=RE;RE.default=RE,RE.rebuild=function(B){"atrule"===B.type?Object.setPrototypeOf(B,xE.prototype):"rule"===B.type?Object.setPrototypeOf(B,_E.prototype):"decl"===B.type?Object.setPrototypeOf(B,OE.prototype):"comment"===B.type?Object.setPrototypeOf(B,EE.prototype):"root"===B.type&&Object.setPrototypeOf(B,SE.prototype),B[CE]=!0,B.nodes&&B.nodes.forEach(function(B){RE.rebuild(B)})};var IE,AE,TE=function(B){function t(H){var W;return(W=B.call(this,n_({type:"document"},H))||this).nodes||(W.nodes=[]),W}return i_(t,B),t.prototype.toResult=function(B){return void 0===B&&(B={}),new IE(new AE,this,B).stringify()},t}(ME);TE.registerLazyResult=function(B){IE=B},TE.registerProcessor=function(B){AE=B};var PE=TE;TE.default=TE;var LE=function(){function e(B,H){if(void 0===H&&(H={}),this.type="warning",this.text=B,H.node&&H.node.source){var W=H.node.rangeBy(H);this.line=W.start.line,this.column=W.start.column,this.endLine=W.end.line,this.endColumn=W.end.column}for(var K in H)this[K]=H[K]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),jE=LE;LE.default=LE;var FE=jE,NE=function(){function e(B,H,W){this.processor=B,this.messages=[],this.root=H,this.opts=W,this.css=void 0,this.map=void 0}var B=e.prototype;return B.toString=function(){return this.css},B.warn=function(B,H){void 0===H&&(H={}),H.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(H.plugin=this.lastPlugin.postcssPlugin);var W=new FE(B,H);return this.messages.push(W),W},B.warnings=function(){return this.messages.filter(function(B){return"warning"===B.type})},r_(e,[{key:"content",get:function(){return this.css}}]),e}(),DE=NE;NE.default=NE;var $E="'".charCodeAt(0),zE='"'.charCodeAt(0),BE="\\".charCodeAt(0),UE="/".charCodeAt(0),HE="\n".charCodeAt(0),VE=" ".charCodeAt(0),qE="\f".charCodeAt(0),WE="\t".charCodeAt(0),GE="\r".charCodeAt(0),XE="[".charCodeAt(0),ZE="]".charCodeAt(0),KE="(".charCodeAt(0),YE=")".charCodeAt(0),JE="{".charCodeAt(0),QE="}".charCodeAt(0),eR=";".charCodeAt(0),tR="*".charCodeAt(0),rR=":".charCodeAt(0),nR="@".charCodeAt(0),oR=/[\t\n\f\r "#'()/;[\\\]{}]/g,iR=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,sR=/.[\r\n"'(/\\]/,aR=/[\da-f]/i,lR=ME,cR=function(B){function t(H){var W;return(W=B.call(this,H)||this).type="atrule",W}i_(t,B);var H=t.prototype;return H.append=function(){for(var H=arguments.length,W=new Array(H),K=0;K<H;K++)W[K]=arguments[K];var Y;return this.proxyOf.nodes||(this.nodes=[]),(Y=B.prototype.append).call.apply(Y,[].concat([this],W))},H.prepend=function(){for(var H=arguments.length,W=new Array(H),K=0;K<H;K++)W[K]=arguments[K];var Y;return this.proxyOf.nodes||(this.nodes=[]),(Y=B.prototype.prepend).call.apply(Y,[].concat([this],W))},t}(lR),uR=cR;cR.default=cR,lR.registerAtRule(cR);var dR,pR,hR=ME,fR=function(B){function t(H){var W;return(W=B.call(this,H)||this).type="root",W.nodes||(W.nodes=[]),W}i_(t,B);var H=t.prototype;return H.normalize=function(H,W,K){var Y=B.prototype.normalize.call(this,H);if(W)if("prepend"===K)this.nodes.length>1?W.raws.before=this.nodes[1].raws.before:delete W.raws.before;else if(this.first!==W)for(var ie,ce=d_(Y);!(ie=ce()).done;)ie.value.raws.before=W.raws.before;return Y},H.removeChild=function(H,W){var K=this.index(H);return!W&&0===K&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[K].raws.before),B.prototype.removeChild.call(this,H)},H.toResult=function(B){return void 0===B&&(B={}),new dR(new pR,this,B).stringify()},t}(hR);fR.registerLazyResult=function(B){dR=B},fR.registerProcessor=function(B){pR=B};var mR=fR;fR.default=fR,hR.registerRoot(fR);var gR={comma:function(B){return gR.split(B,[","],!0)},space:function(B){return gR.split(B,[" ","\n","\t"])},split:function(B,H,W){for(var K,Y=[],ie="",ce=!1,ue=0,de=!1,pe="",fe=!1,ke=d_(B);!(K=ke()).done;){var Je=K.value;fe?fe=!1:"\\"===Je?fe=!0:de?Je===pe&&(de=!1):'"'===Je||"'"===Je?(de=!0,pe=Je):"("===Je?ue+=1:")"===Je?ue>0&&(ue-=1):0===ue&&H.includes(Je)&&(ce=!0),ce?(""!==ie&&Y.push(ie.trim()),ie="",ce=!1):ie+=Je}return(W||""!==ie)&&Y.push(ie.trim()),Y}},vR=gR;gR.default=gR;var yR=ME,bR=vR,wR=function(B){function t(H){var W;return(W=B.call(this,H)||this).type="rule",W.nodes||(W.nodes=[]),W}return i_(t,B),r_(t,[{key:"selectors",get:function(){return bR.comma(this.selector)},set:function(B){var H=this.selector?this.selector.match(/,\s*/):null,W=H?H[0]:","+this.raw("between","beforeOpen");this.selector=B.join(W)}}]),t}(yR),xR=wR;wR.default=wR,yR.registerRule(wR);var SR=AO,kR=bE,CR=uR,OR=mR,ER=xR,RR={empty:!0,space:!0},MR=function(){function e(B){this.input=B,this.root=new OR,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:B,start:{column:1,line:1,offset:0}}}var B=e.prototype;return B.atrule=function(B){var H,W,K,Y=new CR;Y.name=B[1].slice(1),""===Y.name&&this.unnamedAtrule(Y,B),this.init(Y,B[2]);for(var ie=!1,ce=!1,ue=[],de=[];!this.tokenizer.endOfFile();){if("("===(H=(B=this.tokenizer.nextToken())[0])||"["===H?de.push("("===H?")":"]"):"{"===H&&de.length>0?de.push("}"):H===de[de.length-1]&&de.pop(),0===de.length){if(";"===H){Y.source.end=this.getPosition(B[2]),Y.source.end.offset++,this.semicolon=!0;break}if("{"===H){ce=!0;break}if("}"===H){if(ue.length>0){for(W=ue[K=ue.length-1];W&&"space"===W[0];)W=ue[--K];W&&(Y.source.end=this.getPosition(W[3]||W[2]),Y.source.end.offset++)}this.end(B);break}ue.push(B)}else ue.push(B);if(this.tokenizer.endOfFile()){ie=!0;break}}Y.raws.between=this.spacesAndCommentsFromEnd(ue),ue.length?(Y.raws.afterName=this.spacesAndCommentsFromStart(ue),this.raw(Y,"params",ue),ie&&(B=ue[ue.length-1],Y.source.end=this.getPosition(B[3]||B[2]),Y.source.end.offset++,this.spaces=Y.raws.between,Y.raws.between="")):(Y.raws.afterName="",Y.params=""),ce&&(Y.nodes=[],this.current=Y)},B.checkMissedSemicolon=function(B){var H=this.colon(B);if(!1!==H){for(var W,K=0,Y=H-1;Y>=0&&("space"===(W=B[Y])[0]||2!==(K+=1));Y--);throw this.input.error("Missed semicolon","word"===W[0]?W[3]+1:W[2])}},B.colon=function(B){for(var H,W,K,Y,ie=0,ce=d_(B.entries());!(Y=ce()).done;){var ue=Y.value,de=ue[0];if("("===(W=(H=ue[1])[0])&&(ie+=1),")"===W&&(ie-=1),0===ie&&":"===W){if(K){if("word"===K[0]&&"progid"===K[1])continue;return de}this.doubleColon(H)}K=H}return!1},B.comment=function(B){var H=new kR;this.init(H,B[2]),H.source.end=this.getPosition(B[3]||B[2]),H.source.end.offset++;var W=B[1].slice(2,-2);if(/^\s*$/.test(W))H.text="",H.raws.left=W,H.raws.right="";else{var K=W.match(/^(\s*)([^]*\S)(\s*)$/);H.text=K[2],H.raws.left=K[1],H.raws.right=K[3]}},B.createTokenizer=function(){this.tokenizer=function(B,H){void 0===H&&(H={});var W,K,Y,ie,ce,ue,de,pe,fe,ke,Je=B.css.valueOf(),rt=H.ignoreErrors,st=Je.length,at=0,lt=[],pt=[];function y(H){throw B.error("Unclosed "+H,at)}return{back:function(B){pt.push(B)},endOfFile:function(){return 0===pt.length&&at>=st},nextToken:function(B){if(pt.length)return pt.pop();if(!(at>=st)){var H=!!B&&B.ignoreUnclosed;switch(W=Je.charCodeAt(at)){case HE:case VE:case WE:case GE:case qE:K=at;do{K+=1,W=Je.charCodeAt(K)}while(W===VE||W===HE||W===WE||W===GE||W===qE);ke=["space",Je.slice(at,K)],at=K-1;break;case XE:case ZE:case JE:case QE:case rR:case eR:case YE:var ht=String.fromCharCode(W);ke=[ht,ht,at];break;case KE:if(pe=lt.length?lt.pop()[1]:"",fe=Je.charCodeAt(at+1),"url"===pe&&fe!==$E&&fe!==zE&&fe!==VE&&fe!==HE&&fe!==WE&&fe!==qE&&fe!==GE){K=at;do{if(ue=!1,-1===(K=Je.indexOf(")",K+1))){if(rt||H){K=at;break}y("bracket")}for(de=K;Je.charCodeAt(de-1)===BE;)de-=1,ue=!ue}while(ue);ke=["brackets",Je.slice(at,K+1),at,K],at=K}else K=Je.indexOf(")",at+1),ie=Je.slice(at,K+1),-1===K||sR.test(ie)?ke=["(","(",at]:(ke=["brackets",ie,at,K],at=K);break;case $E:case zE:Y=W===$E?"'":'"',K=at;do{if(ue=!1,-1===(K=Je.indexOf(Y,K+1))){if(rt||H){K=at+1;break}y("string")}for(de=K;Je.charCodeAt(de-1)===BE;)de-=1,ue=!ue}while(ue);ke=["string",Je.slice(at,K+1),at,K],at=K;break;case nR:oR.lastIndex=at+1,oR.test(Je),K=0===oR.lastIndex?Je.length-1:oR.lastIndex-2,ke=["at-word",Je.slice(at,K+1),at,K],at=K;break;case BE:for(K=at,ce=!0;Je.charCodeAt(K+1)===BE;)K+=1,ce=!ce;if(W=Je.charCodeAt(K+1),ce&&W!==UE&&W!==VE&&W!==HE&&W!==WE&&W!==GE&&W!==qE&&(K+=1,aR.test(Je.charAt(K)))){for(;aR.test(Je.charAt(K+1));)K+=1;Je.charCodeAt(K+1)===VE&&(K+=1)}ke=["word",Je.slice(at,K+1),at,K],at=K;break;default:W===UE&&Je.charCodeAt(at+1)===tR?(0===(K=Je.indexOf("*/",at+2)+1)&&(rt||H?K=Je.length:y("comment")),ke=["comment",Je.slice(at,K+1),at,K],at=K):(iR.lastIndex=at+1,iR.test(Je),K=0===iR.lastIndex?Je.length-1:iR.lastIndex-2,ke=["word",Je.slice(at,K+1),at,K],lt.push(ke),at=K)}return at++,ke}},position:function(){return at}}}(this.input)},B.decl=function(B,H){var W=new SR;this.init(W,B[0][2]);var K,Y=B[B.length-1];for(";"===Y[0]&&(this.semicolon=!0,B.pop()),W.source.end=this.getPosition(Y[3]||Y[2]||function(B){for(var H=B.length-1;H>=0;H--){var W=B[H],K=W[3]||W[2];if(K)return K}}(B)),W.source.end.offset++;"word"!==B[0][0];)1===B.length&&this.unknownWord(B),W.raws.before+=B.shift()[1];for(W.source.start=this.getPosition(B[0][2]),W.prop="";B.length;){var ie=B[0][0];if(":"===ie||"space"===ie||"comment"===ie)break;W.prop+=B.shift()[1]}for(W.raws.between="";B.length;){if(":"===(K=B.shift())[0]){W.raws.between+=K[1];break}"word"===K[0]&&/\w/.test(K[1])&&this.unknownWord([K]),W.raws.between+=K[1]}"_"!==W.prop[0]&&"*"!==W.prop[0]||(W.raws.before+=W.prop[0],W.prop=W.prop.slice(1));for(var ce,ue=[];B.length&&("space"===(ce=B[0][0])||"comment"===ce);)ue.push(B.shift());this.precheckMissedSemicolon(B);for(var de=B.length-1;de>=0;de--){if("!important"===(K=B[de])[1].toLowerCase()){W.important=!0;var pe=this.stringFrom(B,de);" !important"!==(pe=this.spacesFromEnd(B)+pe)&&(W.raws.important=pe);break}if("important"===K[1].toLowerCase()){for(var fe=B.slice(0),ke="",Je=de;Je>0;Je--){var rt=fe[Je][0];if(0===ke.trim().indexOf("!")&&"space"!==rt)break;ke=fe.pop()[1]+ke}0===ke.trim().indexOf("!")&&(W.important=!0,W.raws.important=ke,B=fe)}if("space"!==K[0]&&"comment"!==K[0])break}B.some(function(B){return"space"!==B[0]&&"comment"!==B[0]})&&(W.raws.between+=ue.map(function(B){return B[1]}).join(""),ue=[]),this.raw(W,"value",ue.concat(B),H),W.value.includes(":")&&!H&&this.checkMissedSemicolon(B)},B.doubleColon=function(B){throw this.input.error("Double colon",{offset:B[2]},{offset:B[2]+B[1].length})},B.emptyRule=function(B){var H=new ER;this.init(H,B[2]),H.selector="",H.raws.between="",this.current=H},B.end=function(B){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(B[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(B)},B.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},B.freeSemicolon=function(B){if(this.spaces+=B[1],this.current.nodes){var H=this.current.nodes[this.current.nodes.length-1];H&&"rule"===H.type&&!H.raws.ownSemicolon&&(H.raws.ownSemicolon=this.spaces,this.spaces="")}},B.getPosition=function(B){var H=this.input.fromOffset(B);return{column:H.col,line:H.line,offset:B}},B.init=function(B,H){this.current.push(B),B.source={input:this.input,start:this.getPosition(H)},B.raws.before=this.spaces,this.spaces="","comment"!==B.type&&(this.semicolon=!1)},B.other=function(B){for(var H=!1,W=null,K=!1,Y=null,ie=[],ce=B[1].startsWith("--"),ue=[],de=B;de;){if(W=de[0],ue.push(de),"("===W||"["===W)Y||(Y=de),ie.push("("===W?")":"]");else if(ce&&K&&"{"===W)Y||(Y=de),ie.push("}");else if(0===ie.length){if(";"===W){if(K)return void this.decl(ue,ce);break}if("{"===W)return void this.rule(ue);if("}"===W){this.tokenizer.back(ue.pop()),H=!0;break}":"===W&&(K=!0)}else W===ie[ie.length-1]&&(ie.pop(),0===ie.length&&(Y=null));de=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(H=!0),ie.length>0&&this.unclosedBracket(Y),H&&K){if(!ce)for(;ue.length&&("space"===(de=ue[ue.length-1][0])||"comment"===de);)this.tokenizer.back(ue.pop());this.decl(ue,ce)}else this.unknownWord(ue)},B.parse=function(){for(var B;!this.tokenizer.endOfFile();)switch((B=this.tokenizer.nextToken())[0]){case"space":this.spaces+=B[1];break;case";":this.freeSemicolon(B);break;case"}":this.end(B);break;case"comment":this.comment(B);break;case"at-word":this.atrule(B);break;case"{":this.emptyRule(B);break;default:this.other(B)}this.endFile()},B.precheckMissedSemicolon=function(){},B.raw=function(B,H,W,K){for(var Y,ie,ce,ue,de=W.length,pe="",fe=!0,ke=0;ke<de;ke+=1)"space"!==(ie=(Y=W[ke])[0])||ke!==de-1||K?"comment"===ie?(ue=W[ke-1]?W[ke-1][0]:"empty",ce=W[ke+1]?W[ke+1][0]:"empty",RR[ue]||RR[ce]||","===pe.slice(-1)?fe=!1:pe+=Y[1]):pe+=Y[1]:fe=!1;if(!fe){var Je=W.reduce(function(B,H){return B+H[1]},"");B.raws[H]={raw:Je,value:pe}}B[H]=pe},B.rule=function(B){B.pop();var H=new ER;this.init(H,B[0][2]),H.raws.between=this.spacesAndCommentsFromEnd(B),this.raw(H,"selector",B),this.current=H},B.spacesAndCommentsFromEnd=function(B){for(var H,W="";B.length&&("space"===(H=B[B.length-1][0])||"comment"===H);)W=B.pop()[1]+W;return W},B.spacesAndCommentsFromStart=function(B){for(var H,W="";B.length&&("space"===(H=B[0][0])||"comment"===H);)W+=B.shift()[1];return W},B.spacesFromEnd=function(B){for(var H="";B.length&&"space"===B[B.length-1][0];)H=B.pop()[1]+H;return H},B.stringFrom=function(B,H){for(var W="",K=H;K<B.length;K++)W+=B[K][1];return B.splice(H,B.length-H),W},B.unclosedBlock=function(){var B=this.current.source.start;throw this.input.error("Unclosed block",B.line,B.column)},B.unclosedBracket=function(B){throw this.input.error("Unclosed bracket",{offset:B[2]},{offset:B[2]+1})},B.unexpectedClose=function(B){throw this.input.error("Unexpected }",{offset:B[2]},{offset:B[2]+1})},B.unknownWord=function(B){throw this.input.error("Unknown word",{offset:B[0][2]},{offset:B[0][2]+B[0][1].length})},B.unnamedAtrule=function(B,H){throw this.input.error("At-rule without name",{offset:H[2]},{offset:H[2]+H[1].length})},e}(),IR=ME,AR=MR,TR=nE;function _R(B,H){var W=new TR(B,H),K=new AR(W);try{K.parse()}catch(B){throw B}return K.root}var PR=_R;_R.default=_R,IR.registerParse(_R);var LR=gO.isClean,jR=gO.my,NR=gE,zR=_O,UR=ME,HR=PE,VR=DE,qR=PR,WR=mR,GR={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},XR={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},ZR={Once:!0,postcssPlugin:!0,prepare:!0};function DR(B){return"object"===(void 0===B?"undefined":c_(B))&&"function"==typeof B.then}function FR(B){var H=!1,W=GR[B.type];return"decl"===B.type?H=B.prop.toLowerCase():"atrule"===B.type&&(H=B.name.toLowerCase()),H&&B.append?[W,W+"-"+H,0,W+"Exit",W+"Exit-"+H]:H?[W,W+"-"+H,W+"Exit",W+"Exit-"+H]:B.append?[W,0,W+"Exit"]:[W,W+"Exit"]}function $R(B){return{eventIndex:0,events:"document"===B.type?["Document",0,"DocumentExit"]:"root"===B.type?["Root",0,"RootExit"]:FR(B),iterator:0,node:B,visitorIndex:0,visitors:[]}}function BR(B){return B[LR]=!1,B.nodes&&B.nodes.forEach(function(B){return BR(B)}),B}var KR={},YR=function(){function e(B,H,W){var K,Y=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===H?"undefined":c_(H))||null===H||"root"!==H.type&&"document"!==H.type)if(s_(H,e)||s_(H,VR))K=BR(H.root),H.map&&(void 0===W.map&&(W.map={}),W.map.inline||(W.map.inline=!1),W.map.prev=H.map);else{var ie=qR;W.syntax&&(ie=W.syntax.parse),W.parser&&(ie=W.parser),ie.parse&&(ie=ie.parse);try{K=ie(H,W)}catch(B){this.processed=!0,this.error=B}K&&!K[jR]&&UR.rebuild(K)}else K=BR(H);this.result=new VR(B,K,W),this.helpers=n_({},KR,{postcss:KR,result:this.result}),this.plugins=this.processor.plugins.map(function(B){return"object"===(void 0===B?"undefined":c_(B))&&B.prepare?n_({},B,B.prepare(Y.result)):B})}var B=e.prototype;return B.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},B.catch=function(B){return this.async().catch(B)},B.finally=function(B){return this.async().then(B,B)},B.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},B.handleError=function(B,H){var W=this.result.lastPlugin;try{if(H&&H.addToError(B),this.error=B,"CssSyntaxError"!==B.name||B.plugin)W.postcssVersion;else B.plugin=W.postcssPlugin,B.setMessage()}catch(B){console&&console.error&&console.error(B)}return B},B.prepareVisitors=function(){var B=this;this.listeners={};for(var H,r=function(H,W,K){B.listeners[W]||(B.listeners[W]=[]),B.listeners[W].push([H,K])},W=d_(this.plugins);!(H=W()).done;){var K=H.value;if("object"===(void 0===K?"undefined":c_(K)))for(var Y in K){if(!XR[Y]&&/^[A-Z]/.test(Y))throw new Error("Unknown event "+Y+" in "+K.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!ZR[Y])if("object"===c_(K[Y]))for(var ie in K[Y])r(K,"*"===ie?Y:Y+"-"+ie.toLowerCase(),K[Y][ie]);else"function"==typeof K[Y]&&r(K,Y,K[Y])}}this.hasListener=Object.keys(this.listeners).length>0},B.runAsync=function(){var B=this;return e_(function(){var H,W,K,Y,ie,ce,ue,de,pe,fe,ke,Je;return f_(this,function(rt){switch(rt.label){case 0:B.plugin=0,H=0,rt.label=1;case 1:if(!(H<B.plugins.length))return[3,6];if(W=B.plugins[H],!DR(K=B.runOnRoot(W)))return[3,5];rt.label=2;case 2:return rt.trys.push([2,4,,5]),[4,K];case 3:return rt.sent(),[3,5];case 4:throw Y=rt.sent(),B.handleError(Y);case 5:return H++,[3,1];case 6:if(B.prepareVisitors(),!B.hasListener)return[3,18];ie=B.result.root,rt.label=7;case 7:if(ie[LR])return[3,14];ie[LR]=!0,ce=[$R(ie)],rt.label=8;case 8:if(!(ce.length>0))return[3,13];if(!DR(ue=B.visitTick(ce)))return[3,12];rt.label=9;case 9:return rt.trys.push([9,11,,12]),[4,ue];case 10:return rt.sent(),[3,12];case 11:throw de=rt.sent(),pe=ce[ce.length-1].node,B.handleError(de,pe);case 12:return[3,8];case 13:return[3,7];case 14:if(!B.listeners.OnceExit)return[3,18];fe=function(){var H,W,K,Y,ce;return f_(this,function(ue){switch(ue.label){case 0:H=Je.value,W=H[0],K=H[1],B.result.lastPlugin=W,ue.label=1;case 1:return ue.trys.push([1,6,,7]),"document"!==ie.type?[3,3]:(Y=ie.nodes.map(function(H){return K(H,B.helpers)}),[4,Promise.all(Y)]);case 2:return ue.sent(),[3,5];case 3:return[4,K(ie,B.helpers)];case 4:ue.sent(),ue.label=5;case 5:return[3,7];case 6:throw ce=ue.sent(),B.handleError(ce);case 7:return[2]}})},ke=d_(B.listeners.OnceExit),rt.label=15;case 15:return(Je=ke()).done?[3,18]:[5,h_(fe())];case 16:rt.sent(),rt.label=17;case 17:return[3,15];case 18:return B.processed=!0,[2,B.stringify()]}})})()},B.runOnRoot=function(B){var H=this;this.result.lastPlugin=B;try{if("object"===(void 0===B?"undefined":c_(B))&&B.Once){if("document"===this.result.root.type){var W=this.result.root.nodes.map(function(W){return B.Once(W,H.helpers)});return DR(W[0])?Promise.all(W):W}return B.Once(this.result.root,this.helpers)}if("function"==typeof B)return B(this.result.root,this.result)}catch(B){throw this.handleError(B)}},B.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var B=this.result.opts,H=zR;B.syntax&&(H=B.syntax.stringify),B.stringifier&&(H=B.stringifier),H.stringify&&(H=H.stringify);var W=new NR(H,this.result.root,this.result.opts).generate();return this.result.css=W[0],this.result.map=W[1],this.result},B.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var B,H=d_(this.plugins);!(B=H()).done;){var W=B.value;if(DR(this.runOnRoot(W)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var K=this.result.root;!K[LR];)K[LR]=!0,this.walkSync(K);if(this.listeners.OnceExit)if("document"===K.type)for(var Y,ie=d_(K.nodes);!(Y=ie()).done;){var ce=Y.value;this.visitSync(this.listeners.OnceExit,ce)}else this.visitSync(this.listeners.OnceExit,K)}return this.result},B.then=function(B,H){return this.async().then(B,H)},B.toString=function(){return this.css},B.visitSync=function(B,H){for(var W,K=d_(B);!(W=K()).done;){var Y=W.value,ie=Y[0],ce=Y[1];this.result.lastPlugin=ie;var ue=void 0;try{ue=ce(H,this.helpers)}catch(B){throw this.handleError(B,H.proxyOf)}if("root"!==H.type&&"document"!==H.type&&!H.parent)return!0;if(DR(ue))throw this.getAsyncError()}},B.visitTick=function(B){var H=B[B.length-1],W=H.node,K=H.visitors;if("root"===W.type||"document"===W.type||W.parent){if(K.length>0&&H.visitorIndex<K.length){var Y=K[H.visitorIndex],ie=Y[0],ce=Y[1];H.visitorIndex+=1,H.visitorIndex===K.length&&(H.visitors=[],H.visitorIndex=0),this.result.lastPlugin=ie;try{return ce(W.toProxy(),this.helpers)}catch(B){throw this.handleError(B,W)}}if(0!==H.iterator){for(var ue,de=H.iterator;ue=W.nodes[W.indexes[de]];)if(W.indexes[de]+=1,!ue[LR])return ue[LR]=!0,void B.push($R(ue));H.iterator=0,delete W.indexes[de]}for(var pe=H.events;H.eventIndex<pe.length;){var fe=pe[H.eventIndex];if(H.eventIndex+=1,0===fe)return void(W.nodes&&W.nodes.length&&(W[LR]=!0,H.iterator=W.getIterator()));if(this.listeners[fe])return void(H.visitors=this.listeners[fe])}B.pop()}else B.pop()},B.walkSync=function(B){var H=this;B[LR]=!0;for(var W,K=d_(FR(B));!(W=K()).done;){var Y=W.value;if(0===Y)B.nodes&&B.each(function(B){B[LR]||H.walkSync(B)});else{var ie=this.listeners[Y];if(ie&&this.visitSync(ie,B.toProxy()))return}}},B.warnings=function(){return this.sync().warnings()},r_(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();YR.registerPostcss=function(B){KR=B};var JR=YR;YR.default=YR,WR.registerLazyResult(YR),HR.registerLazyResult(YR);var QR=gE,tM=_O,fM=PR,gM=DE,vM=function(){function e(B,H,W){var K;H=H.toString(),this.stringified=!1,this._processor=B,this._css=H,this._opts=W,this._map=void 0;var Y=tM;this.result=new gM(this._processor,K,this._opts),this.result.css=H;var ie=this;Object.defineProperty(this.result,"root",{get:function(){return ie.root}});var ce=new QR(Y,K,this._opts,H);if(ce.isMap()){var ue=ce.generate(),de=ue[0],pe=ue[1];de&&(this.result.css=de),pe&&(this.result.map=pe)}else ce.clearAnnotation(),this.result.css=ce.css}var B=e.prototype;return B.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},B.catch=function(B){return this.async().catch(B)},B.finally=function(B){return this.async().then(B,B)},B.sync=function(){if(this.error)throw this.error;return this.result},B.then=function(B,H){return this.async().then(B,H)},B.toString=function(){return this._css},B.warnings=function(){return[]},r_(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var B,H=fM;try{B=H(this._css,this._opts)}catch(B){this.error=B}if(this.error)throw this.error;return this._root=B,B}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),yM=vM;vM.default=vM;var bM=yM,wM=JR,_M=PE,xM=mR,kM=function(){function e(B){void 0===B&&(B=[]),this.version="8.4.38",this.plugins=this.normalize(B)}var B=e.prototype;return B.normalize=function(B){for(var H,W=[],K=d_(B);!(H=K()).done;){var Y=H.value;if(!0===Y.postcss?Y=Y():Y.postcss&&(Y=Y.postcss),"object"===(void 0===Y?"undefined":c_(Y))&&Array.isArray(Y.plugins))W=W.concat(Y.plugins);else if("object"===(void 0===Y?"undefined":c_(Y))&&Y.postcssPlugin)W.push(Y);else if("function"==typeof Y)W.push(Y);else{if("object"!==(void 0===Y?"undefined":c_(Y))||!Y.parse&&!Y.stringify)throw new Error(Y+" is not a PostCSS plugin");0}}return W},B.process=function(B,H){return void 0===H&&(H={}),this.plugins.length||H.parser||H.stringifier||H.syntax?new wM(this,B,H):new bM(this,B,H)},B.use=function(B){return this.plugins=this.plugins.concat(this.normalize([B])),this},e}(),CM=kM;kM.default=kM,xM.registerProcessor(kM),_M.registerProcessor(kM);var EM=AO,PM=$O,FM=bE,DM=uR,HM=nE,WM=mR,GM=xR;function uI(B,H){if(Array.isArray(B))return B.map(function(B){return uI(B)});var W=B.inputs,K=a_(B,["inputs"]);if(W){H=[];for(var Y,ie=d_(W);!(Y=ie()).done;){var ce=n_({},Y.value,{__proto__:HM.prototype});ce.map&&(ce.map=n_({},ce.map,{__proto__:PM.prototype})),H.push(ce)}}if(K.nodes&&(K.nodes=B.nodes.map(function(B){return uI(B,H)})),K.source){var ue=K.source,de=ue.inputId,pe=a_(ue,["inputId"]);K.source=pe,null!=de&&(K.source.input=H[de])}if("root"===K.type)return new WM(K);if("decl"===K.type)return new EM(K);if("rule"===K.type)return new GM(K);if("comment"===K.type)return new FM(K);if("atrule"===K.type)return new DM(K);throw new Error("Unknown node type: "+B.type)}var XM=uI;uI.default=uI;var ZM=mO,KM=AO,YM=JR,eI=ME,tI=CM,rI=_O,nI=XM,oI=PE,iI=jE,sI=bE,aI=uR,lI=DE,cI=nE,dI=PR,pI=vR,hI=xR,fI=mR,mI=MO;function II(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];return 1===H.length&&Array.isArray(H[0])&&(H=H[0]),new tI(H)}II.plugin=function(B,H){var W,K=!1;function o(){for(var W=arguments.length,Y=new Array(W),ie=0;ie<W;ie++)Y[ie]=arguments[ie];console&&console.warn&&!K&&(K=!0,console.warn(B+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(B+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));var ce=H.apply(void 0,[].concat(Y));return ce.postcssPlugin=B,ce.postcssVersion=(new tI).version,ce}return Object.defineProperty(o,"postcss",{get:function(){return W||(W=o()),W}}),o.process=function(B,H,W){return II([o(W)]).process(B,H)},o},II.stringify=rI,II.parse=dI,II.fromJSON=nI,II.list=pI,II.comment=function(B){return new sI(B)},II.atRule=function(B){return new aI(B)},II.decl=function(B){return new KM(B)},II.rule=function(B){return new hI(B)},II.root=function(B){return new fI(B)},II.document=function(B){return new oI(B)},II.CssSyntaxError=ZM,II.Declaration=KM,II.Container=eI,II.Processor=tI,II.Document=oI,II.Comment=sI,II.Warning=iI,II.AtRule=aI,II.Result=lI,II.Input=cI,II.Rule=hI,II.Root=fI,II.Node=mI,YM.registerPostcss(II),II.default=II;var gI=function(){function e(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];YO(this,"parentElement",null),YO(this,"parentNode",null),YO(this,"ownerDocument"),YO(this,"firstChild",null),YO(this,"lastChild",null),YO(this,"previousSibling",null),YO(this,"nextSibling",null),YO(this,"ELEMENT_NODE",1),YO(this,"TEXT_NODE",3),YO(this,"nodeType"),YO(this,"nodeName"),YO(this,"RRNodeType")}var B=e.prototype;return B.contains=function(B){if(!s_(B,e))return!1;if(B.ownerDocument!==this.ownerDocument)return!1;if(B===this)return!0;for(;B.parentNode;){if(B.parentNode===this)return!0;B=B.parentNode}return!1},B.appendChild=function(B){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")},B.insertBefore=function(B,H){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")},B.removeChild=function(B){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")},B.toString=function(){return"RRNode"},r_(e,[{key:"childNodes",get:function(){for(var B=[],H=this.firstChild;H;)B.push(H),H=H.nextSibling;return B}}]),e}(),vI={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},yI={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},bI={};function jI(B){if(bI[B])return bI[B];var H=globalThis[B],W=H.prototype,K=B in vI?vI[B]:void 0,Y=Boolean(K&&K.every(function(B){var H,K;return Boolean(null==(K=null==(H=Object.getOwnPropertyDescriptor(W,B))?void 0:H.get)?void 0:K.toString().includes("[native code]"))})),ie=B in yI?yI[B]:void 0,ce=Boolean(ie&&ie.every(function(B){var H;return"function"==typeof W[B]&&(null==(H=W[B])?void 0:H.toString().includes("[native code]"))}));if(Y&&ce&&!globalThis.Zone)return bI[B]=H.prototype,H.prototype;try{var ue=document.createElement("iframe");document.body.appendChild(ue);var de=ue.contentWindow;if(!de)return H.prototype;var pe=de[B].prototype;return document.body.removeChild(ue),pe?bI[B]=pe:W}catch(B){return W}}var wI={};function DI(B,H,W){var K,Y=B+"."+String(W);if(wI[Y])return wI[Y].call(H);var ie=jI(B),ce=null==(K=Object.getOwnPropertyDescriptor(ie,W))?void 0:K.get;return ce?(wI[Y]=ce,ce.call(H)):H[W]}var _I={};function $I(B,H,W){var K=B+"."+String(W);if(_I[K])return _I[K].bind(H);var Y=jI(B)[W];return"function"!=typeof Y?H[W]:(_I[K]=Y,Y.bind(H))}function zI(B,H,W){try{if(!(H in B))return function(){};var K=B[H],Y=W(K);return"function"==typeof Y&&(Y.prototype=Y.prototype||{},Object.defineProperties(Y,{__rrweb_original__:{enumerable:!1,value:K}})),B[H]=Y,function(){B[H]=K}}catch(B){return function(){}}}var VI=function(B){return DI("Node",B,"childNodes")},UI=function(B){return DI("Node",B,"parentNode")},qI=function(B){return DI("Node",B,"parentElement")},WI=function(B){return DI("Node",B,"textContent")},HI=function(B,H){return $I("Node",B,"contains")(H)},GI=function(B){return $I("Node",B,"getRootNode")()},KI=function(B){return B&&"host"in B?DI("ShadowRoot",B,"host"):null},YI=function(B){return B&&"shadowRoot"in B?DI("Element",B,"shadowRoot"):null};function ZI(B,H,W){void 0===W&&(W=document);var K={capture:!0,passive:!0};return W.addEventListener(B,H,K),function(){return W.removeEventListener(B,H,K)}}var xI="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",SI={map:{},getId:function(){return console.error(xI),-1},getNode:function(){return console.error(xI),null},removeNodeFromMap:function(){console.error(xI)},has:function(){return console.error(xI),!1},reset:function(){console.error(xI)}};function QI(B,H,W){void 0===W&&(W={});var K=null,Y=0;return function(){for(var ie=arguments.length,ce=new Array(ie),ue=0;ue<ie;ue++)ce[ue]=arguments[ue];var de=Date.now();Y||!1!==W.leading||(Y=de);var pe=H-(de-Y),fe=this;pe<=0||pe>H?(K&&(clearTimeout(K),K=null),Y=de,B.apply(fe,ce)):K||!1===W.trailing||(K=setTimeout(function(){Y=!1===W.leading?0:Date.now(),K=null,B.apply(fe,ce)},pe))}}function eM(B,H,W,K,Y){void 0===Y&&(Y=window);var ie=Y.Object.getOwnPropertyDescriptor(B,H);return Y.Object.defineProperty(B,H,K?W:{set:function(B){var H=this;setTimeout(function(){W.set.call(H,B)},0),ie&&ie.set&&ie.set.call(this,B)}}),function(){return eM(B,H,ie||{},!0)}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(SI=new Proxy(SI,{get:function(B,H,W){return"map"===H&&console.error(xI),Reflect.get(B,H,W)}}));var kI=Date.now;function rM(B){var H,W,K,Y,ie=B.document;return{left:ie.scrollingElement?ie.scrollingElement.scrollLeft:void 0!==B.pageXOffset?B.pageXOffset:ie.documentElement.scrollLeft||(null==ie?void 0:ie.body)&&(null==(H=qI(ie.body))?void 0:H.scrollLeft)||(null==(W=null==ie?void 0:ie.body)?void 0:W.scrollLeft)||0,top:ie.scrollingElement?ie.scrollingElement.scrollTop:void 0!==B.pageYOffset?B.pageYOffset:(null==ie?void 0:ie.documentElement.scrollTop)||(null==ie?void 0:ie.body)&&(null==(K=qI(ie.body))?void 0:K.scrollTop)||(null==(Y=null==ie?void 0:ie.body)?void 0:Y.scrollTop)||0}}function nM(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function oM(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function iM(B){return B?B.nodeType===B.ELEMENT_NODE?B:qI(B):null}function sM(B,H,W,K){if(!B)return!1;var Y=iM(B);if(!Y)return!1;try{if("string"==typeof H){if(Y.classList.contains(H))return!0;if(K&&null!==Y.closest("."+H))return!0}else if(lS(Y,H,K))return!0}catch(B){}if(W){if(Y.matches(W))return!0;if(K&&null!==Y.closest(W))return!0}return!1}function aM(B,H,W){return!("TITLE"!==B.tagName||!W.headTitleMutations)||-2===H.getId(B)}function lM(B,H){if(N_(B))return!1;var W=H.getId(B);if(!H.has(W))return!0;var K=UI(B);return(!K||K.nodeType!==B.DOCUMENT_NODE)&&(!K||lM(K,H))}function cM(B){return Boolean(B.changedTouches)}function uM(B,H){return Boolean("IFRAME"===B.nodeName&&H.getMeta(B))}function pM(B,H){return Boolean("LINK"===B.nodeName&&B.nodeType===B.ELEMENT_NODE&&B.getAttribute&&"stylesheet"===B.getAttribute("rel")&&H.getMeta(B))}function dM(B){return!!B&&(s_(B,gI)&&"shadowRoot"in B?Boolean(B.shadowRoot):Boolean(YI(B)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(kI=function(){return(new Date).getTime()});var CI=function(){function e(){v_(this,"id",1),v_(this,"styleIDMap",new WeakMap),v_(this,"idStyleMap",new Map)}var B=e.prototype;return B.getId=function(B){var H;return null!=(H=this.styleIDMap.get(B))?H:-1},B.has=function(B){return this.styleIDMap.has(B)},B.add=function(B,H){return this.has(B)?this.getId(B):(W=void 0===H?this.id++:H,this.styleIDMap.set(B,W),this.idStyleMap.set(W,B),W);var W},B.getStyle=function(B){return this.idStyleMap.get(B)||null},B.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},B.generateId=function(){return this.id++},B.remove=function(B){var H=this.styleIDMap.get(B);return void 0!==H&&(this.styleIDMap.delete(B),this.idStyleMap.delete(H),!0)},e}();function hM(B){var H,W=null;return"getRootNode"in B&&(null==(H=GI(B))?void 0:H.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&KI(GI(B))&&(W=KI(GI(B))),W}function mM(B){var H=B.ownerDocument;return!!H&&(HI(H,B)||function(B){var H=B.ownerDocument;if(!H)return!1;var W=function(B){for(var H,W=B;H=hM(W);)W=H;return W}(B);return HI(H,W)}(B))}var OI=function(B){return B[B.DomContentLoaded=0]="DomContentLoaded",B[B.Load=1]="Load",B[B.FullSnapshot=2]="FullSnapshot",B[B.IncrementalSnapshot=3]="IncrementalSnapshot",B[B.Meta=4]="Meta",B[B.Custom=5]="Custom",B[B.Plugin=6]="Plugin",B}(OI||{}),EI=function(B){return B[B.Mutation=0]="Mutation",B[B.MouseMove=1]="MouseMove",B[B.MouseInteraction=2]="MouseInteraction",B[B.Scroll=3]="Scroll",B[B.ViewportResize=4]="ViewportResize",B[B.Input=5]="Input",B[B.TouchMove=6]="TouchMove",B[B.MediaInteraction=7]="MediaInteraction",B[B.StyleSheetRule=8]="StyleSheetRule",B[B.CanvasMutation=9]="CanvasMutation",B[B.Font=10]="Font",B[B.Log=11]="Log",B[B.Drag=12]="Drag",B[B.StyleDeclaration=13]="StyleDeclaration",B[B.Selection=14]="Selection",B[B.AdoptedStyleSheet=15]="AdoptedStyleSheet",B[B.CustomElement=16]="CustomElement",B}(EI||{}),RI=function(B){return B[B.MouseUp=0]="MouseUp",B[B.MouseDown=1]="MouseDown",B[B.Click=2]="Click",B[B.ContextMenu=3]="ContextMenu",B[B.DblClick=4]="DblClick",B[B.Focus=5]="Focus",B[B.Blur=6]="Blur",B[B.TouchStart=7]="TouchStart",B[B.TouchMove_Departed=8]="TouchMove_Departed",B[B.TouchEnd=9]="TouchEnd",B[B.TouchCancel=10]="TouchCancel",B}(RI||{}),MI=function(B){return B[B.Mouse=0]="Mouse",B[B.Pen=1]="Pen",B[B.Touch=2]="Touch",B}(MI||{}),AI=function(B){return B[B["2D"]=0]="2D",B[B.WebGL=1]="WebGL",B[B.WebGL2=2]="WebGL2",B}(AI||{}),TI=function(B){return B[B.Play=0]="Play",B[B.Pause=1]="Pause",B[B.Seeked=2]="Seeked",B[B.VolumeChange=3]="VolumeChange",B[B.RateChange=4]="RateChange",B}(TI||{}),PI=function(B){return B[B.Document=0]="Document",B[B.DocumentType=1]="DocumentType",B[B.Element=2]="Element",B[B.Text=3]="Text",B[B.CDATA=4]="CDATA",B[B.Comment=5]="Comment",B}(PI||{});function SM(B){return"__ln"in B}var LI,FI=function(){function e(){v_(this,"length",0),v_(this,"head",null),v_(this,"tail",null)}var B=e.prototype;return B.get=function(B){if(B>=this.length)throw new Error("Position outside of list range");for(var H=this.head,W=0;W<B;W++)H=(null==H?void 0:H.next)||null;return H},B.addNode=function(B){var H={value:B,previous:null,next:null};if(B.__ln=H,B.previousSibling&&SM(B.previousSibling)){var W=B.previousSibling.__ln.next;H.next=W,H.previous=B.previousSibling.__ln,B.previousSibling.__ln.next=H,W&&(W.previous=H)}else if(B.nextSibling&&SM(B.nextSibling)&&B.nextSibling.__ln.previous){var K=B.nextSibling.__ln.previous;H.previous=K,H.next=B.nextSibling.__ln,B.nextSibling.__ln.previous=H,K&&(K.next=H)}else this.head&&(this.head.previous=H),H.next=this.head,this.head=H;null===H.next&&(this.tail=H),this.length++},B.removeNode=function(B){var H=B.__ln;this.head&&(H.previous?(H.previous.next=H.next,H.next?H.next.previous=H.previous:this.tail=H.previous):(this.head=H.next,this.head?this.head.previous=null:this.tail=null),B.__ln&&delete B.__ln,this.length--)},e}(),OM=function(B,H){return B+"@"+H},NI=function(){function e(){var B=this;v_(this,"frozen",!1),v_(this,"locked",!1),v_(this,"texts",[]),v_(this,"attributes",[]),v_(this,"attributeMap",new WeakMap),v_(this,"removes",[]),v_(this,"mapRemoves",[]),v_(this,"movedMap",{}),v_(this,"addedSet",new Set),v_(this,"movedSet",new Set),v_(this,"droppedSet",new Set),v_(this,"removesSubTreeCache",new Set),v_(this,"mutationCb"),v_(this,"blockClass"),v_(this,"blockSelector"),v_(this,"maskTextClass"),v_(this,"maskTextSelector"),v_(this,"inlineStylesheet"),v_(this,"maskInputOptions"),v_(this,"maskTextFn"),v_(this,"maskInputFn"),v_(this,"keepIframeSrcFn"),v_(this,"recordCanvas"),v_(this,"inlineImages"),v_(this,"slimDOMOptions"),v_(this,"dataURLOptions"),v_(this,"doc"),v_(this,"mirror"),v_(this,"iframeManager"),v_(this,"stylesheetManager"),v_(this,"shadowDomManager"),v_(this,"canvasManager"),v_(this,"processedNodeManager"),v_(this,"unattachedDoc"),v_(this,"processMutations",function(H){H.forEach(B.processMutation),B.emit()}),v_(this,"emit",function(){if(!B.frozen&&!B.locked){for(var H=[],W=new Set,K=new FI,o=function(H){for(var W=H,K=-2;-2===K;)K=(W=W&&W.nextSibling)&&B.mirror.getId(W);return K},i=function(Y){var ie=UI(Y);if(ie&&mM(Y)){var ce=!1;if(Y.nodeType===Node.TEXT_NODE){var ue=ie.tagName;if("TEXTAREA"===ue)return;"STYLE"===ue&&B.addedSet.has(ie)&&(ce=!0)}var de=N_(ie)?B.mirror.getId(hM(Y)):B.mirror.getId(ie),pe=o(Y);if(-1===de||-1===pe)return K.addNode(Y);var fe=dS(Y,{doc:B.doc,mirror:B.mirror,blockClass:B.blockClass,blockSelector:B.blockSelector,maskTextClass:B.maskTextClass,maskTextSelector:B.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:B.inlineStylesheet,maskInputOptions:B.maskInputOptions,maskTextFn:B.maskTextFn,maskInputFn:B.maskInputFn,slimDOMOptions:B.slimDOMOptions,dataURLOptions:B.dataURLOptions,recordCanvas:B.recordCanvas,inlineImages:B.inlineImages,onSerialize:function(H){uM(H,B.mirror)&&B.iframeManager.addIframe(H),pM(H,B.mirror)&&B.stylesheetManager.trackLinkElement(H),dM(Y)&&B.shadowDomManager.addShadowRoot(YI(Y),B.doc)},onIframeLoad:function(H,W){B.iframeManager.attachIframe(H,W),B.shadowDomManager.observeAttachShadow(H)},onStylesheetLoad:function(H,W){B.stylesheetManager.attachLinkElement(H,W)},cssCaptured:ce});fe&&(H.push({parentId:de,nextId:pe,node:fe}),W.add(fe.id))}};B.mapRemoves.length;){var Y=B.mapRemoves.shift();B.cleanupRemovedNode(Y),B.mirror.removeNodeFromMap(Y)}for(var ie,ce=d_(B.movedSet);!(ie=ce()).done;){var ue=ie.value;RM(B.removesSubTreeCache,ue)&&!B.movedSet.has(UI(ue))||i(ue)}for(var de,pe=d_(B.addedSet);!(de=pe()).done;){var fe=de.value;IM(B.droppedSet,fe)||RM(B.removesSubTreeCache,fe)?IM(B.movedSet,fe)?i(fe):B.droppedSet.add(fe):i(fe)}for(var ke=null;K.length;){var Je=null;if(ke){var rt=B.mirror.getId(UI(ke.value)),st=o(ke.value);-1!==rt&&-1!==st&&(Je=ke)}if(!Je)for(var at=K.tail;at;){var lt=at;if(at=at.previous,lt){var pt=B.mirror.getId(UI(lt.value));if(-1===o(lt.value))continue;if(-1!==pt){Je=lt;break}var ht=lt.value,mt=UI(ht);if(mt&&mt.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var vt=KI(mt);if(-1!==B.mirror.getId(vt)){Je=lt;break}}}}if(!Je){for(;K.head;)K.removeNode(K.head.value);break}ke=Je.previous,K.removeNode(Je.value),i(Je.value)}var yt={texts:B.texts.map(function(H){var W=H.node,K=UI(W);return K&&"TEXTAREA"===K.tagName&&B.genTextAreaValueMutation(K),{id:B.mirror.getId(W),value:H.value}}).filter(function(B){return!W.has(B.id)}).filter(function(H){return B.mirror.has(H.id)}),attributes:B.attributes.map(function(H){var W=H.attributes;if("string"==typeof W.style){var K=JSON.stringify(H.styleDiff),Y=JSON.stringify(H._unchangedStyles);K.length<W.style.length&&(K+Y).split("var(").length===W.style.split("var(").length&&(W.style=H.styleDiff)}return{id:B.mirror.getId(H.node),attributes:W}}).filter(function(B){return!W.has(B.id)}).filter(function(H){return B.mirror.has(H.id)}),removes:B.removes,adds:H};(yt.texts.length||yt.attributes.length||yt.removes.length||yt.adds.length)&&(B.texts=[],B.attributes=[],B.attributeMap=new WeakMap,B.removes=[],B.addedSet=new Set,B.movedSet=new Set,B.droppedSet=new Set,B.removesSubTreeCache=new Set,B.movedMap={},B.mutationCb(yt))}}),v_(this,"genTextAreaValueMutation",function(H){var W=B.attributeMap.get(H);W||(W={node:H,attributes:{},styleDiff:{},_unchangedStyles:{}},B.attributes.push(W),B.attributeMap.set(H,W));var K=Array.from(VI(H),function(B){return WI(B)||""}).join("");W.attributes.value=$_({element:H,maskInputOptions:B.maskInputOptions,tagName:H.tagName,type:V_(H),value:K,maskInputFn:B.maskInputFn})}),v_(this,"processMutation",function(H){if(!aM(H.target,B.mirror,B.slimDOMOptions))switch(H.type){case"characterData":var W=WI(H.target);sM(H.target,B.blockClass,B.blockSelector,!1)||W===H.oldValue||B.texts.push({value:cS(H.target,B.maskTextClass,B.maskTextSelector,!0)&&W?B.maskTextFn?B.maskTextFn(W,iM(H.target)):W.replace(/[\S]/g,"*"):W,node:H.target});break;case"attributes":var K=H.target,Y=H.attributeName,ie=H.target.getAttribute(Y);if("value"===Y){var ce=V_(K);ie=$_({element:K,maskInputOptions:B.maskInputOptions,tagName:K.tagName,type:ce,value:ie,maskInputFn:B.maskInputFn})}if(sM(H.target,B.blockClass,B.blockSelector,!1)||ie===H.oldValue)return;var ue=B.attributeMap.get(H.target);if("IFRAME"===K.tagName&&"src"===Y&&!B.keepIframeSrcFn(ie)){if(K.contentDocument)return;Y="rr_src"}if(ue||(ue={node:H.target,attributes:{},styleDiff:{},_unchangedStyles:{}},B.attributes.push(ue),B.attributeMap.set(H.target,ue)),"type"===Y&&"INPUT"===K.tagName&&"password"===(H.oldValue||"").toLowerCase()&&K.setAttribute("data-rr-is-password","true"),!aS(K.tagName,Y))if(ue.attributes[Y]=sS(B.doc,B_(K.tagName),B_(Y),ie),"style"===Y){if(!B.unattachedDoc)try{B.unattachedDoc=document.implementation.createHTMLDocument()}catch(H){B.unattachedDoc=B.doc}var de=B.unattachedDoc.createElement("span");H.oldValue&&de.setAttribute("style",H.oldValue);for(var pe,fe=d_(Array.from(K.style));!(pe=fe()).done;){var ke=pe.value,Je=K.style.getPropertyValue(ke),rt=K.style.getPropertyPriority(ke);Je!==de.style.getPropertyValue(ke)||rt!==de.style.getPropertyPriority(ke)?ue.styleDiff[ke]=""===rt?Je:[Je,rt]:ue._unchangedStyles[ke]=[Je,rt]}for(var st,at=d_(Array.from(de.style));!(st=at()).done;){var lt=st.value;""===K.style.getPropertyValue(lt)&&(ue.styleDiff[lt]=!1)}}else"open"===Y&&"DIALOG"===K.tagName&&(K.matches("dialog:modal")?ue.attributes.rr_open_mode="modal":ue.attributes.rr_open_mode="non-modal");break;case"childList":if(sM(H.target,B.blockClass,B.blockSelector,!0))return;if("TEXTAREA"===H.target.tagName)return void B.genTextAreaValueMutation(H.target);H.addedNodes.forEach(function(W){return B.genAdds(W,H.target)}),H.removedNodes.forEach(function(W){var K=B.mirror.getId(W),Y=N_(H.target)?B.mirror.getId(KI(H.target)):B.mirror.getId(H.target);sM(H.target,B.blockClass,B.blockSelector,!1)||aM(W,B.mirror,B.slimDOMOptions)||!function(B,H){return-1!==H.getId(B)}(W,B.mirror)||(B.addedSet.has(W)?(TM(B.addedSet,W),B.droppedSet.add(W)):B.addedSet.has(H.target)&&-1===K||lM(H.target,B.mirror)||(B.movedSet.has(W)&&B.movedMap[OM(K,Y)]?TM(B.movedSet,W):(B.removes.push({parentId:Y,id:K,isShadow:!(!N_(H.target)||!j_(H.target))||void 0}),function(B,H){for(var W=[B];W.length;){var K=W.pop();H.has(K)||(H.add(K),VI(K).forEach(function(B){return W.push(B)}))}}(W,B.removesSubTreeCache))),B.mapRemoves.push(W))})}}),v_(this,"genAdds",function(H,W){if(!B.processedNodeManager.inOtherBuffer(H,B)&&!B.addedSet.has(H)&&!B.movedSet.has(H)){if(B.mirror.hasNode(H)){if(aM(H,B.mirror,B.slimDOMOptions))return;B.movedSet.add(H);var K=null;W&&B.mirror.hasNode(W)&&(K=B.mirror.getId(W)),K&&-1!==K&&(B.movedMap[OM(B.mirror.getId(H),K)]=!0)}else B.addedSet.add(H),B.droppedSet.delete(H);sM(H,B.blockClass,B.blockSelector,!1)||(VI(H).forEach(function(H){return B.genAdds(H)}),dM(H)&&VI(YI(H)).forEach(function(W){B.processedNodeManager.add(W,B),B.genAdds(W,H)}))}}),v_(this,"cleanupRemovedNode",function(H){if("IFRAME"===H.nodeName)try{B.iframeManager.removeIframe(H)}catch(B){}else try{B.stylesheetManager.cleanupStylesheetsForRemovedNode(H)}catch(B){}H.childNodes.forEach(function(H){B.cleanupRemovedNode(H)})})}var B=e.prototype;return B.init=function(B){var H=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(function(W){H[W]=B[W]})},B.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},B.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},B.isFrozen=function(){return this.frozen},B.lock=function(){this.locked=!0,this.canvasManager.lock()},B.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},B.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},B.getDoc=function(){return this.doc},e}();function TM(B,H){B.delete(H),VI(H).forEach(function(H){return TM(B,H)})}function RM(B,H,W){return 0!==B.size&&function(B,H){var W=UI(H);return!!W&&B.has(W)}(B,H)}function IM(B,H){return 0!==B.size&&MM(B,H)}function MM(B,H){var W=UI(H);return!!W&&(!!B.has(W)||MM(B,W))}var AM=function(B){return LI?function(){for(var H=arguments.length,W=new Array(H),K=0;K<H;K++)W[K]=arguments[K];try{return B.apply(void 0,[].concat(W))}catch(B){if(LI&&!0===LI(B))return;throw B}}:B},XI=[];function NM(B){try{if("composedPath"in B){var H=B.composedPath();if(H.length)return H[0]}else if("path"in B&&B.path.length)return B.path[0]}catch(B){}return B&&B.target}function jM(B,H){var W=new NI;XI.push(W),W.init(B);var K=new(function BI(){return jI("MutationObserver").constructor}())(AM(W.processMutations.bind(W)));return K.observe(H,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),K}function LM(B){var H=B.scrollCb,W=B.doc,K=B.mirror,Y=B.blockClass,ie=B.blockSelector,ce=B.sampling,ue=AM(QI(AM(function(B){var ce=NM(B);if(ce&&!sM(ce,Y,ie,!0)){var ue=K.getId(ce);if(ce===W&&W.defaultView){var de=rM(W.defaultView);H({id:ue,x:de.left,y:de.top})}else H({id:ue,x:ce.scrollLeft,y:ce.scrollTop})}}),ce.scroll||100));return ZI("scroll",ue,W)}var JI=["INPUT","TEXTAREA","SELECT"],oA=new WeakMap;function $M(B){return function(B,H){if(UM("CSSGroupingRule")&&s_(B.parentRule,CSSGroupingRule)||UM("CSSMediaRule")&&s_(B.parentRule,CSSMediaRule)||UM("CSSSupportsRule")&&s_(B.parentRule,CSSSupportsRule)||UM("CSSConditionRule")&&s_(B.parentRule,CSSConditionRule)){var W=Array.from(B.parentRule.cssRules).indexOf(B);H.unshift(W)}else if(B.parentStyleSheet){var K=Array.from(B.parentStyleSheet.cssRules).indexOf(B);H.unshift(K)}return H}(B,[])}function BM(B,H,W){var K,Y;return B?(B.ownerNode?K=H.getId(B.ownerNode):Y=W.getId(B),{styleId:Y,id:K}):{}}function zM(B,H){var W,K,Y,ie,ce=B.mirror,ue=B.stylesheetManager;ie="#document"===H.nodeName?ce.getId(H):ce.getId(KI(H));var de="#document"===H.nodeName?null==(W=H.defaultView)?void 0:W.Document:null==(Y=null==(K=H.ownerDocument)?void 0:K.defaultView)?void 0:Y.ShadowRoot,pe=(null==de?void 0:de.prototype)?Object.getOwnPropertyDescriptor(null==de?void 0:de.prototype,"adoptedStyleSheets"):void 0;return null!==ie&&-1!==ie&&de&&pe?(Object.defineProperty(H,"adoptedStyleSheets",{configurable:pe.configurable,enumerable:pe.enumerable,get:function(){var B;return null==(B=pe.get)?void 0:B.call(this)},set:function(B){var H,W=null==(H=pe.set)?void 0:H.call(this,B);if(null!==ie&&-1!==ie)try{ue.adoptStyleSheets(B,ie)}catch(B){}return W}}),AM(function(){Object.defineProperty(H,"adoptedStyleSheets",{configurable:pe.configurable,enumerable:pe.enumerable,get:pe.get,set:pe.set})})):function(){}}function VM(B,H){void 0===H&&(H={});var W,K=B.doc.defaultView;if(!K)return function(){};!function(B,H){var W=B.mutationCb,K=B.mousemoveCb,Y=B.mouseInteractionCb,ie=B.scrollCb,ce=B.viewportResizeCb,ue=B.inputCb,de=B.mediaInteractionCb,pe=B.styleSheetRuleCb,fe=B.styleDeclarationCb,ke=B.canvasMutationCb,Je=B.fontCb,rt=B.selectionCb,st=B.customElementCb;B.mutationCb=function(){for(var B=arguments.length,K=new Array(B),Y=0;Y<B;Y++)K[Y]=arguments[Y];var ie;H.mutation&&(ie=H).mutation.apply(ie,[].concat(K)),W.apply(void 0,[].concat(K))},B.mousemoveCb=function(){for(var B=arguments.length,W=new Array(B),Y=0;Y<B;Y++)W[Y]=arguments[Y];var ie;H.mousemove&&(ie=H).mousemove.apply(ie,[].concat(W)),K.apply(void 0,[].concat(W))},B.mouseInteractionCb=function(){for(var B=arguments.length,W=new Array(B),K=0;K<B;K++)W[K]=arguments[K];var ie;H.mouseInteraction&&(ie=H).mouseInteraction.apply(ie,[].concat(W)),Y.apply(void 0,[].concat(W))},B.scrollCb=function(){for(var B=arguments.length,W=new Array(B),K=0;K<B;K++)W[K]=arguments[K];var Y;H.scroll&&(Y=H).scroll.apply(Y,[].concat(W)),ie.apply(void 0,[].concat(W))},B.viewportResizeCb=function(){for(var B=arguments.length,W=new Array(B),K=0;K<B;K++)W[K]=arguments[K];var Y;H.viewportResize&&(Y=H).viewportResize.apply(Y,[].concat(W)),ce.apply(void 0,[].concat(W))},B.inputCb=function(){for(var B=arguments.length,W=new Array(B),K=0;K<B;K++)W[K]=arguments[K];var Y;H.input&&(Y=H).input.apply(Y,[].concat(W)),ue.apply(void 0,[].concat(W))},B.mediaInteractionCb=function(){for(var B=arguments.length,W=new Array(B),K=0;K<B;K++)W[K]=arguments[K];var Y;H.mediaInteaction&&(Y=H).mediaInteaction.apply(Y,[].concat(W)),de.apply(void 0,[].concat(W))},B.styleSheetRuleCb=function(){for(var B=arguments.length,W=new Array(B),K=0;K<B;K++)W[K]=arguments[K];var Y;H.styleSheetRule&&(Y=H).styleSheetRule.apply(Y,[].concat(W)),pe.apply(void 0,[].concat(W))},B.styleDeclarationCb=function(){for(var B=arguments.length,W=new Array(B),K=0;K<B;K++)W[K]=arguments[K];var Y;H.styleDeclaration&&(Y=H).styleDeclaration.apply(Y,[].concat(W)),fe.apply(void 0,[].concat(W))},B.canvasMutationCb=function(){for(var B=arguments.length,W=new Array(B),K=0;K<B;K++)W[K]=arguments[K];var Y;H.canvasMutation&&(Y=H).canvasMutation.apply(Y,[].concat(W)),ke.apply(void 0,[].concat(W))},B.fontCb=function(){for(var B=arguments.length,W=new Array(B),K=0;K<B;K++)W[K]=arguments[K];var Y;H.font&&(Y=H).font.apply(Y,[].concat(W)),Je.apply(void 0,[].concat(W))},B.selectionCb=function(){for(var B=arguments.length,W=new Array(B),K=0;K<B;K++)W[K]=arguments[K];var Y;H.selection&&(Y=H).selection.apply(Y,[].concat(W)),rt.apply(void 0,[].concat(W))},B.customElementCb=function(){for(var B=arguments.length,W=new Array(B),K=0;K<B;K++)W[K]=arguments[K];var Y;H.customElement&&(Y=H).customElement.apply(Y,[].concat(W)),st.apply(void 0,[].concat(W))}}(B,H),B.recordDOM&&(W=jM(B,B.doc));var Y,ie,ce,ue,de,pe,fe,ke,Je,rt=function(B){var H=B.mousemoveCb,W=B.sampling,K=B.doc,Y=B.mirror;if(!1===W.mousemove)return function(){};var ie,ce="number"==typeof W.mousemove?W.mousemove:50,ue="number"==typeof W.mousemoveCallback?W.mousemoveCallback:500,de=[],pe=QI(AM(function(B){var W=Date.now()-ie;H(de.map(function(B){return B.timeOffset-=W,B}),B),de=[],ie=null}),ue),fe=AM(QI(AM(function(B){var H=NM(B),W=cM(B)?B.changedTouches[0]:B,K=W.clientX,ce=W.clientY;ie||(ie=kI()),de.push({x:K,y:ce,id:Y.getId(H),timeOffset:kI()-ie}),pe("undefined"!=typeof DragEvent&&s_(B,DragEvent)?EI.Drag:s_(B,MouseEvent)?EI.MouseMove:EI.TouchMove)}),ce,{trailing:!1})),ke=[ZI("mousemove",fe,K),ZI("touchmove",fe,K),ZI("drag",fe,K)];return AM(function(){ke.forEach(function(B){return B()})})}(B),st=function(B){var H=B.mouseInteractionCb,W=B.doc,K=B.mirror,Y=B.blockClass,ie=B.blockSelector,ce=B.sampling;if(!1===ce.mouseInteraction)return function(){};var ue=!0===ce.mouseInteraction||void 0===ce.mouseInteraction?{}:ce.mouseInteraction,de=[],pe=null;return Object.keys(RI).filter(function(B){return Number.isNaN(Number(B))&&!B.endsWith("_Departed")&&!1!==ue[B]}).forEach(function(B){var ce=B_(B),ue=function(B){return function(W){var ce=NM(W);if(!sM(ce,Y,ie,!0)){var ue=null,de=B;if("pointerType"in W){switch(W.pointerType){case"mouse":ue=MI.Mouse;break;case"touch":ue=MI.Touch;break;case"pen":ue=MI.Pen}ue===MI.Touch&&(RI[B]===RI.MouseDown?de="TouchStart":RI[B]===RI.MouseUp&&(de="TouchEnd"))}else cM(W)&&(ue=MI.Touch);null!==ue?(pe=ue,(de.startsWith("Touch")&&ue===MI.Touch||de.startsWith("Mouse")&&ue===MI.Mouse)&&(ue=null)):RI[B]===RI.Click&&(ue=pe,pe=null);var fe=cM(W)?W.changedTouches[0]:W;if(fe){var ke=K.getId(ce),Je=fe.clientX,rt=fe.clientY;AM(H)(n_({type:RI[de],id:ke,x:Je,y:rt},null!==ue&&{pointerType:ue}))}}}}(B);if(window.PointerEvent)switch(RI[B]){case RI.MouseDown:case RI.MouseUp:ce=ce.replace("mouse","pointer");break;case RI.TouchStart:case RI.TouchEnd:return}de.push(ZI(ce,ue,W))}),AM(function(){de.forEach(function(B){return B()})})}(B),at=LM(B),lt=function(B,H){var W=B.viewportResizeCb,K=H.win,Y=-1,ie=-1,ce=AM(QI(AM(function(){var B=nM(),H=oM();Y===B&&ie===H||(W({width:Number(H),height:Number(B)}),Y=B,ie=H)}),200));return ZI("resize",ce,K)}(B,{win:K}),pt=function(B){var H=B.inputCb,W=B.doc,K=B.mirror,Y=B.blockClass,ie=B.blockSelector,ce=B.ignoreClass,ue=B.ignoreSelector,de=B.maskInputOptions,pe=B.maskInputFn,fe=B.sampling,ke=B.userTriggeredOnInput;function d(B){var H=NM(B),K=B.isTrusted,fe=H&&H.tagName;if(H&&"OPTION"===fe&&(H=qI(H)),H&&fe&&!(JI.indexOf(fe)<0)&&!sM(H,Y,ie,!0)&&!(H.classList.contains(ce)||ue&&H.matches(ue))){var Je=H.value,rt=!1,st=V_(H)||"";"radio"===st||"checkbox"===st?rt=H.checked:(de[fe.toLowerCase()]||de[st])&&(Je=$_({element:H,maskInputOptions:de,tagName:fe,type:st,value:Je,maskInputFn:pe})),f(H,ke?{text:Je,isChecked:rt,userTriggered:K}:{text:Je,isChecked:rt});var at=H.name;"radio"===st&&at&&rt&&W.querySelectorAll('input[type="radio"][name="'+at+'"]').forEach(function(B){if(B!==H){var W=B.value;f(B,ke?{text:W,isChecked:!rt,userTriggered:!1}:{text:W,isChecked:!rt})}})}}function f(B,W){var Y=oA.get(B);if(!Y||Y.text!==W.text||Y.isChecked!==W.isChecked){oA.set(B,W);var ie=K.getId(B);AM(H)(n_({},W,{id:ie}))}}var Je=("last"===fe.input?["change"]:["input","change"]).map(function(B){return ZI(B,AM(d),W)}),rt=W.defaultView;if(!rt)return function(){Je.forEach(function(B){return B()})};var st,at=rt.Object.getOwnPropertyDescriptor(rt.HTMLInputElement.prototype,"value"),lt=[[rt.HTMLInputElement.prototype,"value"],[rt.HTMLInputElement.prototype,"checked"],[rt.HTMLSelectElement.prototype,"value"],[rt.HTMLTextAreaElement.prototype,"value"],[rt.HTMLSelectElement.prototype,"selectedIndex"],[rt.HTMLOptionElement.prototype,"selected"]];return at&&at.set&&(st=Je).push.apply(st,[].concat(lt.map(function(B){return eM(B[0],B[1],{set:function(){AM(d)({target:this,isTrusted:!1})}},!1,rt)}))),AM(function(){Je.forEach(function(B){return B()})})}(B),ht=(ie=(Y=B).mediaInteractionCb,ce=Y.blockClass,ue=Y.blockSelector,de=Y.mirror,pe=Y.sampling,fe=Y.doc,ke=AM(function(B){return QI(AM(function(H){var W=NM(H);if(W&&!sM(W,ce,ue,!0)){var K=W.currentTime,Y=W.volume,pe=W.muted,fe=W.playbackRate,ke=W.loop;ie({type:B,id:de.getId(W),currentTime:K,volume:Y,muted:pe,playbackRate:fe,loop:ke})}}),pe.media||500)}),Je=[ZI("play",ke(TI.Play),fe),ZI("pause",ke(TI.Pause),fe),ZI("seeked",ke(TI.Seeked),fe),ZI("volumechange",ke(TI.VolumeChange),fe),ZI("ratechange",ke(TI.RateChange),fe)],AM(function(){Je.forEach(function(B){return B()})})),b=function(){},w=function(){},x=function(){},_=function(){};B.recordDOM&&(b=function(B,H){var W=B.styleSheetRuleCb,K=B.mirror,Y=B.stylesheetManager,ie=H.win;if(!ie.CSSStyleSheet||!ie.CSSStyleSheet.prototype)return function(){};var ce=ie.CSSStyleSheet.prototype.insertRule;ie.CSSStyleSheet.prototype.insertRule=new Proxy(ce,{apply:AM(function(B,H,ie){var ce=ie[0],ue=ie[1],de=BM(H,K,Y.styleMirror),pe=de.id,fe=de.styleId;return(pe&&-1!==pe||fe&&-1!==fe)&&W({id:pe,styleId:fe,adds:[{rule:ce,index:ue}]}),B.apply(H,ie)})}),ie.CSSStyleSheet.prototype.addRule=function(B,H,W){void 0===W&&(W=this.cssRules.length);var K=B+" { "+H+" }";return ie.CSSStyleSheet.prototype.insertRule.apply(this,[K,W])};var ue,de,pe=ie.CSSStyleSheet.prototype.deleteRule;ie.CSSStyleSheet.prototype.deleteRule=new Proxy(pe,{apply:AM(function(B,H,ie){var ce=ie[0],ue=BM(H,K,Y.styleMirror),de=ue.id,pe=ue.styleId;return(de&&-1!==de||pe&&-1!==pe)&&W({id:de,styleId:pe,removes:[{index:ce}]}),B.apply(H,ie)})}),ie.CSSStyleSheet.prototype.removeRule=function(B){return ie.CSSStyleSheet.prototype.deleteRule.apply(this,[B])},ie.CSSStyleSheet.prototype.replace&&(ue=ie.CSSStyleSheet.prototype.replace,ie.CSSStyleSheet.prototype.replace=new Proxy(ue,{apply:AM(function(B,H,ie){var ce=ie[0],ue=BM(H,K,Y.styleMirror),de=ue.id,pe=ue.styleId;return(de&&-1!==de||pe&&-1!==pe)&&W({id:de,styleId:pe,replace:ce}),B.apply(H,ie)})})),ie.CSSStyleSheet.prototype.replaceSync&&(de=ie.CSSStyleSheet.prototype.replaceSync,ie.CSSStyleSheet.prototype.replaceSync=new Proxy(de,{apply:AM(function(B,H,ie){var ce=ie[0],ue=BM(H,K,Y.styleMirror),de=ue.id,pe=ue.styleId;return(de&&-1!==de||pe&&-1!==pe)&&W({id:de,styleId:pe,replaceSync:ce}),B.apply(H,ie)})}));var fe={};qM("CSSGroupingRule")?fe.CSSGroupingRule=ie.CSSGroupingRule:(qM("CSSMediaRule")&&(fe.CSSMediaRule=ie.CSSMediaRule),qM("CSSConditionRule")&&(fe.CSSConditionRule=ie.CSSConditionRule),qM("CSSSupportsRule")&&(fe.CSSSupportsRule=ie.CSSSupportsRule));var ke={};return Object.entries(fe).forEach(function(B){var H=B[0],ie=B[1];ke[H]={insertRule:ie.prototype.insertRule,deleteRule:ie.prototype.deleteRule},ie.prototype.insertRule=new Proxy(ke[H].insertRule,{apply:AM(function(B,H,ie){var ce=ie[0],ue=ie[1],de=BM(H.parentStyleSheet,K,Y.styleMirror),pe=de.id,fe=de.styleId;return(pe&&-1!==pe||fe&&-1!==fe)&&W({id:pe,styleId:fe,adds:[{rule:ce,index:[].concat($M(H),[ue||0])}]}),B.apply(H,ie)})}),ie.prototype.deleteRule=new Proxy(ke[H].deleteRule,{apply:AM(function(B,H,ie){var ce=ie[0],ue=BM(H.parentStyleSheet,K,Y.styleMirror),de=ue.id,pe=ue.styleId;return(de&&-1!==de||pe&&-1!==pe)&&W({id:de,styleId:pe,removes:[{index:[].concat($M(H),[ce])}]}),B.apply(H,ie)})})}),AM(function(){ie.CSSStyleSheet.prototype.insertRule=ce,ie.CSSStyleSheet.prototype.deleteRule=pe,ue&&(ie.CSSStyleSheet.prototype.replace=ue),de&&(ie.CSSStyleSheet.prototype.replaceSync=de),Object.entries(fe).forEach(function(B){var H=B[0],W=B[1];W.prototype.insertRule=ke[H].insertRule,W.prototype.deleteRule=ke[H].deleteRule})})}(B,{win:K}),w=zM(B,B.doc),x=function(B,H){var W=B.styleDeclarationCb,K=B.mirror,Y=B.ignoreCSSAttributes,ie=B.stylesheetManager,ce=H.win,ue=ce.CSSStyleDeclaration.prototype.setProperty;ce.CSSStyleDeclaration.prototype.setProperty=new Proxy(ue,{apply:AM(function(B,H,ce){var de,pe=ce[0],fe=ce[1],ke=ce[2];if(Y.has(pe))return ue.apply(H,[pe,fe,ke]);var Je=BM(null==(de=H.parentRule)?void 0:de.parentStyleSheet,K,ie.styleMirror),rt=Je.id,st=Je.styleId;return(rt&&-1!==rt||st&&-1!==st)&&W({id:rt,styleId:st,set:{property:pe,value:fe,priority:ke},index:$M(H.parentRule)}),B.apply(H,ce)})});var de=ce.CSSStyleDeclaration.prototype.removeProperty;return ce.CSSStyleDeclaration.prototype.removeProperty=new Proxy(de,{apply:AM(function(B,H,ce){var ue,pe=ce[0];if(Y.has(pe))return de.apply(H,[pe]);var fe=BM(null==(ue=H.parentRule)?void 0:ue.parentStyleSheet,K,ie.styleMirror),ke=fe.id,Je=fe.styleId;return(ke&&-1!==ke||Je&&-1!==Je)&&W({id:ke,styleId:Je,remove:{property:pe},index:$M(H.parentRule)}),B.apply(H,ce)})}),AM(function(){ce.CSSStyleDeclaration.prototype.setProperty=ue,ce.CSSStyleDeclaration.prototype.removeProperty=de})}(B,{win:K}),B.collectFonts&&(_=function(B){var H=B.fontCb,W=B.doc,K=W.defaultView;if(!K)return function(){};var Y=[],ie=new WeakMap,ce=K.FontFace;K.FontFace=function(B,H,W){var K=new ce(B,H,W);return ie.set(K,{family:B,buffer:"string"!=typeof H,descriptors:W,fontSource:"string"==typeof H?H:JSON.stringify(Array.from(new Uint8Array(H)))}),K};var ue=zI(W.fonts,"add",function(B){return function(W){return setTimeout(AM(function(){var B=ie.get(W);B&&(H(B),ie.delete(W))}),0),B.apply(this,[W])}});return Y.push(function(){K.FontFace=ce}),Y.push(ue),AM(function(){Y.forEach(function(B){return B()})})}(B)));for(var mt,vt=function(B){var H=B.doc,W=B.mirror,K=B.blockClass,Y=B.blockSelector,ie=B.selectionCb,ce=!0,ue=AM(function(){var B=H.getSelection();if(!(!B||ce&&(null==B?void 0:B.isCollapsed))){ce=B.isCollapsed||!1;for(var ue=[],de=B.rangeCount||0,pe=0;pe<de;pe++){var fe=B.getRangeAt(pe),ke=fe.startContainer,Je=fe.startOffset,rt=fe.endContainer,st=fe.endOffset;sM(ke,K,Y,!0)||sM(rt,K,Y,!0)||ue.push({start:W.getId(ke),startOffset:Je,end:W.getId(rt),endOffset:st})}ie({ranges:ue})}});return ue(),ZI("selectionchange",ue)}(B),yt=function(B){var H=B.doc,W=B.customElementCb,K=H.defaultView;return K&&K.customElements?zI(K.customElements,"define",function(B){return function(H,K,Y){try{W({define:{name:H}})}catch(B){console.warn("Custom element callback failed for "+H)}return B.apply(this,[H,K,Y])}}):function(){}}(B),bt=[],wt=d_(B.plugins);!(mt=wt()).done;){var xt=mt.value;bt.push(xt.observer(xt.callback,K,xt.options))}return AM(function(){XI.forEach(function(B){return B.reset()}),null==W||W.disconnect(),rt(),st(),at(),lt(),pt(),ht(),b(),w(),x(),_(),vt(),yt(),bt.forEach(function(B){return B()})})}function UM(B){return void 0!==window[B]}function qM(B){return Boolean(void 0!==window[B]&&window[B].prototype&&"insertRule"in window[B].prototype&&"deleteRule"in window[B].prototype)}for(var iA=function(){function e(B){v_(this,"iframeIdToRemoteIdMap",new WeakMap),v_(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=B}var B=e.prototype;return B.getId=function(B,H,W,K){var Y=W||this.getIdToRemoteIdMap(B),ie=K||this.getRemoteIdToIdMap(B),ce=Y.get(H);return ce||(ce=this.generateIdFn(),Y.set(H,ce),ie.set(ce,H)),ce},B.getIds=function(B,H){var W=this,K=this.getIdToRemoteIdMap(B),Y=this.getRemoteIdToIdMap(B);return H.map(function(H){return W.getId(B,H,K,Y)})},B.getRemoteId=function(B,H,W){var K=W||this.getRemoteIdToIdMap(B);return"number"!=typeof H?H:K.get(H)||-1},B.getRemoteIds=function(B,H){var W=this,K=this.getRemoteIdToIdMap(B);return H.map(function(H){return W.getRemoteId(B,H,K)})},B.reset=function(B){if(!B)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(B),this.iframeRemoteIdToIdMap.delete(B)},B.getIdToRemoteIdMap=function(B){var H=this.iframeIdToRemoteIdMap.get(B);return H||(H=new Map,this.iframeIdToRemoteIdMap.set(B,H)),H},B.getRemoteIdToIdMap=function(B){var H=this.iframeRemoteIdToIdMap.get(B);return H||(H=new Map,this.iframeRemoteIdToIdMap.set(B,H)),H},e}(),sA=function(){function e(B){v_(this,"iframes",new WeakMap),v_(this,"crossOriginIframeMap",new WeakMap),v_(this,"crossOriginIframeMirror",new iA(eS)),v_(this,"crossOriginIframeStyleMirror"),v_(this,"crossOriginIframeRootIdMap",new WeakMap),v_(this,"iframeContentDocumentMap",new WeakMap),v_(this,"iframeObserverCleanupMap",new WeakMap),v_(this,"mirror"),v_(this,"mutationCb"),v_(this,"wrappedEmit"),v_(this,"loadListener"),v_(this,"stylesheetManager"),v_(this,"recordCrossOriginIframes"),this.mutationCb=B.mutationCb,this.wrappedEmit=B.wrappedEmit,this.stylesheetManager=B.stylesheetManager,this.recordCrossOriginIframes=B.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new iA(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=B.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var B=e.prototype;return B.addIframe=function(B){this.iframes.set(B,!0),B.contentWindow&&this.crossOriginIframeMap.set(B.contentWindow,B)},B.getIframeContentDocument=function(B){return this.iframeContentDocumentMap.get(B)},B.setObserverCleanup=function(B,H){this.iframeObserverCleanupMap.set(B,H)},B.getObserverCleanup=function(B){return this.iframeObserverCleanupMap.get(B)},B.removeIframe=function(B){var H=this.iframeContentDocumentMap.get(B);H&&(this.stylesheetManager.cleanupStylesheetsForRemovedNode(H),this.mirror.removeNodeFromMap(H,!0)),this.iframes.delete(B),this.iframeContentDocumentMap.delete(B);var W=this.iframeObserverCleanupMap.get(B);if(W){try{W()}catch(B){}this.iframeObserverCleanupMap.delete(B)}},B.addLoadListener=function(B){this.loadListener=B},B.attachIframe=function(B,H){var W,K;this.mutationCb({adds:[{parentId:this.mirror.getId(B),nextId:null,node:H}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),B.contentDocument&&this.iframeContentDocumentMap.set(B,B.contentDocument),this.recordCrossOriginIframes&&(null==(W=B.contentWindow)||W.addEventListener("message",this.handleMessage.bind(this))),null==(K=this.loadListener)||K.call(this,B),B.contentDocument&&B.contentDocument.adoptedStyleSheets&&B.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(B.contentDocument.adoptedStyleSheets,this.mirror.getId(B.contentDocument))},B.handleMessage=function(B){var H=B;if("rrweb"===H.data.type&&H.origin===H.data.origin&&B.source){var W=this.crossOriginIframeMap.get(B.source);if(W){var K=this.transformCrossOriginEvent(W,H.data.event);K&&this.wrappedEmit(K,H.data.isCheckout)}}},B.transformCrossOriginEvent=function(B,H){var W,K=this;switch(H.type){case OI.FullSnapshot:this.crossOriginIframeMirror.reset(B),this.crossOriginIframeStyleMirror.reset(B),this.replaceIdOnNode(H.data.node,B);var Y=H.data.node.id;return this.crossOriginIframeRootIdMap.set(B,Y),this.patchRootIdOnNode(H.data.node,Y),{timestamp:H.timestamp,type:OI.IncrementalSnapshot,data:{source:EI.Mutation,adds:[{parentId:this.mirror.getId(B),nextId:null,node:H.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case OI.Meta:case OI.Load:case OI.DomContentLoaded:return!1;case OI.Plugin:return H;case OI.Custom:return this.replaceIds(H.data.payload,B,["id","parentId","previousId","nextId"]),H;case OI.IncrementalSnapshot:switch(H.data.source){case EI.Mutation:return H.data.adds.forEach(function(H){K.replaceIds(H,B,["parentId","nextId","previousId"]),K.replaceIdOnNode(H.node,B);var W=K.crossOriginIframeRootIdMap.get(B);W&&K.patchRootIdOnNode(H.node,W)}),H.data.removes.forEach(function(H){K.replaceIds(H,B,["parentId","id"])}),H.data.attributes.forEach(function(H){K.replaceIds(H,B,["id"])}),H.data.texts.forEach(function(H){K.replaceIds(H,B,["id"])}),H;case EI.Drag:case EI.TouchMove:case EI.MouseMove:return H.data.positions.forEach(function(H){K.replaceIds(H,B,["id"])}),H;case EI.ViewportResize:return!1;case EI.MediaInteraction:case EI.MouseInteraction:case EI.Scroll:case EI.CanvasMutation:case EI.Input:return this.replaceIds(H.data,B,["id"]),H;case EI.StyleSheetRule:case EI.StyleDeclaration:return this.replaceIds(H.data,B,["id"]),this.replaceStyleIds(H.data,B,["styleId"]),H;case EI.Font:return H;case EI.Selection:return H.data.ranges.forEach(function(H){K.replaceIds(H,B,["start","end"])}),H;case EI.AdoptedStyleSheet:return this.replaceIds(H.data,B,["id"]),this.replaceStyleIds(H.data,B,["styleIds"]),null==(W=H.data.styles)||W.forEach(function(H){K.replaceStyleIds(H,B,["styleId"])}),H}}return!1},B.replace=function(B,H,W,K){for(var Y,ie=d_(K);!(Y=ie()).done;){var ce=Y.value;(Array.isArray(H[ce])||"number"==typeof H[ce])&&(Array.isArray(H[ce])?H[ce]=B.getIds(W,H[ce]):H[ce]=B.getId(W,H[ce]))}return H},B.replaceIds=function(B,H,W){return this.replace(this.crossOriginIframeMirror,B,H,W)},B.replaceStyleIds=function(B,H,W){return this.replace(this.crossOriginIframeStyleMirror,B,H,W)},B.replaceIdOnNode=function(B,H){var W=this;this.replaceIds(B,H,["id","rootId"]),"childNodes"in B&&B.childNodes.forEach(function(B){W.replaceIdOnNode(B,H)})},B.patchRootIdOnNode=function(B,H){var W=this;B.type===PI.Document||B.rootId||(B.rootId=H),"childNodes"in B&&B.childNodes.forEach(function(B){W.patchRootIdOnNode(B,H)})},e}(),lA=function(){function e(B){v_(this,"shadowDoms",new WeakSet),v_(this,"mutationCb"),v_(this,"scrollCb"),v_(this,"bypassOptions"),v_(this,"mirror"),v_(this,"restoreHandlers",[]),this.mutationCb=B.mutationCb,this.scrollCb=B.scrollCb,this.bypassOptions=B.bypassOptions,this.mirror=B.mirror,this.init()}var B=e.prototype;return B.init=function(){this.reset(),this.patchAttachShadow(Element,document)},B.addShadowRoot=function(B,H){var W=this;if(j_(B)&&!this.shadowDoms.has(B)){this.shadowDoms.add(B);var K=jM(n_({},this.bypassOptions,{doc:H,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),B);this.restoreHandlers.push(function(){return K.disconnect()}),this.restoreHandlers.push(LM(n_({},this.bypassOptions,{scrollCb:this.scrollCb,doc:B,mirror:this.mirror}))),setTimeout(function(){B.adoptedStyleSheets&&B.adoptedStyleSheets.length>0&&W.bypassOptions.stylesheetManager.adoptStyleSheets(B.adoptedStyleSheets,W.mirror.getId(KI(B))),W.restoreHandlers.push(zM({mirror:W.mirror,stylesheetManager:W.bypassOptions.stylesheetManager},B))},0)}},B.observeAttachShadow=function(B){B.contentWindow&&B.contentDocument&&this.patchAttachShadow(B.contentWindow.Element,B.contentDocument)},B.patchAttachShadow=function(B,H){var W=this;this.restoreHandlers.push(zI(B.prototype,"attachShadow",function(B){return function(K){var Y=B.call(this,K),ie=YI(this);return ie&&mM(this)&&W.addShadowRoot(ie,H),Y}}))},B.reset=function(){this.restoreHandlers.forEach(function(B){try{B()}catch(B){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e}(),cA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",uA="undefined"==typeof Uint8Array?[]:new Uint8Array(256),dA=0;dA<64;dA++)uA[cA.charCodeAt(dA)]=dA;var pA=new Map,JM=function(B,H,W){if(B&&(tA(B,H)||"object"===(void 0===B?"undefined":c_(B)))){var K=function(B,H){var W=pA.get(B);return W||(W=new Map,pA.set(B,W)),W.has(H)||W.set(H,[]),W.get(H)}(W,B.constructor.name),Y=K.indexOf(B);return-1===Y&&(Y=K.length,K.push(B)),Y}};function QM(B,H,W){return s_(B,Array)?B.map(function(B){return QM(B,H,W)}):null===B?B:s_(B,Float32Array)||s_(B,Float64Array)||s_(B,Int32Array)||s_(B,Uint32Array)||s_(B,Uint8Array)||s_(B,Uint16Array)||s_(B,Int16Array)||s_(B,Int8Array)||s_(B,Uint8ClampedArray)?{rr_type:B.constructor.name,args:[Object.values(B)]}:s_(B,ArrayBuffer)?{rr_type:B.constructor.name,base64:function(B){var H,W=new Uint8Array(B),K=W.length,Y="";for(H=0;H<K;H+=3)Y+=cA[W[H]>>2],Y+=cA[(3&W[H])<<4|W[H+1]>>4],Y+=cA[(15&W[H+1])<<2|W[H+2]>>6],Y+=cA[63&W[H+2]];return K%3==2?Y=Y.substring(0,Y.length-1)+"=":K%3==1&&(Y=Y.substring(0,Y.length-2)+"=="),Y}(B)}:s_(B,DataView)?{rr_type:B.constructor.name,args:[QM(B.buffer,H,W),B.byteOffset,B.byteLength]}:s_(B,HTMLImageElement)?{rr_type:B.constructor.name,src:B.src}:s_(B,HTMLCanvasElement)?{rr_type:"HTMLImageElement",src:B.toDataURL()}:s_(B,ImageData)?{rr_type:B.constructor.name,args:[QM(B.data,H,W),B.width,B.height]}:tA(B,H)||"object"===(void 0===B?"undefined":c_(B))?{rr_type:B.constructor.name,index:JM(B,H,W)}:B}var eA=function(B,H,W){return B.map(function(B){return QM(B,H,W)})},tA=function(B,H){var W=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(function(B){return"function"==typeof H[B]});return Boolean(W.find(function(W){return s_(B,H[W])}))};function rA(B,H,W,K){var Y=[];try{var ie=zI(B.HTMLCanvasElement.prototype,"getContext",function(B){return function(Y){for(var ie=arguments.length,ce=new Array(ie>1?ie-1:0),ue=1;ue<ie;ue++)ce[ue-1]=arguments[ue];if(!sM(this,H,W,!0)){var de=function(B){return"experimental-webgl"===B?"webgl":B}(Y);if("__context"in this||(this.__context=de),K&&["webgl","webgl2"].includes(de))if(ce[0]&&"object"===c_(ce[0])){var pe=ce[0];pe.preserveDrawingBuffer||(pe.preserveDrawingBuffer=!0)}else ce.splice(0,1,{preserveDrawingBuffer:!0})}return B.apply(this,[].concat([Y],ce))}});Y.push(ie)}catch(B){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){Y.forEach(function(B){return B()})}}function nA(B,H,W,K,Y,ie){for(var ce,a=function(){var de=ce.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(de))return"continue";try{if("function"!=typeof B[de])return"continue";var pe=zI(B,de,function(B){return function(){for(var ce=arguments.length,ue=new Array(ce),pe=0;pe<ce;pe++)ue[pe]=arguments[pe];var fe=B.apply(this,ue);if(JM(fe,ie,this),"tagName"in this.canvas&&!sM(this.canvas,K,Y,!0)){var ke=eA(ue,ie,this),Je={type:H,property:de,args:ke};W(this.canvas,Je)}return fe}});ue.push(pe)}catch(K){var fe=eM(B,de,{set:function(B){W(this.canvas,{type:H,property:de,args:[B],setter:!0})}});ue.push(fe)}},ue=[],de=d_(Object.getOwnPropertyNames(B));!(ce=de()).done;)a();return ue}var fA,mA="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",gA="undefined"!=typeof window&&window.Blob&&new Blob([(fA=mA,Uint8Array.from(atob(fA),function(B){return B.charCodeAt(0)}))],{type:"text/javascript;charset=utf-8"});function aA(B){var H;try{if(!(H=gA&&(window.URL||window.webkitURL).createObjectURL(gA)))throw"";var W=new Worker(H,{name:null==B?void 0:B.name});return W.addEventListener("error",function(){(window.URL||window.webkitURL).revokeObjectURL(H)}),W}catch(H){return new Worker("data:text/javascript;base64,"+mA,{name:null==B?void 0:B.name})}finally{H&&(window.URL||window.webkitURL).revokeObjectURL(H)}}var vA,yA,bA,_A=function(){function e(B){var H=this;v_(this,"pendingCanvasMutations",new Map),v_(this,"rafStamps",{latestId:0,invokeId:null}),v_(this,"mirror"),v_(this,"mutationCb"),v_(this,"resetObservers"),v_(this,"frozen",!1),v_(this,"locked",!1),v_(this,"processMutation",function(B,W){!(H.rafStamps.invokeId&&H.rafStamps.latestId!==H.rafStamps.invokeId)&&H.rafStamps.invokeId||(H.rafStamps.invokeId=H.rafStamps.latestId),H.pendingCanvasMutations.has(B)||H.pendingCanvasMutations.set(B,[]),H.pendingCanvasMutations.get(B).push(W)});var W=B.sampling,K=void 0===W?"all":W,Y=B.win,ie=B.blockClass,ce=B.blockSelector,ue=B.recordCanvas,de=B.dataURLOptions;this.mutationCb=B.mutationCb,this.mirror=B.mirror,ue&&"all"===K&&this.initCanvasMutationObserver(Y,ie,ce),ue&&"number"==typeof K&&this.initCanvasFPSObserver(K,Y,ie,ce,{dataURLOptions:de})}var B=e.prototype;return B.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},B.freeze=function(){this.frozen=!0},B.unfreeze=function(){this.frozen=!1},B.lock=function(){this.locked=!0},B.unlock=function(){this.locked=!1},B.initCanvasFPSObserver=function(B,H,W,K,Y){var ie=this,ce=rA(H,W,K,!0),ue=new Map,de=new aA;de.onmessage=function(B){var H=B.data.id;if(ue.set(H,!1),"base64"in B.data){var W=B.data,K=W.base64,Y=W.type,ce=W.width,de=W.height;ie.mutationCb({id:H,type:AI["2D"],commands:[{property:"clearRect",args:[0,0,ce,de]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:K}],type:Y}]},0,0]}]})}};var pe,fe=1e3/B,ke=0,d=function(B){if(ke&&B-ke<fe)pe=requestAnimationFrame(d);else{ke=B;var ce,Je=ie;(ce=[],H.document.querySelectorAll("canvas").forEach(function(B){sM(B,W,K,!0)||ce.push(B)}),ce).forEach(e_(function(B){var H,W,K,ie;return f_(this,function(ce){switch(ce.label){case 0:return W=Je.mirror.getId(B),ue.get(W)||0===B.width||0===B.height?[2]:(ue.set(W,!0),["webgl","webgl2"].includes(B.__context)&&(K=B.getContext(B.__context),!1===(null==(H=null==K?void 0:K.getContextAttributes())?void 0:H.preserveDrawingBuffer)&&K.clear(K.COLOR_BUFFER_BIT)),[4,createImageBitmap(B)]);case 1:return ie=ce.sent(),de.postMessage({id:W,bitmap:ie,width:B.width,height:B.height,dataURLOptions:Y.dataURLOptions},[ie]),[2]}})})),pe=requestAnimationFrame(d)}};pe=requestAnimationFrame(d),this.resetObservers=function(){ce(),cancelAnimationFrame(pe)}},B.initCanvasMutationObserver=function(B,H,W){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var K=rA(B,H,W,!1),Y=function(B,H,W,K){for(var Y,i=function(){var ce=Y.value;try{if("function"!=typeof H.CanvasRenderingContext2D.prototype[ce])return"continue";var ue=zI(H.CanvasRenderingContext2D.prototype,ce,function(Y){return function(){for(var ie=this,ue=arguments.length,de=new Array(ue),pe=0;pe<ue;pe++)de[pe]=arguments[pe];return sM(this.canvas,W,K,!0)||setTimeout(function(){var W=eA(de,H,ie);B(ie.canvas,{type:AI["2D"],property:ce,args:W})},0),Y.apply(this,de)}});ie.push(ue)}catch(W){var de=eM(H.CanvasRenderingContext2D.prototype,ce,{set:function(H){B(this.canvas,{type:AI["2D"],property:ce,args:[H],setter:!0})}});ie.push(de)}},ie=[],ce=d_(Object.getOwnPropertyNames(H.CanvasRenderingContext2D.prototype));!(Y=ce()).done;)i();return function(){ie.forEach(function(B){return B()})}}(this.processMutation.bind(this),B,H,W),ie=function(B,H,W,K){var Y,ie,ce=[];return(Y=ce).push.apply(Y,[].concat(nA(H.WebGLRenderingContext.prototype,AI.WebGL,B,W,K,H))),void 0!==H.WebGL2RenderingContext&&(ie=ce).push.apply(ie,[].concat(nA(H.WebGL2RenderingContext.prototype,AI.WebGL2,B,W,K,H))),function(){ce.forEach(function(B){return B()})}}(this.processMutation.bind(this),B,H,W);this.resetObservers=function(){K(),Y(),ie()}},B.startPendingCanvasMutationFlusher=function(){var B=this;requestAnimationFrame(function(){return B.flushPendingCanvasMutations()})},B.startRAFTimestamping=function(){var B=this,t=function(H){B.rafStamps.latestId=H,requestAnimationFrame(t)};requestAnimationFrame(t)},B.flushPendingCanvasMutations=function(){var B=this;this.pendingCanvasMutations.forEach(function(H,W){var K=B.mirror.getId(W);B.flushPendingCanvasMutationFor(W,K)}),requestAnimationFrame(function(){return B.flushPendingCanvasMutations()})},B.flushPendingCanvasMutationFor=function(B,H){if(!this.frozen&&!this.locked){var W=this.pendingCanvasMutations.get(B);if(W&&-1!==H){var K=W.map(function(B){return a_(B,["type"])}),Y=W[0].type;this.mutationCb({id:H,type:Y,commands:K}),this.pendingCanvasMutations.delete(B)}}},e}(),xA=function(){function e(B){v_(this,"trackedLinkElements",new WeakSet),v_(this,"mutationCb"),v_(this,"adoptedStyleSheetCb"),v_(this,"styleMirror",new CI),this.mutationCb=B.mutationCb,this.adoptedStyleSheetCb=B.adoptedStyleSheetCb}var B=e.prototype;return B.attachLinkElement=function(B,H){"_cssText"in H.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:H.id,attributes:H.attributes}]}),this.trackLinkElement(B)},B.trackLinkElement=function(B){this.trackedLinkElements.has(B)||(this.trackedLinkElements.add(B),this.trackStylesheetInLinkElement(B))},B.adoptStyleSheets=function(B,H){var W,n=function(){var B=K.value,H=void 0;W.styleMirror.has(B)?H=W.styleMirror.getId(B):(H=W.styleMirror.add(B),ie.push({styleId:H,rules:Array.from(B.rules||CSSRule,function(H,W){return{rule:D_(H,B.href),index:W}})})),Y.styleIds.push(H)};if(0!==B.length){for(var K,Y={id:H,styleIds:[]},ie=[],ce=d_(B);!(K=ce()).done;)W=this,n();ie.length>0&&(Y.styles=ie),this.adoptedStyleSheetCb(Y)}},B.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},B.cleanupStylesheetsForRemovedNode=function(B){var H=this;try{if(B.nodeType===Node.DOCUMENT_NODE){var W=B;if(W.adoptedStyleSheets)for(var K,Y=d_(W.adoptedStyleSheets);!(K=Y()).done;){var ie=K.value;this.styleMirror.remove(ie)}}if("STYLE"===B.nodeName){var ce=B;ce.sheet&&this.styleMirror.remove(ce.sheet)}if("LINK"===B.nodeName&&"stylesheet"===B.rel){var ue=B;ue.sheet&&this.styleMirror.remove(ue.sheet)}B.childNodes&&B.childNodes.forEach(function(B){H.cleanupStylesheetsForRemovedNode(B)})}catch(B){}},B.trackStylesheetInLinkElement=function(B){},e}(),SA=function(){function e(){v_(this,"nodeMap",new WeakMap),v_(this,"active",!1)}var B=e.prototype;return B.inOtherBuffer=function(B,H){var W=this.nodeMap.get(B);return W&&Array.from(W).some(function(B){return B!==H})},B.add=function(B,H){var W=this;this.active||(this.active=!0,requestAnimationFrame(function(){W.nodeMap=new WeakMap,W.active=!1})),this.nodeMap.set(B,(this.nodeMap.get(B)||new Set).add(H))},B.destroy=function(){},e}();function hA(B){try{var H=new URL(B).origin;return"null"!==H?H:null}catch(B){return null}}var CA=!1;try{if(2!==Array.from([1],function(B){return 2*B})[0]){var MA=document.createElement("iframe");document.body.appendChild(MA),Array.from=(null==(Fw=MA.contentWindow)?void 0:Fw.Array.from)||Array.from,document.body.removeChild(MA)}}catch(K){console.debug("Unable to override Array.from",K)}var IA,PA,LA=new Xw;function wA(B){void 0===B&&(B={});var H,W=B.emit,K=B.checkoutEveryNms,Y=B.checkoutEveryNth,ie=B.blockClass,ce=void 0===ie?"rr-block":ie,ue=B.blockSelector,de=void 0===ue?null:ue,pe=B.ignoreClass,fe=void 0===pe?"rr-ignore":pe,ke=B.ignoreSelector,Je=void 0===ke?null:ke,rt=B.maskTextClass,st=void 0===rt?"rr-mask":rt,at=B.maskTextSelector,lt=void 0===at?null:at,pt=B.inlineStylesheet,ht=void 0===pt||pt,mt=B.maskAllInputs,vt=B.maskInputOptions,yt=B.slimDOMOptions,bt=B.maskInputFn,wt=B.maskTextFn,xt=B.hooks,St=B.packFn,kt=B.sampling,Et=void 0===kt?{}:kt,At=B.dataURLOptions,Pt=void 0===At?{}:At,Lt=B.mousemoveWait,jt=B.recordDOM,Ft=void 0===jt||jt,Nt=B.recordCanvas,Dt=void 0!==Nt&&Nt,$t=B.recordCrossOriginIframes,zt=void 0!==$t&&$t,Bt=B.allowedIframeOrigins,Vt=B.recordAfter,Xt=void 0===Vt?"DOMContentLoaded"===B.recordAfter?B.recordAfter:"load":Vt,Jt=B.userTriggeredOnInput,Qt=void 0!==Jt&&Jt,er=B.collectFonts,tr=void 0!==er&&er,rr=B.inlineImages,Er=void 0!==rr&&rr,Mr=B.plugins,Ar=B.keepIframeSrcFn,Fr=void 0===Ar?function(){return!1}:Ar,Dr=B.ignoreCSSAttributes,Hr=void 0===Dr?new Set([]):Dr,Vr=B.errorHandler;LI=Vr,zt&&Bt&&Bt.length>0&&(H=function(B){if(!Array.isArray(B)||0===B.length)throw new Error("[rrweb] allowedIframeOrigins must be a non-empty array of origin strings.");for(var H=new Set,W=0;W<B.length;W++){var K=B[W];if("string"!=typeof K)throw new Error("[rrweb] allowedIframeOrigins["+W+"] must be a string, got "+(void 0===K?"undefined":c_(K))+".");var Y=hA(K);Y&&H.add(Y)}return Object.freeze(H)}(Bt),0===H.size&&(H=void 0));var qr=!zt||window.parent===window,Gr=!1;if(!qr)try{window.parent.document&&(Gr=!1)}catch(B){Gr=!0}if(qr&&!W)throw new Error("emit function is required");if(!qr&&!Gr)return function(){};void 0!==Lt&&void 0===Et.mousemove&&(Et.mousemove=Lt),LA.reset();var Xr,Kr=!0===mt?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:void 0!==vt?vt:{password:!0},Yr=!0===yt||"all"===yt?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===yt,headMetaDescKeywords:"all"===yt,headTitleMutations:"all"===yt}:yt||{};!function(B){void 0===B&&(B=window),"NodeList"in B&&!B.NodeList.prototype.forEach&&(B.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in B&&!B.DOMTokenList.prototype.forEach&&(B.DOMTokenList.prototype.forEach=Array.prototype.forEach)}();var Jr=0,oe=function(B){for(var H,W=d_(Mr||[]);!(H=W()).done;){var K=H.value;K.eventProcessor&&(B=K.eventProcessor(B))}return St&&!Gr&&(B=St(B)),B};vA=function(B,ie){var ce,ue=B;if(ue.timestamp=kI(),!(null==(ce=XI[0])?void 0:ce.isFrozen())||ue.type===OI.FullSnapshot||ue.type===OI.IncrementalSnapshot&&ue.data.source===EI.Mutation||XI.forEach(function(B){return B.unfreeze()}),qr)null==W||W(oe(ue),ie);else if(Gr){var de={type:"rrweb",event:oe(ue),origin:window.location.origin,isCheckout:ie};if(H)for(var pe,fe=d_(H);!(pe=fe()).done;){var ke=pe.value;window.parent.postMessage(de,ke)}else window.parent.postMessage(de,"*")}if(ue.type===OI.FullSnapshot)Xr=ue,Jr=0;else if(ue.type===OI.IncrementalSnapshot){if(ue.data.source===EI.Mutation&&ue.data.isAttachIframe)return;Jr++;var Je=Y&&Jr>=Y,rt=K&&ue.timestamp-Xr.timestamp>K;(Je||rt)&&yA(!0)}};for(var Qr,se=function(B){vA({type:OI.IncrementalSnapshot,data:n_({source:EI.Mutation},B)})},ae=function(B){return vA({type:OI.IncrementalSnapshot,data:n_({source:EI.Scroll},B)})},le=function(B){return vA({type:OI.IncrementalSnapshot,data:n_({source:EI.CanvasMutation},B)})},en=new xA({mutationCb:se,adoptedStyleSheetCb:function(B){return vA({type:OI.IncrementalSnapshot,data:n_({source:EI.AdoptedStyleSheet},B)})}}),rn=new sA({mirror:LA,mutationCb:se,stylesheetManager:en,recordCrossOriginIframes:zt,wrappedEmit:vA}),nn=d_(Mr||[]);!(Qr=nn()).done;){var cn=Qr.value;cn.getMirror&&cn.getMirror({nodeMirror:LA,crossOriginIframeMirror:rn.crossOriginIframeMirror,crossOriginIframeStyleMirror:rn.crossOriginIframeStyleMirror})}var un=new SA;bA=new _A({recordCanvas:Dt,mutationCb:le,win:window,blockClass:ce,blockSelector:de,mirror:LA,sampling:Et.canvas,dataURLOptions:Pt});var dn=new lA({mutationCb:se,scrollCb:ae,bypassOptions:{blockClass:ce,blockSelector:de,maskTextClass:st,maskTextSelector:lt,inlineStylesheet:ht,maskInputOptions:Kr,dataURLOptions:Pt,maskTextFn:wt,maskInputFn:bt,recordCanvas:Dt,inlineImages:Er,sampling:Et,slimDOMOptions:Yr,iframeManager:rn,stylesheetManager:en,canvasManager:bA,keepIframeSrcFn:Fr,processedNodeManager:un},mirror:LA});yA=function(B){if(void 0===B&&(B=!1),Ft){vA({type:OI.Meta,data:{href:window.location.href,width:oM(),height:nM()}},B),en.reset(),dn.init(),XI.forEach(function(B){return B.lock()});var H=function(B,H){var W=H||{},K=W.mirror,Y=void 0===K?new Xw:K,ie=W.blockClass,ce=W.blockSelector,ue=W.maskTextClass,de=W.maskTextSelector,pe=W.inlineStylesheet,fe=W.inlineImages,ke=W.recordCanvas,Je=W.maskAllInputs,rt=void 0!==Je&&Je,st=W.slimDOM,at=void 0!==st&&st,lt=W.keepIframeSrcFn;return dS(B,{doc:B,mirror:Y,blockClass:void 0===ie?"rr-block":ie,blockSelector:void 0===ce?null:ce,maskTextClass:void 0===ue?"rr-mask":ue,maskTextSelector:void 0===de?null:de,skipChild:!1,inlineStylesheet:void 0===pe||pe,maskInputOptions:!0===rt?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:!1===rt?{password:!0}:rt,maskTextFn:W.maskTextFn,maskInputFn:W.maskInputFn,slimDOMOptions:!0===at||"all"===at?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===at,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===at?{}:at,dataURLOptions:W.dataURLOptions,inlineImages:void 0!==fe&&fe,recordCanvas:void 0!==ke&&ke,preserveWhiteSpace:W.preserveWhiteSpace,onSerialize:W.onSerialize,onIframeLoad:W.onIframeLoad,iframeLoadTimeout:W.iframeLoadTimeout,onStylesheetLoad:W.onStylesheetLoad,stylesheetLoadTimeout:W.stylesheetLoadTimeout,keepIframeSrcFn:void 0===lt?function(){return!1}:lt,newlyAddedElement:!1})}(document,{mirror:LA,blockClass:ce,blockSelector:de,maskTextClass:st,maskTextSelector:lt,inlineStylesheet:ht,maskAllInputs:Kr,maskTextFn:wt,maskInputFn:bt,slimDOM:Yr,dataURLOptions:Pt,recordCanvas:Dt,inlineImages:Er,onSerialize:function(B){uM(B,LA)&&rn.addIframe(B),pM(B,LA)&&en.trackLinkElement(B),dM(B)&&dn.addShadowRoot(YI(B),document)},onIframeLoad:function(B,H){rn.attachIframe(B,H),dn.observeAttachShadow(B)},onStylesheetLoad:function(B,H){en.attachLinkElement(B,H)},keepIframeSrcFn:Fr});if(!H)return console.warn("Failed to snapshot the document");vA({type:OI.FullSnapshot,data:{node:H,initialOffset:rM(window)}},B),XI.forEach(function(B){return B.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&en.adoptStyleSheets(document.adoptedStyleSheets,LA.getId(document))}};try{var fn=[],ge=function(B){var H;return AM(VM)({mutationCb:se,mousemoveCb:function(B,H){return vA({type:OI.IncrementalSnapshot,data:{source:H,positions:B}})},mouseInteractionCb:function(B){return vA({type:OI.IncrementalSnapshot,data:n_({source:EI.MouseInteraction},B)})},scrollCb:ae,viewportResizeCb:function(B){return vA({type:OI.IncrementalSnapshot,data:n_({source:EI.ViewportResize},B)})},inputCb:function(B){return vA({type:OI.IncrementalSnapshot,data:n_({source:EI.Input},B)})},mediaInteractionCb:function(B){return vA({type:OI.IncrementalSnapshot,data:n_({source:EI.MediaInteraction},B)})},styleSheetRuleCb:function(B){return vA({type:OI.IncrementalSnapshot,data:n_({source:EI.StyleSheetRule},B)})},styleDeclarationCb:function(B){return vA({type:OI.IncrementalSnapshot,data:n_({source:EI.StyleDeclaration},B)})},canvasMutationCb:le,fontCb:function(B){return vA({type:OI.IncrementalSnapshot,data:n_({source:EI.Font},B)})},selectionCb:function(B){vA({type:OI.IncrementalSnapshot,data:n_({source:EI.Selection},B)})},customElementCb:function(B){vA({type:OI.IncrementalSnapshot,data:n_({source:EI.CustomElement},B)})},blockClass:ce,ignoreClass:fe,ignoreSelector:Je,maskTextClass:st,maskTextSelector:lt,maskInputOptions:Kr,inlineStylesheet:ht,sampling:Et,recordDOM:Ft,recordCanvas:Dt,inlineImages:Er,userTriggeredOnInput:Qt,collectFonts:tr,doc:B,maskInputFn:bt,maskTextFn:wt,keepIframeSrcFn:Fr,blockSelector:de,slimDOMOptions:Yr,dataURLOptions:Pt,mirror:LA,iframeManager:rn,stylesheetManager:en,shadowDomManager:dn,processedNodeManager:un,canvasManager:bA,ignoreCSSAttributes:Hr,plugins:(null==(H=null==Mr?void 0:Mr.filter(function(B){return B.observer}))?void 0:H.map(function(B){return{observer:B.observer,options:B.options,callback:function(H){return vA({type:OI.Plugin,data:{plugin:B.name,payload:H}})}}}))||[]},xt)};rn.addLoadListener(function(B){try{var H=B.contentDocument,W=ge(H);fn.push(W);var K=rn.getObserverCleanup(B);rn.setObserverCleanup(B,function(){if(K)try{K()}catch(B){}try{W();var B=fn.indexOf(W);-1!==B&&fn.splice(B,1),function(B){for(var H=XI.length-1;H>=0;H--)XI[H].getDoc()===B&&XI.splice(H,1)}(H)}catch(B){}})}catch(B){console.warn(B)}});var ve=function(){yA(),fn.push(ge(document)),CA=!0};return"interactive"===document.readyState||"complete"===document.readyState?ve():(fn.push(ZI("DOMContentLoaded",function(){vA({type:OI.DomContentLoaded,data:{}}),"DOMContentLoaded"===Xt&&ve()})),fn.push(ZI("load",function(){vA({type:OI.Load,data:{}}),"load"===Xt&&ve()},window))),function(){fn.forEach(function(B){try{B()}catch(B){String(B).toLowerCase().includes("cross-origin")||console.warn(B)}}),un.destroy(),CA=!1,LI=void 0}}catch(B){console.warn(B)}}wA.addCustomEvent=function(B,H){if(!CA)throw new Error("please add custom event after start recording");vA({type:OI.Custom,data:{tag:B,payload:H}})},wA.freezePage=function(){XI.forEach(function(B){return B.freeze()})},wA.takeFullSnapshot=function(B){if(!CA)throw new Error("please take full snapshot after start recording");yA(B)},wA.mirror=LA,(PA=IA||(IA={}))[PA.NotStarted=0]="NotStarted",PA[PA.Running=1]="Running",PA[PA.Stopped=2]="Stopped";var jA={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},FA={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},NA={};var DA={};function OA(B,H,W){var K,Y=B+"."+String(W);if(DA[Y])return DA[Y].call(H);var ie=function kA(B){if(NA[B])return NA[B];var H=globalThis[B],W=H.prototype,K=B in jA?jA[B]:void 0,Y=Boolean(K&&K.every(function(B){var H,K;return Boolean(null==(K=null==(H=Object.getOwnPropertyDescriptor(W,B))?void 0:H.get)?void 0:K.toString().includes("[native code]"))})),ie=B in FA?FA[B]:void 0,ce=Boolean(ie&&ie.every(function(B){var H;return"function"==typeof W[B]&&(null==(H=W[B])?void 0:H.toString().includes("[native code]"))}));if(Y&&ce&&!globalThis.Zone)return NA[B]=H.prototype,H.prototype;try{var ue=document.createElement("iframe");document.body.appendChild(ue);var de=ue.contentWindow;if(!de)return H.prototype;var pe=de[B].prototype;return document.body.removeChild(ue),pe?NA[B]=pe:W}catch(B){return W}}(B),ce=null==(K=Object.getOwnPropertyDescriptor(ie,W))?void 0:K.get;return ce?(DA[Y]=ce,ce.call(H)):H[W]}var EA=function(B){return OA("Node",B,"parentNode")};function TA(B,H,W){if(!B)return!1;if(B.nodeType!==B.ELEMENT_NODE)return TA(EA(B),H);for(var K=B.classList.length;K--;){var Y=B.classList[K];if(H.test(Y))return!0}return TA(EA(B),H)}var $A={exports:{}},zA=String,AA=function(){return{isColorSupported:!1,reset:zA,bold:zA,dim:zA,italic:zA,underline:zA,inverse:zA,hidden:zA,strikethrough:zA,black:zA,red:zA,green:zA,yellow:zA,blue:zA,magenta:zA,cyan:zA,white:zA,gray:zA,bgBlack:zA,bgRed:zA,bgGreen:zA,bgYellow:zA,bgBlue:zA,bgMagenta:zA,bgCyan:zA,bgWhite:zA}};$A.exports=AA(),$A.exports.createColors=AA;var BA=$A.exports,UA=function RA(B){if(B.__esModule)return B;var H=B.default;if("function"==typeof H){var W=function e(){return s_(this,e)?Reflect.construct(H,arguments,this.constructor):H.apply(this,arguments)};W.prototype=H.prototype}else W={};return Object.defineProperty(W,"__esModule",{value:!0}),Object.keys(B).forEach(function(H){var K=Object.getOwnPropertyDescriptor(B,H);Object.defineProperty(W,H,K.get?K:{enumerable:!0,get:function(){return B[H]}})}),W}(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),HA=BA,VA=UA,WA=function(B){function t(H,W,K,Y,ie,ce){var ue;return(ue=B.call(this,H)||this).name="CssSyntaxError",ue.reason=H,ie&&(ue.file=ie),Y&&(ue.source=Y),ce&&(ue.plugin=ce),void 0!==W&&void 0!==K&&("number"==typeof W?(ue.line=W,ue.column=K):(ue.line=W.line,ue.column=W.column,ue.endLine=K.line,ue.endColumn=K.column)),ue.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(ue,t),ue}i_(t,B);var H=t.prototype;return H.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},H.showSourceCode=function(B){var H=this;if(!this.source)return"";var W=this.source;null==B&&(B=HA.isColorSupported),VA&&B&&(W=VA(W));var K,Y,ie=W.split(/\r?\n/),ce=Math.max(this.line-3,0),ue=Math.min(this.line+2,ie.length),de=String(ue).length;if(B){var pe=HA.createColors(!0),fe=pe.bold,ke=pe.gray,Je=pe.red;K=function(B){return fe(Je(B))},Y=function(B){return ke(B)}}else K=Y=function(B){return B};return ie.slice(ce,ue).map(function(B,W){var ie=ce+1+W,ue=" "+(" "+ie).slice(-de)+" | ";if(ie===H.line){var pe=Y(ue.replace(/\d/g," "))+B.slice(0,H.column-1).replace(/[^\t]/g," ");return K(">")+Y(ue)+B+"\n "+pe+K("^")}return" "+Y(ue)+B}).join("\n")},H.toString=function(){var B=this.showSourceCode();return B&&(B="\n\n"+B+"\n"),this.name+": "+this.message+B},t}(u_(Error)),GA=WA;WA.default=WA;var ZA={};ZA.isClean=Symbol("isClean"),ZA.my=Symbol("my");var KA={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1},YA=function(){function e(B){this.builder=B}var B=e.prototype;return B.atrule=function(B,H){var W="@"+B.name,K=B.params?this.rawValue(B,"params"):"";if(void 0!==B.raws.afterName?W+=B.raws.afterName:K&&(W+=" "),B.nodes)this.block(B,W+K);else{var Y=(B.raws.between||"")+(H?";":"");this.builder(W+K+Y,B)}},B.beforeAfter=function(B,H){var W;W="decl"===B.type?this.raw(B,null,"beforeDecl"):"comment"===B.type?this.raw(B,null,"beforeComment"):"before"===H?this.raw(B,null,"beforeRule"):this.raw(B,null,"beforeClose");for(var K=B.parent,Y=0;K&&"root"!==K.type;)Y+=1,K=K.parent;if(W.includes("\n")){var ie=this.raw(B,null,"indent");if(ie.length)for(var ce=0;ce<Y;ce++)W+=ie}return W},B.block=function(B,H){var W,K=this.raw(B,"between","beforeOpen");this.builder(H+K+"{",B,"start"),B.nodes&&B.nodes.length?(this.body(B),W=this.raw(B,"after")):W=this.raw(B,"after","emptyBody"),W&&this.builder(W),this.builder("}",B,"end")},B.body=function(B){for(var H=B.nodes.length-1;H>0&&"comment"===B.nodes[H].type;)H-=1;for(var W=this.raw(B,"semicolon"),K=0;K<B.nodes.length;K++){var Y=B.nodes[K],ie=this.raw(Y,"before");ie&&this.builder(ie),this.stringify(Y,H!==K||W)}},B.comment=function(B){var H=this.raw(B,"left","commentLeft"),W=this.raw(B,"right","commentRight");this.builder("/*"+H+B.text+W+"*/",B)},B.decl=function(B,H){var W=this.raw(B,"between","colon"),K=B.prop+W+this.rawValue(B,"value");B.important&&(K+=B.raws.important||" !important"),H&&(K+=";"),this.builder(K,B)},B.document=function(B){this.body(B)},B.raw=function(B,H,W){var K;if(W||(W=H),H&&void 0!==(K=B.raws[H]))return K;var Y=B.parent;if("before"===W){if(!Y||"root"===Y.type&&Y.first===B)return"";if(Y&&"document"===Y.type)return""}if(!Y)return KA[W];var ie=B.root();if(ie.rawCache||(ie.rawCache={}),void 0!==ie.rawCache[W])return ie.rawCache[W];if("before"===W||"after"===W)return this.beforeAfter(B,W);var ce,ue="raw"+((ce=W)[0].toUpperCase()+ce.slice(1));return this[ue]?K=this[ue](ie,B):ie.walk(function(B){if(void 0!==(K=B.raws[H]))return!1}),void 0===K&&(K=KA[W]),ie.rawCache[W]=K,K},B.rawBeforeClose=function(B){var H;return B.walk(function(B){if(B.nodes&&B.nodes.length>0&&void 0!==B.raws.after)return(H=B.raws.after).includes("\n")&&(H=H.replace(/[^\n]+$/,"")),!1}),H&&(H=H.replace(/\S/g,"")),H},B.rawBeforeComment=function(B,H){var W;return B.walkComments(function(B){if(void 0!==B.raws.before)return(W=B.raws.before).includes("\n")&&(W=W.replace(/[^\n]+$/,"")),!1}),void 0===W?W=this.raw(H,null,"beforeDecl"):W&&(W=W.replace(/\S/g,"")),W},B.rawBeforeDecl=function(B,H){var W;return B.walkDecls(function(B){if(void 0!==B.raws.before)return(W=B.raws.before).includes("\n")&&(W=W.replace(/[^\n]+$/,"")),!1}),void 0===W?W=this.raw(H,null,"beforeRule"):W&&(W=W.replace(/\S/g,"")),W},B.rawBeforeOpen=function(B){var H;return B.walk(function(B){if("decl"!==B.type&&void 0!==(H=B.raws.between))return!1}),H},B.rawBeforeRule=function(B){var H;return B.walk(function(W){if(W.nodes&&(W.parent!==B||B.first!==W)&&void 0!==W.raws.before)return(H=W.raws.before).includes("\n")&&(H=H.replace(/[^\n]+$/,"")),!1}),H&&(H=H.replace(/\S/g,"")),H},B.rawColon=function(B){var H;return B.walkDecls(function(B){if(void 0!==B.raws.between)return H=B.raws.between.replace(/[^\s:]/g,""),!1}),H},B.rawEmptyBody=function(B){var H;return B.walk(function(B){if(B.nodes&&0===B.nodes.length&&void 0!==(H=B.raws.after))return!1}),H},B.rawIndent=function(B){return B.raws.indent?B.raws.indent:(B.walk(function(W){var K=W.parent;if(K&&K!==B&&K.parent&&K.parent===B&&void 0!==W.raws.before){var Y=W.raws.before.split("\n");return H=(H=Y[Y.length-1]).replace(/\S/g,""),!1}}),H);var H},B.rawSemicolon=function(B){var H;return B.walk(function(B){if(B.nodes&&B.nodes.length&&"decl"===B.last.type&&void 0!==(H=B.raws.semicolon))return!1}),H},B.rawValue=function(B,H){var W=B[H],K=B.raws[H];return K&&K.value===W?K.raw:W},B.root=function(B){this.body(B),B.raws.after&&this.builder(B.raws.after)},B.rule=function(B){this.block(B,this.rawValue(B,"selector")),B.raws.ownSemicolon&&this.builder(B.raws.ownSemicolon,B,"end")},B.stringify=function(B,H){if(!this[B.type])throw new Error("Unknown AST node type "+B.type+". Maybe you need to change PostCSS stringifier.");this[B.type](B,H)},e}(),JA=YA;YA.default=YA;var QA=JA;function qA(B,H){new QA(H).stringify(B)}var eT=qA;qA.default=qA;var tT=ZA.isClean,rT=ZA.my,nT=GA,oT=JA,iT=eT;function XA(B,H){var W=new B.constructor;for(var K in B)if(Object.prototype.hasOwnProperty.call(B,K)&&"proxyCache"!==K){var Y=B[K],ie=void 0===Y?"undefined":c_(Y);"parent"===K&&"object"===ie?H&&(W[K]=H):"source"===K?W[K]=Y:Array.isArray(Y)?W[K]=Y.map(function(B){return XA(B,W)}):("object"===ie&&null!==Y&&(Y=XA(Y)),W[K]=Y)}return W}var sT=function(){function e(B){for(var H in void 0===B&&(B={}),this.raws={},this[tT]=!1,this[rT]=!0,B)if("nodes"===H){this.nodes=[];for(var W,K=d_(B[H]);!(W=K()).done;){var Y=W.value;"function"==typeof Y.clone?this.append(Y.clone()):this.append(Y)}}else this[H]=B[H]}var B=e.prototype;return B.addToError=function(B){if(B.postcssNode=this,B.stack&&this.source&&/\n\s{4}at /.test(B.stack)){var H=this.source;B.stack=B.stack.replace(/\n\s{4}at /,"$&"+H.input.from+":"+H.start.line+":"+H.start.column+"$&")}return B},B.after=function(B){return this.parent.insertAfter(this,B),this},B.assign=function(B){for(var H in void 0===B&&(B={}),B)this[H]=B[H];return this},B.before=function(B){return this.parent.insertBefore(this,B),this},B.cleanRaws=function(B){delete this.raws.before,delete this.raws.after,B||delete this.raws.between},B.clone=function(B){void 0===B&&(B={});var H=XA(this);for(var W in B)H[W]=B[W];return H},B.cloneAfter=function(B){void 0===B&&(B={});var H=this.clone(B);return this.parent.insertAfter(this,H),H},B.cloneBefore=function(B){void 0===B&&(B={});var H=this.clone(B);return this.parent.insertBefore(this,H),H},B.error=function(B,H){if(void 0===H&&(H={}),this.source){var W=this.rangeBy(H),K=W.end,Y=W.start;return this.source.input.error(B,{column:Y.column,line:Y.line},{column:K.column,line:K.line},H)}return new nT(B)},B.getProxyProcessor=function(){return{get:function(B,H){return"proxyOf"===H?B:"root"===H?function(){return B.root().toProxy()}:B[H]},set:function(B,H,W){return B[H]===W||(B[H]=W,"prop"!==H&&"value"!==H&&"name"!==H&&"params"!==H&&"important"!==H&&"text"!==H||B.markDirty()),!0}}},B.markDirty=function(){if(this[tT]){this[tT]=!1;for(var B=this;B=B.parent;)B[tT]=!1}},B.next=function(){if(this.parent){var B=this.parent.index(this);return this.parent.nodes[B+1]}},B.positionBy=function(B,H){var W=this.source.start;if(B.index)W=this.positionInside(B.index,H);else if(B.word){var K=(H=this.toString()).indexOf(B.word);-1!==K&&(W=this.positionInside(K,H))}return W},B.positionInside=function(B,H){for(var W=H||this.toString(),K=this.source.start.column,Y=this.source.start.line,ie=0;ie<B;ie++)"\n"===W[ie]?(K=1,Y+=1):K+=1;return{column:K,line:Y}},B.prev=function(){if(this.parent){var B=this.parent.index(this);return this.parent.nodes[B-1]}},B.rangeBy=function(B){var H={column:this.source.start.column,line:this.source.start.line},W=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:H.column+1,line:H.line};if(B.word){var K=this.toString(),Y=K.indexOf(B.word);-1!==Y&&(H=this.positionInside(Y,K),W=this.positionInside(Y+B.word.length,K))}else B.start?H={column:B.start.column,line:B.start.line}:B.index&&(H=this.positionInside(B.index)),B.end?W={column:B.end.column,line:B.end.line}:"number"==typeof B.endIndex?W=this.positionInside(B.endIndex):B.index&&(W=this.positionInside(B.index+1));return(W.line<H.line||W.line===H.line&&W.column<=H.column)&&(W={column:H.column+1,line:H.line}),{end:W,start:H}},B.raw=function(B,H){return(new oT).raw(this,B,H)},B.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},B.replaceWith=function(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];if(this.parent){for(var K,Y=this,ie=!1,ce=d_(H);!(K=ce()).done;){var ue=K.value;ue===this?ie=!0:ie?(this.parent.insertAfter(Y,ue),Y=ue):this.parent.insertBefore(Y,ue)}ie||this.remove()}return this},B.root=function(){for(var B=this;B.parent&&"document"!==B.parent.type;)B=B.parent;return B},B.toJSON=function(B,H){var W={},K=null==H;H=H||new Map;var Y=0;for(var ie in this)if(Object.prototype.hasOwnProperty.call(this,ie)&&"parent"!==ie&&"proxyCache"!==ie){var ce=this[ie];if(Array.isArray(ce))W[ie]=ce.map(function(B){return"object"===(void 0===B?"undefined":c_(B))&&B.toJSON?B.toJSON(null,H):B});else if("object"===(void 0===ce?"undefined":c_(ce))&&ce.toJSON)W[ie]=ce.toJSON(null,H);else if("source"===ie){var ue=H.get(ce.input);null==ue&&(ue=Y,H.set(ce.input,Y),Y++),W[ie]={end:ce.end,inputId:ue,start:ce.start}}else W[ie]=ce}return K&&(W.inputs=[].concat(H.keys()).map(function(B){return B.toJSON()})),W},B.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},B.toString=function(B){void 0===B&&(B=iT),B.stringify&&(B=B.stringify);var H="";return B(this,function(B){H+=B}),H},B.warn=function(B,H,W){var K={node:this};for(var Y in W)K[Y]=W[Y];return B.warn(H,K)},r_(e,[{key:"proxyOf",get:function(){return this}}]),e}(),aT=sT;sT.default=sT;var lT=function(B){function t(H){var W;return H&&void 0!==H.value&&"string"!=typeof H.value&&(H=n_({},H,{value:String(H.value)})),(W=B.call(this,H)||this).type="decl",W}return i_(t,B),r_(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(aT),cT=lT;lT.default=lT;var uT=UA.SourceMapConsumer,dT=UA.SourceMapGenerator,pT=UA.existsSync,fT=UA.readFileSync,gT=UA.dirname,vT=UA.join,yT=function(){function e(B,H){if(!1!==H.map){this.loadAnnotation(B),this.inline=this.startWith(this.annotation,"data:");var W=H.map?H.map.prev:void 0,K=this.loadMap(H.from,W);!this.mapFile&&H.from&&(this.mapFile=H.from),this.mapFile&&(this.root=gT(this.mapFile)),K&&(this.text=K)}}var B=e.prototype;return B.consumer=function(){return this.consumerCache||(this.consumerCache=new uT(this.text)),this.consumerCache},B.decodeInline=function(B){var H;if(/^data:application\/json;charset=utf-?8,/.test(B)||/^data:application\/json,/.test(B))return decodeURIComponent(B.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(B)||/^data:application\/json;base64,/.test(B))return H=B.substr(RegExp.lastMatch.length),Buffer?Buffer.from(H,"base64").toString():window.atob(H);var W=B.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+W)},B.getAnnotationURL=function(B){return B.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},B.isMap=function(B){return"object"===(void 0===B?"undefined":c_(B))&&("string"==typeof B.mappings||"string"==typeof B._mappings||Array.isArray(B.sections))},B.loadAnnotation=function(B){var H=B.match(/\/\*\s*# sourceMappingURL=/gm);if(H){var W=B.lastIndexOf(H.pop()),K=B.indexOf("*/",W);W>-1&&K>-1&&(this.annotation=this.getAnnotationURL(B.substring(W,K)))}},B.loadFile=function(B){if(this.root=gT(B),pT(B))return this.mapFile=B,fT(B,"utf-8").toString().trim()},B.loadMap=function(B,H){if(!1===H)return!1;if(H){if("string"==typeof H)return H;if("function"!=typeof H){if(s_(H,uT))return dT.fromSourceMap(H).toString();if(s_(H,dT))return H.toString();if(this.isMap(H))return JSON.stringify(H);throw new Error("Unsupported previous source map format: "+H.toString())}var W=H(B);if(W){var K=this.loadFile(W);if(!K)throw new Error("Unable to load previous source map: "+W.toString());return K}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var Y=this.annotation;return B&&(Y=vT(gT(B),Y)),this.loadFile(Y)}}},B.startWith=function(B,H){return!!B&&B.substr(0,H.length)===H},B.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),bT=yT;yT.default=yT;var wT=UA.SourceMapConsumer,_T=UA.SourceMapGenerator,xT=UA.fileURLToPath,ST=UA.pathToFileURL,kT=UA.isAbsolute,CT=UA.resolve,OT=UA,ET=GA,RT=bT,MT=Symbol("fromOffsetCache"),IT=Boolean(wT&&_T),AT=Boolean(CT&&kT),TT=function(){function e(B,H){if(void 0===H&&(H={}),null==B||"object"===(void 0===B?"undefined":c_(B))&&!B.toString)throw new Error("PostCSS received "+B+" instead of CSS string");if(this.css=B.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,H.from&&(!AT||/^\w+:\/\//.test(H.from)||kT(H.from)?this.file=H.from:this.file=CT(H.from)),AT&&IT){var W=new RT(this.css,H);if(W.text){this.map=W;var K=W.consumer().file;!this.file&&K&&(this.file=this.mapResolve(K))}}this.file||(this.id="<input css "+function(B){void 0===B&&(B=21);for(var H="",W=B;W--;)H+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return H}(6)+">"),this.map&&(this.map.file=this.from)}var B=e.prototype;return B.error=function(B,H,W,K){var Y,ie,ce;if(void 0===K&&(K={}),H&&"object"===(void 0===H?"undefined":c_(H))){var ue=H,de=W;if("number"==typeof ue.offset){var pe=this.fromOffset(ue.offset);H=pe.line,W=pe.col}else H=ue.line,W=ue.column;if("number"==typeof de.offset){var fe=this.fromOffset(de.offset);ie=fe.line,ce=fe.col}else ie=de.line,ce=de.column}else if(!W){var ke=this.fromOffset(H);H=ke.line,W=ke.col}var Je=this.origin(H,W,ie,ce);return(Y=Je?new ET(B,void 0===Je.endLine?Je.line:{column:Je.column,line:Je.line},void 0===Je.endLine?Je.column:{column:Je.endColumn,line:Je.endLine},Je.source,Je.file,K.plugin):new ET(B,void 0===ie?H:{column:W,line:H},void 0===ie?W:{column:ce,line:ie},this.css,this.file,K.plugin)).input={column:W,endColumn:ce,endLine:ie,line:H,source:this.css},this.file&&(ST&&(Y.input.url=ST(this.file).toString()),Y.input.file=this.file),Y},B.fromOffset=function(B){var H;if(this[MT])H=this[MT];else{var W=this.css.split("\n");H=new Array(W.length);for(var K=0,Y=0,ie=W.length;Y<ie;Y++)H[Y]=K,K+=W[Y].length+1;this[MT]=H}var ce=0;if(B>=H[H.length-1])ce=H.length-1;else for(var ue,de=H.length-2;ce<de;)if(B<H[ue=ce+(de-ce>>1)])de=ue-1;else{if(!(B>=H[ue+1])){ce=ue;break}ce=ue+1}return{col:B-H[ce]+1,line:ce+1}},B.mapResolve=function(B){return/^\w+:\/\//.test(B)?B:CT(this.map.consumer().sourceRoot||this.map.root||".",B)},B.origin=function(B,H,W,K){if(!this.map)return!1;var Y,ie,ce=this.map.consumer(),ue=ce.originalPositionFor({column:H,line:B});if(!ue.source)return!1;"number"==typeof W&&(Y=ce.originalPositionFor({column:K,line:W})),ie=kT(ue.source)?ST(ue.source):new URL(ue.source,this.map.consumer().sourceRoot||ST(this.map.mapFile));var de={column:ue.column,endColumn:Y&&Y.column,endLine:Y&&Y.line,line:ue.line,url:ie.toString()};if("file:"===ie.protocol){if(!xT)throw new Error("file: protocol is not available in this PostCSS build");de.file=xT(ie)}var pe=ce.sourceContentFor(ue.source);return pe&&(de.source=pe),de},B.toJSON=function(){for(var B={},H=0,W=["hasBOM","css","file","id"];H<W.length;H++){var K=W[H];null!=this[K]&&(B[K]=this[K])}return this.map&&(B.map=n_({},this.map),B.map.consumerCache&&(B.map.consumerCache=void 0)),B},r_(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),PT=TT;TT.default=TT,OT&&OT.registerInput&&OT.registerInput(TT);var LT=UA.SourceMapConsumer,jT=UA.SourceMapGenerator,FT=UA.dirname,NT=UA.relative,DT=UA.resolve,$T=UA.sep,zT=UA.pathToFileURL,BT=PT,UT=Boolean(LT&&jT),HT=Boolean(FT&&DT&&NT&&$T),VT=function(){function e(B,H,W,K){this.stringify=B,this.mapOpts=W.map||{},this.root=H,this.opts=W,this.css=K,this.originalCSS=K,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var B=e.prototype;return B.addAnnotation=function(){var B;B=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var H="\n";this.css.includes("\r\n")&&(H="\r\n"),this.css+=H+"/*# sourceMappingURL="+B+" */"},B.applyPrevMaps=function(){for(var B,H=d_(this.previous());!(B=H()).done;){var W=B.value,K=this.toUrl(this.path(W.file)),Y=W.root||FT(W.file),ie=void 0;!1===this.mapOpts.sourcesContent?(ie=new LT(W.text)).sourcesContent&&(ie.sourcesContent=null):ie=W.consumer(),this.map.applySourceMap(ie,K,this.toUrl(this.path(Y)))}},B.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var B,H=this.root.nodes.length-1;H>=0;H--)"comment"===(B=this.root.nodes[H]).type&&0===B.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(H);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},B.generate=function(){if(this.clearAnnotation(),HT&&UT&&this.isMap())return this.generateMap();var B="";return this.stringify(this.root,function(H){B+=H}),[B]},B.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var B=this.previous()[0].consumer();B.file=this.outputFile(),this.map=jT.fromSourceMap(B,{ignoreInvalidMapping:!0})}else this.map=new jT({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},B.generateString=function(){var B=this;this.css="",this.map=new jT({file:this.outputFile(),ignoreInvalidMapping:!0});var H,W,K=1,Y=1,ie="<no source>",ce={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(ue,de,pe){if(B.css+=ue,de&&"end"!==pe&&(ce.generated.line=K,ce.generated.column=Y-1,de.source&&de.source.start?(ce.source=B.sourcePath(de),ce.original.line=de.source.start.line,ce.original.column=de.source.start.column-1,B.map.addMapping(ce)):(ce.source=ie,ce.original.line=1,ce.original.column=0,B.map.addMapping(ce))),(H=ue.match(/\n/g))?(K+=H.length,W=ue.lastIndexOf("\n"),Y=ue.length-W):Y+=ue.length,de&&"start"!==pe){var fe=de.parent||{raws:{}};("decl"===de.type||"atrule"===de.type&&!de.nodes)&&de===fe.last&&!fe.raws.semicolon||(de.source&&de.source.end?(ce.source=B.sourcePath(de),ce.original.line=de.source.end.line,ce.original.column=de.source.end.column-1,ce.generated.line=K,ce.generated.column=Y-2,B.map.addMapping(ce)):(ce.source=ie,ce.original.line=1,ce.original.column=0,ce.generated.line=K,ce.generated.column=Y-1,B.map.addMapping(ce)))}})},B.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(B){return B.annotation}))},B.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var B=this.mapOpts.annotation;return(void 0===B||!0===B)&&(!this.previous().length||this.previous().some(function(B){return B.inline}))},B.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},B.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(B){return B.withContent()})},B.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},B.path=function(B){if(this.mapOpts.absolute)return B;if(60===B.charCodeAt(0))return B;if(/^\w+:\/\//.test(B))return B;var H=this.memoizedPaths.get(B);if(H)return H;var W=this.opts.to?FT(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(W=FT(DT(W,this.mapOpts.annotation)));var K=NT(W,B);return this.memoizedPaths.set(B,K),K},B.previous=function(){var B=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(H){if(H.source&&H.source.input.map){var W=H.source.input.map;B.previousMaps.includes(W)||B.previousMaps.push(W)}});else{var H=new BT(this.originalCSS,this.opts);H.map&&this.previousMaps.push(H.map)}return this.previousMaps},B.setSourcesContent=function(){var B=this,H={};if(this.root)this.root.walk(function(W){if(W.source){var K=W.source.input.from;if(K&&!H[K]){H[K]=!0;var Y=B.usesFileUrls?B.toFileUrl(K):B.toUrl(B.path(K));B.map.setSourceContent(Y,W.source.input.css)}}});else if(this.css){var W=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(W,this.css)}},B.sourcePath=function(B){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(B.source.input.from):this.toUrl(this.path(B.source.input.from))},B.toBase64=function(B){return Buffer?Buffer.from(B).toString("base64"):window.btoa(unescape(encodeURIComponent(B)))},B.toFileUrl=function(B){var H=this.memoizedFileURLs.get(B);if(H)return H;if(zT){var W=zT(B).toString();return this.memoizedFileURLs.set(B,W),W}throw new Error("`map.absolute` option is not available in this PostCSS build")},B.toUrl=function(B){var H=this.memoizedURLs.get(B);if(H)return H;"\\"===$T&&(B=B.replace(/\\/g,"/"));var W=encodeURI(B).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(B,W),W},e}(),qT=VT,WT=function(B){function t(H){var W;return(W=B.call(this,H)||this).type="comment",W}return i_(t,B),t}(aT),GT=WT;WT.default=WT;var XT,ZT,KT,YT,JT=ZA.isClean,QT=ZA.my,eP=cT,tP=GT;function GP(B){return B.map(function(B){return B.nodes&&(B.nodes=GP(B.nodes)),delete B.source,B})}function KP(B){if(B[JT]=!1,B.proxyOf.nodes)for(var H,W=d_(B.proxyOf.nodes);!(H=W()).done;)KP(H.value)}var rP=function(B){function t(){return B.apply(this,arguments)||this}i_(t,B);var H=t.prototype;return H.append=function(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];for(var K,Y=d_(H);!(K=Y()).done;)for(var ie,ce=K.value,ue=d_(this.normalize(ce,this.last));!(ie=ue()).done;){var de=ie.value;this.proxyOf.nodes.push(de)}return this.markDirty(),this},H.cleanRaws=function(H){if(B.prototype.cleanRaws.call(this,H),this.nodes)for(var W,K=d_(this.nodes);!(W=K()).done;)W.value.cleanRaws(H)},H.each=function(B){if(this.proxyOf.nodes){for(var H,W,K=this.getIterator();this.indexes[K]<this.proxyOf.nodes.length&&(H=this.indexes[K],!1!==(W=B(this.proxyOf.nodes[H],H)));)this.indexes[K]+=1;return delete this.indexes[K],W}},H.every=function(B){return this.nodes.every(B)},H.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var B=this.lastEach;return this.indexes[B]=0,B},H.getProxyProcessor=function(){return{get:function(B,H){return"proxyOf"===H?B:B[H]?"each"===H||"string"==typeof H&&H.startsWith("walk")?function(){for(var W=arguments.length,K=new Array(W),Y=0;Y<W;Y++)K[Y]=arguments[Y];var ie;return(ie=B)[H].apply(ie,[].concat(K.map(function(B){return"function"==typeof B?function(H,W){return B(H.toProxy(),W)}:B})))}:"every"===H||"some"===H?function(W){return B[H](function(B){for(var H=arguments.length,K=new Array(H>1?H-1:0),Y=1;Y<H;Y++)K[Y-1]=arguments[Y];return W.apply(void 0,[].concat([B.toProxy()],K))})}:"root"===H?function(){return B.root().toProxy()}:"nodes"===H?B.nodes.map(function(B){return B.toProxy()}):"first"===H||"last"===H?B[H].toProxy():B[H]:B[H]},set:function(B,H,W){return B[H]===W||(B[H]=W,"name"!==H&&"params"!==H&&"selector"!==H||B.markDirty()),!0}}},H.index=function(B){return"number"==typeof B?B:(B.proxyOf&&(B=B.proxyOf),this.proxyOf.nodes.indexOf(B))},H.insertAfter=function(B,H){var W,K=this.index(B),Y=this.normalize(H,this.proxyOf.nodes[K]).reverse();K=this.index(B);for(var ie,ce=d_(Y);!(ie=ce()).done;){var ue=ie.value;this.proxyOf.nodes.splice(K+1,0,ue)}for(var de in this.indexes)K<(W=this.indexes[de])&&(this.indexes[de]=W+Y.length);return this.markDirty(),this},H.insertBefore=function(B,H){var W,K=this.index(B),Y=0===K&&"prepend",ie=this.normalize(H,this.proxyOf.nodes[K],Y).reverse();K=this.index(B);for(var ce,ue=d_(ie);!(ce=ue()).done;){var de=ce.value;this.proxyOf.nodes.splice(K,0,de)}for(var pe in this.indexes)K<=(W=this.indexes[pe])&&(this.indexes[pe]=W+ie.length);return this.markDirty(),this},H.normalize=function(B,H){var W=this;if("string"==typeof B)B=GP(XT(B).nodes);else if(void 0===B)B=[];else if(Array.isArray(B))for(var K,Y=d_(B=B.slice(0));!(K=Y()).done;){var ie=K.value;ie.parent&&ie.parent.removeChild(ie,"ignore")}else if("root"===B.type&&"document"!==this.type)for(var ce,ue=d_(B=B.nodes.slice(0));!(ce=ue()).done;){var de=ce.value;de.parent&&de.parent.removeChild(de,"ignore")}else if(B.type)B=[B];else if(B.prop){if(void 0===B.value)throw new Error("Value field is missed in node creation");"string"!=typeof B.value&&(B.value=String(B.value)),B=[new eP(B)]}else if(B.selector)B=[new ZT(B)];else if(B.name)B=[new KT(B)];else{if(!B.text)throw new Error("Unknown node type in node creation");B=[new tP(B)]}var pe=B.map(function(B){return B[QT]||t.rebuild(B),(B=B.proxyOf).parent&&B.parent.removeChild(B),B[JT]&&KP(B),void 0===B.raws.before&&H&&void 0!==H.raws.before&&(B.raws.before=H.raws.before.replace(/\S/g,"")),B.parent=W.proxyOf,B});return pe},H.prepend=function(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];for(var K,Y=d_(H=H.reverse());!(K=Y()).done;){for(var ie,ce=K.value,ue=this.normalize(ce,this.first,"prepend").reverse(),de=d_(ue);!(ie=de()).done;){var pe=ie.value;this.proxyOf.nodes.unshift(pe)}for(var fe in this.indexes)this.indexes[fe]=this.indexes[fe]+ue.length}return this.markDirty(),this},H.push=function(B){return B.parent=this,this.proxyOf.nodes.push(B),this},H.removeAll=function(){for(var B,H=d_(this.proxyOf.nodes);!(B=H()).done;)B.value.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this},H.removeChild=function(B){var H;for(var W in B=this.index(B),this.proxyOf.nodes[B].parent=void 0,this.proxyOf.nodes.splice(B,1),this.indexes)(H=this.indexes[W])>=B&&(this.indexes[W]=H-1);return this.markDirty(),this},H.replaceValues=function(B,H,W){return W||(W=H,H={}),this.walkDecls(function(K){H.props&&!H.props.includes(K.prop)||H.fast&&!K.value.includes(H.fast)||(K.value=K.value.replace(B,W))}),this.markDirty(),this},H.some=function(B){return this.nodes.some(B)},H.walk=function(B){return this.each(function(H,W){var K;try{K=B(H,W)}catch(B){throw H.addToError(B)}return!1!==K&&H.walk&&(K=H.walk(B)),K})},H.walkAtRules=function(B,H){return H?s_(B,RegExp)?this.walk(function(W,K){if("atrule"===W.type&&B.test(W.name))return H(W,K)}):this.walk(function(W,K){if("atrule"===W.type&&W.name===B)return H(W,K)}):(H=B,this.walk(function(B,W){if("atrule"===B.type)return H(B,W)}))},H.walkComments=function(B){return this.walk(function(H,W){if("comment"===H.type)return B(H,W)})},H.walkDecls=function(B,H){return H?s_(B,RegExp)?this.walk(function(W,K){if("decl"===W.type&&B.test(W.prop))return H(W,K)}):this.walk(function(W,K){if("decl"===W.type&&W.prop===B)return H(W,K)}):(H=B,this.walk(function(B,W){if("decl"===B.type)return H(B,W)}))},H.walkRules=function(B,H){return H?s_(B,RegExp)?this.walk(function(W,K){if("rule"===W.type&&B.test(W.selector))return H(W,K)}):this.walk(function(W,K){if("rule"===W.type&&W.selector===B)return H(W,K)}):(H=B,this.walk(function(B,W){if("rule"===B.type)return H(B,W)}))},r_(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(aT);rP.registerParse=function(B){XT=B},rP.registerRule=function(B){ZT=B},rP.registerAtRule=function(B){KT=B},rP.registerRoot=function(B){YT=B};var nP=rP;rP.default=rP,rP.rebuild=function(B){"atrule"===B.type?Object.setPrototypeOf(B,KT.prototype):"rule"===B.type?Object.setPrototypeOf(B,ZT.prototype):"decl"===B.type?Object.setPrototypeOf(B,eP.prototype):"comment"===B.type?Object.setPrototypeOf(B,tP.prototype):"root"===B.type&&Object.setPrototypeOf(B,YT.prototype),B[QT]=!0,B.nodes&&B.nodes.forEach(function(B){rP.rebuild(B)})};var oP,iP,sP=function(B){function t(H){var W;return(W=B.call(this,n_({type:"document"},H))||this).nodes||(W.nodes=[]),W}return i_(t,B),t.prototype.toResult=function(B){return void 0===B&&(B={}),new oP(new iP,this,B).stringify()},t}(nP);sP.registerLazyResult=function(B){oP=B},sP.registerProcessor=function(B){iP=B};var aP=sP;sP.default=sP;var lP=function(){function e(B,H){if(void 0===H&&(H={}),this.type="warning",this.text=B,H.node&&H.node.source){var W=H.node.rangeBy(H);this.line=W.start.line,this.column=W.start.column,this.endLine=W.end.line,this.endColumn=W.end.column}for(var K in H)this[K]=H[K]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),cP=lP;lP.default=lP;var uP=cP,dP=function(){function e(B,H,W){this.processor=B,this.messages=[],this.root=H,this.opts=W,this.css=void 0,this.map=void 0}var B=e.prototype;return B.toString=function(){return this.css},B.warn=function(B,H){void 0===H&&(H={}),H.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(H.plugin=this.lastPlugin.postcssPlugin);var W=new uP(B,H);return this.messages.push(W),W},B.warnings=function(){return this.messages.filter(function(B){return"warning"===B.type})},r_(e,[{key:"content",get:function(){return this.css}}]),e}(),pP=dP;dP.default=dP;var hP="'".charCodeAt(0),fP='"'.charCodeAt(0),mP="\\".charCodeAt(0),gP="/".charCodeAt(0),vP="\n".charCodeAt(0),yP=" ".charCodeAt(0),bP="\f".charCodeAt(0),wP="\t".charCodeAt(0),_P="\r".charCodeAt(0),xP="[".charCodeAt(0),SP="]".charCodeAt(0),kP="(".charCodeAt(0),CP=")".charCodeAt(0),OP="{".charCodeAt(0),EP="}".charCodeAt(0),RP=";".charCodeAt(0),MP="*".charCodeAt(0),IP=":".charCodeAt(0),AP="@".charCodeAt(0),TP=/[\t\n\f\r "#'()/;[\\\]{}]/g,PP=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,LP=/.[\r\n"'(/\\]/,jP=/[\da-f]/i,FP=nP,NP=function(B){function t(H){var W;return(W=B.call(this,H)||this).type="atrule",W}i_(t,B);var H=t.prototype;return H.append=function(){for(var H=arguments.length,W=new Array(H),K=0;K<H;K++)W[K]=arguments[K];var Y;return this.proxyOf.nodes||(this.nodes=[]),(Y=B.prototype.append).call.apply(Y,[].concat([this],W))},H.prepend=function(){for(var H=arguments.length,W=new Array(H),K=0;K<H;K++)W[K]=arguments[K];var Y;return this.proxyOf.nodes||(this.nodes=[]),(Y=B.prototype.prepend).call.apply(Y,[].concat([this],W))},t}(FP),DP=NP;NP.default=NP,FP.registerAtRule(NP);var $P,zP,BP=nP,UP=function(B){function t(H){var W;return(W=B.call(this,H)||this).type="root",W.nodes||(W.nodes=[]),W}i_(t,B);var H=t.prototype;return H.normalize=function(H,W,K){var Y=B.prototype.normalize.call(this,H);if(W)if("prepend"===K)this.nodes.length>1?W.raws.before=this.nodes[1].raws.before:delete W.raws.before;else if(this.first!==W)for(var ie,ce=d_(Y);!(ie=ce()).done;)ie.value.raws.before=W.raws.before;return Y},H.removeChild=function(H,W){var K=this.index(H);return!W&&0===K&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[K].raws.before),B.prototype.removeChild.call(this,H)},H.toResult=function(B){return void 0===B&&(B={}),new $P(new zP,this,B).stringify()},t}(BP);UP.registerLazyResult=function(B){$P=B},UP.registerProcessor=function(B){zP=B};var HP=UP;UP.default=UP,BP.registerRoot(UP);var VP={comma:function(B){return VP.split(B,[","],!0)},space:function(B){return VP.split(B,[" ","\n","\t"])},split:function(B,H,W){for(var K,Y=[],ie="",ce=!1,ue=0,de=!1,pe="",fe=!1,ke=d_(B);!(K=ke()).done;){var Je=K.value;fe?fe=!1:"\\"===Je?fe=!0:de?Je===pe&&(de=!1):'"'===Je||"'"===Je?(de=!0,pe=Je):"("===Je?ue+=1:")"===Je?ue>0&&(ue-=1):0===ue&&H.includes(Je)&&(ce=!0),ce?(""!==ie&&Y.push(ie.trim()),ie="",ce=!1):ie+=Je}return(W||""!==ie)&&Y.push(ie.trim()),Y}},qP=VP;VP.default=VP;var WP=nP,XP=qP,ZP=function(B){function t(H){var W;return(W=B.call(this,H)||this).type="rule",W.nodes||(W.nodes=[]),W}return i_(t,B),r_(t,[{key:"selectors",get:function(){return XP.comma(this.selector)},set:function(B){var H=this.selector?this.selector.match(/,\s*/):null,W=H?H[0]:","+this.raw("between","beforeOpen");this.selector=B.join(W)}}]),t}(WP),YP=ZP;ZP.default=ZP,WP.registerRule(ZP);var JP=cT,QP=GT,eL=DP,tL=HP,rL=YP,nL={empty:!0,space:!0},oL=function(){function e(B){this.input=B,this.root=new tL,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:B,start:{column:1,line:1,offset:0}}}var B=e.prototype;return B.atrule=function(B){var H,W,K,Y=new eL;Y.name=B[1].slice(1),""===Y.name&&this.unnamedAtrule(Y,B),this.init(Y,B[2]);for(var ie=!1,ce=!1,ue=[],de=[];!this.tokenizer.endOfFile();){if("("===(H=(B=this.tokenizer.nextToken())[0])||"["===H?de.push("("===H?")":"]"):"{"===H&&de.length>0?de.push("}"):H===de[de.length-1]&&de.pop(),0===de.length){if(";"===H){Y.source.end=this.getPosition(B[2]),Y.source.end.offset++,this.semicolon=!0;break}if("{"===H){ce=!0;break}if("}"===H){if(ue.length>0){for(W=ue[K=ue.length-1];W&&"space"===W[0];)W=ue[--K];W&&(Y.source.end=this.getPosition(W[3]||W[2]),Y.source.end.offset++)}this.end(B);break}ue.push(B)}else ue.push(B);if(this.tokenizer.endOfFile()){ie=!0;break}}Y.raws.between=this.spacesAndCommentsFromEnd(ue),ue.length?(Y.raws.afterName=this.spacesAndCommentsFromStart(ue),this.raw(Y,"params",ue),ie&&(B=ue[ue.length-1],Y.source.end=this.getPosition(B[3]||B[2]),Y.source.end.offset++,this.spaces=Y.raws.between,Y.raws.between="")):(Y.raws.afterName="",Y.params=""),ce&&(Y.nodes=[],this.current=Y)},B.checkMissedSemicolon=function(B){var H=this.colon(B);if(!1!==H){for(var W,K=0,Y=H-1;Y>=0&&("space"===(W=B[Y])[0]||2!==(K+=1));Y--);throw this.input.error("Missed semicolon","word"===W[0]?W[3]+1:W[2])}},B.colon=function(B){for(var H,W,K,Y,ie=0,ce=d_(B.entries());!(Y=ce()).done;){var ue=Y.value,de=ue[0];if("("===(W=(H=ue[1])[0])&&(ie+=1),")"===W&&(ie-=1),0===ie&&":"===W){if(K){if("word"===K[0]&&"progid"===K[1])continue;return de}this.doubleColon(H)}K=H}return!1},B.comment=function(B){var H=new QP;this.init(H,B[2]),H.source.end=this.getPosition(B[3]||B[2]),H.source.end.offset++;var W=B[1].slice(2,-2);if(/^\s*$/.test(W))H.text="",H.raws.left=W,H.raws.right="";else{var K=W.match(/^(\s*)([^]*\S)(\s*)$/);H.text=K[2],H.raws.left=K[1],H.raws.right=K[3]}},B.createTokenizer=function(){this.tokenizer=function(B,H){void 0===H&&(H={});var W,K,Y,ie,ce,ue,de,pe,fe,ke,Je=B.css.valueOf(),rt=H.ignoreErrors,st=Je.length,at=0,lt=[],pt=[];function y(H){throw B.error("Unclosed "+H,at)}return{back:function(B){pt.push(B)},endOfFile:function(){return 0===pt.length&&at>=st},nextToken:function(B){if(pt.length)return pt.pop();if(!(at>=st)){var H=!!B&&B.ignoreUnclosed;switch(W=Je.charCodeAt(at)){case vP:case yP:case wP:case _P:case bP:K=at;do{K+=1,W=Je.charCodeAt(K)}while(W===yP||W===vP||W===wP||W===_P||W===bP);ke=["space",Je.slice(at,K)],at=K-1;break;case xP:case SP:case OP:case EP:case IP:case RP:case CP:var ht=String.fromCharCode(W);ke=[ht,ht,at];break;case kP:if(pe=lt.length?lt.pop()[1]:"",fe=Je.charCodeAt(at+1),"url"===pe&&fe!==hP&&fe!==fP&&fe!==yP&&fe!==vP&&fe!==wP&&fe!==bP&&fe!==_P){K=at;do{if(ue=!1,-1===(K=Je.indexOf(")",K+1))){if(rt||H){K=at;break}y("bracket")}for(de=K;Je.charCodeAt(de-1)===mP;)de-=1,ue=!ue}while(ue);ke=["brackets",Je.slice(at,K+1),at,K],at=K}else K=Je.indexOf(")",at+1),ie=Je.slice(at,K+1),-1===K||LP.test(ie)?ke=["(","(",at]:(ke=["brackets",ie,at,K],at=K);break;case hP:case fP:Y=W===hP?"'":'"',K=at;do{if(ue=!1,-1===(K=Je.indexOf(Y,K+1))){if(rt||H){K=at+1;break}y("string")}for(de=K;Je.charCodeAt(de-1)===mP;)de-=1,ue=!ue}while(ue);ke=["string",Je.slice(at,K+1),at,K],at=K;break;case AP:TP.lastIndex=at+1,TP.test(Je),K=0===TP.lastIndex?Je.length-1:TP.lastIndex-2,ke=["at-word",Je.slice(at,K+1),at,K],at=K;break;case mP:for(K=at,ce=!0;Je.charCodeAt(K+1)===mP;)K+=1,ce=!ce;if(W=Je.charCodeAt(K+1),ce&&W!==gP&&W!==yP&&W!==vP&&W!==wP&&W!==_P&&W!==bP&&(K+=1,jP.test(Je.charAt(K)))){for(;jP.test(Je.charAt(K+1));)K+=1;Je.charCodeAt(K+1)===yP&&(K+=1)}ke=["word",Je.slice(at,K+1),at,K],at=K;break;default:W===gP&&Je.charCodeAt(at+1)===MP?(0===(K=Je.indexOf("*/",at+2)+1)&&(rt||H?K=Je.length:y("comment")),ke=["comment",Je.slice(at,K+1),at,K],at=K):(PP.lastIndex=at+1,PP.test(Je),K=0===PP.lastIndex?Je.length-1:PP.lastIndex-2,ke=["word",Je.slice(at,K+1),at,K],lt.push(ke),at=K)}return at++,ke}},position:function(){return at}}}(this.input)},B.decl=function(B,H){var W=new JP;this.init(W,B[0][2]);var K,Y=B[B.length-1];for(";"===Y[0]&&(this.semicolon=!0,B.pop()),W.source.end=this.getPosition(Y[3]||Y[2]||function(B){for(var H=B.length-1;H>=0;H--){var W=B[H],K=W[3]||W[2];if(K)return K}}(B)),W.source.end.offset++;"word"!==B[0][0];)1===B.length&&this.unknownWord(B),W.raws.before+=B.shift()[1];for(W.source.start=this.getPosition(B[0][2]),W.prop="";B.length;){var ie=B[0][0];if(":"===ie||"space"===ie||"comment"===ie)break;W.prop+=B.shift()[1]}for(W.raws.between="";B.length;){if(":"===(K=B.shift())[0]){W.raws.between+=K[1];break}"word"===K[0]&&/\w/.test(K[1])&&this.unknownWord([K]),W.raws.between+=K[1]}"_"!==W.prop[0]&&"*"!==W.prop[0]||(W.raws.before+=W.prop[0],W.prop=W.prop.slice(1));for(var ce,ue=[];B.length&&("space"===(ce=B[0][0])||"comment"===ce);)ue.push(B.shift());this.precheckMissedSemicolon(B);for(var de=B.length-1;de>=0;de--){if("!important"===(K=B[de])[1].toLowerCase()){W.important=!0;var pe=this.stringFrom(B,de);" !important"!==(pe=this.spacesFromEnd(B)+pe)&&(W.raws.important=pe);break}if("important"===K[1].toLowerCase()){for(var fe=B.slice(0),ke="",Je=de;Je>0;Je--){var rt=fe[Je][0];if(0===ke.trim().indexOf("!")&&"space"!==rt)break;ke=fe.pop()[1]+ke}0===ke.trim().indexOf("!")&&(W.important=!0,W.raws.important=ke,B=fe)}if("space"!==K[0]&&"comment"!==K[0])break}B.some(function(B){return"space"!==B[0]&&"comment"!==B[0]})&&(W.raws.between+=ue.map(function(B){return B[1]}).join(""),ue=[]),this.raw(W,"value",ue.concat(B),H),W.value.includes(":")&&!H&&this.checkMissedSemicolon(B)},B.doubleColon=function(B){throw this.input.error("Double colon",{offset:B[2]},{offset:B[2]+B[1].length})},B.emptyRule=function(B){var H=new rL;this.init(H,B[2]),H.selector="",H.raws.between="",this.current=H},B.end=function(B){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(B[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(B)},B.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},B.freeSemicolon=function(B){if(this.spaces+=B[1],this.current.nodes){var H=this.current.nodes[this.current.nodes.length-1];H&&"rule"===H.type&&!H.raws.ownSemicolon&&(H.raws.ownSemicolon=this.spaces,this.spaces="")}},B.getPosition=function(B){var H=this.input.fromOffset(B);return{column:H.col,line:H.line,offset:B}},B.init=function(B,H){this.current.push(B),B.source={input:this.input,start:this.getPosition(H)},B.raws.before=this.spaces,this.spaces="","comment"!==B.type&&(this.semicolon=!1)},B.other=function(B){for(var H=!1,W=null,K=!1,Y=null,ie=[],ce=B[1].startsWith("--"),ue=[],de=B;de;){if(W=de[0],ue.push(de),"("===W||"["===W)Y||(Y=de),ie.push("("===W?")":"]");else if(ce&&K&&"{"===W)Y||(Y=de),ie.push("}");else if(0===ie.length){if(";"===W){if(K)return void this.decl(ue,ce);break}if("{"===W)return void this.rule(ue);if("}"===W){this.tokenizer.back(ue.pop()),H=!0;break}":"===W&&(K=!0)}else W===ie[ie.length-1]&&(ie.pop(),0===ie.length&&(Y=null));de=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(H=!0),ie.length>0&&this.unclosedBracket(Y),H&&K){if(!ce)for(;ue.length&&("space"===(de=ue[ue.length-1][0])||"comment"===de);)this.tokenizer.back(ue.pop());this.decl(ue,ce)}else this.unknownWord(ue)},B.parse=function(){for(var B;!this.tokenizer.endOfFile();)switch((B=this.tokenizer.nextToken())[0]){case"space":this.spaces+=B[1];break;case";":this.freeSemicolon(B);break;case"}":this.end(B);break;case"comment":this.comment(B);break;case"at-word":this.atrule(B);break;case"{":this.emptyRule(B);break;default:this.other(B)}this.endFile()},B.precheckMissedSemicolon=function(){},B.raw=function(B,H,W,K){for(var Y,ie,ce,ue,de=W.length,pe="",fe=!0,ke=0;ke<de;ke+=1)"space"!==(ie=(Y=W[ke])[0])||ke!==de-1||K?"comment"===ie?(ue=W[ke-1]?W[ke-1][0]:"empty",ce=W[ke+1]?W[ke+1][0]:"empty",nL[ue]||nL[ce]||","===pe.slice(-1)?fe=!1:pe+=Y[1]):pe+=Y[1]:fe=!1;if(!fe){var Je=W.reduce(function(B,H){return B+H[1]},"");B.raws[H]={raw:Je,value:pe}}B[H]=pe},B.rule=function(B){B.pop();var H=new rL;this.init(H,B[0][2]),H.raws.between=this.spacesAndCommentsFromEnd(B),this.raw(H,"selector",B),this.current=H},B.spacesAndCommentsFromEnd=function(B){for(var H,W="";B.length&&("space"===(H=B[B.length-1][0])||"comment"===H);)W=B.pop()[1]+W;return W},B.spacesAndCommentsFromStart=function(B){for(var H,W="";B.length&&("space"===(H=B[0][0])||"comment"===H);)W+=B.shift()[1];return W},B.spacesFromEnd=function(B){for(var H="";B.length&&"space"===B[B.length-1][0];)H=B.pop()[1]+H;return H},B.stringFrom=function(B,H){for(var W="",K=H;K<B.length;K++)W+=B[K][1];return B.splice(H,B.length-H),W},B.unclosedBlock=function(){var B=this.current.source.start;throw this.input.error("Unclosed block",B.line,B.column)},B.unclosedBracket=function(B){throw this.input.error("Unclosed bracket",{offset:B[2]},{offset:B[2]+1})},B.unexpectedClose=function(B){throw this.input.error("Unexpected }",{offset:B[2]},{offset:B[2]+1})},B.unknownWord=function(B){throw this.input.error("Unknown word",{offset:B[0][2]},{offset:B[0][2]+B[0][1].length})},B.unnamedAtrule=function(B,H){throw this.input.error("At-rule without name",{offset:H[2]},{offset:H[2]+H[1].length})},e}(),iL=nP,sL=oL,aL=PT;function tj(B,H){var W=new aL(B,H),K=new sL(W);try{K.parse()}catch(B){throw B}return K.root}var lL=tj;tj.default=tj,iL.registerParse(tj);var uL=ZA.isClean,dL=ZA.my,hL=qT,fL=eT,mL=nP,gL=aP,xL=pP,SL=lL,kL=HP,CL={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},OL={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},EL={Once:!0,postcssPlugin:!0,prepare:!0};function gj(B){return"object"===(void 0===B?"undefined":c_(B))&&"function"==typeof B.then}function vj(B){var H=!1,W=CL[B.type];return"decl"===B.type?H=B.prop.toLowerCase():"atrule"===B.type&&(H=B.name.toLowerCase()),H&&B.append?[W,W+"-"+H,0,W+"Exit",W+"Exit-"+H]:H?[W,W+"-"+H,W+"Exit",W+"Exit-"+H]:B.append?[W,0,W+"Exit"]:[W,W+"Exit"]}function yj(B){return{eventIndex:0,events:"document"===B.type?["Document",0,"DocumentExit"]:"root"===B.type?["Root",0,"RootExit"]:vj(B),iterator:0,node:B,visitorIndex:0,visitors:[]}}function bj(B){return B[uL]=!1,B.nodes&&B.nodes.forEach(function(B){return bj(B)}),B}var TL={},$L=function(){function e(B,H,W){var K,Y=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===H?"undefined":c_(H))||null===H||"root"!==H.type&&"document"!==H.type)if(s_(H,e)||s_(H,xL))K=bj(H.root),H.map&&(void 0===W.map&&(W.map={}),W.map.inline||(W.map.inline=!1),W.map.prev=H.map);else{var ie=SL;W.syntax&&(ie=W.syntax.parse),W.parser&&(ie=W.parser),ie.parse&&(ie=ie.parse);try{K=ie(H,W)}catch(B){this.processed=!0,this.error=B}K&&!K[dL]&&mL.rebuild(K)}else K=bj(H);this.result=new xL(B,K,W),this.helpers=n_({},TL,{postcss:TL,result:this.result}),this.plugins=this.processor.plugins.map(function(B){return"object"===(void 0===B?"undefined":c_(B))&&B.prepare?n_({},B,B.prepare(Y.result)):B})}var B=e.prototype;return B.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},B.catch=function(B){return this.async().catch(B)},B.finally=function(B){return this.async().then(B,B)},B.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},B.handleError=function(B,H){var W=this.result.lastPlugin;try{if(H&&H.addToError(B),this.error=B,"CssSyntaxError"!==B.name||B.plugin)W.postcssVersion;else B.plugin=W.postcssPlugin,B.setMessage()}catch(B){console&&console.error&&console.error(B)}return B},B.prepareVisitors=function(){var B=this;this.listeners={};for(var H,r=function(H,W,K){B.listeners[W]||(B.listeners[W]=[]),B.listeners[W].push([H,K])},W=d_(this.plugins);!(H=W()).done;){var K=H.value;if("object"===(void 0===K?"undefined":c_(K)))for(var Y in K){if(!OL[Y]&&/^[A-Z]/.test(Y))throw new Error("Unknown event "+Y+" in "+K.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!EL[Y])if("object"===c_(K[Y]))for(var ie in K[Y])r(K,"*"===ie?Y:Y+"-"+ie.toLowerCase(),K[Y][ie]);else"function"==typeof K[Y]&&r(K,Y,K[Y])}}this.hasListener=Object.keys(this.listeners).length>0},B.runAsync=function(){var B=this;return e_(function(){var H,W,K,Y,ie,ce,ue,de,pe,fe,ke,Je;return f_(this,function(rt){switch(rt.label){case 0:B.plugin=0,H=0,rt.label=1;case 1:if(!(H<B.plugins.length))return[3,6];if(W=B.plugins[H],!gj(K=B.runOnRoot(W)))return[3,5];rt.label=2;case 2:return rt.trys.push([2,4,,5]),[4,K];case 3:return rt.sent(),[3,5];case 4:throw Y=rt.sent(),B.handleError(Y);case 5:return H++,[3,1];case 6:if(B.prepareVisitors(),!B.hasListener)return[3,18];ie=B.result.root,rt.label=7;case 7:if(ie[uL])return[3,14];ie[uL]=!0,ce=[yj(ie)],rt.label=8;case 8:if(!(ce.length>0))return[3,13];if(!gj(ue=B.visitTick(ce)))return[3,12];rt.label=9;case 9:return rt.trys.push([9,11,,12]),[4,ue];case 10:return rt.sent(),[3,12];case 11:throw de=rt.sent(),pe=ce[ce.length-1].node,B.handleError(de,pe);case 12:return[3,8];case 13:return[3,7];case 14:if(!B.listeners.OnceExit)return[3,18];fe=function(){var H,W,K,Y,ce;return f_(this,function(ue){switch(ue.label){case 0:H=Je.value,W=H[0],K=H[1],B.result.lastPlugin=W,ue.label=1;case 1:return ue.trys.push([1,6,,7]),"document"!==ie.type?[3,3]:(Y=ie.nodes.map(function(H){return K(H,B.helpers)}),[4,Promise.all(Y)]);case 2:return ue.sent(),[3,5];case 3:return[4,K(ie,B.helpers)];case 4:ue.sent(),ue.label=5;case 5:return[3,7];case 6:throw ce=ue.sent(),B.handleError(ce);case 7:return[2]}})},ke=d_(B.listeners.OnceExit),rt.label=15;case 15:return(Je=ke()).done?[3,18]:[5,h_(fe())];case 16:rt.sent(),rt.label=17;case 17:return[3,15];case 18:return B.processed=!0,[2,B.stringify()]}})})()},B.runOnRoot=function(B){var H=this;this.result.lastPlugin=B;try{if("object"===(void 0===B?"undefined":c_(B))&&B.Once){if("document"===this.result.root.type){var W=this.result.root.nodes.map(function(W){return B.Once(W,H.helpers)});return gj(W[0])?Promise.all(W):W}return B.Once(this.result.root,this.helpers)}if("function"==typeof B)return B(this.result.root,this.result)}catch(B){throw this.handleError(B)}},B.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var B=this.result.opts,H=fL;B.syntax&&(H=B.syntax.stringify),B.stringifier&&(H=B.stringifier),H.stringify&&(H=H.stringify);var W=new hL(H,this.result.root,this.result.opts).generate();return this.result.css=W[0],this.result.map=W[1],this.result},B.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var B,H=d_(this.plugins);!(B=H()).done;){var W=B.value;if(gj(this.runOnRoot(W)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var K=this.result.root;!K[uL];)K[uL]=!0,this.walkSync(K);if(this.listeners.OnceExit)if("document"===K.type)for(var Y,ie=d_(K.nodes);!(Y=ie()).done;){var ce=Y.value;this.visitSync(this.listeners.OnceExit,ce)}else this.visitSync(this.listeners.OnceExit,K)}return this.result},B.then=function(B,H){return this.async().then(B,H)},B.toString=function(){return this.css},B.visitSync=function(B,H){for(var W,K=d_(B);!(W=K()).done;){var Y=W.value,ie=Y[0],ce=Y[1];this.result.lastPlugin=ie;var ue=void 0;try{ue=ce(H,this.helpers)}catch(B){throw this.handleError(B,H.proxyOf)}if("root"!==H.type&&"document"!==H.type&&!H.parent)return!0;if(gj(ue))throw this.getAsyncError()}},B.visitTick=function(B){var H=B[B.length-1],W=H.node,K=H.visitors;if("root"===W.type||"document"===W.type||W.parent){if(K.length>0&&H.visitorIndex<K.length){var Y=K[H.visitorIndex],ie=Y[0],ce=Y[1];H.visitorIndex+=1,H.visitorIndex===K.length&&(H.visitors=[],H.visitorIndex=0),this.result.lastPlugin=ie;try{return ce(W.toProxy(),this.helpers)}catch(B){throw this.handleError(B,W)}}if(0!==H.iterator){for(var ue,de=H.iterator;ue=W.nodes[W.indexes[de]];)if(W.indexes[de]+=1,!ue[uL])return ue[uL]=!0,void B.push(yj(ue));H.iterator=0,delete W.indexes[de]}for(var pe=H.events;H.eventIndex<pe.length;){var fe=pe[H.eventIndex];if(H.eventIndex+=1,0===fe)return void(W.nodes&&W.nodes.length&&(W[uL]=!0,H.iterator=W.getIterator()));if(this.listeners[fe])return void(H.visitors=this.listeners[fe])}B.pop()}else B.pop()},B.walkSync=function(B){var H=this;B[uL]=!0;for(var W,K=d_(vj(B));!(W=K()).done;){var Y=W.value;if(0===Y)B.nodes&&B.each(function(B){B[uL]||H.walkSync(B)});else{var ie=this.listeners[Y];if(ie&&this.visitSync(ie,B.toProxy()))return}}},B.warnings=function(){return this.sync().warnings()},r_(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();$L.registerPostcss=function(B){TL=B};var zL=$L;$L.default=$L,kL.registerLazyResult($L),gL.registerLazyResult($L);var BL=qT,UL=eT,HL=lL,VL=pP,qL=function(){function e(B,H,W){var K;H=H.toString(),this.stringified=!1,this._processor=B,this._css=H,this._opts=W,this._map=void 0;var Y=UL;this.result=new VL(this._processor,K,this._opts),this.result.css=H;var ie=this;Object.defineProperty(this.result,"root",{get:function(){return ie.root}});var ce=new BL(Y,K,this._opts,H);if(ce.isMap()){var ue=ce.generate(),de=ue[0],pe=ue[1];de&&(this.result.css=de),pe&&(this.result.map=pe)}else ce.clearAnnotation(),this.result.css=ce.css}var B=e.prototype;return B.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},B.catch=function(B){return this.async().catch(B)},B.finally=function(B){return this.async().then(B,B)},B.sync=function(){if(this.error)throw this.error;return this.result},B.then=function(B,H){return this.async().then(B,H)},B.toString=function(){return this._css},B.warnings=function(){return[]},r_(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var B,H=HL;try{B=H(this._css,this._opts)}catch(B){this.error=B}if(this.error)throw this.error;return this._root=B,B}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),WL=qL;qL.default=qL;var GL=WL,XL=zL,ZL=aP,KL=HP,YL=function(){function e(B){void 0===B&&(B=[]),this.version="8.4.38",this.plugins=this.normalize(B)}var B=e.prototype;return B.normalize=function(B){for(var H,W=[],K=d_(B);!(H=K()).done;){var Y=H.value;if(!0===Y.postcss?Y=Y():Y.postcss&&(Y=Y.postcss),"object"===(void 0===Y?"undefined":c_(Y))&&Array.isArray(Y.plugins))W=W.concat(Y.plugins);else if("object"===(void 0===Y?"undefined":c_(Y))&&Y.postcssPlugin)W.push(Y);else if("function"==typeof Y)W.push(Y);else{if("object"!==(void 0===Y?"undefined":c_(Y))||!Y.parse&&!Y.stringify)throw new Error(Y+" is not a PostCSS plugin");0}}return W},B.process=function(B,H){return void 0===H&&(H={}),this.plugins.length||H.parser||H.stringifier||H.syntax?new XL(this,B,H):new GL(this,B,H)},B.use=function(B){return this.plugins=this.plugins.concat(this.normalize([B])),this},e}(),JL=YL;YL.default=YL,KL.registerProcessor(YL),ZL.registerProcessor(YL);var QL=cT,ej=bT,rj=GT,nj=DP,oj=PT,ij=HP,sj=YP;function Uj(B,H){if(Array.isArray(B))return B.map(function(B){return Uj(B)});var W=B.inputs,K=a_(B,["inputs"]);if(W){H=[];for(var Y,ie=d_(W);!(Y=ie()).done;){var ce=n_({},Y.value,{__proto__:oj.prototype});ce.map&&(ce.map=n_({},ce.map,{__proto__:ej.prototype})),H.push(ce)}}if(K.nodes&&(K.nodes=B.nodes.map(function(B){return Uj(B,H)})),K.source){var ue=K.source,de=ue.inputId,pe=a_(ue,["inputId"]);K.source=pe,null!=de&&(K.source.input=H[de])}if("root"===K.type)return new ij(K);if("decl"===K.type)return new QL(K);if("rule"===K.type)return new sj(K);if("comment"===K.type)return new rj(K);if("atrule"===K.type)return new nj(K);throw new Error("Unknown node type: "+B.type)}var aj=Uj;Uj.default=Uj;var lj=GA,cj=cT,uj=zL,dj=nP,pj=JL,hj=eT,fj=aj,mj=aP,wj=cP,_j=GT,xj=DP,Sj=pP,kj=PT,Cj=lL,Oj=qP,Ej=YP,Rj=HP,Mj=aT;function cL(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];return 1===H.length&&Array.isArray(H[0])&&(H=H[0]),new pj(H)}cL.plugin=function(B,H){var W,K=!1;function o(){for(var W=arguments.length,Y=new Array(W),ie=0;ie<W;ie++)Y[ie]=arguments[ie];console&&console.warn&&!K&&(K=!0,console.warn(B+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(B+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));var ce=H.apply(void 0,[].concat(Y));return ce.postcssPlugin=B,ce.postcssVersion=(new pj).version,ce}return Object.defineProperty(o,"postcss",{get:function(){return W||(W=o()),W}}),o.process=function(B,H,W){return cL([o(W)]).process(B,H)},o},cL.stringify=hj,cL.parse=Cj,cL.fromJSON=fj,cL.list=Oj,cL.comment=function(B){return new _j(B)},cL.atRule=function(B){return new xj(B)},cL.decl=function(B){return new cj(B)},cL.rule=function(B){return new Ej(B)},cL.root=function(B){return new Rj(B)},cL.document=function(B){return new mj(B)},cL.CssSyntaxError=lj,cL.Declaration=cj,cL.Container=dj,cL.Processor=pj,cL.Document=mj,cL.Comment=_j,cL.Warning=wj,cL.AtRule=xj,cL.Result=Sj,cL.Input=kj,cL.Rule=Ej,cL.Root=Rj,cL.Node=Mj,uj.registerPostcss(cL),cL.default=cL;var Ij=Object.defineProperty,pL=function(B,H,W){return function(B,H,W){return H in B?Ij(B,H,{enumerable:!0,configurable:!0,writable:!0,value:W}):B[H]=W}(B,"symbol"!==(void 0===H?"undefined":c_(H))?H+"":H,W)},Aj=function(){function e(B){pL(this,"fileName"),pL(this,"functionName"),pL(this,"lineNumber"),pL(this,"columnNumber"),this.fileName=B.fileName||"",this.functionName=B.functionName||"",this.lineNumber=B.lineNumber,this.columnNumber=B.columnNumber}return e.prototype.toString=function(){var B=this.lineNumber||"",H=this.columnNumber||"";return this.functionName?this.functionName+" ("+this.fileName+":"+B+":"+H+")":this.fileName+":"+B+":"+H},e}(),Tj=/(^|@)\S+:\d+/,Pj=/^\s*at .*(\S+:\d+|\(native\))/m,Lj=/^(eval@)?(\[native code])?$/,jj={parse:function(B){return B?void 0!==B.stacktrace||void 0!==B["opera#sourceloc"]?this.parseOpera(B):B.stack&&B.stack.match(Pj)?this.parseV8OrIE(B):B.stack?this.parseFFOrSafari(B):(console.warn("[console-record-plugin]: Failed to parse error object:",B),[]):[]},extractLocation:function(B){if(-1===B.indexOf(":"))return[B];var H=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(B.replace(/[()]/g,""));if(!H)throw new Error("Cannot parse given url: "+B);return[H[1],H[2]||void 0,H[3]||void 0]},parseV8OrIE:function(B){var H=B.stack.split("\n").filter(function(B){return!!B.match(Pj)},this);return H.map(function(B){B.indexOf("(eval ")>-1&&(B=B.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var H=B.replace(/^\s+/,"").replace(/\(eval code/g,"("),W=H.match(/ (\((.+):(\d+):(\d+)\)$)/),K=(H=W?H.replace(W[0],""):H).split(/\s+/).slice(1),Y=this.extractLocation(W?W[1]:K.pop()),ie=K.join(" ")||void 0,ce=["eval","<anonymous>"].indexOf(Y[0])>-1?void 0:Y[0];return new Aj({functionName:ie,fileName:ce,lineNumber:Y[1],columnNumber:Y[2]})},this)},parseFFOrSafari:function(B){var H=B.stack.split("\n").filter(function(B){return!B.match(Lj)},this);return H.map(function(B){if(B.indexOf(" > eval")>-1&&(B=B.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===B.indexOf("@")&&-1===B.indexOf(":"))return new Aj({functionName:B});var H=/((.*".+"[^@]*)?[^@]*)(?:@)/,W=B.match(H),K=W&&W[1]?W[1]:void 0,Y=this.extractLocation(B.replace(H,""));return new Aj({functionName:K,fileName:Y[0],lineNumber:Y[1],columnNumber:Y[2]})},this)},parseOpera:function(B){return!B.stacktrace||B.message.indexOf("\n")>-1&&B.message.split("\n").length>B.stacktrace.split("\n").length?this.parseOpera9(B):B.stack?this.parseOpera11(B):this.parseOpera10(B)},parseOpera9:function(B){for(var H=/Line (\d+).*script (?:in )?(\S+)/i,W=B.message.split("\n"),K=[],Y=2,ie=W.length;Y<ie;Y+=2){var ce=H.exec(W[Y]);ce&&K.push(new Aj({fileName:ce[2],lineNumber:parseFloat(ce[1])}))}return K},parseOpera10:function(B){for(var H=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,W=B.stacktrace.split("\n"),K=[],Y=0,ie=W.length;Y<ie;Y+=2){var ce=H.exec(W[Y]);ce&&K.push(new Aj({functionName:ce[3]||void 0,fileName:ce[2],lineNumber:parseFloat(ce[1])}))}return K},parseOpera11:function(B){var H=B.stack.split("\n").filter(function(B){return!!B.match(Tj)&&!B.match(/^Error created at/)},this);return H.map(function(B){var H=B.split("@"),W=this.extractLocation(H.pop()),K=(H.shift()||"").replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;return new Aj({functionName:K,fileName:W[0],lineNumber:W[1],columnNumber:W[2]})},this)}};function vL(B){if(!B||!B.outerHTML)return"";for(var H="";B.parentElement;){var W=B.localName;if(!W)break;W=W.toLowerCase();var K=B.parentElement,Y=[];if(K.children&&K.children.length>0)for(var ie=0;ie<K.children.length;ie++){var ce=K.children[ie];ce.localName&&ce.localName.toLowerCase&&ce.localName.toLowerCase()===W&&Y.push(ce)}Y.length>1&&(W+=":eq("+Y.indexOf(B)+")"),H=W+(H?">"+H:""),B=K}return H}function yL(B){return"[object Object]"===Object.prototype.toString.call(B)}function bL(B,H){if(0===H)return!0;for(var W,K=d_(Object.keys(B));!(W=K()).done;){var Y=W.value;if(yL(B[Y])&&bL(B[Y],H-1))return!0}return!1}function wL(B,H){var W={numOfKeysLimit:50,depthOfLimit:4};Object.assign(W,H);var K=[],Y=[];return JSON.stringify(B,function(B,H){if(K.length>0){var ie=K.indexOf(this);~ie?K.splice(ie+1):K.push(this),~ie?Y.splice(ie,1/0,B):Y.push(B),~K.indexOf(H)&&(H=K[0]===H?"[Circular ~]":"[Circular ~."+Y.slice(0,K.indexOf(H)).join(".")+"]")}else K.push(H);if(null===H)return H;if(void 0===H)return"undefined";if(yL(ce=H)&&Object.keys(ce).length>W.numOfKeysLimit||"function"==typeof ce||yL(ce)&&bL(ce,W.depthOfLimit))return function(B){var H=B.toString();return W.stringLengthLimit&&H.length>W.stringLengthLimit&&(H=H.slice(0,W.stringLengthLimit)+"..."),H}(H);var ce;if("bigint"===(void 0===H?"undefined":c_(H)))return H.toString()+"n";if(s_(H,Event)){var ue={};for(var de in H){var pe=H[de];Array.isArray(pe)?ue[de]=vL(pe.length?pe[0]:null):ue[de]=pe}return ue}return s_(H,Node)?s_(H,HTMLElement)?H?H.outerHTML:"":H.nodeName:s_(H,Error)?H.stack?H.stack+"\nEnd of stack for Error object":H.name+": "+H.message:H})}var Fj={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],lengthThreshold:1e3,logger:"console"};function _L(B,H,W){var K,Y=W?Object.assign({},Fj,W):Fj,ie=Y.logger;if(!ie)return function(){};K="string"==typeof ie?H[ie]:ie;var ce=0,ue=!1,de=[];if(Y.level.includes("error")){var c=function(H){var W=H.message,K=H.error,ie=jj.parse(K).map(function(B){return B.toString()}),ce=[wL(W,Y.stringifyOptions)];B({level:"error",trace:ie,payload:ce})};H.addEventListener("error",c),de.push(function(){H.removeEventListener("error",c)});var u=function(H){var W,K;s_(H.reason,Error)?K=[wL("Uncaught (in promise) "+(W=H.reason).name+": "+W.message,Y.stringifyOptions)]:(W=new Error,K=[wL("Uncaught (in promise)",Y.stringifyOptions),wL(H.reason,Y.stringifyOptions)]);var ie=jj.parse(W).map(function(B){return B.toString()});B({level:"error",trace:ie,payload:K})};H.addEventListener("unhandledrejection",u),de.push(function(){H.removeEventListener("unhandledrejection",u)})}for(var pe,fe=d_(Y.level);!(pe=fe()).done;){var ke=pe.value;de.push(h(K,ke))}return function(){de.forEach(function(B){return B()})};function h(H,W){var K=this;return H[W]?function(H,ie){try{if(!(ie in H))return function(){};var de=H[ie],pe=function(H){var ie=K;return function(){for(var K=arguments.length,de=new Array(K),pe=0;pe<K;pe++)de[pe]=arguments[pe];if(H.apply(ie,de),!("assert"===W&&de[0]||ue)){ue=!0;try{var fe=jj.parse(new Error).map(function(B){return B.toString()}).splice(1),ke=("assert"===W?de.slice(1):de).map(function(B){return wL(B,Y.stringifyOptions)});++ce<Y.lengthThreshold?B({level:W,trace:fe,payload:ke}):ce===Y.lengthThreshold&&B({level:"warn",trace:[],payload:[wL("The number of log records reached the threshold.")]})}catch(B){H.apply(void 0,[].concat(["rrweb logger error:",B],de))}finally{ue=!1}}}}(de);return"function"==typeof pe&&(pe.prototype=pe.prototype||{},Object.defineProperties(pe,{__rrweb_original__:{enumerable:!1,value:de}})),H[ie]=pe,function(){H[ie]=de}}catch(B){return function(){}}}(H,W):function(){}}}var Nj,Dj,$j,zj=Sw.setImmediate,Bj=Object.prototype.toString,Hj=void 0!==zj?function(B){return zj(B)}:setTimeout;try{Nj=function(B,H,W,K){return Object.defineProperty(B,H,{value:W,writable:!0,configurable:!1!==K})}}catch(K){Nj=function(B,H,W){return B[H]=W,B}}function RL(B,H){$j.add(B,H),Dj||(Dj=Hj($j.drain))}function IL(B){var H,W=typeof B;return null===B||"object"!==W&&"function"!==W||(H=B.then),"function"==typeof H&&H}function ML(){for(var B=0;B<this.chain.length;B++)AL(this,1===this.state?this.chain[B].success:this.chain[B].failure,this.chain[B]);this.chain.length=0}function AL(B,H,W){var K,Y;try{!1===H?W.reject(B.msg):(K=!0===H?B.msg:H.call(void 0,B.msg))===W.promise?W.reject(TypeError("Promise-chain cycle")):(Y=IL(K))?Y.call(K,W.resolve,W.reject):W.resolve(K)}catch(B){W.reject(B)}}function PL(B){var H,W=this;if(!W.triggered){W.triggered=!0,W.def&&(W=W.def);try{(H=IL(B))?RL(function(){var K=new LL(W);try{H.call(B,function(){PL.apply(K,arguments)},function(){NL.apply(K,arguments)})}catch(B){NL.call(K,B)}}):(W.msg=B,W.state=1,W.chain.length>0&&RL(ML,W))}catch(B){NL.call(new LL(W),B)}}}function NL(B){var H=this;H.triggered||(H.triggered=!0,H.def&&(H=H.def),H.msg=B,H.state=2,H.chain.length>0&&RL(ML,H))}function jL(B,H,W,K){for(var Y=0;Y<H.length;Y++)(function(Y){B.resolve(H[Y]).then(function(B){W(Y,B)},K)})(Y)}function LL(B){this.def=B,this.triggered=!1}function DL(B){this.promise=B,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function FL(B){if("function"!=typeof B)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var H=new DL(this);this.then=function(B,W){var K={success:"function"!=typeof B||B,failure:"function"==typeof W&&W};return K.promise=new this.constructor(function(B,H){if("function"!=typeof B||"function"!=typeof H)throw TypeError("Not a function");K.resolve=B,K.reject=H}),H.chain.push(K),0!==H.state&&RL(ML,H),K.promise},this.catch=function(B){return this.then(void 0,B)};try{B.call(void 0,function(B){PL.call(H,B)},function(B){NL.call(H,B)})}catch(B){NL.call(H,B)}}$j=function(){var B,H,W;function n(B,H){this.fn=B,this.self=H,this.next=void 0}return{add:function(K,Y){W=new n(K,Y),H?H.next=W:B=W,H=W,W=void 0},drain:function(){var W=B;for(B=H=Dj=void 0;W;)W.fn.call(W.self),W=W.next}}}();var Vj,qj=Nj({},"constructor",FL,!1);FL.prototype=qj,Nj(qj,"__NPO__",0,!1),Nj(FL,"resolve",function(B){return B&&"object"==typeof B&&1===B.__NPO__?B:new this(function(H,W){if("function"!=typeof H||"function"!=typeof W)throw TypeError("Not a function");H(B)})}),Nj(FL,"reject",function(B){return new this(function(H,W){if("function"!=typeof H||"function"!=typeof W)throw TypeError("Not a function");W(B)})}),Nj(FL,"all",function(B){var H=this;return"[object Array]"!==Bj.call(B)?H.reject(TypeError("Not an array")):0===B.length?H.resolve([]):new H(function(W,K){if("function"!=typeof W||"function"!=typeof K)throw TypeError("Not a function");var Y=B.length,ie=Array(Y),ce=0;jL(H,B,function(B,H){ie[B]=H,++ce===Y&&W(ie)},K)})}),Nj(FL,"race",function(B){var H=this;return"[object Array]"!==Bj.call(B)?H.reject(TypeError("Not an array")):new H(function(W,K){if("function"!=typeof W||"function"!=typeof K)throw TypeError("Not a function");jL(H,B,function(B,H){W(H)},K)})}),Vj="undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?Promise:FL;var Wj=864e5,Gj=Array.prototype,Xj=Function.prototype,Zj=Object.prototype,Kj=Gj.slice,Yj=Zj.toString,Jj=Zj.hasOwnProperty,Qj=Sw.console,rF=Sw.navigator,sF=Sw.document,aF=Sw.opera,lF=Sw.screen,cF=rF.userAgent,uF=Xj.bind,dF=Gj.forEach,pF=Gj.indexOf,hF=Gj.map,fF=Array.isArray,mF={},gF={trim:function(B){return B.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},vF={log:function(){if(Ew.DEBUG&&!gF.isUndefined(Qj)&&Qj)try{Qj.log.apply(Qj,arguments)}catch(B){gF.each(arguments,function(B){Qj.log(B)})}},warn:function(){if(Ew.DEBUG&&!gF.isUndefined(Qj)&&Qj){var B=["Mixpanel warning:"].concat(gF.toArray(arguments));try{Qj.warn.apply(Qj,B)}catch(H){gF.each(B,function(B){Qj.warn(B)})}}},error:function(){if(Ew.DEBUG&&!gF.isUndefined(Qj)&&Qj){var B=["Mixpanel error:"].concat(gF.toArray(arguments));try{Qj.error.apply(Qj,B)}catch(H){gF.each(B,function(B){Qj.error(B)})}}},critical:function(){if(!gF.isUndefined(Qj)&&Qj){var B=["Mixpanel error:"].concat(gF.toArray(arguments));try{Qj.error.apply(Qj,B)}catch(H){gF.each(B,function(B){Qj.error(B)})}}}},lD=function(B,H){return function(){return arguments[0]="["+H+"] "+arguments[0],B.apply(vF,arguments)}},cD=function(B){return{log:lD(vF.log,B),error:lD(vF.error,B),critical:lD(vF.critical,B)}},uD=function(B){return function(){try{return B.apply(this,arguments)}catch(B){vF.critical("Implementation error. Please turn on debug and contact [email protected]."),Ew.DEBUG&&vF.critical(B)}}},pD=function(B){var H=B.prototype;for(var W in H)"function"==typeof H[W]&&(H[W]=uD(H[W]))};gF.bind=function(B,H){var W,K;if(uF&&B.bind===uF)return uF.apply(B,Kj.call(arguments,1));if(!gF.isFunction(B))throw new TypeError;return W=Kj.call(arguments,2),K=function(){if(!(this instanceof K))return B.apply(H,W.concat(Kj.call(arguments)));var Y={};Y.prototype=B.prototype;var ie=new Y;Y.prototype=null;var ce=B.apply(ie,W.concat(Kj.call(arguments)));return Object(ce)===ce?ce:ie},K},gF.each=function(B,H,W){if(null!=B)if(dF&&B.forEach===dF)B.forEach(H,W);else if(B.length===+B.length){for(var K=0,Y=B.length;K<Y;K++)if(K in B&&H.call(W,B[K],K,B)===mF)return}else for(var ie in B)if(Jj.call(B,ie)&&H.call(W,B[ie],ie,B)===mF)return},gF.extend=function(B){return gF.each(Kj.call(arguments,1),function(H){for(var W in H)void 0!==H[W]&&(B[W]=H[W])}),B},gF.isArray=fF||function(B){return"[object Array]"===Yj.call(B)},gF.isFunction=function(B){return"function"==typeof B},gF.isArguments=function(B){return!(!B||!Jj.call(B,"callee"))},gF.toArray=function(B){return B?B.toArray?B.toArray():gF.isArray(B)||gF.isArguments(B)?Kj.call(B):gF.values(B):[]},gF.map=function(B,H,W){if(hF&&B.map===hF)return B.map(H,W);var K=[];return gF.each(B,function(B){K.push(H.call(W,B))}),K},gF.keys=function(B){var H=[];return null===B||gF.each(B,function(B,W){H[H.length]=W}),H},gF.values=function(B){var H=[];return null===B||gF.each(B,function(B){H[H.length]=B}),H},gF.include=function(B,H){var W=!1;return null===B?W:pF&&B.indexOf===pF?-1!=B.indexOf(H):(gF.each(B,function(B){if(W||(W=B===H))return mF}),W)},gF.includes=function(B,H){return-1!==B.indexOf(H)},gF.inherit=function(B,H){return B.prototype=new H,B.prototype.constructor=B,B.superclass=H.prototype,B},gF.isObject=function(B){return B===Object(B)&&!gF.isArray(B)},gF.isEmptyObject=function(B){if(gF.isObject(B)){for(var H in B)if(Jj.call(B,H))return!1;return!0}return!1},gF.isUndefined=function(B){return void 0===B},gF.isString=function(B){return"[object String]"==Yj.call(B)},gF.isDate=function(B){return"[object Date]"==Yj.call(B)},gF.isNumber=function(B){return"[object Number]"==Yj.call(B)},gF.isElement=function(B){return!(!B||1!==B.nodeType)},gF.encodeDates=function(B){return gF.each(B,function(H,W){gF.isDate(H)?B[W]=gF.formatDate(H):gF.isObject(H)&&(B[W]=gF.encodeDates(H))}),B},gF.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},gF.formatDate=function(B){function t(B){return B<10?"0"+B:B}return B.getUTCFullYear()+"-"+t(B.getUTCMonth()+1)+"-"+t(B.getUTCDate())+"T"+t(B.getUTCHours())+":"+t(B.getUTCMinutes())+":"+t(B.getUTCSeconds())},gF.strip_empty_properties=function(B){var H={};return gF.each(B,function(B,W){gF.isString(B)&&B.length>0&&(H[W]=B)}),H},gF.truncate=function(B,H){var W;return"string"==typeof B?W=B.slice(0,H):gF.isArray(B)?(W=[],gF.each(B,function(B){W.push(gF.truncate(B,H))})):gF.isObject(B)?(W={},gF.each(B,function(B,K){W[K]=gF.truncate(B,H)})):W=B,W},gF.JSONEncode=function(B){var t=function(B){var H=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,W={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return H.lastIndex=0,H.test(B)?'"'+B.replace(H,function(B){var H=W[B];return"string"==typeof H?H:"\\u"+("0000"+B.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+B+'"'},r=function(B,H){var W="",K=0,Y="",ie="",ce=0,ue=W,de=[],pe=H[B];switch(pe&&"object"==typeof pe&&"function"==typeof pe.toJSON&&(pe=pe.toJSON(B)),typeof pe){case"string":return t(pe);case"number":return isFinite(pe)?String(pe):"null";case"boolean":case"null":return String(pe);case"object":if(!pe)return"null";if(W+=" ",de=[],"[object Array]"===Yj.apply(pe)){for(ce=pe.length,K=0;K<ce;K+=1)de[K]=r(K,pe)||"null";return ie=0===de.length?"[]":W?"[\n"+W+de.join(",\n"+W)+"\n"+ue+"]":"["+de.join(",")+"]",W=ue,ie}for(Y in pe)Jj.call(pe,Y)&&(ie=r(Y,pe))&&de.push(t(Y)+(W?": ":":")+ie);return ie=0===de.length?"{}":W?"{"+de.join(",")+ue+"}":"{"+de.join(",")+"}",W=ue,ie}};return r("",{"":B})},gF.JSONDecode=function(){var B,H,W,K,Y={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},i=function(H){var K=new SyntaxError(H);throw K.at=B,K.text=W,K},s=function(K){return K&&K!==H&&i("Expected '"+K+"' instead of '"+H+"'"),H=W.charAt(B),B+=1,H},a=function(){var B,W="";for("-"===H&&(W="-",s("-"));H>="0"&&H<="9";)W+=H,s();if("."===H)for(W+=".";s()&&H>="0"&&H<="9";)W+=H;if("e"===H||"E"===H)for(W+=H,s(),"-"!==H&&"+"!==H||(W+=H,s());H>="0"&&H<="9";)W+=H,s();if(B=+W,isFinite(B))return B;i("Bad number")},l=function(){var B,W,K,ie="";if('"'===H)for(;s();){if('"'===H)return s(),ie;if("\\"===H)if(s(),"u"===H){for(K=0,W=0;W<4&&(B=parseInt(s(),16),isFinite(B));W+=1)K=16*K+B;ie+=String.fromCharCode(K)}else{if("string"!=typeof Y[H])break;ie+=Y[H]}else ie+=H}i("Bad string")},c=function(){for(;H&&H<=" ";)s()};return K=function(){switch(c(),H){case"{":return function(){var B,W={};if("{"===H){if(s("{"),c(),"}"===H)return s("}"),W;for(;H;){if(B=l(),c(),s(":"),Object.hasOwnProperty.call(W,B)&&i('Duplicate key "'+B+'"'),W[B]=K(),c(),"}"===H)return s("}"),W;s(","),c()}}i("Bad object")}();case"[":return function(){var B=[];if("["===H){if(s("["),c(),"]"===H)return s("]"),B;for(;H;){if(B.push(K()),c(),"]"===H)return s("]"),B;s(","),c()}}i("Bad array")}();case'"':return l();case"-":return a();default:return H>="0"&&H<="9"?a():function(){switch(H){case"t":return s("t"),s("r"),s("u"),s("e"),!0;case"f":return s("f"),s("a"),s("l"),s("s"),s("e"),!1;case"n":return s("n"),s("u"),s("l"),s("l"),null}i('Unexpected "'+H+'"')}()}},function(Y){var ie;return W=Y,B=0,H=" ",ie=K(),c(),H&&i("Syntax error"),ie}}(),gF.base64Encode=function(B){var H,W,K,Y,ie,ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ue=0,de=0,pe="",fe=[];if(!B)return B;B=gF.utf8Encode(B);do{H=(ie=B.charCodeAt(ue++)<<16|B.charCodeAt(ue++)<<8|B.charCodeAt(ue++))>>18&63,W=ie>>12&63,K=ie>>6&63,Y=63&ie,fe[de++]=ce.charAt(H)+ce.charAt(W)+ce.charAt(K)+ce.charAt(Y)}while(ue<B.length);switch(pe=fe.join(""),B.length%3){case 1:pe=pe.slice(0,-2)+"==";break;case 2:pe=pe.slice(0,-1)+"="}return pe},gF.utf8Encode=function(B){var H,W,K,Y,ie="";for(H=W=0,K=(B=(B+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,Y=0;Y<K;Y++){var ce=B.charCodeAt(Y),ue=null;ce<128?W++:ue=ce>127&&ce<2048?String.fromCharCode(ce>>6|192,63&ce|128):String.fromCharCode(ce>>12|224,ce>>6&63|128,63&ce|128),null!==ue&&(W>H&&(ie+=B.substring(H,W)),ie+=ue,H=W=Y+1)}return W>H&&(ie+=B.substring(H,B.length)),ie},gF.UUID=function(){try{return Sw.crypto.randomUUID()}catch(W){for(var B=new Array(36),H=0;H<36;H++)B[H]=Math.floor(16*Math.random());return B[14]=4,B[19]=B[19]&=-5,B[19]=B[19]|=8,B[8]=B[13]=B[18]=B[23]="-",gF.map(B,function(B){return B.toString(16)}).join("")}};var yF=["ahrefsbot","ahrefssiteaudit","amazonbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandex","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];gF.isBlockedUA=function(B){var H;for(B=B.toLowerCase(),H=0;H<yF.length;H++)if(-1!==B.indexOf(yF[H]))return!0;return!1},gF.HTTPBuildQuery=function(B,H){var W,K,Y=[];return gF.isUndefined(H)&&(H="&"),gF.each(B,function(B,H){W=encodeURIComponent(B.toString()),K=encodeURIComponent(H),Y[Y.length]=K+"="+W}),Y.join(H)},gF.getQueryParam=function(B,H){H=H.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var W=new RegExp("[\\?&]"+H+"=([^&#]*)").exec(B);if(null===W||W&&"string"!=typeof W[1]&&W[1].length)return"";var K=W[1];try{K=decodeURIComponent(K)}catch(B){vF.error("Skipping decoding for malformed query param: "+K)}return K.replace(/\+/g," ")},gF.cookie={get:function(B){for(var H=B+"=",W=sF.cookie.split(";"),K=0;K<W.length;K++){for(var Y=W[K];" "==Y.charAt(0);)Y=Y.substring(1,Y.length);if(0===Y.indexOf(H))return decodeURIComponent(Y.substring(H.length,Y.length))}return null},parse:function(B){var H;try{H=gF.JSONDecode(gF.cookie.get(B))||{}}catch(B){}return H},set_seconds:function(B,H,W,K,Y,ie,ce){var ue="",de="",pe="";if(ce)ue="; domain="+ce;else if(K){var fe=ED(sF.location.hostname);ue=fe?"; domain=."+fe:""}if(W){var ke=new Date;ke.setTime(ke.getTime()+1e3*W),de="; expires="+ke.toGMTString()}ie&&(Y=!0,pe="; SameSite=None"),Y&&(pe+="; secure"),sF.cookie=B+"="+encodeURIComponent(H)+de+"; path=/"+ue+pe},set:function(B,H,W,K,Y,ie,ce){var ue="",de="",pe="";if(ce)ue="; domain="+ce;else if(K){var fe=ED(sF.location.hostname);ue=fe?"; domain=."+fe:""}if(W){var ke=new Date;ke.setTime(ke.getTime()+24*W*60*60*1e3),de="; expires="+ke.toGMTString()}ie&&(Y=!0,pe="; SameSite=None"),Y&&(pe+="; secure");var Je=B+"="+encodeURIComponent(H)+de+"; path=/"+ue+pe;return sF.cookie=Je,Je},remove:function(B,H,W){gF.cookie.set(B,"",-1,H,!1,!1,W)}};var fD=function(B){var H=!0;try{var W="__mplss_"+SD(8);B.setItem(W,"xyz"),"xyz"!==B.getItem(W)&&(H=!1),B.removeItem(W)}catch(B){H=!1}return H},bF=null,mD=function(B,H){return null===bF||H?bF=fD(B||Sw.localStorage):bF},wF=null;function vD(B,H,W){var n=function(B){vF.error(H+" error: "+B)};return{is_supported:function(K){var Y=W(B,K);return Y||vF.error(H+" unsupported"),Y},error:n,get:function(H){try{return B.getItem(H)}catch(B){n(B)}return null},parse:function(H){try{return gF.JSONDecode(B.getItem(H))||{}}catch(B){}return null},set:function(H,W){try{B.setItem(H,W)}catch(B){n(B)}},remove:function(H){try{B.removeItem(H)}catch(B){n(B)}}}}var _F=null,xF=null;try{_F=Sw.localStorage,xF=Sw.sessionStorage}catch(K){}gF.localStorage=vD(_F,"localStorage",mD),gF.sessionStorage=vD(xF,"sessionStorage",function(B,H){return null===wF||H?wF=fD(B||Sw.sessionStorage):wF}),gF.register_event=function(){function e(B){return B&&(B.preventDefault=e.preventDefault,B.stopPropagation=e.stopPropagation),B}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(B,H,W,K,Y){if(B)if(B.addEventListener&&!K)B.addEventListener(H,W,!!Y);else{var ie="on"+H,ce=B[ie];B[ie]=function(B,H,W){return function(K){if(K=K||e(Sw.event)){var Y,ie,ce=!0;return gF.isFunction(W)&&(Y=W(K)),ie=H.call(B,K),!1!==Y&&!1!==ie||(ce=!1),ce}}}(B,W,ce)}else vF.error("No valid element provided to register_event")}}();var SF=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');gF.dom_query=function(){function e(B){return B.all?B.all:B.getElementsByTagName("*")}var B=/[\t\r\n]/g;function r(H,W){var K=" "+W+" ";return(" "+H.className+" ").replace(B," ").indexOf(K)>=0}function n(B){if(!sF.getElementsByTagName)return[];var H,W,K,Y,ie,ce,ue,de,pe,fe,ke=B.split(" "),Je=[sF];for(ce=0;ce<ke.length;ce++)if((H=ke[ce].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){K=(W=H.split("#"))[0];var rt=W[1],st=sF.getElementById(rt);if(!st||K&&st.nodeName.toLowerCase()!=K)return[];Je=[st]}else if(H.indexOf(".")>-1){K=(W=H.split("."))[0];var at=W[1];for(K||(K="*"),Y=[],ie=0,ue=0;ue<Je.length;ue++)for(pe="*"==K?e(Je[ue]):Je[ue].getElementsByTagName(K),de=0;de<pe.length;de++)Y[ie++]=pe[de];for(Je=[],fe=0,ue=0;ue<Y.length;ue++)Y[ue].className&&gF.isString(Y[ue].className)&&r(Y[ue],at)&&(Je[fe++]=Y[ue])}else{var lt=H.match(SF);if(lt){K=lt[1];var pt,ht=lt[2],mt=lt[3],vt=lt[4];for(K||(K="*"),Y=[],ie=0,ue=0;ue<Je.length;ue++)for(pe="*"==K?e(Je[ue]):Je[ue].getElementsByTagName(K),de=0;de<pe.length;de++)Y[ie++]=pe[de];switch(Je=[],fe=0,mt){case"=":pt=function(B){return B.getAttribute(ht)==vt};break;case"~":pt=function(B){return B.getAttribute(ht).match(new RegExp("\\b"+vt+"\\b"))};break;case"|":pt=function(B){return B.getAttribute(ht).match(new RegExp("^"+vt+"-?"))};break;case"^":pt=function(B){return 0===B.getAttribute(ht).indexOf(vt)};break;case"$":pt=function(B){return B.getAttribute(ht).lastIndexOf(vt)==B.getAttribute(ht).length-vt.length};break;case"*":pt=function(B){return B.getAttribute(ht).indexOf(vt)>-1};break;default:pt=function(B){return B.getAttribute(ht)}}for(Je=[],fe=0,ue=0;ue<Y.length;ue++)pt(Y[ue])&&(Je[fe++]=Y[ue])}else{for(K=H,Y=[],ie=0,ue=0;ue<Je.length;ue++)for(pe=Je[ue].getElementsByTagName(K),de=0;de<pe.length;de++)Y[ie++]=pe[de];Je=Y}}return Je}return function(B){return gF.isElement(B)?[B]:gF.isObject(B)&&!gF.isUndefined(B.length)?B:n.call(this,B)}}();var kF=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],CF=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];gF.info={campaignParams:function(B){var H="",W={};return gF.each(kF,function(K){(H=gF.getQueryParam(sF.URL,K)).length?W[K]=H:void 0!==B&&(W[K]=B)}),W},clickParams:function(){var B="",H={};return gF.each(CF,function(W){(B=gF.getQueryParam(sF.URL,W)).length&&(H[W]=B)}),H},marketingParams:function(){return gF.extend(gF.info.campaignParams(),gF.info.clickParams())},searchEngine:function(B){return 0===B.search("https?://(.*)google.([^/?]*)")?"google":0===B.search("https?://(.*)bing.com")?"bing":0===B.search("https?://(.*)yahoo.com")?"yahoo":0===B.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(B){var H=gF.info.searchEngine(B),W="yahoo"!=H?"q":"p",K={};if(null!==H){K.$search_engine=H;var Y=gF.getQueryParam(B,W);Y.length&&(K.mp_keyword=Y)}return K},browser:function(B,H,W){return H=H||"",W||gF.includes(B," OPR/")?gF.includes(B,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(B)?"BlackBerry":gF.includes(B,"IEMobile")||gF.includes(B,"WPDesktop")?"Internet Explorer Mobile":gF.includes(B,"SamsungBrowser/")?"Samsung Internet":gF.includes(B,"Edge")||gF.includes(B,"Edg/")?"Microsoft Edge":gF.includes(B,"FBIOS")?"Facebook Mobile":gF.includes(B,"Whale/")?"Whale Browser":gF.includes(B,"Chrome")?"Chrome":gF.includes(B,"CriOS")?"Chrome iOS":gF.includes(B,"UCWEB")||gF.includes(B,"UCBrowser")?"UC Browser":gF.includes(B,"FxiOS")?"Firefox iOS":gF.includes(H,"Apple")?gF.includes(B,"Mobile")?"Mobile Safari":"Safari":gF.includes(B,"Android")?"Android Mobile":gF.includes(B,"Konqueror")?"Konqueror":gF.includes(B,"Firefox")?"Firefox":gF.includes(B,"MSIE")||gF.includes(B,"Trident/")?"Internet Explorer":gF.includes(B,"Gecko")?"Mozilla":""},browserVersion:function(B,H,W){var K={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/}[gF.info.browser(B,H,W)];if(void 0===K)return null;var Y=B.match(K);return Y?parseFloat(Y[Y.length-2]):null},os:function(){var B=cF;return/Windows/i.test(B)?/Phone/.test(B)||/WPDesktop/.test(B)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(B)?"iOS":/Android/.test(B)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(B)?"BlackBerry":/Mac/i.test(B)?"Mac OS X":/Linux/.test(B)?"Linux":/CrOS/.test(B)?"Chrome OS":""},device:function(B){return/Windows Phone/i.test(B)||/WPDesktop/.test(B)?"Windows Phone":/iPad/.test(B)?"iPad":/iPod/.test(B)?"iPod Touch":/iPhone/.test(B)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(B)?"BlackBerry":/Android/.test(B)?"Android":""},referringDomain:function(B){var H=B.split("/");return H.length>=3?H[2]:""},currentUrl:function(){return Sw.location.href},properties:function(B){return"object"!=typeof B&&(B={}),gF.extend(gF.strip_empty_properties({$os:gF.info.os(),$browser:gF.info.browser(cF,rF.vendor,aF),$referrer:sF.referrer,$referring_domain:gF.info.referringDomain(sF.referrer),$device:gF.info.device(cF)}),{$current_url:gF.info.currentUrl(),$browser_version:gF.info.browserVersion(cF,rF.vendor,aF),$screen_height:lF.height,$screen_width:lF.width,mp_lib:"web",$lib_version:Ew.LIB_VERSION,$insert_id:SD(),time:gF.timestamp()/1e3},gF.strip_empty_properties(B))},people_properties:function(){return gF.extend(gF.strip_empty_properties({$os:gF.info.os(),$browser:gF.info.browser(cF,rF.vendor,aF)}),{$browser_version:gF.info.browserVersion(cF,rF.vendor,aF)})},mpPageViewProperties:function(){return gF.strip_empty_properties({current_page_title:sF.title,current_domain:Sw.location.hostname,current_url_path:Sw.location.pathname,current_url_protocol:Sw.location.protocol,current_url_search:Sw.location.search})}};var SD=function(B){var H=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return B?H.substring(0,B):H},kD=function(){return"00-"+gF.UUID().replace(/-/g,"")+"-"+gF.UUID().replace(/-/g,"").substring(0,16)+"-01"},qF=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,WF=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,ED=function(B){var H=WF,W=B.split("."),K=W[W.length-1];(K.length>4||"com"===K||"org"===K)&&(H=qF);var Y=B.match(H);return Y?Y[0]:""},TD=function(){},RD=function(B,H){for(var W=!1,K=0;K<H.length;K++)if(B.match(H[K])){W=!0;break}return W},ZF=null,JF=null;"undefined"!=typeof JSON&&(ZF=JSON.stringify,JF=JSON.parse),ZF=ZF||gF.JSONEncode,JF=JF||gF.JSONDecode,gF.info=gF.info,gF.info.browser=gF.info.browser,gF.info.browserVersion=gF.info.browserVersion,gF.info.device=gF.info.device,gF.info.properties=gF.info.properties,gF.isBlockedUA=gF.isBlockedUA,gF.isEmptyObject=gF.isEmptyObject,gF.isObject=gF.isObject,gF.JSONDecode=gF.JSONDecode,gF.JSONEncode=gF.JSONEncode,gF.toArray=gF.toArray,gF.NPO=FL;var eN="mixpanelRecordingEvents",tN="mixpanelRecordingRegistry",rN=[eN,tN],jD=function(B){this.dbPromise=null,this.storeName=B};function LD(B,H){GD(!0,B,H)}function DD(B,H){GD(!1,B,H)}function FD(B,H){return"1"===HD(B,H)}function $D(B,H){if(function(B){if(B&&B.ignoreDnt)return!1;var H=B&&B.window||Sw,W=H.navigator||{},K=!1;return gF.each([W.doNotTrack,W.msDoNotTrack,H.doNotTrack],function(B){gF.includes([!0,1,"1","yes"],B)&&(K=!0)}),K}(H))return vF.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var W="0"===HD(B,H);return W&&vF.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),W}function BD(B){return KD(B,function(B){return this.get_config(B)})}function zD(B){return KD(B,function(B){return this._get_config(B)})}function VD(B){return KD(B,function(B){return this._get_config(B)})}function UD(B,H){qD(H=H||{}).remove(WD(B,H),!!H.crossSubdomainCookie,H.cookieDomain)}function qD(B){return"localStorage"===(B=B||{}).persistenceType?gF.localStorage:gF.cookie}function WD(B,H){return((H=H||{}).persistencePrefix||"__mp_opt_in_out_")+B}function HD(B,H){return qD(H).get(WD(B,H))}function GD(B,H,W){gF.isString(H)&&H.length?(qD(W=W||{}).set(WD(H,W),B?1:0,gF.isNumber(W.cookieExpiration)?W.cookieExpiration:null,!!W.crossSubdomainCookie,!!W.secureCookie,!!W.crossSiteCookie,W.cookieDomain),W.track&&B&&W.track(W.trackEventName||"$opt_in",W.trackProperties,{send_immediately:!0})):vF.error("gdpr."+(B?"optIn":"optOut")+" called with an invalid token")}function KD(B,H){return function(){var W=!1;try{var K=H.call(this,"token"),Y=H.call(this,"ignore_dnt"),ie=H.call(this,"opt_out_tracking_persistence_type"),ce=H.call(this,"opt_out_tracking_cookie_prefix"),ue=H.call(this,"window");K&&(W=$D(K,{ignoreDnt:Y,persistenceType:ie,persistencePrefix:ce,window:ue}))}catch(B){vF.error("Unexpected error when checking tracking opt-out status: "+B)}if(!W)return B.apply(this,arguments);var de=arguments[arguments.length-1];"function"==typeof de&&de(0)}}jD.prototype._openDb=function(){return new Vj(function(B,H){var W=Sw.indexedDB.open("mixpanelBrowserDb",1);W.onerror=function(){H(W.error)},W.onsuccess=function(){B(W.result)},W.onupgradeneeded=function(B){var H=B.target.result;rN.forEach(function(B){H.createObjectStore(B)})}})},jD.prototype.init=function(){return Sw.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(B){return B instanceof Sw.IDBDatabase?Vj.resolve():Vj.reject(B)})):Vj.reject("indexedDB is not supported in this browser")},jD.prototype.isInitialized=function(){return!!this.dbPromise},jD.prototype.makeTransaction=function(B,H){var W=this.storeName,n=function(K){return new Vj(function(Y,ie){var ce=K.transaction(W,B);ce.oncomplete=function(){Y(ce)},ce.onabort=ce.onerror=function(){ie(ce.error)},H(ce.objectStore(W))})};return this.dbPromise.then(n).catch(function(B){return B&&"InvalidStateError"===B.name?(this.dbPromise=this._openDb(),this.dbPromise.then(n)):Vj.reject(B)}.bind(this))},jD.prototype.setItem=function(B,H){return this.makeTransaction("readwrite",function(W){W.put(H,B)})},jD.prototype.getItem=function(B){var H;return this.makeTransaction("readonly",function(W){H=W.get(B)}).then(function(){return H.result})},jD.prototype.removeItem=function(B){return this.makeTransaction("readwrite",function(H){H.delete(B)})},jD.prototype.getAll=function(){var B;return this.makeTransaction("readonly",function(H){B=H.getAll()}).then(function(){return B.result})};var nN=cD("lock"),ZD=function(B,H){H=H||{},this.storageKey=B,this.storage=H.storage||Sw.localStorage,this.pollIntervalMS=H.pollIntervalMS||100,this.timeoutMS=H.timeoutMS||2e3,this.promiseImpl=H.promiseImpl||Vj};ZD.prototype.withLock=function(B,H){return new(0,this.promiseImpl)(gF.bind(function(W,K){var Y=H||(new Date).getTime()+"|"+Math.random(),ie=(new Date).getTime(),ce=this.storageKey,ue=this.pollIntervalMS,de=this.timeoutMS,pe=this.storage,fe=ce+":X",ke=ce+":Y",Je=ce+":Z",f=function(B){if((new Date).getTime()-ie>de)return nN.error("Timeout waiting for mutex on "+ce+"; clearing lock. ["+Y+"]"),pe.removeItem(Je),pe.removeItem(ke),void g();setTimeout(function(){try{B()}catch(B){K(B)}},ue*(Math.random()+.1))},h=function(B,H){B()?H():f(function(){h(B,H)})},m=function(){var B=pe.getItem(ke);return!(B&&B!==Y||(pe.setItem(ke,Y),pe.getItem(ke)!==Y&&(mD(pe,!0)||K(new Error("localStorage support dropped while acquiring lock")),1)))},g=function(){pe.setItem(fe,Y),h(m,function(){pe.getItem(fe)!==Y?f(function(){pe.getItem(ke)===Y?h(function(){return!pe.getItem(Je)},v):g()}):v()})},v=function(){pe.setItem(Je,"1");var t=function(){pe.removeItem(Je),pe.getItem(ke)===Y&&pe.removeItem(ke),pe.getItem(fe)===Y&&pe.removeItem(fe)};B().then(function(B){t(),W(B)}).catch(function(B){t(),K(B)})};try{if(!mD(pe,!0))throw new Error("localStorage support check failed");g()}catch(B){K(B)}},this))};var XD=function(B){this.storage=B||Sw.localStorage};XD.prototype.init=function(){return Vj.resolve()},XD.prototype.isInitialized=function(){return!0},XD.prototype.setItem=function(B,H){return new Vj(gF.bind(function(W,K){try{this.storage.setItem(B,ZF(H))}catch(B){K(B)}W()},this))},XD.prototype.getItem=function(B){return new Vj(gF.bind(function(H,W){var K;try{K=JF(this.storage.getItem(B))}catch(B){W(B)}H(K)},this))},XD.prototype.removeItem=function(B){return new Vj(gF.bind(function(H,W){try{this.storage.removeItem(B)}catch(B){W(B)}H()},this))};var oN=cD("batch"),QD=function(B,H){var W,K,Y,ie;H=H||{},this.storageKey=B,this.usePersistence=H.usePersistence,this.usePersistence&&(this.queueStorage=H.queueStorage||new XD,this.lock=new ZD(B,{storage:H.sharedLockStorage||Sw.localStorage,timeoutMS:H.sharedLockTimeoutMS})),this.reportError=H.errorReporter||gF.bind(oN.error,oN),this.pid=H.pid||null,this.memQueue=[],this.initialized=!1,H.enqueueThrottleMs?this.enqueuePersisted=(W=gF.bind(this._enqueuePersisted,this),K=H.enqueueThrottleMs,Y=null,ie=[],function(B){var H=this;return ie.push(B),Y||(Y=new Vj(function(B){setTimeout(function(){var K=W.apply(H,[ie]);Y=null,ie=[],B(K)},K)})),Y}):this.enqueuePersisted=gF.bind(function(B){return this._enqueuePersisted([B])},this)};QD.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?Vj.resolve():this.queueStorage.init().then(gF.bind(function(){this.initialized=!0},this)).catch(gF.bind(function(B){this.reportError("Error initializing queue persistence. Disabling persistence",B),this.initialized=!0,this.usePersistence=!1},this))},QD.prototype.enqueue=function(B,H){var W={id:SD(),flushAfter:(new Date).getTime()+2*H,payload:B};return this.usePersistence?this.enqueuePersisted(W):(this.memQueue.push(W),Vj.resolve(!0))},QD.prototype._enqueuePersisted=function(B){var H=gF.bind(function(){return this.ensureInit().then(gF.bind(function(){return this.readFromStorage()},this)).then(gF.bind(function(H){return this.saveToStorage(H.concat(B))},this)).then(gF.bind(function(H){return H&&(this.memQueue=this.memQueue.concat(B)),H},this)).catch(gF.bind(function(H){return this.reportError("Error enqueueing items",H,B),!1},this))},this);return this.lock.withLock(H,this.pid).catch(gF.bind(function(B){return this.reportError("Error acquiring storage lock",B),!1},this))},QD.prototype.fillBatch=function(B){var H=this.memQueue.slice(0,B);return this.usePersistence&&H.length<B?this.ensureInit().then(gF.bind(function(){return this.readFromStorage()},this)).then(gF.bind(function(W){if(W.length){var K={};gF.each(H,function(B){K[B.id]=!0});for(var Y=0;Y<W.length;Y++){var ie=W[Y];if((new Date).getTime()>ie.flushAfter&&!K[ie.id]&&(ie.orphaned=!0,H.push(ie),H.length>=B))break}}return H},this)):Vj.resolve(H)};var eF=function(B,H){var W=[];return gF.each(B,function(B){B.id&&!H[B.id]&&W.push(B)}),W};QD.prototype.removeItemsByID=function(B){var H={};if(gF.each(B,function(B){H[B]=!0}),this.memQueue=eF(this.memQueue,H),this.usePersistence){var W=gF.bind(function(){return this.ensureInit().then(gF.bind(function(){return this.readFromStorage()},this)).then(gF.bind(function(B){return B=eF(B,H),this.saveToStorage(B)},this)).then(gF.bind(function(){return this.readFromStorage()},this)).then(gF.bind(function(B){for(var W=0;W<B.length;W++){var K=B[W];if(K.id&&H[K.id])throw new Error("Item not removed from storage")}return!0},this)).catch(gF.bind(function(H){return this.reportError("Error removing items",H,B),!1},this))},this);return this.lock.withLock(W,this.pid).catch(gF.bind(function(B){return this.reportError("Error acquiring storage lock",B),!mD(this.lock.storage,!0)&&W().then(gF.bind(function(B){return B||this.queueStorage.removeItem(this.storageKey).then(function(){return B})},this)).catch(gF.bind(function(B){return this.reportError("Error clearing queue",B),!1},this))},this))}return Vj.resolve(!0)};var tF=function(B,H){var W=[];return gF.each(B,function(B){var K=B.id;if(K in H){var Y=H[K];null!==Y&&(B.payload=Y,W.push(B))}else W.push(B)}),W};QD.prototype.updatePayloads=function(B){return this.memQueue=tF(this.memQueue,B),this.usePersistence?this.lock.withLock(gF.bind(function(){return this.ensureInit().then(gF.bind(function(){return this.readFromStorage()},this)).then(gF.bind(function(H){return H=tF(H,B),this.saveToStorage(H)},this)).catch(gF.bind(function(H){return this.reportError("Error updating items",B,H),!1},this))},this),this.pid).catch(gF.bind(function(B){return this.reportError("Error acquiring storage lock",B),!1},this)):Vj.resolve(!0)},QD.prototype.readFromStorage=function(){return this.ensureInit().then(gF.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(gF.bind(function(B){return B&&(gF.isArray(B)||(this.reportError("Invalid storage entry:",B),B=null)),B||[]},this)).catch(gF.bind(function(B){return this.reportError("Error retrieving queue",B),[]},this))},QD.prototype.saveToStorage=function(B){return this.ensureInit().then(gF.bind(function(){return this.queueStorage.setItem(this.storageKey,B)},this)).then(function(){return!0}).catch(gF.bind(function(B){return this.reportError("Error saving queue",B),!1},this))},QD.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(gF.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):Vj.resolve()};var iN=cD("batch"),nF=function(B,H){this.errorReporter=H.errorReporter,this.queue=new QD(B,{errorReporter:gF.bind(this.reportError,this),queueStorage:H.queueStorage,sharedLockStorage:H.sharedLockStorage,sharedLockTimeoutMS:H.sharedLockTimeoutMS,usePersistence:H.usePersistence,enqueueThrottleMs:H.enqueueThrottleMs}),this.libConfig=H.libConfig,this.sendRequest=H.sendRequestFunc,this.beforeSendHook=H.beforeSendHook,this.stopAllBatching=H.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=H.flushOnlyOnInterval||!1,this._flushPromise=null};nF.prototype.enqueue=function(B){return this.queue.enqueue(B,this.flushInterval)},nF.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},nF.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},nF.prototype.clear=function(){return this.queue.clear()},nF.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},nF.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},nF.prototype.scheduleFlush=function(B){this.flushInterval=B,this.stopped||(this.timeoutID=setTimeout(gF.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))},nF.prototype.sendRequestPromise=function(B,H){return new Vj(gF.bind(function(W){this.sendRequest(B,H,W)},this))},nF.prototype.flush=function(B){if(this.requestInProgress)return iN.log("Flush: Request already in progress"),Vj.resolve();this.requestInProgress=!0,B=B||{};var H=this.libConfig.batch_request_timeout_ms,W=(new Date).getTime(),K=this.batchSize;return this.queue.fillBatch(K).then(gF.bind(function(Y){var ie=Y.length===K,ce=[],ue={};if(gF.each(Y,function(B){var H=B.payload;if(this.beforeSendHook&&!B.orphaned&&(H=this.beforeSendHook(H)),H){H.event&&H.properties&&(H.properties=gF.extend({},H.properties,{mp_sent_by_lib_version:Ew.LIB_VERSION}));var W=!0,K=B.id;K?(this.itemIdsSentSuccessfully[K]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:B,batchSize:Y.length,timesSent:this.itemIdsSentSuccessfully[K]}),W=!1):this.reportError("[dupe] found item with no ID",{item:B}),W&&ce.push(H)}ue[B.id]=H},this),ce.length<1)return this.requestInProgress=!1,this.resetFlush(),Vj.resolve();var de=gF.bind(function(){return this.queue.removeItemsByID(gF.map(Y,function(B){return B.id})).then(gF.bind(function(B){return gF.each(Y,gF.bind(function(B){var H=B.id;H?(this.itemIdsSentSuccessfully[H]=this.itemIdsSentSuccessfully[H]||0,this.itemIdsSentSuccessfully[H]++,this.itemIdsSentSuccessfully[H]>5&&this.reportError("[dupe] item ID sent too many times",{item:B,batchSize:Y.length,timesSent:this.itemIdsSentSuccessfully[H]})):this.reportError("[dupe] found item with no ID while removing",{item:B})},this)),B?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!ie?(this.resetFlush(),Vj.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),Vj.resolve())},this))},this),pe=gF.bind(function(ie){this.requestInProgress=!1;try{if(B.unloading)return this.queue.updatePayloads(ue);if(gF.isObject(ie)&&"timeout"===ie.error&&(new Date).getTime()-W>=H)return this.reportError("Network timeout; retrying"),this.flush();if(gF.isObject(ie)&&(ie.httpStatusCode>=500||429===ie.httpStatusCode||ie.httpStatusCode<=0&&(fe=Sw.navigator.onLine,!gF.isUndefined(fe)&&!fe)||"timeout"===ie.error)){var ce=2*this.flushInterval;return ie.retryAfter&&(ce=1e3*parseInt(ie.retryAfter,10)||ce),ce=Math.min(6e5,ce),this.reportError("Error; retry in "+ce+" ms"),this.scheduleFlush(ce),Vj.resolve()}if(gF.isObject(ie)&&413===ie.httpStatusCode){if(Y.length>1){var pe=Math.max(1,Math.floor(K/2));return this.batchSize=Math.min(this.batchSize,pe,Y.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),Vj.resolve()}return this.reportError("Single-event request too large; dropping",Y),this.resetBatchSize(),de()}return de()}catch(B){this.reportError("Error handling API response",B),this.resetFlush()}var fe},this),fe={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:H};return B.unloading&&(fe.transport="sendBeacon"),iN.log("MIXPANEL REQUEST:",ce),this.sendRequestPromise(ce,fe).then(pe)},this)).catch(gF.bind(function(B){this.reportError("Error flushing request queue",B),this.resetFlush()},this))},nF.prototype.reportError=function(B,H){if(iN.error.apply(iN.error,arguments),this.errorReporter)try{H instanceof Error||(H=new Error(B)),this.errorReporter(B,H)}catch(H){iN.error(H)}};var oF=function(B){var H=Date.now();return!B||H>B.maxExpires||H>B.idleExpires},iF=function(B,H){if(!gF.isArray(B))return B&&H.critical("record_allowed_iframe_origins must be an array of origin strings, cross-origin recording will be disabled."),[];for(var W=[],K=0;K<B.length;K++)try{var Y=new URL(B[K]).origin;if("null"===Y){H.critical(B[K]+" has an opaque origin. Skipping this entry.");continue}W.push(Y)}catch(W){H.critical(B[K]+" is not a valid origin URL. Skipping this entry.")}return W},sN="change",aN="click",lN="hashchange",cN="load",uN="mp_locationchange",dN="popstate",pN="scrollend",hN="scroll",fN="submit",mN="visibilitychange",gN=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],vN=["mp-include"],yN=["mp-no-track"],bN=yN.concat(["mp-sensitive"]),wN=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],_N={button:!0,checkbox:!0,combobox:!0,grid:!0,link:!0,listbox:!0,menu:!0,menubar:!0,menuitem:!0,menuitemcheckbox:!0,menuitemradio:!0,navigation:!0,option:!0,radio:!0,radiogroup:!0,searchbox:!0,slider:!0,spinbutton:!0,switch:!0,tab:!0,tablist:!0,textbox:!0,tree:!0,treegrid:!0,treeitem:!0},xN={base:!0,head:!0,html:!0,link:!0,meta:!0,script:!0,style:!0,title:!0,br:!0,hr:!0,wbr:!0,noscript:!0,picture:!0,source:!0,template:!0,track:!0},SN={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},kN=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],CN=cD("autocapture");function OF(B){for(var H={},W=EF(B).split(" "),K=0;K<W.length;K++){var Y=W[K];Y&&(H[Y]=!0)}return H}function EF(B){switch(typeof B.className){case"string":return B.className;case"object":return B.className.baseVal||B.getAttribute("class")||"";default:return""}}function TF(B){if(B.previousElementSibling)return B.previousElementSibling;do{B=B.previousSibling}while(B&&!PF(B));return B}function RF(B,H,W,K,Y,ie){var ce={$classes:EF(B).split(" "),$tag_name:B.tagName.toLowerCase()},ue=B.id;ue&&(ce.$id=ue),DF(B,H,Y,ie)&&gF.each(wN.concat(K),function(H){if(B.hasAttribute(H)&&!W[H]){var K=B.getAttribute(H);FF(K)&&(ce["$attr-"+H]=K)}});for(var de=1,pe=1,fe=B;fe=TF(fe);)de++,fe.tagName===B.tagName&&pe++;return ce.$nth_child=de,ce.$nth_of_type=pe,ce}function IF(B,H,W,K){var Y="";return DF(B,H,W,K)&&B.childNodes&&B.childNodes.length&&gF.each(B.childNodes,function(B){jF(B)&&B.textContent&&(Y+=gF.trim(B.textContent).split(/(\s+)/).filter(FF).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),gF.trim(Y)}function MF(B,H,W,K){if(W)try{if(!W(B,H))return!1}catch(B){return CN.critical("Error while checking element in allowElementCallback",B),!1}if(!K.length)return!0;for(var Y=0;Y<K.length;Y++){var ie=K[Y];try{if(B.matches(ie))return!0}catch(B){CN.critical("Error while checking selector: "+ie,B)}}return!1}function AF(B,H,W,K){var Y;if(W)try{if(W(B,H))return!0}catch(B){return CN.critical("Error while checking element in blockElementCallback",B),!0}if(K&&K.length)for(Y=0;Y<K.length;Y++){var ie=K[Y];try{if(B.matches(ie))return!0}catch(B){CN.critical("Error while checking selector: "+ie,B)}}var ce=OF(B);for(Y=0;Y<yN.length;Y++)if(ce[yN[Y]])return!0;return!1}function PF(B){return B&&1===B.nodeType}function NF(B,H){return B&&B.tagName&&B.tagName.toLowerCase()===H.toLowerCase()}function jF(B){return B&&3===B.nodeType}function LF(B){var H=(B.name||B.id||"").toString().toLowerCase();return!("string"!=typeof H||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(H.replace(/[^a-zA-Z0-9]/g,"")))}function DF(B,H,W,K){var Y;if(!MF(B,H,W,K))return!1;for(var ie=B;ie.parentNode&&!NF(ie,"body");ie=ie.parentNode){var ce=OF(ie);for(Y=0;Y<bN.length;Y++)if(ce[bN[Y]])return!1}var ue=OF(B);for(Y=0;Y<vN.length;Y++)if(ue[vN[Y]])return!0;if(NF(B,"input")||NF(B,"select")||NF(B,"textarea")||"true"===B.getAttribute("contenteditable"))return!1;var de=B.type||"";if("string"==typeof de)switch(de.toLowerCase()){case"hidden":case"password":return!1}return!LF(B)}function FF(B){if(null===B||gF.isUndefined(B))return!1;if("string"==typeof B){if(B=gF.trim(B),/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((B||"").replace(/[- ]/g,"")))return!1;if(/(^\d{3}-?\d{2}-?\d{4}$)/.test(B))return!1}return!0}function $F(B){var H="onscrollend"in Sw,W=uD(B),K=pN;if(!H){var Y=null;W=uD(function(){clearTimeout(Y),Y=setTimeout(B,100)}),K=hN}return{listener:W,eventType:K}}function BF(B){var H=B.tagName.toLowerCase();return!!("button"===H||"input"===H||"select"===H||"textarea"===H||"details"===H||"dialog"===H||B.isContentEditable||B.onclick||B.onmousedown||B.onmouseup||B.ontouchstart||B.ontouchend||function(B){for(var H=0;H<kN.length;H++)if(B.hasAttribute(kN[H]))return!0;return!1}(B)||function(B){var H=B.getAttribute("role");if(!H)return!1;var W=H.trim().split(/\s+/)[0].toLowerCase();return _N[W]}(B)||"a"===H&&B.hasAttribute("href")||B.hasAttribute("tabindex"))}function zF(B){if(!B||!B.tagName)return!0;var H=B.tagName.toLowerCase();if(xN[H])return!0;if(BF(B))return!1;for(var W=B.parentElement,K=0;W&&K<5;){if(BF(W))return!1;if(W.getRootNode&&W.getRootNode()!==sF){var Y=W.getRootNode();if(Y.host&&BF(Y.host))return!1}W=W.parentElement,K++}return!!SN[H]}function VF(B){return"composedPath"in B?B.composedPath():[]}function UF(B){var H=VF(B);return H&&H.length>0?H[0]:B.target||B.srcElement}var ON=".mp-mask, .fs-mask, .amp-mask, .rr-mask, .ph-mask",EN=["password","email","tel","hidden"];function HF(B){return B?Array.isArray(B)?B:[B]:[]}function GF(B,H){return!!H&&!!B.closest(H)}function KF(B,H){var W=(B.getAttribute("type")||"").toLowerCase();if(-1!==EN.indexOf(W))return!0;var K=(B.getAttribute("autocomplete")||"").toLowerCase();return!((!K||""===K||"off"===K)&&!B.hasAttribute("data-rr-is-password")&&!LF(B)&&(H.input.maskAll?GF(B,H.input.unmaskingSelector):!GF(B,H.input.maskingSelector)&&!GF(B,ON)))}function YF(B,H){return!(!B||(!H.text._legacyClassRegex||!TA(B,H.text._legacyClassRegex))&&(H.text.maskAll?GF(B,H.text.unmaskingSelector):!GF(B,H.text.maskingSelector)&&!GF(B,ON)))}var RN=cD("network-plugin");function XF(B){return Math.round(Date.now()-B.performance.now())}var MN={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],ignoreRequestFn:function(){return!1},recordHeaders:{request:[],response:[]},recordBodyUrls:{request:[],response:[]},recordInitialRequests:!1};function QF(B){return"resource"===B.entryType}function e$(B,H,W){if(!(H in B)||"function"!=typeof B[H])return function(){};var K=B[H],Y=W(K);return B[H]=Y,function(){B[H]=K}}var IN=1048576;function r$(B){return B&&"string"==typeof B&&B.length>IN?(RN.error("Body truncated from "+B.length+" to "+IN+" characters"),B.substring(0,IN)+"... [truncated]"):B}function n$(B,H,W){return!(!H[B]||0===H[B].length)&&H[B].includes(W.toLowerCase())}function o$(B,H,W){return!(!H[B]||0===H[B].length)&&RD(W,H[B])}function i$(B){if(null==B)return null;var H;if("string"==typeof B)H=B;else if(B instanceof Document)H=B.textContent;else if(B instanceof FormData)H=gF.HTTPBuildQuery(B);else{if(!gF.isObject(B))return"Cannot read body of type "+typeof B;try{H=JSON.stringify(B)}catch(B){return"Failed to stringify response object"}}return r$(H)}function s$(B){return new Promise(function(H){var W=setTimeout(function(){H("Timeout while trying to read body")},500);try{B.clone().text().then(function(B){clearTimeout(W),H(r$(B))},function(B){clearTimeout(W),H("Failed to read body: "+String(B))})}catch(B){clearTimeout(W),H("Failed to read body: "+String(B))}})}function a$(B,H,W,K,Y,ie){if(void 0===ie&&(ie=0),ie>10)return RN.error("Cannot find performance entry"),Promise.resolve(null);var ce=function(B,H){for(var W=B.length-1;W>=0;W-=1)if(H(B[W]))return B[W]}(B.performance.getEntriesByName(W),function(B){return QF(B)&&B.initiatorType===H&&(!K||B.startTime>=K)&&(!Y||B.startTime<=Y)});return ce?Promise.resolve(ce):new Promise(function(B){setTimeout(B,50*ie)}).then(function(){return a$(B,H,W,K,Y,ie+1)})}function l$(B,H,W){if(!("performance"in H))return function(){};var K=Object.assign({},MN.recordHeaders,W.recordHeaders||{}),Y=Object.assign({},MN.recordBodyUrls,W.recordBodyUrls||{});W=Object.assign({},W,{recordHeaders:K,recordBodyUrls:Y});var ie=Object.assign({},MN,W),s=function(H){var W=H.requests.filter(function(B){return!RD(B.url,ie.ignoreRequestUrls||[])&&!ie.ignoreRequestFn(B)});(W.length>0||H.isInitial)&&B(Object.assign({},H,{requests:W}))},ce=function(B,H,W){if(!H.PerformanceObserver)return RN.error("PerformanceObserver not supported"),function(){};if(W.recordInitialRequests){var K=H.performance.getEntries().filter(function(B){return function(B){return"navigation"===B.entryType}(B)||QF(B)&&W.initiatorTypes.includes(B.initiatorType)});B({requests:K.map(function(B){return{url:B.name,initiatorType:B.initiatorType,status:"responseStatus"in B?B.responseStatus:void 0,startTime:Math.round(B.startTime),endTime:Math.round(B.responseEnd),timeOrigin:XF(H)}}),isInitial:!0})}var Y=new H.PerformanceObserver(function(K){var Y=K.getEntries().filter(function(B){return QF(B)&&W.initiatorTypes.includes(B.initiatorType)&&"xmlhttprequest"!==B.initiatorType&&"fetch"!==B.initiatorType});B({requests:Y.map(function(B){return{url:B.name,initiatorType:B.initiatorType,status:"responseStatus"in B?B.responseStatus:void 0,startTime:Math.round(B.startTime),endTime:Math.round(B.responseEnd),timeOrigin:XF(H)}})})});return Y.observe({entryTypes:["navigation","resource"]}),function(){Y.disconnect()}}(s,H,ie),ue=function(B,H,W){if(!W.initiatorTypes.includes("xmlhttprequest"))return function(){};var K=e$(H.XMLHttpRequest.prototype,"open",function(K){return function(Y,ie,ce,ue,de){void 0===ce&&(ce=!0);var pe,fe,ke=this,Je=new Request(ie,{method:Y}),rt={},st={},at=ke.setRequestHeader.bind(ke);ke.setRequestHeader=function(B,H){return n$("request",W.recordHeaders,B)&&(st[B]=H),at(B,H)},rt.requestHeaders=st;var lt=ke.send.bind(ke);ke.send=function(B){return o$("request",W.recordBodyUrls,Je.url)&&(rt.requestBody=i$(B)),pe=H.performance.now(),lt(B)},ke.addEventListener("readystatechange",function(){if(ke.readyState===ke.DONE){fe=H.performance.now();var K={},Y=ke.getAllResponseHeaders();Y&&Y.trim().split(/[\r\n]+/).forEach(function(B){if(B){var H=B.indexOf(": ");if(-1!==H){var Y=B.substring(0,H),ie=B.substring(H+2);Y&&n$("response",W.recordHeaders,Y)&&(K[Y]=ie)}}}),rt.responseHeaders=K,o$("response",W.recordBodyUrls,Je.url)&&(rt.responseBody=i$(ke.response)),a$(H,"xmlhttprequest",Je.url,pe,fe).then(function(W){if(W){var K={url:W.name,method:Je.method,initiatorType:W.initiatorType,status:ke.status,startTime:Math.round(W.startTime),endTime:Math.round(W.responseEnd),timeOrigin:XF(H),requestHeaders:rt.requestHeaders,requestBody:rt.requestBody,responseHeaders:rt.responseHeaders,responseBody:rt.responseBody};B({requests:[K]})}else RN.error("Failed to get performance entry for XHR request to "+Je.url)}).catch(function(B){RN.error("Error recording XHR request to "+Je.url+": "+String(B))})}}),K.call(ke,Y,ie,ce,ue,de)}});return function(){K()}}(s,H,ie),de=function(B,H,W){if(!W.initiatorTypes.includes("fetch"))return function(){};var K=e$(H,"fetch",function(K){return function(){var Y,ie,ce,ue,de=new Request(arguments[0],arguments[1]),pe={},fe=Promise.resolve(void 0),ke=Promise.resolve(void 0);try{var Je={};de.headers.forEach(function(B,H){n$("request",W.recordHeaders,H)&&(Je[H]=B)}),pe.requestHeaders=Je,o$("request",W.recordBodyUrls,de.url)&&(fe=s$(de).then(function(B){pe.requestBody=B})),ie=H.performance.now(),ue=K.apply(H,arguments).then(function(B){Y=B,ce=H.performance.now();var K={};return Y.headers.forEach(function(B,H){n$("response",W.recordHeaders,H)&&(K[H]=B)}),pe.responseHeaders=K,o$("response",W.recordBodyUrls,de.url)&&(ke=s$(Y).then(function(B){pe.responseBody=B})),Y})}catch(B){ue=Promise.reject(B)}return Promise.all([fe,ke,ue]).then(function(){return a$(H,"fetch",de.url,ie,ce)}).then(function(W){if(W){var K={url:W.name,method:de.method,initiatorType:W.initiatorType,status:Y?Y.status:void 0,startTime:Math.round(W.startTime),endTime:Math.round(W.responseEnd),timeOrigin:XF(H),requestHeaders:pe.requestHeaders,requestBody:pe.requestBody,responseHeaders:pe.responseHeaders,responseBody:pe.responseBody};B({requests:[K]})}else RN.error("Failed to get performance entry for fetch request to "+de.url)}).catch(function(B){RN.error("Error recording fetch request to "+de.url+": "+String(B))}),ue}});return function(){K()}}(s,H,ie);return function(){ce(),ue(),de()}}var AN=cD("recorder"),TN=Sw.CompressionStream,PN={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},LN=new Set([EI.MouseMove,EI.MouseInteraction,EI.Scroll,EI.ViewportResize,EI.Input,EI.TouchMove,EI.MediaInteraction,EI.Drag,EI.Selection]),f$=function(B){this._mixpanel=B.mixpanelInstance,this._onIdleTimeout=B.onIdleTimeout||TD,this._onMaxLengthReached=B.onMaxLengthReached||TD,this._onBatchSent=B.onBatchSent||TD,this._rrwebRecord=B.rrwebRecord||null,this._stopRecording=null,this.replayId=B.replayId,this.batchStartUrl=B.batchStartUrl||null,this.replayStartUrl=B.replayStartUrl||null,this.idleExpires=B.idleExpires||null,this.maxExpires=B.maxExpires||null,this.replayStartTime=B.replayStartTime||null,this.lastEventTimestamp=B.lastEventTimestamp||null,this.seqNo=B.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=Wj,this.recordMinMs=0;var H=mD(B.sharedLockStorage,!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new jD(eN),this.batcher=new nF(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:PN,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:B.sharedLockStorage,usePersistence:H,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:250,sharedLockTimeoutMS:1e4})};f$.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var B={distinct_id:String(this._mixpanel.get_distinct_id())},H=this._mixpanel.get_property("$device_id");H&&(B.$device_id=H);var W=this._mixpanel.get_property("$user_id");return W&&(B.$user_id=W),B},f$.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init().catch(function(){this.reportError("Error initializing IndexedDB storage for unloading persisted data.")}.bind(this)).then(function(){return this.getDurationMs()<this._getRecordMinMs()?this.queueStorage.removeItem(this.batcherKey):this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))}.bind(this))},f$.prototype.getConfig=function(B){return this._mixpanel.get_config(B)},f$.prototype.get_config=function(B){return this.getConfig(B)},f$.prototype.startRecording=function(B){if(null!==this._rrwebRecord)if(null===this._stopRecording){this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>Wj&&(this.recordMaxMs=Wj,AN.critical("record_max_ms cannot be greater than "+Wj+"ms. Capping value.")),this.maxExpires||(this.maxExpires=(new Date).getTime()+this.recordMaxMs),this.recordMinMs=this._getRecordMinMs(),this.replayStartTime||(this.replayStartTime=(new Date).getTime(),this.batchStartUrl=gF.info.currentUrl(),this.replayStartUrl=gF.info.currentUrl()),B||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var H=function(){clearTimeout(this.idleTimeoutId);var B=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,B),this.idleExpires=(new Date).getTime()+B}.bind(this);H();var W=this.getConfig("record_block_selector");""!==W&&null!==W||(W=void 0);var K=function(B){var H={input:{maskingSelector:"",unmaskingSelector:"",maskAll:!0},text:{maskingSelector:"",unmaskingSelector:"",maskAll:!0}},W=B.get_config("record_mask_input_selector"),K=B.get_config("record_unmask_input_selector"),Y=B.get_config("record_mask_all_inputs");H.input.maskingSelector=HF(W).join(","),H.input.unmaskingSelector=HF(K).join(","),void 0!==Y&&(H.input.maskAll=Y);var ie=B.get_config("record_mask_text_selector"),ce=B.get_config("record_unmask_text_selector"),ue=B.get_config("record_mask_all_text"),de=B.get_config("record_mask_text_class"),pe=HF(ie);if(de)if(de instanceof RegExp)H.text._legacyClassRegex=de;else{var fe="."+de;-1===pe.indexOf(fe)&&pe.push(fe)}return H.text.maskingSelector=pe.join(","),H.text.unmaskingSelector=HF(ce).join(","),void 0===ue&&void 0!==ie?H.text.maskAll=!1:void 0!==ue&&(H.text.maskAll=ue),H}(this._mixpanel),Y=[];if(this.getConfig("record_network")){var ie=this.getConfig("record_network_options")||{},ce=(ie.ignoreRequestUrls||[]).slice();ce.push(this._getApiRoute()),ie.ignoreRequestUrls=ce,Y.push(function(B){return{name:"rrweb/[email protected]",observer:l$,options:B}}(ie))}this.getConfig("record_console")&&Y.push({name:"rrweb/console@1",observer:_L,options:{stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}}});var ue=iF(this.getConfig("record_allowed_iframe_origins"),AN);try{this._stopRecording=this._rrwebRecord({emit:function(B){this.idleExpires&&this.idleExpires<B.timestamp?this._onIdleTimeout():(function(B){return B.type===OI.IncrementalSnapshot&&LN.has(B.data.source)}(B)&&(this.batcher.stopped&&(new Date).getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),H()),this.__enqueuePromise=this.batcher.enqueue(B),(null===this.lastEventTimestamp||B.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=B.timestamp))}.bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:W,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextSelector:"*",maskInputFn:this._getMaskFn(KF,K),maskTextFn:this._getMaskFn(YF,K),recordCrossOriginIframes:ue.length>0,allowedIframeOrigins:ue,recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:Y})}catch(B){this.reportError("Unexpected error when starting rrweb recording.",B)}if("function"!=typeof this._stopRecording)return this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,void this.stopRecording();var de=this.maxExpires-(new Date).getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),de)}else AN.log("Recording already in progress, skipping startRecording.");else this.reportError("rrweb record function not provided. ")},f$.prototype.stopRecording=function(B){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(B){this.reportError("Error with rrweb stopRecording",B)}this._stopRecording=null}var H;return this.batcher.stopped?H=this.batcher.clear():B||(H=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),H},f$.prototype.isRrwebStopped=function(){return null===this._stopRecording},f$.prototype.flushEventsWithOptOut=function(B,H,W){var K=function(B){0===B&&(this.stopRecording(),W({error:"Tracking has been opted out, stopping recording."}))}.bind(this);this._flushEvents(B,H,W,K)},f$.prototype.serialize=function(){var B;try{B=this._mixpanel.get_tab_id()}catch(H){this.reportError("Error getting tab ID for serialization ",H),B=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,lastEventTimestamp:this.lastEventTimestamp,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:B}},f$.deserialize=function(B,H){return new f$(gF.extend({},H,{replayId:B.replayId,batchStartUrl:B.batchStartUrl,replayStartUrl:B.replayStartUrl,idleExpires:B.idleExpires,maxExpires:B.maxExpires,replayStartTime:B.replayStartTime,lastEventTimestamp:B.lastEventTimestamp,seqNo:B.seqNo,sharedLockStorage:H.sharedLockStorage}))},f$.prototype._getApiRoute=function(){return this.getConfig("api_routes").record},f$.prototype._sendRequest=function(B,H,W,K){var Y=function(H,W){200===H.status&&this.replayId===B&&(this.seqNo++,this.batchStartUrl=gF.info.currentUrl()),this._onBatchSent(),K({status:0,httpStatusCode:H.status,responseBody:W,retryAfter:H.headers.get("Retry-After")})}.bind(this),ie=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");Sw.fetch(ie+"/"+this._getApiRoute()+"?"+new URLSearchParams(H),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:W}).then(function(B){B.json().then(function(H){Y(B,H)}).catch(function(B){K({error:B})})}).catch(function(B){K({error:B,httpStatusCode:0})})},f$.prototype._flushEvents=BD(function(B,H,W){var K=B.length;if(K>0){for(var Y=this.replayId,ie=1/0,ce=-1/0,ue=!1,de=0;de<K;de++)ie=Math.min(ie,B[de].timestamp),ce=Math.max(ce,B[de].timestamp),B[de].type===OI.FullSnapshot&&(ue=!0);if(0===this.seqNo){if(!ue)return W({error:"First batch does not contain a full snapshot. Aborting recording."}),void this.stopRecording(!0);this.replayStartTime=ie}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=ie);var pe=ce-this.replayStartTime,fe={$current_url:this.batchStartUrl,$lib_version:Ew.LIB_VERSION,batch_start_time:ie/1e3,mp_lib:"web",replay_id:Y,replay_length_ms:pe,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},ke=JSON.stringify(B);if(Object.assign(fe,this.getUserIdInfo()),function(B,H,W){if(!Sw.CompressionStream)return!1;var K=gF.info.browser(B,H,W),Y=gF.info.browserVersion(B,H,W);return!(("Safari"===K||"Mobile Safari"===K)&&Y>=16.4&&Y<16.6)}(cF,rF.vendor,aF)){var Je=new Blob([ke],{type:"application/json"}).stream().pipeThrough(new TN("gzip"));new Response(Je).blob().then(function(B){fe.format="gzip",this._sendRequest(Y,fe,B,W)}.bind(this))}else fe.format="body",this._sendRequest(Y,fe,ke,W)}}),f$.prototype.reportError=function(B,H){AN.error.apply(AN.error,arguments);try{H||B instanceof Error||(B=new Error(B)),this.getConfig("error_reporter")(B,H)}catch(H){AN.error(H)}},f$.prototype.getDurationMs=function(){return null===this.replayStartTime?0:null===this.lastEventTimestamp?(new Date).getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime},f$.prototype._getRecordMinMs=function(){var B=this.getConfig("record_min_ms");return B>8e3?(AN.critical("record_min_ms cannot be greater than 8000ms. Capping value."),8e3):B},f$.prototype._getMaskFn=function(B,H){return function(W,K){if(!W.trim().length)return"";var Y=!0;try{Y=B(K,H)}catch(B){this.reportError("Error checking if text should be masked, defaulting to masked",B)}if(Y){var ie=Math.min(W.length,1e4);return"*".repeat(ie)}return W}.bind(this)};var h$=function(B){this.idb=new jD(tN),this.errorReporter=B.errorReporter,this.mixpanelInstance=B.mixpanelInstance,this.sharedLockStorage=B.sharedLockStorage};h$.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")},h$.prototype.handleError=function(B){this.errorReporter("IndexedDB error: ",B)},h$.prototype.setActiveRecording=function(B){if(!this.isPersistenceEnabled())return Vj.resolve();var H=B.tabId;return H?this.idb.init().then(function(){return this.idb.setItem(H,B)}.bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),Vj.resolve())},h$.prototype.getActiveRecording=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}.bind(this)).then(function(B){return oF(B)?null:B}.bind(this)).catch(this.handleError.bind(this)):Vj.resolve(null)},h$.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()},h$.prototype.markActiveRecordingExpired=function(){return this.getActiveRecording().then(function(B){if(B)return B.maxExpires=0,this.setActiveRecording(B)}.bind(this)).catch(this.handleError.bind(this))},h$.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):Vj.resolve()},h$.prototype.flushInactiveRecordings=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getAll()}.bind(this)).then(function(B){var H=B.filter(function(B){return oF(B)}).map(function(B){return f$.deserialize(B,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage}).unloadPersistedData().then(function(){return this.idb.removeItem(B.tabId)}.bind(this)).catch(this.handleError.bind(this))}.bind(this));return Vj.all(H)}.bind(this)).catch(this.handleError.bind(this)):Vj.resolve([])};var jN=cD("recorder"),g$=function(B,H,W){this.mixpanelInstance=B,this.rrwebRecord=H||wA,this.sharedLockStorage=W,this.recordingRegistry=new h$({mixpanelInstance:this.mixpanelInstance,errorReporter:jN.error,sharedLockStorage:W}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};g$.prototype.startRecording=function(B){if(B=B||{},!this.activeRecording||this.activeRecording.isRrwebStopped()){var H=function(){jN.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),W=function(){jN.log("Max recording length reached, stopping recording."),this.resetRecording()}.bind(this),K=function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}.bind(this),Y={mixpanelInstance:this.mixpanelInstance,onBatchSent:K,onIdleTimeout:H,onMaxLengthReached:W,replayId:gF.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return B.activeSerializedRecording?this.activeRecording=f$.deserialize(B.activeSerializedRecording,Y):this.activeRecording=new f$(Y),this.activeRecording.startRecording(B.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())}jN.log("Recording already in progress, skipping startRecording.")},g$.prototype.stopRecording=function(){return this.stopRecordingInProgress=!0,this._stopCurrentRecording(!1,!0).then(function(){return this.recordingRegistry.clearActiveRecording()}.bind(this)).then(function(){this.stopRecordingInProgress=!1}.bind(this))},g$.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},g$.prototype._stopCurrentRecording=function(B,H){if(this.activeRecording){var W=this.activeRecording.stopRecording(B);return H&&(this.activeRecording=null),W}return Vj.resolve()},g$.prototype.resumeRecording=function(B){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),Vj.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(H){return H&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:H}):B?this.startRecording({shouldStopBatcher:!1}):(jN.log("No resumable recording found."),null)}.bind(this))},g$.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},g$.prototype.isRecording=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()},g$.prototype.getActiveReplayId=function(){return this.isRecording()?this.activeRecording.replayId:null},Object.defineProperty(g$.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),Sw[Lw]=g$;var FN,NN={exports:{}},DN=(FN||(FN=1,NN.exports=function(){Array.isArray||(Array.isArray=function(B){return"[object Array]"===Object.prototype.toString.call(B)});var B={},H={"==":function(B,H){return B==H},"===":function(B,H){return B===H},"!=":function(B,H){return B!=H},"!==":function(B,H){return B!==H},">":function(B,H){return B>H},">=":function(B,H){return B>=H},"<":function(B,H,W){return void 0===W?B<H:B<H&&H<W},"<=":function(B,H,W){return void 0===W?B<=H:B<=H&&H<=W},"!!":function(H){return B.truthy(H)},"!":function(H){return!B.truthy(H)},"%":function(B,H){return B%H},log:function(B){return console.log(B),B},in:function(B,H){return!(!H||void 0===H.indexOf)&&-1!==H.indexOf(B)},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(B,H,W){if(W<0){var K=String(B).substr(H);return K.substr(0,K.length+W)}return String(B).substr(H,W)},"+":function(){return Array.prototype.reduce.call(arguments,function(B,H){return parseFloat(B,10)+parseFloat(H,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(B,H){return parseFloat(B,10)*parseFloat(H,10)})},"-":function(B,H){return void 0===H?-B:B-H},"/":function(B,H){return B/H},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(B,H){return B.concat(H)},[])},var:function(B,H){var W=void 0===H?null:H,K=this;if(void 0===B||""===B||null===B)return K;for(var Y=String(B).split("."),ie=0;ie<Y.length;ie++){if(null==K)return W;if(void 0===(K=K[Y[ie]]))return W}return K},missing:function(){for(var H=[],W=Array.isArray(arguments[0])?arguments[0]:arguments,K=0;K<W.length;K++){var Y=W[K],ie=B.apply({var:Y},this);null!==ie&&""!==ie||H.push(Y)}return H},missing_some:function(H,W){var K=B.apply({missing:W},this);return W.length-K.length>=H?[]:K}};return B.is_logic=function(B){return"object"==typeof B&&null!==B&&!Array.isArray(B)&&1===Object.keys(B).length},B.truthy=function(B){return!(Array.isArray(B)&&0===B.length||!B)},B.get_operator=function(B){return Object.keys(B)[0]},B.get_values=function(H){return H[B.get_operator(H)]},B.apply=function(W,K){if(Array.isArray(W))return W.map(function(H){return B.apply(H,K)});if(!B.is_logic(W))return W;var Y,ie,ce,ue,de,pe=B.get_operator(W),fe=W[pe];if(Array.isArray(fe)||(fe=[fe]),"if"===pe||"?:"==pe){for(Y=0;Y<fe.length-1;Y+=2)if(B.truthy(B.apply(fe[Y],K)))return B.apply(fe[Y+1],K);return fe.length===Y+1?B.apply(fe[Y],K):null}if("and"===pe){for(Y=0;Y<fe.length;Y+=1)if(ie=B.apply(fe[Y],K),!B.truthy(ie))return ie;return ie}if("or"===pe){for(Y=0;Y<fe.length;Y+=1)if(ie=B.apply(fe[Y],K),B.truthy(ie))return ie;return ie}if("filter"===pe)return ue=B.apply(fe[0],K),ce=fe[1],Array.isArray(ue)?ue.filter(function(H){return B.truthy(B.apply(ce,H))}):[];if("map"===pe)return ue=B.apply(fe[0],K),ce=fe[1],Array.isArray(ue)?ue.map(function(H){return B.apply(ce,H)}):[];if("reduce"===pe)return ue=B.apply(fe[0],K),ce=fe[1],de=void 0!==fe[2]?B.apply(fe[2],K):null,Array.isArray(ue)?ue.reduce(function(H,W){return B.apply(ce,{current:W,accumulator:H})},de):de;if("all"===pe){if(ue=B.apply(fe[0],K),ce=fe[1],!Array.isArray(ue)||!ue.length)return!1;for(Y=0;Y<ue.length;Y+=1)if(!B.truthy(B.apply(ce,ue[Y])))return!1;return!0}if("none"===pe){if(ue=B.apply(fe[0],K),ce=fe[1],!Array.isArray(ue)||!ue.length)return!0;for(Y=0;Y<ue.length;Y+=1)if(B.truthy(B.apply(ce,ue[Y])))return!1;return!0}if("some"===pe){if(ue=B.apply(fe[0],K),ce=fe[1],!Array.isArray(ue)||!ue.length)return!1;for(Y=0;Y<ue.length;Y+=1)if(B.truthy(B.apply(ce,ue[Y])))return!0;return!1}if(fe=fe.map(function(H){return B.apply(H,K)}),H.hasOwnProperty(pe)&&"function"==typeof H[pe])return H[pe].apply(K,fe);if(pe.indexOf(".")>0){var ke=String(pe).split("."),Je=H;for(Y=0;Y<ke.length;Y++){if(!Je.hasOwnProperty(ke[Y]))throw new Error("Unrecognized operation "+pe+" (failed at "+ke.slice(0,Y+1).join(".")+")");Je=Je[ke[Y]]}return Je.apply(K,fe)}throw new Error("Unrecognized operation "+pe)},B.uses_data=function(H){var W=[];if(B.is_logic(H)){var K=B.get_operator(H),Y=H[K];Array.isArray(Y)||(Y=[Y]),"var"===K?W.push(Y[0]):Y.forEach(function(H){W.push.apply(W,B.uses_data(H))})}return function(B){for(var H=[],W=0,K=B.length;W<K;W++)-1===H.indexOf(B[W])&&H.push(B[W]);return H}(W)},B.add_operation=function(B,W){H[B]=W},B.rm_operation=function(B){delete H[B]},B.rule_like=function(H,W){if(W===H)return!0;if("@"===W)return!0;if("number"===W)return"number"==typeof H;if("string"===W)return"string"==typeof H;if("array"===W)return Array.isArray(H)&&!B.is_logic(H);if(B.is_logic(W)){if(B.is_logic(H)){var K=B.get_operator(W),Y=B.get_operator(H);if("@"===K||K===Y)return B.rule_like(B.get_values(H,!1),B.get_values(W,!1))}return!1}if(Array.isArray(W)){if(Array.isArray(H)){if(W.length!==H.length)return!1;for(var ie=0;ie<W.length;ie+=1)if(!B.rule_like(H[ie],W[ie]))return!1;return!0}return!1}return!1},B}()),NN.exports),$N=function v$(B){return B&&B.__esModule&&Object.prototype.hasOwnProperty.call(B,"default")?B.default:B}(DN),zN={eventMatchesCriteria:function(B,H,W){if(B!==W.event_name)return{matches:!1};var K=W.property_filters,Y=!0;if(K&&!gF.isEmptyObject(K))try{Y=$N.apply(K,H||{})}catch(B){return{matches:!1,error:B.toString()}}return{matches:Y}}};function S$(){this.clicks=[]}function k$(B,H){this.changeCallback=B||function(){},this.observerConfig=H,this.observedShadowRoots=null,this.shadowObservers=[]}Sw[Rw]=Promise.resolve(zN),S$.prototype.isRageClick=function(B,H){var W=(H=H||{}).threshold_px||30,K=H.timeout_ms||1e3,Y=H.click_count||4;if(H.interactive_elements_only){var ie=UF(B);if(!ie||zF(ie))return!1}var ce=Date.now(),ue=B.pageX,de=B.pageY,pe=this.clicks[this.clicks.length-1];if(pe&&ce-pe.timestamp<K&&Math.sqrt(Math.pow(ue-pe.x,2)+Math.pow(de-pe.y,2))<W){if(this.clicks.push({x:ue,y:de,timestamp:ce}),this.clicks.length>=Y)return this.clicks=[],!0}else this.clicks=[{x:ue,y:de,timestamp:ce}];return!1},k$.prototype.getEventTarget=function(B){if(this.observedShadowRoots)return UF(B)},k$.prototype.observeFromEvent=function(B){if(this.observedShadowRoots)for(var H=VF(B),W=0;W<H.length;W++){var K=H[W];K&&K.shadowRoot&&this.observeShadowRoot(K.shadowRoot)}},k$.prototype.observeShadowRoot=function(B){if(this.observedShadowRoots&&!this.observedShadowRoots.has(B)){var H=this;try{this.observedShadowRoots.add(B);var W=new window.MutationObserver(function(){H.changeCallback()});W.observe(B,this.observerConfig),this.shadowObservers.push(W)}catch(B){CN.critical("Error while observing shadow root",B)}}},k$.prototype.start=function(){this.observedShadowRoots||("undefined"!=typeof WeakSet?this.observedShadowRoots=new WeakSet:CN.critical("Shadow DOM observation unavailable: WeakSet not supported"))},k$.prototype.stop=function(){if(this.observedShadowRoots){for(var B=0;B<this.shadowObservers.length;B++)try{this.shadowObservers[B].disconnect()}catch(B){CN.critical("Error while disconnecting shadow DOM observer",B)}this.shadowObservers=[],this.observedShadowRoots=null}};var BN=[sN,"input",fN,"select","toggle"],UN=[pN],HN=[lN],VN={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function R$(B){this.eventListeners=[],this.mutationObserver=null,this.shadowDOMObserver=null,this.isTracking=!1,this.lastChangeEventTimestamp=0,this.pendingClicks=[],this.onDeadClickCallback=B,this.processingActive=!1,this.processingTimeout=null}R$.prototype.addClick=function(B){var H=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(B);return H||(H=B.target||B.srcElement),!(!H||zF(H)||(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(B),this.pendingClicks.push({element:H,event:B,timestamp:Date.now()}),0))},R$.prototype.trackClick=function(B,H){if(!this.isTracking)return!1;var W=this.addClick(B);return W&&this.triggerProcessing(H),W},R$.prototype.getDeadClicks=function(B){if(0===this.pendingClicks.length)return[];var H=B.timeout_ms,W=Date.now(),K=this.pendingClicks.slice();this.pendingClicks=[];for(var Y=[],ie=0;ie<K.length;ie++){var ce=K[ie];W-ce.timestamp>=H?this.hasChangesAfter(ce.timestamp)||Y.push(ce):this.pendingClicks.push(ce)}return Y},R$.prototype.hasChangesAfter=function(B){return this.lastChangeEventTimestamp>=B-100},R$.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()},R$.prototype.triggerProcessing=function(B){this.processingActive||(this.processingActive=!0,this.processRecursively(B))},R$.prototype.processRecursively=function(B){if(this.isTracking&&this.onDeadClickCallback){var H=B.timeout_ms,W=this;this.processingTimeout=setTimeout(function(){if(W.processingActive){for(var H=W.getDeadClicks(B),K=0;K<H.length;K++)W.onDeadClickCallback(H[K].event);W.pendingClicks.length>0?W.processRecursively(B):W.processingActive=!1}},H)}else this.processingActive=!1},R$.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var B=this;BN.forEach(function(H){var r=function(){B.recordChangeEvent()};document.addEventListener(H,r,{capture:!0,passive:!0}),B.eventListeners.push({target:document,event:H,handler:r,options:{capture:!0,passive:!0}})}),HN.forEach(function(H){var r=function(){B.recordChangeEvent()};window.addEventListener(H,r),B.eventListeners.push({target:window,event:H,handler:r})}),UN.forEach(function(H){var r=function(){B.recordChangeEvent()};window.addEventListener(H,r,{passive:!0}),B.eventListeners.push({target:window,event:H,handler:r,options:{passive:!0}})});var t=function(){B.recordChangeEvent()};if(document.addEventListener("selectionchange",t),B.eventListeners.push({target:document,event:"selectionchange",handler:t}),window.MutationObserver)try{this.mutationObserver=new window.MutationObserver(function(){B.recordChangeEvent()}),this.mutationObserver.observe(document.body||document.documentElement,VN)}catch(B){CN.critical("Error while setting up mutation observer",B)}if(window.customElements)try{this.shadowDOMObserver=new k$(function(){B.recordChangeEvent()},VN),this.shadowDOMObserver.start()}catch(B){CN.critical("Error while setting up shadow DOM observer",B),this.shadowDOMObserver=null}}},R$.prototype.stopTracking=function(){if(this.isTracking){this.isTracking=!1,this.pendingClicks=[],this.lastChangeEventTimestamp=0,this.processingActive=!1,this.processingTimeout&&(clearTimeout(this.processingTimeout),this.processingTimeout=null);for(var B=0;B<this.eventListeners.length;B++){var H=this.eventListeners[B];try{H.target.removeEventListener(H.event,H.handler,H.options)}catch(B){CN.critical("Error while removing event listener",B)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(B){CN.critical("Error while disconnecting mutation observer",B)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(B){CN.critical("Error while stopping shadow DOM observer",B)}this.shadowDOMObserver=null}}};var qN="autocapture",WN="full-url",GN="allow_selectors",XN="allow_url_regexes",ZN="block_attrs",KN="block_element_callback",YN="block_selectors",JN="block_url_regexes",QN="capture_extra_attrs",eD="capture_text_content",tD="scroll_capture_all",rD="scroll_depth_percent_checkpoints",nD="click",oD="dead_click",iD="input",sD="pageview",aD="rage_click",dD="scroll",hD="page_leave",gD="submit",yD={};yD[GN]=[],yD[XN]=[],yD[ZN]=[],yD[KN]=null,yD[YN]=[],yD[JN]=[],yD[QN]=[],yD[eD]=!1,yD[tD]=!1,yD[rD]=[25,50,75,100],yD[nD]=!0,yD[oD]=!0,yD[iD]=!0,yD[sD]=WN,yD[aD]=!0,yD[dD]=!0,yD[hD]=!1,yD[gD]=!0;var bD={$mp_autocapture:!0},wD="$mp_click",_D="$mp_dead_click",xD="$mp_rage_click",tB=function(B){this.mp=B,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};tB.prototype.init=function(){!function(){try{return!!sF.createElement("div").matches}catch(B){return!1}}()?CN.critical("Autocapture unavailable: missing required DOM APIs"):(this.initPageListeners(),this.initPageviewTracking(),this.initClickTracking(),this.initDeadClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking(),this.initRageClickTracking(),this.initPageLeaveTracking())},tB.prototype.getFullConfig=function(){var B=this.mp.get_config(qN);return B?gF.isObject(B)?gF.extend({},yD,B):yD:{}},tB.prototype.getConfig=function(B){return this.getFullConfig()[B]},tB.prototype.currentUrlBlocked=function(){var B=gF.info.currentUrl(),H=this.getConfig(XN)||[];if(H.length)try{return!RD(B,H)}catch(B){return CN.critical("Error while checking block URL regexes: ",B),!0}var W=this.getConfig(JN)||[];if(!W||!W.length)return!1;try{return RD(B,W)}catch(B){return CN.critical("Error while checking block URL regexes: ",B),!0}},tB.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(qN)?this.getConfig(sD):this.mp.get_config("track_pageview")},tB.prototype.trackDomEvent=function(B,H){if(!this.currentUrlBlocked()){var W=this.mp.is_recording_heatmap_data()&&(H===wD&&!this.getConfig(nD)||H===xD&&!this._getClickTrackingConfig(aD)||H===_D&&!this._getClickTrackingConfig(oD)),K=function(B,H){var W=H.allowElementCallback,K=H.allowSelectors||[],Y=H.blockAttrs||[],ie=H.blockElementCallback,ce=H.blockSelectors||[],ue=H.captureTextContent||!1,de=H.captureExtraAttrs||[],pe=H.capturedForHeatMap||!1,fe={};gF.each(Y,function(B){fe[B]=!0});var ke=null,Je=void 0===B.target?B.srcElement:B.target;if(jF(Je)&&(Je=Je.parentNode),function(B,H){if(!B||NF(B,"html")||!PF(B))return!1;switch(B.tagName.toLowerCase()){case"form":return H.type===fN;case"input":return-1===["button","submit"].indexOf(B.getAttribute("type"))?H.type===sN:H.type===aN;case"select":case"textarea":return H.type===sN;default:return H.type===aN}}(Je,B)&&MF(Je,B,W,K)&&!AF(Je,B,ie,ce)){for(var rt=[Je],st=Je;st.parentNode&&!NF(st,"body");)rt.push(st.parentNode),st=st.parentNode;var at,lt=[],pt=!1;if(gF.each(rt,function(H){var Y=DF(H,B,W,K);fe.href||"a"!==H.tagName.toLowerCase()||(at=H.getAttribute("href"),at=Y&&FF(at)&&at),AF(H,B,ie,ce)&&(pt=!0),lt.push(RF(H,B,fe,de,W,K))},this),!pt){var ht=sF.documentElement;if(ke={$event_type:B.type,$host:Sw.location.host,$pathname:Sw.location.pathname,$elements:lt,$el_attr__href:at,$viewportHeight:Math.max(ht.clientHeight,Sw.innerHeight||0),$viewportWidth:Math.max(ht.clientWidth,Sw.innerWidth||0),$pageHeight:sF.body.offsetHeight||0,$pageWidth:sF.body.offsetWidth||0},gF.each(de,function(B){if(!fe[B]&&Je.hasAttribute(B)){var H=Je.getAttribute(B);FF(H)&&(ke["$el_attr__"+B]=H)}}),ue&&(mt=IF(Je,B,W,K))&&mt.length&&(ke.$el_text=mt),B.type===aN&&(gF.each(gN,function(H){H in B&&(ke["$"+H]=B[H])}),pe&&(ke.$captured_for_heatmap=!0),Je=function(B){for(var H=B.target,W=B.composedPath(),K=0;K<W.length;K++){var Y=W[K];if(NF(Y,"a")||NF(Y,"button")||NF(Y,"input")||NF(Y,"select")||Y.getAttribute&&"button"===Y.getAttribute("role")){H=Y;break}if(Y===H)break}return H}(B)),ue){var mt=IF(Je,B,W,K);mt&&mt.length&&(ke.$el_text=mt)}if(Je){if(!MF(Je,B,W,K)||AF(Je,B,ie,ce))return null;var vt=RF(Je,B,fe,de,W,K);ke.$target=vt,ke.$el_classes=vt.$classes,gF.extend(ke,gF.strip_empty_properties({$el_id:vt.$id,$el_tag_name:vt.$tag_name}))}}}return ke}(B,{allowElementCallback:this.getConfig("allow_element_callback"),allowSelectors:this.getConfig(GN),blockAttrs:this.getConfig(ZN),blockElementCallback:this.getConfig(KN),blockSelectors:this.getConfig(YN),captureExtraAttrs:this.getConfig(QN),captureTextContent:this.getConfig(eD),capturedForHeatMap:W});K&&(gF.extend(K,bD),this.mp.track(H,K))}},tB.prototype.initPageListeners=function(){if(Sw.removeEventListener(dN,this.listenerPopstate),Sw.removeEventListener(lN,this.listenerHashchange),this.pageviewTrackingConfig()||this.getConfig(hD)||this.mp.get_config("record_heatmap_data")){this.listenerPopstate=function(){Sw.dispatchEvent(new Event(uN))},this.listenerHashchange=function(){Sw.dispatchEvent(new Event(uN))},Sw.addEventListener(dN,this.listenerPopstate),Sw.addEventListener(lN,this.listenerHashchange);var B=Sw.history.pushState;"function"==typeof B&&(Sw.history.pushState=function(H,W,K){B.call(Sw.history,H,W,K),Sw.dispatchEvent(new Event(uN))});var H=Sw.history.replaceState;"function"==typeof H&&(Sw.history.replaceState=function(B,W,K){H.call(Sw.history,B,W,K),Sw.dispatchEvent(new Event(uN))})}},tB.prototype._getClickTrackingConfig=function(B){var H=this.getConfig(B);return H?!0===H?{}:"object"==typeof H?H:{}:null},tB.prototype._trackPageLeave=function(B,H,W){if(!this.hasTrackedScrollSession&&(this.getConfig(hD)||this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var K=Math.max(sF.documentElement.clientHeight,Sw.innerHeight||0),Y=Math.round(Math.max(this.maxScrollViewDepth-K,0)/(W-K)*100),ie=Math.round(K/W*100);W<=K&&(Y=100,ie=100);var ce=gF.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:Y,$fold_line_percentage:ie,$scroll_height:W,$event_type:B.type,$current_url:H||gF.info.currentUrl(),$viewportHeight:K,$viewportWidth:Math.max(sF.documentElement.clientWidth,Sw.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},bD);this.mp.track("$mp_page_leave",ce,{transport:"sendBeacon"})}},tB.prototype._initScrollDepthTracking=function(){if(Sw.removeEventListener(hN,this.listenerScrollDepth),Sw.removeEventListener(pN,this.listenerScrollDepth),this.mp.get_config("record_heatmap_data")){CN.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(sF.documentElement.clientHeight,Sw.innerHeight||0);var B=$F(function(){if(!this.currentUrlBlocked()){var B=Math.max(sF.documentElement.clientHeight,Sw.innerHeight||0)+Sw.scrollY;B>this.maxScrollViewDepth&&(this.maxScrollViewDepth=B),this.previousScrollHeight=sF.body.scrollHeight}}.bind(this));this.listenerScrollDepth=B.listener,Sw.addEventListener(B.eventType,this.listenerScrollDepth)}},tB.prototype.initClickTracking=function(){Sw.removeEventListener(aN,this.listenerClick),(this.getConfig(nD)||this.mp.get_config("record_heatmap_data"))&&(CN.log("Initializing click tracking"),this.listenerClick=function(B){(this.getConfig(nD)||this.mp.is_recording_heatmap_data())&&this.trackDomEvent(B,wD)}.bind(this),Sw.addEventListener(aN,this.listenerClick))},tB.prototype.initDeadClickTracking=function(){this._getClickTrackingConfig(oD)||this.mp.get_config("record_heatmap_data")?(CN.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new R$(function(B){this.trackDomEvent(B,_D)}.bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=function(B){var H=this._getClickTrackingConfig(oD);if((H||this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var W=H||{};W.timeout_ms||(W.timeout_ms=500),this._deadClickTracker.trackClick(B,W)}}.bind(this),Sw.addEventListener(aN,this.listenerDeadClick))):this.stopDeadClickTracking()},tB.prototype.initInputTracking=function(){Sw.removeEventListener(sN,this.listenerChange),this.getConfig(iD)&&(CN.log("Initializing input tracking"),this.listenerChange=function(B){this.getConfig(iD)&&this.trackDomEvent(B,"$mp_input_change")}.bind(this),Sw.addEventListener(sN,this.listenerChange))},tB.prototype.initPageviewTracking=function(){if(Sw.removeEventListener(uN,this.listenerLocationchange),this.pageviewTrackingConfig()){CN.log("Initializing pageview tracking");var B="",H=!1;this.currentUrlBlocked()||(H=this.mp.track_pageview(bD)),H&&(B=gF.info.currentUrl()),this.listenerLocationchange=uD(function(){if(!this.currentUrlBlocked()){var H=gF.info.currentUrl(),W=!1,K=H.split("#")[0].split("?")[0]!==B.split("#")[0].split("?")[0],Y=this.pageviewTrackingConfig();Y===WN?W=H!==B:"url-with-path-and-query-string"===Y?W=H.split("#")[0]!==B.split("#")[0]:"url-with-path"===Y&&(W=K),W&&(this.mp.track_pageview(bD)&&(B=H),K&&(this.lastScrollCheckpoint=0,CN.log("Path change: re-initializing scroll depth checkpoints")))}}.bind(this)),Sw.addEventListener(uN,this.listenerLocationchange)}},tB.prototype.initRageClickTracking=function(){Sw.removeEventListener(aN,this.listenerRageClick),(this._getClickTrackingConfig(aD)||this.mp.get_config("record_heatmap_data"))&&(CN.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new S$),this.listenerRageClick=function(B){var H=this._getClickTrackingConfig(aD);(H||this.mp.is_recording_heatmap_data())&&(this.currentUrlBlocked()||this._rageClickTracker.isRageClick(B,H)&&this.trackDomEvent(B,xD))}.bind(this),Sw.addEventListener(aN,this.listenerRageClick))},tB.prototype.initScrollTracking=function(){if(Sw.removeEventListener(pN,this.listenerScroll),Sw.removeEventListener(hN,this.listenerScroll),this.getConfig(dD)){CN.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var B=$F(function(){if(this.getConfig(dD)&&!this.currentUrlBlocked()){var B=this.getConfig(tD),H=(this.getConfig(rD)||[]).slice().sort(function(B,H){return B-H}),W=Sw.scrollY,K=gF.extend({$scroll_top:W},bD);try{var Y=sF.body.scrollHeight,ie=Math.round(W/(Y-Sw.innerHeight)*100);if(K.$scroll_height=Y,K.$scroll_percentage=ie,ie>this.lastScrollCheckpoint)for(var ce=0;ce<H.length;ce++){var ue=H[ce];ie>=ue&&this.lastScrollCheckpoint<ue&&(K.$scroll_checkpoint=ue,this.lastScrollCheckpoint=ue,B=!0)}}catch(B){CN.critical("Error while calculating scroll percentage",B)}B&&this.mp.track("$mp_scroll",K)}}.bind(this));this.listenerScroll=B.listener,Sw.addEventListener(B.eventType,this.listenerScroll)}},tB.prototype.initSubmitTracking=function(){Sw.removeEventListener(fN,this.listenerSubmit),this.getConfig(gD)&&(CN.log("Initializing submit tracking"),this.listenerSubmit=function(B){this.getConfig(gD)&&this.trackDomEvent(B,"$mp_submit")}.bind(this),Sw.addEventListener(fN,this.listenerSubmit))},tB.prototype.initPageLeaveTracking=function(){if(sF.removeEventListener(mN,this.listenerPageLeaveVisibilitychange),Sw.removeEventListener(uN,this.listenerPageLeaveLocationchange),Sw.removeEventListener(cN,this.listenerPageLoad),this.getConfig(hD)||this.mp.get_config("record_heatmap_data")){CN.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var B=gF.info.currentUrl();this.listenerPageLoad=function(){this.previousScrollHeight=sF.body.scrollHeight}.bind(this),Sw.addEventListener(cN,this.listenerPageLoad),this.listenerPageLeaveLocationchange=uD(function(H){if(!this.currentUrlBlocked()){var W=gF.info.currentUrl();W!==B&&(this._trackPageLeave(H,B,this.previousScrollHeight),B=W,this.maxScrollViewDepth=Math.max(sF.documentElement.clientHeight,Sw.innerHeight||0),this.previousScrollHeight=sF.body.scrollHeight,this.hasTrackedScrollSession=!1)}}.bind(this)),Sw.addEventListener(uN,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=function(H){sF.hidden&&this._trackPageLeave(H,B,this.previousScrollHeight)}.bind(this),sF.addEventListener(mN,this.listenerPageLeaveVisibilitychange)}},tB.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(Sw.removeEventListener(aN,this.listenerDeadClick),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)},pD(tB);var rB=function(B,H){return Sw[Rw]&&"function"==typeof Sw[Rw].then||(Sw[Rw]=new Promise(function(W){B(H,W)}).then(function(){var B=Sw[Rw];if(B&&"function"==typeof B.then)return B;throw new Error("targeting failed to load")}).catch(function(B){throw delete Sw[Rw],B})),Sw[Rw]},CD=cD("flags"),OD="flags",MD="context",ID={};ID[MD]={};var aB=function(B){this.fetch=Sw.fetch,this.getFullApiRoute=B.getFullApiRoute,this.getMpConfig=B.getConfigFunc,this.setMpConfig=B.setConfigFunc,this.getMpProperty=B.getPropertyFunc,this.track=B.trackingFunc,this.loadExtraBundle=B.loadExtraBundle||function(){},this.targetingSrc=B.targetingSrc||""};aB.prototype.init=function(){this.minApisSupported()?(this.flags=null,this.fetchFlags(),this.trackedFeatures=new Set,this.pendingFirstTimeEvents={},this.activatedFirstTimeEvents={}):CD.critical("Feature Flags unavailable: missing minimum required APIs")},aB.prototype.getFullConfig=function(){var B=this.getMpConfig(OD);return B?gF.isObject(B)?gF.extend({},ID,B):ID:{}},aB.prototype.getConfig=function(B){return this.getFullConfig()[B]},aB.prototype.isSystemEnabled=function(){return!!this.getMpConfig(OD)},aB.prototype.updateContext=function(B,H){if(!this.isSystemEnabled())return CD.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var W=this.getMpConfig(OD);gF.isObject(W)||(W={});var K=H&&H.replace?{}:this.getConfig(MD);return W[MD]=gF.extend({},K,B),this.setMpConfig(OD,W),this.fetchFlags()},aB.prototype.areFlagsReady=function(){return this.isSystemEnabled()||CD.error("Feature Flags not enabled"),!!this.flags},aB.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var B=this.getMpProperty("distinct_id"),H=this.getMpProperty("$device_id"),W=kD();CD.log("Fetching flags for distinct ID: "+B);var K=gF.extend({distinct_id:B,device_id:H},this.getConfig(MD)),Y=new URLSearchParams;Y.set("context",JSON.stringify(K)),Y.set("token",this.getMpConfig("token")),Y.set("mp_lib","web"),Y.set("$lib_version",Ew.LIB_VERSION);var ie=this.getFullApiRoute()+"?"+Y.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(Sw,ie,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:W}}).then(function(B){return this.markFetchComplete(),B.json().then(function(B){var H=B.flags;if(!H)throw new Error("No flags in API response");var K=new Map,Y={};gF.each(H,function(B,H){var W=!1,Y=H+":";if(gF.each(this.activatedFirstTimeEvents,function(B,H){H.startsWith(Y)&&(W=!0)}),W){var ie=this.flags&&this.flags.get(H);ie&&K.set(H,ie)}else K.set(H,{key:B.variant_key,value:B.variant_value,experiment_id:B.experiment_id,is_experiment_active:B.is_experiment_active,is_qa_tester:B.is_qa_tester})},this);var ie=B.pending_first_time_events;ie&&ie.length>0&&gF.each(ie,function(B){var H=B.flag_key,W=function(B,H){return B+":"+H}(H,B.first_time_event_hash);this.activatedFirstTimeEvents[W]||(Y[W]={flag_key:H,flag_id:B.flag_id,project_id:B.project_id,first_time_event_hash:B.first_time_event_hash,event_name:B.event_name,property_filters:B.property_filters,pending_variant:B.pending_variant})},this),this.activatedFirstTimeEvents&&gF.each(this.activatedFirstTimeEvents,function(B,H){var W=function(B){return B.split(":")[0]}(H);B&&!K.has(W)&&this.flags&&this.flags.has(W)&&K.set(W,this.flags.get(W))},this),this.flags=K,this.pendingFirstTimeEvents=Y,this._traceparent=W,this._loadTargetingIfNeeded()}.bind(this)).catch(function(B){this.markFetchComplete(),CD.error(B)}.bind(this))}.bind(this)).catch(function(B){this.markFetchComplete(),CD.error(B)}.bind(this)),this.fetchPromise},aB.prototype.markFetchComplete=function(){this._fetchInProgressStartTime?(this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null):CD.error("Fetch in progress started time not set, cannot mark fetch complete")},aB.prototype._loadTargetingIfNeeded=function(){var B=!1;gF.each(this.pendingFirstTimeEvents,function(H){H.property_filters&&!gF.isEmptyObject(H.property_filters)&&(B=!0)}),B&&this.getTargeting().then(function(){CD.log("targeting loaded for property filter evaluation")})},aB.prototype.getTargeting=function(){return rB(this.loadExtraBundle.bind(this),this.targetingSrc).catch(function(B){CD.error("Failed to load targeting: "+B)}.bind(this))},aB.prototype.checkFirstTimeEvents=function(B,H){this.pendingFirstTimeEvents&&!gF.isEmptyObject(this.pendingFirstTimeEvents)&&(Sw[Rw]&&gF.isFunction(Sw[Rw].then)?Sw[Rw].then(function(W){this._processFirstTimeEventCheck(B,H,W)}.bind(this)).catch(function(){this._processFirstTimeEventCheck(B,H,null)}.bind(this)):this._processFirstTimeEventCheck(B,H,null))},aB.prototype._processFirstTimeEventCheck=function(B,H,W){gF.each(this.pendingFirstTimeEvents,function(K,Y){if(!this.activatedFirstTimeEvents[Y]){var ie,ce=K.flag_key;if(W||!K.property_filters||gF.isEmptyObject(K.property_filters)){if(W){var ue={event_name:K.event_name,property_filters:K.property_filters};ie=W.eventMatchesCriteria(B,H,ue)}else ie={matches:B===K.event_name,error:null};if(ie.error)CD.error('Error checking first-time event for flag "'+ce+'": '+ie.error);else if(ie.matches){CD.log('First-time event matched for flag "'+ce+'": '+B);var de={key:K.pending_variant.variant_key,value:K.pending_variant.variant_value,experiment_id:K.pending_variant.experiment_id,is_experiment_active:K.pending_variant.is_experiment_active};this.flags.set(ce,de),this.activatedFirstTimeEvents[Y]=!0,this.recordFirstTimeEvent(K.flag_id,K.project_id,K.first_time_event_hash)}}else CD.warn('Skipping event check for "'+ce+'" - property filters require targeting library')}},this)},aB.prototype.getFirstTimeEventApiRoute=function(B){return this.getFullApiRoute()+"/"+B+"/first-time-events"},aB.prototype.recordFirstTimeEvent=function(B,H,W){var K=this.getMpProperty("distinct_id"),Y=kD(),ie=new URLSearchParams;ie.set("mp_lib","web"),ie.set("$lib_version",Ew.LIB_VERSION);var ce=this.getFirstTimeEventApiRoute(B)+"?"+ie.toString(),ue={distinct_id:K,project_id:H,first_time_event_hash:W};CD.log("Recording first-time event for flag: "+B),this.fetch.call(Sw,ce,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:Y},body:JSON.stringify(ue)}).catch(function(H){CD.error("Failed to record first-time event for flag "+B+": "+H)})},aB.prototype.getVariant=function(B,H){return this.fetchPromise?this.fetchPromise.then(function(){return this.getVariantSync(B,H)}.bind(this)).catch(function(B){return CD.error(B),H}):new Promise(function(B){CD.critical("Feature Flags not initialized"),B(H)})},aB.prototype.getVariantSync=function(B,H){if(!this.areFlagsReady())return CD.log("Flags not loaded yet"),H;var W=this.flags.get(B);return W?(this.trackFeatureCheck(B,W),W):(CD.log('No flag found: "'+B+'"'),H)},aB.prototype.getVariantValue=function(B,H){return this.getVariant(B,{value:H}).then(function(B){return B.value}).catch(function(B){return CD.error(B),H})},aB.prototype.getFeatureData=function(B,H){return CD.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value() instead."),this.getVariantValue(B,H)},aB.prototype.getVariantValueSync=function(B,H){return this.getVariantSync(B,{value:H}).value},aB.prototype.isEnabled=function(B,H){return this.getVariantValue(B).then(function(){return this.isEnabledSync(B,H)}.bind(this)).catch(function(B){return CD.error(B),H})},aB.prototype.isEnabledSync=function(B,H){H=H||!1;var W=this.getVariantValueSync(B,H);return!0!==W&&!1!==W&&(CD.error('Feature flag "'+B+'" value: '+W+" is not a boolean; returning fallback value: "+H),W=H),W},aB.prototype.trackFeatureCheck=function(B,H){if(!this.trackedFeatures.has(B)){this.trackedFeatures.add(B);var W={"Experiment name":B,"Variant name":H.key,$experiment_type:"feature_flag","Variant fetch start time":new Date(this._fetchStartTime).toISOString(),"Variant fetch complete time":new Date(this._fetchCompleteTime).toISOString(),"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};"undefined"!==H.experiment_id&&(W.$experiment_id=H.experiment_id),"undefined"!==H.is_experiment_active&&(W.$is_experiment_active=H.is_experiment_active),"undefined"!==H.is_qa_tester&&(W.$is_qa_tester=H.is_qa_tester),this.track("$experiment_started",W)}},aB.prototype.minApisSupported=function(){return!!this.fetch&&"undefined"!=typeof Promise&&"undefined"!=typeof Map&&"undefined"!=typeof Set},pD(aB),aB.prototype.are_flags_ready=aB.prototype.areFlagsReady,aB.prototype.get_variant=aB.prototype.getVariant,aB.prototype.get_variant_sync=aB.prototype.getVariantSync,aB.prototype.get_variant_value=aB.prototype.getVariantValue,aB.prototype.get_variant_value_sync=aB.prototype.getVariantValueSync,aB.prototype.is_enabled=aB.prototype.isEnabled,aB.prototype.is_enabled_sync=aB.prototype.isEnabledSync,aB.prototype.update_context=aB.prototype.updateContext,aB.prototype.get_feature_data=aB.prototype.getFeatureData,aB.prototype.getTargeting=aB.prototype.getTargeting;var AD=cD("recorder"),PD="mp_iframe_handshake_request",ND="mp_iframe_handshake_response",pB=function(B){this.mixpanelInstance=B.mixpanelInstance,this.getMpConfig=B.getConfigFunc,this.getTabId=B.getTabIdFunc,this.reportError=B.reportErrorFunc,this.getDistinctId=B.getDistinctIdFunc,this.loadExtraBundle=B.loadExtraBundle,this.recorderSrc=B.recorderSrc,this.targetingSrc=B.targetingSrc,this.libBasePath=B.libBasePath,this._recorder=null,this._parentReplayId=null,this._parentFrameRetryInterval=null};pB.prototype.shouldLoadRecorder=function(){if(this.getMpConfig("disable_persistence"))return vF.log("Load recorder check skipped due to disable_persistence config"),Vj.resolve(!1);var B=new jD(tN),H=this.getTabId();return B.init().then(function(){return B.getAll()}).then(function(B){for(var W=0;W<B.length;W++)if(oF(B[W])||B[W].tabId===H)return!0;return!1}).catch(gF.bind(function(B){return this.reportError("Error checking recording registry",B),!1},this))},pB.prototype.checkAndStartSessionRecording=function(B,H){if(!Sw.MutationObserver)return vF.critical("Browser does not support MutationObserver; skipping session recording"),Vj.resolve();var W=gF.bind(function(B){return new Vj(gF.bind(function(H){var W=uD(gF.bind(function(){this._recorder=this._recorder||new Sw[Lw](this.mixpanelInstance),this._recorder.resumeRecording(B),H()},this));if(gF.isUndefined(Sw[Lw])){var K=this.recorderSrc||this.libBasePath+"__MP_RECORDER_FILENAME__";this.loadExtraBundle(K,W)}else W()},this))},this),K=iF(this.getMpConfig("record_allowed_iframe_origins"),AD);if(K.length>0&&(this._setupParentFrameListener(K),Sw.parent!==Sw))return this._setupChildFrameListener(K,W),this._sendParentFrameRequestWithRetry(K),Vj.resolve();var Y=gF.isUndefined(H)?this.getMpConfig("record_sessions_percent"):H,ie=Y>0&&100*Math.random()<=Y;return B||ie?W(!0):this.shouldLoadRecorder().then(gF.bind(function(B){return B?W(!1):Vj.resolve()},this))},pB.prototype.isRecording=function(){if(!this._recorder||!gF.isFunction(this._recorder.isRecording))return!1;try{return this._recorder.isRecording()}catch(B){return this.reportError("Error checking if recording is active",B),!1}},pB.prototype.startRecordingOnEvent=function(B,H){var W=this.isRecording(),K=this.getMpConfig("recording_event_triggers");if(!W&&K){var Y=K[B];if(Y&&"number"==typeof Y.percentage){var ie=Y.percentage,ce=Y.property_filters;if(ce&&!gF.isEmptyObject(ce)){var ue=this.targetingSrc||this.libBasePath+jw;rB(this.loadExtraBundle,ue).then(function(W){try{W.eventMatchesCriteria(B,H,{event_name:B,property_filters:ce}).matches&&this.checkAndStartSessionRecording(!1,ie)}catch(B){vF.critical("Could not parse recording event trigger properties logic:",B)}}.bind(this)).catch(function(B){vF.critical("Failed to load targeting library:",B)})}else this.checkAndStartSessionRecording(!1,ie)}}},pB.prototype.stopSessionRecording=function(){return this._recorder?this._recorder.stopRecording():Vj.resolve()},pB.prototype.pauseSessionRecording=function(){return this._recorder?this._recorder.pauseRecording():Vj.resolve()},pB.prototype.resumeSessionRecording=function(){return this._recorder?this._recorder.resumeRecording():Vj.resolve()},pB.prototype.isRecordingHeatmapData=function(){return this.getSessionReplayId()&&this.getMpConfig("record_heatmap_data")},pB.prototype.getSessionRecordingProperties=function(){var B={},H=this.getSessionReplayId();return H&&(B.$mp_replay_id=H),B},pB.prototype.getSessionReplayUrl=function(){var B=null,H=this.getSessionReplayId();return H&&(B="https://mixpanel.com/projects/replay-redirect?"+gF.HTTPBuildQuery({replay_id:H,distinct_id:this.getDistinctId(),token:this.getMpConfig("token")})),B},pB.prototype.getSessionReplayId=function(){if(this._parentReplayId)return this._parentReplayId;var B=null;return this._recorder&&(B=this._recorder.replayId),B||null},pB.prototype.getRecorder=function(){return this._recorder},pB.prototype._setupChildFrameListener=function(B,H){if(!this._childFrameMessageHandler){var W=this;this._childFrameMessageHandler=function(K){if(-1!==B.indexOf(K.origin)){var Y=K.data;Y&&Y.type===ND&&Y.token===W.getMpConfig("token")&&Y.replayId&&(W._parentReplayId=Y.replayId,Y.distinctId&&W.mixpanelInstance.identify(Y.distinctId),W._parentFrameRetryActive=!1,Sw.removeEventListener("message",W._childFrameMessageHandler),W._childFrameMessageHandler=null,H(!0))}},Sw.addEventListener("message",this._childFrameMessageHandler)}},pB.prototype._sendParentFrameRequest=function(B){var H={};H.type=PD,H.token=this.getMpConfig("token");for(var W=0;W<B.length;W++)try{Sw.parent.postMessage(H,B[W])}catch(B){}},pB.prototype._sendParentFrameRequestWithRetry=function(B){var H=this,W=0,K=50;this._parentFrameRetryActive=!0,this._sendParentFrameRequest(B),function o(){setTimeout(function(){!H._parentFrameRetryActive||H._parentReplayId||++W>=10||(H._sendParentFrameRequest(B),K*=2,o())},K)}()},pB.prototype._setupParentFrameListener=function(B){if(!this._parentFrameMessageHandler){var H=this;this._parentFrameMessageHandler=function(W){if(-1!==B.indexOf(W.origin)){var K=W.data;if(K&&K.type===PD&&K.token===H.getMpConfig("token")){var Y=H.getSessionReplayId();if(Y){var ie={};ie.type=ND,ie.token=H.getMpConfig("token"),ie.replayId=Y,ie.distinctId=H.getDistinctId(),W.source.postMessage(ie,W.origin)}}}},Sw.addEventListener("message",this._parentFrameMessageHandler)}},pD(pB);var dB=function(){};dB.prototype.create_properties=function(){},dB.prototype.event_handler=function(){},dB.prototype.after_track_handler=function(){},dB.prototype.init=function(B){return this.mp=B,this},dB.prototype.track=function(B,H,W,K){var Y=this,ie=gF.dom_query(B);if(0!==ie.length)return gF.each(ie,function(B){gF.register_event(B,this.override_event,function(B){var ie={},ce=Y.create_properties(W,this),ue=Y.mp.get_config("track_links_timeout");Y.event_handler(B,this,ie),window.setTimeout(Y.track_callback(K,ce,ie,!0),ue),Y.mp.track(H,ce,Y.track_callback(K,ce,ie))})},this),!0;vF.error("The DOM query ("+B+") returned 0 elements")},dB.prototype.track_callback=function(B,H,W,K){K=K||!1;var Y=this;return function(){W.callback_fired||(W.callback_fired=!0,B&&!1===B(K,H)||Y.after_track_handler(H,W,K))}},dB.prototype.create_properties=function(B,H){return"function"==typeof B?B(H):gF.extend({},B)};var fB=function(){this.override_event="click"};gF.inherit(fB,dB),fB.prototype.create_properties=function(B,H){var W=fB.superclass.create_properties.apply(this,arguments);return H.href&&(W.url=H.href),W},fB.prototype.event_handler=function(B,H,W){W.new_tab=2===B.which||B.metaKey||B.ctrlKey||"_blank"===H.target,W.href=H.href,W.new_tab||B.preventDefault()},fB.prototype.after_track_handler=function(B,H){H.new_tab||setTimeout(function(){window.location=H.href},0)};var hB=function(){this.override_event="submit"};gF.inherit(hB,dB),hB.prototype.event_handler=function(B,H,W){W.element=H,B.preventDefault()},hB.prototype.after_track_handler=function(B,H){setTimeout(function(){H.element.submit()},0)};var YD="$set",JD="$set_once",t$="$unset",c$="$add",u$="$append",d$="$union",p$="$remove",m$={set_action:function(B,H){var W={},K={};return gF.isObject(B)?gF.each(B,function(B,H){this._is_reserved_property(H)||(K[H]=B)},this):K[B]=H,W[YD]=K,W},unset_action:function(B){var H={},W=[];return gF.isArray(B)||(B=[B]),gF.each(B,function(B){this._is_reserved_property(B)||W.push(B)},this),H[t$]=W,H},set_once_action:function(B,H){var W={},K={};return gF.isObject(B)?gF.each(B,function(B,H){this._is_reserved_property(H)||(K[H]=B)},this):K[B]=H,W[JD]=K,W},union_action:function(B,H){var W={},K={};return gF.isObject(B)?gF.each(B,function(B,H){this._is_reserved_property(H)||(K[H]=gF.isArray(B)?B:[B])},this):K[B]=gF.isArray(H)?H:[H],W[d$]=K,W},append_action:function(B,H){var W={},K={};return gF.isObject(B)?gF.each(B,function(B,H){this._is_reserved_property(H)||(K[H]=B)},this):K[B]=H,W[u$]=K,W},remove_action:function(B,H){var W={},K={};return gF.isObject(B)?gF.each(B,function(B,H){this._is_reserved_property(H)||(K[H]=B)},this):K[B]=H,W[p$]=K,W},delete_action:function(){return{$delete:""}}},SB=function(){};gF.extend(SB.prototype,m$),SB.prototype._init=function(B,H,W){this._mixpanel=B,this._group_key=H,this._group_id=W},SB.prototype.set=VD(function(B,H,W){var K=this.set_action(B,H);return gF.isObject(B)&&(W=H),this._send_request(K,W)}),SB.prototype.set_once=VD(function(B,H,W){var K=this.set_once_action(B,H);return gF.isObject(B)&&(W=H),this._send_request(K,W)}),SB.prototype.unset=VD(function(B,H){var W=this.unset_action(B);return this._send_request(W,H)}),SB.prototype.union=VD(function(B,H,W){gF.isObject(B)&&(W=H);var K=this.union_action(B,H);return this._send_request(K,W)}),SB.prototype.delete=VD(function(B){var H=this.delete_action();return this._send_request(H,B)}),SB.prototype.remove=VD(function(B,H,W){var K=this.remove_action(B,H);return this._send_request(K,W)}),SB.prototype._send_request=function(B,H){B.$group_key=this._group_key,B.$group_id=this._group_id,B.$token=this._get_config("token");var W=gF.encodeDates(B);return this._mixpanel._track_or_batch({type:"groups",data:W,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},H)},SB.prototype._is_reserved_property=function(B){return"$group_key"===B||"$group_id"===B},SB.prototype._get_config=function(B){return this._mixpanel.get_config(B)},SB.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},SB.prototype.remove=SB.prototype.remove,SB.prototype.set=SB.prototype.set,SB.prototype.set_once=SB.prototype.set_once,SB.prototype.union=SB.prototype.union,SB.prototype.unset=SB.prototype.unset,SB.prototype.toString=SB.prototype.toString;var kB=function(){};gF.extend(kB.prototype,m$),kB.prototype._init=function(B){this._mixpanel=B},kB.prototype.set=zD(function(B,H,W){var K=this.set_action(B,H);return gF.isObject(B)&&(W=H),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),K[YD]=gF.extend({},gF.info.people_properties(),K[YD]),this._send_request(K,W)}),kB.prototype.set_once=zD(function(B,H,W){var K=this.set_once_action(B,H);return gF.isObject(B)&&(W=H),this._send_request(K,W)}),kB.prototype.unset=zD(function(B,H){var W=this.unset_action(B);return this._send_request(W,H)}),kB.prototype.increment=zD(function(B,H,W){var K={},Y={};return gF.isObject(B)?(gF.each(B,function(B,H){if(!this._is_reserved_property(H)){if(isNaN(parseFloat(B)))return void vF.error("Invalid increment value passed to mixpanel.people.increment - must be a number");Y[H]=B}},this),W=H):(gF.isUndefined(H)&&(H=1),Y[B]=H),K[c$]=Y,this._send_request(K,W)}),kB.prototype.append=zD(function(B,H,W){gF.isObject(B)&&(W=H);var K=this.append_action(B,H);return this._send_request(K,W)}),kB.prototype.remove=zD(function(B,H,W){gF.isObject(B)&&(W=H);var K=this.remove_action(B,H);return this._send_request(K,W)}),kB.prototype.union=zD(function(B,H,W){gF.isObject(B)&&(W=H);var K=this.union_action(B,H);return this._send_request(K,W)}),kB.prototype.track_charge=zD(function(){vF.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")}),kB.prototype.clear_charges=function(B){return this.set("$transactions",[],B)},kB.prototype.delete_user=function(){if(this._identify_called()){var B={$delete:this._mixpanel.get_distinct_id()};return this._send_request(B)}vF.error("mixpanel.people.delete_user() requires you to call identify() first")},kB.prototype.toString=function(){return this._mixpanel.toString()+".people"},kB.prototype._send_request=function(B,H){B.$token=this._get_config("token"),B.$distinct_id=this._mixpanel.get_distinct_id();var W=this._mixpanel.get_property("$device_id"),K=this._mixpanel.get_property("$user_id"),Y=this._mixpanel.get_property("$had_persisted_distinct_id");W&&(B.$device_id=W),K&&(B.$user_id=K),Y&&(B.$had_persisted_distinct_id=Y);var ie=gF.encodeDates(B);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:ie,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},H):(this._enqueue(B),gF.isUndefined(H)||(this._get_config("verbose")?H({status:-1,error:null}):H(-1)),gF.truncate(ie,255))},kB.prototype._get_config=function(B){return this._mixpanel.get_config(B)},kB.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},kB.prototype._enqueue=function(B){YD in B?this._mixpanel.persistence._add_to_people_queue(YD,B):JD in B?this._mixpanel.persistence._add_to_people_queue(JD,B):t$ in B?this._mixpanel.persistence._add_to_people_queue(t$,B):c$ in B?this._mixpanel.persistence._add_to_people_queue(c$,B):u$ in B?this._mixpanel.persistence._add_to_people_queue(u$,B):p$ in B?this._mixpanel.persistence._add_to_people_queue(p$,B):d$ in B?this._mixpanel.persistence._add_to_people_queue(d$,B):vF.error("Invalid call to _enqueue():",B)},kB.prototype._flush_one_queue=function(B,H,W,K){var Y=this,ie=gF.extend({},this._mixpanel.persistence.load_queue(B)),ce=ie;gF.isUndefined(ie)||!gF.isObject(ie)||gF.isEmptyObject(ie)||(Y._mixpanel.persistence._pop_from_people_queue(B,ie),Y._mixpanel.persistence.save(),K&&(ce=K(ie)),H.call(Y,ce,function(H,K){0===H&&Y._mixpanel.persistence._add_to_people_queue(B,ie),gF.isUndefined(W)||W(H,K)}))},kB.prototype._flush=function(B,H,W,K,Y,ie,ce){var ue=this;this._flush_one_queue(YD,this.set,B),this._flush_one_queue(JD,this.set_once,K),this._flush_one_queue(t$,this.unset,ie,function(B){return gF.keys(B)}),this._flush_one_queue(c$,this.increment,H),this._flush_one_queue(d$,this.union,Y);var de=this._mixpanel.persistence.load_queue(u$);if(!gF.isUndefined(de)&&gF.isArray(de)&&de.length)for(var pe,u=function(B,H){0===B&&ue._mixpanel.persistence._add_to_people_queue(u$,pe),gF.isUndefined(W)||W(B,H)},fe=de.length-1;fe>=0;fe--)de=this._mixpanel.persistence.load_queue(u$),pe=de.pop(),ue._mixpanel.persistence.save(),gF.isEmptyObject(pe)||ue.append(pe,u);var ke=this._mixpanel.persistence.load_queue(p$);if(!gF.isUndefined(ke)&&gF.isArray(ke)&&ke.length)for(var Je,h=function(B,H){0===B&&ue._mixpanel.persistence._add_to_people_queue(p$,Je),gF.isUndefined(ce)||ce(B,H)},rt=ke.length-1;rt>=0;rt--)ke=this._mixpanel.persistence.load_queue(p$),Je=ke.pop(),ue._mixpanel.persistence.save(),gF.isEmptyObject(Je)||ue.remove(Je,h)},kB.prototype._is_reserved_property=function(B){return"$distinct_id"===B||"$token"===B||"$device_id"===B||"$user_id"===B||"$had_persisted_distinct_id"===B},kB.prototype.set=kB.prototype.set,kB.prototype.set_once=kB.prototype.set_once,kB.prototype.unset=kB.prototype.unset,kB.prototype.increment=kB.prototype.increment,kB.prototype.append=kB.prototype.append,kB.prototype.remove=kB.prototype.remove,kB.prototype.union=kB.prototype.union,kB.prototype.track_charge=kB.prototype.track_charge,kB.prototype.clear_charges=kB.prototype.clear_charges,kB.prototype.delete_user=kB.prototype.delete_user,kB.prototype.toString=kB.prototype.toString;var y$,b$="__mps",w$="__mpso",_$="__mpus",x$="__mpa",C$="__mpap",O$="__mpr",E$="__mpu",M$="$people_distinct_id",I$="__alias",A$="__timers",T$=[b$,w$,_$,x$,C$,O$,E$,M$,I$,A$],DB=function(B){this.props={},this.campaign_params_saved=!1,B.persistence_name?this.name="mp_"+B.persistence_name:this.name="mp_"+B.token+"_mixpanel";var H=B.persistence;"cookie"!==H&&"localStorage"!==H&&(vF.critical("Unknown persistence type "+H+"; falling back to cookie"),H=B.persistence="cookie"),"localStorage"===H&&gF.localStorage.is_supported()?this.storage=gF.localStorage:this.storage=gF.cookie,this.load(),this.update_config(B),this.upgrade(),this.save()};DB.prototype.properties=function(){var B={};return this.load(),gF.each(this.props,function(H,W){gF.include(T$,W)||(B[W]=H)}),B},DB.prototype.load=function(){if(!this.disabled){var B=this.storage.parse(this.name);B&&(this.props=gF.extend({},B))}},DB.prototype.upgrade=function(){var B,H;this.storage===gF.localStorage?(B=gF.cookie.parse(this.name),gF.cookie.remove(this.name),gF.cookie.remove(this.name,!0),B&&this.register_once(B)):this.storage===gF.cookie&&(H=gF.localStorage.parse(this.name),gF.localStorage.remove(this.name),H&&this.register_once(H))},DB.prototype.save=function(){this.disabled||this.storage.set(this.name,ZF(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},DB.prototype.load_prop=function(B){return this.load(),this.props[B]},DB.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},DB.prototype.clear=function(){this.remove(),this.props={}},DB.prototype.register_once=function(B,H,W){return!!gF.isObject(B)&&(void 0===H&&(H="None"),this.expire_days=void 0===W?this.default_expiry:W,this.load(),gF.each(B,function(B,W){this.props.hasOwnProperty(W)&&this.props[W]!==H||(this.props[W]=B)},this),this.save(),!0)},DB.prototype.register=function(B,H){return!!gF.isObject(B)&&(this.expire_days=void 0===H?this.default_expiry:H,this.load(),gF.extend(this.props,B),this.save(),!0)},DB.prototype.unregister=function(B){this.load(),B in this.props&&(delete this.props[B],this.save())},DB.prototype.update_search_keyword=function(B){this.register(gF.info.searchInfo(B))},DB.prototype.update_referrer_info=function(B){this.register_once({$initial_referrer:B||"$direct",$initial_referring_domain:gF.info.referringDomain(B)||"$direct"},"")},DB.prototype.get_referrer_info=function(){return gF.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},DB.prototype.update_config=function(B){this.default_expiry=this.expire_days=B.cookie_expiration,this.set_disabled(B.disable_persistence),this.set_cookie_domain(B.cookie_domain),this.set_cross_site(B.cross_site_cookie),this.set_cross_subdomain(B.cross_subdomain_cookie),this.set_secure(B.secure_cookie)},DB.prototype.set_disabled=function(B){this.disabled=B,this.disabled?this.remove():this.save()},DB.prototype.set_cookie_domain=function(B){B!==this.cookie_domain&&(this.remove(),this.cookie_domain=B,this.save())},DB.prototype.set_cross_site=function(B){B!==this.cross_site&&(this.cross_site=B,this.remove(),this.save())},DB.prototype.set_cross_subdomain=function(B){B!==this.cross_subdomain&&(this.cross_subdomain=B,this.remove(),this.save())},DB.prototype.get_cross_subdomain=function(){return this.cross_subdomain},DB.prototype.set_secure=function(B){B!==this.secure&&(this.secure=!!B,this.remove(),this.save())},DB.prototype._add_to_people_queue=function(B,H){var W=this._get_queue_key(B),K=H[B],Y=this._get_or_create_queue(YD),ie=this._get_or_create_queue(JD),ce=this._get_or_create_queue(t$),ue=this._get_or_create_queue(c$),de=this._get_or_create_queue(d$),pe=this._get_or_create_queue(p$,[]),fe=this._get_or_create_queue(u$,[]);W===b$?(gF.extend(Y,K),this._pop_from_people_queue(c$,K),this._pop_from_people_queue(d$,K),this._pop_from_people_queue(t$,K)):W===w$?(gF.each(K,function(B,H){H in ie||(ie[H]=B)}),this._pop_from_people_queue(t$,K)):W===_$?gF.each(K,function(B){gF.each([Y,ie,ue,de],function(H){B in H&&delete H[B]}),gF.each(fe,function(H){B in H&&delete H[B]}),ce[B]=!0}):W===x$?(gF.each(K,function(B,H){H in Y?Y[H]+=B:(H in ue||(ue[H]=0),ue[H]+=B)},this),this._pop_from_people_queue(t$,K)):W===E$?(gF.each(K,function(B,H){gF.isArray(B)&&(H in de||(de[H]=[]),gF.each(B,function(B){gF.include(de[H],B)||de[H].push(B)}))}),this._pop_from_people_queue(t$,K)):W===O$?(pe.push(K),this._pop_from_people_queue(u$,K)):W===C$&&(fe.push(K),this._pop_from_people_queue(t$,K)),vF.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),vF.log(H),this.save()},DB.prototype._pop_from_people_queue=function(B,H){var W=this.props[this._get_queue_key(B)];gF.isUndefined(W)||gF.each(H,function(H,K){B===u$||B===p$?gF.each(W,function(B){B[K]===H&&delete B[K]}):delete W[K]},this)},DB.prototype.load_queue=function(B){return this.load_prop(this._get_queue_key(B))},DB.prototype._get_queue_key=function(B){return B===YD?b$:B===JD?w$:B===t$?_$:B===c$?x$:B===u$?C$:B===p$?O$:B===d$?E$:void vF.error("Invalid queue:",B)},DB.prototype._get_or_create_queue=function(B,H){var W=this._get_queue_key(B);return H=gF.isUndefined(H)?{}:H,this.props[W]||(this.props[W]=H)},DB.prototype.set_event_timer=function(B,H){var W=this.load_prop(A$)||{};W[B]=H,this.props[A$]=W,this.save()},DB.prototype.remove_event_timer=function(B){var H=(this.load_prop(A$)||{})[B];return gF.isUndefined(H)||(delete this.props[A$][B],this.save()),H};var P$,$B=function(B,H){throw new Error(B+" not available in this build.")},L$="mixpanel",j$="base64",F$="$device:",N$=Sw.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,D$=!N$&&-1===cF.indexOf("MSIE")&&-1===cF.indexOf("Mozilla"),$$=null;rF.sendBeacon&&($$=function(){return rF.sendBeacon.apply(rF,arguments)});var z$={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/",settings:"settings/"},B$={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:z$,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:j$,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:TD,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:TD,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_allowed_iframe_origins:[],record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video, audio",record_canvas:!1,record_collect_fonts:!1,record_console:!0,record_heatmap_data:!1,recording_event_triggers:{},record_idle_timeout_ms:18e5,record_mask_inputs:!0,record_max_ms:Wj,record_min_ms:0,record_network:!1,record_network_options:{},record_sessions_percent:0,recorder_src:null,targeting_src:null,lib_base_path:"https://cdn.mxpnl.com/libs/",remote_settings_mode:"disabled"},U$=!1,YB=function(){},ZB=function(B,H,W){var K,Y=W===L$?P$:P$[W];if(Y&&0===y$)K=Y;else{if(Y&&!gF.isArray(Y))return void vF.error("You have already initialized "+W);K=new YB}if(K._cached_groups={},K._init(B,H,W),K.people=new kB,K.people._init(K),!K.get_config("skip_first_touch_marketing")){var ie=gF.info.campaignParams(null),ce={},ue=!1;gF.each(ie,function(B,H){ce["initial_"+H]=B,B&&(ue=!0)}),ue&&K.people.set_once(ce)}Ew.DEBUG=Ew.DEBUG||K.get_config("debug");var de=0===y$?"module":"snippet";return Sw.dispatchEvent(new Sw.CustomEvent("$mp_sdk_to_extension_event",{detail:{instance:K,source:de,token:B,name:W,info:gF.info}})),!gF.isUndefined(Y)&&gF.isArray(Y)&&(K._execute_array.call(K.people,Y.people),K._execute_array(Y)),K};YB.prototype.init=function(B,H,W){if(gF.isUndefined(W))this.report_error("You must name your new library: init(token, config, name)");else{if(W!==L$){var K=ZB(B,H,W);return P$[W]=K,K._loaded(),K}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},YB.prototype._init=function(B,H,W){H=H||{},this.__loaded=!0,this.config={};var K={};if("api_payload_format"in H||(H.api_host||B$.api_host).match(/\.mixpanel\.com/)&&(K.api_payload_format="json"),this.hooks={},this.set_config(gF.extend({},B$,K,H,{name:W,token:B,callback_fn:(W===L$?W:L$+"."+W)+"._jsc"})),this.recorderManager=new pB({mixpanelInstance:this,getConfigFunc:gF.bind(this.get_config,this),setConfigFunc:gF.bind(this.set_config,this),getTabIdFunc:gF.bind(this.get_tab_id,this),reportErrorFunc:gF.bind(this.report_error,this),getDistinctIdFunc:gF.bind(this.get_distinct_id,this),recorderSrc:this.get_config("recorder_src"),targetingSrc:this.get_config("targeting_src"),libBasePath:this.get_config("lib_base_path"),loadExtraBundle:$B}),this._jsc=TD,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests)if(gF.localStorage.is_supported(!0)&&N$){if(this.init_batchers(),$$&&Sw.addEventListener){var Y=gF.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);Sw.addEventListener("pagehide",function(B){B.persisted&&Y()}),Sw.addEventListener("visibilitychange",function(){"hidden"===sF.visibilityState&&Y()})}}else this._batch_requests=!1,vF.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),gF.each(this.get_batcher_configs(),function(B){vF.log("Clearing batch queue "+B.queue_key),gF.localStorage.remove(B.queue_key)});this.persistence=this.cookie=new DB(this.config),this.unpersisted_superprops={},this._gdpr_init();var ie=gF.UUID();this.get_distinct_id()||this.register_once({distinct_id:F$+ie,$device_id:ie},""),this.flags=new aB({getFullApiRoute:gF.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:gF.bind(this.get_config,this),setConfigFunc:gF.bind(this.set_config,this),getPropertyFunc:gF.bind(this.get_property,this),trackingFunc:gF.bind(this.track,this),loadExtraBundle:$B,targetingSrc:this.get_config("targeting_src")||this.get_config("lib_base_path")+jw}),this.flags.init(),this.flags=this.flags,this.autocapture=new tB(this),this.autocapture.init(),this._init_tab_id();var ce=this.get_config("remote_settings_mode");this.__session_recording_init_promise="strict"===ce||"fallback"===ce?this._fetch_remote_settings(ce).then(gF.bind(function(){return this._check_and_start_session_recording()},this)):this._check_and_start_session_recording()},YB.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))vF.log("Tab ID initialization skipped due to disable_persistence config");else if(gF.sessionStorage.is_supported())try{var B=this.get_config("name")+"_"+this.get_config("token"),H="mp_tab_id_"+B,W="mp_gen_new_tab_id_"+B;!gF.sessionStorage.get(W)&&gF.sessionStorage.get(H)||gF.sessionStorage.set(H,"$tab-"+gF.UUID()),gF.sessionStorage.set(W,"1"),this.tab_id=gF.sessionStorage.get(H),Sw.addEventListener("beforeunload",function(){gF.sessionStorage.remove(W)})}catch(B){this.report_error("Error initializing tab id",B)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")},YB.prototype.get_tab_id=function(){return this.tab_id||null},YB.prototype._check_and_start_session_recording=BD(function(B){return this.recorderManager.checkAndStartSessionRecording(B)}),YB.prototype._start_recording_on_event=function(B,H){return this.recorderManager.startRecordingOnEvent(B,H)},YB.prototype.start_session_recording=function(){return this._check_and_start_session_recording(!0)},YB.prototype.stop_session_recording=function(){return this.recorderManager.stopSessionRecording()},YB.prototype.pause_session_recording=function(){return this.recorderManager.pauseSessionRecording()},YB.prototype.resume_session_recording=function(){return this.recorderManager.resumeSessionRecording()},YB.prototype.is_recording_heatmap_data=function(){return this.recorderManager.isRecordingHeatmapData()},YB.prototype.get_session_recording_properties=function(){return this.recorderManager.getSessionRecordingProperties()},YB.prototype.get_session_replay_url=function(){return this.recorderManager.getSessionReplayUrl()},YB.prototype.__get_recorder=function(){return this.recorderManager.getRecorder()},YB.prototype.__get_recording_init_promise=function(){return this.__session_recording_init_promise},YB.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var B=gF.info.campaignParams(null);gF.each(B,function(B,H){this.unregister(H)}.bind(this))}},YB.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(sF.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(gF.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(sF.referrer)},YB.prototype._dom_loaded=function(){gF.each(this.__dom_loaded_queue,function(B){this._track_dom.apply(this,B)},this),this.has_opted_out_tracking()||gF.each(this.__request_queue,function(B){this._send_request.apply(this,B)},this),delete this.__dom_loaded_queue,delete this.__request_queue},YB.prototype._track_dom=function(B,H){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!U$)return this.__dom_loaded_queue.push([B,H]),!1;var W=(new B).init(this);return W.track.apply(W,H)},YB.prototype._prepare_callback=function(B,H){if(gF.isUndefined(B))return null;if(N$)return function(W){B(W,H)};var W=this._jsc,K=""+Math.floor(1e8*Math.random()),Y=this.get_config("callback_fn")+"["+K+"]";return W[K]=function(Y){delete W[K],B(Y,H)},Y},YB.prototype._send_request=function(B,H,W,K){var Y=!0;if(D$)return this.__request_queue.push(arguments),Y;var ie={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},ce=null;K||!gF.isFunction(W)&&"string"!=typeof W||(K=W,W=null),W=gF.extend(ie,W||{}),N$||(W.method="GET");var ue="POST"===W.method,de=$$&&ue&&"sendbeacon"===W.transport.toLowerCase(),pe=W.verbose;H.verbose&&(pe=!0),this.get_config("test")&&(H.test=1),pe&&(H.verbose=1),this.get_config("img")&&(H.img=1),N$||(K?H.callback=K:(pe||this.get_config("test"))&&(H.callback="(function(){})")),H.ip=this.get_config("ip")?1:0,H._=(new Date).getTime().toString(),ue&&(ce="data="+encodeURIComponent(H.data),delete H.data),gF.extend(H,this.get_config("api_extra_query_params")),B+="?"+gF.HTTPBuildQuery(H);var fe=this;if("img"in H){var ke=sF.createElement("img");ke.src=B,sF.body.appendChild(ke)}else if(de){try{Y=$$(B,ce)}catch(B){fe.report_error(B),Y=!1}try{K&&K(Y?1:0)}catch(B){fe.report_error(B)}}else if(N$)try{var Je=new XMLHttpRequest;Je.open(W.method,B,!0);var rt=this.get_config("xhr_headers");if(ue&&(rt["Content-Type"]="application/x-www-form-urlencoded"),gF.each(rt,function(B,H){Je.setRequestHeader(H,B)}),W.timeout_ms&&void 0!==Je.timeout){Je.timeout=W.timeout_ms;var st=(new Date).getTime()}Je.withCredentials=!0,Je.onreadystatechange=function(){var B;if(4===Je.readyState)if(200===Je.status){if(K)if(pe){var H;try{H=gF.JSONDecode(Je.responseText)}catch(B){if(fe.report_error(B),!W.ignore_json_errors)return;H=Je.responseText}K(H)}else K(Number(Je.responseText))}else if(B=Je.timeout&&!Je.status&&(new Date).getTime()-st>=Je.timeout?"timeout":"Bad HTTP status: "+Je.status+" "+Je.statusText,fe.report_error(B),K)if(pe){var Y=Je.responseHeaders||{};K({status:0,httpStatusCode:Je.status,error:B,retryAfter:Y["Retry-After"]})}else K(0)},Je.send(ce)}catch(B){fe.report_error(B),Y=!1}else{var at=sF.createElement("script");at.type="text/javascript",at.async=!0,at.defer=!0,at.src=B;var lt=sF.getElementsByTagName("script")[0];lt.parentNode.insertBefore(at,lt)}return Y},YB.prototype._fetch_remote_settings=function(B){var H=this,r=function(){"strict"===B&&H.set_config({record_sessions_percent:0})};if(!Sw.AbortController)return vF.critical("Remote settings unavailable: missing minimum required APIs"),r(),Promise.resolve();var W=this.get_api_host("settings")+"/"+this.get_config("api_routes").settings,K={$lib_version:Ew.LIB_VERSION,mp_lib:"web",sdk_config:"1"},Y=W+"?"+gF.HTTPBuildQuery(K),ie=new AbortController,ce=setTimeout(function(){ie.abort()},500),ue={method:"GET",headers:{Authorization:"Basic "+btoa(H.get_config("token")+":")},signal:ie.signal};return Sw.fetch(Y,ue).then(function(B){return clearTimeout(ce),B.ok?B.json():(vF.critical("Network response was not ok"),void r())}).then(function(B){if(B&&B.sdk_config&&B.sdk_config.config){var W=B.sdk_config.config,K={};gF.each(W,function(B,H){B$.hasOwnProperty(H)&&(K[H]=B)}),gF.isEmptyObject(K)?(vF.critical("No valid config keys found in remote settings."),r()):H.set_config(K)}else r()}).catch(function(B){clearTimeout(ce),vF.critical("Failed to fetch remote settings",B),r()})},YB.prototype._execute_array=function(B){var H,W=[],K=[],Y=[];gF.each(B,function(B){B&&(H=B[0],gF.isArray(H)?Y.push(B):"function"==typeof B?B.call(this):gF.isArray(B)&&"alias"===H?W.push(B):gF.isArray(B)&&-1!==H.indexOf("track")&&"function"==typeof this[H]?Y.push(B):K.push(B))},this);var i=function(B,H){gF.each(B,function(B){if(gF.isArray(B[0])){var W=H;gF.each(B,function(B){W=W[B[0]].apply(W,B.slice(1))})}else this[B[0]].apply(this,B.slice(1))},H)};i(W,this),i(K,this),i(Y,this)},YB.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},YB.prototype.get_batcher_configs=function(){var B="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",api_name:"track",queue_key:B+"_ev"},people:{type:"people",api_name:"engage",queue_key:B+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:B+"_gr"}},this._batcher_configs},YB.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var B=gF.bind(function(B){return new nF(B.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:gF.bind(function(H,W,K){var Y=this.get_config("api_routes");this._send_request(this.get_api_host(B.api_name)+"/"+Y[B.api_name],this._encode_data_for_request(H),W,this._prepare_callback(K,H))},this),beforeSendHook:gF.bind(function(H){var W=this._run_hook("before_send_"+B.type,H);return W?W[0]:null},this),stopAllBatchingFunc:gF.bind(this.stop_batch_senders,this),usePersistence:!0})},this),H=this.get_batcher_configs();this.request_batchers={events:B(H.events),people:B(H.people),groups:B(H.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},YB.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,gF.each(this.request_batchers,function(B){B.start()}))},YB.prototype.stop_batch_senders=function(){this._batch_requests=!1,gF.each(this.request_batchers,function(B){B.stop(),B.clear()})},YB.prototype.push=function(B){this._execute_array([B])},YB.prototype.enable=function(B){var H,W,K,Y;if(void 0===B)this._flags.disable_all_events=!1;else{for(H={},W=[],K=0;K<B.length;K++)H[B[K]]=!0;for(Y=0;Y<this.__disabled_events.length;Y++)H[this.__disabled_events[Y]]||W.push(this.__disabled_events[Y]);this.__disabled_events=W}},YB.prototype.disable=function(B){void 0===B?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(B)},YB.prototype._encode_data_for_request=function(B){var H=ZF(B);return this.get_config("api_payload_format")===j$&&(H=gF.base64Encode(H)),{data:H}},YB.prototype._track_or_batch=function(B,H){var W=gF.truncate(B.data,255),K=B.endpoint,Y=B.batcher,ie=B.should_send_immediately,ce=B.send_request_options||{};H=H||TD;var ue=!0,de=gF.bind(function(){return ce.skip_hooks||(W=this._run_hook("before_send_"+B.type,W))&&(W=W[0]),W?(vF.log("MIXPANEL REQUEST:"),vF.log(W),this._send_request(K,this._encode_data_for_request(W),ce,this._prepare_callback(H,W))):null},this);return this._batch_requests&&!ie?Y.enqueue(W).then(function(B){B?H(1,W):de()}):ue=de(),ue&&W},YB.prototype.track=BD(function(B,H,W,K){var Y;if(!W||!W.skip_hooks){if(null===(Y=this._run_hook("before_track",B,H)))return;B=Y[0],H=Y[1]}K||"function"!=typeof W||(K=W,W=null);var ie=(W=W||{}).transport;ie&&(W.transport=ie);var ce=W.send_immediately;if("function"!=typeof K&&(K=TD),gF.isUndefined(B))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(B)){(H=gF.extend({},H)).token=this.get_config("token");var ue=this.persistence.remove_event_timer(B);if(!gF.isUndefined(ue)){var de=(new Date).getTime()-ue;H.$duration=parseFloat((de/1e3).toFixed(3))}this._set_default_superprops();var pe=this.get_config("track_marketing")?gF.info.marketingParams():{};H=gF.extend({},gF.info.properties({mp_loader:this.get_config("mp_loader")}),pe,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),H);var fe=this.get_config("property_blacklist");gF.isArray(fe)?gF.each(fe,function(B){delete H[B]}):this.report_error("Invalid value for property_blacklist config: "+fe),this._start_recording_on_event(B,H);var ke={event:B,properties:H};return Y=this._track_or_batch({type:"events",data:ke,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:ce,send_request_options:W},K),this.flags&&this.flags.checkFirstTimeEvents&&this.flags.checkFirstTimeEvents(B,H),Y}K(0)}}),YB.prototype.set_group=BD(function(B,H,W){gF.isArray(H)||(H=[H]);var K={};return K[B]=H,this.register(K),this.people.set(B,H,W)}),YB.prototype.add_group=BD(function(B,H,W){var K=this.get_property(B),Y={};return void 0===K?(Y[B]=[H],this.register(Y)):-1===K.indexOf(H)&&(K.push(H),Y[B]=K,this.register(Y)),this.people.union(B,H,W)}),YB.prototype.remove_group=BD(function(B,H,W){var K=this.get_property(B);if(void 0!==K){var Y=K.indexOf(H);Y>-1&&(K.splice(Y,1),this.register({group_key:K})),0===K.length&&this.unregister(B)}return this.people.remove(B,H,W)}),YB.prototype.track_with_groups=BD(function(B,H,W,K){var Y=gF.extend({},H||{});return gF.each(W,function(B,H){null!=B&&(Y[H]=B)}),this.track(B,Y,K)}),YB.prototype._create_map_key=function(B,H){return B+"_"+JSON.stringify(H)},YB.prototype._remove_group_from_cache=function(B,H){delete this._cached_groups[this._create_map_key(B,H)]},YB.prototype.get_group=function(B,H){var W=this._create_map_key(B,H),K=this._cached_groups[W];return void 0!==K&&K._group_key===B&&K._group_id===H||((K=new SB)._init(this,B,H),this._cached_groups[W]=K),K},YB.prototype.track_pageview=BD(function(B,H){"object"!=typeof B&&(B={});var W=(H=H||{}).event_name||"$mp_web_page_view",K=gF.extend(gF.info.mpPageViewProperties(),gF.info.campaignParams(),gF.info.clickParams()),Y=gF.extend({},K,B);return this.track(W,Y)}),YB.prototype.track_links=function(){return this._track_dom.call(this,fB,arguments)},YB.prototype.track_forms=function(){return this._track_dom.call(this,hB,arguments)},YB.prototype.time_event=function(B){gF.isUndefined(B)?this.report_error("No event name provided to mixpanel.time_event"):this._event_is_disabled(B)||this.persistence.set_event_timer(B,(new Date).getTime())};var H$={persistent:!0},JB=function(B){var H;return H=gF.isObject(B)?B:gF.isUndefined(B)?{}:{days:B},gF.extend({},H$,H)};YB.prototype.register=function(B,H){var W=this._run_hook("before_register",B,H);if(null!==W){B=W[0],H=W[1];var K=JB(H);K.persistent?this.persistence.register(B,K.days):gF.extend(this.unpersisted_superprops,B)}},YB.prototype.register_once=function(B,H,W){var K=this._run_hook("before_register_once",B,H,W);if(null!==K){B=K[0],H=K[1],W=K[2];var Y=JB(W);Y.persistent?this.persistence.register_once(B,H,Y.days):(void 0===H&&(H="None"),gF.each(B,function(B,W){this.unpersisted_superprops.hasOwnProperty(W)&&this.unpersisted_superprops[W]!==H||(this.unpersisted_superprops[W]=B)},this))}},YB.prototype.unregister=function(B,H){var W=this._run_hook("before_unregister",B,H);null!==W&&(B=W[0],H=W[1],(H=JB(H)).persistent?this.persistence.unregister(B):delete this.unpersisted_superprops[B])},YB.prototype._register_single=function(B,H){var W={};W[B]=H,this.register(W)},YB.prototype.identify=function(B,H,W,K,Y,ie,ce,ue){var de=this._run_hook("before_identify",B);if(null===de)return-1;B=de[0];var pe=this.get_distinct_id();if(B&&pe!==B){if("string"==typeof B&&0===B.indexOf(F$))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:B})}if(!this.get_property("$device_id")){var fe=pe;this.register_once({$had_persisted_distinct_id:!0,$device_id:fe},"")}B!==pe&&B!==this.get_property(I$)&&(this.unregister(I$),this.register({distinct_id:B})),this._flags.identify_called=!0,this.people._flush(H,W,K,Y,ie,ce,ue),B!==pe&&this.track("$identify",{distinct_id:B,$anon_distinct_id:pe},{skip_hooks:!0}),B!==pe&&this.flags.fetchFlags()},YB.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var B=gF.UUID();this.register_once({distinct_id:F$+B,$device_id:B},""),this._check_and_start_session_recording()},YB.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},YB.prototype.alias=function(B,H){if(B===this.get_property(M$))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var W=this;return gF.isUndefined(H)&&(H=this.get_distinct_id()),B!==H?(this._register_single(I$,B),this.track("$create_alias",{alias:B,distinct_id:H},{skip_hooks:!0},function(){W.identify(B)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(B),-1)},YB.prototype.name_tag=function(B){this._register_single("mp_name_tag",B)},YB.prototype.set_config=function(B){gF.isObject(B)&&(gF.extend(this.config,B),B.batch_size&&gF.each(this.request_batchers,function(B){B.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),Ew.DEBUG=Ew.DEBUG||this.get_config("debug"),("autocapture"in B||"record_heatmap_data"in B)&&this.autocapture&&this.autocapture.init(),gF.isObject(B.hooks)&&(this.hooks={},gF.each(B.hooks,function(B,H){if(gF.isFunction(B))this.hooks[H]=[B];else if(gF.isArray(B)){this.hooks[H]=[];for(var W=0;W<B.length;W++)gF.isFunction(B[W])||vF.critical("Invalid hook added. Hook is not a function"),this.hooks[H].push(B[W])}else vF.critical("Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.")},this)))},YB.prototype.get_config=function(B){return this.config[B]},YB.prototype._run_hook=function(B){var H=Kj.call(arguments,1);return gF.each(this.hooks[B],function(W){if(null===H)return null;var K=W.apply(this,H);void 0===K?(this.report_error(B+" hook did not return a valid value"),H=null):(gF.isArray(K)||(K=[K]),H.splice.apply(H,[0,K.length].concat(K)))},this),H},YB.prototype.get_property=function(B){return this.persistence.load_prop([B])},YB.prototype.get_api_host=function(B){return this.get_config("api_hosts")[B]||this.get_config("api_host")},YB.prototype.toString=function(){var B=this.get_config("name");return B!==L$&&(B=L$+"."+B),B},YB.prototype._event_is_disabled=function(B){return gF.isBlockedUA(cF)||this._flags.disable_all_events||gF.include(this.__disabled_events,B)},YB.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&gF.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):this.has_opted_in_tracking()||!this.get_config("opt_out_tracking_by_default")&&!gF.cookie.get("mp_optout")||(gF.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},YB.prototype._gdpr_update_persistence=function(B){var H;if(B&&B.clear_persistence)H=!0;else{if(!B||!B.enable_persistence)return;H=!1}this.get_config("disable_persistence")||this.persistence.disabled===H||this.persistence.set_disabled(H),H?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()},YB.prototype._gdpr_call_func=function(B,H){return H=gF.extend({track:gF.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},H),gF.localStorage.is_supported()||(H.persistence_type="cookie"),B(this.get_config("token"),{track:H.track,trackEventName:H.track_event_name,trackProperties:H.track_properties,persistenceType:H.persistence_type,persistencePrefix:H.cookie_prefix,cookieDomain:H.cookie_domain,cookieExpiration:H.cookie_expiration,crossSiteCookie:H.cross_site_cookie,crossSubdomainCookie:H.cross_subdomain_cookie,secureCookie:H.secure_cookie,ignoreDnt:H.ignore_dnt})},YB.prototype.opt_in_tracking=function(B){B=gF.extend({enable_persistence:!0},B),this._gdpr_call_func(LD,B),this._gdpr_update_persistence(B)},YB.prototype.opt_out_tracking=function(B){(B=gF.extend({clear_persistence:!0,delete_user:!0},B)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(DD,B),this._gdpr_update_persistence(B)},YB.prototype.has_opted_in_tracking=function(B){return this._gdpr_call_func(FD,B)},YB.prototype.has_opted_out_tracking=function(B){return this._gdpr_call_func($D,B)},YB.prototype.clear_opt_in_out_tracking=function(B){B=gF.extend({enable_persistence:!0},B),this._gdpr_call_func(UD,B),this._gdpr_update_persistence(B)},YB.prototype.report_error=function(B,H){vF.error.apply(vF.error,arguments);try{H||B instanceof Error||(B=new Error(B)),this.get_config("error_reporter")(B,H)}catch(H){vF.error(H)}},YB.prototype.add_hook=function(B,H){this.hooks[B]||(this.hooks[B]=[]),this.hooks[B].push(H)},YB.prototype.remove_hook=function(B,H){var W;this.hooks[B]&&(-1!==(W=this.hooks[B].indexOf(H))?this.hooks[B].splice(W,1):vF.log("remove_hook failed. Matching hook was not found"))},YB.prototype.init=YB.prototype.init,YB.prototype.reset=YB.prototype.reset,YB.prototype.enable=YB.prototype.enable,YB.prototype.disable=YB.prototype.disable,YB.prototype.time_event=YB.prototype.time_event,YB.prototype.track=YB.prototype.track,YB.prototype.track_links=YB.prototype.track_links,YB.prototype.track_forms=YB.prototype.track_forms,YB.prototype.track_pageview=YB.prototype.track_pageview,YB.prototype.register=YB.prototype.register,YB.prototype.register_once=YB.prototype.register_once,YB.prototype.unregister=YB.prototype.unregister,YB.prototype.identify=YB.prototype.identify,YB.prototype.alias=YB.prototype.alias,YB.prototype.name_tag=YB.prototype.name_tag,YB.prototype.set_config=YB.prototype.set_config,YB.prototype.get_config=YB.prototype.get_config,YB.prototype.get_api_host=YB.prototype.get_api_host,YB.prototype.get_property=YB.prototype.get_property,YB.prototype.get_distinct_id=YB.prototype.get_distinct_id,YB.prototype.toString=YB.prototype.toString,YB.prototype.opt_out_tracking=YB.prototype.opt_out_tracking,YB.prototype.opt_in_tracking=YB.prototype.opt_in_tracking,YB.prototype.has_opted_out_tracking=YB.prototype.has_opted_out_tracking,YB.prototype.has_opted_in_tracking=YB.prototype.has_opted_in_tracking,YB.prototype.clear_opt_in_out_tracking=YB.prototype.clear_opt_in_out_tracking,YB.prototype.get_group=YB.prototype.get_group,YB.prototype.set_group=YB.prototype.set_group,YB.prototype.add_group=YB.prototype.add_group,YB.prototype.remove_group=YB.prototype.remove_group,YB.prototype.add_hook=YB.prototype.add_hook,YB.prototype.remove_hook=YB.prototype.remove_hook,YB.prototype.track_with_groups=YB.prototype.track_with_groups,YB.prototype.start_batch_senders=YB.prototype.start_batch_senders,YB.prototype.stop_batch_senders=YB.prototype.stop_batch_senders,YB.prototype.start_session_recording=YB.prototype.start_session_recording,YB.prototype.stop_session_recording=YB.prototype.stop_session_recording,YB.prototype.pause_session_recording=YB.prototype.pause_session_recording,YB.prototype.resume_session_recording=YB.prototype.resume_session_recording,YB.prototype.get_session_recording_properties=YB.prototype.get_session_recording_properties,YB.prototype.get_session_replay_url=YB.prototype.get_session_replay_url,YB.prototype.get_tab_id=YB.prototype.get_tab_id,YB.prototype.DEFAULT_API_ROUTES=z$,YB.prototype.__get_recorder=YB.prototype.__get_recorder,YB.prototype.__get_recording_init_promise=YB.prototype.__get_recording_init_promise,DB.prototype.properties=DB.prototype.properties,DB.prototype.update_search_keyword=DB.prototype.update_search_keyword,DB.prototype.update_referrer_info=DB.prototype.update_referrer_info,DB.prototype.get_cross_subdomain=DB.prototype.get_cross_subdomain,DB.prototype.clear=DB.prototype.clear;var V$={},q$=($B=function(B,H){H()},y$=0,(P$=new YB).init=function(B,H,W){if(W)return P$[W]||(P$[W]=V$[W]=ZB(B,H,W),P$[W]._loaded()),P$[W];var K=P$;V$[L$]?K=V$[L$]:B&&((K=ZB(B,H,L$))._loaded(),V$[L$]=K),P$=K,1===y$&&(Sw[L$]=P$),gF.each(V$,function(B,H){H!==L$&&(P$[H]=B)}),P$._=gF},P$.init(),function(){function e(){e.done||(e.done=!0,U$=!0,D$=!1,gF.each(V$,function(B){B._dom_loaded()}))}if(sF.addEventListener)"complete"===sF.readyState?e():sF.addEventListener("DOMContentLoaded",e,!1);else if(sF.attachEvent){sF.attachEvent("onreadystatechange",e);var B=!1;try{B=null===Sw.frameElement}catch(e){}sF.documentElement.doScroll&&B&&function t(){try{sF.documentElement.doScroll("left")}catch(B){return void setTimeout(t,1)}e()}()}gF.register_event(Sw,"load",e,!0)}(),P$);const W$="elementor-one-assets";let G$=null;function nz(){return G$}const X$={initialize(B,H){if(!G$)try{q$.init(B,{debug:"production"!==H,track_pageview:!1,persistence:"localStorage"},W$),G$=q$[W$],G$.opt_in_tracking()}catch(B){console.warn("[elementor-one-assets] Failed to initialize tracking:",B)}},registerOnce(B){const H=nz();H?.register_once(B)},track(B,H){const W=nz();W?.track(B,H)},isInitialized:()=>null!==G$},Z$="plugin-settings",sz=B=>{const{enabled:H=!0}=B||{};return Ay({queryKey:[Z$],queryFn:()=>Ux.getPluginSettings(),enabled:H})},K$=new Pv({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnMount:!1,retryOnMount:!1,retry:!1}}}),Y$=Y.createContext(null),cz=()=>{const B=Y.useContext(Y$);if(!B)throw new Error("Wrap your component in <ElementorOneAssetsProvider> to access the env config");return B.config};var J$=Cs;const pz=()=>{const B=ea();return J$(B.breakpoints.down("sm"))};function dz(B){return Mo("MuiSkeleton",B)}ta("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const Q$=["animation","className","component","height","style","variant","width"];let ez,tz,rz,oz,yz=B=>B;const iz=Ot(ez||(ez=yz` | |
| 102 | + `),md)),kd=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiCircularProgress"}),{className:X,color:oe="primary",disableShrink:ie=!1,size:ae=40,style:le,thickness:ce=3.6,value:ue=0,variant:de="indeterminate"}=U,pe=a(U,ld),fe=s({},U,{color:oe,disableShrink:ie,size:ae,thickness:ce,value:ue,variant:de}),ke=(W=>{const{classes:H,variant:U,color:G,disableShrink:X}=W;return q({root:["root",U,`color${Vr(G)}`],svg:["svg"],circle:["circle",`circle${Vr(U)}`,X&&"circleDisableShrink"]},du,H)})(fe),Qe={},tt={},it={};if("determinate"===de){const W=2*Math.PI*((44-ce)/2);Qe.strokeDasharray=W.toFixed(3),it["aria-valuenow"]=Math.round(ue),Qe.strokeDashoffset=`${((100-ue)/100*W).toFixed(3)}px`,tt.transform="rotate(-90deg)"}return G.jsx(xd,s({className:V(ke.root,X),style:s({width:ae,height:ae},tt,le),ownerState:fe,ref:H,role:"progressbar"},it,pe,{children:G.jsx(_d,{className:ke.svg,ownerState:fe,viewBox:"22 22 44 44",children:G.jsx(wd,{className:ke.circle,style:Qe,ownerState:fe,cx:44,cy:44,r:(44-ce)/2,fill:"none",strokeWidth:ce})})}))}),Cd={color:"inherit",size:"1em"},Ed=X.forwardRef((W,H)=>X.createElement(kd,{...Cd,...W,ref:H}));Ed.defaultProps=Cd;var Od=Ed;const Md="rgba(0, 0, 0, 0.04)",Rd="rgba(0, 0, 0, 0.08)",Id=kl(ad)(({theme:W,ownerState:H})=>{const{color:U,unstableToColor:G,unstableGradientAngle:X}=H,oe=U&&"inherit"!==U?U:"primary",ie=!!W.palette[oe]?.__unstableTonalMain,s=({variant:W})=>"unstableTonal"===W&&ie,l=({variant:W})=>!!W&&!["contained","outlined","text"].includes(W);return{variants:[{props:()=>H.loading&&"center"===H.loadingPosition,style:{"&.MuiButtonBase-root":{"&, &:hover, &:focus, &:active":{color:"transparent"}},"& .MuiButton-loadingWrapper":{display:"contents","& .MuiButton-loadingIndicator":{display:"flex",position:"absolute",left:"50%",transform:"translateX(-50%)",color:W.palette.action.disabled}}}},{props:W=>s(W)&&"inherit"!==W.color&&!W.disabled,style:{background:W.palette[oe]?.__unstableTonalMain,color:W.palette[oe].main,"&:hover":{backgroundColor:W.palette[oe]?.__unstableTonalDark}}},{props:W=>W.disabled&&l(W),style:{background:W.palette.action.disabledBackground,color:W.palette.action.disabled}},{props:W=>s(W)&&"inherit"===W.color,style:{background:Md,color:"inherit","&:hover":{backgroundColor:Rd}}},{props:W=>"unstableTonal"===W.variant&&!ie,style:{background:"#ff0000",color:"#ff0000"}},{props:W=>"small"===W.size&&l(W),style:{padding:"4px 10px",fontSize:W.typography.pxToRem(13)}},{props:W=>"large"===W.size&&l(W),style:{padding:"8px 22px",fontSize:W.typography.pxToRem(15)}},{props:W=>(({variant:W})=>"unstableGradient"===W&&ie)(W)&&!W.disabled,style:$u(W,X,U,G)},{props:W=>"unstableGradient"===W.variant&&!ie,style:{background:"#ff0000",color:"#ff0000"}}]}}),Iu=(W="primary",H="text",U)=>{if(W)return"inherit"===W?"inherit":"contained"===H?`${W}.contrastText`:"unstableTonal"===H?`${W}.main`:U.palette.primary.__unstableAccessibleMain&&Hc.includes(W)?`${W}.${Kl}`:`${W}.main`},Td={loading:!1,loadingIndicator:X.createElement(Od,{color:"inherit",size:16}),loadingPosition:"center"},Pd=X.forwardRef((W,H)=>{const U={...Td,...W},G=X.useContext(Xu),oe=Ka(),{sx:ie={},unstableToColor:ae,unstableGradientAngle:le,...ce}=function(W){const{loading:H,loadingPosition:U,loadingIndicator:G,...oe}=W;if(!H)return oe;switch(U){case"start":oe.startIcon=G;break;case"end":oe.endIcon=G;break;case"center":oe.children=X.createElement(Au,{loadingIndicator:G},W.children)}return{...oe,disabled:!0}}(U),ue={...ce,loading:U.loading,loadingPosition:U.loadingPosition,loadingIndicator:U.loadingIndicator,unstableToColor:ae,unstableGradientAngle:le};let de={};const pe=ce.href?Ul:"&:hover,&:focus,&:active",fe=ce.color||G?.color,ke=ce.variant||G?.variant;return de={[pe]:{color:Iu(fe,ke,oe)}},X.createElement(Id,{...ce,color:fe,variant:ke,sx:{...de,...ie},ref:H,ownerState:ue})});var Ad=Pd;function Au({loadingIndicator:W,children:H}){return X.createElement(X.Fragment,null,X.createElement("div",{className:"MuiButton-loadingWrapper"},X.createElement("div",{className:"MuiButton-loadingIndicator"},W)),H)}function $u(W,H,U,G){if(!U)return;const X=U,oe=function(W,H){if(void 0!==H)return H;const{__unstableGradientAngle:U}=W.palette.action;return void 0!==U?U:125}(W,H);let{main:ie,__unstableTonalMain:ae,__unstableTonalDark:le}=W.palette[X]||{};"inherit"===U&&(ie="inherit",ae=Md,le=Rd);const ce=[ae],ue=[le];if(G){const H=G,{__unstableTonalMain:U,__unstableTonalDark:X}=W.palette[H];ce.push(U),ue.push(X)}return{color:ie,backgroundImage:`linear-gradient( ${oe}deg, ${ce.join(", ")} )`,"&:hover":{backgroundImage:`linear-gradient( ${oe}deg, ${ue.join(",")} )`}}}Pd.defaultProps=Td;const jd={};function Du(){for(var W=arguments.length,H=new Array(W),U=0;U<W;U++)H[U]=arguments[U];Vu(H[0])&&jd[H[0]]||(Vu(H[0])&&(jd[H[0]]=new Date),function(){if(console&&console.warn){for(var W=arguments.length,H=new Array(W),U=0;U<W;U++)H[U]=arguments[U];Vu(H[0])&&(H[0]=`react-i18next:: ${H[0]}`),console.warn(...H)}}(...H))}const Fu=(W,H)=>()=>{if(W.isInitialized)H();else{const r=()=>{setTimeout(()=>{W.off("initialized",r)},0),H()};W.on("initialized",r)}},zu=(W,H,U)=>{W.loadNamespaces(H,Fu(W,U))},Bu=(W,H,U,G)=>{Vu(U)&&(U=[U]),U.forEach(H=>{W.options.ns.indexOf(H)<0&&W.options.ns.push(H)}),W.loadLanguages(H,Fu(W,G))},Vu=W=>"string"==typeof W,Nd=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Ld={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Wu=W=>Ld[W];let Dd,Fd={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:W=>W.replace(Nd,Wu)};const zd={type:"3rdParty",init(W){!function(){let W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Fd={...Fd,...W}}(W.options.react),(W=>{Dd=W})(W)}},Vd=X.createContext();class Yu{addUsedNamespaces(W){W.forEach(W=>{this.usedNamespaces[W]||(this.usedNamespaces[W]=!0)})}constructor(){this.getUsedNamespaces=()=>Object.keys(this.usedNamespaces),this.usedNamespaces={}}}const Qu=(W,H,U,G)=>W.getFixedT(H,U,G),Zu=function(W){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{i18n:U}=H,{i18n:G,defaultNS:oe}=X.useContext(Vd)||{},ie=U||G||Dd;if(ie&&!ie.reportNamespaces&&(ie.reportNamespaces=new Yu),!ie){Du("You will need to pass in an i18next instance by using initReactI18next");const e=(W,H)=>{return Vu(H)?H:"object"==typeof(U=H)&&null!==U&&Vu(H.defaultValue)?H.defaultValue:Array.isArray(W)?W[W.length-1]:W;var U},W=[e,{},!1];return W.t=e,W.i18n={},W.ready=!1,W}ie.options.react&&void 0!==ie.options.react.wait&&Du("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const ae={...Fd,...ie.options.react,...H},{useSuspense:le,keyPrefix:ce}=ae;let ue=W||oe||ie.options&&ie.options.defaultNS;ue=Vu(ue)?[ue]:ue||["translation"],ie.reportNamespaces.addUsedNamespaces&&ie.reportNamespaces.addUsedNamespaces(ue);const de=(ie.isInitialized||ie.initializedStoreOnce)&&ue.every(W=>function(W,H){let U=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return H.languages&&H.languages.length?void 0!==H.options.ignoreJSONStructure?H.hasLoadedNamespace(W,{lng:U.lng,precheck:(H,G)=>{if(U.bindI18n&&U.bindI18n.indexOf("languageChanging")>-1&&H.services.backendConnector.backend&&H.isLanguageChangingTo&&!G(H.isLanguageChangingTo,W))return!1}}):function(W,H){let U=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const G=H.languages[0],X=!!H.options&&H.options.fallbackLng,oe=H.languages[H.languages.length-1];if("cimode"===G.toLowerCase())return!0;const a=(W,U)=>{const G=H.services.backendConnector.state[`${W}|${U}`];return-1===G||2===G};return!(U.bindI18n&&U.bindI18n.indexOf("languageChanging")>-1&&H.services.backendConnector.backend&&H.isLanguageChangingTo&&!a(H.isLanguageChangingTo,W)||!H.hasResourceBundle(G,W)&&H.services.backendConnector.backend&&(!H.options.resources||H.options.partialBundledLanguages)&&(!a(G,W)||X&&!a(oe,W)))}(W,H,U):(Du("i18n.languages were undefined or empty",H.languages),!0)}(W,ie,ae)),pe=((W,H,U,G)=>X.useCallback(Qu(W,H,U,G),[W,H,U,G]))(ie,H.lng||null,"fallback"===ae.nsMode?ue:ue[0],ce),f=()=>pe,h=()=>Qu(ie,H.lng||null,"fallback"===ae.nsMode?ue:ue[0],ce),[fe,ke]=X.useState(f);let Qe=ue.join();H.lng&&(Qe=`${H.lng}${Qe}`);const tt=(W=>{const H=X.useRef();return X.useEffect(()=>{H.current=W},[W,void 0]),H.current})(Qe),it=X.useRef(!0);X.useEffect(()=>{const{bindI18n:W,bindI18nStore:U}=ae;it.current=!0,de||le||(H.lng?Bu(ie,H.lng,ue,()=>{it.current&&ke(h)}):zu(ie,ue,()=>{it.current&&ke(h)})),de&&tt&&tt!==Qe&&it.current&&ke(h);const n=()=>{it.current&&ke(h)};return W&&ie&&ie.on(W,n),U&&ie&&ie.store.on(U,n),()=>{it.current=!1,W&&ie&&W.split(" ").forEach(W=>ie.off(W,n)),U&&ie&&U.split(" ").forEach(W=>ie.store.off(W,n))}},[ie,Qe]),X.useEffect(()=>{it.current&&de&&ke(f)},[ie,ce,de]);const at=[fe,ie,de];if(at.t=fe,at.i18n=ie,at.ready=de,de)return at;if(!de&&!le)return at;throw new Promise(W=>{H.lng?Bu(ie,H.lng,ue,()=>W()):zu(ie,ue,()=>W())})};function Ju(W){if("undefined"==typeof window)return W;const H=ie.useRef(null);return ie.useLayoutEffect(()=>{H.current=W}),ie.useCallback((...W)=>{var U;null===(U=H.current)||void 0===U||U.call(H,...W)},[])}const qd={},Wd={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1};function rp({isOpen:W,anchorEl:H,anchorPosition:U,close:G,popupId:X,onMouseLeave:oe,disableAutoFocus:ie,_openEventType:ae}){return{id:X,anchorEl:H,anchorPosition:U,anchorReference:"contextmenu"===ae?"anchorPosition":"anchorEl",open:W,onClose:G,onMouseLeave:oe,...ie&&{autoFocus:!1,disableAutoFocusItem:!0,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function np(W,H){const{anchorEl:U,_childPopupState:G}=H;return op(U,W)||op(function(W,{popupId:H}){if(!H)return null;const U="function"==typeof W.getRootNode?W.getRootNode():document;return"function"==typeof U.getElementById?U.getElementById(H):null}(W,H),W)||null!=G&&np(W,G)}function op(W,H){if(!W)return!1;for(;H;){if(H===W)return!0;H=H.parentElement}return!1}let Ud=0;var Kd,Gd={exports:{}},Xd={};var Yd;(function mp(){return Yd||(Yd=1,Gd.exports=function up(){if(Kd)return Xd;Kd=1;var W,H=Symbol.for("react.element"),U=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),oe=Symbol.for("react.profiler"),ie=Symbol.for("react.provider"),ae=Symbol.for("react.context"),le=Symbol.for("react.server_context"),ce=Symbol.for("react.forward_ref"),ue=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),fe=Symbol.for("react.lazy"),ke=Symbol.for("react.offscreen");function m(W){if("object"==typeof W&&null!==W){var ke=W.$$typeof;switch(ke){case H:switch(W=W.type){case G:case oe:case X:case ue:case de:return W;default:switch(W=W&&W.$$typeof){case le:case ae:case ce:case fe:case pe:case ie:return W;default:return ke}}case U:return ke}}}return W=Symbol.for("react.module.reference"),Xd.ContextConsumer=ae,Xd.ContextProvider=ie,Xd.Element=H,Xd.ForwardRef=ce,Xd.Fragment=G,Xd.Lazy=fe,Xd.Memo=pe,Xd.Portal=U,Xd.Profiler=oe,Xd.StrictMode=X,Xd.Suspense=ue,Xd.SuspenseList=de,Xd.isAsyncMode=function(){return!1},Xd.isConcurrentMode=function(){return!1},Xd.isContextConsumer=function(W){return m(W)===ae},Xd.isContextProvider=function(W){return m(W)===ie},Xd.isElement=function(W){return"object"==typeof W&&null!==W&&W.$$typeof===H},Xd.isForwardRef=function(W){return m(W)===ce},Xd.isFragment=function(W){return m(W)===G},Xd.isLazy=function(W){return m(W)===fe},Xd.isMemo=function(W){return m(W)===pe},Xd.isPortal=function(W){return m(W)===U},Xd.isProfiler=function(W){return m(W)===oe},Xd.isStrictMode=function(W){return m(W)===X},Xd.isSuspense=function(W){return m(W)===ue},Xd.isSuspenseList=function(W){return m(W)===de},Xd.isValidElementType=function(H){return"string"==typeof H||"function"==typeof H||H===G||H===oe||H===X||H===ue||H===de||H===ke||"object"==typeof H&&null!==H&&(H.$$typeof===fe||H.$$typeof===pe||H.$$typeof===ie||H.$$typeof===ae||H.$$typeof===ce||H.$$typeof===W||void 0!==H.getModuleId)},Xd.typeOf=m,Xd}()),Gd.exports})();function yp(W){return"string"==typeof W}function bp(W,H,U){return void 0===W||yp(W)?H:s({},H,{ownerState:s({},H.ownerState,U)})}const Zd=ie.createContext({disableDefaultClasses:!1});function _p(W,H=[]){if(void 0===W)return{};const U={};return Object.keys(W).filter(U=>U.match(/^on[A-Z]/)&&"function"==typeof W[U]&&!H.includes(U)).forEach(H=>{U[H]=W[H]}),U}function wp(W,H,U){return"function"==typeof W?W(H,U):W}function Sp(W){if(void 0===W)return{};const H={};return Object.keys(W).filter(H=>!(H.match(/^on[A-Z]/)&&"function"==typeof W[H])).forEach(U=>{H[U]=W[U]}),H}function kp(W){const{getSlotProps:H,additionalProps:U,externalSlotProps:G,externalForwardedProps:X,className:oe}=W;if(!H){const W=V(null==U?void 0:U.className,oe,null==X?void 0:X.className,null==G?void 0:G.className),H=s({},null==U?void 0:U.style,null==X?void 0:X.style,null==G?void 0:G.style),ie=s({},U,X,G);return W.length>0&&(ie.className=W),Object.keys(H).length>0&&(ie.style=H),{props:ie,internalRef:void 0}}const ie=_p(s({},X,G)),ae=Sp(G),le=Sp(X),ce=H(ie),ue=V(null==ce?void 0:ce.className,null==U?void 0:U.className,oe,null==X?void 0:X.className,null==G?void 0:G.className),de=s({},null==ce?void 0:ce.style,null==U?void 0:U.style,null==X?void 0:X.style,null==G?void 0:G.style),pe=s({},ce,U,le,ae);return ue.length>0&&(pe.className=ue),Object.keys(de).length>0&&(pe.style=de),{props:pe,internalRef:ce.ref}}const Jd=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Cp(W){var H;const{elementType:U,externalSlotProps:G,ownerState:X,skipResolvingSlotProps:oe=!1}=W,ie=a(W,Jd),ae=oe?{}:wp(G,X),{props:le,internalRef:ce}=kp(s({},ie,{externalSlotProps:ae}));return bp(U,s({},le,{ref:fa(ce,null==ae?void 0:ae.ref,null==(H=W.additionalProps)?void 0:H.ref)}),X)}const Qd=ie.createContext({});function Tp(W){return Oo("MuiList",W)}Ei("MuiList",["root","padding","dense","subheader"]);const ep=["children","className","component","dense","disablePadding","subheader"],tp=os("ul",{name:"MuiList",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,!U.disablePadding&&H.padding,U.dense&&H.dense,U.subheader&&H.subheader]}})(({ownerState:W})=>s({listStyle:"none",margin:0,padding:0,position:"relative"},!W.disablePadding&&{paddingTop:8,paddingBottom:8},W.subheader&&{paddingTop:0})),ip=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiList"}),{children:X,className:oe,component:ae="ul",dense:le=!1,disablePadding:ce=!1,subheader:ue}=U,de=a(U,ep),pe=ie.useMemo(()=>({dense:le}),[le]),fe=s({},U,{component:ae,dense:le,disablePadding:ce}),ke=(W=>{const{classes:H,disablePadding:U,dense:G,subheader:X}=W;return q({root:["root",!U&&"padding",G&&"dense",X&&"subheader"]},Tp,H)})(fe);return G.jsx(Qd.Provider,{value:pe,children:G.jsxs(tp,s({as:ae,className:V(ke.root,oe),ref:H,ownerState:fe},de,{children:[ue,X]}))})}),ap=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Pp(W,H,U){return W===H?W.firstChild:H&&H.nextElementSibling?H.nextElementSibling:U?null:W.firstChild}function jp(W,H,U){return W===H?U?W.firstChild:W.lastChild:H&&H.previousElementSibling?H.previousElementSibling:U?null:W.lastChild}function Ap(W,H){if(void 0===H)return!0;let U=W.innerText;return void 0===U&&(U=W.textContent),U=U.trim().toLowerCase(),0!==U.length&&(H.repeating?U[0]===H.keys[0]:0===U.indexOf(H.keys.join("")))}function $p(W,H,U,G,X,oe){let ie=!1,ae=X(W,H,!!H&&U);for(;ae;){if(ae===W.firstChild){if(ie)return!1;ie=!0}const H=!G&&(ae.disabled||"true"===ae.getAttribute("aria-disabled"));if(ae.hasAttribute("tabindex")&&Ap(ae,oe)&&!H)return ae.focus(),!0;ae=X(W,ae,U)}return!1}const sp=ie.forwardRef(function(W,H){const{actions:U,autoFocus:X=!1,autoFocusItem:oe=!1,children:ae,className:le,disabledItemsFocusable:ce=!1,disableListWrap:ue=!1,onKeyDown:de,variant:pe="selectedMenu"}=W,fe=a(W,ap),ke=ie.useRef(null),Qe=ie.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});hs(()=>{X&&ke.current.focus()},[X]),ie.useImperativeHandle(U,()=>({adjustStyleForScrollbar:(W,{direction:H})=>{const U=!ke.current.style.width;if(W.clientHeight<ke.current.clientHeight&&U){const U=`${Ca(ia(W))}px`;ke.current.style["rtl"===H?"paddingLeft":"paddingRight"]=U,ke.current.style.width=`calc(100% + ${U})`}return ke.current}}),[]);const tt=fa(ke,H);let it=-1;ie.Children.forEach(ae,(W,H)=>{ie.isValidElement(W)?(W.props.disabled||("selectedMenu"===pe&&W.props.selected||-1===it)&&(it=H),it===H&&(W.props.disabled||W.props.muiSkipListHighlight||W.type.muiSkipListHighlight)&&(it+=1,it>=ae.length&&(it=-1))):it===H&&(it+=1,it>=ae.length&&(it=-1))});const at=ie.Children.map(ae,(W,H)=>{if(H===it){const H={};return oe&&(H.autoFocus=!0),void 0===W.props.tabIndex&&"selectedMenu"===pe&&(H.tabIndex=0),ie.cloneElement(W,H)}return W});return G.jsx(ip,s({role:"menu",ref:tt,className:le,onKeyDown:W=>{const H=ke.current,U=W.key,G=ia(H).activeElement;if("ArrowDown"===U)W.preventDefault(),$p(H,G,ue,ce,Pp);else if("ArrowUp"===U)W.preventDefault(),$p(H,G,ue,ce,jp);else if("Home"===U)W.preventDefault(),$p(H,null,ue,ce,Pp);else if("End"===U)W.preventDefault(),$p(H,null,ue,ce,jp);else if(1===U.length){const X=Qe.current,oe=U.toLowerCase(),ie=performance.now();X.keys.length>0&&(ie-X.lastTime>500?(X.keys=[],X.repeating=!0,X.previousKeyMatched=!0):X.repeating&&oe!==X.keys[0]&&(X.repeating=!1)),X.lastTime=ie,X.keys.push(oe);const ae=G&&!X.repeating&&Ap(G,X);X.previousKeyMatched&&(ae||$p(H,G,!1,ce,Pp,X))?W.preventDefault():X.previousKeyMatched=!1}de&&de(W)},tabIndex:X?0:-1},fe,{children:at}))});function Dp(W,H){var U,G;const{timeout:X,easing:oe,style:ie={}}=W;return{duration:null!=(U=ie.transitionDuration)?U:"number"==typeof X?X:X[H.mode]||0,easing:null!=(G=ie.transitionTimingFunction)?G:"object"==typeof oe?oe[H.mode]:oe,delay:ie.transitionDelay}}const lp=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function zp(W){return`scale(${W}, ${W**2})`}const cp={entering:{opacity:1,transform:zp(1)},entered:{opacity:1,transform:"none"}},dp="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),pp=ie.forwardRef(function(W,H){const{addEndListener:U,appear:X=!0,children:oe,easing:ae,in:le,onEnter:ce,onEntered:ue,onEntering:de,onExit:pe,onExited:fe,onExiting:ke,style:Qe,timeout:tt="auto",TransitionComponent:it=wl}=W,at=a(W,lp),st=ya(),ut=ie.useRef(),ht=Ka(),ft=ie.useRef(null),gt=fa(ft,oe.ref,H),C=W=>H=>{if(W){const U=ft.current;void 0===H?W(U):W(U,H)}},yt=C(de),vt=C((W,H)=>{const{duration:U,delay:G,easing:X}=Dp({style:Qe,timeout:tt,easing:ae},{mode:"enter"});let oe;"auto"===tt?(oe=ht.transitions.getAutoHeightDuration(W.clientHeight),ut.current=oe):oe=U,W.style.transition=[ht.transitions.create("opacity",{duration:oe,delay:G}),ht.transitions.create("transform",{duration:dp?oe:.666*oe,delay:G,easing:X})].join(","),ce&&ce(W,H)}),bt=C(ue),xt=C(ke),wt=C(W=>{const{duration:H,delay:U,easing:G}=Dp({style:Qe,timeout:tt,easing:ae},{mode:"exit"});let X;"auto"===tt?(X=ht.transitions.getAutoHeightDuration(W.clientHeight),ut.current=X):X=H,W.style.transition=[ht.transitions.create("opacity",{duration:X,delay:U}),ht.transitions.create("transform",{duration:dp?X:.666*X,delay:dp?U:U||.333*X,easing:G})].join(","),W.style.opacity=0,W.style.transform=zp(.75),pe&&pe(W)}),St=C(fe);return G.jsx(it,s({appear:X,in:le,nodeRef:ft,onEnter:vt,onEntered:bt,onEntering:yt,onExit:wt,onExited:St,onExiting:xt,addEndListener:W=>{"auto"===tt&&st.start(ut.current||0,W),U&&U(ft.current,W)},timeout:"auto"===tt?null:tt},at,{children:(W,H)=>ie.cloneElement(oe,s({style:s({opacity:0,transform:zp(.75),visibility:"exited"!==W||le?void 0:"hidden"},cp[W],Qe,oe.props.style),ref:gt},H))}))});function Up(W,H){H?W.setAttribute("aria-hidden","true"):W.removeAttribute("aria-hidden")}function Wp(W){return parseInt(aa(W).getComputedStyle(W).paddingRight,10)||0}function Hp(W,H,U,G,X){const oe=[H,U,...G];[].forEach.call(W.children,W=>{const H=-1===oe.indexOf(W),U=!function(W){const H=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(W.tagName),U="INPUT"===W.tagName&&"hidden"===W.getAttribute("type");return H||U}(W);H&&U&&Up(W,X)})}function Kp(W,H){let U=-1;return W.some((W,G)=>!!H(W)&&(U=G,!0)),U}pp.muiSupportAuto=!0;const hp=new class{add(W,H){let U=this.modals.indexOf(W);if(-1!==U)return U;U=this.modals.length,this.modals.push(W),W.modalRef&&Up(W.modalRef,!1);const G=function(W){const H=[];return[].forEach.call(W.children,W=>{"true"===W.getAttribute("aria-hidden")&&H.push(W)}),H}(H);Hp(H,W.mount,W.modalRef,G,!0);const X=Kp(this.containers,W=>W.container===H);return-1!==X?(this.containers[X].modals.push(W),U):(this.containers.push({modals:[W],container:H,restore:null,hiddenSiblings:G}),U)}mount(W,H){const U=Kp(this.containers,H=>-1!==H.modals.indexOf(W)),G=this.containers[U];G.restore||(G.restore=function(W,H){const U=[],G=W.container;if(!H.disableScrollLock){if(function(W){const H=ia(W);return H.body===W?aa(W).innerWidth>H.documentElement.clientWidth:W.scrollHeight>W.clientHeight}(G)){const W=Ca(ia(G));U.push({value:G.style.paddingRight,property:"padding-right",el:G}),G.style.paddingRight=`${Wp(G)+W}px`;const H=ia(G).querySelectorAll(".mui-fixed");[].forEach.call(H,H=>{U.push({value:H.style.paddingRight,property:"padding-right",el:H}),H.style.paddingRight=`${Wp(H)+W}px`})}let W;if(G.parentNode instanceof DocumentFragment)W=ia(G).body;else{const H=G.parentElement,U=aa(G);W="HTML"===(null==H?void 0:H.nodeName)&&"scroll"===U.getComputedStyle(H).overflowY?H:G}U.push({value:W.style.overflow,property:"overflow",el:W},{value:W.style.overflowX,property:"overflow-x",el:W},{value:W.style.overflowY,property:"overflow-y",el:W}),W.style.overflow="hidden"}return()=>{U.forEach(({value:W,el:H,property:U})=>{W?H.style.setProperty(U,W):H.style.removeProperty(U)})}}(G,H))}remove(W,H=!0){const U=this.modals.indexOf(W);if(-1===U)return U;const G=Kp(this.containers,H=>-1!==H.modals.indexOf(W)),X=this.containers[G];if(X.modals.splice(X.modals.indexOf(W),1),this.modals.splice(U,1),0===X.modals.length)X.restore&&X.restore(),W.modalRef&&Up(W.modalRef,H),Hp(X.container,W.mount,W.modalRef,X.hiddenSiblings,!1),this.containers.splice(G,1);else{const W=X.modals[X.modals.length-1];W.modalRef&&Up(W.modalRef,!1)}return U}isTopModal(W){return this.modals.length>0&&this.modals[this.modals.length-1]===W}constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}},fp=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Yp(W){const H=[],U=[];return Array.from(W.querySelectorAll(fp)).forEach((W,G)=>{const X=function(W){const H=parseInt(W.getAttribute("tabindex")||"",10);return Number.isNaN(H)?"true"===W.contentEditable||("AUDIO"===W.nodeName||"VIDEO"===W.nodeName||"DETAILS"===W.nodeName)&&null===W.getAttribute("tabindex")?0:W.tabIndex:H}(W);-1!==X&&function(W){return!(W.disabled||"INPUT"===W.tagName&&"hidden"===W.type||function(W){if("INPUT"!==W.tagName||"radio"!==W.type)return!1;if(!W.name)return!1;const t=H=>W.ownerDocument.querySelector(`input[type="radio"]${H}`);let H=t(`[name="${W.name}"]:checked`);return H||(H=t(`[name="${W.name}"]`)),H!==W}(W))}(W)&&(0===X?H.push(W):U.push({documentOrder:G,tabIndex:X,node:W}))}),U.sort((W,H)=>W.tabIndex===H.tabIndex?W.documentOrder-H.documentOrder:W.tabIndex-H.tabIndex).map(W=>W.node).concat(H)}function Qp(){return!0}function Zp(W){const{children:H,disableAutoFocus:U=!1,disableEnforceFocus:X=!1,disableRestoreFocus:oe=!1,getTabbable:ae=Yp,isEnabled:le=Qp,open:ce}=W,ue=ie.useRef(!1),de=ie.useRef(null),pe=ie.useRef(null),fe=ie.useRef(null),ke=ie.useRef(null),Qe=ie.useRef(!1),tt=ie.useRef(null),it=fa(H.ref,tt),at=ie.useRef(null);ie.useEffect(()=>{ce&&tt.current&&(Qe.current=!U)},[U,ce]),ie.useEffect(()=>{if(!ce||!tt.current)return;const W=ia(tt.current);return tt.current.contains(W.activeElement)||(tt.current.hasAttribute("tabIndex")||tt.current.setAttribute("tabIndex","-1"),Qe.current&&tt.current.focus()),()=>{oe||(fe.current&&fe.current.focus&&(ue.current=!0,fe.current.focus()),fe.current=null)}},[ce]),ie.useEffect(()=>{if(!ce||!tt.current)return;const W=ia(tt.current),t=H=>{at.current=H,!X&&le()&&"Tab"===H.key&&W.activeElement===tt.current&&H.shiftKey&&(ue.current=!0,pe.current&&pe.current.focus())},r=()=>{const H=tt.current;if(null===H)return;if(!W.hasFocus()||!le()||ue.current)return void(ue.current=!1);if(H.contains(W.activeElement))return;if(X&&W.activeElement!==de.current&&W.activeElement!==pe.current)return;if(W.activeElement!==ke.current)ke.current=null;else if(null!==ke.current)return;if(!Qe.current)return;let U=[];if(W.activeElement!==de.current&&W.activeElement!==pe.current||(U=ae(tt.current)),U.length>0){var G,oe;const W=Boolean((null==(G=at.current)?void 0:G.shiftKey)&&"Tab"===(null==(oe=at.current)?void 0:oe.key)),H=U[0],X=U[U.length-1];"string"!=typeof H&&"string"!=typeof X&&(W?X.focus():H.focus())}else H.focus()};W.addEventListener("focusin",r),W.addEventListener("keydown",t,!0);const H=setInterval(()=>{W.activeElement&&"BODY"===W.activeElement.tagName&&r()},50);return()=>{clearInterval(H),W.removeEventListener("focusin",r),W.removeEventListener("keydown",t,!0)}},[U,X,oe,le,ce,ae]);const v=W=>{null===fe.current&&(fe.current=W.relatedTarget),Qe.current=!0};return G.jsxs(ie.Fragment,{children:[G.jsx("div",{tabIndex:ce?0:-1,onFocus:v,ref:de,"data-testid":"sentinelStart"}),ie.cloneElement(H,{ref:it,onFocus:W=>{null===fe.current&&(fe.current=W.relatedTarget),Qe.current=!0,ke.current=W.target;const U=H.props.onFocus;U&&U(W)}}),G.jsx("div",{tabIndex:ce?0:-1,onFocus:v,ref:pe,"data-testid":"sentinelEnd"})]})}const gp=ie.forwardRef(function(W,H){const{children:U,container:X,disablePortal:oe=!1}=W,[le,ce]=ie.useState(null),ue=fa(ie.isValidElement(U)?U.ref:null,H);if(hs(()=>{oe||ce(function(W){return"function"==typeof W?W():W}(X)||document.body)},[X,oe]),hs(()=>{if(le&&!oe)return sa(H,le),()=>{sa(H,null)}},[H,le,oe]),oe){if(ie.isValidElement(U)){const W={ref:ue};return ie.cloneElement(U,W)}return G.jsx(ie.Fragment,{children:U})}return G.jsx(ie.Fragment,{children:le?ae.createPortal(U,le):le})}),vp=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],xp={entering:{opacity:1},entered:{opacity:1}},Ep=ie.forwardRef(function(W,H){const U=Ka(),X={enter:U.transitions.duration.enteringScreen,exit:U.transitions.duration.leavingScreen},{addEndListener:oe,appear:ae=!0,children:le,easing:ce,in:ue,onEnter:de,onEntered:pe,onEntering:fe,onExit:ke,onExited:Qe,onExiting:tt,style:it,timeout:at=X,TransitionComponent:st=wl}=W,ut=a(W,vp),ht=ie.useRef(null),ft=fa(ht,le.ref,H),O=W=>H=>{if(W){const U=ht.current;void 0===H?W(U):W(U,H)}},gt=O(fe),yt=O((W,H)=>{const G=Dp({style:it,timeout:at,easing:ce},{mode:"enter"});W.style.webkitTransition=U.transitions.create("opacity",G),W.style.transition=U.transitions.create("opacity",G),de&&de(W,H)}),vt=O(pe),bt=O(tt),xt=O(W=>{const H=Dp({style:it,timeout:at,easing:ce},{mode:"exit"});W.style.webkitTransition=U.transitions.create("opacity",H),W.style.transition=U.transitions.create("opacity",H),ke&&ke(W)}),wt=O(Qe);return G.jsx(st,s({appear:ae,in:ue,nodeRef:ht,onEnter:yt,onEntered:vt,onEntering:gt,onExit:xt,onExited:wt,onExiting:bt,addEndListener:W=>{oe&&oe(ht.current,W)},timeout:at},ut,{children:(W,H)=>ie.cloneElement(le,s({style:s({opacity:0,visibility:"exited"!==W||ue?void 0:"hidden"},xp[W],it,le.props.style),ref:ft},H))}))});function nd(W){return Oo("MuiBackdrop",W)}Ei("MuiBackdrop",["root","invisible"]);const Op=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Mp=os("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,U.invisible&&H.invisible]}})(({ownerState:W})=>s({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},W.invisible&&{backgroundColor:"transparent"})),Rp=ie.forwardRef(function(W,H){var U,X,oe;const ie=yi({props:W,name:"MuiBackdrop"}),{children:ae,className:le,component:ce="div",components:ue={},componentsProps:de={},invisible:pe=!1,open:fe,slotProps:ke={},slots:Qe={},TransitionComponent:tt=Ep,transitionDuration:it}=ie,at=a(ie,Op),st=s({},ie,{component:ce,invisible:pe}),ut=(W=>{const{classes:H,invisible:U}=W;return q({root:["root",U&&"invisible"]},nd,H)})(st),ht=null!=(U=ke.root)?U:de.root;return G.jsx(tt,s({in:fe,timeout:it},at,{children:G.jsx(Mp,s({"aria-hidden":!0},ht,{as:null!=(X=null!=(oe=Qe.root)?oe:ue.Root)?X:ce,className:V(ut.root,le,null==ht?void 0:ht.className),ownerState:s({},st,null==ht?void 0:ht.ownerState),classes:ut,ref:H,children:ae}))}))});function sd(W){return Oo("MuiModal",W)}Ei("MuiModal",["root","hidden","backdrop"]);const Ip=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Np=os("div",{name:"MuiModal",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,!U.open&&U.exited&&H.hidden]}})(({theme:W,ownerState:H})=>s({position:"fixed",zIndex:(W.vars||W).zIndex.modal,right:0,bottom:0,top:0,left:0},!H.open&&H.exited&&{visibility:"hidden"})),Lp=os(Rp,{name:"MuiModal",slot:"Backdrop",overridesResolver:(W,H)=>H.backdrop})({zIndex:-1}),Fp=ie.forwardRef(function(W,H){var U,X,oe,ae,le,ce;const ue=yi({name:"MuiModal",props:W}),{BackdropComponent:de=Lp,BackdropProps:pe,className:fe,closeAfterTransition:ke=!1,children:Qe,container:tt,component:it,components:at={},componentsProps:st={},disableAutoFocus:ut=!1,disableEnforceFocus:ht=!1,disableEscapeKeyDown:ft=!1,disablePortal:gt=!1,disableRestoreFocus:yt=!1,disableScrollLock:vt=!1,hideBackdrop:bt=!1,keepMounted:xt=!1,onBackdropClick:wt,open:St,slotProps:Ct,slots:It}=ue,Pt=a(ue,Ip),At=s({},ue,{closeAfterTransition:ke,disableAutoFocus:ut,disableEnforceFocus:ht,disableEscapeKeyDown:ft,disablePortal:gt,disableRestoreFocus:yt,disableScrollLock:vt,hideBackdrop:bt,keepMounted:xt}),{getRootProps:jt,getBackdropProps:Nt,getTransitionProps:Lt,portalRef:$t,isTopModal:Dt,exited:Ft,hasTransition:zt}=function(W){const{container:H,disableEscapeKeyDown:U=!1,disableScrollLock:G=!1,manager:X=hp,closeAfterTransition:oe=!1,onTransitionEnter:ae,onTransitionExited:le,children:ce,onClose:ue,open:de,rootRef:pe}=W,fe=ie.useRef({}),ke=ie.useRef(null),Qe=ie.useRef(null),tt=fa(Qe,pe),[it,at]=ie.useState(!de),st=function(W){return!!W&&W.props.hasOwnProperty("in")}(ce);let ut=!0;"false"!==W["aria-hidden"]&&!1!==W["aria-hidden"]||(ut=!1);const w=()=>(fe.current.modalRef=Qe.current,fe.current.mount=ke.current,fe.current),S=()=>{X.mount(w(),{disableScrollLock:G}),Qe.current&&(Qe.current.scrollTop=0)},ht=da(()=>{const W=function(W){return"function"==typeof W?W():W}(H)||ia(ke.current).body;X.add(w(),W),Qe.current&&S()}),ft=ie.useCallback(()=>X.isTopModal(w()),[X]),gt=da(W=>{ke.current=W,W&&(de&&ft()?S():Qe.current&&Up(Qe.current,ut))}),yt=ie.useCallback(()=>{X.remove(w(),ut)},[ut,X]);ie.useEffect(()=>()=>{yt()},[yt]),ie.useEffect(()=>{de?ht():st&&oe||yt()},[de,yt,st,oe,ht]);const T=W=>H=>{var G;null==(G=W.onKeyDown)||G.call(W,H),"Escape"===H.key&&229!==H.which&&ft()&&(U||(H.stopPropagation(),ue&&ue(H,"escapeKeyDown")))},M=W=>H=>{var U;null==(U=W.onClick)||U.call(W,H),H.target===H.currentTarget&&ue&&ue(H,"backdropClick")};return{getRootProps:(H={})=>{const U=_p(W);delete U.onTransitionEnter,delete U.onTransitionExited;const G=s({},U,H);return s({role:"presentation"},G,{onKeyDown:T(G),ref:tt})},getBackdropProps:(W={})=>s({"aria-hidden":!0},W,{onClick:M(W),open:de}),getTransitionProps:()=>({onEnter:ra(()=>{at(!1),ae&&ae()},null==ce?void 0:ce.props.onEnter),onExited:ra(()=>{at(!0),le&&le(),oe&&yt()},null==ce?void 0:ce.props.onExited)}),rootRef:tt,portalRef:gt,isTopModal:ft,exited:it,hasTransition:st}}(s({},At,{rootRef:H})),Bt=s({},At,{exited:Ft}),Yt=(W=>{const{open:H,exited:U,classes:G}=W;return q({root:["root",!H&&U&&"hidden"],backdrop:["backdrop"]},sd,G)})(Bt),Zt={};if(void 0===Qe.props.tabIndex&&(Zt.tabIndex="-1"),zt){const{onEnter:W,onExited:H}=Lt();Zt.onEnter=W,Zt.onExited=H}const Jt=null!=(U=null!=(X=null==It?void 0:It.root)?X:at.Root)?U:Np,Qt=null!=(oe=null!=(ae=null==It?void 0:It.backdrop)?ae:at.Backdrop)?oe:de,er=null!=(le=null==Ct?void 0:Ct.root)?le:st.root,tr=null!=(ce=null==Ct?void 0:Ct.backdrop)?ce:st.backdrop,Or=Cp({elementType:Jt,externalSlotProps:er,externalForwardedProps:Pt,getSlotProps:jt,additionalProps:{ref:H,as:it},ownerState:Bt,className:V(fe,null==er?void 0:er.className,null==Yt?void 0:Yt.root,!Bt.open&&Bt.exited&&(null==Yt?void 0:Yt.hidden))}),Mr=Cp({elementType:Qt,externalSlotProps:tr,additionalProps:pe,getSlotProps:W=>Nt(s({},W,{onClick:H=>{wt&&wt(H),null!=W&&W.onClick&&W.onClick(H)}})),className:V(null==tr?void 0:tr.className,null==pe?void 0:pe.className,null==Yt?void 0:Yt.backdrop),ownerState:Bt});return xt||St||zt&&!Ft?G.jsx(gp,{ref:$t,container:tt,disablePortal:gt,children:G.jsxs(Jt,s({},Or,{children:[!bt&&de?G.jsx(Qt,s({},Mr)):null,G.jsx(Zp,{disableEnforceFocus:ht,disableAutoFocus:ut,disableRestoreFocus:yt,isEnabled:Dt,open:St,children:ie.cloneElement(Qe,Zt)})]}))}):null});function dd(W){return Oo("MuiPopover",W)}Ei("MuiPopover",["root","paper"]);const Bp=["onEntering"],Vp=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],qp=["slotProps"];function gd(W,H){let U=0;return"number"==typeof H?U=H:"center"===H?U=W.height/2:"bottom"===H&&(U=W.height),U}function yd(W,H){let U=0;return"number"==typeof H?U=H:"center"===H?U=W.width/2:"right"===H&&(U=W.width),U}function bd(W){return[W.horizontal,W.vertical].map(W=>"number"==typeof W?`${W}px`:W).join(" ")}function vd(W){return"function"==typeof W?W():W}const Gp=os(Fp,{name:"MuiPopover",slot:"Root",overridesResolver:(W,H)=>H.root})({}),Xp=os(Vs,{name:"MuiPopover",slot:"Paper",overridesResolver:(W,H)=>H.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Jp=ie.forwardRef(function(W,H){var U,X,oe;const ae=yi({props:W,name:"MuiPopover"}),{action:le,anchorEl:ce,anchorOrigin:ue={vertical:"top",horizontal:"left"},anchorPosition:de,anchorReference:pe="anchorEl",children:fe,className:ke,container:Qe,elevation:tt=8,marginThreshold:it=16,open:at,PaperProps:st={},slots:ut,slotProps:ht,transformOrigin:ft={vertical:"top",horizontal:"left"},TransitionComponent:gt=pp,transitionDuration:yt="auto",TransitionProps:{onEntering:vt}={},disableScrollLock:bt=!1}=ae,xt=a(ae.TransitionProps,Bp),wt=a(ae,Vp),St=null!=(U=null==ht?void 0:ht.paper)?U:st,Ct=ie.useRef(),It=fa(Ct,St.ref),Pt=s({},ae,{anchorOrigin:ue,anchorReference:pe,elevation:tt,marginThreshold:it,externalPaperSlotProps:St,transformOrigin:ft,TransitionComponent:gt,transitionDuration:yt,TransitionProps:xt}),At=(W=>{const{classes:H}=W;return q({root:["root"],paper:["paper"]},dd,H)})(Pt),jt=ie.useCallback(()=>{if("anchorPosition"===pe)return de;const W=vd(ce),H=(W&&1===W.nodeType?W:ia(Ct.current).body).getBoundingClientRect();return{top:H.top+gd(H,ue.vertical),left:H.left+yd(H,ue.horizontal)}},[ce,ue.horizontal,ue.vertical,de,pe]),Nt=ie.useCallback(W=>({vertical:gd(W,ft.vertical),horizontal:yd(W,ft.horizontal)}),[ft.horizontal,ft.vertical]),Lt=ie.useCallback(W=>{const H={width:W.offsetWidth,height:W.offsetHeight},U=Nt(H);if("none"===pe)return{top:null,left:null,transformOrigin:bd(U)};const G=jt();let X=G.top-U.vertical,oe=G.left-U.horizontal;const ie=X+H.height,ae=oe+H.width,le=aa(vd(ce)),ue=le.innerHeight-it,de=le.innerWidth-it;if(null!==it&&X<it){const W=X-it;X-=W,U.vertical+=W}else if(null!==it&&ie>ue){const W=ie-ue;X-=W,U.vertical+=W}if(null!==it&&oe<it){const W=oe-it;oe-=W,U.horizontal+=W}else if(ae>de){const W=ae-de;oe-=W,U.horizontal+=W}return{top:`${Math.round(X)}px`,left:`${Math.round(oe)}px`,transformOrigin:bd(U)}},[ce,pe,jt,Nt,it]),[$t,Dt]=ie.useState(at),Ft=ie.useCallback(()=>{const W=Ct.current;if(!W)return;const H=Lt(W);null!==H.top&&(W.style.top=H.top),null!==H.left&&(W.style.left=H.left),W.style.transformOrigin=H.transformOrigin,Dt(!0)},[Lt]);ie.useEffect(()=>(bt&&window.addEventListener("scroll",Ft),()=>window.removeEventListener("scroll",Ft)),[ce,bt,Ft]),ie.useEffect(()=>{at&&Ft()}),ie.useImperativeHandle(le,()=>at?{updatePosition:()=>{Ft()}}:null,[at,Ft]),ie.useEffect(()=>{if(!at)return;const W=na(()=>{Ft()}),H=aa(ce);return H.addEventListener("resize",W),()=>{W.clear(),H.removeEventListener("resize",W)}},[ce,at,Ft]);let zt=yt;"auto"!==yt||gt.muiSupportAuto||(zt=void 0);const Bt=Qe||(ce?ia(vd(ce)).body:void 0),Yt=null!=(X=null==ut?void 0:ut.root)?X:Gp,Zt=null!=(oe=null==ut?void 0:ut.paper)?oe:Xp,Jt=Cp({elementType:Zt,externalSlotProps:s({},St,{style:$t?St.style:s({},St.style,{opacity:0})}),additionalProps:{elevation:tt,ref:It},ownerState:Pt,className:V(At.paper,null==St?void 0:St.className)}),Qt=Cp({elementType:Yt,externalSlotProps:(null==ht?void 0:ht.root)||{},externalForwardedProps:wt,additionalProps:{ref:H,slotProps:{backdrop:{invisible:!0}},container:Bt,open:at},ownerState:Pt,className:V(At.root,ke)}),{slotProps:er}=Qt,tr=a(Qt,qp);return G.jsx(Yt,s({},tr,!yp(Yt)&&{slotProps:er,disableScrollLock:bt},{children:G.jsx(gt,s({appear:!0,in:at,onEntering:(W,H)=>{vt&&vt(W,H),Ft()},onExited:()=>{Dt(!1)},timeout:zt},xt,{children:G.jsx(Zt,s({},Jt,{children:fe}))}))}))});function Sd(W){return Oo("MuiMenu",W)}Ei("MuiMenu",["root","paper","list"]);const fh=["onEntering"],gh=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],yh={vertical:"top",horizontal:"right"},vh={vertical:"top",horizontal:"left"},bh=os(Jp,{shouldForwardProp:W=>ci(W)||"classes"===W,name:"MuiMenu",slot:"Root",overridesResolver:(W,H)=>H.root})({}),_h=os(Xp,{name:"MuiMenu",slot:"Paper",overridesResolver:(W,H)=>H.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Sh=os(sp,{name:"MuiMenu",slot:"List",overridesResolver:(W,H)=>H.list})({outline:0}),kh=ie.forwardRef(function(W,H){var U,X;const oe=yi({props:W,name:"MuiMenu"}),{autoFocus:ae=!0,children:le,className:ce,disableAutoFocusItem:ue=!1,MenuListProps:de={},onClose:pe,open:fe,PaperProps:ke={},PopoverClasses:Qe,transitionDuration:tt="auto",TransitionProps:{onEntering:it}={},variant:at="selectedMenu",slots:st={},slotProps:ut={}}=oe,ht=a(oe.TransitionProps,fh),ft=a(oe,gh),gt=Aa(),yt=s({},oe,{autoFocus:ae,disableAutoFocusItem:ue,MenuListProps:de,onEntering:it,PaperProps:ke,transitionDuration:tt,TransitionProps:ht,variant:at}),vt=(W=>{const{classes:H}=W;return q({root:["root"],paper:["paper"],list:["list"]},Sd,H)})(yt),bt=ae&&!ue&&fe,xt=ie.useRef(null);let wt=-1;ie.Children.map(le,(W,H)=>{ie.isValidElement(W)&&(W.props.disabled||("selectedMenu"===at&&W.props.selected||-1===wt)&&(wt=H))});const St=null!=(U=st.paper)?U:_h,Ct=null!=(X=ut.paper)?X:ke,It=Cp({elementType:st.root,externalSlotProps:ut.root,ownerState:yt,className:[vt.root,ce]}),Pt=Cp({elementType:St,externalSlotProps:Ct,ownerState:yt,className:vt.paper});return G.jsx(bh,s({onClose:pe,anchorOrigin:{vertical:"bottom",horizontal:gt?"right":"left"},transformOrigin:gt?yh:vh,slots:{paper:St,root:st.root},slotProps:{root:It,paper:Pt},open:fe,ref:H,transitionDuration:tt,TransitionProps:s({onEntering:(W,H)=>{xt.current&&xt.current.adjustStyleForScrollbar(W,{direction:gt?"rtl":"ltr"}),it&&it(W,H)}},ht),ownerState:yt},ft,{classes:Qe,children:G.jsx(Sh,s({onKeyDown:W=>{"Tab"===W.key&&(W.preventDefault(),pe&&pe(W,"tabKeyDown"))},actions:xt,autoFocus:ae&&(-1===wt||ue),autoFocusItem:bt,variant:at},de,{className:V(vt.list,de.className),children:le}))}))});var Ch=X.forwardRef((W,H)=>{const{direction:U}=Ka(),G={...W};return"rtl"===U&&(G.anchorOrigin?.horizontal&&(G.anchorOrigin={...G.anchorOrigin,horizontal:"left"===G.anchorOrigin.horizontal?"right":"left"}),G.transformOrigin?.horizontal&&(G.transformOrigin={...G.transformOrigin,horizontal:"left"===G.transformOrigin.horizontal?"right":"left"})),X.createElement(Jp,{...G,ref:H})});const Oh={elevation:6},Ih=X.forwardRef((W,H)=>X.createElement(kh,{as:Ch,...Oh,...W,ref:H}));Ih.defaultProps=Oh;var Th=Ih;function $d(W){return Oo("MuiListItemIcon",W)}const jh=Ei("MuiListItemIcon",["root","alignItemsFlexStart"]),Lh=["className"],$h=os("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,"flex-start"===U.alignItems&&H.alignItemsFlexStart]}})(({theme:W,ownerState:H})=>s({minWidth:56,color:(W.vars||W).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===H.alignItems&&{marginTop:8})),Fh=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiListItemIcon"}),{className:X}=U,oe=a(U,Lh),ae=s({},U,{alignItems:ie.useContext(Qd).alignItems}),le=(W=>{const{alignItems:H,classes:U}=W;return q({root:["root","flex-start"===H&&"alignItemsFlexStart"]},$d,U)})(ae);return G.jsx($h,s({className:V(le.root,X),ownerState:ae,ref:H},oe))});function Bd(W){return Oo("MuiListItemText",W)}const Bh=Ei("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Vh=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],qh=os("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[{[`& .${Bh.primary}`]:H.primary},{[`& .${Bh.secondary}`]:H.secondary},H.root,U.inset&&H.inset,U.primary&&U.secondary&&H.multiline,U.dense&&H.dense]}})(({ownerState:W})=>s({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},W.primary&&W.secondary&&{marginTop:6,marginBottom:6},W.inset&&{paddingLeft:56})),Wh=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiListItemText"}),{children:X,className:oe,disableTypography:ae=!1,inset:le=!1,primary:ce,primaryTypographyProps:ue,secondary:de,secondaryTypographyProps:pe}=U,fe=a(U,Vh),{dense:ke}=ie.useContext(Qd);let Qe=null!=ce?ce:X,tt=de;const it=s({},U,{disableTypography:ae,inset:le,primary:!!Qe,secondary:!!tt,dense:ke}),at=(W=>{const{classes:H,inset:U,primary:G,secondary:X,dense:oe}=W;return q({root:["root",U&&"inset",oe&&"dense",G&&X&&"multiline"],primary:["primary"],secondary:["secondary"]},Bd,H)})(it);return null==Qe||Qe.type===ll||ae||(Qe=G.jsx(ll,s({variant:ke?"body2":"body1",className:at.primary,component:null!=ue&&ue.variant?void 0:"span",display:"block"},ue,{children:Qe}))),null==tt||tt.type===ll||ae||(tt=G.jsx(ll,s({variant:"body2",className:at.secondary,color:"text.secondary",display:"block"},pe,{children:tt}))),G.jsxs(qh,s({className:V(at.root,oe),ownerState:it,ref:H},fe,{children:[Qe,tt]}))});function Hd(W){return Oo("MuiMenuItem",W)}const Hh=Ei("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Uh=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Kh=os(Bl,{shouldForwardProp:W=>ci(W)||"classes"===W,name:"MuiMenuItem",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,U.dense&&H.dense,U.divider&&H.divider,!U.disableGutters&&H.gutters]}})(({theme:W,ownerState:H})=>s({},W.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!H.disableGutters&&{paddingLeft:16,paddingRight:16},H.divider&&{borderBottom:`1px solid ${(W.vars||W).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(W.vars||W).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Hh.selected}`]:{backgroundColor:W.vars?`rgba(${W.vars.palette.primary.mainChannel} / ${W.vars.palette.action.selectedOpacity})`:oi.alpha(W.palette.primary.main,W.palette.action.selectedOpacity),[`&.${Hh.focusVisible}`]:{backgroundColor:W.vars?`rgba(${W.vars.palette.primary.mainChannel} / calc(${W.vars.palette.action.selectedOpacity} + ${W.vars.palette.action.focusOpacity}))`:oi.alpha(W.palette.primary.main,W.palette.action.selectedOpacity+W.palette.action.focusOpacity)}},[`&.${Hh.selected}:hover`]:{backgroundColor:W.vars?`rgba(${W.vars.palette.primary.mainChannel} / calc(${W.vars.palette.action.selectedOpacity} + ${W.vars.palette.action.hoverOpacity}))`:oi.alpha(W.palette.primary.main,W.palette.action.selectedOpacity+W.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:W.vars?`rgba(${W.vars.palette.primary.mainChannel} / ${W.vars.palette.action.selectedOpacity})`:oi.alpha(W.palette.primary.main,W.palette.action.selectedOpacity)}},[`&.${Hh.focusVisible}`]:{backgroundColor:(W.vars||W).palette.action.focus},[`&.${Hh.disabled}`]:{opacity:(W.vars||W).palette.action.disabledOpacity},[`& + .${ju.root}`]:{marginTop:W.spacing(1),marginBottom:W.spacing(1)},[`& + .${ju.inset}`]:{marginLeft:52},[`& .${Bh.root}`]:{marginTop:0,marginBottom:0},[`& .${Bh.inset}`]:{paddingLeft:36},[`& .${jh.root}`]:{minWidth:36}},!H.dense&&{[W.breakpoints.up("sm")]:{minHeight:"auto"}},H.dense&&s({minHeight:32,paddingTop:4,paddingBottom:4},W.typography.body2,{[`& .${jh.root} svg`]:{fontSize:"1.25rem"}}))),Gh=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiMenuItem"}),{autoFocus:X=!1,component:oe="li",dense:ae=!1,divider:le=!1,disableGutters:ce=!1,focusVisibleClassName:ue,role:de="menuitem",tabIndex:pe,className:fe}=U,ke=a(U,Uh),Qe=ie.useContext(Qd),tt=ie.useMemo(()=>({dense:ae||Qe.dense||!1,disableGutters:ce}),[Qe.dense,ae,ce]),it=ie.useRef(null);hs(()=>{X&&it.current&&it.current.focus()},[X]);const at=s({},U,{dense:tt.dense,divider:le,disableGutters:ce}),st=(W=>{const{disabled:H,dense:U,divider:G,disableGutters:X,selected:oe,classes:ie}=W;return s({},ie,q({root:["root",U&&"dense",H&&"disabled",!X&&"gutters",G&&"divider",oe&&"selected"]},Hd,ie))})(U),ut=fa(it,H);let ht;return U.disabled||(ht=void 0!==pe?pe:-1),G.jsx(Qd.Provider,{value:tt,children:G.jsx(Kh,s({ref:ut,role:de,tabIndex:ht,component:oe,focusVisibleClassName:V(st.focusVisible,ue),className:V(st.root,fe)},ke,{ownerState:at,classes:st}))})});var Yh=X.forwardRef((W,H)=>X.createElement(Gh,{...W,ref:H})),ef=X.forwardRef((W,H)=>X.createElement(Fh,{...W,ref:H})),tf=X.forwardRef((W,H)=>X.createElement(Wh,{...W,ref:H})),nf=ie.forwardRef((W,H)=>ie.createElement(Ru,{viewBox:"0 0 24 24",...W,ref:H},ie.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4C14 3.58579 14.3358 3.25 14.75 3.25H19.75C20.1642 3.25 20.5 3.58579 20.5 4V9C20.5 9.41421 20.1642 9.75 19.75 9.75C19.3358 9.75 19 9.41421 19 9V5.81066L10.2803 14.5303C9.98744 14.8232 9.51256 14.8232 9.21967 14.5303C8.92678 14.2374 8.92678 13.7626 9.21967 13.4697L17.9393 4.75H14.75C14.3358 4.75 14 4.41421 14 4ZM3.80546 7.05546C4.32118 6.53973 5.02065 6.25 5.75 6.25H10.75C11.1642 6.25 11.5 6.58579 11.5 7C11.5 7.41421 11.1642 7.75 10.75 7.75H5.75C5.41848 7.75 5.10054 7.8817 4.86612 8.11612C4.6317 8.35054 4.5 8.66848 4.5 9V18C4.5 18.3315 4.6317 18.6495 4.86612 18.8839C5.10054 19.1183 5.41848 19.25 5.75 19.25H14.75C15.0815 19.25 15.3995 19.1183 15.6339 18.8839C15.8683 18.6495 16 18.3315 16 18V13C16 12.5858 16.3358 12.25 16.75 12.25C17.1642 12.25 17.5 12.5858 17.5 13V18C17.5 18.7293 17.2103 19.4288 16.6945 19.9445C16.1788 20.4603 15.4793 20.75 14.75 20.75H5.75C5.02065 20.75 4.32118 20.4603 3.80546 19.9445C3.28973 19.4288 3 18.7293 3 18V9C3 8.27065 3.28973 7.57118 3.80546 7.05546Z"})));const lf={type:"logger",log(W){this.output("log",W)},warn(W){this.output("warn",W)},error(W){this.output("error",W)},output(W,H){console&&console[W]&&console[W].apply(console,H)}};class rf{init(W){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=H.prefix||"i18next:",this.logger=W||lf,this.options=H,this.debug=H.debug}log(){for(var W=arguments.length,H=new Array(W),U=0;U<W;U++)H[U]=arguments[U];return this.forward(H,"log","",!0)}warn(){for(var W=arguments.length,H=new Array(W),U=0;U<W;U++)H[U]=arguments[U];return this.forward(H,"warn","",!0)}error(){for(var W=arguments.length,H=new Array(W),U=0;U<W;U++)H[U]=arguments[U];return this.forward(H,"error","")}deprecate(){for(var W=arguments.length,H=new Array(W),U=0;U<W;U++)H[U]=arguments[U];return this.forward(H,"warn","WARNING DEPRECATED: ",!0)}forward(W,H,U,G){return G&&!this.debug?null:("string"==typeof W[0]&&(W[0]=`${U}${this.prefix} ${W[0]}`),this.logger[H](W))}create(W){return new rf(this.logger,{prefix:`${this.prefix}:${W}:`,...this.options})}clone(W){return(W=W||this.options).prefix=W.prefix||this.prefix,new rf(this.logger,W)}constructor(W){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(W,H)}}var gf=new rf;class of{on(W,H){return W.split(" ").forEach(W=>{this.observers[W]||(this.observers[W]=new Map);const U=this.observers[W].get(H)||0;this.observers[W].set(H,U+1)}),this}off(W,H){this.observers[W]&&(H?this.observers[W].delete(H):delete this.observers[W])}emit(W){for(var H=arguments.length,U=new Array(H>1?H-1:0),G=1;G<H;G++)U[G-1]=arguments[G];this.observers[W]&&Array.from(this.observers[W].entries()).forEach(W=>{let[H,G]=W;for(let W=0;W<G;W++)H(...U)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(H=>{let[G,X]=H;for(let H=0;H<X;H++)G.apply(G,[W,...U])})}constructor(){this.observers={}}}const af=()=>{let W,H;const U=new Promise((U,G)=>{W=U,H=G});return U.resolve=W,U.reject=H,U},sf=W=>null==W?"":""+W,vf=/###/g,cf=W=>W&&W.indexOf("###")>-1?W.replace(vf,"."):W,uf=W=>!W||"string"==typeof W,pf=(W,H,U)=>{const G="string"!=typeof H?H:H.split(".");let X=0;for(;X<G.length-1;){if(uf(W))return{};const H=cf(G[X]);!W[H]&&U&&(W[H]=new U),W=Object.prototype.hasOwnProperty.call(W,H)?W[H]:{},++X}return uf(W)?{}:{obj:W,k:cf(G[X])}},df=(W,H,U)=>{const{obj:G,k:X}=pf(W,H,Object);if(void 0!==G||1===H.length)return void(G[X]=U);let oe=H[H.length-1],ie=H.slice(0,H.length-1),ae=pf(W,ie,Object);for(;void 0===ae.obj&&ie.length;)oe=`${ie[ie.length-1]}.${oe}`,ie=ie.slice(0,ie.length-1),ae=pf(W,ie,Object),ae&&ae.obj&&void 0!==ae.obj[`${ae.k}.${oe}`]&&(ae.obj=void 0);ae.obj[`${ae.k}.${oe}`]=U},ff=(W,H)=>{const{obj:U,k:G}=pf(W,H);if(U)return U[G]},hf=(W,H,U)=>{for(const G in H)"__proto__"!==G&&"constructor"!==G&&(G in W?"string"==typeof W[G]||W[G]instanceof String||"string"==typeof H[G]||H[G]instanceof String?U&&(W[G]=H[G]):hf(W[G],H[G],U):W[G]=H[G]);return W},mf=W=>W.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var bf={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const yf=W=>"string"==typeof W?W.replace(/[&<>"'\/]/g,W=>bf[W]):W,Sf=[" ",",","?","!",";"],kf=new class{getRegExp(W){const H=this.regExpMap.get(W);if(void 0!==H)return H;const U=new RegExp(W);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(W,U),this.regExpQueue.push(W),U}constructor(W){this.capacity=W,this.regExpMap=new Map,this.regExpQueue=[]}}(20),xf=function(W,H){let U=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!W)return;if(W[H])return W[H];const G=H.split(U);let X=W;for(let W=0;W<G.length;){if(!X||"object"!=typeof X)return;let H,oe="";for(let ie=W;ie<G.length;++ie)if(ie!==W&&(oe+=U),oe+=G[ie],H=X[oe],void 0!==H){if(["string","number","boolean"].indexOf(typeof H)>-1&&ie<G.length-1)continue;W+=ie-W+1;break}X=H}return X},_f=W=>W&&W.indexOf("_")>0?W.replace("_","-"):W;class wf extends of{addNamespaces(W){this.options.ns.indexOf(W)<0&&this.options.ns.push(W)}removeNamespaces(W){const H=this.options.ns.indexOf(W);H>-1&&this.options.ns.splice(H,1)}getResource(W,H,U){let G=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const X=void 0!==G.keySeparator?G.keySeparator:this.options.keySeparator,oe=void 0!==G.ignoreJSONStructure?G.ignoreJSONStructure:this.options.ignoreJSONStructure;let ie;W.indexOf(".")>-1?ie=W.split("."):(ie=[W,H],U&&(Array.isArray(U)?ie.push(...U):"string"==typeof U&&X?ie.push(...U.split(X)):ie.push(U)));const ae=ff(this.data,ie);return!ae&&!H&&!U&&W.indexOf(".")>-1&&(W=ie[0],H=ie[1],U=ie.slice(2).join(".")),ae||!oe||"string"!=typeof U?ae:xf(this.data&&this.data[W]&&this.data[W][H],U,X)}addResource(W,H,U,G){let X=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const oe=void 0!==X.keySeparator?X.keySeparator:this.options.keySeparator;let ie=[W,H];U&&(ie=ie.concat(oe?U.split(oe):U)),W.indexOf(".")>-1&&(ie=W.split("."),G=H,H=ie[1]),this.addNamespaces(H),df(this.data,ie,G),X.silent||this.emit("added",W,H,U,G)}addResources(W,H,U){let G=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const G in U)("string"==typeof U[G]||Array.isArray(U[G]))&&this.addResource(W,H,G,U[G],{silent:!0});G.silent||this.emit("added",W,H,U)}addResourceBundle(W,H,U,G,X){let oe=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},ie=[W,H];W.indexOf(".")>-1&&(ie=W.split("."),G=U,U=H,H=ie[1]),this.addNamespaces(H);let ae=ff(this.data,ie)||{};oe.skipCopy||(U=JSON.parse(JSON.stringify(U))),G?hf(ae,U,X):ae={...ae,...U},df(this.data,ie,ae),oe.silent||this.emit("added",W,H,U)}removeResourceBundle(W,H){this.hasResourceBundle(W,H)&&delete this.data[W][H],this.removeNamespaces(H),this.emit("removed",W,H)}hasResourceBundle(W,H){return void 0!==this.getResource(W,H)}getResourceBundle(W,H){return H||(H=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(W,H)}:this.getResource(W,H)}getDataByLanguage(W){return this.data[W]}hasLanguageSomeTranslations(W){const H=this.getDataByLanguage(W);return!!(H&&Object.keys(H)||[]).find(W=>H[W]&&Object.keys(H[W]).length>0)}toJSON(){return this.data}constructor(W){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=W||{},this.options=H,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}}var Mf={processors:{},addPostProcessor(W){this.processors[W.name]=W},handle(W,H,U,G,X){return W.forEach(W=>{this.processors[W]&&(H=this.processors[W].process(H,U,G,X))}),H}};const Rf={};class Of extends of{changeLanguage(W){W&&(this.language=W)}exists(W){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==W)return!1;const U=this.resolve(W,H);return U&&void 0!==U.res}extractFromKey(W,H){let U=void 0!==H.nsSeparator?H.nsSeparator:this.options.nsSeparator;void 0===U&&(U=":");const G=void 0!==H.keySeparator?H.keySeparator:this.options.keySeparator;let X=H.ns||this.options.defaultNS||[];const oe=U&&W.indexOf(U)>-1,ie=!(this.options.userDefinedKeySeparator||H.keySeparator||this.options.userDefinedNsSeparator||H.nsSeparator||((W,H,U)=>{H=H||"",U=U||"";const G=Sf.filter(W=>H.indexOf(W)<0&&U.indexOf(W)<0);if(0===G.length)return!0;const X=kf.getRegExp(`(${G.map(W=>"?"===W?"\\?":W).join("|")})`);let oe=!X.test(W);if(!oe){const H=W.indexOf(U);H>0&&!X.test(W.substring(0,H))&&(oe=!0)}return oe})(W,U,G));if(oe&&!ie){const H=W.match(this.interpolator.nestingRegexp);if(H&&H.length>0)return{key:W,namespaces:X};const oe=W.split(U);(U!==G||U===G&&this.options.ns.indexOf(oe[0])>-1)&&(X=oe.shift()),W=oe.join(G)}return"string"==typeof X&&(X=[X]),{key:W,namespaces:X}}translate(W,H,U){if("object"!=typeof H&&this.options.overloadTranslationOptionHandler&&(H=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof H&&(H={...H}),H||(H={}),null==W)return"";Array.isArray(W)||(W=[String(W)]);const G=void 0!==H.returnDetails?H.returnDetails:this.options.returnDetails,X=void 0!==H.keySeparator?H.keySeparator:this.options.keySeparator,{key:oe,namespaces:ie}=this.extractFromKey(W[W.length-1],H),ae=ie[ie.length-1],le=H.lng||this.language,ce=H.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(le&&"cimode"===le.toLowerCase()){if(ce){const W=H.nsSeparator||this.options.nsSeparator;return G?{res:`${ae}${W}${oe}`,usedKey:oe,exactUsedKey:oe,usedLng:le,usedNS:ae,usedParams:this.getUsedParamsDetails(H)}:`${ae}${W}${oe}`}return G?{res:oe,usedKey:oe,exactUsedKey:oe,usedLng:le,usedNS:ae,usedParams:this.getUsedParamsDetails(H)}:oe}const ue=this.resolve(W,H);let de=ue&&ue.res;const pe=ue&&ue.usedKey||oe,fe=ue&&ue.exactUsedKey||oe,ke=Object.prototype.toString.apply(de),Qe=void 0!==H.joinArrays?H.joinArrays:this.options.joinArrays,tt=!this.i18nFormat||this.i18nFormat.handleAsObject;if(tt&&de&&"string"!=typeof de&&"boolean"!=typeof de&&"number"!=typeof de&&["[object Number]","[object Function]","[object RegExp]"].indexOf(ke)<0&&("string"!=typeof Qe||!Array.isArray(de))){if(!H.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const W=this.options.returnedObjectHandler?this.options.returnedObjectHandler(pe,de,{...H,ns:ie}):`key '${oe} (${this.language})' returned an object instead of string.`;return G?(ue.res=W,ue.usedParams=this.getUsedParamsDetails(H),ue):W}if(X){const W=Array.isArray(de),U=W?[]:{},G=W?fe:pe;for(const W in de)if(Object.prototype.hasOwnProperty.call(de,W)){const oe=`${G}${X}${W}`;U[W]=this.translate(oe,{...H,joinArrays:!1,ns:ie}),U[W]===oe&&(U[W]=de[W])}de=U}}else if(tt&&"string"==typeof Qe&&Array.isArray(de))de=de.join(Qe),de&&(de=this.extendTranslation(de,W,H,U));else{let G=!1,ie=!1;const ce=void 0!==H.count&&"string"!=typeof H.count,pe=Of.hasDefaultValue(H),fe=ce?this.pluralResolver.getSuffix(le,H.count,H):"",ke=H.ordinal&&ce?this.pluralResolver.getSuffix(le,H.count,{ordinal:!1}):"",Qe=ce&&!H.ordinal&&0===H.count&&this.pluralResolver.shouldUseIntlApi(),tt=Qe&&H[`defaultValue${this.options.pluralSeparator}zero`]||H[`defaultValue${fe}`]||H[`defaultValue${ke}`]||H.defaultValue;!this.isValidLookup(de)&&pe&&(G=!0,de=tt),this.isValidLookup(de)||(ie=!0,de=oe);const it=(H.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&ie?void 0:de,at=pe&&tt!==de&&this.options.updateMissing;if(ie||G||at){if(this.logger.log(at?"updateKey":"missingKey",le,ae,oe,at?tt:de),X){const W=this.resolve(oe,{...H,keySeparator:!1});W&&W.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let W=[];const U=this.languageUtils.getFallbackCodes(this.options.fallbackLng,H.lng||this.language);if("fallback"===this.options.saveMissingTo&&U&&U[0])for(let H=0;H<U.length;H++)W.push(U[H]);else"all"===this.options.saveMissingTo?W=this.languageUtils.toResolveHierarchy(H.lng||this.language):W.push(H.lng||this.language);const n=(W,U,G)=>{const X=pe&&G!==de?G:it;this.options.missingKeyHandler?this.options.missingKeyHandler(W,ae,U,X,at,H):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(W,ae,U,X,at,H),this.emit("missingKey",W,ae,U,de)};this.options.saveMissing&&(this.options.saveMissingPlurals&&ce?W.forEach(W=>{const U=this.pluralResolver.getSuffixes(W,H);Qe&&H[`defaultValue${this.options.pluralSeparator}zero`]&&U.indexOf(`${this.options.pluralSeparator}zero`)<0&&U.push(`${this.options.pluralSeparator}zero`),U.forEach(U=>{n([W],oe+U,H[`defaultValue${U}`]||tt)})}):n(W,oe,tt))}de=this.extendTranslation(de,W,H,ue,U),ie&&de===oe&&this.options.appendNamespaceToMissingKey&&(de=`${ae}:${oe}`),(ie||G)&&this.options.parseMissingKeyHandler&&(de="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${ae}:${oe}`:oe,G?de:void 0):this.options.parseMissingKeyHandler(de))}return G?(ue.res=de,ue.usedParams=this.getUsedParamsDetails(H),ue):de}extendTranslation(W,H,U,G,X){var oe=this;if(this.i18nFormat&&this.i18nFormat.parse)W=this.i18nFormat.parse(W,{...this.options.interpolation.defaultVariables,...U},U.lng||this.language||G.usedLng,G.usedNS,G.usedKey,{resolved:G});else if(!U.skipInterpolation){U.interpolation&&this.interpolator.init({...U,interpolation:{...this.options.interpolation,...U.interpolation}});const ie="string"==typeof W&&(U&&U.interpolation&&void 0!==U.interpolation.skipOnVariables?U.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let ae;if(ie){const H=W.match(this.interpolator.nestingRegexp);ae=H&&H.length}let le=U.replace&&"string"!=typeof U.replace?U.replace:U;if(this.options.interpolation.defaultVariables&&(le={...this.options.interpolation.defaultVariables,...le}),W=this.interpolator.interpolate(W,le,U.lng||this.language||G.usedLng,U),ie){const H=W.match(this.interpolator.nestingRegexp);ae<(H&&H.length)&&(U.nest=!1)}!U.lng&&"v1"!==this.options.compatibilityAPI&&G&&G.res&&(U.lng=this.language||G.usedLng),!1!==U.nest&&(W=this.interpolator.nest(W,function(){for(var W=arguments.length,G=new Array(W),ie=0;ie<W;ie++)G[ie]=arguments[ie];return X&&X[0]===G[0]&&!U.context?(oe.logger.warn(`It seems you are nesting recursively key: ${G[0]} in key: ${H[0]}`),null):oe.translate(...G,H)},U)),U.interpolation&&this.interpolator.reset()}const ie=U.postProcess||this.options.postProcess,ae="string"==typeof ie?[ie]:ie;return null!=W&&ae&&ae.length&&!1!==U.applyPostProcessor&&(W=Mf.handle(ae,W,H,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...G,usedParams:this.getUsedParamsDetails(U)},...U}:U,this)),W}resolve(W){let H,U,G,X,oe,ie=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof W&&(W=[W]),W.forEach(W=>{if(this.isValidLookup(H))return;const ae=this.extractFromKey(W,ie),le=ae.key;U=le;let ce=ae.namespaces;this.options.fallbackNS&&(ce=ce.concat(this.options.fallbackNS));const ue=void 0!==ie.count&&"string"!=typeof ie.count,de=ue&&!ie.ordinal&&0===ie.count&&this.pluralResolver.shouldUseIntlApi(),pe=void 0!==ie.context&&("string"==typeof ie.context||"number"==typeof ie.context)&&""!==ie.context,fe=ie.lngs?ie.lngs:this.languageUtils.toResolveHierarchy(ie.lng||this.language,ie.fallbackLng);ce.forEach(W=>{this.isValidLookup(H)||(oe=W,!Rf[`${fe[0]}-${W}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(oe)&&(Rf[`${fe[0]}-${W}`]=!0,this.logger.warn(`key "${U}" for languages "${fe.join(", ")}" won't get resolved as namespace "${oe}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),fe.forEach(U=>{if(this.isValidLookup(H))return;X=U;const oe=[le];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(oe,le,U,W,ie);else{let W;ue&&(W=this.pluralResolver.getSuffix(U,ie.count,ie));const H=`${this.options.pluralSeparator}zero`,G=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(ue&&(oe.push(le+W),ie.ordinal&&0===W.indexOf(G)&&oe.push(le+W.replace(G,this.options.pluralSeparator)),de&&oe.push(le+H)),pe){const U=`${le}${this.options.contextSeparator}${ie.context}`;oe.push(U),ue&&(oe.push(U+W),ie.ordinal&&0===W.indexOf(G)&&oe.push(U+W.replace(G,this.options.pluralSeparator)),de&&oe.push(U+H))}}let ae;for(;ae=oe.pop();)this.isValidLookup(H)||(G=ae,H=this.getResource(U,W,ae,ie))}))})}),{res:H,usedKey:U,exactUsedKey:G,usedLng:X,usedNS:oe}}isValidLookup(W){return!(void 0===W||!this.options.returnNull&&null===W||!this.options.returnEmptyString&&""===W)}getResource(W,H,U){let G=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(W,H,U,G):this.resourceStore.getResource(W,H,U,G)}getUsedParamsDetails(){let W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const H=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],U=W.replace&&"string"!=typeof W.replace;let G=U?W.replace:W;if(U&&void 0!==W.count&&(G.count=W.count),this.options.interpolation.defaultVariables&&(G={...this.options.interpolation.defaultVariables,...G}),!U){G={...G};for(const W of H)delete G[W]}return G}static hasDefaultValue(W){for(const H in W)if(Object.prototype.hasOwnProperty.call(W,H)&&"defaultValue"===H.substring(0,12)&&void 0!==W[H])return!0;return!1}constructor(W){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var U,G;super(),U=W,G=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(W=>{U[W]&&(G[W]=U[W])}),this.options=H,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=gf.create("translator")}}const Cf=W=>W.charAt(0).toUpperCase()+W.slice(1);class Ef{getScriptPartFromCode(W){if(!(W=_f(W))||W.indexOf("-")<0)return null;const H=W.split("-");return 2===H.length?null:(H.pop(),"x"===H[H.length-1].toLowerCase()?null:this.formatLanguageCode(H.join("-")))}getLanguagePartFromCode(W){if(!(W=_f(W))||W.indexOf("-")<0)return W;const H=W.split("-");return this.formatLanguageCode(H[0])}formatLanguageCode(W){if("string"==typeof W&&W.indexOf("-")>-1){const H=["hans","hant","latn","cyrl","cans","mong","arab"];let U=W.split("-");return this.options.lowerCaseLng?U=U.map(W=>W.toLowerCase()):2===U.length?(U[0]=U[0].toLowerCase(),U[1]=U[1].toUpperCase(),H.indexOf(U[1].toLowerCase())>-1&&(U[1]=Cf(U[1].toLowerCase()))):3===U.length&&(U[0]=U[0].toLowerCase(),2===U[1].length&&(U[1]=U[1].toUpperCase()),"sgn"!==U[0]&&2===U[2].length&&(U[2]=U[2].toUpperCase()),H.indexOf(U[1].toLowerCase())>-1&&(U[1]=Cf(U[1].toLowerCase())),H.indexOf(U[2].toLowerCase())>-1&&(U[2]=Cf(U[2].toLowerCase()))),U.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?W.toLowerCase():W}isSupportedCode(W){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(W=this.getLanguagePartFromCode(W)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(W)>-1}getBestMatchFromCodes(W){if(!W)return null;let H;return W.forEach(W=>{if(H)return;const U=this.formatLanguageCode(W);this.options.supportedLngs&&!this.isSupportedCode(U)||(H=U)}),!H&&this.options.supportedLngs&&W.forEach(W=>{if(H)return;const U=this.getLanguagePartFromCode(W);if(this.isSupportedCode(U))return H=U;H=this.options.supportedLngs.find(W=>W===U?W:W.indexOf("-")<0&&U.indexOf("-")<0?void 0:W.indexOf("-")>0&&U.indexOf("-")<0&&W.substring(0,W.indexOf("-"))===U||0===W.indexOf(U)&&U.length>1?W:void 0)}),H||(H=this.getFallbackCodes(this.options.fallbackLng)[0]),H}getFallbackCodes(W,H){if(!W)return[];if("function"==typeof W&&(W=W(H)),"string"==typeof W&&(W=[W]),Array.isArray(W))return W;if(!H)return W.default||[];let U=W[H];return U||(U=W[this.getScriptPartFromCode(H)]),U||(U=W[this.formatLanguageCode(H)]),U||(U=W[this.getLanguagePartFromCode(H)]),U||(U=W.default),U||[]}toResolveHierarchy(W,H){const U=this.getFallbackCodes(H||this.options.fallbackLng||[],W),G=[],o=W=>{W&&(this.isSupportedCode(W)?G.push(W):this.logger.warn(`rejecting language code not found in supportedLngs: ${W}`))};return"string"==typeof W&&(W.indexOf("-")>-1||W.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(W)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(W)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(W))):"string"==typeof W&&o(this.formatLanguageCode(W)),U.forEach(W=>{G.indexOf(W)<0&&o(this.formatLanguageCode(W))}),G}constructor(W){this.options=W,this.supportedLngs=this.options.supportedLngs||!1,this.logger=gf.create("languageUtils")}}let If=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Tf={1:W=>Number(W>1),2:W=>Number(1!=W),3:W=>0,4:W=>Number(W%10==1&&W%100!=11?0:W%10>=2&&W%10<=4&&(W%100<10||W%100>=20)?1:2),5:W=>Number(0==W?0:1==W?1:2==W?2:W%100>=3&&W%100<=10?3:W%100>=11?4:5),6:W=>Number(1==W?0:W>=2&&W<=4?1:2),7:W=>Number(1==W?0:W%10>=2&&W%10<=4&&(W%100<10||W%100>=20)?1:2),8:W=>Number(1==W?0:2==W?1:8!=W&&11!=W?2:3),9:W=>Number(W>=2),10:W=>Number(1==W?0:2==W?1:W<7?2:W<11?3:4),11:W=>Number(1==W||11==W?0:2==W||12==W?1:W>2&&W<20?2:3),12:W=>Number(W%10!=1||W%100==11),13:W=>Number(0!==W),14:W=>Number(1==W?0:2==W?1:3==W?2:3),15:W=>Number(W%10==1&&W%100!=11?0:W%10>=2&&(W%100<10||W%100>=20)?1:2),16:W=>Number(W%10==1&&W%100!=11?0:0!==W?1:2),17:W=>Number(1==W||W%10==1&&W%100!=11?0:1),18:W=>Number(0==W?0:1==W?1:2),19:W=>Number(1==W?0:0==W||W%100>1&&W%100<11?1:W%100>10&&W%100<20?2:3),20:W=>Number(1==W?0:0==W||W%100>0&&W%100<20?1:2),21:W=>Number(W%100==1?1:W%100==2?2:W%100==3||W%100==4?3:0),22:W=>Number(1==W?0:2==W?1:(W<0||W>10)&&W%10==0?2:3)};const Nf=["v1","v2","v3"],Wf=["v4"],Hf={zero:0,one:1,two:2,few:3,many:4,other:5};class Pf{addRule(W,H){this.rules[W]=H}clearCache(){this.pluralRulesCache={}}getRule(W){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{const U=_f("dev"===W?"en":W),G=H.ordinal?"ordinal":"cardinal",X=JSON.stringify({cleanedCode:U,type:G});if(X in this.pluralRulesCache)return this.pluralRulesCache[X];const oe=new Intl.PluralRules(U,{type:G});return this.pluralRulesCache[X]=oe,oe}catch(W){return}return this.rules[W]||this.rules[this.languageUtils.getLanguagePartFromCode(W)]}needsPlural(W){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const U=this.getRule(W,H);return this.shouldUseIntlApi()?U&&U.resolvedOptions().pluralCategories.length>1:U&&U.numbers.length>1}getPluralFormsOfKey(W,H){let U=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(W,U).map(W=>`${H}${W}`)}getSuffixes(W){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const U=this.getRule(W,H);return U?this.shouldUseIntlApi()?U.resolvedOptions().pluralCategories.sort((W,H)=>Hf[W]-Hf[H]).map(W=>`${this.options.prepend}${H.ordinal?`ordinal${this.options.prepend}`:""}${W}`):U.numbers.map(U=>this.getSuffix(W,U,H)):[]}getSuffix(W,H){let U=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const G=this.getRule(W,U);return G?this.shouldUseIntlApi()?`${this.options.prepend}${U.ordinal?`ordinal${this.options.prepend}`:""}${G.select(H)}`:this.getSuffixRetroCompatible(G,H):(this.logger.warn(`no plural rule found for: ${W}`),"")}getSuffixRetroCompatible(W,H){const U=W.noAbs?W.plurals(H):W.plurals(Math.abs(H));let G=W.numbers[U];this.options.simplifyPluralSuffix&&2===W.numbers.length&&1===W.numbers[0]&&(2===G?G="plural":1===G&&(G=""));const o=()=>this.options.prepend&&G.toString()?this.options.prepend+G.toString():G.toString();return"v1"===this.options.compatibilityJSON?1===G?"":"number"==typeof G?`_plural_${G.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===W.numbers.length&&1===W.numbers[0]?o():this.options.prepend&&U.toString()?this.options.prepend+U.toString():U.toString()}shouldUseIntlApi(){return!Nf.includes(this.options.compatibilityJSON)}constructor(W){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=W,this.options=H,this.logger=gf.create("pluralResolver"),this.options.compatibilityJSON&&!Wf.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{const W={};return If.forEach(H=>{H.lngs.forEach(U=>{W[U]={numbers:H.nr,plurals:Tf[H.fc]}})}),W})(),this.pluralRulesCache={}}}const jf=function(W,H,U){let G=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",X=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],oe=((W,H,U)=>{const G=ff(W,U);return void 0!==G?G:ff(H,U)})(W,H,U);return!oe&&X&&"string"==typeof U&&(oe=xf(W,U,G),void 0===oe&&(oe=xf(H,U,G))),oe},Af=W=>W.replace(/\$/g,"$$$$");class $f{init(){let W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};W.interpolation||(W.interpolation={escapeValue:!0});const{escape:H,escapeValue:U,useRawValueToEscape:G,prefix:X,prefixEscaped:oe,suffix:ie,suffixEscaped:ae,formatSeparator:le,unescapeSuffix:ce,unescapePrefix:ue,nestingPrefix:de,nestingPrefixEscaped:pe,nestingSuffix:fe,nestingSuffixEscaped:ke,nestingOptionsSeparator:Qe,maxReplaces:tt,alwaysFormat:it}=W.interpolation;this.escape=void 0!==H?H:yf,this.escapeValue=void 0===U||U,this.useRawValueToEscape=void 0!==G&&G,this.prefix=X?mf(X):oe||"{{",this.suffix=ie?mf(ie):ae||"}}",this.formatSeparator=le||",",this.unescapePrefix=ce?"":ue||"-",this.unescapeSuffix=this.unescapePrefix?"":ce||"",this.nestingPrefix=de?mf(de):pe||mf("$t("),this.nestingSuffix=fe?mf(fe):ke||mf(")"),this.nestingOptionsSeparator=Qe||",",this.maxReplaces=tt||1e3,this.alwaysFormat=void 0!==it&&it,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(W,H)=>W&&W.source===H?(W.lastIndex=0,W):new RegExp(H,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(W,H,U,G){let X,oe,ie;const ae=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=W=>{if(W.indexOf(this.formatSeparator)<0){const X=jf(H,ae,W,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(X,void 0,U,{...G,...H,interpolationkey:W}):X}const X=W.split(this.formatSeparator),oe=X.shift().trim(),ie=X.join(this.formatSeparator).trim();return this.format(jf(H,ae,oe,this.options.keySeparator,this.options.ignoreJSONStructure),ie,U,{...G,...H,interpolationkey:oe})};this.resetRegExp();const le=G&&G.missingInterpolationHandler||this.options.missingInterpolationHandler,ce=G&&G.interpolation&&void 0!==G.interpolation.skipOnVariables?G.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:W=>Af(W)},{regex:this.regexp,safeValue:W=>this.escapeValue?Af(this.escape(W)):Af(W)}].forEach(H=>{for(ie=0;X=H.regex.exec(W);){const U=X[1].trim();if(oe=l(U),void 0===oe)if("function"==typeof le){const H=le(W,X,G);oe="string"==typeof H?H:""}else if(G&&Object.prototype.hasOwnProperty.call(G,U))oe="";else{if(ce){oe=X[0];continue}this.logger.warn(`missed to pass in variable ${U} for interpolating ${W}`),oe=""}else"string"==typeof oe||this.useRawValueToEscape||(oe=sf(oe));const ae=H.safeValue(oe);if(W=W.replace(X[0],ae),ce?(H.regex.lastIndex+=oe.length,H.regex.lastIndex-=X[0].length):H.regex.lastIndex=0,ie++,ie>=this.maxReplaces)break}}),W}nest(W,H){let U,G,X,oe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(W,H)=>{const U=this.nestingOptionsSeparator;if(W.indexOf(U)<0)return W;const G=W.split(new RegExp(`${U}[ ]*{`));let oe=`{${G[1]}`;W=G[0],oe=this.interpolate(oe,X);const ie=oe.match(/'/g),ae=oe.match(/"/g);(ie&&ie.length%2==0&&!ae||ae.length%2!=0)&&(oe=oe.replace(/'/g,'"'));try{X=JSON.parse(oe),H&&(X={...H,...X})}catch(H){return this.logger.warn(`failed parsing options string in nesting for key ${W}`,H),`${W}${U}${oe}`}return X.defaultValue&&X.defaultValue.indexOf(this.prefix)>-1&&delete X.defaultValue,W};for(;U=this.nestingRegexp.exec(W);){let ie=[];X={...oe},X=X.replace&&"string"!=typeof X.replace?X.replace:X,X.applyPostProcessor=!1,delete X.defaultValue;let ae=!1;if(-1!==U[0].indexOf(this.formatSeparator)&&!/{.*}/.test(U[1])){const W=U[1].split(this.formatSeparator).map(W=>W.trim());U[1]=W.shift(),ie=W,ae=!0}if(G=H(a.call(this,U[1].trim(),X),X),G&&U[0]===W&&"string"!=typeof G)return G;"string"!=typeof G&&(G=sf(G)),G||(this.logger.warn(`missed to resolve ${U[1]} for nesting ${W}`),G=""),ae&&(G=ie.reduce((W,H)=>this.format(W,H,oe.lng,{...oe,interpolationkey:U[1].trim()}),G.trim())),W=W.replace(U[0],G),this.regexp.lastIndex=0}return W}constructor(){let W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=gf.create("interpolator"),this.options=W,this.format=W.interpolation&&W.interpolation.format||(W=>W),this.init(W)}}const Lf=W=>{const H={};return(U,G,X)=>{let oe=X;X&&X.interpolationkey&&X.formatParams&&X.formatParams[X.interpolationkey]&&X[X.interpolationkey]&&(oe={...oe,[X.interpolationkey]:void 0});const ie=G+JSON.stringify(oe);let ae=H[ie];return ae||(ae=W(_f(G),X),H[ie]=ae),ae(U)}};class Df{init(W){const H=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=H.formatSeparator?H.formatSeparator:H.formatSeparator||","}add(W,H){this.formats[W.toLowerCase().trim()]=H}addCached(W,H){this.formats[W.toLowerCase().trim()]=Lf(H)}format(W,H,U){let G=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const X=H.split(this.formatSeparator);if(X.length>1&&X[0].indexOf("(")>1&&X[0].indexOf(")")<0&&X.find(W=>W.indexOf(")")>-1)){const W=X.findIndex(W=>W.indexOf(")")>-1);X[0]=[X[0],...X.splice(1,W)].join(this.formatSeparator)}return X.reduce((W,H)=>{const{formatName:X,formatOptions:oe}=(W=>{let H=W.toLowerCase().trim();const U={};if(W.indexOf("(")>-1){const G=W.split("(");H=G[0].toLowerCase().trim();const X=G[1].substring(0,G[1].length-1);"currency"===H&&X.indexOf(":")<0?U.currency||(U.currency=X.trim()):"relativetime"===H&&X.indexOf(":")<0?U.range||(U.range=X.trim()):X.split(";").forEach(W=>{if(W){const[H,...G]=W.split(":"),X=G.join(":").trim().replace(/^'+|'+$/g,""),oe=H.trim();U[oe]||(U[oe]=X),"false"===X&&(U[oe]=!1),"true"===X&&(U[oe]=!0),isNaN(X)||(U[oe]=parseInt(X,10))}})}return{formatName:H,formatOptions:U}})(H);if(this.formats[X]){let H=W;try{const ie=G&&G.formatParams&&G.formatParams[G.interpolationkey]||{},ae=ie.locale||ie.lng||G.locale||G.lng||U;H=this.formats[X](W,ae,{...oe,...G,...ie})}catch(W){this.logger.warn(W)}return H}return this.logger.warn(`there was no format function for ${X}`),W},W)}constructor(){let W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=gf.create("formatter"),this.options=W,this.formats={number:Lf((W,H)=>{const U=new Intl.NumberFormat(W,{...H});return W=>U.format(W)}),currency:Lf((W,H)=>{const U=new Intl.NumberFormat(W,{...H,style:"currency"});return W=>U.format(W)}),datetime:Lf((W,H)=>{const U=new Intl.DateTimeFormat(W,{...H});return W=>U.format(W)}),relativetime:Lf((W,H)=>{const U=new Intl.RelativeTimeFormat(W,{...H});return W=>U.format(W,H.range||"day")}),list:Lf((W,H)=>{const U=new Intl.ListFormat(W,{...H});return W=>U.format(W)})},this.init(W)}}class Ff extends of{queueLoad(W,H,U,G){const X={},oe={},ie={},ae={};return W.forEach(W=>{let G=!0;H.forEach(H=>{const ie=`${W}|${H}`;!U.reload&&this.store.hasResourceBundle(W,H)?this.state[ie]=2:this.state[ie]<0||(1===this.state[ie]?void 0===oe[ie]&&(oe[ie]=!0):(this.state[ie]=1,G=!1,void 0===oe[ie]&&(oe[ie]=!0),void 0===X[ie]&&(X[ie]=!0),void 0===ae[H]&&(ae[H]=!0)))}),G||(ie[W]=!0)}),(Object.keys(X).length||Object.keys(oe).length)&&this.queue.push({pending:oe,pendingCount:Object.keys(oe).length,loaded:{},errors:[],callback:G}),{toLoad:Object.keys(X),pending:Object.keys(oe),toLoadLanguages:Object.keys(ie),toLoadNamespaces:Object.keys(ae)}}loaded(W,H,U){const G=W.split("|"),X=G[0],oe=G[1];H&&this.emit("failedLoading",X,oe,H),!H&&U&&this.store.addResourceBundle(X,oe,U,void 0,void 0,{skipCopy:!0}),this.state[W]=H?-1:2,H&&U&&(this.state[W]=0);const ie={};this.queue.forEach(U=>{((W,H,U)=>{const{obj:G,k:X}=pf(W,H,Object);G[X]=G[X]||[],G[X].push(U)})(U.loaded,[X],oe),((W,H)=>{void 0!==W.pending[H]&&(delete W.pending[H],W.pendingCount--)})(U,W),H&&U.errors.push(H),0!==U.pendingCount||U.done||(Object.keys(U.loaded).forEach(W=>{ie[W]||(ie[W]={});const H=U.loaded[W];H.length&&H.forEach(H=>{void 0===ie[W][H]&&(ie[W][H]=!0)})}),U.done=!0,U.errors.length?U.callback(U.errors):U.callback())}),this.emit("loaded",ie),this.queue=this.queue.filter(W=>!W.done)}read(W,H,U){let G=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,X=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,oe=arguments.length>5?arguments[5]:void 0;if(!W.length)return oe(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:W,ns:H,fcName:U,tried:G,wait:X,callback:oe});this.readingCalls++;const a=(ie,ae)=>{if(this.readingCalls--,this.waitingReads.length>0){const W=this.waitingReads.shift();this.read(W.lng,W.ns,W.fcName,W.tried,W.wait,W.callback)}ie&&ae&&G<this.maxRetries?setTimeout(()=>{this.read.call(this,W,H,U,G+1,2*X,oe)},X):oe(ie,ae)},ie=this.backend[U].bind(this.backend);if(2!==ie.length)return ie(W,H,a);try{const U=ie(W,H);U&&"function"==typeof U.then?U.then(W=>a(null,W)).catch(a):a(null,U)}catch(W){a(W)}}prepareLoading(W,H){let U=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},G=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),G&&G();"string"==typeof W&&(W=this.languageUtils.toResolveHierarchy(W)),"string"==typeof H&&(H=[H]);const X=this.queueLoad(W,H,U,G);if(!X.toLoad.length)return X.pending.length||G(),null;X.toLoad.forEach(W=>{this.loadOne(W)})}load(W,H,U){this.prepareLoading(W,H,{},U)}reload(W,H,U){this.prepareLoading(W,H,{reload:!0},U)}loadOne(W){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const U=W.split("|"),G=U[0],X=U[1];this.read(G,X,"read",void 0,void 0,(U,oe)=>{U&&this.logger.warn(`${H}loading namespace ${X} for language ${G} failed`,U),!U&&oe&&this.logger.log(`${H}loaded namespace ${X} for language ${G}`,oe),this.loaded(W,U,oe)})}saveMissing(W,H,U,G,X){let oe=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},ie=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(H))this.logger.warn(`did not save key "${U}" as the namespace "${H}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=U&&""!==U){if(this.backend&&this.backend.create){const ae={...oe,isUpdate:X},le=this.backend.create.bind(this.backend);if(le.length<6)try{let X;X=5===le.length?le(W,H,U,G,ae):le(W,H,U,G),X&&"function"==typeof X.then?X.then(W=>ie(null,W)).catch(ie):ie(null,X)}catch(W){ie(W)}else le(W,H,U,G,ie,ae)}W&&W[0]&&this.store.addResource(W[0],H,U,G)}}constructor(W,H,U){let G=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=W,this.store=H,this.services=U,this.languageUtils=U.languageUtils,this.options=G,this.logger=gf.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=G.maxParallelReads||10,this.readingCalls=0,this.maxRetries=G.maxRetries>=0?G.maxRetries:5,this.retryTimeout=G.retryTimeout>=1?G.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(U,G.backend,G)}}const zf=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:W=>{let H={};if("object"==typeof W[1]&&(H=W[1]),"string"==typeof W[1]&&(H.defaultValue=W[1]),"string"==typeof W[2]&&(H.tDescription=W[2]),"object"==typeof W[2]||"object"==typeof W[3]){const U=W[3]||W[2];Object.keys(U).forEach(W=>{H[W]=U[W]})}return H},interpolation:{escapeValue:!0,format:W=>W,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Bf=W=>("string"==typeof W.ns&&(W.ns=[W.ns]),"string"==typeof W.fallbackLng&&(W.fallbackLng=[W.fallbackLng]),"string"==typeof W.fallbackNS&&(W.fallbackNS=[W.fallbackNS]),W.supportedLngs&&W.supportedLngs.indexOf("cimode")<0&&(W.supportedLngs=W.supportedLngs.concat(["cimode"])),W),Vf=()=>{};class qf extends of{init(){var W=this;let H=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},U=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof H&&(U=H,H={}),!H.defaultNS&&!1!==H.defaultNS&&H.ns&&("string"==typeof H.ns?H.defaultNS=H.ns:H.ns.indexOf("translation")<0&&(H.defaultNS=H.ns[0]));const G=zf();this.options={...G,...this.options,...Bf(H)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...G.interpolation,...this.options.interpolation}),void 0!==H.keySeparator&&(this.options.userDefinedKeySeparator=H.keySeparator),void 0!==H.nsSeparator&&(this.options.userDefinedNsSeparator=H.nsSeparator);const o=W=>W?"function"==typeof W?new W:W:null;if(!this.options.isClone){let H;this.modules.logger?gf.init(o(this.modules.logger),this.options):gf.init(null,this.options),this.modules.formatter?H=this.modules.formatter:"undefined"!=typeof Intl&&(H=Df);const U=new Ef(this.options);this.store=new wf(this.options.resources,this.options);const X=this.services;X.logger=gf,X.resourceStore=this.store,X.languageUtils=U,X.pluralResolver=new Pf(U,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!H||this.options.interpolation.format&&this.options.interpolation.format!==G.interpolation.format||(X.formatter=o(H),X.formatter.init(X,this.options),this.options.interpolation.format=X.formatter.format.bind(X.formatter)),X.interpolator=new $f(this.options),X.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},X.backendConnector=new Ff(o(this.modules.backend),X.resourceStore,X,this.options),X.backendConnector.on("*",function(H){for(var U=arguments.length,G=new Array(U>1?U-1:0),X=1;X<U;X++)G[X-1]=arguments[X];W.emit(H,...G)}),this.modules.languageDetector&&(X.languageDetector=o(this.modules.languageDetector),X.languageDetector.init&&X.languageDetector.init(X,this.options.detection,this.options)),this.modules.i18nFormat&&(X.i18nFormat=o(this.modules.i18nFormat),X.i18nFormat.init&&X.i18nFormat.init(this)),this.translator=new Of(this.services,this.options),this.translator.on("*",function(H){for(var U=arguments.length,G=new Array(U>1?U-1:0),X=1;X<U;X++)G[X-1]=arguments[X];W.emit(H,...G)}),this.modules.external.forEach(W=>{W.init&&W.init(this)})}if(this.format=this.options.interpolation.format,U||(U=Vf),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const W=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);W.length>0&&"dev"!==W[0]&&(this.options.lng=W[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(H=>{this[H]=function(){return W.store[H](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(H=>{this[H]=function(){return W.store[H](...arguments),W}});const X=af(),a=()=>{const e=(W,H)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),X.resolve(H),U(W,H)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?a():setTimeout(a,0),X}loadResources(W){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vf;const U="string"==typeof W?W:this.language;if("function"==typeof W&&(H=W),!this.options.resources||this.options.partialBundledLanguages){if(U&&"cimode"===U.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return H();const W=[],n=H=>{H&&"cimode"!==H&&this.services.languageUtils.toResolveHierarchy(H).forEach(H=>{"cimode"!==H&&W.indexOf(H)<0&&W.push(H)})};U?n(U):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(W=>n(W)),this.options.preload&&this.options.preload.forEach(W=>n(W)),this.services.backendConnector.load(W,this.options.ns,W=>{W||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),H(W)})}else H(null)}reloadResources(W,H,U){const G=af();return"function"==typeof W&&(U=W,W=void 0),"function"==typeof H&&(U=H,H=void 0),W||(W=this.languages),H||(H=this.options.ns),U||(U=Vf),this.services.backendConnector.reload(W,H,W=>{G.resolve(),U(W)}),G}use(W){if(!W)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!W.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===W.type&&(this.modules.backend=W),("logger"===W.type||W.log&&W.warn&&W.error)&&(this.modules.logger=W),"languageDetector"===W.type&&(this.modules.languageDetector=W),"i18nFormat"===W.type&&(this.modules.i18nFormat=W),"postProcessor"===W.type&&Mf.addPostProcessor(W),"formatter"===W.type&&(this.modules.formatter=W),"3rdParty"===W.type&&this.modules.external.push(W),this}setResolvedLanguage(W){if(W&&this.languages&&!(["cimode","dev"].indexOf(W)>-1))for(let W=0;W<this.languages.length;W++){const H=this.languages[W];if(!(["cimode","dev"].indexOf(H)>-1)&&this.store.hasLanguageSomeTranslations(H)){this.resolvedLanguage=H;break}}}changeLanguage(W,H){var U=this;this.isLanguageChangingTo=W;const G=af();this.emit("languageChanging",W);const o=W=>{this.language=W,this.languages=this.services.languageUtils.toResolveHierarchy(W),this.resolvedLanguage=void 0,this.setResolvedLanguage(W)},i=(W,X)=>{X?(o(X),this.translator.changeLanguage(X),this.isLanguageChangingTo=void 0,this.emit("languageChanged",X),this.logger.log("languageChanged",X)):this.isLanguageChangingTo=void 0,G.resolve(function(){return U.t(...arguments)}),H&&H(W,function(){return U.t(...arguments)})},a=H=>{W||H||!this.services.languageDetector||(H=[]);const U="string"==typeof H?H:this.services.languageUtils.getBestMatchFromCodes(H);U&&(this.language||o(U),this.translator.language||this.translator.changeLanguage(U),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(U)),this.loadResources(U,W=>{i(W,U)})};return W||!this.services.languageDetector||this.services.languageDetector.async?!W&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(W):a(this.services.languageDetector.detect()),G}getFixedT(W,H,U){var G=this;const o=function(W,H){let X;if("object"!=typeof H){for(var oe=arguments.length,ie=new Array(oe>2?oe-2:0),ae=2;ae<oe;ae++)ie[ae-2]=arguments[ae];X=G.options.overloadTranslationOptionHandler([W,H].concat(ie))}else X={...H};X.lng=X.lng||o.lng,X.lngs=X.lngs||o.lngs,X.ns=X.ns||o.ns,""!==X.keyPrefix&&(X.keyPrefix=X.keyPrefix||U||o.keyPrefix);const le=G.options.keySeparator||".";let ce;return ce=X.keyPrefix&&Array.isArray(W)?W.map(W=>`${X.keyPrefix}${le}${W}`):X.keyPrefix?`${X.keyPrefix}${le}${W}`:W,G.t(ce,X)};return"string"==typeof W?o.lng=W:o.lngs=W,o.ns=H,o.keyPrefix=U,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(W){this.options.defaultNS=W}hasLoadedNamespace(W){let H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const U=H.lng||this.resolvedLanguage||this.languages[0],G=!!this.options&&this.options.fallbackLng,X=this.languages[this.languages.length-1];if("cimode"===U.toLowerCase())return!0;const i=(W,H)=>{const U=this.services.backendConnector.state[`${W}|${H}`];return-1===U||0===U||2===U};if(H.precheck){const W=H.precheck(this,i);if(void 0!==W)return W}return!(!this.hasResourceBundle(U,W)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!i(U,W)||G&&!i(X,W)))}loadNamespaces(W,H){const U=af();return this.options.ns?("string"==typeof W&&(W=[W]),W.forEach(W=>{this.options.ns.indexOf(W)<0&&this.options.ns.push(W)}),this.loadResources(W=>{U.resolve(),H&&H(W)}),U):(H&&H(),Promise.resolve())}loadLanguages(W,H){const U=af();"string"==typeof W&&(W=[W]);const G=this.options.preload||[],X=W.filter(W=>G.indexOf(W)<0&&this.services.languageUtils.isSupportedCode(W));return X.length?(this.options.preload=G.concat(X),this.loadResources(W=>{U.resolve(),H&&H(W)}),U):(H&&H(),Promise.resolve())}dir(W){if(W||(W=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!W)return"rtl";const H=this.services&&this.services.languageUtils||new Ef(zf());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(H.getLanguagePartFromCode(W))>-1||W.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new qf(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vf;const U=W.forkResourceStore;U&&delete W.forkResourceStore;const G={...this.options,...W,isClone:!0},X=new qf(G);return void 0===W.debug&&void 0===W.prefix||(X.logger=X.logger.clone(W)),["store","services","language"].forEach(W=>{X[W]=this[W]}),X.services={...this.services},X.services.utils={hasLoadedNamespace:X.hasLoadedNamespace.bind(X)},U&&(X.store=new wf(this.store.data,G),X.services.resourceStore=X.store),X.translator=new Of(X.services,G),X.translator.on("*",function(W){for(var H=arguments.length,U=new Array(H>1?H-1:0),G=1;G<H;G++)U[G-1]=arguments[G];X.emit(W,...U)}),X.init(G,H),X.translator.options=G,X.translator.backendConnector.services.utils={hasLoadedNamespace:X.hasLoadedNamespace.bind(X)},X}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}constructor(){let W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},H=arguments.length>1?arguments[1]:void 0;var U;if(super(),this.options=Bf(W),this.services={},this.logger=gf,this.modules={external:[]},U=this,Object.getOwnPropertyNames(Object.getPrototypeOf(U)).forEach(W=>{"function"==typeof U[W]&&(U[W]=U[W].bind(U))}),H&&!this.isInitialized&&!W.isClone){if(!this.options.initImmediate)return this.init(W,H),this;setTimeout(()=>{this.init(W,H)},0)}}}const Uf=qf.createInstance();Uf.createInstance=qf.createInstance;const Kf=Uf.createInstance();var Gf;Kf.use((Gf=(W,H)=>U(46906)(`./${W}/${H}.json`),{type:"backend",init:function(W,H,U){},read:function(W,H,U){if(Gf.length<3)try{var G=Gf(W,H);G&&"function"==typeof G.then?G.then(function(W){return U(null,W&&W.default||W)}).catch(U):U(null,G)}catch(W){U(W)}else Gf(W,H)}})).use(zd).init({lng:"en",fallbackLng:"en",ns:"common",defaultNS:"common",interpolation:{escapeValue:!1},react:{useSuspense:!0}});var em=class{subscribe(W){return this.listeners.add(W),this.onSubscribe(),()=>{this.listeners.delete(W),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}},tm="undefined"==typeof window||"Deno"in globalThis;function Xf(){}function Yf(W){return"number"==typeof W&&W>=0&&W!==1/0}function Qf(W,H){return Math.max(W+(H||0)-Date.now(),0)}function Zf(W,H){return"function"==typeof W?W(H):W}function Jf(W,H){return"function"==typeof W?W(H):W}function eh(W,H){const{type:U="all",exact:G,fetchStatus:X,predicate:oe,queryKey:ie,stale:ae}=W;if(ie)if(G){if(H.queryHash!==rh(ie,H.options))return!1}else if(!oh(H.queryKey,ie))return!1;if("all"!==U){const W=H.isActive();if("active"===U&&!W)return!1;if("inactive"===U&&W)return!1}return!("boolean"==typeof ae&&H.isStale()!==ae||X&&X!==H.state.fetchStatus||oe&&!oe(H))}function th(W,H){const{exact:U,status:G,predicate:X,mutationKey:oe}=W;if(oe){if(!H.options.mutationKey)return!1;if(U){if(nh(H.options.mutationKey)!==nh(oe))return!1}else if(!oh(H.options.mutationKey,oe))return!1}return!(G&&H.state.status!==G||X&&!X(H))}function rh(W,H){return(H?.queryKeyHashFn||nh)(W)}function nh(W){return JSON.stringify(W,(W,H)=>lh(H)?Object.keys(H).sort().reduce((W,U)=>(W[U]=H[U],W),{}):H)}function oh(W,H){return W===H||typeof W==typeof H&&!(!W||!H||"object"!=typeof W||"object"!=typeof H)&&!Object.keys(H).some(U=>!oh(W[U],H[U]))}function ih(W,H){if(W===H)return W;const U=sh(W)&&sh(H);if(U||lh(W)&&lh(H)){const G=U?W:Object.keys(W),X=G.length,oe=U?H:Object.keys(H),ie=oe.length,ae=U?[]:{};let le=0;for(let X=0;X<ie;X++){const ie=U?X:oe[X];(!U&&G.includes(ie)||U)&&void 0===W[ie]&&void 0===H[ie]?(ae[ie]=void 0,le++):(ae[ie]=ih(W[ie],H[ie]),ae[ie]===W[ie]&&void 0!==W[ie]&&le++)}return X===ie&&le===X?W:ae}return H}function ah(W,H){if(!H||Object.keys(W).length!==Object.keys(H).length)return!1;for(const U in W)if(W[U]!==H[U])return!1;return!0}function sh(W){return Array.isArray(W)&&W.length===Object.keys(W).length}function lh(W){if(!ch(W))return!1;const H=W.constructor;if(void 0===H)return!0;const U=H.prototype;return!!ch(U)&&!!U.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(W)===Object.prototype}function ch(W){return"[object Object]"===Object.prototype.toString.call(W)}function uh(W,H,U){return"function"==typeof U.structuralSharing?U.structuralSharing(W,H):!1!==U.structuralSharing?ih(W,H):H}function ph(W,H,U=0){const G=[...W,H];return U&&G.length>U?G.slice(1):G}function dh(W,H,U=0){const G=[H,...W];return U&&G.length>U?G.slice(0,-1):G}var nm=Symbol();function hh(W,H){return!W.queryFn&&H?.initialPromise?()=>H.initialPromise:W.queryFn&&W.queryFn!==nm?W.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${W.queryHash}'`))}function mh(W,H){if(!Object.prototype.hasOwnProperty.call(W,H))throw new TypeError("attempted to use private field on non-instance");return W}var im,am,sm,lm=0;function xh(W){return"__private_"+lm+++"_"+W}var cm=new(im=xh("_focused"),am=xh("_cleanup"),sm=xh("_setup"),class extends em{onSubscribe(){mh(this,am)[am]||this.setEventListener(mh(this,sm)[sm])}onUnsubscribe(){this.hasListeners()||(null==mh(this,am)[am]||mh(this,am)[am].call(this),mh(this,am)[am]=void 0)}setEventListener(W){mh(this,sm)[sm]=W,null==mh(this,am)[am]||mh(this,am)[am].call(this),mh(this,am)[am]=W(W=>{"boolean"==typeof W?this.setFocused(W):this.onFocus()})}setFocused(W){mh(this,im)[im]!==W&&(mh(this,im)[im]=W,this.onFocus())}onFocus(){const W=this.isFocused();this.listeners.forEach(H=>{H(W)})}isFocused(){return"boolean"==typeof mh(this,im)[im]?mh(this,im)[im]:"hidden"!==globalThis.document?.visibilityState}constructor(){super(),Object.defineProperty(this,im,{writable:!0,value:void 0}),Object.defineProperty(this,am,{writable:!0,value:void 0}),Object.defineProperty(this,sm,{writable:!0,value:void 0}),mh(this,sm)[sm]=W=>{if(!tm&&window.addEventListener){const t=()=>W();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}});function wh(W,H){if(!Object.prototype.hasOwnProperty.call(W,H))throw new TypeError("attempted to use private field on non-instance");return W}var pm,hm,mm,gm=0;function Eh(W){return"__private_"+gm+++"_"+W}var bm=new(pm=Eh("_online"),hm=Eh("_cleanup"),mm=Eh("_setup"),class extends em{onSubscribe(){wh(this,hm)[hm]||this.setEventListener(wh(this,mm)[mm])}onUnsubscribe(){this.hasListeners()||(null==wh(this,hm)[hm]||wh(this,hm)[hm].call(this),wh(this,hm)[hm]=void 0)}setEventListener(W){wh(this,mm)[mm]=W,null==wh(this,hm)[hm]||wh(this,hm)[hm].call(this),wh(this,hm)[hm]=W(this.setOnline.bind(this))}setOnline(W){wh(this,pm)[pm]!==W&&(wh(this,pm)[pm]=W,this.listeners.forEach(H=>{H(W)}))}isOnline(){return wh(this,pm)[pm]}constructor(){super(),Object.defineProperty(this,pm,{writable:!0,value:void 0}),Object.defineProperty(this,hm,{writable:!0,value:void 0}),Object.defineProperty(this,mm,{writable:!0,value:void 0}),wh(this,pm)[pm]=!0,wh(this,mm)[mm]=W=>{if(!tm&&window.addEventListener){const t=()=>W(!0),r=()=>W(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}});function Mh(W){return Math.min(1e3*2**W,3e4)}function Rh(W){return"online"!==(W??"online")||bm.isOnline()}var Sm=class extends Error{constructor(W){super("CancelledError"),this.revert=W?.revert,this.silent=W?.silent}};function Nh(W){return W instanceof Sm}function Ph(W){let H,U,G,X=!1,oe=0,ie=!1;const ae=new Promise((W,H)=>{U=W,G=H}),l=()=>cm.isFocused()&&("always"===W.networkMode||bm.isOnline())&&W.canRun(),c=()=>Rh(W.networkMode)&&W.canRun(),u=G=>{ie||(ie=!0,W.onSuccess?.(G),H?.(),U(G))},p=U=>{ie||(ie=!0,W.onError?.(U),H?.(),G(U))},d=()=>new Promise(U=>{H=W=>{(ie||l())&&U(W)},W.onPause?.()}).then(()=>{H=void 0,ie||W.onContinue?.()}),f=()=>{if(ie)return;let H;const U=0===oe?W.initialPromise:void 0;try{H=U??W.fn()}catch(W){H=Promise.reject(W)}Promise.resolve(H).then(u).catch(H=>{if(ie)return;const U=W.retry??(tm?0:3),G=W.retryDelay??Mh,ae="function"==typeof G?G(oe,H):G,le=!0===U||"number"==typeof U&&oe<U||"function"==typeof U&&U(oe,H);var ce;!X&&le?(oe++,W.onFail?.(oe,H),(ce=ae,new Promise(W=>{setTimeout(W,ce)})).then(()=>l()?void 0:d()).then(()=>{X?p(H):f()})):p(H)})};return{promise:ae,cancel:H=>{ie||(p(new Sm(H)),W.abort?.())},continue:()=>(H?.(),ae),cancelRetry:()=>{X=!0},continueRetry:()=>{X=!1},canStart:c,start:()=>(c()?f():d().then(f),ae)}}var km=function(){let W=[],H=0,r=W=>{W()},n=W=>{W()},o=W=>setTimeout(W,0);const i=U=>{H?W.push(U):o(()=>{r(U)})};return{batch:U=>{let G;H++;try{G=U()}finally{H--,H||(()=>{const H=W;W=[],H.length&&o(()=>{n(()=>{H.forEach(W=>{r(W)})})})})()}return G},batchCalls:W=>(...H)=>{i(()=>{W(...H)})},schedule:i,setNotifyFunction:W=>{r=W},setBatchNotifyFunction:W=>{n=W},setScheduler:W=>{o=W}}}();function Ah(W,H){if(!Object.prototype.hasOwnProperty.call(W,H))throw new TypeError("attempted to use private field on non-instance");return W}var Cm,Em=0;var Om=(Cm=function Dh(W){return"__private_"+Em+++"_"+W}("_gcTimeout"),class{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Yf(this.gcTime)&&(Ah(this,Cm)[Cm]=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(W){this.gcTime=Math.max(this.gcTime||0,W??(tm?1/0:3e5))}clearGcTimeout(){Ah(this,Cm)[Cm]&&(clearTimeout(Ah(this,Cm)[Cm]),Ah(this,Cm)[Cm]=void 0)}constructor(){Object.defineProperty(this,Cm,{writable:!0,value:void 0})}});function zh(W,H){if(!Object.prototype.hasOwnProperty.call(W,H))throw new TypeError("attempted to use private field on non-instance");return W}var Mm,Rm,Im,Tm,Pm,Am,Lm,$m=0;function Xh(W){return"__private_"+$m+++"_"+W}var Dm=(Mm=Xh("_initialState"),Rm=Xh("_revertState"),Im=Xh("_cache"),Tm=Xh("_retryer"),Pm=Xh("_defaultOptions"),Am=Xh("_abortSignalConsumed"),Lm=Xh("_dispatch"),class extends Om{get meta(){return this.options.meta}get promise(){return zh(this,Tm)[Tm]?.promise}setOptions(W){this.options={...zh(this,Pm)[Pm],...W},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||zh(this,Im)[Im].remove(this)}setData(W,H){const U=uh(this.state.data,W,this.options);return zh(this,Lm)[Lm]({data:U,type:"success",dataUpdatedAt:H?.updatedAt,manual:H?.manual}),U}setState(W,H){zh(this,Lm)[Lm]({type:"setState",state:W,setStateOptions:H})}cancel(W){const H=zh(this,Tm)[Tm]?.promise;return zh(this,Tm)[Tm]?.cancel(W),H?H.then(Xf).catch(Xf):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(zh(this,Mm)[Mm])}isActive(){return this.observers.some(W=>!1!==Jf(W.options.enabled,this))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(W=>W.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(W=0){return this.state.isInvalidated||void 0===this.state.data||!Qf(this.state.dataUpdatedAt,W)}onFocus(){const W=this.observers.find(W=>W.shouldFetchOnWindowFocus());W?.refetch({cancelRefetch:!1}),zh(this,Tm)[Tm]?.continue()}onOnline(){const W=this.observers.find(W=>W.shouldFetchOnReconnect());W?.refetch({cancelRefetch:!1}),zh(this,Tm)[Tm]?.continue()}addObserver(W){this.observers.includes(W)||(this.observers.push(W),this.clearGcTimeout(),zh(this,Im)[Im].notify({type:"observerAdded",query:this,observer:W}))}removeObserver(W){this.observers.includes(W)&&(this.observers=this.observers.filter(H=>H!==W),this.observers.length||(zh(this,Tm)[Tm]&&(zh(this,Am)[Am]?zh(this,Tm)[Tm].cancel({revert:!0}):zh(this,Tm)[Tm].cancelRetry()),this.scheduleGc()),zh(this,Im)[Im].notify({type:"observerRemoved",query:this,observer:W}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||zh(this,Lm)[Lm]({type:"invalidate"})}fetch(W,H){if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&H?.cancelRefetch)this.cancel({silent:!0});else if(zh(this,Tm)[Tm])return zh(this,Tm)[Tm].continueRetry(),zh(this,Tm)[Tm].promise;if(W&&this.setOptions(W),!this.options.queryFn){const W=this.observers.find(W=>W.options.queryFn);W&&this.setOptions(W.options)}const U=new AbortController,n=W=>{Object.defineProperty(W,"signal",{enumerable:!0,get:()=>(zh(this,Am)[Am]=!0,U.signal)})},G={fetchOptions:H,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{const W=hh(this.options,H),U={queryKey:this.queryKey,meta:this.meta};return n(U),zh(this,Am)[Am]=!1,this.options.persister?this.options.persister(W,U,this):W(U)}};n(G),this.options.behavior?.onFetch(G,this),zh(this,Rm)[Rm]=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===G.fetchOptions?.meta||zh(this,Lm)[Lm]({type:"fetch",meta:G.fetchOptions?.meta});const i=W=>{Nh(W)&&W.silent||zh(this,Lm)[Lm]({type:"error",error:W}),Nh(W)||(zh(this,Im)[Im].config.onError?.(W,this),zh(this,Im)[Im].config.onSettled?.(this.state.data,W,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return zh(this,Tm)[Tm]=Ph({initialPromise:H?.initialPromise,fn:G.fetchFn,abort:U.abort.bind(U),onSuccess:W=>{if(void 0!==W){try{this.setData(W)}catch(W){return void i(W)}zh(this,Im)[Im].config.onSuccess?.(W,this),zh(this,Im)[Im].config.onSettled?.(W,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1}else i(new Error(`${this.queryHash} data is undefined`))},onError:i,onFail:(W,H)=>{zh(this,Lm)[Lm]({type:"failed",failureCount:W,error:H})},onPause:()=>{zh(this,Lm)[Lm]({type:"pause"})},onContinue:()=>{zh(this,Lm)[Lm]({type:"continue"})},retry:G.options.retry,retryDelay:G.options.retryDelay,networkMode:G.options.networkMode,canRun:()=>!0}),zh(this,Tm)[Tm].start()}constructor(W){super(),Object.defineProperty(this,Lm,{value:Zh}),Object.defineProperty(this,Mm,{writable:!0,value:void 0}),Object.defineProperty(this,Rm,{writable:!0,value:void 0}),Object.defineProperty(this,Im,{writable:!0,value:void 0}),Object.defineProperty(this,Tm,{writable:!0,value:void 0}),Object.defineProperty(this,Pm,{writable:!0,value:void 0}),Object.defineProperty(this,Am,{writable:!0,value:void 0}),zh(this,Am)[Am]=!1,zh(this,Pm)[Pm]=W.defaultOptions,this.setOptions(W.options),this.observers=[],zh(this,Im)[Im]=W.cache,this.queryKey=W.queryKey,this.queryHash=W.queryHash,zh(this,Mm)[Mm]=function(W){const H="function"==typeof W.initialData?W.initialData():W.initialData,U=void 0!==H,G=U?"function"==typeof W.initialDataUpdatedAt?W.initialDataUpdatedAt():W.initialDataUpdatedAt:0;return{data:H,dataUpdateCount:0,dataUpdatedAt:U?G??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:U?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=W.state??zh(this,Mm)[Mm],this.scheduleGc()}});function Qh(W,H){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Rh(H.networkMode)?"fetching":"paused",...void 0===W&&{error:null,status:"pending"}}}function Zh(W){this.state=(H=>{switch(W.type){case"failed":return{...H,fetchFailureCount:W.failureCount,fetchFailureReason:W.error};case"pause":return{...H,fetchStatus:"paused"};case"continue":return{...H,fetchStatus:"fetching"};case"fetch":return{...H,...Qh(H.data,this.options),fetchMeta:W.meta??null};case"success":return{...H,data:W.data,dataUpdateCount:H.dataUpdateCount+1,dataUpdatedAt:W.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!W.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const U=W.error;return Nh(U)&&U.revert&&zh(this,Rm)[Rm]?{...zh(this,Rm)[Rm],fetchStatus:"idle"}:{...H,error:U,errorUpdateCount:H.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:H.fetchFailureCount+1,fetchFailureReason:U,fetchStatus:"idle",status:"error"};case"invalidate":return{...H,isInvalidated:!0};case"setState":return{...H,...W.state}}})(this.state),km.batch(()=>{this.observers.forEach(W=>{W.onQueryUpdate()}),zh(this,Im)[Im].notify({query:this,type:"updated",action:W})})}function Jh(W,H){if(!Object.prototype.hasOwnProperty.call(W,H))throw new TypeError("attempted to use private field on non-instance");return W}var Fm,zm=0;var Bm=(Fm=function rm(W){return"__private_"+zm+++"_"+W}("_queries"),class extends em{build(W,H,U){const G=H.queryKey,X=H.queryHash??rh(G,H);let oe=this.get(X);return oe||(oe=new Dm({cache:this,queryKey:G,queryHash:X,options:W.defaultQueryOptions(H),state:U,defaultOptions:W.getQueryDefaults(G)}),this.add(oe)),oe}add(W){Jh(this,Fm)[Fm].has(W.queryHash)||(Jh(this,Fm)[Fm].set(W.queryHash,W),this.notify({type:"added",query:W}))}remove(W){const H=Jh(this,Fm)[Fm].get(W.queryHash);H&&(W.destroy(),H===W&&Jh(this,Fm)[Fm].delete(W.queryHash),this.notify({type:"removed",query:W}))}clear(){km.batch(()=>{this.getAll().forEach(W=>{this.remove(W)})})}get(W){return Jh(this,Fm)[Fm].get(W)}getAll(){return[...Jh(this,Fm)[Fm].values()]}find(W){const H={exact:!0,...W};return this.getAll().find(W=>eh(H,W))}findAll(W={}){const H=this.getAll();return Object.keys(W).length>0?H.filter(H=>eh(W,H)):H}notify(W){km.batch(()=>{this.listeners.forEach(H=>{H(W)})})}onFocus(){km.batch(()=>{this.getAll().forEach(W=>{W.onFocus()})})}onOnline(){km.batch(()=>{this.getAll().forEach(W=>{W.onOnline()})})}constructor(W={}){super(),Object.defineProperty(this,Fm,{writable:!0,value:void 0}),this.config=W,Jh(this,Fm)[Fm]=new Map}});function om(W,H){if(!Object.prototype.hasOwnProperty.call(W,H))throw new TypeError("attempted to use private field on non-instance");return W}var Vm,qm,Wm,Hm,Um=0;function um(W){return"__private_"+Um+++"_"+W}var Km=(Vm=um("_observers"),qm=um("_mutationCache"),Wm=um("_retryer"),Hm=um("_dispatch"),class extends Om{setOptions(W){this.options=W,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(W){om(this,Vm)[Vm].includes(W)||(om(this,Vm)[Vm].push(W),this.clearGcTimeout(),om(this,qm)[qm].notify({type:"observerAdded",mutation:this,observer:W}))}removeObserver(W){om(this,Vm)[Vm]=om(this,Vm)[Vm].filter(H=>H!==W),this.scheduleGc(),om(this,qm)[qm].notify({type:"observerRemoved",mutation:this,observer:W})}optionalRemove(){om(this,Vm)[Vm].length||("pending"===this.state.status?this.scheduleGc():om(this,qm)[qm].remove(this))}continue(){return om(this,Wm)[Wm]?.continue()??this.execute(this.state.variables)}async execute(W){om(this,Wm)[Wm]=Ph({fn:()=>this.options.mutationFn?this.options.mutationFn(W):Promise.reject(new Error("No mutationFn found")),onFail:(W,H)=>{om(this,Hm)[Hm]({type:"failed",failureCount:W,error:H})},onPause:()=>{om(this,Hm)[Hm]({type:"pause"})},onContinue:()=>{om(this,Hm)[Hm]({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>om(this,qm)[qm].canRun(this)});const H="pending"===this.state.status,U=!om(this,Wm)[Wm].canStart();try{if(!H){om(this,Hm)[Hm]({type:"pending",variables:W,isPaused:U}),await(om(this,qm)[qm].config.onMutate?.(W,this));const H=await(this.options.onMutate?.(W));H!==this.state.context&&om(this,Hm)[Hm]({type:"pending",context:H,variables:W,isPaused:U})}const G=await om(this,Wm)[Wm].start();return await(om(this,qm)[qm].config.onSuccess?.(G,W,this.state.context,this)),await(this.options.onSuccess?.(G,W,this.state.context)),await(om(this,qm)[qm].config.onSettled?.(G,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(G,null,W,this.state.context)),om(this,Hm)[Hm]({type:"success",data:G}),G}catch(H){try{throw await(om(this,qm)[qm].config.onError?.(H,W,this.state.context,this)),await(this.options.onError?.(H,W,this.state.context)),await(om(this,qm)[qm].config.onSettled?.(void 0,H,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,H,W,this.state.context)),H}finally{om(this,Hm)[Hm]({type:"error",error:H})}}finally{om(this,qm)[qm].runNext(this)}}constructor(W){super(),Object.defineProperty(this,Hm,{value:dm}),Object.defineProperty(this,Vm,{writable:!0,value:void 0}),Object.defineProperty(this,qm,{writable:!0,value:void 0}),Object.defineProperty(this,Wm,{writable:!0,value:void 0}),this.mutationId=W.mutationId,om(this,qm)[qm]=W.mutationCache,om(this,Vm)[Vm]=[],this.state=W.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(W.options),this.scheduleGc()}});function dm(W){this.state=(H=>{switch(W.type){case"failed":return{...H,failureCount:W.failureCount,failureReason:W.error};case"pause":return{...H,isPaused:!0};case"continue":return{...H,isPaused:!1};case"pending":return{...H,context:W.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:W.isPaused,status:"pending",variables:W.variables,submittedAt:Date.now()};case"success":return{...H,data:W.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...H,data:void 0,error:W.error,failureCount:H.failureCount+1,failureReason:W.error,isPaused:!1,status:"error"}}})(this.state),km.batch(()=>{om(this,Vm)[Vm].forEach(H=>{H.onMutationUpdate(W)}),om(this,qm)[qm].notify({mutation:this,type:"updated",action:W})})}function fm(W,H){if(!Object.prototype.hasOwnProperty.call(W,H))throw new TypeError("attempted to use private field on non-instance");return W}var Gm,Xm,Ym=0;function ym(W){return"__private_"+Ym+++"_"+W}var Zm=(Gm=ym("_mutations"),Xm=ym("_mutationId"),class extends em{build(W,H,U){const G=new Km({mutationCache:this,mutationId:++fm(this,Xm)[Xm],options:W.defaultMutationOptions(H),state:U});return this.add(G),G}add(W){const H=vm(W),U=fm(this,Gm)[Gm].get(H)??[];U.push(W),fm(this,Gm)[Gm].set(H,U),this.notify({type:"added",mutation:W})}remove(W){const H=vm(W);if(fm(this,Gm)[Gm].has(H)){const U=fm(this,Gm)[Gm].get(H)?.filter(H=>H!==W);U&&(0===U.length?fm(this,Gm)[Gm].delete(H):fm(this,Gm)[Gm].set(H,U))}this.notify({type:"removed",mutation:W})}canRun(W){const H=fm(this,Gm)[Gm].get(vm(W))?.find(W=>"pending"===W.state.status);return!H||H===W}runNext(W){const H=fm(this,Gm)[Gm].get(vm(W))?.find(H=>H!==W&&H.state.isPaused);return H?.continue()??Promise.resolve()}clear(){km.batch(()=>{this.getAll().forEach(W=>{this.remove(W)})})}getAll(){return[...fm(this,Gm)[Gm].values()].flat()}find(W){const H={exact:!0,...W};return this.getAll().find(W=>th(H,W))}findAll(W={}){return this.getAll().filter(H=>th(W,H))}notify(W){km.batch(()=>{this.listeners.forEach(H=>{H(W)})})}resumePausedMutations(){const W=this.getAll().filter(W=>W.state.isPaused);return km.batch(()=>Promise.all(W.map(W=>W.continue().catch(Xf))))}constructor(W={}){super(),Object.defineProperty(this,Gm,{writable:!0,value:void 0}),Object.defineProperty(this,Xm,{writable:!0,value:void 0}),this.config=W,fm(this,Gm)[Gm]=new Map,fm(this,Xm)[Xm]=Date.now()}});function vm(W){return W.options.scope?.id??String(W.mutationId)}function xm(W,{pages:H,pageParams:U}){const G=H.length-1;return H.length>0?W.getNextPageParam(H[G],H,U[G],U):void 0}function _m(W,{pages:H,pageParams:U}){return H.length>0?W.getPreviousPageParam?.(H[0],H,U[0],U):void 0}function wm(W,H){if(!Object.prototype.hasOwnProperty.call(W,H))throw new TypeError("attempted to use private field on non-instance");return W}var Jm,Qm,eg,tg,rg,ng,og,ag,_g=0;function Nm(W){return"__private_"+_g+++"_"+W}var wg=(Jm=Nm("_queryCache"),Qm=Nm("_mutationCache"),eg=Nm("_defaultOptions"),tg=Nm("_queryDefaults"),rg=Nm("_mutationDefaults"),ng=Nm("_mountCount"),og=Nm("_unsubscribeFocus"),ag=Nm("_unsubscribeOnline"),class{mount(){wm(this,ng)[ng]++,1===wm(this,ng)[ng]&&(wm(this,og)[og]=cm.subscribe(async W=>{W&&(await this.resumePausedMutations(),wm(this,Jm)[Jm].onFocus())}),wm(this,ag)[ag]=bm.subscribe(async W=>{W&&(await this.resumePausedMutations(),wm(this,Jm)[Jm].onOnline())}))}unmount(){wm(this,ng)[ng]--,0===wm(this,ng)[ng]&&(null==wm(this,og)[og]||wm(this,og)[og].call(this),wm(this,og)[og]=void 0,null==wm(this,ag)[ag]||wm(this,ag)[ag].call(this),wm(this,ag)[ag]=void 0)}isFetching(W){return wm(this,Jm)[Jm].findAll({...W,fetchStatus:"fetching"}).length}isMutating(W){return wm(this,Qm)[Qm].findAll({...W,status:"pending"}).length}getQueryData(W){const H=this.defaultQueryOptions({queryKey:W});return wm(this,Jm)[Jm].get(H.queryHash)?.state.data}ensureQueryData(W){const H=this.getQueryData(W.queryKey);if(void 0===H)return this.fetchQuery(W);{const U=this.defaultQueryOptions(W),G=wm(this,Jm)[Jm].build(this,U);return W.revalidateIfStale&&G.isStaleByTime(Zf(U.staleTime,G))&&this.prefetchQuery(U),Promise.resolve(H)}}getQueriesData(W){return wm(this,Jm)[Jm].findAll(W).map(({queryKey:W,state:H})=>[W,H.data])}setQueryData(W,H,U){const G=this.defaultQueryOptions({queryKey:W}),X=wm(this,Jm)[Jm].get(G.queryHash),oe=X?.state.data,ie=function(W,H){return"function"==typeof W?W(H):W}(H,oe);if(void 0!==ie)return wm(this,Jm)[Jm].build(this,G).setData(ie,{...U,manual:!0})}setQueriesData(W,H,U){return km.batch(()=>wm(this,Jm)[Jm].findAll(W).map(({queryKey:W})=>[W,this.setQueryData(W,H,U)]))}getQueryState(W){const H=this.defaultQueryOptions({queryKey:W});return wm(this,Jm)[Jm].get(H.queryHash)?.state}removeQueries(W){const H=wm(this,Jm)[Jm];km.batch(()=>{H.findAll(W).forEach(W=>{H.remove(W)})})}resetQueries(W,H){const U=wm(this,Jm)[Jm],G={type:"active",...W};return km.batch(()=>(U.findAll(W).forEach(W=>{W.reset()}),this.refetchQueries(G,H)))}cancelQueries(W={},H={}){const U={revert:!0,...H},G=km.batch(()=>wm(this,Jm)[Jm].findAll(W).map(W=>W.cancel(U)));return Promise.all(G).then(Xf).catch(Xf)}invalidateQueries(W={},H={}){return km.batch(()=>{if(wm(this,Jm)[Jm].findAll(W).forEach(W=>{W.invalidate()}),"none"===W.refetchType)return Promise.resolve();const U={...W,type:W.refetchType??W.type??"active"};return this.refetchQueries(U,H)})}refetchQueries(W={},H){const U={...H,cancelRefetch:H?.cancelRefetch??!0},G=km.batch(()=>wm(this,Jm)[Jm].findAll(W).filter(W=>!W.isDisabled()).map(W=>{let H=W.fetch(void 0,U);return U.throwOnError||(H=H.catch(Xf)),"paused"===W.state.fetchStatus?Promise.resolve():H}));return Promise.all(G).then(Xf)}fetchQuery(W){const H=this.defaultQueryOptions(W);void 0===H.retry&&(H.retry=!1);const U=wm(this,Jm)[Jm].build(this,H);return U.isStaleByTime(Zf(H.staleTime,U))?U.fetch(H):Promise.resolve(U.state.data)}prefetchQuery(W){return this.fetchQuery(W).then(Xf).catch(Xf)}fetchInfiniteQuery(W){return W.behavior=(H=W.pages,{onFetch:(W,U)=>{const n=async()=>{const U=W.options,G=W.fetchOptions?.meta?.fetchMore?.direction,X=W.state.data?.pages||[],oe=W.state.data?.pageParams||[],ie={pages:[],pageParams:[]};let ae=!1;const le=hh(W.options,W.fetchOptions),c=async(H,U,G)=>{if(ae)return Promise.reject();if(null==U&&H.pages.length)return Promise.resolve(H);const X={queryKey:W.queryKey,pageParam:U,direction:G?"backward":"forward",meta:W.options.meta};var oe;oe=X,Object.defineProperty(oe,"signal",{enumerable:!0,get:()=>(W.signal.aborted?ae=!0:W.signal.addEventListener("abort",()=>{ae=!0}),W.signal)});const ie=await le(X),{maxPages:ce}=W.options,ue=G?dh:ph;return{pages:ue(H.pages,ie,ce),pageParams:ue(H.pageParams,U,ce)}};let ce;if(G&&X.length){const W="backward"===G,H={pages:X,pageParams:oe},ie=(W?_m:xm)(U,H);ce=await c(H,ie,W)}else{ce=await c(ie,oe[0]??U.initialPageParam);const W=H??X.length;for(let H=1;H<W;H++){const W=xm(U,ce);if(null==W)break;ce=await c(ce,W)}}return ce};W.options.persister?W.fetchFn=()=>W.options.persister?.(n,{queryKey:W.queryKey,meta:W.options.meta,signal:W.signal},U):W.fetchFn=n}}),this.fetchQuery(W);var H}prefetchInfiniteQuery(W){return this.fetchInfiniteQuery(W).then(Xf).catch(Xf)}resumePausedMutations(){return bm.isOnline()?wm(this,Qm)[Qm].resumePausedMutations():Promise.resolve()}getQueryCache(){return wm(this,Jm)[Jm]}getMutationCache(){return wm(this,Qm)[Qm]}getDefaultOptions(){return wm(this,eg)[eg]}setDefaultOptions(W){wm(this,eg)[eg]=W}setQueryDefaults(W,H){wm(this,tg)[tg].set(nh(W),{queryKey:W,defaultOptions:H})}getQueryDefaults(W){const H=[...wm(this,tg)[tg].values()];let U={};return H.forEach(H=>{oh(W,H.queryKey)&&(U={...U,...H.defaultOptions})}),U}setMutationDefaults(W,H){wm(this,rg)[rg].set(nh(W),{mutationKey:W,defaultOptions:H})}getMutationDefaults(W){const H=[...wm(this,rg)[rg].values()];let U={};return H.forEach(H=>{oh(W,H.mutationKey)&&(U={...U,...H.defaultOptions})}),U}defaultQueryOptions(W){if(W._defaulted)return W;const H={...wm(this,eg)[eg].queries,...this.getQueryDefaults(W.queryKey),...W,_defaulted:!0};return H.queryHash||(H.queryHash=rh(H.queryKey,H)),void 0===H.refetchOnReconnect&&(H.refetchOnReconnect="always"!==H.networkMode),void 0===H.throwOnError&&(H.throwOnError=!!H.suspense),!H.networkMode&&H.persister&&(H.networkMode="offlineFirst"),!0!==H.enabled&&H.queryFn===nm&&(H.enabled=!1),H}defaultMutationOptions(W){return W?._defaulted?W:{...wm(this,eg)[eg].mutations,...W?.mutationKey&&this.getMutationDefaults(W.mutationKey),...W,_defaulted:!0}}clear(){wm(this,Jm)[Jm].clear(),wm(this,Qm)[Qm].clear()}constructor(W={}){Object.defineProperty(this,Jm,{writable:!0,value:void 0}),Object.defineProperty(this,Qm,{writable:!0,value:void 0}),Object.defineProperty(this,eg,{writable:!0,value:void 0}),Object.defineProperty(this,tg,{writable:!0,value:void 0}),Object.defineProperty(this,rg,{writable:!0,value:void 0}),Object.defineProperty(this,ng,{writable:!0,value:void 0}),Object.defineProperty(this,og,{writable:!0,value:void 0}),Object.defineProperty(this,ag,{writable:!0,value:void 0}),wm(this,Jm)[Jm]=W.queryCache||new Bm,wm(this,Qm)[Qm]=W.mutationCache||new Zm,wm(this,eg)[eg]=W.defaultOptions||{},wm(this,tg)[tg]=new Map,wm(this,rg)[rg]=new Map,wm(this,ng)[ng]=0}});function jm(W,H){if(!Object.prototype.hasOwnProperty.call(W,H))throw new TypeError("attempted to use private field on non-instance");return W}var Sg,kg,Cg,Eg,Og,Mg,Ag,Ng,$g,Bg,Vg,qg,Wg,Hg,Ug,Kg,Xg,Yg,ay,sy,wy,Sy,Ey,My=0;function ig(W){return"__private_"+My+++"_"+W}var Ty=(Sg=ig("_client"),kg=ig("_currentQuery"),Cg=ig("_currentQueryInitialState"),Eg=ig("_currentResult"),Og=ig("_currentResultState"),Mg=ig("_currentResultOptions"),Ag=ig("_selectError"),Ng=ig("_selectFn"),$g=ig("_selectResult"),Bg=ig("_lastQueryWithDefinedData"),Vg=ig("_staleTimeoutId"),qg=ig("_refetchIntervalId"),Wg=ig("_currentRefetchInterval"),Hg=ig("_trackedProps"),Ug=ig("_executeFetch"),Kg=ig("_updateStaleTimeout"),Xg=ig("_computeRefetchInterval"),Yg=ig("_updateRefetchInterval"),ay=ig("_updateTimers"),sy=ig("_clearStaleTimeout"),wy=ig("_clearRefetchInterval"),Sy=ig("_updateQuery"),Ey=ig("_notify"),class extends em{bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(jm(this,kg)[kg].addObserver(this),sg(jm(this,kg)[kg],this.options)?jm(this,Ug)[Ug]():this.updateResult(),jm(this,ay)[ay]())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return lg(jm(this,kg)[kg],this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return lg(jm(this,kg)[kg],this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,jm(this,sy)[sy](),jm(this,wy)[wy](),jm(this,kg)[kg].removeObserver(this)}setOptions(W,H){const U=this.options,G=jm(this,kg)[kg];if(this.options=jm(this,Sg)[Sg].defaultQueryOptions(W),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof Jf(this.options.enabled,jm(this,kg)[kg]))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");jm(this,Sy)[Sy](),jm(this,kg)[kg].setOptions(this.options),U._defaulted&&!ah(this.options,U)&&jm(this,Sg)[Sg].getQueryCache().notify({type:"observerOptionsUpdated",query:jm(this,kg)[kg],observer:this});const X=this.hasListeners();X&&cg(jm(this,kg)[kg],G,this.options,U)&&jm(this,Ug)[Ug](),this.updateResult(H),!X||jm(this,kg)[kg]===G&&Jf(this.options.enabled,jm(this,kg)[kg])===Jf(U.enabled,jm(this,kg)[kg])&&Zf(this.options.staleTime,jm(this,kg)[kg])===Zf(U.staleTime,jm(this,kg)[kg])||jm(this,Kg)[Kg]();const oe=jm(this,Xg)[Xg]();!X||jm(this,kg)[kg]===G&&Jf(this.options.enabled,jm(this,kg)[kg])===Jf(U.enabled,jm(this,kg)[kg])&&oe===jm(this,Wg)[Wg]||jm(this,Yg)[Yg](oe)}getOptimisticResult(W){const H=jm(this,Sg)[Sg].getQueryCache().build(jm(this,Sg)[Sg],W),U=this.createResult(H,W);return G=U,!ah(this.getCurrentResult(),G)&&(jm(this,Eg)[Eg]=U,jm(this,Mg)[Mg]=this.options,jm(this,Og)[Og]=jm(this,kg)[kg].state),U;var G}getCurrentResult(){return jm(this,Eg)[Eg]}trackResult(W,H){const U={};return Object.keys(W).forEach(G=>{Object.defineProperty(U,G,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(G),H?.(G),W[G])})}),U}trackProp(W){jm(this,Hg)[Hg].add(W)}getCurrentQuery(){return jm(this,kg)[kg]}refetch({...W}={}){return this.fetch({...W})}fetchOptimistic(W){const H=jm(this,Sg)[Sg].defaultQueryOptions(W),U=jm(this,Sg)[Sg].getQueryCache().build(jm(this,Sg)[Sg],H);return U.isFetchingOptimistic=!0,U.fetch().then(()=>this.createResult(U,H))}fetch(W){return jm(this,Ug)[Ug]({...W,cancelRefetch:W.cancelRefetch??!0}).then(()=>(this.updateResult(),jm(this,Eg)[Eg]))}createResult(W,H){const U=jm(this,kg)[kg],G=this.options,X=jm(this,Eg)[Eg],oe=jm(this,Og)[Og],ie=jm(this,Mg)[Mg],ae=W!==U?W.state:jm(this,Cg)[Cg],{state:le}=W;let ce,ue={...le},de=!1;if(H._optimisticResults){const X=this.hasListeners(),oe=!X&&sg(W,H),ie=X&&cg(W,U,H,G);(oe||ie)&&(ue={...ue,...Qh(le.data,W.options)}),"isRestoring"===H._optimisticResults&&(ue.fetchStatus="idle")}let{error:pe,errorUpdatedAt:fe,status:ke}=ue;if(H.select&&void 0!==ue.data)if(X&&ue.data===oe?.data&&H.select===jm(this,Ng)[Ng])ce=jm(this,$g)[$g];else try{jm(this,Ng)[Ng]=H.select,ce=H.select(ue.data),ce=uh(X?.data,ce,H),jm(this,$g)[$g]=ce,jm(this,Ag)[Ag]=null}catch(W){jm(this,Ag)[Ag]=W}else ce=ue.data;if(void 0!==H.placeholderData&&void 0===ce&&"pending"===ke){let U;if(X?.isPlaceholderData&&H.placeholderData===ie?.placeholderData)U=X.data;else if(U="function"==typeof H.placeholderData?H.placeholderData(jm(this,Bg)[Bg]?.state.data,jm(this,Bg)[Bg]):H.placeholderData,H.select&&void 0!==U)try{U=H.select(U),jm(this,Ag)[Ag]=null}catch(W){jm(this,Ag)[Ag]=W}void 0!==U&&(ke="success",ce=uh(X?.data,U,H),de=!0)}jm(this,Ag)[Ag]&&(pe=jm(this,Ag)[Ag],ce=jm(this,$g)[$g],fe=Date.now(),ke="error");const Qe="fetching"===ue.fetchStatus,tt="pending"===ke,it="error"===ke,at=tt&&Qe,st=void 0!==ce;return{status:ke,fetchStatus:ue.fetchStatus,isPending:tt,isSuccess:"success"===ke,isError:it,isInitialLoading:at,isLoading:at,data:ce,dataUpdatedAt:ue.dataUpdatedAt,error:pe,errorUpdatedAt:fe,failureCount:ue.fetchFailureCount,failureReason:ue.fetchFailureReason,errorUpdateCount:ue.errorUpdateCount,isFetched:ue.dataUpdateCount>0||ue.errorUpdateCount>0,isFetchedAfterMount:ue.dataUpdateCount>ae.dataUpdateCount||ue.errorUpdateCount>ae.errorUpdateCount,isFetching:Qe,isRefetching:Qe&&!tt,isLoadingError:it&&!st,isPaused:"paused"===ue.fetchStatus,isPlaceholderData:de,isRefetchError:it&&st,isStale:ug(W,H),refetch:this.refetch}}updateResult(W){const H=jm(this,Eg)[Eg],U=this.createResult(jm(this,kg)[kg],this.options);if(jm(this,Og)[Og]=jm(this,kg)[kg].state,jm(this,Mg)[Mg]=this.options,void 0!==jm(this,Og)[Og].data&&(jm(this,Bg)[Bg]=jm(this,kg)[kg]),ah(U,H))return;jm(this,Eg)[Eg]=U;const G={};!1!==W?.listeners&&(()=>{if(!H)return!0;const{notifyOnChangeProps:W}=this.options,U="function"==typeof W?W():W;if("all"===U||!U&&!jm(this,Hg)[Hg].size)return!0;const G=new Set(U??jm(this,Hg)[Hg]);return this.options.throwOnError&&G.add("error"),Object.keys(jm(this,Eg)[Eg]).some(W=>{const U=W;return jm(this,Eg)[Eg][U]!==H[U]&&G.has(U)})})()&&(G.listeners=!0),jm(this,Ey)[Ey]({...G,...W})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&jm(this,ay)[ay]()}constructor(W,H){super(),Object.defineProperty(this,Ug,{value:pg}),Object.defineProperty(this,Kg,{value:dg}),Object.defineProperty(this,Xg,{value:fg}),Object.defineProperty(this,Yg,{value:hg}),Object.defineProperty(this,ay,{value:mg}),Object.defineProperty(this,sy,{value:gg}),Object.defineProperty(this,wy,{value:yg}),Object.defineProperty(this,Sy,{value:bg}),Object.defineProperty(this,Ey,{value:vg}),Object.defineProperty(this,Sg,{writable:!0,value:void 0}),Object.defineProperty(this,kg,{writable:!0,value:void 0}),Object.defineProperty(this,Cg,{writable:!0,value:void 0}),Object.defineProperty(this,Eg,{writable:!0,value:void 0}),Object.defineProperty(this,Og,{writable:!0,value:void 0}),Object.defineProperty(this,Mg,{writable:!0,value:void 0}),Object.defineProperty(this,Ag,{writable:!0,value:void 0}),Object.defineProperty(this,Ng,{writable:!0,value:void 0}),Object.defineProperty(this,$g,{writable:!0,value:void 0}),Object.defineProperty(this,Bg,{writable:!0,value:void 0}),Object.defineProperty(this,Vg,{writable:!0,value:void 0}),Object.defineProperty(this,qg,{writable:!0,value:void 0}),Object.defineProperty(this,Wg,{writable:!0,value:void 0}),Object.defineProperty(this,Hg,{writable:!0,value:void 0}),jm(this,kg)[kg]=void 0,jm(this,Cg)[Cg]=void 0,jm(this,Eg)[Eg]=void 0,jm(this,Hg)[Hg]=new Set,this.options=H,jm(this,Sg)[Sg]=W,jm(this,Ag)[Ag]=null,this.bindMethods(),this.setOptions(H)}});function sg(W,H){return function(W,H){return!1!==Jf(H.enabled,W)&&void 0===W.state.data&&!("error"===W.state.status&&!1===H.retryOnMount)}(W,H)||void 0!==W.state.data&&lg(W,H,H.refetchOnMount)}function lg(W,H,U){if(!1!==Jf(H.enabled,W)){const G="function"==typeof U?U(W):U;return"always"===G||!1!==G&&ug(W,H)}return!1}function cg(W,H,U,G){return(W!==H||!1===Jf(G.enabled,W))&&(!U.suspense||"error"!==W.state.status)&&ug(W,U)}function ug(W,H){return!1!==Jf(H.enabled,W)&&W.isStaleByTime(Zf(H.staleTime,W))}function pg(W){jm(this,Sy)[Sy]();let H=jm(this,kg)[kg].fetch(this.options,W);return W?.throwOnError||(H=H.catch(Xf)),H}function dg(){jm(this,sy)[sy]();const W=Zf(this.options.staleTime,jm(this,kg)[kg]);if(tm||jm(this,Eg)[Eg].isStale||!Yf(W))return;const H=Qf(jm(this,Eg)[Eg].dataUpdatedAt,W)+1;jm(this,Vg)[Vg]=setTimeout(()=>{jm(this,Eg)[Eg].isStale||this.updateResult()},H)}function fg(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(jm(this,kg)[kg]):this.options.refetchInterval)??!1}function hg(W){jm(this,wy)[wy](),jm(this,Wg)[Wg]=W,!tm&&!1!==Jf(this.options.enabled,jm(this,kg)[kg])&&Yf(jm(this,Wg)[Wg])&&0!==jm(this,Wg)[Wg]&&(jm(this,qg)[qg]=setInterval(()=>{(this.options.refetchIntervalInBackground||cm.isFocused())&&jm(this,Ug)[Ug]()},jm(this,Wg)[Wg]))}function mg(){jm(this,Kg)[Kg](),jm(this,Yg)[Yg](jm(this,Xg)[Xg]())}function gg(){jm(this,Vg)[Vg]&&(clearTimeout(jm(this,Vg)[Vg]),jm(this,Vg)[Vg]=void 0)}function yg(){jm(this,qg)[qg]&&(clearInterval(jm(this,qg)[qg]),jm(this,qg)[qg]=void 0)}function bg(){const W=jm(this,Sg)[Sg].getQueryCache().build(jm(this,Sg)[Sg],this.options);if(W===jm(this,kg)[kg])return;const H=jm(this,kg)[kg];jm(this,kg)[kg]=W,jm(this,Cg)[Cg]=W.state,this.hasListeners()&&(H?.removeObserver(this),W.addObserver(this))}function vg(W){km.batch(()=>{W.listeners&&this.listeners.forEach(W=>{W(jm(this,Eg)[Eg])}),jm(this,Sg)[Sg].getQueryCache().notify({query:jm(this,kg)[kg],type:"observerResultsUpdated"})})}function xg(W,H){if(!Object.prototype.hasOwnProperty.call(W,H))throw new TypeError("attempted to use private field on non-instance");return W}var Py,Ay,Ny,Ly,Fy,Ky,Yy=0;function Tg(W){return"__private_"+Yy+++"_"+W}var Zy=(Py=Tg("_client"),Ay=Tg("_currentResult"),Ny=Tg("_currentMutation"),Ly=Tg("_mutateOptions"),Fy=Tg("_updateResult"),Ky=Tg("_notify"),class extends em{bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(W){const H=this.options;this.options=xg(this,Py)[Py].defaultMutationOptions(W),ah(this.options,H)||xg(this,Py)[Py].getMutationCache().notify({type:"observerOptionsUpdated",mutation:xg(this,Ny)[Ny],observer:this}),H?.mutationKey&&this.options.mutationKey&&nh(H.mutationKey)!==nh(this.options.mutationKey)?this.reset():"pending"===xg(this,Ny)[Ny]?.state.status&&xg(this,Ny)[Ny].setOptions(this.options)}onUnsubscribe(){this.hasListeners()||xg(this,Ny)[Ny]?.removeObserver(this)}onMutationUpdate(W){xg(this,Fy)[Fy](),xg(this,Ky)[Ky](W)}getCurrentResult(){return xg(this,Ay)[Ay]}reset(){xg(this,Ny)[Ny]?.removeObserver(this),xg(this,Ny)[Ny]=void 0,xg(this,Fy)[Fy](),xg(this,Ky)[Ky]()}mutate(W,H){return xg(this,Ly)[Ly]=H,xg(this,Ny)[Ny]?.removeObserver(this),xg(this,Ny)[Ny]=xg(this,Py)[Py].getMutationCache().build(xg(this,Py)[Py],this.options),xg(this,Ny)[Ny].addObserver(this),xg(this,Ny)[Ny].execute(W)}constructor(W,H){super(),Object.defineProperty(this,Fy,{value:Rg}),Object.defineProperty(this,Ky,{value:Ig}),Object.defineProperty(this,Py,{writable:!0,value:void 0}),Object.defineProperty(this,Ay,{writable:!0,value:void 0}),Object.defineProperty(this,Ny,{writable:!0,value:void 0}),Object.defineProperty(this,Ly,{writable:!0,value:void 0}),xg(this,Ay)[Ay]=void 0,xg(this,Py)[Py]=W,this.setOptions(H),this.bindMethods(),xg(this,Fy)[Fy]()}});function Rg(){const W=xg(this,Ny)[Ny]?.state??{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0};xg(this,Ay)[Ay]={...W,isPending:"pending"===W.status,isSuccess:"success"===W.status,isError:"error"===W.status,isIdle:"idle"===W.status,mutate:this.mutate,reset:this.reset}}function Ig(W){km.batch(()=>{if(xg(this,Ly)[Ly]&&this.hasListeners()){const H=xg(this,Ay)[Ay].variables,U=xg(this,Ay)[Ay].context;"success"===W?.type?(xg(this,Ly)[Ly].onSuccess?.(W.data,H,U),xg(this,Ly)[Ly].onSettled?.(W.data,null,H,U)):"error"===W?.type&&(xg(this,Ly)[Ly].onError?.(W.error,H,U),xg(this,Ly)[Ly].onSettled?.(void 0,W.error,H,U))}this.listeners.forEach(W=>{W(xg(this,Ay)[Ay])})})}var Qy=ie.createContext(void 0),Pg=W=>{const H=ie.useContext(Qy);if(!H)throw new Error("No QueryClient set, use QueryClientProvider to set one");return H},jg=({client:W,children:H})=>(ie.useEffect(()=>(W.mount(),()=>{W.unmount()}),[W]),G.jsx(Qy.Provider,{value:W,children:H})),rv=ie.createContext(!1),av=ie.createContext(function(){let W=!1;return{clearReset:()=>{W=!1},reset:()=>{W=!0},isReset:()=>W}}());function Lg(W,H){return"function"==typeof W?W(...H):!!W}function Dg(){}function Fg(W,H){return function(W,H){const U=Pg(),G=ie.useContext(rv),X=ie.useContext(av),oe=U.defaultQueryOptions(W);U.getDefaultOptions().queries?._experimental_beforeQuery?.(oe),oe._optimisticResults=G?"isRestoring":"optimistic",(W=>{W.suspense&&("number"!=typeof W.staleTime&&(W.staleTime=1e3),"number"==typeof W.gcTime&&(W.gcTime=Math.max(W.gcTime,1e3)))})(oe),((W,H)=>{(W.suspense||W.throwOnError)&&(H.isReset()||(W.retryOnMount=!1))})(oe,X),(W=>{ie.useEffect(()=>{W.clearReset()},[W])})(X);const[ae]=ie.useState(()=>new H(U,oe)),le=ae.getOptimisticResult(oe);if(ie.useSyncExternalStore(ie.useCallback(W=>{const H=G?()=>{}:ae.subscribe(km.batchCalls(W));return ae.updateResult(),H},[ae,G]),()=>ae.getCurrentResult(),()=>ae.getCurrentResult()),ie.useEffect(()=>{ae.setOptions(oe,{listeners:!1})},[oe,ae]),((W,H)=>W?.suspense&&H.isPending)(oe,le))throw((W,H,U)=>H.fetchOptimistic(W).catch(()=>{U.clearReset()}))(oe,ae,X);if((({result:W,errorResetBoundary:H,throwOnError:U,query:G})=>W.isError&&!H.isReset()&&!W.isFetching&&G&&Lg(U,[W.error,G]))({result:le,errorResetBoundary:X,throwOnError:oe.throwOnError,query:U.getQueryCache().get(oe.queryHash)}))throw le.error;return U.getDefaultOptions().queries?._experimental_afterQuery?.(oe,le),oe.notifyOnChangeProps?le:ae.trackResult(le)}(W,Ty)}function zg(W,H){const U=Pg(),[G]=ie.useState(()=>new Zy(U,W));ie.useEffect(()=>{G.setOptions(W)},[G,W]);const X=ie.useSyncExternalStore(ie.useCallback(W=>G.subscribe(km.batchCalls(W)),[G]),()=>G.getCurrentResult(),()=>G.getCurrentResult()),oe=ie.useCallback((W,H)=>{G.mutate(W,H).catch(Dg)},[G]);if(X.error&&Lg(G.options.throwOnError,[X.error]))throw X.error;return{...X,mutate:oe,mutateAsync:X.mutate}}const sv={local:{SUPPORT_FORM_URL:"https://my.stg.elementor.red/support-form/",FEEDBACK_API:"https://my.stg.elementor.red/feedback/api/v1",WHATS_NEW_API:"https://my.stg.elementor.red/whats-new/api/v1",MY_ELEMENTOR_URL:"https://my.stg.elementor.red"},development:{SUPPORT_FORM_URL:"https://my.dev.elementor.red/support-form/",FEEDBACK_API:"https://my.dev.elementor.red/feedback/api/v1",WHATS_NEW_API:"https://my.dev.elementor.red/whats-new/api/v1",MY_ELEMENTOR_URL:"https://my.dev.elementor.red"},staging:{SUPPORT_FORM_URL:"https://my.stg.elementor.red/support-form/",FEEDBACK_API:"https://my.stg.elementor.red/feedback/api/v1",WHATS_NEW_API:"https://my.stg.elementor.red/whats-new/api/v1",MY_ELEMENTOR_URL:"https://my.stg.elementor.red"},production:{SUPPORT_FORM_URL:"https://my.elementor.com/support-form/",FEEDBACK_API:"https://my.elementor.com/feedback/api/v1",WHATS_NEW_API:"https://my.elementor.com/whats-new/api/v1",MY_ELEMENTOR_URL:"https://my.elementor.com"}};var yv,vv,bv,xv;yv={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},vv=["(","?"],bv={")":["("],":":["?","?:"]},xv=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var Ev={"!":function(W){return!W},"*":function(W,H){return W*H},"/":function(W,H){return W/H},"%":function(W,H){return W%H},"+":function(W,H){return W+H},"-":function(W,H){return W-H},"<":function(W,H){return W<H},"<=":function(W,H){return W<=H},">":function(W,H){return W>H},">=":function(W,H){return W>=H},"==":function(W,H){return W===H},"!=":function(W,H){return W!==H},"&&":function(W,H){return W&&H},"||":function(W,H){return W||H},"?:":function(W,H,U){if(W)throw H;return U}},Mv={contextDelimiter:"",onMissingKey:null};function Gg(W,H){var U;for(U in this.data=W,this.pluralForms={},this.options={},Mv)this.options[U]=void 0!==H&&U in H?H[U]:Mv[U]}Gg.prototype.getPluralForm=function(W,H){var U,G,X,oe,ie=this.pluralForms[W];return ie||("function"!=typeof(X=(U=this.data[W][""])["Plural-Forms"]||U["plural-forms"]||U.plural_forms)&&(G=function(W){var H,U,G;for(H=W.split(";"),U=0;U<H.length;U++)if(0===(G=H[U].trim()).indexOf("plural="))return G.substr(7)}(U["Plural-Forms"]||U["plural-forms"]||U.plural_forms),oe=function(W){var H=function(W){for(var H,U,G,X,oe=[],ie=[];H=W.match(xv);){for(U=H[0],(G=W.substr(0,H.index).trim())&&oe.push(G);X=ie.pop();){if(bv[U]){if(bv[U][0]===X){U=bv[U][1]||U;break}}else if(vv.indexOf(X)>=0||yv[X]<yv[U]){ie.push(X);break}oe.push(X)}bv[U]||ie.push(U),W=W.substr(H.index+U.length)}return(W=W.trim())&&oe.push(W),oe.concat(ie.reverse())}(W);return function(W){return function(W,H){var U,G,X,oe,ie,ae,le=[];for(U=0;U<W.length;U++){if(ie=W[U],oe=Ev[ie]){for(G=oe.length,X=Array(G);G--;)X[G]=le.pop();try{ae=oe.apply(null,X)}catch(W){return W}}else ae=H.hasOwnProperty(ie)?H[ie]:+ie;le.push(ae)}return le[0]}(H,W)}}(G),X=function(W){return+oe({n:W})}),ie=this.pluralForms[W]=X),ie(H)},Gg.prototype.dcnpgettext=function(W,H,U,G,X){var oe,ie,ae;return oe=void 0===X?0:this.getPluralForm(W,X),ie=U,H&&(ie=H+this.options.contextDelimiter+U),(ae=this.data[W][ie])&&ae[oe]?ae[oe]:(this.options.onMissingKey&&this.options.onMissingKey(U,W),0===oe?U:G)};var Tv={plural_forms:W=>1===W?0:1},Av=/^i18n\.(n?gettext|has_translation)(_|$)/,Qg=function(W){return"string"!=typeof W||""===W?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(W)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},Zg=function(W){return"string"!=typeof W||""===W?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(W)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(W)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},Jg=function(W,H){return function(U,G,X,oe=10){const ie=W[H];if(!Zg(U))return;if(!Qg(G))return;if("function"!=typeof X)return void console.error("The hook callback must be a function.");if("number"!=typeof oe)return void console.error("If specified, the hook priority must be a number.");const ae={callback:X,priority:oe,namespace:G};if(ie[U]){const W=ie[U].handlers;let H;for(H=W.length;H>0&&!(oe>=W[H-1].priority);H--);H===W.length?W[H]=ae:W.splice(H,0,ae),ie.__current.forEach(W=>{W.name===U&&W.currentIndex>=H&&W.currentIndex++})}else ie[U]={handlers:[ae],runs:0};"hookAdded"!==U&&W.doAction("hookAdded",U,G,X,oe)}},ey=function(W,H,U=!1){return function(G,X){const oe=W[H];if(!Zg(G))return;if(!U&&!Qg(X))return;if(!oe[G])return 0;let ie=0;if(U)ie=oe[G].handlers.length,oe[G]={runs:oe[G].runs,handlers:[]};else{const W=oe[G].handlers;for(let H=W.length-1;H>=0;H--)W[H].namespace===X&&(W.splice(H,1),ie++,oe.__current.forEach(W=>{W.name===G&&W.currentIndex>=H&&W.currentIndex--}))}return"hookRemoved"!==G&&W.doAction("hookRemoved",G,X),ie}},ty=function(W,H){return function(U,G){const X=W[H];return void 0!==G?U in X&&X[U].handlers.some(W=>W.namespace===G):U in X}},ry=function(W,H,U,G){return function(X,...oe){const ie=W[H];ie[X]||(ie[X]={handlers:[],runs:0}),ie[X].runs++;const ae=ie[X].handlers;if(!ae||!ae.length)return U?oe[0]:void 0;const le={name:X,currentIndex:0};return(G?async function(){try{ie.__current.add(le);let W=U?oe[0]:void 0;for(;le.currentIndex<ae.length;){const H=ae[le.currentIndex];W=await H.callback.apply(null,oe),U&&(oe[0]=W),le.currentIndex++}return U?W:void 0}finally{ie.__current.delete(le)}}:function(){try{ie.__current.add(le);let W=U?oe[0]:void 0;for(;le.currentIndex<ae.length;)W=ae[le.currentIndex].callback.apply(null,oe),U&&(oe[0]=W),le.currentIndex++;return U?W:void 0}finally{ie.__current.delete(le)}})()}},ny=function(W,H){return function(){const U=W[H],G=Array.from(U.__current);return G.at(-1)?.name??null}},oy=function(W,H){return function(U){const G=W[H];return void 0===U?G.__current.size>0:Array.from(G.__current).some(W=>W.name===U)}},iy=function(W,H){return function(U){const G=W[H];if(Zg(U))return G[U]&&G[U].runs?G[U].runs:0}},jv=((W,H,U)=>{const G=new Gg({}),X=new Set,i=()=>{X.forEach(W=>W())},a=(W,H="default")=>{G.data[H]={...G.data[H],...W},G.data[H][""]={...Tv,...G.data[H]?.[""]},delete G.pluralForms[H]},s=(W,H)=>{a(W,H),i()},l=(W="default",H,U,X,oe)=>(G.data[W]||a(void 0,W),G.dcnpgettext(W,H,U,X,oe)),c=W=>W||"default",u=(W,H,G)=>{let X=l(G,H,W);return U?(X=U.applyFilters("i18n.gettext_with_context",X,W,H,G),U.applyFilters("i18n.gettext_with_context_"+c(G),X,W,H,G)):X};if(U){const e=W=>{Av.test(W)&&i()};U.addAction("hookAdded","core/i18n",e),U.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:(W="default")=>G.data[W],setLocaleData:s,addLocaleData:(W,H="default")=>{G.data[H]={...G.data[H],...W,"":{...Tv,...G.data[H]?.[""],...W?.[""]}},delete G.pluralForms[H],i()},resetLocaleData:(W,H)=>{G.data={},G.pluralForms={},s(W,H)},subscribe:W=>(X.add(W),()=>X.delete(W)),__:(W,H)=>{let G=l(H,void 0,W);return U?(G=U.applyFilters("i18n.gettext",G,W,H),U.applyFilters("i18n.gettext_"+c(H),G,W,H)):G},_x:u,_n:(W,H,G,X)=>{let oe=l(X,void 0,W,H,G);return U?(oe=U.applyFilters("i18n.ngettext",oe,W,H,G,X),U.applyFilters("i18n.ngettext_"+c(X),oe,W,H,G,X)):oe},_nx:(W,H,G,X,oe)=>{let ie=l(oe,X,W,H,G);return U?(ie=U.applyFilters("i18n.ngettext_with_context",ie,W,H,G,X,oe),U.applyFilters("i18n.ngettext_with_context_"+c(oe),ie,W,H,G,X,oe)):ie},isRTL:()=>"rtl"===u("ltr","text direction"),hasTranslation:(W,H,X)=>{const oe=H?H+""+W:W;let ie=!!G.data?.[X??"default"]?.[oe];return U&&(ie=U.applyFilters("i18n.has_translation",ie,W,H,X),ie=U.applyFilters("i18n.has_translation_"+c(X),ie,W,H,X)),ie}}})(0,0,new class{constructor(){this.actions=Object.create(null),this.actions.__current=new Set,this.filters=Object.create(null),this.filters.__current=new Set,this.addAction=Jg(this,"actions"),this.addFilter=Jg(this,"filters"),this.removeAction=ey(this,"actions"),this.removeFilter=ey(this,"filters"),this.hasAction=ty(this,"actions"),this.hasFilter=ty(this,"filters"),this.removeAllActions=ey(this,"actions",!0),this.removeAllFilters=ey(this,"filters",!0),this.doAction=ry(this,"actions",!1,!1),this.doActionAsync=ry(this,"actions",!1,!0),this.applyFilters=ry(this,"filters",!0,!1),this.applyFiltersAsync=ry(this,"filters",!0,!0),this.currentAction=ny(this,"actions"),this.currentFilter=ny(this,"filters"),this.doingAction=oy(this,"actions"),this.doingFilter=oy(this,"filters"),this.didAction=iy(this,"actions"),this.didFilter=iy(this,"filters")}});jv.getLocaleData.bind(jv),jv.setLocaleData.bind(jv),jv.resetLocaleData.bind(jv),jv.subscribe.bind(jv);var Lv=jv.__.bind(jv);jv._x.bind(jv),jv._n.bind(jv),jv._nx.bind(jv),jv.isRTL.bind(jv),jv.hasTranslation.bind(jv);var ly=(W,H)=>{let U,G,X=W.path;return"string"==typeof W.namespace&&"string"==typeof W.endpoint&&(U=W.namespace.replace(/^\/|\/$/g,""),G=W.endpoint.replace(/^\//,""),X=G?U+"/"+G:U),delete W.namespace,delete W.endpoint,H({...W,path:X})};function cy(W){let H="";const U=Object.entries(W);let G;for(;G=U.shift();){let[W,X]=G;if(Array.isArray(X)||X&&X.constructor===Object){const H=Object.entries(X).reverse();for(const[G,X]of H)U.unshift([`${W}[${G}]`,X])}else void 0!==X&&(null===X&&(X=""),H+="&"+[W,String(X)].map(encodeURIComponent).join("="))}return H.substr(1)}function uy(W){try{return decodeURIComponent(W)}catch(H){return W}}function py(W){return(function(W){let H;try{H=new URL(W,"http://example.com").search.substring(1)}catch(W){}if(H)return H}(W)||"").replace(/\+/g,"%20").split("&").reduce((W,H)=>{const[U,G=""]=H.split("=").filter(Boolean).map(uy);return U&&function(W,H,U){const G=H.length,X=G-1;for(let oe=0;oe<G;oe++){let G=H[oe];!G&&Array.isArray(W)&&(G=W.length.toString()),G=["__proto__","constructor","prototype"].includes(G)?G.toUpperCase():G;const ie=!isNaN(Number(H[oe+1]));W[G]=oe===X?U:W[G]||(ie?[]:{}),Array.isArray(W[G])&&!ie&&(W[G]={...W[G]}),W=W[G]}}(W,U.replace(/\]/g,"").split("["),G),W},Object.create(null))}function dy(W="",H){if(!H||!Object.keys(H).length)return W;const U=function(W){const H=/^\S+?(#[^\s\?]*)/.exec(W);if(H)return H[1]}(W)||"";let G=W.replace(U,"");const X=W.indexOf("?");return-1!==X&&(H=Object.assign(py(W),H),G=G.substr(0,X)),G+"?"+cy(H)+U}function fy(W,H){return py(W)[H]}function hy(W,H){return void 0!==fy(W,H)}function my(W,...H){const U=W.replace(/^[^#]*/,""),G=(W=W.replace(/#.*/,"")).indexOf("?");if(-1===G)return W+U;const X=py(W),oe=W.substr(0,G);H.forEach(W=>delete X[W]);const ie=cy(X);return(ie?oe+"?"+ie:oe)+U}function gy(W){const H=W.split("?"),U=H[1],G=H[0];return U?G+"?"+U.split("&").map(W=>W.split("=")).map(W=>W.map(decodeURIComponent)).sort((W,H)=>W[0].localeCompare(H[0])).map(W=>W.map(encodeURIComponent)).map(W=>W.join("=")).join("&"):G}function yy(W,H){if(H)return Promise.resolve(W.body);try{return Promise.resolve(new window.Response(JSON.stringify(W.body),{status:200,statusText:"OK",headers:W.headers}))}catch{return Object.entries(W.headers).forEach(([H,U])=>{"link"===H.toLowerCase()&&(W.headers[H]=U.replace(/<([^>]+)>/,(W,H)=>`<${encodeURI(H)}>`))}),Promise.resolve(H?W.body:new window.Response(JSON.stringify(W.body),{status:200,statusText:"OK",headers:W.headers}))}}var by=({path:W,url:H,...U},G)=>({...U,url:H&&dy(H,G),path:W&&dy(W,G)}),vy=W=>W.json?W.json():Promise.reject(W),xy=W=>{const{next:H}=(W=>{if(!W)return{};const H=W.match(/<([^>]+)>; rel="next"/);return H?{next:H[1]}:{}})(W.headers.get("link"));return H},_y=async(W,H)=>{if(!1===W.parse)return H(W);if(!(W=>{const H=!!W.path&&-1!==W.path.indexOf("per_page=-1"),U=!!W.url&&-1!==W.url.indexOf("per_page=-1");return H||U})(W))return H(W);const U=await Wv({...by(W,{per_page:100}),parse:!1}),G=await vy(U);if(!Array.isArray(G))return G;let X=xy(U);if(!X)return G;let oe=[].concat(G);for(;X;){const H=await Wv({...W,path:void 0,url:X,parse:!1}),U=await vy(H);oe=oe.concat(U),X=xy(H)}return oe},$v=new Set(["PATCH","PUT","DELETE"]),Dv="GET";async function ky(W){try{return await W.json()}catch{throw{code:"invalid_json",message:Lv("The response is not a valid JSON response.")}}}async function Oy(W,H=!0){return H?204===W.status?null:await ky(W):W}async function Cy(W,H=!0){if(!H)throw W;throw await ky(W)}var zv={Accept:"application/json, */*;q=0.1"},Bv={credentials:"include"},Vv=[(W,H)=>("string"!=typeof W.url||hy(W.url,"_locale")||(W.url=dy(W.url,{_locale:"user"})),"string"!=typeof W.path||hy(W.path,"_locale")||(W.path=dy(W.path,{_locale:"user"})),H(W)),ly,(W,H)=>{const{method:U=Dv}=W;return $v.has(U.toUpperCase())&&(W={...W,headers:{...W.headers,"X-HTTP-Method-Override":U,"Content-Type":"application/json"},method:"POST"}),H(W)},_y],Ry=W=>{const{url:H,path:U,data:G,parse:X=!0,...oe}=W;let{body:ie,headers:ae}=W;return ae={...zv,...ae},G&&(ie=JSON.stringify(G),ae["Content-Type"]="application/json"),globalThis.fetch(H||U||window.location.href,{...Bv,...oe,body:ie,headers:ae}).then(W=>W.ok?Oy(W,X):Cy(W,X),W=>{if(W&&"AbortError"===W.name)throw W;if(!globalThis.navigator.onLine)throw{code:"offline_error",message:Lv("Unable to connect. Please check your Internet connection.")};throw{code:"fetch_error",message:Lv("Could not get a valid response from the server.")}})},Iy=W=>{const H=Vv.reduceRight((W,H)=>U=>H(U,W),Ry);return H(W).catch(H=>"rest_cookie_invalid_nonce"!==H.code?Promise.reject(H):globalThis.fetch(Iy.nonceEndpoint).then(W=>W.ok?W.text():Promise.reject(H)).then(H=>(Iy.nonceMiddleware.nonce=H,Iy(W))))};Iy.use=function(W){Vv.unshift(W)},Iy.setFetchHandler=function(W){Ry=W},Iy.createNonceMiddleware=function(W){const t=(W,H)=>{const{headers:U={}}=W;for(const G in U)if("x-wp-nonce"===G.toLowerCase()&&U[G]===t.nonce)return H(W);return H({...W,headers:{...U,"X-WP-Nonce":t.nonce}})};return t.nonce=W,t},Iy.createPreloadingMiddleware=function(W){const H=Object.fromEntries(Object.entries(W).map(([W,H])=>[gy(W),H]));return(W,U)=>{const{parse:G=!0}=W;let X=W.path;if(!X&&W.url){const{rest_route:H,...U}=py(W.url);"string"==typeof H&&(X=dy(H,U))}if("string"!=typeof X)return U(W);const oe=W.method||"GET",ie=gy(X);if("GET"===oe&&H[ie]){const W=H[ie];return delete H[ie],yy(W,!!G)}if("OPTIONS"===oe&&H[oe]&&H[oe][ie]){const W=H[oe][ie];return delete H[oe][ie],yy(W,!!G)}return U(W)}},Iy.createRootURLMiddleware=W=>(H,U)=>ly(H,H=>{let G,X=H.url,oe=H.path;return"string"==typeof oe&&(G=W,-1!==W.indexOf("?")&&(oe=oe.replace("?","&")),oe=oe.replace(/^\//,""),"string"==typeof G&&-1!==G.indexOf("?")&&(oe=oe.replace("?","&")),X=G+oe),U({...H,url:X})}),Iy.fetchAllMiddleware=_y,Iy.mediaUploadMiddleware=(W,H)=>{if(!function(W){const H=!!W.method&&"POST"===W.method;return(!!W.path&&-1!==W.path.indexOf("/wp/v2/media")||!!W.url&&-1!==W.url.indexOf("/wp/v2/media"))&&H}(W))return H(W);let U=0;const n=W=>(U++,H({path:`/wp/v2/media/${W}/post-process`,method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch(()=>U<5?n(W):(H({path:`/wp/v2/media/${W}?force=true`,method:"DELETE"}),Promise.reject())));return H({...W,parse:!1}).catch(H=>{if(!(H instanceof globalThis.Response))return Promise.reject(H);const U=H.headers.get("x-wp-upload-attachment-id");return H.status>=500&&H.status<600&&U?n(U).catch(()=>!1!==W.parse?Promise.reject({code:"post_process",message:Lv("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(H)):Cy(H,W.parse)}).then(H=>Oy(H,W.parse))},Iy.createThemePreviewMiddleware=W=>(H,U)=>{if("string"==typeof H.url){const U=fy(H.url,"wp_theme_preview");void 0===U?H.url=dy(H.url,{wp_theme_preview:W}):""===U&&(H.url=my(H.url,"wp_theme_preview"))}if("string"==typeof H.path){const U=fy(H.path,"wp_theme_preview");void 0===U?H.path=dy(H.path,{wp_theme_preview:W}):""===U&&(H.path=my(H.path,"wp_theme_preview"))}return U(H)};var qv,Wv=Iy;class jy extends Error{constructor(W){super(W),this.name="APIError"}}!function(W){W.GET="GET",W.POST="POST",W.PUT="PUT",W.PATCH="PATCH",W.DELETE="DELETE",W.HEAD="HEAD"}(qv||(qv={}));const Hv="/wp/v2";class $y{static async request({path:W,data:H,method:U="POST"}){try{const G=(window?.elementorOneSettingsData?.wpRestUrl||"/wp-json/").replace(/\/$/,""),X=window?.elementorOneSettingsData?.wpRestNonce||"";let oe=`${G}${W}`;"GET"!==U||W.startsWith(Hv)||(oe=dy(oe,{sb_time:(new Date).getTime()}));const ie=await Wv({url:oe,method:U,data:H,headers:{"X-WP-Nonce":X}});if(W.startsWith(Hv))return ie;if(void 0===ie?.success)return ie;if(!ie.success)throw new jy(ie.data?.message||"Unknown error");return ie.data}catch(W){throw W instanceof jy?W:new jy(W?.message||"Unknown error")}}}const Uv="/elementor-one/v1";class Dy extends $y{static async initConnect(W="new"){const H={wp_rest:window?.elementorOneSettingsData?.wpRestNonce};return"update"===W&&(H.update_redirect_uri=!0),$y.request({method:qv.POST,path:`${Uv}/connect/authorize`,data:H})}static async disconnect(){return $y.request({method:qv.POST,path:`${Uv}/connect/disconnect`,data:{wp_rest:window?.elementorOneSettingsData?.wpRestNonce}})}static async getPluginSettings(){return $y.request({method:qv.GET,path:`${Uv}/settings`})}static async getNotifications(W,H){return $y.request({method:qv.GET,path:`${Uv}/top-bar/notifications?app_name=${W}&app_version=${H}`})}static async sendFeedback(W){return $y.request({method:qv.POST,path:`${Uv}/top-bar/feedback`,data:W})}}var Kv;function zy(W){const H=null==W?void 0:W.host;return Boolean((null==H?void 0:H.shadowRoot)===W)}function By(W){return"[object ShadowRoot]"===Object.prototype.toString.call(W)}function Vy(W){try{const U=W.rules||W.cssRules;return U?((H=Array.from(U,qy).join("")).includes(" background-clip: text;")&&!H.includes(" -webkit-background-clip: text;")&&(H=H.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),H):null}catch(W){return null}var H}function qy(W){let H;if(function(W){return"styleSheet"in W}(W))try{H=Vy(W.styleSheet)||function(W){const{cssText:H}=W;if(H.split('"').length<3)return H;const U=["@import",`url(${JSON.stringify(W.href)})`];return""===W.layerName?U.push("layer"):W.layerName&&U.push(`layer(${W.layerName})`),W.supportsText&&U.push(`supports(${W.supportsText})`),W.media.length&&U.push(W.media.mediaText),U.join(" ")+";"}(W)}catch(W){}else if(function(W){return"selectorText"in W}(W)&&W.selectorText.includes(":"))return W.cssText.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2");return H||W.cssText}!function(W){W[W.Document=0]="Document",W[W.DocumentType=1]="DocumentType",W[W.Element=2]="Element",W[W.Text=3]="Text",W[W.CDATA=4]="CDATA",W[W.Comment=5]="Comment"}(Kv||(Kv={}));class Uy{getId(W){var H;if(!W)return-1;const U=null===(H=this.getMeta(W))||void 0===H?void 0:H.id;return null!=U?U:-1}getNode(W){return this.idNodeMap.get(W)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(W){return this.nodeMetaMap.get(W)||null}removeNodeFromMap(W){const H=this.getId(W);this.idNodeMap.delete(H),W.childNodes&&W.childNodes.forEach(W=>this.removeNodeFromMap(W))}has(W){return this.idNodeMap.has(W)}hasNode(W){return this.nodeMetaMap.has(W)}add(W,H){const U=H.id;this.idNodeMap.set(U,W),this.nodeMetaMap.set(W,H)}replace(W,H){const U=this.getNode(W);if(U){const W=this.nodeMetaMap.get(U);W&&this.nodeMetaMap.set(H,W)}this.idNodeMap.set(W,H)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Wy({element:W,maskInputOptions:H,tagName:U,type:G,value:X,maskInputFn:oe}){let ie=X||"";const ae=G&&Hy(G);return(H[U.toLowerCase()]||ae&&H[ae])&&(ie=oe?oe(ie,W):"*".repeat(ie.length)),ie}function Hy(W){return W.toLowerCase()}const Gv="__rrweb_original__";function Gy(W){const H=W.type;return W.hasAttribute("data-rr-is-password")?"password":H?Hy(H):null}function Xy(W,H){var U;let G;try{G=new URL(W,window.location.href)}catch(W){return null}const X=G.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!==(U=null==X?void 0:X[1])&&void 0!==U?U:null}let Xv=1;const Yv=new RegExp("[^a-z0-9-_:]");function Jy(){return Xv++}let Zv,Jv;const Qv=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,eb=/^(?:[a-z+]+:)?\/\//i,tb=/^www\..*/i,rb=/^(data:)([^,]*),(.*)/i;function ab(W,H){return(W||"").replace(Qv,(W,U,G,X,oe,ie)=>{const ae=G||oe||ie,le=U||X||"";if(!ae)return W;if(eb.test(ae)||tb.test(ae))return`url(${le}${ae}${le})`;if(rb.test(ae))return`url(${le}${ae}${le})`;if("/"===ae[0])return`url(${le}${function(W){let H="";return H=W.indexOf("//")>-1?W.split("/").slice(0,3).join("/"):W.split("/")[0],H=H.split("?")[0],H}(H)+ae}${le})`;const ce=H.split("/"),ue=ae.split("/");ce.pop();for(const W of ue)"."!==W&&(".."===W?ce.pop():ce.push(W));return`url(${le}${ce.join("/")}${le})`})}const nb=/^[^ \t\n\r\u000c]+/,ob=/^[, \t\n\r\u000c]+/;function cb(W,H){if(!H||""===H.trim())return H;const U=W.createElement("a");return U.href=H,U.href}function ub(){const W=document.createElement("a");return W.href="",W.href}function pb(W,H,U,G){return G?"src"===U||"href"===U&&("use"!==H||"#"!==G[0])||"xlink:href"===U&&"#"!==G[0]?cb(W,G):"background"!==U||"table"!==H&&"td"!==H&&"th"!==H?"srcset"===U?function(W,H){if(""===H.trim())return H;let U=0;function n(W){let G;const X=W.exec(H.substring(U));return X?(G=X[0],U+=G.length,G):""}const G=[];for(;n(ob),!(U>=H.length);){let X=n(nb);if(","===X.slice(-1))X=cb(W,X.substring(0,X.length-1)),G.push(X);else{let oe="";X=cb(W,X);let ie=!1;for(;;){const W=H.charAt(U);if(""===W){G.push((X+oe).trim());break}if(ie)")"===W&&(ie=!1);else{if(","===W){U+=1,G.push((X+oe).trim());break}"("===W&&(ie=!0)}oe+=W,U+=1}}}return G.join(", ")}(W,G):"style"===U?ab(G,ub()):"object"===H&&"data"===U?cb(W,G):G:cb(W,G):G}function db(W,H,U){return("video"===W||"audio"===W)&&"autoplay"===H}function fb(W,H,U){if(!W)return!1;if(W.nodeType!==W.ELEMENT_NODE)return!!U&&fb(W.parentNode,H,U);for(let U=W.classList.length;U--;){const G=W.classList[U];if(H.test(G))return!0}return!!U&&fb(W.parentNode,H,U)}function hb(W,H,U,G){try{const X=W.nodeType===W.ELEMENT_NODE?W:W.parentElement;if(null===X)return!1;if("string"==typeof H){if(G){if(X.closest(`.${H}`))return!0}else if(X.classList.contains(H))return!0}else if(fb(X,H,G))return!0;if(U)if(G){if(X.closest(U))return!0}else if(X.matches(U))return!0}catch(W){}return!1}function mb(W){return null==W?"":W.toLowerCase()}function gb(W,H){const{doc:U,mirror:G,blockClass:X,blockSelector:oe,maskTextClass:ie,maskTextSelector:ae,skipChild:le=!1,inlineStylesheet:ce=!0,maskInputOptions:ue={},maskTextFn:de,maskInputFn:pe,slimDOMOptions:fe,dataURLOptions:ke={},inlineImages:Qe=!1,recordCanvas:tt=!1,onSerialize:it,onIframeLoad:at,iframeLoadTimeout:st=5e3,onStylesheetLoad:ut,stylesheetLoadTimeout:ht=5e3,keepIframeSrcFn:ft=()=>!1,newlyAddedElement:gt=!1}=H;let{needsMask:yt}=H,{preserveWhiteSpace:vt=!0}=H;!yt&&W.childNodes&&(yt=hb(W,ie,ae,void 0===yt));const bt=function(W,H){const{doc:U,mirror:G,blockClass:X,blockSelector:oe,needsMask:ie,inlineStylesheet:ae,maskInputOptions:le={},maskTextFn:ce,maskInputFn:ue,dataURLOptions:de={},inlineImages:pe,recordCanvas:fe,keepIframeSrcFn:ke,newlyAddedElement:Qe=!1}=H,tt=function(W,H){if(!H.hasNode(W))return;const U=H.getId(W);return 1===U?void 0:U}(U,G);switch(W.nodeType){case W.DOCUMENT_NODE:return"CSS1Compat"!==W.compatMode?{type:Kv.Document,childNodes:[],compatMode:W.compatMode}:{type:Kv.Document,childNodes:[]};case W.DOCUMENT_TYPE_NODE:return{type:Kv.DocumentType,name:W.name,publicId:W.publicId,systemId:W.systemId,rootId:tt};case W.ELEMENT_NODE:return function(W,H){const{doc:U,blockClass:G,blockSelector:X,inlineStylesheet:oe,maskInputOptions:ie={},maskInputFn:ae,dataURLOptions:le={},inlineImages:ce,recordCanvas:ue,keepIframeSrcFn:de,newlyAddedElement:pe=!1,rootId:fe}=H,ke=function(W,H,U){try{if("string"==typeof H){if(W.classList.contains(H))return!0}else for(let U=W.classList.length;U--;){const G=W.classList[U];if(H.test(G))return!0}if(U)return W.matches(U)}catch(W){}return!1}(W,G,X),Qe=function(W){if(W instanceof HTMLFormElement)return"form";const H=Hy(W.tagName);return Yv.test(H)?"div":H}(W);let tt={};const it=W.attributes.length;for(let H=0;H<it;H++){const G=W.attributes[H];db(Qe,G.name)||(tt[G.name]=pb(U,Qe,Hy(G.name),G.value))}if("link"===Qe&&oe){const H=Array.from(U.styleSheets).find(H=>H.href===W.href);let G=null;H&&(G=Vy(H)),G&&(delete tt.rel,delete tt.href,tt._cssText=ab(G,H.href))}if("style"===Qe&&W.sheet&&!(W.innerText||W.textContent||"").trim().length){const H=Vy(W.sheet);H&&(tt._cssText=ab(H,ub()))}if("input"===Qe||"textarea"===Qe||"select"===Qe){const H=W.value,U=W.checked;"radio"!==tt.type&&"checkbox"!==tt.type&&"submit"!==tt.type&&"button"!==tt.type&&H?tt.value=Wy({element:W,type:Gy(W),tagName:Qe,value:H,maskInputOptions:ie,maskInputFn:ae}):U&&(tt.checked=U)}if("option"===Qe&&(W.selected&&!ie.select?tt.selected=!0:delete tt.selected),"canvas"===Qe&&ue)if("2d"===W.__context)(function(W){const H=W.getContext("2d");if(!H)return!0;for(let U=0;U<W.width;U+=50)for(let G=0;G<W.height;G+=50){const X=H.getImageData,oe=Gv in X?X[Gv]:X;if(new Uint32Array(oe.call(H,U,G,Math.min(50,W.width-U),Math.min(50,W.height-G)).data.buffer).some(W=>0!==W))return!1}return!0})(W)||(tt.rr_dataURL=W.toDataURL(le.type,le.quality));else if(!("__context"in W)){const H=W.toDataURL(le.type,le.quality),U=document.createElement("canvas");U.width=W.width,U.height=W.height,H!==U.toDataURL(le.type,le.quality)&&(tt.rr_dataURL=H)}if("img"===Qe&&ce){Zv||(Zv=U.createElement("canvas"),Jv=Zv.getContext("2d"));const H=W,G=H.crossOrigin;H.crossOrigin="anonymous";const o=()=>{H.removeEventListener("load",o);try{Zv.width=H.naturalWidth,Zv.height=H.naturalHeight,Jv.drawImage(H,0,0),tt.rr_dataURL=Zv.toDataURL(le.type,le.quality)}catch(W){console.warn(`Cannot inline img src=${H.currentSrc}! Error: ${W}`)}G?tt.crossOrigin=G:H.removeAttribute("crossorigin")};H.complete&&0!==H.naturalWidth?o():H.addEventListener("load",o)}if("audio"===Qe||"video"===Qe){const H=tt;H.rr_mediaState=W.paused?"paused":"played",H.rr_mediaCurrentTime=W.currentTime,H.rr_mediaPlaybackRate=W.playbackRate,H.rr_mediaMuted=W.muted,H.rr_mediaLoop=W.loop,H.rr_mediaVolume=W.volume}if(pe||(W.scrollLeft&&(tt.rr_scrollLeft=W.scrollLeft),W.scrollTop&&(tt.rr_scrollTop=W.scrollTop)),ke){const{width:H,height:U}=W.getBoundingClientRect();tt={class:tt.class,rr_width:`${H}px`,rr_height:`${U}px`}}let at;"iframe"!==Qe||de(tt.src)||(W.contentDocument||(tt.rr_src=tt.src),delete tt.src);try{customElements.get(Qe)&&(at=!0)}catch(W){}return{type:Kv.Element,tagName:Qe,attributes:tt,childNodes:[],isSVG:(st=W,Boolean("svg"===st.tagName||st.ownerSVGElement)||void 0),needBlock:ke,rootId:fe,isCustom:at};var st}(W,{doc:U,blockClass:X,blockSelector:oe,inlineStylesheet:ae,maskInputOptions:le,maskInputFn:ue,dataURLOptions:de,inlineImages:pe,recordCanvas:fe,keepIframeSrcFn:ke,newlyAddedElement:Qe,rootId:tt});case W.TEXT_NODE:return function(W,H){var U;const{needsMask:G,maskTextFn:X,rootId:oe}=H,ie=W.parentNode&&W.parentNode.tagName;let ae=W.textContent;const le="STYLE"===ie||void 0,ce="SCRIPT"===ie||void 0;if(le&&ae){try{W.nextSibling||W.previousSibling||(null===(U=W.parentNode.sheet)||void 0===U?void 0:U.cssRules)&&(ae=Vy(W.parentNode.sheet))}catch(H){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${H}`,W)}ae=ab(ae,ub())}return ce&&(ae="SCRIPT_PLACEHOLDER"),!le&&!ce&&ae&&G&&(ae=X?X(ae,W.parentElement):ae.replace(/[\S]/g,"*")),{type:Kv.Text,textContent:ae||"",isStyle:le,rootId:oe}}(W,{needsMask:ie,maskTextFn:ce,rootId:tt});case W.CDATA_SECTION_NODE:return{type:Kv.CDATA,textContent:"",rootId:tt};case W.COMMENT_NODE:return{type:Kv.Comment,textContent:W.textContent||"",rootId:tt};default:return!1}}(W,{doc:U,mirror:G,blockClass:X,blockSelector:oe,needsMask:yt,inlineStylesheet:ce,maskInputOptions:ue,maskTextFn:de,maskInputFn:pe,dataURLOptions:ke,inlineImages:Qe,recordCanvas:tt,keepIframeSrcFn:ft,newlyAddedElement:gt});if(!bt)return console.warn(W,"not serialized"),null;let xt;xt=G.hasNode(W)?G.getId(W):!function(W,H){if(H.comment&&W.type===Kv.Comment)return!0;if(W.type===Kv.Element){if(H.script&&("script"===W.tagName||"link"===W.tagName&&("preload"===W.attributes.rel||"modulepreload"===W.attributes.rel)&&"script"===W.attributes.as||"link"===W.tagName&&"prefetch"===W.attributes.rel&&"string"==typeof W.attributes.href&&"js"===Xy(W.attributes.href)))return!0;if(H.headFavicon&&("link"===W.tagName&&"shortcut icon"===W.attributes.rel||"meta"===W.tagName&&(mb(W.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===mb(W.attributes.name)||"icon"===mb(W.attributes.rel)||"apple-touch-icon"===mb(W.attributes.rel)||"shortcut icon"===mb(W.attributes.rel))))return!0;if("meta"===W.tagName){if(H.headMetaDescKeywords&&mb(W.attributes.name).match(/^description|keywords$/))return!0;if(H.headMetaSocial&&(mb(W.attributes.property).match(/^(og|twitter|fb):/)||mb(W.attributes.name).match(/^(og|twitter):/)||"pinterest"===mb(W.attributes.name)))return!0;if(H.headMetaRobots&&("robots"===mb(W.attributes.name)||"googlebot"===mb(W.attributes.name)||"bingbot"===mb(W.attributes.name)))return!0;if(H.headMetaHttpEquiv&&void 0!==W.attributes["http-equiv"])return!0;if(H.headMetaAuthorship&&("author"===mb(W.attributes.name)||"generator"===mb(W.attributes.name)||"framework"===mb(W.attributes.name)||"publisher"===mb(W.attributes.name)||"progid"===mb(W.attributes.name)||mb(W.attributes.property).match(/^article:/)||mb(W.attributes.property).match(/^product:/)))return!0;if(H.headMetaVerification&&("google-site-verification"===mb(W.attributes.name)||"yandex-verification"===mb(W.attributes.name)||"csrf-token"===mb(W.attributes.name)||"p:domain_verify"===mb(W.attributes.name)||"verify-v1"===mb(W.attributes.name)||"verification"===mb(W.attributes.name)||"shopify-checkout-api-token"===mb(W.attributes.name)))return!0}}return!1}(bt,fe)&&(vt||bt.type!==Kv.Text||bt.isStyle||bt.textContent.replace(/^\s+|\s+$/gm,"").length)?Jy():-2;const wt=Object.assign(bt,{id:xt});if(G.add(W,wt),-2===xt)return null;it&&it(W);let St=!le;if(wt.type===Kv.Element){St=St&&!wt.needBlock,delete wt.needBlock;const H=W.shadowRoot;H&&By(H)&&(wt.isShadowHost=!0)}if((wt.type===Kv.Document||wt.type===Kv.Element)&&St){fe.headWhitespace&&wt.type===Kv.Element&&"head"===wt.tagName&&(vt=!1);const H={doc:U,mirror:G,blockClass:X,blockSelector:oe,needsMask:yt,maskTextClass:ie,maskTextSelector:ae,skipChild:le,inlineStylesheet:ce,maskInputOptions:ue,maskTextFn:de,maskInputFn:pe,slimDOMOptions:fe,dataURLOptions:ke,inlineImages:Qe,recordCanvas:tt,preserveWhiteSpace:vt,onSerialize:it,onIframeLoad:at,iframeLoadTimeout:st,onStylesheetLoad:ut,stylesheetLoadTimeout:ht,keepIframeSrcFn:ft};if(wt.type===Kv.Element&&"textarea"===wt.tagName&&void 0!==wt.attributes.value);else for(const U of Array.from(W.childNodes)){const W=gb(U,H);W&&wt.childNodes.push(W)}if(function(W){return W.nodeType===W.ELEMENT_NODE}(W)&&W.shadowRoot)for(const U of Array.from(W.shadowRoot.childNodes)){const G=gb(U,H);G&&(By(W.shadowRoot)&&(G.isShadow=!0),wt.childNodes.push(G))}}return W.parentNode&&zy(W.parentNode)&&By(W.parentNode)&&(wt.isShadow=!0),wt.type===Kv.Element&&"iframe"===wt.tagName&&function(W,H,U){const G=W.contentWindow;if(!G)return;let X,oe=!1;try{X=G.document.readyState}catch(W){return}if("complete"!==X){const G=setTimeout(()=>{oe||(H(),oe=!0)},U);return void W.addEventListener("load",()=>{clearTimeout(G),oe=!0,H()})}const ie="about:blank";if(G.location.href!==ie||W.src===ie||""===W.src)return setTimeout(H,0),W.addEventListener("load",H);W.addEventListener("load",H)}(W,()=>{const H=W.contentDocument;if(H&&at){const U=gb(H,{doc:H,mirror:G,blockClass:X,blockSelector:oe,needsMask:yt,maskTextClass:ie,maskTextSelector:ae,skipChild:!1,inlineStylesheet:ce,maskInputOptions:ue,maskTextFn:de,maskInputFn:pe,slimDOMOptions:fe,dataURLOptions:ke,inlineImages:Qe,recordCanvas:tt,preserveWhiteSpace:vt,onSerialize:it,onIframeLoad:at,iframeLoadTimeout:st,onStylesheetLoad:ut,stylesheetLoadTimeout:ht,keepIframeSrcFn:ft});U&&at(W,U)}},st),wt.type===Kv.Element&&"link"===wt.tagName&&"string"==typeof wt.attributes.rel&&("stylesheet"===wt.attributes.rel||"preload"===wt.attributes.rel&&"string"==typeof wt.attributes.href&&"css"===Xy(wt.attributes.href))&&function(W,H,U){let G,X=!1;try{G=W.sheet}catch(W){return}if(G)return;const oe=setTimeout(()=>{X||(H(),X=!0)},U);W.addEventListener("load",()=>{clearTimeout(oe),X=!0,H()})}(W,()=>{if(ut){const H=gb(W,{doc:U,mirror:G,blockClass:X,blockSelector:oe,needsMask:yt,maskTextClass:ie,maskTextSelector:ae,skipChild:!1,inlineStylesheet:ce,maskInputOptions:ue,maskTextFn:de,maskInputFn:pe,slimDOMOptions:fe,dataURLOptions:ke,inlineImages:Qe,recordCanvas:tt,preserveWhiteSpace:vt,onSerialize:it,onIframeLoad:at,iframeLoadTimeout:st,onStylesheetLoad:ut,stylesheetLoadTimeout:ht,keepIframeSrcFn:ft});H&&ut(W,H)}},ht),wt}function yb(W,H,U=document){const G={capture:!0,passive:!0};return U.addEventListener(W,H,G),()=>U.removeEventListener(W,H,G)}const ib="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let sb={map:{},getId:()=>(console.error(ib),-1),getNode:()=>(console.error(ib),null),removeNodeFromMap(){console.error(ib)},has:()=>(console.error(ib),!1),reset(){console.error(ib)}};function xb(W,H,U={}){let G=null,X=0;return function(...oe){const ie=Date.now();X||!1!==U.leading||(X=ie);const ae=H-(ie-X),le=this;ae<=0||ae>H?(G&&(clearTimeout(G),G=null),X=ie,W.apply(le,oe)):G||!1===U.trailing||(G=setTimeout(()=>{X=!1===U.leading?0:Date.now(),G=null,W.apply(le,oe)},ae))}}function _b(W,H,U,G,X=window){const oe=X.Object.getOwnPropertyDescriptor(W,H);return X.Object.defineProperty(W,H,G?U:{set(W){setTimeout(()=>{U.set.call(this,W)},0),oe&&oe.set&&oe.set.call(this,W)}}),()=>_b(W,H,oe||{},!0)}function wb(W,H,U){try{if(!(H in W))return()=>{};const G=W[H],X=U(G);return"function"==typeof X&&(X.prototype=X.prototype||{},Object.defineProperties(X,{__rrweb_original__:{enumerable:!1,value:G}})),W[H]=X,()=>{W[H]=G}}catch(W){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(sb=new Proxy(sb,{get:(W,H,U)=>("map"===H&&console.error(ib),Reflect.get(W,H,U))}));let lb=Date.now;function kb(W){var H,U,G,X,oe,ie;const ae=W.document;return{left:ae.scrollingElement?ae.scrollingElement.scrollLeft:void 0!==W.pageXOffset?W.pageXOffset:(null==ae?void 0:ae.documentElement.scrollLeft)||(null===(U=null===(H=null==ae?void 0:ae.body)||void 0===H?void 0:H.parentElement)||void 0===U?void 0:U.scrollLeft)||(null===(G=null==ae?void 0:ae.body)||void 0===G?void 0:G.scrollLeft)||0,top:ae.scrollingElement?ae.scrollingElement.scrollTop:void 0!==W.pageYOffset?W.pageYOffset:(null==ae?void 0:ae.documentElement.scrollTop)||(null===(oe=null===(X=null==ae?void 0:ae.body)||void 0===X?void 0:X.parentElement)||void 0===oe?void 0:oe.scrollTop)||(null===(ie=null==ae?void 0:ae.body)||void 0===ie?void 0:ie.scrollTop)||0}}function Ob(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Cb(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Eb(W){return W?W.nodeType===W.ELEMENT_NODE?W:W.parentElement:null}function Tb(W,H,U,G){if(!W)return!1;const X=Eb(W);if(!X)return!1;try{if("string"==typeof H){if(X.classList.contains(H))return!0;if(G&&null!==X.closest("."+H))return!0}else if(fb(X,H,G))return!0}catch(W){}if(U){if(X.matches(U))return!0;if(G&&null!==X.closest(U))return!0}return!1}function Mb(W,H){return-2===H.getId(W)}function Rb(W,H){if(zy(W))return!1;const U=H.getId(W);return!H.has(U)||(!W.parentNode||W.parentNode.nodeType!==W.DOCUMENT_NODE)&&(!W.parentNode||Rb(W.parentNode,H))}function Ib(W){return Boolean(W.changedTouches)}function Nb(W,H){return Boolean("IFRAME"===W.nodeName&&H.getMeta(W))}function Pb(W,H){return Boolean("LINK"===W.nodeName&&W.nodeType===W.ELEMENT_NODE&&W.getAttribute&&"stylesheet"===W.getAttribute("rel")&&H.getMeta(W))}function jb(W){return Boolean(null==W?void 0:W.shadowRoot)}/[1-9][0-9]{12}/.test(Date.now().toString())||(lb=()=>(new Date).getTime());class Ab{getId(W){var H;return null!==(H=this.styleIDMap.get(W))&&void 0!==H?H:-1}has(W){return this.styleIDMap.has(W)}add(W,H){if(this.has(W))return this.getId(W);let U;return U=void 0===H?this.id++:H,this.styleIDMap.set(W,U),this.idStyleMap.set(U,W),U}getStyle(W){return this.idStyleMap.get(W)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}}function $b(W){var H,U;let G=null;return(null===(U=null===(H=W.getRootNode)||void 0===H?void 0:H.call(W))||void 0===U?void 0:U.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&W.getRootNode().host&&(G=W.getRootNode().host),G}function Lb(W){const H=W.ownerDocument;return!!H&&(H.contains(W)||function(W){const H=W.ownerDocument;if(!H)return!1;const U=function(W){let H,U=W;for(;H=$b(U);)U=H;return U}(W);return H.contains(U)}(W))}var vb=(W=>(W[W.DomContentLoaded=0]="DomContentLoaded",W[W.Load=1]="Load",W[W.FullSnapshot=2]="FullSnapshot",W[W.IncrementalSnapshot=3]="IncrementalSnapshot",W[W.Meta=4]="Meta",W[W.Custom=5]="Custom",W[W.Plugin=6]="Plugin",W))(vb||{}),bb=(W=>(W[W.Mutation=0]="Mutation",W[W.MouseMove=1]="MouseMove",W[W.MouseInteraction=2]="MouseInteraction",W[W.Scroll=3]="Scroll",W[W.ViewportResize=4]="ViewportResize",W[W.Input=5]="Input",W[W.TouchMove=6]="TouchMove",W[W.MediaInteraction=7]="MediaInteraction",W[W.StyleSheetRule=8]="StyleSheetRule",W[W.CanvasMutation=9]="CanvasMutation",W[W.Font=10]="Font",W[W.Log=11]="Log",W[W.Drag=12]="Drag",W[W.StyleDeclaration=13]="StyleDeclaration",W[W.Selection=14]="Selection",W[W.AdoptedStyleSheet=15]="AdoptedStyleSheet",W[W.CustomElement=16]="CustomElement",W))(bb||{}),Sb=(W=>(W[W.MouseUp=0]="MouseUp",W[W.MouseDown=1]="MouseDown",W[W.Click=2]="Click",W[W.ContextMenu=3]="ContextMenu",W[W.DblClick=4]="DblClick",W[W.Focus=5]="Focus",W[W.Blur=6]="Blur",W[W.TouchStart=7]="TouchStart",W[W.TouchMove_Departed=8]="TouchMove_Departed",W[W.TouchEnd=9]="TouchEnd",W[W.TouchCancel=10]="TouchCancel",W))(Sb||{}),Db=(W=>(W[W.Mouse=0]="Mouse",W[W.Pen=1]="Pen",W[W.Touch=2]="Touch",W))(Db||{}),Fb=(W=>(W[W["2D"]=0]="2D",W[W.WebGL=1]="WebGL",W[W.WebGL2=2]="WebGL2",W))(Fb||{});function qb(W){return"__ln"in W}class Ub{get(W){if(W>=this.length)throw new Error("Position outside of list range");let H=this.head;for(let U=0;U<W;U++)H=(null==H?void 0:H.next)||null;return H}addNode(W){const H={value:W,previous:null,next:null};if(W.__ln=H,W.previousSibling&&qb(W.previousSibling)){const U=W.previousSibling.__ln.next;H.next=U,H.previous=W.previousSibling.__ln,W.previousSibling.__ln.next=H,U&&(U.previous=H)}else if(W.nextSibling&&qb(W.nextSibling)&&W.nextSibling.__ln.previous){const U=W.nextSibling.__ln.previous;H.previous=U,H.next=W.nextSibling.__ln,W.nextSibling.__ln.previous=H,U&&(U.next=H)}else this.head&&(this.head.previous=H),H.next=this.head,this.head=H;null===H.next&&(this.tail=H),this.length++}removeNode(W){const H=W.__ln;this.head&&(H.previous?(H.previous.next=H.next,H.next?H.next.previous=H.previous:this.tail=H.previous):(this.head=H.next,this.head?this.head.previous=null:this.tail=null),W.__ln&&delete W.__ln,this.length--)}constructor(){this.length=0,this.head=null,this.tail=null}}const Wb=(W,H)=>`${W}@${H}`;class Hb{init(W){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(H=>{this[H]=W[H]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=W=>{W.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const W=[],H=new Set,U=new Ub,n=W=>{let H=W,U=-2;for(;-2===U;)H=H&&H.nextSibling,U=H&&this.mirror.getId(H);return U},o=G=>{if(!G.parentNode||!Lb(G)||"TEXTAREA"===G.parentNode.tagName)return;const X=zy(G.parentNode)?this.mirror.getId($b(G)):this.mirror.getId(G.parentNode),oe=n(G);if(-1===X||-1===oe)return U.addNode(G);const ie=gb(G,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:W=>{Nb(W,this.mirror)&&this.iframeManager.addIframe(W),Pb(W,this.mirror)&&this.stylesheetManager.trackLinkElement(W),jb(G)&&this.shadowDomManager.addShadowRoot(G.shadowRoot,this.doc)},onIframeLoad:(W,H)=>{this.iframeManager.attachIframe(W,H),this.shadowDomManager.observeAttachShadow(W)},onStylesheetLoad:(W,H)=>{this.stylesheetManager.attachLinkElement(W,H)}});ie&&(W.push({parentId:X,nextId:oe,node:ie}),H.add(ie.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const W of this.movedSet)Gb(this.removes,W,this.mirror)&&!this.movedSet.has(W.parentNode)||o(W);for(const W of this.addedSet)Yb(this.droppedSet,W)||Gb(this.removes,W,this.mirror)?Yb(this.movedSet,W)?o(W):this.droppedSet.add(W):o(W);let G=null;for(;U.length;){let W=null;if(G){const H=this.mirror.getId(G.value.parentNode),U=n(G.value);-1!==H&&-1!==U&&(W=G)}if(!W){let H=U.tail;for(;H;){const U=H;if(H=H.previous,U){const H=this.mirror.getId(U.value.parentNode);if(-1===n(U.value))continue;if(-1!==H){W=U;break}{const H=U.value;if(H.parentNode&&H.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const G=H.parentNode.host;if(-1!==this.mirror.getId(G)){W=U;break}}}}}}if(!W){for(;U.head;)U.removeNode(U.head.value);break}G=W.previous,U.removeNode(W.value),o(W.value)}const X={texts:this.texts.map(W=>{const H=W.node;return H.parentNode&&"TEXTAREA"===H.parentNode.tagName&&this.genTextAreaValueMutation(H.parentNode),{id:this.mirror.getId(H),value:W.value}}).filter(W=>!H.has(W.id)).filter(W=>this.mirror.has(W.id)),attributes:this.attributes.map(W=>{const{attributes:H}=W;if("string"==typeof H.style){const U=JSON.stringify(W.styleDiff),G=JSON.stringify(W._unchangedStyles);U.length<H.style.length&&(U+G).split("var(").length===H.style.split("var(").length&&(H.style=W.styleDiff)}return{id:this.mirror.getId(W.node),attributes:H}}).filter(W=>!H.has(W.id)).filter(W=>this.mirror.has(W.id)),removes:this.removes,adds:W};(X.texts.length||X.attributes.length||X.removes.length||X.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(X))},this.genTextAreaValueMutation=W=>{let H=this.attributeMap.get(W);H||(H={node:W,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(H),this.attributeMap.set(W,H)),H.attributes.value=Array.from(W.childNodes,W=>W.textContent||"").join("")},this.processMutation=W=>{if(!Mb(W.target,this.mirror))switch(W.type){case"characterData":{const H=W.target.textContent;Tb(W.target,this.blockClass,this.blockSelector,!1)||H===W.oldValue||this.texts.push({value:hb(W.target,this.maskTextClass,this.maskTextSelector,!0)&&H?this.maskTextFn?this.maskTextFn(H,Eb(W.target)):H.replace(/[\S]/g,"*"):H,node:W.target});break}case"attributes":{const H=W.target;let U=W.attributeName,G=W.target.getAttribute(U);if("value"===U){const W=Gy(H);G=Wy({element:H,maskInputOptions:this.maskInputOptions,tagName:H.tagName,type:W,value:G,maskInputFn:this.maskInputFn})}if(Tb(W.target,this.blockClass,this.blockSelector,!1)||G===W.oldValue)return;let X=this.attributeMap.get(W.target);if("IFRAME"===H.tagName&&"src"===U&&!this.keepIframeSrcFn(G)){if(H.contentDocument)return;U="rr_src"}if(X||(X={node:W.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(X),this.attributeMap.set(W.target,X)),"type"===U&&"INPUT"===H.tagName&&"password"===(W.oldValue||"").toLowerCase()&&H.setAttribute("data-rr-is-password","true"),!db(H.tagName,U)&&(X.attributes[U]=pb(this.doc,Hy(H.tagName),Hy(U),G),"style"===U)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(W){this.unattachedDoc=this.doc}const U=this.unattachedDoc.createElement("span");W.oldValue&&U.setAttribute("style",W.oldValue);for(const W of Array.from(H.style)){const G=H.style.getPropertyValue(W),oe=H.style.getPropertyPriority(W);G!==U.style.getPropertyValue(W)||oe!==U.style.getPropertyPriority(W)?X.styleDiff[W]=""===oe?G:[G,oe]:X._unchangedStyles[W]=[G,oe]}for(const W of Array.from(U.style))""===H.style.getPropertyValue(W)&&(X.styleDiff[W]=!1)}break}case"childList":if(Tb(W.target,this.blockClass,this.blockSelector,!0))return;if("TEXTAREA"===W.target.tagName)return void this.genTextAreaValueMutation(W.target);W.addedNodes.forEach(H=>this.genAdds(H,W.target)),W.removedNodes.forEach(H=>{const U=this.mirror.getId(H),G=zy(W.target)?this.mirror.getId(W.target.host):this.mirror.getId(W.target);Tb(W.target,this.blockClass,this.blockSelector,!1)||Mb(H,this.mirror)||!function(W,H){return-1!==H.getId(W)}(H,this.mirror)||(this.addedSet.has(H)?(Kb(this.addedSet,H),this.droppedSet.add(H)):this.addedSet.has(W.target)&&-1===U||Rb(W.target,this.mirror)||(this.movedSet.has(H)&&this.movedMap[Wb(U,G)]?Kb(this.movedSet,H):this.removes.push({parentId:G,id:U,isShadow:!(!zy(W.target)||!By(W.target))||void 0})),this.mapRemoves.push(H))})}},this.genAdds=(W,H)=>{if(!this.processedNodeManager.inOtherBuffer(W,this)&&!this.addedSet.has(W)&&!this.movedSet.has(W)){if(this.mirror.hasNode(W)){if(Mb(W,this.mirror))return;this.movedSet.add(W);let U=null;H&&this.mirror.hasNode(H)&&(U=this.mirror.getId(H)),U&&-1!==U&&(this.movedMap[Wb(this.mirror.getId(W),U)]=!0)}else this.addedSet.add(W),this.droppedSet.delete(W);Tb(W,this.blockClass,this.blockSelector,!1)||(W.childNodes.forEach(W=>this.genAdds(W)),jb(W)&&W.shadowRoot.childNodes.forEach(H=>{this.processedNodeManager.add(H,this),this.genAdds(H,W)}))}}}}function Kb(W,H){W.delete(H),H.childNodes.forEach(H=>Kb(W,H))}function Gb(W,H,U){return 0!==W.length&&Xb(W,H,U)}function Xb(W,H,U){const{parentNode:G}=H;if(!G)return!1;const X=U.getId(G);return!!W.some(W=>W.id===X)||Xb(W,G,U)}function Yb(W,H){return 0!==W.size&&Qb(W,H)}function Qb(W,H){const{parentNode:U}=H;return!!U&&(!!W.has(U)||Qb(W,U))}let zb;const tv=W=>zb?(...H)=>{try{return W(...H)}catch(W){if(zb&&!0===zb(W))return;throw W}}:W,Bb=[];function nv(W){try{if("composedPath"in W){const H=W.composedPath();if(H.length)return H[0]}else if("path"in W&&W.path.length)return W.path[0]}catch(W){}return W&&W.target}function ov(W,H){var U,G;const X=new Hb;Bb.push(X),X.init(W);let oe=window.MutationObserver||window.__rrMutationObserver;const ie=null===(G=null===(U=null===window||void 0===window?void 0:window.Zone)||void 0===U?void 0:U.__symbol__)||void 0===G?void 0:G.call(U,"MutationObserver");ie&&window[ie]&&(oe=window[ie]);const ae=new oe(tv(X.processMutations.bind(X)));return ae.observe(H,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),ae}function iv({scrollCb:W,doc:H,mirror:U,blockClass:G,blockSelector:X,sampling:oe}){const ie=tv(xb(tv(oe=>{const ie=nv(oe);if(!ie||Tb(ie,G,X,!0))return;const ae=U.getId(ie);if(ie===H&&H.defaultView){const U=kb(H.defaultView);W({id:ae,x:U.left,y:U.top})}else W({id:ae,x:ie.scrollLeft,y:ie.scrollTop})}),oe.scroll||100));return yb("scroll",ie,H)}const Vb=["INPUT","TEXTAREA","SELECT"],Zb=new WeakMap;function lv(W){return function(W,H){if(dv("CSSGroupingRule")&&W.parentRule instanceof CSSGroupingRule||dv("CSSMediaRule")&&W.parentRule instanceof CSSMediaRule||dv("CSSSupportsRule")&&W.parentRule instanceof CSSSupportsRule||dv("CSSConditionRule")&&W.parentRule instanceof CSSConditionRule){const U=Array.from(W.parentRule.cssRules).indexOf(W);H.unshift(U)}else if(W.parentStyleSheet){const U=Array.from(W.parentStyleSheet.cssRules).indexOf(W);H.unshift(U)}return H}(W,[])}function cv(W,H,U){let G,X;return W?(W.ownerNode?G=H.getId(W.ownerNode):X=U.getId(W),{styleId:X,id:G}):{}}function uv({mirror:W,stylesheetManager:H},U){var G,X,oe;let ie=null;ie="#document"===U.nodeName?W.getId(U):W.getId(U.host);const ae="#document"===U.nodeName?null===(G=U.defaultView)||void 0===G?void 0:G.Document:null===(oe=null===(X=U.ownerDocument)||void 0===X?void 0:X.defaultView)||void 0===oe?void 0:oe.ShadowRoot,le=(null==ae?void 0:ae.prototype)?Object.getOwnPropertyDescriptor(null==ae?void 0:ae.prototype,"adoptedStyleSheets"):void 0;return null!==ie&&-1!==ie&&ae&&le?(Object.defineProperty(U,"adoptedStyleSheets",{configurable:le.configurable,enumerable:le.enumerable,get(){var W;return null===(W=le.get)||void 0===W?void 0:W.call(this)},set(W){var U;const G=null===(U=le.set)||void 0===U?void 0:U.call(this,W);if(null!==ie&&-1!==ie)try{H.adoptStyleSheets(W,ie)}catch(W){}return G}}),tv(()=>{Object.defineProperty(U,"adoptedStyleSheets",{configurable:le.configurable,enumerable:le.enumerable,get:le.get,set:le.set})})):()=>{}}function pv(W,H={}){const U=W.doc.defaultView;if(!U)return()=>{};let G;!function(W,H){const{mutationCb:U,mousemoveCb:G,mouseInteractionCb:X,scrollCb:oe,viewportResizeCb:ie,inputCb:ae,mediaInteractionCb:le,styleSheetRuleCb:ce,styleDeclarationCb:ue,canvasMutationCb:de,fontCb:pe,selectionCb:fe,customElementCb:ke}=W;W.mutationCb=(...W)=>{H.mutation&&H.mutation(...W),U(...W)},W.mousemoveCb=(...W)=>{H.mousemove&&H.mousemove(...W),G(...W)},W.mouseInteractionCb=(...W)=>{H.mouseInteraction&&H.mouseInteraction(...W),X(...W)},W.scrollCb=(...W)=>{H.scroll&&H.scroll(...W),oe(...W)},W.viewportResizeCb=(...W)=>{H.viewportResize&&H.viewportResize(...W),ie(...W)},W.inputCb=(...W)=>{H.input&&H.input(...W),ae(...W)},W.mediaInteractionCb=(...W)=>{H.mediaInteaction&&H.mediaInteaction(...W),le(...W)},W.styleSheetRuleCb=(...W)=>{H.styleSheetRule&&H.styleSheetRule(...W),ce(...W)},W.styleDeclarationCb=(...W)=>{H.styleDeclaration&&H.styleDeclaration(...W),ue(...W)},W.canvasMutationCb=(...W)=>{H.canvasMutation&&H.canvasMutation(...W),de(...W)},W.fontCb=(...W)=>{H.font&&H.font(...W),pe(...W)},W.selectionCb=(...W)=>{H.selection&&H.selection(...W),fe(...W)},W.customElementCb=(...W)=>{H.customElement&&H.customElement(...W),ke(...W)}}(W,H),W.recordDOM&&(G=ov(W,W.doc));const X=function({mousemoveCb:W,sampling:H,doc:U,mirror:G}){if(!1===H.mousemove)return()=>{};const X="number"==typeof H.mousemove?H.mousemove:50,oe="number"==typeof H.mousemoveCallback?H.mousemoveCallback:500;let ie,ae=[];const le=xb(tv(H=>{const U=Date.now()-ie;W(ae.map(W=>(W.timeOffset-=U,W)),H),ae=[],ie=null}),oe),ce=tv(xb(tv(W=>{const H=nv(W),{clientX:U,clientY:X}=Ib(W)?W.changedTouches[0]:W;ie||(ie=lb()),ae.push({x:U,y:X,id:G.getId(H),timeOffset:lb()-ie}),le("undefined"!=typeof DragEvent&&W instanceof DragEvent?bb.Drag:W instanceof MouseEvent?bb.MouseMove:bb.TouchMove)}),X,{trailing:!1})),ue=[yb("mousemove",ce,U),yb("touchmove",ce,U),yb("drag",ce,U)];return tv(()=>{ue.forEach(W=>W())})}(W),oe=function({mouseInteractionCb:W,doc:H,mirror:U,blockClass:G,blockSelector:X,sampling:oe}){if(!1===oe.mouseInteraction)return()=>{};const ie=!0===oe.mouseInteraction||void 0===oe.mouseInteraction?{}:oe.mouseInteraction,ae=[];let le=null;return Object.keys(Sb).filter(W=>Number.isNaN(Number(W))&&!W.endsWith("_Departed")&&!1!==ie[W]).forEach(oe=>{let ie=Hy(oe);const ce=(H=>oe=>{const ie=nv(oe);if(Tb(ie,G,X,!0))return;let ae=null,ce=H;if("pointerType"in oe){switch(oe.pointerType){case"mouse":ae=Db.Mouse;break;case"touch":ae=Db.Touch;break;case"pen":ae=Db.Pen}ae===Db.Touch&&(Sb[H]===Sb.MouseDown?ce="TouchStart":Sb[H]===Sb.MouseUp&&(ce="TouchEnd"))}else Ib(oe)&&(ae=Db.Touch);null!==ae?(le=ae,(ce.startsWith("Touch")&&ae===Db.Touch||ce.startsWith("Mouse")&&ae===Db.Mouse)&&(ae=null)):Sb[H]===Sb.Click&&(ae=le,le=null);const ue=Ib(oe)?oe.changedTouches[0]:oe;if(!ue)return;const de=U.getId(ie),{clientX:pe,clientY:fe}=ue;tv(W)(Object.assign({type:Sb[ce],id:de,x:pe,y:fe},null!==ae&&{pointerType:ae}))})(oe);if(window.PointerEvent)switch(Sb[oe]){case Sb.MouseDown:case Sb.MouseUp:ie=ie.replace("mouse","pointer");break;case Sb.TouchStart:case Sb.TouchEnd:return}ae.push(yb(ie,ce,H))}),tv(()=>{ae.forEach(W=>W())})}(W),ie=iv(W),ae=function({viewportResizeCb:W},{win:H}){let U=-1,G=-1;const X=tv(xb(tv(()=>{const H=Ob(),X=Cb();U===H&&G===X||(W({width:Number(X),height:Number(H)}),U=H,G=X)}),200));return yb("resize",X,H)}(W,{win:U}),le=function({inputCb:W,doc:H,mirror:U,blockClass:G,blockSelector:X,ignoreClass:oe,ignoreSelector:ie,maskInputOptions:ae,maskInputFn:le,sampling:ce,userTriggeredOnInput:ue}){function p(W){let U=nv(W);const ce=W.isTrusted,de=U&&U.tagName;if(U&&"OPTION"===de&&(U=U.parentElement),!U||!de||Vb.indexOf(de)<0||Tb(U,G,X,!0))return;if(U.classList.contains(oe)||ie&&U.matches(ie))return;let pe=U.value,fe=!1;const ke=Gy(U)||"";"radio"===ke||"checkbox"===ke?fe=U.checked:(ae[de.toLowerCase()]||ae[ke])&&(pe=Wy({element:U,maskInputOptions:ae,tagName:de,type:ke,value:pe,maskInputFn:le})),d(U,ue?{text:pe,isChecked:fe,userTriggered:ce}:{text:pe,isChecked:fe});const Qe=U.name;"radio"===ke&&Qe&&fe&&H.querySelectorAll(`input[type="radio"][name="${Qe}"]`).forEach(W=>{if(W!==U){const H=W.value;d(W,ue?{text:H,isChecked:!fe,userTriggered:!1}:{text:H,isChecked:!fe})}})}function d(H,G){const X=Zb.get(H);if(!X||X.text!==G.text||X.isChecked!==G.isChecked){Zb.set(H,G);const X=U.getId(H);tv(W)(Object.assign(Object.assign({},G),{id:X}))}}const de=("last"===ce.input?["change"]:["input","change"]).map(W=>yb(W,tv(p),H)),pe=H.defaultView;if(!pe)return()=>{de.forEach(W=>W())};const fe=pe.Object.getOwnPropertyDescriptor(pe.HTMLInputElement.prototype,"value"),ke=[[pe.HTMLInputElement.prototype,"value"],[pe.HTMLInputElement.prototype,"checked"],[pe.HTMLSelectElement.prototype,"value"],[pe.HTMLTextAreaElement.prototype,"value"],[pe.HTMLSelectElement.prototype,"selectedIndex"],[pe.HTMLOptionElement.prototype,"selected"]];return fe&&fe.set&&de.push(...ke.map(W=>_b(W[0],W[1],{set(){tv(p)({target:this,isTrusted:!1})}},!1,pe))),tv(()=>{de.forEach(W=>W())})}(W),ce=function({mediaInteractionCb:W,blockClass:H,blockSelector:U,mirror:G,sampling:X,doc:oe}){const ie=tv(oe=>xb(tv(X=>{const ie=nv(X);if(!ie||Tb(ie,H,U,!0))return;const{currentTime:ae,volume:le,muted:ce,playbackRate:ue,loop:de}=ie;W({type:oe,id:G.getId(ie),currentTime:ae,volume:le,muted:ce,playbackRate:ue,loop:de})}),X.media||500)),ae=[yb("play",ie(0),oe),yb("pause",ie(1),oe),yb("seeked",ie(2),oe),yb("volumechange",ie(3),oe),yb("ratechange",ie(4),oe)];return tv(()=>{ae.forEach(W=>W())})}(W);let u=()=>{},p=()=>{},d=()=>{},f=()=>{};W.recordDOM&&(u=function({styleSheetRuleCb:W,mirror:H,stylesheetManager:U},{win:G}){if(!G.CSSStyleSheet||!G.CSSStyleSheet.prototype)return()=>{};const X=G.CSSStyleSheet.prototype.insertRule;G.CSSStyleSheet.prototype.insertRule=new Proxy(X,{apply:tv((G,X,oe)=>{const[ie,ae]=oe,{id:le,styleId:ce}=cv(X,H,U.styleMirror);return(le&&-1!==le||ce&&-1!==ce)&&W({id:le,styleId:ce,adds:[{rule:ie,index:ae}]}),G.apply(X,oe)})});const oe=G.CSSStyleSheet.prototype.deleteRule;let ie,ae;G.CSSStyleSheet.prototype.deleteRule=new Proxy(oe,{apply:tv((G,X,oe)=>{const[ie]=oe,{id:ae,styleId:le}=cv(X,H,U.styleMirror);return(ae&&-1!==ae||le&&-1!==le)&&W({id:ae,styleId:le,removes:[{index:ie}]}),G.apply(X,oe)})}),G.CSSStyleSheet.prototype.replace&&(ie=G.CSSStyleSheet.prototype.replace,G.CSSStyleSheet.prototype.replace=new Proxy(ie,{apply:tv((G,X,oe)=>{const[ie]=oe,{id:ae,styleId:le}=cv(X,H,U.styleMirror);return(ae&&-1!==ae||le&&-1!==le)&&W({id:ae,styleId:le,replace:ie}),G.apply(X,oe)})})),G.CSSStyleSheet.prototype.replaceSync&&(ae=G.CSSStyleSheet.prototype.replaceSync,G.CSSStyleSheet.prototype.replaceSync=new Proxy(ae,{apply:tv((G,X,oe)=>{const[ie]=oe,{id:ae,styleId:le}=cv(X,H,U.styleMirror);return(ae&&-1!==ae||le&&-1!==le)&&W({id:ae,styleId:le,replaceSync:ie}),G.apply(X,oe)})}));const le={};fv("CSSGroupingRule")?le.CSSGroupingRule=G.CSSGroupingRule:(fv("CSSMediaRule")&&(le.CSSMediaRule=G.CSSMediaRule),fv("CSSConditionRule")&&(le.CSSConditionRule=G.CSSConditionRule),fv("CSSSupportsRule")&&(le.CSSSupportsRule=G.CSSSupportsRule));const ce={};return Object.entries(le).forEach(([G,X])=>{ce[G]={insertRule:X.prototype.insertRule,deleteRule:X.prototype.deleteRule},X.prototype.insertRule=new Proxy(ce[G].insertRule,{apply:tv((G,X,oe)=>{const[ie,ae]=oe,{id:le,styleId:ce}=cv(X.parentStyleSheet,H,U.styleMirror);return(le&&-1!==le||ce&&-1!==ce)&&W({id:le,styleId:ce,adds:[{rule:ie,index:[...lv(X),ae||0]}]}),G.apply(X,oe)})}),X.prototype.deleteRule=new Proxy(ce[G].deleteRule,{apply:tv((G,X,oe)=>{const[ie]=oe,{id:ae,styleId:le}=cv(X.parentStyleSheet,H,U.styleMirror);return(ae&&-1!==ae||le&&-1!==le)&&W({id:ae,styleId:le,removes:[{index:[...lv(X),ie]}]}),G.apply(X,oe)})})}),tv(()=>{G.CSSStyleSheet.prototype.insertRule=X,G.CSSStyleSheet.prototype.deleteRule=oe,ie&&(G.CSSStyleSheet.prototype.replace=ie),ae&&(G.CSSStyleSheet.prototype.replaceSync=ae),Object.entries(le).forEach(([W,H])=>{H.prototype.insertRule=ce[W].insertRule,H.prototype.deleteRule=ce[W].deleteRule})})}(W,{win:U}),p=uv(W,W.doc),d=function({styleDeclarationCb:W,mirror:H,ignoreCSSAttributes:U,stylesheetManager:G},{win:X}){const oe=X.CSSStyleDeclaration.prototype.setProperty;X.CSSStyleDeclaration.prototype.setProperty=new Proxy(oe,{apply:tv((X,ie,ae)=>{var le;const[ce,ue,de]=ae;if(U.has(ce))return oe.apply(ie,[ce,ue,de]);const{id:pe,styleId:fe}=cv(null===(le=ie.parentRule)||void 0===le?void 0:le.parentStyleSheet,H,G.styleMirror);return(pe&&-1!==pe||fe&&-1!==fe)&&W({id:pe,styleId:fe,set:{property:ce,value:ue,priority:de},index:lv(ie.parentRule)}),X.apply(ie,ae)})});const ie=X.CSSStyleDeclaration.prototype.removeProperty;return X.CSSStyleDeclaration.prototype.removeProperty=new Proxy(ie,{apply:tv((X,oe,ae)=>{var le;const[ce]=ae;if(U.has(ce))return ie.apply(oe,[ce]);const{id:ue,styleId:de}=cv(null===(le=oe.parentRule)||void 0===le?void 0:le.parentStyleSheet,H,G.styleMirror);return(ue&&-1!==ue||de&&-1!==de)&&W({id:ue,styleId:de,remove:{property:ce},index:lv(oe.parentRule)}),X.apply(oe,ae)})}),tv(()=>{X.CSSStyleDeclaration.prototype.setProperty=oe,X.CSSStyleDeclaration.prototype.removeProperty=ie})}(W,{win:U}),W.collectFonts&&(f=function({fontCb:W,doc:H}){const U=H.defaultView;if(!U)return()=>{};const G=[],X=new WeakMap,oe=U.FontFace;U.FontFace=function(W,H,U){const G=new oe(W,H,U);return X.set(G,{family:W,buffer:"string"!=typeof H,descriptors:U,fontSource:"string"==typeof H?H:JSON.stringify(Array.from(new Uint8Array(H)))}),G};const ie=wb(H.fonts,"add",function(H){return function(U){return setTimeout(tv(()=>{const H=X.get(U);H&&(W(H),X.delete(U))}),0),H.apply(this,[U])}});return G.push(()=>{U.FontFace=oe}),G.push(ie),tv(()=>{G.forEach(W=>W())})}(W)));const ue=function(W){const{doc:H,mirror:U,blockClass:G,blockSelector:X,selectionCb:oe}=W;let ie=!0;const ae=tv(()=>{const W=H.getSelection();if(!W||ie&&(null==W?void 0:W.isCollapsed))return;ie=W.isCollapsed||!1;const ae=[],le=W.rangeCount||0;for(let H=0;H<le;H++){const oe=W.getRangeAt(H),{startContainer:ie,startOffset:le,endContainer:ce,endOffset:ue}=oe;Tb(ie,G,X,!0)||Tb(ce,G,X,!0)||ae.push({start:U.getId(ie),startOffset:le,end:U.getId(ce),endOffset:ue})}oe({ranges:ae})});return ae(),yb("selectionchange",ae)}(W),de=function({doc:W,customElementCb:H}){const U=W.defaultView;return U&&U.customElements?wb(U.customElements,"define",function(W){return function(U,G,X){try{H({define:{name:U}})}catch(W){console.warn(`Custom element callback failed for ${U}`)}return W.apply(this,[U,G,X])}}):()=>{}}(W),pe=[];for(const H of W.plugins)pe.push(H.observer(H.callback,U,H.options));return tv(()=>{Bb.forEach(W=>W.reset()),null==G||G.disconnect(),X(),oe(),ie(),ae(),le(),ce(),u(),p(),d(),f(),ue(),de(),pe.forEach(W=>W())})}function dv(W){return void 0!==window[W]}function fv(W){return Boolean(void 0!==window[W]&&window[W].prototype&&"insertRule"in window[W].prototype&&"deleteRule"in window[W].prototype)}class hv{getId(W,H,U,G){const X=U||this.getIdToRemoteIdMap(W),oe=G||this.getRemoteIdToIdMap(W);let ie=X.get(H);return ie||(ie=this.generateIdFn(),X.set(H,ie),oe.set(ie,H)),ie}getIds(W,H){const U=this.getIdToRemoteIdMap(W),G=this.getRemoteIdToIdMap(W);return H.map(H=>this.getId(W,H,U,G))}getRemoteId(W,H,U){const G=U||this.getRemoteIdToIdMap(W);return"number"!=typeof H?H:G.get(H)||-1}getRemoteIds(W,H){const U=this.getRemoteIdToIdMap(W);return H.map(H=>this.getRemoteId(W,H,U))}reset(W){if(!W)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(W),this.iframeRemoteIdToIdMap.delete(W)}getIdToRemoteIdMap(W){let H=this.iframeIdToRemoteIdMap.get(W);return H||(H=new Map,this.iframeIdToRemoteIdMap.set(W,H)),H}getRemoteIdToIdMap(W){let H=this.iframeRemoteIdToIdMap.get(W);return H||(H=new Map,this.iframeRemoteIdToIdMap.set(W,H)),H}constructor(W){this.generateIdFn=W,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}}class mv{addIframe(W){this.iframes.set(W,!0),W.contentWindow&&this.crossOriginIframeMap.set(W.contentWindow,W)}addLoadListener(W){this.loadListener=W}attachIframe(W,H){var U;this.mutationCb({adds:[{parentId:this.mirror.getId(W),nextId:null,node:H}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(U=this.loadListener)||void 0===U||U.call(this,W),W.contentDocument&&W.contentDocument.adoptedStyleSheets&&W.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(W.contentDocument.adoptedStyleSheets,this.mirror.getId(W.contentDocument))}handleMessage(W){const H=W;if("rrweb"!==H.data.type||H.origin!==H.data.origin)return;if(!W.source)return;const U=this.crossOriginIframeMap.get(W.source);if(!U)return;const G=this.transformCrossOriginEvent(U,H.data.event);G&&this.wrappedEmit(G,H.data.isCheckout)}transformCrossOriginEvent(W,H){var U;switch(H.type){case vb.FullSnapshot:{this.crossOriginIframeMirror.reset(W),this.crossOriginIframeStyleMirror.reset(W),this.replaceIdOnNode(H.data.node,W);const U=H.data.node.id;return this.crossOriginIframeRootIdMap.set(W,U),this.patchRootIdOnNode(H.data.node,U),{timestamp:H.timestamp,type:vb.IncrementalSnapshot,data:{source:bb.Mutation,adds:[{parentId:this.mirror.getId(W),nextId:null,node:H.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case vb.Meta:case vb.Load:case vb.DomContentLoaded:return!1;case vb.Plugin:return H;case vb.Custom:return this.replaceIds(H.data.payload,W,["id","parentId","previousId","nextId"]),H;case vb.IncrementalSnapshot:switch(H.data.source){case bb.Mutation:return H.data.adds.forEach(H=>{this.replaceIds(H,W,["parentId","nextId","previousId"]),this.replaceIdOnNode(H.node,W);const U=this.crossOriginIframeRootIdMap.get(W);U&&this.patchRootIdOnNode(H.node,U)}),H.data.removes.forEach(H=>{this.replaceIds(H,W,["parentId","id"])}),H.data.attributes.forEach(H=>{this.replaceIds(H,W,["id"])}),H.data.texts.forEach(H=>{this.replaceIds(H,W,["id"])}),H;case bb.Drag:case bb.TouchMove:case bb.MouseMove:return H.data.positions.forEach(H=>{this.replaceIds(H,W,["id"])}),H;case bb.ViewportResize:return!1;case bb.MediaInteraction:case bb.MouseInteraction:case bb.Scroll:case bb.CanvasMutation:case bb.Input:return this.replaceIds(H.data,W,["id"]),H;case bb.StyleSheetRule:case bb.StyleDeclaration:return this.replaceIds(H.data,W,["id"]),this.replaceStyleIds(H.data,W,["styleId"]),H;case bb.Font:return H;case bb.Selection:return H.data.ranges.forEach(H=>{this.replaceIds(H,W,["start","end"])}),H;case bb.AdoptedStyleSheet:return this.replaceIds(H.data,W,["id"]),this.replaceStyleIds(H.data,W,["styleIds"]),null===(U=H.data.styles)||void 0===U||U.forEach(H=>{this.replaceStyleIds(H,W,["styleId"])}),H}}return!1}replace(W,H,U,G){for(const X of G)(Array.isArray(H[X])||"number"==typeof H[X])&&(Array.isArray(H[X])?H[X]=W.getIds(U,H[X]):H[X]=W.getId(U,H[X]));return H}replaceIds(W,H,U){return this.replace(this.crossOriginIframeMirror,W,H,U)}replaceStyleIds(W,H,U){return this.replace(this.crossOriginIframeStyleMirror,W,H,U)}replaceIdOnNode(W,H){this.replaceIds(W,H,["id","rootId"]),"childNodes"in W&&W.childNodes.forEach(W=>{this.replaceIdOnNode(W,H)})}patchRootIdOnNode(W,H){W.type===Kv.Document||W.rootId||(W.rootId=H),"childNodes"in W&&W.childNodes.forEach(W=>{this.patchRootIdOnNode(W,H)})}constructor(W){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new hv(Jy),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=W.mutationCb,this.wrappedEmit=W.wrappedEmit,this.stylesheetManager=W.stylesheetManager,this.recordCrossOriginIframes=W.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new hv(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=W.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}}class gv{init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(W,H){if(!By(W))return;if(this.shadowDoms.has(W))return;this.shadowDoms.add(W);const U=ov(Object.assign(Object.assign({},this.bypassOptions),{doc:H,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),W);this.restoreHandlers.push(()=>U.disconnect()),this.restoreHandlers.push(iv(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:W,mirror:this.mirror}))),setTimeout(()=>{W.adoptedStyleSheets&&W.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(W.adoptedStyleSheets,this.mirror.getId(W.host)),this.restoreHandlers.push(uv({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},W))},0)}observeAttachShadow(W){W.contentWindow&&W.contentDocument&&this.patchAttachShadow(W.contentWindow.Element,W.contentDocument)}patchAttachShadow(W,H){const U=this;this.restoreHandlers.push(wb(W.prototype,"attachShadow",function(W){return function(G){const X=W.call(this,G);return this.shadowRoot&&Lb(this)&&U.addShadowRoot(this.shadowRoot,H),X}}))}reset(){this.restoreHandlers.forEach(W=>{try{W()}catch(W){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}constructor(W){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=W.mutationCb,this.scrollCb=W.scrollCb,this.bypassOptions=W.bypassOptions,this.mirror=W.mirror,this.init()}}for(var ex="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tx="undefined"==typeof Uint8Array?[]:new Uint8Array(256),rx=0;rx<64;rx++)tx[ex.charCodeAt(rx)]=rx;const nx=new Map,_v=(W,H,U)=>{if(!W||!kv(W,H)&&"object"!=typeof W)return;const G=function(W,H){let U=nx.get(W);return U||(U=new Map,nx.set(W,U)),U.has(H)||U.set(H,[]),U.get(H)}(U,W.constructor.name);let X=G.indexOf(W);return-1===X&&(X=G.length,G.push(W)),X};function wv(W,H,U){if(W instanceof Array)return W.map(W=>wv(W,H,U));if(null===W)return W;if(W instanceof Float32Array||W instanceof Float64Array||W instanceof Int32Array||W instanceof Uint32Array||W instanceof Uint8Array||W instanceof Uint16Array||W instanceof Int16Array||W instanceof Int8Array||W instanceof Uint8ClampedArray)return{rr_type:W.constructor.name,args:[Object.values(W)]};if(W instanceof ArrayBuffer){const H=W.constructor.name,U=function(W){var H,U=new Uint8Array(W),G=U.length,X="";for(H=0;H<G;H+=3)X+=ex[U[H]>>2],X+=ex[(3&U[H])<<4|U[H+1]>>4],X+=ex[(15&U[H+1])<<2|U[H+2]>>6],X+=ex[63&U[H+2]];return G%3==2?X=X.substring(0,X.length-1)+"=":G%3==1&&(X=X.substring(0,X.length-2)+"=="),X}(W);return{rr_type:H,base64:U}}if(W instanceof DataView)return{rr_type:W.constructor.name,args:[wv(W.buffer,H,U),W.byteOffset,W.byteLength]};if(W instanceof HTMLImageElement){const H=W.constructor.name,{src:U}=W;return{rr_type:H,src:U}}return W instanceof HTMLCanvasElement?{rr_type:"HTMLImageElement",src:W.toDataURL()}:W instanceof ImageData?{rr_type:W.constructor.name,args:[wv(W.data,H,U),W.width,W.height]}:kv(W,H)||"object"==typeof W?{rr_type:W.constructor.name,index:_v(W,H,U)}:W}const Sv=(W,H,U)=>W.map(W=>wv(W,H,U)),kv=(W,H)=>{const U=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(W=>"function"==typeof H[W]);return Boolean(U.find(U=>W instanceof H[U]))};function Ov(W,H,U,G){const X=[];try{const oe=wb(W.HTMLCanvasElement.prototype,"getContext",function(W){return function(X,...oe){if(!Tb(this,H,U,!0)){const W=function(W){return"experimental-webgl"===W?"webgl":W}(X);if("__context"in this||(this.__context=W),G&&["webgl","webgl2"].includes(W))if(oe[0]&&"object"==typeof oe[0]){const W=oe[0];W.preserveDrawingBuffer||(W.preserveDrawingBuffer=!0)}else oe.splice(0,1,{preserveDrawingBuffer:!0})}return W.apply(this,[X,...oe])}});X.push(oe)}catch(W){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{X.forEach(W=>W())}}function Cv(W,H,U,G,X,oe,ie){const ae=[],le=Object.getOwnPropertyNames(W);for(const oe of le)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(oe))try{if("function"!=typeof W[oe])continue;const le=wb(W,oe,function(W){return function(...ae){const le=W.apply(this,ae);if(_v(le,ie,this),"tagName"in this.canvas&&!Tb(this.canvas,G,X,!0)){const W=Sv(ae,ie,this),G={type:H,property:oe,args:W};U(this.canvas,G)}return le}});ae.push(le)}catch(G){const X=_b(W,oe,{set(W){U(this.canvas,{type:H,property:oe,args:[W],setter:!0})}});ae.push(X)}return ae}var ox,ix,ax=(ox=function(){!function(){function e(W,H,U,G){return new(U||(U=Promise))(function(H,X){function i(W){try{s(G.next(W))}catch(W){X(W)}}function a(W){try{s(G.throw(W))}catch(W){X(W)}}function s(W){var G;W.done?H(W.value):(G=W.value,G instanceof U?G:new U(function(W){W(G)})).then(i,a)}s((G=G.apply(W,[])).next())})}for(var W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",H="undefined"==typeof Uint8Array?[]:new Uint8Array(256),U=0;U<64;U++)H[W.charCodeAt(U)]=U;var o=function(H){var U,G=new Uint8Array(H),X=G.length,oe="";for(U=0;U<X;U+=3)oe+=W[G[U]>>2],oe+=W[(3&G[U])<<4|G[U+1]>>4],oe+=W[(15&G[U+1])<<2|G[U+2]>>6],oe+=W[63&G[U+2]];return X%3==2?oe=oe.substring(0,oe.length-1)+"=":X%3==1&&(oe=oe.substring(0,oe.length-2)+"=="),oe};const G=new Map,X=new Map,oe=self;oe.onmessage=function(W){return e(this,0,void 0,function*(){if(!("OffscreenCanvas"in globalThis))return oe.postMessage({id:W.data.id});{const{id:H,bitmap:U,width:ie,height:ae,dataURLOptions:le}=W.data,ce=function(W,H,U){return e(this,0,void 0,function*(){const G=`${W}-${H}`;if("OffscreenCanvas"in globalThis){if(X.has(G))return X.get(G);const oe=new OffscreenCanvas(W,H);oe.getContext("2d");const ie=yield oe.convertToBlob(U),ae=yield ie.arrayBuffer(),le=o(ae);return X.set(G,le),le}return""})}(ie,ae,le),ue=new OffscreenCanvas(ie,ae);ue.getContext("2d").drawImage(U,0,0),U.close();const de=yield ue.convertToBlob(le),pe=de.type,fe=yield de.arrayBuffer(),ke=o(fe);if(!G.has(H)&&(yield ce)===ke)return G.set(H,ke),oe.postMessage({id:H});if(G.get(H)===ke)return oe.postMessage({id:H});oe.postMessage({id:H,type:pe,base64:ke,width:ie,height:ae}),G.set(H,ke)}})}}()},function(W){return ix=ix||function(W){var H=function(W){var H=W.toString().split("\n");H.pop(),H.shift();for(var U=H[0].search(/\S/),G=/(['"])__worker_loader_strict__(['"])/g,X=0,oe=H.length;X<oe;++X)H[X]=H[X].substring(U).replace(G,"$1use strict$2")+"\n";return H}(W),U=new Blob(H,{type:"application/javascript"});return URL.createObjectURL(U)}(ox),new Worker(ix,W)});class Rv{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}initCanvasFPSObserver(W,H,U,G,X){const oe=Ov(H,U,G,!0),ie=new Map,ae=new ax;ae.onmessage=W=>{const{id:H}=W.data;if(ie.set(H,!1),!("base64"in W.data))return;const{base64:U,type:G,width:X,height:oe}=W.data;this.mutationCb({id:H,type:Fb["2D"],commands:[{property:"clearRect",args:[0,0,X,oe]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:U}],type:G}]},0,0]}]})};const le=1e3/W;let ce,ue=0;const p=W=>{ue&&W-ue<le||(ue=W,(()=>{const W=[];return H.document.querySelectorAll("canvas").forEach(H=>{Tb(H,U,G,!0)||W.push(H)}),W})().forEach(W=>{return H=this,G=function*(){var H;const U=this.mirror.getId(W);if(ie.get(U))return;if(0===W.width||0===W.height)return;if(ie.set(U,!0),["webgl","webgl2"].includes(W.__context)){const U=W.getContext(W.__context);!1===(null===(H=null==U?void 0:U.getContextAttributes())||void 0===H?void 0:H.preserveDrawingBuffer)&&U.clear(U.COLOR_BUFFER_BIT)}const G=yield createImageBitmap(W);ae.postMessage({id:U,bitmap:G,width:W.width,height:W.height,dataURLOptions:X.dataURLOptions},[G])},new((U=void 0)||(U=Promise))(function(W,X){function i(W){try{s(G.next(W))}catch(W){X(W)}}function a(W){try{s(G.throw(W))}catch(W){X(W)}}function s(H){var G;H.done?W(H.value):(G=H.value,G instanceof U?G:new U(function(W){W(G)})).then(i,a)}s((G=G.apply(H,[])).next())});var H,U,G})),ce=requestAnimationFrame(p)};ce=requestAnimationFrame(p),this.resetObservers=()=>{oe(),cancelAnimationFrame(ce)}}initCanvasMutationObserver(W,H,U){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const G=Ov(W,H,U,!1),X=function(W,H,U,G){const X=[],oe=Object.getOwnPropertyNames(H.CanvasRenderingContext2D.prototype);for(const ie of oe)try{if("function"!=typeof H.CanvasRenderingContext2D.prototype[ie])continue;const oe=wb(H.CanvasRenderingContext2D.prototype,ie,function(X){return function(...oe){return Tb(this.canvas,U,G,!0)||setTimeout(()=>{const U=Sv(oe,H,this);W(this.canvas,{type:Fb["2D"],property:ie,args:U})},0),X.apply(this,oe)}});X.push(oe)}catch(U){const G=_b(H.CanvasRenderingContext2D.prototype,ie,{set(H){W(this.canvas,{type:Fb["2D"],property:ie,args:[H],setter:!0})}});X.push(G)}return()=>{X.forEach(W=>W())}}(this.processMutation.bind(this),W,H,U),oe=function(W,H,U,G){const X=[];return X.push(...Cv(H.WebGLRenderingContext.prototype,Fb.WebGL,W,U,G,0,H)),void 0!==H.WebGL2RenderingContext&&X.push(...Cv(H.WebGL2RenderingContext.prototype,Fb.WebGL2,W,U,G,0,H)),()=>{X.forEach(W=>W())}}(this.processMutation.bind(this),W,H,U,this.mirror);this.resetObservers=()=>{G(),X(),oe()}}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const e=W=>{this.rafStamps.latestId=W,requestAnimationFrame(e)};requestAnimationFrame(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((W,H)=>{const U=this.mirror.getId(H);this.flushPendingCanvasMutationFor(H,U)}),requestAnimationFrame(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(W,H){if(this.frozen||this.locked)return;const U=this.pendingCanvasMutations.get(W);if(!U||-1===H)return;const G=U.map(W=>{const H=function(W,H){var U={};for(var G in W)Object.prototype.hasOwnProperty.call(W,G)&&H.indexOf(G)<0&&(U[G]=W[G]);if(null!=W&&"function"==typeof Object.getOwnPropertySymbols){var X=0;for(G=Object.getOwnPropertySymbols(W);X<G.length;X++)H.indexOf(G[X])<0&&Object.prototype.propertyIsEnumerable.call(W,G[X])&&(U[G[X]]=W[G[X]])}return U}(W,["type"]);return H}),{type:X}=U[0];this.mutationCb({id:H,type:X,commands:G}),this.pendingCanvasMutations.delete(W)}constructor(W){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(W,H)=>{!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(W)||this.pendingCanvasMutations.set(W,[]),this.pendingCanvasMutations.get(W).push(H)};const{sampling:H="all",win:U,blockClass:G,blockSelector:X,recordCanvas:oe,dataURLOptions:ie}=W;this.mutationCb=W.mutationCb,this.mirror=W.mirror,oe&&"all"===H&&this.initCanvasMutationObserver(U,G,X),oe&&"number"==typeof H&&this.initCanvasFPSObserver(H,U,G,X,{dataURLOptions:ie})}}class Iv{attachLinkElement(W,H){"_cssText"in H.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:H.id,attributes:H.attributes}]}),this.trackLinkElement(W)}trackLinkElement(W){this.trackedLinkElements.has(W)||(this.trackedLinkElements.add(W),this.trackStylesheetInLinkElement(W))}adoptStyleSheets(W,H){if(0===W.length)return;const U={id:H,styleIds:[]},G=[];for(const H of W){let W;this.styleMirror.has(H)?W=this.styleMirror.getId(H):(W=this.styleMirror.add(H),G.push({styleId:W,rules:Array.from(H.rules||CSSRule,(W,H)=>({rule:qy(W),index:H}))})),U.styleIds.push(W)}G.length>0&&(U.styles=G),this.adoptedStyleSheetCb(U)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(W){}constructor(W){this.trackedLinkElements=new WeakSet,this.styleMirror=new Ab,this.mutationCb=W.mutationCb,this.adoptedStyleSheetCb=W.adoptedStyleSheetCb}}class Nv{periodicallyClear(){requestAnimationFrame(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(W,H){const U=this.nodeMap.get(W);return U&&Array.from(U).some(W=>W!==H)}add(W,H){this.nodeMap.set(W,(this.nodeMap.get(W)||new Set).add(H))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}}function Pv(W){return Object.assign(Object.assign({},W),{timestamp:lb()})}let sx,lx,cx,ux=!1;const dx=new Uy;function Fv(W={}){const{emit:H,checkoutEveryNms:U,checkoutEveryNth:G,blockClass:X="rr-block",blockSelector:oe=null,ignoreClass:ie="rr-ignore",ignoreSelector:ae=null,maskTextClass:le="rr-mask",maskTextSelector:ce=null,inlineStylesheet:ue=!0,maskAllInputs:de,maskInputOptions:pe,slimDOMOptions:fe,maskInputFn:ke,maskTextFn:Qe,hooks:tt,packFn:it,sampling:at={},dataURLOptions:st={},mousemoveWait:ut,recordDOM:ht=!0,recordCanvas:ft=!1,recordCrossOriginIframes:gt=!1,recordAfter:yt=("DOMContentLoaded"===W.recordAfter?W.recordAfter:"load"),userTriggeredOnInput:vt=!1,collectFonts:bt=!1,inlineImages:xt=!1,plugins:wt,keepIframeSrcFn:St=()=>!1,ignoreCSSAttributes:Ct=new Set([]),errorHandler:It}=W;!function Jb(W){zb=W}(It);const Pt=!gt||window.parent===window;let At=!1;if(!Pt)try{window.parent.document&&(At=!1)}catch(W){At=!0}if(Pt&&!H)throw new Error("emit function is required");void 0!==ut&&void 0===at.mousemove&&(at.mousemove=ut),dx.reset();const jt=!0===de?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:void 0!==pe?pe:{password:!0},Nt=!0===fe||"all"===fe?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===fe,headMetaDescKeywords:"all"===fe}:fe||{};let Lt;!function(W=window){"NodeList"in W&&!W.NodeList.prototype.forEach&&(W.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in W&&!W.DOMTokenList.prototype.forEach&&(W.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...W)=>{let H=W[0];if(!(0 in W))throw new TypeError("1 argument is required");do{if(this===H)return!0}while(H=H&&H.parentNode);return!1})}();let $t=0;const D=W=>{for(const H of wt||[])H.eventProcessor&&(W=H.eventProcessor(W));return it&&!At&&(W=it(W)),W};sx=(W,X)=>{var oe;if(!(null===(oe=Bb[0])||void 0===oe?void 0:oe.isFrozen())||W.type===vb.FullSnapshot||W.type===vb.IncrementalSnapshot&&W.data.source===bb.Mutation||Bb.forEach(W=>W.unfreeze()),Pt)null==H||H(D(W),X);else if(At){const H={type:"rrweb",event:D(W),origin:window.location.origin,isCheckout:X};window.parent.postMessage(H,"*")}if(W.type===vb.FullSnapshot)Lt=W,$t=0;else if(W.type===vb.IncrementalSnapshot){if(W.data.source===bb.Mutation&&W.data.isAttachIframe)return;$t++;const H=G&&$t>=G,X=U&&W.timestamp-Lt.timestamp>U;(H||X)&&lx(!0)}};const F=W=>{sx(Pv({type:vb.IncrementalSnapshot,data:Object.assign({source:bb.Mutation},W)}))},z=W=>sx(Pv({type:vb.IncrementalSnapshot,data:Object.assign({source:bb.Scroll},W)})),B=W=>sx(Pv({type:vb.IncrementalSnapshot,data:Object.assign({source:bb.CanvasMutation},W)})),Dt=new Iv({mutationCb:F,adoptedStyleSheetCb:W=>sx(Pv({type:vb.IncrementalSnapshot,data:Object.assign({source:bb.AdoptedStyleSheet},W)}))}),Ft=new mv({mirror:dx,mutationCb:F,stylesheetManager:Dt,recordCrossOriginIframes:gt,wrappedEmit:sx});for(const W of wt||[])W.getMirror&&W.getMirror({nodeMirror:dx,crossOriginIframeMirror:Ft.crossOriginIframeMirror,crossOriginIframeStyleMirror:Ft.crossOriginIframeStyleMirror});const zt=new Nv;cx=new Rv({recordCanvas:ft,mutationCb:B,win:window,blockClass:X,blockSelector:oe,mirror:dx,sampling:at.canvas,dataURLOptions:st});const Bt=new gv({mutationCb:F,scrollCb:z,bypassOptions:{blockClass:X,blockSelector:oe,maskTextClass:le,maskTextSelector:ce,inlineStylesheet:ue,maskInputOptions:jt,dataURLOptions:st,maskTextFn:Qe,maskInputFn:ke,recordCanvas:ft,inlineImages:xt,sampling:at,slimDOMOptions:Nt,iframeManager:Ft,stylesheetManager:Dt,canvasManager:cx,keepIframeSrcFn:St,processedNodeManager:zt},mirror:dx});lx=(W=!1)=>{if(!ht)return;sx(Pv({type:vb.Meta,data:{href:window.location.href,width:Cb(),height:Ob()}}),W),Dt.reset(),Bt.init(),Bb.forEach(W=>W.lock());const H=function(W,H){const{mirror:U=new Uy,blockClass:G="rr-block",blockSelector:X=null,maskTextClass:oe="rr-mask",maskTextSelector:ie=null,inlineStylesheet:ae=!0,inlineImages:le=!1,recordCanvas:ce=!1,maskAllInputs:ue=!1,maskTextFn:de,maskInputFn:pe,slimDOM:fe=!1,dataURLOptions:ke,preserveWhiteSpace:Qe,onSerialize:tt,onIframeLoad:it,iframeLoadTimeout:at,onStylesheetLoad:st,stylesheetLoadTimeout:ut,keepIframeSrcFn:ht=()=>!1}=H||{};return gb(W,{doc:W,mirror:U,blockClass:G,blockSelector:X,maskTextClass:oe,maskTextSelector:ie,skipChild:!1,inlineStylesheet:ae,maskInputOptions:!0===ue?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:!1===ue?{password:!0}:ue,maskTextFn:de,maskInputFn:pe,slimDOMOptions:!0===fe||"all"===fe?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===fe,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===fe?{}:fe,dataURLOptions:ke,inlineImages:le,recordCanvas:ce,preserveWhiteSpace:Qe,onSerialize:tt,onIframeLoad:it,iframeLoadTimeout:at,onStylesheetLoad:st,stylesheetLoadTimeout:ut,keepIframeSrcFn:ht,newlyAddedElement:!1})}(document,{mirror:dx,blockClass:X,blockSelector:oe,maskTextClass:le,maskTextSelector:ce,inlineStylesheet:ue,maskAllInputs:jt,maskTextFn:Qe,slimDOM:Nt,dataURLOptions:st,recordCanvas:ft,inlineImages:xt,onSerialize:W=>{Nb(W,dx)&&Ft.addIframe(W),Pb(W,dx)&&Dt.trackLinkElement(W),jb(W)&&Bt.addShadowRoot(W.shadowRoot,document)},onIframeLoad:(W,H)=>{Ft.attachIframe(W,H),Bt.observeAttachShadow(W)},onStylesheetLoad:(W,H)=>{Dt.attachLinkElement(W,H)},keepIframeSrcFn:St});if(!H)return console.warn("Failed to snapshot the document");sx(Pv({type:vb.FullSnapshot,data:{node:H,initialOffset:kb(window)}}),W),Bb.forEach(W=>W.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Dt.adoptStyleSheets(document.adoptedStyleSheets,dx.getId(document))};try{const W=[],t=W=>{var H;return tv(pv)({mutationCb:F,mousemoveCb:(W,H)=>sx(Pv({type:vb.IncrementalSnapshot,data:{source:H,positions:W}})),mouseInteractionCb:W=>sx(Pv({type:vb.IncrementalSnapshot,data:Object.assign({source:bb.MouseInteraction},W)})),scrollCb:z,viewportResizeCb:W=>sx(Pv({type:vb.IncrementalSnapshot,data:Object.assign({source:bb.ViewportResize},W)})),inputCb:W=>sx(Pv({type:vb.IncrementalSnapshot,data:Object.assign({source:bb.Input},W)})),mediaInteractionCb:W=>sx(Pv({type:vb.IncrementalSnapshot,data:Object.assign({source:bb.MediaInteraction},W)})),styleSheetRuleCb:W=>sx(Pv({type:vb.IncrementalSnapshot,data:Object.assign({source:bb.StyleSheetRule},W)})),styleDeclarationCb:W=>sx(Pv({type:vb.IncrementalSnapshot,data:Object.assign({source:bb.StyleDeclaration},W)})),canvasMutationCb:B,fontCb:W=>sx(Pv({type:vb.IncrementalSnapshot,data:Object.assign({source:bb.Font},W)})),selectionCb:W=>{sx(Pv({type:vb.IncrementalSnapshot,data:Object.assign({source:bb.Selection},W)}))},customElementCb:W=>{sx(Pv({type:vb.IncrementalSnapshot,data:Object.assign({source:bb.CustomElement},W)}))},blockClass:X,ignoreClass:ie,ignoreSelector:ae,maskTextClass:le,maskTextSelector:ce,maskInputOptions:jt,inlineStylesheet:ue,sampling:at,recordDOM:ht,recordCanvas:ft,inlineImages:xt,userTriggeredOnInput:vt,collectFonts:bt,doc:W,maskInputFn:ke,maskTextFn:Qe,keepIframeSrcFn:St,blockSelector:oe,slimDOMOptions:Nt,dataURLOptions:st,mirror:dx,iframeManager:Ft,stylesheetManager:Dt,shadowDomManager:Bt,processedNodeManager:zt,canvasManager:cx,ignoreCSSAttributes:Ct,plugins:(null===(H=null==wt?void 0:wt.filter(W=>W.observer))||void 0===H?void 0:H.map(W=>({observer:W.observer,options:W.options,callback:H=>sx(Pv({type:vb.Plugin,data:{plugin:W.name,payload:H}}))})))||[]},tt)};Ft.addLoadListener(H=>{try{W.push(t(H.contentDocument))}catch(W){console.warn(W)}});const r=()=>{lx(),W.push(t(document)),ux=!0};return"interactive"===document.readyState||"complete"===document.readyState?r():(W.push(yb("DOMContentLoaded",()=>{sx(Pv({type:vb.DomContentLoaded,data:{}})),"DOMContentLoaded"===yt&&r()})),W.push(yb("load",()=>{sx(Pv({type:vb.Load,data:{}})),"load"===yt&&r()},window))),()=>{W.forEach(W=>W()),zt.destroy(),ux=!1,function ev(){zb=void 0}()}}catch(W){console.warn(W)}}Fv.addCustomEvent=(W,H)=>{if(!ux)throw new Error("please add custom event after start recording");sx(Pv({type:vb.Custom,data:{tag:W,payload:H}}))},Fv.freezePage=()=>{Bb.forEach(W=>W.freeze())},Fv.takeFullSnapshot=W=>{if(!ux)throw new Error("please take full snapshot after start recording");lx(W)},Fv.mirror=dx;var px,mx=(W=>(W[W.DomContentLoaded=0]="DomContentLoaded",W[W.Load=1]="Load",W[W.FullSnapshot=2]="FullSnapshot",W[W.IncrementalSnapshot=3]="IncrementalSnapshot",W[W.Meta=4]="Meta",W[W.Custom=5]="Custom",W[W.Plugin=6]="Plugin",W))(mx||{}),gx=(W=>(W[W.Mutation=0]="Mutation",W[W.MouseMove=1]="MouseMove",W[W.MouseInteraction=2]="MouseInteraction",W[W.Scroll=3]="Scroll",W[W.ViewportResize=4]="ViewportResize",W[W.Input=5]="Input",W[W.TouchMove=6]="TouchMove",W[W.MediaInteraction=7]="MediaInteraction",W[W.StyleSheetRule=8]="StyleSheetRule",W[W.CanvasMutation=9]="CanvasMutation",W[W.Font=10]="Font",W[W.Log=11]="Log",W[W.Drag=12]="Drag",W[W.StyleDeclaration=13]="StyleDeclaration",W[W.Selection=14]="Selection",W[W.AdoptedStyleSheet=15]="AdoptedStyleSheet",W[W.CustomElement=16]="CustomElement",W))(gx||{}),vx={DEBUG:!1,LIB_VERSION:"2.55.1"};if("undefined"==typeof window){var bx={hostname:""};px={navigator:{userAgent:"",onLine:!0},document:{location:bx,referrer:""},screen:{width:0,height:0},location:bx}}else px=window;var xx,wx=864e5,Sx=Array.prototype,Cx=Function.prototype,Ex=Object.prototype,Ox=Sx.slice,Bx=Ex.toString,qx=Ex.hasOwnProperty,Kx=px.console,Xx=px.navigator,Yx=px.document,Zx=px.opera,Qx=px.screen,n_=Xx.userAgent,o_=Cx.bind,i_=Sx.forEach,a_=Sx.indexOf,s_=Sx.map,l_=Array.isArray,c_={},u_={trim:function(W){return W.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},h_={log:function(){if(vx.DEBUG&&!u_.isUndefined(Kx)&&Kx)try{Kx.log.apply(Kx,arguments)}catch(W){u_.each(arguments,function(W){Kx.log(W)})}},warn:function(){if(vx.DEBUG&&!u_.isUndefined(Kx)&&Kx){var W=["Mixpanel warning:"].concat(u_.toArray(arguments));try{Kx.warn.apply(Kx,W)}catch(H){u_.each(W,function(W){Kx.warn(W)})}}},error:function(){if(vx.DEBUG&&!u_.isUndefined(Kx)&&Kx){var W=["Mixpanel error:"].concat(u_.toArray(arguments));try{Kx.error.apply(Kx,W)}catch(H){u_.each(W,function(W){Kx.error(W)})}}},critical:function(){if(!u_.isUndefined(Kx)&&Kx){var W=["Mixpanel error:"].concat(u_.toArray(arguments));try{Kx.error.apply(Kx,W)}catch(H){u_.each(W,function(W){Kx.error(W)})}}}},fx=function(W,H){return function(){return arguments[0]="["+H+"] "+arguments[0],W.apply(h_,arguments)}},hx=function(W){return{log:fx(h_.log,W),error:fx(h_.error,W),critical:fx(h_.critical,W)}};u_.bind=function(W,H){var U,G;if(o_&&W.bind===o_)return o_.apply(W,Ox.call(arguments,1));if(!u_.isFunction(W))throw new TypeError;return U=Ox.call(arguments,2),G=function(){if(!(this instanceof G))return W.apply(H,U.concat(Ox.call(arguments)));var X={};X.prototype=W.prototype;var oe=new X;X.prototype=null;var ie=W.apply(oe,U.concat(Ox.call(arguments)));return Object(ie)===ie?ie:oe},G},u_.each=function(W,H,U){if(null!=W)if(i_&&W.forEach===i_)W.forEach(H,U);else if(W.length===+W.length){for(var G=0,X=W.length;G<X;G++)if(G in W&&H.call(U,W[G],G,W)===c_)return}else for(var oe in W)if(qx.call(W,oe)&&H.call(U,W[oe],oe,W)===c_)return},u_.extend=function(W){return u_.each(Ox.call(arguments,1),function(H){for(var U in H)void 0!==H[U]&&(W[U]=H[U])}),W},u_.isArray=l_||function(W){return"[object Array]"===Bx.call(W)},u_.isFunction=function(W){try{return/^\s*\bfunction\b/.test(W)}catch(W){return!1}},u_.isArguments=function(W){return!(!W||!qx.call(W,"callee"))},u_.toArray=function(W){return W?W.toArray?W.toArray():u_.isArray(W)||u_.isArguments(W)?Ox.call(W):u_.values(W):[]},u_.map=function(W,H,U){if(s_&&W.map===s_)return W.map(H,U);var G=[];return u_.each(W,function(W){G.push(H.call(U,W))}),G},u_.keys=function(W){var H=[];return null===W||u_.each(W,function(W,U){H[H.length]=U}),H},u_.values=function(W){var H=[];return null===W||u_.each(W,function(W){H[H.length]=W}),H},u_.include=function(W,H){var U=!1;return null===W?U:a_&&W.indexOf===a_?-1!=W.indexOf(H):(u_.each(W,function(W){if(U||(U=W===H))return c_}),U)},u_.includes=function(W,H){return-1!==W.indexOf(H)},u_.inherit=function(W,H){return W.prototype=new H,W.prototype.constructor=W,W.superclass=H.prototype,W},u_.isObject=function(W){return W===Object(W)&&!u_.isArray(W)},u_.isEmptyObject=function(W){if(u_.isObject(W)){for(var H in W)if(qx.call(W,H))return!1;return!0}return!1},u_.isUndefined=function(W){return void 0===W},u_.isString=function(W){return"[object String]"==Bx.call(W)},u_.isDate=function(W){return"[object Date]"==Bx.call(W)},u_.isNumber=function(W){return"[object Number]"==Bx.call(W)},u_.isElement=function(W){return!(!W||1!==W.nodeType)},u_.encodeDates=function(W){return u_.each(W,function(H,U){u_.isDate(H)?W[U]=u_.formatDate(H):u_.isObject(H)&&(W[U]=u_.encodeDates(H))}),W},u_.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},u_.formatDate=function(W){function t(W){return W<10?"0"+W:W}return W.getUTCFullYear()+"-"+t(W.getUTCMonth()+1)+"-"+t(W.getUTCDate())+"T"+t(W.getUTCHours())+":"+t(W.getUTCMinutes())+":"+t(W.getUTCSeconds())},u_.strip_empty_properties=function(W){var H={};return u_.each(W,function(W,U){u_.isString(W)&&W.length>0&&(H[U]=W)}),H},u_.truncate=function(W,H){var U;return"string"==typeof W?U=W.slice(0,H):u_.isArray(W)?(U=[],u_.each(W,function(W){U.push(u_.truncate(W,H))})):u_.isObject(W)?(U={},u_.each(W,function(W,G){U[G]=u_.truncate(W,H)})):U=W,U},u_.JSONEncode=function(W){var t=function(W){var H=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,U={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return H.lastIndex=0,H.test(W)?'"'+W.replace(H,function(W){var H=U[W];return"string"==typeof H?H:"\\u"+("0000"+W.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+W+'"'},r=function(W,H){var U="",G=0,X="",oe="",ie=0,ae=U,le=[],ce=H[W];switch(ce&&"object"==typeof ce&&"function"==typeof ce.toJSON&&(ce=ce.toJSON(W)),typeof ce){case"string":return t(ce);case"number":return isFinite(ce)?String(ce):"null";case"boolean":case"null":return String(ce);case"object":if(!ce)return"null";if(U+=" ",le=[],"[object Array]"===Bx.apply(ce)){for(ie=ce.length,G=0;G<ie;G+=1)le[G]=r(G,ce)||"null";return oe=0===le.length?"[]":U?"[\n"+U+le.join(",\n"+U)+"\n"+ae+"]":"["+le.join(",")+"]",U=ae,oe}for(X in ce)qx.call(ce,X)&&(oe=r(X,ce))&&le.push(t(X)+(U?": ":":")+oe);return oe=0===le.length?"{}":U?"{"+le.join(",")+ae+"}":"{"+le.join(",")+"}",U=ae,oe}};return r("",{"":W})},u_.JSONDecode=function(){var W,H,U,G,X={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},i=function(H){var G=new SyntaxError(H);throw G.at=W,G.text=U,G},a=function(G){return G&&G!==H&&i("Expected '"+G+"' instead of '"+H+"'"),H=U.charAt(W),W+=1,H},s=function(){var W,U="";for("-"===H&&(U="-",a("-"));H>="0"&&H<="9";)U+=H,a();if("."===H)for(U+=".";a()&&H>="0"&&H<="9";)U+=H;if("e"===H||"E"===H)for(U+=H,a(),"-"!==H&&"+"!==H||(U+=H,a());H>="0"&&H<="9";)U+=H,a();if(W=+U,isFinite(W))return W;i("Bad number")},l=function(){var W,U,G,oe="";if('"'===H)for(;a();){if('"'===H)return a(),oe;if("\\"===H)if(a(),"u"===H){for(G=0,U=0;U<4&&(W=parseInt(a(),16),isFinite(W));U+=1)G=16*G+W;oe+=String.fromCharCode(G)}else{if("string"!=typeof X[H])break;oe+=X[H]}else oe+=H}i("Bad string")},c=function(){for(;H&&H<=" ";)a()};return G=function(){switch(c(),H){case"{":return function(){var W,U={};if("{"===H){if(a("{"),c(),"}"===H)return a("}"),U;for(;H;){if(W=l(),c(),a(":"),Object.hasOwnProperty.call(U,W)&&i('Duplicate key "'+W+'"'),U[W]=G(),c(),"}"===H)return a("}"),U;a(","),c()}}i("Bad object")}();case"[":return function(){var W=[];if("["===H){if(a("["),c(),"]"===H)return a("]"),W;for(;H;){if(W.push(G()),c(),"]"===H)return a("]"),W;a(","),c()}}i("Bad array")}();case'"':return l();case"-":return s();default:return H>="0"&&H<="9"?s():function(){switch(H){case"t":return a("t"),a("r"),a("u"),a("e"),!0;case"f":return a("f"),a("a"),a("l"),a("s"),a("e"),!1;case"n":return a("n"),a("u"),a("l"),a("l"),null}i('Unexpected "'+H+'"')}()}},function(X){var oe;return U=X,W=0,H=" ",oe=G(),c(),H&&i("Syntax error"),oe}}(),u_.base64Encode=function(W){var H,U,G,X,oe,ie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ae=0,le=0,ce="",ue=[];if(!W)return W;W=u_.utf8Encode(W);do{H=(oe=W.charCodeAt(ae++)<<16|W.charCodeAt(ae++)<<8|W.charCodeAt(ae++))>>18&63,U=oe>>12&63,G=oe>>6&63,X=63&oe,ue[le++]=ie.charAt(H)+ie.charAt(U)+ie.charAt(G)+ie.charAt(X)}while(ae<W.length);switch(ce=ue.join(""),W.length%3){case 1:ce=ce.slice(0,-2)+"==";break;case 2:ce=ce.slice(0,-1)+"="}return ce},u_.utf8Encode=function(W){var H,U,G,X,oe="";for(H=U=0,G=(W=(W+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,X=0;X<G;X++){var ie=W.charCodeAt(X),ae=null;ie<128?U++:ae=ie>127&&ie<2048?String.fromCharCode(ie>>6|192,63&ie|128):String.fromCharCode(ie>>12|224,ie>>6&63|128,63&ie|128),null!==ae&&(U>H&&(oe+=W.substring(H,U)),oe+=ae,H=U=X+1)}return U>H&&(oe+=W.substring(H,W.length)),oe},u_.UUID=(xx=function(){var W,H=1*new Date;if(px.performance&&px.performance.now)W=px.performance.now();else for(W=0;H==1*new Date;)W++;return H.toString(16)+Math.floor(W).toString(16)},function(){var W=(Qx.height*Qx.width).toString(16);return xx()+"-"+Math.random().toString(16).replace(".","")+"-"+function(){var W,H,U=n_,G=[],X=0;function i(W,H){var U,X=0;for(U=0;U<H.length;U++)X|=G[U]<<8*U;return W^X}for(W=0;W<U.length;W++)H=U.charCodeAt(W),G.unshift(255&H),G.length>=4&&(X=i(X,G),G=[]);return G.length>0&&(X=i(X,G)),X.toString(16)}()+"-"+W+"-"+xx()});var f_=["ahrefsbot","ahrefssiteaudit","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandexbot","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];u_.isBlockedUA=function(W){var H;for(W=W.toLowerCase(),H=0;H<f_.length;H++)if(-1!==W.indexOf(f_[H]))return!0;return!1},u_.HTTPBuildQuery=function(W,H){var U,G,X=[];return u_.isUndefined(H)&&(H="&"),u_.each(W,function(W,H){U=encodeURIComponent(W.toString()),G=encodeURIComponent(H),X[X.length]=G+"="+U}),X.join(H)},u_.getQueryParam=function(W,H){H=H.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var U=new RegExp("[\\?&]"+H+"=([^&#]*)").exec(W);if(null===U||U&&"string"!=typeof U[1]&&U[1].length)return"";var G=U[1];try{G=decodeURIComponent(G)}catch(W){h_.error("Skipping decoding for malformed query param: "+G)}return G.replace(/\+/g," ")},u_.cookie={get:function(W){for(var H=W+"=",U=Yx.cookie.split(";"),G=0;G<U.length;G++){for(var X=U[G];" "==X.charAt(0);)X=X.substring(1,X.length);if(0===X.indexOf(H))return decodeURIComponent(X.substring(H.length,X.length))}return null},parse:function(W){var H;try{H=u_.JSONDecode(u_.cookie.get(W))||{}}catch(W){}return H},set_seconds:function(W,H,U,G,X,oe,ie){var ae="",le="",ce="";if(ie)ae="; domain="+ie;else if(G){var ue=kx(Yx.location.hostname);ae=ue?"; domain=."+ue:""}if(U){var de=new Date;de.setTime(de.getTime()+1e3*U),le="; expires="+de.toGMTString()}oe&&(X=!0,ce="; SameSite=None"),X&&(ce+="; secure"),Yx.cookie=W+"="+encodeURIComponent(H)+le+"; path=/"+ae+ce},set:function(W,H,U,G,X,oe,ie){var ae="",le="",ce="";if(ie)ae="; domain="+ie;else if(G){var ue=kx(Yx.location.hostname);ae=ue?"; domain=."+ue:""}if(U){var de=new Date;de.setTime(de.getTime()+24*U*60*60*1e3),le="; expires="+de.toGMTString()}oe&&(X=!0,ce="; SameSite=None"),X&&(ce+="; secure");var pe=W+"="+encodeURIComponent(H)+le+"; path=/"+ae+ce;return Yx.cookie=pe,pe},remove:function(W,H,U){u_.cookie.set(W,"",-1,H,!1,!1,U)}};var m_=null,yx=function(W,H){if(null!==m_&&!H)return m_;var U=!0;try{W=W||window.localStorage;var G="__mplss_"+_x(8);W.setItem(G,"xyz"),"xyz"!==W.getItem(G)&&(U=!1),W.removeItem(G)}catch(W){U=!1}return m_=U,U};u_.localStorage={is_supported:function(W){var H=yx(null,W);return H||h_.error("localStorage unsupported; falling back to cookie store"),H},error:function(W){h_.error("localStorage error: "+W)},get:function(W){try{return window.localStorage.getItem(W)}catch(W){u_.localStorage.error(W)}return null},parse:function(W){try{return u_.JSONDecode(u_.localStorage.get(W))||{}}catch(W){}return null},set:function(W,H){try{window.localStorage.setItem(W,H)}catch(W){u_.localStorage.error(W)}},remove:function(W){try{window.localStorage.removeItem(W)}catch(W){u_.localStorage.error(W)}}},u_.register_event=function(){function e(W){return W&&(W.preventDefault=e.preventDefault,W.stopPropagation=e.stopPropagation),W}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(W,H,U,G,X){if(W)if(W.addEventListener&&!G)W.addEventListener(H,U,!!X);else{var oe="on"+H,ie=W[oe];W[oe]=function(W,H,U){return function(G){if(G=G||e(window.event)){var X,oe,ie=!0;return u_.isFunction(U)&&(X=U(G)),oe=H.call(W,G),!1!==X&&!1!==oe||(ie=!1),ie}}}(W,U,ie)}else h_.error("No valid element provided to register_event")}}();var g_=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');u_.dom_query=function(){function e(W){return W.all?W.all:W.getElementsByTagName("*")}var W=/[\t\r\n]/g;function r(H,U){var G=" "+U+" ";return(" "+H.className+" ").replace(W," ").indexOf(G)>=0}function n(W){if(!Yx.getElementsByTagName)return[];var H,U,G,X,oe,ie,ae,le,ce,ue,de=W.split(" "),pe=[Yx];for(ie=0;ie<de.length;ie++)if((H=de[ie].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){G=(U=H.split("#"))[0];var fe=U[1],ke=Yx.getElementById(fe);if(!ke||G&&ke.nodeName.toLowerCase()!=G)return[];pe=[ke]}else if(H.indexOf(".")>-1){G=(U=H.split("."))[0];var Qe=U[1];for(G||(G="*"),X=[],oe=0,ae=0;ae<pe.length;ae++)for(ce="*"==G?e(pe[ae]):pe[ae].getElementsByTagName(G),le=0;le<ce.length;le++)X[oe++]=ce[le];for(pe=[],ue=0,ae=0;ae<X.length;ae++)X[ae].className&&u_.isString(X[ae].className)&&r(X[ae],Qe)&&(pe[ue++]=X[ae])}else{var tt=H.match(g_);if(tt){G=tt[1];var it,at=tt[2],st=tt[3],ut=tt[4];for(G||(G="*"),X=[],oe=0,ae=0;ae<pe.length;ae++)for(ce="*"==G?e(pe[ae]):pe[ae].getElementsByTagName(G),le=0;le<ce.length;le++)X[oe++]=ce[le];switch(pe=[],ue=0,st){case"=":it=function(W){return W.getAttribute(at)==ut};break;case"~":it=function(W){return W.getAttribute(at).match(new RegExp("\\b"+ut+"\\b"))};break;case"|":it=function(W){return W.getAttribute(at).match(new RegExp("^"+ut+"-?"))};break;case"^":it=function(W){return 0===W.getAttribute(at).indexOf(ut)};break;case"$":it=function(W){return W.getAttribute(at).lastIndexOf(ut)==W.getAttribute(at).length-ut.length};break;case"*":it=function(W){return W.getAttribute(at).indexOf(ut)>-1};break;default:it=function(W){return W.getAttribute(at)}}for(pe=[],ue=0,ae=0;ae<X.length;ae++)it(X[ae])&&(pe[ue++]=X[ae])}else{for(G=H,X=[],oe=0,ae=0;ae<pe.length;ae++)for(ce=pe[ae].getElementsByTagName(G),le=0;le<ce.length;le++)X[oe++]=ce[le];pe=X}}return pe}return function(W){return u_.isElement(W)?[W]:u_.isObject(W)&&!u_.isUndefined(W.length)?W:n.call(this,W)}}();var y_=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],v_=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];u_.info={campaignParams:function(W){var H="",U={};return u_.each(y_,function(G){(H=u_.getQueryParam(Yx.URL,G)).length?U[G]=H:void 0!==W&&(U[G]=W)}),U},clickParams:function(){var W="",H={};return u_.each(v_,function(U){(W=u_.getQueryParam(Yx.URL,U)).length&&(H[U]=W)}),H},marketingParams:function(){return u_.extend(u_.info.campaignParams(),u_.info.clickParams())},searchEngine:function(W){return 0===W.search("https?://(.*)google.([^/?]*)")?"google":0===W.search("https?://(.*)bing.com")?"bing":0===W.search("https?://(.*)yahoo.com")?"yahoo":0===W.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(W){var H=u_.info.searchEngine(W),U="yahoo"!=H?"q":"p",G={};if(null!==H){G.$search_engine=H;var X=u_.getQueryParam(W,U);X.length&&(G.mp_keyword=X)}return G},browser:function(W,H,U){return H=H||"",U||u_.includes(W," OPR/")?u_.includes(W,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(W)?"BlackBerry":u_.includes(W,"IEMobile")||u_.includes(W,"WPDesktop")?"Internet Explorer Mobile":u_.includes(W,"SamsungBrowser/")?"Samsung Internet":u_.includes(W,"Edge")||u_.includes(W,"Edg/")?"Microsoft Edge":u_.includes(W,"FBIOS")?"Facebook Mobile":u_.includes(W,"Chrome")?"Chrome":u_.includes(W,"CriOS")?"Chrome iOS":u_.includes(W,"UCWEB")||u_.includes(W,"UCBrowser")?"UC Browser":u_.includes(W,"FxiOS")?"Firefox iOS":u_.includes(H,"Apple")?u_.includes(W,"Mobile")?"Mobile Safari":"Safari":u_.includes(W,"Android")?"Android Mobile":u_.includes(W,"Konqueror")?"Konqueror":u_.includes(W,"Firefox")?"Firefox":u_.includes(W,"MSIE")||u_.includes(W,"Trident/")?"Internet Explorer":u_.includes(W,"Gecko")?"Mozilla":""},browserVersion:function(W,H,U){var G={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/}[u_.info.browser(W,H,U)];if(void 0===G)return null;var X=W.match(G);return X?parseFloat(X[X.length-2]):null},os:function(){var W=n_;return/Windows/i.test(W)?/Phone/.test(W)||/WPDesktop/.test(W)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(W)?"iOS":/Android/.test(W)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(W)?"BlackBerry":/Mac/i.test(W)?"Mac OS X":/Linux/.test(W)?"Linux":/CrOS/.test(W)?"Chrome OS":""},device:function(W){return/Windows Phone/i.test(W)||/WPDesktop/.test(W)?"Windows Phone":/iPad/.test(W)?"iPad":/iPod/.test(W)?"iPod Touch":/iPhone/.test(W)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(W)?"BlackBerry":/Android/.test(W)?"Android":""},referringDomain:function(W){var H=W.split("/");return H.length>=3?H[2]:""},currentUrl:function(){return px.location.href},properties:function(W){return"object"!=typeof W&&(W={}),u_.extend(u_.strip_empty_properties({$os:u_.info.os(),$browser:u_.info.browser(n_,Xx.vendor,Zx),$referrer:Yx.referrer,$referring_domain:u_.info.referringDomain(Yx.referrer),$device:u_.info.device(n_)}),{$current_url:u_.info.currentUrl(),$browser_version:u_.info.browserVersion(n_,Xx.vendor,Zx),$screen_height:Qx.height,$screen_width:Qx.width,mp_lib:"web",$lib_version:vx.LIB_VERSION,$insert_id:_x(),time:u_.timestamp()/1e3},u_.strip_empty_properties(W))},people_properties:function(){return u_.extend(u_.strip_empty_properties({$os:u_.info.os(),$browser:u_.info.browser(n_,Xx.vendor,Zx)}),{$browser_version:u_.info.browserVersion(n_,Xx.vendor,Zx)})},mpPageViewProperties:function(){return u_.strip_empty_properties({current_page_title:Yx.title,current_domain:px.location.hostname,current_url_path:px.location.pathname,current_url_protocol:px.location.protocol,current_url_search:px.location.search})}};var _x=function(W){var H=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return W?H.substring(0,W):H},b_=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,x_=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,kx=function(W){var H=x_,U=W.split("."),G=U[U.length-1];(G.length>4||"com"===G||"org"===G)&&(H=b_);var X=W.match(H);return X?X[0]:""},__=null,w_=null;"undefined"!=typeof JSON&&(__=JSON.stringify,w_=JSON.parse),__=__||u_.JSONEncode,w_=w_||u_.JSONDecode,u_.toArray=u_.toArray,u_.isObject=u_.isObject,u_.JSONEncode=u_.JSONEncode,u_.JSONDecode=u_.JSONDecode,u_.isBlockedUA=u_.isBlockedUA,u_.isEmptyObject=u_.isEmptyObject,u_.info=u_.info,u_.info.device=u_.info.device,u_.info.browser=u_.info.browser,u_.info.browserVersion=u_.info.browserVersion,u_.info.properties=u_.info.properties;function Tx(W,H){Fx(!0,W,H)}function Mx(W,H){Fx(!1,W,H)}function Rx(W,H){return"1"===Dx(W,H)}function Ix(W,H){if(function(W){if(W&&W.ignoreDnt)return!1;var H=W&&W.window||px,U=H.navigator||{},G=!1;return u_.each([U.doNotTrack,U.msDoNotTrack,H.doNotTrack],function(W){u_.includes([!0,1,"1","yes"],W)&&(G=!0)}),G}(H))return h_.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var U="0"===Dx(W,H);return U&&h_.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),U}function Nx(W){return zx(W,function(W){return this.get_config(W)})}function Px(W){return zx(W,function(W){return this._get_config(W)})}function jx(W){return zx(W,function(W){return this._get_config(W)})}function Ax(W,H){$x(H=H||{}).remove(Lx(W,H),!!H.crossSubdomainCookie,H.cookieDomain)}function $x(W){return"localStorage"===(W=W||{}).persistenceType?u_.localStorage:u_.cookie}function Lx(W,H){return((H=H||{}).persistencePrefix||"__mp_opt_in_out_")+W}function Dx(W,H){return $x(H).get(Lx(W,H))}function Fx(W,H,U){u_.isString(H)&&H.length?($x(U=U||{}).set(Lx(H,U),W?1:0,u_.isNumber(U.cookieExpiration)?U.cookieExpiration:null,!!U.crossSubdomainCookie,!!U.secureCookie,!!U.crossSiteCookie,U.cookieDomain),U.track&&W&&U.track(U.trackEventName||"$opt_in",U.trackProperties,{send_immediately:!0})):h_.error("gdpr."+(W?"optIn":"optOut")+" called with an invalid token")}function zx(W,H){return function(){var U=!1;try{var G=H.call(this,"token"),X=H.call(this,"ignore_dnt"),oe=H.call(this,"opt_out_tracking_persistence_type"),ie=H.call(this,"opt_out_tracking_cookie_prefix"),ae=H.call(this,"window");G&&(U=Ix(G,{ignoreDnt:X,persistenceType:oe,persistencePrefix:ie,window:ae}))}catch(W){h_.error("Unexpected error when checking tracking opt-out status: "+W)}if(!U)return W.apply(this,arguments);var le=arguments[arguments.length-1];"function"==typeof le&&le(0)}}var S_=hx("lock"),Vx=function(W,H){H=H||{},this.storageKey=W,this.storage=H.storage||window.localStorage,this.pollIntervalMS=H.pollIntervalMS||100,this.timeoutMS=H.timeoutMS||2e3};Vx.prototype.withLock=function(W,H,U){U||"function"==typeof H||(U=H,H=null);var G=U||(new Date).getTime()+"|"+Math.random(),X=(new Date).getTime(),oe=this.storageKey,ie=this.pollIntervalMS,ae=this.timeoutMS,le=this.storage,ce=oe+":X",ue=oe+":Y",de=oe+":Z",d=function(W){H&&H(W)},f=function(W){if((new Date).getTime()-X>ae)return S_.error("Timeout waiting for mutex on "+oe+"; clearing lock. ["+G+"]"),le.removeItem(de),le.removeItem(ue),void g();setTimeout(function(){try{W()}catch(W){d(W)}},ie*(Math.random()+.1))},h=function(W,H){W()?H():f(function(){h(W,H)})},m=function(){var W=le.getItem(ue);if(W&&W!==G)return!1;if(le.setItem(ue,G),le.getItem(ue)===G)return!0;if(!yx(le,!0))throw new Error("localStorage support dropped while acquiring lock");return!1},g=function(){le.setItem(ce,G),h(m,function(){le.getItem(ce)!==G?f(function(){le.getItem(ue)===G?h(function(){return!le.getItem(de)},y):g()}):y()})},y=function(){le.setItem(de,"1");try{W()}finally{le.removeItem(de),le.getItem(ue)===G&&le.removeItem(ue),le.getItem(ce)===G&&le.removeItem(ce)}};try{if(!yx(le,!0))throw new Error("localStorage support check failed");g()}catch(W){d(W)}};var k_=hx("batch"),Ux=function(W,H){H=H||{},this.storageKey=W,this.storage=H.storage||window.localStorage,this.reportError=H.errorReporter||u_.bind(k_.error,k_),this.lock=new Vx(W,{storage:this.storage}),this.usePersistence=H.usePersistence,this.pid=H.pid||null,this.memQueue=[]};Ux.prototype.enqueue=function(W,H,U){var G={id:_x(),flushAfter:(new Date).getTime()+2*H,payload:W};this.usePersistence?this.lock.withLock(u_.bind(function(){var H;try{var X=this.readFromStorage();X.push(G),(H=this.saveToStorage(X))&&this.memQueue.push(G)}catch(U){this.reportError("Error enqueueing item",W),H=!1}U&&U(H)},this),u_.bind(function(W){this.reportError("Error acquiring storage lock",W),U&&U(!1)},this),this.pid):(this.memQueue.push(G),U&&U(!0))},Ux.prototype.fillBatch=function(W){var H=this.memQueue.slice(0,W);if(this.usePersistence&&H.length<W){var U=this.readFromStorage();if(U.length){var G={};u_.each(H,function(W){G[W.id]=!0});for(var X=0;X<U.length;X++){var oe=U[X];if((new Date).getTime()>oe.flushAfter&&!G[oe.id]&&(oe.orphaned=!0,H.push(oe),H.length>=W))break}}}return H};var Wx=function(W,H){var U=[];return u_.each(W,function(W){W.id&&!H[W.id]&&U.push(W)}),U};Ux.prototype.removeItemsByID=function(W,H){var U={};if(u_.each(W,function(W){U[W]=!0}),this.memQueue=Wx(this.memQueue,U),this.usePersistence){var G=u_.bind(function(){var H;try{var G=this.readFromStorage();if(G=Wx(G,U),H=this.saveToStorage(G)){G=this.readFromStorage();for(var X=0;X<G.length;X++){var oe=G[X];if(oe.id&&U[oe.id])return this.reportError("Item not removed from storage"),!1}}}catch(U){this.reportError("Error removing items",W),H=!1}return H},this);this.lock.withLock(function(){var W=G();H&&H(W)},u_.bind(function(W){var U=!1;if(this.reportError("Error acquiring storage lock",W),!yx(this.storage,!0)&&!(U=G()))try{this.storage.removeItem(this.storageKey)}catch(W){this.reportError("Error clearing queue",W)}H&&H(U)},this),this.pid)}else H&&H(!0)};var Hx=function(W,H){var U=[];return u_.each(W,function(W){var G=W.id;if(G in H){var X=H[G];null!==X&&(W.payload=X,U.push(W))}else U.push(W)}),U};Ux.prototype.updatePayloads=function(W,H){this.memQueue=Hx(this.memQueue,W),this.usePersistence?this.lock.withLock(u_.bind(function(){var U;try{var G=this.readFromStorage();G=Hx(G,W),U=this.saveToStorage(G)}catch(H){this.reportError("Error updating items",W),U=!1}H&&H(U)},this),u_.bind(function(W){this.reportError("Error acquiring storage lock",W),H&&H(!1)},this),this.pid):H&&H(!0)},Ux.prototype.readFromStorage=function(){var W;try{(W=this.storage.getItem(this.storageKey))&&(W=w_(W),u_.isArray(W)||(this.reportError("Invalid storage entry:",W),W=null))}catch(H){this.reportError("Error retrieving queue",H),W=null}return W||[]},Ux.prototype.saveToStorage=function(W){try{return this.storage.setItem(this.storageKey,__(W)),!0}catch(W){return this.reportError("Error saving queue",W),!1}},Ux.prototype.clear=function(){this.memQueue=[],this.usePersistence&&this.storage.removeItem(this.storageKey)};var C_=hx("batch"),Gx=function(W,H){this.errorReporter=H.errorReporter,this.queue=new Ux(W,{errorReporter:u_.bind(this.reportError,this),storage:H.storage,usePersistence:H.usePersistence}),this.libConfig=H.libConfig,this.sendRequest=H.sendRequestFunc,this.beforeSendHook=H.beforeSendHook,this.stopAllBatching=H.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=H.flushOnlyOnInterval||!1};Gx.prototype.enqueue=function(W,H){this.queue.enqueue(W,this.flushInterval,H)},Gx.prototype.start=function(){this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},Gx.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},Gx.prototype.clear=function(){this.queue.clear()},Gx.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},Gx.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},Gx.prototype.scheduleFlush=function(W){this.flushInterval=W,this.stopped||(this.timeoutID=setTimeout(u_.bind(function(){this.stopped||this.flush()},this),this.flushInterval))},Gx.prototype.flush=function(W){try{if(this.requestInProgress)return void C_.log("Flush: Request already in progress");W=W||{};var H=this.libConfig.batch_request_timeout_ms,U=(new Date).getTime(),G=this.batchSize,X=this.queue.fillBatch(G),oe=X.length===G,ie=[],ae={};if(u_.each(X,function(W){var H=W.payload;if(this.beforeSendHook&&!W.orphaned&&(H=this.beforeSendHook(H)),H){H.event&&H.properties&&(H.properties=u_.extend({},H.properties,{mp_sent_by_lib_version:vx.LIB_VERSION}));var U=!0,G=W.id;G?(this.itemIdsSentSuccessfully[G]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:W,batchSize:X.length,timesSent:this.itemIdsSentSuccessfully[G]}),U=!1):this.reportError("[dupe] found item with no ID",{item:W}),U&&ie.push(H)}ae[W.id]=H},this),ie.length<1)return void this.resetFlush();this.requestInProgress=!0;var le=u_.bind(function(ie){this.requestInProgress=!1;try{var le=!1;if(W.unloading)this.queue.updatePayloads(ae);else if(u_.isObject(ie)&&"timeout"===ie.error&&(new Date).getTime()-U>=H)this.reportError("Network timeout; retrying"),this.flush();else if(u_.isObject(ie)&&(ie.httpStatusCode>=500||429===ie.httpStatusCode||ie.httpStatusCode<=0&&(de=px.navigator.onLine,!u_.isUndefined(de)&&!de)||"timeout"===ie.error)){var ce=2*this.flushInterval;ie.retryAfter&&(ce=1e3*parseInt(ie.retryAfter,10)||ce),ce=Math.min(6e5,ce),this.reportError("Error; retry in "+ce+" ms"),this.scheduleFlush(ce)}else if(u_.isObject(ie)&&413===ie.httpStatusCode)if(X.length>1){var ue=Math.max(1,Math.floor(G/2));this.batchSize=Math.min(this.batchSize,ue,X.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush()}else this.reportError("Single-event request too large; dropping",X),this.resetBatchSize(),le=!0;else le=!0;le&&(this.queue.removeItemsByID(u_.map(X,function(W){return W.id}),u_.bind(function(W){W?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!oe?this.resetFlush():this.flush()):(this.reportError("Failed to remove items from queue"),++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush())},this)),u_.each(X,u_.bind(function(W){var H=W.id;H?(this.itemIdsSentSuccessfully[H]=this.itemIdsSentSuccessfully[H]||0,this.itemIdsSentSuccessfully[H]++,this.itemIdsSentSuccessfully[H]>5&&this.reportError("[dupe] item ID sent too many times",{item:W,batchSize:X.length,timesSent:this.itemIdsSentSuccessfully[H]})):this.reportError("[dupe] found item with no ID while removing",{item:W})},this)))}catch(W){this.reportError("Error handling API response",W),this.resetFlush()}var de},this),ce={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:H};W.unloading&&(ce.transport="sendBeacon"),C_.log("MIXPANEL REQUEST:",ie),this.sendRequest(ie,ce,le)}catch(W){this.reportError("Error flushing request queue",W),this.resetFlush()}},Gx.prototype.reportError=function(W,H){if(C_.error.apply(C_.error,arguments),this.errorReporter)try{H instanceof Error||(H=new Error(W)),this.errorReporter(W,H)}catch(H){C_.error(H)}};var R_=hx("recorder"),I_=px.CompressionStream,P_={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},A_=new Set([gx.MouseMove,gx.MouseInteraction,gx.Scroll,gx.ViewportResize,gx.Input,gx.TouchMove,gx.MediaInteraction,gx.Drag,gx.Selection]),Jx=function(W){this._mixpanel=W,this._stopRecording=null,this.recEvents=[],this.seqNo=0,this.replayId=null,this.replayStartTime=null,this.sendBatchId=null,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=wx,this.recordMinMs=0,this._initBatcher()};Jx.prototype._initBatcher=function(){this.batcher=new Gx("__mprec",{libConfig:P_,sendRequestFunc:u_.bind(this.flushEventsWithOptOut,this),errorReporter:u_.bind(this.reportError,this),flushOnlyOnInterval:!0,usePersistence:!1})},Jx.prototype.get_config=function(W){return this._mixpanel.get_config(W)},Jx.prototype.startRecording=function(W){if(null===this._stopRecording){this.recordMaxMs=this.get_config("record_max_ms"),this.recordMaxMs>wx&&(this.recordMaxMs=wx,R_.critical("record_max_ms cannot be greater than "+wx+"ms. Capping value.")),this.recordMinMs=this.get_config("record_min_ms"),this.recordMinMs>8e3&&(this.recordMinMs=8e3,R_.critical("record_min_ms cannot be greater than 8000ms. Capping value.")),this.recEvents=[],this.seqNo=0,this.replayStartTime=(new Date).getTime(),this.replayId=u_.UUID(),W||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var H=u_.bind(function(){clearTimeout(this.idleTimeoutId),this.idleTimeoutId=setTimeout(u_.bind(function(){R_.log("Idle timeout reached, restarting recording."),this.resetRecording()},this),this.get_config("record_idle_timeout_ms"))},this),U=this.get_config("record_block_selector");""!==U&&null!==U||(U=void 0),this._stopRecording=Fv({emit:u_.bind(function(W){this.batcher.enqueue(W),function(W){return W.type===mx.IncrementalSnapshot&&A_.has(W.data.source)}(W)&&(this.batcher.stopped&&(new Date).getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),H())},this),blockClass:this.get_config("record_block_class"),blockSelector:U,collectFonts:this.get_config("record_collect_fonts"),inlineImages:this.get_config("record_inline_images"),maskAllInputs:!0,maskTextClass:this.get_config("record_mask_text_class"),maskTextSelector:this.get_config("record_mask_text_selector")}),H(),this.maxTimeoutId=setTimeout(u_.bind(this.resetRecording,this),this.recordMaxMs)}else R_.log("Recording already in progress, skipping startRecording.")},Jx.prototype.resetRecording=function(){this.stopRecording(),this.startRecording(!0)},Jx.prototype.stopRecording=function(){null!==this._stopRecording&&(this._stopRecording(),this._stopRecording=null),this.batcher.stopped?this.batcher.clear():(this.batcher.flush(),this.batcher.stop()),this.replayId=null,clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId)},Jx.prototype.flushEventsWithOptOut=function(W,H,U){this._flushEvents(W,H,U,u_.bind(this._onOptOut,this))},Jx.prototype._onOptOut=function(W){0===W&&(this.recEvents=[],this.stopRecording())},Jx.prototype._sendRequest=function(W,H,U,G){var X=u_.bind(function(H,U){200===H.status&&this.replayId===W&&this.seqNo++,G({status:0,httpStatusCode:H.status,responseBody:U,retryAfter:H.headers.get("Retry-After")})},this);px.fetch(this.get_config("api_host")+"/"+this.get_config("api_routes").record+"?"+new URLSearchParams(H),{method:"POST",headers:{Authorization:"Basic "+btoa(this.get_config("token")+":"),"Content-Type":"application/octet-stream"},body:U}).then(function(W){W.json().then(function(H){X(W,H)}).catch(function(W){G({error:W})})}).catch(function(W){G({error:W,httpStatusCode:0})})},Jx.prototype._flushEvents=Nx(function(W,H,U){const G=W.length;if(G>0){var X=this.replayId,oe=W[0].timestamp;0!==this.seqNo&&this.replayStartTime||(0!==this.seqNo&&this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=oe);var ie=W[G-1].timestamp-this.replayStartTime,ae={distinct_id:String(this._mixpanel.get_distinct_id()),seq:this.seqNo,batch_start_time:oe/1e3,replay_id:X,replay_length_ms:ie,replay_start_time:this.replayStartTime/1e3},le=u_.JSONEncode(W),ce=this._mixpanel.get_property("$device_id");ce&&(ae.$device_id=ce);var ue=this._mixpanel.get_property("$user_id");if(ue&&(ae.$user_id=ue),I_){var de=new Blob([le],{type:"application/json"}).stream().pipeThrough(new I_("gzip"));new Response(de).blob().then(u_.bind(function(W){ae.format="gzip",this._sendRequest(X,ae,W,U)},this))}else ae.format="body",this._sendRequest(X,ae,le,U)}}),Jx.prototype.reportError=function(W,H){R_.error.apply(R_.error,arguments);try{H||W instanceof Error||(W=new Error(W)),this.get_config("error_reporter")(W,H)}catch(H){R_.error(H)}},px.__mp_recorder=Jx;var e_=function(){};e_.prototype.create_properties=function(){},e_.prototype.event_handler=function(){},e_.prototype.after_track_handler=function(){},e_.prototype.init=function(W){return this.mp=W,this},e_.prototype.track=function(W,H,U,G){var X=this,oe=u_.dom_query(W);if(0!==oe.length)return u_.each(oe,function(W){u_.register_event(W,this.override_event,function(W){var oe={},ie=X.create_properties(U,this),ae=X.mp.get_config("track_links_timeout");X.event_handler(W,this,oe),window.setTimeout(X.track_callback(G,ie,oe,!0),ae),X.mp.track(H,ie,X.track_callback(G,ie,oe))})},this),!0;h_.error("The DOM query ("+W+") returned 0 elements")},e_.prototype.track_callback=function(W,H,U,G){G=G||!1;var X=this;return function(){U.callback_fired||(U.callback_fired=!0,W&&!1===W(G,H)||X.after_track_handler(H,U,G))}},e_.prototype.create_properties=function(W,H){return"function"==typeof W?W(H):u_.extend({},W)};var t_=function(){this.override_event="click"};u_.inherit(t_,e_),t_.prototype.create_properties=function(W,H){var U=t_.superclass.create_properties.apply(this,arguments);return H.href&&(U.url=H.href),U},t_.prototype.event_handler=function(W,H,U){U.new_tab=2===W.which||W.metaKey||W.ctrlKey||"_blank"===H.target,U.href=H.href,U.new_tab||W.preventDefault()},t_.prototype.after_track_handler=function(W,H){H.new_tab||setTimeout(function(){window.location=H.href},0)};var r_=function(){this.override_event="submit"};u_.inherit(r_,e_),r_.prototype.event_handler=function(W,H,U){U.element=H,W.preventDefault()},r_.prototype.after_track_handler=function(W,H){setTimeout(function(){H.element.submit()},0)};var j_="$set",N_="$set_once",L_="$unset",$_="$add",D_="$append",B_="$union",q_="$remove",W_={set_action:function(W,H){var U={},G={};return u_.isObject(W)?u_.each(W,function(W,H){this._is_reserved_property(H)||(G[H]=W)},this):G[W]=H,U[j_]=G,U},unset_action:function(W){var H={},U=[];return u_.isArray(W)||(W=[W]),u_.each(W,function(W){this._is_reserved_property(W)||U.push(W)},this),H[L_]=U,H},set_once_action:function(W,H){var U={},G={};return u_.isObject(W)?u_.each(W,function(W,H){this._is_reserved_property(H)||(G[H]=W)},this):G[W]=H,U[N_]=G,U},union_action:function(W,H){var U={},G={};return u_.isObject(W)?u_.each(W,function(W,H){this._is_reserved_property(H)||(G[H]=u_.isArray(W)?W:[W])},this):G[W]=u_.isArray(H)?H:[H],U[B_]=G,U},append_action:function(W,H){var U={},G={};return u_.isObject(W)?u_.each(W,function(W,H){this._is_reserved_property(H)||(G[H]=W)},this):G[W]=H,U[D_]=G,U},remove_action:function(W,H){var U={},G={};return u_.isObject(W)?u_.each(W,function(W,H){this._is_reserved_property(H)||(G[H]=W)},this):G[W]=H,U[q_]=G,U},delete_action:function(){return{$delete:""}}},p_=function(){};u_.extend(p_.prototype,W_),p_.prototype._init=function(W,H,U){this._mixpanel=W,this._group_key=H,this._group_id=U},p_.prototype.set=jx(function(W,H,U){var G=this.set_action(W,H);return u_.isObject(W)&&(U=H),this._send_request(G,U)}),p_.prototype.set_once=jx(function(W,H,U){var G=this.set_once_action(W,H);return u_.isObject(W)&&(U=H),this._send_request(G,U)}),p_.prototype.unset=jx(function(W,H){var U=this.unset_action(W);return this._send_request(U,H)}),p_.prototype.union=jx(function(W,H,U){u_.isObject(W)&&(U=H);var G=this.union_action(W,H);return this._send_request(G,U)}),p_.prototype.delete=jx(function(W){var H=this.delete_action();return this._send_request(H,W)}),p_.prototype.remove=jx(function(W,H,U){var G=this.remove_action(W,H);return this._send_request(G,U)}),p_.prototype._send_request=function(W,H){W.$group_key=this._group_key,W.$group_id=this._group_id,W.$token=this._get_config("token");var U=u_.encodeDates(W);return this._mixpanel._track_or_batch({type:"groups",data:U,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},H)},p_.prototype._is_reserved_property=function(W){return"$group_key"===W||"$group_id"===W},p_.prototype._get_config=function(W){return this._mixpanel.get_config(W)},p_.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},p_.prototype.remove=p_.prototype.remove,p_.prototype.set=p_.prototype.set,p_.prototype.set_once=p_.prototype.set_once,p_.prototype.union=p_.prototype.union,p_.prototype.unset=p_.prototype.unset,p_.prototype.toString=p_.prototype.toString;var d_=function(){};u_.extend(d_.prototype,W_),d_.prototype._init=function(W){this._mixpanel=W},d_.prototype.set=Px(function(W,H,U){var G=this.set_action(W,H);return u_.isObject(W)&&(U=H),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),G[j_]=u_.extend({},u_.info.people_properties(),G[j_]),this._send_request(G,U)}),d_.prototype.set_once=Px(function(W,H,U){var G=this.set_once_action(W,H);return u_.isObject(W)&&(U=H),this._send_request(G,U)}),d_.prototype.unset=Px(function(W,H){var U=this.unset_action(W);return this._send_request(U,H)}),d_.prototype.increment=Px(function(W,H,U){var G={},X={};return u_.isObject(W)?(u_.each(W,function(W,H){if(!this._is_reserved_property(H)){if(isNaN(parseFloat(W)))return void h_.error("Invalid increment value passed to mixpanel.people.increment - must be a number");X[H]=W}},this),U=H):(u_.isUndefined(H)&&(H=1),X[W]=H),G[$_]=X,this._send_request(G,U)}),d_.prototype.append=Px(function(W,H,U){u_.isObject(W)&&(U=H);var G=this.append_action(W,H);return this._send_request(G,U)}),d_.prototype.remove=Px(function(W,H,U){u_.isObject(W)&&(U=H);var G=this.remove_action(W,H);return this._send_request(G,U)}),d_.prototype.union=Px(function(W,H,U){u_.isObject(W)&&(U=H);var G=this.union_action(W,H);return this._send_request(G,U)}),d_.prototype.track_charge=Px(function(W,H,U){if(u_.isNumber(W)||(W=parseFloat(W),!isNaN(W)))return this.append("$transactions",u_.extend({$amount:W},H),U);h_.error("Invalid value passed to mixpanel.people.track_charge - must be a number")}),d_.prototype.clear_charges=function(W){return this.set("$transactions",[],W)},d_.prototype.delete_user=function(){if(this._identify_called()){var W={$delete:this._mixpanel.get_distinct_id()};return this._send_request(W)}h_.error("mixpanel.people.delete_user() requires you to call identify() first")},d_.prototype.toString=function(){return this._mixpanel.toString()+".people"},d_.prototype._send_request=function(W,H){W.$token=this._get_config("token"),W.$distinct_id=this._mixpanel.get_distinct_id();var U=this._mixpanel.get_property("$device_id"),G=this._mixpanel.get_property("$user_id"),X=this._mixpanel.get_property("$had_persisted_distinct_id");U&&(W.$device_id=U),G&&(W.$user_id=G),X&&(W.$had_persisted_distinct_id=X);var oe=u_.encodeDates(W);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:oe,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},H):(this._enqueue(W),u_.isUndefined(H)||(this._get_config("verbose")?H({status:-1,error:null}):H(-1)),u_.truncate(oe,255))},d_.prototype._get_config=function(W){return this._mixpanel.get_config(W)},d_.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},d_.prototype._enqueue=function(W){j_ in W?this._mixpanel.persistence._add_to_people_queue(j_,W):N_ in W?this._mixpanel.persistence._add_to_people_queue(N_,W):L_ in W?this._mixpanel.persistence._add_to_people_queue(L_,W):$_ in W?this._mixpanel.persistence._add_to_people_queue($_,W):D_ in W?this._mixpanel.persistence._add_to_people_queue(D_,W):q_ in W?this._mixpanel.persistence._add_to_people_queue(q_,W):B_ in W?this._mixpanel.persistence._add_to_people_queue(B_,W):h_.error("Invalid call to _enqueue():",W)},d_.prototype._flush_one_queue=function(W,H,U,G){var X=this,oe=u_.extend({},this._mixpanel.persistence.load_queue(W)),ie=oe;u_.isUndefined(oe)||!u_.isObject(oe)||u_.isEmptyObject(oe)||(X._mixpanel.persistence._pop_from_people_queue(W,oe),X._mixpanel.persistence.save(),G&&(ie=G(oe)),H.call(X,ie,function(H,G){0===H&&X._mixpanel.persistence._add_to_people_queue(W,oe),u_.isUndefined(U)||U(H,G)}))},d_.prototype._flush=function(W,H,U,G,X,oe,ie){var ae=this;this._flush_one_queue(j_,this.set,W),this._flush_one_queue(N_,this.set_once,G),this._flush_one_queue(L_,this.unset,oe,function(W){return u_.keys(W)}),this._flush_one_queue($_,this.increment,H),this._flush_one_queue(B_,this.union,X);var le=this._mixpanel.persistence.load_queue(D_);if(!u_.isUndefined(le)&&u_.isArray(le)&&le.length)for(var ce,u=function(W,H){0===W&&ae._mixpanel.persistence._add_to_people_queue(D_,ce),u_.isUndefined(U)||U(W,H)},ue=le.length-1;ue>=0;ue--)le=this._mixpanel.persistence.load_queue(D_),ce=le.pop(),ae._mixpanel.persistence.save(),u_.isEmptyObject(ce)||ae.append(ce,u);var de=this._mixpanel.persistence.load_queue(q_);if(!u_.isUndefined(de)&&u_.isArray(de)&&de.length)for(var pe,h=function(W,H){0===W&&ae._mixpanel.persistence._add_to_people_queue(q_,pe),u_.isUndefined(ie)||ie(W,H)},fe=de.length-1;fe>=0;fe--)de=this._mixpanel.persistence.load_queue(q_),pe=de.pop(),ae._mixpanel.persistence.save(),u_.isEmptyObject(pe)||ae.remove(pe,h)},d_.prototype._is_reserved_property=function(W){return"$distinct_id"===W||"$token"===W||"$device_id"===W||"$user_id"===W||"$had_persisted_distinct_id"===W},d_.prototype.set=d_.prototype.set,d_.prototype.set_once=d_.prototype.set_once,d_.prototype.unset=d_.prototype.unset,d_.prototype.increment=d_.prototype.increment,d_.prototype.append=d_.prototype.append,d_.prototype.remove=d_.prototype.remove,d_.prototype.union=d_.prototype.union,d_.prototype.track_charge=d_.prototype.track_charge,d_.prototype.clear_charges=d_.prototype.clear_charges,d_.prototype.delete_user=d_.prototype.delete_user,d_.prototype.toString=d_.prototype.toString;var H_,U_="__mps",G_="__mpso",X_="__mpus",Z_="__mpa",Q_="__mpap",ew="__mpr",nw="__mpu",ow="$people_distinct_id",iw="__alias",aw="__timers",sw=[U_,G_,X_,Z_,Q_,ew,nw,ow,iw,aw],O_=function(W){this.props={},this.campaign_params_saved=!1,W.persistence_name?this.name="mp_"+W.persistence_name:this.name="mp_"+W.token+"_mixpanel";var H=W.persistence;"cookie"!==H&&"localStorage"!==H&&(h_.critical("Unknown persistence type "+H+"; falling back to cookie"),H=W.persistence="cookie"),"localStorage"===H&&u_.localStorage.is_supported()?this.storage=u_.localStorage:this.storage=u_.cookie,this.load(),this.update_config(W),this.upgrade(),this.save()};O_.prototype.properties=function(){var W={};return this.load(),u_.each(this.props,function(H,U){u_.include(sw,U)||(W[U]=H)}),W},O_.prototype.load=function(){if(!this.disabled){var W=this.storage.parse(this.name);W&&(this.props=u_.extend({},W))}},O_.prototype.upgrade=function(){var W,H;this.storage===u_.localStorage?(W=u_.cookie.parse(this.name),u_.cookie.remove(this.name),u_.cookie.remove(this.name,!0),W&&this.register_once(W)):this.storage===u_.cookie&&(H=u_.localStorage.parse(this.name),u_.localStorage.remove(this.name),H&&this.register_once(H))},O_.prototype.save=function(){this.disabled||this.storage.set(this.name,u_.JSONEncode(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},O_.prototype.load_prop=function(W){return this.load(),this.props[W]},O_.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},O_.prototype.clear=function(){this.remove(),this.props={}},O_.prototype.register_once=function(W,H,U){return!!u_.isObject(W)&&(void 0===H&&(H="None"),this.expire_days=void 0===U?this.default_expiry:U,this.load(),u_.each(W,function(W,U){this.props.hasOwnProperty(U)&&this.props[U]!==H||(this.props[U]=W)},this),this.save(),!0)},O_.prototype.register=function(W,H){return!!u_.isObject(W)&&(this.expire_days=void 0===H?this.default_expiry:H,this.load(),u_.extend(this.props,W),this.save(),!0)},O_.prototype.unregister=function(W){this.load(),W in this.props&&(delete this.props[W],this.save())},O_.prototype.update_search_keyword=function(W){this.register(u_.info.searchInfo(W))},O_.prototype.update_referrer_info=function(W){this.register_once({$initial_referrer:W||"$direct",$initial_referring_domain:u_.info.referringDomain(W)||"$direct"},"")},O_.prototype.get_referrer_info=function(){return u_.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},O_.prototype.update_config=function(W){this.default_expiry=this.expire_days=W.cookie_expiration,this.set_disabled(W.disable_persistence),this.set_cookie_domain(W.cookie_domain),this.set_cross_site(W.cross_site_cookie),this.set_cross_subdomain(W.cross_subdomain_cookie),this.set_secure(W.secure_cookie)},O_.prototype.set_disabled=function(W){this.disabled=W,this.disabled?this.remove():this.save()},O_.prototype.set_cookie_domain=function(W){W!==this.cookie_domain&&(this.remove(),this.cookie_domain=W,this.save())},O_.prototype.set_cross_site=function(W){W!==this.cross_site&&(this.cross_site=W,this.remove(),this.save())},O_.prototype.set_cross_subdomain=function(W){W!==this.cross_subdomain&&(this.cross_subdomain=W,this.remove(),this.save())},O_.prototype.get_cross_subdomain=function(){return this.cross_subdomain},O_.prototype.set_secure=function(W){W!==this.secure&&(this.secure=!!W,this.remove(),this.save())},O_.prototype._add_to_people_queue=function(W,H){var U=this._get_queue_key(W),G=H[W],X=this._get_or_create_queue(j_),oe=this._get_or_create_queue(N_),ie=this._get_or_create_queue(L_),ae=this._get_or_create_queue($_),le=this._get_or_create_queue(B_),ce=this._get_or_create_queue(q_,[]),ue=this._get_or_create_queue(D_,[]);U===U_?(u_.extend(X,G),this._pop_from_people_queue($_,G),this._pop_from_people_queue(B_,G),this._pop_from_people_queue(L_,G)):U===G_?(u_.each(G,function(W,H){H in oe||(oe[H]=W)}),this._pop_from_people_queue(L_,G)):U===X_?u_.each(G,function(W){u_.each([X,oe,ae,le],function(H){W in H&&delete H[W]}),u_.each(ue,function(H){W in H&&delete H[W]}),ie[W]=!0}):U===Z_?(u_.each(G,function(W,H){H in X?X[H]+=W:(H in ae||(ae[H]=0),ae[H]+=W)},this),this._pop_from_people_queue(L_,G)):U===nw?(u_.each(G,function(W,H){u_.isArray(W)&&(H in le||(le[H]=[]),le[H]=le[H].concat(W))}),this._pop_from_people_queue(L_,G)):U===ew?(ce.push(G),this._pop_from_people_queue(D_,G)):U===Q_&&(ue.push(G),this._pop_from_people_queue(L_,G)),h_.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),h_.log(H),this.save()},O_.prototype._pop_from_people_queue=function(W,H){var U=this.props[this._get_queue_key(W)];u_.isUndefined(U)||u_.each(H,function(H,G){W===D_||W===q_?u_.each(U,function(W){W[G]===H&&delete W[G]}):delete U[G]},this)},O_.prototype.load_queue=function(W){return this.load_prop(this._get_queue_key(W))},O_.prototype._get_queue_key=function(W){return W===j_?U_:W===N_?G_:W===L_?X_:W===$_?Z_:W===D_?Q_:W===q_?ew:W===B_?nw:void h_.error("Invalid queue:",W)},O_.prototype._get_or_create_queue=function(W,H){var U=this._get_queue_key(W);return H=u_.isUndefined(H)?{}:H,this.props[U]||(this.props[U]=H)},O_.prototype.set_event_timer=function(W,H){var U=this.load_prop(aw)||{};U[W]=H,this.props[aw]=U,this.save()},O_.prototype.remove_event_timer=function(W){var H=(this.load_prop(aw)||{})[W];return u_.isUndefined(H)||(delete this.props[aw][W],this.save()),H};var cw,E_=function(W,H){throw new Error(W+" not available in this build.")},T_=function(W){return W},M_=function(){},uw="mixpanel",dw="base64",pw="$device:",fw=px.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,mw=!fw&&-1===n_.indexOf("MSIE")&&-1===n_.indexOf("Mozilla"),yw=null;Xx.sendBeacon&&(yw=function(){return Xx.sendBeacon.apply(Xx,arguments)});var vw={track:"track/",engage:"engage/",groups:"groups/",record:"record/"},bw={api_host:"https://api-js.mixpanel.com",api_routes:vw,api_method:"POST",api_transport:"XHR",api_payload_format:dw,app_host:"https://mixpanel.com",cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:M_,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:M_,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video",record_collect_fonts:!1,record_idle_timeout_ms:18e5,record_inline_images:!1,record_mask_text_class:new RegExp("^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$"),record_mask_text_selector:"*",record_max_ms:wx,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},xw=!1,F_=function(){},z_=function(W,H,U){var G,X=U===uw?cw:cw[U];if(X&&0===H_)G=X;else{if(X&&!u_.isArray(X))return void h_.error("You have already initialized "+U);G=new F_}if(G._cached_groups={},G._init(W,H,U),G.people=new d_,G.people._init(G),!G.get_config("skip_first_touch_marketing")){var oe=u_.info.campaignParams(null),ie={},ae=!1;u_.each(oe,function(W,H){ie["initial_"+H]=W,W&&(ae=!0)}),ae&&G.people.set_once(ie)}return vx.DEBUG=vx.DEBUG||G.get_config("debug"),!u_.isUndefined(X)&&u_.isArray(X)&&(G._execute_array.call(G.people,X.people),G._execute_array(X)),G};F_.prototype.init=function(W,H,U){if(u_.isUndefined(U))this.report_error("You must name your new library: init(token, config, name)");else{if(U!==uw){var G=z_(W,H,U);return cw[U]=G,G._loaded(),G}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},F_.prototype._init=function(W,H,U){H=H||{},this.__loaded=!0,this.config={};var G={};if("api_payload_format"in H||(H.api_host||bw.api_host).match(/\.mixpanel\.com/)&&(G.api_payload_format="json"),this.set_config(u_.extend({},bw,G,H,{name:U,token:W,callback_fn:(U===uw?U:uw+"."+U)+"._jsc"})),this._jsc=M_,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests)if(u_.localStorage.is_supported(!0)&&fw){if(this.init_batchers(),yw&&px.addEventListener){var X=u_.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);px.addEventListener("pagehide",function(W){W.persisted&&X()}),px.addEventListener("visibilitychange",function(){"hidden"===Yx.visibilityState&&X()})}}else this._batch_requests=!1,h_.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),u_.each(this.get_batcher_configs(),function(W){h_.log("Clearing batch queue "+W.queue_key),u_.localStorage.remove(W.queue_key)});this.persistence=this.cookie=new O_(this.config),this.unpersisted_superprops={},this._gdpr_init();var oe=u_.UUID();this.get_distinct_id()||this.register_once({distinct_id:pw+oe,$device_id:oe},"");var ie=this.get_config("track_pageview");ie&&this._init_url_change_tracking(ie),this.get_config("record_sessions_percent")>0&&100*Math.random()<=this.get_config("record_sessions_percent")&&this.start_session_recording()},F_.prototype.start_session_recording=Nx(function(){if(px.MutationObserver){var W=u_.bind(function(){this._recorder=this._recorder||new px.__mp_recorder(this),this._recorder.startRecording()},this);u_.isUndefined(px.__mp_recorder)?E_(this.get_config("recorder_src"),W):W()}else h_.critical("Browser does not support MutationObserver; skipping session recording")}),F_.prototype.stop_session_recording=function(){this._recorder?this._recorder.stopRecording():h_.critical("Session recorder module not loaded")},F_.prototype.get_session_recording_properties=function(){var W={};if(this._recorder){var H=this._recorder.replayId;H&&(W.$mp_replay_id=H)}return W},F_.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var W=u_.info.campaignParams(null);u_.each(W,function(W,H){this.unregister(H)}.bind(this))}},F_.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(Yx.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(u_.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(Yx.referrer)},F_.prototype._dom_loaded=function(){u_.each(this.__dom_loaded_queue,function(W){this._track_dom.apply(this,W)},this),this.has_opted_out_tracking()||u_.each(this.__request_queue,function(W){this._send_request.apply(this,W)},this),delete this.__dom_loaded_queue,delete this.__request_queue},F_.prototype._track_dom=function(W,H){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!xw)return this.__dom_loaded_queue.push([W,H]),!1;var U=(new W).init(this);return U.track.apply(U,H)},F_.prototype._init_url_change_tracking=function(W){var H="";if(this.track_pageview()&&(H=u_.info.currentUrl()),u_.include(["full-url","url-with-path-and-query-string","url-with-path"],W)){px.addEventListener("popstate",function(){px.dispatchEvent(new Event("mp_locationchange"))}),px.addEventListener("hashchange",function(){px.dispatchEvent(new Event("mp_locationchange"))});var U=px.history.pushState;"function"==typeof U&&(px.history.pushState=function(W,H,G){U.call(px.history,W,H,G),px.dispatchEvent(new Event("mp_locationchange"))});var G=px.history.replaceState;"function"==typeof G&&(px.history.replaceState=function(W,H,U){G.call(px.history,W,H,U),px.dispatchEvent(new Event("mp_locationchange"))}),px.addEventListener("mp_locationchange",function(){var U=u_.info.currentUrl(),G=!1;"full-url"===W?G=U!==H:"url-with-path-and-query-string"===W?G=U.split("#")[0]!==H.split("#")[0]:"url-with-path"===W&&(G=U.split("#")[0].split("?")[0]!==H.split("#")[0].split("?")[0]),G&&this.track_pageview()&&(H=U)}.bind(this))}},F_.prototype._prepare_callback=function(W,H){if(u_.isUndefined(W))return null;if(fw)return function(U){W(U,H)};var U=this._jsc,G=""+Math.floor(1e8*Math.random()),X=this.get_config("callback_fn")+"["+G+"]";return U[G]=function(X){delete U[G],W(X,H)},X},F_.prototype._send_request=function(W,H,U,G){var X=!0;if(mw)return this.__request_queue.push(arguments),X;var oe={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},ie=null;G||!u_.isFunction(U)&&"string"!=typeof U||(G=U,U=null),U=u_.extend(oe,U||{}),fw||(U.method="GET");var ae="POST"===U.method,le=yw&&ae&&"sendbeacon"===U.transport.toLowerCase(),ce=U.verbose;H.verbose&&(ce=!0),this.get_config("test")&&(H.test=1),ce&&(H.verbose=1),this.get_config("img")&&(H.img=1),fw||(G?H.callback=G:(ce||this.get_config("test"))&&(H.callback="(function(){})")),H.ip=this.get_config("ip")?1:0,H._=(new Date).getTime().toString(),ae&&(ie="data="+encodeURIComponent(H.data),delete H.data),W+="?"+u_.HTTPBuildQuery(H);var ue=this;if("img"in H){var de=Yx.createElement("img");de.src=W,Yx.body.appendChild(de)}else if(le){try{X=yw(W,ie)}catch(W){ue.report_error(W),X=!1}try{G&&G(X?1:0)}catch(W){ue.report_error(W)}}else if(fw)try{var pe=new XMLHttpRequest;pe.open(U.method,W,!0);var fe=this.get_config("xhr_headers");if(ae&&(fe["Content-Type"]="application/x-www-form-urlencoded"),u_.each(fe,function(W,H){pe.setRequestHeader(H,W)}),U.timeout_ms&&void 0!==pe.timeout){pe.timeout=U.timeout_ms;var ke=(new Date).getTime()}pe.withCredentials=!0,pe.onreadystatechange=function(){var W;if(4===pe.readyState)if(200===pe.status){if(G)if(ce){var H;try{H=u_.JSONDecode(pe.responseText)}catch(W){if(ue.report_error(W),!U.ignore_json_errors)return;H=pe.responseText}G(H)}else G(Number(pe.responseText))}else if(W=pe.timeout&&!pe.status&&(new Date).getTime()-ke>=pe.timeout?"timeout":"Bad HTTP status: "+pe.status+" "+pe.statusText,ue.report_error(W),G)if(ce){var X=pe.responseHeaders||{};G({status:0,httpStatusCode:pe.status,error:W,retryAfter:X["Retry-After"]})}else G(0)},pe.send(ie)}catch(W){ue.report_error(W),X=!1}else{var Qe=Yx.createElement("script");Qe.type="text/javascript",Qe.async=!0,Qe.defer=!0,Qe.src=W;var tt=Yx.getElementsByTagName("script")[0];tt.parentNode.insertBefore(Qe,tt)}return X},F_.prototype._execute_array=function(W){var H,U=[],G=[],X=[];u_.each(W,function(W){W&&(H=W[0],u_.isArray(H)?X.push(W):"function"==typeof W?W.call(this):u_.isArray(W)&&"alias"===H?U.push(W):u_.isArray(W)&&-1!==H.indexOf("track")&&"function"==typeof this[H]?X.push(W):G.push(W))},this);var i=function(W,H){u_.each(W,function(W){if(u_.isArray(W[0])){var U=H;u_.each(W,function(W){U=U[W[0]].apply(U,W.slice(1))})}else this[W[0]].apply(this,W.slice(1))},H)};i(U,this),i(G,this),i(X,this)},F_.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},F_.prototype.get_batcher_configs=function(){var W="__mpq_"+this.get_config("token"),H=this.get_config("api_routes");return this._batcher_configs=this._batcher_configs||{events:{type:"events",endpoint:"/"+H.track,queue_key:W+"_ev"},people:{type:"people",endpoint:"/"+H.engage,queue_key:W+"_pp"},groups:{type:"groups",endpoint:"/"+H.groups,queue_key:W+"_gr"}},this._batcher_configs},F_.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var W=u_.bind(function(W){return new Gx(W.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:u_.bind(function(H,U,G){this._send_request(this.get_config("api_host")+W.endpoint,this._encode_data_for_request(H),U,this._prepare_callback(G,H))},this),beforeSendHook:u_.bind(function(H){return this._run_hook("before_send_"+W.type,H)},this),stopAllBatchingFunc:u_.bind(this.stop_batch_senders,this),usePersistence:!0})},this),H=this.get_batcher_configs();this.request_batchers={events:W(H.events),people:W(H.people),groups:W(H.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},F_.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,u_.each(this.request_batchers,function(W){W.start()}))},F_.prototype.stop_batch_senders=function(){this._batch_requests=!1,u_.each(this.request_batchers,function(W){W.stop(),W.clear()})},F_.prototype.push=function(W){this._execute_array([W])},F_.prototype.disable=function(W){void 0===W?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(W)},F_.prototype._encode_data_for_request=function(W){var H=u_.JSONEncode(W);return this.get_config("api_payload_format")===dw&&(H=u_.base64Encode(H)),{data:H}},F_.prototype._track_or_batch=function(W,H){var U=u_.truncate(W.data,255),G=W.endpoint,X=W.batcher,oe=W.should_send_immediately,ie=W.send_request_options||{};H=H||M_;var ae=!0,le=u_.bind(function(){return ie.skip_hooks||(U=this._run_hook("before_send_"+W.type,U)),U?(h_.log("MIXPANEL REQUEST:"),h_.log(U),this._send_request(G,this._encode_data_for_request(U),ie,this._prepare_callback(H,U))):null},this);return this._batch_requests&&!oe?X.enqueue(U,function(W){W?H(1,U):le()}):ae=le(),ae&&U},F_.prototype.track=Nx(function(W,H,U,G){G||"function"!=typeof U||(G=U,U=null);var X=(U=U||{}).transport;X&&(U.transport=X);var oe=U.send_immediately;if("function"!=typeof G&&(G=M_),u_.isUndefined(W))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(W)){(H=u_.extend({},H)).token=this.get_config("token");var ie=this.persistence.remove_event_timer(W);if(!u_.isUndefined(ie)){var ae=(new Date).getTime()-ie;H.$duration=parseFloat((ae/1e3).toFixed(3))}this._set_default_superprops();var le=this.get_config("track_marketing")?u_.info.marketingParams():{};H=u_.extend({},u_.info.properties({mp_loader:this.get_config("mp_loader")}),le,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),H);var ce=this.get_config("property_blacklist");u_.isArray(ce)?u_.each(ce,function(W){delete H[W]}):this.report_error("Invalid value for property_blacklist config: "+ce);var ue={event:W,properties:H};return this._track_or_batch({type:"events",data:ue,endpoint:this.get_config("api_host")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:oe,send_request_options:U},G)}G(0)}}),F_.prototype.set_group=Nx(function(W,H,U){u_.isArray(H)||(H=[H]);var G={};return G[W]=H,this.register(G),this.people.set(W,H,U)}),F_.prototype.add_group=Nx(function(W,H,U){var G=this.get_property(W),X={};return void 0===G?(X[W]=[H],this.register(X)):-1===G.indexOf(H)&&(G.push(H),X[W]=G,this.register(X)),this.people.union(W,H,U)}),F_.prototype.remove_group=Nx(function(W,H,U){var G=this.get_property(W);if(void 0!==G){var X=G.indexOf(H);X>-1&&(G.splice(X,1),this.register({group_key:G})),0===G.length&&this.unregister(W)}return this.people.remove(W,H,U)}),F_.prototype.track_with_groups=Nx(function(W,H,U,G){var X=u_.extend({},H||{});return u_.each(U,function(W,H){null!=W&&(X[H]=W)}),this.track(W,X,G)}),F_.prototype._create_map_key=function(W,H){return W+"_"+JSON.stringify(H)},F_.prototype._remove_group_from_cache=function(W,H){delete this._cached_groups[this._create_map_key(W,H)]},F_.prototype.get_group=function(W,H){var U=this._create_map_key(W,H),G=this._cached_groups[U];return void 0!==G&&G._group_key===W&&G._group_id===H||((G=new p_)._init(this,W,H),this._cached_groups[U]=G),G},F_.prototype.track_pageview=Nx(function(W,H){"object"!=typeof W&&(W={});var U=(H=H||{}).event_name||"$mp_web_page_view",G=u_.extend(u_.info.mpPageViewProperties(),u_.info.campaignParams(),u_.info.clickParams()),X=u_.extend({},G,W);return this.track(U,X)}),F_.prototype.track_links=function(){return this._track_dom.call(this,t_,arguments)},F_.prototype.track_forms=function(){return this._track_dom.call(this,r_,arguments)},F_.prototype.time_event=function(W){u_.isUndefined(W)?this.report_error("No event name provided to mixpanel.time_event"):this._event_is_disabled(W)||this.persistence.set_event_timer(W,(new Date).getTime())};var ww={persistent:!0},V_=function(W){var H;return H=u_.isObject(W)?W:u_.isUndefined(W)?{}:{days:W},u_.extend({},ww,H)};F_.prototype.register=function(W,H){var U=V_(H);U.persistent?this.persistence.register(W,U.days):u_.extend(this.unpersisted_superprops,W)},F_.prototype.register_once=function(W,H,U){var G=V_(U);G.persistent?this.persistence.register_once(W,H,G.days):(void 0===H&&(H="None"),u_.each(W,function(W,U){this.unpersisted_superprops.hasOwnProperty(U)&&this.unpersisted_superprops[U]!==H||(this.unpersisted_superprops[U]=W)},this))},F_.prototype.unregister=function(W,H){(H=V_(H)).persistent?this.persistence.unregister(W):delete this.unpersisted_superprops[W]},F_.prototype._register_single=function(W,H){var U={};U[W]=H,this.register(U)},F_.prototype.identify=function(W,H,U,G,X,oe,ie,ae){var le=this.get_distinct_id();if(W&&le!==W){if("string"==typeof W&&0===W.indexOf(pw))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:W})}if(!this.get_property("$device_id")){var ce=le;this.register_once({$had_persisted_distinct_id:!0,$device_id:ce},"")}W!==le&&W!==this.get_property(iw)&&(this.unregister(iw),this.register({distinct_id:W})),this._flags.identify_called=!0,this.people._flush(H,U,G,X,oe,ie,ae),W!==le&&this.track("$identify",{distinct_id:W,$anon_distinct_id:le},{skip_hooks:!0})},F_.prototype.reset=function(){this.persistence.clear(),this._flags.identify_called=!1;var W=u_.UUID();this.register_once({distinct_id:pw+W,$device_id:W},"")},F_.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},F_.prototype.alias=function(W,H){if(W===this.get_property(ow))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var U=this;return u_.isUndefined(H)&&(H=this.get_distinct_id()),W!==H?(this._register_single(iw,W),this.track("$create_alias",{alias:W,distinct_id:H},{skip_hooks:!0},function(){U.identify(W)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(W),-1)},F_.prototype.name_tag=function(W){this._register_single("mp_name_tag",W)},F_.prototype.set_config=function(W){u_.isObject(W)&&(u_.extend(this.config,W),W.batch_size&&u_.each(this.request_batchers,function(W){W.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),vx.DEBUG=vx.DEBUG||this.get_config("debug"))},F_.prototype.get_config=function(W){return this.config[W]},F_.prototype._run_hook=function(W){var H=(this.config.hooks[W]||T_).apply(this,Ox.call(arguments,1));return void 0===H&&(this.report_error(W+" hook did not return a value"),H=null),H},F_.prototype.get_property=function(W){return this.persistence.load_prop([W])},F_.prototype.toString=function(){var W=this.get_config("name");return W!==uw&&(W=uw+"."+W),W},F_.prototype._event_is_disabled=function(W){return u_.isBlockedUA(n_)||this._flags.disable_all_events||u_.include(this.__disabled_events,W)},F_.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&u_.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):this.has_opted_in_tracking()||!this.get_config("opt_out_tracking_by_default")&&!u_.cookie.get("mp_optout")||(u_.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},F_.prototype._gdpr_update_persistence=function(W){var H;if(W&&W.clear_persistence)H=!0;else{if(!W||!W.enable_persistence)return;H=!1}this.get_config("disable_persistence")||this.persistence.disabled===H||this.persistence.set_disabled(H),H?this.stop_batch_senders():this._batchers_were_started&&this.start_batch_senders()},F_.prototype._gdpr_call_func=function(W,H){return H=u_.extend({track:u_.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},H),u_.localStorage.is_supported()||(H.persistence_type="cookie"),W(this.get_config("token"),{track:H.track,trackEventName:H.track_event_name,trackProperties:H.track_properties,persistenceType:H.persistence_type,persistencePrefix:H.cookie_prefix,cookieDomain:H.cookie_domain,cookieExpiration:H.cookie_expiration,crossSiteCookie:H.cross_site_cookie,crossSubdomainCookie:H.cross_subdomain_cookie,secureCookie:H.secure_cookie,ignoreDnt:H.ignore_dnt})},F_.prototype.opt_in_tracking=function(W){W=u_.extend({enable_persistence:!0},W),this._gdpr_call_func(Tx,W),this._gdpr_update_persistence(W)},F_.prototype.opt_out_tracking=function(W){(W=u_.extend({clear_persistence:!0,delete_user:!0},W)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(Mx,W),this._gdpr_update_persistence(W)},F_.prototype.has_opted_in_tracking=function(W){return this._gdpr_call_func(Rx,W)},F_.prototype.has_opted_out_tracking=function(W){return this._gdpr_call_func(Ix,W)},F_.prototype.clear_opt_in_out_tracking=function(W){W=u_.extend({enable_persistence:!0},W),this._gdpr_call_func(Ax,W),this._gdpr_update_persistence(W)},F_.prototype.report_error=function(W,H){h_.error.apply(h_.error,arguments);try{H||W instanceof Error||(W=new Error(W)),this.get_config("error_reporter")(W,H)}catch(H){h_.error(H)}},F_.prototype.init=F_.prototype.init,F_.prototype.reset=F_.prototype.reset,F_.prototype.disable=F_.prototype.disable,F_.prototype.time_event=F_.prototype.time_event,F_.prototype.track=F_.prototype.track,F_.prototype.track_links=F_.prototype.track_links,F_.prototype.track_forms=F_.prototype.track_forms,F_.prototype.track_pageview=F_.prototype.track_pageview,F_.prototype.register=F_.prototype.register,F_.prototype.register_once=F_.prototype.register_once,F_.prototype.unregister=F_.prototype.unregister,F_.prototype.identify=F_.prototype.identify,F_.prototype.alias=F_.prototype.alias,F_.prototype.name_tag=F_.prototype.name_tag,F_.prototype.set_config=F_.prototype.set_config,F_.prototype.get_config=F_.prototype.get_config,F_.prototype.get_property=F_.prototype.get_property,F_.prototype.get_distinct_id=F_.prototype.get_distinct_id,F_.prototype.toString=F_.prototype.toString,F_.prototype.opt_out_tracking=F_.prototype.opt_out_tracking,F_.prototype.opt_in_tracking=F_.prototype.opt_in_tracking,F_.prototype.has_opted_out_tracking=F_.prototype.has_opted_out_tracking,F_.prototype.has_opted_in_tracking=F_.prototype.has_opted_in_tracking,F_.prototype.clear_opt_in_out_tracking=F_.prototype.clear_opt_in_out_tracking,F_.prototype.get_group=F_.prototype.get_group,F_.prototype.set_group=F_.prototype.set_group,F_.prototype.add_group=F_.prototype.add_group,F_.prototype.remove_group=F_.prototype.remove_group,F_.prototype.track_with_groups=F_.prototype.track_with_groups,F_.prototype.start_batch_senders=F_.prototype.start_batch_senders,F_.prototype.stop_batch_senders=F_.prototype.stop_batch_senders,F_.prototype.start_session_recording=F_.prototype.start_session_recording,F_.prototype.stop_session_recording=F_.prototype.stop_session_recording,F_.prototype.get_session_recording_properties=F_.prototype.get_session_recording_properties,F_.prototype.DEFAULT_API_ROUTES=vw,O_.prototype.properties=O_.prototype.properties,O_.prototype.update_search_keyword=O_.prototype.update_search_keyword,O_.prototype.update_referrer_info=O_.prototype.update_referrer_info,O_.prototype.get_cross_subdomain=O_.prototype.get_cross_subdomain,O_.prototype.clear=O_.prototype.clear;var Sw={},kw=(E_=function(W,H){H()},H_=0,(cw=new F_).init=function(W,H,U){if(U)return cw[U]||(cw[U]=Sw[U]=z_(W,H,U),cw[U]._loaded()),cw[U];var G=cw;Sw[uw]?G=Sw[uw]:W&&((G=z_(W,H,uw))._loaded(),Sw[uw]=G),cw=G,1===H_&&(px[uw]=cw),u_.each(Sw,function(W,H){H!==uw&&(cw[H]=W)}),cw._=u_},cw.init(),function(){function e(){e.done||(e.done=!0,xw=!0,mw=!1,u_.each(Sw,function(W){W._dom_loaded()}))}if(Yx.addEventListener)"complete"===Yx.readyState?e():Yx.addEventListener("DOMContentLoaded",e,!1);else if(Yx.attachEvent){Yx.attachEvent("onreadystatechange",e);var W=!1;try{W=null===px.frameElement}catch(e){}Yx.documentElement.doScroll&&W&&function t(){try{Yx.documentElement.doScroll("left")}catch(W){return void setTimeout(t,1)}e()}()}u_.register_event(px,"load",e,!0)}(),cw);const Cw="elementor-one-assets";let Ew=null;function K_(){return Ew}const Ow={initialize(W,H){if(!Ew)try{kw.init(W,{debug:"production"!==H,track_pageview:!1,persistence:"localStorage"},Cw),Ew=kw[Cw],Ew.opt_in_tracking()}catch(W){console.warn("[elementor-one-assets] Failed to initialize tracking:",W)}},registerOnce(W){const H=K_();H?.register_once(W)},track(W,H){const U=K_();U?.track(W,H)},isInitialized:()=>null!==Ew},Rw="plugin-settings",Y_=W=>{const{enabled:H=!0}=W||{};return Fg({queryKey:[Rw],queryFn:()=>Dy.getPluginSettings(),enabled:H})},Iw=new wg({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnMount:!1,retryOnMount:!1,retry:!1}}}),jw=X.createContext(null),J_=()=>{const W=X.useContext(jw);if(!W)throw new Error("Wrap your component in <ElementorOneAssetsProvider> to access the env config");return W.config};var Lw=Vi;const tw=()=>{const W=Ka();return Lw(W.breakpoints.down("sm"))};function rw(W){return Oo("MuiSkeleton",W)}Ei("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const $w=["animation","className","component","height","style","variant","width"];let Fw,zw,Bw,Vw,lw=W=>W;const qw=Ot(Fw||(Fw=lw` | |
| 103 | 103 | 0% { |
| 104 | 104 | opacity: 1; |
| 105 | 105 | } |
| 106 | 106 | |
| @@ -110,9 +110,9 @@ | ||
| 110 | 110 | |
| 111 | 111 | 100% { |
| 112 | 112 | opacity: 1; |
| 113 | 113 | } |
| 114 | -`)),az=Ot(tz||(tz=yz` | |
| 114 | +`)),Ww=Ot(zw||(zw=lw` | |
| 115 | 115 | 0% { |
| 116 | 116 | transform: translateX(-100%); |
| 117 | 117 | } |
| 118 | 118 | |
| @@ -123,11 +123,11 @@ | ||
| 123 | 123 | |
| 124 | 124 | 100% { |
| 125 | 125 | transform: translateX(100%); |
| 126 | 126 | } |
| 127 | -`)),lz=Ti("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,H[W.variant],!1!==W.animation&&H[W.animation],W.hasChildren&&H.withChildren,W.hasChildren&&!W.width&&H.fitContent,W.hasChildren&&!W.height&&H.heightAuto]}})(({theme:B,ownerState:H})=>{const W=function(B){return String(B).match(/[\d.\-+]*\s*(.*)/)[1]||""}(B.shape.borderRadius)||"px",K=function(B){return parseFloat(B)}(B.shape.borderRadius);return a({display:"block",backgroundColor:B.vars?B.vars.palette.Skeleton.bg:Rs(B.palette.text.primary,"light"===B.palette.mode?.11:.13),height:"1.2em"},"text"===H.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${K}${W}/${Math.round(K/.6*10)/10}${W}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===H.variant&&{borderRadius:"50%"},"rounded"===H.variant&&{borderRadius:(B.vars||B).shape.borderRadius},H.hasChildren&&{"& > *":{visibility:"hidden"}},H.hasChildren&&!H.width&&{maxWidth:"fit-content"},H.hasChildren&&!H.height&&{height:"auto"})},({ownerState:B})=>"pulse"===B.animation&&Ct(rz||(rz=yz` | |
| 127 | +`)),Hw=os("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,H[U.variant],!1!==U.animation&&H[U.animation],U.hasChildren&&H.withChildren,U.hasChildren&&!U.width&&H.fitContent,U.hasChildren&&!U.height&&H.heightAuto]}})(({theme:W,ownerState:H})=>{const U=(G=W.shape.borderRadius,String(G).match(/[\d.\-+]*\s*(.*)/)[1]||"px");var G;const X=function(W){return parseFloat(W)}(W.shape.borderRadius);return s({display:"block",backgroundColor:W.vars?W.vars.palette.Skeleton.bg:Hi(W.palette.text.primary,"light"===W.palette.mode?.11:.13),height:"1.2em"},"text"===H.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${X}${U}/${Math.round(X/.6*10)/10}${U}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===H.variant&&{borderRadius:"50%"},"rounded"===H.variant&&{borderRadius:(W.vars||W).shape.borderRadius},H.hasChildren&&{"& > *":{visibility:"hidden"}},H.hasChildren&&!H.width&&{maxWidth:"fit-content"},H.hasChildren&&!H.height&&{height:"auto"})},({ownerState:W})=>"pulse"===W.animation&&kt(Bw||(Bw=lw` | |
| 128 | 128 | animation: ${0} 2s ease-in-out 0.5s infinite; |
| 129 | - `),iz),({ownerState:B,theme:H})=>"wave"===B.animation&&Ct(oz||(oz=yz` | |
| 129 | + `),qw),({ownerState:W,theme:H})=>"wave"===W.animation&&kt(Vw||(Vw=lw` | |
| 130 | 130 | position: relative; |
| 131 | 131 | overflow: hidden; |
| 132 | 132 | |
| 133 | 133 | /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ |
| @@ -148,9 +148,9 @@ | ||
| 148 | 148 | left: 0; |
| 149 | 149 | right: 0; |
| 150 | 150 | top: 0; |
| 151 | 151 | } |
| 152 | - `),az,(H.vars||H).palette.action.hover)),uz=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiSkeleton"}),{animation:Y="pulse",className:ie,component:ce="span",height:ue,style:de,variant:pe="text",width:fe}=W,ke=s(W,Q$),Je=a({},W,{animation:Y,component:ce,variant:pe,hasChildren:Boolean(ke.children)}),rt=(B=>{const{classes:H,variant:W,animation:K,hasChildren:Y,width:ie,height:ce}=B;return U({root:["root",W,K,Y&&"withChildren",Y&&!ie&&"fitContent",Y&&!ce&&"heightAuto"]},dz,H)})(Je);return K.jsx(lz,a({as:ce,ref:H,className:V(rt.root,ie),ownerState:Je},ke,{style:a({width:fe,height:ue},de)}))}),hz=uz;var fz=Y.forwardRef((B,H)=>Y.createElement(hz,{...B,ref:H}));function Cz(B,H){function n(W,Y){return K.jsx(nu,a({"data-testid":`${H}Icon`,ref:Y},W,{children:B}))}return n.muiName=nu.muiName,ce.memo(ce.forwardRef(n))}const mz=Cz(K.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function Ez(B){return Mo("MuiChip",B)}const gz=ta("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),vz=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],bz=Ti("div",{name:"MuiChip",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B,{color:K,iconColor:Y,clickable:ie,onDelete:ce,size:ue,variant:de}=W;return[{[`& .${gz.avatar}`]:H.avatar},{[`& .${gz.avatar}`]:H[`avatar${Zi(ue)}`]},{[`& .${gz.avatar}`]:H[`avatarColor${Zi(K)}`]},{[`& .${gz.icon}`]:H.icon},{[`& .${gz.icon}`]:H[`icon${Zi(ue)}`]},{[`& .${gz.icon}`]:H[`iconColor${Zi(Y)}`]},{[`& .${gz.deleteIcon}`]:H.deleteIcon},{[`& .${gz.deleteIcon}`]:H[`deleteIcon${Zi(ue)}`]},{[`& .${gz.deleteIcon}`]:H[`deleteIconColor${Zi(K)}`]},{[`& .${gz.deleteIcon}`]:H[`deleteIcon${Zi(de)}Color${Zi(K)}`]},H.root,H[`size${Zi(ue)}`],H[`color${Zi(K)}`],ie&&H.clickable,ie&&"default"!==K&&H[`clickableColor${Zi(K)})`],ce&&H.deletable,ce&&"default"!==K&&H[`deletableColor${Zi(K)}`],H[de],H[`${de}${Zi(K)}`]]}})(({theme:B,ownerState:H})=>{const W="light"===B.palette.mode?B.palette.grey[700]:B.palette.grey[300];return a({maxWidth:"100%",fontFamily:B.typography.fontFamily,fontSize:B.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(B.vars||B).palette.text.primary,backgroundColor:(B.vars||B).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:B.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${gz.disabled}`]:{opacity:(B.vars||B).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${gz.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:B.vars?B.vars.palette.Chip.defaultAvatarColor:W,fontSize:B.typography.pxToRem(12)},[`& .${gz.avatarColorPrimary}`]:{color:(B.vars||B).palette.primary.contrastText,backgroundColor:(B.vars||B).palette.primary.dark},[`& .${gz.avatarColorSecondary}`]:{color:(B.vars||B).palette.secondary.contrastText,backgroundColor:(B.vars||B).palette.secondary.dark},[`& .${gz.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:B.typography.pxToRem(10)},[`& .${gz.icon}`]:a({marginLeft:5,marginRight:-6},"small"===H.size&&{fontSize:18,marginLeft:4,marginRight:-4},H.iconColor===H.color&&a({color:B.vars?B.vars.palette.Chip.defaultIconColor:W},"default"!==H.color&&{color:"inherit"})),[`& .${gz.deleteIcon}`]:a({WebkitTapHighlightColor:"transparent",color:B.vars?`rgba(${B.vars.palette.text.primaryChannel} / 0.26)`:li.alpha(B.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:B.vars?`rgba(${B.vars.palette.text.primaryChannel} / 0.4)`:li.alpha(B.palette.text.primary,.4)}},"small"===H.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==H.color&&{color:B.vars?`rgba(${B.vars.palette[H.color].contrastTextChannel} / 0.7)`:li.alpha(B.palette[H.color].contrastText,.7),"&:hover, &:active":{color:(B.vars||B).palette[H.color].contrastText}})},"small"===H.size&&{height:24},"default"!==H.color&&{backgroundColor:(B.vars||B).palette[H.color].main,color:(B.vars||B).palette[H.color].contrastText},H.onDelete&&{[`&.${gz.focusVisible}`]:{backgroundColor:B.vars?`rgba(${B.vars.palette.action.selectedChannel} / calc(${B.vars.palette.action.selectedOpacity} + ${B.vars.palette.action.focusOpacity}))`:li.alpha(B.palette.action.selected,B.palette.action.selectedOpacity+B.palette.action.focusOpacity)}},H.onDelete&&"default"!==H.color&&{[`&.${gz.focusVisible}`]:{backgroundColor:(B.vars||B).palette[H.color].dark}})},({theme:B,ownerState:H})=>a({},H.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:B.vars?`rgba(${B.vars.palette.action.selectedChannel} / calc(${B.vars.palette.action.selectedOpacity} + ${B.vars.palette.action.hoverOpacity}))`:li.alpha(B.palette.action.selected,B.palette.action.selectedOpacity+B.palette.action.hoverOpacity)},[`&.${gz.focusVisible}`]:{backgroundColor:B.vars?`rgba(${B.vars.palette.action.selectedChannel} / calc(${B.vars.palette.action.selectedOpacity} + ${B.vars.palette.action.focusOpacity}))`:li.alpha(B.palette.action.selected,B.palette.action.selectedOpacity+B.palette.action.focusOpacity)},"&:active":{boxShadow:(B.vars||B).shadows[1]}},H.clickable&&"default"!==H.color&&{[`&:hover, &.${gz.focusVisible}`]:{backgroundColor:(B.vars||B).palette[H.color].dark}}),({theme:B,ownerState:H})=>a({},"outlined"===H.variant&&{backgroundColor:"transparent",border:B.vars?`1px solid ${B.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===B.palette.mode?B.palette.grey[400]:B.palette.grey[700]}`,[`&.${gz.clickable}:hover`]:{backgroundColor:(B.vars||B).palette.action.hover},[`&.${gz.focusVisible}`]:{backgroundColor:(B.vars||B).palette.action.focus},[`& .${gz.avatar}`]:{marginLeft:4},[`& .${gz.avatarSmall}`]:{marginLeft:2},[`& .${gz.icon}`]:{marginLeft:4},[`& .${gz.iconSmall}`]:{marginLeft:2},[`& .${gz.deleteIcon}`]:{marginRight:5},[`& .${gz.deleteIconSmall}`]:{marginRight:3}},"outlined"===H.variant&&"default"!==H.color&&{color:(B.vars||B).palette[H.color].main,border:`1px solid ${B.vars?`rgba(${B.vars.palette[H.color].mainChannel} / 0.7)`:li.alpha(B.palette[H.color].main,.7)}`,[`&.${gz.clickable}:hover`]:{backgroundColor:B.vars?`rgba(${B.vars.palette[H.color].mainChannel} / ${B.vars.palette.action.hoverOpacity})`:li.alpha(B.palette[H.color].main,B.palette.action.hoverOpacity)},[`&.${gz.focusVisible}`]:{backgroundColor:B.vars?`rgba(${B.vars.palette[H.color].mainChannel} / ${B.vars.palette.action.focusOpacity})`:li.alpha(B.palette[H.color].main,B.palette.action.focusOpacity)},[`& .${gz.deleteIcon}`]:{color:B.vars?`rgba(${B.vars.palette[H.color].mainChannel} / 0.7)`:li.alpha(B.palette[H.color].main,.7),"&:hover, &:active":{color:(B.vars||B).palette[H.color].main}}})),wz=Ti("span",{name:"MuiChip",slot:"Label",overridesResolver:(B,H)=>{const{ownerState:W}=B,{size:K}=W;return[H.label,H[`label${Zi(K)}`]]}})(({ownerState:B})=>a({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===B.variant&&{paddingLeft:11,paddingRight:11},"small"===B.size&&{paddingLeft:8,paddingRight:8},"small"===B.size&&"outlined"===B.variant&&{paddingLeft:7,paddingRight:7}));function Az(B){return"Backspace"===B.key||"Delete"===B.key}const _z=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiChip"}),{avatar:Y,className:ie,clickable:ue,color:de="default",component:pe,deleteIcon:fe,disabled:ke=!1,icon:Je,label:rt,onClick:st,onDelete:at,onKeyDown:lt,onKeyUp:pt,size:ht="medium",variant:mt="filled",tabIndex:vt,skipFocusWhenDisabled:yt=!1}=W,bt=s(W,vz),wt=ce.useRef(null),xt=Fa(wt,H),E=B=>{B.stopPropagation(),at&&at(B)},St=!(!1===ue||!st)||ue,kt=St||at?bl:pe||"div",Et=a({},W,{component:kt,disabled:ke,size:ht,color:de,iconColor:ce.isValidElement(Je)&&Je.props.color||de,onDelete:!!at,clickable:St,variant:mt}),At=(B=>{const{classes:H,disabled:W,size:K,color:Y,iconColor:ie,onDelete:ce,clickable:ue,variant:de}=B;return U({root:["root",de,W&&"disabled",`size${Zi(K)}`,`color${Zi(Y)}`,ue&&"clickable",ue&&`clickableColor${Zi(Y)}`,ce&&"deletable",ce&&`deletableColor${Zi(Y)}`,`${de}${Zi(Y)}`],label:["label",`label${Zi(K)}`],avatar:["avatar",`avatar${Zi(K)}`,`avatarColor${Zi(Y)}`],icon:["icon",`icon${Zi(K)}`,`iconColor${Zi(ie)}`],deleteIcon:["deleteIcon",`deleteIcon${Zi(K)}`,`deleteIconColor${Zi(Y)}`,`deleteIcon${Zi(de)}Color${Zi(Y)}`]},Ez,H)})(Et),Pt=kt===bl?a({component:pe||"div",focusVisibleClassName:At.focusVisible},at&&{disableRipple:!0}):{};let Lt=null;at&&(Lt=fe&&ce.isValidElement(fe)?ce.cloneElement(fe,{className:V(fe.props.className,At.deleteIcon),onClick:E}):K.jsx(mz,{className:V(At.deleteIcon),onClick:E}));let jt=null;Y&&ce.isValidElement(Y)&&(jt=ce.cloneElement(Y,{className:V(At.avatar,Y.props.className)}));let Ft=null;return Je&&ce.isValidElement(Je)&&(Ft=ce.cloneElement(Je,{className:V(At.icon,Je.props.className)})),K.jsxs(bz,a({as:kt,className:V(At.root,ie),disabled:!(!St||!ke)||void 0,onClick:st,onKeyDown:B=>{B.currentTarget===B.target&&Az(B)&&B.preventDefault(),lt&<(B)},onKeyUp:B=>{B.currentTarget===B.target&&(at&&Az(B)?at(B):"Escape"===B.key&&wt.current&&wt.current.blur()),pt&&pt(B)},ref:xt,tabIndex:yt&&ke?-1:vt,ownerState:Et},Pt,bt,{children:[jt||Ft,K.jsx(wz,{className:V(At.label),ownerState:Et,children:rt}),Lt]}))}),xz=_z,Sz=sc(xz)(({theme:B,ownerState:H})=>"rounded"!==H.shape?null:{borderRadius:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[1]}),kz={shape:"pill"},Oz=Y.forwardRef((B,H)=>{const{shape:W,...K}={...kz,...B};return Y.createElement(Sz,{...K,ref:H,ownerState:{shape:W}})});Oz.defaultProps=kz;var Rz=Oz;const Mz=sc(Sf)(({theme:B})=>({transform:"rtl"===B.direction?"scaleX(-1)":void 0})),Bz=({onDisconnect:B,onConnectClick:H,anchorElement:W,...Y})=>{const{t:ie}=Bd("common",{i18n:kf}),{MY_ELEMENTOR_URL:ce}=cz(),ue=window.elementorOneSettingsData?.canUserManageOptions??!1,{data:de,isLoading:pe}=sz({enabled:ue}),{mutate:fe,isPending:ke}=(()=>{const B=Ey();return Py({mutationFn:B=>Ux.initConnect(B&&"string"==typeof B?B:"new"),onSuccess:H=>{window.open(H,"_self")?.focus(),B.invalidateQueries({queryKey:[Z$]})}})})(),{mutate:Je,isPending:rt}=(()=>{const B=Ey();return Py({mutationFn:()=>Ux.disconnect(),onSuccess:()=>{B.invalidateQueries({queryKey:[Z$]})}})})();return K.jsx(Jc,{colorScheme:"light",children:K.jsx(Wh,{...Y,"data-test":"user-profile-menu",anchorEl:W,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{sx:{overflow:"visible !important",borderRadius:1,py:1,minWidth:300}},children:pe?K.jsxs(na,{alignItems:"center",gap:1,children:[K.jsx(fz,{variant:"text",width:"90%",height:30}),K.jsx(gu,{sx:{mx:2,width:"80%"}}),K.jsx(fz,{variant:"text",width:"90%",height:30})]}):[K.jsxs(mf,{dense:!0,onClick:async()=>{window.open(ce,"_blank"),Y.onClose?.({},"backdropClick")},"data-test":"user-menu-go-to-account",children:[K.jsx(vf,{children:ie("header.userProfileMenu.goToMyAccount")}),K.jsx(gf,{children:K.jsx(Mz,{fontSize:"small"})})]},"go-to-account"),K.jsx(gu,{sx:{mx:2}},"divider"),de?.isUrlMismatch?K.jsxs(mf,{dense:!0,onClick:()=>{window.location.href=window.location.origin+window.location.pathname+"?page=elementor-home#/home/url-mismatch",Y.onClose?.({},"backdropClick")},sx:{justifyContent:"space-between"},"data-test":"user-menu-fix-url-mismatch",children:[K.jsx(vf,{children:ie("header.userProfileMenu.urlMismatch")}),K.jsx(wa,{sx:{color:"info.main"},variant:"caption",children:ie("header.userProfileMenu.fixUrlMismatch")})]},"fix-url-mismatch"):de?.isConnected?K.jsxs(mf,{dense:!0,disabled:rt,"data-test":"user-menu-disconnect",children:[K.jsxs(vf,{children:[ie("header.userProfileMenu.elementorOneActive")," ",K.jsx(Rz,{variant:"standard",label:ie("header.userProfileMenu.active"),color:"success",size:"small"})]}),K.jsx(vf,{onClick:()=>{rt||Je(void 0,{onSuccess:()=>{B?.(),Y.onClose?.({},"backdropClick")}})},sx:{textAlign:"right",color:"info.main",cursor:"pointer"},children:ie("header.userProfileMenu.disconnect")}),K.jsx(gf,{children:rt?K.jsx(Gu,{size:16,"data-test":"user-menu-disconnect-loader"}):K.jsx(K.Fragment,{})})]},"disconnect"):K.jsxs(mf,{dense:!0,onClick:()=>{ke||(H?.(),fe())},disabled:ke,sx:{justifyContent:"space-between"},"data-test":"user-menu-connect",children:[K.jsx(vf,{children:ie("header.userProfileMenu.connectPreText")}),ke?K.jsx(Gu,{size:16,"data-test":"user-menu-connect-loader"}):K.jsx(wa,{sx:{color:"info.main"},variant:"caption",children:ie("header.userProfileMenu.connect")})]},"connect")]})})},zz=({onDisconnect:B,onClick:H,onConnectClick:W})=>{const{t:ie}=Bd("common",{i18n:kf}),ce=Y.useRef(null),ue=pz(),de=(({popupId:B,...H})=>function({parentPopupState:B,popupId:H,variant:W,disableAutoFocus:K}){const ie=Y.useRef(!0);Y.useEffect(()=>(ie.current=!0,()=>{ie.current=!1}),[]);const[ce,ue]=Y.useState(rp),de=Y.useCallback(B=>{ie.current&&ue(B)},[]),pe=Y.useCallback(B=>de(H=>({...H,setAnchorElUsed:!0,anchorEl:B??void 0})),[]),fe=zd(B=>(ce.isOpen?Je(B):ke(B),ce)),ke=zd(H=>{const K=H instanceof Element?void 0:H,Y=H instanceof Element?H:(null==H?void 0:H.currentTarget)instanceof Element?H.currentTarget:void 0;if("touchstart"===(null==K?void 0:K.type))return void de(B=>({...B,_deferNextOpen:!0}));const ie=null==K?void 0:K.clientX,ce=null==K?void 0:K.clientY,ue="number"==typeof ie&&"number"==typeof ce?{left:ie,top:ce}:void 0,c=ie=>{if(H||ie.setAnchorElUsed||"dialog"===W||tp.missingEventOrAnchorEl||(tp.missingEventOrAnchorEl=!0,console.error("[material-ui-popup-state] WARNING","eventOrAnchorEl should be defined if setAnchorEl is not used")),B){if(!B.isOpen)return ie;setTimeout(()=>B._setChildPopupState(pt))}const ce={...ie,isOpen:!0,anchorPosition:ue,hovered:"mouseover"===(null==K?void 0:K.type)||ie.hovered,focused:"focus"===(null==K?void 0:K.type)||ie.focused,_openEventType:null==K?void 0:K.type};return null!=K&&K.currentTarget?ie.setAnchorElUsed||(ce.anchorEl=null==K?void 0:K.currentTarget):Y&&(ce.anchorEl=Y),ce};de(B=>B._deferNextOpen?(setTimeout(()=>de(c),0),{...B,_deferNextOpen:!1}):c(B))}),d=H=>{const{_childPopupState:W}=H;return setTimeout(()=>{null==W||W.close(),null==B||B._setChildPopupState(null)}),{...H,isOpen:!1,hovered:!1,focused:!1}},Je=zd(B=>{const H=B instanceof Element?void 0:B;"touchstart"!==(null==H?void 0:H.type)?de(B=>B._deferNextClose?(setTimeout(()=>de(d),0),{...B,_deferNextClose:!1}):d(B)):de(B=>({...B,_deferNextClose:!0}))}),rt=Y.useCallback((B,H)=>{B?ke(H):Je(H)},[]),st=zd(B=>{const{relatedTarget:H}=B;de(B=>!B.hovered||H instanceof Element&&Wd(H,pt)?B:B.focused?{...B,hovered:!1}:d(B))}),at=zd(B=>{if(!B)return;const{relatedTarget:H}=B;de(B=>!B.focused||H instanceof Element&&Wd(H,pt)?B:B.hovered?{...B,focused:!1}:d(B))}),lt=Y.useCallback(B=>de(H=>({...H,_childPopupState:B})),[]),pt={...ce,setAnchorEl:pe,popupId:H,variant:W,open:ke,close:Je,toggle:fe,setOpen:rt,onBlur:at,onMouseLeave:st,disableAutoFocus:K??Boolean(ce.hovered||ce.focused),_setChildPopupState:lt};return pt}({...H,popupId:Y.useRef(B||"eui-popup-"+op++).current}))({variant:"popover",popupId:"user-info-popover"}),c=()=>{H?.(),de.open()};return K.jsxs(K.Fragment,{children:[ue?K.jsx(Qc,{onClick:c,ref:ce,"data-test":"header-user-button",children:K.jsx(vu,{})}):K.jsx(pd,{startIcon:K.jsx(vu,{}),color:"inherit",size:"small",onClick:c,ref:ce,"data-test":"header-user-button",children:ie("header.userInfo")}),K.jsx(Bz,{onDisconnect:B,onConnectClick:W,anchorElement:ce.current,...qd(de)})]})};var Iz=ce.forwardRef((B,H)=>ce.createElement(ou,{viewBox:"0 0 24 24",...B,ref:H},ce.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0221 2.2505C14.7086 2.2428 14.3993 2.32462 14.1306 2.48639C13.8619 2.64816 13.6449 2.88316 13.5049 3.16386L10.9999 8.19197L3.92384 11.2998C3.49889 11.4865 3.16549 11.8343 2.99698 12.2667C2.82848 12.6992 2.83867 13.1809 3.02531 13.6058L4.63384 17.2682C4.82048 17.6931 5.16829 18.0265 5.60074 18.195C6.0332 18.3635 6.51489 18.3533 6.93984 18.1667L8.9999 17.2619L10.709 21.1532C10.8956 21.5781 11.2434 21.9115 11.6759 22.08C12.1083 22.2485 12.59 22.2383 13.015 22.0517L13.9306 21.6496C14.3555 21.4629 14.6889 21.1151 14.8574 20.6827C15.0259 20.2502 15.0157 19.7685 14.8291 19.3436L13.12 15.4523L14.0159 15.0588L19.4131 16.616C19.7145 16.7029 20.0346 16.7021 20.3355 16.6137C20.6364 16.5253 20.9059 16.3529 21.1124 16.1168C21.3188 15.8807 21.4537 15.5907 21.5013 15.2806C21.5488 14.9707 21.507 14.6537 21.3808 14.3667M21.3808 14.3667L20.4142 12.1659C21.0102 11.7447 21.4752 11.1551 21.7441 10.4649C22.1052 9.53824 22.0834 8.50606 21.6834 7.59546C21.2835 6.68486 20.5382 5.97043 19.6115 5.60934C18.9213 5.3404 18.1726 5.28388 17.4591 5.43778L16.4927 3.23726C16.3667 2.95018 16.1613 2.70457 15.901 2.52988C15.6405 2.35511 15.3357 2.2582 15.0221 2.2505M18.0836 6.85961C18.4152 6.83504 18.7512 6.88399 19.0669 7.00698C19.6229 7.22364 20.0701 7.6523 20.3101 8.19866C20.55 8.74502 20.5631 9.36433 20.3465 9.92035C20.2235 10.236 20.0321 10.5166 19.7897 10.7441L18.0836 6.85961ZM15.1191 3.8401C15.1077 3.81399 15.0889 3.79133 15.0652 3.77544C15.0415 3.75956 15.0138 3.75075 14.9853 3.75005C14.9568 3.74935 14.9287 3.75678 14.9042 3.77149C14.8798 3.7862 14.8601 3.80756 14.8474 3.83308L12.2214 9.10391C12.1432 9.26095 12.0123 9.38559 11.8517 9.45615L10.7072 9.95881L12.5168 14.0789L13.6613 13.5763C13.8219 13.5057 14.0022 13.4937 14.1708 13.5423L19.8288 15.1748C19.8562 15.1827 19.8852 15.1826 19.9126 15.1746C19.9399 15.1665 19.9645 15.1509 19.9832 15.1294C20.002 15.1079 20.0143 15.0816 20.0186 15.0534C20.0229 15.0252 20.0191 14.9964 20.0076 14.9703L15.1191 3.8401ZM11.7466 16.0555L13.4557 19.9468C13.4824 20.0075 13.4838 20.0763 13.4598 20.1381C13.4357 20.1999 13.3881 20.2495 13.3274 20.2762L12.4118 20.6783C12.3511 20.705 12.2823 20.7064 12.2205 20.6824C12.1587 20.6583 12.109 20.6107 12.0824 20.55L10.3733 16.6587L11.7466 16.0555ZM11.1434 14.6821L9.33384 10.562L4.52704 12.6732C4.46633 12.6999 4.4187 12.7496 4.39463 12.8113C4.37056 12.8731 4.37201 12.9419 4.39868 13.0026L6.00721 16.665C6.03387 16.7257 6.08356 16.7733 6.14534 16.7974C6.20712 16.8214 6.27593 16.82 6.33664 16.7933L11.1434 14.6821Z"})));const Tz=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Wz(B,H,W){const K=function(B,H,W){const K=H.getBoundingClientRect(),Y=W&&W.getBoundingClientRect(),ie=_f(H);let ce;if(H.fakeTransform)ce=H.fakeTransform;else{const B=ie.getComputedStyle(H);ce=B.getPropertyValue("-webkit-transform")||B.getPropertyValue("transform")}let ue=0,de=0;if(ce&&"none"!==ce&&"string"==typeof ce){const B=ce.split("(")[1].split(")")[0].split(",");ue=parseInt(B[4],10),de=parseInt(B[5],10)}return"left"===B?Y?`translateX(${Y.right+ue-K.left}px)`:`translateX(${ie.innerWidth+ue-K.left}px)`:"right"===B?Y?`translateX(-${K.right-Y.left-ue}px)`:`translateX(-${K.left+K.width-ue}px)`:"up"===B?Y?`translateY(${Y.bottom+de-K.top}px)`:`translateY(${ie.innerHeight+de-K.top}px)`:Y?`translateY(-${K.top-Y.top+K.height-de}px)`:`translateY(-${K.top+K.height-de}px)`}(B,H,function qz(B){return"function"==typeof B?B():B}(W));K&&(H.style.webkitTransform=K,H.style.transform=K)}const Pz=ce.forwardRef(function(B,H){const W=ea(),Y={enter:W.transitions.easing.easeOut,exit:W.transitions.easing.sharp},ie={enter:W.transitions.duration.enteringScreen,exit:W.transitions.duration.leavingScreen},{addEndListener:ue,appear:de=!0,children:pe,container:fe,direction:ke="down",easing:Je=Y,in:rt,onEnter:st,onEntered:at,onEntering:lt,onExit:pt,onExited:ht,onExiting:mt,style:vt,timeout:yt=ie,TransitionComponent:bt=Na}=B,wt=s(B,Tz),xt=ce.useRef(null),St=Fa(pe.ref,xt,H),T=B=>H=>{B&&(void 0===H?B(xt.current):B(xt.current,H))},kt=T((B,H)=>{Wz(ke,B,fe),st&&st(B,H)}),Et=T((B,H)=>{const K=Gf({timeout:yt,style:vt,easing:Je},{mode:"enter"});B.style.webkitTransition=W.transitions.create("-webkit-transform",a({},K)),B.style.transition=W.transitions.create("transform",a({},K)),B.style.webkitTransform="none",B.style.transform="none",lt&<(B,H)}),At=T(at),Pt=T(mt),Lt=T(B=>{const H=Gf({timeout:yt,style:vt,easing:Je},{mode:"exit"});B.style.webkitTransition=W.transitions.create("-webkit-transform",H),B.style.transition=W.transitions.create("transform",H),Wz(ke,B,fe),pt&&pt(B)}),jt=T(B=>{B.style.webkitTransition="",B.style.transition="",ht&&ht(B)}),Ft=ce.useCallback(()=>{xt.current&&Wz(ke,xt.current,fe)},[ke,fe]);return ce.useEffect(()=>{if(rt||"down"===ke||"right"===ke)return;const B=bf(()=>{xt.current&&Wz(ke,xt.current,fe)}),H=_f(xt.current);return H.addEventListener("resize",B),()=>{B.clear(),H.removeEventListener("resize",B)}},[ke,rt,fe]),ce.useEffect(()=>{rt||Ft()},[rt,Ft]),K.jsx(bt,a({nodeRef:xt,onEnter:kt,onEntered:At,onEntering:Et,onExit:Lt,onExited:jt,onExiting:Pt,addEndListener:B=>{ue&&ue(xt.current,B)},appear:de,in:rt,timeout:yt},wt,{children:(B,H)=>ce.cloneElement(pe,a({ref:St,style:a({visibility:"exited"!==B||rt?void 0:"hidden"},vt,pe.props.style)},H))}))}),Lz=Pz;function Kz(B){return Mo("MuiDrawer",B)}ta("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const jz=["BackdropProps"],Fz=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Xz=(B,H)=>{const{ownerState:W}=B;return[H.root,("permanent"===W.variant||"persistent"===W.variant)&&H.docked,H.modal]},Nz=Ti(wh,{name:"MuiDrawer",slot:"Root",overridesResolver:Xz})(({theme:B})=>({zIndex:(B.vars||B).zIndex.drawer})),Dz=Ti("div",{shouldForwardProp:zi,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Xz})({flex:"0 0 auto"}),$z=Ti(Ls,{name:"MuiDrawer",slot:"Paper",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.paper,H[`paperAnchor${Zi(W.anchor)}`],"temporary"!==W.variant&&H[`paperAnchorDocked${Zi(W.anchor)}`]]}})(({theme:B,ownerState:H})=>a({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(B.vars||B).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===H.anchor&&{left:0},"top"===H.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===H.anchor&&{right:0},"bottom"===H.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===H.anchor&&"temporary"!==H.variant&&{borderRight:`1px solid ${(B.vars||B).palette.divider}`},"top"===H.anchor&&"temporary"!==H.variant&&{borderBottom:`1px solid ${(B.vars||B).palette.divider}`},"right"===H.anchor&&"temporary"!==H.variant&&{borderLeft:`1px solid ${(B.vars||B).palette.divider}`},"bottom"===H.anchor&&"temporary"!==H.variant&&{borderTop:`1px solid ${(B.vars||B).palette.divider}`})),Uz={left:"right",right:"left",top:"down",bottom:"up"},Hz=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiDrawer"}),Y=ea(),ie=Vs(),ue={enter:Y.transitions.duration.enteringScreen,exit:Y.transitions.duration.leavingScreen},{anchor:de="left",BackdropProps:pe,children:fe,className:ke,elevation:Je=16,hideBackdrop:rt=!1,ModalProps:{BackdropProps:st}={},onClose:at,open:lt=!1,PaperProps:pt={},SlideProps:ht,TransitionComponent:mt=Lz,transitionDuration:vt=ue,variant:yt="temporary"}=W,bt=s(W.ModalProps,jz),wt=s(W,Fz),xt=ce.useRef(!1);ce.useEffect(()=>{xt.current=!0},[]);const St=function({direction:B},H){return"rtl"===B&&function(B){return-1!==["left","right"].indexOf(B)}(H)?Uz[H]:H}({direction:ie?"rtl":"ltr"},de),kt=a({},W,{anchor:de,elevation:Je,open:lt,variant:yt},wt),Et=(B=>{const{classes:H,anchor:W,variant:K}=B;return U({root:["root"],docked:[("permanent"===K||"persistent"===K)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Zi(W)}`,"temporary"!==K&&`paperAnchorDocked${Zi(W)}`]},Kz,H)})(kt),At=K.jsx($z,a({elevation:"temporary"===yt?Je:0,square:!0},pt,{className:V(Et.paper,pt.className),ownerState:kt,children:fe}));if("permanent"===yt)return K.jsx(Dz,a({className:V(Et.root,Et.docked,ke),ownerState:kt,ref:H},wt,{children:At}));const Pt=K.jsx(mt,a({in:lt,direction:Uz[St],timeout:vt,appear:xt.current},ht,{children:At}));return"persistent"===yt?K.jsx(Dz,a({className:V(Et.root,Et.docked,ke),ownerState:kt,ref:H},wt,{children:Pt})):K.jsx(Nz,a({BackdropProps:a({},pe,st,{transitionDuration:vt}),className:V(Et.root,Et.modal,ke),open:lt,ownerState:kt,onClose:at,hideBackdrop:rt,ref:H},wt,bt,{children:Pt}))}),Vz=Hz;var Gz=Y.forwardRef((B,H)=>Y.createElement(Vz,{...B,ref:H}));const Zz=ta("MuiBox",["root"]),Yz=Di(),Jz=function(B={}){const{themeId:H,defaultTheme:W,defaultClassName:Y="MuiBox-root",generateClassName:ie}=B,ue=jr("div",{shouldForwardProp:B=>"theme"!==B&&"sx"!==B&&"as"!==B})(Zo);return ce.forwardRef(function(B,ce){const de=Gi(W),pe=bo(B),{className:fe,component:ke="div"}=pe,Je=s(pe,Fi);return K.jsx(ue,a({as:ke,ref:ce,className:ls(fe,ie?ie(Y):Y),theme:H&&de[H]||de},Je))})}({themeId:Ii,defaultTheme:Yz,defaultClassName:Zz.root,generateClassName:ri.generate}),Qz=Jz;var eB=Y.forwardRef((B,H)=>Y.createElement(Qz,{...B,ref:H}));const uV=()=>K.jsx(na,{children:new Array(3).fill(0).map((B,H)=>K.jsxs(eB,{children:[K.jsxs(na,{gap:.5,sx:{mt:2},children:[K.jsx(fz,{variant:"text",width:50,height:24}),K.jsx(fz,{variant:"text",width:"100%",height:48}),K.jsx(fz,{variant:"rectangular",width:"100%",height:200,sx:{borderRadius:1}}),K.jsx(fz,{variant:"rounded",width:100,height:32,sx:{borderRadius:3,mt:1}}),K.jsx(fz,{variant:"text",width:200,height:24}),K.jsx(fz,{variant:"text",width:250,height:24}),K.jsx(fz,{variant:"text",width:170,height:24})]}),H<2&&K.jsx(gu,{sx:{mt:1.5}})]},H))});var nB,oB={},iB={},sB={},lB={},cB={},uB={};function yV(){return nB||(nB=1,function(B){var H;Object.defineProperty(B,"__esModule",{value:!0}),B.Doctype=B.CDATA=B.Tag=B.Style=B.Script=B.Comment=B.Directive=B.Text=B.Root=B.isTag=B.ElementType=void 0,function(B){B.Root="root",B.Text="text",B.Directive="directive",B.Comment="comment",B.Script="script",B.Style="style",B.Tag="tag",B.CDATA="cdata",B.Doctype="doctype"}(H=B.ElementType||(B.ElementType={})),B.isTag=function(B){return B.type===H.Tag||B.type===H.Script||B.type===H.Style},B.Root=H.Root,B.Text=H.Text,B.Directive=H.Directive,B.Comment=H.Comment,B.Script=H.Script,B.Style=H.Style,B.Tag=H.Tag,B.CDATA=H.CDATA,B.Doctype=H.Doctype}(uB)),uB}var mB,gB,vB={};function _V(){if(mB)return vB;mB=1;var B,H=vB&&vB.__extends||(B=function(H,W){return B=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,H){B.__proto__=H}||function(B,H){for(var W in H)Object.prototype.hasOwnProperty.call(H,W)&&(B[W]=H[W])},B(H,W)},function(H,W){if("function"!=typeof W&&null!==W)throw new TypeError("Class extends value "+String(W)+" is not a constructor or null");function n(){this.constructor=H}B(H,W),H.prototype=null===W?Object.create(W):(n.prototype=W.prototype,new n)}),W=vB&&vB.__assign||function(){return W=Object.assign||function(B){for(var H,W=1,K=arguments.length;W<K;W++)for(var Y in H=arguments[W])Object.prototype.hasOwnProperty.call(H,Y)&&(B[Y]=H[Y]);return B},W.apply(this,arguments)};Object.defineProperty(vB,"__esModule",{value:!0}),vB.cloneNode=vB.hasChildren=vB.isDocument=vB.isDirective=vB.isComment=vB.isText=vB.isCDATA=vB.isTag=vB.Element=vB.Document=vB.CDATA=vB.NodeWithChildren=vB.ProcessingInstruction=vB.Comment=vB.Text=vB.DataNode=vB.Node=void 0;var K=yV(),Y=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(B){this.parent=B},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(B){this.prev=B},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(B){this.next=B},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(B){return void 0===B&&(B=!1),b(this,B)},e}();vB.Node=Y;var ie=function(B){function r(H){var W=B.call(this)||this;return W.data=H,W}return H(r,B),Object.defineProperty(r.prototype,"nodeValue",{get:function(){return this.data},set:function(B){this.data=B},enumerable:!1,configurable:!0}),r}(Y);vB.DataNode=ie;var ce=function(B){function r(){var H=null!==B&&B.apply(this,arguments)||this;return H.type=K.ElementType.Text,H}return H(r,B),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),r}(ie);vB.Text=ce;var ue=function(B){function r(){var H=null!==B&&B.apply(this,arguments)||this;return H.type=K.ElementType.Comment,H}return H(r,B),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),r}(ie);vB.Comment=ue;var de=function(B){function r(H,W){var Y=B.call(this,W)||this;return Y.name=H,Y.type=K.ElementType.Directive,Y}return H(r,B),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),r}(ie);vB.ProcessingInstruction=de;var pe=function(B){function r(H){var W=B.call(this)||this;return W.children=H,W}return H(r,B),Object.defineProperty(r.prototype,"firstChild",{get:function(){var B;return null!==(B=this.children[0])&&void 0!==B?B:null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"childNodes",{get:function(){return this.children},set:function(B){this.children=B},enumerable:!1,configurable:!0}),r}(Y);vB.NodeWithChildren=pe;var fe=function(B){function r(){var H=null!==B&&B.apply(this,arguments)||this;return H.type=K.ElementType.CDATA,H}return H(r,B),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),r}(pe);vB.CDATA=fe;var ke=function(B){function r(){var H=null!==B&&B.apply(this,arguments)||this;return H.type=K.ElementType.Root,H}return H(r,B),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),r}(pe);vB.Document=ke;var Je=function(B){function r(H,W,Y,ie){void 0===Y&&(Y=[]),void 0===ie&&(ie="script"===H?K.ElementType.Script:"style"===H?K.ElementType.Style:K.ElementType.Tag);var ce=B.call(this,Y)||this;return ce.name=H,ce.attribs=W,ce.type=ie,ce}return H(r,B),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tagName",{get:function(){return this.name},set:function(B){this.name=B},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"attributes",{get:function(){var B=this;return Object.keys(this.attribs).map(function(H){var W,K;return{name:H,value:B.attribs[H],namespace:null===(W=B["x-attribsNamespace"])||void 0===W?void 0:W[H],prefix:null===(K=B["x-attribsPrefix"])||void 0===K?void 0:K[H]}})},enumerable:!1,configurable:!0}),r}(pe);function f(B){return(0,K.isTag)(B)}function h(B){return B.type===K.ElementType.CDATA}function m(B){return B.type===K.ElementType.Text}function g(B){return B.type===K.ElementType.Comment}function v(B){return B.type===K.ElementType.Directive}function y(B){return B.type===K.ElementType.Root}function b(B,H){var K;if(void 0===H&&(H=!1),m(B))K=new ce(B.data);else if(g(B))K=new ue(B.data);else if(f(B)){var Y=H?w(B.children):[],ie=new Je(B.name,W({},B.attribs),Y);Y.forEach(function(B){return B.parent=ie}),null!=B.namespace&&(ie.namespace=B.namespace),B["x-attribsNamespace"]&&(ie["x-attribsNamespace"]=W({},B["x-attribsNamespace"])),B["x-attribsPrefix"]&&(ie["x-attribsPrefix"]=W({},B["x-attribsPrefix"])),K=ie}else if(h(B)){Y=H?w(B.children):[];var pe=new fe(Y);Y.forEach(function(B){return B.parent=pe}),K=pe}else if(y(B)){Y=H?w(B.children):[];var rt=new ke(Y);Y.forEach(function(B){return B.parent=rt}),B["x-mode"]&&(rt["x-mode"]=B["x-mode"]),K=rt}else{if(!v(B))throw new Error("Not implemented yet: ".concat(B.type));var st=new de(B.name,B.data);null!=B["x-name"]&&(st["x-name"]=B["x-name"],st["x-publicId"]=B["x-publicId"],st["x-systemId"]=B["x-systemId"]),K=st}return K.startIndex=B.startIndex,K.endIndex=B.endIndex,null!=B.sourceCodeLocation&&(K.sourceCodeLocation=B.sourceCodeLocation),K}function w(B){for(var H=B.map(function(B){return b(B,!0)}),W=1;W<H.length;W++)H[W].prev=H[W-1],H[W-1].next=H[W];return H}return vB.Element=Je,vB.isTag=f,vB.isCDATA=h,vB.isText=m,vB.isComment=g,vB.isDirective=v,vB.isDocument=y,vB.hasChildren=function(B){return Object.prototype.hasOwnProperty.call(B,"children")},vB.cloneNode=b,vB}function SV(){return gB||(gB=1,function(B){var H=cB&&cB.__createBinding||(Object.create?function(B,H,W,K){void 0===K&&(K=W);var Y=Object.getOwnPropertyDescriptor(H,W);Y&&!("get"in Y?!H.__esModule:Y.writable||Y.configurable)||(Y={enumerable:!0,get:function(){return H[W]}}),Object.defineProperty(B,K,Y)}:function(B,H,W,K){void 0===K&&(K=W),B[K]=H[W]}),W=cB&&cB.__exportStar||function(B,W){for(var K in B)"default"===K||Object.prototype.hasOwnProperty.call(W,K)||H(W,B,K)};Object.defineProperty(B,"__esModule",{value:!0}),B.DomHandler=void 0;var K=yV(),Y=_V();W(_V(),B);var ie={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},ce=function(){function e(B,H,W){this.dom=[],this.root=new Y.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof H&&(W=H,H=ie),"object"==typeof B&&(H=B,B=void 0),this.callback=null!=B?B:null,this.options=null!=H?H:ie,this.elementCB=null!=W?W:null}return e.prototype.onparserinit=function(B){this.parser=B},e.prototype.onreset=function(){this.dom=[],this.root=new Y.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(B){this.handleCallback(B)},e.prototype.onclosetag=function(){this.lastNode=null;var B=this.tagStack.pop();this.options.withEndIndices&&(B.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(B)},e.prototype.onopentag=function(B,H){var W=this.options.xmlMode?K.ElementType.Tag:void 0,ie=new Y.Element(B,H,void 0,W);this.addNode(ie),this.tagStack.push(ie)},e.prototype.ontext=function(B){var H=this.lastNode;if(H&&H.type===K.ElementType.Text)H.data+=B,this.options.withEndIndices&&(H.endIndex=this.parser.endIndex);else{var W=new Y.Text(B);this.addNode(W),this.lastNode=W}},e.prototype.oncomment=function(B){if(this.lastNode&&this.lastNode.type===K.ElementType.Comment)this.lastNode.data+=B;else{var H=new Y.Comment(B);this.addNode(H),this.lastNode=H}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var B=new Y.Text(""),H=new Y.CDATA([B]);this.addNode(H),B.parent=H,this.lastNode=B},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(B,H){var W=new Y.ProcessingInstruction(B,H);this.addNode(W)},e.prototype.handleCallback=function(B){if("function"==typeof this.callback)this.callback(B,this.dom);else if(B)throw B},e.prototype.addNode=function(B){var H=this.tagStack[this.tagStack.length-1],W=H.children[H.children.length-1];this.options.withStartIndices&&(B.startIndex=this.parser.startIndex),this.options.withEndIndices&&(B.endIndex=this.parser.endIndex),H.children.push(B),W&&(B.prev=W,W.next=B),B.parent=H,this.lastNode=null},e}();B.DomHandler=ce,B.default=ce}(cB)),cB}var yB,bB,wB,_B,xB={};function IV(){if(bB)return lB;bB=1,Object.defineProperty(lB,"__esModule",{value:!0}),lB.formatAttributes=r,lB.escapeSpecialCharacters=function(B){return B.replace(H.CARRIAGE_RETURN_REGEX,H.CARRIAGE_RETURN_PLACEHOLDER)},lB.revertEscapedCharacters=o,lB.formatDOM=function t(H,W,K){void 0===W&&(W=null);for(var Y,ie=[],ce=0,ue=H.length;ce<ue;ce++){var de=H[ce];switch(de.nodeType){case 1:var pe=n(de.nodeName);(Y=new B.Element(pe,r(de.attributes))).children=t("template"===pe?de.content.childNodes:de.childNodes,Y);break;case 3:Y=new B.Text(o(de.nodeValue));break;case 8:Y=new B.Comment(de.nodeValue);break;default:continue}var fe=ie[ce-1]||null;fe&&(fe.next=Y),Y.parent=W,Y.prev=fe,Y.next=null,ie.push(Y)}return K&&((Y=new B.ProcessingInstruction(K.substring(0,K.indexOf(" ")).toLowerCase(),K)).next=ie[0]||null,Y.parent=W,ie.unshift(Y),ie[1]&&(ie[1].prev=ie[0])),ie};var B=SV(),H=function RV(){return yB||(yB=1,function(B){Object.defineProperty(B,"__esModule",{value:!0}),B.CARRIAGE_RETURN_PLACEHOLDER_REGEX=B.CARRIAGE_RETURN_PLACEHOLDER=B.CARRIAGE_RETURN_REGEX=B.CARRIAGE_RETURN=B.CASE_SENSITIVE_TAG_NAMES_MAP=B.CASE_SENSITIVE_TAG_NAMES=void 0,B.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],B.CASE_SENSITIVE_TAG_NAMES_MAP=B.CASE_SENSITIVE_TAG_NAMES.reduce(function(B,H){return B[H.toLowerCase()]=H,B},{}),B.CARRIAGE_RETURN="\r",B.CARRIAGE_RETURN_REGEX=new RegExp(B.CARRIAGE_RETURN,"g"),B.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),B.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(B.CARRIAGE_RETURN_PLACEHOLDER,"g")}(xB)),xB}();function r(B){for(var H={},W=0,K=B.length;W<K;W++){var Y=B[W];H[Y.name]=Y.value}return H}function n(B){return function(B){return H.CASE_SENSITIVE_TAG_NAMES_MAP[B]}(B=B.toLowerCase())||B}function o(B){return B.replace(H.CARRIAGE_RETURN_PLACEHOLDER_REGEX,H.CARRIAGE_RETURN)}return lB}function AV(){if(_B)return iB;_B=1;var B=iB&&iB.__importDefault||function(B){return B&&B.__esModule?B:{default:B}};Object.defineProperty(iB,"__esModule",{value:!0}),iB.default=function(B){if("string"!=typeof B)throw new TypeError("First argument must be a string");if(!B)return[];var Y=B.match(K),ie=Y?Y[1]:void 0;return(0,W.formatDOM)((0,H.default)(B),null,ie)};var H=B(function MV(){if(wB)return sB;wB=1,Object.defineProperty(sB,"__esModule",{value:!0}),sB.default=function(ue){var de,pe,ke=(ue=(0,B.escapeSpecialCharacters)(ue)).match(Y),Je=ke&&ke[1]?ke[1].toLowerCase():"";switch(Je){case H:var rt=l(ue);return ie.test(ue)||null===(de=null==(at=rt.querySelector(W))?void 0:at.parentNode)||void 0===de||de.removeChild(at),ce.test(ue)||null===(pe=null==(at=rt.querySelector(K))?void 0:at.parentNode)||void 0===pe||pe.removeChild(at),rt.querySelectorAll(H);case W:case K:var st=a(ue).querySelectorAll(Je);return ce.test(ue)&&ie.test(ue)?st[0].parentNode.childNodes:st;default:return fe?fe(ue):(at=a(ue,K).querySelector(K)).childNodes;var at}};var B=IV(),H="html",W="head",K="body",Y=/<([a-zA-Z]+[0-9]?)/,ie=/<head[^]*>/i,ce=/<body[^]*>/i,a=function(B,H){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},l=function(B,H){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},ue="object"==typeof window&&window.DOMParser;if("function"==typeof ue){var de=new ue;a=l=function(B,H){return H&&(B="<".concat(H,">").concat(B,"</").concat(H,">")),de.parseFromString(B,"text/html")}}if("object"==typeof document&&document.implementation){var pe=document.implementation.createHTMLDocument();a=function(B,H){if(H){var W=pe.documentElement.querySelector(H);return W&&(W.innerHTML=B),pe}return pe.documentElement.innerHTML=B,pe}}var fe,ke="object"==typeof document&&document.createElement("template");return ke&&ke.content&&(fe=function(B){return ke.innerHTML=B,ke.content.childNodes}),sB}()),W=IV(),K=/<(![a-zA-Z\s]+)>/;return iB}var CB,OB,EB={},RB={},MB={};function $V(){if(OB)return RB;function e(B,H,W,K,Y,ie,ce){this.acceptsBooleans=2===H||3===H||4===H,this.attributeName=K,this.attributeNamespace=Y,this.mustUseProperty=W,this.propertyName=B,this.type=H,this.sanitizeURL=ie,this.removeEmptyString=ce}OB=1;const B={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(H=>{B[H]=new e(H,0,!1,H,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([H,W])=>{B[H]=new e(H,1,!1,W,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(H=>{B[H]=new e(H,2,!1,H.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(H=>{B[H]=new e(H,2,!1,H,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(H=>{B[H]=new e(H,3,!1,H.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(H=>{B[H]=new e(H,3,!0,H,null,!1,!1)}),["capture","download"].forEach(H=>{B[H]=new e(H,4,!1,H,null,!1,!1)}),["cols","rows","size","span"].forEach(H=>{B[H]=new e(H,6,!1,H,null,!1,!1)}),["rowSpan","start"].forEach(H=>{B[H]=new e(H,5,!1,H.toLowerCase(),null,!1,!1)});const H=/[\-\:]([a-z])/g,n=B=>B[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(W=>{const K=W.replace(H,n);B[K]=new e(K,1,!1,W,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(W=>{const K=W.replace(H,n);B[K]=new e(K,1,!1,W,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(W=>{const K=W.replace(H,n);B[K]=new e(K,1,!1,W,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(H=>{B[H]=new e(H,1,!1,H.toLowerCase(),null,!1,!1)}),B.xlinkHref=new e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(H=>{B[H]=new e(H,1,!1,H.toLowerCase(),null,!0,!0)});const{CAMELCASE:W,SAME:K,possibleStandardNames:Y}=function FV(){return CB||(CB=1,MB.SAME=0,MB.CAMELCASE=1,MB.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}),MB}(),ie=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),ce=Object.keys(Y).reduce((B,H)=>{const ie=Y[H];return ie===K?B[H]=H:ie===W?B[H.toLowerCase()]=H:B[H]=ie,B},{});return RB.BOOLEAN=3,RB.BOOLEANISH_STRING=2,RB.NUMERIC=5,RB.OVERLOADED_BOOLEAN=4,RB.POSITIVE_NUMERIC=6,RB.RESERVED=0,RB.STRING=1,RB.getPropertyInfo=function(H){return B.hasOwnProperty(H)?B[H]:null},RB.isCustomAttribute=ie,RB.possibleStandardNames=ce,RB}var IB,AB,TB,PB={},LB={};function HV(){if(TB)return LB;TB=1;var B=LB&&LB.__importDefault||function(B){return B&&B.__esModule?B:{default:B}};Object.defineProperty(LB,"__esModule",{value:!0}),LB.default=function(B,W){var K=null;if(!B||"string"!=typeof B)return K;var Y=(0,H.default)(B),ie="function"==typeof W;return Y.forEach(function(B){if("declaration"===B.type){var H=B.property,Y=B.value;ie?W(H,Y,B):Y&&((K=K||{})[H]=Y)}}),K};var H=B(function WV(){if(AB)return IB;AB=1;var B=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,H=/\n/g,W=/^\s*/,K=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Y=/^:\s*/,ie=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ce=/^[;\s]*/,ue=/^\s+|\s+$/g,de="";function c(B){return B?B.replace(ue,de):de}return IB=function(ue,pe){if("string"!=typeof ue)throw new TypeError("First argument must be a string");if(!ue)return[];pe=pe||{};var fe=1,ke=1;function f(B){var W=B.match(H);W&&(fe+=W.length);var K=B.lastIndexOf("\n");ke=~K?B.length-K:ke+B.length}function h(){var B={line:fe,column:ke};return function(H){return H.position=new m(B),y(),H}}function m(B){this.start=B,this.end={line:fe,column:ke},this.source=pe.source}function g(B){var H=new Error(pe.source+":"+fe+":"+ke+": "+B);if(H.reason=B,H.filename=pe.source,H.line=fe,H.column=ke,H.source=ue,!pe.silent)throw H}function v(B){var H=B.exec(ue);if(H){var W=H[0];return f(W),ue=ue.slice(W.length),H}}function y(){v(W)}function b(B){var H;for(B=B||[];H=w();)!1!==H&&B.push(H);return B}function w(){var B=h();if("/"==ue.charAt(0)&&"*"==ue.charAt(1)){for(var H=2;de!=ue.charAt(H)&&("*"!=ue.charAt(H)||"/"!=ue.charAt(H+1));)++H;if(H+=2,de===ue.charAt(H-1))return g("End of comment missing");var W=ue.slice(2,H-2);return ke+=2,f(W),ue=ue.slice(H),ke+=2,B({type:"comment",comment:W})}}function x(){var H=h(),W=v(K);if(W){if(w(),!v(Y))return g("property missing ':'");var ue=v(ie),pe=H({type:"declaration",property:c(W[0].replace(B,de)),value:ue?c(ue[0].replace(B,de)):de});return v(ce),pe}}return m.prototype.content=ue,y(),function(){var B,H=[];for(b(H);B=x();)!1!==B&&(H.push(B),b(H));return H}()},IB}());return LB}var jB,FB,NB,zB,BB,UB={};function eU(){if(NB)return FB;NB=1;var B=(FB&&FB.__importDefault||function(B){return B&&B.__esModule?B:{default:B}})(HV()),H=function QV(){if(jB)return UB;jB=1,Object.defineProperty(UB,"__esModule",{value:!0}),UB.camelCase=void 0;var B=/^--[a-zA-Z0-9_-]+$/,H=/-([a-z])/g,W=/^[^-]+$/,K=/^-(webkit|moz|ms|o|khtml)-/,Y=/^-(ms)-/,i=function(B,H){return H.toUpperCase()},s=function(B,H){return"".concat(H,"-")};return UB.camelCase=function(ie,ce){return void 0===ce&&(ce={}),function(H){return!H||W.test(H)||B.test(H)}(ie)?ie:(ie=ie.toLowerCase(),(ie=ce.reactCompat?ie.replace(Y,s):ie.replace(K,s)).replace(H,i))},UB}();function r(W,K){var Y={};return W&&"string"==typeof W?((0,B.default)(W,function(B,W){B&&W&&(Y[(0,H.camelCase)(B,K)]=W)}),Y):Y}return r.default=r,FB=r}function tU(){return zB||(zB=1,function(B){var H=PB&&PB.__importDefault||function(B){return B&&B.__esModule?B:{default:B}};Object.defineProperty(B,"__esModule",{value:!0}),B.returnFirstArg=B.canTextBeChildOfNode=B.ELEMENTS_WITH_NO_TEXT_CHILDREN=B.PRESERVE_CUSTOM_ATTRIBUTES=void 0,B.isCustomComponent=function(B,H){return B.includes("-")?!ie.has(B):Boolean(H&&"string"==typeof H.is)},B.setStyleProp=function(B,H){if("string"==typeof B)if(B.trim())try{H.style=(0,K.default)(B,ce)}catch(B){H.style={}}else H.style={}};var W=Y,K=H(eU()),ie=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),ce={reactCompat:!0};B.PRESERVE_CUSTOM_ATTRIBUTES=Number(W.version.split(".")[0])>=16,B.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),B.canTextBeChildOfNode=function(H){return!B.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(H.name)},B.returnFirstArg=function(B){return B}}(PB)),PB}function rU(){if(BB)return EB;BB=1,Object.defineProperty(EB,"__esModule",{value:!0}),EB.default=function(ie,ce){void 0===ie&&(ie={});var ue={},de=Boolean(ie.type&&Y[ie.type]);for(var pe in ie){var fe=ie[pe];if((0,B.isCustomAttribute)(pe))ue[pe]=fe;else{var ke=pe.toLowerCase(),Je=i(ke);if(Je){var rt=(0,B.getPropertyInfo)(Je);switch(W.includes(Je)&&K.includes(ce)&&!de&&(Je=i("default"+ke)),ue[Je]=fe,rt&&rt.type){case B.BOOLEAN:ue[Je]=!0;break;case B.OVERLOADED_BOOLEAN:""===fe&&(ue[Je]=!0)}}else H.PRESERVE_CUSTOM_ATTRIBUTES&&(ue[pe]=fe)}}return(0,H.setStyleProp)(ie.style,ue),ue};var B=$V(),H=tU(),W=["checked","value"],K=["input","select","textarea"],Y={reset:!0,submit:!0};function i(H){return B.possibleStandardNames[H]}return EB}var HB,VB,qB={};function sU(){if(HB)return qB;HB=1;var B=qB&&qB.__importDefault||function(B){return B&&B.__esModule?B:{default:B}};Object.defineProperty(qB,"__esModule",{value:!0}),qB.default=function e(B,H){void 0===H&&(H={});for(var Y=[],ce="function"==typeof H.replace,ue=H.transform||K.returnFirstArg,de=H.library||ie,pe=de.cloneElement,fe=de.createElement,ke=de.isValidElement,Je=B.length,rt=0;rt<Je;rt++){var st=B[rt];if(ce){var at=H.replace(st,rt);if(ke(at)){Je>1&&(at=pe(at,{key:at.key||rt})),Y.push(ue(at,st,rt));continue}}if("text"!==st.type){var lt=st,pt={};s(lt)?((0,K.setStyleProp)(lt.attribs.style,lt.attribs),pt=lt.attribs):lt.attribs&&(pt=(0,W.default)(lt.attribs,lt.name));var ht=void 0;switch(st.type){case"script":case"style":st.children[0]&&(pt.dangerouslySetInnerHTML={__html:st.children[0].data});break;case"tag":"textarea"===st.name&&st.children[0]?pt.defaultValue=st.children[0].data:st.children&&st.children.length&&(ht=e(st.children,H));break;default:continue}Je>1&&(pt.key=rt),Y.push(ue(fe(st.name,pt,ht),st,rt))}else{var mt=!st.data.trim().length;if(mt&&st.parent&&!(0,K.canTextBeChildOfNode)(st.parent))continue;if(H.trim&&mt)continue;Y.push(ue(st.data,st,rt))}}return 1===Y.length?Y[0]:Y};var H=Y,W=B(rU()),K=tU(),ie={cloneElement:H.cloneElement,createElement:H.createElement,isValidElement:H.isValidElement};function s(B){return K.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===B.type&&(0,K.isCustomComponent)(B.name,B.attribs)}return qB}const WB=l(function aU(){return VB||(VB=1,function(B){var H=oB&&oB.__importDefault||function(B){return B&&B.__esModule?B:{default:B}};Object.defineProperty(B,"__esModule",{value:!0}),B.htmlToDOM=B.domToReact=B.attributesToProps=B.Text=B.ProcessingInstruction=B.Element=B.Comment=void 0,B.default=function(B,H){if("string"!=typeof B)throw new TypeError("First argument must be a string");return B?(0,Y.default)((0,W.default)(B,(null==H?void 0:H.htmlparser2)||ce),H):[]};var W=H(AV());B.htmlToDOM=W.default;var K=H(rU());B.attributesToProps=K.default;var Y=H(sU());B.domToReact=Y.default;var ie=SV();Object.defineProperty(B,"Comment",{enumerable:!0,get:function(){return ie.Comment}}),Object.defineProperty(B,"Element",{enumerable:!0,get:function(){return ie.Element}}),Object.defineProperty(B,"ProcessingInstruction",{enumerable:!0,get:function(){return ie.ProcessingInstruction}}),Object.defineProperty(B,"Text",{enumerable:!0,get:function(){return ie.Text}});var ce={lowerCaseAttributeNames:!1}}(oB)),oB}()),GB=WB.default||WB,{slots:XB,classNames:KB}=tc("Image",["root"]),QB=sc("img",XB.root)(({theme:B,ownerState:H})=>{const{variant:W="square"}=H;return{borderRadius:{square:void 0,rounded:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[2],circle:"50%"}[W]}}),nU={variant:"square"},oU=Y.forwardRef((B,H)=>{const W=Yi({props:{...nU,...B},name:XB.root.name});return Y.createElement(QB,{...W,ref:H,className:V([[KB.root,W.className]]),ownerState:W})});oU.defaultProps=nU;var iU=oU;const gU=({id:B,title:H,description:W,topic:ie,imageSrc:ce,chipTags:ue,link:de,readMoreText:pe,cta:fe,ctaLink:ke,onItemClickedCallback:Je})=>{const{t:rt}=Bd("assets-whatsnew",{i18n:kf}),[st,at]=Y.useState(!!ce);Y.useEffect(()=>{ce&&at(!0)},[ce]);const lt=Y.useMemo(()=>{const H=rt(`${B}.description`,{defaultValue:W}),ie=GB(H);return Array.isArray(ie)?ie.map((H,W)=>K.jsx(Y.Fragment,{children:H},`${B}-description-${W}`)):ie},[rt,B,W]),pt=Y.useMemo(()=>{const H=`${B}.chipTags`;if(kf.exists(H,{ns:"assets-whatsnew"})){const B=rt(H,{returnObjects:!0});if(Array.isArray(B)&&B.length>0)return B}return ue},[rt,B,ue]),y=()=>{Je?.()};return K.jsxs(eB,{marginTop:2,children:[ie&&K.jsx(wa,{variant:"caption",color:"text.tertiary",children:rt(`${B}.topic`,{defaultValue:ie})}),K.jsx(wa,{variant:"subtitle1",color:"text.primary",children:rt(`${B}.title`,{defaultValue:H})}),ce&&K.jsxs(eB,{style:{marginBottom:16,position:"relative"},children:[st&&K.jsx(fz,{variant:"rectangular",width:"100%",height:200,sx:{borderRadius:1}}),K.jsx(iU,{src:ce,alt:rt(`${B}.title`,{defaultValue:H}),onLoad:()=>{at(!1)},onError:()=>{at(!1)},style:{width:"100%",height:"auto",display:st?"none":"block"}})]}),ue&&pt&&K.jsx(eB,{display:"flex",gap:1,flexWrap:"wrap",marginBottom:1,children:ue.map((H,W)=>{const Y=pt[W]||H;return K.jsx(Rz,{variant:"outlined",label:Y},`${B}-${H}`)})}),K.jsxs(wa,{variant:"body2",color:B=>B.palette.text.secondary,sx:{marginBottom:1},children:[lt,pe&&K.jsx("a",{href:de,target:"_blank",rel:"noreferrer",onClick:y,children:" "+rt(`${B}.readMoreText`,{defaultValue:pe})})]}),fe&&K.jsx(pd,{variant:"contained",color:"promotion",href:ke,target:"_blank",onClick:y,children:rt(`${B}.cta`,{defaultValue:fe})})]})};var lU=ce.forwardRef((B,H)=>ce.createElement(ou,{viewBox:"0 0 24 24",...B,ref:H},ce.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9302 3.00684C12.3573 3.03542 12.7729 3.16362 13.1431 3.38184C13.5618 3.6287 13.9074 3.98244 14.1451 4.40625L21.2456 16.6562L21.2915 16.751C21.4597 17.1668 21.524 17.6183 21.4781 18.0645C21.432 18.5106 21.2773 18.9397 21.0279 19.3125C20.7784 19.685 20.4411 19.9915 20.0464 20.2041C19.6517 20.4166 19.2105 20.529 18.7622 20.5322L18.7564 20.5332H4.75638C4.73812 20.5332 4.71964 20.5316 4.7017 20.5303C4.69631 20.5307 4.69052 20.5319 4.6851 20.5322L4.60795 20.5312L4.44388 20.5186C4.06393 20.476 3.69614 20.3543 3.36478 20.1611C2.98591 19.9403 2.66472 19.6317 2.42924 19.2617C2.19395 18.8919 2.051 18.4707 2.01127 18.0342C1.97166 17.5975 2.03678 17.1563 2.2017 16.75L2.2476 16.6562L9.34721 4.40625C9.58473 3.98261 9.93165 3.62868 10.3501 3.38184C10.7731 3.13252 11.2556 3.00006 11.7466 3L11.9302 3.00684ZM11.7574 15.7822C11.2051 15.7822 10.7574 16.2299 10.7574 16.7822C10.7574 17.3345 11.2051 17.7822 11.7574 17.7822H11.7671L11.8697 17.7773C12.3737 17.7259 12.7671 17.2998 12.7671 16.7822C12.7671 16.2647 12.3737 15.8386 11.8697 15.7871L11.7671 15.7822H11.7574ZM11.7564 8.0332C11.3424 8.03352 11.0064 8.36919 11.0064 8.7832V13.7832C11.0069 14.1968 11.3428 14.5329 11.7564 14.5332C12.1702 14.5332 12.5059 14.1969 12.5064 13.7832V8.7832C12.5064 8.36902 12.1706 8.03325 11.7564 8.0332Z"})));const yU=({appSettings:B})=>{const{t:H}=Bd("common",{i18n:kf}),{data:W,isLoading:Y,error:ie}=(({appName:B,appVersion:H})=>Ay({queryKey:["notifications",B,H],queryFn:async()=>(await Ux.getNotifications(B,H)).filter((B,H,W)=>W.findIndex(H=>H.id===B.id)===H),retry:!1}))({appName:B.slug,appVersion:B.version});return Y?K.jsx(uV,{}):ie?K.jsxs(na,{sx:{height:"100%"},alignItems:"center",justifyContent:"center",children:[K.jsx(lU,{color:"error",fontSize:"large"}),K.jsx(wa,{variant:"subtitle2",color:"text.secondary",textAlign:"center",children:H("header.whatsNewError")})]}):W?.map((B,H)=>K.jsxs(eB,{"data-test":`whats-new-card-${H}`,children:[K.jsx(gU,{...B}),K.jsx(gu,{sx:{margin:"16px 0"}})]},B.id))};var cU=ce.forwardRef((B,H)=>ce.createElement(ou,{viewBox:"0 0 24 24",...B,ref:H},ce.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5303 5.46967C18.8232 5.76256 18.8232 6.23744 18.5303 6.53033L6.53033 18.5303C6.23744 18.8232 5.76256 18.8232 5.46967 18.5303C5.17678 18.2374 5.17678 17.7626 5.46967 17.4697L17.4697 5.46967C17.7626 5.17678 18.2374 5.17678 18.5303 5.46967Z"}),ce.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.46967 5.46967C5.76256 5.17678 6.23744 5.17678 6.53033 5.46967L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L5.46967 6.53033C5.17678 6.23744 5.17678 5.76256 5.46967 5.46967Z"})));const wU=({appSettings:B,onClose:H})=>{const{t:W}=Bd("common",{i18n:kf});return K.jsxs(K.Fragment,{children:[K.jsxs(eB,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[K.jsx(wa,{variant:"subtitle1",color:"primary.text",children:W("header.whatsNew")}),K.jsx(Qc,{onClick:()=>{H()},"data-test":"service-banner-close",children:K.jsx(cU,{})})]}),K.jsx(yU,{appSettings:B})]})};function xU(B){return Yi}function _U(B){return Mo("MuiBadge",B)}const uU=ta("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),dU=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],pU=xU(),hU=Ti("span",{name:"MuiBadge",slot:"Root",overridesResolver:(B,H)=>H.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),fU=Ti("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.badge,H[W.variant],H[`anchorOrigin${Zi(W.anchorOrigin.vertical)}${Zi(W.anchorOrigin.horizontal)}${Zi(W.overlap)}`],"default"!==W.color&&H[`color${Zi(W.color)}`],W.invisible&&H.invisible]}})(({theme:B})=>{var H;return{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:B.typography.fontFamily,fontWeight:B.typography.fontWeightMedium,fontSize:B.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:B.transitions.create("transform",{easing:B.transitions.easing.easeInOut,duration:B.transitions.duration.enteringScreen}),variants:[...Object.keys((null!=(H=B.vars)?H:B).palette).filter(H=>{var W,K;return(null!=(W=B.vars)?W:B).palette[H].main&&(null!=(K=B.vars)?K:B).palette[H].contrastText}).map(H=>({props:{color:H},style:{backgroundColor:(B.vars||B).palette[H].main,color:(B.vars||B).palette[H].contrastText}})),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:B})=>"top"===B.anchorOrigin.vertical&&"right"===B.anchorOrigin.horizontal&&"rectangular"===B.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${uU.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:B})=>"bottom"===B.anchorOrigin.vertical&&"right"===B.anchorOrigin.horizontal&&"rectangular"===B.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${uU.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:B})=>"top"===B.anchorOrigin.vertical&&"left"===B.anchorOrigin.horizontal&&"rectangular"===B.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${uU.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:B})=>"bottom"===B.anchorOrigin.vertical&&"left"===B.anchorOrigin.horizontal&&"rectangular"===B.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${uU.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:B})=>"top"===B.anchorOrigin.vertical&&"right"===B.anchorOrigin.horizontal&&"circular"===B.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${uU.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:B})=>"bottom"===B.anchorOrigin.vertical&&"right"===B.anchorOrigin.horizontal&&"circular"===B.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${uU.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:B})=>"top"===B.anchorOrigin.vertical&&"left"===B.anchorOrigin.horizontal&&"circular"===B.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${uU.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:B})=>"bottom"===B.anchorOrigin.vertical&&"left"===B.anchorOrigin.horizontal&&"circular"===B.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${uU.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:B.transitions.create("transform",{easing:B.transitions.easing.easeInOut,duration:B.transitions.duration.leavingScreen})}}]}}),mU=ce.forwardRef(function(B,H){var W,Y,ie,ce,ue,de;const pe=pU({props:B,name:"MuiBadge"}),{anchorOrigin:fe={vertical:"top",horizontal:"right"},className:ke,component:Je,components:rt={},componentsProps:st={},children:at,overlap:lt="rectangular",color:pt="default",invisible:ht=!1,max:mt=99,badgeContent:vt,slots:yt,slotProps:bt,showZero:wt=!1,variant:xt="standard"}=pe,St=s(pe,dU),{badgeContent:kt,invisible:Et,max:At,displayValue:Pt}=function(B){const{badgeContent:H,invisible:W=!1,max:K=99,showZero:Y=!1}=B,ie=Tf({badgeContent:H,max:K});let ce=W;!1!==W||0!==H||Y||(ce=!0);const{badgeContent:ue,max:de=K}=ce?ie:B;return{badgeContent:ue,invisible:ce,max:de,displayValue:ue&&Number(ue)>de?`${de}+`:ue}}({max:mt,invisible:ht,badgeContent:vt,showZero:wt}),Lt=Tf({anchorOrigin:fe,color:pt,overlap:lt,variant:xt,badgeContent:vt}),jt=Et||null==kt&&"dot"!==xt,{color:Ft=pt,overlap:Nt=lt,anchorOrigin:Dt=fe,variant:$t=xt}=jt?Lt:pe,zt="dot"!==$t?Pt:void 0,Bt=a({},pe,{badgeContent:kt,invisible:jt,max:At,displayValue:zt,showZero:wt,anchorOrigin:Dt,color:Ft,overlap:Nt,variant:$t}),Vt=(B=>{const{color:H,anchorOrigin:W,invisible:K,overlap:Y,variant:ie,classes:ce={}}=B;return U({root:["root"],badge:["badge",ie,K&&"invisible",`anchorOrigin${Zi(W.vertical)}${Zi(W.horizontal)}`,`anchorOrigin${Zi(W.vertical)}${Zi(W.horizontal)}${Zi(Y)}`,`overlap${Zi(Y)}`,"default"!==H&&`color${Zi(H)}`]},_U,ce)})(Bt),Xt=null!=(W=null!=(Y=null==yt?void 0:yt.root)?Y:rt.Root)?W:hU,Jt=null!=(ie=null!=(ce=null==yt?void 0:yt.badge)?ce:rt.Badge)?ie:fU,Qt=null!=(ue=null==bt?void 0:bt.root)?ue:st.root,er=null!=(de=null==bt?void 0:bt.badge)?de:st.badge,tr=Af({elementType:Xt,externalSlotProps:Qt,externalForwardedProps:St,additionalProps:{ref:H,as:Je},ownerState:Bt,className:V(null==Qt?void 0:Qt.className,Vt.root,ke)}),rr=Af({elementType:Jt,externalSlotProps:er,ownerState:Bt,className:V(Vt.badge,null==er?void 0:er.className)});return K.jsxs(Xt,a({},tr,{children:[at,K.jsx(Jt,a({},rr,{children:zt}))]}))}),vU=mU;var bU=Y.forwardRef((B,H)=>Y.createElement(vU,{...B,ref:H}));const MU=({appSettings:B,containerSx:H={},notificationsApiUrl:W,onClick:ie})=>{Bd("assets-whatsnew",{i18n:kf});const[ce,ue]=Y.useState(!1),[de,pe]=Y.useState(!1),u=()=>{ue(!1)};return K.jsxs(K.Fragment,{children:[K.jsx(bU,{color:"primary",overlap:"circular",badgeContent:"",invisible:de,variant:"dot",children:K.jsx(Qc,{onClick:()=>{ie(),ce||de||pe(!0),ue(!ce)},"data-test":"whats-new-button",size:"small",children:K.jsx(Iz,{fontSize:"small"})})}),K.jsx(Jc,{colorScheme:"light",children:K.jsx(Gz,{variant:"temporary",open:ce,disableScrollLock:!0,anchor:"right",onClose:u,sx:H,disableEnforceFocus:!0,children:K.jsx(wU,{appSettings:B,onClose:u,notificationsApiUrl:W})})})]})};var AU=B=>"checkbox"===B.type,PU=B=>B instanceof Date,NU=B=>null==B;const jU=B=>"object"==typeof B;var LU=B=>!NU(B)&&!Array.isArray(B)&&jU(B)&&!PU(B),DU=B=>LU(B)&&B.target?AU(B.target)?B.target.checked:B.target.value:B,FU=(B,H)=>B.has((B=>B.substring(0,B.search(/\.\d+(\.|$)/))||B)(H)),SU="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function BU(B){let H;const W=Array.isArray(B),K="undefined"!=typeof FileList&&B instanceof FileList;if(B instanceof Date)H=new Date(B);else{if(SU&&(B instanceof Blob||K)||!W&&!LU(B))return B;if(H=W?[]:Object.create(Object.getPrototypeOf(B)),W||(B=>{const H=B.constructor&&B.constructor.prototype;return LU(H)&&H.hasOwnProperty("isPrototypeOf")})(B))for(const W in B)B.hasOwnProperty(W)&&(H[W]=BU(B[W]));else H=B}return H}var zU=B=>/^\w*$/.test(B),VU=B=>void 0===B,UU=B=>Array.isArray(B)?B.filter(Boolean):[],qU=B=>UU(B.replace(/["|']|\]/g,"").split(/\.|\[/)),WU=(B,H,W)=>{if(!H||!LU(B))return W;const K=(zU(H)?[H]:qU(H)).reduce((B,H)=>NU(B)?B:B[H],B);return VU(K)||K===B?VU(B[H])?W:B[H]:K},HU=B=>"boolean"==typeof B,GU=(B,H,W)=>{let K=-1;const Y=zU(H)?[H]:qU(H),ie=Y.length,ce=ie-1;for(;++K<ie;){const H=Y[K];let ie=W;if(K!==ce){const W=B[H];ie=LU(W)||Array.isArray(W)?W:isNaN(+Y[K+1])?{}:[]}if("__proto__"===H||"constructor"===H||"prototype"===H)return;B[H]=ie,B=B[H]}};const kU="blur",CU="onChange",OU="onSubmit",EU="all",RU="pattern",IU="required",TU=Y.createContext(null);TU.displayName="HookFormContext";const tq=()=>Y.useContext(TU);var rq=(B,H,W,K=!0)=>{const Y={defaultValues:H._defaultValues};for(const ie in B)Object.defineProperty(Y,ie,{get:()=>{const Y=ie;return H._proxyFormState[Y]!==EU&&(H._proxyFormState[Y]=!K||EU),W&&(W[Y]=!0),B[Y]}});return Y};const $U="undefined"!=typeof window?Y.useLayoutEffect:Y.useEffect;var oq=B=>"string"==typeof B,iq=(B,H,W,K,Y)=>oq(B)?(K&&H.watch.add(B),WU(W,B,Y)):Array.isArray(B)?B.map(B=>(K&&H.watch.add(B),WU(W,B))):(K&&(H.watchAll=!0),W),sq=B=>NU(B)||!jU(B);function aq(B,H,W=new WeakSet){if(sq(B)||sq(H))return B===H;if(PU(B)&&PU(H))return B.getTime()===H.getTime();const K=Object.keys(B),Y=Object.keys(H);if(K.length!==Y.length)return!1;if(W.has(B)||W.has(H))return!0;W.add(B),W.add(H);for(const ie of K){const K=B[ie];if(!Y.includes(ie))return!1;if("ref"!==ie){const B=H[ie];if(PU(K)&&PU(B)||LU(K)&&LU(B)||Array.isArray(K)&&Array.isArray(B)?!aq(K,B,W):K!==B)return!1}}return!0}const lq=B=>B.render(function(B){const H=tq(),{name:W,disabled:K,control:ie=H.control,shouldUnregister:ce,defaultValue:ue}=B,de=FU(ie._names.array,W),pe=Y.useMemo(()=>WU(ie._formValues,W,WU(ie._defaultValues,W,ue)),[ie,W,ue]),fe=function(B){const H=tq(),{control:W=H.control,name:K,defaultValue:ie,disabled:ce,exact:ue,compute:de}=B||{},pe=Y.useRef(ie),fe=Y.useRef(de),ke=Y.useRef(void 0);fe.current=de;const Je=Y.useMemo(()=>W._getWatch(K,pe.current),[W,K]),[rt,st]=Y.useState(fe.current?fe.current(Je):Je);return $U(()=>W._subscribe({name:K,formState:{values:!0},exact:ue,callback:B=>{if(!ce){const H=iq(K,W._names,B.values||W._formValues,!1,pe.current);if(fe.current){const B=fe.current(H);aq(B,ke.current)||(st(B),ke.current=B)}else st(H)}}}),[W,ce,K,ue]),Y.useEffect(()=>W._removeUnmounted()),rt}({control:ie,name:W,defaultValue:pe,exact:!0}),ke=function(B){const H=tq(),{control:W=H.control,disabled:K,name:ie,exact:ce}=B||{},[ue,de]=Y.useState(W._formState),pe=Y.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return $U(()=>W._subscribe({name:ie,formState:pe.current,exact:ce,callback:B=>{!K&&de({...W._formState,...B})}}),[ie,K,ce]),Y.useEffect(()=>{pe.current.isValid&&W._setValid(!0)},[W]),Y.useMemo(()=>rq(ue,W,pe.current,!1),[ue,W])}({control:ie,name:W,exact:!0}),Je=Y.useRef(B),rt=Y.useRef(ie.register(W,{...B.rules,value:fe,...HU(B.disabled)?{disabled:B.disabled}:{}}));Je.current=B;const st=Y.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!WU(ke.errors,W)},isDirty:{enumerable:!0,get:()=>!!WU(ke.dirtyFields,W)},isTouched:{enumerable:!0,get:()=>!!WU(ke.touchedFields,W)},isValidating:{enumerable:!0,get:()=>!!WU(ke.validatingFields,W)},error:{enumerable:!0,get:()=>WU(ke.errors,W)}}),[ke,W]),at=Y.useCallback(B=>rt.current.onChange({target:{value:DU(B),name:W},type:"change"}),[W]),lt=Y.useCallback(()=>rt.current.onBlur({target:{value:WU(ie._formValues,W),name:W},type:kU}),[W,ie._formValues]),pt=Y.useCallback(B=>{const H=WU(ie._fields,W);H&&B&&(H._f.ref={focus:()=>B.focus&&B.focus(),select:()=>B.select&&B.select(),setCustomValidity:H=>B.setCustomValidity(H),reportValidity:()=>B.reportValidity()})},[ie._fields,W]),ht=Y.useMemo(()=>({name:W,value:fe,...HU(K)||ke.disabled?{disabled:ke.disabled||K}:{},onChange:at,onBlur:lt,ref:pt}),[W,K,ke.disabled,at,lt,pt,fe]);return Y.useEffect(()=>{const B=ie._options.shouldUnregister||ce;ie.register(W,{...Je.current.rules,...HU(Je.current.disabled)?{disabled:Je.current.disabled}:{}});const t=(B,H)=>{const W=WU(ie._fields,B);W&&W._f&&(W._f.mount=H)};if(t(W,!0),B){const B=BU(WU(ie._options.defaultValues,W));GU(ie._defaultValues,W,B),VU(WU(ie._formValues,W))&&GU(ie._formValues,W,B)}return!de&&ie.register(W),()=>{(de?B&&!ie._state.action:B)?ie.unregister(W):t(W,!1)}},[W,ie,de,ce]),Y.useEffect(()=>{ie._setDisabledField({disabled:K,name:W})},[K,W,ie]),Y.useMemo(()=>({field:ht,formState:ke,fieldState:st}),[ht,ke,st])}(B));var cq=(B,H,W,K,Y)=>H?{...W[B],types:{...W[B]&&W[B].types?W[B].types:{},[K]:Y||!0}}:{},uq=B=>Array.isArray(B)?B:[B],pq=()=>{let B=[];return{get observers(){return B},next:H=>{for(const W of B)W.next&&W.next(H)},subscribe:H=>(B.push(H),{unsubscribe:()=>{B=B.filter(B=>B!==H)}}),unsubscribe:()=>{B=[]}}},dq=B=>LU(B)&&!Object.keys(B).length,fq=B=>"file"===B.type,hq=B=>"function"==typeof B,mq=B=>{if(!SU)return!1;const H=B?B.ownerDocument:0;return B instanceof(H&&H.defaultView?H.defaultView.HTMLElement:HTMLElement)},gq=B=>"select-multiple"===B.type,vq=B=>"radio"===B.type,yq=B=>mq(B)&&B.isConnected;function bq(B,H){const W=Array.isArray(H)?H:zU(H)?[H]:qU(H),K=1===W.length?B:function(B,H){const W=H.slice(0,-1).length;let K=0;for(;K<W;)B=VU(B)?K++:B[H[K++]];return B}(B,W),Y=W.length-1,ie=W[Y];return K&&delete K[ie],0!==Y&&(LU(K)&&dq(K)||Array.isArray(K)&&function(B){for(const H in B)if(B.hasOwnProperty(H)&&!VU(B[H]))return!1;return!0}(K))&&bq(B,W.slice(0,-1)),B}var wq=B=>{for(const H in B)if(hq(B[H]))return!0;return!1};function xq(B,H={}){const W=Array.isArray(B);if(LU(B)||W)for(const W in B)Array.isArray(B[W])||LU(B[W])&&!wq(B[W])?(H[W]=Array.isArray(B[W])?[]:{},xq(B[W],H[W])):NU(B[W])||(H[W]=!0);return H}function _q(B,H,W){const K=Array.isArray(B);if(LU(B)||K)for(const K in B)Array.isArray(B[K])||LU(B[K])&&!wq(B[K])?VU(H)||sq(W[K])?W[K]=Array.isArray(B[K])?xq(B[K],[]):{...xq(B[K])}:_q(B[K],NU(H)?{}:H[K],W[K]):W[K]=!aq(B[K],H[K]);return W}var Sq=(B,H)=>_q(B,H,xq(H));const XU={value:!1,isValid:!1},ZU={value:!0,isValid:!0};var Oq=B=>{if(Array.isArray(B)){if(B.length>1){const H=B.filter(B=>B&&B.checked&&!B.disabled).map(B=>B.value);return{value:H,isValid:!!H.length}}return B[0].checked&&!B[0].disabled?B[0].attributes&&!VU(B[0].attributes.value)?VU(B[0].value)||""===B[0].value?ZU:{value:B[0].value,isValid:!0}:ZU:XU}return XU},Eq=(B,{valueAsNumber:H,valueAsDate:W,setValueAs:K})=>VU(B)?B:H?""===B?NaN:B?+B:B:W&&oq(B)?new Date(B):K?K(B):B;const KU={isValid:!1,value:null};var Rq=B=>Array.isArray(B)?B.reduce((B,H)=>H&&H.checked&&!H.disabled?{isValid:!0,value:H.value}:B,KU):KU;function Iq(B){const H=B.ref;return fq(H)?H.files:vq(H)?Rq(B.refs).value:gq(H)?[...H.selectedOptions].map(({value:B})=>B):AU(H)?Oq(B.refs).value:Eq(VU(H.value)?B.ref.value:H.value,B)}var Mq=B=>B instanceof RegExp,Aq=B=>VU(B)?B:Mq(B)?B.source:LU(B)?Mq(B.value)?B.value.source:B.value:B,Pq=B=>({isOnSubmit:!B||B===OU,isOnBlur:"onBlur"===B,isOnChange:B===CU,isOnAll:B===EU,isOnTouch:"onTouched"===B});const YU="AsyncFunction";var jq=B=>!!B&&!!B.validate&&!!(hq(B.validate)&&B.validate.constructor.name===YU||LU(B.validate)&&Object.values(B.validate).find(B=>B.constructor.name===YU)),Lq=(B,H,W)=>!W&&(H.watchAll||H.watch.has(B)||[...H.watch].some(H=>B.startsWith(H)&&/^\.\w+/.test(B.slice(H.length))));const Dq=(B,H,W,K)=>{for(const Y of W||Object.keys(B)){const W=WU(B,Y);if(W){const{_f:B,...ie}=W;if(B){if(B.refs&&B.refs[0]&&H(B.refs[0],Y)&&!K)return!0;if(B.ref&&H(B.ref,B.name)&&!K)return!0;if(Dq(ie,H))break}else if(LU(ie)&&Dq(ie,H))break}}};function Fq(B,H,W){const K=WU(B,W);if(K||zU(W))return{error:K,name:W};const Y=W.split(".");for(;Y.length;){const K=Y.join("."),ie=WU(H,K),ce=WU(B,K);if(ie&&!Array.isArray(ie)&&W!==K)return{name:W};if(ce&&ce.type)return{name:K,error:ce};if(ce&&ce.root&&ce.root.type)return{name:`${K}.root`,error:ce.root};Y.pop()}return{name:W}}var $q=(B,H,W)=>{const K=uq(WU(B,W));return GU(K,"root",H[W]),GU(B,W,K),B},Bq=B=>oq(B);function zq(B,H,W="validate"){if(Bq(B)||Array.isArray(B)&&B.every(Bq)||HU(B)&&!B)return{type:W,message:Bq(B)?B:"",ref:H}}var Vq=B=>LU(B)&&!Mq(B)?B:{value:B,message:""},Uq=async(B,H,W,K,Y,ie)=>{const{ref:ce,refs:ue,required:de,maxLength:pe,minLength:fe,min:ke,max:Je,pattern:rt,validate:st,name:at,valueAsNumber:lt,mount:pt}=B._f,ht=WU(W,at);if(!pt||H.has(at))return{};const mt=ue?ue[0]:ce,w=B=>{Y&&mt.reportValidity&&(mt.setCustomValidity(HU(B)?"":B||""),mt.reportValidity())},vt={},yt=vq(ce),bt=AU(ce),wt=yt||bt,xt=(lt||fq(ce))&&VU(ce.value)&&VU(ht)||mq(ce)&&""===ce.value||""===ht||Array.isArray(ht)&&!ht.length,St=cq.bind(null,at,K,vt),E=(B,H,W,K="maxLength",Y="minLength")=>{const ie=B?H:W;vt[at]={type:B?K:Y,message:ie,ref:ce,...St(B?K:Y,ie)}};if(ie?!Array.isArray(ht)||!ht.length:de&&(!wt&&(xt||NU(ht))||HU(ht)&&!ht||bt&&!Oq(ue).isValid||yt&&!Rq(ue).isValid)){const{value:B,message:H}=Bq(de)?{value:!!de,message:de}:Vq(de);if(B&&(vt[at]={type:IU,message:H,ref:mt,...St(IU,H)},!K))return w(H),vt}if(!(xt||NU(ke)&&NU(Je))){let B,H;const W=Vq(Je),Y=Vq(ke);if(NU(ht)||isNaN(ht)){const K=ce.valueAsDate||new Date(ht),i=B=>new Date((new Date).toDateString()+" "+B),ie="time"==ce.type,ue="week"==ce.type;oq(W.value)&&ht&&(B=ie?i(ht)>i(W.value):ue?ht>W.value:K>new Date(W.value)),oq(Y.value)&&ht&&(H=ie?i(ht)<i(Y.value):ue?ht<Y.value:K<new Date(Y.value))}else{const K=ce.valueAsNumber||(ht?+ht:ht);NU(W.value)||(B=K>W.value),NU(Y.value)||(H=K<Y.value)}if((B||H)&&(E(!!B,W.message,Y.message,"max","min"),!K))return w(vt[at].message),vt}if((pe||fe)&&!xt&&(oq(ht)||ie&&Array.isArray(ht))){const B=Vq(pe),H=Vq(fe),W=!NU(B.value)&&ht.length>+B.value,Y=!NU(H.value)&&ht.length<+H.value;if((W||Y)&&(E(W,B.message,H.message),!K))return w(vt[at].message),vt}if(rt&&!xt&&oq(ht)){const{value:B,message:H}=Vq(rt);if(Mq(B)&&!ht.match(B)&&(vt[at]={type:RU,message:H,ref:ce,...St(RU,H)},!K))return w(H),vt}if(st)if(hq(st)){const B=zq(await st(ht,W),mt);if(B&&(vt[at]={...B,...St("validate",B.message)},!K))return w(B.message),vt}else if(LU(st)){let B={};for(const H in st){if(!dq(B)&&!K)break;const Y=zq(await st[H](ht,W),mt,H);Y&&(B={...Y,...St(H,Y.message)},w(Y.message),K&&(vt[at]=B))}if(!dq(B)&&(vt[at]={ref:mt,...B},!K))return vt}return w(!0),vt};const JU={mode:OU,reValidateMode:CU,shouldFocusError:!0};function Hq(B){return Mo("MuiDialog",B)}const QU=ta("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),eH=ce.createContext({}),oH=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],iH=Ti(fh,{name:"MuiDialog",slot:"Backdrop",overrides:(B,H)=>H.backdrop})({zIndex:-1}),sH=Ti(wh,{name:"MuiDialog",slot:"Root",overridesResolver:(B,H)=>H.root})({"@media print":{position:"absolute !important"}}),aH=Ti("div",{name:"MuiDialog",slot:"Container",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.container,H[`scroll${Zi(W.scroll)}`]]}})(({ownerState:B})=>a({height:"100%","@media print":{height:"auto"},outline:0},"paper"===B.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===B.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),lH=Ti(Ls,{name:"MuiDialog",slot:"Paper",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.paper,H[`scrollPaper${Zi(W.scroll)}`],H[`paperWidth${Zi(String(W.maxWidth))}`],W.fullWidth&&H.paperFullWidth,W.fullScreen&&H.paperFullScreen]}})(({theme:B,ownerState:H})=>a({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===H.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===H.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!H.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===H.maxWidth&&{maxWidth:"px"===B.breakpoints.unit?Math.max(B.breakpoints.values.xs,444):`max(${B.breakpoints.values.xs}${B.breakpoints.unit}, 444px)`,[`&.${QU.paperScrollBody}`]:{[B.breakpoints.down(Math.max(B.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},H.maxWidth&&"xs"!==H.maxWidth&&{maxWidth:`${B.breakpoints.values[H.maxWidth]}${B.breakpoints.unit}`,[`&.${QU.paperScrollBody}`]:{[B.breakpoints.down(B.breakpoints.values[H.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},H.fullWidth&&{width:"calc(100% - 64px)"},H.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${QU.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),cH=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiDialog"}),Y=ea(),ie={enter:Y.transitions.duration.enteringScreen,exit:Y.transitions.duration.leavingScreen},{"aria-describedby":ue,"aria-labelledby":de,BackdropComponent:pe,BackdropProps:fe,children:ke,className:Je,disableEscapeKeyDown:rt=!1,fullScreen:st=!1,fullWidth:at=!1,maxWidth:lt="sm",onBackdropClick:pt,onClick:ht,onClose:mt,open:vt,PaperComponent:yt=Ls,PaperProps:bt={},scroll:wt="paper",TransitionComponent:xt=ch,transitionDuration:St=ie,TransitionProps:kt}=W,Et=s(W,oH),At=a({},W,{disableEscapeKeyDown:rt,fullScreen:st,fullWidth:at,maxWidth:lt,scroll:wt}),Pt=(B=>{const{classes:H,scroll:W,maxWidth:K,fullWidth:Y,fullScreen:ie}=B;return U({root:["root"],container:["container",`scroll${Zi(W)}`],paper:["paper",`paperScroll${Zi(W)}`,`paperWidth${Zi(String(K))}`,Y&&"paperFullWidth",ie&&"paperFullScreen"]},Hq,H)})(At),Lt=ce.useRef(),jt=Cf(de),Ft=ce.useMemo(()=>({titleId:jt}),[jt]);return K.jsx(sH,a({className:V(Pt.root,Je),closeAfterTransition:!0,components:{Backdrop:iH},componentsProps:{backdrop:a({transitionDuration:St,as:pe},fe)},disableEscapeKeyDown:rt,onClose:mt,open:vt,ref:H,onClick:B=>{ht&&ht(B),Lt.current&&(Lt.current=null,pt&&pt(B),mt&&mt(B,"backdropClick"))},ownerState:At},Et,{children:K.jsx(xt,a({appear:!0,in:vt,timeout:St,role:"presentation"},kt,{children:K.jsx(aH,{className:V(Pt.container),onMouseDown:B=>{Lt.current=B.target===B.currentTarget},ownerState:At,children:K.jsx(lH,a({as:yt,elevation:24,role:"dialog","aria-describedby":ue,"aria-labelledby":jt},bt,{className:V(Pt.paper,bt.className),ownerState:At,children:K.jsx(eH.Provider,{value:Ft,children:ke})}))})}))}))}),uH=cH;var dH=Y.forwardRef((B,H)=>Y.createElement(uH,{...B,ref:H}));function oW(B){return Mo("MuiDialogContent",B)}function iW(B){return Mo("MuiDialogTitle",B)}ta("MuiDialogContent",["root","dividers"]);const pH=ta("MuiDialogTitle",["root"]),hH=["className","dividers"],fH=Ti("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,W.dividers&&H.dividers]}})(({theme:B,ownerState:H})=>a({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},H.dividers?{padding:"16px 24px",borderTop:`1px solid ${(B.vars||B).palette.divider}`,borderBottom:`1px solid ${(B.vars||B).palette.divider}`}:{[`.${pH.root} + &`]:{paddingTop:0}})),mH=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiDialogContent"}),{className:Y,dividers:ie=!1}=W,ce=s(W,hH),ue=a({},W,{dividers:ie}),de=(B=>{const{classes:H,dividers:W}=B;return U({root:["root",W&&"dividers"]},oW,H)})(ue);return K.jsx(fH,a({className:V(de.root,Y),ownerState:ue,ref:H},ce))}),gH=mH;var _H=Y.forwardRef((B,H)=>Y.createElement(gH,{...B,ref:H}));function dW(B){return Mo("MuiDialogActions",B)}ta("MuiDialogActions",["root","spacing"]);const kH=["className","disableSpacing"],CH=Ti("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,!W.disableSpacing&&H.spacing]}})(({ownerState:B})=>a({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!B.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),OH=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiDialogActions"}),{className:Y,disableSpacing:ie=!1}=W,ce=s(W,kH),ue=a({},W,{disableSpacing:ie}),de=(B=>{const{classes:H,disableSpacing:W}=B;return U({root:["root",!W&&"spacing"]},dW,H)})(ue);return K.jsx(CH,a({className:V(de.root,Y),ownerState:ue,ref:H},ce))}),HH=OH;var VH=Y.forwardRef((B,H)=>Y.createElement(HH,{...B,ref:H}));const qH=["className","id"],GH=Ti(ga,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(B,H)=>H.root})({padding:"16px 24px",flex:"0 0 auto"}),ZH=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiDialogTitle"}),{className:Y,id:ie}=W,ue=s(W,qH),de=W,pe=(B=>{const{classes:H}=B;return U({root:["root"]},iW,H)})(de),{titleId:fe=ie}=ce.useContext(eH);return K.jsx(GH,a({component:"h2",className:V(pe.root,Y),ownerState:de,ref:H,variant:"h6",id:null!=ie?ie:fe},ue))}),KH=ZH,eV={variant:"subtitle1"},tV=Y.forwardRef((B,H)=>Y.createElement(KH,{...eV,...B,ref:H}));tV.defaultProps=eV;var rV=tV;function CW(B){return null!=B&&!(Array.isArray(B)&&0===B.length)}function OW(B,H=!1){return B&&(CW(B.value)&&""!==B.value||H&&CW(B.defaultValue)&&""!==B.defaultValue)}const nV=ce.createContext(void 0);function RW(B){return Mo("MuiFormControl",B)}ta("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const oV=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],iV=Ti("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:B},H)=>a({},H.root,H[`margin${Zi(B.margin)}`],B.fullWidth&&H.fullWidth)})(({ownerState:B})=>a({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===B.margin&&{marginTop:16,marginBottom:8},"dense"===B.margin&&{marginTop:8,marginBottom:4},B.fullWidth&&{width:"100%"})),sV=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiFormControl"}),{children:Y,className:ie,color:ue="primary",component:de="div",disabled:pe=!1,error:fe=!1,focused:ke,fullWidth:Je=!1,hiddenLabel:rt=!1,margin:st="none",required:at=!1,size:lt="medium",variant:pt="outlined"}=W,ht=s(W,oV),mt=a({},W,{color:ue,component:de,disabled:pe,error:fe,fullWidth:Je,hiddenLabel:rt,margin:st,required:at,size:lt,variant:pt}),vt=(B=>{const{classes:H,margin:W,fullWidth:K}=B;return U({root:["root","none"!==W&&`margin${Zi(W)}`,K&&"fullWidth"]},RW,H)})(mt),[yt,bt]=ce.useState(()=>{let B=!1;return Y&&ce.Children.forEach(Y,H=>{if(!wf(H,["Input","Select"]))return;const W=wf(H,["Select"])?H.props.input:H;W&&W.props.startAdornment&&(B=!0)}),B}),[wt,xt]=ce.useState(()=>{let B=!1;return Y&&ce.Children.forEach(Y,H=>{wf(H,["Input","Select"])&&(OW(H.props,!0)||OW(H.props.inputProps,!0))&&(B=!0)}),B}),[St,kt]=ce.useState(!1);pe&&St&&kt(!1);const Et=void 0===ke||pe?St:ke;let At;const Pt=ce.useMemo(()=>({adornedStart:yt,setAdornedStart:bt,color:ue,disabled:pe,error:fe,filled:wt,focused:Et,fullWidth:Je,hiddenLabel:rt,size:lt,onBlur:()=>{kt(!1)},onEmpty:()=>{xt(!1)},onFilled:()=>{xt(!0)},onFocus:()=>{kt(!0)},registerEffect:At,required:at,variant:pt}),[yt,ue,pe,fe,wt,Et,Je,rt,At,at,lt,pt]);return K.jsx(nV.Provider,{value:Pt,children:K.jsx(iV,a({as:de,ownerState:mt,className:V(vt.root,ie),ref:H},ht,{children:Y}))})}),aV=sV;function NW(){return ce.useContext(nV)}var lV=Y.forwardRef((B,H)=>Y.createElement(aV,{...B,ref:H}));const cV=Y.forwardRef((B,H)=>Y.createElement(ou,{viewBox:"0 0 24 24",...B,ref:H},Y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5303 5.46967C18.8232 5.76256 18.8232 6.23744 18.5303 6.53033L6.53033 18.5303C6.23744 18.8232 5.76256 18.8232 5.46967 18.5303C5.17678 18.2374 5.17678 17.7626 5.46967 17.4697L17.4697 5.46967C17.7626 5.17678 18.2374 5.17678 18.5303 5.46967Z"}),Y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.46967 5.46967C5.76256 5.17678 6.23744 5.17678 6.53033 5.46967L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L5.46967 6.53033C5.17678 6.23744 5.17678 5.76256 5.46967 5.46967Z"}))),{slots:dV,classNames:pV}=tc("CloseButton",["root","icon"]),hV=sc(Qc,dV.root)({}),fV=sc(cV,dV.icon)({}),mV={"aria-label":"close",color:"default"},gV=Y.forwardRef((B,H)=>{const W=Yi({props:{...mV,...B},name:dV.root.name}),{slotProps:K={},...ie}=W;return Y.createElement(hV,{...ie,size:"small",ref:H,className:V([[pV.root,ie.className]]),ownerState:W},Y.createElement(fV,{...K.icon,className:V([pV.icon,K.icon?.className]),ownerState:W}))});gV.defaultProps=mV;var vV=gV;const bV=sc(B=>Y.createElement(ou,{viewBox:"0 0 32 32",...B},Y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.69648 24.8891C0.938383 22.2579 0 19.1645 0 16C0 11.7566 1.68571 7.68687 4.68629 4.68629C7.68687 1.68571 11.7566 0 16 0C19.1645 0 22.2579 0.938383 24.8891 2.69648C27.5203 4.45459 29.5711 6.95344 30.7821 9.87706C31.9931 12.8007 32.3099 16.0177 31.6926 19.1214C31.0752 22.2251 29.5514 25.0761 27.3137 27.3137C25.0761 29.5514 22.2251 31.0752 19.1214 31.6926C16.0177 32.3099 12.8007 31.9931 9.87706 30.7821C6.95344 29.5711 4.45459 27.5203 2.69648 24.8891ZM12.0006 9.33281H9.33437V22.6665H12.0006V9.33281ZM22.6657 9.33281H14.6669V11.9991H22.6657V9.33281ZM22.6657 14.6654H14.6669V17.3316H22.6657V14.6654ZM22.6657 20.0003H14.6669V22.6665H22.6657V20.0003Z"})))(({theme:B})=>({width:B.spacing(3),height:B.spacing(3),"& path":{fill:B.palette.text.primary},marginRight:B.spacing(1)})),wV=sc("span")(({theme:B})=>({marginRight:B.spacing(1)})),HW=({logo:B,...H})=>!1===B?null:B?Y.createElement(wV,null,B):Y.createElement(bV,{...H}),{slots:xV,classNames:kV}=tc("DialogHeader",["root","logo","toolbar"]),CV=sc(Zs,xV.root)({"& .MuiDialogTitle-root":{padding:0}}),OV=sc(ua,xV.toolbar)({}),EV={color:"transparent",position:"relative"},TV=Y.forwardRef((B,H)=>{const W=Yi({props:{...EV,...B},name:xV.root.name}),{slotProps:K={},logo:ie,onClose:ce,...ue}=W;return Y.createElement(CV,{...ue,ref:H,className:V([[kV.root,ue.className]]),ownerState:W},Y.createElement(OV,{variant:"dense",...K.toolbar,className:V([kV.toolbar,K.toolbar?.className]),ownerState:W},Y.createElement(HW,{logo:ie,className:V([kV.logo,K.logo?.className])}),Y.createElement(na,{direction:"row",alignItems:"center",flex:1},W.children),ce&&Y.createElement(vV,{edge:"end",onClick:ce,sx:{"&.MuiButtonBase-root":{ml:.5}}})))});TV.defaultProps=EV;var PV=TV;const LV="base";function tH(B,H){const W=ni[H];return W?`${LV}--${W}`:function(B,H){return`${LV}-${B}-${H}`}(B,H)}function rH(B){return B.substring(2).toLowerCase()}function nH(B){const{children:H,disableReactTree:W=!1,mouseEvent:Y="onClick",onClickAway:ie,touchEvent:ue="onTouchEnd"}=B,de=ce.useRef(!1),pe=ce.useRef(null),fe=ce.useRef(!1),ke=ce.useRef(!1);ce.useEffect(()=>(setTimeout(()=>{fe.current=!0},0),()=>{fe.current=!1}),[]);const Je=Fa(H.ref,pe),rt=Ba(B=>{const H=ke.current;ke.current=!1;const K=xf(pe.current);if(!fe.current||!pe.current||"clientX"in B&&function(B,H){return H.documentElement.clientWidth<B.clientX||H.documentElement.clientHeight<B.clientY}(B,K))return;if(de.current)return void(de.current=!1);let Y;Y=B.composedPath?B.composedPath().indexOf(pe.current)>-1:!K.documentElement.contains(B.target)||pe.current.contains(B.target),Y||!W&&H||ie(B)}),h=B=>W=>{ke.current=!0;const K=H.props[B];K&&K(W)},st={ref:Je};return!1!==ue&&(st[ue]=h(ue)),ce.useEffect(()=>{if(!1!==ue){const B=rH(ue),H=xf(pe.current),r=()=>{de.current=!0};return H.addEventListener(B,rt),H.addEventListener("touchmove",r),()=>{H.removeEventListener(B,rt),H.removeEventListener("touchmove",r)}}},[rt,ue]),!1!==Y&&(st[Y]=h(Y)),ce.useEffect(()=>{if(!1!==Y){const B=rH(Y),H=xf(pe.current);return H.addEventListener(B,rt),()=>{H.removeEventListener(B,rt)}}},[rt,Y]),K.jsx(ce.Fragment,{children:ce.cloneElement(H,st)})}var jV="top",NV="bottom",DV="right",zV="left",BV="auto",UV=[jV,NV,DV,zV],VV="start",qV="end",GV="viewport",XV="popper",ZV=UV.reduce(function(B,H){return B.concat([H+"-"+VV,H+"-"+qV])},[]),KV=[].concat(UV,[BV]).reduce(function(B,H){return B.concat([H,H+"-"+VV,H+"-"+qV])},[]),YV=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function vH(B){return B?(B.nodeName||"").toLowerCase():null}function yH(B){if(null==B)return window;if("[object Window]"!==B.toString()){var H=B.ownerDocument;return H&&H.defaultView||window}return B}function bH(B){return B instanceof yH(B).Element||B instanceof Element}function wH(B){return B instanceof yH(B).HTMLElement||B instanceof HTMLElement}function xH(B){return"undefined"!=typeof ShadowRoot&&(B instanceof yH(B).ShadowRoot||B instanceof ShadowRoot)}const JV={name:"applyStyles",enabled:!0,phase:"write",fn:function(B){var H=B.state;Object.keys(H.elements).forEach(function(B){var W=H.styles[B]||{},K=H.attributes[B]||{},Y=H.elements[B];wH(Y)&&vH(Y)&&(Object.assign(Y.style,W),Object.keys(K).forEach(function(B){var H=K[B];!1===H?Y.removeAttribute(B):Y.setAttribute(B,!0===H?"":H)}))})},effect:function(B){var H=B.state,W={popper:{position:H.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(H.elements.popper.style,W.popper),H.styles=W,H.elements.arrow&&Object.assign(H.elements.arrow.style,W.arrow),function(){Object.keys(H.elements).forEach(function(B){var K=H.elements[B],Y=H.attributes[B]||{},ie=Object.keys(H.styles.hasOwnProperty(B)?H.styles[B]:W[B]).reduce(function(B,H){return B[H]="",B},{});wH(K)&&vH(K)&&(Object.assign(K.style,ie),Object.keys(Y).forEach(function(B){K.removeAttribute(B)}))})}},requires:["computeStyles"]};function SH(B){return B.split("-")[0]}var eq=Math.max,nq=Math.min,kq=Math.round;function EH(){var B=navigator.userAgentData;return null!=B&&B.brands&&Array.isArray(B.brands)?B.brands.map(function(B){return B.brand+"/"+B.version}).join(" "):navigator.userAgent}function TH(){return!/^((?!chrome|android).)*safari/i.test(EH())}function RH(B,H,W){void 0===H&&(H=!1),void 0===W&&(W=!1);var K=B.getBoundingClientRect(),Y=1,ie=1;H&&wH(B)&&(Y=B.offsetWidth>0&&kq(K.width)/B.offsetWidth||1,ie=B.offsetHeight>0&&kq(K.height)/B.offsetHeight||1);var ce=(bH(B)?yH(B):window).visualViewport,ue=!TH()&&W,de=(K.left+(ue&&ce?ce.offsetLeft:0))/Y,pe=(K.top+(ue&&ce?ce.offsetTop:0))/ie,fe=K.width/Y,ke=K.height/ie;return{width:fe,height:ke,top:pe,right:de+fe,bottom:pe+ke,left:de,x:de,y:pe}}function IH(B){var H=RH(B),W=B.offsetWidth,K=B.offsetHeight;return Math.abs(H.width-W)<=1&&(W=H.width),Math.abs(H.height-K)<=1&&(K=H.height),{x:B.offsetLeft,y:B.offsetTop,width:W,height:K}}function MH(B,H){var W=H.getRootNode&&H.getRootNode();if(B.contains(H))return!0;if(W&&xH(W)){var K=H;do{if(K&&B.isSameNode(K))return!0;K=K.parentNode||K.host}while(K)}return!1}function AH(B){return yH(B).getComputedStyle(B)}function PH(B){return["table","td","th"].indexOf(vH(B))>=0}function NH(B){return((bH(B)?B.ownerDocument:B.document)||window.document).documentElement}function jH(B){return"html"===vH(B)?B:B.assignedSlot||B.parentNode||(xH(B)?B.host:null)||NH(B)}function LH(B){return wH(B)&&"fixed"!==AH(B).position?B.offsetParent:null}function DH(B){for(var H=yH(B),W=LH(B);W&&PH(W)&&"static"===AH(W).position;)W=LH(W);return W&&("html"===vH(W)||"body"===vH(W)&&"static"===AH(W).position)?H:W||function(B){var H=/firefox/i.test(EH());if(/Trident/i.test(EH())&&wH(B)&&"fixed"===AH(B).position)return null;var W=jH(B);for(xH(W)&&(W=W.host);wH(W)&&["html","body"].indexOf(vH(W))<0;){var K=AH(W);if("none"!==K.transform||"none"!==K.perspective||"paint"===K.contain||-1!==["transform","perspective"].indexOf(K.willChange)||H&&"filter"===K.willChange||H&&K.filter&&"none"!==K.filter)return W;W=W.parentNode}return null}(B)||H}function FH(B){return["top","bottom"].indexOf(B)>=0?"x":"y"}function $H(B,H,W){return eq(B,nq(H,W))}function BH(B){return Object.assign({},{top:0,right:0,bottom:0,left:0},B)}function zH(B,H){return H.reduce(function(H,W){return H[W]=B,H},{})}const Cq={name:"arrow",enabled:!0,phase:"main",fn:function(B){var H,W=B.state,K=B.name,Y=B.options,ie=W.elements.arrow,ce=W.modifiersData.popperOffsets,ue=SH(W.placement),de=FH(ue),pe=[zV,DV].indexOf(ue)>=0?"height":"width";if(ie&&ce){var fe=function(B,H){return BH("number"!=typeof(B="function"==typeof B?B(Object.assign({},H.rects,{placement:H.placement})):B)?B:zH(B,UV))}(Y.padding,W),ke=IH(ie),Je="y"===de?jV:zV,rt="y"===de?NV:DV,st=W.rects.reference[pe]+W.rects.reference[de]-ce[de]-W.rects.popper[pe],at=ce[de]-W.rects.reference[de],lt=DH(ie),pt=lt?"y"===de?lt.clientHeight||0:lt.clientWidth||0:0,ht=st/2-at/2,mt=fe[Je],vt=pt-ke[pe]-fe[rt],yt=pt/2-ke[pe]/2+ht,bt=$H(mt,yt,vt),wt=de;W.modifiersData[K]=((H={})[wt]=bt,H.centerOffset=bt-yt,H)}},effect:function(B){var H=B.state,W=B.options.element,K=void 0===W?"[data-popper-arrow]":W;null!=K&&("string"!=typeof K||(K=H.elements.popper.querySelector(K)))&&MH(H.elements.popper,K)&&(H.elements.arrow=K)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function UH(B){return B.split("-")[1]}var Tq={top:"auto",right:"auto",bottom:"auto",left:"auto"};function WH(B){var H,W=B.popper,K=B.popperRect,Y=B.placement,ie=B.variation,ce=B.offsets,ue=B.position,de=B.gpuAcceleration,pe=B.adaptive,fe=B.roundOffsets,ke=B.isFixed,Je=ce.x,rt=void 0===Je?0:Je,st=ce.y,at=void 0===st?0:st,lt="function"==typeof fe?fe({x:rt,y:at}):{x:rt,y:at};rt=lt.x,at=lt.y;var pt=ce.hasOwnProperty("x"),ht=ce.hasOwnProperty("y"),mt=zV,vt=jV,yt=window;if(pe){var bt=DH(W),wt="clientHeight",xt="clientWidth";bt===yH(W)&&"static"!==AH(bt=NH(W)).position&&"absolute"===ue&&(wt="scrollHeight",xt="scrollWidth"),(Y===jV||(Y===zV||Y===DV)&&ie===qV)&&(vt=NV,at-=(ke&&bt===yt&&yt.visualViewport?yt.visualViewport.height:bt[wt])-K.height,at*=de?1:-1),Y!==zV&&(Y!==jV&&Y!==NV||ie!==qV)||(mt=DV,rt-=(ke&&bt===yt&&yt.visualViewport?yt.visualViewport.width:bt[xt])-K.width,rt*=de?1:-1)}var St,kt=Object.assign({position:ue},pe&&Tq),Et=!0===fe?function(B,H){var W=B.x,K=B.y,Y=H.devicePixelRatio||1;return{x:kq(W*Y)/Y||0,y:kq(K*Y)/Y||0}}({x:rt,y:at},yH(W)):{x:rt,y:at};return rt=Et.x,at=Et.y,de?Object.assign({},kt,((St={})[vt]=ht?"0":"",St[mt]=pt?"0":"",St.transform=(yt.devicePixelRatio||1)<=1?"translate("+rt+"px, "+at+"px)":"translate3d("+rt+"px, "+at+"px, 0)",St)):Object.assign({},kt,((H={})[vt]=ht?at+"px":"",H[mt]=pt?rt+"px":"",H.transform="",H))}var Nq={passive:!0};const qq={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(B){var H=B.state,W=B.instance,K=B.options,Y=K.scroll,ie=void 0===Y||Y,ce=K.resize,ue=void 0===ce||ce,de=yH(H.elements.popper),pe=[].concat(H.scrollParents.reference,H.scrollParents.popper);return ie&&pe.forEach(function(B){B.addEventListener("scroll",W.update,Nq)}),ue&&de.addEventListener("resize",W.update,Nq),function(){ie&&pe.forEach(function(B){B.removeEventListener("scroll",W.update,Nq)}),ue&&de.removeEventListener("resize",W.update,Nq)}},data:{}};var Gq={left:"right",right:"left",bottom:"top",top:"bottom"};function YH(B){return B.replace(/left|right|bottom|top/g,function(B){return Gq[B]})}var Xq={start:"end",end:"start"};function XH(B){return B.replace(/start|end/g,function(B){return Xq[B]})}function JH(B){var H=yH(B);return{scrollLeft:H.pageXOffset,scrollTop:H.pageYOffset}}function QH(B){return RH(NH(B)).left+JH(B).scrollLeft}function eG(B){var H=AH(B),W=H.overflow,K=H.overflowX,Y=H.overflowY;return/auto|scroll|overlay|hidden/.test(W+Y+K)}function tG(B){return["html","body","#document"].indexOf(vH(B))>=0?B.ownerDocument.body:wH(B)&&eG(B)?B:tG(jH(B))}function rG(B,H){var W;void 0===H&&(H=[]);var K=tG(B),Y=K===(null==(W=B.ownerDocument)?void 0:W.body),ie=yH(K),ce=Y?[ie].concat(ie.visualViewport||[],eG(K)?K:[]):K,ue=H.concat(ce);return Y?ue:ue.concat(rG(jH(ce)))}function nG(B){return Object.assign({},B,{left:B.x,top:B.y,right:B.x+B.width,bottom:B.y+B.height})}function oG(B,H,W){return H===GV?nG(function(B,H){var W=yH(B),K=NH(B),Y=W.visualViewport,ie=K.clientWidth,ce=K.clientHeight,ue=0,de=0;if(Y){ie=Y.width,ce=Y.height;var pe=TH();(pe||!pe&&"fixed"===H)&&(ue=Y.offsetLeft,de=Y.offsetTop)}return{width:ie,height:ce,x:ue+QH(B),y:de}}(B,W)):bH(H)?function(B,H){var W=RH(B,!1,"fixed"===H);return W.top=W.top+B.clientTop,W.left=W.left+B.clientLeft,W.bottom=W.top+B.clientHeight,W.right=W.left+B.clientWidth,W.width=B.clientWidth,W.height=B.clientHeight,W.x=W.left,W.y=W.top,W}(H,W):nG(function(B){var H,W=NH(B),K=JH(B),Y=null==(H=B.ownerDocument)?void 0:H.body,ie=eq(W.scrollWidth,W.clientWidth,Y?Y.scrollWidth:0,Y?Y.clientWidth:0),ce=eq(W.scrollHeight,W.clientHeight,Y?Y.scrollHeight:0,Y?Y.clientHeight:0),ue=-K.scrollLeft+QH(B),de=-K.scrollTop;return"rtl"===AH(Y||W).direction&&(ue+=eq(W.clientWidth,Y?Y.clientWidth:0)-ie),{width:ie,height:ce,x:ue,y:de}}(NH(B)))}function iG(B){var H,W=B.reference,K=B.element,Y=B.placement,ie=Y?SH(Y):null,ce=Y?UH(Y):null,ue=W.x+W.width/2-K.width/2,de=W.y+W.height/2-K.height/2;switch(ie){case jV:H={x:ue,y:W.y-K.height};break;case NV:H={x:ue,y:W.y+W.height};break;case DV:H={x:W.x+W.width,y:de};break;case zV:H={x:W.x-K.width,y:de};break;default:H={x:W.x,y:W.y}}var pe=ie?FH(ie):null;if(null!=pe){var fe="y"===pe?"height":"width";switch(ce){case VV:H[pe]=H[pe]-(W[fe]/2-K[fe]/2);break;case qV:H[pe]=H[pe]+(W[fe]/2-K[fe]/2)}}return H}function sG(B,H){void 0===H&&(H={});var W=H,K=W.placement,Y=void 0===K?B.placement:K,ie=W.strategy,ce=void 0===ie?B.strategy:ie,ue=W.boundary,de=void 0===ue?"clippingParents":ue,pe=W.rootBoundary,fe=void 0===pe?GV:pe,ke=W.elementContext,Je=void 0===ke?XV:ke,rt=W.altBoundary,st=void 0!==rt&&rt,at=W.padding,lt=void 0===at?0:at,pt=BH("number"!=typeof lt?lt:zH(lt,UV)),ht=Je===XV?"reference":XV,mt=B.rects.popper,vt=B.elements[st?ht:Je],yt=function(B,H,W,K){var Y="clippingParents"===H?function(B){var H=rG(jH(B)),W=["absolute","fixed"].indexOf(AH(B).position)>=0&&wH(B)?DH(B):B;return bH(W)?H.filter(function(B){return bH(B)&&MH(B,W)&&"body"!==vH(B)}):[]}(B):[].concat(H),ie=[].concat(Y,[W]),ce=ie[0],ue=ie.reduce(function(H,W){var Y=oG(B,W,K);return H.top=eq(Y.top,H.top),H.right=nq(Y.right,H.right),H.bottom=nq(Y.bottom,H.bottom),H.left=eq(Y.left,H.left),H},oG(B,ce,K));return ue.width=ue.right-ue.left,ue.height=ue.bottom-ue.top,ue.x=ue.left,ue.y=ue.top,ue}(bH(vt)?vt:vt.contextElement||NH(B.elements.popper),de,fe,ce),bt=RH(B.elements.reference),wt=iG({reference:bt,element:mt,strategy:"absolute",placement:Y}),xt=nG(Object.assign({},mt,wt)),St=Je===XV?xt:bt,kt={top:yt.top-St.top+pt.top,bottom:St.bottom-yt.bottom+pt.bottom,left:yt.left-St.left+pt.left,right:St.right-yt.right+pt.right},Et=B.modifiersData.offset;if(Je===XV&&Et){var At=Et[Y];Object.keys(kt).forEach(function(B){var H=[DV,NV].indexOf(B)>=0?1:-1,W=[jV,NV].indexOf(B)>=0?"y":"x";kt[B]+=At[W]*H})}return kt}const Zq={name:"flip",enabled:!0,phase:"main",fn:function(B){var H=B.state,W=B.options,K=B.name;if(!H.modifiersData[K]._skip){for(var Y=W.mainAxis,ie=void 0===Y||Y,ce=W.altAxis,ue=void 0===ce||ce,de=W.fallbackPlacements,pe=W.padding,fe=W.boundary,ke=W.rootBoundary,Je=W.altBoundary,rt=W.flipVariations,st=void 0===rt||rt,at=W.allowedAutoPlacements,lt=H.options.placement,pt=SH(lt),ht=de||(pt!==lt&&st?function(B){if(SH(B)===BV)return[];var H=YH(B);return[XH(B),H,XH(H)]}(lt):[YH(lt)]),mt=[lt].concat(ht).reduce(function(B,W){return B.concat(SH(W)===BV?function aG(B,H){void 0===H&&(H={});var W=H,K=W.placement,Y=W.boundary,ie=W.rootBoundary,ce=W.padding,ue=W.flipVariations,de=W.allowedAutoPlacements,pe=void 0===de?KV:de,fe=UH(K),ke=fe?ue?ZV:ZV.filter(function(B){return UH(B)===fe}):UV,Je=ke.filter(function(B){return pe.indexOf(B)>=0});0===Je.length&&(Je=ke);var rt=Je.reduce(function(H,W){return H[W]=sG(B,{placement:W,boundary:Y,rootBoundary:ie,padding:ce})[SH(W)],H},{});return Object.keys(rt).sort(function(B,H){return rt[B]-rt[H]})}(H,{placement:W,boundary:fe,rootBoundary:ke,padding:pe,flipVariations:st,allowedAutoPlacements:at}):W)},[]),vt=H.rects.reference,yt=H.rects.popper,bt=new Map,wt=!0,xt=mt[0],St=0;St<mt.length;St++){var kt=mt[St],Et=SH(kt),At=UH(kt)===VV,Pt=[jV,NV].indexOf(Et)>=0,Lt=Pt?"width":"height",jt=sG(H,{placement:kt,boundary:fe,rootBoundary:ke,altBoundary:Je,padding:pe}),Ft=Pt?At?DV:zV:At?NV:jV;vt[Lt]>yt[Lt]&&(Ft=YH(Ft));var Nt=YH(Ft),Dt=[];if(ie&&Dt.push(jt[Et]<=0),ue&&Dt.push(jt[Ft]<=0,jt[Nt]<=0),Dt.every(function(B){return B})){xt=kt,wt=!1;break}bt.set(kt,Dt)}if(wt)for(var j=function(B){var H=mt.find(function(H){var W=bt.get(H);if(W)return W.slice(0,B).every(function(B){return B})});if(H)return xt=H,"break"},$t=st?3:1;$t>0&&"break"!==j($t);$t--);H.placement!==xt&&(H.modifiersData[K]._skip=!0,H.placement=xt,H.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function cG(B,H,W){return void 0===W&&(W={x:0,y:0}),{top:B.top-H.height-W.y,right:B.right-H.width+W.x,bottom:B.bottom-H.height+W.y,left:B.left-H.width-W.x}}function uG(B){return[jV,DV,NV,zV].some(function(H){return B[H]>=0})}const Kq={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(B){var H=B.state,W=B.options,K=B.name,Y=W.offset,ie=void 0===Y?[0,0]:Y,ce=KV.reduce(function(B,W){return B[W]=function(B,H,W){var K=SH(B),Y=[zV,jV].indexOf(K)>=0?-1:1,ie="function"==typeof W?W(Object.assign({},H,{placement:B})):W,ce=ie[0],ue=ie[1];return ce=ce||0,ue=(ue||0)*Y,[zV,DV].indexOf(K)>=0?{x:ue,y:ce}:{x:ce,y:ue}}(W,H.rects,ie),B},{}),ue=ce[H.placement],de=ue.x,pe=ue.y;null!=H.modifiersData.popperOffsets&&(H.modifiersData.popperOffsets.x+=de,H.modifiersData.popperOffsets.y+=pe),H.modifiersData[K]=ce}},Yq={name:"preventOverflow",enabled:!0,phase:"main",fn:function(B){var H=B.state,W=B.options,K=B.name,Y=W.mainAxis,ie=void 0===Y||Y,ce=W.altAxis,ue=void 0!==ce&&ce,de=W.boundary,pe=W.rootBoundary,fe=W.altBoundary,ke=W.padding,Je=W.tether,rt=void 0===Je||Je,st=W.tetherOffset,at=void 0===st?0:st,lt=sG(H,{boundary:de,rootBoundary:pe,padding:ke,altBoundary:fe}),pt=SH(H.placement),ht=UH(H.placement),mt=!ht,vt=FH(pt),yt="x"===vt?"y":"x",bt=H.modifiersData.popperOffsets,wt=H.rects.reference,xt=H.rects.popper,St="function"==typeof at?at(Object.assign({},H.rects,{placement:H.placement})):at,kt="number"==typeof St?{mainAxis:St,altAxis:St}:Object.assign({mainAxis:0,altAxis:0},St),Et=H.modifiersData.offset?H.modifiersData.offset[H.placement]:null,At={x:0,y:0};if(bt){if(ie){var Pt,Lt="y"===vt?jV:zV,jt="y"===vt?NV:DV,Ft="y"===vt?"height":"width",Nt=bt[vt],Dt=Nt+lt[Lt],$t=Nt-lt[jt],zt=rt?-xt[Ft]/2:0,Bt=ht===VV?wt[Ft]:xt[Ft],Vt=ht===VV?-xt[Ft]:-wt[Ft],Xt=H.elements.arrow,Jt=rt&&Xt?IH(Xt):{width:0,height:0},Qt=H.modifiersData["arrow#persistent"]?H.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},er=Qt[Lt],tr=Qt[jt],rr=$H(0,wt[Ft],Jt[Ft]),Er=mt?wt[Ft]/2-zt-rr-er-kt.mainAxis:Bt-rr-er-kt.mainAxis,Mr=mt?-wt[Ft]/2+zt+rr+tr+kt.mainAxis:Vt+rr+tr+kt.mainAxis,Ar=H.elements.arrow&&DH(H.elements.arrow),Fr=Ar?"y"===vt?Ar.clientTop||0:Ar.clientLeft||0:0,Dr=null!=(Pt=null==Et?void 0:Et[vt])?Pt:0,Hr=Nt+Mr-Dr,Vr=$H(rt?nq(Dt,Nt+Er-Dr-Fr):Dt,Nt,rt?eq($t,Hr):$t);bt[vt]=Vr,At[vt]=Vr-Nt}if(ue){var qr,Gr="x"===vt?jV:zV,Xr="x"===vt?NV:DV,Kr=bt[yt],Yr="y"===yt?"height":"width",Jr=Kr+lt[Gr],Qr=Kr-lt[Xr],en=-1!==[jV,zV].indexOf(pt),rn=null!=(qr=null==Et?void 0:Et[yt])?qr:0,nn=en?Jr:Kr-wt[Yr]-xt[Yr]-rn+kt.altAxis,cn=en?Kr+wt[Yr]+xt[Yr]-rn-kt.altAxis:Qr,un=rt&&en?function(B,H,W){var K=$H(B,H,W);return K>W?W:K}(nn,Kr,cn):$H(rt?nn:Jr,Kr,rt?cn:Qr);bt[yt]=un,At[yt]=un-Kr}H.modifiersData[K]=At}},requiresIfExists:["offset"]};function fG(B,H,W){void 0===W&&(W=!1);var K=wH(H),Y=wH(H)&&function(B){var H=B.getBoundingClientRect(),W=kq(H.width)/B.offsetWidth||1,K=kq(H.height)/B.offsetHeight||1;return 1!==W||1!==K}(H),ie=NH(H),ce=RH(B,Y,W),ue={scrollLeft:0,scrollTop:0},de={x:0,y:0};return(K||!K&&!W)&&(("body"!==vH(H)||eG(ie))&&(ue=function(B){return B!==yH(B)&&wH(B)?{scrollLeft:(H=B).scrollLeft,scrollTop:H.scrollTop}:JH(B);var H}(H)),wH(H)?((de=RH(H,!0)).x+=H.clientLeft,de.y+=H.clientTop):ie&&(de.x=QH(ie))),{x:ce.left+ue.scrollLeft-de.x,y:ce.top+ue.scrollTop-de.y,width:ce.width,height:ce.height}}function hG(B){var H=new Map,W=new Set,K=[];function o(B){W.add(B.name),[].concat(B.requires||[],B.requiresIfExists||[]).forEach(function(B){if(!W.has(B)){var K=H.get(B);K&&o(K)}}),K.push(B)}return B.forEach(function(B){H.set(B.name,B)}),B.forEach(function(B){W.has(B.name)||o(B)}),K}var Jq={placement:"bottom",modifiers:[],strategy:"absolute"};function gG(){for(var B=arguments.length,H=new Array(B),W=0;W<B;W++)H[W]=arguments[W];return!H.some(function(B){return!(B&&"function"==typeof B.getBoundingClientRect)})}var Qq=function vG(B){void 0===B&&(B={});var H=B,W=H.defaultModifiers,K=void 0===W?[]:W,Y=H.defaultOptions,ie=void 0===Y?Jq:Y;return function(B,H,W){void 0===W&&(W=ie);var Y,ce,ue={placement:"bottom",orderedModifiers:[],options:Object.assign({},Jq,ie),modifiersData:{},elements:{reference:B,popper:H},attributes:{},styles:{}},de=[],pe=!1,fe={state:ue,setOptions:function(W){var Y="function"==typeof W?W(ue.options):W;p(),ue.options=Object.assign({},ie,ue.options,Y),ue.scrollParents={reference:bH(B)?rG(B):B.contextElement?rG(B.contextElement):[],popper:rG(H)};var ce,pe,ke=function(B){var H=hG(B);return YV.reduce(function(B,W){return B.concat(H.filter(function(B){return B.phase===W}))},[])}((ce=[].concat(K,ue.options.modifiers),pe=ce.reduce(function(B,H){var W=B[H.name];return B[H.name]=W?Object.assign({},W,H,{options:Object.assign({},W.options,H.options),data:Object.assign({},W.data,H.data)}):H,B},{}),Object.keys(pe).map(function(B){return pe[B]})));return ue.orderedModifiers=ke.filter(function(B){return B.enabled}),ue.orderedModifiers.forEach(function(B){var H=B.name,W=B.options,K=void 0===W?{}:W,Y=B.effect;if("function"==typeof Y){var ie=Y({state:ue,name:H,instance:fe,options:K});de.push(ie||function(){})}}),fe.update()},forceUpdate:function(){if(!pe){var B=ue.elements,H=B.reference,W=B.popper;if(gG(H,W)){ue.rects={reference:fG(H,DH(W),"fixed"===ue.options.strategy),popper:IH(W)},ue.reset=!1,ue.placement=ue.options.placement,ue.orderedModifiers.forEach(function(B){return ue.modifiersData[B.name]=Object.assign({},B.data)});for(var K=0;K<ue.orderedModifiers.length;K++)if(!0!==ue.reset){var Y=ue.orderedModifiers[K],ie=Y.fn,ce=Y.options,de=void 0===ce?{}:ce,ke=Y.name;"function"==typeof ie&&(ue=ie({state:ue,options:de,name:ke,instance:fe})||ue)}else ue.reset=!1,K=-1}}},update:(Y=function(){return new Promise(function(B){fe.forceUpdate(),B(ue)})},function(){return ce||(ce=new Promise(function(B){Promise.resolve().then(function(){ce=void 0,B(Y())})})),ce}),destroy:function(){p(),pe=!0}};if(!gG(B,H))return fe;function p(){de.forEach(function(B){return B()}),de=[]}return fe.setOptions(W).then(function(B){!pe&&W.onFirstUpdate&&W.onFirstUpdate(B)}),fe}}({defaultModifiers:[qq,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(B){var H=B.state,W=B.name;H.modifiersData[W]=iG({reference:H.rects.reference,element:H.rects.popper,strategy:"absolute",placement:H.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(B){var H=B.state,W=B.options,K=W.gpuAcceleration,Y=void 0===K||K,ie=W.adaptive,ce=void 0===ie||ie,ue=W.roundOffsets,de=void 0===ue||ue,pe={placement:SH(H.placement),variation:UH(H.placement),popper:H.elements.popper,popperRect:H.rects.popper,gpuAcceleration:Y,isFixed:"fixed"===H.options.strategy};null!=H.modifiersData.popperOffsets&&(H.styles.popper=Object.assign({},H.styles.popper,WH(Object.assign({},pe,{offsets:H.modifiersData.popperOffsets,position:H.options.strategy,adaptive:ce,roundOffsets:de})))),null!=H.modifiersData.arrow&&(H.styles.arrow=Object.assign({},H.styles.arrow,WH(Object.assign({},pe,{offsets:H.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:de})))),H.attributes.popper=Object.assign({},H.attributes.popper,{"data-popper-placement":H.placement})},data:{}},JV,Kq,Zq,Yq,Cq,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(B){var H=B.state,W=B.name,K=H.rects.reference,Y=H.rects.popper,ie=H.modifiersData.preventOverflow,ce=sG(H,{elementContext:"reference"}),ue=sG(H,{altBoundary:!0}),de=cG(ce,K),pe=cG(ue,Y,ie),fe=uG(de),ke=uG(pe);H.modifiersData[W]={referenceClippingOffsets:de,popperEscapeOffsets:pe,isReferenceHidden:fe,hasPopperEscaped:ke},H.attributes.popper=Object.assign({},H.attributes.popper,{"data-popper-reference-hidden":fe,"data-popper-escaped":ke})}}]});const eW="Popper";function wG(B){return tH(eW,B)}!function(B){const H={};["root"].forEach(W=>{H[W]=tH(B,W)})}(eW);const tW=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],rW=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function SG(B){return"function"==typeof B?B():B}const nW={},sW=ce.forwardRef(function(B,H){var W;const{anchorEl:Y,children:ie,direction:ue,disablePortal:de,modifiers:pe,open:fe,placement:ke,popperOptions:Je,popperRef:rt,slotProps:st={},slots:at={},TransitionProps:lt}=B,pt=s(B,tW),ht=ce.useRef(null),mt=Fa(ht,H),vt=ce.useRef(null),yt=Fa(vt,rt),bt=ce.useRef(yt);_a(()=>{bt.current=yt},[yt]),ce.useImperativeHandle(rt,()=>vt.current,[]);const wt=function(B,H){if("ltr"===H)return B;switch(B){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return B}}(ke,ue),[xt,St]=ce.useState(wt),[kt,Et]=ce.useState(SG(Y));ce.useEffect(()=>{vt.current&&vt.current.forceUpdate()}),ce.useEffect(()=>{Y&&Et(SG(Y))},[Y]),_a(()=>{if(!kt||!fe)return;let B=[{name:"preventOverflow",options:{altBoundary:de}},{name:"flip",options:{altBoundary:de}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:B})=>{St(B.placement)}}];null!=pe&&(B=B.concat(pe)),Je&&null!=Je.modifiers&&(B=B.concat(Je.modifiers));const H=Qq(kt,ht.current,a({placement:wt},Je,{modifiers:B}));return bt.current(H),()=>{H.destroy(),bt.current(null)}},[kt,de,pe,fe,Je,wt]);const At={placement:xt};null!==lt&&(At.TransitionProps=lt);const Pt=U({root:["root"]},function(B){const{disableDefaultClasses:H}=ce.useContext(cp);return W=>H?"":B(W)}(wG)),Lt=null!=(W=at.root)?W:"div",jt=Af({elementType:Lt,externalSlotProps:st.root,externalForwardedProps:pt,additionalProps:{role:"tooltip",ref:mt},ownerState:B,className:Pt.root});return K.jsx(Lt,a({},jt,{children:"function"==typeof ie?ie(At):ie}))}),aW=ce.forwardRef(function(B,H){const{anchorEl:W,children:Y,container:ie,direction:ue="ltr",disablePortal:de=!1,keepMounted:pe=!1,modifiers:fe,open:ke,placement:Je="bottom",popperOptions:rt=nW,popperRef:st,style:at,transition:lt=!1,slotProps:pt={},slots:ht={}}=B,mt=s(B,rW),[vt,yt]=ce.useState(!0);if(!pe&&!ke&&(!lt||vt))return null;let bt;if(ie)bt=ie;else if(W){const B=SG(W);bt=B&&function kG(B){return void 0!==B.nodeType}(B)?xf(B).body:xf(null).body}const wt=ke||!pe||lt&&!vt?void 0:"none",xt=lt?{in:ke,onEnter:()=>{yt(!1)},onExited:()=>{yt(!0)}}:void 0;return K.jsx(Jp,{disablePortal:de,container:bt,children:K.jsx(sW,a({anchorEl:W,direction:ue,disablePortal:de,modifiers:fe,ref:H,open:lt?!vt:ke,placement:Je,popperOptions:rt,popperRef:st,slotProps:pt,slots:ht},mt,{style:a({position:"fixed",top:0,left:0,display:wt},at),TransitionProps:xt,children:Y}))})}),lW=["onChange","maxRows","minRows","style","value"];function RG(B){return parseInt(B,10)||0}const cW={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},uW=ce.forwardRef(function(B,H){const{onChange:W,maxRows:Y,minRows:ie=1,style:ue,value:de}=B,pe=s(B,lW),{current:fe}=ce.useRef(null!=de),ke=ce.useRef(null),Je=Fa(H,ke),rt=ce.useRef(null),st=ce.useCallback(()=>{const H=ke.current,W=_f(H).getComputedStyle(H);if("0px"===W.width)return{outerHeightStyle:0,overflowing:!1};const K=rt.current;K.style.width=W.width,K.value=H.value||B.placeholder||"x","\n"===K.value.slice(-1)&&(K.value+=" ");const ce=W.boxSizing,ue=RG(W.paddingBottom)+RG(W.paddingTop),de=RG(W.borderBottomWidth)+RG(W.borderTopWidth),pe=K.scrollHeight;K.value="x";const fe=K.scrollHeight;let Je=pe;return ie&&(Je=Math.max(Number(ie)*fe,Je)),Y&&(Je=Math.min(Number(Y)*fe,Je)),Je=Math.max(Je,fe),{outerHeightStyle:Je+("border-box"===ce?ue+de:0),overflowing:Math.abs(Je-pe)<=1}},[Y,ie,B.placeholder]),at=ce.useCallback(()=>{const B=st();if(null==(H=B)||0===Object.keys(H).length||0===H.outerHeightStyle&&!H.overflowing)return;var H;const W=ke.current;W.style.height=`${B.outerHeightStyle}px`,W.style.overflow=B.overflowing?"hidden":""},[st]);return _a(()=>{const e=()=>{at()};const B=bf(e),H=ke.current,W=_f(H);let K;return W.addEventListener("resize",B),"undefined"!=typeof ResizeObserver&&(K=new ResizeObserver(e),K.observe(H)),()=>{B.clear(),cancelAnimationFrame(undefined),W.removeEventListener("resize",B),K&&K.disconnect()}},[st,at]),_a(()=>{at()}),K.jsxs(ce.Fragment,{children:[K.jsx("textarea",a({value:de,onChange:B=>{fe||at(),W&&W(B)},ref:Je,rows:ie,style:ue},pe)),K.jsx("textarea",{"aria-hidden":!0,className:B.className,readOnly:!0,ref:rt,tabIndex:-1,style:a({},cW,ue,{paddingTop:0,paddingBottom:0})})]})});function AG(B){return void 0!==B.normalize?B.normalize("NFD").replace(/[\u0300-\u036f]/g,""):B}function PG(B,H){for(let W=0;W<B.length;W+=1)if(H(B[W]))return W;return-1}const pW=function(B={}){const{ignoreAccents:H=!0,ignoreCase:W=!0,limit:K,matchFrom:Y="any",stringify:ie,trim:ce=!1}=B;return(B,{inputValue:ue,getOptionLabel:de})=>{let pe=ce?ue.trim():ue;W&&(pe=pe.toLowerCase()),H&&(pe=AG(pe));const fe=pe?B.filter(B=>{let K=(ie||de)(B);return W&&(K=K.toLowerCase()),H&&(K=AG(K)),"start"===Y?0===K.indexOf(pe):K.indexOf(pe)>-1}):B;return"number"==typeof K?fe.slice(0,K):fe}}(),jG=B=>{var H;return null!==B.current&&(null==(H=B.current.parentElement)?void 0:H.contains(document.activeElement))};var hW,fW={};const mW=l(function FG(){if(hW)return fW;hW=1,Object.defineProperty(fW,"__esModule",{value:!0}),fW.default=void 0;var B=function(B){if(B&&B.__esModule)return B;if(null===B||"object"!=typeof B&&"function"!=typeof B)return{default:B};var H=n(void 0);if(H&&H.has(B))return H.get(B);var W={__proto__:null},K=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Y in B)if("default"!==Y&&Object.prototype.hasOwnProperty.call(B,Y)){var ie=K?Object.getOwnPropertyDescriptor(B,Y):null;ie&&(ie.get||ie.set)?Object.defineProperty(W,Y,ie):W[Y]=B[Y]}return W.default=B,H&&H.set(B,W),W}(Y),H=Hn;function n(B){if("function"!=typeof WeakMap)return null;var H=new WeakMap,W=new WeakMap;return(n=function(B){return B?W:H})(B)}return fW.default=function(W=null){const K=B.useContext(H.ThemeContext);return K&&(Y=K,0!==Object.keys(Y).length)?K:W;var Y},fW}()),gW=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],vW=Ti(aW,{name:"MuiPopper",slot:"Root",overridesResolver:(B,H)=>H.root})({}),yW=ce.forwardRef(function(B,H){var W;const Y=mW(),ie=Yi({props:B,name:"MuiPopper"}),{anchorEl:ce,component:ue,components:de,componentsProps:pe,container:fe,disablePortal:ke,keepMounted:Je,modifiers:rt,open:st,placement:at,popperOptions:lt,popperRef:pt,transition:ht,slots:mt,slotProps:vt}=ie,yt=s(ie,gW),bt=null!=(W=null==mt?void 0:mt.root)?W:null==de?void 0:de.Root,wt=a({anchorEl:ce,container:fe,disablePortal:ke,keepMounted:Je,modifiers:rt,open:st,placement:at,popperOptions:lt,popperRef:pt,transition:ht},yt);return K.jsx(vW,a({as:ue,direction:null==Y?void 0:Y.direction,slots:{root:bt},slotProps:null!=vt?vt:pe},wt,{ref:H}))}),bW=yW;function qG(B){return Mo("MuiListSubheader",B)}ta("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const wW=["className","color","component","disableGutters","disableSticky","inset"],_W=Ti("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,"default"!==W.color&&H[`color${Zi(W.color)}`],!W.disableGutters&&H.gutters,W.inset&&H.inset,!W.disableSticky&&H.sticky]}})(({theme:B,ownerState:H})=>a({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(B.vars||B).palette.text.secondary,fontFamily:B.typography.fontFamily,fontWeight:B.typography.fontWeightMedium,fontSize:B.typography.pxToRem(14)},"primary"===H.color&&{color:(B.vars||B).palette.primary.main},"inherit"===H.color&&{color:"inherit"},!H.disableGutters&&{paddingLeft:16,paddingRight:16},H.inset&&{paddingLeft:72},!H.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(B.vars||B).palette.background.paper})),xW=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiListSubheader"}),{className:Y,color:ie="default",component:ce="li",disableGutters:ue=!1,disableSticky:de=!1,inset:pe=!1}=W,fe=s(W,wW),ke=a({},W,{color:ie,component:ce,disableGutters:ue,disableSticky:de,inset:pe}),Je=(B=>{const{classes:H,color:W,disableGutters:K,inset:Y,disableSticky:ie}=B;return U({root:["root","default"!==W&&`color${Zi(W)}`,!K&&"gutters",Y&&"inset",!ie&&"sticky"]},qG,H)})(ke);return K.jsx(_W,a({as:ce,className:V(Je.root,Y),ref:H,ownerState:ke},fe))});xW.muiSkipListHighlight=!0;const SW=xW;function YG({props:B,states:H,muiFormControl:W}){return H.reduce((H,K)=>(H[K]=B[K],W&&void 0===B[K]&&(H[K]=W[K]),H),{})}function XG(B){return Mo("MuiInputBase",B)}const kW=ta("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),EW=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],eK=(B,H)=>{const{ownerState:W}=B;return[H.root,W.formControl&&H.formControl,W.startAdornment&&H.adornedStart,W.endAdornment&&H.adornedEnd,W.error&&H.error,"small"===W.size&&H.sizeSmall,W.multiline&&H.multiline,W.color&&H[`color${Zi(W.color)}`],W.fullWidth&&H.fullWidth,W.hiddenLabel&&H.hiddenLabel]},tK=(B,H)=>{const{ownerState:W}=B;return[H.input,"small"===W.size&&H.inputSizeSmall,W.multiline&&H.inputMultiline,"search"===W.type&&H.inputTypeSearch,W.startAdornment&&H.inputAdornedStart,W.endAdornment&&H.inputAdornedEnd,W.hiddenLabel&&H.inputHiddenLabel]},MW=Ti("div",{name:"MuiInputBase",slot:"Root",overridesResolver:eK})(({theme:B,ownerState:H})=>a({},B.typography.body1,{color:(B.vars||B).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${kW.disabled}`]:{color:(B.vars||B).palette.text.disabled,cursor:"default"}},H.multiline&&a({padding:"4px 0 5px"},"small"===H.size&&{paddingTop:1}),H.fullWidth&&{width:"100%"})),IW=Ti("input",{name:"MuiInputBase",slot:"Input",overridesResolver:tK})(({theme:B,ownerState:H})=>{const W="light"===B.palette.mode,K=a({color:"currentColor"},B.vars?{opacity:B.vars.opacity.inputPlaceholder}:{opacity:W?.42:.5},{transition:B.transitions.create("opacity",{duration:B.transitions.duration.shorter})}),Y={opacity:"0 !important"},ie=B.vars?{opacity:B.vars.opacity.inputPlaceholder}:{opacity:W?.42:.5};return a({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":K,"&::-moz-placeholder":K,"&:-ms-input-placeholder":K,"&::-ms-input-placeholder":K,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${kW.formControl} &`]:{"&::-webkit-input-placeholder":Y,"&::-moz-placeholder":Y,"&:-ms-input-placeholder":Y,"&::-ms-input-placeholder":Y,"&:focus::-webkit-input-placeholder":ie,"&:focus::-moz-placeholder":ie,"&:focus:-ms-input-placeholder":ie,"&:focus::-ms-input-placeholder":ie},[`&.${kW.disabled}`]:{opacity:1,WebkitTextFillColor:(B.vars||B).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===H.size&&{paddingTop:1},H.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===H.type&&{MozAppearance:"textfield"})}),AW=K.jsx(function ZG(B){return K.jsx(os,a({},B,{defaultTheme:Mi,themeId:Ii}))},{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),TW=ce.forwardRef(function(B,H){var W;const Y=Yi({props:B,name:"MuiInputBase"}),{"aria-describedby":ie,autoComplete:ue,autoFocus:de,className:pe,components:fe={},componentsProps:ke={},defaultValue:Je,disabled:rt,disableInjectingGlobalStyles:st,endAdornment:at,fullWidth:lt=!1,id:pt,inputComponent:ht="input",inputProps:mt={},inputRef:vt,maxRows:yt,minRows:bt,multiline:wt=!1,name:xt,onBlur:St,onChange:kt,onClick:Et,onFocus:At,onKeyDown:Pt,onKeyUp:Lt,placeholder:jt,readOnly:Ft,renderSuffix:Nt,rows:Dt,slotProps:$t={},slots:zt={},startAdornment:Bt,type:Vt="text",value:Xt}=Y,Jt=s(Y,EW),Qt=null!=mt.value?mt.value:Xt,{current:er}=ce.useRef(null!=Qt),tr=ce.useRef(),rr=ce.useCallback(B=>{},[]),Er=Fa(tr,vt,mt.ref,rr),[Mr,Ar]=ce.useState(!1),Fr=NW(),Dr=YG({props:Y,muiFormControl:Fr,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Dr.focused=Fr?Fr.focused:Mr,ce.useEffect(()=>{!Fr&&rt&&Mr&&(Ar(!1),St&&St())},[Fr,rt,Mr,St]);const Hr=Fr&&Fr.onFilled,Vr=Fr&&Fr.onEmpty,qr=ce.useCallback(B=>{OW(B)?Hr&&Hr():Vr&&Vr()},[Hr,Vr]);_a(()=>{er&&qr({value:Qt})},[Qt,qr,er]),ce.useEffect(()=>{qr(tr.current)},[]);let Gr=ht,Xr=mt;wt&&"input"===Gr&&(Xr=a(Dt?{type:void 0,minRows:Dt,maxRows:Dt}:{type:void 0,maxRows:yt,minRows:bt},Xr),Gr=uW),ce.useEffect(()=>{Fr&&Fr.setAdornedStart(Boolean(Bt))},[Fr,Bt]);const Kr=a({},Y,{color:Dr.color||"primary",disabled:Dr.disabled,endAdornment:at,error:Dr.error,focused:Dr.focused,formControl:Fr,fullWidth:lt,hiddenLabel:Dr.hiddenLabel,multiline:wt,size:Dr.size,startAdornment:Bt,type:Vt}),Yr=(B=>{const{classes:H,color:W,disabled:K,error:Y,endAdornment:ie,focused:ce,formControl:ue,fullWidth:de,hiddenLabel:pe,multiline:fe,readOnly:ke,size:Je,startAdornment:rt,type:st}=B;return U({root:["root",`color${Zi(W)}`,K&&"disabled",Y&&"error",de&&"fullWidth",ce&&"focused",ue&&"formControl",Je&&"medium"!==Je&&`size${Zi(Je)}`,fe&&"multiline",rt&&"adornedStart",ie&&"adornedEnd",pe&&"hiddenLabel",ke&&"readOnly"],input:["input",K&&"disabled","search"===st&&"inputTypeSearch",fe&&"inputMultiline","small"===Je&&"inputSizeSmall",pe&&"inputHiddenLabel",rt&&"inputAdornedStart",ie&&"inputAdornedEnd",ke&&"readOnly"]},XG,H)})(Kr),Jr=zt.root||fe.Root||MW,Qr=$t.root||ke.root||{},en=zt.input||fe.Input||IW;return Xr=a({},Xr,null!=(W=$t.input)?W:ke.input),K.jsxs(ce.Fragment,{children:[!st&&AW,K.jsxs(Jr,a({},Qr,!sf(Jr)&&{ownerState:a({},Kr,Qr.ownerState)},{ref:H,onClick:B=>{tr.current&&B.currentTarget===B.target&&tr.current.focus(),Et&&Et(B)}},Jt,{className:V(Yr.root,Qr.className,pe,Ft&&"MuiInputBase-readOnly"),children:[Bt,K.jsx(nV.Provider,{value:null,children:K.jsx(en,a({ownerState:Kr,"aria-invalid":Dr.error,"aria-describedby":ie,autoComplete:ue,autoFocus:de,defaultValue:Je,disabled:Dr.disabled,id:pt,onAnimationStart:B=>{qr("mui-auto-fill-cancel"===B.animationName?tr.current:{value:"x"})},name:xt,placeholder:jt,readOnly:Ft,required:Dr.required,rows:Dt,value:Qt,onKeyDown:Pt,onKeyUp:Lt,type:Vt},Xr,!sf(en)&&{as:Gr,ownerState:a({},Kr,Xr.ownerState)},{ref:Er,className:V(Yr.input,Xr.className,Ft&&"MuiInputBase-readOnly"),onBlur:B=>{St&&St(B),mt.onBlur&&mt.onBlur(B),Fr&&Fr.onBlur?Fr.onBlur(B):Ar(!1)},onChange:(B,...H)=>{if(!er){const H=B.target||tr.current;if(null==H)throw new Error(ko(1));qr({value:H.value})}mt.onChange&&mt.onChange(B,...H),kt&&kt(B,...H)},onFocus:B=>{Dr.disabled?B.stopPropagation():(At&&At(B),mt.onFocus&&mt.onFocus(B),Fr&&Fr.onFocus?Fr.onFocus(B):Ar(!0))}}))}),at,Nt?Nt(a({},Dr,{startAdornment:Bt})):null]}))]})}),PW=TW;function aK(B){return Mo("MuiInput",B)}const LW=a({},kW,ta("MuiInput",["root","underline","input"]));function cK(B){return Mo("MuiOutlinedInput",B)}const jW=a({},kW,ta("MuiOutlinedInput",["root","notchedOutline","input"]));function pK(B){return Mo("MuiFilledInput",B)}const FW=a({},kW,ta("MuiFilledInput",["root","underline","input"])),DW=Cz(K.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),$W=Cz(K.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function mK(B){return Mo("MuiAutocomplete",B)}const zW=ta("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var BW,UW;const VW=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],qW=["ref"],WW=xU(),GW=Ti("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B,{fullWidth:K,hasClearIcon:Y,hasPopupIcon:ie,inputFocused:ce,size:ue}=W;return[{[`& .${zW.tag}`]:H.tag},{[`& .${zW.tag}`]:H[`tagSize${Zi(ue)}`]},{[`& .${zW.inputRoot}`]:H.inputRoot},{[`& .${zW.input}`]:H.input},{[`& .${zW.input}`]:ce&&H.inputFocused},H.root,K&&H.fullWidth,ie&&H.hasPopupIcon,Y&&H.hasClearIcon]}})({[`&.${zW.focused} .${zW.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${zW.clearIndicator}`]:{visibility:"visible"}},[`& .${zW.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${zW.inputRoot}`]:{flexWrap:"wrap",[`.${zW.hasPopupIcon}&, .${zW.hasClearIcon}&`]:{paddingRight:30},[`.${zW.hasPopupIcon}.${zW.hasClearIcon}&`]:{paddingRight:56},[`& .${zW.input}`]:{width:0,minWidth:30}},[`& .${LW.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${LW.root}.${kW.sizeSmall}`]:{[`& .${LW.input}`]:{padding:"2px 4px 3px 0"}},[`& .${jW.root}`]:{padding:9,[`.${zW.hasPopupIcon}&, .${zW.hasClearIcon}&`]:{paddingRight:39},[`.${zW.hasPopupIcon}.${zW.hasClearIcon}&`]:{paddingRight:65},[`& .${zW.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${zW.endAdornment}`]:{right:9}},[`& .${jW.root}.${kW.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${zW.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${FW.root}`]:{paddingTop:19,paddingLeft:8,[`.${zW.hasPopupIcon}&, .${zW.hasClearIcon}&`]:{paddingRight:39},[`.${zW.hasPopupIcon}.${zW.hasClearIcon}&`]:{paddingRight:65},[`& .${FW.input}`]:{padding:"7px 4px"},[`& .${zW.endAdornment}`]:{right:9}},[`& .${FW.root}.${kW.sizeSmall}`]:{paddingBottom:1,[`& .${FW.input}`]:{padding:"2.5px 4px"}},[`& .${kW.hiddenLabel}`]:{paddingTop:8},[`& .${FW.root}.${kW.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${zW.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${FW.root}.${kW.hiddenLabel}.${kW.sizeSmall}`]:{[`& .${zW.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${zW.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${zW.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${zW.input}`]:{opacity:1}}}]}),XW=Ti("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(B,H)=>H.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),ZW=Ti(Cl,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(B,H)=>H.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),KW=Ti(Cl,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:B},H)=>a({},H.popupIndicator,B.popupOpen&&H.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),YW=Ti(bW,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[{[`& .${zW.option}`]:H.option},H.popper,W.disablePortal&&H.popperDisablePortal]}})(({theme:B})=>({zIndex:(B.vars||B).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]})),JW=Ti(Ls,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(B,H)=>H.paper})(({theme:B})=>a({},B.typography.body1,{overflow:"auto"})),QW=Ti("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(B,H)=>H.loading})(({theme:B})=>({color:(B.vars||B).palette.text.secondary,padding:"14px 16px"})),lG=Ti("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(B,H)=>H.noOptions})(({theme:B})=>({color:(B.vars||B).palette.text.secondary,padding:"14px 16px"})),dG=Ti("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(B,H)=>H.listbox})(({theme:B})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${zW.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[B.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${zW.focused}`]:{backgroundColor:(B.vars||B).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(B.vars||B).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${zW.focusVisible}`]:{backgroundColor:(B.vars||B).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:B.vars?`rgba(${B.vars.palette.primary.mainChannel} / ${B.vars.palette.action.selectedOpacity})`:li.alpha(B.palette.primary.main,B.palette.action.selectedOpacity),[`&.${zW.focused}`]:{backgroundColor:B.vars?`rgba(${B.vars.palette.primary.mainChannel} / calc(${B.vars.palette.action.selectedOpacity} + ${B.vars.palette.action.hoverOpacity}))`:li.alpha(B.palette.primary.main,B.palette.action.selectedOpacity+B.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(B.vars||B).palette.action.selected}},[`&.${zW.focusVisible}`]:{backgroundColor:B.vars?`rgba(${B.vars.palette.primary.mainChannel} / calc(${B.vars.palette.action.selectedOpacity} + ${B.vars.palette.action.focusOpacity}))`:li.alpha(B.palette.primary.main,B.palette.action.selectedOpacity+B.palette.action.focusOpacity)}}}})),pG=Ti(SW,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(B,H)=>H.groupLabel})(({theme:B})=>({backgroundColor:(B.vars||B).palette.background.paper,top:-8})),mG=Ti("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(B,H)=>H.groupUl})({padding:0,[`& .${zW.option}`]:{paddingLeft:24}}),yG=ce.forwardRef(function(B,H){var W,ie,ue,de;const pe=WW({props:B,name:"MuiAutocomplete"}),{autoComplete:fe=!1,autoHighlight:ke=!1,autoSelect:Je=!1,blurOnSelect:rt=!1,ChipProps:st,className:at,clearIcon:lt=BW||(BW=K.jsx(DW,{fontSize:"small"})),clearOnBlur:pt=!pe.freeSolo,clearOnEscape:ht=!1,clearText:mt="Clear",closeText:vt="Close",componentsProps:yt={},defaultValue:bt=(pe.multiple?[]:null),disableClearable:wt=!1,disableCloseOnSelect:xt=!1,disabled:St=!1,disabledItemsFocusable:kt=!1,disableListWrap:Et=!1,disablePortal:At=!1,filterSelectedOptions:Pt=!1,forcePopupIcon:Lt="auto",freeSolo:jt=!1,fullWidth:Ft=!1,getLimitTagsText:Nt=B=>`+${B}`,getOptionLabel:Dt,groupBy:$t,handleHomeEndKeys:zt=!pe.freeSolo,includeInputInList:Bt=!1,limitTags:Vt=-1,ListboxComponent:Xt="ul",ListboxProps:Jt,loading:Qt=!1,loadingText:er="Loading…",multiple:tr=!1,noOptionsText:rr="No options",openOnFocus:Er=!1,openText:Mr="Open",PaperComponent:Ar=Ls,PopperComponent:Fr=bW,popupIcon:Dr=UW||(UW=K.jsx($W,{})),readOnly:Hr=!1,renderGroup:Vr,renderInput:qr,renderOption:Gr,renderTags:Xr,selectOnFocus:Kr=!pe.freeSolo,size:Yr="medium",slotProps:Jr={}}=pe,Qr=s(pe,VW),{getRootProps:en,getInputProps:rn,getInputLabelProps:nn,getPopupIndicatorProps:cn,getClearProps:un,getTagProps:dn,getListboxProps:fn,getOptionProps:mn,value:gn,dirty:kn,expanded:Cn,id:On,popupOpen:En,focused:Rn,focusedTag:In,anchorEl:Tn,setAnchorEl:zn,inputValue:Bn,groupedOptions:Un}=function(B){const{unstable_isActiveElementInListbox:H=jG,unstable_classNamePrefix:W="Mui",autoComplete:K=!1,autoHighlight:Y=!1,autoSelect:ie=!1,blurOnSelect:ue=!1,clearOnBlur:de=!B.freeSolo,clearOnEscape:pe=!1,componentName:fe="useAutocomplete",defaultValue:ke=(B.multiple?[]:null),disableClearable:Je=!1,disableCloseOnSelect:rt=!1,disabled:st,disabledItemsFocusable:at=!1,disableListWrap:lt=!1,filterOptions:pt=pW,filterSelectedOptions:ht=!1,freeSolo:mt=!1,getOptionDisabled:vt,getOptionKey:yt,getOptionLabel:bt=B=>{var H;return null!=(H=B.label)?H:B},groupBy:wt,handleHomeEndKeys:xt=!B.freeSolo,id:St,includeInputInList:kt=!1,inputValue:Et,isOptionEqualToValue:At=(B,H)=>B===H,multiple:Pt=!1,onChange:Lt,onClose:jt,onHighlightChange:Ft,onInputChange:Nt,onOpen:Dt,open:$t,openOnFocus:zt=!1,options:Bt,readOnly:Vt=!1,selectOnFocus:Xt=!B.freeSolo,value:Jt}=B,Qt=Cf(St);let er=bt;er=B=>{const H=bt(B);return"string"!=typeof H?String(H):H};const tr=ce.useRef(!1),rr=ce.useRef(!0),Er=ce.useRef(null),Mr=ce.useRef(null),[Ar,Fr]=ce.useState(null),[Dr,Hr]=ce.useState(-1),Vr=Y?0:-1,qr=ce.useRef(Vr),[Gr,Xr]=Of({controlled:Jt,default:ke,name:fe}),[Kr,Yr]=Of({controlled:Et,default:"",name:fe,state:"inputValue"}),[Jr,Qr]=ce.useState(!1),en=ce.useCallback((B,H)=>{if(!(Pt?Gr.length<H.length:null!==H)&&!de)return;let W;if(Pt)W="";else if(null==H)W="";else{const B=er(H);W="string"==typeof B?B:""}Kr!==W&&(Yr(W),Nt&&Nt(B,W,"reset"))},[er,Kr,Pt,Nt,Yr,de,Gr]),[rn,nn]=Of({controlled:$t,default:!1,name:fe,state:"open"}),[cn,un]=ce.useState(!0),dn=!Pt&&null!=Gr&&Kr===er(Gr),fn=rn&&!Vt,mn=fn?pt(Bt.filter(B=>!ht||!(Pt?Gr:[Gr]).some(H=>null!==H&&At(B,H))),{inputValue:dn&&cn?"":Kr,getOptionLabel:er}):[],gn=Tf({filteredOptions:mn,value:Gr,inputValue:Kr});ce.useEffect(()=>{const B=Gr!==gn.value;Jr&&!B||mt&&!B||en(null,Gr)},[Gr,en,Jr,gn.value,mt]);const kn=rn&&mn.length>0&&!Vt;const Cn=Ba(B=>{-1===B?Er.current.focus():Ar.querySelector(`[data-tag-index="${B}"]`).focus()});ce.useEffect(()=>{Pt&&Dr>Gr.length-1&&(Hr(-1),Cn(-1))},[Gr,Pt,Dr,Cn]);const On=Ba(({event:B,index:H,reason:K="auto"})=>{if(qr.current=H,-1===H?Er.current.removeAttribute("aria-activedescendant"):Er.current.setAttribute("aria-activedescendant",`${Qt}-option-${H}`),Ft&&Ft(B,-1===H?null:mn[H],K),!Mr.current)return;const Y=Mr.current.querySelector(`[role="option"].${W}-focused`);Y&&(Y.classList.remove(`${W}-focused`),Y.classList.remove(`${W}-focusVisible`));let ie=Mr.current;if("listbox"!==Mr.current.getAttribute("role")&&(ie=Mr.current.parentElement.querySelector('[role="listbox"]')),!ie)return;if(-1===H)return void(ie.scrollTop=0);const ce=Mr.current.querySelector(`[data-option-index="${H}"]`);if(ce&&(ce.classList.add(`${W}-focused`),"keyboard"===K&&ce.classList.add(`${W}-focusVisible`),ie.scrollHeight>ie.clientHeight&&"mouse"!==K&&"touch"!==K)){const B=ce,H=ie.clientHeight+ie.scrollTop,W=B.offsetTop+B.offsetHeight;W>H?ie.scrollTop=W-ie.clientHeight:B.offsetTop-B.offsetHeight*(wt?1.3:0)<ie.scrollTop&&(ie.scrollTop=B.offsetTop-B.offsetHeight*(wt?1.3:0))}}),En=Ba(({event:B,diff:H,direction:W="next",reason:Y="auto"})=>{if(!fn)return;const ie=function(B,H){if(!Mr.current||B<0||B>=mn.length)return-1;let W=B;for(;;){const K=Mr.current.querySelector(`[data-option-index="${W}"]`),Y=!at&&(!K||K.disabled||"true"===K.getAttribute("aria-disabled"));if(K&&K.hasAttribute("tabindex")&&!Y)return W;if(W="next"===H?(W+1)%mn.length:(W-1+mn.length)%mn.length,W===B)return-1}}((()=>{const B=mn.length-1;if("reset"===H)return Vr;if("start"===H)return 0;if("end"===H)return B;const W=qr.current+H;return W<0?-1===W&&kt?-1:lt&&-1!==qr.current||Math.abs(H)>1?0:B:W>B?W===B+1&&kt?-1:lt||Math.abs(H)>1?B:0:W})(),W);if(On({index:ie,reason:Y,event:B}),K&&"reset"!==H)if(-1===ie)Er.current.value=Kr;else{const B=er(mn[ie]);Er.current.value=B,0===B.toLowerCase().indexOf(Kr.toLowerCase())&&Kr.length>0&&Er.current.setSelectionRange(Kr.length,B.length)}}),Rn=ce.useCallback(()=>{if(!fn)return;const B=(()=>{if(-1!==qr.current&&gn.filteredOptions&&gn.filteredOptions.length!==mn.length&&gn.inputValue===Kr&&(Pt?Gr.length===gn.value.length&&gn.value.every((B,H)=>er(Gr[H])===er(B)):(B=gn.value,H=Gr,(B?er(B):"")===(H?er(H):"")))){const B=gn.filteredOptions[qr.current];if(B)return PG(mn,H=>er(H)===er(B))}var B,H;return-1})();if(-1!==B)return void(qr.current=B);const H=Pt?Gr[0]:Gr;if(0!==mn.length&&null!=H){if(Mr.current){if(null!=H){const B=mn[qr.current];if(Pt&&B&&-1!==PG(Gr,H=>At(B,H)))return;const W=PG(mn,B=>At(B,H));return void(-1===W?En({diff:"reset"}):On({index:W}))}qr.current>=mn.length-1?On({index:mn.length-1}):On({index:qr.current})}}else En({diff:"reset"})},[mn.length,!Pt&&Gr,ht,En,On,fn,Kr,Pt]),In=Ba(B=>{Da(Mr,B),B&&Rn()});ce.useEffect(()=>{Rn()},[Rn]);const xe=B=>{rn||(nn(!0),un(!0),Dt&&Dt(B))},_e=(B,H)=>{rn&&(nn(!1),jt&&jt(B,H))},Se=(B,H,W,K)=>{if(Pt){if(Gr.length===H.length&&Gr.every((B,W)=>B===H[W]))return}else if(Gr===H)return;Lt&&Lt(B,H,W,K),Xr(H)},Tn=ce.useRef(!1),Ce=(B,H,W="selectOption",K="options")=>{let Y=W,ie=H;if(Pt){ie=Array.isArray(Gr)?Gr.slice():[],0;const B=PG(ie,B=>At(H,B));-1===B?ie.push(H):"freeSolo"!==K&&(ie.splice(B,1),Y="removeOption")}en(B,ie),Se(B,ie,Y,{option:H}),rt||B&&(B.ctrlKey||B.metaKey)||_e(B,Y),(!0===ue||"touch"===ue&&Tn.current||"mouse"===ue&&!Tn.current)&&Er.current.blur()},Oe=(B,H)=>{if(!Pt)return;""===Kr&&_e(B,"toggleInput");let W=Dr;-1===Dr?""===Kr&&"previous"===H&&(W=Gr.length-1):(W+="next"===H?1:-1,W<0&&(W=0),W===Gr.length&&(W=-1)),W=function(B,H){if(-1===B)return-1;let W=B;for(;;){if("next"===H&&W===Gr.length||"previous"===H&&-1===W)return-1;const B=Ar.querySelector(`[data-tag-index="${W}"]`);if(B&&B.hasAttribute("tabindex")&&!B.disabled&&"true"!==B.getAttribute("aria-disabled"))return W;W+="next"===H?1:-1}}(W,H),Hr(W),Cn(W)},Ee=B=>{tr.current=!0,Yr(""),Nt&&Nt(B,"","clear"),Se(B,Pt?[]:null,"clear")},Te=B=>H=>{if(B.onKeyDown&&B.onKeyDown(H),!H.defaultMuiPrevented&&(-1!==Dr&&-1===["ArrowLeft","ArrowRight"].indexOf(H.key)&&(Hr(-1),Cn(-1)),229!==H.which))switch(H.key){case"Home":fn&&xt&&(H.preventDefault(),En({diff:"start",direction:"next",reason:"keyboard",event:H}));break;case"End":fn&&xt&&(H.preventDefault(),En({diff:"end",direction:"previous",reason:"keyboard",event:H}));break;case"PageUp":H.preventDefault(),En({diff:-5,direction:"previous",reason:"keyboard",event:H}),xe(H);break;case"PageDown":H.preventDefault(),En({diff:5,direction:"next",reason:"keyboard",event:H}),xe(H);break;case"ArrowDown":H.preventDefault(),En({diff:1,direction:"next",reason:"keyboard",event:H}),xe(H);break;case"ArrowUp":H.preventDefault(),En({diff:-1,direction:"previous",reason:"keyboard",event:H}),xe(H);break;case"ArrowLeft":Oe(H,"previous");break;case"ArrowRight":Oe(H,"next");break;case"Enter":if(-1!==qr.current&&fn){const B=mn[qr.current],W=!!vt&&vt(B);if(H.preventDefault(),W)return;Ce(H,B,"selectOption"),K&&Er.current.setSelectionRange(Er.current.value.length,Er.current.value.length)}else mt&&""!==Kr&&!1===dn&&(Pt&&H.preventDefault(),Ce(H,Kr,"createOption","freeSolo"));break;case"Escape":fn?(H.preventDefault(),H.stopPropagation(),_e(H,"escape")):pe&&(""!==Kr||Pt&&Gr.length>0)&&(H.preventDefault(),H.stopPropagation(),Ee(H));break;case"Backspace":if(Pt&&!Vt&&""===Kr&&Gr.length>0){const B=-1===Dr?Gr.length-1:Dr,W=Gr.slice();W.splice(B,1),Se(H,W,"removeOption",{option:Gr[B]})}break;case"Delete":if(Pt&&!Vt&&""===Kr&&Gr.length>0&&-1!==Dr){const B=Dr,W=Gr.slice();W.splice(B,1),Se(H,W,"removeOption",{option:Gr[B]})}}},Re=B=>{Qr(!0),zt&&!tr.current&&xe(B)},Ie=B=>{H(Mr)?Er.current.focus():(Qr(!1),rr.current=!0,tr.current=!1,ie&&-1!==qr.current&&fn?Ce(B,mn[qr.current],"blur"):ie&&mt&&""!==Kr?Ce(B,Kr,"blur","freeSolo"):de&&en(B,Gr),_e(B,"blur"))},Me=B=>{const H=B.target.value;Kr!==H&&(Yr(H),un(!1),Nt&&Nt(B,H,"input")),""===H?Je||Pt||Se(B,null,"clear"):xe(B)},Ae=B=>{const H=Number(B.currentTarget.getAttribute("data-option-index"));qr.current!==H&&On({event:B,index:H,reason:"mouse"})},Pe=B=>{On({event:B,index:Number(B.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Tn.current=!0},Ne=B=>{const H=Number(B.currentTarget.getAttribute("data-option-index"));Ce(B,mn[H],"selectOption"),Tn.current=!1},je=B=>H=>{const W=Gr.slice();W.splice(B,1),Se(H,W,"removeOption",{option:Gr[B]})},Le=B=>{rn?_e(B,"toggleInput"):xe(B)},De=B=>{B.currentTarget.contains(B.target)&&B.target.getAttribute("id")!==Qt&&B.preventDefault()},Fe=B=>{B.currentTarget.contains(B.target)&&(Er.current.focus(),Xt&&rr.current&&Er.current.selectionEnd-Er.current.selectionStart===0&&Er.current.select(),rr.current=!1)},$e=B=>{st||""!==Kr&&rn||Le(B)};let zn=mt&&Kr.length>0;zn=zn||(Pt?Gr.length>0:null!==Gr);let Bn=mn;if(wt){new Map;Bn=mn.reduce((B,H,W)=>{const K=wt(H);return B.length>0&&B[B.length-1].group===K?B[B.length-1].options.push(H):B.push({key:W,index:W,group:K,options:[H]}),B},[])}return st&&Jr&&Ie(),{getRootProps:(B={})=>a({"aria-owns":kn?`${Qt}-listbox`:null},B,{onKeyDown:Te(B),onMouseDown:De,onClick:Fe}),getInputLabelProps:()=>({id:`${Qt}-label`,htmlFor:Qt}),getInputProps:()=>({id:Qt,value:Kr,onBlur:Ie,onFocus:Re,onChange:Me,onMouseDown:$e,"aria-activedescendant":fn?"":null,"aria-autocomplete":K?"both":"list","aria-controls":kn?`${Qt}-listbox`:void 0,"aria-expanded":kn,autoComplete:"off",ref:Er,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:st}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ee}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Le}),getTagProps:({index:B})=>a({key:B,"data-tag-index":B,tabIndex:-1},!Vt&&{onDelete:je(B)}),getListboxProps:()=>({role:"listbox",id:`${Qt}-listbox`,"aria-labelledby":`${Qt}-label`,ref:In,onMouseDown:B=>{B.preventDefault()}}),getOptionProps:({index:B,option:H})=>{var W;const K=(Pt?Gr:[Gr]).some(B=>null!=B&&At(H,B)),Y=!!vt&&vt(H);return{key:null!=(W=null==yt?void 0:yt(H))?W:er(H),tabIndex:-1,role:"option",id:`${Qt}-option-${B}`,onMouseMove:Ae,onClick:Ne,onTouchStart:Pe,"data-option-index":B,"aria-disabled":Y,"aria-selected":K}},id:Qt,inputValue:Kr,value:Gr,dirty:zn,expanded:fn&&Ar,popupOpen:fn,focused:Jr||-1!==Dr,anchorEl:Ar,setAnchorEl:Fr,focusedTag:Dr,groupedOptions:Bn}}(a({},pe,{componentName:"Autocomplete"})),Hn=!wt&&!St&&kn&&!Hr,Vn=(!jt||!0===Lt)&&!1!==Lt,{onMouseDown:qn}=rn(),{ref:Wn}=null!=Jt?Jt:{},Gn=fn(),{ref:Xn}=Gn,Zn=s(Gn,qW),Kn=Fa(Xn,Wn),Yn=Dt||(B=>{var H;return null!=(H=B.label)?H:B}),oo=a({},pe,{disablePortal:At,expanded:Cn,focused:Rn,fullWidth:Ft,getOptionLabel:Yn,hasClearIcon:Hn,hasPopupIcon:Vn,inputFocused:-1===In,popupOpen:En,size:Yr}),so=(B=>{const{classes:H,disablePortal:W,expanded:K,focused:Y,fullWidth:ie,hasClearIcon:ce,hasPopupIcon:ue,inputFocused:de,popupOpen:pe,size:fe}=B;return U({root:["root",K&&"expanded",Y&&"focused",ie&&"fullWidth",ce&&"hasClearIcon",ue&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",de&&"inputFocused"],tag:["tag",`tagSize${Zi(fe)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",pe&&"popupIndicatorOpen"],popper:["popper",W&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]},mK,H)})(oo);let ao;if(tr&&gn.length>0){const t=B=>a({className:so.tag,disabled:St},dn(B));ao=Xr?Xr(gn,t,oo):gn.map((B,H)=>K.jsx(xz,a({label:Yn(B),size:Yr},t({index:H}),st)))}if(Vt>-1&&Array.isArray(ao)){const B=ao.length-Vt;!Rn&&B>0&&(ao=ao.splice(0,Vt),ao.push(K.jsx("span",{className:so.tag,children:Nt(B)},ao.length)))}const lo=Vr||(B=>K.jsxs("li",{children:[K.jsx(pG,{className:so.groupLabel,ownerState:oo,component:"div",children:B.group}),K.jsx(mG,{className:so.groupUl,ownerState:oo,children:B.children})]},B.key)),co=Gr||((B,H)=>Y.createElement("li",a({},B,{key:B.key}),Yn(H))),Ve=(B,H)=>{const W=mn({option:B,index:H});return co(a({},W,{className:so.option}),B,{selected:W["aria-selected"],index:H,inputValue:Bn},oo)},uo=null!=(W=Jr.clearIndicator)?W:yt.clearIndicator,fo=null!=(ie=Jr.paper)?ie:yt.paper,mo=null!=(ue=Jr.popper)?ue:yt.popper,vo=null!=(de=Jr.popupIndicator)?de:yt.popupIndicator,Ge=B=>K.jsx(YW,a({as:Fr,disablePortal:At,style:{width:Tn?Tn.clientWidth:null},ownerState:oo,role:"presentation",anchorEl:Tn,open:En},mo,{className:V(so.popper,null==mo?void 0:mo.className),children:K.jsx(JW,a({ownerState:oo,as:Ar},fo,{className:V(so.paper,null==fo?void 0:fo.className),children:B}))}));let yo=null;return Un.length>0?yo=Ge(K.jsx(dG,a({as:Xt,className:so.listbox,ownerState:oo},Zn,Jt,{ref:Kn,children:Un.map((B,H)=>$t?lo({key:B.key,group:B.group,children:B.options.map((H,W)=>Ve(H,B.index+W))}):Ve(B,H))}))):Qt&&0===Un.length?yo=Ge(K.jsx(QW,{className:so.loading,ownerState:oo,children:er})):0!==Un.length||jt||Qt||(yo=Ge(K.jsx(lG,{className:so.noOptions,ownerState:oo,role:"presentation",onMouseDown:B=>{B.preventDefault()},children:rr}))),K.jsxs(ce.Fragment,{children:[K.jsx(GW,a({ref:H,className:V(so.root,at),ownerState:oo},en(Qr),{children:qr({id:On,disabled:St,fullWidth:!0,size:"small"===Yr?"small":void 0,InputLabelProps:nn(),InputProps:a({ref:zn,className:so.inputRoot,startAdornment:ao,onClick:B=>{B.target===B.currentTarget&&qn(B)}},(Hn||Vn)&&{endAdornment:K.jsxs(XW,{className:so.endAdornment,ownerState:oo,children:[Hn?K.jsx(ZW,a({},un(),{"aria-label":mt,title:mt,ownerState:oo},uo,{className:V(so.clearIndicator,null==uo?void 0:uo.className),children:lt})):null,Vn?K.jsx(KW,a({},cn(),{disabled:St,"aria-label":En?vt:Mr,title:En?vt:Mr,ownerState:oo},vo,{className:V(so.popupIndicator,null==vo?void 0:vo.className),children:Dr})):null]})}),inputProps:a({className:so.input,disabled:St,readOnly:Hr},rn())})})),Tn?yo:null]})}),bG=yG,_G="MuiAutocomplete-listbox",xG={slotProps:{paper:{elevation:6}}};var CG=Y.forwardRef((B,H)=>{const{renderInput:W,ListboxProps:K={},...ie}=B,ce={...xG,...ie,slotProps:{...xG.slotProps,...ie.slotProps,paper:{...xG.slotProps?.paper,...ie.slotProps?.paper}}};return Y.createElement(bG,{...ce,ListboxProps:{...K,className:V([_G,`${_G}Size${ue=ie.size||"medium",ue?ue[0].toUpperCase()+ue.slice(1):""}`,K.className])},renderInput:H=>W?.(function(B,H){const W=B;return H.size&&(W.size=H.size),W}(H,B)),ref:H});var ue});const OG=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],EG=["component","slots","slotProps"],MG=["component"];function zK(B,H){const{className:W,elementType:K,ownerState:Y,externalForwardedProps:ie,getSlotOwnerState:ce,internalForwardedProps:ue}=H,de=s(H,OG),{component:pe,slots:fe={[B]:void 0},slotProps:ke={[B]:void 0}}=ie,Je=s(ie,EG),rt=fe[B]||K,st=pf(ke[B],Y),at=If(a({className:W},de,{externalForwardedProps:"root"===B?Je:void 0,externalSlotProps:st})),{props:{component:lt},internalRef:pt}=at,ht=s(at.props,MG),mt=Fa(pt,null==st?void 0:st.ref,H.ref),vt=ce?ce(ht):{},yt=a({},Y,vt),bt="root"===B?lt||pe:lt,wt=af(rt,a({},"root"===B&&!pe&&!fe[B]&&ue,"root"!==B&&!fe[B]&&ue,ht,bt&&{as:bt},{ref:mt}),yt);return Object.keys(vt).forEach(B=>{delete wt[B]}),[rt,wt]}function VK(B){return Mo("MuiAlert",B)}const IG=ta("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),TG=Cz(K.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),LG=Cz(K.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),NG=Cz(K.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),DG=Cz(K.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),$G=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],zG=xU(),BG=Ti(Ls,{name:"MuiAlert",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,H[W.variant],H[`${W.variant}${Zi(W.color||W.severity)}`]]}})(({theme:B})=>{const H="light"===B.palette.mode?li.darken:li.lighten,W="light"===B.palette.mode?li.lighten:li.darken;return a({},B.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(B.palette).filter(([,B])=>B.main&&B.light).map(([K])=>({props:{colorSeverity:K,variant:"standard"},style:{color:B.vars?B.vars.palette.Alert[`${K}Color`]:H(B.palette[K].light,.6),backgroundColor:B.vars?B.vars.palette.Alert[`${K}StandardBg`]:W(B.palette[K].light,.9),[`& .${IG.icon}`]:B.vars?{color:B.vars.palette.Alert[`${K}IconColor`]}:{color:B.palette[K].main}}})),...Object.entries(B.palette).filter(([,B])=>B.main&&B.light).map(([W])=>({props:{colorSeverity:W,variant:"outlined"},style:{color:B.vars?B.vars.palette.Alert[`${W}Color`]:H(B.palette[W].light,.6),border:`1px solid ${(B.vars||B).palette[W].light}`,[`& .${IG.icon}`]:B.vars?{color:B.vars.palette.Alert[`${W}IconColor`]}:{color:B.palette[W].main}}})),...Object.entries(B.palette).filter(([,B])=>B.main&&B.dark).map(([H])=>({props:{colorSeverity:H,variant:"filled"},style:a({fontWeight:B.typography.fontWeightMedium},B.vars?{color:B.vars.palette.Alert[`${H}FilledColor`],backgroundColor:B.vars.palette.Alert[`${H}FilledBg`]}:{backgroundColor:"dark"===B.palette.mode?B.palette[H].dark:B.palette[H].main,color:B.palette.getContrastText(B.palette[H].main)})}))]})}),UG=Ti("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(B,H)=>H.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),HG=Ti("div",{name:"MuiAlert",slot:"Message",overridesResolver:(B,H)=>H.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),VG=Ti("div",{name:"MuiAlert",slot:"Action",overridesResolver:(B,H)=>H.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),WG={success:K.jsx(TG,{fontSize:"inherit"}),warning:K.jsx(LG,{fontSize:"inherit"}),error:K.jsx(NG,{fontSize:"inherit"}),info:K.jsx(DG,{fontSize:"inherit"})},GG=ce.forwardRef(function(B,H){const W=zG({props:B,name:"MuiAlert"}),{action:Y,children:ie,className:ce,closeText:ue="Close",color:de,components:pe={},componentsProps:fe={},icon:ke,iconMapping:Je=WG,onClose:rt,role:st="alert",severity:at="success",slotProps:lt={},slots:pt={},variant:ht="standard"}=W,mt=s(W,$G),vt=a({},W,{color:de,severity:at,variant:ht,colorSeverity:de||at}),yt=(B=>{const{variant:H,color:W,severity:K,classes:Y}=B;return U({root:["root",`color${Zi(W||K)}`,`${H}${Zi(W||K)}`,`${H}`],icon:["icon"],message:["message"],action:["action"]},VK,Y)})(vt),bt={slots:a({closeButton:pe.CloseButton,closeIcon:pe.CloseIcon},pt),slotProps:a({},fe,lt)},[wt,xt]=zK("closeButton",{elementType:Cl,externalForwardedProps:bt,ownerState:vt}),[St,kt]=zK("closeIcon",{elementType:DW,externalForwardedProps:bt,ownerState:vt});return K.jsxs(BG,a({role:st,elevation:0,ownerState:vt,className:V(yt.root,ce),ref:H},mt,{children:[!1!==ke?K.jsx(UG,{ownerState:vt,className:yt.icon,children:ke||Je[at]||WG[at]}):null,K.jsx(HG,{ownerState:vt,className:yt.message,children:ie}),null!=Y?K.jsx(VG,{ownerState:vt,className:yt.action,children:Y}):null,null==Y&&rt?K.jsx(VG,{ownerState:vt,className:yt.action,children:K.jsx(wt,a({size:"small","aria-label":ue,title:ue,color:"inherit",onClick:rt},xt,{children:K.jsx(St,a({fontSize:"small"},kt))}))}):null]}))}),KG=sc(GG)(({theme:B,severity:H,color:W,variant:K,ownerState:Y})=>{const ie="small"===Y.size,ce=function(B,H,W,K){const Y=H||B;return Y?"filled"===W?{"& .MuiButton-containedInherit:not(.Mui-disabled)":{color:K.palette[Y].main,backgroundColor:"rgba(255, 255, 255, 1)","&:hover":{backgroundColor:"rgba(255, 255, 255, .96)"}},"& .MuiButton-outlinedInherit:not(.Mui-disabled):hover":{backgroundColor:K.palette[Y].dark},"& a.MuiButtonBase-root.MuiButton-containedInherit:not(.Mui-disabled)":{[Ol]:{color:K.palette[Y].main}}}:{"&.MuiAlert-root":{color:K.palette.text.secondary},"& .MuiCloseButton-root":{color:K.palette.action.active},"& .MuiButton-containedInherit:not(.Mui-disabled)":{backgroundColor:K.palette[Y].main,color:K.palette[Y].contrastText,"&:hover":{backgroundColor:K.palette[Y].dark,color:K.palette[Y].contrastText}},"& .MuiButton-outlinedInherit:not(.Mui-disabled)":{borderColor:K.palette[Y].main,color:K.palette[Y].main,"&:hover":{backgroundColor:Rs(K.palette[Y].main,.08),color:K.palette[Y].main}},"& a.MuiButtonBase-root.MuiButton-containedInherit:not(.Mui-disabled)":{[Ol]:{color:K.palette[Y].contrastText}},"& a.MuiButtonBase-root.MuiButton-outlinedInherit:not(.Mui-disabled)":{[Ol]:{color:K.palette[Y].main}}}:{}}(H,W,K,B),ue=function(B,H){return"small"!==B.size?{}:{"& .MuiButtonBase-root.MuiButton-root":{fontSize:H.typography.caption.fontSize,letterSpacing:H.typography.caption.letterSpacing,lineHeight:1},"& .MuiButtonBase-root.MuiButton-contained":{padding:"8px 9px"},"& .MuiButtonBase-root.MuiButton-outlined":{padding:"7px 9px"}}}(Y,B),de=ie?{...B.typography.caption,fontWeight:B.typography.subtitle2.fontWeight,lineHeight:B.typography.subtitle2.lineHeight}:B.typography.subtitle2,pe=ie?{...B.typography.caption,lineHeight:B.typography.body2.lineHeight}:{};return{borderRadius:Y.square?void 0:B.shape.borderRadius*B.shape.__unstableBorderRadiusMultipliers[2],padding:ie?B.spacing(1.5):B.spacing(1.5,2),"& .MuiAlert-message":{width:"100%",padding:0,minHeight:ie?"28px":"31px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:ie?B.spacing(1):B.spacing(1.5),...pe},"& .MuiAlertTitle-root":{marginBottom:0,lineHeight:"inherit",marginRight:ie?B.spacing(.25):B.spacing(.5),marginTop:0,...de},"& .MuiAlert-icon":{fontSize:ie?"18px":"22px",padding:ie?B.spacing(.25):0,paddingTop:ie?"5px":B.spacing(.5),marginRight:ie?B.spacing(.5):B.spacing(1.5)},"& .MuiAlert-action":{padding:ie?B.spacing(.25,0,0):0,marginLeft:ie?B.spacing(.5):B.spacing(1)},"&.MuiAlert-filledWarning":{color:B.palette.common.white},...ue,...ce}}),{slots:JG,classNames:QG}=tc("Alert",["actions","content"]),eX=sc("div",JG.content)(()=>({flexGrow:1,paddingTop:"6px"})),tX=sc("div",JG.content)(({theme:B})=>({alignItems:"center",display:"flex",flexWrap:"wrap",gap:B.spacing(.25),maxWidth:"800px"})),aY=({children:B,...H})=>Y.createElement(eX,{...H},Y.createElement(tX,null,B)),rX=sc("div")(({theme:B,ownerState:H})=>({display:"flex",alignItems:"flex-start",flexWrap:"wrap",gap:"small"===H.size?B.spacing(.5):B.spacing(1)})),nX={closeText:"Close",severity:"success",size:"medium"},iX=Y.forwardRef((B,H)=>{const{onClose:W,action:K,secondaryAction:ie,children:ce,size:ue,...de}={...nX,...B},pe=Boolean(K||ie);return Y.createElement(KG,{iconMapping:{success:Y.createElement(dY,null),error:Y.createElement(hY,null),info:Y.createElement(fY,null),warning:Y.createElement(mY,null)},...de,ref:H,action:!!W&&Y.createElement(vV,{color:"inherit",onClick:W,slotProps:{icon:{fontSize:"small"===ue?"tiny":"small"}},title:de.closeText,"aria-label":de.closeText}),ownerState:{size:ue,square:de.square}},Y.createElement(aY,{className:QG.content},ce),pe&&Y.createElement(rX,{className:QG.actions,ownerState:{size:ue}},ie,K))});iX.defaultProps=nX;var aX=iX;function dY(){return Y.createElement(ou,{viewBox:"0 0 24 24",fontSize:"inherit"},Y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.25C10.7196 2.25 9.45176 2.50219 8.26884 2.99217C7.08591 3.48216 6.01108 4.20034 5.10571 5.10571C4.20034 6.01108 3.48216 7.08591 2.99217 8.26884C2.50219 9.45176 2.25 10.7196 2.25 12C2.25 13.2804 2.50219 14.5482 2.99217 15.7312C3.48216 16.9141 4.20034 17.9889 5.10571 18.8943C6.01108 19.7997 7.08591 20.5178 8.26884 21.0078C9.45176 21.4978 10.7196 21.75 12 21.75C13.2804 21.75 14.5482 21.4978 15.7312 21.0078C16.9141 20.5178 17.9889 19.7997 18.8943 18.8943C19.7997 17.9889 20.5178 16.9141 21.0078 15.7312C21.4978 14.5482 21.75 13.2804 21.75 12C21.75 10.7196 21.4978 9.45176 21.0078 8.26884C20.5178 7.08591 19.7997 6.01108 18.8943 5.10571C17.9889 4.20034 16.9141 3.48216 15.7312 2.99217C14.5482 2.50219 13.2804 2.25 12 2.25ZM16.2415 10.0563C16.5344 9.76339 16.5344 9.28852 16.2415 8.99563C15.9486 8.70273 15.4737 8.70273 15.1809 8.99563L10.7631 13.4134L8.81939 11.4697C8.5265 11.1768 8.05163 11.1768 7.75873 11.4697C7.46584 11.7626 7.46584 12.2374 7.75873 12.5303L10.2328 15.0044C10.3734 15.145 10.5642 15.224 10.7631 15.224C10.962 15.224 11.1528 15.145 11.2934 15.0044L16.2415 10.0563Z"}))}function fY(){return Y.createElement(ou,{viewBox:"0 0 24 24",fontSize:"inherit"},Y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.75 2C17.1348 2 21.5 6.36522 21.5 11.75C21.5 17.1348 17.1348 21.5 11.75 21.5C6.36522 21.5 2 17.1348 2 11.75C2 6.36522 6.36522 2 11.75 2ZM10.75 10C10.3358 10 10 10.3358 10 10.75C10 11.1642 10.3358 11.5 10.75 11.5H11V15.75C11 16.1642 11.3358 16.5 11.75 16.5H12.75C13.1642 16.5 13.5 16.1642 13.5 15.75C13.5 15.3358 13.1642 15 12.75 15H12.5V10.75C12.5 10.3618 12.2051 10.0425 11.8271 10.0039L11.75 10H10.75ZM11.4502 6.75C10.8979 6.75 10.4502 7.19772 10.4502 7.75C10.4502 8.30228 10.8979 8.75 11.4502 8.75H11.46L11.5625 8.74512C12.0666 8.69378 12.46 8.26767 12.46 7.75C12.46 7.23233 12.0666 6.80622 11.5625 6.75488L11.46 6.75H11.4502Z"}))}function hY(){return Y.createElement(ou,{viewBox:"0 0 24 24",fontSize:"inherit"},Y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0498 2C15.2873 2 15.5191 2.04048 15.7422 2.13965C15.962 2.23735 16.136 2.37531 16.2803 2.51953L20.9805 7.21973C21.1247 7.36397 21.2627 7.53802 21.3604 7.75781C21.4595 7.98094 21.5 8.21268 21.5 8.4502V15.0498C21.5 15.2873 21.4595 15.5191 21.3604 15.7422C21.2627 15.962 21.1247 16.136 20.9805 16.2803L16.2803 20.9805C16.136 21.1247 15.962 21.2627 15.7422 21.3604C15.5191 21.4595 15.2873 21.5 15.0498 21.5H8.4502C8.21268 21.5 7.98094 21.4595 7.75781 21.3604C7.53802 21.2627 7.36397 21.1247 7.21973 20.9805L2.51953 16.2803C2.37531 16.136 2.23735 15.962 2.13965 15.7422C2.04048 15.5191 2 15.2873 2 15.0498V8.4502C2 8.21268 2.04048 7.98094 2.13965 7.75781C2.23735 7.53802 2.37531 7.36397 2.51953 7.21973L7.21973 2.51953C7.36397 2.37531 7.53802 2.23735 7.75781 2.13965C7.98094 2.04048 8.21268 2 8.4502 2H15.0498ZM11.75 14.75C11.1977 14.75 10.75 15.1977 10.75 15.75C10.75 16.3023 11.1977 16.75 11.75 16.75H11.7598L11.8623 16.7451C12.3665 16.6939 12.7598 16.2678 12.7598 15.75C12.7598 15.2322 12.3665 14.8061 11.8623 14.7549L11.7598 14.75H11.75ZM11.75 7C11.3358 7 11 7.33579 11 7.75V12.75C11 13.1642 11.3358 13.5 11.75 13.5C12.1642 13.5 12.5 13.1642 12.5 12.75V7.75C12.5 7.33579 12.1642 7 11.75 7Z"}))}function mY(){return Y.createElement(ou,{viewBox:"0 0 24 24",fontSize:"inherit"},Y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9302 3.00684C12.3573 3.03542 12.7729 3.16362 13.1431 3.38184C13.5618 3.6287 13.9074 3.98244 14.1451 4.40625L21.2456 16.6562L21.2915 16.751C21.4597 17.1668 21.524 17.6183 21.4781 18.0645C21.432 18.5106 21.2773 18.9397 21.0279 19.3125C20.7784 19.685 20.4411 19.9915 20.0464 20.2041C19.6517 20.4166 19.2105 20.529 18.7622 20.5322L18.7564 20.5332H4.75638C4.73812 20.5332 4.71964 20.5316 4.7017 20.5303C4.69631 20.5307 4.69052 20.5319 4.6851 20.5322L4.60795 20.5312L4.44388 20.5186C4.06393 20.476 3.69614 20.3543 3.36478 20.1611C2.98591 19.9403 2.66472 19.6317 2.42924 19.2617C2.19395 18.8919 2.051 18.4707 2.01127 18.0342C1.97166 17.5975 2.03678 17.1563 2.2017 16.75L2.2476 16.6562L9.34721 4.40625C9.58473 3.98261 9.93165 3.62868 10.3501 3.38184C10.7731 3.13252 11.2556 3.00006 11.7466 3L11.9302 3.00684ZM11.7574 15.7822C11.2051 15.7822 10.7574 16.2299 10.7574 16.7822C10.7574 17.3345 11.2051 17.7822 11.7574 17.7822H11.7671L11.8697 17.7773C12.3737 17.7259 12.7671 17.2998 12.7671 16.7822C12.7671 16.2647 12.3737 15.8386 11.8697 15.7871L11.7671 15.7822H11.7574ZM11.7564 8.0332C11.3424 8.03352 11.0064 8.36919 11.0064 8.7832V13.7832C11.0069 14.1968 11.3428 14.5329 11.7564 14.5332C12.1702 14.5332 12.5059 14.1969 12.5064 13.7832V8.7832C12.5064 8.36902 12.1706 8.03325 11.7564 8.0332Z"}))}const{slots:lX,classNames:uX}=tc("AlertAction",["root"]),pX=sc(pd,lX.root)({}),hX={color:"inherit",variant:"outlined"},fX=Y.forwardRef((B,H)=>{const W=Yi({props:{...hX,...B},name:lX.root.name});return Y.createElement(pX,{...W,size:"small",ref:H,className:V([[uX.root,W.className]]),ownerState:W})});fX.defaultProps=hX;var mX=fX;function _Y(B){return Mo("MuiSnackbarContent",B)}ta("MuiSnackbarContent",["root","message","action"]);const gX=["action","className","message","role"],vX=Ti(Ls,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(B,H)=>H.root})(({theme:B})=>{const H="light"===B.palette.mode?.8:.98,W=li.emphasize(B.palette.background.default,H);return a({},B.typography.body2,{color:B.vars?B.vars.palette.SnackbarContent.color:B.palette.getContrastText(W),backgroundColor:B.vars?B.vars.palette.SnackbarContent.bg:W,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(B.vars||B).shape.borderRadius,flexGrow:1,[B.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),yX=Ti("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(B,H)=>H.message})({padding:"8px 0"}),bX=Ti("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(B,H)=>H.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),wX=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiSnackbarContent"}),{action:Y,className:ie,message:ce,role:ue="alert"}=W,de=s(W,gX),pe=W,fe=(B=>{const{classes:H}=B;return U({root:["root"],action:["action"],message:["message"]},_Y,H)})(pe);return K.jsxs(vX,a({role:ue,square:!0,elevation:6,className:V(fe.root,ie),ownerState:pe,ref:H},de,{children:[K.jsx(yX,{className:fe.message,ownerState:pe,children:ce}),Y?K.jsx(bX,{className:fe.action,ownerState:pe,children:Y}):null]}))}),_X=wX;function RY(B){return Mo("MuiSnackbar",B)}ta("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const xX=["onEnter","onExited"],SX=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],PX=Ti("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,H[`anchorOrigin${Zi(W.anchorOrigin.vertical)}${Zi(W.anchorOrigin.horizontal)}`]]}})(({theme:B,ownerState:H})=>a({zIndex:(B.vars||B).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===H.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===H.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===H.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[B.breakpoints.up("sm")]:a({},"top"===H.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===H.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===H.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===H.anchorOrigin.horizontal&&{right:24,left:"auto"})})),LX=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiSnackbar"}),Y=ea(),ie={enter:Y.transitions.duration.enteringScreen,exit:Y.transitions.duration.leavingScreen},{action:ue,anchorOrigin:{vertical:de,horizontal:pe}={vertical:"bottom",horizontal:"left"},autoHideDuration:fe=null,children:ke,className:Je,ClickAwayListenerProps:rt,ContentProps:st,disableWindowBlurListener:at=!1,message:lt,open:pt,TransitionComponent:ht=Vp,transitionDuration:mt=ie,TransitionProps:{onEnter:vt,onExited:yt}={}}=W,bt=s(W.TransitionProps,xX),wt=s(W,SX),xt=a({},W,{anchorOrigin:{vertical:de,horizontal:pe},autoHideDuration:fe,disableWindowBlurListener:at,TransitionComponent:ht,transitionDuration:mt}),St=(B=>{const{classes:H,anchorOrigin:W}=B;return U({root:["root",`anchorOrigin${Zi(W.vertical)}${Zi(W.horizontal)}`]},RY,H)})(xt),{getRootProps:kt,onClickAway:Et}=function(B={}){const{autoHideDuration:H=null,disableWindowBlurListener:W=!1,onClose:K,open:Y,resumeHideDuration:ie}=B,ue=qa();ce.useEffect(()=>{if(Y)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(B){B.defaultPrevented||"Escape"!==B.key&&"Esc"!==B.key||null==K||K(B,"escapeKeyDown")}},[Y,K]);const de=Ba((B,H)=>{null==K||K(B,H)}),pe=Ba(B=>{K&&null!=B&&ue.start(B,()=>{de(null,"timeout")})});ce.useEffect(()=>(Y&&pe(H),ue.clear),[Y,H,pe,ue]);const fe=ue.clear,ke=ce.useCallback(()=>{null!=H&&pe(null!=ie?ie:.5*H)},[H,ie,pe]),f=B=>H=>{const W=B.onFocus;null==W||W(H),fe()},h=B=>H=>{const W=B.onMouseEnter;null==W||W(H),fe()},m=B=>H=>{const W=B.onMouseLeave;null==W||W(H),ke()};return ce.useEffect(()=>{if(!W&&Y)return window.addEventListener("focus",ke),window.addEventListener("blur",fe),()=>{window.removeEventListener("focus",ke),window.removeEventListener("blur",fe)}},[W,Y,ke,fe]),{getRootProps:(H={})=>{const W=a({},uf(B),uf(H));return a({role:"presentation"},H,W,{onBlur:(K=W,B=>{const H=K.onBlur;null==H||H(B),ke()}),onFocus:f(W),onMouseEnter:h(W),onMouseLeave:m(W)});var K},onClickAway:B=>{null==K||K(B,"clickaway")}}}(a({},xt)),[At,Pt]=ce.useState(!0),Lt=Af({elementType:PX,getSlotProps:kt,externalForwardedProps:wt,ownerState:xt,additionalProps:{ref:H},className:[St.root,Je]});return!pt&&At?null:K.jsx(nH,a({onClickAway:Et},rt,{children:K.jsx(PX,a({},Lt,{children:K.jsx(ht,a({appear:!0,in:pt,timeout:mt,direction:"top"===de?"down":"up",onEnter:(B,H)=>{Pt(!1),vt&&vt(B,H)},onExited:B=>{Pt(!0),yt&&yt(B)}},bt,{children:ke||K.jsx(_X,a({message:lt,action:ue},st))}))}))}))}),jX=LX;var FX=Y.forwardRef((B,H)=>Y.createElement(jX,{...B,ref:H}));const NX=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],DX=Ti(MW,{shouldForwardProp:B=>zi(B)||"classes"===B,name:"MuiInput",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[...eK(B,H),!W.disableUnderline&&H.underline]}})(({theme:B,ownerState:H})=>{let W="light"===B.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return B.vars&&(W=`rgba(${B.vars.palette.common.onBackgroundChannel} / ${B.vars.opacity.inputUnderline})`),a({position:"relative"},H.formControl&&{"label + &":{marginTop:16}},!H.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(B.vars||B).palette[H.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:B.transitions.create("transform",{duration:B.transitions.duration.shorter,easing:B.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${LW.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${LW.error}`]:{"&::before, &::after":{borderBottomColor:(B.vars||B).palette.error.main}},"&::before":{borderBottom:`1px solid ${W}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:B.transitions.create("border-bottom-color",{duration:B.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${LW.disabled}, .${LW.error}):before`]:{borderBottom:`2px solid ${(B.vars||B).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${W}`}},[`&.${LW.disabled}:before`]:{borderBottomStyle:"dotted"}})}),eZ=Ti(IW,{name:"MuiInput",slot:"Input",overridesResolver:tK})({}),tZ=ce.forwardRef(function(B,H){var W,Y,ie,ce;const ue=Yi({props:B,name:"MuiInput"}),{disableUnderline:de,components:pe={},componentsProps:fe,fullWidth:ke=!1,inputComponent:Je="input",multiline:rt=!1,slotProps:st,slots:at={},type:lt="text"}=ue,pt=s(ue,NX),ht=(B=>{const{classes:H,disableUnderline:W}=B;return a({},H,U({root:["root",!W&&"underline"],input:["input"]},aK,H))})(ue),mt={root:{ownerState:{disableUnderline:de}}},vt=(null!=st?st:fe)?Eo(null!=st?st:fe,mt):mt,yt=null!=(W=null!=(Y=at.root)?Y:pe.Root)?W:DX,bt=null!=(ie=null!=(ce=at.input)?ce:pe.Input)?ie:eZ;return K.jsx(PW,a({slots:{root:yt,input:bt},slotProps:vt,fullWidth:ke,inputComponent:Je,multiline:rt,ref:H,type:lt},pt,{classes:ht}))});tZ.muiName="Input";const rZ=tZ,oZ=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],iZ=Ti(MW,{shouldForwardProp:B=>zi(B)||"classes"===B,name:"MuiFilledInput",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[...eK(B,H),!W.disableUnderline&&H.underline]}})(({theme:B,ownerState:H})=>{var W;const K="light"===B.palette.mode,Y=K?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",ie=K?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",ce=K?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",ue=K?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return a({position:"relative",backgroundColor:B.vars?B.vars.palette.FilledInput.bg:ie,borderTopLeftRadius:(B.vars||B).shape.borderRadius,borderTopRightRadius:(B.vars||B).shape.borderRadius,transition:B.transitions.create("background-color",{duration:B.transitions.duration.shorter,easing:B.transitions.easing.easeOut}),"&:hover":{backgroundColor:B.vars?B.vars.palette.FilledInput.hoverBg:ce,"@media (hover: none)":{backgroundColor:B.vars?B.vars.palette.FilledInput.bg:ie}},[`&.${FW.focused}`]:{backgroundColor:B.vars?B.vars.palette.FilledInput.bg:ie},[`&.${FW.disabled}`]:{backgroundColor:B.vars?B.vars.palette.FilledInput.disabledBg:ue}},!H.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(W=(B.vars||B).palette[H.color||"primary"])?void 0:W.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:B.transitions.create("transform",{duration:B.transitions.duration.shorter,easing:B.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${FW.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${FW.error}`]:{"&::before, &::after":{borderBottomColor:(B.vars||B).palette.error.main}},"&::before":{borderBottom:`1px solid ${B.vars?`rgba(${B.vars.palette.common.onBackgroundChannel} / ${B.vars.opacity.inputUnderline})`:Y}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:B.transitions.create("border-bottom-color",{duration:B.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${FW.disabled}, .${FW.error}):before`]:{borderBottom:`1px solid ${(B.vars||B).palette.text.primary}`},[`&.${FW.disabled}:before`]:{borderBottomStyle:"dotted"}},H.startAdornment&&{paddingLeft:12},H.endAdornment&&{paddingRight:12},H.multiline&&a({padding:"25px 12px 8px"},"small"===H.size&&{paddingTop:21,paddingBottom:4},H.hiddenLabel&&{paddingTop:16,paddingBottom:17},H.hiddenLabel&&"small"===H.size&&{paddingTop:8,paddingBottom:9}))}),sZ=Ti(IW,{name:"MuiFilledInput",slot:"Input",overridesResolver:tK})(({theme:B,ownerState:H})=>a({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!B.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===B.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===B.palette.mode?null:"#fff",caretColor:"light"===B.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},B.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[B.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===H.size&&{paddingTop:21,paddingBottom:4},H.hiddenLabel&&{paddingTop:16,paddingBottom:17},H.startAdornment&&{paddingLeft:0},H.endAdornment&&{paddingRight:0},H.hiddenLabel&&"small"===H.size&&{paddingTop:8,paddingBottom:9},H.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),aZ=ce.forwardRef(function(B,H){var W,Y,ie,ce;const ue=Yi({props:B,name:"MuiFilledInput"}),{components:de={},componentsProps:pe,fullWidth:fe=!1,inputComponent:ke="input",multiline:Je=!1,slotProps:rt,slots:st={},type:at="text"}=ue,lt=s(ue,oZ),pt=a({},ue,{fullWidth:fe,inputComponent:ke,multiline:Je,type:at}),ht=(B=>{const{classes:H,disableUnderline:W}=B;return a({},H,U({root:["root",!W&&"underline"],input:["input"]},pK,H))})(ue),mt={root:{ownerState:pt},input:{ownerState:pt}},vt=(null!=rt?rt:pe)?Eo(mt,null!=rt?rt:pe):mt,yt=null!=(W=null!=(Y=st.root)?Y:de.Root)?W:iZ,bt=null!=(ie=null!=(ce=st.input)?ce:de.Input)?ie:sZ;return K.jsx(PW,a({slots:{root:yt,input:bt},componentsProps:vt,fullWidth:fe,inputComponent:ke,multiline:Je,ref:H,type:at},lt,{classes:ht}))});aZ.muiName="Input";const lZ=aZ;var cZ;const dZ=["children","classes","className","label","notched"],pZ=Ti("fieldset",{shouldForwardProp:zi})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),hZ=Ti("legend",{shouldForwardProp:zi})(({ownerState:B,theme:H})=>a({float:"unset",width:"auto",overflow:"hidden"},!B.withLabel&&{padding:0,lineHeight:"11px",transition:H.transitions.create("width",{duration:150,easing:H.transitions.easing.easeOut})},B.withLabel&&a({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:H.transitions.create("max-width",{duration:50,easing:H.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},B.notched&&{maxWidth:"100%",transition:H.transitions.create("max-width",{duration:100,easing:H.transitions.easing.easeOut,delay:50})})));const fZ=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],gZ=Ti(MW,{shouldForwardProp:B=>zi(B)||"classes"===B,name:"MuiOutlinedInput",slot:"Root",overridesResolver:eK})(({theme:B,ownerState:H})=>{const W="light"===B.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return a({position:"relative",borderRadius:(B.vars||B).shape.borderRadius,[`&:hover .${jW.notchedOutline}`]:{borderColor:(B.vars||B).palette.text.primary},"@media (hover: none)":{[`&:hover .${jW.notchedOutline}`]:{borderColor:B.vars?`rgba(${B.vars.palette.common.onBackgroundChannel} / 0.23)`:W}},[`&.${jW.focused} .${jW.notchedOutline}`]:{borderColor:(B.vars||B).palette[H.color].main,borderWidth:2},[`&.${jW.error} .${jW.notchedOutline}`]:{borderColor:(B.vars||B).palette.error.main},[`&.${jW.disabled} .${jW.notchedOutline}`]:{borderColor:(B.vars||B).palette.action.disabled}},H.startAdornment&&{paddingLeft:14},H.endAdornment&&{paddingRight:14},H.multiline&&a({padding:"16.5px 14px"},"small"===H.size&&{padding:"8.5px 14px"}))}),vZ=Ti(function ZY(B){const{className:H,label:W,notched:Y}=B,ie=s(B,dZ),ce=null!=W&&""!==W,ue=a({},B,{notched:Y,withLabel:ce});return K.jsx(pZ,a({"aria-hidden":!0,className:H,ownerState:ue},ie,{children:K.jsx(hZ,{ownerState:ue,children:ce?K.jsx("span",{children:W}):cZ||(cZ=K.jsx("span",{className:"notranslate",children:""}))})}))},{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(B,H)=>H.notchedOutline})(({theme:B})=>{const H="light"===B.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:B.vars?`rgba(${B.vars.palette.common.onBackgroundChannel} / 0.23)`:H}}),yZ=Ti(IW,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:tK})(({theme:B,ownerState:H})=>a({padding:"16.5px 14px"},!B.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===B.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===B.palette.mode?null:"#fff",caretColor:"light"===B.palette.mode?null:"#fff",borderRadius:"inherit"}},B.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[B.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===H.size&&{padding:"8.5px 14px"},H.multiline&&{padding:0},H.startAdornment&&{paddingLeft:0},H.endAdornment&&{paddingRight:0})),bZ=ce.forwardRef(function(B,H){var W,Y,ie,ue,de;const pe=Yi({props:B,name:"MuiOutlinedInput"}),{components:fe={},fullWidth:ke=!1,inputComponent:Je="input",label:rt,multiline:st=!1,notched:at,slots:lt={},type:pt="text"}=pe,ht=s(pe,fZ),mt=(B=>{const{classes:H}=B;return a({},H,U({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},cK,H))})(pe),vt=NW(),yt=YG({props:pe,muiFormControl:vt,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),bt=a({},pe,{color:yt.color||"primary",disabled:yt.disabled,error:yt.error,focused:yt.focused,formControl:vt,fullWidth:ke,hiddenLabel:yt.hiddenLabel,multiline:st,size:yt.size,type:pt}),wt=null!=(W=null!=(Y=lt.root)?Y:fe.Root)?W:gZ,xt=null!=(ie=null!=(ue=lt.input)?ue:fe.Input)?ie:yZ;return K.jsx(PW,a({slots:{root:wt,input:xt},renderSuffix:B=>K.jsx(vZ,{ownerState:bt,className:mt.notchedOutline,label:null!=rt&&""!==rt&&yt.required?de||(de=K.jsxs(ce.Fragment,{children:[rt," ","*"]})):rt,notched:void 0!==at?at:Boolean(B.startAdornment||B.filled||B.focused)}),fullWidth:ke,inputComponent:Je,multiline:st,ref:H,type:pt},ht,{classes:a({},mt,{notchedOutline:null})}))});bZ.muiName="Input";const wZ=bZ;function nZ(B){return Mo("MuiFormLabel",B)}const xZ=ta("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),SZ=["children","className","color","component","disabled","error","filled","focused","required"],kZ=Ti("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:B},H)=>a({},H.root,"secondary"===B.color&&H.colorSecondary,B.filled&&H.filled)})(({theme:B,ownerState:H})=>a({color:(B.vars||B).palette.text.secondary},B.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${xZ.focused}`]:{color:(B.vars||B).palette[H.color].main},[`&.${xZ.disabled}`]:{color:(B.vars||B).palette.text.disabled},[`&.${xZ.error}`]:{color:(B.vars||B).palette.error.main}})),OZ=Ti("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(B,H)=>H.asterisk})(({theme:B})=>({[`&.${xZ.error}`]:{color:(B.vars||B).palette.error.main}})),RZ=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiFormLabel"}),{children:Y,className:ie,component:ce="label"}=W,ue=s(W,SZ),de=YG({props:W,muiFormControl:NW(),states:["color","required","focused","disabled","error","filled"]}),pe=a({},W,{color:de.color||"primary",component:ce,disabled:de.disabled,error:de.error,filled:de.filled,focused:de.focused,required:de.required}),fe=(B=>{const{classes:H,color:W,focused:K,disabled:Y,error:ie,filled:ce,required:ue}=B;return U({root:["root",`color${Zi(W)}`,Y&&"disabled",ie&&"error",ce&&"filled",K&&"focused",ue&&"required"],asterisk:["asterisk",ie&&"error"]},nZ,H)})(pe);return K.jsxs(kZ,a({as:ce,ownerState:pe,className:V(fe.root,ie),ref:H},ue,{children:[Y,de.required&&K.jsxs(OZ,{ownerState:pe,"aria-hidden":!0,className:fe.asterisk,children:[" ","*"]})]}))}),IZ=RZ;function uZ(B){return Mo("MuiInputLabel",B)}ta("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const AZ=["disableAnimation","margin","shrink","variant","className"],TZ=Ti(IZ,{shouldForwardProp:B=>zi(B)||"classes"===B,name:"MuiInputLabel",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[{[`& .${xZ.asterisk}`]:H.asterisk},H.root,W.formControl&&H.formControl,"small"===W.size&&H.sizeSmall,W.shrink&&H.shrink,!W.disableAnimation&&H.animated,W.focused&&H.focused,H[W.variant]]}})(({theme:B,ownerState:H})=>a({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},H.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===H.size&&{transform:"translate(0, 17px) scale(1)"},H.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!H.disableAnimation&&{transition:B.transitions.create(["color","transform","max-width"],{duration:B.transitions.duration.shorter,easing:B.transitions.easing.easeOut})},"filled"===H.variant&&a({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===H.size&&{transform:"translate(12px, 13px) scale(1)"},H.shrink&&a({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===H.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===H.variant&&a({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===H.size&&{transform:"translate(14px, 9px) scale(1)"},H.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),PZ=ce.forwardRef(function(B,H){const W=Yi({name:"MuiInputLabel",props:B}),{disableAnimation:Y=!1,shrink:ie,className:ce}=W,ue=s(W,AZ),de=NW();let pe=ie;void 0===pe&&de&&(pe=de.filled||de.focused||de.adornedStart);const fe=YG({props:W,muiFormControl:de,states:["size","variant","required","focused"]}),ke=a({},W,{disableAnimation:Y,formControl:de,shrink:pe,size:fe.size,variant:fe.variant,required:fe.required,focused:fe.focused}),Je=(B=>{const{classes:H,formControl:W,size:K,shrink:Y,disableAnimation:ie,variant:ce,required:ue}=B;return a({},H,U({root:["root",W&&"formControl",!ie&&"animated",Y&&"shrink",K&&"normal"!==K&&`size${Zi(K)}`,ce],asterisk:[ue&&"asterisk"]},uZ,H))})(ke);return K.jsx(TZ,a({"data-shrink":pe,ownerState:ke,ref:H,className:V(Je.root,ce)},ue,{classes:Je}))}),LZ=PZ;function mZ(B){return Mo("MuiFormHelperText",B)}const jZ=ta("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var NZ;const DZ=["children","className","component","disabled","error","filled","focused","margin","required","variant"],zZ=Ti("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.root,W.size&&H[`size${Zi(W.size)}`],W.contained&&H.contained,W.filled&&H.filled]}})(({theme:B,ownerState:H})=>a({color:(B.vars||B).palette.text.secondary},B.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${jZ.disabled}`]:{color:(B.vars||B).palette.text.disabled},[`&.${jZ.error}`]:{color:(B.vars||B).palette.error.main}},"small"===H.size&&{marginTop:4},H.contained&&{marginLeft:14,marginRight:14})),BZ=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiFormHelperText"}),{children:Y,className:ie,component:ce="p"}=W,ue=s(W,DZ),de=YG({props:W,muiFormControl:NW(),states:["variant","size","disabled","error","filled","focused","required"]}),pe=a({},W,{component:ce,contained:"filled"===de.variant||"outlined"===de.variant,variant:de.variant,size:de.size,disabled:de.disabled,error:de.error,filled:de.filled,focused:de.focused,required:de.required}),fe=(B=>{const{classes:H,contained:W,size:K,disabled:Y,error:ie,filled:ce,focused:ue,required:de}=B;return U({root:["root",Y&&"disabled",ie&&"error",K&&`size${Zi(K)}`,W&&"contained",ue&&"focused",ce&&"filled",de&&"required"]},mZ,H)})(pe);return K.jsx(zZ,a({as:ce,ownerState:pe,className:V(fe.root,ie),ref:H},ue,{children:" "===Y?NZ||(NZ=K.jsx("span",{className:"notranslate",children:""})):Y}))}),UZ=BZ;function _Z(B){return Mo("MuiNativeSelect",B)}const HZ=ta("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),VZ=["className","disabled","error","IconComponent","inputRef","variant"],CZ=({ownerState:B,theme:H})=>a({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":a({},H.vars?{backgroundColor:`rgba(${H.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===H.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${HZ.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(H.vars||H).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===B.variant&&{"&&&":{paddingRight:32}},"outlined"===B.variant&&{borderRadius:(H.vars||H).shape.borderRadius,"&:focus":{borderRadius:(H.vars||H).shape.borderRadius},"&&&":{paddingRight:32}}),qZ=Ti("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:zi,overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.select,H[W.variant],W.error&&H.error,{[`&.${HZ.multiple}`]:H.multiple}]}})(CZ),EZ=({ownerState:B,theme:H})=>a({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(H.vars||H).palette.action.active,[`&.${HZ.disabled}`]:{color:(H.vars||H).palette.action.disabled}},B.open&&{transform:"rotate(180deg)"},"filled"===B.variant&&{right:7},"outlined"===B.variant&&{right:7}),WZ=Ti("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.icon,W.variant&&H[`icon${Zi(W.variant)}`],W.open&&H.iconOpen]}})(EZ),GZ=ce.forwardRef(function(B,H){const{className:W,disabled:Y,error:ie,IconComponent:ue,inputRef:de,variant:pe="standard"}=B,fe=s(B,VZ),ke=a({},B,{disabled:Y,variant:pe,error:ie}),Je=(B=>{const{classes:H,variant:W,disabled:K,multiple:Y,open:ie,error:ce}=B;return U({select:["select",W,K&&"disabled",Y&&"multiple",ce&&"error"],icon:["icon",`icon${Zi(W)}`,ie&&"iconOpen",K&&"disabled"]},_Z,H)})(ke);return K.jsxs(ce.Fragment,{children:[K.jsx(qZ,a({ownerState:ke,className:V(Je.select,W),disabled:Y,ref:de||H},fe)),B.multiple?null:K.jsx(WZ,{as:ue,ownerState:ke,className:Je.icon})]})}),XZ=GZ;function MZ(B){return Mo("MuiSelect",B)}const KZ=ta("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var YZ;const JZ=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],QZ=Ti("div",{name:"MuiSelect",slot:"Select",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[{[`&.${KZ.select}`]:H.select},{[`&.${KZ.select}`]:H[W.variant]},{[`&.${KZ.error}`]:H.error},{[`&.${KZ.multiple}`]:H.multiple}]}})(CZ,{[`&.${KZ.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),rK=Ti("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(B,H)=>{const{ownerState:W}=B;return[H.icon,W.variant&&H[`icon${Zi(W.variant)}`],W.open&&H.iconOpen]}})(EZ),nK=Ti("input",{shouldForwardProp:B=>Bi(B)&&"classes"!==B,name:"MuiSelect",slot:"NativeInput",overridesResolver:(B,H)=>H.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function FZ(B,H){return"object"==typeof H&&null!==H?B===H:String(B)===String(H)}function $Z(B){return null==B||"string"==typeof B&&!B.trim()}const oK=ce.forwardRef(function(B,H){var W;const{"aria-describedby":Y,"aria-label":ie,autoFocus:ue,autoWidth:de,children:pe,className:fe,defaultOpen:ke,defaultValue:Je,disabled:rt,displayEmpty:st,error:at=!1,IconComponent:lt,inputRef:pt,labelId:ht,MenuProps:mt={},multiple:vt,name:yt,onBlur:bt,onChange:wt,onClose:xt,onFocus:St,onOpen:kt,open:Et,readOnly:At,renderValue:Pt,SelectDisplayProps:Lt={},tabIndex:jt,value:Ft,variant:Nt="standard"}=B,Dt=s(B,JZ),[$t,zt]=Of({controlled:Ft,default:Je,name:"Select"}),[Bt,Vt]=Of({controlled:Et,default:ke,name:"Select"}),Xt=ce.useRef(null),Jt=ce.useRef(null),[Qt,er]=ce.useState(null),{current:tr}=ce.useRef(null!=Et),[rr,Er]=ce.useState(),Mr=Fa(H,pt),Ar=ce.useCallback(B=>{Jt.current=B,B&&er(B)},[]),Fr=null==Qt?void 0:Qt.parentNode;ce.useImperativeHandle(Mr,()=>({focus:()=>{Jt.current.focus()},node:Xt.current,value:$t}),[$t]),ce.useEffect(()=>{ke&&Bt&&Qt&&!tr&&(Er(de?null:Fr.clientWidth),Jt.current.focus())},[Qt,de]),ce.useEffect(()=>{ue&&Jt.current.focus()},[ue]),ce.useEffect(()=>{if(!ht)return;const B=xf(Jt.current).getElementById(ht);if(B){const t=()=>{getSelection().isCollapsed&&Jt.current.focus()};return B.addEventListener("click",t),()=>{B.removeEventListener("click",t)}}},[ht]);const Q=(B,H)=>{B?kt&&kt(H):xt&&xt(H),tr||(Er(de?null:Fr.clientWidth),Vt(B))},Dr=ce.Children.toArray(pe),te=B=>H=>{let W;if(H.currentTarget.hasAttribute("tabindex")){if(vt){W=Array.isArray($t)?$t.slice():[];const H=$t.indexOf(B.props.value);-1===H?W.push(B.props.value):W.splice(H,1)}else W=B.props.value;if(B.props.onClick&&B.props.onClick(H),$t!==W&&(zt(W),wt)){const K=H.nativeEvent||H,Y=new K.constructor(K.type,K);Object.defineProperty(Y,"target",{writable:!0,value:{value:W,name:yt}}),wt(Y,B)}vt||Q(!1,H)}},Hr=null!==Qt&&Bt;let Vr,qr;delete Dt["aria-invalid"];const Gr=[];let Xr=!1,Kr=!1;(OW({value:$t})||st)&&(Pt?Vr=Pt($t):Xr=!0);const Yr=Dr.map(B=>{if(!ce.isValidElement(B))return null;let H;if(vt){if(!Array.isArray($t))throw new Error(ko(2));H=$t.some(H=>FZ(H,B.props.value)),H&&Xr&&Gr.push(B.props.children)}else H=FZ($t,B.props.value),H&&Xr&&(qr=B.props.children);return H&&(Kr=!0),ce.cloneElement(B,{"aria-selected":H?"true":"false",onClick:te(B),onKeyUp:H=>{" "===H.key&&H.preventDefault(),B.props.onKeyUp&&B.props.onKeyUp(H)},role:"option",selected:H,value:void 0,"data-value":B.props.value})});Xr&&(Vr=vt?0===Gr.length?null:Gr.reduce((B,H,W)=>(B.push(H),W<Gr.length-1&&B.push(", "),B),[]):qr);let Jr,Qr=rr;!de&&tr&&Qt&&(Qr=Fr.clientWidth),Jr=void 0!==jt?jt:rt?null:0;const en=Lt.id||(yt?`mui-component-select-${yt}`:void 0),rn=a({},B,{variant:Nt,value:$t,open:Hr,error:at}),nn=(B=>{const{classes:H,variant:W,disabled:K,multiple:Y,open:ie,error:ce}=B;return U({select:["select",W,K&&"disabled",Y&&"multiple",ce&&"error"],icon:["icon",`icon${Zi(W)}`,ie&&"iconOpen",K&&"disabled"],nativeInput:["nativeInput"]},MZ,H)})(rn),cn=a({},mt.PaperProps,null==(W=mt.slotProps)?void 0:W.paper),un=Cf();return K.jsxs(ce.Fragment,{children:[K.jsx(QZ,a({ref:Ar,tabIndex:Jr,role:"combobox","aria-controls":un,"aria-disabled":rt?"true":void 0,"aria-expanded":Hr?"true":"false","aria-haspopup":"listbox","aria-label":ie,"aria-labelledby":[ht,en].filter(Boolean).join(" ")||void 0,"aria-describedby":Y,onKeyDown:B=>{At||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(B.key)&&(B.preventDefault(),Q(!0,B))},onMouseDown:rt||At?null:B=>{0===B.button&&(B.preventDefault(),Jt.current.focus(),Q(!0,B))},onBlur:B=>{!Hr&&bt&&(Object.defineProperty(B,"target",{writable:!0,value:{value:$t,name:yt}}),bt(B))},onFocus:St},Lt,{ownerState:rn,className:V(Lt.className,nn.select,fe),id:en,children:$Z(Vr)?YZ||(YZ=K.jsx("span",{className:"notranslate",children:""})):Vr})),K.jsx(nK,a({"aria-invalid":at,value:Array.isArray($t)?$t.join(","):$t,name:yt,ref:Xt,"aria-hidden":!0,onChange:B=>{const H=Dr.find(H=>H.props.value===B.target.value);void 0!==H&&(zt(H.props.value),wt&&wt(B,H))},tabIndex:-1,disabled:rt,className:nn.nativeInput,autoFocus:ue,ownerState:rn},Dt)),K.jsx(rK,{as:lt,className:nn.icon,ownerState:rn}),K.jsx(Uh,a({id:`menu-${yt||""}`,anchorEl:Fr,open:Hr,onClose:B=>{Q(!1,B)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},mt,{MenuListProps:a({"aria-labelledby":ht,role:"listbox","aria-multiselectable":vt?"true":void 0,disableListWrap:!0,id:un},mt.MenuListProps),slotProps:a({},mt.slotProps,{paper:a({},cn,{style:a({minWidth:Qr},null!=cn?cn.style:null)})}),children:Yr}))]})}),iK=oK,sK=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],lK=["root"],uK={name:"MuiSelect",overridesResolver:(B,H)=>H.root,shouldForwardProp:B=>zi(B)&&"variant"!==B,slot:"Root"},dK=Ti(rZ,uK)(""),hK=Ti(wZ,uK)(""),fK=Ti(lZ,uK)(""),gK=ce.forwardRef(function(B,H){const W=Yi({name:"MuiSelect",props:B}),{autoWidth:Y=!1,children:ie,classes:ue={},className:de,defaultOpen:pe=!1,displayEmpty:fe=!1,IconComponent:ke=$W,id:Je,input:rt,inputProps:st,label:at,labelId:lt,MenuProps:pt,multiple:ht=!1,native:mt=!1,onClose:vt,onOpen:yt,open:bt,renderValue:wt,SelectDisplayProps:xt,variant:St="outlined"}=W,kt=s(W,sK),Et=mt?XZ:iK,At=YG({props:W,muiFormControl:NW(),states:["variant","error"]}),Pt=At.variant||St,Lt=a({},W,{variant:Pt,classes:ue}),jt=(B=>{const{classes:H}=B;return H})(Lt),Ft=s(jt,lK),Nt=rt||{standard:K.jsx(dK,{ownerState:Lt}),outlined:K.jsx(hK,{label:at,ownerState:Lt}),filled:K.jsx(fK,{ownerState:Lt})}[Pt],Dt=Fa(H,Nt.ref);return K.jsx(ce.Fragment,{children:ce.cloneElement(Nt,a({inputComponent:Et,inputProps:a({children:ie,error:At.error,IconComponent:ke,variant:Pt,type:void 0,multiple:ht},mt?{id:Je}:{autoWidth:Y,defaultOpen:pe,displayEmpty:fe,labelId:lt,MenuProps:pt,onClose:vt,onOpen:yt,open:bt,renderValue:wt,SelectDisplayProps:a({id:Je},xt)},st,{classes:st?Eo(Ft,st.classes):Ft},rt?rt.props.inputProps:{})},(ht&&mt||fe)&&"outlined"===Pt?{notched:!0}:{},{ref:Dt,className:V(Nt.props.className,de,jt.root)},!rt&&{variant:Pt},kt))})});gK.muiName="Select";const vK=gK;function ZZ(B){return Mo("MuiTextField",B)}ta("MuiTextField",["root"]);const yK=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],bK={standard:rZ,filled:lZ,outlined:wZ},wK=Ti(aV,{name:"MuiTextField",slot:"Root",overridesResolver:(B,H)=>H.root})({}),_K=ce.forwardRef(function(B,H){const W=Yi({props:B,name:"MuiTextField"}),{autoComplete:Y,autoFocus:ie=!1,children:ce,className:ue,color:de="primary",defaultValue:pe,disabled:fe=!1,error:ke=!1,FormHelperTextProps:Je,fullWidth:rt=!1,helperText:st,id:at,InputLabelProps:lt,inputProps:pt,InputProps:ht,inputRef:mt,label:vt,maxRows:yt,minRows:bt,multiline:wt=!1,name:xt,onBlur:St,onChange:kt,onFocus:Et,placeholder:At,required:Pt=!1,rows:Lt,select:jt=!1,SelectProps:Ft,type:Nt,value:Dt,variant:$t="outlined"}=W,zt=s(W,yK),Bt=a({},W,{autoFocus:ie,color:de,disabled:fe,error:ke,fullWidth:rt,multiline:wt,required:Pt,select:jt,variant:$t}),Vt=(B=>{const{classes:H}=B;return U({root:["root"]},ZZ,H)})(Bt),Xt={};"outlined"===$t&&(lt&&void 0!==lt.shrink&&(Xt.notched=lt.shrink),Xt.label=vt),jt&&(Ft&&Ft.native||(Xt.id=void 0),Xt["aria-describedby"]=void 0);const Jt=Cf(at),Qt=st&&Jt?`${Jt}-helper-text`:void 0,er=vt&&Jt?`${Jt}-label`:void 0,tr=bK[$t],rr=K.jsx(tr,a({"aria-describedby":Qt,autoComplete:Y,autoFocus:ie,defaultValue:pe,fullWidth:rt,multiline:wt,name:xt,rows:Lt,maxRows:yt,minRows:bt,type:Nt,value:Dt,id:Jt,inputRef:mt,onBlur:St,onChange:kt,onFocus:Et,placeholder:At,inputProps:pt},Xt,ht));return K.jsxs(wK,a({className:V(Vt.root,ue),disabled:fe,error:ke,fullWidth:rt,ref:H,required:Pt,color:de,variant:$t,ownerState:Bt},zt,{children:[null!=vt&&""!==vt&&K.jsx(LZ,a({htmlFor:Jt,id:er},lt,{children:vt})),jt?K.jsx(vK,a({"aria-describedby":Qt,id:Jt,labelId:er,value:Dt,input:rr},Ft,{children:ce})):rr,st&&K.jsx(UZ,a({id:Qt},Je,{children:st}))]}))}),xK=_K,SK=Y.forwardRef((B,H)=>Y.createElement(ou,{viewBox:"0 0 24 24",...B,ref:H},Y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.46967 9.21967C5.76256 8.92678 6.23744 8.92678 6.53033 9.21967L12 14.6893L17.4697 9.21967C17.7626 8.92678 18.2374 8.92678 18.5303 9.21967C18.8232 9.51256 18.8232 9.98744 18.5303 10.2803L12.5303 16.2803C12.2374 16.5732 11.7626 16.5732 11.4697 16.2803L5.46967 10.2803C5.17678 9.98744 5.17678 9.51256 5.46967 9.21967Z"})));Y.forwardRef((B,H)=>{const{MenuProps:W={},...K}=B;return Y.createElement(vK,{...K,MenuProps:{...W,MenuListProps:{dense:"tiny"===K.size,...W.MenuListProps||{}}},ref:H})}).defaultProps={IconComponent:SK};const kK=sc(Y.forwardRef((B,H)=>{const W={...B};return W.select&&(W.SelectProps={IconComponent:SK,...W.SelectProps||{}},"tiny"===W.size&&(W.SelectProps.MenuProps={...W.SelectProps?.MenuProps||{},MenuListProps:{dense:!0,...W.SelectProps?.MenuProps?.MenuListProps||{}}})),"tiny"===W.size&&(W.InputLabelProps={size:"tiny",...W.InputLabelProps||{}}),Y.createElement(xK,{...W,ref:H})}))` | |
| 152 | + `),Ww,(H.vars||H).palette.action.hover)),Uw=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiSkeleton"}),{animation:X="pulse",className:oe,component:ie="span",height:ae,style:le,variant:ce="text",width:ue}=U,de=a(U,$w),pe=s({},U,{animation:X,component:ie,variant:ce,hasChildren:Boolean(de.children)}),fe=(W=>{const{classes:H,variant:U,animation:G,hasChildren:X,width:oe,height:ie}=W;return q({root:["root",U,G,X&&"withChildren",X&&!oe&&"fitContent",X&&!ie&&"heightAuto"]},rw,H)})(pe);return G.jsx(Hw,s({as:ie,ref:H,className:V(fe.root,oe),ownerState:pe},de,{style:s({width:ue,height:ae},le)}))});var Kw=X.forwardRef((W,H)=>X.createElement(Uw,{...W,ref:H}));function hw(W,H){function n(U,X){return G.jsx(Mu,s({"data-testid":`${H}Icon`,ref:X},U,{children:W}))}return n.muiName=Mu.muiName,ie.memo(ie.forwardRef(n))}const Gw=hw(G.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function gw(W){return Oo("MuiChip",W)}const Yw=Ei("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),Zw=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],Jw=os("div",{name:"MuiChip",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W,{color:G,iconColor:X,clickable:oe,onDelete:ie,size:ae,variant:le}=U;return[{[`& .${Yw.avatar}`]:H.avatar},{[`& .${Yw.avatar}`]:H[`avatar${Vr(ae)}`]},{[`& .${Yw.avatar}`]:H[`avatarColor${Vr(G)}`]},{[`& .${Yw.icon}`]:H.icon},{[`& .${Yw.icon}`]:H[`icon${Vr(ae)}`]},{[`& .${Yw.icon}`]:H[`iconColor${Vr(X)}`]},{[`& .${Yw.deleteIcon}`]:H.deleteIcon},{[`& .${Yw.deleteIcon}`]:H[`deleteIcon${Vr(ae)}`]},{[`& .${Yw.deleteIcon}`]:H[`deleteIconColor${Vr(G)}`]},{[`& .${Yw.deleteIcon}`]:H[`deleteIcon${Vr(le)}Color${Vr(G)}`]},H.root,H[`size${Vr(ae)}`],H[`color${Vr(G)}`],oe&&H.clickable,oe&&"default"!==G&&H[`clickableColor${Vr(G)})`],ie&&H.deletable,ie&&"default"!==G&&H[`deletableColor${Vr(G)}`],H[le],H[`${le}${Vr(G)}`]]}})(({theme:W,ownerState:H})=>{const U="light"===W.palette.mode?W.palette.grey[700]:W.palette.grey[300];return s({maxWidth:"100%",fontFamily:W.typography.fontFamily,fontSize:W.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(W.vars||W).palette.text.primary,backgroundColor:(W.vars||W).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:W.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Yw.disabled}`]:{opacity:(W.vars||W).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Yw.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:W.vars?W.vars.palette.Chip.defaultAvatarColor:U,fontSize:W.typography.pxToRem(12)},[`& .${Yw.avatarColorPrimary}`]:{color:(W.vars||W).palette.primary.contrastText,backgroundColor:(W.vars||W).palette.primary.dark},[`& .${Yw.avatarColorSecondary}`]:{color:(W.vars||W).palette.secondary.contrastText,backgroundColor:(W.vars||W).palette.secondary.dark},[`& .${Yw.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:W.typography.pxToRem(10)},[`& .${Yw.icon}`]:s({marginLeft:5,marginRight:-6},"small"===H.size&&{fontSize:18,marginLeft:4,marginRight:-4},H.iconColor===H.color&&s({color:W.vars?W.vars.palette.Chip.defaultIconColor:U},"default"!==H.color&&{color:"inherit"})),[`& .${Yw.deleteIcon}`]:s({WebkitTapHighlightColor:"transparent",color:W.vars?`rgba(${W.vars.palette.text.primaryChannel} / 0.26)`:oi.alpha(W.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:W.vars?`rgba(${W.vars.palette.text.primaryChannel} / 0.4)`:oi.alpha(W.palette.text.primary,.4)}},"small"===H.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==H.color&&{color:W.vars?`rgba(${W.vars.palette[H.color].contrastTextChannel} / 0.7)`:oi.alpha(W.palette[H.color].contrastText,.7),"&:hover, &:active":{color:(W.vars||W).palette[H.color].contrastText}})},"small"===H.size&&{height:24},"default"!==H.color&&{backgroundColor:(W.vars||W).palette[H.color].main,color:(W.vars||W).palette[H.color].contrastText},H.onDelete&&{[`&.${Yw.focusVisible}`]:{backgroundColor:W.vars?`rgba(${W.vars.palette.action.selectedChannel} / calc(${W.vars.palette.action.selectedOpacity} + ${W.vars.palette.action.focusOpacity}))`:oi.alpha(W.palette.action.selected,W.palette.action.selectedOpacity+W.palette.action.focusOpacity)}},H.onDelete&&"default"!==H.color&&{[`&.${Yw.focusVisible}`]:{backgroundColor:(W.vars||W).palette[H.color].dark}})},({theme:W,ownerState:H})=>s({},H.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:W.vars?`rgba(${W.vars.palette.action.selectedChannel} / calc(${W.vars.palette.action.selectedOpacity} + ${W.vars.palette.action.hoverOpacity}))`:oi.alpha(W.palette.action.selected,W.palette.action.selectedOpacity+W.palette.action.hoverOpacity)},[`&.${Yw.focusVisible}`]:{backgroundColor:W.vars?`rgba(${W.vars.palette.action.selectedChannel} / calc(${W.vars.palette.action.selectedOpacity} + ${W.vars.palette.action.focusOpacity}))`:oi.alpha(W.palette.action.selected,W.palette.action.selectedOpacity+W.palette.action.focusOpacity)},"&:active":{boxShadow:(W.vars||W).shadows[1]}},H.clickable&&"default"!==H.color&&{[`&:hover, &.${Yw.focusVisible}`]:{backgroundColor:(W.vars||W).palette[H.color].dark}}),({theme:W,ownerState:H})=>s({},"outlined"===H.variant&&{backgroundColor:"transparent",border:W.vars?`1px solid ${W.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===W.palette.mode?W.palette.grey[400]:W.palette.grey[700]}`,[`&.${Yw.clickable}:hover`]:{backgroundColor:(W.vars||W).palette.action.hover},[`&.${Yw.focusVisible}`]:{backgroundColor:(W.vars||W).palette.action.focus},[`& .${Yw.avatar}`]:{marginLeft:4},[`& .${Yw.avatarSmall}`]:{marginLeft:2},[`& .${Yw.icon}`]:{marginLeft:4},[`& .${Yw.iconSmall}`]:{marginLeft:2},[`& .${Yw.deleteIcon}`]:{marginRight:5},[`& .${Yw.deleteIconSmall}`]:{marginRight:3}},"outlined"===H.variant&&"default"!==H.color&&{color:(W.vars||W).palette[H.color].main,border:`1px solid ${W.vars?`rgba(${W.vars.palette[H.color].mainChannel} / 0.7)`:oi.alpha(W.palette[H.color].main,.7)}`,[`&.${Yw.clickable}:hover`]:{backgroundColor:W.vars?`rgba(${W.vars.palette[H.color].mainChannel} / ${W.vars.palette.action.hoverOpacity})`:oi.alpha(W.palette[H.color].main,W.palette.action.hoverOpacity)},[`&.${Yw.focusVisible}`]:{backgroundColor:W.vars?`rgba(${W.vars.palette[H.color].mainChannel} / ${W.vars.palette.action.focusOpacity})`:oi.alpha(W.palette[H.color].main,W.palette.action.focusOpacity)},[`& .${Yw.deleteIcon}`]:{color:W.vars?`rgba(${W.vars.palette[H.color].mainChannel} / 0.7)`:oi.alpha(W.palette[H.color].main,.7),"&:hover, &:active":{color:(W.vars||W).palette[H.color].main}}})),Qw=os("span",{name:"MuiChip",slot:"Label",overridesResolver:(W,H)=>{const{ownerState:U}=W,{size:G}=U;return[H.label,H[`label${Vr(G)}`]]}})(({ownerState:W})=>s({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===W.variant&&{paddingLeft:11,paddingRight:11},"small"===W.size&&{paddingLeft:8,paddingRight:8},"small"===W.size&&"outlined"===W.variant&&{paddingLeft:7,paddingRight:7}));function _w(W){return"Backspace"===W.key||"Delete"===W.key}const eS=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiChip"}),{avatar:X,className:oe,clickable:ae,color:le="default",component:ce,deleteIcon:ue,disabled:de=!1,icon:pe,label:fe,onClick:ke,onDelete:Qe,onKeyDown:tt,onKeyUp:it,size:at="medium",variant:st="filled",tabIndex:ut,skipFocusWhenDisabled:ht=!1}=U,ft=a(U,Zw),gt=ie.useRef(null),yt=fa(gt,H),E=W=>{W.stopPropagation(),Qe&&Qe(W)},vt=!(!1===ae||!ke)||ae,bt=vt||Qe?Bl:ce||"div",xt=s({},U,{component:bt,disabled:de,size:at,color:le,iconColor:ie.isValidElement(pe)&&pe.props.color||le,onDelete:!!Qe,clickable:vt,variant:st}),wt=(W=>{const{classes:H,disabled:U,size:G,color:X,iconColor:oe,onDelete:ie,clickable:ae,variant:le}=W;return q({root:["root",le,U&&"disabled",`size${Vr(G)}`,`color${Vr(X)}`,ae&&"clickable",ae&&`clickableColor${Vr(X)}`,ie&&"deletable",ie&&`deletableColor${Vr(X)}`,`${le}${Vr(X)}`],label:["label",`label${Vr(G)}`],avatar:["avatar",`avatar${Vr(G)}`,`avatarColor${Vr(X)}`],icon:["icon",`icon${Vr(G)}`,`iconColor${Vr(oe)}`],deleteIcon:["deleteIcon",`deleteIcon${Vr(G)}`,`deleteIconColor${Vr(X)}`,`deleteIcon${Vr(le)}Color${Vr(X)}`]},gw,H)})(xt),St=bt===Bl?s({component:ce||"div",focusVisibleClassName:wt.focusVisible},Qe&&{disableRipple:!0}):{};let Ct=null;Qe&&(Ct=ue&&ie.isValidElement(ue)?ie.cloneElement(ue,{className:V(ue.props.className,wt.deleteIcon),onClick:E}):G.jsx(Gw,{className:V(wt.deleteIcon),onClick:E}));let It=null;X&&ie.isValidElement(X)&&(It=ie.cloneElement(X,{className:V(wt.avatar,X.props.className)}));let Pt=null;return pe&&ie.isValidElement(pe)&&(Pt=ie.cloneElement(pe,{className:V(wt.icon,pe.props.className)})),G.jsxs(Jw,s({as:bt,className:V(wt.root,oe),disabled:!(!vt||!de)||void 0,onClick:ke,onKeyDown:W=>{W.currentTarget===W.target&&_w(W)&&W.preventDefault(),tt&&tt(W)},onKeyUp:W=>{W.currentTarget===W.target&&(Qe&&_w(W)?Qe(W):"Escape"===W.key&>.current&>.current.blur()),it&&it(W)},ref:yt,tabIndex:ht&&de?-1:ut,ownerState:xt},St,ft,{children:[It||Pt,G.jsx(Qw,{className:V(wt.label),ownerState:xt,children:fe}),Ct]}))}),tS=kl(eS)(({theme:W,ownerState:H})=>"rounded"!==H.shape?null:{borderRadius:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[1]}),rS={shape:"pill"},oS=X.forwardRef((W,H)=>{const{shape:U,...G}={...rS,...W};return X.createElement(tS,{...G,ref:H,ownerState:{shape:U}})});oS.defaultProps=rS;var iS=oS;const aS=kl(nf)(({theme:W})=>({transform:"rtl"===W.direction?"scaleX(-1)":void 0})),Tw=({onDisconnect:W,onConnectClick:H,anchorElement:U,...X})=>{const{t:oe}=Zu("common",{i18n:Kf}),{MY_ELEMENTOR_URL:ie}=J_(),ae=window.elementorOneSettingsData?.canUserManageOptions??!1,{data:le,isLoading:ce}=Y_({enabled:ae}),{mutate:ue,isPending:de}=(()=>{const W=Pg();return zg({mutationFn:W=>Dy.initConnect(W&&"string"==typeof W?W:"new"),onSuccess:H=>{window.open(H,"_self")?.focus(),W.invalidateQueries({queryKey:[Rw]})}})})(),{mutate:pe,isPending:fe}=(()=>{const W=Pg();return zg({mutationFn:()=>Dy.disconnect(),onSuccess:()=>{W.invalidateQueries({queryKey:[Rw]})}})})();return G.jsx(ku,{colorScheme:"light",children:G.jsx(Th,{...X,"data-test":"user-profile-menu",anchorEl:U,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{sx:{overflow:"visible !important",borderRadius:1,py:1,minWidth:300}},children:ce?G.jsxs(Js,{alignItems:"center",gap:1,children:[G.jsx(Kw,{variant:"text",width:"90%",height:30}),G.jsx(Uu,{sx:{mx:2,width:"80%"}}),G.jsx(Kw,{variant:"text",width:"90%",height:30})]}):[G.jsxs(Yh,{dense:!0,onClick:async()=>{window.open(ie,"_blank"),X.onClose?.({},"backdropClick")},"data-test":"user-menu-go-to-account",children:[G.jsx(tf,{children:oe("header.userProfileMenu.goToMyAccount")}),G.jsx(ef,{children:G.jsx(aS,{fontSize:"small"})})]},"go-to-account"),G.jsx(Uu,{sx:{mx:2}},"divider"),le?.isUrlMismatch?G.jsxs(Yh,{dense:!0,onClick:()=>{window.location.href=window.location.origin+window.location.pathname+"?page=elementor-home#/home/url-mismatch",X.onClose?.({},"backdropClick")},sx:{justifyContent:"space-between"},"data-test":"user-menu-fix-url-mismatch",children:[G.jsx(tf,{children:oe("header.userProfileMenu.urlMismatch")}),G.jsx(dl,{sx:{color:"info.main"},variant:"caption",children:oe("header.userProfileMenu.fixUrlMismatch")})]},"fix-url-mismatch"):le?.isConnected?G.jsxs(Yh,{dense:!0,disabled:fe,"data-test":"user-menu-disconnect",children:[G.jsxs(tf,{children:[oe("header.userProfileMenu.elementorOneActive")," ",G.jsx(iS,{variant:"standard",label:oe("header.userProfileMenu.active"),color:"success",size:"small"})]}),G.jsx(tf,{onClick:()=>{fe||pe(void 0,{onSuccess:()=>{W?.(),X.onClose?.({},"backdropClick")}})},sx:{textAlign:"right",color:"info.main",cursor:"pointer"},children:oe("header.userProfileMenu.disconnect")}),G.jsx(ef,{children:fe?G.jsx(Od,{size:16,"data-test":"user-menu-disconnect-loader"}):G.jsx(G.Fragment,{})})]},"disconnect"):G.jsxs(Yh,{dense:!0,onClick:()=>{de||(H?.(),ue())},disabled:de,sx:{justifyContent:"space-between"},"data-test":"user-menu-connect",children:[G.jsx(tf,{children:oe("header.userProfileMenu.connectPreText")}),de?G.jsx(Od,{size:16,"data-test":"user-menu-connect-loader"}):G.jsx(dl,{sx:{color:"info.main"},variant:"caption",children:oe("header.userProfileMenu.connect")})]},"connect")]})})},Mw=({onDisconnect:W,onClick:H,onConnectClick:U})=>{const{t:oe}=Zu("common",{i18n:Kf}),ie=X.useRef(null),ae=tw(),le=(({popupId:W,...H})=>function({parentPopupState:W,popupId:H,variant:U,disableAutoFocus:G}){const oe=X.useRef(!0);X.useEffect(()=>(oe.current=!0,()=>{oe.current=!1}),[]);const[ie,ae]=X.useState(Wd),le=X.useCallback(W=>{oe.current&&ae(W)},[]),ce=X.useCallback(W=>le(H=>({...H,setAnchorElUsed:!0,anchorEl:W??void 0})),[]),ue=Ju(W=>(ie.isOpen?pe(W):de(W),ie)),de=Ju(H=>{const G=H instanceof Element?void 0:H,X=H instanceof Element?H:(null==H?void 0:H.currentTarget)instanceof Element?H.currentTarget:void 0;if("touchstart"===(null==G?void 0:G.type))return void le(W=>({...W,_deferNextOpen:!0}));const oe=null==G?void 0:G.clientX,ie=null==G?void 0:G.clientY,ae="number"==typeof oe&&"number"==typeof ie?{left:oe,top:ie}:void 0,c=oe=>{if(H||oe.setAnchorElUsed||"dialog"===U||qd.missingEventOrAnchorEl||(qd.missingEventOrAnchorEl=!0,console.error("[material-ui-popup-state] WARNING","eventOrAnchorEl should be defined if setAnchorEl is not used")),W){if(!W.isOpen)return oe;setTimeout(()=>W._setChildPopupState(it))}const ie={...oe,isOpen:!0,anchorPosition:ae,hovered:"mouseover"===(null==G?void 0:G.type)||oe.hovered,focused:"focus"===(null==G?void 0:G.type)||oe.focused,_openEventType:null==G?void 0:G.type};return null!=G&&G.currentTarget?oe.setAnchorElUsed||(ie.anchorEl=null==G?void 0:G.currentTarget):X&&(ie.anchorEl=X),ie};le(W=>W._deferNextOpen?(setTimeout(()=>le(c),0),{...W,_deferNextOpen:!1}):c(W))}),d=H=>{const{_childPopupState:U}=H;return setTimeout(()=>{null==U||U.close(),null==W||W._setChildPopupState(null)}),{...H,isOpen:!1,hovered:!1,focused:!1}},pe=Ju(W=>{const H=W instanceof Element?void 0:W;"touchstart"!==(null==H?void 0:H.type)?le(W=>W._deferNextClose?(setTimeout(()=>le(d),0),{...W,_deferNextClose:!1}):d(W)):le(W=>({...W,_deferNextClose:!0}))}),fe=X.useCallback((W,H)=>{W?de(H):pe(H)},[]),ke=Ju(W=>{const{relatedTarget:H}=W;le(W=>!W.hovered||H instanceof Element&&np(H,it)?W:W.focused?{...W,hovered:!1}:d(W))}),Qe=Ju(W=>{if(!W)return;const{relatedTarget:H}=W;le(W=>!W.focused||H instanceof Element&&np(H,it)?W:W.hovered?{...W,focused:!1}:d(W))}),tt=X.useCallback(W=>le(H=>({...H,_childPopupState:W})),[]),it={...ie,setAnchorEl:ce,popupId:H,variant:U,open:de,close:pe,toggle:ue,setOpen:fe,onBlur:Qe,onMouseLeave:ke,disableAutoFocus:G??Boolean(ie.hovered||ie.focused),_setChildPopupState:tt};return it}({...H,popupId:X.useRef(W||"eui-popup-"+Ud++).current}))({variant:"popover",popupId:"user-info-popover"}),c=()=>{H?.(),le.open()};return G.jsxs(G.Fragment,{children:[ae?G.jsx(Cu,{onClick:c,ref:ie,"data-test":"header-user-button",children:G.jsx(Ku,{})}):G.jsx(Ad,{startIcon:G.jsx(Ku,{}),color:"inherit",size:"small",onClick:c,ref:ie,"data-test":"header-user-button",children:oe("header.userInfo")}),G.jsx(Tw,{onDisconnect:W,onConnectClick:U,anchorElement:ie.current,...rp(le)})]})};var cS=ie.forwardRef((W,H)=>ie.createElement(Ru,{viewBox:"0 0 24 24",...W,ref:H},ie.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0221 2.2505C14.7086 2.2428 14.3993 2.32462 14.1306 2.48639C13.8619 2.64816 13.6449 2.88316 13.5049 3.16386L10.9999 8.19197L3.92384 11.2998C3.49889 11.4865 3.16549 11.8343 2.99698 12.2667C2.82848 12.6992 2.83867 13.1809 3.02531 13.6058L4.63384 17.2682C4.82048 17.6931 5.16829 18.0265 5.60074 18.195C6.0332 18.3635 6.51489 18.3533 6.93984 18.1667L8.9999 17.2619L10.709 21.1532C10.8956 21.5781 11.2434 21.9115 11.6759 22.08C12.1083 22.2485 12.59 22.2383 13.015 22.0517L13.9306 21.6496C14.3555 21.4629 14.6889 21.1151 14.8574 20.6827C15.0259 20.2502 15.0157 19.7685 14.8291 19.3436L13.12 15.4523L14.0159 15.0588L19.4131 16.616C19.7145 16.7029 20.0346 16.7021 20.3355 16.6137C20.6364 16.5253 20.9059 16.3529 21.1124 16.1168C21.3188 15.8807 21.4537 15.5907 21.5013 15.2806C21.5488 14.9707 21.507 14.6537 21.3808 14.3667M21.3808 14.3667L20.4142 12.1659C21.0102 11.7447 21.4752 11.1551 21.7441 10.4649C22.1052 9.53824 22.0834 8.50606 21.6834 7.59546C21.2835 6.68486 20.5382 5.97043 19.6115 5.60934C18.9213 5.3404 18.1726 5.28388 17.4591 5.43778L16.4927 3.23726C16.3667 2.95018 16.1613 2.70457 15.901 2.52988C15.6405 2.35511 15.3357 2.2582 15.0221 2.2505M18.0836 6.85961C18.4152 6.83504 18.7512 6.88399 19.0669 7.00698C19.6229 7.22364 20.0701 7.6523 20.3101 8.19866C20.55 8.74502 20.5631 9.36433 20.3465 9.92035C20.2235 10.236 20.0321 10.5166 19.7897 10.7441L18.0836 6.85961ZM15.1191 3.8401C15.1077 3.81399 15.0889 3.79133 15.0652 3.77544C15.0415 3.75956 15.0138 3.75075 14.9853 3.75005C14.9568 3.74935 14.9287 3.75678 14.9042 3.77149C14.8798 3.7862 14.8601 3.80756 14.8474 3.83308L12.2214 9.10391C12.1432 9.26095 12.0123 9.38559 11.8517 9.45615L10.7072 9.95881L12.5168 14.0789L13.6613 13.5763C13.8219 13.5057 14.0022 13.4937 14.1708 13.5423L19.8288 15.1748C19.8562 15.1827 19.8852 15.1826 19.9126 15.1746C19.9399 15.1665 19.9645 15.1509 19.9832 15.1294C20.002 15.1079 20.0143 15.0816 20.0186 15.0534C20.0229 15.0252 20.0191 14.9964 20.0076 14.9703L15.1191 3.8401ZM11.7466 16.0555L13.4557 19.9468C13.4824 20.0075 13.4838 20.0763 13.4598 20.1381C13.4357 20.1999 13.3881 20.2495 13.3274 20.2762L12.4118 20.6783C12.3511 20.705 12.2823 20.7064 12.2205 20.6824C12.1587 20.6583 12.109 20.6107 12.0824 20.55L10.3733 16.6587L11.7466 16.0555ZM11.1434 14.6821L9.33384 10.562L4.52704 12.6732C4.46633 12.6999 4.4187 12.7496 4.39463 12.8113C4.37056 12.8731 4.37201 12.9419 4.39868 13.0026L6.00721 16.665C6.03387 16.7257 6.08356 16.7733 6.14534 16.7974C6.20712 16.8214 6.27593 16.82 6.33664 16.7933L11.1434 14.6821Z"})));const uS=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Pw(W,H,U){const G=function(W,H,U){const G=H.getBoundingClientRect(),X=U&&U.getBoundingClientRect(),oe=aa(H);let ie;if(H.fakeTransform)ie=H.fakeTransform;else{const W=oe.getComputedStyle(H);ie=W.getPropertyValue("-webkit-transform")||W.getPropertyValue("transform")}let ae=0,le=0;if(ie&&"none"!==ie&&"string"==typeof ie){const W=ie.split("(")[1].split(")")[0].split(",");ae=parseInt(W[4],10),le=parseInt(W[5],10)}return"left"===W?X?`translateX(${X.right+ae-G.left}px)`:`translateX(${oe.innerWidth+ae-G.left}px)`:"right"===W?X?`translateX(-${G.right-X.left-ae}px)`:`translateX(-${G.left+G.width-ae}px)`:"up"===W?X?`translateY(${X.bottom+le-G.top}px)`:`translateY(${oe.innerHeight+le-G.top}px)`:X?`translateY(-${G.top-X.top+G.height-le}px)`:`translateY(-${G.top+G.height-le}px)`}(W,H,function Nw(W){return"function"==typeof W?W():W}(U));G&&(H.style.webkitTransform=G,H.style.transform=G)}const dS=ie.forwardRef(function(W,H){const U=Ka(),X={enter:U.transitions.easing.easeOut,exit:U.transitions.easing.sharp},oe={enter:U.transitions.duration.enteringScreen,exit:U.transitions.duration.leavingScreen},{addEndListener:ae,appear:le=!0,children:ce,container:ue,direction:de="down",easing:pe=X,in:fe,onEnter:ke,onEntered:Qe,onEntering:tt,onExit:it,onExited:at,onExiting:st,style:ut,timeout:ht=oe,TransitionComponent:ft=wl}=W,gt=a(W,uS),yt=ie.useRef(null),vt=fa(ce.ref,yt,H),T=W=>H=>{W&&(void 0===H?W(yt.current):W(yt.current,H))},bt=T((W,H)=>{Pw(de,W,ue),ke&&ke(W,H)}),xt=T((W,H)=>{const G=Dp({timeout:ht,style:ut,easing:pe},{mode:"enter"});W.style.webkitTransition=U.transitions.create("-webkit-transform",s({},G)),W.style.transition=U.transitions.create("transform",s({},G)),W.style.webkitTransform="none",W.style.transform="none",tt&&tt(W,H)}),wt=T(Qe),St=T(st),Ct=T(W=>{const H=Dp({timeout:ht,style:ut,easing:pe},{mode:"exit"});W.style.webkitTransition=U.transitions.create("-webkit-transform",H),W.style.transition=U.transitions.create("transform",H),Pw(de,W,ue),it&&it(W)}),It=T(W=>{W.style.webkitTransition="",W.style.transition="",at&&at(W)}),Pt=ie.useCallback(()=>{yt.current&&Pw(de,yt.current,ue)},[de,ue]);return ie.useEffect(()=>{if(fe||"down"===de||"right"===de)return;const W=na(()=>{yt.current&&Pw(de,yt.current,ue)}),H=aa(yt.current);return H.addEventListener("resize",W),()=>{W.clear(),H.removeEventListener("resize",W)}},[de,fe,ue]),ie.useEffect(()=>{fe||Pt()},[fe,Pt]),G.jsx(ft,s({nodeRef:yt,onEnter:bt,onEntered:wt,onEntering:xt,onExit:Ct,onExited:It,onExiting:St,addEndListener:W=>{ae&&ae(yt.current,W)},appear:le,in:fe,timeout:ht},gt,{children:(W,H)=>ie.cloneElement(ce,s({ref:vt,style:s({visibility:"exited"!==W||fe?void 0:"hidden"},ut,ce.props.style)},H))}))});function Aw(W){return Oo("MuiDrawer",W)}Ei("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const pS=["BackdropProps"],fS=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Dw=(W,H)=>{const{ownerState:U}=W;return[H.root,("permanent"===U.variant||"persistent"===U.variant)&&H.docked,H.modal]},vS=os(Fp,{name:"MuiDrawer",slot:"Root",overridesResolver:Dw})(({theme:W})=>({zIndex:(W.vars||W).zIndex.drawer})),bS=os("div",{shouldForwardProp:ci,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Dw})({flex:"0 0 auto"}),xS=os(Vs,{name:"MuiDrawer",slot:"Paper",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.paper,H[`paperAnchor${Vr(U.anchor)}`],"temporary"!==U.variant&&H[`paperAnchorDocked${Vr(U.anchor)}`]]}})(({theme:W,ownerState:H})=>s({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(W.vars||W).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===H.anchor&&{left:0},"top"===H.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===H.anchor&&{right:0},"bottom"===H.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===H.anchor&&"temporary"!==H.variant&&{borderRight:`1px solid ${(W.vars||W).palette.divider}`},"top"===H.anchor&&"temporary"!==H.variant&&{borderBottom:`1px solid ${(W.vars||W).palette.divider}`},"right"===H.anchor&&"temporary"!==H.variant&&{borderLeft:`1px solid ${(W.vars||W).palette.divider}`},"bottom"===H.anchor&&"temporary"!==H.variant&&{borderTop:`1px solid ${(W.vars||W).palette.divider}`})),_S={left:"right",right:"left",top:"down",bottom:"up"},wS=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiDrawer"}),X=Ka(),oe=Aa(),ae={enter:X.transitions.duration.enteringScreen,exit:X.transitions.duration.leavingScreen},{anchor:le="left",BackdropProps:ce,children:ue,className:de,elevation:pe=16,hideBackdrop:fe=!1,ModalProps:{BackdropProps:ke}={},onClose:Qe,open:tt=!1,PaperProps:it={},SlideProps:at,TransitionComponent:st=dS,transitionDuration:ut=ae,variant:ht="temporary"}=U,ft=a(U.ModalProps,pS),gt=a(U,fS),yt=ie.useRef(!1);ie.useEffect(()=>{yt.current=!0},[]);const vt=function({direction:W},H){return"rtl"===W&&function(W){return-1!==["left","right"].indexOf(W)}(H)?_S[H]:H}({direction:oe?"rtl":"ltr"},le),bt=s({},U,{anchor:le,elevation:pe,open:tt,variant:ht},gt),xt=(W=>{const{classes:H,anchor:U,variant:G}=W;return q({root:["root"],docked:[("permanent"===G||"persistent"===G)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Vr(U)}`,"temporary"!==G&&`paperAnchorDocked${Vr(U)}`]},Aw,H)})(bt),wt=G.jsx(xS,s({elevation:"temporary"===ht?pe:0,square:!0},it,{className:V(xt.paper,it.className),ownerState:bt,children:ue}));if("permanent"===ht)return G.jsx(bS,s({className:V(xt.root,xt.docked,de),ownerState:bt,ref:H},gt,{children:wt}));const St=G.jsx(st,s({in:tt,direction:_S[vt],timeout:ut,appear:yt.current},at,{children:wt}));return"persistent"===ht?G.jsx(bS,s({className:V(xt.root,xt.docked,de),ownerState:bt,ref:H},gt,{children:St})):G.jsx(vS,s({BackdropProps:s({},ce,ke,{transitionDuration:ut}),className:V(xt.root,xt.modal,de),open:tt,ownerState:bt,onClose:Qe,hideBackdrop:fe,ref:H},gt,ft,{children:St}))});var CS=X.forwardRef((W,H)=>X.createElement(wS,{...W,ref:H}));const ES=Ei("MuiBox",["root"]),OS=ii(),MS=function(W={}){const{themeId:H,defaultTheme:U,defaultClassName:X="MuiBox-root",generateClassName:oe}=W,ae=Pr("div",{shouldForwardProp:W=>"theme"!==W&&"sx"!==W&&"as"!==W})(Fo);return ie.forwardRef(function(W,ie){const le=mi(U),ce=yo(W),{className:ue,component:de="div"}=ce,pe=a(ce,as);return G.jsx(ae,s({as:de,ref:ie,className:V(ue,oe?oe(X):X),theme:H&&le[H]||le},pe))})}({themeId:ns,defaultTheme:OS,defaultClassName:ES.root,generateClassName:Ko.generate});var TS=X.forwardRef((W,H)=>X.createElement(MS,{...W,ref:H}));const Xw=()=>G.jsx(Js,{children:new Array(3).fill(0).map((W,H)=>G.jsxs(TS,{children:[G.jsxs(Js,{gap:.5,sx:{mt:2},children:[G.jsx(Kw,{variant:"text",width:50,height:24}),G.jsx(Kw,{variant:"text",width:"100%",height:48}),G.jsx(Kw,{variant:"rectangular",width:"100%",height:200,sx:{borderRadius:1}}),G.jsx(Kw,{variant:"rounded",width:100,height:32,sx:{borderRadius:3,mt:1}}),G.jsx(Kw,{variant:"text",width:200,height:24}),G.jsx(Kw,{variant:"text",width:250,height:24}),G.jsx(Kw,{variant:"text",width:170,height:24})]}),H<2&&G.jsx(Uu,{sx:{mt:1.5}})]},H))});var PS,AS={},jS={},NS={},LS={},$S={},VS={};function nS(){return PS||(PS=1,W=VS,Object.defineProperty(W,"__esModule",{value:!0}),W.Doctype=W.CDATA=W.Tag=W.Style=W.Script=W.Comment=W.Directive=W.Text=W.Root=W.isTag=W.ElementType=void 0,function(W){W.Root="root",W.Text="text",W.Directive="directive",W.Comment="comment",W.Script="script",W.Style="style",W.Tag="tag",W.CDATA="cdata",W.Doctype="doctype"}(H=W.ElementType||(W.ElementType={})),W.isTag=function(W){return W.type===H.Tag||W.type===H.Script||W.type===H.Style},W.Root=H.Root,W.Text=H.Text,W.Directive=H.Directive,W.Comment=H.Comment,W.Script=H.Script,W.Style=H.Style,W.Tag=H.Tag,W.CDATA=H.CDATA,W.Doctype=H.Doctype),VS;var W,H}var qS,US,KS={};function sS(){if(qS)return KS;qS=1;var W,H=KS&&KS.__extends||(W=function(H,U){return W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(W,H){W.__proto__=H}||function(W,H){for(var U in H)Object.prototype.hasOwnProperty.call(H,U)&&(W[U]=H[U])},W(H,U)},function(H,U){if("function"!=typeof U&&null!==U)throw new TypeError("Class extends value "+String(U)+" is not a constructor or null");function n(){this.constructor=H}W(H,U),H.prototype=null===U?Object.create(U):(n.prototype=U.prototype,new n)}),U=KS&&KS.__assign||function(){return U=Object.assign||function(W){for(var H,U=1,G=arguments.length;U<G;U++)for(var X in H=arguments[U])Object.prototype.hasOwnProperty.call(H,X)&&(W[X]=H[X]);return W},U.apply(this,arguments)};Object.defineProperty(KS,"__esModule",{value:!0}),KS.cloneNode=KS.hasChildren=KS.isDocument=KS.isDirective=KS.isComment=KS.isText=KS.isCDATA=KS.isTag=KS.Element=KS.Document=KS.CDATA=KS.NodeWithChildren=KS.ProcessingInstruction=KS.Comment=KS.Text=KS.DataNode=KS.Node=void 0;var G=nS(),X=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(W){this.parent=W},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(W){this.prev=W},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(W){this.next=W},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(W){return void 0===W&&(W=!1),v(this,W)},e}();KS.Node=X;var oe=function(W){function r(H){var U=W.call(this)||this;return U.data=H,U}return H(r,W),Object.defineProperty(r.prototype,"nodeValue",{get:function(){return this.data},set:function(W){this.data=W},enumerable:!1,configurable:!0}),r}(X);KS.DataNode=oe;var ie=function(W){function r(){var H=null!==W&&W.apply(this,arguments)||this;return H.type=G.ElementType.Text,H}return H(r,W),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),r}(oe);KS.Text=ie;var ae=function(W){function r(){var H=null!==W&&W.apply(this,arguments)||this;return H.type=G.ElementType.Comment,H}return H(r,W),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),r}(oe);KS.Comment=ae;var le=function(W){function r(H,U){var X=W.call(this,U)||this;return X.name=H,X.type=G.ElementType.Directive,X}return H(r,W),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),r}(oe);KS.ProcessingInstruction=le;var ce=function(W){function r(H){var U=W.call(this)||this;return U.children=H,U}return H(r,W),Object.defineProperty(r.prototype,"firstChild",{get:function(){var W;return null!==(W=this.children[0])&&void 0!==W?W:null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"childNodes",{get:function(){return this.children},set:function(W){this.children=W},enumerable:!1,configurable:!0}),r}(X);KS.NodeWithChildren=ce;var ue=function(W){function r(){var H=null!==W&&W.apply(this,arguments)||this;return H.type=G.ElementType.CDATA,H}return H(r,W),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),r}(ce);KS.CDATA=ue;var de=function(W){function r(){var H=null!==W&&W.apply(this,arguments)||this;return H.type=G.ElementType.Root,H}return H(r,W),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),r}(ce);KS.Document=de;var pe=function(W){function r(H,U,X,oe){void 0===X&&(X=[]),void 0===oe&&(oe="script"===H?G.ElementType.Script:"style"===H?G.ElementType.Style:G.ElementType.Tag);var ie=W.call(this,X)||this;return ie.name=H,ie.attribs=U,ie.type=oe,ie}return H(r,W),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tagName",{get:function(){return this.name},set:function(W){this.name=W},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"attributes",{get:function(){var W=this;return Object.keys(this.attribs).map(function(H){var U,G;return{name:H,value:W.attribs[H],namespace:null===(U=W["x-attribsNamespace"])||void 0===U?void 0:U[H],prefix:null===(G=W["x-attribsPrefix"])||void 0===G?void 0:G[H]}})},enumerable:!1,configurable:!0}),r}(ce);function f(W){return(0,G.isTag)(W)}function h(W){return W.type===G.ElementType.CDATA}function m(W){return W.type===G.ElementType.Text}function g(W){return W.type===G.ElementType.Comment}function y(W){return W.type===G.ElementType.Directive}function b(W){return W.type===G.ElementType.Root}function v(W,H){var G;if(void 0===H&&(H=!1),m(W))G=new ie(W.data);else if(g(W))G=new ae(W.data);else if(f(W)){var X=H?x(W.children):[],oe=new pe(W.name,U({},W.attribs),X);X.forEach(function(W){return W.parent=oe}),null!=W.namespace&&(oe.namespace=W.namespace),W["x-attribsNamespace"]&&(oe["x-attribsNamespace"]=U({},W["x-attribsNamespace"])),W["x-attribsPrefix"]&&(oe["x-attribsPrefix"]=U({},W["x-attribsPrefix"])),G=oe}else if(h(W)){X=H?x(W.children):[];var ce=new ue(X);X.forEach(function(W){return W.parent=ce}),G=ce}else if(b(W)){X=H?x(W.children):[];var fe=new de(X);X.forEach(function(W){return W.parent=fe}),W["x-mode"]&&(fe["x-mode"]=W["x-mode"]),G=fe}else{if(!y(W))throw new Error("Not implemented yet: ".concat(W.type));var ke=new le(W.name,W.data);null!=W["x-name"]&&(ke["x-name"]=W["x-name"],ke["x-publicId"]=W["x-publicId"],ke["x-systemId"]=W["x-systemId"]),G=ke}return G.startIndex=W.startIndex,G.endIndex=W.endIndex,null!=W.sourceCodeLocation&&(G.sourceCodeLocation=W.sourceCodeLocation),G}function x(W){for(var H=W.map(function(W){return v(W,!0)}),U=1;U<H.length;U++)H[U].prev=H[U-1],H[U-1].next=H[U];return H}return KS.Element=pe,KS.isTag=f,KS.isCDATA=h,KS.isText=m,KS.isComment=g,KS.isDirective=y,KS.isDocument=b,KS.hasChildren=function(W){return Object.prototype.hasOwnProperty.call(W,"children")},KS.cloneNode=v,KS}function lS(){return US||(US=1,function(W){var H=$S&&$S.__createBinding||(Object.create?function(W,H,U,G){void 0===G&&(G=U);var X=Object.getOwnPropertyDescriptor(H,U);X&&!("get"in X?!H.__esModule:X.writable||X.configurable)||(X={enumerable:!0,get:function(){return H[U]}}),Object.defineProperty(W,G,X)}:function(W,H,U,G){void 0===G&&(G=U),W[G]=H[U]}),U=$S&&$S.__exportStar||function(W,U){for(var G in W)"default"===G||Object.prototype.hasOwnProperty.call(U,G)||H(U,W,G)};Object.defineProperty(W,"__esModule",{value:!0}),W.DomHandler=void 0;var G=nS(),X=sS();U(sS(),W);var oe={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},ie=function(){function e(W,H,U){this.dom=[],this.root=new X.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof H&&(U=H,H=oe),"object"==typeof W&&(H=W,W=void 0),this.callback=null!=W?W:null,this.options=null!=H?H:oe,this.elementCB=null!=U?U:null}return e.prototype.onparserinit=function(W){this.parser=W},e.prototype.onreset=function(){this.dom=[],this.root=new X.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(W){this.handleCallback(W)},e.prototype.onclosetag=function(){this.lastNode=null;var W=this.tagStack.pop();this.options.withEndIndices&&(W.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(W)},e.prototype.onopentag=function(W,H){var U=this.options.xmlMode?G.ElementType.Tag:void 0,oe=new X.Element(W,H,void 0,U);this.addNode(oe),this.tagStack.push(oe)},e.prototype.ontext=function(W){var H=this.lastNode;if(H&&H.type===G.ElementType.Text)H.data+=W,this.options.withEndIndices&&(H.endIndex=this.parser.endIndex);else{var U=new X.Text(W);this.addNode(U),this.lastNode=U}},e.prototype.oncomment=function(W){if(this.lastNode&&this.lastNode.type===G.ElementType.Comment)this.lastNode.data+=W;else{var H=new X.Comment(W);this.addNode(H),this.lastNode=H}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var W=new X.Text(""),H=new X.CDATA([W]);this.addNode(H),W.parent=H,this.lastNode=W},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(W,H){var U=new X.ProcessingInstruction(W,H);this.addNode(U)},e.prototype.handleCallback=function(W){if("function"==typeof this.callback)this.callback(W,this.dom);else if(W)throw W},e.prototype.addNode=function(W){var H=this.tagStack[this.tagStack.length-1],U=H.children[H.children.length-1];this.options.withStartIndices&&(W.startIndex=this.parser.startIndex),this.options.withEndIndices&&(W.endIndex=this.parser.endIndex),H.children.push(W),U&&(W.prev=U,U.next=W),W.parent=H,this.lastNode=null},e}();W.DomHandler=ie,W.default=ie}($S)),$S}var GS,XS,YS,ZS,JS={};function mS(){if(XS)return LS;XS=1,Object.defineProperty(LS,"__esModule",{value:!0}),LS.formatAttributes=r,LS.escapeSpecialCharacters=function(W){return W.replace(H.CARRIAGE_RETURN_REGEX,H.CARRIAGE_RETURN_PLACEHOLDER)},LS.revertEscapedCharacters=o,LS.formatDOM=function t(H,U,G){void 0===U&&(U=null);for(var X,oe=[],ie=0,ae=H.length;ie<ae;ie++){var le=H[ie];switch(le.nodeType){case 1:var ce=n(le.nodeName);(X=new W.Element(ce,r(le.attributes))).children=t("template"===ce?le.content.childNodes:le.childNodes,X);break;case 3:X=new W.Text(o(le.nodeValue));break;case 8:X=new W.Comment(le.nodeValue);break;default:continue}var ue=oe[ie-1]||null;ue&&(ue.next=X),X.parent=U,X.prev=ue,X.next=null,oe.push(X)}return G&&((X=new W.ProcessingInstruction(G.substring(0,G.indexOf(" ")).toLowerCase(),G)).next=oe[0]||null,X.parent=U,oe.unshift(X),oe[1]&&(oe[1].prev=oe[0])),oe};var W=lS(),H=function hS(){return GS||(GS=1,W=JS,Object.defineProperty(W,"__esModule",{value:!0}),W.CARRIAGE_RETURN_PLACEHOLDER_REGEX=W.CARRIAGE_RETURN_PLACEHOLDER=W.CARRIAGE_RETURN_REGEX=W.CARRIAGE_RETURN=W.CASE_SENSITIVE_TAG_NAMES_MAP=W.CASE_SENSITIVE_TAG_NAMES=void 0,W.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],W.CASE_SENSITIVE_TAG_NAMES_MAP=W.CASE_SENSITIVE_TAG_NAMES.reduce(function(W,H){return W[H.toLowerCase()]=H,W},{}),W.CARRIAGE_RETURN="\r",W.CARRIAGE_RETURN_REGEX=new RegExp(W.CARRIAGE_RETURN,"g"),W.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),W.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(W.CARRIAGE_RETURN_PLACEHOLDER,"g")),JS;var W}();function r(W){for(var H={},U=0,G=W.length;U<G;U++){var X=W[U];H[X.name]=X.value}return H}function n(W){return function(W){return H.CASE_SENSITIVE_TAG_NAMES_MAP[W]}(W=W.toLowerCase())||W}function o(W){return W.replace(H.CARRIAGE_RETURN_PLACEHOLDER_REGEX,H.CARRIAGE_RETURN)}return LS}function yS(){if(ZS)return jS;ZS=1;var W=jS&&jS.__importDefault||function(W){return W&&W.__esModule?W:{default:W}};Object.defineProperty(jS,"__esModule",{value:!0}),jS.default=function(W){if("string"!=typeof W)throw new TypeError("First argument must be a string");if(!W)return[];var X=W.match(G),oe=X?X[1]:void 0;return(0,U.formatDOM)((0,H.default)(W),null,oe)};var H=W(function gS(){if(YS)return NS;YS=1,Object.defineProperty(NS,"__esModule",{value:!0}),NS.default=function(ae){var le,ce,de=(ae=(0,W.escapeSpecialCharacters)(ae)).match(X),pe=de&&de[1]?de[1].toLowerCase():"";switch(pe){case H:var fe=l(ae);return oe.test(ae)||null===(le=null==(Qe=fe.querySelector(U))?void 0:Qe.parentNode)||void 0===le||le.removeChild(Qe),ie.test(ae)||null===(ce=null==(Qe=fe.querySelector(G))?void 0:Qe.parentNode)||void 0===ce||ce.removeChild(Qe),fe.querySelectorAll(H);case U:case G:var ke=s(ae).querySelectorAll(pe);return ie.test(ae)&&oe.test(ae)?ke[0].parentNode.childNodes:ke;default:return ue?ue(ae):(Qe=s(ae,G).querySelector(G)).childNodes;var Qe}};var W=mS(),H="html",U="head",G="body",X=/<([a-zA-Z]+[0-9]?)/,oe=/<head[^]*>/i,ie=/<body[^]*>/i,s=function(W,H){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},l=function(W,H){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},ae="object"==typeof window&&window.DOMParser;if("function"==typeof ae){var le=new ae;s=l=function(W,H){return H&&(W="<".concat(H,">").concat(W,"</").concat(H,">")),le.parseFromString(W,"text/html")}}if("object"==typeof document&&document.implementation){var ce=document.implementation.createHTMLDocument();s=function(W,H){if(H){var U=ce.documentElement.querySelector(H);return U&&(U.innerHTML=W),ce}return ce.documentElement.innerHTML=W,ce}}var ue,de="object"==typeof document&&document.createElement("template");return de&&de.content&&(ue=function(W){return de.innerHTML=W,de.content.childNodes}),NS}()),U=mS(),G=/<(![a-zA-Z\s]+)>/;return jS}var QS,ek,rk={},ok={},lk={};function kS(){if(ek)return ok;function e(W,H,U,G,X,oe,ie){this.acceptsBooleans=2===H||3===H||4===H,this.attributeName=G,this.attributeNamespace=X,this.mustUseProperty=U,this.propertyName=W,this.type=H,this.sanitizeURL=oe,this.removeEmptyString=ie}ek=1;const W={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(H=>{W[H]=new e(H,0,!1,H,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([H,U])=>{W[H]=new e(H,1,!1,U,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(H=>{W[H]=new e(H,2,!1,H.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(H=>{W[H]=new e(H,2,!1,H,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(H=>{W[H]=new e(H,3,!1,H.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(H=>{W[H]=new e(H,3,!0,H,null,!1,!1)}),["capture","download"].forEach(H=>{W[H]=new e(H,4,!1,H,null,!1,!1)}),["cols","rows","size","span"].forEach(H=>{W[H]=new e(H,6,!1,H,null,!1,!1)}),["rowSpan","start"].forEach(H=>{W[H]=new e(H,5,!1,H.toLowerCase(),null,!1,!1)});const H=/[\-\:]([a-z])/g,n=W=>W[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(U=>{const G=U.replace(H,n);W[G]=new e(G,1,!1,U,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(U=>{const G=U.replace(H,n);W[G]=new e(G,1,!1,U,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(U=>{const G=U.replace(H,n);W[G]=new e(G,1,!1,U,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(H=>{W[H]=new e(H,1,!1,H.toLowerCase(),null,!1,!1)}),W.xlinkHref=new e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(H=>{W[H]=new e(H,1,!1,H.toLowerCase(),null,!0,!0)});const{CAMELCASE:U,SAME:G,possibleStandardNames:X}=function SS(){return QS||(QS=1,lk.SAME=0,lk.CAMELCASE=1,lk.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}),lk}(),oe=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),ie=Object.keys(X).reduce((W,H)=>{const oe=X[H];return oe===G?W[H]=H:oe===U?W[H.toLowerCase()]=H:W[H]=oe,W},{});return ok.BOOLEAN=3,ok.BOOLEANISH_STRING=2,ok.NUMERIC=5,ok.OVERLOADED_BOOLEAN=4,ok.POSITIVE_NUMERIC=6,ok.RESERVED=0,ok.STRING=1,ok.getPropertyInfo=function(H){return W.hasOwnProperty(H)?W[H]:null},ok.isCustomAttribute=oe,ok.possibleStandardNames=ie,ok}var ck,uk,dk,pk={},hk={};function IS(){if(dk)return hk;dk=1;var W=hk&&hk.__importDefault||function(W){return W&&W.__esModule?W:{default:W}};Object.defineProperty(hk,"__esModule",{value:!0}),hk.default=function(W,U){var G=null;if(!W||"string"!=typeof W)return G;var X=(0,H.default)(W),oe="function"==typeof U;return X.forEach(function(W){if("declaration"===W.type){var H=W.property,X=W.value;oe?U(H,X,W):X&&((G=G||{})[H]=X)}}),G};var H=W(function RS(){if(uk)return ck;uk=1;var W=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,H=/\n/g,U=/^\s*/,G=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,X=/^:\s*/,oe=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ie=/^[;\s]*/,ae=/^\s+|\s+$/g,le="";function c(W){return W?W.replace(ae,le):le}return ck=function(ae,ce){if("string"!=typeof ae)throw new TypeError("First argument must be a string");if(!ae)return[];ce=ce||{};var ue=1,de=1;function f(W){var U=W.match(H);U&&(ue+=U.length);var G=W.lastIndexOf("\n");de=~G?W.length-G:de+W.length}function h(){var W={line:ue,column:de};return function(H){return H.position=new m(W),b(),H}}function m(W){this.start=W,this.end={line:ue,column:de},this.source=ce.source}function g(W){var H=new Error(ce.source+":"+ue+":"+de+": "+W);if(H.reason=W,H.filename=ce.source,H.line=ue,H.column=de,H.source=ae,!ce.silent)throw H}function y(W){var H=W.exec(ae);if(H){var U=H[0];return f(U),ae=ae.slice(U.length),H}}function b(){y(U)}function v(W){var H;for(W=W||[];H=x();)!1!==H&&W.push(H);return W}function x(){var W=h();if("/"==ae.charAt(0)&&"*"==ae.charAt(1)){for(var H=2;le!=ae.charAt(H)&&("*"!=ae.charAt(H)||"/"!=ae.charAt(H+1));)++H;if(H+=2,le===ae.charAt(H-1))return g("End of comment missing");var U=ae.slice(2,H-2);return de+=2,f(U),ae=ae.slice(H),de+=2,W({type:"comment",comment:U})}}function _(){var H=h(),U=y(G);if(U){if(x(),!y(X))return g("property missing ':'");var ae=y(oe),ce=H({type:"declaration",property:c(U[0].replace(W,le)),value:ae?c(ae[0].replace(W,le)):le});return y(ie),ce}}return m.prototype.content=ae,b(),function(){var W,H=[];for(v(H);W=_();)!1!==W&&(H.push(W),v(H));return H}()},ck}());return hk}var fk,Sk,kk,Pk,Ak,jk={};function FS(){if(kk)return Sk;kk=1;var W=(Sk&&Sk.__importDefault||function(W){return W&&W.__esModule?W:{default:W}})(IS()),H=function DS(){if(fk)return jk;fk=1,Object.defineProperty(jk,"__esModule",{value:!0}),jk.camelCase=void 0;var W=/^--[a-zA-Z0-9_-]+$/,H=/-([a-z])/g,U=/^[^-]+$/,G=/^-(webkit|moz|ms|o|khtml)-/,X=/^-(ms)-/,i=function(W,H){return H.toUpperCase()},a=function(W,H){return"".concat(H,"-")};return jk.camelCase=function(oe,ie){return void 0===ie&&(ie={}),function(H){return!H||U.test(H)||W.test(H)}(oe)?oe:(oe=oe.toLowerCase(),(oe=ie.reactCompat?oe.replace(X,a):oe.replace(G,a)).replace(H,i))},jk}();function r(U,G){var X={};return U&&"string"==typeof U?((0,W.default)(U,function(W,U){W&&U&&(X[(0,H.camelCase)(W,G)]=U)}),X):X}return r.default=r,Sk=r}function zS(){return Pk||(Pk=1,function(W){var H=pk&&pk.__importDefault||function(W){return W&&W.__esModule?W:{default:W}};Object.defineProperty(W,"__esModule",{value:!0}),W.returnFirstArg=W.canTextBeChildOfNode=W.ELEMENTS_WITH_NO_TEXT_CHILDREN=W.PRESERVE_CUSTOM_ATTRIBUTES=void 0,W.isCustomComponent=function(W,H){return W.includes("-")?!oe.has(W):Boolean(H&&"string"==typeof H.is)},W.setStyleProp=function(W,H){if("string"==typeof W)if(W.trim())try{H.style=(0,G.default)(W,ie)}catch(W){H.style={}}else H.style={}};var U=X,G=H(FS()),oe=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),ie={reactCompat:!0};W.PRESERVE_CUSTOM_ATTRIBUTES=Number(U.version.split(".")[0])>=16,W.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),W.canTextBeChildOfNode=function(H){return!W.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(H.name)},W.returnFirstArg=function(W){return W}}(pk)),pk}function BS(){if(Ak)return rk;Ak=1,Object.defineProperty(rk,"__esModule",{value:!0}),rk.default=function(oe,ie){void 0===oe&&(oe={});var ae={},le=Boolean(oe.type&&X[oe.type]);for(var ce in oe){var ue=oe[ce];if((0,W.isCustomAttribute)(ce))ae[ce]=ue;else{var de=ce.toLowerCase(),pe=i(de);if(pe){var fe=(0,W.getPropertyInfo)(pe);switch(U.includes(pe)&&G.includes(ie)&&!le&&(pe=i("default"+de)),ae[pe]=ue,fe&&fe.type){case W.BOOLEAN:ae[pe]=!0;break;case W.OVERLOADED_BOOLEAN:""===ue&&(ae[pe]=!0)}}else H.PRESERVE_CUSTOM_ATTRIBUTES&&(ae[ce]=ue)}}return(0,H.setStyleProp)(oe.style,ae),ae};var W=kS(),H=zS(),U=["checked","value"],G=["input","select","textarea"],X={reset:!0,submit:!0};function i(H){return W.possibleStandardNames[H]}return rk}var Lk,$k,Dk={};function WS(){if(Lk)return Dk;Lk=1;var W=Dk&&Dk.__importDefault||function(W){return W&&W.__esModule?W:{default:W}};Object.defineProperty(Dk,"__esModule",{value:!0}),Dk.default=function e(W,H){void 0===H&&(H={});for(var X=[],ie="function"==typeof H.replace,ae=H.transform||G.returnFirstArg,le=H.library||oe,ce=le.cloneElement,ue=le.createElement,de=le.isValidElement,pe=W.length,fe=0;fe<pe;fe++){var ke=W[fe];if(ie){var Qe=H.replace(ke,fe);if(de(Qe)){pe>1&&(Qe=ce(Qe,{key:Qe.key||fe})),X.push(ae(Qe,ke,fe));continue}}if("text"!==ke.type){var tt=ke,it={};a(tt)?((0,G.setStyleProp)(tt.attribs.style,tt.attribs),it=tt.attribs):tt.attribs&&(it=(0,U.default)(tt.attribs,tt.name));var at=void 0;switch(ke.type){case"script":case"style":ke.children[0]&&(it.dangerouslySetInnerHTML={__html:ke.children[0].data});break;case"tag":"textarea"===ke.name&&ke.children[0]?it.defaultValue=ke.children[0].data:ke.children&&ke.children.length&&(at=e(ke.children,H));break;default:continue}pe>1&&(it.key=fe),X.push(ae(ue(ke.name,it,at),ke,fe))}else{var st=!ke.data.trim().length;if(st&&ke.parent&&!(0,G.canTextBeChildOfNode)(ke.parent))continue;if(H.trim&&st)continue;X.push(ae(ke.data,ke,fe))}}return 1===X.length?X[0]:X};var H=X,U=W(BS()),G=zS(),oe={cloneElement:H.cloneElement,createElement:H.createElement,isValidElement:H.isValidElement};function a(W){return G.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===W.type&&(0,G.isCustomComponent)(W.name,W.attribs)}return Dk}const Fk=l(function HS(){return $k||($k=1,function(W){var H=AS&&AS.__importDefault||function(W){return W&&W.__esModule?W:{default:W}};Object.defineProperty(W,"__esModule",{value:!0}),W.htmlToDOM=W.domToReact=W.attributesToProps=W.Text=W.ProcessingInstruction=W.Element=W.Comment=void 0,W.default=function(W,H){if("string"!=typeof W)throw new TypeError("First argument must be a string");return W?(0,X.default)((0,U.default)(W,(null==H?void 0:H.htmlparser2)||ie),H):[]};var U=H(yS());W.htmlToDOM=U.default;var G=H(BS());W.attributesToProps=G.default;var X=H(WS());W.domToReact=X.default;var oe=lS();Object.defineProperty(W,"Comment",{enumerable:!0,get:function(){return oe.Comment}}),Object.defineProperty(W,"Element",{enumerable:!0,get:function(){return oe.Element}}),Object.defineProperty(W,"ProcessingInstruction",{enumerable:!0,get:function(){return oe.ProcessingInstruction}}),Object.defineProperty(W,"Text",{enumerable:!0,get:function(){return oe.Text}});var ie={lowerCaseAttributeNames:!1}}(AS)),AS}()),zk=Fk.default||Fk,{slots:Bk,classNames:Vk}=vl("Image",["root"]),qk=kl("img",Bk.root)(({theme:W,ownerState:H})=>{const{variant:U="square"}=H;return{borderRadius:{square:void 0,rounded:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[2],circle:"50%"}[U]}}),Hk={variant:"square"},eC=X.forwardRef((W,H)=>{const U=yi({props:{...Hk,...W},name:Bk.root.name});return X.createElement(qk,{...U,ref:H,className:V([[Vk.root,U.className]]),ownerState:U})});eC.defaultProps=Hk;var tC=eC;const tk=({id:W,title:H,description:U,topic:oe,imageSrc:ie,chipTags:ae,link:le,readMoreText:ce,cta:ue,ctaLink:de,onItemClickedCallback:pe})=>{const{t:fe}=Zu("assets-whatsnew",{i18n:Kf}),[ke,Qe]=X.useState(!!ie);X.useEffect(()=>{ie&&Qe(!0)},[ie]);const tt=X.useMemo(()=>{const H=`${W}.chipTags`;if(Kf.exists(H,{ns:"assets-whatsnew"})){const W=fe(H,{returnObjects:!0});if(Array.isArray(W)&&W.length>0)return W}return ae},[fe,W,ae]),y=()=>{pe?.()};return G.jsxs(TS,{marginTop:2,children:[oe&&G.jsx(dl,{variant:"caption",color:"text.tertiary",children:fe(`${W}.topic`,{defaultValue:oe})}),G.jsx(dl,{variant:"subtitle1",color:"text.primary",children:fe(`${W}.title`,{defaultValue:H})}),ie&&G.jsxs(TS,{style:{marginBottom:16,position:"relative"},children:[ke&&G.jsx(Kw,{variant:"rectangular",width:"100%",height:200,sx:{borderRadius:1}}),G.jsx(tC,{src:ie,alt:fe(`${W}.title`,{defaultValue:H}),onLoad:()=>{Qe(!1)},onError:()=>{Qe(!1)},style:{width:"100%",height:"auto",display:ke?"none":"block"}})]}),ae&&tt&&G.jsx(TS,{display:"flex",gap:1,flexWrap:"wrap",marginBottom:1,children:ae.map((H,U)=>{const X=tt[U]||H;return G.jsx(iS,{variant:"outlined",label:X},`${W}-${H}`)})}),G.jsxs(dl,{variant:"body2",color:W=>W.palette.text.secondary,sx:{marginBottom:1},children:[zk(fe(`${W}.description`,{defaultValue:U})),ce&&G.jsx("a",{href:le,target:"_blank",rel:"noreferrer",onClick:y,children:" "+fe(`${W}.readMoreText`,{defaultValue:ce})})]}),ue&&G.jsx(Ad,{variant:"contained",color:"promotion",href:de,target:"_blank",onClick:y,children:fe(`${W}.cta`,{defaultValue:ue})})]})};var rC=ie.forwardRef((W,H)=>ie.createElement(Ru,{viewBox:"0 0 24 24",...W,ref:H},ie.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9302 3.00684C12.3573 3.03542 12.7729 3.16362 13.1431 3.38184C13.5618 3.6287 13.9074 3.98244 14.1451 4.40625L21.2456 16.6562L21.2915 16.751C21.4597 17.1668 21.524 17.6183 21.4781 18.0645C21.432 18.5106 21.2773 18.9397 21.0279 19.3125C20.7784 19.685 20.4411 19.9915 20.0464 20.2041C19.6517 20.4166 19.2105 20.529 18.7622 20.5322L18.7564 20.5332H4.75638C4.73812 20.5332 4.71964 20.5316 4.7017 20.5303C4.69631 20.5307 4.69052 20.5319 4.6851 20.5322L4.60795 20.5312L4.44388 20.5186C4.06393 20.476 3.69614 20.3543 3.36478 20.1611C2.98591 19.9403 2.66472 19.6317 2.42924 19.2617C2.19395 18.8919 2.051 18.4707 2.01127 18.0342C1.97166 17.5975 2.03678 17.1563 2.2017 16.75L2.2476 16.6562L9.34721 4.40625C9.58473 3.98261 9.93165 3.62868 10.3501 3.38184C10.7731 3.13252 11.2556 3.00006 11.7466 3L11.9302 3.00684ZM11.7574 15.7822C11.2051 15.7822 10.7574 16.2299 10.7574 16.7822C10.7574 17.3345 11.2051 17.7822 11.7574 17.7822H11.7671L11.8697 17.7773C12.3737 17.7259 12.7671 17.2998 12.7671 16.7822C12.7671 16.2647 12.3737 15.8386 11.8697 15.7871L11.7671 15.7822H11.7574ZM11.7564 8.0332C11.3424 8.03352 11.0064 8.36919 11.0064 8.7832V13.7832C11.0069 14.1968 11.3428 14.5329 11.7564 14.5332C12.1702 14.5332 12.5059 14.1969 12.5064 13.7832V8.7832C12.5064 8.36902 12.1706 8.03325 11.7564 8.0332Z"})));const nk=({appSettings:W})=>{const{t:H}=Zu("common",{i18n:Kf}),{data:U,isLoading:X,error:oe}=(({appName:W,appVersion:H})=>Fg({queryKey:["notifications",W,H],queryFn:async()=>(await Dy.getNotifications(W,H)).filter((W,H,U)=>U.findIndex(H=>H.id===W.id)===H),retry:!1}))({appName:W.slug,appVersion:W.version});return X?G.jsx(Xw,{}):oe?G.jsxs(Js,{sx:{height:"100%"},alignItems:"center",justifyContent:"center",children:[G.jsx(rC,{color:"error",fontSize:"large"}),G.jsx(dl,{variant:"subtitle2",color:"text.secondary",textAlign:"center",children:H("header.whatsNewError")})]}):U?.map((W,H)=>G.jsxs(TS,{"data-test":`whats-new-card-${H}`,children:[G.jsx(tk,{...W}),G.jsx(Uu,{sx:{margin:"16px 0"}})]},W.id))};var nC=ie.forwardRef((W,H)=>ie.createElement(Ru,{viewBox:"0 0 24 24",...W,ref:H},ie.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5303 5.46967C18.8232 5.76256 18.8232 6.23744 18.5303 6.53033L6.53033 18.5303C6.23744 18.8232 5.76256 18.8232 5.46967 18.5303C5.17678 18.2374 5.17678 17.7626 5.46967 17.4697L17.4697 5.46967C17.7626 5.17678 18.2374 5.17678 18.5303 5.46967Z"}),ie.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.46967 5.46967C5.76256 5.17678 6.23744 5.17678 6.53033 5.46967L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L5.46967 6.53033C5.17678 6.23744 5.17678 5.76256 5.46967 5.46967Z"})));const ik=({appSettings:W,onClose:H})=>{const{t:U}=Zu("common",{i18n:Kf});return G.jsxs(G.Fragment,{children:[G.jsxs(TS,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[G.jsx(dl,{variant:"subtitle1",color:"primary.text",children:U("header.whatsNew")}),G.jsx(Cu,{onClick:()=>{H()},"data-test":"service-banner-close",children:G.jsx(nC,{})})]}),G.jsx(nk,{appSettings:W})]})};function ak(W){return yi}function sk(W){return Oo("MuiBadge",W)}const oC=Ei("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),iC=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],aC=ak(),sC=os("span",{name:"MuiBadge",slot:"Root",overridesResolver:(W,H)=>H.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),uC=os("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.badge,H[U.variant],H[`anchorOrigin${Vr(U.anchorOrigin.vertical)}${Vr(U.anchorOrigin.horizontal)}${Vr(U.overlap)}`],"default"!==U.color&&H[`color${Vr(U.color)}`],U.invisible&&H.invisible]}})(({theme:W})=>{var H;return{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:W.typography.fontFamily,fontWeight:W.typography.fontWeightMedium,fontSize:W.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:W.transitions.create("transform",{easing:W.transitions.easing.easeInOut,duration:W.transitions.duration.enteringScreen}),variants:[...Object.keys((null!=(H=W.vars)?H:W).palette).filter(H=>{var U,G;return(null!=(U=W.vars)?U:W).palette[H].main&&(null!=(G=W.vars)?G:W).palette[H].contrastText}).map(H=>({props:{color:H},style:{backgroundColor:(W.vars||W).palette[H].main,color:(W.vars||W).palette[H].contrastText}})),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:W})=>"top"===W.anchorOrigin.vertical&&"right"===W.anchorOrigin.horizontal&&"rectangular"===W.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${oC.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:W})=>"bottom"===W.anchorOrigin.vertical&&"right"===W.anchorOrigin.horizontal&&"rectangular"===W.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${oC.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:W})=>"top"===W.anchorOrigin.vertical&&"left"===W.anchorOrigin.horizontal&&"rectangular"===W.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${oC.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:W})=>"bottom"===W.anchorOrigin.vertical&&"left"===W.anchorOrigin.horizontal&&"rectangular"===W.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${oC.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:W})=>"top"===W.anchorOrigin.vertical&&"right"===W.anchorOrigin.horizontal&&"circular"===W.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${oC.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:W})=>"bottom"===W.anchorOrigin.vertical&&"right"===W.anchorOrigin.horizontal&&"circular"===W.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${oC.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:W})=>"top"===W.anchorOrigin.vertical&&"left"===W.anchorOrigin.horizontal&&"circular"===W.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${oC.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:W})=>"bottom"===W.anchorOrigin.vertical&&"left"===W.anchorOrigin.horizontal&&"circular"===W.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${oC.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:W.transitions.create("transform",{easing:W.transitions.easing.easeInOut,duration:W.transitions.duration.leavingScreen})}}]}}),dC=ie.forwardRef(function(W,H){var U,X,oe,ie,ae,le;const ce=aC({props:W,name:"MuiBadge"}),{anchorOrigin:ue={vertical:"top",horizontal:"right"},className:de,component:pe,components:fe={},componentsProps:ke={},children:Qe,overlap:tt="rectangular",color:it="default",invisible:at=!1,max:st=99,badgeContent:ut,slots:ht,slotProps:ft,showZero:gt=!1,variant:yt="standard"}=ce,vt=a(ce,iC),{badgeContent:bt,invisible:xt,max:wt,displayValue:St}=function(W){const{badgeContent:H,invisible:U=!1,max:G=99,showZero:X=!1}=W,oe=Ea({badgeContent:H,max:G});let ie=U;!1!==U||0!==H||X||(ie=!0);const{badgeContent:ae,max:le=G}=ie?oe:W;return{badgeContent:ae,invisible:ie,max:le,displayValue:ae&&Number(ae)>le?`${le}+`:ae}}({max:st,invisible:at,badgeContent:ut,showZero:gt}),Ct=Ea({anchorOrigin:ue,color:it,overlap:tt,variant:yt,badgeContent:ut}),It=xt||null==bt&&"dot"!==yt,{color:Pt=it,overlap:At=tt,anchorOrigin:jt=ue,variant:Nt=yt}=It?Ct:ce,Lt="dot"!==Nt?St:void 0,$t=s({},ce,{badgeContent:bt,invisible:It,max:wt,displayValue:Lt,showZero:gt,anchorOrigin:jt,color:Pt,overlap:At,variant:Nt}),Dt=(W=>{const{color:H,anchorOrigin:U,invisible:G,overlap:X,variant:oe,classes:ie={}}=W;return q({root:["root"],badge:["badge",oe,G&&"invisible",`anchorOrigin${Vr(U.vertical)}${Vr(U.horizontal)}`,`anchorOrigin${Vr(U.vertical)}${Vr(U.horizontal)}${Vr(X)}`,`overlap${Vr(X)}`,"default"!==H&&`color${Vr(H)}`]},sk,ie)})($t),Ft=null!=(U=null!=(X=null==ht?void 0:ht.root)?X:fe.Root)?U:sC,zt=null!=(oe=null!=(ie=null==ht?void 0:ht.badge)?ie:fe.Badge)?oe:uC,Bt=null!=(ae=null==ft?void 0:ft.root)?ae:ke.root,Yt=null!=(le=null==ft?void 0:ft.badge)?le:ke.badge,Zt=Cp({elementType:Ft,externalSlotProps:Bt,externalForwardedProps:vt,additionalProps:{ref:H,as:pe},ownerState:$t,className:V(null==Bt?void 0:Bt.className,Dt.root,de)}),Jt=Cp({elementType:zt,externalSlotProps:Yt,ownerState:$t,className:V(Dt.badge,null==Yt?void 0:Yt.className)});return G.jsxs(Ft,s({},Zt,{children:[Qe,G.jsx(zt,s({},Jt,{children:Lt}))]}))});var hC=X.forwardRef((W,H)=>X.createElement(dC,{...W,ref:H}));const mk=({appSettings:W,containerSx:H={},notificationsApiUrl:U,onClick:oe})=>{Zu("assets-whatsnew",{i18n:Kf});const[ie,ae]=X.useState(!1),[le,ce]=X.useState(!1),u=()=>{ae(!1)};return G.jsxs(G.Fragment,{children:[G.jsx(hC,{color:"primary",overlap:"circular",badgeContent:"",invisible:le,variant:"dot",children:G.jsx(Cu,{onClick:()=>{oe(),ie||le||ce(!0),ae(!ie)},"data-test":"whats-new-button",size:"small",children:G.jsx(cS,{fontSize:"small"})})}),G.jsx(ku,{colorScheme:"light",children:G.jsx(CS,{variant:"temporary",open:ie,disableScrollLock:!0,anchor:"right",onClose:u,sx:H,disableEnforceFocus:!0,children:G.jsx(ik,{appSettings:W,onClose:u,notificationsApiUrl:U})})})]})};var gk=W=>"checkbox"===W.type,yk=W=>W instanceof Date,bk=W=>null==W;const vk=W=>"object"==typeof W;var xk=W=>!bk(W)&&!Array.isArray(W)&&vk(W)&&!yk(W),_k=W=>xk(W)&&W.target?gk(W.target)?W.target.checked:W.target.value:W,wk=(W,H)=>W.has((W=>W.substring(0,W.search(/\.\d+(\.|$)/))||W)(H)),fC="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function Ok(W){let H;const U=Array.isArray(W),G="undefined"!=typeof FileList&&W instanceof FileList;if(W instanceof Date)H=new Date(W);else{if(fC&&(W instanceof Blob||G)||!U&&!xk(W))return W;if(H=U?[]:Object.create(Object.getPrototypeOf(W)),U||(W=>{const H=W.constructor&&W.constructor.prototype;return xk(H)&&H.hasOwnProperty("isPrototypeOf")})(W))for(const U in W)W.hasOwnProperty(U)&&(H[U]=Ok(W[U]));else H=W}return H}var Ck=W=>/^\w*$/.test(W),Ek=W=>void 0===W,Tk=W=>Array.isArray(W)?W.filter(Boolean):[],Mk=W=>Tk(W.replace(/["|']|\]/g,"").split(/\.|\[/)),Rk=(W,H,U)=>{if(!H||!xk(W))return U;const G=(Ck(H)?[H]:Mk(H)).reduce((W,H)=>bk(W)?W:W[H],W);return Ek(G)||G===W?Ek(W[H])?U:W[H]:G},Ik=W=>"boolean"==typeof W,Nk=(W,H,U)=>{let G=-1;const X=Ck(H)?[H]:Mk(H),oe=X.length,ie=oe-1;for(;++G<oe;){const H=X[G];let oe=U;if(G!==ie){const U=W[H];oe=xk(U)||Array.isArray(U)?U:isNaN(+X[G+1])?{}:[]}if("__proto__"===H||"constructor"===H||"prototype"===H)return;W[H]=oe,W=W[H]}};const gC="blur",yC="onChange",vC="onSubmit",bC="all",xC="pattern",_C="required",wC=X.createContext(null);wC.displayName="HookFormContext";const Uk=()=>X.useContext(wC);var Wk=(W,H,U,G=!0)=>{const X={defaultValues:H._defaultValues};for(const oe in W)Object.defineProperty(X,oe,{get:()=>{const X=oe;return H._proxyFormState[X]!==bC&&(H._proxyFormState[X]=!G||bC),U&&(U[X]=!0),W[X]}});return X};const SC="undefined"!=typeof window?X.useLayoutEffect:X.useEffect;var Kk=W=>"string"==typeof W,Gk=(W,H,U,G,X)=>Kk(W)?(G&&H.watch.add(W),Rk(U,W,X)):Array.isArray(W)?W.map(W=>(G&&H.watch.add(W),Rk(U,W))):(G&&(H.watchAll=!0),U),Xk=W=>bk(W)||!vk(W);function Yk(W,H,U=new WeakSet){if(Xk(W)||Xk(H))return W===H;if(yk(W)&&yk(H))return W.getTime()===H.getTime();const G=Object.keys(W),X=Object.keys(H);if(G.length!==X.length)return!1;if(U.has(W)||U.has(H))return!0;U.add(W),U.add(H);for(const oe of G){const G=W[oe];if(!X.includes(oe))return!1;if("ref"!==oe){const W=H[oe];if(yk(G)&&yk(W)||xk(G)&&xk(W)||Array.isArray(G)&&Array.isArray(W)?!Yk(G,W,U):G!==W)return!1}}return!0}const Qk=W=>W.render(function(W){const H=Uk(),{name:U,disabled:G,control:oe=H.control,shouldUnregister:ie,defaultValue:ae}=W,le=wk(oe._names.array,U),ce=X.useMemo(()=>Rk(oe._formValues,U,Rk(oe._defaultValues,U,ae)),[oe,U,ae]),ue=function(W){const H=Uk(),{control:U=H.control,name:G,defaultValue:oe,disabled:ie,exact:ae,compute:le}=W||{},ce=X.useRef(oe),ue=X.useRef(le),de=X.useRef(void 0);ue.current=le;const pe=X.useMemo(()=>U._getWatch(G,ce.current),[U,G]),[fe,ke]=X.useState(ue.current?ue.current(pe):pe);return SC(()=>U._subscribe({name:G,formState:{values:!0},exact:ae,callback:W=>{if(!ie){const H=Gk(G,U._names,W.values||U._formValues,!1,ce.current);if(ue.current){const W=ue.current(H);Yk(W,de.current)||(ke(W),de.current=W)}else ke(H)}}}),[U,ie,G,ae]),X.useEffect(()=>U._removeUnmounted()),fe}({control:oe,name:U,defaultValue:ce,exact:!0}),de=function(W){const H=Uk(),{control:U=H.control,disabled:G,name:oe,exact:ie}=W||{},[ae,le]=X.useState(U._formState),ce=X.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return SC(()=>U._subscribe({name:oe,formState:ce.current,exact:ie,callback:W=>{!G&&le({...U._formState,...W})}}),[oe,G,ie]),X.useEffect(()=>{ce.current.isValid&&U._setValid(!0)},[U]),X.useMemo(()=>Wk(ae,U,ce.current,!1),[ae,U])}({control:oe,name:U,exact:!0}),pe=X.useRef(W),fe=X.useRef(oe.register(U,{...W.rules,value:ue,...Ik(W.disabled)?{disabled:W.disabled}:{}}));pe.current=W;const ke=X.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Rk(de.errors,U)},isDirty:{enumerable:!0,get:()=>!!Rk(de.dirtyFields,U)},isTouched:{enumerable:!0,get:()=>!!Rk(de.touchedFields,U)},isValidating:{enumerable:!0,get:()=>!!Rk(de.validatingFields,U)},error:{enumerable:!0,get:()=>Rk(de.errors,U)}}),[de,U]),Qe=X.useCallback(W=>fe.current.onChange({target:{value:_k(W),name:U},type:"change"}),[U]),tt=X.useCallback(()=>fe.current.onBlur({target:{value:Rk(oe._formValues,U),name:U},type:gC}),[U,oe._formValues]),it=X.useCallback(W=>{const H=Rk(oe._fields,U);H&&W&&(H._f.ref={focus:()=>W.focus&&W.focus(),select:()=>W.select&&W.select(),setCustomValidity:H=>W.setCustomValidity(H),reportValidity:()=>W.reportValidity()})},[oe._fields,U]),at=X.useMemo(()=>({name:U,value:ue,...Ik(G)||de.disabled?{disabled:de.disabled||G}:{},onChange:Qe,onBlur:tt,ref:it}),[U,G,de.disabled,Qe,tt,it,ue]);return X.useEffect(()=>{const W=oe._options.shouldUnregister||ie;oe.register(U,{...pe.current.rules,...Ik(pe.current.disabled)?{disabled:pe.current.disabled}:{}});const t=(W,H)=>{const U=Rk(oe._fields,W);U&&U._f&&(U._f.mount=H)};if(t(U,!0),W){const W=Ok(Rk(oe._options.defaultValues,U));Nk(oe._defaultValues,U,W),Ek(Rk(oe._formValues,U))&&Nk(oe._formValues,U,W)}return!le&&oe.register(U),()=>{(le?W&&!oe._state.action:W)?oe.unregister(U):t(U,!1)}},[U,oe,le,ie]),X.useEffect(()=>{oe._setDisabledField({disabled:G,name:U})},[G,U,oe]),X.useMemo(()=>({field:at,formState:de,fieldState:ke}),[at,de,ke])}(W));var Zk=(W,H,U,G,X)=>H?{...U[W],types:{...U[W]&&U[W].types?U[W].types:{},[G]:X||!0}}:{},Jk=W=>Array.isArray(W)?W:[W],eO=()=>{let W=[];return{get observers(){return W},next:H=>{for(const U of W)U.next&&U.next(H)},subscribe:H=>(W.push(H),{unsubscribe:()=>{W=W.filter(W=>W!==H)}}),unsubscribe:()=>{W=[]}}},tO=W=>xk(W)&&!Object.keys(W).length,rO=W=>"file"===W.type,nO=W=>"function"==typeof W,oO=W=>{if(!fC)return!1;const H=W?W.ownerDocument:0;return W instanceof(H&&H.defaultView?H.defaultView.HTMLElement:HTMLElement)},iO=W=>"select-multiple"===W.type,aO=W=>"radio"===W.type,sO=W=>oO(W)&&W.isConnected;function lO(W,H){const U=Array.isArray(H)?H:Ck(H)?[H]:Mk(H),G=1===U.length?W:function(W,H){const U=H.slice(0,-1).length;let G=0;for(;G<U;)W=Ek(W)?G++:W[H[G++]];return W}(W,U),X=U.length-1,oe=U[X];return G&&delete G[oe],0!==X&&(xk(G)&&tO(G)||Array.isArray(G)&&function(W){for(const H in W)if(W.hasOwnProperty(H)&&!Ek(W[H]))return!1;return!0}(G))&&lO(W,U.slice(0,-1)),W}var cO=W=>{for(const H in W)if(nO(W[H]))return!0;return!1};function uO(W,H={}){const U=Array.isArray(W);if(xk(W)||U)for(const U in W)Array.isArray(W[U])||xk(W[U])&&!cO(W[U])?(H[U]=Array.isArray(W[U])?[]:{},uO(W[U],H[U])):bk(W[U])||(H[U]=!0);return H}function pO(W,H,U){const G=Array.isArray(W);if(xk(W)||G)for(const G in W)Array.isArray(W[G])||xk(W[G])&&!cO(W[G])?Ek(H)||Xk(U[G])?U[G]=Array.isArray(W[G])?uO(W[G],[]):{...uO(W[G])}:pO(W[G],bk(H)?{}:H[G],U[G]):U[G]=!Yk(W[G],H[G]);return U}var dO=(W,H)=>pO(W,H,uO(H));const kC={value:!1,isValid:!1},CC={value:!0,isValid:!0};var mO=W=>{if(Array.isArray(W)){if(W.length>1){const H=W.filter(W=>W&&W.checked&&!W.disabled).map(W=>W.value);return{value:H,isValid:!!H.length}}return W[0].checked&&!W[0].disabled?W[0].attributes&&!Ek(W[0].attributes.value)?Ek(W[0].value)||""===W[0].value?CC:{value:W[0].value,isValid:!0}:CC:kC}return kC},gO=(W,{valueAsNumber:H,valueAsDate:U,setValueAs:G})=>Ek(W)?W:H?""===W?NaN:W?+W:W:U&&Kk(W)?new Date(W):G?G(W):W;const OC={isValid:!1,value:null};var bO=W=>Array.isArray(W)?W.reduce((W,H)=>H&&H.checked&&!H.disabled?{isValid:!0,value:H.value}:W,OC):OC;function vO(W){const H=W.ref;return rO(H)?H.files:aO(H)?bO(W.refs).value:iO(H)?[...H.selectedOptions].map(({value:W})=>W):gk(H)?mO(W.refs).value:gO(Ek(H.value)?W.ref.value:H.value,W)}var xO=W=>W instanceof RegExp,_O=W=>Ek(W)?W:xO(W)?W.source:xk(W)?xO(W.value)?W.value.source:W.value:W,wO=W=>({isOnSubmit:!W||W===vC,isOnBlur:"onBlur"===W,isOnChange:W===yC,isOnAll:W===bC,isOnTouch:"onTouched"===W});const MC="AsyncFunction";var kO=(W,H,U)=>!U&&(H.watchAll||H.watch.has(W)||[...H.watch].some(H=>W.startsWith(H)&&/^\.\w+/.test(W.slice(H.length))));const OO=(W,H,U,G)=>{for(const X of U||Object.keys(W)){const U=Rk(W,X);if(U){const{_f:W,...oe}=U;if(W){if(W.refs&&W.refs[0]&&H(W.refs[0],X)&&!G)return!0;if(W.ref&&H(W.ref,W.name)&&!G)return!0;if(OO(oe,H))break}else if(xk(oe)&&OO(oe,H))break}}};function CO(W,H,U){const G=Rk(W,U);if(G||Ck(U))return{error:G,name:U};const X=U.split(".");for(;X.length;){const G=X.join("."),oe=Rk(H,G),ie=Rk(W,G);if(oe&&!Array.isArray(oe)&&U!==G)return{name:U};if(ie&&ie.type)return{name:G,error:ie};if(ie&&ie.root&&ie.root.type)return{name:`${G}.root`,error:ie.root};X.pop()}return{name:U}}var EO=(W,H,U)=>{const G=Jk(Rk(W,U));return Nk(G,"root",H[U]),Nk(W,U,G),W},TO=W=>Kk(W);function MO(W,H,U="validate"){if(TO(W)||Array.isArray(W)&&W.every(TO)||Ik(W)&&!W)return{type:U,message:TO(W)?W:"",ref:H}}var RO=W=>xk(W)&&!xO(W)?W:{value:W,message:""},IO=async(W,H,U,G,X,oe)=>{const{ref:ie,refs:ae,required:le,maxLength:ce,minLength:ue,min:de,max:pe,pattern:fe,validate:ke,name:Qe,valueAsNumber:tt,mount:it}=W._f,at=Rk(U,Qe);if(!it||H.has(Qe))return{};const st=ae?ae[0]:ie,x=W=>{X&&st.reportValidity&&(st.setCustomValidity(Ik(W)?"":W||""),st.reportValidity())},ut={},ht=aO(ie),ft=gk(ie),gt=ht||ft,yt=(tt||rO(ie))&&Ek(ie.value)&&Ek(at)||oO(ie)&&""===ie.value||""===at||Array.isArray(at)&&!at.length,vt=Zk.bind(null,Qe,G,ut),E=(W,H,U,G="maxLength",X="minLength")=>{const oe=W?H:U;ut[Qe]={type:W?G:X,message:oe,ref:ie,...vt(W?G:X,oe)}};if(oe?!Array.isArray(at)||!at.length:le&&(!gt&&(yt||bk(at))||Ik(at)&&!at||ft&&!mO(ae).isValid||ht&&!bO(ae).isValid)){const{value:W,message:H}=TO(le)?{value:!!le,message:le}:RO(le);if(W&&(ut[Qe]={type:_C,message:H,ref:st,...vt(_C,H)},!G))return x(H),ut}if(!(yt||bk(de)&&bk(pe))){let W,H;const U=RO(pe),X=RO(de);if(bk(at)||isNaN(at)){const G=ie.valueAsDate||new Date(at),i=W=>new Date((new Date).toDateString()+" "+W),oe="time"==ie.type,ae="week"==ie.type;Kk(U.value)&&at&&(W=oe?i(at)>i(U.value):ae?at>U.value:G>new Date(U.value)),Kk(X.value)&&at&&(H=oe?i(at)<i(X.value):ae?at<X.value:G<new Date(X.value))}else{const G=ie.valueAsNumber||(at?+at:at);bk(U.value)||(W=G>U.value),bk(X.value)||(H=G<X.value)}if((W||H)&&(E(!!W,U.message,X.message,"max","min"),!G))return x(ut[Qe].message),ut}if((ce||ue)&&!yt&&(Kk(at)||oe&&Array.isArray(at))){const W=RO(ce),H=RO(ue),U=!bk(W.value)&&at.length>+W.value,X=!bk(H.value)&&at.length<+H.value;if((U||X)&&(E(U,W.message,H.message),!G))return x(ut[Qe].message),ut}if(fe&&!yt&&Kk(at)){const{value:W,message:H}=RO(fe);if(xO(W)&&!at.match(W)&&(ut[Qe]={type:xC,message:H,ref:ie,...vt(xC,H)},!G))return x(H),ut}if(ke)if(nO(ke)){const W=MO(await ke(at,U),st);if(W&&(ut[Qe]={...W,...vt("validate",W.message)},!G))return x(W.message),ut}else if(xk(ke)){let W={};for(const H in ke){if(!tO(W)&&!G)break;const X=MO(await ke[H](at,U),st,H);X&&(W={...X,...vt(H,X.message)},x(X.message),G&&(ut[Qe]=W))}if(!tO(W)&&(ut[Qe]={ref:st,...W},!G))return ut}return x(!0),ut};const RC={mode:vC,reValidateMode:yC,shouldFocusError:!0};function jO(W){return Oo("MuiDialog",W)}const IC=Ei("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),TC=ie.createContext({}),PC=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],AC=os(Rp,{name:"MuiDialog",slot:"Backdrop",overrides:(W,H)=>H.backdrop})({zIndex:-1}),jC=os(Fp,{name:"MuiDialog",slot:"Root",overridesResolver:(W,H)=>H.root})({"@media print":{position:"absolute !important"}}),NC=os("div",{name:"MuiDialog",slot:"Container",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.container,H[`scroll${Vr(U.scroll)}`]]}})(({ownerState:W})=>s({height:"100%","@media print":{height:"auto"},outline:0},"paper"===W.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===W.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),DC=os(Vs,{name:"MuiDialog",slot:"Paper",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.paper,H[`scrollPaper${Vr(U.scroll)}`],H[`paperWidth${Vr(String(U.maxWidth))}`],U.fullWidth&&H.paperFullWidth,U.fullScreen&&H.paperFullScreen]}})(({theme:W,ownerState:H})=>s({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===H.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===H.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!H.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===H.maxWidth&&{maxWidth:"px"===W.breakpoints.unit?Math.max(W.breakpoints.values.xs,444):`max(${W.breakpoints.values.xs}${W.breakpoints.unit}, 444px)`,[`&.${IC.paperScrollBody}`]:{[W.breakpoints.down(Math.max(W.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},H.maxWidth&&"xs"!==H.maxWidth&&{maxWidth:`${W.breakpoints.values[H.maxWidth]}${W.breakpoints.unit}`,[`&.${IC.paperScrollBody}`]:{[W.breakpoints.down(W.breakpoints.values[H.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},H.fullWidth&&{width:"calc(100% - 64px)"},H.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${IC.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),FC=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiDialog"}),X=Ka(),oe={enter:X.transitions.duration.enteringScreen,exit:X.transitions.duration.leavingScreen},{"aria-describedby":ae,"aria-labelledby":le,BackdropComponent:ce,BackdropProps:ue,children:de,className:pe,disableEscapeKeyDown:fe=!1,fullScreen:ke=!1,fullWidth:Qe=!1,maxWidth:tt="sm",onBackdropClick:it,onClick:at,onClose:st,open:ut,PaperComponent:ht=Vs,PaperProps:ft={},scroll:gt="paper",TransitionComponent:yt=Ep,transitionDuration:vt=oe,TransitionProps:bt}=U,xt=a(U,PC),wt=s({},U,{disableEscapeKeyDown:fe,fullScreen:ke,fullWidth:Qe,maxWidth:tt,scroll:gt}),St=(W=>{const{classes:H,scroll:U,maxWidth:G,fullWidth:X,fullScreen:oe}=W;return q({root:["root"],container:["container",`scroll${Vr(U)}`],paper:["paper",`paperScroll${Vr(U)}`,`paperWidth${Vr(String(G))}`,X&&"paperFullWidth",oe&&"paperFullScreen"]},jO,H)})(wt),Ct=ie.useRef(),It=ua(le),Pt=ie.useMemo(()=>({titleId:It}),[It]);return G.jsx(jC,s({className:V(St.root,pe),closeAfterTransition:!0,components:{Backdrop:AC},componentsProps:{backdrop:s({transitionDuration:vt,as:ce},ue)},disableEscapeKeyDown:fe,onClose:st,open:ut,ref:H,onClick:W=>{at&&at(W),Ct.current&&(Ct.current=null,it&&it(W),st&&st(W,"backdropClick"))},ownerState:wt},xt,{children:G.jsx(yt,s({appear:!0,in:ut,timeout:vt,role:"presentation"},bt,{children:G.jsx(NC,{className:V(St.container),onMouseDown:W=>{Ct.current=W.target===W.currentTarget},ownerState:wt,children:G.jsx(DC,s({as:ht,elevation:24,role:"dialog","aria-describedby":ae,"aria-labelledby":It},ft,{className:V(St.paper,ft.className),ownerState:wt,children:G.jsx(TC.Provider,{value:Pt,children:de})}))})}))}))});var zC=X.forwardRef((W,H)=>X.createElement(FC,{...W,ref:H}));function UO(W){return Oo("MuiDialogContent",W)}function WO(W){return Oo("MuiDialogTitle",W)}Ei("MuiDialogContent",["root","dividers"]);const BC=Ei("MuiDialogTitle",["root"]),VC=["className","dividers"],qC=os("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,U.dividers&&H.dividers]}})(({theme:W,ownerState:H})=>s({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},H.dividers?{padding:"16px 24px",borderTop:`1px solid ${(W.vars||W).palette.divider}`,borderBottom:`1px solid ${(W.vars||W).palette.divider}`}:{[`.${BC.root} + &`]:{paddingTop:0}})),WC=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiDialogContent"}),{className:X,dividers:oe=!1}=U,ie=a(U,VC),ae=s({},U,{dividers:oe}),le=(W=>{const{classes:H,dividers:U}=W;return q({root:["root",U&&"dividers"]},UO,H)})(ae);return G.jsx(qC,s({className:V(le.root,X),ownerState:ae,ref:H},ie))});var HC=X.forwardRef((W,H)=>X.createElement(WC,{...W,ref:H}));function QO(W){return Oo("MuiDialogActions",W)}Ei("MuiDialogActions",["root","spacing"]);const UC=["className","disableSpacing"],KC=os("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,!U.disableSpacing&&H.spacing]}})(({ownerState:W})=>s({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!W.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),GC=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiDialogActions"}),{className:X,disableSpacing:oe=!1}=U,ie=a(U,UC),ae=s({},U,{disableSpacing:oe}),le=(W=>{const{classes:H,disableSpacing:U}=W;return q({root:["root",!U&&"spacing"]},QO,H)})(ae);return G.jsx(KC,s({className:V(le.root,X),ownerState:ae,ref:H},ie))});var XC=X.forwardRef((W,H)=>X.createElement(GC,{...W,ref:H}));const YC=["className","id"],ZC=os(ll,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(W,H)=>H.root})({padding:"16px 24px",flex:"0 0 auto"}),QC=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiDialogTitle"}),{className:X,id:oe}=U,ae=a(U,YC),le=U,ce=(W=>{const{classes:H}=W;return q({root:["root"]},WO,H)})(le),{titleId:ue=oe}=ie.useContext(TC);return G.jsx(ZC,s({component:"h2",className:V(ce.root,X),ownerState:le,ref:H,variant:"h6",id:null!=oe?oe:ue},ae))}),oE={variant:"subtitle1"},aE=X.forwardRef((W,H)=>X.createElement(QC,{...oE,...W,ref:H}));aE.defaultProps=oE;var sE=aE;function lC(W){return null!=W&&!(Array.isArray(W)&&0===W.length)}function cC(W,H=!1){return W&&(lC(W.value)&&""!==W.value||H&&lC(W.defaultValue)&&""!==W.defaultValue)}const lE=ie.createContext(void 0);function pC(W){return Oo("MuiFormControl",W)}Ei("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const kE=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],CE=os("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:W},H)=>s({},H.root,H[`margin${Vr(W.margin)}`],W.fullWidth&&H.fullWidth)})(({ownerState:W})=>s({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===W.margin&&{marginTop:16,marginBottom:8},"dense"===W.margin&&{marginTop:8,marginBottom:4},W.fullWidth&&{width:"100%"})),ME=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiFormControl"}),{children:X,className:oe,color:ae="primary",component:le="div",disabled:ce=!1,error:ue=!1,focused:de,fullWidth:pe=!1,hiddenLabel:fe=!1,margin:ke="none",required:Qe=!1,size:tt="medium",variant:it="outlined"}=U,at=a(U,kE),st=s({},U,{color:ae,component:le,disabled:ce,error:ue,fullWidth:pe,hiddenLabel:fe,margin:ke,required:Qe,size:tt,variant:it}),ut=(W=>{const{classes:H,margin:U,fullWidth:G}=W;return q({root:["root","none"!==U&&`margin${Vr(U)}`,G&&"fullWidth"]},pC,H)})(st),[ht,ft]=ie.useState(()=>{let W=!1;return X&&ie.Children.forEach(X,H=>{if(!oa(H,["Input","Select"]))return;const U=oa(H,["Select"])?H.props.input:H;U&&U.props.startAdornment&&(W=!0)}),W}),[gt,yt]=ie.useState(()=>{let W=!1;return X&&ie.Children.forEach(X,H=>{oa(H,["Input","Select"])&&(cC(H.props,!0)||cC(H.props.inputProps,!0))&&(W=!0)}),W}),[vt,bt]=ie.useState(!1);ce&&vt&&bt(!1);const xt=void 0===de||ce?vt:de;let wt;const St=ie.useMemo(()=>({adornedStart:ht,setAdornedStart:ft,color:ae,disabled:ce,error:ue,filled:gt,focused:xt,fullWidth:pe,hiddenLabel:fe,size:tt,onBlur:()=>{bt(!1)},onEmpty:()=>{yt(!1)},onFilled:()=>{yt(!0)},onFocus:()=>{bt(!0)},registerEffect:wt,required:Qe,variant:it}),[ht,ae,ce,ue,gt,xt,pe,fe,wt,Qe,tt,it]);return G.jsx(lE.Provider,{value:St,children:G.jsx(CE,s({as:le,ownerState:st,className:V(ut.root,oe),ref:H},at,{children:X}))})});function mC(){return ie.useContext(lE)}var RE=X.forwardRef((W,H)=>X.createElement(ME,{...W,ref:H}));const TE=X.forwardRef((W,H)=>X.createElement(Ru,{viewBox:"0 0 24 24",...W,ref:H},X.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5303 5.46967C18.8232 5.76256 18.8232 6.23744 18.5303 6.53033L6.53033 18.5303C6.23744 18.8232 5.76256 18.8232 5.46967 18.5303C5.17678 18.2374 5.17678 17.7626 5.46967 17.4697L17.4697 5.46967C17.7626 5.17678 18.2374 5.17678 18.5303 5.46967Z"}),X.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.46967 5.46967C5.76256 5.17678 6.23744 5.17678 6.53033 5.46967L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L5.46967 6.53033C5.17678 6.23744 5.17678 5.76256 5.46967 5.46967Z"}))),{slots:NE,classNames:UE}=vl("CloseButton",["root","icon"]),KE=kl(Cu,NE.root)({}),QE=kl(TE,NE.icon)({}),hO={"aria-label":"close",color:"default"},fO=X.forwardRef((W,H)=>{const U=yi({props:{...hO,...W},name:NE.root.name}),{slotProps:G={},...oe}=U;return X.createElement(KE,{...oe,size:"small",ref:H,className:V([[UE.root,oe.className]]),ownerState:U},X.createElement(QE,{...G.icon,className:V([UE.icon,G.icon?.className]),ownerState:U}))});fO.defaultProps=hO;var yO=fO;const SO=kl(W=>X.createElement(Ru,{viewBox:"0 0 32 32",...W},X.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.69648 24.8891C0.938383 22.2579 0 19.1645 0 16C0 11.7566 1.68571 7.68687 4.68629 4.68629C7.68687 1.68571 11.7566 0 16 0C19.1645 0 22.2579 0.938383 24.8891 2.69648C27.5203 4.45459 29.5711 6.95344 30.7821 9.87706C31.9931 12.8007 32.3099 16.0177 31.6926 19.1214C31.0752 22.2251 29.5514 25.0761 27.3137 27.3137C25.0761 29.5514 22.2251 31.0752 19.1214 31.6926C16.0177 32.3099 12.8007 31.9931 9.87706 30.7821C6.95344 29.5711 4.45459 27.5203 2.69648 24.8891ZM12.0006 9.33281H9.33437V22.6665H12.0006V9.33281ZM22.6657 9.33281H14.6669V11.9991H22.6657V9.33281ZM22.6657 14.6654H14.6669V17.3316H22.6657V14.6654ZM22.6657 20.0003H14.6669V22.6665H22.6657V20.0003Z"})))(({theme:W})=>({width:W.spacing(3),height:W.spacing(3),"& path":{fill:W.palette.text.primary},marginRight:W.spacing(1)})),AO=kl("span")(({theme:W})=>({marginRight:W.spacing(1)})),EC=({logo:W,...H})=>!1===W?null:W?X.createElement(AO,null,W):X.createElement(SO,{...H}),{slots:NO,classNames:LO}=vl("DialogHeader",["root","logo","toolbar"]),$O=kl(Xs,NO.root)({"& .MuiDialogTitle-root":{padding:0}}),DO=kl(rl,NO.toolbar)({}),FO={color:"transparent",position:"relative"},zO=X.forwardRef((W,H)=>{const U=yi({props:{...FO,...W},name:NO.root.name}),{slotProps:G={},logo:oe,onClose:ie,...ae}=U;return X.createElement($O,{...ae,ref:H,className:V([[LO.root,ae.className]]),ownerState:U},X.createElement(DO,{variant:"dense",...G.toolbar,className:V([LO.toolbar,G.toolbar?.className]),ownerState:U},X.createElement(EC,{logo:oe,className:V([LO.logo,G.logo?.className])}),X.createElement(Js,{direction:"row",alignItems:"center",flex:1},U.children),ie&&X.createElement(yO,{edge:"end",onClick:ie,sx:{"&.MuiButtonBase-root":{ml:.5}}})))});zO.defaultProps=FO;var BO=zO;const VO="base";function $C(W){return W.substring(2).toLowerCase()}function LC(W){const{children:H,disableReactTree:U=!1,mouseEvent:X="onClick",onClickAway:oe,touchEvent:ae="onTouchEnd"}=W,le=ie.useRef(!1),ce=ie.useRef(null),ue=ie.useRef(!1),de=ie.useRef(!1);ie.useEffect(()=>(setTimeout(()=>{ue.current=!0},0),()=>{ue.current=!1}),[]);const pe=fa(H.ref,ce),fe=da(W=>{const H=de.current;de.current=!1;const G=ia(ce.current);if(!ue.current||!ce.current||"clientX"in W&&function(W,H){return H.documentElement.clientWidth<W.clientX||H.documentElement.clientHeight<W.clientY}(W,G))return;if(le.current)return void(le.current=!1);let X;X=W.composedPath?W.composedPath().indexOf(ce.current)>-1:!G.documentElement.contains(W.target)||ce.current.contains(W.target),X||!U&&H||oe(W)}),h=W=>U=>{de.current=!0;const G=H.props[W];G&&G(U)},ke={ref:pe};return!1!==ae&&(ke[ae]=h(ae)),ie.useEffect(()=>{if(!1!==ae){const W=$C(ae),H=ia(ce.current),r=()=>{le.current=!0};return H.addEventListener(W,fe),H.addEventListener("touchmove",r),()=>{H.removeEventListener(W,fe),H.removeEventListener("touchmove",r)}}},[fe,ae]),!1!==X&&(ke[X]=h(X)),ie.useEffect(()=>{if(!1!==X){const W=$C(X),H=ia(ce.current);return H.addEventListener(W,fe),()=>{H.removeEventListener(W,fe)}}},[fe,X]),G.jsx(ie.Fragment,{children:ie.cloneElement(H,ke)})}var qO="top",HO="bottom",KO="right",GO="left",XO="auto",YO=[qO,HO,KO,GO],ZO="start",JO="end",eM="viewport",tM="popper",rM=YO.reduce(function(W,H){return W.concat([H+"-"+ZO,H+"-"+JO])},[]),nM=[].concat(YO,[XO]).reduce(function(W,H){return W.concat([H,H+"-"+ZO,H+"-"+JO])},[]),oM=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function JC(W){return W?(W.nodeName||"").toLowerCase():null}function eE(W){if(null==W)return window;if("[object Window]"!==W.toString()){var H=W.ownerDocument;return H&&H.defaultView||window}return W}function tE(W){return W instanceof eE(W).Element||W instanceof Element}function rE(W){return W instanceof eE(W).HTMLElement||W instanceof HTMLElement}function nE(W){return"undefined"!=typeof ShadowRoot&&(W instanceof eE(W).ShadowRoot||W instanceof ShadowRoot)}const iM={name:"applyStyles",enabled:!0,phase:"write",fn:function(W){var H=W.state;Object.keys(H.elements).forEach(function(W){var U=H.styles[W]||{},G=H.attributes[W]||{},X=H.elements[W];rE(X)&&JC(X)&&(Object.assign(X.style,U),Object.keys(G).forEach(function(W){var H=G[W];!1===H?X.removeAttribute(W):X.setAttribute(W,!0===H?"":H)}))})},effect:function(W){var H=W.state,U={popper:{position:H.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(H.elements.popper.style,U.popper),H.styles=U,H.elements.arrow&&Object.assign(H.elements.arrow.style,U.arrow),function(){Object.keys(H.elements).forEach(function(W){var G=H.elements[W],X=H.attributes[W]||{},oe=Object.keys(H.styles.hasOwnProperty(W)?H.styles[W]:U[W]).reduce(function(W,H){return W[H]="",W},{});rE(G)&&JC(G)&&(Object.assign(G.style,oe),Object.keys(X).forEach(function(W){G.removeAttribute(W)}))})}},requires:["computeStyles"]};function iE(W){return W.split("-")[0]}var aM=Math.max,sM=Math.min,lM=Math.round;function cE(){var W=navigator.userAgentData;return null!=W&&W.brands&&Array.isArray(W.brands)?W.brands.map(function(W){return W.brand+"/"+W.version}).join(" "):navigator.userAgent}function uE(){return!/^((?!chrome|android).)*safari/i.test(cE())}function pE(W,H,U){void 0===H&&(H=!1),void 0===U&&(U=!1);var G=W.getBoundingClientRect(),X=1,oe=1;H&&rE(W)&&(X=W.offsetWidth>0&&lM(G.width)/W.offsetWidth||1,oe=W.offsetHeight>0&&lM(G.height)/W.offsetHeight||1);var ie=(tE(W)?eE(W):window).visualViewport,ae=!uE()&&U,le=(G.left+(ae&&ie?ie.offsetLeft:0))/X,ce=(G.top+(ae&&ie?ie.offsetTop:0))/oe,ue=G.width/X,de=G.height/oe;return{width:ue,height:de,top:ce,right:le+ue,bottom:ce+de,left:le,x:le,y:ce}}function dE(W){var H=pE(W),U=W.offsetWidth,G=W.offsetHeight;return Math.abs(H.width-U)<=1&&(U=H.width),Math.abs(H.height-G)<=1&&(G=H.height),{x:W.offsetLeft,y:W.offsetTop,width:U,height:G}}function fE(W,H){var U=H.getRootNode&&H.getRootNode();if(W.contains(H))return!0;if(U&&nE(U)){var G=H;do{if(G&&W.isSameNode(G))return!0;G=G.parentNode||G.host}while(G)}return!1}function hE(W){return eE(W).getComputedStyle(W)}function mE(W){return["table","td","th"].indexOf(JC(W))>=0}function gE(W){return((tE(W)?W.ownerDocument:W.document)||window.document).documentElement}function yE(W){return"html"===JC(W)?W:W.assignedSlot||W.parentNode||(nE(W)?W.host:null)||gE(W)}function bE(W){return rE(W)&&"fixed"!==hE(W).position?W.offsetParent:null}function vE(W){for(var H=eE(W),U=bE(W);U&&mE(U)&&"static"===hE(U).position;)U=bE(U);return U&&("html"===JC(U)||"body"===JC(U)&&"static"===hE(U).position)?H:U||function(W){var H=/firefox/i.test(cE());if(/Trident/i.test(cE())&&rE(W)&&"fixed"===hE(W).position)return null;var U=yE(W);for(nE(U)&&(U=U.host);rE(U)&&["html","body"].indexOf(JC(U))<0;){var G=hE(U);if("none"!==G.transform||"none"!==G.perspective||"paint"===G.contain||-1!==["transform","perspective"].indexOf(G.willChange)||H&&"filter"===G.willChange||H&&G.filter&&"none"!==G.filter)return U;U=U.parentNode}return null}(W)||H}function xE(W){return["top","bottom"].indexOf(W)>=0?"x":"y"}function _E(W,H,U){return aM(W,sM(H,U))}function wE(W){return Object.assign({},{top:0,right:0,bottom:0,left:0},W)}function SE(W,H){return H.reduce(function(H,U){return H[U]=W,H},{})}const cM={name:"arrow",enabled:!0,phase:"main",fn:function(W){var H,U=W.state,G=W.name,X=W.options,oe=U.elements.arrow,ie=U.modifiersData.popperOffsets,ae=iE(U.placement),le=xE(ae),ce=[GO,KO].indexOf(ae)>=0?"height":"width";if(oe&&ie){var ue=function(W,H){return wE("number"!=typeof(W="function"==typeof W?W(Object.assign({},H.rects,{placement:H.placement})):W)?W:SE(W,YO))}(X.padding,U),de=dE(oe),pe="y"===le?qO:GO,fe="y"===le?HO:KO,ke=U.rects.reference[ce]+U.rects.reference[le]-ie[le]-U.rects.popper[ce],Qe=ie[le]-U.rects.reference[le],tt=vE(oe),it=tt?"y"===le?tt.clientHeight||0:tt.clientWidth||0:0,at=ke/2-Qe/2,st=ue[pe],ut=it-de[ce]-ue[fe],ht=it/2-de[ce]/2+at,ft=_E(st,ht,ut),gt=le;U.modifiersData[G]=((H={})[gt]=ft,H.centerOffset=ft-ht,H)}},effect:function(W){var H=W.state,U=W.options.element,G=void 0===U?"[data-popper-arrow]":U;null!=G&&("string"!=typeof G||(G=H.elements.popper.querySelector(G)))&&fE(H.elements.popper,G)&&(H.elements.arrow=G)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function OE(W){return W.split("-")[1]}var uM={top:"auto",right:"auto",bottom:"auto",left:"auto"};function EE(W){var H,U=W.popper,G=W.popperRect,X=W.placement,oe=W.variation,ie=W.offsets,ae=W.position,le=W.gpuAcceleration,ce=W.adaptive,ue=W.roundOffsets,de=W.isFixed,pe=ie.x,fe=void 0===pe?0:pe,ke=ie.y,Qe=void 0===ke?0:ke,tt="function"==typeof ue?ue({x:fe,y:Qe}):{x:fe,y:Qe};fe=tt.x,Qe=tt.y;var it=ie.hasOwnProperty("x"),at=ie.hasOwnProperty("y"),st=GO,ut=qO,ht=window;if(ce){var ft=vE(U),gt="clientHeight",yt="clientWidth";ft===eE(U)&&"static"!==hE(ft=gE(U)).position&&"absolute"===ae&&(gt="scrollHeight",yt="scrollWidth"),(X===qO||(X===GO||X===KO)&&oe===JO)&&(ut=HO,Qe-=(de&&ft===ht&&ht.visualViewport?ht.visualViewport.height:ft[gt])-G.height,Qe*=le?1:-1),X!==GO&&(X!==qO&&X!==HO||oe!==JO)||(st=KO,fe-=(de&&ft===ht&&ht.visualViewport?ht.visualViewport.width:ft[yt])-G.width,fe*=le?1:-1)}var vt,bt=Object.assign({position:ae},ce&&uM),xt=!0===ue?function(W,H){var U=W.x,G=W.y,X=H.devicePixelRatio||1;return{x:lM(U*X)/X||0,y:lM(G*X)/X||0}}({x:fe,y:Qe},eE(U)):{x:fe,y:Qe};return fe=xt.x,Qe=xt.y,le?Object.assign({},bt,((vt={})[ut]=at?"0":"",vt[st]=it?"0":"",vt.transform=(ht.devicePixelRatio||1)<=1?"translate("+fe+"px, "+Qe+"px)":"translate3d("+fe+"px, "+Qe+"px, 0)",vt)):Object.assign({},bt,((H={})[ut]=at?Qe+"px":"",H[st]=it?fe+"px":"",H.transform="",H))}var dM={passive:!0};const pM={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(W){var H=W.state,U=W.instance,G=W.options,X=G.scroll,oe=void 0===X||X,ie=G.resize,ae=void 0===ie||ie,le=eE(H.elements.popper),ce=[].concat(H.scrollParents.reference,H.scrollParents.popper);return oe&&ce.forEach(function(W){W.addEventListener("scroll",U.update,dM)}),ae&&le.addEventListener("resize",U.update,dM),function(){oe&&ce.forEach(function(W){W.removeEventListener("scroll",U.update,dM)}),ae&&le.removeEventListener("resize",U.update,dM)}},data:{}};var hM={left:"right",right:"left",bottom:"top",top:"bottom"};function IE(W){return W.replace(/left|right|bottom|top/g,function(W){return hM[W]})}var fM={start:"end",end:"start"};function PE(W){return W.replace(/start|end/g,function(W){return fM[W]})}function jE(W){var H=eE(W);return{scrollLeft:H.pageXOffset,scrollTop:H.pageYOffset}}function AE(W){return pE(gE(W)).left+jE(W).scrollLeft}function $E(W){var H=hE(W),U=H.overflow,G=H.overflowX,X=H.overflowY;return/auto|scroll|overlay|hidden/.test(U+X+G)}function LE(W){return["html","body","#document"].indexOf(JC(W))>=0?W.ownerDocument.body:rE(W)&&$E(W)?W:LE(yE(W))}function DE(W,H){var U;void 0===H&&(H=[]);var G=LE(W),X=G===(null==(U=W.ownerDocument)?void 0:U.body),oe=eE(G),ie=X?[oe].concat(oe.visualViewport||[],$E(G)?G:[]):G,ae=H.concat(ie);return X?ae:ae.concat(DE(yE(ie)))}function FE(W){return Object.assign({},W,{left:W.x,top:W.y,right:W.x+W.width,bottom:W.y+W.height})}function zE(W,H,U){return H===eM?FE(function(W,H){var U=eE(W),G=gE(W),X=U.visualViewport,oe=G.clientWidth,ie=G.clientHeight,ae=0,le=0;if(X){oe=X.width,ie=X.height;var ce=uE();(ce||!ce&&"fixed"===H)&&(ae=X.offsetLeft,le=X.offsetTop)}return{width:oe,height:ie,x:ae+AE(W),y:le}}(W,U)):tE(H)?function(W,H){var U=pE(W,!1,"fixed"===H);return U.top=U.top+W.clientTop,U.left=U.left+W.clientLeft,U.bottom=U.top+W.clientHeight,U.right=U.left+W.clientWidth,U.width=W.clientWidth,U.height=W.clientHeight,U.x=U.left,U.y=U.top,U}(H,U):FE(function(W){var H,U=gE(W),G=jE(W),X=null==(H=W.ownerDocument)?void 0:H.body,oe=aM(U.scrollWidth,U.clientWidth,X?X.scrollWidth:0,X?X.clientWidth:0),ie=aM(U.scrollHeight,U.clientHeight,X?X.scrollHeight:0,X?X.clientHeight:0),ae=-G.scrollLeft+AE(W),le=-G.scrollTop;return"rtl"===hE(X||U).direction&&(ae+=aM(U.clientWidth,X?X.clientWidth:0)-oe),{width:oe,height:ie,x:ae,y:le}}(gE(W)))}function BE(W){var H,U=W.reference,G=W.element,X=W.placement,oe=X?iE(X):null,ie=X?OE(X):null,ae=U.x+U.width/2-G.width/2,le=U.y+U.height/2-G.height/2;switch(oe){case qO:H={x:ae,y:U.y-G.height};break;case HO:H={x:ae,y:U.y+U.height};break;case KO:H={x:U.x+U.width,y:le};break;case GO:H={x:U.x-G.width,y:le};break;default:H={x:U.x,y:U.y}}var ce=oe?xE(oe):null;if(null!=ce){var ue="y"===ce?"height":"width";switch(ie){case ZO:H[ce]=H[ce]-(U[ue]/2-G[ue]/2);break;case JO:H[ce]=H[ce]+(U[ue]/2-G[ue]/2)}}return H}function VE(W,H){void 0===H&&(H={});var U=H,G=U.placement,X=void 0===G?W.placement:G,oe=U.strategy,ie=void 0===oe?W.strategy:oe,ae=U.boundary,le=void 0===ae?"clippingParents":ae,ce=U.rootBoundary,ue=void 0===ce?eM:ce,de=U.elementContext,pe=void 0===de?tM:de,fe=U.altBoundary,ke=void 0!==fe&&fe,Qe=U.padding,tt=void 0===Qe?0:Qe,it=wE("number"!=typeof tt?tt:SE(tt,YO)),at=pe===tM?"reference":tM,st=W.rects.popper,ut=W.elements[ke?at:pe],ht=function(W,H,U,G){var X="clippingParents"===H?function(W){var H=DE(yE(W)),U=["absolute","fixed"].indexOf(hE(W).position)>=0&&rE(W)?vE(W):W;return tE(U)?H.filter(function(W){return tE(W)&&fE(W,U)&&"body"!==JC(W)}):[]}(W):[].concat(H),oe=[].concat(X,[U]),ie=oe[0],ae=oe.reduce(function(H,U){var X=zE(W,U,G);return H.top=aM(X.top,H.top),H.right=sM(X.right,H.right),H.bottom=sM(X.bottom,H.bottom),H.left=aM(X.left,H.left),H},zE(W,ie,G));return ae.width=ae.right-ae.left,ae.height=ae.bottom-ae.top,ae.x=ae.left,ae.y=ae.top,ae}(tE(ut)?ut:ut.contextElement||gE(W.elements.popper),le,ue,ie),ft=pE(W.elements.reference),gt=BE({reference:ft,element:st,placement:X}),yt=FE(Object.assign({},st,gt)),vt=pe===tM?yt:ft,bt={top:ht.top-vt.top+it.top,bottom:vt.bottom-ht.bottom+it.bottom,left:ht.left-vt.left+it.left,right:vt.right-ht.right+it.right},xt=W.modifiersData.offset;if(pe===tM&&xt){var wt=xt[X];Object.keys(bt).forEach(function(W){var H=[KO,HO].indexOf(W)>=0?1:-1,U=[qO,HO].indexOf(W)>=0?"y":"x";bt[W]+=wt[U]*H})}return bt}const mM={name:"flip",enabled:!0,phase:"main",fn:function(W){var H=W.state,U=W.options,G=W.name;if(!H.modifiersData[G]._skip){for(var X=U.mainAxis,oe=void 0===X||X,ie=U.altAxis,ae=void 0===ie||ie,le=U.fallbackPlacements,ce=U.padding,ue=U.boundary,de=U.rootBoundary,pe=U.altBoundary,fe=U.flipVariations,ke=void 0===fe||fe,Qe=U.allowedAutoPlacements,tt=H.options.placement,it=iE(tt),at=le||(it!==tt&&ke?function(W){if(iE(W)===XO)return[];var H=IE(W);return[PE(W),H,PE(H)]}(tt):[IE(tt)]),st=[tt].concat(at).reduce(function(W,U){return W.concat(iE(U)===XO?function qE(W,H){void 0===H&&(H={});var U=H,G=U.placement,X=U.boundary,oe=U.rootBoundary,ie=U.padding,ae=U.flipVariations,le=U.allowedAutoPlacements,ce=void 0===le?nM:le,ue=OE(G),de=ue?ae?rM:rM.filter(function(W){return OE(W)===ue}):YO,pe=de.filter(function(W){return ce.indexOf(W)>=0});0===pe.length&&(pe=de);var fe=pe.reduce(function(H,U){return H[U]=VE(W,{placement:U,boundary:X,rootBoundary:oe,padding:ie})[iE(U)],H},{});return Object.keys(fe).sort(function(W,H){return fe[W]-fe[H]})}(H,{placement:U,boundary:ue,rootBoundary:de,padding:ce,flipVariations:ke,allowedAutoPlacements:Qe}):U)},[]),ut=H.rects.reference,ht=H.rects.popper,ft=new Map,gt=!0,yt=st[0],vt=0;vt<st.length;vt++){var bt=st[vt],xt=iE(bt),wt=OE(bt)===ZO,St=[qO,HO].indexOf(xt)>=0,Ct=St?"width":"height",It=VE(H,{placement:bt,boundary:ue,rootBoundary:de,altBoundary:pe,padding:ce}),Pt=St?wt?KO:GO:wt?HO:qO;ut[Ct]>ht[Ct]&&(Pt=IE(Pt));var At=IE(Pt),jt=[];if(oe&&jt.push(It[xt]<=0),ae&&jt.push(It[Pt]<=0,It[At]<=0),jt.every(function(W){return W})){yt=bt,gt=!1;break}ft.set(bt,jt)}if(gt)for(var A=function(W){var H=st.find(function(H){var U=ft.get(H);if(U)return U.slice(0,W).every(function(W){return W})});if(H)return yt=H,"break"},Nt=ke?3:1;Nt>0&&"break"!==A(Nt);Nt--);H.placement!==yt&&(H.modifiersData[G]._skip=!0,H.placement=yt,H.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function WE(W,H,U){return void 0===U&&(U={x:0,y:0}),{top:W.top-H.height-U.y,right:W.right-H.width+U.x,bottom:W.bottom-H.height+U.y,left:W.left-H.width-U.x}}function HE(W){return[qO,KO,HO,GO].some(function(H){return W[H]>=0})}const gM={name:"preventOverflow",enabled:!0,phase:"main",fn:function(W){var H=W.state,U=W.options,G=W.name,X=U.mainAxis,oe=void 0===X||X,ie=U.altAxis,ae=void 0!==ie&&ie,le=U.boundary,ce=U.rootBoundary,ue=U.altBoundary,de=U.padding,pe=U.tether,fe=void 0===pe||pe,ke=U.tetherOffset,Qe=void 0===ke?0:ke,tt=VE(H,{boundary:le,rootBoundary:ce,padding:de,altBoundary:ue}),it=iE(H.placement),at=OE(H.placement),st=!at,ut=xE(it),ht="x"===ut?"y":"x",ft=H.modifiersData.popperOffsets,gt=H.rects.reference,yt=H.rects.popper,vt="function"==typeof Qe?Qe(Object.assign({},H.rects,{placement:H.placement})):Qe,bt="number"==typeof vt?{mainAxis:vt,altAxis:vt}:Object.assign({mainAxis:0,altAxis:0},vt),xt=H.modifiersData.offset?H.modifiersData.offset[H.placement]:null,wt={x:0,y:0};if(ft){if(oe){var St,Ct="y"===ut?qO:GO,It="y"===ut?HO:KO,Pt="y"===ut?"height":"width",At=ft[ut],jt=At+tt[Ct],Nt=At-tt[It],Lt=fe?-yt[Pt]/2:0,$t=at===ZO?gt[Pt]:yt[Pt],Dt=at===ZO?-yt[Pt]:-gt[Pt],Ft=H.elements.arrow,zt=fe&&Ft?dE(Ft):{width:0,height:0},Bt=H.modifiersData["arrow#persistent"]?H.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Yt=Bt[Ct],Zt=Bt[It],Jt=_E(0,gt[Pt],zt[Pt]),Qt=st?gt[Pt]/2-Lt-Jt-Yt-bt.mainAxis:$t-Jt-Yt-bt.mainAxis,er=st?-gt[Pt]/2+Lt+Jt+Zt+bt.mainAxis:Dt+Jt+Zt+bt.mainAxis,tr=H.elements.arrow&&vE(H.elements.arrow),Or=tr?"y"===ut?tr.clientTop||0:tr.clientLeft||0:0,Mr=null!=(St=null==xt?void 0:xt[ut])?St:0,Rr=At+er-Mr,Ar=_E(fe?sM(jt,At+Qt-Mr-Or):jt,At,fe?aM(Nt,Rr):Nt);ft[ut]=Ar,wt[ut]=Ar-At}if(ae){var Fr,Br="x"===ut?qO:GO,qr="x"===ut?HO:KO,Wr=ft[ht],Hr="y"===ht?"height":"width",Ur=Wr+tt[Br],Gr=Wr-tt[qr],Xr=-1!==[qO,GO].indexOf(it),Yr=null!=(Fr=null==xt?void 0:xt[ht])?Fr:0,Jr=Xr?Ur:Wr-gt[Hr]-yt[Hr]-Yr+bt.altAxis,Qr=Xr?Wr+gt[Hr]+yt[Hr]-Yr-bt.altAxis:Gr,en=fe&&Xr?function(W,H,U){var G=_E(W,H,U);return G>U?U:G}(Jr,Wr,Qr):_E(fe?Jr:Ur,Wr,fe?Qr:Gr);ft[ht]=en,wt[ht]=en-Wr}H.modifiersData[G]=wt}},requiresIfExists:["offset"]};function GE(W,H,U){void 0===U&&(U=!1);var G=rE(H),X=rE(H)&&function(W){var H=W.getBoundingClientRect(),U=lM(H.width)/W.offsetWidth||1,G=lM(H.height)/W.offsetHeight||1;return 1!==U||1!==G}(H),oe=gE(H),ie=pE(W,X,U),ae={scrollLeft:0,scrollTop:0},le={x:0,y:0};return(G||!G&&!U)&&(("body"!==JC(H)||$E(oe))&&(ae=function(W){return W!==eE(W)&&rE(W)?{scrollLeft:(H=W).scrollLeft,scrollTop:H.scrollTop}:jE(W);var H}(H)),rE(H)?((le=pE(H,!0)).x+=H.clientLeft,le.y+=H.clientTop):oe&&(le.x=AE(oe))),{x:ie.left+ae.scrollLeft-le.x,y:ie.top+ae.scrollTop-le.y,width:ie.width,height:ie.height}}function XE(W){var H=new Map,U=new Set,G=[];function o(W){U.add(W.name),[].concat(W.requires||[],W.requiresIfExists||[]).forEach(function(W){if(!U.has(W)){var G=H.get(W);G&&o(G)}}),G.push(W)}return W.forEach(function(W){H.set(W.name,W)}),W.forEach(function(W){U.has(W.name)||o(W)}),G}function YE(W){var H;return function(){return H||(H=new Promise(function(U){Promise.resolve().then(function(){H=void 0,U(W())})})),H}}var yM={placement:"bottom",modifiers:[],strategy:"absolute"};function ZE(){for(var W=arguments.length,H=new Array(W),U=0;U<W;U++)H[U]=arguments[U];return!H.some(function(W){return!(W&&"function"==typeof W.getBoundingClientRect)})}var xM=function JE(W){void 0===W&&(W={});var H=W,U=H.defaultModifiers,G=void 0===U?[]:U,X=H.defaultOptions,oe=void 0===X?yM:X;return function(W,H,U){void 0===U&&(U=oe);var X={placement:"bottom",orderedModifiers:[],options:Object.assign({},yM,oe),modifiersData:{},elements:{reference:W,popper:H},attributes:{},styles:{}},ie=[],ae=!1,le={state:X,setOptions:function(U){var ae="function"==typeof U?U(X.options):U;c(),X.options=Object.assign({},oe,X.options,ae),X.scrollParents={reference:tE(W)?DE(W):W.contextElement?DE(W.contextElement):[],popper:DE(H)};var ce,ue,de=function(W){var H=XE(W);return oM.reduce(function(W,U){return W.concat(H.filter(function(W){return W.phase===U}))},[])}((ce=[].concat(G,X.options.modifiers),ue=ce.reduce(function(W,H){var U=W[H.name];return W[H.name]=U?Object.assign({},U,H,{options:Object.assign({},U.options,H.options),data:Object.assign({},U.data,H.data)}):H,W},{}),Object.keys(ue).map(function(W){return ue[W]})));return X.orderedModifiers=de.filter(function(W){return W.enabled}),X.orderedModifiers.forEach(function(W){var H=W.name,U=W.options,G=void 0===U?{}:U,oe=W.effect;if("function"==typeof oe){var ae=oe({state:X,name:H,instance:le,options:G});ie.push(ae||function(){})}}),le.update()},forceUpdate:function(){if(!ae){var W=X.elements,H=W.reference,U=W.popper;if(ZE(H,U)){X.rects={reference:GE(H,vE(U),"fixed"===X.options.strategy),popper:dE(U)},X.reset=!1,X.placement=X.options.placement,X.orderedModifiers.forEach(function(W){return X.modifiersData[W.name]=Object.assign({},W.data)});for(var G=0;G<X.orderedModifiers.length;G++)if(!0!==X.reset){var oe=X.orderedModifiers[G],ie=oe.fn,ce=oe.options,ue=void 0===ce?{}:ce,de=oe.name;"function"==typeof ie&&(X=ie({state:X,options:ue,name:de,instance:le})||X)}else X.reset=!1,G=-1}}},update:YE(function(){return new Promise(function(W){le.forceUpdate(),W(X)})}),destroy:function(){c(),ae=!0}};if(!ZE(W,H))return le;function c(){ie.forEach(function(W){return W()}),ie=[]}return le.setOptions(U).then(function(W){!ae&&U.onFirstUpdate&&U.onFirstUpdate(W)}),le}}({defaultModifiers:[pM,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(W){var H=W.state,U=W.name;H.modifiersData[U]=BE({reference:H.rects.reference,element:H.rects.popper,placement:H.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(W){var H=W.state,U=W.options,G=U.gpuAcceleration,X=void 0===G||G,oe=U.adaptive,ie=void 0===oe||oe,ae=U.roundOffsets,le=void 0===ae||ae,ce={placement:iE(H.placement),variation:OE(H.placement),popper:H.elements.popper,popperRect:H.rects.popper,gpuAcceleration:X,isFixed:"fixed"===H.options.strategy};null!=H.modifiersData.popperOffsets&&(H.styles.popper=Object.assign({},H.styles.popper,EE(Object.assign({},ce,{offsets:H.modifiersData.popperOffsets,position:H.options.strategy,adaptive:ie,roundOffsets:le})))),null!=H.modifiersData.arrow&&(H.styles.arrow=Object.assign({},H.styles.arrow,EE(Object.assign({},ce,{offsets:H.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:le})))),H.attributes.popper=Object.assign({},H.attributes.popper,{"data-popper-placement":H.placement})},data:{}},iM,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(W){var H=W.state,U=W.options,G=W.name,X=U.offset,oe=void 0===X?[0,0]:X,ie=nM.reduce(function(W,U){return W[U]=function(W,H,U){var G=iE(W),X=[GO,qO].indexOf(G)>=0?-1:1,oe="function"==typeof U?U(Object.assign({},H,{placement:W})):U,ie=oe[0],ae=oe[1];return ie=ie||0,ae=(ae||0)*X,[GO,KO].indexOf(G)>=0?{x:ae,y:ie}:{x:ie,y:ae}}(U,H.rects,oe),W},{}),ae=ie[H.placement],le=ae.x,ce=ae.y;null!=H.modifiersData.popperOffsets&&(H.modifiersData.popperOffsets.x+=le,H.modifiersData.popperOffsets.y+=ce),H.modifiersData[G]=ie}},mM,gM,cM,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(W){var H=W.state,U=W.name,G=H.rects.reference,X=H.rects.popper,oe=H.modifiersData.preventOverflow,ie=VE(H,{elementContext:"reference"}),ae=VE(H,{altBoundary:!0}),le=WE(ie,G),ce=WE(ae,X,oe),ue=HE(le),de=HE(ce);H.modifiersData[U]={referenceClippingOffsets:le,popperEscapeOffsets:ce,isReferenceHidden:ue,hasPopperEscaped:de},H.attributes.popper=Object.assign({},H.attributes.popper,{"data-popper-reference-hidden":ue,"data-popper-escaped":de})}}]});function tT(W){return function(W,H){const U=Yo[H];return U?`${VO}--${U}`:function(W,H){return`${VO}-${W}-${H}`}("Popper",H)}(0,W)}const _M=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],wM=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function oT(W){return"function"==typeof W?W():W}const SM={},kM=ie.forwardRef(function(W,H){var U;const{anchorEl:X,children:oe,direction:ae,disablePortal:le,modifiers:ce,open:ue,placement:de,popperOptions:pe,popperRef:fe,slotProps:ke={},slots:Qe={},TransitionProps:tt}=W,it=a(W,_M),at=ie.useRef(null),st=fa(at,H),ut=ie.useRef(null),ht=fa(ut,fe),ft=ie.useRef(ht);hs(()=>{ft.current=ht},[ht]),ie.useImperativeHandle(fe,()=>ut.current,[]);const gt=function(W,H){if("ltr"===H)return W;switch(W){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return W}}(de,ae),[yt,vt]=ie.useState(gt),[bt,xt]=ie.useState(oT(X));ie.useEffect(()=>{ut.current&&ut.current.forceUpdate()}),ie.useEffect(()=>{X&&xt(oT(X))},[X]),hs(()=>{if(!bt||!ue)return;let W=[{name:"preventOverflow",options:{altBoundary:le}},{name:"flip",options:{altBoundary:le}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:W})=>{vt(W.placement)}}];null!=ce&&(W=W.concat(ce)),pe&&null!=pe.modifiers&&(W=W.concat(pe.modifiers));const H=xM(bt,at.current,s({placement:gt},pe,{modifiers:W}));return ft.current(H),()=>{H.destroy(),ft.current(null)}},[bt,le,ce,ue,pe,gt]);const wt={placement:yt};null!==tt&&(wt.TransitionProps=tt);const St=q({root:["root"]},function(W){const{disableDefaultClasses:H}=ie.useContext(Zd);return U=>H?"":W(U)}(tT)),Ct=null!=(U=Qe.root)?U:"div",It=Cp({elementType:Ct,externalSlotProps:ke.root,externalForwardedProps:it,additionalProps:{role:"tooltip",ref:st},ownerState:W,className:St.root});return G.jsx(Ct,s({},It,{children:"function"==typeof oe?oe(wt):oe}))}),CM=ie.forwardRef(function(W,H){const{anchorEl:U,children:X,container:oe,direction:ae="ltr",disablePortal:le=!1,keepMounted:ce=!1,modifiers:ue,open:de,placement:pe="bottom",popperOptions:fe=SM,popperRef:ke,style:Qe,transition:tt=!1,slotProps:it={},slots:at={}}=W,st=a(W,wM),[ut,ht]=ie.useState(!0);if(!ce&&!de&&(!tt||ut))return null;let ft;if(oe)ft=oe;else if(U){const W=oT(U);ft=W&&function iT(W){return void 0!==W.nodeType}(W)?ia(W).body:ia(null).body}const gt=de||!ce||tt&&!ut?void 0:"none",yt=tt?{in:de,onEnter:()=>{ht(!1)},onExited:()=>{ht(!0)}}:void 0;return G.jsx(gp,{disablePortal:le,container:ft,children:G.jsx(kM,s({anchorEl:U,direction:ae,disablePortal:le,modifiers:ue,ref:H,open:tt?!ut:de,placement:pe,popperOptions:fe,popperRef:ke,slotProps:it,slots:at},st,{style:s({position:"fixed",top:0,left:0,display:gt},Qe),TransitionProps:yt,children:X}))})}),EM=["onChange","maxRows","minRows","style","value"];function uT(W){return parseInt(W,10)||0}const OM={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},MM=ie.forwardRef(function(W,H){const{onChange:U,maxRows:X,minRows:oe=1,style:ae,value:le}=W,ce=a(W,EM),{current:ue}=ie.useRef(null!=le),de=ie.useRef(null),pe=fa(H,de),fe=ie.useRef(null),ke=ie.useCallback(()=>{const H=de.current,U=aa(H).getComputedStyle(H);if("0px"===U.width)return{outerHeightStyle:0,overflowing:!1};const G=fe.current;G.style.width=U.width,G.value=H.value||W.placeholder||"x","\n"===G.value.slice(-1)&&(G.value+=" ");const ie=U.boxSizing,ae=uT(U.paddingBottom)+uT(U.paddingTop),le=uT(U.borderBottomWidth)+uT(U.borderTopWidth),ce=G.scrollHeight;G.value="x";const ue=G.scrollHeight;let pe=ce;return oe&&(pe=Math.max(Number(oe)*ue,pe)),X&&(pe=Math.min(Number(X)*ue,pe)),pe=Math.max(pe,ue),{outerHeightStyle:pe+("border-box"===ie?ae+le:0),overflowing:Math.abs(pe-ce)<=1}},[X,oe,W.placeholder]),Qe=ie.useCallback(()=>{const W=ke();if(null==(H=W)||0===Object.keys(H).length||0===H.outerHeightStyle&&!H.overflowing)return;var H;const U=de.current;U.style.height=`${W.outerHeightStyle}px`,U.style.overflow=W.overflowing?"hidden":""},[ke]);return hs(()=>{const e=()=>{Qe()};const W=na(e),H=de.current,U=aa(H);let G;return U.addEventListener("resize",W),"undefined"!=typeof ResizeObserver&&(G=new ResizeObserver(e),G.observe(H)),()=>{W.clear(),cancelAnimationFrame(undefined),U.removeEventListener("resize",W),G&&G.disconnect()}},[ke,Qe]),hs(()=>{Qe()}),G.jsxs(ie.Fragment,{children:[G.jsx("textarea",s({value:le,onChange:W=>{ue||Qe(),U&&U(W)},ref:pe,rows:oe,style:ae},ce)),G.jsx("textarea",{"aria-hidden":!0,className:W.className,readOnly:!0,ref:fe,tabIndex:-1,style:s({},OM,ae,{paddingTop:0,paddingBottom:0})})]})});function fT(W){return void 0!==W.normalize?W.normalize("NFD").replace(/[\u0300-\u036f]/g,""):W}function hT(W,H){for(let U=0;U<W.length;U+=1)if(H(W[U]))return U;return-1}const RM=function(W={}){const{ignoreAccents:H=!0,ignoreCase:U=!0,limit:G,matchFrom:X="any",stringify:oe,trim:ie=!1}=W;return(W,{inputValue:ae,getOptionLabel:le})=>{let ce=ie?ae.trim():ae;U&&(ce=ce.toLowerCase()),H&&(ce=fT(ce));const ue=ce?W.filter(W=>{let G=(oe||le)(W);return U&&(G=G.toLowerCase()),H&&(G=fT(G)),"start"===X?0===G.indexOf(ce):G.indexOf(ce)>-1}):W;return"number"==typeof G?ue.slice(0,G):ue}}(),gT=W=>{var H;return null!==W.current&&(null==(H=W.current.parentElement)?void 0:H.contains(document.activeElement))};var IM,TM={};const PM=l(function vT(){if(IM)return TM;IM=1,Object.defineProperty(TM,"__esModule",{value:!0}),TM.default=void 0;var W=function(W){if(W&&W.__esModule)return W;if(null===W||"object"!=typeof W&&"function"!=typeof W)return{default:W};var H=n(void 0);if(H&&H.has(W))return H.get(W);var U={__proto__:null},G=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var X in W)if("default"!==X&&Object.prototype.hasOwnProperty.call(W,X)){var oe=G?Object.getOwnPropertyDescriptor(W,X):null;oe&&(oe.get||oe.set)?Object.defineProperty(U,X,oe):U[X]=W[X]}return U.default=W,H&&H.set(W,U),U}(X),H=Tn;function n(W){if("function"!=typeof WeakMap)return null;var H=new WeakMap,U=new WeakMap;return(n=function(W){return W?U:H})(W)}return TM.default=function(U=null){const G=W.useContext(H.ThemeContext);return G&&(X=G,0!==Object.keys(X).length)?G:U;var X},TM}()),AM=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],jM=os(CM,{name:"MuiPopper",slot:"Root",overridesResolver:(W,H)=>H.root})({}),NM=ie.forwardRef(function(W,H){var U;const X=PM(),oe=yi({props:W,name:"MuiPopper"}),{anchorEl:ie,component:ae,components:le,componentsProps:ce,container:ue,disablePortal:de,keepMounted:pe,modifiers:fe,open:ke,placement:Qe,popperOptions:tt,popperRef:it,transition:at,slots:st,slotProps:ut}=oe,ht=a(oe,AM),ft=null!=(U=null==st?void 0:st.root)?U:null==le?void 0:le.Root,gt=s({anchorEl:ie,container:ue,disablePortal:de,keepMounted:pe,modifiers:fe,open:ke,placement:Qe,popperOptions:tt,popperRef:it,transition:at},ht);return G.jsx(jM,s({as:ae,direction:null==X?void 0:X.direction,slots:{root:ft},slotProps:null!=ut?ut:ce},gt,{ref:H}))});function kT(W){return Oo("MuiListSubheader",W)}Ei("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const LM=["className","color","component","disableGutters","disableSticky","inset"],$M=os("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,"default"!==U.color&&H[`color${Vr(U.color)}`],!U.disableGutters&&H.gutters,U.inset&&H.inset,!U.disableSticky&&H.sticky]}})(({theme:W,ownerState:H})=>s({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(W.vars||W).palette.text.secondary,fontFamily:W.typography.fontFamily,fontWeight:W.typography.fontWeightMedium,fontSize:W.typography.pxToRem(14)},"primary"===H.color&&{color:(W.vars||W).palette.primary.main},"inherit"===H.color&&{color:"inherit"},!H.disableGutters&&{paddingLeft:16,paddingRight:16},H.inset&&{paddingLeft:72},!H.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(W.vars||W).palette.background.paper})),FM=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiListSubheader"}),{className:X,color:oe="default",component:ie="li",disableGutters:ae=!1,disableSticky:le=!1,inset:ce=!1}=U,ue=a(U,LM),de=s({},U,{color:oe,component:ie,disableGutters:ae,disableSticky:le,inset:ce}),pe=(W=>{const{classes:H,color:U,disableGutters:G,inset:X,disableSticky:oe}=W;return q({root:["root","default"!==U&&`color${Vr(U)}`,!G&&"gutters",X&&"inset",!oe&&"sticky"]},kT,H)})(de);return G.jsx($M,s({as:ie,className:V(pe.root,X),ref:H,ownerState:de},ue))});function TT({props:W,states:H,muiFormControl:U}){return H.reduce((H,G)=>(H[G]=W[G],U&&void 0===W[G]&&(H[G]=U[G]),H),{})}function RT(W){return Oo("MuiInputBase",W)}FM.muiSkipListHighlight=!0;const zM=Ei("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),BM=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],PT=(W,H)=>{const{ownerState:U}=W;return[H.root,U.formControl&&H.formControl,U.startAdornment&&H.adornedStart,U.endAdornment&&H.adornedEnd,U.error&&H.error,"small"===U.size&&H.sizeSmall,U.multiline&&H.multiline,U.color&&H[`color${Vr(U.color)}`],U.fullWidth&&H.fullWidth,U.hiddenLabel&&H.hiddenLabel]},jT=(W,H)=>{const{ownerState:U}=W;return[H.input,"small"===U.size&&H.inputSizeSmall,U.multiline&&H.inputMultiline,"search"===U.type&&H.inputTypeSearch,U.startAdornment&&H.inputAdornedStart,U.endAdornment&&H.inputAdornedEnd,U.hiddenLabel&&H.inputHiddenLabel]},VM=os("div",{name:"MuiInputBase",slot:"Root",overridesResolver:PT})(({theme:W,ownerState:H})=>s({},W.typography.body1,{color:(W.vars||W).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${zM.disabled}`]:{color:(W.vars||W).palette.text.disabled,cursor:"default"}},H.multiline&&s({padding:"4px 0 5px"},"small"===H.size&&{paddingTop:1}),H.fullWidth&&{width:"100%"})),KM=os("input",{name:"MuiInputBase",slot:"Input",overridesResolver:jT})(({theme:W,ownerState:H})=>{const U="light"===W.palette.mode,G=s({color:"currentColor"},W.vars?{opacity:W.vars.opacity.inputPlaceholder}:{opacity:U?.42:.5},{transition:W.transitions.create("opacity",{duration:W.transitions.duration.shorter})}),X={opacity:"0 !important"},oe=W.vars?{opacity:W.vars.opacity.inputPlaceholder}:{opacity:U?.42:.5};return s({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":G,"&::-moz-placeholder":G,"&:-ms-input-placeholder":G,"&::-ms-input-placeholder":G,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${zM.formControl} &`]:{"&::-webkit-input-placeholder":X,"&::-moz-placeholder":X,"&:-ms-input-placeholder":X,"&::-ms-input-placeholder":X,"&:focus::-webkit-input-placeholder":oe,"&:focus::-moz-placeholder":oe,"&:focus:-ms-input-placeholder":oe,"&:focus::-ms-input-placeholder":oe},[`&.${zM.disabled}`]:{opacity:1,WebkitTextFillColor:(W.vars||W).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===H.size&&{paddingTop:1},H.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===H.type&&{MozAppearance:"textfield"})}),GM=G.jsx(function MT(W){return G.jsx(Oi,s({},W,{defaultTheme:rs,themeId:ns}))},{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),XM=ie.forwardRef(function(W,H){var U;const X=yi({props:W,name:"MuiInputBase"}),{"aria-describedby":oe,autoComplete:ae,autoFocus:le,className:ce,components:ue={},componentsProps:de={},defaultValue:pe,disabled:fe,disableInjectingGlobalStyles:ke,endAdornment:Qe,fullWidth:tt=!1,id:it,inputComponent:at="input",inputProps:st={},inputRef:ut,maxRows:ht,minRows:ft,multiline:gt=!1,name:yt,onBlur:vt,onChange:bt,onClick:xt,onFocus:wt,onKeyDown:St,onKeyUp:Ct,placeholder:It,readOnly:Pt,renderSuffix:At,rows:jt,slotProps:Nt={},slots:Lt={},startAdornment:$t,type:Dt="text",value:Ft}=X,zt=a(X,BM),Bt=null!=st.value?st.value:Ft,{current:Yt}=ie.useRef(null!=Bt),Zt=ie.useRef(),Jt=ie.useCallback(W=>{},[]),Qt=fa(Zt,ut,st.ref,Jt),[er,tr]=ie.useState(!1),Or=mC(),Mr=TT({props:X,muiFormControl:Or,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Mr.focused=Or?Or.focused:er,ie.useEffect(()=>{!Or&&fe&&er&&(tr(!1),vt&&vt())},[Or,fe,er,vt]);const Rr=Or&&Or.onFilled,Ar=Or&&Or.onEmpty,Fr=ie.useCallback(W=>{cC(W)?Rr&&Rr():Ar&&Ar()},[Rr,Ar]);hs(()=>{Yt&&Fr({value:Bt})},[Bt,Fr,Yt]),ie.useEffect(()=>{Fr(Zt.current)},[]);let Br=at,qr=st;gt&&"input"===Br&&(qr=s(jt?{type:void 0,minRows:jt,maxRows:jt}:{type:void 0,maxRows:ht,minRows:ft},qr),Br=MM),ie.useEffect(()=>{Or&&Or.setAdornedStart(Boolean($t))},[Or,$t]);const Wr=s({},X,{color:Mr.color||"primary",disabled:Mr.disabled,endAdornment:Qe,error:Mr.error,focused:Mr.focused,formControl:Or,fullWidth:tt,hiddenLabel:Mr.hiddenLabel,multiline:gt,size:Mr.size,startAdornment:$t,type:Dt}),Hr=(W=>{const{classes:H,color:U,disabled:G,error:X,endAdornment:oe,focused:ie,formControl:ae,fullWidth:le,hiddenLabel:ce,multiline:ue,readOnly:de,size:pe,startAdornment:fe,type:ke}=W;return q({root:["root",`color${Vr(U)}`,G&&"disabled",X&&"error",le&&"fullWidth",ie&&"focused",ae&&"formControl",pe&&"medium"!==pe&&`size${Vr(pe)}`,ue&&"multiline",fe&&"adornedStart",oe&&"adornedEnd",ce&&"hiddenLabel",de&&"readOnly"],input:["input",G&&"disabled","search"===ke&&"inputTypeSearch",ue&&"inputMultiline","small"===pe&&"inputSizeSmall",ce&&"inputHiddenLabel",fe&&"inputAdornedStart",oe&&"inputAdornedEnd",de&&"readOnly"]},RT,H)})(Wr),Ur=Lt.root||ue.Root||VM,Gr=Nt.root||de.root||{},Xr=Lt.input||ue.Input||KM;return qr=s({},qr,null!=(U=Nt.input)?U:de.input),G.jsxs(ie.Fragment,{children:[!ke&&GM,G.jsxs(Ur,s({},Gr,!yp(Ur)&&{ownerState:s({},Wr,Gr.ownerState)},{ref:H,onClick:W=>{Zt.current&&W.currentTarget===W.target&&Zt.current.focus(),xt&&xt(W)}},zt,{className:V(Hr.root,Gr.className,ce,Pt&&"MuiInputBase-readOnly"),children:[$t,G.jsx(lE.Provider,{value:null,children:G.jsx(Xr,s({ownerState:Wr,"aria-invalid":Mr.error,"aria-describedby":oe,autoComplete:ae,autoFocus:le,defaultValue:pe,disabled:Mr.disabled,id:it,onAnimationStart:W=>{Fr("mui-auto-fill-cancel"===W.animationName?Zt.current:{value:"x"})},name:yt,placeholder:It,readOnly:Pt,required:Mr.required,rows:jt,value:Bt,onKeyDown:St,onKeyUp:Ct,type:Dt},qr,!yp(Xr)&&{as:Br,ownerState:s({},Wr,qr.ownerState)},{ref:Qt,className:V(Hr.input,qr.className,Pt&&"MuiInputBase-readOnly"),onBlur:W=>{vt&&vt(W),st.onBlur&&st.onBlur(W),Or&&Or.onBlur?Or.onBlur(W):tr(!1)},onChange:(W,...H)=>{if(!Yt){const H=W.target||Zt.current;if(null==H)throw new Error(zr(1));Fr({value:H.value})}st.onChange&&st.onChange(W,...H),bt&&bt(W,...H)},onFocus:W=>{Mr.disabled?W.stopPropagation():(wt&&wt(W),st.onFocus&&st.onFocus(W),Or&&Or.onFocus?Or.onFocus(W):tr(!0))}}))}),Qe,At?At(s({},Mr,{startAdornment:$t})):null]}))]})});function FT(W){return Oo("MuiInput",W)}const YM=s({},zM,Ei("MuiInput",["root","underline","input"]));function BT(W){return Oo("MuiOutlinedInput",W)}const ZM=s({},zM,Ei("MuiOutlinedInput",["root","notchedOutline","input"]));function qT(W){return Oo("MuiFilledInput",W)}const QM=s({},zM,Ei("MuiFilledInput",["root","underline","input"])),eR=hw(G.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),tR=hw(G.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function KT(W){return Oo("MuiAutocomplete",W)}const rR=Ei("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var nR,oR;const aR=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],sR=["ref"],lR=ak(),cR=os("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W,{fullWidth:G,hasClearIcon:X,hasPopupIcon:oe,inputFocused:ie,size:ae}=U;return[{[`& .${rR.tag}`]:H.tag},{[`& .${rR.tag}`]:H[`tagSize${Vr(ae)}`]},{[`& .${rR.inputRoot}`]:H.inputRoot},{[`& .${rR.input}`]:H.input},{[`& .${rR.input}`]:ie&&H.inputFocused},H.root,G&&H.fullWidth,oe&&H.hasPopupIcon,X&&H.hasClearIcon]}})({[`&.${rR.focused} .${rR.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${rR.clearIndicator}`]:{visibility:"visible"}},[`& .${rR.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${rR.inputRoot}`]:{flexWrap:"wrap",[`.${rR.hasPopupIcon}&, .${rR.hasClearIcon}&`]:{paddingRight:30},[`.${rR.hasPopupIcon}.${rR.hasClearIcon}&`]:{paddingRight:56},[`& .${rR.input}`]:{width:0,minWidth:30}},[`& .${YM.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${YM.root}.${zM.sizeSmall}`]:{[`& .${YM.input}`]:{padding:"2px 4px 3px 0"}},[`& .${ZM.root}`]:{padding:9,[`.${rR.hasPopupIcon}&, .${rR.hasClearIcon}&`]:{paddingRight:39},[`.${rR.hasPopupIcon}.${rR.hasClearIcon}&`]:{paddingRight:65},[`& .${rR.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${rR.endAdornment}`]:{right:9}},[`& .${ZM.root}.${zM.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${rR.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${QM.root}`]:{paddingTop:19,paddingLeft:8,[`.${rR.hasPopupIcon}&, .${rR.hasClearIcon}&`]:{paddingRight:39},[`.${rR.hasPopupIcon}.${rR.hasClearIcon}&`]:{paddingRight:65},[`& .${QM.input}`]:{padding:"7px 4px"},[`& .${rR.endAdornment}`]:{right:9}},[`& .${QM.root}.${zM.sizeSmall}`]:{paddingBottom:1,[`& .${QM.input}`]:{padding:"2.5px 4px"}},[`& .${zM.hiddenLabel}`]:{paddingTop:8},[`& .${QM.root}.${zM.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${rR.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${QM.root}.${zM.hiddenLabel}.${zM.sizeSmall}`]:{[`& .${rR.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${rR.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${rR.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${rR.input}`]:{opacity:1}}}]}),uR=os("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(W,H)=>H.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),dR=os(Hl,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(W,H)=>H.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),pR=os(Hl,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:W},H)=>s({},H.popupIndicator,W.popupOpen&&H.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),hR=os(NM,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[{[`& .${rR.option}`]:H.option},H.popper,U.disablePortal&&H.popperDisablePortal]}})(({theme:W})=>({zIndex:(W.vars||W).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]})),fR=os(Vs,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(W,H)=>H.paper})(({theme:W})=>s({},W.typography.body1,{overflow:"auto"})),mR=os("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(W,H)=>H.loading})(({theme:W})=>({color:(W.vars||W).palette.text.secondary,padding:"14px 16px"})),gR=os("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(W,H)=>H.noOptions})(({theme:W})=>({color:(W.vars||W).palette.text.secondary,padding:"14px 16px"})),yR=os("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(W,H)=>H.listbox})(({theme:W})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${rR.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[W.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${rR.focused}`]:{backgroundColor:(W.vars||W).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(W.vars||W).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${rR.focusVisible}`]:{backgroundColor:(W.vars||W).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:W.vars?`rgba(${W.vars.palette.primary.mainChannel} / ${W.vars.palette.action.selectedOpacity})`:oi.alpha(W.palette.primary.main,W.palette.action.selectedOpacity),[`&.${rR.focused}`]:{backgroundColor:W.vars?`rgba(${W.vars.palette.primary.mainChannel} / calc(${W.vars.palette.action.selectedOpacity} + ${W.vars.palette.action.hoverOpacity}))`:oi.alpha(W.palette.primary.main,W.palette.action.selectedOpacity+W.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(W.vars||W).palette.action.selected}},[`&.${rR.focusVisible}`]:{backgroundColor:W.vars?`rgba(${W.vars.palette.primary.mainChannel} / calc(${W.vars.palette.action.selectedOpacity} + ${W.vars.palette.action.focusOpacity}))`:oi.alpha(W.palette.primary.main,W.palette.action.selectedOpacity+W.palette.action.focusOpacity)}}}})),vR=os(FM,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(W,H)=>H.groupLabel})(({theme:W})=>({backgroundColor:(W.vars||W).palette.background.paper,top:-8})),bR=os("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(W,H)=>H.groupUl})({padding:0,[`& .${rR.option}`]:{paddingLeft:24}}),xR=ie.forwardRef(function(W,H){var U,oe,ae,le;const ce=lR({props:W,name:"MuiAutocomplete"}),{ChipProps:ue,className:de,clearIcon:pe=nR||(nR=G.jsx(eR,{fontSize:"small"})),clearText:fe="Clear",closeText:ke="Close",componentsProps:Qe={},disableClearable:tt=!1,disabled:it=!1,disablePortal:at=!1,forcePopupIcon:st="auto",freeSolo:ut=!1,fullWidth:ht=!1,getLimitTagsText:ft=W=>`+${W}`,getOptionLabel:gt,groupBy:yt,limitTags:vt=-1,ListboxComponent:bt="ul",ListboxProps:xt,loading:wt=!1,loadingText:St="Loading…",multiple:Ct=!1,noOptionsText:It="No options",openText:Pt="Open",PaperComponent:At=Vs,PopperComponent:jt=NM,popupIcon:Nt=oR||(oR=G.jsx(tR,{})),readOnly:Lt=!1,renderGroup:$t,renderInput:Dt,renderOption:Ft,renderTags:zt,size:Bt="medium",slotProps:Yt={}}=ce,Zt=a(ce,aR),{getRootProps:Jt,getInputProps:Qt,getInputLabelProps:er,getPopupIndicatorProps:tr,getClearProps:Or,getTagProps:Mr,getListboxProps:Rr,getOptionProps:Ar,value:Fr,dirty:Br,expanded:qr,id:Wr,popupOpen:Hr,focused:Ur,focusedTag:Gr,anchorEl:Xr,setAnchorEl:Yr,inputValue:Jr,groupedOptions:Qr}=function(W){const{unstable_isActiveElementInListbox:H=gT,unstable_classNamePrefix:U="Mui",autoComplete:G=!1,autoHighlight:X=!1,autoSelect:oe=!1,blurOnSelect:ae=!1,clearOnBlur:le=!W.freeSolo,clearOnEscape:ce=!1,componentName:ue="useAutocomplete",defaultValue:de=(W.multiple?[]:null),disableClearable:pe=!1,disableCloseOnSelect:fe=!1,disabled:ke,disabledItemsFocusable:Qe=!1,disableListWrap:tt=!1,filterOptions:it=RM,filterSelectedOptions:at=!1,freeSolo:st=!1,getOptionDisabled:ut,getOptionKey:ht,getOptionLabel:ft=W=>{var H;return null!=(H=W.label)?H:W},groupBy:gt,handleHomeEndKeys:yt=!W.freeSolo,id:vt,includeInputInList:bt=!1,inputValue:xt,isOptionEqualToValue:wt=(W,H)=>W===H,multiple:St=!1,onChange:Ct,onClose:It,onHighlightChange:Pt,onInputChange:At,onOpen:jt,open:Nt,openOnFocus:Lt=!1,options:$t,readOnly:Dt=!1,selectOnFocus:Ft=!W.freeSolo,value:zt}=W,Bt=ua(vt);let Yt=ft;Yt=W=>{const H=ft(W);return"string"!=typeof H?String(H):H};const Zt=ie.useRef(!1),Jt=ie.useRef(!0),Qt=ie.useRef(null),er=ie.useRef(null),[tr,Or]=ie.useState(null),[Mr,Rr]=ie.useState(-1),Ar=X?0:-1,Fr=ie.useRef(Ar),[Br,qr]=pa({controlled:zt,default:de,name:ue}),[Wr,Hr]=pa({controlled:xt,default:"",name:ue,state:"inputValue"}),[Ur,Gr]=ie.useState(!1),Xr=ie.useCallback((W,H)=>{if(!(St?Br.length<H.length:null!==H)&&!le)return;let U;if(St)U="";else if(null==H)U="";else{const W=Yt(H);U="string"==typeof W?W:""}Wr!==U&&(Hr(U),At&&At(W,U,"reset"))},[Yt,Wr,St,At,Hr,le,Br]),[Yr,Jr]=pa({controlled:Nt,default:!1,name:ue,state:"open"}),[Qr,en]=ie.useState(!0),an=!St&&null!=Br&&Wr===Yt(Br),sn=Yr&&!Dt,ln=sn?it($t.filter(W=>!at||!(St?Br:[Br]).some(H=>null!==H&&wt(W,H))),{inputValue:an&&Qr?"":Wr,getOptionLabel:Yt}):[],un=Ea({filteredOptions:ln,value:Br,inputValue:Wr});ie.useEffect(()=>{const W=Br!==un.value;Ur&&!W||st&&!W||Xr(null,Br)},[Br,Xr,Ur,un.value,st]);const pn=Yr&&ln.length>0&&!Dt;const hn=da(W=>{-1===W?Qt.current.focus():tr.querySelector(`[data-tag-index="${W}"]`).focus()});ie.useEffect(()=>{St&&Mr>Br.length-1&&(Rr(-1),hn(-1))},[Br,St,Mr,hn]);const fn=da(({event:W,index:H,reason:G="auto"})=>{if(Fr.current=H,-1===H?Qt.current.removeAttribute("aria-activedescendant"):Qt.current.setAttribute("aria-activedescendant",`${Bt}-option-${H}`),Pt&&Pt(W,-1===H?null:ln[H],G),!er.current)return;const X=er.current.querySelector(`[role="option"].${U}-focused`);X&&(X.classList.remove(`${U}-focused`),X.classList.remove(`${U}-focusVisible`));let oe=er.current;if("listbox"!==er.current.getAttribute("role")&&(oe=er.current.parentElement.querySelector('[role="listbox"]')),!oe)return;if(-1===H)return void(oe.scrollTop=0);const ie=er.current.querySelector(`[data-option-index="${H}"]`);if(ie&&(ie.classList.add(`${U}-focused`),"keyboard"===G&&ie.classList.add(`${U}-focusVisible`),oe.scrollHeight>oe.clientHeight&&"mouse"!==G&&"touch"!==G)){const W=ie,H=oe.clientHeight+oe.scrollTop,U=W.offsetTop+W.offsetHeight;U>H?oe.scrollTop=U-oe.clientHeight:W.offsetTop-W.offsetHeight*(gt?1.3:0)<oe.scrollTop&&(oe.scrollTop=W.offsetTop-W.offsetHeight*(gt?1.3:0))}}),wn=da(({event:W,diff:H,direction:U="next",reason:X="auto"})=>{if(!sn)return;const oe=function(W,H){if(!er.current||W<0||W>=ln.length)return-1;let U=W;for(;;){const G=er.current.querySelector(`[data-option-index="${U}"]`),X=!Qe&&(!G||G.disabled||"true"===G.getAttribute("aria-disabled"));if(G&&G.hasAttribute("tabindex")&&!X)return U;if(U="next"===H?(U+1)%ln.length:(U-1+ln.length)%ln.length,U===W)return-1}}((()=>{const W=ln.length-1;if("reset"===H)return Ar;if("start"===H)return 0;if("end"===H)return W;const U=Fr.current+H;return U<0?-1===U&&bt?-1:tt&&-1!==Fr.current||Math.abs(H)>1?0:W:U>W?U===W+1&&bt?-1:tt||Math.abs(H)>1?W:0:U})(),U);if(fn({index:oe,reason:X,event:W}),G&&"reset"!==H)if(-1===oe)Qt.current.value=Wr;else{const W=Yt(ln[oe]);Qt.current.value=W,0===W.toLowerCase().indexOf(Wr.toLowerCase())&&Wr.length>0&&Qt.current.setSelectionRange(Wr.length,W.length)}}),Sn=ie.useCallback(()=>{if(!sn)return;const W=(()=>{if(-1!==Fr.current&&un.filteredOptions&&un.filteredOptions.length!==ln.length&&un.inputValue===Wr&&(St?Br.length===un.value.length&&un.value.every((W,H)=>Yt(Br[H])===Yt(W)):(W=un.value,H=Br,(W?Yt(W):"")===(H?Yt(H):"")))){const W=un.filteredOptions[Fr.current];if(W)return hT(ln,H=>Yt(H)===Yt(W))}var W,H;return-1})();if(-1!==W)return void(Fr.current=W);const H=St?Br[0]:Br;if(0!==ln.length&&null!=H){if(er.current)if(null==H)Fr.current>=ln.length-1?fn({index:ln.length-1}):fn({index:Fr.current});else{const W=ln[Fr.current];if(St&&W&&-1!==hT(Br,H=>wt(W,H)))return;const U=hT(ln,W=>wt(W,H));-1===U?wn({diff:"reset"}):fn({index:U})}}else wn({diff:"reset"})},[ln.length,!St&&Br,at,wn,fn,sn,Wr,St]),kn=da(W=>{sa(er,W),W&&Sn()});ie.useEffect(()=>{Sn()},[Sn]);const _e=W=>{Yr||(Jr(!0),en(!0),jt&&jt(W))},we=(W,H)=>{Yr&&(Jr(!1),It&&It(W,H))},Se=(W,H,U,G)=>{if(St){if(Br.length===H.length&&Br.every((W,U)=>W===H[U]))return}else if(Br===H)return;Ct&&Ct(W,H,U,G),qr(H)},Cn=ie.useRef(!1),Oe=(W,H,U="selectOption",G="options")=>{let X=U,oe=H;if(St){oe=Array.isArray(Br)?Br.slice():[],0;const W=hT(oe,W=>wt(H,W));-1===W?oe.push(H):"freeSolo"!==G&&(oe.splice(W,1),X="removeOption")}Xr(W,oe),Se(W,oe,X,{option:H}),fe||W&&(W.ctrlKey||W.metaKey)||we(W,X),(!0===ae||"touch"===ae&&Cn.current||"mouse"===ae&&!Cn.current)&&Qt.current.blur()},Ce=(W,H)=>{if(!St)return;""===Wr&&we(W,"toggleInput");let U=Mr;-1===Mr?""===Wr&&"previous"===H&&(U=Br.length-1):(U+="next"===H?1:-1,U<0&&(U=0),U===Br.length&&(U=-1)),U=function(W,H){if(-1===W)return-1;let U=W;for(;;){if("next"===H&&U===Br.length||"previous"===H&&-1===U)return-1;const W=tr.querySelector(`[data-tag-index="${U}"]`);if(W&&W.hasAttribute("tabindex")&&!W.disabled&&"true"!==W.getAttribute("aria-disabled"))return U;U+="next"===H?1:-1}}(U,H),Rr(U),hn(U)},Ee=W=>{Zt.current=!0,Hr(""),At&&At(W,"","clear"),Se(W,St?[]:null,"clear")},Te=W=>H=>{if(W.onKeyDown&&W.onKeyDown(H),!H.defaultMuiPrevented&&(-1!==Mr&&-1===["ArrowLeft","ArrowRight"].indexOf(H.key)&&(Rr(-1),hn(-1)),229!==H.which))switch(H.key){case"Home":sn&&yt&&(H.preventDefault(),wn({diff:"start",direction:"next",reason:"keyboard",event:H}));break;case"End":sn&&yt&&(H.preventDefault(),wn({diff:"end",direction:"previous",reason:"keyboard",event:H}));break;case"PageUp":H.preventDefault(),wn({diff:-5,direction:"previous",reason:"keyboard",event:H}),_e(H);break;case"PageDown":H.preventDefault(),wn({diff:5,direction:"next",reason:"keyboard",event:H}),_e(H);break;case"ArrowDown":H.preventDefault(),wn({diff:1,direction:"next",reason:"keyboard",event:H}),_e(H);break;case"ArrowUp":H.preventDefault(),wn({diff:-1,direction:"previous",reason:"keyboard",event:H}),_e(H);break;case"ArrowLeft":Ce(H,"previous");break;case"ArrowRight":Ce(H,"next");break;case"Enter":if(-1!==Fr.current&&sn){const W=ln[Fr.current],U=!!ut&&ut(W);if(H.preventDefault(),U)return;Oe(H,W,"selectOption"),G&&Qt.current.setSelectionRange(Qt.current.value.length,Qt.current.value.length)}else st&&""!==Wr&&!1===an&&(St&&H.preventDefault(),Oe(H,Wr,"createOption","freeSolo"));break;case"Escape":sn?(H.preventDefault(),H.stopPropagation(),we(H,"escape")):ce&&(""!==Wr||St&&Br.length>0)&&(H.preventDefault(),H.stopPropagation(),Ee(H));break;case"Backspace":if(St&&!Dt&&""===Wr&&Br.length>0){const W=-1===Mr?Br.length-1:Mr,U=Br.slice();U.splice(W,1),Se(H,U,"removeOption",{option:Br[W]})}break;case"Delete":if(St&&!Dt&&""===Wr&&Br.length>0&&-1!==Mr){const W=Mr,U=Br.slice();U.splice(W,1),Se(H,U,"removeOption",{option:Br[W]})}}},Me=W=>{Gr(!0),Lt&&!Zt.current&&_e(W)},Re=W=>{H(er)?Qt.current.focus():(Gr(!1),Jt.current=!0,Zt.current=!1,oe&&-1!==Fr.current&&sn?Oe(W,ln[Fr.current],"blur"):oe&&st&&""!==Wr?Oe(W,Wr,"blur","freeSolo"):le&&Xr(W,Br),we(W,"blur"))},Ie=W=>{const H=W.target.value;Wr!==H&&(Hr(H),en(!1),At&&At(W,H,"input")),""===H?pe||St||Se(W,null,"clear"):_e(W)},Ne=W=>{const H=Number(W.currentTarget.getAttribute("data-option-index"));Fr.current!==H&&fn({event:W,index:H,reason:"mouse"})},Pe=W=>{fn({event:W,index:Number(W.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Cn.current=!0},je=W=>{const H=Number(W.currentTarget.getAttribute("data-option-index"));Oe(W,ln[H],"selectOption"),Cn.current=!1},Ae=W=>H=>{const U=Br.slice();U.splice(W,1),Se(H,U,"removeOption",{option:Br[W]})},$e=W=>{Yr?we(W,"toggleInput"):_e(W)},Le=W=>{W.currentTarget.contains(W.target)&&W.target.getAttribute("id")!==Bt&&W.preventDefault()},De=W=>{W.currentTarget.contains(W.target)&&(Qt.current.focus(),Ft&&Jt.current&&Qt.current.selectionEnd-Qt.current.selectionStart==0&&Qt.current.select(),Jt.current=!1)},Fe=W=>{ke||""!==Wr&&Yr||$e(W)};let En=st&&Wr.length>0;En=En||(St?Br.length>0:null!==Br);let On=ln;if(gt){new Map;On=ln.reduce((W,H,U)=>{const G=gt(H);return W.length>0&&W[W.length-1].group===G?W[W.length-1].options.push(H):W.push({key:U,index:U,group:G,options:[H]}),W},[])}return ke&&Ur&&Re(),{getRootProps:(W={})=>s({"aria-owns":pn?`${Bt}-listbox`:null},W,{onKeyDown:Te(W),onMouseDown:Le,onClick:De}),getInputLabelProps:()=>({id:`${Bt}-label`,htmlFor:Bt}),getInputProps:()=>({id:Bt,value:Wr,onBlur:Re,onFocus:Me,onChange:Ie,onMouseDown:Fe,"aria-activedescendant":sn?"":null,"aria-autocomplete":G?"both":"list","aria-controls":pn?`${Bt}-listbox`:void 0,"aria-expanded":pn,autoComplete:"off",ref:Qt,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:ke}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ee}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:$e}),getTagProps:({index:W})=>s({key:W,"data-tag-index":W,tabIndex:-1},!Dt&&{onDelete:Ae(W)}),getListboxProps:()=>({role:"listbox",id:`${Bt}-listbox`,"aria-labelledby":`${Bt}-label`,ref:kn,onMouseDown:W=>{W.preventDefault()}}),getOptionProps:({index:W,option:H})=>{var U;const G=(St?Br:[Br]).some(W=>null!=W&&wt(H,W)),X=!!ut&&ut(H);return{key:null!=(U=null==ht?void 0:ht(H))?U:Yt(H),tabIndex:-1,role:"option",id:`${Bt}-option-${W}`,onMouseMove:Ne,onClick:je,onTouchStart:Pe,"data-option-index":W,"aria-disabled":X,"aria-selected":G}},id:Bt,inputValue:Wr,value:Br,dirty:En,expanded:sn&&tr,popupOpen:sn,focused:Ur||-1!==Mr,anchorEl:tr,setAnchorEl:Or,focusedTag:Mr,groupedOptions:On}}(s({},ce,{componentName:"Autocomplete"})),en=!tt&&!it&&Br&&!Lt,an=(!ut||!0===st)&&!1!==st,{onMouseDown:sn}=Qt(),{ref:ln}=null!=xt?xt:{},un=Rr(),{ref:pn}=un,hn=a(un,sR),fn=fa(pn,ln),wn=gt||(W=>{var H;return null!=(H=W.label)?H:W}),Sn=s({},ce,{disablePortal:at,expanded:qr,focused:Ur,fullWidth:ht,getOptionLabel:wn,hasClearIcon:en,hasPopupIcon:an,inputFocused:-1===Gr,popupOpen:Hr,size:Bt}),kn=(W=>{const{classes:H,disablePortal:U,expanded:G,focused:X,fullWidth:oe,hasClearIcon:ie,hasPopupIcon:ae,inputFocused:le,popupOpen:ce,size:ue}=W;return q({root:["root",G&&"expanded",X&&"focused",oe&&"fullWidth",ie&&"hasClearIcon",ae&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",le&&"inputFocused"],tag:["tag",`tagSize${Vr(ue)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",ce&&"popupIndicatorOpen"],popper:["popper",U&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]},KT,H)})(Sn);let Cn;if(Ct&&Fr.length>0){const t=W=>s({className:kn.tag,disabled:it},Mr(W));Cn=zt?zt(Fr,t,Sn):Fr.map((W,H)=>G.jsx(eS,s({label:wn(W),size:Bt},t({index:H}),ue)))}if(vt>-1&&Array.isArray(Cn)){const W=Cn.length-vt;!Ur&&W>0&&(Cn=Cn.splice(0,vt),Cn.push(G.jsx("span",{className:kn.tag,children:ft(W)},Cn.length)))}const En=$t||(W=>G.jsxs("li",{children:[G.jsx(vR,{className:kn.groupLabel,ownerState:Sn,component:"div",children:W.group}),G.jsx(bR,{className:kn.groupUl,ownerState:Sn,children:W.children})]},W.key)),On=Ft||((W,H)=>X.createElement("li",s({},W,{key:W.key}),wn(H))),Ee=(W,H)=>{const U=Ar({option:W,index:H});return On(s({},U,{className:kn.option}),W,{selected:U["aria-selected"],index:H,inputValue:Jr},Sn)},Tn=null!=(U=Yt.clearIndicator)?U:Qe.clearIndicator,Dn=null!=(oe=Yt.paper)?oe:Qe.paper,Fn=null!=(ae=Yt.popper)?ae:Qe.popper,zn=null!=(le=Yt.popupIndicator)?le:Qe.popupIndicator,Ne=W=>G.jsx(hR,s({as:jt,disablePortal:at,style:{width:Xr?Xr.clientWidth:null},ownerState:Sn,role:"presentation",anchorEl:Xr,open:Hr},Fn,{className:V(kn.popper,null==Fn?void 0:Fn.className),children:G.jsx(fR,s({ownerState:Sn,as:At},Dn,{className:V(kn.paper,null==Dn?void 0:Dn.className),children:W}))}));let Bn=null;return Qr.length>0?Bn=Ne(G.jsx(yR,s({as:bt,className:kn.listbox,ownerState:Sn},hn,xt,{ref:fn,children:Qr.map((W,H)=>yt?En({key:W.key,group:W.group,children:W.options.map((H,U)=>Ee(H,W.index+U))}):Ee(W,H))}))):wt&&0===Qr.length?Bn=Ne(G.jsx(mR,{className:kn.loading,ownerState:Sn,children:St})):0!==Qr.length||ut||wt||(Bn=Ne(G.jsx(gR,{className:kn.noOptions,ownerState:Sn,role:"presentation",onMouseDown:W=>{W.preventDefault()},children:It}))),G.jsxs(ie.Fragment,{children:[G.jsx(cR,s({ref:H,className:V(kn.root,de),ownerState:Sn},Jt(Zt),{children:Dt({id:Wr,disabled:it,fullWidth:!0,size:"small"===Bt?"small":void 0,InputLabelProps:er(),InputProps:s({ref:Yr,className:kn.inputRoot,startAdornment:Cn,onClick:W=>{W.target===W.currentTarget&&sn(W)}},(en||an)&&{endAdornment:G.jsxs(uR,{className:kn.endAdornment,ownerState:Sn,children:[en?G.jsx(dR,s({},Or(),{"aria-label":fe,title:fe,ownerState:Sn},Tn,{className:V(kn.clearIndicator,null==Tn?void 0:Tn.className),children:pe})):null,an?G.jsx(pR,s({},tr(),{disabled:it,"aria-label":Hr?ke:Pt,title:Hr?ke:Pt,ownerState:Sn},zn,{className:V(kn.popupIndicator,null==zn?void 0:zn.className),children:Nt})):null]})}),inputProps:s({className:kn.input,disabled:it,readOnly:Lt},Qt())})})),Xr?Bn:null]})}),_R="MuiAutocomplete-listbox",wR={slotProps:{paper:{elevation:6}}};var kR=X.forwardRef((W,H)=>{const{renderInput:U,ListboxProps:G={},...oe}=W,ie={...wR,...oe,slotProps:{...wR.slotProps,...oe.slotProps,paper:{...wR.slotProps?.paper,...oe.slotProps?.paper}}};return X.createElement(xR,{...ie,ListboxProps:{...G,className:V([_R,`${_R}Size${ae=oe.size||"medium",ae[0].toUpperCase()+ae.slice(1)}`,G.className])},renderInput:H=>U?.(function(W,H){const U=W;return H.size&&(U.size=H.size),U}(H,W)),ref:H});var ae});const CR=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],ER=["component","slots","slotProps"],OR=["component"];function bM(W,H){const{className:U,elementType:G,ownerState:X,externalForwardedProps:oe,getSlotOwnerState:ie,internalForwardedProps:ae}=H,le=a(H,CR),{component:ce,slots:ue={[W]:void 0},slotProps:de={[W]:void 0}}=oe,pe=a(oe,ER),fe=ue[W]||G,ke=wp(de[W],X),Qe=kp(s({className:U},le,{externalForwardedProps:"root"===W?pe:void 0,externalSlotProps:ke})),{props:{component:tt},internalRef:it}=Qe,at=a(Qe.props,OR),st=fa(it,null==ke?void 0:ke.ref,H.ref),ut=ie?ie(at):{},ht=s({},X,ut),ft="root"===W?tt||ce:tt,gt=bp(fe,s({},"root"===W&&!ce&&!ue[W]&&ae,"root"!==W&&!ue[W]&&ae,at,ft&&{as:ft},{ref:st}),ht);return Object.keys(ut).forEach(W=>{delete gt[W]}),[fe,gt]}function vM(W){return Oo("MuiAlert",W)}const RR=Ei("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),IR=hw(G.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),TR=hw(G.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),PR=hw(G.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),jR=hw(G.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),NR=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],LR=ak(),$R=os(Vs,{name:"MuiAlert",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,H[U.variant],H[`${U.variant}${Vr(U.color||U.severity)}`]]}})(({theme:W})=>{const H="light"===W.palette.mode?oi.darken:oi.lighten,U="light"===W.palette.mode?oi.lighten:oi.darken;return s({},W.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(W.palette).filter(([,W])=>W.main&&W.light).map(([G])=>({props:{colorSeverity:G,variant:"standard"},style:{color:W.vars?W.vars.palette.Alert[`${G}Color`]:H(W.palette[G].light,.6),backgroundColor:W.vars?W.vars.palette.Alert[`${G}StandardBg`]:U(W.palette[G].light,.9),[`& .${RR.icon}`]:W.vars?{color:W.vars.palette.Alert[`${G}IconColor`]}:{color:W.palette[G].main}}})),...Object.entries(W.palette).filter(([,W])=>W.main&&W.light).map(([U])=>({props:{colorSeverity:U,variant:"outlined"},style:{color:W.vars?W.vars.palette.Alert[`${U}Color`]:H(W.palette[U].light,.6),border:`1px solid ${(W.vars||W).palette[U].light}`,[`& .${RR.icon}`]:W.vars?{color:W.vars.palette.Alert[`${U}IconColor`]}:{color:W.palette[U].main}}})),...Object.entries(W.palette).filter(([,W])=>W.main&&W.dark).map(([H])=>({props:{colorSeverity:H,variant:"filled"},style:s({fontWeight:W.typography.fontWeightMedium},W.vars?{color:W.vars.palette.Alert[`${H}FilledColor`],backgroundColor:W.vars.palette.Alert[`${H}FilledBg`]}:{backgroundColor:"dark"===W.palette.mode?W.palette[H].dark:W.palette[H].main,color:W.palette.getContrastText(W.palette[H].main)})}))]})}),DR=os("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(W,H)=>H.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),zR=os("div",{name:"MuiAlert",slot:"Message",overridesResolver:(W,H)=>H.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),BR=os("div",{name:"MuiAlert",slot:"Action",overridesResolver:(W,H)=>H.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),VR={success:G.jsx(IR,{fontSize:"inherit"}),warning:G.jsx(TR,{fontSize:"inherit"}),error:G.jsx(PR,{fontSize:"inherit"}),info:G.jsx(jR,{fontSize:"inherit"})},qR=ie.forwardRef(function(W,H){const U=LR({props:W,name:"MuiAlert"}),{action:X,children:oe,className:ie,closeText:ae="Close",color:le,components:ce={},componentsProps:ue={},icon:de,iconMapping:pe=VR,onClose:fe,role:ke="alert",severity:Qe="success",slotProps:tt={},slots:it={},variant:at="standard"}=U,st=a(U,NR),ut=s({},U,{color:le,severity:Qe,variant:at,colorSeverity:le||Qe}),ht=(W=>{const{variant:H,color:U,severity:G,classes:X}=W;return q({root:["root",`color${Vr(U||G)}`,`${H}${Vr(U||G)}`,`${H}`],icon:["icon"],message:["message"],action:["action"]},vM,X)})(ut),ft={slots:s({closeButton:ce.CloseButton,closeIcon:ce.CloseIcon},it),slotProps:s({},ue,tt)},[gt,yt]=bM("closeButton",{elementType:Hl,externalForwardedProps:ft,ownerState:ut}),[vt,bt]=bM("closeIcon",{elementType:eR,externalForwardedProps:ft,ownerState:ut});return G.jsxs($R,s({role:ke,elevation:0,ownerState:ut,className:V(ht.root,ie),ref:H},st,{children:[!1!==de?G.jsx(DR,{ownerState:ut,className:ht.icon,children:de||pe[Qe]||VR[Qe]}):null,G.jsx(zR,{ownerState:ut,className:ht.message,children:oe}),null!=X?G.jsx(BR,{ownerState:ut,className:ht.action,children:X}):null,null==X&&fe?G.jsx(BR,{ownerState:ut,className:ht.action,children:G.jsx(gt,s({size:"small","aria-label":ae,title:ae,color:"inherit",onClick:fe},yt,{children:G.jsx(vt,s({fontSize:"small"},bt))}))}):null]}))}),HR=kl(qR)(({theme:W,severity:H,color:U,variant:G,ownerState:X})=>{const oe="small"===X.size,ie=function(W,H,U,G){const X=H||W;return X?"filled"===U?{"& .MuiButton-containedInherit:not(.Mui-disabled)":{color:G.palette[X].main,backgroundColor:"rgba(255, 255, 255, 1)","&:hover":{backgroundColor:"rgba(255, 255, 255, .96)"}},"& .MuiButton-outlinedInherit:not(.Mui-disabled):hover":{backgroundColor:G.palette[X].dark},"& a.MuiButtonBase-root.MuiButton-containedInherit:not(.Mui-disabled)":{[Ul]:{color:G.palette[X].main}}}:{"&.MuiAlert-root":{color:G.palette.text.secondary},"& .MuiCloseButton-root":{color:G.palette.action.active},"& .MuiButton-containedInherit:not(.Mui-disabled)":{backgroundColor:G.palette[X].main,color:G.palette[X].contrastText,"&:hover":{backgroundColor:G.palette[X].dark,color:G.palette[X].contrastText}},"& .MuiButton-outlinedInherit:not(.Mui-disabled)":{borderColor:G.palette[X].main,color:G.palette[X].main,"&:hover":{backgroundColor:Hi(G.palette[X].main,.08),color:G.palette[X].main}},"& a.MuiButtonBase-root.MuiButton-containedInherit:not(.Mui-disabled)":{[Ul]:{color:G.palette[X].contrastText}},"& a.MuiButtonBase-root.MuiButton-outlinedInherit:not(.Mui-disabled)":{[Ul]:{color:G.palette[X].main}}}:{}}(H,U,G,W),ae=function(W,H){return"small"!==W.size?{}:{"& .MuiButtonBase-root.MuiButton-root":{fontSize:H.typography.caption.fontSize,letterSpacing:H.typography.caption.letterSpacing,lineHeight:1},"& .MuiButtonBase-root.MuiButton-contained":{padding:"8px 9px"},"& .MuiButtonBase-root.MuiButton-outlined":{padding:"7px 9px"}}}(X,W),le=oe?{...W.typography.caption,fontWeight:W.typography.subtitle2.fontWeight,lineHeight:W.typography.subtitle2.lineHeight}:W.typography.subtitle2,ce=oe?{...W.typography.caption,lineHeight:W.typography.body2.lineHeight}:{};return{borderRadius:X.square?void 0:W.shape.borderRadius*W.shape.__unstableBorderRadiusMultipliers[2],padding:oe?W.spacing(1.5):W.spacing(1.5,2),"& .MuiAlert-message":{width:"100%",padding:0,minHeight:oe?"28px":"31px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:oe?W.spacing(1):W.spacing(1.5),...ce},"& .MuiAlertTitle-root":{marginBottom:0,lineHeight:"inherit",marginRight:oe?W.spacing(.25):W.spacing(.5),marginTop:0,...le},"& .MuiAlert-icon":{fontSize:oe?"18px":"22px",padding:oe?W.spacing(.25):0,paddingTop:oe?"5px":W.spacing(.5),marginRight:oe?W.spacing(.5):W.spacing(1.5)},"& .MuiAlert-action":{padding:oe?W.spacing(.25,0,0):0,marginLeft:oe?W.spacing(.5):W.spacing(1)},"&.MuiAlert-filledWarning":{color:W.palette.common.white},...ae,...ie}}),{slots:UR,classNames:KR}=vl("Alert",["actions","content"]),XR=kl("div",UR.content)(()=>({flexGrow:1,paddingTop:"6px"})),ZR=kl("div",UR.content)(({theme:W})=>({alignItems:"center",display:"flex",flexWrap:"wrap",gap:W.spacing(.25),maxWidth:"800px"})),DM=({children:W,...H})=>X.createElement(XR,{...H},X.createElement(ZR,null,W)),QR=kl("div")(({theme:W,ownerState:H})=>({display:"flex",alignItems:"flex-start",flexWrap:"wrap",gap:"small"===H.size?W.spacing(.5):W.spacing(1)})),eI={closeText:"Close",severity:"success",size:"medium"},tI=X.forwardRef((W,H)=>{const{onClose:U,action:G,secondaryAction:oe,children:ie,size:ae,...le}={...eI,...W},ce=Boolean(G||oe);return X.createElement(HR,{iconMapping:{success:X.createElement(qM,null),error:X.createElement(WM,null),info:X.createElement(UM,null),warning:X.createElement(HM,null)},...le,ref:H,action:!!U&&X.createElement(yO,{color:"inherit",onClick:U,slotProps:{icon:{fontSize:"small"===ae?"tiny":"small"}},title:le.closeText,"aria-label":le.closeText}),ownerState:{size:ae,square:le.square}},X.createElement(DM,{className:KR.content},ie),ce&&X.createElement(QR,{className:KR.actions,ownerState:{size:ae}},oe,G))});tI.defaultProps=eI;var rI=tI;function qM(){return X.createElement(Ru,{viewBox:"0 0 24 24",fontSize:"inherit"},X.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.25C10.7196 2.25 9.45176 2.50219 8.26884 2.99217C7.08591 3.48216 6.01108 4.20034 5.10571 5.10571C4.20034 6.01108 3.48216 7.08591 2.99217 8.26884C2.50219 9.45176 2.25 10.7196 2.25 12C2.25 13.2804 2.50219 14.5482 2.99217 15.7312C3.48216 16.9141 4.20034 17.9889 5.10571 18.8943C6.01108 19.7997 7.08591 20.5178 8.26884 21.0078C9.45176 21.4978 10.7196 21.75 12 21.75C13.2804 21.75 14.5482 21.4978 15.7312 21.0078C16.9141 20.5178 17.9889 19.7997 18.8943 18.8943C19.7997 17.9889 20.5178 16.9141 21.0078 15.7312C21.4978 14.5482 21.75 13.2804 21.75 12C21.75 10.7196 21.4978 9.45176 21.0078 8.26884C20.5178 7.08591 19.7997 6.01108 18.8943 5.10571C17.9889 4.20034 16.9141 3.48216 15.7312 2.99217C14.5482 2.50219 13.2804 2.25 12 2.25ZM16.2415 10.0563C16.5344 9.76339 16.5344 9.28852 16.2415 8.99563C15.9486 8.70273 15.4737 8.70273 15.1809 8.99563L10.7631 13.4134L8.81939 11.4697C8.5265 11.1768 8.05163 11.1768 7.75873 11.4697C7.46584 11.7626 7.46584 12.2374 7.75873 12.5303L10.2328 15.0044C10.3734 15.145 10.5642 15.224 10.7631 15.224C10.962 15.224 11.1528 15.145 11.2934 15.0044L16.2415 10.0563Z"}))}function UM(){return X.createElement(Ru,{viewBox:"0 0 24 24",fontSize:"inherit"},X.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.75 2C17.1348 2 21.5 6.36522 21.5 11.75C21.5 17.1348 17.1348 21.5 11.75 21.5C6.36522 21.5 2 17.1348 2 11.75C2 6.36522 6.36522 2 11.75 2ZM10.75 10C10.3358 10 10 10.3358 10 10.75C10 11.1642 10.3358 11.5 10.75 11.5H11V15.75C11 16.1642 11.3358 16.5 11.75 16.5H12.75C13.1642 16.5 13.5 16.1642 13.5 15.75C13.5 15.3358 13.1642 15 12.75 15H12.5V10.75C12.5 10.3618 12.2051 10.0425 11.8271 10.0039L11.75 10H10.75ZM11.4502 6.75C10.8979 6.75 10.4502 7.19772 10.4502 7.75C10.4502 8.30228 10.8979 8.75 11.4502 8.75H11.46L11.5625 8.74512C12.0666 8.69378 12.46 8.26767 12.46 7.75C12.46 7.23233 12.0666 6.80622 11.5625 6.75488L11.46 6.75H11.4502Z"}))}function WM(){return X.createElement(Ru,{viewBox:"0 0 24 24",fontSize:"inherit"},X.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0498 2C15.2873 2 15.5191 2.04048 15.7422 2.13965C15.962 2.23735 16.136 2.37531 16.2803 2.51953L20.9805 7.21973C21.1247 7.36397 21.2627 7.53802 21.3604 7.75781C21.4595 7.98094 21.5 8.21268 21.5 8.4502V15.0498C21.5 15.2873 21.4595 15.5191 21.3604 15.7422C21.2627 15.962 21.1247 16.136 20.9805 16.2803L16.2803 20.9805C16.136 21.1247 15.962 21.2627 15.7422 21.3604C15.5191 21.4595 15.2873 21.5 15.0498 21.5H8.4502C8.21268 21.5 7.98094 21.4595 7.75781 21.3604C7.53802 21.2627 7.36397 21.1247 7.21973 20.9805L2.51953 16.2803C2.37531 16.136 2.23735 15.962 2.13965 15.7422C2.04048 15.5191 2 15.2873 2 15.0498V8.4502C2 8.21268 2.04048 7.98094 2.13965 7.75781C2.23735 7.53802 2.37531 7.36397 2.51953 7.21973L7.21973 2.51953C7.36397 2.37531 7.53802 2.23735 7.75781 2.13965C7.98094 2.04048 8.21268 2 8.4502 2H15.0498ZM11.75 14.75C11.1977 14.75 10.75 15.1977 10.75 15.75C10.75 16.3023 11.1977 16.75 11.75 16.75H11.7598L11.8623 16.7451C12.3665 16.6939 12.7598 16.2678 12.7598 15.75C12.7598 15.2322 12.3665 14.8061 11.8623 14.7549L11.7598 14.75H11.75ZM11.75 7C11.3358 7 11 7.33579 11 7.75V12.75C11 13.1642 11.3358 13.5 11.75 13.5C12.1642 13.5 12.5 13.1642 12.5 12.75V7.75C12.5 7.33579 12.1642 7 11.75 7Z"}))}function HM(){return X.createElement(Ru,{viewBox:"0 0 24 24",fontSize:"inherit"},X.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9302 3.00684C12.3573 3.03542 12.7729 3.16362 13.1431 3.38184C13.5618 3.6287 13.9074 3.98244 14.1451 4.40625L21.2456 16.6562L21.2915 16.751C21.4597 17.1668 21.524 17.6183 21.4781 18.0645C21.432 18.5106 21.2773 18.9397 21.0279 19.3125C20.7784 19.685 20.4411 19.9915 20.0464 20.2041C19.6517 20.4166 19.2105 20.529 18.7622 20.5322L18.7564 20.5332H4.75638C4.73812 20.5332 4.71964 20.5316 4.7017 20.5303C4.69631 20.5307 4.69052 20.5319 4.6851 20.5322L4.60795 20.5312L4.44388 20.5186C4.06393 20.476 3.69614 20.3543 3.36478 20.1611C2.98591 19.9403 2.66472 19.6317 2.42924 19.2617C2.19395 18.8919 2.051 18.4707 2.01127 18.0342C1.97166 17.5975 2.03678 17.1563 2.2017 16.75L2.2476 16.6562L9.34721 4.40625C9.58473 3.98261 9.93165 3.62868 10.3501 3.38184C10.7731 3.13252 11.2556 3.00006 11.7466 3L11.9302 3.00684ZM11.7574 15.7822C11.2051 15.7822 10.7574 16.2299 10.7574 16.7822C10.7574 17.3345 11.2051 17.7822 11.7574 17.7822H11.7671L11.8697 17.7773C12.3737 17.7259 12.7671 17.2998 12.7671 16.7822C12.7671 16.2647 12.3737 15.8386 11.8697 15.7871L11.7671 15.7822H11.7574ZM11.7564 8.0332C11.3424 8.03352 11.0064 8.36919 11.0064 8.7832V13.7832C11.0069 14.1968 11.3428 14.5329 11.7564 14.5332C12.1702 14.5332 12.5059 14.1969 12.5064 13.7832V8.7832C12.5064 8.36902 12.1706 8.03325 11.7564 8.0332Z"}))}const{slots:nI,classNames:oI}=vl("AlertAction",["root"]),iI=kl(Ad,nI.root)({}),lI={color:"inherit",variant:"outlined"},cI=X.forwardRef((W,H)=>{const U=yi({props:{...lI,...W},name:nI.root.name});return X.createElement(iI,{...U,size:"small",ref:H,className:V([[oI.root,U.className]]),ownerState:U})});cI.defaultProps=lI;var uI=cI;function JM(W){return Oo("MuiSnackbarContent",W)}Ei("MuiSnackbarContent",["root","message","action"]);const dI=["action","className","message","role"],pI=os(Vs,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(W,H)=>H.root})(({theme:W})=>{const H="light"===W.palette.mode?.8:.98,U=oi.emphasize(W.palette.background.default,H);return s({},W.typography.body2,{color:W.vars?W.vars.palette.SnackbarContent.color:W.palette.getContrastText(U),backgroundColor:W.vars?W.vars.palette.SnackbarContent.bg:U,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(W.vars||W).shape.borderRadius,flexGrow:1,[W.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),hI=os("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(W,H)=>H.message})({padding:"8px 0"}),fI=os("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(W,H)=>H.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),mI=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiSnackbarContent"}),{action:X,className:oe,message:ie,role:ae="alert"}=U,le=a(U,dI),ce=U,ue=(W=>{const{classes:H}=W;return q({root:["root"],action:["action"],message:["message"]},JM,H)})(ce);return G.jsxs(pI,s({role:ae,square:!0,elevation:6,className:V(ue.root,oe),ownerState:ce,ref:H},le,{children:[G.jsx(hI,{className:ue.message,ownerState:ce,children:ie}),X?G.jsx(fI,{className:ue.action,ownerState:ce,children:X}):null]}))});function iR(W){return Oo("MuiSnackbar",W)}Ei("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const yI=["onEnter","onExited"],vI=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],bI=os("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,H[`anchorOrigin${Vr(U.anchorOrigin.vertical)}${Vr(U.anchorOrigin.horizontal)}`]]}})(({theme:W,ownerState:H})=>s({zIndex:(W.vars||W).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===H.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===H.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===H.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[W.breakpoints.up("sm")]:s({},"top"===H.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===H.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===H.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===H.anchorOrigin.horizontal&&{right:24,left:"auto"})})),xI=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiSnackbar"}),X=Ka(),oe={enter:X.transitions.duration.enteringScreen,exit:X.transitions.duration.leavingScreen},{action:ae,anchorOrigin:{vertical:le,horizontal:ce}={vertical:"bottom",horizontal:"left"},autoHideDuration:ue=null,children:de,className:pe,ClickAwayListenerProps:fe,ContentProps:ke,disableWindowBlurListener:Qe=!1,message:tt,open:it,TransitionComponent:at=pp,transitionDuration:st=oe,TransitionProps:{onEnter:ut,onExited:ht}={}}=U,ft=a(U.TransitionProps,yI),gt=a(U,vI),yt=s({},U,{anchorOrigin:{vertical:le,horizontal:ce},autoHideDuration:ue,disableWindowBlurListener:Qe,TransitionComponent:at,transitionDuration:st}),vt=(W=>{const{classes:H,anchorOrigin:U}=W;return q({root:["root",`anchorOrigin${Vr(U.vertical)}${Vr(U.horizontal)}`]},iR,H)})(yt),{getRootProps:bt,onClickAway:xt}=function(W={}){const{autoHideDuration:H=null,disableWindowBlurListener:U=!1,onClose:G,open:X,resumeHideDuration:oe}=W,ae=ya();ie.useEffect(()=>{if(X)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(W){W.defaultPrevented||"Escape"!==W.key&&"Esc"!==W.key||null==G||G(W,"escapeKeyDown")}},[X,G]);const le=da((W,H)=>{null==G||G(W,H)}),ce=da(W=>{G&&null!=W&&ae.start(W,()=>{le(null,"timeout")})});ie.useEffect(()=>(X&&ce(H),ae.clear),[X,H,ce,ae]);const ue=ae.clear,de=ie.useCallback(()=>{null!=H&&ce(null!=oe?oe:.5*H)},[H,oe,ce]),f=W=>H=>{const U=W.onFocus;null==U||U(H),ue()},h=W=>H=>{const U=W.onMouseEnter;null==U||U(H),ue()},m=W=>H=>{const U=W.onMouseLeave;null==U||U(H),de()};return ie.useEffect(()=>{if(!U&&X)return window.addEventListener("focus",de),window.addEventListener("blur",ue),()=>{window.removeEventListener("focus",de),window.removeEventListener("blur",ue)}},[U,X,de,ue]),{getRootProps:(H={})=>{const U=s({},_p(W),_p(H));return s({role:"presentation"},H,U,{onBlur:(G=U,W=>{const H=G.onBlur;null==H||H(W),de()}),onFocus:f(U),onMouseEnter:h(U),onMouseLeave:m(U)});var G},onClickAway:W=>{null==G||G(W,"clickaway")}}}(s({},yt)),[wt,St]=ie.useState(!0),Ct=Cp({elementType:bI,getSlotProps:bt,externalForwardedProps:gt,ownerState:yt,additionalProps:{ref:H},className:[vt.root,pe]});return!it&&wt?null:G.jsx(LC,s({onClickAway:xt},fe,{children:G.jsx(bI,s({},Ct,{children:G.jsx(at,s({appear:!0,in:it,timeout:st,direction:"top"===le?"down":"up",onEnter:(W,H)=>{St(!1),ut&&ut(W,H)},onExited:W=>{St(!0),ht&&ht(W)}},ft,{children:de||G.jsx(mI,s({message:tt,action:ae},ke))}))}))}))});var _I=X.forwardRef((W,H)=>X.createElement(xI,{...W,ref:H}));const wI=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],kI=os(VM,{shouldForwardProp:W=>ci(W)||"classes"===W,name:"MuiInput",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[...PT(W,H),!U.disableUnderline&&H.underline]}})(({theme:W,ownerState:H})=>{let U="light"===W.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return W.vars&&(U=`rgba(${W.vars.palette.common.onBackgroundChannel} / ${W.vars.opacity.inputUnderline})`),s({position:"relative"},H.formControl&&{"label + &":{marginTop:16}},!H.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(W.vars||W).palette[H.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:W.transitions.create("transform",{duration:W.transitions.duration.shorter,easing:W.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${YM.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${YM.error}`]:{"&::before, &::after":{borderBottomColor:(W.vars||W).palette.error.main}},"&::before":{borderBottom:`1px solid ${U}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:W.transitions.create("border-bottom-color",{duration:W.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${YM.disabled}, .${YM.error}):before`]:{borderBottom:`2px solid ${(W.vars||W).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${U}`}},[`&.${YM.disabled}:before`]:{borderBottomStyle:"dotted"}})}),CI=os(KM,{name:"MuiInput",slot:"Input",overridesResolver:jT})({}),EI=ie.forwardRef(function(W,H){var U,X,oe,ie;const ae=yi({props:W,name:"MuiInput"}),{disableUnderline:le,components:ce={},componentsProps:ue,fullWidth:de=!1,inputComponent:pe="input",multiline:fe=!1,slotProps:ke,slots:Qe={},type:tt="text"}=ae,it=a(ae,wI),at=(W=>{const{classes:H,disableUnderline:U}=W;return s({},H,q({root:["root",!U&&"underline"],input:["input"]},FT,H))})(ae),st={root:{ownerState:{disableUnderline:le}}},ut=(null!=ke?ke:ue)?Dr(null!=ke?ke:ue,st):st,ht=null!=(U=null!=(X=Qe.root)?X:ce.Root)?U:kI,ft=null!=(oe=null!=(ie=Qe.input)?ie:ce.Input)?oe:CI;return G.jsx(XM,s({slots:{root:ht,input:ft},slotProps:ut,fullWidth:de,inputComponent:pe,multiline:fe,ref:H,type:tt},it,{classes:at}))});EI.muiName="Input";const MI=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],RI=os(VM,{shouldForwardProp:W=>ci(W)||"classes"===W,name:"MuiFilledInput",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[...PT(W,H),!U.disableUnderline&&H.underline]}})(({theme:W,ownerState:H})=>{var U;const G="light"===W.palette.mode,X=G?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",oe=G?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",ie=G?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",ae=G?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return s({position:"relative",backgroundColor:W.vars?W.vars.palette.FilledInput.bg:oe,borderTopLeftRadius:(W.vars||W).shape.borderRadius,borderTopRightRadius:(W.vars||W).shape.borderRadius,transition:W.transitions.create("background-color",{duration:W.transitions.duration.shorter,easing:W.transitions.easing.easeOut}),"&:hover":{backgroundColor:W.vars?W.vars.palette.FilledInput.hoverBg:ie,"@media (hover: none)":{backgroundColor:W.vars?W.vars.palette.FilledInput.bg:oe}},[`&.${QM.focused}`]:{backgroundColor:W.vars?W.vars.palette.FilledInput.bg:oe},[`&.${QM.disabled}`]:{backgroundColor:W.vars?W.vars.palette.FilledInput.disabledBg:ae}},!H.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(U=(W.vars||W).palette[H.color||"primary"])?void 0:U.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:W.transitions.create("transform",{duration:W.transitions.duration.shorter,easing:W.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${QM.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${QM.error}`]:{"&::before, &::after":{borderBottomColor:(W.vars||W).palette.error.main}},"&::before":{borderBottom:`1px solid ${W.vars?`rgba(${W.vars.palette.common.onBackgroundChannel} / ${W.vars.opacity.inputUnderline})`:X}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:W.transitions.create("border-bottom-color",{duration:W.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${QM.disabled}, .${QM.error}):before`]:{borderBottom:`1px solid ${(W.vars||W).palette.text.primary}`},[`&.${QM.disabled}:before`]:{borderBottomStyle:"dotted"}},H.startAdornment&&{paddingLeft:12},H.endAdornment&&{paddingRight:12},H.multiline&&s({padding:"25px 12px 8px"},"small"===H.size&&{paddingTop:21,paddingBottom:4},H.hiddenLabel&&{paddingTop:16,paddingBottom:17},H.hiddenLabel&&"small"===H.size&&{paddingTop:8,paddingBottom:9}))}),PI=os(KM,{name:"MuiFilledInput",slot:"Input",overridesResolver:jT})(({theme:W,ownerState:H})=>s({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!W.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===W.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===W.palette.mode?null:"#fff",caretColor:"light"===W.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},W.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[W.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===H.size&&{paddingTop:21,paddingBottom:4},H.hiddenLabel&&{paddingTop:16,paddingBottom:17},H.startAdornment&&{paddingLeft:0},H.endAdornment&&{paddingRight:0},H.hiddenLabel&&"small"===H.size&&{paddingTop:8,paddingBottom:9},H.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),AI=ie.forwardRef(function(W,H){var U,X,oe,ie;const ae=yi({props:W,name:"MuiFilledInput"}),{components:le={},componentsProps:ce,fullWidth:ue=!1,inputComponent:de="input",multiline:pe=!1,slotProps:fe,slots:ke={},type:Qe="text"}=ae,tt=a(ae,MI),it=s({},ae,{fullWidth:ue,inputComponent:de,multiline:pe,type:Qe}),at=(W=>{const{classes:H,disableUnderline:U}=W;return s({},H,q({root:["root",!U&&"underline"],input:["input"]},qT,H))})(ae),st={root:{ownerState:it},input:{ownerState:it}},ut=(null!=fe?fe:ce)?Dr(st,null!=fe?fe:ce):st,ht=null!=(U=null!=(X=ke.root)?X:le.Root)?U:RI,ft=null!=(oe=null!=(ie=ke.input)?ie:le.Input)?oe:PI;return G.jsx(XM,s({slots:{root:ht,input:ft},componentsProps:ut,fullWidth:ue,inputComponent:de,multiline:pe,ref:H,type:Qe},tt,{classes:at}))});var jI;AI.muiName="Input";const NI=["children","classes","className","label","notched"],LI=os("fieldset",{shouldForwardProp:ci})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),$I=os("legend",{shouldForwardProp:ci})(({ownerState:W,theme:H})=>s({float:"unset",width:"auto",overflow:"hidden"},!W.withLabel&&{padding:0,lineHeight:"11px",transition:H.transitions.create("width",{duration:150,easing:H.transitions.easing.easeOut})},W.withLabel&&s({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:H.transitions.create("max-width",{duration:50,easing:H.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},W.notched&&{maxWidth:"100%",transition:H.transitions.create("max-width",{duration:100,easing:H.transitions.easing.easeOut,delay:50})})));const DI=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],FI=os(VM,{shouldForwardProp:W=>ci(W)||"classes"===W,name:"MuiOutlinedInput",slot:"Root",overridesResolver:PT})(({theme:W,ownerState:H})=>{const U="light"===W.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return s({position:"relative",borderRadius:(W.vars||W).shape.borderRadius,[`&:hover .${ZM.notchedOutline}`]:{borderColor:(W.vars||W).palette.text.primary},"@media (hover: none)":{[`&:hover .${ZM.notchedOutline}`]:{borderColor:W.vars?`rgba(${W.vars.palette.common.onBackgroundChannel} / 0.23)`:U}},[`&.${ZM.focused} .${ZM.notchedOutline}`]:{borderColor:(W.vars||W).palette[H.color].main,borderWidth:2},[`&.${ZM.error} .${ZM.notchedOutline}`]:{borderColor:(W.vars||W).palette.error.main},[`&.${ZM.disabled} .${ZM.notchedOutline}`]:{borderColor:(W.vars||W).palette.action.disabled}},H.startAdornment&&{paddingLeft:14},H.endAdornment&&{paddingRight:14},H.multiline&&s({padding:"16.5px 14px"},"small"===H.size&&{padding:"8.5px 14px"}))}),zI=os(function SR(W){const{className:H,label:U,notched:X}=W,oe=a(W,NI),ie=null!=U&&""!==U,ae=s({},W,{notched:X,withLabel:ie});return G.jsx(LI,s({"aria-hidden":!0,className:H,ownerState:ae},oe,{children:G.jsx($I,{ownerState:ae,children:ie?G.jsx("span",{children:U}):jI||(jI=G.jsx("span",{className:"notranslate",children:""}))})}))},{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(W,H)=>H.notchedOutline})(({theme:W})=>{const H="light"===W.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:W.vars?`rgba(${W.vars.palette.common.onBackgroundChannel} / 0.23)`:H}}),BI=os(KM,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:jT})(({theme:W,ownerState:H})=>s({padding:"16.5px 14px"},!W.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===W.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===W.palette.mode?null:"#fff",caretColor:"light"===W.palette.mode?null:"#fff",borderRadius:"inherit"}},W.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[W.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===H.size&&{padding:"8.5px 14px"},H.multiline&&{padding:0},H.startAdornment&&{paddingLeft:0},H.endAdornment&&{paddingRight:0})),VI=ie.forwardRef(function(W,H){var U,X,oe,ae,le;const ce=yi({props:W,name:"MuiOutlinedInput"}),{components:ue={},fullWidth:de=!1,inputComponent:pe="input",label:fe,multiline:ke=!1,notched:Qe,slots:tt={},type:it="text"}=ce,at=a(ce,DI),st=(W=>{const{classes:H}=W;return s({},H,q({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},BT,H))})(ce),ut=mC(),ht=TT({props:ce,muiFormControl:ut,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),ft=s({},ce,{color:ht.color||"primary",disabled:ht.disabled,error:ht.error,focused:ht.focused,formControl:ut,fullWidth:de,hiddenLabel:ht.hiddenLabel,multiline:ke,size:ht.size,type:it}),gt=null!=(U=null!=(X=tt.root)?X:ue.Root)?U:FI,yt=null!=(oe=null!=(ae=tt.input)?ae:ue.Input)?oe:BI;return G.jsx(XM,s({slots:{root:gt,input:yt},renderSuffix:W=>G.jsx(zI,{ownerState:ft,className:st.notchedOutline,label:null!=fe&&""!==fe&&ht.required?le||(le=G.jsxs(ie.Fragment,{children:[fe," ","*"]})):fe,notched:void 0!==Qe?Qe:Boolean(W.startAdornment||W.filled||W.focused)}),fullWidth:de,inputComponent:pe,multiline:ke,ref:H,type:it},at,{classes:s({},st,{notchedOutline:null})}))});function MR(W){return Oo("MuiFormLabel",W)}VI.muiName="Input";const qI=Ei("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),JI=["children","className","color","component","disabled","error","filled","focused","required"],eT=os("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:W},H)=>s({},H.root,"secondary"===W.color&&H.colorSecondary,W.filled&&H.filled)})(({theme:W,ownerState:H})=>s({color:(W.vars||W).palette.text.secondary},W.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${qI.focused}`]:{color:(W.vars||W).palette[H.color].main},[`&.${qI.disabled}`]:{color:(W.vars||W).palette.text.disabled},[`&.${qI.error}`]:{color:(W.vars||W).palette.error.main}})),rT=os("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(W,H)=>H.asterisk})(({theme:W})=>({[`&.${qI.error}`]:{color:(W.vars||W).palette.error.main}})),nT=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiFormLabel"}),{children:X,className:oe,component:ie="label"}=U,ae=a(U,JI),le=TT({props:U,muiFormControl:mC(),states:["color","required","focused","disabled","error","filled"]}),ce=s({},U,{color:le.color||"primary",component:ie,disabled:le.disabled,error:le.error,filled:le.filled,focused:le.focused,required:le.required}),ue=(W=>{const{classes:H,color:U,focused:G,disabled:X,error:oe,filled:ie,required:ae}=W;return q({root:["root",`color${Vr(U)}`,X&&"disabled",oe&&"error",ie&&"filled",G&&"focused",ae&&"required"],asterisk:["asterisk",oe&&"error"]},MR,H)})(ce);return G.jsxs(eT,s({as:ie,ownerState:ce,className:V(ue.root,oe),ref:H},ae,{children:[X,le.required&&G.jsxs(rT,{ownerState:ce,"aria-hidden":!0,className:ue.asterisk,children:[" ","*"]})]}))});function AR(W){return Oo("MuiInputLabel",W)}Ei("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const aT=["disableAnimation","margin","shrink","variant","className"],sT=os(nT,{shouldForwardProp:W=>ci(W)||"classes"===W,name:"MuiInputLabel",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[{[`& .${qI.asterisk}`]:H.asterisk},H.root,U.formControl&&H.formControl,"small"===U.size&&H.sizeSmall,U.shrink&&H.shrink,!U.disableAnimation&&H.animated,U.focused&&H.focused,H[U.variant]]}})(({theme:W,ownerState:H})=>s({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},H.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===H.size&&{transform:"translate(0, 17px) scale(1)"},H.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!H.disableAnimation&&{transition:W.transitions.create(["color","transform","max-width"],{duration:W.transitions.duration.shorter,easing:W.transitions.easing.easeOut})},"filled"===H.variant&&s({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===H.size&&{transform:"translate(12px, 13px) scale(1)"},H.shrink&&s({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===H.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===H.variant&&s({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===H.size&&{transform:"translate(14px, 9px) scale(1)"},H.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),lT=ie.forwardRef(function(W,H){const U=yi({name:"MuiInputLabel",props:W}),{disableAnimation:X=!1,shrink:oe,className:ie}=U,ae=a(U,aT),le=mC();let ce=oe;void 0===ce&&le&&(ce=le.filled||le.focused||le.adornedStart);const ue=TT({props:U,muiFormControl:le,states:["size","variant","required","focused"]}),de=s({},U,{disableAnimation:X,formControl:le,shrink:ce,size:ue.size,variant:ue.variant,required:ue.required,focused:ue.focused}),pe=(W=>{const{classes:H,formControl:U,size:G,shrink:X,disableAnimation:oe,variant:ie,required:ae}=W;return s({},H,q({root:["root",U&&"formControl",!oe&&"animated",X&&"shrink",G&&"normal"!==G&&`size${Vr(G)}`,ie],asterisk:[ae&&"asterisk"]},AR,H))})(de);return G.jsx(sT,s({"data-shrink":ce,ownerState:de,ref:H,className:V(pe.root,ie)},ae,{classes:pe}))});function FR(W){return Oo("MuiFormHelperText",W)}const cT=Ei("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var dT;const pT=["children","className","component","disabled","error","filled","focused","margin","required","variant"],mT=os("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.root,U.size&&H[`size${Vr(U.size)}`],U.contained&&H.contained,U.filled&&H.filled]}})(({theme:W,ownerState:H})=>s({color:(W.vars||W).palette.text.secondary},W.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${cT.disabled}`]:{color:(W.vars||W).palette.text.disabled},[`&.${cT.error}`]:{color:(W.vars||W).palette.error.main}},"small"===H.size&&{marginTop:4},H.contained&&{marginLeft:14,marginRight:14})),yT=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiFormHelperText"}),{children:X,className:oe,component:ie="p"}=U,ae=a(U,pT),le=TT({props:U,muiFormControl:mC(),states:["variant","size","disabled","error","filled","focused","required"]}),ce=s({},U,{component:ie,contained:"filled"===le.variant||"outlined"===le.variant,variant:le.variant,size:le.size,disabled:le.disabled,error:le.error,filled:le.filled,focused:le.focused,required:le.required}),ue=(W=>{const{classes:H,contained:U,size:G,disabled:X,error:oe,filled:ie,focused:ae,required:le}=W;return q({root:["root",X&&"disabled",oe&&"error",G&&`size${Vr(G)}`,U&&"contained",ae&&"focused",ie&&"filled",le&&"required"]},FR,H)})(ce);return G.jsx(mT,s({as:ie,ownerState:ce,className:V(ue.root,oe),ref:H},ae,{children:" "===X?dT||(dT=G.jsx("span",{className:"notranslate",children:""})):X}))});function WR(W){return Oo("MuiNativeSelect",W)}const bT=Ei("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),xT=["className","disabled","error","IconComponent","inputRef","variant"],GR=({ownerState:W,theme:H})=>s({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":s({},H.vars?{backgroundColor:`rgba(${H.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===H.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${bT.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(H.vars||H).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===W.variant&&{"&&&":{paddingRight:32}},"outlined"===W.variant&&{borderRadius:(H.vars||H).shape.borderRadius,"&:focus":{borderRadius:(H.vars||H).shape.borderRadius},"&&&":{paddingRight:32}}),_T=os("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ci,overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.select,H[U.variant],U.error&&H.error,{[`&.${bT.multiple}`]:H.multiple}]}})(GR),YR=({ownerState:W,theme:H})=>s({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(H.vars||H).palette.action.active,[`&.${bT.disabled}`]:{color:(H.vars||H).palette.action.disabled}},W.open&&{transform:"rotate(180deg)"},"filled"===W.variant&&{right:7},"outlined"===W.variant&&{right:7}),wT=os("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.icon,U.variant&&H[`icon${Vr(U.variant)}`],U.open&&H.iconOpen]}})(YR),ST=ie.forwardRef(function(W,H){const{className:U,disabled:X,error:oe,IconComponent:ae,inputRef:le,variant:ce="standard"}=W,ue=a(W,xT),de=s({},W,{disabled:X,variant:ce,error:oe}),pe=(W=>{const{classes:H,variant:U,disabled:G,multiple:X,open:oe,error:ie}=W;return q({select:["select",U,G&&"disabled",X&&"multiple",ie&&"error"],icon:["icon",`icon${Vr(U)}`,oe&&"iconOpen",G&&"disabled"]},WR,H)})(de);return G.jsxs(ie.Fragment,{children:[G.jsx(_T,s({ownerState:de,className:V(pe.select,U),disabled:X,ref:le||H},ue)),W.multiple?null:G.jsx(wT,{as:ae,ownerState:de,className:pe.icon})]})});function JR(W){return Oo("MuiSelect",W)}const CT=Ei("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var ET;const OT=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],IT=os("div",{name:"MuiSelect",slot:"Select",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[{[`&.${CT.select}`]:H.select},{[`&.${CT.select}`]:H[U.variant]},{[`&.${CT.error}`]:H.error},{[`&.${CT.multiple}`]:H.multiple}]}})(GR,{[`&.${CT.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),AT=os("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(W,H)=>{const{ownerState:U}=W;return[H.icon,U.variant&&H[`icon${Vr(U.variant)}`],U.open&&H.iconOpen]}})(YR),NT=os("input",{shouldForwardProp:W=>li(W)&&"classes"!==W,name:"MuiSelect",slot:"NativeInput",overridesResolver:(W,H)=>H.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function aI(W,H){return"object"==typeof H&&null!==H?W===H:String(W)===String(H)}function sI(W){return null==W||"string"==typeof W&&!W.trim()}const LT=ie.forwardRef(function(W,H){var U;const{"aria-describedby":X,"aria-label":oe,autoFocus:ae,autoWidth:le,children:ce,className:ue,defaultOpen:de,defaultValue:pe,disabled:fe,displayEmpty:ke,error:Qe=!1,IconComponent:tt,inputRef:it,labelId:at,MenuProps:st={},multiple:ut,name:ht,onBlur:ft,onChange:gt,onClose:yt,onFocus:vt,onOpen:bt,open:xt,readOnly:wt,renderValue:St,SelectDisplayProps:Ct={},tabIndex:It,value:Pt,variant:At="standard"}=W,jt=a(W,OT),[Nt,Lt]=pa({controlled:Pt,default:pe,name:"Select"}),[$t,Dt]=pa({controlled:xt,default:de,name:"Select"}),Ft=ie.useRef(null),zt=ie.useRef(null),[Bt,Yt]=ie.useState(null),{current:Zt}=ie.useRef(null!=xt),[Jt,Qt]=ie.useState(),er=fa(H,it),tr=ie.useCallback(W=>{zt.current=W,W&&Yt(W)},[]),Or=null==Bt?void 0:Bt.parentNode;ie.useImperativeHandle(er,()=>({focus:()=>{zt.current.focus()},node:Ft.current,value:Nt}),[Nt]),ie.useEffect(()=>{de&&$t&&Bt&&!Zt&&(Qt(le?null:Or.clientWidth),zt.current.focus())},[Bt,le]),ie.useEffect(()=>{ae&&zt.current.focus()},[ae]),ie.useEffect(()=>{if(!at)return;const W=ia(zt.current).getElementById(at);if(W){const t=()=>{getSelection().isCollapsed&&zt.current.focus()};return W.addEventListener("click",t),()=>{W.removeEventListener("click",t)}}},[at]);const J=(W,H)=>{W?bt&&bt(H):yt&&yt(H),Zt||(Qt(le?null:Or.clientWidth),Dt(W))},Mr=ie.Children.toArray(ce),te=W=>H=>{let U;if(H.currentTarget.hasAttribute("tabindex")){if(ut){U=Array.isArray(Nt)?Nt.slice():[];const H=Nt.indexOf(W.props.value);-1===H?U.push(W.props.value):U.splice(H,1)}else U=W.props.value;if(W.props.onClick&&W.props.onClick(H),Nt!==U&&(Lt(U),gt)){const G=H.nativeEvent||H,X=new G.constructor(G.type,G);Object.defineProperty(X,"target",{writable:!0,value:{value:U,name:ht}}),gt(X,W)}ut||J(!1,H)}},Rr=null!==Bt&&$t;let Ar,Fr;delete jt["aria-invalid"];const Br=[];let qr=!1,Wr=!1;(cC({value:Nt})||ke)&&(St?Ar=St(Nt):qr=!0);const Hr=Mr.map(W=>{if(!ie.isValidElement(W))return null;let H;if(ut){if(!Array.isArray(Nt))throw new Error(zr(2));H=Nt.some(H=>aI(H,W.props.value)),H&&qr&&Br.push(W.props.children)}else H=aI(Nt,W.props.value),H&&qr&&(Fr=W.props.children);return H&&(Wr=!0),ie.cloneElement(W,{"aria-selected":H?"true":"false",onClick:te(W),onKeyUp:H=>{" "===H.key&&H.preventDefault(),W.props.onKeyUp&&W.props.onKeyUp(H)},role:"option",selected:H,value:void 0,"data-value":W.props.value})});qr&&(Ar=ut?0===Br.length?null:Br.reduce((W,H,U)=>(W.push(H),U<Br.length-1&&W.push(", "),W),[]):Fr);let Ur,Gr=Jt;!le&&Zt&&Bt&&(Gr=Or.clientWidth),Ur=void 0!==It?It:fe?null:0;const Xr=Ct.id||(ht?`mui-component-select-${ht}`:void 0),Yr=s({},W,{variant:At,value:Nt,open:Rr,error:Qe}),Jr=(W=>{const{classes:H,variant:U,disabled:G,multiple:X,open:oe,error:ie}=W;return q({select:["select",U,G&&"disabled",X&&"multiple",ie&&"error"],icon:["icon",`icon${Vr(U)}`,oe&&"iconOpen",G&&"disabled"],nativeInput:["nativeInput"]},JR,H)})(Yr),Qr=s({},st.PaperProps,null==(U=st.slotProps)?void 0:U.paper),en=ua();return G.jsxs(ie.Fragment,{children:[G.jsx(IT,s({ref:tr,tabIndex:Ur,role:"combobox","aria-controls":en,"aria-disabled":fe?"true":void 0,"aria-expanded":Rr?"true":"false","aria-haspopup":"listbox","aria-label":oe,"aria-labelledby":[at,Xr].filter(Boolean).join(" ")||void 0,"aria-describedby":X,onKeyDown:W=>{wt||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(W.key)&&(W.preventDefault(),J(!0,W))},onMouseDown:fe||wt?null:W=>{0===W.button&&(W.preventDefault(),zt.current.focus(),J(!0,W))},onBlur:W=>{!Rr&&ft&&(Object.defineProperty(W,"target",{writable:!0,value:{value:Nt,name:ht}}),ft(W))},onFocus:vt},Ct,{ownerState:Yr,className:V(Ct.className,Jr.select,ue),id:Xr,children:sI(Ar)?ET||(ET=G.jsx("span",{className:"notranslate",children:""})):Ar})),G.jsx(NT,s({"aria-invalid":Qe,value:Array.isArray(Nt)?Nt.join(","):Nt,name:ht,ref:Ft,"aria-hidden":!0,onChange:W=>{const H=Mr.find(H=>H.props.value===W.target.value);void 0!==H&&(Lt(H.props.value),gt&>(W,H))},tabIndex:-1,disabled:fe,className:Jr.nativeInput,autoFocus:ae,ownerState:Yr},jt)),G.jsx(AT,{as:tt,className:Jr.icon,ownerState:Yr}),G.jsx(kh,s({id:`menu-${ht||""}`,anchorEl:Or,open:Rr,onClose:W=>{J(!1,W)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},st,{MenuListProps:s({"aria-labelledby":at,role:"listbox","aria-multiselectable":ut?"true":void 0,disableListWrap:!0,id:en},st.MenuListProps),slotProps:s({},st.slotProps,{paper:s({},Qr,{style:s({minWidth:Gr},null!=Qr?Qr.style:null)})}),children:Hr}))]})}),$T=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],DT=["root"],zT={name:"MuiSelect",overridesResolver:(W,H)=>H.root,shouldForwardProp:W=>ci(W)&&"variant"!==W,slot:"Root"},VT=os(EI,zT)(""),WT=os(VI,zT)(""),HT=os(AI,zT)(""),UT=ie.forwardRef(function(W,H){const U=yi({name:"MuiSelect",props:W}),{autoWidth:X=!1,children:oe,classes:ae={},className:le,defaultOpen:ce=!1,displayEmpty:ue=!1,IconComponent:de=tR,id:pe,input:fe,inputProps:ke,label:Qe,labelId:tt,MenuProps:it,multiple:at=!1,native:st=!1,onClose:ut,onOpen:ht,open:ft,renderValue:gt,SelectDisplayProps:yt,variant:vt="outlined"}=U,bt=a(U,$T),xt=st?ST:LT,wt=TT({props:U,muiFormControl:mC(),states:["variant","error"]}),St=wt.variant||vt,Ct=s({},U,{variant:St,classes:ae}),It=(W=>{const{classes:H}=W;return H})(Ct),Pt=a(It,DT),At=fe||{standard:G.jsx(VT,{ownerState:Ct}),outlined:G.jsx(WT,{label:Qe,ownerState:Ct}),filled:G.jsx(HT,{ownerState:Ct})}[St],jt=fa(H,At.ref);return G.jsx(ie.Fragment,{children:ie.cloneElement(At,s({inputComponent:xt,inputProps:s({children:oe,error:wt.error,IconComponent:de,variant:St,type:void 0,multiple:at},st?{id:pe}:{autoWidth:X,defaultOpen:ce,displayEmpty:ue,labelId:tt,MenuProps:it,onClose:ut,onOpen:ht,open:ft,renderValue:gt,SelectDisplayProps:s({id:pe},yt)},ke,{classes:ke?Dr(Pt,ke.classes):Pt},fe?fe.props.inputProps:{})},(at&&st||ue)&&"outlined"===St?{notched:!0}:{},{ref:jt,className:V(At.props.className,le,It.root)},!fe&&{variant:St},bt))})});function gI(W){return Oo("MuiTextField",W)}UT.muiName="Select",Ei("MuiTextField",["root"]);const GT=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],XT={standard:EI,filled:AI,outlined:VI},YT=os(ME,{name:"MuiTextField",slot:"Root",overridesResolver:(W,H)=>H.root})({}),ZT=ie.forwardRef(function(W,H){const U=yi({props:W,name:"MuiTextField"}),{autoComplete:X,autoFocus:oe=!1,children:ie,className:ae,color:le="primary",defaultValue:ce,disabled:ue=!1,error:de=!1,FormHelperTextProps:pe,fullWidth:fe=!1,helperText:ke,id:Qe,InputLabelProps:tt,inputProps:it,InputProps:at,inputRef:st,label:ut,maxRows:ht,minRows:ft,multiline:gt=!1,name:yt,onBlur:vt,onChange:bt,onFocus:xt,placeholder:wt,required:St=!1,rows:Ct,select:It=!1,SelectProps:Pt,type:At,value:jt,variant:Nt="outlined"}=U,Lt=a(U,GT),$t=s({},U,{autoFocus:oe,color:le,disabled:ue,error:de,fullWidth:fe,multiline:gt,required:St,select:It,variant:Nt}),Dt=(W=>{const{classes:H}=W;return q({root:["root"]},gI,H)})($t),Ft={};"outlined"===Nt&&(tt&&void 0!==tt.shrink&&(Ft.notched=tt.shrink),Ft.label=ut),It&&(Pt&&Pt.native||(Ft.id=void 0),Ft["aria-describedby"]=void 0);const zt=ua(Qe),Bt=ke&&zt?`${zt}-helper-text`:void 0,Yt=ut&&zt?`${zt}-label`:void 0,Zt=XT[Nt],Jt=G.jsx(Zt,s({"aria-describedby":Bt,autoComplete:X,autoFocus:oe,defaultValue:ce,fullWidth:fe,multiline:gt,name:yt,rows:Ct,maxRows:ht,minRows:ft,type:At,value:jt,id:zt,inputRef:st,onBlur:vt,onChange:bt,onFocus:xt,placeholder:wt,inputProps:it},Ft,at));return G.jsxs(YT,s({className:V(Dt.root,ae),disabled:ue,error:de,fullWidth:fe,ref:H,required:St,color:le,variant:Nt,ownerState:$t},Lt,{children:[null!=ut&&""!==ut&&G.jsx(lT,s({htmlFor:zt,id:Yt},tt,{children:ut})),It?G.jsx(UT,s({"aria-describedby":Bt,id:zt,labelId:Yt,value:jt,input:Jt},Pt,{children:ie})):Jt,ke&&G.jsx(yT,s({id:Bt},pe,{children:ke}))]}))}),JT=X.forwardRef((W,H)=>X.createElement(Ru,{viewBox:"0 0 24 24",...W,ref:H},X.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.46967 9.21967C5.76256 8.92678 6.23744 8.92678 6.53033 9.21967L12 14.6893L17.4697 9.21967C17.7626 8.92678 18.2374 8.92678 18.5303 9.21967C18.8232 9.51256 18.8232 9.98744 18.5303 10.2803L12.5303 16.2803C12.2374 16.5732 11.7626 16.5732 11.4697 16.2803L5.46967 10.2803C5.17678 9.98744 5.17678 9.51256 5.46967 9.21967Z"})));X.forwardRef((W,H)=>{const{MenuProps:U={},...G}=W;return X.createElement(UT,{...G,MenuProps:{...U,MenuListProps:{dense:"tiny"===G.size,...U.MenuListProps||{}}},ref:H})}).defaultProps={IconComponent:JT};const QT=kl(X.forwardRef((W,H)=>{const U={...W};return U.select&&(U.SelectProps={IconComponent:JT,...U.SelectProps||{}},"tiny"===U.size&&(U.SelectProps.MenuProps={...U.SelectProps?.MenuProps||{},MenuListProps:{dense:!0,...U.SelectProps?.MenuProps?.MenuListProps||{}}})),"tiny"===U.size&&(U.InputLabelProps={size:"tiny",...U.InputLabelProps||{}}),X.createElement(ZT,{...U,ref:H})}))` | |
| 153 | 153 | width: 100%; |
| 154 | 154 | |
| 155 | 155 | .wp-admin & .MuiInputBase-input, |
| 156 | 156 | & .MuiInputBase-input:focus { |
| @@ -159,7 +159,7 @@ | ||
| 159 | 159 | box-shadow: none; |
| 160 | 160 | min-height: initial; |
| 161 | 161 | color: inherit; |
| 162 | 162 | outline: 0; |
| 163 | - padding: ${({$isWrapped:B,$noPadding:H,theme:W})=>H?"0":B?`${W.spacing(1)} ${W.spacing(.5)}`:`${W.spacing(2)} ${W.spacing(1.5)}`}; | |
| 163 | + padding: ${({$isWrapped:W,$noPadding:H,theme:U})=>H?"0":W?`${U.spacing(1)} ${U.spacing(.5)}`:`${U.spacing(2)} ${U.spacing(1.5)}`}; | |
| 164 | 164 | } |
| 165 | -`,oX=({isWrapped:B,noPadding:H,...W})=>K.jsx(kK,{...W,$isWrapped:B,$noPadding:H});var CK=function(B){return B.EN="en",B.DE="de",B.ES="es",B.IT="it",B.NL="nl",B.PT="pt-PT",B.PT_BR="pt-BR",B.FR="fr",B.HE="he-IL",B}({});const sX=({open:B,onClose:H,colorScheme:W="light"})=>{const{t:ie}=Bd("send-feedback",{i18n:kf}),{SUPPORT_FORM_URL:ce}=cz(),{control:ue,handleSubmit:de,reset:pe,formState:{isValid:fe}}=function(B={}){const H=Y.useRef(void 0),W=Y.useRef(void 0),[K,ie]=Y.useState({isDirty:!1,isValidating:!1,isLoading:hq(B.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:B.errors||{},disabled:B.disabled||!1,isReady:!1,defaultValues:hq(B.defaultValues)?void 0:B.defaultValues});if(!H.current)if(B.formControl)H.current={...B.formControl,formState:K},B.defaultValues&&!hq(B.defaultValues)&&B.formControl.reset(B.defaultValues,B.resetOptions);else{const{formControl:W,...Y}=function Wq(B={}){let H,W={...JU,...B},K={submitCount:0,isDirty:!1,isReady:!1,isLoading:hq(W.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:W.errors||{},disabled:W.disabled||!1},Y={},ie=(LU(W.defaultValues)||LU(W.values))&&BU(W.defaultValues||W.values)||{},ce=W.shouldUnregister?{}:BU(ie),ue={action:!1,mount:!1,watch:!1},de={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},pe=0;const fe={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let ke={...fe};const Je={array:pq(),state:pq()},rt=W.criteriaMode===EU,h=async B=>{if(!W.disabled&&(fe.isValid||ke.isValid||B)){const B=W.resolver?dq((await y()).errors):await b(Y,!0);B!==K.isValid&&Je.state.next({isValid:B})}},m=(B,H)=>{!W.disabled&&(fe.isValidating||fe.validatingFields||ke.isValidating||ke.validatingFields)&&((B||Array.from(de.mount)).forEach(B=>{B&&(H?GU(K.validatingFields,B,H):bq(K.validatingFields,B))}),Je.state.next({validatingFields:K.validatingFields,isValidating:!dq(K.validatingFields)}))},g=(B,H,W,K)=>{const de=WU(Y,B);if(de){const Y=WU(ce,B,VU(W)?WU(ie,B):W);VU(Y)||K&&K.defaultChecked||H?GU(ce,B,H?Y:Iq(de._f)):_(B,Y),ue.mount&&h()}},v=(B,H,Y,ce,ue)=>{let de=!1,pe=!1;const rt={name:B};if(!W.disabled){if(!Y||ce){(fe.isDirty||ke.isDirty)&&(pe=K.isDirty,K.isDirty=rt.isDirty=w(),de=pe!==rt.isDirty);const W=aq(WU(ie,B),H);pe=!!WU(K.dirtyFields,B),W?bq(K.dirtyFields,B):GU(K.dirtyFields,B,!0),rt.dirtyFields=K.dirtyFields,de=de||(fe.dirtyFields||ke.dirtyFields)&&pe!==!W}if(Y){const H=WU(K.touchedFields,B);H||(GU(K.touchedFields,B,Y),rt.touchedFields=K.touchedFields,de=de||(fe.touchedFields||ke.touchedFields)&&H!==Y)}de&&ue&&Je.state.next(rt)}return de?rt:{}},y=async B=>{m(B,!0);const H=await W.resolver(ce,W.context,((B,H,W,K)=>{const Y={};for(const W of B){const B=WU(H,W);B&&GU(Y,W,B._f)}return{criteriaMode:W,names:[...B],fields:Y,shouldUseNativeValidation:K}})(B||de.mount,Y,W.criteriaMode,W.shouldUseNativeValidation));return m(B),H},b=async(B,H,Y={valid:!0})=>{for(const ie in B){const ue=B[ie];if(ue){const{_f:B,...pe}=ue;if(B){const pe=de.array.has(B.name),ke=ue._f&&jq(ue._f);ke&&fe.validatingFields&&m([ie],!0);const Je=await Uq(ue,de.disabled,ce,rt,W.shouldUseNativeValidation&&!H,pe);if(ke&&fe.validatingFields&&m([ie]),Je[B.name]&&(Y.valid=!1,H))break;!H&&(WU(Je,B.name)?pe?$q(K.errors,Je,B.name):GU(K.errors,B.name,Je[B.name]):bq(K.errors,B.name))}!dq(pe)&&await b(pe,H,Y)}}return Y.valid},w=(B,H)=>!W.disabled&&(B&&H&&GU(ce,B,H),!aq(T(),ie)),x=(B,H,W)=>iq(B,de,{...ue.mount?ce:VU(H)?ie:oq(B)?{[B]:H}:H},W,H),_=(B,H,W={})=>{const K=WU(Y,B);let ie=H;if(K){const W=K._f;W&&(!W.disabled&&GU(ce,B,Eq(H,W)),ie=mq(W.ref)&&NU(H)?"":H,gq(W.ref)?[...W.ref.options].forEach(B=>B.selected=ie.includes(B.value)):W.refs?AU(W.ref)?W.refs.forEach(B=>{B.defaultChecked&&B.disabled||(Array.isArray(ie)?B.checked=!!ie.find(H=>H===B.value):B.checked=ie===B.value||!!ie)}):W.refs.forEach(B=>B.checked=B.value===ie):fq(W.ref)?W.ref.value="":(W.ref.value=ie,W.ref.type||Je.state.next({name:B,values:BU(ce)})))}(W.shouldDirty||W.shouldTouch)&&v(B,ie,W.shouldTouch,W.shouldDirty,!0),W.shouldValidate&&E(B)},S=(B,H,W)=>{for(const K in H){if(!H.hasOwnProperty(K))return;const ie=H[K],ce=B+"."+K,ue=WU(Y,ce);(de.array.has(B)||LU(ie)||ue&&!ue._f)&&!PU(ie)?S(ce,ie,W):_(ce,ie,W)}},k=(B,H,W={})=>{const pe=WU(Y,B),rt=de.array.has(B),st=BU(H);GU(ce,B,st),rt?(Je.array.next({name:B,values:BU(ce)}),(fe.isDirty||fe.dirtyFields||ke.isDirty||ke.dirtyFields)&&W.shouldDirty&&Je.state.next({name:B,dirtyFields:Sq(ie,ce),isDirty:w(B,st)})):!pe||pe._f||NU(st)?_(B,st,W):S(B,st,W),Lq(B,de)&&Je.state.next({...K,name:B}),Je.state.next({name:ue.mount?B:void 0,values:BU(ce)})},C=async B=>{ue.mount=!0;const ie=B.target;let st=ie.name,at=!0;const lt=WU(Y,st),_=B=>{at=Number.isNaN(B)||PU(B)&&isNaN(B.getTime())||aq(B,WU(ce,st,B))},pt=Pq(W.mode),ht=Pq(W.reValidateMode);if(lt){let ue,vt;const yt=ie.type?Iq(lt._f):DU(B),bt=B.type===kU||"focusout"===B.type,wt=!((mt=lt._f).mount&&(mt.required||mt.min||mt.max||mt.maxLength||mt.minLength||mt.pattern||mt.validate)||W.resolver||WU(K.errors,st)||lt._f.deps)||((B,H,W,K,Y)=>!Y.isOnAll&&(!W&&Y.isOnTouch?!(H||B):(W?K.isOnBlur:Y.isOnBlur)?!B:!(W?K.isOnChange:Y.isOnChange)||B))(bt,WU(K.touchedFields,st),K.isSubmitted,ht,pt),xt=Lq(st,de,bt);GU(ce,st,yt),bt?ie&&ie.readOnly||(lt._f.onBlur&<._f.onBlur(B),H&&H(0)):lt._f.onChange&<._f.onChange(B);const St=v(st,yt,bt),kt=!dq(St)||xt;if(!bt&&Je.state.next({name:st,type:B.type,values:BU(ce)}),wt)return(fe.isValid||ke.isValid)&&("onBlur"===W.mode?bt&&h():bt||h()),kt&&Je.state.next({name:st,...xt?{}:St});if(!bt&&xt&&Je.state.next({...K}),W.resolver){const{errors:B}=await y([st]);if(_(yt),at){const H=Fq(K.errors,Y,st),W=Fq(B,Y,H.name||st);ue=W.error,st=W.name,vt=dq(B)}}else m([st],!0),ue=(await Uq(lt,de.disabled,ce,rt,W.shouldUseNativeValidation))[st],m([st]),_(yt),at&&(ue?vt=!1:(fe.isValid||ke.isValid)&&(vt=await b(Y,!0)));at&&(lt._f.deps&&E(lt._f.deps),((B,Y,ie,ce)=>{const ue=WU(K.errors,B),de=(fe.isValid||ke.isValid)&&HU(Y)&&K.isValid!==Y;var rt;if(W.delayError&&ie?(rt=()=>((B,H)=>{GU(K.errors,B,H),Je.state.next({errors:K.errors})})(B,ie),H=B=>{clearTimeout(pe),pe=setTimeout(rt,B)},H(W.delayError)):(clearTimeout(pe),H=null,ie?GU(K.errors,B,ie):bq(K.errors,B)),(ie?!aq(ue,ie):ue)||!dq(ce)||de){const H={...ce,...de&&HU(Y)?{isValid:Y}:{},errors:K.errors,name:B};K={...K,...H},Je.state.next(H)}})(st,vt,ue,St))}var mt},O=(B,H)=>{if(WU(K.errors,H)&&B.focus)return B.focus(),1},E=async(B,H={})=>{let ie,ce;const ue=uq(B);if(W.resolver){const H=await(async B=>{const{errors:H}=await y(B);if(B)for(const W of B){const B=WU(H,W);B?GU(K.errors,W,B):bq(K.errors,W)}else K.errors=H;return H})(VU(B)?B:ue);ie=dq(H),ce=B?!ue.some(B=>WU(H,B)):ie}else B?(ce=(await Promise.all(ue.map(async B=>{const H=WU(Y,B);return await b(H&&H._f?{[B]:H}:H)}))).every(Boolean),(ce||K.isValid)&&h()):ce=ie=await b(Y);return Je.state.next({...!oq(B)||(fe.isValid||ke.isValid)&&ie!==K.isValid?{}:{name:B},...W.resolver||!B?{isValid:ie}:{},errors:K.errors}),H.shouldFocus&&!ce&&Dq(Y,O,B?ue:de.mount),ce},T=B=>{const H={...ue.mount?ce:ie};return VU(B)?H:oq(B)?WU(H,B):B.map(B=>WU(H,B))},R=(B,H)=>({invalid:!!WU((H||K).errors,B),isDirty:!!WU((H||K).dirtyFields,B),error:WU((H||K).errors,B),isValidating:!!WU(K.validatingFields,B),isTouched:!!WU((H||K).touchedFields,B)}),I=(B,H,W)=>{const ie=(WU(Y,B,{_f:{}})._f||{}).ref,ce=WU(K.errors,B)||{},{ref:ue,message:de,type:pe,...fe}=ce;GU(K.errors,B,{...fe,...H,ref:ie}),Je.state.next({name:B,errors:K.errors,isValid:!1}),W&&W.shouldFocus&&ie&&ie.focus&&ie.focus()},M=B=>Je.state.subscribe({next:H=>{var W,Y,ue;W=B.name,Y=H.name,ue=B.exact,W&&Y&&W!==Y&&!uq(W).some(B=>B&&(ue?B===Y:B.startsWith(Y)||Y.startsWith(B)))||!((B,H,W,K)=>{W(B);const{name:Y,...ie}=B;return dq(ie)||Object.keys(ie).length>=Object.keys(H).length||Object.keys(ie).find(B=>H[B]===(!K||EU))})(H,B.formState||fe,$,B.reRenderRoot)||B.callback({values:{...ce},...K,...H,defaultValues:ie})}}).unsubscribe,A=(B,H={})=>{for(const ue of B?uq(B):de.mount)de.mount.delete(ue),de.array.delete(ue),H.keepValue||(bq(Y,ue),bq(ce,ue)),!H.keepError&&bq(K.errors,ue),!H.keepDirty&&bq(K.dirtyFields,ue),!H.keepTouched&&bq(K.touchedFields,ue),!H.keepIsValidating&&bq(K.validatingFields,ue),!W.shouldUnregister&&!H.keepDefaultValue&&bq(ie,ue);Je.state.next({values:BU(ce)}),Je.state.next({...K,...H.keepDirty?{isDirty:w()}:{}}),!H.keepIsValid&&h()},P=({disabled:B,name:H})=>{(HU(B)&&ue.mount||B||de.disabled.has(H))&&(B?de.disabled.add(H):de.disabled.delete(H))},N=(B,H={})=>{let K=WU(Y,B);const ce=HU(H.disabled)||HU(W.disabled);return GU(Y,B,{...K||{},_f:{...K&&K._f?K._f:{ref:{name:B}},name:B,mount:!0,...H}}),de.mount.add(B),K?P({disabled:HU(H.disabled)?H.disabled:W.disabled,name:B}):g(B,!0,H.value),{...ce?{disabled:H.disabled||W.disabled}:{},...W.progressive?{required:!!H.required,min:Aq(H.min),max:Aq(H.max),minLength:Aq(H.minLength),maxLength:Aq(H.maxLength),pattern:Aq(H.pattern)}:{},name:B,onChange:C,onBlur:C,ref:ce=>{if(ce){N(B,H),K=WU(Y,B);const W=VU(ce.value)&&ce.querySelectorAll&&ce.querySelectorAll("input,select,textarea")[0]||ce,ue=(B=>vq(B)||AU(B))(W),de=K._f.refs||[];if(ue?de.find(B=>B===W):W===K._f.ref)return;GU(Y,B,{_f:{...K._f,...ue?{refs:[...de.filter(yq),W,...Array.isArray(WU(ie,B))?[{}]:[]],ref:{type:W.type,name:B}}:{ref:W}}}),g(B,!1,void 0,W)}else K=WU(Y,B,{}),K._f&&(K._f.mount=!1),(W.shouldUnregister||H.shouldUnregister)&&(!FU(de.array,B)||!ue.action)&&de.unMount.add(B)}}},j=()=>W.shouldFocusError&&Dq(Y,O,de.mount),L=(B,H)=>async ie=>{let ue;ie&&(ie.preventDefault&&ie.preventDefault(),ie.persist&&ie.persist());let pe=BU(ce);if(Je.state.next({isSubmitting:!0}),W.resolver){const{errors:B,values:H}=await y();K.errors=B,pe=BU(H)}else await b(Y);if(de.disabled.size)for(const B of de.disabled)bq(pe,B);if(bq(K.errors,"root"),dq(K.errors)){Je.state.next({errors:{}});try{await B(pe,ie)}catch(B){ue=B}}else H&&await H({...K.errors},ie),j(),setTimeout(j);if(Je.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:dq(K.errors)&&!ue,submitCount:K.submitCount+1,errors:K.errors}),ue)throw ue},D=(B,H={})=>{const pe=B?BU(B):ie,ke=BU(pe),rt=dq(B),st=rt?ie:ke;if(H.keepDefaultValues||(ie=pe),!H.keepValues){if(H.keepDirtyValues){const B=new Set([...de.mount,...Object.keys(Sq(ie,ce))]);for(const H of Array.from(B))WU(K.dirtyFields,H)?GU(st,H,WU(ce,H)):k(H,WU(st,H))}else{if(SU&&VU(B))for(const B of de.mount){const H=WU(Y,B);if(H&&H._f){const B=Array.isArray(H._f.refs)?H._f.refs[0]:H._f.ref;if(mq(B)){const H=B.closest("form");if(H){H.reset();break}}}}if(H.keepFieldsRef)for(const B of de.mount)k(B,WU(st,B));else Y={}}ce=W.shouldUnregister?H.keepDefaultValues?BU(ie):{}:BU(st),Je.array.next({values:{...st}}),Je.state.next({values:{...st}})}de={mount:H.keepDirtyValues?de.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},ue.mount=!fe.isValid||!!H.keepIsValid||!!H.keepDirtyValues,ue.watch=!!W.shouldUnregister,Je.state.next({submitCount:H.keepSubmitCount?K.submitCount:0,isDirty:!rt&&(H.keepDirty?K.isDirty:!(!H.keepDefaultValues||aq(B,ie))),isSubmitted:!!H.keepIsSubmitted&&K.isSubmitted,dirtyFields:rt?{}:H.keepDirtyValues?H.keepDefaultValues&&ce?Sq(ie,ce):K.dirtyFields:H.keepDefaultValues&&B?Sq(ie,B):H.keepDirty?K.dirtyFields:{},touchedFields:H.keepTouched?K.touchedFields:{},errors:H.keepErrors?K.errors:{},isSubmitSuccessful:!!H.keepIsSubmitSuccessful&&K.isSubmitSuccessful,isSubmitting:!1,defaultValues:ie})},F=(B,H)=>D(hq(B)?B(ce):B,H),$=B=>{K={...K,...B}},st={control:{register:N,unregister:A,getFieldState:R,handleSubmit:L,setError:I,_subscribe:M,_runSchema:y,_focusError:j,_getWatch:x,_getDirty:w,_setValid:h,_setFieldArray:(B,H=[],de,pe,rt=!0,st=!0)=>{if(pe&&de&&!W.disabled){if(ue.action=!0,st&&Array.isArray(WU(Y,B))){const H=de(WU(Y,B),pe.argA,pe.argB);rt&&GU(Y,B,H)}if(st&&Array.isArray(WU(K.errors,B))){const H=de(WU(K.errors,B),pe.argA,pe.argB);rt&&GU(K.errors,B,H),((B,H)=>{!UU(WU(B,H)).length&&bq(B,H)})(K.errors,B)}if((fe.touchedFields||ke.touchedFields)&&st&&Array.isArray(WU(K.touchedFields,B))){const H=de(WU(K.touchedFields,B),pe.argA,pe.argB);rt&&GU(K.touchedFields,B,H)}(fe.dirtyFields||ke.dirtyFields)&&(K.dirtyFields=Sq(ie,ce)),Je.state.next({name:B,isDirty:w(B,H),dirtyFields:K.dirtyFields,errors:K.errors,isValid:K.isValid})}else GU(ce,B,H)},_setDisabledField:P,_setErrors:B=>{K.errors=B,Je.state.next({errors:K.errors,isValid:!1})},_getFieldArray:B=>UU(WU(ue.mount?ce:ie,B,W.shouldUnregister?WU(ie,B,[]):[])),_reset:D,_resetDefaultValues:()=>hq(W.defaultValues)&&W.defaultValues().then(B=>{F(B,W.resetOptions),Je.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(const B of de.unMount){const H=WU(Y,B);H&&(H._f.refs?H._f.refs.every(B=>!yq(B)):!yq(H._f.ref))&&A(B)}de.unMount=new Set},_disableForm:B=>{HU(B)&&(Je.state.next({disabled:B}),Dq(Y,(H,W)=>{const K=WU(Y,W);K&&(H.disabled=K._f.disabled||B,Array.isArray(K._f.refs)&&K._f.refs.forEach(H=>{H.disabled=K._f.disabled||B}))},0,!1))},_subjects:Je,_proxyFormState:fe,get _fields(){return Y},get _formValues(){return ce},get _state(){return ue},set _state(B){ue=B},get _defaultValues(){return ie},get _names(){return de},set _names(B){de=B},get _formState(){return K},get _options(){return W},set _options(B){W={...W,...B}}},subscribe:B=>(ue.mount=!0,ke={...ke,...B.formState},M({...B,formState:ke})),trigger:E,register:N,handleSubmit:L,watch:(B,H)=>hq(B)?Je.state.subscribe({next:W=>"values"in W&&B(x(void 0,H),W)}):x(B,H,!0),setValue:k,getValues:T,reset:F,resetField:(B,H={})=>{WU(Y,B)&&(VU(H.defaultValue)?k(B,BU(WU(ie,B))):(k(B,H.defaultValue),GU(ie,B,BU(H.defaultValue))),H.keepTouched||bq(K.touchedFields,B),H.keepDirty||(bq(K.dirtyFields,B),K.isDirty=H.defaultValue?w(B,BU(WU(ie,B))):w()),H.keepError||(bq(K.errors,B),fe.isValid&&h()),Je.state.next({...K}))},clearErrors:B=>{B&&uq(B).forEach(B=>bq(K.errors,B)),Je.state.next({errors:B?K.errors:{}})},unregister:A,setError:I,setFocus:(B,H={})=>{const W=WU(Y,B),K=W&&W._f;if(K){const B=K.refs?K.refs[0]:K.ref;B.focus&&(B.focus(),H.shouldSelect&&hq(B.select)&&B.select())}},getFieldState:R};return{...st,formControl:st}}(B);H.current={...Y,formState:K}}const ce=H.current.control;return ce._options=B,$U(()=>{const B=ce._subscribe({formState:ce._proxyFormState,callback:()=>ie({...ce._formState}),reRenderRoot:!0});return ie(B=>({...B,isReady:!0})),ce._formState.isReady=!0,B},[ce]),Y.useEffect(()=>ce._disableForm(B.disabled),[ce,B.disabled]),Y.useEffect(()=>{B.mode&&(ce._options.mode=B.mode),B.reValidateMode&&(ce._options.reValidateMode=B.reValidateMode)},[ce,B.mode,B.reValidateMode]),Y.useEffect(()=>{B.errors&&(ce._setErrors(B.errors),ce._focusError())},[ce,B.errors]),Y.useEffect(()=>{B.shouldUnregister&&ce._subjects.state.next({values:ce._getWatch()})},[ce,B.shouldUnregister]),Y.useEffect(()=>{if(ce._proxyFormState.isDirty){const B=ce._getDirty();B!==K.isDirty&&ce._subjects.state.next({isDirty:B})}},[ce,K.isDirty]),Y.useEffect(()=>{B.values&&!aq(B.values,W.current)?(ce._reset(B.values,{keepFieldsRef:!0,...ce._options.resetOptions}),W.current=B.values,ie(B=>({...B}))):ce._resetDefaultValues()},[ce,B.values]),Y.useEffect(()=>{ce._state.mount||(ce._setValid(),ce._state.mount=!0),ce._state.watch&&(ce._state.watch=!1,ce._subjects.state.next({...ce._formState})),ce._removeUnmounted()}),H.current.formState=rq(K,ce),H.current}({defaultValues:{product:"",subject:"",title:"",description:""},mode:"onChange"}),{mutateAsync:ke,isPending:Je}=Py({mutationFn:B=>Ux.sendFeedback(B)}),{data:rt}=Ay({queryKey:["countryCode"],queryFn:()=>Wx.getCountryCode(),staleTime:1/0,gcTime:1/0}),[st,at]=Y.useState(null),lt=Y.useMemo(()=>[{label:ie("dialog.products.general"),value:"GENERAL"},{label:ie("dialog.products.editor"),value:"EDITOR"},{label:ie("dialog.products.imageOptimization"),value:"IO"},{label:ie("dialog.products.accessibility"),value:"ALLY"},{label:ie("dialog.products.emailDeliverability"),value:"SM"},{label:ie("dialog.products.siteManagement"),value:"MANAGE"},{label:ie("dialog.products.cookieConsent"),value:"COOKIEZ"}],[ie]),pt=Y.useMemo(()=>[{label:ie("dialog.subjects.leaveFeedback"),value:ie("dialog.subjects.leaveFeedback",{lng:CK.EN})},{label:ie("dialog.subjects.reportBug"),value:ie("dialog.subjects.reportBug",{lng:CK.EN})},{label:ie("dialog.subjects.requestFeature"),value:ie("dialog.subjects.requestFeature",{lng:CK.EN})},{label:ie("dialog.subjects.shareThoughts"),value:ie("dialog.subjects.shareThoughts",{lng:CK.EN})}],[ie]),y=()=>{pe(),H()};return K.jsxs(Jc,{colorScheme:W,children:[K.jsxs(dH,{onClose:y,open:B,maxWidth:"sm",fullWidth:!0,"data-test":"send-feedback-dialog",children:[K.jsx(PV,{logo:!1,onClose:y,children:K.jsx(rV,{color:"text.primary",variant:"subtitle1",children:ie("dialog.title")})}),K.jsxs(eB,{component:"form",onSubmit:de(B=>{ke({...B,countryCode:rt},{onSuccess:()=>{y(),at({type:"success",message:ie("tooltipSuccess")})},onError:()=>{at({type:"error",message:ie("tooltipError")})}})}),children:[K.jsx(_H,{sx:{px:3},dividers:!0,children:K.jsxs(na,{gap:2,children:[K.jsx(lq,{name:"product",control:ue,render:({field:{onChange:B,value:H}})=>K.jsx(CG,{multiple:!1,options:lt,value:lt.find(B=>B.value===H)||null,onChange:(H,W)=>B(W?.value||""),renderInput:B=>K.jsx(oX,{"data-test":"product-send-feedback-input",...B,isWrapped:!0,placeholder:ie("dialog.fieldProductPlaceholder"),color:"secondary"})})}),K.jsx(lq,{name:"subject",control:ue,render:({field:{onChange:B,value:H}})=>K.jsx(CG,{multiple:!1,options:pt,value:pt.find(B=>B.value===H)||null,onChange:(H,W)=>B(W?.value||""),renderInput:B=>K.jsx(oX,{"data-test":"subject-send-feedback-input",...B,isWrapped:!0,placeholder:ie("dialog.fieldSubjectPlaceholder"),color:"secondary"})})}),K.jsx(lq,{name:"title",control:ue,rules:{required:!0,maxLength:{value:90,message:ie("dialog.titleLengthError")}},render:({field:B,fieldState:H})=>K.jsx(lV,{fullWidth:!0,children:K.jsx(oX,{...B,fullWidth:!0,placeholder:ie("dialog.fieldTitlePlaceholder"),"data-test":"title-send-feedback-input",error:Boolean(H.error),helperText:H.error?.message,required:!0,sx:{"& .MuiInputBase-root":{minHeight:56}},color:"secondary"})})}),K.jsx(lq,{name:"description",control:ue,rules:{required:!0,maxLength:{value:1024,message:ie("dialog.descriptionLengthError")}},render:({field:B,fieldState:H})=>K.jsx(lV,{fullWidth:!0,children:K.jsx(oX,{...B,multiline:!0,rows:5,fullWidth:!0,noPadding:!0,placeholder:ie("dialog.fieldDescriptionPlaceholder"),"data-test":"description-send-feedback-input",error:Boolean(H.error),helperText:H.error?.message,required:!0,color:"secondary"})})}),K.jsx(aX,{severity:"info",action:K.jsx(mX,{href:ce,target:"_blank",color:"info",children:ie("dialog.alert.button")}),children:ie("dialog.alert.title")}),K.jsxs(na,{direction:"row",gap:1,children:[K.jsx(wa,{sx:{ml:.5},variant:"body2",color:"text.primary",children:"• "}),K.jsx(wa,{variant:"body2",color:"text.primary",children:ie("dialog.note")})]})]})}),K.jsxs(VH,{sx:{px:3,py:2,gap:1},children:[K.jsx(pd,{variant:"text",color:"secondary",onClick:y,"data-test":"cancel-send-feedback-modal",children:ie("dialog.cancel")}),K.jsx(pd,{type:"submit",variant:"contained",loading:Je,"data-test":"submit-feedback-button",disabled:!fe||Je,children:ie("dialog.submit")})]})]})]}),K.jsx(FX,{open:Boolean(st),autoHideDuration:5e3,onClose:()=>at(null),anchorOrigin:{vertical:"bottom",horizontal:"right"},children:K.jsx(aX,{onClose:()=>at(null),severity:st?.type,variant:"filled",children:st?.message})})]})},OK="action_type",EK="app_context",cX=B=>K.jsx(ou,{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",...B,children:K.jsx("path",{d:"M12.1207 0C5.42401 0 0 5.37 0 12C0 18.63 5.42401 24 12.1207 24C18.8174 24 24.2414 18.63 24.2414 12C24.2414 5.37 18.8174 0 12.1207 0ZM8.48448 18H6.06034V6H8.48448V18ZM18.181 18H10.9086V15.6H18.181V18ZM18.181 13.2H10.9086V10.8H18.181V13.2ZM18.181 8.4H10.9086V6H18.181V8.4Z",fill:"white"})});var RK,MK={exports:{}};const IK=l(function dX(){return RK||(RK=1,function(B,H){var W;function n(B,H){var W=[],K=0;function o(B){return W.push(B),H}function i(){return W[K++]}return{tokenize:function(H){return H.replace(B,o)},detokenize:function(B){return B.replace(new RegExp("("+H+")","g"),i)}}}W=new function(){var B="`TMP`",H="`COMMENT`",W="[^\\u0020-\\u007e]",K="(?:[0-9]*\\.[0-9]+|[0-9]+)",Y="(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)",ie="direction\\s*:\\s*",ce="['\"]?\\s*",ue="(^|[^a-zA-Z])",de="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",pe="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",fe="(?:[_a-z0-9-]|"+W+"|"+pe+")",ke=K+"(?:\\s*"+Y+"|-?(?:[_a-z]|"+W+"|"+pe+")"+fe+"*)?",Je="((?:-?"+ke+")|(?:inherit|auto))",rt="((?:-?"+ke+")|(?:inherit|auto)|(?:calc\\((?:(?:(?:\\(|\\)|\\t| )|(?:-?"+K+"(?:\\s*"+Y+")?)|(?:\\+|\\-|\\*|\\/)){3,})\\)))",st="(#?"+fe+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",at="(?:[!#$%&*-~]|"+W+"|"+pe+")*?",lt="(?![a-zA-Z])",pt="(?!("+fe+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+H+")*?{)",ht="(?!"+at+ce+"\\))",mt="(?="+at+ce+"\\))",vt="(\\s*(?:!important\\s*)?[;}])",yt=/`TMP`/g,bt=/`TMPLTR`/g,wt=/`TMPRTL`/g,xt=new RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),St=new RegExp("("+de+pt+"[^;}]+;?)","gi"),kt=new RegExp("("+de+"[^\\}]*?})","gi"),Et=new RegExp("("+ie+")ltr","gi"),At=new RegExp("("+ie+")rtl","gi"),Pt=new RegExp(ue+"(left)"+lt+ht+pt,"gi"),Lt=new RegExp(ue+"(right)"+lt+ht+pt,"gi"),jt=new RegExp(ue+"(left)"+mt,"gi"),Ft=new RegExp(ue+"(right)"+mt,"gi"),Nt=/(:dir\( *)ltr( *\))/g,Dt=/(:dir\( *)rtl( *\))/g,$t=new RegExp(ue+"(ltr)"+mt,"gi"),zt=new RegExp(ue+"(rtl)"+mt,"gi"),Bt=new RegExp(ue+"([ns]?)e-resize","gi"),Vt=new RegExp(ue+"([ns]?)w-resize","gi"),Xt=new RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+rt+"(\\s+)"+rt+"(\\s+)"+rt+"(\\s+)"+rt+vt,"gi"),Jt=new RegExp("((?:-color|border-style)\\s*:\\s*)"+st+"(\\s+)"+st+"(\\s+)"+st+"(\\s+)"+st+vt,"gi"),Qt=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+ke+")","gi"),er=new RegExp("(background-position-x\\s*:\\s*)(-?"+K+"%)","gi"),tr=new RegExp("(border-radius\\s*:\\s*)"+Je+"(?:(?:\\s+"+Je+")(?:\\s+"+Je+")?(?:\\s+"+Je+")?)?(?:(?:(?:\\s*\\/\\s*)"+Je+")(?:\\s+"+Je+")?(?:\\s+"+Je+")?(?:\\s+"+Je+")?)?"+vt,"gi"),rr=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+Je,"gi"),Er=new RegExp("(text-shadow\\s*:\\s*)"+Je+"(\\s*)"+st,"gi"),Mr=new RegExp("(text-shadow\\s*:\\s*)"+st+"(\\s*)"+Je,"gi"),Ar=new RegExp("(text-shadow\\s*:\\s*)"+Je,"gi"),Fr=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+Je+"(\\s*\\))","gi"),Dr=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+Je+"((?:\\s*,\\s*"+Je+"){0,2}\\s*\\))","gi");function X(B,H,W){var K,Y;return"%"===W.slice(-1)&&(-1!==(K=W.indexOf("."))?(Y=W.length-K-2,W=(W=100-parseFloat(W)).toFixed(Y)+"%"):W=100-parseFloat(W)+"%"),H+W}function J(B){switch(B.length){case 4:B=[B[1],B[0],B[3],B[2]];break;case 3:B=[B[1],B[0],B[1],B[2]];break;case 2:B=[B[1],B[0]];break;case 1:B=[B[0]]}return B.join(" ")}function Q(B,H){var W=[].slice.call(arguments),K=W.slice(2,6).filter(function(B){return B}),Y=W.slice(6,10).filter(function(B){return B}),ie=W[10]||"";return H+(Y.length?J(K)+" / "+J(Y):J(K))+ie}function ee(B){return 0===parseFloat(B)?B:"-"===B[0]?B.slice(1):"-"+B}function te(B,H,W){return H+ee(W)}function re(B,H,W,K,Y){return H+W+ee(K)+Y}function ne(B,H,W,K,Y){return H+W+K+ee(Y)}return{transform:function(W,K){var Y=new n(St,"`NOFLIP_SINGLE`"),ie=new n(kt,"`NOFLIP_CLASS`"),ce=new n(xt,H);return W=ce.tokenize(ie.tokenize(Y.tokenize(W.replace("`","%60")))),K.transformDirInUrl&&(W=W.replace(Nt,"$1`TMPLTR`$2").replace(Dt,"$1`TMPRTL`$2").replace($t,"$1"+B).replace(zt,"$1ltr").replace(yt,"rtl").replace(bt,"ltr").replace(wt,"rtl")),K.transformEdgeInUrl&&(W=W.replace(jt,"$1"+B).replace(Ft,"$1left").replace(yt,"right")),W=W.replace(Et,"$1"+B).replace(At,"$1ltr").replace(yt,"rtl").replace(Pt,"$1"+B).replace(Lt,"$1left").replace(yt,"right").replace(Bt,"$1$2"+B).replace(Vt,"$1$2e-resize").replace(yt,"w-resize").replace(tr,Q).replace(rr,te).replace(Er,ne).replace(Mr,ne).replace(Ar,te).replace(Fr,re).replace(Dr,re).replace(Xt,"$1$2$3$8$5$6$7$4$9").replace(Jt,"$1$2$3$8$5$6$7$4$9").replace(Qt,X).replace(er,X),Y.detokenize(ie.detokenize(ce.detokenize(W)))}}},B.exports?H.transform=function(B,H,K){var Y;return"object"==typeof H?Y=H:(Y={},"boolean"==typeof H&&(Y.transformDirInUrl=H),"boolean"==typeof K&&(Y.transformEdgeInUrl=K)),W.transform(B,Y)}:"undefined"!=typeof window&&(window.cssjanus=W)}(MK,MK.exports)),MK.exports}());var AK="-ms-",TK="-moz-",PK="-webkit-",LK="comm",jK="rule",FK="decl",NK="@keyframes",DK=Math.abs,$K=String.fromCharCode,BK=Object.assign;function kX(B){return B.trim()}function CX(B,H){return(B=H.exec(B))?B[0]:B}function OX(B,H,W){return B.replace(H,W)}function EX(B,H){return B.indexOf(H)}function TX(B,H){return 0|B.charCodeAt(H)}function RX(B,H,W){return B.slice(H,W)}function IX(B){return B.length}function MX(B){return B.length}function AX(B,H){return H.push(B),B}var UK=1,HK=1,qK=0,WK=0,GK=0,XK="";function $X(B,H,W,K,Y,ie,ce){return{value:B,root:H,parent:W,type:K,props:Y,children:ie,line:UK,column:HK,length:ce,return:""}}function BX(B,H){return BK($X("",null,null,"",null,null,0),B,{length:-B.length},H)}function zX(){return GK=WK>0?TX(XK,--WK):0,HK--,10===GK&&(HK=1,UK--),GK}function VX(){return GK=WK<qK?TX(XK,WK++):0,HK++,10===GK&&(HK=1,UK++),GK}function UX(){return TX(XK,WK)}function qX(){return WK}function WX(B,H){return RX(XK,B,H)}function HX(B){switch(B){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 GX(B){return kX(WX(WK-1,ZX(91===B?B+2:40===B?B+1:B)))}function KX(B){for(;(GK=UX())&&GK<33;)VX();return HX(B)>2||HX(GK)>3?"":" "}function YX(B,H){for(;--H&&VX()&&!(GK<48||GK>102||GK>57&&GK<65||GK>70&&GK<97););return WX(B,qX()+(H<6&&32==UX()&&32==VX()))}function ZX(B){for(;VX();)switch(GK){case B:return WK;case 34:case 39:34!==B&&39!==B&&ZX(GK);break;case 40:41===B&&ZX(B);break;case 92:VX()}return WK}function XX(B,H){for(;VX()&&B+GK!==57&&(B+GK!==84||47!==UX()););return"/*"+WX(H,WK-1)+"*"+$K(47===B?B:VX())}function JX(B){for(;!HX(UX());)VX();return WX(B,WK)}function QX(B){return function(B){return XK="",B}(eJ("",null,null,null,[""],B=function(B){return UK=HK=1,qK=IX(XK=B),WK=0,[]}(B),0,[0],B))}function eJ(B,H,W,K,Y,ie,ce,ue,de){for(var pe=0,fe=0,ke=ce,Je=0,rt=0,st=0,at=1,lt=1,pt=1,ht=0,mt="",vt=Y,yt=ie,bt=K,wt=mt;lt;)switch(st=ht,ht=VX()){case 40:if(108!=st&&58==TX(wt,ke-1)){-1!=EX(wt+=OX(GX(ht),"&","&\f"),"&\f")&&(pt=-1);break}case 34:case 39:case 91:wt+=GX(ht);break;case 9:case 10:case 13:case 32:wt+=KX(st);break;case 92:wt+=YX(qX()-1,7);continue;case 47:switch(UX()){case 42:case 47:AX(rJ(XX(VX(),qX()),H,W),de);break;default:wt+="/"}break;case 123*at:ue[pe++]=IX(wt)*pt;case 125*at:case 59:case 0:switch(ht){case 0:case 125:lt=0;case 59+fe:rt>0&&IX(wt)-ke&&AX(rt>32?nJ(wt+";",K,W,ke-1):nJ(OX(wt," ","")+";",K,W,ke-2),de);break;case 59:wt+=";";default:if(AX(bt=tJ(wt,H,W,pe,fe,Y,ue,mt,vt=[],yt=[],ke),ie),123===ht)if(0===fe)eJ(wt,H,bt,bt,vt,ie,ke,ue,yt);else switch(99===Je&&110===TX(wt,3)?100:Je){case 100:case 109:case 115:eJ(B,bt,bt,K&&AX(tJ(B,bt,bt,0,0,Y,ue,mt,Y,vt=[],ke),yt),Y,yt,ke,ue,K?vt:yt);break;default:eJ(wt,bt,bt,bt,[""],yt,0,ue,yt)}}pe=fe=rt=0,at=pt=1,mt=wt="",ke=ce;break;case 58:ke=1+IX(wt),rt=st;default:if(at<1)if(123==ht)--at;else if(125==ht&&0==at++&&125==zX())continue;switch(wt+=$K(ht),ht*at){case 38:pt=fe>0?1:(wt+="\f",-1);break;case 44:ue[pe++]=(IX(wt)-1)*pt,pt=1;break;case 64:45===UX()&&(wt+=GX(VX())),Je=UX(),fe=ke=IX(mt=wt+=JX(qX())),ht++;break;case 45:45===st&&2==IX(wt)&&(at=0)}}return ie}function tJ(B,H,W,K,Y,ie,ce,ue,de,pe,fe){for(var ke=Y-1,Je=0===Y?ie:[""],rt=MX(Je),st=0,at=0,lt=0;st<K;++st)for(var pt=0,ht=RX(B,ke+1,ke=DK(at=ce[st])),mt=B;pt<rt;++pt)(mt=kX(at>0?Je[pt]+" "+ht:OX(ht,/&\f/g,Je[pt])))&&(de[lt++]=mt);return $X(B,H,W,0===Y?jK:ue,de,pe,fe)}function rJ(B,H,W){return $X(B,H,W,LK,$K(GK),RX(B,2,-2),0)}function nJ(B,H,W,K){return $X(B,H,W,FK,RX(B,0,K),RX(B,K+1,-1),K)}function oJ(B,H,W){switch(function(B,H){return 45^TX(B,0)?(((H<<2^TX(B,0))<<2^TX(B,1))<<2^TX(B,2))<<2^TX(B,3):0}(B,H)){case 5103:return PK+"print-"+B+B;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 PK+B+B;case 4789:return TK+B+B;case 5349:case 4246:case 4810:case 6968:case 2756:return PK+B+TK+B+AK+B+B;case 5936:switch(TX(B,H+11)){case 114:return PK+B+AK+OX(B,/[svh]\w+-[tblr]{2}/,"tb")+B;case 108:return PK+B+AK+OX(B,/[svh]\w+-[tblr]{2}/,"tb-rl")+B;case 45:return PK+B+AK+OX(B,/[svh]\w+-[tblr]{2}/,"lr")+B}case 6828:case 4268:case 2903:return PK+B+AK+B+B;case 6165:return PK+B+AK+"flex-"+B+B;case 5187:return PK+B+OX(B,/(\w+).+(:[^]+)/,PK+"box-$1$2"+AK+"flex-$1$2")+B;case 5443:return PK+B+AK+"flex-item-"+OX(B,/flex-|-self/g,"")+(CX(B,/flex-|baseline/)?"":AK+"grid-row-"+OX(B,/flex-|-self/g,""))+B;case 4675:return PK+B+AK+"flex-line-pack"+OX(B,/align-content|flex-|-self/g,"")+B;case 5548:return PK+B+AK+OX(B,"shrink","negative")+B;case 5292:return PK+B+AK+OX(B,"basis","preferred-size")+B;case 6060:return PK+"box-"+OX(B,"-grow","")+PK+B+AK+OX(B,"grow","positive")+B;case 4554:return PK+OX(B,/([^-])(transform)/g,"$1"+PK+"$2")+B;case 6187:return OX(OX(OX(B,/(zoom-|grab)/,PK+"$1"),/(image-set)/,PK+"$1"),B,"")+B;case 5495:case 3959:return OX(B,/(image-set\([^]*)/,PK+"$1$`$1");case 4968:return OX(OX(B,/(.+:)(flex-)?(.*)/,PK+"box-pack:$3"+AK+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+PK+B+B;case 4200:if(!CX(B,/flex-|baseline/))return AK+"grid-column-align"+RX(B,H)+B;break;case 2592:case 3360:return AK+OX(B,"template-","")+B;case 4384:case 3616:return W&&W.some(function(B,W){return H=W,CX(B.props,/grid-\w+-end/)})?~EX(B+(W=W[H].value),"span")?B:AK+OX(B,"-start","")+B+AK+"grid-row-span:"+(~EX(W,"span")?CX(W,/\d+/):+CX(W,/\d+/)-+CX(B,/\d+/))+";":AK+OX(B,"-start","")+B;case 4896:case 4128:return W&&W.some(function(B){return CX(B.props,/grid-\w+-start/)})?B:AK+OX(OX(B,"-end","-span"),"span ","")+B;case 4095:case 3583:case 4068:case 2532:return OX(B,/(.+)-inline(.+)/,PK+"$1$2")+B;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(IX(B)-1-H>6)switch(TX(B,H+1)){case 109:if(45!==TX(B,H+4))break;case 102:return OX(B,/(.+:)(.+)-([^]+)/,"$1"+PK+"$2-$3$1"+TK+(108==TX(B,H+3)?"$3":"$2-$3"))+B;case 115:return~EX(B,"stretch")?oJ(OX(B,"stretch","fill-available"),H,W)+B:B}break;case 5152:case 5920:return OX(B,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(H,W,K,Y,ie,ce,ue){return AK+W+":"+K+ue+(Y?AK+W+"-span:"+(ie?ce:+ce-+K)+ue:"")+B});case 4949:if(121===TX(B,H+6))return OX(B,":",":"+PK)+B;break;case 6444:switch(TX(B,45===TX(B,14)?18:11)){case 120:return OX(B,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+PK+(45===TX(B,14)?"inline-":"")+"box$3$1"+PK+"$2$3$1"+AK+"$2box$3")+B;case 100:return OX(B,":",":"+AK)+B}break;case 5719:case 2647:case 2135:case 3927:case 2391:return OX(B,"scroll-","scroll-snap-")+B}return B}function iJ(B,H){for(var W="",K=MX(B),Y=0;Y<K;Y++)W+=H(B[Y],Y,B,H)||"";return W}function sJ(B,H,W){switch(B.type){case"@import":case FK:case LK:return B.return=B.return||B.value;case jK:B.value=Array.isArray(B.props)?B.props.join(","):B.props,Array.isArray(B.children)&&B.children.forEach(function(B){B.type===LK&&(B.children=B.value)})}var K=iJ(Array.prototype.concat(B.children),sJ);return IX(K)?B.return=B.value+"{"+K+"}":""}function aJ(B,H,W,K){if(B.type===NK||"@supports"===B.type||B.type===jK&&(!B.parent||"@media"===B.parent.type||B.parent.type===jK)){var Y=IK.transform(sJ(B));B.children=Y?QX(Y)[0].children:[],B.return=""}}Object.defineProperty(aJ,"name",{value:"stylisRTLPlugin"});const ZK=nt({key:Ll,stylisPlugins:[function(B,H,W,K){if(B.length>-1&&!B.return)switch(B.type){case FK:return void(B.return=oJ(B.value,B.length,W));case NK:return iJ([BX(B,{value:OX(B.value,"@","@"+PK)})],K);case jK:if(B.length)return function(B,H){return B.map(H).join("")}(B.props,function(H){switch(CX(H,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return iJ([BX(B,{props:[OX(H,/:(read-\w+)/,":-moz-$1")]})],K);case"::placeholder":return iJ([BX(B,{props:[OX(H,/:(plac\w+)/,":"+PK+"input-$1")]}),BX(B,{props:[OX(H,/:(plac\w+)/,":-moz-$1")]}),BX(B,{props:[OX(H,/:(plac\w+)/,AK+"input-$1")]})],K)}return""})}},aJ]}),KK=nt({key:"eui"});var uJ=({rtl:B,children:H})=>Y.createElement(Gr,{value:B?ZK:KK},H);H.ElementorOneAssetsContext=Y$,H.ElementorOneAssetsProvider=({env:B,language:H="en",isRTL:W=!1,children:ie})=>{const ce=Y.useMemo(()=>(B=>Nv[B])(B),[B]),ue=Y.useMemo(()=>({config:ce,isRTL:W}),[ce,W]);return Y.useEffect(()=>{kf.changeLanguage(H)},[H]),Y.useEffect(()=>{Gw.initialize(ce)},[ce]),Y.useEffect(()=>{window.elementorOneSettingsData?.shareUsageData&&X$.initialize("150605b3b9f979922f2ac5a52e2dcfe9",B)},[B]),K.jsx(Ty,{client:K$,children:K.jsx(Y$.Provider,{value:ue,children:ie})})},H.ElementorOneHeader=({appSettings:B,colorScheme:H="dark",title:W,multiDelpoymentSlot:ie,isWithinWpAdmin:ce=!0,containerSx:ue={},onDisconnect:de})=>{const{t:pe}=Bd("common",{i18n:kf}),fe=(B=>{switch(B){case"image-optimizer":return"https://go.elementor.com/one-help-center-io/";case"ally":return"https://go.elementor.com/one-help-center-ally/";case"elementor-pro":case"elementor":return"https://go.elementor.com/one-help-center-editor/";case"site-mailer":return"https://go.elementor.com/one-help-center-sm/";case"angie":return"https://go.elementor.com/one-help-center-angie/";case"cookiez":return"https://go.elementor.com/cookiez-help-center/";default:return"https://go.elementor.com/one-help-center/"}})(B.slug),[ke,Je]=Y.useState(!1),rt=pz(),st=(()=>{const B=Y.useContext(Y$);if(!B)throw new Error("Wrap your component in <ElementorOneAssetsProvider> to access RTL orientation");return B.isRTL})(),at=Y.useRef(!1),lt=window.elementorOneSettingsData?.canUserManageOptions??!1,pt=window.elementorOneSettingsData?.shareUsageData??!1,{data:ht}=sz({enabled:lt});Y.useEffect(()=>{if(pt&&!at.current){const{appType:H,productName:W}=(B=>{switch(B){case"elementor":case"elementor-pro":return{appType:"Editor"};case"elementor-home":default:return{appType:"Infra"};case"ally":return{appType:"Apps",productName:"app_access"};case"image-optimization":return{appType:"Apps",productName:"app_io"};case"site-mailer":return{appType:"Apps",productName:"app_mailer"};case"angie":return{appType:"Apps",productName:"app_ai"};case"cookiez":return{appType:"Apps",productName:"app_cookie"}}})(B.slug),K={appType:H};W&&(K.productName=W),X$.registerOnce(K),at.current=!0}},[B.slug,pt]);const b=H=>{pt&&X$.track("top_bar_clicked",{[OK]:H,[EK]:B.slug})};return K.jsx(uJ,{rtl:st,children:K.jsxs(Jc,{colorScheme:H,children:[K.jsx(Zs,{sx:{top:0,...ue,position:"sticky",zIndex:1100},children:K.jsx(ua,{sx:{pl:"30px !important",backgroundColor:"background.paper"},variant:"dense",children:K.jsxs(na,{direction:"row",justifyContent:"space-between",width:"100%",children:[K.jsxs(na,{direction:"row",alignItems:"center",gap:1,flexWrap:"nowrap",children:[K.jsx(cX,{}),!rt&&K.jsx(wa,{variant:"button",fontSize:"20px",fontWeight:400,whiteSpace:"nowrap",children:W||pe("header.title")})]}),K.jsxs(na,{direction:"row",alignItems:"center",gap:1,children:[ht?.isConnected&&K.jsx(Qc,{size:"small",onClick:()=>{b("feedback"),Je(!0)},"data-test":"header-feedback-button",children:K.jsx(iu,{fontSize:"small"})}),K.jsx(MU,{appSettings:B,onClick:()=>b("whats_new"),containerSx:{"& .MuiDrawer-paper":{width:320,padding:3,...ce?{top:32,height:"calc(100vh - 32px)","@media (max-width: 784px)":{top:46,height:"calc(100vh - 46px)"}}:{}}}}),fe&&K.jsx(Qc,{size:"small",href:fe,target:"_blank",onClick:()=>b("help"),"data-test":"header-help-button",children:K.jsx(su,{fontSize:"small"})}),ie,lt&&K.jsxs(K.Fragment,{children:[K.jsx(gu,{orientation:"vertical",flexItem:!0,sx:{my:1,mx:1}}),K.jsx(zz,{onDisconnect:de,onClick:()=>b("account"),onConnectClick:()=>b("connect")})]})]})]})})}),K.jsx(sX,{open:ke,onClose:()=>Je(!1)})]})})},H.SendFeedbackDialog=sX,H.WhatsNew=MU},39148:(B,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.default=function isRTL(){var B,H;return null!==(B=null===(H=elementorCommon)||void 0===H||null===(H=H.config)||void 0===H?void 0:H.isRTL)&&void 0!==B&&B}},41594:B=>{"use strict";B.exports=React},46906:(B,H,W)=>{var K={"./de/assets-whatsnew.json":[17163,7163],"./de/common.json":[87753,7753],"./de/send-feedback.json":[49598,9598],"./en/assets-whatsnew.json":[10547,547],"./en/common.json":[79681,9681],"./en/send-feedback.json":[69926,9926],"./es/assets-whatsnew.json":[41e3,1e3],"./es/common.json":[50016,16],"./es/send-feedback.json":[49213,9213],"./fr/assets-whatsnew.json":[36308,6308],"./fr/common.json":[43132,3132],"./fr/send-feedback.json":[93577,3577],"./he-IL/assets-whatsnew.json":[49995,9995],"./he-IL/common.json":[809,809],"./he-IL/send-feedback.json":[70494,494],"./id-ID/assets-whatsnew.json":[65793,5793],"./id-ID/common.json":[44095,4095],"./id-ID/send-feedback.json":[36488,6488],"./it/assets-whatsnew.json":[1017,1017],"./it/common.json":[29415,9415],"./it/send-feedback.json":[65216,5216],"./nl/assets-whatsnew.json":[13794,3794],"./nl/common.json":[11418,1418],"./nl/send-feedback.json":[71419,1419],"./pl-PL/assets-whatsnew.json":[44647,4647],"./pl-PL/common.json":[97125,7125],"./pl-PL/send-feedback.json":[7354,7354],"./pt-BR/assets-whatsnew.json":[15915,5915],"./pt-BR/common.json":[37385,7385],"./pt-BR/send-feedback.json":[42590,2590],"./pt-PT/assets-whatsnew.json":[76583,6583],"./pt-PT/common.json":[18437,8437],"./pt-PT/send-feedback.json":[41434,1434],"./tr-TR/assets-whatsnew.json":[27459,7459],"./tr-TR/common.json":[29937,9937],"./tr-TR/send-feedback.json":[14006,4006]};function webpackAsyncContext(B){if(!W.o(K,B))return Promise.resolve().then(()=>{var H=new Error("Cannot find module '"+B+"'");throw H.code="MODULE_NOT_FOUND",H});var H=K[B],Y=H[0];return W.e(H[1]).then(()=>W.t(Y,19))}webpackAsyncContext.keys=()=>Object.keys(K),webpackAsyncContext.id=46906,B.exports=webpackAsyncContext},62540:(B,H,W)=>{"use strict";B.exports=W(2192)},75206:B=>{"use strict";B.exports=ReactDOM},91003:(B,H,W)=>{"use strict";W.r(H),W.d(H,{Children:()=>K.Children,Component:()=>K.Component,Fragment:()=>K.Fragment,Platform:()=>ke,PureComponent:()=>K.PureComponent,RawHTML:()=>RawHTML,StrictMode:()=>K.StrictMode,Suspense:()=>K.Suspense,cloneElement:()=>K.cloneElement,concatChildren:()=>concatChildren,createContext:()=>K.createContext,createElement:()=>K.createElement,createInterpolateElement:()=>create_interpolate_element,createPortal:()=>pe.createPortal,createRef:()=>K.createRef,createRoot:()=>fe.createRoot,findDOMNode:()=>pe.findDOMNode,flushSync:()=>pe.flushSync,forwardRef:()=>K.forwardRef,hydrate:()=>pe.hydrate,hydrateRoot:()=>fe.hydrateRoot,isEmptyElement:()=>isEmptyElement,isValidElement:()=>K.isValidElement,lazy:()=>K.lazy,memo:()=>K.memo,render:()=>pe.render,renderToString:()=>kt,startTransition:()=>K.startTransition,switchChildrenNodeName:()=>switchChildrenNodeName,unmountComponentAtNode:()=>pe.unmountComponentAtNode,useCallback:()=>K.useCallback,useContext:()=>K.useContext,useDebugValue:()=>K.useDebugValue,useDeferredValue:()=>K.useDeferredValue,useEffect:()=>K.useEffect,useId:()=>K.useId,useImperativeHandle:()=>K.useImperativeHandle,useInsertionEffect:()=>K.useInsertionEffect,useLayoutEffect:()=>K.useLayoutEffect,useMemo:()=>K.useMemo,useReducer:()=>K.useReducer,useRef:()=>K.useRef,useState:()=>K.useState,useSyncExternalStore:()=>K.useSyncExternalStore,useTransition:()=>K.useTransition});var K=W(41594);let Y,ie,ce,ue;const de=/<(\/)?(\w+)\s*(\/)?>/g;function createFrame(B,H,W,K,Y){return{element:B,tokenStart:H,tokenLength:W,prevOffset:K,leadingTextStart:Y,children:[]}}const isValidConversionMap=B=>{const H="object"==typeof B,W=H&&Object.values(B);return H&&W.length&&W.every(B=>(0,K.isValidElement)(B))};function proceed(B){const H=function nextToken(){const B=de.exec(Y);if(null===B)return["no-more-tokens"];const H=B.index,[W,K,ie,ce]=B,ue=W.length;if(ce)return["self-closed",ie,H,ue];if(K)return["closer",ie,H,ue];return["opener",ie,H,ue]}(),[W,pe,fe,ke]=H,Je=ue.length,rt=fe>ie?ie:null;if(!B[pe])return addText(),!1;switch(W){case"no-more-tokens":if(0!==Je){const{leadingTextStart:B,tokenStart:H}=ue.pop();ce.push(Y.substr(B,H))}return addText(),!1;case"self-closed":return 0===Je?(null!==rt&&ce.push(Y.substr(rt,fe-rt)),ce.push(B[pe]),ie=fe+ke,!0):(addChild(createFrame(B[pe],fe,ke)),ie=fe+ke,!0);case"opener":return ue.push(createFrame(B[pe],fe,ke,fe+ke,rt)),ie=fe+ke,!0;case"closer":if(1===Je)return function closeOuterElement(B){const{element:H,leadingTextStart:W,prevOffset:ie,tokenStart:de,children:pe}=ue.pop(),fe=B?Y.substr(ie,B-ie):Y.substr(ie);fe&&pe.push(fe);null!==W&&ce.push(Y.substr(W,de-W));ce.push((0,K.cloneElement)(H,null,...pe))}(fe),ie=fe+ke,!0;const H=ue.pop(),W=Y.substr(H.prevOffset,fe-H.prevOffset);H.children.push(W),H.prevOffset=fe+ke;const de=createFrame(H.element,H.tokenStart,H.tokenLength,fe+ke);return de.children=H.children,addChild(de),ie=fe+ke,!0;default:return addText(),!1}}function addText(){const B=Y.length-ie;0!==B&&ce.push(Y.substr(ie,B))}function addChild(B){const{element:H,tokenStart:W,tokenLength:ie,prevOffset:ce,children:de}=B,pe=ue[ue.length-1],fe=Y.substr(pe.prevOffset,W-pe.prevOffset);fe&&pe.children.push(fe),pe.children.push((0,K.cloneElement)(H,null,...de)),pe.prevOffset=ce||W+ie}const create_interpolate_element=(B,H)=>{if(Y=B,ie=0,ce=[],ue=[],de.lastIndex=0,!isValidConversionMap(H))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are React Elements");do{}while(proceed(H));return(0,K.createElement)(K.Fragment,null,...ce)};function concatChildren(...B){return B.reduce((B,H,W)=>(K.Children.forEach(H,(H,Y)=>{H&&"string"!=typeof H&&(H=(0,K.cloneElement)(H,{key:[W,Y].join()})),B.push(H)}),B),[])}function switchChildrenNodeName(B,H){return B&&K.Children.map(B,(B,W)=>{if("string"==typeof B?.valueOf())return(0,K.createElement)(H,{key:W},B);const{children:Y,...ie}=B.props;return(0,K.createElement)(H,{key:W,...ie},Y)})}var pe=W(75206),fe=W(7470);const isEmptyElement=B=>"number"!=typeof B&&("string"==typeof B?.valueOf()||Array.isArray(B)?!B.length:!B),ke={OS:"web",select:B=>"web"in B?B.web:B.default,isWeb:!0};function isObject(B){return"[object Object]"===Object.prototype.toString.call(B)}var __assign=function(){return __assign=Object.assign||function __assign(B){for(var H,W=1,K=arguments.length;W<K;W++)for(var Y in H=arguments[W])Object.prototype.hasOwnProperty.call(H,Y)&&(B[Y]=H[Y]);return B},__assign.apply(this,arguments)};Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;function lowerCase(B){return B.toLowerCase()}var Je=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],rt=/[^A-Z0-9]+/gi;function replace(B,H,W){return H instanceof RegExp?B.replace(H,W):H.reduce(function(B,H){return B.replace(H,W)},B)}function dotCase(B,H){return void 0===H&&(H={}),function noCase(B,H){void 0===H&&(H={});for(var W=H.splitRegexp,K=void 0===W?Je:W,Y=H.stripRegexp,ie=void 0===Y?rt:Y,ce=H.transform,ue=void 0===ce?lowerCase:ce,de=H.delimiter,pe=void 0===de?" ":de,fe=replace(replace(B,K,"$1\0$2"),ie,"\0"),ke=0,st=fe.length;"\0"===fe.charAt(ke);)ke++;for(;"\0"===fe.charAt(st-1);)st--;return fe.slice(ke,st).split("\0").map(ue).join(pe)}(B,__assign({delimiter:"."},H))}function paramCase(B,H){return void 0===H&&(H={}),dotCase(B,__assign({delimiter:"-"},H))}const st=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function escapeAmpersand(B){return B.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function escapeLessThan(B){return B.replace(/</g,"<")}function escapeAttribute(B){return function __unstableEscapeGreaterThan(B){return B.replace(/>/g,">")}(function escapeQuotationMark(B){return B.replace(/"/g,""")}(escapeAmpersand(B)))}function isValidAttributeName(B){return!st.test(B)}function RawHTML({children:B,...H}){let W="";return K.Children.toArray(B).forEach(B=>{"string"==typeof B&&""!==B.trim()&&(W+=B)}),(0,K.createElement)("div",{dangerouslySetInnerHTML:{__html:W},...H})}const{Provider:at,Consumer:lt}=(0,K.createContext)(void 0),pt=(0,K.forwardRef)(()=>null),ht=new Set(["string","boolean","number"]),mt=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),vt=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),yt=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),bt=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function hasPrefix(B,H){return H.some(H=>0===B.indexOf(H))}function isInternalAttribute(B){return"key"===B||"children"===B}function getNormalAttributeValue(B,H){return"style"===B?function renderStyle(B){if(!function isPlainObject(B){var H,W;return!1!==isObject(B)&&(void 0===(H=B.constructor)||!1!==isObject(W=H.prototype)&&!1!==W.hasOwnProperty("isPrototypeOf"))}(B))return B;let H;for(const W in B){const K=B[W];if(null==K)continue;H?H+=";":H="";H+=getNormalStylePropertyName(W)+":"+getNormalStylePropertyValue(W,K)}return H}(H):H}const wt=["accentHeight","alignmentBaseline","arabicForm","baselineShift","capHeight","clipPath","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","dominantBaseline","enableBackground","fillOpacity","fillRule","floodColor","floodOpacity","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","horizAdvX","horizOriginX","imageRendering","letterSpacing","lightingColor","markerEnd","markerMid","markerStart","overlinePosition","overlineThickness","paintOrder","panose1","pointerEvents","renderingIntent","shapeRendering","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","textAnchor","textDecoration","textRendering","underlinePosition","underlineThickness","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","vectorEffect","vertAdvY","vertOriginX","vertOriginY","wordSpacing","writingMode","xmlnsXlink","xHeight"].reduce((B,H)=>(B[H.toLowerCase()]=H,B),{}),xt=["allowReorder","attributeName","attributeType","autoReverse","baseFrequency","baseProfile","calcMode","clipPathUnits","contentScriptType","contentStyleType","diffuseConstant","edgeMode","externalResourcesRequired","filterRes","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","suppressContentEditableWarning","suppressHydrationWarning","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector"].reduce((B,H)=>(B[H.toLowerCase()]=H,B),{}),St=["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","xmlns:xlink"].reduce((B,H)=>(B[H.replace(":","").toLowerCase()]=H,B),{});function getNormalAttributeName(B){switch(B){case"htmlFor":return"for";case"className":return"class"}const H=B.toLowerCase();return xt[H]?xt[H]:wt[H]?paramCase(wt[H]):St[H]?St[H]:H}function getNormalStylePropertyName(B){return B.startsWith("--")?B:hasPrefix(B,["ms","O","Moz","Webkit"])?"-"+paramCase(B):paramCase(B)}function getNormalStylePropertyValue(B,H){return"number"!=typeof H||0===H||bt.has(B)?H:H+"px"}function renderElement(B,H,W={}){if(null==B||!1===B)return"";if(Array.isArray(B))return renderChildren(B,H,W);switch(typeof B){case"string":return function escapeHTML(B){return escapeLessThan(escapeAmpersand(B))}(B);case"number":return B.toString()}const{type:Y,props:ie}=B;switch(Y){case K.StrictMode:case K.Fragment:return renderChildren(ie.children,H,W);case RawHTML:const{children:B,...Y}=ie;return renderNativeComponent(Object.keys(Y).length?"div":null,{...Y,dangerouslySetInnerHTML:{__html:B}},H,W)}switch(typeof Y){case"string":return renderNativeComponent(Y,ie,H,W);case"function":return Y.prototype&&"function"==typeof Y.prototype.render?function renderComponent(B,H,W,K={}){const Y=new B(H,K);"function"==typeof Y.getChildContext&&Object.assign(K,Y.getChildContext());const ie=renderElement(Y.render(),W,K);return ie}(Y,ie,H,W):renderElement(Y(ie,W),H,W)}switch(Y&&Y.$$typeof){case at.$$typeof:return renderChildren(ie.children,ie.value,W);case lt.$$typeof:return renderElement(ie.children(H||Y._currentValue),H,W);case pt.$$typeof:return renderElement(Y.render(ie),H,W)}return""}function renderNativeComponent(B,H,W,K={}){let Y="";if("textarea"===B&&H.hasOwnProperty("value")){Y=renderChildren(H.value,W,K);const{value:B,...ie}=H;H=ie}else H.dangerouslySetInnerHTML&&"string"==typeof H.dangerouslySetInnerHTML.__html?Y=H.dangerouslySetInnerHTML.__html:void 0!==H.children&&(Y=renderChildren(H.children,W,K));if(!B)return Y;const ie=function renderAttributes(B){let H="";for(const W in B){const K=getNormalAttributeName(W);if(!isValidAttributeName(K))continue;let Y=getNormalAttributeValue(W,B[W]);if(!ht.has(typeof Y))continue;if(isInternalAttribute(W))continue;const ie=vt.has(K);if(ie&&!1===Y)continue;const ce=ie||hasPrefix(W,["data-","aria-"])||yt.has(K);("boolean"!=typeof Y||ce)&&(H+=" "+K,ie||("string"==typeof Y&&(Y=escapeAttribute(Y)),H+='="'+Y+'"'))}return H}(H);return mt.has(B)?"<"+B+ie+"/>":"<"+B+ie+">"+Y+"</"+B+">"}function renderChildren(B,H,W={}){let K="";B=Array.isArray(B)?B:[B];for(let Y=0;Y<B.length;Y++){K+=renderElement(B[Y],H,W)}return K}const kt=renderElement},91726:(B,H,W)=>{"use strict";var K=W(96784);Object.defineProperty(H,"__esModule",{value:!0}),H.useAdminMenuOffset=void 0;var Y=W(91003),ie=K(W(39148)),ce="editor-one-top-bar",ue="data-editor-one-offset-initialized";H.useAdminMenuOffset=function useAdminMenuOffset(){var B=(0,Y.useRef)(null);(0,Y.useEffect)(function(){var H=document.getElementById("adminmenuwrap"),W=document.getElementById("wpcontent");if(H&&W&&!W.hasAttribute(ue)){var K=document.getElementById("wpfooter"),Y=document.getElementById("wpbody-content");null==Y||Y.insertBefore(K,Y.querySelector(":scope > .clear"));var de=document.getElementById("wpadminbar"),pe=function updateOffset(){var B,K,Y,ue=null===(B=document.getElementById(ce))||void 0===B?void 0:B.querySelector(":scope > header"),pe=(0,ie.default)(),fe=H.getBoundingClientRect(),ke=pe?document.documentElement.clientWidth-fe.left:fe.right,Je="".concat(null!==(K=null==de?void 0:de.clientHeight)&&void 0!==K?K:0,"px"),rt="".concat(null!==(Y=null==ue?void 0:ue.clientHeight)&&void 0!==Y?Y:0,"px");W.style.setProperty("--editor-one-sidebar-left-offset","".concat(ke,"px")),W.style.setProperty("--e-admin-bar-height",Je),W.style.setProperty("--e-top-bar-header-height",rt)};pe();var fe=new ResizeObserver(pe);fe.observe(W);var ke=document.getElementById(ce);return ke&&fe.observe(ke),window.addEventListener("resize",pe),W.setAttribute(ue,"true"),B.current=function(){fe.disconnect(),window.removeEventListener("resize",pe),W.removeAttribute(ue)},function(){B.current&&(B.current(),B.current=null)}}},[])}},96784:B=>{B.exports=function _interopRequireDefault(B){return B&&B.__esModule?B:{default:B}},B.exports.__esModule=!0,B.exports.default=B.exports}},ie={};function __webpack_require__(B){var H=ie[B];if(void 0!==H)return H.exports;var W=ie[B]={exports:{}};return Y[B](W,W.exports,__webpack_require__),W.exports}__webpack_require__.m=Y,H=Object.getPrototypeOf?B=>Object.getPrototypeOf(B):B=>B.__proto__,__webpack_require__.t=function(W,K){if(1&K&&(W=this(W)),8&K)return W;if("object"==typeof W&&W){if(4&K&&W.__esModule)return W;if(16&K&&"function"==typeof W.then)return W}var Y=Object.create(null);__webpack_require__.r(Y);var ie={};B=B||[null,H({}),H([]),H(H)];for(var ce=2&K&&W;("object"==typeof ce||"function"==typeof ce)&&!~B.indexOf(ce);ce=H(ce))Object.getOwnPropertyNames(ce).forEach(B=>ie[B]=()=>W[B]);return ie.default=()=>W,__webpack_require__.d(Y,ie),Y},__webpack_require__.d=(B,H)=>{for(var W in H)__webpack_require__.o(H,W)&&!__webpack_require__.o(B,W)&&Object.defineProperty(B,W,{enumerable:!0,get:H[W]})},__webpack_require__.f={},__webpack_require__.e=B=>Promise.all(Object.keys(__webpack_require__.f).reduce((H,W)=>(__webpack_require__.f[W](B,H),H),[])),__webpack_require__.u=B=>7163===B?"845418a5488e9937fc99.bundle.min.js":7753===B?"ec1ee92b2a471389c7b9.bundle.min.js":9598===B?"6f779545aaa23e951088.bundle.min.js":547===B?"02ab54a3328c55e115ea.bundle.min.js":9681===B?"3c838288a9b7ddd2aea4.bundle.min.js":9926===B?"c73a7d15e48e3305780a.bundle.min.js":1e3===B?"73f63f9507c306870586.bundle.min.js":16===B?"dff865a4d52c12bcf996.bundle.min.js":9213===B?"bcb5135af6b817bc9708.bundle.min.js":6308===B?"687979ffbcfd58352c29.bundle.min.js":3132===B?"20866d9d9e34bf3cb0a7.bundle.min.js":3577===B?"3df4dbb5d612dbdab477.bundle.min.js":9995===B?"8ad22e7ba800b096313c.bundle.min.js":809===B?"6936b079b4e7c28cd901.bundle.min.js":494===B?"78dd4dee6173d40eb75a.bundle.min.js":5793===B?"aee13673e923469c3275.bundle.min.js":4095===B?"35423d812dc1d52fdb27.bundle.min.js":6488===B?"8e5b42844d27eada9b53.bundle.min.js":1017===B?"14bcbc91620c14a7112c.bundle.min.js":9415===B?"77b60be7dc925a32f560.bundle.min.js":5216===B?"f56b0d1257a5346afe64.bundle.min.js":3794===B?"d8a330693f9211e2166e.bundle.min.js":1418===B?"bf2fa9f81b3d78f5858f.bundle.min.js":1419===B?"4927500be197e062162e.bundle.min.js":4647===B?"1564d2bfa4591bf857f3.bundle.min.js":7125===B?"d42de03ef4a0f50e39ca.bundle.min.js":7354===B?"9bd390911e34b349d8cb.bundle.min.js":5915===B?"d39cd4cb3d5b09b11c14.bundle.min.js":7385===B?"9b0cc3aa93cf287cd0a2.bundle.min.js":2590===B?"fdf69f4e1f300fb27472.bundle.min.js":6583===B?"f3b4453f66034a6655a7.bundle.min.js":8437===B?"2bac2875cdf51a1f8140.bundle.min.js":1434===B?"435080452e81c388e779.bundle.min.js":7459===B?"9dcd9e88237da6496816.bundle.min.js":9937===B?"0bc41c4656ca54cf2aca.bundle.min.js":4006===B?"eb5018119ee87fd6a7fc.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(B){if("object"==typeof window)return window}}(),__webpack_require__.o=(B,H)=>Object.prototype.hasOwnProperty.call(B,H),W={},K="elementor:",__webpack_require__.l=(B,H,Y,ie)=>{if(W[B])W[B].push(H);else{var ce,ue;if(void 0!==Y)for(var de=document.getElementsByTagName("script"),pe=0;pe<de.length;pe++){var fe=de[pe];if(fe.getAttribute("src")==B||fe.getAttribute("data-webpack")==K+Y){ce=fe;break}}ce||(ue=!0,(ce=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&ce.setAttribute("nonce",__webpack_require__.nc),ce.setAttribute("data-webpack",K+Y),ce.src=B),W[B]=[H];var onScriptComplete=(H,K)=>{ce.onerror=ce.onload=null,clearTimeout(ke);var Y=W[B];if(delete W[B],ce.parentNode&&ce.parentNode.removeChild(ce),Y&&Y.forEach(B=>B(K)),H)return H(K)},ke=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:ce}),12e4);ce.onerror=onScriptComplete.bind(null,ce.onerror),ce.onload=onScriptComplete.bind(null,ce.onload),ue&&document.head.appendChild(ce)}},__webpack_require__.r=B=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(B,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(B,"__esModule",{value:!0})},(()=>{var B;__webpack_require__.g.importScripts&&(B=__webpack_require__.g.location+"");var H=__webpack_require__.g.document;if(!B&&H&&(H.currentScript&&"SCRIPT"===H.currentScript.tagName.toUpperCase()&&(B=H.currentScript.src),!B)){var W=H.getElementsByTagName("script");if(W.length)for(var K=W.length-1;K>-1&&(!B||!/^http(s?):/.test(B));)B=W[K--].src}if(!B)throw new Error("Automatic publicPath is not supported in this browser");B=B.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=B})(),(()=>{var B={1763:0};__webpack_require__.f.j=(H,W)=>{var K=__webpack_require__.o(B,H)?B[H]:void 0;if(0!==K)if(K)W.push(K[2]);else{var Y=new Promise((W,Y)=>K=B[H]=[W,Y]);W.push(K[2]=Y);var ie=__webpack_require__.p+__webpack_require__.u(H),ce=new Error;__webpack_require__.l(ie,W=>{if(__webpack_require__.o(B,H)&&(0!==(K=B[H])&&(B[H]=void 0),K)){var Y=W&&("load"===W.type?"missing":W.type),ie=W&&W.target&&W.target.src;ce.message="Loading chunk "+H+" failed.\n("+Y+": "+ie+")",ce.name="ChunkLoadError",ce.type=Y,ce.request=ie,K[1](ce)}},"chunk-"+H,H)}};var webpackJsonpCallback=(H,W)=>{var K,Y,[ie,ce,ue]=W,de=0;if(ie.some(H=>0!==B[H])){for(K in ce)__webpack_require__.o(ce,K)&&(__webpack_require__.m[K]=ce[K]);if(ue)ue(__webpack_require__)}for(H&&H(W);de<ie.length;de++)Y=ie[de],__webpack_require__.o(B,Y)&&B[Y]&&B[Y][0](),B[Y]=0},H=self.webpackChunkelementor=self.webpackChunkelementor||[];H.forEach(webpackJsonpCallback.bind(null,0)),H.push=webpackJsonpCallback.bind(null,H.push.bind(H))})(),(()=>{"use strict";var B=__webpack_require__(96784),H=B(__webpack_require__(41594)),W=B(__webpack_require__(18791)),K=__webpack_require__(24007),Y=__webpack_require__(91726),ie=B(__webpack_require__(39148)),ce=function App(){var B=window.elementorOneTopBarConfig,W=B.version,ce=B.title,ue=B.environment,de=(0,ie.default)();return(0,Y.useAdminMenuOffset)(),H.default.createElement(K.ElementorOneAssetsProvider,{env:ue,isRTL:de},H.default.createElement(K.ElementorOneHeader,{appSettings:{slug:"elementor",version:W},isWithinWpAdmin:!0,title:ce}))},ue=document.getElementById("editor-one-top-bar");ue&&W.default.render(H.default.createElement(ce,null),ue)})()})(); | |
| 165 | +`,SI=({isWrapped:W,noPadding:H,...U})=>G.jsx(QT,{...U,$isWrapped:W,$noPadding:H});var eP;!function(W){W.EN="en",W.DE="de",W.ES="es",W.IT="it",W.NL="nl",W.PT="pt-PT",W.PT_BR="pt-BR",W.FR="fr",W.HE="he-IL"}(eP||(eP={}));const OI=({open:W,onClose:H,colorScheme:U="light"})=>{const{t:oe}=Zu("send-feedback",{i18n:Kf}),{SUPPORT_FORM_URL:ie}=J_(),{control:ae,handleSubmit:le,reset:ce,formState:{isValid:ue}}=function(W={}){const H=X.useRef(void 0),U=X.useRef(void 0),[G,oe]=X.useState({isDirty:!1,isValidating:!1,isLoading:nO(W.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:W.errors||{},disabled:W.disabled||!1,isReady:!1,defaultValues:nO(W.defaultValues)?void 0:W.defaultValues});if(!H.current)if(W.formControl)H.current={...W.formControl,formState:G},W.defaultValues&&!nO(W.defaultValues)&&W.formControl.reset(W.defaultValues,W.resetOptions);else{const{formControl:U,...X}=function PO(W={}){let H,U={...RC,...W},G={submitCount:0,isDirty:!1,isReady:!1,isLoading:nO(U.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:U.errors||{},disabled:U.disabled||!1},X={},oe=(xk(U.defaultValues)||xk(U.values))&&Ok(U.defaultValues||U.values)||{},ie=U.shouldUnregister?{}:Ok(oe),ae={action:!1,mount:!1,watch:!1},le={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},ce=0;const ue={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let de={...ue};const pe={array:eO(),state:eO()},fe=U.criteriaMode===bC,h=async W=>{if(!U.disabled&&(ue.isValid||de.isValid||W)){const W=U.resolver?tO((await b()).errors):await v(X,!0);W!==G.isValid&&pe.state.next({isValid:W})}},m=(W,H)=>{!U.disabled&&(ue.isValidating||ue.validatingFields||de.isValidating||de.validatingFields)&&((W||Array.from(le.mount)).forEach(W=>{W&&(H?Nk(G.validatingFields,W,H):lO(G.validatingFields,W))}),pe.state.next({validatingFields:G.validatingFields,isValidating:!tO(G.validatingFields)}))},g=(W,H,U,G)=>{const le=Rk(X,W);if(le){const X=Rk(ie,W,Ek(U)?Rk(oe,W):U);Ek(X)||G&&G.defaultChecked||H?Nk(ie,W,H?X:vO(le._f)):w(W,X),ae.mount&&h()}},y=(W,H,X,ie,ae)=>{let le=!1,ce=!1;const fe={name:W};if(!U.disabled){if(!X||ie){(ue.isDirty||de.isDirty)&&(ce=G.isDirty,G.isDirty=fe.isDirty=x(),le=ce!==fe.isDirty);const U=Yk(Rk(oe,W),H);ce=!!Rk(G.dirtyFields,W),U?lO(G.dirtyFields,W):Nk(G.dirtyFields,W,!0),fe.dirtyFields=G.dirtyFields,le=le||(ue.dirtyFields||de.dirtyFields)&&ce!==!U}if(X){const H=Rk(G.touchedFields,W);H||(Nk(G.touchedFields,W,X),fe.touchedFields=G.touchedFields,le=le||(ue.touchedFields||de.touchedFields)&&H!==X)}le&&ae&&pe.state.next(fe)}return le?fe:{}},b=async W=>{m(W,!0);const H=await U.resolver(ie,U.context,((W,H,U,G)=>{const X={};for(const U of W){const W=Rk(H,U);W&&Nk(X,U,W._f)}return{criteriaMode:U,names:[...W],fields:X,shouldUseNativeValidation:G}})(W||le.mount,X,U.criteriaMode,U.shouldUseNativeValidation));return m(W),H},v=async(W,H,X={valid:!0})=>{for(const ae in W){const ce=W[ae];if(ce){const{_f:W,...de}=ce;if(W){const de=le.array.has(W.name),pe=ce._f&&!!(oe=ce._f)&&!!oe.validate&&!!(nO(oe.validate)&&oe.validate.constructor.name===MC||xk(oe.validate)&&Object.values(oe.validate).find(W=>W.constructor.name===MC));pe&&ue.validatingFields&&m([ae],!0);const ke=await IO(ce,le.disabled,ie,fe,U.shouldUseNativeValidation&&!H,de);if(pe&&ue.validatingFields&&m([ae]),ke[W.name]&&(X.valid=!1,H))break;!H&&(Rk(ke,W.name)?de?EO(G.errors,ke,W.name):Nk(G.errors,W.name,ke[W.name]):lO(G.errors,W.name))}!tO(de)&&await v(de,H,X)}}var oe;return X.valid},x=(W,H)=>!U.disabled&&(W&&H&&Nk(ie,W,H),!Yk(T(),oe)),_=(W,H,U)=>Gk(W,le,{...ae.mount?ie:Ek(H)?oe:Kk(W)?{[W]:H}:H},U,H),w=(W,H,U={})=>{const G=Rk(X,W);let oe=H;if(G){const U=G._f;U&&(!U.disabled&&Nk(ie,W,gO(H,U)),oe=oO(U.ref)&&bk(H)?"":H,iO(U.ref)?[...U.ref.options].forEach(W=>W.selected=oe.includes(W.value)):U.refs?gk(U.ref)?U.refs.forEach(W=>{W.defaultChecked&&W.disabled||(Array.isArray(oe)?W.checked=!!oe.find(H=>H===W.value):W.checked=oe===W.value||!!oe)}):U.refs.forEach(W=>W.checked=W.value===oe):rO(U.ref)?U.ref.value="":(U.ref.value=oe,U.ref.type||pe.state.next({name:W,values:Ok(ie)})))}(U.shouldDirty||U.shouldTouch)&&y(W,oe,U.shouldTouch,U.shouldDirty,!0),U.shouldValidate&&E(W)},S=(W,H,U)=>{for(const G in H){if(!H.hasOwnProperty(G))return;const oe=H[G],ie=W+"."+G,ae=Rk(X,ie);(le.array.has(W)||xk(oe)||ae&&!ae._f)&&!yk(oe)?S(ie,oe,U):w(ie,oe,U)}},k=(W,H,U={})=>{const ce=Rk(X,W),fe=le.array.has(W),ke=Ok(H);Nk(ie,W,ke),fe?(pe.array.next({name:W,values:Ok(ie)}),(ue.isDirty||ue.dirtyFields||de.isDirty||de.dirtyFields)&&U.shouldDirty&&pe.state.next({name:W,dirtyFields:dO(oe,ie),isDirty:x(W,ke)})):!ce||ce._f||bk(ke)?w(W,ke,U):S(W,ke,U),kO(W,le)&&pe.state.next({...G,name:W}),pe.state.next({name:ae.mount?W:void 0,values:Ok(ie)})},O=async W=>{ae.mount=!0;const oe=W.target;let ke=oe.name,Qe=!0;const tt=Rk(X,ke),w=W=>{Qe=Number.isNaN(W)||yk(W)&&isNaN(W.getTime())||Yk(W,Rk(ie,ke,W))},it=wO(U.mode),at=wO(U.reValidateMode);if(tt){let ae,ut;const ht=oe.type?vO(tt._f):_k(W),ft=W.type===gC||"focusout"===W.type,gt=!((st=tt._f).mount&&(st.required||st.min||st.max||st.maxLength||st.minLength||st.pattern||st.validate)||U.resolver||Rk(G.errors,ke)||tt._f.deps)||((W,H,U,G,X)=>!X.isOnAll&&(!U&&X.isOnTouch?!(H||W):(U?G.isOnBlur:X.isOnBlur)?!W:!(U?G.isOnChange:X.isOnChange)||W))(ft,Rk(G.touchedFields,ke),G.isSubmitted,at,it),yt=kO(ke,le,ft);Nk(ie,ke,ht),ft?oe&&oe.readOnly||(tt._f.onBlur&&tt._f.onBlur(W),H&&H(0)):tt._f.onChange&&tt._f.onChange(W);const vt=y(ke,ht,ft),bt=!tO(vt)||yt;if(!ft&&pe.state.next({name:ke,type:W.type,values:Ok(ie)}),gt)return(ue.isValid||de.isValid)&&("onBlur"===U.mode?ft&&h():ft||h()),bt&&pe.state.next({name:ke,...yt?{}:vt});if(!ft&&yt&&pe.state.next({...G}),U.resolver){const{errors:W}=await b([ke]);if(w(ht),Qe){const H=CO(G.errors,X,ke),U=CO(W,X,H.name||ke);ae=U.error,ke=U.name,ut=tO(W)}}else m([ke],!0),ae=(await IO(tt,le.disabled,ie,fe,U.shouldUseNativeValidation))[ke],m([ke]),w(ht),Qe&&(ae?ut=!1:(ue.isValid||de.isValid)&&(ut=await v(X,!0)));Qe&&(tt._f.deps&&E(tt._f.deps),((W,X,oe,ie)=>{const ae=Rk(G.errors,W),le=(ue.isValid||de.isValid)&&Ik(X)&&G.isValid!==X;var fe;if(U.delayError&&oe?(fe=()=>((W,H)=>{Nk(G.errors,W,H),pe.state.next({errors:G.errors})})(W,oe),H=W=>{clearTimeout(ce),ce=setTimeout(fe,W)},H(U.delayError)):(clearTimeout(ce),H=null,oe?Nk(G.errors,W,oe):lO(G.errors,W)),(oe?!Yk(ae,oe):ae)||!tO(ie)||le){const H={...ie,...le&&Ik(X)?{isValid:X}:{},errors:G.errors,name:W};G={...G,...H},pe.state.next(H)}})(ke,ut,ae,vt))}var st},C=(W,H)=>{if(Rk(G.errors,H)&&W.focus)return W.focus(),1},E=async(W,H={})=>{let oe,ie;const ae=Jk(W);if(U.resolver){const H=await(async W=>{const{errors:H}=await b(W);if(W)for(const U of W){const W=Rk(H,U);W?Nk(G.errors,U,W):lO(G.errors,U)}else G.errors=H;return H})(Ek(W)?W:ae);oe=tO(H),ie=W?!ae.some(W=>Rk(H,W)):oe}else W?(ie=(await Promise.all(ae.map(async W=>{const H=Rk(X,W);return await v(H&&H._f?{[W]:H}:H)}))).every(Boolean),(ie||G.isValid)&&h()):ie=oe=await v(X);return pe.state.next({...!Kk(W)||(ue.isValid||de.isValid)&&oe!==G.isValid?{}:{name:W},...U.resolver||!W?{isValid:oe}:{},errors:G.errors}),H.shouldFocus&&!ie&&OO(X,C,W?ae:le.mount),ie},T=W=>{const H={...ae.mount?ie:oe};return Ek(W)?H:Kk(W)?Rk(H,W):W.map(W=>Rk(H,W))},M=(W,H)=>({invalid:!!Rk((H||G).errors,W),isDirty:!!Rk((H||G).dirtyFields,W),error:Rk((H||G).errors,W),isValidating:!!Rk(G.validatingFields,W),isTouched:!!Rk((H||G).touchedFields,W)}),R=(W,H,U)=>{const oe=(Rk(X,W,{_f:{}})._f||{}).ref,ie=Rk(G.errors,W)||{},{ref:ae,message:le,type:ce,...ue}=ie;Nk(G.errors,W,{...ue,...H,ref:oe}),pe.state.next({name:W,errors:G.errors,isValid:!1}),U&&U.shouldFocus&&oe&&oe.focus&&oe.focus()},I=W=>pe.state.subscribe({next:H=>{var U,X,ae;U=W.name,X=H.name,ae=W.exact,(!U||!X||U===X||Jk(U).some(W=>W&&(ae?W===X:W.startsWith(X)||X.startsWith(W))))&&((W,H,U,G)=>{U(W);const{name:X,...oe}=W;return tO(oe)||Object.keys(oe).length>=Object.keys(H).length||Object.keys(oe).find(W=>H[W]===(!G||bC))})(H,W.formState||ue,F,W.reRenderRoot)&&W.callback({values:{...ie},...G,...H,defaultValues:oe})}}).unsubscribe,N=(W,H={})=>{for(const ae of W?Jk(W):le.mount)le.mount.delete(ae),le.array.delete(ae),H.keepValue||(lO(X,ae),lO(ie,ae)),!H.keepError&&lO(G.errors,ae),!H.keepDirty&&lO(G.dirtyFields,ae),!H.keepTouched&&lO(G.touchedFields,ae),!H.keepIsValidating&&lO(G.validatingFields,ae),!U.shouldUnregister&&!H.keepDefaultValue&&lO(oe,ae);pe.state.next({values:Ok(ie)}),pe.state.next({...G,...H.keepDirty?{isDirty:x()}:{}}),!H.keepIsValid&&h()},P=({disabled:W,name:H})=>{(Ik(W)&&ae.mount||W||le.disabled.has(H))&&(W?le.disabled.add(H):le.disabled.delete(H))},j=(W,H={})=>{let G=Rk(X,W);const ie=Ik(H.disabled)||Ik(U.disabled);return Nk(X,W,{...G||{},_f:{...G&&G._f?G._f:{ref:{name:W}},name:W,mount:!0,...H}}),le.mount.add(W),G?P({disabled:Ik(H.disabled)?H.disabled:U.disabled,name:W}):g(W,!0,H.value),{...ie?{disabled:H.disabled||U.disabled}:{},...U.progressive?{required:!!H.required,min:_O(H.min),max:_O(H.max),minLength:_O(H.minLength),maxLength:_O(H.maxLength),pattern:_O(H.pattern)}:{},name:W,onChange:O,onBlur:O,ref:ie=>{if(ie){j(W,H),G=Rk(X,W);const U=Ek(ie.value)&&ie.querySelectorAll&&ie.querySelectorAll("input,select,textarea")[0]||ie,ae=(W=>aO(W)||gk(W))(U),le=G._f.refs||[];if(ae?le.find(W=>W===U):U===G._f.ref)return;Nk(X,W,{_f:{...G._f,...ae?{refs:[...le.filter(sO),U,...Array.isArray(Rk(oe,W))?[{}]:[]],ref:{type:U.type,name:W}}:{ref:U}}}),g(W,!1,void 0,U)}else G=Rk(X,W,{}),G._f&&(G._f.mount=!1),(U.shouldUnregister||H.shouldUnregister)&&(!wk(le.array,W)||!ae.action)&&le.unMount.add(W)}}},A=()=>U.shouldFocusError&&OO(X,C,le.mount),$=(W,H)=>async oe=>{let ae;oe&&(oe.preventDefault&&oe.preventDefault(),oe.persist&&oe.persist());let ce=Ok(ie);if(pe.state.next({isSubmitting:!0}),U.resolver){const{errors:W,values:H}=await b();G.errors=W,ce=Ok(H)}else await v(X);if(le.disabled.size)for(const W of le.disabled)lO(ce,W);if(lO(G.errors,"root"),tO(G.errors)){pe.state.next({errors:{}});try{await W(ce,oe)}catch(W){ae=W}}else H&&await H({...G.errors},oe),A(),setTimeout(A);if(pe.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:tO(G.errors)&&!ae,submitCount:G.submitCount+1,errors:G.errors}),ae)throw ae},L=(W,H={})=>{const ce=W?Ok(W):oe,de=Ok(ce),fe=tO(W),ke=fe?oe:de;if(H.keepDefaultValues||(oe=ce),!H.keepValues){if(H.keepDirtyValues){const W=new Set([...le.mount,...Object.keys(dO(oe,ie))]);for(const H of Array.from(W))Rk(G.dirtyFields,H)?Nk(ke,H,Rk(ie,H)):k(H,Rk(ke,H))}else{if(fC&&Ek(W))for(const W of le.mount){const H=Rk(X,W);if(H&&H._f){const W=Array.isArray(H._f.refs)?H._f.refs[0]:H._f.ref;if(oO(W)){const H=W.closest("form");if(H){H.reset();break}}}}if(H.keepFieldsRef)for(const W of le.mount)k(W,Rk(ke,W));else X={}}ie=U.shouldUnregister?H.keepDefaultValues?Ok(oe):{}:Ok(ke),pe.array.next({values:{...ke}}),pe.state.next({values:{...ke}})}le={mount:H.keepDirtyValues?le.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},ae.mount=!ue.isValid||!!H.keepIsValid||!!H.keepDirtyValues,ae.watch=!!U.shouldUnregister,pe.state.next({submitCount:H.keepSubmitCount?G.submitCount:0,isDirty:!fe&&(H.keepDirty?G.isDirty:!(!H.keepDefaultValues||Yk(W,oe))),isSubmitted:!!H.keepIsSubmitted&&G.isSubmitted,dirtyFields:fe?{}:H.keepDirtyValues?H.keepDefaultValues&&ie?dO(oe,ie):G.dirtyFields:H.keepDefaultValues&&W?dO(oe,W):H.keepDirty?G.dirtyFields:{},touchedFields:H.keepTouched?G.touchedFields:{},errors:H.keepErrors?G.errors:{},isSubmitSuccessful:!!H.keepIsSubmitSuccessful&&G.isSubmitSuccessful,isSubmitting:!1,defaultValues:oe})},D=(W,H)=>L(nO(W)?W(ie):W,H),F=W=>{G={...G,...W}},ke={control:{register:j,unregister:N,getFieldState:M,handleSubmit:$,setError:R,_subscribe:I,_runSchema:b,_focusError:A,_getWatch:_,_getDirty:x,_setValid:h,_setFieldArray:(W,H=[],le,ce,fe=!0,ke=!0)=>{if(ce&&le&&!U.disabled){if(ae.action=!0,ke&&Array.isArray(Rk(X,W))){const H=le(Rk(X,W),ce.argA,ce.argB);fe&&Nk(X,W,H)}if(ke&&Array.isArray(Rk(G.errors,W))){const H=le(Rk(G.errors,W),ce.argA,ce.argB);fe&&Nk(G.errors,W,H),((W,H)=>{!Tk(Rk(W,H)).length&&lO(W,H)})(G.errors,W)}if((ue.touchedFields||de.touchedFields)&&ke&&Array.isArray(Rk(G.touchedFields,W))){const H=le(Rk(G.touchedFields,W),ce.argA,ce.argB);fe&&Nk(G.touchedFields,W,H)}(ue.dirtyFields||de.dirtyFields)&&(G.dirtyFields=dO(oe,ie)),pe.state.next({name:W,isDirty:x(W,H),dirtyFields:G.dirtyFields,errors:G.errors,isValid:G.isValid})}else Nk(ie,W,H)},_setDisabledField:P,_setErrors:W=>{G.errors=W,pe.state.next({errors:G.errors,isValid:!1})},_getFieldArray:W=>Tk(Rk(ae.mount?ie:oe,W,U.shouldUnregister?Rk(oe,W,[]):[])),_reset:L,_resetDefaultValues:()=>nO(U.defaultValues)&&U.defaultValues().then(W=>{D(W,U.resetOptions),pe.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(const W of le.unMount){const H=Rk(X,W);H&&(H._f.refs?H._f.refs.every(W=>!sO(W)):!sO(H._f.ref))&&N(W)}le.unMount=new Set},_disableForm:W=>{Ik(W)&&(pe.state.next({disabled:W}),OO(X,(H,U)=>{const G=Rk(X,U);G&&(H.disabled=G._f.disabled||W,Array.isArray(G._f.refs)&&G._f.refs.forEach(H=>{H.disabled=G._f.disabled||W}))},0,!1))},_subjects:pe,_proxyFormState:ue,get _fields(){return X},get _formValues(){return ie},get _state(){return ae},set _state(W){ae=W},get _defaultValues(){return oe},get _names(){return le},set _names(W){le=W},get _formState(){return G},get _options(){return U},set _options(W){U={...U,...W}}},subscribe:W=>(ae.mount=!0,de={...de,...W.formState},I({...W,formState:de})),trigger:E,register:j,handleSubmit:$,watch:(W,H)=>nO(W)?pe.state.subscribe({next:U=>"values"in U&&W(_(void 0,H),U)}):_(W,H,!0),setValue:k,getValues:T,reset:D,resetField:(W,H={})=>{Rk(X,W)&&(Ek(H.defaultValue)?k(W,Ok(Rk(oe,W))):(k(W,H.defaultValue),Nk(oe,W,Ok(H.defaultValue))),H.keepTouched||lO(G.touchedFields,W),H.keepDirty||(lO(G.dirtyFields,W),G.isDirty=H.defaultValue?x(W,Ok(Rk(oe,W))):x()),H.keepError||(lO(G.errors,W),ue.isValid&&h()),pe.state.next({...G}))},clearErrors:W=>{W&&Jk(W).forEach(W=>lO(G.errors,W)),pe.state.next({errors:W?G.errors:{}})},unregister:N,setError:R,setFocus:(W,H={})=>{const U=Rk(X,W),G=U&&U._f;if(G){const W=G.refs?G.refs[0]:G.ref;W.focus&&(W.focus(),H.shouldSelect&&nO(W.select)&&W.select())}},getFieldState:M};return{...ke,formControl:ke}}(W);H.current={...X,formState:G}}const ie=H.current.control;return ie._options=W,SC(()=>{const W=ie._subscribe({formState:ie._proxyFormState,callback:()=>oe({...ie._formState}),reRenderRoot:!0});return oe(W=>({...W,isReady:!0})),ie._formState.isReady=!0,W},[ie]),X.useEffect(()=>ie._disableForm(W.disabled),[ie,W.disabled]),X.useEffect(()=>{W.mode&&(ie._options.mode=W.mode),W.reValidateMode&&(ie._options.reValidateMode=W.reValidateMode)},[ie,W.mode,W.reValidateMode]),X.useEffect(()=>{W.errors&&(ie._setErrors(W.errors),ie._focusError())},[ie,W.errors]),X.useEffect(()=>{W.shouldUnregister&&ie._subjects.state.next({values:ie._getWatch()})},[ie,W.shouldUnregister]),X.useEffect(()=>{if(ie._proxyFormState.isDirty){const W=ie._getDirty();W!==G.isDirty&&ie._subjects.state.next({isDirty:W})}},[ie,G.isDirty]),X.useEffect(()=>{W.values&&!Yk(W.values,U.current)?(ie._reset(W.values,{keepFieldsRef:!0,...ie._options.resetOptions}),U.current=W.values,oe(W=>({...W}))):ie._resetDefaultValues()},[ie,W.values]),X.useEffect(()=>{ie._state.mount||(ie._setValid(),ie._state.mount=!0),ie._state.watch&&(ie._state.watch=!1,ie._subjects.state.next({...ie._formState})),ie._removeUnmounted()}),H.current.formState=Wk(G,ie),H.current}({defaultValues:{product:"",subject:"",title:"",description:""},mode:"onChange"}),{mutateAsync:de,isPending:pe}=zg({mutationFn:W=>Dy.sendFeedback(W)}),[fe,ke]=X.useState(null),Qe=X.useMemo(()=>[{label:oe("dialog.products.general"),value:"GENERAL"},{label:oe("dialog.products.editor"),value:"EDITOR"},{label:oe("dialog.products.imageOptimization"),value:"IO"},{label:oe("dialog.products.accessibility"),value:"ALLY"},{label:oe("dialog.products.emailDeliverability"),value:"SM"},{label:oe("dialog.products.siteManagement"),value:"MANAGE"}],[oe]),tt=X.useMemo(()=>[{label:oe("dialog.subjects.leaveFeedback"),value:oe("dialog.subjects.leaveFeedback",{lng:eP.EN})},{label:oe("dialog.subjects.reportBug"),value:oe("dialog.subjects.reportBug",{lng:eP.EN})},{label:oe("dialog.subjects.requestFeature"),value:oe("dialog.subjects.requestFeature",{lng:eP.EN})},{label:oe("dialog.subjects.shareThoughts"),value:oe("dialog.subjects.shareThoughts",{lng:eP.EN})}],[oe]),y=()=>{ce(),H()};return G.jsxs(ku,{colorScheme:U,children:[G.jsxs(zC,{onClose:y,open:W,maxWidth:"sm",fullWidth:!0,"data-test":"send-feedback-dialog",children:[G.jsx(BO,{logo:!1,onClose:y,children:G.jsx(sE,{color:"text.primary",variant:"subtitle1",children:oe("dialog.title")})}),G.jsxs(TS,{component:"form",onSubmit:le(W=>{de(W,{onSuccess:()=>{y(),ke({type:"success",message:oe("tooltipSuccess")})},onError:()=>{ke({type:"error",message:oe("tooltipError")})}})}),children:[G.jsx(HC,{sx:{px:3},dividers:!0,children:G.jsxs(Js,{gap:2,children:[G.jsx(Qk,{name:"product",control:ae,render:({field:{onChange:W,value:H}})=>G.jsx(kR,{multiple:!1,options:Qe,value:Qe.find(W=>W.value===H)||null,onChange:(H,U)=>W(U?.value||""),renderInput:W=>G.jsx(SI,{"data-test":"product-send-feedback-input",...W,isWrapped:!0,placeholder:oe("dialog.fieldProductPlaceholder"),color:"secondary"})})}),G.jsx(Qk,{name:"subject",control:ae,render:({field:{onChange:W,value:H}})=>G.jsx(kR,{multiple:!1,options:tt,value:tt.find(W=>W.value===H)||null,onChange:(H,U)=>W(U?.value||""),renderInput:W=>G.jsx(SI,{"data-test":"subject-send-feedback-input",...W,isWrapped:!0,placeholder:oe("dialog.fieldSubjectPlaceholder"),color:"secondary"})})}),G.jsx(Qk,{name:"title",control:ae,rules:{required:!0,maxLength:{value:90,message:oe("dialog.titleLengthError")}},render:({field:W,fieldState:H})=>G.jsx(RE,{fullWidth:!0,children:G.jsx(SI,{...W,fullWidth:!0,placeholder:oe("dialog.fieldTitlePlaceholder"),"data-test":"title-send-feedback-input",error:Boolean(H.error),helperText:H.error?.message,required:!0,sx:{"& .MuiInputBase-root":{minHeight:56}},color:"secondary"})})}),G.jsx(Qk,{name:"description",control:ae,rules:{required:!0,maxLength:{value:1024,message:oe("dialog.descriptionLengthError")}},render:({field:W,fieldState:H})=>G.jsx(RE,{fullWidth:!0,children:G.jsx(SI,{...W,multiline:!0,rows:5,fullWidth:!0,noPadding:!0,placeholder:oe("dialog.fieldDescriptionPlaceholder"),"data-test":"description-send-feedback-input",error:Boolean(H.error),helperText:H.error?.message,required:!0,color:"secondary"})})}),G.jsx(rI,{severity:"info",action:G.jsx(uI,{href:ie,target:"_blank",color:"info",children:oe("dialog.alert.button")}),children:oe("dialog.alert.title")}),G.jsxs(Js,{direction:"row",gap:1,children:[G.jsx(dl,{sx:{ml:.5},variant:"body2",color:"text.primary",children:"• "}),G.jsx(dl,{variant:"body2",color:"text.primary",children:oe("dialog.note")})]})]})}),G.jsxs(XC,{sx:{px:3,py:2,gap:1},children:[G.jsx(Ad,{variant:"text",color:"secondary",onClick:y,"data-test":"cancel-send-feedback-modal",children:oe("dialog.cancel")}),G.jsx(Ad,{type:"submit",variant:"contained",loading:pe,"data-test":"submit-feedback-button",disabled:!ue||pe,children:oe("dialog.submit")})]})]})]}),G.jsx(_I,{open:Boolean(fe),autoHideDuration:5e3,onClose:()=>ke(null),anchorOrigin:{vertical:"bottom",horizontal:"right"},children:G.jsx(rI,{onClose:()=>ke(null),severity:fe?.type,variant:"filled",children:fe?.message})})]})},tP="action_type",rP="app_context",TI=W=>G.jsx(Ru,{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",...W,children:G.jsx("path",{d:"M12.1207 0C5.42401 0 0 5.37 0 12C0 18.63 5.42401 24 12.1207 24C18.8174 24 24.2414 18.63 24.2414 12C24.2414 5.37 18.8174 0 12.1207 0ZM8.48448 18H6.06034V6H8.48448V18ZM18.181 18H10.9086V15.6H18.181V18ZM18.181 13.2H10.9086V10.8H18.181V13.2ZM18.181 8.4H10.9086V6H18.181V8.4Z",fill:"white"})});var nP,oP={exports:{}};const iP=l(function II(){return nP||(nP=1,function(W,H){var U;function n(W,H){var U=[],G=0;function o(W){return U.push(W),H}function i(){return U[G++]}return{tokenize:function(H){return H.replace(W,o)},detokenize:function(W){return W.replace(new RegExp("("+H+")","g"),i)}}}U=new function(){var W="`TMP`",H="`COMMENT`",U="[^\\u0020-\\u007e]",G="(?:[0-9]*\\.[0-9]+|[0-9]+)",X="(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)",oe="direction\\s*:\\s*",ie="['\"]?\\s*",ae="(^|[^a-zA-Z])",le="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",ce="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",ue="(?:[_a-z0-9-]|"+U+"|"+ce+")",de=G+"(?:\\s*"+X+"|-?(?:[_a-z]|"+U+"|"+ce+")"+ue+"*)?",pe="((?:-?"+de+")|(?:inherit|auto))",fe="((?:-?"+de+")|(?:inherit|auto)|(?:calc\\((?:(?:(?:\\(|\\)|\\t| )|(?:-?"+G+"(?:\\s*"+X+")?)|(?:\\+|\\-|\\*|\\/)){3,})\\)))",ke="(#?"+ue+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",Qe="(?:[!#$%&*-~]|"+U+"|"+ce+")*?",tt="(?![a-zA-Z])",it="(?!("+ue+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+H+")*?{)",at="(?!"+Qe+ie+"\\))",st="(?="+Qe+ie+"\\))",ut="(\\s*(?:!important\\s*)?[;}])",ht=/`TMP`/g,ft=/`TMPLTR`/g,gt=/`TMPRTL`/g,yt=new RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),vt=new RegExp("("+le+it+"[^;}]+;?)","gi"),bt=new RegExp("("+le+"[^\\}]*?})","gi"),xt=new RegExp("("+oe+")ltr","gi"),wt=new RegExp("("+oe+")rtl","gi"),St=new RegExp(ae+"(left)"+tt+at+it,"gi"),Ct=new RegExp(ae+"(right)"+tt+at+it,"gi"),It=new RegExp(ae+"(left)"+st,"gi"),Pt=new RegExp(ae+"(right)"+st,"gi"),At=/(:dir\( *)ltr( *\))/g,jt=/(:dir\( *)rtl( *\))/g,Nt=new RegExp(ae+"(ltr)"+st,"gi"),Lt=new RegExp(ae+"(rtl)"+st,"gi"),$t=new RegExp(ae+"([ns]?)e-resize","gi"),Dt=new RegExp(ae+"([ns]?)w-resize","gi"),Ft=new RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+fe+"(\\s+)"+fe+"(\\s+)"+fe+"(\\s+)"+fe+ut,"gi"),zt=new RegExp("((?:-color|border-style)\\s*:\\s*)"+ke+"(\\s+)"+ke+"(\\s+)"+ke+"(\\s+)"+ke+ut,"gi"),Bt=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+de+")","gi"),Yt=new RegExp("(background-position-x\\s*:\\s*)(-?"+G+"%)","gi"),Zt=new RegExp("(border-radius\\s*:\\s*)"+pe+"(?:(?:\\s+"+pe+")(?:\\s+"+pe+")?(?:\\s+"+pe+")?)?(?:(?:(?:\\s*\\/\\s*)"+pe+")(?:\\s+"+pe+")?(?:\\s+"+pe+")?(?:\\s+"+pe+")?)?"+ut,"gi"),Jt=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+pe,"gi"),Qt=new RegExp("(text-shadow\\s*:\\s*)"+pe+"(\\s*)"+ke,"gi"),er=new RegExp("(text-shadow\\s*:\\s*)"+ke+"(\\s*)"+pe,"gi"),tr=new RegExp("(text-shadow\\s*:\\s*)"+pe,"gi"),Or=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+pe+"(\\s*\\))","gi"),Mr=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+pe+"((?:\\s*,\\s*"+pe+"){0,2}\\s*\\))","gi");function Q(W,H,U){var G,X;return"%"===U.slice(-1)&&(-1!==(G=U.indexOf("."))?(X=U.length-G-2,U=(U=100-parseFloat(U)).toFixed(X)+"%"):U=100-parseFloat(U)+"%"),H+U}function Z(W){switch(W.length){case 4:W=[W[1],W[0],W[3],W[2]];break;case 3:W=[W[1],W[0],W[1],W[2]];break;case 2:W=[W[1],W[0]];break;case 1:W=[W[0]]}return W.join(" ")}function J(W,H){var U=[].slice.call(arguments),G=U.slice(2,6).filter(function(W){return W}),X=U.slice(6,10).filter(function(W){return W}),oe=U[10]||"";return H+(X.length?Z(G)+" / "+Z(X):Z(G))+oe}function ee(W){return 0===parseFloat(W)?W:"-"===W[0]?W.slice(1):"-"+W}function te(W,H,U){return H+ee(U)}function re(W,H,U,G,X){return H+U+ee(G)+X}function ne(W,H,U,G,X){return H+U+G+ee(X)}return{transform:function(U,G){var X=new n(vt,"`NOFLIP_SINGLE`"),oe=new n(bt,"`NOFLIP_CLASS`"),ie=new n(yt,H);return U=ie.tokenize(oe.tokenize(X.tokenize(U.replace("`","%60")))),G.transformDirInUrl&&(U=U.replace(At,"$1`TMPLTR`$2").replace(jt,"$1`TMPRTL`$2").replace(Nt,"$1"+W).replace(Lt,"$1ltr").replace(ht,"rtl").replace(ft,"ltr").replace(gt,"rtl")),G.transformEdgeInUrl&&(U=U.replace(It,"$1"+W).replace(Pt,"$1left").replace(ht,"right")),U=U.replace(xt,"$1"+W).replace(wt,"$1ltr").replace(ht,"rtl").replace(St,"$1"+W).replace(Ct,"$1left").replace(ht,"right").replace($t,"$1$2"+W).replace(Dt,"$1$2e-resize").replace(ht,"w-resize").replace(Zt,J).replace(Jt,te).replace(Qt,ne).replace(er,ne).replace(tr,te).replace(Or,re).replace(Mr,re).replace(Ft,"$1$2$3$8$5$6$7$4$9").replace(zt,"$1$2$3$8$5$6$7$4$9").replace(Bt,Q).replace(Yt,Q),X.detokenize(oe.detokenize(ie.detokenize(U)))}}},W.exports?H.transform=function(W,H,G){var X;return"object"==typeof H?X=H:(X={},"boolean"==typeof H&&(X.transformDirInUrl=H),"boolean"==typeof G&&(X.transformEdgeInUrl=G)),U.transform(W,X)}:"undefined"!=typeof window&&(window.cssjanus=U)}(oP,oP.exports)),oP.exports}());var aP="-ms-",sP="-moz-",lP="-webkit-",cP="comm",uP="rule",dP="decl",pP="@keyframes",hP=Math.abs,fP=String.fromCharCode,mP=Object.assign;function UI(W){return W.trim()}function WI(W,H){return(W=H.exec(W))?W[0]:W}function HI(W,H,U){return W.replace(H,U)}function KI(W,H){return W.indexOf(H)}function GI(W,H){return 0|W.charCodeAt(H)}function XI(W,H,U){return W.slice(H,U)}function YI(W){return W.length}function QI(W){return W.length}function ZI(W,H){return H.push(W),W}var gP=1,yP=1,vP=0,bP=0,xP=0,_P="";function iN(W,H,U,G,X,oe,ie){return{value:W,root:H,parent:U,type:G,props:X,children:oe,line:gP,column:yP,length:ie,return:""}}function aN(W,H){return mP(iN("",null,null,"",null,null,0),W,{length:-W.length},H)}function sN(){return xP=bP>0?GI(_P,--bP):0,yP--,10===xP&&(yP=1,gP--),xP}function lN(){return xP=bP<vP?GI(_P,bP++):0,yP++,10===xP&&(yP=1,gP++),xP}function cN(){return GI(_P,bP)}function uN(){return bP}function pN(W,H){return XI(_P,W,H)}function dN(W){switch(W){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 fN(W){return UI(pN(bP-1,gN(91===W?W+2:40===W?W+1:W)))}function hN(W){for(;(xP=cN())&&xP<33;)lN();return dN(W)>2||dN(xP)>3?"":" "}function mN(W,H){for(;--H&&lN()&&!(xP<48||xP>102||xP>57&&xP<65||xP>70&&xP<97););return pN(W,uN()+(H<6&&32==cN()&&32==lN()))}function gN(W){for(;lN();)switch(xP){case W:return bP;case 34:case 39:34!==W&&39!==W&&gN(xP);break;case 40:41===W&&gN(W);break;case 92:lN()}return bP}function yN(W,H){for(;lN()&&W+xP!==57&&(W+xP!==84||47!==cN()););return"/*"+pN(H,bP-1)+"*"+fP(47===W?W:lN())}function bN(W){for(;!dN(cN());)lN();return pN(W,bP)}function vN(W){return function(W){return _P="",W}(xN("",null,null,null,[""],W=function(W){return gP=yP=1,vP=YI(_P=W),bP=0,[]}(W),0,[0],W))}function xN(W,H,U,G,X,oe,ie,ae,le){for(var ce=0,ue=0,de=ie,pe=0,fe=0,ke=0,Qe=1,tt=1,it=1,at=0,st="",ut=X,ht=oe,ft=G,gt=st;tt;)switch(ke=at,at=lN()){case 40:if(108!=ke&&58==GI(gt,de-1)){-1!=KI(gt+=HI(fN(at),"&","&\f"),"&\f")&&(it=-1);break}case 34:case 39:case 91:gt+=fN(at);break;case 9:case 10:case 13:case 32:gt+=hN(ke);break;case 92:gt+=mN(uN()-1,7);continue;case 47:switch(cN()){case 42:case 47:ZI(wN(yN(lN(),uN()),H,U),le);break;default:gt+="/"}break;case 123*Qe:ae[ce++]=YI(gt)*it;case 125*Qe:case 59:case 0:switch(at){case 0:case 125:tt=0;case 59+ue:fe>0&&YI(gt)-de&&ZI(fe>32?SN(gt+";",G,U,de-1):SN(HI(gt," ","")+";",G,U,de-2),le);break;case 59:gt+=";";default:if(ZI(ft=_N(gt,H,U,ce,ue,X,ae,st,ut=[],ht=[],de),oe),123===at)if(0===ue)xN(gt,H,ft,ft,ut,oe,de,ae,ht);else switch(99===pe&&110===GI(gt,3)?100:pe){case 100:case 109:case 115:xN(W,ft,ft,G&&ZI(_N(W,ft,ft,0,0,X,ae,st,X,ut=[],de),ht),X,ht,de,ae,G?ut:ht);break;default:xN(gt,ft,ft,ft,[""],ht,0,ae,ht)}}ce=ue=fe=0,Qe=it=1,st=gt="",de=ie;break;case 58:de=1+YI(gt),fe=ke;default:if(Qe<1)if(123==at)--Qe;else if(125==at&&0==Qe++&&125==sN())continue;switch(gt+=fP(at),at*Qe){case 38:it=ue>0?1:(gt+="\f",-1);break;case 44:ae[ce++]=(YI(gt)-1)*it,it=1;break;case 64:45===cN()&&(gt+=fN(lN())),pe=cN(),ue=de=YI(st=gt+=bN(uN())),at++;break;case 45:45===ke&&2==YI(gt)&&(Qe=0)}}return oe}function _N(W,H,U,G,X,oe,ie,ae,le,ce,ue){for(var de=X-1,pe=0===X?oe:[""],fe=QI(pe),ke=0,Qe=0,tt=0;ke<G;++ke)for(var it=0,at=XI(W,de+1,de=hP(Qe=ie[ke])),st=W;it<fe;++it)(st=UI(Qe>0?pe[it]+" "+at:HI(at,/&\f/g,pe[it])))&&(le[tt++]=st);return iN(W,H,U,0===X?uP:ae,le,ce,ue)}function wN(W,H,U){return iN(W,H,U,cP,fP(xP),XI(W,2,-2),0)}function SN(W,H,U,G){return iN(W,H,U,dP,XI(W,0,G),XI(W,G+1,-1),G)}function kN(W,H,U){switch(function(W,H){return 45^GI(W,0)?(((H<<2^GI(W,0))<<2^GI(W,1))<<2^GI(W,2))<<2^GI(W,3):0}(W,H)){case 5103:return lP+"print-"+W+W;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 lP+W+W;case 4789:return sP+W+W;case 5349:case 4246:case 4810:case 6968:case 2756:return lP+W+sP+W+aP+W+W;case 5936:switch(GI(W,H+11)){case 114:return lP+W+aP+HI(W,/[svh]\w+-[tblr]{2}/,"tb")+W;case 108:return lP+W+aP+HI(W,/[svh]\w+-[tblr]{2}/,"tb-rl")+W;case 45:return lP+W+aP+HI(W,/[svh]\w+-[tblr]{2}/,"lr")+W}case 6828:case 4268:case 2903:return lP+W+aP+W+W;case 6165:return lP+W+aP+"flex-"+W+W;case 5187:return lP+W+HI(W,/(\w+).+(:[^]+)/,lP+"box-$1$2"+aP+"flex-$1$2")+W;case 5443:return lP+W+aP+"flex-item-"+HI(W,/flex-|-self/g,"")+(WI(W,/flex-|baseline/)?"":aP+"grid-row-"+HI(W,/flex-|-self/g,""))+W;case 4675:return lP+W+aP+"flex-line-pack"+HI(W,/align-content|flex-|-self/g,"")+W;case 5548:return lP+W+aP+HI(W,"shrink","negative")+W;case 5292:return lP+W+aP+HI(W,"basis","preferred-size")+W;case 6060:return lP+"box-"+HI(W,"-grow","")+lP+W+aP+HI(W,"grow","positive")+W;case 4554:return lP+HI(W,/([^-])(transform)/g,"$1"+lP+"$2")+W;case 6187:return HI(HI(HI(W,/(zoom-|grab)/,lP+"$1"),/(image-set)/,lP+"$1"),W,"")+W;case 5495:case 3959:return HI(W,/(image-set\([^]*)/,lP+"$1$`$1");case 4968:return HI(HI(W,/(.+:)(flex-)?(.*)/,lP+"box-pack:$3"+aP+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+lP+W+W;case 4200:if(!WI(W,/flex-|baseline/))return aP+"grid-column-align"+XI(W,H)+W;break;case 2592:case 3360:return aP+HI(W,"template-","")+W;case 4384:case 3616:return U&&U.some(function(W,U){return H=U,WI(W.props,/grid-\w+-end/)})?~KI(W+(U=U[H].value),"span")?W:aP+HI(W,"-start","")+W+aP+"grid-row-span:"+(~KI(U,"span")?WI(U,/\d+/):+WI(U,/\d+/)-+WI(W,/\d+/))+";":aP+HI(W,"-start","")+W;case 4896:case 4128:return U&&U.some(function(W){return WI(W.props,/grid-\w+-start/)})?W:aP+HI(HI(W,"-end","-span"),"span ","")+W;case 4095:case 3583:case 4068:case 2532:return HI(W,/(.+)-inline(.+)/,lP+"$1$2")+W;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(YI(W)-1-H>6)switch(GI(W,H+1)){case 109:if(45!==GI(W,H+4))break;case 102:return HI(W,/(.+:)(.+)-([^]+)/,"$1"+lP+"$2-$3$1"+sP+(108==GI(W,H+3)?"$3":"$2-$3"))+W;case 115:return~KI(W,"stretch")?kN(HI(W,"stretch","fill-available"),H,U)+W:W}break;case 5152:case 5920:return HI(W,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(H,U,G,X,oe,ie,ae){return aP+U+":"+G+ae+(X?aP+U+"-span:"+(oe?ie:+ie-+G)+ae:"")+W});case 4949:if(121===GI(W,H+6))return HI(W,":",":"+lP)+W;break;case 6444:switch(GI(W,45===GI(W,14)?18:11)){case 120:return HI(W,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+lP+(45===GI(W,14)?"inline-":"")+"box$3$1"+lP+"$2$3$1"+aP+"$2box$3")+W;case 100:return HI(W,":",":"+aP)+W}break;case 5719:case 2647:case 2135:case 3927:case 2391:return HI(W,"scroll-","scroll-snap-")+W}return W}function ON(W,H){for(var U="",G=QI(W),X=0;X<G;X++)U+=H(W[X],X,W,H)||"";return U}function CN(W,H,U){switch(W.type){case"@import":case dP:case cP:return W.return=W.return||W.value;case uP:W.value=Array.isArray(W.props)?W.props.join(","):W.props,Array.isArray(W.children)&&W.children.forEach(function(W){W.type===cP&&(W.children=W.value)})}var G=ON(Array.prototype.concat(W.children),CN);return YI(G)?W.return=W.value+"{"+G+"}":""}function EN(W,H,U,G){if(W.type===pP||"@supports"===W.type||W.type===uP&&(!W.parent||"@media"===W.parent.type||W.parent.type===uP)){var X=iP.transform(CN(W));W.children=X?vN(X)[0].children:[],W.return=""}}Object.defineProperty(EN,"name",{value:"stylisRTLPlugin"});const wP=rt({key:Ql,stylisPlugins:[function(W,H,U,G){if(W.length>-1&&!W.return)switch(W.type){case dP:return void(W.return=kN(W.value,W.length,U));case pP:return ON([aN(W,{value:HI(W.value,"@","@"+lP)})],G);case uP:if(W.length)return function(W,H){return W.map(H).join("")}(W.props,function(H){switch(WI(H,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ON([aN(W,{props:[HI(H,/:(read-\w+)/,":-moz-$1")]})],G);case"::placeholder":return ON([aN(W,{props:[HI(H,/:(plac\w+)/,":"+lP+"input-$1")]}),aN(W,{props:[HI(H,/:(plac\w+)/,":-moz-$1")]}),aN(W,{props:[HI(H,/:(plac\w+)/,aP+"input-$1")]})],G)}return""})}},EN]}),SP=rt({key:"eui"});var RN=({rtl:W,children:H})=>X.createElement(Br,{value:W?wP:SP},H);H.ElementorOneAssetsContext=jw,H.ElementorOneAssetsProvider=({env:W,language:H="en",isRTL:U=!1,children:oe})=>{const ie=X.useMemo(()=>(W=>sv[W])(W),[W]),ae=X.useMemo(()=>({config:ie,isRTL:U}),[ie,U]);return X.useEffect(()=>{Kf.changeLanguage(H)},[H]),X.useEffect(()=>{},[ie]),X.useEffect(()=>{window.elementorOneSettingsData?.shareUsageData&&Ow.initialize("150605b3b9f979922f2ac5a52e2dcfe9",W)},[W]),G.jsx(jg,{client:Iw,children:G.jsx(jw.Provider,{value:ae,children:oe})})},H.ElementorOneHeader=({appSettings:W,colorScheme:H="dark",title:U,multiDelpoymentSlot:oe,isWithinWpAdmin:ie=!0,containerSx:ae={},onDisconnect:le})=>{const{t:ce}=Zu("common",{i18n:Kf}),ue=(W=>{switch(W){case"image-optimizer":return"https://elementor.com/help/plugins-by-elementor/image-optimizer/";case"ally":return"https://elementor.com/help/plugins-by-elementor/web-accessibility/";case"elementor-pro":case"elementor":return"https://elementor.com/help/elementor-editor/";case"site-mailer":return"https://elementor.com/help/plugins-by-elementor/site-mailer/";case"angie":return"https://elementor.com/help/elementor-ai/";default:return"https://elementor.com/help/ "}})(W.slug),[de,pe]=X.useState(!1),fe=tw(),ke=(()=>{const W=X.useContext(jw);if(!W)throw new Error("Wrap your component in <ElementorOneAssetsProvider> to access RTL orientation");return W.isRTL})(),Qe=X.useRef(!1),tt=window.elementorOneSettingsData?.canUserManageOptions??!1,it=window.elementorOneSettingsData?.shareUsageData??!1,{data:at}=Y_({enabled:tt});X.useEffect(()=>{if(it&&!Qe.current){const{appType:H,productName:U}=(W=>{switch(W){case"elementor":case"elementor-pro":return{appType:"Editor"};case"elementor-home":default:return{appType:"Infra"};case"ally":return{appType:"Apps",productName:"app_access"};case"image-optimization":return{appType:"Apps",productName:"app_io"};case"site-mailer":return{appType:"Apps",productName:"app_mailer"};case"angie":return{appType:"Apps",productName:"app_ai"}}})(W.slug),G={appType:H};U&&(G.productName=U),Ow.registerOnce(G),Qe.current=!0}},[W.slug,it]);const v=H=>{it&&Ow.track("top_bar_clicked",{[tP]:H,[rP]:W.slug})};return G.jsx(RN,{rtl:ke,children:G.jsxs(ku,{colorScheme:H,children:[G.jsx(Xs,{sx:{top:0,...ae,position:"sticky",zIndex:1100},children:G.jsx(rl,{sx:{pl:"30px !important",backgroundColor:"background.paper"},variant:"dense",children:G.jsxs(Js,{direction:"row",justifyContent:"space-between",width:"100%",children:[G.jsxs(Js,{direction:"row",alignItems:"center",gap:1,flexWrap:"nowrap",children:[G.jsx(TI,{}),!fe&&G.jsx(dl,{variant:"button",fontSize:"20px",fontWeight:400,whiteSpace:"nowrap",children:U||ce("header.title")})]}),G.jsxs(Js,{direction:"row",alignItems:"center",gap:1,children:[at?.isConnected&&G.jsx(Cu,{size:"small",onClick:()=>{v("feedback"),pe(!0)},"data-test":"header-feedback-button",children:G.jsx(Tu,{fontSize:"small"})}),G.jsx(mk,{appSettings:W,onClick:()=>v("whats_new"),containerSx:{"& .MuiDrawer-paper":{width:320,padding:3,...ie?{top:32,height:"calc(100vh - 32px)","@media (max-width: 784px)":{top:46,height:"calc(100vh - 46px)"}}:{}}}}),ue&&G.jsx(Cu,{size:"small",href:ue,target:"_blank",onClick:()=>v("help"),"data-test":"header-help-button",children:G.jsx(Pu,{fontSize:"small"})}),oe,tt&&G.jsxs(G.Fragment,{children:[G.jsx(Uu,{orientation:"vertical",flexItem:!0,sx:{my:1,mx:1}}),G.jsx(Mw,{onDisconnect:le,onClick:()=>v("account"),onConnectClick:()=>v("connect")})]})]})]})})}),G.jsx(OI,{open:de,onClose:()=>pe(!1)})]})})},H.SendFeedbackDialog=OI,H.WhatsNew=mk},39148:(W,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.default=function isRTL(){var W,H;return null!==(W=null===(H=elementorCommon)||void 0===H||null===(H=H.config)||void 0===H?void 0:H.isRTL)&&void 0!==W&&W}},41594:W=>{"use strict";W.exports=React},46906:(W,H,U)=>{var G={"./de/assets-whatsnew.json":[17163,7163],"./de/common.json":[87753,7753],"./de/send-feedback.json":[49598,9598],"./en/assets-whatsnew.json":[10547,547],"./en/common.json":[79681,9681],"./en/send-feedback.json":[69926,9926],"./es/assets-whatsnew.json":[41e3,1e3],"./es/common.json":[50016,16],"./es/send-feedback.json":[49213,9213],"./fr/assets-whatsnew.json":[36308,6308],"./fr/common.json":[43132,3132],"./fr/send-feedback.json":[93577,3577],"./he-IL/assets-whatsnew.json":[49995,9995],"./he-IL/common.json":[809,809],"./he-IL/send-feedback.json":[70494,494],"./id-ID/assets-whatsnew.json":[65793,5793],"./id-ID/common.json":[44095,4095],"./id-ID/send-feedback.json":[36488,6488],"./it/assets-whatsnew.json":[1017,1017],"./it/common.json":[29415,9415],"./it/send-feedback.json":[65216,5216],"./nl/assets-whatsnew.json":[13794,3794],"./nl/common.json":[11418,1418],"./nl/send-feedback.json":[71419,1419],"./pl-PL/assets-whatsnew.json":[44647,4647],"./pl-PL/common.json":[97125,7125],"./pl-PL/send-feedback.json":[7354,7354],"./pt-BR/send-feedback.json":[42590,2590],"./pt-PT/assets-whatsnew.json":[76583,6583],"./pt-PT/common.json":[18437,8437],"./pt-PT/send-feedback.json":[41434,1434],"./tr-TR/assets-whatsnew.json":[27459,7459],"./tr-TR/common.json":[29937,9937],"./tr-TR/send-feedback.json":[14006,4006]};function webpackAsyncContext(W){if(!U.o(G,W))return Promise.resolve().then(()=>{var H=new Error("Cannot find module '"+W+"'");throw H.code="MODULE_NOT_FOUND",H});var H=G[W],X=H[0];return U.e(H[1]).then(()=>U.t(X,19))}webpackAsyncContext.keys=()=>Object.keys(G),webpackAsyncContext.id=46906,W.exports=webpackAsyncContext},62540:(W,H,U)=>{"use strict";W.exports=U(2192)},75206:W=>{"use strict";W.exports=ReactDOM},91003:(W,H,U)=>{"use strict";U.r(H),U.d(H,{Children:()=>G.Children,Component:()=>G.Component,Fragment:()=>G.Fragment,Platform:()=>de,PureComponent:()=>G.PureComponent,RawHTML:()=>RawHTML,StrictMode:()=>G.StrictMode,Suspense:()=>G.Suspense,cloneElement:()=>G.cloneElement,concatChildren:()=>concatChildren,createContext:()=>G.createContext,createElement:()=>G.createElement,createInterpolateElement:()=>create_interpolate_element,createPortal:()=>ce.createPortal,createRef:()=>G.createRef,createRoot:()=>ue.createRoot,findDOMNode:()=>ce.findDOMNode,flushSync:()=>ce.flushSync,forwardRef:()=>G.forwardRef,hydrate:()=>ce.hydrate,hydrateRoot:()=>ue.hydrateRoot,isEmptyElement:()=>isEmptyElement,isValidElement:()=>G.isValidElement,lazy:()=>G.lazy,memo:()=>G.memo,render:()=>ce.render,renderToString:()=>bt,startTransition:()=>G.startTransition,switchChildrenNodeName:()=>switchChildrenNodeName,unmountComponentAtNode:()=>ce.unmountComponentAtNode,useCallback:()=>G.useCallback,useContext:()=>G.useContext,useDebugValue:()=>G.useDebugValue,useDeferredValue:()=>G.useDeferredValue,useEffect:()=>G.useEffect,useId:()=>G.useId,useImperativeHandle:()=>G.useImperativeHandle,useInsertionEffect:()=>G.useInsertionEffect,useLayoutEffect:()=>G.useLayoutEffect,useMemo:()=>G.useMemo,useReducer:()=>G.useReducer,useRef:()=>G.useRef,useState:()=>G.useState,useSyncExternalStore:()=>G.useSyncExternalStore,useTransition:()=>G.useTransition});var G=U(41594);let X,oe,ie,ae;const le=/<(\/)?(\w+)\s*(\/)?>/g;function createFrame(W,H,U,G,X){return{element:W,tokenStart:H,tokenLength:U,prevOffset:G,leadingTextStart:X,children:[]}}const isValidConversionMap=W=>{const H="object"==typeof W,U=H&&Object.values(W);return H&&U.length&&U.every(W=>(0,G.isValidElement)(W))};function proceed(W){const H=function nextToken(){const W=le.exec(X);if(null===W)return["no-more-tokens"];const H=W.index,[U,G,oe,ie]=W,ae=U.length;if(ie)return["self-closed",oe,H,ae];if(G)return["closer",oe,H,ae];return["opener",oe,H,ae]}(),[U,ce,ue,de]=H,pe=ae.length,fe=ue>oe?oe:null;if(!W[ce])return addText(),!1;switch(U){case"no-more-tokens":if(0!==pe){const{leadingTextStart:W,tokenStart:H}=ae.pop();ie.push(X.substr(W,H))}return addText(),!1;case"self-closed":return 0===pe?(null!==fe&&ie.push(X.substr(fe,ue-fe)),ie.push(W[ce]),oe=ue+de,!0):(addChild(createFrame(W[ce],ue,de)),oe=ue+de,!0);case"opener":return ae.push(createFrame(W[ce],ue,de,ue+de,fe)),oe=ue+de,!0;case"closer":if(1===pe)return function closeOuterElement(W){const{element:H,leadingTextStart:U,prevOffset:oe,tokenStart:le,children:ce}=ae.pop(),ue=W?X.substr(oe,W-oe):X.substr(oe);ue&&ce.push(ue);null!==U&&ie.push(X.substr(U,le-U));ie.push((0,G.cloneElement)(H,null,...ce))}(ue),oe=ue+de,!0;const H=ae.pop(),U=X.substr(H.prevOffset,ue-H.prevOffset);H.children.push(U),H.prevOffset=ue+de;const le=createFrame(H.element,H.tokenStart,H.tokenLength,ue+de);return le.children=H.children,addChild(le),oe=ue+de,!0;default:return addText(),!1}}function addText(){const W=X.length-oe;0!==W&&ie.push(X.substr(oe,W))}function addChild(W){const{element:H,tokenStart:U,tokenLength:oe,prevOffset:ie,children:le}=W,ce=ae[ae.length-1],ue=X.substr(ce.prevOffset,U-ce.prevOffset);ue&&ce.children.push(ue),ce.children.push((0,G.cloneElement)(H,null,...le)),ce.prevOffset=ie||U+oe}const create_interpolate_element=(W,H)=>{if(X=W,oe=0,ie=[],ae=[],le.lastIndex=0,!isValidConversionMap(H))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are React Elements");do{}while(proceed(H));return(0,G.createElement)(G.Fragment,null,...ie)};function concatChildren(...W){return W.reduce((W,H,U)=>(G.Children.forEach(H,(H,X)=>{H&&"string"!=typeof H&&(H=(0,G.cloneElement)(H,{key:[U,X].join()})),W.push(H)}),W),[])}function switchChildrenNodeName(W,H){return W&&G.Children.map(W,(W,U)=>{if("string"==typeof W?.valueOf())return(0,G.createElement)(H,{key:U},W);const{children:X,...oe}=W.props;return(0,G.createElement)(H,{key:U,...oe},X)})}var ce=U(75206),ue=U(7470);const isEmptyElement=W=>"number"!=typeof W&&("string"==typeof W?.valueOf()||Array.isArray(W)?!W.length:!W),de={OS:"web",select:W=>"web"in W?W.web:W.default,isWeb:!0};function isObject(W){return"[object Object]"===Object.prototype.toString.call(W)}var __assign=function(){return __assign=Object.assign||function __assign(W){for(var H,U=1,G=arguments.length;U<G;U++)for(var X in H=arguments[U])Object.prototype.hasOwnProperty.call(H,X)&&(W[X]=H[X]);return W},__assign.apply(this,arguments)};Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;function lowerCase(W){return W.toLowerCase()}var pe=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],fe=/[^A-Z0-9]+/gi;function replace(W,H,U){return H instanceof RegExp?W.replace(H,U):H.reduce(function(W,H){return W.replace(H,U)},W)}function dotCase(W,H){return void 0===H&&(H={}),function noCase(W,H){void 0===H&&(H={});for(var U=H.splitRegexp,G=void 0===U?pe:U,X=H.stripRegexp,oe=void 0===X?fe:X,ie=H.transform,ae=void 0===ie?lowerCase:ie,le=H.delimiter,ce=void 0===le?" ":le,ue=replace(replace(W,G,"$1\0$2"),oe,"\0"),de=0,ke=ue.length;"\0"===ue.charAt(de);)de++;for(;"\0"===ue.charAt(ke-1);)ke--;return ue.slice(de,ke).split("\0").map(ae).join(ce)}(W,__assign({delimiter:"."},H))}function paramCase(W,H){return void 0===H&&(H={}),dotCase(W,__assign({delimiter:"-"},H))}const ke=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function escapeAmpersand(W){return W.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function escapeLessThan(W){return W.replace(/</g,"<")}function escapeAttribute(W){return function __unstableEscapeGreaterThan(W){return W.replace(/>/g,">")}(function escapeQuotationMark(W){return W.replace(/"/g,""")}(escapeAmpersand(W)))}function isValidAttributeName(W){return!ke.test(W)}function RawHTML({children:W,...H}){let U="";return G.Children.toArray(W).forEach(W=>{"string"==typeof W&&""!==W.trim()&&(U+=W)}),(0,G.createElement)("div",{dangerouslySetInnerHTML:{__html:U},...H})}const{Provider:Qe,Consumer:tt}=(0,G.createContext)(void 0),it=(0,G.forwardRef)(()=>null),at=new Set(["string","boolean","number"]),st=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),ut=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),ht=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),ft=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function hasPrefix(W,H){return H.some(H=>0===W.indexOf(H))}function isInternalAttribute(W){return"key"===W||"children"===W}function getNormalAttributeValue(W,H){return"style"===W?function renderStyle(W){if(!function isPlainObject(W){var H,U;return!1!==isObject(W)&&(void 0===(H=W.constructor)||!1!==isObject(U=H.prototype)&&!1!==U.hasOwnProperty("isPrototypeOf"))}(W))return W;let H;for(const U in W){const G=W[U];if(null==G)continue;H?H+=";":H="";H+=getNormalStylePropertyName(U)+":"+getNormalStylePropertyValue(U,G)}return H}(H):H}const gt=["accentHeight","alignmentBaseline","arabicForm","baselineShift","capHeight","clipPath","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","dominantBaseline","enableBackground","fillOpacity","fillRule","floodColor","floodOpacity","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","horizAdvX","horizOriginX","imageRendering","letterSpacing","lightingColor","markerEnd","markerMid","markerStart","overlinePosition","overlineThickness","paintOrder","panose1","pointerEvents","renderingIntent","shapeRendering","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","textAnchor","textDecoration","textRendering","underlinePosition","underlineThickness","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","vectorEffect","vertAdvY","vertOriginX","vertOriginY","wordSpacing","writingMode","xmlnsXlink","xHeight"].reduce((W,H)=>(W[H.toLowerCase()]=H,W),{}),yt=["allowReorder","attributeName","attributeType","autoReverse","baseFrequency","baseProfile","calcMode","clipPathUnits","contentScriptType","contentStyleType","diffuseConstant","edgeMode","externalResourcesRequired","filterRes","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","suppressContentEditableWarning","suppressHydrationWarning","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector"].reduce((W,H)=>(W[H.toLowerCase()]=H,W),{}),vt=["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","xmlns:xlink"].reduce((W,H)=>(W[H.replace(":","").toLowerCase()]=H,W),{});function getNormalAttributeName(W){switch(W){case"htmlFor":return"for";case"className":return"class"}const H=W.toLowerCase();return yt[H]?yt[H]:gt[H]?paramCase(gt[H]):vt[H]?vt[H]:H}function getNormalStylePropertyName(W){return W.startsWith("--")?W:hasPrefix(W,["ms","O","Moz","Webkit"])?"-"+paramCase(W):paramCase(W)}function getNormalStylePropertyValue(W,H){return"number"!=typeof H||0===H||ft.has(W)?H:H+"px"}function renderElement(W,H,U={}){if(null==W||!1===W)return"";if(Array.isArray(W))return renderChildren(W,H,U);switch(typeof W){case"string":return function escapeHTML(W){return escapeLessThan(escapeAmpersand(W))}(W);case"number":return W.toString()}const{type:X,props:oe}=W;switch(X){case G.StrictMode:case G.Fragment:return renderChildren(oe.children,H,U);case RawHTML:const{children:W,...X}=oe;return renderNativeComponent(Object.keys(X).length?"div":null,{...X,dangerouslySetInnerHTML:{__html:W}},H,U)}switch(typeof X){case"string":return renderNativeComponent(X,oe,H,U);case"function":return X.prototype&&"function"==typeof X.prototype.render?function renderComponent(W,H,U,G={}){const X=new W(H,G);"function"==typeof X.getChildContext&&Object.assign(G,X.getChildContext());const oe=renderElement(X.render(),U,G);return oe}(X,oe,H,U):renderElement(X(oe,U),H,U)}switch(X&&X.$$typeof){case Qe.$$typeof:return renderChildren(oe.children,oe.value,U);case tt.$$typeof:return renderElement(oe.children(H||X._currentValue),H,U);case it.$$typeof:return renderElement(X.render(oe),H,U)}return""}function renderNativeComponent(W,H,U,G={}){let X="";if("textarea"===W&&H.hasOwnProperty("value")){X=renderChildren(H.value,U,G);const{value:W,...oe}=H;H=oe}else H.dangerouslySetInnerHTML&&"string"==typeof H.dangerouslySetInnerHTML.__html?X=H.dangerouslySetInnerHTML.__html:void 0!==H.children&&(X=renderChildren(H.children,U,G));if(!W)return X;const oe=function renderAttributes(W){let H="";for(const U in W){const G=getNormalAttributeName(U);if(!isValidAttributeName(G))continue;let X=getNormalAttributeValue(U,W[U]);if(!at.has(typeof X))continue;if(isInternalAttribute(U))continue;const oe=ut.has(G);if(oe&&!1===X)continue;const ie=oe||hasPrefix(U,["data-","aria-"])||ht.has(G);("boolean"!=typeof X||ie)&&(H+=" "+G,oe||("string"==typeof X&&(X=escapeAttribute(X)),H+='="'+X+'"'))}return H}(H);return st.has(W)?"<"+W+oe+"/>":"<"+W+oe+">"+X+"</"+W+">"}function renderChildren(W,H,U={}){let G="";W=Array.isArray(W)?W:[W];for(let X=0;X<W.length;X++){G+=renderElement(W[X],H,U)}return G}const bt=renderElement},91726:(W,H,U)=>{"use strict";var G=U(96784);Object.defineProperty(H,"__esModule",{value:!0}),H.useAdminMenuOffset=void 0;var X=U(91003),oe=G(U(39148)),ie="editor-one-top-bar",ae="data-editor-one-offset-initialized";H.useAdminMenuOffset=function useAdminMenuOffset(){var W=(0,X.useRef)(null);(0,X.useEffect)(function(){var H=document.getElementById("adminmenuwrap"),U=document.getElementById("wpcontent");if(H&&U&&!U.hasAttribute(ae)){var G=document.getElementById("wpfooter"),X=document.getElementById("wpbody-content");null==X||X.insertBefore(G,X.querySelector(":scope > .clear"));var le=document.getElementById("wpadminbar"),ce=function updateOffset(){var W,G,X,ae=null===(W=document.getElementById(ie))||void 0===W?void 0:W.querySelector(":scope > header"),ce=(0,oe.default)(),ue=H.getBoundingClientRect(),de=ce?document.documentElement.clientWidth-ue.left:ue.right,pe="".concat(null!==(G=null==le?void 0:le.clientHeight)&&void 0!==G?G:0,"px"),fe="".concat(null!==(X=null==ae?void 0:ae.clientHeight)&&void 0!==X?X:0,"px");U.style.setProperty("--editor-one-sidebar-left-offset","".concat(de,"px")),U.style.setProperty("--e-admin-bar-height",pe),U.style.setProperty("--e-top-bar-header-height",fe)};ce();var ue=new ResizeObserver(ce);ue.observe(U);var de=document.getElementById(ie);return de&&ue.observe(de),window.addEventListener("resize",ce),U.setAttribute(ae,"true"),W.current=function(){ue.disconnect(),window.removeEventListener("resize",ce),U.removeAttribute(ae)},function(){W.current&&(W.current(),W.current=null)}}},[])}},96784:W=>{W.exports=function _interopRequireDefault(W){return W&&W.__esModule?W:{default:W}},W.exports.__esModule=!0,W.exports.default=W.exports}},oe={};function __webpack_require__(W){var H=oe[W];if(void 0!==H)return H.exports;var U=oe[W]={exports:{}};return X[W](U,U.exports,__webpack_require__),U.exports}__webpack_require__.m=X,H=Object.getPrototypeOf?W=>Object.getPrototypeOf(W):W=>W.__proto__,__webpack_require__.t=function(U,G){if(1&G&&(U=this(U)),8&G)return U;if("object"==typeof U&&U){if(4&G&&U.__esModule)return U;if(16&G&&"function"==typeof U.then)return U}var X=Object.create(null);__webpack_require__.r(X);var oe={};W=W||[null,H({}),H([]),H(H)];for(var ie=2&G&&U;("object"==typeof ie||"function"==typeof ie)&&!~W.indexOf(ie);ie=H(ie))Object.getOwnPropertyNames(ie).forEach(W=>oe[W]=()=>U[W]);return oe.default=()=>U,__webpack_require__.d(X,oe),X},__webpack_require__.d=(W,H)=>{for(var U in H)__webpack_require__.o(H,U)&&!__webpack_require__.o(W,U)&&Object.defineProperty(W,U,{enumerable:!0,get:H[U]})},__webpack_require__.f={},__webpack_require__.e=W=>Promise.all(Object.keys(__webpack_require__.f).reduce((H,U)=>(__webpack_require__.f[U](W,H),H),[])),__webpack_require__.u=W=>7163===W?"4886b33c17731474e197.bundle.min.js":7753===W?"e3b540e2c02813e75f38.bundle.min.js":9598===W?"7d17894dc2ca045cfbb5.bundle.min.js":547===W?"8902ec90aec99911ee81.bundle.min.js":9681===W?"3c838288a9b7ddd2aea4.bundle.min.js":9926===W?"5b74c81f4d425912a202.bundle.min.js":1e3===W?"00f53f1b378f6c98c043.bundle.min.js":16===W?"3d1613aca86991103452.bundle.min.js":9213===W?"9167bffba76b36a431f5.bundle.min.js":6308===W?"a2ea929f439e819b924b.bundle.min.js":3132===W?"84288e5699f5d8b8b23e.bundle.min.js":3577===W?"5be98965bbdf1c631fdf.bundle.min.js":9995===W?"a9f41949787209626737.bundle.min.js":809===W?"137ba3baf43f287996c2.bundle.min.js":494===W?"d0d9578389b742468cb7.bundle.min.js":5793===W?"aee13673e923469c3275.bundle.min.js":4095===W?"35423d812dc1d52fdb27.bundle.min.js":6488===W?"2934fa380b70eb462ece.bundle.min.js":1017===W?"bff204c1ab0d15e0a69b.bundle.min.js":9415===W?"b97ced1683f62f5686fa.bundle.min.js":5216===W?"54d62e5edbcf81b72a1f.bundle.min.js":3794===W?"ac53273f887639e3c6ea.bundle.min.js":1418===W?"4812775bcbc0ff8a9043.bundle.min.js":1419===W?"8b6212b7ad0ef8719b6b.bundle.min.js":4647===W?"1564d2bfa4591bf857f3.bundle.min.js":7125===W?"d42de03ef4a0f50e39ca.bundle.min.js":7354===W?"bf55a1adc050b89179ff.bundle.min.js":2590===W?"315ffba5a5bf098be034.bundle.min.js":6583===W?"b668f6906820570e60b5.bundle.min.js":8437===W?"9832c866a8fe9b51f9d2.bundle.min.js":1434===W?"982fcee032dda41fa3a1.bundle.min.js":7459===W?"9dcd9e88237da6496816.bundle.min.js":9937===W?"0bc41c4656ca54cf2aca.bundle.min.js":4006===W?"79016b3aba18d6be6dc3.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(W){if("object"==typeof window)return window}}(),__webpack_require__.o=(W,H)=>Object.prototype.hasOwnProperty.call(W,H),U={},G="elementor:",__webpack_require__.l=(W,H,X,oe)=>{if(U[W])U[W].push(H);else{var ie,ae;if(void 0!==X)for(var le=document.getElementsByTagName("script"),ce=0;ce<le.length;ce++){var ue=le[ce];if(ue.getAttribute("src")==W||ue.getAttribute("data-webpack")==G+X){ie=ue;break}}ie||(ae=!0,(ie=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&ie.setAttribute("nonce",__webpack_require__.nc),ie.setAttribute("data-webpack",G+X),ie.src=W),U[W]=[H];var onScriptComplete=(H,G)=>{ie.onerror=ie.onload=null,clearTimeout(de);var X=U[W];if(delete U[W],ie.parentNode&&ie.parentNode.removeChild(ie),X&&X.forEach(W=>W(G)),H)return H(G)},de=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:ie}),12e4);ie.onerror=onScriptComplete.bind(null,ie.onerror),ie.onload=onScriptComplete.bind(null,ie.onload),ae&&document.head.appendChild(ie)}},__webpack_require__.r=W=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(W,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(W,"__esModule",{value:!0})},(()=>{var W;__webpack_require__.g.importScripts&&(W=__webpack_require__.g.location+"");var H=__webpack_require__.g.document;if(!W&&H&&(H.currentScript&&"SCRIPT"===H.currentScript.tagName.toUpperCase()&&(W=H.currentScript.src),!W)){var U=H.getElementsByTagName("script");if(U.length)for(var G=U.length-1;G>-1&&(!W||!/^http(s?):/.test(W));)W=U[G--].src}if(!W)throw new Error("Automatic publicPath is not supported in this browser");W=W.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=W})(),(()=>{var W={1763:0};__webpack_require__.f.j=(H,U)=>{var G=__webpack_require__.o(W,H)?W[H]:void 0;if(0!==G)if(G)U.push(G[2]);else{var X=new Promise((U,X)=>G=W[H]=[U,X]);U.push(G[2]=X);var oe=__webpack_require__.p+__webpack_require__.u(H),ie=new Error;__webpack_require__.l(oe,U=>{if(__webpack_require__.o(W,H)&&(0!==(G=W[H])&&(W[H]=void 0),G)){var X=U&&("load"===U.type?"missing":U.type),oe=U&&U.target&&U.target.src;ie.message="Loading chunk "+H+" failed.\n("+X+": "+oe+")",ie.name="ChunkLoadError",ie.type=X,ie.request=oe,G[1](ie)}},"chunk-"+H,H)}};var webpackJsonpCallback=(H,U)=>{var G,X,[oe,ie,ae]=U,le=0;if(oe.some(H=>0!==W[H])){for(G in ie)__webpack_require__.o(ie,G)&&(__webpack_require__.m[G]=ie[G]);if(ae)ae(__webpack_require__)}for(H&&H(U);le<oe.length;le++)X=oe[le],__webpack_require__.o(W,X)&&W[X]&&W[X][0](),W[X]=0},H=self.webpackChunkelementor=self.webpackChunkelementor||[];H.forEach(webpackJsonpCallback.bind(null,0)),H.push=webpackJsonpCallback.bind(null,H.push.bind(H))})(),(()=>{"use strict";var W=__webpack_require__(96784),H=W(__webpack_require__(41594)),U=W(__webpack_require__(18791)),G=__webpack_require__(24007),X=__webpack_require__(91726),oe=W(__webpack_require__(39148)),ie=function App(){var W=window.elementorOneTopBarConfig,U=W.version,ie=W.title,ae=W.environment,le=(0,oe.default)();return(0,X.useAdminMenuOffset)(),H.default.createElement(G.ElementorOneAssetsProvider,{env:ae,isRTL:le},H.default.createElement(G.ElementorOneHeader,{appSettings:{slug:"elementor",version:U},isWithinWpAdmin:!0,title:ie}))},ae=document.getElementById("editor-one-top-bar");ae&&U.default.render(H.default.createElement(ie,null),ae)})()})(); | |