• File: 620.4fcc143c462f9cf3.js
  • Full Path: /home4/jdaxcom/j3dax.online/wp-content/plugins/elementor/vendor/elementor/wp-one-package/assets/elementor-home/620.4fcc143c462f9cf3.js
  • Date Modified: 02/18/2026 4:17 AM
  • File size: 2.39 MB
  • MIME-type: text/plain
  • Charset: utf-8
(self.webpackChunk=self.webpackChunk||[]).push([["620"],{7560:function(t,r,n){"use strict";function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(null,arguments)}n.d(r,{Z:()=>i})},43673:function(t,r,n){"use strict";function i(t,r){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t})(t,r)}function o(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r)}n.d(r,{Z:()=>o})},98283:function(t,r,n){"use strict";function i(t,r){if(null==t)return{};var n={};for(var i in t)if(({}).hasOwnProperty.call(t,i)){if(-1!==r.indexOf(i))continue;n[i]=t[i]}return n}n.d(r,{Z:()=>i})},58527:function(t){function r(){return t.exports=r=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,r.apply(null,arguments)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},14859:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},78834:function(t){t.exports=function(t,r){if(null==t)return{};var n={};for(var i in t)if(({}).hasOwnProperty.call(t,i)){if(-1!==r.indexOf(i))continue;n[i]=t[i]}return n},t.exports.__esModule=!0,t.exports.default=t.exports},76706:function(t,r,n){"use strict";let i,o,a,s,l,u,c,d,f,h,m,g,y;n.d(r,{Qx:()=>gB,Zx:()=>E$});var v=n(52322),b=n(2784),_=n(28316);function w(t,r){if(null==t)return{};var n={};for(var i in t)if(({}).hasOwnProperty.call(t,i)){if(-1!==r.indexOf(i))continue;n[i]=t[i]}return n}function S(){return(S=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(null,arguments)}function x(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function E(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var r=t.default;if("function"==typeof r){var n=function t(){var n=!1;try{n=this instanceof t}catch{}return n?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};n.prototype=r.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var k,C={exports:{}};let O=x((L||(L=1,C.exports=(function(){if(A)return I;A=1;var t=M?P:(M=1,P="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function r(){}function n(){}return n.resetWarningCache=r,I=function(){function i(r,n,i,o,a,s){if(s!==t){var l=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 l.name="Invariant Violation",l}}function o(){return i}i.isRequired=i;var a={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:o,element:i,elementType:i,instanceOf:o,node:i,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:r};return a.PropTypes=a,a}})()()),C.exports));function R(){for(var t,r,n=0,i="",o=arguments.length;n<o;n++)(t=arguments[n])&&(r=function t(r){var n,i,o="";if("string"==typeof r||"number"==typeof r)o+=r;else if("object"==typeof r)if(Array.isArray(r)){var a=r.length;for(n=0;n<a;n++)r[n]&&(i=t(r[n]))&&(o&&(o+=" "),o+=i)}else for(i in r)r[i]&&(o&&(o+=" "),o+=i);return o}(t))&&(i&&(i+=" "),i+=r);return i}function T(t,r,n){let i={};return Object.keys(t).forEach(o=>{i[o]=t[o].reduce((t,i)=>{if(i){let o=r(i);""!==o&&t.push(o),n&&n[i]&&t.push(n[i])}return t},[]).join(" ")}),i}var P,M,I,A,L,N,j={},D={exports:{}};function F(){return N||(N=1,D.exports=function(t){return t&&t.__esModule?t:{default:t}},D.exports.__esModule=!0,D.exports.default=D.exports),D.exports}var B,$,U={exports:{}},z={exports:{}};function q(t){var r=Object.create(null);return function(n){return void 0===r[n]&&(r[n]=t(n)),r[n]}}var Z=/^((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)-.*))$/,H=q(function(t){return Z.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)}),V=function(){function t(t){var r=this;this._insertTag=function(t){var n;n=0===r.tags.length?r.insertionPoint?r.insertionPoint.nextSibling:r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(t,n),r.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=t.prototype;return r.hydrate=function(t){t.forEach(this._insertTag)},r.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((r=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&r.setAttribute("nonce",this.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r));var r,n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(t){if(t.sheet)return t.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===t)return document.styleSheets[r]}(n);try{i.insertRule(t,i.cssRules.length)}catch(t){}}else n.appendChild(document.createTextNode(t));this.ctr++},r.flush=function(){this.tags.forEach(function(t){var r;return null==(r=t.parentNode)?void 0:r.removeChild(t)}),this.tags=[],this.ctr=0},t}(),W="-ms-",G="-moz-",K="-webkit-",X="comm",Y="rule",J="decl",Q="@keyframes",ee=Math.abs,et=String.fromCharCode,er=Object.assign;function en(t,r,n){return t.replace(r,n)}function ei(t,r){return t.indexOf(r)}function eo(t,r){return 0|t.charCodeAt(r)}function ea(t,r,n){return t.slice(r,n)}function es(t){return t.length}function el(t,r){return r.push(t),t}var eu=1,ec=1,ed=0,ep=0,ef=0,eh="";function em(t,r,n,i,o,a,s){return{value:t,root:r,parent:n,type:i,props:o,children:a,line:eu,column:ec,length:s,return:""}}function eg(t,r){return er(em("",null,null,"",null,null,0),t,{length:-t.length},r)}function ey(){return ef=ep<ed?eo(eh,ep++):0,ec++,10===ef&&(ec=1,eu++),ef}function ev(){return eo(eh,ep)}function eb(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function e_(t){return eu=ec=1,ed=es(eh=t),ep=0,[]}function ew(t){var r,n;return(r=ep-1,n=function t(r){for(;ey();)switch(ef){case r:return ep;case 34:case 39:34!==r&&39!==r&&t(ef);break;case 40:41===r&&t(r);break;case 92:ey()}return ep}(91===t?t+2:40===t?t+1:t),ea(eh,r,n)).trim()}function eS(t,r,n,i,o,a,s,l,u,c,d){for(var f=o-1,h=0===o?a:[""],m=h.length,g=0,y=0,v=0;g<i;++g)for(var b=0,_=ea(t,f+1,f=ee(y=s[g])),w=t;b<m;++b)(w=(y>0?h[b]+" "+_:en(_,/&\f/g,h[b])).trim())&&(u[v++]=w);return em(t,r,n,0===o?Y:l,u,c,d)}function ex(t,r,n,i){return em(t,r,n,J,ea(t,0,i),ea(t,i+1,-1),i)}function eE(t,r){for(var n="",i=t.length,o=0;o<i;o++)n+=r(t[o],o,t,r)||"";return n}function ek(t,r,n,i){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case J:return t.return=t.return||t.value;case X:return"";case Q:return t.return=t.value+"{"+eE(t.children,i)+"}";case Y:t.value=t.props.join(",")}return es(n=eE(t.children,i))?t.return=t.value+"{"+n+"}":""}var eC=function(t,r,n){for(var i=0,o=0;i=o,o=ev(),38===i&&12===o&&(r[n]=1),!eb(o);)ey();return ea(eh,t,ep)},eO=new WeakMap,eR=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===r.charCodeAt(0)||eO.get(n))&&!i){eO.set(t,!0);for(var o,a=[],s=(o=function(t,r){var n=-1,i=44;do switch(eb(i)){case 0:38===i&&12===ev()&&(r[n]=1),t[n]+=eC(ep-1,r,n);break;case 2:t[n]+=ew(i);break;case 4:if(44===i){t[++n]=58===ev()?"&\f":"",r[n]=t[n].length;break}default:t[n]+=et(i)}while(i=ey());return t}(e_(r),a),eh="",o),l=n.props,u=0,c=0;u<s.length;u++)for(var d=0;d<l.length;d++,c++)t.props[c]=a[u]?s[u].replace(/&\f/g,l[d]):l[d]+" "+s[u]}}},eT=function(t){if("decl"===t.type){var r=t.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(t.return="",t.value="")}},eP=[function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case J:t.return=function t(r,n){switch(45^eo(r,0)?(((n<<2^eo(r,0))<<2^eo(r,1))<<2^eo(r,2))<<2^eo(r,3):0){case 5103:return K+"print-"+r+r;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 K+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return K+r+G+r+W+r+r;case 6828:case 4268:return K+r+W+r+r;case 6165:return K+r+W+"flex-"+r+r;case 5187:return K+r+en(r,/(\w+).+(:[^]+)/,K+"box-$1$2"+W+"flex-$1$2")+r;case 5443:return K+r+W+"flex-item-"+en(r,/flex-|-self/,"")+r;case 4675:return K+r+W+"flex-line-pack"+en(r,/align-content|flex-|-self/,"")+r;case 5548:return K+r+W+en(r,"shrink","negative")+r;case 5292:return K+r+W+en(r,"basis","preferred-size")+r;case 6060:return K+"box-"+en(r,"-grow","")+K+r+W+en(r,"grow","positive")+r;case 4554:return K+en(r,/([^-])(transform)/g,"$1"+K+"$2")+r;case 6187:return en(en(en(r,/(zoom-|grab)/,K+"$1"),/(image-set)/,K+"$1"),r,"")+r;case 5495:case 3959:return en(r,/(image-set\([^]*)/,K+"$1$`$1");case 4968:return en(en(r,/(.+:)(flex-)?(.*)/,K+"box-pack:$3"+W+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+K+r+r;case 4095:case 3583:case 4068:case 2532:return en(r,/(.+)-inline(.+)/,K+"$1$2")+r;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(es(r)-1-n>6)switch(eo(r,n+1)){case 109:if(45!==eo(r,n+4))break;case 102:return en(r,/(.+:)(.+)-([^]+)/,"$1"+K+"$2-$3$1"+G+(108==eo(r,n+3)?"$3":"$2-$3"))+r;case 115:return~ei(r,"stretch")?t(en(r,"stretch","fill-available"),n)+r:r}break;case 4949:if(115!==eo(r,n+1))break;case 6444:switch(eo(r,es(r)-3-(~ei(r,"!important")&&10))){case 107:return en(r,":",":"+K)+r;case 101:return en(r,/(.+:)([^;!]+)(;|!.+)?/,"$1"+K+(45===eo(r,14)?"inline-":"")+"box$3$1"+K+"$2$3$1"+W+"$2box$3")+r}break;case 5936:switch(eo(r,n+11)){case 114:return K+r+W+en(r,/[svh]\w+-[tblr]{2}/,"tb")+r;case 108:return K+r+W+en(r,/[svh]\w+-[tblr]{2}/,"tb-rl")+r;case 45:return K+r+W+en(r,/[svh]\w+-[tblr]{2}/,"lr")+r}return K+r+W+r+r}return r}(t.value,t.length);break;case Q:return eE([eg(t,{value:en(t.value,"@","@"+K)})],i);case Y:if(t.length){var o,a;return o=t.props,a=function(r){var n;switch(n=r,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return eE([eg(t,{props:[en(r,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return eE([eg(t,{props:[en(r,/:(plac\w+)/,":"+K+"input-$1")]}),eg(t,{props:[en(r,/:(plac\w+)/,":-moz-$1")]}),eg(t,{props:[en(r,/:(plac\w+)/,W+"input-$1")]})],i)}return""},o.map(a).join("")}}}],eM=function(t){var r=t.key;if("css"===r){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))})}var i,o=t.stylisPlugins||eP,a={},s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(t){for(var r=t.getAttribute("data-emotion").split(" "),n=1;n<r.length;n++)a[r[n]]=!0;s.push(t)});var l,u,c,d,f=(u=(l=[eR,eT].concat(o,[ek,(d=function(t){c.insert(t)},function(t){t.root||(t=t.return)&&d(t)})])).length,function(t,r,n,i){for(var o="",a=0;a<u;a++)o+=l[a](t,r,n,i)||"";return o}),h={key:r,sheet:new V({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:function(t,r,n,i){var o,a;c=n,eE((a=function t(r,n,i,o,a,s,l,u,c){for(var d,f=0,h=0,m=l,g=0,y=0,v=0,b=1,_=1,w=1,S=0,x="",E=a,k=s,C=o,O=x;_;)switch(v=S,S=ey()){case 40:if(108!=v&&58==eo(O,m-1)){-1!=ei(O+=en(ew(S),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:O+=ew(S);break;case 9:case 10:case 13:case 32:O+=function(t){for(;(ef=ev())&&ef<33;)ey();return eb(t)>2||eb(ef)>3?"":" "}(v);break;case 92:O+=function(t,r){for(var n;--r&&ey()&&!(ef<48||ef>102||ef>57&&ef<65||ef>70&&ef<97););return n=ep+(r<6&&32==ev()&&32==ey()),ea(eh,t,n)}(ep-1,7);continue;case 47:switch(ev()){case 42:case 47:el((d=function(t,r){for(;ey()&&t+ef!==57&&(t+ef!==84||47!==ev()););return"/*"+ea(eh,r,ep-1)+"*"+et(47===t?t:ey())}(ey(),ep),em(d,n,i,X,et(ef),ea(d,2,-2),0)),c);break;default:O+="/"}break;case 123*b:u[f++]=es(O)*w;case 125*b:case 59:case 0:switch(S){case 0:case 125:_=0;case 59+h:-1==w&&(O=en(O,/\f/g,"")),y>0&&es(O)-m&&el(y>32?ex(O+";",o,i,m-1):ex(en(O," ","")+";",o,i,m-2),c);break;case 59:O+=";";default:if(el(C=eS(O,n,i,f,h,a,u,x,E=[],k=[],m),s),123===S)if(0===h)t(O,n,C,C,E,s,m,u,k);else switch(99===g&&110===eo(O,3)?100:g){case 100:case 108:case 109:case 115:t(r,C,C,o&&el(eS(r,C,C,0,0,a,u,x,a,E=[],m),k),a,k,m,u,o?E:k);break;default:t(O,C,C,C,[""],k,0,u,k)}}f=h=y=0,b=w=1,x=O="",m=l;break;case 58:m=1+es(O),y=v;default:if(b<1){if(123==S)--b;else if(125==S&&0==b++&&125==(ef=ep>0?eo(eh,--ep):0,ec--,10===ef&&(ec=1,eu--),ef))continue}switch(O+=et(S),S*b){case 38:w=h>0?1:(O+="\f",-1);break;case 44:u[f++]=(es(O)-1)*w,w=1;break;case 64:45===ev()&&(O+=ew(ey())),g=ev(),h=m=es(x=O+=function(t){for(;!eb(ev());)ey();return ea(eh,t,ep)}(ep)),S++;break;case 45:45===v&&2==es(O)&&(b=0)}}return s}("",null,null,null,[""],o=e_(o=t?t+"{"+r.styles+"}":r.styles),0,[0],o),eh="",a),f),i&&(h.inserted[r.name]=!0)}};return h.sheet.hydrate(s),h},eI=function(t,r,n){var i=t.key+"-"+r.name;!1===n&&void 0===t.registered[i]&&(t.registered[i]=r.styles)},eA=function(t,r,n){eI(t,r,n);var i=t.key+"-"+r.name;if(void 0===t.inserted[r.name]){var o=r;do t.insert(r===o?"."+i:"",o,t.sheet,!0),o=o.next;while(void 0!==o)}},eL={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},eN=/[A-Z]|^ms/g,ej=/_EMO_([^_]+?)_([^]*?)_EMO_/g,eD=function(t){return 45===t.charCodeAt(1)},eF=function(t){return null!=t&&"boolean"!=typeof t},eB=q(function(t){return eD(t)?t:t.replace(eN,"-$&").toLowerCase()}),e$=function(t,r){switch(t){case"animation":case"animationName":if("string"==typeof r)return r.replace(ej,function(t,r,n){return ez={name:r,styles:n,next:ez},r})}return 1===eL[t]||eD(t)||"number"!=typeof r||0===r?r:r+"px"};function eU(t,r,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return ez={name:n.name,styles:n.styles,next:ez},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)ez={name:i.name,styles:i.styles,next:ez},i=i.next;return n.styles+";"}return function(t,r,n){var i="";if(Array.isArray(n))for(var o=0;o<n.length;o++)i+=eU(t,r,n[o])+";";else for(var a in n){var s=n[a];if("object"!=typeof s)null!=r&&void 0!==r[s]?i+=a+"{"+r[s]+"}":eF(s)&&(i+=eB(a)+":"+e$(a,s)+";");else if(Array.isArray(s)&&"string"==typeof s[0]&&(null==r||void 0===r[s[0]]))for(var l=0;l<s.length;l++)eF(s[l])&&(i+=eB(a)+":"+e$(a,s[l])+";");else{var u=eU(t,r,s);switch(a){case"animation":case"animationName":i+=eB(a)+":"+u+";";break;default:i+=a+"{"+u+"}"}}}return i}(t,r,n);case"function":if(void 0!==t){var o=ez,a=n(t);return ez=o,eU(t,r,a)}}if(null==r)return n;var s=r[n];return void 0!==s?s:n}var ez,eq=/label:\s*([^\s;{]+)\s*(;|$)/g;function eZ(t,r,n){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var i=!0,o="";ez=void 0;var a=t[0];null==a||void 0===a.raw?(i=!1,o+=eU(n,r,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=eU(n,r,t[s]),i&&(o+=a[s]);eq.lastIndex=0;for(var l,u="";null!==(l=eq.exec(o));)u+="-"+l[1];return{name:function(t){for(var r,n=0,i=0,o=t.length;o>=4;++i,o-=4)r=0x5bd1e995*(65535&(r=255&t.charCodeAt(i)|(255&t.charCodeAt(++i))<<8|(255&t.charCodeAt(++i))<<16|(255&t.charCodeAt(++i))<<24))+(59797*(r>>>16)<<16),n=0x5bd1e995*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^0x5bd1e995*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&t.charCodeAt(i+2))<<16;case 2:n^=(255&t.charCodeAt(i+1))<<8;case 1:n=0x5bd1e995*(65535&(n^=255&t.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=0x5bd1e995*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u,styles:o,next:ez}}var eH=!!b.useInsertionEffect&&b.useInsertionEffect,eV=eH||function(t){return t()},eW=eH||b.useLayoutEffect,eG=b.createContext("undefined"!=typeof HTMLElement?eM({key:"css"}):null),eK=eG.Provider,eX=function(t){return(0,b.forwardRef)(function(r,n){return t(r,(0,b.useContext)(eG),n)})},eY=b.createContext({}),eJ=eX(function(t,r){var n=eZ([t.styles],void 0,b.useContext(eY)),i=b.useRef();return eW(function(){var t=r.key+"-global",o=new r.sheet.constructor({key:t,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),a=!1,s=document.querySelector('style[data-emotion="'+t+" "+n.name+'"]');return r.sheet.tags.length&&(o.before=r.sheet.tags[0]),null!==s&&(a=!0,s.setAttribute("data-emotion",t),o.hydrate([s])),i.current=[o,a],function(){o.flush()}},[r]),eW(function(){var t=i.current,o=t[0];if(t[1])t[1]=!1;else{if(void 0!==n.next&&eA(r,n.next,!0),o.tags.length){var a=o.tags[o.tags.length-1].nextElementSibling;o.before=a,o.flush()}r.insert("",n,o,!1)}},[r,n.name]),null});function eQ(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return eZ(r)}var e0=function(){var t=eQ.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},e1=function(t){return"theme"!==t},e2=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?H:e1},e5=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(r){return t.__emotion_forwardProp(r)&&o(r)}:o}return"function"!=typeof i&&n&&(i=t.__emotion_forwardProp),i},e3=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return eI(r,n,i),eV(function(){return eA(r,n,i)}),null},e6=(function t(r,n){var i,o,a=r.__emotion_real===r,s=a&&r.__emotion_base||r;void 0!==n&&(i=n.label,o=n.target);var l=e5(r,n,a),u=l||e2(s),c=!u("as");return function(){var d=arguments,f=a&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==i&&f.push("label:"+i+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{f.push(d[0][0]);for(var h=d.length,m=1;m<h;m++)f.push(d[m],d[0][m])}var g=eX(function(t,r,n){var i,a,d,h=c&&t.as||s,m="",g=[],y=t;if(null==t.theme){for(var v in y={},t)y[v]=t[v];y.theme=b.useContext(eY)}"string"==typeof t.className?(i=r.registered,a=t.className,d="",a.split(" ").forEach(function(t){void 0!==i[t]?g.push(i[t]+";"):t&&(d+=t+" ")}),m=d):null!=t.className&&(m=t.className+" ");var _=eZ(f.concat(g),r.registered,y);m+=r.key+"-"+_.name,void 0!==o&&(m+=" "+o);var w=c&&void 0===l?e2(h):u,S={};for(var x in t)c&&"as"===x||w(x)&&(S[x]=t[x]);return S.className=m,n&&(S.ref=n),b.createElement(b.Fragment,null,b.createElement(e3,{cache:r,serialized:_,isStringTag:"string"==typeof h}),b.createElement(h,S))});return g.displayName=void 0!==i?i:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",g.defaultProps=r.defaultProps,g.__emotion_real=g,g.__emotion_base=s,g.__emotion_styles=f,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(r,i){return t(r,S({},n,i,{shouldForwardProp:e5(g,i,!0)})).apply(void 0,f)},g}}).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(t){e6[t]=e6(t)});var e4="-ms-",e8="-moz-",e7="-webkit-",e9="comm",te="rule",tt="decl",tr="@keyframes",tn=Math.abs,ti=String.fromCharCode,to=Object.assign;function ta(t,r,n){return t.replace(r,n)}function ts(t,r){return t.indexOf(r)}function tl(t,r){return 0|t.charCodeAt(r)}function tu(t,r,n){return t.slice(r,n)}function tc(t){return t.length}function td(t,r){return r.push(t),t}var tp=1,tf=1,th=0,tm=0,tg=0,ty="";function tv(t,r,n,i,o,a,s){return{value:t,root:r,parent:n,type:i,props:o,children:a,line:tp,column:tf,length:s,return:""}}function tb(t,r){return to(tv("",null,null,"",null,null,0),t,{length:-t.length},r)}function t_(){return tg=tm<th?tl(ty,tm++):0,tf++,10===tg&&(tf=1,tp++),tg}function tw(){return tl(ty,tm)}function tS(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function tx(t){return tp=tf=1,th=tc(ty=t),tm=0,[]}function tE(t){var r,n;return(r=tm-1,n=function t(r){for(;t_();)switch(tg){case r:return tm;case 34:case 39:34!==r&&39!==r&&t(tg);break;case 40:41===r&&t(r);break;case 92:t_()}return tm}(91===t?t+2:40===t?t+1:t),tu(ty,r,n)).trim()}function tk(t,r,n,i,o,a,s,l,u,c,d){for(var f=o-1,h=0===o?a:[""],m=h.length,g=0,y=0,v=0;g<i;++g)for(var b=0,_=tu(t,f+1,f=tn(y=s[g])),w=t;b<m;++b)(w=(y>0?h[b]+" "+_:ta(_,/&\f/g,h[b])).trim())&&(u[v++]=w);return tv(t,r,n,0===o?te:l,u,c,d)}function tC(t,r,n,i){return tv(t,r,n,tt,tu(t,0,i),tu(t,i+1,-1),i)}function tO(t,r){for(var n="",i=t.length,o=0;o<i;o++)n+=r(t[o],o,t,r)||"";return n}function tR(t,r,n,i){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case tt:return t.return=t.return||t.value;case e9:return"";case tr:return t.return=t.value+"{"+tO(t.children,i)+"}";case te:t.value=t.props.join(",")}return tc(n=tO(t.children,i))?t.return=t.value+"{"+n+"}":""}var tT=function(t,r,n){for(var i=0,o=0;i=o,o=tw(),38===i&&12===o&&(r[n]=1),!tS(o);)t_();return tu(ty,t,tm)},tP=new WeakMap,tM=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===r.charCodeAt(0)||tP.get(n))&&!i){tP.set(t,!0);for(var o,a=[],s=(o=function(t,r){var n=-1,i=44;do switch(tS(i)){case 0:38===i&&12===tw()&&(r[n]=1),t[n]+=tT(tm-1,r,n);break;case 2:t[n]+=tE(i);break;case 4:if(44===i){t[++n]=58===tw()?"&\f":"",r[n]=t[n].length;break}default:t[n]+=ti(i)}while(i=t_());return t}(tx(r),a),ty="",o),l=n.props,u=0,c=0;u<s.length;u++)for(var d=0;d<l.length;d++,c++)t.props[c]=a[u]?s[u].replace(/&\f/g,l[d]):l[d]+" "+s[u]}}},tI=function(t){if("decl"===t.type){var r=t.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(t.return="",t.value="")}},tA=[function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case tt:t.return=function t(r,n){switch(45^tl(r,0)?(((n<<2^tl(r,0))<<2^tl(r,1))<<2^tl(r,2))<<2^tl(r,3):0){case 5103:return e7+"print-"+r+r;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 e7+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return e7+r+e8+r+e4+r+r;case 6828:case 4268:return e7+r+e4+r+r;case 6165:return e7+r+e4+"flex-"+r+r;case 5187:return e7+r+ta(r,/(\w+).+(:[^]+)/,e7+"box-$1$2"+e4+"flex-$1$2")+r;case 5443:return e7+r+e4+"flex-item-"+ta(r,/flex-|-self/,"")+r;case 4675:return e7+r+e4+"flex-line-pack"+ta(r,/align-content|flex-|-self/,"")+r;case 5548:return e7+r+e4+ta(r,"shrink","negative")+r;case 5292:return e7+r+e4+ta(r,"basis","preferred-size")+r;case 6060:return e7+"box-"+ta(r,"-grow","")+e7+r+e4+ta(r,"grow","positive")+r;case 4554:return e7+ta(r,/([^-])(transform)/g,"$1"+e7+"$2")+r;case 6187:return ta(ta(ta(r,/(zoom-|grab)/,e7+"$1"),/(image-set)/,e7+"$1"),r,"")+r;case 5495:case 3959:return ta(r,/(image-set\([^]*)/,e7+"$1$`$1");case 4968:return ta(ta(r,/(.+:)(flex-)?(.*)/,e7+"box-pack:$3"+e4+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+e7+r+r;case 4095:case 3583:case 4068:case 2532:return ta(r,/(.+)-inline(.+)/,e7+"$1$2")+r;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(tc(r)-1-n>6)switch(tl(r,n+1)){case 109:if(45!==tl(r,n+4))break;case 102:return ta(r,/(.+:)(.+)-([^]+)/,"$1"+e7+"$2-$3$1"+e8+(108==tl(r,n+3)?"$3":"$2-$3"))+r;case 115:return~ts(r,"stretch")?t(ta(r,"stretch","fill-available"),n)+r:r}break;case 4949:if(115!==tl(r,n+1))break;case 6444:switch(tl(r,tc(r)-3-(~ts(r,"!important")&&10))){case 107:return ta(r,":",":"+e7)+r;case 101:return ta(r,/(.+:)([^;!]+)(;|!.+)?/,"$1"+e7+(45===tl(r,14)?"inline-":"")+"box$3$1"+e7+"$2$3$1"+e4+"$2box$3")+r}break;case 5936:switch(tl(r,n+11)){case 114:return e7+r+e4+ta(r,/[svh]\w+-[tblr]{2}/,"tb")+r;case 108:return e7+r+e4+ta(r,/[svh]\w+-[tblr]{2}/,"tb-rl")+r;case 45:return e7+r+e4+ta(r,/[svh]\w+-[tblr]{2}/,"lr")+r}return e7+r+e4+r+r}return r}(t.value,t.length);break;case tr:return tO([tb(t,{value:ta(t.value,"@","@"+e7)})],i);case te:if(t.length){var o,a;return o=t.props,a=function(r){var n;switch(n=r,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return tO([tb(t,{props:[ta(r,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return tO([tb(t,{props:[ta(r,/:(plac\w+)/,":"+e7+"input-$1")]}),tb(t,{props:[ta(r,/:(plac\w+)/,":-moz-$1")]}),tb(t,{props:[ta(r,/:(plac\w+)/,e4+"input-$1")]})],i)}return""},o.map(a).join("")}}}];function tL(t){let{styles:r,defaultTheme:n={}}=t;return(0,v.jsx)(eJ,{styles:"function"==typeof r?t=>r(null==t||0===Object.keys(t).length?n:t):r})}function tN(t,r){return e6(t,r)}"object"==typeof document&&(i=function(t){var r=t.key;if("css"===r){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))})}var i,o=t.stylisPlugins||tA,a={},s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(t){for(var r=t.getAttribute("data-emotion").split(" "),n=1;n<r.length;n++)a[r[n]]=!0;s.push(t)});var l,u,c,d,f=(u=(l=[tM,tI].concat(o,[tR,(d=function(t){c.insert(t)},function(t){t.root||(t=t.return)&&d(t)})])).length,function(t,r,n,i){for(var o="",a=0;a<u;a++)o+=l[a](t,r,n,i)||"";return o}),h={key:r,sheet:new V({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:function(t,r,n,i){var o,a;c=n,tO((a=function t(r,n,i,o,a,s,l,u,c){for(var d,f=0,h=0,m=l,g=0,y=0,v=0,b=1,_=1,w=1,S=0,x="",E=a,k=s,C=o,O=x;_;)switch(v=S,S=t_()){case 40:if(108!=v&&58==tl(O,m-1)){-1!=ts(O+=ta(tE(S),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:O+=tE(S);break;case 9:case 10:case 13:case 32:O+=function(t){for(;(tg=tw())&&tg<33;)t_();return tS(t)>2||tS(tg)>3?"":" "}(v);break;case 92:O+=function(t,r){for(var n;--r&&t_()&&!(tg<48||tg>102||tg>57&&tg<65||tg>70&&tg<97););return n=tm+(r<6&&32==tw()&&32==t_()),tu(ty,t,n)}(tm-1,7);continue;case 47:switch(tw()){case 42:case 47:td((d=function(t,r){for(;t_()&&t+tg!==57&&(t+tg!==84||47!==tw()););return"/*"+tu(ty,r,tm-1)+"*"+ti(47===t?t:t_())}(t_(),tm),tv(d,n,i,e9,ti(tg),tu(d,2,-2),0)),c);break;default:O+="/"}break;case 123*b:u[f++]=tc(O)*w;case 125*b:case 59:case 0:switch(S){case 0:case 125:_=0;case 59+h:-1==w&&(O=ta(O,/\f/g,"")),y>0&&tc(O)-m&&td(y>32?tC(O+";",o,i,m-1):tC(ta(O," ","")+";",o,i,m-2),c);break;case 59:O+=";";default:if(td(C=tk(O,n,i,f,h,a,u,x,E=[],k=[],m),s),123===S)if(0===h)t(O,n,C,C,E,s,m,u,k);else switch(99===g&&110===tl(O,3)?100:g){case 100:case 108:case 109:case 115:t(r,C,C,o&&td(tk(r,C,C,0,0,a,u,x,a,E=[],m),k),a,k,m,u,o?E:k);break;default:t(O,C,C,C,[""],k,0,u,k)}}f=h=y=0,b=w=1,x=O="",m=l;break;case 58:m=1+tc(O),y=v;default:if(b<1){if(123==S)--b;else if(125==S&&0==b++&&125==(tg=tm>0?tl(ty,--tm):0,tf--,10===tg&&(tf=1,tp--),tg))continue}switch(O+=ti(S),S*b){case 38:w=h>0?1:(O+="\f",-1);break;case 44:u[f++]=(tc(O)-1)*w,w=1;break;case 64:45===tw()&&(O+=tE(t_())),g=tw(),h=m=tc(x=O+=function(t){for(;!tS(tw());)t_();return tu(ty,t,tm)}(tm)),S++;break;case 45:45===v&&2==tc(O)&&(b=0)}}return s}("",null,null,null,[""],o=tx(o=t?t+"{"+r.styles+"}":r.styles),0,[0],o),ty="",a),f),i&&(h.inserted[r.name]=!0)}};return h.sheet.hydrate(s),h}({key:"css",prepend:!0}));let tj=(t,r)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=r(t.__emotion_styles))},tD=E(Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:tL,StyledEngineProvider:function(t){let{injectFirst:r,children:n}=t;return r&&i?(0,v.jsx)(eK,{value:i,children:n}):n},ThemeContext:eY,css:eQ,default:tN,internal_processStyles:tj,keyframes:e0},Symbol.toStringTag,{value:"Module"})));function tF(t){if("object"!=typeof t||null===t)return!1;let r=Object.getPrototypeOf(t);return!(null!==r&&r!==Object.prototype&&null!==Object.getPrototypeOf(r)||Symbol.toStringTag in t||Symbol.iterator in t)}function tB(t,r,n={clone:!0}){let i=n.clone?S({},t):t;return tF(t)&&tF(r)&&Object.keys(r).forEach(o=>{b.isValidElement(r[o])?i[o]=r[o]:tF(r[o])&&Object.prototype.hasOwnProperty.call(t,o)&&tF(t[o])?i[o]=tB(t[o],r[o],n):n.clone?i[o]=tF(r[o])?function t(r){if(b.isValidElement(r)||!tF(r))return r;let n={};return Object.keys(r).forEach(i=>{n[i]=t(r[i])}),n}(r[o]):r[o]:i[o]=r[o]}),i}let t$=E(Object.freeze(Object.defineProperty({__proto__:null,default:tB,isPlainObject:tF},Symbol.toStringTag,{value:"Module"})));function tU(t){let r="https://mui.com/production-error/?code="+t;for(let t=1;t<arguments.length;t+=1)r+="&args[]="+encodeURIComponent(arguments[t]);return"Minified MUI error #"+t+"; visit "+r+" for the full message."}let tz=Object.freeze(Object.defineProperty({__proto__:null,default:tU},Symbol.toStringTag,{value:"Module"}));function tq(t){if("string"!=typeof t)throw Error(tU(7));return t.charAt(0).toUpperCase()+t.slice(1)}let tZ=E(Object.freeze(Object.defineProperty({__proto__:null,default:tq},Symbol.toStringTag,{value:"Module"})));var tH,tV={exports:{}},tW={},tG=(s9||(s9=1,tV.exports=function(){if(tH)return tW;tH=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function g(m){if("object"==typeof m&&null!==m){var g=m.$$typeof;switch(g){case t:switch(m=m.type){case n:case o:case i:case u:case c:case h:return m;default:switch(m=m&&m.$$typeof){case s:case l:case f:case d:case a:return m;default:return g}}case r:return g}}}return tW.ContextConsumer=a,tW.ContextProvider=s,tW.Element=t,tW.ForwardRef=l,tW.Fragment=n,tW.Lazy=f,tW.Memo=d,tW.Portal=r,tW.Profiler=o,tW.StrictMode=i,tW.Suspense=u,tW.SuspenseList=c,tW.isContextConsumer=function(t){return g(t)===a},tW.isContextProvider=function(t){return g(t)===s},tW.isElement=function(r){return"object"==typeof r&&null!==r&&r.$$typeof===t},tW.isForwardRef=function(t){return g(t)===l},tW.isFragment=function(t){return g(t)===n},tW.isLazy=function(t){return g(t)===f},tW.isMemo=function(t){return g(t)===d},tW.isPortal=function(t){return g(t)===r},tW.isProfiler=function(t){return g(t)===o},tW.isStrictMode=function(t){return g(t)===i},tW.isSuspense=function(t){return g(t)===u},tW.isSuspenseList=function(t){return g(t)===c},tW.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===o||t===i||t===u||t===c||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===d||t.$$typeof===s||t.$$typeof===a||t.$$typeof===l||t.$$typeof===m||void 0!==t.getModuleId)},tW.typeOf=g,tW}()),tV.exports);let tK=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function tX(t){let r=`${t}`.match(tK);return r&&r[1]||""}function tY(t,r=""){return t.displayName||t.name||tX(t)||r}function tJ(t,r,n){let i=tY(r);return t.displayName||(""!==i?`${n}(${i})`:n)}let tQ=E(Object.freeze(Object.defineProperty({__proto__:null,default:function(t){if(null!=t){if("string"==typeof t)return t;if("function"==typeof t)return tY(t,"Component");if("object"==typeof t)switch(t.$$typeof){case tG.ForwardRef:return tJ(t,t.render,"ForwardRef");case tG.Memo:return tJ(t,t.type,"memo");default:return}}},getFunctionName:tX},Symbol.toStringTag,{value:"Module"}))),t0=["values","unit","step"],t1=t=>{let r=Object.keys(t).map(r=>({key:r,val:t[r]}))||[];return r.sort((t,r)=>t.val-r.val),r.reduce((t,r)=>S({},t,{[r.key]:r.val}),{})};function t2(t){let{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=t,o=w(t,t0),a=t1(r),s=Object.keys(a);function l(t){return`@media (min-width:${"number"==typeof r[t]?r[t]:t}${n})`}function u(t){return`@media (max-width:${("number"==typeof r[t]?r[t]:t)-i/100}${n})`}function c(t,o){let a=s.indexOf(o);return`@media (min-width:${"number"==typeof r[t]?r[t]:t}${n}) and (max-width:${(-1!==a&&"number"==typeof r[s[a]]?r[s[a]]:o)-i/100}${n})`}return S({keys:s,values:a,up:l,down:u,between:c,only:function(t){return s.indexOf(t)+1<s.length?c(t,s[s.indexOf(t)+1]):l(t)},not:function(t){let r=s.indexOf(t);return 0===r?l(s[1]):r===s.length-1?u(s[r]):c(t,s[s.indexOf(t)+1]).replace("@media","@media not all and")},unit:n},o)}let t5={borderRadius:4};function t3(t,r){return r?tB(t,r,{clone:!1}):t}let t6={xs:0,sm:600,md:900,lg:1200,xl:1536},t4={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${t6[t]}px)`};function t8(t,r,n){let i=t.theme||{};if(Array.isArray(r)){let t=i.breakpoints||t4;return r.reduce((i,o,a)=>(i[t.up(t.keys[a])]=n(r[a]),i),{})}if("object"==typeof r){let t=i.breakpoints||t4;return Object.keys(r).reduce((i,o)=>(-1!==Object.keys(t.values||t6).indexOf(o)?i[t.up(o)]=n(r[o],o):i[o]=r[o],i),{})}return n(r)}function t7(t={}){var r;return(null==(r=t.keys)?void 0:r.reduce((r,n)=>(r[t.up(n)]={},r),{}))||{}}function t9(t,r){return t.reduce((t,r)=>{let n=t[r];return n&&0!==Object.keys(n).length||delete t[r],t},r)}function re({values:t,breakpoints:r,base:n}){let i,o=Object.keys(n||function(t,r){if("object"!=typeof t)return{};let n={},i=Object.keys(r);return Array.isArray(t)?i.forEach((r,i)=>{i<t.length&&(n[r]=!0)}):i.forEach(r=>{null!=t[r]&&(n[r]=!0)}),n}(t,r));return 0===o.length?t:o.reduce((r,n,o)=>(Array.isArray(t)?(r[n]=null!=t[o]?t[o]:t[i],i=o):"object"==typeof t?(r[n]=null!=t[n]?t[n]:t[i],i=n):r[n]=t,r),{})}function rt(t,r,n=!0){if(!r||"string"!=typeof r)return null;if(t&&t.vars&&n){let n=`vars.${r}`.split(".").reduce((t,r)=>t&&t[r]?t[r]:null,t);if(null!=n)return n}return r.split(".").reduce((t,r)=>t&&null!=t[r]?t[r]:null,t)}function rr(t,r,n,i=n){let o;return o="function"==typeof t?t(n):Array.isArray(t)?t[n]||i:rt(t,n)||i,r&&(o=r(o,i,t)),o}function rn(t){let{prop:r,cssProperty:n=t.prop,themeKey:i,transform:o}=t,a=t=>{if(null==t[r])return null;let a=t[r],s=rt(t.theme,i)||{};return t8(t,a,t=>{let i=rr(s,o,t);return t===i&&"string"==typeof t&&(i=rr(s,o,`${r}${"default"===t?"":tq(t)}`,t)),!1===n?i:{[n]:i}})};return a.propTypes={},a.filterProps=[r],a}let ri={m:"margin",p:"padding"},ro={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ra={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},rs=function(){let t={};return r=>(void 0===t[r]&&(t[r]=(t=>{if(t.length>2){if(!ra[t])return[t];t=ra[t]}let[r,n]=t.split(""),i=ri[r],o=ro[n]||"";return Array.isArray(o)?o.map(t=>i+t):[i+o]})(r)),t[r])}(),rl=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ru=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function rc(t,r,n,i){var o;let a=null!=(o=rt(t,r,!1))?o:n;return"number"==typeof a?t=>"string"==typeof t?t:a*t:Array.isArray(a)?t=>"string"==typeof t?t:a[t]:"function"==typeof a?a:()=>{}}function rd(t){return rc(t,"spacing",8,"spacing")}function rp(t,r){if("string"==typeof r||null==r)return r;let n=t(Math.abs(r));return r>=0?n:"number"==typeof n?-n:`-${n}`}function rf(t,r){let n=rd(t.theme);return Object.keys(t).map(i=>(function(t,r,n,i){var o;if(-1===r.indexOf(n))return null;let a=(o=rs(n),t=>o.reduce((r,n)=>(r[n]=rp(i,t),r),{}));return t8(t,t[n],a)})(t,r,i,n)).reduce(t3,{})}function rm(t){return rf(t,rl)}function rg(t){return rf(t,ru)}function ry(...t){let r=t.reduce((t,r)=>(r.filterProps.forEach(n=>{t[n]=r}),t),{}),n=t=>Object.keys(t).reduce((n,i)=>r[i]?t3(n,r[i](t)):n,{});return n.propTypes={},n.filterProps=t.reduce((t,r)=>t.concat(r.filterProps),[]),n}function rv(t){return"number"!=typeof t?t:`${t}px solid`}function rb(t,r){return rn({prop:t,themeKey:"borders",transform:r})}[...rl,...ru],rm.propTypes={},rm.filterProps=rl,rg.propTypes={},rg.filterProps=ru;let r_=rb("border",rv),rw=rb("borderTop",rv),rS=rb("borderRight",rv),rx=rb("borderBottom",rv),rE=rb("borderLeft",rv),rk=rb("borderColor"),rC=rb("borderTopColor"),rO=rb("borderRightColor"),rR=rb("borderBottomColor"),rT=rb("borderLeftColor"),rP=rb("outline",rv),rM=rb("outlineColor"),rI=t=>{if(void 0!==t.borderRadius&&null!==t.borderRadius){let r=rc(t.theme,"shape.borderRadius",4,"borderRadius");return t8(t,t.borderRadius,t=>({borderRadius:rp(r,t)}))}return null};rI.propTypes={},rI.filterProps=["borderRadius"],ry(r_,rw,rS,rx,rE,rk,rC,rO,rR,rT,rI,rP,rM);let rA=t=>{if(void 0!==t.gap&&null!==t.gap){let r=rc(t.theme,"spacing",8,"gap");return t8(t,t.gap,t=>({gap:rp(r,t)}))}return null};rA.propTypes={},rA.filterProps=["gap"];let rL=t=>{if(void 0!==t.columnGap&&null!==t.columnGap){let r=rc(t.theme,"spacing",8,"columnGap");return t8(t,t.columnGap,t=>({columnGap:rp(r,t)}))}return null};rL.propTypes={},rL.filterProps=["columnGap"];let rN=t=>{if(void 0!==t.rowGap&&null!==t.rowGap){let r=rc(t.theme,"spacing",8,"rowGap");return t8(t,t.rowGap,t=>({rowGap:rp(r,t)}))}return null};function rj(t,r){return"grey"===r?r:t}function rD(t){return t<=1&&0!==t?100*t+"%":t}rN.propTypes={},rN.filterProps=["rowGap"],ry(rA,rL,rN,rn({prop:"gridColumn"}),rn({prop:"gridRow"}),rn({prop:"gridAutoFlow"}),rn({prop:"gridAutoColumns"}),rn({prop:"gridAutoRows"}),rn({prop:"gridTemplateColumns"}),rn({prop:"gridTemplateRows"}),rn({prop:"gridTemplateAreas"}),rn({prop:"gridArea"})),ry(rn({prop:"color",themeKey:"palette",transform:rj}),rn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:rj}),rn({prop:"backgroundColor",themeKey:"palette",transform:rj}));let rF=rn({prop:"width",transform:rD}),rB=t=>void 0!==t.maxWidth&&null!==t.maxWidth?t8(t,t.maxWidth,r=>{var n,i;let o=(null==(n=t.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[r])||t6[r];return o?"px"!==(null==(i=t.theme)||null==(i=i.breakpoints)?void 0:i.unit)?{maxWidth:`${o}${t.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:rD(r)}}):null;rB.filterProps=["maxWidth"];let r$=rn({prop:"minWidth",transform:rD}),rU=rn({prop:"height",transform:rD}),rz=rn({prop:"maxHeight",transform:rD}),rq=rn({prop:"minHeight",transform:rD});rn({prop:"size",cssProperty:"width",transform:rD}),rn({prop:"size",cssProperty:"height",transform:rD}),ry(rF,rB,r$,rU,rz,rq,rn({prop:"boxSizing"}));let rZ={border:{themeKey:"borders",transform:rv},borderTop:{themeKey:"borders",transform:rv},borderRight:{themeKey:"borders",transform:rv},borderBottom:{themeKey:"borders",transform:rv},borderLeft:{themeKey:"borders",transform:rv},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:rv},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:rI},color:{themeKey:"palette",transform:rj},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:rj},backgroundColor:{themeKey:"palette",transform:rj},p:{style:rg},pt:{style:rg},pr:{style:rg},pb:{style:rg},pl:{style:rg},px:{style:rg},py:{style:rg},padding:{style:rg},paddingTop:{style:rg},paddingRight:{style:rg},paddingBottom:{style:rg},paddingLeft:{style:rg},paddingX:{style:rg},paddingY:{style:rg},paddingInline:{style:rg},paddingInlineStart:{style:rg},paddingInlineEnd:{style:rg},paddingBlock:{style:rg},paddingBlockStart:{style:rg},paddingBlockEnd:{style:rg},m:{style:rm},mt:{style:rm},mr:{style:rm},mb:{style:rm},ml:{style:rm},mx:{style:rm},my:{style:rm},margin:{style:rm},marginTop:{style:rm},marginRight:{style:rm},marginBottom:{style:rm},marginLeft:{style:rm},marginX:{style:rm},marginY:{style:rm},marginInline:{style:rm},marginInlineStart:{style:rm},marginInlineEnd:{style:rm},marginBlock:{style:rm},marginBlockStart:{style:rm},marginBlockEnd:{style:rm},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:rA},rowGap:{style:rN},columnGap:{style:rL},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:rD},maxWidth:{style:rB},minWidth:{transform:rD},height:{transform:rD},maxHeight:{transform:rD},minHeight:{transform:rD},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function rH(){function t(t,r,n,i){let o={[t]:r,theme:n},a=i[t];if(!a)return{[t]:r};let{cssProperty:s=t,themeKey:l,transform:u,style:c}=a;if(null==r)return null;if("typography"===l&&"inherit"===r)return{[t]:r};let d=rt(n,l)||{};return c?c(o):t8(o,r,r=>{let n=rr(d,u,r);return r===n&&"string"==typeof r&&(n=rr(d,u,`${t}${"default"===r?"":tq(r)}`,r)),!1===s?n:{[s]:n}})}return function r(n){var i;let{sx:o,theme:a={}}=n||{};if(!o)return null;let s=null!=(i=a.unstable_sxConfig)?i:rZ;function l(n){let i=n;if("function"==typeof n)i=n(a);else if("object"!=typeof n)return n;if(!i)return null;let o=t7(a.breakpoints),l=Object.keys(o),u=o;return Object.keys(i).forEach(n=>{var o;let l="function"==typeof(o=i[n])?o(a):o;if(null!=l)if("object"==typeof l)if(s[n])u=t3(u,t(n,l,a,s));else{let t=t8({theme:a},l,t=>({[n]:t}));!function(...t){let r=new Set(t.reduce((t,r)=>t.concat(Object.keys(r)),[]));return t.every(t=>r.size===Object.keys(t).length)}(t,l)?u=t3(u,t):u[n]=r({sx:l,theme:a})}else u=t3(u,t(n,l,a,s))}),t9(l,u)}return Array.isArray(o)?o.map(l):l(o)}}let rV=rH();function rW(t,r){return this.vars&&"function"==typeof this.getColorSchemeSelector?{[this.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)")]:r}:this.palette.mode===t?r:{}}rV.filterProps=["sx"];let rG=["breakpoints","palette","spacing","shape"];function rK(t={},...r){let{breakpoints:n={},palette:i={},spacing:o,shape:a={}}=t,s=w(t,rG),l=t2(n),u=function(t=8){if(t.mui)return t;let r=rd({spacing:t}),n=(...t)=>(0===t.length?[1]:t).map(t=>{let n=r(t);return"number"==typeof n?`${n}px`:n}).join(" ");return n.mui=!0,n}(o),c=tB({breakpoints:l,direction:"ltr",components:{},palette:S({mode:"light"},i),spacing:u,shape:S({},t5,a)},s);return c.applyStyles=rW,(c=r.reduce((t,r)=>tB(t,r),c)).unstable_sxConfig=S({},rZ,null==s?void 0:s.unstable_sxConfig),c.unstable_sx=function(t){return rV({sx:t,theme:this})},c}let rX=E(Object.freeze(Object.defineProperty({__proto__:null,default:rK,private_createBreakpoints:t2,unstable_applyStyles:rW},Symbol.toStringTag,{value:"Module"}))),rY=["sx"];function rJ(t){let r,{sx:n}=t,{systemProps:i,otherProps:o}=(t=>{var r,n;let i={systemProps:{},otherProps:{}},o=null!=(r=null==t||null==(n=t.theme)?void 0:n.unstable_sxConfig)?r:rZ;return Object.keys(t).forEach(r=>{o[r]?i.systemProps[r]=t[r]:i.otherProps[r]=t[r]}),i})(w(t,rY));return r=Array.isArray(n)?[i,...n]:"function"==typeof n?(...t)=>{let r=n(...t);return tF(r)?S({},i,r):i}:S({},i,n),S({},o,{sx:r})}let rQ=E(Object.freeze(Object.defineProperty({__proto__:null,default:rV,extendSxProp:rJ,unstable_createStyleFunctionSx:rH,unstable_defaultSxConfig:rZ},Symbol.toStringTag,{value:"Module"}))),r0=x(function(){if(le)return j;le=1;var t=F();Object.defineProperty(j,"__esModule",{value:!0}),j.default=function(t={}){let{themeId:a,defaultTheme:l=h,rootShouldForwardProp:u=f,slotShouldForwardProp:d=f}=t,v=t=>(0,s.default)((0,r.default)({},t,{theme:g((0,r.default)({},t,{defaultTheme:l,themeId:a}))}));return v.__mui_systemSx=!0,(t,s={})=>{var h;let b;(0,i.internal_processStyles)(t,t=>t.filter(t=>!(null!=t&&t.__mui_systemSx)));let{name:_,slot:w,skipVariantsResolver:S,skipSx:x,overridesResolver:E=(h=m(w))?(t,r)=>r[h]:null}=s,k=(0,n.default)(s,c),C=void 0!==S?S:w&&"Root"!==w&&"root"!==w||!1,O=x||!1,R=f;"Root"===w||"root"===w?R=u:w?R=d:"string"==typeof t&&t.charCodeAt(0)>96&&(R=void 0);let T=(0,i.default)(t,(0,r.default)({shouldForwardProp:R,label:b},k)),P=t=>"function"==typeof t&&t.__emotion_real!==t||(0,o.isPlainObject)(t)?n=>y(t,(0,r.default)({},n,{theme:g({theme:n.theme,defaultTheme:l,themeId:a})})):t,M=(n,...i)=>{let o=P(n),s=i?i.map(P):[];_&&E&&s.push(t=>{let n=g((0,r.default)({},t,{defaultTheme:l,themeId:a}));if(!n.components||!n.components[_]||!n.components[_].styleOverrides)return null;let i=n.components[_].styleOverrides,o={};return Object.entries(i).forEach(([i,a])=>{o[i]=y(a,(0,r.default)({},t,{theme:n}))}),E(t,o)}),_&&!C&&s.push(t=>{var n;let i=g((0,r.default)({},t,{defaultTheme:l,themeId:a}));return y({variants:null==i||null==(n=i.components)||null==(n=n[_])?void 0:n.variants},(0,r.default)({},t,{theme:i}))}),O||s.push(v);let u=s.length-i.length;if(Array.isArray(n)&&u>0){let t=Array(u).fill("");(o=[...n,...t]).raw=[...n.raw,...t]}let c=T(o,...s);return t.muiName&&(c.muiName=t.muiName),c};return T.withConfig&&(M.withConfig=T.withConfig),M}},j.shouldForwardProp=f,j.systemDefaultTheme=void 0;var r=t((B||(B=1,function(t){function r(){return t.exports=r=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,r.apply(null,arguments)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}(U)),U.exports)),n=t(($||($=1,z.exports=function(t,r){if(null==t)return{};var n={};for(var i in t)if(({}).hasOwnProperty.call(t,i)){if(-1!==r.indexOf(i))continue;n[i]=t[i]}return n},z.exports.__esModule=!0,z.exports.default=z.exports),z.exports)),i=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=d(void 0);if(r&&r.has(t))return r.get(t);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=t[o]}return n.default=t,r&&r.set(t,n),n}(tD),o=t$,a=(t(tZ),t(tQ),t(rX)),s=t(rQ);let l=["ownerState"],u=["variants"],c=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(d=function(t){return t?n:r})(t)}function f(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}let h=j.systemDefaultTheme=(0,a.default)(),m=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function g({defaultTheme:t,theme:r,themeId:n}){return 0===Object.keys(r).length?t:r[n]||r}function y(t,i){let{ownerState:o}=i,a=(0,n.default)(i,l),s="function"==typeof t?t((0,r.default)({ownerState:o},a)):t;if(Array.isArray(s))return s.flatMap(t=>y(t,(0,r.default)({ownerState:o},a)));if(s&&"object"==typeof s&&Array.isArray(s.variants)){let{variants:t=[]}=s,i=(0,n.default)(s,u);return t.forEach(t=>{let n=!0;"function"==typeof t.props?n=t.props((0,r.default)({ownerState:o},a,o)):Object.keys(t.props).forEach(r=>{(null==o?void 0:o[r])!==t.props[r]&&a[r]!==t.props[r]&&(n=!1)}),n&&(Array.isArray(i)||(i=[i]),i.push("function"==typeof t.style?t.style((0,r.default)({ownerState:o},a,o)):t.style))}),i}return s}return j}()),r1=t=>t,r2=(l=r1,{configure(t){l=t},generate:t=>l(t),reset(){l=r1}}),r5={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 r3(t,r,n="Mui"){let i=r5[r];return i?`${n}-${i}`:`${r2.generate(t)}-${r}`}var r6={};let r4=E(tz);function r8(t,r=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(t,n))}let r7=E(Object.freeze(Object.defineProperty({__proto__:null,default:r8},Symbol.toStringTag,{value:"Module"})));var r9=function(){if(lt)return r6;lt=1;var t=F();Object.defineProperty(r6,"__esModule",{value:!0}),r6.alpha=d,r6.blend=function(t,r,n,i=1){let o=(t,r)=>Math.round((t**(1/i)*(1-n)+r**(1/i)*n)**i),s=a(t),u=a(r);return l({type:"rgb",values:[o(s.values[0],u.values[0]),o(s.values[1],u.values[1]),o(s.values[2],u.values[2])]})},r6.colorChannel=void 0,r6.darken=f,r6.decomposeColor=a,r6.emphasize=m,r6.getContrastRatio=function(t,r){let n=c(t),i=c(r);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)},r6.getLuminance=c,r6.hexToRgb=o,r6.hslToRgb=u,r6.lighten=h,r6.private_safeAlpha=function(t,r,n){try{return d(t,r)}catch(r){return t}},r6.private_safeColorChannel=void 0,r6.private_safeDarken=function(t,r,n){try{return f(t,r)}catch(r){return t}},r6.private_safeEmphasize=function(t,r,n){try{return m(t,r)}catch(r){return t}},r6.private_safeLighten=function(t,r,n){try{return h(t,r)}catch(r){return t}},r6.recomposeColor=l,r6.rgbToHex=function(t){if(0===t.indexOf("#"))return t;let{values:r}=a(t);return`#${r.map((t,r)=>(function(t){let r=t.toString(16);return 1===r.length?`0${r}`:r})(3===r?Math.round(255*t):t)).join("")}`};var r=t(r4),n=t(r7);function i(t,r=0,o=1){return(0,n.default)(t,r,o)}function o(t){t=t.slice(1);let r=RegExp(`.{1,${t.length>=6?2:1}}`,"g"),n=t.match(r);return n&&1===n[0].length&&(n=n.map(t=>t+t)),n?`rgb${4===n.length?"a":""}(${n.map((t,r)=>r<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3).join(", ")})`:""}function a(t){if(t.type)return t;if("#"===t.charAt(0))return a(o(t));let n=t.indexOf("("),i=t.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(i))throw Error((0,r.default)(9,t));let s,l=t.substring(n+1,t.length-1);if("color"===i){if(s=(l=l.split(" ")).shift(),4===l.length&&"/"===l[3].charAt(0)&&(l[3]=l[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s))throw Error((0,r.default)(10,s))}else l=l.split(",");return{type:i,values:l=l.map(t=>parseFloat(t)),colorSpace:s}}let s=t=>{let r=a(t);return r.values.slice(0,3).map((t,n)=>-1!==r.type.indexOf("hsl")&&0!==n?`${t}%`:t).join(" ")};function l(t){let{type:r,colorSpace:n}=t,{values:i}=t;return -1!==r.indexOf("rgb")?i=i.map((t,r)=>r<3?parseInt(t,10):t):-1!==r.indexOf("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),i=-1!==r.indexOf("color")?`${n} ${i.join(" ")}`:`${i.join(", ")}`,`${r}(${i})`}function u(t){let{values:r}=t=a(t),n=r[0],i=r[1]/100,o=r[2]/100,s=i*Math.min(o,1-o),u=(t,r=(t+n/30)%12)=>o-s*Math.max(Math.min(r-3,9-r,1),-1),c="rgb",d=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===t.type&&(c+="a",d.push(r[3])),l({type:c,values:d})}function c(t){let r="hsl"===(t=a(t)).type||"hsla"===t.type?a(u(t)).values:t.values;return Number((.2126*(r=r.map(r=>("color"!==t.type&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)))[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function d(t,r){return t=a(t),r=i(r),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),"color"===t.type?t.values[3]=`/${r}`:t.values[3]=r,l(t)}function f(t,r){if(t=a(t),r=i(r),-1!==t.type.indexOf("hsl"))t.values[2]*=1-r;else if(-1!==t.type.indexOf("rgb")||-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]*=1-r;return l(t)}function h(t,r){if(t=a(t),r=i(r),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*r;else if(-1!==t.type.indexOf("rgb"))for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*r;else if(-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*r;return l(t)}function m(t,r=.15){return c(t)>.5?f(t,r):h(t,r)}return r6.colorChannel=s,r6.private_safeColorChannel=(t,r)=>{try{return s(t)}catch(r){return t}},r6}();let ne={black:"#000",white:"#fff"},nt={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"},nr={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},nn={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},ni={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},no={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},na={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},ns={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},nl=["mode","contrastThreshold","tonalOffset"],nu={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:ne.white,default:ne.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}},nc={text:{primary:ne.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:ne.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 nd(t,r,n,i){let o=i.light||i,a=i.dark||1.5*i;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:"light"===r?t.light=r9.lighten(t.main,o):"dark"===r&&(t.dark=r9.darken(t.main,a)))}let np=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],nf={textTransform:"uppercase"},nh='"Roboto", "Helvetica", "Arial", sans-serif';function nm(...t){return`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,0.2),${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,0.14),${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,0.12)`}let ng=["none",nm(0,2,1,-1,0,1,1,0,0,1,3,0),nm(0,3,1,-2,0,2,2,0,0,1,5,0),nm(0,3,3,-2,0,3,4,0,0,1,8,0),nm(0,2,4,-1,0,4,5,0,0,1,10,0),nm(0,3,5,-1,0,5,8,0,0,1,14,0),nm(0,3,5,-1,0,6,10,0,0,1,18,0),nm(0,4,5,-2,0,7,10,1,0,2,16,1),nm(0,5,5,-3,0,8,10,1,0,3,14,2),nm(0,5,6,-3,0,9,12,1,0,3,16,2),nm(0,6,6,-3,0,10,14,1,0,4,18,3),nm(0,6,7,-4,0,11,15,1,0,4,20,3),nm(0,7,8,-4,0,12,17,2,0,5,22,4),nm(0,7,8,-4,0,13,19,2,0,5,24,4),nm(0,7,9,-4,0,14,21,2,0,5,26,4),nm(0,8,9,-5,0,15,22,2,0,6,28,5),nm(0,8,10,-5,0,16,24,2,0,6,30,5),nm(0,8,11,-5,0,17,26,2,0,6,32,5),nm(0,9,11,-5,0,18,28,2,0,7,34,6),nm(0,9,12,-6,0,19,29,2,0,7,36,6),nm(0,10,13,-6,0,20,31,3,0,8,38,7),nm(0,10,13,-6,0,21,33,3,0,8,40,7),nm(0,10,14,-6,0,22,35,3,0,8,42,7),nm(0,11,14,-7,0,23,36,3,0,9,44,8),nm(0,11,15,-7,0,24,38,3,0,9,46,8)],ny=["duration","easing","delay"],n_={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)"},nw={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function nS(t){return`${Math.round(t)}ms`}function nx(t){if(!t)return 0;let r=t/36;return Math.round(10*(4+15*r**.25+r/5))}let nE={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},nk=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function nC(t={},...r){var n;let{mixins:i={},palette:o={},transitions:a={},typography:s={}}=t,l=w(t,nk);if(t.vars)throw Error(tU(18));let u=function(t){let{mode:r="light",contrastThreshold:n=3,tonalOffset:i=.2}=t,o=w(t,nl),a=t.primary||function(t="light"){return"dark"===t?{main:no[200],light:no[50],dark:no[400]}:{main:no[700],light:no[400],dark:no[800]}}(r),s=t.secondary||function(t="light"){return"dark"===t?{main:nr[200],light:nr[50],dark:nr[400]}:{main:nr[500],light:nr[300],dark:nr[700]}}(r),l=t.error||function(t="light"){return"dark"===t?{main:nn[500],light:nn[300],dark:nn[700]}:{main:nn[700],light:nn[400],dark:nn[800]}}(r),u=t.info||function(t="light"){return"dark"===t?{main:na[400],light:na[300],dark:na[700]}:{main:na[700],light:na[500],dark:na[900]}}(r),c=t.success||function(t="light"){return"dark"===t?{main:ns[400],light:ns[300],dark:ns[700]}:{main:ns[800],light:ns[500],dark:ns[900]}}(r),d=t.warning||function(t="light"){return"dark"===t?{main:ni[400],light:ni[300],dark:ni[700]}:{main:"#ed6c02",light:ni[500],dark:ni[900]}}(r);function f(t){return r9.getContrastRatio(t,nc.text.primary)>=n?nc.text.primary:nu.text.primary}let h=({color:t,name:r,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(t=S({},t)).main&&t[n]&&(t.main=t[n]),!t.hasOwnProperty("main"))throw Error(tU(11,r?` (${r})`:"",n));if("string"!=typeof t.main)throw Error(tU(12,r?` (${r})`:"",JSON.stringify(t.main)));return nd(t,"light",o,i),nd(t,"dark",a,i),t.contrastText||(t.contrastText=f(t.main)),t};return tB(S({common:S({},ne),mode:r,primary:h({color:a,name:"primary"}),secondary:h({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:l,name:"error"}),warning:h({color:d,name:"warning"}),info:h({color:u,name:"info"}),success:h({color:c,name:"success"}),grey:nt,contrastThreshold:n,getContrastText:f,augmentColor:h,tonalOffset:i},{dark:nc,light:nu}[r]),o)}(o),c=rK(t),d=tB(c,{mixins:(n=c.breakpoints,S({toolbar:{minHeight:56,[n.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[n.up("sm")]:{minHeight:64}}},i)),palette:u,shadows:ng.slice(),typography:function(t,r){let n="function"==typeof r?r(t):r,{fontFamily:i=nh,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:s=400,fontWeightMedium:l=500,fontWeightBold:u=700,htmlFontSize:c=16,allVariants:d,pxToRem:f}=n,h=w(n,np),m=o/14,g=f||(t=>t/c*m+"rem"),y=(t,r,n,o,a)=>S({fontFamily:i,fontWeight:t,fontSize:g(r),lineHeight:n},i===nh?{letterSpacing:Math.round(o/r*1e5)/1e5+"em"}:{},a,d),v={h1:y(a,96,1.167,-1.5),h2:y(a,60,1.2,-.5),h3:y(s,48,1.167,0),h4:y(s,34,1.235,.25),h5:y(s,24,1.334,0),h6:y(l,20,1.6,.15),subtitle1:y(s,16,1.75,.15),subtitle2:y(l,14,1.57,.1),body1:y(s,16,1.5,.15),body2:y(s,14,1.43,.15),button:y(l,14,1.75,.4,nf),caption:y(s,12,1.66,.4),overline:y(s,12,2.66,1,nf),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return tB(S({htmlFontSize:c,pxToRem:g,fontFamily:i,fontSize:o,fontWeightLight:a,fontWeightRegular:s,fontWeightMedium:l,fontWeightBold:u},v),h,{clone:!1})}(u,s),transitions:function(t){let r=S({},n_,t.easing),n=S({},nw,t.duration);return S({getAutoHeightDuration:nx,create:(t=["all"],i={})=>{let{duration:o=n.standard,easing:a=r.easeInOut,delay:s=0}=i;return w(i,ny),(Array.isArray(t)?t:[t]).map(t=>`${t} ${"string"==typeof o?o:nS(o)} ${a} ${"string"==typeof s?s:nS(s)}`).join(",")}},t,{easing:r,duration:n})}(a),zIndex:S({},nE)});return d=tB(d,l),(d=r.reduce((t,r)=>tB(t,r),d)).unstable_sxConfig=S({},rZ,null==l?void 0:l.unstable_sxConfig),d.unstable_sx=function(t){return rV({sx:t,theme:this})},d}let nO=nC(),nR="$$material";function nT(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}let nP=t=>nT(t)&&"classes"!==t,nM=r0({themeId:nR,defaultTheme:nO,rootShouldForwardProp:nP});function nI(t,r){let n=S({},r);return Object.keys(t).forEach(i=>{if(i.toString().match(/^(components|slots)$/))n[i]=S({},t[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){let o=t[i]||{},a=r[i];n[i]={},a&&Object.keys(a)?o&&Object.keys(o)?(n[i]=S({},a),Object.keys(o).forEach(t=>{n[i][t]=nI(o[t],a[t])})):n[i]=a:n[i]=o}else void 0===n[i]&&(n[i]=t[i])}),n}function nA(t){let{theme:r,name:n,props:i}=t;return r&&r.components&&r.components[n]&&r.components[n].defaultProps?nI(r.components[n].defaultProps,i):i}function nL(t=null){let r=b.useContext(eY);return r&&0!==Object.keys(r).length?r:t}let nN=rK();function nj(t=nN){return nL(t)}function nD({props:t,name:r,defaultTheme:n,themeId:i}){let o=nj(n);return i&&(o=o[i]||o),nA({theme:o,name:r,props:t})}function nF({props:t,name:r}){return nD({props:t,name:r,defaultTheme:nO,themeId:nR})}let nB=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t};function n$(){return null}n$.isRequired=n$;let nU=t=>((t<1?5.11916*t**2:4.5*Math.log(t+1)+2)/100).toFixed(2);function nz({styles:t,themeId:r,defaultTheme:n={}}){let i=nj(n),o="function"==typeof t?t(r&&i[r]||i):t;return(0,v.jsx)(tL,{styles:o})}let nq=["className","component"];function nZ(t,r,n="Mui"){let i={};return r.forEach(r=>{i[r]=r3(t,r,n)}),i}let nH=["ownerState"],nV=["variants"],nW=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function nG(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}let nK=rK(),nX=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function nY({defaultTheme:t,theme:r,themeId:n}){return 0===Object.keys(r).length?t:r[n]||r}function nJ(t,r){let{ownerState:n}=r,i=w(r,nH),o="function"==typeof t?t(S({ownerState:n},i)):t;if(Array.isArray(o))return o.flatMap(t=>nJ(t,S({ownerState:n},i)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:t=[]}=o,r=w(o,nV);return t.forEach(t=>{let o=!0;"function"==typeof t.props?o=t.props(S({ownerState:n},i,n)):Object.keys(t.props).forEach(r=>{(null==n?void 0:n[r])!==t.props[r]&&i[r]!==t.props[r]&&(o=!1)}),o&&(Array.isArray(r)||(r=[r]),r.push("function"==typeof t.style?t.style(S({ownerState:n},i,n)):t.style))}),r}return o}let nQ=function(t={}){let{themeId:r,defaultTheme:n=nK,rootShouldForwardProp:i=nG,slotShouldForwardProp:o=nG}=t,a=t=>rV(S({},t,{theme:nY(S({},t,{defaultTheme:n,themeId:r}))}));return a.__mui_systemSx=!0,(t,s={})=>{var l;let u;tj(t,t=>t.filter(t=>!(null!=t&&t.__mui_systemSx)));let{name:c,slot:d,skipVariantsResolver:f,skipSx:h,overridesResolver:m=(l=nX(d))?(t,r)=>r[l]:null}=s,g=w(s,nW),y=void 0!==f?f:d&&"Root"!==d&&"root"!==d||!1,v=h||!1,b=nG;"Root"===d||"root"===d?b=i:d?b=o:"string"==typeof t&&t.charCodeAt(0)>96&&(b=void 0);let _=tN(t,S({shouldForwardProp:b,label:u},g)),x=t=>"function"==typeof t&&t.__emotion_real!==t||tF(t)?i=>nJ(t,S({},i,{theme:nY({theme:i.theme,defaultTheme:n,themeId:r})})):t,E=(i,...o)=>{let s=x(i),l=o?o.map(x):[];c&&m&&l.push(t=>{let i=nY(S({},t,{defaultTheme:n,themeId:r}));if(!i.components||!i.components[c]||!i.components[c].styleOverrides)return null;let o=i.components[c].styleOverrides,a={};return Object.entries(o).forEach(([r,n])=>{a[r]=nJ(n,S({},t,{theme:i}))}),m(t,a)}),c&&!y&&l.push(t=>{var i;let o=nY(S({},t,{defaultTheme:n,themeId:r}));return nJ({variants:null==o||null==(i=o.components)||null==(i=i[c])?void 0:i.variants},S({},t,{theme:o}))}),v||l.push(a);let u=l.length-o.length;if(Array.isArray(i)&&u>0){let t=Array(u).fill("");(s=[...i,...t]).raw=[...i.raw,...t]}let d=_(s,...l);return t.muiName&&(d.muiName=t.muiName),d};return _.withConfig&&(E.withConfig=_.withConfig),E}}(),n0="undefined"!=typeof window?b.useLayoutEffect:b.useEffect,n1=b.useSyncExternalStore;function n2(t,r={}){let n=nL(),i="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:a=i?window.matchMedia:null,ssrMatchMedia:s=null,noSsr:l=!1}=nA({name:"MuiUseMediaQuery",props:r,theme:n}),u="function"==typeof t?t(n):t;return(void 0!==n1?function(t,r,n,i,o){let a=b.useCallback(()=>r,[r]),s=b.useMemo(()=>{if(o&&n)return()=>n(t).matches;if(null!==i){let{matches:r}=i(t);return()=>r}return a},[a,t,i,o,n]),[l,u]=b.useMemo(()=>{if(null===n)return[a,()=>()=>{}];let r=n(t);return[()=>r.matches,t=>(r.addListener(t),()=>{r.removeListener(t)})]},[a,n,t]);return n1(u,l,s)}:function(t,r,n,i,o){let[a,s]=b.useState(()=>o&&n?n(t).matches:i?i(t).matches:r);return n0(()=>{let r=!0;if(!n)return;let i=n(t),o=()=>{r&&s(i.matches)};return o(),i.addListener(o),()=>{r=!1,i.removeListener(o)}},[t,n]),a})(u=u.replace(/^@media( ?)/m,""),o,a,s,l)}function n5(t,r=0,n=1){return r8(t,r,n)}function n3(t){if(t.type)return t;if("#"===t.charAt(0))return n3(function(t){t=t.slice(1);let r=RegExp(`.{1,${t.length>=6?2:1}}`,"g"),n=t.match(r);return n&&1===n[0].length&&(n=n.map(t=>t+t)),n?`rgb${4===n.length?"a":""}(${n.map((t,r)=>r<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3).join(", ")})`:""}(t));let r=t.indexOf("("),n=t.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw Error(tU(9,t));let i,o=t.substring(r+1,t.length-1);if("color"===n){if(i=(o=o.split(" ")).shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw Error(tU(10,i))}else o=o.split(",");return{type:n,values:o=o.map(t=>parseFloat(t)),colorSpace:i}}function n6(t){let{type:r,colorSpace:n}=t,{values:i}=t;return -1!==r.indexOf("rgb")?i=i.map((t,r)=>r<3?parseInt(t,10):t):-1!==r.indexOf("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),i=-1!==r.indexOf("color")?`${n} ${i.join(" ")}`:`${i.join(", ")}`,`${r}(${i})`}function n4(t,r){return t=n3(t),r=n5(r),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),"color"===t.type?t.values[3]=`/${r}`:t.values[3]=r,n6(t)}function n8(t,r){if(t=n3(t),r=n5(r),-1!==t.type.indexOf("hsl"))t.values[2]*=1-r;else if(-1!==t.type.indexOf("rgb")||-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]*=1-r;return n6(t)}function n7(t,r){if(t=n3(t),r=n5(r),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*r;else if(-1!==t.type.indexOf("rgb"))for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*r;else if(-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*r;return n6(t)}let n9=(O.element,()=>null);function ie(...t){return t.reduce((t,r)=>null==r?t:function(...n){t.apply(this,n),r.apply(this,n)},()=>{})}function it(t,r=166){let n;function i(...o){clearTimeout(n),n=setTimeout(()=>{t.apply(this,o)},r)}return i.clear=()=>{clearTimeout(n)},i}function ir(t,r){var n,i;return b.isValidElement(t)&&-1!==r.indexOf(null!=(n=t.type.muiName)?n:null==(i=t.type)||null==(i=i._payload)||null==(i=i.value)?void 0:i.muiName)}function ii(t){return t&&t.ownerDocument||document}function io(t){return ii(t).defaultView||window}function ia(t,r){"function"==typeof t?t(r):t&&(t.current=r)}O.element.isRequired,n9.isRequired=()=>null,O.elementType,O.oneOfType([O.func,O.object]);let is=0,il=(k||(k=n.t(b,2)))["useId".toString()];function iu(t){if(void 0!==il){let r=il();return null!=t?t:r}let[r,n]=b.useState(t),i=t||r;return b.useEffect(()=>{null==r&&(is+=1,n(`mui-${is}`))},[r]),i}function ic({controlled:t,default:r,name:n,state:i="value"}){let{current:o}=b.useRef(void 0!==t),[a,s]=b.useState(r);return[o?t:a,b.useCallback(t=>{o||s(t)},[])]}function id(t){let r=b.useRef(t);return n0(()=>{r.current=t}),b.useRef((...t)=>(0,r.current)(...t)).current}function ip(...t){return b.useMemo(()=>t.every(t=>null==t)?null:r=>{t.forEach(t=>{ia(t,r)})},t)}let ih={},im=[];let Ma=class Ma{static create(){return new Ma}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}};function ig(){var t;let r=function(t){let r=b.useRef(ih);return r.current===ih&&(r.current=t(void 0)),r}(Ma.create).current;return t=r.disposeEffect,b.useEffect(t,im),r}let iy=!0,ib=!1,i_=new Ma,iw={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 iS(t){t.metaKey||t.altKey||t.ctrlKey||(iy=!0)}function ix(){iy=!1}function iE(){"hidden"===this.visibilityState&&ib&&(iy=!0)}function ik(t){let r=t.documentElement.clientWidth;return Math.abs(window.innerWidth-r)}let iC=t=>{let r=b.useRef({});return b.useEffect(()=>{r.current=t}),r.current},iO=b.createContext(null);function iR(){return b.useContext(iO)}let iT="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function iP(t){let{children:r,theme:n}=t,i=iR(),o=b.useMemo(()=>{let t=null===i?n:"function"==typeof n?n(i):S({},i,n);return null!=t&&(t[iT]=null!==i),t},[n,i]);return(0,v.jsx)(iO.Provider,{value:o,children:r})}let iM=["value"],iI=b.createContext();function iA(t){let{value:r}=t,n=w(t,iM);return(0,v.jsx)(iI.Provider,S({value:null==r||r},n))}let iL=()=>{let t=b.useContext(iI);return null!=t&&t},iN=b.createContext(void 0);function ij({value:t,children:r}){return(0,v.jsx)(iN.Provider,{value:t,children:r})}let iD={};function iF(t,r,n,i=!1){return b.useMemo(()=>{let o=t&&r[t]||r;if("function"==typeof n){let a=n(o),s=t?S({},r,{[t]:a}):a;return i?()=>s:s}return S({},r,t?{[t]:n}:n)},[t,r,n,i])}function iB(t){let{children:r,theme:n,themeId:i}=t,o=nL(iD),a=iR()||iD,s=iF(i,o,n),l=iF(i,a,n,!0),u="rtl"===s.direction;return(0,v.jsx)(iP,{theme:l,children:(0,v.jsx)(eY.Provider,{value:s,children:(0,v.jsx)(iA,{value:u,children:(0,v.jsx)(ij,{value:null==s?void 0:s.components,children:r})})})})}let i$=["component","direction","spacing","divider","children","className","useFlexGap"],iU=rK(),iz=nQ("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,r)=>r.root});function iq(t){return nD({props:t,name:"MuiStack",defaultTheme:iU})}let iZ=({ownerState:t,theme:r})=>{let n=S({display:"flex",flexDirection:"column"},t8({theme:r},re({values:t.direction,breakpoints:r.breakpoints.values}),t=>({flexDirection:t})));if(t.spacing){let i=rd(r),o=Object.keys(r.breakpoints.values).reduce((r,n)=>(("object"==typeof t.spacing&&null!=t.spacing[n]||"object"==typeof t.direction&&null!=t.direction[n])&&(r[n]=!0),r),{}),a=re({values:t.direction,base:o}),s=re({values:t.spacing,base:o});"object"==typeof a&&Object.keys(a).forEach((t,r,n)=>{if(!a[t]){let i=r>0?a[n[r-1]]:"column";a[t]=i}}),n=tB(n,t8({theme:r},s,(r,n)=>t.useFlexGap?{gap:rp(i,r)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[n?a[n]:t.direction]}`]:rp(i,r)}}))}return function(t,...r){let n=t7(t),i=[n,...r].reduce((t,r)=>tB(t,r),{});return t9(Object.keys(n),i)}(r.breakpoints,n)};function iH(){let t=nj(nO);return t[nR]||t}function iV(t){return r3("MuiPaper",t)}nZ("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"]);let iW=["className","component","elevation","square","variant"],iG=nM("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[n.variant],!n.square&&r.rounded,"elevation"===n.variant&&r[`elevation${n.elevation}`]]}})(({theme:t,ownerState:r})=>{var n;return S({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!r.square&&{borderRadius:t.shape.borderRadius},"outlined"===r.variant&&{border:`1px solid ${(t.vars||t).palette.divider}`},"elevation"===r.variant&&S({boxShadow:(t.vars||t).shadows[r.elevation]},!t.vars&&"dark"===t.palette.mode&&{backgroundImage:`linear-gradient(${r9.alpha("#fff",nU(r.elevation))}, ${r9.alpha("#fff",nU(r.elevation))})`},t.vars&&{backgroundImage:null==(n=t.vars.overlays)?void 0:n[r.elevation]}))}),iK=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:a=1,square:s=!1,variant:l="elevation"}=n,u=w(n,iW),c=S({},n,{component:o,elevation:a,square:s,variant:l}),d=(t=>{let{square:r,elevation:n,variant:i,classes:o}=t;return T({root:["root",i,!r&&"rounded","elevation"===i&&`elevation${n}`]},iV,o)})(c);return(0,v.jsx)(iG,S({as:o,ownerState:c,className:R(d.root,i),ref:r},u))});function iX(t){return r3("MuiAppBar",t)}nZ("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);let iY=["className","color","enableColorOnDark","position"],iJ=(t,r)=>t?`${null==t?void 0:t.replace(")","")}, ${r})`:r,iQ=nM(iK,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[`position${tq(n.position)}`],r[`color${tq(n.color)}`]]}})(({theme:t,ownerState:r})=>{let n="light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[900];return S({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===r.position&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===r.position&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===r.position&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"static"===r.position&&{position:"static"},"relative"===r.position&&{position:"relative"},!t.vars&&S({},"default"===r.color&&{backgroundColor:n,color:t.palette.getContrastText(n)},r.color&&"default"!==r.color&&"inherit"!==r.color&&"transparent"!==r.color&&{backgroundColor:t.palette[r.color].main,color:t.palette[r.color].contrastText},"inherit"===r.color&&{color:"inherit"},"dark"===t.palette.mode&&!r.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===r.color&&S({backgroundColor:"transparent",color:"inherit"},"dark"===t.palette.mode&&{backgroundImage:"none"})),t.vars&&S({},"default"===r.color&&{"--AppBar-background":r.enableColorOnDark?t.vars.palette.AppBar.defaultBg:iJ(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":r.enableColorOnDark?t.vars.palette.text.primary:iJ(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},r.color&&!r.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":r.enableColorOnDark?t.vars.palette[r.color].main:iJ(t.vars.palette.AppBar.darkBg,t.vars.palette[r.color].main),"--AppBar-color":r.enableColorOnDark?t.vars.palette[r.color].contrastText:iJ(t.vars.palette.AppBar.darkColor,t.vars.palette[r.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===r.color?"inherit":"var(--AppBar-color)"},"transparent"===r.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),i0=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:a=!1,position:s="fixed"}=n,l=w(n,iY),u=S({},n,{color:o,position:s,enableColorOnDark:a}),c=(t=>{let{color:r,position:n,classes:i}=t;return T({root:["root",`color${tq(r)}`,`position${tq(n)}`]},iX,i)})(u);return(0,v.jsx)(iQ,S({square:!0,component:"header",ownerState:u,elevation:4,className:R(c.root,i,"fixed"===s&&"mui-fixed"),ref:r},l))}),i1={elevation:0,color:"default"},i2=b.forwardRef((t,r)=>b.createElement(i0,{...i1,...t,ref:r}));i2.defaultProps=i1;let i5=function(t={}){let{createStyledComponent:r=iz,useThemeProps:n=iq,componentName:i="MuiStack"}=t,o=r(iZ);return b.forwardRef(function(t,r){let a=rJ(n(t)),{component:s="div",direction:l="column",spacing:u=0,divider:c,children:d,className:f,useFlexGap:h=!1}=a,m=w(a,i$),g=T({root:["root"]},t=>r3(i,t),{});return(0,v.jsx)(o,S({as:s,ownerState:{direction:l,spacing:u,useFlexGap:h},ref:r,className:R(g.root,f)},m,{children:c?function(t,r){let n=b.Children.toArray(t).filter(Boolean);return n.reduce((t,i,o)=>(t.push(i),o<n.length-1&&t.push(b.cloneElement(r,{key:`separator-${o}`})),t),[])}(d,c):d}))})}({createStyledComponent:nM("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,r)=>r.root}),useThemeProps:t=>nF({props:t,name:"MuiStack"})});var i3=b.forwardRef((t,r)=>b.createElement(i5,{...t,ref:r}));function i6(t){return r3("MuiToolbar",t)}nZ("MuiToolbar",["root","gutters","regular","dense"]);let i4=["className","component","disableGutters","variant"],i8=nM("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,!n.disableGutters&&r.gutters,r[n.variant]]}})(({theme:t,ownerState:r})=>S({position:"relative",display:"flex",alignItems:"center"},!r.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}},"dense"===r.variant&&{minHeight:48}),({theme:t,ownerState:r})=>"regular"===r.variant&&t.mixins.toolbar),i7=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:a=!1,variant:s="regular"}=n,l=w(n,i4),u=S({},n,{component:o,disableGutters:a,variant:s}),c=(t=>{let{classes:r,disableGutters:n,variant:i}=t;return T({root:["root",!n&&"gutters",i]},i6,r)})(u);return(0,v.jsx)(i8,S({as:o,className:R(c.root,i),ref:r,ownerState:u},l))});var i9=b.forwardRef((t,r)=>b.createElement(i7,{...t,ref:r}));function oe(t){return r3("MuiTypography",t)}nZ("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);let ot=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],or=nM("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.variant&&r[n.variant],"inherit"!==n.align&&r[`align${tq(n.align)}`],n.noWrap&&r.noWrap,n.gutterBottom&&r.gutterBottom,n.paragraph&&r.paragraph]}})(({theme:t,ownerState:r})=>S({margin:0},"inherit"===r.variant&&{font:"inherit"},"inherit"!==r.variant&&t.typography[r.variant],"inherit"!==r.align&&{textAlign:r.align},r.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r.gutterBottom&&{marginBottom:"0.35em"},r.paragraph&&{marginBottom:16})),on={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},oi={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},oo=b.forwardRef(function(t,r){let n,i=nF({props:t,name:"MuiTypography"}),o=oi[n=i.color]||n,a=rJ(S({},i,{color:o})),{align:s="inherit",className:l,component:u,gutterBottom:c=!1,noWrap:d=!1,paragraph:f=!1,variant:h="body1",variantMapping:m=on}=a,g=w(a,ot),y=S({},a,{align:s,color:o,className:l,component:u,gutterBottom:c,noWrap:d,paragraph:f,variant:h,variantMapping:m}),b=u||(f?"p":m[h]||on[h])||"span",_=(t=>{let{align:r,gutterBottom:n,noWrap:i,paragraph:o,variant:a,classes:s}=t;return T({root:["root",a,"inherit"!==t.align&&`align${tq(r)}`,n&&"gutterBottom",i&&"noWrap",o&&"paragraph"]},oe,s)})(y);return(0,v.jsx)(or,S({as:b,ref:r,ownerState:y,className:R(_.root,l)},g))}),oa={variantMapping:{display1:"h1",display2:"h2",display3:"h3",display4:"h4",display5:"h5",display6:"h6"}},os=b.forwardRef((t,r)=>{let n={...oa,...t,variantMapping:{...oa.variantMapping,...t.variantMapping}};return b.createElement(oo,{...n,ref:r})});function ol(t,r){return(ol=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t})(t,r)}function ou(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,ol(t,r)}os.defaultProps=oa;let oc=b.createContext(null);var od="unmounted",op="exited",of="entering",oh="entered",om="exiting",og=function(t){function r(r,n){var i,o=t.call(this,r,n)||this,a=n&&!n.isMounting?r.enter:r.appear;return o.appearStatus=null,r.in?a?(i=op,o.appearStatus=of):i=oh:i=r.unmountOnExit||r.mountOnEnter?od:op,o.state={status:i},o.nextCallback=null,o}ou(r,t),r.getDerivedStateFromProps=function(t,r){return t.in&&r.status===od?{status:op}:null};var n=r.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var r=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==of&&n!==oh&&(r=of):n!==of&&n!==oh||(r=om)}this.updateStatus(!1,r)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var t,r,n,i=this.props.timeout;return t=r=n=i,null!=i&&"number"!=typeof i&&(t=i.exit,r=i.enter,n=void 0!==i.appear?i.appear:r),{exit:t,enter:r,appear:n}},n.updateStatus=function(t,r){void 0===t&&(t=!1),null!==r?(this.cancelNextCallback(),r===of?((this.props.unmountOnExit||this.props.mountOnEnter)&&(this.props.nodeRef?this.props.nodeRef.current:_.findDOMNode(this)),this.performEnter(t)):this.performExit()):this.props.unmountOnExit&&this.state.status===op&&this.setState({status:od})},n.performEnter=function(t){var r=this,n=this.props.enter,i=this.context?this.context.isMounting:t,o=this.props.nodeRef?[i]:[_.findDOMNode(this),i],a=o[0],s=o[1],l=this.getTimeouts(),u=i?l.appear:l.enter;t||n?(this.props.onEnter(a,s),this.safeSetState({status:of},function(){r.props.onEntering(a,s),r.onTransitionEnd(u,function(){r.safeSetState({status:oh},function(){r.props.onEntered(a,s)})})})):this.safeSetState({status:oh},function(){r.props.onEntered(a)})},n.performExit=function(){var t=this,r=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:_.findDOMNode(this);r?(this.props.onExit(i),this.safeSetState({status:om},function(){t.props.onExiting(i),t.onTransitionEnd(n.exit,function(){t.safeSetState({status:op},function(){t.props.onExited(i)})})})):this.safeSetState({status:op},function(){t.props.onExited(i)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,r){r=this.setNextCallback(r),this.setState(t,r)},n.setNextCallback=function(t){var r=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,r.nextCallback=null,t(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(t,r){this.setNextCallback(r);var n=this.props.nodeRef?this.props.nodeRef.current:_.findDOMNode(this),i=null==t&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],s=o[1];this.props.addEndListener(a,s)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},n.render=function(){var t=this.state.status;if(t===od)return null;var r=this.props,n=r.children,i=w(r,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return b.createElement(oc.Provider,{value:null},"function"==typeof n?n(t,i):b.cloneElement(b.Children.only(n),i))},r}(b.Component);function oy(){}function ov(t,r){var n=Object.create(null);return t&&b.Children.map(t,function(t){return t}).forEach(function(t){n[t.key]=r&&(0,b.isValidElement)(t)?r(t):t}),n}function ob(t,r,n){return null!=n[r]?n[r]:t.props[r]}og.contextType=oc,og.propTypes={},og.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:oy,onEntering:oy,onEntered:oy,onExit:oy,onExiting:oy,onExited:oy},og.UNMOUNTED=od,og.EXITED=op,og.ENTERING=of,og.ENTERED=oh,og.EXITING=om;var o_=Object.values||function(t){return Object.keys(t).map(function(r){return t[r]})},ow=function(t){function r(r,n){var i,o=(i=t.call(this,r,n)||this).handleExited.bind(function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(i));return i.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},i}ou(r,t);var n=r.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(t,r){var n,i,o=r.children,a=r.handleExited;return{children:r.firstRender?ov(t.children,function(r){return(0,b.cloneElement)(r,{onExited:a.bind(null,r),in:!0,appear:ob(r,"appear",t),enter:ob(r,"enter",t),exit:ob(r,"exit",t)})}):(Object.keys(i=function(t,r){function n(n){return n in r?r[n]:t[n]}t=t||{},r=r||{};var i,o=Object.create(null),a=[];for(var s in t)s in r?a.length&&(o[s]=a,a=[]):a.push(s);var l={};for(var u in r){if(o[u])for(i=0;i<o[u].length;i++){var c=o[u][i];l[o[u][i]]=n(c)}l[u]=n(u)}for(i=0;i<a.length;i++)l[a[i]]=n(a[i]);return l}(o,n=ov(t.children))).forEach(function(r){var s=i[r];if((0,b.isValidElement)(s)){var l=r in o,u=r in n,c=o[r],d=(0,b.isValidElement)(c)&&!c.props.in;u&&(!l||d)?i[r]=(0,b.cloneElement)(s,{onExited:a.bind(null,s),in:!0,exit:ob(s,"exit",t),enter:ob(s,"enter",t)}):u||!l||d?u&&l&&(0,b.isValidElement)(c)&&(i[r]=(0,b.cloneElement)(s,{onExited:a.bind(null,s),in:c.props.in,exit:ob(s,"exit",t),enter:ob(s,"enter",t)})):i[r]=(0,b.cloneElement)(s,{in:!1})}}),i),firstRender:!1}},n.handleExited=function(t,r){var n=ov(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(r),this.mounted&&this.setState(function(r){var n=S({},r.children);return delete n[t.key],{children:n}}))},n.render=function(){var t=this.props,r=t.component,n=t.childFactory,i=w(t,["component","childFactory"]),o=this.state.contextValue,a=o_(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===r?b.createElement(oc.Provider,{value:o},a):b.createElement(oc.Provider,{value:o},b.createElement(r,i,a))},r}(b.Component);ow.propTypes={},ow.defaultProps={component:"div",childFactory:function(t){return t}};let oS=nZ("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ox=["center","classes","className"],oE,ok,oC,oO,oR=t=>t,oT=e0(oE||(oE=oR`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`)),oP=e0(ok||(ok=oR`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`)),oM=e0(oC||(oC=oR`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`)),oI=nM("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),oA=nM(function(t){let{className:r,classes:n,pulsate:i=!1,rippleX:o,rippleY:a,rippleSize:s,in:l,onExited:u,timeout:c}=t,[d,f]=b.useState(!1),h=R(r,n.ripple,n.rippleVisible,i&&n.ripplePulsate),m=R(n.child,d&&n.childLeaving,i&&n.childPulsate);return l||d||f(!0),b.useEffect(()=>{if(!l&&null!=u){let t=setTimeout(u,c);return()=>{clearTimeout(t)}}},[u,l,c]),(0,v.jsx)("span",{className:h,style:{width:s,height:s,top:-s/2+a,left:-s/2+o},children:(0,v.jsx)("span",{className:m})})},{name:"MuiTouchRipple",slot:"Ripple"})(oO||(oO=oR`
  opacity: 0;
  position: absolute;

  &.${0} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  &.${0} {
    animation-duration: ${0}ms;
  }

  & .${0} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${0} {
    opacity: 0;
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  & .${0} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${0};
    animation-duration: 2500ms;
    animation-timing-function: ${0};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`),oS.rippleVisible,oT,550,({theme:t})=>t.transitions.easing.easeInOut,oS.ripplePulsate,({theme:t})=>t.transitions.duration.shorter,oS.child,oS.childLeaving,oP,550,({theme:t})=>t.transitions.easing.easeInOut,oS.childPulsate,oM,({theme:t})=>t.transitions.easing.easeInOut),oL=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:a}=n,s=w(n,ox),[l,u]=b.useState([]),c=b.useRef(0),d=b.useRef(null);b.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);let f=b.useRef(!1),h=ig(),m=b.useRef(null),g=b.useRef(null),y=b.useCallback(t=>{let{pulsate:r,rippleX:n,rippleY:i,rippleSize:a,cb:s}=t;u(t=>[...t,(0,v.jsx)(oA,{classes:{ripple:R(o.ripple,oS.ripple),rippleVisible:R(o.rippleVisible,oS.rippleVisible),ripplePulsate:R(o.ripplePulsate,oS.ripplePulsate),child:R(o.child,oS.child),childLeaving:R(o.childLeaving,oS.childLeaving),childPulsate:R(o.childPulsate,oS.childPulsate)},timeout:550,pulsate:r,rippleX:n,rippleY:i,rippleSize:a},c.current)]),c.current+=1,d.current=s},[o]),_=b.useCallback((t={},r={},n=()=>{})=>{let o,a,s,{pulsate:l=!1,center:u=i||r.pulsate,fakeElement:c=!1}=r;if("mousedown"===(null==t?void 0:t.type)&&f.current)return void(f.current=!1);"touchstart"===(null==t?void 0:t.type)&&(f.current=!0);let d=c?null:g.current,v=d?d.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!u&&void 0!==t&&(0!==t.clientX||0!==t.clientY)&&(t.clientX||t.touches)){let{clientX:r,clientY:n}=t.touches&&t.touches.length>0?t.touches[0]:t;o=Math.round(r-v.left),a=Math.round(n-v.top)}else o=Math.round(v.width/2),a=Math.round(v.height/2);u?(s=Math.sqrt((2*v.width**2+v.height**2)/3))%2==0&&(s+=1):s=Math.sqrt((2*Math.max(Math.abs((d?d.clientWidth:0)-o),o)+2)**2+(2*Math.max(Math.abs((d?d.clientHeight:0)-a),a)+2)**2),null!=t&&t.touches?null===m.current&&(m.current=()=>{y({pulsate:l,rippleX:o,rippleY:a,rippleSize:s,cb:n})},h.start(80,()=>{m.current&&(m.current(),m.current=null)})):y({pulsate:l,rippleX:o,rippleY:a,rippleSize:s,cb:n})},[i,y,h]),x=b.useCallback(()=>{_({},{pulsate:!0})},[_]),E=b.useCallback((t,r)=>{if(h.clear(),"touchend"===(null==t?void 0:t.type)&&m.current)return m.current(),m.current=null,void h.start(0,()=>{E(t,r)});m.current=null,u(t=>t.length>0?t.slice(1):t),d.current=r},[h]);return b.useImperativeHandle(r,()=>({pulsate:x,start:_,stop:E}),[x,_,E]),(0,v.jsx)(oI,S({className:R(oS.root,o.root,a),ref:g},s,{children:(0,v.jsx)(ow,{component:null,exit:!0,children:l})}))});function oN(t){return r3("MuiButtonBase",t)}let oj=nZ("MuiButtonBase",["root","disabled","focusVisible"]),oD=["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"],oF=nM("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,r)=>r.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"},[`&.${oj.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),oB=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:a,className:s,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:h="a",onBlur:m,onClick:g,onContextMenu:y,onDragLeave:_,onFocus:x,onFocusVisible:E,onKeyDown:k,onKeyUp:C,onMouseDown:O,onMouseLeave:P,onMouseUp:M,onTouchEnd:I,onTouchMove:A,onTouchStart:L,tabIndex:N=0,TouchRippleProps:j,touchRippleRef:D,type:F}=n,B=w(n,oD),$=b.useRef(null),U=b.useRef(null),z=ip(U,D),{isFocusVisibleRef:q,onFocus:Z,onBlur:H,ref:V}=function(){let t=b.useCallback(t=>{var r;null!=t&&((r=t.ownerDocument).addEventListener("keydown",iS,!0),r.addEventListener("mousedown",ix,!0),r.addEventListener("pointerdown",ix,!0),r.addEventListener("touchstart",ix,!0),r.addEventListener("visibilitychange",iE,!0))},[]),r=b.useRef(!1);return{isFocusVisibleRef:r,onFocus:function(t){return!!function(t){let{target:r}=t;try{return r.matches(":focus-visible")}catch(t){}return iy||function(t){let{type:r,tagName:n}=t;return!("INPUT"!==n||!iw[r]||t.readOnly)||"TEXTAREA"===n&&!t.readOnly||!!t.isContentEditable}(r)}(t)&&(r.current=!0,!0)},onBlur:function(){return!!r.current&&(ib=!0,i_.start(100,()=>{ib=!1}),r.current=!1,!0)},ref:t}}(),[W,G]=b.useState(!1);u&&W&&G(!1),b.useImperativeHandle(i,()=>({focusVisible:()=>{G(!0),$.current.focus()}}),[]);let[K,X]=b.useState(!1);b.useEffect(()=>{X(!0)},[]);let Y=K&&!c&&!u;function J(t,r,n=d){return id(i=>(r&&r(i),!n&&U.current&&U.current[t](i),!0))}b.useEffect(()=>{W&&f&&!c&&K&&U.current.pulsate()},[c,f,W,K]);let Q=J("start",O),ee=J("stop",y),et=J("stop",_),er=J("stop",M),en=J("stop",t=>{W&&t.preventDefault(),P&&P(t)}),ei=J("start",L),eo=J("stop",I),ea=J("stop",A),es=J("stop",t=>{H(t),!1===q.current&&G(!1),m&&m(t)},!1),el=id(t=>{$.current||($.current=t.currentTarget),Z(t),!0===q.current&&(G(!0),E&&E(t)),x&&x(t)}),eu=()=>{let t=$.current;return l&&"button"!==l&&!("A"===t.tagName&&t.href)},ec=b.useRef(!1),ed=id(t=>{f&&!ec.current&&W&&U.current&&" "===t.key&&(ec.current=!0,U.current.stop(t,()=>{U.current.start(t)})),t.target===t.currentTarget&&eu()&&" "===t.key&&t.preventDefault(),k&&k(t),t.target===t.currentTarget&&eu()&&"Enter"===t.key&&!u&&(t.preventDefault(),g&&g(t))}),ep=id(t=>{f&&" "===t.key&&U.current&&W&&!t.defaultPrevented&&(ec.current=!1,U.current.stop(t,()=>{U.current.pulsate(t)})),C&&C(t),g&&t.target===t.currentTarget&&eu()&&" "===t.key&&!t.defaultPrevented&&g(t)}),ef=l;"button"===ef&&(B.href||B.to)&&(ef=h);let eh={};"button"===ef?(eh.type=void 0===F?"button":F,eh.disabled=u):(B.href||B.to||(eh.role="button"),u&&(eh["aria-disabled"]=u));let em=ip(r,V,$),eg=S({},n,{centerRipple:o,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:N,focusVisible:W}),ey=(t=>{let{disabled:r,focusVisible:n,focusVisibleClassName:i,classes:o}=t,a=T({root:["root",r&&"disabled",n&&"focusVisible"]},oN,o);return n&&i&&(a.root+=` ${i}`),a})(eg);return(0,v.jsxs)(oF,S({as:ef,className:R(ey.root,s),ownerState:eg,onBlur:es,onClick:g,onContextMenu:ee,onFocus:el,onKeyDown:ed,onKeyUp:ep,onMouseDown:Q,onMouseLeave:en,onMouseUp:er,onDragLeave:et,onTouchEnd:eo,onTouchMove:ea,onTouchStart:ei,ref:em,tabIndex:u?-1:N,type:F},eh,B,{children:[a,Y?(0,v.jsx)(oL,S({ref:z,center:o},j)):null]}))});function o$(t){return r3("MuiIconButton",t)}let oU=nZ("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),oz=["edge","children","className","color","disabled","disableFocusRipple","size"],oq=nM(oB,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,"default"!==n.color&&r[`color${tq(n.color)}`],n.edge&&r[`edge${tq(n.edge)}`],r[`size${tq(n.size)}`]]}})(({theme:t,ownerState:r})=>S({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!r.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:r9.alpha(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===r.edge&&{marginLeft:"small"===r.size?-3:-12},"end"===r.edge&&{marginRight:"small"===r.size?-3:-12}),({theme:t,ownerState:r})=>{var n;let i=null==(n=(t.vars||t).palette)?void 0:n[r.color];return S({},"inherit"===r.color&&{color:"inherit"},"inherit"!==r.color&&"default"!==r.color&&S({color:null==i?void 0:i.main},!r.disableRipple&&{"&:hover":S({},i&&{backgroundColor:t.vars?`rgba(${i.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:r9.alpha(i.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===r.size&&{padding:5,fontSize:t.typography.pxToRem(18)},"large"===r.size&&{padding:12,fontSize:t.typography.pxToRem(28)},{[`&.${oU.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})}),oZ=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:a,color:s="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=n,d=w(n,oz),f=S({},n,{edge:i,color:s,disabled:l,disableFocusRipple:u,size:c}),h=(t=>{let{classes:r,disabled:n,color:i,edge:o,size:a}=t;return T({root:["root",n&&"disabled","default"!==i&&`color${tq(i)}`,o&&`edge${tq(o)}`,`size${tq(a)}`]},o$,r)})(f);return(0,v.jsx)(oq,S({className:R(h.root,a),centerRipple:!0,focusRipple:!u,disabled:l,ref:r},d,{ownerState:f,children:o}))}),oH="&:hover,&:focus,&:active,&:visited",oV="__unstableAccessibleMain",oW="__unstableAccessibleLight",oG="0.75rem",oK="1.25em",oX="1.25em",oY="1.25em",oJ="eui-rtl",oQ=[0,1,1,1,1],o0=["theme"];function o1(t){let{theme:r}=t,n=w(t,o0),i=r[nR];return(0,v.jsx)(iB,S({},n,{themeId:i?nR:void 0,theme:i||r}))}let o2=(t,r)=>{let n={},i={};return r.forEach(r=>{i[r]=`Mui${t}-${r}`,n[r]={slot:r,name:`Mui${t}`}}),{slots:n,classNames:i}},o5=(t,...r)=>{let n={...t};return n.shape={borderRadius:4,__unstableBorderRadiusMultipliers:oQ,...n.shape},nC(n,...r)},o3=t=>"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t&&"classes"!==t,o6=r0({themeId:nR,defaultTheme:o5({}),rootShouldForwardProp:o3}),o4=(t,r)=>{if(!r?.shouldForwardProp)return o6(t,r);let n=r.shouldForwardProp,i={...r};return i.shouldForwardProp=t=>o3(t)&&n(t),o6(t,i)},o8="#FFFFFF",o7="#f1f3f3",o9="#d5d8dc",ae="#babfc5",at="#9da5ae",ar="#818a96",an="#69727d",ai="#515962",ao="#3f444b",aa="#1f2124",as="#0c0d0e",al="#f3bafd",au="#f0abfc",ac="#eb8efb",ad="#ef4444",ap="#dc2626",af="#b91c1c",ah="#b15211",am="#3b82f6",ag="#2563eb",ay="#1d4ed8",av="#10b981",ab="#0a875a",a_="#047857",aw="#99f6e4",aS="#5eead4",ax="#2adfcd",aE="#b51243",ak="#93003f",aC="#7e013b",aO=["primary","secondary","error","warning","info","success","accent","global","promotion","decorative","neutral"],aR=["primary","global"],aT=aO.filter(t=>!aR.includes(t)),aP={styleOverrides:{root:()=>({boxShadow:"none","&:hover":{boxShadow:"none"}})},variants:aO.map(t=>({props:{variant:"contained",color:t},style:({theme:r})=>({"& .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 ${r.palette[t].dark}`},"& .MuiButtonGroup-grouped:not(:last-child).Mui-disabled, & > *:not(:last-child) .MuiButtonGroup-grouped.Mui-disabled":{borderRight:`1px solid ${r.palette.action.disabled}`}})}))},aM={variants:[{props:{color:"primary",variant:"outlined"},style:({theme:t})=>({color:t.palette.primary.__unstableAccessibleMain,borderColor:t.palette.primary.__unstableAccessibleMain,"& .MuiChip-deleteIcon":{color:t.palette.primary.__unstableAccessibleLight,"&:hover":{color:t.palette.primary.__unstableAccessibleMain}}})},{props:{color:"global",variant:"outlined"},style:({theme:t})=>({color:t.palette.global.__unstableAccessibleMain,borderColor:t.palette.global.__unstableAccessibleMain,"& .MuiChip-deleteIcon":{color:t.palette.global.__unstableAccessibleLight,"&:hover":{color:t.palette.global.__unstableAccessibleMain}}})},{props:{color:"default",variant:"filled"},style:({theme:t})=>({backgroundColor:"light"===t.palette.mode?"#EBEBEB":"#434547","&.Mui-focusVisible, &.MuiChip-clickable:hover":{backgroundColor:t.palette.action.focus},"& .MuiChip-icon":{color:"inherit"}})},...aI(["default"],function(t){return{backgroundColor:{light:"#EBEBEB",dark:"#434547"},backgroundColorHover:{light:t.palette.action.focus,dark:t.palette.action.focus},color:{light:t.palette.text.primary,dark:t.palette.text.primary},deleteIconOpacity:.26,deleteIconOpacityHover:.7}}),...aI(["primary","global"],function(t,r){let n=t.palette[r];return{backgroundColor:{light:n7(n.light,.8),dark:n8(n.__unstableAccessibleMain,.8)},backgroundColorHover:{light:n7(n.light,.6),dark:n8(n.__unstableAccessibleMain,.9)},color:{light:n8(n.__unstableAccessibleMain,.3),dark:n7(n.light,.3)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),...aI(aT,function(t,r){return{backgroundColor:{light:n7(t.palette[r].light,.9),dark:n8(t.palette[r].light,.8)},backgroundColorHover:{light:n7(t.palette[r].light,.8),dark:n8(t.palette[r].light,.9)},color:{light:n8(t.palette[r].main,.3),dark:n7(t.palette[r].main,.5)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),{props:{size:"tiny"},style:()=>({fontSize:oG,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 aI(t,r){return t.map(t=>({props:{color:t,variant:"standard"},style:({theme:n})=>{let i=r(n,t),{mode:o}=n.palette;return{backgroundColor:i.backgroundColor[o],color:i.color[o],"&.Mui-focusVisible, &.MuiChip-clickable:hover":{backgroundColor:i.backgroundColorHover[o]},"& .MuiChip-icon":{color:"inherit"},"& .MuiChip-deleteIcon":{color:i.color[o],opacity:i.deleteIconOpacity,"&:hover,&:focus":{color:i.color[o],opacity:i.deleteIconOpacityHover}}}}}))}let aA="1rem",aL="0.75rem";var aN={MuiAccordion:{styleOverrides:{root:({theme:t})=>({backgroundColor:t.palette.background.default,"&:before":{content:"none"},"&.Mui-expanded":{margin:0},"&.MuiAccordion-gutters + .MuiAccordion-root.MuiAccordion-gutters":{marginTop:t.spacing(1),marginBottom:t.spacing(0)},"&:not(.MuiAccordion-gutters) + .MuiAccordion-root:not(.MuiAccordion-gutters)":{borderTop:0},"&.Mui-disabled":{backgroundColor:t.palette.background.default}})},variants:[{props:{square:!1},style:({theme:t})=>{let r=t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[3];return{"&:first-of-type":{borderTopLeftRadius:r,borderTopRightRadius:r},"&:last-of-type":{borderBottomLeftRadius:r,borderBottomRightRadius:r}}}}]},MuiAccordionActions:{styleOverrides:{root:({theme:t})=>({padding:t.spacing(2)})}},MuiAccordionSummary:{styleOverrides:{root:()=>({minHeight:"64px"}),content:({theme:t})=>({margin:t.spacing(1,0),"&.MuiAccordionSummary-content.Mui-expanded":{margin:t.spacing(1,0)}})}},MuiAccordionSummaryIcon:{styleOverrides:{root:({theme:t})=>({padding:t.spacing(1,0)})}},MuiAccordionSummaryText:{styleOverrides:{root:({theme:t})=>({marginTop:0,marginBottom:0,padding:t.spacing(1,0)})}},MuiAutocomplete:{styleOverrides:{listbox:({theme:t})=>({"&.MuiAutocomplete-listboxSizeTiny":{fontSize:"0.875rem"},'&.MuiAutocomplete-listbox .MuiAutocomplete-option[aria-selected="true"]':{"&,&.Mui-Mui-focused":{backgroundColor:t.palette.action.selected}}})},variants:[{props:{size:"tiny"},style:()=>({"& .MuiOutlinedInput-root":{padding:"2.5px 0","& .MuiAutocomplete-input":{lineHeight:oX,height:oX,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:oG},"&.MuiAutocomplete-hasPopupIcon.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root .MuiAutocomplete-input":{paddingRight:"48px"}})},{props:{size:"tiny",multiple:!0},style:()=>({"& .MuiAutocomplete-tag":{margin:"1.5px 3px"}})}]},MuiAvatar:{variants:[{props:{variant:"rounded"},style:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiButton:{styleOverrides:{root:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2],boxShadow:"none",whiteSpace:"nowrap","&:hover":{boxShadow:"none"},"& .MuiSvgIcon-root":{fill:"currentColor"}})},variants:[{props:{color:"primary",variant:"outlined"},style:({theme:t})=>({color:t.palette.primary.__unstableAccessibleMain,borderColor:t.palette.primary.__unstableAccessibleMain,"&:hover":{borderColor:t.palette.primary.__unstableAccessibleMain}})},{props:{color:"primary",variant:"text"},style:({theme:t})=>({color:t.palette.primary.__unstableAccessibleMain})},{props:{color:"global",variant:"outlined"},style:({theme:t})=>({color:t.palette.global.__unstableAccessibleMain,borderColor:t.palette.global.__unstableAccessibleMain,"&:hover":{borderColor:t.palette.global.__unstableAccessibleMain}})},{props:{color:"global",variant:"text"},style:({theme:t})=>({color:t.palette.global.__unstableAccessibleMain})}]},MuiButtonBase:{styleOverrides:{root:()=>({"&.MuiButtonBase-root.Mui-focusVisible":{boxShadow:"0 0 0 1px inset"},".MuiCircularProgress-root":{fontSize:"inherit"}})}},MuiButtonGroup:aP,MuiCard:{defaultProps:{},styleOverrides:{root:()=>({position:"relative"})}},MuiCardActions:{styleOverrides:{root:({theme:t})=>({justifyContent:"flex-end",padding:t.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:aM,MuiCircularProgress:{styleOverrides:{root:({theme:t})=>({fontSize:t.spacing(5)})}},MuiDialog:{styleOverrides:{paper:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[4]})}},MuiDialogActions:{styleOverrides:{root:({theme:t})=>({padding:t.spacing(2,3)})}},MuiDialogContent:{styleOverrides:{dividers:()=>({"&:last-child":{borderBottom:"none"}})}},MuiFilledInput:{styleOverrides:{root:({theme:t})=>({borderTopLeftRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2],borderTopRightRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{size:"tiny"},style:({theme:t})=>({fontSize:oG,lineHeight:oY,"& .MuiInputBase-input":{fontSize:oG,lineHeight:oY,height:oY,padding:"15px 8px 6px"},"&.MuiInputBase-adornedStart":{paddingLeft:t.spacing(1)},"&.MuiInputBase-adornedEnd":{paddingRight:t.spacing(1)},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart:not(.MuiInputAdornment-hiddenLabel)":{marginTop:t.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:t})=>({color:t.palette.text.tertiary,margin:t.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:t})=>({...t.typography.body2})}]},MuiIconButton:{variants:[{props:{color:"primary"},style:({theme:t})=>({color:t.palette.primary.__unstableAccessibleMain})},{props:{color:"global"},style:({theme:t})=>({color:t.palette.global.__unstableAccessibleMain})},{props:{edge:"start",size:"small"},style:({theme:t})=>({marginLeft:t.spacing(-1.5)})},{props:{edge:"end",size:"small"},style:({theme:t})=>({marginRight:t.spacing(-1.5)})},{props:{edge:"start",size:"large"},style:({theme:t})=>({marginLeft:t.spacing(-2)})},{props:{edge:"end",size:"large"},style:({theme:t})=>({marginRight:t.spacing(-2)})},{props:{size:"tiny"},style:({theme:t})=>({padding:t.spacing(.75)})},{props:{size:"tiny",edge:"start"},style:({theme:t})=>({marginLeft:t.spacing(-1)})},{props:{size:"tiny",edge:"end"},style:({theme:t})=>({marginRight:t.spacing(-1)})}]},MuiInput:{variants:[{props:{size:"tiny"},style:({theme:t})=>({fontSize:oG,lineHeight:oK,"&.MuiInput-root":{marginTop:t.spacing(1.5)},"& .MuiInputBase-input":{fontSize:oG,lineHeight:oK,height:oK,padding:"6.5px 0"}})}]},MuiInputAdornment:{styleOverrides:{root:({theme:t})=>({"&.MuiInputAdornment-sizeTiny":{"&.MuiInputAdornment-positionStart":{marginRight:t.spacing(.5)},"&.MuiInputAdornment-positionEnd":{marginLeft:t.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:t})=>({color:t.palette.text.primary,"a&":{[oH]:{color:t.palette.text.primary}}})}},MuiListItemButton:{styleOverrides:{root:({theme:t})=>({color:t.palette.text.primary,"&.Mui-selected":{backgroundColor:t.palette.action.selected,"&:hover":{backgroundColor:t.palette.action.selected},"&:focus":{backgroundColor:t.palette.action.focus}},"a&":{[oH]:{color:t.palette.text.primary}}})}},MuiListItemIcon:{styleOverrides:{root:({theme:t})=>({minWidth:"initial","&:not(:last-child)":{marginRight:t.spacing(1)}})}},MuiListItemText:{styleOverrides:{root:({theme:t})=>({color:t.palette.text.primary})}},MuiListSubheader:{styleOverrides:{root:({theme:t})=>({backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12))",lineHeight:"36px",color:t.palette.text.secondary})}},MuiMenuItem:{styleOverrides:{root:({theme:t})=>({"&.Mui-selected":{backgroundColor:t.palette.action.selected,"&:hover":{backgroundColor:t.palette.action.selected},"&:focus":{backgroundColor:t.palette.action.focus}},"a&":{[oH]:{color:t.palette.text.primary}},"& .MuiListItemIcon-root":{minWidth:"initial"}})}},MuiOutlinedInput:{styleOverrides:{root:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2],"&.Mui-focused .MuiInputAdornment-root .MuiOutlinedInput-notchedOutline":{borderColor:"dark"===t.palette.mode?"rgba(255, 255, 255, 0.23)":"rgba(0, 0, 0, 0.23)",borderWidth:"1px"}})},variants:[{props:{size:"tiny"},style:({theme:t})=>({fontSize:oG,lineHeight:oX,"&.MuiInputBase-adornedStart":{paddingLeft:t.spacing(1)},"&.MuiInputBase-adornedEnd":{paddingRight:t.spacing(1)},"& .MuiInputBase-input":{fontSize:oG,lineHeight:oX,height:oX,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:t=>!!t.endAdornment&&"tiny"===t.size,style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{"&.MuiSelect-standard":{paddingTop:0,paddingBottom:0},"&.MuiSelect-outlined,&.MuiSelect-filled":{paddingTop:"4px",paddingBottom:"4px"}}})},{props:t=>!!t.endAdornment&&"small"===t.size,style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{paddingTop:"2.5px",paddingBottom:"2.5px"}})},{props:t=>!(!t.endAdornment||"medium"!==t.size&&t.size),style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{paddingTop:"8.5px",paddingBottom:"8.5px"}})}]},MuiPagination:{variants:[{props:{shape:"rounded"},style:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiPaper:{variants:[{props:{square:!1},style:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[3]})}]},MuiSelect:{styleOverrides:{nativeInput:()=>({".MuiInputBase-root.Mui-disabled &":{backgroundColor:"initial",opacity:0}})},variants:[{props:{size:"tiny"},style:()=>({"& .MuiSelect-icon":{fontSize:aA,right:"9px"},"& .MuiSelect-select.MuiSelect-outlined, & .MuiSelect-select.MuiSelect-filled":{minHeight:oX},"& .MuiSelect-select.MuiSelect-standard":{lineHeight:oK,minHeight:oK}})}]},MuiSkeleton:{variants:[{props:{variant:"rounded"},style:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiSnackbarContent:{defaultProps:{},styleOverrides:{root:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2]})}},MuiStepConnector:{styleOverrides:{root:({theme:t})=>({"& .MuiStepConnector-line":{borderColor:t.palette.divider}})}},MuiStepIcon:{styleOverrides:{root:({theme:t})=>({"&:not(.Mui-active) .MuiStepIcon-text":{fill:t.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:t})=>({fontSize:aL,lineHeight:1.6,padding:t.spacing(.75,1),minWidth:72,"&:not(.MuiTab-labelIcon)":{minHeight:32},"&.MuiTab-labelIcon":{minHeight:32}})}]},MuiTableRow:{styleOverrides:{root:({theme:t})=>({"&.Mui-selected":{backgroundColor:t.palette.action.selected,"&:hover":{backgroundColor:t.palette.action.selected}}})},variants:[{props:t=>"onClick"in t,style:()=>({cursor:"pointer"})}]},MuiTabPanel:{styleOverrides:{root:({theme:t})=>({color:t.palette.text.primary})}},MuiTabs:{styleOverrides:{indicator:{height:"3px"}},variants:[{props:{size:"small"},style:({theme:t})=>({minHeight:32,"& .MuiTab-root":{fontSize:aL,lineHeight:1.6,padding:t.spacing(.75,1),minWidth:72,"&:not(.MuiTab-labelIcon)":{minHeight:32},"&.MuiTab-labelIcon":{minHeight:32}}})}]},MuiTextField:{styleOverrides:{root:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2],"& legend":{transition:"unset"}})},variants:[{props:{size:"tiny",select:!0},style:()=>({"& .MuiSelect-icon":{fontSize:aA,right:"9px"},"& .MuiInputBase-root .MuiSelect-select":{minHeight:"auto"}})}]},MuiToggleButton:{styleOverrides:{root:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{color:"primary"},style:({theme:t})=>({"&.MuiToggleButton-root.Mui-selected":{color:t.palette.primary.__unstableAccessibleMain}})},{props:{color:"global"},style:({theme:t})=>({"&.MuiToggleButton-root.Mui-selected":{color:t.palette.global.__unstableAccessibleMain}})},{props:{size:"tiny"},style:({theme:t})=>({fontSize:oG,lineHeight:1.3334,padding:t.spacing(.625)})}]},MuiTooltip:{styleOverrides:{arrow:({theme:t})=>({color:t.palette.grey[700]}),tooltip:({theme:t})=>({backgroundColor:t.palette.grey[700],borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[1]})}}};let aj={components:aN,shape:{borderRadius:4,__unstableBorderRadiusMultipliers:oQ},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}},aD={...aj,palette:{mode:"light",primary:{main:au,light:al,dark:ac,contrastText:as,[oV]:"#C00BB9",[oW]:"#D355CE"},secondary:{main:ai,light:an,dark:ao,contrastText:o8},grey:{50:o7,100:o9,200:ae,300:at,400:ar,500:an,600:ai,700:ao,800:aa,900:as},text:{primary:as,secondary:ao,tertiary:an,disabled:at},background:{paper:o8,default:o8},success:{main:ab,light:av,dark:a_,contrastText:o8},error:{main:ap,light:ad,dark:af,contrastText:o8},warning:{main:"#bb5b1d",light:"#d97706",dark:ah,contrastText:o8},info:{main:ag,light:am,dark:ay,contrastText:o8},global:{main:aS,light:aw,dark:ax,contrastText:as,[oV]:"#17929B",[oW]:"#5DB3B9"},accent:{main:ak,light:aE,dark:aC,contrastText:o8},promotion:{main:ak,light:aE,dark:aC,contrastText:o8},decorative:{main:aS,light:aw,dark:ax,contrastText:as},neutral:{main:"#ffffff",light:"#ffffff",dark:"#ffffff",contrastText:"#ffffff"}}},aF={...aj,palette:{mode:"dark",primary:{main:au,light:al,dark:ac,contrastText:as,[oV]:"#C00BB9",[oW]:"#D355CE"},secondary:{main:at,light:ae,dark:ar,contrastText:as},grey:{50:o7,100:o9,200:ae,300:at,400:ar,500:an,600:ai,700:ao,800:aa,900:as},text:{primary:o8,secondary:ae,tertiary:at,disabled:ai},background:{paper:as,default:aa},success:{main:ab,light:av,dark:a_,contrastText:o8},error:{main:ap,light:ad,dark:af,contrastText:o8},warning:{main:"#f59e0b",light:"#fbbf24",dark:ah,contrastText:"#000000"},info:{main:ag,light:am,dark:ay,contrastText:o8},global:{main:aS,light:aw,dark:ax,contrastText:as,[oV]:"#17929B",[oW]:"#5DB3B9"},accent:{main:ak,light:aE,dark:aC,contrastText:o8},promotion:{main:ak,light:aE,dark:aC,contrastText:o8},decorative:{main:aS,light:aw,dark:ax,contrastText:as},neutral:{main:"#ffffff",light:"#ffffff",dark:"#ffffff",contrastText:"#ffffff"}}};function aB(t){if("object"!=typeof t||null===t)return!1;let r=Object.getPrototypeOf(t);return!(null!==r&&r!==Object.prototype&&null!==Object.getPrototypeOf(r)||Symbol.toStringTag in t||Symbol.iterator in t)}let a$="#524CFF";var aU={primary:{main:a$,light:"#6B65FF",dark:"#4C43E5",contrastText:"#FFFFFF",[oV]:"#524CFF",[oW]:"#6B65FF"},action:{selected:n4(a$,.08)}},az={primary:{main:aa,light:ao,dark:as,contrastText:"#FFFFFF",[oV]:aa,[oW]:ao},accent:{main:au,light:al,dark:ac,contrastText:as}};let aq="#FFFFFF";var aZ={primary:{main:o7,light:aq,dark:o9,contrastText:as,[oV]:o7,[oW]:aq},accent:{main:au,light:al,dark:ac,contrastText:as}},aH={primary:{main:aa,light:ao,dark:as,contrastText:"#FFFFFF",[oV]:aa,[oW]:ao},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"}};let aV="#FFFFFF";var aW={primary:{main:o7,light:aV,dark:o9,contrastText:as,[oV]:o7,[oW]:aV},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"}};let aG=(0,b.createContext)(null),aK=({value:t,children:r})=>b.createElement(aG.Provider,{value:t},r),aX={zIndex:aj.zIndex};function aY(t){return t?aJ(t,{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:!0}):{}}function aJ(t,r){if(!t||!r)return{};let n={};return Object.entries(r).forEach(([r,i])=>{if(t[r])if("boolean"!=typeof i){if(Array.isArray(i)){let o=t[r];i.forEach(t=>{void 0!==o?.[t]&&(n[r]={...n[r],[t]:o[t]})})}}else n[r]=t[r]}),n}let aQ=new Map,a0=eX(({colorScheme:t,palette:r,children:n,overrides:i,unstableThemeV0:o},a)=>{let s=(0,b.useContext)(aG),l=a.key===oJ,u=t||s?.colorScheme||"auto",c=n2("(prefers-color-scheme: dark)"),d="auto"===u&&c||"dark"===u,f=function(t,r){if(!t)return r;if("function"!=typeof t)return console.error("overrides must be a function"),r;let n=t(structuredClone(r||aX));return n&&"object"==typeof n?n:(console.error("overrides function must return an object"),r)}(i,s?.overrides),h=o?.name||r||s?.themeName,m=o||s?.customTheme,g=m?((t,r=!1,n=!1)=>{if(!t.name)throw Error("Custom theme must have a name");let i=`${t.name}-${r}-${n}`;if(aQ.has(i))return aQ.get(i);let o={typography:{subtitle1:{fontWeight:500,lineHeight:1.3},subtitle2:{lineHeight:1.3}}};n&&(o.direction="rtl");let a=o5(function(t,r){let n={components:aN};return r&&t.palette?.dark?n.palette={...aF.palette,...aY(t.palette.dark),mode:"dark"}:t.palette?.light&&(n.palette={...aD.palette,...aY(t.palette.light)}),t.shadows&&(n.shadows=t.shadows),t.shape&&(n.shape=t.shape),t.typography&&(n.typography=function(t={}){return t?aJ(t,{fontFamily:!0,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"]}):{}}(t.typography)),t.zIndex&&(n.zIndex=t.zIndex),n}(t,r),o);return aQ.set(i,a),a})(m,d,l):(({palette:t="default",rtl:r=!1,isDarkMode:n=!1}={})=>{let i=`${t}-${n}-${r}`;if(aQ.has(i))return aQ.get(i);let o=n?aF:aD,a={};"marketing-suite"===t&&(a.palette=aU),"unstable"===t&&(a.palette=n?aZ:az,a.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]}),"argon-beta"===t&&(a.palette=n?aW:aH,a.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]}),r&&(a.direction="rtl");let s=o5(o,a);return aQ.set(i,s),s})({rtl:l,isDarkMode:d,palette:r||s?.themeName});return f&&(g=((t,r)=>{if(!r)return t;let n={};return["zIndex"].forEach(t=>{t in r&&(n[t]=r[t])}),function t(r,n,i={clone:!0}){let o=i.clone?S({},r):r;return aB(r)&&aB(n)&&Object.keys(n).forEach(a=>{b.isValidElement(n[a])?o[a]=n[a]:aB(n[a])&&Object.prototype.hasOwnProperty.call(r,a)&&aB(r[a])?o[a]=t(r[a],n[a],i):i.clone?o[a]=aB(n[a])?function t(r){if(b.isValidElement(r)||!aB(r))return r;let n={};return Object.keys(r).forEach(i=>{n[i]=t(r[i])}),n}(n[a]):n[a]:o[a]=n[a]}),o}(t,n,{clone:!0})})(g,f)),b.createElement(aK,{value:{colorScheme:t,themeName:h,overrides:f,customTheme:m}},b.createElement(o1,{theme:g},n))}),a1=(t="default")=>"inherit"===t?"inherit":"default"===t?"action.active":aR.includes(t)?`${t}.${oV}`:`${t}.main`;var a2=b.forwardRef((t,r)=>{let{sx:n={},color:i}=t,o={[t.href?oH:"&:hover,&:focus,&:active"]:{color:a1(i)}};return b.createElement(oZ,{...t,sx:{...o,...n},ref:r})});function a5(t){return r3("MuiSvgIcon",t)}nZ("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);let a3=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],a6=nM("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,"inherit"!==n.color&&r[`color${tq(n.color)}`],r[`fontSize${tq(n.fontSize)}`]]}})(({theme:t,ownerState:r})=>{var n,i,o,a,s,l,u,c,d,f,h,m,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:r.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=t.transitions)||null==(i=n.create)?void 0:i.call(n,"fill",{duration:null==(o=t.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:({inherit:"inherit",small:(null==(a=t.typography)||null==(s=a.pxToRem)?void 0:s.call(a,20))||"1.25rem",medium:(null==(l=t.typography)||null==(u=l.pxToRem)?void 0:u.call(l,24))||"1.5rem",large:(null==(c=t.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875rem"})[r.fontSize],color:null!=(f=null==(h=(t.vars||t).palette)||null==(h=h[r.color])?void 0:h.main)?f:({action:null==(m=(t.vars||t).palette)||null==(m=m.action)?void 0:m.active,disabled:null==(g=(t.vars||t).palette)||null==(g=g.action)?void 0:g.disabled,inherit:void 0})[r.color]}}),a4=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24"}=n,h=w(n,a3),m=b.isValidElement(i)&&"svg"===i.type,g=S({},n,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:m}),y={};c||(y.viewBox=f);let _=(t=>{let{color:r,fontSize:n,classes:i}=t;return T({root:["root","inherit"!==r&&`color${tq(r)}`,`fontSize${tq(n)}`]},a5,i)})(g);return(0,v.jsxs)(a6,S({as:s,className:R(_.root,o),focusable:"false",color:u,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:r},y,h,m&&i.props,{ownerState:g,children:[m?i.props.children:i,d?(0,v.jsx)("title",{children:d}):null]}))});a4.muiName="SvgIcon";var a8=b.forwardRef((t,r)=>b.createElement(a4,{...t,ref:r})),a7=b.forwardRef((t,r)=>b.createElement(a8,{viewBox:"0 0 24 24",...t,ref:r},b.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"}))),a9=b.forwardRef((t,r)=>b.createElement(a8,{viewBox:"0 0 24 24",...t,ref:r},b.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"}),b.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"}),b.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 se(t){return r3("MuiDivider",t)}let st=nZ("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),sr=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],sn=nM("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.absolute&&r.absolute,r[n.variant],n.light&&r.light,"vertical"===n.orientation&&r.vertical,n.flexItem&&r.flexItem,n.children&&r.withChildren,n.children&&"vertical"===n.orientation&&r.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&r.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&r.textAlignLeft]}})(({theme:t,ownerState:r})=>S({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},r.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},r.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:r9.alpha(t.palette.divider,.08)},"inset"===r.variant&&{marginLeft:72},"middle"===r.variant&&"horizontal"===r.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===r.variant&&"vertical"===r.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===r.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},r.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:t})=>S({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:t,ownerState:r})=>S({},r.children&&"vertical"!==r.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`}}),({theme:t,ownerState:r})=>S({},r.children&&"vertical"===r.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`}}),({ownerState:t})=>S({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),si=nM("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.wrapper,"vertical"===n.orientation&&r.wrapperVertical]}})(({theme:t,ownerState:r})=>S({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},"vertical"===r.orientation&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`})),so=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiDivider"}),{absolute:i=!1,children:o,className:a,component:s=o?"div":"hr",flexItem:l=!1,light:u=!1,orientation:c="horizontal",role:d="hr"!==s?"separator":void 0,textAlign:f="center",variant:h="fullWidth"}=n,m=w(n,sr),g=S({},n,{absolute:i,component:s,flexItem:l,light:u,orientation:c,role:d,textAlign:f,variant:h}),y=(t=>{let{absolute:r,children:n,classes:i,flexItem:o,light:a,orientation:s,textAlign:l,variant:u}=t;return T({root:["root",r&&"absolute",u,a&&"light","vertical"===s&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===s&&"withChildrenVertical","right"===l&&"vertical"!==s&&"textAlignRight","left"===l&&"vertical"!==s&&"textAlignLeft"],wrapper:["wrapper","vertical"===s&&"wrapperVertical"]},se,i)})(g);return(0,v.jsx)(sn,S({as:s,className:R(y.root,a),role:d,ref:r,ownerState:g},m,{children:o?(0,v.jsx)(si,{className:y.wrapper,ownerState:g,children:o}):null}))});so.muiSkipListHighlight=!0;var sa=b.forwardRef((t,r)=>b.createElement(so,{...t,ref:r})),ss=b.forwardRef((t,r)=>b.createElement(a8,{viewBox:"0 0 24 24",...t,ref:r},b.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 sl(t){return r3("MuiButton",t)}let su=nZ("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"]),sc=b.createContext({}),sd=b.createContext(void 0),sp=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],sf=t=>S({},"small"===t.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===t.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===t.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),sh=nM(oB,{shouldForwardProp:t=>nP(t)||"classes"===t,name:"MuiButton",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[n.variant],r[`${n.variant}${tq(n.color)}`],r[`size${tq(n.size)}`],r[`${n.variant}Size${tq(n.size)}`],"inherit"===n.color&&r.colorInherit,n.disableElevation&&r.disableElevation,n.fullWidth&&r.fullWidth]}})(({theme:t,ownerState:r})=>{var n,i;let o="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],a="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return S({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":S({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:r9.alpha(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===r.variant&&"inherit"!==r.color&&{backgroundColor:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:r9.alpha(t.palette[r.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===r.variant&&"inherit"!==r.color&&{border:`1px solid ${(t.vars||t).palette[r.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:r9.alpha(t.palette[r.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===r.variant&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},"contained"===r.variant&&"inherit"!==r.color&&{backgroundColor:(t.vars||t).palette[r.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[r.color].main}}),"&:active":S({},"contained"===r.variant&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${su.focusVisible}`]:S({},"contained"===r.variant&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${su.disabled}`]:S({color:(t.vars||t).palette.action.disabled},"outlined"===r.variant&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"contained"===r.variant&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},"text"===r.variant&&{padding:"6px 8px"},"text"===r.variant&&"inherit"!==r.color&&{color:(t.vars||t).palette[r.color].main},"outlined"===r.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===r.variant&&"inherit"!==r.color&&{color:(t.vars||t).palette[r.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[r.color].mainChannel} / 0.5)`:`1px solid ${r9.alpha(t.palette[r.color].main,.5)}`},"contained"===r.variant&&{color:t.vars?t.vars.palette.text.primary:null==(n=(i=t.palette).getContrastText)?void 0:n.call(i,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:o,boxShadow:(t.vars||t).shadows[2]},"contained"===r.variant&&"inherit"!==r.color&&{color:(t.vars||t).palette[r.color].contrastText,backgroundColor:(t.vars||t).palette[r.color].main},"inherit"===r.color&&{color:"inherit",borderColor:"currentColor"},"small"===r.size&&"text"===r.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===r.size&&"text"===r.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===r.size&&"outlined"===r.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===r.size&&"outlined"===r.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===r.size&&"contained"===r.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===r.size&&"contained"===r.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},r.fullWidth&&{width:"100%"})},({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${su.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${su.disabled}`]:{boxShadow:"none"}}),sm=nM("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.startIcon,r[`iconSize${tq(n.size)}`]]}})(({ownerState:t})=>S({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},sf(t))),sg=nM("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.endIcon,r[`iconSize${tq(n.size)}`]]}})(({ownerState:t})=>S({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},sf(t))),sy=b.forwardRef(function(t,r){let n=b.useContext(sc),i=b.useContext(sd),o=nF({props:nI(n,t),name:"MuiButton"}),{children:a,color:s="primary",component:l="button",className:u,disabled:c=!1,disableElevation:d=!1,disableFocusRipple:f=!1,endIcon:h,focusVisibleClassName:m,fullWidth:g=!1,size:y="medium",startIcon:_,type:x,variant:E="text"}=o,k=w(o,sp),C=S({},o,{color:s,component:l,disabled:c,disableElevation:d,disableFocusRipple:f,fullWidth:g,size:y,type:x,variant:E}),O=(t=>{let{color:r,disableElevation:n,fullWidth:i,size:o,variant:a,classes:s}=t;return S({},s,T({root:["root",a,`${a}${tq(r)}`,`size${tq(o)}`,`${a}Size${tq(o)}`,`color${tq(r)}`,n&&"disableElevation",i&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${tq(o)}`],endIcon:["icon","endIcon",`iconSize${tq(o)}`]},sl,s))})(C),P=_&&(0,v.jsx)(sm,{className:O.startIcon,ownerState:C,children:_}),M=h&&(0,v.jsx)(sg,{className:O.endIcon,ownerState:C,children:h});return(0,v.jsxs)(sh,S({ownerState:C,className:R(n.className,O.root,u,i||""),component:l,disabled:c,focusRipple:!f,focusVisibleClassName:R(O.focusVisible,m),ref:r,type:x},k,{classes:O,children:[P,a,M]}))});function sv(t){return r3("MuiCircularProgress",t)}nZ("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);let sb=["className","color","disableShrink","size","style","thickness","value","variant"],s_,sw,sS,sx,sE=t=>t,sk=e0(s_||(s_=sE`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`)),sC=e0(sw||(sw=sE`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -125px;
  }
`)),sO=nM("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[n.variant],r[`color${tq(n.color)}`]]}})(({ownerState:t,theme:r})=>S({display:"inline-block"},"determinate"===t.variant&&{transition:r.transitions.create("transform")},"inherit"!==t.color&&{color:(r.vars||r).palette[t.color].main}),({ownerState:t})=>"indeterminate"===t.variant&&eQ(sS||(sS=sE`
      animation: ${0} 1.4s linear infinite;
    `),sk)),sR=nM("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,r)=>r.svg})({display:"block"}),sT=nM("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.circle,r[`circle${tq(n.variant)}`],n.disableShrink&&r.circleDisableShrink]}})(({ownerState:t,theme:r})=>S({stroke:"currentColor"},"determinate"===t.variant&&{transition:r.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:t})=>"indeterminate"===t.variant&&!t.disableShrink&&eQ(sx||(sx=sE`
      animation: ${0} 1.4s ease-in-out infinite;
    `),sC)),sP=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:a=!1,size:s=40,style:l,thickness:u=3.6,value:c=0,variant:d="indeterminate"}=n,f=w(n,sb),h=S({},n,{color:o,disableShrink:a,size:s,thickness:u,value:c,variant:d}),m=(t=>{let{classes:r,variant:n,color:i,disableShrink:o}=t;return T({root:["root",n,`color${tq(i)}`],svg:["svg"],circle:["circle",`circle${tq(n)}`,o&&"circleDisableShrink"]},sv,r)})(h),g={},y={},b={};if("determinate"===d){let t=2*Math.PI*((44-u)/2);g.strokeDasharray=t.toFixed(3),b["aria-valuenow"]=Math.round(c),g.strokeDashoffset=`${((100-c)/100*t).toFixed(3)}px`,y.transform="rotate(-90deg)"}return(0,v.jsx)(sO,S({className:R(m.root,i),style:S({width:s,height:s},y,l),ownerState:h,ref:r,role:"progressbar"},b,f,{children:(0,v.jsx)(sR,{className:m.svg,ownerState:h,viewBox:"22 22 44 44",children:(0,v.jsx)(sT,{className:m.circle,style:g,ownerState:h,cx:44,cy:44,r:(44-u)/2,fill:"none",strokeWidth:u})})}))}),sM={color:"inherit",size:"1em"},sI=b.forwardRef((t,r)=>b.createElement(sP,{...sM,...t,ref:r}));sI.defaultProps=sM;let sA="rgba(0, 0, 0, 0.04)",sL="rgba(0, 0, 0, 0.08)",sN=o4(sy)(({theme:t,ownerState:r})=>{let{color:n,unstableToColor:i,unstableGradientAngle:o}=r,a=n&&"inherit"!==n?n:"primary",s=!!t.palette[a]?.__unstableTonalMain,l=({variant:t})=>"unstableTonal"===t&&s,u=({variant:t})=>!!t&&!["contained","outlined","text"].includes(t);return{variants:[{props:()=>r.loading&&"center"===r.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:t.palette.action.disabled}}}},{props:t=>l(t)&&"inherit"!==t.color&&!t.disabled,style:{background:t.palette[a]?.__unstableTonalMain,color:t.palette[a].main,"&:hover":{backgroundColor:t.palette[a]?.__unstableTonalDark}}},{props:t=>t.disabled&&u(t),style:{background:t.palette.action.disabledBackground,color:t.palette.action.disabled}},{props:t=>l(t)&&"inherit"===t.color,style:{background:sA,color:"inherit","&:hover":{backgroundColor:sL}}},{props:t=>"unstableTonal"===t.variant&&!s,style:{background:"#ff0000",color:"#ff0000"}},{props:t=>"small"===t.size&&u(t),style:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)}},{props:t=>"large"===t.size&&u(t),style:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)}},{props:t=>(({variant:t})=>"unstableGradient"===t&&s)(t)&&!t.disabled,style:function(t,r,n,i){if(!n)return;let o=function(t,r){if(void 0!==r)return r;let{__unstableGradientAngle:n}=t.palette.action;return void 0!==n?n:125}(t,r),{main:a,__unstableTonalMain:s,__unstableTonalDark:l}=t.palette[n]||{};"inherit"===n&&(a="inherit",s=sA,l=sL);let u=[s],c=[l];if(i){let{__unstableTonalMain:r,__unstableTonalDark:n}=t.palette[i];u.push(r),c.push(n)}return{color:a,backgroundImage:`linear-gradient( ${o}deg, ${u.join(", ")} )`,"&:hover":{backgroundImage:`linear-gradient( ${o}deg, ${c.join(",")} )`}}}(t,o,n,i)},{props:t=>"unstableGradient"===t.variant&&!s,style:{background:"#ff0000",color:"#ff0000"}}]}}),sj=(t="primary",r="text",n)=>{if(t)return"inherit"===t?"inherit":"contained"===r?`${t}.contrastText`:"unstableTonal"===r?`${t}.main`:n.palette.primary.__unstableAccessibleMain&&aR.includes(t)?`${t}.${oV}`:`${t}.main`},sD={loading:!1,loadingIndicator:b.createElement(sI,{color:"inherit",size:16}),loadingPosition:"center"},sF=b.forwardRef((t,r)=>{let n={...sD,...t},i=b.useContext(sc),o=iH(),{sx:a={},unstableToColor:s,unstableGradientAngle:l,...u}=function(t){let{loading:r,loadingPosition:n,loadingIndicator:i,...o}=t;if(!r)return o;switch(n){case"start":o.startIcon=i;break;case"end":o.endIcon=i;break;case"center":o.children=b.createElement(sB,{loadingIndicator:i},t.children)}return{...o,disabled:!0}}(n),c={...u,loading:n.loading,loadingPosition:n.loadingPosition,loadingIndicator:n.loadingIndicator,unstableToColor:s,unstableGradientAngle:l},d={},f=u.href?oH:"&:hover,&:focus,&:active",h=u.color||i?.color,m=u.variant||i?.variant;return d={[f]:{color:sj(h,m,o)}},b.createElement(sN,{...u,color:h,variant:m,sx:{...d,...a},ref:r,ownerState:c})});function sB({loadingIndicator:t,children:r}){return b.createElement(b.Fragment,null,b.createElement("div",{className:"MuiButton-loadingWrapper"},b.createElement("div",{className:"MuiButton-loadingIndicator"},t)),r)}sF.defaultProps=sD;let s$={};function sU(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];sH(r[0])&&s$[r[0]]||(sH(r[0])&&(s$[r[0]]=new Date),function(){if(console&&console.warn){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];sH(r[0])&&(r[0]=`react-i18next:: ${r[0]}`),console.warn(...r)}}(...r))}let sz=(t,r)=>()=>{if(t.isInitialized)r();else{let n=()=>{setTimeout(()=>{t.off("initialized",n)},0),r()};t.on("initialized",n)}},sq=(t,r,n)=>{t.loadNamespaces(r,sz(t,n))},sZ=(t,r,n,i)=>{sH(n)&&(n=[n]),n.forEach(r=>{0>t.options.ns.indexOf(r)&&t.options.ns.push(r)}),t.loadLanguages(r,sz(t,i))},sH=t=>"string"==typeof t,sV=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,sW={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"\u2026","&#8230;":"\u2026","&#x2F;":"/","&#47;":"/"},sG=t=>sW[t],sK,sX={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:t=>t.replace(sV,sG)},sY=(0,b.createContext)();let cp=class cp{addUsedNamespaces(t){t.forEach(t=>{this.usedNamespaces[t]||(this.usedNamespaces[t]=!0)})}constructor(){this.getUsedNamespaces=()=>Object.keys(this.usedNamespaces),this.usedNamespaces={}}};let sJ=(t,r,n,i)=>t.getFixedT(r,n,i),sQ=function(t){let r,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{i18n:o}=i,{i18n:a,defaultNS:s}=(0,b.useContext)(sY)||{},l=o||a||sK;if(l&&!l.reportNamespaces&&(l.reportNamespaces=new cp),!l){sU("You will need to pass in an i18next instance by using initReactI18next");let t=(t,r)=>sH(r)?r:"object"==typeof r&&null!==r&&sH(r.defaultValue)?r.defaultValue:Array.isArray(t)?t[t.length-1]:t,r=[t,{},!1];return r.t=t,r.i18n={},r.ready=!1,r}l.options.react&&void 0!==l.options.react.wait&&sU("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let u={...sX,...l.options.react,...i},{useSuspense:c,keyPrefix:d}=u,f=t||s||l.options&&l.options.defaultNS;f=sH(f)?[f]:f||["translation"],l.reportNamespaces.addUsedNamespaces&&l.reportNamespaces.addUsedNamespaces(f);let h=(l.isInitialized||l.initializedStoreOnce)&&f.every(t=>(function(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.languages&&r.languages.length?void 0!==r.options.ignoreJSONStructure?r.hasLoadedNamespace(t,{lng:n.lng,precheck:(r,i)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!i(r.isLanguageChangingTo,t))return!1}}):function(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.languages[0],o=!!r.options&&r.options.fallbackLng,a=r.languages[r.languages.length-1];if("cimode"===i.toLowerCase())return!0;let s=(t,n)=>{let i=r.services.backendConnector.state[`${t}|${n}`];return -1===i||2===i};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!s(r.isLanguageChangingTo,t)||!r.hasResourceBundle(i,t)&&r.services.backendConnector.backend&&(!r.options.resources||r.options.partialBundledLanguages)&&(!s(i,t)||o&&!s(a,t)))}(t,r,n):(sU("i18n.languages were undefined or empty",r.languages),!0)})(t,l,u)),m=(r=i.lng||null,n="fallback"===u.nsMode?f:f[0],(0,b.useCallback)(sJ(l,r,n,d),[l,r,n,d])),g=()=>m,y=()=>sJ(l,i.lng||null,"fallback"===u.nsMode?f:f[0],d),[v,_]=(0,b.useState)(g),w=f.join();i.lng&&(w=`${i.lng}${w}`);let S=(t=>{let r=(0,b.useRef)();return(0,b.useEffect)(()=>{r.current=t},[t,void 0]),r.current})(w),x=(0,b.useRef)(!0);(0,b.useEffect)(()=>{let{bindI18n:t,bindI18nStore:r}=u;x.current=!0,h||c||(i.lng?sZ(l,i.lng,f,()=>{x.current&&_(y)}):sq(l,f,()=>{x.current&&_(y)})),h&&S&&S!==w&&x.current&&_(y);let n=()=>{x.current&&_(y)};return t&&l&&l.on(t,n),r&&l&&l.store.on(r,n),()=>{x.current=!1,t&&l&&t.split(" ").forEach(t=>l.off(t,n)),r&&l&&r.split(" ").forEach(t=>l.store.off(t,n))}},[l,w]),(0,b.useEffect)(()=>{x.current&&h&&_(g)},[l,d,h]);let E=[v,l,h];if(E.t=v,E.i18n=l,E.ready=h,h||!h&&!c)return E;throw new Promise(t=>{i.lng?sZ(l,i.lng,f,()=>t()):sq(l,f,()=>t())})};function s0(t){if("undefined"==typeof window)return t;let r=b.useRef(null);return b.useLayoutEffect(()=>{r.current=t}),b.useCallback((...t)=>{var n;null===(n=r.current)||void 0===n||n.call(r,...t)},[])}let s1={},s2={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1};function s5(t,r){let{anchorEl:n,_childPopupState:i}=r;return s3(n,t)||s3(function(t,{popupId:r}){if(!r)return null;let n="function"==typeof t.getRootNode?t.getRootNode():document;return"function"==typeof n.getElementById?n.getElementById(r):null}(t,r),t)||null!=i&&s5(t,i)}function s3(t,r){if(!t)return!1;for(;r;){if(r===t)return!0;r=r.parentElement}return!1}let s6=0;var s4,s8,s7,s9,le,lt,lr,ln=({popupId:t,...r})=>(function({parentPopupState:t,popupId:r,variant:n,disableAutoFocus:i}){let o=(0,b.useRef)(!0);(0,b.useEffect)(()=>(o.current=!0,()=>{o.current=!1}),[]);let[a,s]=(0,b.useState)(s2),l=(0,b.useCallback)(t=>{o.current&&s(t)},[]),u=(0,b.useCallback)(t=>l(r=>({...r,setAnchorElUsed:!0,anchorEl:t??void 0})),[]),c=s0(t=>(a.isOpen?h(t):d(t),a)),d=s0(r=>{let i=r instanceof Element?void 0:r,o=r instanceof Element?r:(null==r?void 0:r.currentTarget)instanceof Element?r.currentTarget:void 0;if("touchstart"===(null==i?void 0:i.type))return void l(t=>({...t,_deferNextOpen:!0}));let a=null==i?void 0:i.clientX,s=null==i?void 0:i.clientY,u="number"==typeof a&&"number"==typeof s?{left:a,top:s}:void 0,c=a=>{if(r||a.setAnchorElUsed||"dialog"===n||s1.missingEventOrAnchorEl||(s1.missingEventOrAnchorEl=!0,console.error("[material-ui-popup-state] WARNING","eventOrAnchorEl should be defined if setAnchorEl is not used")),t){if(!t.isOpen)return a;setTimeout(()=>t._setChildPopupState(_))}let s={...a,isOpen:!0,anchorPosition:u,hovered:"mouseover"===(null==i?void 0:i.type)||a.hovered,focused:"focus"===(null==i?void 0:i.type)||a.focused,_openEventType:null==i?void 0:i.type};return null!=i&&i.currentTarget?a.setAnchorElUsed||(s.anchorEl=null==i?void 0:i.currentTarget):o&&(s.anchorEl=o),s};l(t=>t._deferNextOpen?(setTimeout(()=>l(c),0),{...t,_deferNextOpen:!1}):c(t))}),f=r=>{let{_childPopupState:n}=r;return setTimeout(()=>{null==n||n.close(),null==t||t._setChildPopupState(null)}),{...r,isOpen:!1,hovered:!1,focused:!1}},h=s0(t=>{let r=t instanceof Element?void 0:t;"touchstart"!==(null==r?void 0:r.type)?l(t=>t._deferNextClose?(setTimeout(()=>l(f),0),{...t,_deferNextClose:!1}):f(t)):l(t=>({...t,_deferNextClose:!0}))}),m=(0,b.useCallback)((t,r)=>{t?d(r):h(r)},[]),g=s0(t=>{let{relatedTarget:r}=t;l(t=>!t.hovered||r instanceof Element&&s5(r,_)?t:t.focused?{...t,hovered:!1}:f(t))}),y=s0(t=>{if(!t)return;let{relatedTarget:r}=t;l(t=>!t.focused||r instanceof Element&&s5(r,_)?t:t.hovered?{...t,focused:!1}:f(t))}),v=(0,b.useCallback)(t=>l(r=>({...r,_childPopupState:t})),[]),_={...a,setAnchorEl:u,popupId:r,variant:n,open:d,close:h,toggle:c,setOpen:m,onBlur:y,onMouseLeave:g,disableAutoFocus:i??!!(a.hovered||a.focused),_setChildPopupState:v};return _})({...r,popupId:(0,b.useRef)(t||"eui-popup-"+s6++).current}),li={exports:{}},lo={};function la(t){return"string"==typeof t}function ls(t,r,n){return void 0===t||la(t)?r:S({},r,{ownerState:S({},r.ownerState,n)})}cE||(cE=1,li.exports=function(){if(lr)return lo;lr=1;var t,r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(t){if("object"==typeof t&&null!==t){var g=t.$$typeof;switch(g){case r:switch(t=t.type){case i:case a:case o:case d:case f:return t;default:switch(t=t&&t.$$typeof){case u:case l:case c:case m:case h:case s:return t;default:return g}}case n:return g}}}return t=Symbol.for("react.module.reference"),lo.ContextConsumer=l,lo.ContextProvider=s,lo.Element=r,lo.ForwardRef=c,lo.Fragment=i,lo.Lazy=m,lo.Memo=h,lo.Portal=n,lo.Profiler=a,lo.StrictMode=o,lo.Suspense=d,lo.SuspenseList=f,lo.isAsyncMode=function(){return!1},lo.isConcurrentMode=function(){return!1},lo.isContextConsumer=function(t){return y(t)===l},lo.isContextProvider=function(t){return y(t)===s},lo.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},lo.isForwardRef=function(t){return y(t)===c},lo.isFragment=function(t){return y(t)===i},lo.isLazy=function(t){return y(t)===m},lo.isMemo=function(t){return y(t)===h},lo.isPortal=function(t){return y(t)===n},lo.isProfiler=function(t){return y(t)===a},lo.isStrictMode=function(t){return y(t)===o},lo.isSuspense=function(t){return y(t)===d},lo.isSuspenseList=function(t){return y(t)===f},lo.isValidElementType=function(r){return"string"==typeof r||"function"==typeof r||r===i||r===a||r===o||r===d||r===f||r===g||"object"==typeof r&&null!==r&&(r.$$typeof===m||r.$$typeof===h||r.$$typeof===s||r.$$typeof===l||r.$$typeof===c||r.$$typeof===t||void 0!==r.getModuleId)},lo.typeOf=y,lo}()),li.exports;let ll=b.createContext({disableDefaultClasses:!1});function lu(t,r=[]){if(void 0===t)return{};let n={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof t[n]&&!r.includes(n)).forEach(r=>{n[r]=t[r]}),n}function lc(t,r,n){return"function"==typeof t?t(r,n):t}function ld(t){if(void 0===t)return{};let r={};return Object.keys(t).filter(r=>!(r.match(/^on[A-Z]/)&&"function"==typeof t[r])).forEach(n=>{r[n]=t[n]}),r}function lp(t){let{getSlotProps:r,additionalProps:n,externalSlotProps:i,externalForwardedProps:o,className:a}=t;if(!r){let t=R(null==n?void 0:n.className,a,null==o?void 0:o.className,null==i?void 0:i.className),r=S({},null==n?void 0:n.style,null==o?void 0:o.style,null==i?void 0:i.style),s=S({},n,o,i);return t.length>0&&(s.className=t),Object.keys(r).length>0&&(s.style=r),{props:s,internalRef:void 0}}let s=lu(S({},o,i)),l=ld(i),u=ld(o),c=r(s),d=R(null==c?void 0:c.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==i?void 0:i.className),f=S({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==i?void 0:i.style),h=S({},c,n,u,l);return d.length>0&&(h.className=d),Object.keys(f).length>0&&(h.style=f),{props:h,internalRef:c.ref}}let lf=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function lh(t){var r;let{elementType:n,externalSlotProps:i,ownerState:o,skipResolvingSlotProps:a=!1}=t,s=w(t,lf),l=a?{}:lc(i,o),{props:u,internalRef:c}=lp(S({},s,{externalSlotProps:l}));return ls(n,S({},u,{ref:ip(c,null==l?void 0:l.ref,null==(r=t.additionalProps)?void 0:r.ref)}),o)}let lm=b.createContext({});function lg(t){return r3("MuiList",t)}nZ("MuiList",["root","padding","dense","subheader"]);let ly=["children","className","component","dense","disablePadding","subheader"],lv=nM("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,!n.disablePadding&&r.padding,n.dense&&r.dense,n.subheader&&r.subheader]}})(({ownerState:t})=>S({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})),lb=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiList"}),{children:i,className:o,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:u}=n,c=w(n,ly),d=b.useMemo(()=>({dense:s}),[s]),f=S({},n,{component:a,dense:s,disablePadding:l}),h=(t=>{let{classes:r,disablePadding:n,dense:i,subheader:o}=t;return T({root:["root",!n&&"padding",i&&"dense",o&&"subheader"]},lg,r)})(f);return(0,v.jsx)(lm.Provider,{value:d,children:(0,v.jsxs)(lv,S({as:a,className:R(h.root,o),ref:r,ownerState:f},c,{children:[u,i]}))})}),l_=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function lw(t,r,n){return t===r?t.firstChild:r&&r.nextElementSibling?r.nextElementSibling:n?null:t.firstChild}function lS(t,r,n){return t===r?n?t.firstChild:t.lastChild:r&&r.previousElementSibling?r.previousElementSibling:n?null:t.lastChild}function lx(t,r){if(void 0===r)return!0;let n=t.innerText;return void 0===n&&(n=t.textContent),0!==(n=n.trim().toLowerCase()).length&&(r.repeating?n[0]===r.keys[0]:0===n.indexOf(r.keys.join("")))}function lE(t,r,n,i,o,a){let s=!1,l=o(t,r,!!r&&n);for(;l;){if(l===t.firstChild){if(s)return!1;s=!0}let r=!i&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&lx(l,a)&&!r)return l.focus(),!0;l=o(t,l,n)}return!1}let lk=b.forwardRef(function(t,r){let{actions:n,autoFocus:i=!1,autoFocusItem:o=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:d="selectedMenu"}=t,f=w(t,l_),h=b.useRef(null),m=b.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});n0(()=>{i&&h.current.focus()},[i]),b.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(t,{direction:r})=>{let n=!h.current.style.width;if(t.clientHeight<h.current.clientHeight&&n){let n=`${ik(ii(t))}px`;h.current.style["rtl"===r?"paddingLeft":"paddingRight"]=n,h.current.style.width=`calc(100% + ${n})`}return h.current}}),[]);let g=ip(h,r),y=-1;b.Children.forEach(a,(t,r)=>{b.isValidElement(t)?(t.props.disabled||("selectedMenu"===d&&t.props.selected||-1===y)&&(y=r),y===r&&(t.props.disabled||t.props.muiSkipListHighlight||t.type.muiSkipListHighlight)&&(y+=1)>=a.length&&(y=-1)):y===r&&(y+=1)>=a.length&&(y=-1)});let _=b.Children.map(a,(t,r)=>{if(r===y){let r={};return o&&(r.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===d&&(r.tabIndex=0),b.cloneElement(t,r)}return t});return(0,v.jsx)(lb,S({role:"menu",ref:g,className:s,onKeyDown:t=>{let r=h.current,n=t.key,i=ii(r).activeElement;if("ArrowDown"===n)t.preventDefault(),lE(r,i,u,l,lw);else if("ArrowUp"===n)t.preventDefault(),lE(r,i,u,l,lS);else if("Home"===n)t.preventDefault(),lE(r,null,u,l,lw);else if("End"===n)t.preventDefault(),lE(r,null,u,l,lS);else if(1===n.length){let o=m.current,a=n.toLowerCase(),s=performance.now();o.keys.length>0&&(s-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=s,o.keys.push(a);let u=i&&!o.repeating&&lx(i,o);o.previousKeyMatched&&(u||lE(r,i,!1,l,lw,o))?t.preventDefault():o.previousKeyMatched=!1}c&&c(t)},tabIndex:i?0:-1},f,{children:_}))});function lC(t,r){var n,i;let{timeout:o,easing:a,style:s={}}=t;return{duration:null!=(n=s.transitionDuration)?n:"number"==typeof o?o:o[r.mode]||0,easing:null!=(i=s.transitionTimingFunction)?i:"object"==typeof a?a[r.mode]:a,delay:s.transitionDelay}}let lO=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function lR(t){return`scale(${t}, ${t**2})`}let lT={entering:{opacity:1,transform:lR(1)},entered:{opacity:1,transform:"none"}},lP="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),lM=b.forwardRef(function(t,r){let{addEndListener:n,appear:i=!0,children:o,easing:a,in:s,onEnter:l,onEntered:u,onEntering:c,onExit:d,onExited:f,onExiting:h,style:m,timeout:g="auto",TransitionComponent:y=og}=t,_=w(t,lO),x=ig(),E=b.useRef(),k=iH(),C=b.useRef(null),O=ip(C,o.ref,r),R=t=>r=>{if(t){let n=C.current;void 0===r?t(n):t(n,r)}},T=R(c),P=R((t,r)=>{let n,{duration:i,delay:o,easing:s}=lC({style:m,timeout:g,easing:a},{mode:"enter"});"auto"===g?E.current=n=k.transitions.getAutoHeightDuration(t.clientHeight):n=i,t.style.transition=[k.transitions.create("opacity",{duration:n,delay:o}),k.transitions.create("transform",{duration:lP?n:.666*n,delay:o,easing:s})].join(","),l&&l(t,r)}),M=R(u),I=R(h),A=R(t=>{let r,{duration:n,delay:i,easing:o}=lC({style:m,timeout:g,easing:a},{mode:"exit"});"auto"===g?E.current=r=k.transitions.getAutoHeightDuration(t.clientHeight):r=n,t.style.transition=[k.transitions.create("opacity",{duration:r,delay:i}),k.transitions.create("transform",{duration:lP?r:.666*r,delay:lP?i:i||.333*r,easing:o})].join(","),t.style.opacity=0,t.style.transform=lR(.75),d&&d(t)}),L=R(f);return(0,v.jsx)(y,S({appear:i,in:s,nodeRef:C,onEnter:P,onEntered:M,onEntering:T,onExit:A,onExited:L,onExiting:I,addEndListener:t=>{"auto"===g&&x.start(E.current||0,t),n&&n(C.current,t)},timeout:"auto"===g?null:g},_,{children:(t,r)=>b.cloneElement(o,S({style:S({opacity:0,transform:lR(.75),visibility:"exited"!==t||s?void 0:"hidden"},lT[t],m,o.props.style),ref:O},r))}))});function lI(t,r){r?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function lA(t){return parseInt(io(t).getComputedStyle(t).paddingRight,10)||0}function lL(t,r,n,i,o){let a=[r,n,...i];[].forEach.call(t.children,t=>{let r=-1===a.indexOf(t),n=!function(t){let r=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(t.tagName),n="INPUT"===t.tagName&&"hidden"===t.getAttribute("type");return r||n}(t);r&&n&&lI(t,o)})}function lN(t,r){let n=-1;return t.some((t,i)=>!!r(t)&&(n=i,!0)),n}lM.muiSupportAuto=!0;let lj=new class{add(t,r){let n=this.modals.indexOf(t);if(-1!==n)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&lI(t.modalRef,!1);let i=function(t){let r=[];return[].forEach.call(t.children,t=>{"true"===t.getAttribute("aria-hidden")&&r.push(t)}),r}(r);lL(r,t.mount,t.modalRef,i,!0);let o=lN(this.containers,t=>t.container===r);return -1!==o?this.containers[o].modals.push(t):this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:i}),n}mount(t,r){let n=lN(this.containers,r=>-1!==r.modals.indexOf(t)),i=this.containers[n];i.restore||(i.restore=function(t,r){let n=[],i=t.container;if(!r.disableScrollLock){let t;if(function(t){let r=ii(t);return r.body===t?io(t).innerWidth>r.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(i)){let t=ik(ii(i));n.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${lA(i)+t}px`;let r=ii(i).querySelectorAll(".mui-fixed");[].forEach.call(r,r=>{n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${lA(r)+t}px`})}if(i.parentNode instanceof DocumentFragment)t=ii(i).body;else{let r=i.parentElement,n=io(i);t="HTML"===(null==r?void 0:r.nodeName)&&"scroll"===n.getComputedStyle(r).overflowY?r:i}n.push({value:t.style.overflow,property:"overflow",el:t},{value:t.style.overflowX,property:"overflow-x",el:t},{value:t.style.overflowY,property:"overflow-y",el:t}),t.style.overflow="hidden"}return()=>{n.forEach(({value:t,el:r,property:n})=>{t?r.style.setProperty(n,t):r.style.removeProperty(n)})}}(i,r))}remove(t,r=!0){let n=this.modals.indexOf(t);if(-1===n)return n;let i=lN(this.containers,r=>-1!==r.modals.indexOf(t)),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),t.modalRef&&lI(t.modalRef,r),lL(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{let t=o.modals[o.modals.length-1];t.modalRef&&lI(t.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}};function lD(t){let r=[],n=[];return Array.from(t.querySelectorAll('input,select,textarea,a[href],button,[tabindex],audio[controls],video[controls],[contenteditable]:not([contenteditable="false"])')).forEach((t,i)=>{let o=function(t){let r=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(r)?"true"===t.contentEditable||("AUDIO"===t.nodeName||"VIDEO"===t.nodeName||"DETAILS"===t.nodeName)&&null===t.getAttribute("tabindex")?0:t.tabIndex:r}(t);-1===o||t.disabled||"INPUT"===t.tagName&&"hidden"===t.type||function(t){if("INPUT"!==t.tagName||"radio"!==t.type||!t.name)return!1;let r=r=>t.ownerDocument.querySelector(`input[type="radio"]${r}`),n=r(`[name="${t.name}"]:checked`);return n||(n=r(`[name="${t.name}"]`)),n!==t}(t)||(0===o?r.push(t):n.push({documentOrder:i,tabIndex:o,node:t}))}),n.sort((t,r)=>t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex).map(t=>t.node).concat(r)}function lF(){return!0}function lB(t){let{children:r,disableAutoFocus:n=!1,disableEnforceFocus:i=!1,disableRestoreFocus:o=!1,getTabbable:a=lD,isEnabled:s=lF,open:l}=t,u=b.useRef(!1),c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),h=b.useRef(null),m=b.useRef(!1),g=b.useRef(null),y=ip(r.ref,g),_=b.useRef(null);b.useEffect(()=>{l&&g.current&&(m.current=!n)},[n,l]),b.useEffect(()=>{if(!l||!g.current)return;let t=ii(g.current);return g.current.contains(t.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),m.current&&g.current.focus()),()=>{o||(f.current&&f.current.focus&&(u.current=!0,f.current.focus()),f.current=null)}},[l]),b.useEffect(()=>{if(!l||!g.current)return;let t=ii(g.current),r=r=>{_.current=r,!i&&s()&&"Tab"===r.key&&t.activeElement===g.current&&r.shiftKey&&(u.current=!0,d.current&&d.current.focus())},n=()=>{let r=g.current;if(null===r)return;if(!t.hasFocus()||!s()||u.current)return void(u.current=!1);if(r.contains(t.activeElement)||i&&t.activeElement!==c.current&&t.activeElement!==d.current)return;if(t.activeElement!==h.current)h.current=null;else if(null!==h.current)return;if(!m.current)return;let n=[];if(t.activeElement!==c.current&&t.activeElement!==d.current||(n=a(g.current)),n.length>0){var o,l;let t=!!((null==(o=_.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=_.current)?void 0:l.key)),r=n[0],i=n[n.length-1];"string"!=typeof r&&"string"!=typeof i&&(t?i.focus():r.focus())}else r.focus()};t.addEventListener("focusin",n),t.addEventListener("keydown",r,!0);let o=setInterval(()=>{t.activeElement&&"BODY"===t.activeElement.tagName&&n()},50);return()=>{clearInterval(o),t.removeEventListener("focusin",n),t.removeEventListener("keydown",r,!0)}},[n,i,o,s,l,a]);let w=t=>{null===f.current&&(f.current=t.relatedTarget),m.current=!0};return(0,v.jsxs)(b.Fragment,{children:[(0,v.jsx)("div",{tabIndex:l?0:-1,onFocus:w,ref:c,"data-testid":"sentinelStart"}),b.cloneElement(r,{ref:y,onFocus:t=>{null===f.current&&(f.current=t.relatedTarget),m.current=!0,h.current=t.target;let n=r.props.onFocus;n&&n(t)}}),(0,v.jsx)("div",{tabIndex:l?0:-1,onFocus:w,ref:d,"data-testid":"sentinelEnd"})]})}let l$=b.forwardRef(function(t,r){let{children:n,container:i,disablePortal:o=!1}=t,[a,s]=b.useState(null),l=ip(b.isValidElement(n)?n.ref:null,r);return(n0(()=>{o||s(("function"==typeof i?i():i)||document.body)},[i,o]),n0(()=>{if(a&&!o)return ia(r,a),()=>{ia(r,null)}},[r,a,o]),o)?b.isValidElement(n)?b.cloneElement(n,{ref:l}):(0,v.jsx)(b.Fragment,{children:n}):(0,v.jsx)(b.Fragment,{children:a?_.createPortal(n,a):a})}),lU=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],lz={entering:{opacity:1},entered:{opacity:1}},lq=b.forwardRef(function(t,r){let n=iH(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:s,easing:l,in:u,onEnter:c,onEntered:d,onEntering:f,onExit:h,onExited:m,onExiting:g,style:y,timeout:_=i,TransitionComponent:x=og}=t,E=w(t,lU),k=b.useRef(null),C=ip(k,s.ref,r),O=t=>r=>{if(t){let n=k.current;void 0===r?t(n):t(n,r)}},R=O(f),T=O((t,r)=>{let i=lC({style:y,timeout:_,easing:l},{mode:"enter"});t.style.webkitTransition=n.transitions.create("opacity",i),t.style.transition=n.transitions.create("opacity",i),c&&c(t,r)}),P=O(d),M=O(g),I=O(t=>{let r=lC({style:y,timeout:_,easing:l},{mode:"exit"});t.style.webkitTransition=n.transitions.create("opacity",r),t.style.transition=n.transitions.create("opacity",r),h&&h(t)}),A=O(m);return(0,v.jsx)(x,S({appear:a,in:u,nodeRef:k,onEnter:T,onEntered:P,onEntering:R,onExit:I,onExited:A,onExiting:M,addEndListener:t=>{o&&o(k.current,t)},timeout:_},E,{children:(t,r)=>b.cloneElement(s,S({style:S({opacity:0,visibility:"exited"!==t||u?void 0:"hidden"},lz[t],y,s.props.style),ref:C},r))}))});function lZ(t){return r3("MuiBackdrop",t)}nZ("MuiBackdrop",["root","invisible"]);let lH=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],lV=nM("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.invisible&&r.invisible]}})(({ownerState:t})=>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"},t.invisible&&{backgroundColor:"transparent"})),lW=b.forwardRef(function(t,r){var n,i,o;let a=nF({props:t,name:"MuiBackdrop"}),{children:s,className:l,component:u="div",components:c={},componentsProps:d={},invisible:f=!1,open:h,slotProps:m={},slots:g={},TransitionComponent:y=lq,transitionDuration:b}=a,_=w(a,lH),x=S({},a,{component:u,invisible:f}),E=(t=>{let{classes:r,invisible:n}=t;return T({root:["root",n&&"invisible"]},lZ,r)})(x),k=null!=(n=m.root)?n:d.root;return(0,v.jsx)(y,S({in:h,timeout:b},_,{children:(0,v.jsx)(lV,S({"aria-hidden":!0},k,{as:null!=(i=null!=(o=g.root)?o:c.Root)?i:u,className:R(E.root,l,null==k?void 0:k.className),ownerState:S({},x,null==k?void 0:k.ownerState),classes:E,ref:r,children:s}))}))});function lG(t){return r3("MuiModal",t)}nZ("MuiModal",["root","hidden","backdrop"]);let lK=["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"],lX=nM("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,!n.open&&n.exited&&r.hidden]}})(({theme:t,ownerState:r})=>S({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!r.open&&r.exited&&{visibility:"hidden"})),lY=nM(lW,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,r)=>r.backdrop})({zIndex:-1}),lJ=b.forwardRef(function(t,r){var n,i,o,a,s,l;let u=nF({name:"MuiModal",props:t}),{BackdropComponent:c=lY,BackdropProps:d,className:f,closeAfterTransition:h=!1,children:m,container:g,component:y,components:_={},componentsProps:x={},disableAutoFocus:E=!1,disableEnforceFocus:k=!1,disableEscapeKeyDown:C=!1,disablePortal:O=!1,disableRestoreFocus:P=!1,disableScrollLock:M=!1,hideBackdrop:I=!1,keepMounted:A=!1,onBackdropClick:L,open:N,slotProps:j,slots:D}=u,F=w(u,lK),B=S({},u,{closeAfterTransition:h,disableAutoFocus:E,disableEnforceFocus:k,disableEscapeKeyDown:C,disablePortal:O,disableRestoreFocus:P,disableScrollLock:M,hideBackdrop:I,keepMounted:A}),{getRootProps:$,getBackdropProps:U,getTransitionProps:z,portalRef:q,isTopModal:Z,exited:H,hasTransition:V}=function(t){let{container:r,disableEscapeKeyDown:n=!1,disableScrollLock:i=!1,manager:o=lj,closeAfterTransition:a=!1,onTransitionEnter:s,onTransitionExited:l,children:u,onClose:c,open:d,rootRef:f}=t,h=b.useRef({}),m=b.useRef(null),g=b.useRef(null),y=ip(g,f),[v,_]=b.useState(!d),w=!!u&&u.props.hasOwnProperty("in"),x=!0;"false"!==t["aria-hidden"]&&!1!==t["aria-hidden"]||(x=!1);let E=()=>(h.current.modalRef=g.current,h.current.mount=m.current,h.current),k=()=>{o.mount(E(),{disableScrollLock:i}),g.current&&(g.current.scrollTop=0)},C=id(()=>{let t=("function"==typeof r?r():r)||ii(m.current).body;o.add(E(),t),g.current&&k()}),O=b.useCallback(()=>o.isTopModal(E()),[o]),R=id(t=>{m.current=t,t&&(d&&O()?k():g.current&&lI(g.current,x))}),T=b.useCallback(()=>{o.remove(E(),x)},[x,o]);b.useEffect(()=>()=>{T()},[T]),b.useEffect(()=>{d?C():w&&a||T()},[d,T,w,a,C]);let P=t=>r=>{var i;null==(i=t.onKeyDown)||i.call(t,r),"Escape"===r.key&&229!==r.which&&O()&&(n||(r.stopPropagation(),c&&c(r,"escapeKeyDown")))},M=t=>r=>{var n;null==(n=t.onClick)||n.call(t,r),r.target===r.currentTarget&&c&&c(r,"backdropClick")};return{getRootProps:(r={})=>{let n=lu(t);delete n.onTransitionEnter,delete n.onTransitionExited;let i=S({},n,r);return S({role:"presentation"},i,{onKeyDown:P(i),ref:y})},getBackdropProps:(t={})=>S({"aria-hidden":!0},t,{onClick:M(t),open:d}),getTransitionProps:()=>({onEnter:ie(()=>{_(!1),s&&s()},null==u?void 0:u.props.onEnter),onExited:ie(()=>{_(!0),l&&l(),a&&T()},null==u?void 0:u.props.onExited)}),rootRef:y,portalRef:R,isTopModal:O,exited:v,hasTransition:w}}(S({},B,{rootRef:r})),W=S({},B,{exited:H}),G=(t=>{let{open:r,exited:n,classes:i}=t;return T({root:["root",!r&&n&&"hidden"],backdrop:["backdrop"]},lG,i)})(W),K={};if(void 0===m.props.tabIndex&&(K.tabIndex="-1"),V){let{onEnter:t,onExited:r}=z();K.onEnter=t,K.onExited=r}let X=null!=(n=null!=(i=null==D?void 0:D.root)?i:_.Root)?n:lX,Y=null!=(o=null!=(a=null==D?void 0:D.backdrop)?a:_.Backdrop)?o:c,J=null!=(s=null==j?void 0:j.root)?s:x.root,Q=null!=(l=null==j?void 0:j.backdrop)?l:x.backdrop,ee=lh({elementType:X,externalSlotProps:J,externalForwardedProps:F,getSlotProps:$,additionalProps:{ref:r,as:y},ownerState:W,className:R(f,null==J?void 0:J.className,null==G?void 0:G.root,!W.open&&W.exited&&(null==G?void 0:G.hidden))}),et=lh({elementType:Y,externalSlotProps:Q,additionalProps:d,getSlotProps:t=>U(S({},t,{onClick:r=>{L&&L(r),null!=t&&t.onClick&&t.onClick(r)}})),className:R(null==Q?void 0:Q.className,null==d?void 0:d.className,null==G?void 0:G.backdrop),ownerState:W});return A||N||V&&!H?(0,v.jsx)(l$,{ref:q,container:g,disablePortal:O,children:(0,v.jsxs)(X,S({},ee,{children:[!I&&c?(0,v.jsx)(Y,S({},et)):null,(0,v.jsx)(lB,{disableEnforceFocus:k,disableAutoFocus:E,disableRestoreFocus:P,isEnabled:Z,open:N,children:b.cloneElement(m,K)})]}))}):null});function lQ(t){return r3("MuiPopover",t)}nZ("MuiPopover",["root","paper"]);let l0=["onEntering"],l1=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],l2=["slotProps"];function l5(t,r){let n=0;return"number"==typeof r?n=r:"center"===r?n=t.height/2:"bottom"===r&&(n=t.height),n}function l3(t,r){let n=0;return"number"==typeof r?n=r:"center"===r?n=t.width/2:"right"===r&&(n=t.width),n}function l6(t){return[t.horizontal,t.vertical].map(t=>"number"==typeof t?`${t}px`:t).join(" ")}function l4(t){return"function"==typeof t?t():t}let l8=nM(lJ,{name:"MuiPopover",slot:"Root",overridesResolver:(t,r)=>r.root})({}),l7=nM(iK,{name:"MuiPopover",slot:"Paper",overridesResolver:(t,r)=>r.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),l9=b.forwardRef(function(t,r){var n,i,o;let a=nF({props:t,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:u={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:d="anchorEl",children:f,className:h,container:m,elevation:g=8,marginThreshold:y=16,open:_,PaperProps:x={},slots:E,slotProps:k,transformOrigin:C={vertical:"top",horizontal:"left"},TransitionComponent:O=lM,transitionDuration:P="auto",TransitionProps:{onEntering:M}={},disableScrollLock:I=!1}=a,A=w(a.TransitionProps,l0),L=w(a,l1),N=null!=(n=null==k?void 0:k.paper)?n:x,j=b.useRef(),D=ip(j,N.ref),F=S({},a,{anchorOrigin:u,anchorReference:d,elevation:g,marginThreshold:y,externalPaperSlotProps:N,transformOrigin:C,TransitionComponent:O,transitionDuration:P,TransitionProps:A}),B=(t=>{let{classes:r}=t;return T({root:["root"],paper:["paper"]},lQ,r)})(F),$=b.useCallback(()=>{if("anchorPosition"===d)return c;let t=l4(l),r=(t&&1===t.nodeType?t:ii(j.current).body).getBoundingClientRect();return{top:r.top+l5(r,u.vertical),left:r.left+l3(r,u.horizontal)}},[l,u.horizontal,u.vertical,c,d]),U=b.useCallback(t=>({vertical:l5(t,C.vertical),horizontal:l3(t,C.horizontal)}),[C.horizontal,C.vertical]),z=b.useCallback(t=>{let r={width:t.offsetWidth,height:t.offsetHeight},n=U(r);if("none"===d)return{top:null,left:null,transformOrigin:l6(n)};let i=$(),o=i.top-n.vertical,a=i.left-n.horizontal,s=o+r.height,u=a+r.width,c=io(l4(l)),f=c.innerHeight-y,h=c.innerWidth-y;if(null!==y&&o<y){let t=o-y;o-=t,n.vertical+=t}else if(null!==y&&s>f){let t=s-f;o-=t,n.vertical+=t}if(null!==y&&a<y){let t=a-y;a-=t,n.horizontal+=t}else if(u>h){let t=u-h;a-=t,n.horizontal+=t}return{top:`${Math.round(o)}px`,left:`${Math.round(a)}px`,transformOrigin:l6(n)}},[l,d,$,U,y]),[q,Z]=b.useState(_),H=b.useCallback(()=>{let t=j.current;if(!t)return;let r=z(t);null!==r.top&&(t.style.top=r.top),null!==r.left&&(t.style.left=r.left),t.style.transformOrigin=r.transformOrigin,Z(!0)},[z]);b.useEffect(()=>(I&&window.addEventListener("scroll",H),()=>window.removeEventListener("scroll",H)),[l,I,H]),b.useEffect(()=>{_&&H()}),b.useImperativeHandle(s,()=>_?{updatePosition:()=>{H()}}:null,[_,H]),b.useEffect(()=>{if(!_)return;let t=it(()=>{H()}),r=io(l);return r.addEventListener("resize",t),()=>{t.clear(),r.removeEventListener("resize",t)}},[l,_,H]);let V=P;"auto"!==P||O.muiSupportAuto||(V=void 0);let W=m||(l?ii(l4(l)).body:void 0),G=null!=(i=null==E?void 0:E.root)?i:l8,K=null!=(o=null==E?void 0:E.paper)?o:l7,X=lh({elementType:K,externalSlotProps:S({},N,{style:q?N.style:S({},N.style,{opacity:0})}),additionalProps:{elevation:g,ref:D},ownerState:F,className:R(B.paper,null==N?void 0:N.className)}),Y=lh({elementType:G,externalSlotProps:(null==k?void 0:k.root)||{},externalForwardedProps:L,additionalProps:{ref:r,slotProps:{backdrop:{invisible:!0}},container:W,open:_},ownerState:F,className:R(B.root,h)}),{slotProps:J}=Y,Q=w(Y,l2);return(0,v.jsx)(G,S({},Q,!la(G)&&{slotProps:J,disableScrollLock:I},{children:(0,v.jsx)(O,S({appear:!0,in:_,onEntering:(t,r)=>{M&&M(t,r),H()},onExited:()=>{Z(!1)},timeout:V},A,{children:(0,v.jsx)(K,S({},X,{children:f}))}))}))});function ue(t){return r3("MuiMenu",t)}nZ("MuiMenu",["root","paper","list"]);let ut=["onEntering"],ur=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],un={vertical:"top",horizontal:"right"},ui={vertical:"top",horizontal:"left"},uo=nM(l9,{shouldForwardProp:t=>nP(t)||"classes"===t,name:"MuiMenu",slot:"Root",overridesResolver:(t,r)=>r.root})({}),ua=nM(l7,{name:"MuiMenu",slot:"Paper",overridesResolver:(t,r)=>r.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),us=nM(lk,{name:"MuiMenu",slot:"List",overridesResolver:(t,r)=>r.list})({outline:0}),ul=b.forwardRef(function(t,r){var n,i;let o=nF({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:l,disableAutoFocusItem:u=!1,MenuListProps:c={},onClose:d,open:f,PaperProps:h={},PopoverClasses:m,transitionDuration:g="auto",TransitionProps:{onEntering:y}={},variant:_="selectedMenu",slots:x={},slotProps:E={}}=o,k=w(o.TransitionProps,ut),C=w(o,ur),O=iL(),P=S({},o,{autoFocus:a,disableAutoFocusItem:u,MenuListProps:c,onEntering:y,PaperProps:h,transitionDuration:g,TransitionProps:k,variant:_}),M=(t=>{let{classes:r}=t;return T({root:["root"],paper:["paper"],list:["list"]},ue,r)})(P),I=a&&!u&&f,A=b.useRef(null),L=-1;b.Children.map(s,(t,r)=>{b.isValidElement(t)&&(t.props.disabled||("selectedMenu"===_&&t.props.selected||-1===L)&&(L=r))});let N=null!=(n=x.paper)?n:ua,j=null!=(i=E.paper)?i:h,D=lh({elementType:x.root,externalSlotProps:E.root,ownerState:P,className:[M.root,l]}),F=lh({elementType:N,externalSlotProps:j,ownerState:P,className:M.paper});return(0,v.jsx)(uo,S({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?un:ui,slots:{paper:N,root:x.root},slotProps:{root:D,paper:F},open:f,ref:r,transitionDuration:g,TransitionProps:S({onEntering:(t,r)=>{A.current&&A.current.adjustStyleForScrollbar(t,{direction:O?"rtl":"ltr"}),y&&y(t,r)}},k),ownerState:P},C,{classes:m,children:(0,v.jsx)(us,S({onKeyDown:t=>{"Tab"===t.key&&(t.preventDefault(),d&&d(t,"tabKeyDown"))},actions:A,autoFocus:a&&(-1===L||u),autoFocusItem:I,variant:_},c,{className:R(M.list,c.className),children:s}))}))});var uu=b.forwardRef((t,r)=>{let{direction:n}=iH(),i={...t};return"rtl"===n&&(i.anchorOrigin?.horizontal&&(i.anchorOrigin={...i.anchorOrigin,horizontal:"left"===i.anchorOrigin.horizontal?"right":"left"}),i.transformOrigin?.horizontal&&(i.transformOrigin={...i.transformOrigin,horizontal:"left"===i.transformOrigin.horizontal?"right":"left"})),b.createElement(l9,{...i,ref:r})});let uc={elevation:6},ud=b.forwardRef((t,r)=>b.createElement(ul,{as:uu,...uc,...t,ref:r}));function up(t){return r3("MuiListItemIcon",t)}ud.defaultProps=uc;let uf=nZ("MuiListItemIcon",["root","alignItemsFlexStart"]),uh=["className"],um=nM("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,"flex-start"===n.alignItems&&r.alignItemsFlexStart]}})(({theme:t,ownerState:r})=>S({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===r.alignItems&&{marginTop:8})),ug=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiListItemIcon"}),{className:i}=n,o=w(n,uh),a=S({},n,{alignItems:b.useContext(lm).alignItems}),s=(t=>{let{alignItems:r,classes:n}=t;return T({root:["root","flex-start"===r&&"alignItemsFlexStart"]},up,n)})(a);return(0,v.jsx)(um,S({className:R(s.root,i),ownerState:a,ref:r},o))});function uy(t){return r3("MuiListItemText",t)}let uv=nZ("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),ub=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],u_=nM("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[{[`& .${uv.primary}`]:r.primary},{[`& .${uv.secondary}`]:r.secondary},r.root,n.inset&&r.inset,n.primary&&n.secondary&&r.multiline,n.dense&&r.dense]}})(({ownerState:t})=>S({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})),uw=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiListItemText"}),{children:i,className:o,disableTypography:a=!1,inset:s=!1,primary:l,primaryTypographyProps:u,secondary:c,secondaryTypographyProps:d}=n,f=w(n,ub),{dense:h}=b.useContext(lm),m=null!=l?l:i,g=c,y=S({},n,{disableTypography:a,inset:s,primary:!!m,secondary:!!g,dense:h}),_=(t=>{let{classes:r,inset:n,primary:i,secondary:o,dense:a}=t;return T({root:["root",n&&"inset",a&&"dense",i&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},uy,r)})(y);return null==m||m.type===oo||a||(m=(0,v.jsx)(oo,S({variant:h?"body2":"body1",className:_.primary,component:null!=u&&u.variant?void 0:"span",display:"block"},u,{children:m}))),null==g||g.type===oo||a||(g=(0,v.jsx)(oo,S({variant:"body2",className:_.secondary,color:"text.secondary",display:"block"},d,{children:g}))),(0,v.jsxs)(u_,S({className:R(_.root,o),ownerState:y,ref:r},f,{children:[m,g]}))});function uS(t){return r3("MuiMenuItem",t)}let ux=nZ("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),uE=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],uk=nM(oB,{shouldForwardProp:t=>nP(t)||"classes"===t,name:"MuiMenuItem",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.dense&&r.dense,n.divider&&r.divider,!n.disableGutters&&r.gutters]}})(({theme:t,ownerState:r})=>S({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ux.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:r9.alpha(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${ux.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:r9.alpha(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${ux.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:r9.alpha(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:r9.alpha(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${ux.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${ux.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${st.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${st.inset}`]:{marginLeft:52},[`& .${uv.root}`]:{marginTop:0,marginBottom:0},[`& .${uv.inset}`]:{paddingLeft:36},[`& .${uf.root}`]:{minWidth:36}},!r.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},r.dense&&S({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{[`& .${uf.root} svg`]:{fontSize:"1.25rem"}}))),uC=b.forwardRef(function(t,r){let n,i=nF({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:a="li",dense:s=!1,divider:l=!1,disableGutters:u=!1,focusVisibleClassName:c,role:d="menuitem",tabIndex:f,className:h}=i,m=w(i,uE),g=b.useContext(lm),y=b.useMemo(()=>({dense:s||g.dense||!1,disableGutters:u}),[g.dense,s,u]),_=b.useRef(null);n0(()=>{o&&_.current&&_.current.focus()},[o]);let x=S({},i,{dense:y.dense,divider:l,disableGutters:u}),E=(t=>{let{disabled:r,dense:n,divider:i,disableGutters:o,selected:a,classes:s}=t;return S({},s,T({root:["root",n&&"dense",r&&"disabled",!o&&"gutters",i&&"divider",a&&"selected"]},uS,s))})(i),k=ip(_,r);return i.disabled||(n=void 0!==f?f:-1),(0,v.jsx)(lm.Provider,{value:y,children:(0,v.jsx)(uk,S({ref:k,role:d,tabIndex:n,component:a,focusVisibleClassName:R(E.focusVisible,c),className:R(E.root,h)},m,{ownerState:x,classes:E}))})});var uO=b.forwardRef((t,r)=>b.createElement(uC,{...t,ref:r})),uR=b.forwardRef((t,r)=>b.createElement(ug,{...t,ref:r})),uT=b.forwardRef((t,r)=>b.createElement(uw,{...t,ref:r})),uP=b.forwardRef((t,r)=>b.createElement(a8,{viewBox:"0 0 24 24",...t,ref:r},b.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"})));let uM={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,r){console&&console[t]&&console[t].apply(console,r)}};let gf=class gf{init(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||uM,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"log","",!0)}warn(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","",!0)}error(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"error","")}deprecate(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,n,i){return i&&!this.debug?null:("string"==typeof t[0]&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new gf(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new gf(this.logger,t)}constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(t,r)}};var uI=new gf;let bf=class bf{on(t,r){return t.split(" ").forEach(t=>{this.observers[t]||(this.observers[t]=new Map);let n=this.observers[t].get(r)||0;this.observers[t].set(r,n+1)}),this}off(t,r){this.observers[t]&&(r?this.observers[t].delete(r):delete this.observers[t])}emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(t=>{let[r,i]=t;for(let t=0;t<i;t++)r(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(r=>{let[i,o]=r;for(let r=0;r<o;r++)i.apply(i,[t,...n])})}constructor(){this.observers={}}};let uA=()=>{let t,r,n=new Promise((n,i)=>{t=n,r=i});return n.resolve=t,n.reject=r,n},uL=t=>null==t?"":""+t,uN=/###/g,uj=t=>t&&t.indexOf("###")>-1?t.replace(uN,"."):t,uD=t=>!t||"string"==typeof t,uF=(t,r,n)=>{let i="string"!=typeof r?r:r.split("."),o=0;for(;o<i.length-1;){if(uD(t))return{};let r=uj(i[o]);!t[r]&&n&&(t[r]=new n),t=Object.prototype.hasOwnProperty.call(t,r)?t[r]:{},++o}return uD(t)?{}:{obj:t,k:uj(i[o])}},uB=(t,r,n)=>{let{obj:i,k:o}=uF(t,r,Object);if(void 0!==i||1===r.length)return void(i[o]=n);let a=r[r.length-1],s=r.slice(0,r.length-1),l=uF(t,s,Object);for(;void 0===l.obj&&s.length;)a=`${s[s.length-1]}.${a}`,(l=uF(t,s=s.slice(0,s.length-1),Object))&&l.obj&&void 0!==l.obj[`${l.k}.${a}`]&&(l.obj=void 0);l.obj[`${l.k}.${a}`]=n},u$=(t,r)=>{let{obj:n,k:i}=uF(t,r);if(n)return n[i]},uU=(t,r,n)=>{for(let i in r)"__proto__"!==i&&"constructor"!==i&&(i in t?"string"==typeof t[i]||t[i]instanceof String||"string"==typeof r[i]||r[i]instanceof String?n&&(t[i]=r[i]):uU(t[i],r[i],n):t[i]=r[i]);return t},uz=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var uq={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};let uZ=t=>"string"==typeof t?t.replace(/[&<>"'\/]/g,t=>uq[t]):t,uH=[" ",",","?","!",";"],uV=new class{getRegExp(t){let r=this.regExpMap.get(t);if(void 0!==r)return r;let n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}}(20),uW=function(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!t)return;if(t[r])return t[r];let i=r.split(n),o=t;for(let t=0;t<i.length;){if(!o||"object"!=typeof o)return;let r,a="";for(let s=t;s<i.length;++s)if(s!==t&&(a+=n),a+=i[s],void 0!==(r=o[a])){if(["string","number","boolean"].indexOf(typeof r)>-1&&s<i.length-1)continue;t+=s-t+1;break}o=r}return o},uG=t=>t&&t.indexOf("_")>0?t.replace("_","-"):t;let $f=class $f extends bf{addNamespaces(t){0>this.options.ns.indexOf(t)&&this.options.ns.push(t)}removeNamespaces(t){let r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n){let i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,s=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure;t.indexOf(".")>-1?i=t.split("."):(i=[t,r],n&&(Array.isArray(n)?i.push(...n):"string"==typeof n&&a?i.push(...n.split(a)):i.push(n)));let l=u$(this.data,i);return!l&&!r&&!n&&t.indexOf(".")>-1&&(t=i[0],r=i[1],n=i.slice(2).join(".")),l||!s||"string"!=typeof n?l:uW(this.data&&this.data[t]&&this.data[t][r],n,a)}addResource(t,r,n,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,s=[t,r];n&&(s=s.concat(a?n.split(a):n)),t.indexOf(".")>-1&&(s=t.split("."),i=r,r=s[1]),this.addNamespaces(r),uB(this.data,s,i),o.silent||this.emit("added",t,r,n,i)}addResources(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let i in n)("string"==typeof n[i]||Array.isArray(n[i]))&&this.addResource(t,r,i,n[i],{silent:!0});i.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,i,o){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},s=[t,r];t.indexOf(".")>-1&&(s=t.split("."),i=n,n=r,r=s[1]),this.addNamespaces(r);let l=u$(this.data,s)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?uU(l,n,o):l={...l,...n},uB(this.data,s,l),a.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return void 0!==this.getResource(t,r)}getResourceBundle(t,r){return r||(r=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(t,r)}:this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){let r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(t=>r[t]&&Object.keys(r[t]).length>0)}toJSON(){return this.data}constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}};var uK={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,r,n,i,o){return t.forEach(t=>{this.processors[t]&&(r=this.processors[t].process(r,n,i,o))}),r}};let uX={};let jf=class jf extends bf{changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==t)return!1;let n=this.resolve(t,r);return n&&void 0!==n.res}extractFromKey(t,r){let n=void 0!==r.nsSeparator?r.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");let i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=r.ns||this.options.defaultNS||[],a=n&&t.indexOf(n)>-1,s=!(this.options.userDefinedKeySeparator||r.keySeparator||this.options.userDefinedNsSeparator||r.nsSeparator||((t,r,n)=>{r=r||"",n=n||"";let i=uH.filter(t=>0>r.indexOf(t)&&0>n.indexOf(t));if(0===i.length)return!0;let o=uV.getRegExp(`(${i.map(t=>"?"===t?"\\?":t).join("|")})`),a=!o.test(t);if(!a){let r=t.indexOf(n);r>0&&!o.test(t.substring(0,r))&&(a=!0)}return a})(t,n,i));if(a&&!s){let r=t.match(this.interpolator.nestingRegexp);if(r&&r.length>0)return{key:t,namespaces:o};let a=t.split(n);(n!==i||n===i&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),t=a.join(i)}return"string"==typeof o&&(o=[o]),{key:t,namespaces:o}}translate(t,r,n){if("object"!=typeof r&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof r&&(r={...r}),r||(r={}),null==t)return"";Array.isArray(t)||(t=[String(t)]);let i=void 0!==r.returnDetails?r.returnDetails:this.options.returnDetails,o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(t[t.length-1],r),l=s[s.length-1],u=r.lng||this.language,c=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&"cimode"===u.toLowerCase()){if(c){let t=r.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${t}${a}`,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:`${l}${t}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:a}let d=this.resolve(t,r),f=d&&d.res,h=d&&d.usedKey||a,m=d&&d.exactUsedKey||a,g=Object.prototype.toString.apply(f),y=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject;if(v&&f&&"string"!=typeof f&&"boolean"!=typeof f&&"number"!=typeof f&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(g)&&("string"!=typeof y||!Array.isArray(f))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let t=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,f,{...r,ns:s}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(d.res=t,d.usedParams=this.getUsedParamsDetails(r),d):t}if(o){let t=Array.isArray(f),n=t?[]:{},i=t?m:h;for(let t in f)if(Object.prototype.hasOwnProperty.call(f,t)){let a=`${i}${o}${t}`;n[t]=this.translate(a,{...r,joinArrays:!1,ns:s}),n[t]===a&&(n[t]=f[t])}f=n}}else if(v&&"string"==typeof y&&Array.isArray(f))(f=f.join(y))&&(f=this.extendTranslation(f,t,r,n));else{let i=!1,s=!1,c=void 0!==r.count&&"string"!=typeof r.count,h=jf.hasDefaultValue(r),m=c?this.pluralResolver.getSuffix(u,r.count,r):"",g=r.ordinal&&c?this.pluralResolver.getSuffix(u,r.count,{ordinal:!1}):"",y=c&&!r.ordinal&&0===r.count&&this.pluralResolver.shouldUseIntlApi(),v=y&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${m}`]||r[`defaultValue${g}`]||r.defaultValue;!this.isValidLookup(f)&&h&&(i=!0,f=v),this.isValidLookup(f)||(s=!0,f=a);let b=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:f,_=h&&v!==f&&this.options.updateMissing;if(s||i||_){if(this.logger.log(_?"updateKey":"missingKey",u,l,a,_?v:f),o){let t=this.resolve(a,{...r,keySeparator:!1});t&&t.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 t=[],n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let r=0;r<n.length;r++)t.push(n[r]);else"all"===this.options.saveMissingTo?t=this.languageUtils.toResolveHierarchy(r.lng||this.language):t.push(r.lng||this.language);let i=(t,n,i)=>{let o=h&&i!==f?i:b;this.options.missingKeyHandler?this.options.missingKeyHandler(t,l,n,o,_,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(t,l,n,o,_,r),this.emit("missingKey",t,l,n,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?t.forEach(t=>{let n=this.pluralResolver.getSuffixes(t,r);y&&r[`defaultValue${this.options.pluralSeparator}zero`]&&0>n.indexOf(`${this.options.pluralSeparator}zero`)&&n.push(`${this.options.pluralSeparator}zero`),n.forEach(n=>{i([t],a+n,r[`defaultValue${n}`]||v)})}):i(t,a,v))}f=this.extendTranslation(f,t,r,d,n),s&&f===a&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${a}`),(s||i)&&this.options.parseMissingKeyHandler&&(f="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,i?f:void 0):this.options.parseMissingKeyHandler(f))}return i?(d.res=f,d.usedParams=this.getUsedParamsDetails(r),d):f}extendTranslation(t,r,n,i,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){let s;n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let l="string"==typeof t&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(l){let r=t.match(this.interpolator.nestingRegexp);s=r&&r.length}let u=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(u={...this.options.interpolation.defaultVariables,...u}),t=this.interpolator.interpolate(t,u,n.lng||this.language||i.usedLng,n),l){let r=t.match(this.interpolator.nestingRegexp);s<(r&&r.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&i&&i.res&&(n.lng=this.language||i.usedLng),!1!==n.nest&&(t=this.interpolator.nest(t,function(){for(var t=arguments.length,i=Array(t),s=0;s<t;s++)i[s]=arguments[s];return o&&o[0]===i[0]&&!n.context?(a.logger.warn(`It seems you are nesting recursively key: ${i[0]} in key: ${r[0]}`),null):a.translate(...i,r)},n)),n.interpolation&&this.interpolator.reset()}let s=n.postProcess||this.options.postProcess,l="string"==typeof s?[s]:s;return null!=t&&l&&l.length&&!1!==n.applyPostProcessor&&(t=uK.handle(l,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t){let r,n,i,o,a,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof t&&(t=[t]),t.forEach(t=>{if(this.isValidLookup(r))return;let l=this.extractFromKey(t,s),u=l.key;n=u;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let d=void 0!==s.count&&"string"!=typeof s.count,f=d&&!s.ordinal&&0===s.count&&this.pluralResolver.shouldUseIntlApi(),h=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,m=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);c.forEach(t=>{this.isValidLookup(r)||(a=t,!uX[`${m[0]}-${t}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(uX[`${m[0]}-${t}`]=!0,this.logger.warn(`key "${n}" for languages "${m.join(", ")}" won't get resolved as namespace "${a}" 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!!!")),m.forEach(n=>{let a;if(this.isValidLookup(r))return;o=n;let l=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(l,u,n,t,s);else{let t;d&&(t=this.pluralResolver.getSuffix(n,s.count,s));let r=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(l.push(u+t),s.ordinal&&0===t.indexOf(i)&&l.push(u+t.replace(i,this.options.pluralSeparator)),f&&l.push(u+r)),h){let n=`${u}${this.options.contextSeparator}${s.context}`;l.push(n),d&&(l.push(n+t),s.ordinal&&0===t.indexOf(i)&&l.push(n+t.replace(i,this.options.pluralSeparator)),f&&l.push(n+r))}}for(;a=l.pop();)this.isValidLookup(r)||(i=a,r=this.getResource(n,t,a,s))}))})}),{res:r,usedKey:n,exactUsedKey:i,usedLng:o,usedNS:a}}isValidLookup(t){return!(void 0===t||!this.options.returnNull&&null===t||!this.options.returnEmptyString&&""===t)}getResource(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,n,i):this.resourceStore.getResource(t,r,n,i)}getUsedParamsDetails(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.replace&&"string"!=typeof t.replace,n=r?t.replace:t;if(r&&void 0!==t.count&&(n.count=t.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!r)for(let t of(n={...n},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete n[t];return n}static hasDefaultValue(t){for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&"defaultValue"===r.substring(0,12)&&void 0!==t[r])return!0;return!1}constructor(t){var r;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),r=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(n=>{t[n]&&(r[n]=t[n])}),this.options=n,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=uI.create("translator")}};let uY=t=>t.charAt(0).toUpperCase()+t.slice(1);let zf=class zf{getScriptPartFromCode(t){if(!(t=uG(t))||0>t.indexOf("-"))return null;let r=t.split("-");return 2===r.length?null:(r.pop(),"x"===r[r.length-1].toLowerCase()?null:this.formatLanguageCode(r.join("-")))}getLanguagePartFromCode(t){if(!(t=uG(t))||0>t.indexOf("-"))return t;let r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if("string"==typeof t&&t.indexOf("-")>-1){let r=["hans","hant","latn","cyrl","cans","mong","arab"],n=t.split("-");return this.options.lowerCaseLng?n=n.map(t=>t.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=uY(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=uY(n[1].toLowerCase())),r.indexOf(n[2].toLowerCase())>-1&&(n[2]=uY(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){let r;return t?(t.forEach(t=>{if(r)return;let n=this.formatLanguageCode(t);this.options.supportedLngs&&!this.isSupportedCode(n)||(r=n)}),!r&&this.options.supportedLngs&&t.forEach(t=>{if(r)return;let n=this.getLanguagePartFromCode(t);if(this.isSupportedCode(n))return r=n;r=this.options.supportedLngs.find(t=>t===n?t:0>t.indexOf("-")&&0>n.indexOf("-")?void 0:t.indexOf("-")>0&&0>n.indexOf("-")&&t.substring(0,t.indexOf("-"))===n||0===t.indexOf(n)&&n.length>1?t:void 0)}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r):null}getFallbackCodes(t,r){if(!t)return[];if("function"==typeof t&&(t=t(r)),"string"==typeof t&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){let n=this.getFallbackCodes(r||this.options.fallbackLng||[],t),i=[],o=t=>{t&&(this.isSupportedCode(t)?i.push(t):this.logger.warn(`rejecting language code not found in supportedLngs: ${t}`))};return"string"==typeof t&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(t))):"string"==typeof t&&o(this.formatLanguageCode(t)),n.forEach(t=>{0>i.indexOf(t)&&o(this.formatLanguageCode(t))}),i}constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=uI.create("languageUtils")}};let uJ=[{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}],uQ={1:t=>Number(t>1),2:t=>Number(1!=t),3:t=>0,4:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),5:t=>Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5),6:t=>Number(1==t?0:t>=2&&t<=4?1:2),7:t=>Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),8:t=>Number(1==t?0:2==t?1:8!=t&&11!=t?2:3),9:t=>Number(t>=2),10:t=>Number(1==t?0:2==t?1:t<7?2:t<11?3:4),11:t=>Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3),12:t=>Number(t%10!=1||t%100==11),13:t=>Number(0!==t),14:t=>Number(1==t?0:2==t?1:3==t?2:3),15:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2),16:t=>Number(t%10==1&&t%100!=11?0:0!==t?1:2),17:t=>Number(+(1!=t&&(t%10!=1||t%100==11))),18:t=>Number(0==t?0:1==t?1:2),19:t=>Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3),20:t=>Number(1==t?0:0==t||t%100>0&&t%100<20?1:2),21:t=>Number(t%100==1?1:t%100==2?2:3*(t%100==3||t%100==4)),22:t=>Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)},u0=["v1","v2","v3"],u1=["v4"],u2={zero:0,one:1,two:2,few:3,many:4,other:5};let Hf=class Hf{addRule(t,r){this.rules[t]=r}clearCache(){this.pluralRulesCache={}}getRule(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{let n=uG("dev"===t?"en":t),i=r.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let a=new Intl.PluralRules(n,{type:i});return this.pluralRulesCache[o]=a,a}catch(t){return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(t,r);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(t,n).map(t=>`${r}${t}`)}getSuffixes(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(t,r);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((t,r)=>u2[t]-u2[r]).map(t=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${t}`):n.numbers.map(n=>this.getSuffix(t,n,r)):[]}getSuffix(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.getRule(t,n);return i?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(r)}`:this.getSuffixRetroCompatible(i,r):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,r){let n=t.noAbs?t.plurals(r):t.plurals(Math.abs(r)),i=t.numbers[n];this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]&&(2===i?i="plural":1===i&&(i=""));let o=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?`_plural_${i.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!u0.includes(this.options.compatibilityJSON)}constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=uI.create("pluralResolver"),this.options.compatibilityJSON&&!u1.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=(()=>{let t={};return uJ.forEach(r=>{r.lngs.forEach(n=>{t[n]={numbers:r.nr,plurals:uQ[r.fc]}})}),t})(),this.pluralRulesCache={}}};let u5=function(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=((t,r,n)=>{let i=u$(t,n);return void 0!==i?i:u$(r,n)})(t,r,n);return!a&&o&&"string"==typeof n&&void 0===(a=uW(t,n,i))&&(a=uW(r,n,i)),a},u3=t=>t.replace(/\$/g,"$$$$");let Xf=class Xf{init(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});let{escape:r,escapeValue:n,useRawValueToEscape:i,prefix:o,prefixEscaped:a,suffix:s,suffixEscaped:l,formatSeparator:u,unescapeSuffix:c,unescapePrefix:d,nestingPrefix:f,nestingPrefixEscaped:h,nestingSuffix:m,nestingSuffixEscaped:g,nestingOptionsSeparator:y,maxReplaces:v,alwaysFormat:b}=t.interpolation;this.escape=void 0!==r?r:uZ,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==i&&i,this.prefix=o?uz(o):a||"{{",this.suffix=s?uz(s):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=c?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?uz(f):h||uz("$t("),this.nestingSuffix=m?uz(m):g||uz(")"),this.nestingOptionsSeparator=y||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let t=(t,r)=>t&&t.source===r?(t.lastIndex=0,t):RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,n,i){let o,a,s,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=t=>{if(0>t.indexOf(this.formatSeparator)){let o=u5(r,l,t,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,n,{...i,...r,interpolationkey:t}):o}let o=t.split(this.formatSeparator),a=o.shift().trim(),s=o.join(this.formatSeparator).trim();return this.format(u5(r,l,a,this.options.keySeparator,this.options.ignoreJSONStructure),s,n,{...i,...r,interpolationkey:a})};this.resetRegExp();let c=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,d=i&&i.interpolation&&void 0!==i.interpolation.skipOnVariables?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:t=>u3(t)},{regex:this.regexp,safeValue:t=>this.escapeValue?u3(this.escape(t)):u3(t)}].forEach(r=>{for(s=0;o=r.regex.exec(t);){let n=o[1].trim();if(void 0===(a=u(n)))if("function"==typeof c){let r=c(t,o,i);a="string"==typeof r?r:""}else if(i&&Object.prototype.hasOwnProperty.call(i,n))a="";else{if(d){a=o[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${t}`),a=""}else"string"==typeof a||this.useRawValueToEscape||(a=uL(a));let l=r.safeValue(a);if(t=t.replace(o[0],l),d?(r.regex.lastIndex+=a.length,r.regex.lastIndex-=o[0].length):r.regex.lastIndex=0,++s>=this.maxReplaces)break}}),t}nest(t,r){let n,i,o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=(t,r)=>{let n=this.nestingOptionsSeparator;if(0>t.indexOf(n))return t;let i=t.split(RegExp(`${n}[ ]*{`)),a=`{${i[1]}`;t=i[0];let s=(a=this.interpolate(a,o)).match(/'/g),l=a.match(/"/g);(s&&s.length%2==0&&!l||l.length%2!=0)&&(a=a.replace(/'/g,'"'));try{o=JSON.parse(a),r&&(o={...r,...o})}catch(r){return this.logger.warn(`failed parsing options string in nesting for key ${t}`,r),`${t}${n}${a}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,t};for(;n=this.nestingRegexp.exec(t);){let l=[];(o=(o={...a}).replace&&"string"!=typeof o.replace?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){let t=n[1].split(this.formatSeparator).map(t=>t.trim());n[1]=t.shift(),l=t,u=!0}if((i=r(s.call(this,n[1].trim(),o),o))&&n[0]===t&&"string"!=typeof i)return i;"string"!=typeof i&&(i=uL(i)),i||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${t}`),i=""),u&&(i=l.reduce((t,r)=>this.format(t,r,a.lng,{...a,interpolationkey:n[1].trim()}),i.trim())),t=t.replace(n[0],i),this.regexp.lastIndex=0}return t}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=uI.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(t=>t),this.init(t)}};let u6=t=>{let r={};return(n,i,o)=>{let a=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(a={...a,[o.interpolationkey]:void 0});let s=i+JSON.stringify(a),l=r[s];return l||(l=t(uG(i),o),r[s]=l),l(n)}};let Qf=class Qf{init(t){let r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=u6(r)}format(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&0>o[0].indexOf(")")&&o.find(t=>t.indexOf(")")>-1)){let t=o.findIndex(t=>t.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,t)].join(this.formatSeparator)}return o.reduce((t,r)=>{let{formatName:o,formatOptions:a}=(t=>{let r=t.toLowerCase().trim(),n={};if(t.indexOf("(")>-1){let i=t.split("(");r=i[0].toLowerCase().trim();let o=i[1].substring(0,i[1].length-1);"currency"===r&&0>o.indexOf(":")?n.currency||(n.currency=o.trim()):"relativetime"===r&&0>o.indexOf(":")?n.range||(n.range=o.trim()):o.split(";").forEach(t=>{if(t){let[r,...i]=t.split(":"),o=i.join(":").trim().replace(/^'+|'+$/g,""),a=r.trim();n[a]||(n[a]=o),"false"===o&&(n[a]=!1),"true"===o&&(n[a]=!0),isNaN(o)||(n[a]=parseInt(o,10))}})}return{formatName:r,formatOptions:n}})(r);if(this.formats[o]){let r=t;try{let s=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},l=s.locale||s.lng||i.locale||i.lng||n;r=this.formats[o](t,l,{...a,...i,...s})}catch(t){this.logger.warn(t)}return r}return this.logger.warn(`there was no format function for ${o}`),t},t)}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=uI.create("formatter"),this.options=t,this.formats={number:u6((t,r)=>{let n=new Intl.NumberFormat(t,{...r});return t=>n.format(t)}),currency:u6((t,r)=>{let n=new Intl.NumberFormat(t,{...r,style:"currency"});return t=>n.format(t)}),datetime:u6((t,r)=>{let n=new Intl.DateTimeFormat(t,{...r});return t=>n.format(t)}),relativetime:u6((t,r)=>{let n=new Intl.RelativeTimeFormat(t,{...r});return t=>n.format(t,r.range||"day")}),list:u6((t,r)=>{let n=new Intl.ListFormat(t,{...r});return t=>n.format(t)})},this.init(t)}};let Zf=class Zf extends bf{queueLoad(t,r,n,i){let o={},a={},s={},l={};return t.forEach(t=>{let i=!0;r.forEach(r=>{let s=`${t}|${r}`;!n.reload&&this.store.hasResourceBundle(t,r)?this.state[s]=2:this.state[s]<0||(1===this.state[s]?void 0===a[s]&&(a[s]=!0):(this.state[s]=1,i=!1,void 0===a[s]&&(a[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[r]&&(l[r]=!0)))}),i||(s[t]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(t,r,n){let i=t.split("|"),o=i[0],a=i[1];r&&this.emit("failedLoading",o,a,r),!r&&n&&this.store.addResourceBundle(o,a,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);let s={};this.queue.forEach(n=>{((t,r,n)=>{let{obj:i,k:o}=uF(t,r,Object);i[o]=i[o]||[],i[o].push(n)})(n.loaded,[o],a),void 0!==n.pending[t]&&(delete n.pending[t],n.pendingCount--),r&&n.errors.push(r),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(t=>{s[t]||(s[t]={});let r=n.loaded[t];r.length&&r.forEach(r=>{void 0===s[t][r]&&(s[t][r]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(t=>!t.done)}read(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:t,ns:r,fcName:n,tried:i,wait:o,callback:a});this.readingCalls++;let s=(s,l)=>{if(this.readingCalls--,this.waitingReads.length>0){let t=this.waitingReads.shift();this.read(t.lng,t.ns,t.fcName,t.tried,t.wait,t.callback)}s&&l&&i<this.maxRetries?setTimeout(()=>{this.read.call(this,t,r,n,i+1,2*o,a)},o):a(s,l)},l=this.backend[n].bind(this.backend);if(2!==l.length)return l(t,r,s);try{let n=l(t,r);n&&"function"==typeof n.then?n.then(t=>s(null,t)).catch(s):s(null,n)}catch(t){s(t)}}prepareLoading(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=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."),i&&i();"string"==typeof t&&(t=this.languageUtils.toResolveHierarchy(t)),"string"==typeof r&&(r=[r]);let o=this.queueLoad(t,r,n,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(t=>{this.loadOne(t)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t.split("|"),i=n[0],o=n[1];this.read(i,o,"read",void 0,void 0,(n,a)=>{n&&this.logger.warn(`${r}loading namespace ${o} for language ${i} failed`,n),!n&&a&&this.logger.log(`${r}loaded namespace ${o} for language ${i}`,a),this.loaded(t,n,a)})}saveMissing(t,r,n,i,o){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r))this.logger.warn(`did not save key "${n}" as the namespace "${r}" 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!=n&&""!==n){if(this.backend&&this.backend.create){let l={...a,isUpdate:o},u=this.backend.create.bind(this.backend);if(u.length<6)try{let o;(o=5===u.length?u(t,r,n,i,l):u(t,r,n,i))&&"function"==typeof o.then?o.then(t=>s(null,t)).catch(s):s(null,o)}catch(t){s(t)}else u(t,r,n,i,s,l)}t&&t[0]&&this.store.addResource(t[0],r,n,i)}}constructor(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=uI.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,i.backend,i)}};let u4=()=>({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:t=>{let r={};if("object"==typeof t[1]&&(r=t[1]),"string"==typeof t[1]&&(r.defaultValue=t[1]),"string"==typeof t[2]&&(r.tDescription=t[2]),"object"==typeof t[2]||"object"==typeof t[3]){let n=t[3]||t[2];Object.keys(n).forEach(t=>{r[t]=n[t]})}return r},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),u8=t=>("string"==typeof t.ns&&(t.ns=[t.ns]),"string"==typeof t.fallbackLng&&(t.fallbackLng=[t.fallbackLng]),"string"==typeof t.fallbackNS&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&0>t.supportedLngs.indexOf("cimode")&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t),u7=()=>{};let rh=class rh extends bf{init(){var t=this;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof r&&(n=r,r={}),!r.defaultNS&&!1!==r.defaultNS&&r.ns&&("string"==typeof r.ns?r.defaultNS=r.ns:0>r.ns.indexOf("translation")&&(r.defaultNS=r.ns[0]));let i=u4();this.options={...i,...this.options,...u8(r)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),void 0!==r.keySeparator&&(this.options.userDefinedKeySeparator=r.keySeparator),void 0!==r.nsSeparator&&(this.options.userDefinedNsSeparator=r.nsSeparator);let o=t=>t?"function"==typeof t?new t:t:null;if(!this.options.isClone){let r;this.modules.logger?uI.init(o(this.modules.logger),this.options):uI.init(null,this.options),this.modules.formatter?r=this.modules.formatter:"undefined"!=typeof Intl&&(r=Qf);let n=new zf(this.options);this.store=new $f(this.options.resources,this.options);let a=this.services;a.logger=uI,a.resourceStore=this.store,a.languageUtils=n,a.pluralResolver=new Hf(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!r||this.options.interpolation.format&&this.options.interpolation.format!==i.interpolation.format||(a.formatter=o(r),a.formatter.init(a,this.options),this.options.interpolation.format=a.formatter.format.bind(a.formatter)),a.interpolator=new Xf(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new Zf(o(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];t.emit(r,...i)}),this.modules.languageDetector&&(a.languageDetector=o(this.modules.languageDetector),a.languageDetector.init&&a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=o(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new jf(this.services,this.options),this.translator.on("*",function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];t.emit(r,...i)}),this.modules.external.forEach(t=>{t.init&&t.init(this)})}if(this.format=this.options.interpolation.format,n||(n=u7),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let t=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);t.length>0&&"dev"!==t[0]&&(this.options.lng=t[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(r=>{this[r]=function(){return t.store[r](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(r=>{this[r]=function(){return t.store[r](...arguments),t}});let a=uA(),s=()=>{let t=(t,r)=>{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),a.resolve(r),n(t,r)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return t(null,this.t.bind(this));this.changeLanguage(this.options.lng,t)};return this.options.resources||!this.options.initImmediate?s():setTimeout(s,0),a}loadResources(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u7,n="string"==typeof t?t:this.language;if("function"==typeof t&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return r();let t=[],i=r=>{r&&"cimode"!==r&&this.services.languageUtils.toResolveHierarchy(r).forEach(r=>{"cimode"!==r&&0>t.indexOf(r)&&t.push(r)})};n?i(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(t=>i(t)),this.options.preload&&this.options.preload.forEach(t=>i(t)),this.services.backendConnector.load(t,this.options.ns,t=>{t||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(t)})}else r(null)}reloadResources(t,r,n){let i=uA();return"function"==typeof t&&(n=t,t=void 0),"function"==typeof r&&(n=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),n||(n=u7),this.services.backendConnector.reload(t,r,t=>{i.resolve(),n(t)}),i}use(t){if(!t)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&uK.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}setResolvedLanguage(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1))for(let t=0;t<this.languages.length;t++){let r=this.languages[t];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,r){var n=this;this.isLanguageChangingTo=t;let i=uA();this.emit("languageChanging",t);let o=t=>{this.language=t,this.languages=this.services.languageUtils.toResolveHierarchy(t),this.resolvedLanguage=void 0,this.setResolvedLanguage(t)},a=(t,a)=>{a?(o(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit("languageChanged",a),this.logger.log("languageChanged",a)):this.isLanguageChangingTo=void 0,i.resolve(function(){return n.t(...arguments)}),r&&r(t,function(){return n.t(...arguments)})},s=r=>{t||r||!this.services.languageDetector||(r=[]);let n="string"==typeof r?r:this.services.languageUtils.getBestMatchFromCodes(r);n&&(this.language||o(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,t=>{a(t,n)})};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t):s(this.services.languageDetector.detect()),i}getFixedT(t,r,n){var i=this;let o=function(t,r){let a,s;if("object"!=typeof r){for(var l=arguments.length,u=Array(l>2?l-2:0),c=2;c<l;c++)u[c-2]=arguments[c];a=i.options.overloadTranslationOptionHandler([t,r].concat(u))}else a={...r};a.lng=a.lng||o.lng,a.lngs=a.lngs||o.lngs,a.ns=a.ns||o.ns,""!==a.keyPrefix&&(a.keyPrefix=a.keyPrefix||n||o.keyPrefix);let d=i.options.keySeparator||".";return s=a.keyPrefix&&Array.isArray(t)?t.map(t=>`${a.keyPrefix}${d}${t}`):a.keyPrefix?`${a.keyPrefix}${d}${t}`:t,i.t(s,a)};return"string"==typeof t?o.lng=t:o.lngs=t,o.ns=r,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=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;let n=r.lng||this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;let a=(t,r)=>{let n=this.services.backendConnector.state[`${t}|${r}`];return -1===n||0===n||2===n};if(r.precheck){let t=r.precheck(this,a);if(void 0!==t)return t}return!(!this.hasResourceBundle(n,t)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!a(n,t)||i&&!a(o,t)))}loadNamespaces(t,r){let n=uA();return this.options.ns?("string"==typeof t&&(t=[t]),t.forEach(t=>{0>this.options.ns.indexOf(t)&&this.options.ns.push(t)}),this.loadResources(t=>{n.resolve(),r&&r(t)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){let n=uA();"string"==typeof t&&(t=[t]);let i=this.options.preload||[],o=t.filter(t=>0>i.indexOf(t)&&this.services.languageUtils.isSupportedCode(t));return o.length?(this.options.preload=i.concat(o),this.loadResources(t=>{n.resolve(),r&&r(t)}),n):(r&&r(),Promise.resolve())}dir(t){return(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),t)?["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((this.services&&this.services.languageUtils||new zf(u4())).getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){return new rh(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u7,n=t.forkResourceStore;n&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},o=new rh(i);return void 0===t.debug&&void 0===t.prefix||(o.logger=o.logger.clone(t)),["store","services","language"].forEach(t=>{o[t]=this[t]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n&&(o.store=new $f(this.store.data,i),o.services.resourceStore=o.store),o.translator=new jf(o.services,i),o.translator.on("*",function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];o.emit(t,...n)}),o.init(i,r),o.translator.options=i,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}constructor(){var t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=u8(r),this.services={},this.logger=uI,this.modules={external:[]},t=this,Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(r=>{"function"==typeof t[r]&&(t[r]=t[r].bind(t))}),n&&!this.isInitialized&&!r.isClone){if(!this.options.initImmediate)return this.init(r,n),this;setTimeout(()=>{this.init(r,n)},0)}}};let u9=rh.createInstance();u9.createInstance=rh.createInstance;let ce=u9.createInstance();ce.use((ck=(t,r)=>n(65654)(`./${t}/${r}.json`),{type:"backend",init:function(t,r,n){},read:function(t,r,n){if(ck.length<3)try{var i=ck(t,r);i&&"function"==typeof i.then?i.then(function(t){return n(null,t&&t.default||t)}).catch(n):n(null,i)}catch(t){n(t)}else ck(t,r)}})).use({type:"3rdParty",init(t){!function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};sX={...sX,...t}}(t.options.react),sK=t}}).init({lng:"en",fallbackLng:"en",ns:"common",defaultNS:"common",interpolation:{escapeValue:!1},react:{useSuspense:!0}});var ct=class{subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}},cr="undefined"==typeof window||"Deno"in globalThis;function cn(){}function ci(t){return"number"==typeof t&&t>=0&&t!==1/0}function co(t,r){return Math.max(t+(r||0)-Date.now(),0)}function ca(t,r){return"function"==typeof t?t(r):t}function cs(t,r){return"function"==typeof t?t(r):t}function cl(t,r){let{type:n="all",exact:i,fetchStatus:o,predicate:a,queryKey:s,stale:l}=t;if(s){if(i){if(r.queryHash!==cc(s,r.options))return!1}else if(!cf(r.queryKey,s))return!1}if("all"!==n){let t=r.isActive();if("active"===n&&!t||"inactive"===n&&t)return!1}return!("boolean"==typeof l&&r.isStale()!==l||o&&o!==r.state.fetchStatus||a&&!a(r))}function cu(t,r){let{exact:n,status:i,predicate:o,mutationKey:a}=t;if(a){if(!r.options.mutationKey)return!1;if(n){if(cd(r.options.mutationKey)!==cd(a))return!1}else if(!cf(r.options.mutationKey,a))return!1}return!(i&&r.state.status!==i||o&&!o(r))}function cc(t,r){return(r?.queryKeyHashFn||cd)(t)}function cd(t){return JSON.stringify(t,(t,r)=>cg(r)?Object.keys(r).sort().reduce((t,n)=>(t[n]=r[n],t),{}):r)}function cf(t,r){return t===r||typeof t==typeof r&&!(!t||!r||"object"!=typeof t||"object"!=typeof r)&&!Object.keys(r).some(n=>!cf(t[n],r[n]))}function ch(t,r){if(!r||Object.keys(t).length!==Object.keys(r).length)return!1;for(let n in t)if(t[n]!==r[n])return!1;return!0}function cm(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function cg(t){if(!cy(t))return!1;let r=t.constructor;if(void 0===r)return!0;let n=r.prototype;return!!cy(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(t)===Object.prototype}function cy(t){return"[object Object]"===Object.prototype.toString.call(t)}function cv(t,r,n){return"function"==typeof n.structuralSharing?n.structuralSharing(t,r):!1!==n.structuralSharing?function t(r,n){if(r===n)return r;let i=cm(r)&&cm(n);if(i||cg(r)&&cg(n)){let o=i?r:Object.keys(r),a=o.length,s=i?n:Object.keys(n),l=s.length,u=i?[]:{},c=0;for(let a=0;a<l;a++){let l=i?a:s[a];(!i&&o.includes(l)||i)&&void 0===r[l]&&void 0===n[l]?(u[l]=void 0,c++):(u[l]=t(r[l],n[l]),u[l]===r[l]&&void 0!==r[l]&&c++)}return a===l&&c===a?r:u}return n}(t,r):r}function cb(t,r,n=0){let i=[...t,r];return n&&i.length>n?i.slice(1):i}function c_(t,r,n=0){let i=[r,...t];return n&&i.length>n?i.slice(0,-1):i}var cw=Symbol();function cS(t,r){return!t.queryFn&&r?.initialPromise?()=>r.initialPromise:t.queryFn&&t.queryFn!==cw?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))}function cx(t,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var cE,ck,cC,cO,cR,cT=0;function cP(t){return"__private_"+cT+++"_"+t}var cM=new(cC=cP("_focused"),cO=cP("_cleanup"),cR=cP("_setup"),class extends ct{onSubscribe(){cx(this,cO)[cO]||this.setEventListener(cx(this,cR)[cR])}onUnsubscribe(){this.hasListeners()||(null==cx(this,cO)[cO]||cx(this,cO)[cO].call(this),cx(this,cO)[cO]=void 0)}setEventListener(t){cx(this,cR)[cR]=t,null==cx(this,cO)[cO]||cx(this,cO)[cO].call(this),cx(this,cO)[cO]=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){cx(this,cC)[cC]!==t&&(cx(this,cC)[cC]=t,this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){return"boolean"==typeof cx(this,cC)[cC]?cx(this,cC)[cC]:"hidden"!==globalThis.document?.visibilityState}constructor(){super(),Object.defineProperty(this,cC,{writable:!0,value:void 0}),Object.defineProperty(this,cO,{writable:!0,value:void 0}),Object.defineProperty(this,cR,{writable:!0,value:void 0}),cx(this,cR)[cR]=t=>{if(!cr&&window.addEventListener){let r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}}}});function cI(t,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var cA,cL,cN,cj=0;function cD(t){return"__private_"+cj+++"_"+t}var cF=new(cA=cD("_online"),cL=cD("_cleanup"),cN=cD("_setup"),class extends ct{onSubscribe(){cI(this,cL)[cL]||this.setEventListener(cI(this,cN)[cN])}onUnsubscribe(){this.hasListeners()||(null==cI(this,cL)[cL]||cI(this,cL)[cL].call(this),cI(this,cL)[cL]=void 0)}setEventListener(t){cI(this,cN)[cN]=t,null==cI(this,cL)[cL]||cI(this,cL)[cL].call(this),cI(this,cL)[cL]=t(this.setOnline.bind(this))}setOnline(t){cI(this,cA)[cA]!==t&&(cI(this,cA)[cA]=t,this.listeners.forEach(r=>{r(t)}))}isOnline(){return cI(this,cA)[cA]}constructor(){super(),Object.defineProperty(this,cA,{writable:!0,value:void 0}),Object.defineProperty(this,cL,{writable:!0,value:void 0}),Object.defineProperty(this,cN,{writable:!0,value:void 0}),cI(this,cA)[cA]=!0,cI(this,cN)[cN]=t=>{if(!cr&&window.addEventListener){let r=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}}}});function cB(t){return Math.min(1e3*2**t,3e4)}function c$(t){return"online"!==(t??"online")||cF.isOnline()}var cU=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function cz(t){return t instanceof cU}function cq(t){let r,n,i,o=!1,a=0,s=!1,l=new Promise((t,r)=>{n=t,i=r}),u=()=>cM.isFocused()&&("always"===t.networkMode||cF.isOnline())&&t.canRun(),c=()=>c$(t.networkMode)&&t.canRun(),d=i=>{s||(s=!0,t.onSuccess?.(i),r?.(),n(i))},f=n=>{s||(s=!0,t.onError?.(n),r?.(),i(n))},h=()=>new Promise(n=>{r=t=>{(s||u())&&n(t)},t.onPause?.()}).then(()=>{r=void 0,s||t.onContinue?.()}),m=()=>{let r;if(s)return;let n=0===a?t.initialPromise:void 0;try{r=n??t.fn()}catch(t){r=Promise.reject(t)}Promise.resolve(r).then(d).catch(r=>{if(s)return;let n=t.retry??3*!cr,i=t.retryDelay??cB,l="function"==typeof i?i(a,r):i,c=!0===n||"number"==typeof n&&a<n||"function"==typeof n&&n(a,r);!o&&c?(a++,t.onFail?.(a,r),new Promise(t=>{setTimeout(t,l)}).then(()=>u()?void 0:h()).then(()=>{o?f(r):m()})):f(r)})};return{promise:l,cancel:r=>{s||(f(new cU(r)),t.abort?.())},continue:()=>(r?.(),l),cancelRetry:()=>{o=!0},continueRetry:()=>{o=!1},canStart:c,start:()=>(c()?m():h().then(m),l)}}var cZ=function(){let t=[],r=0,n=t=>{t()},i=t=>{t()},o=t=>setTimeout(t,0),a=i=>{r?t.push(i):o(()=>{n(i)})};return{batch:a=>{let s;r++;try{s=a()}finally{--r||(()=>{let r=t;t=[],r.length&&o(()=>{i(()=>{r.forEach(t=>{n(t)})})})})()}return s},batchCalls:t=>(...r)=>{a(()=>{t(...r)})},schedule:a,setNotifyFunction:t=>{n=t},setBatchNotifyFunction:t=>{i=t},setScheduler:t=>{o=t}}}();function cH(t,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var cV,cW=0,cG=(cV="__private_"+cW+++"__gcTimeout",class{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ci(this.gcTime)&&(cH(this,cV)[cV]=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(cr?1/0:3e5))}clearGcTimeout(){cH(this,cV)[cV]&&(clearTimeout(cH(this,cV)[cV]),cH(this,cV)[cV]=void 0)}constructor(){Object.defineProperty(this,cV,{writable:!0,value:void 0})}});function cK(t,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var cX,cY,cJ,cQ,c0,c1,c2,c5=0;function c3(t){return"__private_"+c5+++"_"+t}var c6=(cX=c3("_initialState"),cY=c3("_revertState"),cJ=c3("_cache"),cQ=c3("_retryer"),c0=c3("_defaultOptions"),c1=c3("_abortSignalConsumed"),c2=c3("_dispatch"),class extends cG{get meta(){return this.options.meta}get promise(){return cK(this,cQ)[cQ]?.promise}setOptions(t){this.options={...cK(this,c0)[c0],...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||cK(this,cJ)[cJ].remove(this)}setData(t,r){let n=cv(this.state.data,t,this.options);return cK(this,c2)[c2]({data:n,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),n}setState(t,r){cK(this,c2)[c2]({type:"setState",state:t,setStateOptions:r})}cancel(t){let r=cK(this,cQ)[cQ]?.promise;return cK(this,cQ)[cQ]?.cancel(t),r?r.then(cn).catch(cn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(cK(this,cX)[cX])}isActive(){return this.observers.some(t=>!1!==cs(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(t=0){return this.state.isInvalidated||void 0===this.state.data||!co(this.state.dataUpdatedAt,t)}onFocus(){let t=this.observers.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),cK(this,cQ)[cQ]?.continue()}onOnline(){let t=this.observers.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),cK(this,cQ)[cQ]?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),cK(this,cJ)[cJ].notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(cK(this,cQ)[cQ]&&(cK(this,c1)[c1]?cK(this,cQ)[cQ].cancel({revert:!0}):cK(this,cQ)[cQ].cancelRetry()),this.scheduleGc()),cK(this,cJ)[cJ].notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||cK(this,c2)[c2]({type:"invalidate"})}fetch(t,r){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&r?.cancelRefetch)this.cancel({silent:!0});else if(cK(this,cQ)[cQ])return cK(this,cQ)[cQ].continueRetry(),cK(this,cQ)[cQ].promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let n=new AbortController,i=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(cK(this,c1)[c1]=!0,n.signal)})},o={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{let t=cS(this.options,r),n={queryKey:this.queryKey,meta:this.meta};return i(n),cK(this,c1)[c1]=!1,this.options.persister?this.options.persister(t,n,this):t(n)}};i(o),this.options.behavior?.onFetch(o,this),cK(this,cY)[cY]=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===o.fetchOptions?.meta||cK(this,c2)[c2]({type:"fetch",meta:o.fetchOptions?.meta});let a=t=>{cz(t)&&t.silent||cK(this,c2)[c2]({type:"error",error:t}),cz(t)||(cK(this,cJ)[cJ].config.onError?.(t,this),cK(this,cJ)[cJ].config.onSettled?.(this.state.data,t,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return cK(this,cQ)[cQ]=cq({initialPromise:r?.initialPromise,fn:o.fetchFn,abort:n.abort.bind(n),onSuccess:t=>{if(void 0===t)return void a(Error(`${this.queryHash} data is undefined`));try{this.setData(t)}catch(t){return void a(t)}cK(this,cJ)[cJ].config.onSuccess?.(t,this),cK(this,cJ)[cJ].config.onSettled?.(t,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:a,onFail:(t,r)=>{cK(this,c2)[c2]({type:"failed",failureCount:t,error:r})},onPause:()=>{cK(this,c2)[c2]({type:"pause"})},onContinue:()=>{cK(this,c2)[c2]({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0}),cK(this,cQ)[cQ].start()}constructor(t){super(),Object.defineProperty(this,c2,{value:c8}),Object.defineProperty(this,cX,{writable:!0,value:void 0}),Object.defineProperty(this,cY,{writable:!0,value:void 0}),Object.defineProperty(this,cJ,{writable:!0,value:void 0}),Object.defineProperty(this,cQ,{writable:!0,value:void 0}),Object.defineProperty(this,c0,{writable:!0,value:void 0}),Object.defineProperty(this,c1,{writable:!0,value:void 0}),cK(this,c1)[c1]=!1,cK(this,c0)[c0]=t.defaultOptions,this.setOptions(t.options),this.observers=[],cK(this,cJ)[cJ]=t.cache,this.queryKey=t.queryKey,this.queryHash=t.queryHash,cK(this,cX)[cX]=function(t){let r="function"==typeof t.initialData?t.initialData():t.initialData,n=void 0!==r,i=n?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=t.state??cK(this,cX)[cX],this.scheduleGc()}});function c4(t,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:c$(r.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}function c8(t){this.state=(r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...c4(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let n=t.error;return cz(n)&&n.revert&&cK(this,cY)[cY]?{...cK(this,cY)[cY],fetchStatus:"idle"}:{...r,error:n,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}})(this.state),cZ.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),cK(this,cJ)[cJ].notify({query:this,type:"updated",action:t})})}function c7(t,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var c9,de=0,dt=(c9="__private_"+de+++"__queries",class extends ct{build(t,r,n){let i=r.queryKey,o=r.queryHash??cc(i,r),a=this.get(o);return a||(a=new c6({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(i)}),this.add(a)),a}add(t){c7(this,c9)[c9].has(t.queryHash)||(c7(this,c9)[c9].set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){let r=c7(this,c9)[c9].get(t.queryHash);r&&(t.destroy(),r===t&&c7(this,c9)[c9].delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){cZ.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return c7(this,c9)[c9].get(t)}getAll(){return[...c7(this,c9)[c9].values()]}find(t){let r={exact:!0,...t};return this.getAll().find(t=>cl(r,t))}findAll(t={}){let r=this.getAll();return Object.keys(t).length>0?r.filter(r=>cl(t,r)):r}notify(t){cZ.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){cZ.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){cZ.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}constructor(t={}){super(),Object.defineProperty(this,c9,{writable:!0,value:void 0}),this.config=t,c7(this,c9)[c9]=new Map}});function dr(t,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var dn,di,da,ds,dl=0;function du(t){return"__private_"+dl+++"_"+t}var dc=(dn=du("_observers"),di=du("_mutationCache"),da=du("_retryer"),ds=du("_dispatch"),class extends cG{setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){dr(this,dn)[dn].includes(t)||(dr(this,dn)[dn].push(t),this.clearGcTimeout(),dr(this,di)[di].notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){dr(this,dn)[dn]=dr(this,dn)[dn].filter(r=>r!==t),this.scheduleGc(),dr(this,di)[di].notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){dr(this,dn)[dn].length||("pending"===this.state.status?this.scheduleGc():dr(this,di)[di].remove(this))}continue(){return dr(this,da)[da]?.continue()??this.execute(this.state.variables)}async execute(t){dr(this,da)[da]=cq({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,r)=>{dr(this,ds)[ds]({type:"failed",failureCount:t,error:r})},onPause:()=>{dr(this,ds)[ds]({type:"pause"})},onContinue:()=>{dr(this,ds)[ds]({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>dr(this,di)[di].canRun(this)});let r="pending"===this.state.status,n=!dr(this,da)[da].canStart();try{if(!r){dr(this,ds)[ds]({type:"pending",variables:t,isPaused:n}),await dr(this,di)[di].config.onMutate?.(t,this);let r=await this.options.onMutate?.(t);r!==this.state.context&&dr(this,ds)[ds]({type:"pending",context:r,variables:t,isPaused:n})}let i=await dr(this,da)[da].start();return await dr(this,di)[di].config.onSuccess?.(i,t,this.state.context,this),await this.options.onSuccess?.(i,t,this.state.context),await dr(this,di)[di].config.onSettled?.(i,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(i,null,t,this.state.context),dr(this,ds)[ds]({type:"success",data:i}),i}catch(r){try{throw await dr(this,di)[di].config.onError?.(r,t,this.state.context,this),await this.options.onError?.(r,t,this.state.context),await dr(this,di)[di].config.onSettled?.(void 0,r,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,r,t,this.state.context),r}finally{dr(this,ds)[ds]({type:"error",error:r})}}finally{dr(this,di)[di].runNext(this)}}constructor(t){super(),Object.defineProperty(this,ds,{value:dd}),Object.defineProperty(this,dn,{writable:!0,value:void 0}),Object.defineProperty(this,di,{writable:!0,value:void 0}),Object.defineProperty(this,da,{writable:!0,value:void 0}),this.mutationId=t.mutationId,dr(this,di)[di]=t.mutationCache,dr(this,dn)[dn]=[],this.state=t.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(t.options),this.scheduleGc()}});function dd(t){this.state=(r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),cZ.batch(()=>{dr(this,dn)[dn].forEach(r=>{r.onMutationUpdate(t)}),dr(this,di)[di].notify({mutation:this,type:"updated",action:t})})}function dp(t,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var df,dh,dm=0;function dg(t){return"__private_"+dm+++"_"+t}var dy=(df=dg("_mutations"),dh=dg("_mutationId"),class extends ct{build(t,r,n){let i=new dc({mutationCache:this,mutationId:++dp(this,dh)[dh],options:t.defaultMutationOptions(r),state:n});return this.add(i),i}add(t){let r=dv(t),n=dp(this,df)[df].get(r)??[];n.push(t),dp(this,df)[df].set(r,n),this.notify({type:"added",mutation:t})}remove(t){let r=dv(t);if(dp(this,df)[df].has(r)){let n=dp(this,df)[df].get(r)?.filter(r=>r!==t);n&&(0===n.length?dp(this,df)[df].delete(r):dp(this,df)[df].set(r,n))}this.notify({type:"removed",mutation:t})}canRun(t){let r=dp(this,df)[df].get(dv(t))?.find(t=>"pending"===t.state.status);return!r||r===t}runNext(t){let r=dp(this,df)[df].get(dv(t))?.find(r=>r!==t&&r.state.isPaused);return r?.continue()??Promise.resolve()}clear(){cZ.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...dp(this,df)[df].values()].flat()}find(t){let r={exact:!0,...t};return this.getAll().find(t=>cu(r,t))}findAll(t={}){return this.getAll().filter(r=>cu(t,r))}notify(t){cZ.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){let t=this.getAll().filter(t=>t.state.isPaused);return cZ.batch(()=>Promise.all(t.map(t=>t.continue().catch(cn))))}constructor(t={}){super(),Object.defineProperty(this,df,{writable:!0,value:void 0}),Object.defineProperty(this,dh,{writable:!0,value:void 0}),this.config=t,dp(this,df)[df]=new Map,dp(this,dh)[dh]=Date.now()}});function dv(t){return t.options.scope?.id??String(t.mutationId)}function db(t,{pages:r,pageParams:n}){let i=r.length-1;return r.length>0?t.getNextPageParam(r[i],r,n[i],n):void 0}function d_(t,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var dw,dS,dx,dE,dk,dC,dO,dR,dT=0;function dP(t){return"__private_"+dT+++"_"+t}var dM=(dw=dP("_queryCache"),dS=dP("_mutationCache"),dx=dP("_defaultOptions"),dE=dP("_queryDefaults"),dk=dP("_mutationDefaults"),dC=dP("_mountCount"),dO=dP("_unsubscribeFocus"),dR=dP("_unsubscribeOnline"),class{mount(){d_(this,dC)[dC]++,1===d_(this,dC)[dC]&&(d_(this,dO)[dO]=cM.subscribe(async t=>{t&&(await this.resumePausedMutations(),d_(this,dw)[dw].onFocus())}),d_(this,dR)[dR]=cF.subscribe(async t=>{t&&(await this.resumePausedMutations(),d_(this,dw)[dw].onOnline())}))}unmount(){d_(this,dC)[dC]--,0===d_(this,dC)[dC]&&(null==d_(this,dO)[dO]||d_(this,dO)[dO].call(this),d_(this,dO)[dO]=void 0,null==d_(this,dR)[dR]||d_(this,dR)[dR].call(this),d_(this,dR)[dR]=void 0)}isFetching(t){return d_(this,dw)[dw].findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return d_(this,dS)[dS].findAll({...t,status:"pending"}).length}getQueryData(t){let r=this.defaultQueryOptions({queryKey:t});return d_(this,dw)[dw].get(r.queryHash)?.state.data}ensureQueryData(t){let r=this.getQueryData(t.queryKey);if(void 0===r)return this.fetchQuery(t);{let n=this.defaultQueryOptions(t),i=d_(this,dw)[dw].build(this,n);return t.revalidateIfStale&&i.isStaleByTime(ca(n.staleTime,i))&&this.prefetchQuery(n),Promise.resolve(r)}}getQueriesData(t){return d_(this,dw)[dw].findAll(t).map(({queryKey:t,state:r})=>[t,r.data])}setQueryData(t,r,n){let i=this.defaultQueryOptions({queryKey:t}),o=d_(this,dw)[dw].get(i.queryHash),a=o?.state.data,s="function"==typeof r?r(a):r;if(void 0!==s)return d_(this,dw)[dw].build(this,i).setData(s,{...n,manual:!0})}setQueriesData(t,r,n){return cZ.batch(()=>d_(this,dw)[dw].findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,r,n)]))}getQueryState(t){let r=this.defaultQueryOptions({queryKey:t});return d_(this,dw)[dw].get(r.queryHash)?.state}removeQueries(t){let r=d_(this,dw)[dw];cZ.batch(()=>{r.findAll(t).forEach(t=>{r.remove(t)})})}resetQueries(t,r){let n=d_(this,dw)[dw],i={type:"active",...t};return cZ.batch(()=>(n.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries(i,r)))}cancelQueries(t={},r={}){let n={revert:!0,...r};return Promise.all(cZ.batch(()=>d_(this,dw)[dw].findAll(t).map(t=>t.cancel(n)))).then(cn).catch(cn)}invalidateQueries(t={},r={}){return cZ.batch(()=>{if(d_(this,dw)[dw].findAll(t).forEach(t=>{t.invalidate()}),"none"===t.refetchType)return Promise.resolve();let n={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(n,r)})}refetchQueries(t={},r){let n={...r,cancelRefetch:r?.cancelRefetch??!0};return Promise.all(cZ.batch(()=>d_(this,dw)[dw].findAll(t).filter(t=>!t.isDisabled()).map(t=>{let r=t.fetch(void 0,n);return n.throwOnError||(r=r.catch(cn)),"paused"===t.state.fetchStatus?Promise.resolve():r}))).then(cn)}fetchQuery(t){let r=this.defaultQueryOptions(t);void 0===r.retry&&(r.retry=!1);let n=d_(this,dw)[dw].build(this,r);return n.isStaleByTime(ca(r.staleTime,n))?n.fetch(r):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(cn).catch(cn)}fetchInfiniteQuery(t){var r;return r=t.pages,t.behavior={onFetch:(t,n)=>{let i=async()=>{let n,i=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],s=t.state.data?.pageParams||[],l=!1,u=cS(t.options,t.fetchOptions),c=async(r,n,i)=>{if(l)return Promise.reject();if(null==n&&r.pages.length)return Promise.resolve(r);let o={queryKey:t.queryKey,pageParam:n,direction:i?"backward":"forward",meta:t.options.meta};Object.defineProperty(o,"signal",{enumerable:!0,get:()=>(t.signal.aborted?l=!0:t.signal.addEventListener("abort",()=>{l=!0}),t.signal)});let a=await u(o),{maxPages:s}=t.options,c=i?c_:cb;return{pages:c(r.pages,a,s),pageParams:c(r.pageParams,n,s)}};if(o&&a.length){let t="backward"===o,r={pages:a,pageParams:s},l=(t?function(t,{pages:r,pageParams:n}){return r.length>0?t.getPreviousPageParam?.(r[0],r,n[0],n):void 0}:db)(i,r);n=await c(r,l,t)}else{n=await c({pages:[],pageParams:[]},s[0]??i.initialPageParam);let t=r??a.length;for(let r=1;r<t;r++){let t=db(i,n);if(null==t)break;n=await c(n,t)}}return n};t.options.persister?t.fetchFn=()=>t.options.persister?.(i,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=i}},this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(cn).catch(cn)}resumePausedMutations(){return cF.isOnline()?d_(this,dS)[dS].resumePausedMutations():Promise.resolve()}getQueryCache(){return d_(this,dw)[dw]}getMutationCache(){return d_(this,dS)[dS]}getDefaultOptions(){return d_(this,dx)[dx]}setDefaultOptions(t){d_(this,dx)[dx]=t}setQueryDefaults(t,r){d_(this,dE)[dE].set(cd(t),{queryKey:t,defaultOptions:r})}getQueryDefaults(t){let r=[...d_(this,dE)[dE].values()],n={};return r.forEach(r=>{cf(t,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(t,r){d_(this,dk)[dk].set(cd(t),{mutationKey:t,defaultOptions:r})}getMutationDefaults(t){let r=[...d_(this,dk)[dk].values()],n={};return r.forEach(r=>{cf(t,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(t){if(t._defaulted)return t;let r={...d_(this,dx)[dx].queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return r.queryHash||(r.queryHash=cc(r.queryKey,r)),void 0===r.refetchOnReconnect&&(r.refetchOnReconnect="always"!==r.networkMode),void 0===r.throwOnError&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),!0!==r.enabled&&r.queryFn===cw&&(r.enabled=!1),r}defaultMutationOptions(t){return t?._defaulted?t:{...d_(this,dx)[dx].mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){d_(this,dw)[dw].clear(),d_(this,dS)[dS].clear()}constructor(t={}){Object.defineProperty(this,dw,{writable:!0,value:void 0}),Object.defineProperty(this,dS,{writable:!0,value:void 0}),Object.defineProperty(this,dx,{writable:!0,value:void 0}),Object.defineProperty(this,dE,{writable:!0,value:void 0}),Object.defineProperty(this,dk,{writable:!0,value:void 0}),Object.defineProperty(this,dC,{writable:!0,value:void 0}),Object.defineProperty(this,dO,{writable:!0,value:void 0}),Object.defineProperty(this,dR,{writable:!0,value:void 0}),d_(this,dw)[dw]=t.queryCache||new dt,d_(this,dS)[dS]=t.mutationCache||new dy,d_(this,dx)[dx]=t.defaultOptions||{},d_(this,dE)[dE]=new Map,d_(this,dk)[dk]=new Map,d_(this,dC)[dC]=0}});function dI(t,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var dA,dL,dN,dj,dD,dF,dB,d$,dU,dz,dq,dZ,dH,dV,dW,dG,dK,dX,dY,dJ,dQ,d0,d1,d2=0;function d5(t){return"__private_"+d2+++"_"+t}var d3=(dA=d5("_client"),dL=d5("_currentQuery"),dN=d5("_currentQueryInitialState"),dj=d5("_currentResult"),dD=d5("_currentResultState"),dF=d5("_currentResultOptions"),dB=d5("_selectError"),d$=d5("_selectFn"),dU=d5("_selectResult"),dz=d5("_lastQueryWithDefinedData"),dq=d5("_staleTimeoutId"),dZ=d5("_refetchIntervalId"),dH=d5("_currentRefetchInterval"),dV=d5("_trackedProps"),dW=d5("_executeFetch"),dG=d5("_updateStaleTimeout"),dK=d5("_computeRefetchInterval"),dX=d5("_updateRefetchInterval"),dY=d5("_updateTimers"),dJ=d5("_clearStaleTimeout"),dQ=d5("_clearRefetchInterval"),d0=d5("_updateQuery"),d1=d5("_notify"),class extends ct{bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(dI(this,dL)[dL].addObserver(this),d6(dI(this,dL)[dL],this.options)?dI(this,dW)[dW]():this.updateResult(),dI(this,dY)[dY]())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return d4(dI(this,dL)[dL],this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return d4(dI(this,dL)[dL],this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,dI(this,dJ)[dJ](),dI(this,dQ)[dQ](),dI(this,dL)[dL].removeObserver(this)}setOptions(t,r){let n=this.options,i=dI(this,dL)[dL];if(this.options=dI(this,dA)[dA].defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof cs(this.options.enabled,dI(this,dL)[dL]))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");dI(this,d0)[d0](),dI(this,dL)[dL].setOptions(this.options),n._defaulted&&!ch(this.options,n)&&dI(this,dA)[dA].getQueryCache().notify({type:"observerOptionsUpdated",query:dI(this,dL)[dL],observer:this});let o=this.hasListeners();o&&d8(dI(this,dL)[dL],i,this.options,n)&&dI(this,dW)[dW](),this.updateResult(r),o&&(dI(this,dL)[dL]!==i||cs(this.options.enabled,dI(this,dL)[dL])!==cs(n.enabled,dI(this,dL)[dL])||ca(this.options.staleTime,dI(this,dL)[dL])!==ca(n.staleTime,dI(this,dL)[dL]))&&dI(this,dG)[dG]();let a=dI(this,dK)[dK]();o&&(dI(this,dL)[dL]!==i||cs(this.options.enabled,dI(this,dL)[dL])!==cs(n.enabled,dI(this,dL)[dL])||a!==dI(this,dH)[dH])&&dI(this,dX)[dX](a)}getOptimisticResult(t){let r=dI(this,dA)[dA].getQueryCache().build(dI(this,dA)[dA],t),n=this.createResult(r,t);return ch(this.getCurrentResult(),n)||(dI(this,dj)[dj]=n,dI(this,dF)[dF]=this.options,dI(this,dD)[dD]=dI(this,dL)[dL].state),n}getCurrentResult(){return dI(this,dj)[dj]}trackResult(t,r){let n={};return Object.keys(t).forEach(i=>{Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),r?.(i),t[i])})}),n}trackProp(t){dI(this,dV)[dV].add(t)}getCurrentQuery(){return dI(this,dL)[dL]}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let r=dI(this,dA)[dA].defaultQueryOptions(t),n=dI(this,dA)[dA].getQueryCache().build(dI(this,dA)[dA],r);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,r))}fetch(t){return dI(this,dW)[dW]({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),dI(this,dj)[dj]))}createResult(t,r){let n=dI(this,dL)[dL],i=this.options,o=dI(this,dj)[dj],a=dI(this,dD)[dD],s=dI(this,dF)[dF],l=t!==n?t.state:dI(this,dN)[dN],{state:u}=t,c,d={...u},f=!1;if(r._optimisticResults){let o=this.hasListeners(),a=!o&&d6(t,r),s=o&&d8(t,n,r,i);(a||s)&&(d={...d,...c4(u.data,t.options)}),"isRestoring"===r._optimisticResults&&(d.fetchStatus="idle")}let{error:h,errorUpdatedAt:m,status:g}=d;if(r.select&&void 0!==d.data)if(o&&d.data===a?.data&&r.select===dI(this,d$)[d$])c=dI(this,dU)[dU];else try{dI(this,d$)[d$]=r.select,c=r.select(d.data),c=cv(o?.data,c,r),dI(this,dU)[dU]=c,dI(this,dB)[dB]=null}catch(t){dI(this,dB)[dB]=t}else c=d.data;if(void 0!==r.placeholderData&&void 0===c&&"pending"===g){let t;if(o?.isPlaceholderData&&r.placeholderData===s?.placeholderData)t=o.data;else if(t="function"==typeof r.placeholderData?r.placeholderData(dI(this,dz)[dz]?.state.data,dI(this,dz)[dz]):r.placeholderData,r.select&&void 0!==t)try{t=r.select(t),dI(this,dB)[dB]=null}catch(t){dI(this,dB)[dB]=t}void 0!==t&&(g="success",c=cv(o?.data,t,r),f=!0)}dI(this,dB)[dB]&&(h=dI(this,dB)[dB],c=dI(this,dU)[dU],m=Date.now(),g="error");let y="fetching"===d.fetchStatus,v="pending"===g,b="error"===g,_=v&&y,w=void 0!==c;return{status:g,fetchStatus:d.fetchStatus,isPending:v,isSuccess:"success"===g,isError:b,isInitialLoading:_,isLoading:_,data:c,dataUpdatedAt:d.dataUpdatedAt,error:h,errorUpdatedAt:m,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:y,isRefetching:y&&!v,isLoadingError:b&&!w,isPaused:"paused"===d.fetchStatus,isPlaceholderData:f,isRefetchError:b&&w,isStale:d7(t,r),refetch:this.refetch}}updateResult(t){let r=dI(this,dj)[dj],n=this.createResult(dI(this,dL)[dL],this.options);if(dI(this,dD)[dD]=dI(this,dL)[dL].state,dI(this,dF)[dF]=this.options,void 0!==dI(this,dD)[dD].data&&(dI(this,dz)[dz]=dI(this,dL)[dL]),ch(n,r))return;dI(this,dj)[dj]=n;let i={};!1!==t?.listeners&&(()=>{if(!r)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!dI(this,dV)[dV].size)return!0;let i=new Set(n??dI(this,dV)[dV]);return this.options.throwOnError&&i.add("error"),Object.keys(dI(this,dj)[dj]).some(t=>dI(this,dj)[dj][t]!==r[t]&&i.has(t))})()&&(i.listeners=!0),dI(this,d1)[d1]({...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&dI(this,dY)[dY]()}constructor(t,r){super(),Object.defineProperty(this,dW,{value:d9}),Object.defineProperty(this,dG,{value:pe}),Object.defineProperty(this,dK,{value:pt}),Object.defineProperty(this,dX,{value:pr}),Object.defineProperty(this,dY,{value:pn}),Object.defineProperty(this,dJ,{value:pi}),Object.defineProperty(this,dQ,{value:po}),Object.defineProperty(this,d0,{value:pa}),Object.defineProperty(this,d1,{value:ps}),Object.defineProperty(this,dA,{writable:!0,value:void 0}),Object.defineProperty(this,dL,{writable:!0,value:void 0}),Object.defineProperty(this,dN,{writable:!0,value:void 0}),Object.defineProperty(this,dj,{writable:!0,value:void 0}),Object.defineProperty(this,dD,{writable:!0,value:void 0}),Object.defineProperty(this,dF,{writable:!0,value:void 0}),Object.defineProperty(this,dB,{writable:!0,value:void 0}),Object.defineProperty(this,d$,{writable:!0,value:void 0}),Object.defineProperty(this,dU,{writable:!0,value:void 0}),Object.defineProperty(this,dz,{writable:!0,value:void 0}),Object.defineProperty(this,dq,{writable:!0,value:void 0}),Object.defineProperty(this,dZ,{writable:!0,value:void 0}),Object.defineProperty(this,dH,{writable:!0,value:void 0}),Object.defineProperty(this,dV,{writable:!0,value:void 0}),dI(this,dL)[dL]=void 0,dI(this,dN)[dN]=void 0,dI(this,dj)[dj]=void 0,dI(this,dV)[dV]=new Set,this.options=r,dI(this,dA)[dA]=t,dI(this,dB)[dB]=null,this.bindMethods(),this.setOptions(r)}});function d6(t,r){return!1!==cs(r.enabled,t)&&void 0===t.state.data&&("error"!==t.state.status||!1!==r.retryOnMount)||void 0!==t.state.data&&d4(t,r,r.refetchOnMount)}function d4(t,r,n){if(!1!==cs(r.enabled,t)){let i="function"==typeof n?n(t):n;return"always"===i||!1!==i&&d7(t,r)}return!1}function d8(t,r,n,i){return(t!==r||!1===cs(i.enabled,t))&&(!n.suspense||"error"!==t.state.status)&&d7(t,n)}function d7(t,r){return!1!==cs(r.enabled,t)&&t.isStaleByTime(ca(r.staleTime,t))}function d9(t){dI(this,d0)[d0]();let r=dI(this,dL)[dL].fetch(this.options,t);return t?.throwOnError||(r=r.catch(cn)),r}function pe(){dI(this,dJ)[dJ]();let t=ca(this.options.staleTime,dI(this,dL)[dL]);if(cr||dI(this,dj)[dj].isStale||!ci(t))return;let r=co(dI(this,dj)[dj].dataUpdatedAt,t)+1;dI(this,dq)[dq]=setTimeout(()=>{dI(this,dj)[dj].isStale||this.updateResult()},r)}function pt(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(dI(this,dL)[dL]):this.options.refetchInterval)??!1}function pr(t){dI(this,dQ)[dQ](),dI(this,dH)[dH]=t,!cr&&!1!==cs(this.options.enabled,dI(this,dL)[dL])&&ci(dI(this,dH)[dH])&&0!==dI(this,dH)[dH]&&(dI(this,dZ)[dZ]=setInterval(()=>{(this.options.refetchIntervalInBackground||cM.isFocused())&&dI(this,dW)[dW]()},dI(this,dH)[dH]))}function pn(){dI(this,dG)[dG](),dI(this,dX)[dX](dI(this,dK)[dK]())}function pi(){dI(this,dq)[dq]&&(clearTimeout(dI(this,dq)[dq]),dI(this,dq)[dq]=void 0)}function po(){dI(this,dZ)[dZ]&&(clearInterval(dI(this,dZ)[dZ]),dI(this,dZ)[dZ]=void 0)}function pa(){let t=dI(this,dA)[dA].getQueryCache().build(dI(this,dA)[dA],this.options);if(t===dI(this,dL)[dL])return;let r=dI(this,dL)[dL];dI(this,dL)[dL]=t,dI(this,dN)[dN]=t.state,this.hasListeners()&&(r?.removeObserver(this),t.addObserver(this))}function ps(t){cZ.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t(dI(this,dj)[dj])}),dI(this,dA)[dA].getQueryCache().notify({query:dI(this,dL)[dL],type:"observerResultsUpdated"})})}function pl(t,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var pu,pc,pd,pp,pf,ph,pm=0;function pg(t){return"__private_"+pm+++"_"+t}var py=(pu=pg("_client"),pc=pg("_currentResult"),pd=pg("_currentMutation"),pp=pg("_mutateOptions"),pf=pg("_updateResult"),ph=pg("_notify"),class extends ct{bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let r=this.options;this.options=pl(this,pu)[pu].defaultMutationOptions(t),ch(this.options,r)||pl(this,pu)[pu].getMutationCache().notify({type:"observerOptionsUpdated",mutation:pl(this,pd)[pd],observer:this}),r?.mutationKey&&this.options.mutationKey&&cd(r.mutationKey)!==cd(this.options.mutationKey)?this.reset():"pending"===pl(this,pd)[pd]?.state.status&&pl(this,pd)[pd].setOptions(this.options)}onUnsubscribe(){this.hasListeners()||pl(this,pd)[pd]?.removeObserver(this)}onMutationUpdate(t){pl(this,pf)[pf](),pl(this,ph)[ph](t)}getCurrentResult(){return pl(this,pc)[pc]}reset(){pl(this,pd)[pd]?.removeObserver(this),pl(this,pd)[pd]=void 0,pl(this,pf)[pf](),pl(this,ph)[ph]()}mutate(t,r){return pl(this,pp)[pp]=r,pl(this,pd)[pd]?.removeObserver(this),pl(this,pd)[pd]=pl(this,pu)[pu].getMutationCache().build(pl(this,pu)[pu],this.options),pl(this,pd)[pd].addObserver(this),pl(this,pd)[pd].execute(t)}constructor(t,r){super(),Object.defineProperty(this,pf,{value:pv}),Object.defineProperty(this,ph,{value:pb}),Object.defineProperty(this,pu,{writable:!0,value:void 0}),Object.defineProperty(this,pc,{writable:!0,value:void 0}),Object.defineProperty(this,pd,{writable:!0,value:void 0}),Object.defineProperty(this,pp,{writable:!0,value:void 0}),pl(this,pc)[pc]=void 0,pl(this,pu)[pu]=t,this.setOptions(r),this.bindMethods(),pl(this,pf)[pf]()}});function pv(){let t=pl(this,pd)[pd]?.state??{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0};pl(this,pc)[pc]={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}function pb(t){cZ.batch(()=>{if(pl(this,pp)[pp]&&this.hasListeners()){let r=pl(this,pc)[pc].variables,n=pl(this,pc)[pc].context;"success"===t?.type?(pl(this,pp)[pp].onSuccess?.(t.data,r,n),pl(this,pp)[pp].onSettled?.(t.data,null,r,n)):"error"===t?.type&&(pl(this,pp)[pp].onError?.(t.error,r,n),pl(this,pp)[pp].onSettled?.(void 0,t.error,r,n))}this.listeners.forEach(t=>{t(pl(this,pc)[pc])})})}var p_=b.createContext(void 0),pw=t=>{let r=b.useContext(p_);if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r},pS=({client:t,children:r})=>(b.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,v.jsx)(p_.Provider,{value:t,children:r})),px=b.createContext(!1),pE=b.createContext((u=!1,{clearReset:()=>{u=!1},reset:()=>{u=!0},isReset:()=>u}));function pk(t,r){return"function"==typeof t?t(...r):!!t}function pC(){}function pO(t,r){return function(t,r){let n=pw(),i=b.useContext(px),o=b.useContext(pE),a=n.defaultQueryOptions(t);n.getDefaultOptions().queries?._experimental_beforeQuery?.(a),a._optimisticResults=i?"isRestoring":"optimistic",a.suspense&&("number"!=typeof a.staleTime&&(a.staleTime=1e3),"number"==typeof a.gcTime&&(a.gcTime=Math.max(a.gcTime,1e3))),(a.suspense||a.throwOnError)&&(o.isReset()||(a.retryOnMount=!1)),b.useEffect(()=>{o.clearReset()},[o]);let[s]=b.useState(()=>new r(n,a)),l=s.getOptimisticResult(a);if(b.useSyncExternalStore(b.useCallback(t=>{let r=i?()=>{}:s.subscribe(cZ.batchCalls(t));return s.updateResult(),r},[s,i]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),b.useEffect(()=>{s.setOptions(a,{listeners:!1})},[a,s]),a?.suspense&&l.isPending)throw s.fetchOptimistic(a).catch(()=>{o.clearReset()});if((({result:t,errorResetBoundary:r,throwOnError:n,query:i})=>t.isError&&!r.isReset()&&!t.isFetching&&i&&pk(n,[t.error,i]))({result:l,errorResetBoundary:o,throwOnError:a.throwOnError,query:n.getQueryCache().get(a.queryHash)}))throw l.error;return n.getDefaultOptions().queries?._experimental_afterQuery?.(a,l),a.notifyOnChangeProps?l:s.trackResult(l)}(t,d3)}function pR(t,r){let n=pw(),[i]=b.useState(()=>new py(n,t));b.useEffect(()=>{i.setOptions(t)},[i,t]);let o=b.useSyncExternalStore(b.useCallback(t=>i.subscribe(cZ.batchCalls(t)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),a=b.useCallback((t,r)=>{i.mutate(t,r).catch(pC)},[i]);if(o.error&&pk(i.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:a,mutateAsync:o.mutate}}let pT={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"}};fi={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},fo=["(","?"],fa={")":["("],":":["?","?:"]},fs=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var pP={"!":function(t){return!t},"*":function(t,r){return t*r},"/":function(t,r){return t/r},"%":function(t,r){return t%r},"+":function(t,r){return t+r},"-":function(t,r){return t-r},"<":function(t,r){return t<r},"<=":function(t,r){return t<=r},">":function(t,r){return t>r},">=":function(t,r){return t>=r},"==":function(t,r){return t===r},"!=":function(t,r){return t!==r},"&&":function(t,r){return t&&r},"||":function(t,r){return t||r},"?:":function(t,r,n){if(t)throw r;return n}},pM={contextDelimiter:"\x04",onMissingKey:null};function pI(t,r){var n;for(n in this.data=t,this.pluralForms={},this.options={},pM)this.options[n]=void 0!==r&&n in r?r[n]:pM[n]}pI.prototype.getPluralForm=function(t,r){var n,i,o,a,s=this.pluralForms[t];return s||("function"!=typeof(o=(i=this.data[t][""])["Plural-Forms"]||i["plural-forms"]||i.plural_forms)&&(n=function(t){for(var r,n,i,o,a=[],s=[];r=t.match(fs);){for(n=r[0],(i=t.substr(0,r.index).trim())&&a.push(i);o=s.pop();){if(fa[n]){if(fa[n][0]===o){n=fa[n][1]||n;break}}else if(fo.indexOf(o)>=0||fi[o]<fi[n]){s.push(o);break}a.push(o)}fa[n]||s.push(n),t=t.substr(r.index+n.length)}return(t=t.trim())&&a.push(t),a.concat(s.reverse())}(function(t){var r,n,i;for(r=t.split(";"),n=0;n<r.length;n++)if(0===(i=r[n].trim()).indexOf("plural="))return i.substr(7)}(i["Plural-Forms"]||i["plural-forms"]||i.plural_forms)),a=function(t){return function(t,r){var n,i,o,a,s,l,u=[];for(n=0;n<t.length;n++){if(a=pP[s=t[n]]){for(o=Array(i=a.length);i--;)o[i]=u.pop();try{l=a.apply(null,o)}catch(t){return t}}else l=r.hasOwnProperty(s)?r[s]:+s;u.push(l)}return u[0]}(n,t)},o=function(t){return+a({n:t})}),s=this.pluralForms[t]=o),s(r)},pI.prototype.dcnpgettext=function(t,r,n,i,o){var a,s,l;return a=void 0===o?0:this.getPluralForm(t,o),s=n,r&&(s=r+this.options.contextDelimiter+n),(l=this.data[t][s])&&l[a]?l[a]:(this.options.onMissingKey&&this.options.onMissingKey(n,t),0===a?n:i)};var pA={plural_forms:t=>+(1!==t)},pL=/^i18n\.(n?gettext|has_translation)(_|$)/,pN=function(t){return"string"!=typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},pj=function(t){return"string"!=typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},pD=function(t,r){return function(n,i,o,a=10){let s=t[r];if(!pj(n)||!pN(i))return;if("function"!=typeof o)return void console.error("The hook callback must be a function.");if("number"!=typeof a)return void console.error("If specified, the hook priority must be a number.");let l={callback:o,priority:a,namespace:i};if(s[n]){let t,r=s[n].handlers;for(t=r.length;t>0&&!(a>=r[t-1].priority);t--);t===r.length?r[t]=l:r.splice(t,0,l),s.__current.forEach(r=>{r.name===n&&r.currentIndex>=t&&r.currentIndex++})}else s[n]={handlers:[l],runs:0};"hookAdded"!==n&&t.doAction("hookAdded",n,i,o,a)}},pF=function(t,r,n=!1){return function(i,o){let a=t[r];if(!pj(i)||!n&&!pN(o))return;if(!a[i])return 0;let s=0;if(n)s=a[i].handlers.length,a[i]={runs:a[i].runs,handlers:[]};else{let t=a[i].handlers;for(let r=t.length-1;r>=0;r--)t[r].namespace===o&&(t.splice(r,1),s++,a.__current.forEach(t=>{t.name===i&&t.currentIndex>=r&&t.currentIndex--}))}return"hookRemoved"!==i&&t.doAction("hookRemoved",i,o),s}},pB=function(t,r){return function(n,i){let o=t[r];return void 0!==i?n in o&&o[n].handlers.some(t=>t.namespace===i):n in o}},p$=function(t,r,n,i){return function(o,...a){let s=t[r];s[o]||(s[o]={handlers:[],runs:0}),s[o].runs++;let l=s[o].handlers;if(!l||!l.length)return n?a[0]:void 0;let u={name:o,currentIndex:0};return(i?async function(){try{s.__current.add(u);let t=n?a[0]:void 0;for(;u.currentIndex<l.length;){let r=l[u.currentIndex];t=await r.callback.apply(null,a),n&&(a[0]=t),u.currentIndex++}return n?t:void 0}finally{s.__current.delete(u)}}:function(){try{s.__current.add(u);let t=n?a[0]:void 0;for(;u.currentIndex<l.length;)t=l[u.currentIndex].callback.apply(null,a),n&&(a[0]=t),u.currentIndex++;return n?t:void 0}finally{s.__current.delete(u)}})()}},pU=function(t,r){return function(){let n=Array.from(t[r].__current);return n.at(-1)?.name??null}},pz=function(t,r){return function(n){let i=t[r];return void 0===n?i.__current.size>0:Array.from(i.__current).some(t=>t.name===n)}},pq=function(t,r){return function(n){let i=t[r];if(pj(n))return i[n]&&i[n].runs?i[n].runs:0}},pZ=((t,r,n)=>{let i=new pI({}),o=new Set,a=()=>{o.forEach(t=>t())},s=(t,r="default")=>{i.data[r]={...i.data[r],...t},i.data[r][""]={...pA,...i.data[r]?.[""]},delete i.pluralForms[r]},l=(t,r)=>{s(t,r),a()},u=(t="default",r,n,o,a)=>(i.data[t]||s(void 0,t),i.dcnpgettext(t,r,n,o,a)),c=t=>t||"default",d=(t,r,i)=>{let o=u(i,r,t);return n?(o=n.applyFilters("i18n.gettext_with_context",o,t,r,i),n.applyFilters("i18n.gettext_with_context_"+c(i),o,t,r,i)):o};if(n){let t=t=>{pL.test(t)&&a()};n.addAction("hookAdded","core/i18n",t),n.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:(t="default")=>i.data[t],setLocaleData:l,addLocaleData:(t,r="default")=>{i.data[r]={...i.data[r],...t,"":{...pA,...i.data[r]?.[""],...t?.[""]}},delete i.pluralForms[r],a()},resetLocaleData:(t,r)=>{i.data={},i.pluralForms={},l(t,r)},subscribe:t=>(o.add(t),()=>o.delete(t)),__:(t,r)=>{let i=u(r,void 0,t);return n?(i=n.applyFilters("i18n.gettext",i,t,r),n.applyFilters("i18n.gettext_"+c(r),i,t,r)):i},_x:d,_n:(t,r,i,o)=>{let a=u(o,void 0,t,r,i);return n?(a=n.applyFilters("i18n.ngettext",a,t,r,i,o),n.applyFilters("i18n.ngettext_"+c(o),a,t,r,i,o)):a},_nx:(t,r,i,o,a)=>{let s=u(a,o,t,r,i);return n?(s=n.applyFilters("i18n.ngettext_with_context",s,t,r,i,o,a),n.applyFilters("i18n.ngettext_with_context_"+c(a),s,t,r,i,o,a)):s},isRTL:()=>"rtl"===d("ltr","text direction"),hasTranslation:(t,r,o)=>{let a=r?r+"\x04"+t:t,s=!!i.data?.[o??"default"]?.[a];return n&&(s=n.applyFilters("i18n.has_translation",s,t,r,o),s=n.applyFilters("i18n.has_translation_"+c(o),s,t,r,o)),s}}})(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=pD(this,"actions"),this.addFilter=pD(this,"filters"),this.removeAction=pF(this,"actions"),this.removeFilter=pF(this,"filters"),this.hasAction=pB(this,"actions"),this.hasFilter=pB(this,"filters"),this.removeAllActions=pF(this,"actions",!0),this.removeAllFilters=pF(this,"filters",!0),this.doAction=p$(this,"actions",!1,!1),this.doActionAsync=p$(this,"actions",!1,!0),this.applyFilters=p$(this,"filters",!0,!1),this.applyFiltersAsync=p$(this,"filters",!0,!0),this.currentAction=pU(this,"actions"),this.currentFilter=pU(this,"filters"),this.doingAction=pz(this,"actions"),this.doingFilter=pz(this,"filters"),this.didAction=pq(this,"actions"),this.didFilter=pq(this,"filters")}});pZ.getLocaleData.bind(pZ),pZ.setLocaleData.bind(pZ),pZ.resetLocaleData.bind(pZ),pZ.subscribe.bind(pZ);var pH=pZ.__.bind(pZ);pZ._x.bind(pZ),pZ._n.bind(pZ),pZ._nx.bind(pZ),pZ.isRTL.bind(pZ),pZ.hasTranslation.bind(pZ);var pV=(t,r)=>{let n,i,o=t.path;return"string"==typeof t.namespace&&"string"==typeof t.endpoint&&(n=t.namespace.replace(/^\/|\/$/g,""),o=(i=t.endpoint.replace(/^\//,""))?n+"/"+i:n),delete t.namespace,delete t.endpoint,r({...t,path:o})};function pW(t){let r,n="",i=Object.entries(t);for(;r=i.shift();){let[t,o]=r;if(Array.isArray(o)||o&&o.constructor===Object)for(let[r,n]of Object.entries(o).reverse())i.unshift([`${t}[${r}]`,n]);else void 0!==o&&(null===o&&(o=""),n+="&"+[t,String(o)].map(encodeURIComponent).join("="))}return n.substr(1)}function pG(t){try{return decodeURIComponent(t)}catch(r){return t}}function pK(t){return((function(t){let r;try{r=new URL(t,"http://example.com").search.substring(1)}catch(t){}if(r)return r})(t)||"").replace(/\+/g,"%20").split("&").reduce((t,r)=>{let[n,i=""]=r.split("=").filter(Boolean).map(pG);return n&&function(t,r,n){let i=r.length,o=i-1;for(let a=0;a<i;a++){let i=r[a];!i&&Array.isArray(t)&&(i=t.length.toString()),i=["__proto__","constructor","prototype"].includes(i)?i.toUpperCase():i;let s=!isNaN(Number(r[a+1]));t[i]=a===o?n:t[i]||(s?[]:{}),Array.isArray(t[i])&&!s&&(t[i]={...t[i]}),t=t[i]}}(t,n.replace(/\]/g,"").split("["),i),t},Object.create(null))}function pX(t="",r){if(!r||!Object.keys(r).length)return t;let n=function(t){let r=/^\S+?(#[^\s\?]*)/.exec(t);if(r)return r[1]}(t)||"",i=t.replace(n,""),o=t.indexOf("?");return -1!==o&&(r=Object.assign(pK(t),r),i=i.substr(0,o)),i+"?"+pW(r)+n}function pY(t,r){return void 0!==pK(t)[r]}function pJ(t,...r){let n=t.replace(/^[^#]*/,""),i=(t=t.replace(/#.*/,"")).indexOf("?");if(-1===i)return t+n;let o=pK(t),a=t.substr(0,i);r.forEach(t=>delete o[t]);let s=pW(o);return(s?a+"?"+s:a)+n}function pQ(t){let r=t.split("?"),n=r[1],i=r[0];return n?i+"?"+n.split("&").map(t=>t.split("=")).map(t=>t.map(decodeURIComponent)).sort((t,r)=>t[0].localeCompare(r[0])).map(t=>t.map(encodeURIComponent)).map(t=>t.join("=")).join("&"):i}function p0(t,r){if(r)return Promise.resolve(t.body);try{return Promise.resolve(new window.Response(JSON.stringify(t.body),{status:200,statusText:"OK",headers:t.headers}))}catch{return Object.entries(t.headers).forEach(([r,n])=>{"link"===r.toLowerCase()&&(t.headers[r]=n.replace(/<([^>]+)>/,(t,r)=>`<${encodeURI(r)}>`))}),Promise.resolve(r?t.body:new window.Response(JSON.stringify(t.body),{status:200,statusText:"OK",headers:t.headers}))}}var p1=({path:t,url:r,...n},i)=>({...n,url:r&&pX(r,i),path:t&&pX(t,i)}),p2=t=>t.json?t.json():Promise.reject(t),p5=t=>{let{next:r}=(t=>{if(!t)return{};let r=t.match(/<([^>]+)>; rel="next"/);return r?{next:r[1]}:{}})(t.headers.get("link"));return r},p3=async(t,r)=>{if(!1===t.parse||!(t=>{let r=!!t.path&&-1!==t.path.indexOf("per_page=-1"),n=!!t.url&&-1!==t.url.indexOf("per_page=-1");return r||n})(t))return r(t);let n=await fu({...p1(t,{per_page:100}),parse:!1}),i=await p2(n);if(!Array.isArray(i))return i;let o=p5(n);if(!o)return i;let a=[].concat(i);for(;o;){let r=await fu({...t,path:void 0,url:o,parse:!1}),n=await p2(r);a=a.concat(n),o=p5(r)}return a},p6=new Set(["PATCH","PUT","DELETE"]);async function p4(t){try{return await t.json()}catch{throw{code:"invalid_json",message:pH("The response is not a valid JSON response.")}}}async function p8(t,r=!0){return r?204===t.status?null:await p4(t):t}async function p7(t,r=!0){if(!r)throw t;throw await p4(t)}var p9={Accept:"application/json, */*;q=0.1"},fe={credentials:"include"},ft=[(t,r)=>("string"!=typeof t.url||pY(t.url,"_locale")||(t.url=pX(t.url,{_locale:"user"})),"string"!=typeof t.path||pY(t.path,"_locale")||(t.path=pX(t.path,{_locale:"user"})),r(t)),pV,(t,r)=>{let{method:n="GET"}=t;return p6.has(n.toUpperCase())&&(t={...t,headers:{...t.headers,"X-HTTP-Method-Override":n,"Content-Type":"application/json"},method:"POST"}),r(t)},p3],fr=t=>{let{url:r,path:n,data:i,parse:o=!0,...a}=t,{body:s,headers:l}=t;return l={...p9,...l},i&&(s=JSON.stringify(i),l["Content-Type"]="application/json"),globalThis.fetch(r||n||window.location.href,{...fe,...a,body:s,headers:l}).then(t=>t.ok?p8(t,o):p7(t,o),t=>{if(t&&"AbortError"===t.name)throw t;if(!globalThis.navigator.onLine)throw{code:"offline_error",message:pH("Unable to connect. Please check your Internet connection.")};throw{code:"fetch_error",message:pH("Could not get a valid response from the server.")}})},fn=t=>ft.reduceRight((t,r)=>n=>r(n,t),fr)(t).catch(r=>"rest_cookie_invalid_nonce"!==r.code?Promise.reject(r):globalThis.fetch(fn.nonceEndpoint).then(t=>t.ok?t.text():Promise.reject(r)).then(r=>(fn.nonceMiddleware.nonce=r,fn(t))));fn.use=function(t){ft.unshift(t)},fn.setFetchHandler=function(t){fr=t},fn.createNonceMiddleware=function(t){let r=(t,n)=>{let{headers:i={}}=t;for(let o in i)if("x-wp-nonce"===o.toLowerCase()&&i[o]===r.nonce)return n(t);return n({...t,headers:{...i,"X-WP-Nonce":r.nonce}})};return r.nonce=t,r},fn.createPreloadingMiddleware=function(t){let r=Object.fromEntries(Object.entries(t).map(([t,r])=>[pQ(t),r]));return(t,n)=>{let{parse:i=!0}=t,o=t.path;if(!o&&t.url){let{rest_route:r,...n}=pK(t.url);"string"==typeof r&&(o=pX(r,n))}if("string"!=typeof o)return n(t);let a=t.method||"GET",s=pQ(o);if("GET"===a&&r[s]){let t=r[s];return delete r[s],p0(t,!!i)}if("OPTIONS"===a&&r[a]&&r[a][s]){let t=r[a][s];return delete r[a][s],p0(t,!!i)}return n(t)}},fn.createRootURLMiddleware=t=>(r,n)=>pV(r,r=>{let i=r.url,o=r.path;return"string"==typeof o&&(-1!==t.indexOf("?")&&(o=o.replace("?","&")),o=o.replace(/^\//,""),"string"==typeof t&&-1!==t.indexOf("?")&&(o=o.replace("?","&")),i=t+o),n({...r,url:i})}),fn.fetchAllMiddleware=p3,fn.mediaUploadMiddleware=(t,r)=>{if(!function(t){let r=!!t.method&&"POST"===t.method;return(!!t.path&&-1!==t.path.indexOf("/wp/v2/media")||!!t.url&&-1!==t.url.indexOf("/wp/v2/media"))&&r}(t))return r(t);let n=0,i=t=>(n++,r({path:`/wp/v2/media/${t}/post-process`,method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch(()=>n<5?i(t):(r({path:`/wp/v2/media/${t}?force=true`,method:"DELETE"}),Promise.reject())));return r({...t,parse:!1}).catch(r=>{if(!(r instanceof globalThis.Response))return Promise.reject(r);let n=r.headers.get("x-wp-upload-attachment-id");return r.status>=500&&r.status<600&&n?i(n).catch(()=>!1!==t.parse?Promise.reject({code:"post_process",message:pH("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(r)):p7(r,t.parse)}).then(r=>p8(r,t.parse))},fn.createThemePreviewMiddleware=t=>(r,n)=>{if("string"==typeof r.url){let n=pK(r.url).wp_theme_preview;void 0===n?r.url=pX(r.url,{wp_theme_preview:t}):""===n&&(r.url=pJ(r.url,"wp_theme_preview"))}if("string"==typeof r.path){let n=pK(r.path).wp_theme_preview;void 0===n?r.path=pX(r.path,{wp_theme_preview:t}):""===n&&(r.path=pJ(r.path,"wp_theme_preview"))}return n(r)};var fi,fo,fa,fs,fl,fu=fn;let Ky=class Ky extends Error{constructor(t){super(t),this.name="APIError"}};(hk=fl||(fl={})).GET="GET",hk.POST="POST",hk.PUT="PUT",hk.PATCH="PATCH",hk.DELETE="DELETE",hk.HEAD="HEAD";let fc="/wp/v2";let Xy=class Xy{static async request({path:t,data:r,method:n="POST"}){try{let i=(window?.elementorOneSettingsData?.wpRestUrl||"/wp-json/").replace(/\/$/,""),o=window?.elementorOneSettingsData?.wpRestNonce||"",a=`${i}${t}`;"GET"!==n||t.startsWith(fc)||(a=pX(a,{sb_time:(new Date).getTime()}));let s=await fu({url:a,method:n,data:r,headers:{"X-WP-Nonce":o}});if(t.startsWith(fc)||void 0===s?.success)return s;if(!s.success)throw new Ky(s.data?.message||"Unknown error");return s.data}catch(t){throw t instanceof Ky?t:new Ky(t?.message||"Unknown error")}}};let fd="/elementor-one/v1";let Qy=class Qy extends Xy{static async initConnect(t="new"){let r={wp_rest:window?.elementorOneSettingsData?.wpRestNonce};return"update"===t&&(r.update_redirect_uri=!0),Xy.request({method:fl.POST,path:`${fd}/connect/authorize`,data:r})}static async disconnect(){return Xy.request({method:fl.POST,path:`${fd}/connect/disconnect`,data:{wp_rest:window?.elementorOneSettingsData?.wpRestNonce}})}static async getPluginSettings(){return Xy.request({method:fl.GET,path:`${fd}/settings`})}static async getNotifications(t,r){return Xy.request({method:fl.GET,path:`${fd}/top-bar/notifications?app_name=${t}&app_version=${r}`})}static async sendFeedback(t){return Xy.request({method:fl.POST,path:`${fd}/top-bar/feedback`,data:t})}};function fp(t){let r=null==t?void 0:t.host;return(null==r?void 0:r.shadowRoot)===t}function ff(t){return"[object ShadowRoot]"===Object.prototype.toString.call(t)}function fh(t){var r;try{let n=t.rules||t.cssRules;return n?((r=Array.from(n,fm).join("")).includes(" background-clip: text;")&&!r.includes(" -webkit-background-clip: text;")&&(r=r.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),r):null}catch(t){return null}}function fm(t){let r;if("styleSheet"in t)try{r=fh(t.styleSheet)||function(t){let{cssText:r}=t;if(r.split('"').length<3)return r;let n=["@import",`url(${JSON.stringify(t.href)})`];return""===t.layerName?n.push("layer"):t.layerName&&n.push(`layer(${t.layerName})`),t.supportsText&&n.push(`supports(${t.supportsText})`),t.media.length&&n.push(t.media.mediaText),n.join(" ")+";"}(t)}catch(t){}else if("selectorText"in t&&t.selectorText.includes(":"))return t.cssText.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2");return r||t.cssText}(hC=hO||(hO={}))[hC.Document=0]="Document",hC[hC.DocumentType=1]="DocumentType",hC[hC.Element=2]="Element",hC[hC.Text=3]="Text",hC[hC.CDATA=4]="CDATA",hC[hC.Comment=5]="Comment";let nb=class nb{getId(t){var r;if(!t)return -1;let n=null===(r=this.getMeta(t))||void 0===r?void 0:r.id;return null!=n?n:-1}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){let r=this.getId(t);this.idNodeMap.delete(r),t.childNodes&&t.childNodes.forEach(t=>this.removeNodeFromMap(t))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,r){let n=r.id;this.idNodeMap.set(n,t),this.nodeMetaMap.set(t,r)}replace(t,r){let n=this.getNode(t);if(n){let t=this.nodeMetaMap.get(n);t&&this.nodeMetaMap.set(r,t)}this.idNodeMap.set(t,r)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function fg({element:t,maskInputOptions:r,tagName:n,type:i,value:o,maskInputFn:a}){let s=o||"",l=i&&fy(i);return(r[n.toLowerCase()]||l&&r[l])&&(s=a?a(s,t):"*".repeat(s.length)),s}function fy(t){return t.toLowerCase()}let fv="__rrweb_original__";function fb(t){let r=t.type;return t.hasAttribute("data-rr-is-password")?"password":r?fy(r):null}function f_(t,r){var n;let i;try{i=new URL(t,window.location.href)}catch(t){return null}let o=i.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!==(n=null==o?void 0:o[1])&&void 0!==n?n:null}let fw=1,fS=RegExp("[^a-z0-9-_:]");function fx(){return fw++}let fE=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,fk=/^(?:[a-z+]+:)?\/\//i,fC=/^www\..*/i,fO=/^(data:)([^,]*),(.*)/i;function fR(t,r){return(t||"").replace(fE,(t,n,i,o,a,s)=>{let l=i||a||s,u=n||o||"";if(!l)return t;if(fk.test(l)||fC.test(l)||fO.test(l))return`url(${u}${l}${u})`;if("/"===l[0]){let t;return`url(${u}${(r.indexOf("//")>-1?r.split("/").slice(0,3).join("/"):r.split("/")[0]).split("?")[0]+l}${u})`}let c=r.split("/"),d=l.split("/");for(let t of(c.pop(),d))"."!==t&&(".."===t?c.pop():c.push(t));return`url(${u}${c.join("/")}${u})`})}let fT=/^[^ \t\n\r\u000c]+/,fP=/^[, \t\n\r\u000c]+/;function fM(t,r){if(!r||""===r.trim())return r;let n=t.createElement("a");return n.href=r,n.href}function fI(){let t=document.createElement("a");return t.href="",t.href}function fA(t,r,n,i){return i?"src"===n||"href"===n&&("use"!==r||"#"!==i[0])||"xlink:href"===n&&"#"!==i[0]?fM(t,i):"background"!==n||"table"!==r&&"td"!==r&&"th"!==r?"srcset"===n?function(t,r){if(""===r.trim())return r;let n=0;function i(t){let i,o=t.exec(r.substring(n));return o?(i=o[0],n+=i.length,i):""}let o=[];for(;i(fP),!(n>=r.length);){let a=i(fT);if(","===a.slice(-1))a=fM(t,a.substring(0,a.length-1)),o.push(a);else{let i="";a=fM(t,a);let s=!1;for(;;){let t=r.charAt(n);if(""===t){o.push((a+i).trim());break}if(s)")"===t&&(s=!1);else{if(","===t){n+=1,o.push((a+i).trim());break}"("===t&&(s=!0)}i+=t,n+=1}}}return o.join(", ")}(t,i):"style"===n?fR(i,fI()):"object"===r&&"data"===n?fM(t,i):i:fM(t,i):i}function fL(t,r,n){return("video"===t||"audio"===t)&&"autoplay"===r}function fN(t,r,n){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return!!n&&fN(t.parentNode,r,n);for(let n=t.classList.length;n--;){let i=t.classList[n];if(r.test(i))return!0}return!!n&&fN(t.parentNode,r,n)}function fj(t,r,n,i){try{let o=t.nodeType===t.ELEMENT_NODE?t:t.parentElement;if(null===o)return!1;if("string"==typeof r){if(i){if(o.closest(`.${r}`))return!0}else if(o.classList.contains(r))return!0}else if(fN(o,r,i))return!0;if(n){if(i){if(o.closest(n))return!0}else if(o.matches(n))return!0}}catch(t){}return!1}function fD(t){return null==t?"":t.toLowerCase()}function fF(t,r){let n,{doc:i,mirror:s,blockClass:l,blockSelector:u,maskTextClass:c,maskTextSelector:d,skipChild:f=!1,inlineStylesheet:h=!0,maskInputOptions:m={},maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b={},inlineImages:_=!1,recordCanvas:w=!1,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:E=5e3,onStylesheetLoad:k,stylesheetLoadTimeout:C=5e3,keepIframeSrcFn:O=()=>!1,newlyAddedElement:R=!1}=r,{needsMask:T}=r,{preserveWhiteSpace:P=!0}=r;!T&&t.childNodes&&(T=fj(t,c,d,void 0===T));let M=function(t,r){let{doc:n,mirror:i,blockClass:s,blockSelector:l,needsMask:u,inlineStylesheet:c,maskInputOptions:d={},maskTextFn:f,maskInputFn:h,dataURLOptions:m={},inlineImages:g,recordCanvas:y,keepIframeSrcFn:v,newlyAddedElement:b=!1}=r,_=function(t,r){if(!r.hasNode(t))return;let n=r.getId(t);return 1===n?void 0:n}(n,i);switch(t.nodeType){case t.DOCUMENT_NODE:return"CSS1Compat"!==t.compatMode?{type:hO.Document,childNodes:[],compatMode:t.compatMode}:{type:hO.Document,childNodes:[]};case t.DOCUMENT_TYPE_NODE:return{type:hO.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:_};case t.ELEMENT_NODE:return function(t,r){let n,{doc:i,blockClass:s,blockSelector:l,inlineStylesheet:u,maskInputOptions:c={},maskInputFn:d,dataURLOptions:f={},inlineImages:h,recordCanvas:m,keepIframeSrcFn:g,newlyAddedElement:y=!1,rootId:v}=r,b=function(t,r,n){try{if("string"==typeof r){if(t.classList.contains(r))return!0}else for(let n=t.classList.length;n--;){let i=t.classList[n];if(r.test(i))return!0}if(n)return t.matches(n)}catch(t){}return!1}(t,s,l),_=function(t){if(t instanceof HTMLFormElement)return"form";let r=fy(t.tagName);return fS.test(r)?"div":r}(t),w={},S=t.attributes.length;for(let r=0;r<S;r++){let n=t.attributes[r];fL(_,n.name)||(w[n.name]=fA(i,_,fy(n.name),n.value))}if("link"===_&&u){let r=Array.from(i.styleSheets).find(r=>r.href===t.href),n=null;r&&(n=fh(r)),n&&(delete w.rel,delete w.href,w._cssText=fR(n,r.href))}if("style"===_&&t.sheet&&!(t.innerText||t.textContent||"").trim().length){let r=fh(t.sheet);r&&(w._cssText=fR(r,fI()))}if("input"===_||"textarea"===_||"select"===_){let r=t.value,n=t.checked;"radio"!==w.type&&"checkbox"!==w.type&&"submit"!==w.type&&"button"!==w.type&&r?w.value=fg({element:t,type:fb(t),tagName:_,value:r,maskInputOptions:c,maskInputFn:d}):n&&(w.checked=n)}if("option"===_&&(t.selected&&!c.select?w.selected=!0:delete w.selected),"canvas"===_&&m){if("2d"===t.__context)(function(t){let r=t.getContext("2d");if(!r)return!0;for(let n=0;n<t.width;n+=50)for(let i=0;i<t.height;i+=50){let o=r.getImageData;if(new Uint32Array((fv in o?o[fv]:o).call(r,n,i,Math.min(50,t.width-n),Math.min(50,t.height-i)).data.buffer).some(t=>0!==t))return!1}return!0})(t)||(w.rr_dataURL=t.toDataURL(f.type,f.quality));else if(!("__context"in t)){let r=t.toDataURL(f.type,f.quality),n=document.createElement("canvas");n.width=t.width,n.height=t.height,r!==n.toDataURL(f.type,f.quality)&&(w.rr_dataURL=r)}}if("img"===_&&h){o||(a=(o=i.createElement("canvas")).getContext("2d"));let r=t.crossOrigin;t.crossOrigin="anonymous";let n=()=>{t.removeEventListener("load",n);try{o.width=t.naturalWidth,o.height=t.naturalHeight,a.drawImage(t,0,0),w.rr_dataURL=o.toDataURL(f.type,f.quality)}catch(r){console.warn(`Cannot inline img src=${t.currentSrc}! Error: ${r}`)}r?w.crossOrigin=r:t.removeAttribute("crossorigin")};t.complete&&0!==t.naturalWidth?n():t.addEventListener("load",n)}if("audio"===_||"video"===_){let r=w;r.rr_mediaState=t.paused?"paused":"played",r.rr_mediaCurrentTime=t.currentTime,r.rr_mediaPlaybackRate=t.playbackRate,r.rr_mediaMuted=t.muted,r.rr_mediaLoop=t.loop,r.rr_mediaVolume=t.volume}if(y||(t.scrollLeft&&(w.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(w.rr_scrollTop=t.scrollTop)),b){let{width:r,height:n}=t.getBoundingClientRect();w={class:w.class,rr_width:`${r}px`,rr_height:`${n}px`}}"iframe"!==_||g(w.src)||(t.contentDocument||(w.rr_src=w.src),delete w.src);try{customElements.get(_)&&(n=!0)}catch(t){}return{type:hO.Element,tagName:_,attributes:w,childNodes:[],isSVG:!!("svg"===t.tagName||t.ownerSVGElement)||void 0,needBlock:b,rootId:v,isCustom:n}}(t,{doc:n,blockClass:s,blockSelector:l,inlineStylesheet:c,maskInputOptions:d,maskInputFn:h,dataURLOptions:m,inlineImages:g,recordCanvas:y,keepIframeSrcFn:v,newlyAddedElement:b,rootId:_});case t.TEXT_NODE:return function(t,r){var n;let{needsMask:i,maskTextFn:o,rootId:a}=r,s=t.parentNode&&t.parentNode.tagName,l=t.textContent,u="STYLE"===s||void 0,c="SCRIPT"===s||void 0;if(u&&l){try{t.nextSibling||t.previousSibling||(null===(n=t.parentNode.sheet)||void 0===n?void 0:n.cssRules)&&(l=fh(t.parentNode.sheet))}catch(r){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${r}`,t)}l=fR(l,fI())}return c&&(l="SCRIPT_PLACEHOLDER"),!u&&!c&&l&&i&&(l=o?o(l,t.parentElement):l.replace(/[\S]/g,"*")),{type:hO.Text,textContent:l||"",isStyle:u,rootId:a}}(t,{needsMask:u,maskTextFn:f,rootId:_});case t.CDATA_SECTION_NODE:return{type:hO.CDATA,textContent:"",rootId:_};case t.COMMENT_NODE:return{type:hO.Comment,textContent:t.textContent||"",rootId:_};default:return!1}}(t,{doc:i,mirror:s,blockClass:l,blockSelector:u,needsMask:T,inlineStylesheet:h,maskInputOptions:m,maskTextFn:g,maskInputFn:y,dataURLOptions:b,inlineImages:_,recordCanvas:w,keepIframeSrcFn:O,newlyAddedElement:R});if(!M)return console.warn(t,"not serialized"),null;n=s.hasNode(t)?s.getId(t):!(v.comment&&M.type===hO.Comment||M.type===hO.Element&&(v.script&&("script"===M.tagName||"link"===M.tagName&&("preload"===M.attributes.rel||"modulepreload"===M.attributes.rel)&&"script"===M.attributes.as||"link"===M.tagName&&"prefetch"===M.attributes.rel&&"string"==typeof M.attributes.href&&"js"===f_(M.attributes.href))||v.headFavicon&&("link"===M.tagName&&"shortcut icon"===M.attributes.rel||"meta"===M.tagName&&(fD(M.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===fD(M.attributes.name)||"icon"===fD(M.attributes.rel)||"apple-touch-icon"===fD(M.attributes.rel)||"shortcut icon"===fD(M.attributes.rel)))||"meta"===M.tagName&&(v.headMetaDescKeywords&&fD(M.attributes.name).match(/^description|keywords$/)||v.headMetaSocial&&(fD(M.attributes.property).match(/^(og|twitter|fb):/)||fD(M.attributes.name).match(/^(og|twitter):/)||"pinterest"===fD(M.attributes.name))||v.headMetaRobots&&("robots"===fD(M.attributes.name)||"googlebot"===fD(M.attributes.name)||"bingbot"===fD(M.attributes.name))||v.headMetaHttpEquiv&&void 0!==M.attributes["http-equiv"]||v.headMetaAuthorship&&("author"===fD(M.attributes.name)||"generator"===fD(M.attributes.name)||"framework"===fD(M.attributes.name)||"publisher"===fD(M.attributes.name)||"progid"===fD(M.attributes.name)||fD(M.attributes.property).match(/^article:/)||fD(M.attributes.property).match(/^product:/))||v.headMetaVerification&&("google-site-verification"===fD(M.attributes.name)||"yandex-verification"===fD(M.attributes.name)||"csrf-token"===fD(M.attributes.name)||"p:domain_verify"===fD(M.attributes.name)||"verify-v1"===fD(M.attributes.name)||"verification"===fD(M.attributes.name)||"shopify-checkout-api-token"===fD(M.attributes.name)))))&&(P||M.type!==hO.Text||M.isStyle||M.textContent.replace(/^\s+|\s+$/gm,"").length)?fx():-2;let I=Object.assign(M,{id:n});if(s.add(t,I),-2===n)return null;S&&S(t);let A=!f;if(I.type===hO.Element){A=A&&!I.needBlock,delete I.needBlock;let r=t.shadowRoot;r&&ff(r)&&(I.isShadowHost=!0)}if((I.type===hO.Document||I.type===hO.Element)&&A){v.headWhitespace&&I.type===hO.Element&&"head"===I.tagName&&(P=!1);let r={doc:i,mirror:s,blockClass:l,blockSelector:u,needsMask:T,maskTextClass:c,maskTextSelector:d,skipChild:f,inlineStylesheet:h,maskInputOptions:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:P,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:E,onStylesheetLoad:k,stylesheetLoadTimeout:C,keepIframeSrcFn:O};if(I.type===hO.Element&&"textarea"===I.tagName&&void 0!==I.attributes.value);else for(let n of Array.from(t.childNodes)){let t=fF(n,r);t&&I.childNodes.push(t)}if(t.nodeType===t.ELEMENT_NODE&&t.shadowRoot)for(let n of Array.from(t.shadowRoot.childNodes)){let i=fF(n,r);i&&(ff(t.shadowRoot)&&(i.isShadow=!0),I.childNodes.push(i))}}return t.parentNode&&fp(t.parentNode)&&ff(t.parentNode)&&(I.isShadow=!0),I.type===hO.Element&&"iframe"===I.tagName&&function(t,r,n){let i=t.contentWindow;if(!i)return;let o,a=!1;try{o=i.document.readyState}catch(t){return}if("complete"!==o){let i=setTimeout(()=>{a||(r(),a=!0)},n);return t.addEventListener("load",()=>{clearTimeout(i),a=!0,r()})}let s="about:blank";if(i.location.href!==s||t.src===s||""===t.src)return setTimeout(r,0),t.addEventListener("load",r);t.addEventListener("load",r)}(t,()=>{let r=t.contentDocument;if(r&&x){let n=fF(r,{doc:r,mirror:s,blockClass:l,blockSelector:u,needsMask:T,maskTextClass:c,maskTextSelector:d,skipChild:!1,inlineStylesheet:h,maskInputOptions:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:P,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:E,onStylesheetLoad:k,stylesheetLoadTimeout:C,keepIframeSrcFn:O});n&&x(t,n)}},E),I.type===hO.Element&&"link"===I.tagName&&"string"==typeof I.attributes.rel&&("stylesheet"===I.attributes.rel||"preload"===I.attributes.rel&&"string"==typeof I.attributes.href&&"css"===f_(I.attributes.href))&&function(t,r,n){let i,o=!1;try{i=t.sheet}catch(t){return}if(i)return;let a=setTimeout(()=>{o||(r(),o=!0)},n);t.addEventListener("load",()=>{clearTimeout(a),o=!0,r()})}(t,()=>{if(k){let r=fF(t,{doc:i,mirror:s,blockClass:l,blockSelector:u,needsMask:T,maskTextClass:c,maskTextSelector:d,skipChild:!1,inlineStylesheet:h,maskInputOptions:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:P,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:E,onStylesheetLoad:k,stylesheetLoadTimeout:C,keepIframeSrcFn:O});r&&k(t,r)}},C),I}function fB(t,r,n=document){let i={capture:!0,passive:!0};return n.addEventListener(t,r,i),()=>n.removeEventListener(t,r,i)}let f$="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.",fU={map:{},getId:()=>(console.error(f$),-1),getNode:()=>(console.error(f$),null),removeNodeFromMap(){console.error(f$)},has:()=>(console.error(f$),!1),reset(){console.error(f$)}};function fz(t,r,n={}){let i=null,o=0;return function(...a){let s=Date.now();o||!1!==n.leading||(o=s);let l=r-(s-o),u=this;l<=0||l>r?(i&&(clearTimeout(i),i=null),o=s,t.apply(u,a)):i||!1===n.trailing||(i=setTimeout(()=>{o=!1===n.leading?0:Date.now(),i=null,t.apply(u,a)},l))}}function fq(t,r,n,i,o=window){let a=o.Object.getOwnPropertyDescriptor(t,r);return o.Object.defineProperty(t,r,i?n:{set(t){setTimeout(()=>{n.set.call(this,t)},0),a&&a.set&&a.set.call(this,t)}}),()=>fq(t,r,a||{},!0)}function fZ(t,r,n){try{if(!(r in t))return()=>{};let i=t[r],o=n(i);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:i}})),t[r]=o,()=>{t[r]=i}}catch(t){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(fU=new Proxy(fU,{get:(t,r,n)=>("map"===r&&console.error(f$),Reflect.get(t,r,n))}));let fH=Date.now;function fV(t){var r,n,i,o,a,s;let l=t.document;return{left:l.scrollingElement?l.scrollingElement.scrollLeft:void 0!==t.pageXOffset?t.pageXOffset:(null==l?void 0:l.documentElement.scrollLeft)||(null===(n=null===(r=null==l?void 0:l.body)||void 0===r?void 0:r.parentElement)||void 0===n?void 0:n.scrollLeft)||(null===(i=null==l?void 0:l.body)||void 0===i?void 0:i.scrollLeft)||0,top:l.scrollingElement?l.scrollingElement.scrollTop:void 0!==t.pageYOffset?t.pageYOffset:(null==l?void 0:l.documentElement.scrollTop)||(null===(a=null===(o=null==l?void 0:l.body)||void 0===o?void 0:o.parentElement)||void 0===a?void 0:a.scrollTop)||(null===(s=null==l?void 0:l.body)||void 0===s?void 0:s.scrollTop)||0}}function fW(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function fG(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function fK(t){return t?t.nodeType===t.ELEMENT_NODE?t:t.parentElement:null}function fX(t,r,n,i){if(!t)return!1;let o=fK(t);if(!o)return!1;try{if("string"==typeof r){if(o.classList.contains(r)||i&&null!==o.closest("."+r))return!0}else if(fN(o,r,i))return!0}catch(t){}return!!(n&&(o.matches(n)||i&&null!==o.closest(n)))}function fY(t,r){return -2===r.getId(t)}function fJ(t){return!!t.changedTouches}function fQ(t,r){return!!("IFRAME"===t.nodeName&&r.getMeta(t))}function f0(t,r){return!!("LINK"===t.nodeName&&t.nodeType===t.ELEMENT_NODE&&t.getAttribute&&"stylesheet"===t.getAttribute("rel")&&r.getMeta(t))}function f1(t){return!!(null==t?void 0:t.shadowRoot)}/[1-9][0-9]{12}/.test(Date.now().toString())||(fH=()=>(new Date).getTime());let Gb=class Gb{getId(t){var r;return null!==(r=this.styleIDMap.get(t))&&void 0!==r?r:-1}has(t){return this.styleIDMap.has(t)}add(t,r){let n;return this.has(t)?this.getId(t):(n=void 0===r?this.id++:r,this.styleIDMap.set(t,n),this.idStyleMap.set(n,t),n)}getStyle(t){return this.idStyleMap.get(t)||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 f2(t){var r,n;let i=null;return(null===(n=null===(r=t.getRootNode)||void 0===r?void 0:r.call(t))||void 0===n?void 0:n.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&t.getRootNode().host&&(i=t.getRootNode().host),i}function f5(t){let r=t.ownerDocument;return!!r&&(r.contains(t)||function(t){let r=t.ownerDocument;if(!r)return!1;let n=function(t){let r,n=t;for(;r=f2(n);)n=r;return n}(t);return r.contains(n)}(t))}var f3=((c=f3||{})[c.DomContentLoaded=0]="DomContentLoaded",c[c.Load=1]="Load",c[c.FullSnapshot=2]="FullSnapshot",c[c.IncrementalSnapshot=3]="IncrementalSnapshot",c[c.Meta=4]="Meta",c[c.Custom=5]="Custom",c[c.Plugin=6]="Plugin",c),f6=((d=f6||{})[d.Mutation=0]="Mutation",d[d.MouseMove=1]="MouseMove",d[d.MouseInteraction=2]="MouseInteraction",d[d.Scroll=3]="Scroll",d[d.ViewportResize=4]="ViewportResize",d[d.Input=5]="Input",d[d.TouchMove=6]="TouchMove",d[d.MediaInteraction=7]="MediaInteraction",d[d.StyleSheetRule=8]="StyleSheetRule",d[d.CanvasMutation=9]="CanvasMutation",d[d.Font=10]="Font",d[d.Log=11]="Log",d[d.Drag=12]="Drag",d[d.StyleDeclaration=13]="StyleDeclaration",d[d.Selection=14]="Selection",d[d.AdoptedStyleSheet=15]="AdoptedStyleSheet",d[d.CustomElement=16]="CustomElement",d),f4=((f=f4||{})[f.MouseUp=0]="MouseUp",f[f.MouseDown=1]="MouseDown",f[f.Click=2]="Click",f[f.ContextMenu=3]="ContextMenu",f[f.DblClick=4]="DblClick",f[f.Focus=5]="Focus",f[f.Blur=6]="Blur",f[f.TouchStart=7]="TouchStart",f[f.TouchMove_Departed=8]="TouchMove_Departed",f[f.TouchEnd=9]="TouchEnd",f[f.TouchCancel=10]="TouchCancel",f),f8=((h=f8||{})[h.Mouse=0]="Mouse",h[h.Pen=1]="Pen",h[h.Touch=2]="Touch",h),f7=((m=f7||{})[m["2D"]=0]="2D",m[m.WebGL=1]="WebGL",m[m.WebGL2=2]="WebGL2",m);let nv=class nv{get(t){if(t>=this.length)throw Error("Position outside of list range");let r=this.head;for(let n=0;n<t;n++)r=(null==r?void 0:r.next)||null;return r}addNode(t){let r={value:t,previous:null,next:null};if(t.__ln=r,t.previousSibling&&"__ln"in t.previousSibling){let n=t.previousSibling.__ln.next;r.next=n,r.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=r,n&&(n.previous=r)}else if(t.nextSibling&&"__ln"in t.nextSibling&&t.nextSibling.__ln.previous){let n=t.nextSibling.__ln.previous;r.previous=n,r.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=r,n&&(n.next=r)}else this.head&&(this.head.previous=r),r.next=this.head,this.head=r;null===r.next&&(this.tail=r),this.length++}removeNode(t){let r=t.__ln;this.head&&(r.previous?(r.previous.next=r.next,r.next?r.next.previous=r.previous:this.tail=r.previous):(this.head=r.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}constructor(){this.length=0,this.head=null,this.tail=null}};let f9=(t,r)=>`${t}@${r}`;let iv=class iv{init(t){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(r=>{this[r]=t[r]})}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=t=>{t.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let t=[],r=new Set,n=new nv,i=t=>{let r=t,n=-2;for(;-2===n;)n=(r=r&&r.nextSibling)&&this.mirror.getId(r);return n},o=o=>{if(!o.parentNode||!f5(o)||"TEXTAREA"===o.parentNode.tagName)return;let a=fp(o.parentNode)?this.mirror.getId(f2(o)):this.mirror.getId(o.parentNode),s=i(o);if(-1===a||-1===s)return n.addNode(o);let l=fF(o,{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:t=>{fQ(t,this.mirror)&&this.iframeManager.addIframe(t),f0(t,this.mirror)&&this.stylesheetManager.trackLinkElement(t),f1(o)&&this.shadowDomManager.addShadowRoot(o.shadowRoot,this.doc)},onIframeLoad:(t,r)=>{this.iframeManager.attachIframe(t,r),this.shadowDomManager.observeAttachShadow(t)},onStylesheetLoad:(t,r)=>{this.stylesheetManager.attachLinkElement(t,r)}});l&&(t.push({parentId:a,nextId:s,node:l}),r.add(l.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let t of this.movedSet)ht(this.removes,t,this.mirror)&&!this.movedSet.has(t.parentNode)||o(t);for(let t of this.addedSet)hr(this.droppedSet,t)||ht(this.removes,t,this.mirror)?hr(this.movedSet,t)?o(t):this.droppedSet.add(t):o(t);let a=null;for(;n.length;){let t=null;if(a){let r=this.mirror.getId(a.value.parentNode),n=i(a.value);-1!==r&&-1!==n&&(t=a)}if(!t){let r=n.tail;for(;r;){let n=r;if(r=r.previous,n){let r=this.mirror.getId(n.value.parentNode);if(-1===i(n.value))continue;if(-1!==r){t=n;break}{let r=n.value;if(r.parentNode&&r.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let i=r.parentNode.host;if(-1!==this.mirror.getId(i)){t=n;break}}}}}}if(!t){for(;n.head;)n.removeNode(n.head.value);break}a=t.previous,n.removeNode(t.value),o(t.value)}let s={texts:this.texts.map(t=>{let r=t.node;return r.parentNode&&"TEXTAREA"===r.parentNode.tagName&&this.genTextAreaValueMutation(r.parentNode),{id:this.mirror.getId(r),value:t.value}}).filter(t=>!r.has(t.id)).filter(t=>this.mirror.has(t.id)),attributes:this.attributes.map(t=>{let{attributes:r}=t;if("string"==typeof r.style){let n=JSON.stringify(t.styleDiff),i=JSON.stringify(t._unchangedStyles);n.length<r.style.length&&(n+i).split("var(").length===r.style.split("var(").length&&(r.style=t.styleDiff)}return{id:this.mirror.getId(t.node),attributes:r}}).filter(t=>!r.has(t.id)).filter(t=>this.mirror.has(t.id)),removes:this.removes,adds:t};(s.texts.length||s.attributes.length||s.removes.length||s.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(s))},this.genTextAreaValueMutation=t=>{let r=this.attributeMap.get(t);r||(r={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(r),this.attributeMap.set(t,r)),r.attributes.value=Array.from(t.childNodes,t=>t.textContent||"").join("")},this.processMutation=t=>{if(!fY(t.target,this.mirror))switch(t.type){case"characterData":{let r=t.target.textContent;fX(t.target,this.blockClass,this.blockSelector,!1)||r===t.oldValue||this.texts.push({value:fj(t.target,this.maskTextClass,this.maskTextSelector,!0)&&r?this.maskTextFn?this.maskTextFn(r,fK(t.target)):r.replace(/[\S]/g,"*"):r,node:t.target});break}case"attributes":{let r=t.target,n=t.attributeName,i=t.target.getAttribute(n);if("value"===n){let t=fb(r);i=fg({element:r,maskInputOptions:this.maskInputOptions,tagName:r.tagName,type:t,value:i,maskInputFn:this.maskInputFn})}if(fX(t.target,this.blockClass,this.blockSelector,!1)||i===t.oldValue)return;let o=this.attributeMap.get(t.target);if("IFRAME"===r.tagName&&"src"===n&&!this.keepIframeSrcFn(i)){if(r.contentDocument)return;n="rr_src"}if(o||(o={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(t.target,o)),"type"===n&&"INPUT"===r.tagName&&"password"===(t.oldValue||"").toLowerCase()&&r.setAttribute("data-rr-is-password","true"),!fL(r.tagName,n)&&(o.attributes[n]=fA(this.doc,fy(r.tagName),fy(n),i),"style"===n)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(t){this.unattachedDoc=this.doc}let n=this.unattachedDoc.createElement("span");for(let i of(t.oldValue&&n.setAttribute("style",t.oldValue),Array.from(r.style))){let t=r.style.getPropertyValue(i),a=r.style.getPropertyPriority(i);t!==n.style.getPropertyValue(i)||a!==n.style.getPropertyPriority(i)?o.styleDiff[i]=""===a?t:[t,a]:o._unchangedStyles[i]=[t,a]}for(let t of Array.from(n.style))""===r.style.getPropertyValue(t)&&(o.styleDiff[t]=!1)}break}case"childList":if(fX(t.target,this.blockClass,this.blockSelector,!0))return;if("TEXTAREA"===t.target.tagName)return void this.genTextAreaValueMutation(t.target);t.addedNodes.forEach(r=>this.genAdds(r,t.target)),t.removedNodes.forEach(r=>{let n=this.mirror.getId(r),i=fp(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);fX(t.target,this.blockClass,this.blockSelector,!1)||fY(r,this.mirror)||-1===this.mirror.getId(r)||(this.addedSet.has(r)?(he(this.addedSet,r),this.droppedSet.add(r)):this.addedSet.has(t.target)&&-1===n||function t(r,n){if(fp(r))return!1;let i=n.getId(r);return!n.has(i)||(!r.parentNode||r.parentNode.nodeType!==r.DOCUMENT_NODE)&&(!r.parentNode||t(r.parentNode,n))}(t.target,this.mirror)||(this.movedSet.has(r)&&this.movedMap[f9(n,i)]?he(this.movedSet,r):this.removes.push({parentId:i,id:n,isShadow:!(!fp(t.target)||!ff(t.target))||void 0})),this.mapRemoves.push(r))})}},this.genAdds=(t,r)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!this.addedSet.has(t)&&!this.movedSet.has(t)){if(this.mirror.hasNode(t)){if(fY(t,this.mirror))return;this.movedSet.add(t);let n=null;r&&this.mirror.hasNode(r)&&(n=this.mirror.getId(r)),n&&-1!==n&&(this.movedMap[f9(this.mirror.getId(t),n)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);fX(t,this.blockClass,this.blockSelector,!1)||(t.childNodes.forEach(t=>this.genAdds(t)),f1(t)&&t.shadowRoot.childNodes.forEach(r=>{this.processedNodeManager.add(r,this),this.genAdds(r,t)}))}}}};function he(t,r){t.delete(r),r.childNodes.forEach(r=>he(t,r))}function ht(t,r,n){return 0!==t.length&&function t(r,n,i){let{parentNode:o}=n;if(!o)return!1;let a=i.getId(o);return!!r.some(t=>t.id===a)||t(r,o,i)}(t,r,n)}function hr(t,r){return 0!==t.size&&function t(r,n){let{parentNode:i}=n;return!!i&&(!!r.has(i)||t(r,i))}(t,r)}let hn=t=>s?(...r)=>{try{return t(...r)}catch(t){if(s&&!0===s(t))return;throw t}}:t,hi=[];function ho(t){try{if("composedPath"in t){let r=t.composedPath();if(r.length)return r[0]}else if("path"in t&&t.path.length)return t.path[0]}catch(t){}return t&&t.target}function ha(t,r){var n,i;let o=new iv;hi.push(o),o.init(t);let a=window.MutationObserver||window.__rrMutationObserver,s=null===(i=null===(n=null==window?void 0:window.Zone)||void 0===n?void 0:n.__symbol__)||void 0===i?void 0:i.call(n,"MutationObserver");s&&window[s]&&(a=window[s]);let l=new a(hn(o.processMutations.bind(o)));return l.observe(r,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),l}function hs({scrollCb:t,doc:r,mirror:n,blockClass:i,blockSelector:o,sampling:a}){return fB("scroll",hn(fz(hn(a=>{let s=ho(a);if(!s||fX(s,i,o,!0))return;let l=n.getId(s);if(s===r&&r.defaultView){let n=fV(r.defaultView);t({id:l,x:n.left,y:n.top})}else t({id:l,x:s.scrollLeft,y:s.scrollTop})}),a.scroll||100)),r)}let hl=["INPUT","TEXTAREA","SELECT"],hu=new WeakMap;function hc(t){var r;return r=[],hh("CSSGroupingRule")&&t.parentRule instanceof CSSGroupingRule||hh("CSSMediaRule")&&t.parentRule instanceof CSSMediaRule||hh("CSSSupportsRule")&&t.parentRule instanceof CSSSupportsRule||hh("CSSConditionRule")&&t.parentRule instanceof CSSConditionRule?r.unshift(Array.from(t.parentRule.cssRules).indexOf(t)):t.parentStyleSheet&&r.unshift(Array.from(t.parentStyleSheet.cssRules).indexOf(t)),r}function hd(t,r,n){let i,o;return t?(t.ownerNode?i=r.getId(t.ownerNode):o=n.getId(t),{styleId:o,id:i}):{}}function hp({mirror:t,stylesheetManager:r},n){var i,o,a;let s=null;s="#document"===n.nodeName?t.getId(n):t.getId(n.host);let l="#document"===n.nodeName?null===(i=n.defaultView)||void 0===i?void 0:i.Document:null===(a=null===(o=n.ownerDocument)||void 0===o?void 0:o.defaultView)||void 0===a?void 0:a.ShadowRoot,u=(null==l?void 0:l.prototype)?Object.getOwnPropertyDescriptor(null==l?void 0:l.prototype,"adoptedStyleSheets"):void 0;return null!==s&&-1!==s&&l&&u?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get(){var t;return null===(t=u.get)||void 0===t?void 0:t.call(this)},set(t){var n;let i=null===(n=u.set)||void 0===n?void 0:n.call(this,t);if(null!==s&&-1!==s)try{r.adoptStyleSheets(t,s)}catch(t){}return i}}),hn(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get:u.get,set:u.set})})):()=>{}}function hf(t,r={}){let n,i=t.doc.defaultView;if(!i)return()=>{};!function(t,r){let{mutationCb:n,mousemoveCb:i,mouseInteractionCb:o,scrollCb:a,viewportResizeCb:s,inputCb:l,mediaInteractionCb:u,styleSheetRuleCb:c,styleDeclarationCb:d,canvasMutationCb:f,fontCb:h,selectionCb:m,customElementCb:g}=t;t.mutationCb=(...t)=>{r.mutation&&r.mutation(...t),n(...t)},t.mousemoveCb=(...t)=>{r.mousemove&&r.mousemove(...t),i(...t)},t.mouseInteractionCb=(...t)=>{r.mouseInteraction&&r.mouseInteraction(...t),o(...t)},t.scrollCb=(...t)=>{r.scroll&&r.scroll(...t),a(...t)},t.viewportResizeCb=(...t)=>{r.viewportResize&&r.viewportResize(...t),s(...t)},t.inputCb=(...t)=>{r.input&&r.input(...t),l(...t)},t.mediaInteractionCb=(...t)=>{r.mediaInteaction&&r.mediaInteaction(...t),u(...t)},t.styleSheetRuleCb=(...t)=>{r.styleSheetRule&&r.styleSheetRule(...t),c(...t)},t.styleDeclarationCb=(...t)=>{r.styleDeclaration&&r.styleDeclaration(...t),d(...t)},t.canvasMutationCb=(...t)=>{r.canvasMutation&&r.canvasMutation(...t),f(...t)},t.fontCb=(...t)=>{r.font&&r.font(...t),h(...t)},t.selectionCb=(...t)=>{r.selection&&r.selection(...t),m(...t)},t.customElementCb=(...t)=>{r.customElement&&r.customElement(...t),g(...t)}}(t,r),t.recordDOM&&(n=ha(t,t.doc));let o=function({mousemoveCb:t,sampling:r,doc:n,mirror:i}){if(!1===r.mousemove)return()=>{};let o="number"==typeof r.mousemove?r.mousemove:50,a="number"==typeof r.mousemoveCallback?r.mousemoveCallback:500,s,l=[],u=fz(hn(r=>{let n=Date.now()-s;t(l.map(t=>(t.timeOffset-=n,t)),r),l=[],s=null}),a),c=hn(fz(hn(t=>{let r=ho(t),{clientX:n,clientY:o}=fJ(t)?t.changedTouches[0]:t;s||(s=fH()),l.push({x:n,y:o,id:i.getId(r),timeOffset:fH()-s}),u("undefined"!=typeof DragEvent&&t instanceof DragEvent?f6.Drag:t instanceof MouseEvent?f6.MouseMove:f6.TouchMove)}),o,{trailing:!1})),d=[fB("mousemove",c,n),fB("touchmove",c,n),fB("drag",c,n)];return hn(()=>{d.forEach(t=>t())})}(t),a=function({mouseInteractionCb:t,doc:r,mirror:n,blockClass:i,blockSelector:o,sampling:a}){if(!1===a.mouseInteraction)return()=>{};let s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,l=[],u=null;return Object.keys(f4).filter(t=>Number.isNaN(Number(t))&&!t.endsWith("_Departed")&&!1!==s[t]).forEach(a=>{let s=fy(a),c=r=>{let s=ho(r);if(fX(s,i,o,!0))return;let l=null,c=a;if("pointerType"in r){switch(r.pointerType){case"mouse":l=f8.Mouse;break;case"touch":l=f8.Touch;break;case"pen":l=f8.Pen}l===f8.Touch&&(f4[a]===f4.MouseDown?c="TouchStart":f4[a]===f4.MouseUp&&(c="TouchEnd"))}else fJ(r)&&(l=f8.Touch);null!==l?(u=l,(c.startsWith("Touch")&&l===f8.Touch||c.startsWith("Mouse")&&l===f8.Mouse)&&(l=null)):f4[a]===f4.Click&&(l=u,u=null);let d=fJ(r)?r.changedTouches[0]:r;if(!d)return;let f=n.getId(s),{clientX:h,clientY:m}=d;hn(t)(Object.assign({type:f4[c],id:f,x:h,y:m},null!==l&&{pointerType:l}))};if(window.PointerEvent)switch(f4[a]){case f4.MouseDown:case f4.MouseUp:s=s.replace("mouse","pointer");break;case f4.TouchStart:case f4.TouchEnd:return}l.push(fB(s,c,r))}),hn(()=>{l.forEach(t=>t())})}(t),s=hs(t),l=function({viewportResizeCb:t},{win:r}){let n=-1,i=-1;return fB("resize",hn(fz(hn(()=>{let r=fW(),o=fG();n===r&&i===o||(t({width:Number(o),height:Number(r)}),n=r,i=o)}),200)),r)}(t,{win:i}),u=function({inputCb:t,doc:r,mirror:n,blockClass:i,blockSelector:o,ignoreClass:a,ignoreSelector:s,maskInputOptions:l,maskInputFn:u,sampling:c,userTriggeredOnInput:d}){function f(t){let n=ho(t),c=t.isTrusted,f=n&&n.tagName;if(n&&"OPTION"===f&&(n=n.parentElement),!n||!f||0>hl.indexOf(f)||fX(n,i,o,!0)||n.classList.contains(a)||s&&n.matches(s))return;let m=n.value,g=!1,y=fb(n)||"";"radio"===y||"checkbox"===y?g=n.checked:(l[f.toLowerCase()]||l[y])&&(m=fg({element:n,maskInputOptions:l,tagName:f,type:y,value:m,maskInputFn:u})),h(n,d?{text:m,isChecked:g,userTriggered:c}:{text:m,isChecked:g});let v=n.name;"radio"===y&&v&&g&&r.querySelectorAll(`input[type="radio"][name="${v}"]`).forEach(t=>{if(t!==n){let r=t.value;h(t,d?{text:r,isChecked:!g,userTriggered:!1}:{text:r,isChecked:!g})}})}function h(r,i){let o=hu.get(r);if(!o||o.text!==i.text||o.isChecked!==i.isChecked){hu.set(r,i);let o=n.getId(r);hn(t)(Object.assign(Object.assign({},i),{id:o}))}}let m=("last"===c.input?["change"]:["input","change"]).map(t=>fB(t,hn(f),r)),g=r.defaultView;if(!g)return()=>{m.forEach(t=>t())};let y=g.Object.getOwnPropertyDescriptor(g.HTMLInputElement.prototype,"value"),v=[[g.HTMLInputElement.prototype,"value"],[g.HTMLInputElement.prototype,"checked"],[g.HTMLSelectElement.prototype,"value"],[g.HTMLTextAreaElement.prototype,"value"],[g.HTMLSelectElement.prototype,"selectedIndex"],[g.HTMLOptionElement.prototype,"selected"]];return y&&y.set&&m.push(...v.map(t=>fq(t[0],t[1],{set(){hn(f)({target:this,isTrusted:!1})}},!1,g))),hn(()=>{m.forEach(t=>t())})}(t),c=function({mediaInteractionCb:t,blockClass:r,blockSelector:n,mirror:i,sampling:o,doc:a}){let s=hn(a=>fz(hn(o=>{let s=ho(o);if(!s||fX(s,r,n,!0))return;let{currentTime:l,volume:u,muted:c,playbackRate:d,loop:f}=s;t({type:a,id:i.getId(s),currentTime:l,volume:u,muted:c,playbackRate:d,loop:f})}),o.media||500)),l=[fB("play",s(0),a),fB("pause",s(1),a),fB("seeked",s(2),a),fB("volumechange",s(3),a),fB("ratechange",s(4),a)];return hn(()=>{l.forEach(t=>t())})}(t),d=()=>{},f=()=>{},h=()=>{},m=()=>{};t.recordDOM&&(d=function({styleSheetRuleCb:t,mirror:r,stylesheetManager:n},{win:i}){let o,a;if(!i.CSSStyleSheet||!i.CSSStyleSheet.prototype)return()=>{};let s=i.CSSStyleSheet.prototype.insertRule;i.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:hn((i,o,a)=>{let[s,l]=a,{id:u,styleId:c}=hd(o,r,n.styleMirror);return(u&&-1!==u||c&&-1!==c)&&t({id:u,styleId:c,adds:[{rule:s,index:l}]}),i.apply(o,a)})});let l=i.CSSStyleSheet.prototype.deleteRule;i.CSSStyleSheet.prototype.deleteRule=new Proxy(l,{apply:hn((i,o,a)=>{let[s]=a,{id:l,styleId:u}=hd(o,r,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&t({id:l,styleId:u,removes:[{index:s}]}),i.apply(o,a)})}),i.CSSStyleSheet.prototype.replace&&(o=i.CSSStyleSheet.prototype.replace,i.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:hn((i,o,a)=>{let[s]=a,{id:l,styleId:u}=hd(o,r,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&t({id:l,styleId:u,replace:s}),i.apply(o,a)})})),i.CSSStyleSheet.prototype.replaceSync&&(a=i.CSSStyleSheet.prototype.replaceSync,i.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:hn((i,o,a)=>{let[s]=a,{id:l,styleId:u}=hd(o,r,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&t({id:l,styleId:u,replaceSync:s}),i.apply(o,a)})}));let u={};hm("CSSGroupingRule")?u.CSSGroupingRule=i.CSSGroupingRule:(hm("CSSMediaRule")&&(u.CSSMediaRule=i.CSSMediaRule),hm("CSSConditionRule")&&(u.CSSConditionRule=i.CSSConditionRule),hm("CSSSupportsRule")&&(u.CSSSupportsRule=i.CSSSupportsRule));let c={};return Object.entries(u).forEach(([i,o])=>{c[i]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},o.prototype.insertRule=new Proxy(c[i].insertRule,{apply:hn((i,o,a)=>{let[s,l]=a,{id:u,styleId:c}=hd(o.parentStyleSheet,r,n.styleMirror);return(u&&-1!==u||c&&-1!==c)&&t({id:u,styleId:c,adds:[{rule:s,index:[...hc(o),l||0]}]}),i.apply(o,a)})}),o.prototype.deleteRule=new Proxy(c[i].deleteRule,{apply:hn((i,o,a)=>{let[s]=a,{id:l,styleId:u}=hd(o.parentStyleSheet,r,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&t({id:l,styleId:u,removes:[{index:[...hc(o),s]}]}),i.apply(o,a)})})}),hn(()=>{i.CSSStyleSheet.prototype.insertRule=s,i.CSSStyleSheet.prototype.deleteRule=l,o&&(i.CSSStyleSheet.prototype.replace=o),a&&(i.CSSStyleSheet.prototype.replaceSync=a),Object.entries(u).forEach(([t,r])=>{r.prototype.insertRule=c[t].insertRule,r.prototype.deleteRule=c[t].deleteRule})})}(t,{win:i}),f=hp(t,t.doc),h=function({styleDeclarationCb:t,mirror:r,ignoreCSSAttributes:n,stylesheetManager:i},{win:o}){let a=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:hn((o,s,l)=>{var u;let[c,d,f]=l;if(n.has(c))return a.apply(s,[c,d,f]);let{id:h,styleId:m}=hd(null===(u=s.parentRule)||void 0===u?void 0:u.parentStyleSheet,r,i.styleMirror);return(h&&-1!==h||m&&-1!==m)&&t({id:h,styleId:m,set:{property:c,value:d,priority:f},index:hc(s.parentRule)}),o.apply(s,l)})});let s=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:hn((o,a,l)=>{var u;let[c]=l;if(n.has(c))return s.apply(a,[c]);let{id:d,styleId:f}=hd(null===(u=a.parentRule)||void 0===u?void 0:u.parentStyleSheet,r,i.styleMirror);return(d&&-1!==d||f&&-1!==f)&&t({id:d,styleId:f,remove:{property:c},index:hc(a.parentRule)}),o.apply(a,l)})}),hn(()=>{o.CSSStyleDeclaration.prototype.setProperty=a,o.CSSStyleDeclaration.prototype.removeProperty=s})}(t,{win:i}),t.collectFonts&&(m=function({fontCb:t,doc:r}){let n=r.defaultView;if(!n)return()=>{};let i=[],o=new WeakMap,a=n.FontFace;n.FontFace=function(t,r,n){let i=new a(t,r,n);return o.set(i,{family:t,buffer:"string"!=typeof r,descriptors:n,fontSource:"string"==typeof r?r:JSON.stringify(Array.from(new Uint8Array(r)))}),i};let s=fZ(r.fonts,"add",function(r){return function(n){return setTimeout(hn(()=>{let r=o.get(n);r&&(t(r),o.delete(n))}),0),r.apply(this,[n])}});return i.push(()=>{n.FontFace=a}),i.push(s),hn(()=>{i.forEach(t=>t())})}(t)));let g=function(t){let{doc:r,mirror:n,blockClass:i,blockSelector:o,selectionCb:a}=t,s=!0,l=hn(()=>{let t=r.getSelection();if(!t||s&&(null==t?void 0:t.isCollapsed))return;s=t.isCollapsed||!1;let l=[],u=t.rangeCount||0;for(let r=0;r<u;r++){let{startContainer:a,startOffset:s,endContainer:u,endOffset:c}=t.getRangeAt(r);fX(a,i,o,!0)||fX(u,i,o,!0)||l.push({start:n.getId(a),startOffset:s,end:n.getId(u),endOffset:c})}a({ranges:l})});return l(),fB("selectionchange",l)}(t),y=function({doc:t,customElementCb:r}){let n=t.defaultView;return n&&n.customElements?fZ(n.customElements,"define",function(t){return function(n,i,o){try{r({define:{name:n}})}catch(t){console.warn(`Custom element callback failed for ${n}`)}return t.apply(this,[n,i,o])}}):()=>{}}(t),v=[];for(let r of t.plugins)v.push(r.observer(r.callback,i,r.options));return hn(()=>{hi.forEach(t=>t.reset()),null==n||n.disconnect(),o(),a(),s(),l(),u(),c(),d(),f(),h(),m(),g(),y(),v.forEach(t=>t())})}function hh(t){return void 0!==window[t]}function hm(t){return!!(void 0!==window[t]&&window[t].prototype&&"insertRule"in window[t].prototype&&"deleteRule"in window[t].prototype)}let Ev=class Ev{getId(t,r,n,i){let o=n||this.getIdToRemoteIdMap(t),a=i||this.getRemoteIdToIdMap(t),s=o.get(r);return s||(s=this.generateIdFn(),o.set(r,s),a.set(s,r)),s}getIds(t,r){let n=this.getIdToRemoteIdMap(t),i=this.getRemoteIdToIdMap(t);return r.map(r=>this.getId(t,r,n,i))}getRemoteId(t,r,n){let i=n||this.getRemoteIdToIdMap(t);return"number"!=typeof r?r:i.get(r)||-1}getRemoteIds(t,r){let n=this.getRemoteIdToIdMap(t);return r.map(r=>this.getRemoteId(t,r,n))}reset(t){if(!t)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let r=this.iframeIdToRemoteIdMap.get(t);return r||(r=new Map,this.iframeIdToRemoteIdMap.set(t,r)),r}getRemoteIdToIdMap(t){let r=this.iframeRemoteIdToIdMap.get(t);return r||(r=new Map,this.iframeRemoteIdToIdMap.set(t,r)),r}constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}};let Tv=class Tv{addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,r){var n;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:r}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(n=this.loadListener)||void 0===n||n.call(this,t),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))}handleMessage(t){if("rrweb"!==t.data.type||t.origin!==t.data.origin||!t.source)return;let r=this.crossOriginIframeMap.get(t.source);if(!r)return;let n=this.transformCrossOriginEvent(r,t.data.event);n&&this.wrappedEmit(n,t.data.isCheckout)}transformCrossOriginEvent(t,r){var n;switch(r.type){case f3.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(r.data.node,t);let n=r.data.node.id;return this.crossOriginIframeRootIdMap.set(t,n),this.patchRootIdOnNode(r.data.node,n),{timestamp:r.timestamp,type:f3.IncrementalSnapshot,data:{source:f6.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:r.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case f3.Meta:case f3.Load:case f3.DomContentLoaded:break;case f3.Plugin:return r;case f3.Custom:return this.replaceIds(r.data.payload,t,["id","parentId","previousId","nextId"]),r;case f3.IncrementalSnapshot:switch(r.data.source){case f6.Mutation:return r.data.adds.forEach(r=>{this.replaceIds(r,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(r.node,t);let n=this.crossOriginIframeRootIdMap.get(t);n&&this.patchRootIdOnNode(r.node,n)}),r.data.removes.forEach(r=>{this.replaceIds(r,t,["parentId","id"])}),r.data.attributes.forEach(r=>{this.replaceIds(r,t,["id"])}),r.data.texts.forEach(r=>{this.replaceIds(r,t,["id"])}),r;case f6.Drag:case f6.TouchMove:case f6.MouseMove:return r.data.positions.forEach(r=>{this.replaceIds(r,t,["id"])}),r;case f6.ViewportResize:return!1;case f6.MediaInteraction:case f6.MouseInteraction:case f6.Scroll:case f6.CanvasMutation:case f6.Input:return this.replaceIds(r.data,t,["id"]),r;case f6.StyleSheetRule:case f6.StyleDeclaration:return this.replaceIds(r.data,t,["id"]),this.replaceStyleIds(r.data,t,["styleId"]),r;case f6.Font:return r;case f6.Selection:return r.data.ranges.forEach(r=>{this.replaceIds(r,t,["start","end"])}),r;case f6.AdoptedStyleSheet:return this.replaceIds(r.data,t,["id"]),this.replaceStyleIds(r.data,t,["styleIds"]),null===(n=r.data.styles)||void 0===n||n.forEach(r=>{this.replaceStyleIds(r,t,["styleId"])}),r}}return!1}replace(t,r,n,i){for(let o of i)(Array.isArray(r[o])||"number"==typeof r[o])&&(Array.isArray(r[o])?r[o]=t.getIds(n,r[o]):r[o]=t.getId(n,r[o]));return r}replaceIds(t,r,n){return this.replace(this.crossOriginIframeMirror,t,r,n)}replaceStyleIds(t,r,n){return this.replace(this.crossOriginIframeStyleMirror,t,r,n)}replaceIdOnNode(t,r){this.replaceIds(t,r,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(t=>{this.replaceIdOnNode(t,r)})}patchRootIdOnNode(t,r){t.type===hO.Document||t.rootId||(t.rootId=r),"childNodes"in t&&t.childNodes.forEach(t=>{this.patchRootIdOnNode(t,r)})}constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Ev(fx),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Ev(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}};let Mv=class Mv{init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,r){if(!ff(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t);let n=ha(Object.assign(Object.assign({},this.bypassOptions),{doc:r,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),t);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(hs(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:t,mirror:this.mirror}))),setTimeout(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(hp({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){t.contentWindow&&t.contentDocument&&this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)}patchAttachShadow(t,r){let n=this;this.restoreHandlers.push(fZ(t.prototype,"attachShadow",function(t){return function(i){let o=t.call(this,i);return this.shadowRoot&&f5(this)&&n.addShadowRoot(this.shadowRoot,r),o}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch(t){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}constructor(t){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}};for(var hg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",hy="undefined"==typeof Uint8Array?[]:new Uint8Array(256),hv=0;hv<64;hv++)hy[hg.charCodeAt(hv)]=hv;let hb=new Map,h_=(t,r,n)=>{var i;let o;if(!t||!hS(t,r)&&"object"!=typeof t)return;let a=(i=t.constructor.name,(o=hb.get(n))||(o=new Map,hb.set(n,o)),o.has(i)||o.set(i,[]),o.get(i)),s=a.indexOf(t);return -1===s&&(s=a.length,a.push(t)),s},hw=(t,r,n)=>t.map(t=>(function t(r,n,i){if(r instanceof Array)return r.map(r=>t(r,n,i));if(null===r)return r;if(r instanceof Float32Array||r instanceof Float64Array||r instanceof Int32Array||r instanceof Uint32Array||r instanceof Uint8Array||r instanceof Uint16Array||r instanceof Int16Array||r instanceof Int8Array||r instanceof Uint8ClampedArray)return{rr_type:r.constructor.name,args:[Object.values(r)]};if(r instanceof ArrayBuffer)return{rr_type:r.constructor.name,base64:function(t){var r,n=new Uint8Array(t),i=n.length,o="";for(r=0;r<i;r+=3)o+=hg[n[r]>>2],o+=hg[(3&n[r])<<4|n[r+1]>>4],o+=hg[(15&n[r+1])<<2|n[r+2]>>6],o+=hg[63&n[r+2]];return i%3==2?o=o.substring(0,o.length-1)+"=":i%3==1&&(o=o.substring(0,o.length-2)+"=="),o}(r)};if(r instanceof DataView)return{rr_type:r.constructor.name,args:[t(r.buffer,n,i),r.byteOffset,r.byteLength]};if(r instanceof HTMLImageElement){let t=r.constructor.name,{src:n}=r;return{rr_type:t,src:n}}return r instanceof HTMLCanvasElement?{rr_type:"HTMLImageElement",src:r.toDataURL()}:r instanceof ImageData?{rr_type:r.constructor.name,args:[t(r.data,n,i),r.width,r.height]}:hS(r,n)||"object"==typeof r?{rr_type:r.constructor.name,index:h_(r,n,i)}:r})(t,r,n)),hS=(t,r)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(t=>"function"==typeof r[t]).find(n=>t instanceof r[n]);function hx(t,r,n,i){let o=[];try{let a=fZ(t.HTMLCanvasElement.prototype,"getContext",function(t){return function(o,...a){if(!fX(this,r,n,!0)){let t="experimental-webgl"===o?"webgl":o;if("__context"in this||(this.__context=t),i&&["webgl","webgl2"].includes(t))if(a[0]&&"object"==typeof a[0]){let t=a[0];t.preserveDrawingBuffer||(t.preserveDrawingBuffer=!0)}else a.splice(0,1,{preserveDrawingBuffer:!0})}return t.apply(this,[o,...a])}});o.push(a)}catch(t){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{o.forEach(t=>t())}}function hE(t,r,n,i,o,a,s){let l=[];for(let a of Object.getOwnPropertyNames(t))if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(a))try{if("function"!=typeof t[a])continue;let u=fZ(t,a,function(t){return function(...l){let u=t.apply(this,l);if(h_(u,s,this),"tagName"in this.canvas&&!fX(this.canvas,i,o,!0)){let t=hw(l,s,this),i={type:r,property:a,args:t};n(this.canvas,i)}return u}});l.push(u)}catch(o){let i=fq(t,a,{set(t){n(this.canvas,{type:r,property:a,args:[t],setter:!0})}});l.push(i)}return l}var hk,hC,hO,hR,hT,hP=(hR=function(){!function(){function t(t,r,n,i){return new(n||(n=Promise))(function(r,o){function a(t){try{l(i.next(t))}catch(t){o(t)}}function s(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var i;t.done?r(t.value):((i=t.value)instanceof n?i:new n(function(t){t(i)})).then(a,s)}l((i=i.apply(t,[])).next())})}for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="undefined"==typeof Uint8Array?[]:new Uint8Array(256),i=0;i<64;i++)n[r.charCodeAt(i)]=i;var o=function(t){var n,i=new Uint8Array(t),o=i.length,a="";for(n=0;n<o;n+=3)a+=r[i[n]>>2],a+=r[(3&i[n])<<4|i[n+1]>>4],a+=r[(15&i[n+1])<<2|i[n+2]>>6],a+=r[63&i[n+2]];return o%3==2?a=a.substring(0,a.length-1)+"=":o%3==1&&(a=a.substring(0,a.length-2)+"=="),a};let a=new Map,s=new Map,l=self;l.onmessage=function(r){return t(this,0,void 0,function*(){if(!("OffscreenCanvas"in globalThis))return l.postMessage({id:r.data.id});{let{id:n,bitmap:i,width:u,height:c,dataURLOptions:d}=r.data,f=function(r,n,i){return t(this,0,void 0,function*(){let t=`${r}-${n}`;if("OffscreenCanvas"in globalThis){if(s.has(t))return s.get(t);let a=new OffscreenCanvas(r,n);a.getContext("2d");let l=yield a.convertToBlob(i),u=o((yield l.arrayBuffer()));return s.set(t,u),u}return""})}(u,c,d),h=new OffscreenCanvas(u,c);h.getContext("2d").drawImage(i,0,0),i.close();let m=yield h.convertToBlob(d),g=m.type,y=o((yield m.arrayBuffer()));if(!a.has(n)&&(yield f)===y)return a.set(n,y),l.postMessage({id:n});if(a.get(n)===y)return l.postMessage({id:n});l.postMessage({id:n,type:g,base64:y,width:u,height:c}),a.set(n,y)}})}}()},function(t){var r;return new Worker(hT=hT||(r=new Blob(function(t){var r=t.toString().split("\n");r.pop(),r.shift();for(var n=r[0].search(/\S/),i=/(['"])__worker_loader_strict__(['"])/g,o=0,a=r.length;o<a;++o)r[o]=r[o].substring(n).replace(i,"$1use strict$2")+"\n";return r}(hR),{type:"application/javascript"}),URL.createObjectURL(r)),t)});let qv=class qv{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(t,r,n,i,o){let a=hx(r,n,i,!0),s=new Map,l=new hP;l.onmessage=t=>{let{id:r}=t.data;if(s.set(r,!1),!("base64"in t.data))return;let{base64:n,type:i,width:o,height:a}=t.data;this.mutationCb({id:r,type:f7["2D"],commands:[{property:"clearRect",args:[0,0,o,a]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:i}]},0,0]}]})};let u=1e3/t,c,d=0,f=t=>{d&&t-d<u||(d=t,(()=>{let t=[];return r.document.querySelectorAll("canvas").forEach(r=>{fX(r,n,i,!0)||t.push(r)}),t})().forEach(t=>{var r,n,i;return r=this,i=function*(){var r;let n=this.mirror.getId(t);if(s.get(n)||0===t.width||0===t.height)return;if(s.set(n,!0),["webgl","webgl2"].includes(t.__context)){let n=t.getContext(t.__context);!1===(null===(r=null==n?void 0:n.getContextAttributes())||void 0===r?void 0:r.preserveDrawingBuffer)&&n.clear(n.COLOR_BUFFER_BIT)}let i=yield createImageBitmap(t);l.postMessage({id:n,bitmap:i,width:t.width,height:t.height,dataURLOptions:o.dataURLOptions},[i])},new(n=void 0,n=Promise)(function(t,o){function a(t){try{l(i.next(t))}catch(t){o(t)}}function s(t){try{l(i.throw(t))}catch(t){o(t)}}function l(r){var i;r.done?t(r.value):((i=r.value)instanceof n?i:new n(function(t){t(i)})).then(a,s)}l((i=i.apply(r,[])).next())})})),c=requestAnimationFrame(f)};c=requestAnimationFrame(f),this.resetObservers=()=>{a(),cancelAnimationFrame(c)}}initCanvasMutationObserver(t,r,n){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();let i=hx(t,r,n,!1),o=function(t,r,n,i){let o=[];for(let a of Object.getOwnPropertyNames(r.CanvasRenderingContext2D.prototype))try{if("function"!=typeof r.CanvasRenderingContext2D.prototype[a])continue;let s=fZ(r.CanvasRenderingContext2D.prototype,a,function(o){return function(...s){return fX(this.canvas,n,i,!0)||setTimeout(()=>{let n=hw(s,r,this);t(this.canvas,{type:f7["2D"],property:a,args:n})},0),o.apply(this,s)}});o.push(s)}catch(i){let n=fq(r.CanvasRenderingContext2D.prototype,a,{set(r){t(this.canvas,{type:f7["2D"],property:a,args:[r],setter:!0})}});o.push(n)}return()=>{o.forEach(t=>t())}}(this.processMutation.bind(this),t,r,n),a=function(t,r,n,i){let o=[];return o.push(...hE(r.WebGLRenderingContext.prototype,f7.WebGL,t,n,i,0,r)),void 0!==r.WebGL2RenderingContext&&o.push(...hE(r.WebGL2RenderingContext.prototype,f7.WebGL2,t,n,i,0,r)),()=>{o.forEach(t=>t())}}(this.processMutation.bind(this),t,r,n,this.mirror);this.resetObservers=()=>{i(),o(),a()}}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let t=r=>{this.rafStamps.latestId=r,requestAnimationFrame(t)};requestAnimationFrame(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,r)=>{let n=this.mirror.getId(r);this.flushPendingCanvasMutationFor(r,n)}),requestAnimationFrame(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(t,r){if(this.frozen||this.locked)return;let n=this.pendingCanvasMutations.get(t);if(!n||-1===r)return;let i=n.map(t=>(function(t,r){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>r.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)0>r.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}return n})(t,["type"])),{type:o}=n[0];this.mutationCb({id:r,type:o,commands:i}),this.pendingCanvasMutations.delete(t)}constructor(t){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(t,r)=>{!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(t)||this.pendingCanvasMutations.set(t,[]),this.pendingCanvasMutations.get(t).push(r)};let{sampling:r="all",win:n,blockClass:i,blockSelector:o,recordCanvas:a,dataURLOptions:s}=t;this.mutationCb=t.mutationCb,this.mirror=t.mirror,a&&"all"===r&&this.initCanvasMutationObserver(n,i,o),a&&"number"==typeof r&&this.initCanvasFPSObserver(r,n,i,o,{dataURLOptions:s})}};let Uv=class Uv{attachLinkElement(t,r){"_cssText"in r.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:r.id,attributes:r.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,r){if(0===t.length)return;let n={id:r,styleIds:[]},i=[];for(let r of t){let t;this.styleMirror.has(r)?t=this.styleMirror.getId(r):(t=this.styleMirror.add(r),i.push({styleId:t,rules:Array.from(r.rules||CSSRule,(t,r)=>({rule:fm(t),index:r}))})),n.styleIds.push(t)}i.length>0&&(n.styles=i),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new Gb,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}};let Wv=class Wv{periodicallyClear(){requestAnimationFrame(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(t,r){let n=this.nodeMap.get(t);return n&&Array.from(n).some(t=>t!==r)}add(t,r){this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(r))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}};function hM(t){return Object.assign(Object.assign({},t),{timestamp:fH()})}let hI,hA,hL,hN=!1,hj=new nb;function hD(t={}){let r,{emit:n,checkoutEveryNms:i,checkoutEveryNth:o,blockClass:a="rr-block",blockSelector:l=null,ignoreClass:u="rr-ignore",ignoreSelector:c=null,maskTextClass:d="rr-mask",maskTextSelector:f=null,inlineStylesheet:h=!0,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:y,maskInputFn:v,maskTextFn:b,hooks:_,packFn:w,sampling:S={},dataURLOptions:x={},mousemoveWait:E,recordDOM:k=!0,recordCanvas:C=!1,recordCrossOriginIframes:O=!1,recordAfter:R="DOMContentLoaded"===t.recordAfter?t.recordAfter:"load",userTriggeredOnInput:T=!1,collectFonts:P=!1,inlineImages:M=!1,plugins:I,keepIframeSrcFn:A=()=>!1,ignoreCSSAttributes:L=new Set([]),errorHandler:N}=t;s=N;let j=!O||window.parent===window,D=!1;if(!j)try{window.parent.document&&(D=!1)}catch(t){D=!0}if(j&&!n)throw Error("emit function is required");void 0!==E&&void 0===S.mousemove&&(S.mousemove=E),hj.reset();let F=!0===m?{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!==g?g:{password:!0},B=!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===y,headMetaDescKeywords:"all"===y}:y||{};!function(t=window){"NodeList"in t&&!t.NodeList.prototype.forEach&&(t.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in t&&!t.DOMTokenList.prototype.forEach&&(t.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...t)=>{let r=t[0];if(!(0 in t))throw TypeError("1 argument is required");do if(this===r)return!0;while(r=r&&r.parentNode);return!1})}();let $=0,U=t=>{for(let r of I||[])r.eventProcessor&&(t=r.eventProcessor(t));return w&&!D&&(t=w(t)),t};hI=(t,a)=>{var s;if((null===(s=hi[0])||void 0===s?void 0:s.isFrozen())&&t.type!==f3.FullSnapshot&&(t.type!==f3.IncrementalSnapshot||t.data.source!==f6.Mutation)&&hi.forEach(t=>t.unfreeze()),j)null==n||n(U(t),a);else if(D){let r={type:"rrweb",event:U(t),origin:window.location.origin,isCheckout:a};window.parent.postMessage(r,"*")}if(t.type===f3.FullSnapshot)r=t,$=0;else if(t.type===f3.IncrementalSnapshot){if(t.data.source===f6.Mutation&&t.data.isAttachIframe)return;$++;let n=o&&$>=o,a=i&&t.timestamp-r.timestamp>i;(n||a)&&hA(!0)}};let z=t=>{hI(hM({type:f3.IncrementalSnapshot,data:Object.assign({source:f6.Mutation},t)}))},q=t=>hI(hM({type:f3.IncrementalSnapshot,data:Object.assign({source:f6.Scroll},t)})),Z=t=>hI(hM({type:f3.IncrementalSnapshot,data:Object.assign({source:f6.CanvasMutation},t)})),H=new Uv({mutationCb:z,adoptedStyleSheetCb:t=>hI(hM({type:f3.IncrementalSnapshot,data:Object.assign({source:f6.AdoptedStyleSheet},t)}))}),V=new Tv({mirror:hj,mutationCb:z,stylesheetManager:H,recordCrossOriginIframes:O,wrappedEmit:hI});for(let t of I||[])t.getMirror&&t.getMirror({nodeMirror:hj,crossOriginIframeMirror:V.crossOriginIframeMirror,crossOriginIframeStyleMirror:V.crossOriginIframeStyleMirror});let W=new Wv;hL=new qv({recordCanvas:C,mutationCb:Z,win:window,blockClass:a,blockSelector:l,mirror:hj,sampling:S.canvas,dataURLOptions:x});let G=new Mv({mutationCb:z,scrollCb:q,bypassOptions:{blockClass:a,blockSelector:l,maskTextClass:d,maskTextSelector:f,inlineStylesheet:h,maskInputOptions:F,dataURLOptions:x,maskTextFn:b,maskInputFn:v,recordCanvas:C,inlineImages:M,sampling:S,slimDOMOptions:B,iframeManager:V,stylesheetManager:H,canvasManager:hL,keepIframeSrcFn:A,processedNodeManager:W},mirror:hj});hA=(t=!1)=>{if(!k)return;hI(hM({type:f3.Meta,data:{href:window.location.href,width:fG(),height:fW()}}),t),H.reset(),G.init(),hi.forEach(t=>t.lock());let r=function(t,r){let{mirror:n=new nb,blockClass:i="rr-block",blockSelector:o=null,maskTextClass:a="rr-mask",maskTextSelector:s=null,inlineStylesheet:l=!0,inlineImages:u=!1,recordCanvas:c=!1,maskAllInputs:d=!1,maskTextFn:f,maskInputFn:h,slimDOM:m=!1,dataURLOptions:g,preserveWhiteSpace:y,onSerialize:v,onIframeLoad:b,iframeLoadTimeout:_,onStylesheetLoad:w,stylesheetLoadTimeout:S,keepIframeSrcFn:x=()=>!1}=r||{};return fF(t,{doc:t,mirror:n,blockClass:i,blockSelector:o,maskTextClass:a,maskTextSelector:s,skipChild:!1,inlineStylesheet:l,maskInputOptions:!0===d?{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===d?{password:!0}:d,maskTextFn:f,maskInputFn:h,slimDOMOptions:!0===m||"all"===m?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===m,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===m?{}:m,dataURLOptions:g,inlineImages:u,recordCanvas:c,preserveWhiteSpace:y,onSerialize:v,onIframeLoad:b,iframeLoadTimeout:_,onStylesheetLoad:w,stylesheetLoadTimeout:S,keepIframeSrcFn:x,newlyAddedElement:!1})}(document,{mirror:hj,blockClass:a,blockSelector:l,maskTextClass:d,maskTextSelector:f,inlineStylesheet:h,maskAllInputs:F,maskTextFn:b,slimDOM:B,dataURLOptions:x,recordCanvas:C,inlineImages:M,onSerialize:t=>{fQ(t,hj)&&V.addIframe(t),f0(t,hj)&&H.trackLinkElement(t),f1(t)&&G.addShadowRoot(t.shadowRoot,document)},onIframeLoad:(t,r)=>{V.attachIframe(t,r),G.observeAttachShadow(t)},onStylesheetLoad:(t,r)=>{H.attachLinkElement(t,r)},keepIframeSrcFn:A});if(!r)return console.warn("Failed to snapshot the document");hI(hM({type:f3.FullSnapshot,data:{node:r,initialOffset:fV(window)}}),t),hi.forEach(t=>t.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&H.adoptStyleSheets(document.adoptedStyleSheets,hj.getId(document))};try{let t=[],r=t=>{var r;return hn(hf)({mutationCb:z,mousemoveCb:(t,r)=>hI(hM({type:f3.IncrementalSnapshot,data:{source:r,positions:t}})),mouseInteractionCb:t=>hI(hM({type:f3.IncrementalSnapshot,data:Object.assign({source:f6.MouseInteraction},t)})),scrollCb:q,viewportResizeCb:t=>hI(hM({type:f3.IncrementalSnapshot,data:Object.assign({source:f6.ViewportResize},t)})),inputCb:t=>hI(hM({type:f3.IncrementalSnapshot,data:Object.assign({source:f6.Input},t)})),mediaInteractionCb:t=>hI(hM({type:f3.IncrementalSnapshot,data:Object.assign({source:f6.MediaInteraction},t)})),styleSheetRuleCb:t=>hI(hM({type:f3.IncrementalSnapshot,data:Object.assign({source:f6.StyleSheetRule},t)})),styleDeclarationCb:t=>hI(hM({type:f3.IncrementalSnapshot,data:Object.assign({source:f6.StyleDeclaration},t)})),canvasMutationCb:Z,fontCb:t=>hI(hM({type:f3.IncrementalSnapshot,data:Object.assign({source:f6.Font},t)})),selectionCb:t=>{hI(hM({type:f3.IncrementalSnapshot,data:Object.assign({source:f6.Selection},t)}))},customElementCb:t=>{hI(hM({type:f3.IncrementalSnapshot,data:Object.assign({source:f6.CustomElement},t)}))},blockClass:a,ignoreClass:u,ignoreSelector:c,maskTextClass:d,maskTextSelector:f,maskInputOptions:F,inlineStylesheet:h,sampling:S,recordDOM:k,recordCanvas:C,inlineImages:M,userTriggeredOnInput:T,collectFonts:P,doc:t,maskInputFn:v,maskTextFn:b,keepIframeSrcFn:A,blockSelector:l,slimDOMOptions:B,dataURLOptions:x,mirror:hj,iframeManager:V,stylesheetManager:H,shadowDomManager:G,processedNodeManager:W,canvasManager:hL,ignoreCSSAttributes:L,plugins:(null===(r=null==I?void 0:I.filter(t=>t.observer))||void 0===r?void 0:r.map(t=>({observer:t.observer,options:t.options,callback:r=>hI(hM({type:f3.Plugin,data:{plugin:t.name,payload:r}}))})))||[]},_)};V.addLoadListener(n=>{try{t.push(r(n.contentDocument))}catch(t){console.warn(t)}});let n=()=>{hA(),t.push(r(document)),hN=!0};return"interactive"===document.readyState||"complete"===document.readyState?n():(t.push(fB("DOMContentLoaded",()=>{hI(hM({type:f3.DomContentLoaded,data:{}})),"DOMContentLoaded"===R&&n()})),t.push(fB("load",()=>{hI(hM({type:f3.Load,data:{}})),"load"===R&&n()},window))),()=>{t.forEach(t=>t()),W.destroy(),hN=!1,s=void 0}}catch(t){console.warn(t)}}hD.addCustomEvent=(t,r)=>{if(!hN)throw Error("please add custom event after start recording");hI(hM({type:f3.Custom,data:{tag:t,payload:r}}))},hD.freezePage=()=>{hi.forEach(t=>t.freeze())},hD.takeFullSnapshot=t=>{if(!hN)throw Error("please take full snapshot after start recording");hA(t)},hD.mirror=hj;var hF,hB=((g=hB||{})[g.DomContentLoaded=0]="DomContentLoaded",g[g.Load=1]="Load",g[g.FullSnapshot=2]="FullSnapshot",g[g.IncrementalSnapshot=3]="IncrementalSnapshot",g[g.Meta=4]="Meta",g[g.Custom=5]="Custom",g[g.Plugin=6]="Plugin",g),h$=((y=h$||{})[y.Mutation=0]="Mutation",y[y.MouseMove=1]="MouseMove",y[y.MouseInteraction=2]="MouseInteraction",y[y.Scroll=3]="Scroll",y[y.ViewportResize=4]="ViewportResize",y[y.Input=5]="Input",y[y.TouchMove=6]="TouchMove",y[y.MediaInteraction=7]="MediaInteraction",y[y.StyleSheetRule=8]="StyleSheetRule",y[y.CanvasMutation=9]="CanvasMutation",y[y.Font=10]="Font",y[y.Log=11]="Log",y[y.Drag=12]="Drag",y[y.StyleDeclaration=13]="StyleDeclaration",y[y.Selection=14]="Selection",y[y.AdoptedStyleSheet=15]="AdoptedStyleSheet",y[y.CustomElement=16]="CustomElement",y),hU={DEBUG:!1,LIB_VERSION:"2.55.1"};if("undefined"==typeof window){var hz={hostname:""};hF={navigator:{userAgent:"",onLine:!0},document:{location:hz,referrer:""},screen:{width:0,height:0},location:hz}}else hF=window;var hq,hZ=Array.prototype,hH=Function.prototype,hV=Object.prototype,hW=hZ.slice,hG=hV.toString,hK=hV.hasOwnProperty,hX=hF.console,hY=hF.navigator,hJ=hF.document,hQ=hF.opera,h0=hF.screen,h1=hY.userAgent,h2=hH.bind,h5=hZ.forEach,h3=hZ.indexOf,h6=hZ.map,h4=Array.isArray,h8={},h7={trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},h9={log:function(){if(hU.DEBUG&&!h7.isUndefined(hX)&&hX)try{hX.log.apply(hX,arguments)}catch(t){h7.each(arguments,function(t){hX.log(t)})}},warn:function(){if(hU.DEBUG&&!h7.isUndefined(hX)&&hX){var t=["Mixpanel warning:"].concat(h7.toArray(arguments));try{hX.warn.apply(hX,t)}catch(r){h7.each(t,function(t){hX.warn(t)})}}},error:function(){if(hU.DEBUG&&!h7.isUndefined(hX)&&hX){var t=["Mixpanel error:"].concat(h7.toArray(arguments));try{hX.error.apply(hX,t)}catch(r){h7.each(t,function(t){hX.error(t)})}}},critical:function(){if(!h7.isUndefined(hX)&&hX){var t=["Mixpanel error:"].concat(h7.toArray(arguments));try{hX.error.apply(hX,t)}catch(r){h7.each(t,function(t){hX.error(t)})}}}},me=function(t,r){return function(){return arguments[0]="["+r+"] "+arguments[0],t.apply(h9,arguments)}},mt=function(t){return{log:me(h9.log,t),error:me(h9.error,t),critical:me(h9.critical,t)}};h7.bind=function(t,r){var n,i;if(h2&&t.bind===h2)return h2.apply(t,hW.call(arguments,1));if(!h7.isFunction(t))throw TypeError();return n=hW.call(arguments,2),i=function(){if(!(this instanceof i))return t.apply(r,n.concat(hW.call(arguments)));var o={};o.prototype=t.prototype;var a=new o;o.prototype=null;var s=t.apply(a,n.concat(hW.call(arguments)));return Object(s)===s?s:a}},h7.each=function(t,r,n){if(null!=t){if(h5&&t.forEach===h5)t.forEach(r,n);else if(t.length===+t.length){for(var i=0,o=t.length;i<o;i++)if(i in t&&r.call(n,t[i],i,t)===h8)return}else for(var a in t)if(hK.call(t,a)&&r.call(n,t[a],a,t)===h8)return}},h7.extend=function(t){return h7.each(hW.call(arguments,1),function(r){for(var n in r)void 0!==r[n]&&(t[n]=r[n])}),t},h7.isArray=h4||function(t){return"[object Array]"===hG.call(t)},h7.isFunction=function(t){try{return/^\s*\bfunction\b/.test(t)}catch(t){return!1}},h7.isArguments=function(t){return!(!t||!hK.call(t,"callee"))},h7.toArray=function(t){return t?t.toArray?t.toArray():h7.isArray(t)||h7.isArguments(t)?hW.call(t):h7.values(t):[]},h7.map=function(t,r,n){if(h6&&t.map===h6)return t.map(r,n);var i=[];return h7.each(t,function(t){i.push(r.call(n,t))}),i},h7.keys=function(t){var r=[];return null===t||h7.each(t,function(t,n){r[r.length]=n}),r},h7.values=function(t){var r=[];return null===t||h7.each(t,function(t){r[r.length]=t}),r},h7.include=function(t,r){var n=!1;return null===t?n:h3&&t.indexOf===h3?-1!=t.indexOf(r):(h7.each(t,function(t){if(n||(n=t===r))return h8}),n)},h7.includes=function(t,r){return -1!==t.indexOf(r)},h7.inherit=function(t,r){return t.prototype=new r,t.prototype.constructor=t,t.superclass=r.prototype,t},h7.isObject=function(t){return t===Object(t)&&!h7.isArray(t)},h7.isEmptyObject=function(t){if(h7.isObject(t)){for(var r in t)if(hK.call(t,r))return!1;return!0}return!1},h7.isUndefined=function(t){return void 0===t},h7.isString=function(t){return"[object String]"==hG.call(t)},h7.isDate=function(t){return"[object Date]"==hG.call(t)},h7.isNumber=function(t){return"[object Number]"==hG.call(t)},h7.isElement=function(t){return!(!t||1!==t.nodeType)},h7.encodeDates=function(t){return h7.each(t,function(r,n){h7.isDate(r)?t[n]=h7.formatDate(r):h7.isObject(r)&&(t[n]=h7.encodeDates(r))}),t},h7.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},h7.formatDate=function(t){function r(t){return t<10?"0"+t:t}return t.getUTCFullYear()+"-"+r(t.getUTCMonth()+1)+"-"+r(t.getUTCDate())+"T"+r(t.getUTCHours())+":"+r(t.getUTCMinutes())+":"+r(t.getUTCSeconds())},h7.strip_empty_properties=function(t){var r={};return h7.each(t,function(t,n){h7.isString(t)&&t.length>0&&(r[n]=t)}),r},h7.truncate=function(t,r){var n;return"string"==typeof t?n=t.slice(0,r):h7.isArray(t)?(n=[],h7.each(t,function(t){n.push(h7.truncate(t,r))})):h7.isObject(t)?(n={},h7.each(t,function(t,i){n[i]=h7.truncate(t,r)})):n=t,n},h7.JSONEncode=function(t){var r=function(t){var r=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n={"\b":"\\b","	":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return r.lastIndex=0,r.test(t)?'"'+t.replace(r,function(t){var r=n[t];return"string"==typeof r?r:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'},n=function(t,i){var o="",a=0,s="",l="",u=0,c=o,d=[],f=i[t];switch(f&&"object"==typeof f&&"function"==typeof f.toJSON&&(f=f.toJSON(t)),typeof f){case"string":return r(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":return String(f);case"object":if(!f)return"null";if(o+="    ",d=[],"[object Array]"===hG.apply(f)){for(u=f.length,a=0;a<u;a+=1)d[a]=n(a,f)||"null";return l=0===d.length?"[]":o?"[\n"+o+d.join(",\n"+o)+"\n"+c+"]":"["+d.join(",")+"]",o=c,l}for(s in f)hK.call(f,s)&&(l=n(s,f))&&d.push(r(s)+(o?": ":":")+l);return l=0===d.length?"{}":o?"{"+d.join(",")+c+"}":"{"+d.join(",")+"}",o=c,l}};return n("",{"":t})},m5={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"	"},m3=function(t){var r=SyntaxError(t);throw r.at=mQ,r.text=m1,r},m6=function(t){return t&&t!==m0&&m3("Expected '"+t+"' instead of '"+m0+"'"),m0=m1.charAt(mQ),mQ+=1,m0},m4=function(){var t,r="";for("-"===m0&&(r="-",m6("-"));m0>="0"&&m0<="9";)r+=m0,m6();if("."===m0)for(r+=".";m6()&&m0>="0"&&m0<="9";)r+=m0;if("e"===m0||"E"===m0)for(r+=m0,m6(),"-"!==m0&&"+"!==m0||(r+=m0,m6());m0>="0"&&m0<="9";)r+=m0,m6();if(isFinite(t=+r))return t;m3("Bad number")},m8=function(){var t,r,n,i="";if('"'===m0)for(;m6();){if('"'===m0)return m6(),i;if("\\"===m0)if(m6(),"u"===m0){for(n=0,r=0;r<4&&isFinite(t=parseInt(m6(),16));r+=1)n=16*n+t;i+=String.fromCharCode(n)}else{if("string"!=typeof m5[m0])break;i+=m5[m0]}else i+=m0}m3("Bad string")},m7=function(){for(;m0&&m0<=" ";)m6()},m2=function(){switch(m7(),m0){case"{":var t,r={};if("{"===m0){if(m6("{"),m7(),"}"===m0)return m6("}"),r;for(;m0;){if(t=m8(),m7(),m6(":"),Object.hasOwnProperty.call(r,t)&&m3('Duplicate key "'+t+'"'),r[t]=m2(),m7(),"}"===m0)return m6("}"),r;m6(","),m7()}}m3("Bad object");return;case"[":var n=[];if("["===m0){if(m6("["),m7(),"]"===m0)return m6("]"),n;for(;m0;){if(n.push(m2()),m7(),"]"===m0)return m6("]"),n;m6(","),m7()}}m3("Bad array");return;case'"':return m8();case"-":return m4();default:return m0>="0"&&m0<="9"?m4():function(){switch(m0){case"t":return m6("t"),m6("r"),m6("u"),m6("e"),!0;case"f":return m6("f"),m6("a"),m6("l"),m6("s"),m6("e"),!1;case"n":return m6("n"),m6("u"),m6("l"),m6("l"),null}m3('Unexpected "'+m0+'"')}()}},h7.JSONDecode=function(t){var r;return m1=t,mQ=0,m0=" ",r=m2(),m7(),m0&&m3("Syntax error"),r},h7.base64Encode=function(t){var r,n,i,o,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l=0,u=0,c="",d=[];if(!t)return t;t=h7.utf8Encode(t);do r=(a=t.charCodeAt(l++)<<16|t.charCodeAt(l++)<<8|t.charCodeAt(l++))>>18&63,n=a>>12&63,i=a>>6&63,o=63&a,d[u++]=s.charAt(r)+s.charAt(n)+s.charAt(i)+s.charAt(o);while(l<t.length);switch(c=d.join(""),t.length%3){case 1:c=c.slice(0,-2)+"==";break;case 2:c=c.slice(0,-1)+"="}return c},h7.utf8Encode=function(t){var r,n,i,o,a="";for(r=n=0,i=(t=(t+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,o=0;o<i;o++){var s=t.charCodeAt(o),l=null;s<128?n++:l=s>127&&s<2048?String.fromCharCode(s>>6|192,63&s|128):String.fromCharCode(s>>12|224,s>>6&63|128,63&s|128),null!==l&&(n>r&&(a+=t.substring(r,n)),a+=l,r=n=o+1)}return n>r&&(a+=t.substring(r,t.length)),a},hq=function(){var t,r=+new Date;if(hF.performance&&hF.performance.now)t=hF.performance.now();else for(t=0;r==+new Date;)t++;return r.toString(16)+Math.floor(t).toString(16)},h7.UUID=function(){var t=(h0.height*h0.width).toString(16);return hq()+"-"+Math.random().toString(16).replace(".","")+"-"+function(){var t,r,n=[],i=0;function o(t,r){var i,o=0;for(i=0;i<r.length;i++)o|=n[i]<<8*i;return t^o}for(t=0;t<h1.length;t++)r=h1.charCodeAt(t),n.unshift(255&r),n.length>=4&&(i=o(i,n),n=[]);return n.length>0&&(i=o(i,n)),i.toString(16)}()+"-"+t+"-"+hq()};var mr=["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"];h7.isBlockedUA=function(t){var r;for(t=t.toLowerCase(),r=0;r<mr.length;r++)if(-1!==t.indexOf(mr[r]))return!0;return!1},h7.HTTPBuildQuery=function(t,r){var n,i,o=[];return h7.isUndefined(r)&&(r="&"),h7.each(t,function(t,r){n=encodeURIComponent(t.toString()),i=encodeURIComponent(r),o[o.length]=i+"="+n}),o.join(r)},h7.getQueryParam=function(t,r){var n=RegExp("[\\?&]"+(r=r.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]"))+"=([^&#]*)").exec(t);if(null===n||n&&"string"!=typeof n[1]&&n[1].length)return"";var i=n[1];try{i=decodeURIComponent(i)}catch(t){h9.error("Skipping decoding for malformed query param: "+i)}return i.replace(/\+/g," ")},h7.cookie={get:function(t){for(var r=t+"=",n=hJ.cookie.split(";"),i=0;i<n.length;i++){for(var o=n[i];" "==o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(r))return decodeURIComponent(o.substring(r.length,o.length))}return null},parse:function(t){var r;try{r=h7.JSONDecode(h7.cookie.get(t))||{}}catch(t){}return r},set_seconds:function(t,r,n,i,o,a,s){var l="",u="",c="";if(s)l="; domain="+s;else if(i){var d=md(hJ.location.hostname);l=d?"; domain=."+d:""}if(n){var f=new Date;f.setTime(f.getTime()+1e3*n),u="; expires="+f.toGMTString()}a&&(o=!0,c="; SameSite=None"),o&&(c+="; secure"),hJ.cookie=t+"="+encodeURIComponent(r)+u+"; path=/"+l+c},set:function(t,r,n,i,o,a,s){var l="",u="",c="";if(s)l="; domain="+s;else if(i){var d=md(hJ.location.hostname);l=d?"; domain=."+d:""}if(n){var f=new Date;f.setTime(f.getTime()+24*n*36e5),u="; expires="+f.toGMTString()}a&&(o=!0,c="; SameSite=None"),o&&(c+="; secure");var h=t+"="+encodeURIComponent(r)+u+"; path=/"+l+c;return hJ.cookie=h,h},remove:function(t,r,n){h7.cookie.set(t,"",-1,r,!1,!1,n)}};var mn=null,mi=function(t,r){if(null!==mn&&!r)return mn;var n=!0;try{t=t||window.localStorage;var i="__mplss_"+ml(8);t.setItem(i,"xyz"),"xyz"!==t.getItem(i)&&(n=!1),t.removeItem(i)}catch(t){n=!1}return mn=n,n};h7.localStorage={is_supported:function(t){var r=mi(null,t);return r||h9.error("localStorage unsupported; falling back to cookie store"),r},error:function(t){h9.error("localStorage error: "+t)},get:function(t){try{return window.localStorage.getItem(t)}catch(t){h7.localStorage.error(t)}return null},parse:function(t){try{return h7.JSONDecode(h7.localStorage.get(t))||{}}catch(t){}return null},set:function(t,r){try{window.localStorage.setItem(t,r)}catch(t){h7.localStorage.error(t)}},remove:function(t){try{window.localStorage.removeItem(t)}catch(t){h7.localStorage.error(t)}}},h7.register_event=function(){function t(r){return r&&(r.preventDefault=t.preventDefault,r.stopPropagation=t.stopPropagation),r}return t.preventDefault=function(){this.returnValue=!1},t.stopPropagation=function(){this.cancelBubble=!0},function(r,n,i,o,a){if(r)if(r.addEventListener&&!o)r.addEventListener(n,i,!!a);else{var s="on"+n,l=r[s];r[s]=function(n){if(n=n||t(window.event)){var o,a,s=!0;return h7.isFunction(l)&&(o=l(n)),a=i.call(r,n),!1!==o&&!1!==a||(s=!1),s}}}else h9.error("No valid element provided to register_event")}}();var mo=RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');h7.dom_query=function(){function t(t){return t.all?t.all:t.getElementsByTagName("*")}var r=/[\t\r\n]/g;function n(n){if(!hJ.getElementsByTagName)return[];var i,o,a,s,l,u,c,d,f,h,m=n.split(" "),g=[hJ];for(u=0;u<m.length;u++)if((i=m[u].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){a=(o=i.split("#"))[0];var y=o[1],v=hJ.getElementById(y);if(!v||a&&v.nodeName.toLowerCase()!=a)return[];g=[v]}else if(i.indexOf(".")>-1){a=(o=i.split("."))[0];var b,_=o[1];for(a||(a="*"),s=[],l=0,c=0;c<g.length;c++)for(f="*"==a?t(g[c]):g[c].getElementsByTagName(a),d=0;d<f.length;d++)s[l++]=f[d];for(g=[],h=0,c=0;c<s.length;c++)s[c].className&&h7.isString(s[c].className)&&(b=s[c],(" "+b.className+" ").replace(r," ").indexOf(" "+_+" ")>=0)&&(g[h++]=s[c])}else{var w=i.match(mo);if(w){a=w[1];var S,x=w[2],E=w[3],k=w[4];for(a||(a="*"),s=[],l=0,c=0;c<g.length;c++)for(f="*"==a?t(g[c]):g[c].getElementsByTagName(a),d=0;d<f.length;d++)s[l++]=f[d];switch(g=[],h=0,E){case"=":S=function(t){return t.getAttribute(x)==k};break;case"~":S=function(t){return t.getAttribute(x).match(RegExp("\\b"+k+"\\b"))};break;case"|":S=function(t){return t.getAttribute(x).match(RegExp("^"+k+"-?"))};break;case"^":S=function(t){return 0===t.getAttribute(x).indexOf(k)};break;case"$":S=function(t){return t.getAttribute(x).lastIndexOf(k)==t.getAttribute(x).length-k.length};break;case"*":S=function(t){return t.getAttribute(x).indexOf(k)>-1};break;default:S=function(t){return t.getAttribute(x)}}for(g=[],h=0,c=0;c<s.length;c++)S(s[c])&&(g[h++]=s[c])}else{for(a=i,s=[],l=0,c=0;c<g.length;c++)for(f=g[c].getElementsByTagName(a),d=0;d<f.length;d++)s[l++]=f[d];g=s}}return g}return function(t){return h7.isElement(t)?[t]:h7.isObject(t)&&!h7.isUndefined(t.length)?t:n.call(this,t)}}();var ma=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],ms=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];h7.info={campaignParams:function(t){var r="",n={};return h7.each(ma,function(i){(r=h7.getQueryParam(hJ.URL,i)).length?n[i]=r:void 0!==t&&(n[i]=t)}),n},clickParams:function(){var t="",r={};return h7.each(ms,function(n){(t=h7.getQueryParam(hJ.URL,n)).length&&(r[n]=t)}),r},marketingParams:function(){return h7.extend(h7.info.campaignParams(),h7.info.clickParams())},searchEngine:function(t){return 0===t.search("https?://(.*)google.([^/?]*)")?"google":0===t.search("https?://(.*)bing.com")?"bing":0===t.search("https?://(.*)yahoo.com")?"yahoo":0===t.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(t){var r=h7.info.searchEngine(t),n={};if(null!==r){n.$search_engine=r;var i=h7.getQueryParam(t,"yahoo"!=r?"q":"p");i.length&&(n.mp_keyword=i)}return n},browser:function(t,r,n){return r=r||"",n||h7.includes(t," OPR/")?h7.includes(t,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":h7.includes(t,"IEMobile")||h7.includes(t,"WPDesktop")?"Internet Explorer Mobile":h7.includes(t,"SamsungBrowser/")?"Samsung Internet":h7.includes(t,"Edge")||h7.includes(t,"Edg/")?"Microsoft Edge":h7.includes(t,"FBIOS")?"Facebook Mobile":h7.includes(t,"Chrome")?"Chrome":h7.includes(t,"CriOS")?"Chrome iOS":h7.includes(t,"UCWEB")||h7.includes(t,"UCBrowser")?"UC Browser":h7.includes(t,"FxiOS")?"Firefox iOS":h7.includes(r,"Apple")?h7.includes(t,"Mobile")?"Mobile Safari":"Safari":h7.includes(t,"Android")?"Android Mobile":h7.includes(t,"Konqueror")?"Konqueror":h7.includes(t,"Firefox")?"Firefox":h7.includes(t,"MSIE")||h7.includes(t,"Trident/")?"Internet Explorer":h7.includes(t,"Gecko")?"Mozilla":""},browserVersion:function(t,r,n){var i={"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+)?)/}[h7.info.browser(t,r,n)];if(void 0===i)return null;var o=t.match(i);return o?parseFloat(o[o.length-2]):null},os:function(){return/Windows/i.test(h1)?/Phone/.test(h1)||/WPDesktop/.test(h1)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(h1)?"iOS":/Android/.test(h1)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(h1)?"BlackBerry":/Mac/i.test(h1)?"Mac OS X":/Linux/.test(h1)?"Linux":/CrOS/.test(h1)?"Chrome OS":""},device:function(t){return/Windows Phone/i.test(t)||/WPDesktop/.test(t)?"Windows Phone":/iPad/.test(t)?"iPad":/iPod/.test(t)?"iPod Touch":/iPhone/.test(t)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Android/.test(t)?"Android":""},referringDomain:function(t){var r=t.split("/");return r.length>=3?r[2]:""},currentUrl:function(){return hF.location.href},properties:function(t){return"object"!=typeof t&&(t={}),h7.extend(h7.strip_empty_properties({$os:h7.info.os(),$browser:h7.info.browser(h1,hY.vendor,hQ),$referrer:hJ.referrer,$referring_domain:h7.info.referringDomain(hJ.referrer),$device:h7.info.device(h1)}),{$current_url:h7.info.currentUrl(),$browser_version:h7.info.browserVersion(h1,hY.vendor,hQ),$screen_height:h0.height,$screen_width:h0.width,mp_lib:"web",$lib_version:hU.LIB_VERSION,$insert_id:ml(),time:h7.timestamp()/1e3},h7.strip_empty_properties(t))},people_properties:function(){return h7.extend(h7.strip_empty_properties({$os:h7.info.os(),$browser:h7.info.browser(h1,hY.vendor,hQ)}),{$browser_version:h7.info.browserVersion(h1,hY.vendor,hQ)})},mpPageViewProperties:function(){return h7.strip_empty_properties({current_page_title:hJ.title,current_domain:hF.location.hostname,current_url_path:hF.location.pathname,current_url_protocol:hF.location.protocol,current_url_search:hF.location.search})}};var ml=function(t){var r=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return t?r.substring(0,t):r},mu=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,mc=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,md=function(t){var r=mc,n=t.split("."),i=n[n.length-1];(i.length>4||"com"===i||"org"===i)&&(r=mu);var o=t.match(r);return o?o[0]:""},mp=null,mf=null;function mh(t,r){mk(!0,t,r)}function mm(t,r){mk(!1,t,r)}function mg(t,r){return"1"===mE(t,r)}function my(t,r){if(function(t){if(t&&t.ignoreDnt)return!1;var r=t&&t.window||hF,n=r.navigator||{},i=!1;return h7.each([n.doNotTrack,n.msDoNotTrack,r.doNotTrack],function(t){h7.includes([!0,1,"1","yes"],t)&&(i=!0)}),i}(r))return h9.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 n="0"===mE(t,r);return n&&h9.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),n}function mv(t){return mC(t,function(t){return this.get_config(t)})}function mb(t){return mC(t,function(t){return this._get_config(t)})}function m_(t){return mC(t,function(t){return this._get_config(t)})}function mw(t,r){mS(r=r||{}).remove(mx(t,r),!!r.crossSubdomainCookie,r.cookieDomain)}function mS(t){return"localStorage"===(t=t||{}).persistenceType?h7.localStorage:h7.cookie}function mx(t,r){return((r=r||{}).persistencePrefix||"__mp_opt_in_out_")+t}function mE(t,r){return mS(r).get(mx(t,r))}function mk(t,r,n){h7.isString(r)&&r.length?(mS(n=n||{}).set(mx(r,n),+!!t,h7.isNumber(n.cookieExpiration)?n.cookieExpiration:null,!!n.crossSubdomainCookie,!!n.secureCookie,!!n.crossSiteCookie,n.cookieDomain),n.track&&t&&n.track(n.trackEventName||"$opt_in",n.trackProperties,{send_immediately:!0})):h9.error("gdpr."+(t?"optIn":"optOut")+" called with an invalid token")}function mC(t,r){return function(){var n=!1;try{var i=r.call(this,"token"),o=r.call(this,"ignore_dnt"),a=r.call(this,"opt_out_tracking_persistence_type"),s=r.call(this,"opt_out_tracking_cookie_prefix"),l=r.call(this,"window");i&&(n=my(i,{ignoreDnt:o,persistenceType:a,persistencePrefix:s,window:l}))}catch(t){h9.error("Unexpected error when checking tracking opt-out status: "+t)}if(!n)return t.apply(this,arguments);var u=arguments[arguments.length-1];"function"==typeof u&&u(0)}}"undefined"!=typeof JSON&&(mp=JSON.stringify,mf=JSON.parse),mp=mp||h7.JSONEncode,mf=mf||h7.JSONDecode,h7.toArray=h7.toArray,h7.isObject=h7.isObject,h7.JSONEncode=h7.JSONEncode,h7.JSONDecode=h7.JSONDecode,h7.isBlockedUA=h7.isBlockedUA,h7.isEmptyObject=h7.isEmptyObject,h7.info=h7.info,h7.info.device=h7.info.device,h7.info.browser=h7.info.browser,h7.info.browserVersion=h7.info.browserVersion,h7.info.properties=h7.info.properties;var mO=mt("lock"),mR=function(t,r){r=r||{},this.storageKey=t,this.storage=r.storage||window.localStorage,this.pollIntervalMS=r.pollIntervalMS||100,this.timeoutMS=r.timeoutMS||2e3};mR.prototype.withLock=function(t,r,n){n||"function"==typeof r||(n=r,r=null);var i=n||(new Date).getTime()+"|"+Math.random(),o=(new Date).getTime(),a=this.storageKey,s=this.pollIntervalMS,l=this.timeoutMS,u=this.storage,c=a+":X",d=a+":Y",f=a+":Z",h=function(t){r&&r(t)},m=function(t){if((new Date).getTime()-o>l)return mO.error("Timeout waiting for mutex on "+a+"; clearing lock. ["+i+"]"),u.removeItem(f),u.removeItem(d),void v();setTimeout(function(){try{t()}catch(t){h(t)}},s*(Math.random()+.1))},g=function(t,r){t()?r():m(function(){g(t,r)})},y=function(){var t=u.getItem(d);if(t&&t!==i)return!1;if(u.setItem(d,i),u.getItem(d)===i)return!0;if(!mi(u,!0))throw Error("localStorage support dropped while acquiring lock");return!1},v=function(){u.setItem(c,i),g(y,function(){u.getItem(c)!==i?m(function(){u.getItem(d)===i?g(function(){return!u.getItem(f)},b):v()}):b()})},b=function(){u.setItem(f,"1");try{t()}finally{u.removeItem(f),u.getItem(d)===i&&u.removeItem(d),u.getItem(c)===i&&u.removeItem(c)}};try{if(!mi(u,!0))throw Error("localStorage support check failed");v()}catch(t){h(t)}};var mT=mt("batch"),mP=function(t,r){r=r||{},this.storageKey=t,this.storage=r.storage||window.localStorage,this.reportError=r.errorReporter||h7.bind(mT.error,mT),this.lock=new mR(t,{storage:this.storage}),this.usePersistence=r.usePersistence,this.pid=r.pid||null,this.memQueue=[]};mP.prototype.enqueue=function(t,r,n){var i={id:ml(),flushAfter:(new Date).getTime()+2*r,payload:t};this.usePersistence?this.lock.withLock(h7.bind(function(){var r;try{var o=this.readFromStorage();o.push(i),(r=this.saveToStorage(o))&&this.memQueue.push(i)}catch(n){this.reportError("Error enqueueing item",t),r=!1}n&&n(r)},this),h7.bind(function(t){this.reportError("Error acquiring storage lock",t),n&&n(!1)},this),this.pid):(this.memQueue.push(i),n&&n(!0))},mP.prototype.fillBatch=function(t){var r=this.memQueue.slice(0,t);if(this.usePersistence&&r.length<t){var n=this.readFromStorage();if(n.length){var i={};h7.each(r,function(t){i[t.id]=!0});for(var o=0;o<n.length;o++){var a=n[o];if((new Date).getTime()>a.flushAfter&&!i[a.id]&&(a.orphaned=!0,r.push(a),r.length>=t))break}}}return r};var mM=function(t,r){var n=[];return h7.each(t,function(t){t.id&&!r[t.id]&&n.push(t)}),n};mP.prototype.removeItemsByID=function(t,r){var n={};if(h7.each(t,function(t){n[t]=!0}),this.memQueue=mM(this.memQueue,n),this.usePersistence){var i=h7.bind(function(){var r;try{var i=this.readFromStorage();if(i=mM(i,n),r=this.saveToStorage(i)){i=this.readFromStorage();for(var o=0;o<i.length;o++){var a=i[o];if(a.id&&n[a.id])return this.reportError("Item not removed from storage"),!1}}}catch(n){this.reportError("Error removing items",t),r=!1}return r},this);this.lock.withLock(function(){var t=i();r&&r(t)},h7.bind(function(t){var n=!1;if(this.reportError("Error acquiring storage lock",t),!mi(this.storage,!0)&&!(n=i()))try{this.storage.removeItem(this.storageKey)}catch(t){this.reportError("Error clearing queue",t)}r&&r(n)},this),this.pid)}else r&&r(!0)};var mI=function(t,r){var n=[];return h7.each(t,function(t){var i=t.id;if(i in r){var o=r[i];null!==o&&(t.payload=o,n.push(t))}else n.push(t)}),n};mP.prototype.updatePayloads=function(t,r){this.memQueue=mI(this.memQueue,t),this.usePersistence?this.lock.withLock(h7.bind(function(){var n;try{var i=this.readFromStorage();i=mI(i,t),n=this.saveToStorage(i)}catch(r){this.reportError("Error updating items",t),n=!1}r&&r(n)},this),h7.bind(function(t){this.reportError("Error acquiring storage lock",t),r&&r(!1)},this),this.pid):r&&r(!0)},mP.prototype.readFromStorage=function(){var t;try{(t=this.storage.getItem(this.storageKey))&&(t=mf(t),h7.isArray(t)||(this.reportError("Invalid storage entry:",t),t=null))}catch(r){this.reportError("Error retrieving queue",r),t=null}return t||[]},mP.prototype.saveToStorage=function(t){try{return this.storage.setItem(this.storageKey,mp(t)),!0}catch(t){return this.reportError("Error saving queue",t),!1}},mP.prototype.clear=function(){this.memQueue=[],this.usePersistence&&this.storage.removeItem(this.storageKey)};var mA=mt("batch"),mL=function(t,r){this.errorReporter=r.errorReporter,this.queue=new mP(t,{errorReporter:h7.bind(this.reportError,this),storage:r.storage,usePersistence:r.usePersistence}),this.libConfig=r.libConfig,this.sendRequest=r.sendRequestFunc,this.beforeSendHook=r.beforeSendHook,this.stopAllBatching=r.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=r.flushOnlyOnInterval||!1};mL.prototype.enqueue=function(t,r){this.queue.enqueue(t,this.flushInterval,r)},mL.prototype.start=function(){this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},mL.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},mL.prototype.clear=function(){this.queue.clear()},mL.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},mL.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},mL.prototype.scheduleFlush=function(t){this.flushInterval=t,this.stopped||(this.timeoutID=setTimeout(h7.bind(function(){this.stopped||this.flush()},this),this.flushInterval))},mL.prototype.flush=function(t){try{if(this.requestInProgress)return void mA.log("Flush: Request already in progress");t=t||{};var r=this.libConfig.batch_request_timeout_ms,n=(new Date).getTime(),i=this.batchSize,o=this.queue.fillBatch(i),a=o.length===i,s=[],l={};if(h7.each(o,function(t){var r=t.payload;if(this.beforeSendHook&&!t.orphaned&&(r=this.beforeSendHook(r)),r){r.event&&r.properties&&(r.properties=h7.extend({},r.properties,{mp_sent_by_lib_version:hU.LIB_VERSION}));var n=!0,i=t.id;i?(this.itemIdsSentSuccessfully[i]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:t,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[i]}),n=!1):this.reportError("[dupe] found item with no ID",{item:t}),n&&s.push(r)}l[t.id]=r},this),s.length<1)return void this.resetFlush();this.requestInProgress=!0;var u=h7.bind(function(s){this.requestInProgress=!1;try{var u,c=!1;if(t.unloading)this.queue.updatePayloads(l);else if(h7.isObject(s)&&"timeout"===s.error&&(new Date).getTime()-n>=r)this.reportError("Network timeout; retrying"),this.flush();else if(h7.isObject(s)&&(s.httpStatusCode>=500||429===s.httpStatusCode||s.httpStatusCode<=0&&(u=hF.navigator.onLine,!h7.isUndefined(u)&&!u)||"timeout"===s.error)){var d=2*this.flushInterval;s.retryAfter&&(d=1e3*parseInt(s.retryAfter,10)||d),d=Math.min(6e5,d),this.reportError("Error; retry in "+d+" ms"),this.scheduleFlush(d)}else if(h7.isObject(s)&&413===s.httpStatusCode)if(o.length>1){var f=Math.max(1,Math.floor(i/2));this.batchSize=Math.min(this.batchSize,f,o.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush()}else this.reportError("Single-event request too large; dropping",o),this.resetBatchSize(),c=!0;else c=!0;c&&(this.queue.removeItemsByID(h7.map(o,function(t){return t.id}),h7.bind(function(t){t?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!a?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)),h7.each(o,h7.bind(function(t){var r=t.id;r?(this.itemIdsSentSuccessfully[r]=this.itemIdsSentSuccessfully[r]||0,this.itemIdsSentSuccessfully[r]++,this.itemIdsSentSuccessfully[r]>5&&this.reportError("[dupe] item ID sent too many times",{item:t,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[r]})):this.reportError("[dupe] found item with no ID while removing",{item:t})},this)))}catch(t){this.reportError("Error handling API response",t),this.resetFlush()}},this),c={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:r};t.unloading&&(c.transport="sendBeacon"),mA.log("MIXPANEL REQUEST:",s),this.sendRequest(s,c,u)}catch(t){this.reportError("Error flushing request queue",t),this.resetFlush()}},mL.prototype.reportError=function(t,r){if(mA.error.apply(mA.error,arguments),this.errorReporter)try{r instanceof Error||(r=Error(t)),this.errorReporter(t,r)}catch(t){mA.error(t)}};var mN=mt("recorder"),mj=hF.CompressionStream,mD={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},mF=new Set([h$.MouseMove,h$.MouseInteraction,h$.Scroll,h$.ViewportResize,h$.Input,h$.TouchMove,h$.MediaInteraction,h$.Drag,h$.Selection]),mB=function(t){this._mixpanel=t,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=864e5,this.recordMinMs=0,this._initBatcher()};mB.prototype._initBatcher=function(){this.batcher=new mL("__mprec",{libConfig:mD,sendRequestFunc:h7.bind(this.flushEventsWithOptOut,this),errorReporter:h7.bind(this.reportError,this),flushOnlyOnInterval:!0,usePersistence:!1})},mB.prototype.get_config=function(t){return this._mixpanel.get_config(t)},mB.prototype.startRecording=function(t){if(null===this._stopRecording){this.recordMaxMs=this.get_config("record_max_ms"),this.recordMaxMs>864e5&&(this.recordMaxMs=864e5,mN.critical("record_max_ms cannot be greater than 86400000ms. Capping value.")),this.recordMinMs=this.get_config("record_min_ms"),this.recordMinMs>8e3&&(this.recordMinMs=8e3,mN.critical("record_min_ms cannot be greater than 8000ms. Capping value.")),this.recEvents=[],this.seqNo=0,this.replayStartTime=(new Date).getTime(),this.replayId=h7.UUID(),t||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var r=h7.bind(function(){clearTimeout(this.idleTimeoutId),this.idleTimeoutId=setTimeout(h7.bind(function(){mN.log("Idle timeout reached, restarting recording."),this.resetRecording()},this),this.get_config("record_idle_timeout_ms"))},this),n=this.get_config("record_block_selector");""!==n&&null!==n||(n=void 0),this._stopRecording=hD({emit:h7.bind(function(t){this.batcher.enqueue(t),t.type===hB.IncrementalSnapshot&&mF.has(t.data.source)&&(this.batcher.stopped&&(new Date).getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),r())},this),blockClass:this.get_config("record_block_class"),blockSelector:n,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")}),r(),this.maxTimeoutId=setTimeout(h7.bind(this.resetRecording,this),this.recordMaxMs)}else mN.log("Recording already in progress, skipping startRecording.")},mB.prototype.resetRecording=function(){this.stopRecording(),this.startRecording(!0)},mB.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)},mB.prototype.flushEventsWithOptOut=function(t,r,n){this._flushEvents(t,r,n,h7.bind(this._onOptOut,this))},mB.prototype._onOptOut=function(t){0===t&&(this.recEvents=[],this.stopRecording())},mB.prototype._sendRequest=function(t,r,n,i){var o=h7.bind(function(r,n){200===r.status&&this.replayId===t&&this.seqNo++,i({status:0,httpStatusCode:r.status,responseBody:n,retryAfter:r.headers.get("Retry-After")})},this);hF.fetch(this.get_config("api_host")+"/"+this.get_config("api_routes").record+"?"+new URLSearchParams(r),{method:"POST",headers:{Authorization:"Basic "+btoa(this.get_config("token")+":"),"Content-Type":"application/octet-stream"},body:n}).then(function(t){t.json().then(function(r){o(t,r)}).catch(function(t){i({error:t})})}).catch(function(t){i({error:t,httpStatusCode:0})})},mB.prototype._flushEvents=mv(function(t,r,n){let i=t.length;if(i>0){var o=this.replayId,a=t[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=a);var s=t[i-1].timestamp-this.replayStartTime,l={distinct_id:String(this._mixpanel.get_distinct_id()),seq:this.seqNo,batch_start_time:a/1e3,replay_id:o,replay_length_ms:s,replay_start_time:this.replayStartTime/1e3},u=h7.JSONEncode(t),c=this._mixpanel.get_property("$device_id");c&&(l.$device_id=c);var d=this._mixpanel.get_property("$user_id");(d&&(l.$user_id=d),mj)?new Response(new Blob([u],{type:"application/json"}).stream().pipeThrough(new mj("gzip"))).blob().then(h7.bind(function(t){l.format="gzip",this._sendRequest(o,l,t,n)},this)):(l.format="body",this._sendRequest(o,l,u,n))}}),mB.prototype.reportError=function(t,r){mN.error.apply(mN.error,arguments);try{r||t instanceof Error||(t=Error(t)),this.get_config("error_reporter")(t,r)}catch(t){mN.error(t)}},hF.__mp_recorder=mB;var m$=function(){};m$.prototype.create_properties=function(){},m$.prototype.event_handler=function(){},m$.prototype.after_track_handler=function(){},m$.prototype.init=function(t){return this.mp=t,this},m$.prototype.track=function(t,r,n,i){var o=this,a=h7.dom_query(t);if(0!==a.length)return h7.each(a,function(t){h7.register_event(t,this.override_event,function(t){var a={},s=o.create_properties(n,this),l=o.mp.get_config("track_links_timeout");o.event_handler(t,this,a),window.setTimeout(o.track_callback(i,s,a,!0),l),o.mp.track(r,s,o.track_callback(i,s,a))})},this),!0;h9.error("The DOM query ("+t+") returned 0 elements")},m$.prototype.track_callback=function(t,r,n,i){i=i||!1;var o=this;return function(){n.callback_fired||(n.callback_fired=!0,t&&!1===t(i,r)||o.after_track_handler(r,n,i))}},m$.prototype.create_properties=function(t,r){return"function"==typeof t?t(r):h7.extend({},t)};var mU=function(){this.override_event="click"};h7.inherit(mU,m$),mU.prototype.create_properties=function(t,r){var n=mU.superclass.create_properties.apply(this,arguments);return r.href&&(n.url=r.href),n},mU.prototype.event_handler=function(t,r,n){n.new_tab=2===t.which||t.metaKey||t.ctrlKey||"_blank"===r.target,n.href=r.href,n.new_tab||t.preventDefault()},mU.prototype.after_track_handler=function(t,r){r.new_tab||setTimeout(function(){window.location=r.href},0)};var mz=function(){this.override_event="submit"};h7.inherit(mz,m$),mz.prototype.event_handler=function(t,r,n){n.element=r,t.preventDefault()},mz.prototype.after_track_handler=function(t,r){setTimeout(function(){r.element.submit()},0)};var mq="$set",mZ="$set_once",mH="$unset",mV="$add",mW="$append",mG="$union",mK="$remove",mX={set_action:function(t,r){var n={},i={};return h7.isObject(t)?h7.each(t,function(t,r){this._is_reserved_property(r)||(i[r]=t)},this):i[t]=r,n[mq]=i,n},unset_action:function(t){var r={},n=[];return h7.isArray(t)||(t=[t]),h7.each(t,function(t){this._is_reserved_property(t)||n.push(t)},this),r[mH]=n,r},set_once_action:function(t,r){var n={},i={};return h7.isObject(t)?h7.each(t,function(t,r){this._is_reserved_property(r)||(i[r]=t)},this):i[t]=r,n[mZ]=i,n},union_action:function(t,r){var n={},i={};return h7.isObject(t)?h7.each(t,function(t,r){this._is_reserved_property(r)||(i[r]=h7.isArray(t)?t:[t])},this):i[t]=h7.isArray(r)?r:[r],n[mG]=i,n},append_action:function(t,r){var n={},i={};return h7.isObject(t)?h7.each(t,function(t,r){this._is_reserved_property(r)||(i[r]=t)},this):i[t]=r,n[mW]=i,n},remove_action:function(t,r){var n={},i={};return h7.isObject(t)?h7.each(t,function(t,r){this._is_reserved_property(r)||(i[r]=t)},this):i[t]=r,n[mK]=i,n},delete_action:function(){return{$delete:""}}},mY=function(){};h7.extend(mY.prototype,mX),mY.prototype._init=function(t,r,n){this._mixpanel=t,this._group_key=r,this._group_id=n},mY.prototype.set=m_(function(t,r,n){var i=this.set_action(t,r);return h7.isObject(t)&&(n=r),this._send_request(i,n)}),mY.prototype.set_once=m_(function(t,r,n){var i=this.set_once_action(t,r);return h7.isObject(t)&&(n=r),this._send_request(i,n)}),mY.prototype.unset=m_(function(t,r){var n=this.unset_action(t);return this._send_request(n,r)}),mY.prototype.union=m_(function(t,r,n){h7.isObject(t)&&(n=r);var i=this.union_action(t,r);return this._send_request(i,n)}),mY.prototype.delete=m_(function(t){var r=this.delete_action();return this._send_request(r,t)}),mY.prototype.remove=m_(function(t,r,n){var i=this.remove_action(t,r);return this._send_request(i,n)}),mY.prototype._send_request=function(t,r){t.$group_key=this._group_key,t.$group_id=this._group_id,t.$token=this._get_config("token");var n=h7.encodeDates(t);return this._mixpanel._track_or_batch({type:"groups",data:n,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},r)},mY.prototype._is_reserved_property=function(t){return"$group_key"===t||"$group_id"===t},mY.prototype._get_config=function(t){return this._mixpanel.get_config(t)},mY.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},mY.prototype.remove=mY.prototype.remove,mY.prototype.set=mY.prototype.set,mY.prototype.set_once=mY.prototype.set_once,mY.prototype.union=mY.prototype.union,mY.prototype.unset=mY.prototype.unset,mY.prototype.toString=mY.prototype.toString;var mJ=function(){};h7.extend(mJ.prototype,mX),mJ.prototype._init=function(t){this._mixpanel=t},mJ.prototype.set=mb(function(t,r,n){var i=this.set_action(t,r);return h7.isObject(t)&&(n=r),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),i[mq]=h7.extend({},h7.info.people_properties(),i[mq]),this._send_request(i,n)}),mJ.prototype.set_once=mb(function(t,r,n){var i=this.set_once_action(t,r);return h7.isObject(t)&&(n=r),this._send_request(i,n)}),mJ.prototype.unset=mb(function(t,r){var n=this.unset_action(t);return this._send_request(n,r)}),mJ.prototype.increment=mb(function(t,r,n){var i={},o={};return h7.isObject(t)?(h7.each(t,function(t,r){if(!this._is_reserved_property(r)){if(isNaN(parseFloat(t)))return void h9.error("Invalid increment value passed to mixpanel.people.increment - must be a number");o[r]=t}},this),n=r):(h7.isUndefined(r)&&(r=1),o[t]=r),i[mV]=o,this._send_request(i,n)}),mJ.prototype.append=mb(function(t,r,n){h7.isObject(t)&&(n=r);var i=this.append_action(t,r);return this._send_request(i,n)}),mJ.prototype.remove=mb(function(t,r,n){h7.isObject(t)&&(n=r);var i=this.remove_action(t,r);return this._send_request(i,n)}),mJ.prototype.union=mb(function(t,r,n){h7.isObject(t)&&(n=r);var i=this.union_action(t,r);return this._send_request(i,n)}),mJ.prototype.track_charge=mb(function(t,r,n){if(h7.isNumber(t)||!isNaN(t=parseFloat(t)))return this.append("$transactions",h7.extend({$amount:t},r),n);h9.error("Invalid value passed to mixpanel.people.track_charge - must be a number")}),mJ.prototype.clear_charges=function(t){return this.set("$transactions",[],t)},mJ.prototype.delete_user=function(){if(this._identify_called()){var t={$delete:this._mixpanel.get_distinct_id()};return this._send_request(t)}h9.error("mixpanel.people.delete_user() requires you to call identify() first")},mJ.prototype.toString=function(){return this._mixpanel.toString()+".people"},mJ.prototype._send_request=function(t,r){t.$token=this._get_config("token"),t.$distinct_id=this._mixpanel.get_distinct_id();var n=this._mixpanel.get_property("$device_id"),i=this._mixpanel.get_property("$user_id"),o=this._mixpanel.get_property("$had_persisted_distinct_id");n&&(t.$device_id=n),i&&(t.$user_id=i),o&&(t.$had_persisted_distinct_id=o);var a=h7.encodeDates(t);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:a,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},r):(this._enqueue(t),h7.isUndefined(r)||r(this._get_config("verbose")?{status:-1,error:null}:-1),h7.truncate(a,255))},mJ.prototype._get_config=function(t){return this._mixpanel.get_config(t)},mJ.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},mJ.prototype._enqueue=function(t){mq in t?this._mixpanel.persistence._add_to_people_queue(mq,t):mZ in t?this._mixpanel.persistence._add_to_people_queue(mZ,t):mH in t?this._mixpanel.persistence._add_to_people_queue(mH,t):mV in t?this._mixpanel.persistence._add_to_people_queue(mV,t):mW in t?this._mixpanel.persistence._add_to_people_queue(mW,t):mK in t?this._mixpanel.persistence._add_to_people_queue(mK,t):mG in t?this._mixpanel.persistence._add_to_people_queue(mG,t):h9.error("Invalid call to _enqueue():",t)},mJ.prototype._flush_one_queue=function(t,r,n,i){var o=this,a=h7.extend({},this._mixpanel.persistence.load_queue(t)),s=a;h7.isUndefined(a)||!h7.isObject(a)||h7.isEmptyObject(a)||(o._mixpanel.persistence._pop_from_people_queue(t,a),o._mixpanel.persistence.save(),i&&(s=i(a)),r.call(o,s,function(r,i){0===r&&o._mixpanel.persistence._add_to_people_queue(t,a),h7.isUndefined(n)||n(r,i)}))},mJ.prototype._flush=function(t,r,n,i,o,a,s){var l=this;this._flush_one_queue(mq,this.set,t),this._flush_one_queue(mZ,this.set_once,i),this._flush_one_queue(mH,this.unset,a,function(t){return h7.keys(t)}),this._flush_one_queue(mV,this.increment,r),this._flush_one_queue(mG,this.union,o);var u=this._mixpanel.persistence.load_queue(mW);if(!h7.isUndefined(u)&&h7.isArray(u)&&u.length)for(var c,d=function(t,r){0===t&&l._mixpanel.persistence._add_to_people_queue(mW,c),h7.isUndefined(n)||n(t,r)},f=u.length-1;f>=0;f--)c=(u=this._mixpanel.persistence.load_queue(mW)).pop(),l._mixpanel.persistence.save(),h7.isEmptyObject(c)||l.append(c,d);var h=this._mixpanel.persistence.load_queue(mK);if(!h7.isUndefined(h)&&h7.isArray(h)&&h.length)for(var m,g=function(t,r){0===t&&l._mixpanel.persistence._add_to_people_queue(mK,m),h7.isUndefined(s)||s(t,r)},y=h.length-1;y>=0;y--)m=(h=this._mixpanel.persistence.load_queue(mK)).pop(),l._mixpanel.persistence.save(),h7.isEmptyObject(m)||l.remove(m,g)},mJ.prototype._is_reserved_property=function(t){return"$distinct_id"===t||"$token"===t||"$device_id"===t||"$user_id"===t||"$had_persisted_distinct_id"===t},mJ.prototype.set=mJ.prototype.set,mJ.prototype.set_once=mJ.prototype.set_once,mJ.prototype.unset=mJ.prototype.unset,mJ.prototype.increment=mJ.prototype.increment,mJ.prototype.append=mJ.prototype.append,mJ.prototype.remove=mJ.prototype.remove,mJ.prototype.union=mJ.prototype.union,mJ.prototype.track_charge=mJ.prototype.track_charge,mJ.prototype.clear_charges=mJ.prototype.clear_charges,mJ.prototype.delete_user=mJ.prototype.delete_user,mJ.prototype.toString=mJ.prototype.toString;var mQ,m0,m1,m2,m5,m3,m6,m4,m8,m7,m9,ge="__mps",gt="__mpso",gr="__mpus",gn="__mpa",gi="__mpap",go="__mpr",ga="__mpu",gs="$people_distinct_id",gl="__alias",gu="__timers",gc=[ge,gt,gr,gn,gi,go,ga,gs,gl,gu],gd=function(t){this.props={},this.campaign_params_saved=!1,t.persistence_name?this.name="mp_"+t.persistence_name:this.name="mp_"+t.token+"_mixpanel";var r=t.persistence;"cookie"!==r&&"localStorage"!==r&&(h9.critical("Unknown persistence type "+r+"; falling back to cookie"),r=t.persistence="cookie"),"localStorage"===r&&h7.localStorage.is_supported()?this.storage=h7.localStorage:this.storage=h7.cookie,this.load(),this.update_config(t),this.upgrade(),this.save()};gd.prototype.properties=function(){var t={};return this.load(),h7.each(this.props,function(r,n){h7.include(gc,n)||(t[n]=r)}),t},gd.prototype.load=function(){if(!this.disabled){var t=this.storage.parse(this.name);t&&(this.props=h7.extend({},t))}},gd.prototype.upgrade=function(){var t,r;this.storage===h7.localStorage?(t=h7.cookie.parse(this.name),h7.cookie.remove(this.name),h7.cookie.remove(this.name,!0),t&&this.register_once(t)):this.storage===h7.cookie&&(r=h7.localStorage.parse(this.name),h7.localStorage.remove(this.name),r&&this.register_once(r))},gd.prototype.save=function(){this.disabled||this.storage.set(this.name,h7.JSONEncode(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},gd.prototype.load_prop=function(t){return this.load(),this.props[t]},gd.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},gd.prototype.clear=function(){this.remove(),this.props={}},gd.prototype.register_once=function(t,r,n){return!!h7.isObject(t)&&(void 0===r&&(r="None"),this.expire_days=void 0===n?this.default_expiry:n,this.load(),h7.each(t,function(t,n){this.props.hasOwnProperty(n)&&this.props[n]!==r||(this.props[n]=t)},this),this.save(),!0)},gd.prototype.register=function(t,r){return!!h7.isObject(t)&&(this.expire_days=void 0===r?this.default_expiry:r,this.load(),h7.extend(this.props,t),this.save(),!0)},gd.prototype.unregister=function(t){this.load(),t in this.props&&(delete this.props[t],this.save())},gd.prototype.update_search_keyword=function(t){this.register(h7.info.searchInfo(t))},gd.prototype.update_referrer_info=function(t){this.register_once({$initial_referrer:t||"$direct",$initial_referring_domain:h7.info.referringDomain(t)||"$direct"},"")},gd.prototype.get_referrer_info=function(){return h7.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},gd.prototype.update_config=function(t){this.default_expiry=this.expire_days=t.cookie_expiration,this.set_disabled(t.disable_persistence),this.set_cookie_domain(t.cookie_domain),this.set_cross_site(t.cross_site_cookie),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie)},gd.prototype.set_disabled=function(t){this.disabled=t,this.disabled?this.remove():this.save()},gd.prototype.set_cookie_domain=function(t){t!==this.cookie_domain&&(this.remove(),this.cookie_domain=t,this.save())},gd.prototype.set_cross_site=function(t){t!==this.cross_site&&(this.cross_site=t,this.remove(),this.save())},gd.prototype.set_cross_subdomain=function(t){t!==this.cross_subdomain&&(this.cross_subdomain=t,this.remove(),this.save())},gd.prototype.get_cross_subdomain=function(){return this.cross_subdomain},gd.prototype.set_secure=function(t){t!==this.secure&&(this.secure=!!t,this.remove(),this.save())},gd.prototype._add_to_people_queue=function(t,r){var n=this._get_queue_key(t),i=r[t],o=this._get_or_create_queue(mq),a=this._get_or_create_queue(mZ),s=this._get_or_create_queue(mH),l=this._get_or_create_queue(mV),u=this._get_or_create_queue(mG),c=this._get_or_create_queue(mK,[]),d=this._get_or_create_queue(mW,[]);n===ge?(h7.extend(o,i),this._pop_from_people_queue(mV,i),this._pop_from_people_queue(mG,i),this._pop_from_people_queue(mH,i)):n===gt?(h7.each(i,function(t,r){r in a||(a[r]=t)}),this._pop_from_people_queue(mH,i)):n===gr?h7.each(i,function(t){h7.each([o,a,l,u],function(r){t in r&&delete r[t]}),h7.each(d,function(r){t in r&&delete r[t]}),s[t]=!0}):n===gn?(h7.each(i,function(t,r){r in o?o[r]+=t:(r in l||(l[r]=0),l[r]+=t)},this),this._pop_from_people_queue(mH,i)):n===ga?(h7.each(i,function(t,r){h7.isArray(t)&&(r in u||(u[r]=[]),u[r]=u[r].concat(t))}),this._pop_from_people_queue(mH,i)):n===go?(c.push(i),this._pop_from_people_queue(mW,i)):n===gi&&(d.push(i),this._pop_from_people_queue(mH,i)),h9.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),h9.log(r),this.save()},gd.prototype._pop_from_people_queue=function(t,r){var n=this.props[this._get_queue_key(t)];h7.isUndefined(n)||h7.each(r,function(r,i){t===mW||t===mK?h7.each(n,function(t){t[i]===r&&delete t[i]}):delete n[i]},this)},gd.prototype.load_queue=function(t){return this.load_prop(this._get_queue_key(t))},gd.prototype._get_queue_key=function(t){return t===mq?ge:t===mZ?gt:t===mH?gr:t===mV?gn:t===mW?gi:t===mK?go:t===mG?ga:void h9.error("Invalid queue:",t)},gd.prototype._get_or_create_queue=function(t,r){var n=this._get_queue_key(t);return r=h7.isUndefined(r)?{}:r,this.props[n]||(this.props[n]=r)},gd.prototype.set_event_timer=function(t,r){var n=this.load_prop(gu)||{};n[t]=r,this.props[gu]=n,this.save()},gd.prototype.remove_event_timer=function(t){var r=(this.load_prop(gu)||{})[t];return h7.isUndefined(r)||(delete this.props[gu][t],this.save()),r};var gp,gh=function(t,r){throw Error(t+" not available in this build.")},gm=function(t){return t},gg=function(){},gy="mixpanel",gv="base64",gb="$device:",g_=hF.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,gw=!g_&&-1===h1.indexOf("MSIE")&&-1===h1.indexOf("Mozilla"),gS=null;hY.sendBeacon&&(gS=function(){return hY.sendBeacon.apply(hY,arguments)});var gx={track:"track/",engage:"engage/",groups:"groups/",record:"record/"},gE={api_host:"https://api-js.mixpanel.com",api_routes:gx,api_method:"POST",api_transport:"XHR",api_payload_format:gv,app_host:"https://mixpanel.com",cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:gg,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:gg,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: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:RegExp("^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$"),record_mask_text_selector:"*",record_max_ms:864e5,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},gk=!1,gC=function(){},gO=function(t,r,n){var i,o=n===gy?gp:gp[n];if(o&&0===m9)i=o;else{if(o&&!h7.isArray(o))return void h9.error("You have already initialized "+n);i=new gC}if(i._cached_groups={},i._init(t,r,n),i.people=new mJ,i.people._init(i),!i.get_config("skip_first_touch_marketing")){var a=h7.info.campaignParams(null),s={},l=!1;h7.each(a,function(t,r){s["initial_"+r]=t,t&&(l=!0)}),l&&i.people.set_once(s)}return hU.DEBUG=hU.DEBUG||i.get_config("debug"),!h7.isUndefined(o)&&h7.isArray(o)&&(i._execute_array.call(i.people,o.people),i._execute_array(o)),i};gC.prototype.init=function(t,r,n){if(h7.isUndefined(n))this.report_error("You must name your new library: init(token, config, name)");else{if(n!==gy){var i=gO(t,r,n);return gp[n]=i,i._loaded(),i}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},gC.prototype._init=function(t,r,n){r=r||{},this.__loaded=!0,this.config={};var i={};if("api_payload_format"in r||(r.api_host||gE.api_host).match(/\.mixpanel\.com/)&&(i.api_payload_format="json"),this.set_config(h7.extend({},gE,i,r,{name:n,token:t,callback_fn:(n===gy?n:gy+"."+n)+"._jsc"})),this._jsc=gg,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(h7.localStorage.is_supported(!0)&&g_){if(this.init_batchers(),gS&&hF.addEventListener){var o=h7.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);hF.addEventListener("pagehide",function(t){t.persisted&&o()}),hF.addEventListener("visibilitychange",function(){"hidden"===hJ.visibilityState&&o()})}}else this._batch_requests=!1,h9.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),h7.each(this.get_batcher_configs(),function(t){h9.log("Clearing batch queue "+t.queue_key),h7.localStorage.remove(t.queue_key)});this.persistence=this.cookie=new gd(this.config),this.unpersisted_superprops={},this._gdpr_init();var a=h7.UUID();this.get_distinct_id()||this.register_once({distinct_id:gb+a,$device_id:a},"");var s=this.get_config("track_pageview");s&&this._init_url_change_tracking(s),this.get_config("record_sessions_percent")>0&&100*Math.random()<=this.get_config("record_sessions_percent")&&this.start_session_recording()},gC.prototype.start_session_recording=mv(function(){if(hF.MutationObserver){var t=h7.bind(function(){this._recorder=this._recorder||new hF.__mp_recorder(this),this._recorder.startRecording()},this);h7.isUndefined(hF.__mp_recorder)?gh(this.get_config("recorder_src"),t):t()}else h9.critical("Browser does not support MutationObserver; skipping session recording")}),gC.prototype.stop_session_recording=function(){this._recorder?this._recorder.stopRecording():h9.critical("Session recorder module not loaded")},gC.prototype.get_session_recording_properties=function(){var t={};if(this._recorder){var r=this._recorder.replayId;r&&(t.$mp_replay_id=r)}return t},gC.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 t=h7.info.campaignParams(null);h7.each(t,(function(t,r){this.unregister(r)}).bind(this))}},gC.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(hJ.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(h7.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(hJ.referrer)},gC.prototype._dom_loaded=function(){h7.each(this.__dom_loaded_queue,function(t){this._track_dom.apply(this,t)},this),this.has_opted_out_tracking()||h7.each(this.__request_queue,function(t){this._send_request.apply(this,t)},this),delete this.__dom_loaded_queue,delete this.__request_queue},gC.prototype._track_dom=function(t,r){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!gk)return this.__dom_loaded_queue.push([t,r]),!1;var n=(new t).init(this);return n.track.apply(n,r)},gC.prototype._init_url_change_tracking=function(t){var r="";if(this.track_pageview()&&(r=h7.info.currentUrl()),h7.include(["full-url","url-with-path-and-query-string","url-with-path"],t)){hF.addEventListener("popstate",function(){hF.dispatchEvent(new Event("mp_locationchange"))}),hF.addEventListener("hashchange",function(){hF.dispatchEvent(new Event("mp_locationchange"))});var n=hF.history.pushState;"function"==typeof n&&(hF.history.pushState=function(t,r,i){n.call(hF.history,t,r,i),hF.dispatchEvent(new Event("mp_locationchange"))});var i=hF.history.replaceState;"function"==typeof i&&(hF.history.replaceState=function(t,r,n){i.call(hF.history,t,r,n),hF.dispatchEvent(new Event("mp_locationchange"))}),hF.addEventListener("mp_locationchange",(function(){var n=h7.info.currentUrl(),i=!1;"full-url"===t?i=n!==r:"url-with-path-and-query-string"===t?i=n.split("#")[0]!==r.split("#")[0]:"url-with-path"===t&&(i=n.split("#")[0].split("?")[0]!==r.split("#")[0].split("?")[0]),i&&this.track_pageview()&&(r=n)}).bind(this))}},gC.prototype._prepare_callback=function(t,r){if(h7.isUndefined(t))return null;if(g_)return function(n){t(n,r)};var n=this._jsc,i=""+Math.floor(1e8*Math.random()),o=this.get_config("callback_fn")+"["+i+"]";return n[i]=function(o){delete n[i],t(o,r)},o},gC.prototype._send_request=function(t,r,n,i){var o=!0;if(gw)return this.__request_queue.push(arguments),o;var a={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},s=null;i||!h7.isFunction(n)&&"string"!=typeof n||(i=n,n=null),n=h7.extend(a,n||{}),g_||(n.method="GET");var l="POST"===n.method,u=gS&&l&&"sendbeacon"===n.transport.toLowerCase(),c=n.verbose;r.verbose&&(c=!0),this.get_config("test")&&(r.test=1),c&&(r.verbose=1),this.get_config("img")&&(r.img=1),g_||(i?r.callback=i:(c||this.get_config("test"))&&(r.callback="(function(){})")),r.ip=+!!this.get_config("ip"),r._=(new Date).getTime().toString(),l&&(s="data="+encodeURIComponent(r.data),delete r.data),t+="?"+h7.HTTPBuildQuery(r);var d=this;if("img"in r){var f=hJ.createElement("img");f.src=t,hJ.body.appendChild(f)}else if(u){try{o=gS(t,s)}catch(t){d.report_error(t),o=!1}try{i&&i(+!!o)}catch(t){d.report_error(t)}}else if(g_)try{var h=new XMLHttpRequest;h.open(n.method,t,!0);var m=this.get_config("xhr_headers");if(l&&(m["Content-Type"]="application/x-www-form-urlencoded"),h7.each(m,function(t,r){h.setRequestHeader(r,t)}),n.timeout_ms&&void 0!==h.timeout){h.timeout=n.timeout_ms;var g=(new Date).getTime()}h.withCredentials=!0,h.onreadystatechange=function(){if(4===h.readyState){if(200===h.status){if(i)if(c){try{r=h7.JSONDecode(h.responseText)}catch(t){if(d.report_error(t),!n.ignore_json_errors)return;r=h.responseText}i(r)}else i(Number(h.responseText))}else if(t=h.timeout&&!h.status&&(new Date).getTime()-g>=h.timeout?"timeout":"Bad HTTP status: "+h.status+" "+h.statusText,d.report_error(t),i)if(c){var t,r,o=h.responseHeaders||{};i({status:0,httpStatusCode:h.status,error:t,retryAfter:o["Retry-After"]})}else i(0)}},h.send(s)}catch(t){d.report_error(t),o=!1}else{var y=hJ.createElement("script");y.type="text/javascript",y.async=!0,y.defer=!0,y.src=t;var v=hJ.getElementsByTagName("script")[0];v.parentNode.insertBefore(y,v)}return o},gC.prototype._execute_array=function(t){var r,n=[],i=[],o=[];h7.each(t,function(t){t&&(r=t[0],h7.isArray(r)?o.push(t):"function"==typeof t?t.call(this):h7.isArray(t)&&"alias"===r?n.push(t):h7.isArray(t)&&-1!==r.indexOf("track")&&"function"==typeof this[r]?o.push(t):i.push(t))},this);var a=function(t,r){h7.each(t,function(t){if(h7.isArray(t[0])){var n=r;h7.each(t,function(t){n=n[t[0]].apply(n,t.slice(1))})}else this[t[0]].apply(this,t.slice(1))},r)};a(n,this),a(i,this),a(o,this)},gC.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},gC.prototype.get_batcher_configs=function(){var t="__mpq_"+this.get_config("token"),r=this.get_config("api_routes");return this._batcher_configs=this._batcher_configs||{events:{type:"events",endpoint:"/"+r.track,queue_key:t+"_ev"},people:{type:"people",endpoint:"/"+r.engage,queue_key:t+"_pp"},groups:{type:"groups",endpoint:"/"+r.groups,queue_key:t+"_gr"}},this._batcher_configs},gC.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var t=h7.bind(function(t){return new mL(t.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:h7.bind(function(r,n,i){this._send_request(this.get_config("api_host")+t.endpoint,this._encode_data_for_request(r),n,this._prepare_callback(i,r))},this),beforeSendHook:h7.bind(function(r){return this._run_hook("before_send_"+t.type,r)},this),stopAllBatchingFunc:h7.bind(this.stop_batch_senders,this),usePersistence:!0})},this),r=this.get_batcher_configs();this.request_batchers={events:t(r.events),people:t(r.people),groups:t(r.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},gC.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,h7.each(this.request_batchers,function(t){t.start()}))},gC.prototype.stop_batch_senders=function(){this._batch_requests=!1,h7.each(this.request_batchers,function(t){t.stop(),t.clear()})},gC.prototype.push=function(t){this._execute_array([t])},gC.prototype.disable=function(t){void 0===t?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(t)},gC.prototype._encode_data_for_request=function(t){var r=h7.JSONEncode(t);return this.get_config("api_payload_format")===gv&&(r=h7.base64Encode(r)),{data:r}},gC.prototype._track_or_batch=function(t,r){var n=h7.truncate(t.data,255),i=t.endpoint,o=t.batcher,a=t.should_send_immediately,s=t.send_request_options||{};r=r||gg;var l=!0,u=h7.bind(function(){return s.skip_hooks||(n=this._run_hook("before_send_"+t.type,n)),n?(h9.log("MIXPANEL REQUEST:"),h9.log(n),this._send_request(i,this._encode_data_for_request(n),s,this._prepare_callback(r,n))):null},this);return this._batch_requests&&!a?o.enqueue(n,function(t){t?r(1,n):u()}):l=u(),l&&n},gC.prototype.track=mv(function(t,r,n,i){i||"function"!=typeof n||(i=n,n=null);var o=(n=n||{}).transport;o&&(n.transport=o);var a=n.send_immediately;if("function"!=typeof i&&(i=gg),h7.isUndefined(t))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(t)){(r=h7.extend({},r)).token=this.get_config("token");var s=this.persistence.remove_event_timer(t);if(!h7.isUndefined(s)){var l=(new Date).getTime()-s;r.$duration=parseFloat((l/1e3).toFixed(3))}this._set_default_superprops();var u=this.get_config("track_marketing")?h7.info.marketingParams():{};r=h7.extend({},h7.info.properties({mp_loader:this.get_config("mp_loader")}),u,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),r);var c=this.get_config("property_blacklist");h7.isArray(c)?h7.each(c,function(t){delete r[t]}):this.report_error("Invalid value for property_blacklist config: "+c);var d={event:t,properties:r};return this._track_or_batch({type:"events",data:d,endpoint:this.get_config("api_host")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:a,send_request_options:n},i)}i(0)}}),gC.prototype.set_group=mv(function(t,r,n){h7.isArray(r)||(r=[r]);var i={};return i[t]=r,this.register(i),this.people.set(t,r,n)}),gC.prototype.add_group=mv(function(t,r,n){var i=this.get_property(t),o={};return void 0===i?(o[t]=[r],this.register(o)):-1===i.indexOf(r)&&(i.push(r),o[t]=i,this.register(o)),this.people.union(t,r,n)}),gC.prototype.remove_group=mv(function(t,r,n){var i=this.get_property(t);if(void 0!==i){var o=i.indexOf(r);o>-1&&(i.splice(o,1),this.register({group_key:i})),0===i.length&&this.unregister(t)}return this.people.remove(t,r,n)}),gC.prototype.track_with_groups=mv(function(t,r,n,i){var o=h7.extend({},r||{});return h7.each(n,function(t,r){null!=t&&(o[r]=t)}),this.track(t,o,i)}),gC.prototype._create_map_key=function(t,r){return t+"_"+JSON.stringify(r)},gC.prototype._remove_group_from_cache=function(t,r){delete this._cached_groups[this._create_map_key(t,r)]},gC.prototype.get_group=function(t,r){var n=this._create_map_key(t,r),i=this._cached_groups[n];return void 0!==i&&i._group_key===t&&i._group_id===r||((i=new mY)._init(this,t,r),this._cached_groups[n]=i),i},gC.prototype.track_pageview=mv(function(t,r){"object"!=typeof t&&(t={});var n=(r=r||{}).event_name||"$mp_web_page_view",i=h7.extend(h7.info.mpPageViewProperties(),h7.info.campaignParams(),h7.info.clickParams()),o=h7.extend({},i,t);return this.track(n,o)}),gC.prototype.track_links=function(){return this._track_dom.call(this,mU,arguments)},gC.prototype.track_forms=function(){return this._track_dom.call(this,mz,arguments)},gC.prototype.time_event=function(t){h7.isUndefined(t)?this.report_error("No event name provided to mixpanel.time_event"):this._event_is_disabled(t)||this.persistence.set_event_timer(t,(new Date).getTime())};var gR={persistent:!0},gT=function(t){var r;return r=h7.isObject(t)?t:h7.isUndefined(t)?{}:{days:t},h7.extend({},gR,r)};gC.prototype.register=function(t,r){var n=gT(r);n.persistent?this.persistence.register(t,n.days):h7.extend(this.unpersisted_superprops,t)},gC.prototype.register_once=function(t,r,n){var i=gT(n);i.persistent?this.persistence.register_once(t,r,i.days):(void 0===r&&(r="None"),h7.each(t,function(t,n){this.unpersisted_superprops.hasOwnProperty(n)&&this.unpersisted_superprops[n]!==r||(this.unpersisted_superprops[n]=t)},this))},gC.prototype.unregister=function(t,r){(r=gT(r)).persistent?this.persistence.unregister(t):delete this.unpersisted_superprops[t]},gC.prototype._register_single=function(t,r){var n={};n[t]=r,this.register(n)},gC.prototype.identify=function(t,r,n,i,o,a,s,l){var u=this.get_distinct_id();if(t&&u!==t){if("string"==typeof t&&0===t.indexOf(gb))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:t})}this.get_property("$device_id")||this.register_once({$had_persisted_distinct_id:!0,$device_id:u},""),t!==u&&t!==this.get_property(gl)&&(this.unregister(gl),this.register({distinct_id:t})),this._flags.identify_called=!0,this.people._flush(r,n,i,o,a,s,l),t!==u&&this.track("$identify",{distinct_id:t,$anon_distinct_id:u},{skip_hooks:!0})},gC.prototype.reset=function(){this.persistence.clear(),this._flags.identify_called=!1;var t=h7.UUID();this.register_once({distinct_id:gb+t,$device_id:t},"")},gC.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},gC.prototype.alias=function(t,r){if(t===this.get_property(gs))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var n=this;return h7.isUndefined(r)&&(r=this.get_distinct_id()),t!==r?(this._register_single(gl,t),this.track("$create_alias",{alias:t,distinct_id:r},{skip_hooks:!0},function(){n.identify(t)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(t),-1)},gC.prototype.name_tag=function(t){this._register_single("mp_name_tag",t)},gC.prototype.set_config=function(t){h7.isObject(t)&&(h7.extend(this.config,t),t.batch_size&&h7.each(this.request_batchers,function(t){t.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),hU.DEBUG=hU.DEBUG||this.get_config("debug"))},gC.prototype.get_config=function(t){return this.config[t]},gC.prototype._run_hook=function(t){var r=(this.config.hooks[t]||gm).apply(this,hW.call(arguments,1));return void 0===r&&(this.report_error(t+" hook did not return a value"),r=null),r},gC.prototype.get_property=function(t){return this.persistence.load_prop([t])},gC.prototype.toString=function(){var t=this.get_config("name");return t!==gy&&(t=gy+"."+t),t},gC.prototype._event_is_disabled=function(t){return h7.isBlockedUA(h1)||this._flags.disable_all_events||h7.include(this.__disabled_events,t)},gC.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&h7.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")||h7.cookie.get("mp_optout"))&&(h7.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},gC.prototype._gdpr_update_persistence=function(t){var r;if(t&&t.clear_persistence)r=!0;else{if(!t||!t.enable_persistence)return;r=!1}this.get_config("disable_persistence")||this.persistence.disabled===r||this.persistence.set_disabled(r),r?this.stop_batch_senders():this._batchers_were_started&&this.start_batch_senders()},gC.prototype._gdpr_call_func=function(t,r){return r=h7.extend({track:h7.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")},r),h7.localStorage.is_supported()||(r.persistence_type="cookie"),t(this.get_config("token"),{track:r.track,trackEventName:r.track_event_name,trackProperties:r.track_properties,persistenceType:r.persistence_type,persistencePrefix:r.cookie_prefix,cookieDomain:r.cookie_domain,cookieExpiration:r.cookie_expiration,crossSiteCookie:r.cross_site_cookie,crossSubdomainCookie:r.cross_subdomain_cookie,secureCookie:r.secure_cookie,ignoreDnt:r.ignore_dnt})},gC.prototype.opt_in_tracking=function(t){t=h7.extend({enable_persistence:!0},t),this._gdpr_call_func(mh,t),this._gdpr_update_persistence(t)},gC.prototype.opt_out_tracking=function(t){(t=h7.extend({clear_persistence:!0,delete_user:!0},t)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(mm,t),this._gdpr_update_persistence(t)},gC.prototype.has_opted_in_tracking=function(t){return this._gdpr_call_func(mg,t)},gC.prototype.has_opted_out_tracking=function(t){return this._gdpr_call_func(my,t)},gC.prototype.clear_opt_in_out_tracking=function(t){t=h7.extend({enable_persistence:!0},t),this._gdpr_call_func(mw,t),this._gdpr_update_persistence(t)},gC.prototype.report_error=function(t,r){h9.error.apply(h9.error,arguments);try{r||t instanceof Error||(t=Error(t)),this.get_config("error_reporter")(t,r)}catch(t){h9.error(t)}},gC.prototype.init=gC.prototype.init,gC.prototype.reset=gC.prototype.reset,gC.prototype.disable=gC.prototype.disable,gC.prototype.time_event=gC.prototype.time_event,gC.prototype.track=gC.prototype.track,gC.prototype.track_links=gC.prototype.track_links,gC.prototype.track_forms=gC.prototype.track_forms,gC.prototype.track_pageview=gC.prototype.track_pageview,gC.prototype.register=gC.prototype.register,gC.prototype.register_once=gC.prototype.register_once,gC.prototype.unregister=gC.prototype.unregister,gC.prototype.identify=gC.prototype.identify,gC.prototype.alias=gC.prototype.alias,gC.prototype.name_tag=gC.prototype.name_tag,gC.prototype.set_config=gC.prototype.set_config,gC.prototype.get_config=gC.prototype.get_config,gC.prototype.get_property=gC.prototype.get_property,gC.prototype.get_distinct_id=gC.prototype.get_distinct_id,gC.prototype.toString=gC.prototype.toString,gC.prototype.opt_out_tracking=gC.prototype.opt_out_tracking,gC.prototype.opt_in_tracking=gC.prototype.opt_in_tracking,gC.prototype.has_opted_out_tracking=gC.prototype.has_opted_out_tracking,gC.prototype.has_opted_in_tracking=gC.prototype.has_opted_in_tracking,gC.prototype.clear_opt_in_out_tracking=gC.prototype.clear_opt_in_out_tracking,gC.prototype.get_group=gC.prototype.get_group,gC.prototype.set_group=gC.prototype.set_group,gC.prototype.add_group=gC.prototype.add_group,gC.prototype.remove_group=gC.prototype.remove_group,gC.prototype.track_with_groups=gC.prototype.track_with_groups,gC.prototype.start_batch_senders=gC.prototype.start_batch_senders,gC.prototype.stop_batch_senders=gC.prototype.stop_batch_senders,gC.prototype.start_session_recording=gC.prototype.start_session_recording,gC.prototype.stop_session_recording=gC.prototype.stop_session_recording,gC.prototype.get_session_recording_properties=gC.prototype.get_session_recording_properties,gC.prototype.DEFAULT_API_ROUTES=gx,gd.prototype.properties=gd.prototype.properties,gd.prototype.update_search_keyword=gd.prototype.update_search_keyword,gd.prototype.update_referrer_info=gd.prototype.update_referrer_info,gd.prototype.get_cross_subdomain=gd.prototype.get_cross_subdomain,gd.prototype.clear=gd.prototype.clear;var gP={},gM=(gh=function(t,r){r()},m9=0,(gp=new gC).init=function(t,r,n){if(n)return gp[n]||(gp[n]=gP[n]=gO(t,r,n),gp[n]._loaded()),gp[n];var i=gp;gP[gy]?i=gP[gy]:t&&((i=gO(t,r,gy))._loaded(),gP[gy]=i),gp=i,1===m9&&(hF[gy]=gp),h7.each(gP,function(t,r){r!==gy&&(gp[r]=t)}),gp._=h7},gp.init(),function(){function t(){t.done||(t.done=!0,gk=!0,gw=!1,h7.each(gP,function(t){t._dom_loaded()}))}if(hJ.addEventListener)"complete"===hJ.readyState?t():hJ.addEventListener("DOMContentLoaded",t,!1);else if(hJ.attachEvent){hJ.attachEvent("onreadystatechange",t);var r=!1;try{r=null===hF.frameElement}catch(t){}hJ.documentElement.doScroll&&r&&function r(){try{hJ.documentElement.doScroll("left")}catch(t){return void setTimeout(r,1)}t()}()}h7.register_event(hF,"load",t,!0)}(),gp);let gI="elementor-one-assets",gA=null,gL={initialize(t,r){if(!gA)try{gM.init(t,{debug:"production"!==r,track_pageview:!1,persistence:"localStorage"},gI),(gA=gM[gI]).opt_in_tracking()}catch(t){console.warn("[elementor-one-assets] Failed to initialize tracking:",t)}},registerOnce(t){let r=gA;r?.register_once(t)},track(t,r){let n=gA;n?.track(t,r)},isInitialized:()=>null!==gA},gN="plugin-settings",gj=t=>{let{enabled:r=!0}=t||{};return pO({queryKey:[gN],queryFn:()=>Qy.getPluginSettings(),enabled:r})},gD=new dM({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnMount:!1,retryOnMount:!1,retry:!1}}}),gF=(0,b.createContext)(null),gB=({env:t,language:r="en",isRTL:n=!1,children:i})=>{let o=(0,b.useMemo)(()=>pT[t],[t]),a=(0,b.useMemo)(()=>({config:o,isRTL:n}),[o,n]);return(0,b.useEffect)(()=>{ce.changeLanguage(r)},[r]),(0,b.useEffect)(()=>{},[o]),(0,b.useEffect)(()=>{window.elementorOneSettingsData?.shareUsageData&&gL.initialize("150605b3b9f979922f2ac5a52e2dcfe9",t)},[t]),(0,v.jsx)(pS,{client:gD,children:(0,v.jsx)(gF.Provider,{value:a,children:i})})},g$=()=>{let t=(0,b.useContext)(gF);if(!t)throw Error("Wrap your component in <ElementorOneAssetsProvider> to access the env config");return t.config},gU=()=>n2(iH().breakpoints.down("sm"));function gz(t){return r3("MuiSkeleton",t)}nZ("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);let gq=["animation","className","component","height","style","variant","width"],gZ,gH,gV,gW,gG=t=>t,gK=e0(gZ||(gZ=gG`
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
`)),gX=e0(gH||(gH=gG`
  0% {
    transform: translateX(-100%);
  }

  50% {
    /* +0.5s of delay between each loop */
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
`)),gY=nM("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[n.variant],!1!==n.animation&&r[n.animation],n.hasChildren&&r.withChildren,n.hasChildren&&!n.width&&r.fitContent,n.hasChildren&&!n.height&&r.heightAuto]}})(({theme:t,ownerState:r})=>{let n=String(t.shape.borderRadius).match(/[\d.\-+]*\s*(.*)/)[1]||"px",i=parseFloat(t.shape.borderRadius);return S({display:"block",backgroundColor:t.vars?t.vars.palette.Skeleton.bg:n4(t.palette.text.primary,"light"===t.palette.mode?.11:.13),height:"1.2em"},"text"===r.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${i}${n}/${Math.round(i/.6*10)/10}${n}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===r.variant&&{borderRadius:"50%"},"rounded"===r.variant&&{borderRadius:(t.vars||t).shape.borderRadius},r.hasChildren&&{"& > *":{visibility:"hidden"}},r.hasChildren&&!r.width&&{maxWidth:"fit-content"},r.hasChildren&&!r.height&&{height:"auto"})},({ownerState:t})=>"pulse"===t.animation&&eQ(gV||(gV=gG`
      animation: ${0} 2s ease-in-out 0.5s infinite;
    `),gK),({ownerState:t,theme:r})=>"wave"===t.animation&&eQ(gW||(gW=gG`
      position: relative;
      overflow: hidden;

      /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
      -webkit-mask-image: -webkit-radial-gradient(white, black);

      &::after {
        animation: ${0} 2s linear 0.5s infinite;
        background: linear-gradient(
          90deg,
          transparent,
          ${0},
          transparent
        );
        content: '';
        position: absolute;
        transform: translateX(-100%); /* Avoid flash during server-side hydration */
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
      }
    `),gX,(r.vars||r).palette.action.hover)),gJ=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiSkeleton"}),{animation:i="pulse",className:o,component:a="span",height:s,style:l,variant:u="text",width:c}=n,d=w(n,gq),f=S({},n,{animation:i,component:a,variant:u,hasChildren:!!d.children}),h=(t=>{let{classes:r,variant:n,animation:i,hasChildren:o,width:a,height:s}=t;return T({root:["root",n,i,o&&"withChildren",o&&!a&&"fitContent",o&&!s&&"heightAuto"]},gz,r)})(f);return(0,v.jsx)(gY,S({as:a,ref:r,className:R(h.root,o),ownerState:f},d,{style:S({width:c,height:s},l)}))});var gQ=b.forwardRef((t,r)=>b.createElement(gJ,{...t,ref:r}));function g0(t,r){function n(n,i){return(0,v.jsx)(a4,S({"data-testid":`${r}Icon`,ref:i},n,{children:t}))}return n.muiName=a4.muiName,b.memo(b.forwardRef(n))}let g1=g0((0,v.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 g2(t){return r3("MuiChip",t)}let g5=nZ("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"]),g3=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],g6=nM("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t,{color:i,iconColor:o,clickable:a,onDelete:s,size:l,variant:u}=n;return[{[`& .${g5.avatar}`]:r.avatar},{[`& .${g5.avatar}`]:r[`avatar${tq(l)}`]},{[`& .${g5.avatar}`]:r[`avatarColor${tq(i)}`]},{[`& .${g5.icon}`]:r.icon},{[`& .${g5.icon}`]:r[`icon${tq(l)}`]},{[`& .${g5.icon}`]:r[`iconColor${tq(o)}`]},{[`& .${g5.deleteIcon}`]:r.deleteIcon},{[`& .${g5.deleteIcon}`]:r[`deleteIcon${tq(l)}`]},{[`& .${g5.deleteIcon}`]:r[`deleteIconColor${tq(i)}`]},{[`& .${g5.deleteIcon}`]:r[`deleteIcon${tq(u)}Color${tq(i)}`]},r.root,r[`size${tq(l)}`],r[`color${tq(i)}`],a&&r.clickable,a&&"default"!==i&&r[`clickableColor${tq(i)})`],s&&r.deletable,s&&"default"!==i&&r[`deletableColor${tq(i)}`],r[u],r[`${u}${tq(i)}`]]}})(({theme:t,ownerState:r})=>{let n="light"===t.palette.mode?t.palette.grey[700]:t.palette.grey[300];return S({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${g5.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${g5.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:n,fontSize:t.typography.pxToRem(12)},[`& .${g5.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${g5.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${g5.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${g5.icon}`]:S({marginLeft:5,marginRight:-6},"small"===r.size&&{fontSize:18,marginLeft:4,marginRight:-4},r.iconColor===r.color&&S({color:t.vars?t.vars.palette.Chip.defaultIconColor:n},"default"!==r.color&&{color:"inherit"})),[`& .${g5.deleteIcon}`]:S({WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:r9.alpha(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:r9.alpha(t.palette.text.primary,.4)}},"small"===r.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==r.color&&{color:t.vars?`rgba(${t.vars.palette[r.color].contrastTextChannel} / 0.7)`:r9.alpha(t.palette[r.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[r.color].contrastText}})},"small"===r.size&&{height:24},"default"!==r.color&&{backgroundColor:(t.vars||t).palette[r.color].main,color:(t.vars||t).palette[r.color].contrastText},r.onDelete&&{[`&.${g5.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:r9.alpha(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},r.onDelete&&"default"!==r.color&&{[`&.${g5.focusVisible}`]:{backgroundColor:(t.vars||t).palette[r.color].dark}})},({theme:t,ownerState:r})=>S({},r.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:r9.alpha(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${g5.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:r9.alpha(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},r.clickable&&"default"!==r.color&&{[`&:hover, &.${g5.focusVisible}`]:{backgroundColor:(t.vars||t).palette[r.color].dark}}),({theme:t,ownerState:r})=>S({},"outlined"===r.variant&&{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${g5.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${g5.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${g5.avatar}`]:{marginLeft:4},[`& .${g5.avatarSmall}`]:{marginLeft:2},[`& .${g5.icon}`]:{marginLeft:4},[`& .${g5.iconSmall}`]:{marginLeft:2},[`& .${g5.deleteIcon}`]:{marginRight:5},[`& .${g5.deleteIconSmall}`]:{marginRight:3}},"outlined"===r.variant&&"default"!==r.color&&{color:(t.vars||t).palette[r.color].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / 0.7)`:r9.alpha(t.palette[r.color].main,.7)}`,[`&.${g5.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:r9.alpha(t.palette[r.color].main,t.palette.action.hoverOpacity)},[`&.${g5.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.focusOpacity})`:r9.alpha(t.palette[r.color].main,t.palette.action.focusOpacity)},[`& .${g5.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / 0.7)`:r9.alpha(t.palette[r.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[r.color].main}}})),g4=nM("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,r)=>{let{ownerState:n}=t,{size:i}=n;return[r.label,r[`label${tq(i)}`]]}})(({ownerState:t})=>S({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===t.variant&&{paddingLeft:11,paddingRight:11},"small"===t.size&&{paddingLeft:8,paddingRight:8},"small"===t.size&&"outlined"===t.variant&&{paddingLeft:7,paddingRight:7}));function g8(t){return"Backspace"===t.key||"Delete"===t.key}let g7=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiChip"}),{avatar:i,className:o,clickable:a,color:s="default",component:l,deleteIcon:u,disabled:c=!1,icon:d,label:f,onClick:h,onDelete:m,onKeyDown:g,onKeyUp:y,size:_="medium",variant:x="filled",tabIndex:E,skipFocusWhenDisabled:k=!1}=n,C=w(n,g3),O=b.useRef(null),P=ip(O,r),M=t=>{t.stopPropagation(),m&&m(t)},I=!(!1===a||!h)||a,A=I||m?oB:l||"div",L=S({},n,{component:A,disabled:c,size:_,color:s,iconColor:b.isValidElement(d)&&d.props.color||s,onDelete:!!m,clickable:I,variant:x}),N=(t=>{let{classes:r,disabled:n,size:i,color:o,iconColor:a,onDelete:s,clickable:l,variant:u}=t;return T({root:["root",u,n&&"disabled",`size${tq(i)}`,`color${tq(o)}`,l&&"clickable",l&&`clickableColor${tq(o)}`,s&&"deletable",s&&`deletableColor${tq(o)}`,`${u}${tq(o)}`],label:["label",`label${tq(i)}`],avatar:["avatar",`avatar${tq(i)}`,`avatarColor${tq(o)}`],icon:["icon",`icon${tq(i)}`,`iconColor${tq(a)}`],deleteIcon:["deleteIcon",`deleteIcon${tq(i)}`,`deleteIconColor${tq(o)}`,`deleteIcon${tq(u)}Color${tq(o)}`]},g2,r)})(L),j=A===oB?S({component:l||"div",focusVisibleClassName:N.focusVisible},m&&{disableRipple:!0}):{},D=null;m&&(D=u&&b.isValidElement(u)?b.cloneElement(u,{className:R(u.props.className,N.deleteIcon),onClick:M}):(0,v.jsx)(g1,{className:R(N.deleteIcon),onClick:M}));let F=null;i&&b.isValidElement(i)&&(F=b.cloneElement(i,{className:R(N.avatar,i.props.className)}));let B=null;return d&&b.isValidElement(d)&&(B=b.cloneElement(d,{className:R(N.icon,d.props.className)})),(0,v.jsxs)(g6,S({as:A,className:R(N.root,o),disabled:!(!I||!c)||void 0,onClick:h,onKeyDown:t=>{t.currentTarget===t.target&&g8(t)&&t.preventDefault(),g&&g(t)},onKeyUp:t=>{t.currentTarget===t.target&&(m&&g8(t)?m(t):"Escape"===t.key&&O.current&&O.current.blur()),y&&y(t)},ref:P,tabIndex:k&&c?-1:E,ownerState:L},j,C,{children:[F||B,(0,v.jsx)(g4,{className:R(N.label),ownerState:L,children:f}),D]}))}),g9=o4(g7)(({theme:t,ownerState:r})=>"rounded"!==r.shape?null:{borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[1]}),ye={shape:"pill"},yt=b.forwardRef((t,r)=>{let{shape:n,...i}={...ye,...t};return b.createElement(g9,{...i,ref:r,ownerState:{shape:n}})});yt.defaultProps=ye;let yr=o4(uP)(({theme:t})=>({transform:"rtl"===t.direction?"scaleX(-1)":void 0})),yn=({onDisconnect:t,onConnectClick:r,anchorElement:n,...i})=>{let{t:o}=sQ("common",{i18n:ce}),{MY_ELEMENTOR_URL:a}=g$(),{data:s,isLoading:l}=gj({enabled:window.elementorOneSettingsData?.canUserManageOptions??!1}),{mutate:u,isPending:c}=(()=>{let t=pw();return pR({mutationFn:t=>Qy.initConnect(t&&"string"==typeof t?t:"new"),onSuccess:r=>{window.open(r,"_self")?.focus(),t.invalidateQueries({queryKey:[gN]})}})})(),{mutate:d,isPending:f}=(()=>{let t=pw();return pR({mutationFn:()=>Qy.disconnect(),onSuccess:()=>{t.invalidateQueries({queryKey:[gN]})}})})();return(0,v.jsx)(a0,{colorScheme:"light",children:(0,v.jsx)(ud,{...i,"data-test":"user-profile-menu",anchorEl:n,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{sx:{overflow:"visible !important",borderRadius:1,py:1,minWidth:300}},children:l?(0,v.jsxs)(i3,{alignItems:"center",gap:1,children:[(0,v.jsx)(gQ,{variant:"text",width:"90%",height:30}),(0,v.jsx)(sa,{sx:{mx:2,width:"80%"}}),(0,v.jsx)(gQ,{variant:"text",width:"90%",height:30})]}):[(0,v.jsxs)(uO,{dense:!0,onClick:async()=>{window.open(a,"_blank"),i.onClose?.({},"backdropClick")},children:[(0,v.jsx)(uT,{children:o("header.userProfileMenu.goToMyAccount")}),(0,v.jsx)(uR,{children:(0,v.jsx)(yr,{fontSize:"small"})})]},"go-to-account"),(0,v.jsx)(sa,{sx:{mx:2}},"divider"),s?.isUrlMismatch?(0,v.jsxs)(uO,{dense:!0,onClick:()=>{window.location.href=window.location.origin+window.location.pathname+"?page=elementor-home#/home/url-mismatch",i.onClose?.({},"backdropClick")},sx:{justifyContent:"space-between"},children:[(0,v.jsx)(uT,{children:o("header.userProfileMenu.urlMismatch")}),(0,v.jsx)(os,{sx:{color:"info.main"},variant:"caption",children:o("header.userProfileMenu.fixUrlMismatch")})]},"fix-url-mismatch"):s?.isConnected?(0,v.jsxs)(uO,{dense:!0,disabled:f,children:[(0,v.jsxs)(uT,{children:[o("header.userProfileMenu.elementorOneActive")," ",(0,v.jsx)(yt,{variant:"standard",label:o("header.userProfileMenu.active"),color:"success",size:"small"})]}),(0,v.jsx)(uT,{onClick:()=>{f||d(void 0,{onSuccess:()=>{t?.(),i.onClose?.({},"backdropClick")}})},sx:{textAlign:"right",color:"info.main",cursor:"pointer"},children:o("header.userProfileMenu.disconnect")}),(0,v.jsx)(uR,{children:f?(0,v.jsx)(sI,{size:16}):(0,v.jsx)(v.Fragment,{})})]},"disconnect"):(0,v.jsxs)(uO,{dense:!0,onClick:()=>{c||(r?.(),u())},disabled:c,sx:{justifyContent:"space-between"},children:[(0,v.jsx)(uT,{children:o("header.userProfileMenu.connectPreText")}),c?(0,v.jsx)(sI,{size:16}):(0,v.jsx)(os,{sx:{color:"info.main"},variant:"caption",children:o("header.userProfileMenu.connect")})]},"connect")]})})},yi=({onDisconnect:t,onClick:r,onConnectClick:n})=>{let{t:i}=sQ("common",{i18n:ce}),o=(0,b.useRef)(null),a=gU(),s=ln({variant:"popover",popupId:"user-info-popover"}),l=()=>{r?.(),s.open()};return(0,v.jsxs)(v.Fragment,{children:[a?(0,v.jsx)(a2,{onClick:l,ref:o,children:(0,v.jsx)(ss,{})}):(0,v.jsx)(sF,{startIcon:(0,v.jsx)(ss,{}),color:"inherit",size:"small",onClick:l,ref:o,children:i("header.userInfo")}),(0,v.jsx)(yn,{onDisconnect:t,onConnectClick:n,anchorElement:o.current,...function({isOpen:t,anchorEl:r,anchorPosition:n,close:i,popupId:o,onMouseLeave:a,disableAutoFocus:s,_openEventType:l}){return{id:o,anchorEl:r,anchorPosition:n,anchorReference:"contextmenu"===l?"anchorPosition":"anchorEl",open:t,onClose:i,onMouseLeave:a,...s&&{autoFocus:!1,disableAutoFocusItem:!0,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}(s)})]})};var yo=b.forwardRef((t,r)=>b.createElement(a8,{viewBox:"0 0 24 24",...t,ref:r},b.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"})));let ya=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ys(t,r,n){let i=function(t,r,n){let i,o=r.getBoundingClientRect(),a=n&&n.getBoundingClientRect(),s=io(r);if(r.fakeTransform)i=r.fakeTransform;else{let t=s.getComputedStyle(r);i=t.getPropertyValue("-webkit-transform")||t.getPropertyValue("transform")}let l=0,u=0;if(i&&"none"!==i&&"string"==typeof i){let t=i.split("(")[1].split(")")[0].split(",");l=parseInt(t[4],10),u=parseInt(t[5],10)}return"left"===t?a?`translateX(${a.right+l-o.left}px)`:`translateX(${s.innerWidth+l-o.left}px)`:"right"===t?a?`translateX(-${o.right-a.left-l}px)`:`translateX(-${o.left+o.width-l}px)`:"up"===t?a?`translateY(${a.bottom+u-o.top}px)`:`translateY(${s.innerHeight+u-o.top}px)`:a?`translateY(-${o.top-a.top+o.height-u}px)`:`translateY(-${o.top+o.height-u}px)`}(t,r,"function"==typeof n?n():n);i&&(r.style.webkitTransform=i,r.style.transform=i)}let yl=b.forwardRef(function(t,r){let n=iH(),i={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,container:u,direction:c="down",easing:d=i,in:f,onEnter:h,onEntered:m,onEntering:g,onExit:y,onExited:_,onExiting:x,style:E,timeout:k=o,TransitionComponent:C=og}=t,O=w(t,ya),R=b.useRef(null),T=ip(l.ref,R,r),P=t=>r=>{t&&(void 0===r?t(R.current):t(R.current,r))},M=P((t,r)=>{ys(c,t,u),h&&h(t,r)}),I=P((t,r)=>{let i=lC({timeout:k,style:E,easing:d},{mode:"enter"});t.style.webkitTransition=n.transitions.create("-webkit-transform",S({},i)),t.style.transition=n.transitions.create("transform",S({},i)),t.style.webkitTransform="none",t.style.transform="none",g&&g(t,r)}),A=P(m),L=P(x),N=P(t=>{let r=lC({timeout:k,style:E,easing:d},{mode:"exit"});t.style.webkitTransition=n.transitions.create("-webkit-transform",r),t.style.transition=n.transitions.create("transform",r),ys(c,t,u),y&&y(t)}),j=P(t=>{t.style.webkitTransition="",t.style.transition="",_&&_(t)}),D=b.useCallback(()=>{R.current&&ys(c,R.current,u)},[c,u]);return b.useEffect(()=>{if(f||"down"===c||"right"===c)return;let t=it(()=>{R.current&&ys(c,R.current,u)}),r=io(R.current);return r.addEventListener("resize",t),()=>{t.clear(),r.removeEventListener("resize",t)}},[c,f,u]),b.useEffect(()=>{f||D()},[f,D]),(0,v.jsx)(C,S({nodeRef:R,onEnter:M,onEntered:A,onEntering:I,onExit:N,onExited:j,onExiting:L,addEndListener:t=>{a&&a(R.current,t)},appear:s,in:f,timeout:k},O,{children:(t,r)=>b.cloneElement(l,S({ref:T,style:S({visibility:"exited"!==t||f?void 0:"hidden"},E,l.props.style)},r))}))});function yu(t){return r3("MuiDrawer",t)}nZ("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);let yc=["BackdropProps"],yd=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],yp=(t,r)=>{let{ownerState:n}=t;return[r.root,("permanent"===n.variant||"persistent"===n.variant)&&r.docked,r.modal]},yf=nM(lJ,{name:"MuiDrawer",slot:"Root",overridesResolver:yp})(({theme:t})=>({zIndex:(t.vars||t).zIndex.drawer})),yh=nM("div",{shouldForwardProp:nP,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:yp})({flex:"0 0 auto"}),ym=nM(iK,{name:"MuiDrawer",slot:"Paper",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.paper,r[`paperAnchor${tq(n.anchor)}`],"temporary"!==n.variant&&r[`paperAnchorDocked${tq(n.anchor)}`]]}})(({theme:t,ownerState:r})=>S({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(t.vars||t).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===r.anchor&&{left:0},"top"===r.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===r.anchor&&{right:0},"bottom"===r.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===r.anchor&&"temporary"!==r.variant&&{borderRight:`1px solid ${(t.vars||t).palette.divider}`},"top"===r.anchor&&"temporary"!==r.variant&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`},"right"===r.anchor&&"temporary"!==r.variant&&{borderLeft:`1px solid ${(t.vars||t).palette.divider}`},"bottom"===r.anchor&&"temporary"!==r.variant&&{borderTop:`1px solid ${(t.vars||t).palette.divider}`})),yg={left:"right",right:"left",top:"down",bottom:"up"},yy=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiDrawer"}),i=iH(),o=iL(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:l,children:u,className:c,elevation:d=16,hideBackdrop:f=!1,ModalProps:{BackdropProps:h}={},onClose:m,open:g=!1,PaperProps:y={},SlideProps:_,TransitionComponent:x=yl,transitionDuration:E=a,variant:k="temporary"}=n,C=w(n.ModalProps,yc),O=w(n,yd),P=b.useRef(!1);b.useEffect(()=>{P.current=!0},[]);let M=function({direction:t},r){return"rtl"===t&&-1!==["left","right"].indexOf(r)?yg[r]:r}({direction:o?"rtl":"ltr"},s),I=S({},n,{anchor:s,elevation:d,open:g,variant:k},O),A=(t=>{let{classes:r,anchor:n,variant:i}=t;return T({root:["root"],docked:[("permanent"===i||"persistent"===i)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${tq(n)}`,"temporary"!==i&&`paperAnchorDocked${tq(n)}`]},yu,r)})(I),L=(0,v.jsx)(ym,S({elevation:"temporary"===k?d:0,square:!0},y,{className:R(A.paper,y.className),ownerState:I,children:u}));if("permanent"===k)return(0,v.jsx)(yh,S({className:R(A.root,A.docked,c),ownerState:I,ref:r},O,{children:L}));let N=(0,v.jsx)(x,S({in:g,direction:yg[M],timeout:E,appear:P.current},_,{children:L}));return"persistent"===k?(0,v.jsx)(yh,S({className:R(A.root,A.docked,c),ownerState:I,ref:r},O,{children:N})):(0,v.jsx)(yf,S({BackdropProps:S({},l,h,{transitionDuration:E}),className:R(A.root,A.modal,c),open:g,ownerState:I,onClose:m,hideBackdrop:f,ref:r},O,C,{children:N}))});var yv=b.forwardRef((t,r)=>b.createElement(yy,{...t,ref:r}));let yb=nZ("MuiBox",["root"]),y_=function(t={}){let{themeId:r,defaultTheme:n,defaultClassName:i="MuiBox-root",generateClassName:o}=t,a=tN("div",{shouldForwardProp:t=>"theme"!==t&&"sx"!==t&&"as"!==t})(rV);return b.forwardRef(function(t,s){let l=nj(n),u=rJ(t),{className:c,component:d="div"}=u,f=w(u,nq);return(0,v.jsx)(a,S({as:d,ref:s,className:R(c,o?o(i):i),theme:r&&l[r]||l},f))})}({themeId:nR,defaultTheme:nC(),defaultClassName:yb.root,generateClassName:r2.generate});var yw=b.forwardRef((t,r)=>b.createElement(y_,{...t,ref:r}));let yS=()=>(0,v.jsx)(i3,{children:[,,,].fill(0).map((t,r)=>(0,v.jsxs)(yw,{children:[(0,v.jsxs)(i3,{gap:.5,sx:{mt:2},children:[(0,v.jsx)(gQ,{variant:"text",width:50,height:24}),(0,v.jsx)(gQ,{variant:"text",width:"100%",height:48}),(0,v.jsx)(gQ,{variant:"rectangular",width:"100%",height:200,sx:{borderRadius:1}}),(0,v.jsx)(gQ,{variant:"rounded",width:100,height:32,sx:{borderRadius:3,mt:1}}),(0,v.jsx)(gQ,{variant:"text",width:200,height:24}),(0,v.jsx)(gQ,{variant:"text",width:250,height:24}),(0,v.jsx)(gQ,{variant:"text",width:170,height:24})]}),r<2&&(0,v.jsx)(sa,{sx:{mt:1.5}})]},r))});var yx,yE={},yk={},yC={},yO={},yR={},yT={};function yP(){var t,r;return yx||(yx=1,Object.defineProperty(yT,"__esModule",{value:!0}),yT.Doctype=yT.CDATA=yT.Tag=yT.Style=yT.Script=yT.Comment=yT.Directive=yT.Text=yT.Root=yT.isTag=yT.ElementType=void 0,(r=t=yT.ElementType||(yT.ElementType={})).Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype",yT.isTag=function(r){return r.type===t.Tag||r.type===t.Script||r.type===t.Style},yT.Root=t.Root,yT.Text=t.Text,yT.Directive=t.Directive,yT.Comment=t.Comment,yT.Script=t.Script,yT.Style=t.Style,yT.Tag=t.Tag,yT.CDATA=t.CDATA,yT.Doctype=t.Doctype),yT}var yM,yI,yA={};function yL(){if(yM)return yA;yM=1;var t,r=yA&&yA.__extends||(t=function(r,n){return(t=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])})(r,n)},function(r,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=r}t(r,n),r.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),n=yA&&yA.__assign||function(){return(n=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++)for(var o in r=arguments[n])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t}).apply(this,arguments)};Object.defineProperty(yA,"__esModule",{value:!0}),yA.cloneNode=yA.hasChildren=yA.isDocument=yA.isDirective=yA.isComment=yA.isText=yA.isCDATA=yA.isTag=yA.Element=yA.Document=yA.CDATA=yA.NodeWithChildren=yA.ProcessingInstruction=yA.Comment=yA.Text=yA.DataNode=yA.Node=void 0;var i=yP(),o=function(){function t(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),t.prototype.cloneNode=function(t){return void 0===t&&(t=!1),w(this,t)},t}();yA.Node=o;var a=function(t){function n(r){var n=t.call(this)||this;return n.data=r,n}return r(n,t),Object.defineProperty(n.prototype,"nodeValue",{get:function(){return this.data},set:function(t){this.data=t},enumerable:!1,configurable:!0}),n}(o);yA.DataNode=a;var s=function(t){function n(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=i.ElementType.Text,r}return r(n,t),Object.defineProperty(n.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),n}(a);yA.Text=s;var l=function(t){function n(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=i.ElementType.Comment,r}return r(n,t),Object.defineProperty(n.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),n}(a);yA.Comment=l;var u=function(t){function n(r,n){var o=t.call(this,n)||this;return o.name=r,o.type=i.ElementType.Directive,o}return r(n,t),Object.defineProperty(n.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),n}(a);yA.ProcessingInstruction=u;var c=function(t){function n(r){var n=t.call(this)||this;return n.children=r,n}return r(n,t),Object.defineProperty(n.prototype,"firstChild",{get:function(){var t;return null!==(t=this.children[0])&&void 0!==t?t:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"childNodes",{get:function(){return this.children},set:function(t){this.children=t},enumerable:!1,configurable:!0}),n}(o);yA.NodeWithChildren=c;var d=function(t){function n(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=i.ElementType.CDATA,r}return r(n,t),Object.defineProperty(n.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),n}(c);yA.CDATA=d;var f=function(t){function n(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=i.ElementType.Root,r}return r(n,t),Object.defineProperty(n.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),n}(c);yA.Document=f;var h=function(t){function n(r,n,o,a){void 0===o&&(o=[]),void 0===a&&(a="script"===r?i.ElementType.Script:"style"===r?i.ElementType.Style:i.ElementType.Tag);var s=t.call(this,o)||this;return s.name=r,s.attribs=n,s.type=a,s}return r(n,t),Object.defineProperty(n.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tagName",{get:function(){return this.name},set:function(t){this.name=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"attributes",{get:function(){var t=this;return Object.keys(this.attribs).map(function(r){var n,i;return{name:r,value:t.attribs[r],namespace:null===(n=t["x-attribsNamespace"])||void 0===n?void 0:n[r],prefix:null===(i=t["x-attribsPrefix"])||void 0===i?void 0:i[r]}})},enumerable:!1,configurable:!0}),n}(c);function m(t){return(0,i.isTag)(t)}function g(t){return t.type===i.ElementType.CDATA}function y(t){return t.type===i.ElementType.Text}function v(t){return t.type===i.ElementType.Comment}function b(t){return t.type===i.ElementType.Directive}function _(t){return t.type===i.ElementType.Root}function w(t,r){var i;if(void 0===r&&(r=!1),y(t))i=new s(t.data);else if(v(t))i=new l(t.data);else if(m(t)){var o=r?S(t.children):[],a=new h(t.name,n({},t.attribs),o);o.forEach(function(t){return t.parent=a}),null!=t.namespace&&(a.namespace=t.namespace),t["x-attribsNamespace"]&&(a["x-attribsNamespace"]=n({},t["x-attribsNamespace"])),t["x-attribsPrefix"]&&(a["x-attribsPrefix"]=n({},t["x-attribsPrefix"])),i=a}else if(g(t)){var c=new d(o=r?S(t.children):[]);o.forEach(function(t){return t.parent=c}),i=c}else if(_(t)){var w=new f(o=r?S(t.children):[]);o.forEach(function(t){return t.parent=w}),t["x-mode"]&&(w["x-mode"]=t["x-mode"]),i=w}else{if(!b(t))throw Error("Not implemented yet: ".concat(t.type));var x=new u(t.name,t.data);null!=t["x-name"]&&(x["x-name"]=t["x-name"],x["x-publicId"]=t["x-publicId"],x["x-systemId"]=t["x-systemId"]),i=x}return i.startIndex=t.startIndex,i.endIndex=t.endIndex,null!=t.sourceCodeLocation&&(i.sourceCodeLocation=t.sourceCodeLocation),i}function S(t){for(var r=t.map(function(t){return w(t,!0)}),n=1;n<r.length;n++)r[n].prev=r[n-1],r[n-1].next=r[n];return r}return yA.Element=h,yA.isTag=m,yA.isCDATA=g,yA.isText=y,yA.isComment=v,yA.isDirective=b,yA.isDocument=_,yA.hasChildren=function(t){return Object.prototype.hasOwnProperty.call(t,"children")},yA.cloneNode=w,yA}function yN(){var t,r,n,i,o,a;return yI||(yI=1,t=yR&&yR.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);o&&!("get"in o?!r.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),r=yR&&yR.__exportStar||function(r,n){for(var i in r)"default"===i||Object.prototype.hasOwnProperty.call(n,i)||t(n,r,i)},Object.defineProperty(yR,"__esModule",{value:!0}),yR.DomHandler=void 0,n=yP(),i=yL(),r(yL(),yR),o={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},yR.DomHandler=a=function(){function t(t,r,n){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof r&&(n=r,r=o),"object"==typeof t&&(r=t,t=void 0),this.callback=null!=t?t:null,this.options=null!=r?r:o,this.elementCB=null!=n?n:null}return t.prototype.onparserinit=function(t){this.parser=t},t.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},t.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},t.prototype.onerror=function(t){this.handleCallback(t)},t.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},t.prototype.onopentag=function(t,r){var o=this.options.xmlMode?n.ElementType.Tag:void 0,a=new i.Element(t,r,void 0,o);this.addNode(a),this.tagStack.push(a)},t.prototype.ontext=function(t){var r=this.lastNode;if(r&&r.type===n.ElementType.Text)r.data+=t,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{var o=new i.Text(t);this.addNode(o),this.lastNode=o}},t.prototype.oncomment=function(t){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment)this.lastNode.data+=t;else{var r=new i.Comment(t);this.addNode(r),this.lastNode=r}},t.prototype.oncommentend=function(){this.lastNode=null},t.prototype.oncdatastart=function(){var t=new i.Text(""),r=new i.CDATA([t]);this.addNode(r),t.parent=r,this.lastNode=t},t.prototype.oncdataend=function(){this.lastNode=null},t.prototype.onprocessinginstruction=function(t,r){var n=new i.ProcessingInstruction(t,r);this.addNode(n)},t.prototype.handleCallback=function(t){if("function"==typeof this.callback)this.callback(t,this.dom);else if(t)throw t},t.prototype.addNode=function(t){var r=this.tagStack[this.tagStack.length-1],n=r.children[r.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),r.children.push(t),n&&(t.prev=n,n.next=t),t.parent=r,this.lastNode=null},t}(),yR.default=a),yR}var yj,yD,yF,yB,y$={};function yU(){if(yD)return yO;yD=1,Object.defineProperty(yO,"__esModule",{value:!0}),yO.formatAttributes=n,yO.escapeSpecialCharacters=function(t){return t.replace(r.CARRIAGE_RETURN_REGEX,r.CARRIAGE_RETURN_PLACEHOLDER)},yO.revertEscapedCharacters=i,yO.formatDOM=function o(a,s,l){void 0===s&&(s=null);for(var u,c=[],d=0,f=a.length;d<f;d++){var h=a[d];switch(h.nodeType){case 1:var m=function(t){var n;return n=t=t.toLowerCase(),r.CASE_SENSITIVE_TAG_NAMES_MAP[n]||t}(h.nodeName);(u=new t.Element(m,n(h.attributes))).children=o("template"===m?h.content.childNodes:h.childNodes,u);break;case 3:u=new t.Text(i(h.nodeValue));break;case 8:u=new t.Comment(h.nodeValue);break;default:continue}var g=c[d-1]||null;g&&(g.next=u),u.parent=s,u.prev=g,u.next=null,c.push(u)}return l&&((u=new t.ProcessingInstruction(l.substring(0,l.indexOf(" ")).toLowerCase(),l)).next=c[0]||null,u.parent=s,c.unshift(u),c[1]&&(c[1].prev=c[0])),c};var t=yN(),r=(yj||(yj=1,Object.defineProperty(y$,"__esModule",{value:!0}),y$.CARRIAGE_RETURN_PLACEHOLDER_REGEX=y$.CARRIAGE_RETURN_PLACEHOLDER=y$.CARRIAGE_RETURN_REGEX=y$.CARRIAGE_RETURN=y$.CASE_SENSITIVE_TAG_NAMES_MAP=y$.CASE_SENSITIVE_TAG_NAMES=void 0,y$.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"],y$.CASE_SENSITIVE_TAG_NAMES_MAP=y$.CASE_SENSITIVE_TAG_NAMES.reduce(function(t,r){return t[r.toLowerCase()]=r,t},{}),y$.CARRIAGE_RETURN="\r",y$.CARRIAGE_RETURN_REGEX=RegExp(y$.CARRIAGE_RETURN,"g"),y$.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),y$.CARRIAGE_RETURN_PLACEHOLDER_REGEX=RegExp(y$.CARRIAGE_RETURN_PLACEHOLDER,"g")),y$);function n(t){for(var r={},n=0,i=t.length;n<i;n++){var o=t[n];r[o.name]=o.value}return r}function i(t){return t.replace(r.CARRIAGE_RETURN_PLACEHOLDER_REGEX,r.CARRIAGE_RETURN)}return yO}var yz,yq,yZ,yH,yV,yW,yG,yK,yX,yY,yJ={},yQ={},y0={},y1={},y2={},y5={};function y3(){var t,r,n,i;return yX||(yX=1,t=y1&&y1.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},Object.defineProperty(y1,"__esModule",{value:!0}),y1.returnFirstArg=y1.canTextBeChildOfNode=y1.ELEMENTS_WITH_NO_TEXT_CHILDREN=y1.PRESERVE_CUSTOM_ATTRIBUTES=void 0,y1.isCustomComponent=function(t,r){return t.includes("-")?!n.has(t):!!(r&&"string"==typeof r.is)},y1.setStyleProp=function(t,n){if("string"==typeof t)if(t.trim())try{n.style=(0,r.default)(t,i)}catch(t){n.style={}}else n.style={}},r=t(function(){if(yK)return yG;yK=1;var t=(yG&&yG.__importDefault||function(t){return t&&t.__esModule?t:{default:t}})(function(){if(yV)return y2;yV=1;var t=y2&&y2.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(y2,"__esModule",{value:!0}),y2.default=function(t,n){var i=null;if(!t||"string"!=typeof t)return i;var o=(0,r.default)(t),a="function"==typeof n;return o.forEach(function(t){if("declaration"===t.type){var r=t.property,o=t.value;a?n(r,o,t):o&&((i=i||{})[r]=o)}}),i};var r=t(function(){if(yH)return yZ;yH=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g;function u(t){return t?t.replace(l,""):""}return yZ=function(l,c){if("string"!=typeof l)throw TypeError("First argument must be a string");if(!l)return[];c=c||{};var d=1,f=1;function h(t){var n=t.match(r);n&&(d+=n.length);var i=t.lastIndexOf("\n");f=~i?t.length-i:f+t.length}function m(){var t={line:d,column:f};return function(r){return r.position=new g(t),v(n),r}}function g(t){this.start=t,this.end={line:d,column:f},this.source=c.source}function y(t){var r=Error(c.source+":"+d+":"+f+": "+t);if(r.reason=t,r.filename=c.source,r.line=d,r.column=f,r.source=l,!c.silent)throw r}function v(t){var r=t.exec(l);if(r){var n=r[0];return h(n),l=l.slice(n.length),r}}function b(t){var r;for(t=t||[];r=_();)!1!==r&&t.push(r);return t}function _(){var t=m();if("/"==l.charAt(0)&&"*"==l.charAt(1)){for(var r=2;""!=l.charAt(r)&&("*"!=l.charAt(r)||"/"!=l.charAt(r+1));)++r;if(r+=2,""===l.charAt(r-1))return y("End of comment missing");var n=l.slice(2,r-2);return f+=2,h(n),l=l.slice(r),f+=2,t({type:"comment",comment:n})}}return g.prototype.content=l,v(n),function(){var r,n=[];for(b(n);r=function(){var r=m(),n=v(i);if(n){if(_(),!v(o))return y("property missing ':'");var l=v(a),c=r({type:"declaration",property:u(n[0].replace(t,"")),value:l?u(l[0].replace(t,"")):""});return v(s),c}}();)!1!==r&&(n.push(r),b(n));return n}()}}());return y2}()),r=function(){if(yW)return y5;yW=1,Object.defineProperty(y5,"__esModule",{value:!0}),y5.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,n=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,a=function(t,r){return r.toUpperCase()},s=function(t,r){return"".concat(r,"-")};return y5.camelCase=function(l,u){var c;return void 0===u&&(u={}),!(c=l)||n.test(c)||t.test(c)?l:(l=l.toLowerCase(),(l=u.reactCompat?l.replace(o,s):l.replace(i,s)).replace(r,a))},y5}();function n(n,i){var o={};return n&&"string"==typeof n&&(0,t.default)(n,function(t,n){t&&n&&(o[(0,r.camelCase)(t,i)]=n)}),o}return n.default=n,yG=n}()),n=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),i={reactCompat:!0},y1.PRESERVE_CUSTOM_ATTRIBUTES=Number(b.version.split(".")[0])>=16,y1.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),y1.canTextBeChildOfNode=function(t){return!y1.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(t.name)},y1.returnFirstArg=function(t){return t}),y1}function y6(){if(yY)return yJ;yY=1,Object.defineProperty(yJ,"__esModule",{value:!0}),yJ.default=function(s,l){void 0===s&&(s={});var u={},c=!!(s.type&&o[s.type]);for(var d in s){var f=s[d];if((0,t.isCustomAttribute)(d))u[d]=f;else{var h=d.toLowerCase(),m=a(h);if(m){var g=(0,t.getPropertyInfo)(m);switch(n.includes(m)&&i.includes(l)&&!c&&(m=a("default"+h)),u[m]=f,g&&g.type){case t.BOOLEAN:u[m]=!0;break;case t.OVERLOADED_BOOLEAN:""===f&&(u[m]=!0)}}else r.PRESERVE_CUSTOM_ATTRIBUTES&&(u[d]=f)}}return(0,r.setStyleProp)(s.style,u),u};var t=function(){if(yq)return yQ;function t(t,r,n,i,o,a,s){this.acceptsBooleans=2===r||3===r||4===r,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=t,this.type=r,this.sanitizeURL=a,this.removeEmptyString=s}yq=1;let r={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(n=>{r[n]=new t(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([n,i])=>{r[n]=new t(n,1,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(n=>{r[n]=new t(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(n=>{r[n]=new t(n,2,!1,n,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(n=>{r[n]=new t(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(n=>{r[n]=new t(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(n=>{r[n]=new t(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(n=>{r[n]=new t(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(n=>{r[n]=new t(n,5,!1,n.toLowerCase(),null,!1,!1)});let n=/[\-\:]([a-z])/g,i=t=>t[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(o=>{let a=o.replace(n,i);r[a]=new t(a,1,!1,o,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(o=>{let a=o.replace(n,i);r[a]=new t(a,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(o=>{let a=o.replace(n,i);r[a]=new t(a,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(n=>{r[n]=new t(n,1,!1,n.toLowerCase(),null,!1,!1)}),r.xlinkHref=new t("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(n=>{r[n]=new t(n,1,!1,n.toLowerCase(),null,!0,!0)});let{CAMELCASE:o,SAME:a,possibleStandardNames:s}=(yz||(yz=1,y0.SAME=0,y0.CAMELCASE=1,y0.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}),y0),l=RegExp.prototype.test.bind(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]*$")),u=Object.keys(s).reduce((t,r)=>{let n=s[r];return n===a?t[r]=r:n===o?t[r.toLowerCase()]=r:t[r]=n,t},{});return yQ.BOOLEAN=3,yQ.BOOLEANISH_STRING=2,yQ.NUMERIC=5,yQ.OVERLOADED_BOOLEAN=4,yQ.POSITIVE_NUMERIC=6,yQ.RESERVED=0,yQ.STRING=1,yQ.getPropertyInfo=function(t){return r.hasOwnProperty(t)?r[t]:null},yQ.isCustomAttribute=l,yQ.possibleStandardNames=u,yQ}(),r=y3(),n=["checked","value"],i=["input","select","textarea"],o={reset:!0,submit:!0};function a(r){return t.possibleStandardNames[r]}return yJ}var y4,y8,y7={};let y9=x((y8||(y8=1,wv=yE&&yE.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},Object.defineProperty(yE,"__esModule",{value:!0}),yE.htmlToDOM=yE.domToReact=yE.attributesToProps=yE.Text=yE.ProcessingInstruction=yE.Element=yE.Comment=void 0,yE.default=function(t,r){if("string"!=typeof t)throw TypeError("First argument must be a string");return t?(0,w_.default)((0,wb.default)(t,(null==r?void 0:r.htmlparser2)||wS),r):[]},yE.htmlToDOM=(wb=wv(function(){if(yB)return yk;yB=1;var t=yk&&yk.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yk,"__esModule",{value:!0}),yk.default=function(t){if("string"!=typeof t)throw TypeError("First argument must be a string");if(!t)return[];var o=t.match(i),a=o?o[1]:void 0;return(0,n.formatDOM)((0,r.default)(t),null,a)};var r=t(function(){if(yF)return yC;yF=1,Object.defineProperty(yC,"__esModule",{value:!0}),yC.default=function(c){var d,f,m,g=(c=(0,t.escapeSpecialCharacters)(c)).match(o),y=g&&g[1]?g[1].toLowerCase():"";switch(y){case r:var v=u(c);return a.test(c)||null===(f=null==(d=v.querySelector(n))?void 0:d.parentNode)||void 0===f||f.removeChild(d),s.test(c)||null===(m=null==(d=v.querySelector(i))?void 0:d.parentNode)||void 0===m||m.removeChild(d),v.querySelectorAll(r);case n:case i:var b=l(c).querySelectorAll(y);return s.test(c)&&a.test(c)?b[0].parentNode.childNodes:b;default:return h?h(c):(d=l(c,i).querySelector(i)).childNodes}};var t=yU(),r="html",n="head",i="body",o=/<([a-zA-Z]+[0-9]?)/,a=/<head[^]*>/i,s=/<body[^]*>/i,l=function(t,r){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(t,r){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"==typeof window&&window.DOMParser;if("function"==typeof c){var d=new c;l=u=function(t,r){return r&&(t="<".concat(r,">").concat(t,"</").concat(r,">")),d.parseFromString(t,"text/html")}}if("object"==typeof document&&document.implementation){var f=document.implementation.createHTMLDocument();l=function(t,r){if(r){var n=f.documentElement.querySelector(r);return n&&(n.innerHTML=t),f}return f.documentElement.innerHTML=t,f}}var h,m="object"==typeof document&&document.createElement("template");return m&&m.content&&(h=function(t){return m.innerHTML=t,m.content.childNodes}),yC}()),n=yU(),i=/<(![a-zA-Z\s]+)>/;return yk}())).default,yE.attributesToProps=wv(y6()).default,yE.domToReact=(w_=wv(function(){if(y4)return y7;y4=1;var t=y7&&y7.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(y7,"__esModule",{value:!0}),y7.default=function t(o,a){void 0===a&&(a={});for(var s=[],l="function"==typeof a.replace,u=a.transform||n.returnFirstArg,c=a.library||i,d=c.cloneElement,f=c.createElement,h=c.isValidElement,m=o.length,g=0;g<m;g++){var y=o[g];if(l){var v=a.replace(y,g);if(h(v)){m>1&&(v=d(v,{key:v.key||g})),s.push(u(v,y,g));continue}}if("text"!==y.type){var b,_={};(b=y,n.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===b.type&&(0,n.isCustomComponent)(b.name,b.attribs))?((0,n.setStyleProp)(y.attribs.style,y.attribs),_=y.attribs):y.attribs&&(_=(0,r.default)(y.attribs,y.name));var w=void 0;switch(y.type){case"script":case"style":y.children[0]&&(_.dangerouslySetInnerHTML={__html:y.children[0].data});break;case"tag":"textarea"===y.name&&y.children[0]?_.defaultValue=y.children[0].data:y.children&&y.children.length&&(w=t(y.children,a));break;default:continue}m>1&&(_.key=g),s.push(u(f(y.name,_,w),y,g))}else{var S=!y.data.trim().length;if(S&&y.parent&&!(0,n.canTextBeChildOfNode)(y.parent)||a.trim&&S)continue;s.push(u(y.data,y,g))}}return 1===s.length?s[0]:s};var r=t(y6()),n=y3(),i={cloneElement:b.cloneElement,createElement:b.createElement,isValidElement:b.isValidElement};return y7}())).default,ww=yN(),Object.defineProperty(yE,"Comment",{enumerable:!0,get:function(){return ww.Comment}}),Object.defineProperty(yE,"Element",{enumerable:!0,get:function(){return ww.Element}}),Object.defineProperty(yE,"ProcessingInstruction",{enumerable:!0,get:function(){return ww.ProcessingInstruction}}),Object.defineProperty(yE,"Text",{enumerable:!0,get:function(){return ww.Text}}),wS={lowerCaseAttributeNames:!1}),yE)),ve=y9.default||y9,{slots:vt,classNames:vr}=o2("Image",["root"]),vn=o4("img",vt.root)(({theme:t,ownerState:r})=>{let{variant:n="square"}=r;return{borderRadius:({square:void 0,rounded:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2],circle:"50%"})[n]}}),vi={variant:"square"},vo=b.forwardRef((t,r)=>{let n=nF({props:{...vi,...t},name:vt.root.name});return b.createElement(vn,{...n,ref:r,className:R([[vr.root,n.className]]),ownerState:n})});vo.defaultProps=vi;let va=({id:t,title:r,description:n,topic:i,imageSrc:o,chipTags:a,link:s,readMoreText:l,cta:u,ctaLink:c,onItemClickedCallback:d})=>{let{t:f}=sQ("assets-whatsnew",{i18n:ce}),[h,m]=(0,b.useState)(!!o);(0,b.useEffect)(()=>{o&&m(!0)},[o]);let g=(0,b.useMemo)(()=>{let r=`${t}.chipTags`;if(ce.exists(r,{ns:"assets-whatsnew"})){let t=f(r,{returnObjects:!0});if(Array.isArray(t)&&t.length>0)return t}return a},[f,t,a]),y=()=>{d?.()};return(0,v.jsxs)(yw,{marginTop:2,children:[i&&(0,v.jsx)(os,{variant:"caption",color:"text.tertiary",children:f(`${t}.topic`,{defaultValue:i})}),(0,v.jsx)(os,{variant:"subtitle1",color:"text.primary",children:f(`${t}.title`,{defaultValue:r})}),o&&(0,v.jsxs)(yw,{style:{marginBottom:16,position:"relative"},children:[h&&(0,v.jsx)(gQ,{variant:"rectangular",width:"100%",height:200,sx:{borderRadius:1}}),(0,v.jsx)(vo,{src:o,alt:f(`${t}.title`,{defaultValue:r}),onLoad:()=>{m(!1)},onError:()=>{m(!1)},style:{width:"100%",height:"auto",display:h?"none":"block"}})]}),a&&g&&(0,v.jsx)(yw,{display:"flex",gap:1,flexWrap:"wrap",marginBottom:1,children:a.map((r,n)=>{let i=g[n]||r;return(0,v.jsx)(yt,{variant:"outlined",label:i},`${t}-${r}`)})}),(0,v.jsxs)(os,{variant:"body2",color:t=>t.palette.text.secondary,sx:{marginBottom:1},children:[ve(f(`${t}.description`,{defaultValue:n})),l&&(0,v.jsx)("a",{href:s,target:"_blank",rel:"noreferrer",onClick:y,children:" "+f(`${t}.readMoreText`,{defaultValue:l})})]}),u&&(0,v.jsx)(sF,{variant:"contained",color:"promotion",href:c,target:"_blank",onClick:y,children:f(`${t}.cta`,{defaultValue:u})})]})};var vs=b.forwardRef((t,r)=>b.createElement(a8,{viewBox:"0 0 24 24",...t,ref:r},b.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"})));let vl=({appSettings:t})=>{let{t:r}=sQ("common",{i18n:ce}),{data:n,isLoading:i,error:o}=(({appName:t,appVersion:r})=>pO({queryKey:["notifications",t,r],queryFn:async()=>(await Qy.getNotifications(t,r)).filter((t,r,n)=>n.findIndex(r=>r.id===t.id)===r),retry:!1}))({appName:t.slug,appVersion:t.version});return i?(0,v.jsx)(yS,{}):o?(0,v.jsxs)(i3,{sx:{height:"100%"},alignItems:"center",justifyContent:"center",children:[(0,v.jsx)(vs,{color:"error",fontSize:"large"}),(0,v.jsx)(os,{variant:"subtitle2",color:"text.secondary",textAlign:"center",children:r("header.whatsNewError")})]}):n?.map((t,r)=>(0,v.jsxs)(yw,{"data-test":`whats-new-card-${r}`,children:[(0,v.jsx)(va,{...t}),(0,v.jsx)(sa,{sx:{margin:"16px 0"}})]},t.id))};var vu=b.forwardRef((t,r)=>b.createElement(a8,{viewBox:"0 0 24 24",...t,ref:r},b.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"}),b.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"})));let vc=({appSettings:t,onClose:r})=>{let{t:n}=sQ("common",{i18n:ce});return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(yw,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,v.jsx)(os,{variant:"subtitle1",color:"primary.text",children:n("header.whatsNew")}),(0,v.jsx)(a2,{onClick:()=>{r()},"data-test":"service-banner-close",children:(0,v.jsx)(vu,{})})]}),(0,v.jsx)(vl,{appSettings:t})]})};function vd(t){return r3("MuiBadge",t)}let vp=nZ("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"]),vf=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],vh=nM("span",{name:"MuiBadge",slot:"Root",overridesResolver:(t,r)=>r.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),vm=nM("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.badge,r[n.variant],r[`anchorOrigin${tq(n.anchorOrigin.vertical)}${tq(n.anchorOrigin.horizontal)}${tq(n.overlap)}`],"default"!==n.color&&r[`color${tq(n.color)}`],n.invisible&&r.invisible]}})(({theme:t})=>{var r;return{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.enteringScreen}),variants:[...Object.keys((null!=(r=t.vars)?r:t).palette).filter(r=>{var n,i;return(null!=(n=t.vars)?n:t).palette[r].main&&(null!=(i=t.vars)?i:t).palette[r].contrastText}).map(r=>({props:{color:r},style:{backgroundColor:(t.vars||t).palette[r].main,color:(t.vars||t).palette[r].contrastText}})),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${vp.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${vp.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${vp.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${vp.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${vp.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${vp.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${vp.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${vp.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.leavingScreen})}}]}}),vg=b.forwardRef(function(t,r){var n,i,o,a,s,l;let u=nF({props:t,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:d,component:f,components:h={},componentsProps:m={},children:g,overlap:y="rectangular",color:b="default",invisible:_=!1,max:x=99,badgeContent:E,slots:k,slotProps:C,showZero:O=!1,variant:P="standard"}=u,M=w(u,vf),{badgeContent:I,invisible:A,max:L,displayValue:N}=function(t){let{badgeContent:r,invisible:n=!1,max:i=99,showZero:o=!1}=t,a=iC({badgeContent:r,max:i}),s=n;!1!==n||0!==r||o||(s=!0);let{badgeContent:l,max:u=i}=s?a:t;return{badgeContent:l,invisible:s,max:u,displayValue:l&&Number(l)>u?`${u}+`:l}}({max:x,invisible:_,badgeContent:E,showZero:O}),j=iC({anchorOrigin:c,color:b,overlap:y,variant:P,badgeContent:E}),D=A||null==I&&"dot"!==P,{color:F=b,overlap:B=y,anchorOrigin:$=c,variant:U=P}=D?j:u,z="dot"!==U?N:void 0,q=S({},u,{badgeContent:I,invisible:D,max:L,displayValue:z,showZero:O,anchorOrigin:$,color:F,overlap:B,variant:U}),Z=(t=>{let{color:r,anchorOrigin:n,invisible:i,overlap:o,variant:a,classes:s={}}=t;return T({root:["root"],badge:["badge",a,i&&"invisible",`anchorOrigin${tq(n.vertical)}${tq(n.horizontal)}`,`anchorOrigin${tq(n.vertical)}${tq(n.horizontal)}${tq(o)}`,`overlap${tq(o)}`,"default"!==r&&`color${tq(r)}`]},vd,s)})(q),H=null!=(n=null!=(i=null==k?void 0:k.root)?i:h.Root)?n:vh,V=null!=(o=null!=(a=null==k?void 0:k.badge)?a:h.Badge)?o:vm,W=null!=(s=null==C?void 0:C.root)?s:m.root,G=null!=(l=null==C?void 0:C.badge)?l:m.badge,K=lh({elementType:H,externalSlotProps:W,externalForwardedProps:M,additionalProps:{ref:r,as:f},ownerState:q,className:R(null==W?void 0:W.className,Z.root,d)}),X=lh({elementType:V,externalSlotProps:G,ownerState:q,className:R(Z.badge,null==G?void 0:G.className)});return(0,v.jsxs)(H,S({},K,{children:[g,(0,v.jsx)(V,S({},X,{children:z}))]}))});var vy=b.forwardRef((t,r)=>b.createElement(vg,{...t,ref:r}));let vv=({appSettings:t,containerSx:r={},notificationsApiUrl:n,onClick:i})=>{sQ("assets-whatsnew",{i18n:ce});let[o,a]=(0,b.useState)(!1),[s,l]=(0,b.useState)(!1),u=()=>{a(!1)};return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(vy,{color:"primary",overlap:"circular",badgeContent:"",invisible:s,variant:"dot",children:(0,v.jsx)(a2,{onClick:()=>{i(),o||s||l(!0),a(!o)},"data-test":"whats-new-button",size:"small",children:(0,v.jsx)(yo,{fontSize:"small"})})}),(0,v.jsx)(a0,{colorScheme:"light",children:(0,v.jsx)(yv,{variant:"temporary",open:o,disableScrollLock:!0,anchor:"right",onClose:u,sx:r,disableEnforceFocus:!0,children:(0,v.jsx)(vc,{appSettings:t,onClose:u,notificationsApiUrl:n})})})]})};var vb=t=>"checkbox"===t.type,v_=t=>t instanceof Date,vw=t=>null==t;let vS=t=>"object"==typeof t;var vx=t=>!vw(t)&&!Array.isArray(t)&&vS(t)&&!v_(t),vE=t=>vx(t)&&t.target?vb(t.target)?t.target.checked:t.target.value:t,vk=(t,r)=>t.has(r.substring(0,r.search(/\.\d+(\.|$)/))||r),vC=t=>{let r=t.constructor&&t.constructor.prototype;return vx(r)&&r.hasOwnProperty("isPrototypeOf")},vO="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function vR(t){let r,n=Array.isArray(t),i="undefined"!=typeof FileList&&t instanceof FileList;if(t instanceof Date)r=new Date(t);else{if(vO&&(t instanceof Blob||i)||!n&&!vx(t))return t;if(r=n?[]:Object.create(Object.getPrototypeOf(t)),n||vC(t))for(let n in t)t.hasOwnProperty(n)&&(r[n]=vR(t[n]));else r=t}return r}var vT=t=>/^\w*$/.test(t),vP=t=>void 0===t,vM=t=>Array.isArray(t)?t.filter(Boolean):[],vI=t=>vM(t.replace(/["|']|\]/g,"").split(/\.|\[/)),vA=(t,r,n)=>{if(!r||!vx(t))return n;let i=(vT(r)?[r]:vI(r)).reduce((t,r)=>vw(t)?t:t[r],t);return vP(i)||i===t?vP(t[r])?n:t[r]:i},vL=t=>"boolean"==typeof t,vN=(t,r,n)=>{let i=-1,o=vT(r)?[r]:vI(r),a=o.length,s=a-1;for(;++i<a;){let r=o[i],a=n;if(i!==s){let n=t[r];a=vx(n)||Array.isArray(n)?n:isNaN(+o[i+1])?{}:[]}if("__proto__"===r||"constructor"===r||"prototype"===r)return;t[r]=a,t=t[r]}};let vj="blur",vD="onChange",vF="onSubmit",vB="pattern",v$="required",vU=b.createContext(null);vU.displayName="HookFormContext";let vz=()=>b.useContext(vU);var vq=(t,r,n,i=!0)=>{let o={defaultValues:r._defaultValues};for(let a in t)Object.defineProperty(o,a,{get:()=>("all"!==r._proxyFormState[a]&&(r._proxyFormState[a]=!i||"all"),n&&(n[a]=!0),t[a])});return o};let vZ="undefined"!=typeof window?b.useLayoutEffect:b.useEffect;var vH=t=>"string"==typeof t,vV=(t,r,n,i,o)=>vH(t)?(i&&r.watch.add(t),vA(n,t,o)):Array.isArray(t)?t.map(t=>(i&&r.watch.add(t),vA(n,t))):(i&&(r.watchAll=!0),n),vW=t=>vw(t)||!vS(t);function vG(t,r,n=new WeakSet){if(vW(t)||vW(r))return t===r;if(v_(t)&&v_(r))return t.getTime()===r.getTime();let i=Object.keys(t),o=Object.keys(r);if(i.length!==o.length)return!1;if(n.has(t)||n.has(r))return!0;for(let a of(n.add(t),n.add(r),i)){let i=t[a];if(!o.includes(a))return!1;if("ref"!==a){let t=r[a];if(v_(i)&&v_(t)||vx(i)&&vx(t)||Array.isArray(i)&&Array.isArray(t)?!vG(i,t,n):i!==t)return!1}}return!0}let vK=t=>t.render(function(t){let r=vz(),{name:n,disabled:i,control:o=r.control,shouldUnregister:a,defaultValue:s}=t,l=vk(o._names.array,n),u=b.useMemo(()=>vA(o._formValues,n,vA(o._defaultValues,n,s)),[o,n,s]),c=function(t){let r=vz(),{control:n=r.control,name:i,defaultValue:o,disabled:a,exact:s,compute:l}=t||{},u=b.useRef(o),c=b.useRef(l),d=b.useRef(void 0);c.current=l;let f=b.useMemo(()=>n._getWatch(i,u.current),[n,i]),[h,m]=b.useState(c.current?c.current(f):f);return vZ(()=>n._subscribe({name:i,formState:{values:!0},exact:s,callback:t=>{if(!a){let r=vV(i,n._names,t.values||n._formValues,!1,u.current);if(c.current){let t=c.current(r);vG(t,d.current)||(m(t),d.current=t)}else m(r)}}}),[n,a,i,s]),b.useEffect(()=>n._removeUnmounted()),h}({control:o,name:n,defaultValue:u,exact:!0}),d=function(t){let r=vz(),{control:n=r.control,disabled:i,name:o,exact:a}=t||{},[s,l]=b.useState(n._formState),u=b.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return vZ(()=>n._subscribe({name:o,formState:u.current,exact:a,callback:t=>{i||l({...n._formState,...t})}}),[o,i,a]),b.useEffect(()=>{u.current.isValid&&n._setValid(!0)},[n]),b.useMemo(()=>vq(s,n,u.current,!1),[s,n])}({control:o,name:n,exact:!0}),f=b.useRef(t),h=b.useRef(o.register(n,{...t.rules,value:c,...vL(t.disabled)?{disabled:t.disabled}:{}}));f.current=t;let m=b.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!vA(d.errors,n)},isDirty:{enumerable:!0,get:()=>!!vA(d.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!vA(d.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!vA(d.validatingFields,n)},error:{enumerable:!0,get:()=>vA(d.errors,n)}}),[d,n]),g=b.useCallback(t=>h.current.onChange({target:{value:vE(t),name:n},type:"change"}),[n]),y=b.useCallback(()=>h.current.onBlur({target:{value:vA(o._formValues,n),name:n},type:vj}),[n,o._formValues]),v=b.useCallback(t=>{let r=vA(o._fields,n);r&&t&&(r._f.ref={focus:()=>t.focus&&t.focus(),select:()=>t.select&&t.select(),setCustomValidity:r=>t.setCustomValidity(r),reportValidity:()=>t.reportValidity()})},[o._fields,n]),_=b.useMemo(()=>({name:n,value:c,...vL(i)||d.disabled?{disabled:d.disabled||i}:{},onChange:g,onBlur:y,ref:v}),[n,i,d.disabled,g,y,v,c]);return b.useEffect(()=>{let t=o._options.shouldUnregister||a;o.register(n,{...f.current.rules,...vL(f.current.disabled)?{disabled:f.current.disabled}:{}});let r=(t,r)=>{let n=vA(o._fields,t);n&&n._f&&(n._f.mount=r)};if(r(n,!0),t){let t=vR(vA(o._options.defaultValues,n));vN(o._defaultValues,n,t),vP(vA(o._formValues,n))&&vN(o._formValues,n,t)}return l||o.register(n),()=>{(l?t&&!o._state.action:t)?o.unregister(n):r(n,!1)}},[n,o,l,a]),b.useEffect(()=>{o._setDisabledField({disabled:i,name:n})},[i,n,o]),b.useMemo(()=>({field:_,formState:d,fieldState:m}),[_,d,m])}(t));var vX=(t,r,n,i,o)=>r?{...n[t],types:{...n[t]&&n[t].types?n[t].types:{},[i]:o||!0}}:{},vY=t=>Array.isArray(t)?t:[t],vJ=()=>{let t=[];return{get observers(){return t},next:r=>{for(let n of t)n.next&&n.next(r)},subscribe:r=>(t.push(r),{unsubscribe:()=>{t=t.filter(t=>t!==r)}}),unsubscribe:()=>{t=[]}}},vQ=t=>vx(t)&&!Object.keys(t).length,v0=t=>"file"===t.type,v1=t=>"function"==typeof t,v2=t=>{if(!vO)return!1;let r=t?t.ownerDocument:0;return t instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},v5=t=>"select-multiple"===t.type,v3=t=>"radio"===t.type,v6=t=>v2(t)&&t.isConnected;function v4(t,r){let n=Array.isArray(r)?r:vT(r)?[r]:vI(r),i=1===n.length?t:function(t,r){let n=r.slice(0,-1).length,i=0;for(;i<n;)t=vP(t)?i++:t[r[i++]];return t}(t,n),o=n.length-1,a=n[o];return i&&delete i[a],0!==o&&(vx(i)&&vQ(i)||Array.isArray(i)&&function(t){for(let r in t)if(t.hasOwnProperty(r)&&!vP(t[r]))return!1;return!0}(i))&&v4(t,n.slice(0,-1)),t}var v8=t=>{for(let r in t)if(v1(t[r]))return!0;return!1};function v7(t,r={}){let n=Array.isArray(t);if(vx(t)||n)for(let n in t)Array.isArray(t[n])||vx(t[n])&&!v8(t[n])?(r[n]=Array.isArray(t[n])?[]:{},v7(t[n],r[n])):vw(t[n])||(r[n]=!0);return r}var v9=(t,r)=>(function t(r,n,i){let o=Array.isArray(r);if(vx(r)||o)for(let o in r)Array.isArray(r[o])||vx(r[o])&&!v8(r[o])?vP(n)||vW(i[o])?i[o]=Array.isArray(r[o])?v7(r[o],[]):{...v7(r[o])}:t(r[o],vw(n)?{}:n[o],i[o]):i[o]=!vG(r[o],n[o]);return i})(t,r,v7(r));let be={value:!1,isValid:!1},bt={value:!0,isValid:!0};var br=t=>{if(Array.isArray(t)){if(t.length>1){let r=t.filter(t=>t&&t.checked&&!t.disabled).map(t=>t.value);return{value:r,isValid:!!r.length}}return t[0].checked&&!t[0].disabled?t[0].attributes&&!vP(t[0].attributes.value)?vP(t[0].value)||""===t[0].value?bt:{value:t[0].value,isValid:!0}:bt:be}return be},bn=(t,{valueAsNumber:r,valueAsDate:n,setValueAs:i})=>vP(t)?t:r?""===t?NaN:t?+t:t:n&&vH(t)?new Date(t):i?i(t):t;let bi={isValid:!1,value:null};var bo=t=>Array.isArray(t)?t.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,bi):bi;function ba(t){let r=t.ref;return v0(r)?r.files:v3(r)?bo(t.refs).value:v5(r)?[...r.selectedOptions].map(({value:t})=>t):vb(r)?br(t.refs).value:bn(vP(r.value)?t.ref.value:r.value,t)}var bs=t=>t instanceof RegExp,bl=t=>vP(t)?t:bs(t)?t.source:vx(t)?bs(t.value)?t.value.source:t.value:t,bu=t=>({isOnSubmit:!t||t===vF,isOnBlur:"onBlur"===t,isOnChange:t===vD,isOnAll:"all"===t,isOnTouch:"onTouched"===t});let bc="AsyncFunction";var bd=(t,r,n)=>!n&&(r.watchAll||r.watch.has(t)||[...r.watch].some(r=>t.startsWith(r)&&/^\.\w+/.test(t.slice(r.length))));let bp=(t,r,n,i)=>{for(let o of n||Object.keys(t)){let n=vA(t,o);if(n){let{_f:t,...a}=n;if(t){if(t.refs&&t.refs[0]&&r(t.refs[0],o)&&!i||t.ref&&r(t.ref,t.name)&&!i)return!0;if(bp(a,r))break}else if(vx(a)&&bp(a,r))break}}};function bh(t,r,n){let i=vA(t,n);if(i||vT(n))return{error:i,name:n};let o=n.split(".");for(;o.length;){let i=o.join("."),a=vA(r,i),s=vA(t,i);if(a&&!Array.isArray(a)&&n!==i)break;if(s&&s.type)return{name:i,error:s};if(s&&s.root&&s.root.type)return{name:`${i}.root`,error:s.root};o.pop()}return{name:n}}var bm=(t,r,n)=>{let i=vY(vA(t,n));return vN(i,"root",r[n]),vN(t,n,i),t},bg=t=>vH(t);function by(t,r,n="validate"){if(bg(t)||Array.isArray(t)&&t.every(bg)||vL(t)&&!t)return{type:n,message:bg(t)?t:"",ref:r}}var bv=t=>vx(t)&&!bs(t)?t:{value:t,message:""},bb=async(t,r,n,i,o,a)=>{let{ref:s,refs:l,required:u,maxLength:c,minLength:d,min:f,max:h,pattern:m,validate:g,name:y,valueAsNumber:v,mount:b}=t._f,_=vA(n,y);if(!b||r.has(y))return{};let w=l?l[0]:s,S=t=>{o&&w.reportValidity&&(w.setCustomValidity(vL(t)?"":t||""),w.reportValidity())},x={},E=v3(s),k=vb(s),C=(v||v0(s))&&vP(s.value)&&vP(_)||v2(s)&&""===s.value||""===_||Array.isArray(_)&&!_.length,O=vX.bind(null,y,i,x),R=(t,r,n,i="maxLength",o="minLength")=>{let a=t?r:n;x[y]={type:t?i:o,message:a,ref:s,...O(t?i:o,a)}};if(a?!Array.isArray(_)||!_.length:u&&(!(E||k)&&(C||vw(_))||vL(_)&&!_||k&&!br(l).isValid||E&&!bo(l).isValid)){let{value:t,message:r}=bg(u)?{value:!!u,message:u}:bv(u);if(t&&(x[y]={type:v$,message:r,ref:w,...O(v$,r)},!i))return S(r),x}if(!(C||vw(f)&&vw(h))){let t,r,n=bv(h),o=bv(f);if(vw(_)||isNaN(_)){let i=s.valueAsDate||new Date(_),a=t=>new Date((new Date).toDateString()+" "+t),l="time"==s.type,u="week"==s.type;vH(n.value)&&_&&(t=l?a(_)>a(n.value):u?_>n.value:i>new Date(n.value)),vH(o.value)&&_&&(r=l?a(_)<a(o.value):u?_<o.value:i<new Date(o.value))}else{let i=s.valueAsNumber||(_?+_:_);vw(n.value)||(t=i>n.value),vw(o.value)||(r=i<o.value)}if((t||r)&&(R(!!t,n.message,o.message,"max","min"),!i))return S(x[y].message),x}if((c||d)&&!C&&(vH(_)||a&&Array.isArray(_))){let t=bv(c),r=bv(d),n=!vw(t.value)&&_.length>+t.value,o=!vw(r.value)&&_.length<+r.value;if((n||o)&&(R(n,t.message,r.message),!i))return S(x[y].message),x}if(m&&!C&&vH(_)){let{value:t,message:r}=bv(m);if(bs(t)&&!_.match(t)&&(x[y]={type:vB,message:r,ref:s,...O(vB,r)},!i))return S(r),x}if(g){if(v1(g)){let t=by(await g(_,n),w);if(t&&(x[y]={...t,...O("validate",t.message)},!i))return S(t.message),x}else if(vx(g)){let t={};for(let r in g){if(!vQ(t)&&!i)break;let o=by(await g[r](_,n),w,r);o&&(t={...o,...O(r,o.message)},S(o.message),i&&(x[y]=t))}if(!vQ(t)&&(x[y]={ref:w,...t},!i))return x}}return S(!0),x};let b_={mode:vF,reValidateMode:vD,shouldFocusError:!0};function bw(t){return r3("MuiDialog",t)}let bS=nZ("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),bx=b.createContext({}),bE=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],bk=nM(lW,{name:"MuiDialog",slot:"Backdrop",overrides:(t,r)=>r.backdrop})({zIndex:-1}),bC=nM(lJ,{name:"MuiDialog",slot:"Root",overridesResolver:(t,r)=>r.root})({"@media print":{position:"absolute !important"}}),bO=nM("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.container,r[`scroll${tq(n.scroll)}`]]}})(({ownerState:t})=>S({height:"100%","@media print":{height:"auto"},outline:0},"paper"===t.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===t.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),bR=nM(iK,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.paper,r[`scrollPaper${tq(n.scroll)}`],r[`paperWidth${tq(String(n.maxWidth))}`],n.fullWidth&&r.paperFullWidth,n.fullScreen&&r.paperFullScreen]}})(({theme:t,ownerState:r})=>S({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===r.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===r.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!r.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===r.maxWidth&&{maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):`max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,[`&.${bS.paperScrollBody}`]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},r.maxWidth&&"xs"!==r.maxWidth&&{maxWidth:`${t.breakpoints.values[r.maxWidth]}${t.breakpoints.unit}`,[`&.${bS.paperScrollBody}`]:{[t.breakpoints.down(t.breakpoints.values[r.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},r.fullWidth&&{width:"calc(100% - 64px)"},r.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${bS.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),bT=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiDialog"}),i=iH(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,BackdropComponent:l,BackdropProps:u,children:c,className:d,disableEscapeKeyDown:f=!1,fullScreen:h=!1,fullWidth:m=!1,maxWidth:g="sm",onBackdropClick:y,onClick:_,onClose:x,open:E,PaperComponent:k=iK,PaperProps:C={},scroll:O="paper",TransitionComponent:P=lq,transitionDuration:M=o,TransitionProps:I}=n,A=w(n,bE),L=S({},n,{disableEscapeKeyDown:f,fullScreen:h,fullWidth:m,maxWidth:g,scroll:O}),N=(t=>{let{classes:r,scroll:n,maxWidth:i,fullWidth:o,fullScreen:a}=t;return T({root:["root"],container:["container",`scroll${tq(n)}`],paper:["paper",`paperScroll${tq(n)}`,`paperWidth${tq(String(i))}`,o&&"paperFullWidth",a&&"paperFullScreen"]},bw,r)})(L),j=b.useRef(),D=iu(s),F=b.useMemo(()=>({titleId:D}),[D]);return(0,v.jsx)(bC,S({className:R(N.root,d),closeAfterTransition:!0,components:{Backdrop:bk},componentsProps:{backdrop:S({transitionDuration:M,as:l},u)},disableEscapeKeyDown:f,onClose:x,open:E,ref:r,onClick:t=>{_&&_(t),j.current&&(j.current=null,y&&y(t),x&&x(t,"backdropClick"))},ownerState:L},A,{children:(0,v.jsx)(P,S({appear:!0,in:E,timeout:M,role:"presentation"},I,{children:(0,v.jsx)(bO,{className:R(N.container),onMouseDown:t=>{j.current=t.target===t.currentTarget},ownerState:L,children:(0,v.jsx)(bR,S({as:k,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":D},C,{className:R(N.paper,C.className),ownerState:L,children:(0,v.jsx)(bx.Provider,{value:F,children:c})}))})}))}))});var bP=b.forwardRef((t,r)=>b.createElement(bT,{...t,ref:r}));function bM(t){return r3("MuiDialogContent",t)}function bI(t){return r3("MuiDialogTitle",t)}nZ("MuiDialogContent",["root","dividers"]);let bA=nZ("MuiDialogTitle",["root"]),bL=["className","dividers"],bN=nM("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.dividers&&r.dividers]}})(({theme:t,ownerState:r})=>S({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},r.dividers?{padding:"16px 24px",borderTop:`1px solid ${(t.vars||t).palette.divider}`,borderBottom:`1px solid ${(t.vars||t).palette.divider}`}:{[`.${bA.root} + &`]:{paddingTop:0}})),bj=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiDialogContent"}),{className:i,dividers:o=!1}=n,a=w(n,bL),s=S({},n,{dividers:o}),l=(t=>{let{classes:r,dividers:n}=t;return T({root:["root",n&&"dividers"]},bM,r)})(s);return(0,v.jsx)(bN,S({className:R(l.root,i),ownerState:s,ref:r},a))});var bD=b.forwardRef((t,r)=>b.createElement(bj,{...t,ref:r}));function bF(t){return r3("MuiDialogActions",t)}nZ("MuiDialogActions",["root","spacing"]);let bB=["className","disableSpacing"],b$=nM("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,!n.disableSpacing&&r.spacing]}})(({ownerState:t})=>S({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),bU=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiDialogActions"}),{className:i,disableSpacing:o=!1}=n,a=w(n,bB),s=S({},n,{disableSpacing:o}),l=(t=>{let{classes:r,disableSpacing:n}=t;return T({root:["root",!n&&"spacing"]},bF,r)})(s);return(0,v.jsx)(b$,S({className:R(l.root,i),ownerState:s,ref:r},a))});var bz=b.forwardRef((t,r)=>b.createElement(bU,{...t,ref:r}));let bq=["className","id"],bZ=nM(oo,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(t,r)=>r.root})({padding:"16px 24px",flex:"0 0 auto"}),bH=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiDialogTitle"}),{className:i,id:o}=n,a=w(n,bq),s=(t=>{let{classes:r}=t;return T({root:["root"]},bI,r)})(n),{titleId:l=o}=b.useContext(bx);return(0,v.jsx)(bZ,S({component:"h2",className:R(s.root,i),ownerState:n,ref:r,variant:"h6",id:null!=o?o:l},a))}),bV={variant:"subtitle1"},bW=b.forwardRef((t,r)=>b.createElement(bH,{...bV,...t,ref:r}));function bG(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}function bK(t,r=!1){return t&&(bG(t.value)&&""!==t.value||r&&bG(t.defaultValue)&&""!==t.defaultValue)}bW.defaultProps=bV;let bX=b.createContext(void 0);function bY(t){return r3("MuiFormControl",t)}nZ("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);let bJ=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],bQ=nM("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:t},r)=>S({},r.root,r[`margin${tq(t.margin)}`],t.fullWidth&&r.fullWidth)})(({ownerState:t})=>S({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})),b0=b.forwardRef(function(t,r){let n,i=nF({props:t,name:"MuiFormControl"}),{children:o,className:a,color:s="primary",component:l="div",disabled:u=!1,error:c=!1,focused:d,fullWidth:f=!1,hiddenLabel:h=!1,margin:m="none",required:g=!1,size:y="medium",variant:_="outlined"}=i,x=w(i,bJ),E=S({},i,{color:s,component:l,disabled:u,error:c,fullWidth:f,hiddenLabel:h,margin:m,required:g,size:y,variant:_}),k=(t=>{let{classes:r,margin:n,fullWidth:i}=t;return T({root:["root","none"!==n&&`margin${tq(n)}`,i&&"fullWidth"]},bY,r)})(E),[C,O]=b.useState(()=>{let t=!1;return o&&b.Children.forEach(o,r=>{if(!ir(r,["Input","Select"]))return;let n=ir(r,["Select"])?r.props.input:r;n&&n.props.startAdornment&&(t=!0)}),t}),[P,M]=b.useState(()=>{let t=!1;return o&&b.Children.forEach(o,r=>{ir(r,["Input","Select"])&&(bK(r.props,!0)||bK(r.props.inputProps,!0))&&(t=!0)}),t}),[I,A]=b.useState(!1);u&&I&&A(!1);let L=void 0===d||u?I:d,N=b.useMemo(()=>({adornedStart:C,setAdornedStart:O,color:s,disabled:u,error:c,filled:P,focused:L,fullWidth:f,hiddenLabel:h,size:y,onBlur:()=>{A(!1)},onEmpty:()=>{M(!1)},onFilled:()=>{M(!0)},onFocus:()=>{A(!0)},registerEffect:n,required:g,variant:_}),[C,s,u,c,P,L,f,h,n,g,y,_]);return(0,v.jsx)(bX.Provider,{value:N,children:(0,v.jsx)(bQ,S({as:l,ownerState:E,className:R(k.root,a),ref:r},x,{children:o}))})});function b1(){return b.useContext(bX)}var b2=b.forwardRef((t,r)=>b.createElement(b0,{...t,ref:r}));let b5=b.forwardRef((t,r)=>b.createElement(a8,{viewBox:"0 0 24 24",...t,ref:r},b.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"}),b.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:b3,classNames:b6}=o2("CloseButton",["root","icon"]),b4=o4(a2,b3.root)({}),b8=o4(b5,b3.icon)({}),b7={"aria-label":"close",color:"default"},b9=b.forwardRef((t,r)=>{let n=nF({props:{...b7,...t},name:b3.root.name}),{slotProps:i={},...o}=n;return b.createElement(b4,{...o,size:"small",ref:r,className:R([[b6.root,o.className]]),ownerState:n},b.createElement(b8,{...i.icon,className:R([b6.icon,i.icon?.className]),ownerState:n}))});b9.defaultProps=b7;let _e=o4(t=>b.createElement(a8,{viewBox:"0 0 32 32",...t},b.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:t})=>({width:t.spacing(3),height:t.spacing(3),"& path":{fill:t.palette.text.primary},marginRight:t.spacing(1)})),_t=o4("span")(({theme:t})=>({marginRight:t.spacing(1)})),_r=({logo:t,...r})=>!1===t?null:t?b.createElement(_t,null,t):b.createElement(_e,{...r}),{slots:_n,classNames:_i}=o2("DialogHeader",["root","logo","toolbar"]),_o=o4(i2,_n.root)({"& .MuiDialogTitle-root":{padding:0}}),_a=o4(i9,_n.toolbar)({}),_s={color:"transparent",position:"relative"},_l=b.forwardRef((t,r)=>{let n=nF({props:{..._s,...t},name:_n.root.name}),{slotProps:i={},logo:o,onClose:a,...s}=n;return b.createElement(_o,{...s,ref:r,className:R([[_i.root,s.className]]),ownerState:n},b.createElement(_a,{variant:"dense",...i.toolbar,className:R([_i.toolbar,i.toolbar?.className]),ownerState:n},b.createElement(_r,{logo:o,className:R([_i.logo,i.logo?.className])}),b.createElement(i3,{direction:"row",alignItems:"center",flex:1},n.children),a&&b.createElement(b9,{edge:"end",onClick:a,sx:{"&.MuiButtonBase-root":{ml:.5}}})))});_l.defaultProps=_s;let _u="base";function _c(t){return t.substring(2).toLowerCase()}function _d(t){let{children:r,disableReactTree:n=!1,mouseEvent:i="onClick",onClickAway:o,touchEvent:a="onTouchEnd"}=t,s=b.useRef(!1),l=b.useRef(null),u=b.useRef(!1),c=b.useRef(!1);b.useEffect(()=>(setTimeout(()=>{u.current=!0},0),()=>{u.current=!1}),[]);let d=ip(r.ref,l),f=id(t=>{let r=c.current;c.current=!1;let i=ii(l.current);if(!(!u.current||!l.current||"clientX"in t&&(i.documentElement.clientWidth<t.clientX||i.documentElement.clientHeight<t.clientY))){if(s.current)return void(s.current=!1);(t.composedPath?t.composedPath().indexOf(l.current)>-1:!i.documentElement.contains(t.target)||l.current.contains(t.target))||!n&&r||o(t)}}),h=t=>n=>{c.current=!0;let i=r.props[t];i&&i(n)},m={ref:d};return!1!==a&&(m[a]=h(a)),b.useEffect(()=>{if(!1!==a){let t=_c(a),r=ii(l.current),n=()=>{s.current=!0};return r.addEventListener(t,f),r.addEventListener("touchmove",n),()=>{r.removeEventListener(t,f),r.removeEventListener("touchmove",n)}}},[f,a]),!1!==i&&(m[i]=h(i)),b.useEffect(()=>{if(!1!==i){let t=_c(i),r=ii(l.current);return r.addEventListener(t,f),()=>{r.removeEventListener(t,f)}}},[f,i]),(0,v.jsx)(b.Fragment,{children:b.cloneElement(r,m)})}var _p="bottom",_f="right",_h="left",_m="auto",_g=["top",_p,_f,_h],_y="start",_v="viewport",_b="popper",__=_g.reduce(function(t,r){return t.concat([r+"-"+_y,r+"-end"])},[]),_w=[].concat(_g,[_m]).reduce(function(t,r){return t.concat([r,r+"-"+_y,r+"-end"])},[]),_S=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function _x(t){return t?(t.nodeName||"").toLowerCase():null}function _E(t){if(null==t)return window;if("[object Window]"!==t.toString()){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function _k(t){return t instanceof _E(t).Element||t instanceof Element}function _C(t){return t instanceof _E(t).HTMLElement||t instanceof HTMLElement}function _O(t){return"undefined"!=typeof ShadowRoot&&(t instanceof _E(t).ShadowRoot||t instanceof ShadowRoot)}function _R(t){return t.split("-")[0]}var _T=Math.max,_P=Math.min,_M=Math.round;function _I(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function _A(){return!/^((?!chrome|android).)*safari/i.test(_I())}function _L(t,r,n){void 0===r&&(r=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),o=1,a=1;r&&_C(t)&&(o=t.offsetWidth>0&&_M(i.width)/t.offsetWidth||1,a=t.offsetHeight>0&&_M(i.height)/t.offsetHeight||1);var s=(_k(t)?_E(t):window).visualViewport,l=!_A()&&n,u=(i.left+(l&&s?s.offsetLeft:0))/o,c=(i.top+(l&&s?s.offsetTop:0))/a,d=i.width/o,f=i.height/a;return{width:d,height:f,top:c,right:u+d,bottom:c+f,left:u,x:u,y:c}}function _N(t){var r=_L(t),n=t.offsetWidth,i=t.offsetHeight;return 1>=Math.abs(r.width-n)&&(n=r.width),1>=Math.abs(r.height-i)&&(i=r.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function _j(t,r){var n=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(n&&_O(n)){var i=r;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function _D(t){return _E(t).getComputedStyle(t)}function _F(t){return((_k(t)?t.ownerDocument:t.document)||window.document).documentElement}function _B(t){return"html"===_x(t)?t:t.assignedSlot||t.parentNode||(_O(t)?t.host:null)||_F(t)}function _$(t){return _C(t)&&"fixed"!==_D(t).position?t.offsetParent:null}function _U(t){for(var r=_E(t),n=_$(t);n&&["table","td","th"].indexOf(_x(n))>=0&&"static"===_D(n).position;)n=_$(n);return n&&("html"===_x(n)||"body"===_x(n)&&"static"===_D(n).position)?r:n||function(t){var r=/firefox/i.test(_I());if(/Trident/i.test(_I())&&_C(t)&&"fixed"===_D(t).position)return null;var n=_B(t);for(_O(n)&&(n=n.host);_C(n)&&0>["html","body"].indexOf(_x(n));){var i=_D(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||r&&"filter"===i.willChange||r&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||r}function _z(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function _q(t,r,n){return _T(t,_P(r,n))}function _Z(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function _H(t,r){return r.reduce(function(r,n){return r[n]=t,r},{})}function _V(t){return t.split("-")[1]}var _W={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _G(t){var r,n=t.popper,i=t.popperRect,o=t.placement,a=t.variation,s=t.offsets,l=t.position,u=t.gpuAcceleration,c=t.adaptive,d=t.roundOffsets,f=t.isFixed,h=s.x,m=void 0===h?0:h,g=s.y,y=void 0===g?0:g,v="function"==typeof d?d({x:m,y:y}):{x:m,y:y};m=v.x,y=v.y;var b=s.hasOwnProperty("x"),_=s.hasOwnProperty("y"),w=_h,S="top",x=window;if(c){var E=_U(n),k="clientHeight",C="clientWidth";E===_E(n)&&"static"!==_D(E=_F(n)).position&&"absolute"===l&&(k="scrollHeight",C="scrollWidth"),("top"===o||(o===_h||o===_f)&&"end"===a)&&(S=_p,y-=(f&&E===x&&x.visualViewport?x.visualViewport.height:E[k])-i.height,y*=u?1:-1),o!==_h&&("top"!==o&&o!==_p||"end"!==a)||(w=_f,m-=(f&&E===x&&x.visualViewport?x.visualViewport.width:E[C])-i.width,m*=u?1:-1)}var O,R,T,P,M,I,A=Object.assign({position:l},c&&_W),L=!0===d?(O={x:m,y:y},R=_E(n),T=O.x,P=O.y,{x:_M(T*(M=R.devicePixelRatio||1))/M||0,y:_M(P*M)/M||0}):{x:m,y:y};return m=L.x,y=L.y,u?Object.assign({},A,((I={})[S]=_?"0":"",I[w]=b?"0":"",I.transform=1>=(x.devicePixelRatio||1)?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",I)):Object.assign({},A,((r={})[S]=_?y+"px":"",r[w]=b?m+"px":"",r.transform="",r))}var _K={passive:!0},_X={left:"right",right:"left",bottom:"top",top:"bottom"};function _Y(t){return t.replace(/left|right|bottom|top/g,function(t){return _X[t]})}var _J={start:"end",end:"start"};function _Q(t){return t.replace(/start|end/g,function(t){return _J[t]})}function _0(t){var r=_E(t);return{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function _1(t){return _L(_F(t)).left+_0(t).scrollLeft}function _2(t){var r=_D(t),n=r.overflow,i=r.overflowX,o=r.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function _5(t,r){void 0===r&&(r=[]);var n,i=function t(r){return["html","body","#document"].indexOf(_x(r))>=0?r.ownerDocument.body:_C(r)&&_2(r)?r:t(_B(r))}(t),o=i===(null==(n=t.ownerDocument)?void 0:n.body),a=_E(i),s=o?[a].concat(a.visualViewport||[],_2(i)?i:[]):i,l=r.concat(s);return o?l:l.concat(_5(_B(s)))}function _3(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _6(t,r,n){var i,o,a,s,l,u,c,d,f,h;return r===_v?_3(function(t,r){var n=_E(t),i=_F(t),o=n.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,u=0;if(o){a=o.width,s=o.height;var c=_A();(c||!c&&"fixed"===r)&&(l=o.offsetLeft,u=o.offsetTop)}return{width:a,height:s,x:l+_1(t),y:u}}(t,n)):_k(r)?((i=_L(r,!1,"fixed"===n)).top=i.top+r.clientTop,i.left=i.left+r.clientLeft,i.bottom=i.top+r.clientHeight,i.right=i.left+r.clientWidth,i.width=r.clientWidth,i.height=r.clientHeight,i.x=i.left,i.y=i.top,i):_3((o=_F(t),s=_F(o),l=_0(o),u=null==(a=o.ownerDocument)?void 0:a.body,c=_T(s.scrollWidth,s.clientWidth,u?u.scrollWidth:0,u?u.clientWidth:0),d=_T(s.scrollHeight,s.clientHeight,u?u.scrollHeight:0,u?u.clientHeight:0),f=-l.scrollLeft+_1(o),h=-l.scrollTop,"rtl"===_D(u||s).direction&&(f+=_T(s.clientWidth,u?u.clientWidth:0)-c),{width:c,height:d,x:f,y:h}))}function _4(t){var r,n=t.reference,i=t.element,o=t.placement,a=o?_R(o):null,s=o?_V(o):null,l=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2;switch(a){case"top":r={x:l,y:n.y-i.height};break;case _p:r={x:l,y:n.y+n.height};break;case _f:r={x:n.x+n.width,y:u};break;case _h:r={x:n.x-i.width,y:u};break;default:r={x:n.x,y:n.y}}var c=a?_z(a):null;if(null!=c){var d="y"===c?"height":"width";switch(s){case _y:r[c]=r[c]-(n[d]/2-i[d]/2);break;case"end":r[c]=r[c]+(n[d]/2-i[d]/2)}}return r}function _8(t,r){void 0===r&&(r={});var n,i,o,a,s,l,u,c,d=r,f=d.placement,h=void 0===f?t.placement:f,m=d.strategy,g=void 0===m?t.strategy:m,y=d.boundary,v=d.rootBoundary,b=d.elementContext,_=void 0===b?_b:b,w=d.altBoundary,S=d.padding,x=void 0===S?0:S,E=_Z("number"!=typeof x?x:_H(x,_g)),k=t.rects.popper,C=t.elements[void 0!==w&&w?_===_b?"reference":_b:_],O=(n=_k(C)?C:C.contextElement||_F(t.elements.popper),i=void 0===y?"clippingParents":y,o=void 0===v?_v:v,u=(l=[].concat("clippingParents"===i?(a=_5(_B(n)),_k(s=["absolute","fixed"].indexOf(_D(n).position)>=0&&_C(n)?_U(n):n)?a.filter(function(t){return _k(t)&&_j(t,s)&&"body"!==_x(t)}):[]):[].concat(i),[o]))[0],(c=l.reduce(function(t,r){var i=_6(n,r,g);return t.top=_T(i.top,t.top),t.right=_P(i.right,t.right),t.bottom=_P(i.bottom,t.bottom),t.left=_T(i.left,t.left),t},_6(n,u,g))).width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c),R=_L(t.elements.reference),T=_4({reference:R,element:k,placement:h}),P=_3(Object.assign({},k,T)),M=_===_b?P:R,I={top:O.top-M.top+E.top,bottom:M.bottom-O.bottom+E.bottom,left:O.left-M.left+E.left,right:M.right-O.right+E.right},A=t.modifiersData.offset;if(_===_b&&A){var L=A[h];Object.keys(I).forEach(function(t){var r=[_f,_p].indexOf(t)>=0?1:-1,n=["top",_p].indexOf(t)>=0?"y":"x";I[t]+=L[n]*r})}return I}function _7(t,r,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-r.height-n.y,right:t.right-r.width+n.x,bottom:t.bottom-r.height+n.y,left:t.left-r.width-n.x}}function _9(t){return["top",_f,_p,_h].some(function(r){return t[r]>=0})}var we={placement:"bottom",modifiers:[],strategy:"absolute"};function wt(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return!r.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}var wr=(wk=void 0===(wE=(wx={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var r=t.state,n=t.instance,i=t.options,o=i.scroll,a=void 0===o||o,s=i.resize,l=void 0===s||s,u=_E(r.elements.popper),c=[].concat(r.scrollParents.reference,r.scrollParents.popper);return a&&c.forEach(function(t){t.addEventListener("scroll",n.update,_K)}),l&&u.addEventListener("resize",n.update,_K),function(){a&&c.forEach(function(t){t.removeEventListener("scroll",n.update,_K)}),l&&u.removeEventListener("resize",n.update,_K)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var r=t.state,n=t.name;r.modifiersData[n]=_4({reference:r.rects.reference,element:r.rects.popper,placement:r.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var r=t.state,n=t.options,i=n.gpuAcceleration,o=n.adaptive,a=n.roundOffsets,s=void 0===a||a,l={placement:_R(r.placement),variation:_V(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:void 0===i||i,isFixed:"fixed"===r.options.strategy};null!=r.modifiersData.popperOffsets&&(r.styles.popper=Object.assign({},r.styles.popper,_G(Object.assign({},l,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:void 0===o||o,roundOffsets:s})))),null!=r.modifiersData.arrow&&(r.styles.arrow=Object.assign({},r.styles.arrow,_G(Object.assign({},l,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var r=t.state;Object.keys(r.elements).forEach(function(t){var n=r.styles[t]||{},i=r.attributes[t]||{},o=r.elements[t];_C(o)&&_x(o)&&(Object.assign(o.style,n),Object.keys(i).forEach(function(t){var r=i[t];!1===r?o.removeAttribute(t):o.setAttribute(t,!0===r?"":r)}))})},effect:function(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow),function(){Object.keys(r.elements).forEach(function(t){var i=r.elements[t],o=r.attributes[t]||{},a=Object.keys(r.styles.hasOwnProperty(t)?r.styles[t]:n[t]).reduce(function(t,r){return t[r]="",t},{});_C(i)&&_x(i)&&(Object.assign(i.style,a),Object.keys(o).forEach(function(t){i.removeAttribute(t)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var r=t.state,n=t.options,i=t.name,o=n.offset,a=void 0===o?[0,0]:o,s=_w.reduce(function(t,n){var i,o,s,l,u,c;return t[n]=(i=r.rects,s=[_h,"top"].indexOf(o=_R(n))>=0?-1:1,u=(l="function"==typeof a?a(Object.assign({},i,{placement:n})):a)[0],c=l[1],u=u||0,c=(c||0)*s,[_h,_f].indexOf(o)>=0?{x:c,y:u}:{x:u,y:c}),t},{}),l=s[r.placement],u=l.x,c=l.y;null!=r.modifiersData.popperOffsets&&(r.modifiersData.popperOffsets.x+=u,r.modifiersData.popperOffsets.y+=c),r.modifiersData[i]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var r=t.state,n=t.options,i=t.name;if(!r.modifiersData[i]._skip){for(var o=n.mainAxis,a=void 0===o||o,s=n.altAxis,l=void 0===s||s,u=n.fallbackPlacements,c=n.padding,d=n.boundary,f=n.rootBoundary,h=n.altBoundary,m=n.flipVariations,g=void 0===m||m,y=n.allowedAutoPlacements,v=r.options.placement,b=_R(v),_=u||(b!==v&&g?function(t){if(_R(t)===_m)return[];var r=_Y(t);return[_Q(t),r,_Q(r)]}(v):[_Y(v)]),w=[v].concat(_).reduce(function(t,n){var i,o,a,s,l,u,h,m,v,b,_,w;return t.concat(_R(n)===_m?(o=(i={placement:n,boundary:d,rootBoundary:f,padding:c,flipVariations:g,allowedAutoPlacements:y}).placement,a=i.boundary,s=i.rootBoundary,l=i.padding,u=i.flipVariations,m=void 0===(h=i.allowedAutoPlacements)?_w:h,0===(_=(b=(v=_V(o))?u?__:__.filter(function(t){return _V(t)===v}):_g).filter(function(t){return m.indexOf(t)>=0})).length&&(_=b),Object.keys(w=_.reduce(function(t,n){return t[n]=_8(r,{placement:n,boundary:a,rootBoundary:s,padding:l})[_R(n)],t},{})).sort(function(t,r){return w[t]-w[r]})):n)},[]),S=r.rects.reference,x=r.rects.popper,E=new Map,k=!0,C=w[0],O=0;O<w.length;O++){var R=w[O],T=_R(R),P=_V(R)===_y,M=["top",_p].indexOf(T)>=0,I=M?"width":"height",A=_8(r,{placement:R,boundary:d,rootBoundary:f,altBoundary:h,padding:c}),L=M?P?_f:_h:P?_p:"top";S[I]>x[I]&&(L=_Y(L));var N=_Y(L),j=[];if(a&&j.push(A[T]<=0),l&&j.push(A[L]<=0,A[N]<=0),j.every(function(t){return t})){C=R,k=!1;break}E.set(R,j)}if(k)for(var D=function(t){var r=w.find(function(r){var n=E.get(r);if(n)return n.slice(0,t).every(function(t){return t})});if(r)return C=r,"break"},F=g?3:1;F>0&&"break"!==D(F);F--);r.placement!==C&&(r.modifiersData[i]._skip=!0,r.placement=C,r.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var r=t.state,n=t.options,i=t.name,o=n.mainAxis,a=n.altAxis,s=n.boundary,l=n.rootBoundary,u=n.altBoundary,c=n.padding,d=n.tether,f=void 0===d||d,h=n.tetherOffset,m=void 0===h?0:h,g=_8(r,{boundary:s,rootBoundary:l,padding:c,altBoundary:u}),y=_R(r.placement),v=_V(r.placement),b=!v,_=_z(y),w="x"===_?"y":"x",S=r.modifiersData.popperOffsets,x=r.rects.reference,E=r.rects.popper,k="function"==typeof m?m(Object.assign({},r.rects,{placement:r.placement})):m,C="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),O=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,R={x:0,y:0};if(S){if(void 0===o||o){var T,P="y"===_?"top":_h,M="y"===_?_p:_f,I="y"===_?"height":"width",A=S[_],L=A+g[P],N=A-g[M],j=f?-E[I]/2:0,D=v===_y?x[I]:E[I],F=v===_y?-E[I]:-x[I],B=r.elements.arrow,$=f&&B?_N(B):{width:0,height:0},U=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=U[P],q=U[M],Z=_q(0,x[I],$[I]),H=b?x[I]/2-j-Z-z-C.mainAxis:D-Z-z-C.mainAxis,V=b?-x[I]/2+j+Z+q+C.mainAxis:F+Z+q+C.mainAxis,W=r.elements.arrow&&_U(r.elements.arrow),G=W?"y"===_?W.clientTop||0:W.clientLeft||0:0,K=null!=(T=null==O?void 0:O[_])?T:0,X=_q(f?_P(L,A+H-K-G):L,A,f?_T(N,A+V-K):N);S[_]=X,R[_]=X-A}if(void 0!==a&&a){var Y,J,Q="x"===_?"top":_h,ee="x"===_?_p:_f,et=S[w],er="y"===w?"height":"width",en=et+g[Q],ei=et-g[ee],eo=-1!==["top",_h].indexOf(y),ea=null!=(J=null==O?void 0:O[w])?J:0,es=eo?en:et-x[er]-E[er]-ea+C.altAxis,el=eo?et+x[er]+E[er]-ea-C.altAxis:ei,eu=f&&eo?(Y=_q(es,et,el))>el?el:Y:_q(f?es:en,et,f?el:ei);S[w]=eu,R[w]=eu-et}r.modifiersData[i]=R}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var r,n=t.state,i=t.name,o=t.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,l=_R(n.placement),u=_z(l),c=[_h,_f].indexOf(l)>=0?"height":"width";if(a&&s){var d,f=(d=o.padding,_Z("number"!=typeof(d="function"==typeof d?d(Object.assign({},n.rects,{placement:n.placement})):d)?d:_H(d,_g))),h=_N(a),m="y"===u?"top":_h,g="y"===u?_p:_f,y=n.rects.reference[c]+n.rects.reference[u]-s[u]-n.rects.popper[c],v=s[u]-n.rects.reference[u],b=_U(a),_=b?"y"===u?b.clientHeight||0:b.clientWidth||0:0,w=f[m],S=_-h[c]-f[g],x=_/2-h[c]/2+(y/2-v/2),E=_q(w,x,S);n.modifiersData[i]=((r={})[u]=E,r.centerOffset=E-x,r)}},effect:function(t){var r=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=r.elements.popper.querySelector(i)))&&_j(r.elements.popper,i)&&(r.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var r=t.state,n=t.name,i=r.rects.reference,o=r.rects.popper,a=r.modifiersData.preventOverflow,s=_8(r,{elementContext:"reference"}),l=_8(r,{altBoundary:!0}),u=_7(s,i),c=_7(l,o,a),d=_9(u),f=_9(c);r.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}}]}).defaultModifiers)?[]:wE,wO=void 0===(wC=wx.defaultOptions)?we:wC,function(t,r,n){void 0===n&&(n=wO);var i,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},we,wO),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}},s=[],l=!1,u={state:a,setOptions:function(n){var i="function"==typeof n?n(a.options):n;c(),a.options=Object.assign({},wO,a.options,i),a.scrollParents={reference:_k(t)?_5(t):t.contextElement?_5(t.contextElement):[],popper:_5(r)};var o,l,d,f,h,m,g=(o=Object.keys(m=[].concat(wk,a.options.modifiers).reduce(function(t,r){var n=t[r.name];return t[r.name]=n?Object.assign({},n,r,{options:Object.assign({},n.options,r.options),data:Object.assign({},n.data,r.data)}):r,t},{})).map(function(t){return m[t]}),l=new Map,d=new Set,f=[],o.forEach(function(t){l.set(t.name,t)}),o.forEach(function(t){d.has(t.name)||function t(r){d.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach(function(r){if(!d.has(r)){var n=l.get(r);n&&t(n)}}),f.push(r)}(t)}),h=f,_S.reduce(function(t,r){return t.concat(h.filter(function(t){return t.phase===r}))},[]));return a.orderedModifiers=g.filter(function(t){return t.enabled}),a.orderedModifiers.forEach(function(t){var r=t.name,n=t.options,i=t.effect;if("function"==typeof i){var o=i({state:a,name:r,instance:u,options:void 0===n?{}:n});s.push(o||function(){})}}),u.update()},forceUpdate:function(){if(!l){var t=a.elements,r=t.reference,n=t.popper;if(wt(r,n)){a.rects={reference:(o=_U(n),s="fixed"===a.options.strategy,h=_C(o),m=_C(o)&&(d=_M((c=o.getBoundingClientRect()).width)/o.offsetWidth||1,f=_M(c.height)/o.offsetHeight||1,1!==d||1!==f),g=_F(o),y=_L(r,m,s),v={scrollLeft:0,scrollTop:0},b={x:0,y:0},(h||!h&&!s)&&(("body"!==_x(o)||_2(g))&&(v=(i=o)!==_E(i)&&_C(i)?{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}:_0(i)),_C(o)?((b=_L(o,!0)).x+=o.clientLeft,b.y+=o.clientTop):g&&(b.x=_1(g))),{x:y.left+v.scrollLeft-b.x,y:y.top+v.scrollTop-b.y,width:y.width,height:y.height}),popper:_N(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(t){return a.modifiersData[t.name]=Object.assign({},t.data)});for(var i,o,s,c,d,f,h,m,g,y,v,b,_=0;_<a.orderedModifiers.length;_++)if(!0!==a.reset){var w=a.orderedModifiers[_],S=w.fn,x=w.options,E=void 0===x?{}:x,k=w.name;"function"==typeof S&&(a=S({state:a,options:E,name:k,instance:u})||a)}else a.reset=!1,_=-1}}},update:(i=function(){return new Promise(function(t){u.forceUpdate(),t(a)})},function(){return o||(o=new Promise(function(t){Promise.resolve().then(function(){o=void 0,t(i())})})),o}),destroy:function(){c(),l=!0}};if(!wt(t,r))return u;function c(){s.forEach(function(t){return t()}),s=[]}return u.setOptions(n).then(function(t){!l&&n.onFirstUpdate&&n.onFirstUpdate(t)}),u});function wn(t){var r;let n=r5[t];return n?`${_u}--${n}`:(r="Popper",`${_u}-${r}-${t}`)}let wi=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],wo=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function wa(t){return"function"==typeof t?t():t}let ws={},wl=b.forwardRef(function(t,r){var n;let{anchorEl:i,children:o,direction:a,disablePortal:s,modifiers:l,open:u,placement:c,popperOptions:d,popperRef:f,slotProps:h={},slots:m={},TransitionProps:g}=t,y=w(t,wi),_=b.useRef(null),x=ip(_,r),E=b.useRef(null),k=ip(E,f),C=b.useRef(k);n0(()=>{C.current=k},[k]),b.useImperativeHandle(f,()=>E.current,[]);let O=function(t,r){if("ltr"===r)return t;switch(t){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 t}}(c,a),[R,P]=b.useState(O),[M,I]=b.useState(wa(i));b.useEffect(()=>{E.current&&E.current.forceUpdate()}),b.useEffect(()=>{i&&I(wa(i))},[i]),n0(()=>{if(!M||!u)return;let t=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:t})=>{P(t.placement)}}];null!=l&&(t=t.concat(l)),d&&null!=d.modifiers&&(t=t.concat(d.modifiers));let r=wr(M,_.current,S({placement:O},d,{modifiers:t}));return C.current(r),()=>{r.destroy(),C.current(null)}},[M,s,l,u,d,O]);let A={placement:R};null!==g&&(A.TransitionProps=g);let L=T({root:["root"]},function(t){let{disableDefaultClasses:r}=b.useContext(ll);return n=>r?"":t(n)}(wn)),N=null!=(n=m.root)?n:"div",j=lh({elementType:N,externalSlotProps:h.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:t,className:L.root});return(0,v.jsx)(N,S({},j,{children:"function"==typeof o?o(A):o}))}),wu=b.forwardRef(function(t,r){let n,{anchorEl:i,children:o,container:a,direction:s="ltr",disablePortal:l=!1,keepMounted:u=!1,modifiers:c,open:d,placement:f="bottom",popperOptions:h=ws,popperRef:m,style:g,transition:y=!1,slotProps:_={},slots:x={}}=t,E=w(t,wo),[k,C]=b.useState(!0);if(!u&&!d&&(!y||k))return null;if(a)n=a;else if(i){let t=wa(i);n=t&&void 0!==t.nodeType?ii(t).body:ii(null).body}let O=y?{in:d,onEnter:()=>{C(!1)},onExited:()=>{C(!0)}}:void 0;return(0,v.jsx)(l$,{disablePortal:l,container:n,children:(0,v.jsx)(wl,S({anchorEl:i,direction:s,disablePortal:l,modifiers:c,ref:r,open:y?!k:d,placement:f,popperOptions:h,popperRef:m,slotProps:_,slots:x},E,{style:S({position:"fixed",top:0,left:0,display:d||!u||y&&!k?void 0:"none"},g),TransitionProps:O,children:o}))})}),wc=["onChange","maxRows","minRows","style","value"];function wd(t){return parseInt(t,10)||0}let wp={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},wf=b.forwardRef(function(t,r){let{onChange:n,maxRows:i,minRows:o=1,style:a,value:s}=t,l=w(t,wc),{current:u}=b.useRef(null!=s),c=b.useRef(null),d=ip(r,c),f=b.useRef(null),h=b.useCallback(()=>{let r=c.current,n=io(r).getComputedStyle(r);if("0px"===n.width)return{outerHeightStyle:0,overflowing:!1};let a=f.current;a.style.width=n.width,a.value=r.value||t.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");let s=n.boxSizing,l=wd(n.paddingBottom)+wd(n.paddingTop),u=wd(n.borderBottomWidth)+wd(n.borderTopWidth),d=a.scrollHeight;a.value="x";let h=a.scrollHeight,m=d;return o&&(m=Math.max(Number(o)*h,m)),i&&(m=Math.min(Number(i)*h,m)),{outerHeightStyle:(m=Math.max(m,h))+("border-box"===s?l+u:0),overflowing:1>=Math.abs(m-d)}},[i,o,t.placeholder]),m=b.useCallback(()=>{let t=h();if(null==t||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;let r=c.current;r.style.height=`${t.outerHeightStyle}px`,r.style.overflow=t.overflowing?"hidden":""},[h]);return n0(()=>{let t,r,n=()=>{m()},i=it(n),o=c.current,a=io(o);return a.addEventListener("resize",i),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(n)).observe(o),()=>{i.clear(),cancelAnimationFrame(t),a.removeEventListener("resize",i),r&&r.disconnect()}},[h,m]),n0(()=>{m()}),(0,v.jsxs)(b.Fragment,{children:[(0,v.jsx)("textarea",S({value:s,onChange:t=>{u||m(),n&&n(t)},ref:d,rows:o,style:a},l)),(0,v.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:f,tabIndex:-1,style:S({},wp,a,{paddingTop:0,paddingBottom:0})})]})});function wh(t){return void 0!==t.normalize?t.normalize("NFD").replace(/[\u0300-\u036f]/g,""):t}function wm(t,r){for(let n=0;n<t.length;n+=1)if(r(t[n]))return n;return -1}let wg=function(t={}){let{ignoreAccents:r=!0,ignoreCase:n=!0,limit:i,matchFrom:o="any",stringify:a,trim:s=!1}=t;return(t,{inputValue:l,getOptionLabel:u})=>{let c=s?l.trim():l;n&&(c=c.toLowerCase()),r&&(c=wh(c));let d=c?t.filter(t=>{let i=(a||u)(t);return n&&(i=i.toLowerCase()),r&&(i=wh(i)),"start"===o?0===i.indexOf(c):i.indexOf(c)>-1}):t;return"number"==typeof i?d.slice(0,i):d}}(),wy=t=>{var r;return null!==t.current&&(null==(r=t.current.parentElement)?void 0:r.contains(document.activeElement))};var wv,wb,w_,ww,wS,wx,wE,wk,wC,wO,wR,wT={};let wP=x(function(){if(wR)return wT;wR=1,Object.defineProperty(wT,"__esModule",{value:!0}),wT.default=void 0;var t=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=r(void 0);if(n&&n.has(t))return n.get(t);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=o?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=t[a]}return i.default=t,n&&n.set(t,i),i}(b);function r(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,i=new WeakMap;return(r=function(t){return t?i:n})(t)}return wT.default=function(r=null){let n=t.useContext(tD.ThemeContext);return n&&0!==Object.keys(n).length?n:r},wT}()),wM=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],wI=nM(wu,{name:"MuiPopper",slot:"Root",overridesResolver:(t,r)=>r.root})({}),wA=b.forwardRef(function(t,r){var n;let i=wP(),o=nF({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:u,container:c,disablePortal:d,keepMounted:f,modifiers:h,open:m,placement:g,popperOptions:y,popperRef:b,transition:_,slots:x,slotProps:E}=o,k=w(o,wM),C=null!=(n=null==x?void 0:x.root)?n:null==l?void 0:l.Root,O=S({anchorEl:a,container:c,disablePortal:d,keepMounted:f,modifiers:h,open:m,placement:g,popperOptions:y,popperRef:b,transition:_},k);return(0,v.jsx)(wI,S({as:s,direction:null==i?void 0:i.direction,slots:{root:C},slotProps:null!=E?E:u},O,{ref:r}))});function wL(t){return r3("MuiListSubheader",t)}nZ("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);let wN=["className","color","component","disableGutters","disableSticky","inset"],wj=nM("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,"default"!==n.color&&r[`color${tq(n.color)}`],!n.disableGutters&&r.gutters,n.inset&&r.inset,!n.disableSticky&&r.sticky]}})(({theme:t,ownerState:r})=>S({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},"primary"===r.color&&{color:(t.vars||t).palette.primary.main},"inherit"===r.color&&{color:"inherit"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.inset&&{paddingLeft:72},!r.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper})),wD=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiListSubheader"}),{className:i,color:o="default",component:a="li",disableGutters:s=!1,disableSticky:l=!1,inset:u=!1}=n,c=w(n,wN),d=S({},n,{color:o,component:a,disableGutters:s,disableSticky:l,inset:u}),f=(t=>{let{classes:r,color:n,disableGutters:i,inset:o,disableSticky:a}=t;return T({root:["root","default"!==n&&`color${tq(n)}`,!i&&"gutters",o&&"inset",!a&&"sticky"]},wL,r)})(d);return(0,v.jsx)(wj,S({as:a,className:R(f.root,i),ref:r,ownerState:d},c))});function wF({props:t,states:r,muiFormControl:n}){return r.reduce((r,i)=>(r[i]=t[i],n&&void 0===t[i]&&(r[i]=n[i]),r),{})}function wB(t){return r3("MuiInputBase",t)}wD.muiSkipListHighlight=!0;let w$=nZ("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),wU=["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"],wz=(t,r)=>{let{ownerState:n}=t;return[r.root,n.formControl&&r.formControl,n.startAdornment&&r.adornedStart,n.endAdornment&&r.adornedEnd,n.error&&r.error,"small"===n.size&&r.sizeSmall,n.multiline&&r.multiline,n.color&&r[`color${tq(n.color)}`],n.fullWidth&&r.fullWidth,n.hiddenLabel&&r.hiddenLabel]},wq=(t,r)=>{let{ownerState:n}=t;return[r.input,"small"===n.size&&r.inputSizeSmall,n.multiline&&r.inputMultiline,"search"===n.type&&r.inputTypeSearch,n.startAdornment&&r.inputAdornedStart,n.endAdornment&&r.inputAdornedEnd,n.hiddenLabel&&r.inputHiddenLabel]},wZ=nM("div",{name:"MuiInputBase",slot:"Root",overridesResolver:wz})(({theme:t,ownerState:r})=>S({},t.typography.body1,{color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${w$.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"}},r.multiline&&S({padding:"4px 0 5px"},"small"===r.size&&{paddingTop:1}),r.fullWidth&&{width:"100%"})),wH=nM("input",{name:"MuiInputBase",slot:"Input",overridesResolver:wq})(({theme:t,ownerState:r})=>{let n="light"===t.palette.mode,i=S({color:"currentColor"},t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})}),o={opacity:"0 !important"},a=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.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":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${w$.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${w$.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})}),wV=(0,v.jsx)(function(t){return(0,v.jsx)(nz,S({},t,{defaultTheme:nO,themeId:nR}))},{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),wW=b.forwardRef(function(t,r){var n;let i=nF({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:s,className:l,components:u={},componentsProps:c={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:h,endAdornment:m,fullWidth:g=!1,id:y,inputComponent:_="input",inputProps:x={},inputRef:E,maxRows:k,minRows:C,multiline:O=!1,name:P,onBlur:M,onChange:I,onClick:A,onFocus:L,onKeyDown:N,onKeyUp:j,placeholder:D,readOnly:F,renderSuffix:B,rows:$,slotProps:U={},slots:z={},startAdornment:q,type:Z="text",value:H}=i,V=w(i,wU),W=null!=x.value?x.value:H,{current:G}=b.useRef(null!=W),K=b.useRef(),X=b.useCallback(t=>{},[]),Y=ip(K,E,x.ref,X),[J,Q]=b.useState(!1),ee=b1(),et=wF({props:i,muiFormControl:ee,states:["color","disabled","error","hiddenLabel","size","required","filled"]});et.focused=ee?ee.focused:J,b.useEffect(()=>{!ee&&f&&J&&(Q(!1),M&&M())},[ee,f,J,M]);let er=ee&&ee.onFilled,en=ee&&ee.onEmpty,ei=b.useCallback(t=>{bK(t)?er&&er():en&&en()},[er,en]);n0(()=>{G&&ei({value:W})},[W,ei,G]),b.useEffect(()=>{ei(K.current)},[]);let eo=_,ea=x;O&&"input"===eo&&(ea=$?S({type:void 0,minRows:$,maxRows:$},ea):S({type:void 0,maxRows:k,minRows:C},ea),eo=wf),b.useEffect(()=>{ee&&ee.setAdornedStart(!!q)},[ee,q]);let es=S({},i,{color:et.color||"primary",disabled:et.disabled,endAdornment:m,error:et.error,focused:et.focused,formControl:ee,fullWidth:g,hiddenLabel:et.hiddenLabel,multiline:O,size:et.size,startAdornment:q,type:Z}),el=(t=>{let{classes:r,color:n,disabled:i,error:o,endAdornment:a,focused:s,formControl:l,fullWidth:u,hiddenLabel:c,multiline:d,readOnly:f,size:h,startAdornment:m,type:g}=t;return T({root:["root",`color${tq(n)}`,i&&"disabled",o&&"error",u&&"fullWidth",s&&"focused",l&&"formControl",h&&"medium"!==h&&`size${tq(h)}`,d&&"multiline",m&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",f&&"readOnly"],input:["input",i&&"disabled","search"===g&&"inputTypeSearch",d&&"inputMultiline","small"===h&&"inputSizeSmall",c&&"inputHiddenLabel",m&&"inputAdornedStart",a&&"inputAdornedEnd",f&&"readOnly"]},wB,r)})(es),eu=z.root||u.Root||wZ,ec=U.root||c.root||{},ed=z.input||u.Input||wH;return ea=S({},ea,null!=(n=U.input)?n:c.input),(0,v.jsxs)(b.Fragment,{children:[!h&&wV,(0,v.jsxs)(eu,S({},ec,!la(eu)&&{ownerState:S({},es,ec.ownerState)},{ref:r,onClick:t=>{K.current&&t.currentTarget===t.target&&K.current.focus(),A&&A(t)}},V,{className:R(el.root,ec.className,l,F&&"MuiInputBase-readOnly"),children:[q,(0,v.jsx)(bX.Provider,{value:null,children:(0,v.jsx)(ed,S({ownerState:es,"aria-invalid":et.error,"aria-describedby":o,autoComplete:a,autoFocus:s,defaultValue:d,disabled:et.disabled,id:y,onAnimationStart:t=>{ei("mui-auto-fill-cancel"===t.animationName?K.current:{value:"x"})},name:P,placeholder:D,readOnly:F,required:et.required,rows:$,value:W,onKeyDown:N,onKeyUp:j,type:Z},ea,!la(ed)&&{as:eo,ownerState:S({},es,ea.ownerState)},{ref:Y,className:R(el.input,ea.className,F&&"MuiInputBase-readOnly"),onBlur:t=>{M&&M(t),x.onBlur&&x.onBlur(t),ee&&ee.onBlur?ee.onBlur(t):Q(!1)},onChange:(t,...r)=>{if(!G){let r=t.target||K.current;if(null==r)throw Error(tU(1));ei({value:r.value})}x.onChange&&x.onChange(t,...r),I&&I(t,...r)},onFocus:t=>{et.disabled?t.stopPropagation():(L&&L(t),x.onFocus&&x.onFocus(t),ee&&ee.onFocus?ee.onFocus(t):Q(!0))}}))}),m,B?B(S({},et,{startAdornment:q})):null]}))]})});function wG(t){return r3("MuiInput",t)}let wK=S({},w$,nZ("MuiInput",["root","underline","input"]));function wX(t){return r3("MuiOutlinedInput",t)}let wY=S({},w$,nZ("MuiOutlinedInput",["root","notchedOutline","input"]));function wJ(t){return r3("MuiFilledInput",t)}let wQ=S({},w$,nZ("MuiFilledInput",["root","underline","input"])),w0=g0((0,v.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"),w1=g0((0,v.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function w2(t){return r3("MuiAutocomplete",t)}let w5=nZ("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"]),w3=["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"],w6=["ref"],w4=nM("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t,{fullWidth:i,hasClearIcon:o,hasPopupIcon:a,inputFocused:s,size:l}=n;return[{[`& .${w5.tag}`]:r.tag},{[`& .${w5.tag}`]:r[`tagSize${tq(l)}`]},{[`& .${w5.inputRoot}`]:r.inputRoot},{[`& .${w5.input}`]:r.input},{[`& .${w5.input}`]:s&&r.inputFocused},r.root,i&&r.fullWidth,a&&r.hasPopupIcon,o&&r.hasClearIcon]}})({[`&.${w5.focused} .${w5.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${w5.clearIndicator}`]:{visibility:"visible"}},[`& .${w5.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${w5.inputRoot}`]:{flexWrap:"wrap",[`.${w5.hasPopupIcon}&, .${w5.hasClearIcon}&`]:{paddingRight:30},[`.${w5.hasPopupIcon}.${w5.hasClearIcon}&`]:{paddingRight:56},[`& .${w5.input}`]:{width:0,minWidth:30}},[`& .${wK.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${wK.root}.${w$.sizeSmall}`]:{[`& .${wK.input}`]:{padding:"2px 4px 3px 0"}},[`& .${wY.root}`]:{padding:9,[`.${w5.hasPopupIcon}&, .${w5.hasClearIcon}&`]:{paddingRight:39},[`.${w5.hasPopupIcon}.${w5.hasClearIcon}&`]:{paddingRight:65},[`& .${w5.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${w5.endAdornment}`]:{right:9}},[`& .${wY.root}.${w$.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${w5.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${wQ.root}`]:{paddingTop:19,paddingLeft:8,[`.${w5.hasPopupIcon}&, .${w5.hasClearIcon}&`]:{paddingRight:39},[`.${w5.hasPopupIcon}.${w5.hasClearIcon}&`]:{paddingRight:65},[`& .${wQ.input}`]:{padding:"7px 4px"},[`& .${w5.endAdornment}`]:{right:9}},[`& .${wQ.root}.${w$.sizeSmall}`]:{paddingBottom:1,[`& .${wQ.input}`]:{padding:"2.5px 4px"}},[`& .${w$.hiddenLabel}`]:{paddingTop:8},[`& .${wQ.root}.${w$.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${w5.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${wQ.root}.${w$.hiddenLabel}.${w$.sizeSmall}`]:{[`& .${w5.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${w5.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${w5.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${w5.input}`]:{opacity:1}}}]}),w8=nM("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(t,r)=>r.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),w7=nM(oZ,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(t,r)=>r.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),w9=nM(oZ,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:t},r)=>S({},r.popupIndicator,t.popupOpen&&r.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),Se=nM(wA,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[{[`& .${w5.option}`]:r.option},r.popper,n.disablePortal&&r.popperDisablePortal]}})(({theme:t})=>({zIndex:(t.vars||t).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]})),St=nM(iK,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(t,r)=>r.paper})(({theme:t})=>S({},t.typography.body1,{overflow:"auto"})),Sr=nM("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(t,r)=>r.loading})(({theme:t})=>({color:(t.vars||t).palette.text.secondary,padding:"14px 16px"})),Sn=nM("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(t,r)=>r.noOptions})(({theme:t})=>({color:(t.vars||t).palette.text.secondary,padding:"14px 16px"})),Si=nM("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(t,r)=>r.listbox})(({theme:t})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${w5.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,[t.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${w5.focused}`]:{backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${w5.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:r9.alpha(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${w5.focused}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:r9.alpha(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(t.vars||t).palette.action.selected}},[`&.${w5.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:r9.alpha(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}}}})),So=nM(wD,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(t,r)=>r.groupLabel})(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,top:-8})),Sa=nM("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(t,r)=>r.groupUl})({padding:0,[`& .${w5.option}`]:{paddingLeft:24}}),Ss=b.forwardRef(function(t,r){var n,i,o,a;let s,l=nF({props:t,name:"MuiAutocomplete"}),{ChipProps:u,className:c,clearIcon:d=x3||(x3=(0,v.jsx)(w0,{fontSize:"small"})),clearText:f="Clear",closeText:h="Close",componentsProps:m={},disableClearable:g=!1,disabled:y=!1,disablePortal:_=!1,forcePopupIcon:x="auto",freeSolo:E=!1,fullWidth:k=!1,getLimitTagsText:C=t=>`+${t}`,getOptionLabel:O,groupBy:P,limitTags:M=-1,ListboxComponent:I="ul",ListboxProps:A,loading:L=!1,loadingText:N="Loading\u2026",multiple:j=!1,noOptionsText:D="No options",openText:F="Open",PaperComponent:B=iK,PopperComponent:$=wA,popupIcon:U=x6||(x6=(0,v.jsx)(w1,{})),readOnly:z=!1,renderGroup:q,renderInput:Z,renderOption:H,renderTags:V,size:W="medium",slotProps:G={}}=l,K=w(l,w3),{getRootProps:X,getInputProps:Y,getInputLabelProps:J,getPopupIndicatorProps:Q,getClearProps:ee,getTagProps:et,getListboxProps:er,getOptionProps:en,value:ei,dirty:eo,expanded:ea,id:es,popupOpen:el,focused:eu,focusedTag:ec,anchorEl:ed,setAnchorEl:ep,inputValue:ef,groupedOptions:eh}=function(t){let{unstable_isActiveElementInListbox:r=wy,unstable_classNamePrefix:n="Mui",autoComplete:i=!1,autoHighlight:o=!1,autoSelect:a=!1,blurOnSelect:s=!1,clearOnBlur:l=!t.freeSolo,clearOnEscape:u=!1,componentName:c="useAutocomplete",defaultValue:d=t.multiple?[]:null,disableClearable:f=!1,disableCloseOnSelect:h=!1,disabled:m,disabledItemsFocusable:g=!1,disableListWrap:y=!1,filterOptions:v=wg,filterSelectedOptions:_=!1,freeSolo:w=!1,getOptionDisabled:x,getOptionKey:E,getOptionLabel:k=t=>{var r;return null!=(r=t.label)?r:t},groupBy:C,handleHomeEndKeys:O=!t.freeSolo,id:R,includeInputInList:T=!1,inputValue:P,isOptionEqualToValue:M=(t,r)=>t===r,multiple:I=!1,onChange:A,onClose:L,onHighlightChange:N,onInputChange:j,onOpen:D,open:F,openOnFocus:B=!1,options:$,readOnly:U=!1,selectOnFocus:z=!t.freeSolo,value:q}=t,Z=iu(R),H=k;H=t=>{let r=k(t);return"string"!=typeof r?String(r):r};let V=b.useRef(!1),W=b.useRef(!0),G=b.useRef(null),K=b.useRef(null),[X,Y]=b.useState(null),[J,Q]=b.useState(-1),ee=o?0:-1,et=b.useRef(ee),[er,en]=ic({controlled:q,default:d,name:c}),[ei,eo]=ic({controlled:P,default:"",name:c,state:"inputValue"}),[ea,es]=b.useState(!1),el=b.useCallback((t,r)=>{let n;if((I?er.length<r.length:null!==r)||l){if(I)n="";else if(null==r)n="";else{let t=H(r);n="string"==typeof t?t:""}ei!==n&&(eo(n),j&&j(t,n,"reset"))}},[H,ei,I,j,eo,l,er]),[eu,ec]=ic({controlled:F,default:!1,name:c,state:"open"}),[ed,ep]=b.useState(!0),ef=!I&&null!=er&&ei===H(er),eh=eu&&!U,em=eh?v($.filter(t=>!_||!(I?er:[er]).some(r=>null!==r&&M(t,r))),{inputValue:ef&&ed?"":ei,getOptionLabel:H}):[],eg=iC({filteredOptions:em,value:er,inputValue:ei});b.useEffect(()=>{let t=er!==eg.value;ea&&!t||w&&!t||el(null,er)},[er,el,ea,eg.value,w]);let ey=eu&&em.length>0&&!U,ev=id(t=>{-1===t?G.current.focus():X.querySelector(`[data-tag-index="${t}"]`).focus()});b.useEffect(()=>{I&&J>er.length-1&&(Q(-1),ev(-1))},[er,I,J,ev]);let eb=id(({event:t,index:r,reason:i="auto"})=>{if(et.current=r,-1===r?G.current.removeAttribute("aria-activedescendant"):G.current.setAttribute("aria-activedescendant",`${Z}-option-${r}`),N&&N(t,-1===r?null:em[r],i),!K.current)return;let o=K.current.querySelector(`[role="option"].${n}-focused`);o&&(o.classList.remove(`${n}-focused`),o.classList.remove(`${n}-focusVisible`));let a=K.current;if("listbox"!==K.current.getAttribute("role")&&(a=K.current.parentElement.querySelector('[role="listbox"]')),!a)return;if(-1===r)return void(a.scrollTop=0);let s=K.current.querySelector(`[data-option-index="${r}"]`);if(s&&(s.classList.add(`${n}-focused`),"keyboard"===i&&s.classList.add(`${n}-focusVisible`),a.scrollHeight>a.clientHeight&&"mouse"!==i&&"touch"!==i)){let t=a.clientHeight+a.scrollTop,r=s.offsetTop+s.offsetHeight;r>t?a.scrollTop=r-a.clientHeight:s.offsetTop-s.offsetHeight*(1.3*!!C)<a.scrollTop&&(a.scrollTop=s.offsetTop-s.offsetHeight*(1.3*!!C))}}),e_=id(({event:t,diff:r,direction:n="next",reason:o="auto"})=>{if(!eh)return;let a=function(t,r){if(!K.current||t<0||t>=em.length)return -1;let n=t;for(;;){let i=K.current.querySelector(`[data-option-index="${n}"]`),o=!g&&(!i||i.disabled||"true"===i.getAttribute("aria-disabled"));if(i&&i.hasAttribute("tabindex")&&!o)return n;if((n="next"===r?(n+1)%em.length:(n-1+em.length)%em.length)===t)return -1}}((()=>{let t=em.length-1;if("reset"===r)return ee;if("start"===r)return 0;if("end"===r)return t;let n=et.current+r;return n<0?-1===n&&T?-1:y&&-1!==et.current||Math.abs(r)>1?0:t:n>t?n===t+1&&T?-1:y||Math.abs(r)>1?t:0:n})(),n);if(eb({index:a,reason:o,event:t}),i&&"reset"!==r)if(-1===a)G.current.value=ei;else{let t=H(em[a]);G.current.value=t,0===t.toLowerCase().indexOf(ei.toLowerCase())&&ei.length>0&&G.current.setSelectionRange(ei.length,t.length)}}),ew=b.useCallback(()=>{if(!eh)return;let t=(()=>{var t;if(-1!==et.current&&eg.filteredOptions&&eg.filteredOptions.length!==em.length&&eg.inputValue===ei&&(I?er.length===eg.value.length&&eg.value.every((t,r)=>H(er[r])===H(t)):((t=eg.value)?H(t):"")===(er?H(er):""))){let t=eg.filteredOptions[et.current];if(t)return wm(em,r=>H(r)===H(t))}return -1})();if(-1!==t)return void(et.current=t);let r=I?er[0]:er;if(0!==em.length&&null!=r){if(K.current)if(null==r)et.current>=em.length-1?eb({index:em.length-1}):eb({index:et.current});else{let t=em[et.current];if(I&&t&&-1!==wm(er,r=>M(t,r)))return;let n=wm(em,t=>M(t,r));-1===n?e_({diff:"reset"}):eb({index:n})}}else e_({diff:"reset"})},[em.length,!I&&er,_,e_,eb,eh,ei,I]),eS=id(t=>{ia(K,t),t&&ew()});b.useEffect(()=>{ew()},[ew]);let ex=t=>{eu||(ec(!0),ep(!0),D&&D(t))},eE=(t,r)=>{eu&&(ec(!1),L&&L(t,r))},ek=(t,r,n,i)=>{if(I){if(er.length===r.length&&er.every((t,n)=>t===r[n]))return}else if(er===r)return;A&&A(t,r,n,i),en(r)},eC=b.useRef(!1),eO=(t,r,n="selectOption",i="options")=>{let o=n,a=r;if(I){let t=wm(a=Array.isArray(er)?er.slice():[],t=>M(r,t));-1===t?a.push(r):"freeSolo"!==i&&(a.splice(t,1),o="removeOption")}el(t,a),ek(t,a,o,{option:r}),h||t&&(t.ctrlKey||t.metaKey)||eE(t,o),(!0===s||"touch"===s&&eC.current||"mouse"===s&&!eC.current)&&G.current.blur()},eR=(t,r)=>{if(!I)return;""===ei&&eE(t,"toggleInput");let n=J;-1===J?""===ei&&"previous"===r&&(n=er.length-1):((n+="next"===r?1:-1)<0&&(n=0),n===er.length&&(n=-1)),Q(n=function(t,r){if(-1===t)return -1;let n=t;for(;;){if("next"===r&&n===er.length||"previous"===r&&-1===n)return -1;let t=X.querySelector(`[data-tag-index="${n}"]`);if(t&&t.hasAttribute("tabindex")&&!t.disabled&&"true"!==t.getAttribute("aria-disabled"))return n;n+="next"===r?1:-1}}(n,r)),ev(n)},eT=t=>{V.current=!0,eo(""),j&&j(t,"","clear"),ek(t,I?[]:null,"clear")},eP=t=>r=>{if(t.onKeyDown&&t.onKeyDown(r),!r.defaultMuiPrevented&&(-1!==J&&-1===["ArrowLeft","ArrowRight"].indexOf(r.key)&&(Q(-1),ev(-1)),229!==r.which))switch(r.key){case"Home":eh&&O&&(r.preventDefault(),e_({diff:"start",direction:"next",reason:"keyboard",event:r}));break;case"End":eh&&O&&(r.preventDefault(),e_({diff:"end",direction:"previous",reason:"keyboard",event:r}));break;case"PageUp":r.preventDefault(),e_({diff:-5,direction:"previous",reason:"keyboard",event:r}),ex(r);break;case"PageDown":r.preventDefault(),e_({diff:5,direction:"next",reason:"keyboard",event:r}),ex(r);break;case"ArrowDown":r.preventDefault(),e_({diff:1,direction:"next",reason:"keyboard",event:r}),ex(r);break;case"ArrowUp":r.preventDefault(),e_({diff:-1,direction:"previous",reason:"keyboard",event:r}),ex(r);break;case"ArrowLeft":eR(r,"previous");break;case"ArrowRight":eR(r,"next");break;case"Enter":if(-1!==et.current&&eh){let t=em[et.current],n=!!x&&x(t);if(r.preventDefault(),n)return;eO(r,t,"selectOption"),i&&G.current.setSelectionRange(G.current.value.length,G.current.value.length)}else w&&""!==ei&&!1===ef&&(I&&r.preventDefault(),eO(r,ei,"createOption","freeSolo"));break;case"Escape":eh?(r.preventDefault(),r.stopPropagation(),eE(r,"escape")):u&&(""!==ei||I&&er.length>0)&&(r.preventDefault(),r.stopPropagation(),eT(r));break;case"Backspace":if(I&&!U&&""===ei&&er.length>0){let t=-1===J?er.length-1:J,n=er.slice();n.splice(t,1),ek(r,n,"removeOption",{option:er[t]})}break;case"Delete":if(I&&!U&&""===ei&&er.length>0&&-1!==J){let t=er.slice();t.splice(J,1),ek(r,t,"removeOption",{option:er[J]})}}},eM=t=>{es(!0),B&&!V.current&&ex(t)},eI=t=>{r(K)?G.current.focus():(es(!1),W.current=!0,V.current=!1,a&&-1!==et.current&&eh?eO(t,em[et.current],"blur"):a&&w&&""!==ei?eO(t,ei,"blur","freeSolo"):l&&el(t,er),eE(t,"blur"))},eA=t=>{let r=t.target.value;ei!==r&&(eo(r),ep(!1),j&&j(t,r,"input")),""===r?f||I||ek(t,null,"clear"):ex(t)},eL=t=>{let r=Number(t.currentTarget.getAttribute("data-option-index"));et.current!==r&&eb({event:t,index:r,reason:"mouse"})},eN=t=>{eb({event:t,index:Number(t.currentTarget.getAttribute("data-option-index")),reason:"touch"}),eC.current=!0},ej=t=>{let r=Number(t.currentTarget.getAttribute("data-option-index"));eO(t,em[r],"selectOption"),eC.current=!1},eD=t=>r=>{let n=er.slice();n.splice(t,1),ek(r,n,"removeOption",{option:er[t]})},eF=t=>{eu?eE(t,"toggleInput"):ex(t)},eB=t=>{t.currentTarget.contains(t.target)&&t.target.getAttribute("id")!==Z&&t.preventDefault()},e$=t=>{t.currentTarget.contains(t.target)&&(G.current.focus(),z&&W.current&&G.current.selectionEnd-G.current.selectionStart==0&&G.current.select(),W.current=!1)},eU=t=>{m||""!==ei&&eu||eF(t)},ez=w&&ei.length>0;ez=ez||(I?er.length>0:null!==er);let eq=em;return C&&(eq=em.reduce((t,r,n)=>{let i=C(r);return t.length>0&&t[t.length-1].group===i?t[t.length-1].options.push(r):t.push({key:n,index:n,group:i,options:[r]}),t},[])),m&&ea&&eI(),{getRootProps:(t={})=>S({"aria-owns":ey?`${Z}-listbox`:null},t,{onKeyDown:eP(t),onMouseDown:eB,onClick:e$}),getInputLabelProps:()=>({id:`${Z}-label`,htmlFor:Z}),getInputProps:()=>({id:Z,value:ei,onBlur:eI,onFocus:eM,onChange:eA,onMouseDown:eU,"aria-activedescendant":eh?"":null,"aria-autocomplete":i?"both":"list","aria-controls":ey?`${Z}-listbox`:void 0,"aria-expanded":ey,autoComplete:"off",ref:G,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:m}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:eT}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:eF}),getTagProps:({index:t})=>S({key:t,"data-tag-index":t,tabIndex:-1},!U&&{onDelete:eD(t)}),getListboxProps:()=>({role:"listbox",id:`${Z}-listbox`,"aria-labelledby":`${Z}-label`,ref:eS,onMouseDown:t=>{t.preventDefault()}}),getOptionProps:({index:t,option:r})=>{var n;let i=(I?er:[er]).some(t=>null!=t&&M(r,t)),o=!!x&&x(r);return{key:null!=(n=null==E?void 0:E(r))?n:H(r),tabIndex:-1,role:"option",id:`${Z}-option-${t}`,onMouseMove:eL,onClick:ej,onTouchStart:eN,"data-option-index":t,"aria-disabled":o,"aria-selected":i}},id:Z,inputValue:ei,value:er,dirty:ez,expanded:eh&&X,popupOpen:eh,focused:ea||-1!==J,anchorEl:X,setAnchorEl:Y,focusedTag:J,groupedOptions:eq}}(S({},l,{componentName:"Autocomplete"})),em=!g&&!y&&eo&&!z,eg=(!E||!0===x)&&!1!==x,{onMouseDown:ey}=Y(),{ref:ev}=null!=A?A:{},eb=er(),{ref:e_}=eb,ew=w(eb,w6),eS=ip(e_,ev),ex=O||(t=>{var r;return null!=(r=t.label)?r:t}),eE=S({},l,{disablePortal:_,expanded:ea,focused:eu,fullWidth:k,getOptionLabel:ex,hasClearIcon:em,hasPopupIcon:eg,inputFocused:-1===ec,popupOpen:el,size:W}),ek=(t=>{let{classes:r,disablePortal:n,expanded:i,focused:o,fullWidth:a,hasClearIcon:s,hasPopupIcon:l,inputFocused:u,popupOpen:c,size:d}=t;return T({root:["root",i&&"expanded",o&&"focused",a&&"fullWidth",s&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",u&&"inputFocused"],tag:["tag",`tagSize${tq(d)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]},w2,r)})(eE);if(j&&ei.length>0){let t=t=>S({className:ek.tag,disabled:y},et(t));s=V?V(ei,t,eE):ei.map((r,n)=>(0,v.jsx)(g7,S({label:ex(r),size:W},t({index:n}),u)))}if(M>-1&&Array.isArray(s)){let t=s.length-M;!eu&&t>0&&(s=s.splice(0,M)).push((0,v.jsx)("span",{className:ek.tag,children:C(t)},s.length))}let eC=q||(t=>(0,v.jsxs)("li",{children:[(0,v.jsx)(So,{className:ek.groupLabel,ownerState:eE,component:"div",children:t.group}),(0,v.jsx)(Sa,{className:ek.groupUl,ownerState:eE,children:t.children})]},t.key)),eO=H||((t,r)=>(0,b.createElement)("li",S({},t,{key:t.key}),ex(r))),eR=(t,r)=>{let n=en({option:t,index:r});return eO(S({},n,{className:ek.option}),t,{selected:n["aria-selected"],index:r,inputValue:ef},eE)},eT=null!=(n=G.clearIndicator)?n:m.clearIndicator,eP=null!=(i=G.paper)?i:m.paper,eM=null!=(o=G.popper)?o:m.popper,eI=null!=(a=G.popupIndicator)?a:m.popupIndicator,eA=t=>(0,v.jsx)(Se,S({as:$,disablePortal:_,style:{width:ed?ed.clientWidth:null},ownerState:eE,role:"presentation",anchorEl:ed,open:el},eM,{className:R(ek.popper,null==eM?void 0:eM.className),children:(0,v.jsx)(St,S({ownerState:eE,as:B},eP,{className:R(ek.paper,null==eP?void 0:eP.className),children:t}))})),eL=null;return eh.length>0?eL=eA((0,v.jsx)(Si,S({as:I,className:ek.listbox,ownerState:eE},ew,A,{ref:eS,children:eh.map((t,r)=>P?eC({key:t.key,group:t.group,children:t.options.map((r,n)=>eR(r,t.index+n))}):eR(t,r))}))):L&&0===eh.length?eL=eA((0,v.jsx)(Sr,{className:ek.loading,ownerState:eE,children:N})):0!==eh.length||E||L||(eL=eA((0,v.jsx)(Sn,{className:ek.noOptions,ownerState:eE,role:"presentation",onMouseDown:t=>{t.preventDefault()},children:D}))),(0,v.jsxs)(b.Fragment,{children:[(0,v.jsx)(w4,S({ref:r,className:R(ek.root,c),ownerState:eE},X(K),{children:Z({id:es,disabled:y,fullWidth:!0,size:"small"===W?"small":void 0,InputLabelProps:J(),InputProps:S({ref:ep,className:ek.inputRoot,startAdornment:s,onClick:t=>{t.target===t.currentTarget&&ey(t)}},(em||eg)&&{endAdornment:(0,v.jsxs)(w8,{className:ek.endAdornment,ownerState:eE,children:[em?(0,v.jsx)(w7,S({},ee(),{"aria-label":f,title:f,ownerState:eE},eT,{className:R(ek.clearIndicator,null==eT?void 0:eT.className),children:d})):null,eg?(0,v.jsx)(w9,S({},Q(),{disabled:y,"aria-label":el?h:F,title:el?h:F,ownerState:eE},eI,{className:R(ek.popupIndicator,null==eI?void 0:eI.className),children:U})):null]})}),inputProps:S({className:ek.input,disabled:y,readOnly:z},Y())})})),ed?eL:null]})}),Sl="MuiAutocomplete-listbox",Su={slotProps:{paper:{elevation:6}}};var Sc=b.forwardRef((t,r)=>{var n;let{renderInput:i,ListboxProps:o={},...a}=t,s={...Su,...a,slotProps:{...Su.slotProps,...a.slotProps,paper:{...Su.slotProps?.paper,...a.slotProps?.paper}}};return b.createElement(Ss,{...s,ListboxProps:{...o,className:R([Sl,`${Sl}Size${(n=a.size||"medium")[0].toUpperCase()+n.slice(1)}`,o.className])},renderInput:r=>i?.((t.size&&(r.size=t.size),r)),ref:r})});let Sd=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Sp=["component","slots","slotProps"],Sf=["component"];function Sh(t,r){let{className:n,elementType:i,ownerState:o,externalForwardedProps:a,getSlotOwnerState:s,internalForwardedProps:l}=r,u=w(r,Sd),{component:c,slots:d={[t]:void 0},slotProps:f={[t]:void 0}}=a,h=w(a,Sp),m=d[t]||i,g=lc(f[t],o),y=lp(S({className:n},u,{externalForwardedProps:"root"===t?h:void 0,externalSlotProps:g})),{props:{component:v},internalRef:b}=y,_=w(y.props,Sf),x=ip(b,null==g?void 0:g.ref,r.ref),E=s?s(_):{},k=S({},o,E),C="root"===t?v||c:v,O=ls(m,S({},"root"===t&&!c&&!d[t]&&l,"root"!==t&&!d[t]&&l,_,C&&{as:C},{ref:x}),k);return Object.keys(E).forEach(t=>{delete O[t]}),[m,O]}function Sm(t){return r3("MuiAlert",t)}let Sg=nZ("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Sy=g0((0,v.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"),Sv=g0((0,v.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Sb=g0((0,v.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"),S_=g0((0,v.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"),Sw=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],SS=nM(iK,{name:"MuiAlert",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[n.variant],r[`${n.variant}${tq(n.color||n.severity)}`]]}})(({theme:t})=>{let r="light"===t.palette.mode?r9.darken:r9.lighten,n="light"===t.palette.mode?r9.lighten:r9.darken;return S({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(([,t])=>t.main&&t.light).map(([i])=>({props:{colorSeverity:i,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${i}Color`]:r(t.palette[i].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${i}StandardBg`]:n(t.palette[i].light,.9),[`& .${Sg.icon}`]:t.vars?{color:t.vars.palette.Alert[`${i}IconColor`]}:{color:t.palette[i].main}}})),...Object.entries(t.palette).filter(([,t])=>t.main&&t.light).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${n}Color`]:r(t.palette[n].light,.6),border:`1px solid ${(t.vars||t).palette[n].light}`,[`& .${Sg.icon}`]:t.vars?{color:t.vars.palette.Alert[`${n}IconColor`]}:{color:t.palette[n].main}}})),...Object.entries(t.palette).filter(([,t])=>t.main&&t.dark).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:S({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert[`${r}FilledColor`],backgroundColor:t.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:"dark"===t.palette.mode?t.palette[r].dark:t.palette[r].main,color:t.palette.getContrastText(t.palette[r].main)})}))]})}),Sx=nM("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,r)=>r.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),SE=nM("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,r)=>r.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Sk=nM("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,r)=>r.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),SC={success:(0,v.jsx)(Sy,{fontSize:"inherit"}),warning:(0,v.jsx)(Sv,{fontSize:"inherit"}),error:(0,v.jsx)(Sb,{fontSize:"inherit"}),info:(0,v.jsx)(S_,{fontSize:"inherit"})},SO=o4(b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiAlert"}),{action:i,children:o,className:a,closeText:s="Close",color:l,components:u={},componentsProps:c={},icon:d,iconMapping:f=SC,onClose:h,role:m="alert",severity:g="success",slotProps:y={},slots:b={},variant:_="standard"}=n,x=w(n,Sw),E=S({},n,{color:l,severity:g,variant:_,colorSeverity:l||g}),k=(t=>{let{variant:r,color:n,severity:i,classes:o}=t;return T({root:["root",`color${tq(n||i)}`,`${r}${tq(n||i)}`,`${r}`],icon:["icon"],message:["message"],action:["action"]},Sm,o)})(E),C={slots:S({closeButton:u.CloseButton,closeIcon:u.CloseIcon},b),slotProps:S({},c,y)},[O,P]=Sh("closeButton",{elementType:oZ,externalForwardedProps:C,ownerState:E}),[M,I]=Sh("closeIcon",{elementType:w0,externalForwardedProps:C,ownerState:E});return(0,v.jsxs)(SS,S({role:m,elevation:0,ownerState:E,className:R(k.root,a),ref:r},x,{children:[!1!==d?(0,v.jsx)(Sx,{ownerState:E,className:k.icon,children:d||f[g]||SC[g]}):null,(0,v.jsx)(SE,{ownerState:E,className:k.message,children:o}),null!=i?(0,v.jsx)(Sk,{ownerState:E,className:k.action,children:i}):null,null==i&&h?(0,v.jsx)(Sk,{ownerState:E,className:k.action,children:(0,v.jsx)(O,S({size:"small","aria-label":s,title:s,color:"inherit",onClick:h},P,{children:(0,v.jsx)(M,S({fontSize:"small"},I))}))}):null]}))}))(({theme:t,severity:r,color:n,variant:i,ownerState:o})=>{let a="small"===o.size,s=function(t,r,n,i){let o=r||t;return o?"filled"===n?{"& .MuiButton-containedInherit:not(.Mui-disabled)":{color:i.palette[o].main,backgroundColor:"rgba(255, 255, 255, 1)","&:hover":{backgroundColor:"rgba(255, 255, 255, .96)"}},"& .MuiButton-outlinedInherit:not(.Mui-disabled):hover":{backgroundColor:i.palette[o].dark},"& a.MuiButtonBase-root.MuiButton-containedInherit:not(.Mui-disabled)":{[oH]:{color:i.palette[o].main}}}:{"&.MuiAlert-root":{color:i.palette.text.secondary},"& .MuiCloseButton-root":{color:i.palette.action.active},"& .MuiButton-containedInherit:not(.Mui-disabled)":{backgroundColor:i.palette[o].main,color:i.palette[o].contrastText,"&:hover":{backgroundColor:i.palette[o].dark,color:i.palette[o].contrastText}},"& .MuiButton-outlinedInherit:not(.Mui-disabled)":{borderColor:i.palette[o].main,color:i.palette[o].main,"&:hover":{backgroundColor:n4(i.palette[o].main,.08),color:i.palette[o].main}},"& a.MuiButtonBase-root.MuiButton-containedInherit:not(.Mui-disabled)":{[oH]:{color:i.palette[o].contrastText}},"& a.MuiButtonBase-root.MuiButton-outlinedInherit:not(.Mui-disabled)":{[oH]:{color:i.palette[o].main}}}:{}}(r,n,i,t),l="small"!==o.size?{}:{"& .MuiButtonBase-root.MuiButton-root":{fontSize:t.typography.caption.fontSize,letterSpacing:t.typography.caption.letterSpacing,lineHeight:1},"& .MuiButtonBase-root.MuiButton-contained":{padding:"8px 9px"},"& .MuiButtonBase-root.MuiButton-outlined":{padding:"7px 9px"}},u=a?{...t.typography.caption,fontWeight:t.typography.subtitle2.fontWeight,lineHeight:t.typography.subtitle2.lineHeight}:t.typography.subtitle2,c=a?{...t.typography.caption,lineHeight:t.typography.body2.lineHeight}:{};return{borderRadius:o.square?void 0:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2],padding:a?t.spacing(1.5):t.spacing(1.5,2),"& .MuiAlert-message":{width:"100%",padding:0,minHeight:a?"28px":"31px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:a?t.spacing(1):t.spacing(1.5),...c},"& .MuiAlertTitle-root":{marginBottom:0,lineHeight:"inherit",marginRight:a?t.spacing(.25):t.spacing(.5),marginTop:0,...u},"& .MuiAlert-icon":{fontSize:a?"18px":"22px",padding:a?t.spacing(.25):0,paddingTop:a?"5px":t.spacing(.5),marginRight:a?t.spacing(.5):t.spacing(1.5)},"& .MuiAlert-action":{padding:a?t.spacing(.25,0,0):0,marginLeft:a?t.spacing(.5):t.spacing(1)},"&.MuiAlert-filledWarning":{color:t.palette.common.white},...l,...s}}),{slots:SR,classNames:ST}=o2("Alert",["actions","content"]),SP=o4("div",SR.content)(()=>({flexGrow:1,paddingTop:"6px"})),SM=o4("div",SR.content)(({theme:t})=>({alignItems:"center",display:"flex",flexWrap:"wrap",gap:t.spacing(.25),maxWidth:"800px"})),SI=({children:t,...r})=>b.createElement(SP,{...r},b.createElement(SM,null,t)),SA=o4("div")(({theme:t,ownerState:r})=>({display:"flex",alignItems:"flex-start",flexWrap:"wrap",gap:"small"===r.size?t.spacing(.5):t.spacing(1)})),SL={closeText:"Close",severity:"success",size:"medium"},SN=b.forwardRef((t,r)=>{let{onClose:n,action:i,secondaryAction:o,children:a,size:s,...l}={...SL,...t},u=!!(i||o);return b.createElement(SO,{iconMapping:{success:b.createElement(Sj,null),error:b.createElement(SF,null),info:b.createElement(SD,null),warning:b.createElement(SB,null)},...l,ref:r,action:!!n&&b.createElement(b9,{color:"inherit",onClick:n,slotProps:{icon:{fontSize:"small"===s?"tiny":"small"}},title:l.closeText,"aria-label":l.closeText}),ownerState:{size:s,square:l.square}},b.createElement(SI,{className:ST.content},a),u&&b.createElement(SA,{className:ST.actions,ownerState:{size:s}},o,i))});function Sj(){return b.createElement(a8,{viewBox:"0 0 24 24",fontSize:"inherit"},b.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 SD(){return b.createElement(a8,{viewBox:"0 0 24 24",fontSize:"inherit"},b.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 SF(){return b.createElement(a8,{viewBox:"0 0 24 24",fontSize:"inherit"},b.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 SB(){return b.createElement(a8,{viewBox:"0 0 24 24",fontSize:"inherit"},b.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"}))}SN.defaultProps=SL;let{slots:S$,classNames:SU}=o2("AlertAction",["root"]),Sz=o4(sF,S$.root)({}),Sq={color:"inherit",variant:"outlined"},SZ=b.forwardRef((t,r)=>{let n=nF({props:{...Sq,...t},name:S$.root.name});return b.createElement(Sz,{...n,size:"small",ref:r,className:R([[SU.root,n.className]]),ownerState:n})});function SH(t){return r3("MuiSnackbarContent",t)}SZ.defaultProps=Sq,nZ("MuiSnackbarContent",["root","message","action"]);let SV=["action","className","message","role"],SW=nM(iK,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(t,r)=>r.root})(({theme:t})=>{let r="light"===t.palette.mode?.8:.98,n=r9.emphasize(t.palette.background.default,r);return S({},t.typography.body2,{color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(n),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,flexGrow:1,[t.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),SG=nM("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(t,r)=>r.message})({padding:"8px 0"}),SK=nM("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(t,r)=>r.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),SX=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiSnackbarContent"}),{action:i,className:o,message:a,role:s="alert"}=n,l=w(n,SV),u=(t=>{let{classes:r}=t;return T({root:["root"],action:["action"],message:["message"]},SH,r)})(n);return(0,v.jsxs)(SW,S({role:s,square:!0,elevation:6,className:R(u.root,o),ownerState:n,ref:r},l,{children:[(0,v.jsx)(SG,{className:u.message,ownerState:n,children:a}),i?(0,v.jsx)(SK,{className:u.action,ownerState:n,children:i}):null]}))});function SY(t){return r3("MuiSnackbar",t)}nZ("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);let SJ=["onEnter","onExited"],SQ=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],S0=nM("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[`anchorOrigin${tq(n.anchorOrigin.vertical)}${tq(n.anchorOrigin.horizontal)}`]]}})(({theme:t,ownerState:r})=>S({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===r.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===r.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===r.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[t.breakpoints.up("sm")]:S({},"top"===r.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===r.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===r.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===r.anchorOrigin.horizontal&&{right:24,left:"auto"})})),S1=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiSnackbar"}),i=iH(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:s,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:u=null,children:c,className:d,ClickAwayListenerProps:f,ContentProps:h,disableWindowBlurListener:m=!1,message:g,open:y,TransitionComponent:_=lM,transitionDuration:x=o,TransitionProps:{onEnter:E,onExited:k}={}}=n,C=w(n.TransitionProps,SJ),O=w(n,SQ),R=S({},n,{anchorOrigin:{vertical:s,horizontal:l},autoHideDuration:u,disableWindowBlurListener:m,TransitionComponent:_,transitionDuration:x}),P=(t=>{let{classes:r,anchorOrigin:n}=t;return T({root:["root",`anchorOrigin${tq(n.vertical)}${tq(n.horizontal)}`]},SY,r)})(R),{getRootProps:M,onClickAway:I}=function(t={}){let{autoHideDuration:r=null,disableWindowBlurListener:n=!1,onClose:i,open:o,resumeHideDuration:a}=t,s=ig();b.useEffect(()=>{if(o)return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)};function t(t){t.defaultPrevented||"Escape"!==t.key&&"Esc"!==t.key||null==i||i(t,"escapeKeyDown")}},[o,i]);let l=id((t,r)=>{null==i||i(t,r)}),u=id(t=>{i&&null!=t&&s.start(t,()=>{l(null,"timeout")})});b.useEffect(()=>(o&&u(r),s.clear),[o,r,u,s]);let c=s.clear,d=b.useCallback(()=>{null!=r&&u(null!=a?a:.5*r)},[r,a,u]),f=t=>r=>{let n=t.onFocus;null==n||n(r),c()},h=t=>r=>{let n=t.onMouseEnter;null==n||n(r),c()},m=t=>r=>{let n=t.onMouseLeave;null==n||n(r),d()};return b.useEffect(()=>{if(!n&&o)return window.addEventListener("focus",d),window.addEventListener("blur",c),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",c)}},[n,o,d,c]),{getRootProps:(r={})=>{let n=S({},lu(t),lu(r));return S({role:"presentation"},r,n,{onBlur:t=>{let r=n.onBlur;null==r||r(t),d()},onFocus:f(n),onMouseEnter:h(n),onMouseLeave:m(n)})},onClickAway:t=>{null==i||i(t,"clickaway")}}}(S({},R)),[A,L]=b.useState(!0),N=lh({elementType:S0,getSlotProps:M,externalForwardedProps:O,ownerState:R,additionalProps:{ref:r},className:[P.root,d]});return!y&&A?null:(0,v.jsx)(_d,S({onClickAway:I},f,{children:(0,v.jsx)(S0,S({},N,{children:(0,v.jsx)(_,S({appear:!0,in:y,timeout:x,direction:"top"===s?"down":"up",onEnter:(t,r)=>{L(!1),E&&E(t,r)},onExited:t=>{L(!0),k&&k(t)}},C,{children:c||(0,v.jsx)(SX,S({message:g,action:a},h))}))}))}))});var S2=b.forwardRef((t,r)=>b.createElement(S1,{...t,ref:r}));let S5=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],S3=nM(wZ,{shouldForwardProp:t=>nP(t)||"classes"===t,name:"MuiInput",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[...wz(t,r),!n.disableUnderline&&r.underline]}})(({theme:t,ownerState:r})=>{let n="light"===t.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(n=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),S({position:"relative"},r.formControl&&{"label + &":{marginTop:16}},!r.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[r.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${wK.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${wK.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${wK.disabled}, .${wK.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${wK.disabled}:before`]:{borderBottomStyle:"dotted"}})}),S6=nM(wH,{name:"MuiInput",slot:"Input",overridesResolver:wq})({}),S4=b.forwardRef(function(t,r){var n,i,o,a;let s=nF({props:t,name:"MuiInput"}),{disableUnderline:l,components:u={},componentsProps:c,fullWidth:d=!1,inputComponent:f="input",multiline:h=!1,slotProps:m,slots:g={},type:y="text"}=s,b=w(s,S5),_=(t=>{let{classes:r,disableUnderline:n}=t;return S({},r,T({root:["root",!n&&"underline"],input:["input"]},wG,r))})(s),x={root:{ownerState:{disableUnderline:l}}},E=(null!=m?m:c)?tB(null!=m?m:c,x):x,k=null!=(n=null!=(i=g.root)?i:u.Root)?n:S3,C=null!=(o=null!=(a=g.input)?a:u.Input)?o:S6;return(0,v.jsx)(wW,S({slots:{root:k,input:C},slotProps:E,fullWidth:d,inputComponent:f,multiline:h,ref:r,type:y},b,{classes:_}))});S4.muiName="Input";let S8=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],S7=nM(wZ,{shouldForwardProp:t=>nP(t)||"classes"===t,name:"MuiFilledInput",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[...wz(t,r),!n.disableUnderline&&r.underline]}})(({theme:t,ownerState:r})=>{var n;let i="light"===t.palette.mode,o=i?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return S({position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:o,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:i?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:o}},[`&.${wQ.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:o},[`&.${wQ.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:i?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},!r.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(n=(t.vars||t).palette[r.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${wQ.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${wQ.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:i?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)"}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${wQ.disabled}, .${wQ.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${wQ.disabled}:before`]:{borderBottomStyle:"dotted"}},r.startAdornment&&{paddingLeft:12},r.endAdornment&&{paddingRight:12},r.multiline&&S({padding:"25px 12px 8px"},"small"===r.size&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17},r.hiddenLabel&&"small"===r.size&&{paddingTop:8,paddingBottom:9}))}),S9=nM(wH,{name:"MuiFilledInput",slot:"Input",overridesResolver:wq})(({theme:t,ownerState:r})=>S({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===r.size&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0},r.hiddenLabel&&"small"===r.size&&{paddingTop:8,paddingBottom:9},r.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),xe=b.forwardRef(function(t,r){var n,i,o,a;let s=nF({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:u,fullWidth:c=!1,inputComponent:d="input",multiline:f=!1,slotProps:h,slots:m={},type:g="text"}=s,y=w(s,S8),b=S({},s,{fullWidth:c,inputComponent:d,multiline:f,type:g}),_=(t=>{let{classes:r,disableUnderline:n}=t;return S({},r,T({root:["root",!n&&"underline"],input:["input"]},wJ,r))})(s),x={root:{ownerState:b},input:{ownerState:b}},E=(null!=h?h:u)?tB(x,null!=h?h:u):x,k=null!=(n=null!=(i=m.root)?i:l.Root)?n:S7,C=null!=(o=null!=(a=m.input)?a:l.Input)?o:S9;return(0,v.jsx)(wW,S({slots:{root:k,input:C},componentsProps:E,fullWidth:c,inputComponent:d,multiline:f,ref:r,type:g},y,{classes:_}))});xe.muiName="Input";let xt=["children","classes","className","label","notched"],xr=nM("fieldset",{shouldForwardProp:nP})({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%"}),xn=nM("legend",{shouldForwardProp:nP})(({ownerState:t,theme:r})=>S({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:r.transitions.create("width",{duration:150,easing:r.transitions.easing.easeOut})},t.withLabel&&S({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:r.transitions.create("max-width",{duration:50,easing:r.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:r.transitions.create("max-width",{duration:100,easing:r.transitions.easing.easeOut,delay:50})}))),xi=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],xo=nM(wZ,{shouldForwardProp:t=>nP(t)||"classes"===t,name:"MuiOutlinedInput",slot:"Root",overridesResolver:wz})(({theme:t,ownerState:r})=>{let n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return S({position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${wY.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${wY.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${wY.focused} .${wY.notchedOutline}`]:{borderColor:(t.vars||t).palette[r.color].main,borderWidth:2},[`&.${wY.error} .${wY.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${wY.disabled} .${wY.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}},r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&S({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))}),xa=nM(function(t){let{className:r,label:n,notched:i}=t,o=w(t,xt),a=null!=n&&""!==n,s=S({},t,{notched:i,withLabel:a});return(0,v.jsx)(xr,S({"aria-hidden":!0,className:r,ownerState:s},o,{children:(0,v.jsx)(xn,{ownerState:s,children:a?(0,v.jsx)("span",{children:n}):x4||(x4=(0,v.jsx)("span",{className:"notranslate",children:"\u200B"}))})}))},{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(t,r)=>r.notchedOutline})(({theme:t})=>{let r="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:r}}),xs=nM(wH,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:wq})(({theme:t,ownerState:r})=>S({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===r.size&&{padding:"8.5px 14px"},r.multiline&&{padding:0},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0})),xl=b.forwardRef(function(t,r){var n,i,o,a,s;let l=nF({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:c=!1,inputComponent:d="input",label:f,multiline:h=!1,notched:m,slots:g={},type:y="text"}=l,_=w(l,xi),x=(t=>{let{classes:r}=t;return S({},r,T({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},wX,r))})(l),E=b1(),k=wF({props:l,muiFormControl:E,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C=S({},l,{color:k.color||"primary",disabled:k.disabled,error:k.error,focused:k.focused,formControl:E,fullWidth:c,hiddenLabel:k.hiddenLabel,multiline:h,size:k.size,type:y}),O=null!=(n=null!=(i=g.root)?i:u.Root)?n:xo,R=null!=(o=null!=(a=g.input)?a:u.Input)?o:xs;return(0,v.jsx)(wW,S({slots:{root:O,input:R},renderSuffix:t=>(0,v.jsx)(xa,{ownerState:C,className:x.notchedOutline,label:null!=f&&""!==f&&k.required?s||(s=(0,v.jsxs)(b.Fragment,{children:[f,"\u2009","*"]})):f,notched:void 0!==m?m:!!(t.startAdornment||t.filled||t.focused)}),fullWidth:c,inputComponent:d,multiline:h,ref:r,type:y},_,{classes:S({},x,{notchedOutline:null})}))});function xu(t){return r3("MuiFormLabel",t)}xl.muiName="Input";let xc=nZ("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),xd=["children","className","color","component","disabled","error","filled","focused","required"],xp=nM("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:t},r)=>S({},r.root,"secondary"===t.color&&r.colorSecondary,t.filled&&r.filled)})(({theme:t,ownerState:r})=>S({color:(t.vars||t).palette.text.secondary},t.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${xc.focused}`]:{color:(t.vars||t).palette[r.color].main},[`&.${xc.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${xc.error}`]:{color:(t.vars||t).palette.error.main}})),xf=nM("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(t,r)=>r.asterisk})(({theme:t})=>({[`&.${xc.error}`]:{color:(t.vars||t).palette.error.main}})),xh=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiFormLabel"}),{children:i,className:o,component:a="label"}=n,s=w(n,xd),l=wF({props:n,muiFormControl:b1(),states:["color","required","focused","disabled","error","filled"]}),u=S({},n,{color:l.color||"primary",component:a,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),c=(t=>{let{classes:r,color:n,focused:i,disabled:o,error:a,filled:s,required:l}=t;return T({root:["root",`color${tq(n)}`,o&&"disabled",a&&"error",s&&"filled",i&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]},xu,r)})(u);return(0,v.jsxs)(xp,S({as:a,ownerState:u,className:R(c.root,o),ref:r},s,{children:[i,l.required&&(0,v.jsxs)(xf,{ownerState:u,"aria-hidden":!0,className:c.asterisk,children:["\u2009","*"]})]}))});function xm(t){return r3("MuiInputLabel",t)}nZ("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);let xg=["disableAnimation","margin","shrink","variant","className"],xy=nM(xh,{shouldForwardProp:t=>nP(t)||"classes"===t,name:"MuiInputLabel",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[{[`& .${xc.asterisk}`]:r.asterisk},r.root,n.formControl&&r.formControl,"small"===n.size&&r.sizeSmall,n.shrink&&r.shrink,!n.disableAnimation&&r.animated,n.focused&&r.focused,r[n.variant]]}})(({theme:t,ownerState:r})=>S({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},r.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===r.size&&{transform:"translate(0, 17px) scale(1)"},r.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!r.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===r.variant&&S({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===r.size&&{transform:"translate(12px, 13px) scale(1)"},r.shrink&&S({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===r.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===r.variant&&S({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===r.size&&{transform:"translate(14px, 9px) scale(1)"},r.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),xv=b.forwardRef(function(t,r){let n=nF({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,shrink:o,className:a}=n,s=w(n,xg),l=b1(),u=o;void 0===u&&l&&(u=l.filled||l.focused||l.adornedStart);let c=wF({props:n,muiFormControl:l,states:["size","variant","required","focused"]}),d=S({},n,{disableAnimation:i,formControl:l,shrink:u,size:c.size,variant:c.variant,required:c.required,focused:c.focused}),f=(t=>{let{classes:r,formControl:n,size:i,shrink:o,disableAnimation:a,variant:s,required:l}=t;return S({},r,T({root:["root",n&&"formControl",!a&&"animated",o&&"shrink",i&&"normal"!==i&&`size${tq(i)}`,s],asterisk:[l&&"asterisk"]},xm,r))})(d);return(0,v.jsx)(xy,S({"data-shrink":u,ownerState:d,ref:r,className:R(f.root,a)},s,{classes:f}))});function xb(t){return r3("MuiFormHelperText",t)}let x_=nZ("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),xw=["children","className","component","disabled","error","filled","focused","margin","required","variant"],xS=nM("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.size&&r[`size${tq(n.size)}`],n.contained&&r.contained,n.filled&&r.filled]}})(({theme:t,ownerState:r})=>S({color:(t.vars||t).palette.text.secondary},t.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${x_.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${x_.error}`]:{color:(t.vars||t).palette.error.main}},"small"===r.size&&{marginTop:4},r.contained&&{marginLeft:14,marginRight:14})),xx=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiFormHelperText"}),{children:i,className:o,component:a="p"}=n,s=w(n,xw),l=wF({props:n,muiFormControl:b1(),states:["variant","size","disabled","error","filled","focused","required"]}),u=S({},n,{component:a,contained:"filled"===l.variant||"outlined"===l.variant,variant:l.variant,size:l.size,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),c=(t=>{let{classes:r,contained:n,size:i,disabled:o,error:a,filled:s,focused:l,required:u}=t;return T({root:["root",o&&"disabled",a&&"error",i&&`size${tq(i)}`,n&&"contained",l&&"focused",s&&"filled",u&&"required"]},xb,r)})(u);return(0,v.jsx)(xS,S({as:a,ownerState:u,className:R(c.root,o),ref:r},s,{children:" "===i?x8||(x8=(0,v.jsx)("span",{className:"notranslate",children:"\u200B"})):i}))});function xE(t){return r3("MuiNativeSelect",t)}let xk=nZ("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),xC=["className","disabled","error","IconComponent","inputRef","variant"],xO=({ownerState:t,theme:r})=>S({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":S({},r.vars?{backgroundColor:`rgba(${r.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===r.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${xk.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(r.vars||r).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===t.variant&&{"&&&":{paddingRight:32}},"outlined"===t.variant&&{borderRadius:(r.vars||r).shape.borderRadius,"&:focus":{borderRadius:(r.vars||r).shape.borderRadius},"&&&":{paddingRight:32}}),xR=nM("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:nP,overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.select,r[n.variant],n.error&&r.error,{[`&.${xk.multiple}`]:r.multiple}]}})(xO),xT=({ownerState:t,theme:r})=>S({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(r.vars||r).palette.action.active,[`&.${xk.disabled}`]:{color:(r.vars||r).palette.action.disabled}},t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7}),xP=nM("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.icon,n.variant&&r[`icon${tq(n.variant)}`],n.open&&r.iconOpen]}})(xT),xM=b.forwardRef(function(t,r){let{className:n,disabled:i,error:o,IconComponent:a,inputRef:s,variant:l="standard"}=t,u=w(t,xC),c=S({},t,{disabled:i,variant:l,error:o}),d=(t=>{let{classes:r,variant:n,disabled:i,multiple:o,open:a,error:s}=t;return T({select:["select",n,i&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${tq(n)}`,a&&"iconOpen",i&&"disabled"]},xE,r)})(c);return(0,v.jsxs)(b.Fragment,{children:[(0,v.jsx)(xR,S({ownerState:c,className:R(d.select,n),disabled:i,ref:s||r},u)),t.multiple?null:(0,v.jsx)(xP,{as:a,ownerState:c,className:d.icon})]})});function xI(t){return r3("MuiSelect",t)}let xA=nZ("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),xL=["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"],xN=nM("div",{name:"MuiSelect",slot:"Select",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[{[`&.${xA.select}`]:r.select},{[`&.${xA.select}`]:r[n.variant]},{[`&.${xA.error}`]:r.error},{[`&.${xA.multiple}`]:r.multiple}]}})(xO,{[`&.${xA.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),xj=nM("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.icon,n.variant&&r[`icon${tq(n.variant)}`],n.open&&r.iconOpen]}})(xT),xD=nM("input",{shouldForwardProp:t=>nT(t)&&"classes"!==t,name:"MuiSelect",slot:"NativeInput",overridesResolver:(t,r)=>r.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function xF(t,r){return"object"==typeof r&&null!==r?t===r:String(t)===String(r)}let xB=b.forwardRef(function(t,r){var n,i;let o,a,{"aria-describedby":s,"aria-label":l,autoFocus:u,autoWidth:c,children:d,className:f,defaultOpen:h,defaultValue:m,disabled:g,displayEmpty:y,error:_=!1,IconComponent:x,inputRef:E,labelId:k,MenuProps:C={},multiple:O,name:P,onBlur:M,onChange:I,onClose:A,onFocus:L,onOpen:N,open:j,readOnly:D,renderValue:F,SelectDisplayProps:B={},tabIndex:$,value:U,variant:z="standard"}=t,q=w(t,xL),[Z,H]=ic({controlled:U,default:m,name:"Select"}),[V,W]=ic({controlled:j,default:h,name:"Select"}),G=b.useRef(null),K=b.useRef(null),[X,Y]=b.useState(null),{current:J}=b.useRef(null!=j),[Q,ee]=b.useState(),et=ip(r,E),er=b.useCallback(t=>{K.current=t,t&&Y(t)},[]),en=null==X?void 0:X.parentNode;b.useImperativeHandle(et,()=>({focus:()=>{K.current.focus()},node:G.current,value:Z}),[Z]),b.useEffect(()=>{h&&V&&X&&!J&&(ee(c?null:en.clientWidth),K.current.focus())},[X,c]),b.useEffect(()=>{u&&K.current.focus()},[u]),b.useEffect(()=>{if(!k)return;let t=ii(K.current).getElementById(k);if(t){let r=()=>{getSelection().isCollapsed&&K.current.focus()};return t.addEventListener("click",r),()=>{t.removeEventListener("click",r)}}},[k]);let ei=(t,r)=>{t?N&&N(r):A&&A(r),J||(ee(c?null:en.clientWidth),W(t))},eo=b.Children.toArray(d),ea=t=>r=>{let n;if(r.currentTarget.hasAttribute("tabindex")){if(O){n=Array.isArray(Z)?Z.slice():[];let r=Z.indexOf(t.props.value);-1===r?n.push(t.props.value):n.splice(r,1)}else n=t.props.value;if(t.props.onClick&&t.props.onClick(r),Z!==n&&(H(n),I)){let i=r.nativeEvent||r,o=new i.constructor(i.type,i);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:P}}),I(o,t)}O||ei(!1,r)}},es=null!==X&&V;delete q["aria-invalid"];let el=[],eu=!1;(bK({value:Z})||y)&&(F?o=F(Z):eu=!0);let ec=eo.map(t=>{let r;if(!b.isValidElement(t))return null;if(O){if(!Array.isArray(Z))throw Error(tU(2));(r=Z.some(r=>xF(r,t.props.value)))&&eu&&el.push(t.props.children)}else(r=xF(Z,t.props.value))&&eu&&(a=t.props.children);return b.cloneElement(t,{"aria-selected":r?"true":"false",onClick:ea(t),onKeyUp:r=>{" "===r.key&&r.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(r)},role:"option",selected:r,value:void 0,"data-value":t.props.value})});eu&&(o=O?0===el.length?null:el.reduce((t,r,n)=>(t.push(r),n<el.length-1&&t.push(", "),t),[]):a);let ed=Q;!c&&J&&X&&(ed=en.clientWidth);let ep=B.id||(P?`mui-component-select-${P}`:void 0),ef=S({},t,{variant:z,value:Z,open:es,error:_}),eh=(t=>{let{classes:r,variant:n,disabled:i,multiple:o,open:a,error:s}=t;return T({select:["select",n,i&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${tq(n)}`,a&&"iconOpen",i&&"disabled"],nativeInput:["nativeInput"]},xI,r)})(ef),em=S({},C.PaperProps,null==(n=C.slotProps)?void 0:n.paper),eg=iu();return(0,v.jsxs)(b.Fragment,{children:[(0,v.jsx)(xN,S({ref:er,tabIndex:void 0!==$?$:g?null:0,role:"combobox","aria-controls":eg,"aria-disabled":g?"true":void 0,"aria-expanded":es?"true":"false","aria-haspopup":"listbox","aria-label":l,"aria-labelledby":[k,ep].filter(Boolean).join(" ")||void 0,"aria-describedby":s,onKeyDown:t=>{D||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(t.key)&&(t.preventDefault(),ei(!0,t))},onMouseDown:g||D?null:t=>{0===t.button&&(t.preventDefault(),K.current.focus(),ei(!0,t))},onBlur:t=>{!es&&M&&(Object.defineProperty(t,"target",{writable:!0,value:{value:Z,name:P}}),M(t))},onFocus:L},B,{ownerState:ef,className:R(B.className,eh.select,f),id:ep,children:null!=(i=o)&&("string"!=typeof i||i.trim())?o:x7||(x7=(0,v.jsx)("span",{className:"notranslate",children:"\u200B"}))})),(0,v.jsx)(xD,S({"aria-invalid":_,value:Array.isArray(Z)?Z.join(","):Z,name:P,ref:G,"aria-hidden":!0,onChange:t=>{let r=eo.find(r=>r.props.value===t.target.value);void 0!==r&&(H(r.props.value),I&&I(t,r))},tabIndex:-1,disabled:g,className:eh.nativeInput,autoFocus:u,ownerState:ef},q)),(0,v.jsx)(xj,{as:x,className:eh.icon,ownerState:ef}),(0,v.jsx)(ul,S({id:`menu-${P||""}`,anchorEl:en,open:es,onClose:t=>{ei(!1,t)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},C,{MenuListProps:S({"aria-labelledby":k,role:"listbox","aria-multiselectable":O?"true":void 0,disableListWrap:!0,id:eg},C.MenuListProps),slotProps:S({},C.slotProps,{paper:S({},em,{style:S({minWidth:ed},null!=em?em.style:null)})}),children:ec}))]})}),x$=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],xU=["root"],xz={name:"MuiSelect",overridesResolver:(t,r)=>r.root,shouldForwardProp:t=>nP(t)&&"variant"!==t,slot:"Root"},xq=nM(S4,xz)(""),xZ=nM(xl,xz)(""),xH=nM(xe,xz)(""),xV=b.forwardRef(function(t,r){let n=nF({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:o,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=w1,id:d,input:f,inputProps:h,label:m,labelId:g,MenuProps:y,multiple:_=!1,native:x=!1,onClose:E,onOpen:k,open:C,renderValue:O,SelectDisplayProps:T,variant:P="outlined"}=n,M=w(n,x$),I=wF({props:n,muiFormControl:b1(),states:["variant","error"]}),A=I.variant||P,L=S({},n,{variant:A,classes:a}),N=(t=>{let{classes:r}=t;return r})(L),j=w(N,xU),D=f||({standard:(0,v.jsx)(xq,{ownerState:L}),outlined:(0,v.jsx)(xZ,{label:m,ownerState:L}),filled:(0,v.jsx)(xH,{ownerState:L})})[A],F=ip(r,D.ref);return(0,v.jsx)(b.Fragment,{children:b.cloneElement(D,S({inputComponent:x?xM:xB,inputProps:S({children:o,error:I.error,IconComponent:c,variant:A,type:void 0,multiple:_},x?{id:d}:{autoWidth:i,defaultOpen:l,displayEmpty:u,labelId:g,MenuProps:y,onClose:E,onOpen:k,open:C,renderValue:O,SelectDisplayProps:S({id:d},T)},h,{classes:h?tB(j,h.classes):j},f?f.props.inputProps:{})},(_&&x||u)&&"outlined"===A?{notched:!0}:{},{ref:F,className:R(D.props.className,s,N.root)},!f&&{variant:A},M))})});function xW(t){return r3("MuiTextField",t)}xV.muiName="Select",nZ("MuiTextField",["root"]);let xG=["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"],xK={standard:S4,filled:xe,outlined:xl},xX=nM(b0,{name:"MuiTextField",slot:"Root",overridesResolver:(t,r)=>r.root})({}),xY=b.forwardRef(function(t,r){let n=nF({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:a,className:s,color:l="primary",defaultValue:u,disabled:c=!1,error:d=!1,FormHelperTextProps:f,fullWidth:h=!1,helperText:m,id:g,InputLabelProps:y,inputProps:b,InputProps:_,inputRef:x,label:E,maxRows:k,minRows:C,multiline:O=!1,name:P,onBlur:M,onChange:I,onFocus:A,placeholder:L,required:N=!1,rows:j,select:D=!1,SelectProps:F,type:B,value:$,variant:U="outlined"}=n,z=w(n,xG),q=S({},n,{autoFocus:o,color:l,disabled:c,error:d,fullWidth:h,multiline:O,required:N,select:D,variant:U}),Z=(t=>{let{classes:r}=t;return T({root:["root"]},xW,r)})(q),H={};"outlined"===U&&(y&&void 0!==y.shrink&&(H.notched=y.shrink),H.label=E),D&&(F&&F.native||(H.id=void 0),H["aria-describedby"]=void 0);let V=iu(g),W=m&&V?`${V}-helper-text`:void 0,G=E&&V?`${V}-label`:void 0,K=(0,v.jsx)(xK[U],S({"aria-describedby":W,autoComplete:i,autoFocus:o,defaultValue:u,fullWidth:h,multiline:O,name:P,rows:j,maxRows:k,minRows:C,type:B,value:$,id:V,inputRef:x,onBlur:M,onChange:I,onFocus:A,placeholder:L,inputProps:b},H,_));return(0,v.jsxs)(xX,S({className:R(Z.root,s),disabled:c,error:d,fullWidth:h,ref:r,required:N,color:l,variant:U,ownerState:q},z,{children:[null!=E&&""!==E&&(0,v.jsx)(xv,S({htmlFor:V,id:G},y,{children:E})),D?(0,v.jsx)(xV,S({"aria-describedby":W,id:V,labelId:G,value:$,input:K},F,{children:a})):K,m&&(0,v.jsx)(xx,S({id:W},f,{children:m}))]}))}),xJ=b.forwardRef((t,r)=>b.createElement(a8,{viewBox:"0 0 24 24",...t,ref:r},b.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"})));b.forwardRef((t,r)=>{let{MenuProps:n={},...i}=t;return b.createElement(xV,{...i,MenuProps:{...n,MenuListProps:{dense:"tiny"===i.size,...n.MenuListProps||{}}},ref:r})}).defaultProps={IconComponent:xJ};let xQ=o4(b.forwardRef((t,r)=>{let n={...t};return n.select&&(n.SelectProps={IconComponent:xJ,...n.SelectProps||{}},"tiny"===n.size&&(n.SelectProps.MenuProps={...n.SelectProps?.MenuProps||{},MenuListProps:{dense:!0,...n.SelectProps?.MenuProps?.MenuListProps||{}}})),"tiny"===n.size&&(n.InputLabelProps={size:"tiny",...n.InputLabelProps||{}}),b.createElement(xY,{...n,ref:r})}))`
	width: 100%;

	.wp-admin & .MuiInputBase-input,
	& .MuiInputBase-input:focus {
		background-color: inherit;
		border: unset;
		box-shadow: none;
		min-height: initial;
		color: inherit;
		outline: 0;
		padding: ${({$isWrapped:t,$noPadding:r,theme:n})=>r?"0":t?`${n.spacing(1)} ${n.spacing(.5)}`:`${n.spacing(2)} ${n.spacing(1.5)}`};
	}
`,x0=({isWrapped:t,noPadding:r,...n})=>(0,v.jsx)(xQ,{...n,$isWrapped:t,$noPadding:r});(x5=x9||(x9={})).EN="en",x5.DE="de",x5.ES="es",x5.IT="it",x5.NL="nl",x5.PT="pt-PT",x5.PT_BR="pt-BR",x5.FR="fr",x5.HE="he-IL";let x1=({open:t,onClose:r,colorScheme:n="light"})=>{let{t:i}=sQ("send-feedback",{i18n:ce}),{SUPPORT_FORM_URL:o}=g$(),{control:a,handleSubmit:s,reset:l,formState:{isValid:u}}=function(t={}){let r=b.useRef(void 0),n=b.useRef(void 0),[i,o]=b.useState({isDirty:!1,isValidating:!1,isLoading:v1(t.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1,isReady:!1,defaultValues:v1(t.defaultValues)?void 0:t.defaultValues});if(!r.current)if(t.formControl)r.current={...t.formControl,formState:i},t.defaultValues&&!v1(t.defaultValues)&&t.formControl.reset(t.defaultValues,t.resetOptions);else{let{formControl:n,...o}=function(t={}){let r,n={...b_,...t},i={submitCount:0,isDirty:!1,isReady:!1,isLoading:v1(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},o={},a=(vx(n.defaultValues)||vx(n.values))&&vR(n.defaultValues||n.values)||{},s=n.shouldUnregister?{}:vR(a),l={action:!1,mount:!1,watch:!1},u={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},c=0,d={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={...d},h={array:vJ(),state:vJ()},m="all"===n.criteriaMode,g=async t=>{if(!n.disabled&&(d.isValid||f.isValid||t)){let t=n.resolver?vQ((await _()).errors):await w(o,!0);t!==i.isValid&&h.state.next({isValid:t})}},y=(t,r)=>{!n.disabled&&(d.isValidating||d.validatingFields||f.isValidating||f.validatingFields)&&((t||Array.from(u.mount)).forEach(t=>{t&&(r?vN(i.validatingFields,t,r):v4(i.validatingFields,t))}),h.state.next({validatingFields:i.validatingFields,isValidating:!vQ(i.validatingFields)}))},v=(t,r,n,i)=>{let u=vA(o,t);if(u){let o=vA(s,t,vP(n)?vA(a,t):n);vP(o)||i&&i.defaultChecked||r?vN(s,t,r?o:ba(u._f)):E(t,o),l.mount&&g()}},b=(t,r,o,s,l)=>{let u=!1,c=!1,m={name:t};if(!n.disabled){if(!o||s){(d.isDirty||f.isDirty)&&(c=i.isDirty,i.isDirty=m.isDirty=S(),u=c!==m.isDirty);let n=vG(vA(a,t),r);c=!!vA(i.dirtyFields,t),n?v4(i.dirtyFields,t):vN(i.dirtyFields,t,!0),m.dirtyFields=i.dirtyFields,u=u||(d.dirtyFields||f.dirtyFields)&&!n!==c}if(o){let r=vA(i.touchedFields,t);r||(vN(i.touchedFields,t,o),m.touchedFields=i.touchedFields,u=u||(d.touchedFields||f.touchedFields)&&r!==o)}u&&l&&h.state.next(m)}return u?m:{}},_=async t=>{y(t,!0);let r=await n.resolver(s,n.context,((t,r,n,i)=>{let o={};for(let n of t){let t=vA(r,n);t&&vN(o,n,t._f)}return{criteriaMode:n,names:[...t],fields:o,shouldUseNativeValidation:i}})(t||u.mount,o,n.criteriaMode,n.shouldUseNativeValidation));return y(t),r},w=async(t,r,o={valid:!0})=>{var a;for(let l in t){let c=t[l];if(c){let{_f:t,...f}=c;if(t){let f=u.array.has(t.name),h=c._f&&!!(a=c._f)&&!!a.validate&&!!(v1(a.validate)&&a.validate.constructor.name===bc||vx(a.validate)&&Object.values(a.validate).find(t=>t.constructor.name===bc));h&&d.validatingFields&&y([l],!0);let g=await bb(c,u.disabled,s,m,n.shouldUseNativeValidation&&!r,f);if(h&&d.validatingFields&&y([l]),g[t.name]&&(o.valid=!1,r))break;r||(vA(g,t.name)?f?bm(i.errors,g,t.name):vN(i.errors,t.name,g[t.name]):v4(i.errors,t.name))}vQ(f)||await w(f,r,o)}}return o.valid},S=(t,r)=>!n.disabled&&(t&&r&&vN(s,t,r),!vG(P(),a)),x=(t,r,n)=>vV(t,u,{...l.mount?s:vP(r)?a:vH(t)?{[t]:r}:r},n,r),E=(t,r,n={})=>{let i=vA(o,t),a=r;if(i){let n=i._f;n&&(n.disabled||vN(s,t,bn(r,n)),a=v2(n.ref)&&vw(r)?"":r,v5(n.ref)?[...n.ref.options].forEach(t=>t.selected=a.includes(t.value)):n.refs?vb(n.ref)?n.refs.forEach(t=>{t.defaultChecked&&t.disabled||(Array.isArray(a)?t.checked=!!a.find(r=>r===t.value):t.checked=a===t.value||!!a)}):n.refs.forEach(t=>t.checked=t.value===a):v0(n.ref)?n.ref.value="":(n.ref.value=a,n.ref.type||h.state.next({name:t,values:vR(s)})))}(n.shouldDirty||n.shouldTouch)&&b(t,a,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&T(t)},k=(t,r,n)=>{for(let i in r){if(!r.hasOwnProperty(i))return;let a=r[i],s=t+"."+i,l=vA(o,s);(u.array.has(t)||vx(a)||l&&!l._f)&&!v_(a)?k(s,a,n):E(s,a,n)}},C=(t,r,n={})=>{let c=vA(o,t),m=u.array.has(t),g=vR(r);vN(s,t,g),m?(h.array.next({name:t,values:vR(s)}),(d.isDirty||d.dirtyFields||f.isDirty||f.dirtyFields)&&n.shouldDirty&&h.state.next({name:t,dirtyFields:v9(a,s),isDirty:S(t,g)})):!c||c._f||vw(g)?E(t,g,n):k(t,g,n),bd(t,u)&&h.state.next({...i,name:t}),h.state.next({name:l.mount?t:void 0,values:vR(s)})},O=async t=>{var a;l.mount=!0;let v=t.target,S=v.name,x=!0,E=vA(o,S),k=t=>{x=Number.isNaN(t)||v_(t)&&isNaN(t.getTime())||vG(t,vA(s,S,t))},C=bu(n.mode),O=bu(n.reValidateMode);if(E){let l,R,P,M,I=v.type?ba(E._f):vE(t),A=t.type===vj||"focusout"===t.type,L=!((a=E._f).mount&&(a.required||a.min||a.max||a.maxLength||a.minLength||a.pattern||a.validate)||n.resolver||vA(i.errors,S)||E._f.deps)||(P=vA(i.touchedFields,S),M=i.isSubmitted,!C.isOnAll&&(!M&&C.isOnTouch?!(P||A):(M?O.isOnBlur:C.isOnBlur)?!A:!(M?O.isOnChange:C.isOnChange)||A)),N=bd(S,u,A);vN(s,S,I),A?v&&v.readOnly||(E._f.onBlur&&E._f.onBlur(t),r&&r(0)):E._f.onChange&&E._f.onChange(t);let j=b(S,I,A),D=!vQ(j)||N;if(A||h.state.next({name:S,type:t.type,values:vR(s)}),L)return(d.isValid||f.isValid)&&("onBlur"===n.mode?A&&g():A||g()),D&&h.state.next({name:S,...N?{}:j});if(!A&&N&&h.state.next({...i}),n.resolver){let{errors:t}=await _([S]);if(k(I),x){let r=bh(i.errors,o,S),n=bh(t,o,r.name||S);l=n.error,S=n.name,R=vQ(t)}}else y([S],!0),l=(await bb(E,u.disabled,s,m,n.shouldUseNativeValidation))[S],y([S]),k(I),x&&(l?R=!1:(d.isValid||f.isValid)&&(R=await w(o,!0)));x&&(E._f.deps&&T(E._f.deps),((t,o,a,s)=>{var l;let u=vA(i.errors,t),m=(d.isValid||f.isValid)&&vL(o)&&i.isValid!==o;if(n.delayError&&a?(l=()=>{vN(i.errors,t,a),h.state.next({errors:i.errors})},(r=t=>{clearTimeout(c),c=setTimeout(l,t)})(n.delayError)):(clearTimeout(c),r=null,a?vN(i.errors,t,a):v4(i.errors,t)),(a?!vG(u,a):u)||!vQ(s)||m){let r={...s,...m&&vL(o)?{isValid:o}:{},errors:i.errors,name:t};i={...i,...r},h.state.next(r)}})(S,R,l,j))}},R=(t,r)=>{if(vA(i.errors,r)&&t.focus)return t.focus(),1},T=async(t,r={})=>{let a,s,l=vY(t);if(n.resolver){let r=await (async t=>{let{errors:r}=await _(t);if(t)for(let n of t){let t=vA(r,n);t?vN(i.errors,n,t):v4(i.errors,n)}else i.errors=r;return r})(vP(t)?t:l);a=vQ(r),s=t?!l.some(t=>vA(r,t)):a}else t?((s=(await Promise.all(l.map(async t=>{let r=vA(o,t);return await w(r&&r._f?{[t]:r}:r)}))).every(Boolean))||i.isValid)&&g():s=a=await w(o);return h.state.next({...!vH(t)||(d.isValid||f.isValid)&&a!==i.isValid?{}:{name:t},...n.resolver||!t?{isValid:a}:{},errors:i.errors}),r.shouldFocus&&!s&&bp(o,R,t?l:u.mount),s},P=t=>{let r={...l.mount?s:a};return vP(t)?r:vH(t)?vA(r,t):t.map(t=>vA(r,t))},M=(t,r)=>({invalid:!!vA((r||i).errors,t),isDirty:!!vA((r||i).dirtyFields,t),error:vA((r||i).errors,t),isValidating:!!vA(i.validatingFields,t),isTouched:!!vA((r||i).touchedFields,t)}),I=(t,r,n)=>{let a=(vA(o,t,{_f:{}})._f||{}).ref,{ref:s,message:l,type:u,...c}=vA(i.errors,t)||{};vN(i.errors,t,{...c,...r,ref:a}),h.state.next({name:t,errors:i.errors,isValid:!1}),n&&n.shouldFocus&&a&&a.focus&&a.focus()},A=t=>h.state.subscribe({next:r=>{var n,o,l;n=t.name,o=r.name,l=t.exact,(!n||!o||n===o||vY(n).some(t=>t&&(l?t===o:t.startsWith(o)||o.startsWith(t))))&&((t,r,n,i)=>{n(t);let{name:o,...a}=t;return vQ(a)||Object.keys(a).length>=Object.keys(r).length||Object.keys(a).find(t=>r[t]===(!i||"all"))})(r,t.formState||d,U,t.reRenderRoot)&&t.callback({values:{...s},...i,...r,defaultValues:a})}}).unsubscribe,L=(t,r={})=>{for(let l of t?vY(t):u.mount)u.mount.delete(l),u.array.delete(l),r.keepValue||(v4(o,l),v4(s,l)),r.keepError||v4(i.errors,l),r.keepDirty||v4(i.dirtyFields,l),r.keepTouched||v4(i.touchedFields,l),r.keepIsValidating||v4(i.validatingFields,l),n.shouldUnregister||r.keepDefaultValue||v4(a,l);h.state.next({values:vR(s)}),h.state.next({...i,...r.keepDirty?{isDirty:S()}:{}}),r.keepIsValid||g()},N=({disabled:t,name:r})=>{(vL(t)&&l.mount||t||u.disabled.has(r))&&(t?u.disabled.add(r):u.disabled.delete(r))},j=(t,r={})=>{let i=vA(o,t),s=vL(r.disabled)||vL(n.disabled);return vN(o,t,{...i||{},_f:{...i&&i._f?i._f:{ref:{name:t}},name:t,mount:!0,...r}}),u.mount.add(t),i?N({disabled:vL(r.disabled)?r.disabled:n.disabled,name:t}):v(t,!0,r.value),{...s?{disabled:r.disabled||n.disabled}:{},...n.progressive?{required:!!r.required,min:bl(r.min),max:bl(r.max),minLength:bl(r.minLength),maxLength:bl(r.maxLength),pattern:bl(r.pattern)}:{},name:t,onChange:O,onBlur:O,ref:s=>{if(s){j(t,r),i=vA(o,t);let n=vP(s.value)&&s.querySelectorAll&&s.querySelectorAll("input,select,textarea")[0]||s,l=v3(n)||vb(n),u=i._f.refs||[];(l?u.find(t=>t===n):n===i._f.ref)||(vN(o,t,{_f:{...i._f,...l?{refs:[...u.filter(v6),n,...Array.isArray(vA(a,t))?[{}]:[]],ref:{type:n.type,name:t}}:{ref:n}}}),v(t,!1,void 0,n))}else(i=vA(o,t,{}))._f&&(i._f.mount=!1),(n.shouldUnregister||r.shouldUnregister)&&(!vk(u.array,t)||!l.action)&&u.unMount.add(t)}}},D=()=>n.shouldFocusError&&bp(o,R,u.mount),F=(t,r)=>async a=>{let l;a&&(a.preventDefault&&a.preventDefault(),a.persist&&a.persist());let c=vR(s);if(h.state.next({isSubmitting:!0}),n.resolver){let{errors:t,values:r}=await _();i.errors=t,c=vR(r)}else await w(o);if(u.disabled.size)for(let t of u.disabled)v4(c,t);if(v4(i.errors,"root"),vQ(i.errors)){h.state.next({errors:{}});try{await t(c,a)}catch(t){l=t}}else r&&await r({...i.errors},a),D(),setTimeout(D);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:vQ(i.errors)&&!l,submitCount:i.submitCount+1,errors:i.errors}),l)throw l},B=(t,r={})=>{let c=t?vR(t):a,f=vR(c),m=vQ(t),g=m?a:f;if(r.keepDefaultValues||(a=c),!r.keepValues){if(r.keepDirtyValues)for(let t of Array.from(new Set([...u.mount,...Object.keys(v9(a,s))])))vA(i.dirtyFields,t)?vN(g,t,vA(s,t)):C(t,vA(g,t));else{if(vO&&vP(t))for(let t of u.mount){let r=vA(o,t);if(r&&r._f){let t=Array.isArray(r._f.refs)?r._f.refs[0]:r._f.ref;if(v2(t)){let r=t.closest("form");if(r){r.reset();break}}}}if(r.keepFieldsRef)for(let t of u.mount)C(t,vA(g,t));else o={}}s=n.shouldUnregister?r.keepDefaultValues?vR(a):{}:vR(g),h.array.next({values:{...g}}),h.state.next({values:{...g}})}u={mount:r.keepDirtyValues?u.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},l.mount=!d.isValid||!!r.keepIsValid||!!r.keepDirtyValues,l.watch=!!n.shouldUnregister,h.state.next({submitCount:r.keepSubmitCount?i.submitCount:0,isDirty:!m&&(r.keepDirty?i.isDirty:!(!r.keepDefaultValues||vG(t,a))),isSubmitted:!!r.keepIsSubmitted&&i.isSubmitted,dirtyFields:m?{}:r.keepDirtyValues?r.keepDefaultValues&&s?v9(a,s):i.dirtyFields:r.keepDefaultValues&&t?v9(a,t):r.keepDirty?i.dirtyFields:{},touchedFields:r.keepTouched?i.touchedFields:{},errors:r.keepErrors?i.errors:{},isSubmitSuccessful:!!r.keepIsSubmitSuccessful&&i.isSubmitSuccessful,isSubmitting:!1,defaultValues:a})},$=(t,r)=>B(v1(t)?t(s):t,r),U=t=>{i={...i,...t}},z={control:{register:j,unregister:L,getFieldState:M,handleSubmit:F,setError:I,_subscribe:A,_runSchema:_,_focusError:D,_getWatch:x,_getDirty:S,_setValid:g,_setFieldArray:(t,r=[],u,c,m=!0,g=!0)=>{if(c&&u&&!n.disabled){if(l.action=!0,g&&Array.isArray(vA(o,t))){let r=u(vA(o,t),c.argA,c.argB);m&&vN(o,t,r)}if(g&&Array.isArray(vA(i.errors,t))){var y;let r=u(vA(i.errors,t),c.argA,c.argB);m&&vN(i.errors,t,r),vM(vA(y=i.errors,t)).length||v4(y,t)}if((d.touchedFields||f.touchedFields)&&g&&Array.isArray(vA(i.touchedFields,t))){let r=u(vA(i.touchedFields,t),c.argA,c.argB);m&&vN(i.touchedFields,t,r)}(d.dirtyFields||f.dirtyFields)&&(i.dirtyFields=v9(a,s)),h.state.next({name:t,isDirty:S(t,r),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else vN(s,t,r)},_setDisabledField:N,_setErrors:t=>{i.errors=t,h.state.next({errors:i.errors,isValid:!1})},_getFieldArray:t=>vM(vA(l.mount?s:a,t,n.shouldUnregister?vA(a,t,[]):[])),_reset:B,_resetDefaultValues:()=>v1(n.defaultValues)&&n.defaultValues().then(t=>{$(t,n.resetOptions),h.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let t of u.unMount){let r=vA(o,t);r&&(r._f.refs?r._f.refs.every(t=>!v6(t)):!v6(r._f.ref))&&L(t)}u.unMount=new Set},_disableForm:t=>{vL(t)&&(h.state.next({disabled:t}),bp(o,(r,n)=>{let i=vA(o,n);i&&(r.disabled=i._f.disabled||t,Array.isArray(i._f.refs)&&i._f.refs.forEach(r=>{r.disabled=i._f.disabled||t}))},0,!1))},_subjects:h,_proxyFormState:d,get _fields(){return o},get _formValues(){return s},get _state(){return l},set _state(e){l=e},get _defaultValues(){return a},get _names(){return u},set _names(e){u=e},get _formState(){return i},get _options(){return n},set _options(e){n={...n,...e}}},subscribe:t=>(l.mount=!0,f={...f,...t.formState},A({...t,formState:f})),trigger:T,register:j,handleSubmit:F,watch:(t,r)=>v1(t)?h.state.subscribe({next:n=>"values"in n&&t(x(void 0,r),n)}):x(t,r,!0),setValue:C,getValues:P,reset:$,resetField:(t,r={})=>{vA(o,t)&&(vP(r.defaultValue)?C(t,vR(vA(a,t))):(C(t,r.defaultValue),vN(a,t,vR(r.defaultValue))),r.keepTouched||v4(i.touchedFields,t),r.keepDirty||(v4(i.dirtyFields,t),i.isDirty=r.defaultValue?S(t,vR(vA(a,t))):S()),r.keepError||(v4(i.errors,t),d.isValid&&g()),h.state.next({...i}))},clearErrors:t=>{t&&vY(t).forEach(t=>v4(i.errors,t)),h.state.next({errors:t?i.errors:{}})},unregister:L,setError:I,setFocus:(t,r={})=>{let n=vA(o,t),i=n&&n._f;if(i){let t=i.refs?i.refs[0]:i.ref;t.focus&&(t.focus(),r.shouldSelect&&v1(t.select)&&t.select())}},getFieldState:M};return{...z,formControl:z}}(t);r.current={...o,formState:i}}let a=r.current.control;return a._options=t,vZ(()=>{let t=a._subscribe({formState:a._proxyFormState,callback:()=>o({...a._formState}),reRenderRoot:!0});return o(t=>({...t,isReady:!0})),a._formState.isReady=!0,t},[a]),b.useEffect(()=>a._disableForm(t.disabled),[a,t.disabled]),b.useEffect(()=>{t.mode&&(a._options.mode=t.mode),t.reValidateMode&&(a._options.reValidateMode=t.reValidateMode)},[a,t.mode,t.reValidateMode]),b.useEffect(()=>{t.errors&&(a._setErrors(t.errors),a._focusError())},[a,t.errors]),b.useEffect(()=>{t.shouldUnregister&&a._subjects.state.next({values:a._getWatch()})},[a,t.shouldUnregister]),b.useEffect(()=>{if(a._proxyFormState.isDirty){let t=a._getDirty();t!==i.isDirty&&a._subjects.state.next({isDirty:t})}},[a,i.isDirty]),b.useEffect(()=>{t.values&&!vG(t.values,n.current)?(a._reset(t.values,{keepFieldsRef:!0,...a._options.resetOptions}),n.current=t.values,o(t=>({...t}))):a._resetDefaultValues()},[a,t.values]),b.useEffect(()=>{a._state.mount||(a._setValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),r.current.formState=vq(i,a),r.current}({defaultValues:{product:"",subject:"",title:"",description:""},mode:"onChange"}),{mutateAsync:c,isPending:d}=pR({mutationFn:t=>Qy.sendFeedback(t)}),[f,h]=(0,b.useState)(null),m=(0,b.useMemo)(()=>[{label:i("dialog.products.general"),value:"GENERAL"},{label:i("dialog.products.editor"),value:"EDITOR"},{label:i("dialog.products.imageOptimization"),value:"IO"},{label:i("dialog.products.accessibility"),value:"ALLY"},{label:i("dialog.products.emailDeliverability"),value:"SM"}],[i]),g=(0,b.useMemo)(()=>[{label:i("dialog.subjects.leaveFeedback"),value:i("dialog.subjects.leaveFeedback",{lng:x9.EN})},{label:i("dialog.subjects.reportBug"),value:i("dialog.subjects.reportBug",{lng:x9.EN})},{label:i("dialog.subjects.requestFeature"),value:i("dialog.subjects.requestFeature",{lng:x9.EN})},{label:i("dialog.subjects.shareThoughts"),value:i("dialog.subjects.shareThoughts",{lng:x9.EN})}],[i]),y=()=>{l(),r()};return(0,v.jsxs)(a0,{colorScheme:n,children:[(0,v.jsxs)(bP,{onClose:y,open:t,maxWidth:"sm",fullWidth:!0,"data-test":"send-feedback-dialog",children:[(0,v.jsx)(_l,{logo:!1,onClose:y,children:(0,v.jsx)(bW,{color:"text.primary",variant:"subtitle1",children:i("dialog.title")})}),(0,v.jsxs)(yw,{component:"form",onSubmit:s(t=>{c(t,{onSuccess:()=>{y(),h({type:"success",message:i("tooltipSuccess")})},onError:()=>{h({type:"error",message:i("tooltipError")})}})}),children:[(0,v.jsx)(bD,{sx:{px:3},dividers:!0,children:(0,v.jsxs)(i3,{gap:2,children:[(0,v.jsx)(vK,{name:"product",control:a,render:({field:{onChange:t,value:r}})=>(0,v.jsx)(Sc,{multiple:!1,options:m,value:m.find(t=>t.value===r)||null,onChange:(r,n)=>t(n?.value||""),renderInput:t=>(0,v.jsx)(x0,{"data-test":"product-send-feedback-input",...t,isWrapped:!0,placeholder:i("dialog.fieldProductPlaceholder"),color:"secondary"})})}),(0,v.jsx)(vK,{name:"subject",control:a,render:({field:{onChange:t,value:r}})=>(0,v.jsx)(Sc,{multiple:!1,options:g,value:g.find(t=>t.value===r)||null,onChange:(r,n)=>t(n?.value||""),renderInput:t=>(0,v.jsx)(x0,{"data-test":"subject-send-feedback-input",...t,isWrapped:!0,placeholder:i("dialog.fieldSubjectPlaceholder"),color:"secondary"})})}),(0,v.jsx)(vK,{name:"title",control:a,rules:{required:!0,maxLength:{value:90,message:i("dialog.titleLengthError")}},render:({field:t,fieldState:r})=>(0,v.jsx)(b2,{fullWidth:!0,children:(0,v.jsx)(x0,{...t,fullWidth:!0,placeholder:i("dialog.fieldTitlePlaceholder"),"data-test":"title-send-feedback-input",error:!!r.error,helperText:r.error?.message,required:!0,sx:{"& .MuiInputBase-root":{minHeight:56}},color:"secondary"})})}),(0,v.jsx)(vK,{name:"description",control:a,rules:{required:!0,maxLength:{value:1024,message:i("dialog.descriptionLengthError")}},render:({field:t,fieldState:r})=>(0,v.jsx)(b2,{fullWidth:!0,children:(0,v.jsx)(x0,{...t,multiline:!0,rows:5,fullWidth:!0,noPadding:!0,placeholder:i("dialog.fieldDescriptionPlaceholder"),"data-test":"description-send-feedback-input",error:!!r.error,helperText:r.error?.message,required:!0,color:"secondary"})})}),(0,v.jsx)(SN,{severity:"info",action:(0,v.jsx)(SZ,{href:o,target:"_blank",color:"info",children:i("dialog.alert.button")}),children:i("dialog.alert.title")}),(0,v.jsxs)(i3,{direction:"row",gap:1,children:[(0,v.jsx)(os,{sx:{ml:.5},variant:"body2",color:"text.primary",children:"\u2022 "}),(0,v.jsx)(os,{variant:"body2",color:"text.primary",children:i("dialog.note")})]})]})}),(0,v.jsxs)(bz,{sx:{px:3,py:2,gap:1},children:[(0,v.jsx)(sF,{variant:"text",color:"secondary",onClick:y,"data-test":"cancel-send-feedback-modal",children:i("dialog.cancel")}),(0,v.jsx)(sF,{type:"submit",variant:"contained",loading:d,"data-test":"submit-feedback-button",disabled:!u||d,children:i("dialog.submit")})]})]})]}),(0,v.jsx)(S2,{open:!!f,autoHideDuration:5e3,onClose:()=>h(null),anchorOrigin:{vertical:"bottom",horizontal:"right"},children:(0,v.jsx)(SN,{onClose:()=>h(null),severity:f?.type,variant:"filled",children:f?.message})})]})},x2=t=>(0,v.jsx)(a8,{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",...t,children:(0,v.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 x5,x3,x6,x4,x8,x7,x9,Ee,Et={exports:{}};let Er=x((Ee||(Ee=1,function(t,r){var n;function i(t,r){var n=[],i=0;function o(t){return n.push(t),r}function a(){return n[i++]}return{tokenize:function(r){return r.replace(t,o)},detokenize:function(t){return t.replace(RegExp("("+r+")","g"),a)}}}n=new function(){var t="`TMP`",r="`COMMENT`",n="[^\\u0020-\\u007e]",o="(?:[0-9]*\\.[0-9]+|[0-9]+)",a="(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)",s="direction\\s*:\\s*",l="['\"]?\\s*",u="(^|[^a-zA-Z])",c="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",d="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",f="(?:[_a-z0-9-]|"+n+"|"+d+")",h=o+"(?:\\s*"+a+"|-?(?:[_a-z]|"+n+"|"+d+")"+f+"*)?",m="((?:-?"+h+")|(?:inherit|auto))",g="((?:-?"+h+")|(?:inherit|auto)|(?:calc\\((?:(?:(?:\\(|\\)|\\t| )|(?:-?"+o+"(?:\\s*"+a+")?)|(?:\\+|\\-|\\*|\\/)){3,})\\)))",y="(#?"+f+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",v="(?:[!#$%&*-~]|"+n+"|"+d+")*?",b="(?![a-zA-Z])",_="(?!("+f+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+r+")*?{)",w="(?!"+v+l+"\\))",S="(?="+v+l+"\\))",x="(\\s*(?:!important\\s*)?[;}])",E=/`TMP`/g,k=/`TMPLTR`/g,C=/`TMPRTL`/g,O=RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),R=RegExp("("+c+_+"[^;}]+;?)","gi"),T=RegExp("("+c+"[^\\}]*?})","gi"),P=RegExp("("+s+")ltr","gi"),M=RegExp("("+s+")rtl","gi"),I=RegExp(u+"(left)"+b+w+_,"gi"),A=RegExp(u+"(right)"+b+w+_,"gi"),L=RegExp(u+"(left)"+S,"gi"),N=RegExp(u+"(right)"+S,"gi"),j=/(:dir\( *)ltr( *\))/g,D=/(:dir\( *)rtl( *\))/g,F=RegExp(u+"(ltr)"+S,"gi"),B=RegExp(u+"(rtl)"+S,"gi"),$=RegExp(u+"([ns]?)e-resize","gi"),U=RegExp(u+"([ns]?)w-resize","gi"),z=RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+g+"(\\s+)"+g+"(\\s+)"+g+"(\\s+)"+g+x,"gi"),q=RegExp("((?:-color|border-style)\\s*:\\s*)"+y+"(\\s+)"+y+"(\\s+)"+y+"(\\s+)"+y+x,"gi"),Z=RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+h+")","gi"),H=RegExp("(background-position-x\\s*:\\s*)(-?"+o+"%)","gi"),V=RegExp("(border-radius\\s*:\\s*)"+m+"(?:(?:\\s+"+m+")(?:\\s+"+m+")?(?:\\s+"+m+")?)?(?:(?:(?:\\s*\\/\\s*)"+m+")(?:\\s+"+m+")?(?:\\s+"+m+")?(?:\\s+"+m+")?)?"+x,"gi"),W=RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+m,"gi"),G=RegExp("(text-shadow\\s*:\\s*)"+m+"(\\s*)"+y,"gi"),K=RegExp("(text-shadow\\s*:\\s*)"+y+"(\\s*)"+m,"gi"),X=RegExp("(text-shadow\\s*:\\s*)"+m,"gi"),Y=RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+m+"(\\s*\\))","gi"),J=RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+m+"((?:\\s*,\\s*"+m+"){0,2}\\s*\\))","gi");function Q(t,r,n){var i,o;return"%"===n.slice(-1)&&(-1!==(i=n.indexOf("."))?(o=n.length-i-2,n=(n=100-parseFloat(n)).toFixed(o)+"%"):n=100-parseFloat(n)+"%"),r+n}function ee(t){switch(t.length){case 4:t=[t[1],t[0],t[3],t[2]];break;case 3:t=[t[1],t[0],t[1],t[2]];break;case 2:t=[t[1],t[0]];break;case 1:t=[t[0]]}return t.join(" ")}function et(t,r){var n=[].slice.call(arguments),i=n.slice(2,6).filter(function(t){return t}),o=n.slice(6,10).filter(function(t){return t}),a=n[10]||"";return r+(o.length?ee(i)+" / "+ee(o):ee(i))+a}function er(t){return 0===parseFloat(t)?t:"-"===t[0]?t.slice(1):"-"+t}function en(t,r,n){return r+er(n)}function ei(t,r,n,i,o){return r+n+er(i)+o}function eo(t,r,n,i,o){return r+n+i+er(o)}return{transform:function(n,o){var a=new i(R,"`NOFLIP_SINGLE`"),s=new i(T,"`NOFLIP_CLASS`"),l=new i(O,r);return n=l.tokenize(s.tokenize(a.tokenize(n.replace("`","%60")))),o.transformDirInUrl&&(n=n.replace(j,"$1`TMPLTR`$2").replace(D,"$1`TMPRTL`$2").replace(F,"$1"+t).replace(B,"$1ltr").replace(E,"rtl").replace(k,"ltr").replace(C,"rtl")),o.transformEdgeInUrl&&(n=n.replace(L,"$1"+t).replace(N,"$1left").replace(E,"right")),n=n.replace(P,"$1"+t).replace(M,"$1ltr").replace(E,"rtl").replace(I,"$1"+t).replace(A,"$1left").replace(E,"right").replace($,"$1$2"+t).replace(U,"$1$2e-resize").replace(E,"w-resize").replace(V,et).replace(W,en).replace(G,eo).replace(K,eo).replace(X,en).replace(Y,ei).replace(J,ei).replace(z,"$1$2$3$8$5$6$7$4$9").replace(q,"$1$2$3$8$5$6$7$4$9").replace(Z,Q).replace(H,Q),a.detokenize(s.detokenize(l.detokenize(n)))}}},t.exports?r.transform=function(t,r,i){var o;return"object"==typeof r?o=r:(o={},"boolean"==typeof r&&(o.transformDirInUrl=r),"boolean"==typeof i&&(o.transformEdgeInUrl=i)),n.transform(t,o)}:"undefined"!=typeof window&&(window.cssjanus=n)}(Et,Et.exports)),Et.exports));var En="-ms-",Ei="-moz-",Eo="-webkit-",Ea="comm",Es="rule",El="decl",Eu="@keyframes",Ec=Math.abs,Ed=String.fromCharCode,Ep=Object.assign;function Ef(t,r){return(t=r.exec(t))?t[0]:t}function Eh(t,r,n){return t.replace(r,n)}function Em(t,r){return t.indexOf(r)}function Eg(t,r){return 0|t.charCodeAt(r)}function Ey(t,r,n){return t.slice(r,n)}function Eb(t){return t.length}function E_(t,r){return r.push(t),t}var Ew=1,ES=1,Ex=0,EE=0,Ek=0,EC="";function EO(t,r,n,i,o,a,s){return{value:t,root:r,parent:n,type:i,props:o,children:a,line:Ew,column:ES,length:s,return:""}}function ER(t,r){return Ep(EO("",null,null,"",null,null,0),t,{length:-t.length},r)}function ET(){return Ek=EE<Ex?Eg(EC,EE++):0,ES++,10===Ek&&(ES=1,Ew++),Ek}function EP(){return Eg(EC,EE)}function EM(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function EI(t){var r,n;return(r=EE-1,n=function t(r){for(;ET();)switch(Ek){case r:return EE;case 34:case 39:34!==r&&39!==r&&t(Ek);break;case 40:41===r&&t(r);break;case 92:ET()}return EE}(91===t?t+2:40===t?t+1:t),Ey(EC,r,n)).trim()}function EA(t,r,n,i,o,a,s,l,u,c,d){for(var f=o-1,h=0===o?a:[""],m=h.length,g=0,y=0,v=0;g<i;++g)for(var b=0,_=Ey(t,f+1,f=Ec(y=s[g])),w=t;b<m;++b)(w=(y>0?h[b]+" "+_:Eh(_,/&\f/g,h[b])).trim())&&(u[v++]=w);return EO(t,r,n,0===o?Es:l,u,c,d)}function EL(t,r,n,i){return EO(t,r,n,El,Ey(t,0,i),Ey(t,i+1,-1),i)}function EN(t,r){for(var n="",i=t.length,o=0;o<i;o++)n+=r(t[o],o,t,r)||"";return n}function Ej(t,r,n,i){if(t.type===Eu||"@supports"===t.type||t.type===Es&&(!t.parent||"@media"===t.parent.type||t.parent.type===Es)){var o,a,s,l=Er.transform(function t(r,n,i){switch(r.type){case"@import":case El:case Ea:return r.return=r.return||r.value;case Es:r.value=Array.isArray(r.props)?r.props.join(","):r.props,Array.isArray(r.children)&&r.children.forEach(function(t){t.type===Ea&&(t.children=t.value)})}var o=EN(Array.prototype.concat(r.children),t);return Eb(o)?r.return=r.value+"{"+o+"}":""}(t));t.children=l?(s=function t(r,n,i,o,a,s,l,u,c){for(var d,f=0,h=0,m=l,g=0,y=0,v=0,b=1,_=1,w=1,S=0,x="",E=a,k=s,C=o,O=x;_;)switch(v=S,S=ET()){case 40:if(108!=v&&58==Eg(O,m-1)){-1!=Em(O+=Eh(EI(S),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:O+=EI(S);break;case 9:case 10:case 13:case 32:O+=function(t){for(;(Ek=EP())&&Ek<33;)ET();return EM(t)>2||EM(Ek)>3?"":" "}(v);break;case 92:O+=function(t,r){for(var n;--r&&ET()&&!(Ek<48||Ek>102||Ek>57&&Ek<65||Ek>70&&Ek<97););return n=EE+(r<6&&32==EP()&&32==ET()),Ey(EC,t,n)}(EE-1,7);continue;case 47:switch(EP()){case 42:case 47:E_((d=function(t,r){for(;ET()&&t+Ek!==57&&(t+Ek!==84||47!==EP()););return"/*"+Ey(EC,r,EE-1)+"*"+Ed(47===t?t:ET())}(ET(),EE),EO(d,n,i,Ea,Ed(Ek),Ey(d,2,-2),0)),c);break;default:O+="/"}break;case 123*b:u[f++]=Eb(O)*w;case 125*b:case 59:case 0:switch(S){case 0:case 125:_=0;case 59+h:y>0&&Eb(O)-m&&E_(y>32?EL(O+";",o,i,m-1):EL(Eh(O," ","")+";",o,i,m-2),c);break;case 59:O+=";";default:if(E_(C=EA(O,n,i,f,h,a,u,x,E=[],k=[],m),s),123===S)if(0===h)t(O,n,C,C,E,s,m,u,k);else switch(99===g&&110===Eg(O,3)?100:g){case 100:case 109:case 115:t(r,C,C,o&&E_(EA(r,C,C,0,0,a,u,x,a,E=[],m),k),a,k,m,u,o?E:k);break;default:t(O,C,C,C,[""],k,0,u,k)}}f=h=y=0,b=w=1,x=O="",m=l;break;case 58:m=1+Eb(O),y=v;default:if(b<1){if(123==S)--b;else if(125==S&&0==b++&&125==(Ek=EE>0?Eg(EC,--EE):0,ES--,10===Ek&&(ES=1,Ew--),Ek))continue}switch(O+=Ed(S),S*b){case 38:w=h>0?1:(O+="\f",-1);break;case 44:u[f++]=(Eb(O)-1)*w,w=1;break;case 64:45===EP()&&(O+=EI(ET())),g=EP(),h=m=Eb(x=O+=function(t){for(;!EM(EP());)ET();return Ey(EC,t,EE)}(EE)),S++;break;case 45:45===v&&2==Eb(O)&&(b=0)}}return s}("",null,null,null,[""],(a=o=l,Ew=ES=1,Ex=Eb(EC=a),EE=0,o=[]),0,[0],o),EC="",s)[0].children:[],t.return=""}}Object.defineProperty(Ej,"name",{value:"stylisRTLPlugin"});let ED=eM({key:oJ,stylisPlugins:[function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case El:return void(t.return=function t(r,n,i){var o;switch(o=n,45^Eg(r,0)?(((o<<2^Eg(r,0))<<2^Eg(r,1))<<2^Eg(r,2))<<2^Eg(r,3):0){case 5103:return Eo+"print-"+r+r;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 Eo+r+r;case 4789:return Ei+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return Eo+r+Ei+r+En+r+r;case 5936:switch(Eg(r,n+11)){case 114:return Eo+r+En+Eh(r,/[svh]\w+-[tblr]{2}/,"tb")+r;case 108:return Eo+r+En+Eh(r,/[svh]\w+-[tblr]{2}/,"tb-rl")+r;case 45:return Eo+r+En+Eh(r,/[svh]\w+-[tblr]{2}/,"lr")+r}case 6828:case 4268:case 2903:return Eo+r+En+r+r;case 6165:return Eo+r+En+"flex-"+r+r;case 5187:return Eo+r+Eh(r,/(\w+).+(:[^]+)/,Eo+"box-$1$2"+En+"flex-$1$2")+r;case 5443:return Eo+r+En+"flex-item-"+Eh(r,/flex-|-self/g,"")+(Ef(r,/flex-|baseline/)?"":En+"grid-row-"+Eh(r,/flex-|-self/g,""))+r;case 4675:return Eo+r+En+"flex-line-pack"+Eh(r,/align-content|flex-|-self/g,"")+r;case 5548:return Eo+r+En+Eh(r,"shrink","negative")+r;case 5292:return Eo+r+En+Eh(r,"basis","preferred-size")+r;case 6060:return Eo+"box-"+Eh(r,"-grow","")+Eo+r+En+Eh(r,"grow","positive")+r;case 4554:return Eo+Eh(r,/([^-])(transform)/g,"$1"+Eo+"$2")+r;case 6187:return Eh(Eh(Eh(r,/(zoom-|grab)/,Eo+"$1"),/(image-set)/,Eo+"$1"),r,"")+r;case 5495:case 3959:return Eh(r,/(image-set\([^]*)/,Eo+"$1$`$1");case 4968:return Eh(Eh(r,/(.+:)(flex-)?(.*)/,Eo+"box-pack:$3"+En+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Eo+r+r;case 4200:if(!Ef(r,/flex-|baseline/))return En+"grid-column-align"+Ey(r,n)+r;break;case 2592:case 3360:return En+Eh(r,"template-","")+r;case 4384:case 3616:return i&&i.some(function(t,r){return n=r,Ef(t.props,/grid-\w+-end/)})?~Em(r+(i=i[n].value),"span")?r:En+Eh(r,"-start","")+r+En+"grid-row-span:"+(~Em(i,"span")?Ef(i,/\d+/):+Ef(i,/\d+/)-+Ef(r,/\d+/))+";":En+Eh(r,"-start","")+r;case 4896:case 4128:return i&&i.some(function(t){return Ef(t.props,/grid-\w+-start/)})?r:En+Eh(Eh(r,"-end","-span"),"span ","")+r;case 4095:case 3583:case 4068:case 2532:return Eh(r,/(.+)-inline(.+)/,Eo+"$1$2")+r;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(Eb(r)-1-n>6)switch(Eg(r,n+1)){case 109:if(45!==Eg(r,n+4))break;case 102:return Eh(r,/(.+:)(.+)-([^]+)/,"$1"+Eo+"$2-$3$1"+Ei+(108==Eg(r,n+3)?"$3":"$2-$3"))+r;case 115:return~Em(r,"stretch")?t(Eh(r,"stretch","fill-available"),n,i)+r:r}break;case 5152:case 5920:return Eh(r,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,i,o,a,s,l){return En+n+":"+i+l+(o?En+n+"-span:"+(a?s:+s-+i)+l:"")+r});case 4949:if(121===Eg(r,n+6))return Eh(r,":",":"+Eo)+r;break;case 6444:switch(Eg(r,45===Eg(r,14)?18:11)){case 120:return Eh(r,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Eo+(45===Eg(r,14)?"inline-":"")+"box$3$1"+Eo+"$2$3$1"+En+"$2box$3")+r;case 100:return Eh(r,":",":"+En)+r}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Eh(r,"scroll-","scroll-snap-")+r}return r}(t.value,t.length,n));case Eu:return EN([ER(t,{value:Eh(t.value,"@","@"+Eo)})],i);case Es:if(t.length){var o,a;return o=t.props,a=function(r){switch(Ef(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return EN([ER(t,{props:[Eh(r,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return EN([ER(t,{props:[Eh(r,/:(plac\w+)/,":"+Eo+"input-$1")]}),ER(t,{props:[Eh(r,/:(plac\w+)/,":-moz-$1")]}),ER(t,{props:[Eh(r,/:(plac\w+)/,En+"input-$1")]})],i)}return""},o.map(a).join("")}}},Ej]}),EF=eM({key:"eui"});var EB=({rtl:t,children:r})=>b.createElement(eK,{value:t?ED:EF},r);let E$=({appSettings:t,colorScheme:r="dark",title:n,multiDelpoymentSlot:i,isWithinWpAdmin:o=!0,containerSx:a={},onDisconnect:s})=>{let{t:l}=sQ("common",{i18n:ce}),u=(t=>{switch(t){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/ "}})(t.slug),[c,d]=(0,b.useState)(!1),f=gU(),h=(()=>{let t=(0,b.useContext)(gF);if(!t)throw Error("Wrap your component in <ElementorOneAssetsProvider> to access RTL orientation");return t.isRTL})(),m=(0,b.useRef)(!1),g=window.elementorOneSettingsData?.canUserManageOptions??!1,y=window.elementorOneSettingsData?.shareUsageData??!1,{data:_}=gj({enabled:g});(0,b.useEffect)(()=>{if(y&&!m.current){let{appType:r,productName:n}=(t=>{switch(t){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"}}})(t.slug),i={appType:r};n&&(i.productName=n),gL.registerOnce(i),m.current=!0}},[t.slug,y]);let w=r=>{y&&gL.track("top_bar_clicked",{action_type:r,app_context:t.slug})};return(0,v.jsx)(EB,{rtl:h,children:(0,v.jsxs)(a0,{colorScheme:r,children:[(0,v.jsx)(i2,{sx:{top:0,...a,position:"sticky",zIndex:1100},children:(0,v.jsx)(i9,{sx:{pl:"30px !important",backgroundColor:"background.paper"},variant:"dense",children:(0,v.jsxs)(i3,{direction:"row",justifyContent:"space-between",width:"100%",children:[(0,v.jsxs)(i3,{direction:"row",alignItems:"center",gap:1,flexWrap:"nowrap",children:[(0,v.jsx)(x2,{}),!f&&(0,v.jsx)(os,{variant:"button",fontSize:"20px",fontWeight:400,whiteSpace:"nowrap",children:n||l("header.title")})]}),(0,v.jsxs)(i3,{direction:"row",alignItems:"center",gap:1,children:[_?.isConnected&&(0,v.jsx)(a2,{size:"small",onClick:()=>{w("feedback"),d(!0)},children:(0,v.jsx)(a7,{})}),(0,v.jsx)(vv,{appSettings:t,onClick:()=>w("whats_new"),containerSx:{"& .MuiDrawer-paper":{width:320,padding:3,...o?{top:32,height:"calc(100vh - 32px)","@media (max-width: 784px)":{top:46,height:"calc(100vh - 46px)"}}:{}}}}),u&&(0,v.jsx)(a2,{size:"small",href:u,target:"_blank",onClick:()=>w("help"),children:(0,v.jsx)(a9,{fontSize:"small"})}),i,g&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(sa,{orientation:"vertical",flexItem:!0,sx:{my:1,mx:1}}),(0,v.jsx)(yi,{onDisconnect:s,onClick:()=>w("account"),onConnectClick:()=>w("connect")})]})]})]})})}),(0,v.jsx)(x1,{open:c,onClose:()=>d(!1)})]})})}},23641:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.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"})))},22641:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.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"})))},40242:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.4697 16.5303C14.1768 16.2374 14.1768 15.7626 14.4697 15.4697L17.1893 12.75L5 12.75C4.58579 12.75 4.25 12.4142 4.25 12C4.25 11.5858 4.58579 11.25 5 11.25L17.1893 11.25L14.4697 8.53033C14.1768 8.23744 14.1768 7.76256 14.4697 7.46967C14.7626 7.17678 15.2374 7.17678 15.5303 7.46967L19.5303 11.4697C19.8232 11.7626 19.8232 12.2374 19.5303 12.5303L15.5303 16.5303C15.2374 16.8232 14.7626 16.8232 14.4697 16.5303Z"})))},19909:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.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"})))},47298:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.46967 10.4697C7.76256 10.1768 8.23744 10.1768 8.53033 10.4697L12 13.9393L15.4697 10.4697C15.7626 10.1768 16.2374 10.1768 16.5303 10.4697C16.8232 10.7626 16.8232 11.2374 16.5303 11.5303L12.5303 15.5303C12.2374 15.8232 11.7626 15.8232 11.4697 15.5303L7.46967 11.5303C7.17678 11.2374 7.17678 10.7626 7.46967 10.4697Z"})))},45715:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.01972 18.2803C8.72683 17.9874 8.72683 17.5126 9.01972 17.2197L14.4894 11.75L9.01972 6.28033C8.72682 5.98744 8.72682 5.51256 9.01972 5.21967C9.31261 4.92678 9.78749 4.92678 10.0804 5.21967L16.0804 11.2197C16.3733 11.5126 16.3733 11.9874 16.0804 12.2803L10.0804 18.2803C9.78749 18.5732 9.31261 18.5732 9.01972 18.2803Z"})))},92067:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.05546 4.05546C4.57118 3.53973 5.27065 3.25 6 3.25H14C14.7293 3.25 15.4288 3.53973 15.9445 4.05546C16.4603 4.57118 16.75 5.27065 16.75 6V7.25H18C19.5188 7.25 20.75 8.48122 20.75 10V18C20.75 19.5188 19.5188 20.75 18 20.75H10C8.48122 20.75 7.25 19.5188 7.25 18V16.75H6C5.27065 16.75 4.57118 16.4603 4.05546 15.9445C3.53973 15.4288 3.25 14.7293 3.25 14V6C3.25 5.27065 3.53973 4.57118 4.05546 4.05546ZM8.75 18C8.75 18.6904 9.30964 19.25 10 19.25H18C18.6904 19.25 19.25 18.6904 19.25 18V10C19.25 9.30964 18.6904 8.75 18 8.75H10C9.30964 8.75 8.75 9.30964 8.75 10V18ZM15.25 7.25H10C8.48122 7.25 7.25 8.48122 7.25 10V15.25H6C5.66848 15.25 5.35054 15.1183 5.11612 14.8839C4.8817 14.6495 4.75 14.3315 4.75 14V6C4.75 5.66848 4.8817 5.35054 5.11612 5.11612C5.35054 4.8817 5.66848 4.75 6 4.75H14C14.3315 4.75 14.6495 4.8817 14.8839 5.11612C15.1183 5.35054 15.25 5.66848 15.25 6V7.25Z"})))},7415:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.25C12.2508 5.25 12.485 5.37533 12.6241 5.58397L16.1703 10.9033L20.5315 7.41435C20.7777 7.21743 21.1207 7.19544 21.39 7.35933C21.6592 7.52321 21.7973 7.83798 21.7355 8.14709L19.7355 18.1471C19.6654 18.4977 19.3576 18.75 19 18.75H5.00004C4.64253 18.75 4.33472 18.4977 4.26461 18.1471L2.2646 8.14709C2.20278 7.83798 2.34084 7.52321 2.61012 7.35933C2.8794 7.19544 3.22241 7.21743 3.46856 7.41435L7.82977 10.9033L11.376 5.58397C11.5151 5.37533 11.7493 5.25 12 5.25Z"})))},19221:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.86829 12C5.41108 16.2677 8.46131 18.25 12 18.25C15.5387 18.25 18.5889 16.2677 21.1317 12C18.5889 7.73232 15.5387 5.75 12 5.75C8.46131 5.75 5.41108 7.73232 2.86829 12ZM1.34883 11.6279C4.09715 6.81857 7.63999 4.25 12 4.25C16.36 4.25 19.9028 6.81857 22.6512 11.6279C22.7829 11.8585 22.7829 12.1415 22.6512 12.3721C19.9028 17.1814 16.36 19.75 12 19.75C7.63999 19.75 4.09715 17.1814 1.34883 12.3721C1.21706 12.1415 1.21706 11.8585 1.34883 11.6279ZM12 10.75C11.3096 10.75 10.75 11.3096 10.75 12C10.75 12.6904 11.3096 13.25 12 13.25C12.6904 13.25 13.25 12.6904 13.25 12C13.25 11.3096 12.6904 10.75 12 10.75ZM9.25 12C9.25 10.4812 10.4812 9.25 12 9.25C13.5188 9.25 14.75 10.4812 14.75 12C14.75 13.5188 13.5188 14.75 12 14.75C10.4812 14.75 9.25 13.5188 9.25 12Z"})))},63601:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.46967 2.46967C2.76256 2.17678 3.23744 2.17678 3.53033 2.46967L17.8174 16.7568C17.8654 16.7941 17.9095 16.8378 17.9483 16.8876L21.5303 20.4697C21.8232 20.7626 21.8232 21.2374 21.5303 21.5303C21.2374 21.8232 20.7626 21.8232 20.4697 21.5303L17.2465 18.3072C15.6369 19.2662 13.8851 19.7501 12 19.7501C7.63999 19.7501 4.09715 17.1815 1.34883 12.3722C1.21704 12.1416 1.21706 11.8585 1.34887 11.6279C2.57253 9.48713 3.95235 7.78794 5.50007 6.56074L2.46967 3.53033C2.17678 3.23744 2.17678 2.76256 2.46967 2.46967ZM6.56879 7.62945C5.2411 8.64776 4.00403 10.095 2.86833 12.0001C5.41111 16.2678 8.46133 18.2501 12 18.2501C13.4819 18.2501 14.8599 17.904 16.1467 17.2073L13.3414 14.402C12.9342 14.6299 12.4719 14.7526 11.997 14.7524C11.2675 14.7522 10.5681 14.4622 10.0524 13.9462C9.53683 13.4302 9.2473 12.7305 9.24756 12.0011C9.24773 11.5268 9.37037 11.0652 9.59796 10.6586L6.56879 7.62945ZM10.7607 11.8213C10.752 11.8807 10.7476 11.9409 10.7476 12.0016C10.7474 12.3332 10.8791 12.6513 11.1135 12.8859C11.3479 13.1205 11.6659 13.2523 11.9975 13.2524C12.0585 13.2525 12.119 13.248 12.1787 13.2393L10.7607 11.8213ZM11.9973 5.75005C11.1762 5.74715 10.3588 5.86029 9.56927 6.08614C9.17104 6.20006 8.75585 5.96957 8.64192 5.57133C8.528 5.17309 8.75849 4.75791 9.15672 4.64398C10.0817 4.37939 11.0393 4.24678 12.0013 4.25006C16.3607 4.25058 19.9031 6.81912 22.6512 11.6279C22.783 11.8586 22.7829 12.1417 22.6511 12.3723C21.8503 13.7731 20.984 14.9842 20.0478 15.9971C19.7666 16.3013 19.2921 16.32 18.9879 16.0388C18.6838 15.7577 18.6651 15.2832 18.9462 14.979C19.7114 14.1512 20.4404 13.1597 21.1317 12C18.5889 7.73236 15.5387 5.75006 12 5.75006L11.9973 5.75005Z"})))},28587:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.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"})))},80260:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 3.75C6.54822 3.75 3.75 6.54822 3.75 10C3.75 13.4518 6.54822 16.25 10 16.25C13.4518 16.25 16.25 13.4518 16.25 10C16.25 6.54822 13.4518 3.75 10 3.75ZM2.25 10C2.25 5.71979 5.71979 2.25 10 2.25C14.2802 2.25 17.75 5.71979 17.75 10C17.75 11.87 17.0877 13.5853 15.9848 14.9242L21.5303 20.4697C21.8232 20.7626 21.8232 21.2374 21.5303 21.5303C21.2374 21.8232 20.7626 21.8232 20.4697 21.5303L14.9242 15.9848C13.5853 17.0877 11.87 17.75 10 17.75C5.71979 17.75 2.25 14.2802 2.25 10Z"})))},97753:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9461 4.49382C12.7055 3.50206 11.2945 3.50206 11.0539 4.49382L11.0538 4.49421C10.6578 6.12252 8.79686 6.89441 7.36336 6.02285L7.36299 6.02262C6.49035 5.49135 5.49253 6.49022 6.0235 7.3618C6.22619 7.69432 6.34752 8.06998 6.37762 8.45824C6.40773 8.84659 6.34572 9.23656 6.19663 9.59641C6.04755 9.95627 5.8156 10.2758 5.51966 10.5291C5.22378 10.7823 4.8723 10.9621 4.49382 11.0539C3.50206 11.2945 3.50206 12.7055 4.49382 12.9461L4.49422 12.9462C4.87244 13.0382 5.22363 13.2181 5.51923 13.4714C5.81483 13.7246 6.0465 14.0441 6.19542 14.4037C6.34433 14.7633 6.40629 15.153 6.37625 15.5411C6.34621 15.9292 6.22502 16.3047 6.02253 16.6371C5.49145 17.5098 6.49026 18.5074 7.3618 17.9765C7.69431 17.7738 8.06998 17.6525 8.45824 17.6224C8.84659 17.5923 9.23656 17.6543 9.59641 17.8034C9.95627 17.9525 10.2758 18.1844 10.5291 18.4803C10.7823 18.7762 10.9621 19.1277 11.0539 19.5062C11.2945 20.4979 12.7055 20.4979 12.9461 19.5062L12.9462 19.5058C13.0382 19.1276 13.2181 18.7764 13.4714 18.4808C13.7246 18.1852 14.0441 17.9535 14.4037 17.8046C14.7633 17.6557 15.153 17.5937 15.5411 17.6238C15.9292 17.6538 16.3047 17.775 16.6371 17.9775C17.5097 18.5085 18.5074 17.5097 17.9765 16.6382C17.7738 16.3057 17.6525 15.93 17.6224 15.5418C17.5923 15.1534 17.6543 14.7634 17.8034 14.4036C17.9525 14.0437 18.1844 13.7242 18.4803 13.4709C18.7762 13.2177 19.1277 13.0379 19.5062 12.9461C20.4979 12.7055 20.4979 11.2945 19.5062 11.0539L19.5058 11.0538C19.1276 10.9618 18.7764 10.7819 18.4808 10.5286C18.1852 10.2754 17.9535 9.95594 17.8046 9.59631C17.6557 9.23668 17.5937 8.84698 17.6238 8.45889C17.6538 8.07081 17.775 7.69528 17.9775 7.36285C18.5085 6.49025 17.5097 5.49256 16.6382 6.0235C16.3057 6.22619 15.93 6.34752 15.5418 6.37762C15.1534 6.40773 14.7634 6.34572 14.4036 6.19663C14.0437 6.04755 13.7242 5.8156 13.4709 5.51966C13.2177 5.22378 13.0379 4.8723 12.9461 4.49382ZM9.59624 4.13979C10.2079 1.61994 13.7925 1.62007 14.4039 4.14018L14.4039 4.14039C14.44 4.28943 14.5108 4.42783 14.6105 4.54434C14.7102 4.66085 14.836 4.75216 14.9777 4.81086C15.1194 4.86955 15.2729 4.89397 15.4258 4.88211C15.5787 4.87026 15.7266 4.82247 15.8576 4.74264L15.8578 4.7425C18.0722 3.39347 20.6074 5.92764 19.2586 8.14301L19.2585 8.14315C19.1788 8.27403 19.1311 8.42187 19.1193 8.57465C19.1075 8.72744 19.1318 8.88086 19.1905 9.02245C19.2491 9.16404 19.3403 9.28979 19.4567 9.38949C19.573 9.4891 19.7111 9.5599 19.8598 9.59614C22.3801 10.2075 22.3801 13.7925 19.8598 14.4039L19.8596 14.4039C19.7106 14.44 19.5722 14.5108 19.4557 14.6105C19.3392 14.7102 19.2478 14.836 19.1891 14.9777C19.1304 15.1194 19.106 15.2729 19.1179 15.4258C19.1297 15.5787 19.1775 15.7266 19.2574 15.8576L19.2575 15.8578C20.6065 18.0722 18.0724 20.6074 15.857 19.2586L15.8569 19.2585C15.726 19.1788 15.5781 19.1311 15.4253 19.1193C15.2726 19.1075 15.1191 19.1318 14.9776 19.1905C14.836 19.2491 14.7102 19.3403 14.6105 19.4567C14.5109 19.573 14.4401 19.7111 14.4039 19.8598C13.7925 22.3801 10.2075 22.3801 9.59614 19.8598L9.59609 19.8596C9.55998 19.7106 9.48919 19.5722 9.38948 19.4557C9.28977 19.3392 9.16396 19.2478 9.02228 19.1891C8.88061 19.1304 8.72708 19.106 8.57419 19.1179C8.4213 19.1297 8.27337 19.1775 8.14244 19.2574L8.1422 19.2575C5.92778 20.6065 3.39265 18.0724 4.74138 15.857L4.74147 15.8569C4.82118 15.726 4.86889 15.5781 4.88072 15.4253C4.89255 15.2726 4.86816 15.1191 4.80953 14.9776C4.7509 14.836 4.65969 14.7102 4.54332 14.6105C4.42705 14.5109 4.28893 14.4401 4.14018 14.4039C1.61994 13.7925 1.61994 10.2075 4.14018 9.59614L4.14039 9.59609C4.28943 9.55998 4.42783 9.48919 4.54434 9.38948C4.66085 9.28977 4.75216 9.16396 4.81086 9.02228C4.86955 8.88061 4.89397 8.72708 4.88211 8.57419C4.87026 8.4213 4.82247 8.27337 4.74264 8.14244L4.7425 8.1422C3.39354 5.92791 5.92736 3.39294 8.14263 4.74115C8.70903 5.08552 9.4399 4.7816 9.59614 4.14018M12 9.75C10.7574 9.75 9.75 10.7574 9.75 12C9.75 13.2426 10.7574 14.25 12 14.25C13.2426 14.25 14.25 13.2426 14.25 12C14.25 10.7574 13.2426 9.75 12 9.75ZM8.25 12C8.25 9.92893 9.92893 8.25 12 8.25C14.0711 8.25 15.75 9.92893 15.75 12C15.75 14.0711 14.0711 15.75 12 15.75C9.92893 15.75 8.25 14.0711 8.25 12Z"})))},85878:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(59538),a=i.forwardRef((t,r)=>i.createElement(o.Z,{viewBox:"0 0 24 24",...t,ref:r},i.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"}),i.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"})))},83444:function(t,r,n){"use strict";n.d(r,{ZP:()=>eo});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(408),c=n(14233),d=n(65992),f=n(53640),h=n(5584),m=n(20186),g=n(69917);let y=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],v=["component","slots","slotProps"],b=["component"];function _(t,r){let{className:n,elementType:i,ownerState:s,externalForwardedProps:l,getSlotOwnerState:u,internalForwardedProps:c}=r,d=(0,o.Z)(r,y),{component:_,slots:w={[t]:void 0},slotProps:S={[t]:void 0}}=l,x=(0,o.Z)(l,v),E=w[t]||i,k=(0,h.x)(S[t],s),C=(0,m.L)((0,a.Z)({className:n},d,{externalForwardedProps:"root"===t?x:void 0,externalSlotProps:k})),{props:{component:O},internalRef:R}=C,T=(0,o.Z)(C.props,b),P=(0,f.Z)(R,null==k?void 0:k.ref,r.ref),M=u?u(T):{},I=(0,a.Z)({},s,M),A="root"===t?O||_:O,L=(0,g.$)(E,(0,a.Z)({},"root"===t&&!_&&!w[t]&&c,"root"!==t&&!w[t]&&c,T,A&&{as:A},{ref:P}),I);return Object.keys(M).forEach(t=>{delete L[t]}),[E,L]}var w=n(7342),S=n(81851),x=n(69222),E=n(15672);function k(t){return(0,E.ZP)("MuiAlert",t)}let C=(0,x.Z)("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var O=n(33486),R=n(6620),T=n(52322);let P=(0,R.Z)((0,T.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"),M=(0,R.Z)((0,T.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),I=(0,R.Z)((0,T.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"),A=(0,R.Z)((0,T.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"),L=(0,R.Z)((0,T.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"),N=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],j=(0,c.U)("MuiAlert"),D=t=>{let{variant:r,color:n,severity:i,classes:o}=t,a={root:["root",`color${(0,w.Z)(n||i)}`,`${r}${(0,w.Z)(n||i)}`,`${r}`],icon:["icon"],message:["message"],action:["action"]};return(0,l.Z)(a,k,o)},F=(0,d.ZP)(S.Z,{name:"MuiAlert",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[n.variant],r[`${n.variant}${(0,w.Z)(n.color||n.severity)}`]]}})(({theme:t})=>{let r="light"===t.palette.mode?u.darken:u.lighten,n="light"===t.palette.mode?u.lighten:u.darken;return(0,a.Z)({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(([,t])=>t.main&&t.light).map(([i])=>({props:{colorSeverity:i,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${i}Color`]:r(t.palette[i].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${i}StandardBg`]:n(t.palette[i].light,.9),[`& .${C.icon}`]:t.vars?{color:t.vars.palette.Alert[`${i}IconColor`]}:{color:t.palette[i].main}}})),...Object.entries(t.palette).filter(([,t])=>t.main&&t.light).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${n}Color`]:r(t.palette[n].light,.6),border:`1px solid ${(t.vars||t).palette[n].light}`,[`& .${C.icon}`]:t.vars?{color:t.vars.palette.Alert[`${n}IconColor`]}:{color:t.palette[n].main}}})),...Object.entries(t.palette).filter(([,t])=>t.main&&t.dark).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:(0,a.Z)({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert[`${r}FilledColor`],backgroundColor:t.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:"dark"===t.palette.mode?t.palette[r].dark:t.palette[r].main,color:t.palette.getContrastText(t.palette[r].main)})}))]})}),B=(0,d.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,r)=>r.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),$=(0,d.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,r)=>r.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),U=(0,d.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,r)=>r.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),z={success:(0,T.jsx)(P,{fontSize:"inherit"}),warning:(0,T.jsx)(M,{fontSize:"inherit"}),error:(0,T.jsx)(I,{fontSize:"inherit"}),info:(0,T.jsx)(A,{fontSize:"inherit"})},q=i.forwardRef(function(t,r){let n=j({props:t,name:"MuiAlert"}),{action:i,children:l,className:u,closeText:c="Close",color:d,components:f={},componentsProps:h={},icon:m,iconMapping:g=z,onClose:y,role:v="alert",severity:b="success",slotProps:w={},slots:S={},variant:x="standard"}=n,E=(0,o.Z)(n,N),k=(0,a.Z)({},n,{color:d,severity:b,variant:x,colorSeverity:d||b}),C=D(k),R={slots:(0,a.Z)({closeButton:f.CloseButton,closeIcon:f.CloseIcon},S),slotProps:(0,a.Z)({},h,w)},[P,M]=_("closeButton",{elementType:O.Z,externalForwardedProps:R,ownerState:k}),[I,A]=_("closeIcon",{elementType:L,externalForwardedProps:R,ownerState:k});return(0,T.jsxs)(F,(0,a.Z)({role:v,elevation:0,ownerState:k,className:(0,s.Z)(C.root,u),ref:r},E,{children:[!1!==m?(0,T.jsx)(B,{ownerState:k,className:C.icon,children:m||g[b]||z[b]}):null,(0,T.jsx)($,{ownerState:k,className:C.message,children:l}),null!=i?(0,T.jsx)(U,{ownerState:k,className:C.action,children:i}):null,null==i&&y?(0,T.jsx)(U,{ownerState:k,className:C.action,children:(0,T.jsx)(P,(0,a.Z)({size:"small","aria-label":c,title:c,color:"inherit",onClick:y},M,{children:(0,T.jsx)(I,(0,a.Z)({fontSize:"small"},A))}))}):null]}))});var Z=n(28605),H=n(59538),V=n(96825),W=n(24309),G=n(47591),K=n(90449);let X=(0,V.z)(q)(({theme:t,severity:r,color:n,variant:i,ownerState:o})=>{var a,s;let l="small"===o.size,u=function(t,r,n,i){let o=r||t;return o?"filled"===n?{"& .MuiButton-containedInherit:not(.Mui-disabled)":{color:i.palette[o].main,backgroundColor:"rgba(255, 255, 255, 1)","&:hover":{backgroundColor:"rgba(255, 255, 255, .96)"}},"& .MuiButton-outlinedInherit:not(.Mui-disabled):hover":{backgroundColor:i.palette[o].dark},"& a.MuiButtonBase-root.MuiButton-containedInherit:not(.Mui-disabled)":{[K.Nt]:{color:i.palette[o].main}}}:{"&.MuiAlert-root":{color:i.palette.text.secondary},"& .MuiCloseButton-root":{color:i.palette.action.active},"& .MuiButton-containedInherit:not(.Mui-disabled)":{backgroundColor:i.palette[o].main,color:i.palette[o].contrastText,"&:hover":{backgroundColor:i.palette[o].dark,color:i.palette[o].contrastText}},"& .MuiButton-outlinedInherit:not(.Mui-disabled)":{borderColor:i.palette[o].main,color:i.palette[o].main,"&:hover":{backgroundColor:(0,G.Fq)(i.palette[o].main,.08),color:i.palette[o].main}},"& a.MuiButtonBase-root.MuiButton-containedInherit:not(.Mui-disabled)":{[K.Nt]:{color:i.palette[o].contrastText}},"& a.MuiButtonBase-root.MuiButton-outlinedInherit:not(.Mui-disabled)":{[K.Nt]:{color:i.palette[o].main}}}:{}}(r,n,i,t),c=(a=o,s=t,"small"!==a.size?{}:{"& .MuiButtonBase-root.MuiButton-root":{fontSize:s.typography.caption.fontSize,letterSpacing:s.typography.caption.letterSpacing,lineHeight:1},"& .MuiButtonBase-root.MuiButton-contained":{padding:"8px 9px"},"& .MuiButtonBase-root.MuiButton-outlined":{padding:"7px 9px"}}),d=l?{...t.typography.caption,fontWeight:t.typography.subtitle2.fontWeight,lineHeight:t.typography.subtitle2.lineHeight}:t.typography.subtitle2,f=l?{...t.typography.caption,lineHeight:t.typography.body2.lineHeight}:{};return{borderRadius:o.square?void 0:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2],padding:l?t.spacing(1.5):t.spacing(1.5,2),"& .MuiAlert-message":{width:"100%",padding:0,minHeight:l?"28px":"31px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:l?t.spacing(1):t.spacing(1.5),...f},"& .MuiAlertTitle-root":{marginBottom:0,lineHeight:"inherit",marginRight:l?t.spacing(.25):t.spacing(.5),marginTop:0,...d},"& .MuiAlert-icon":{fontSize:l?"18px":"22px",padding:l?t.spacing(.25):0,paddingTop:l?"5px":t.spacing(.5),marginRight:l?t.spacing(.5):t.spacing(1.5)},"& .MuiAlert-action":{padding:l?t.spacing(.25,0,0):0,marginLeft:l?t.spacing(.5):t.spacing(1)},"&.MuiAlert-filledWarning":{color:t.palette.common.white},...c,...u}}),{slots:Y,classNames:J}=(0,W.N)("Alert",["actions","content"]),Q=(0,V.z)("div",Y.content)(()=>({flexGrow:1,paddingTop:"6px"})),ee=(0,V.z)("div",Y.content)(({theme:t})=>({alignItems:"center",display:"flex",flexWrap:"wrap",gap:t.spacing(.25),maxWidth:"800px"})),et=({children:t,...r})=>i.createElement(Q,{...r},i.createElement(ee,null,t)),er=(0,V.z)("div")(({theme:t,ownerState:r})=>({display:"flex",alignItems:"flex-start",flexWrap:"wrap",gap:"small"===r.size?t.spacing(.5):t.spacing(1)})),en={closeText:"Close",severity:"success",size:"medium"},ei=i.forwardRef((t,r)=>{let{onClose:n,action:o,secondaryAction:a,children:s,size:l,...u}={...en,...t},c=!!(o||a);return i.createElement(X,{iconMapping:{success:i.createElement(ea,null),error:i.createElement(el,null),info:i.createElement(es,null),warning:i.createElement(eu,null)},...u,ref:r,action:!!n&&i.createElement(Z.Z,{color:"inherit",onClick:n,slotProps:{icon:{fontSize:"small"===l?"tiny":"small"}},title:u.closeText,"aria-label":u.closeText}),ownerState:{size:l,square:u.square}},i.createElement(et,{className:J.content},s),c&&i.createElement(er,{className:J.actions,ownerState:{size:l}},a,o))});ei.defaultProps=en;var eo=ei;function ea(){return i.createElement(H.Z,{viewBox:"0 0 24 24",fontSize:"inherit"},i.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 es(){return i.createElement(H.Z,{viewBox:"0 0 24 24",fontSize:"inherit"},i.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 el(){return i.createElement(H.Z,{viewBox:"0 0 24 24",fontSize:"inherit"},i.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 eu(){return i.createElement(H.Z,{viewBox:"0 0 24 24",fontSize:"inherit"},i.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"}))}},71268:function(t,r,n){"use strict";n.d(r,{Z:()=>g});var i=n(2784),o=n(67239),a=n(73686),s=n(24309),l=n(96825),u=n(43853);let{slots:c,classNames:d}=(0,s.N)("AlertAction",["root"]),f=(0,l.z)(a.Z,c.root)({}),h={color:"inherit",variant:"outlined"},m=i.forwardRef((t,r)=>{let n=(0,u.Z)({props:{...h,...t},name:c.root.name});return i.createElement(f,{...n,size:"small",ref:r,className:(0,o.Z)([[d.root,n.className]]),ownerState:n})});m.defaultProps=h;var g=m},89637:function(t,r,n){"use strict";n.d(r,{Z:()=>S});var i=n(2784),o=n(7560),a=n(98283),s=n(67239),l=n(69075),u=n(14233),c=n(65992),d=n(60758),f=n(69222),h=n(15672);function m(t){return(0,h.ZP)("MuiAlertTitle",t)}(0,f.Z)("MuiAlertTitle",["root"]);var g=n(52322);let y=["className"],v=(0,u.U)("MuiAlertTitle"),b=t=>{let{classes:r}=t;return(0,l.Z)({root:["root"]},m,r)},_=(0,c.ZP)(d.Z,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(t,r)=>r.root})(({theme:t})=>({fontWeight:t.typography.fontWeightMedium,marginTop:-2})),w=i.forwardRef(function(t,r){let n=v({props:t,name:"MuiAlertTitle"}),{className:i}=n,l=(0,a.Z)(n,y),u=b(n);return(0,g.jsx)(_,(0,o.Z)({gutterBottom:!0,component:"div",ownerState:n,ref:r,className:(0,s.Z)(u.root,i)},l))});var S=i.forwardRef((t,r)=>i.createElement(w,{...t,ref:r}))},57749:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(55519),a=i.forwardRef((t,r)=>i.createElement(o.Z,{...t,ref:r}))},47308:function(t,r,n){"use strict";n.d(r,{Z:()=>w});var i=n(2784),o=n(7560),a=n(98283),s=n(67239),l=n(79895),u=n(37450),c=n(89836),d=n(16933),f=n(52322);let h=["className","component"];var m=n(68542),g=n(64379),y=n(16912);let v=(0,n(69222).Z)("MuiBox",["root"]),b=(0,g.Z)(),_=function(t={}){let{themeId:r,defaultTheme:n,defaultClassName:m="MuiBox-root",generateClassName:g}=t,y=(0,l.default)("div",{shouldForwardProp:t=>"theme"!==t&&"sx"!==t&&"as"!==t})(u.Z);return i.forwardRef(function(t,i){let l=(0,d.Z)(n),u=(0,c.Z)(t),{className:v,component:b="div"}=u,_=(0,a.Z)(u,h);return(0,f.jsx)(y,(0,o.Z)({as:b,ref:i,className:(0,s.Z)(v,g?g(m):m),theme:r&&l[r]||l},_))})}({themeId:y.Z,defaultTheme:b,defaultClassName:v.root,generateClassName:m.Z.generate});var w=i.forwardRef((t,r)=>i.createElement(_,{...t,ref:r}))},73686:function(t,r,n){"use strict";n.d(r,{Z:()=>z});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(87395),u=n(69075),c=n(408),d=n(65992),f=n(87742),h=n(43853),m=n(21487),g=n(7342),y=n(69222),v=n(15672);function b(t){return(0,v.ZP)("MuiButton",t)}let _=(0,y.Z)("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"]);var w=n(49146),S=n(87897),x=n(52322);let E=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],k=t=>{let{color:r,disableElevation:n,fullWidth:i,size:o,variant:s,classes:l}=t,c={root:["root",s,`${s}${(0,g.Z)(r)}`,`size${(0,g.Z)(o)}`,`${s}Size${(0,g.Z)(o)}`,`color${(0,g.Z)(r)}`,n&&"disableElevation",i&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,g.Z)(o)}`],endIcon:["icon","endIcon",`iconSize${(0,g.Z)(o)}`]},d=(0,u.Z)(c,b,l);return(0,a.Z)({},l,d)},C=t=>(0,a.Z)({},"small"===t.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===t.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===t.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),O=(0,d.ZP)(m.Z,{shouldForwardProp:t=>(0,f.Z)(t)||"classes"===t,name:"MuiButton",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[n.variant],r[`${n.variant}${(0,g.Z)(n.color)}`],r[`size${(0,g.Z)(n.size)}`],r[`${n.variant}Size${(0,g.Z)(n.size)}`],"inherit"===n.color&&r.colorInherit,n.disableElevation&&r.disableElevation,n.fullWidth&&r.fullWidth]}})(({theme:t,ownerState:r})=>{var n,i;let o="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],s="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return(0,a.Z)({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":(0,a.Z)({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.alpha)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===r.variant&&"inherit"!==r.color&&{backgroundColor:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.alpha)(t.palette[r.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===r.variant&&"inherit"!==r.color&&{border:`1px solid ${(t.vars||t).palette[r.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.alpha)(t.palette[r.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===r.variant&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:s,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},"contained"===r.variant&&"inherit"!==r.color&&{backgroundColor:(t.vars||t).palette[r.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[r.color].main}}),"&:active":(0,a.Z)({},"contained"===r.variant&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${_.focusVisible}`]:(0,a.Z)({},"contained"===r.variant&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${_.disabled}`]:(0,a.Z)({color:(t.vars||t).palette.action.disabled},"outlined"===r.variant&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"contained"===r.variant&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},"text"===r.variant&&{padding:"6px 8px"},"text"===r.variant&&"inherit"!==r.color&&{color:(t.vars||t).palette[r.color].main},"outlined"===r.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===r.variant&&"inherit"!==r.color&&{color:(t.vars||t).palette[r.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[r.color].mainChannel} / 0.5)`:`1px solid ${(0,c.alpha)(t.palette[r.color].main,.5)}`},"contained"===r.variant&&{color:t.vars?t.vars.palette.text.primary:null==(n=(i=t.palette).getContrastText)?void 0:n.call(i,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:o,boxShadow:(t.vars||t).shadows[2]},"contained"===r.variant&&"inherit"!==r.color&&{color:(t.vars||t).palette[r.color].contrastText,backgroundColor:(t.vars||t).palette[r.color].main},"inherit"===r.color&&{color:"inherit",borderColor:"currentColor"},"small"===r.size&&"text"===r.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===r.size&&"text"===r.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===r.size&&"outlined"===r.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===r.size&&"outlined"===r.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===r.size&&"contained"===r.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===r.size&&"contained"===r.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},r.fullWidth&&{width:"100%"})},({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${_.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${_.disabled}`]:{boxShadow:"none"}}),R=(0,d.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.startIcon,r[`iconSize${(0,g.Z)(n.size)}`]]}})(({ownerState:t})=>(0,a.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},C(t))),T=(0,d.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.endIcon,r[`iconSize${(0,g.Z)(n.size)}`]]}})(({ownerState:t})=>(0,a.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},C(t))),P=i.forwardRef(function(t,r){let n=i.useContext(w.Z),u=i.useContext(S.Z),c=(0,l.Z)(n,t),d=(0,h.Z)({props:c,name:"MuiButton"}),{children:f,color:m="primary",component:g="button",className:y,disabled:v=!1,disableElevation:b=!1,disableFocusRipple:_=!1,endIcon:C,focusVisibleClassName:P,fullWidth:M=!1,size:I="medium",startIcon:A,type:L,variant:N="text"}=d,j=(0,o.Z)(d,E),D=(0,a.Z)({},d,{color:m,component:g,disabled:v,disableElevation:b,disableFocusRipple:_,fullWidth:M,size:I,type:L,variant:N}),F=k(D),B=A&&(0,x.jsx)(R,{className:F.startIcon,ownerState:D,children:A}),$=C&&(0,x.jsx)(T,{className:F.endIcon,ownerState:D,children:C});return(0,x.jsxs)(O,(0,a.Z)({ownerState:D,className:(0,s.Z)(n.className,F.root,y,u||""),component:g,disabled:v,focusRipple:!_,focusVisibleClassName:(0,s.Z)(F.focusVisible,P),ref:r,type:L},j,{classes:F,children:[B,f,$]}))});var M=n(90449),I=n(96825),A=n(54824),L=n(47746),N=n(20211);let j="rgba(0, 0, 0, 0.04)",D="rgba(0, 0, 0, 0.08)",F=(0,I.z)(P)(({theme:t,ownerState:r})=>{let{color:n,unstableToColor:i,unstableGradientAngle:o}=r,a=n&&"inherit"!==n?n:"primary",s=!!t.palette[a]?.__unstableTonalMain,l=({variant:t})=>"unstableTonal"===t&&s,u=({variant:t})=>"unstableGradient"===t&&s,c=({variant:t})=>!!t&&!["contained","outlined","text"].includes(t);return{variants:[{props:()=>r.loading&&"center"===r.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:t.palette.action.disabled}}}},{props:t=>l(t)&&"inherit"!==t.color&&!t.disabled,style:{background:t.palette[a]?.__unstableTonalMain,color:t.palette[a].main,"&:hover":{backgroundColor:t.palette[a]?.__unstableTonalDark}}},{props:t=>t.disabled&&c(t),style:{background:t.palette.action.disabledBackground,color:t.palette.action.disabled}},{props:t=>l(t)&&"inherit"===t.color,style:{background:j,color:"inherit","&:hover":{backgroundColor:D}}},{props:t=>"unstableTonal"===t.variant&&!s,style:{background:"#ff0000",color:"#ff0000"}},{props:t=>"small"===t.size&&c(t),style:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)}},{props:t=>"large"===t.size&&c(t),style:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)}},{props:t=>u(t)&&!t.disabled,style:function(t,r,n,i){if(!n)return;let o=function(t,r){if(void 0!==r)return r;let{__unstableGradientAngle:n}=t.palette.action;return void 0!==n?n:125}(t,r),{main:a,__unstableTonalMain:s,__unstableTonalDark:l}=t.palette[n]||{};"inherit"===n&&(a="inherit",s=j,l=D);let u=[s],c=[l];if(i){let{__unstableTonalMain:r,__unstableTonalDark:n}=t.palette[i];u.push(r),c.push(n)}return{color:a,backgroundImage:`linear-gradient( ${o}deg, ${u.join(", ")} )`,"&:hover":{backgroundImage:`linear-gradient( ${o}deg, ${c.join(",")} )`}}}(t,o,n,i)},{props:t=>"unstableGradient"===t.variant&&!s,style:{background:"#ff0000",color:"#ff0000"}}]}}),B=(t="primary",r="text",n)=>{if(t)return"inherit"===t?"inherit":"contained"===r?`${t}.contrastText`:"unstableTonal"===r?`${t}.main`:n.palette.primary.__unstableAccessibleMain&&A.l1.includes(t)?`${t}.${M.nI}`:`${t}.main`},$={loading:!1,loadingIndicator:i.createElement(N.Z,{color:"inherit",size:16}),loadingPosition:"center"},U=i.forwardRef((t,r)=>{let n={...$,...t},o=i.useContext(w.Z),a=(0,L.Z)(),{sx:s={},unstableToColor:l,unstableGradientAngle:u,...c}=function(t){let{loading:r,loadingPosition:n,loadingIndicator:o,...a}=t;if(!r)return a;switch(n){case"start":a.startIcon=o;break;case"end":a.endIcon=o;break;case"center":a.children=i.createElement(q,{loadingIndicator:o},t.children)}return{...a,disabled:!0}}(n),d={...c,loading:n.loading,loadingPosition:n.loadingPosition,loadingIndicator:n.loadingIndicator,unstableToColor:l,unstableGradientAngle:u},f={},h=c.href?M.Nt:"&:hover,&:focus,&:active",m=c.color||o?.color,g=c.variant||o?.variant;return f={[h]:{color:B(m,g,a)}},i.createElement(F,{...c,color:m,variant:g,sx:{...f,...s},ref:r,ownerState:d})});var z=U;function q({loadingIndicator:t,children:r}){return i.createElement(i.Fragment,null,i.createElement("div",{className:"MuiButton-loadingWrapper"},i.createElement("div",{className:"MuiButton-loadingIndicator"},t)),r)}U.defaultProps=$},36:function(t,r,n){"use strict";n.d(r,{Z:()=>w});var i=n(2784),o=n(7560),a=n(98283),s=n(67239),l=n(69075),u=n(65992),c=n(43853),d=n(81851),f=n(69222),h=n(15672);function m(t){return(0,h.ZP)("MuiCard",t)}(0,f.Z)("MuiCard",["root"]);var g=n(52322);let y=["className","raised"],v=t=>{let{classes:r}=t;return(0,l.Z)({root:["root"]},m,r)},b=(0,u.ZP)(d.Z,{name:"MuiCard",slot:"Root",overridesResolver:(t,r)=>r.root})(()=>({overflow:"hidden"})),_=i.forwardRef(function(t,r){let n=(0,c.Z)({props:t,name:"MuiCard"}),{className:i,raised:l=!1}=n,u=(0,a.Z)(n,y),d=(0,o.Z)({},n,{raised:l}),f=v(d);return(0,g.jsx)(b,(0,o.Z)({className:(0,s.Z)(f.root,i),elevation:l?8:void 0,ref:r,ownerState:d},u))});var w=i.forwardRef((t,r)=>i.createElement(_,{...t,ref:r}))},6218:function(t,r,n){"use strict";n.d(r,{Z:()=>_});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(65992),c=n(43853),d=n(69222),f=n(15672);function h(t){return(0,f.ZP)("MuiCardActions",t)}(0,d.Z)("MuiCardActions",["root","spacing"]);var m=n(52322);let g=["disableSpacing","className"],y=t=>{let{classes:r,disableSpacing:n}=t;return(0,l.Z)({root:["root",!n&&"spacing"]},h,r)},v=(0,u.ZP)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,!n.disableSpacing&&r.spacing]}})(({ownerState:t})=>(0,a.Z)({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),b=i.forwardRef(function(t,r){let n=(0,c.Z)({props:t,name:"MuiCardActions"}),{disableSpacing:i=!1,className:l}=n,u=(0,o.Z)(n,g),d=(0,a.Z)({},n,{disableSpacing:i}),f=y(d);return(0,m.jsx)(v,(0,a.Z)({className:(0,s.Z)(f.root,l),ownerState:d,ref:r},u))});var _=i.forwardRef((t,r)=>i.createElement(b,{...t,ref:r}))},15420:function(t,r,n){"use strict";n.d(r,{Z:()=>_});var i=n(2784),o=n(7560),a=n(98283),s=n(67239),l=n(69075),u=n(65992),c=n(43853),d=n(69222),f=n(15672);function h(t){return(0,f.ZP)("MuiCardContent",t)}(0,d.Z)("MuiCardContent",["root"]);var m=n(52322);let g=["className","component"],y=t=>{let{classes:r}=t;return(0,l.Z)({root:["root"]},h,r)},v=(0,u.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,r)=>r.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),b=i.forwardRef(function(t,r){let n=(0,c.Z)({props:t,name:"MuiCardContent"}),{className:i,component:l="div"}=n,u=(0,a.Z)(n,g),d=(0,o.Z)({},n,{component:l}),f=y(d);return(0,m.jsx)(v,(0,o.Z)({as:l,className:(0,s.Z)(f.root,i),ownerState:d,ref:r},u))});var _=i.forwardRef((t,r)=>i.createElement(b,{...t,ref:r}))},21788:function(t,r,n){"use strict";n.d(r,{Z:()=>S});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(43853),c=n(65992),d=n(69222),f=n(15672);function h(t){return(0,f.ZP)("MuiCardMedia",t)}(0,d.Z)("MuiCardMedia",["root","media","img"]);var m=n(52322);let g=["children","className","component","image","src","style"],y=t=>{let{classes:r,isMediaComponent:n,isImageComponent:i}=t;return(0,l.Z)({root:["root",n&&"media",i&&"img"]},h,r)},v=(0,c.ZP)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t,{isMediaComponent:i,isImageComponent:o}=n;return[r.root,i&&r.media,o&&r.img]}})(({ownerState:t})=>(0,a.Z)({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},t.isMediaComponent&&{width:"100%"},t.isImageComponent&&{objectFit:"cover"})),b=["video","audio","picture","iframe","img"],_=["picture","img"],w=i.forwardRef(function(t,r){let n=(0,u.Z)({props:t,name:"MuiCardMedia"}),{children:i,className:l,component:c="div",image:d,src:f,style:h}=n,w=(0,o.Z)(n,g),S=-1!==b.indexOf(c),x=!S&&d?(0,a.Z)({backgroundImage:`url("${d}")`},h):h,E=(0,a.Z)({},n,{component:c,isMediaComponent:S,isImageComponent:-1!==_.indexOf(c)}),k=y(E);return(0,m.jsx)(v,(0,a.Z)({className:(0,s.Z)(k.root,l),as:c,role:!S&&d?"img":void 0,ref:r,style:x,ownerState:E,src:S?d||f:void 0},w,{children:i}))});var S=i.forwardRef((t,r)=>i.createElement(w,{...t,ref:r}))},12857:function(t,r,n){"use strict";n.d(r,{Z:()=>I});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(408),c=n(11350),d=n(6620),f=n(52322);let h=(0,d.Z)((0,f.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),m=(0,d.Z)((0,f.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),g=(0,d.Z)((0,f.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");var y=n(7342),v=n(43853),b=n(65992),_=n(87742),w=n(69222),S=n(15672);function x(t){return(0,S.ZP)("MuiCheckbox",t)}let E=(0,w.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),k=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],C=t=>{let{classes:r,indeterminate:n,color:i,size:o}=t,s={root:["root",n&&"indeterminate",`color${(0,y.Z)(i)}`,`size${(0,y.Z)(o)}`]},u=(0,l.Z)(s,x,r);return(0,a.Z)({},r,u)},O=(0,b.ZP)(c.Z,{shouldForwardProp:t=>(0,_.Z)(t)||"classes"===t,name:"MuiCheckbox",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.indeterminate&&r.indeterminate,r[`size${(0,y.Z)(n.size)}`],"default"!==n.color&&r[`color${(0,y.Z)(n.color)}`]]}})(({theme:t,ownerState:r})=>(0,a.Z)({color:(t.vars||t).palette.text.secondary},!r.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${"default"===r.color?t.vars.palette.action.activeChannel:t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.alpha)("default"===r.color?t.palette.action.active:t.palette[r.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&{[`&.${E.checked}, &.${E.indeterminate}`]:{color:(t.vars||t).palette[r.color].main},[`&.${E.disabled}`]:{color:(t.vars||t).palette.action.disabled}})),R=(0,f.jsx)(m,{}),T=(0,f.jsx)(h,{}),P=(0,f.jsx)(g,{}),M=i.forwardRef(function(t,r){var n,l;let u=(0,v.Z)({props:t,name:"MuiCheckbox"}),{checkedIcon:c=R,color:d="primary",icon:h=T,indeterminate:m=!1,indeterminateIcon:g=P,inputProps:y,size:b="medium",className:_}=u,w=(0,o.Z)(u,k),S=m?g:h,x=m?g:c,E=(0,a.Z)({},u,{color:d,indeterminate:m,size:b}),M=C(E);return(0,f.jsx)(O,(0,a.Z)({type:"checkbox",inputProps:(0,a.Z)({"data-indeterminate":m},y),icon:i.cloneElement(S,{fontSize:null!=(n=S.props.fontSize)?n:b}),checkedIcon:i.cloneElement(x,{fontSize:null!=(l=x.props.fontSize)?l:b}),ownerState:E,ref:r,className:(0,s.Z)(M.root,_)},w,{classes:M}))});var I=i.forwardRef((t,r)=>i.createElement(M,{...t,ref:r}))},3964:function(t,r,n){"use strict";n.d(r,{Z:()=>I});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(408),c=n(6620),d=n(52322);let f=(0,c.Z)((0,d.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");var h=n(98659),m=n(7342),g=n(21487),y=n(43853),v=n(65992),b=n(69222),_=n(15672);function w(t){return(0,_.ZP)("MuiChip",t)}let S=(0,b.Z)("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"]),x=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],E=t=>{let{classes:r,disabled:n,size:i,color:o,iconColor:a,onDelete:s,clickable:u,variant:c}=t,d={root:["root",c,n&&"disabled",`size${(0,m.Z)(i)}`,`color${(0,m.Z)(o)}`,u&&"clickable",u&&`clickableColor${(0,m.Z)(o)}`,s&&"deletable",s&&`deletableColor${(0,m.Z)(o)}`,`${c}${(0,m.Z)(o)}`],label:["label",`label${(0,m.Z)(i)}`],avatar:["avatar",`avatar${(0,m.Z)(i)}`,`avatarColor${(0,m.Z)(o)}`],icon:["icon",`icon${(0,m.Z)(i)}`,`iconColor${(0,m.Z)(a)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,m.Z)(i)}`,`deleteIconColor${(0,m.Z)(o)}`,`deleteIcon${(0,m.Z)(c)}Color${(0,m.Z)(o)}`]};return(0,l.Z)(d,w,r)},k=(0,v.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t,{color:i,iconColor:o,clickable:a,onDelete:s,size:l,variant:u}=n;return[{[`& .${S.avatar}`]:r.avatar},{[`& .${S.avatar}`]:r[`avatar${(0,m.Z)(l)}`]},{[`& .${S.avatar}`]:r[`avatarColor${(0,m.Z)(i)}`]},{[`& .${S.icon}`]:r.icon},{[`& .${S.icon}`]:r[`icon${(0,m.Z)(l)}`]},{[`& .${S.icon}`]:r[`iconColor${(0,m.Z)(o)}`]},{[`& .${S.deleteIcon}`]:r.deleteIcon},{[`& .${S.deleteIcon}`]:r[`deleteIcon${(0,m.Z)(l)}`]},{[`& .${S.deleteIcon}`]:r[`deleteIconColor${(0,m.Z)(i)}`]},{[`& .${S.deleteIcon}`]:r[`deleteIcon${(0,m.Z)(u)}Color${(0,m.Z)(i)}`]},r.root,r[`size${(0,m.Z)(l)}`],r[`color${(0,m.Z)(i)}`],a&&r.clickable,a&&"default"!==i&&r[`clickableColor${(0,m.Z)(i)})`],s&&r.deletable,s&&"default"!==i&&r[`deletableColor${(0,m.Z)(i)}`],r[u],r[`${u}${(0,m.Z)(i)}`]]}})(({theme:t,ownerState:r})=>{let n="light"===t.palette.mode?t.palette.grey[700]:t.palette.grey[300];return(0,a.Z)({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${S.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${S.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:n,fontSize:t.typography.pxToRem(12)},[`& .${S.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${S.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${S.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${S.icon}`]:(0,a.Z)({marginLeft:5,marginRight:-6},"small"===r.size&&{fontSize:18,marginLeft:4,marginRight:-4},r.iconColor===r.color&&(0,a.Z)({color:t.vars?t.vars.palette.Chip.defaultIconColor:n},"default"!==r.color&&{color:"inherit"})),[`& .${S.deleteIcon}`]:(0,a.Z)({WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:(0,u.alpha)(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:(0,u.alpha)(t.palette.text.primary,.4)}},"small"===r.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==r.color&&{color:t.vars?`rgba(${t.vars.palette[r.color].contrastTextChannel} / 0.7)`:(0,u.alpha)(t.palette[r.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[r.color].contrastText}})},"small"===r.size&&{height:24},"default"!==r.color&&{backgroundColor:(t.vars||t).palette[r.color].main,color:(t.vars||t).palette[r.color].contrastText},r.onDelete&&{[`&.${S.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.alpha)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},r.onDelete&&"default"!==r.color&&{[`&.${S.focusVisible}`]:{backgroundColor:(t.vars||t).palette[r.color].dark}})},({theme:t,ownerState:r})=>(0,a.Z)({},r.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.alpha)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${S.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.alpha)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},r.clickable&&"default"!==r.color&&{[`&:hover, &.${S.focusVisible}`]:{backgroundColor:(t.vars||t).palette[r.color].dark}}),({theme:t,ownerState:r})=>(0,a.Z)({},"outlined"===r.variant&&{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${S.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${S.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${S.avatar}`]:{marginLeft:4},[`& .${S.avatarSmall}`]:{marginLeft:2},[`& .${S.icon}`]:{marginLeft:4},[`& .${S.iconSmall}`]:{marginLeft:2},[`& .${S.deleteIcon}`]:{marginRight:5},[`& .${S.deleteIconSmall}`]:{marginRight:3}},"outlined"===r.variant&&"default"!==r.color&&{color:(t.vars||t).palette[r.color].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / 0.7)`:(0,u.alpha)(t.palette[r.color].main,.7)}`,[`&.${S.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.alpha)(t.palette[r.color].main,t.palette.action.hoverOpacity)},[`&.${S.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.focusOpacity})`:(0,u.alpha)(t.palette[r.color].main,t.palette.action.focusOpacity)},[`& .${S.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / 0.7)`:(0,u.alpha)(t.palette[r.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[r.color].main}}})),C=(0,v.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,r)=>{let{ownerState:n}=t,{size:i}=n;return[r.label,r[`label${(0,m.Z)(i)}`]]}})(({ownerState:t})=>(0,a.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===t.variant&&{paddingLeft:11,paddingRight:11},"small"===t.size&&{paddingLeft:8,paddingRight:8},"small"===t.size&&"outlined"===t.variant&&{paddingLeft:7,paddingRight:7}));function O(t){return"Backspace"===t.key||"Delete"===t.key}let R=i.forwardRef(function(t,r){let n=(0,y.Z)({props:t,name:"MuiChip"}),{avatar:l,className:u,clickable:c,color:m="default",component:v,deleteIcon:b,disabled:_=!1,icon:w,label:S,onClick:R,onDelete:T,onKeyDown:P,onKeyUp:M,size:I="medium",variant:A="filled",tabIndex:L,skipFocusWhenDisabled:N=!1}=n,j=(0,o.Z)(n,x),D=i.useRef(null),F=(0,h.Z)(D,r),B=t=>{t.stopPropagation(),T&&T(t)},$=!1!==c&&!!R||c,U=$||T?g.Z:v||"div",z=(0,a.Z)({},n,{component:U,disabled:_,size:I,color:m,iconColor:i.isValidElement(w)&&w.props.color||m,onDelete:!!T,clickable:$,variant:A}),q=E(z),Z=U===g.Z?(0,a.Z)({component:v||"div",focusVisibleClassName:q.focusVisible},T&&{disableRipple:!0}):{},H=null;T&&(H=b&&i.isValidElement(b)?i.cloneElement(b,{className:(0,s.Z)(b.props.className,q.deleteIcon),onClick:B}):(0,d.jsx)(f,{className:(0,s.Z)(q.deleteIcon),onClick:B}));let V=null;l&&i.isValidElement(l)&&(V=i.cloneElement(l,{className:(0,s.Z)(q.avatar,l.props.className)}));let W=null;return w&&i.isValidElement(w)&&(W=i.cloneElement(w,{className:(0,s.Z)(q.icon,w.props.className)})),(0,d.jsxs)(k,(0,a.Z)({as:U,className:(0,s.Z)(q.root,u),disabled:!!$&&!!_||void 0,onClick:R,onKeyDown:t=>{t.currentTarget===t.target&&O(t)&&t.preventDefault(),P&&P(t)},onKeyUp:t=>{t.currentTarget===t.target&&(T&&O(t)?T(t):"Escape"===t.key&&D.current&&D.current.blur()),M&&M(t)},ref:F,tabIndex:N&&_?-1:L,ownerState:z},Z,j,{children:[V||W,(0,d.jsx)(C,{className:(0,s.Z)(q.label),ownerState:z,children:S}),H]}))}),T=(0,n(96825).z)(R)(({theme:t,ownerState:r})=>"rounded"!==r.shape?null:{borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[1]}),P={shape:"pill"},M=i.forwardRef((t,r)=>{let{shape:n,...o}={...P,...t};return i.createElement(T,{...o,ref:r,ownerState:{shape:n}})});M.defaultProps=P;var I=M},20211:function(t,r,n){"use strict";n.d(r,{Z:()=>A});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(28165),c=n(7342),d=n(43853),f=n(65992),h=n(69222),m=n(15672);function g(t){return(0,m.ZP)("MuiCircularProgress",t)}(0,h.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var y=n(52322);let v=["className","color","disableShrink","size","style","thickness","value","variant"],b=t=>t,_,w,S,x,E=(0,u.F4)(_||(_=b`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`)),k=(0,u.F4)(w||(w=b`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -125px;
  }
`)),C=t=>{let{classes:r,variant:n,color:i,disableShrink:o}=t,a={root:["root",n,`color${(0,c.Z)(i)}`],svg:["svg"],circle:["circle",`circle${(0,c.Z)(n)}`,o&&"circleDisableShrink"]};return(0,l.Z)(a,g,r)},O=(0,f.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[n.variant],r[`color${(0,c.Z)(n.color)}`]]}})(({ownerState:t,theme:r})=>(0,a.Z)({display:"inline-block"},"determinate"===t.variant&&{transition:r.transitions.create("transform")},"inherit"!==t.color&&{color:(r.vars||r).palette[t.color].main}),({ownerState:t})=>"indeterminate"===t.variant&&(0,u.iv)(S||(S=b`
      animation: ${0} 1.4s linear infinite;
    `),E)),R=(0,f.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,r)=>r.svg})({display:"block"}),T=(0,f.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.circle,r[`circle${(0,c.Z)(n.variant)}`],n.disableShrink&&r.circleDisableShrink]}})(({ownerState:t,theme:r})=>(0,a.Z)({stroke:"currentColor"},"determinate"===t.variant&&{transition:r.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:t})=>"indeterminate"===t.variant&&!t.disableShrink&&(0,u.iv)(x||(x=b`
      animation: ${0} 1.4s ease-in-out infinite;
    `),k)),P=i.forwardRef(function(t,r){let n=(0,d.Z)({props:t,name:"MuiCircularProgress"}),{className:i,color:l="primary",disableShrink:u=!1,size:c=40,style:f,thickness:h=3.6,value:m=0,variant:g="indeterminate"}=n,b=(0,o.Z)(n,v),_=(0,a.Z)({},n,{color:l,disableShrink:u,size:c,thickness:h,value:m,variant:g}),w=C(_),S={},x={},E={};if("determinate"===g){let t=2*Math.PI*((44-h)/2);S.strokeDasharray=t.toFixed(3),E["aria-valuenow"]=Math.round(m),S.strokeDashoffset=`${((100-m)/100*t).toFixed(3)}px`,x.transform="rotate(-90deg)"}return(0,y.jsx)(O,(0,a.Z)({className:(0,s.Z)(w.root,i),style:(0,a.Z)({width:c,height:c},x,f),ownerState:_,ref:r,role:"progressbar"},E,b,{children:(0,y.jsx)(R,{className:w.svg,ownerState:_,viewBox:"22 22 44 44",children:(0,y.jsx)(T,{className:w.circle,style:S,ownerState:_,cx:44,cy:44,r:(44-h)/2,fill:"none",strokeWidth:h})})}))}),M={color:"inherit",size:"1em"},I=i.forwardRef((t,r)=>i.createElement(P,{...M,...t,ref:r}));I.defaultProps=M;var A=I},28605:function(t,r,n){"use strict";n.d(r,{Z:()=>b});var i=n(2784),o=n(67239),a=n(28500),s=n(59538),l=n(24309),u=n(96825),c=n(43853);let d=i.forwardRef((t,r)=>i.createElement(s.Z,{viewBox:"0 0 24 24",...t,ref:r},i.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"}),i.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:f,classNames:h}=(0,l.N)("CloseButton",["root","icon"]),m=(0,u.z)(a.Z,f.root)({}),g=(0,u.z)(d,f.icon)({}),y={"aria-label":"close",color:"default"},v=i.forwardRef((t,r)=>{let n=(0,c.Z)({props:{...y,...t},name:f.root.name}),{slotProps:a={},...s}=n;return i.createElement(m,{...s,size:"small",ref:r,className:(0,o.Z)([[h.root,s.className]]),ownerState:n},i.createElement(g,{...a.icon,className:(0,o.Z)([h.icon,a.icon?.className]),ownerState:n}))});v.defaultProps=y;var b=v},40555:function(t,r,n){"use strict";n.d(r,{Z:()=>R});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(93019),u=n(59722),c=n(69075),d=n(65992),f=n(43853),h=n(15633),m=n(13331),g=n(47746),y=n(98659),v=n(69222),b=n(15672);function _(t){return(0,b.ZP)("MuiCollapse",t)}(0,v.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var w=n(52322);let S=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],x=t=>{let{orientation:r,classes:n}=t,i={root:["root",`${r}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${r}`],wrapperInner:["wrapperInner",`${r}`]};return(0,c.Z)(i,_,n)},E=(0,d.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[n.orientation],"entered"===n.state&&r.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&r.hidden]}})(({theme:t,ownerState:r})=>(0,a.Z)({height:0,overflow:"hidden",transition:t.transitions.create("height")},"horizontal"===r.orientation&&{height:"auto",width:0,transition:t.transitions.create("width")},"entered"===r.state&&(0,a.Z)({height:"auto",overflow:"visible"},"horizontal"===r.orientation&&{width:"auto"}),"exited"===r.state&&!r.in&&"0px"===r.collapsedSize&&{visibility:"hidden"})),k=(0,d.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,r)=>r.wrapper})(({ownerState:t})=>(0,a.Z)({display:"flex",width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"})),C=(0,d.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,r)=>r.wrapperInner})(({ownerState:t})=>(0,a.Z)({width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"})),O=i.forwardRef(function(t,r){let n=(0,f.Z)({props:t,name:"MuiCollapse"}),{addEndListener:c,children:d,className:v,collapsedSize:b="0px",component:_,easing:O,in:R,onEnter:T,onEntered:P,onEntering:M,onExit:I,onExited:A,onExiting:L,orientation:N="vertical",style:j,timeout:D=h.x9.standard,TransitionComponent:F=l.ZP}=n,B=(0,o.Z)(n,S),$=(0,a.Z)({},n,{orientation:N,collapsedSize:b}),U=x($),z=(0,g.Z)(),q=(0,u.Z)(),Z=i.useRef(null),H=i.useRef(),V="number"==typeof b?`${b}px`:b,W="horizontal"===N,G=W?"width":"height",K=i.useRef(null),X=(0,y.Z)(r,K),Y=t=>r=>{if(t){let n=K.current;void 0===r?t(n):t(n,r)}},J=()=>Z.current?Z.current[W?"clientWidth":"clientHeight"]:0,Q=Y((t,r)=>{Z.current&&W&&(Z.current.style.position="absolute"),t.style[G]=V,T&&T(t,r)}),ee=Y((t,r)=>{let n=J();Z.current&&W&&(Z.current.style.position="");let{duration:i,easing:o}=(0,m.C)({style:j,timeout:D,easing:O},{mode:"enter"});if("auto"===D){let r=z.transitions.getAutoHeightDuration(n);t.style.transitionDuration=`${r}ms`,H.current=r}else t.style.transitionDuration="string"==typeof i?i:`${i}ms`;t.style[G]=`${n}px`,t.style.transitionTimingFunction=o,M&&M(t,r)}),et=Y((t,r)=>{t.style[G]="auto",P&&P(t,r)}),er=Y(t=>{t.style[G]=`${J()}px`,I&&I(t)}),en=Y(A),ei=Y(t=>{let r=J(),{duration:n,easing:i}=(0,m.C)({style:j,timeout:D,easing:O},{mode:"exit"});if("auto"===D){let n=z.transitions.getAutoHeightDuration(r);t.style.transitionDuration=`${n}ms`,H.current=n}else t.style.transitionDuration="string"==typeof n?n:`${n}ms`;t.style[G]=V,t.style.transitionTimingFunction=i,L&&L(t)});return(0,w.jsx)(F,(0,a.Z)({in:R,onEnter:Q,onEntered:et,onEntering:ee,onExit:er,onExited:en,onExiting:ei,addEndListener:t=>{"auto"===D&&q.start(H.current||0,t),c&&c(K.current,t)},nodeRef:K,timeout:"auto"===D?null:D},B,{children:(t,r)=>(0,w.jsx)(E,(0,a.Z)({as:_,className:(0,s.Z)(U.root,v,{entered:U.entered,exited:!R&&"0px"===V&&U.hidden}[t]),style:(0,a.Z)({[W?"minWidth":"minHeight"]:V},j),ref:X},r,{ownerState:(0,a.Z)({},$,{state:t}),children:(0,w.jsx)(k,{ownerState:(0,a.Z)({},$,{state:t}),className:U.wrapper,ref:Z,children:(0,w.jsx)(C,{ownerState:(0,a.Z)({},$,{state:t}),className:U.wrapperInner,children:d})})}))}))});O.muiSupportAuto=!0;var R=i.forwardRef((t,r)=>i.createElement(O,{...t,ref:r}))},93553:function(t,r,n){"use strict";n.d(r,{Z:()=>k});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(15672),u=n(69075),c=n(2651),d=n(37870),f=n(66805),h=n(51263),m=n(52322);let g=["className","component","disableGutters","fixed","maxWidth","classes"],y=(0,h.Z)(),v=(0,f.Z)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[`maxWidth${(0,c.Z)(String(n.maxWidth))}`],n.fixed&&r.fixed,n.disableGutters&&r.disableGutters]}}),b=t=>(0,d.Z)({props:t,name:"MuiContainer",defaultTheme:y}),_=(t,r)=>{let{classes:n,fixed:i,disableGutters:o,maxWidth:a}=t,s={root:["root",a&&`maxWidth${(0,c.Z)(String(a))}`,i&&"fixed",o&&"disableGutters"]};return(0,u.Z)(s,t=>(0,l.ZP)(r,t),n)};var w=n(7342),S=n(65992),x=n(43853);let E=function(t={}){let{createStyledComponent:r=v,useThemeProps:n=b,componentName:l="MuiContainer"}=t,u=r(({theme:t,ownerState:r})=>(0,a.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!r.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}}),({theme:t,ownerState:r})=>r.fixed&&Object.keys(t.breakpoints.values).reduce((r,n)=>{let i=t.breakpoints.values[n];return 0!==i&&(r[t.breakpoints.up(n)]={maxWidth:`${i}${t.breakpoints.unit}`}),r},{}),({theme:t,ownerState:r})=>(0,a.Z)({},"xs"===r.maxWidth&&{[t.breakpoints.up("xs")]:{maxWidth:Math.max(t.breakpoints.values.xs,444)}},r.maxWidth&&"xs"!==r.maxWidth&&{[t.breakpoints.up(r.maxWidth)]:{maxWidth:`${t.breakpoints.values[r.maxWidth]}${t.breakpoints.unit}`}}));return i.forwardRef(function(t,r){let i=n(t),{className:c,component:d="div",disableGutters:f=!1,fixed:h=!1,maxWidth:y="lg"}=i,v=(0,o.Z)(i,g),b=(0,a.Z)({},i,{component:d,disableGutters:f,fixed:h,maxWidth:y}),w=_(b,l);return(0,m.jsx)(u,(0,a.Z)({as:d,ownerState:b,className:(0,s.Z)(w.root,c),ref:r},v))})}({createStyledComponent:(0,S.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[`maxWidth${(0,w.Z)(String(n.maxWidth))}`],n.fixed&&r.fixed,n.disableGutters&&r.disableGutters]}}),useThemeProps:t=>(0,x.Z)({props:t,name:"MuiContainer"})});var k=i.forwardRef((t,r)=>i.createElement(E,{...t,ref:r}))},20206:function(t,r,n){"use strict";n.d(r,{Z:()=>I});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(12358),c=n(7342),d=n(24941),f=n(17055),h=n(81851),m=n(43853),g=n(65992),y=n(69222),v=n(15672);function b(t){return(0,v.ZP)("MuiDialog",t)}let _=(0,y.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var w=n(68346),S=n(55519),x=n(47746),E=n(52322);let k=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],C=(0,g.ZP)(S.Z,{name:"MuiDialog",slot:"Backdrop",overrides:(t,r)=>r.backdrop})({zIndex:-1}),O=t=>{let{classes:r,scroll:n,maxWidth:i,fullWidth:o,fullScreen:a}=t,s={root:["root"],container:["container",`scroll${(0,c.Z)(n)}`],paper:["paper",`paperScroll${(0,c.Z)(n)}`,`paperWidth${(0,c.Z)(String(i))}`,o&&"paperFullWidth",a&&"paperFullScreen"]};return(0,l.Z)(s,b,r)},R=(0,g.ZP)(d.Z,{name:"MuiDialog",slot:"Root",overridesResolver:(t,r)=>r.root})({"@media print":{position:"absolute !important"}}),T=(0,g.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.container,r[`scroll${(0,c.Z)(n.scroll)}`]]}})(({ownerState:t})=>(0,a.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===t.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===t.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),P=(0,g.ZP)(h.Z,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.paper,r[`scrollPaper${(0,c.Z)(n.scroll)}`],r[`paperWidth${(0,c.Z)(String(n.maxWidth))}`],n.fullWidth&&r.paperFullWidth,n.fullScreen&&r.paperFullScreen]}})(({theme:t,ownerState:r})=>(0,a.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===r.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===r.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!r.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===r.maxWidth&&{maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):`max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,[`&.${_.paperScrollBody}`]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},r.maxWidth&&"xs"!==r.maxWidth&&{maxWidth:`${t.breakpoints.values[r.maxWidth]}${t.breakpoints.unit}`,[`&.${_.paperScrollBody}`]:{[t.breakpoints.down(t.breakpoints.values[r.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},r.fullWidth&&{width:"calc(100% - 64px)"},r.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${_.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),M=i.forwardRef(function(t,r){let n=(0,m.Z)({props:t,name:"MuiDialog"}),l=(0,x.Z)(),c={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{"aria-describedby":d,"aria-labelledby":g,BackdropComponent:y,BackdropProps:v,children:b,className:_,disableEscapeKeyDown:S=!1,fullScreen:M=!1,fullWidth:I=!1,maxWidth:A="sm",onBackdropClick:L,onClick:N,onClose:j,open:D,PaperComponent:F=h.Z,PaperProps:B={},scroll:$="paper",TransitionComponent:U=f.Z,transitionDuration:z=c,TransitionProps:q}=n,Z=(0,o.Z)(n,k),H=(0,a.Z)({},n,{disableEscapeKeyDown:S,fullScreen:M,fullWidth:I,maxWidth:A,scroll:$}),V=O(H),W=i.useRef(),G=(0,u.Z)(g),K=i.useMemo(()=>({titleId:G}),[G]);return(0,E.jsx)(R,(0,a.Z)({className:(0,s.Z)(V.root,_),closeAfterTransition:!0,components:{Backdrop:C},componentsProps:{backdrop:(0,a.Z)({transitionDuration:z,as:y},v)},disableEscapeKeyDown:S,onClose:j,open:D,ref:r,onClick:t=>{N&&N(t),W.current&&(W.current=null,L&&L(t),j&&j(t,"backdropClick"))},ownerState:H},Z,{children:(0,E.jsx)(U,(0,a.Z)({appear:!0,in:D,timeout:z,role:"presentation"},q,{children:(0,E.jsx)(T,{className:(0,s.Z)(V.container),onMouseDown:t=>{W.current=t.target===t.currentTarget},ownerState:H,children:(0,E.jsx)(P,(0,a.Z)({as:F,elevation:24,role:"dialog","aria-describedby":d,"aria-labelledby":G},B,{className:(0,s.Z)(V.paper,B.className),ownerState:H,children:(0,E.jsx)(w.Z.Provider,{value:K,children:b})}))})}))}))});var I=i.forwardRef((t,r)=>i.createElement(M,{...t,ref:r}))},69944:function(t,r,n){"use strict";n.d(r,{Z:()=>_});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(65992),c=n(43853),d=n(69222),f=n(15672);function h(t){return(0,f.ZP)("MuiDialogActions",t)}(0,d.Z)("MuiDialogActions",["root","spacing"]);var m=n(52322);let g=["className","disableSpacing"],y=t=>{let{classes:r,disableSpacing:n}=t;return(0,l.Z)({root:["root",!n&&"spacing"]},h,r)},v=(0,u.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,!n.disableSpacing&&r.spacing]}})(({ownerState:t})=>(0,a.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),b=i.forwardRef(function(t,r){let n=(0,c.Z)({props:t,name:"MuiDialogActions"}),{className:i,disableSpacing:l=!1}=n,u=(0,o.Z)(n,g),d=(0,a.Z)({},n,{disableSpacing:l}),f=y(d);return(0,m.jsx)(v,(0,a.Z)({className:(0,s.Z)(f.root,i),ownerState:d,ref:r},u))});var _=i.forwardRef((t,r)=>i.createElement(b,{...t,ref:r}))},7659:function(t,r,n){"use strict";n.d(r,{Z:()=>w});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(65992),c=n(43853),d=n(69222),f=n(15672);function h(t){return(0,f.ZP)("MuiDialogContent",t)}(0,d.Z)("MuiDialogContent",["root","dividers"]);var m=n(34642),g=n(52322);let y=["className","dividers"],v=t=>{let{classes:r,dividers:n}=t;return(0,l.Z)({root:["root",n&&"dividers"]},h,r)},b=(0,u.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.dividers&&r.dividers]}})(({theme:t,ownerState:r})=>(0,a.Z)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},r.dividers?{padding:"16px 24px",borderTop:`1px solid ${(t.vars||t).palette.divider}`,borderBottom:`1px solid ${(t.vars||t).palette.divider}`}:{[`.${m.Z.root} + &`]:{paddingTop:0}})),_=i.forwardRef(function(t,r){let n=(0,c.Z)({props:t,name:"MuiDialogContent"}),{className:i,dividers:l=!1}=n,u=(0,o.Z)(n,y),d=(0,a.Z)({},n,{dividers:l}),f=v(d);return(0,g.jsx)(b,(0,a.Z)({className:(0,s.Z)(f.root,i),ownerState:d,ref:r},u))});var w=i.forwardRef((t,r)=>i.createElement(_,{...t,ref:r}))},43745:function(t,r,n){"use strict";n.d(r,{Z:()=>S});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(65992),c=n(87742),d=n(43853),f=n(60758),h=n(69222),m=n(15672);function g(t){return(0,m.ZP)("MuiDialogContentText",t)}(0,h.Z)("MuiDialogContentText",["root"]);var y=n(52322);let v=["children","className"],b=t=>{let{classes:r}=t,n=(0,l.Z)({root:["root"]},g,r);return(0,a.Z)({},r,n)},_=(0,u.ZP)(f.Z,{shouldForwardProp:t=>(0,c.Z)(t)||"classes"===t,name:"MuiDialogContentText",slot:"Root",overridesResolver:(t,r)=>r.root})({}),w=i.forwardRef(function(t,r){let n=(0,d.Z)({props:t,name:"MuiDialogContentText"}),{className:i}=n,l=(0,o.Z)(n,v),u=b(l);return(0,y.jsx)(_,(0,a.Z)({component:"p",variant:"body1",color:"text.secondary",ref:r,ownerState:l,className:(0,s.Z)(u.root,i)},n,{classes:u}))});var S=i.forwardRef((t,r)=>i.createElement(w,{...t,ref:r}))},25663:function(t,r,n){"use strict";n.d(r,{Z:()=>H});var i=n(2784),o=n(67239),a=n(98283),s=n(7560),l=n(69075),u=n(65992),c=n(43853),d=n(7342),f=n(81851),h=n(69222),m=n(15672);function g(t){return(0,m.ZP)("MuiAppBar",t)}(0,h.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);var y=n(52322);let v=["className","color","enableColorOnDark","position"],b=t=>{let{color:r,position:n,classes:i}=t,o={root:["root",`color${(0,d.Z)(r)}`,`position${(0,d.Z)(n)}`]};return(0,l.Z)(o,g,i)},_=(t,r)=>t?`${null==t?void 0:t.replace(")","")}, ${r})`:r,w=(0,u.ZP)(f.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[`position${(0,d.Z)(n.position)}`],r[`color${(0,d.Z)(n.color)}`]]}})(({theme:t,ownerState:r})=>{let n="light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[900];return(0,s.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===r.position&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===r.position&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===r.position&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"static"===r.position&&{position:"static"},"relative"===r.position&&{position:"relative"},!t.vars&&(0,s.Z)({},"default"===r.color&&{backgroundColor:n,color:t.palette.getContrastText(n)},r.color&&"default"!==r.color&&"inherit"!==r.color&&"transparent"!==r.color&&{backgroundColor:t.palette[r.color].main,color:t.palette[r.color].contrastText},"inherit"===r.color&&{color:"inherit"},"dark"===t.palette.mode&&!r.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===r.color&&(0,s.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===t.palette.mode&&{backgroundImage:"none"})),t.vars&&(0,s.Z)({},"default"===r.color&&{"--AppBar-background":r.enableColorOnDark?t.vars.palette.AppBar.defaultBg:_(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":r.enableColorOnDark?t.vars.palette.text.primary:_(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},r.color&&!r.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":r.enableColorOnDark?t.vars.palette[r.color].main:_(t.vars.palette.AppBar.darkBg,t.vars.palette[r.color].main),"--AppBar-color":r.enableColorOnDark?t.vars.palette[r.color].contrastText:_(t.vars.palette.AppBar.darkColor,t.vars.palette[r.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===r.color?"inherit":"var(--AppBar-color)"},"transparent"===r.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),S=i.forwardRef(function(t,r){let n=(0,c.Z)({props:t,name:"MuiAppBar"}),{className:i,color:l="primary",enableColorOnDark:u=!1,position:d="fixed"}=n,f=(0,a.Z)(n,v),h=(0,s.Z)({},n,{color:l,position:d,enableColorOnDark:u}),m=b(h);return(0,y.jsx)(w,(0,s.Z)({square:!0,component:"header",ownerState:h,elevation:4,className:(0,o.Z)(m.root,i,"fixed"===d&&"mui-fixed"),ref:r},f))}),x={elevation:0,color:"default"},E=i.forwardRef((t,r)=>i.createElement(S,{...x,...t,ref:r}));function k(t){return(0,m.ZP)("MuiToolbar",t)}E.defaultProps=x,(0,h.Z)("MuiToolbar",["root","gutters","regular","dense"]);let C=["className","component","disableGutters","variant"],O=t=>{let{classes:r,disableGutters:n,variant:i}=t;return(0,l.Z)({root:["root",!n&&"gutters",i]},k,r)},R=(0,u.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,!n.disableGutters&&r.gutters,r[n.variant]]}})(({theme:t,ownerState:r})=>(0,s.Z)({position:"relative",display:"flex",alignItems:"center"},!r.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}},"dense"===r.variant&&{minHeight:48}),({theme:t,ownerState:r})=>"regular"===r.variant&&t.mixins.toolbar),T=i.forwardRef(function(t,r){let n=(0,c.Z)({props:t,name:"MuiToolbar"}),{className:i,component:l="div",disableGutters:u=!1,variant:d="regular"}=n,f=(0,a.Z)(n,C),h=(0,s.Z)({},n,{component:l,disableGutters:u,variant:d}),m=O(h);return(0,y.jsx)(R,(0,s.Z)({as:l,className:(0,o.Z)(m.root,i),ref:r,ownerState:h},f))}),P=i.forwardRef((t,r)=>i.createElement(T,{...t,ref:r}));var M=n(59538),I=n(39061),A=n(28605),L=n(96825),N=n(24309);let j=(0,L.z)(t=>i.createElement(M.Z,{viewBox:"0 0 32 32",...t},i.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:t})=>({width:t.spacing(3),height:t.spacing(3),"& path":{fill:t.palette.text.primary},marginRight:t.spacing(1)})),D=(0,L.z)("span")(({theme:t})=>({marginRight:t.spacing(1)})),F=({logo:t,...r})=>!1===t?null:t?i.createElement(D,null,t):i.createElement(j,{...r}),{slots:B,classNames:$}=(0,N.N)("DialogHeader",["root","logo","toolbar"]),U=(0,L.z)(E,B.root)({"& .MuiDialogTitle-root":{padding:0}}),z=(0,L.z)(P,B.toolbar)({}),q={color:"transparent",position:"relative"},Z=i.forwardRef((t,r)=>{let n=(0,c.Z)({props:{...q,...t},name:B.root.name}),{slotProps:a={},logo:s,onClose:l,...u}=n;return i.createElement(U,{...u,ref:r,className:(0,o.Z)([[$.root,u.className]]),ownerState:n},i.createElement(z,{variant:"dense",...a.toolbar,className:(0,o.Z)([$.toolbar,a.toolbar?.className]),ownerState:n},i.createElement(F,{logo:s,className:(0,o.Z)([$.logo,a.logo?.className])}),i.createElement(I.Z,{direction:"row",alignItems:"center",flex:1},n.children),l&&i.createElement(A.Z,{edge:"end",onClick:l,sx:{"&.MuiButtonBase-root":{ml:.5}}})))});Z.defaultProps=q;var H=Z},4554:function(t,r,n){"use strict";n.d(r,{Z:()=>S});var i=n(2784),o=n(7560),a=n(98283),s=n(67239),l=n(69075),u=n(60758),c=n(65992),d=n(43853),f=n(34642),h=n(68346),m=n(52322);let g=["className","id"],y=t=>{let{classes:r}=t;return(0,l.Z)({root:["root"]},f.a,r)},v=(0,c.ZP)(u.Z,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(t,r)=>r.root})({padding:"16px 24px",flex:"0 0 auto"}),b=i.forwardRef(function(t,r){let n=(0,d.Z)({props:t,name:"MuiDialogTitle"}),{className:l,id:u}=n,c=(0,a.Z)(n,g),f=y(n),{titleId:b=u}=i.useContext(h.Z);return(0,m.jsx)(v,(0,o.Z)({component:"h2",className:(0,s.Z)(f.root,l),ownerState:n,ref:r,variant:"h6",id:null!=u?u:b},c))}),_={variant:"subtitle1"},w=i.forwardRef((t,r)=>i.createElement(b,{..._,...t,ref:r}));w.defaultProps=_;var S=w},37063:function(t,r,n){"use strict";n.d(r,{Z:()=>V});var i=n(2784),o=n(18673),a=n.n(o),s="-ms-",l="-moz-",u="-webkit-",c="comm",d="rule",f="decl",h="@keyframes",m=Math.abs,g=String.fromCharCode,y=Object.assign;function v(t,r){return(t=r.exec(t))?t[0]:t}function b(t,r,n){return t.replace(r,n)}function _(t,r){return t.indexOf(r)}function w(t,r){return 0|t.charCodeAt(r)}function S(t,r,n){return t.slice(r,n)}function x(t){return t.length}function E(t,r){return r.push(t),t}function k(t,r){for(var n="",i=t.length,o=0;o<i;o++)n+=r(t[o],o,t,r)||"";return n}var C=1,O=1,R=0,T=0,P=0,M="";function I(t,r,n,i,o,a,s){return{value:t,root:r,parent:n,type:i,props:o,children:a,line:C,column:O,length:s,return:""}}function A(t,r){return y(I("",null,null,"",null,null,0),t,{length:-t.length},r)}function L(){return P=T<R?w(M,T++):0,O++,10===P&&(O=1,C++),P}function N(){return w(M,T)}function j(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function D(t){var r,n;return(r=T-1,n=function t(r){for(;L();)switch(P){case r:return T;case 34:case 39:34!==r&&39!==r&&t(P);break;case 40:41===r&&t(r);break;case 92:L()}return T}(91===t?t+2:40===t?t+1:t),S(M,r,n)).trim()}function F(t,r,n,i,o,a,s,l,u,c,f){for(var h=o-1,g=0===o?a:[""],y=g.length,v=0,_=0,w=0;v<i;++v)for(var x=0,E=S(t,h+1,h=m(_=s[v])),k=t;x<y;++x)(k=(_>0?g[x]+" "+E:b(E,/&\f/g,g[x])).trim())&&(u[w++]=k);return I(t,r,n,0===o?d:l,u,c,f)}function B(t,r,n,i){return I(t,r,n,f,S(t,0,i),S(t,i+1,-1),i)}function $(t,r,n,i){if(t.type===h||"@supports"===t.type||t.type===d&&(!t.parent||"@media"===t.parent.type||t.parent.type===d)){var o,s,l,u=a().transform(function t(r,n,i){switch(r.type){case"@import":case f:case c:return r.return=r.return||r.value;case d:r.value=Array.isArray(r.props)?r.props.join(","):r.props,Array.isArray(r.children)&&r.children.forEach(function(t){t.type===c&&(t.children=t.value)})}var o=k(Array.prototype.concat(r.children),t);return x(o)?r.return=r.value+"{"+o+"}":""}(t,r,n));t.children=u?(l=function t(r,n,i,o,a,s,l,u,d){for(var f,h=0,m=0,y=l,v=0,k=0,R=0,A=1,$=1,U=1,z=0,q="",Z=a,H=s,V=o,W=q;$;)switch(R=z,z=L()){case 40:if(108!=R&&58==w(W,y-1)){-1!=_(W+=b(D(z),"&","&\f"),"&\f")&&(U=-1);break}case 34:case 39:case 91:W+=D(z);break;case 9:case 10:case 13:case 32:W+=function(t){for(;P=N();)if(P<33)L();else break;return j(t)>2||j(P)>3?"":" "}(R);break;case 92:W+=function(t,r){for(var n;--r&&L()&&!(P<48)&&!(P>102)&&(!(P>57)||!(P<65))&&(!(P>70)||!(P<97)););return n=T+(r<6&&32==N()&&32==L()),S(M,t,n)}(T-1,7);continue;case 47:switch(N()){case 42:case 47:E((f=function(t,r){for(;L();)if(t+P===57)break;else if(t+P===84&&47===N())break;return"/*"+S(M,r,T-1)+"*"+g(47===t?t:L())}(L(),T),I(f,n,i,c,g(P),S(f,2,-2),0)),d);break;default:W+="/"}break;case 123*A:u[h++]=x(W)*U;case 125*A:case 59:case 0:switch(z){case 0:case 125:$=0;case 59+m:k>0&&x(W)-y&&E(k>32?B(W+";",o,i,y-1):B(b(W," ","")+";",o,i,y-2),d);break;case 59:W+=";";default:if(E(V=F(W,n,i,h,m,a,u,q,Z=[],H=[],y),s),123===z)if(0===m)t(W,n,V,V,Z,s,y,u,H);else switch(99===v&&110===w(W,3)?100:v){case 100:case 109:case 115:t(r,V,V,o&&E(F(r,V,V,0,0,a,u,q,a,Z=[],y),H),a,H,y,u,o?Z:H);break;default:t(W,V,V,V,[""],H,0,u,H)}}h=m=k=0,A=U=1,q=W="",y=l;break;case 58:y=1+x(W),k=R;default:if(A<1){if(123==z)--A;else if(125==z&&0==A++&&125==(P=T>0?w(M,--T):0,O--,10===P&&(O=1,C--),P))continue}switch(W+=g(z),z*A){case 38:U=m>0?1:(W+="\f",-1);break;case 44:u[h++]=(x(W)-1)*U,U=1;break;case 64:45===N()&&(W+=D(L())),v=N(),m=y=x(q=W+=function(t){for(;!j(N());)L();return S(M,t,T)}(T)),z++;break;case 45:45===R&&2==x(W)&&(A=0)}}return s}("",null,null,null,[""],(s=o=u,C=O=1,R=x(M=s),T=0,o=[]),0,[0],o),M="",l)[0].children:[],t.return=""}}Object.defineProperty($,"name",{value:"stylisRTLPlugin"});var U=n(21039),z=n(98269),q=n(90449);let Z=(0,z.Z)({key:q.c3,stylisPlugins:[function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case f:t.return=function t(r,n,i){var o;switch(o=n,45^w(r,0)?(((o<<2^w(r,0))<<2^w(r,1))<<2^w(r,2))<<2^w(r,3):0){case 5103:return u+"print-"+r+r;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 u+r+r;case 4789:return l+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return u+r+l+r+s+r+r;case 5936:switch(w(r,n+11)){case 114:return u+r+s+b(r,/[svh]\w+-[tblr]{2}/,"tb")+r;case 108:return u+r+s+b(r,/[svh]\w+-[tblr]{2}/,"tb-rl")+r;case 45:return u+r+s+b(r,/[svh]\w+-[tblr]{2}/,"lr")+r}case 6828:case 4268:case 2903:return u+r+s+r+r;case 6165:return u+r+s+"flex-"+r+r;case 5187:return u+r+b(r,/(\w+).+(:[^]+)/,u+"box-$1$2"+s+"flex-$1$2")+r;case 5443:return u+r+s+"flex-item-"+b(r,/flex-|-self/g,"")+(v(r,/flex-|baseline/)?"":s+"grid-row-"+b(r,/flex-|-self/g,""))+r;case 4675:return u+r+s+"flex-line-pack"+b(r,/align-content|flex-|-self/g,"")+r;case 5548:return u+r+s+b(r,"shrink","negative")+r;case 5292:return u+r+s+b(r,"basis","preferred-size")+r;case 6060:return u+"box-"+b(r,"-grow","")+u+r+s+b(r,"grow","positive")+r;case 4554:return u+b(r,/([^-])(transform)/g,"$1"+u+"$2")+r;case 6187:return b(b(b(r,/(zoom-|grab)/,u+"$1"),/(image-set)/,u+"$1"),r,"")+r;case 5495:case 3959:return b(r,/(image-set\([^]*)/,u+"$1$`$1");case 4968:return b(b(r,/(.+:)(flex-)?(.*)/,u+"box-pack:$3"+s+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+u+r+r;case 4200:if(!v(r,/flex-|baseline/))return s+"grid-column-align"+S(r,n)+r;break;case 2592:case 3360:return s+b(r,"template-","")+r;case 4384:case 3616:if(i&&i.some(function(t,r){return n=r,v(t.props,/grid-\w+-end/)}))return~_(r+(i=i[n].value),"span")?r:s+b(r,"-start","")+r+s+"grid-row-span:"+(~_(i,"span")?v(i,/\d+/):+v(i,/\d+/)-+v(r,/\d+/))+";";return s+b(r,"-start","")+r;case 4896:case 4128:return i&&i.some(function(t){return v(t.props,/grid-\w+-start/)})?r:s+b(b(r,"-end","-span"),"span ","")+r;case 4095:case 3583:case 4068:case 2532:return b(r,/(.+)-inline(.+)/,u+"$1$2")+r;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(x(r)-1-n>6)switch(w(r,n+1)){case 109:if(45!==w(r,n+4))break;case 102:return b(r,/(.+:)(.+)-([^]+)/,"$1"+u+"$2-$3$1"+l+(108==w(r,n+3)?"$3":"$2-$3"))+r;case 115:return~_(r,"stretch")?t(b(r,"stretch","fill-available"),n,i)+r:r}break;case 5152:case 5920:return b(r,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,i,o,a,l,u){return s+n+":"+i+u+(o?s+n+"-span:"+(a?l:+l-+i)+u:"")+r});case 4949:if(121===w(r,n+6))return b(r,":",":"+u)+r;break;case 6444:switch(w(r,45===w(r,14)?18:11)){case 120:return b(r,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+u+(45===w(r,14)?"inline-":"")+"box$3$1"+u+"$2$3$1"+s+"$2box$3")+r;case 100:return b(r,":",":"+s)+r}break;case 5719:case 2647:case 2135:case 3927:case 2391:return b(r,"scroll-","scroll-snap-")+r}return r}(t.value,t.length,n);return;case h:return k([A(t,{value:b(t.value,"@","@"+u)})],i);case d:if(t.length){var o,a;return o=t.props,a=function(r){switch(v(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return k([A(t,{props:[b(r,/:(read-\w+)/,":"+l+"$1")]})],i);case"::placeholder":return k([A(t,{props:[b(r,/:(plac\w+)/,":"+u+"input-$1")]}),A(t,{props:[b(r,/:(plac\w+)/,":"+l+"$1")]}),A(t,{props:[b(r,/:(plac\w+)/,s+"input-$1")]})],i)}return""},o.map(a).join("")}}},$]}),H=(0,z.Z)({key:q.HE});var V=({rtl:t,children:r})=>i.createElement(U.C,{value:t?Z:H},r)},6423:function(t,r,n){"use strict";n.d(r,{Z:()=>_});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(408),c=n(65992),d=n(43853),f=n(24215),h=n(52322);let m=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],g=t=>{let{absolute:r,children:n,classes:i,flexItem:o,light:a,orientation:s,textAlign:u,variant:c}=t;return(0,l.Z)({root:["root",r&&"absolute",c,a&&"light","vertical"===s&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===s&&"withChildrenVertical","right"===u&&"vertical"!==s&&"textAlignRight","left"===u&&"vertical"!==s&&"textAlignLeft"],wrapper:["wrapper","vertical"===s&&"wrapperVertical"]},f.V,i)},y=(0,c.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.absolute&&r.absolute,r[n.variant],n.light&&r.light,"vertical"===n.orientation&&r.vertical,n.flexItem&&r.flexItem,n.children&&r.withChildren,n.children&&"vertical"===n.orientation&&r.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&r.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&r.textAlignLeft]}})(({theme:t,ownerState:r})=>(0,a.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},r.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},r.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:(0,u.alpha)(t.palette.divider,.08)},"inset"===r.variant&&{marginLeft:72},"middle"===r.variant&&"horizontal"===r.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===r.variant&&"vertical"===r.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===r.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},r.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:t})=>(0,a.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:t,ownerState:r})=>(0,a.Z)({},r.children&&"vertical"!==r.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`}}),({theme:t,ownerState:r})=>(0,a.Z)({},r.children&&"vertical"===r.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`}}),({ownerState:t})=>(0,a.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),v=(0,c.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.wrapper,"vertical"===n.orientation&&r.wrapperVertical]}})(({theme:t,ownerState:r})=>(0,a.Z)({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},"vertical"===r.orientation&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`})),b=i.forwardRef(function(t,r){let n=(0,d.Z)({props:t,name:"MuiDivider"}),{absolute:i=!1,children:l,className:u,component:c=l?"div":"hr",flexItem:f=!1,light:b=!1,orientation:_="horizontal",role:w="hr"!==c?"separator":void 0,textAlign:S="center",variant:x="fullWidth"}=n,E=(0,o.Z)(n,m),k=(0,a.Z)({},n,{absolute:i,component:c,flexItem:f,light:b,orientation:_,role:w,textAlign:S,variant:x}),C=g(k);return(0,h.jsx)(y,(0,a.Z)({as:c,className:(0,s.Z)(C.root,u),role:w,ref:r,ownerState:k},E,{children:l?(0,h.jsx)(v,{className:C.wrapper,ownerState:k,children:l}):null}))});b.muiSkipListHighlight=!0;var _=i.forwardRef((t,r)=>i.createElement(b,{...t,ref:r}))},40760:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(17055),a=i.forwardRef((t,r)=>i.createElement(o.Z,{...t,ref:r}))},291:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(14868),a=i.forwardRef((t,r)=>i.createElement(o.Z,{...t,ref:r}))},80070:function(t,r,n){"use strict";n.d(r,{Z:()=>O});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(60433),c=n(56188),d=n(60758),f=n(7342),h=n(65992),m=n(43853),g=n(69222),y=n(15672);function v(t){return(0,y.ZP)("MuiFormControlLabel",t)}let b=(0,g.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var _=n(28734),w=n(52322);let S=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],x=t=>{let{classes:r,disabled:n,labelPlacement:i,error:o,required:a}=t,s={root:["root",n&&"disabled",`labelPlacement${(0,f.Z)(i)}`,o&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,l.Z)(s,v,r)},E=(0,h.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[{[`& .${b.label}`]:r.label},r.root,r[`labelPlacement${(0,f.Z)(n.labelPlacement)}`]]}})(({theme:t,ownerState:r})=>(0,a.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${b.disabled}`]:{cursor:"default"}},"start"===r.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===r.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===r.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${b.label}`]:{[`&.${b.disabled}`]:{color:(t.vars||t).palette.text.disabled}}})),k=(0,h.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(t,r)=>r.asterisk})(({theme:t})=>({[`&.${b.error}`]:{color:(t.vars||t).palette.error.main}})),C=i.forwardRef(function(t,r){var n,l;let f=(0,m.Z)({props:t,name:"MuiFormControlLabel"}),{className:h,componentsProps:g={},control:y,disabled:v,disableTypography:b,label:C,labelPlacement:O="end",required:R,slotProps:T={}}=f,P=(0,o.Z)(f,S),M=(0,u.Z)(),I=null!=(n=null!=v?v:y.props.disabled)?n:null==M?void 0:M.disabled,A=null!=R?R:y.props.required,L={disabled:I,required:A};["checked","name","onChange","value","inputRef"].forEach(t=>{void 0===y.props[t]&&void 0!==f[t]&&(L[t]=f[t])});let N=(0,_.Z)({props:f,muiFormControl:M,states:["error"]}),j=(0,a.Z)({},f,{disabled:I,labelPlacement:O,required:A,error:N.error}),D=x(j),F=null!=(l=T.typography)?l:g.typography,B=C;return null==B||B.type===d.Z||b||(B=(0,w.jsx)(d.Z,(0,a.Z)({component:"span"},F,{className:(0,s.Z)(D.label,null==F?void 0:F.className),children:B}))),(0,w.jsxs)(E,(0,a.Z)({className:(0,s.Z)(D.root,h),ownerState:j,ref:r},P,{children:[i.cloneElement(y,L),A?(0,w.jsxs)(c.Z,{display:"block",children:[B,(0,w.jsxs)(k,{ownerState:j,"aria-hidden":!0,className:D.asterisk,children:["\u2009","*"]})]}):B]}))});var O=i.forwardRef((t,r)=>i.createElement(C,{...t,ref:r}))},4999:function(t,r,n){"use strict";n.d(r,{Z:()=>R});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(99929),u=n(89836),c=n(69075),d=n(65992),f=n(43853),h=n(47746);let m=i.createContext();var g=n(69222),y=n(15672);function v(t){return(0,y.ZP)("MuiGrid",t)}let b=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],_=(0,g.Z)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map(t=>`spacing-xs-${t}`),...["column-reverse","column","row-reverse","row"].map(t=>`direction-xs-${t}`),...["nowrap","wrap-reverse","wrap"].map(t=>`wrap-xs-${t}`),...b.map(t=>`grid-xs-${t}`),...b.map(t=>`grid-sm-${t}`),...b.map(t=>`grid-md-${t}`),...b.map(t=>`grid-lg-${t}`),...b.map(t=>`grid-xl-${t}`)]);var w=n(52322);let S=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function x(t){let r=parseFloat(t);return`${r}${String(t).replace(String(r),"")||"px"}`}function E({breakpoints:t,values:r}){let n="";Object.keys(r).forEach(t=>{""===n&&0!==r[t]&&(n=t)});let i=Object.keys(t).sort((r,n)=>t[r]-t[n]);return i.slice(0,i.indexOf(n))}let k=(0,d.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t,{container:i,direction:o,item:a,spacing:s,wrap:l,zeroMinWidth:u,breakpoints:c}=n,d=[];i&&(d=function(t,r,n={}){if(!t||t<=0)return[];if("string"==typeof t&&!Number.isNaN(Number(t))||"number"==typeof t)return[n[`spacing-xs-${String(t)}`]];let i=[];return r.forEach(r=>{let o=t[r];Number(o)>0&&i.push(n[`spacing-${r}-${String(o)}`])}),i}(s,c,r));let f=[];return c.forEach(t=>{let i=n[t];i&&f.push(r[`grid-${t}-${String(i)}`])}),[r.root,i&&r.container,a&&r.item,u&&r.zeroMinWidth,...d,"row"!==o&&r[`direction-xs-${String(o)}`],"wrap"!==l&&r[`wrap-xs-${String(l)}`],...f]}})(({ownerState:t})=>(0,a.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap}),function({theme:t,ownerState:r}){let n=(0,l.P$)({values:r.direction,breakpoints:t.breakpoints.values});return(0,l.k9)({theme:t},n,t=>{let r={flexDirection:t};return 0===t.indexOf("column")&&(r[`& > .${_.item}`]={maxWidth:"none"}),r})},function({theme:t,ownerState:r}){let{container:n,rowSpacing:i}=r,o={};if(n&&0!==i){let r,n=(0,l.P$)({values:i,breakpoints:t.breakpoints.values});"object"==typeof n&&(r=E({breakpoints:t.breakpoints.values,values:n})),o=(0,l.k9)({theme:t},n,(n,i)=>{var o;let a=t.spacing(n);return"0px"!==a?{marginTop:`-${x(a)}`,[`& > .${_.item}`]:{paddingTop:x(a)}}:null!=(o=r)&&o.includes(i)?{}:{marginTop:0,[`& > .${_.item}`]:{paddingTop:0}}})}return o},function({theme:t,ownerState:r}){let{container:n,columnSpacing:i}=r,o={};if(n&&0!==i){let r,n=(0,l.P$)({values:i,breakpoints:t.breakpoints.values});"object"==typeof n&&(r=E({breakpoints:t.breakpoints.values,values:n})),o=(0,l.k9)({theme:t},n,(n,i)=>{var o;let a=t.spacing(n);return"0px"!==a?{width:`calc(100% + ${x(a)})`,marginLeft:`-${x(a)}`,[`& > .${_.item}`]:{paddingLeft:x(a)}}:null!=(o=r)&&o.includes(i)?{}:{width:"100%",marginLeft:0,[`& > .${_.item}`]:{paddingLeft:0}}})}return o},function({theme:t,ownerState:r}){let n;return t.breakpoints.keys.reduce((i,o)=>{let s={};if(r[o]&&(n=r[o]),!n)return i;if(!0===n)s={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{let u=(0,l.P$)({values:r.columns,breakpoints:t.breakpoints.values}),c="object"==typeof u?u[o]:u;if(null==c)return i;let d=`${Math.round(n/c*1e8)/1e6}%`,f={};if(r.container&&r.item&&0!==r.columnSpacing){let n=t.spacing(r.columnSpacing);if("0px"!==n){let t=`calc(${d} + ${x(n)})`;f={flexBasis:t,maxWidth:t}}}s=(0,a.Z)({flexBasis:d,flexGrow:0,maxWidth:d},f)}return 0===t.breakpoints.values[o]?Object.assign(i,s):i[t.breakpoints.up(o)]=s,i},{})}),C=t=>{let{classes:r,container:n,direction:i,item:o,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:u}=t,d=[];n&&(d=function(t,r){if(!t||t<=0)return[];if("string"==typeof t&&!Number.isNaN(Number(t))||"number"==typeof t)return[`spacing-xs-${String(t)}`];let n=[];return r.forEach(r=>{let i=t[r];if(Number(i)>0){let t=`spacing-${r}-${String(i)}`;n.push(t)}}),n}(a,u));let f=[];u.forEach(r=>{let n=t[r];n&&f.push(`grid-${r}-${String(n)}`)});let h={root:["root",n&&"container",o&&"item",l&&"zeroMinWidth",...d,"row"!==i&&`direction-xs-${String(i)}`,"wrap"!==s&&`wrap-xs-${String(s)}`,...f]};return(0,c.Z)(h,v,r)},O=i.forwardRef(function(t,r){let n=(0,f.Z)({props:t,name:"MuiGrid"}),{breakpoints:l}=(0,h.Z)(),c=(0,u.Z)(n),{className:d,columns:g,columnSpacing:y,component:v="div",container:b=!1,direction:_="row",item:x=!1,rowSpacing:E,spacing:O=0,wrap:R="wrap",zeroMinWidth:T=!1}=c,P=(0,o.Z)(c,S),M=E||O,I=y||O,A=i.useContext(m),L=b?g||12:A,N={},j=(0,a.Z)({},P);l.keys.forEach(t=>{null!=P[t]&&(N[t]=P[t],delete j[t])});let D=(0,a.Z)({},c,{columns:L,container:b,direction:_,item:x,rowSpacing:M,columnSpacing:I,wrap:R,zeroMinWidth:T,spacing:O},N,{breakpoints:l.keys}),F=C(D);return(0,w.jsx)(m.Provider,{value:L,children:(0,w.jsx)(k,(0,a.Z)({ownerState:D,className:(0,s.Z)(F.root,d),as:v,ref:r},j))})});var R=i.forwardRef((t,r)=>i.createElement(O,{...t,ref:r}))},28500:function(t,r,n){"use strict";n.d(r,{Z:()=>u});var i=n(2784),o=n(33486),a=n(90449),s=n(54824);let l=(t="default")=>"inherit"===t?"inherit":"default"===t?"action.active":s.l1.includes(t)?`${t}.${a.nI}`:`${t}.main`;var u=i.forwardRef((t,r)=>{let{sx:n={},color:s}=t,u={[t.href?a.Nt:"&:hover,&:focus,&:active"]:{color:l(s)}};return i.createElement(o.Z,{...t,sx:{...u,...n},ref:r})})},44594:function(t,r,n){"use strict";n.d(r,{Z:()=>v});var i=n(2784),o=n(67239),a=n(84665),s=n(15198);let l=i.forwardRef((t,r)=>i.createElement(s.Z,{...t,ref:r}));var u=n(24309),c=n(96825),d=n(43853),f=n(47591);let{slots:h,classNames:m}=(0,u.N)("Infotip",["root","popper"]),g=(0,c.z)(a.Z,h.root)({}),y=(0,c.z)(l,h.popper)(({theme:t,color:r})=>{var n,i;let o=(n=r,i=t,n&&"default"!==n?("dark"===i.palette.mode?f._j:f.$n)(i.palette[n].light,.9):i.palette.background.paper);return{"& .MuiTooltip-tooltip":{padding:0,minHeight:48,minWidth:80,maxWidth:"initial",backgroundColor:o,borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[3],color:t.palette.text.primary,boxShadow:"0px 0px 10px 4px rgba(0,0,0,0.03),6px 0px 10px 4px rgba(0,0,0,0.03),-6px 0px 10px 4px rgba(0,0,0,0.03),0px 6px 10px 4px rgba(0,0,0,0.03)"},"& .MuiTooltip-arrow":{color:o,fontSize:"1.2rem"},"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementBottom":{marginTop:t.spacing(2)},"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementRight":{marginLeft:t.spacing(2)},"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementLeft":{marginRight:t.spacing(2)},"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementTop":{marginBottom:t.spacing(2)}}});var v=i.forwardRef((t,r)=>{let n=(0,d.Z)({props:t,name:h.root.name}),[a,s]=(0,i.useState)(!1),[l,u]=(0,i.useState)(null),{children:c,content:f,PopperProps:v={},color:b,..._}=n;return(0,i.useEffect)(()=>{let t=()=>s(!0),r=()=>s(!1);return l&&(l.addEventListener("mouseenter",t),l.addEventListener("mouseleave",r)),()=>{l&&(l.removeEventListener("mouseenter",t),l.removeEventListener("mouseleave",r))}},[l]),i.createElement(g,{disableFocusListener:a,..._,ref:r,title:f,ownerState:n,PopperComponent:y,PopperProps:{role:"presentation",ref:u,...v,className:(0,o.Z)([[m.root,_.className]]),color:b}},c)})},4489:function(t,r,n){"use strict";n.d(r,{Z:()=>C});var i,o=n(2784),a=n(98283),s=n(7560),l=n(67239),u=n(69075),c=n(7342),d=n(60758),f=n(94675),h=n(60433),m=n(65992),g=n(69222),y=n(15672);function v(t){return(0,y.ZP)("MuiInputAdornment",t)}let b=(0,g.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var _=n(43853),w=n(52322);let S=["children","className","component","disablePointerEvents","disableTypography","position","variant"],x=t=>{let{classes:r,disablePointerEvents:n,hiddenLabel:i,position:o,size:a,variant:s}=t,l={root:["root",n&&"disablePointerEvents",o&&`position${(0,c.Z)(o)}`,s,i&&"hiddenLabel",a&&`size${(0,c.Z)(a)}`]};return(0,u.Z)(l,v,r)},E=(0,m.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[`position${(0,c.Z)(n.position)}`],!0===n.disablePointerEvents&&r.disablePointerEvents,r[n.variant]]}})(({theme:t,ownerState:r})=>(0,s.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===r.variant&&{[`&.${b.positionStart}&:not(.${b.hiddenLabel})`]:{marginTop:16}},"start"===r.position&&{marginRight:8},"end"===r.position&&{marginLeft:8},!0===r.disablePointerEvents&&{pointerEvents:"none"})),k=o.forwardRef(function(t,r){let n=(0,_.Z)({props:t,name:"MuiInputAdornment"}),{children:u,className:c,component:m="div",disablePointerEvents:g=!1,disableTypography:y=!1,position:v,variant:b}=n,k=(0,a.Z)(n,S),C=(0,h.Z)()||{},O=b;b&&C.variant,C&&!O&&(O=C.variant);let R=(0,s.Z)({},n,{hiddenLabel:C.hiddenLabel,size:C.size,disablePointerEvents:g,position:v,variant:O}),T=x(R);return(0,w.jsx)(f.Z.Provider,{value:null,children:(0,w.jsx)(E,(0,s.Z)({as:m,ownerState:R,className:(0,l.Z)(T.root,c),ref:r},k,{children:"string"!=typeof u||y?(0,w.jsxs)(o.Fragment,{children:["start"===v?i||(i=(0,w.jsx)("span",{className:"notranslate",children:"\u200B"})):null,u]}):(0,w.jsx)(d.Z,{color:"text.secondary",children:u})}))})});var C=o.forwardRef((t,r)=>o.createElement(k,{...t,ref:r}))},61106:function(t,r,n){"use strict";n.d(r,{Z:()=>l});var i=n(2784),o=n(80048);let a={size:"medium"},s=i.forwardRef((t,r)=>{let{size:n,...s}={...a,...t};return i.createElement(o.Z,{...s,size:"medium"===n?"normal":n,ref:r})});s.defaultProps=a;var l=s},77759:function(t,r,n){"use strict";n.d(r,{Z:()=>F});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(7342),c=n(65992),d=n(43853),f=n(10331),h=n(98659),m=n(60758),g=n(69222),y=n(15672);function v(t){return(0,y.ZP)("MuiLink",t)}let b=(0,g.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var _=n(2818),w=n(408);let S={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},x=t=>S[t]||t,E=({theme:t,ownerState:r})=>{let n=x(r.color),i=(0,_.DW)(t,`palette.${n}`,!1)||r.color,o=(0,_.DW)(t,`palette.${n}Channel`);return"vars"in t&&o?`rgba(${o} / 0.4)`:(0,w.alpha)(i,.4)};var k=n(52322);let C=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],O=t=>{let{classes:r,component:n,focusVisible:i,underline:o}=t,a={root:["root",`underline${(0,u.Z)(o)}`,"button"===n&&"button",i&&"focusVisible"]};return(0,l.Z)(a,v,r)},R=(0,c.ZP)(m.Z,{name:"MuiLink",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[`underline${(0,u.Z)(n.underline)}`],"button"===n.component&&r.button]}})(({theme:t,ownerState:r})=>(0,a.Z)({},"none"===r.underline&&{textDecoration:"none"},"hover"===r.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===r.underline&&(0,a.Z)({textDecoration:"underline"},"inherit"!==r.color&&{textDecorationColor:E({theme:t,ownerState:r})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===r.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${b.focusVisible}`]:{outline:"auto"}})),T=i.forwardRef(function(t,r){let n=(0,d.Z)({props:t,name:"MuiLink"}),{className:l,color:u="primary",component:c="a",onBlur:m,onFocus:g,TypographyClasses:y,underline:v="always",variant:b="inherit",sx:_}=n,w=(0,o.Z)(n,C),{isFocusVisibleRef:x,onBlur:E,onFocus:T,ref:P}=(0,f.Z)(),[M,I]=i.useState(!1),A=(0,h.Z)(r,P),L=(0,a.Z)({},n,{color:u,component:c,focusVisible:M,underline:v,variant:b}),N=O(L);return(0,k.jsx)(R,(0,a.Z)({color:u,className:(0,s.Z)(N.root,l),classes:y,component:c,onBlur:t=>{E(t),!1===x.current&&I(!1),m&&m(t)},onFocus:t=>{T(t),!0===x.current&&I(!0),g&&g(t)},ref:A,ownerState:L,variant:b,sx:[...Object.keys(S).includes(u)?[]:[{color:u}],...Array.isArray(_)?_:[_]]},w))});var P=n(90449),M=n(96825),I=n(47746);let A={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},L=(0,M.z)(T)(()=>({cursor:"pointer"})),N=(t,r)=>r.palette.primary.__unstableAccessibleMain&&("primary.main"===t||"primary"===t)?`primary.${P.nI}`:r.palette.global?.__unstableAccessibleMain&&"global.main"===t?`global.${P.nI}`:A[t]||t,j={color:"primary.main"},D=i.forwardRef((t,r)=>{let{sx:n={},...o}={...j,...t},a=(0,I.Z)(),s=N(o.color,a);return i.createElement(L,{...o,color:s,sx:{[P.Nt]:{color:s},...n},ref:r})});D.defaultProps=j;var F=D},30349:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(28638),a=i.forwardRef((t,r)=>i.createElement(o.Z,{...t,ref:r}))},26983:function(t,r,n){"use strict";n.d(r,{Z:()=>j});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(45233),u=n(69075),c=n(408),d=n(65992),f=n(43853),h=n(21487),m=n(86672),g=n(25691),y=n(98659),v=n(40602),b=n(69222),_=n(15672);function w(t){return(0,_.ZP)("MuiListItem",t)}let S=(0,b.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),x=(0,b.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function E(t){return(0,_.ZP)("MuiListItemSecondaryAction",t)}(0,b.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);var k=n(52322);let C=["className"],O=t=>{let{disableGutters:r,classes:n}=t;return(0,u.Z)({root:["root",r&&"disableGutters"]},E,n)},R=(0,d.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.disableGutters&&r.disableGutters]}})(({ownerState:t})=>(0,a.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})),T=i.forwardRef(function(t,r){let n=(0,f.Z)({props:t,name:"MuiListItemSecondaryAction"}),{className:l}=n,u=(0,o.Z)(n,C),c=i.useContext(v.Z),d=(0,a.Z)({},n,{disableGutters:c.disableGutters}),h=O(d);return(0,k.jsx)(R,(0,a.Z)({className:(0,s.Z)(h.root,l),ownerState:d,ref:r},u))});T.muiName="ListItemSecondaryAction";let P=["className"],M=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],I=t=>{let{alignItems:r,button:n,classes:i,dense:o,disabled:a,disableGutters:s,disablePadding:l,divider:c,hasSecondaryAction:d,selected:f}=t;return(0,u.Z)({root:["root",o&&"dense",!s&&"gutters",!l&&"padding",c&&"divider",a&&"disabled",n&&"button","flex-start"===r&&"alignItemsFlexStart",d&&"secondaryAction",f&&"selected"],container:["container"]},w,i)},A=(0,d.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.dense&&r.dense,"flex-start"===n.alignItems&&r.alignItemsFlexStart,n.divider&&r.divider,!n.disableGutters&&r.gutters,!n.disablePadding&&r.padding,n.button&&r.button,n.hasSecondaryAction&&r.secondaryAction]}})(({theme:t,ownerState:r})=>(0,a.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!r.disablePadding&&(0,a.Z)({paddingTop:8,paddingBottom:8},r.dense&&{paddingTop:4,paddingBottom:4},!r.disableGutters&&{paddingLeft:16,paddingRight:16},!!r.secondaryAction&&{paddingRight:48}),!!r.secondaryAction&&{[`& > .${x.root}`]:{paddingRight:48}},{[`&.${S.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${S.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,c.alpha)(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${S.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,c.alpha)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${S.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"flex-start"===r.alignItems&&{alignItems:"flex-start"},r.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},r.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${S.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,c.alpha)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,c.alpha)(t.palette.primary.main,t.palette.action.selectedOpacity)}}},r.hasSecondaryAction&&{paddingRight:48})),L=(0,d.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,r)=>r.container})({position:"relative"}),N=i.forwardRef(function(t,r){let n=(0,f.Z)({props:t,name:"MuiListItem"}),{alignItems:u="center",autoFocus:c=!1,button:d=!1,children:b,className:_,component:w,components:x={},componentsProps:E={},ContainerComponent:C="li",ContainerProps:{className:O}={},dense:R=!1,disabled:N=!1,disableGutters:j=!1,disablePadding:D=!1,divider:F=!1,focusVisibleClassName:B,secondaryAction:$,selected:U=!1,slotProps:z={},slots:q={}}=n,Z=(0,o.Z)(n.ContainerProps,P),H=(0,o.Z)(n,M),V=i.useContext(v.Z),W=i.useMemo(()=>({dense:R||V.dense||!1,alignItems:u,disableGutters:j}),[u,V.dense,R,j]),G=i.useRef(null);(0,g.Z)(()=>{c&&G.current&&G.current.focus()},[c]);let K=i.Children.toArray(b),X=K.length&&(0,m.Z)(K[K.length-1],["ListItemSecondaryAction"]),Y=(0,a.Z)({},n,{alignItems:u,autoFocus:c,button:d,dense:W.dense,disabled:N,disableGutters:j,disablePadding:D,divider:F,hasSecondaryAction:X,selected:U}),J=I(Y),Q=(0,y.Z)(G,r),ee=q.root||x.Root||A,et=z.root||E.root||{},er=(0,a.Z)({className:(0,s.Z)(J.root,et.className,_),disabled:N},H),en=w||"li";return(d&&(er.component=w||"div",er.focusVisibleClassName=(0,s.Z)(S.focusVisible,B),en=h.Z),X)?(en=er.component||w?en:"div","li"===C&&("li"===en?en="div":"li"===er.component&&(er.component="div")),(0,k.jsx)(v.Z.Provider,{value:W,children:(0,k.jsxs)(L,(0,a.Z)({as:C,className:(0,s.Z)(J.container,O),ref:Q,ownerState:Y},Z,{children:[(0,k.jsx)(ee,(0,a.Z)({},et,!(0,l.X)(ee)&&{as:en,ownerState:(0,a.Z)({},Y,et.ownerState)},er,{children:K})),K.pop()]}))})):(0,k.jsx)(v.Z.Provider,{value:W,children:(0,k.jsxs)(ee,(0,a.Z)({},et,{as:en,ref:Q},!(0,l.X)(ee)&&{ownerState:(0,a.Z)({},Y,et.ownerState)},er,{children:[K,$&&(0,k.jsx)(T,{children:$})]}))})});var j=i.forwardRef((t,r)=>i.createElement(N,{...t,ref:r}))},87560:function(t,r,n){"use strict";n.d(r,{Z:()=>_});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(60758),c=n(40602),d=n(43853),f=n(65992),h=n(38066),m=n(52322);let g=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],y=t=>{let{classes:r,inset:n,primary:i,secondary:o,dense:a}=t;return(0,l.Z)({root:["root",n&&"inset",a&&"dense",i&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},h.L,r)},v=(0,f.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[{[`& .${h.Z.primary}`]:r.primary},{[`& .${h.Z.secondary}`]:r.secondary},r.root,n.inset&&r.inset,n.primary&&n.secondary&&r.multiline,n.dense&&r.dense]}})(({ownerState:t})=>(0,a.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})),b=i.forwardRef(function(t,r){let n=(0,d.Z)({props:t,name:"MuiListItemText"}),{children:l,className:f,disableTypography:h=!1,inset:b=!1,primary:_,primaryTypographyProps:w,secondary:S,secondaryTypographyProps:x}=n,E=(0,o.Z)(n,g),{dense:k}=i.useContext(c.Z),C=null!=_?_:l,O=S,R=(0,a.Z)({},n,{disableTypography:h,inset:b,primary:!!C,secondary:!!O,dense:k}),T=y(R);return null==C||C.type===u.Z||h||(C=(0,m.jsx)(u.Z,(0,a.Z)({variant:k?"body2":"body1",className:T.primary,component:null!=w&&w.variant?void 0:"span",display:"block"},w,{children:C}))),null==O||O.type===u.Z||h||(O=(0,m.jsx)(u.Z,(0,a.Z)({variant:"body2",className:T.secondary,color:"text.secondary",display:"block"},x,{children:O}))),(0,m.jsxs)(v,(0,a.Z)({className:(0,s.Z)(T.root,f),ownerState:R,ref:r},E,{children:[C,O]}))});var _=i.forwardRef((t,r)=>i.createElement(b,{...t,ref:r}))},11262:function(t,r,n){"use strict";n.d(r,{Z:()=>S});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(65992),c=n(43853),d=n(7342),f=n(69222),h=n(15672);function m(t){return(0,h.ZP)("MuiListSubheader",t)}(0,f.Z)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var g=n(52322);let y=["className","color","component","disableGutters","disableSticky","inset"],v=t=>{let{classes:r,color:n,disableGutters:i,inset:o,disableSticky:a}=t,s={root:["root","default"!==n&&`color${(0,d.Z)(n)}`,!i&&"gutters",o&&"inset",!a&&"sticky"]};return(0,l.Z)(s,m,r)},b=(0,u.ZP)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,"default"!==n.color&&r[`color${(0,d.Z)(n.color)}`],!n.disableGutters&&r.gutters,n.inset&&r.inset,!n.disableSticky&&r.sticky]}})(({theme:t,ownerState:r})=>(0,a.Z)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},"primary"===r.color&&{color:(t.vars||t).palette.primary.main},"inherit"===r.color&&{color:"inherit"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.inset&&{paddingLeft:72},!r.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper})),_=i.forwardRef(function(t,r){let n=(0,c.Z)({props:t,name:"MuiListSubheader"}),{className:i,color:l="default",component:u="li",disableGutters:d=!1,disableSticky:f=!1,inset:h=!1}=n,m=(0,o.Z)(n,y),_=(0,a.Z)({},n,{color:l,component:u,disableGutters:d,disableSticky:f,inset:h}),w=v(_);return(0,g.jsx)(b,(0,a.Z)({as:u,className:(0,s.Z)(w.root,i),ref:r,ownerState:_},m))});_.muiSkipListHighlight=!0;let w=i.forwardRef((t,r)=>i.createElement(_,{...t,ref:r}));w.muiSkipListHighlight=!0;var S=w},57354:function(t,r,n){"use strict";n.d(r,{Z:()=>d});var i=n(2784),o=n(47347),a=n(81596),s=n(47746);let l=i.forwardRef((t,r)=>{let{direction:n}=(0,s.Z)(),o={...t};return"rtl"===n&&(o.anchorOrigin?.horizontal&&(o.anchorOrigin={...o.anchorOrigin,horizontal:"left"===o.anchorOrigin.horizontal?"right":"left"}),o.transformOrigin?.horizontal&&(o.transformOrigin={...o.transformOrigin,horizontal:"left"===o.transformOrigin.horizontal?"right":"left"})),i.createElement(a.ZP,{...o,ref:r})}),u={elevation:6},c=i.forwardRef((t,r)=>i.createElement(o.Z,{as:l,...u,...t,ref:r}));c.defaultProps=u;var d=c},96505:function(t,r,n){"use strict";n.d(r,{Z:()=>P});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(408),c=n(65992),d=n(87742),f=n(43853),h=n(40602),m=n(21487),g=n(25691),y=n(98659),v=n(24215),b=n(69222);let _=(0,b.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);var w=n(38066),S=n(15672);function x(t){return(0,S.ZP)("MuiMenuItem",t)}let E=(0,b.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var k=n(52322);let C=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],O=t=>{let{disabled:r,dense:n,divider:i,disableGutters:o,selected:s,classes:u}=t,c=(0,l.Z)({root:["root",n&&"dense",r&&"disabled",!o&&"gutters",i&&"divider",s&&"selected"]},x,u);return(0,a.Z)({},u,c)},R=(0,c.ZP)(m.Z,{shouldForwardProp:t=>(0,d.Z)(t)||"classes"===t,name:"MuiMenuItem",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.dense&&r.dense,n.divider&&r.divider,!n.disableGutters&&r.gutters]}})(({theme:t,ownerState:r})=>(0,a.Z)({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${E.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.alpha)(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${E.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.alpha)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${E.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.alpha)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.alpha)(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${E.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${E.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${v.Z.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${v.Z.inset}`]:{marginLeft:52},[`& .${w.Z.root}`]:{marginTop:0,marginBottom:0},[`& .${w.Z.inset}`]:{paddingLeft:36},[`& .${_.root}`]:{minWidth:36}},!r.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},r.dense&&(0,a.Z)({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{[`& .${_.root} svg`]:{fontSize:"1.25rem"}}))),T=i.forwardRef(function(t,r){let n,l=(0,f.Z)({props:t,name:"MuiMenuItem"}),{autoFocus:u=!1,component:c="li",dense:d=!1,divider:m=!1,disableGutters:v=!1,focusVisibleClassName:b,role:_="menuitem",tabIndex:w,className:S}=l,x=(0,o.Z)(l,C),E=i.useContext(h.Z),T=i.useMemo(()=>({dense:d||E.dense||!1,disableGutters:v}),[E.dense,d,v]),P=i.useRef(null);(0,g.Z)(()=>{u&&P.current&&P.current.focus()},[u]);let M=(0,a.Z)({},l,{dense:T.dense,divider:m,disableGutters:v}),I=O(l),A=(0,y.Z)(P,r);return l.disabled||(n=void 0!==w?w:-1),(0,k.jsx)(h.Z.Provider,{value:T,children:(0,k.jsx)(R,(0,a.Z)({ref:A,role:_,tabIndex:n,component:c,focusVisibleClassName:(0,s.Z)(I.focusVisible,b),className:(0,s.Z)(I.root,S)},x,{ownerState:M,classes:I}))})});var P=i.forwardRef((t,r)=>i.createElement(T,{...t,ref:r}))},4314:function(t,r,n){"use strict";n.d(r,{Z:()=>h});var i=n(2784),o=n(67239),a=n(87560),s=n(24309),l=n(96825),u=n(43853);let{slots:c,classNames:d}=(0,s.N)("MenuItemText",["root"]),f=(0,l.z)(a.Z,c.root)({});var h=i.forwardRef((t,r)=>{let n=(0,u.Z)({props:t,name:c.root.name});return i.createElement(f,{...n,ref:r,className:(0,o.Z)([[d.root,n.className]]),ownerState:n})})},51424:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(24941),a=i.forwardRef((t,r)=>i.createElement(o.Z,{...t,ref:r}))},19391:function(t,r,n){"use strict";n.d(r,{Z:()=>f});var i=n(2784),o=n(81851),a=n(96825),s=n(47591),l=n(54824);let u=(0,a.z)(o.Z)(({theme:t,ownerState:r})=>({backgroundColor:function(t,r="default"){let n="dark"===t.palette.mode;if("default"===r)return t.palette.background.paper;if("primary"===r||"global"===r){let i=t.palette[r];return n?(0,s._j)(i.__unstableAccessibleMain,.8):(0,s.$n)(i.__unstableAccessibleMain,.95)}return l.Qf.includes(r)?n?(0,s._j)(t.palette[r].light,.88):(0,s.$n)(t.palette[r].light,.92):t.palette.background.paper}(t,r.color)})),c={color:"default"},d=i.forwardRef((t,r)=>{let{color:n,...o}={...c,...t};return i.createElement(u,{...o,ownerState:{color:n},ref:r})});d.defaultProps=c;var f=d},15173:function(t,r,n){"use strict";n.d(r,{Z:()=>j});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(408),c=n(11350),d=n(43853),f=n(6620),h=n(52322);let m=(0,f.Z)((0,h.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),g=(0,f.Z)((0,h.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var y=n(65992),v=n(87742);let b=(0,y.ZP)("span",{shouldForwardProp:v.Z})({position:"relative",display:"flex"}),_=(0,y.ZP)(m)({transform:"scale(1)"}),w=(0,y.ZP)(g)(({theme:t,ownerState:r})=>(0,a.Z)({left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest})},r.checked&&{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})})),S=function(t){let{checked:r=!1,classes:n={},fontSize:i}=t,o=(0,a.Z)({},t,{checked:r});return(0,h.jsxs)(b,{className:n.root,ownerState:o,children:[(0,h.jsx)(_,{fontSize:i,className:n.background,ownerState:o}),(0,h.jsx)(w,{fontSize:i,className:n.dot,ownerState:o})]})};var x=n(7342);let E=n(37311).Z;var k=n(64770),C=n(69222),O=n(15672);function R(t){return(0,O.ZP)("MuiRadio",t)}let T=(0,C.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),P=["checked","checkedIcon","color","icon","name","onChange","size","className"],M=t=>{let{classes:r,color:n,size:i}=t,o={root:["root",`color${(0,x.Z)(n)}`,"medium"!==i&&`size${(0,x.Z)(i)}`]};return(0,a.Z)({},r,(0,l.Z)(o,R,r))},I=(0,y.ZP)(c.Z,{shouldForwardProp:t=>(0,v.Z)(t)||"classes"===t,name:"MuiRadio",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,"medium"!==n.size&&r[`size${(0,x.Z)(n.size)}`],r[`color${(0,x.Z)(n.color)}`]]}})(({theme:t,ownerState:r})=>(0,a.Z)({color:(t.vars||t).palette.text.secondary},!r.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${"default"===r.color?t.vars.palette.action.activeChannel:t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.alpha)("default"===r.color?t.palette.action.active:t.palette[r.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&{[`&.${T.checked}`]:{color:(t.vars||t).palette[r.color].main}},{[`&.${T.disabled}`]:{color:(t.vars||t).palette.action.disabled}})),A=(0,h.jsx)(S,{checked:!0}),L=(0,h.jsx)(S,{}),N=i.forwardRef(function(t,r){var n,l,u,c;let f=(0,d.Z)({props:t,name:"MuiRadio"}),{checked:m,checkedIcon:g=A,color:y="primary",icon:v=L,name:b,onChange:_,size:w="medium",className:S}=f,x=(0,o.Z)(f,P),C=(0,a.Z)({},f,{color:y,size:w}),O=M(C),R=i.useContext(k.Z),T=m,N=E(_,R&&R.onChange),j=b;return R&&(void 0===T&&(u=R.value,T="object"==typeof(c=f.value)&&null!==c?u===c:String(u)===String(c)),void 0===j&&(j=R.name)),(0,h.jsx)(I,(0,a.Z)({type:"radio",icon:i.cloneElement(v,{fontSize:null!=(n=L.props.fontSize)?n:w}),checkedIcon:i.cloneElement(g,{fontSize:null!=(l=A.props.fontSize)?l:w}),ownerState:C,classes:O,name:j,checked:T,onChange:N,ref:r,className:(0,s.Z)(O.root,S)},x))});var j=i.forwardRef((t,r)=>i.createElement(N,{...t,ref:r}))},62564:function(t,r,n){"use strict";n.d(r,{Z:()=>P});var i=n(2784),o=n(7560),a=n(98283),s=n(67239),l=n(69075),u=n(65992),c=n(43853),d=n(69222),f=n(15672);function h(t){return(0,f.ZP)("MuiFormGroup",t)}(0,d.Z)("MuiFormGroup",["root","row","error"]);var m=n(60433),g=n(28734),y=n(52322);let v=["className","row"],b=t=>{let{classes:r,row:n,error:i}=t;return(0,l.Z)({root:["root",n&&"row",i&&"error"]},h,r)},_=(0,u.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.row&&r.row]}})(({ownerState:t})=>(0,o.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},t.row&&{flexDirection:"row"})),w=i.forwardRef(function(t,r){let n=(0,c.Z)({props:t,name:"MuiFormGroup"}),{className:i,row:l=!1}=n,u=(0,a.Z)(n,v),d=(0,m.Z)(),f=(0,g.Z)({props:n,muiFormControl:d,states:["error"]}),h=(0,o.Z)({},n,{row:l,error:f.error}),w=b(h);return(0,y.jsx)(_,(0,o.Z)({className:(0,s.Z)(w.root,i),ownerState:h,ref:r},u))});function S(t){return(0,f.ZP)("MuiRadioGroup",t)}(0,d.Z)("MuiRadioGroup",["root","row","error"]);var x=n(98659),E=n(57227),k=n(64770),C=n(85954);let O=["actions","children","className","defaultValue","name","onChange","value"],R=t=>{let{classes:r,row:n,error:i}=t;return(0,l.Z)({root:["root",n&&"row",i&&"error"]},S,r)},T=i.forwardRef(function(t,r){let{actions:n,children:l,className:u,defaultValue:c,name:d,onChange:f,value:h}=t,m=(0,a.Z)(t,O),g=i.useRef(null),v=R(t),[b,_]=(0,E.Z)({controlled:h,default:c,name:"RadioGroup"});i.useImperativeHandle(n,()=>({focus:()=>{let t=g.current.querySelector("input:not(:disabled):checked");t||(t=g.current.querySelector("input:not(:disabled)")),t&&t.focus()}}),[]);let S=(0,x.Z)(r,g),T=(0,C.Z)(d),P=i.useMemo(()=>({name:T,onChange(t){_(t.target.value),f&&f(t,t.target.value)},value:b}),[T,f,_,b]);return(0,y.jsx)(k.Z.Provider,{value:P,children:(0,y.jsx)(w,(0,o.Z)({role:"radiogroup",ref:S,className:(0,s.Z)(v.root,u)},m,{children:l}))})});var P=i.forwardRef((t,r)=>i.createElement(T,{...t,ref:r}))},60832:function(t,r,n){"use strict";n.d(r,{Z:()=>h});var i=n(2784),o=n(93019),a=n(98659),s=n(24309),l=n(43853),u=n(47746);let{slots:c}=(0,s.N)("Rotate",["root"]),d={appear:!1,to:180},f=i.forwardRef((t,r)=>{var n;let s=(0,l.Z)({props:{...d,...t},name:c.root.name}),f=(0,u.Z)(),h="rtl"===f.direction,y=(0,i.useRef)(""),v={enter:f.transitions.duration.enteringScreen,exit:f.transitions.duration.leavingScreen},{addEndListener:b,appear:_,children:w,easing:S,in:x,onEnter:E,onEntered:k,onEntering:C,onExit:O,onExited:R,onExiting:T,style:P,timeout:M=v,TransitionComponent:I=o.ZP,from:A,to:L}=s,N=(0,i.useRef)(null),j=(0,a.Z)(N,(n=w,parseInt(i.version,10)>=19?n?.props?.ref||null:n?.ref||null),r);if(!(!Array.isArray(w)&&(0,i.isValidElement)(w)))return console.error("Rotate: The children prop must be a single valid React element."),null;let D=t=>r=>{let n=N.current;n&&t&&n&&t(n,r)},F=D((t,r)=>{t.scrollTop;let n=m({style:P,timeout:M,easing:S,mode:"enter"});y.current=t.style.transition,t.style.transition=f.transitions.create("rotate",n),E?.(t,r)}),B=D((t,r)=>{C?.(t,r)}),$=D((t,r)=>{t.style.transition=y.current,k?.(t,r)});return i.createElement(I,{appear:_,in:x,timeout:M,nodeRef:N,onEnter:F,onEntering:B,onEntered:$,onExit:()=>{let t=N.current;if(!t)return;let r=m({style:P,timeout:M,easing:S,mode:"exit"});t.style.transition=f.transitions.create("rotate",r),O?.()},onExiting:T,onExited:()=>{let t=N.current;t&&(t.style.transition=y.current),R?.()},addEndListener:t=>{b&&N.current&&b(N.current,t)}},(t,r)=>(0,i.cloneElement)(w,{ref:j,...w.props||{},style:{rotate:g(A,h),...function(t,r="none"){return({entering:{rotate:r},entered:{rotate:r}})[t]}(t,g(L,h)),...P,...w.props?.style||{}},...r}))});f.defaultProps=d;var h=f;function m({timeout:t,easing:r,style:n={},mode:i}){return{duration:n.transitionDuration??("object"==typeof t?t[i]:t||0),easing:n.transitionTimingFunction??("object"==typeof r?r[i]:r),delay:n.transitionDelay}}function g(t,r=!1){if(t&&"number"==typeof t)return`${r?-1*t:t}deg`}},6714:function(t,r,n){"use strict";n.d(r,{M:()=>s,Z:()=>u});var i=n(2784),o=n(54158),a=n(59538);let s=i.forwardRef((t,r)=>i.createElement(a.Z,{viewBox:"0 0 24 24",...t,ref:r},i.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"}))),l=i.forwardRef((t,r)=>{let{MenuProps:n={},...a}=t;return i.createElement(o.Z,{...a,MenuProps:{...n,MenuListProps:{dense:"tiny"===a.size,...n.MenuListProps||{}}},ref:r})});l.defaultProps={IconComponent:s};var u=l},87770:function(t,r,n){"use strict";n.d(r,{Z:()=>T});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(28165),u=n(69075),c=n(47591),d=n(65992),f=n(43853),h=n(69222),m=n(15672);function g(t){return(0,m.ZP)("MuiSkeleton",t)}(0,h.Z)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var y=n(52322);let v=["animation","className","component","height","style","variant","width"],b=t=>t,_,w,S,x,E=t=>{let{classes:r,variant:n,animation:i,hasChildren:o,width:a,height:s}=t;return(0,u.Z)({root:["root",n,i,o&&"withChildren",o&&!a&&"fitContent",o&&!s&&"heightAuto"]},g,r)},k=(0,l.F4)(_||(_=b`
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
`)),C=(0,l.F4)(w||(w=b`
  0% {
    transform: translateX(-100%);
  }

  50% {
    /* +0.5s of delay between each loop */
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
`)),O=(0,d.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[n.variant],!1!==n.animation&&r[n.animation],n.hasChildren&&r.withChildren,n.hasChildren&&!n.width&&r.fitContent,n.hasChildren&&!n.height&&r.heightAuto]}})(({theme:t,ownerState:r})=>{let n=String(t.shape.borderRadius).match(/[\d.\-+]*\s*(.*)/)[1]||"px",i=parseFloat(t.shape.borderRadius);return(0,a.Z)({display:"block",backgroundColor:t.vars?t.vars.palette.Skeleton.bg:(0,c.Fq)(t.palette.text.primary,"light"===t.palette.mode?.11:.13),height:"1.2em"},"text"===r.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${i}${n}/${Math.round(i/.6*10)/10}${n}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===r.variant&&{borderRadius:"50%"},"rounded"===r.variant&&{borderRadius:(t.vars||t).shape.borderRadius},r.hasChildren&&{"& > *":{visibility:"hidden"}},r.hasChildren&&!r.width&&{maxWidth:"fit-content"},r.hasChildren&&!r.height&&{height:"auto"})},({ownerState:t})=>"pulse"===t.animation&&(0,l.iv)(S||(S=b`
      animation: ${0} 2s ease-in-out 0.5s infinite;
    `),k),({ownerState:t,theme:r})=>"wave"===t.animation&&(0,l.iv)(x||(x=b`
      position: relative;
      overflow: hidden;

      /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
      -webkit-mask-image: -webkit-radial-gradient(white, black);

      &::after {
        animation: ${0} 2s linear 0.5s infinite;
        background: linear-gradient(
          90deg,
          transparent,
          ${0},
          transparent
        );
        content: '';
        position: absolute;
        transform: translateX(-100%); /* Avoid flash during server-side hydration */
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
      }
    `),C,(r.vars||r).palette.action.hover)),R=i.forwardRef(function(t,r){let n=(0,f.Z)({props:t,name:"MuiSkeleton"}),{animation:i="pulse",className:l,component:u="span",height:c,style:d,variant:h="text",width:m}=n,g=(0,o.Z)(n,v),b=(0,a.Z)({},n,{animation:i,component:u,variant:h,hasChildren:!!g.children}),_=E(b);return(0,y.jsx)(O,(0,a.Z)({as:u,ref:r,className:(0,s.Z)(_.root,l),ownerState:b},g,{style:(0,a.Z)({width:m,height:c},d)}))});var T=i.forwardRef((t,r)=>i.createElement(R,{...t,ref:r}))},48969:function(t,r,n){"use strict";n.d(r,{Z:()=>U});var i=n(2784),o=n(98283),a=n(7560),s=n(64675),l=n(69075),u=n(53640),c=n(39983),d=n(75161),f=n(52322);function h(t){return t.substring(2).toLowerCase()}function m(t){let{children:r,disableReactTree:n=!1,mouseEvent:o="onClick",onClickAway:a,touchEvent:s="onTouchEnd"}=t,l=i.useRef(!1),m=i.useRef(null),g=i.useRef(!1),y=i.useRef(!1);i.useEffect(()=>(setTimeout(()=>{g.current=!0},0),()=>{g.current=!1}),[]);let v=(0,u.Z)(r.ref,m),b=(0,c.Z)(t=>{let r,i=y.current;y.current=!1;let o=(0,d.Z)(m.current);if(!(!g.current||!m.current||"clientX"in t&&(o.documentElement.clientWidth<t.clientX||o.documentElement.clientHeight<t.clientY))){if(l.current){l.current=!1;return}(t.composedPath?t.composedPath().indexOf(m.current)>-1:!o.documentElement.contains(t.target)||m.current.contains(t.target))||!n&&i||a(t)}}),_=t=>n=>{y.current=!0;let i=r.props[t];i&&i(n)},w={ref:v};return!1!==s&&(w[s]=_(s)),i.useEffect(()=>{if(!1!==s){let t=h(s),r=(0,d.Z)(m.current),n=()=>{l.current=!0};return r.addEventListener(t,b),r.addEventListener("touchmove",n),()=>{r.removeEventListener(t,b),r.removeEventListener("touchmove",n)}}},[b,s]),!1!==o&&(w[o]=_(o)),i.useEffect(()=>{if(!1!==o){let t=h(o),r=(0,d.Z)(m.current);return r.addEventListener(t,b),()=>{r.removeEventListener(t,b)}}},[b,o]),(0,f.jsx)(i.Fragment,{children:i.cloneElement(r,w)})}var g=n(59722),y=n(97427),v=n(65992),b=n(47746),_=n(43853),w=n(7342),S=n(6693),x=n(67239),E=n(408),k=n(81851),C=n(69222),O=n(15672);function R(t){return(0,O.ZP)("MuiSnackbarContent",t)}(0,C.Z)("MuiSnackbarContent",["root","message","action"]);let T=["action","className","message","role"],P=t=>{let{classes:r}=t;return(0,l.Z)({root:["root"],action:["action"],message:["message"]},R,r)},M=(0,v.ZP)(k.Z,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(t,r)=>r.root})(({theme:t})=>{let r="light"===t.palette.mode?.8:.98,n=(0,E.emphasize)(t.palette.background.default,r);return(0,a.Z)({},t.typography.body2,{color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(n),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,flexGrow:1,[t.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),I=(0,v.ZP)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(t,r)=>r.message})({padding:"8px 0"}),A=(0,v.ZP)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(t,r)=>r.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),L=i.forwardRef(function(t,r){let n=(0,_.Z)({props:t,name:"MuiSnackbarContent"}),{action:i,className:s,message:l,role:u="alert"}=n,c=(0,o.Z)(n,T),d=P(n);return(0,f.jsxs)(M,(0,a.Z)({role:u,square:!0,elevation:6,className:(0,x.Z)(d.root,s),ownerState:n,ref:r},c,{children:[(0,f.jsx)(I,{className:d.message,ownerState:n,children:l}),i?(0,f.jsx)(A,{className:d.action,ownerState:n,children:i}):null]}))});function N(t){return(0,O.ZP)("MuiSnackbar",t)}(0,C.Z)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);let j=["onEnter","onExited"],D=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],F=t=>{let{classes:r,anchorOrigin:n}=t,i={root:["root",`anchorOrigin${(0,w.Z)(n.vertical)}${(0,w.Z)(n.horizontal)}`]};return(0,l.Z)(i,N,r)},B=(0,v.ZP)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[`anchorOrigin${(0,w.Z)(n.anchorOrigin.vertical)}${(0,w.Z)(n.anchorOrigin.horizontal)}`]]}})(({theme:t,ownerState:r})=>(0,a.Z)({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===r.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===r.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===r.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[t.breakpoints.up("sm")]:(0,a.Z)({},"top"===r.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===r.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===r.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===r.anchorOrigin.horizontal&&{right:24,left:"auto"})})),$=i.forwardRef(function(t,r){let n=(0,_.Z)({props:t,name:"MuiSnackbar"}),l=(0,b.Z)(),u={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{action:d,anchorOrigin:{vertical:h,horizontal:v}={vertical:"bottom",horizontal:"left"},autoHideDuration:w=null,children:x,className:E,ClickAwayListenerProps:k,ContentProps:C,disableWindowBlurListener:O=!1,message:R,open:T,TransitionComponent:P=S.Z,transitionDuration:M=u,TransitionProps:{onEnter:I,onExited:A}={}}=n,N=(0,o.Z)(n.TransitionProps,j),$=(0,o.Z)(n,D),U=(0,a.Z)({},n,{anchorOrigin:{vertical:h,horizontal:v},autoHideDuration:w,disableWindowBlurListener:O,TransitionComponent:P,transitionDuration:M}),z=F(U),{getRootProps:q,onClickAway:Z}=function(t={}){let{autoHideDuration:r=null,disableWindowBlurListener:n=!1,onClose:o,open:s,resumeHideDuration:l}=t,u=(0,g.Z)();i.useEffect(()=>{if(s)return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)};function t(t){t.defaultPrevented||("Escape"===t.key||"Esc"===t.key)&&(null==o||o(t,"escapeKeyDown"))}},[s,o]);let d=(0,c.Z)((t,r)=>{null==o||o(t,r)}),f=(0,c.Z)(t=>{o&&null!=t&&u.start(t,()=>{d(null,"timeout")})});i.useEffect(()=>(s&&f(r),u.clear),[s,r,f,u]);let h=u.clear,m=i.useCallback(()=>{null!=r&&f(null!=l?l:.5*r)},[r,l,f]),v=t=>r=>{let n=t.onBlur;null==n||n(r),m()},b=t=>r=>{let n=t.onFocus;null==n||n(r),h()},_=t=>r=>{let n=t.onMouseEnter;null==n||n(r),h()},w=t=>r=>{let n=t.onMouseLeave;null==n||n(r),m()};return i.useEffect(()=>{if(!n&&s)return window.addEventListener("focus",m),window.addEventListener("blur",h),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",h)}},[n,s,m,h]),{getRootProps:(r={})=>{let n=(0,a.Z)({},(0,y._)(t),(0,y._)(r));return(0,a.Z)({role:"presentation"},r,n,{onBlur:v(n),onFocus:b(n),onMouseEnter:_(n),onMouseLeave:w(n)})},onClickAway:t=>{null==o||o(t,"clickaway")}}}((0,a.Z)({},U)),[H,V]=i.useState(!0),W=(0,s.y)({elementType:B,getSlotProps:q,externalForwardedProps:$,ownerState:U,additionalProps:{ref:r},className:[z.root,E]});return!T&&H?null:(0,f.jsx)(m,(0,a.Z)({onClickAway:Z},k,{children:(0,f.jsx)(B,(0,a.Z)({},W,{children:(0,f.jsx)(P,(0,a.Z)({appear:!0,in:T,timeout:M,direction:"top"===h?"down":"up",onEnter:(t,r)=>{V(!1),I&&I(t,r)},onExited:t=>{V(!0),A&&A(t)}},N,{children:x||(0,f.jsx)(L,(0,a.Z)({message:R,action:d},C))}))}))}))});var U=i.forwardRef((t,r)=>i.createElement($,{...t,ref:r}))},47563:function(t,r,n){"use strict";n.d(r,{Z:()=>B});var i=n(2784),o=n(67239),a=n(98283),s=n(7560),l=n(69075),u=n(408),c=n(7342),d=n(65992),f=n(43853),h=n(69222),m=n(15672);function g(t){return(0,m.ZP)("MuiButtonGroup",t)}let y=(0,h.Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]);var v=n(49146),b=n(87897),_=n(52322);let w=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],S=t=>{let{classes:r,color:n,disabled:i,disableElevation:o,fullWidth:a,orientation:s,variant:u}=t,d={root:["root",u,"vertical"===s&&"vertical",a&&"fullWidth",o&&"disableElevation"],grouped:["grouped",`grouped${(0,c.Z)(s)}`,`grouped${(0,c.Z)(u)}`,`grouped${(0,c.Z)(u)}${(0,c.Z)(s)}`,`grouped${(0,c.Z)(u)}${(0,c.Z)(n)}`,i&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,l.Z)(d,g,r)},x=(0,d.ZP)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[{[`& .${y.grouped}`]:r.grouped},{[`& .${y.grouped}`]:r[`grouped${(0,c.Z)(n.orientation)}`]},{[`& .${y.grouped}`]:r[`grouped${(0,c.Z)(n.variant)}`]},{[`& .${y.grouped}`]:r[`grouped${(0,c.Z)(n.variant)}${(0,c.Z)(n.orientation)}`]},{[`& .${y.grouped}`]:r[`grouped${(0,c.Z)(n.variant)}${(0,c.Z)(n.color)}`]},{[`& .${y.firstButton}`]:r.firstButton},{[`& .${y.lastButton}`]:r.lastButton},{[`& .${y.middleButton}`]:r.middleButton},r.root,r[n.variant],!0===n.disableElevation&&r.disableElevation,n.fullWidth&&r.fullWidth,"vertical"===n.orientation&&r.vertical]}})(({theme:t,ownerState:r})=>(0,s.Z)({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius},"contained"===r.variant&&{boxShadow:(t.vars||t).shadows[2]},r.disableElevation&&{boxShadow:"none"},r.fullWidth&&{width:"100%"},"vertical"===r.orientation&&{flexDirection:"column"},{[`& .${y.grouped}`]:(0,s.Z)({minWidth:40,"&:hover":(0,s.Z)({},"contained"===r.variant&&{boxShadow:"none"})},"contained"===r.variant&&{boxShadow:"none"}),[`& .${y.firstButton},& .${y.middleButton}`]:(0,s.Z)({},"horizontal"===r.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===r.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===r.variant&&"horizontal"===r.orientation&&{borderRight:t.vars?`1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${"light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${y.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}},"text"===r.variant&&"vertical"===r.orientation&&{borderBottom:t.vars?`1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${"light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${y.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}},"text"===r.variant&&"inherit"!==r.color&&{borderColor:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / 0.5)`:(0,u.alpha)(t.palette[r.color].main,.5)},"outlined"===r.variant&&"horizontal"===r.orientation&&{borderRightColor:"transparent"},"outlined"===r.variant&&"vertical"===r.orientation&&{borderBottomColor:"transparent"},"contained"===r.variant&&"horizontal"===r.orientation&&{borderRight:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${y.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}},"contained"===r.variant&&"vertical"===r.orientation&&{borderBottom:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${y.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}},"contained"===r.variant&&"inherit"!==r.color&&{borderColor:(t.vars||t).palette[r.color].dark},{"&:hover":(0,s.Z)({},"outlined"===r.variant&&"horizontal"===r.orientation&&{borderRightColor:"currentColor"},"outlined"===r.variant&&"vertical"===r.orientation&&{borderBottomColor:"currentColor"})}),[`& .${y.lastButton},& .${y.middleButton}`]:(0,s.Z)({},"horizontal"===r.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===r.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===r.variant&&"horizontal"===r.orientation&&{marginLeft:-1},"outlined"===r.variant&&"vertical"===r.orientation&&{marginTop:-1})})),E=i.forwardRef(function(t,r){let n=(0,f.Z)({props:t,name:"MuiButtonGroup"}),{children:l,className:u,color:c="primary",component:d="div",disabled:h=!1,disableElevation:m=!1,disableFocusRipple:g=!1,disableRipple:y=!1,fullWidth:E=!1,orientation:k="horizontal",size:C="medium",variant:O="outlined"}=n,R=(0,a.Z)(n,w),T=(0,s.Z)({},n,{color:c,component:d,disabled:h,disableElevation:m,disableFocusRipple:g,disableRipple:y,fullWidth:E,orientation:k,size:C,variant:O}),P=S(T),M=i.useMemo(()=>({className:P.grouped,color:c,disabled:h,disableElevation:m,disableFocusRipple:g,disableRipple:y,fullWidth:E,size:C,variant:O}),[c,h,m,g,y,E,C,O,P.grouped]),I=i.Children.toArray(l).filter(t=>i.isValidElement(t)),A=I.length,L=t=>{let r=0===t,n=t===A-1;return r&&n?"":r?P.firstButton:n?P.lastButton:P.middleButton};return(0,_.jsx)(x,(0,s.Z)({as:d,role:"group",className:(0,o.Z)(P.root,u),ref:r,ownerState:T},R,{children:(0,_.jsx)(v.Z.Provider,{value:M,children:I.map((t,r)=>(0,_.jsx)(b.Z.Provider,{value:L(r),children:t},r))})}))});var k=n(96825);let C=(0,k.z)(E)(({theme:t,color:r})=>{let n=r&&"inherit"!==r?r:"primary",i=!!t.palette[n]?.__unstableTonalMain,o=({variant:t})=>"unstableTonal"===t&&i;return{variants:[{props:t=>o(t)&&"inherit"!==t.color&&!t.disabled,style:{"& .MuiButtonGroup-grouped:not(:last-of-type)":{borderRight:`1px solid ${t.palette[n].dark}`}}},{props:t=>o(t)&&t.disabled,style:{"& .MuiButtonGroup-grouped:not(:last-of-type)":{borderRight:`1px solid ${t.palette.action.disabled}`}}},{props:t=>"unstableTonal"===t.variant&&!i,style:{"& .MuiButtonGroup-grouped:not(:last-of-type)":{borderRight:"1px solid #ff0000"}}}]}}),O={disableRipple:!0},R=i.forwardRef((t,r)=>i.createElement(C,{...O,...t,ref:r}));R.defaultProps=O;var T=n(73686),P=n(59538);let{slots:M,classNames:I}=(0,n(24309).N)("SplitButton",["root","mainButton","caretButton"]),A=(0,k.z)(R,M.root)({}),L=(0,k.z)(T.Z,M.mainButton)({}),N=(0,k.z)(T.Z,M.caretButton)(()=>({paddingInline:0})),j={variant:"contained"},D={children:i.createElement(()=>i.createElement(P.Z,{viewBox:"0 0 24 24",sx:{fill:"#fff"}},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2929 9.29289C17.6834 8.90237 18.3166 8.90237 18.7071 9.29289C19.0976 9.68342 19.0976 10.3166 18.7071 10.7071L12.7071 16.7071C12.3166 17.0976 11.6834 17.0976 11.2929 16.7071L5.29289 10.7071C4.90237 10.3166 4.90237 9.68342 5.29289 9.29289C5.68342 8.90237 6.31658 8.90237 6.70711 9.29289L12 14.5858L17.2929 9.29289Z"})),null)},F=i.forwardRef((t,r)=>{let n=(0,f.Z)({props:{...j,...t},name:M.root.name}),{onClick:a,children:s,MainButtonProps:l={},CaretButtonProps:u={},slotProps:c={},...d}=n;return i.createElement(A,{...d,ref:r,className:(0,o.Z)([[I.root,d.className]]),ownerState:n},i.createElement(L,{onClick:a,...l,...c.mainButton,variant:d.variant,color:d.color,className:(0,o.Z)([I.mainButton,l.className,c.mainButton?.className]),ownerState:n},s),i.createElement(N,{...D,...u,...c.caretButton,variant:d.variant,color:d.color,className:(0,o.Z)([I.caretButton,u.className,c.caretButton?.className]),ownerState:n}))});F.defaultProps=j,N.defaultProps=D;var B=F},39061:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(56188),a=i.forwardRef((t,r)=>i.createElement(o.Z,{...t,ref:r}))},59538:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(28811),a=i.forwardRef((t,r)=>i.createElement(o.Z,{...t,ref:r}))},9976:function(t,r,n){"use strict";n.d(r,{Z:()=>R});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(69075),u=n(408),c=n(7342),d=n(11350),f=n(14233),h=n(65992),m=n(69222),g=n(15672);function y(t){return(0,g.ZP)("MuiSwitch",t)}let v=(0,m.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var b=n(52322);let _=["className","color","edge","size","sx"],w=(0,f.U)("MuiSwitch"),S=t=>{let{classes:r,edge:n,size:i,color:o,checked:s,disabled:u}=t,d={root:["root",n&&`edge${(0,c.Z)(n)}`,`size${(0,c.Z)(i)}`],switchBase:["switchBase",`color${(0,c.Z)(o)}`,s&&"checked",u&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=(0,l.Z)(d,y,r);return(0,a.Z)({},r,f)},x=(0,h.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.edge&&r[`edge${(0,c.Z)(n.edge)}`],r[`size${(0,c.Z)(n.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${v.thumb}`]:{width:16,height:16},[`& .${v.switchBase}`]:{padding:4,[`&.${v.checked}`]:{transform:"translateX(16px)"}}}}]}),E=(0,h.ZP)(d.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.switchBase,{[`& .${v.input}`]:r.input},"default"!==n.color&&r[`color${(0,c.Z)(n.color)}`]]}})(({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${"light"===t.palette.mode?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${v.checked}`]:{transform:"translateX(20px)"},[`&.${v.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${"light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${v.checked} + .${v.track}`]:{opacity:.5},[`&.${v.disabled} + .${v.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:`${"light"===t.palette.mode?.12:.2}`},[`& .${v.input}`]:{left:"-100%",width:"300%"}}),({theme:t})=>({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.alpha)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter(([,t])=>t.main&&t.light).map(([r])=>({props:{color:r},style:{[`&.${v.checked}`]:{color:(t.vars||t).palette[r].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[r].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.alpha)(t.palette[r].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${v.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${r}DisabledColor`]:`${"light"===t.palette.mode?(0,u.lighten)(t.palette[r].main,.62):(0,u.darken)(t.palette[r].main,.55)}`}},[`&.${v.checked} + .${v.track}`]:{backgroundColor:(t.vars||t).palette[r].main}}}))]})),k=(0,h.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,r)=>r.track})(({theme:t})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${"light"===t.palette.mode?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:`${"light"===t.palette.mode?.38:.3}`})),C=(0,h.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,r)=>r.thumb})(({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),O=i.forwardRef(function(t,r){let n=w({props:t,name:"MuiSwitch"}),{className:i,color:l="primary",edge:u=!1,size:c="medium",sx:d}=n,f=(0,o.Z)(n,_),h=(0,a.Z)({},n,{color:l,edge:u,size:c}),m=S(h),g=(0,b.jsx)(C,{className:m.thumb,ownerState:h});return(0,b.jsxs)(x,{className:(0,s.Z)(m.root,i),sx:d,ownerState:h,children:[(0,b.jsx)(E,(0,a.Z)({type:"checkbox",icon:g,checkedIcon:g,ref:r,ownerState:h},f,{classes:(0,a.Z)({},m,{root:m.switchBase})})),(0,b.jsx)(k,{className:m.track,ownerState:h})]})});var R=i.forwardRef((t,r)=>i.createElement(O,{...t,ref:r}))},71866:function(t,r,n){"use strict";n.d(r,{Z:()=>B});var i,o=n(2784),a=n(7560),s=n(98283),l=n(67239),u=n(69075),c=n(12358),d=n(65992),f=n(43853),h=n(11897),m=n(96752),g=n(12859),y=n(80048),v=n(14868),b=n(28734),_=n(60433),w=n(7342),S=n(69222),x=n(15672);function E(t){return(0,x.ZP)("MuiFormHelperText",t)}let k=(0,S.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var C=n(52322);let O=["children","className","component","disabled","error","filled","focused","margin","required","variant"],R=t=>{let{classes:r,contained:n,size:i,disabled:o,error:a,filled:s,focused:l,required:c}=t,d={root:["root",o&&"disabled",a&&"error",i&&`size${(0,w.Z)(i)}`,n&&"contained",l&&"focused",s&&"filled",c&&"required"]};return(0,u.Z)(d,E,r)},T=(0,d.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.size&&r[`size${(0,w.Z)(n.size)}`],n.contained&&r.contained,n.filled&&r.filled]}})(({theme:t,ownerState:r})=>(0,a.Z)({color:(t.vars||t).palette.text.secondary},t.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${k.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${k.error}`]:{color:(t.vars||t).palette.error.main}},"small"===r.size&&{marginTop:4},r.contained&&{marginLeft:14,marginRight:14})),P=o.forwardRef(function(t,r){let n=(0,f.Z)({props:t,name:"MuiFormHelperText"}),{children:o,className:u,component:c="p"}=n,d=(0,s.Z)(n,O),h=(0,_.Z)(),m=(0,b.Z)({props:n,muiFormControl:h,states:["variant","size","disabled","error","filled","focused","required"]}),g=(0,a.Z)({},n,{component:c,contained:"filled"===m.variant||"outlined"===m.variant,variant:m.variant,size:m.size,disabled:m.disabled,error:m.error,filled:m.filled,focused:m.focused,required:m.required}),y=R(g);return(0,C.jsx)(T,(0,a.Z)({as:c,ownerState:g,className:(0,l.Z)(y.root,u),ref:r},d,{children:" "===o?i||(i=(0,C.jsx)("span",{className:"notranslate",children:"\u200B"})):o}))});var M=n(54158);function I(t){return(0,x.ZP)("MuiTextField",t)}(0,S.Z)("MuiTextField",["root"]);let A=["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"],L={standard:h.Z,filled:m.Z,outlined:g.Z},N=t=>{let{classes:r}=t;return(0,u.Z)({root:["root"]},I,r)},j=(0,d.ZP)(v.Z,{name:"MuiTextField",slot:"Root",overridesResolver:(t,r)=>r.root})({}),D=o.forwardRef(function(t,r){let n=(0,f.Z)({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:u,className:d,color:h="primary",defaultValue:m,disabled:g=!1,error:v=!1,FormHelperTextProps:b,fullWidth:_=!1,helperText:w,id:S,InputLabelProps:x,inputProps:E,InputProps:k,inputRef:O,label:R,maxRows:T,minRows:I,multiline:D=!1,name:F,onBlur:B,onChange:$,onFocus:U,placeholder:z,required:q=!1,rows:Z,select:H=!1,SelectProps:V,type:W,value:G,variant:K="outlined"}=n,X=(0,s.Z)(n,A),Y=(0,a.Z)({},n,{autoFocus:o,color:h,disabled:g,error:v,fullWidth:_,multiline:D,required:q,select:H,variant:K}),J=N(Y),Q={};"outlined"===K&&(x&&void 0!==x.shrink&&(Q.notched=x.shrink),Q.label=R),H&&(V&&V.native||(Q.id=void 0),Q["aria-describedby"]=void 0);let ee=(0,c.Z)(S),et=w&&ee?`${ee}-helper-text`:void 0,er=R&&ee?`${ee}-label`:void 0,en=L[K],ei=(0,C.jsx)(en,(0,a.Z)({"aria-describedby":et,autoComplete:i,autoFocus:o,defaultValue:m,fullWidth:_,multiline:D,name:F,rows:Z,maxRows:T,minRows:I,type:W,value:G,id:ee,inputRef:O,onBlur:B,onChange:$,onFocus:U,placeholder:z,inputProps:E},Q,k));return(0,C.jsxs)(j,(0,a.Z)({className:(0,l.Z)(J.root,d),disabled:g,error:v,fullWidth:_,ref:r,required:q,color:h,variant:K,ownerState:Y},X,{children:[null!=R&&""!==R&&(0,C.jsx)(y.Z,(0,a.Z)({htmlFor:ee,id:er},x,{children:R})),H?(0,C.jsx)(M.Z,(0,a.Z)({"aria-describedby":et,id:ee,labelId:er,value:G,input:ei},V,{children:u})):ei,w&&(0,C.jsx)(P,(0,a.Z)({id:et},b,{children:w}))]}))});var F=n(6714),B=o.forwardRef((t,r)=>{let n={...t};return n.select&&(n.SelectProps={IconComponent:F.M,...n.SelectProps||{}},"tiny"===n.size&&(n.SelectProps.MenuProps={...n.SelectProps?.MenuProps||{},MenuListProps:{dense:!0,...n.SelectProps?.MenuProps?.MenuListProps||{}}})),"tiny"===n.size&&(n.InputLabelProps={size:"tiny",...n.InputLabelProps||{}}),o.createElement(D,{...n,ref:r})})},84665:function(t,r,n){"use strict";n.d(r,{Z:()=>z});var i=n(2784),o=n(98283),a=n(7560),s=n(67239),l=n(59722),u=n(69917),c=n(69075),d=n(408),f=n(74692),h=n(65992),m=n(47746),g=n(43853),y=n(7342),v=n(6693),b=n(15198),_=n(78647),w=n(98659),S=n(85954),x=n(10331),E=n(57227),k=n(69222),C=n(15672);function O(t){return(0,C.ZP)("MuiTooltip",t)}let R=(0,k.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);var T=n(52322);let P=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"],M=t=>{let{classes:r,disableInteractive:n,arrow:i,touch:o,placement:a}=t,s={popper:["popper",!n&&"popperInteractive",i&&"popperArrow"],tooltip:["tooltip",i&&"tooltipArrow",o&&"touch",`tooltipPlacement${(0,y.Z)(a.split("-")[0])}`],arrow:["arrow"]};return(0,c.Z)(s,O,r)},I=(0,h.ZP)(b.Z,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.popper,!n.disableInteractive&&r.popperInteractive,n.arrow&&r.popperArrow,!n.open&&r.popperClose]}})(({theme:t,ownerState:r,open:n})=>(0,a.Z)({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!r.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},r.arrow&&{[`&[data-popper-placement*="bottom"] .${R.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${R.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${R.arrow}`]:(0,a.Z)({},r.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${R.arrow}`]:(0,a.Z)({},r.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),A=(0,h.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.tooltip,n.touch&&r.touch,n.arrow&&r.tooltipArrow,r[`tooltipPlacement${(0,y.Z)(n.placement.split("-")[0])}`]]}})(({theme:t,ownerState:r})=>(0,a.Z)({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:(0,d.alpha)(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},r.arrow&&{position:"relative",margin:0},r.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:`${Math.round(16/14*1e5)/1e5}em`,fontWeight:t.typography.fontWeightRegular},{[`.${R.popper}[data-popper-placement*="left"] &`]:(0,a.Z)({transformOrigin:"right center"},r.isRtl?(0,a.Z)({marginLeft:"14px"},r.touch&&{marginLeft:"24px"}):(0,a.Z)({marginRight:"14px"},r.touch&&{marginRight:"24px"})),[`.${R.popper}[data-popper-placement*="right"] &`]:(0,a.Z)({transformOrigin:"left center"},r.isRtl?(0,a.Z)({marginRight:"14px"},r.touch&&{marginRight:"24px"}):(0,a.Z)({marginLeft:"14px"},r.touch&&{marginLeft:"24px"})),[`.${R.popper}[data-popper-placement*="top"] &`]:(0,a.Z)({transformOrigin:"center bottom",marginBottom:"14px"},r.touch&&{marginBottom:"24px"}),[`.${R.popper}[data-popper-placement*="bottom"] &`]:(0,a.Z)({transformOrigin:"center top",marginTop:"14px"},r.touch&&{marginTop:"24px"})})),L=(0,h.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(t,r)=>r.arrow})(({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:(0,d.alpha)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})),N=!1,j=new l.V,D={x:0,y:0};function F(t,r){return(n,...i)=>{r&&r(n,...i),t(n,...i)}}let B=i.forwardRef(function(t,r){var n,c,d,h,y,k,C,O,R,B,$,U,z,q,Z,H,V,W,G;let K=(0,g.Z)({props:t,name:"MuiTooltip"}),{arrow:X=!1,children:Y,components:J={},componentsProps:Q={},describeChild:ee=!1,disableFocusListener:et=!1,disableHoverListener:er=!1,disableInteractive:en=!1,disableTouchListener:ei=!1,enterDelay:eo=100,enterNextDelay:ea=0,enterTouchDelay:es=700,followCursor:el=!1,id:eu,leaveDelay:ec=0,leaveTouchDelay:ed=1500,onClose:ep,onOpen:ef,open:eh,placement:em="bottom",PopperComponent:eg,PopperProps:ey={},slotProps:ev={},slots:eb={},title:e_,TransitionComponent:ew=v.Z,TransitionProps:eS}=K,ex=(0,o.Z)(K,P),eE=i.isValidElement(Y)?Y:(0,T.jsx)("span",{children:Y}),ek=(0,m.Z)(),eC=(0,f.V)(),[eO,eR]=i.useState(),[eT,eP]=i.useState(null),eM=i.useRef(!1),eI=en||el,eA=(0,l.Z)(),eL=(0,l.Z)(),eN=(0,l.Z)(),ej=(0,l.Z)(),[eD,eF]=(0,E.Z)({controlled:eh,default:!1,name:"Tooltip",state:"open"}),eB=eD,e$=(0,S.Z)(eu),eU=i.useRef(),ez=(0,_.Z)(()=>{void 0!==eU.current&&(document.body.style.WebkitUserSelect=eU.current,eU.current=void 0),ej.clear()});i.useEffect(()=>ez,[ez]);let eq=t=>{j.clear(),N=!0,eF(!0),ef&&!eB&&ef(t)},eZ=(0,_.Z)(t=>{j.start(800+ec,()=>{N=!1}),eF(!1),ep&&eB&&ep(t),eA.start(ek.transitions.duration.shortest,()=>{eM.current=!1})}),eH=t=>{eM.current&&"touchstart"!==t.type||(eO&&eO.removeAttribute("title"),eL.clear(),eN.clear(),eo||N&&ea?eL.start(N?ea:eo,()=>{eq(t)}):eq(t))},eV=t=>{eL.clear(),eN.start(ec,()=>{eZ(t)})},{isFocusVisibleRef:eW,onBlur:eG,onFocus:eK,ref:eX}=(0,x.Z)(),[,eY]=i.useState(!1),eJ=t=>{eG(t),!1===eW.current&&(eY(!1),eV(t))},eQ=t=>{eO||eR(t.currentTarget),eK(t),!0===eW.current&&(eY(!0),eH(t))},e0=t=>{eM.current=!0;let r=eE.props;r.onTouchStart&&r.onTouchStart(t)};i.useEffect(()=>{if(eB)return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)};function t(t){("Escape"===t.key||"Esc"===t.key)&&eZ(t)}},[eZ,eB]);let e1=(0,w.Z)(eE.ref,eX,eR,r);e_||0===e_||(eB=!1);let e2=i.useRef(),e5={},e3="string"==typeof e_;ee?(e5.title=eB||!e3||er?null:e_,e5["aria-describedby"]=eB?e$:null):(e5["aria-label"]=e3?e_:null,e5["aria-labelledby"]=eB&&!e3?e$:null);let e6=(0,a.Z)({},e5,ex,eE.props,{className:(0,s.Z)(ex.className,eE.props.className),onTouchStart:e0,ref:e1},el?{onMouseMove:t=>{let r=eE.props;r.onMouseMove&&r.onMouseMove(t),D={x:t.clientX,y:t.clientY},e2.current&&e2.current.update()}}:{}),e4={};ei||(e6.onTouchStart=t=>{e0(t),eN.clear(),eA.clear(),ez(),eU.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ej.start(es,()=>{document.body.style.WebkitUserSelect=eU.current,eH(t)})},e6.onTouchEnd=t=>{eE.props.onTouchEnd&&eE.props.onTouchEnd(t),ez(),eN.start(ed,()=>{eZ(t)})}),!er&&(e6.onMouseOver=F(eH,e6.onMouseOver),e6.onMouseLeave=F(eV,e6.onMouseLeave),eI||(e4.onMouseOver=eH,e4.onMouseLeave=eV)),!et&&(e6.onFocus=F(eQ,e6.onFocus),e6.onBlur=F(eJ,e6.onBlur),eI||(e4.onFocus=eQ,e4.onBlur=eJ));let e8=i.useMemo(()=>{var t;let r=[{name:"arrow",enabled:!!eT,options:{element:eT,padding:4}}];return null!=(t=ey.popperOptions)&&t.modifiers&&(r=r.concat(ey.popperOptions.modifiers)),(0,a.Z)({},ey.popperOptions,{modifiers:r})},[eT,ey]),e7=(0,a.Z)({},K,{isRtl:eC,arrow:X,disableInteractive:eI,placement:em,PopperComponentProp:eg,touch:eM.current}),e9=M(e7),te=null!=(n=null!=(c=eb.popper)?c:J.Popper)?n:I,tt=null!=(d=null!=(h=null!=(y=eb.transition)?y:J.Transition)?h:ew)?d:v.Z,tr=null!=(k=null!=(C=eb.tooltip)?C:J.Tooltip)?k:A,tn=null!=(O=null!=(R=eb.arrow)?R:J.Arrow)?O:L,ti=(0,u.$)(te,(0,a.Z)({},ey,null!=(B=ev.popper)?B:Q.popper,{className:(0,s.Z)(e9.popper,null==ey?void 0:ey.className,null==($=null!=(U=ev.popper)?U:Q.popper)?void 0:$.className)}),e7),to=(0,u.$)(tt,(0,a.Z)({},eS,null!=(z=ev.transition)?z:Q.transition),e7),ta=(0,u.$)(tr,(0,a.Z)({},null!=(q=ev.tooltip)?q:Q.tooltip,{className:(0,s.Z)(e9.tooltip,null==(Z=null!=(H=ev.tooltip)?H:Q.tooltip)?void 0:Z.className)}),e7),ts=(0,u.$)(tn,(0,a.Z)({},null!=(V=ev.arrow)?V:Q.arrow,{className:(0,s.Z)(e9.arrow,null==(W=null!=(G=ev.arrow)?G:Q.arrow)?void 0:W.className)}),e7);return(0,T.jsxs)(i.Fragment,{children:[i.cloneElement(eE,e6),(0,T.jsx)(te,(0,a.Z)({as:null!=eg?eg:b.Z,placement:em,anchorEl:el?{getBoundingClientRect:()=>({top:D.y,left:D.x,right:D.x,bottom:D.y,width:0,height:0})}:eO,popperRef:e2,open:!!eO&&eB,id:e$,transition:!0},e4,ti,{popperOptions:e8,children:({TransitionProps:t})=>(0,T.jsx)(tt,(0,a.Z)({timeout:ek.transitions.duration.shorter},t,to,{children:(0,T.jsxs)(tr,(0,a.Z)({},ta,{children:[e_,X?(0,T.jsx)(tn,(0,a.Z)({},ts,{ref:eP})):null]}))}))}))]})}),$={arrow:!0},U=i.forwardRef((t,r)=>i.createElement(B,{...$,...t,ref:r}));U.defaultProps=$;var z=U},29487:function(t,r,n){"use strict";n.d(r,{Z:()=>l});var i=n(2784),o=n(60758);let a={variantMapping:{display1:"h1",display2:"h2",display3:"h3",display4:"h4",display5:"h5",display6:"h6"}},s=i.forwardRef((t,r)=>{let n={...a,...t,variantMapping:{...a.variantMapping,...t.variantMapping}};return i.createElement(o.Z,{...n,ref:r})});s.defaultProps=a;var l=s},98982:function(t,r,n){"use strict";n.d(r,{f6:()=>eA});var i=n(2784),o=n(7560),a=n(98283);let s=i.createContext(null);function l(){return i.useContext(s)}let u="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var c=n(52322);let d=function(t){let{children:r,theme:n}=t,a=l(),d=i.useMemo(()=>{var t,r;let i=null===a?n:(t=a,"function"==typeof(r=n)?r(t):(0,o.Z)({},t,r));return null!=i&&(i[u]=null!==a),i},[n,a]);return(0,c.jsx)(s.Provider,{value:d,children:r})};var f=n(21039),h=n(38457),m=n(74692);let g=i.createContext(void 0),y=function({value:t,children:r}){return(0,c.jsx)(g.Provider,{value:t,children:r})},v={};function b(t,r,n,a=!1){return i.useMemo(()=>{let i=t&&r[t]||r;if("function"==typeof n){let s=n(i),l=t?(0,o.Z)({},r,{[t]:s}):s;return a?()=>l:l}return t?(0,o.Z)({},r,{[t]:n}):(0,o.Z)({},r,n)},[t,r,n,a])}let _=function(t){let{children:r,theme:n,themeId:i}=t,o=(0,h.Z)(v),a=l()||v,s=b(i,o,n),u=b(i,a,n,!0),g="rtl"===s.direction;return(0,c.jsx)(d,{theme:u,children:(0,c.jsx)(f.T.Provider,{value:s,children:(0,c.jsx)(m.Z,{value:g,children:(0,c.jsx)(y,{value:null==s?void 0:s.components,children:r})})})})};var w=n(16912);let S=["theme"];function x(t){let{theme:r}=t,n=(0,a.Z)(t,S),i=r[w.Z];return(0,c.jsx)(_,(0,o.Z)({},n,{themeId:i?w.Z:void 0,theme:i||r}))}let E="#FFFFFF",k="#f1f3f3",C="#d5d8dc",O="#babfc5",R="#9da5ae",T="#818a96",P="#69727d",M="#515962",I="#3f444b",A="#1f2124",L="#0c0d0e",N="#f3bafd",j="#f0abfc",D="#eb8efb",F="#ef4444",B="#dc2626",$="#b91c1c",U="#b15211",z="#3b82f6",q="#2563eb",Z="#1d4ed8",H="#10b981",V="#0a875a",W="#047857",G="#99f6e4",K="#5eead4",X="#2adfcd",Y="#b51243",J="#93003f",Q="#7e013b";var ee=n(90449),et=n(54824);let er={styleOverrides:{root:()=>({boxShadow:"none","&:hover":{boxShadow:"none"}})},variants:et.uD.map(t=>({props:{variant:"contained",color:t},style:({theme:r})=>({"& .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 ${r.palette[t].dark}`},"& .MuiButtonGroup-grouped:not(:last-child).Mui-disabled, & > *:not(:last-child) .MuiButtonGroup-grouped.Mui-disabled":{borderRight:`1px solid ${r.palette.action.disabled}`}})}))};var en=n(47591);let ei={variants:[{props:{color:"primary",variant:"outlined"},style:({theme:t})=>({color:t.palette.primary.__unstableAccessibleMain,borderColor:t.palette.primary.__unstableAccessibleMain,"& .MuiChip-deleteIcon":{color:t.palette.primary.__unstableAccessibleLight,"&:hover":{color:t.palette.primary.__unstableAccessibleMain}}})},{props:{color:"global",variant:"outlined"},style:({theme:t})=>({color:t.palette.global.__unstableAccessibleMain,borderColor:t.palette.global.__unstableAccessibleMain,"& .MuiChip-deleteIcon":{color:t.palette.global.__unstableAccessibleLight,"&:hover":{color:t.palette.global.__unstableAccessibleMain}}})},{props:{color:"default",variant:"filled"},style:({theme:t})=>({backgroundColor:"light"===t.palette.mode?"#EBEBEB":"#434547","&.Mui-focusVisible, &.MuiChip-clickable:hover":{backgroundColor:t.palette.action.focus},"& .MuiChip-icon":{color:"inherit"}})},...eo(["default"],function(t){return{backgroundColor:{light:"#EBEBEB",dark:"#434547"},backgroundColorHover:{light:t.palette.action.focus,dark:t.palette.action.focus},color:{light:t.palette.text.primary,dark:t.palette.text.primary},deleteIconOpacity:.26,deleteIconOpacityHover:.7}}),...eo(["primary","global"],function(t,r){let n=t.palette[r];return{backgroundColor:{light:(0,en.$n)(n.light,.8),dark:(0,en._j)(n.__unstableAccessibleMain,.8)},backgroundColorHover:{light:(0,en.$n)(n.light,.6),dark:(0,en._j)(n.__unstableAccessibleMain,.9)},color:{light:(0,en._j)(n.__unstableAccessibleMain,.3),dark:(0,en.$n)(n.light,.3)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),...eo(et.Qf,function(t,r){return{backgroundColor:{light:(0,en.$n)(t.palette[r].light,.9),dark:(0,en._j)(t.palette[r].light,.8)},backgroundColorHover:{light:(0,en.$n)(t.palette[r].light,.8),dark:(0,en._j)(t.palette[r].light,.9)},color:{light:(0,en._j)(t.palette[r].main,.3),dark:(0,en.$n)(t.palette[r].main,.5)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),{props:{size:"tiny"},style:()=>({fontSize:ee.tw,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 eo(t,r){return t.map(t=>({props:{color:t,variant:"standard"},style:({theme:n})=>{let i=r(n,t),{mode:o}=n.palette;return{backgroundColor:i.backgroundColor[o],color:i.color[o],"&.Mui-focusVisible, &.MuiChip-clickable:hover":{backgroundColor:i.backgroundColorHover[o]},"& .MuiChip-icon":{color:"inherit"},"& .MuiChip-deleteIcon":{color:i.color[o],opacity:i.deleteIconOpacity,"&:hover,&:focus":{color:i.color[o],opacity:i.deleteIconOpacityHover}}}}}))}let ea="1rem",es="0.75rem";var el={MuiAccordion:{styleOverrides:{root:({theme:t})=>({backgroundColor:t.palette.background.default,"&:before":{content:"none"},"&.Mui-expanded":{margin:0},"&.MuiAccordion-gutters + .MuiAccordion-root.MuiAccordion-gutters":{marginTop:t.spacing(1),marginBottom:t.spacing(0)},"&:not(.MuiAccordion-gutters) + .MuiAccordion-root:not(.MuiAccordion-gutters)":{borderTop:0},"&.Mui-disabled":{backgroundColor:t.palette.background.default}})},variants:[{props:{square:!1},style:({theme:t})=>{let r=t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[3];return{"&:first-of-type":{borderTopLeftRadius:r,borderTopRightRadius:r},"&:last-of-type":{borderBottomLeftRadius:r,borderBottomRightRadius:r}}}}]},MuiAccordionActions:{styleOverrides:{root:({theme:t})=>({padding:t.spacing(2)})}},MuiAccordionSummary:{styleOverrides:{root:()=>({minHeight:"64px"}),content:({theme:t})=>({margin:t.spacing(1,0),"&.MuiAccordionSummary-content.Mui-expanded":{margin:t.spacing(1,0)}})}},MuiAccordionSummaryIcon:{styleOverrides:{root:({theme:t})=>({padding:t.spacing(1,0)})}},MuiAccordionSummaryText:{styleOverrides:{root:({theme:t})=>({marginTop:0,marginBottom:0,padding:t.spacing(1,0)})}},MuiAutocomplete:{styleOverrides:{listbox:({theme:t})=>({"&.MuiAutocomplete-listboxSizeTiny":{fontSize:"0.875rem"},'&.MuiAutocomplete-listbox .MuiAutocomplete-option[aria-selected="true"]':{"&,&.Mui-Mui-focused":{backgroundColor:t.palette.action.selected}}})},variants:[{props:{size:"tiny"},style:()=>({"& .MuiOutlinedInput-root":{padding:"2.5px 0","& .MuiAutocomplete-input":{lineHeight:ee.Z0,height:ee.Z0,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:ee.tw},"&.MuiAutocomplete-hasPopupIcon.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root .MuiAutocomplete-input":{paddingRight:"48px"}})},{props:{size:"tiny",multiple:!0},style:()=>({"& .MuiAutocomplete-tag":{margin:"1.5px 3px"}})}]},MuiAvatar:{variants:[{props:{variant:"rounded"},style:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiButton:{styleOverrides:{root:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2],boxShadow:"none",whiteSpace:"nowrap","&:hover":{boxShadow:"none"},"& .MuiSvgIcon-root":{fill:"currentColor"}})},variants:[{props:{color:"primary",variant:"outlined"},style:({theme:t})=>({color:t.palette.primary.__unstableAccessibleMain,borderColor:t.palette.primary.__unstableAccessibleMain,"&:hover":{borderColor:t.palette.primary.__unstableAccessibleMain}})},{props:{color:"primary",variant:"text"},style:({theme:t})=>({color:t.palette.primary.__unstableAccessibleMain})},{props:{color:"global",variant:"outlined"},style:({theme:t})=>({color:t.palette.global.__unstableAccessibleMain,borderColor:t.palette.global.__unstableAccessibleMain,"&:hover":{borderColor:t.palette.global.__unstableAccessibleMain}})},{props:{color:"global",variant:"text"},style:({theme:t})=>({color:t.palette.global.__unstableAccessibleMain})}]},MuiButtonBase:{styleOverrides:{root:()=>({"&.MuiButtonBase-root.Mui-focusVisible":{boxShadow:"0 0 0 1px inset"},".MuiCircularProgress-root":{fontSize:"inherit"}})}},MuiButtonGroup:er,MuiCard:{defaultProps:{},styleOverrides:{root:()=>({position:"relative"})}},MuiCardActions:{styleOverrides:{root:({theme:t})=>({justifyContent:"flex-end",padding:t.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:ei,MuiCircularProgress:{styleOverrides:{root:({theme:t})=>({fontSize:t.spacing(5)})}},MuiDialog:{styleOverrides:{paper:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[4]})}},MuiDialogActions:{styleOverrides:{root:({theme:t})=>({padding:t.spacing(2,3)})}},MuiDialogContent:{styleOverrides:{dividers:()=>({"&:last-child":{borderBottom:"none"}})}},MuiFilledInput:{styleOverrides:{root:({theme:t})=>({borderTopLeftRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2],borderTopRightRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{size:"tiny"},style:({theme:t})=>({fontSize:ee.tw,lineHeight:ee.n5,"& .MuiInputBase-input":{fontSize:ee.tw,lineHeight:ee.n5,height:ee.n5,padding:"15px 8px 6px"},"&.MuiInputBase-adornedStart":{paddingLeft:t.spacing(1)},"&.MuiInputBase-adornedEnd":{paddingRight:t.spacing(1)},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart:not(.MuiInputAdornment-hiddenLabel)":{marginTop:t.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:t})=>({color:t.palette.text.tertiary,margin:t.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:t})=>({...t.typography.body2})}]},MuiIconButton:{variants:[{props:{color:"primary"},style:({theme:t})=>({color:t.palette.primary.__unstableAccessibleMain})},{props:{color:"global"},style:({theme:t})=>({color:t.palette.global.__unstableAccessibleMain})},{props:{edge:"start",size:"small"},style:({theme:t})=>({marginLeft:t.spacing(-1.5)})},{props:{edge:"end",size:"small"},style:({theme:t})=>({marginRight:t.spacing(-1.5)})},{props:{edge:"start",size:"large"},style:({theme:t})=>({marginLeft:t.spacing(-2)})},{props:{edge:"end",size:"large"},style:({theme:t})=>({marginRight:t.spacing(-2)})},{props:{size:"tiny"},style:({theme:t})=>({padding:t.spacing(.75)})},{props:{size:"tiny",edge:"start"},style:({theme:t})=>({marginLeft:t.spacing(-1)})},{props:{size:"tiny",edge:"end"},style:({theme:t})=>({marginRight:t.spacing(-1)})}]},MuiInput:{variants:[{props:{size:"tiny"},style:({theme:t})=>({fontSize:ee.tw,lineHeight:ee.Di,"&.MuiInput-root":{marginTop:t.spacing(1.5)},"& .MuiInputBase-input":{fontSize:ee.tw,lineHeight:ee.Di,height:ee.Di,padding:"6.5px 0"}})}]},MuiInputAdornment:{styleOverrides:{root:({theme:t})=>({"&.MuiInputAdornment-sizeTiny":{"&.MuiInputAdornment-positionStart":{marginRight:t.spacing(.5)},"&.MuiInputAdornment-positionEnd":{marginLeft:t.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:t})=>({color:t.palette.text.primary,"a&":{[ee.Nt]:{color:t.palette.text.primary}}})}},MuiListItemButton:{styleOverrides:{root:({theme:t})=>({color:t.palette.text.primary,"&.Mui-selected":{backgroundColor:t.palette.action.selected,"&:hover":{backgroundColor:t.palette.action.selected},"&:focus":{backgroundColor:t.palette.action.focus}},"a&":{[ee.Nt]:{color:t.palette.text.primary}}})}},MuiListItemIcon:{styleOverrides:{root:({theme:t})=>({minWidth:"initial","&:not(:last-child)":{marginRight:t.spacing(1)}})}},MuiListItemText:{styleOverrides:{root:({theme:t})=>({color:t.palette.text.primary})}},MuiListSubheader:{styleOverrides:{root:({theme:t})=>({backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12))",lineHeight:"36px",color:t.palette.text.secondary})}},MuiMenuItem:{styleOverrides:{root:({theme:t})=>({"&.Mui-selected":{backgroundColor:t.palette.action.selected,"&:hover":{backgroundColor:t.palette.action.selected},"&:focus":{backgroundColor:t.palette.action.focus}},"a&":{[ee.Nt]:{color:t.palette.text.primary}},"& .MuiListItemIcon-root":{minWidth:"initial"}})}},MuiOutlinedInput:{styleOverrides:{root:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2],"&.Mui-focused .MuiInputAdornment-root .MuiOutlinedInput-notchedOutline":{borderColor:"dark"===t.palette.mode?"rgba(255, 255, 255, 0.23)":"rgba(0, 0, 0, 0.23)",borderWidth:"1px"}})},variants:[{props:{size:"tiny"},style:({theme:t})=>({fontSize:ee.tw,lineHeight:ee.Z0,"&.MuiInputBase-adornedStart":{paddingLeft:t.spacing(1)},"&.MuiInputBase-adornedEnd":{paddingRight:t.spacing(1)},"& .MuiInputBase-input":{fontSize:ee.tw,lineHeight:ee.Z0,height:ee.Z0,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:t=>!!t.endAdornment&&"tiny"===t.size,style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{"&.MuiSelect-standard":{paddingTop:0,paddingBottom:0},"&.MuiSelect-outlined,&.MuiSelect-filled":{paddingTop:"4px",paddingBottom:"4px"}}})},{props:t=>!!t.endAdornment&&"small"===t.size,style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{paddingTop:"2.5px",paddingBottom:"2.5px"}})},{props:t=>!!t.endAdornment&&("medium"===t.size||!t.size),style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{paddingTop:"8.5px",paddingBottom:"8.5px"}})}]},MuiPagination:{variants:[{props:{shape:"rounded"},style:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiPaper:{variants:[{props:{square:!1},style:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[3]})}]},MuiSelect:{styleOverrides:{nativeInput:()=>({".MuiInputBase-root.Mui-disabled &":{backgroundColor:"initial",opacity:0}})},variants:[{props:{size:"tiny"},style:()=>({"& .MuiSelect-icon":{fontSize:ea,right:"9px"},"& .MuiSelect-select.MuiSelect-outlined, & .MuiSelect-select.MuiSelect-filled":{minHeight:ee.Z0},"& .MuiSelect-select.MuiSelect-standard":{lineHeight:ee.Di,minHeight:ee.Di}})}]},MuiSkeleton:{variants:[{props:{variant:"rounded"},style:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiSnackbarContent:{defaultProps:{},styleOverrides:{root:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2]})}},MuiStepConnector:{styleOverrides:{root:({theme:t})=>({"& .MuiStepConnector-line":{borderColor:t.palette.divider}})}},MuiStepIcon:{styleOverrides:{root:({theme:t})=>({"&:not(.Mui-active) .MuiStepIcon-text":{fill:t.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:t})=>({fontSize:es,lineHeight:1.6,padding:t.spacing(.75,1),minWidth:72,"&:not(.MuiTab-labelIcon)":{minHeight:32},"&.MuiTab-labelIcon":{minHeight:32}})}]},MuiTableRow:{styleOverrides:{root:({theme:t})=>({"&.Mui-selected":{backgroundColor:t.palette.action.selected,"&:hover":{backgroundColor:t.palette.action.selected}}})},variants:[{props:t=>"onClick"in t,style:()=>({cursor:"pointer"})}]},MuiTabPanel:{styleOverrides:{root:({theme:t})=>({color:t.palette.text.primary})}},MuiTabs:{styleOverrides:{indicator:{height:"3px"}},variants:[{props:{size:"small"},style:({theme:t})=>({minHeight:32,"& .MuiTab-root":{fontSize:es,lineHeight:1.6,padding:t.spacing(.75,1),minWidth:72,"&:not(.MuiTab-labelIcon)":{minHeight:32},"&.MuiTab-labelIcon":{minHeight:32}}})}]},MuiTextField:{styleOverrides:{root:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2],"& legend":{transition:"unset"}})},variants:[{props:{size:"tiny",select:!0},style:()=>({"& .MuiSelect-icon":{fontSize:ea,right:"9px"},"& .MuiInputBase-root .MuiSelect-select":{minHeight:"auto"}})}]},MuiToggleButton:{styleOverrides:{root:({theme:t})=>({borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{color:"primary"},style:({theme:t})=>({"&.MuiToggleButton-root.Mui-selected":{color:t.palette.primary.__unstableAccessibleMain}})},{props:{color:"global"},style:({theme:t})=>({"&.MuiToggleButton-root.Mui-selected":{color:t.palette.global.__unstableAccessibleMain}})},{props:{size:"tiny"},style:({theme:t})=>({fontSize:ee.tw,lineHeight:1.3334,padding:t.spacing(.625)})}]},MuiTooltip:{styleOverrides:{arrow:({theme:t})=>({color:t.palette.grey[700]}),tooltip:({theme:t})=>({backgroundColor:t.palette.grey[700],borderRadius:t.shape.borderRadius*t.shape.__unstableBorderRadiusMultipliers[1]})}}};let eu={components:el,shape:{borderRadius:ee.dG,__unstableBorderRadiusMultipliers:ee.jw},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}},ec={...eu,palette:{mode:"light",primary:{main:j,light:N,dark:D,contrastText:L,[ee.nI]:"#C00BB9",[ee.f9]:"#D355CE"},secondary:{main:M,light:P,dark:I,contrastText:E},grey:{50:k,100:C,200:O,300:R,400:T,500:P,600:M,700:I,800:A,900:L},text:{primary:L,secondary:I,tertiary:P,disabled:R},background:{paper:E,default:E},success:{main:V,light:H,dark:W,contrastText:E},error:{main:B,light:F,dark:$,contrastText:E},warning:{main:"#bb5b1d",light:"#d97706",dark:U,contrastText:E},info:{main:q,light:z,dark:Z,contrastText:E},global:{main:K,light:G,dark:X,contrastText:L,[ee.nI]:"#17929B",[ee.f9]:"#5DB3B9"},accent:{main:J,light:Y,dark:Q,contrastText:E},promotion:{main:J,light:Y,dark:Q,contrastText:E},decorative:{main:K,light:G,dark:X,contrastText:L},neutral:{main:"#ffffff",light:"#ffffff",dark:"#ffffff",contrastText:"#ffffff"}}},ed={...eu,palette:{mode:"dark",primary:{main:j,light:N,dark:D,contrastText:L,[ee.nI]:"#C00BB9",[ee.f9]:"#D355CE"},secondary:{main:R,light:O,dark:T,contrastText:L},grey:{50:k,100:C,200:O,300:R,400:T,500:P,600:M,700:I,800:A,900:L},text:{primary:E,secondary:O,tertiary:R,disabled:M},background:{paper:L,default:A},success:{main:V,light:H,dark:W,contrastText:E},error:{main:B,light:F,dark:$,contrastText:E},warning:{main:"#f59e0b",light:"#fbbf24",dark:U,contrastText:"#000000"},info:{main:q,light:z,dark:Z,contrastText:E},global:{main:K,light:G,dark:X,contrastText:L,[ee.nI]:"#17929B",[ee.f9]:"#5DB3B9"},accent:{main:J,light:Y,dark:Q,contrastText:E},promotion:{main:J,light:Y,dark:Q,contrastText:E},decorative:{main:K,light:G,dark:X,contrastText:L},neutral:{main:"#ffffff",light:"#ffffff",dark:"#ffffff",contrastText:"#ffffff"}}};var ep=n(27149);function ef(t){if("object"!=typeof t||null===t)return!1;let r=Object.getPrototypeOf(t);return(null===r||r===Object.prototype||null===Object.getPrototypeOf(r))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}var eh=n(6900);let em="#524CFF",eg={primary:{main:em,light:"#6B65FF",dark:"#4C43E5",contrastText:"#FFFFFF",[ee.nI]:ee.il,[ee.f9]:ee.ln},action:{selected:(0,en.Fq)(em,ee.tH)}},ey={primary:{main:A,light:I,dark:L,contrastText:"#FFFFFF",[ee.nI]:A,[ee.f9]:I},accent:{main:j,light:N,dark:D,contrastText:L}},ev="#FFFFFF",eb={primary:{main:k,light:ev,dark:C,contrastText:L,[ee.nI]:k,[ee.f9]:ev},accent:{main:j,light:N,dark:D,contrastText:L}},e_={primary:{main:A,light:I,dark:L,contrastText:"#FFFFFF",[ee.nI]:A,[ee.f9]:I},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"}},ew="#FFFFFF",eS={primary:{main:k,light:ew,dark:C,contrastText:L,[ee.nI]:k,[ee.f9]:ew},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"}},ex=(0,i.createContext)(null),eE=({value:t,children:r})=>i.createElement(ex.Provider,{value:t},r),ek=()=>(0,i.useContext)(ex),eC={zIndex:eu.zIndex};function eO(t){return t?eR(t,{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:!0}):{}}function eR(t,r){if(!t||!r)return{};let n={};return Object.entries(r).forEach(([r,i])=>{if(t[r]){if("boolean"==typeof i){n[r]=t[r];return}if(Array.isArray(i)){let o=t[r];i.forEach(t=>{o?.[t]!==void 0&&(n[r]={...n[r],[t]:o[t]})})}}}),n}let eT=new Map,eP=(t,r=!1,n=!1)=>{if(!t.name)throw Error("Custom theme must have a name");let i=`${t.name}-${r}-${n}`;if(eT.has(i))return eT.get(i);let o={typography:{subtitle1:{fontWeight:500,lineHeight:1.3},subtitle2:{lineHeight:1.3}}};n&&(o.direction="rtl");let a=function(t,r){let n={components:el};return r&&t.palette?.dark?n.palette={...ed.palette,...eO(t.palette.dark),mode:"dark"}:t.palette?.light&&(n.palette={...ec.palette,...eO(t.palette.light)}),t.shadows&&(n.shadows=t.shadows),t.shape&&(n.shape=t.shape),t.typography&&(n.typography=function(t={}){return t?eR(t,{fontFamily:!0,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"]}):{}}(t.typography)),t.zIndex&&(n.zIndex=t.zIndex),n}(t,r),s=(0,eh.j)(a,o);return eT.set(i,s),s},eM=({palette:t="default",rtl:r=!1,isDarkMode:n=!1}={})=>{let i=`${t}-${n}-${r}`;if(eT.has(i))return eT.get(i);let o=n?ed:ec,a={};"marketing-suite"===t&&(a.palette=eg),"unstable"===t&&(a.palette=n?eb:ey,a.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]}),"argon-beta"===t&&(a.palette=n?eS:e_,a.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]}),r&&(a.direction="rtl");let s=(0,eh.j)(o,a);return eT.set(i,s),s},eI=(t,r)=>{if(!r)return t;let n={};return["zIndex"].forEach(t=>{t in r&&(n[t]=r[t])}),function t(r,n,a={clone:!0}){let s=a.clone?(0,o.Z)({},r):r;return ef(r)&&ef(n)&&Object.keys(n).forEach(o=>{i.isValidElement(n[o])?s[o]=n[o]:ef(n[o])&&Object.prototype.hasOwnProperty.call(r,o)&&ef(r[o])?s[o]=t(r[o],n[o],a):a.clone?s[o]=ef(n[o])?function t(r){if(i.isValidElement(r)||!ef(r))return r;let n={};return Object.keys(r).forEach(i=>{n[i]=t(r[i])}),n}(n[o]):n[o]:s[o]=n[o]}),s}(t,n,{clone:!0})},eA=(0,f.w)(({colorScheme:t,palette:r,children:n,overrides:o,unstableThemeV0:a},s)=>{let l=ek(),u=s.key===ee.c3,c=t||l?.colorScheme||"auto",d=(0,ep.Z)("(prefers-color-scheme: dark)"),f="auto"===c&&d||"dark"===c,h=function(t,r){if(!t)return r;if("function"!=typeof t)return console.error("overrides must be a function"),r;let n=t(structuredClone(r||eC));return n&&"object"==typeof n?n:(console.error("overrides function must return an object"),r)}(o,l?.overrides),m=a?.name||r||l?.themeName,g=a||l?.customTheme,y=g?eP(g,f,u):eM({rtl:u,isDarkMode:f,palette:r||l?.themeName});return h&&(y=eI(y,h)),i.createElement(eE,{value:{colorScheme:t,themeName:m,overrides:h,customTheme:g}},i.createElement(x,{theme:y},n))})},6900:function(t,r,n){"use strict";n.d(r,{j:()=>a});var i=n(64379),o=n(90449);let a=(t,...r)=>{let n={...t};return n.shape={borderRadius:o.dG,__unstableBorderRadiusMultipliers:o.jw,...n.shape},(0,i.Z)(n,...r)}},96825:function(t,r,n){"use strict";n.d(r,{z:()=>c});var i=n(16912),o=n(95524),a=n(6900);let s=t=>"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t&&"classes"!==t,l=(0,a.j)({}),u=(0,o.default)({themeId:i.Z,defaultTheme:l,rootShouldForwardProp:s}),c=(t,r)=>{if(!r?.shouldForwardProp)return u(t,r);let n=r.shouldForwardProp,i={...r};return i.shouldForwardProp=t=>s(t)&&n(t),u(t,i)}},54824:function(t,r,n){"use strict";n.d(r,{Qf:()=>a,l1:()=>o,uD:()=>i});let i=["primary","secondary","error","warning","info","success","accent","global","promotion","decorative","neutral"],o=["primary","global"],a=i.filter(t=>!o.includes(t))},90449:function(t,r,n){"use strict";n.d(r,{Di:()=>c,HE:()=>m,Nt:()=>i,Z0:()=>d,c3:()=>g,dG:()=>y,f9:()=>a,il:()=>s,jw:()=>v,ln:()=>l,n5:()=>f,nI:()=>o,tH:()=>h,tw:()=>u});let i="&:hover,&:focus,&:active,&:visited",o="__unstableAccessibleMain",a="__unstableAccessibleLight",s="#524CFF",l="#6B65FF",u="0.75rem",c="1.25em",d="1.25em",f="1.25em",h=.08,m="eui",g="eui-rtl",y=4,v=[0,1,1,1,1]},24309:function(t,r,n){"use strict";n.d(r,{N:()=>i});let i=(t,r)=>{let n={},i={};return r.forEach(r=>{i[r]=`Mui${t}-${r}`,n[r]={slot:r,name:`Mui${t}`}}),{slots:n,classNames:i}}},90795:function(t,r,n){"use strict";n.d(r,{Z:()=>i});var i=n(27149).Z},75915:function(t,r,n){"use strict";n.d(r,{Z:()=>s});var i=n(2784),o=n(39086);let a=0;var s=({popupId:t,...r})=>{let n=(0,i.useRef)(t||`eui-popup-${a++}`);return(0,o.o_)({...r,popupId:n.current})}},98269:function(t,r,n){"use strict";n.d(r,{Z:()=>V});var i=n(11168),o=Math.abs,a=String.fromCharCode,s=Object.assign;function l(t,r,n){return t.replace(r,n)}function u(t,r){return t.indexOf(r)}function c(t,r){return 0|t.charCodeAt(r)}function d(t,r,n){return t.slice(r,n)}function f(t){return t.length}function h(t,r){return r.push(t),t}var m=1,g=1,y=0,v=0,b=0,_="";function w(t,r,n,i,o,a,s){return{value:t,root:r,parent:n,type:i,props:o,children:a,line:m,column:g,length:s,return:""}}function S(t,r){return s(w("",null,null,"",null,null,0),t,{length:-t.length},r)}function x(){return b=v<y?c(_,v++):0,g++,10===b&&(g=1,m++),b}function E(){return c(_,v)}function k(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function C(t){return m=g=1,y=f(_=t),v=0,[]}function O(t){var r,n;return(r=v-1,n=function t(r){for(;x();)switch(b){case r:return v;case 34:case 39:34!==r&&39!==r&&t(b);break;case 40:41===r&&t(r);break;case 92:x()}return v}(91===t?t+2:40===t?t+1:t),d(_,r,n)).trim()}var R="-ms-",T="-moz-",P="-webkit-",M="comm",I="rule",A="decl",L="@keyframes";function N(t,r){for(var n="",i=t.length,o=0;o<i;o++)n+=r(t[o],o,t,r)||"";return n}function j(t,r,n,i){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case A:return t.return=t.return||t.value;case M:return"";case L:return t.return=t.value+"{"+N(t.children,i)+"}";case I:t.value=t.props.join(",")}return f(n=N(t.children,i))?t.return=t.value+"{"+n+"}":""}function D(t,r,n,i,a,s,u,c,f,h,m){for(var g=a-1,y=0===a?s:[""],v=y.length,b=0,_=0,S=0;b<i;++b)for(var x=0,E=d(t,g+1,g=o(_=u[b])),k=t;x<v;++x)(k=(_>0?y[x]+" "+E:l(E,/&\f/g,y[x])).trim())&&(f[S++]=k);return w(t,r,n,0===a?I:c,f,h,m)}function F(t,r,n,i){return w(t,r,n,A,d(t,0,i),d(t,i+1,-1),i)}var B=function(t,r,n){for(var i=0,o=0;i=o,o=E(),38===i&&12===o&&(r[n]=1),!k(o);)x();return d(_,t,v)},$=function(t,r){var n=-1,i=44;do switch(k(i)){case 0:38===i&&12===E()&&(r[n]=1),t[n]+=B(v-1,r,n);break;case 2:t[n]+=O(i);break;case 4:if(44===i){t[++n]=58===E()?"&\f":"",r[n]=t[n].length;break}default:t[n]+=a(i)}while(i=x());return t},U=function(t,r){var n;return n=$(C(t),r),_="",n},z=new WeakMap,q=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===r.charCodeAt(0)||z.get(n))&&!i){z.set(t,!0);for(var o=[],a=U(r,o),s=n.props,l=0,u=0;l<a.length;l++)for(var c=0;c<s.length;c++,u++)t.props[u]=o[l]?a[l].replace(/&\f/g,s[c]):s[c]+" "+a[l]}}},Z=function(t){if("decl"===t.type){var r=t.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(t.return="",t.value="")}},H=[function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case A:t.return=function t(r,n){switch(45^c(r,0)?(((n<<2^c(r,0))<<2^c(r,1))<<2^c(r,2))<<2^c(r,3):0){case 5103:return P+"print-"+r+r;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 P+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return P+r+T+r+R+r+r;case 6828:case 4268:return P+r+R+r+r;case 6165:return P+r+R+"flex-"+r+r;case 5187:return P+r+l(r,/(\w+).+(:[^]+)/,P+"box-$1$2"+R+"flex-$1$2")+r;case 5443:return P+r+R+"flex-item-"+l(r,/flex-|-self/,"")+r;case 4675:return P+r+R+"flex-line-pack"+l(r,/align-content|flex-|-self/,"")+r;case 5548:return P+r+R+l(r,"shrink","negative")+r;case 5292:return P+r+R+l(r,"basis","preferred-size")+r;case 6060:return P+"box-"+l(r,"-grow","")+P+r+R+l(r,"grow","positive")+r;case 4554:return P+l(r,/([^-])(transform)/g,"$1"+P+"$2")+r;case 6187:return l(l(l(r,/(zoom-|grab)/,P+"$1"),/(image-set)/,P+"$1"),r,"")+r;case 5495:case 3959:return l(r,/(image-set\([^]*)/,P+"$1$`$1");case 4968:return l(l(r,/(.+:)(flex-)?(.*)/,P+"box-pack:$3"+R+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+P+r+r;case 4095:case 3583:case 4068:case 2532:return l(r,/(.+)-inline(.+)/,P+"$1$2")+r;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(f(r)-1-n>6)switch(c(r,n+1)){case 109:if(45!==c(r,n+4))break;case 102:return l(r,/(.+:)(.+)-([^]+)/,"$1"+P+"$2-$3$1"+T+(108==c(r,n+3)?"$3":"$2-$3"))+r;case 115:return~u(r,"stretch")?t(l(r,"stretch","fill-available"),n)+r:r}break;case 4949:if(115!==c(r,n+1))break;case 6444:switch(c(r,f(r)-3-(~u(r,"!important")&&10))){case 107:return l(r,":",":"+P)+r;case 101:return l(r,/(.+:)([^;!]+)(;|!.+)?/,"$1"+P+(45===c(r,14)?"inline-":"")+"box$3$1"+P+"$2$3$1"+R+"$2box$3")+r}break;case 5936:switch(c(r,n+11)){case 114:return P+r+R+l(r,/[svh]\w+-[tblr]{2}/,"tb")+r;case 108:return P+r+R+l(r,/[svh]\w+-[tblr]{2}/,"tb-rl")+r;case 45:return P+r+R+l(r,/[svh]\w+-[tblr]{2}/,"lr")+r}return P+r+R+r+r}return r}(t.value,t.length);break;case L:return N([S(t,{value:l(t.value,"@","@"+P)})],i);case I:if(t.length){var o,a;return o=t.props,a=function(r){var n;switch(n=r,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return N([S(t,{props:[l(r,/:(read-\w+)/,":"+T+"$1")]})],i);case"::placeholder":return N([S(t,{props:[l(r,/:(plac\w+)/,":"+P+"input-$1")]}),S(t,{props:[l(r,/:(plac\w+)/,":"+T+"$1")]}),S(t,{props:[l(r,/:(plac\w+)/,R+"input-$1")]})],i)}return""},o.map(a).join("")}}}],V=function(t){var r,n,o,s,y,S=t.key;if("css"===S){var R=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(R,function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))})}var T=t.stylisPlugins||H,P={},I=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+S+' "]'),function(t){for(var r=t.getAttribute("data-emotion").split(" "),n=1;n<r.length;n++)P[r[n]]=!0;I.push(t)});var A=(n=(r=[q,Z].concat(T,[j,(o=function(t){y.insert(t)},function(t){!t.root&&(t=t.return)&&o(t)})])).length,function(t,i,o,a){for(var s="",l=0;l<n;l++)s+=r[l](t,i,o,a)||"";return s}),L=function(t){var r,n;return N((n=function t(r,n,i,o,s,y,S,C,R){for(var T,P=0,I=0,A=S,L=0,N=0,j=0,B=1,$=1,U=1,z=0,q="",Z=s,H=y,V=o,W=q;$;)switch(j=z,z=x()){case 40:if(108!=j&&58==c(W,A-1)){-1!=u(W+=l(O(z),"&","&\f"),"&\f")&&(U=-1);break}case 34:case 39:case 91:W+=O(z);break;case 9:case 10:case 13:case 32:W+=function(t){for(;b=E();)if(b<33)x();else break;return k(t)>2||k(b)>3?"":" "}(j);break;case 92:W+=function(t,r){for(var n;--r&&x()&&!(b<48)&&!(b>102)&&(!(b>57)||!(b<65))&&(!(b>70)||!(b<97)););return n=v+(r<6&&32==E()&&32==x()),d(_,t,n)}(v-1,7);continue;case 47:switch(E()){case 42:case 47:h((T=function(t,r){for(;x();)if(t+b===57)break;else if(t+b===84&&47===E())break;return"/*"+d(_,r,v-1)+"*"+a(47===t?t:x())}(x(),v),w(T,n,i,M,a(b),d(T,2,-2),0)),R);break;default:W+="/"}break;case 123*B:C[P++]=f(W)*U;case 125*B:case 59:case 0:switch(z){case 0:case 125:$=0;case 59+I:-1==U&&(W=l(W,/\f/g,"")),N>0&&f(W)-A&&h(N>32?F(W+";",o,i,A-1):F(l(W," ","")+";",o,i,A-2),R);break;case 59:W+=";";default:if(h(V=D(W,n,i,P,I,s,C,q,Z=[],H=[],A),y),123===z)if(0===I)t(W,n,V,V,Z,y,A,C,H);else switch(99===L&&110===c(W,3)?100:L){case 100:case 108:case 109:case 115:t(r,V,V,o&&h(D(r,V,V,0,0,s,C,q,s,Z=[],A),H),s,H,A,C,o?Z:H);break;default:t(W,V,V,V,[""],H,0,C,H)}}P=I=N=0,B=U=1,q=W="",A=S;break;case 58:A=1+f(W),N=j;default:if(B<1){if(123==z)--B;else if(125==z&&0==B++&&125==(b=v>0?c(_,--v):0,g--,10===b&&(g=1,m--),b))continue}switch(W+=a(z),z*B){case 38:U=I>0?1:(W+="\f",-1);break;case 44:C[P++]=(f(W)-1)*U,U=1;break;case 64:45===E()&&(W+=O(x())),L=E(),I=A=f(q=W+=function(t){for(;!k(E());)x();return d(_,t,v)}(v)),z++;break;case 45:45===j&&2==f(W)&&(B=0)}}return y}("",null,null,null,[""],r=C(r=t),0,[0],r),_="",n),A)},B={key:S,sheet:new i.m({key:S,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:P,registered:{},insert:function(t,r,n,i){y=n,L(t?t+"{"+r.styles+"}":r.styles),i&&(B.inserted[r.name]=!0)}};return B.sheet.hydrate(I),B}},86894:function(t,r,n){"use strict";function i(t){var r=Object.create(null);return function(n){return void 0===r[n]&&(r[n]=t(n)),r[n]}}n.d(r,{Z:()=>i})},21039:function(t,r,n){"use strict";n.d(r,{C:()=>s,T:()=>u,w:()=>l});var i=n(2784),o=n(98269);n(82668);var a=i.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null),s=a.Provider,l=function(t){return(0,i.forwardRef)(function(r,n){return t(r,(0,i.useContext)(a),n)})},u=i.createContext({})},28165:function(t,r,n){"use strict";n.d(r,{F4:()=>d,iv:()=>c,xB:()=>u});var i=n(21039),o=n(2784),a=n(82792),s=n(82668),l=n(48290);n(98269),n(73463);var u=(0,i.w)(function(t,r){var n=t.styles,u=(0,l.O)([n],void 0,o.useContext(i.T)),c=o.useRef();return(0,s.j)(function(){var t=r.key+"-global",n=new r.sheet.constructor({key:t,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),i=!1,o=document.querySelector('style[data-emotion="'+t+" "+u.name+'"]');return r.sheet.tags.length&&(n.before=r.sheet.tags[0]),null!==o&&(i=!0,o.setAttribute("data-emotion",t),n.hydrate([o])),c.current=[n,i],function(){n.flush()}},[r]),(0,s.j)(function(){var t=c.current,n=t[0];if(t[1]){t[1]=!1;return}if(void 0!==u.next&&(0,a.My)(r,u.next,!0),n.tags.length){var i=n.tags[n.tags.length-1].nextElementSibling;n.before=i,n.flush()}r.insert("",u,n,!1)},[r,u.name]),null});function c(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return(0,l.O)(r)}var d=function(){var t=c.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},48290:function(t,r,n){"use strict";n.d(r,{O:()=>g});var i,o={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},a=n(86894),s=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(t){return 45===t.charCodeAt(1)},c=function(t){return null!=t&&"boolean"!=typeof t},d=(0,a.Z)(function(t){return u(t)?t:t.replace(s,"-$&").toLowerCase()}),f=function(t,r){switch(t){case"animation":case"animationName":if("string"==typeof r)return r.replace(l,function(t,r,n){return i={name:r,styles:n,next:i},r})}return 1===o[t]||u(t)||"number"!=typeof r||0===r?r:r+"px"};function h(t,r,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return i={name:n.name,styles:n.styles,next:i},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)i={name:o.name,styles:o.styles,next:i},o=o.next;return n.styles+";"}return function(t,r,n){var i="";if(Array.isArray(n))for(var o=0;o<n.length;o++)i+=h(t,r,n[o])+";";else for(var a in n){var s=n[a];if("object"!=typeof s)null!=r&&void 0!==r[s]?i+=a+"{"+r[s]+"}":c(s)&&(i+=d(a)+":"+f(a,s)+";");else if(Array.isArray(s)&&"string"==typeof s[0]&&(null==r||void 0===r[s[0]]))for(var l=0;l<s.length;l++)c(s[l])&&(i+=d(a)+":"+f(a,s[l])+";");else{var u=h(t,r,s);switch(a){case"animation":case"animationName":i+=d(a)+":"+u+";";break;default:i+=a+"{"+u+"}"}}}return i}(t,r,n);case"function":if(void 0!==t){var a=i,s=n(t);return i=a,h(t,r,s)}}if(null==r)return n;var l=r[n];return void 0!==l?l:n}var m=/label:\s*([^\s;{]+)\s*(;|$)/g;function g(t,r,n){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var o,a=!0,s="";i=void 0;var l=t[0];null==l||void 0===l.raw?(a=!1,s+=h(n,r,l)):s+=l[0];for(var u=1;u<t.length;u++)s+=h(n,r,t[u]),a&&(s+=l[u]);m.lastIndex=0;for(var c="";null!==(o=m.exec(s));)c+="-"+o[1];return{name:function(t){for(var r,n=0,i=0,o=t.length;o>=4;++i,o-=4)r=(65535&(r=255&t.charCodeAt(i)|(255&t.charCodeAt(++i))<<8|(255&t.charCodeAt(++i))<<16|(255&t.charCodeAt(++i))<<24))*0x5bd1e995+((r>>>16)*59797<<16),r^=r>>>24,n=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)^(65535&n)*0x5bd1e995+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&t.charCodeAt(i+2))<<16;case 2:n^=(255&t.charCodeAt(i+1))<<8;case 1:n^=255&t.charCodeAt(i),n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(s)+c,styles:s,next:i}}},11168:function(t,r,n){"use strict";n.d(r,{m:()=>i});var i=function(){function t(t){var r=this;this._insertTag=function(t){var n;n=0===r.tags.length?r.insertionPoint?r.insertionPoint.nextSibling:r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(t,n),r.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=t.prototype;return r.hydrate=function(t){t.forEach(this._insertTag)},r.insert=function(t){if(this.ctr%(this.isSpeedy?65e3:1)==0){var r;this._insertTag(((r=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&r.setAttribute("nonce",this.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(t){if(t.sheet)return t.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===t)return document.styleSheets[r]}(n);try{i.insertRule(t,i.cssRules.length)}catch(t){}}else n.appendChild(document.createTextNode(t));this.ctr++},r.flush=function(){this.tags.forEach(function(t){var r;return null==(r=t.parentNode)?void 0:r.removeChild(t)}),this.tags=[],this.ctr=0},t}()},82668:function(t,r,n){"use strict";n.d(r,{L:()=>s,j:()=>l});var i,o=n(2784),a=!!(i||(i=n.t(o,2))).useInsertionEffect&&(i||(i=n.t(o,2))).useInsertionEffect,s=a||function(t){return t()},l=a||o.useLayoutEffect},82792:function(t,r,n){"use strict";function i(t,r,n){var i="";return n.split(" ").forEach(function(n){void 0!==t[n]?r.push(t[n]+";"):n&&(i+=n+" ")}),i}n.d(r,{My:()=>a,fp:()=>i,hC:()=>o});var o=function(t,r,n){var i=t.key+"-"+r.name;!1===n&&void 0===t.registered[i]&&(t.registered[i]=r.styles)},a=function(t,r,n){o(t,r,n);var i=t.key+"-"+r.name;if(void 0===t.inserted[r.name]){var a=r;do t.insert(r===a?"."+i:"",a,t.sheet,!0),a=a.next;while(void 0!==a)}}},83820:function(t,r,n){"use strict";n.d(r,{h:()=>c});var i=n(2784),o=n(28316),a=n(53640),s=n(13806),l=n(86607),u=n(52322);let c=i.forwardRef(function(t,r){let{children:n,container:c,disablePortal:d=!1}=t,[f,h]=i.useState(null),m=(0,a.Z)(i.isValidElement(n)?n.ref:null,r);return((0,s.Z)(()=>{if(!d)h(("function"==typeof c?c():c)||document.body)},[c,d]),(0,s.Z)(()=>{if(f&&!d)return(0,l.Z)(r,f),()=>{(0,l.Z)(r,null)}},[r,f,d]),d)?i.isValidElement(n)?i.cloneElement(n,{ref:m}):(0,u.jsx)(i.Fragment,{children:n}):(0,u.jsx)(i.Fragment,{children:f?o.createPortal(n,f):f})})},69917:function(t,r,n){"use strict";n.d(r,{$:()=>a});var i=n(7560),o=n(45233);function a(t,r,n){return void 0===t||(0,o.X)(t)?r:(0,i.Z)({},r,{ownerState:(0,i.Z)({},r.ownerState,n)})}},97427:function(t,r,n){"use strict";function i(t,r=[]){if(void 0===t)return{};let n={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof t[n]&&!r.includes(n)).forEach(r=>{n[r]=t[r]}),n}n.d(r,{_:()=>i})},45233:function(t,r,n){"use strict";function i(t){return"string"==typeof t}n.d(r,{X:()=>i})},20186:function(t,r,n){"use strict";n.d(r,{L:()=>l});var i=n(7560),o=n(67239),a=n(97427);function s(t){if(void 0===t)return{};let r={};return Object.keys(t).filter(r=>!(r.match(/^on[A-Z]/)&&"function"==typeof t[r])).forEach(n=>{r[n]=t[n]}),r}function l(t){let{getSlotProps:r,additionalProps:n,externalSlotProps:l,externalForwardedProps:u,className:c}=t;if(!r){let t=(0,o.Z)(null==n?void 0:n.className,c,null==u?void 0:u.className,null==l?void 0:l.className),r=(0,i.Z)({},null==n?void 0:n.style,null==u?void 0:u.style,null==l?void 0:l.style),a=(0,i.Z)({},n,u,l);return t.length>0&&(a.className=t),Object.keys(r).length>0&&(a.style=r),{props:a,internalRef:void 0}}let d=(0,a._)((0,i.Z)({},u,l)),f=s(l),h=s(u),m=r(d),g=(0,o.Z)(null==m?void 0:m.className,null==n?void 0:n.className,c,null==u?void 0:u.className,null==l?void 0:l.className),y=(0,i.Z)({},null==m?void 0:m.style,null==n?void 0:n.style,null==u?void 0:u.style,null==l?void 0:l.style),v=(0,i.Z)({},m,n,h,f);return g.length>0&&(v.className=g),Object.keys(y).length>0&&(v.style=y),{props:v,internalRef:m.ref}}},5584:function(t,r,n){"use strict";function i(t,r,n){return"function"==typeof t?t(r,n):t}n.d(r,{x:()=>i})},64675:function(t,r,n){"use strict";n.d(r,{y:()=>d});var i=n(7560),o=n(98283),a=n(53640),s=n(69917),l=n(20186),u=n(5584);let c=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function d(t){var r;let{elementType:n,externalSlotProps:d,ownerState:f,skipResolvingSlotProps:h=!1}=t,m=(0,o.Z)(t,c),g=h?{}:(0,u.x)(d,f),{props:y,internalRef:v}=(0,l.L)((0,i.Z)({},m,{externalSlotProps:g})),b=(0,a.Z)(v,null==g?void 0:g.ref,null==(r=t.additionalProps)?void 0:r.ref);return(0,s.$)(n,(0,i.Z)({},y,{ref:b}),f)}},55519:function(t,r,n){"use strict";n.d(r,{Z:()=>_});var i=n(98283),o=n(7560),a=n(2784),s=n(67239),l=n(69075),u=n(65992),c=n(43853),d=n(17055),f=n(69222),h=n(15672);function m(t){return(0,h.ZP)("MuiBackdrop",t)}(0,f.Z)("MuiBackdrop",["root","invisible"]);var g=n(52322);let y=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],v=t=>{let{classes:r,invisible:n}=t;return(0,l.Z)({root:["root",n&&"invisible"]},m,r)},b=(0,u.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.invisible&&r.invisible]}})(({ownerState:t})=>(0,o.Z)({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"},t.invisible&&{backgroundColor:"transparent"})),_=a.forwardRef(function(t,r){var n,a,l;let u=(0,c.Z)({props:t,name:"MuiBackdrop"}),{children:f,className:h,component:m="div",components:_={},componentsProps:w={},invisible:S=!1,open:x,slotProps:E={},slots:k={},TransitionComponent:C=d.Z,transitionDuration:O}=u,R=(0,i.Z)(u,y),T=(0,o.Z)({},u,{component:m,invisible:S}),P=v(T),M=null!=(n=E.root)?n:w.root;return(0,g.jsx)(C,(0,o.Z)({in:x,timeout:O},R,{children:(0,g.jsx)(b,(0,o.Z)({"aria-hidden":!0},M,{as:null!=(a=null!=(l=k.root)?l:_.Root)?a:m,className:(0,s.Z)(P.root,h,null==M?void 0:M.className),ownerState:(0,o.Z)({},T,null==M?void 0:M.ownerState),classes:P,ref:r,children:f}))}))})},21487:function(t,r,n){"use strict";n.d(r,{Z:()=>Z});var i=n(7560),o=n(98283),a=n(2784),s=n(67239),l=n(69075),u=n(65992),c=n(43853),d=n(98659),f=n(78647),h=n(10331),m=n(43673),g=n(77008);function y(t,r){var n=Object.create(null);return t&&a.Children.map(t,function(t){return t}).forEach(function(t){n[t.key]=r&&(0,a.isValidElement)(t)?r(t):t}),n}function v(t,r,n){return null!=n[r]?n[r]:t.props[r]}var b=Object.values||function(t){return Object.keys(t).map(function(r){return t[r]})},_=function(t){function r(r,n){var i=t.call(this,r,n)||this,o=i.handleExited.bind(function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(i));return i.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},i}(0,m.Z)(r,t);var n=r.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(t,r){var n,i,o=r.children,s=r.handleExited;return{children:r.firstRender?y(t.children,function(r){return(0,a.cloneElement)(r,{onExited:s.bind(null,r),in:!0,appear:v(r,"appear",t),enter:v(r,"enter",t),exit:v(r,"exit",t)})}):(Object.keys(i=function(t,r){function n(n){return n in r?r[n]:t[n]}t=t||{},r=r||{};var i,o=Object.create(null),a=[];for(var s in t)s in r?a.length&&(o[s]=a,a=[]):a.push(s);var l={};for(var u in r){if(o[u])for(i=0;i<o[u].length;i++){var c=o[u][i];l[o[u][i]]=n(c)}l[u]=n(u)}for(i=0;i<a.length;i++)l[a[i]]=n(a[i]);return l}(o,n=y(t.children))).forEach(function(r){var l=i[r];if((0,a.isValidElement)(l)){var u=r in o,c=r in n,d=o[r],f=(0,a.isValidElement)(d)&&!d.props.in;c&&(!u||f)?i[r]=(0,a.cloneElement)(l,{onExited:s.bind(null,l),in:!0,exit:v(l,"exit",t),enter:v(l,"enter",t)}):c||!u||f?c&&u&&(0,a.isValidElement)(d)&&(i[r]=(0,a.cloneElement)(l,{onExited:s.bind(null,l),in:d.props.in,exit:v(l,"exit",t),enter:v(l,"enter",t)})):i[r]=(0,a.cloneElement)(l,{in:!1})}}),i),firstRender:!1}},n.handleExited=function(t,r){var n=y(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(r),this.mounted&&this.setState(function(r){var n=(0,i.Z)({},r.children);return delete n[t.key],{children:n}}))},n.render=function(){var t=this.props,r=t.component,n=t.childFactory,i=(0,o.Z)(t,["component","childFactory"]),s=this.state.contextValue,l=b(this.state.children).map(n);return(delete i.appear,delete i.enter,delete i.exit,null===r)?a.createElement(g.Z.Provider,{value:s},l):a.createElement(g.Z.Provider,{value:s},a.createElement(r,i,l))},r}(a.Component);_.propTypes={},_.defaultProps={component:"div",childFactory:function(t){return t}};var w=n(28165),S=n(59722),x=n(52322),E=n(69222);let k=(0,E.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),C=["center","classes","className"],O=t=>t,R,T,P,M,I=(0,w.F4)(R||(R=O`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`)),A=(0,w.F4)(T||(T=O`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`)),L=(0,w.F4)(P||(P=O`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`)),N=(0,u.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),j=(0,u.ZP)(function(t){let{className:r,classes:n,pulsate:i=!1,rippleX:o,rippleY:l,rippleSize:u,in:c,onExited:d,timeout:f}=t,[h,m]=a.useState(!1),g=(0,s.Z)(r,n.ripple,n.rippleVisible,i&&n.ripplePulsate),y=(0,s.Z)(n.child,h&&n.childLeaving,i&&n.childPulsate);return c||h||m(!0),a.useEffect(()=>{if(!c&&null!=d){let t=setTimeout(d,f);return()=>{clearTimeout(t)}}},[d,c,f]),(0,x.jsx)("span",{className:g,style:{width:u,height:u,top:-(u/2)+l,left:-(u/2)+o},children:(0,x.jsx)("span",{className:y})})},{name:"MuiTouchRipple",slot:"Ripple"})(M||(M=O`
  opacity: 0;
  position: absolute;

  &.${0} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  &.${0} {
    animation-duration: ${0}ms;
  }

  & .${0} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${0} {
    opacity: 0;
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  & .${0} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${0};
    animation-duration: 2500ms;
    animation-timing-function: ${0};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`),k.rippleVisible,I,550,({theme:t})=>t.transitions.easing.easeInOut,k.ripplePulsate,({theme:t})=>t.transitions.duration.shorter,k.child,k.childLeaving,A,550,({theme:t})=>t.transitions.easing.easeInOut,k.childPulsate,L,({theme:t})=>t.transitions.easing.easeInOut),D=a.forwardRef(function(t,r){let n=(0,c.Z)({props:t,name:"MuiTouchRipple"}),{center:l=!1,classes:u={},className:d}=n,f=(0,o.Z)(n,C),[h,m]=a.useState([]),g=a.useRef(0),y=a.useRef(null);a.useEffect(()=>{y.current&&(y.current(),y.current=null)},[h]);let v=a.useRef(!1),b=(0,S.Z)(),w=a.useRef(null),E=a.useRef(null),O=a.useCallback(t=>{let{pulsate:r,rippleX:n,rippleY:i,rippleSize:o,cb:a}=t;m(t=>[...t,(0,x.jsx)(j,{classes:{ripple:(0,s.Z)(u.ripple,k.ripple),rippleVisible:(0,s.Z)(u.rippleVisible,k.rippleVisible),ripplePulsate:(0,s.Z)(u.ripplePulsate,k.ripplePulsate),child:(0,s.Z)(u.child,k.child),childLeaving:(0,s.Z)(u.childLeaving,k.childLeaving),childPulsate:(0,s.Z)(u.childPulsate,k.childPulsate)},timeout:550,pulsate:r,rippleX:n,rippleY:i,rippleSize:o},g.current)]),g.current+=1,y.current=a},[u]),R=a.useCallback((t={},r={},n=()=>{})=>{let i,o,a,{pulsate:s=!1,center:u=l||r.pulsate,fakeElement:c=!1}=r;if((null==t?void 0:t.type)==="mousedown"&&v.current){v.current=!1;return}(null==t?void 0:t.type)==="touchstart"&&(v.current=!0);let d=c?null:E.current,f=d?d.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!u&&void 0!==t&&(0!==t.clientX||0!==t.clientY)&&(t.clientX||t.touches)){let{clientX:r,clientY:n}=t.touches&&t.touches.length>0?t.touches[0]:t;i=Math.round(r-f.left),o=Math.round(n-f.top)}else i=Math.round(f.width/2),o=Math.round(f.height/2);u?(a=Math.sqrt((2*f.width**2+f.height**2)/3))%2==0&&(a+=1):a=Math.sqrt((2*Math.max(Math.abs((d?d.clientWidth:0)-i),i)+2)**2+(2*Math.max(Math.abs((d?d.clientHeight:0)-o),o)+2)**2),null!=t&&t.touches?null===w.current&&(w.current=()=>{O({pulsate:s,rippleX:i,rippleY:o,rippleSize:a,cb:n})},b.start(80,()=>{w.current&&(w.current(),w.current=null)})):O({pulsate:s,rippleX:i,rippleY:o,rippleSize:a,cb:n})},[l,O,b]),T=a.useCallback(()=>{R({},{pulsate:!0})},[R]),P=a.useCallback((t,r)=>{if(b.clear(),(null==t?void 0:t.type)==="touchend"&&w.current){w.current(),w.current=null,b.start(0,()=>{P(t,r)});return}w.current=null,m(t=>t.length>0?t.slice(1):t),y.current=r},[b]);return a.useImperativeHandle(r,()=>({pulsate:T,start:R,stop:P}),[T,R,P]),(0,x.jsx)(N,(0,i.Z)({className:(0,s.Z)(k.root,u.root,d),ref:E},f,{children:(0,x.jsx)(_,{component:null,exit:!0,children:h})}))});var F=n(15672);function B(t){return(0,F.ZP)("MuiButtonBase",t)}let $=(0,E.Z)("MuiButtonBase",["root","disabled","focusVisible"]),U=["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"],z=t=>{let{disabled:r,focusVisible:n,focusVisibleClassName:i,classes:o}=t,a=(0,l.Z)({root:["root",r&&"disabled",n&&"focusVisible"]},B,o);return n&&i&&(a.root+=` ${i}`),a},q=(0,u.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,r)=>r.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"},[`&.${$.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Z=a.forwardRef(function(t,r){let n=(0,c.Z)({props:t,name:"MuiButtonBase"}),{action:l,centerRipple:u=!1,children:m,className:g,component:y="button",disabled:v=!1,disableRipple:b=!1,disableTouchRipple:_=!1,focusRipple:w=!1,LinkComponent:S="a",onBlur:E,onClick:k,onContextMenu:C,onDragLeave:O,onFocus:R,onFocusVisible:T,onKeyDown:P,onKeyUp:M,onMouseDown:I,onMouseLeave:A,onMouseUp:L,onTouchEnd:N,onTouchMove:j,onTouchStart:F,tabIndex:B=0,TouchRippleProps:$,touchRippleRef:Z,type:H}=n,V=(0,o.Z)(n,U),W=a.useRef(null),G=a.useRef(null),K=(0,d.Z)(G,Z),{isFocusVisibleRef:X,onFocus:Y,onBlur:J,ref:Q}=(0,h.Z)(),[ee,et]=a.useState(!1);v&&ee&&et(!1),a.useImperativeHandle(l,()=>({focusVisible:()=>{et(!0),W.current.focus()}}),[]);let[er,en]=a.useState(!1);a.useEffect(()=>{en(!0)},[]);let ei=er&&!b&&!v;function eo(t,r,n=_){return(0,f.Z)(i=>(r&&r(i),!n&&G.current&&G.current[t](i),!0))}a.useEffect(()=>{ee&&w&&!b&&er&&G.current.pulsate()},[b,w,ee,er]);let ea=eo("start",I),es=eo("stop",C),el=eo("stop",O),eu=eo("stop",L),ec=eo("stop",t=>{ee&&t.preventDefault(),A&&A(t)}),ed=eo("start",F),ep=eo("stop",N),ef=eo("stop",j),eh=eo("stop",t=>{J(t),!1===X.current&&et(!1),E&&E(t)},!1),em=(0,f.Z)(t=>{W.current||(W.current=t.currentTarget),Y(t),!0===X.current&&(et(!0),T&&T(t)),R&&R(t)}),eg=()=>{let t=W.current;return y&&"button"!==y&&!("A"===t.tagName&&t.href)},ey=a.useRef(!1),ev=(0,f.Z)(t=>{w&&!ey.current&&ee&&G.current&&" "===t.key&&(ey.current=!0,G.current.stop(t,()=>{G.current.start(t)})),t.target===t.currentTarget&&eg()&&" "===t.key&&t.preventDefault(),P&&P(t),t.target===t.currentTarget&&eg()&&"Enter"===t.key&&!v&&(t.preventDefault(),k&&k(t))}),eb=(0,f.Z)(t=>{w&&" "===t.key&&G.current&&ee&&!t.defaultPrevented&&(ey.current=!1,G.current.stop(t,()=>{G.current.pulsate(t)})),M&&M(t),k&&t.target===t.currentTarget&&eg()&&" "===t.key&&!t.defaultPrevented&&k(t)}),e_=y;"button"===e_&&(V.href||V.to)&&(e_=S);let ew={};"button"===e_?(ew.type=void 0===H?"button":H,ew.disabled=v):(V.href||V.to||(ew.role="button"),v&&(ew["aria-disabled"]=v));let eS=(0,d.Z)(r,Q,W),ex=(0,i.Z)({},n,{centerRipple:u,component:y,disabled:v,disableRipple:b,disableTouchRipple:_,focusRipple:w,tabIndex:B,focusVisible:ee}),eE=z(ex);return(0,x.jsxs)(q,(0,i.Z)({as:e_,className:(0,s.Z)(eE.root,g),ownerState:ex,onBlur:eh,onClick:k,onContextMenu:es,onFocus:em,onKeyDown:ev,onKeyUp:eb,onMouseDown:ea,onMouseLeave:ec,onMouseUp:eu,onDragLeave:el,onTouchEnd:ep,onTouchMove:ef,onTouchStart:ed,ref:eS,tabIndex:v?-1:B,type:H},ew,V,{children:[m,ei?(0,x.jsx)(D,(0,i.Z)({ref:K,center:u},$)):null]}))})},87897:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=n(2784).createContext(void 0)},49146:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=n(2784).createContext({})},68346:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=n(2784).createContext({})},34642:function(t,r,n){"use strict";n.d(r,{Z:()=>s,a:()=>a});var i=n(69222),o=n(15672);function a(t){return(0,o.ZP)("MuiDialogTitle",t)}let s=(0,i.Z)("MuiDialogTitle",["root"])},24215:function(t,r,n){"use strict";n.d(r,{V:()=>a,Z:()=>s});var i=n(69222),o=n(15672);function a(t){return(0,o.ZP)("MuiDivider",t)}let s=(0,i.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},17055:function(t,r,n){"use strict";n.d(r,{Z:()=>m});var i=n(7560),o=n(98283),a=n(2784),s=n(93019),l=n(47746),u=n(13331),c=n(98659),d=n(52322);let f=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],h={entering:{opacity:1},entered:{opacity:1}},m=a.forwardRef(function(t,r){let n=(0,l.Z)(),m={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:g,appear:y=!0,children:v,easing:b,in:_,onEnter:w,onEntered:S,onEntering:x,onExit:E,onExited:k,onExiting:C,style:O,timeout:R=m,TransitionComponent:T=s.ZP}=t,P=(0,o.Z)(t,f),M=a.useRef(null),I=(0,c.Z)(M,v.ref,r),A=t=>r=>{if(t){let n=M.current;void 0===r?t(n):t(n,r)}},L=A(x),N=A((t,r)=>{(0,u.n)(t);let i=(0,u.C)({style:O,timeout:R,easing:b},{mode:"enter"});t.style.webkitTransition=n.transitions.create("opacity",i),t.style.transition=n.transitions.create("opacity",i),w&&w(t,r)}),j=A(S),D=A(C),F=A(t=>{let r=(0,u.C)({style:O,timeout:R,easing:b},{mode:"exit"});t.style.webkitTransition=n.transitions.create("opacity",r),t.style.transition=n.transitions.create("opacity",r),E&&E(t)}),B=A(k);return(0,d.jsx)(T,(0,i.Z)({appear:y,in:_,nodeRef:M,onEnter:N,onEntered:j,onEntering:L,onExit:F,onExited:B,onExiting:D,addEndListener:t=>{g&&g(M.current,t)},timeout:R},P,{children:(t,r)=>a.cloneElement(v,(0,i.Z)({style:(0,i.Z)({opacity:0,visibility:"exited"!==t||_?void 0:"hidden"},h[t],O,v.props.style),ref:I},r))}))})},96752:function(t,r,n){"use strict";n.d(r,{Z:()=>k});var i=n(98283),o=n(7560),a=n(2784),s=n(3525),l=n(69075),u=n(39938),c=n(65992),d=n(87742),f=n(43853),h=n(69222),m=n(15672),g=n(1309);function y(t){return(0,m.ZP)("MuiFilledInput",t)}let v=(0,o.Z)({},g.Z,(0,h.Z)("MuiFilledInput",["root","underline","input"]));var b=n(52322);let _=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],w=t=>{let{classes:r,disableUnderline:n}=t,i=(0,l.Z)({root:["root",!n&&"underline"],input:["input"]},y,r);return(0,o.Z)({},r,i)},S=(0,c.ZP)(u.Ej,{shouldForwardProp:t=>(0,d.Z)(t)||"classes"===t,name:"MuiFilledInput",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[...(0,u.Gx)(t,r),!n.disableUnderline&&r.underline]}})(({theme:t,ownerState:r})=>{var n;let i="light"===t.palette.mode,a=i?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return(0,o.Z)({position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:i?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:a}},[`&.${v.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:a},[`&.${v.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:i?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},!r.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(n=(t.vars||t).palette[r.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${v.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${v.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:i?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)"}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${v.disabled}, .${v.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${v.disabled}:before`]:{borderBottomStyle:"dotted"}},r.startAdornment&&{paddingLeft:12},r.endAdornment&&{paddingRight:12},r.multiline&&(0,o.Z)({padding:"25px 12px 8px"},"small"===r.size&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17},r.hiddenLabel&&"small"===r.size&&{paddingTop:8,paddingBottom:9}))}),x=(0,c.ZP)(u.rA,{name:"MuiFilledInput",slot:"Input",overridesResolver:u._o})(({theme:t,ownerState:r})=>(0,o.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===r.size&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0},r.hiddenLabel&&"small"===r.size&&{paddingTop:8,paddingBottom:9},r.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),E=a.forwardRef(function(t,r){var n,a,l,c;let d=(0,f.Z)({props:t,name:"MuiFilledInput"}),{components:h={},componentsProps:m,fullWidth:g=!1,inputComponent:y="input",multiline:v=!1,slotProps:E,slots:k={},type:C="text"}=d,O=(0,i.Z)(d,_),R=(0,o.Z)({},d,{fullWidth:g,inputComponent:y,multiline:v,type:C}),T=w(d),P={root:{ownerState:R},input:{ownerState:R}},M=(null!=E?E:m)?(0,s.Z)(P,null!=E?E:m):P,I=null!=(n=null!=(a=k.root)?a:h.Root)?n:S,A=null!=(l=null!=(c=k.input)?c:h.Input)?l:x;return(0,b.jsx)(u.ZP,(0,o.Z)({slots:{root:I,input:A},componentsProps:M,fullWidth:g,inputComponent:y,multiline:v,ref:r,type:C},O,{classes:T}))});E.muiName="Input";let k=E},14868:function(t,r,n){"use strict";n.d(r,{Z:()=>x});var i=n(98283),o=n(7560),a=n(2784),s=n(67239),l=n(69075),u=n(43853),c=n(65992),d=n(24110),f=n(7342),h=n(86672),m=n(94675),g=n(69222),y=n(15672);function v(t){return(0,y.ZP)("MuiFormControl",t)}(0,g.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var b=n(52322);let _=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],w=t=>{let{classes:r,margin:n,fullWidth:i}=t,o={root:["root","none"!==n&&`margin${(0,f.Z)(n)}`,i&&"fullWidth"]};return(0,l.Z)(o,v,r)},S=(0,c.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:t},r)=>(0,o.Z)({},r.root,r[`margin${(0,f.Z)(t.margin)}`],t.fullWidth&&r.fullWidth)})(({ownerState:t})=>(0,o.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})),x=a.forwardRef(function(t,r){let n,l=(0,u.Z)({props:t,name:"MuiFormControl"}),{children:c,className:f,color:g="primary",component:y="div",disabled:v=!1,error:x=!1,focused:E,fullWidth:k=!1,hiddenLabel:C=!1,margin:O="none",required:R=!1,size:T="medium",variant:P="outlined"}=l,M=(0,i.Z)(l,_),I=(0,o.Z)({},l,{color:g,component:y,disabled:v,error:x,fullWidth:k,hiddenLabel:C,margin:O,required:R,size:T,variant:P}),A=w(I),[L,N]=a.useState(()=>{let t=!1;return c&&a.Children.forEach(c,r=>{if(!(0,h.Z)(r,["Input","Select"]))return;let n=(0,h.Z)(r,["Select"])?r.props.input:r;n&&(0,d.B7)(n.props)&&(t=!0)}),t}),[j,D]=a.useState(()=>{let t=!1;return c&&a.Children.forEach(c,r=>{(0,h.Z)(r,["Input","Select"])&&((0,d.vd)(r.props,!0)||(0,d.vd)(r.props.inputProps,!0))&&(t=!0)}),t}),[F,B]=a.useState(!1);v&&F&&B(!1);let $=void 0===E||v?F:E,U=a.useMemo(()=>({adornedStart:L,setAdornedStart:N,color:g,disabled:v,error:x,filled:j,focused:$,fullWidth:k,hiddenLabel:C,size:T,onBlur:()=>{B(!1)},onEmpty:()=>{D(!1)},onFilled:()=>{D(!0)},onFocus:()=>{B(!0)},registerEffect:n,required:R,variant:P}),[L,g,v,x,j,$,k,C,n,R,T,P]);return(0,b.jsx)(m.Z.Provider,{value:U,children:(0,b.jsx)(S,(0,o.Z)({as:y,ownerState:I,className:(0,s.Z)(A.root,f),ref:r},M,{children:c}))})})},94675:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=n(2784).createContext(void 0)},28734:function(t,r,n){"use strict";function i({props:t,states:r,muiFormControl:n}){return r.reduce((r,i)=>(r[i]=t[i],n&&void 0===t[i]&&(r[i]=n[i]),r),{})}n.d(r,{Z:()=>i})},60433:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(94675);function a(){return i.useContext(o.Z)}},6693:function(t,r,n){"use strict";n.d(r,{Z:()=>b});var i=n(7560),o=n(98283),a=n(2784),s=n(59722),l=n(93019),u=n(47746),c=n(13331),d=n(98659),f=n(52322);let h=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function m(t){return`scale(${t}, ${t**2})`}let g={entering:{opacity:1,transform:m(1)},entered:{opacity:1,transform:"none"}},y="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),v=a.forwardRef(function(t,r){let{addEndListener:n,appear:v=!0,children:b,easing:_,in:w,onEnter:S,onEntered:x,onEntering:E,onExit:k,onExited:C,onExiting:O,style:R,timeout:T="auto",TransitionComponent:P=l.ZP}=t,M=(0,o.Z)(t,h),I=(0,s.Z)(),A=a.useRef(),L=(0,u.Z)(),N=a.useRef(null),j=(0,d.Z)(N,b.ref,r),D=t=>r=>{if(t){let n=N.current;void 0===r?t(n):t(n,r)}},F=D(E),B=D((t,r)=>{let n;(0,c.n)(t);let{duration:i,delay:o,easing:a}=(0,c.C)({style:R,timeout:T,easing:_},{mode:"enter"});"auto"===T?A.current=n=L.transitions.getAutoHeightDuration(t.clientHeight):n=i,t.style.transition=[L.transitions.create("opacity",{duration:n,delay:o}),L.transitions.create("transform",{duration:y?n:.666*n,delay:o,easing:a})].join(","),S&&S(t,r)}),$=D(x),U=D(O),z=D(t=>{let r,{duration:n,delay:i,easing:o}=(0,c.C)({style:R,timeout:T,easing:_},{mode:"exit"});"auto"===T?A.current=r=L.transitions.getAutoHeightDuration(t.clientHeight):r=n,t.style.transition=[L.transitions.create("opacity",{duration:r,delay:i}),L.transitions.create("transform",{duration:y?r:.666*r,delay:y?i:i||.333*r,easing:o})].join(","),t.style.opacity=0,t.style.transform=m(.75),k&&k(t)}),q=D(C);return(0,f.jsx)(P,(0,i.Z)({appear:v,in:w,nodeRef:N,onEnter:B,onEntered:$,onEntering:F,onExit:z,onExited:q,onExiting:U,addEndListener:t=>{"auto"===T&&I.start(A.current||0,t),n&&n(N.current,t)},timeout:"auto"===T?null:T},M,{children:(t,r)=>a.cloneElement(b,(0,i.Z)({style:(0,i.Z)({opacity:0,transform:m(.75),visibility:"exited"!==t||w?void 0:"hidden"},g[t],R,b.props.style),ref:j},r))}))});v.muiSupportAuto=!0;let b=v},33486:function(t,r,n){"use strict";n.d(r,{Z:()=>x});var i=n(98283),o=n(7560),a=n(2784),s=n(67239),l=n(69075),u=n(408),c=n(65992),d=n(43853),f=n(21487),h=n(7342),m=n(69222),g=n(15672);function y(t){return(0,g.ZP)("MuiIconButton",t)}let v=(0,m.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var b=n(52322);let _=["edge","children","className","color","disabled","disableFocusRipple","size"],w=t=>{let{classes:r,disabled:n,color:i,edge:o,size:a}=t,s={root:["root",n&&"disabled","default"!==i&&`color${(0,h.Z)(i)}`,o&&`edge${(0,h.Z)(o)}`,`size${(0,h.Z)(a)}`]};return(0,l.Z)(s,y,r)},S=(0,c.ZP)(f.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,"default"!==n.color&&r[`color${(0,h.Z)(n.color)}`],n.edge&&r[`edge${(0,h.Z)(n.edge)}`],r[`size${(0,h.Z)(n.size)}`]]}})(({theme:t,ownerState:r})=>(0,o.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!r.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.alpha)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===r.edge&&{marginLeft:"small"===r.size?-3:-12},"end"===r.edge&&{marginRight:"small"===r.size?-3:-12}),({theme:t,ownerState:r})=>{var n;let i=null==(n=(t.vars||t).palette)?void 0:n[r.color];return(0,o.Z)({},"inherit"===r.color&&{color:"inherit"},"inherit"!==r.color&&"default"!==r.color&&(0,o.Z)({color:null==i?void 0:i.main},!r.disableRipple&&{"&:hover":(0,o.Z)({},i&&{backgroundColor:t.vars?`rgba(${i.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.alpha)(i.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===r.size&&{padding:5,fontSize:t.typography.pxToRem(18)},"large"===r.size&&{padding:12,fontSize:t.typography.pxToRem(28)},{[`&.${v.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})}),x=a.forwardRef(function(t,r){let n=(0,d.Z)({props:t,name:"MuiIconButton"}),{edge:a=!1,children:l,className:u,color:c="default",disabled:f=!1,disableFocusRipple:h=!1,size:m="medium"}=n,g=(0,i.Z)(n,_),y=(0,o.Z)({},n,{edge:a,color:c,disabled:f,disableFocusRipple:h,size:m}),v=w(y);return(0,b.jsx)(S,(0,o.Z)({className:(0,s.Z)(v.root,u),centerRipple:!0,focusRipple:!h,disabled:f,ref:r},g,{ownerState:y,children:l}))})},11897:function(t,r,n){"use strict";n.d(r,{Z:()=>k});var i=n(98283),o=n(7560),a=n(2784),s=n(69075),l=n(3525),u=n(39938),c=n(65992),d=n(87742),f=n(43853),h=n(69222),m=n(15672),g=n(1309);function y(t){return(0,m.ZP)("MuiInput",t)}let v=(0,o.Z)({},g.Z,(0,h.Z)("MuiInput",["root","underline","input"]));var b=n(52322);let _=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],w=t=>{let{classes:r,disableUnderline:n}=t,i=(0,s.Z)({root:["root",!n&&"underline"],input:["input"]},y,r);return(0,o.Z)({},r,i)},S=(0,c.ZP)(u.Ej,{shouldForwardProp:t=>(0,d.Z)(t)||"classes"===t,name:"MuiInput",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[...(0,u.Gx)(t,r),!n.disableUnderline&&r.underline]}})(({theme:t,ownerState:r})=>{let n="light"===t.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(n=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),(0,o.Z)({position:"relative"},r.formControl&&{"label + &":{marginTop:16}},!r.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[r.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${v.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${v.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${v.disabled}, .${v.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${v.disabled}:before`]:{borderBottomStyle:"dotted"}})}),x=(0,c.ZP)(u.rA,{name:"MuiInput",slot:"Input",overridesResolver:u._o})({}),E=a.forwardRef(function(t,r){var n,a,s,c;let d=(0,f.Z)({props:t,name:"MuiInput"}),{disableUnderline:h,components:m={},componentsProps:g,fullWidth:y=!1,inputComponent:v="input",multiline:E=!1,slotProps:k,slots:C={},type:O="text"}=d,R=(0,i.Z)(d,_),T=w(d),P={root:{ownerState:{disableUnderline:h}}},M=(null!=k?k:g)?(0,l.Z)(null!=k?k:g,P):P,I=null!=(n=null!=(a=C.root)?a:m.Root)?n:S,A=null!=(s=null!=(c=C.input)?c:m.Input)?s:x;return(0,b.jsx)(u.ZP,(0,o.Z)({slots:{root:I,input:A},slotProps:M,fullWidth:y,inputComponent:v,multiline:E,ref:r,type:O},R,{classes:T}))});E.muiName="Input";let k=E},39938:function(t,r,n){"use strict";n.d(r,{Gx:()=>D,ZP:()=>q,Ej:()=>$,_o:()=>F,rA:()=>U});var i=n(98283),o=n(7560),a=n(99623),s=n(2784),l=n(67239),u=n(53640),c=n(52817),d=n(13806),f=n(93286),h=n(52322);let m=["onChange","maxRows","minRows","style","value"];function g(t){return parseInt(t,10)||0}let y={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},v=s.forwardRef(function(t,r){let{onChange:n,maxRows:a,minRows:l=1,style:v,value:b}=t,_=(0,i.Z)(t,m),{current:w}=s.useRef(null!=b),S=s.useRef(null),x=(0,u.Z)(r,S),E=s.useRef(null),k=s.useCallback(()=>{let r=S.current,n=(0,c.Z)(r).getComputedStyle(r);if("0px"===n.width)return{outerHeightStyle:0,overflowing:!1};let i=E.current;i.style.width=n.width,i.value=r.value||t.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");let o=n.boxSizing,s=g(n.paddingBottom)+g(n.paddingTop),u=g(n.borderBottomWidth)+g(n.borderTopWidth),d=i.scrollHeight;i.value="x";let f=i.scrollHeight,h=d;return l&&(h=Math.max(Number(l)*f,h)),a&&(h=Math.min(Number(a)*f,h)),{outerHeightStyle:(h=Math.max(h,f))+("border-box"===o?s+u:0),overflowing:1>=Math.abs(h-d)}},[a,l,t.placeholder]),C=s.useCallback(()=>{let t=k();if(null==t||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;let r=S.current;r.style.height=`${t.outerHeightStyle}px`,r.style.overflow=t.overflowing?"hidden":""},[k]);return(0,d.Z)(()=>{let t,r,n=()=>{C()},i=(0,f.Z)(n),o=S.current,a=(0,c.Z)(o);return a.addEventListener("resize",i),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(n)).observe(o),()=>{i.clear(),cancelAnimationFrame(t),a.removeEventListener("resize",i),r&&r.disconnect()}},[k,C]),(0,d.Z)(()=>{C()}),(0,h.jsxs)(s.Fragment,{children:[(0,h.jsx)("textarea",(0,o.Z)({value:b,onChange:t=>{w||C(),n&&n(t)},ref:x,rows:l,style:v},_)),(0,h.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:E,tabIndex:-1,style:(0,o.Z)({},y,v,{paddingTop:0,paddingBottom:0})})]})});var b=n(45233),_=n(69075),w=n(28734),S=n(94675),x=n(60433),E=n(65992),k=n(43853),C=n(7342),O=n(98659),R=n(25691),T=n(31310),P=n(16933);let M=function({styles:t,themeId:r,defaultTheme:n={}}){let i=(0,P.Z)(n),o="function"==typeof t?t(r&&i[r]||i):t;return(0,h.jsx)(T.Z,{styles:o})};var I=n(49957),A=n(16912),L=n(24110),N=n(1309);let j=["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"],D=(t,r)=>{let{ownerState:n}=t;return[r.root,n.formControl&&r.formControl,n.startAdornment&&r.adornedStart,n.endAdornment&&r.adornedEnd,n.error&&r.error,"small"===n.size&&r.sizeSmall,n.multiline&&r.multiline,n.color&&r[`color${(0,C.Z)(n.color)}`],n.fullWidth&&r.fullWidth,n.hiddenLabel&&r.hiddenLabel]},F=(t,r)=>{let{ownerState:n}=t;return[r.input,"small"===n.size&&r.inputSizeSmall,n.multiline&&r.inputMultiline,"search"===n.type&&r.inputTypeSearch,n.startAdornment&&r.inputAdornedStart,n.endAdornment&&r.inputAdornedEnd,n.hiddenLabel&&r.inputHiddenLabel]},B=t=>{let{classes:r,color:n,disabled:i,error:o,endAdornment:a,focused:s,formControl:l,fullWidth:u,hiddenLabel:c,multiline:d,readOnly:f,size:h,startAdornment:m,type:g}=t,y={root:["root",`color${(0,C.Z)(n)}`,i&&"disabled",o&&"error",u&&"fullWidth",s&&"focused",l&&"formControl",h&&"medium"!==h&&`size${(0,C.Z)(h)}`,d&&"multiline",m&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",f&&"readOnly"],input:["input",i&&"disabled","search"===g&&"inputTypeSearch",d&&"inputMultiline","small"===h&&"inputSizeSmall",c&&"inputHiddenLabel",m&&"inputAdornedStart",a&&"inputAdornedEnd",f&&"readOnly"]};return(0,_.Z)(y,N.u,r)},$=(0,E.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:D})(({theme:t,ownerState:r})=>(0,o.Z)({},t.typography.body1,{color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${N.Z.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"}},r.multiline&&(0,o.Z)({padding:"4px 0 5px"},"small"===r.size&&{paddingTop:1}),r.fullWidth&&{width:"100%"})),U=(0,E.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:F})(({theme:t,ownerState:r})=>{let n="light"===t.palette.mode,i=(0,o.Z)({color:"currentColor"},t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})}),a={opacity:"0 !important"},s=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return(0,o.Z)({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":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${N.Z.formControl} &`]:{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus:-ms-input-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${N.Z.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})}),z=(0,h.jsx)(function(t){return(0,h.jsx)(M,(0,o.Z)({},t,{defaultTheme:I.Z,themeId:A.Z}))},{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),q=s.forwardRef(function(t,r){var n;let u=(0,k.Z)({props:t,name:"MuiInputBase"}),{"aria-describedby":c,autoComplete:d,autoFocus:f,className:m,components:g={},componentsProps:y={},defaultValue:_,disabled:E,disableInjectingGlobalStyles:C,endAdornment:T,fullWidth:P=!1,id:M,inputComponent:I="input",inputProps:A={},inputRef:N,maxRows:D,minRows:F,multiline:q=!1,name:Z,onBlur:H,onChange:V,onClick:W,onFocus:G,onKeyDown:K,onKeyUp:X,placeholder:Y,readOnly:J,renderSuffix:Q,rows:ee,slotProps:et={},slots:er={},startAdornment:en,type:ei="text",value:eo}=u,ea=(0,i.Z)(u,j),es=null!=A.value?A.value:eo,{current:el}=s.useRef(null!=es),eu=s.useRef(),ec=s.useCallback(t=>{},[]),ed=(0,O.Z)(eu,N,A.ref,ec),[ep,ef]=s.useState(!1),eh=(0,x.Z)(),em=(0,w.Z)({props:u,muiFormControl:eh,states:["color","disabled","error","hiddenLabel","size","required","filled"]});em.focused=eh?eh.focused:ep,s.useEffect(()=>{!eh&&E&&ep&&(ef(!1),H&&H())},[eh,E,ep,H]);let eg=eh&&eh.onFilled,ey=eh&&eh.onEmpty,ev=s.useCallback(t=>{(0,L.vd)(t)?eg&&eg():ey&&ey()},[eg,ey]);(0,R.Z)(()=>{el&&ev({value:es})},[es,ev,el]),s.useEffect(()=>{ev(eu.current)},[]);let eb=I,e_=A;q&&"input"===eb&&(e_=ee?(0,o.Z)({type:void 0,minRows:ee,maxRows:ee},e_):(0,o.Z)({type:void 0,maxRows:D,minRows:F},e_),eb=v),s.useEffect(()=>{eh&&eh.setAdornedStart(!!en)},[eh,en]);let ew=(0,o.Z)({},u,{color:em.color||"primary",disabled:em.disabled,endAdornment:T,error:em.error,focused:em.focused,formControl:eh,fullWidth:P,hiddenLabel:em.hiddenLabel,multiline:q,size:em.size,startAdornment:en,type:ei}),eS=B(ew),ex=er.root||g.Root||$,eE=et.root||y.root||{},ek=er.input||g.Input||U;return e_=(0,o.Z)({},e_,null!=(n=et.input)?n:y.input),(0,h.jsxs)(s.Fragment,{children:[!C&&z,(0,h.jsxs)(ex,(0,o.Z)({},eE,!(0,b.X)(ex)&&{ownerState:(0,o.Z)({},ew,eE.ownerState)},{ref:r,onClick:t=>{eu.current&&t.currentTarget===t.target&&eu.current.focus(),W&&W(t)}},ea,{className:(0,l.Z)(eS.root,eE.className,m,J&&"MuiInputBase-readOnly"),children:[en,(0,h.jsx)(S.Z.Provider,{value:null,children:(0,h.jsx)(ek,(0,o.Z)({ownerState:ew,"aria-invalid":em.error,"aria-describedby":c,autoComplete:d,autoFocus:f,defaultValue:_,disabled:em.disabled,id:M,onAnimationStart:t=>{ev("mui-auto-fill-cancel"===t.animationName?eu.current:{value:"x"})},name:Z,placeholder:Y,readOnly:J,required:em.required,rows:ee,value:es,onKeyDown:K,onKeyUp:X,type:ei},e_,!(0,b.X)(ek)&&{as:eb,ownerState:(0,o.Z)({},ew,e_.ownerState)},{ref:ed,className:(0,l.Z)(eS.input,e_.className,J&&"MuiInputBase-readOnly"),onBlur:t=>{H&&H(t),A.onBlur&&A.onBlur(t),eh&&eh.onBlur?eh.onBlur(t):ef(!1)},onChange:(t,...r)=>{if(!el){let r=t.target||eu.current;if(null==r)throw Error((0,a.Z)(1));ev({value:r.value})}A.onChange&&A.onChange(t,...r),V&&V(t,...r)},onFocus:t=>{if(em.disabled){t.stopPropagation();return}G&&G(t),A.onFocus&&A.onFocus(t),eh&&eh.onFocus?eh.onFocus(t):ef(!0)}}))}),T,Q?Q((0,o.Z)({},em,{startAdornment:en})):null]}))]})})},1309:function(t,r,n){"use strict";n.d(r,{Z:()=>s,u:()=>a});var i=n(69222),o=n(15672);function a(t){return(0,o.ZP)("MuiInputBase",t)}let s=(0,i.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},24110:function(t,r,n){"use strict";function i(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}function o(t,r=!1){return t&&(i(t.value)&&""!==t.value||r&&i(t.defaultValue)&&""!==t.defaultValue)}function a(t){return t.startAdornment}n.d(r,{B7:()=>a,vd:()=>o})},80048:function(t,r,n){"use strict";n.d(r,{Z:()=>P});var i=n(98283),o=n(7560),a=n(2784),s=n(69075),l=n(67239),u=n(28734),c=n(60433),d=n(7342),f=n(43853),h=n(65992),m=n(69222),g=n(15672);function y(t){return(0,g.ZP)("MuiFormLabel",t)}let v=(0,m.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);var b=n(52322);let _=["children","className","color","component","disabled","error","filled","focused","required"],w=t=>{let{classes:r,color:n,focused:i,disabled:o,error:a,filled:l,required:u}=t,c={root:["root",`color${(0,d.Z)(n)}`,o&&"disabled",a&&"error",l&&"filled",i&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return(0,s.Z)(c,y,r)},S=(0,h.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:t},r)=>(0,o.Z)({},r.root,"secondary"===t.color&&r.colorSecondary,t.filled&&r.filled)})(({theme:t,ownerState:r})=>(0,o.Z)({color:(t.vars||t).palette.text.secondary},t.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${v.focused}`]:{color:(t.vars||t).palette[r.color].main},[`&.${v.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${v.error}`]:{color:(t.vars||t).palette.error.main}})),x=(0,h.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(t,r)=>r.asterisk})(({theme:t})=>({[`&.${v.error}`]:{color:(t.vars||t).palette.error.main}})),E=a.forwardRef(function(t,r){let n=(0,f.Z)({props:t,name:"MuiFormLabel"}),{children:a,className:s,component:d="label"}=n,h=(0,i.Z)(n,_),m=(0,c.Z)(),g=(0,u.Z)({props:n,muiFormControl:m,states:["color","required","focused","disabled","error","filled"]}),y=(0,o.Z)({},n,{color:g.color||"primary",component:d,disabled:g.disabled,error:g.error,filled:g.filled,focused:g.focused,required:g.required}),v=w(y);return(0,b.jsxs)(S,(0,o.Z)({as:d,ownerState:y,className:(0,l.Z)(v.root,s),ref:r},h,{children:[a,g.required&&(0,b.jsxs)(x,{ownerState:y,"aria-hidden":!0,className:v.asterisk,children:["\u2009","*"]})]}))});var k=n(87742);function C(t){return(0,g.ZP)("MuiInputLabel",t)}(0,m.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);let O=["disableAnimation","margin","shrink","variant","className"],R=t=>{let{classes:r,formControl:n,size:i,shrink:a,disableAnimation:l,variant:u,required:c}=t,f={root:["root",n&&"formControl",!l&&"animated",a&&"shrink",i&&"normal"!==i&&`size${(0,d.Z)(i)}`,u],asterisk:[c&&"asterisk"]},h=(0,s.Z)(f,C,r);return(0,o.Z)({},r,h)},T=(0,h.ZP)(E,{shouldForwardProp:t=>(0,k.Z)(t)||"classes"===t,name:"MuiInputLabel",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[{[`& .${v.asterisk}`]:r.asterisk},r.root,n.formControl&&r.formControl,"small"===n.size&&r.sizeSmall,n.shrink&&r.shrink,!n.disableAnimation&&r.animated,n.focused&&r.focused,r[n.variant]]}})(({theme:t,ownerState:r})=>(0,o.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},r.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===r.size&&{transform:"translate(0, 17px) scale(1)"},r.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!r.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===r.variant&&(0,o.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===r.size&&{transform:"translate(12px, 13px) scale(1)"},r.shrink&&(0,o.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===r.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===r.variant&&(0,o.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===r.size&&{transform:"translate(14px, 9px) scale(1)"},r.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),P=a.forwardRef(function(t,r){let n=(0,f.Z)({name:"MuiInputLabel",props:t}),{disableAnimation:a=!1,shrink:s,className:d}=n,h=(0,i.Z)(n,O),m=(0,c.Z)(),g=s;void 0===g&&m&&(g=m.filled||m.focused||m.adornedStart);let y=(0,u.Z)({props:n,muiFormControl:m,states:["size","variant","required","focused"]}),v=(0,o.Z)({},n,{disableAnimation:a,formControl:m,shrink:g,size:y.size,variant:y.variant,required:y.required,focused:y.focused}),_=R(v);return(0,b.jsx)(T,(0,o.Z)({"data-shrink":g,ownerState:v,ref:r,className:(0,l.Z)(_.root,d)},h,{classes:_}))})},28638:function(t,r,n){"use strict";n.d(r,{Z:()=>_});var i=n(98283),o=n(7560),a=n(2784),s=n(67239),l=n(69075),u=n(65992),c=n(43853),d=n(40602),f=n(69222),h=n(15672);function m(t){return(0,h.ZP)("MuiList",t)}(0,f.Z)("MuiList",["root","padding","dense","subheader"]);var g=n(52322);let y=["children","className","component","dense","disablePadding","subheader"],v=t=>{let{classes:r,disablePadding:n,dense:i,subheader:o}=t;return(0,l.Z)({root:["root",!n&&"padding",i&&"dense",o&&"subheader"]},m,r)},b=(0,u.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,!n.disablePadding&&r.padding,n.dense&&r.dense,n.subheader&&r.subheader]}})(({ownerState:t})=>(0,o.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})),_=a.forwardRef(function(t,r){let n=(0,c.Z)({props:t,name:"MuiList"}),{children:l,className:u,component:f="ul",dense:h=!1,disablePadding:m=!1,subheader:_}=n,w=(0,i.Z)(n,y),S=a.useMemo(()=>({dense:h}),[h]),x=(0,o.Z)({},n,{component:f,dense:h,disablePadding:m}),E=v(x);return(0,g.jsx)(d.Z.Provider,{value:S,children:(0,g.jsxs)(b,(0,o.Z)({as:f,className:(0,s.Z)(E.root,u),ref:r,ownerState:x},w,{children:[_,l]}))})})},40602:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=n(2784).createContext({})},38066:function(t,r,n){"use strict";n.d(r,{L:()=>a,Z:()=>s});var i=n(69222),o=n(15672);function a(t){return(0,o.ZP)("MuiListItemText",t)}let s=(0,i.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"])},47347:function(t,r,n){"use strict";n.d(r,{Z:()=>B});var i=n(7560),o=n(98283),a=n(2784);n(48570);var s=n(67239),l=n(69075),u=n(64675),c=n(74692),d=n(46425),f=n(28638);let h=n(69094).Z;var m=n(98659),g=n(25691),y=n(52322);let v=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function b(t,r,n){return t===r?t.firstChild:r&&r.nextElementSibling?r.nextElementSibling:n?null:t.firstChild}function _(t,r,n){return t===r?n?t.firstChild:t.lastChild:r&&r.previousElementSibling?r.previousElementSibling:n?null:t.lastChild}function w(t,r){if(void 0===r)return!0;let n=t.innerText;return void 0===n&&(n=t.textContent),0!==(n=n.trim().toLowerCase()).length&&(r.repeating?n[0]===r.keys[0]:0===n.indexOf(r.keys.join("")))}function S(t,r,n,i,o,a){let s=!1,l=o(t,r,!!r&&n);for(;l;){if(l===t.firstChild){if(s)return!1;s=!0}let r=!i&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&w(l,a)&&!r)return l.focus(),!0;l=o(t,l,n)}return!1}let x=a.forwardRef(function(t,r){let{actions:n,autoFocus:s=!1,autoFocusItem:l=!1,children:u,className:c,disabledItemsFocusable:x=!1,disableListWrap:E=!1,onKeyDown:k,variant:C="selectedMenu"}=t,O=(0,o.Z)(t,v),R=a.useRef(null),T=a.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,g.Z)(()=>{s&&R.current.focus()},[s]),a.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(t,{direction:r})=>{let n=!R.current.style.width;if(t.clientHeight<R.current.clientHeight&&n){let n=`${h((0,d.Z)(t))}px`;R.current.style["rtl"===r?"paddingLeft":"paddingRight"]=n,R.current.style.width=`calc(100% + ${n})`}return R.current}}),[]);let P=(0,m.Z)(R,r),M=-1;a.Children.forEach(u,(t,r)=>{if(!a.isValidElement(t)){M===r&&(M+=1)>=u.length&&(M=-1);return}t.props.disabled||("selectedMenu"===C&&t.props.selected?M=r:-1===M&&(M=r)),M===r&&(t.props.disabled||t.props.muiSkipListHighlight||t.type.muiSkipListHighlight)&&(M+=1)>=u.length&&(M=-1)});let I=a.Children.map(u,(t,r)=>{if(r===M){let r={};return l&&(r.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===C&&(r.tabIndex=0),a.cloneElement(t,r)}return t});return(0,y.jsx)(f.Z,(0,i.Z)({role:"menu",ref:P,className:c,onKeyDown:t=>{let r=R.current,n=t.key,i=(0,d.Z)(r).activeElement;if("ArrowDown"===n)t.preventDefault(),S(r,i,E,x,b);else if("ArrowUp"===n)t.preventDefault(),S(r,i,E,x,_);else if("Home"===n)t.preventDefault(),S(r,null,E,x,b);else if("End"===n)t.preventDefault(),S(r,null,E,x,_);else if(1===n.length){let o=T.current,a=n.toLowerCase(),s=performance.now();o.keys.length>0&&(s-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=s,o.keys.push(a);let l=i&&!o.repeating&&w(i,o);o.previousKeyMatched&&(l||S(r,i,!1,x,b,o))?t.preventDefault():o.previousKeyMatched=!1}k&&k(t)},tabIndex:s?0:-1},O,{children:I}))});var E=n(81596),k=n(65992),C=n(87742),O=n(43853),R=n(69222),T=n(15672);function P(t){return(0,T.ZP)("MuiMenu",t)}(0,R.Z)("MuiMenu",["root","paper","list"]);let M=["onEntering"],I=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],A={vertical:"top",horizontal:"right"},L={vertical:"top",horizontal:"left"},N=t=>{let{classes:r}=t;return(0,l.Z)({root:["root"],paper:["paper"],list:["list"]},P,r)},j=(0,k.ZP)(E.ZP,{shouldForwardProp:t=>(0,C.Z)(t)||"classes"===t,name:"MuiMenu",slot:"Root",overridesResolver:(t,r)=>r.root})({}),D=(0,k.ZP)(E.XS,{name:"MuiMenu",slot:"Paper",overridesResolver:(t,r)=>r.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),F=(0,k.ZP)(x,{name:"MuiMenu",slot:"List",overridesResolver:(t,r)=>r.list})({outline:0}),B=a.forwardRef(function(t,r){var n,l;let d=(0,O.Z)({props:t,name:"MuiMenu"}),{autoFocus:f=!0,children:h,className:m,disableAutoFocusItem:g=!1,MenuListProps:v={},onClose:b,open:_,PaperProps:w={},PopoverClasses:S,transitionDuration:x="auto",TransitionProps:{onEntering:E}={},variant:k="selectedMenu",slots:C={},slotProps:R={}}=d,T=(0,o.Z)(d.TransitionProps,M),P=(0,o.Z)(d,I),B=(0,c.V)(),$=(0,i.Z)({},d,{autoFocus:f,disableAutoFocusItem:g,MenuListProps:v,onEntering:E,PaperProps:w,transitionDuration:x,TransitionProps:T,variant:k}),U=N($),z=f&&!g&&_,q=a.useRef(null),Z=-1;a.Children.map(h,(t,r)=>{a.isValidElement(t)&&(t.props.disabled||("selectedMenu"===k&&t.props.selected?Z=r:-1===Z&&(Z=r)))});let H=null!=(n=C.paper)?n:D,V=null!=(l=R.paper)?l:w,W=(0,u.y)({elementType:C.root,externalSlotProps:R.root,ownerState:$,className:[U.root,m]}),G=(0,u.y)({elementType:H,externalSlotProps:V,ownerState:$,className:U.paper});return(0,y.jsx)(j,(0,i.Z)({onClose:b,anchorOrigin:{vertical:"bottom",horizontal:B?"right":"left"},transformOrigin:B?A:L,slots:{paper:H,root:C.root},slotProps:{root:W,paper:G},open:_,ref:r,transitionDuration:x,TransitionProps:(0,i.Z)({onEntering:(t,r)=>{q.current&&q.current.adjustStyleForScrollbar(t,{direction:B?"rtl":"ltr"}),E&&E(t,r)}},T),ownerState:$},P,{classes:S,children:(0,y.jsx)(F,(0,i.Z)({onKeyDown:t=>{"Tab"===t.key&&(t.preventDefault(),b&&b(t,"tabKeyDown"))},actions:q,autoFocus:f&&(-1===Z||g),autoFocusItem:z,variant:k},v,{className:(0,s.Z)(U.list,v.className),children:h}))}))})},24941:function(t,r,n){"use strict";n.d(r,{Z:()=>F});var i=n(98283),o=n(7560),a=n(2784),s=n(67239),l=n(64675),u=n(53640),c=n(75161),d=n(39983),f=n(37311),h=n(97427),m=n(52817),g=n(69094);function y(t,r){r?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function v(t){return parseInt((0,m.Z)(t).getComputedStyle(t).paddingRight,10)||0}function b(t,r,n,i,o){let a=[r,n,...i];[].forEach.call(t.children,t=>{let r=-1===a.indexOf(t),n=!function(t){let r=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(t.tagName),n="INPUT"===t.tagName&&"hidden"===t.getAttribute("type");return r||n}(t);r&&n&&y(t,o)})}function _(t,r){let n=-1;return t.some((t,i)=>!!r(t)&&(n=i,!0)),n}let ModalManager=class ModalManager{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(-1!==n)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&y(t.modalRef,!1);let i=function(t){let r=[];return[].forEach.call(t.children,t=>{"true"===t.getAttribute("aria-hidden")&&r.push(t)}),r}(r);b(r,t.mount,t.modalRef,i,!0);let o=_(this.containers,t=>t.container===r);return -1!==o?this.containers[o].modals.push(t):this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:i}),n}mount(t,r){let n=_(this.containers,r=>-1!==r.modals.indexOf(t)),i=this.containers[n];i.restore||(i.restore=function(t,r){let n=[],i=t.container;if(!r.disableScrollLock){let t;if(function(t){let r=(0,c.Z)(t);return r.body===t?(0,m.Z)(t).innerWidth>r.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(i)){let t=(0,g.Z)((0,c.Z)(i));n.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${v(i)+t}px`;let r=(0,c.Z)(i).querySelectorAll(".mui-fixed");[].forEach.call(r,r=>{n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${v(r)+t}px`})}if(i.parentNode instanceof DocumentFragment)t=(0,c.Z)(i).body;else{let r=i.parentElement,n=(0,m.Z)(i);t=(null==r?void 0:r.nodeName)==="HTML"&&"scroll"===n.getComputedStyle(r).overflowY?r:i}n.push({value:t.style.overflow,property:"overflow",el:t},{value:t.style.overflowX,property:"overflow-x",el:t},{value:t.style.overflowY,property:"overflow-y",el:t}),t.style.overflow="hidden"}return()=>{n.forEach(({value:t,el:r,property:n})=>{t?r.style.setProperty(n,t):r.style.removeProperty(n)})}}(i,r))}remove(t,r=!0){let n=this.modals.indexOf(t);if(-1===n)return n;let i=_(this.containers,r=>-1!==r.modals.indexOf(t)),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),t.modalRef&&y(t.modalRef,r),b(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{let t=o.modals[o.modals.length-1];t.modalRef&&y(t.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}};let w=new ModalManager;var S=n(69075),x=n(52322);function E(t){let r=[],n=[];return Array.from(t.querySelectorAll('input,select,textarea,a[href],button,[tabindex],audio[controls],video[controls],[contenteditable]:not([contenteditable="false"])')).forEach((t,i)=>{let o=function(t){let r=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(r)?"true"===t.contentEditable||("AUDIO"===t.nodeName||"VIDEO"===t.nodeName||"DETAILS"===t.nodeName)&&null===t.getAttribute("tabindex")?0:t.tabIndex:r}(t);-1!==o&&!(t.disabled||"INPUT"===t.tagName&&"hidden"===t.type||function(t){if("INPUT"!==t.tagName||"radio"!==t.type||!t.name)return!1;let r=r=>t.ownerDocument.querySelector(`input[type="radio"]${r}`),n=r(`[name="${t.name}"]:checked`);return n||(n=r(`[name="${t.name}"]`)),n!==t}(t))&&1&&(0===o?r.push(t):n.push({documentOrder:i,tabIndex:o,node:t}))}),n.sort((t,r)=>t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex).map(t=>t.node).concat(r)}function k(){return!0}function C(t){let{children:r,disableAutoFocus:n=!1,disableEnforceFocus:i=!1,disableRestoreFocus:o=!1,getTabbable:s=E,isEnabled:l=k,open:d}=t,f=a.useRef(!1),h=a.useRef(null),m=a.useRef(null),g=a.useRef(null),y=a.useRef(null),v=a.useRef(!1),b=a.useRef(null),_=(0,u.Z)(r.ref,b),w=a.useRef(null);a.useEffect(()=>{d&&b.current&&(v.current=!n)},[n,d]),a.useEffect(()=>{if(!d||!b.current)return;let t=(0,c.Z)(b.current);return!b.current.contains(t.activeElement)&&(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex","-1"),v.current&&b.current.focus()),()=>{o||(g.current&&g.current.focus&&(f.current=!0,g.current.focus()),g.current=null)}},[d]),a.useEffect(()=>{if(!d||!b.current)return;let t=(0,c.Z)(b.current),r=r=>{w.current=r,!i&&l()&&"Tab"===r.key&&t.activeElement===b.current&&r.shiftKey&&(f.current=!0,m.current&&m.current.focus())},n=()=>{let r=b.current;if(null===r)return;if(!t.hasFocus()||!l()||f.current){f.current=!1;return}if(r.contains(t.activeElement)||i&&t.activeElement!==h.current&&t.activeElement!==m.current)return;if(t.activeElement!==y.current)y.current=null;else if(null!==y.current)return;if(!v.current)return;let n=[];if((t.activeElement===h.current||t.activeElement===m.current)&&(n=s(b.current)),n.length>0){var o,a;let t=!!((null==(o=w.current)?void 0:o.shiftKey)&&(null==(a=w.current)?void 0:a.key)==="Tab"),r=n[0],i=n[n.length-1];"string"!=typeof r&&"string"!=typeof i&&(t?i.focus():r.focus())}else r.focus()};t.addEventListener("focusin",n),t.addEventListener("keydown",r,!0);let o=setInterval(()=>{t.activeElement&&"BODY"===t.activeElement.tagName&&n()},50);return()=>{clearInterval(o),t.removeEventListener("focusin",n),t.removeEventListener("keydown",r,!0)}},[n,i,o,l,d,s]);let S=t=>{null===g.current&&(g.current=t.relatedTarget),v.current=!0};return(0,x.jsxs)(a.Fragment,{children:[(0,x.jsx)("div",{tabIndex:d?0:-1,onFocus:S,ref:h,"data-testid":"sentinelStart"}),a.cloneElement(r,{ref:_,onFocus:t=>{null===g.current&&(g.current=t.relatedTarget),v.current=!0,y.current=t.target;let n=r.props.onFocus;n&&n(t)}}),(0,x.jsx)("div",{tabIndex:d?0:-1,onFocus:S,ref:m,"data-testid":"sentinelEnd"})]})}var O=n(83820),R=n(65992),T=n(43853),P=n(55519),M=n(69222),I=n(15672);function A(t){return(0,I.ZP)("MuiModal",t)}(0,M.Z)("MuiModal",["root","hidden","backdrop"]);let L=["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"],N=t=>{let{open:r,exited:n,classes:i}=t;return(0,S.Z)({root:["root",!r&&n&&"hidden"],backdrop:["backdrop"]},A,i)},j=(0,R.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,!n.open&&n.exited&&r.hidden]}})(({theme:t,ownerState:r})=>(0,o.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!r.open&&r.exited&&{visibility:"hidden"})),D=(0,R.ZP)(P.Z,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,r)=>r.backdrop})({zIndex:-1}),F=a.forwardRef(function(t,r){var n,m,g,v,b,_;let S=(0,T.Z)({name:"MuiModal",props:t}),{BackdropComponent:E=D,BackdropProps:k,className:R,closeAfterTransition:P=!1,children:M,container:I,component:A,components:F={},componentsProps:B={},disableAutoFocus:$=!1,disableEnforceFocus:U=!1,disableEscapeKeyDown:z=!1,disablePortal:q=!1,disableRestoreFocus:Z=!1,disableScrollLock:H=!1,hideBackdrop:V=!1,keepMounted:W=!1,onBackdropClick:G,open:K,slotProps:X,slots:Y}=S,J=(0,i.Z)(S,L),Q=(0,o.Z)({},S,{closeAfterTransition:P,disableAutoFocus:$,disableEnforceFocus:U,disableEscapeKeyDown:z,disablePortal:q,disableRestoreFocus:Z,disableScrollLock:H,hideBackdrop:V,keepMounted:W}),{getRootProps:ee,getBackdropProps:et,getTransitionProps:er,portalRef:en,isTopModal:ei,exited:eo,hasTransition:ea}=function(t){let{container:r,disableEscapeKeyDown:n=!1,disableScrollLock:i=!1,manager:s=w,closeAfterTransition:l=!1,onTransitionEnter:m,onTransitionExited:g,children:v,onClose:b,open:_,rootRef:S}=t,x=a.useRef({}),E=a.useRef(null),k=a.useRef(null),C=(0,u.Z)(k,S),[O,R]=a.useState(!_),T=!!v&&v.props.hasOwnProperty("in"),P=!0;("false"===t["aria-hidden"]||!1===t["aria-hidden"])&&(P=!1);let M=()=>(0,c.Z)(E.current),I=()=>(x.current.modalRef=k.current,x.current.mount=E.current,x.current),A=()=>{s.mount(I(),{disableScrollLock:i}),k.current&&(k.current.scrollTop=0)},L=(0,d.Z)(()=>{let t=("function"==typeof r?r():r)||M().body;s.add(I(),t),k.current&&A()}),N=a.useCallback(()=>s.isTopModal(I()),[s]),j=(0,d.Z)(t=>{E.current=t,t&&(_&&N()?A():k.current&&y(k.current,P))}),D=a.useCallback(()=>{s.remove(I(),P)},[P,s]);a.useEffect(()=>()=>{D()},[D]),a.useEffect(()=>{_?L():T&&l||D()},[_,D,T,l,L]);let F=t=>r=>{var i;null==(i=t.onKeyDown)||i.call(t,r),"Escape"===r.key&&229!==r.which&&N()&&!n&&(r.stopPropagation(),b&&b(r,"escapeKeyDown"))},B=t=>r=>{var n;null==(n=t.onClick)||n.call(t,r),r.target===r.currentTarget&&b&&b(r,"backdropClick")};return{getRootProps:(r={})=>{let n=(0,h._)(t);delete n.onTransitionEnter,delete n.onTransitionExited;let i=(0,o.Z)({},n,r);return(0,o.Z)({role:"presentation"},i,{onKeyDown:F(i),ref:C})},getBackdropProps:(t={})=>(0,o.Z)({"aria-hidden":!0},t,{onClick:B(t),open:_}),getTransitionProps:()=>({onEnter:(0,f.Z)(()=>{R(!1),m&&m()},null==v?void 0:v.props.onEnter),onExited:(0,f.Z)(()=>{R(!0),g&&g(),l&&D()},null==v?void 0:v.props.onExited)}),rootRef:C,portalRef:j,isTopModal:N,exited:O,hasTransition:T}}((0,o.Z)({},Q,{rootRef:r})),es=(0,o.Z)({},Q,{exited:eo}),el=N(es),eu={};if(void 0===M.props.tabIndex&&(eu.tabIndex="-1"),ea){let{onEnter:t,onExited:r}=er();eu.onEnter=t,eu.onExited=r}let ec=null!=(n=null!=(m=null==Y?void 0:Y.root)?m:F.Root)?n:j,ed=null!=(g=null!=(v=null==Y?void 0:Y.backdrop)?v:F.Backdrop)?g:E,ep=null!=(b=null==X?void 0:X.root)?b:B.root,ef=null!=(_=null==X?void 0:X.backdrop)?_:B.backdrop,eh=(0,l.y)({elementType:ec,externalSlotProps:ep,externalForwardedProps:J,getSlotProps:ee,additionalProps:{ref:r,as:A},ownerState:es,className:(0,s.Z)(R,null==ep?void 0:ep.className,null==el?void 0:el.root,!es.open&&es.exited&&(null==el?void 0:el.hidden))}),em=(0,l.y)({elementType:ed,externalSlotProps:ef,additionalProps:k,getSlotProps:t=>et((0,o.Z)({},t,{onClick:r=>{G&&G(r),null!=t&&t.onClick&&t.onClick(r)}})),className:(0,s.Z)(null==ef?void 0:ef.className,null==k?void 0:k.className,null==el?void 0:el.backdrop),ownerState:es});return W||K||ea&&!eo?(0,x.jsx)(O.h,{ref:en,container:I,disablePortal:q,children:(0,x.jsxs)(ec,(0,o.Z)({},eh,{children:[!V&&E?(0,x.jsx)(ed,(0,o.Z)({},em)):null,(0,x.jsx)(C,{disableEnforceFocus:U,disableAutoFocus:$,disableRestoreFocus:Z,isEnabled:ei,open:K,children:a.cloneElement(M,eu)})]}))}):null})},12859:function(t,r,n){"use strict";n.d(r,{Z:()=>M});var i,o=n(98283),a=n(7560),s=n(2784),l=n(69075),u=n(65992),c=n(87742),d=n(52322);let f=["children","classes","className","label","notched"],h=(0,u.ZP)("fieldset",{shouldForwardProp:c.Z})({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%"}),m=(0,u.ZP)("legend",{shouldForwardProp:c.Z})(({ownerState:t,theme:r})=>(0,a.Z)({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:r.transitions.create("width",{duration:150,easing:r.transitions.easing.easeOut})},t.withLabel&&(0,a.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:r.transitions.create("max-width",{duration:50,easing:r.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:r.transitions.create("max-width",{duration:100,easing:r.transitions.easing.easeOut,delay:50})})));var g=n(60433),y=n(28734),v=n(69222),b=n(15672),_=n(1309);function w(t){return(0,b.ZP)("MuiOutlinedInput",t)}let S=(0,a.Z)({},_.Z,(0,v.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));var x=n(39938),E=n(43853);let k=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],C=t=>{let{classes:r}=t,n=(0,l.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},w,r);return(0,a.Z)({},r,n)},O=(0,u.ZP)(x.Ej,{shouldForwardProp:t=>(0,c.Z)(t)||"classes"===t,name:"MuiOutlinedInput",slot:"Root",overridesResolver:x.Gx})(({theme:t,ownerState:r})=>{let n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,a.Z)({position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${S.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${S.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${S.focused} .${S.notchedOutline}`]:{borderColor:(t.vars||t).palette[r.color].main,borderWidth:2},[`&.${S.error} .${S.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${S.disabled} .${S.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}},r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&(0,a.Z)({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))}),R=(0,u.ZP)(function(t){let{className:r,label:n,notched:s}=t,l=(0,o.Z)(t,f),u=null!=n&&""!==n,c=(0,a.Z)({},t,{notched:s,withLabel:u});return(0,d.jsx)(h,(0,a.Z)({"aria-hidden":!0,className:r,ownerState:c},l,{children:(0,d.jsx)(m,{ownerState:c,children:u?(0,d.jsx)("span",{children:n}):i||(i=(0,d.jsx)("span",{className:"notranslate",children:"\u200B"}))})}))},{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(t,r)=>r.notchedOutline})(({theme:t})=>{let r="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:r}}),T=(0,u.ZP)(x.rA,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:x._o})(({theme:t,ownerState:r})=>(0,a.Z)({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===r.size&&{padding:"8.5px 14px"},r.multiline&&{padding:0},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0})),P=s.forwardRef(function(t,r){var n,i,l,u,c;let f=(0,E.Z)({props:t,name:"MuiOutlinedInput"}),{components:h={},fullWidth:m=!1,inputComponent:v="input",label:b,multiline:_=!1,notched:w,slots:S={},type:P="text"}=f,M=(0,o.Z)(f,k),I=C(f),A=(0,g.Z)(),L=(0,y.Z)({props:f,muiFormControl:A,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),N=(0,a.Z)({},f,{color:L.color||"primary",disabled:L.disabled,error:L.error,focused:L.focused,formControl:A,fullWidth:m,hiddenLabel:L.hiddenLabel,multiline:_,size:L.size,type:P}),j=null!=(n=null!=(i=S.root)?i:h.Root)?n:O,D=null!=(l=null!=(u=S.input)?u:h.Input)?l:T;return(0,d.jsx)(x.ZP,(0,a.Z)({slots:{root:j,input:D},renderSuffix:t=>(0,d.jsx)(R,{ownerState:N,className:I.notchedOutline,label:null!=b&&""!==b&&L.required?c||(c=(0,d.jsxs)(s.Fragment,{children:[b,"\u2009","*"]})):b,notched:void 0!==w?w:!!(t.startAdornment||t.filled||t.focused)}),fullWidth:m,inputComponent:v,multiline:_,ref:r,type:P},M,{classes:(0,a.Z)({},I,{notchedOutline:null})}))});P.muiName="Input";let M=P},81851:function(t,r,n){"use strict";n.d(r,{Z:()=>w});var i=n(98283),o=n(7560),a=n(2784),s=n(67239),l=n(69075),u=n(408),c=n(65992);let d=t=>{let r;return((t<1?5.11916*t**2:4.5*Math.log(t+1)+2)/100).toFixed(2)};var f=n(43853),h=n(69222),m=n(15672);function g(t){return(0,m.ZP)("MuiPaper",t)}(0,h.Z)("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"]);var y=n(52322);let v=["className","component","elevation","square","variant"],b=t=>{let{square:r,elevation:n,variant:i,classes:o}=t,a={root:["root",i,!r&&"rounded","elevation"===i&&`elevation${n}`]};return(0,l.Z)(a,g,o)},_=(0,c.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,r[n.variant],!n.square&&r.rounded,"elevation"===n.variant&&r[`elevation${n.elevation}`]]}})(({theme:t,ownerState:r})=>{var n;return(0,o.Z)({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!r.square&&{borderRadius:t.shape.borderRadius},"outlined"===r.variant&&{border:`1px solid ${(t.vars||t).palette.divider}`},"elevation"===r.variant&&(0,o.Z)({boxShadow:(t.vars||t).shadows[r.elevation]},!t.vars&&"dark"===t.palette.mode&&{backgroundImage:`linear-gradient(${(0,u.alpha)("#fff",d(r.elevation))}, ${(0,u.alpha)("#fff",d(r.elevation))})`},t.vars&&{backgroundImage:null==(n=t.vars.overlays)?void 0:n[r.elevation]}))}),w=a.forwardRef(function(t,r){let n=(0,f.Z)({props:t,name:"MuiPaper"}),{className:a,component:l="div",elevation:u=1,square:c=!1,variant:d="elevation"}=n,h=(0,i.Z)(n,v),m=(0,o.Z)({},n,{component:l,elevation:u,square:c,variant:d}),g=b(m);return(0,y.jsx)(_,(0,o.Z)({as:l,ownerState:m,className:(0,s.Z)(g.root,a),ref:r},h))})},81596:function(t,r,n){"use strict";n.d(r,{XS:()=>L,ZP:()=>N});var i=n(7560),o=n(98283),a=n(2784),s=n(67239),l=n(64675),u=n(45233),c=n(69075),d=n(65992),f=n(43853);let h=n(93286).Z;var m=n(46425);let g=n(52817).Z;var y=n(98659),v=n(6693),b=n(24941),_=n(81851),w=n(69222),S=n(15672);function x(t){return(0,S.ZP)("MuiPopover",t)}(0,w.Z)("MuiPopover",["root","paper"]);var E=n(52322);let k=["onEntering"],C=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],O=["slotProps"];function R(t,r){let n=0;return"number"==typeof r?n=r:"center"===r?n=t.height/2:"bottom"===r&&(n=t.height),n}function T(t,r){let n=0;return"number"==typeof r?n=r:"center"===r?n=t.width/2:"right"===r&&(n=t.width),n}function P(t){return[t.horizontal,t.vertical].map(t=>"number"==typeof t?`${t}px`:t).join(" ")}function M(t){return"function"==typeof t?t():t}let I=t=>{let{classes:r}=t;return(0,c.Z)({root:["root"],paper:["paper"]},x,r)},A=(0,d.ZP)(b.Z,{name:"MuiPopover",slot:"Root",overridesResolver:(t,r)=>r.root})({}),L=(0,d.ZP)(_.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:(t,r)=>r.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),N=a.forwardRef(function(t,r){var n,c,d;let b=(0,f.Z)({props:t,name:"MuiPopover"}),{action:_,anchorEl:w,anchorOrigin:S={vertical:"top",horizontal:"left"},anchorPosition:x,anchorReference:N="anchorEl",children:j,className:D,container:F,elevation:B=8,marginThreshold:$=16,open:U,PaperProps:z={},slots:q,slotProps:Z,transformOrigin:H={vertical:"top",horizontal:"left"},TransitionComponent:V=v.Z,transitionDuration:W="auto",TransitionProps:{onEntering:G}={},disableScrollLock:K=!1}=b,X=(0,o.Z)(b.TransitionProps,k),Y=(0,o.Z)(b,C),J=null!=(n=null==Z?void 0:Z.paper)?n:z,Q=a.useRef(),ee=(0,y.Z)(Q,J.ref),et=(0,i.Z)({},b,{anchorOrigin:S,anchorReference:N,elevation:B,marginThreshold:$,externalPaperSlotProps:J,transformOrigin:H,TransitionComponent:V,transitionDuration:W,TransitionProps:X}),er=I(et),en=a.useCallback(()=>{if("anchorPosition"===N)return x;let t=M(w),r=(t&&1===t.nodeType?t:(0,m.Z)(Q.current).body).getBoundingClientRect();return{top:r.top+R(r,S.vertical),left:r.left+T(r,S.horizontal)}},[w,S.horizontal,S.vertical,x,N]),ei=a.useCallback(t=>({vertical:R(t,H.vertical),horizontal:T(t,H.horizontal)}),[H.horizontal,H.vertical]),eo=a.useCallback(t=>{let r={width:t.offsetWidth,height:t.offsetHeight},n=ei(r);if("none"===N)return{top:null,left:null,transformOrigin:P(n)};let i=en(),o=i.top-n.vertical,a=i.left-n.horizontal,s=o+r.height,l=a+r.width,u=g(M(w)),c=u.innerHeight-$,d=u.innerWidth-$;if(null!==$&&o<$){let t=o-$;o-=t,n.vertical+=t}else if(null!==$&&s>c){let t=s-c;o-=t,n.vertical+=t}if(null!==$&&a<$){let t=a-$;a-=t,n.horizontal+=t}else if(l>d){let t=l-d;a-=t,n.horizontal+=t}return{top:`${Math.round(o)}px`,left:`${Math.round(a)}px`,transformOrigin:P(n)}},[w,N,en,ei,$]),[ea,es]=a.useState(U),el=a.useCallback(()=>{let t=Q.current;if(!t)return;let r=eo(t);null!==r.top&&(t.style.top=r.top),null!==r.left&&(t.style.left=r.left),t.style.transformOrigin=r.transformOrigin,es(!0)},[eo]);a.useEffect(()=>(K&&window.addEventListener("scroll",el),()=>window.removeEventListener("scroll",el)),[w,K,el]),a.useEffect(()=>{U&&el()}),a.useImperativeHandle(_,()=>U?{updatePosition:()=>{el()}}:null,[U,el]),a.useEffect(()=>{if(!U)return;let t=h(()=>{el()}),r=g(w);return r.addEventListener("resize",t),()=>{t.clear(),r.removeEventListener("resize",t)}},[w,U,el]);let eu=W;"auto"!==W||V.muiSupportAuto||(eu=void 0);let ec=F||(w?(0,m.Z)(M(w)).body:void 0),ed=null!=(c=null==q?void 0:q.root)?c:A,ep=null!=(d=null==q?void 0:q.paper)?d:L,ef=(0,l.y)({elementType:ep,externalSlotProps:(0,i.Z)({},J,{style:ea?J.style:(0,i.Z)({},J.style,{opacity:0})}),additionalProps:{elevation:B,ref:ee},ownerState:et,className:(0,s.Z)(er.paper,null==J?void 0:J.className)}),eh=(0,l.y)({elementType:ed,externalSlotProps:(null==Z?void 0:Z.root)||{},externalForwardedProps:Y,additionalProps:{ref:r,slotProps:{backdrop:{invisible:!0}},container:ec,open:U},ownerState:et,className:(0,s.Z)(er.root,D)}),{slotProps:em}=eh,eg=(0,o.Z)(eh,O);return(0,E.jsx)(ed,(0,i.Z)({},eg,!(0,u.X)(ed)&&{slotProps:em,disableScrollLock:K},{children:(0,E.jsx)(V,(0,i.Z)({appear:!0,in:U,onEntering:(t,r)=>{G&&G(t,r),el()},onExited:()=>{es(!1)},timeout:eu},X,{children:(0,E.jsx)(ep,(0,i.Z)({},ef,{children:j}))}))}))})},15198:function(t,r,n){"use strict";n.d(r,{Z:()=>e$});var i,o,a,s,l,u=n(7560),c=n(98283),d=n(2784),f=n(53640),h=n(13806),m=n(75161);function g(t){if(null==t)return window;if("[object Window]"!==t.toString()){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function y(t){var r=g(t).Element;return t instanceof r||t instanceof Element}function v(t){var r=g(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function b(t){if("undefined"==typeof ShadowRoot)return!1;var r=g(t).ShadowRoot;return t instanceof r||t instanceof ShadowRoot}var _=Math.max,w=Math.min,S=Math.round;function x(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function E(){return!/^((?!chrome|android).)*safari/i.test(x())}function k(t,r,n){void 0===r&&(r=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),o=1,a=1;r&&v(t)&&(o=t.offsetWidth>0&&S(i.width)/t.offsetWidth||1,a=t.offsetHeight>0&&S(i.height)/t.offsetHeight||1);var s=(y(t)?g(t):window).visualViewport,l=!E()&&n,u=(i.left+(l&&s?s.offsetLeft:0))/o,c=(i.top+(l&&s?s.offsetTop:0))/a,d=i.width/o,f=i.height/a;return{width:d,height:f,top:c,right:u+d,bottom:c+f,left:u,x:u,y:c}}function C(t){var r=g(t);return{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function O(t){return t?(t.nodeName||"").toLowerCase():null}function R(t){return((y(t)?t.ownerDocument:t.document)||window.document).documentElement}function T(t){return k(R(t)).left+C(t).scrollLeft}function P(t){return g(t).getComputedStyle(t)}function M(t){var r=P(t),n=r.overflow,i=r.overflowX,o=r.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function I(t){var r=k(t),n=t.offsetWidth,i=t.offsetHeight;return 1>=Math.abs(r.width-n)&&(n=r.width),1>=Math.abs(r.height-i)&&(i=r.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function A(t){return"html"===O(t)?t:t.assignedSlot||t.parentNode||(b(t)?t.host:null)||R(t)}function L(t,r){void 0===r&&(r=[]);var n,i=function t(r){return["html","body","#document"].indexOf(O(r))>=0?r.ownerDocument.body:v(r)&&M(r)?r:t(A(r))}(t),o=i===(null==(n=t.ownerDocument)?void 0:n.body),a=g(i),s=o?[a].concat(a.visualViewport||[],M(i)?i:[]):i,l=r.concat(s);return o?l:l.concat(L(A(s)))}function N(t){return v(t)&&"fixed"!==P(t).position?t.offsetParent:null}function j(t){for(var r=g(t),n=N(t);n&&["table","td","th"].indexOf(O(n))>=0&&"static"===P(n).position;)n=N(n);return n&&("html"===O(n)||"body"===O(n)&&"static"===P(n).position)?r:n||function(t){var r=/firefox/i.test(x());if(/Trident/i.test(x())&&v(t)&&"fixed"===P(t).position)return null;var n=A(t);for(b(n)&&(n=n.host);v(n)&&0>["html","body"].indexOf(O(n));){var i=P(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||r&&"filter"===i.willChange||r&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||r}var D="bottom",F="right",B="left",$="auto",U=["top",D,F,B],z="start",q="viewport",Z="popper",H=U.reduce(function(t,r){return t.concat([r+"-"+z,r+"-end"])},[]),V=[].concat(U,[$]).reduce(function(t,r){return t.concat([r,r+"-"+z,r+"-end"])},[]),W=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],G={placement:"bottom",modifiers:[],strategy:"absolute"};function K(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return!r.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}var X={passive:!0};function Y(t){return t.split("-")[0]}function J(t){return t.split("-")[1]}function Q(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ee(t){var r,n=t.reference,i=t.element,o=t.placement,a=o?Y(o):null,s=o?J(o):null,l=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2;switch(a){case"top":r={x:l,y:n.y-i.height};break;case D:r={x:l,y:n.y+n.height};break;case F:r={x:n.x+n.width,y:u};break;case B:r={x:n.x-i.width,y:u};break;default:r={x:n.x,y:n.y}}var c=a?Q(a):null;if(null!=c){var d="y"===c?"height":"width";switch(s){case z:r[c]=r[c]-(n[d]/2-i[d]/2);break;case"end":r[c]=r[c]+(n[d]/2-i[d]/2)}}return r}var et={top:"auto",right:"auto",bottom:"auto",left:"auto"};function er(t){var r,n,i,o,a,s,l,u=t.popper,c=t.popperRect,d=t.placement,f=t.variation,h=t.offsets,m=t.position,y=t.gpuAcceleration,v=t.adaptive,b=t.roundOffsets,_=t.isFixed,w=h.x,x=void 0===w?0:w,E=h.y,k=void 0===E?0:E,C="function"==typeof b?b({x:x,y:k}):{x:x,y:k};x=C.x,k=C.y;var O=h.hasOwnProperty("x"),T=h.hasOwnProperty("y"),M=B,I="top",A=window;if(v){var L=j(u),N="clientHeight",$="clientWidth";L===g(u)&&"static"!==P(L=R(u)).position&&"absolute"===m&&(N="scrollHeight",$="scrollWidth"),("top"===d||(d===B||d===F)&&"end"===f)&&(I=D,k-=(_&&L===A&&A.visualViewport?A.visualViewport.height:L[N])-c.height,k*=y?1:-1),(d===B||("top"===d||d===D)&&"end"===f)&&(M=F,x-=(_&&L===A&&A.visualViewport?A.visualViewport.width:L[$])-c.width,x*=y?1:-1)}var U=Object.assign({position:m},v&&et),z=!0===b?(r={x:x,y:k},n=g(u),i=r.x,o=r.y,{x:S(i*(a=n.devicePixelRatio||1))/a||0,y:S(o*a)/a||0}):{x:x,y:k};return(x=z.x,k=z.y,y)?Object.assign({},U,((l={})[I]=T?"0":"",l[M]=O?"0":"",l.transform=1>=(A.devicePixelRatio||1)?"translate("+x+"px, "+k+"px)":"translate3d("+x+"px, "+k+"px, 0)",l)):Object.assign({},U,((s={})[I]=T?k+"px":"",s[M]=O?x+"px":"",s.transform="",s))}var en={left:"right",right:"left",bottom:"top",top:"bottom"};function ei(t){return t.replace(/left|right|bottom|top/g,function(t){return en[t]})}var eo={start:"end",end:"start"};function ea(t){return t.replace(/start|end/g,function(t){return eo[t]})}function es(t,r){var n=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(n&&b(n)){var i=r;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function el(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function eu(t,r,n){var i,o,a,s,l,u,c,d,f,h;return r===q?el(function(t,r){var n=g(t),i=R(t),o=n.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,u=0;if(o){a=o.width,s=o.height;var c=E();(c||!c&&"fixed"===r)&&(l=o.offsetLeft,u=o.offsetTop)}return{width:a,height:s,x:l+T(t),y:u}}(t,n)):y(r)?((i=k(r,!1,"fixed"===n)).top=i.top+r.clientTop,i.left=i.left+r.clientLeft,i.bottom=i.top+r.clientHeight,i.right=i.left+r.clientWidth,i.width=r.clientWidth,i.height=r.clientHeight,i.x=i.left,i.y=i.top,i):el((o=R(t),s=R(o),l=C(o),u=null==(a=o.ownerDocument)?void 0:a.body,c=_(s.scrollWidth,s.clientWidth,u?u.scrollWidth:0,u?u.clientWidth:0),d=_(s.scrollHeight,s.clientHeight,u?u.scrollHeight:0,u?u.clientHeight:0),f=-l.scrollLeft+T(o),h=-l.scrollTop,"rtl"===P(u||s).direction&&(f+=_(s.clientWidth,u?u.clientWidth:0)-c),{width:c,height:d,x:f,y:h}))}function ec(){return{top:0,right:0,bottom:0,left:0}}function ed(t){return Object.assign({},ec(),t)}function ep(t,r){return r.reduce(function(r,n){return r[n]=t,r},{})}function ef(t,r){void 0===r&&(r={});var n,i,o,a,s,l,u,c,d=r,f=d.placement,h=void 0===f?t.placement:f,m=d.strategy,g=void 0===m?t.strategy:m,b=d.boundary,S=d.rootBoundary,x=d.elementContext,E=void 0===x?Z:x,C=d.altBoundary,T=d.padding,M=void 0===T?0:T,I=ed("number"!=typeof M?M:ep(M,U)),N=t.rects.popper,B=t.elements[void 0!==C&&C?E===Z?"reference":Z:E],$=(n=y(B)?B:B.contextElement||R(t.elements.popper),i=void 0===b?"clippingParents":b,o=void 0===S?q:S,u=(l=[].concat("clippingParents"===i?(a=L(A(n)),!y(s=["absolute","fixed"].indexOf(P(n).position)>=0&&v(n)?j(n):n)?[]:a.filter(function(t){return y(t)&&es(t,s)&&"body"!==O(t)})):[].concat(i),[o]))[0],(c=l.reduce(function(t,r){var i=eu(n,r,g);return t.top=_(i.top,t.top),t.right=w(i.right,t.right),t.bottom=w(i.bottom,t.bottom),t.left=_(i.left,t.left),t},eu(n,u,g))).width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c),z=k(t.elements.reference),H=ee({reference:z,element:N,strategy:"absolute",placement:h}),V=el(Object.assign({},N,H)),W=E===Z?V:z,G={top:$.top-W.top+I.top,bottom:W.bottom-$.bottom+I.bottom,left:$.left-W.left+I.left,right:W.right-$.right+I.right},K=t.modifiersData.offset;if(E===Z&&K){var X=K[h];Object.keys(G).forEach(function(t){var r=[F,D].indexOf(t)>=0?1:-1,n=["top",D].indexOf(t)>=0?"y":"x";G[t]+=X[n]*r})}return G}function eh(t,r,n){return _(t,w(r,n))}function em(t,r,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-r.height-n.y,right:t.right-r.width+n.x,bottom:t.bottom-r.height+n.y,left:t.left-r.width-n.x}}function eg(t){return["top",F,D,B].some(function(r){return t[r]>=0})}var ey=(a=void 0===(o=(i={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var r=t.state,n=t.instance,i=t.options,o=i.scroll,a=void 0===o||o,s=i.resize,l=void 0===s||s,u=g(r.elements.popper),c=[].concat(r.scrollParents.reference,r.scrollParents.popper);return a&&c.forEach(function(t){t.addEventListener("scroll",n.update,X)}),l&&u.addEventListener("resize",n.update,X),function(){a&&c.forEach(function(t){t.removeEventListener("scroll",n.update,X)}),l&&u.removeEventListener("resize",n.update,X)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var r=t.state,n=t.name;r.modifiersData[n]=ee({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var r=t.state,n=t.options,i=n.gpuAcceleration,o=n.adaptive,a=n.roundOffsets,s=void 0===a||a,l={placement:Y(r.placement),variation:J(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:void 0===i||i,isFixed:"fixed"===r.options.strategy};null!=r.modifiersData.popperOffsets&&(r.styles.popper=Object.assign({},r.styles.popper,er(Object.assign({},l,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:void 0===o||o,roundOffsets:s})))),null!=r.modifiersData.arrow&&(r.styles.arrow=Object.assign({},r.styles.arrow,er(Object.assign({},l,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var r=t.state;Object.keys(r.elements).forEach(function(t){var n=r.styles[t]||{},i=r.attributes[t]||{},o=r.elements[t];v(o)&&O(o)&&(Object.assign(o.style,n),Object.keys(i).forEach(function(t){var r=i[t];!1===r?o.removeAttribute(t):o.setAttribute(t,!0===r?"":r)}))})},effect:function(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow),function(){Object.keys(r.elements).forEach(function(t){var i=r.elements[t],o=r.attributes[t]||{},a=Object.keys(r.styles.hasOwnProperty(t)?r.styles[t]:n[t]).reduce(function(t,r){return t[r]="",t},{});v(i)&&O(i)&&(Object.assign(i.style,a),Object.keys(o).forEach(function(t){i.removeAttribute(t)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var r=t.state,n=t.options,i=t.name,o=n.offset,a=void 0===o?[0,0]:o,s=V.reduce(function(t,n){var i,o,s,l,u,c;return t[n]=(i=r.rects,s=[B,"top"].indexOf(o=Y(n))>=0?-1:1,u=(l="function"==typeof a?a(Object.assign({},i,{placement:n})):a)[0],c=l[1],u=u||0,c=(c||0)*s,[B,F].indexOf(o)>=0?{x:c,y:u}:{x:u,y:c}),t},{}),l=s[r.placement],u=l.x,c=l.y;null!=r.modifiersData.popperOffsets&&(r.modifiersData.popperOffsets.x+=u,r.modifiersData.popperOffsets.y+=c),r.modifiersData[i]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var r=t.state,n=t.options,i=t.name;if(!r.modifiersData[i]._skip){for(var o=n.mainAxis,a=void 0===o||o,s=n.altAxis,l=void 0===s||s,u=n.fallbackPlacements,c=n.padding,d=n.boundary,f=n.rootBoundary,h=n.altBoundary,m=n.flipVariations,g=void 0===m||m,y=n.allowedAutoPlacements,v=r.options.placement,b=Y(v)===v,_=u||(b||!g?[ei(v)]:function(t){if(Y(t)===$)return[];var r=ei(t);return[ea(t),r,ea(r)]}(v)),w=[v].concat(_).reduce(function(t,n){var i,o,a,s,l,u,h,m,v,b,_,w;return t.concat(Y(n)===$?(o=(i={placement:n,boundary:d,rootBoundary:f,padding:c,flipVariations:g,allowedAutoPlacements:y}).placement,a=i.boundary,s=i.rootBoundary,l=i.padding,u=i.flipVariations,m=void 0===(h=i.allowedAutoPlacements)?V:h,0===(_=(b=(v=J(o))?u?H:H.filter(function(t){return J(t)===v}):U).filter(function(t){return m.indexOf(t)>=0})).length&&(_=b),Object.keys(w=_.reduce(function(t,n){return t[n]=ef(r,{placement:n,boundary:a,rootBoundary:s,padding:l})[Y(n)],t},{})).sort(function(t,r){return w[t]-w[r]})):n)},[]),S=r.rects.reference,x=r.rects.popper,E=new Map,k=!0,C=w[0],O=0;O<w.length;O++){var R=w[O],T=Y(R),P=J(R)===z,M=["top",D].indexOf(T)>=0,I=M?"width":"height",A=ef(r,{placement:R,boundary:d,rootBoundary:f,altBoundary:h,padding:c}),L=M?P?F:B:P?D:"top";S[I]>x[I]&&(L=ei(L));var N=ei(L),j=[];if(a&&j.push(A[T]<=0),l&&j.push(A[L]<=0,A[N]<=0),j.every(function(t){return t})){C=R,k=!1;break}E.set(R,j)}if(k)for(var q=g?3:1,Z=function(t){var r=w.find(function(r){var n=E.get(r);if(n)return n.slice(0,t).every(function(t){return t})});if(r)return C=r,"break"},W=q;W>0&&"break"!==Z(W);W--);r.placement!==C&&(r.modifiersData[i]._skip=!0,r.placement=C,r.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var r=t.state,n=t.options,i=t.name,o=n.mainAxis,a=n.altAxis,s=n.boundary,l=n.rootBoundary,u=n.altBoundary,c=n.padding,d=n.tether,f=void 0===d||d,h=n.tetherOffset,m=void 0===h?0:h,g=ef(r,{boundary:s,rootBoundary:l,padding:c,altBoundary:u}),y=Y(r.placement),v=J(r.placement),b=!v,S=Q(y),x="x"===S?"y":"x",E=r.modifiersData.popperOffsets,k=r.rects.reference,C=r.rects.popper,O="function"==typeof m?m(Object.assign({},r.rects,{placement:r.placement})):m,R="number"==typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),T=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,P={x:0,y:0};if(E){if(void 0===o||o){var M,A="y"===S?"top":B,L="y"===S?D:F,N="y"===S?"height":"width",$=E[S],U=$+g[A],q=$-g[L],Z=f?-C[N]/2:0,H=v===z?k[N]:C[N],V=v===z?-C[N]:-k[N],W=r.elements.arrow,G=f&&W?I(W):{width:0,height:0},K=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:ec(),X=K[A],ee=K[L],et=eh(0,k[N],G[N]),er=b?k[N]/2-Z-et-X-R.mainAxis:H-et-X-R.mainAxis,en=b?-k[N]/2+Z+et+ee+R.mainAxis:V+et+ee+R.mainAxis,ei=r.elements.arrow&&j(r.elements.arrow),eo=ei?"y"===S?ei.clientTop||0:ei.clientLeft||0:0,ea=null!=(M=null==T?void 0:T[S])?M:0,es=eh(f?w(U,$+er-ea-eo):U,$,f?_(q,$+en-ea):q);E[S]=es,P[S]=es-$}if(void 0!==a&&a){var el,eu,ed="x"===S?"top":B,ep="x"===S?D:F,em=E[x],eg="y"===x?"height":"width",ey=em+g[ed],ev=em-g[ep],eb=-1!==["top",B].indexOf(y),e_=null!=(eu=null==T?void 0:T[x])?eu:0,ew=eb?ey:em-k[eg]-C[eg]-e_+R.altAxis,eS=eb?em+k[eg]+C[eg]-e_-R.altAxis:ev,ex=f&&eb?(el=eh(ew,em,eS))>eS?eS:el:eh(f?ew:ey,em,f?eS:ev);E[x]=ex,P[x]=ex-em}r.modifiersData[i]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var r,n=t.state,i=t.name,o=t.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,l=Y(n.placement),u=Q(l),c=[B,F].indexOf(l)>=0?"height":"width";if(a&&s){var d,f=(d=o.padding,ed("number"!=typeof(d="function"==typeof d?d(Object.assign({},n.rects,{placement:n.placement})):d)?d:ep(d,U))),h=I(a),m="y"===u?"top":B,g="y"===u?D:F,y=n.rects.reference[c]+n.rects.reference[u]-s[u]-n.rects.popper[c],v=s[u]-n.rects.reference[u],b=j(a),_=b?"y"===u?b.clientHeight||0:b.clientWidth||0:0,w=f[m],S=_-h[c]-f[g],x=_/2-h[c]/2+(y/2-v/2),E=eh(w,x,S);n.modifiersData[i]=((r={})[u]=E,r.centerOffset=E-x,r)}},effect:function(t){var r=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=r.elements.popper.querySelector(i)))&&es(r.elements.popper,i)&&(r.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var r=t.state,n=t.name,i=r.rects.reference,o=r.rects.popper,a=r.modifiersData.preventOverflow,s=ef(r,{elementContext:"reference"}),l=ef(r,{altBoundary:!0}),u=em(s,i),c=em(l,o,a),d=eg(u),f=eg(c);r.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}}]}).defaultModifiers)?[]:o,l=void 0===(s=i.defaultOptions)?G:s,function(t,r,n){void 0===n&&(n=l);var i,o,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},G,l),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}},u=[],c=!1,d={state:s,setOptions:function(n){var i,o,c,h,m,g,v="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},l,s.options,v),s.scrollParents={reference:y(t)?L(t):t.contextElement?L(t.contextElement):[],popper:L(r)};var b=(o=Object.keys(i=[].concat(a,s.options.modifiers).reduce(function(t,r){var n=t[r.name];return t[r.name]=n?Object.assign({},n,r,{options:Object.assign({},n.options,r.options),data:Object.assign({},n.data,r.data)}):r,t},{})).map(function(t){return i[t]}),c=new Map,h=new Set,m=[],o.forEach(function(t){c.set(t.name,t)}),o.forEach(function(t){h.has(t.name)||function t(r){h.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach(function(r){if(!h.has(r)){var n=c.get(r);n&&t(n)}}),m.push(r)}(t)}),g=m,W.reduce(function(t,r){return t.concat(g.filter(function(t){return t.phase===r}))},[]));return s.orderedModifiers=b.filter(function(t){return t.enabled}),s.orderedModifiers.forEach(function(t){var r=t.name,n=t.options,i=t.effect;if("function"==typeof i){var o=i({state:s,name:r,instance:d,options:void 0===n?{}:n});u.push(o||function(){})}}),d.update()},forceUpdate:function(){if(!c){var t=s.elements,r=t.reference,n=t.popper;if(K(r,n)){s.rects={reference:(i=j(n),o="fixed"===s.options.strategy,a=v(i),h=v(i)&&(u=S((l=i.getBoundingClientRect()).width)/i.offsetWidth||1,f=S(l.height)/i.offsetHeight||1,1!==u||1!==f),m=R(i),y=k(r,h,o),b={scrollLeft:0,scrollTop:0},_={x:0,y:0},(a||!a&&!o)&&(("body"!==O(i)||M(m))&&(b=function(t){return t!==g(t)&&v(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:C(t)}(i)),v(i)?(_=k(i,!0),_.x+=i.clientLeft,_.y+=i.clientTop):m&&(_.x=T(m))),{x:y.left+b.scrollLeft-_.x,y:y.top+b.scrollTop-_.y,width:y.width,height:y.height}),popper:I(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(t){return s.modifiersData[t.name]=Object.assign({},t.data)});for(var i,o,a,l,u,f,h,m,y,b,_,w=0;w<s.orderedModifiers.length;w++){if(!0===s.reset){s.reset=!1,w=-1;continue}var x=s.orderedModifiers[w],E=x.fn,P=x.options,A=void 0===P?{}:P,L=x.name;"function"==typeof E&&(s=E({state:s,options:A,name:L,instance:d})||s)}}}},update:(i=function(){return new Promise(function(t){d.forceUpdate(),t(s)})},function(){return o||(o=new Promise(function(t){Promise.resolve().then(function(){o=void 0,t(i())})})),o}),destroy:function(){f(),c=!0}};if(!K(t,r))return d;function f(){u.forEach(function(t){return t()}),u=[]}return d.setOptions(n).then(function(t){!c&&n.onFirstUpdate&&n.onFirstUpdate(t)}),d}),ev=n(69075),eb=n(83820),e_=n(15672);let ew="base";function eS(t,r){let n=e_._v[r];return n?`${ew}--${n}`:`${ew}-${t}-${r}`}let ex="Popper";function eE(t){return eS(ex,t)}!function(t,r){let n={};r.forEach(r=>{n[r]=eS(t,r)})}(ex,["root"]);var ek=n(64675),eC=n(52322);let eO=d.createContext({disableDefaultClasses:!1}),eR=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],eT=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function eP(t){return"function"==typeof t?t():t}let eM=()=>(0,ev.Z)({root:["root"]},function(t){let{disableDefaultClasses:r}=d.useContext(eO);return n=>r?"":t(n)}(eE)),eI={},eA=d.forwardRef(function(t,r){var n;let{anchorEl:i,children:o,direction:a,disablePortal:s,modifiers:l,open:m,placement:g,popperOptions:y,popperRef:v,slotProps:b={},slots:_={},TransitionProps:w}=t,S=(0,c.Z)(t,eR),x=d.useRef(null),E=(0,f.Z)(x,r),k=d.useRef(null),C=(0,f.Z)(k,v),O=d.useRef(C);(0,h.Z)(()=>{O.current=C},[C]),d.useImperativeHandle(v,()=>k.current,[]);let R=function(t,r){if("ltr"===r)return t;switch(t){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 t}}(g,a),[T,P]=d.useState(R),[M,I]=d.useState(eP(i));d.useEffect(()=>{k.current&&k.current.forceUpdate()}),d.useEffect(()=>{i&&I(eP(i))},[i]),(0,h.Z)(()=>{if(!M||!m)return;let t=t=>{P(t.placement)},r=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:r})=>{t(r)}}];null!=l&&(r=r.concat(l)),y&&null!=y.modifiers&&(r=r.concat(y.modifiers));let n=ey(M,x.current,(0,u.Z)({placement:R},y,{modifiers:r}));return O.current(n),()=>{n.destroy(),O.current(null)}},[M,s,l,m,y,R]);let A={placement:T};null!==w&&(A.TransitionProps=w);let L=eM(),N=null!=(n=_.root)?n:"div",j=(0,ek.y)({elementType:N,externalSlotProps:b.root,externalForwardedProps:S,additionalProps:{role:"tooltip",ref:E},ownerState:t,className:L.root});return(0,eC.jsx)(N,(0,u.Z)({},j,{children:"function"==typeof o?o(A):o}))}),eL=d.forwardRef(function(t,r){let n,{anchorEl:i,children:o,container:a,direction:s="ltr",disablePortal:l=!1,keepMounted:f=!1,modifiers:h,open:g,placement:y="bottom",popperOptions:v=eI,popperRef:b,style:_,transition:w=!1,slotProps:S={},slots:x={}}=t,E=(0,c.Z)(t,eT),[k,C]=d.useState(!0);if(!f&&!g&&(!w||k))return null;if(a)n=a;else if(i){let t=eP(i);n=t&&void 0!==t.nodeType?(0,m.Z)(t).body:(0,m.Z)(null).body}let O=!g&&f&&(!w||k)?"none":void 0,R=w?{in:g,onEnter:()=>{C(!1)},onExited:()=>{C(!0)}}:void 0;return(0,eC.jsx)(eb.h,{disablePortal:l,container:n,children:(0,eC.jsx)(eA,(0,u.Z)({anchorEl:i,direction:s,disablePortal:l,modifiers:h,ref:r,open:w?!k:g,placement:y,popperOptions:v,popperRef:b,slotProps:S,slots:x},E,{style:(0,u.Z)({position:"fixed",top:0,left:0,display:O},_),TransitionProps:R,children:o}))})});var eN=n(74690),ej=n(65992),eD=n(43853);let eF=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],eB=(0,ej.ZP)(eL,{name:"MuiPopper",slot:"Root",overridesResolver:(t,r)=>r.root})({}),e$=d.forwardRef(function(t,r){var n;let i=(0,eN.default)(),o=(0,eD.Z)({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:d,container:f,disablePortal:h,keepMounted:m,modifiers:g,open:y,placement:v,popperOptions:b,popperRef:_,transition:w,slots:S,slotProps:x}=o,E=(0,c.Z)(o,eF),k=null!=(n=null==S?void 0:S.root)?n:null==l?void 0:l.Root,C=(0,u.Z)({anchorEl:a,container:f,disablePortal:h,keepMounted:m,modifiers:g,open:y,placement:v,popperOptions:b,popperRef:_,transition:w},E);return(0,eC.jsx)(eB,(0,u.Z)({as:s,direction:null==i?void 0:i.direction,slots:{root:k},slotProps:null!=x?x:d},C,{ref:r}))})},64770:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=n(2784).createContext(void 0)},54158:function(t,r,n){"use strict";n.d(r,{Z:()=>eo});var i,o=n(7560),a=n(98283),s=n(2784),l=n(67239),u=n(3525),c=n(99623);n(48570);var d=n(69075),f=n(12358),h=n(46425),m=n(7342),g=n(47347),y=n(69222),v=n(15672);function b(t){return(0,v.ZP)("MuiNativeSelect",t)}let _=(0,y.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var w=n(65992),S=n(87742),x=n(52322);let E=["className","disabled","error","IconComponent","inputRef","variant"],k=t=>{let{classes:r,variant:n,disabled:i,multiple:o,open:a,error:s}=t,l={select:["select",n,i&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${(0,m.Z)(n)}`,a&&"iconOpen",i&&"disabled"]};return(0,d.Z)(l,b,r)},C=({ownerState:t,theme:r})=>(0,o.Z)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,o.Z)({},r.vars?{backgroundColor:`rgba(${r.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===r.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${_.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(r.vars||r).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===t.variant&&{"&&&":{paddingRight:32}},"outlined"===t.variant&&{borderRadius:(r.vars||r).shape.borderRadius,"&:focus":{borderRadius:(r.vars||r).shape.borderRadius},"&&&":{paddingRight:32}}),O=(0,w.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:S.Z,overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.select,r[n.variant],n.error&&r.error,{[`&.${_.multiple}`]:r.multiple}]}})(C),R=({ownerState:t,theme:r})=>(0,o.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(r.vars||r).palette.action.active,[`&.${_.disabled}`]:{color:(r.vars||r).palette.action.disabled}},t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7}),T=(0,w.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.icon,n.variant&&r[`icon${(0,m.Z)(n.variant)}`],n.open&&r.iconOpen]}})(R),P=s.forwardRef(function(t,r){let{className:n,disabled:i,error:u,IconComponent:c,inputRef:d,variant:f="standard"}=t,h=(0,a.Z)(t,E),m=(0,o.Z)({},t,{disabled:i,variant:f,error:u}),g=k(m);return(0,x.jsxs)(s.Fragment,{children:[(0,x.jsx)(O,(0,o.Z)({ownerState:m,className:(0,l.Z)(g.select,n),disabled:i,ref:d||r},h)),t.multiple?null:(0,x.jsx)(T,{as:c,ownerState:m,className:g.icon})]})});var M=n(24110),I=n(83930),A=n(98659),L=n(57227);function N(t){return(0,v.ZP)("MuiSelect",t)}let j=(0,y.Z)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),D=["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"],F=(0,w.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[{[`&.${j.select}`]:r.select},{[`&.${j.select}`]:r[n.variant]},{[`&.${j.error}`]:r.error},{[`&.${j.multiple}`]:r.multiple}]}})(C,{[`&.${j.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),B=(0,w.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.icon,n.variant&&r[`icon${(0,m.Z)(n.variant)}`],n.open&&r.iconOpen]}})(R),$=(0,w.ZP)("input",{shouldForwardProp:t=>(0,I.Z)(t)&&"classes"!==t,name:"MuiSelect",slot:"NativeInput",overridesResolver:(t,r)=>r.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function U(t,r){return"object"==typeof r&&null!==r?t===r:String(t)===String(r)}let z=t=>{let{classes:r,variant:n,disabled:i,multiple:o,open:a,error:s}=t,l={select:["select",n,i&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${(0,m.Z)(n)}`,a&&"iconOpen",i&&"disabled"],nativeInput:["nativeInput"]};return(0,d.Z)(l,N,r)},q=s.forwardRef(function(t,r){var n,u;let d,m,{"aria-describedby":y,"aria-label":v,autoFocus:b,autoWidth:_,children:w,className:S,defaultOpen:E,defaultValue:k,disabled:C,displayEmpty:O,error:R=!1,IconComponent:T,inputRef:P,labelId:I,MenuProps:N={},multiple:j,name:q,onBlur:Z,onChange:H,onClose:V,onFocus:W,onOpen:G,open:K,readOnly:X,renderValue:Y,SelectDisplayProps:J={},tabIndex:Q,value:ee,variant:et="standard"}=t,er=(0,a.Z)(t,D),[en,ei]=(0,L.Z)({controlled:ee,default:k,name:"Select"}),[eo,ea]=(0,L.Z)({controlled:K,default:E,name:"Select"}),es=s.useRef(null),el=s.useRef(null),[eu,ec]=s.useState(null),{current:ed}=s.useRef(null!=K),[ep,ef]=s.useState(),eh=(0,A.Z)(r,P),em=s.useCallback(t=>{el.current=t,t&&ec(t)},[]),eg=null==eu?void 0:eu.parentNode;s.useImperativeHandle(eh,()=>({focus:()=>{el.current.focus()},node:es.current,value:en}),[en]),s.useEffect(()=>{E&&eo&&eu&&!ed&&(ef(_?null:eg.clientWidth),el.current.focus())},[eu,_]),s.useEffect(()=>{b&&el.current.focus()},[b]),s.useEffect(()=>{if(!I)return;let t=(0,h.Z)(el.current).getElementById(I);if(t){let r=()=>{getSelection().isCollapsed&&el.current.focus()};return t.addEventListener("click",r),()=>{t.removeEventListener("click",r)}}},[I]);let ey=(t,r)=>{t?G&&G(r):V&&V(r),ed||(ef(_?null:eg.clientWidth),ea(t))},ev=s.Children.toArray(w),eb=t=>r=>{let n;if(r.currentTarget.hasAttribute("tabindex")){if(j){n=Array.isArray(en)?en.slice():[];let r=en.indexOf(t.props.value);-1===r?n.push(t.props.value):n.splice(r,1)}else n=t.props.value;if(t.props.onClick&&t.props.onClick(r),en!==n&&(ei(n),H)){let i=r.nativeEvent||r,o=new i.constructor(i.type,i);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:q}}),H(o,t)}j||ey(!1,r)}},e_=null!==eu&&eo;delete er["aria-invalid"];let ew=[],eS=!1;((0,M.vd)({value:en})||O)&&(Y?d=Y(en):eS=!0);let ex=ev.map(t=>{let r;if(!s.isValidElement(t))return null;if(j){if(!Array.isArray(en))throw Error((0,c.Z)(2));(r=en.some(r=>U(r,t.props.value)))&&eS&&ew.push(t.props.children)}else(r=U(en,t.props.value))&&eS&&(m=t.props.children);return s.cloneElement(t,{"aria-selected":r?"true":"false",onClick:eb(t),onKeyUp:r=>{" "===r.key&&r.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(r)},role:"option",selected:r,value:void 0,"data-value":t.props.value})});eS&&(d=j?0===ew.length?null:ew.reduce((t,r,n)=>(t.push(r),n<ew.length-1&&t.push(", "),t),[]):m);let eE=ep;!_&&ed&&eu&&(eE=eg.clientWidth);let ek=J.id||(q?`mui-component-select-${q}`:void 0),eC=(0,o.Z)({},t,{variant:et,value:en,open:e_,error:R}),eO=z(eC),eR=(0,o.Z)({},N.PaperProps,null==(n=N.slotProps)?void 0:n.paper),eT=(0,f.Z)();return(0,x.jsxs)(s.Fragment,{children:[(0,x.jsx)(F,(0,o.Z)({ref:em,tabIndex:void 0!==Q?Q:C?null:0,role:"combobox","aria-controls":eT,"aria-disabled":C?"true":void 0,"aria-expanded":e_?"true":"false","aria-haspopup":"listbox","aria-label":v,"aria-labelledby":[I,ek].filter(Boolean).join(" ")||void 0,"aria-describedby":y,onKeyDown:t=>{X||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(t.key)&&(t.preventDefault(),ey(!0,t))},onMouseDown:C||X?null:t=>{0===t.button&&(t.preventDefault(),el.current.focus(),ey(!0,t))},onBlur:t=>{!e_&&Z&&(Object.defineProperty(t,"target",{writable:!0,value:{value:en,name:q}}),Z(t))},onFocus:W},J,{ownerState:eC,className:(0,l.Z)(J.className,eO.select,S),id:ek,children:null!=(u=d)&&("string"!=typeof u||u.trim())?d:i||(i=(0,x.jsx)("span",{className:"notranslate",children:"\u200B"}))})),(0,x.jsx)($,(0,o.Z)({"aria-invalid":R,value:Array.isArray(en)?en.join(","):en,name:q,ref:es,"aria-hidden":!0,onChange:t=>{let r=ev.find(r=>r.props.value===t.target.value);void 0!==r&&(ei(r.props.value),H&&H(t,r))},tabIndex:-1,disabled:C,className:eO.nativeInput,autoFocus:b,ownerState:eC},er)),(0,x.jsx)(B,{as:T,className:eO.icon,ownerState:eC}),(0,x.jsx)(g.Z,(0,o.Z)({id:`menu-${q||""}`,anchorEl:eg,open:e_,onClose:t=>{ey(!1,t)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},N,{MenuListProps:(0,o.Z)({"aria-labelledby":I,role:"listbox","aria-multiselectable":j?"true":void 0,disableListWrap:!0,id:eT},N.MenuListProps),slotProps:(0,o.Z)({},N.slotProps,{paper:(0,o.Z)({},eR,{style:(0,o.Z)({minWidth:eE},null!=eR?eR.style:null)})}),children:ex}))]})});var Z=n(28734),H=n(60433);let V=(0,n(6620).Z)((0,x.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var W=n(11897),G=n(96752),K=n(12859),X=n(43853);let Y=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],J=["root"],Q=t=>{let{classes:r}=t;return r},ee={name:"MuiSelect",overridesResolver:(t,r)=>r.root,shouldForwardProp:t=>(0,S.Z)(t)&&"variant"!==t,slot:"Root"},et=(0,w.ZP)(W.Z,ee)(""),er=(0,w.ZP)(K.Z,ee)(""),en=(0,w.ZP)(G.Z,ee)(""),ei=s.forwardRef(function(t,r){let n=(0,X.Z)({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:c,classes:d={},className:f,defaultOpen:h=!1,displayEmpty:m=!1,IconComponent:g=V,id:y,input:v,inputProps:b,label:_,labelId:w,MenuProps:S,multiple:E=!1,native:k=!1,onClose:C,onOpen:O,open:R,renderValue:T,SelectDisplayProps:M,variant:I="outlined"}=n,L=(0,a.Z)(n,Y),N=(0,H.Z)(),j=(0,Z.Z)({props:n,muiFormControl:N,states:["variant","error"]}),D=j.variant||I,F=(0,o.Z)({},n,{variant:D,classes:d}),B=Q(F),$=(0,a.Z)(B,J),U=v||({standard:(0,x.jsx)(et,{ownerState:F}),outlined:(0,x.jsx)(er,{label:_,ownerState:F}),filled:(0,x.jsx)(en,{ownerState:F})})[D],z=(0,A.Z)(r,U.ref);return(0,x.jsx)(s.Fragment,{children:s.cloneElement(U,(0,o.Z)({inputComponent:k?P:q,inputProps:(0,o.Z)({children:c,error:j.error,IconComponent:g,variant:D,type:void 0,multiple:E},k?{id:y}:{autoWidth:i,defaultOpen:h,displayEmpty:m,labelId:w,MenuProps:S,onClose:C,onOpen:O,open:R,renderValue:T,SelectDisplayProps:(0,o.Z)({id:y},M)},b,{classes:b?(0,u.Z)($,b.classes):$},v?v.props.inputProps:{})},(E&&k||m)&&"outlined"===D?{notched:!0}:{},{ref:z,className:(0,l.Z)(U.props.className,f,B.root)},!v&&{variant:D},L))})});ei.muiName="Select";let eo=ei},56188:function(t,r,n){"use strict";n.d(r,{Z:()=>O});var i=n(98283),o=n(7560),a=n(2784),s=n(67239),l=n(3525),u=n(15672),c=n(69075),d=n(66805),f=n(37870),h=n(89836),m=n(51263),g=n(99929),y=n(86599),v=n(52322);let b=["component","direction","spacing","divider","children","className","useFlexGap"],_=(0,m.Z)(),w=(0,d.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,r)=>r.root});function S(t){return(0,f.Z)({props:t,name:"MuiStack",defaultTheme:_})}let x=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],E=({ownerState:t,theme:r})=>{let n=(0,o.Z)({display:"flex",flexDirection:"column"},(0,g.k9)({theme:r},(0,g.P$)({values:t.direction,breakpoints:r.breakpoints.values}),t=>({flexDirection:t})));if(t.spacing){let i=(0,y.hB)(r),o=Object.keys(r.breakpoints.values).reduce((r,n)=>(("object"==typeof t.spacing&&null!=t.spacing[n]||"object"==typeof t.direction&&null!=t.direction[n])&&(r[n]=!0),r),{}),a=(0,g.P$)({values:t.direction,base:o}),s=(0,g.P$)({values:t.spacing,base:o});"object"==typeof a&&Object.keys(a).forEach((t,r,n)=>{if(!a[t]){let i=r>0?a[n[r-1]]:"column";a[t]=i}}),n=(0,l.Z)(n,(0,g.k9)({theme:r},s,(r,n)=>t.useFlexGap?{gap:(0,y.NA)(i,r)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${x(n?a[n]:t.direction)}`]:(0,y.NA)(i,r)}}))}return(0,g.dt)(r.breakpoints,n)};var k=n(65992),C=n(43853);let O=function(t={}){let{createStyledComponent:r=w,useThemeProps:n=S,componentName:l="MuiStack"}=t,d=()=>(0,c.Z)({root:["root"]},t=>(0,u.ZP)(l,t),{}),f=r(E);return a.forwardRef(function(t,r){let l=n(t),u=(0,h.Z)(l),{component:c="div",direction:m="column",spacing:g=0,divider:y,children:_,className:w,useFlexGap:S=!1}=u,x=(0,i.Z)(u,b),E=d();return(0,v.jsx)(f,(0,o.Z)({as:c,ownerState:{direction:m,spacing:g,useFlexGap:S},ref:r,className:(0,s.Z)(E.root,w)},x,{children:y?function(t,r){let n=a.Children.toArray(t).filter(Boolean);return n.reduce((t,i,o)=>(t.push(i),o<n.length-1&&t.push(a.cloneElement(r,{key:`separator-${o}`})),t),[])}(_,y):_}))})}({createStyledComponent:(0,k.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,r)=>r.root}),useThemeProps:t=>(0,C.Z)({props:t,name:"MuiStack"})})},28811:function(t,r,n){"use strict";n.d(r,{Z:()=>w});var i=n(7560),o=n(98283),a=n(2784),s=n(67239),l=n(69075),u=n(7342),c=n(43853),d=n(65992),f=n(69222),h=n(15672);function m(t){return(0,h.ZP)("MuiSvgIcon",t)}(0,f.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var g=n(52322);let y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],v=t=>{let{color:r,fontSize:n,classes:i}=t,o={root:["root","inherit"!==r&&`color${(0,u.Z)(r)}`,`fontSize${(0,u.Z)(n)}`]};return(0,l.Z)(o,m,i)},b=(0,d.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,"inherit"!==n.color&&r[`color${(0,u.Z)(n.color)}`],r[`fontSize${(0,u.Z)(n.fontSize)}`]]}})(({theme:t,ownerState:r})=>{var n,i,o,a,s,l,u,c,d,f,h,m,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:r.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=t.transitions)||null==(i=n.create)?void 0:i.call(n,"fill",{duration:null==(o=t.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:({inherit:"inherit",small:(null==(a=t.typography)||null==(s=a.pxToRem)?void 0:s.call(a,20))||"1.25rem",medium:(null==(l=t.typography)||null==(u=l.pxToRem)?void 0:u.call(l,24))||"1.5rem",large:(null==(c=t.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875rem"})[r.fontSize],color:null!=(f=null==(h=(t.vars||t).palette)||null==(h=h[r.color])?void 0:h.main)?f:({action:null==(m=(t.vars||t).palette)||null==(m=m.action)?void 0:m.active,disabled:null==(g=(t.vars||t).palette)||null==(g=g.action)?void 0:g.disabled,inherit:void 0})[r.color]}}),_=a.forwardRef(function(t,r){let n=(0,c.Z)({props:t,name:"MuiSvgIcon"}),{children:l,className:u,color:d="inherit",component:f="svg",fontSize:h="medium",htmlColor:m,inheritViewBox:_=!1,titleAccess:w,viewBox:S="0 0 24 24"}=n,x=(0,o.Z)(n,y),E=a.isValidElement(l)&&"svg"===l.type,k=(0,i.Z)({},n,{color:d,component:f,fontSize:h,instanceFontSize:t.fontSize,inheritViewBox:_,viewBox:S,hasSvgAsChild:E}),C={};_||(C.viewBox=S);let O=v(k);return(0,g.jsxs)(b,(0,i.Z)({as:f,className:(0,s.Z)(O.root,u),focusable:"false",color:m,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:r},C,x,E&&l.props,{ownerState:k,children:[E?l.props.children:l,w?(0,g.jsx)("title",{children:w}):null]}))});_.muiName="SvgIcon";let w=_},60758:function(t,r,n){"use strict";n.d(r,{Z:()=>E});var i=n(98283),o=n(7560),a=n(2784),s=n(67239),l=n(89836),u=n(69075),c=n(65992),d=n(43853),f=n(7342),h=n(69222),m=n(15672);function g(t){return(0,m.ZP)("MuiTypography",t)}(0,h.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var y=n(52322);let v=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],b=t=>{let{align:r,gutterBottom:n,noWrap:i,paragraph:o,variant:a,classes:s}=t,l={root:["root",a,"inherit"!==t.align&&`align${(0,f.Z)(r)}`,n&&"gutterBottom",i&&"noWrap",o&&"paragraph"]};return(0,u.Z)(l,g,s)},_=(0,c.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,r)=>{let{ownerState:n}=t;return[r.root,n.variant&&r[n.variant],"inherit"!==n.align&&r[`align${(0,f.Z)(n.align)}`],n.noWrap&&r.noWrap,n.gutterBottom&&r.gutterBottom,n.paragraph&&r.paragraph]}})(({theme:t,ownerState:r})=>(0,o.Z)({margin:0},"inherit"===r.variant&&{font:"inherit"},"inherit"!==r.variant&&t.typography[r.variant],"inherit"!==r.align&&{textAlign:r.align},r.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r.gutterBottom&&{marginBottom:"0.35em"},r.paragraph&&{marginBottom:16})),w={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},S={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},x=t=>S[t]||t,E=a.forwardRef(function(t,r){let n=(0,d.Z)({props:t,name:"MuiTypography"}),a=x(n.color),u=(0,l.Z)((0,o.Z)({},n,{color:a})),{align:c="inherit",className:f,component:h,gutterBottom:m=!1,noWrap:g=!1,paragraph:S=!1,variant:E="body1",variantMapping:k=w}=u,C=(0,i.Z)(u,v),O=(0,o.Z)({},u,{align:c,color:a,className:f,component:h,gutterBottom:m,noWrap:g,paragraph:S,variant:E,variantMapping:k}),R=h||(S?"p":k[E]||w[E])||"span",T=b(O);return(0,y.jsx)(_,(0,o.Z)({as:R,ref:r,ownerState:O,className:(0,s.Z)(T.root,f)},C))})},11350:function(t,r,n){"use strict";n.d(r,{Z:()=>E});var i=n(98283),o=n(7560),a=n(2784),s=n(67239),l=n(69075),u=n(7342),c=n(65992),d=n(87742),f=n(57227),h=n(60433),m=n(21487),g=n(69222),y=n(15672);function v(t){return(0,y.ZP)("PrivateSwitchBase",t)}(0,g.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var b=n(52322);let _=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],w=t=>{let{classes:r,checked:n,disabled:i,edge:o}=t,a={root:["root",n&&"checked",i&&"disabled",o&&`edge${(0,u.Z)(o)}`],input:["input"]};return(0,l.Z)(a,v,r)},S=(0,c.ZP)(m.Z)(({ownerState:t})=>(0,o.Z)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),x=(0,c.ZP)("input",{shouldForwardProp:d.Z})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),E=a.forwardRef(function(t,r){let{autoFocus:n,checked:a,checkedIcon:l,className:u,defaultChecked:c,disabled:d,disableFocusRipple:m=!1,edge:g=!1,icon:y,id:v,inputProps:E,inputRef:k,name:C,onBlur:O,onChange:R,onFocus:T,readOnly:P,required:M=!1,tabIndex:I,type:A,value:L}=t,N=(0,i.Z)(t,_),[j,D]=(0,f.Z)({controlled:a,default:!!c,name:"SwitchBase",state:"checked"}),F=(0,h.Z)(),B=d;F&&void 0===B&&(B=F.disabled);let $="checkbox"===A||"radio"===A,U=(0,o.Z)({},t,{checked:j,disabled:B,disableFocusRipple:m,edge:g}),z=w(U);return(0,b.jsxs)(S,(0,o.Z)({component:"span",className:(0,s.Z)(z.root,u),centerRipple:!0,focusRipple:!m,disabled:B,tabIndex:null,role:void 0,onFocus:t=>{T&&T(t),F&&F.onFocus&&F.onFocus(t)},onBlur:t=>{O&&O(t),F&&F.onBlur&&F.onBlur(t)},ownerState:U,ref:r},N,{children:[(0,b.jsx)(x,(0,o.Z)({autoFocus:n,checked:a,defaultChecked:c,className:z.input,disabled:B,id:$?v:void 0,name:C,onChange:t=>{if(t.nativeEvent.defaultPrevented)return;let r=t.target.checked;D(r),R&&R(t,r)},readOnly:P,ref:k,required:M,ownerState:U,tabIndex:I,type:A},"checkbox"===A&&void 0===L?{}:{value:L},E)),j?l:y]}))})},64379:function(t,r,n){"use strict";n.d(r,{Z:()=>A});var i=n(7560),o=n(98283),a=n(99623),s=n(3525),l=n(9288),u=n(37450),c=n(51263),d=n(408);let f={black:"#000",white:"#fff"},h={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"},m={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},g={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},y={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},v={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},b={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},_={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},w=["mode","contrastThreshold","tonalOffset"],S={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:f.white,default:f.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}},x={text:{primary:f.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:f.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 E(t,r,n,i){let o=i.light||i,a=i.dark||1.5*i;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:"light"===r?t.light=(0,d.lighten)(t.main,o):"dark"===r&&(t.dark=(0,d.darken)(t.main,a)))}let k=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],C={textTransform:"uppercase"},O='"Roboto", "Helvetica", "Arial", sans-serif';function R(...t){return`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,0.2),${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,0.14),${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,0.12)`}let T=["none",R(0,2,1,-1,0,1,1,0,0,1,3,0),R(0,3,1,-2,0,2,2,0,0,1,5,0),R(0,3,3,-2,0,3,4,0,0,1,8,0),R(0,2,4,-1,0,4,5,0,0,1,10,0),R(0,3,5,-1,0,5,8,0,0,1,14,0),R(0,3,5,-1,0,6,10,0,0,1,18,0),R(0,4,5,-2,0,7,10,1,0,2,16,1),R(0,5,5,-3,0,8,10,1,0,3,14,2),R(0,5,6,-3,0,9,12,1,0,3,16,2),R(0,6,6,-3,0,10,14,1,0,4,18,3),R(0,6,7,-4,0,11,15,1,0,4,20,3),R(0,7,8,-4,0,12,17,2,0,5,22,4),R(0,7,8,-4,0,13,19,2,0,5,24,4),R(0,7,9,-4,0,14,21,2,0,5,26,4),R(0,8,9,-5,0,15,22,2,0,6,28,5),R(0,8,10,-5,0,16,24,2,0,6,30,5),R(0,8,11,-5,0,17,26,2,0,6,32,5),R(0,9,11,-5,0,18,28,2,0,7,34,6),R(0,9,12,-6,0,19,29,2,0,7,36,6),R(0,10,13,-6,0,20,31,3,0,8,38,7),R(0,10,13,-6,0,21,33,3,0,8,40,7),R(0,10,14,-6,0,22,35,3,0,8,42,7),R(0,11,14,-7,0,23,36,3,0,9,44,8),R(0,11,15,-7,0,24,38,3,0,9,46,8)];var P=n(15633);let M={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},I=["breakpoints","mixins","spacing","palette","transitions","typography","shape"],A=function(t={},...r){var n;let{mixins:R={},palette:A={},transitions:L={},typography:N={}}=t,j=(0,o.Z)(t,I);if(t.vars)throw Error((0,a.Z)(18));let D=function(t){let{mode:r="light",contrastThreshold:n=3,tonalOffset:l=.2}=t,u=(0,o.Z)(t,w),c=t.primary||function(t="light"){return"dark"===t?{main:v["200"],light:v["50"],dark:v["400"]}:{main:v["700"],light:v["400"],dark:v["800"]}}(r),k=t.secondary||function(t="light"){return"dark"===t?{main:m["200"],light:m["50"],dark:m["400"]}:{main:m["500"],light:m["300"],dark:m["700"]}}(r),C=t.error||function(t="light"){return"dark"===t?{main:g["500"],light:g["300"],dark:g["700"]}:{main:g["700"],light:g["400"],dark:g["800"]}}(r),O=t.info||function(t="light"){return"dark"===t?{main:b["400"],light:b["300"],dark:b["700"]}:{main:b["700"],light:b["500"],dark:b["900"]}}(r),R=t.success||function(t="light"){return"dark"===t?{main:_["400"],light:_["300"],dark:_["700"]}:{main:_["800"],light:_["500"],dark:_["900"]}}(r),T=t.warning||function(t="light"){return"dark"===t?{main:y["400"],light:y["300"],dark:y["700"]}:{main:"#ed6c02",light:y["500"],dark:y["900"]}}(r);function P(t){return(0,d.getContrastRatio)(t,x.text.primary)>=n?x.text.primary:S.text.primary}let M=({color:t,name:r,mainShade:n=500,lightShade:o=300,darkShade:s=700})=>{if(!(t=(0,i.Z)({},t)).main&&t[n]&&(t.main=t[n]),!t.hasOwnProperty("main"))throw Error((0,a.Z)(11,r?` (${r})`:"",n));if("string"!=typeof t.main)throw Error((0,a.Z)(12,r?` (${r})`:"",JSON.stringify(t.main)));return E(t,"light",o,l),E(t,"dark",s,l),t.contrastText||(t.contrastText=P(t.main)),t};return(0,s.Z)((0,i.Z)({common:(0,i.Z)({},f),mode:r,primary:M({color:c,name:"primary"}),secondary:M({color:k,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:M({color:C,name:"error"}),warning:M({color:T,name:"warning"}),info:M({color:O,name:"info"}),success:M({color:R,name:"success"}),grey:h,contrastThreshold:n,getContrastText:P,augmentColor:M,tonalOffset:l},{dark:x,light:S}[r]),u)}(A),F=(0,c.Z)(t),B=(0,s.Z)(F,{mixins:(n=F.breakpoints,(0,i.Z)({toolbar:{minHeight:56,[n.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[n.up("sm")]:{minHeight:64}}},R)),palette:D,shadows:T.slice(),typography:function(t,r){let n="function"==typeof r?r(t):r,{fontFamily:a=O,fontSize:l=14,fontWeightLight:u=300,fontWeightRegular:c=400,fontWeightMedium:d=500,fontWeightBold:f=700,htmlFontSize:h=16,allVariants:m,pxToRem:g}=n,y=(0,o.Z)(n,k),v=l/14,b=g||(t=>`${t/h*v}rem`),_=(t,r,n,o,s)=>(0,i.Z)({fontFamily:a,fontWeight:t,fontSize:b(r),lineHeight:n},a===O?{letterSpacing:`${Math.round(o/r*1e5)/1e5}em`}:{},s,m),w={h1:_(u,96,1.167,-1.5),h2:_(u,60,1.2,-.5),h3:_(c,48,1.167,0),h4:_(c,34,1.235,.25),h5:_(c,24,1.334,0),h6:_(d,20,1.6,.15),subtitle1:_(c,16,1.75,.15),subtitle2:_(d,14,1.57,.1),body1:_(c,16,1.5,.15),body2:_(c,14,1.43,.15),button:_(d,14,1.75,.4,C),caption:_(c,12,1.66,.4),overline:_(c,12,2.66,1,C),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,s.Z)((0,i.Z)({htmlFontSize:h,pxToRem:b,fontFamily:a,fontSize:l,fontWeightLight:u,fontWeightRegular:c,fontWeightMedium:d,fontWeightBold:f},w),y,{clone:!1})}(D,N),transitions:(0,P.ZP)(L),zIndex:(0,i.Z)({},M)});return B=(0,s.Z)(B,j),(B=r.reduce((t,r)=>(0,s.Z)(t,r),B)).unstable_sxConfig=(0,i.Z)({},l.Z,null==j?void 0:j.unstable_sxConfig),B.unstable_sx=function(t){return(0,u.Z)({sx:t,theme:this})},B}},15633:function(t,r,n){"use strict";n.d(r,{ZP:()=>d,x9:()=>l});var i=n(98283),o=n(7560);let a=["duration","easing","delay"],s={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)"},l={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function u(t){return`${Math.round(t)}ms`}function c(t){if(!t)return 0;let r=t/36;return Math.round((4+15*r**.25+r/5)*10)}function d(t){let r=(0,o.Z)({},s,t.easing),n=(0,o.Z)({},l,t.duration);return(0,o.Z)({getAutoHeightDuration:c,create:(t=["all"],o={})=>{let{duration:s=n.standard,easing:l=r.easeInOut,delay:c=0}=o;return(0,i.Z)(o,a),(Array.isArray(t)?t:[t]).map(t=>`${t} ${"string"==typeof s?s:u(s)} ${l} ${"string"==typeof c?c:u(c)}`).join(",")}},t,{easing:r,duration:n})}},49957:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=(0,n(64379).Z)()},16912:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i="$$material"},87742:function(t,r,n){"use strict";n.d(r,{Z:()=>o});var i=n(83930);let o=t=>(0,i.Z)(t)&&"classes"!==t},83930:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=function(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}},65992:function(t,r,n){"use strict";n.d(r,{ZP:()=>l});var i=n(95524),o=n(49957),a=n(16912),s=n(87742);let l=(0,i.default)({themeId:a.Z,defaultTheme:o.Z,rootShouldForwardProp:s.Z})},47746:function(t,r,n){"use strict";n.d(r,{Z:()=>s}),n(2784);var i=n(16933),o=n(49957),a=n(16912);function s(){let t=(0,i.Z)(o.Z);return t[a.Z]||t}},43853:function(t,r,n){"use strict";n.d(r,{Z:()=>s});var i=n(37870),o=n(49957),a=n(16912);function s({props:t,name:r}){return(0,i.Z)({props:t,name:r,defaultTheme:o.Z,themeId:a.Z})}},13331:function(t,r,n){"use strict";n.d(r,{C:()=>o,n:()=>i});let i=t=>t.scrollTop;function o(t,r){var n,i;let{timeout:o,easing:a,style:s={}}=t;return{duration:null!=(n=s.transitionDuration)?n:"number"==typeof o?o:o[r.mode]||0,easing:null!=(i=s.transitionTimingFunction)?i:"object"==typeof a?a[r.mode]:a,delay:s.transitionDelay}}},7342:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=n(2651).Z},6620:function(t,r,n){"use strict";n.d(r,{Z:()=>l});var i=n(7560),o=n(2784),a=n(28811),s=n(52322);function l(t,r){function n(n,o){return(0,s.jsx)(a.Z,(0,i.Z)({"data-testid":`${r}Icon`,ref:o},n,{children:t}))}return n.muiName=a.Z.muiName,o.memo(o.forwardRef(n))}},86672:function(t,r,n){"use strict";n.d(r,{Z:()=>o});var i=n(2784);let o=function(t,r){var n,o;return i.isValidElement(t)&&-1!==r.indexOf(null!=(n=t.type.muiName)?n:null==(o=t.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)}},46425:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=n(75161).Z},57227:function(t,r,n){"use strict";n.d(r,{Z:()=>o});var i=n(2784);let o=function({controlled:t,default:r,name:n,state:o="value"}){let{current:a}=i.useRef(void 0!==t),[s,l]=i.useState(r),u=i.useCallback(t=>{a||l(t)},[]);return[a?t:s,u]}},25691:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=n(13806).Z},78647:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=n(39983).Z},98659:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=n(53640).Z},85954:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=n(12358).Z},10331:function(t,r,n){"use strict";n.d(r,{Z:()=>h});var i=n(2784),o=n(59722);let a=!0,s=!1,l=new o.V,u={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 c(t){t.metaKey||t.altKey||t.ctrlKey||(a=!0)}function d(){a=!1}function f(){"hidden"===this.visibilityState&&s&&(a=!0)}let h=function(){let t=i.useCallback(t=>{if(null!=t){var r;(r=t.ownerDocument).addEventListener("keydown",c,!0),r.addEventListener("mousedown",d,!0),r.addEventListener("pointerdown",d,!0),r.addEventListener("touchstart",d,!0),r.addEventListener("visibilitychange",f,!0)}},[]),r=i.useRef(!1);return{isFocusVisibleRef:r,onFocus:function(t){return!!function(t){let{target:r}=t;try{return r.matches(":focus-visible")}catch(t){}return a||function(t){let{type:r,tagName:n}=t;return"INPUT"===n&&!!u[r]&&!t.readOnly||"TEXTAREA"===n&&!t.readOnly||!!t.isContentEditable}(r)}(t)&&(r.current=!0,!0)},onBlur:function(){return!!r.current&&(s=!0,l.start(100,()=>{s=!1}),r.current=!1,!0)},ref:t}}},14233:function(t,r,n){"use strict";n.d(r,{U:()=>o});var i=n(43853);function o(t){return i.Z}},31310:function(t,r,n){"use strict";n.d(r,{Z:()=>a}),n(2784);var i=n(28165),o=n(52322);function a(t){let{styles:r,defaultTheme:n={}}=t,a="function"==typeof r?t=>r(null==t||0===Object.keys(t).length?n:t):r;return(0,o.jsx)(i.xB,{styles:a})}},79895:function(t,r,n){"use strict";let i;n.r(r),n.d(r,{ThemeContext:()=>c.T,StyledEngineProvider:()=>eu,default:()=>ed,css:()=>_.iv,internal_processStyles:()=>ep,keyframes:()=>_.F4,GlobalStyles:()=>ec.Z});var o=n(7560),a=n(2784),s=n(86894),l=/^((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)-.*))$/,u=(0,s.Z)(function(t){return l.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)}),c=n(21039),d=n(82792),f=n(48290),h=n(82668),m=function(t){return"theme"!==t},g=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?u:m},y=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(r){return t.__emotion_forwardProp(r)&&o(r)}:o}return"function"!=typeof i&&n&&(i=t.__emotion_forwardProp),i},v=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return(0,d.hC)(r,n,i),(0,h.L)(function(){return(0,d.My)(r,n,i)}),null},b=(function t(r,n){var i,s,l=r.__emotion_real===r,u=l&&r.__emotion_base||r;void 0!==n&&(i=n.label,s=n.target);var h=y(r,n,l),m=h||g(u),b=!m("as");return function(){var _=arguments,w=l&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==i&&w.push("label:"+i+";"),null==_[0]||void 0===_[0].raw)w.push.apply(w,_);else{w.push(_[0][0]);for(var S=_.length,x=1;x<S;x++)w.push(_[x],_[0][x])}var E=(0,c.w)(function(t,r,n){var i=b&&t.as||u,o="",l=[],y=t;if(null==t.theme){for(var _ in y={},t)y[_]=t[_];y.theme=a.useContext(c.T)}"string"==typeof t.className?o=(0,d.fp)(r.registered,l,t.className):null!=t.className&&(o=t.className+" ");var S=(0,f.O)(w.concat(l),r.registered,y);o+=r.key+"-"+S.name,void 0!==s&&(o+=" "+s);var x=b&&void 0===h?g(i):m,E={};for(var k in t)(!b||"as"!==k)&&x(k)&&(E[k]=t[k]);return E.className=o,n&&(E.ref=n),a.createElement(a.Fragment,null,a.createElement(v,{cache:r,serialized:S,isStringTag:"string"==typeof i}),a.createElement(i,E))});return E.displayName=void 0!==i?i:"Styled("+("string"==typeof u?u:u.displayName||u.name||"Component")+")",E.defaultProps=r.defaultProps,E.__emotion_real=E,E.__emotion_base=u,E.__emotion_styles=w,E.__emotion_forwardProp=h,Object.defineProperty(E,"toString",{value:function(){return"."+s}}),E.withComponent=function(r,i){return t(r,(0,o.Z)({},n,i,{shouldForwardProp:y(E,i,!0)})).apply(void 0,w)},E}}).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(t){b[t]=b(t)});var _=n(28165),w=n(11168),S=Math.abs,x=String.fromCharCode,E=Object.assign;function k(t,r,n){return t.replace(r,n)}function C(t,r){return t.indexOf(r)}function O(t,r){return 0|t.charCodeAt(r)}function R(t,r,n){return t.slice(r,n)}function T(t){return t.length}function P(t,r){return r.push(t),t}var M=1,I=1,A=0,L=0,N=0,j="";function D(t,r,n,i,o,a,s){return{value:t,root:r,parent:n,type:i,props:o,children:a,line:M,column:I,length:s,return:""}}function F(t,r){return E(D("",null,null,"",null,null,0),t,{length:-t.length},r)}function B(){return N=L<A?O(j,L++):0,I++,10===N&&(I=1,M++),N}function $(){return O(j,L)}function U(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function z(t){return M=I=1,A=T(j=t),L=0,[]}function q(t){var r,n;return(r=L-1,n=function t(r){for(;B();)switch(N){case r:return L;case 34:case 39:34!==r&&39!==r&&t(N);break;case 40:41===r&&t(r);break;case 92:B()}return L}(91===t?t+2:40===t?t+1:t),R(j,r,n)).trim()}var Z="-ms-",H="-moz-",V="-webkit-",W="comm",G="rule",K="decl",X="@keyframes";function Y(t,r){for(var n="",i=t.length,o=0;o<i;o++)n+=r(t[o],o,t,r)||"";return n}function J(t,r,n,i){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case K:return t.return=t.return||t.value;case W:return"";case X:return t.return=t.value+"{"+Y(t.children,i)+"}";case G:t.value=t.props.join(",")}return T(n=Y(t.children,i))?t.return=t.value+"{"+n+"}":""}function Q(t,r,n,i,o,a,s,l,u,c,d){for(var f=o-1,h=0===o?a:[""],m=h.length,g=0,y=0,v=0;g<i;++g)for(var b=0,_=R(t,f+1,f=S(y=s[g])),w=t;b<m;++b)(w=(y>0?h[b]+" "+_:k(_,/&\f/g,h[b])).trim())&&(u[v++]=w);return D(t,r,n,0===o?G:l,u,c,d)}function ee(t,r,n,i){return D(t,r,n,K,R(t,0,i),R(t,i+1,-1),i)}var et=function(t,r,n){for(var i=0,o=0;i=o,o=$(),38===i&&12===o&&(r[n]=1),!U(o);)B();return R(j,t,L)},er=function(t,r){var n=-1,i=44;do switch(U(i)){case 0:38===i&&12===$()&&(r[n]=1),t[n]+=et(L-1,r,n);break;case 2:t[n]+=q(i);break;case 4:if(44===i){t[++n]=58===$()?"&\f":"",r[n]=t[n].length;break}default:t[n]+=x(i)}while(i=B());return t},en=function(t,r){var n;return n=er(z(t),r),j="",n},ei=new WeakMap,eo=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===r.charCodeAt(0)||ei.get(n))&&!i){ei.set(t,!0);for(var o=[],a=en(r,o),s=n.props,l=0,u=0;l<a.length;l++)for(var c=0;c<s.length;c++,u++)t.props[u]=o[l]?a[l].replace(/&\f/g,s[c]):s[c]+" "+a[l]}}},ea=function(t){if("decl"===t.type){var r=t.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(t.return="",t.value="")}},es=[function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case K:t.return=function t(r,n){switch(45^O(r,0)?(((n<<2^O(r,0))<<2^O(r,1))<<2^O(r,2))<<2^O(r,3):0){case 5103:return V+"print-"+r+r;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 V+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return V+r+H+r+Z+r+r;case 6828:case 4268:return V+r+Z+r+r;case 6165:return V+r+Z+"flex-"+r+r;case 5187:return V+r+k(r,/(\w+).+(:[^]+)/,V+"box-$1$2"+Z+"flex-$1$2")+r;case 5443:return V+r+Z+"flex-item-"+k(r,/flex-|-self/,"")+r;case 4675:return V+r+Z+"flex-line-pack"+k(r,/align-content|flex-|-self/,"")+r;case 5548:return V+r+Z+k(r,"shrink","negative")+r;case 5292:return V+r+Z+k(r,"basis","preferred-size")+r;case 6060:return V+"box-"+k(r,"-grow","")+V+r+Z+k(r,"grow","positive")+r;case 4554:return V+k(r,/([^-])(transform)/g,"$1"+V+"$2")+r;case 6187:return k(k(k(r,/(zoom-|grab)/,V+"$1"),/(image-set)/,V+"$1"),r,"")+r;case 5495:case 3959:return k(r,/(image-set\([^]*)/,V+"$1$`$1");case 4968:return k(k(r,/(.+:)(flex-)?(.*)/,V+"box-pack:$3"+Z+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+V+r+r;case 4095:case 3583:case 4068:case 2532:return k(r,/(.+)-inline(.+)/,V+"$1$2")+r;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(T(r)-1-n>6)switch(O(r,n+1)){case 109:if(45!==O(r,n+4))break;case 102:return k(r,/(.+:)(.+)-([^]+)/,"$1"+V+"$2-$3$1"+H+(108==O(r,n+3)?"$3":"$2-$3"))+r;case 115:return~C(r,"stretch")?t(k(r,"stretch","fill-available"),n)+r:r}break;case 4949:if(115!==O(r,n+1))break;case 6444:switch(O(r,T(r)-3-(~C(r,"!important")&&10))){case 107:return k(r,":",":"+V)+r;case 101:return k(r,/(.+:)([^;!]+)(;|!.+)?/,"$1"+V+(45===O(r,14)?"inline-":"")+"box$3$1"+V+"$2$3$1"+Z+"$2box$3")+r}break;case 5936:switch(O(r,n+11)){case 114:return V+r+Z+k(r,/[svh]\w+-[tblr]{2}/,"tb")+r;case 108:return V+r+Z+k(r,/[svh]\w+-[tblr]{2}/,"tb-rl")+r;case 45:return V+r+Z+k(r,/[svh]\w+-[tblr]{2}/,"lr")+r}return V+r+Z+r+r}return r}(t.value,t.length);break;case X:return Y([F(t,{value:k(t.value,"@","@"+V)})],i);case G:if(t.length){var o,a;return o=t.props,a=function(r){var n;switch(n=r,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return Y([F(t,{props:[k(r,/:(read-\w+)/,":"+H+"$1")]})],i);case"::placeholder":return Y([F(t,{props:[k(r,/:(plac\w+)/,":"+V+"input-$1")]}),F(t,{props:[k(r,/:(plac\w+)/,":"+H+"$1")]}),F(t,{props:[k(r,/:(plac\w+)/,Z+"input-$1")]})],i)}return""},o.map(a).join("")}}}],el=n(52322);function eu(t){let{injectFirst:r,children:n}=t;return r&&i?(0,el.jsx)(c.C,{value:i,children:n}):n}"object"==typeof document&&(i=function(t){var r,n,i,o,a,s=t.key;if("css"===s){var l=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(l,function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))})}var u=t.stylisPlugins||es,c={},d=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+s+' "]'),function(t){for(var r=t.getAttribute("data-emotion").split(" "),n=1;n<r.length;n++)c[r[n]]=!0;d.push(t)});var f=(n=(r=[eo,ea].concat(u,[J,(i=function(t){a.insert(t)},function(t){!t.root&&(t=t.return)&&i(t)})])).length,function(t,i,o,a){for(var s="",l=0;l<n;l++)s+=r[l](t,i,o,a)||"";return s}),h=function(t){var r,n;return Y((n=function t(r,n,i,o,a,s,l,u,c){for(var d,f=0,h=0,m=l,g=0,y=0,v=0,b=1,_=1,w=1,S=0,E="",A=a,F=s,z=o,Z=E;_;)switch(v=S,S=B()){case 40:if(108!=v&&58==O(Z,m-1)){-1!=C(Z+=k(q(S),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:Z+=q(S);break;case 9:case 10:case 13:case 32:Z+=function(t){for(;N=$();)if(N<33)B();else break;return U(t)>2||U(N)>3?"":" "}(v);break;case 92:Z+=function(t,r){for(var n;--r&&B()&&!(N<48)&&!(N>102)&&(!(N>57)||!(N<65))&&(!(N>70)||!(N<97)););return n=L+(r<6&&32==$()&&32==B()),R(j,t,n)}(L-1,7);continue;case 47:switch($()){case 42:case 47:P((d=function(t,r){for(;B();)if(t+N===57)break;else if(t+N===84&&47===$())break;return"/*"+R(j,r,L-1)+"*"+x(47===t?t:B())}(B(),L),D(d,n,i,W,x(N),R(d,2,-2),0)),c);break;default:Z+="/"}break;case 123*b:u[f++]=T(Z)*w;case 125*b:case 59:case 0:switch(S){case 0:case 125:_=0;case 59+h:-1==w&&(Z=k(Z,/\f/g,"")),y>0&&T(Z)-m&&P(y>32?ee(Z+";",o,i,m-1):ee(k(Z," ","")+";",o,i,m-2),c);break;case 59:Z+=";";default:if(P(z=Q(Z,n,i,f,h,a,u,E,A=[],F=[],m),s),123===S)if(0===h)t(Z,n,z,z,A,s,m,u,F);else switch(99===g&&110===O(Z,3)?100:g){case 100:case 108:case 109:case 115:t(r,z,z,o&&P(Q(r,z,z,0,0,a,u,E,a,A=[],m),F),a,F,m,u,o?A:F);break;default:t(Z,z,z,z,[""],F,0,u,F)}}f=h=y=0,b=w=1,E=Z="",m=l;break;case 58:m=1+T(Z),y=v;default:if(b<1){if(123==S)--b;else if(125==S&&0==b++&&125==(N=L>0?O(j,--L):0,I--,10===N&&(I=1,M--),N))continue}switch(Z+=x(S),S*b){case 38:w=h>0?1:(Z+="\f",-1);break;case 44:u[f++]=(T(Z)-1)*w,w=1;break;case 64:45===$()&&(Z+=q(B())),g=$(),h=m=T(E=Z+=function(t){for(;!U($());)B();return R(j,t,L)}(L)),S++;break;case 45:45===v&&2==T(Z)&&(b=0)}}return s}("",null,null,null,[""],r=z(r=t),0,[0],r),j="",n),f)},m={key:s,sheet:new w.m({key:s,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:c,registered:{},insert:function(t,r,n,i){a=n,h(t?t+"{"+r.styles+"}":r.styles),i&&(m.inserted[r.name]=!0)}};return m.sheet.hydrate(d),m}({key:"css",prepend:!0}));var ec=n(31310);function ed(t,r){return b(t,r)}let ep=(t,r)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=r(t.__emotion_styles))}},408:function(t,r,n){"use strict";var i=n(14859);r.alpha=function(t,r){return t=l(t),r=s(r),("rgb"===t.type||"hsl"===t.type)&&(t.type+="a"),"color"===t.type?t.values[3]=`/${r}`:t.values[3]=r,u(t)},r.darken=d,r.emphasize=function(t,r=.15){return c(t)>.5?d(t,r):f(t,r)},r.getContrastRatio=function(t,r){let n=c(t),i=c(r);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)},r.lighten=f;var o=i(n(22027)),a=i(n(52681));function s(t,r=0,n=1){return(0,a.default)(t,r,n)}function l(t){let r;if(t.type)return t;if("#"===t.charAt(0))return l(function(t){t=t.slice(1);let r=RegExp(`.{1,${t.length>=6?2:1}}`,"g"),n=t.match(r);return n&&1===n[0].length&&(n=n.map(t=>t+t)),n?`rgb${4===n.length?"a":""}(${n.map((t,r)=>r<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3).join(", ")})`:""}(t));let n=t.indexOf("("),i=t.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(i))throw Error((0,o.default)(9,t));let a=t.substring(n+1,t.length-1);if("color"===i){if(r=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw Error((0,o.default)(10,r))}else a=a.split(",");return{type:i,values:a=a.map(t=>parseFloat(t)),colorSpace:r}}function u(t){let{type:r,colorSpace:n}=t,{values:i}=t;return -1!==r.indexOf("rgb")?i=i.map((t,r)=>r<3?parseInt(t,10):t):-1!==r.indexOf("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),i=-1!==r.indexOf("color")?`${n} ${i.join(" ")}`:`${i.join(", ")}`,`${r}(${i})`}function c(t){let r="hsl"===(t=l(t)).type||"hsla"===t.type?l(function(t){let{values:r}=t=l(t),n=r[0],i=r[1]/100,o=r[2]/100,a=i*Math.min(o,1-o),s=(t,r=(t+n/30)%12)=>o-a*Math.max(Math.min(r-3,9-r,1),-1),c="rgb",d=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===t.type&&(c+="a",d.push(r[3])),u({type:c,values:d})}(t)).values:t.values;return Number((.2126*(r=r.map(r=>("color"!==t.type&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)))[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function d(t,r){if(t=l(t),r=s(r),-1!==t.type.indexOf("hsl"))t.values[2]*=1-r;else if(-1!==t.type.indexOf("rgb")||-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]*=1-r;return u(t)}function f(t,r){if(t=l(t),r=s(r),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*r;else if(-1!==t.type.indexOf("rgb"))for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*r;else if(-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*r;return u(t)}},95524:function(t,r,n){"use strict";var i=n(14859);r.default=function(t={}){let{themeId:r,defaultTheme:n=y,rootShouldForwardProp:i=g,slotShouldForwardProp:u=g}=t,d=t=>(0,c.default)((0,o.default)({},t,{theme:b((0,o.default)({},t,{defaultTheme:n,themeId:r}))}));return d.__mui_systemSx=!0,(t,c={})=>{var f;let m;(0,s.internal_processStyles)(t,t=>t.filter(t=>!(null!=t&&t.__mui_systemSx)));let{name:y,slot:w,skipVariantsResolver:S,skipSx:x,overridesResolver:E=!(f=v(w))?null:(t,r)=>r[f]}=c,k=(0,a.default)(c,h),C=void 0!==S?S:w&&"Root"!==w&&"root"!==w||!1,O=x||!1,R=g;"Root"===w||"root"===w?R=i:w?R=u:"string"==typeof t&&t.charCodeAt(0)>96&&(R=void 0);let T=(0,s.default)(t,(0,o.default)({shouldForwardProp:R,label:m},k)),P=t=>"function"==typeof t&&t.__emotion_real!==t||(0,l.isPlainObject)(t)?i=>_(t,(0,o.default)({},i,{theme:b({theme:i.theme,defaultTheme:n,themeId:r})})):t,M=(i,...a)=>{let s=P(i),l=a?a.map(P):[];y&&E&&l.push(t=>{let i=b((0,o.default)({},t,{defaultTheme:n,themeId:r}));if(!i.components||!i.components[y]||!i.components[y].styleOverrides)return null;let a=i.components[y].styleOverrides,s={};return Object.entries(a).forEach(([r,n])=>{s[r]=_(n,(0,o.default)({},t,{theme:i}))}),E(t,s)}),y&&!C&&l.push(t=>{var i;let a=b((0,o.default)({},t,{defaultTheme:n,themeId:r}));return _({variants:null==a||null==(i=a.components)||null==(i=i[y])?void 0:i.variants},(0,o.default)({},t,{theme:a}))}),O||l.push(d);let u=l.length-a.length;if(Array.isArray(i)&&u>0){let t=Array(u).fill("");(s=[...i,...t]).raw=[...i.raw,...t]}let c=T(s,...l);return t.muiName&&(c.muiName=t.muiName),c};return T.withConfig&&(M.withConfig=T.withConfig),M}};var o=i(n(58527)),a=i(n(78834)),s=function(t,r){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=m(r);if(n&&n.has(t))return n.get(t);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=o?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=t[a]}return i.default=t,n&&n.set(t,i),i}(n(79895)),l=n(74628);i(n(44550)),i(n(97204));var u=i(n(78801)),c=i(n(44015));let d=["ownerState"],f=["variants"],h=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function m(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(m=function(t){return t?n:r})(t)}function g(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}let y=(0,u.default)(),v=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function b({defaultTheme:t,theme:r,themeId:n}){return 0===Object.keys(r).length?t:r[n]||r}function _(t,r){let{ownerState:n}=r,i=(0,a.default)(r,d),s="function"==typeof t?t((0,o.default)({ownerState:n},i)):t;if(Array.isArray(s))return s.flatMap(t=>_(t,(0,o.default)({ownerState:n},i)));if(s&&"object"==typeof s&&Array.isArray(s.variants)){let{variants:t=[]}=s,r=(0,a.default)(s,f);return t.forEach(t=>{let a=!0;"function"==typeof t.props?a=t.props((0,o.default)({ownerState:n},i,n)):Object.keys(t.props).forEach(r=>{(null==n?void 0:n[r])!==t.props[r]&&i[r]!==t.props[r]&&(a=!1)}),a&&(Array.isArray(r)||(r=[r]),r.push("function"==typeof t.style?t.style((0,o.default)({ownerState:n},i,n)):t.style))}),r}return s}},74692:function(t,r,n){"use strict";n.d(r,{V:()=>c,Z:()=>d});var i=n(7560),o=n(98283),a=n(2784),s=n(52322);let l=["value"],u=a.createContext(),c=()=>{let t=a.useContext(u);return null!=t&&t},d=function(t){let{value:r}=t,n=(0,o.Z)(t,l);return(0,s.jsx)(u.Provider,(0,i.Z)({value:null==r||r},n))}},99929:function(t,r,n){"use strict";n.d(r,{L7:()=>u,P$:()=>d,VO:()=>o,W8:()=>l,dt:()=>c,k9:()=>s});var i=n(3525);let o={xs:0,sm:600,md:900,lg:1200,xl:1536},a={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${o[t]}px)`};function s(t,r,n){let i=t.theme||{};if(Array.isArray(r)){let t=i.breakpoints||a;return r.reduce((i,o,a)=>(i[t.up(t.keys[a])]=n(r[a]),i),{})}if("object"==typeof r){let t=i.breakpoints||a;return Object.keys(r).reduce((i,a)=>(-1!==Object.keys(t.values||o).indexOf(a)?i[t.up(a)]=n(r[a],a):i[a]=r[a],i),{})}return n(r)}function l(t={}){var r;return(null==(r=t.keys)?void 0:r.reduce((r,n)=>(r[t.up(n)]={},r),{}))||{}}function u(t,r){return t.reduce((t,r)=>{let n=t[r];return n&&0!==Object.keys(n).length||delete t[r],t},r)}function c(t,...r){let n=l(t),o=[n,...r].reduce((t,r)=>(0,i.Z)(t,r),{});return u(Object.keys(n),o)}function d({values:t,breakpoints:r,base:n}){let i,o=Object.keys(n||function(t,r){if("object"!=typeof t)return{};let n={},i=Object.keys(r);return Array.isArray(t)?i.forEach((r,i)=>{i<t.length&&(n[r]=!0)}):i.forEach(r=>{null!=t[r]&&(n[r]=!0)}),n}(t,r));return 0===o.length?t:o.reduce((r,n,o)=>(Array.isArray(t)?(r[n]=null!=t[o]?t[o]:t[i],i=o):"object"==typeof t?(r[n]=null!=t[n]?t[n]:t[i],i=n):r[n]=t,r),{})}},47591:function(t,r,n){"use strict";n.d(r,{$n:()=>d,Fq:()=>u,_j:()=>c});var i=n(99623),o=n(83863);function a(t,r=0,n=1){return(0,o.Z)(t,r,n)}function s(t){let r;if(t.type)return t;if("#"===t.charAt(0))return s(function(t){t=t.slice(1);let r=RegExp(`.{1,${t.length>=6?2:1}}`,"g"),n=t.match(r);return n&&1===n[0].length&&(n=n.map(t=>t+t)),n?`rgb${4===n.length?"a":""}(${n.map((t,r)=>r<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3).join(", ")})`:""}(t));let n=t.indexOf("("),o=t.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw Error((0,i.Z)(9,t));let a=t.substring(n+1,t.length-1);if("color"===o){if(r=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw Error((0,i.Z)(10,r))}else a=a.split(",");return{type:o,values:a=a.map(t=>parseFloat(t)),colorSpace:r}}function l(t){let{type:r,colorSpace:n}=t,{values:i}=t;return -1!==r.indexOf("rgb")?i=i.map((t,r)=>r<3?parseInt(t,10):t):-1!==r.indexOf("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),i=-1!==r.indexOf("color")?`${n} ${i.join(" ")}`:`${i.join(", ")}`,`${r}(${i})`}function u(t,r){return t=s(t),r=a(r),("rgb"===t.type||"hsl"===t.type)&&(t.type+="a"),"color"===t.type?t.values[3]=`/${r}`:t.values[3]=r,l(t)}function c(t,r){if(t=s(t),r=a(r),-1!==t.type.indexOf("hsl"))t.values[2]*=1-r;else if(-1!==t.type.indexOf("rgb")||-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]*=1-r;return l(t)}function d(t,r){if(t=s(t),r=a(r),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*r;else if(-1!==t.type.indexOf("rgb"))for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*r;else if(-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*r;return l(t)}},74212:function(t,r,n){"use strict";function i(t,r){return this.vars&&"function"==typeof this.getColorSchemeSelector?{[this.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)")]:r}:this.palette.mode===t?r:{}}n.d(r,{Z:()=>i})},59256:function(t,r,n){"use strict";n.d(r,{Z:()=>l});var i=n(98283),o=n(7560);let a=["values","unit","step"],s=t=>{let r=Object.keys(t).map(r=>({key:r,val:t[r]}))||[];return r.sort((t,r)=>t.val-r.val),r.reduce((t,r)=>(0,o.Z)({},t,{[r.key]:r.val}),{})};function l(t){let{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:l=5}=t,u=(0,i.Z)(t,a),c=s(r),d=Object.keys(c);function f(t){let i="number"==typeof r[t]?r[t]:t;return`@media (min-width:${i}${n})`}function h(t){let i="number"==typeof r[t]?r[t]:t;return`@media (max-width:${i-l/100}${n})`}function m(t,i){let o=d.indexOf(i);return`@media (min-width:${"number"==typeof r[t]?r[t]:t}${n}) and (max-width:${(-1!==o&&"number"==typeof r[d[o]]?r[d[o]]:i)-l/100}${n})`}return(0,o.Z)({keys:d,values:c,up:f,down:h,between:m,only:function(t){return d.indexOf(t)+1<d.length?m(t,d[d.indexOf(t)+1]):f(t)},not:function(t){let r=d.indexOf(t);return 0===r?f(d[1]):r===d.length-1?h(d[r]):m(t,d[d.indexOf(t)+1]).replace("@media","@media not all and")},unit:n},u)}},51263:function(t,r,n){"use strict";n.d(r,{Z:()=>m});var i=n(7560),o=n(98283),a=n(3525),s=n(59256);let l={borderRadius:4};var u=n(86599),c=n(37450),d=n(9288),f=n(74212);let h=["breakpoints","palette","spacing","shape"],m=function(t={},...r){let{breakpoints:n={},palette:m={},spacing:g,shape:y={}}=t,v=(0,o.Z)(t,h),b=(0,s.Z)(n),_=function(t=8){if(t.mui)return t;let r=(0,u.hB)({spacing:t}),n=(...t)=>(0===t.length?[1]:t).map(t=>{let n=r(t);return"number"==typeof n?`${n}px`:n}).join(" ");return n.mui=!0,n}(g),w=(0,a.Z)({breakpoints:b,direction:"ltr",components:{},palette:(0,i.Z)({mode:"light"},m),spacing:_,shape:(0,i.Z)({},l,y)},v);return w.applyStyles=f.Z,(w=r.reduce((t,r)=>(0,a.Z)(t,r),w)).unstable_sxConfig=(0,i.Z)({},d.Z,null==v?void 0:v.unstable_sxConfig),w.unstable_sx=function(t){return(0,c.Z)({sx:t,theme:this})},w}},78801:function(t,r,n){"use strict";n.r(r),n.d(r,{default:()=>i.Z,private_createBreakpoints:()=>o.Z,unstable_applyStyles:()=>a.Z});var i=n(51263),o=n(59256),a=n(74212)},8329:function(t,r,n){"use strict";n.d(r,{Z:()=>o});var i=n(3525);let o=function(t,r){return r?(0,i.Z)(t,r,{clone:!1}):t}},86599:function(t,r,n){"use strict";n.d(r,{NA:()=>y,hB:()=>g,e6:()=>b,o3:()=>_,eI:()=>m});var i=n(99929),o=n(2818),a=n(8329);let s={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},u={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(t){let r={};return n=>(void 0===r[n]&&(r[n]=t(n)),r[n])}(t=>{if(t.length>2)if(!u[t])return[t];else t=u[t];let[r,n]=t.split(""),i=s[r],o=l[n]||"";return Array.isArray(o)?o.map(t=>i+t):[i+o]}),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],h=[...d,...f];function m(t,r,n,i){var a;let s=null!=(a=(0,o.DW)(t,r,!1))?a:n;return"number"==typeof s?t=>"string"==typeof t?t:s*t:Array.isArray(s)?t=>"string"==typeof t?t:s[t]:"function"==typeof s?s:()=>void 0}function g(t){return m(t,"spacing",8,"spacing")}function y(t,r){if("string"==typeof r||null==r)return r;let n=t(Math.abs(r));return r>=0?n:"number"==typeof n?-n:`-${n}`}function v(t,r){let n=g(t.theme);return Object.keys(t).map(o=>(function(t,r,n,o){var a;if(-1===r.indexOf(n))return null;let s=(a=c(n),t=>a.reduce((r,n)=>(r[n]=y(o,t),r),{})),l=t[n];return(0,i.k9)(t,l,s)})(t,r,o,n)).reduce(a.Z,{})}function b(t){return v(t,d)}function _(t){return v(t,f)}function w(t){return v(t,h)}b.propTypes={},b.filterProps=d,_.propTypes={},_.filterProps=f,w.propTypes={},w.filterProps=h},2818:function(t,r,n){"use strict";n.d(r,{DW:()=>a,Jq:()=>s,ZP:()=>l});var i=n(2651),o=n(99929);function a(t,r,n=!0){if(!r||"string"!=typeof r)return null;if(t&&t.vars&&n){let n=`vars.${r}`.split(".").reduce((t,r)=>t&&t[r]?t[r]:null,t);if(null!=n)return n}return r.split(".").reduce((t,r)=>t&&null!=t[r]?t[r]:null,t)}function s(t,r,n,i=n){let o;return o="function"==typeof t?t(n):Array.isArray(t)?t[n]||i:a(t,n)||i,r&&(o=r(o,i,t)),o}let l=function(t){let{prop:r,cssProperty:n=t.prop,themeKey:l,transform:u}=t,c=t=>{if(null==t[r])return null;let c=t[r],d=a(t.theme,l)||{};return(0,o.k9)(t,c,t=>{let o=s(d,u,t);return(t===o&&"string"==typeof t&&(o=s(d,u,`${r}${"default"===t?"":(0,i.Z)(t)}`,t)),!1===n)?o:{[n]:o}})};return c.propTypes={},c.filterProps=[r],c}},9288:function(t,r,n){"use strict";n.d(r,{Z:()=>Z});var i=n(86599),o=n(2818),a=n(8329);let s=function(...t){let r=t.reduce((t,r)=>(r.filterProps.forEach(n=>{t[n]=r}),t),{}),n=t=>Object.keys(t).reduce((n,i)=>r[i]?(0,a.Z)(n,r[i](t)):n,{});return n.propTypes={},n.filterProps=t.reduce((t,r)=>t.concat(r.filterProps),[]),n};var l=n(99929);function u(t){return"number"!=typeof t?t:`${t}px solid`}function c(t,r){return(0,o.ZP)({prop:t,themeKey:"borders",transform:r})}let d=c("border",u),f=c("borderTop",u),h=c("borderRight",u),m=c("borderBottom",u),g=c("borderLeft",u),y=c("borderColor"),v=c("borderTopColor"),b=c("borderRightColor"),_=c("borderBottomColor"),w=c("borderLeftColor"),S=c("outline",u),x=c("outlineColor"),E=t=>{if(void 0!==t.borderRadius&&null!==t.borderRadius){let r=(0,i.eI)(t.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(t,t.borderRadius,t=>({borderRadius:(0,i.NA)(r,t)}))}return null};E.propTypes={},E.filterProps=["borderRadius"],s(d,f,h,m,g,y,v,b,_,w,E,S,x);let k=t=>{if(void 0!==t.gap&&null!==t.gap){let r=(0,i.eI)(t.theme,"spacing",8,"gap");return(0,l.k9)(t,t.gap,t=>({gap:(0,i.NA)(r,t)}))}return null};k.propTypes={},k.filterProps=["gap"];let C=t=>{if(void 0!==t.columnGap&&null!==t.columnGap){let r=(0,i.eI)(t.theme,"spacing",8,"columnGap");return(0,l.k9)(t,t.columnGap,t=>({columnGap:(0,i.NA)(r,t)}))}return null};C.propTypes={},C.filterProps=["columnGap"];let O=t=>{if(void 0!==t.rowGap&&null!==t.rowGap){let r=(0,i.eI)(t.theme,"spacing",8,"rowGap");return(0,l.k9)(t,t.rowGap,t=>({rowGap:(0,i.NA)(r,t)}))}return null};O.propTypes={},O.filterProps=["rowGap"];let R=(0,o.ZP)({prop:"gridColumn"}),T=(0,o.ZP)({prop:"gridRow"}),P=(0,o.ZP)({prop:"gridAutoFlow"}),M=(0,o.ZP)({prop:"gridAutoColumns"}),I=(0,o.ZP)({prop:"gridAutoRows"}),A=(0,o.ZP)({prop:"gridTemplateColumns"}),L=(0,o.ZP)({prop:"gridTemplateRows"});function N(t,r){return"grey"===r?r:t}s(k,C,O,R,T,P,M,I,A,L,(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"}));let j=(0,o.ZP)({prop:"color",themeKey:"palette",transform:N});function D(t){return t<=1&&0!==t?`${100*t}%`:t}s(j,(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:N}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:N}));let F=(0,o.ZP)({prop:"width",transform:D}),B=t=>void 0!==t.maxWidth&&null!==t.maxWidth?(0,l.k9)(t,t.maxWidth,r=>{var n,i;let o=(null==(n=t.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[r])||l.VO[r];return o?(null==(i=t.theme)||null==(i=i.breakpoints)?void 0:i.unit)!=="px"?{maxWidth:`${o}${t.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:D(r)}}):null;B.filterProps=["maxWidth"];let $=(0,o.ZP)({prop:"minWidth",transform:D}),U=(0,o.ZP)({prop:"height",transform:D}),z=(0,o.ZP)({prop:"maxHeight",transform:D}),q=(0,o.ZP)({prop:"minHeight",transform:D});(0,o.ZP)({prop:"size",cssProperty:"width",transform:D}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:D}),s(F,B,$,U,z,q,(0,o.ZP)({prop:"boxSizing"}));let Z={border:{themeKey:"borders",transform:u},borderTop:{themeKey:"borders",transform:u},borderRight:{themeKey:"borders",transform:u},borderBottom:{themeKey:"borders",transform:u},borderLeft:{themeKey:"borders",transform:u},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:u},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:E},color:{themeKey:"palette",transform:N},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:N},backgroundColor:{themeKey:"palette",transform:N},p:{style:i.o3},pt:{style:i.o3},pr:{style:i.o3},pb:{style:i.o3},pl:{style:i.o3},px:{style:i.o3},py:{style:i.o3},padding:{style:i.o3},paddingTop:{style:i.o3},paddingRight:{style:i.o3},paddingBottom:{style:i.o3},paddingLeft:{style:i.o3},paddingX:{style:i.o3},paddingY:{style:i.o3},paddingInline:{style:i.o3},paddingInlineStart:{style:i.o3},paddingInlineEnd:{style:i.o3},paddingBlock:{style:i.o3},paddingBlockStart:{style:i.o3},paddingBlockEnd:{style:i.o3},m:{style:i.e6},mt:{style:i.e6},mr:{style:i.e6},mb:{style:i.e6},ml:{style:i.e6},mx:{style:i.e6},my:{style:i.e6},margin:{style:i.e6},marginTop:{style:i.e6},marginRight:{style:i.e6},marginBottom:{style:i.e6},marginLeft:{style:i.e6},marginX:{style:i.e6},marginY:{style:i.e6},marginInline:{style:i.e6},marginInlineStart:{style:i.e6},marginInlineEnd:{style:i.e6},marginBlock:{style:i.e6},marginBlockStart:{style:i.e6},marginBlockEnd:{style:i.e6},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:k},rowGap:{style:O},columnGap:{style:C},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:D},maxWidth:{style:B},minWidth:{transform:D},height:{transform:D},maxHeight:{transform:D},minHeight:{transform:D},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},89836:function(t,r,n){"use strict";n.d(r,{Z:()=>c});var i=n(7560),o=n(98283),a=n(3525),s=n(9288);let l=["sx"],u=t=>{var r,n;let i={systemProps:{},otherProps:{}},o=null!=(r=null==t||null==(n=t.theme)?void 0:n.unstable_sxConfig)?r:s.Z;return Object.keys(t).forEach(r=>{o[r]?i.systemProps[r]=t[r]:i.otherProps[r]=t[r]}),i};function c(t){let r,{sx:n}=t,{systemProps:s,otherProps:c}=u((0,o.Z)(t,l));return r=Array.isArray(n)?[s,...n]:"function"==typeof n?(...t)=>{let r=n(...t);return(0,a.P)(r)?(0,i.Z)({},s,r):s}:(0,i.Z)({},s,n),(0,i.Z)({},c,{sx:r})}},44015:function(t,r,n){"use strict";n.r(r),n.d(r,{default:()=>i.Z,extendSxProp:()=>o.Z,unstable_createStyleFunctionSx:()=>i.n,unstable_defaultSxConfig:()=>a.Z});var i=n(37450),o=n(89836),a=n(9288)},37450:function(t,r,n){"use strict";n.d(r,{Z:()=>d,n:()=>u});var i=n(2651),o=n(8329),a=n(2818),s=n(99929),l=n(9288);function u(){function t(t,r,n,o){let l={[t]:r,theme:n},u=o[t];if(!u)return{[t]:r};let{cssProperty:c=t,themeKey:d,transform:f,style:h}=u;if(null==r)return null;if("typography"===d&&"inherit"===r)return{[t]:r};let m=(0,a.DW)(n,d)||{};return h?h(l):(0,s.k9)(l,r,r=>{let n=(0,a.Jq)(m,f,r);return(r===n&&"string"==typeof r&&(n=(0,a.Jq)(m,f,`${t}${"default"===r?"":(0,i.Z)(r)}`,r)),!1===c)?n:{[c]:n}})}return function r(n){var i;let{sx:a,theme:u={}}=n||{};if(!a)return null;let c=null!=(i=u.unstable_sxConfig)?i:l.Z;function d(n){let i=n;if("function"==typeof n)i=n(u);else if("object"!=typeof n)return n;if(!i)return null;let a=(0,s.W8)(u.breakpoints),l=Object.keys(a),d=a;return Object.keys(i).forEach(n=>{var a;let l=(a=i[n],"function"==typeof a?a(u):a);if(null!=l)if("object"==typeof l)if(c[n])d=(0,o.Z)(d,t(n,l,u,c));else{let t=(0,s.k9)({theme:u},l,t=>({[n]:t}));!function(...t){let r=new Set(t.reduce((t,r)=>t.concat(Object.keys(r)),[]));return t.every(t=>r.size===Object.keys(t).length)}(t,l)?d=(0,o.Z)(d,t):d[n]=r({sx:l,theme:u})}else d=(0,o.Z)(d,t(n,l,u,c))}),(0,s.L7)(l,d)}return Array.isArray(a)?a.map(d):d(a)}}let c=u();c.filterProps=["sx"];let d=c},66805:function(t,r,n){"use strict";n.d(r,{Z:()=>b});var i=n(7560),o=n(98283),a=n(79895),s=n(3525),l=n(51263),u=n(37450);let c=["ownerState"],d=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function h(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}let m=(0,l.Z)(),g=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function y({defaultTheme:t,theme:r,themeId:n}){return 0===Object.keys(r).length?t:r[n]||r}function v(t,r){let{ownerState:n}=r,a=(0,o.Z)(r,c),s="function"==typeof t?t((0,i.Z)({ownerState:n},a)):t;if(Array.isArray(s))return s.flatMap(t=>v(t,(0,i.Z)({ownerState:n},a)));if(s&&"object"==typeof s&&Array.isArray(s.variants)){let{variants:t=[]}=s,r=(0,o.Z)(s,d);return t.forEach(t=>{let o=!0;"function"==typeof t.props?o=t.props((0,i.Z)({ownerState:n},a,n)):Object.keys(t.props).forEach(r=>{(null==n?void 0:n[r])!==t.props[r]&&a[r]!==t.props[r]&&(o=!1)}),o&&(Array.isArray(r)||(r=[r]),r.push("function"==typeof t.style?t.style((0,i.Z)({ownerState:n},a,n)):t.style))}),r}return s}let b=function(t={}){let{themeId:r,defaultTheme:n=m,rootShouldForwardProp:l=h,slotShouldForwardProp:c=h}=t,d=t=>(0,u.Z)((0,i.Z)({},t,{theme:y((0,i.Z)({},t,{defaultTheme:n,themeId:r}))}));return d.__mui_systemSx=!0,(t,u={})=>{var m;let b;(0,a.internal_processStyles)(t,t=>t.filter(t=>!(null!=t&&t.__mui_systemSx)));let{name:_,slot:w,skipVariantsResolver:S,skipSx:x,overridesResolver:E=!(m=g(w))?null:(t,r)=>r[m]}=u,k=(0,o.Z)(u,f),C=void 0!==S?S:w&&"Root"!==w&&"root"!==w||!1,O=x||!1,R=h;"Root"===w||"root"===w?R=l:w?R=c:"string"==typeof t&&t.charCodeAt(0)>96&&(R=void 0);let T=(0,a.default)(t,(0,i.Z)({shouldForwardProp:R,label:b},k)),P=t=>"function"==typeof t&&t.__emotion_real!==t||(0,s.P)(t)?o=>v(t,(0,i.Z)({},o,{theme:y({theme:o.theme,defaultTheme:n,themeId:r})})):t,M=(o,...a)=>{let s=P(o),l=a?a.map(P):[];_&&E&&l.push(t=>{let o=y((0,i.Z)({},t,{defaultTheme:n,themeId:r}));if(!o.components||!o.components[_]||!o.components[_].styleOverrides)return null;let a=o.components[_].styleOverrides,s={};return Object.entries(a).forEach(([r,n])=>{s[r]=v(n,(0,i.Z)({},t,{theme:o}))}),E(t,s)}),_&&!C&&l.push(t=>{var o;let a=y((0,i.Z)({},t,{defaultTheme:n,themeId:r}));return v({variants:null==a||null==(o=a.components)||null==(o=o[_])?void 0:o.variants},(0,i.Z)({},t,{theme:a}))}),O||l.push(d);let u=l.length-a.length;if(Array.isArray(o)&&u>0){let t=Array(u).fill("");(s=[...o,...t]).raw=[...o.raw,...t]}let c=T(s,...l);return t.muiName&&(c.muiName=t.muiName),c};return T.withConfig&&(M.withConfig=T.withConfig),M}}()},27149:function(t,r,n){"use strict";n.d(r,{Z:()=>c});var i,o=n(2784),a=n(13806),s=n(98135),l=n(38457);let u=(i||(i=n.t(o,2))).useSyncExternalStore;function c(t,r={}){let n=(0,l.Z)(),i="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:d=!1,matchMedia:f=i?window.matchMedia:null,ssrMatchMedia:h=null,noSsr:m=!1}=(0,s.Z)({name:"MuiUseMediaQuery",props:r,theme:n}),g="function"==typeof t?t(n):t;return(void 0!==u?function(t,r,n,i,a){let s=o.useCallback(()=>r,[r]),l=o.useMemo(()=>{if(a&&n)return()=>n(t).matches;if(null!==i){let{matches:r}=i(t);return()=>r}return s},[s,t,i,a,n]),[c,d]=o.useMemo(()=>{if(null===n)return[s,()=>()=>{}];let r=n(t);return[()=>r.matches,t=>(r.addListener(t),()=>{r.removeListener(t)})]},[s,n,t]);return u(d,c,l)}:function(t,r,n,i,s){let[l,u]=o.useState(()=>s&&n?n(t).matches:i?i(t).matches:r);return(0,a.Z)(()=>{let r=!0;if(!n)return;let i=n(t),o=()=>{r&&u(i.matches)};return o(),i.addListener(o),()=>{r=!1,i.removeListener(o)}},[t,n]),l})(g=g.replace(/^@media( ?)/m,""),d,f,h,m)}},16933:function(t,r,n){"use strict";n.d(r,{Z:()=>s});var i=n(51263),o=n(38457);let a=(0,i.Z)(),s=function(t=a){return(0,o.Z)(t)}},98135:function(t,r,n){"use strict";n.d(r,{Z:()=>o});var i=n(87395);function o(t){let{theme:r,name:n,props:o}=t;return r&&r.components&&r.components[n]&&r.components[n].defaultProps?(0,i.Z)(r.components[n].defaultProps,o):o}},37870:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(98135),o=n(16933);function a({props:t,name:r,defaultTheme:n,themeId:a}){let s=(0,o.Z)(n);return a&&(s=s[a]||s),(0,i.Z)({theme:s,name:r,props:t})}},38457:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(21039);let a=function(t=null){let r=i.useContext(o.T);return r&&0!==Object.keys(r).length?r:t}},74690:function(t,r,n){"use strict";r.default=void 0;var i=function(t,r){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=a(r);if(n&&n.has(t))return n.get(t);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=o?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(2784)),o=n(79895);function a(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:r})(t)}r.default=function(t=null){let r=i.useContext(o.ThemeContext);return r&&0!==Object.keys(r).length?r:t}},68542:function(t,r,n){"use strict";let i;n.d(r,{Z:()=>a});let o=t=>t,a=(i=o,{configure(t){i=t},generate:t=>i(t),reset(){i=o}})},2651:function(t,r,n){"use strict";n.d(r,{Z:()=>o});var i=n(99623);function o(t){if("string"!=typeof t)throw Error((0,i.Z)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},44550:function(t,r,n){"use strict";n.r(r),n.d(r,{default:()=>i.Z});var i=n(2651)},83863:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=function(t,r=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(t,n))}},52681:function(t,r,n){"use strict";n.r(r),n.d(r,{default:()=>i.Z});var i=n(83863)},69075:function(t,r,n){"use strict";function i(t,r,n){let i={};return Object.keys(t).forEach(o=>{i[o]=t[o].reduce((t,i)=>{if(i){let o=r(i);""!==o&&t.push(o),n&&n[i]&&t.push(n[i])}return t},[]).join(" ")}),i}n.d(r,{Z:()=>i})},37311:function(t,r,n){"use strict";function i(...t){return t.reduce((t,r)=>null==r?t:function(...n){t.apply(this,n),r.apply(this,n)},()=>{})}n.d(r,{Z:()=>i})},93286:function(t,r,n){"use strict";function i(t,r=166){let n;function o(...i){clearTimeout(n),n=setTimeout(()=>{t.apply(this,i)},r)}return o.clear=()=>{clearTimeout(n)},o}n.d(r,{Z:()=>i})},3525:function(t,r,n){"use strict";n.d(r,{P:()=>a,Z:()=>function t(r,n,s={clone:!0}){let l=s.clone?(0,i.Z)({},r):r;return a(r)&&a(n)&&Object.keys(n).forEach(i=>{o.isValidElement(n[i])?l[i]=n[i]:a(n[i])&&Object.prototype.hasOwnProperty.call(r,i)&&a(r[i])?l[i]=t(r[i],n[i],s):s.clone?l[i]=a(n[i])?function t(r){if(o.isValidElement(r)||!a(r))return r;let n={};return Object.keys(r).forEach(i=>{n[i]=t(r[i])}),n}(n[i]):n[i]:l[i]=n[i]}),l}});var i=n(7560),o=n(2784);function a(t){if("object"!=typeof t||null===t)return!1;let r=Object.getPrototypeOf(t);return(null===r||r===Object.prototype||null===Object.getPrototypeOf(r))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}},74628:function(t,r,n){"use strict";n.r(r),n.d(r,{default:()=>i.Z,isPlainObject:()=>i.P});var i=n(3525)},99623:function(t,r,n){"use strict";function i(t){let r="https://mui.com/production-error/?code="+t;for(let t=1;t<arguments.length;t+=1)r+="&args[]="+encodeURIComponent(arguments[t]);return"Minified MUI error #"+t+"; visit "+r+" for the full message."}n.d(r,{Z:()=>i})},22027:function(t,r,n){"use strict";n.r(r),n.d(r,{default:()=>i.Z});var i=n(99623)},15672:function(t,r,n){"use strict";n.d(r,{ZP:()=>a,_v:()=>o});var i=n(68542);let o={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 a(t,r,n="Mui"){let s=o[r];return s?`${n}-${s}`:`${i.Z.generate(t)}-${r}`}},69222:function(t,r,n){"use strict";n.d(r,{Z:()=>o});var i=n(15672);function o(t,r,n="Mui"){let a={};return r.forEach(r=>{a[r]=(0,i.ZP)(t,r,n)}),a}},97204:function(t,r,n){"use strict";n.r(r),n.d(r,{default:()=>u,getFunctionName:()=>a});var i=n(22808);let o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function a(t){let r=`${t}`.match(o);return r&&r[1]||""}function s(t,r=""){return t.displayName||t.name||a(t)||r}function l(t,r,n){let i=s(r);return t.displayName||(""!==i?`${n}(${i})`:n)}function u(t){if(null!=t){if("string"==typeof t)return t;if("function"==typeof t)return s(t,"Component");if("object"==typeof t)switch(t.$$typeof){case i.ForwardRef:return l(t,t.render,"ForwardRef");case i.Memo:return l(t,t.type,"memo")}}}},69094:function(t,r,n){"use strict";function i(t){let r=t.documentElement.clientWidth;return Math.abs(window.innerWidth-r)}n.d(r,{Z:()=>i})},75161:function(t,r,n){"use strict";function i(t){return t&&t.ownerDocument||document}n.d(r,{Z:()=>i})},52817:function(t,r,n){"use strict";n.d(r,{Z:()=>o});var i=n(75161);function o(t){return(0,i.Z)(t).defaultView||window}},87395:function(t,r,n){"use strict";n.d(r,{Z:()=>function t(r,n){let o=(0,i.Z)({},n);return Object.keys(r).forEach(a=>{if(a.toString().match(/^(components|slots)$/))o[a]=(0,i.Z)({},r[a],o[a]);else if(a.toString().match(/^(componentsProps|slotProps)$/)){let s=r[a]||{},l=n[a];o[a]={},l&&Object.keys(l)?s&&Object.keys(s)?(o[a]=(0,i.Z)({},l),Object.keys(s).forEach(r=>{o[a][r]=t(s[r],l[r])})):o[a]=l:o[a]=s}else void 0===o[a]&&(o[a]=r[a])}),o}});var i=n(7560)},86607:function(t,r,n){"use strict";function i(t,r){"function"==typeof t?t(r):t&&(t.current=r)}n.d(r,{Z:()=>i})},13806:function(t,r,n){"use strict";n.d(r,{Z:()=>o});var i=n(2784);let o="undefined"!=typeof window?i.useLayoutEffect:i.useEffect},39983:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(13806);let a=function(t){let r=i.useRef(t);return(0,o.Z)(()=>{r.current=t}),i.useRef((...t)=>(0,r.current)(...t)).current}},53640:function(t,r,n){"use strict";n.d(r,{Z:()=>a});var i=n(2784),o=n(86607);function a(...t){return i.useMemo(()=>t.every(t=>null==t)?null:r=>{t.forEach(t=>{(0,o.Z)(t,r)})},t)}},12358:function(t,r,n){"use strict";n.d(r,{Z:()=>l});var i,o=n(2784);let a=0,s=(i||(i=n.t(o,2)))["useId".toString()];function l(t){if(void 0!==s){let r=s();return null!=t?t:r}let[r,n]=o.useState(t),i=t||r;return o.useEffect(()=>{null==r&&(a+=1,n(`mui-${a}`))},[r]),i}},59722:function(t,r,n){"use strict";n.d(r,{V:()=>Timeout,Z:()=>s});var i=n(2784);let o={},a=[];let Timeout=class Timeout{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Timeout}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}};function s(){var t;let r=function(t,r){let n=i.useRef(o);return n.current===o&&(n.current=t(void 0)),n}(Timeout.create).current;return t=r.disposeEffect,i.useEffect(t,a),r}},22808:function(t,r){"use strict";var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler");Symbol.for("react.provider");var l=Symbol.for("react.consumer"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition");Symbol.for("react.client.reference");r.ForwardRef=c,r.Memo=h},16060:function(t,r,n){"use strict";var i,o,a,s;function l(){return(l=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}n.d(r,{Ep:()=>g,J0:()=>d,LX:()=>w,RQ:()=>T,WK:()=>A,X3:()=>AbortedDeferredError,Zn:()=>S,aU:()=>i,cP:()=>y,cm:()=>O,fp:()=>v,pC:()=>R,q_:()=>c}),(a=i||(i={})).Pop="POP",a.Push="PUSH",a.Replace="REPLACE";let u="popstate";function c(t){return void 0===t&&(t={}),function(t,r,n,o){void 0===o&&(o={});let{window:a=document.defaultView,v5Compat:s=!1}=o,c=a.history,f=i.Pop,y=null,v=b();function b(){return(c.state||{idx:null}).idx}function _(){f=i.Pop;let t=b(),r=null==t?null:t-v;v=t,y&&y({action:f,location:S.location,delta:r})}function w(t){let r="null"!==a.location.origin?a.location.origin:a.location.href,n="string"==typeof t?t:g(t);return d(r,"No window.location.(origin|href) available to create URL for href: "+(n=n.replace(/ $/,"%20"))),new URL(n,r)}null==v&&(v=0,c.replaceState(l({},c.state,{idx:v}),""));let S={get action(){return f},get location(){return t(a,c)},listen(t){if(y)throw Error("A history only accepts one active listener");return a.addEventListener(u,_),y=t,()=>{a.removeEventListener(u,_),y=null}},createHref:t=>r(a,t),createURL:w,encodeLocation(t){let r=w(t);return{pathname:r.pathname,search:r.search,hash:r.hash}},push:function(t,r){f=i.Push;let o=m(S.location,t,r);n&&n(o,t);let l=h(o,v=b()+1),u=S.createHref(o);try{c.pushState(l,"",u)}catch(t){if(t instanceof DOMException&&"DataCloneError"===t.name)throw t;a.location.assign(u)}s&&y&&y({action:f,location:S.location,delta:1})},replace:function(t,r){f=i.Replace;let o=m(S.location,t,r);n&&n(o,t);let a=h(o,v=b()),l=S.createHref(o);c.replaceState(a,"",l),s&&y&&y({action:f,location:S.location,delta:0})},go:t=>c.go(t)};return S}(function(t,r){let{pathname:n="/",search:i="",hash:o=""}=y(t.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),m("",{pathname:n,search:i,hash:o},r.state&&r.state.usr||null,r.state&&r.state.key||"default")},function(t,r){let n=t.document.querySelector("base"),i="";if(n&&n.getAttribute("href")){let r=t.location.href,n=r.indexOf("#");i=-1===n?r:r.slice(0,n)}return i+"#"+("string"==typeof r?r:g(r))},function(t,r){f("/"===t.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(r)+")")},t)}function d(t,r){if(!1===t||null==t)throw Error(r)}function f(t,r){if(!t){"undefined"!=typeof console&&console.warn(r);try{throw Error(r)}catch(t){}}}function h(t,r){return{usr:t.state,key:t.key,idx:r}}function m(t,r,n,i){return void 0===n&&(n=null),l({pathname:"string"==typeof t?t:t.pathname,search:"",hash:""},"string"==typeof r?y(r):r,{state:n,key:r&&r.key||i||Math.random().toString(36).substr(2,8)})}function g(t){let{pathname:r="/",search:n="",hash:i=""}=t;return n&&"?"!==n&&(r+="?"===n.charAt(0)?n:"?"+n),i&&"#"!==i&&(r+="#"===i.charAt(0)?i:"#"+i),r}function y(t){let r={};if(t){let n=t.indexOf("#");n>=0&&(r.hash=t.substr(n),t=t.substr(0,n));let i=t.indexOf("?");i>=0&&(r.search=t.substr(i),t=t.substr(0,i)),t&&(r.pathname=t)}return r}function v(t,r,n){return void 0===n&&(n="/"),function(t,r,n,i){let o=S(("string"==typeof r?y(r):r).pathname||"/",n);if(null==o)return null;let a=function t(r,n,i,o){void 0===n&&(n=[]),void 0===i&&(i=[]),void 0===o&&(o="");let a=(r,a,s)=>{var l,u;let c,f,h={relativePath:void 0===s?r.path||"":s,caseSensitive:!0===r.caseSensitive,childrenIndex:a,route:r};h.relativePath.startsWith("/")&&(d(h.relativePath.startsWith(o),'Absolute route path "'+h.relativePath+'" nested under path "'+o+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),h.relativePath=h.relativePath.slice(o.length));let m=T([o,h.relativePath]),g=i.concat(h);r.children&&r.children.length>0&&(d(!0!==r.index,'Index routes must not have child routes. Please remove all child routes from route path "'+m+'".'),t(r.children,n,g,m)),(null!=r.path||r.index)&&n.push({path:m,score:(l=m,u=r.index,f=(c=l.split("/")).length,c.some(_)&&(f+=-2),u&&(f+=2),c.filter(t=>!_(t)).reduce((t,r)=>t+(b.test(r)?3:""===r?1:10),f)),routesMeta:g})};return r.forEach((t,r)=>{var n;if(""!==t.path&&null!=(n=t.path)&&n.includes("?"))for(let n of function t(r){let n=r.split("/");if(0===n.length)return[];let[i,...o]=n,a=i.endsWith("?"),s=i.replace(/\?$/,"");if(0===o.length)return a?[s,""]:[s];let l=t(o.join("/")),u=[];return u.push(...l.map(t=>""===t?s:[s,t].join("/"))),a&&u.push(...l),u.map(t=>r.startsWith("/")&&""===t?"/":t)}(t.path))a(t,r,n);else a(t,r)}),n}(t);!function(t){t.sort((t,r)=>{var n,i;return t.score!==r.score?r.score-t.score:(n=t.routesMeta.map(t=>t.childrenIndex),i=r.routesMeta.map(t=>t.childrenIndex),n.length===i.length&&n.slice(0,-1).every((t,r)=>t===i[r])?n[n.length-1]-i[i.length-1]:0)})}(a);let s=null;for(let t=0;null==s&&t<a.length;++t){let r=function(t){try{return t.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(r){return f(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+r+")."),t}}(o);s=function(t,r,n){void 0===n&&(n=!1);let{routesMeta:i}=t,o={},a="/",s=[];for(let t=0;t<i.length;++t){let l=i[t],u=t===i.length-1,c="/"===a?r:r.slice(a.length)||"/",d=w({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d&&u&&n&&!i[i.length-1].route.index&&(d=w({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;Object.assign(o,d.params),s.push({params:o,pathname:T([a,d.pathname]),pathnameBase:P(T([a,d.pathnameBase])),route:f}),"/"!==d.pathnameBase&&(a=T([a,d.pathnameBase]))}return s}(a[t],r,i)}return s}(t,r,n,!1)}(s=o||(o={})).data="data",s.deferred="deferred",s.redirect="redirect",s.error="error";let b=/^:[\w-]+$/,_=t=>"*"===t;function w(t,r){var n,i,o;let a,s;"string"==typeof t&&(t={path:t,caseSensitive:!1,end:!0});let[l,u]=(n=t.path,i=t.caseSensitive,o=t.end,void 0===i&&(i=!1),void 0===o&&(o=!0),f("*"===n||!n.endsWith("*")||n.endsWith("/*"),'Route path "'+n+'" will be treated as if it were "'+n.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+n.replace(/\*$/,"/*")+'".'),a=[],s="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(t,r,n)=>(a.push({paramName:r,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")),n.endsWith("*")?(a.push({paramName:"*"}),s+="*"===n||"/*"===n?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?s+="\\/*$":""!==n&&"/"!==n&&(s+="(?:(?=\\/|$))"),[new RegExp(s,i?void 0:"i"),a]),c=r.match(l);if(!c)return null;let d=c[0],h=d.replace(/(.)\/+$/,"$1"),m=c.slice(1);return{params:u.reduce((t,r,n)=>{let{paramName:i,isOptional:o}=r;if("*"===i){let t=m[n]||"";h=d.slice(0,d.length-t.length).replace(/(.)\/+$/,"$1")}let a=m[n];return o&&!a?t[i]=void 0:t[i]=(a||"").replace(/%2F/g,"/"),t},{}),pathname:d,pathnameBase:h,pattern:t}}function S(t,r){if("/"===r)return t;if(!t.toLowerCase().startsWith(r.toLowerCase()))return null;let n=r.endsWith("/")?r.length-1:r.length,i=t.charAt(n);return i&&"/"!==i?null:t.slice(n)||"/"}let x=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,E=t=>x.test(t);function k(t,r){let n=r.replace(/\/+$/,"").split("/");return t.split("/").forEach(t=>{".."===t?n.length>1&&n.pop():"."!==t&&n.push(t)}),n.length>1?n.join("/"):"/"}function C(t,r,n,i){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+r+"` field [")+JSON.stringify(i)+"].  Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function O(t,r){let n=t.filter((t,r)=>0===r||t.route.path&&t.route.path.length>0);return r?n.map((t,r)=>r===n.length-1?t.pathname:t.pathnameBase):n.map(t=>t.pathnameBase)}function R(t,r,n,i){let o,a;void 0===i&&(i=!1),"string"==typeof t?o=y(t):(d(!(o=l({},t)).pathname||!o.pathname.includes("?"),C("?","pathname","search",o)),d(!o.pathname||!o.pathname.includes("#"),C("#","pathname","hash",o)),d(!o.search||!o.search.includes("#"),C("#","search","hash",o)));let s=""===t||""===o.pathname,u=s?"/":o.pathname;if(null==u)a=n;else{let t=r.length-1;if(!i&&u.startsWith("..")){let r=u.split("/");for(;".."===r[0];)r.shift(),t-=1;o.pathname=r.join("/")}a=t>=0?r[t]:"/"}let c=function(t,r){let n;void 0===r&&(r="/");let{pathname:i,search:o="",hash:a=""}="string"==typeof t?y(t):t;return i?E(i)?n=i:(i.includes("//")&&f(!1,"Pathnames cannot have embedded double slashes - normalizing "+i+" -> "+(i=i.replace(/\/\/+/g,"/"))),n=i.startsWith("/")?k(i.substring(1),"/"):k(i,r)):n=r,{pathname:n,search:M(o),hash:I(a)}}(o,a),h=u&&"/"!==u&&u.endsWith("/"),m=(s||"."===u)&&n.endsWith("/");return!c.pathname.endsWith("/")&&(h||m)&&(c.pathname+="/"),c}let T=t=>t.join("/").replace(/\/\/+/g,"/"),P=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),M=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",I=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:"";let AbortedDeferredError=class AbortedDeferredError extends Error{};function A(t){return null!=t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"boolean"==typeof t.internal&&"data"in t}Symbol("deferred")},93283:function(t,r,n){"use strict";var i,o;n.d(r,{n_:()=>j,s3:()=>D,nZ:()=>F,Tb:()=>N});let a=Object.prototype.toString;function s(t){return"[object Object]"===a.call(t)}function l(t){return!!(t&&t.then&&"function"==typeof t.then)}function u(t){return t&&t.Math==Math?t:void 0}let c="object"==typeof globalThis&&u(globalThis)||"object"==typeof window&&u(window)||"object"==typeof self&&u(self)||"object"==typeof n.g&&u(n.g)||function(){return this}()||{};function d(t,r,n){let i=n||c,o=i.__SENTRY__=i.__SENTRY__||{};return o[t]||(o[t]=r())}function f(){let t=c.crypto||c.msCrypto,r=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(r=()=>{let r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch(t){}return"10000000100040008000100000000000".replace(/[018]/g,t=>(t^(15&r())>>t/4).toString(16))}function h(){return Date.now()/1e3}let m=function(){let{performance:t}=c;if(!t||!t.now)return h;let r=Date.now()-t.now(),n=void 0==t.timeOrigin?r:t.timeOrigin;return()=>(n+t.now())/1e3}();(()=>{let{performance:t}=c;if(!t||!t.now)return;let r=t.now(),n=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+r-n):36e5,o=t.timing&&t.timing.navigationStart,a="number"==typeof o?Math.abs(o+r-n):36e5;if((i<36e5||a<36e5)&&i<=a)return t.timeOrigin})();let g="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,y=["debug","info","warn","error","log","assert","trace"],v={};function b(t){if(!("console"in c))return t();let r=c.console,n={},i=Object.keys(v);i.forEach(t=>{let i=v[t];n[t]=r[t],r[t]=i});try{return t()}finally{i.forEach(t=>{r[t]=n[t]})}}let _=function(){let t=!1,r={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return g?y.forEach(n=>{r[n]=(...r)=>{t&&b(()=>{c.console[n](`Sentry Logger [${n}]:`,...r)})}}):y.forEach(t=>{r[t]=()=>void 0}),r}(),w="production",S="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;(o=i||(i={}))[o.PENDING=0]="PENDING",o[o.RESOLVED=1]="RESOLVED",o[o.REJECTED=2]="REJECTED";let SyncPromise=class SyncPromise{constructor(t){SyncPromise.prototype.__init.call(this),SyncPromise.prototype.__init2.call(this),SyncPromise.prototype.__init3.call(this),SyncPromise.prototype.__init4.call(this),this._state=i.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,r){return new SyncPromise((n,i)=>{this._handlers.push([!1,r=>{if(t)try{n(t(r))}catch(t){i(t)}else n(r)},t=>{if(r)try{n(r(t))}catch(t){i(t)}else i(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new SyncPromise((r,n)=>{let i,o;return this.then(r=>{o=!1,i=r,t&&t()},r=>{o=!0,i=r,t&&t()}).then(()=>{if(o){n(i);return}r(i)})})}__init(){this._resolve=t=>{this._setResult(i.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(i.REJECTED,t)}}__init3(){this._setResult=(t,r)=>{if(this._state===i.PENDING){if(l(r)){r.then(this._resolve,this._reject);return}this._state=t,this._value=r,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===i.PENDING)return;let t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(this._state===i.RESOLVED&&t[1](this._value),this._state===i.REJECTED&&t[2](this._value),t[0]=!0)})}}};function x(t){return function t(r,n){if(function(t){if(!s(t))return!1;try{let r=Object.getPrototypeOf(t).constructor.name;return!r||"Object"===r}catch(t){return!0}}(r)){let i=n.get(r);if(void 0!==i)return i;let o={};for(let i of(n.set(r,o),Object.keys(r)))void 0!==r[i]&&(o[i]=t(r[i],n));return o}if(Array.isArray(r)){let i=n.get(r);if(void 0!==i)return i;let o=[];return n.set(r,o),r.forEach(r=>{o.push(t(r,n))}),o}return r}(t,new Map)}function E(t,r={}){if(r.user&&(!t.ipAddress&&r.user.ip_address&&(t.ipAddress=r.user.ip_address),t.did||r.did||(t.did=r.user.id||r.user.email||r.user.username)),t.timestamp=r.timestamp||m(),r.abnormal_mechanism&&(t.abnormal_mechanism=r.abnormal_mechanism),r.ignoreDuration&&(t.ignoreDuration=r.ignoreDuration),r.sid&&(t.sid=32===r.sid.length?r.sid:f()),void 0!==r.init&&(t.init=r.init),!t.did&&r.did&&(t.did=`${r.did}`),"number"==typeof r.started&&(t.started=r.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof r.duration)t.duration=r.duration;else{let r=t.timestamp-t.started;t.duration=r>=0?r:0}r.release&&(t.release=r.release),r.environment&&(t.environment=r.environment),!t.ipAddress&&r.ipAddress&&(t.ipAddress=r.ipAddress),!t.userAgent&&r.userAgent&&(t.userAgent=r.userAgent),"number"==typeof r.errors&&(t.errors=r.errors),r.status&&(t.status=r.status)}function k(t){return t.transaction}function C(t){return"function"==typeof t.getSpanJSON?t.getSpanJSON():"function"==typeof t.toJSON?t.toJSON():{}}let scope_Scope=class scope_Scope{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=O()}static clone(t){return t?t.clone():new scope_Scope}clone(){let t=new scope_Scope;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(t){this._client=t}getClient(){return this._client}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&E(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,r){return this._tags={...this._tags,[t]:r},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,r){return this._extra={...this._extra,[t]:r},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,r){return null===r?delete this._contexts[t]:this._contexts[t]=r,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let t=this._span;return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let r="function"==typeof t?t(this):t;if(r instanceof scope_Scope){let t=r.getScopeData();this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&Object.keys(t.user).length&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint.length&&(this._fingerprint=t.fingerprint),r.getRequestSession()&&(this._requestSession=r.getRequestSession()),t.propagationContext&&(this._propagationContext=t.propagationContext)}else s(r)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext));return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=O(),this}addBreadcrumb(t,r){let n="number"==typeof r?r:100;if(n<=0)return this;let i={timestamp:h(),...t},o=this._breadcrumbs;return o.push(i),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){let{_breadcrumbs:t,_attachments:r,_contexts:n,_tags:i,_extra:o,_user:a,_level:s,_fingerprint:l,_eventProcessors:u,_propagationContext:c,_sdkProcessingMetadata:d,_transactionName:f,_span:h}=this;return{breadcrumbs:t,attachments:r,contexts:n,tags:i,extra:o,user:a,level:s,fingerprint:l||[],eventProcessors:u,propagationContext:c,sdkProcessingMetadata:d,transactionName:f,span:h}}applyToEvent(t,r={},n=[]){var i,o,a,s,u,c=this.getScopeData();let{fingerprint:f,span:h,breadcrumbs:m,sdkProcessingMetadata:g}=c;return function(t,r){let{extra:n,tags:i,user:o,contexts:a,level:s,transactionName:l}=r,u=x(n);u&&Object.keys(u).length&&(t.extra={...u,...t.extra});let c=x(i);c&&Object.keys(c).length&&(t.tags={...c,...t.tags});let d=x(o);d&&Object.keys(d).length&&(t.user={...d,...t.user});let f=x(a);f&&Object.keys(f).length&&(t.contexts={...f,...t.contexts}),s&&(t.level=s),l&&(t.transaction=l)}(t,c),h&&function(t,r){t.contexts={trace:function(t){let{spanId:r,traceId:n}=t.spanContext(),{data:i,op:o,parent_span_id:a,status:s,tags:l,origin:u}=C(t);return x({data:i,op:o,parent_span_id:a,span_id:r,status:s,tags:l,trace_id:n,origin:u})}(r),...t.contexts};let n=k(r);if(n){t.sdkProcessingMetadata={dynamicSamplingContext:function(t){let r=D();if(!r)return{};let n=function(t,r,n){let i=r.getOptions(),{publicKey:o}=r.getDsn()||{},{segment:a}=n&&n.getUser()||{},s=x({environment:i.environment||w,release:i.release,user_segment:a,public_key:o,trace_id:t});return r.emit&&r.emit("createDsc",s),s}(C(t).trace_id||"",r,F()),i=k(t);if(!i)return n;let o=i&&i._frozenDynamicSamplingContext;if(o)return o;let{sampleRate:a,source:s}=i.metadata;null!=a&&(n.sample_rate=`${a}`);let l=C(i);return s&&"url"!==s&&(n.transaction=l.description),n.sampled=String(function(t){let{traceFlags:r}=t.spanContext();return!!(1&r)}(i)),r.emit&&r.emit("createDsc",n),n}(r),...t.sdkProcessingMetadata};let i=C(n).description;i&&(t.tags={transaction:i,...t.tags})}}(t,h),i=t,o=f,i.fingerprint=i.fingerprint?Array.isArray(a=i.fingerprint)?a:[a]:[],o&&(i.fingerprint=i.fingerprint.concat(o)),i.fingerprint&&!i.fingerprint.length&&delete i.fingerprint,function(t,r){let n=[...t.breadcrumbs||[],...r];t.breadcrumbs=n.length?n:void 0}(t,m),s=t,u=g,s.sdkProcessingMetadata={...s.sdkProcessingMetadata,...u},function t(r,n,i,o=0){return new SyncPromise((a,s)=>{let u=r[o];if(null===n||"function"!=typeof u)a(n);else{let c=u({...n},i);S&&u.id&&null===c&&_.log(`Event processor "${u.id}" dropped event`),l(c)?c.then(n=>t(r,n,i,o+1).then(a)).then(null,s):t(r,c,i,o+1).then(a).then(null,s)}})}([...n,...d("globalEventProcessors",()=>[]),...this._eventProcessors],t,r)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,r){let n=r&&r.event_id?r.event_id:f();if(!this._client)return _.warn("No client configured on scope - will not capture exception!"),n;let i=Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...r,event_id:n},this),n}captureMessage(t,r,n){let i=n&&n.event_id?n.event_id:f();if(!this._client)return _.warn("No client configured on scope - will not capture message!"),i;let o=Error(t);return this._client.captureMessage(t,r,{originalException:t,syntheticException:o,...n,event_id:i},this),i}captureEvent(t,r){let n=r&&r.event_id?r.event_id:f();return this._client?this._client.captureEvent(t,{...r,event_id:n},this):_.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}};function O(){return{traceId:f(),spanId:f().substring(16)}}let R=parseFloat("7.120.3");let Hub=class Hub{constructor(t,r,n,i=R){let o,a;this._version=i,r?o=r:(o=new scope_Scope).setClient(t),n?a=n:(a=new scope_Scope).setClient(t),this._stack=[{scope:o}],t&&this.bindClient(t),this._isolationScope=a}isOlderThan(t){return this._version<t}bindClient(t){let r=this.getStackTop();r.client=t,r.scope.setClient(t),t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){let t=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(t){let r,n=this.pushScope();try{r=t(n)}catch(t){throw this.popScope(),t}return l(r)?r.then(t=>(this.popScope(),t),t=>{throw this.popScope(),t}):(this.popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,r){let n=this._lastEventId=r&&r.event_id?r.event_id:f(),i=Error("Sentry syntheticException");return this.getScope().captureException(t,{originalException:t,syntheticException:i,...r,event_id:n}),n}captureMessage(t,r,n){let i=this._lastEventId=n&&n.event_id?n.event_id:f(),o=Error(t);return this.getScope().captureMessage(t,r,{originalException:t,syntheticException:o,...n,event_id:i}),i}captureEvent(t,r){let n=r&&r.event_id?r.event_id:f();return t.type||(this._lastEventId=n),this.getScope().captureEvent(t,{...r,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,r){let{scope:n,client:i}=this.getStackTop();if(!i)return;let{beforeBreadcrumb:o=null,maxBreadcrumbs:a=100}=i.getOptions&&i.getOptions()||{};if(a<=0)return;let s={timestamp:h(),...t},l=o?b(()=>o(s,r)):s;null!==l&&(i.emit&&i.emit("beforeAddBreadcrumb",l,r),n.addBreadcrumb(l,a))}setUser(t){this.getScope().setUser(t),this.getIsolationScope().setUser(t)}setTags(t){this.getScope().setTags(t),this.getIsolationScope().setTags(t)}setExtras(t){this.getScope().setExtras(t),this.getIsolationScope().setExtras(t)}setTag(t,r){this.getScope().setTag(t,r),this.getIsolationScope().setTag(t,r)}setExtra(t,r){this.getScope().setExtra(t,r),this.getIsolationScope().setExtra(t,r)}setContext(t,r){this.getScope().setContext(t,r),this.getIsolationScope().setContext(t,r)}configureScope(t){let{scope:r,client:n}=this.getStackTop();n&&t(r)}run(t){let r=P(this);try{t(this)}finally{P(r)}}getIntegration(t){let r=this.getClient();if(!r)return null;try{return r.getIntegration(t)}catch(r){return S&&_.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,r){let n=this._callExtensionMethod("startTransaction",t,r);return S&&!n&&(this.getClient()?_.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
Sentry.addTracingExtensions();
Sentry.init({...});
`):_.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){let t=this.getStackTop().scope,r=t.getSession();if(r){let t;t={},"ok"===r.status&&(t={status:"exited"}),E(r,t)}this._sendSessionUpdate(),t.setSession()}startSession(t){let{scope:r,client:n}=this.getStackTop(),{release:i,environment:o=w}=n&&n.getOptions()||{},{userAgent:a}=c.navigator||{},s=function(t){let r=m(),n={sid:f(),init:!0,timestamp:r,started:r,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var t;return t=n,x({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}};return t&&E(n,t),n}({release:i,environment:o,user:r.getUser(),...a&&{userAgent:a},...t}),l=r.getSession&&r.getSession();return l&&"ok"===l.status&&E(l,{status:"exited"}),this.endSession(),r.setSession(s),s}shouldSendDefaultPii(){let t=this.getClient(),r=t&&t.getOptions();return!!(r&&r.sendDefaultPii)}_sendSessionUpdate(){let{scope:t,client:r}=this.getStackTop(),n=t.getSession();n&&r&&r.captureSession&&r.captureSession(n)}_callExtensionMethod(t,...r){let n=T().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,r);S&&_.warn(`Extension method ${t} couldn't be found, doing nothing.`)}};function T(){return c.__SENTRY__=c.__SENTRY__||{extensions:{},hub:void 0},c}function P(t){let r=T(),n=I(r);return A(r,t),n}function M(){let t=T();if(t.__SENTRY__&&t.__SENTRY__.acs){let r=t.__SENTRY__.acs.getCurrentHub();if(r)return r}return function(t=T()){var r;return(!((r=t)&&r.__SENTRY__&&r.__SENTRY__.hub)||I(t).isOlderThan(R))&&A(t,new Hub),I(t)}(t)}function I(t){return d("hub",()=>new Hub,t)}function A(t,r){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=r,!0)}new WeakMap;let L=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function N(t,r){return M().captureException(t,function(t){if(t){var r;return(r=t)instanceof scope_Scope||"function"==typeof r||Object.keys(t).some(t=>L.includes(t))?{captureContext:t}:t}}(r))}function j(t,r){M().addBreadcrumb(t,r)}function D(){return M().getClient()}function F(){return M().getScope()}},65971:function(t,r,n){"use strict";var i,o,a;Object.defineProperty(r,"__esModule",{value:!0}),r._getInstance=r._getStatsigGlobalFlag=r._getStatsigGlobal=void 0;let s=n(57377);r._getStatsigGlobal=()=>__STATSIG__||f,r._getStatsigGlobalFlag=t=>(0,r._getStatsigGlobal)()[t],r._getInstance=t=>{let n=(0,r._getStatsigGlobal)();return t?n.instances&&n.instances[t]:(n.instances&&Object.keys(n.instances).length>1&&s.Log.warn("Call made to Statsig global instance without an SDK key but there is more than one client instance. If you are using mulitple clients, please specify the SDK key."),n.firstInstance)};let l="__STATSIG__",u="undefined"!=typeof window?window:{},c=void 0!==n.g?n.g:{},d="undefined"!=typeof globalThis?globalThis:{},f=null!==(a=null!==(o=null!==(i=u[l])&&void 0!==i?i:c[l])&&void 0!==o?o:d[l])&&void 0!==a?a:{instance:r._getInstance};u[l]=f,c[l]=f,d[l]=f},58882:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getStorageKey=r._getUserStorageKey=void 0;let i=n(79873);function o(t,r,n){var o;if(n)return n(t,r);let a=r&&r.customIDs?r.customIDs:{},s=[`uid:${null!==(o=null==r?void 0:r.userID)&&void 0!==o?o:""}`,`cids:${Object.keys(a).sort((t,r)=>t.localeCompare(r)).map(t=>`${t}-${a[t]}`).join(",")}`,`k:${t}`];return(0,i._DJB2)(s.join("|"))}r._getUserStorageKey=o,r._getStorageKey=function(t,r,n){return r?o(t,r,n):(0,i._DJB2)(`k:${t}`)}},68296:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},64326:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r._makeDataAdapterResult=r.DataAdapterCore=void 0;let o=n(57377),a=n(51686),s=n(44869),l=n(36914),u=n(67291);let DataAdapterCore=class DataAdapterCore{constructor(t,r){this._adapterName=t,this._cacheSuffix=r,this._options=null,this._sdkKey=null,this._lastModifiedStoreKey=`statsig.last_modified_time.${r}`,this._inMemoryCache=new InMemoryCache}attach(t,r,n){this._sdkKey=t,this._options=r}getDataSync(t){let r=t&&(0,s._normalizeUser)(t,this._options),n=this._getCacheKey(r),i=this._inMemoryCache.get(n,r);if(i)return i;let o=this._loadFromCache(n);return o?(this._inMemoryCache.add(n,o),this._inMemoryCache.get(n,r)):null}setData(t,r){let n=r&&(0,s._normalizeUser)(r,this._options),i=this._getCacheKey(n);this._inMemoryCache.add(i,c("Bootstrap",t,null,n))}_getDataAsyncImpl(t,r,n){return i(this,void 0,void 0,function*(){l.Storage.isReady()||(yield l.Storage.isReadyResolver());let i=null!=t?t:this.getDataSync(r),a=[this._fetchAndPrepFromNetwork(i,r,n)];return(null==n?void 0:n.timeoutMs)&&a.push(new Promise(t=>setTimeout(t,n.timeoutMs)).then(()=>(o.Log.debug("Fetching latest value timed out"),null))),yield Promise.race(a)})}_prefetchDataImpl(t,r){return i(this,void 0,void 0,function*(){let n=t&&(0,s._normalizeUser)(t,this._options),i=this._getCacheKey(n),o=yield this._getDataAsyncImpl(null,n,r);o&&this._inMemoryCache.add(i,Object.assign(Object.assign({},o),{source:"Prefetch"}))})}_fetchAndPrepFromNetwork(t,r,n){var s;return i(this,void 0,void 0,function*(){let i=null!==(s=null==t?void 0:t.data)&&void 0!==s?s:null,l=null!=t&&this._isCachedResultValidFor204(t,r),d=yield this._fetchFromNetwork(i,r,n,l);if(!d)return o.Log.debug("No response returned for latest value"),null;let f=(0,u._typedJsonParse)(d,"has_updates","Response"),h=this._getSdkKey(),m=a.StableID.get(h),g=null;if((null==f?void 0:f.has_updates)===!0)g=c("Network",d,m,r);else{if(!i||(null==f?void 0:f.has_updates)!==!1)return null;g=c("NetworkNotModified",i,m,r)}let y=this._getCacheKey(r);return this._inMemoryCache.add(y,g),this._writeToCache(y,g),g})}_getSdkKey(){return null!=this._sdkKey?this._sdkKey:(o.Log.error(`${this._adapterName} is not attached to a Client`),"")}_loadFromCache(t){var r;let n=null===(r=l.Storage.getItem)||void 0===r?void 0:r.call(l.Storage,t);if(null==n)return null;let i=(0,u._typedJsonParse)(n,"source","Cached Result");return i?Object.assign(Object.assign({},i),{source:"Cache"}):null}_writeToCache(t,r){l.Storage.setItem(t,JSON.stringify(r)),this._runLocalStorageCacheEviction(t)}_runLocalStorageCacheEviction(t){var r;let n=null!==(r=(0,l._getObjectFromStorage)(this._lastModifiedStoreKey))&&void 0!==r?r:{};n[t]=Date.now();let i=d(n,10);i&&(delete n[i],l.Storage.removeItem(i)),(0,l._setObjectInStorage)(this._lastModifiedStoreKey,n)}};function c(t,r,n,i){return{source:t,data:r,receivedAt:Date.now(),stableID:n,fullUserHash:(0,s._getFullUserHash)(i)}}r.DataAdapterCore=DataAdapterCore,r._makeDataAdapterResult=c;let InMemoryCache=class InMemoryCache{constructor(){this._data={}}get(t,r){var n;let i=this._data[t],a=null==i?void 0:i.stableID,s=null===(n=null==r?void 0:r.customIDs)||void 0===n?void 0:n.stableID;return s&&a&&s!==a?(o.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):i}add(t,r){let n=d(this._data,9);n&&delete this._data[n],this._data[t]=r}merge(t){this._data=Object.assign(Object.assign({},this._data),t)}};function d(t,r){let n=Object.keys(t);return n.length<=r?null:n.reduce((r,n)=>{let i=t[r],o=t[n];return"object"==typeof i&&"object"==typeof o?o.receivedAt<i.receivedAt?n:r:o<i?n:r})}},55950:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Diagnostics=void 0;let n=new Map,i="start";function o(t,r,n,i){return Object.assign({key:n,action:r,step:i,timestamp:Date.now()},t)}function a(t,r){var i;let o=null!==(i=n.get(t))&&void 0!==i?i:[];o.push(r),n.set(t,o)}function s(t,r){if(r in t)return t[r]}r.Diagnostics={_getMarkers:t=>n.get(t),_markInitOverallStart:t=>{a(t,o({},i,"overall"))},_markInitOverallEnd:(t,r,n)=>{a(t,o({success:r,error:r?void 0:{name:"InitializeError",message:"Failed to initialize"},evaluationDetails:n},"end","overall"))},_markInitNetworkReqStart:(t,r)=>{a(t,o(r,i,"initialize","network_request"))},_markInitNetworkReqEnd:(t,r)=>{a(t,o(r,"end","initialize","network_request"))},_markInitProcessStart:t=>{a(t,o({},i,"initialize","process"))},_markInitProcessEnd:(t,r)=>{a(t,o(r,"end","initialize","process"))},_clearMarkers:t=>{n.delete(t)},_formatError(t){if(t&&"object"==typeof t)return{code:s(t,"code"),name:s(t,"name"),message:s(t,"message")}},_getDiagnosticsData(t,n,i,o){var a;return{success:(null==t?void 0:t.ok)===!0,statusCode:null==t?void 0:t.status,sdkRegion:null===(a=null==t?void 0:t.headers)||void 0===a?void 0:a.get("x-statsig-region"),isDelta:!0===i.includes('"is_delta":true')||void 0,attempt:n,error:r.Diagnostics._formatError(o)}},_enqueueDiagnosticsEvent(t,n,i,o){let a=r.Diagnostics._getMarkers(i);if(null==a||a.length<=0)return -1;let s=a[a.length-1].timestamp-a[0].timestamp;r.Diagnostics._clearMarkers(i);let l={eventName:"statsig::diagnostics",user:t,value:null,metadata:{context:"initialize",markers:a.slice(),statsigOptions:o},time:Date.now()};return n.enqueue(l),s}}},96017:function(t,r){"use strict";var n=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r._fetchTxtRecords=void 0;let i=new Uint8Array([0,0,1,0,0,1,0,0,0,0,0,0,13,102,101,97,116,117,114,101,97,115,115,101,116,115,3,111,114,103,0,0,16,0,1]),o=["i","e","d"];r._fetchTxtRecords=function(t){return n(this,void 0,void 0,function*(){let r=yield t("https://cloudflare-dns.com/dns-query",{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:i});if(!r.ok){let t=Error("Failed to fetch TXT records from DNS");throw t.name="DnsTxtFetchError",t}return function(t){let r=t.findIndex((r,n)=>n<200&&"="===String.fromCharCode(r)&&o.includes(String.fromCharCode(t[n-1])));if(-1===r){let t=Error("Failed to parse TXT records from DNS");throw t.name="DnsTxtParseError",t}let n="";for(let i=r-1;i<t.length;i++)n+=String.fromCharCode(t[i]);return n.split(",")}(new Uint8Array((yield r.arrayBuffer())))})}},24951:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},80140:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.ErrorBoundary=r.EXCEPTION_ENDPOINT=void 0;let o=n(57377),a=n(8335),s=n(97381);r.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";let l="[Statsig] UnknownError";let ErrorBoundary=class ErrorBoundary{constructor(t,r,n,i){this._sdkKey=t,this._options=r,this._emitter=n,this._lastSeenError=i,this._seen=new Set}wrap(t){try{(function(t){let r=new Set,n=Object.getPrototypeOf(t);for(;n&&n!==Object.prototype;)Object.getOwnPropertyNames(n).filter(t=>"function"==typeof(null==n?void 0:n[t])).forEach(t=>r.add(t)),n=Object.getPrototypeOf(n);return Array.from(r)})(t).forEach(r=>{let n=t[r];"$EB"in n||(t[r]=(...i)=>this._capture(r,()=>n.apply(t,i)),t[r].$EB=!0)})}catch(t){this._onError("eb:wrap",t)}}logError(t,r){this._onError(t,r)}getLastSeenErrorAndReset(){let t=this._lastSeenError;return this._lastSeenError=void 0,null!=t?t:null}attachErrorIfNoneExists(t){this._lastSeenError||(this._lastSeenError=u(t))}_capture(t,r){try{let n=r();if(n&&n instanceof Promise)return n.catch(r=>this._onError(t,r));return n}catch(r){return this._onError(t,r),null}}_onError(t,n){try{o.Log.warn(`Caught error in ${t}`,{error:n}),i(this,void 0,void 0,function*(){var i,o,c,d,f,h,m;let g=n||Error(l),y=g instanceof Error,v=y?g.name:"No Name",b=u(g);if(this._lastSeenError=b,this._seen.has(v))return;if(this._seen.add(v),null===(o=null===(i=this._options)||void 0===i?void 0:i.networkConfig)||void 0===o?void 0:o.preventAllNetworkTraffic){null===(c=this._emitter)||void 0===c||c.call(this,{name:"error",error:n,tag:t});return}let _=a.SDKType._get(this._sdkKey),w=s.StatsigMetadataProvider.get(),S=y?g.stack:function(t){try{return JSON.stringify(t)}catch(t){return l}}(g),x=Object.assign({tag:t,exception:v,info:S,statsigOptions:function(t){if(!t)return{};let r={};return Object.entries(t).forEach(([t,n])=>{switch(typeof n){case"number":case"bigint":case"boolean":r[String(t)]=n;break;case"string":n.length<50?r[String(t)]=n:r[String(t)]="set";break;case"object":"environment"===t?r.environment=n:"networkConfig"===t?r.networkConfig=n:r[String(t)]=null!=n?"set":"unset"}}),r}(this._options)},Object.assign(Object.assign({},w),{sdkType:_})),E=null!==(h=null===(f=null===(d=this._options)||void 0===d?void 0:d.networkConfig)||void 0===f?void 0:f.networkOverrideFunc)&&void 0!==h?h:fetch;yield E(r.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(_),"STATSIG-SDK-VERSION":String(w.sdkVersion),"Content-Type":"application/json"},body:JSON.stringify(x)}),null===(m=this._emitter)||void 0===m||m.call(this,{name:"error",error:n,tag:t})}).then(()=>{}).catch(()=>{})}catch(t){}}};function u(t){return t instanceof Error?t:"string"==typeof t?Error(t):Error("An unknown error occurred.")}r.ErrorBoundary=ErrorBoundary},38893:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},47268:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},73756:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.EventLogger=void 0;let o=n(58882),a=n(79873),s=n(57377),l=n(16891),u=n(85272),c=n(14311),d=n(36914),f=n(47742),h=n(58752),m={},g={Startup:"startup",GainedFocus:"gained_focus"};let EventLogger=class EventLogger{static _safeFlushAndForget(t){var r;null===(r=m[t])||void 0===r||r.flush().catch(()=>{})}static _safeRetryFailedLogs(t){var r;null===(r=m[t])||void 0===r||r._retryFailedLogs(g.GainedFocus)}constructor(t,r,n,i){var o;this._sdkKey=t,this._emitter=r,this._network=n,this._options=i,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),this._isLoggingDisabled=(null==i?void 0:i.disableLogging)===!0,this._maxQueueSize=null!==(o=null==i?void 0:i.loggingBufferMaxSize)&&void 0!==o?o:100;let a=null==i?void 0:i.networkConfig;this._logEventUrlConfig=new f.UrlConfiguration(l.Endpoint._rgstr,null==a?void 0:a.logEventUrl,null==a?void 0:a.api,null==a?void 0:a.logEventFallbackUrls)}setLoggingDisabled(t){this._isLoggingDisabled=t}enqueue(t){this._shouldLogEvent(t)&&(this._normalizeAndAppendEvent(t),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize&&EventLogger._safeFlushAndForget(this._sdkKey))}incrementNonExposureCount(t){var r;let n=null!==(r=this._nonExposedChecks[t])&&void 0!==r?r:0;this._nonExposedChecks[t]=n+1}reset(){this._lastExposureTimeMap={}}start(){(0,u._isServerEnv)()||(m[this._sdkKey]=this,(0,h._subscribeToVisiblityChanged)(t=>{"background"===t?EventLogger._safeFlushAndForget(this._sdkKey):"foreground"===t&&EventLogger._safeRetryFailedLogs(this._sdkKey)}),this._retryFailedLogs(g.Startup),this._startBackgroundFlushInterval())}stop(){return i(this,void 0,void 0,function*(){this._flushIntervalId&&(clearInterval(this._flushIntervalId),this._flushIntervalId=null),delete m[this._sdkKey],yield this.flush()})}flush(){return i(this,void 0,void 0,function*(){if(this._appendAndResetNonExposedChecks(),0===this._queue.length)return;let t=this._queue;this._queue=[],yield this._sendEvents(t)})}_quickFlushIfNeeded(){!this._hasRunQuickFlush&&(this._hasRunQuickFlush=!0,Date.now()-this._creationTime>200||setTimeout(()=>EventLogger._safeFlushAndForget(this._sdkKey),200))}_shouldLogEvent(t){if((0,u._isServerEnv)())return!1;if(!(0,c._isExposureEvent)(t))return!0;let r=t.user?t.user:{statsigEnvironment:void 0},n=(0,o._getUserStorageKey)(this._sdkKey,r),i=t.metadata?t.metadata:{},a=[t.eventName,n,i.gate,i.config,i.ruleID,i.allocatedExperiment,i.parameterName,String(i.isExplicitParameter),i.reason].join("|"),s=this._lastExposureTimeMap[a],l=Date.now();return(!s||!(l-s<6e5))&&(Object.keys(this._lastExposureTimeMap).length>1e3&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[a]=l,!0)}_sendEvents(t){var r,n;return i(this,void 0,void 0,function*(){if(this._isLoggingDisabled)return this._saveFailedLogsToStorage(t),!1;try{let i=(0,h._isUnloading)()&&this._network.isBeaconSupported()&&(null===(n=null===(r=this._options)||void 0===r?void 0:r.networkConfig)||void 0===n?void 0:n.networkOverrideFunc)==null;if(this._emitter({name:"pre_logs_flushed",events:t}),(i?yield this._sendEventsViaBeacon(t):yield this._sendEventsViaPost(t)).success)return this._emitter({name:"logs_flushed",events:t}),!0;return s.Log.warn("Failed to flush events."),this._saveFailedLogsToStorage(t),!1}catch(t){return s.Log.warn("Failed to flush events."),!1}})}_sendEventsViaPost(t){var r;return i(this,void 0,void 0,function*(){let n=yield this._network.post(this._getRequestData(t)),i=null!==(r=null==n?void 0:n.code)&&void 0!==r?r:-1;return{success:i>=200&&i<300}})}_sendEventsViaBeacon(t){return i(this,void 0,void 0,function*(){return{success:yield this._network.beacon(this._getRequestData(t))}})}_getRequestData(t){return{sdkKey:this._sdkKey,data:{events:t},urlConfig:this._logEventUrlConfig,retries:3,isCompressable:!0,params:{[l.NetworkParam.EventCount]:String(t.length)}}}_saveFailedLogsToStorage(t){for(;t.length>500;)t.shift();let r=this._getStorageKey();try{(0,d._setObjectInStorage)(r,t)}catch(t){s.Log.warn("Unable to save failed logs to storage")}}_retryFailedLogs(t){let r=this._getStorageKey();i(this,void 0,void 0,function*(){d.Storage.isReady()||(yield d.Storage.isReadyResolver());let n=(0,d._getObjectFromStorage)(r);n&&(t===g.Startup&&d.Storage.removeItem(r),(yield this._sendEvents(n))&&t===g.GainedFocus&&d.Storage.removeItem(r))}).catch(()=>{s.Log.warn("Failed to flush stored logs")})}_getStorageKey(){return`statsig.failed_logs.${(0,a._DJB2)(this._sdkKey)}`}_normalizeAndAppendEvent(t){t.user&&(t.user=Object.assign({},t.user),delete t.user.privateAttributes);let r={},n=this._getCurrentPageUrl();n&&(r.statsigMetadata={currentPage:n});let i=Object.assign(Object.assign({},t),r);s.Log.debug("Enqueued Event:",i),this._queue.push(i)}_appendAndResetNonExposedChecks(){0!==Object.keys(this._nonExposedChecks).length&&(this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={})}_getCurrentPageUrl(){var t;if((null===(t=this._options)||void 0===t?void 0:t.includeCurrentPageUrlWithEvents)!==!1)return(0,u._getCurrentPageUrlSafe)()}_startBackgroundFlushInterval(){var t,r;let n=setInterval(()=>{let t=m[this._sdkKey];t&&t._flushIntervalId===n?EventLogger._safeFlushAndForget(this._sdkKey):clearInterval(n)},null!==(r=null===(t=this._options)||void 0===t?void 0:t.loggingIntervalMs)&&void 0!==r?r:1e4);this._flushIntervalId=n}};r.EventLogger=EventLogger},79873:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getSortedObject=r._DJB2Object=r._DJB2=void 0;let i=n(24404);r._DJB2=t=>{let r=0;for(let n=0;n<t.length;n++)r=(r<<5)-r+t.charCodeAt(n),r&=r;return String(r>>>0)},r._DJB2Object=(t,n)=>(0,r._DJB2)(JSON.stringify((0,r._getSortedObject)(t,n))),r._getSortedObject=(t,n)=>{if(null==t)return null;let o=Object.keys(t).sort(),a={};return o.forEach(o=>{let s=t[o];if(0===n||"object"!==(0,i._typeOf)(s)){a[o]=s;return}a[o]=(0,r._getSortedObject)(s,null!=n?n-1:n)}),a}},63034:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},57377:function(t,r){"use strict";function n(t){return t.unshift("[Statsig]"),t}Object.defineProperty(r,"__esModule",{value:!0}),r.Log=r.LogLevel=void 0,r.LogLevel={None:0,Error:1,Warn:2,Info:3,Debug:4};let Log=class Log{static info(...t){Log.level>=r.LogLevel.Info&&console.info("  INFO ",...n(t))}static debug(...t){Log.level>=r.LogLevel.Debug&&console.debug(" DEBUG ",...n(t))}static warn(...t){Log.level>=r.LogLevel.Warn&&console.warn("  WARN ",...n(t))}static error(...t){Log.level>=r.LogLevel.Error&&console.error(" ERROR ",...n(t))}};r.Log=Log,Log.level=r.LogLevel.Warn},16005:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createMemoKey=r.MemoPrefix=void 0,r.MemoPrefix={_gate:"g",_dynamicConfig:"c",_experiment:"e",_layer:"l",_paramStore:"p"};let n=new Set([]),i=new Set(["userPersistedValues"]);r.createMemoKey=function(t,r,o){let a=`${t}|${r}`;if(!o)return a;for(let t of Object.keys(o)){if(i.has(t))return;n.has(t)?a+=`|${t}=true`:a+=`|${t}=${o[t]}`}return a}},16891:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.NetworkParam=r.NetworkDefault=r.Endpoint=void 0,r.Endpoint={_initialize:"initialize",_rgstr:"rgstr",_download_config_specs:"download_config_specs"},r.NetworkDefault={[r.Endpoint._rgstr]:"https://prodregistryv2.org/v1",[r.Endpoint._initialize]:"https://featureassets.org/v1",[r.Endpoint._download_config_specs]:"https://api.statsigcdn.com/v1"},r.NetworkParam={EventCount:"ec",SdkKey:"k",SdkType:"st",SdkVersion:"sv",Time:"t",SessionID:"sid",StatsigEncoded:"se",IsGzipped:"gz"}},29703:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.NetworkCore=void 0,n(65971);let o=n(65971),a=n(55950),s=n(57377),l=n(16891),u=n(64432),c=n(23537),d=n(8335),f=n(85272),h=n(91254),m=n(51686),g=n(12905),y=n(97381),v=n(58752),b=new Set([408,500,502,503,504,522,524,599]);let NetworkCore=class NetworkCore{constructor(t,r){this._emitter=r,this._errorBoundary=null,this._timeout=1e4,this._netConfig={},this._options={},this._leakyBucket={},this._lastUsedInitUrl=null,t&&(this._options=t),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs),this._fallbackResolver=new u.NetworkFallbackResolver(this._options)}setErrorBoundary(t){this._errorBoundary=t,this._errorBoundary.wrap(this),this._errorBoundary.wrap(this._fallbackResolver),this._fallbackResolver.setErrorBoundary(t)}isBeaconSupported(){return"undefined"!=typeof navigator&&"function"==typeof navigator.sendBeacon}getLastUsedInitUrlAndReset(){let t=this._lastUsedInitUrl;return this._lastUsedInitUrl=null,t}beacon(t){return i(this,void 0,void 0,function*(){if(!_(t))return!1;let r=this._getInternalRequestArgs("POST",t);yield this._tryToCompressBody(r);let n=yield this._getPopulatedURL(r),i=navigator;return i.sendBeacon.bind(i)(n,r.body)})}post(t){return i(this,void 0,void 0,function*(){let r=this._getInternalRequestArgs("POST",t);return this._tryEncodeBody(r),yield this._tryToCompressBody(r),this._sendRequest(r)})}get(t){let r=this._getInternalRequestArgs("GET",t);return this._sendRequest(r)}_sendRequest(t){var r,n,o,u;return i(this,void 0,void 0,function*(){var c,d,f,h,m;if(!_(t)||this._netConfig.preventAllNetworkTraffic)return null;let{method:y,body:w,retries:x,attempt:E}=t,k=t.urlConfig.endpoint;if(this._isRateLimited(k))return s.Log.warn(`Request to ${k} was blocked because you are making requests too frequently.`),null;let C=null!=E?E:1,O="undefined"!=typeof AbortController?new AbortController:null,R=setTimeout(()=>{null==O||O.abort(`Timeout of ${this._timeout}ms expired.`)},this._timeout),T=yield this._getPopulatedURL(t),P=null,M=(0,v._isUnloading)();try{let n={method:y,body:w,headers:Object.assign({},t.headers),signal:null==O?void 0:O.signal,priority:t.priority,keepalive:M};c=t,d=C,c.urlConfig.endpoint===l.Endpoint._initialize&&a.Diagnostics._markInitNetworkReqStart(c.sdkKey,{attempt:d});let i=this._leakyBucket[k];i&&(i.lastRequestTime=Date.now(),this._leakyBucket[k]=i);let o=null!==(r=this._netConfig.networkOverrideFunc)&&void 0!==r?r:fetch;if(P=yield o(T,n),clearTimeout(R),!P.ok){let t=yield P.text().catch(()=>"No Text"),r=Error(`NetworkError: ${T} ${t}`);throw r.name="NetworkError",r}let s=yield P.text();return S(t,P,C,s),this._fallbackResolver.tryBumpExpiryTime(t.sdkKey,t.urlConfig),{body:s,code:P.status}}catch(l){let r=(f=O,h=l,(null==f?void 0:f.signal.aborted)&&"string"==typeof f.signal.reason?f.signal.reason:"string"==typeof h?h:h instanceof Error?`${h.name}: ${h.message}`:"Unknown Error"),a=(null==(m=O)?void 0:m.signal.aborted)&&"string"==typeof m.signal.reason&&m.signal.reason.includes("Timeout")||!1;if(S(t,P,C,"",l),(yield this._fallbackResolver.tryFetchUpdatedFallbackInfo(t.sdkKey,t.urlConfig,r,a))&&(t.fallbackUrl=this._fallbackResolver.getActiveFallbackUrl(t.sdkKey,t.urlConfig)),!x||C>x||!b.has(null!==(n=null==P?void 0:P.status)&&void 0!==n?n:500)){null===(o=this._emitter)||void 0===o||o.call(this,{name:"error",error:l,tag:g.ErrorTag.NetworkError,requestArgs:t});let n=`A networking error occurred during ${y} request to ${T}.`;return s.Log.error(n,r,l),null===(u=this._errorBoundary)||void 0===u||u.attachErrorIfNoneExists(n),null}return yield function(t){return i(this,void 0,void 0,function*(){yield new Promise(r=>setTimeout(r,Math.min(t*t*500,3e4)))})}(C),this._sendRequest(Object.assign(Object.assign({},t),{retries:x,attempt:C+1}))}})}_isRateLimited(t){var r;let n=Date.now(),i=null!==(r=this._leakyBucket[t])&&void 0!==r?r:{count:0,lastRequestTime:n},o=Math.floor((n-i.lastRequestTime)*.05);return i.count=Math.max(0,i.count-o),i.count>=50||(i.count+=1,i.lastRequestTime=n,this._leakyBucket[t]=i,!1)}_getPopulatedURL(t){var r;return i(this,void 0,void 0,function*(){let n=null!==(r=t.fallbackUrl)&&void 0!==r?r:t.urlConfig.getUrl();(t.urlConfig.endpoint===l.Endpoint._initialize||t.urlConfig.endpoint===l.Endpoint._download_config_specs)&&(this._lastUsedInitUrl=n);let i=Object.assign({[l.NetworkParam.SdkKey]:t.sdkKey,[l.NetworkParam.SdkType]:d.SDKType._get(t.sdkKey),[l.NetworkParam.SdkVersion]:y.SDK_VERSION,[l.NetworkParam.Time]:String(Date.now()),[l.NetworkParam.SessionID]:h.SessionID.get(t.sdkKey)},t.params),o=Object.keys(i).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(i[t])}`).join("&");return`${n}${o?`?${o}`:""}`})}_tryEncodeBody(t){var r;let n=(0,f._getWindowSafe)(),i=t.body;if(t.isStatsigEncodable&&!this._options.disableStatsigEncoding&&"string"==typeof i&&null==(0,o._getStatsigGlobalFlag)("no-encode")&&(null==n?void 0:n.btoa))try{t.body=n.btoa(i).split("").reverse().join(""),t.params=Object.assign(Object.assign({},null!==(r=t.params)&&void 0!==r?r:{}),{[l.NetworkParam.StatsigEncoded]:"1"})}catch(r){s.Log.warn(`Request encoding failed for ${t.urlConfig.getUrl()}`,r)}}_tryToCompressBody(t){var r;return i(this,void 0,void 0,function*(){var n,i;let a=t.body;if("string"==typeof a&&(n=t,i=this._options,n.isCompressable&&!i.disableCompression&&(null==n.urlConfig.customUrl&&null==n.urlConfig.fallbackUrls||!0===c.SDKFlags.get(n.sdkKey,"enable_log_event_compression"))&&null==(0,o._getStatsigGlobalFlag)("no-compress")&&"undefined"!=typeof CompressionStream&&"undefined"!=typeof TextEncoder))try{let n,i=new TextEncoder().encode(a),o=new CompressionStream("gzip"),u=o.writable.getWriter();u.write(i).catch(s.Log.error),u.close().catch(s.Log.error);let c=o.readable.getReader(),d=[];for(;!(n=yield c.read()).done;)d.push(n.value);let f=d.reduce((t,r)=>t+r.length,0),h=new Uint8Array(f),m=0;for(let t of d)h.set(t,m),m+=t.length;t.body=h,t.params=Object.assign(Object.assign({},null!==(r=t.params)&&void 0!==r?r:{}),{[l.NetworkParam.IsGzipped]:"1"})}catch(r){s.Log.warn(`Request compression failed for ${t.urlConfig.getUrl()}`,r)}})}_getInternalRequestArgs(t,r){let n=this._fallbackResolver.getActiveFallbackUrl(r.sdkKey,r.urlConfig),i=Object.assign(Object.assign({},r),{method:t,fallbackUrl:n});return"data"in r&&w(i,r.data),i}};r.NetworkCore=NetworkCore;let _=t=>!!t.sdkKey||(s.Log.warn("Unable to make request without an SDK key"),!1),w=(t,r)=>{let{sdkKey:n,fallbackUrl:i}=t,o=m.StableID.get(n),a=h.SessionID.get(n),s=d.SDKType._get(n);t.body=JSON.stringify(Object.assign(Object.assign({},r),{statsigMetadata:Object.assign(Object.assign({},y.StatsigMetadataProvider.get()),{stableID:o,sessionID:a,sdkType:s,fallbackUrl:i})}))};function S(t,r,n,i,o){t.urlConfig.endpoint===l.Endpoint._initialize&&a.Diagnostics._markInitNetworkReqEnd(t.sdkKey,a.Diagnostics._getDiagnosticsData(r,n,i,o))}},64432:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r._isDomainFailure=r.NetworkFallbackResolver=void 0;let o=n(96017),a=n(79873),s=n(57377),l=n(36914);let NetworkFallbackResolver=class NetworkFallbackResolver{constructor(t){var r;this._fallbackInfo=null,this._errorBoundary=null,this._dnsQueryCooldowns={},this._networkOverrideFunc=null===(r=t.networkConfig)||void 0===r?void 0:r.networkOverrideFunc}setErrorBoundary(t){this._errorBoundary=t}tryBumpExpiryTime(t,r){var n;let i=null===(n=this._fallbackInfo)||void 0===n?void 0:n[r.endpoint];i&&(i.expiryTime=Date.now()+6048e5,d(t,Object.assign(Object.assign({},this._fallbackInfo),{[r.endpoint]:i})))}getActiveFallbackUrl(t,r){var n,i;if(null!=r.customUrl&&null!=r.fallbackUrls)return null;let o=this._fallbackInfo;null==o&&(o=null!==(n=function(t){let r=c(t),n=l.Storage.getItem(r);if(!n)return null;try{return JSON.parse(n)}catch(t){return s.Log.error("Failed to parse FallbackInfo"),null}}(t))&&void 0!==n?n:{},this._fallbackInfo=o);let a=o[r.endpoint];return!a||Date.now()>(null!==(i=a.expiryTime)&&void 0!==i?i:0)||r.getChecksum()!==a.urlConfigChecksum?(delete o[r.endpoint],this._fallbackInfo=o,d(t,this._fallbackInfo),null):a.url?a.url:null}tryFetchUpdatedFallbackInfo(t,r,n,o){var a,s;return i(this,void 0,void 0,function*(){try{if(!u(n,o))return!1;let i=null==r.customUrl&&null==r.fallbackUrls?yield this._tryFetchFallbackUrlsFromNetwork(r):r.fallbackUrls,s=this._pickNewFallbackUrl(null===(a=this._fallbackInfo)||void 0===a?void 0:a[r.endpoint],i);if(!s)return!1;return this._updateFallbackInfoWithNewUrl(t,r,s),!0}catch(t){return null===(s=this._errorBoundary)||void 0===s||s.logError("tryFetchUpdatedFallbackInfo",t),!1}})}_updateFallbackInfoWithNewUrl(t,r,n){var i,o,a;let s={urlConfigChecksum:r.getChecksum(),url:n,expiryTime:Date.now()+6048e5,previous:[]},l=r.endpoint,u=null===(i=this._fallbackInfo)||void 0===i?void 0:i[l];u&&s.previous.push(...u.previous),s.previous.length>10&&(s.previous=[]);let c=null===(a=null===(o=this._fallbackInfo)||void 0===o?void 0:o[l])||void 0===a?void 0:a.url;null!=c&&s.previous.push(c),this._fallbackInfo=Object.assign(Object.assign({},this._fallbackInfo),{[l]:s}),d(t,this._fallbackInfo)}_tryFetchFallbackUrlsFromNetwork(t){var r;return i(this,void 0,void 0,function*(){let n=this._dnsQueryCooldowns[t.endpoint];if(n&&Date.now()<n)return null;this._dnsQueryCooldowns[t.endpoint]=Date.now()+144e5;let i=[],a=yield(0,o._fetchTxtRecords)(null!==(r=this._networkOverrideFunc)&&void 0!==r?r:fetch),s=function(t){try{return new URL(t).pathname}catch(t){return null}}(t.defaultUrl);for(let r of a){if(!r.startsWith(t.endpointDnsKey+"="))continue;let n=r.split("=");if(n.length>1){let t=n[1];t.endsWith("/")&&(t=t.slice(0,-1)),i.push(`https://${t}${s}`)}}return i})}_pickNewFallbackUrl(t,r){var n;if(null==r)return null;let i=new Set(null!==(n=null==t?void 0:t.previous)&&void 0!==n?n:[]),o=null==t?void 0:t.url,a=null;for(let t of r){let r=t.endsWith("/")?t.slice(0,-1):t;if(!i.has(t)&&r!==o){a=r;break}}return a}};function u(t,r){var n;let i=null!==(n=null==t?void 0:t.toLowerCase())&&void 0!==n?n:"";return r||i.includes("uncaught exception")||i.includes("failed to fetch")||i.includes("networkerror when attempting to fetch resource")}function c(t){return`statsig.network_fallback.${(0,a._DJB2)(t)}`}function d(t,r){let n=c(t);if(!r||0===Object.keys(r).length){l.Storage.removeItem(n);return}l.Storage.setItem(n,JSON.stringify(r))}r.NetworkFallbackResolver=NetworkFallbackResolver,r._isDomainFailure=u},85262:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},64332:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},23537:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.SDKFlags=void 0;let n={};r.SDKFlags={setFlags:(t,r)=>{n[t]=r},get:(t,r)=>{var i,o;return null!==(o=null===(i=n[t])||void 0===i?void 0:i[r])&&void 0!==o&&o}}},8335:function(t,r){"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0}),r.SDKType=void 0;let i={};r.SDKType={_get:t=>{var r;return(null!==(r=i[t])&&void 0!==r?r:"js-mono")+(null!=n?n:"")},_setClientType(t,r){i[t]=r},_setBindingType(t){n&&"-react"!==n||(n="-"+t)}}},85272:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getUnloadEvent=r._getCurrentPageUrlSafe=r._addDocumentEventListenerSafe=r._addWindowEventListenerSafe=r._isServerEnv=r._getDocumentSafe=r._getWindowSafe=void 0,r._getWindowSafe=()=>"undefined"!=typeof window?window:null,r._getDocumentSafe=()=>{var t;let n=(0,r._getWindowSafe)();return null!==(t=null==n?void 0:n.document)&&void 0!==t?t:null},r._isServerEnv=()=>{if(null!==(0,r._getDocumentSafe)())return!1;let t="undefined"!=typeof process&&null!=process.versions&&null!=process.versions.node;return"string"==typeof EdgeRuntime||t},r._addWindowEventListenerSafe=(t,n)=>{let i=(0,r._getWindowSafe)();"function"==typeof(null==i?void 0:i.addEventListener)&&i.addEventListener(t,n)},r._addDocumentEventListenerSafe=(t,n)=>{let i=(0,r._getDocumentSafe)();"function"==typeof(null==i?void 0:i.addEventListener)&&i.addEventListener(t,n)},r._getCurrentPageUrlSafe=()=>{var t;try{return null===(t=(0,r._getWindowSafe)())||void 0===t?void 0:t.location.href.split(/[?#]/)[0]}catch(t){return}},r._getUnloadEvent=()=>{let t=(0,r._getWindowSafe)();return t&&"onpagehide"in t?"pagehide":"beforeunload"}},91254:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.StatsigSession=r.SessionID=void 0;let i=n(58882),o=n(57377),a=n(36914),s=n(91821),l={};function u(t,r){return setTimeout(()=>{let r=null==__STATSIG__?void 0:__STATSIG__.instance(t);r&&r.$emt({name:"session_expired"})},r)}function c(t){return`statsig.session_id.${(0,i._getStorageKey)(t)}`}r.SessionID={get:t=>r.StatsigSession.get(t).data.sessionID},r.StatsigSession={get:t=>(null==l[t]&&(l[t]=function(t){let r=function(t){let r=c(t);return(0,a._getObjectFromStorage)(r)}(t),n=Date.now();return r||(r={sessionID:(0,s.getUUID)(),startTime:n,lastUpdate:n}),{data:r,sdkKey:t}}(t)),function(t){let r=Date.now(),n=t.data;((function({lastUpdate:t}){return Date.now()-t>18e5})(n)||function({startTime:t}){return Date.now()-t>144e5}(n))&&(n.sessionID=(0,s.getUUID)(),n.startTime=r),n.lastUpdate=r,function(t,r){let n=c(r);try{(0,a._setObjectInStorage)(n,t)}catch(t){o.Log.warn("Failed to save SessionID")}}(n,t.sdkKey),clearTimeout(t.idleTimeoutID),clearTimeout(t.ageTimeoutID);let i=r-n.startTime,l=t.sdkKey;return t.idleTimeoutID=u(l,18e5),t.ageTimeoutID=u(l,144e5-i),t}(l[t])),overrideInitialSessionID:(t,r)=>{l[r]=function(t,r){let n=Date.now();return{data:{sessionID:t,startTime:n,lastUpdate:n},sdkKey:r}}(t,r)}}},51686:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.StableID=void 0;let i=n(58882),o=n(57377),a=n(36914),s=n(91821),l={};function u(t){return`statsig.stable_id.${(0,i._getStorageKey)(t)}`}function c(t,r){let n=u(r);try{(0,a._setObjectInStorage)(n,t)}catch(t){o.Log.warn("Failed to save StableID")}}r.StableID={get:t=>{if(null==l[t]){let r=function(t){let r=u(t);return(0,a._getObjectFromStorage)(r)}(t);null==r&&c(r=(0,s.getUUID)(),t),l[t]=r}return l[t]},setOverride:(t,r)=>{l[r]=t,c(t,r)}}},65858:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.StatsigClientBase=void 0,n(65971);let o=n(65971),a=n(80140),s=n(73756),l=n(57377),u=n(16005),c=n(85272),d=n(91254),f=n(36914);let StatsigClientBase=class StatsigClientBase{constructor(t,r,n,i){var u;this.loadingStatus="Uninitialized",this._initializePromise=null,this._listeners={};let h=this.$emt.bind(this);(null==i?void 0:i.logLevel)!=null&&(l.Log.level=i.logLevel),(null==i?void 0:i.disableStorage)&&f.Storage._setDisabled(!0),(null==i?void 0:i.initialSessionID)&&d.StatsigSession.overrideInitialSessionID(i.initialSessionID,t),(null==i?void 0:i.storageProvider)&&f.Storage._setProvider(i.storageProvider),this._sdkKey=t,this._options=null!=i?i:{},this._memoCache={},this.overrideAdapter=null!==(u=null==i?void 0:i.overrideAdapter)&&void 0!==u?u:null,this._logger=new s.EventLogger(t,h,n,i),this._errorBoundary=new a.ErrorBoundary(t,i,h),this._errorBoundary.wrap(this),this._errorBoundary.wrap(r),this._errorBoundary.wrap(this._logger),n.setErrorBoundary(this._errorBoundary),this.dataAdapter=r,this.dataAdapter.attach(t,i,n),this.storageProvider=f.Storage,this._primeReadyRipcord(),function(t,r){var n;if((0,c._isServerEnv)())return;let i=(0,o._getStatsigGlobal)(),a=null!==(n=i.instances)&&void 0!==n?n:{};null!=a[t]&&l.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),a[t]=r,i.firstInstance||(i.firstInstance=r),i.instances=a,__STATSIG__=i}(t,this)}updateRuntimeOptions(t){null!=t.disableLogging&&(this._options.disableLogging=t.disableLogging,this._logger.setLoggingDisabled(t.disableLogging)),null!=t.disableStorage&&(this._options.disableStorage=t.disableStorage,f.Storage._setDisabled(t.disableStorage))}flush(){return this._logger.flush()}shutdown(){return i(this,void 0,void 0,function*(){this.$emt({name:"pre_shutdown"}),this._setStatus("Uninitialized",null),this._initializePromise=null,yield this._logger.stop()})}on(t,r){this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(r)}off(t,r){if(this._listeners[t]){let n=this._listeners[t].indexOf(r);-1!==n&&this._listeners[t].splice(n,1)}}$on(t,r){r.__isInternal=!0,this.on(t,r)}$emt(t){var r;let n=r=>{try{r(t)}catch(n){if(!0===r.__isInternal){this._errorBoundary.logError(`__emit:${t.name}`,n);return}l.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",t)}};this._listeners[t.name]&&this._listeners[t.name].forEach(t=>n(t)),null===(r=this._listeners["*"])||void 0===r||r.forEach(n)}_setStatus(t,r){this.loadingStatus=t,this._memoCache={},this.$emt({name:"values_updated",status:t,values:r})}_enqueueExposure(t,r,n){if((null==n?void 0:n.disableExposureLog)===!0){this._logger.incrementNonExposureCount(t);return}this._logger.enqueue(r)}_memoize(t,r){return(n,i)=>{if(this._options.disableEvaluationMemoization)return r(n,i);let o=(0,u.createMemoKey)(t,n,i);return o?(o in this._memoCache||(Object.keys(this._memoCache).length>=3e3&&(this._memoCache={}),this._memoCache[o]=r(n,i)),this._memoCache[o]):r(n,i)}}};r.StatsigClientBase=StatsigClientBase},12905:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ErrorTag=void 0,r.ErrorTag={NetworkError:"NetworkError"}},54992:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DataAdapterCachePrefix=void 0,r.DataAdapterCachePrefix="statsig.cached"},14311:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._createLayerParameterExposure=r._createConfigExposure=r._mapExposures=r._createGateExposure=r._isExposureEvent=void 0;let n="statsig::config_exposure",i="statsig::gate_exposure",o="statsig::layer_exposure",a=(t,r,n,i,o)=>(n.bootstrapMetadata&&(i.bootstrapMetadata=n.bootstrapMetadata),{eventName:t,user:r,value:null,metadata:l(n,i),secondaryExposures:o,time:Date.now()});function s(t,r){return t.map(t=>"string"==typeof t?(null!=r?r:{})[t]:t).filter(t=>null!=t)}r._isExposureEvent=({eventName:t})=>t===i||t===n||t===o,r._createGateExposure=(t,r,n)=>{var o,l,u;let c={gate:r.name,gateValue:String(r.value),ruleID:r.ruleID};return(null===(o=r.__evaluation)||void 0===o?void 0:o.version)!=null&&(c.configVersion=r.__evaluation.version),a(i,t,r.details,c,s(null!==(u=null===(l=r.__evaluation)||void 0===l?void 0:l.secondary_exposures)&&void 0!==u?u:[],n))},r._mapExposures=s,r._createConfigExposure=(t,r,i)=>{var o,l,u,c;let d={config:r.name,ruleID:r.ruleID};return(null===(o=r.__evaluation)||void 0===o?void 0:o.version)!=null&&(d.configVersion=r.__evaluation.version),(null===(l=r.__evaluation)||void 0===l?void 0:l.passed)!=null&&(d.rulePassed=String(r.__evaluation.passed)),a(n,t,r.details,d,s(null!==(c=null===(u=r.__evaluation)||void 0===u?void 0:u.secondary_exposures)&&void 0!==c?c:[],i))},r._createLayerParameterExposure=(t,r,n,i)=>{var l,u,c,d;let f=r.__evaluation,h=(null===(l=null==f?void 0:f.explicit_parameters)||void 0===l?void 0:l.includes(n))===!0,m="",g=null!==(u=null==f?void 0:f.undelegated_secondary_exposures)&&void 0!==u?u:[];h&&(m=null!==(c=f.allocated_experiment_name)&&void 0!==c?c:"",g=f.secondary_exposures);let y={config:r.name,parameterName:n,ruleID:r.ruleID,allocatedExperiment:m,isExplicitParameter:String(h)};return(null===(d=r.__evaluation)||void 0===d?void 0:d.version)!=null&&(y.configVersion=r.__evaluation.version),a(o,t,r.details,y,s(g,i))};let l=(t,r)=>(r.reason=t.reason,t.lcut&&(r.lcut=String(t.lcut)),t.receivedAt&&(r.receivedAt=String(t.receivedAt)),r)},97381:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.StatsigMetadataProvider=r.SDK_VERSION=void 0,r.SDK_VERSION="3.14.1";let n={sdkVersion:r.SDK_VERSION,sdkType:"js-mono"};r.StatsigMetadataProvider={get:()=>n,add:t=>{n=Object.assign(Object.assign({},n),t)}}},53515:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},57094:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},95929:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._makeTypedGet=r._mergeOverride=r._makeLayer=r._makeExperiment=r._makeDynamicConfig=r._makeFeatureGate=void 0;let i=n(57377),o=n(24404);function a(t,r,n,i){var o;return{name:t,details:r,ruleID:null!==(o=null==n?void 0:n.rule_id)&&void 0!==o?o:"default",__evaluation:n,value:i}}function s(t,r,n){var i;let o=null!==(i=null==n?void 0:n.value)&&void 0!==i?i:{};return Object.assign(Object.assign({},a(t,r,n,o)),{get:l(t,null==n?void 0:n.value)})}function l(t,r,n){return(a,s)=>{var l;let u=null!==(l=null==r?void 0:r[a])&&void 0!==l?l:null;return null==u?null!=s?s:null:null==s||(0,o._isTypeMatch)(u,s)?(null==n||n(a),u):(i.Log.warn(`Parameter type mismatch. '${t}.${a}' was found to be type '${typeof u}' but fallback/return type is '${typeof s}'. See https://docs.statsig.com/client/javascript-sdk/#typed-getters`),null!=s?s:null)}}r._makeFeatureGate=function(t,r,n){return a(t,r,n,(null==n?void 0:n.value)===!0)},r._makeDynamicConfig=s,r._makeExperiment=function(t,r,n){var i;return Object.assign(Object.assign({},s(t,r,n)),{groupName:null!==(i=null==n?void 0:n.group_name)&&void 0!==i?i:null})},r._makeLayer=function(t,r,n,i){var o,s;return Object.assign(Object.assign({},a(t,r,n,void 0)),{get:l(t,null==n?void 0:n.value,i),groupName:null!==(o=null==n?void 0:n.group_name)&&void 0!==o?o:null,__value:null!==(s=null==n?void 0:n.value)&&void 0!==s?s:{}})},r._mergeOverride=function(t,r,n,i){return Object.assign(Object.assign(Object.assign({},t),r),{get:l(t.name,n,i)})},r._makeTypedGet=l},92269:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},95335:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.UPDATE_DETAIL_ERROR_MESSAGES=r.createUpdateDetails=void 0,r.createUpdateDetails=(t,r,n,i,o,a)=>({duration:n,source:r,success:t,error:i,sourceUrl:o,warnings:a}),r.UPDATE_DETAIL_ERROR_MESSAGES={NO_NETWORK_DATA:"No data was returned from the network. This may be due to a network timeout if a timeout value was specified in the options or ad blocker error."}},44869:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getFullUserHash=r._normalizeUser=void 0;let i=n(79873),o=n(57377);r._normalizeUser=function(t,r,n){try{let i=JSON.parse(JSON.stringify(t));return null!=r&&null!=r.environment?i.statsigEnvironment=r.environment:null!=n&&(i.statsigEnvironment={tier:n}),i}catch(t){return o.Log.error("Failed to JSON.stringify user"),{statsigEnvironment:void 0}}},r._getFullUserHash=function(t){return t?(0,i._DJB2Object)(t):null}},36914:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._setObjectInStorage=r._getObjectFromStorage=r.Storage=void 0;let i=n(57377),o=n(85272),a={},s={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"InMemory",getItem:t=>a[t]?a[t]:null,setItem:(t,r)=>{a[t]=r},removeItem:t=>{delete a[t]},getAllKeys:()=>Object.keys(a)},l=null;try{let t=(0,o._getWindowSafe)();t&&t.localStorage&&"function"==typeof t.localStorage.getItem&&(l={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"LocalStorage",getItem:r=>t.localStorage.getItem(r),setItem:(r,n)=>t.localStorage.setItem(r,n),removeItem:r=>t.localStorage.removeItem(r),getAllKeys:()=>Object.keys(t.localStorage)})}catch(t){i.Log.warn("Failed to setup localStorageProvider.")}let u=null!=l?l:s,c=u;r.Storage={isReady:()=>c.isReady(),isReadyResolver:()=>c.isReadyResolver(),getProviderName:()=>c.getProviderName(),getItem:t=>(function(t){try{return t()}catch(t){if(t instanceof Error&&"SecurityError"===t.name)return r.Storage._setProvider(s),null;throw t}})(()=>c.getItem(t)),setItem:(t,r)=>c.setItem(t,r),removeItem:t=>c.removeItem(t),getAllKeys:()=>c.getAllKeys(),_setProvider:t=>{u=t,c=t},_setDisabled:t=>{c=t?s:u}},r._getObjectFromStorage=function(t){let n=r.Storage.getItem(t);return JSON.parse(null!=n?n:"null")},r._setObjectInStorage=function(t,n){r.Storage.setItem(t,JSON.stringify(n))}},67291:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._typedJsonParse=void 0;let i=n(57377);r._typedJsonParse=function(t,r,n){try{let n=JSON.parse(t);if(n&&"object"==typeof n&&r in n)return n}catch(t){}return i.Log.error(`Failed to parse ${n}`),null}},24404:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._isTypeMatch=r._typeOf=void 0,r._typeOf=function(t){return Array.isArray(t)?"array":typeof t},r._isTypeMatch=function(t,r){let n=t=>Array.isArray(t)?"array":typeof t;return n(t)===n(r)}},91821:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getUUID=void 0,r.getUUID=function(){if("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID();let t=new Date().getTime(),r="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0,n="89ab"[Math.floor(4*Math.random())];return`xxxxxxxx-xxxx-4xxx-${n}xxx-xxxxxxxxxxxx`.replace(/[xy]/g,n=>{let i=16*Math.random();return t>0?(i=(t+i)%16|0,t=Math.floor(t/16)):(i=(r+i)%16|0,r=Math.floor(r/16)),("x"===n?i:7&i|8).toString(16)})}},47742:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.UrlConfiguration=void 0;let i=n(79873),o=n(16891),a={[o.Endpoint._initialize]:"i",[o.Endpoint._rgstr]:"e",[o.Endpoint._download_config_specs]:"d"};let UrlConfiguration=class UrlConfiguration{constructor(t,r,n,i){this.customUrl=null,this.fallbackUrls=null,this.endpoint=t,this.endpointDnsKey=a[t],r&&(this.customUrl=r),!r&&n&&(this.customUrl=n.endsWith("/")?`${n}${t}`:`${n}/${t}`),i&&(this.fallbackUrls=i);let s=o.NetworkDefault[t];this.defaultUrl=`${s}/${t}`}getUrl(){var t;return null!==(t=this.customUrl)&&void 0!==t?t:this.defaultUrl}getChecksum(){var t;let r=(null!==(t=this.fallbackUrls)&&void 0!==t?t:[]).sort().join(",");return(0,i._DJB2)(this.customUrl+r)}};r.UrlConfiguration=UrlConfiguration},58752:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._notifyVisibilityChanged=r._subscribeToVisiblityChanged=r._isUnloading=r._isCurrentlyVisible=void 0;let i=n(85272),o="foreground",a="background",s=[],l=o,u=!1;r._isCurrentlyVisible=()=>l===o,r._isUnloading=()=>u,r._subscribeToVisiblityChanged=t=>{s.unshift(t)},r._notifyVisibilityChanged=t=>{t!==l&&(l=t,s.forEach(r=>r(t)))},(0,i._addWindowEventListenerSafe)("focus",()=>{u=!1,(0,r._notifyVisibilityChanged)(o)}),(0,i._addWindowEventListenerSafe)("blur",()=>(0,r._notifyVisibilityChanged)(a)),(0,i._addDocumentEventListenerSafe)("visibilitychange",()=>{(0,r._notifyVisibilityChanged)("visible"===document.visibilityState?o:a)}),(0,i._addWindowEventListenerSafe)((0,i._getUnloadEvent)(),()=>{u=!0,(0,r._notifyVisibilityChanged)(a)})},54408:function(t,r,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),o=this&&this.__exportStar||function(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||i(r,t,n)};Object.defineProperty(r,"__esModule",{value:!0}),r.Storage=r.Log=r.EventLogger=r.Diagnostics=void 0,n(65971);let a=n(55950);Object.defineProperty(r,"Diagnostics",{enumerable:!0,get:function(){return a.Diagnostics}});let s=n(73756);Object.defineProperty(r,"EventLogger",{enumerable:!0,get:function(){return s.EventLogger}});let l=n(57377);Object.defineProperty(r,"Log",{enumerable:!0,get:function(){return l.Log}});let u=n(97381),c=n(36914);Object.defineProperty(r,"Storage",{enumerable:!0,get:function(){return c.Storage}}),o(n(65971),r),o(n(58882),r),o(n(68296),r),o(n(64326),r),o(n(55950),r),o(n(24951),r),o(n(80140),r),o(n(38893),r),o(n(47268),r),o(n(79873),r),o(n(63034),r),o(n(57377),r),o(n(16005),r),o(n(16891),r),o(n(29703),r),o(n(85262),r),o(n(64332),r),o(n(85272),r),o(n(8335),r),o(n(91254),r),o(n(51686),r),o(n(65858),r),o(n(12905),r),o(n(54992),r),o(n(14311),r),o(n(97381),r),o(n(53515),r),o(n(57094),r),o(n(95929),r),o(n(92269),r),o(n(44869),r),o(n(36914),r),o(n(67291),r),o(n(24404),r),o(n(47742),r),o(n(91821),r),o(n(58752),r),o(n(95335),r),o(n(23537),r),__STATSIG__=Object.assign(Object.assign({},null!=__STATSIG__?__STATSIG__:{}),{Log:l.Log,SDK_VERSION:u.SDK_VERSION})},67314:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._resolveDeltasResponse=void 0;let i=n(54408);function o(t,r){null==t||t.forEach(t=>{delete r[t]})}r._resolveDeltasResponse=function(t,r){var n,a,s;let l=(0,i._typedJsonParse)(r,"checksum","DeltasEvaluationResponse");if(!l)return{hadBadDeltaChecksum:!0};let u=(o((s=(n=t,a=l,Object.assign(Object.assign(Object.assign({},n),a),{feature_gates:Object.assign(Object.assign({},n.feature_gates),a.feature_gates),layer_configs:Object.assign(Object.assign({},n.layer_configs),a.layer_configs),dynamic_configs:Object.assign(Object.assign({},n.dynamic_configs),a.dynamic_configs)}))).deleted_gates,s.feature_gates),delete s.deleted_gates,o(s.deleted_configs,s.dynamic_configs),delete s.deleted_configs,o(s.deleted_layers,s.layer_configs),delete s.deleted_layers,s),c=(0,i._DJB2Object)({feature_gates:u.feature_gates,dynamic_configs:u.dynamic_configs,layer_configs:u.layer_configs},2);return c!==l.checksumV2?{hadBadDeltaChecksum:!0,badChecksum:c,badMergedConfigs:u,badFullResponse:l.deltas_full_response}:JSON.stringify(u)}},82363:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let i=n(54408);let EvaluationStore=class EvaluationStore{constructor(t){this._sdkKey=t,this._rawValues=null,this._values=null,this._source="Uninitialized",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings=new Set}reset(){this._values=null,this._rawValues=null,this._source="Loading",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null}finalize(){this._values||(this._source="NoValues")}getValues(){return this._rawValues?(0,i._typedJsonParse)(this._rawValues,"has_updates","EvaluationStoreValues"):null}setValues(t,r){var n;if(!t)return!1;let o=(0,i._typedJsonParse)(t.data,"has_updates","EvaluationResponse");return null!=o&&(this._source=t.source,(null==o?void 0:o.has_updates)!==!0||(this._rawValues=t.data,this._lcut=o.time,this._receivedAt=t.receivedAt,this._values=o,this._bootstrapMetadata=this._extractBootstrapMetadata(t.source,o),t.source&&o.user&&this._setWarningState(r,o),i.SDKFlags.setFlags(this._sdkKey,null!==(n=o.sdk_flags)&&void 0!==n?n:{}),!0))}getWarnings(){if(0!==this._warnings.size)return Array.from(this._warnings)}getGate(t){var r;return this._getDetailedStoreResult(null===(r=this._values)||void 0===r?void 0:r.feature_gates,t)}getConfig(t){var r;return this._getDetailedStoreResult(null===(r=this._values)||void 0===r?void 0:r.dynamic_configs,t)}getLayer(t){var r;return this._getDetailedStoreResult(null===(r=this._values)||void 0===r?void 0:r.layer_configs,t)}getParamStore(t){var r;return this._getDetailedStoreResult(null===(r=this._values)||void 0===r?void 0:r.param_stores,t)}getSource(){return this._source}getExposureMapping(){var t;return null===(t=this._values)||void 0===t?void 0:t.exposures}_extractBootstrapMetadata(t,r){if("Bootstrap"!==t)return null;let n={};return r.user&&(n.user=r.user),r.sdkInfo&&(n.generatorSDKInfo=r.sdkInfo),n.lcut=r.time,n}_getDetailedStoreResult(t,r){let n=null;return t&&(n=t[r]?t[r]:t[(0,i._DJB2)(r)]),{result:n,details:this._getDetails(null==n)}}_setWarningState(t,r){var n;let o=i.StableID.get(this._sdkKey);if((null===(n=t.customIDs)||void 0===n?void 0:n.stableID)!==o){this._warnings.add("StableIDMismatch");return}if("user"in r){let n=r.user;(0,i._getFullUserHash)(t)!==(0,i._getFullUserHash)(n)&&this._warnings.add("PartialUserMatch")}}getCurrentSourceDetails(){if("Uninitialized"===this._source||"NoValues"===this._source)return{reason:this._source};let t={reason:this._source,lcut:this._lcut,receivedAt:this._receivedAt};return this._warnings.size>0&&(t.warnings=Array.from(this._warnings)),t}_getDetails(t){var r,n;let i=this.getCurrentSourceDetails(),o=i.reason,a=null!==(r=i.warnings)&&void 0!==r?r:[];"Bootstrap"===this._source&&a.length>0&&(o+=a[0]),"Uninitialized"!==o&&"NoValues"!==o&&(o=`${o}:${t?"Unrecognized":"Recognized"}`);let s="Bootstrap"===this._source&&null!==(n=this._bootstrapMetadata)&&void 0!==n?n:void 0;return s&&(i.bootstrapMetadata=s),Object.assign(Object.assign({},i),{reason:o})}};r.default=EvaluationStore},462:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0});let o=n(54408),a=n(67314);let StatsigNetwork=class StatsigNetwork extends o.NetworkCore{constructor(t,r){super(t,r);let n=null==t?void 0:t.networkConfig;this._option=t,this._initializeUrlConfig=new o.UrlConfiguration(o.Endpoint._initialize,null==n?void 0:n.initializeUrl,null==n?void 0:n.api,null==n?void 0:n.initializeFallbackUrls)}fetchEvaluations(t,r,n,a,s){var l,u,c,d,f,h;return i(this,void 0,void 0,function*(){let i=r?(0,o._typedJsonParse)(r,"has_updates","InitializeResponse"):null,m={user:a,hash:null!==(c=null===(u=null===(l=this._option)||void 0===l?void 0:l.networkConfig)||void 0===u?void 0:u.initializeHashAlgorithm)&&void 0!==c?c:"djb2",deltasResponseRequested:!1,full_checksum:null};if(null==i?void 0:i.has_updates){let t=(null==i?void 0:i.hash_used)!==(null!==(h=null===(f=null===(d=this._option)||void 0===d?void 0:d.networkConfig)||void 0===f?void 0:f.initializeHashAlgorithm)&&void 0!==h?h:"djb2");m=Object.assign(Object.assign({},m),{sinceTime:s&&!t?i.time:0,previousDerivedFields:"derived_fields"in i&&s?i.derived_fields:{},deltasResponseRequested:!0,full_checksum:i.full_checksum})}return this._fetchEvaluations(t,i,m,n)})}_fetchEvaluations(t,r,n,o){var s,l;return i(this,void 0,void 0,function*(){let i=yield this.post({sdkKey:t,urlConfig:this._initializeUrlConfig,data:n,retries:2,isStatsigEncodable:!0,priority:o});if((null==i?void 0:i.code)===204)return'{"has_updates": false}';if((null==i?void 0:i.code)!==200)return null!==(s=null==i?void 0:i.body)&&void 0!==s?s:null;if((null==r?void 0:r.has_updates)!==!0||(null===(l=i.body)||void 0===l?void 0:l.includes('"is_delta":true'))!==!0||!0!==n.deltasResponseRequested)return i.body;let u=(0,a._resolveDeltasResponse)(r,i.body);return"string"==typeof u?u:this._fetchEvaluations(t,r,Object.assign(Object.assign(Object.assign({},n),u),{deltasResponseRequested:!1}),o)})}};r.default=StatsigNetwork},1594:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._makeParamStoreGetter=void 0;let i=n(54408),o={disableExposureLog:!0};function a(t){return null==t||!1===t.disableExposureLog}function s(t,r){return null!=r&&!(0,i._isTypeMatch)(t,r)}r._makeParamStoreGetter=function(t,r,n){return(l,u)=>{if(null==r)return u;let c=r[l];if(null==c||null!=u&&(0,i._typeOf)(u)!==c.param_type)return u;switch(c.ref_type){case"static":return c.value;case"gate":return t.getFeatureGate(c.gate_name,a(n)?void 0:o).value?c.pass_value:c.fail_value;case"dynamic_config":let d=t.getDynamicConfig(c.config_name,o).get(c.param_name);return s(d,u)?u:(a(n)&&t.getDynamicConfig(c.config_name),d);case"experiment":let f=t.getExperiment(c.experiment_name,o).get(c.param_name);return s(f,u)?u:(a(n)&&t.getExperiment(c.experiment_name),f);case"layer":let h=t.getLayer(c.layer_name,o).get(c.param_name);return s(h,u)?u:(a(n)&&t.getLayer(c.layer_name).get(c.param_name),h);default:return u}}}},37333:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0});let o=n(54408),a=n(82363),s=n(462),l=n(1594),u=n(99822);let StatsigClient=class StatsigClient extends o.StatsigClientBase{static instance(t){let r=(0,o._getStatsigGlobal)().instance(t);return r instanceof StatsigClient?r:(o.Log.warn((0,o._isServerEnv)()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new StatsigClient(null!=t?t:"",{}))}constructor(t,r,n=null){var i,l;o.SDKType._setClientType(t,"javascript-client");let c=new s.default(n,t=>{this.$emt(t)});for(let s of(super(t,null!==(i=null==n?void 0:n.dataAdapter)&&void 0!==i?i:new u.StatsigEvaluationsDataAdapter,c,n),this.getFeatureGate=this._memoize(o.MemoPrefix._gate,this._getFeatureGateImpl.bind(this)),this.getDynamicConfig=this._memoize(o.MemoPrefix._dynamicConfig,this._getDynamicConfigImpl.bind(this)),this.getExperiment=this._memoize(o.MemoPrefix._experiment,this._getExperimentImpl.bind(this)),this.getLayer=this._memoize(o.MemoPrefix._layer,this._getLayerImpl.bind(this)),this.getParameterStore=this._memoize(o.MemoPrefix._paramStore,this._getParameterStoreImpl.bind(this)),this._store=new a.default(t),this._network=c,this._user=this._configureUser(r,n),null!==(l=null==n?void 0:n.plugins)&&void 0!==l?l:[]))s.bind(this)}initializeSync(t){var r;return"Uninitialized"!==this.loadingStatus?(0,o.createUpdateDetails)(!0,this._store.getSource(),-1,null,null,["MultipleInitializations",...null!==(r=this._store.getWarnings())&&void 0!==r?r:[]]):(this._logger.start(),this.updateUserSync(this._user,t))}initializeAsync(t){return i(this,void 0,void 0,function*(){return this._initializePromise||(this._initializePromise=this._initializeAsyncImpl(t)),this._initializePromise})}updateUserSync(t,r){var n;let i=performance.now(),a=[...null!==(n=this._store.getWarnings())&&void 0!==n?n:[]];this._resetForUser(t);let s=this.dataAdapter.getDataSync(this._user);null==s&&a.push("NoCachedValues"),this._store.setValues(s,this._user),this._finalizeUpdate(s);let l=null==r?void 0:r.disableBackgroundCacheRefresh;return!0===l||null==l&&(null==s?void 0:s.source)==="Bootstrap"||this._runPostUpdate(null!=s?s:null,this._user),(0,o.createUpdateDetails)(!0,this._store.getSource(),performance.now()-i,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),a)}updateUserAsync(t,r){return i(this,void 0,void 0,function*(){this._resetForUser(t);let n=this._user;o.Diagnostics._markInitOverallStart(this._sdkKey);let i=this.dataAdapter.getDataSync(n);if(this._store.setValues(i,this._user),this._setStatus("Loading",i),i=yield this.dataAdapter.getDataAsync(i,n,r),n!==this._user)return(0,o.createUpdateDetails)(!1,this._store.getSource(),-1,Error("User changed during update"),this._network.getLastUsedInitUrlAndReset());let a=!1;null!=i&&(o.Diagnostics._markInitProcessStart(this._sdkKey),a=this._store.setValues(i,this._user),o.Diagnostics._markInitProcessEnd(this._sdkKey,{success:a})),this._finalizeUpdate(i),a||(this._errorBoundary.attachErrorIfNoneExists(o.UPDATE_DETAIL_ERROR_MESSAGES.NO_NETWORK_DATA),this.$emt({name:"initialization_failure"})),o.Diagnostics._markInitOverallEnd(this._sdkKey,a,this._store.getCurrentSourceDetails());let s=o.Diagnostics._enqueueDiagnosticsEvent(this._user,this._logger,this._sdkKey,this._options);return(0,o.createUpdateDetails)(a,this._store.getSource(),s,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),this._store.getWarnings())})}getContext(){return{sdkKey:this._sdkKey,options:this._options,values:this._store.getValues(),user:JSON.parse(JSON.stringify(this._user)),errorBoundary:this._errorBoundary,session:o.StatsigSession.get(this._sdkKey),stableID:o.StableID.get(this._sdkKey)}}checkGate(t,r){return this.getFeatureGate(t,r).value}logEvent(t,r,n){this._logger.enqueue(Object.assign(Object.assign({},"string"==typeof t?{eventName:t,value:r,metadata:n}:t),{user:this._user,time:Date.now()}))}_primeReadyRipcord(){this.$on("error",()=>{"Loading"===this.loadingStatus&&this._finalizeUpdate(null)})}_initializeAsyncImpl(t){return i(this,void 0,void 0,function*(){return o.Storage.isReady()||(yield o.Storage.isReadyResolver()),this._logger.start(),this.updateUserAsync(this._user,t)})}_finalizeUpdate(t){this._store.finalize(),this._setStatus("Ready",t)}_runPostUpdate(t,r){this.dataAdapter.getDataAsync(t,r,{priority:"low"}).catch(t=>{o.Log.error("An error occurred after update.",t)})}_resetForUser(t){this._logger.reset(),this._store.reset(),this._user=this._configureUser(t,this._options)}_configureUser(t,r){var n;let i=(0,o._normalizeUser)(t,r),a=null===(n=i.customIDs)||void 0===n?void 0:n.stableID;return a&&o.StableID.setOverride(a,this._sdkKey),i}_getFeatureGateImpl(t,r){var n,i;let{result:a,details:s}=this._store.getGate(t),l=(0,o._makeFeatureGate)(t,s,a),u=null===(i=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getGateOverride)||void 0===i?void 0:i.call(n,l,this._user,r),c=null!=u?u:l;return this._enqueueExposure(t,(0,o._createGateExposure)(this._user,c,this._store.getExposureMapping()),r),this.$emt({name:"gate_evaluation",gate:c}),c}_getDynamicConfigImpl(t,r){var n,i;let{result:a,details:s}=this._store.getConfig(t),l=(0,o._makeDynamicConfig)(t,s,a),u=null===(i=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getDynamicConfigOverride)||void 0===i?void 0:i.call(n,l,this._user,r),c=null!=u?u:l;return this._enqueueExposure(t,(0,o._createConfigExposure)(this._user,c,this._store.getExposureMapping()),r),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:c}),c}_getExperimentImpl(t,r){var n,i,a,s;let{result:l,details:u}=this._store.getConfig(t),c=(0,o._makeExperiment)(t,u,l);null!=c.__evaluation&&(c.__evaluation.secondary_exposures=(0,o._mapExposures)(null!==(i=null===(n=c.__evaluation)||void 0===n?void 0:n.secondary_exposures)&&void 0!==i?i:[],this._store.getExposureMapping()));let d=null===(s=null===(a=this.overrideAdapter)||void 0===a?void 0:a.getExperimentOverride)||void 0===s?void 0:s.call(a,c,this._user,r),f=null!=d?d:c;return this._enqueueExposure(t,(0,o._createConfigExposure)(this._user,f,this._store.getExposureMapping()),r),this.$emt({name:"experiment_evaluation",experiment:f}),f}_getLayerImpl(t,r){var n,i,a;let{result:s,details:l}=this._store.getLayer(t),u=(0,o._makeLayer)(t,l,s),c=null===(i=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getLayerOverride)||void 0===i?void 0:i.call(n,u,this._user,r);(null==r?void 0:r.disableExposureLog)&&this._logger.incrementNonExposureCount(t);let d=(0,o._mergeOverride)(u,c,null!==(a=null==c?void 0:c.__value)&&void 0!==a?a:u.__value,n=>{null!=r&&r.disableExposureLog||this._enqueueExposure(t,(0,o._createLayerParameterExposure)(this._user,d,n,this._store.getExposureMapping()),r)});return this.$emt({name:"layer_evaluation",layer:d}),d}_getParameterStoreImpl(t,r){var n,i;let{result:o,details:a}=this._store.getParamStore(t);this._logger.incrementNonExposureCount(t);let s={name:t,details:a,__configuration:o,get:(0,l._makeParamStoreGetter)(this,o,r)},u=null===(i=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getParamStoreOverride)||void 0===i?void 0:i.call(n,s,r);return null!=u&&(s.__configuration=u.config,s.details=u.details,s.get=(0,l._makeParamStoreGetter)(this,u.config,r)),s}};r.default=StatsigClient},99822:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.StatsigEvaluationsDataAdapter=void 0;let o=n(54408),a=n(462);let StatsigEvaluationsDataAdapter=class StatsigEvaluationsDataAdapter extends o.DataAdapterCore{constructor(){super("EvaluationsDataAdapter","evaluations"),this._network=null,this._options=null}attach(t,r,n){super.attach(t,r,n),null!==n&&n instanceof a.default?this._network=n:this._network=new a.default(null!=r?r:{})}getDataAsync(t,r,n){return this._getDataAsyncImpl(t,(0,o._normalizeUser)(r,this._options),n)}prefetchData(t,r){return this._prefetchDataImpl(t,r)}setData(t){let r=(0,o._typedJsonParse)(t,"has_updates","data");r&&"user"in r?super.setData(t,r.user):o.Log.error("StatsigUser not found. You may be using an older server SDK version. Please upgrade your SDK or use setDataLegacy.")}setDataLegacy(t,r){super.setData(t,r)}_fetchFromNetwork(t,r,n,o){var a;return i(this,void 0,void 0,function*(){let i=yield null===(a=this._network)||void 0===a?void 0:a.fetchEvaluations(this._getSdkKey(),t,null==n?void 0:n.priority,r,o);return null!=i?i:null})}_getCacheKey(t){var r;let n=(0,o._getStorageKey)(this._getSdkKey(),t,null===(r=this._options)||void 0===r?void 0:r.customUserCacheKeyFunc);return`${o.DataAdapterCachePrefix}.${this._cacheSuffix}.${n}`}_isCachedResultValidFor204(t,r){return null!=t.fullUserHash&&t.fullUserHash===(0,o._getFullUserHash)(r)}};r.StatsigEvaluationsDataAdapter=StatsigEvaluationsDataAdapter},86799:function(t,r,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),o=this&&this.__exportStar||function(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||i(r,t,n)};Object.defineProperty(r,"__esModule",{value:!0}),r.StatsigClient=void 0;let a=n(37333);r.StatsigClient=a.default,o(n(54408),r),r.default=__STATSIG__=Object.assign(Object.assign({},null!=__STATSIG__?__STATSIG__:{}),{StatsigClient:a.default})},25980:function(t,r,n){"use strict";var i,o,a;Object.defineProperty(r,"__esModule",{value:!0}),r._getInstance=r._getStatsigGlobalFlag=r._getStatsigGlobal=void 0;let s=n(64113);r._getStatsigGlobal=()=>{try{return"undefined"!=typeof __STATSIG__?__STATSIG__:f}catch(t){return f}},r._getStatsigGlobalFlag=t=>(0,r._getStatsigGlobal)()[t],r._getInstance=t=>{let n=(0,r._getStatsigGlobal)();return t?n.instances&&n.instances[t]:(n.instances&&Object.keys(n.instances).length>1&&s.Log.warn("Call made to Statsig global instance without an SDK key but there is more than one client instance. If you are using mulitple clients, please specify the SDK key."),n.firstInstance)};let l="__STATSIG__",u="undefined"!=typeof window?window:{},c=void 0!==n.g?n.g:{},d="undefined"!=typeof globalThis?globalThis:{},f=null!==(a=null!==(o=null!==(i=u[l])&&void 0!==i?i:c[l])&&void 0!==o?o:d[l])&&void 0!==a?a:{instance:r._getInstance};u[l]=f,c[l]=f,d[l]=f},49358:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getStorageKey=r._getUserStorageKey=void 0;let i=n(87125);function o(t,r,n){var o;if(n)return n(t,r);let a=r&&r.customIDs?r.customIDs:{},s=[`uid:${null!==(o=null==r?void 0:r.userID)&&void 0!==o?o:""}`,`cids:${Object.keys(a).sort((t,r)=>t.localeCompare(r)).map(t=>`${t}-${a[t]}`).join(",")}`,`k:${t}`];return(0,i._DJB2)(s.join("|"))}r._getUserStorageKey=o,r._getStorageKey=function(t,r,n){return r?o(t,r,n):(0,i._DJB2)(`k:${t}`)}},71985:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},71506:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r._makeDataAdapterResult=r.DataAdapterCore=void 0;let o=n(64113),a=n(14213),s=n(4039),l=n(19413),u=n(62641);let DataAdapterCore=class DataAdapterCore{constructor(t,r){this._adapterName=t,this._cacheSuffix=r,this._options=null,this._sdkKey=null,this._lastModifiedStoreKey=`statsig.last_modified_time.${r}`,this._inMemoryCache=new InMemoryCache}attach(t,r,n){this._sdkKey=t,this._options=r}getDataSync(t){let r=t&&(0,s._normalizeUser)(t,this._options),n=this._getCacheKey(r),i=this._inMemoryCache.get(n,r);if(i)return i;let o=this._loadFromCache(n);return o?(this._inMemoryCache.add(n,o),this._inMemoryCache.get(n,r)):null}setData(t,r){let n=r&&(0,s._normalizeUser)(r,this._options),i=this._getCacheKey(n);this._inMemoryCache.add(i,c("Bootstrap",t,null,n))}_getDataAsyncImpl(t,r,n){return i(this,void 0,void 0,function*(){l.Storage.isReady()||(yield l.Storage.isReadyResolver());let i=null!=t?t:this.getDataSync(r),a=[this._fetchAndPrepFromNetwork(i,r,n)];return(null==n?void 0:n.timeoutMs)&&a.push(new Promise(t=>setTimeout(t,n.timeoutMs)).then(()=>(o.Log.debug("Fetching latest value timed out"),null))),yield Promise.race(a)})}_prefetchDataImpl(t,r){return i(this,void 0,void 0,function*(){let n=t&&(0,s._normalizeUser)(t,this._options),i=this._getCacheKey(n),o=yield this._getDataAsyncImpl(null,n,r);o&&this._inMemoryCache.add(i,Object.assign(Object.assign({},o),{source:"Prefetch"}))})}_fetchAndPrepFromNetwork(t,r,n){var s;return i(this,void 0,void 0,function*(){let i=null!==(s=null==t?void 0:t.data)&&void 0!==s?s:null,l=null!=t&&this._isCachedResultValidFor204(t,r),d=yield this._fetchFromNetwork(i,r,n,l);if(!d)return o.Log.debug("No response returned for latest value"),null;let f=(0,u._typedJsonParse)(d,"has_updates","Response"),h=this._getSdkKey(),m=a.StableID.get(h),g=null;if((null==f?void 0:f.has_updates)===!0)g=c("Network",d,m,r);else{if(!i||(null==f?void 0:f.has_updates)!==!1)return null;g=c("NetworkNotModified",i,m,r)}let y=this._getCacheKey(r);return this._inMemoryCache.add(y,g),this._writeToCache(y,g),g})}_getSdkKey(){return null!=this._sdkKey?this._sdkKey:(o.Log.error(`${this._adapterName} is not attached to a Client`),"")}_loadFromCache(t){var r;let n=null===(r=l.Storage.getItem)||void 0===r?void 0:r.call(l.Storage,t);if(null==n)return null;let i=(0,u._typedJsonParse)(n,"source","Cached Result");return i?Object.assign(Object.assign({},i),{source:"Cache"}):null}_writeToCache(t,r){l.Storage.setItem(t,JSON.stringify(r)),this._runLocalStorageCacheEviction(t)}_runLocalStorageCacheEviction(t){var r;let n=null!==(r=(0,l._getObjectFromStorage)(this._lastModifiedStoreKey))&&void 0!==r?r:{};n[t]=Date.now();let i=d(n,10);i&&(delete n[i],l.Storage.removeItem(i)),(0,l._setObjectInStorage)(this._lastModifiedStoreKey,n)}};function c(t,r,n,i){return{source:t,data:r,receivedAt:Date.now(),stableID:n,fullUserHash:(0,s._getFullUserHash)(i)}}r.DataAdapterCore=DataAdapterCore,r._makeDataAdapterResult=c;let InMemoryCache=class InMemoryCache{constructor(){this._data={}}get(t,r){var n;let i=this._data[t],a=null==i?void 0:i.stableID,s=null===(n=null==r?void 0:r.customIDs)||void 0===n?void 0:n.stableID;return s&&a&&s!==a?(o.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):i}add(t,r){let n=d(this._data,9);n&&delete this._data[n],this._data[t]=r}merge(t){this._data=Object.assign(Object.assign({},this._data),t)}};function d(t,r){let n=Object.keys(t);return n.length<=r?null:n.reduce((r,n)=>{let i=t[r],o=t[n];return"object"==typeof i&&"object"==typeof o?o.receivedAt<i.receivedAt?n:r:o<i?n:r})}},1640:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Diagnostics=void 0;let n=new Map,i="start";function o(t,r,n,i){return Object.assign({key:n,action:r,step:i,timestamp:Date.now()},t)}function a(t,r){var i;let o=null!==(i=n.get(t))&&void 0!==i?i:[];o.push(r),n.set(t,o)}function s(t,r){if(r in t)return t[r]}r.Diagnostics={_getMarkers:t=>n.get(t),_markInitOverallStart:t=>{a(t,o({},i,"overall"))},_markInitOverallEnd:(t,r,n)=>{a(t,o({success:r,error:r?void 0:{name:"InitializeError",message:"Failed to initialize"},evaluationDetails:n},"end","overall"))},_markInitNetworkReqStart:(t,r)=>{a(t,o(r,i,"initialize","network_request"))},_markInitNetworkReqEnd:(t,r)=>{a(t,o(r,"end","initialize","network_request"))},_markInitProcessStart:t=>{a(t,o({},i,"initialize","process"))},_markInitProcessEnd:(t,r)=>{a(t,o(r,"end","initialize","process"))},_clearMarkers:t=>{n.delete(t)},_formatError(t){if(t&&"object"==typeof t)return{code:s(t,"code"),name:s(t,"name"),message:s(t,"message")}},_getDiagnosticsData(t,n,i,o){var a;return{success:(null==t?void 0:t.ok)===!0,statusCode:null==t?void 0:t.status,sdkRegion:null===(a=null==t?void 0:t.headers)||void 0===a?void 0:a.get("x-statsig-region"),isDelta:!0===i.includes('"is_delta":true')||void 0,attempt:n,error:r.Diagnostics._formatError(o)}},_enqueueDiagnosticsEvent(t,n,i,o){let a=r.Diagnostics._getMarkers(i);if(null==a||a.length<=0)return -1;let s=a[a.length-1].timestamp-a[0].timestamp;r.Diagnostics._clearMarkers(i);let l={eventName:"statsig::diagnostics",user:t,value:null,metadata:{context:"initialize",markers:a.slice(),statsigOptions:o},time:Date.now()};return n.enqueue(l),s}}},9121:function(t,r){"use strict";var n=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r._fetchTxtRecords=void 0;let i=new Uint8Array([0,0,1,0,0,1,0,0,0,0,0,0,13,102,101,97,116,117,114,101,97,115,115,101,116,115,3,111,114,103,0,0,16,0,1]),o=["i","e","d"];r._fetchTxtRecords=function(t){return n(this,void 0,void 0,function*(){let r=yield t("https://cloudflare-dns.com/dns-query",{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:i});if(!r.ok){let t=Error("Failed to fetch TXT records from DNS");throw t.name="DnsTxtFetchError",t}return function(t){let r=t.findIndex((r,n)=>n<200&&"="===String.fromCharCode(r)&&o.includes(String.fromCharCode(t[n-1])));if(-1===r){let t=Error("Failed to parse TXT records from DNS");throw t.name="DnsTxtParseError",t}let n="";for(let i=r-1;i<t.length;i++)n+=String.fromCharCode(t[i]);return n.split(",")}(new Uint8Array((yield r.arrayBuffer())))})}},79290:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},57034:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.ErrorBoundary=r.EXCEPTION_ENDPOINT=void 0;let o=n(64113),a=n(95804),s=n(67096);r.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";let l="[Statsig] UnknownError";let ErrorBoundary=class ErrorBoundary{constructor(t,r,n,i){this._sdkKey=t,this._options=r,this._emitter=n,this._lastSeenError=i,this._seen=new Set}wrap(t){try{(function(t){let r=new Set,n=Object.getPrototypeOf(t);for(;n&&n!==Object.prototype;)Object.getOwnPropertyNames(n).filter(t=>"function"==typeof(null==n?void 0:n[t])).forEach(t=>r.add(t)),n=Object.getPrototypeOf(n);return Array.from(r)})(t).forEach(r=>{let n=t[r];"$EB"in n||(t[r]=(...i)=>this._capture(r,()=>n.apply(t,i)),t[r].$EB=!0)})}catch(t){this._onError("eb:wrap",t)}}logError(t,r){this._onError(t,r)}getLastSeenErrorAndReset(){let t=this._lastSeenError;return this._lastSeenError=void 0,null!=t?t:null}attachErrorIfNoneExists(t){this._lastSeenError||(this._lastSeenError=u(t))}_capture(t,r){try{let n=r();if(n&&n instanceof Promise)return n.catch(r=>this._onError(t,r));return n}catch(r){return this._onError(t,r),null}}_onError(t,n){try{o.Log.warn(`Caught error in ${t}`,{error:n}),i(this,void 0,void 0,function*(){var i,o,c,d,f,h,m;let g=n||Error(l),y=g instanceof Error,v=y?g.name:"No Name",b=u(g);if(this._lastSeenError=b,this._seen.has(v))return;if(this._seen.add(v),null===(o=null===(i=this._options)||void 0===i?void 0:i.networkConfig)||void 0===o?void 0:o.preventAllNetworkTraffic){null===(c=this._emitter)||void 0===c||c.call(this,{name:"error",error:n,tag:t});return}let _=a.SDKType._get(this._sdkKey),w=s.StatsigMetadataProvider.get(),S=y?g.stack:function(t){try{return JSON.stringify(t)}catch(t){return l}}(g),x=Object.assign({tag:t,exception:v,info:S,statsigOptions:function(t){if(!t)return{};let r={};return Object.entries(t).forEach(([t,n])=>{switch(typeof n){case"number":case"bigint":case"boolean":r[String(t)]=n;break;case"string":n.length<50?r[String(t)]=n:r[String(t)]="set";break;case"object":"environment"===t?r.environment=n:"networkConfig"===t?r.networkConfig=n:r[String(t)]=null!=n?"set":"unset"}}),r}(this._options)},Object.assign(Object.assign({},w),{sdkType:_})),E=null!==(h=null===(f=null===(d=this._options)||void 0===d?void 0:d.networkConfig)||void 0===f?void 0:f.networkOverrideFunc)&&void 0!==h?h:fetch;yield E(r.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(_),"STATSIG-SDK-VERSION":String(w.sdkVersion),"Content-Type":"application/json"},body:JSON.stringify(x)}),null===(m=this._emitter)||void 0===m||m.call(this,{name:"error",error:n,tag:t})}).then(()=>{}).catch(()=>{})}catch(t){}}};function u(t){return t instanceof Error?t:"string"==typeof t?Error(t):Error("An unknown error occurred.")}r.ErrorBoundary=ErrorBoundary},11662:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},58505:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},21386:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.EventLogger=void 0;let o=n(49358),a=n(87125),s=n(64113),l=n(47132),u=n(9331),c=n(21934),d=n(90639),f=n(19413),h=n(11232),m=n(21649),g={},y={Startup:"startup",GainedFocus:"gained_focus"};let EventLogger=class EventLogger{static _safeFlushAndForget(t){var r;null===(r=g[t])||void 0===r||r.flush().catch(()=>{})}static _safeRetryFailedLogs(t){var r;null===(r=g[t])||void 0===r||r._retryFailedLogs(y.GainedFocus)}constructor(t,r,n,i){var o,a;this._sdkKey=t,this._emitter=r,this._network=n,this._options=i,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),this._loggingEnabled=null!==(o=null==i?void 0:i.loggingEnabled)&&void 0!==o?o:(null==i?void 0:i.disableLogging)===!0?d.LoggingEnabledOption.disabled:d.LoggingEnabledOption.browserOnly,(null==i?void 0:i.loggingEnabled)&&void 0!==i.disableLogging&&s.Log.warn("Detected both loggingEnabled and disableLogging options. loggingEnabled takes precedence - please remove disableLogging."),this._maxQueueSize=null!==(a=null==i?void 0:i.loggingBufferMaxSize)&&void 0!==a?a:100;let u=null==i?void 0:i.networkConfig;this._logEventUrlConfig=new h.UrlConfiguration(l.Endpoint._rgstr,null==u?void 0:u.logEventUrl,null==u?void 0:u.api,null==u?void 0:u.logEventFallbackUrls)}setLogEventCompressionMode(t){this._network.setLogEventCompressionMode(t)}setLoggingEnabled(t){this._loggingEnabled=t}enqueue(t){this._shouldLogEvent(t)&&(this._normalizeAndAppendEvent(t),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize&&EventLogger._safeFlushAndForget(this._sdkKey))}incrementNonExposureCount(t){var r;let n=null!==(r=this._nonExposedChecks[t])&&void 0!==r?r:0;this._nonExposedChecks[t]=n+1}reset(){this._lastExposureTimeMap={}}start(){var t;let r=(0,u._isServerEnv)();r&&(null===(t=this._options)||void 0===t?void 0:t.loggingEnabled)!=="always"||(g[this._sdkKey]=this,r||(0,m._subscribeToVisiblityChanged)(t=>{"background"===t?EventLogger._safeFlushAndForget(this._sdkKey):"foreground"===t&&EventLogger._safeRetryFailedLogs(this._sdkKey)}),this._retryFailedLogs(y.Startup),this._startBackgroundFlushInterval())}stop(){return i(this,void 0,void 0,function*(){this._flushIntervalId&&(clearInterval(this._flushIntervalId),this._flushIntervalId=null),delete g[this._sdkKey],yield this.flush()})}flush(){return i(this,void 0,void 0,function*(){if(this._appendAndResetNonExposedChecks(),0===this._queue.length)return;let t=this._queue;this._queue=[],yield this._sendEvents(t)})}_quickFlushIfNeeded(){!this._hasRunQuickFlush&&(this._hasRunQuickFlush=!0,Date.now()-this._creationTime>200||setTimeout(()=>EventLogger._safeFlushAndForget(this._sdkKey),200))}_shouldLogEvent(t){var r;if((null===(r=this._options)||void 0===r?void 0:r.loggingEnabled)!=="always"&&(0,u._isServerEnv)())return!1;if(!(0,c._isExposureEvent)(t))return!0;let n=t.user?t.user:{statsigEnvironment:void 0},i=(0,o._getUserStorageKey)(this._sdkKey,n),a=t.metadata?t.metadata:{},s=[t.eventName,i,a.gate,a.config,a.ruleID,a.allocatedExperiment,a.parameterName,String(a.isExplicitParameter),a.reason].join("|"),l=this._lastExposureTimeMap[s],d=Date.now();return(!l||!(d-l<6e5))&&(Object.keys(this._lastExposureTimeMap).length>1e3&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[s]=d,!0)}_sendEvents(t){var r,n;return i(this,void 0,void 0,function*(){if("disabled"===this._loggingEnabled)return this._saveFailedLogsToStorage(t),!1;try{let i=(0,m._isUnloading)()&&this._network.isBeaconSupported()&&(null===(n=null===(r=this._options)||void 0===r?void 0:r.networkConfig)||void 0===n?void 0:n.networkOverrideFunc)==null;if(this._emitter({name:"pre_logs_flushed",events:t}),(i?yield this._sendEventsViaBeacon(t):yield this._sendEventsViaPost(t)).success)return this._emitter({name:"logs_flushed",events:t}),!0;return s.Log.warn("Failed to flush events."),this._saveFailedLogsToStorage(t),!1}catch(t){return s.Log.warn("Failed to flush events."),!1}})}_sendEventsViaPost(t){var r;return i(this,void 0,void 0,function*(){let n=yield this._network.post(this._getRequestData(t)),i=null!==(r=null==n?void 0:n.code)&&void 0!==r?r:-1;return{success:i>=200&&i<300}})}_sendEventsViaBeacon(t){return i(this,void 0,void 0,function*(){return{success:yield this._network.beacon(this._getRequestData(t))}})}_getRequestData(t){return{sdkKey:this._sdkKey,data:{events:t},urlConfig:this._logEventUrlConfig,retries:3,isCompressable:!0,params:{[l.NetworkParam.EventCount]:String(t.length)},credentials:"same-origin"}}_saveFailedLogsToStorage(t){for(;t.length>500;)t.shift();let r=this._getStorageKey();try{(0,f._setObjectInStorage)(r,t)}catch(t){s.Log.warn("Unable to save failed logs to storage")}}_retryFailedLogs(t){let r=this._getStorageKey();i(this,void 0,void 0,function*(){f.Storage.isReady()||(yield f.Storage.isReadyResolver());let n=(0,f._getObjectFromStorage)(r);n&&(t===y.Startup&&f.Storage.removeItem(r),(yield this._sendEvents(n))&&t===y.GainedFocus&&f.Storage.removeItem(r))}).catch(()=>{s.Log.warn("Failed to flush stored logs")})}_getStorageKey(){return`statsig.failed_logs.${(0,a._DJB2)(this._sdkKey)}`}_normalizeAndAppendEvent(t){t.user&&(t.user=Object.assign({},t.user),delete t.user.privateAttributes);let r={},n=this._getCurrentPageUrl();n&&(r.statsigMetadata={currentPage:n});let i=Object.assign(Object.assign({},t),r);s.Log.debug("Enqueued Event:",i),this._queue.push(i)}_appendAndResetNonExposedChecks(){0!==Object.keys(this._nonExposedChecks).length&&(this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={})}_getCurrentPageUrl(){var t;if((null===(t=this._options)||void 0===t?void 0:t.includeCurrentPageUrlWithEvents)!==!1)return(0,u._getCurrentPageUrlSafe)()}_startBackgroundFlushInterval(){var t,r;let n=setInterval(()=>{let t=g[this._sdkKey];t&&t._flushIntervalId===n?EventLogger._safeFlushAndForget(this._sdkKey):clearInterval(n)},null!==(r=null===(t=this._options)||void 0===t?void 0:t.loggingIntervalMs)&&void 0!==r?r:1e4);this._flushIntervalId=n}};r.EventLogger=EventLogger},87125:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getSortedObject=r._DJB2Object=r._DJB2=void 0;let i=n(33924);r._DJB2=t=>{let r=0;for(let n=0;n<t.length;n++)r=(r<<5)-r+t.charCodeAt(n),r&=r;return String(r>>>0)},r._DJB2Object=(t,n)=>(0,r._DJB2)(JSON.stringify((0,r._getSortedObject)(t,n))),r._getSortedObject=(t,n)=>{if(null==t)return null;let o=Object.keys(t).sort(),a={};return o.forEach(o=>{let s=t[o];if(0===n||"object"!==(0,i._typeOf)(s)){a[o]=s;return}a[o]=(0,r._getSortedObject)(s,null!=n?n-1:n)}),a}},21650:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},64113:function(t,r){"use strict";function n(t){return t.unshift("[Statsig]"),t}Object.defineProperty(r,"__esModule",{value:!0}),r.Log=r.LogLevel=void 0,r.LogLevel={None:0,Error:1,Warn:2,Info:3,Debug:4};let Log=class Log{static info(...t){Log.level>=r.LogLevel.Info&&console.info("  INFO ",...n(t))}static debug(...t){Log.level>=r.LogLevel.Debug&&console.debug(" DEBUG ",...n(t))}static warn(...t){Log.level>=r.LogLevel.Warn&&console.warn("  WARN ",...n(t))}static error(...t){Log.level>=r.LogLevel.Error&&console.error(" ERROR ",...n(t))}};r.Log=Log,Log.level=r.LogLevel.Warn},58361:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createMemoKey=r.MemoPrefix=void 0,r.MemoPrefix={_gate:"g",_dynamicConfig:"c",_experiment:"e",_layer:"l",_paramStore:"p"};let n=new Set([]),i=new Set(["userPersistedValues"]);r.createMemoKey=function(t,r,o){let a=`${t}|${r}`;if(!o)return a;for(let t of Object.keys(o)){if(i.has(t))return;n.has(t)?a+=`|${t}=true`:a+=`|${t}=${o[t]}`}return a}},47132:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.NetworkParam=r.NetworkDefault=r.Endpoint=void 0,r.Endpoint={_initialize:"initialize",_rgstr:"rgstr",_download_config_specs:"download_config_specs"},r.NetworkDefault={[r.Endpoint._rgstr]:"https://prodregistryv2.org/v1",[r.Endpoint._initialize]:"https://featureassets.org/v1",[r.Endpoint._download_config_specs]:"https://api.statsigcdn.com/v1"},r.NetworkParam={EventCount:"ec",SdkKey:"k",SdkType:"st",SdkVersion:"sv",Time:"t",SessionID:"sid",StatsigEncoded:"se",IsGzipped:"gz"}},32701:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.NetworkCore=void 0,n(25980);let o=n(25980),a=n(1640),s=n(64113),l=n(47132),u=n(91346),c=n(28778),d=n(95804),f=n(9331),h=n(52937),m=n(14213),g=n(21605),y=n(67096),v=n(90639),b=n(21649),_=new Set([408,500,502,503,504,522,524,599]);let NetworkCore=class NetworkCore{constructor(t,r){this._emitter=r,this._errorBoundary=null,this._timeout=1e4,this._netConfig={},this._options={},this._leakyBucket={},this._lastUsedInitUrl=null,t&&(this._options=t),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs),this._fallbackResolver=new u.NetworkFallbackResolver(this._options),this.setLogEventCompressionMode(this._getLogEventCompressionMode(t))}setLogEventCompressionMode(t){this._options.logEventCompressionMode=t}setErrorBoundary(t){this._errorBoundary=t,this._errorBoundary.wrap(this),this._errorBoundary.wrap(this._fallbackResolver),this._fallbackResolver.setErrorBoundary(t)}isBeaconSupported(){return"undefined"!=typeof navigator&&"function"==typeof navigator.sendBeacon}getLastUsedInitUrlAndReset(){let t=this._lastUsedInitUrl;return this._lastUsedInitUrl=null,t}beacon(t){return i(this,void 0,void 0,function*(){if(!w(t))return!1;let r=this._getInternalRequestArgs("POST",t);yield this._tryToCompressBody(r);let n=yield this._getPopulatedURL(r),i=navigator;return i.sendBeacon.bind(i)(n,r.body)})}post(t){return i(this,void 0,void 0,function*(){let r=this._getInternalRequestArgs("POST",t);return this._tryEncodeBody(r),yield this._tryToCompressBody(r),this._sendRequest(r)})}get(t){let r=this._getInternalRequestArgs("GET",t);return this._sendRequest(r)}_sendRequest(t){var r,n,o,u;return i(this,void 0,void 0,function*(){var c,d,f,h,m;if(!w(t)||this._netConfig.preventAllNetworkTraffic)return null;let{method:y,body:v,retries:S,attempt:E}=t,k=t.urlConfig.endpoint;if(this._isRateLimited(k))return s.Log.warn(`Request to ${k} was blocked because you are making requests too frequently.`),null;let C=null!=E?E:1,O="undefined"!=typeof AbortController?new AbortController:null,R=setTimeout(()=>{null==O||O.abort(`Timeout of ${this._timeout}ms expired.`)},this._timeout),T=yield this._getPopulatedURL(t),P=null,M=(0,b._isUnloading)();try{let n={method:y,body:v,headers:Object.assign({},t.headers),signal:null==O?void 0:O.signal,priority:t.priority,keepalive:M};c=t,d=C,c.urlConfig.endpoint===l.Endpoint._initialize&&a.Diagnostics._markInitNetworkReqStart(c.sdkKey,{attempt:d});let i=this._leakyBucket[k];i&&(i.lastRequestTime=Date.now(),this._leakyBucket[k]=i);let o=null!==(r=this._netConfig.networkOverrideFunc)&&void 0!==r?r:fetch;if(P=yield o(T,n),clearTimeout(R),!P.ok){let t=yield P.text().catch(()=>"No Text"),r=Error(`NetworkError: ${T} ${t}`);throw r.name="NetworkError",r}let s=yield P.text();return x(t,P,C,s),this._fallbackResolver.tryBumpExpiryTime(t.sdkKey,t.urlConfig),{body:s,code:P.status}}catch(l){let r=(f=O,h=l,(null==f?void 0:f.signal.aborted)&&"string"==typeof f.signal.reason?f.signal.reason:"string"==typeof h?h:h instanceof Error?`${h.name}: ${h.message}`:"Unknown Error"),a=(null==(m=O)?void 0:m.signal.aborted)&&"string"==typeof m.signal.reason&&m.signal.reason.includes("Timeout")||!1;if(x(t,P,C,"",l),(yield this._fallbackResolver.tryFetchUpdatedFallbackInfo(t.sdkKey,t.urlConfig,r,a))&&(t.fallbackUrl=this._fallbackResolver.getActiveFallbackUrl(t.sdkKey,t.urlConfig)),!S||C>S||!_.has(null!==(n=null==P?void 0:P.status)&&void 0!==n?n:500)){null===(o=this._emitter)||void 0===o||o.call(this,{name:"error",error:l,tag:g.ErrorTag.NetworkError,requestArgs:t});let n=`A networking error occurred during ${y} request to ${T}.`;return s.Log.error(n,r,l),null===(u=this._errorBoundary)||void 0===u||u.attachErrorIfNoneExists(n),null}return yield function(t){return i(this,void 0,void 0,function*(){yield new Promise(r=>setTimeout(r,Math.min(t*t*500,3e4)))})}(C),this._sendRequest(Object.assign(Object.assign({},t),{retries:S,attempt:C+1}))}})}_getLogEventCompressionMode(t){let r=null==t?void 0:t.logEventCompressionMode;return r||(null==t?void 0:t.disableCompression)!==!0||(r=v.LogEventCompressionMode.Disabled),r||(r=v.LogEventCompressionMode.Enabled),r}_isRateLimited(t){var r;let n=Date.now(),i=null!==(r=this._leakyBucket[t])&&void 0!==r?r:{count:0,lastRequestTime:n},o=Math.floor((n-i.lastRequestTime)*.05);return i.count=Math.max(0,i.count-o),i.count>=50||(i.count+=1,i.lastRequestTime=n,this._leakyBucket[t]=i,!1)}_getPopulatedURL(t){var r;return i(this,void 0,void 0,function*(){let n=null!==(r=t.fallbackUrl)&&void 0!==r?r:t.urlConfig.getUrl();(t.urlConfig.endpoint===l.Endpoint._initialize||t.urlConfig.endpoint===l.Endpoint._download_config_specs)&&(this._lastUsedInitUrl=n);let i=Object.assign({[l.NetworkParam.SdkKey]:t.sdkKey,[l.NetworkParam.SdkType]:d.SDKType._get(t.sdkKey),[l.NetworkParam.SdkVersion]:y.SDK_VERSION,[l.NetworkParam.Time]:String(Date.now()),[l.NetworkParam.SessionID]:h.SessionID.get(t.sdkKey)},t.params),o=Object.keys(i).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(i[t])}`).join("&");return`${n}${o?`?${o}`:""}`})}_tryEncodeBody(t){var r;let n=(0,f._getWindowSafe)(),i=t.body;if(t.isStatsigEncodable&&!this._options.disableStatsigEncoding&&"string"==typeof i&&null==(0,o._getStatsigGlobalFlag)("no-encode")&&(null==n?void 0:n.btoa))try{t.body=n.btoa(i).split("").reverse().join(""),t.params=Object.assign(Object.assign({},null!==(r=t.params)&&void 0!==r?r:{}),{[l.NetworkParam.StatsigEncoded]:"1"})}catch(r){s.Log.warn(`Request encoding failed for ${t.urlConfig.getUrl()}`,r)}}_tryToCompressBody(t){var r;return i(this,void 0,void 0,function*(){let n=t.body;if("string"==typeof n&&function(t,r){if(!t.isCompressable||null!=(0,o._getStatsigGlobalFlag)("no-compress")||"undefined"==typeof CompressionStream||"undefined"==typeof TextEncoder)return!1;let n=null!=t.urlConfig.customUrl||null!=t.urlConfig.fallbackUrls,i=!0===c.SDKFlags.get(t.sdkKey,"enable_log_event_compression");switch(r.logEventCompressionMode){case v.LogEventCompressionMode.Disabled:return!1;case v.LogEventCompressionMode.Enabled:if(n&&!i)return!1;return!0;case v.LogEventCompressionMode.Forced:return!0;default:return!1}}(t,this._options))try{let i,o=new TextEncoder().encode(n),a=new CompressionStream("gzip"),u=a.writable.getWriter();u.write(o).catch(s.Log.error),u.close().catch(s.Log.error);let c=a.readable.getReader(),d=[];for(;!(i=yield c.read()).done;)d.push(i.value);let f=d.reduce((t,r)=>t+r.length,0),h=new Uint8Array(f),m=0;for(let t of d)h.set(t,m),m+=t.length;t.body=h,t.params=Object.assign(Object.assign({},null!==(r=t.params)&&void 0!==r?r:{}),{[l.NetworkParam.IsGzipped]:"1"})}catch(r){s.Log.warn(`Request compression failed for ${t.urlConfig.getUrl()}`,r)}})}_getInternalRequestArgs(t,r){let n=this._fallbackResolver.getActiveFallbackUrl(r.sdkKey,r.urlConfig),i=Object.assign(Object.assign({},r),{method:t,fallbackUrl:n});return"data"in r&&S(i,r.data),i}};r.NetworkCore=NetworkCore;let w=t=>!!t.sdkKey||(s.Log.warn("Unable to make request without an SDK key"),!1),S=(t,r)=>{let{sdkKey:n,fallbackUrl:i}=t,o=m.StableID.get(n),a=h.SessionID.get(n),s=d.SDKType._get(n);t.body=JSON.stringify(Object.assign(Object.assign({},r),{statsigMetadata:Object.assign(Object.assign({},y.StatsigMetadataProvider.get()),{stableID:o,sessionID:a,sdkType:s,fallbackUrl:i})}))};function x(t,r,n,i,o){t.urlConfig.endpoint===l.Endpoint._initialize&&a.Diagnostics._markInitNetworkReqEnd(t.sdkKey,a.Diagnostics._getDiagnosticsData(r,n,i,o))}},91346:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r._isDomainFailure=r.NetworkFallbackResolver=void 0;let o=n(9121),a=n(87125),s=n(64113),l=n(19413);let NetworkFallbackResolver=class NetworkFallbackResolver{constructor(t){var r;this._fallbackInfo=null,this._errorBoundary=null,this._dnsQueryCooldowns={},this._networkOverrideFunc=null===(r=t.networkConfig)||void 0===r?void 0:r.networkOverrideFunc}setErrorBoundary(t){this._errorBoundary=t}tryBumpExpiryTime(t,r){var n;let i=null===(n=this._fallbackInfo)||void 0===n?void 0:n[r.endpoint];i&&(i.expiryTime=Date.now()+6048e5,d(t,Object.assign(Object.assign({},this._fallbackInfo),{[r.endpoint]:i})))}getActiveFallbackUrl(t,r){var n,i;if(null!=r.customUrl&&null!=r.fallbackUrls)return null;let o=this._fallbackInfo;null==o&&(o=null!==(n=function(t){let r=c(t),n=l.Storage.getItem(r);if(!n)return null;try{return JSON.parse(n)}catch(t){return s.Log.error("Failed to parse FallbackInfo"),null}}(t))&&void 0!==n?n:{},this._fallbackInfo=o);let a=o[r.endpoint];return!a||Date.now()>(null!==(i=a.expiryTime)&&void 0!==i?i:0)||r.getChecksum()!==a.urlConfigChecksum?(delete o[r.endpoint],this._fallbackInfo=o,d(t,this._fallbackInfo),null):a.url?a.url:null}tryFetchUpdatedFallbackInfo(t,r,n,o){var a,s;return i(this,void 0,void 0,function*(){try{if(!u(n,o))return!1;let i=null==r.customUrl&&null==r.fallbackUrls?yield this._tryFetchFallbackUrlsFromNetwork(r):r.fallbackUrls,s=this._pickNewFallbackUrl(null===(a=this._fallbackInfo)||void 0===a?void 0:a[r.endpoint],i);if(!s)return!1;return this._updateFallbackInfoWithNewUrl(t,r,s),!0}catch(t){return null===(s=this._errorBoundary)||void 0===s||s.logError("tryFetchUpdatedFallbackInfo",t),!1}})}_updateFallbackInfoWithNewUrl(t,r,n){var i,o,a;let s={urlConfigChecksum:r.getChecksum(),url:n,expiryTime:Date.now()+6048e5,previous:[]},l=r.endpoint,u=null===(i=this._fallbackInfo)||void 0===i?void 0:i[l];u&&s.previous.push(...u.previous),s.previous.length>10&&(s.previous=[]);let c=null===(a=null===(o=this._fallbackInfo)||void 0===o?void 0:o[l])||void 0===a?void 0:a.url;null!=c&&s.previous.push(c),this._fallbackInfo=Object.assign(Object.assign({},this._fallbackInfo),{[l]:s}),d(t,this._fallbackInfo)}_tryFetchFallbackUrlsFromNetwork(t){var r;return i(this,void 0,void 0,function*(){let n=this._dnsQueryCooldowns[t.endpoint];if(n&&Date.now()<n)return null;this._dnsQueryCooldowns[t.endpoint]=Date.now()+144e5;let i=[],a=yield(0,o._fetchTxtRecords)(null!==(r=this._networkOverrideFunc)&&void 0!==r?r:fetch),s=function(t){try{return new URL(t).pathname}catch(t){return null}}(t.defaultUrl);for(let r of a){if(!r.startsWith(t.endpointDnsKey+"="))continue;let n=r.split("=");if(n.length>1){let t=n[1];t.endsWith("/")&&(t=t.slice(0,-1)),i.push(`https://${t}${s}`)}}return i})}_pickNewFallbackUrl(t,r){var n;if(null==r)return null;let i=new Set(null!==(n=null==t?void 0:t.previous)&&void 0!==n?n:[]),o=null==t?void 0:t.url,a=null;for(let t of r){let r=t.endsWith("/")?t.slice(0,-1):t;if(!i.has(t)&&r!==o){a=r;break}}return a}};function u(t,r){var n;let i=null!==(n=null==t?void 0:t.toLowerCase())&&void 0!==n?n:"";return r||i.includes("uncaught exception")||i.includes("failed to fetch")||i.includes("networkerror when attempting to fetch resource")}function c(t){return`statsig.network_fallback.${(0,a._DJB2)(t)}`}function d(t,r){let n=c(t);if(!r||0===Object.keys(r).length){l.Storage.removeItem(n);return}l.Storage.setItem(n,JSON.stringify(r))}r.NetworkFallbackResolver=NetworkFallbackResolver,r._isDomainFailure=u},87439:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},52839:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},28778:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.SDKFlags=void 0;let n={};r.SDKFlags={setFlags:(t,r)=>{n[t]=r},get:(t,r)=>{var i,o;return null!==(o=null===(i=n[t])||void 0===i?void 0:i[r])&&void 0!==o&&o}}},95804:function(t,r){"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0}),r.SDKType=void 0;let i={};r.SDKType={_get:t=>{var r;return(null!==(r=i[t])&&void 0!==r?r:"js-mono")+(null!=n?n:"")},_setClientType(t,r){i[t]=r},_setBindingType(t){n&&"-react"!==n||(n="-"+t)}}},9331:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getUnloadEvent=r._getCurrentPageUrlSafe=r._addDocumentEventListenerSafe=r._addWindowEventListenerSafe=r._isServerEnv=r._getDocumentSafe=r._getWindowSafe=void 0,r._getWindowSafe=()=>"undefined"!=typeof window?window:null,r._getDocumentSafe=()=>{var t;let n=(0,r._getWindowSafe)();return null!==(t=null==n?void 0:n.document)&&void 0!==t?t:null},r._isServerEnv=()=>{if(null!==(0,r._getDocumentSafe)())return!1;let t="undefined"!=typeof process&&null!=process.versions&&null!=process.versions.node;return"string"==typeof EdgeRuntime||t},r._addWindowEventListenerSafe=(t,n)=>{let i=(0,r._getWindowSafe)();"function"==typeof(null==i?void 0:i.addEventListener)&&i.addEventListener(t,n)},r._addDocumentEventListenerSafe=(t,n)=>{let i=(0,r._getDocumentSafe)();"function"==typeof(null==i?void 0:i.addEventListener)&&i.addEventListener(t,n)},r._getCurrentPageUrlSafe=()=>{var t;try{return null===(t=(0,r._getWindowSafe)())||void 0===t?void 0:t.location.href.split(/[?#]/)[0]}catch(t){return}},r._getUnloadEvent=()=>{let t=(0,r._getWindowSafe)();return t&&"onpagehide"in t?"pagehide":"beforeunload"}},52937:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.StatsigSession=r.SessionID=void 0;let i=n(25980),o=n(49358),a=n(64113),s=n(19413),l=n(77217),u={};function c(t,r){return setTimeout(()=>{var r;let n=null===(r=(0,i._getStatsigGlobal)())||void 0===r?void 0:r.instance(t);n&&n.$emt({name:"session_expired"})},r)}function d(t){return`statsig.session_id.${(0,o._getStorageKey)(t)}`}r.SessionID={get:t=>r.StatsigSession.get(t).data.sessionID},r.StatsigSession={get:t=>(null==u[t]&&(u[t]=function(t){let r=function(t){let r=d(t);return(0,s._getObjectFromStorage)(r)}(t),n=Date.now();return r||(r={sessionID:(0,l.getUUID)(),startTime:n,lastUpdate:n}),{data:r,sdkKey:t}}(t)),function(t){let r=Date.now(),n=t.data,i=t.sdkKey;if(function({lastUpdate:t}){return Date.now()-t>18e5}(n)||function({startTime:t}){return Date.now()-t>144e5}(n)){n.sessionID=(0,l.getUUID)(),n.startTime=r;let t=null==__STATSIG__?void 0:__STATSIG__.instance(i);t&&t.$emt({name:"session_expired"})}n.lastUpdate=r,function(t,r){let n=d(r);try{(0,s._setObjectInStorage)(n,t)}catch(t){a.Log.warn("Failed to save SessionID")}}(n,t.sdkKey),clearTimeout(t.idleTimeoutID),clearTimeout(t.ageTimeoutID);let o=r-n.startTime;return t.idleTimeoutID=c(i,18e5),t.ageTimeoutID=c(i,144e5-o),t}(u[t])),overrideInitialSessionID:(t,r)=>{u[r]=function(t,r){let n=Date.now();return{data:{sessionID:t,startTime:n,lastUpdate:n},sdkKey:r}}(t,r)}}},14213:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.StableID=void 0;let i=n(49358),o=n(64113),a=n(9331),s=n(19413),l=n(77217),u={},c={},d={};function f(t){return`statsig.stable_id.${(0,i._getStorageKey)(t)}`}function h(t,r){let n=f(r);try{(0,s._setObjectInStorage)(n,t)}catch(t){o.Log.warn("Failed to save StableID to storage")}}function m(t,r){if(!c[r]||!document)return;let n=new Date;n.setFullYear(n.getFullYear()+1),document.cookie=`${g(r)}=${encodeURIComponent(t)}; expires=${n.toUTCString()}; path=/`}function g(t){return`statsig.stable_id.${(0,i._getStorageKey)(t)}`}r.StableID={cookiesEnabled:!1,randomID:Math.random().toString(36),get:t=>{if(d[t])return null;if(null!=u[t])return u[t];let r=null;return null!=(r=function(t){if(!c[t]||null==(0,a._getDocumentSafe)())return null;for(let r of document.cookie.split(";")){let[n,i]=r.trim().split("=");if(n===g(t))return decodeURIComponent(i)}return null}(t))?(u[t]=r,h(r,t)):(null==(r=function(t){let r=f(t);return(0,s._getObjectFromStorage)(r)}(t))&&(r=(0,l.getUUID)()),h(r,t),m(r,t),u[t]=r),r},setOverride:(t,r)=>{u[r]=t,h(t,r),m(t,r)},_setCookiesEnabled:(t,r)=>{c[t]=r},_setDisabled:(t,r)=>{d[t]=r}}},68592:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.StatsigClientBase=void 0,n(25980);let o=n(25980),a=n(57034),s=n(21386),l=n(64113),u=n(58361),c=n(9331),d=n(52937),f=n(14213),h=n(90639),m=n(19413);let StatsigClientBase=class StatsigClientBase{constructor(t,r,n,i){var u,h,g,y;this.loadingStatus="Uninitialized",this._initializePromise=null,this._listeners={};let v=this.$emt.bind(this);(null==i?void 0:i.logLevel)!=null&&(l.Log.level=i.logLevel),(null==i?void 0:i.disableStorage)&&m.Storage._setDisabled(!0),(null==i?void 0:i.initialSessionID)&&d.StatsigSession.overrideInitialSessionID(i.initialSessionID,t),(null==i?void 0:i.storageProvider)&&m.Storage._setProvider(i.storageProvider),(null==i?void 0:i.enableCookies)&&f.StableID._setCookiesEnabled(t,i.enableCookies),(null==i?void 0:i.disableStableID)&&f.StableID._setDisabled(t,!0),this._sdkKey=t,this._options=null!=i?i:{},this._memoCache={},this.overrideAdapter=null!==(u=null==i?void 0:i.overrideAdapter)&&void 0!==u?u:null,this._logger=new s.EventLogger(t,v,n,i),this._errorBoundary=new a.ErrorBoundary(t,i,v),this._errorBoundary.wrap(this),this._errorBoundary.wrap(r),this._errorBoundary.wrap(this._logger),n.setErrorBoundary(this._errorBoundary),this.dataAdapter=r,this.dataAdapter.attach(t,i,n),this.storageProvider=m.Storage,null===(y=null===(g=null===(h=this.overrideAdapter)||void 0===h?void 0:h.loadFromStorage)||void 0===g?void 0:g.call(h))||void 0===y||y.catch(t=>this._errorBoundary.logError("OA::loadFromStorage",t)),this._primeReadyRipcord(),function(t,r){var n;if((0,c._isServerEnv)())return;let i=(0,o._getStatsigGlobal)(),a=null!==(n=i.instances)&&void 0!==n?n:{};null!=a[t]&&l.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),a[t]=r,i.firstInstance||(i.firstInstance=r),i.instances=a,__STATSIG__=i}(t,this)}updateRuntimeOptions(t){t.loggingEnabled?(this._options.loggingEnabled=t.loggingEnabled,this._logger.setLoggingEnabled(t.loggingEnabled)):null!=t.disableLogging&&(this._options.disableLogging=t.disableLogging,this._logger.setLoggingEnabled(t.disableLogging?"disabled":"browser-only")),null!=t.disableStorage&&(this._options.disableStorage=t.disableStorage,m.Storage._setDisabled(t.disableStorage)),null!=t.enableCookies&&(this._options.enableCookies=t.enableCookies,f.StableID._setCookiesEnabled(this._sdkKey,t.enableCookies)),t.logEventCompressionMode?this._logger.setLogEventCompressionMode(t.logEventCompressionMode):t.disableCompression&&this._logger.setLogEventCompressionMode(h.LogEventCompressionMode.Disabled)}flush(){return this._logger.flush()}shutdown(){return i(this,void 0,void 0,function*(){this.$emt({name:"pre_shutdown"}),this._setStatus("Uninitialized",null),this._initializePromise=null,yield this._logger.stop()})}on(t,r){this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(r)}off(t,r){if(this._listeners[t]){let n=this._listeners[t].indexOf(r);-1!==n&&this._listeners[t].splice(n,1)}}$on(t,r){r.__isInternal=!0,this.on(t,r)}$emt(t){var r;let n=r=>{try{r(t)}catch(n){if(!0===r.__isInternal){this._errorBoundary.logError(`__emit:${t.name}`,n);return}l.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",t)}};this._listeners[t.name]&&this._listeners[t.name].forEach(t=>n(t)),null===(r=this._listeners["*"])||void 0===r||r.forEach(n)}_setStatus(t,r){this.loadingStatus=t,this._memoCache={},this.$emt({name:"values_updated",status:t,values:r})}_enqueueExposure(t,r,n){if((null==n?void 0:n.disableExposureLog)===!0){this._logger.incrementNonExposureCount(t);return}this._logger.enqueue(r)}_memoize(t,r){return(n,i)=>{if(this._options.disableEvaluationMemoization)return r(n,i);let o=(0,u.createMemoKey)(t,n,i);return o?(o in this._memoCache||(Object.keys(this._memoCache).length>=3e3&&(this._memoCache={}),this._memoCache[o]=r(n,i)),this._memoCache[o]):r(n,i)}}};r.StatsigClientBase=StatsigClientBase},21605:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ErrorTag=void 0,r.ErrorTag={NetworkError:"NetworkError"}},13907:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DataAdapterCachePrefix=void 0,r.DataAdapterCachePrefix="statsig.cached"},21934:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._createLayerParameterExposure=r._createConfigExposure=r._mapExposures=r._createGateExposure=r._isExposureEvent=void 0;let n="statsig::config_exposure",i="statsig::gate_exposure",o="statsig::layer_exposure",a=(t,r,n,i,o)=>(n.bootstrapMetadata&&(i.bootstrapMetadata=n.bootstrapMetadata),{eventName:t,user:r,value:null,metadata:l(n,i),secondaryExposures:o,time:Date.now()});function s(t,r){return t.map(t=>"string"==typeof t?(null!=r?r:{})[t]:t).filter(t=>null!=t)}r._isExposureEvent=({eventName:t})=>t===i||t===n||t===o,r._createGateExposure=(t,r,n)=>{var o,l,u;let c={gate:r.name,gateValue:String(r.value),ruleID:r.ruleID};return(null===(o=r.__evaluation)||void 0===o?void 0:o.version)!=null&&(c.configVersion=r.__evaluation.version),a(i,t,r.details,c,s(null!==(u=null===(l=r.__evaluation)||void 0===l?void 0:l.secondary_exposures)&&void 0!==u?u:[],n))},r._mapExposures=s,r._createConfigExposure=(t,r,i)=>{var o,l,u,c;let d={config:r.name,ruleID:r.ruleID};return(null===(o=r.__evaluation)||void 0===o?void 0:o.version)!=null&&(d.configVersion=r.__evaluation.version),(null===(l=r.__evaluation)||void 0===l?void 0:l.passed)!=null&&(d.rulePassed=String(r.__evaluation.passed)),a(n,t,r.details,d,s(null!==(c=null===(u=r.__evaluation)||void 0===u?void 0:u.secondary_exposures)&&void 0!==c?c:[],i))},r._createLayerParameterExposure=(t,r,n,i)=>{var l,u,c,d,f,h;let m=r.__evaluation,g=(null===(l=null==m?void 0:m.explicit_parameters)||void 0===l?void 0:l.includes(n))===!0,y="",v=null!==(u=null==m?void 0:m.undelegated_secondary_exposures)&&void 0!==u?u:[];g&&(y=null!==(c=m.allocated_experiment_name)&&void 0!==c?c:"",v=m.secondary_exposures);let b=null===(d=r.__evaluation)||void 0===d?void 0:d.parameter_rule_ids,_={config:r.name,parameterName:n,ruleID:null!==(f=null==b?void 0:b[n])&&void 0!==f?f:r.ruleID,allocatedExperiment:y,isExplicitParameter:String(g)};return(null===(h=r.__evaluation)||void 0===h?void 0:h.version)!=null&&(_.configVersion=r.__evaluation.version),a(o,t,r.details,_,s(v,i))};let l=(t,r)=>(r.reason=t.reason,t.lcut&&(r.lcut=String(t.lcut)),t.receivedAt&&(r.receivedAt=String(t.receivedAt)),r)},67096:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.StatsigMetadataProvider=r.SDK_VERSION=void 0,r.SDK_VERSION="3.17.1";let n={sdkVersion:r.SDK_VERSION,sdkType:"js-mono"};r.StatsigMetadataProvider={get:()=>n,add:t=>{n=Object.assign(Object.assign({},n),t)}}},90639:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.LoggingEnabledOption=r.LogEventCompressionMode=void 0,r.LogEventCompressionMode={Disabled:"d",Enabled:"e",Forced:"f"},r.LoggingEnabledOption={disabled:"disabled",browserOnly:"browser-only",always:"always"}},12214:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},90087:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._makeTypedGet=r._mergeOverride=r._makeLayer=r._makeExperiment=r._makeDynamicConfig=r._makeFeatureGate=void 0;let i=n(64113),o=n(33924);function a(t,r,n,i){var o;return{name:t,details:r,ruleID:null!==(o=null==n?void 0:n.rule_id)&&void 0!==o?o:"",__evaluation:n,value:i}}function s(t,r,n){var i;let o=null!==(i=null==n?void 0:n.value)&&void 0!==i?i:{};return Object.assign(Object.assign({},a(t,r,n,o)),{get:l(t,null==n?void 0:n.value)})}function l(t,r,n){return(a,s)=>{var l;let u=null!==(l=null==r?void 0:r[a])&&void 0!==l?l:null;return null==u?null!=s?s:null:null==s||(0,o._isTypeMatch)(u,s)?(null==n||n(a),u):(i.Log.warn(`Parameter type mismatch. '${t}.${a}' was found to be type '${typeof u}' but fallback/return type is '${typeof s}'. See https://docs.statsig.com/client/javascript-sdk/#typed-getters`),null!=s?s:null)}}r._makeFeatureGate=function(t,r,n){var i;return Object.assign(Object.assign({},a(t,r,n,(null==n?void 0:n.value)===!0)),{idType:null!==(i=null==n?void 0:n.id_type)&&void 0!==i?i:null})},r._makeDynamicConfig=s,r._makeExperiment=function(t,r,n){var i;return Object.assign(Object.assign({},s(t,r,n)),{groupName:null!==(i=null==n?void 0:n.group_name)&&void 0!==i?i:null})},r._makeLayer=function(t,r,n,i){var o,s;return Object.assign(Object.assign({},a(t,r,n,void 0)),{get:l(t,null==n?void 0:n.value,i),groupName:null!==(o=null==n?void 0:n.group_name)&&void 0!==o?o:null,__value:null!==(s=null==n?void 0:n.value)&&void 0!==s?s:{}})},r._mergeOverride=function(t,r,n,i){return Object.assign(Object.assign(Object.assign({},t),r),{get:l(t.name,n,i)})},r._makeTypedGet=l},28435:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},25311:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.UPDATE_DETAIL_ERROR_MESSAGES=r.createUpdateDetails=void 0,r.createUpdateDetails=(t,r,n,i,o,a)=>({duration:n,source:r,success:t,error:i,sourceUrl:o,warnings:a}),r.UPDATE_DETAIL_ERROR_MESSAGES={NO_NETWORK_DATA:"No data was returned from the network. This may be due to a network timeout if a timeout value was specified in the options or ad blocker error."}},4039:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getFullUserHash=r._normalizeUser=void 0;let i=n(87125),o=n(64113);r._normalizeUser=function(t,r,n){try{let i=JSON.parse(JSON.stringify(t));return null!=r&&null!=r.environment?i.statsigEnvironment=r.environment:null!=n&&(i.statsigEnvironment={tier:n}),i}catch(t){return o.Log.error("Failed to JSON.stringify user"),{statsigEnvironment:void 0}}},r._getFullUserHash=function(t){return t?(0,i._DJB2Object)(t):null}},19413:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._setObjectInStorage=r._getObjectFromStorage=r.Storage=void 0;let i=n(64113),o=n(9331),a={},s={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"InMemory",getItem:t=>a[t]?a[t]:null,setItem:(t,r)=>{a[t]=r},removeItem:t=>{delete a[t]},getAllKeys:()=>Object.keys(a)},l=null;try{let t=(0,o._getWindowSafe)();t&&t.localStorage&&"function"==typeof t.localStorage.getItem&&(l={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"LocalStorage",getItem:r=>t.localStorage.getItem(r),setItem:(r,n)=>t.localStorage.setItem(r,n),removeItem:r=>t.localStorage.removeItem(r),getAllKeys:()=>Object.keys(t.localStorage)})}catch(t){i.Log.warn("Failed to setup localStorageProvider.")}let u=null!=l?l:s,c=u;function d(t){try{return t()}catch(t){if(t instanceof Error&&"SecurityError"===t.name)return r.Storage._setProvider(s),null;if(t instanceof Error&&"QuotaExceededError"===t.name){let n=r.Storage.getAllKeys().filter(t=>t.startsWith("statsig."));t.message=`${t.message}. Statsig Keys: ${n.length}`}throw t}}r.Storage={isReady:()=>c.isReady(),isReadyResolver:()=>c.isReadyResolver(),getProviderName:()=>c.getProviderName(),getItem:t=>d(()=>c.getItem(t)),setItem:(t,r)=>d(()=>c.setItem(t,r)),removeItem:t=>c.removeItem(t),getAllKeys:()=>c.getAllKeys(),_setProvider:t=>{u=t,c=t},_setDisabled:t=>{c=t?s:u}},r._getObjectFromStorage=function(t){let n=r.Storage.getItem(t);return JSON.parse(null!=n?n:"null")},r._setObjectInStorage=function(t,n){r.Storage.setItem(t,JSON.stringify(n))}},62641:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._typedJsonParse=void 0;let i=n(64113);r._typedJsonParse=function(t,r,n){try{let n=JSON.parse(t);if(n&&"object"==typeof n&&r in n)return n}catch(t){}return i.Log.error(`Failed to parse ${n}`),null}},33924:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._isTypeMatch=r._typeOf=void 0,r._typeOf=function(t){return Array.isArray(t)?"array":typeof t},r._isTypeMatch=function(t,r){let n=t=>Array.isArray(t)?"array":typeof t;return n(t)===n(r)}},77217:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getUUID=void 0,r.getUUID=function(){if("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID();let t=new Date().getTime(),r="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0,n="89ab"[Math.floor(4*Math.random())];return`xxxxxxxx-xxxx-4xxx-${n}xxx-xxxxxxxxxxxx`.replace(/[xy]/g,n=>{let i=16*Math.random();return t>0?(i=(t+i)%16|0,t=Math.floor(t/16)):(i=(r+i)%16|0,r=Math.floor(r/16)),("x"===n?i:7&i|8).toString(16)})}},11232:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.UrlConfiguration=void 0;let i=n(87125),o=n(47132),a={[o.Endpoint._initialize]:"i",[o.Endpoint._rgstr]:"e",[o.Endpoint._download_config_specs]:"d"};let UrlConfiguration=class UrlConfiguration{constructor(t,r,n,i){this.customUrl=null,this.fallbackUrls=null,this.endpoint=t,this.endpointDnsKey=a[t],r&&(this.customUrl=r),!r&&n&&(this.customUrl=n.endsWith("/")?`${n}${t}`:`${n}/${t}`),i&&(this.fallbackUrls=i);let s=o.NetworkDefault[t];this.defaultUrl=`${s}/${t}`}getUrl(){var t;return null!==(t=this.customUrl)&&void 0!==t?t:this.defaultUrl}getChecksum(){var t;let r=(null!==(t=this.fallbackUrls)&&void 0!==t?t:[]).sort().join(",");return(0,i._DJB2)(this.customUrl+r)}};r.UrlConfiguration=UrlConfiguration},21649:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._notifyVisibilityChanged=r._subscribeToVisiblityChanged=r._isUnloading=r._isCurrentlyVisible=void 0;let i=n(9331),o="foreground",a="background",s=[],l=o,u=!1;r._isCurrentlyVisible=()=>l===o,r._isUnloading=()=>u,r._subscribeToVisiblityChanged=t=>{s.unshift(t)},r._notifyVisibilityChanged=t=>{t!==l&&(l=t,s.forEach(r=>r(t)))},(0,i._addWindowEventListenerSafe)("focus",()=>{u=!1,(0,r._notifyVisibilityChanged)(o)}),(0,i._addWindowEventListenerSafe)("blur",()=>(0,r._notifyVisibilityChanged)(a)),(0,i._addDocumentEventListenerSafe)("visibilitychange",()=>{(0,r._notifyVisibilityChanged)("visible"===document.visibilityState?o:a)}),(0,i._addWindowEventListenerSafe)((0,i._getUnloadEvent)(),()=>{u=!0,(0,r._notifyVisibilityChanged)(a)})},95387:function(t,r,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),o=this&&this.__exportStar||function(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||i(r,t,n)};Object.defineProperty(r,"__esModule",{value:!0}),r.Storage=r.Log=r.EventLogger=r.Diagnostics=void 0,n(25980);let a=n(25980),s=n(1640);Object.defineProperty(r,"Diagnostics",{enumerable:!0,get:function(){return s.Diagnostics}});let l=n(21386);Object.defineProperty(r,"EventLogger",{enumerable:!0,get:function(){return l.EventLogger}});let u=n(64113);Object.defineProperty(r,"Log",{enumerable:!0,get:function(){return u.Log}});let c=n(67096),d=n(19413);Object.defineProperty(r,"Storage",{enumerable:!0,get:function(){return d.Storage}}),o(n(25980),r),o(n(49358),r),o(n(71985),r),o(n(71506),r),o(n(1640),r),o(n(79290),r),o(n(57034),r),o(n(11662),r),o(n(58505),r),o(n(87125),r),o(n(21650),r),o(n(64113),r),o(n(58361),r),o(n(47132),r),o(n(32701),r),o(n(87439),r),o(n(52839),r),o(n(9331),r),o(n(95804),r),o(n(52937),r),o(n(14213),r),o(n(68592),r),o(n(21605),r),o(n(13907),r),o(n(21934),r),o(n(67096),r),o(n(90639),r),o(n(12214),r),o(n(90087),r),o(n(28435),r),o(n(4039),r),o(n(19413),r),o(n(62641),r),o(n(33924),r),o(n(11232),r),o(n(77217),r),o(n(21649),r),o(n(25311),r),o(n(28778),r),Object.assign((0,a._getStatsigGlobal)(),{Log:u.Log,SDK_VERSION:c.SDK_VERSION})},19341:function(t,r,n){"use strict";var i=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.LocalOverrideAdapter=void 0;let o=n(95387),a="LocalOverride:Recognized";function s(){return{gate:{},dynamicConfig:{},experiment:{},layer:{}}}let LocalOverrideAdapter=class LocalOverrideAdapter{constructor(t){this._overrides=s(),this._sdkKey=null!=t?t:null}_getLocalOverridesStorageKey(t){return`statsig.local-overrides.${(0,o._getStorageKey)(t)}`}loadFromStorage(){return i(this,void 0,void 0,function*(){if(null==this._sdkKey)return;o.Storage.isReady()||(yield o.Storage.isReadyResolver());let t=this._getLocalOverridesStorageKey(this._sdkKey),r=o.Storage.getItem(t),n=r?(0,o._typedJsonParse)(r,"gate","LocalOverrideAdapter overrides"):null,i=this._hasInMemoryOverrides();if(n){var a;this._overrides=i?(a=this._overrides,{gate:Object.assign({},n.gate,a.gate),dynamicConfig:Object.assign({},n.dynamicConfig,a.dynamicConfig),experiment:Object.assign({},n.experiment,a.experiment),layer:Object.assign({},n.layer,a.layer)}):n}i&&this._saveOverridesToStorage()})}_saveOverridesToStorage(){if(null==this._sdkKey||!o.Storage.isReady())return;let t=this._getLocalOverridesStorageKey(this._sdkKey);o.Storage.setItem(t,JSON.stringify(this._overrides))}overrideGate(t,r){this._overrides.gate[t]=r,this._overrides.gate[(0,o._DJB2)(t)]=r,this._saveOverridesToStorage()}_warnIfStorageNotReady(){o.Storage.isReady()||o.Log.warn("Storage is not ready. Override removal may not persist.")}removeGateOverride(t){this._warnIfStorageNotReady(),delete this._overrides.gate[t],delete this._overrides.gate[(0,o._DJB2)(t)],this._saveOverridesToStorage()}getGateOverride(t,r){var n;let i=null!==(n=this._overrides.gate[t.name])&&void 0!==n?n:this._overrides.gate[(0,o._DJB2)(t.name)];return null==i?null:Object.assign(Object.assign({},t),{value:i,details:Object.assign(Object.assign({},t.details),{reason:a})})}overrideDynamicConfig(t,r){this._overrides.dynamicConfig[t]=r,this._overrides.dynamicConfig[(0,o._DJB2)(t)]=r,this._saveOverridesToStorage()}removeDynamicConfigOverride(t){this._warnIfStorageNotReady(),delete this._overrides.dynamicConfig[t],delete this._overrides.dynamicConfig[(0,o._DJB2)(t)],this._saveOverridesToStorage()}getDynamicConfigOverride(t,r){return this._getConfigOverride(t,this._overrides.dynamicConfig)}overrideExperiment(t,r){this._overrides.experiment[t]=r,this._overrides.experiment[(0,o._DJB2)(t)]=r,this._saveOverridesToStorage()}removeExperimentOverride(t){this._warnIfStorageNotReady(),delete this._overrides.experiment[t],delete this._overrides.experiment[(0,o._DJB2)(t)],this._saveOverridesToStorage()}getExperimentOverride(t,r){return this._getConfigOverride(t,this._overrides.experiment)}overrideLayer(t,r){this._overrides.layer[t]=r,this._overrides.layer[(0,o._DJB2)(t)]=r,this._saveOverridesToStorage()}removeLayerOverride(t){this._warnIfStorageNotReady(),delete this._overrides.layer[t],delete this._overrides.layer[(0,o._DJB2)(t)],this._saveOverridesToStorage()}getAllOverrides(){return JSON.parse(JSON.stringify(this._overrides))}removeAllOverrides(){this._warnIfStorageNotReady(),this._overrides=s(),this._saveOverridesToStorage()}getLayerOverride(t,r){var n;let i=null!==(n=this._overrides.layer[t.name])&&void 0!==n?n:this._overrides.layer[(0,o._DJB2)(t.name)];return null==i?null:Object.assign(Object.assign({},t),{__value:i,get:(0,o._makeTypedGet)(t.name,i),details:Object.assign(Object.assign({},t.details),{reason:a})})}_getConfigOverride(t,r){var n;let i=null!==(n=r[t.name])&&void 0!==n?n:r[(0,o._DJB2)(t.name)];return null==i?null:Object.assign(Object.assign({},t),{value:i,get:(0,o._makeTypedGet)(t.name,i),details:Object.assign(Object.assign({},t.details),{reason:a})})}_hasInMemoryOverrides(){return Object.keys(this._overrides.gate).length>0||Object.keys(this._overrides.dynamicConfig).length>0||Object.keys(this._overrides.experiment).length>0||Object.keys(this._overrides.layer).length>0}};r.LocalOverrideAdapter=LocalOverrideAdapter},21413:function(t,r,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),o=this&&this.__exportStar||function(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||i(r,t,n)};Object.defineProperty(r,"__esModule",{value:!0}),o(n(19341),r)},93868:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isNoopClient=r.NoopEvaluationsClient=void 0;let i=n(54408),o={success:!1,error:Error("NoClient"),duration:0,source:"Uninitialized",sourceUrl:null},a=()=>{},s=()=>o,l=()=>Promise.resolve(),u=()=>Promise.resolve(o),c={reason:"Error:NoClient"},d=t=>(...r)=>{let n="string"==typeof r[0]?r[0]:r[1];switch(t){case"gate":return(0,i._makeFeatureGate)(n,c,null);case"config":return(0,i._makeDynamicConfig)(n,c,null);case"layer":return(0,i._makeLayer)(n,c,null);case"param_store":return{name:n}}},f={sdkKey:"",options:{},values:null,user:{userID:""},errorBoundary:{},session:{data:{sessionID:"",startTime:0,lastUpdate:0},sdkKey:""},stableID:"",storageProvider:i.Storage};r.NoopEvaluationsClient={isNoop:!0,loadingStatus:"Uninitialized",initializeSync:s,initializeAsync:u,shutdown:l,flush:l,updateRuntimeOptions:a,updateUserSync:s,updateUserAsync:u,getContext:()=>Object.assign({},f),checkGate:()=>!1,getFeatureGate:d("gate"),getDynamicConfig:d("config"),getExperiment:d("config"),getLayer:d("layer"),getParameterStore:d("param_store"),logEvent:a,on:a,off:a,$on:a,$emt:a,dataAdapter:{attach:a,getDataSync:()=>null,getDataAsync:()=>Promise.resolve(null),setData:a,setDataLegacy:a,prefetchData:l}},r.isNoopClient=function(t){return"isNoop"in t}},33518:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let i=n(2784),o=n(93868);r.default=(0,i.createContext)({renderVersion:0,client:o.NoopEvaluationsClient})},88775:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.StatsigProvider=void 0;let i=n(52322),o=n(2784),a=n(54408),s=n(33518),l=n(5662);r.StatsigProvider=function(t){var r;let[n,u]=(0,o.useState)(0),c="client"in t?t.client:(0,l.useClientAsyncInit)(t.sdkKey,t.user,t.options).client;(0,o.useEffect)(()=>{let t=()=>{u(t=>t+1)};return a.SDKType._setBindingType("react"),c.$on("values_updated",t),()=>{c.flush().catch(t=>a.Log.error("An error occured during flush",t)),c.off("values_updated",t)}},[c]);let d=(0,o.useMemo)(()=>({renderVersion:n,client:c}),[n,c]);return(0,i.jsx)(s.default.Provider,{value:d,children:null==t.loadingComponent||"isNoop"in(r=c)||"Ready"===r.loadingStatus?t.children:t.loadingComponent})}},37968:function(t,r,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),o=this&&this.__exportStar||function(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||i(r,t,n)};Object.defineProperty(r,"__esModule",{value:!0}),r.useStatsigUser=r.useStatsigInternalClientFactoryBootstrap=r.useStatsigInternalClientFactoryAsync=r.useStatsigClient=r.useParameterStore=r.useLayer=r.useGateValue=r.useFeatureGate=r.useExperiment=r.useDynamicConfig=r.useClientBootstrapInit=r.useClientAsyncInit=r.StatsigProvider=r.StatsigContext=void 0;let a=n(33518);r.StatsigContext=a.default;let s=n(88775);Object.defineProperty(r,"StatsigProvider",{enumerable:!0,get:function(){return s.StatsigProvider}});let l=n(5662);Object.defineProperty(r,"useClientAsyncInit",{enumerable:!0,get:function(){return l.useClientAsyncInit}});let u=n(52665);Object.defineProperty(r,"useClientBootstrapInit",{enumerable:!0,get:function(){return u.useClientBootstrapInit}});let c=n(58612);r.useDynamicConfig=c.default;let d=n(14274);r.useExperiment=d.default;let f=n(33530);r.useFeatureGate=f.default;let h=n(40659);r.useGateValue=h.default;let m=n(14718);r.useLayer=m.default;let g=n(2452);r.useParameterStore=g.default;let y=n(59738);Object.defineProperty(r,"useStatsigClient",{enumerable:!0,get:function(){return y.useStatsigClient}});let v=n(33059);Object.defineProperty(r,"useStatsigInternalClientFactoryAsync",{enumerable:!0,get:function(){return v.useStatsigInternalClientFactoryAsync}});let b=n(952);Object.defineProperty(r,"useStatsigInternalClientFactoryBootstrap",{enumerable:!0,get:function(){return b.useStatsigInternalClientFactoryBootstrap}});let _=n(41038);Object.defineProperty(r,"useStatsigUser",{enumerable:!0,get:function(){return _.useStatsigUser}}),o(n(86799),r),__STATSIG__=Object.assign(Object.assign({},null!=__STATSIG__?__STATSIG__:{}),{StatsigContext:a.default,StatsigProvider:s.StatsigProvider,useClientAsyncInit:l.useClientAsyncInit,useClientBootstrapInit:u.useClientBootstrapInit,useDynamicConfig:c.default,useExperiment:d.default,useFeatureGate:f.default,useGateValue:h.default,useLayer:m.default,useParameterStore:g.default,useStatsigClient:y.useStatsigClient,useStatsigInternalClientFactoryAsync:v.useStatsigInternalClientFactoryAsync,useStatsigInternalClientFactoryBootstrap:b.useStatsigInternalClientFactoryBootstrap,useStatsigUser:_.useStatsigUser})},5662:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.useClientAsyncInit=void 0;let i=n(86799),o=n(33059);r.useClientAsyncInit=function(t,r,n=null){return(0,o.useStatsigInternalClientFactoryAsync)(t=>new i.StatsigClient(t.sdkKey,t.initialUser,t.statsigOptions),{sdkKey:t,initialUser:r,statsigOptions:n})}},52665:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.useClientBootstrapInit=void 0;let i=n(86799),o=n(952);r.useClientBootstrapInit=function(t,r,n,a=null){return(0,o.useStatsigInternalClientFactoryBootstrap)(t=>new i.StatsigClient(t.sdkKey,t.initialUser,t.statsigOptions),{sdkKey:t,initialUser:r,initialValues:n,statsigOptions:a})}},58612:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let i=n(2784),o=n(54408),a=n(93868),s=n(33518);r.default=function(t,r){let{client:n,renderVersion:l}=(0,i.useContext)(s.default);return(0,i.useMemo)(()=>(0,a.isNoopClient)(n)?(o.Log.warn(`useDynamicConfig hook failed to find a valid StatsigClient for dynamic config '${t}'.`),a.NoopEvaluationsClient.getDynamicConfig(t,r)):n.getDynamicConfig(t,r),[t,n,l,...r?Object.values(r):[]])}},14274:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let i=n(2784),o=n(54408),a=n(93868),s=n(33518);r.default=function(t,r){let{client:n,renderVersion:l}=(0,i.useContext)(s.default);return(0,i.useMemo)(()=>(0,a.isNoopClient)(n)?(o.Log.warn(`useExperiment hook failed to find a valid Statsig client for experiment '${t}'.`),a.NoopEvaluationsClient.getExperiment(t,r)):n.getExperiment(t,r),[t,n,l,...r?Object.values(r):[]])}},33530:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let i=n(2784),o=n(54408),a=n(93868),s=n(33518);r.default=function(t,r){let{client:n,renderVersion:l}=(0,i.useContext)(s.default);return(0,i.useMemo)(()=>(0,a.isNoopClient)(n)?(o.Log.warn(`useFeatureGate hook failed to find a valid StatsigClient for gate '${t}'.`),a.NoopEvaluationsClient.getFeatureGate(t,r)):n.getFeatureGate(t,r),[t,n,l,...r?Object.values(r):[]])}},40659:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let i=n(2784),o=n(54408),a=n(93868),s=n(33518);r.default=function(t,r){let{client:n,renderVersion:l}=(0,i.useContext)(s.default);return(0,i.useMemo)(()=>(0,a.isNoopClient)(n)?(o.Log.warn(`useGateValue hook failed to find a valid StatsigClient for gate '${t}'.`),a.NoopEvaluationsClient.checkGate(t,r)):n.checkGate(t,r),[t,n,l,...r?Object.values(r):[]])}},14718:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let i=n(2784),o=n(54408),a=n(93868),s=n(33518);r.default=function(t,r){let{client:n,renderVersion:l}=(0,i.useContext)(s.default);return(0,i.useMemo)(()=>(0,a.isNoopClient)(n)?(o.Log.warn(`useLayer hook failed to find a valid Statsig client for layer '${t}'.`),a.NoopEvaluationsClient.getLayer(t,r)):n.getLayer(t,r),[t,n,l,...r?Object.values(r):[]])}},2452:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let i=n(2784),o=n(54408),a=n(93868),s=n(33518);r.default=function(t,r){let{client:n,renderVersion:l}=(0,i.useContext)(s.default);return(0,i.useMemo)(()=>(0,a.isNoopClient)(n)?(o.Log.warn(`useParameterStore hook failed to find a valid StatsigClient for parameter store '${t}'.`),a.NoopEvaluationsClient.getParameterStore(t,r)):n.getParameterStore(t,r),[t,n,l,...r?Object.values(r):[]])}},59738:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.useStatsigClient=void 0;let i=n(2784),o=n(54408),a=n(93868),s=n(33518);r.useStatsigClient=function(){let{client:t,renderVersion:r}=(0,i.useContext)(s.default),n=(0,i.useMemo)(()=>(0,a.isNoopClient)(t)?(o.Log.warn("Attempting to retrieve a StatsigClient but none was set."),a.NoopEvaluationsClient):t,[t,r]),l=[n,r],u=(0,i.useCallback)((t,r)=>n.checkGate(t,r),l),c=(0,i.useCallback)((t,r)=>n.getFeatureGate(t,r),l),d=(0,i.useCallback)((t,r)=>n.getDynamicConfig(t,r),l),f=(0,i.useCallback)((t,r)=>n.getExperiment(t,r),l),h=(0,i.useCallback)((t,r)=>n.getLayer(t,r),l),m=(0,i.useCallback)((t,r,i)=>"string"==typeof t?n.logEvent(t,r,i):n.logEvent(t),l);return(0,i.useMemo)(()=>({client:n,checkGate:u,getFeatureGate:c,getDynamicConfig:d,getExperiment:f,getLayer:h,logEvent:m}),[n,u,c,d,f,h,m])}},33059:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.useStatsigInternalClientFactoryAsync=void 0;let i=n(2784),o=n(54408);r.useStatsigInternalClientFactoryAsync=function(t,r){let[n,a]=(0,i.useState)(!0),s=(0,i.useRef)((0,o._getInstance)(r.sdkKey));return{client:(0,i.useMemo)(()=>{if(s.current)return s.current.initializeAsync().catch(o.Log.error).finally(()=>a(!1)),s.current;let n=t(r);return s.current=n,n.initializeAsync().catch(o.Log.error).finally(()=>a(!1)),n},[]),isLoading:n}}},952:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.useStatsigInternalClientFactoryBootstrap=void 0;let i=n(2784),o=n(54408);r.useStatsigInternalClientFactoryBootstrap=function(t,r){let n=(0,i.useRef)((0,o._getInstance)(r.sdkKey));return(0,i.useMemo)(()=>{if(n.current)return n.current;let i=t(r);return n.current=i,i.dataAdapter.setData(r.initialValues),i.initializeSync(),i},[])}},41038:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.useStatsigUser=void 0;let i=n(2784),o=n(33518),a=n(59738);r.useStatsigUser=function(){let{client:t}=(0,a.useStatsigClient)(),{renderVersion:r}=(0,i.useContext)(o.default),n=[t,r],s=(0,i.useMemo)(()=>t.getContext().user,n);return{user:s,updateUserSync:(0,i.useCallback)(r=>("function"==typeof r&&(r=r(s)),t.updateUserSync(r)),n),updateUserAsync:(0,i.useCallback)(r=>("function"==typeof r&&(r=r(s)),t.updateUserAsync(r)),n)}}},7864:function(t,r,n){"use strict";n.d(r,{BX:()=>tU,jQ:()=>es});var i,o,a,s=n(21112),l=Object.prototype.toString;function u(t){return"function"==typeof t||"[object Function]"===l.call(t)}function c(t,r){var n,i,o=Array,a=Object(t);if(null==t)throw TypeError("Array.from requires an array-like object - not null or undefined");if(void 0!==r&&!u(r))throw TypeError("Array.from: when provided, the second argument must be a function");for(var s=Math.min(Math.max(isNaN(n=Number(a.length))?0:0!==n&&isFinite(n)?(n>0?1:-1)*Math.floor(Math.abs(n)):n,0),0x1fffffffffffff),l=u(o)?Object(new o(s)):Array(s),c=0;c<s;)i=a[c],r?l[c]=r(i,c):l[c]=i,c+=1;return l.length=s,l}function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t){var r=function(t,r){if("object"!==d(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!==d(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"===d(r)?r:String(r)}var h=function(){var t;function r(){var t,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!(this instanceof r))throw TypeError("Cannot call a class as a function");n=void 0,(t=f(t="items"))in this?Object.defineProperty(this,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[t]=n,this.items=i}return t=[{key:"add",value:function(t){return!1===this.has(t)&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(r){return r!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return -1!==this.items.indexOf(t)}},{key:"size",get:function(){return this.items.length}}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,f(i.key),i)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();let m="undefined"==typeof Set?Set:h;function g(t){var r;return null!==(r=t.localName)&&void 0!==r?r:t.tagName.toLowerCase()}var y={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},v={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function b(t,r){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(n){var i;return t.hasAttribute(n)&&!(null!==(i=v[r])&&void 0!==i&&i.has(n))})}function _(t){return null!==t&&t.nodeType===t.ELEMENT_NODE}function w(t){return _(t)&&"caption"===g(t)}function S(t){return _(t)&&"input"===g(t)}function x(t,r){if(_(t)&&t.hasAttribute(r)){var n=t.getAttribute(r).split(" "),i=t.getRootNode?t.getRootNode():t.ownerDocument;return n.map(function(t){return i.getElementById(t)}).filter(function(t){return null!==t})}return[]}function E(t,r){return!!_(t)&&-1!==r.indexOf(function(t){var r=function(t){var r=t.getAttribute("role");if(null!==r){var n=r.trim().split(" ")[0];if(n.length>0)return n}return null}(t);if(null===r||"presentation"===r){var n=function(t){var r=y[g(t)];if(void 0!==r)return r;switch(g(t)){case"a":case"area":case"link":if(t.hasAttribute("href"))return"link";break;case"img":if(""===t.getAttribute("alt")&&!b(t,"img"))return"presentation";return"img";case"input":var n=t.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":if(t.hasAttribute("list"))return"combobox";return"textbox";case"search":if(t.hasAttribute("list"))return"combobox";return"searchbox";case"number":return"spinbutton";default:return null}case"select":if(t.hasAttribute("multiple")||t.size>1)return"listbox";return"combobox"}return null}(t);if("presentation"!==r||b(t,n||""))return n}return r}(t))}function k(t,r){if(!_(t))return!1;if("range"===r)return E(t,["meter","progressbar","scrollbar","slider","spinbutton"]);throw TypeError("No knowledge about abstract role '".concat(r,"'. This is likely a bug :("))}function C(t,r){var n=c(t.querySelectorAll(r));return x(t,"aria-owns").forEach(function(t){n.push.apply(n,c(t.querySelectorAll(r)))}),n}function O(t){var r=t.getPropertyValue("content");return/^["'].*["']$/.test(r)?r.slice(1,-1):""}function R(t){var r=g(t);return"button"===r||"input"===r&&"hidden"!==t.getAttribute("type")||"meter"===r||"output"===r||"progress"===r||"select"===r||"textarea"===r}function T(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new m,i=function(t){var r=(null===t.ownerDocument?t:t.ownerDocument).defaultView;if(null===r)throw TypeError("no window available");return r}(t),o=r.compute,a=void 0===o?"name":o,s=r.computedStyleSupportsPseudoElements,l=void 0===s?void 0!==r.getComputedStyle:s,u=r.getComputedStyle,d=void 0===u?i.getComputedStyle.bind(i):u,f=r.hidden,h=void 0!==f&&f;function y(t,r){var n,i="";if(_(t)&&l){var o=O(d(t,"::before"));i="".concat(o," ").concat(i)}if((_(t)&&"slot"===g(t)?0===(n=t.assignedNodes()).length?c(t.childNodes):n:c(t.childNodes).concat(x(t,"aria-owns"))).forEach(function(t){var n=b(t,{isEmbeddedInLabel:r.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),o="inline"!==(_(t)?d(t).getPropertyValue("display"):"inline")?" ":"";i+="".concat(o).concat(n).concat(o)}),_(t)&&l){var a=O(d(t,"::after"));i="".concat(i," ").concat(a)}return i.trim()}function v(t,r){var i=t.getAttributeNode(r);return null===i||n.has(i)||""===i.value.trim()?null:(n.add(i),i.value)}function b(t,r){if(n.has(t))return"";if(!h&&function(t,r){if(!_(t))return!1;if(t.hasAttribute("hidden")||"true"===t.getAttribute("aria-hidden"))return!0;var n=r(t);return"none"===n.getPropertyValue("display")||"hidden"===n.getPropertyValue("visibility")}(t,d)&&!r.isReferenced)return n.add(t),"";var i=_(t)?t.getAttributeNode("aria-labelledby"):null,o=null===i||n.has(i)?[]:x(t,"aria-labelledby");if("name"===a&&!r.isReferenced&&o.length>0)return n.add(i),o.map(function(t){return b(t,{isEmbeddedInLabel:r.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var s=r.recursion&&(E(t,["button","combobox","listbox","textbox"])||k(t,"range"))&&"name"===a;if(!s){var l=(_(t)&&t.getAttribute("aria-label")||"").trim();if(""!==l&&"name"===a)return n.add(t),l;if(!E(t,["none","presentation"])){var u=function(t){if(!_(t))return null;if(_(t)&&"fieldset"===g(t)){n.add(t);for(var r,i=c(t.childNodes),o=0;o<i.length;o+=1){var a=i[o];if(_(a)&&"legend"===g(a))return b(a,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(_(t)&&"table"===g(t)){n.add(t);for(var s=c(t.childNodes),l=0;l<s.length;l+=1){var u=s[l];if(w(u))return b(u,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(_(t)&&"svg"===g(t)){n.add(t);for(var d=c(t.childNodes),f=0;f<d.length;f+=1){var h=d[f];if(function(t){return _(t)&&void 0!==t.ownerSVGElement&&"title"===g(t)}(h))return h.textContent}return null}else if("img"===g(t)||"area"===g(t)){var m=v(t,"alt");if(null!==m)return m}else if(_(t)&&"optgroup"===g(t)){var x=v(t,"label");if(null!==x)return x}if(S(t)&&("button"===t.type||"submit"===t.type||"reset"===t.type)){var k=v(t,"value");if(null!==k)return k;if("submit"===t.type)return"Submit";if("reset"===t.type)return"Reset"}var C=null===(r=t.labels)?r:void 0!==r?c(r):R(t)?c(t.ownerDocument.querySelectorAll("label")).filter(function(r){return function(t){if(void 0!==t.control)return t.control;var r=t.getAttribute("for");return null!==r?t.ownerDocument.getElementById(r):function t(r){if(R(r))return r;var n=null;return r.childNodes.forEach(function(r){if(null===n&&_(r)){var i=t(r);null!==i&&(n=i)}}),n}(t)}(r)===t}):null;if(null!==C&&0!==C.length)return n.add(t),c(C).map(function(t){return b(t,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(t){return t.length>0}).join(" ");if(S(t)&&"image"===t.type){var O=v(t,"alt");if(null!==O)return O;var T=v(t,"title");return null!==T?T:"Submit Query"}if(E(t,["button"])){var P=y(t,{isEmbeddedInLabel:!1,isReferenced:!1});if(""!==P)return P}return null}(t);if(null!==u)return n.add(t),u}}if(E(t,["menu"]))return n.add(t),"";if(s||r.isEmbeddedInLabel||r.isReferenced){if(E(t,["combobox","listbox"])){n.add(t);var f=_(t)&&"select"===g(t)?t.selectedOptions||C(t,"[selected]"):C(t,'[aria-selected="true"]');return 0===f.length?S(t)?t.value:"":c(f).map(function(t){return b(t,{isEmbeddedInLabel:r.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(k(t,"range"))return(n.add(t),t.hasAttribute("aria-valuetext"))?t.getAttribute("aria-valuetext"):t.hasAttribute("aria-valuenow")?t.getAttribute("aria-valuenow"):t.getAttribute("value")||"";if(E(t,["textbox"]))return n.add(t),S(t)||_(t)&&"textarea"===g(t)?t.value:t.textContent||""}if(E(t,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])||_(t)&&r.isReferenced||w(t)){var m=y(t,{isEmbeddedInLabel:r.isEmbeddedInLabel,isReferenced:!1});if(""!==m)return n.add(t),m}if(t.nodeType===t.TEXT_NODE)return n.add(t),t.textContent||"";if(r.recursion)return n.add(t),y(t,{isEmbeddedInLabel:r.isEmbeddedInLabel,isReferenced:!1});var O=_(t)?v(t,"title"):null;return null!==O?(n.add(t),O):(n.add(t),"")}return b(t,{isEmbeddedInLabel:!1,isReferenced:"description"===a,recursion:!1}).trim().replace(/\s\s+/g," ")}function P(t){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function I(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?M(Object(n),!0).forEach(function(r){var i,o,a;i=t,o=r,a=n[r],(o=function(t){var r=function(t,r){if("object"!==P(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!==P(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"===P(r)?r:String(r)}(o))in i?Object.defineProperty(i,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function A(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=x(t,"aria-describedby").map(function(t){return T(t,I(I({},r),{},{compute:"description"}))}).join(" ");if(""===n){var i=t.getAttribute("title");n=null===i?"":i}return n}function L(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return E(t,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])?"":T(t,r)}var N=n(1552),j=n(36954),D=n.n(j);function F(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;")}t=n.hmd(t);let B=(t,r,n,i,o,a,s)=>{let l=i+n.indent,u=n.colors;return t.map(t=>{let c=r[t],d=s(c,n,l,o,a);return"string"!=typeof c&&(-1!==d.indexOf("\n")&&(d=n.spacingOuter+l+d+n.spacingOuter+i),d="{"+d+"}"),n.spacingInner+i+u.prop.open+t+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},$=(t,r,n,i,o,a)=>t.map(t=>{let s="string"==typeof t?U(t,r):a(t,r,n,i,o);return""===s&&"object"==typeof t&&null!==t&&3!==t.nodeType?"":r.spacingOuter+n+s}).join(""),U=(t,r)=>{let n=r.colors.content;return n.open+F(t)+n.close},z=(t,r)=>{let n=r.colors.comment;return n.open+"\x3c!--"+F(t)+"--\x3e"+n.close},q=(t,r,n,i,o)=>{let a=i.colors.tag;return a.open+"<"+t+(r&&a.close+r+i.spacingOuter+o+a.open)+(n?">"+a.close+n+i.spacingOuter+o+a.open+"</"+t:(r&&!i.min?"":" ")+"/")+">"+a.close},Z=(t,r)=>{let n=r.colors.tag;return n.open+"<"+t+n.close+" \u2026"+n.open+" />"+n.close},H=/^((HTML|SVG)\w*)?Element$/,V=t=>{let r=t.constructor.name,{nodeType:n,tagName:i}=t,o="string"==typeof i&&i.includes("-")||"function"==typeof t.hasAttribute&&t.hasAttribute("is");return 1===n&&(H.test(r)||o)||3===n&&"Text"===r||8===n&&"Comment"===r||11===n&&"DocumentFragment"===r};function W(t){return 11===t.nodeType}let G=null,K=null,X=null;try{let r=t&&t.require;K=r.call(t,"fs").readFileSync,X=r.call(t,"@babel/code-frame").codeFrameColumns,G=r.call(t,"chalk")}catch{}function Y(){return"undefined"!=typeof jest&&null!==jest&&(!0===setTimeout._isMockFunction||Object.prototype.hasOwnProperty.call(setTimeout,"clock"))}function J(){if("undefined"==typeof window)throw Error("Could not find default container");return window.document}function Q(t){if(t.defaultView)return t.defaultView;if(t.ownerDocument&&t.ownerDocument.defaultView)return t.ownerDocument.defaultView;if(t.window)return t.window;if(t.ownerDocument&&null===t.ownerDocument.defaultView)throw Error("It looks like the window object is not available for the provided node.");if(t.then instanceof Function)throw Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?");else if(Array.isArray(t))throw Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?");else if("function"==typeof t.debug&&"function"==typeof t.logTestingPlaygroundURL)throw Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?");else throw Error("The given node is not an Element, the node type is: "+typeof t+".")}function ee(t){if(!t||"function"!=typeof t.querySelector||"function"!=typeof t.querySelectorAll){var r;throw TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+("object"==typeof(r=t)?null===r?"null":r.constructor.name:typeof r)+".")}}let et=()=>{let t;try{var r;t=JSON.parse(null==(r=process)||null==(r=r.env)?void 0:r.COLORS)}catch(t){}return"boolean"==typeof t?t:"undefined"!=typeof process&&void 0!==process.versions&&void 0!==process.versions.node},{DOMCollection:er}=s.plugins;function en(t){return 8!==t.nodeType&&(1!==t.nodeType||!t.matches(ea.defaultIgnore))}function ei(t,r,n){if(void 0===n&&(n={}),t||(t=J().body),"number"!=typeof r&&(r=7e3),0===r)return"";t.documentElement&&(t=t.documentElement);let i=typeof t;if("object"===i?i=t.constructor.name:t={},!("outerHTML"in t))throw TypeError("Expected an element or document but got "+i);let{filterNode:o=en,...a}=n,l=s.format(t,{plugins:[{test:t=>{var r;return(null==t||null==(r=t.constructor)?void 0:r.name)&&V(t)},serialize:(t,r,n,i,a,s)=>{if(3===t.nodeType)return U(t.data,r);if(8===t.nodeType)return z(t.data,r);let l=W(t)?"DocumentFragment":t.tagName.toLowerCase();return++i>r.maxDepth?Z(l,r):q(l,B(W(t)?[]:Array.from(t.attributes).map(t=>t.name).sort(),W(t)?{}:Array.from(t.attributes).reduce((t,r)=>(t[r.name]=r.value,t),{}),r,n+r.indent,i,a,s),$(Array.prototype.slice.call(t.childNodes||t.children).filter(o),r,n+r.indent,i,a,s),r,n)}},er],printFunctionName:!1,highlight:et(),...a});return void 0!==r&&t.outerHTML.length>r?l.slice(0,r)+"...":l}let eo=function(){let t=K&&X?function(t){let r=t.indexOf("(")+1,n=t.indexOf(")"),i=t.slice(r,n),o=i.split(":"),[a,s,l]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],u="";try{u=K(a,"utf-8")}catch{return""}let c=X(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return G.dim(i)+"\n"+c+"\n"}(Error().stack.split("\n").slice(1).find(t=>!t.includes("node_modules/"))):"";t?console.log(ei(...arguments)+"\n\n"+t):console.log(ei(...arguments))},ea={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:t=>t(),unstable_advanceTimersWrapper:t=>t(),eventWrapper:t=>t(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(t,r){let n=ei(r),i=Error([t,"Ignored nodes: comments, "+ea.defaultIgnore+"\n"+n].filter(Boolean).join("\n\n"));return i.name="TestingLibraryElementError",i},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function es(t){"function"==typeof t&&(t=t(ea)),ea={...ea,...t}}let el=["button","meter","output","progress","select","textarea","input"];function eu(t){let r;return"label"===t.tagName.toLowerCase()?function t(r){return el.includes(r.nodeName.toLowerCase())?"":3===r.nodeType?r.textContent:Array.from(r.childNodes).map(r=>t(r)).join("")}(t):t.value||t.textContent}function ec(t){var r,n;if(void 0!==t.labels){return null!=(r=t.labels)?r:[]}return(n=t,/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(n.tagName)||"INPUT"===n.tagName&&"hidden"!==n.getAttribute("type"))?Array.from(t.ownerDocument.querySelectorAll("label")).filter(r=>r.control===t):[]}function ed(t,r,n){let{selector:i="*"}=void 0===n?{}:n,o=r.getAttribute("aria-labelledby"),a=o?o.split(" "):[];return a.length?a.map(r=>{let n=t.querySelector('[id="'+r+'"]');return n?{content:eu(n),formControl:null}:{content:"",formControl:null}}):Array.from(ec(r)).map(t=>({content:eu(t),formControl:Array.from(t.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(t=>t.matches(i))[0]}))}function ep(t){if(null==t)throw Error("It looks like "+t+" was passed instead of a matcher. Did you do something like getByText("+t+")?")}function ef(t,r,n,i){if("string"!=typeof t)return!1;ep(n);let o=i(t);return"string"==typeof n||"number"==typeof n?o.toLowerCase().includes(n.toString().toLowerCase()):"function"==typeof n?n(o,r):ey(n,o)}function eh(t,r,n,i){if("string"!=typeof t)return!1;ep(n);let o=i(t);return n instanceof Function?n(o,r):n instanceof RegExp?ey(n,o):o===String(n)}function em(t){let{trim:r=!0,collapseWhitespace:n=!0}=void 0===t?{}:t;return t=>{let i=t;return i=r?i.trim():i,i=n?i.replace(/\s+/g," "):i}}function eg(t){let{trim:r,collapseWhitespace:n,normalizer:i}=t;if(!i)return em({trim:r,collapseWhitespace:n});if(void 0!==r||void 0!==n)throw Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return i}function ey(t,r){let n=t.test(r);return t.global&&0!==t.lastIndex&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),t.lastIndex=0),n}function ev(t){return t.matches("input[type=submit], input[type=button], input[type=reset]")?t.value:Array.from(t.childNodes).filter(t=>3===t.nodeType&&!!t.textContent).map(t=>t.textContent).join("")}let eb=function(t){let r=[];for(let[n,i]of t.entries())r=[...r,{match:function(t){let{attributes:r=[]}=t,n=r.findIndex(t=>t.value&&"type"===t.name&&"text"===t.value);n>=0&&(r=[...r.slice(0,n),...r.slice(n+1)]);let i=function(t){let{name:r,attributes:n}=t;return""+r+n.map(t=>{let{name:r,value:n,constraints:i=[]}=t;return -1!==i.indexOf("undefined")?":not(["+r+"])":n?"["+r+'="'+n+'"]':"["+r+"]"}).join("")}({...t,attributes:r});return t=>(!(n>=0)||"text"===t.type)&&t.matches(i)}(n),roles:Array.from(i),specificity:function(t){let{attributes:r=[]}=t;return r.length}(n)}];return r.sort(function(t,r){let{specificity:n}=t,{specificity:i}=r;return i-n})}(N.elementRoles);function e_(t){return!0===t.hidden||"true"===t.getAttribute("aria-hidden")||"none"===t.ownerDocument.defaultView.getComputedStyle(t).display}function ew(t,r){void 0===r&&(r={});let{isSubtreeInaccessible:n=e_}=r;if("hidden"===t.ownerDocument.defaultView.getComputedStyle(t).visibility)return!0;let i=t;for(;i;){if(n(i))return!0;i=i.parentElement}return!1}function eS(t){for(let{match:r,roles:n}of eb)if(r(t))return[...n];return[]}function ex(t,r){let n=t.getAttribute(r);return"true"===n||"false"!==n&&void 0}let eE=em();function ek(t){return RegExp(t.toLowerCase().replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),"i")}function eC(t,r,n,i){let{variant:o,name:a}=i,s="",l={},u=[["Role","TestId"].includes(t)?n:ek(n)];a&&(l.name=ek(a)),"Role"===t&&ew(r)&&(l.hidden=!0,s="Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n    If you are using the aria-hidden prop, make sure this is the right choice for your case.\n    "),Object.keys(l).length>0&&u.push(l);let c=o+"By"+t;return{queryName:t,queryMethod:c,queryArgs:u,variant:o,warning:s,toString(){s&&console.warn(s);let[t,r]=u;return c+"("+(t="string"==typeof t?"'"+t+"'":t)+(r=r?", { "+Object.entries(r).map(t=>{let[r,n]=t;return r+": "+n}).join(", ")+" }":"")+")"}}}function eO(t,r,n){return n&&(!r||r.toLowerCase()===t.toLowerCase())}function eR(t,r,n){var i,o;if(void 0===r&&(r="get"),t.matches(ea.defaultIgnore))return;let a=null!=(i=t.getAttribute("role"))?i:null==(o=eS(t))?void 0:o[0];if("generic"!==a&&eO("Role",n,a))return eC("Role",t,a,{variant:r,name:L(t,{computedStyleSupportsPseudoElements:ea.computedStyleSupportsPseudoElements})});let s=ed(document,t).map(t=>t.content).join(" ");if(eO("LabelText",n,s))return eC("LabelText",t,s,{variant:r});let l=t.getAttribute("placeholder");if(eO("PlaceholderText",n,l))return eC("PlaceholderText",t,l,{variant:r});let u=eE(ev(t));if(eO("Text",n,u))return eC("Text",t,u,{variant:r});if(eO("DisplayValue",n,t.value))return eC("DisplayValue",t,eE(t.value),{variant:r});let c=t.getAttribute("alt");if(eO("AltText",n,c))return eC("AltText",t,c,{variant:r});let d=t.getAttribute("title");if(eO("Title",n,d))return eC("Title",t,d,{variant:r});let f=t.getAttribute(ea.testIdAttribute);if(eO("TestId",n,f))return eC("TestId",t,f,{variant:r})}function eT(t,r){t.stack=r.stack.replace(r.message,t.message)}function eP(t,r){return ea.getElementError(t,r)}function eM(t,r,n,i){let{exact:o=!0,collapseWhitespace:a,trim:s,normalizer:l}=void 0===i?{}:i,u=o?eh:ef,c=eg({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(r.querySelectorAll("["+t+"]")).filter(r=>u(r.getAttribute(t),r,n,c))}function eI(t,r){return function(n){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=t(n,...o);if(s.length>1){let t=s.map(t=>eP(null,t).message).join("\n\n");throw eP(r(n,...o)+"\n\nHere are the matching elements:\n\n"+t+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",n)}return s[0]||null}}function eA(t,r){return ea.getElementError("A better query is available, try this:\n"+t.toString()+"\n",r)}function eL(t){return(r,n,i,o)=>(function(t,r){let n=Error("STACK_TRACE_MESSAGE");return ea.asyncWrapper(()=>(function(t,r){let{container:n=J(),timeout:i=ea.asyncUtilTimeout,showOriginalStackTrace:o=ea.showOriginalStackTrace,stackTraceError:a,interval:s=50,onTimeout:l=t=>(Object.defineProperty(t,"message",{value:ea.getElementError(t.message,n).message}),t),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=r;if("function"!=typeof t)throw TypeError("Received `callback` arg must be a function");return new Promise(async(r,c)=>{let d,f,h,m=!1,g="idle",y=setTimeout(function(){let t;d?(t=d,o||"TestingLibraryElementError"!==t.name||eT(t,a)):(t=Error("Timed out in waitFor."),o||eT(t,a)),b(l(t),null)},i),v=Y();if(v){let{unstable_advanceTimersWrapper:t}=ea;for(w();!m;){if(!Y()){let t=Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");o||eT(t,a),c(t);return}if(await t(async()=>{jest.advanceTimersByTime(s)}),m)break;w()}}else{try{ee(n)}catch(t){c(t);return}f=setInterval(_,s);let{MutationObserver:t}=Q(n);(h=new t(_)).observe(n,u),w()}function b(t,n){m=!0,clearTimeout(y),v||(clearInterval(f),h.disconnect()),t?c(t):r(n)}function _(){if(!Y())return w();{let t=Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return o||eT(t,a),c(t)}}function w(){if("pending"!==g)try{let r=function(t){try{return ea._disableExpensiveErrorDiagnostics=!0,t()}finally{ea._disableExpensiveErrorDiagnostics=!1}}(t);"function"==typeof(null==r?void 0:r.then)?(g="pending",r.then(t=>{g="resolved",b(null,t)},t=>{g="rejected",d=t})):b(null,r)}catch(t){d=t}}})})(t,{stackTraceError:n,...r}))})(()=>t(r,n,i),{container:r,...o})}let eN=(t,r,n)=>function(i){for(var o=arguments.length,a=Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];let l=t(i,...a),[{suggest:u=ea.throwSuggestions}={}]=a.slice(-1);if(l&&u){let t=eR(l,n);if(t&&!r.endsWith(t.queryName))throw eA(t.toString(),i)}return l},ej=(t,r,n)=>function(i){for(var o=arguments.length,a=Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];let l=t(i,...a),[{suggest:u=ea.throwSuggestions}={}]=a.slice(-1);if(l.length&&u){let t=[...new Set(l.map(t=>{var r;return null==(r=eR(t,n))?void 0:r.toString()}))];if(1===t.length&&!r.endsWith(eR(l[0],n).queryName))throw eA(t[0],i)}return l};function eD(t,r,n){let i=eN(eI(t,r),t.name,"query"),o=function(r){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=t(r,...o);if(!s.length)throw ea.getElementError(n(r,...o),r);return s},a=eI(o,r),s=eN(a,t.name,"get"),l=ej(o,t.name.replace("query","get"),"getAll");return[i,l,s,eL(ej(o,t.name,"findAll")),eL(eN(a,t.name,"find"))]}let eF=function(t,r,n){let{exact:i=!0,trim:o,collapseWhitespace:a,normalizer:s}=void 0===n?{}:n,l=i?eh:ef,u=eg({collapseWhitespace:a,trim:o,normalizer:s});return Array.from(t.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:eu(t)})).filter(t=>{let{textToMatch:r}=t;return null!==r}).filter(t=>{let{node:n,textToMatch:i}=t;return l(i,n,r,u)}).map(t=>{let{node:r}=t;return r})},eB=function(t,r,n){let{selector:i="*",exact:o=!0,collapseWhitespace:a,trim:s,normalizer:l}=void 0===n?{}:n;ee(t);let u=o?eh:ef,c=eg({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(new Set(Array.from(t.querySelectorAll("*")).filter(t=>ec(t).length||t.hasAttribute("aria-labelledby")).reduce((n,o)=>{let a=ed(t,o,{selector:i});a.filter(t=>!!t.formControl).forEach(t=>{u(t.content,t.formControl,r,c)&&t.formControl&&n.push(t.formControl)});let s=a.filter(t=>!!t.content).map(t=>t.content);return u(s.join(" "),o,r,c)&&n.push(o),s.length>1&&s.forEach((t,i)=>{u(t,o,r,c)&&n.push(o);let a=[...s];a.splice(i,1),a.length>1&&u(a.join(" "),o,r,c)&&n.push(o)}),n},[]).concat(eM("aria-label",t,r,{exact:o,normalizer:c})))).filter(t=>t.matches(i))},e$=function(t,r){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];let a=eB(t,r,...i);if(!a.length){let n=eF(t,r,...i);if(n.length){let i=n.map(r=>(function(t,r){let n=r.getAttribute("for");if(!n)return null;let i=t.querySelector('[id="'+n+'"]');return i?i.tagName.toLowerCase():null})(t,r)).filter(t=>!!t);if(i.length)throw ea.getElementError(i.map(t=>"Found a label with the text of: "+r+", however the element associated with this label (<"+t+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+t+" />, you can use aria-label or aria-labelledby instead.").join("\n\n"),t);throw ea.getElementError("Found a label with the text of: "+r+', however no form control was found associated to that label. Make sure you\'re using the "for" attribute or "aria-labelledby" attribute correctly.',t)}throw ea.getElementError("Unable to find a label with the text of: "+r,t)}return a},eU=(t,r)=>"Found multiple elements with the text of: "+r,ez=eN(eI(eB,eU),eB.name,"query"),eq=eI(e$,eU),eZ=eL(ej(e$,e$.name,"findAll")),eH=eL(eN(eq,e$.name,"find")),eV=ej(e$,e$.name,"getAll"),eW=eN(eq,e$.name,"get"),eG=ej(eB,eB.name,"queryAll"),eK=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return ee(r[0]),eM("placeholder",...r)},eX=ej(eK,eK.name,"queryAll"),[eY,eJ,eQ,e0,e1]=eD(eK,(t,r)=>"Found multiple elements with the placeholder text of: "+r,(t,r)=>"Unable to find an element with the placeholder text of: "+r),e2=function(t,r,n){let{selector:i="*",exact:o=!0,collapseWhitespace:a,trim:s,ignore:l=ea.defaultIgnore,normalizer:u}=void 0===n?{}:n;ee(t);let c=o?eh:ef,d=eg({collapseWhitespace:a,trim:s,normalizer:u}),f=[];return"function"==typeof t.matches&&t.matches(i)&&(f=[t]),[...f,...Array.from(t.querySelectorAll(i))].filter(t=>!l||!t.matches(l)).filter(t=>c(ev(t),t,r,d))},e5=ej(e2,e2.name,"queryAll"),[e3,e6,e4,e8,e7]=eD(e2,(t,r)=>"Found multiple elements with the text: "+r,function(t,r,n){void 0===n&&(n={});let{collapseWhitespace:i,trim:o,normalizer:a,selector:s}=n,l=eg({collapseWhitespace:i,trim:o,normalizer:a})(r.toString());return"Unable to find an element with the text: "+(l!==r.toString()?l+" (normalized from '"+r+"')":r)+((null!=s?s:"*")!=="*"?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."}),e9=function(t,r,n){let{exact:i=!0,collapseWhitespace:o,trim:a,normalizer:s}=void 0===n?{}:n;ee(t);let l=i?eh:ef,u=eg({collapseWhitespace:o,trim:a,normalizer:s});return Array.from(t.querySelectorAll("input,textarea,select")).filter(t=>"SELECT"===t.tagName?Array.from(t.options).filter(t=>t.selected).some(t=>l(ev(t),t,r,u)):l(t.value,t,r,u))},te=ej(e9,e9.name,"queryAll"),[tt,tr,tn,ti,to]=eD(e9,(t,r)=>"Found multiple elements with the display value: "+r+".",(t,r)=>"Unable to find an element with the display value: "+r+"."),ta=/^(img|input|area|.+-.+)$/i,ts=function(t,r,n){return void 0===n&&(n={}),ee(t),eM("alt",t,r,n).filter(t=>ta.test(t.tagName))},tl=ej(ts,ts.name,"queryAll"),[tu,tc,td,tp,tf]=eD(ts,(t,r)=>"Found multiple elements with the alt text: "+r,(t,r)=>"Unable to find an element with the alt text: "+r),th=t=>{var r;return"title"===t.tagName.toLowerCase()&&(null==(r=t.parentElement)?void 0:r.tagName.toLowerCase())==="svg"},tm=function(t,r,n){let{exact:i=!0,collapseWhitespace:o,trim:a,normalizer:s}=void 0===n?{}:n;ee(t);let l=i?eh:ef,u=eg({collapseWhitespace:o,trim:a,normalizer:s});return Array.from(t.querySelectorAll("[title], svg > title")).filter(t=>l(t.getAttribute("title"),t,r,u)||th(t)&&l(ev(t),t,r,u))},tg=ej(tm,tm.name,"queryAll"),[ty,tv,tb,t_,tw]=eD(tm,(t,r)=>"Found multiple elements with the title: "+r+".",(t,r)=>"Unable to find an element with the title: "+r+"."),tS=function(t,r,n){var i,o,a,s,l,u,c,d,f,h,m,g;let{hidden:y=ea.defaultHidden,name:v,description:b,queryFallbacks:_=!1,selected:w,busy:S,checked:x,pressed:E,current:k,level:C,expanded:O,value:{now:R,min:T,max:P,text:M}={}}=void 0===n?{}:n;if(ee(t),void 0!==w&&(null==(i=N.roles.get(r))?void 0:i.props["aria-selected"])===void 0)throw Error('"aria-selected" is not supported on role "'+r+'".');if(void 0!==S&&(null==(o=N.roles.get(r))?void 0:o.props["aria-busy"])===void 0)throw Error('"aria-busy" is not supported on role "'+r+'".');if(void 0!==x&&(null==(a=N.roles.get(r))?void 0:a.props["aria-checked"])===void 0)throw Error('"aria-checked" is not supported on role "'+r+'".');if(void 0!==E&&(null==(s=N.roles.get(r))?void 0:s.props["aria-pressed"])===void 0)throw Error('"aria-pressed" is not supported on role "'+r+'".');if(void 0!==k&&(null==(l=N.roles.get(r))?void 0:l.props["aria-current"])===void 0)throw Error('"aria-current" is not supported on role "'+r+'".');if(void 0!==C&&"heading"!==r)throw Error('Role "'+r+'" cannot have "level" property.');if(void 0!==R&&(null==(u=N.roles.get(r))?void 0:u.props["aria-valuenow"])===void 0)throw Error('"aria-valuenow" is not supported on role "'+r+'".');if(void 0!==P&&(null==(c=N.roles.get(r))?void 0:c.props["aria-valuemax"])===void 0)throw Error('"aria-valuemax" is not supported on role "'+r+'".');if(void 0!==T&&(null==(d=N.roles.get(r))?void 0:d.props["aria-valuemin"])===void 0)throw Error('"aria-valuemin" is not supported on role "'+r+'".');if(void 0!==M&&(null==(f=N.roles.get(r))?void 0:f.props["aria-valuetext"])===void 0)throw Error('"aria-valuetext" is not supported on role "'+r+'".');if(void 0!==O&&(null==(h=N.roles.get(r))?void 0:h.props["aria-expanded"])===void 0)throw Error('"aria-expanded" is not supported on role "'+r+'".');let I=new WeakMap;function j(t){return I.has(t)||I.set(t,e_(t)),I.get(t)}return Array.from(t.querySelectorAll(['*[role~="'+(m=r)+'"]'].concat(Array.from(new Set(Array.from(null!=(g=N.roleElements.get(m))?g:new Set).map(t=>{let{name:r}=t;return r})))).join(","))).filter(t=>{if(t.hasAttribute("role")){let n=t.getAttribute("role");if(_)return n.split(" ").filter(Boolean).some(t=>t===r);let[i]=n.split(" ");return i===r}return eS(t).some(t=>t===r)}).filter(t=>{var r,n,i;if(void 0!==w)return w===("OPTION"===t.tagName?t.selected:ex(t,"aria-selected"));if(void 0!==S)return S===("true"===t.getAttribute("aria-busy"));if(void 0!==x)return x===function(t){if(!("indeterminate"in t)||!t.indeterminate)return"checked"in t?t.checked:ex(t,"aria-checked")}(t);if(void 0!==E)return E===ex(t,"aria-pressed");if(void 0!==k)return k===(null!=(r=null!=(n=ex(t,"aria-current"))?n:t.getAttribute("aria-current"))&&r);if(void 0!==O)return O===ex(t,"aria-expanded");if(void 0!==C)return C===(t.getAttribute("aria-level")&&Number(t.getAttribute("aria-level"))||({H1:1,H2:2,H3:3,H4:4,H5:5,H6:6})[t.tagName]);if(void 0!==R||void 0!==P||void 0!==T||void 0!==M){let r=!0;return void 0!==R&&r&&(r=R===function(t){let r=t.getAttribute("aria-valuenow");return null===r?void 0:+r}(t)),void 0!==P&&r&&(r=P===function(t){let r=t.getAttribute("aria-valuemax");return null===r?void 0:+r}(t)),void 0!==T&&r&&(r=T===function(t){let r=t.getAttribute("aria-valuemin");return null===r?void 0:+r}(t)),void 0!==M&&r&&(r=eh(null!=(i=function(t){let r=t.getAttribute("aria-valuetext");return null===r?void 0:r}(t))?i:null,t,M,t=>t)),r}return!0}).filter(t=>void 0===v||eh(L(t,{computedStyleSupportsPseudoElements:ea.computedStyleSupportsPseudoElements}),t,v,t=>t)).filter(t=>void 0===b||eh(A(t,{computedStyleSupportsPseudoElements:ea.computedStyleSupportsPseudoElements}),t,b,t=>t)).filter(t=>!1!==y||!1===ew(t,{isSubtreeInaccessible:j}))},tx=t=>{let r="";return void 0===t?"":"string"==typeof t?' and name "'+t+'"':" and name `"+t+"`"},tE=ej(tS,tS.name,"queryAll"),[tk,tC,tO,tR,tT]=eD(tS,function(t,r,n){let{name:i}=void 0===n?{}:n;return'Found multiple elements with the role "'+r+'"'+tx(i)},function(t,r,n){let i,{hidden:o=ea.defaultHidden,name:a,description:s}=void 0===n?{}:n;if(ea._disableExpensiveErrorDiagnostics)return'Unable to find role="'+r+'"'+tx(a);let l="";Array.from(t.children).forEach(t=>{l+=function(t,r){let{hidden:n,includeDescription:i}=r;return Object.entries(function(t,r){let{hidden:n=!1}=void 0===r?{}:r;return(function t(r){return[r,...Array.from(r.children).reduce((r,n)=>[...r,...t(n)],[])]})(t).filter(t=>!1!==n||!1===ew(t)).reduce((t,r)=>{let n=[];return(r.hasAttribute("role")?r.getAttribute("role").split(" ").slice(0,1):eS(r)).reduce((t,n)=>Array.isArray(t[n])?{...t,[n]:[...t[n],r]}:{...t,[n]:[r]},t)},{})}(t,{hidden:n})).filter(t=>{let[r]=t;return"generic"!==r}).map(t=>{let[r,n]=t,o="-".repeat(50);return r+":\n\n"+n.map(t=>{let r='Name "'+L(t,{computedStyleSupportsPseudoElements:ea.computedStyleSupportsPseudoElements})+'":\n',n=ei(t.cloneNode(!1));return i?""+r+('Description "'+A(t,{computedStyleSupportsPseudoElements:ea.computedStyleSupportsPseudoElements}))+'":\n'+n:""+r+n}).join("\n\n")+"\n\n"+o}).join("\n")}(t,{hidden:o,includeDescription:void 0!==s})}),i=0===l.length?!1===o?"There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":"There are no available roles.":("\nHere are the "+(!1===o?"accessible":"available")+" roles:\n\n  "+l.replace(/\n/g,"\n  ").replace(/\n\s\s\n/g,"\n\n")+"\n").trim();let u="",c="";return("\nUnable to find an "+(!1===o?"accessible ":"")+'element with the role "'+r+'"'+(void 0===a?"":"string"==typeof a?' and name "'+a+'"':" and name `"+a+"`")+(void 0===s?"":"string"==typeof s?' and description "'+s+'"':" and description `"+s+"`")+"\n\n"+i).trim()}),tP=()=>ea.testIdAttribute,tM=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return ee(r[0]),eM(tP(),...r)},tI=ej(tM,tM.name,"queryAll"),[tA,tL,tN,tj,tD]=eD(tM,(t,r)=>"Found multiple elements by: ["+tP()+'="'+r+'"]',(t,r)=>"Unable to find an element by: ["+tP()+'="'+r+'"]');var tF=Object.freeze({__proto__:null,queryAllByLabelText:eG,queryByLabelText:ez,getAllByLabelText:eV,getByLabelText:eW,findAllByLabelText:eZ,findByLabelText:eH,queryByPlaceholderText:eY,queryAllByPlaceholderText:eX,getByPlaceholderText:eQ,getAllByPlaceholderText:eJ,findAllByPlaceholderText:e0,findByPlaceholderText:e1,queryByText:e3,queryAllByText:e5,getByText:e4,getAllByText:e6,findAllByText:e8,findByText:e7,queryByDisplayValue:tt,queryAllByDisplayValue:te,getByDisplayValue:tn,getAllByDisplayValue:tr,findAllByDisplayValue:ti,findByDisplayValue:to,queryByAltText:tu,queryAllByAltText:tl,getByAltText:td,getAllByAltText:tc,findAllByAltText:tp,findByAltText:tf,queryByTitle:ty,queryAllByTitle:tg,getByTitle:tb,getAllByTitle:tv,findAllByTitle:t_,findByTitle:tw,queryByRole:tk,queryAllByRole:tE,getAllByRole:tC,getByRole:tO,findAllByRole:tR,findByRole:tT,queryByTestId:tA,queryAllByTestId:tI,getByTestId:tN,getAllByTestId:tL,findAllByTestId:tj,findByTestId:tD});let tB={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}}},t$={doubleClick:"dblClick"};function tU(t,r){return ea.eventWrapper(()=>{if(!r)throw Error("Unable to fire an event - please provide an event object.");if(!t)throw Error('Unable to fire a "'+r.type+'" event - please provide a DOM element.');return t.dispatchEvent(r)})}function tz(t,r,n,i){let o,{EventType:a="Event",defaultInit:s={}}=void 0===i?{}:i;if(!r)throw Error('Unable to fire a "'+t+'" event - please provide a DOM element.');let l={...s,...n},{target:{value:u,files:c,...d}={}}=l;void 0!==u&&function(t,r){let{set:n}=Object.getOwnPropertyDescriptor(t,"value")||{},{set:i}=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),"value")||{};if(i&&n!==i)i.call(t,r);else if(n)n.call(t,r);else throw Error("The given element does not have a value setter")}(r,u),void 0!==c&&Object.defineProperty(r,"files",{configurable:!0,enumerable:!0,writable:!0,value:c}),Object.assign(r,d);let f=Q(r),h=f[a]||f.Event;if("function"==typeof h)o=new h(t,l);else{o=f.document.createEvent(a);let{bubbles:r,cancelable:n,detail:i,...s}=l;o.initEvent(t,r,n,i),Object.keys(s).forEach(t=>{o[t]=s[t]})}return["dataTransfer","clipboardData"].forEach(t=>{let r=l[t];"object"==typeof r&&("function"==typeof f.DataTransfer?Object.defineProperty(o,t,{value:Object.getOwnPropertyNames(r).reduce((t,n)=>(Object.defineProperty(t,n,{value:r[n]}),t),new f.DataTransfer)}):Object.defineProperty(o,t,{value:r}))}),o}Object.keys(tB).forEach(t=>{let{EventType:r,defaultInit:n}=tB[t],i=t.toLowerCase();tz[t]=(t,o)=>tz(i,t,o,{EventType:r,defaultInit:n}),tU[t]=(r,n)=>tU(r,tz[t](r,n))}),Object.keys(t$).forEach(t=>{let r=t$[t];tU[t]=function(){return tU[r](...arguments)}});let tq={debug:(t,r,n)=>Array.isArray(t)?t.forEach(t=>eo(t,r,n)):eo(t,r,n),logTestingPlaygroundURL:function(t){var r;if(void 0===t&&(t=J().body),!t||!("innerHTML"in t)){console.log("The element you're providing isn't a valid DOM element.");return}if(!t.innerHTML){console.log("The provided element doesn't have any children.");return}let n="https://testing-playground.com/#markup="+(r=t.innerHTML,D().compressToEncodedURIComponent(r.replace(/[ \t]*[\n][ \t]*/g,"\n")));return console.log("Open this URL in your browser\n\n"+n),n}};"undefined"!=typeof document&&document.body?(i=document.body,o=tF,a=tq,void 0===o&&(o=tF),void 0===a&&(a={}),Object.keys(o).reduce((t,r)=>{let n=o[r];return t[r]=n.bind(null,i),t},a)):Object.keys(tF).reduce((t,r)=>(t[r]=()=>{throw TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},t),tq)},63751:function(t,r,n){"use strict";var i=n(2784),o=n(10856);n(28316),n(17029);var a=n(7864);let s="function"==typeof i.act?i.act:o.act;function l(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw Error("unable to locate global object")}function u(t){l().IS_REACT_ACT_ENVIRONMENT=t}function c(){return l().IS_REACT_ACT_ENVIRONMENT}let d=t=>{let r=c();u(!0);try{let n=!1,i=s(()=>{let r=t();return null!==r&&"object"==typeof r&&"function"==typeof r.then&&(n=!0),r});if(n)return{then:(t,n)=>{i.then(n=>{u(r),t(n)},t=>{u(r),n(t)})}};return u(r),i}catch(t){throw u(r),t}},f=function(){return(0,a.BX)(...arguments)};Object.keys(a.BX).forEach(t=>{f[t]=function(){return a.BX[t](...arguments)}});let h=f.mouseEnter,m=f.mouseLeave;f.mouseEnter=function(){return h(...arguments),f.mouseOver(...arguments)},f.mouseLeave=function(){return m(...arguments),f.mouseOut(...arguments)};let g=f.pointerEnter,y=f.pointerLeave;f.pointerEnter=function(){return g(...arguments),f.pointerOver(...arguments)},f.pointerLeave=function(){return y(...arguments),f.pointerOut(...arguments)};let v=f.select;f.select=(t,r)=>{v(t,r),t.focus(),f.keyUp(t,r)};let b=f.blur,_=f.focus;f.blur=function(){return f.focusOut(...arguments),b(...arguments)},f.focus=function(){return f.focusIn(...arguments),_(...arguments)},(0,a.jQ)({unstable_advanceTimersWrapper:t=>d(t),asyncWrapper:async t=>{let r=c();u(!1);try{let r=await t();return await new Promise(t=>{setTimeout(()=>{t()},0),"undefined"!=typeof jest&&null!==jest&&(!0===setTimeout._isMockFunction||Object.prototype.hasOwnProperty.call(setTimeout,"clock"))&&jest.advanceTimersByTime(0)}),r}finally{u(r)}},eventWrapper:t=>{let r;return d(()=>{r=t()}),r}});let w=new Set,S=[];function x(){S.forEach(t=>{let{root:r,container:n}=t;d(()=>{r.unmount()}),n.parentNode===document.body&&document.body.removeChild(n)}),S.length=0,w.clear()}if("function"==typeof afterEach?afterEach(()=>{x()}):"function"==typeof teardown&&teardown(()=>{x()}),"function"==typeof beforeAll&&"function"==typeof afterAll){let t=c();beforeAll(()=>{t=c(),u(!0)}),afterAll(()=>{u(t)})}},98459:function(t,r,n){"use strict";n.d(r,{default:()=>P});var i=n(84035),o=(t,r)=>{let n,i,o=t.path;return"string"==typeof t.namespace&&"string"==typeof t.endpoint&&(n=t.namespace.replace(/^\/|\/$/g,""),o=(i=t.endpoint.replace(/^\//,""))?n+"/"+i:n),delete t.namespace,delete t.endpoint,r({...t,path:o})};function a(t){let r=t.split("?"),n=r[1],i=r[0];return n?i+"?"+n.split("&").map(t=>t.split("=")).map(t=>t.map(decodeURIComponent)).sort((t,r)=>t[0].localeCompare(r[0])).map(t=>t.map(encodeURIComponent)).map(t=>t.join("=")).join("&"):i}var s=n(9236),l=n(31946);function u(t,r){if(r)return Promise.resolve(t.body);try{return Promise.resolve(new window.Response(JSON.stringify(t.body),{status:200,statusText:"OK",headers:t.headers}))}catch{return Object.entries(t.headers).forEach(([r,n])=>{"link"===r.toLowerCase()&&(t.headers[r]=n.replace(/<([^>]+)>/,(t,r)=>`<${encodeURI(r)}>`))}),Promise.resolve(r?t.body:new window.Response(JSON.stringify(t.body),{status:200,statusText:"OK",headers:t.headers}))}}var c=({path:t,url:r,...n},i)=>({...n,url:r&&(0,l.f)(r,i),path:t&&(0,l.f)(t,i)}),d=t=>t.json?t.json():Promise.reject(t),f=t=>{if(!t)return{};let r=t.match(/<([^>]+)>; rel="next"/);return r?{next:r[1]}:{}},h=t=>{let{next:r}=f(t.headers.get("link"));return r},m=t=>{let r=!!t.path&&-1!==t.path.indexOf("per_page=-1"),n=!!t.url&&-1!==t.url.indexOf("per_page=-1");return r||n},g=async(t,r)=>{if(!1===t.parse||!m(t))return r(t);let n=await P({...c(t,{per_page:100}),parse:!1}),i=await d(n);if(!Array.isArray(i))return i;let o=h(n);if(!o)return i;let a=[].concat(i);for(;o;){let r=await P({...t,path:void 0,url:o,parse:!1}),n=await d(r);a=a.concat(n),o=h(r)}return a},y=new Set(["PATCH","PUT","DELETE"]);function v(t,r){return(0,s.w)(t)[r]}function b(t,r){return void 0!==v(t,r)}async function _(t){try{return await t.json()}catch{throw{code:"invalid_json",message:(0,i.__)("The response is not a valid JSON response.")}}}async function w(t,r=!0){return r?204===t.status?null:await _(t):t}async function S(t,r=!0){if(!r)throw t;throw await _(t)}var x=n(51153);function E(t,...r){let n=t.replace(/^[^#]*/,""),i=(t=t.replace(/#.*/,"")).indexOf("?");if(-1===i)return t+n;let o=(0,s.w)(t),a=t.substr(0,i);r.forEach(t=>delete o[t]);let l=(0,x.I)(o);return(l?a+"?"+l:a)+n}var k={Accept:"application/json, */*;q=0.1"},C={credentials:"include"},O=[(t,r)=>("string"!=typeof t.url||b(t.url,"_locale")||(t.url=(0,l.f)(t.url,{_locale:"user"})),"string"!=typeof t.path||b(t.path,"_locale")||(t.path=(0,l.f)(t.path,{_locale:"user"})),r(t)),o,(t,r)=>{let{method:n="GET"}=t;return y.has(n.toUpperCase())&&(t={...t,headers:{...t.headers,"X-HTTP-Method-Override":n,"Content-Type":"application/json"},method:"POST"}),r(t)},g],R=t=>{let{url:r,path:n,data:o,parse:a=!0,...s}=t,{body:l,headers:u}=t;return u={...k,...u},o&&(l=JSON.stringify(o),u["Content-Type"]="application/json"),globalThis.fetch(r||n||window.location.href,{...C,...s,body:l,headers:u}).then(t=>t.ok?w(t,a):S(t,a),t=>{if(t&&"AbortError"===t.name)throw t;if(!globalThis.navigator.onLine)throw{code:"offline_error",message:(0,i.__)("Unable to connect. Please check your Internet connection.")};throw{code:"fetch_error",message:(0,i.__)("Could not get a valid response from the server.")}})},T=t=>O.reduceRight((t,r)=>n=>r(n,t),R)(t).catch(r=>"rest_cookie_invalid_nonce"!==r.code?Promise.reject(r):globalThis.fetch(T.nonceEndpoint).then(t=>t.ok?t.text():Promise.reject(r)).then(r=>(T.nonceMiddleware.nonce=r,T(t))));T.use=function(t){O.unshift(t)},T.setFetchHandler=function(t){R=t},T.createNonceMiddleware=function(t){let r=(t,n)=>{let{headers:i={}}=t;for(let o in i)if("x-wp-nonce"===o.toLowerCase()&&i[o]===r.nonce)return n(t);return n({...t,headers:{...i,"X-WP-Nonce":r.nonce}})};return r.nonce=t,r},T.createPreloadingMiddleware=function(t){let r=Object.fromEntries(Object.entries(t).map(([t,r])=>[a(t),r]));return(t,n)=>{let{parse:i=!0}=t,o=t.path;if(!o&&t.url){let{rest_route:r,...n}=(0,s.w)(t.url);"string"==typeof r&&(o=(0,l.f)(r,n))}if("string"!=typeof o)return n(t);let c=t.method||"GET",d=a(o);if("GET"===c&&r[d]){let t=r[d];return delete r[d],u(t,!!i)}if("OPTIONS"===c&&r[c]&&r[c][d]){let t=r[c][d];return delete r[c][d],u(t,!!i)}return n(t)}},T.createRootURLMiddleware=t=>(r,n)=>o(r,r=>{let i=r.url,o=r.path;return"string"==typeof o&&(-1!==t.indexOf("?")&&(o=o.replace("?","&")),o=o.replace(/^\//,""),"string"==typeof t&&-1!==t.indexOf("?")&&(o=o.replace("?","&")),i=t+o),n({...r,url:i})}),T.fetchAllMiddleware=g,T.mediaUploadMiddleware=(t,r)=>{if(!function(t){let r=!!t.method&&"POST"===t.method;return(!!t.path&&-1!==t.path.indexOf("/wp/v2/media")||!!t.url&&-1!==t.url.indexOf("/wp/v2/media"))&&r}(t))return r(t);let n=0,o=t=>(n++,r({path:`/wp/v2/media/${t}/post-process`,method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch(()=>n<5?o(t):(r({path:`/wp/v2/media/${t}?force=true`,method:"DELETE"}),Promise.reject())));return r({...t,parse:!1}).catch(r=>{if(!(r instanceof globalThis.Response))return Promise.reject(r);let n=r.headers.get("x-wp-upload-attachment-id");return r.status>=500&&r.status<600&&n?o(n).catch(()=>!1!==t.parse?Promise.reject({code:"post_process",message:(0,i.__)("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(r)):S(r,t.parse)}).then(r=>w(r,t.parse))},T.createThemePreviewMiddleware=t=>(r,n)=>{if("string"==typeof r.url){let n=v(r.url,"wp_theme_preview");void 0===n?r.url=(0,l.f)(r.url,{wp_theme_preview:t}):""===n&&(r.url=E(r.url,"wp_theme_preview"))}if("string"==typeof r.path){let n=v(r.path,"wp_theme_preview");void 0===n?r.path=(0,l.f)(r.path,{wp_theme_preview:t}):""===n&&(r.path=E(r.path,"wp_theme_preview"))}return n(r)};var P=T},41799:function(t,r){"use strict";var n,i=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");n=Symbol.for("react.module.reference"),r.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===l||t===s||t===h||t===m||t===v||"object"==typeof t&&null!==t&&(t.$$typeof===y||t.$$typeof===g||t.$$typeof===u||t.$$typeof===c||t.$$typeof===f||t.$$typeof===n||void 0!==t.getModuleId)||!1}},26229:function(t,r,n){"use strict";t.exports=n(41799)},99501:function(t,r,n){"use strict";let i,o,a,s;var l,u,c,d,f,h,m,g,y,v,b={};n.r(b),n.d(b,{countSelectorsByStatus:()=>ex,getCachedResolvers:()=>ew,getIsResolving:()=>em,getResolutionError:()=>eb,getResolutionState:()=>eh,hasFinishedResolution:()=>ey,hasResolutionFailed:()=>ev,hasResolvingSelectors:()=>eS,hasStartedResolution:()=>eg,isResolving:()=>e_});var _={};n.r(_),n.d(_,{failResolution:()=>eC,failResolutions:()=>eT,finishResolution:()=>ek,finishResolutions:()=>eR,invalidateResolution:()=>eP,invalidateResolutionForStore:()=>eM,invalidateResolutionForStoreSelector:()=>eI,startResolution:()=>eE,startResolutions:()=>eO});var w={};n.r(w),n.d(w,{getFormatType:()=>tL,getFormatTypeForBareElement:()=>tN,getFormatTypeForClassName:()=>tj,getFormatTypes:()=>tA});var S={};n.r(S),n.d(S,{addFormatTypes:()=>tD,removeFormatTypes:()=>tF});var x={};n.r(x),n.d(x,{getAllBlockBindingsSources:()=>rT,getBlockBindingsSource:()=>rP,getBootstrappedBlockType:()=>rO,getSupportedStyles:()=>rC,getUnprocessedBlockTypes:()=>rR,hasContentRoleAttribute:()=>rM});var E={};n.r(E),n.d(E,{__experimentalHasContentRoleAttribute:()=>rJ,getActiveBlockVariation:()=>rD,getBlockStyles:()=>rN,getBlockSupport:()=>rV,getBlockType:()=>rL,getBlockTypes:()=>rA,getBlockVariations:()=>rj,getCategories:()=>rB,getChildBlockNames:()=>rH,getCollections:()=>r$,getDefaultBlockName:()=>rU,getDefaultBlockVariation:()=>rF,getFreeformFallbackBlockName:()=>rz,getGroupingBlockName:()=>rZ,getUnregisteredFallbackBlockName:()=>rq,hasBlockSupport:()=>rW,hasChildBlocks:()=>rX,hasChildBlocksWithInserterSupport:()=>rY,isMatchingSearchTerm:()=>rK});var k={};n.r(k),n.d(k,{__experimentalReapplyBlockFilters:()=>r4,addBlockCollection:()=>nl,addBlockStyles:()=>r7,addBlockTypes:()=>r3,addBlockVariations:()=>ne,reapplyBlockTypeFilters:()=>r6,removeBlockCollection:()=>nu,removeBlockStyles:()=>r9,removeBlockTypes:()=>r8,removeBlockVariations:()=>nt,setCategories:()=>na,setDefaultBlockName:()=>nr,setFreeformFallbackBlockName:()=>nn,setGroupingBlockName:()=>no,setUnregisteredFallbackBlockName:()=>ni,updateCategory:()=>ns});var C={};n.r(C),n.d(C,{addBlockBindingsSource:()=>np,addBootstrappedBlockType:()=>nc,addUnprocessedBlockType:()=>nd,removeBlockBindingsSource:()=>nf});var O={};n.r(O),n.d(O,{__experimentalGetCurrentGlobalStylesId:()=>dd,__experimentalGetCurrentThemeBaseGlobalStyles:()=>dw,__experimentalGetCurrentThemeGlobalStylesVariations:()=>dS,__experimentalGetDirtyEntityRecords:()=>c3,__experimentalGetEntitiesBeingSaved:()=>c6,__experimentalGetEntityRecordNoResolver:()=>cJ,canUser:()=>dm,canUserEditEntityRecord:()=>dg,getAuthors:()=>cq,getAutosave:()=>dv,getAutosaves:()=>dy,getBlockPatternCategories:()=>dE,getBlockPatterns:()=>dx,getCurrentTheme:()=>dc,getCurrentThemeGlobalStylesRevisions:()=>dC,getCurrentUser:()=>cZ,getDefaultTemplateId:()=>dO,getEditedEntityRecord:()=>c9,getEmbedPreview:()=>df,getEntitiesByKind:()=>cV,getEntitiesConfig:()=>cW,getEntity:()=>cG,getEntityConfig:()=>cK,getEntityRecord:()=>cX,getEntityRecordEdits:()=>c4,getEntityRecordNonTransientEdits:()=>c8,getEntityRecords:()=>c1,getEntityRecordsTotalItems:()=>c2,getEntityRecordsTotalPages:()=>c5,getLastEntityDeleteError:()=>di,getLastEntitySaveError:()=>dn,getRawEntityRecord:()=>cQ,getRedoEdit:()=>ds,getReferenceByDistinctEdits:()=>d_,getRevision:()=>dT,getRevisions:()=>dR,getThemeSupports:()=>dp,getUndoEdit:()=>da,getUserPatternCategories:()=>dk,getUserQueryResults:()=>cH,hasEditsForEntityRecord:()=>c7,hasEntityRecord:()=>cY,hasEntityRecords:()=>c0,hasFetchedAutosaves:()=>db,hasRedo:()=>du,hasUndo:()=>dl,isAutosavingEntityRecord:()=>de,isDeletingEntityRecord:()=>dr,isPreviewEmbedFallback:()=>dh,isRequestingEmbedPreview:()=>cz,isSavingEntityRecord:()=>dt});var R={};n.r(R),n.d(R,{getBlockPatternsForPostType:()=>dL,getEditorAssets:()=>dq,getEditorSettings:()=>dz,getEntityRecordPermissions:()=>dj,getEntityRecordsPermissions:()=>dN,getHomePage:()=>dB,getNavigationFallbackId:()=>dA,getPostsPageId:()=>d$,getRegisteredPostMeta:()=>dD,getTemplateId:()=>dU,getUndoManager:()=>dI});var T={};n.r(T),n.d(T,{__experimentalBatch:()=>pt,__experimentalReceiveCurrentGlobalStylesId:()=>dQ,__experimentalReceiveThemeBaseGlobalStyles:()=>d0,__experimentalReceiveThemeGlobalStyleVariations:()=>d1,__experimentalSaveSpecifiedEntityEdits:()=>pn,__unstableCreateUndoLevel:()=>d9,addEntities:()=>dX,deleteEntityRecord:()=>d6,editEntityRecord:()=>d4,receiveAutosaves:()=>ps,receiveCurrentTheme:()=>dJ,receiveCurrentUser:()=>dK,receiveDefaultTemplateId:()=>pu,receiveEmbedPreview:()=>d3,receiveEntityRecords:()=>dY,receiveNavigationFallbackId:()=>pl,receiveRevisions:()=>pc,receiveThemeGlobalStyleRevisions:()=>d5,receiveThemeSupports:()=>d2,receiveUploadPermissions:()=>pi,receiveUserPermission:()=>po,receiveUserPermissions:()=>pa,receiveUserQuery:()=>dG,redo:()=>d7,saveEditedEntityRecord:()=>pr,saveEntityRecord:()=>pe,undo:()=>d8});var P={};n.r(P),n.d(P,{editMediaEntity:()=>pp,receiveEditorAssets:()=>ph,receiveEditorSettings:()=>pf,receiveRegisteredPostMeta:()=>pd});var M={};n.r(M),n.d(M,{__experimentalGetCurrentGlobalStylesId:()=>pA,__experimentalGetCurrentThemeBaseGlobalStyles:()=>pL,__experimentalGetCurrentThemeGlobalStylesVariations:()=>pN,canUser:()=>pT,canUserEditEntityRecord:()=>pP,getAuthors:()=>pv,getAutosave:()=>pI,getAutosaves:()=>pM,getBlockPatternCategories:()=>pF,getBlockPatterns:()=>pD,getCurrentTheme:()=>pC,getCurrentThemeGlobalStylesRevisions:()=>pj,getCurrentUser:()=>pb,getDefaultTemplateId:()=>pU,getEditedEntityRecord:()=>pS,getEditorAssets:()=>pW,getEditorSettings:()=>pV,getEmbedPreview:()=>pR,getEntitiesConfig:()=>pH,getEntityRecord:()=>p_,getEntityRecords:()=>px,getEntityRecordsTotalItems:()=>pE,getEntityRecordsTotalPages:()=>pk,getNavigationFallbackId:()=>p$,getRawEntityRecord:()=>pw,getRegisteredPostMeta:()=>pZ,getRevision:()=>pq,getRevisions:()=>pz,getThemeSupports:()=>pO,getUserPatternCategories:()=>pB});var I=n(66784),A=n(74835),L=n.n(A),N=n(84921);function j(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}function D(t){return"[object Object]"===Object.prototype.toString.call(t)}function F(t){var r,n;return!1!==D(t)&&(void 0===(r=t.constructor)||!1!==D(n=r.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}function B(t){return F(t)&&"string"==typeof t.type}var $=(t=!1)=>(...r)=>(...n)=>{let i=r.flat();return t&&i.reverse(),i.reduce((t,r)=>[r(...t)],n)[0]};$();var U=$(!0);function z(t){let r=Object.keys(t);return function(n={},i){let o={},a=!1;for(let s of r){let r=t[s],l=n[s],u=r(l,i);o[s]=u,a=a||u!==l}return a?o:n}}function q(t){let r=new WeakMap,n=(...i)=>{let o=r.get(n.registry);return o||(o=t(n.registry.select),r.set(n.registry,o)),o(...i)};return n.isRegistrySelector=!0,n}function Z(t){return t.isRegistryControl=!0,t}var H={"@@data/SELECT":Z(t=>({storeKey:r,selectorName:n,args:i})=>t.select(r)[n](...i)),"@@data/RESOLVE_SELECT":Z(t=>({storeKey:r,selectorName:n,args:i})=>{let o=t.select(r)[n].hasResolver?"resolveSelect":"select";return t[o](r)[n](...i)}),"@@data/DISPATCH":Z(t=>({storeKey:r,actionName:n,args:i})=>t.dispatch(r)[n](...i))},V=["@wordpress/block-directory","@wordpress/block-editor","@wordpress/block-library","@wordpress/blocks","@wordpress/boot","@wordpress/commands","@wordpress/workflows","@wordpress/components","@wordpress/core-commands","@wordpress/core-data","@wordpress/customize-widgets","@wordpress/data","@wordpress/edit-post","@wordpress/edit-site","@wordpress/edit-widgets","@wordpress/editor","@wordpress/format-library","@wordpress/patterns","@wordpress/preferences","@wordpress/reusable-blocks","@wordpress/route","@wordpress/router","@wordpress/routes","@wordpress/sync","@wordpress/theme","@wordpress/dataviews","@wordpress/fields","@wordpress/lazy-editor","@wordpress/media-utils","@wordpress/upload-media","@wordpress/global-styles-ui"],W=[],G=!globalThis.IS_WORDPRESS_CORE,K=(t,r)=>{if(!V.includes(r))throw Error(`You tried to opt-in to unstable APIs as module "${r}". This feature is only for JavaScript modules shipped with WordPress core. Please do not use it in plugins and themes as the unstable APIs will be removed without a warning. If you ignore this error and depend on unstable features, your product will inevitably break on one of the next WordPress releases.`);if(!G&&W.includes(r))throw Error(`You tried to opt-in to unstable APIs as module "${r}" which is already registered. This feature is only for JavaScript modules shipped with WordPress core. Please do not use it in plugins and themes as the unstable APIs will be removed without a warning. If you ignore this error and depend on unstable features, your product will inevitably break on one of the next WordPress releases.`);if("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress."!==t)throw Error("You tried to opt-in to unstable APIs without confirming you know the consequences. This feature is only for JavaScript modules shipped with WordPress core. Please do not use it in plugins and themes as the unstable APIs will removed without a warning. If you ignore this error and depend on unstable features, your product will inevitably break on the next WordPress release.");return W.push(r),{lock:X,unlock:Y}};function X(t,r){if(!t)throw Error("Cannot lock an undefined object.");Q in t||(t[Q]={}),J.set(t[Q],r)}function Y(t){if(!t)throw Error("Cannot unlock an undefined object.");if(!(Q in t))throw Error("Cannot unlock an object that was not locked before. ");return J.get(t[Q])}var J=new WeakMap,Q=Symbol("Private API ID"),{lock:ee,unlock:et}=K("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/data"),er=()=>t=>r=>j(r)?r.then(r=>{if(r)return t(r)}):t(r),en=(t,r)=>()=>n=>i=>(Object.entries(t.select(r).getCachedResolvers()).forEach(([n,o])=>{let a=t.stores[r]?.resolvers?.[n];a&&a.shouldInvalidate&&o.forEach((o,s)=>{void 0!==o&&("finished"===o.status||"error"===o.status)&&a.shouldInvalidate(i,...s)&&t.dispatch(r).invalidateResolution(n,s)})}),n(i));function ei(t){if(null==t)return[];let r=t.length,n=r;for(;n>0&&void 0===t[n-1];)n--;return n===r?t:t.slice(0,n)}var eo=(s=(t=new(L()),r)=>{switch(r.type){case"START_RESOLUTION":{let n=new(L())(t);return n.set(ei(r.args),{status:"resolving"}),n}case"FINISH_RESOLUTION":{let n=new(L())(t);return n.set(ei(r.args),{status:"finished"}),n}case"FAIL_RESOLUTION":{let n=new(L())(t);return n.set(ei(r.args),{status:"error",error:r.error}),n}case"START_RESOLUTIONS":{let n=new(L())(t);for(let t of r.args)n.set(ei(t),{status:"resolving"});return n}case"FINISH_RESOLUTIONS":{let n=new(L())(t);for(let t of r.args)n.set(ei(t),{status:"finished"});return n}case"FAIL_RESOLUTIONS":{let n=new(L())(t);return r.args.forEach((t,i)=>{let o={status:"error",error:void 0},a=r.errors[i];a&&(o.error=a),n.set(ei(t),o)}),n}case"INVALIDATE_RESOLUTION":{let n=new(L())(t);return n.delete(ei(r.args)),n}}return t},(t={},r)=>{let n=r.selectorName;if(void 0===n)return t;let i=s(t[n],r);return i===t[n]?t:{...t,[n]:i}}),ea=(t={},r)=>{switch(r.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":if(r.selectorName in t){let{[r.selectorName]:n,...i}=t;return i}break;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"FAIL_RESOLUTION":case"START_RESOLUTIONS":case"FINISH_RESOLUTIONS":case"FAIL_RESOLUTIONS":case"INVALIDATE_RESOLUTION":return eo(t,r)}return t},es=n(72144),el=Object.create(null);function eu(t,r={}){let{since:n,version:i,alternative:o,plugin:a,link:s,hint:l}=r,u=a?` from ${a}`:"",c=n?` since version ${n}`:"",d=i?` and will be removed${u} in version ${i}`:"",f=o?` Please use ${o} instead.`:"",h=s?` See: ${s}`:"",m=l?` Note: ${l}`:"",g=`${t} is deprecated${c}${d}.${f}${h}${m}`;g in el||((0,es.doAction)("deprecated",t,r,g),console.warn(g),el[g]=!0)}var ec={};function ed(t){return[t]}function ep(t,r,n){var i;if(t.length!==r.length)return!1;for(i=n;i<t.length;i++)if(t[i]!==r[i])return!1;return!0}function ef(t,r){var n,i=r||ed;function o(){n=new WeakMap}function a(){var r,o,a,s,l,u=arguments.length;for(a=0,s=Array(u);a<u;a++)s[a]=arguments[a];for((r=function(t){var r,i,o,a,s,l,u=n,c=!0;for(o=0;o<t.length;o++){if(!((r=a=t[o])&&"object"==typeof r)){c=!1;break}u.has(a)?u=u.get(a):(s=new WeakMap,u.set(a,s),u=s)}return u.has(ec)||((l=i={clear:function(){i.head=null}}).isUniqueByDependants=c,u.set(ec,l)),u.get(ec)}(l=i.apply(null,s))).isUniqueByDependants||(r.lastDependants&&!ep(l,r.lastDependants,0)&&r.clear(),r.lastDependants=l),o=r.head;o;){if(!ep(o.args,s,1)){o=o.next;continue}return o!==r.head&&(o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=r.head,o.prev=null,r.head.prev=o,r.head=o),o.val}return o={val:t.apply(null,s)},s[0]=null,o.args=s,r.head&&(r.head.prev=o,o.next=r.head),r.head=o,o.val}return a.getDependants=i,a.clear=o,o(),a}function eh(t,r,n){let i=t[r];if(i)return i.get(ei(n))}function em(t,r,n){eu("wp.data.select( store ).getIsResolving",{since:"6.6",version:"6.8",alternative:"wp.data.select( store ).getResolutionState"});let i=eh(t,r,n);return i&&"resolving"===i.status}function eg(t,r,n){return void 0!==eh(t,r,n)}function ey(t,r,n){let i=eh(t,r,n)?.status;return"finished"===i||"error"===i}function ev(t,r,n){return eh(t,r,n)?.status==="error"}function eb(t,r,n){let i=eh(t,r,n);return i?.status==="error"?i.error:null}function e_(t,r,n){return eh(t,r,n)?.status==="resolving"}function ew(t){return t}function eS(t){return Object.values(t).some(t=>Array.from(t._map.values()).some(t=>t[1]?.status==="resolving"))}var ex=ef(t=>{let r={};return Object.values(t).forEach(t=>Array.from(t._map.values()).forEach(t=>{let n=t[1]?.status??"error";r[n]||(r[n]=0),r[n]++})),r},t=>[t]);function eE(t,r){return{type:"START_RESOLUTION",selectorName:t,args:r}}function ek(t,r){return{type:"FINISH_RESOLUTION",selectorName:t,args:r}}function eC(t,r,n){return{type:"FAIL_RESOLUTION",selectorName:t,args:r,error:n}}function eO(t,r){return{type:"START_RESOLUTIONS",selectorName:t,args:r}}function eR(t,r){return{type:"FINISH_RESOLUTIONS",selectorName:t,args:r}}function eT(t,r,n){return{type:"FAIL_RESOLUTIONS",selectorName:t,args:r,errors:n}}function eP(t,r){return{type:"INVALIDATE_RESOLUTION",selectorName:t,args:r}}function eM(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function eI(t){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:t}}var eA=t=>{let r=[...t];for(let t=r.length-1;t>=0;t--)void 0===r[t]&&r.splice(t,1);return r},eL=(t,r)=>Object.fromEntries(Object.entries(t??{}).map(([t,n])=>[t,r(n,t)])),eN=(t,r)=>r instanceof Map?Object.fromEntries(r):r instanceof window.HTMLElement?null:r;function ej(t,r){let n=new WeakMap;return{get(i){let o=t(i);if(!o)return null;let a=n.get(o);return a||(a=r(o,i),n.set(o,a)),a}}}function eD(t,r){return new Proxy(t,{get:(t,n)=>r.get(n)||Reflect.get(t,n)})}function eF(t,r){let n={},i={},o={privateActions:n,registerPrivateActions:t=>{Object.assign(n,t)},privateSelectors:i,registerPrivateSelectors:t=>{Object.assign(i,t)}},a={name:t,instantiate:a=>{var s,l,u,c;let d=new Set,f=r.reducer,h=function(t,r,n,i){let o=eL({...r.controls,...H},t=>t.isRegistryControl?t(n):t),a=[en(n,t),er,function(t={}){return r=>{let n=function(t={},r){let n=Object.entries(t).map(([t,r])=>(n,i,o,a,s)=>{if(!B(n)||n.type!==t)return!1;let l=r(n);return j(l)?l.then(a,s):a(l),!0});n.push((t,n)=>!!B(t)&&(r(t),n(),!0));let i=(0,N.create)(n);return t=>new Promise((n,o)=>i(t,t=>{B(t)&&r(t),n(t)},o))}(t,r.dispatch);return t=>r=>r&&"function"==typeof r[Symbol.iterator]&&"function"==typeof r.next?n(r):t(r)}}(o),()=>t=>r=>"function"==typeof r?r(i):t(r)],s=[(0,I.md)(...a)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&s.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:t,instanceId:t,serialize:{replacer:eN}}));let{reducer:l,initialState:u}=r,c=z({metadata:ea,root:l});return(0,I.MT)(c,{root:u},U(s))}(t,r,a,{registry:a,get dispatch(){return w},get select(){return T},get resolveSelect(){return M}});ee(h,o);let m=function(){let t={};return{isRunning:(r,n)=>t[r]&&t[r].get(eA(n)),clear(r,n){t[r]&&t[r].delete(eA(n))},markAsRunning(r,n){t[r]||(t[r]=new(L())),t[r].set(eA(n),!0)}}}();function g(t){return(...r)=>Promise.resolve(h.dispatch(t(...r)))}let y={...eL(_,g),...eL(r.actions,g)},v=eD(y,ej(t=>n[t],g)),w=new Proxy(t=>h.dispatch(t),{get:(t,r)=>v[r]});ee(y,v);let S=r.resolvers?eL(r.resolvers,eB):{};function x(t,r){t.isRegistrySelector&&(t.registry=a);let n=(...r)=>{r=e$(t,r);let n=h.__unstableOriginalGetState();return t.isRegistrySelector&&(t.registry=a),t(n.root,...r)};n.__unstableNormalizeArgs=t.__unstableNormalizeArgs;let i=S[r];return i?function(t,r,n,i,o,a){let s=(...s)=>(!function(t){let s=i.getState();!(o.isRunning(r,t)||"function"==typeof n.isFulfilled&&n.isFulfilled(s,...t))&&(a.hasStartedResolution(r,t)||(o.markAsRunning(r,t),setTimeout(async()=>{o.clear(r,t),i.dispatch(eE(r,t));try{let o=n.fulfill(...t);o&&await i.dispatch(o),i.dispatch(ek(r,t))}catch(n){i.dispatch(eC(r,t,n))}},0)))}(s=e$(t,s)),t(...s));return s.hasResolver=!0,s}(n,r,i,h,m,E):(n.hasResolver=!1,n)}let E=eL(b,function(t){let n=(n,i,...o)=>{if(n){let t=r.selectors?.[n];t&&(i=e$(t,i))}return t(h.__unstableOriginalGetState().metadata,n,i,...o)};return n.hasResolver=!1,n}),k=eL(r.selectors,x),C={...E,...k},O=ej(t=>i[t],x),R=eD(C,O);for(let t of Object.keys(i))O.get(t);let T=new Proxy(t=>t(h.__unstableOriginalGetState()),{get:(t,r)=>R[r]});ee(C,R);let P=(s=h,l=E,(t,r)=>t.hasResolver?(...n)=>new Promise((i,o)=>{let a=()=>l.hasFinishedResolution(r,n),u=t=>{l.hasResolutionFailed(r,n)?o(l.getResolutionError(r,n)):i(t)},c=()=>t.apply(null,n),d=c();if(a())return u(d);let f=s.subscribe(()=>{a()&&(f(),u(c()))})}):async(...r)=>t.apply(null,r)),M=eL(k,P),A=eD(M,ej(t=>O.get(t),P));ee(M,A);let D=(u=h,c=E,(t,r)=>t.hasResolver?(...n)=>{let i=t.apply(null,n);if(c.hasFinishedResolution(r,n)){if(c.hasResolutionFailed(r,n))throw c.getResolutionError(r,n);return i}throw new Promise(t=>{let i=u.subscribe(()=>{c.hasFinishedResolution(r,n)&&(t(),i())})})}:t),F={...E,...eL(k,D)},$=eD(F,ej(t=>O.get(t),D));ee(F,$),h.__unstableOriginalGetState=h.getState,h.getState=()=>h.__unstableOriginalGetState().root;let q=h&&(t=>(d.add(t),()=>d.delete(t))),Z=h.__unstableOriginalGetState();return h.subscribe(()=>{let t=h.__unstableOriginalGetState(),r=t!==Z;if(Z=t,r)for(let t of d)t()}),{reducer:f,store:h,actions:y,selectors:C,resolvers:S,getSelectors:()=>C,getResolveSelectors:()=>M,getSuspendSelectors:()=>F,getActions:()=>y,subscribe:q}}};return ee(a,o),a}function eB(t){return t.fulfill?t:{...t,fulfill:t}}function e$(t,r){return t.__unstableNormalizeArgs&&"function"==typeof t.__unstableNormalizeArgs&&r?.length?t.__unstableNormalizeArgs(r):r}var eU={name:"core/data",instantiate(t){let r=r=>(n,...i)=>t.select(n)[r](...i),n=r=>(n,...i)=>t.dispatch(n)[r](...i);return{getSelectors:()=>Object.fromEntries(["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].map(t=>[t,r(t)])),getActions:()=>Object.fromEntries(["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].map(t=>[t,n(t)])),subscribe:()=>()=>()=>{}}}};function ez(){let t=!1,r=!1,n=new Set,i=()=>Array.from(n).forEach(t=>t());return{get isPaused(){return t},subscribe:t=>(n.add(t),()=>n.delete(t)),pause(){t=!0},resume(){t=!1,r&&(r=!1,i())},emit(){if(t){r=!0;return}i()}}}function eq(t){return"string"==typeof t?t:t.name}var eZ=function(t={},r=null){let n={},i=ez(),o=null;function a(){i.emit()}function s(t,i){if(n[t])return console.error('Store "'+t+'" is already registered.'),n[t];let o=i();if("function"!=typeof o.getSelectors)throw TypeError("store.getSelectors must be a function");if("function"!=typeof o.getActions)throw TypeError("store.getActions must be a function");if("function"!=typeof o.subscribe)throw TypeError("store.subscribe must be a function");o.emitter=ez();let s=o.subscribe;if(o.subscribe=t=>{let r=o.emitter.subscribe(t),n=s(()=>{if(o.emitter.isPaused){o.emitter.emit();return}t()});return()=>{n?.(),r?.()}},n[t]=o,o.subscribe(a),r)try{et(o.store).registerPrivateActions(et(r).privateActionsOf(t)),et(o.store).registerPrivateSelectors(et(r).privateSelectorsOf(t))}catch(t){}return o}let l={batch:function(t){if(i.isPaused){t();return}i.pause(),Object.values(n).forEach(t=>t.emitter.pause());try{t()}finally{i.resume(),Object.values(n).forEach(t=>t.emitter.resume())}},stores:n,namespaces:n,subscribe:(t,o)=>{if(!o)return i.subscribe(t);let a=n[eq(o)];return a?a.subscribe(t):r?r.subscribe(t,o):i.subscribe(t)},select:function(t){let i=eq(t);o?.add(i);let a=n[i];return a?a.getSelectors():r?.select(i)},resolveSelect:function(t){let i=eq(t);o?.add(i);let a=n[i];return a?a.getResolveSelectors():r&&r.resolveSelect(i)},suspendSelect:function(t){let i=eq(t);o?.add(i);let a=n[i];return a?a.getSuspendSelectors():r&&r.suspendSelect(i)},dispatch:function(t){let i=eq(t),o=n[i];return o?o.getActions():r&&r.dispatch(i)},use:function(t,r){if(t)return l={...l,...t(l,r)}},register:function(t){s(t.name,()=>t.instantiate(l))},registerGenericStore:function(t,r){eu("wp.data.registerGenericStore",{since:"5.9",alternative:"wp.data.register( storeDescriptor )"}),s(t,()=>r)},registerStore:function(t,r){if(!r.reducer)throw TypeError("Must specify store reducer");return s(t,()=>eF(t,r).instantiate(l)).store},__unstableMarkListeningStores:function(t,r){o=new Set;try{return t.call(this)}finally{r.current=Array.from(o),o=null}}};for(let[r,n]of(l.register(eU),Object.entries(t)))l.register(eF(r,n));r&&r.subscribe(a);let u=Object.fromEntries(Object.entries(l).map(([t,r])=>"function"!=typeof r?[t,r]:[t,function(){return l[t].apply(null,arguments)}]));return ee(u,{privateActionsOf:t=>{try{return et(n[t].store).privateActions}catch(t){return{}}},privateSelectorsOf:t=>{try{return et(n[t].store).privateSelectors}catch(t){return{}}}}),u}();eZ.resolveSelect,eZ.suspendSelect,eZ.subscribe,eZ.registerGenericStore,eZ.registerStore,eZ.use;var eH=eZ.register,eV=n(42598),eW=n.n(eV);function eG(t,r){if(t&&r){if(t.constructor===Object&&r.constructor===Object)return function(t,r){if(t===r)return!0;let n=Object.keys(t),i=Object.keys(r);if(n.length!==i.length)return!1;let o=0;for(;o<n.length;){let i=n[o],a=t[i];if(void 0===a&&!r.hasOwnProperty(i)||a!==r[i])return!1;o++}return!0}(t,r);else if(Array.isArray(t)&&Array.isArray(r)){if(t===r)return!0;if(t.length!==r.length)return!1;for(let n=0,i=t.length;n<i;n++)if(t[n]!==r[n])return!1;return!0}}return t===r}var eK=(t,r)=>{let n=t?.findIndex(({id:t})=>"string"==typeof t?t===r.id:eG(t,r.id)),i=[...t];return -1!==n?i[n]={id:r.id,changes:function(t,r){let n={...t};return Object.entries(r).forEach(([t,r])=>{n[t]?n[t]={...n[t],to:r.to}:n[t]=r}),n}(i[n].changes,r.changes)}:i.push(r),i},eX=t=>r=>(n,i)=>void 0===n||t(i)?r(n,i):n,eY=t=>r=>(n,i)=>r(n,t(i)),eJ=t=>r=>(n={},i)=>{let o=i[t];if(void 0===o)return n;let a=r(n[o],i);return a===n[o]?n:{...n,[o]:a}},eQ=n(85452);function e0(t){return t.toLowerCase()}var e1=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],e2=/[^A-Z0-9]+/gi;function e5(t,r){void 0===r&&(r={});for(var n=r.splitRegexp,i=r.stripRegexp,o=r.transform,a=r.delimiter,s=e3(e3(t,void 0===n?e1:n,"$1\0$2"),void 0===i?e2:i,"\0"),l=0,u=s.length;"\0"===s.charAt(l);)l++;for(;"\0"===s.charAt(u-1);)u--;return s.slice(l,u).split("\0").map(void 0===o?e0:o).join(void 0===a?" ":a)}function e3(t,r,n){return r instanceof RegExp?t.replace(r,n):r.reduce(function(t,r){return t.replace(r,n)},t)}function e6(t){var r;return(r=t.toLowerCase()).charAt(0).toUpperCase()+r.substr(1)}function e4(t,r){var n=t.charAt(0),i=t.substr(1).toLowerCase();return r>0&&n>="0"&&n<="9"?"_"+n+i:""+n.toUpperCase()+i}function e8(t,r){return void 0===r&&(r={}),e5(t,(0,eQ.pi)({delimiter:"",transform:e4},r))}var e7=n(98459);function e9(t,r){return 0===r?t.toLowerCase():e4(t,r)}function te(t,r){return void 0===r&&(r={}),e8(t,(0,eQ.pi)({transform:e9},r))}var tt=n(84035),tr={grad:.9,turn:360,rad:360/(2*Math.PI)},tn=function(t){return"string"==typeof t?t.length>0:"number"==typeof t},ti=function(t,r,n){return void 0===r&&(r=0),void 0===n&&(n=Math.pow(10,r)),Math.round(n*t)/n+0},to=function(t,r,n){return void 0===r&&(r=0),void 0===n&&(n=1),t>n?n:t>r?t:r},ta=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},ts=function(t){return{r:to(t.r,0,255),g:to(t.g,0,255),b:to(t.b,0,255),a:to(t.a)}},tl=function(t){return{r:ti(t.r),g:ti(t.g),b:ti(t.b),a:ti(t.a,3)}},tu=/^#([0-9a-f]{3,8})$/i,tc=function(t){var r=t.toString(16);return r.length<2?"0"+r:r},td=function(t){var r=t.r,n=t.g,i=t.b,o=t.a,a=Math.max(r,n,i),s=a-Math.min(r,n,i),l=s?a===r?(n-i)/s:a===n?2+(i-r)/s:4+(r-n)/s:0;return{h:60*(l<0?l+6:l),s:a?s/a*100:0,v:a/255*100,a:o}},tp=function(t){var r=t.h,n=t.s,i=t.v,o=t.a;r=r/360*6,n/=100,i/=100;var a=Math.floor(r),s=i*(1-n),l=i*(1-(r-a)*n),u=i*(1-(1-r+a)*n),c=a%6;return{r:255*[i,l,s,s,u,i][c],g:255*[u,i,i,l,s,s][c],b:255*[s,s,u,i,i,l][c],a:o}},tf=function(t){return{h:ta(t.h),s:to(t.s,0,100),l:to(t.l,0,100),a:to(t.a)}},th=function(t){return{h:ti(t.h),s:ti(t.s),l:ti(t.l),a:ti(t.a,3)}},tm=function(t){var r,n;return tp((r=t.s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}))},tg=function(t){var r,n,i,o;return{h:(r=td(t)).h,s:(o=(200-(n=r.s))*(i=r.v)/100)>0&&o<200?n*i/100/(o<=100?o:200-o)*100:0,l:o/2,a:r.a}},ty=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,tv=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,tb=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,t_=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,tw={string:[[function(t){var r=tu.exec(t);return r?(t=r[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:4===t.length?ti(parseInt(t[3]+t[3],16)/255,2):1}:6===t.length||8===t.length?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:8===t.length?ti(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var r=tb.exec(t)||t_.exec(t);return r?r[2]!==r[4]||r[4]!==r[6]?null:ts({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):null},"rgb"],[function(t){var r,n,i=ty.exec(t)||tv.exec(t);return i?tm(tf({h:(r=i[1],void 0===(n=i[2])&&(n="deg"),Number(r)*(tr[n]||1)),s:Number(i[3]),l:Number(i[4]),a:void 0===i[5]?1:Number(i[5])/(i[6]?100:1)})):null},"hsl"]],object:[[function(t){var r=t.r,n=t.g,i=t.b,o=t.a;return tn(r)&&tn(n)&&tn(i)?ts({r:Number(r),g:Number(n),b:Number(i),a:Number(void 0===o?1:o)}):null},"rgb"],[function(t){var r=t.h,n=t.s,i=t.l,o=t.a;return tn(r)&&tn(n)&&tn(i)?tm(tf({h:Number(r),s:Number(n),l:Number(i),a:Number(void 0===o?1:o)})):null},"hsl"],[function(t){var r,n=t.h,i=t.s,o=t.v,a=t.a;return tn(n)&&tn(i)&&tn(o)?tp({h:ta((r={h:Number(n),s:Number(i),v:Number(o),a:Number(void 0===a?1:a)}).h),s:to(r.s,0,100),v:to(r.v,0,100),a:to(r.a)}):null},"hsv"]]},tS=function(t,r){for(var n=0;n<r.length;n++){var i=r[n][0](t);if(i)return[i,r[n][1]]}return[null,void 0]},tx=function(t,r){var n=tg(t);return{h:n.h,s:to(n.s+100*r,0,100),l:n.l,a:n.a}},tE=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},tk=function(t,r){var n=tg(t);return{h:n.h,s:n.s,l:to(n.l+100*r,0,100),a:n.a}},tC=function(){function t(t){this.parsed=("string"==typeof t?tS(t.trim(),tw.string):"object"==typeof t&&null!==t?tS(t,tw.object):[null,void 0])[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return null!==this.parsed},t.prototype.brightness=function(){return ti(tE(this.rgba),2)},t.prototype.isDark=function(){return .5>tE(this.rgba)},t.prototype.isLight=function(){return tE(this.rgba)>=.5},t.prototype.toHex=function(){var t,r,n,i,o,a;return r=(t=tl(this.rgba)).r,n=t.g,i=t.b,a=(o=t.a)<1?tc(ti(255*o)):"","#"+tc(r)+tc(n)+tc(i)+a},t.prototype.toRgb=function(){return tl(this.rgba)},t.prototype.toRgbString=function(){var t,r,n,i,o;return r=(t=tl(this.rgba)).r,n=t.g,i=t.b,(o=t.a)<1?"rgba("+r+", "+n+", "+i+", "+o+")":"rgb("+r+", "+n+", "+i+")"},t.prototype.toHsl=function(){return th(tg(this.rgba))},t.prototype.toHslString=function(){var t,r,n,i,o;return r=(t=th(tg(this.rgba))).h,n=t.s,i=t.l,(o=t.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+o+")":"hsl("+r+", "+n+"%, "+i+"%)"},t.prototype.toHsv=function(){var t;return{h:ti((t=td(this.rgba)).h),s:ti(t.s),v:ti(t.v),a:ti(t.a,3)}},t.prototype.invert=function(){var t;return tO({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a})},t.prototype.saturate=function(t){return void 0===t&&(t=.1),tO(tx(this.rgba,t))},t.prototype.desaturate=function(t){return void 0===t&&(t=.1),tO(tx(this.rgba,-t))},t.prototype.grayscale=function(){return tO(tx(this.rgba,-1))},t.prototype.lighten=function(t){return void 0===t&&(t=.1),tO(tk(this.rgba,t))},t.prototype.darken=function(t){return void 0===t&&(t=.1),tO(tk(this.rgba,-t))},t.prototype.rotate=function(t){return void 0===t&&(t=15),this.hue(this.hue()+t)},t.prototype.alpha=function(t){var r;return"number"==typeof t?tO({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):ti(this.rgba.a,3)},t.prototype.hue=function(t){var r=tg(this.rgba);return"number"==typeof t?tO({h:t,s:r.s,l:r.l,a:r.a}):ti(r.h)},t.prototype.isEqual=function(t){return this.toHex()===tO(t).toHex()},t}(),tO=function(t){return t instanceof tC?t:new tC(t)},tR=[],tT=function(t){var r=t/255;return r<.04045?r/12.92:Math.pow((r+.055)/1.055,2.4)},tP=function(t){return .2126*tT(t.r)+.7152*tT(t.g)+.0722*tT(t.b)},tM=n(2784),tI=z({formatTypes:function(t={},r){switch(r.type){case"ADD_FORMAT_TYPES":return{...t,...r.formatTypes.reduce((t,r)=>({...t,[r.name]:r}),{})};case"REMOVE_FORMAT_TYPES":return Object.fromEntries(Object.entries(t).filter(([t])=>!r.names.includes(t)))}return t}}),tA=ef(t=>Object.values(t.formatTypes),t=>[t.formatTypes]);function tL(t,r){return t.formatTypes[r]}function tN(t,r){let n=tA(t);return n.find(({className:t,tagName:n})=>null===t&&r===n)||n.find(({className:t,tagName:r})=>null===t&&"*"===r)}function tj(t,r){return tA(t).find(({className:t})=>null!==t&&` ${r} `.indexOf(` ${t} `)>=0)}function tD(t){return{type:"ADD_FORMAT_TYPES",formatTypes:Array.isArray(t)?t:[t]}}function tF(t){return{type:"REMOVE_FORMAT_TYPES",names:Array.isArray(t)?t:[t]}}var tB=eF("core/rich-text",{reducer:tI,selectors:w,actions:S});function t$(t){return eZ.select(t)}function tU({implementation:t},r){return tU.body||(tU.body=t.createHTMLDocument("").body),tU.body.innerHTML=r,tU.body}function tz(t,r){return t.formats=t.formats.concat(r.formats),t.replacements=t.replacements.concat(r.replacements),t.text+=r.text,t}eH(tB);var tq=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function tZ(t){return t.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&amp;")}function tH(t){return t.replace(/</g,"&lt;")}function tV(t){return tZ(t).replace(/"/g,"&quot;").replace(/>/g,"&gt;")}function tW(t){return t$(tB).getFormatType(t)}function tG(t,r){if(r)return t;let n={};for(let r in t){let i=r;r.startsWith("data-disable-rich-text-")&&(i=r.slice(23)),n[i]=t[r]}return n}function tK({type:t,tagName:r,attributes:n,unregisteredAttributes:i,object:o,boundaryClass:a,isEditableTree:s}){let l=tW(t),u={};if(a&&s&&(u["data-rich-text-format-boundary"]="true"),!l)return n&&(u={...n,...u}),{type:t,attributes:tG(u,s),object:o};for(let t in u={...i,...u},n){let r=!!l.attributes&&l.attributes[t];r?u[r]=n[t]:u[t]=n[t]}return l.className&&(u.class?u.class=`${l.className} ${u.class}`:u.class=l.className),{type:r||l.tagName,object:l.object,attributes:tG(u,s)}}function tX(){return{}}function tY({children:t}){return t&&t[t.length-1]}function tJ(t,r){return"string"==typeof r&&(r={text:r}),r.parent=t,t.children=t.children||[],t.children.push(r),r}function tQ(t,r){t.text+=r}function t0({parent:t}){return t}function t1({text:t}){return"string"==typeof t}function t2({text:t}){return t}function t5(t){let r=t.parent.children.indexOf(t);return -1!==r&&t.parent.children.splice(r,1),t}function t3(){return{formats:[],replacements:[],text:""}}var t6=class _RichTextData{#e;static empty(){return new _RichTextData}static fromPlainText(t){return new _RichTextData(t4({text:t}))}static fromHTMLString(t){return new _RichTextData(t4({html:t}))}static fromHTMLElement(t,r={}){let{preserveWhiteSpace:n=!1}=r,i=new _RichTextData(t4({element:n?t:function t(r,n=!0){let i=r.cloneNode(!0);return i.normalize(),Array.from(i.childNodes).forEach((r,i,o)=>{if(r.nodeType===r.TEXT_NODE){let t=r.nodeValue;/[\n\t\r\f]/.test(t)&&(t=t.replace(/[\n\t\r\f]+/g," ")),-1!==t.indexOf("  ")&&(t=t.replace(/ {2,}/g," ")),0===i&&t.startsWith(" ")?t=t.slice(1):n&&i===o.length-1&&t.endsWith(" ")&&(t=t.slice(0,-1)),r.nodeValue=t}else r.nodeType===r.ELEMENT_NODE&&r.replaceWith(t(r,!1))}),i}(t)}));return Object.defineProperty(i,"originalHTML",{value:t.innerHTML}),i}constructor(t=t3()){this.#e=t}toPlainText(){return function({text:t}){return t.replace("\uFFFC","")}(this.#e)}toHTMLString({preserveWhiteSpace:t}={}){return this.originalHTML||function({value:t,preserveWhiteSpace:r}){return function t(r=[]){return r.map(r=>void 0!==r.html?r.html:void 0===r.text?function({type:r,attributes:n,object:i,children:o}){if("#comment"===r)return`<!--${n["data-rich-text-comment"]}-->`;let a="";for(let t in n)tq.test(t)||(a+=` ${t}="${tV(n[t])}"`);return i?`<${r}${a}>`:`<${r}${a}>${t(o)}</${r}>`}(r):tH(r.text.replace(/&/g,"&amp;"))).join("")}(function({value:t,preserveWhiteSpace:r,createEmpty:n,append:i,getLastChild:o,getParent:a,isText:s,getText:l,remove:u,appendText:c,onStartIndex:d,onEndIndex:f,isEditableTree:h,placeholder:m}){let g,y,{formats:v,replacements:b,text:_,start:w,end:S}=t,x=v.length+1,E=n(),k=function(t,r=[]){let{formats:n,start:i,end:o,activeFormats:a}=t;if(void 0===i)return r;if(i===o){if(a)return a;let t=n[i-1]||r,o=n[i]||r;return t.length<o.length?t:o}if(!n[i])return r;let s=n.slice(i,o),l=[...s[0]],u=s.length;for(;u--;){let t=s[u];if(!t)return r;let n=l.length;for(;n--;){let r=l[n];t.find(t=>(function(t,r){if(t===r)return!0;if(!t||!r||t.type!==r.type)return!1;let n=t.attributes,i=r.attributes;if(n===i)return!0;if(!n||!i)return!1;let o=Object.keys(n),a=Object.keys(i);if(o.length!==a.length)return!1;let s=o.length;for(let t=0;t<s;t++){let r=o[t];if(n[r]!==i[r])return!1}return!0})(r,t))||l.splice(n,1)}if(0===l.length)return r}return l||r}(t),C=k[k.length-1];i(E,"");for(let t=0;t<x;t++){let n=_.charAt(t),x=h&&(!y||"\n"===y),k=v[t],O=o(E);if(k&&k.forEach((t,r)=>{if(O&&g&&function(t,r,n){do if(t[n]!==r[n])return!1;while(n--);return!0}(k,g,r)){O=o(O);return}let{type:n,tagName:c,attributes:d,unregisteredAttributes:f}=t,m=h&&t===C,y=i(a(O),tK({type:n,tagName:c,attributes:d,unregisteredAttributes:f,boundaryClass:m,isEditableTree:h}));s(O)&&0===l(O).length&&u(O),O=i(y,"")}),0===t&&(d&&0===w&&d(E,O),f&&0===S&&f(E,O)),"\uFFFC"===n){let r=b[t];if(!r)continue;let{type:n,attributes:o,innerHTML:s}=r,l=tW(n);if(h&&"#comment"===n)O=i(a(O),{type:"span",attributes:{contenteditable:"false","data-rich-text-comment":o["data-rich-text-comment"]}}),i(i(O,{type:"span"}),o["data-rich-text-comment"].trim());else if(h||"script"!==n)if(l?.contentEditable===!1){if(s||h){if(O=a(O),h){let r={contenteditable:"false","data-rich-text-bogus":!0};w===t&&S===t+1&&(r["data-rich-text-format-boundary"]=!0),O=i(O,{type:"span",attributes:r}),h&&t+1===_.length&&i(a(O),"\uFEFF")}O=i(O,tK({...r,isEditableTree:h})),s&&i(O,{html:s})}}else O=i(a(O),tK({...r,object:!0,isEditableTree:h}));else O=i(a(O),tK({type:"script",isEditableTree:h})),i(O,{html:decodeURIComponent(o["data-rich-text-script"])});O=i(a(O),"")}else r||"\n"!==n?s(O)?c(O,n):O=i(a(O),n):(O=i(a(O),{type:"br",attributes:h?{"data-rich-text-line-break":"true"}:void 0,object:!0}),O=i(a(O),""));d&&w===t+1&&d(E,O),f&&S===t+1&&f(E,O),x&&t===_.length&&(i(a(O),"\uFEFF"),m&&0===_.length&&i(a(O),{type:"span",attributes:{"data-rich-text-placeholder":m,style:"pointer-events:none;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;"}})),g=k,y=n}return E}({value:t,preserveWhiteSpace:r,createEmpty:tX,append:tJ,getLastChild:tY,getParent:t0,isText:t1,getText:t2,remove:t5,appendText:tQ}).children)}({value:this.#e,preserveWhiteSpace:t})}valueOf(){return this.toHTMLString()}toString(){return this.toHTMLString()}toJSON(){return this.toHTMLString()}get length(){return this.text.length}get formats(){return this.#e.formats}get replacements(){return this.#e.replacements}get text(){return this.#e.text}};for(let t of Object.getOwnPropertyNames(String.prototype))t6.prototype.hasOwnProperty(t)||Object.defineProperty(t6.prototype,t,{value(...r){return this.toHTMLString()[t](...r)}});function t4({element:t,text:r,html:n,range:i,__unstableIsEditableTree:o}={}){return n instanceof t6?{text:n.text,formats:n.formats,replacements:n.replacements}:"string"==typeof r&&r.length>0?{formats:Array(r.length),replacements:Array(r.length),text:r}:("string"==typeof n&&n.length>0&&(t=tU(document,n)),"object"!=typeof t)?t3():function t({element:r,range:n,isEditableTree:i}){let o=t3();if(!r)return o;if(!r.hasChildNodes())return t8(o,r,n,t3()),o;let a=r.childNodes.length;for(let s=0;s<a;s++){let a=r.childNodes[s],l=a.nodeName.toLowerCase();if(a.nodeType===a.TEXT_NODE){let t=t7(a.nodeValue);n=function(t,r,n){if(!r)return;let{startContainer:i,endContainer:o}=r,{startOffset:a,endOffset:s}=r;return t===i&&(a=n(t.nodeValue.slice(0,a)).length),t===o&&(s=n(t.nodeValue.slice(0,s)).length),{startContainer:i,startOffset:a,endContainer:o,endOffset:s}}(a,n,t7),t8(o,a,n,{text:t}),o.formats.length+=t.length,o.replacements.length+=t.length,o.text+=t;continue}if(a.nodeType===a.COMMENT_NODE||a.nodeType===a.ELEMENT_NODE&&"SPAN"===a.tagName&&a.hasAttribute("data-rich-text-comment")){let t={formats:[,],replacements:[{type:"#comment",attributes:{"data-rich-text-comment":a.nodeType===a.COMMENT_NODE?a.nodeValue:a.getAttribute("data-rich-text-comment")}}],text:"\uFFFC"};t8(o,a,n,t),tz(o,t);continue}if(a.nodeType!==a.ELEMENT_NODE)continue;if(i&&"br"===l&&!a.getAttribute("data-rich-text-line-break")){t8(o,a,n,t3());continue}if("script"===l){let t={formats:[,],replacements:[{type:l,attributes:{"data-rich-text-script":a.getAttribute("data-rich-text-script")||encodeURIComponent(a.innerHTML)}}],text:"\uFFFC"};t8(o,a,n,t),tz(o,t);continue}if("br"===l){t8(o,a,n,t3()),tz(o,t4({text:"\n"}));continue}let u=function({tagName:t,attributes:r}){let n;if(r&&r.class&&(n=t$(tB).getFormatTypeForClassName(r.class))&&(r.class=` ${r.class} `.replace(` ${n.className} `," ").trim(),r.class||delete r.class),n||(n=t$(tB).getFormatTypeForBareElement(t)),!n)return r?{type:t,attributes:r}:{type:t};if(n.__experimentalCreatePrepareEditableTree&&!n.__experimentalCreateOnChangeEditableValue)return null;if(!r)return{formatType:n,type:n.name,tagName:t};let i={},o={},a={...r};for(let t in n.attributes){let r=n.attributes[t];i[t]=a[r],delete a[r],void 0===i[t]&&delete i[t]}for(let t in a)o[t]=r[t];return!1===n.contentEditable&&delete o.contenteditable,{formatType:n,type:n.name,tagName:t,attributes:i,unregisteredAttributes:o}}({tagName:l,attributes:function({element:t}){let r;if(!t.hasAttributes())return;let n=t.attributes.length;for(let i=0;i<n;i++){let{name:n,value:o}=t.attributes[i];if(0===n.indexOf("data-rich-text-"))continue;let a=/^on/i.test(n)?"data-disable-rich-text-"+n:n;(r=r||{})[a]=o}return r}({element:a})});if(u?.formatType?.contentEditable===!1){delete u.formatType,t8(o,a,n,t3()),tz(o,{formats:[,],replacements:[{...u,innerHTML:a.innerHTML}],text:"\uFFFC"});continue}u&&delete u.formatType;let c=t({element:a,range:n,isEditableTree:i});if(t8(o,a,n,c),!u||a.getAttribute("data-rich-text-placeholder")||a.getAttribute("data-rich-text-bogus"))tz(o,c);else if(0===c.text.length)u.attributes&&tz(o,{formats:[,],replacements:[u],text:"\uFFFC"});else{let t=function(r){if(t.formats===r)return t.newFormats;let n=r?[u,...r]:[u];return t.formats=r,t.newFormats=n,n};t.newFormats=[u],tz(o,{...c,formats:Array.from(c.formats,t)})}}return o}({element:t,range:i,isEditableTree:o})}function t8(t,r,n,i){if(!n)return;let{parentNode:o}=r,{startContainer:a,startOffset:s,endContainer:l,endOffset:u}=n,c=t.text.length;void 0!==i.start?t.start=c+i.start:r===a&&r.nodeType===r.TEXT_NODE?t.start=c+s:o===a&&r===a.childNodes[s]?t.start=c:o===a&&r===a.childNodes[s-1]?t.start=c+i.text.length:r===a&&(t.start=c),void 0!==i.end?t.end=c+i.end:r===l&&r.nodeType===r.TEXT_NODE?t.end=c+u:o===l&&r===l.childNodes[u-1]?t.end=c+i.text.length:o===l&&r===l.childNodes[u]?t.end=c:r===l&&(t.end=c+u)}function t7(t){return t.replace(RegExp(`[\uFEFF\uFFFC\r]`,"gu"),"")}var t9="block-default",re=["attributes","supports","save","migrate","isEligible","apiVersion"],rt={"--wp--style--color--link":{value:["color","link"],support:["color","link"]},aspectRatio:{value:["dimensions","aspectRatio"],support:["dimensions","aspectRatio"],useEngine:!0},background:{value:["color","gradient"],support:["color","gradients"],useEngine:!0},backgroundColor:{value:["color","background"],support:["color","background"],requiresOptOut:!0,useEngine:!0},backgroundImage:{value:["background","backgroundImage"],support:["background","backgroundImage"],useEngine:!0},backgroundRepeat:{value:["background","backgroundRepeat"],support:["background","backgroundRepeat"],useEngine:!0},backgroundSize:{value:["background","backgroundSize"],support:["background","backgroundSize"],useEngine:!0},backgroundPosition:{value:["background","backgroundPosition"],support:["background","backgroundPosition"],useEngine:!0},borderColor:{value:["border","color"],support:["__experimentalBorder","color"],useEngine:!0},borderRadius:{value:["border","radius"],support:["__experimentalBorder","radius"],properties:{borderTopLeftRadius:"topLeft",borderTopRightRadius:"topRight",borderBottomLeftRadius:"bottomLeft",borderBottomRightRadius:"bottomRight"},useEngine:!0},borderStyle:{value:["border","style"],support:["__experimentalBorder","style"],useEngine:!0},borderWidth:{value:["border","width"],support:["__experimentalBorder","width"],useEngine:!0},borderTopColor:{value:["border","top","color"],support:["__experimentalBorder","color"],useEngine:!0},borderTopStyle:{value:["border","top","style"],support:["__experimentalBorder","style"],useEngine:!0},borderTopWidth:{value:["border","top","width"],support:["__experimentalBorder","width"],useEngine:!0},borderRightColor:{value:["border","right","color"],support:["__experimentalBorder","color"],useEngine:!0},borderRightStyle:{value:["border","right","style"],support:["__experimentalBorder","style"],useEngine:!0},borderRightWidth:{value:["border","right","width"],support:["__experimentalBorder","width"],useEngine:!0},borderBottomColor:{value:["border","bottom","color"],support:["__experimentalBorder","color"],useEngine:!0},borderBottomStyle:{value:["border","bottom","style"],support:["__experimentalBorder","style"],useEngine:!0},borderBottomWidth:{value:["border","bottom","width"],support:["__experimentalBorder","width"],useEngine:!0},borderLeftColor:{value:["border","left","color"],support:["__experimentalBorder","color"],useEngine:!0},borderLeftStyle:{value:["border","left","style"],support:["__experimentalBorder","style"],useEngine:!0},borderLeftWidth:{value:["border","left","width"],support:["__experimentalBorder","width"],useEngine:!0},color:{value:["color","text"],support:["color","text"],requiresOptOut:!0,useEngine:!0},columnCount:{value:["typography","textColumns"],support:["typography","textColumns"],useEngine:!0},filter:{value:["filter","duotone"],support:["filter","duotone"]},linkColor:{value:["elements","link","color","text"],support:["color","link"]},captionColor:{value:["elements","caption","color","text"],support:["color","caption"]},buttonColor:{value:["elements","button","color","text"],support:["color","button"]},buttonBackgroundColor:{value:["elements","button","color","background"],support:["color","button"]},headingColor:{value:["elements","heading","color","text"],support:["color","heading"]},headingBackgroundColor:{value:["elements","heading","color","background"],support:["color","heading"]},fontFamily:{value:["typography","fontFamily"],support:["typography","__experimentalFontFamily"],useEngine:!0},fontSize:{value:["typography","fontSize"],support:["typography","fontSize"],useEngine:!0},fontStyle:{value:["typography","fontStyle"],support:["typography","__experimentalFontStyle"],useEngine:!0},fontWeight:{value:["typography","fontWeight"],support:["typography","__experimentalFontWeight"],useEngine:!0},lineHeight:{value:["typography","lineHeight"],support:["typography","lineHeight"],useEngine:!0},margin:{value:["spacing","margin"],support:["spacing","margin"],properties:{marginTop:"top",marginRight:"right",marginBottom:"bottom",marginLeft:"left"},useEngine:!0},minHeight:{value:["dimensions","minHeight"],support:["dimensions","minHeight"],useEngine:!0},width:{value:["dimensions","width"],support:["dimensions","width"],useEngine:!0},padding:{value:["spacing","padding"],support:["spacing","padding"],properties:{paddingTop:"top",paddingRight:"right",paddingBottom:"bottom",paddingLeft:"left"},useEngine:!0},textAlign:{value:["typography","textAlign"],support:["typography","textAlign"],useEngine:!1},textDecoration:{value:["typography","textDecoration"],support:["typography","__experimentalTextDecoration"],useEngine:!0},textTransform:{value:["typography","textTransform"],support:["typography","__experimentalTextTransform"],useEngine:!0},letterSpacing:{value:["typography","letterSpacing"],support:["typography","__experimentalLetterSpacing"],useEngine:!0},writingMode:{value:["typography","writingMode"],support:["typography","__experimentalWritingMode"],useEngine:!0},"--wp--style--root--padding":{value:["spacing","padding"],support:["spacing","padding"],properties:{"--wp--style--root--padding-top":"top","--wp--style--root--padding-right":"right","--wp--style--root--padding-bottom":"bottom","--wp--style--root--padding-left":"left"},rootOnly:!0}};function rr(){return t$(ng).getFreeformFallbackBlockName()}function rn(){return t$(ng).getUnregisteredFallbackBlockName()}function ri(t){return t$(ng)?.getBlockType(t)}function ro(t,r,n){return t$(ng).hasBlockSupport(t,r,n)}!function(t){t.forEach(function(t){0>tR.indexOf(t)&&(t(tC,tw),tR.push(t))})}([function(t,r){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},i={};for(var o in n)i[n[o]]=o;var a={};t.prototype.toName=function(r){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var o,s=i[this.toHex()];if(s)return s;if(null==r?void 0:r.closest){var l=this.toRgb(),u=1/0,c="black";if(!a.length)for(var d in n)a[d]=new t(n[d]).toRgb();for(var f in n){var h=(o=a[f],Math.pow(l.r-o.r,2)+Math.pow(l.g-o.g,2)+Math.pow(l.b-o.b,2));h<u&&(u=h,c=f)}return c}},r.string.push([function(r){var i=r.toLowerCase(),o="transparent"===i?"#0000":n[i];return o?new t(o).toRgb():null},"name"])},function(t){t.prototype.luminance=function(){var t,r;return t=tP(this.rgba),void 0===r&&(r=100),Math.round(r*t)/r+0},t.prototype.contrast=function(r){void 0===r&&(r="#FFF");var n,i,o,a,s,l,u=r instanceof t?r:new t(r);return o=this.rgba,a=u.toRgb(),n=(s=tP(o))>(l=tP(a))?(s+.05)/(l+.05):(l+.05)/(s+.05),void 0===i&&(i=100),Math.floor(i*n)/i+0},t.prototype.isReadable=function(t,r){var n,i,o,a,s;return void 0===t&&(t="#FFF"),void 0===r&&(r={}),this.contrast(t)>=(s=void 0===(a=(n=r).size)?"normal":a,"AAA"===(o=void 0===(i=n.level)?"AA":i)&&"normal"===s?7:"AA"===o&&"large"===s?3:4.5)}}]);var ra=["#191e23","#f8f9f9"];function rs(t){return!!t&&("string"==typeof t||(0,tM.isValidElement)(t)||"function"==typeof t||t instanceof tM.Component)}function rl(t){return"string"==typeof t?ri(t):t}function ru(t){return void 0!==t.default?t.default:"rich-text"===t.type?new t6:void 0}function rc(t,r){return Object.fromEntries(Object.entries(t).filter(([t])=>!r.includes(t)))}var rd=[{slug:"text",title:(0,tt.__)("Text")},{slug:"media",title:(0,tt.__)("Media")},{slug:"design",title:(0,tt.__)("Design")},{slug:"widgets",title:(0,tt.__)("Widgets")},{slug:"theme",title:(0,tt.__)("Theme")},{slug:"embed",title:(0,tt.__)("Embeds")},{slug:"reusable",title:(0,tt.__)("Reusable blocks")}];function rp(t){return t.reduce((t,r)=>({...t,[r.name]:r}),{})}function rf(t){return t.reduce((t,r)=>(t.some(t=>t.name===r.name)||t.push(r),t),[])}function rm(t){return(r=null,n)=>{switch(n.type){case"REMOVE_BLOCK_TYPES":if(-1!==n.names.indexOf(r))return null;break;case t:return n.name||null}return r}}var rg=rm("SET_DEFAULT_BLOCK_NAME"),ry=rm("SET_FREEFORM_FALLBACK_BLOCK_NAME"),rv=rm("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),rb=z({bootstrappedBlockTypes:function(t={},r){switch(r.type){case"ADD_BOOTSTRAPPED_BLOCK_TYPE":let{name:n,blockType:i}=r;if(t[n])break;let o=Object.fromEntries(Object.entries(i).filter(([,t])=>null!=t).map(([t,r])=>[te(t),r]));return o.name=n,{...t,[n]:o};case"REMOVE_BLOCK_TYPES":return rc(t,r.names)}return t},unprocessedBlockTypes:function(t={},r){switch(r.type){case"ADD_UNPROCESSED_BLOCK_TYPE":return{...t,[r.name]:r.blockType};case"REMOVE_BLOCK_TYPES":return rc(t,r.names)}return t},blockTypes:function(t={},r){switch(r.type){case"ADD_BLOCK_TYPES":return{...t,...rp(r.blockTypes)};case"REMOVE_BLOCK_TYPES":return rc(t,r.names)}return t},blockStyles:function(t={},r){switch(r.type){case"ADD_BLOCK_TYPES":return{...t,...Object.fromEntries(Object.entries(rp(r.blockTypes)).map(([r,n])=>[r,rf([...(n.styles??[]).map(t=>({...t,source:"block"})),...(t[n.name]??[]).filter(({source:t})=>"block"!==t)])]))};case"ADD_BLOCK_STYLES":let n={};return r.blockNames.forEach(i=>{n[i]=rf([...t[i]??[],...r.styles])}),{...t,...n};case"REMOVE_BLOCK_STYLES":return{...t,[r.blockName]:(t[r.blockName]??[]).filter(t=>-1===r.styleNames.indexOf(t.name))}}return t},blockVariations:function(t={},r){switch(r.type){case"ADD_BLOCK_TYPES":return{...t,...Object.fromEntries(Object.entries(rp(r.blockTypes)).map(([r,n])=>[r,rf([...(n.variations??[]).map(t=>({...t,source:"block"})),...(t[n.name]??[]).filter(({source:t})=>"block"!==t)])]))};case"ADD_BLOCK_VARIATIONS":return{...t,[r.blockName]:rf([...t[r.blockName]??[],...r.variations])};case"REMOVE_BLOCK_VARIATIONS":return{...t,[r.blockName]:(t[r.blockName]??[]).filter(t=>-1===r.variationNames.indexOf(t.name))}}return t},defaultBlockName:rg,freeformFallbackBlockName:ry,unregisteredFallbackBlockName:rv,groupingBlockName:rm("SET_GROUPING_BLOCK_NAME"),categories:function(t=rd,r){switch(r.type){case"SET_CATEGORIES":let n=new Map;return(r.categories||[]).forEach(t=>{n.set(t.slug,t)}),[...n.values()];case"UPDATE_CATEGORY":if(!r.category||!Object.keys(r.category).length)break;if(t.find(({slug:t})=>t===r.slug))return t.map(t=>t.slug===r.slug?{...t,...r.category}:t)}return t},collections:function(t={},r){switch(r.type){case"ADD_BLOCK_COLLECTION":return{...t,[r.namespace]:{title:r.title,icon:r.icon}};case"REMOVE_BLOCK_COLLECTION":return rc(t,r.namespace)}return t},blockBindingsSources:function(t={},r){switch(r.type){case"ADD_BLOCK_BINDINGS_SOURCE":return{...t,[r.name]:{label:r.label||t[r.name]?.label,usesContext:function(t=[],r=[]){let n=Array.from(new Set(t.concat(r)));return n.length>0?n:void 0}(t[r.name]?.usesContext,r.usesContext),getValues:r.getValues,setValues:r.setValues,canUserEditValue:r.setValues&&r.canUserEditValue,getFieldsList:r.getFieldsList}};case"REMOVE_BLOCK_BINDINGS_SOURCE":return rc(t,r.name)}return t}}),r_=n(45433),rw=n.n(r_),rS=(t,r,n)=>{let i=Array.isArray(r)?r:r.split("."),o=t;return i.forEach(t=>{o=o?.[t]}),o??n};function rx(t){return"object"==typeof t&&t.constructor===Object&&null!==t}var rE=["background","backgroundColor","color","linkColor","captionColor","buttonColor","headingColor","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","padding","contentSize","wideSize","blockGap","textDecoration","textTransform","letterSpacing"];function rk(t,r,n){return t.filter(t=>("fontSize"!==t||"heading"!==n)&&("textDecoration"!==t||!!r||"link"===n)&&("textTransform"!==t||!!r||!!(["heading","h1","h2","h3","h4","h5","h6"].includes(n)||"button"===n||"caption"===n||"text"===n))&&("letterSpacing"!==t||!!r||!!(["heading","h1","h2","h3","h4","h5","h6"].includes(n)||"button"===n||"caption"===n||"text"===n))&&("textColumns"!==t||!!r)&&!0)}var rC=ef((t,r,n)=>{if(!r)return rk(rE,r,n);let i=rL(t,r);if(!i)return[];let o=[];return i?.supports?.spacing?.blockGap&&o.push("blockGap"),i?.supports?.shadow&&o.push("shadow"),Object.keys(rt).forEach(t=>{if(rt[t].support){if(rt[t].requiresOptOut&&rt[t].support[0]in i.supports&&!1!==rS(i.supports,rt[t].support)){o.push(t);return}rS(i.supports,rt[t].support,!1)&&o.push(t)}}),rk(o,r,n)},(t,r)=>[t.blockTypes[r]]);function rO(t,r){return t.bootstrappedBlockTypes[r]}function rR(t){return t.unprocessedBlockTypes}function rT(t){return t.blockBindingsSources}function rP(t,r){return t.blockBindingsSources[r]}var rM=(t,r)=>{let n=rL(t,r);return!!n&&Object.values(n.attributes).some(({role:t,__experimentalRole:n})=>"content"===t||"content"===n&&(eu("__experimentalRole attribute",{since:"6.7",version:"6.8",alternative:"role attribute",hint:`Check the block.json of the ${r} block.`}),!0))},rI=(t,r)=>"string"==typeof r?rL(t,r):r,rA=ef(t=>Object.values(t.blockTypes),t=>[t.blockTypes]);function rL(t,r){return t.blockTypes[r]}function rN(t,r){return t.blockStyles[r]}var rj=ef((t,r,n)=>{let i=t.blockVariations[r];return i&&n?i.filter(t=>(t.scope||["block","inserter"]).includes(n)):i},(t,r)=>[t.blockVariations[r]]);function rD(t,r,n,i){let o,a=rj(t,r,i);if(!a)return a;let s=rL(t,r),l=Object.keys(s?.attributes||{}),u=0;for(let t of a)if(Array.isArray(t.isActive)){let r=t.isActive.filter(t=>{let r=t.split(".")[0];return l.includes(r)}),i=r.length;if(0===i)continue;r.every(r=>{let i=rS(t.attributes,r);if(void 0===i)return!1;let o=rS(n,r);return o instanceof t6&&(o=o.toHTMLString()),function t(r,n){return rx(r)&&rx(n)?Object.entries(n).every(([n,i])=>t(r?.[n],i)):r===n}(o,i)})&&i>u&&(o=t,u=i)}else if(t.isActive?.(n,t.attributes))return o||t;return!o&&["block","transform"].includes(i)&&(o=a.find(t=>t?.isDefault&&!Object.hasOwn(t,"isActive"))),o}function rF(t,r,n){let i=rj(t,r,n);return[...i].reverse().find(({isDefault:t})=>!!t)||i[0]}function rB(t){return t.categories}function r$(t){return t.collections}function rU(t){return t.defaultBlockName}function rz(t){return t.freeformFallbackBlockName}function rq(t){return t.unregisteredFallbackBlockName}function rZ(t){return t.groupingBlockName}var rH=ef((t,r)=>rA(t).filter(t=>t.parent?.includes(r)).map(({name:t})=>t),t=>[t.blockTypes]),rV=(t,r,n,i)=>{let o=rI(t,r);return o?.supports?rS(o.supports,n,i):i};function rW(t,r,n,i){return!!rV(t,r,n,i)}function rG(t){return rw()(t??"").toLowerCase().trim()}function rK(t,r,n=""){let i=rI(t,r),o=rG(n),a=t=>rG(t).includes(o);return a(i.title)||i.keywords?.some(a)||a(i.category)||"string"==typeof i.description&&a(i.description)}var rX=(t,r)=>rH(t,r).length>0,rY=(t,r)=>rH(t,r).some(r=>rW(t,r,"inserter",!0)),rJ=(...t)=>(eu("__experimentalHasContentRoleAttribute",{since:"6.7",version:"6.8",hint:"This is a private selector."}),rM(...t)),rQ=n(26229),r0=new Set;function r1(t){if(!0===globalThis.SCRIPT_DEBUG&&!r0.has(t)){console.warn(t);try{throw Error(t)}catch(t){}r0.add(t)}}var r2={common:"text",formatting:"text",layout:"design"},r5=(t,r)=>({select:n})=>{let i=n.getBootstrappedBlockType(t),o={apiVersion:1,name:t,icon:t9,keywords:[],attributes:{},providesContext:{},usesContext:[],selectors:{},supports:{},styles:[],blockHooks:{},save:()=>null,...i,...r,variations:function(t=[],r=[]){let n=[...t];return r.forEach(t=>{let r=n.findIndex(r=>r.name===t.name);-1!==r?n[r]={...n[r],...t}:n.push(t)}),n}(Array.isArray(i?.variations)?i.variations:[],Array.isArray(r?.variations)?r.variations:[])};o.attributes&&"object"==typeof o.attributes||(r1('The block "'+t+'" is registering attributes as `null` or `undefined`. Use an empty object (`attributes: {}`) or exclude the `attributes` key.'),o.attributes={});let a=(0,es.applyFilters)("blocks.registerBlockType",o,t,null);if(a.apiVersion<=2&&r1(`The block "${t}" is registered with API version 2 or lower. This means that the post editor may work as a non-iframe editor.
Since all editors are planned to work as iframes in the future, set the \`apiVersion\` field to 3 and test the block inside the iframe editor.
See: https://developer.wordpress.org/block-editor/reference-guides/block-api/block-api-versions/#version-3-wordpress-6-3`),a.description&&"string"!=typeof a.description&&eu("Declaring non-string block descriptions",{since:"6.2"}),a.deprecated&&(a.deprecated=a.deprecated.map(t=>Object.fromEntries(Object.entries((0,es.applyFilters)("blocks.registerBlockType",{...rc(o,re),...t},o.name,t)).filter(([t])=>re.includes(t))))),!F(a)){r1("Block settings must be a valid object.");return}if("function"!=typeof a.save){r1('The "save" property must be a valid function.');return}if("edit"in a&&!(0,rQ.isValidElementType)(a.edit)){r1('The "edit" property must be a valid component.');return}if(r2.hasOwnProperty(a.category)&&(a.category=r2[a.category]),"category"in a&&!n.getCategories().some(({slug:t})=>t===a.category)&&(r1('The block "'+t+'" is registered with an invalid category "'+a.category+'".'),delete a.category),!("title"in a)||""===a.title){r1('The block "'+t+'" must have a title.');return}if("string"!=typeof a.title){r1("Block titles must be strings.");return}if(a.icon=function(t){if(rs(t=t||t9))return{src:t};if("background"in t){let r=tO(t.background),n=t=>r.contrast(t),i=Math.max(...ra.map(n));return{...t,foreground:t.foreground?t.foreground:ra.find(t=>n(t)===i),shadowColor:r.alpha(.3).toRgbString()}}return t}(a.icon),!rs(a.icon.src)){r1("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional");return}if(("string"==typeof a?.parent||a?.parent instanceof String)&&(a.parent=[a.parent],r1("Parent must be undefined or an array of strings (block types), but it is a string.")),!Array.isArray(a?.parent)&&a?.parent!==void 0){r1("Parent must be undefined or an array of block types, but it is ",a.parent);return}if(1===a?.parent?.length&&t===a.parent[0]){r1('Block "'+t+'" cannot be a parent of itself. Please remove the block name from the parent list.');return}return a};function r3(t){return{type:"ADD_BLOCK_TYPES",blockTypes:Array.isArray(t)?t:[t]}}function r6(){return({dispatch:t,select:r})=>{let n=[];for(let[i,o]of Object.entries(r.getUnprocessedBlockTypes())){let r=t(r5(i,o));r&&n.push(r)}n.length&&t.addBlockTypes(n)}}function r4(){return eu('wp.data.dispatch( "core/blocks" ).__experimentalReapplyBlockFilters',{since:"6.4",alternative:"reapplyBlockFilters"}),r6()}function r8(t){return{type:"REMOVE_BLOCK_TYPES",names:Array.isArray(t)?t:[t]}}function r7(t,r){return{type:"ADD_BLOCK_STYLES",styles:Array.isArray(r)?r:[r],blockNames:Array.isArray(t)?t:[t]}}function r9(t,r){return{type:"REMOVE_BLOCK_STYLES",styleNames:Array.isArray(r)?r:[r],blockName:t}}function ne(t,r){return{type:"ADD_BLOCK_VARIATIONS",variations:Array.isArray(r)?r:[r],blockName:t}}function nt(t,r){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Array.isArray(r)?r:[r],blockName:t}}function nr(t){return{type:"SET_DEFAULT_BLOCK_NAME",name:t}}function nn(t){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:t}}function ni(t){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:t}}function no(t){return{type:"SET_GROUPING_BLOCK_NAME",name:t}}function na(t){return{type:"SET_CATEGORIES",categories:t}}function ns(t,r){return{type:"UPDATE_CATEGORY",slug:t,category:r}}function nl(t,r,n){return{type:"ADD_BLOCK_COLLECTION",namespace:t,title:r,icon:n}}function nu(t){return{type:"REMOVE_BLOCK_COLLECTION",namespace:t}}function nc(t,r){return{type:"ADD_BOOTSTRAPPED_BLOCK_TYPE",name:t,blockType:r}}function nd(t,r){return({dispatch:n})=>{n({type:"ADD_UNPROCESSED_BLOCK_TYPE",name:t,blockType:r});let i=n(r5(t,r));i&&n.addBlockTypes(i)}}function np(t){return{type:"ADD_BLOCK_BINDINGS_SOURCE",name:t.name,label:t.label,usesContext:t.usesContext,getValues:t.getValues,setValues:t.setValues,canUserEditValue:t.canUserEditValue,getFieldsList:t.getFieldsList}}function nf(t){return{type:"REMOVE_BLOCK_BINDINGS_SOURCE",name:t}}var{lock:nh,unlock:nm}=K("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/blocks"),ng=eF("core/blocks",{reducer:rb,selectors:E,actions:k});eH(ng),nm(ng).registerPrivateSelectors(x),nm(ng).registerPrivateActions(C);var ny=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function n_(t,r,n,i,o){return{blockName:t,attrs:r,innerBlocks:n,innerHTML:i,innerContent:o}}function nw(t){return n_(null,{},[],t,[t])}var nS=t=>{u=t,c=0,d=[],f=[],ny.lastIndex=0;do;while(function(){let t=f.length,[r,n,i,o,a]=function(){let t=ny.exec(u);if(null===t)return["no-more-tokens","",null,0,0];let r=t.index,[n,i,o,a,s,,l]=t,c=n.length,d=!!i,f=!!l,h=(o||"core/")+a,m=s?function(t){try{return JSON.parse(t)}catch(t){return null}}(s):{};return(d,f)?["void-block",h,m,r,c]:d?["block-closer",h,null,r,c]:["block-opener",h,m,r,c]}(),s=o>c?c:null;switch(r){case"no-more-tokens":if(0===t)return nx(),!1;if(1===t)return nk(),!1;for(;0<f.length;)nk();return!1;case"void-block":if(0===t)return null!==s&&d.push(nw(u.substr(s,o-s))),d.push(n_(n,i,[],"",[])),c=o+a,!0;return nE(n_(n,i,[],"",[]),o,a),c=o+a,!0;case"block-opener":var l,h;return f.push((l=n_(n,i,[],"",[]),h=o+a,{block:l,tokenStart:o,tokenLength:a,prevOffset:h||o+a,leadingHtmlStart:s})),c=o+a,!0;case"block-closer":if(0===t)return nx(),!1;if(1===t)return nk(o),c=o+a,!0;let m=f.pop(),g=u.substr(m.prevOffset,o-m.prevOffset);return m.block.innerHTML+=g,m.block.innerContent.push(g),m.prevOffset=o+a,nE(m.block,m.tokenStart,m.tokenLength,o+a),c=o+a,!0;default:return nx(),!1}}());return d};function nx(t){let r=t||u.length-c;0!==r&&d.push(nw(u.substr(c,r)))}function nE(t,r,n,i){let o=f[f.length-1];o.block.innerBlocks.push(t);let a=u.substr(o.prevOffset,r-o.prevOffset);a&&(o.block.innerHTML+=a,o.block.innerContent.push(a)),o.block.innerContent.push(null),o.prevOffset=i||r+n}function nk(t){let{block:r,leadingHtmlStart:n,prevOffset:i,tokenStart:o}=f.pop(),a=t?u.substr(i,t-i):u.substr(i);a&&(r.innerHTML+=a,r.innerContent.push(a)),null!==n&&d.push(nw(u.substr(n,o-n))),d.push(r)}var nC=RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function nO(t,r){var n;return void 0===r&&(r={}),void 0===(n=(0,eQ.pi)({delimiter:"-"},r))&&(n={}),e5(t,(0,eQ.pi)({delimiter:"."},n))}function nR({children:t,...r}){let n="";return tM.Children.toArray(t).forEach(t=>{"string"==typeof t&&""!==t.trim()&&(n+=t)}),(0,tM.createElement)("div",{dangerouslySetInnerHTML:{__html:n},...r})}var nT=(0,tM.createContext)(void 0);nT.displayName="ElementContext";var{Provider:nP,Consumer:nM}=nT,nI=(0,tM.forwardRef)(()=>null),nA=new Set(["string","boolean","number"]),nL=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),nN=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"]),nj=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"]),nD=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 nF(t,r){return r.some(r=>0===t.indexOf(r))}var nB=["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((t,r)=>(t[r.toLowerCase()]=r,t),{}),n$=["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((t,r)=>(t[r.toLowerCase()]=r,t),{}),nU=["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","xmlns:xlink"].reduce((t,r)=>(t[r.replace(":","").toLowerCase()]=r,t),{});function nz(t,r,n={}){if(null==t||!1===t)return"";if(Array.isArray(t))return nZ(t,r,n);switch(typeof t){case"string":return tH(tZ(t));case"number":return t.toString()}let{type:i,props:o}=t;switch(i){case tM.StrictMode:case tM.Fragment:return nZ(o.children,r,n);case nR:let{children:a,...s}=o;return nq(Object.keys(s).length?"div":null,{...s,dangerouslySetInnerHTML:{__html:a}},r,n)}switch(typeof i){case"string":return nq(i,o,r,n);case"function":if(i.prototype&&"function"==typeof i.prototype.render)return function(t,r,n,i={}){let o=new t(r,i);return"function"==typeof o.getChildContext&&Object.assign(i,o.getChildContext()),nz(o.render(),n,i)}(i,o,r,n);return nz(i(o,n),r,n)}switch(i&&i.$$typeof){case nP.$$typeof:return nZ(o.children,o.value,n);case nM.$$typeof:return nz(o.children(r||i._currentValue),r,n);case nI.$$typeof:return nz(i.render(o),r,n)}return""}function nq(t,r,n,i={}){let o="";if("textarea"===t&&r.hasOwnProperty("value")){o=nZ(r.value,n,i);let{value:t,...a}=r;r=a}else r.dangerouslySetInnerHTML&&"string"==typeof r.dangerouslySetInnerHTML.__html?o=r.dangerouslySetInnerHTML.__html:void 0!==r.children&&(o=nZ(r.children,n,i));if(!t)return o;let a=function(t){let r="";for(let i in t){var n;let o=function(t){switch(t){case"htmlFor":return"for";case"className":return"class"}let r=t.toLowerCase();return n$[r]?n$[r]:nB[r]?nO(nB[r]):nU[r]?nU[r]:r}(i);if(tq.test(o))continue;let a=(n=t[i],"style"===i?function(t){let r;if(!F(t))return t;for(let n in t){let i=t[n];if(null!=i)r?r+=";":r="",r+=(n.startsWith("--")?n:nF(n,["ms","O","Moz","Webkit"])?"-"+nO(n):nO(n))+":"+("number"!=typeof i||0===i||nF(n,["--"])||nD.has(n)?i:i+"px")}return r}(n):n);if(!nA.has(typeof a)||"key"===i||"children"===i)continue;let s=nN.has(o);if(s&&!1===a)continue;let l=s||nF(i,["data-","aria-"])||nj.has(o);("boolean"!=typeof a||l)&&(r+=" "+o,s||("string"==typeof a&&(a=tV(a)),r+='="'+a+'"'))}return r}(r);return nL.has(t)?"<"+t+a+"/>":"<"+t+a+">"+o+"</"+t+">"}function nZ(t,r,n={}){let i="",o=Array.isArray(t)?t:[t];for(let t=0;t<o.length;t++)i+=nz(o[t],r,n);return i}function nH(t,r={}){let{isCommentDelimited:n=!0}=r,{blockName:i,attrs:o={},innerBlocks:a=[],innerContent:s=[]}=t,l=0,u=s.map(t=>null!==t?t:nH(a[l++],r)).join("\n").replace(/\n+/g,"\n").trim();return n?nK(i,o,u):u}n(52322);var nV={},nW={};function nG(t,r,n){return nz(function(t,r,n=[]){let i=rl(t);if(!i?.save)return null;let{save:o}=i;if(o.prototype instanceof tM.Component){let t=new o({attributes:r});o=t.render.bind(t)}nV.blockType=i,nV.attributes=r,nW.innerBlocks=n;let a=o({attributes:r,innerBlocks:n});if(null!==a&&"object"==typeof a&&(0,es.hasFilter)("blocks.getSaveContent.extraProps")&&!(i.apiVersion>1)){let t=(0,es.applyFilters)("blocks.getSaveContent.extraProps",{...a.props},i,r);eG(t,a.props)||(a=(0,tM.cloneElement)(a,t))}return(0,es.applyFilters)("blocks.getSaveElement",a,i,r)}(rl(t),r,n))}function nK(t,r,n){let i=r&&Object.entries(r).length?JSON.stringify(r).replaceAll("\\\\","\\u005c").replaceAll("--","\\u002d\\u002d").replaceAll("<","\\u003c").replaceAll(">","\\u003e").replaceAll("&","\\u0026").replaceAll('\\"',"\\u0022")+" ":"",o=t?.startsWith("core/")?t.slice(5):t;return n?`<!-- wp:${o} ${i}-->
`+n+`
<!-- /wp:${o} -->`:`<!-- wp:${o} ${i}/-->`}function nX(t){var r,n,i;1===t.length&&(r=t[0]).name===t$(ng).getDefaultBlockName()&&function(t,r){let n=ri(t.name)?.attributes??{};return(r?Object.entries(n).filter(([t,n])=>"content"===r&&"metadata"===t||n.role===r||n.__experimentalRole===r):Object.entries(n)).every(([r,n])=>{let i=t.attributes[r];return n.hasOwnProperty("default")?i===n.default:"rich-text"===n.type?!i?.length:void 0===i})}(r,void 0)&&(t=[]);let o=(Array.isArray(n=t)?n:[n]).map(t=>(function(t,{isInnerBlocks:r=!1}={}){var n;if(!t.isValid&&t.__unstableBlockSource)return nH(t.__unstableBlockSource);let i=t.name,o=function(t){let r=t.originalContent;if(t.isValid||t.innerBlocks.length)try{r=nG(t.name,t.attributes,t.innerBlocks)}catch(t){}return r}(t);if(i===rn()||!r&&i===rr())return o;let a=ri(i);return a?nK(i,(n=t.attributes,Object.entries(a.attributes??{}).reduce((t,[r,i])=>{let o=n[r];return void 0===o||void 0!==i.source||"local"===i.role||("local"===i.__experimentalRole?eu("__experimentalRole attribute",{since:"6.7",version:"6.8",alternative:"role attribute",hint:`Check the block.json of the ${a?.name} block.`}):"default"in i&&JSON.stringify(i.default)===JSON.stringify(o)||(t[r]=o)),t},{})),o):o})(t,void 0)).join("\n\n");return 1===t.length&&t[0].name===rr()&&"core/freeform"===t[0].name&&(o=function(t){let r="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",n=r+"|div|p",i=r+"|pre",o=[],a=!1,s=!1;return t?((-1!==t.indexOf("<script")||-1!==t.indexOf("<style"))&&(t=t.replace(/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,t=>(o.push(t),"<wp-preserve>"))),-1!==t.indexOf("<pre")&&(a=!0,t=t.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g,t=>(t=(t=t.replace(/<br ?\/?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/\r?\n/g,"<wp-line-break>"))),-1!==t.indexOf("[caption")&&(s=!0,t=t.replace(/\[caption[\s\S]+?\[\/caption\]/g,t=>t.replace(/<br([^>]*)>/g,"<wp-temp-br$1>").replace(/[\r\n\t]+/,""))),-1!==(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace(RegExp("\\s*</("+n+")>\\s*","g"),"</$1>\n")).replace(RegExp("\\s*<((?:"+n+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(<p [^>]+>[\s\S]*?)<\/p>/g,"$1</p#>")).replace(/<div( [^>]*)?>\s*<p>/gi,"<div$1>\n\n")).replace(/\s*<p>/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)<br ?\/?>\s*/gi,(t,r)=>r&&-1!==r.indexOf("\n")?"\n\n":"\n")).replace(/\s*<div/g,"\n<div")).replace(/<\/div>\s*/g,"</div>\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(RegExp("\\s*<((?:"+i+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(RegExp("\\s*</("+i+")>\\s*","g"),"</$1>\n")).replace(/<((li|dt|dd)[^>]*)>/g," 	<$1>")).indexOf("<option")&&(t=(t=t.replace(/\s*<option/g,"\n<option")).replace(/\s*<\/select>/g,"\n</select>")),-1!==t.indexOf("<hr")&&(t=t.replace(/\s*<hr( [^>]*)?>\s*/g,"\n\n<hr$1>\n\n")),-1!==t.indexOf("<object")&&(t=t.replace(/<object[\s\S]+?<\/object>/g,t=>t.replace(/[\r\n]+/g,""))),t=(t=(t=(t=t.replace(/<\/p#>/g,"</p>\n")).replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),a&&(t=t.replace(/<wp-line-break>/g,"\n")),s&&(t=t.replace(/<wp-temp-br([^>]*)>/g,"<br$1>")),o.length&&(t=t.replace(/<wp-preserve>/g,()=>o.shift())),t):""}(o)),o}var nY=/^#[xX]([A-Fa-f0-9]+)$/,nJ=/^#([0-9]+)$/,nQ=/^([A-Za-z0-9]+)$/;(function(t){this.named=t}).prototype.parse=function(t){if(t){var r=t.match(nY);if(r)return String.fromCharCode(parseInt(r[1],16));if(r=t.match(nJ))return String.fromCharCode(parseInt(r[1],10));if(r=t.match(nQ))return this.named[r[1]]}};var n0=/[\t\n\f ]/,n1=/[A-Za-z]/,n2=/\r\n?/g;function n5(t){return n0.test(t)}var n3=function(){function t(t,r,n){void 0===n&&(n="precompile"),this.delegate=t,this.entityParser=r,this.mode=n,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var t=this.peek();if("<"!==t||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===t){var r=this.tagNameBuffer.toLowerCase();("pre"===r||"textarea"===r)&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var t=this.peek(),r=this.tagNameBuffer;"<"!==t||this.isIgnoredEndTag()?"&"===t&&"script"!==r&&"style"!==r?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(t)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var t=this.consume();"!"===t?this.transitionTo("markupDeclarationOpen"):"/"===t?this.transitionTo("endTagOpen"):("@"===t||":"===t||n1.test(t))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(t))},markupDeclarationOpen:function(){var t=this.consume();"-"===t&&"-"===this.peek()?(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment()):"DOCTYPE"===t.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){n5(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var t=this.consume();!n5(t)&&(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(t.toLowerCase()))},doctypeName:function(){var t=this.consume();n5(t)?this.transitionTo("afterDoctypeName"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(t.toLowerCase())},afterDoctypeName:function(){var t=this.consume();if(!n5(t))if(">"===t)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var r=t.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),n="PUBLIC"===r.toUpperCase(),i="SYSTEM"===r.toUpperCase();(n||i)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),n?this.transitionTo("afterDoctypePublicKeyword"):i&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var t=this.peek();n5(t)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):'"'===t?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):"'"===t?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):">"===t&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var t=this.consume();'"'===t?this.transitionTo("afterDoctypePublicIdentifier"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(t)},doctypePublicIdentifierSingleQuoted:function(){var t=this.consume();"'"===t?this.transitionTo("afterDoctypePublicIdentifier"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(t)},afterDoctypePublicIdentifier:function(){var t=this.consume();n5(t)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===t?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===t&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var t=this.consume();n5(t)||(">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===t?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===t&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var t=this.consume();'"'===t?this.transitionTo("afterDoctypeSystemIdentifier"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(t)},doctypeSystemIdentifierSingleQuoted:function(){var t=this.consume();"'"===t?this.transitionTo("afterDoctypeSystemIdentifier"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(t)},afterDoctypeSystemIdentifier:function(){var t=this.consume();n5(t)||">"===t&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var t=this.consume();"-"===t?this.transitionTo("commentStartDash"):">"===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(t),this.transitionTo("comment"))},commentStartDash:function(){var t=this.consume();"-"===t?this.transitionTo("commentEnd"):">"===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var t=this.consume();"-"===t?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(t)},commentEndDash:function(){var t=this.consume();"-"===t?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+t),this.transitionTo("comment"))},commentEnd:function(){var t=this.consume();">"===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+t),this.transitionTo("comment"))},tagName:function(){var t=this.consume();n5(t)?this.transitionTo("beforeAttributeName"):"/"===t?this.transitionTo("selfClosingStartTag"):">"===t?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(t)},endTagName:function(){var t=this.consume();n5(t)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===t?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===t?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(t)},beforeAttributeName:function(){var t=this.peek();if(n5(t)){this.consume();return}"/"===t?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===t?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===t?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var t=this.peek();n5(t)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===t?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(('"'===t||"'"===t||"<"===t)&&this.delegate.reportSyntaxError(t+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(t))},afterAttributeName:function(){var t=this.peek();if(n5(t)){this.consume();return}"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===t?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t))},beforeAttributeValue:function(){var t=this.peek();n5(t)?this.consume():'"'===t?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===t?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(t))},attributeValueDoubleQuoted:function(){var t=this.consume();'"'===t?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(t)},attributeValueSingleQuoted:function(){var t=this.consume();"'"===t?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(t)},attributeValueUnquoted:function(){var t=this.peek();n5(t)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===t?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===t?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===t?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(t))},afterAttributeValueQuoted:function(){var t=this.peek();n5(t)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===t?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===t?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var t=this.consume();("@"===t||":"===t||n1.test(t))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(t))}},this.reset()}return t.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},t.prototype.transitionTo=function(t){this.state=t},t.prototype.tokenize=function(t){this.reset(),this.tokenizePart(t),this.tokenizeEOF()},t.prototype.tokenizePart=function(t){for(this.input+=t.replace(n2,"\n");this.index<this.input.length;){var r=this.states[this.state];if(void 0!==r)r.call(this);else throw Error("unhandled state "+this.state)}},t.prototype.tokenizeEOF=function(){this.flushData()},t.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},t.prototype.peek=function(){return this.input.charAt(this.index)},t.prototype.consume=function(){var t=this.peek();return this.index++,"\n"===t?(this.line++,this.column=0):this.column++,t},t.prototype.consumeCharRef=function(){var t=this.input.indexOf(";",this.index);if(-1!==t){var r=this.input.slice(this.index,t),n=this.entityParser.parse(r);if(n){for(var i=r.length;i;)this.consume(),i--;return this.consume(),n}}},t.prototype.markTagStart=function(){this.delegate.tagOpen()},t.prototype.appendToTagName=function(t){this.tagNameBuffer+=t,this.delegate.appendToTagName(t)},t.prototype.isIgnoredEndTag=function(){var t=this.tagNameBuffer;return"title"===t&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===t&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===t&&"<\/script>"!==this.input.substring(this.index,this.index+9)},t}(),n6=function(){function t(t,r){void 0===r&&(r={}),this.options=r,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new n3(this,t,r.mode),this._currentAttribute=void 0}return t.prototype.tokenize=function(t){return this.tokens=[],this.tokenizer.tokenize(t),this.tokens},t.prototype.tokenizePart=function(t){return this.tokens=[],this.tokenizer.tokenizePart(t),this.tokens},t.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},t.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},t.prototype.current=function(){var t=this.token;if(null===t)throw Error("token was unexpectedly null");if(0==arguments.length)return t;for(var r=0;r<arguments.length;r++)if(t.type===arguments[r])return t;throw Error("token type was unexpectedly "+t.type)},t.prototype.push=function(t){this.token=t,this.tokens.push(t)},t.prototype.currentAttribute=function(){return this._currentAttribute},t.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},t.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},t.prototype.appendToDoctypeName=function(t){this.current("Doctype").name+=t},t.prototype.appendToDoctypePublicIdentifier=function(t){var r=this.current("Doctype");void 0===r.publicIdentifier?r.publicIdentifier=t:r.publicIdentifier+=t},t.prototype.appendToDoctypeSystemIdentifier=function(t){var r=this.current("Doctype");void 0===r.systemIdentifier?r.systemIdentifier=t:r.systemIdentifier+=t},t.prototype.endDoctype=function(){this.addLocInfo()},t.prototype.beginData=function(){this.push({type:"Chars",chars:""})},t.prototype.appendToData=function(t){this.current("Chars").chars+=t},t.prototype.finishData=function(){this.addLocInfo()},t.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},t.prototype.appendToCommentData=function(t){this.current("Comment").chars+=t},t.prototype.finishComment=function(){this.addLocInfo()},t.prototype.tagOpen=function(){},t.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},t.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},t.prototype.finishTag=function(){this.addLocInfo()},t.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},t.prototype.appendToTagName=function(t){this.current("StartTag","EndTag").tagName+=t},t.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},t.prototype.appendToAttributeName=function(t){this.currentAttribute()[0]+=t},t.prototype.beginAttributeValue=function(t){this.currentAttribute()[2]=t},t.prototype.appendToAttributeValue=function(t){this.currentAttribute()[1]+=t},t.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},t.prototype.reportSyntaxError=function(t){this.current().syntaxError=t},t}();function n4(t){if("string"!=typeof t||-1===t.indexOf("&"))return t;void 0===h&&(h=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),h.innerHTML=t;let r=h.textContent??"";return h.innerHTML="",r}function n8(){function t(t){return(r,...n)=>t("Block validation: "+r,...n)}return{error:t(console.error),warning:t(console.warn),getItems:()=>[]}}var n7=/[\t\n\r\v\f ]+/g,n9=/^[\t\n\r\v\f ]*$/,ie=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,it=["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"],ir=[...it,"autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"],ii=[t=>t,function(t){return iu(t).join(" ")}],io=/^[\da-z]+$/i,ia=/^#\d+$/,is=/^#x[\da-f]+$/i,il=class{parse(t){if(io.test(t)||ia.test(t)||is.test(t))return n4("&"+t+";")}};function iu(t){return t.trim().split(n7)}function ic(t){return t.attributes.filter(t=>{let[r,n]=t;return n||0===r.indexOf("data-")||ir.includes(r)})}function id(t,r,n=n8()){let i=t.chars,o=r.chars;for(let t=0;t<ii.length;t++){let r=ii[t];if((i=r(i))===(o=r(o)))return!0}return n.warning("Expected text `%s`, saw `%s`.",r.chars,t.chars),!1}function ip(t){return 0===parseFloat(t)?"0":0===t.indexOf(".")?"0"+t:t}function ih(t){return Object.fromEntries(t.replace(/;?\s*$/,"").split(";").map(t=>{let[r,...n]=t.split(":"),i=n.join(":");return[r.trim(),iu(i.trim()).map(ip).join(" ").replace(ie,"url($1)")]}))}var im={class:(t,r)=>{let[n,i]=[t,r].map(iu),o=n.filter(t=>!i.includes(t)),a=i.filter(t=>!n.includes(t));return 0===o.length&&0===a.length},style:(t,r)=>eW()(...[t,r].map(ih)),...Object.fromEntries(it.map(t=>[t,()=>!0]))},ig={StartTag:(t,r,n=n8())=>t.tagName!==r.tagName&&t.tagName.toLowerCase()!==r.tagName.toLowerCase()?(n.warning("Expected tag name `%s`, instead saw `%s`.",r.tagName,t.tagName),!1):function(t,r,n=n8()){if(t.length!==r.length)return n.warning("Expected attributes %o, instead saw %o.",r,t),!1;let i={};for(let t=0;t<r.length;t++)i[r[t][0].toLowerCase()]=r[t][1];for(let r=0;r<t.length;r++){let[o,a]=t[r],s=o.toLowerCase();if(!i.hasOwnProperty(s))return n.warning("Encountered unexpected attribute `%s`.",o),!1;let l=i[s],u=im[s];if(u){if(!u(a,l))return n.warning("Expected attribute `%s` of value `%s`, saw `%s`.",o,l,a),!1}else if(a!==l)return n.warning("Expected attribute `%s` of value `%s`, saw `%s`.",o,l,a),!1}return!0}(...[t,r].map(ic),n),Chars:id,Comment:id};function iy(t){let r;for(;r=t.shift();)if("Chars"!==r.type||!n9.test(r.chars))return r}function ib(t,r){return!!t.selfClosing&&!!r&&r.tagName===t.tagName&&"EndTag"===r.type}function i_(t,r=t.name){let n;if(t.name===rr()||t.name===rn())return[!0,[]];let i=function(){let t=[],r=n8();return{error(...n){t.push({log:r.error,args:n})},warning(...n){t.push({log:r.warning,args:n})},getItems:()=>t}}(),o=rl(r);try{n=nG(o,t.attributes)}catch(t){return i.error("Block validation failed because an error occurred while generating block content:\n\n%s",t.toString()),[!1,i.getItems()]}let a=function(t,r,n=n8()){let i,o;if(t===r)return!0;let[a,s]=[t,r].map(t=>(function(t,r=n8()){try{return new n6(new il).tokenize(t)}catch(n){r.warning("Malformed HTML detected: %s",t)}return null})(t,n));if(!a||!s)return!1;for(;i=iy(a);){if(!(o=iy(s)))return n.warning("Expected end of content, instead saw %o.",i),!1;if(i.type!==o.type)return n.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",o.type,o,i.type,i),!1;let t=ig[i.type];if(t&&!t(i,o,n))return!1;ib(i,s[0])?iy(s):ib(o,a[0])&&iy(a)}return!(o=iy(s))||(n.warning("Expected %o, instead saw end of content.",o),!1)}(t.originalContent,n,i);return a||i.error("Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",o.name,o,n,t.originalContent),[a,i.getItems()]}let iw={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},iS=new Uint8Array(16),ix=[];for(let t=0;t<256;++t)ix.push((t+256).toString(16).slice(1));let iE=function(t,r,n){if(iw.randomUUID&&!r&&!t)return iw.randomUUID();let o=(t=t||{}).random||(t.rng||function(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(iS)})();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,r){n=n||0;for(let t=0;t<16;++t)r[n+t]=o[t];return r}return function(t,r=0){return ix[t[r+0]]+ix[t[r+1]]+ix[t[r+2]]+ix[t[r+3]]+"-"+ix[t[r+4]]+ix[t[r+5]]+"-"+ix[t[r+6]]+ix[t[r+7]]+"-"+ix[t[r+8]]+ix[t[r+9]]+"-"+ix[t[r+10]]+ix[t[r+11]]+ix[t[r+12]]+ix[t[r+13]]+ix[t[r+14]]+ix[t[r+15]]}(o)};function ik(t,r){if(r){if("string"==typeof t){var n=(l||(l=document.implementation.createHTMLDocument("")),l);n.body.innerHTML=t,t=n.body}return"function"==typeof r?r(t):Object===r.constructor?Object.keys(r).reduce(function(n,i){var o=r[i];return n[i]=ik(t,o),n},{}):void 0}}function iC(t,r){var n,i;return 1==arguments.length?(n=t,i=void 0):(n=r,i=t),function(t){var r=t;if(i&&(r=t.querySelector(i)),r){for(var o,a=r,s=n,l=s.split(".");o=l.shift();){if(!(o in a))return;a=a[o]}return a}}}var iO=(t,r)=>n=>{let i=t?n.querySelector(t):n;return i?t6.fromHTMLElement(i,{preserveWhiteSpace:r}):t6.empty()};function iR(t){if(eu("wp.blocks.node.fromDOM",{since:"6.1",version:"6.3",alternative:"wp.richText.create",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),t.nodeType===t.TEXT_NODE)return t.nodeValue;if(t.nodeType!==t.ELEMENT_NODE)throw TypeError("A block node can only be created from a node of type text or element.");return{type:t.nodeName.toLowerCase(),props:{...function(t){let r={};for(let n=0;n<t.length;n++){let{name:i,value:o}=t[n];r[i]=o}return r}(t.attributes),children:iT(t.childNodes)}}}function iT(t){eu("wp.blocks.children.fromDOM",{since:"6.1",version:"6.3",alternative:"wp.richText.create",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"});let r=[];for(let n=0;n<t.length;n++)try{r.push(iR(t[n]))}catch(t){}return r}var iP=t=>r=>void 0!==t(r),iM=function(t,r){var n,i,o=0;function a(){var a,s,l=n,u=arguments.length;e:for(;l;){if(l.args.length!==arguments.length){l=l.next;continue}for(s=0;s<u;s++)if(l.args[s]!==arguments[s]){l=l.next;continue e}return l!==n&&(l===i&&(i=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=n,l.prev=null,n.prev=l,n=l),l.val}for(s=0,a=Array(u);s<u;s++)a[s]=arguments[s];return l={args:a,val:t.apply(null,a)},n?(n.prev=l,l.next=n):i=l,o===r.maxSize?(i=i.prev).next=null:o++,n=l,l.val}return r=r||{},a.clear=function(){n=null,i=null,o=0},a}(t=>{var r,n,i,o,a;switch(t.source){case"attribute":{let r=function(t,r){var n,i;return 1==arguments.length?(n=t,i=void 0):(n=r,i=t),function(t){var r=iC(i,"attributes")(t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n].value}}(t.selector,t.attribute);return"boolean"===t.type&&(r=iP(r)),r}case"html":return r=t.selector,n=t.multiline,t=>{let i=t;if(r&&(i=t.querySelector(r)),!i)return"";if(n){let t="",r=i.children.length;for(let o=0;o<r;o++){let r=i.children[o];r.nodeName.toLowerCase()===n&&(t+=r.outerHTML)}return t}return i.innerHTML};case"text":return iC(t.selector,"textContent");case"rich-text":return iO(t.selector,t.__unstablePreserveWhiteSpace);case"children":return i=t.selector,eu("wp.blocks.children.matcher",{since:"6.1",version:"6.3",alternative:"html source",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),t=>{let r=t;return(i&&(r=t.querySelector(i)),r)?iT(r.childNodes):[]};case"node":return o=t.selector,eu("wp.blocks.node.matcher",{since:"6.1",version:"6.3",alternative:"html source",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),t=>{let r=t;o&&(r=t.querySelector(o));try{return iR(r)}catch(t){return null}};case"query":let s=Object.fromEntries(Object.entries(t.query).map(([t,r])=>[t,iM(r)]));return a=t.selector,function(t){var r=t.querySelectorAll(a);return[].map.call(r,function(t){return ik(t,s)})};case"tag":{let r=iC(t.selector,"nodeName");return t=>r(t)?.toLowerCase()}default:console.error(`Unknown source type "${t.source}"`)}});function iI(t,r){return iM(r)(ik(t,t=>t))}function iA(t,r,n={}){let i=ik(r,t=>t),o=rl(t),a=Object.fromEntries(Object.entries(o.attributes??{}).map(([t,o])=>[t,function(t,r,n,i,o){var a,s;let l;switch(r.source){case void 0:l=i?i[t]:void 0;break;case"raw":l=o;break;case"attribute":case"property":case"html":case"text":case"rich-text":case"children":case"node":case"query":case"tag":l=iI(n,r)}return function(t,r){return void 0===r||(Array.isArray(r)?r:[r]).some(r=>(function(t,r){switch(r){case"rich-text":return t instanceof t6;case"string":return"string"==typeof t;case"boolean":return"boolean"==typeof t;case"object":return!!t&&t.constructor===Object;case"null":return null===t;case"array":return Array.isArray(t);case"integer":case"number":return"number"==typeof t}return!0})(t,r))}(l,r.type)&&(a=l,!Array.isArray(s=r.enum)||s.includes(a))||(l=void 0),void 0===l&&(l=ru(r)),l}(t,o,i,n,r)]));return(0,es.applyFilters)("blocks.getBlockAttributes",a,o,r,n)}var iL={type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"};function iN(t){let r=iI(`<div data-custom-class-name>${t}</div>`,iL);return r?r.trim().split(/\s+/):[]}var ij={type:"string",source:"attribute",selector:"[data-aria-label] > *",attribute:"aria-label"};function iD(t,r){let{attributes:n,originalContent:i}=t,o=n;return o=function(t,r,n){if(!ro(r,"ariaLabel",!1))return t;let i={...t},o=iI(`<div data-aria-label>${n}</div>`,ij);return o&&(i.ariaLabel=o),i}(o=function(t,r,n){if(!ro(r,"customClassName",!0))return t;let i={...t},{className:o,...a}=i,s=nG(r,a),l=iN(s),u=iN(n).filter(t=>!l.includes(t));return u.length?i.className=u.join(" "):s&&delete i.className,i}(n,r,i),r,i),{...t,attributes:o}}function iF(){return!1}var iB=Symbol("fields");nh({},{isContentBlock:function(t){let r=ri(t),n=r?.attributes;return!!r?.supports?.contentRole||!!n&&!!Object.keys(n)?.some(t=>{let r=n[t];return r?.role==="content"||r?.__experimentalRole==="content"})},fieldsKey:iB,formKey:Symbol("form")});let i$=()=>new Map,iU=t=>{let r=i$();return t.forEach((t,n)=>{r.set(n,t)}),r},iz=(t,r,n)=>{let i=t.get(r);return void 0===i&&t.set(r,i=n()),i},iq=(t,r)=>{let n=[];for(let[i,o]of t)n.push(r(o,i));return n},iZ=(t,r)=>{for(let[n,i]of t)if(r(i,n))return!0;return!1},iH=()=>new Set,iV=t=>t[t.length-1],iW=(t,r)=>{for(let n=0;n<r.length;n++)t.push(r[n])},iG=Array.from,iK=(t,r)=>{for(let n=0;n<t.length;n++)if(r(t[n],n,t))return!0;return!1},iX=Array.isArray;let ObservableV2=class ObservableV2{constructor(){this._observers=i$()}on(t,r){return iz(this._observers,t,iH).add(r),r}once(t,r){let n=(...i)=>{this.off(t,n),r(...i)};this.on(t,n)}off(t,r){let n=this._observers.get(t);void 0!==n&&(n.delete(r),0===n.size&&this._observers.delete(t))}emit(t,r){return iG((this._observers.get(t)||i$()).values()).forEach(t=>t(...r))}destroy(){this._observers=i$()}};let Observable=class Observable{constructor(){this._observers=i$()}on(t,r){iz(this._observers,t,iH).add(r)}once(t,r){let n=(...i)=>{this.off(t,n),r(...i)};this.on(t,n)}off(t,r){let n=this._observers.get(t);void 0!==n&&(n.delete(r),0===n.size&&this._observers.delete(t))}emit(t,r){return iG((this._observers.get(t)||i$()).values()).forEach(t=>t(...r))}destroy(){this._observers=i$()}};let iY=Math.floor,iJ=Math.abs,iQ=Math.log10,i0=(t,r)=>t<r?t:r,i1=(t,r)=>t>r?t:r,i2=t=>0!==t?t<0:1/t<0,i5=Number.MAX_SAFE_INTEGER,i3=Number.isInteger||(t=>"number"==typeof t&&isFinite(t)&&iY(t)===t),i6=String.fromCharCode;i6(65535);let i4=t=>t.toLowerCase(),i8=/^\s*/g,i7=t=>t.replace(i8,""),i9=/([A-Z])/g,oe=(t,r)=>i7(t.replace(i9,t=>`${r}${i4(t)}`)),ot="undefined"!=typeof TextEncoder?new TextEncoder:null,or=ot?t=>ot.encode(t):t=>{let r=unescape(encodeURIComponent(t)),n=r.length,i=new Uint8Array(n);for(let t=0;t<n;t++)i[t]=r.codePointAt(t);return i},on="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});on&&1===on.decode(new Uint8Array).length&&(on=null);let Encoder=class Encoder{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}};let oi=()=>new Encoder,oo=t=>{let r=t.cpos;for(let n=0;n<t.bufs.length;n++)r+=t.bufs[n].length;return r},oa=t=>{let r=new Uint8Array(oo(t)),n=0;for(let i=0;i<t.bufs.length;i++){let o=t.bufs[i];r.set(o,n),n+=o.length}return r.set(new Uint8Array(t.cbuf.buffer,0,t.cpos),n),r},os=(t,r)=>{let n=t.cbuf.length;n-t.cpos<r&&(t.bufs.push(new Uint8Array(t.cbuf.buffer,0,t.cpos)),t.cbuf=new Uint8Array(2*i1(n,r)),t.cpos=0)},ol=(t,r)=>{let n=t.cbuf.length;t.cpos===n&&(t.bufs.push(t.cbuf),t.cbuf=new Uint8Array(2*n),t.cpos=0),t.cbuf[t.cpos++]=r},ou=(t,r)=>{for(;r>127;)ol(t,128|127&r),r=iY(r/128);ol(t,127&r)},oc=(t,r)=>{let n=i2(r);for(n&&(r=-r),ol(t,128*(r>63)|64*!!n|63&r),r=iY(r/64);r>0;)ol(t,128*(r>127)|127&r),r=iY(r/128)},od=new Uint8Array(3e4),op=od.length/3,of=ot&&ot.encodeInto?(t,r)=>{if(r.length<op){let n=ot.encodeInto(r,od).written||0;ou(t,n);for(let r=0;r<n;r++)ol(t,od[r])}else om(t,or(r))}:(t,r)=>{let n=unescape(encodeURIComponent(r)),i=n.length;ou(t,i);for(let r=0;r<i;r++)ol(t,n.codePointAt(r))},oh=(t,r)=>{let n=t.cbuf.length,i=t.cpos,o=i0(n-i,r.length),a=r.length-o;t.cbuf.set(r.subarray(0,o),i),t.cpos+=o,a>0&&(t.bufs.push(t.cbuf),t.cbuf=new Uint8Array(i1(2*n,a)),t.cbuf.set(r.subarray(o)),t.cpos=a)},om=(t,r)=>{ou(t,r.byteLength),oh(t,r)},og=(t,r)=>{os(t,r);let n=new DataView(t.cbuf.buffer,t.cpos,r);return t.cpos+=r,n},oy=(t,r)=>og(t,4).setFloat32(0,r,!1),ov=(t,r)=>og(t,8).setFloat64(0,r,!1),ob=(t,r)=>og(t,8).setBigInt64(0,r,!1),o_=new DataView(new ArrayBuffer(4)),ow=t=>(o_.setFloat32(0,t),o_.getFloat32(0)===t),oS=(t,r)=>{switch(typeof r){case"string":ol(t,119),of(t,r);break;case"number":i3(r)&&0x7fffffff>=iJ(r)?(ol(t,125),oc(t,r)):ow(r)?(ol(t,124),oy(t,r)):(ol(t,123),ov(t,r));break;case"bigint":ol(t,122),ob(t,r);break;case"object":if(null===r)ol(t,126);else if(iX(r)){ol(t,117),ou(t,r.length);for(let n=0;n<r.length;n++)oS(t,r[n])}else if(r instanceof Uint8Array)ol(t,116),om(t,r);else{ol(t,118);let n=Object.keys(r);ou(t,n.length);for(let i=0;i<n.length;i++){let o=n[i];of(t,o),oS(t,r[o])}}break;case"boolean":ol(t,r?120:121);break;default:ol(t,127)}};let RleEncoder=class RleEncoder extends Encoder{constructor(t){super(),this.w=t,this.s=null,this.count=0}write(t){this.s===t?this.count++:(this.count>0&&ou(this,this.count-1),this.count=1,this.w(this,t),this.s=t)}};let ox=t=>{t.count>0&&(oc(t.encoder,1===t.count?t.s:-t.s),t.count>1&&ou(t.encoder,t.count-2))};let UintOptRleEncoder=class UintOptRleEncoder{constructor(){this.encoder=new Encoder,this.s=0,this.count=0}write(t){this.s===t?this.count++:(ox(this),this.count=1,this.s=t)}toUint8Array(){return ox(this),oa(this.encoder)}};let oE=t=>{if(t.count>0){let r=2*t.diff+ +(1!==t.count);oc(t.encoder,r),t.count>1&&ou(t.encoder,t.count-2)}};let IntDiffOptRleEncoder=class IntDiffOptRleEncoder{constructor(){this.encoder=new Encoder,this.s=0,this.count=0,this.diff=0}write(t){this.diff===t-this.s?(this.s=t,this.count++):(oE(this),this.count=1,this.diff=t-this.s,this.s=t)}toUint8Array(){return oE(this),oa(this.encoder)}};let StringEncoder=class StringEncoder{constructor(){this.sarr=[],this.s="",this.lensE=new UintOptRleEncoder}write(t){this.s+=t,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(t.length)}toUint8Array(){let t=new Encoder;return this.sarr.push(this.s),this.s="",of(t,this.sarr.join("")),oh(t,this.lensE.toUint8Array()),oa(t)}};let ok=t=>Error(t),oC=()=>{throw ok("Method unimplemented")},oO=()=>{throw ok("Unexpected case")},oR=ok("Unexpected end of array"),oT=ok("Integer out of Range");let Decoder=class Decoder{constructor(t){this.arr=t,this.pos=0}};let oP=t=>new Decoder(t),oM=t=>t.pos!==t.arr.length,oI=(t,r)=>{let n=new Uint8Array(t.arr.buffer,t.pos+t.arr.byteOffset,r);return t.pos+=r,n},oA=t=>oI(t,oN(t)),oL=t=>t.arr[t.pos++],oN=t=>{let r=0,n=1,i=t.arr.length;for(;t.pos<i;){let i=t.arr[t.pos++];if(r+=(127&i)*n,n*=128,i<128)return r;if(r>i5)throw oT}throw oR},oj=t=>{let r=t.arr[t.pos++],n=63&r,i=64,o=(64&r)>0?-1:1;if((128&r)==0)return o*n;let a=t.arr.length;for(;t.pos<a;){if(n+=(127&(r=t.arr[t.pos++]))*i,i*=128,r<128)return o*n;if(n>i5)throw oT}throw oR},oD=on?t=>on.decode(oA(t)):t=>{let r=oN(t);if(0===r)return"";{let n=String.fromCodePoint(oL(t));if(--r<100)for(;r--;)n+=String.fromCodePoint(oL(t));else for(;r>0;){let i=r<1e4?r:1e4,o=t.arr.subarray(t.pos,t.pos+i);t.pos+=i,n+=String.fromCodePoint.apply(null,o),r-=i}return decodeURIComponent(escape(n))}},oF=(t,r)=>{let n=new DataView(t.arr.buffer,t.arr.byteOffset+t.pos,r);return t.pos+=r,n},oB=[t=>void 0,t=>null,oj,t=>oF(t,4).getFloat32(0,!1),t=>oF(t,8).getFloat64(0,!1),t=>oF(t,8).getBigInt64(0,!1),t=>!1,t=>!0,oD,t=>{let r=oN(t),n={};for(let i=0;i<r;i++)n[oD(t)]=o$(t);return n},t=>{let r=oN(t),n=[];for(let i=0;i<r;i++)n.push(o$(t));return n},oA],o$=t=>oB[127-oL(t)](t);let RleDecoder=class RleDecoder extends Decoder{constructor(t,r){super(t),this.reader=r,this.s=null,this.count=0}read(){return 0===this.count&&(this.s=this.reader(this),oM(this)?this.count=oN(this)+1:this.count=-1),this.count--,this.s}};let UintOptRleDecoder=class UintOptRleDecoder extends Decoder{constructor(t){super(t),this.s=0,this.count=0}read(){if(0===this.count){this.s=oj(this);let t=i2(this.s);this.count=1,t&&(this.s=-this.s,this.count=oN(this)+2)}return this.count--,this.s}};let IntDiffOptRleDecoder=class IntDiffOptRleDecoder extends Decoder{constructor(t){super(t),this.s=0,this.count=0,this.diff=0}read(){if(0===this.count){let t=oj(this);this.diff=iY(t/2),this.count=1,1&t&&(this.count=oN(this)+2)}return this.s+=this.diff,this.count--,this.s}};let StringDecoder=class StringDecoder{constructor(t){this.decoder=new UintOptRleDecoder(t),this.str=oD(this.decoder),this.spos=0}read(){let t=this.spos+this.decoder.read(),r=this.str.slice(this.spos,t);return this.spos=t,r}};crypto.subtle;let oU=crypto.getRandomValues.bind(crypto),oz=Math.random,oq=()=>oU(new Uint32Array(1))[0],oZ=()=>"10000000-1000-4000-8000-100000000000".replace(/[018]/g,t=>(t^oq()&15>>t/4).toString(16)),oH=t=>new Promise(t);Promise.all.bind(Promise);let oV=t=>Promise.reject(t),oW=t=>Promise.resolve(t),oG=t=>void 0===t?null:t;let VarStoragePolyfill=class VarStoragePolyfill{constructor(){this.map=new Map}setItem(t,r){this.map.set(t,r)}getItem(t){return this.map.get(t)}};let oK=new VarStoragePolyfill,oX=!0;try{"undefined"!=typeof localStorage&&localStorage&&(oK=localStorage,oX=!1)}catch(t){}let oY=oK,oJ=t=>oX||addEventListener("storage",t),oQ=t=>oX||removeEventListener("storage",t),o0=Object.assign,o1=Object.keys,o2=(t,r)=>{for(let n in t)r(t[n],n)},o5=t=>o1(t).length,o3=t=>o1(t).length,o6=t=>{for(let r in t)return!1;return!0},o4=(t,r)=>{for(let n in t)if(!r(t[n],n))return!1;return!0},o8=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),o7=(t,r)=>t===r||o3(t)===o3(r)&&o4(t,(t,n)=>(void 0!==t||o8(r,n))&&r[n]===t),o9=Object.freeze,ae=t=>{for(let r in t){let n=t[r];("object"==typeof n||"function"==typeof n)&&ae(t[r])}return o9(t)},at=Symbol("Equality"),ar=(t,r,n=0)=>{try{for(;n<t.length;n++)t[n](...r)}finally{n<t.length&&ar(t,r,n+1)}},an=()=>{},ai=t=>t,ao=(t,r)=>{if(t===r)return!0;if(null==t||null==r||t.constructor!==r.constructor)return!1;if(null!=t[at])return t[at](r);switch(t.constructor){case ArrayBuffer:t=new Uint8Array(t),r=new Uint8Array(r);case Uint8Array:if(t.byteLength!==r.byteLength)return!1;for(let n=0;n<t.length;n++)if(t[n]!==r[n])return!1;break;case Set:if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;break;case Map:if(t.size!==r.size)return!1;for(let n of t.keys())if(!r.has(n)||!ao(t.get(n),r.get(n)))return!1;break;case Object:if(o5(t)!==o5(r))return!1;for(let n in t)if(!o8(t,n)||!ao(t[n],r[n]))return!1;break;case Array:if(t.length!==r.length)return!1;for(let n=0;n<t.length;n++)if(!ao(t[n],r[n]))return!1;break;default:return!1}return!0},aa="undefined"!=typeof process&&process.release&&/node|io\.js/.test(process.release.name)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0),as="undefined"!=typeof window&&"undefined"!=typeof document&&!aa;"undefined"!=typeof navigator&&/Mac/.test(navigator.platform);let al=[],au=()=>{if(void 0===o)if(aa){o=i$();let t=process.argv,r=null;for(let n=0;n<t.length;n++){let i=t[n];"-"===i[0]?(null!==r&&o.set(r,""),r=i):null!==r?(o.set(r,i),r=null):al.push(i)}null!==r&&o.set(r,"")}else"object"==typeof location?(o=i$(),(location.search||"?").slice(1).split("&").forEach(t=>{if(0!==t.length){let[r,n]=t.split("=");o.set(`--${oe(r,"-")}`,n),o.set(`-${oe(r,"-")}`,n)}})):o=i$();return o},ac=t=>au().has(t),ad=t=>aa?oG({NX_PUBLIC_VERSION:"package",NX_PUBLIC_RUNNING_AS_PACKAGE:"true",NX_PUBLIC_CI_GCP_STATIC_BUCKET_URL:"https://storage.googleapis.com/static-platform-client-elementor-one-prod.new-prod.elementor.red/app-elementor-one/package",NX_PUBLIC_ENV:"production",NX_PUBLIC_ELEMENTOR_URL:"https://elementor.com",NX_PUBLIC_API_URL:"https://my.elementor.com/api/account/v1",NX_PUBLIC_LOGIN_URL:"https://my.elementor.com/login/",NX_PUBLIC_SIGNUP_URL:"https://my.elementor.com/signup/",NX_PUBLIC_STRIPE_PUBLIC_KEY:"pk_live_aN6rwqRkxsmpqFV4fDNMLPO5",NX_PUBLIC_SENTRY_DSN:"https://54e862b32e304065b6ee2b55ed5c8674@o569960.ingest.sentry.io/5847583",NX_PUBLIC_KITS_API:"https://my.elementor.com/api/v1/kits-library",NX_PUBLIC_CLOUD_DOMAIN_URL:"elementor.cloud",NX_PUBLIC_BRAINTREE_ENV:"production",NX_PUBLIC_THUMBNAIL_URL:"https://thumbs.elementor.com/?w=510&h=288&ert=code&url=",NX_PUBLIC_HOSTING_API_BASE_URL:"https://my.elementor.com/hosting/api",NX_PUBLIC_GTM_URL:"https://gtm.elementor.com",NX_PUBLIC_API_CUSTOMER_URL:"https://my.elementor.com/customer/api/v1",NX_PUBLIC_USER_API_BASE_URL:"https://my.elementor.com/api/v3/users",NX_PUBLIC_LICENSE_API_URL:"https://my.elementor.com/connect/api/v1",NX_PUBLIC_ZUORA_PAYMENT_PAGE:"acd",NX_PUBLIC_ZUORA_PAYMENT_PAGE_URL:"https://eu.zuora.com/apps/PublicHostedPageLite.do",NX_PUBLIC_STORE_BFF_BASE_URL:"https://my.elementor.com/store-bff/api/v1",NX_PUBLIC_CUSTOMER_SERVICE_BASE_URL:"https://my.elementor.com/customer/api/v1",NX_PUBLIC_ARTIFACT_API_URL:"https://my.elementor.com/api/v1/artifacts",NX_PUBLIC_MIXPANEL_TOKEN:"150605b3b9f979922f2ac5a52e2dcfe9",NX_PUBLIC_CI_GCP_STATIC_BUCKET_URL_FALLBACK:"https://storage.googleapis.com/static-platform-client-workspace-prod.new-prod.elementor.red",NX_PUBLIC_CI_GCP_STATIC_BUCKET_URL_FALLBACK_ONE:"https://storage.googleapis.com/static-platform-client-elementor-one-prod.new-prod.elementor.red",NX_PUBLIC_NEW_STORE_SUBSCRIPTIONS_API_URL:"https://my.elementor.com/subscription/api/v1",NX_PUBLIC_BACKUP_SERVICE_API_URL:"https://my.elementor.com/apps/api/v1/site-backup/",NX_PUBLIC_ELEMENTOR_CARE_API:"https://my.elementor.com/care/api/v1",NX_PUBLIC_ELEMENTOR_CARE_SERVICES_API:"https://my.elementor.com/care/api/v1/services",NX_PUBLIC_ELEMENTOR_CARE_CLAIM_FORM:"https://my.elementor.com/elementor-care-services",NX_PUBLIC_STATIC_API_URL:"https://my.elementor.com/api/static/",NX_PUBLIC_STATSIG_INFRA_SDK_KEY:"client-Onfvg9InwX6G86u5uAv0STBHg0IEolZ0HRSDcWjkNwe",NX_PUBLIC_STATSIG_HOSTING_SDK_KEY:"client-NBw21XKuS8Cr8Ut4p9vMoLlKcJNt0vNhT1P3MhX6cBF",NX_PUBLIC_EBS_LICENSE_API:"https://my.elementor.com/license/api/v1",NX_PUBLIC_SUPPORT_FORM_URL:"https://my.elementor.com/support-form/",NX_PUBLIC_SUPPORT_ACTIVITIES:"https://elementor.kustomer.help/login?referralUrl=https%3A%2F%2Felementor.kustomer.help%2Fen_us%2Fconversations?page=1&q=&externalToken=",NX_PUBLIC_SUPPORT_CSM:"https://my.elementor.com/platinum-contact/",NX_PUBLIC_VAT_VALIDATOR_SERVICE_BASE_URL:"https://my.elementor.com/vat/api/v1",NX_PUBLIC_BACKOFFICE_ZUORA_SUB_LINK:"https://eu.zuora.com/platform/subscriptions/",NX_PUBLIC_BACKOFFICE_ZUORA_USER_LINK:"https://eu.zuora.com/apps/CustomerAccount.do?method=view&id=",NX_PUBLIC_BACKOFFICE_ZUORA_ORDER_LINK:"https://eu.zuora.com/orders",NX_PUBLIC_BACKOFFICE_ZUORA_ORDER_LINE_ITEM_LINK:"https://eu.zuora.com/platform/orders/OrderLineItems/",NX_PUBLIC_BACKOFFICE_KUSTOMER_USER_LINK:"https://elementor.kustomerapp.com/app/customers/",NX_PUBLIC_BACKOFFICE_WP_ADMIN_USER_LINK:"https://my.elementor.com/wp-admin/user-edit.php?user_id=",NX_PUBLIC_BACKOFFICE_HOSTING_SUPPORT_SITE_LINK:"https://support.elementor.red/",NX_PUBLIC_BACKOFFICE_ZUORA_HOMEPAGE_LINK:"https://eu.zuora.com/platform/webapp",NX_PUBLIC_BACKOFFICE_KUSTOMER_HOMEPAGE_LINK:"https://elementor.kustomerapp.com/",NX_PUBLIC_BACKOFFICE_WP_ADMIN_HOMEPAGE_LINK:"https://my.elementor.com/wp-admin/",NX_PUBLIC_BACKOFFICE_HOSTING_SUPPORT_HOMEPAGE_LINK:"https://support.elementor.red/",NX_PUBLIC_BACKOFFICE_EIS_SERVICE_PROXY:"https://backoffice.elementor.red/api/v1",NX_PUBLIC_BACKOFFICE_MAX_CACHED_ENTITIES:"100",NX_PUBLIC_MY_ELEMENTOR_SUPPORT:"https://my.elementor.com/care/support/",NX_PUBLIC_ELEMENTOR_PRICING:"https://elementor.com/pricing/",NX_PUBLIC_ELEMENTOR_HOSTING_PRICING:"https://elementor.com/hosting/#plans",NX_PUBLIC_USERS_API_BASE_URL:"https://my.elementor.com/api/auth/v1",NX_PUBLIC_FACEBOOK_APP_ID:"705488454959798",NX_PUBLIC_GOOGLE_CLIENT_ID:"980588508252-s34qbvjsefg0d7csi3nemje76fvetjpb.apps.googleusercontent.com",NX_PUBLIC_APPLE_CLIENT_ID:"my.elementor.com",NX_PUBLIC_MY_ELEMENTOR_URI:"https://my.elementor.com",NX_PUBLIC_RECAPTCHA_SITE_KEY:"6LegOKccAAAAAHl66Ah2enQGPuZv9Yjnv0TqXGJ0",NX_PUBLIC_DNS_PROVIDER:"https://cloudflare-dns.com/dns-query",NX_PUBLIC_ELEMENTOR_IPS:"162.159.138.9,162.159.137.9",NX_PUBLIC_MAIN_SITE_URL:"https://elementor.com",NX_PUBLIC_SUPPORT_CENTER_URL:"https://my.elementor.com/support-first-step/",NX_PUBLIC_TEAMS_API:"https://my.elementor.com/teams/api/v1",NX_PUBLIC_UPGRADE_HOSTING:"https://my.elementor.com/upgrade-hosting",NX_PUBLIC_SITE_TRANSFER_BUY_SUBSCRIPTION:"https://my.elementor.com/site-transfer",NX_PUBLIC_ECP_INVOICE_API:"https://my.elementor.com/invoices/api/v1",NX_PUBLIC_DASHBOARD_BASE_URL:"https://my.elementor.com",NX_PUBLIC_ECP_ORDER_API:"https://my.elementor.com/order/api/v1",NX_PUBLIC_CHECKOUT_URL:"https://my.elementor.com/store/checkout",NX_PUBLIC_PERSONALIZATION_API:"https://my.elementor.com/personalization/api/v1",NX_PUBLIC_ELEMENTOR_PRIMARY_DOMAIN:"elementor.com",NX_PUBLIC_ELEMENTOR_REFERRAL_OFFERS_URL:"https://elementor.com/pages/referral-lp",NX_PUBLIC_ELEMENTOR_CATALOG_API:"https://my.elementor.com/catalog/api/v1",NX_PUBLIC_ENTERPRISE_URL:"https://elementor.com/solutions/enterprise",NX_PUBLIC_ELEMENTOR_SUBDOMAIN:".elementor.com",NX_PUBLIC_SENTRY_HOSTING_DSN:"https://2a2b0001aa63cfb46ad9e3e12cb8319a@o569960.ingest.us.sentry.io/4509587893714944",NX_PUBLIC_ELEMENTOR_LOGOUT_URL:"https://my.elementor.com/logout",NX_PUBLIC_DESCOPE_PROJECT_ID:"Peuc12yGe4np4oIkJwa8vNw2m4LCkVKj",NX_PUBLIC_DESCOPE_BASE_URL:"https://auth.elementor.com",NX_PUBLIC_DOC_TEMP_CREDENTIALS:"https://elementor.com/help/temp-credentials/#post-content",NX_PUBLIC_MANAGE_WEBSITES_API:"https://my.elementor.com/manage/api/v1",NX_PUBLIC_DOMAINS_API_BASE_URL:"https://my.elementor.com/domains/api",NX_PUBLIC_CLAIM_DOMAIN_URL:"https://my.elementor.com/get-domain",NX_PUBLIC_DOMAINS_ELEMENTOR_NAMESERVERS:"ns1.elementor.net,ns2.elementor.net",NX_PUBLIC_LIGHTHOUSE_API:"https://my.elementor.com/performance-metrics/api/v1",NX_PUBLIC_STATSIG_STORE_SDK_KEY:"client-xMq9fAMmhbbDIPGuUczHxTqrnn5XyEylQ8PluGjqSwa",NX_PUBLIC_VULNERABILITIES_API:"https://my.elementor.com/vulnerabilities/api/v1",NX_PUBLIC_SUPPORT_URL:"https://my.elementor.com/support-form",NX_PUBLIC_FEEDBACK_API:"https://my.elementor.com/feedback/api/v1",NX_PUBLIC_SENTRY_DOMAINS_DSN:"https://4d0b5d3215cfd1bd6a1d21c981b11e1f@o569960.ingest.us.sentry.io/4510413966802944",NX_PUBLIC_QUOTA_API_URL:"https://my.elementor.com/api/quota/v1",NX_PUBLIC_USER_TRACE_URL:"https://my.elementor.com/cdn-cgi/trace",NX_PUBLIC_ELEMENTOR_PRO_PRICING:"https://elementor.com/pricing-plugin/",NX_PUBLIC_PARTNERS_API:"https://my.elementor.com/partners/api/v1"}[t.toUpperCase().replaceAll("-","_")]):oG(oY.getItem(t)),ap=t=>ac("--"+t)||null!==ad(t);ap("production");let af=aa&&["true","1","2"].includes(void 0)||!ac("--no-colors")&&!ap("no-color")&&(!aa||process.stdout.isTTY)&&(!aa||ac("--color")||null!==ad("COLORTERM")||(ad("TERM")||"").includes("color")),ah=t=>new Uint8Array(t),am=(t,r,n)=>new Uint8Array(t,r,n),ag=t=>new Uint8Array(t),ay=as?t=>{let r="";for(let n=0;n<t.byteLength;n++)r+=i6(t[n]);return btoa(r)}:t=>Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("base64"),av=as?t=>{let r=atob(t),n=ah(r.length);for(let t=0;t<r.length;t++)n[t]=r.charCodeAt(t);return n}:t=>{let r=Buffer.from(t,"base64");return am(r.buffer,r.byteOffset,r.byteLength)},ab=t=>{let r=ah(t.byteLength);return r.set(t),r};let Pair=class Pair{constructor(t,r){this.left=t,this.right=r}};let a_=(t,r)=>new Pair(t,r),aw="undefined"!=typeof document?document:{};"undefined"!=typeof DOMParser&&new DOMParser;let aS=t=>iq(t,(t,r)=>`${r}:${t};`).join("");aw.ELEMENT_NODE,aw.TEXT_NODE,aw.CDATA_SECTION_NODE,aw.COMMENT_NODE,aw.DOCUMENT_NODE,aw.DOCUMENT_TYPE_NODE,aw.DOCUMENT_FRAGMENT_NODE;let ax=Symbol,aE=Date.now,ak=JSON.stringify,aC=ax(),aO=ax(),aR=ax(),aT=ax(),aP=ax(),aM=ax(),aI=ax(),aA=ax(),aL=ax(),aN=[aP,aI,aA,aR],aj=0,aD=aE(),aF={[aC]:a_("font-weight","bold"),[aO]:a_("font-weight","normal"),[aR]:a_("color","blue"),[aP]:a_("color","green"),[aT]:a_("color","grey"),[aM]:a_("color","red"),[aI]:a_("color","purple"),[aA]:a_("color","orange"),[aL]:a_("color","black")},aB=af?t=>{1===t.length&&t[0]?.constructor===Function&&(t=t[0]());let r=[],n=[],i=i$(),o=[],a=0;for(;a<t.length;a++){let o=t[a],s=aF[o];if(void 0!==s)i.set(s.left,s.right);else{if(void 0===o)break;if(o.constructor===String||o.constructor===Number){let t=aS(i);a>0||t.length>0?(r.push("%c"+o),n.push(t)):r.push(o)}else break}}for(a>0&&(o=n).unshift(r.join(""));a<t.length;a++){let r=t[a];r instanceof Symbol||o.push(r)}return o}:t=>{1===t.length&&t[0]?.constructor===Function&&(t=t[0]());let r=[],n=[],i=0;for(;i<t.length;i++){let n=t[i];if(void 0===n)break;if(n.constructor===String||n.constructor===Number)r.push(n);else if(n.constructor===Object)break}for(i>0&&n.push(r.join(""));i<t.length;i++){let r=t[i];r instanceof Symbol||n.push(r)}return n},a$=(...t)=>{console.log(...aB(t)),az.forEach(r=>r.print(t))},aU=(...t)=>{console.warn(...aB(t)),t.unshift(aA),az.forEach(r=>r.print(t))},az=iH(),aq=t=>({[Symbol.iterator](){return this},next:t}),aZ=(t,r)=>aq(()=>{let n;do n=t.next();while(!n.done&&!r(n.value));return n}),aH=(t,r)=>aq(()=>{let{done:n,value:i}=t.next();return{done:n,value:n?void 0:r(i)}});let DeleteItem=class DeleteItem{constructor(t,r){this.clock=t,this.len=r}};let DeleteSet=class DeleteSet{constructor(){this.clients=new Map}};let aV=(t,r,n)=>r.clients.forEach((r,i)=>{let o=t.doc.store.clients.get(i);if(null!=o){let i=o[o.length-1],a=i.id.clock+i.length;for(let i=0,s=r[i];i<r.length&&s.clock<a;s=r[++i])sT(t,o,s.clock,s.len,n)}}),aW=(t,r)=>{let n=0,i=t.length-1;for(;n<=i;){let o=iY((n+i)/2),a=t[o],s=a.clock;if(s<=r){if(r<s+a.len)return o;n=o+1}else i=o-1}return null},aG=(t,r)=>{let n=t.clients.get(r.client);return void 0!==n&&null!==aW(n,r.clock)},aK=t=>{t.clients.forEach(t=>{let r,n;for(t.sort((t,r)=>t.clock-r.clock),r=1,n=1;r<t.length;r++){let i=t[n-1],o=t[r];i.clock+i.len>=o.clock?i.len=i1(i.len,o.clock+o.len-i.clock):(n<r&&(t[n]=o),n++)}t.length=n})},aX=t=>{let r=new DeleteSet;for(let n=0;n<t.length;n++)t[n].clients.forEach((i,o)=>{if(!r.clients.has(o)){let a=i.slice();for(let r=n+1;r<t.length;r++)iW(a,t[r].clients.get(o)||[]);r.clients.set(o,a)}});return aK(r),r},aY=(t,r,n,i)=>{iz(t.clients,r,()=>[]).push(new DeleteItem(n,i))},aJ=()=>new DeleteSet,aQ=t=>{let r=aJ();return t.clients.forEach((t,n)=>{let i=[];for(let r=0;r<t.length;r++){let n=t[r];if(n.deleted){let o=n.id.clock,a=n.length;if(r+1<t.length)for(let n=t[r+1];r+1<t.length&&n.deleted;n=t[++r+1])a+=n.length;i.push(new DeleteItem(o,a))}}i.length>0&&r.clients.set(n,i)}),r},a0=(t,r)=>{ou(t.restEncoder,r.clients.size),iG(r.clients.entries()).sort((t,r)=>r[0]-t[0]).forEach(([r,n])=>{t.resetDsCurVal(),ou(t.restEncoder,r);let i=n.length;ou(t.restEncoder,i);for(let r=0;r<i;r++){let i=n[r];t.writeDsClock(i.clock),t.writeDsLen(i.len)}})},a1=t=>{let r=new DeleteSet,n=oN(t.restDecoder);for(let i=0;i<n;i++){t.resetDsCurVal();let n=oN(t.restDecoder),i=oN(t.restDecoder);if(i>0){let o=iz(r.clients,n,()=>[]);for(let r=0;r<i;r++)o.push(new DeleteItem(t.readDsClock(),t.readDsLen()))}}return r},a2=(t,r,n)=>{let i=new DeleteSet,o=oN(t.restDecoder);for(let a=0;a<o;a++){t.resetDsCurVal();let o=oN(t.restDecoder),a=oN(t.restDecoder),s=n.clients.get(o)||[],l=sw(n,o);for(let n=0;n<a;n++){let n=t.readDsClock(),a=n+t.readDsLen();if(n<l){l<a&&aY(i,o,l,a-l);let t=sx(s,n),u=s[t];for(!u.deleted&&u.id.clock<n&&(s.splice(t+1,0,lF(r,u,n-u.id.clock)),t++);t<s.length;)if((u=s[t++]).id.clock<a)u.deleted||(a<u.id.clock+u.length&&s.splice(t,0,lF(r,u,a-u.id.clock)),u.delete(r));else break}else aY(i,o,n,a-n)}}if(i.clients.size>0){let t=new UpdateEncoderV2;return ou(t.restEncoder,0),a0(t,i),t.toUint8Array()}return null};let Doc=class Doc extends ObservableV2{constructor({guid:t=oZ(),collectionid:r=null,gc:n=!0,gcFilter:i=()=>!0,meta:o=null,autoLoad:a=!1,shouldLoad:s=!0}={}){super(),this.gc=n,this.gcFilter=i,this.clientID=oq(),this.guid=t,this.collectionid=r,this.share=new Map,this.store=new StructStore,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=s,this.autoLoad=a,this.meta=o,this.isLoaded=!1,this.isSynced=!1,this.isDestroyed=!1,this.whenLoaded=oH(t=>{this.on("load",()=>{this.isLoaded=!0,t(this)})});let l=()=>oH(t=>{let r=n=>{(void 0===n||!0===n)&&(this.off("sync",r),t())};this.on("sync",r)});this.on("sync",t=>{!1===t&&this.isSynced&&(this.whenSynced=l()),this.isSynced=void 0===t||!0===t,this.isSynced&&!this.isLoaded&&this.emit("load",[this])}),this.whenSynced=l()}load(){let t=this._item;null===t||this.shouldLoad||sj(t.parent.doc,t=>{t.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(iG(this.subdocs).map(t=>t.guid))}transact(t,r=null){return sj(this,t,r)}get(t,r=AbstractType){let n=iz(this.share,t,()=>{let t=new r;return t._integrate(this,null),t}),i=n.constructor;if(r!==AbstractType&&i!==r)if(i===AbstractType){let i=new r;i._map=n._map,n._map.forEach(t=>{for(;null!==t;t=t.left)t.parent=i}),i._start=n._start;for(let t=i._start;null!==t;t=t.right)t.parent=i;return i._length=n._length,this.share.set(t,i),i._integrate(this,null),i}else throw Error(`Type with the name ${t} has already been defined with a different constructor`);return n}getArray(t=""){return this.get(t,YArray)}getText(t=""){return this.get(t,YText)}getMap(t=""){return this.get(t,YMap)}getXmlElement(t=""){return this.get(t,YXmlElement)}getXmlFragment(t=""){return this.get(t,YXmlFragment)}toJSON(){let t={};return this.share.forEach((r,n)=>{t[n]=r.toJSON()}),t}destroy(){this.isDestroyed=!0,iG(this.subdocs).forEach(t=>t.destroy());let t=this._item;if(null!==t){this._item=null;let r=t.content;r.doc=new Doc({guid:this.guid,...r.opts,shouldLoad:!1}),r.doc._item=t,sj(t.parent.doc,n=>{let i=r.doc;t.deleted||n.subdocsAdded.add(i),n.subdocsRemoved.add(this)},null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}};let DSDecoderV1=class DSDecoderV1{constructor(t){this.restDecoder=t}resetDsCurVal(){}readDsClock(){return oN(this.restDecoder)}readDsLen(){return oN(this.restDecoder)}};let UpdateDecoderV1=class UpdateDecoderV1 extends DSDecoderV1{readLeftID(){return sm(oN(this.restDecoder),oN(this.restDecoder))}readRightID(){return sm(oN(this.restDecoder),oN(this.restDecoder))}readClient(){return oN(this.restDecoder)}readInfo(){return oL(this.restDecoder)}readString(){return oD(this.restDecoder)}readParentInfo(){return 1===oN(this.restDecoder)}readTypeRef(){return oN(this.restDecoder)}readLen(){return oN(this.restDecoder)}readAny(){return o$(this.restDecoder)}readBuf(){return ab(oA(this.restDecoder))}readJSON(){return JSON.parse(oD(this.restDecoder))}readKey(){return oD(this.restDecoder)}};let DSDecoderV2=class DSDecoderV2{constructor(t){this.dsCurrVal=0,this.restDecoder=t}resetDsCurVal(){this.dsCurrVal=0}readDsClock(){return this.dsCurrVal+=oN(this.restDecoder),this.dsCurrVal}readDsLen(){let t=oN(this.restDecoder)+1;return this.dsCurrVal+=t,t}};let UpdateDecoderV2=class UpdateDecoderV2 extends DSDecoderV2{constructor(t){super(t),this.keys=[],oN(t),this.keyClockDecoder=new IntDiffOptRleDecoder(oA(t)),this.clientDecoder=new UintOptRleDecoder(oA(t)),this.leftClockDecoder=new IntDiffOptRleDecoder(oA(t)),this.rightClockDecoder=new IntDiffOptRleDecoder(oA(t)),this.infoDecoder=new RleDecoder(oA(t),oL),this.stringDecoder=new StringDecoder(oA(t)),this.parentInfoDecoder=new RleDecoder(oA(t),oL),this.typeRefDecoder=new UintOptRleDecoder(oA(t)),this.lenDecoder=new UintOptRleDecoder(oA(t))}readLeftID(){return new ID(this.clientDecoder.read(),this.leftClockDecoder.read())}readRightID(){return new ID(this.clientDecoder.read(),this.rightClockDecoder.read())}readClient(){return this.clientDecoder.read()}readInfo(){return this.infoDecoder.read()}readString(){return this.stringDecoder.read()}readParentInfo(){return 1===this.parentInfoDecoder.read()}readTypeRef(){return this.typeRefDecoder.read()}readLen(){return this.lenDecoder.read()}readAny(){return o$(this.restDecoder)}readBuf(){return oA(this.restDecoder)}readJSON(){return o$(this.restDecoder)}readKey(){let t=this.keyClockDecoder.read();if(t<this.keys.length)return this.keys[t];{let t=this.stringDecoder.read();return this.keys.push(t),t}}};let DSEncoderV1=class DSEncoderV1{constructor(){this.restEncoder=oi()}toUint8Array(){return oa(this.restEncoder)}resetDsCurVal(){}writeDsClock(t){ou(this.restEncoder,t)}writeDsLen(t){ou(this.restEncoder,t)}};let UpdateEncoderV1=class UpdateEncoderV1 extends DSEncoderV1{writeLeftID(t){ou(this.restEncoder,t.client),ou(this.restEncoder,t.clock)}writeRightID(t){ou(this.restEncoder,t.client),ou(this.restEncoder,t.clock)}writeClient(t){ou(this.restEncoder,t)}writeInfo(t){ol(this.restEncoder,t)}writeString(t){of(this.restEncoder,t)}writeParentInfo(t){ou(this.restEncoder,+!!t)}writeTypeRef(t){ou(this.restEncoder,t)}writeLen(t){ou(this.restEncoder,t)}writeAny(t){oS(this.restEncoder,t)}writeBuf(t){om(this.restEncoder,t)}writeJSON(t){of(this.restEncoder,JSON.stringify(t))}writeKey(t){of(this.restEncoder,t)}};let DSEncoderV2=class DSEncoderV2{constructor(){this.restEncoder=oi(),this.dsCurrVal=0}toUint8Array(){return oa(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(t){let r=t-this.dsCurrVal;this.dsCurrVal=t,ou(this.restEncoder,r)}writeDsLen(t){0===t&&oO(),ou(this.restEncoder,t-1),this.dsCurrVal+=t}};let UpdateEncoderV2=class UpdateEncoderV2 extends DSEncoderV2{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new IntDiffOptRleEncoder,this.clientEncoder=new UintOptRleEncoder,this.leftClockEncoder=new IntDiffOptRleEncoder,this.rightClockEncoder=new IntDiffOptRleEncoder,this.infoEncoder=new RleEncoder(ol),this.stringEncoder=new StringEncoder,this.parentInfoEncoder=new RleEncoder(ol),this.typeRefEncoder=new UintOptRleEncoder,this.lenEncoder=new UintOptRleEncoder}toUint8Array(){let t=oi();return ou(t,0),om(t,this.keyClockEncoder.toUint8Array()),om(t,this.clientEncoder.toUint8Array()),om(t,this.leftClockEncoder.toUint8Array()),om(t,this.rightClockEncoder.toUint8Array()),om(t,oa(this.infoEncoder)),om(t,this.stringEncoder.toUint8Array()),om(t,oa(this.parentInfoEncoder)),om(t,this.typeRefEncoder.toUint8Array()),om(t,this.lenEncoder.toUint8Array()),oh(t,oa(this.restEncoder)),oa(t)}writeLeftID(t){this.clientEncoder.write(t.client),this.leftClockEncoder.write(t.clock)}writeRightID(t){this.clientEncoder.write(t.client),this.rightClockEncoder.write(t.clock)}writeClient(t){this.clientEncoder.write(t)}writeInfo(t){this.infoEncoder.write(t)}writeString(t){this.stringEncoder.write(t)}writeParentInfo(t){this.parentInfoEncoder.write(+!!t)}writeTypeRef(t){this.typeRefEncoder.write(t)}writeLen(t){this.lenEncoder.write(t)}writeAny(t){oS(this.restEncoder,t)}writeBuf(t){om(this.restEncoder,t)}writeJSON(t){oS(this.restEncoder,t)}writeKey(t){let r=this.keyMap.get(t);void 0===r?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(t)):this.keyClockEncoder.write(r)}};let a5=(t,r,n,i)=>{i=i1(i,r[0].id.clock);let o=sx(r,i);ou(t.restEncoder,r.length-o),t.writeClient(n),ou(t.restEncoder,i);let a=r[o];a.write(t,i-a.id.clock);for(let n=o+1;n<r.length;n++)r[n].write(t,0)},a3=(t,r,n)=>{let i=new Map;n.forEach((t,n)=>{sw(r,n)>t&&i.set(n,t)}),s_(r).forEach((t,r)=>{n.has(r)||i.set(r,0)}),ou(t.restEncoder,i.size),iG(i.entries()).sort((t,r)=>r[0]-t[0]).forEach(([n,i])=>{a5(t,r.clients.get(n),n,i)})},a6=(t,r)=>{let n=i$(),i=oN(t.restDecoder);for(let o=0;o<i;o++){let i=oN(t.restDecoder),o=Array(i),a=t.readClient(),s=oN(t.restDecoder);n.set(a,{i:0,refs:o});for(let n=0;n<i;n++){let i=t.readInfo();switch(31&i){case 0:{let r=t.readLen();o[n]=new GC(sm(a,s),r),s+=r;break}case 10:{let r=oN(t.restDecoder);o[n]=new Skip(sm(a,s),r),s+=r;break}default:{let l=(192&i)==0,u=new Item(sm(a,s),null,(128&i)==128?t.readLeftID():null,null,(64&i)==64?t.readRightID():null,l?t.readParentInfo()?r.get(t.readString()):t.readLeftID():null,l&&(32&i)==32?t.readString():null,lU(t,i));o[n]=u,s+=u.length}}}}return n},a4=(t,r,n)=>{let i=[],o=iG(n.keys()).sort((t,r)=>t-r);if(0===o.length)return null;let a=()=>{if(0===o.length)return null;let t=n.get(o[o.length-1]);for(;t.refs.length===t.i;){if(o.pop(),!(o.length>0))return null;t=n.get(o[o.length-1])}return t},s=a();if(null===s)return null;let l=new StructStore,u=new Map,c=(t,r)=>{let n=u.get(t);(null==n||n>r)&&u.set(t,r)},d=s.refs[s.i++],f=new Map,h=()=>{for(let t of i){let r=t.id.client,i=n.get(r);i?(i.i--,l.clients.set(r,i.refs.slice(i.i)),n.delete(r),i.i=0,i.refs=[]):l.clients.set(r,[t]),o=o.filter(t=>t!==r)}i.length=0};for(;;){if(d.constructor!==Skip){let o=iz(f,d.id.client,()=>sw(r,d.id.client))-d.id.clock;if(o<0)i.push(d),c(d.id.client,d.id.clock-1),h();else{let a=d.getMissing(t,r);if(null!==a){i.push(d);let t=n.get(a)||{refs:[],i:0};if(t.refs.length===t.i)c(a,sw(r,a)),h();else{d=t.refs[t.i++];continue}}else(0===o||o<d.length)&&(d.integrate(t,o),f.set(d.id.client,d.id.clock+d.length))}}if(i.length>0)d=i.pop();else if(null!==s&&s.i<s.refs.length)d=s.refs[s.i++];else{if(null===(s=a()))break;d=s.refs[s.i++]}}if(l.clients.size>0){let t=new UpdateEncoderV2;return a3(t,l,new Map),ou(t.restEncoder,0),{missing:u,update:t.toUint8Array()}}return null},a8=(t,r)=>a3(t,r.doc.store,r.beforeState),a7=(t,r,n,i=new UpdateDecoderV2(t))=>sj(r,t=>{t.local=!1;let r=!1,n=t.doc,o=n.store,a=a4(t,o,a6(i,n)),s=o.pendingStructs;if(s){for(let[t,n]of s.missing)if(n<sw(o,t)){r=!0;break}if(a){for(let[t,r]of a.missing){let n=s.missing.get(t);(null==n||n>r)&&s.missing.set(t,r)}s.update=sU([s.update,a.update])}}else o.pendingStructs=a;let l=a2(i,t,o);if(o.pendingDs){let r=new UpdateDecoderV2(oP(o.pendingDs));oN(r.restDecoder);let n=a2(r,t,o);l&&n?o.pendingDs=sU([l,n]):o.pendingDs=l||n}else o.pendingDs=l;if(r){let r=o.pendingStructs.update;o.pendingStructs=null,a9(t.doc,r)}},n,!1),a9=(t,r,n,i=UpdateDecoderV2)=>{let o=oP(r);a7(o,t,n,new i(o))},se=(t,r,n)=>a9(t,r,n,UpdateDecoderV1),st=(t,r,n=new Map)=>{a3(t,r.store,n),a0(t,aQ(r.store))},sr=(t,r=new Uint8Array([0]),n=new UpdateEncoderV2)=>{st(n,t,so(r));let i=[n.toUint8Array()];if(t.store.pendingDs&&i.push(t.store.pendingDs),t.store.pendingStructs&&i.push(sz(t.store.pendingStructs.update,r)),i.length>1){if(n.constructor===UpdateEncoderV1)return sB(i.map((t,r)=>0===r?t:sW(t)));else if(n.constructor===UpdateEncoderV2)return sU(i)}return i[0]},sn=(t,r)=>sr(t,r,new UpdateEncoderV1),si=t=>{let r=new Map,n=oN(t.restDecoder);for(let i=0;i<n;i++){let n=oN(t.restDecoder),i=oN(t.restDecoder);r.set(n,i)}return r},so=t=>si(new DSDecoderV1(oP(t))),sa=(t,r)=>(ou(t.restEncoder,r.size),iG(r.entries()).sort((t,r)=>r[0]-t[0]).forEach(([r,n])=>{ou(t.restEncoder,r),ou(t.restEncoder,n)}),t),ss=(t,r)=>sa(t,s_(r.store)),sl=(t,r=new DSEncoderV2)=>(t instanceof Map?sa(r,t):ss(r,t),r.toUint8Array()),su=t=>sl(t,new DSEncoderV1);let EventHandler=class EventHandler{constructor(){this.l=[]}};let sc=()=>new EventHandler,sd=(t,r)=>t.l.push(r),sp=(t,r)=>{let n=t.l,i=n.length;t.l=n.filter(t=>r!==t),i===t.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},sf=(t,r,n)=>ar(t.l,[r,n]);let ID=class ID{constructor(t,r){this.client=t,this.clock=r}};let sh=(t,r)=>t===r||null!==t&&null!==r&&t.client===r.client&&t.clock===r.clock,sm=(t,r)=>new ID(t,r),sg=t=>{for(let[r,n]of t.doc.share.entries())if(n===t)return r;throw oO()},sy=(t,r)=>{for(;null!==r;){if(r.parent===t)return!0;r=r.parent._item}return!1};let Snapshot=class Snapshot{constructor(t,r){this.ds=t,this.sv=r}};new Snapshot(aJ(),new Map);let sv=(t,r)=>void 0===r?!t.deleted:r.sv.has(t.id.client)&&(r.sv.get(t.id.client)||0)>t.id.clock&&!aG(r.ds,t.id),sb=(t,r)=>{let n=iz(t.meta,sb,iH),i=t.doc.store;n.has(r)||(r.sv.forEach((r,n)=>{r<sw(i,n)&&sC(t,sm(n,r))}),aV(t,r.ds,t=>{}),n.add(r))};let StructStore=class StructStore{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}};let s_=t=>{let r=new Map;return t.clients.forEach((t,n)=>{let i=t[t.length-1];r.set(n,i.id.clock+i.length)}),r},sw=(t,r)=>{let n=t.clients.get(r);if(void 0===n)return 0;let i=n[n.length-1];return i.id.clock+i.length},sS=(t,r)=>{let n=t.clients.get(r.id.client);if(void 0===n)n=[],t.clients.set(r.id.client,n);else{let t=n[n.length-1];if(t.id.clock+t.length!==r.id.clock)throw oO()}n.push(r)},sx=(t,r)=>{let n=0,i=t.length-1,o=t[i],a=o.id.clock;if(a===r)return i;let s=iY(r/(a+o.length-1)*i);for(;n<=i;){if((a=(o=t[s]).id.clock)<=r){if(r<a+o.length)return s;n=s+1}else i=s-1;s=iY((n+i)/2)}throw oO()},sE=(t,r)=>{let n=t.clients.get(r.client);return n[sx(n,r.clock)]},sk=(t,r,n)=>{let i=sx(r,n),o=r[i];return o.id.clock<n&&o instanceof Item?(r.splice(i+1,0,lF(t,o,n-o.id.clock)),i+1):i},sC=(t,r)=>{let n=t.doc.store.clients.get(r.client);return n[sk(t,n,r.clock)]},sO=(t,r,n)=>{let i=r.clients.get(n.client),o=sx(i,n.clock),a=i[o];return n.clock!==a.id.clock+a.length-1&&a.constructor!==GC&&i.splice(o+1,0,lF(t,a,n.clock-a.id.clock+1)),a},sR=(t,r,n)=>{let i=t.clients.get(r.id.client);i[sx(i,r.id.clock)]=n},sT=(t,r,n,i,o)=>{let a;if(0===i)return;let s=n+i,l=sk(t,r,n);do s<(a=r[l++]).id.clock+a.length&&sk(t,r,s),o(a);while(l<r.length&&r[l].id.clock<s)};let Transaction=class Transaction{constructor(t,r,n){this.doc=t,this.deleteSet=new DeleteSet,this.beforeState=s_(t.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=r,this.meta=new Map,this.local=n,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set,this._needFormattingCleanup=!1}};let sP=(t,r)=>(0!==r.deleteSet.clients.size||!!iZ(r.afterState,(t,n)=>r.beforeState.get(n)!==t))&&(aK(r.deleteSet),a8(t,r),a0(t,r.deleteSet),!0),sM=(t,r,n)=>{let i=r._item;(null===i||i.id.clock<(t.beforeState.get(i.id.client)||0)&&!i.deleted)&&iz(t.changed,r,iH).add(n)},sI=(t,r)=>{let n=t[r],i=t[r-1],o=r;for(;o>0;n=i,i=t[--o-1]){if(i.deleted===n.deleted&&i.constructor===n.constructor&&i.mergeWith(n)){n instanceof Item&&null!==n.parentSub&&n.parent._map.get(n.parentSub)===n&&n.parent._map.set(n.parentSub,i);continue}break}let a=r-o;return a&&t.splice(r+1-a,a),a},sA=(t,r,n)=>{for(let[i,o]of t.clients.entries()){let t=r.clients.get(i);for(let i=o.length-1;i>=0;i--){let a=o[i],s=a.clock+a.len;for(let i=sx(t,a.clock),o=t[i];i<t.length&&o.id.clock<s;o=t[++i]){let o=t[i];if(a.clock+a.len<=o.id.clock)break;o instanceof Item&&o.deleted&&!o.keep&&n(o)&&o.gc(r,!1)}}}},sL=(t,r)=>{t.clients.forEach((t,n)=>{let i=r.clients.get(n);for(let r=t.length-1;r>=0;r--){let n=t[r],o=i0(i.length-1,1+sx(i,n.clock+n.len-1));for(let t=o,r=i[t];t>0&&r.id.clock>=n.clock;r=i[t])t-=1+sI(i,t)}})},sN=(t,r)=>{if(r<t.length){let n=t[r],i=n.doc,o=i.store,a=n.deleteSet,s=n._mergeStructs;try{aK(a),n.afterState=s_(n.doc.store),i.emit("beforeObserverCalls",[n,i]);let t=[];n.changed.forEach((r,i)=>t.push(()=>{null!==i._item&&i._item.deleted||i._callObserver(n,r)})),t.push(()=>{n.changedParentTypes.forEach((t,r)=>{r._dEH.l.length>0&&(null===r._item||!r._item.deleted)&&((t=t.filter(t=>null===t.target._item||!t.target._item.deleted)).forEach(t=>{t.currentTarget=r,t._path=null}),t.sort((t,r)=>t.path.length-r.path.length),sf(r._dEH,t,n))})}),t.push(()=>i.emit("afterTransaction",[n,i])),ar(t,[]),n._needFormattingCleanup&&lE(n)}finally{i.gc&&sA(a,o,i.gcFilter),sL(a,o),n.afterState.forEach((t,r)=>{let i=n.beforeState.get(r)||0;if(i!==t){let t=o.clients.get(r),n=i1(sx(t,i),1);for(let r=t.length-1;r>=n;)r-=1+sI(t,r)}});for(let t=s.length-1;t>=0;t--){let{client:r,clock:n}=s[t].id,i=o.clients.get(r),a=sx(i,n);!(a+1<i.length&&sI(i,a+1)>1)&&a>0&&sI(i,a)}if(n.local||n.afterState.get(i.clientID)===n.beforeState.get(i.clientID)||(a$(aA,aC,"[yjs] ",aO,aM,"Changed the client-id because another client seems to be using it."),i.clientID=oq()),i.emit("afterTransactionCleanup",[n,i]),i._observers.has("update")){let t=new UpdateEncoderV1;sP(t,n)&&i.emit("update",[t.toUint8Array(),n.origin,i,n])}if(i._observers.has("updateV2")){let t=new UpdateEncoderV2;sP(t,n)&&i.emit("updateV2",[t.toUint8Array(),n.origin,i,n])}let{subdocsAdded:l,subdocsLoaded:u,subdocsRemoved:c}=n;(l.size>0||c.size>0||u.size>0)&&(l.forEach(t=>{t.clientID=i.clientID,null==t.collectionid&&(t.collectionid=i.collectionid),i.subdocs.add(t)}),c.forEach(t=>i.subdocs.delete(t)),i.emit("subdocs",[{loaded:u,added:l,removed:c},i,n]),c.forEach(t=>t.destroy())),t.length<=r+1?(i._transactionCleanups=[],i.emit("afterAllTransactions",[i,t])):sN(t,r+1)}}},sj=(t,r,n=null,i=!0)=>{let o=t._transactionCleanups,a=!1,s=null;null===t._transaction&&(a=!0,t._transaction=new Transaction(t,n,i),o.push(t._transaction),1===o.length&&t.emit("beforeAllTransactions",[t]),t.emit("beforeTransaction",[t._transaction,t]));try{s=r(t._transaction)}finally{if(a){let r=t._transaction===o[0];t._transaction=null,r&&sN(o,0)}}return s};let StackItem=class StackItem{constructor(t,r){this.insertions=r,this.deletions=t,this.meta=new Map}};let sD=(t,r,n)=>{aV(t,n.deletions,n=>{n instanceof Item&&r.scope.some(r=>r===t.doc||sy(r,n))&&lD(n,!1)})},sF=(t,r,n)=>{let i=null,o=t.doc,a=t.scope;sj(o,n=>{for(;r.length>0&&null===t.currStackItem;){let i=o.store,s=r.pop(),l=new Set,u=[],c=!1;aV(n,s.insertions,t=>{if(t instanceof Item){if(null!==t.redone){let{item:r,diff:o}=lj(i,t.id);o>0&&(r=sC(n,sm(r.id.client,r.id.clock+o))),t=r}!t.deleted&&a.some(r=>r===n.doc||sy(r,t))&&u.push(t)}}),aV(n,s.deletions,t=>{t instanceof Item&&a.some(r=>r===n.doc||sy(r,t))&&!aG(s.insertions,t.id)&&l.add(t)}),l.forEach(r=>{c=null!==l$(n,r,l,s.insertions,t.ignoreRemoteMapChanges,t)||c});for(let r=u.length-1;r>=0;r--){let i=u[r];t.deleteFilter(i)&&(i.delete(n),c=!0)}t.currStackItem=c?s:null}n.changed.forEach((t,r)=>{t.has(null)&&r._searchMarker&&(r._searchMarker.length=0)}),i=n},t);let s=t.currStackItem;if(null!=s){let r=i.changedParentTypes;t.emit("stack-item-popped",[{stackItem:s,type:n,changedParentTypes:r,origin:t},t]),t.currStackItem=null}return s};let UndoManager=class UndoManager extends ObservableV2{constructor(t,{captureTimeout:r=500,captureTransaction:n=t=>!0,deleteFilter:i=()=>!0,trackedOrigins:o=new Set([null]),ignoreRemoteMapChanges:a=!1,doc:s=iX(t)?t[0].doc:t instanceof Doc?t:t.doc}={}){super(),this.scope=[],this.doc=s,this.addToScope(t),this.deleteFilter=i,o.add(this),this.trackedOrigins=o,this.captureTransaction=n,this.undoStack=[],this.redoStack=[],this.undoing=!1,this.redoing=!1,this.currStackItem=null,this.lastChange=0,this.ignoreRemoteMapChanges=a,this.captureTimeout=r,this.afterTransactionHandler=t=>{if(!this.captureTransaction(t)||!this.scope.some(r=>t.changedParentTypes.has(r)||r===this.doc)||!this.trackedOrigins.has(t.origin)&&(!t.origin||!this.trackedOrigins.has(t.origin.constructor)))return;let r=this.undoing,n=this.redoing,i=r?this.redoStack:this.undoStack;r?this.stopCapturing():n||this.clear(!1,!0);let o=new DeleteSet;t.afterState.forEach((r,n)=>{let i=t.beforeState.get(n)||0,a=r-i;a>0&&aY(o,n,i,a)});let a=aE(),s=!1;if(this.lastChange>0&&a-this.lastChange<this.captureTimeout&&i.length>0&&!r&&!n){let r=i[i.length-1];r.deletions=aX([r.deletions,t.deleteSet]),r.insertions=aX([r.insertions,o])}else i.push(new StackItem(t.deleteSet,o)),s=!0;r||n||(this.lastChange=a),aV(t,t.deleteSet,r=>{r instanceof Item&&this.scope.some(n=>n===t.doc||sy(n,r))&&lD(r,!0)});let l=[{stackItem:i[i.length-1],origin:t.origin,type:r?"redo":"undo",changedParentTypes:t.changedParentTypes},this];s?this.emit("stack-item-added",l):this.emit("stack-item-updated",l)},this.doc.on("afterTransaction",this.afterTransactionHandler),this.doc.on("destroy",()=>{this.destroy()})}addToScope(t){let r=new Set(this.scope);(t=iX(t)?t:[t]).forEach(t=>{r.has(t)||(r.add(t),(t instanceof AbstractType?t.doc!==this.doc:t!==this.doc)&&aU("[yjs#509] Not same Y.Doc"),this.scope.push(t))})}addTrackedOrigin(t){this.trackedOrigins.add(t)}removeTrackedOrigin(t){this.trackedOrigins.delete(t)}clear(t=!0,r=!0){(t&&this.canUndo()||r&&this.canRedo())&&this.doc.transact(n=>{t&&(this.undoStack.forEach(t=>sD(n,this,t)),this.undoStack=[]),r&&(this.redoStack.forEach(t=>sD(n,this,t)),this.redoStack=[]),this.emit("stack-cleared",[{undoStackCleared:t,redoStackCleared:r}])})}stopCapturing(){this.lastChange=0}undo(){let t;this.undoing=!0;try{t=sF(this,this.undoStack,"undo")}finally{this.undoing=!1}return t}redo(){let t;this.redoing=!0;try{t=sF(this,this.redoStack,"redo")}finally{this.redoing=!1}return t}canUndo(){return this.undoStack.length>0}canRedo(){return this.redoStack.length>0}destroy(){this.trackedOrigins.delete(this),this.doc.off("afterTransaction",this.afterTransactionHandler),super.destroy()}};let LazyStructReader=class LazyStructReader{constructor(t,r){this.gen=function*(t){let r=oN(t.restDecoder);for(let n=0;n<r;n++){let r=oN(t.restDecoder),n=t.readClient(),i=oN(t.restDecoder);for(let o=0;o<r;o++){let r=t.readInfo();if(10===r){let r=oN(t.restDecoder);yield new Skip(sm(n,i),r),i+=r}else if((31&r)!=0){let o=(192&r)==0,a=new Item(sm(n,i),null,(128&r)==128?t.readLeftID():null,null,(64&r)==64?t.readRightID():null,o?t.readParentInfo()?t.readString():t.readLeftID():null,o&&(32&r)==32?t.readString():null,lU(t,r));yield a,i+=a.length}else{let r=t.readLen();yield new GC(sm(n,i),r),i+=r}}}}(t),this.curr=null,this.done=!1,this.filterSkips=r,this.next()}next(){do this.curr=this.gen.next().value||null;while(this.filterSkips&&null!==this.curr&&this.curr.constructor===Skip);return this.curr}};let LazyStructWriter=class LazyStructWriter{constructor(t){this.currClient=0,this.startClock=0,this.written=0,this.encoder=t,this.clientStructs=[]}};let sB=t=>sU(t,UpdateDecoderV1,UpdateEncoderV1),s$=(t,r)=>{if(t.constructor===GC){let{client:n,clock:i}=t.id;return new GC(sm(n,i+r),t.length-r)}if(t.constructor===Skip){let{client:n,clock:i}=t.id;return new Skip(sm(n,i+r),t.length-r)}{let{client:n,clock:i}=t.id;return new Item(sm(n,i+r),null,sm(n,i+r-1),null,t.rightOrigin,t.parent,t.parentSub,t.content.splice(r))}},sU=(t,r=UpdateDecoderV2,n=UpdateEncoderV2)=>{if(1===t.length)return t[0];let i=t.map(t=>new r(oP(t))),o=i.map(t=>new LazyStructReader(t,!0)),a=null,s=new n,l=new LazyStructWriter(s);for(;(o=o.filter(t=>null!==t.curr)).sort((t,r)=>{if(t.curr.id.client!==r.curr.id.client)return r.curr.id.client-t.curr.id.client;{let n=t.curr.id.clock-r.curr.id.clock;return 0===n?t.curr.constructor===r.curr.constructor?0:t.curr.constructor===Skip?1:-1:n}}),0!==o.length;){let t=o[0],r=t.curr.id.client;if(null!==a){let n=t.curr,i=!1;for(;null!==n&&n.id.clock+n.length<=a.struct.id.clock+a.struct.length&&n.id.client>=a.struct.id.client;)n=t.next(),i=!0;if(null===n||n.id.client!==r||i&&n.id.clock>a.struct.id.clock+a.struct.length)continue;if(r!==a.struct.id.client)sZ(l,a.struct,a.offset),a={struct:n,offset:0},t.next();else if(a.struct.id.clock+a.struct.length<n.id.clock)if(a.struct.constructor===Skip)a.struct.length=n.id.clock+n.length-a.struct.id.clock;else{sZ(l,a.struct,a.offset);let t=n.id.clock-a.struct.id.clock-a.struct.length;a={struct:new Skip(sm(r,a.struct.id.clock+a.struct.length),t),offset:0}}else{let r=a.struct.id.clock+a.struct.length-n.id.clock;r>0&&(a.struct.constructor===Skip?a.struct.length-=r:n=s$(n,r)),a.struct.mergeWith(n)||(sZ(l,a.struct,a.offset),a={struct:n,offset:0},t.next())}}else a={struct:t.curr,offset:0},t.next();for(let n=t.curr;null!==n&&n.id.client===r&&n.id.clock===a.struct.id.clock+a.struct.length&&n.constructor!==Skip;n=t.next())sZ(l,a.struct,a.offset),a={struct:n,offset:0}}return null!==a&&(sZ(l,a.struct,a.offset),a=null),sH(l),a0(s,aX(i.map(t=>a1(t)))),s.toUint8Array()},sz=(t,r,n=UpdateDecoderV2,i=UpdateEncoderV2)=>{let o=so(r),a=new i,s=new LazyStructWriter(a),l=new n(oP(t)),u=new LazyStructReader(l,!1);for(;u.curr;){let t=u.curr,r=t.id.client,n=o.get(r)||0;if(u.curr.constructor===Skip){u.next();continue}if(t.id.clock+t.length>n)for(sZ(s,t,i1(n-t.id.clock,0)),u.next();u.curr&&u.curr.id.client===r;)sZ(s,u.curr,0),u.next();else for(;u.curr&&u.curr.id.client===r&&u.curr.id.clock+u.curr.length<=n;)u.next()}return sH(s),a0(a,a1(l)),a.toUint8Array()},sq=t=>{t.written>0&&(t.clientStructs.push({written:t.written,restEncoder:oa(t.encoder.restEncoder)}),t.encoder.restEncoder=oi(),t.written=0)},sZ=(t,r,n)=>{t.written>0&&t.currClient!==r.id.client&&sq(t),0===t.written&&(t.currClient=r.id.client,t.encoder.writeClient(r.id.client),ou(t.encoder.restEncoder,r.id.clock+n)),r.write(t.encoder,n),t.written++},sH=t=>{sq(t);let r=t.encoder.restEncoder;ou(r,t.clientStructs.length);for(let n=0;n<t.clientStructs.length;n++){let i=t.clientStructs[n];ou(r,i.written),oh(r,i.restEncoder)}},sV=(t,r,n,i)=>{let o=new n(oP(t)),a=new LazyStructReader(o,!1),s=new i,l=new LazyStructWriter(s);for(let t=a.curr;null!==t;t=a.next())sZ(l,r(t),0);return sH(l),a0(s,a1(o)),s.toUint8Array()},sW=t=>sV(t,ai,UpdateDecoderV2,UpdateEncoderV1),sG="You must not compute changes after the event-handler fired.";let YEvent=class YEvent{constructor(t,r){this.target=t,this.currentTarget=t,this.transaction=r,this._changes=null,this._keys=null,this._delta=null,this._path=null}get path(){return this._path||(this._path=sK(this.currentTarget,this.target))}deletes(t){return aG(this.transaction.deleteSet,t.id)}get keys(){if(null===this._keys){if(0===this.transaction.doc._transactionCleanups.length)throw ok(sG);let t=new Map,r=this.target;this.transaction.changed.get(r).forEach(n=>{if(null!==n){let i,o,a=r._map.get(n);if(this.adds(a)){let t=a.left;for(;null!==t&&this.adds(t);)t=t.left;if(this.deletes(a))if(!(null!==t&&this.deletes(t)))return;else i="delete",o=iV(t.content.getContent());else null!==t&&this.deletes(t)?(i="update",o=iV(t.content.getContent())):(i="add",o=void 0)}else{if(!this.deletes(a))return;i="delete",o=iV(a.content.getContent())}t.set(n,{action:i,oldValue:o})}}),this._keys=t}return this._keys}get delta(){return this.changes.delta}adds(t){return t.id.clock>=(this.transaction.beforeState.get(t.id.client)||0)}get changes(){let t=this._changes;if(null===t){if(0===this.transaction.doc._transactionCleanups.length)throw ok(sG);let r=this.target,n=iH(),i=iH(),o=[];if(t={added:n,deleted:i,delta:o,keys:this.keys},this.transaction.changed.get(r).has(null)){let t=null,a=()=>{t&&o.push(t)};for(let o=r._start;null!==o;o=o.right)o.deleted?this.deletes(o)&&!this.adds(o)&&((null===t||void 0===t.delete)&&(a(),t={delete:0}),t.delete+=o.length,i.add(o)):this.adds(o)?((null===t||void 0===t.insert)&&(a(),t={insert:[]}),t.insert=t.insert.concat(o.content.getContent()),n.add(o)):((null===t||void 0===t.retain)&&(a(),t={retain:0}),t.retain+=o.length);null!==t&&void 0===t.retain&&a()}this._changes=t}return t}};let sK=(t,r)=>{let n=[];for(;null!==r._item&&r!==t;){if(null!==r._item.parentSub)n.unshift(r._item.parentSub);else{let t=0,i=r._item.parent._start;for(;i!==r._item&&null!==i;)!i.deleted&&i.countable&&(t+=i.length),i=i.right;n.unshift(t)}r=r._item.parent}return n},sX=()=>{aU("Invalid access: Add Yjs type to a document before reading data.")},sY=0;let ArraySearchMarker=class ArraySearchMarker{constructor(t,r){t.marker=!0,this.p=t,this.index=r,this.timestamp=sY++}};let sJ=t=>{t.timestamp=sY++},sQ=(t,r,n)=>{t.p.marker=!1,t.p=r,r.marker=!0,t.index=n,t.timestamp=sY++},s0=(t,r,n)=>{if(t.length>=80){let i=t.reduce((t,r)=>t.timestamp<r.timestamp?t:r);return sQ(i,r,n),i}{let i=new ArraySearchMarker(r,n);return t.push(i),i}},s1=(t,r)=>{if(null===t._start||0===r||null===t._searchMarker)return null;let n=0===t._searchMarker.length?null:t._searchMarker.reduce((t,n)=>iJ(r-t.index)<iJ(r-n.index)?t:n),i=t._start,o=0;for(null!==n&&(i=n.p,o=n.index,sJ(n));null!==i.right&&o<r;){if(!i.deleted&&i.countable){if(r<o+i.length)break;o+=i.length}i=i.right}for(;null!==i.left&&o>r;)!(i=i.left).deleted&&i.countable&&(o-=i.length);for(;null!==i.left&&i.left.id.client===i.id.client&&i.left.id.clock+i.left.length===i.id.clock;)!(i=i.left).deleted&&i.countable&&(o-=i.length);return null!==n&&iJ(n.index-o)<i.parent.length/80?(sQ(n,i,o),n):s0(t._searchMarker,i,o)},s2=(t,r,n)=>{for(let i=t.length-1;i>=0;i--){let o=t[i];if(n>0){let r=o.p;for(r.marker=!1;r&&(r.deleted||!r.countable);)(r=r.left)&&!r.deleted&&r.countable&&(o.index-=r.length);if(null===r||!0===r.marker){t.splice(i,1);continue}o.p=r,r.marker=!0}(r<o.index||n>0&&r===o.index)&&(o.index=i1(r,o.index+n))}},s5=(t,r,n)=>{let i=t,o=r.changedParentTypes;for(;iz(o,t,()=>[]).push(n),null!==t._item;)t=t._item.parent;sf(i._eH,n,r)};let AbstractType=class AbstractType{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=sc(),this._dEH=sc(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(t,r){this.doc=t,this._item=r}_copy(){throw oC()}clone(){throw oC()}_write(t){}get _first(){let t=this._start;for(;null!==t&&t.deleted;)t=t.right;return t}_callObserver(t,r){!t.local&&this._searchMarker&&(this._searchMarker.length=0)}observe(t){sd(this._eH,t)}observeDeep(t){sd(this._dEH,t)}unobserve(t){sp(this._eH,t)}unobserveDeep(t){sp(this._dEH,t)}toJSON(){}};let s3=(t,r,n)=>{t.doc??sX(),r<0&&(r=t._length+r),n<0&&(n=t._length+n);let i=n-r,o=[],a=t._start;for(;null!==a&&i>0;){if(a.countable&&!a.deleted){let t=a.content.getContent();if(t.length<=r)r-=t.length;else{for(let n=r;n<t.length&&i>0;n++)o.push(t[n]),i--;r=0}}a=a.right}return o},s6=t=>{t.doc??sX();let r=[],n=t._start;for(;null!==n;){if(n.countable&&!n.deleted){let t=n.content.getContent();for(let n=0;n<t.length;n++)r.push(t[n])}n=n.right}return r},s4=(t,r)=>{let n=0,i=t._start;for(t.doc??sX();null!==i;){if(i.countable&&!i.deleted){let o=i.content.getContent();for(let i=0;i<o.length;i++)r(o[i],n++,t)}i=i.right}},s8=(t,r)=>{let n=[];return s4(t,(i,o)=>{n.push(r(i,o,t))}),n},s7=t=>{let r=t._start,n=null,i=0;return{[Symbol.iterator](){return this},next:()=>{if(null===n){for(;null!==r&&r.deleted;)r=r.right;if(null===r)return{done:!0,value:void 0};n=r.content.getContent(),i=0,r=r.right}let t=n[i++];return n.length<=i&&(n=null),{done:!1,value:t}}}},s9=(t,r)=>{t.doc??sX();let n=s1(t,r),i=t._start;for(null!==n&&(i=n.p,r-=n.index);null!==i;i=i.right)if(!i.deleted&&i.countable){if(r<i.length)return i.content.getContent()[r];r-=i.length}},le=(t,r,n,i)=>{let o=n,a=t.doc,s=a.clientID,l=a.store,u=null===n?r._start:n.right,c=[],d=()=>{c.length>0&&((o=new Item(sm(s,sw(l,s)),o,o&&o.lastId,u,u&&u.id,r,null,new ContentAny(c))).integrate(t,0),c=[])};i.forEach(n=>{if(null===n)c.push(n);else switch(n.constructor){case Number:case Object:case Boolean:case Array:case String:c.push(n);break;default:switch(d(),n.constructor){case Uint8Array:case ArrayBuffer:(o=new Item(sm(s,sw(l,s)),o,o&&o.lastId,u,u&&u.id,r,null,new ContentBinary(new Uint8Array(n)))).integrate(t,0);break;case Doc:(o=new Item(sm(s,sw(l,s)),o,o&&o.lastId,u,u&&u.id,r,null,new ContentDoc(n))).integrate(t,0);break;default:if(n instanceof AbstractType)(o=new Item(sm(s,sw(l,s)),o,o&&o.lastId,u,u&&u.id,r,null,new ContentType(n))).integrate(t,0);else throw Error("Unexpected content type in insert operation")}}}),d()},lt=()=>ok("Length exceeded!"),lr=(t,r,n,i)=>{if(n>r._length)throw lt();if(0===n)return r._searchMarker&&s2(r._searchMarker,n,i.length),le(t,r,null,i);let o=n,a=s1(r,n),s=r._start;for(null!==a&&(s=a.p,0==(n-=a.index)&&(n+=(s=s.prev)&&s.countable&&!s.deleted?s.length:0));null!==s;s=s.right)if(!s.deleted&&s.countable){if(n<=s.length){n<s.length&&sC(t,sm(s.id.client,s.id.clock+n));break}n-=s.length}return r._searchMarker&&s2(r._searchMarker,o,i.length),le(t,r,s,i)},ln=(t,r,n)=>{let i=(r._searchMarker||[]).reduce((t,r)=>r.index>t.index?r:t,{index:0,p:r._start}).p;if(i)for(;i.right;)i=i.right;return le(t,r,i,n)},li=(t,r,n,i)=>{if(0===i)return;let o=n,a=i,s=s1(r,n),l=r._start;for(null!==s&&(l=s.p,n-=s.index);null!==l&&n>0;l=l.right)!l.deleted&&l.countable&&(n<l.length&&sC(t,sm(l.id.client,l.id.clock+n)),n-=l.length);for(;i>0&&null!==l;)l.deleted||(i<l.length&&sC(t,sm(l.id.client,l.id.clock+i)),l.delete(t),i-=l.length),l=l.right;if(i>0)throw lt();r._searchMarker&&s2(r._searchMarker,o,-a+i)},lo=(t,r,n)=>{let i=r._map.get(n);void 0!==i&&i.delete(t)},la=(t,r,n,i)=>{let o,a=r._map.get(n)||null,s=t.doc,l=s.clientID;if(null==i)o=new ContentAny([i]);else switch(i.constructor){case Number:case Object:case Boolean:case Array:case String:case Date:case BigInt:o=new ContentAny([i]);break;case Uint8Array:o=new ContentBinary(i);break;case Doc:o=new ContentDoc(i);break;default:if(i instanceof AbstractType)o=new ContentType(i);else throw Error("Unexpected content type")}new Item(sm(l,sw(s.store,l)),a,a&&a.lastId,null,null,r,n,o).integrate(t,0)},ls=(t,r)=>{t.doc??sX();let n=t._map.get(r);return void 0===n||n.deleted?void 0:n.content.getContent()[n.length-1]},ll=t=>{let r={};return t.doc??sX(),t._map.forEach((t,n)=>{t.deleted||(r[n]=t.content.getContent()[t.length-1])}),r},lu=(t,r)=>{t.doc??sX();let n=t._map.get(r);return void 0!==n&&!n.deleted},lc=(t,r)=>{let n={};return t._map.forEach((t,i)=>{let o=t;for(;null!==o&&(!r.sv.has(o.id.client)||o.id.clock>=(r.sv.get(o.id.client)||0));)o=o.left;null!==o&&sv(o,r)&&(n[i]=o.content.getContent()[o.length-1])}),n},ld=t=>(t.doc??sX(),aZ(t._map.entries(),t=>!t[1].deleted));let YArrayEvent=class YArrayEvent extends YEvent{};let YArray=class YArray extends AbstractType{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(t){let r=new YArray;return r.push(t),r}_integrate(t,r){super._integrate(t,r),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new YArray}clone(){let t=new YArray;return t.insert(0,this.toArray().map(t=>t instanceof AbstractType?t.clone():t)),t}get length(){return this.doc??sX(),this._length}_callObserver(t,r){super._callObserver(t,r),s5(this,t,new YArrayEvent(this,t))}insert(t,r){null!==this.doc?sj(this.doc,n=>{lr(n,this,t,r)}):this._prelimContent.splice(t,0,...r)}push(t){null!==this.doc?sj(this.doc,r=>{ln(r,this,t)}):this._prelimContent.push(...t)}unshift(t){this.insert(0,t)}delete(t,r=1){null!==this.doc?sj(this.doc,n=>{li(n,this,t,r)}):this._prelimContent.splice(t,r)}get(t){return s9(this,t)}toArray(){return s6(this)}slice(t=0,r=this.length){return s3(this,t,r)}toJSON(){return this.map(t=>t instanceof AbstractType?t.toJSON():t)}map(t){return s8(this,t)}forEach(t){s4(this,t)}[Symbol.iterator](){return s7(this)}_write(t){t.writeTypeRef(lT)}};let YMapEvent=class YMapEvent extends YEvent{constructor(t,r,n){super(t,r),this.keysChanged=n}};let YMap=class YMap extends AbstractType{constructor(t){super(),this._prelimContent=null,void 0===t?this._prelimContent=new Map:this._prelimContent=new Map(t)}_integrate(t,r){super._integrate(t,r),this._prelimContent.forEach((t,r)=>{this.set(r,t)}),this._prelimContent=null}_copy(){return new YMap}clone(){let t=new YMap;return this.forEach((r,n)=>{t.set(n,r instanceof AbstractType?r.clone():r)}),t}_callObserver(t,r){s5(this,t,new YMapEvent(this,t,r))}toJSON(){this.doc??sX();let t={};return this._map.forEach((r,n)=>{if(!r.deleted){let i=r.content.getContent()[r.length-1];t[n]=i instanceof AbstractType?i.toJSON():i}}),t}get size(){return[...ld(this)].length}keys(){return aH(ld(this),t=>t[0])}values(){return aH(ld(this),t=>t[1].content.getContent()[t[1].length-1])}entries(){return aH(ld(this),t=>[t[0],t[1].content.getContent()[t[1].length-1]])}forEach(t){this.doc??sX(),this._map.forEach((r,n)=>{r.deleted||t(r.content.getContent()[r.length-1],n,this)})}[Symbol.iterator](){return this.entries()}delete(t){null!==this.doc?sj(this.doc,r=>{lo(r,this,t)}):this._prelimContent.delete(t)}set(t,r){return null!==this.doc?sj(this.doc,n=>{la(n,this,t,r)}):this._prelimContent.set(t,r),r}get(t){return ls(this,t)}has(t){return lu(this,t)}clear(){null!==this.doc?sj(this.doc,t=>{this.forEach(function(r,n,i){lo(t,i,n)})}):this._prelimContent.clear()}_write(t){t.writeTypeRef(lP)}};let lp=(t,r)=>t===r||"object"==typeof t&&"object"==typeof r&&t&&r&&o7(t,r);let ItemTextListPosition=class ItemTextListPosition{constructor(t,r,n,i){this.left=t,this.right=r,this.index=n,this.currentAttributes=i}forward(){null===this.right&&oO(),this.right.content.constructor===ContentFormat?this.right.deleted||lg(this.currentAttributes,this.right.content):this.right.deleted||(this.index+=this.right.length),this.left=this.right,this.right=this.right.right}};let lf=(t,r,n)=>{for(;null!==r.right&&n>0;)r.right.content.constructor===ContentFormat?r.right.deleted||lg(r.currentAttributes,r.right.content):r.right.deleted||(n<r.right.length&&sC(t,sm(r.right.id.client,r.right.id.clock+n)),r.index+=r.right.length,n-=r.right.length),r.left=r.right,r.right=r.right.right;return r},lh=(t,r,n,i)=>{let o=new Map,a=i?s1(r,n):null;return a?lf(t,new ItemTextListPosition(a.p.left,a.p,a.index,o),n-a.index):lf(t,new ItemTextListPosition(null,r._start,0,o),n)},lm=(t,r,n,i)=>{for(;null!==n.right&&(!0===n.right.deleted||n.right.content.constructor===ContentFormat&&lp(i.get(n.right.content.key),n.right.content.value));)n.right.deleted||i.delete(n.right.content.key),n.forward();let o=t.doc,a=o.clientID;i.forEach((i,s)=>{let l=n.left,u=n.right,c=new Item(sm(a,sw(o.store,a)),l,l&&l.lastId,u,u&&u.id,r,null,new ContentFormat(s,i));c.integrate(t,0),n.right=c,n.forward()})},lg=(t,r)=>{let{key:n,value:i}=r;null===i?t.delete(n):t.set(n,i)},ly=(t,r)=>{for(;null!==t.right&&(t.right.deleted||t.right.content.constructor===ContentFormat&&lp(r[t.right.content.key]??null,t.right.content.value));){;t.forward()}},lv=(t,r,n,i)=>{let o=t.doc,a=o.clientID,s=new Map;for(let l in i){let u=i[l],c=n.currentAttributes.get(l)??null;if(!lp(c,u)){s.set(l,c);let{left:i,right:d}=n;n.right=new Item(sm(a,sw(o.store,a)),i,i&&i.lastId,d,d&&d.id,r,null,new ContentFormat(l,u)),n.right.integrate(t,0),n.forward()}}return s},lb=(t,r,n,i,o)=>{n.currentAttributes.forEach((t,r)=>{void 0===o[r]&&(o[r]=null)});let a=t.doc,s=a.clientID;ly(n,o);let l=lv(t,r,n,o),u=i.constructor===String?new ContentString(i):i instanceof AbstractType?new ContentType(i):new ContentEmbed(i),{left:c,right:d,index:f}=n;r._searchMarker&&s2(r._searchMarker,n.index,u.getLength()),(d=new Item(sm(s,sw(a.store,s)),c,c&&c.lastId,d,d&&d.id,r,null,u)).integrate(t,0),n.right=d,n.index=f,n.forward(),lm(t,r,n,l)},l_=(t,r,n,i,o)=>{let a=t.doc,s=a.clientID;ly(n,o);let l=lv(t,r,n,o);for(;null!==n.right&&(i>0||l.size>0&&(n.right.deleted||n.right.content.constructor===ContentFormat));){if(!n.right.deleted)if(n.right.content.constructor===ContentFormat){let{key:r,value:a}=n.right.content,s=o[r];if(void 0!==s){if(lp(s,a))l.delete(r);else{if(0===i)break;l.set(r,a)}n.right.delete(t)}else n.currentAttributes.set(r,a)}else i<n.right.length&&sC(t,sm(n.right.id.client,n.right.id.clock+i)),i-=n.right.length;n.forward()}if(i>0){let o="";for(;i>0;i--)o+="\n";n.right=new Item(sm(s,sw(a.store,s)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,r,null,new ContentString(o)),n.right.integrate(t,0),n.forward()}lm(t,r,n,l)},lw=(t,r,n,i,o)=>{let a=r,s=i$();for(;a&&(!a.countable||a.deleted);){if(!a.deleted&&a.content.constructor===ContentFormat){let t=a.content;s.set(t.key,t)}a=a.right}let l=0,u=!1;for(;r!==a;){if(n===r&&(u=!0),!r.deleted){let n=r.content;if(n.constructor===ContentFormat){let{key:a,value:c}=n,d=i.get(a)??null;(s.get(a)!==n||d===c)&&(r.delete(t),l++,u||(o.get(a)??null)!==c||d===c||(null===d?o.delete(a):o.set(a,d))),u||r.deleted||lg(o,n)}}r=r.right}return l},lS=(t,r)=>{for(;r&&r.right&&(r.right.deleted||!r.right.countable);)r=r.right;let n=new Set;for(;r&&(r.deleted||!r.countable);){if(!r.deleted&&r.content.constructor===ContentFormat){let i=r.content.key;n.has(i)?r.delete(t):n.add(i)}r=r.left}},lx=t=>{let r=0;return sj(t.doc,n=>{let i=t._start,o=t._start,a=i$(),s=iU(a);for(;o;)!1===o.deleted&&(o.content.constructor===ContentFormat?lg(s,o.content):(r+=lw(n,i,o,a,s),a=iU(s),i=o)),o=o.right}),r},lE=t=>{let r=new Set,n=t.doc;for(let[i,o]of t.afterState.entries()){let a=t.beforeState.get(i)||0;o!==a&&sT(t,n.store.clients.get(i),a,o,t=>{t.deleted||t.content.constructor!==ContentFormat||t.constructor===GC||r.add(t.parent)})}sj(n,n=>{for(let i of(aV(t,t.deleteSet,t=>{if(t instanceof GC||!t.parent._hasFormatting||r.has(t.parent))return;let i=t.parent;t.content.constructor===ContentFormat?r.add(i):lS(n,t)}),r))lx(i)})},lk=(t,r,n)=>{let i=n,o=iU(r.currentAttributes),a=r.right;for(;n>0&&null!==r.right;){if(!1===r.right.deleted)switch(r.right.content.constructor){case ContentType:case ContentEmbed:case ContentString:n<r.right.length&&sC(t,sm(r.right.id.client,r.right.id.clock+n)),n-=r.right.length,r.right.delete(t)}r.forward()}a&&lw(t,a,r.right,o,r.currentAttributes);let s=(r.left||r.right).parent;return s._searchMarker&&s2(s._searchMarker,r.index,-i+n),r};let YTextEvent=class YTextEvent extends YEvent{constructor(t,r,n){super(t,r),this.childListChanged=!1,this.keysChanged=new Set,n.forEach(t=>{null===t?this.childListChanged=!0:this.keysChanged.add(t)})}get changes(){if(null===this._changes){let t={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=t}return this._changes}get delta(){if(null===this._delta){let t=this.target.doc,r=[];sj(t,t=>{let n=new Map,i=new Map,o=this.target._start,a=null,s={},l="",u=0,c=0,d=()=>{if(null!==a){let t=null;switch(a){case"delete":c>0&&(t={delete:c}),c=0;break;case"insert":("object"==typeof l||l.length>0)&&(t={insert:l},n.size>0&&(t.attributes={},n.forEach((r,n)=>{null!==r&&(t.attributes[n]=r)}))),l="";break;case"retain":u>0&&(t={retain:u},o6(s)||(t.attributes=o0({},s))),u=0}t&&r.push(t),a=null}};for(;null!==o;){switch(o.content.constructor){case ContentType:case ContentEmbed:this.adds(o)?this.deletes(o)||(d(),a="insert",l=o.content.getContent()[0],d()):this.deletes(o)?("delete"!==a&&(d(),a="delete"),c+=1):o.deleted||("retain"!==a&&(d(),a="retain"),u+=1);break;case ContentString:this.adds(o)?this.deletes(o)||("insert"!==a&&(d(),a="insert"),l+=o.content.str):this.deletes(o)?("delete"!==a&&(d(),a="delete"),c+=o.length):o.deleted||("retain"!==a&&(d(),a="retain"),u+=o.length);break;case ContentFormat:{let{key:r,value:l}=o.content;if(this.adds(o))this.deletes(o)||(lp(n.get(r)??null,l)?null!==l&&o.delete(t):("retain"===a&&d(),lp(l,i.get(r)??null)?delete s[r]:s[r]=l));else if(this.deletes(o)){i.set(r,l);let t=n.get(r)??null;lp(t,l)||("retain"===a&&d(),s[r]=t)}else if(!o.deleted){i.set(r,l);let n=s[r];void 0!==n&&(lp(n,l)?null!==n&&o.delete(t):("retain"===a&&d(),null===l?delete s[r]:s[r]=l))}o.deleted||("insert"===a&&d(),lg(n,o.content))}}o=o.right}for(d();r.length>0;){let t=r[r.length-1];if(void 0!==t.retain&&void 0===t.attributes)r.pop();else break}}),this._delta=r}return this._delta}};let YText=class YText extends AbstractType{constructor(t){super(),this._pending=void 0!==t?[()=>this.insert(0,t)]:[],this._searchMarker=[],this._hasFormatting=!1}get length(){return this.doc??sX(),this._length}_integrate(t,r){super._integrate(t,r);try{this._pending.forEach(t=>t())}catch(t){console.error(t)}this._pending=null}_copy(){return new YText}clone(){let t=new YText;return t.applyDelta(this.toDelta()),t}_callObserver(t,r){super._callObserver(t,r);let n=new YTextEvent(this,t,r);s5(this,t,n),!t.local&&this._hasFormatting&&(t._needFormattingCleanup=!0)}toString(){this.doc??sX();let t="",r=this._start;for(;null!==r;)!r.deleted&&r.countable&&r.content.constructor===ContentString&&(t+=r.content.str),r=r.right;return t}toJSON(){return this.toString()}applyDelta(t,{sanitize:r=!0}={}){null!==this.doc?sj(this.doc,n=>{let i=new ItemTextListPosition(null,this._start,0,new Map);for(let o=0;o<t.length;o++){let a=t[o];if(void 0!==a.insert){let s=r||"string"!=typeof a.insert||o!==t.length-1||null!==i.right||"\n"!==a.insert.slice(-1)?a.insert:a.insert.slice(0,-1);("string"!=typeof s||s.length>0)&&lb(n,this,i,s,a.attributes||{})}else void 0!==a.retain?l_(n,this,i,a.retain,a.attributes||{}):void 0!==a.delete&&lk(n,i,a.delete)}}):this._pending.push(()=>this.applyDelta(t))}toDelta(t,r,n){this.doc??sX();let i=[],o=new Map,a=this.doc,s="",l=this._start;function u(){if(s.length>0){let t={},r=!1;o.forEach((n,i)=>{r=!0,t[i]=n});let n={insert:s};r&&(n.attributes=t),i.push(n),s=""}}let c=()=>{for(;null!==l;){if(sv(l,t)||void 0!==r&&sv(l,r))switch(l.content.constructor){case ContentString:{let i=o.get("ychange");void 0===t||sv(l,t)?void 0===r||sv(l,r)?void 0!==i&&(u(),o.delete("ychange")):(void 0===i||i.user!==l.id.client||"added"!==i.type)&&(u(),o.set("ychange",n?n("added",l.id):{type:"added"})):(void 0===i||i.user!==l.id.client||"removed"!==i.type)&&(u(),o.set("ychange",n?n("removed",l.id):{type:"removed"})),s+=l.content.str;break}case ContentType:case ContentEmbed:{u();let t={insert:l.content.getContent()[0]};if(o.size>0){let r={};t.attributes=r,o.forEach((t,n)=>{r[n]=t})}i.push(t);break}case ContentFormat:sv(l,t)&&(u(),lg(o,l.content))}l=l.right}u()};return t||r?sj(a,n=>{t&&sb(n,t),r&&sb(n,r),c()},"cleanup"):c(),i}insert(t,r,n){if(r.length<=0)return;let i=this.doc;null!==i?sj(i,i=>{let o=lh(i,this,t,!n);n||(n={},o.currentAttributes.forEach((t,r)=>{n[r]=t})),lb(i,this,o,r,n)}):this._pending.push(()=>this.insert(t,r,n))}insertEmbed(t,r,n){let i=this.doc;null!==i?sj(i,i=>{let o=lh(i,this,t,!n);lb(i,this,o,r,n||{})}):this._pending.push(()=>this.insertEmbed(t,r,n||{}))}delete(t,r){if(0===r)return;let n=this.doc;null!==n?sj(n,n=>{lk(n,lh(n,this,t,!0),r)}):this._pending.push(()=>this.delete(t,r))}format(t,r,n){if(0===r)return;let i=this.doc;null!==i?sj(i,i=>{let o=lh(i,this,t,!1);null!==o.right&&l_(i,this,o,r,n)}):this._pending.push(()=>this.format(t,r,n))}removeAttribute(t){null!==this.doc?sj(this.doc,r=>{lo(r,this,t)}):this._pending.push(()=>this.removeAttribute(t))}setAttribute(t,r){null!==this.doc?sj(this.doc,n=>{la(n,this,t,r)}):this._pending.push(()=>this.setAttribute(t,r))}getAttribute(t){return ls(this,t)}getAttributes(){return ll(this)}_write(t){t.writeTypeRef(lM)}};let YXmlTreeWalker=class YXmlTreeWalker{constructor(t,r=()=>!0){this._filter=r,this._root=t,this._currentNode=t._start,this._firstCall=!0,t.doc??sX()}[Symbol.iterator](){return this}next(){let t=this._currentNode,r=t&&t.content&&t.content.type;if(null!==t&&(!this._firstCall||t.deleted||!this._filter(r)))do if(r=t.content.type,t.deleted||r.constructor!==YXmlElement&&r.constructor!==YXmlFragment||null===r._start)for(;null!==t;){let r=t.next;if(null!==r){t=r;break}t=t.parent===this._root?null:t.parent._item}else t=r._start;while(null!==t&&(t.deleted||!this._filter(t.content.type)));return(this._firstCall=!1,null===t)?{value:void 0,done:!0}:(this._currentNode=t,{value:t.content.type,done:!1})}};let YXmlFragment=class YXmlFragment extends AbstractType{constructor(){super(),this._prelimContent=[]}get firstChild(){let t=this._first;return t?t.content.getContent()[0]:null}_integrate(t,r){super._integrate(t,r),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new YXmlFragment}clone(){let t=new YXmlFragment;return t.insert(0,this.toArray().map(t=>t instanceof AbstractType?t.clone():t)),t}get length(){return this.doc??sX(),null===this._prelimContent?this._length:this._prelimContent.length}createTreeWalker(t){return new YXmlTreeWalker(this,t)}querySelector(t){t=t.toUpperCase();let r=new YXmlTreeWalker(this,r=>r.nodeName&&r.nodeName.toUpperCase()===t).next();return r.done?null:r.value}querySelectorAll(t){return t=t.toUpperCase(),iG(new YXmlTreeWalker(this,r=>r.nodeName&&r.nodeName.toUpperCase()===t))}_callObserver(t,r){s5(this,t,new YXmlEvent(this,r,t))}toString(){return s8(this,t=>t.toString()).join("")}toJSON(){return this.toString()}toDOM(t=document,r={},n){let i=t.createDocumentFragment();return void 0!==n&&n._createAssociation(i,this),s4(this,o=>{i.insertBefore(o.toDOM(t,r,n),null)}),i}insert(t,r){null!==this.doc?sj(this.doc,n=>{lr(n,this,t,r)}):this._prelimContent.splice(t,0,...r)}insertAfter(t,r){if(null!==this.doc)sj(this.doc,n=>{le(n,this,t&&t instanceof AbstractType?t._item:t,r)});else{let n=this._prelimContent,i=null===t?0:n.findIndex(r=>r===t)+1;if(0===i&&null!==t)throw ok("Reference item not found");n.splice(i,0,...r)}}delete(t,r=1){null!==this.doc?sj(this.doc,n=>{li(n,this,t,r)}):this._prelimContent.splice(t,r)}toArray(){return s6(this)}push(t){this.insert(this.length,t)}unshift(t){this.insert(0,t)}get(t){return s9(this,t)}slice(t=0,r=this.length){return s3(this,t,r)}forEach(t){s4(this,t)}_write(t){t.writeTypeRef(lA)}};let YXmlElement=class YXmlElement extends YXmlFragment{constructor(t="UNDEFINED"){super(),this.nodeName=t,this._prelimAttrs=new Map}get nextSibling(){let t=this._item?this._item.next:null;return t?t.content.type:null}get prevSibling(){let t=this._item?this._item.prev:null;return t?t.content.type:null}_integrate(t,r){super._integrate(t,r),this._prelimAttrs.forEach((t,r)=>{this.setAttribute(r,t)}),this._prelimAttrs=null}_copy(){return new YXmlElement(this.nodeName)}clone(){let t=new YXmlElement(this.nodeName);return o2(this.getAttributes(),(r,n)=>{"string"==typeof r&&t.setAttribute(n,r)}),t.insert(0,this.toArray().map(t=>t instanceof AbstractType?t.clone():t)),t}toString(){let t=this.getAttributes(),r=[],n=[];for(let r in t)n.push(r);n.sort();let i=n.length;for(let o=0;o<i;o++){let i=n[o];r.push(i+'="'+t[i]+'"')}let o=this.nodeName.toLocaleLowerCase(),a=r.length>0?" "+r.join(" "):"";return`<${o}${a}>${super.toString()}</${o}>`}removeAttribute(t){null!==this.doc?sj(this.doc,r=>{lo(r,this,t)}):this._prelimAttrs.delete(t)}setAttribute(t,r){null!==this.doc?sj(this.doc,n=>{la(n,this,t,r)}):this._prelimAttrs.set(t,r)}getAttribute(t){return ls(this,t)}hasAttribute(t){return lu(this,t)}getAttributes(t){return t?lc(this,t):ll(this)}toDOM(t=document,r={},n){let i=t.createElement(this.nodeName),o=this.getAttributes();for(let t in o){let r=o[t];"string"==typeof r&&i.setAttribute(t,r)}return s4(this,o=>{i.appendChild(o.toDOM(t,r,n))}),void 0!==n&&n._createAssociation(i,this),i}_write(t){t.writeTypeRef(lI),t.writeKey(this.nodeName)}};let YXmlEvent=class YXmlEvent extends YEvent{constructor(t,r,n){super(t,n),this.childListChanged=!1,this.attributesChanged=new Set,r.forEach(t=>{null===t?this.childListChanged=!0:this.attributesChanged.add(t)})}};let YXmlHook=class YXmlHook extends YMap{constructor(t){super(),this.hookName=t}_copy(){return new YXmlHook(this.hookName)}clone(){let t=new YXmlHook(this.hookName);return this.forEach((r,n)=>{t.set(n,r)}),t}toDOM(t=document,r={},n){let i,o=r[this.hookName];return(i=void 0!==o?o.createDom(this):document.createElement(this.hookName)).setAttribute("data-yjs-hook",this.hookName),void 0!==n&&n._createAssociation(i,this),i}_write(t){t.writeTypeRef(lL),t.writeKey(this.hookName)}};let YXmlText=class YXmlText extends YText{get nextSibling(){let t=this._item?this._item.next:null;return t?t.content.type:null}get prevSibling(){let t=this._item?this._item.prev:null;return t?t.content.type:null}_copy(){return new YXmlText}clone(){let t=new YXmlText;return t.applyDelta(this.toDelta()),t}toDOM(t=document,r,n){let i=t.createTextNode(this.toString());return void 0!==n&&n._createAssociation(i,this),i}toString(){return this.toDelta().map(t=>{let r=[];for(let n in t.attributes){let i=[];for(let r in t.attributes[n])i.push({key:r,value:t.attributes[n][r]});i.sort((t,r)=>t.key<r.key?-1:1),r.push({nodeName:n,attrs:i})}r.sort((t,r)=>t.nodeName<r.nodeName?-1:1);let n="";for(let t=0;t<r.length;t++){let i=r[t];n+=`<${i.nodeName}`;for(let t=0;t<i.attrs.length;t++){let r=i.attrs[t];n+=` ${r.key}="${r.value}"`}n+=">"}n+=t.insert;for(let t=r.length-1;t>=0;t--)n+=`</${r[t].nodeName}>`;return n}).join("")}toJSON(){return this.toString()}_write(t){t.writeTypeRef(lN)}};let AbstractStruct=class AbstractStruct{constructor(t,r){this.id=t,this.length=r}get deleted(){throw oC()}mergeWith(t){return!1}write(t,r,n){throw oC()}integrate(t,r){throw oC()}};let GC=class GC extends AbstractStruct{get deleted(){return!0}delete(){}mergeWith(t){return this.constructor===t.constructor&&(this.length+=t.length,!0)}integrate(t,r){r>0&&(this.id.clock+=r,this.length-=r),sS(t.doc.store,this)}write(t,r){t.writeInfo(0),t.writeLen(this.length-r)}getMissing(t,r){return null}};let ContentBinary=class ContentBinary{constructor(t){this.content=t}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new ContentBinary(this.content)}splice(t){throw oC()}mergeWith(t){return!1}integrate(t,r){}delete(t){}gc(t){}write(t,r){t.writeBuf(this.content)}getRef(){return 3}};let ContentDeleted=class ContentDeleted{constructor(t){this.len=t}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new ContentDeleted(this.len)}splice(t){let r=new ContentDeleted(this.len-t);return this.len=t,r}mergeWith(t){return this.len+=t.len,!0}integrate(t,r){aY(t.deleteSet,r.id.client,r.id.clock,this.len),r.markDeleted()}delete(t){}gc(t){}write(t,r){t.writeLen(this.len-r)}getRef(){return 1}};let lC=(t,r)=>new Doc({guid:t,...r,shouldLoad:r.shouldLoad||r.autoLoad||!1});let ContentDoc=class ContentDoc{constructor(t){t._item&&console.error("This document was already integrated as a sub-document. You should create a second instance instead with the same guid."),this.doc=t;let r={};this.opts=r,t.gc||(r.gc=!1),t.autoLoad&&(r.autoLoad=!0),null!==t.meta&&(r.meta=t.meta)}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return!0}copy(){return new ContentDoc(lC(this.doc.guid,this.opts))}splice(t){throw oC()}mergeWith(t){return!1}integrate(t,r){this.doc._item=r,t.subdocsAdded.add(this.doc),this.doc.shouldLoad&&t.subdocsLoaded.add(this.doc)}delete(t){t.subdocsAdded.has(this.doc)?t.subdocsAdded.delete(this.doc):t.subdocsRemoved.add(this.doc)}gc(t){}write(t,r){t.writeString(this.doc.guid),t.writeAny(this.opts)}getRef(){return 9}};let ContentEmbed=class ContentEmbed{constructor(t){this.embed=t}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new ContentEmbed(this.embed)}splice(t){throw oC()}mergeWith(t){return!1}integrate(t,r){}delete(t){}gc(t){}write(t,r){t.writeJSON(this.embed)}getRef(){return 5}};let ContentFormat=class ContentFormat{constructor(t,r){this.key=t,this.value=r}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new ContentFormat(this.key,this.value)}splice(t){throw oC()}mergeWith(t){return!1}integrate(t,r){let n=r.parent;n._searchMarker=null,n._hasFormatting=!0}delete(t){}gc(t){}write(t,r){t.writeKey(this.key),t.writeJSON(this.value)}getRef(){return 6}};let ContentJSON=class ContentJSON{constructor(t){this.arr=t}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new ContentJSON(this.arr)}splice(t){let r=new ContentJSON(this.arr.slice(t));return this.arr=this.arr.slice(0,t),r}mergeWith(t){return this.arr=this.arr.concat(t.arr),!0}integrate(t,r){}delete(t){}gc(t){}write(t,r){let n=this.arr.length;t.writeLen(n-r);for(let i=r;i<n;i++){let r=this.arr[i];t.writeString(void 0===r?"undefined":JSON.stringify(r))}}getRef(){return 2}};let lO="development"===ad("node_env");let ContentAny=class ContentAny{constructor(t){this.arr=t,lO&&ae(t)}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new ContentAny(this.arr)}splice(t){let r=new ContentAny(this.arr.slice(t));return this.arr=this.arr.slice(0,t),r}mergeWith(t){return this.arr=this.arr.concat(t.arr),!0}integrate(t,r){}delete(t){}gc(t){}write(t,r){let n=this.arr.length;t.writeLen(n-r);for(let i=r;i<n;i++){let r=this.arr[i];t.writeAny(r)}}getRef(){return 8}};let ContentString=class ContentString{constructor(t){this.str=t}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new ContentString(this.str)}splice(t){let r=new ContentString(this.str.slice(t));this.str=this.str.slice(0,t);let n=this.str.charCodeAt(t-1);return n>=55296&&n<=56319&&(this.str=this.str.slice(0,t-1)+"\uFFFD",r.str="\uFFFD"+r.str.slice(1)),r}mergeWith(t){return this.str+=t.str,!0}integrate(t,r){}delete(t){}gc(t){}write(t,r){t.writeString(0===r?this.str:this.str.slice(r))}getRef(){return 4}};let lR=[t=>new YArray,t=>new YMap,t=>new YText,t=>new YXmlElement(t.readKey()),t=>new YXmlFragment,t=>new YXmlHook(t.readKey()),t=>new YXmlText],lT=0,lP=1,lM=2,lI=3,lA=4,lL=5,lN=6;let ContentType=class ContentType{constructor(t){this.type=t}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new ContentType(this.type._copy())}splice(t){throw oC()}mergeWith(t){return!1}integrate(t,r){this.type._integrate(t.doc,r)}delete(t){let r=this.type._start;for(;null!==r;)r.deleted?r.id.clock<(t.beforeState.get(r.id.client)||0)&&t._mergeStructs.push(r):r.delete(t),r=r.right;this.type._map.forEach(r=>{r.deleted?r.id.clock<(t.beforeState.get(r.id.client)||0)&&t._mergeStructs.push(r):r.delete(t)}),t.changed.delete(this.type)}gc(t){let r=this.type._start;for(;null!==r;)r.gc(t,!0),r=r.right;this.type._start=null,this.type._map.forEach(r=>{for(;null!==r;)r.gc(t,!0),r=r.left}),this.type._map=new Map}write(t,r){this.type._write(t)}getRef(){return 7}};let lj=(t,r)=>{let n,i=r,o=0;do o>0&&(i=sm(i.client,i.clock+o)),n=sE(t,i),o=i.clock-n.id.clock,i=n.redone;while(null!==i&&n instanceof Item);return{item:n,diff:o}},lD=(t,r)=>{for(;null!==t&&t.keep!==r;)t.keep=r,t=t.parent._item},lF=(t,r,n)=>{let{client:i,clock:o}=r.id,a=new Item(sm(i,o+n),r,sm(i,o+n-1),r.right,r.rightOrigin,r.parent,r.parentSub,r.content.splice(n));return r.deleted&&a.markDeleted(),r.keep&&(a.keep=!0),null!==r.redone&&(a.redone=sm(r.redone.client,r.redone.clock+n)),r.right=a,null!==a.right&&(a.right.left=a),t._mergeStructs.push(a),null!==a.parentSub&&null===a.right&&a.parent._map.set(a.parentSub,a),r.length=n,a},lB=(t,r)=>iK(t,t=>aG(t.deletions,r)),l$=(t,r,n,i,o,a)=>{let s,l=t.doc,u=l.store,c=l.clientID,d=r.redone;if(null!==d)return sC(t,d);let f=r.parent._item,h=null;if(null!==f&&!0===f.deleted){if(null===f.redone&&(!n.has(f)||null===l$(t,f,n,i,o,a)))return null;for(;null!==f.redone;)f=sC(t,f.redone)}let m=null===f?r.parent:f.content.type;if(null===r.parentSub){for(h=r.left,s=r;null!==h;){let r=h;for(;null!==r&&r.parent._item!==f;)r=null===r.redone?null:sC(t,r.redone);if(null!==r&&r.parent._item===f){h=r;break}h=h.left}for(;null!==s;){let r=s;for(;null!==r&&r.parent._item!==f;)r=null===r.redone?null:sC(t,r.redone);if(null!==r&&r.parent._item===f){s=r;break}s=s.right}}else if(s=null,r.right&&!o){for(h=r;null!==h&&null!==h.right&&(h.right.redone||aG(i,h.right.id)||lB(a.undoStack,h.right.id)||lB(a.redoStack,h.right.id));)for(h=h.right;h.redone;)h=sC(t,h.redone);if(h&&null!==h.right)return null}else h=m._map.get(r.parentSub)||null;let g=sw(u,c),y=sm(c,g),v=new Item(y,h,h&&h.lastId,s,s&&s.id,m,r.parentSub,r.content.copy());return r.redone=y,lD(v,!0),v.integrate(t,0),v};let Item=class Item extends AbstractStruct{constructor(t,r,n,i,o,a,s,l){super(t,l.getLength()),this.origin=n,this.left=r,this.right=i,this.rightOrigin=o,this.parent=a,this.parentSub=s,this.redone=null,this.content=l,this.info=2*!!this.content.isCountable()}set marker(t){(8&this.info)>0!==t&&(this.info^=8)}get marker(){return(8&this.info)>0}get keep(){return(1&this.info)>0}set keep(t){this.keep!==t&&(this.info^=1)}get countable(){return(2&this.info)>0}get deleted(){return(4&this.info)>0}set deleted(t){this.deleted!==t&&(this.info^=4)}markDeleted(){this.info|=4}getMissing(t,r){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=sw(r,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=sw(r,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===ID&&this.id.client!==this.parent.client&&this.parent.clock>=sw(r,this.parent.client))return this.parent.client;if(this.origin&&(this.left=sO(t,r,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=sC(t,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===GC||this.right&&this.right.constructor===GC)this.parent=null;else if(this.parent){if(this.parent.constructor===ID){let t=sE(r,this.parent);t.constructor===GC?this.parent=null:this.parent=t.content.type}}else this.left&&this.left.constructor===Item?(this.parent=this.left.parent,this.parentSub=this.left.parentSub):this.right&&this.right.constructor===Item&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);return null}integrate(t,r){if(r>0&&(this.id.clock+=r,this.left=sO(t,t.doc.store,sm(this.id.client,this.id.clock-1)),this.origin=this.left.lastId,this.content=this.content.splice(r),this.length-=r),this.parent){if(!this.left&&(!this.right||null!==this.right.left)||this.left&&this.left.right!==this.right){let r,n=this.left;if(null!==n)r=n.right;else if(null!==this.parentSub)for(r=this.parent._map.get(this.parentSub)||null;null!==r&&null!==r.left;)r=r.left;else r=this.parent._start;let i=new Set,o=new Set;for(;null!==r&&r!==this.right;){if(o.add(r),i.add(r),sh(this.origin,r.origin)){if(r.id.client<this.id.client)n=r,i.clear();else if(sh(this.rightOrigin,r.rightOrigin))break}else if(null!==r.origin&&o.has(sE(t.doc.store,r.origin)))i.has(sE(t.doc.store,r.origin))||(n=r,i.clear());else break;r=r.right}this.left=n}if(null!==this.left){let t=this.left.right;this.right=t,this.left.right=this}else{let t;if(null!==this.parentSub)for(t=this.parent._map.get(this.parentSub)||null;null!==t&&null!==t.left;)t=t.left;else t=this.parent._start,this.parent._start=this;this.right=t}null!==this.right?this.right.left=this:null!==this.parentSub&&(this.parent._map.set(this.parentSub,this),null!==this.left&&this.left.delete(t)),null===this.parentSub&&this.countable&&!this.deleted&&(this.parent._length+=this.length),sS(t.doc.store,this),this.content.integrate(t,this),sM(t,this.parent,this.parentSub),(null!==this.parent._item&&this.parent._item.deleted||null!==this.parentSub&&null!==this.right)&&this.delete(t)}else new GC(this.id,this.length).integrate(t,0)}get next(){let t=this.right;for(;null!==t&&t.deleted;)t=t.right;return t}get prev(){let t=this.left;for(;null!==t&&t.deleted;)t=t.left;return t}get lastId(){return 1===this.length?this.id:sm(this.id.client,this.id.clock+this.length-1)}mergeWith(t){if(this.constructor===t.constructor&&sh(t.origin,this.lastId)&&this.right===t&&sh(this.rightOrigin,t.rightOrigin)&&this.id.client===t.id.client&&this.id.clock+this.length===t.id.clock&&this.deleted===t.deleted&&null===this.redone&&null===t.redone&&this.content.constructor===t.content.constructor&&this.content.mergeWith(t.content)){let r=this.parent._searchMarker;return r&&r.forEach(r=>{r.p===t&&(r.p=this,!this.deleted&&this.countable&&(r.index-=this.length))}),t.keep&&(this.keep=!0),this.right=t.right,null!==this.right&&(this.right.left=this),this.length+=t.length,!0}return!1}delete(t){if(!this.deleted){let r=this.parent;this.countable&&null===this.parentSub&&(r._length-=this.length),this.markDeleted(),aY(t.deleteSet,this.id.client,this.id.clock,this.length),sM(t,r,this.parentSub),this.content.delete(t)}}gc(t,r){if(!this.deleted)throw oO();this.content.gc(t),r?sR(t,this,new GC(this.id,this.length)):this.content=new ContentDeleted(this.length)}write(t,r){let n=r>0?sm(this.id.client,this.id.clock+r-1):this.origin,i=this.rightOrigin,o=this.parentSub,a=31&this.content.getRef()|128*(null!==n)|64*(null!==i)|32*(null!==o);if(t.writeInfo(a),null!==n&&t.writeLeftID(n),null!==i&&t.writeRightID(i),null===n&&null===i){let r=this.parent;if(void 0!==r._item){let n=r._item;if(null===n){let n=sg(r);t.writeParentInfo(!0),t.writeString(n)}else t.writeParentInfo(!1),t.writeLeftID(n.id)}else r.constructor===String?(t.writeParentInfo(!0),t.writeString(r)):r.constructor===ID?(t.writeParentInfo(!1),t.writeLeftID(r)):oO();null!==o&&t.writeString(o)}this.content.write(t,r)}};let lU=(t,r)=>lz[31&r](t),lz=[()=>{oO()},t=>new ContentDeleted(t.readLen()),t=>{let r=t.readLen(),n=[];for(let i=0;i<r;i++){let r=t.readString();"undefined"===r?n.push(void 0):n.push(JSON.parse(r))}return new ContentJSON(n)},t=>new ContentBinary(t.readBuf()),t=>new ContentString(t.readString()),t=>new ContentEmbed(t.readJSON()),t=>new ContentFormat(t.readKey(),t.readJSON()),t=>new ContentType(lR[t.readTypeRef()](t)),t=>{let r=t.readLen(),n=[];for(let i=0;i<r;i++)n.push(t.readAny());return new ContentAny(n)},t=>new ContentDoc(lC(t.readString(),t.readAny())),()=>{oO()}];let Skip=class Skip extends AbstractStruct{get deleted(){return!0}delete(){}mergeWith(t){return this.constructor===t.constructor&&(this.length+=t.length,!0)}integrate(t,r){oO()}write(t,r){t.writeInfo(10),ou(t.restEncoder,this.length-r)}getMissing(t,r){return null}};let lq="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},lZ="__ $YJS$ __";!0===lq[lZ]&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438"),lq[lZ]=!0;var lH="fromPersistence",lV="document",lW="syncManager",lG="_crdt_document";function lK(t){let r=new Doc({meta:new Map(Object.entries(t))});return r.getMap("state").set("version",1),r}let lX=t=>oH((r,n)=>{t.onerror=t=>n(Error(t.target.error)),t.onsuccess=t=>r(t.target.result)}),lY=(t,r)=>oH((n,i)=>{let o=indexedDB.open(t);o.onupgradeneeded=t=>r(t.target.result),o.onerror=t=>i(ok(t.target.error)),o.onsuccess=t=>{let r=t.target.result;r.onversionchange=()=>{r.close()},n(r)}}),lJ=t=>lX(indexedDB.deleteDatabase(t)),lQ=(t,r)=>r.forEach(r=>t.createObjectStore.apply(t,r)),l0=(t,r,n="readwrite")=>{let i=t.transaction(r,n);return r.map(t=>ut(i,t))},l1=(t,r)=>lX(t.count(r)),l2=(t,r)=>lX(t.get(r)),l5=(t,r)=>lX(t.delete(r)),l3=(t,r,n)=>lX(t.put(r,n)),l6=(t,r)=>lX(t.add(r)),l4=(t,r,n)=>lX(t.getAll(r,n)),l8=(t,r,n)=>{let i=null;return ue(t,r,t=>(i=t,!1),n).then(()=>i)},l7=(t,r=null)=>l8(t,r,"prev"),l9=(t,r)=>oH((n,i)=>{t.onerror=i,t.onsuccess=async t=>{let i=t.target.result;if(null===i||await r(i)===!1)return n();i.continue()}}),ue=(t,r,n,i="next")=>l9(t.openKeyCursor(r,i),t=>n(t.key)),ut=(t,r)=>t.objectStore(r),ur=(t,r)=>IDBKeyRange.upperBound(t,r),un=(t,r)=>IDBKeyRange.lowerBound(t,r),ui="custom",uo="updates",ua=(t,r=()=>{},n=()=>{})=>{let[i]=l0(t.db,[uo]);return l4(i,un(t._dbref,!1)).then(o=>{t._destroyed||(r(i),sj(t.doc,()=>{o.forEach(r=>se(t.doc,r))},t,!1),n(i))}).then(()=>l7(i).then(r=>{t._dbref=r+1})).then(()=>l1(i).then(r=>{t._dbsize=r})).then(()=>i)},us=(t,r=!0)=>ua(t).then(n=>{(r||t._dbsize>=500)&&l6(n,sn(t.doc)).then(()=>l5(n,ur(t._dbref,!0))).then(()=>l1(n).then(r=>{t._dbsize=r}))});let IndexeddbPersistence=class IndexeddbPersistence extends Observable{constructor(t,r){super(),this.doc=r,this.name=t,this._dbref=0,this._dbsize=0,this._destroyed=!1,this.db=null,this.synced=!1,this._db=lY(t,t=>lQ(t,[["updates",{autoIncrement:!0}],["custom"]])),this.whenSynced=oH(t=>this.on("synced",()=>t(this))),this._db.then(t=>{this.db=t,ua(this,t=>l6(t,sn(r)),()=>{if(this._destroyed)return this;this.synced=!0,this.emit("synced",[this])})}),this._storeTimeout=1e3,this._storeTimeoutId=null,this._storeUpdate=(t,r)=>{if(this.db&&r!==this){let[r]=l0(this.db,[uo]);l6(r,t),++this._dbsize>=500&&(null!==this._storeTimeoutId&&clearTimeout(this._storeTimeoutId),this._storeTimeoutId=setTimeout(()=>{us(this,!1),this._storeTimeoutId=null},this._storeTimeout))}},r.on("update",this._storeUpdate),this.destroy=this.destroy.bind(this),r.on("destroy",this.destroy)}destroy(){return this._storeTimeoutId&&clearTimeout(this._storeTimeoutId),this.doc.off("update",this._storeUpdate),this.doc.off("destroy",this.destroy),this._destroyed=!0,this._db.then(t=>{t.close()})}clearData(){return this.destroy().then(()=>{lJ(this.name)})}get(t){return this._db.then(r=>{let[n]=l0(r,[ui],"readonly");return l2(n,t)})}set(t,r){return this._db.then(n=>{let[i]=l0(n,[ui]);return l3(i,r,t)})}del(t){return this._db.then(r=>{let[n]=l0(r,[ui]);return l5(n,t)})}};function ul(t,r,n){let i=new IndexeddbPersistence(`${t}-${r}`,n);return Promise.resolve({destroy:()=>i.destroy()})}let uu=t=>{if(t.shouldConnect&&null===t.ws){let r=new WebSocket(t.url),n=t.binaryType,i=null;n&&(r.binaryType=n),t.ws=r,t.connecting=!0,t.connected=!1,r.onmessage=r=>{t.lastMessageReceived=aE();let n=r.data,o="string"==typeof n?JSON.parse(n):n;o&&"pong"===o.type&&(clearTimeout(i),i=setTimeout(a,15e3)),t.emit("message",[o,t])};let o=r=>{null!==t.ws&&(t.ws=null,t.connecting=!1,t.connected?(t.connected=!1,t.emit("disconnect",[{type:"disconnect",error:r},t])):t.unsuccessfulReconnects++,setTimeout(uu,i0(1200*iQ(t.unsuccessfulReconnects+1),2500),t)),clearTimeout(i)},a=()=>{t.ws===r&&t.send({type:"ping"})};r.onclose=()=>o(null),r.onerror=t=>o(t),r.onopen=()=>{t.lastMessageReceived=aE(),t.connecting=!1,t.connected=!0,t.unsuccessfulReconnects=0,t.emit("connect",[{type:"connect"},t]),i=setTimeout(a,15e3)}}};let WebsocketClient=class WebsocketClient extends Observable{constructor(t,{binaryType:r}={}){super(),this.url=t,this.ws=null,this.binaryType=r||null,this.connected=!1,this.connecting=!1,this.unsuccessfulReconnects=0,this.lastMessageReceived=0,this.shouldConnect=!0,this._checkInterval=setInterval(()=>{this.connected&&3e4<aE()-this.lastMessageReceived&&this.ws.close()},15e3),uu(this)}send(t){this.ws&&this.ws.send(JSON.stringify(t))}destroy(){clearInterval(this._checkInterval),this.disconnect(),super.destroy()}disconnect(){this.shouldConnect=!1,null!==this.ws&&this.ws.close()}connect(){this.shouldConnect=!0,this.connected||null!==this.ws||uu(this)}};let uc=new Map;let LocalStoragePolyfill=class LocalStoragePolyfill{constructor(t){this.room=t,this.onmessage=null,this._onChange=r=>r.key===t&&null!==this.onmessage&&this.onmessage({data:av(r.newValue||"")}),oJ(this._onChange)}postMessage(t){oY.setItem(this.room,ay(ag(t)))}close(){oQ(this._onChange)}};let ud="undefined"==typeof BroadcastChannel?LocalStoragePolyfill:BroadcastChannel,up=t=>iz(uc,t,()=>{let r=iH(),n=new ud(t);return n.onmessage=t=>r.forEach(r=>r(t.data,"broadcastchannel")),{bc:n,subs:r}}),uf=(t,r)=>(up(t).subs.add(r),r),uh=(t,r)=>{let n=up(t),i=n.subs.delete(r);return i&&0===n.subs.size&&(n.bc.close(),uc.delete(t)),i},um=(t,r,n=null)=>{let i=up(t);i.bc.postMessage(r),i.subs.forEach(t=>t(r,n))},ug=()=>{let t=!0;return(r,n)=>{if(t){t=!1;try{r()}finally{t=!0}}else void 0!==n&&n()}};var uy=n(67862),uv=n.n(uy);let ub=(t,r)=>{ou(t,0),om(t,su(r))},u_=(t,r,n)=>{ou(t,1),om(t,sn(r,n))},uw=(t,r,n)=>u_(r,n,oA(t)),uS=(t,r,n)=>{try{se(r,oA(t),n)}catch(t){console.error("Caught error while handling a Yjs update",t)}},ux=(t,r)=>{ou(t,2),om(t,r)},uE=(t,r,n,i)=>{let o=oN(t);switch(o){case 0:uw(t,r,n);break;case 1:case 2:uS(t,n,i);break;default:throw Error("Unknown message type")}return o};let Awareness=class Awareness extends Observable{constructor(t){super(),this.doc=t,this.clientID=t.clientID,this.states=new Map,this.meta=new Map,this._checkInterval=setInterval(()=>{let t=aE();null!==this.getLocalState()&&15e3<=t-this.meta.get(this.clientID).lastUpdated&&this.setLocalState(this.getLocalState());let r=[];this.meta.forEach((n,i)=>{i!==this.clientID&&3e4<=t-n.lastUpdated&&this.states.has(i)&&r.push(i)}),r.length>0&&uk(this,r,"timeout")},iY(3e3)),t.on("destroy",()=>{this.destroy()}),this.setLocalState({})}destroy(){this.emit("destroy",[this]),this.setLocalState(null),super.destroy(),clearInterval(this._checkInterval)}getLocalState(){return this.states.get(this.clientID)||null}setLocalState(t){let r=this.clientID,n=this.meta.get(r),i=void 0===n?0:n.clock+1,o=this.states.get(r);null===t?this.states.delete(r):this.states.set(r,t),this.meta.set(r,{clock:i,lastUpdated:aE()});let a=[],s=[],l=[],u=[];null===t?u.push(r):null==o?null!=t&&a.push(r):(s.push(r),ao(o,t)||l.push(r)),(a.length>0||l.length>0||u.length>0)&&this.emit("change",[{added:a,updated:l,removed:u},"local"]),this.emit("update",[{added:a,updated:s,removed:u},"local"])}setLocalStateField(t,r){let n=this.getLocalState();null!==n&&this.setLocalState({...n,[t]:r})}getStates(){return this.states}};let uk=(t,r,n)=>{let i=[];for(let n=0;n<r.length;n++){let o=r[n];if(t.states.has(o)){if(t.states.delete(o),o===t.clientID){let r=t.meta.get(o);t.meta.set(o,{clock:r.clock+1,lastUpdated:aE()})}i.push(o)}}i.length>0&&(t.emit("change",[{added:[],updated:[],removed:i},n]),t.emit("update",[{added:[],updated:[],removed:i},n]))},uC=(t,r,n=t.states)=>{let i=r.length,o=oi();ou(o,i);for(let a=0;a<i;a++){let i=r[a],s=n.get(i)||null,l=t.meta.get(i).clock;ou(o,i),ou(o,l),of(o,JSON.stringify(s))}return oa(o)},uO=(t,r,n)=>{let i=oP(r),o=aE(),a=[],s=[],l=[],u=[],c=oN(i);for(let r=0;r<c;r++){let r=oN(i),n=oN(i),c=JSON.parse(oD(i)),d=t.meta.get(r),f=t.states.get(r),h=void 0===d?0:d.clock;(h<n||h===n&&null===c&&t.states.has(r))&&(null===c?r===t.clientID&&null!=t.getLocalState()?n++:t.states.delete(r):t.states.set(r,c),t.meta.set(r,{clock:n,lastUpdated:o}),void 0===d&&null!==c?a.push(r):void 0!==d&&null===c?u.push(r):null!==c&&(ao(c,f)||l.push(r),s.push(r)))}(a.length>0||l.length>0||u.length>0)&&t.emit("change",[{added:a,updated:l,removed:u},n]),(a.length>0||s.length>0||u.length>0)&&t.emit("update",[{added:a,updated:s,removed:u},n])};var uR=(t,r)=>{let n=or(t).buffer,i=or(r).buffer;return crypto.subtle.importKey("raw",n,"PBKDF2",!1,["deriveKey"]).then(t=>crypto.subtle.deriveKey({name:"PBKDF2",salt:i,iterations:1e5,hash:"SHA-256"},t,{name:"AES-GCM",length:256},!0,["encrypt","decrypt"]))},uT=(t,r)=>{if(!r)return oW(t);let n=crypto.getRandomValues(new Uint8Array(12));return crypto.subtle.encrypt({name:"AES-GCM",iv:n},r,t).then(t=>{let r=oi();return of(r,"AES-GCM"),om(r,n),om(r,new Uint8Array(t)),oa(r)})},uP=(t,r)=>{let n=oi();return oS(n,t),uT(oa(n),r)},uM=(t,r)=>{if(!r)return oW(t);let n=oP(t);"AES-GCM"!==oD(n)&&oV(ok("Unknown encryption algorithm"));let i=oA(n),o=oA(n);return crypto.subtle.decrypt({name:"AES-GCM",iv:i},r,o).then(t=>new Uint8Array(t))},uI=(t,r)=>uM(t,r).then(t=>o$(oP(new Uint8Array(t)))),uA=((t,r)=>{let n=aN[aj],i=ad("log"),o=null!==i&&("*"===i||"true"===i||RegExp(i,"gi").test(r));return aj=(aj+1)%aN.length,r+=": ",o?(...i)=>{1===i.length&&i[0]?.constructor===Function&&(i=i[0]());let o=aE(),a=o-aD;aD=o,t(n,r,aL,...i.map(t=>{switch(null!=t&&t.constructor===Uint8Array&&(t=Array.from(t)),typeof t){case"string":case"symbol":return t;default:return ak(t)}}),n," +"+a+"ms")}:an})(a$,"y-webrtc"),uL=new Map,uN=new Map,uj=t=>{let r=!0;t.webrtcConns.forEach(t=>{t.synced||(r=!1)}),(!r&&t.synced||r&&!t.synced)&&(t.synced=r,t.provider.emit("synced",[{synced:r}]),uA("synced ",aC,t.name,aO," with all peers"))},uD=(t,r,n)=>{let i=oP(r),o=oi(),a=oN(i);if(void 0===t)return null;let s=t.awareness,l=t.doc,u=!1;switch(a){case 0:{ou(o,0);let r=uE(i,o,l,t);1!==r||t.synced||n(),0===r&&(u=!0);break}case 3:ou(o,1),om(o,uC(s,Array.from(s.getStates().keys()))),u=!0;break;case 1:uO(s,oA(i),t);break;case 4:{let r=1===oL(i),n=oD(i);if(n!==t.peerId&&(t.bcConns.has(n)&&!r||!t.bcConns.has(n)&&r)){let i=[],o=[];r?(t.bcConns.add(n),o.push(n)):(t.bcConns.delete(n),i.push(n)),t.provider.emit("peers",[{added:o,removed:i,webrtcPeers:Array.from(t.webrtcConns.keys()),bcPeers:Array.from(t.bcConns)}]),uH(t)}break}default:return console.error("Unable to compute message"),o}return u?o:null},uF=(t,r)=>{let n=t.room;return uA("received message from ",aC,t.remotePeerId,aT," (",n.name,")",aO,aL),uD(n,r,()=>{t.synced=!0,uA("synced ",aC,n.name,aO," with ",aC,t.remotePeerId),uj(n)})},uB=(t,r)=>{uA("send message to ",aC,t.remotePeerId,aO,aT," (",t.room.name,")",aL);try{t.peer.send(oa(r))}catch(t){}},u$=(t,r)=>{uA("broadcast message in ",aC,t.name,aO),t.webrtcConns.forEach(t=>{try{t.peer.send(r)}catch(t){}})},uU=class{constructor(t,r,n,i){uA("establishing connection to ",aC,n),this.room=i,this.remotePeerId=n,this.glareToken=void 0,this.closed=!1,this.connected=!1,this.synced=!1,this.peer=new(uv())({initiator:r,...i.provider.peerOpts}),this.peer.on("signal",r=>{void 0===this.glareToken&&(this.glareToken=Date.now()+Math.random()),uG(t,i,{to:n,from:i.peerId,type:"signal",token:this.glareToken,signal:r})}),this.peer.on("connect",()=>{uA("connected to ",aC,n),this.connected=!0;let t=i.provider.doc,r=i.awareness,o=oi();ou(o,0),ub(o,t),uB(this,o);let a=r.getStates();if(a.size>0){let t=oi();ou(t,1),om(t,uC(r,Array.from(a.keys()))),uB(this,t)}}),this.peer.on("close",()=>{this.connected=!1,this.closed=!0,i.webrtcConns.has(this.remotePeerId)&&(i.webrtcConns.delete(this.remotePeerId),i.provider.emit("peers",[{removed:[this.remotePeerId],added:[],webrtcPeers:Array.from(i.webrtcConns.keys()),bcPeers:Array.from(i.bcConns)}])),uj(i),this.peer.destroy(),uA("closed connection to ",aC,n),uZ(i)}),this.peer.on("error",t=>{uA("Error in connection to ",aC,n,": ",t),uZ(i)}),this.peer.on("data",t=>{let r=uF(this,t);null!==r&&uB(this,r)})}destroy(){this.peer.destroy()}},uz=(t,r)=>uT(r,t.key).then(r=>t.mux(()=>um(t.name,r))),uq=(t,r)=>{t.bcconnected&&uz(t,r),u$(t,r)},uZ=t=>{uL.forEach(r=>{r.connected&&(r.send({type:"subscribe",topics:[t.name]}),t.webrtcConns.size<t.provider.maxConns&&uG(r,t,{type:"announce",from:t.peerId}))})},uH=t=>{if(t.provider.filterBcConns){let r=oi();ou(r,4),ol(r,1),of(r,t.peerId),uz(t,oa(r))}},uV=class{constructor(t,r,n,i){this.peerId=oZ(),this.doc=t,this.awareness=r.awareness,this.provider=r,this.synced=!1,this.name=n,this.key=i,this.webrtcConns=new Map,this.bcConns=new Set,this.mux=ug(),this.bcconnected=!1,this._bcSubscriber=t=>uM(new Uint8Array(t),i).then(t=>this.mux(()=>{let r=uD(this,t,()=>{});r&&uz(this,oa(r))})),this._docUpdateHandler=(t,r)=>{let n=oi();ou(n,0),ux(n,t),uq(this,oa(n))},this._awarenessUpdateHandler=({added:t,updated:r,removed:n},i)=>{let o=t.concat(r).concat(n),a=oi();ou(a,1),om(a,uC(this.awareness,o)),uq(this,oa(a))},this._beforeUnloadHandler=()=>{uk(this.awareness,[t.clientID],"window unload"),uN.forEach(t=>{t.disconnect()})},"undefined"!=typeof window?window.addEventListener("beforeunload",this._beforeUnloadHandler):"undefined"!=typeof process&&process.on("exit",this._beforeUnloadHandler)}connect(){this.doc.on("update",this._docUpdateHandler),this.awareness.on("update",this._awarenessUpdateHandler),uZ(this),uf(this.name,this._bcSubscriber),this.bcconnected=!0,uH(this);let t=oi();ou(t,0),ub(t,this.doc),uz(this,oa(t));let r=oi();ou(r,0),u_(r,this.doc),uz(this,oa(r));let n=oi();ou(n,3),uz(this,oa(n));let i=oi();ou(i,1),om(i,uC(this.awareness,[this.doc.clientID])),uz(this,oa(i))}disconnect(){uL.forEach(t=>{t.connected&&t.send({type:"unsubscribe",topics:[this.name]})}),uk(this.awareness,[this.doc.clientID],"disconnect");let t=oi();ou(t,4),ol(t,0),of(t,this.peerId),uz(this,oa(t)),uh(this.name,this._bcSubscriber),this.bcconnected=!1,this.doc.off("update",this._docUpdateHandler),this.awareness.off("update",this._awarenessUpdateHandler),this.webrtcConns.forEach(t=>t.destroy())}destroy(){this.disconnect(),"undefined"!=typeof window?window.removeEventListener("beforeunload",this._beforeUnloadHandler):"undefined"!=typeof process&&process.off("exit",this._beforeUnloadHandler)}},uW=(t,r,n,i)=>{if(uN.has(n))throw ok(`A Yjs Doc connected to room "${n}" already exists!`);let o=new uV(t,r,n,i);return uN.set(n,o),o},uG=(t,r,n)=>{r.key?uP(n,r.key).then(n=>{t.send({type:"publish",topic:r.name,data:ay(n)})}):t.send({type:"publish",topic:r.name,data:n})},uK=class extends WebsocketClient{constructor(t){super(t),this.providers=new Set,this.on("connect",()=>{uA(`connected (${t})`);let r=Array.from(uN.keys());this.send({type:"subscribe",topics:r}),uN.forEach(t=>uG(this,t,{type:"announce",from:t.peerId}))}),this.on("message",t=>{if("publish"===t.type){let r=t.topic,n=uN.get(r);if(null==n||"string"!=typeof r)return;let i=t=>{let r=n.webrtcConns,i=n.peerId;if(null==t||t.from===i||void 0!==t.to&&t.to!==i||n.bcConns.has(t.from))return;let o=r.has(t.from)?()=>{}:()=>n.provider.emit("peers",[{removed:[],added:[t.from],webrtcPeers:Array.from(n.webrtcConns.keys()),bcPeers:Array.from(n.bcConns)}]);switch(t.type){case"announce":r.size<n.provider.maxConns&&(iz(r,t.from,()=>new uU(this,!0,t.from,n)),o());break;case"signal":if("offer"===t.signal.type){let n=r.get(t.from);if(n){let r=t.token,i=n.glareToken;if(i&&i>r){uA("offer rejected: ",t.from);return}n.glareToken=void 0}}"answer"===t.signal.type&&(uA("offer answered by: ",t.from),r.get(t.from).glareToken=void 0),t.to===i&&(iz(r,t.from,()=>new uU(this,!1,t.from,n)).peer.signal(t.signal),o())}};n.key?"string"==typeof t.data&&uI(av(t.data),n.key).then(i):i(t.data)}}),this.on("disconnect",()=>uA(`disconnect (${t})`))}},uX=class extends Observable{constructor(t,r,{signaling:n=["wss://y-webrtc-eu.fly.dev"],password:i=null,awareness:o=new Awareness(r),maxConns:a=20+iY(15*oz()),filterBcConns:s=!0,peerOpts:l={}}={}){super(),this.roomName=t,this.doc=r,this.filterBcConns=s,this.awareness=o,this.shouldConnect=!1,this.signalingUrls=n,this.signalingConns=[],this.maxConns=a,this.peerOpts=l,this.key=i?uR(i,t):oW(null),this.room=null,this.key.then(n=>{this.room=uW(r,this,t,n),this.shouldConnect?this.room.connect():this.room.disconnect()}),this.connect(),this.destroy=this.destroy.bind(this),r.on("destroy",this.destroy)}get connected(){return null!==this.room&&this.shouldConnect}connect(){this.shouldConnect=!0,this.signalingUrls.forEach(t=>{let r=iz(uL,t,()=>new uK(t));this.signalingConns.push(r),r.providers.add(this)}),this.room&&this.room.connect()}disconnect(){this.shouldConnect=!1,this.signalingConns.forEach(t=>{t.providers.delete(this),0===t.providers.size&&(t.destroy(),uL.delete(t.url))}),this.room&&this.room.disconnect()}destroy(){this.doc.off("destroy",this.destroy),this.key.then(()=>{this.room.destroy(),uN.delete(this.roomName)}),super.destroy()}},uY=n(31946);function uJ(t){if(t.shouldConnect&&null===t.ws){let r=Math.floor(1e5+9e5*Math.random()),n=t.url,i=new window.EventSource((0,uY.f)(n,{subscriber_id:r,action:"gutenberg_signaling_server"})),o=null;i.onmessage=r=>{t.lastMessageReceived=Date.now();let n=r.data;if(n){let t=JSON.parse(n);Array.isArray(t)&&t.forEach(a)}},t.ws=i,t.connecting=!0,t.connected=!1;let a=r=>{r&&"pong"===r.type&&(clearTimeout(o),o=setTimeout(l,uQ/2)),t.emit("message",[r,t])},s=r=>{null!==t.ws&&(t.ws.close(),t.ws=null,t.connecting=!1,t.connected?(t.connected=!1,t.emit("disconnect",[{type:"disconnect",error:r},t])):t.unsuccessfulReconnects++),clearTimeout(o)},l=()=>{t.ws&&t.ws.readyState===window.EventSource.OPEN&&t.send({type:"ping"})};t.ws&&(t.ws.onclose=()=>{s(null)},t.ws.send=function(t){window.fetch(n,{body:new URLSearchParams({subscriber_id:r.toString(),action:"gutenberg_signaling_server",message:t}),method:"POST"}).catch(()=>{uA("Error sending to server with message: "+t)})}),i.onerror=()=>{},i.onopen=()=>{t.connected||i.readyState===window.EventSource.OPEN&&(t.lastMessageReceived=Date.now(),t.connecting=!1,t.connected=!0,t.unsuccessfulReconnects=0,t.emit("connect",[{type:"connect"},t]),o=setTimeout(l,uQ/2))}}}var uQ=3e4,u0=class extends Observable{constructor(t){var r;super(),this.url=t,this.ws=null,this.binaryType=null,this.connected=!1,this.connecting=!1,this.unsuccessfulReconnects=0,this.lastMessageReceived=0,this.shouldConnect=!0,this._checkInterval=setInterval(()=>{this.connected&&uQ<Date.now()-this.lastMessageReceived&&this.ws&&this.ws.close()},uQ/2),uJ(this),this.providers=new Set,r=this,r.on("connect",()=>{uA(`connected (${t})`);let n=Array.from(uN.keys());r.send({type:"subscribe",topics:n}),uN.forEach(t=>uG(r,t,{type:"announce",from:t.peerId}))}),r.on("message",t=>{if("publish"===t.type){let n=t.topic,i=uN.get(n);if(null===i||"string"!=typeof n||void 0===i)return;let o=t=>{let n=i.webrtcConns,o=i.peerId;if(null===t||t.from===o||void 0!==t.to&&t.to!==o||i.bcConns.has(t.from))return;let a=n.has(t.from)?()=>{}:()=>i.provider.emit("peers",[{removed:[],added:[t.from],webrtcPeers:Array.from(i.webrtcConns.keys()),bcPeers:Array.from(i.bcConns)}]);switch(t.type){case"announce":n.size<i.provider.maxConns&&(iz(n,t.from,()=>new uU(r,!0,t.from,i)),a());break;case"signal":if("offer"===t.signal.type){let r=n.get(t.from);if(r){let n=t.token,i=r.glareToken;if(i&&i>n){uA("offer rejected: ",t.from);return}r.glareToken=void 0}}if("answer"===t.signal.type){uA("offer answered by: ",t.from);let r=n.get(t.from);r&&(r.glareToken=void 0)}t.to===o&&(iz(n,t.from,()=>new uU(r,!1,t.from,i)).peer.signal(t.signal),a())}};i.key?"string"==typeof t.data&&uI(av(t.data),i.key).then(o):o(t.data)}}),r.on("disconnect",()=>uA(`disconnect (${t})`))}send(t){this.ws&&this.ws.send(JSON.stringify(t))}destroy(){clearInterval(this._checkInterval),this.disconnect(),super.destroy()}disconnect(){this.shouldConnect=!1,null!==this.ws&&this.ws.close()}connect(){this.shouldConnect=!0,this.connected||null!==this.ws||uJ(this)}},u1=class extends uX{connect(){this.shouldConnect=!0,this.signalingUrls.forEach(t=>{let r=iz(uL,t,t.startsWith("ws://")||t.startsWith("wss://")?()=>new uK(t):()=>new u0(t));this.signalingConns.push(r),r.providers.add(this)}),this.room&&this.room.connect()}},u2=null;function u5(t){return"function"==typeof t}function u3(){return m||(m=function(){let t=new Map;async function r(r,a,s,l,u){let c=function(){if(u2)return u2;let t=(0,es.applyFilters)("sync.providers",function(){let t=window?.wp?.ajax?.settings?.url;return t?[ul,function({signaling:t,password:r}){return function(n,i,o){let a=new u1(`${n}-${i}`,o,{signaling:t,password:r});return Promise.resolve({destroy:()=>a.destroy()})}}({password:window?.__experimentalCollaborativeEditingSecret,signaling:[t]})]:[]}());return u2=Array.isArray(t)?t.filter(u5):[]}();if(0===c.length)return;let d=n(a,s);if(t.has(d))return;let f=lK({objectType:a}),h=f.getMap(lV),m=(t,r)=>{(!r.local||r.origin instanceof UndoManager)&&i(a,s)};t.set(d,{handlers:u,objectId:s,objectType:a,syncConfig:r,unload:()=>{g.forEach(t=>t.destroy()),h.unobserveDeep(m),f.destroy(),t.delete(d)},ydoc:f});let g=await Promise.all(c.map(t=>t(a,s,f)));if(h.observeDeep(m),function(t,r,n){if(!t.supports?.crdtPersistence)return!0;let i=function(t){let r=t.meta?.[lG];if(r){try{let{document:t}=JSON.parse(r),n=new Map;n.set(lH,!0);let i=lK({meta:n}),o=av(t);return a9(i,o),i.clientID=Math.floor(1e9*Math.random()),i}catch(t){return null}return}return null}(n);if(!i)return!0;let o=sr(i);r.transact(()=>{a9(r,o)},lW);let a=t.getChangesFromCRDTDoc(i,n);return i.destroy(),Object.keys(a).length>0}(r,f,l)){f.transact(()=>{r.applyChangesToCRDTDoc(f,l)},lW);let t=o(a,s);u.editRecord({meta:t}),u.saveRecord()}}function n(t,r){return`${t}_${r}`}async function i(r,i){let o=n(r,i),a=t.get(o);if(!a)return;let{handlers:s,syncConfig:l,ydoc:u}=a,c=l.getChangesFromCRDTDoc(u,await s.getEditedRecord());0!==Object.keys(c).length&&s.editRecord(c)}function o(r,i){let o=n(r,i),a=t.get(o);return a?.syncConfig.supports?.crdtPersistence?{[lG]:JSON.stringify({document:ay(sr(a.ydoc))})}:{}}return{createMeta:o,load:r,unload:function(r,i){t.get(n(r,i))?.unload()},update:function(r,i,o,a){let s=n(r,i),l=t.get(s);if(!l)return;let{syncConfig:u,ydoc:c}=l;c.transact(()=>{u.applyChangesToCRDTDoc(c,o)},a)}}}())}let u6={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},u4=new Uint8Array(16),u8=[];for(let t=0;t<256;++t)u8.push((t+256).toString(16).slice(1));let u7=function(t,r,n){if(u6.randomUUID&&!r&&!t)return u6.randomUUID();let i=(t=t||{}).random||(t.rng||function(){if(!a&&!(a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(u4)})();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,r){n=n||0;for(let t=0;t<16;++t)r[n+t]=i[t];return r}return function(t,r=0){return u8[t[r+0]]+u8[t[r+1]]+u8[t[r+2]]+u8[t[r+3]]+"-"+u8[t[r+4]]+u8[t[r+5]]+"-"+u8[t[r+6]]+u8[t[r+7]]+"-"+u8[t[r+8]]+u8[t[r+9]]+"-"+u8[t[r+10]]+u8[t[r+11]]+u8[t[r+12]]+u8[t[r+13]]+u8[t[r+14]]+u8[t[r+15]]}(i)};var u9=new WeakMap;function ce(t,r){let n=r.toJSON(),i={innerBlocks:null,clientId:null},o=eW()(Object.assign({},t,i),Object.assign({},n,i)),a=t.innerBlocks||[],s=r.get("innerBlocks");return o&&a.length===s.length&&a.every((t,r)=>ce(t,s.get(r)))}function ct(t,r){return new YMap(Object.entries(r).map(([r,n])=>[r,cr(t,r,n)]))}function cr(t,r,n){return cn(t,r)?new YText(n?.toString()??""):n}function cn(t,r){if(!g)for(let t of(g=new Map,t$(ng).getBlockTypes())){let r=new Map;for(let[n,i]of Object.entries(t.attributes??{}))"rich-text"===i.type&&r.set(n,!0);g.set(t.name,r)}return g.get(t)?.has(r)??!1}var ci=null,co=new Set(["author","blocks","comment_status","date","excerpt","featured_media","format","ping_status","meta","slug","status","sticky","tags","template","title"]),ca=new Set([lG]);function cs(t,r){let n=t.getMap(lV);Object.entries(r).forEach(([t,r])=>{"function"!=typeof r&&cd(n.get(t),r,function(r){n.set(t,r)})})}function cl(t){return t.getMap(lV).toJSON()}function cu(t){return"string"==typeof t?t:t&&"object"==typeof t&&"raw"in t&&"string"==typeof t.raw?t.raw:void 0}function cc(t,r){return!eW()(t,r)}function cd(t,r,n){cc(t,r)&&n(r)}var cf=["title","excerpt","content"],ch={blocks:{read:t=>nS(t.content?.raw??"").reduce((t,r)=>{let n=function t(r,n){let i=function(t,r){let n=rr(),i=t.blockName||rr(),o=t.attrs||{},a=t.innerBlocks||[],s=t.innerHTML.trim();return i!==n||"core/freeform"!==i||r?.__unstableSkipAutop||(s=(function(t,r=!0){let n=[];if(""===t.trim())return"";if(-1!==(t+="\n").indexOf("<pre")){let r=t.split("</pre>"),i=r.pop();t="";for(let i=0;i<r.length;i++){let o=r[i],a=o.indexOf("<pre");if(-1===a){t+=o;continue}let s="<pre wp-pre-tag-"+i+"></pre>";n.push([s,o.substr(a)+"</pre>"]),t+=o.substr(0,a)+s}t+=i}t=t.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n");let i="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(t=function(t,r){let n=function(t){let r,n=[],i=t;for(;r=i.match(nC);){let t=r.index;n.push(i.slice(0,t)),n.push(r[0]),i=i.slice(t+r[0].length)}return i.length&&n.push(i),n}(t),i=!1,o=Object.keys(r);for(let t=1;t<n.length;t+=2)for(let a=0;a<o.length;a++){let s=o[a];if(-1!==n[t].indexOf(s)){n[t]=n[t].replace(RegExp(s,"g"),r[s]),i=!0;break}}return i&&(t=n.join("")),t}(t=(t=(t=t.replace(RegExp("(<"+i+"[\\s/>])","g"),"\n\n$1")).replace(RegExp("(</"+i+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(t=(t=t.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==t.indexOf("</object>")&&(t=(t=(t=t.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),(-1!==t.indexOf("<source")||-1!==t.indexOf("<track"))&&(t=(t=(t=t.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==t.indexOf("<figcaption")&&(t=(t=t.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));let o=(t=t.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return t="",o.forEach(r=>{t+="<p>"+r.replace(/^\n*|\n*$/g,"")+"</p>\n"}),t=(t=(t=(t=(t=(t=(t=(t=t.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(RegExp("<p>\\s*(</?"+i+"[^>]*>)\\s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(RegExp("<p>\\s*(</?"+i+"[^>]*>)","g"),"$1")).replace(RegExp("(</?"+i+"[^>]*>)\\s*</p>","g"),"$1"),r&&(t=(t=(t=(t=t.replace(/<(script|style).*?<\/\\1>/g,t=>t[0].replace(/\n/g,"<WPPreserveNewline />"))).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,(t,r)=>r?t:"<br />\n")).replace(/<WPPreserveNewline \/>/g,"\n")),t=(t=(t=t.replace(RegExp("(</?"+i+"[^>]*>)\\s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),n.forEach(r=>{let[n,i]=r;t=t.replace(n,()=>i)}),-1!==t.indexOf("\x3c!-- wpnl --\x3e")&&(t=t.replace(/\s?<!-- wpnl -->\s?/g,"\n")),t})(s).trim()),{...t,blockName:i,attrs:o,innerHTML:s,innerBlocks:a}}(r,n),o=ri((i=function(t){let[r,n]=function(t,r){let n={...r};if("core/cover-image"===t&&(t="core/cover"),("core/text"===t||"core/cover-text"===t)&&(t="core/paragraph"),t&&0===t.indexOf("core/social-link-")&&(n.service=t.substring(17),t="core/social-link"),t&&0===t.indexOf("core-embed/")){let r=t.substring(11),i={speaker:"speaker-deck",polldaddy:"crowdsignal"};n.providerNameSlug=r in i?i[r]:r,["amazon-kindle","wordpress"].includes(r)||(n.responsive=!0),t="core/embed"}if("core/post-comment-author"===t&&(t="core/comment-author-name"),"core/post-comment-content"===t&&(t="core/comment-content"),"core/post-comment-date"===t&&(t="core/comment-date"),"core/comments-query-loop"===t){t="core/comments";let{className:r=""}=n;r.includes("wp-block-comments-query-loop")||(n.className=["wp-block-comments-query-loop",r].join(" "))}if("core/post-comments"===t&&(t="core/comments",n.legacy=!0),r.layout?.type==="grid"&&"string"==typeof r.layout?.columnCount&&(n.layout={...n.layout,columnCount:parseInt(r.layout.columnCount,10)}),"string"==typeof r.style?.layout?.columnSpan){let t=parseInt(r.style.layout.columnSpan,10);n.style={...n.style,layout:{...n.style.layout,columnSpan:isNaN(t)?void 0:t}}}if("string"==typeof r.style?.layout?.rowSpan){let t=parseInt(r.style.layout.rowSpan,10);n.style={...n.style,layout:{...n.style.layout,rowSpan:isNaN(t)?void 0:t}}}return[t,n]}(t.blockName,t.attrs);return{...t,blockName:r,attrs:n}}(i)).blockName);o||(o=ri((i=function(t){let r=rn()||rr(),n=nH(t,{isCommentDelimited:!1}),i=nH(t,{isCommentDelimited:!0});return{blockName:r,attrs:{originalName:t.blockName,originalContent:i,originalUndelimitedContent:n},innerHTML:t.blockName?i:t.innerHTML,innerBlocks:t.innerBlocks,innerContent:t.innerContent}}(i)).blockName));let a=i.blockName===rr()||i.blockName===rn();if(!o||!i.innerHTML&&a)return;let s=i.innerBlocks.map(r=>t(r,n)).filter(t=>!!t),l=function t(r,n={},i=[]){if(void 0===ri(r))return t("core/missing",{originalName:r,originalContent:"",originalUndelimitedContent:""});let o=function(t,r){let n=ri(t);if(void 0===n)throw Error(`Block type '${t}' is not registered.`);return Object.entries(n.attributes).reduce((t,[n,i])=>{let o=r[n];if(void 0!==o)"rich-text"===i.type?o instanceof t6?t[n]=o:"string"==typeof o&&(t[n]=t6.fromHTMLString(o)):"string"===i.type&&o instanceof t6?t[n]=o.toHTMLString():t[n]=o;else{let r=ru(i);void 0!==r&&(t[n]=r)}return -1!==["node","children"].indexOf(i.source)&&("string"==typeof t[n]?t[n]=[t[n]]:Array.isArray(t[n])||(t[n]=[])),t},{})}(r,n);return{clientId:iE(),name:r,isValid:!0,attributes:o,innerBlocks:i}}(i.blockName,iA(o,i.innerHTML,i.attrs),s);l.originalContent=i.innerHTML;let u=function(t,r){let[n]=i_(t,r);if(n)return{...t,isValid:n,validationIssues:[]};let i=iD(t,r),[o,a]=i_(i,r);return{...i,isValid:o,validationIssues:a}}(l,o),{validationIssues:c}=u,d=function(t,r,n){let i=r.attrs,{deprecated:o}=n;if(!o||!o.length)return t;for(let a=0;a<o.length;a++){let{isEligible:s=iF}=o[a];if(t.isValid&&!s(i,t.innerBlocks,{blockNode:r,block:t}))continue;let l=Object.assign(rc(n,re),o[a]),u={...t,attributes:iA(l,t.originalContent,i)},[c]=i_(u,l);if(c||(u=iD(u,l),[c]=i_(u,l)),!c)continue;let d=u.innerBlocks,f=u.attributes,{migrate:h}=l;if(h){let r=h(f,t.innerBlocks);Array.isArray(r)||(r=[r]),[f=i,d=t.innerBlocks]=r}t={...t,attributes:f,innerBlocks:d,isValid:!0,validationIssues:[]}}return t}(u,i,o);return d.isValid||(d.__unstableBlockSource=r),u.isValid||!d.isValid||n?.__unstableSkipMigrationLogs?u.isValid||d.isValid||c.forEach(({log:t,args:r})=>t(...r)):(console.groupCollapsed("Updated Block: %s",o.name),console.info("Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",o.name,o,nG(o,d.attributes),d.originalContent),console.groupEnd()),d}(r,void 0);return n&&t.push(n),t},[]),write:t=>({content:nX(t.blocks)})}},cm=[{label:(0,tt.__)("Base"),kind:"root",key:!1,name:"__unstableBase",baseURL:"/",baseURLParams:{_fields:"description,gmt_offset,home,name,site_icon,site_icon_url,site_logo,timezone_string,url,page_for_posts,page_on_front,show_on_front"},plural:"__unstableBases"},{label:(0,tt.__)("Post Type"),name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types",baseURLParams:{context:"edit"},plural:"postTypes"},{name:"media",kind:"root",baseURL:"/wp/v2/media",baseURLParams:{context:"edit"},plural:"mediaItems",label:(0,tt.__)("Media"),rawAttributes:["caption","title","description"],supportsPagination:!0},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",baseURLParams:{context:"edit"},plural:"taxonomies",label:(0,tt.__)("Taxonomy")},{name:"sidebar",kind:"root",baseURL:"/wp/v2/sidebars",baseURLParams:{context:"edit"},plural:"sidebars",transientEdits:{blocks:!0},label:(0,tt.__)("Widget areas")},{name:"widget",kind:"root",baseURL:"/wp/v2/widgets",baseURLParams:{context:"edit"},plural:"widgets",transientEdits:{blocks:!0},label:(0,tt.__)("Widgets")},{name:"widgetType",kind:"root",baseURL:"/wp/v2/widget-types",baseURLParams:{context:"edit"},plural:"widgetTypes",label:(0,tt.__)("Widget types")},{label:(0,tt.__)("User"),name:"user",kind:"root",baseURL:"/wp/v2/users",getTitle:t=>t?.name||t?.slug,baseURLParams:{context:"edit"},plural:"users",supportsPagination:!0},{name:"comment",kind:"root",baseURL:"/wp/v2/comments",baseURLParams:{context:"edit"},plural:"comments",label:(0,tt.__)("Comment"),supportsPagination:!0},{name:"menu",kind:"root",baseURL:"/wp/v2/menus",baseURLParams:{context:"edit"},plural:"menus",label:(0,tt.__)("Menu"),supportsPagination:!0},{name:"menuItem",kind:"root",baseURL:"/wp/v2/menu-items",baseURLParams:{context:"edit"},plural:"menuItems",label:(0,tt.__)("Menu Item"),rawAttributes:["title"],supportsPagination:!0},{name:"menuLocation",kind:"root",baseURL:"/wp/v2/menu-locations",baseURLParams:{context:"edit"},plural:"menuLocations",label:(0,tt.__)("Menu Location"),key:"name"},{label:(0,tt.__)("Global Styles"),name:"globalStyles",kind:"root",baseURL:"/wp/v2/global-styles",baseURLParams:{context:"edit"},plural:"globalStylesVariations",getTitle:()=>(0,tt.__)("Custom Styles"),getRevisionsUrl:(t,r)=>`/wp/v2/global-styles/${t}/revisions${r?"/"+r:""}`,supportsPagination:!0},{label:(0,tt.__)("Themes"),name:"theme",kind:"root",baseURL:"/wp/v2/themes",baseURLParams:{context:"edit"},plural:"themes",key:"stylesheet"},{label:(0,tt.__)("Plugins"),name:"plugin",kind:"root",baseURL:"/wp/v2/plugins",baseURLParams:{context:"edit"},plural:"plugins",key:"plugin"},{label:(0,tt.__)("Status"),name:"status",kind:"root",baseURL:"/wp/v2/statuses",baseURLParams:{context:"edit"},plural:"statuses",key:"slug"},{label:(0,tt.__)("Registered Templates"),name:"registeredTemplate",kind:"root",baseURL:"/wp/v2/registered-templates",key:"id"}],cg={root:{media:{since:"6.9",alternative:{kind:"postType",name:"attachment"}}}},cy=[{kind:"postType",loadEntities:cb},{kind:"taxonomy",loadEntities:c_},{kind:"root",name:"site",plural:"sites",loadEntities:cw}],cv=(t,r,n,i)=>{let o={};if(!i&&t?.status==="auto-draft"&&(r.status||o.status||(o.status="draft"),r.title&&"Auto Draft"!==r.title||o.title||t?.title&&t?.title!=="Auto Draft"||(o.title="")),t&&window.__experimentalEnableSync&&globalThis.IS_GUTENBERG_PLUGIN){let i=`postType/${n}`,a=t.id,s=u3()?.createMeta(i,a);o.meta={...r.meta,...s}}return o};async function cb(){return Object.entries(await (0,e7.default)({path:"/wp/v2/types?context=view"})??{}).map(([t,r])=>{let n=["wp_template","wp_template_part"].includes(t),i=r?.rest_namespace??"wp/v2",o={kind:"postType",baseURL:`/${i}/${r.rest_base}`,baseURLParams:{context:"edit"},name:t,label:r.name,transientEdits:{...ch,selection:!0},mergedEdits:{meta:!0},rawAttributes:cf,getTitle:t=>{var r,i;return t?.title?.rendered||t?.title||(n?(r=t.slug??"",void 0===i&&(i={}),e5(r,(0,eQ.pi)({delimiter:" ",transform:e6},i))):String(t.id))},__unstablePrePersist:(r,i)=>cv(r,i,t,n),__unstable_rest_base:r.rest_base,supportsPagination:!0,getRevisionsUrl:(t,n)=>`/${i}/${r.rest_base}/${t}/revisions${n?"/"+n:""}`,revisionKey:n&&!window?.__experimentalTemplateActivate?"wp_id":"id"};return window.__experimentalEnableSync&&globalThis.IS_GUTENBERG_PLUGIN&&(o.syncConfig={applyChangesToCRDTDoc:(t,r)=>(function(t,r,n){let i=t.getMap(lV);Object.entries(r).forEach(([t,r])=>{if(co.has(t)&&"function"!=typeof r)switch(t){case"blocks":{let t=i.get("blocks");t instanceof YArray||n(t=new YArray),function t(r,n,i){u9.has(n)||u9.set(n,function t(r){return r.map(r=>{let{name:n,innerBlocks:i,attributes:o,...a}=r instanceof YMap?r.toJSON():r;return delete a.validationIssues,delete a.originalContent,{...a,name:n,attributes:function(t){let r={...t};for(let[n,i]of Object.entries(t))i instanceof t6&&(r[n]=i.valueOf());return r}(o),innerBlocks:t(i)}})}(n));let o=(u9.get(n)??[]).filter(t=>{var r;return"core/gallery"!==(r=t).name||!r.innerBlocks.some(t=>t.attributes&&t.attributes.blob)}),a=Math.min(o.length??0,r.length),s=0,l=0;for(;s<a&&ce(o[s],r.get(s));s++);for(;l<a-s&&ce(o[o.length-l-1],r.get(r.length-l-1));l++);let u=a-s-l,c=Math.max(0,o.length-r.length),d=Math.max(0,r.length-o.length);for(let n=0;n<u;n++,s++){let n=o[s],a=r.get(s);Object.entries(n).forEach(([r,o])=>{switch(r){case"attributes":{let t=a.get(r);if(!t){a.set(r,ct(n.name,o));break}Object.entries(o).forEach(([r,i])=>{if(!eW()(t?.get(r),i)){var o,a,s;cn(n.name,r)&&"string"==typeof i?(o=t.get(r),a=i,s=0,o.delete(0,o.toString().length),o.insert(0,a)):t.set(r,cr(n.name,r,i))}}),t.forEach((r,n)=>{o.hasOwnProperty(n)||t.delete(n)});break}case"innerBlocks":t(a.get(r),o??[],i);break;default:eW()(n[r],a.get(r))||a.set(r,o)}}),a.forEach((t,r)=>{n.hasOwnProperty(r)||a.delete(r)})}r.delete(s,d);for(let t=0;t<c;t++,s++){let t=[function t(r){return new YMap(Object.entries(r).map(([n,i])=>{switch(n){case"attributes":return[n,ct(r.name,i)];case"innerBlocks":{let r=new YArray;if(!Array.isArray(i))return[n,r];return r.insert(0,i.map(r=>t(r))),[n,r]}default:return[n,i]}}))}(o[s])];r.insert(s,t)}let f=new Set;for(let t=0;t<r.length;t++){let n=r.get(t),i=n.get("clientId");f.has(i)&&(i=u7(),n.set("clientId",i)),f.add(i)}}(t,r??[],ci);break}case"excerpt":cd(i.get("excerpt"),cu(r),n);break;case"meta":{let t=i.get("meta");t instanceof YMap||n(t=new YMap),Object.entries(r??{}).forEach(([r,n])=>{ca.has(r)||cd(t.get(r),n,n=>{t.set(r,n)})});break}case"slug":if(!r)break;cd(i.get("slug"),r,n);break;case"title":{let t=i.get("title"),o=cu(r);t||"Auto Draft"!==o||(o=""),cd(t,o,n);break}default:cd(i.get(t),r,n)}function n(r){i.set(t,r)}}),"selection"in r&&(ci=r.selection?.selectionStart??null)})(t,r,0),getChangesFromCRDTDoc:(t,r)=>(function(t,r,n){let i=t.getMap(lV),o={},a=Object.fromEntries(Object.entries(i.toJSON()).filter(([n,a])=>{if(!co.has(n))return!1;let s=r[n];switch(n){case"blocks":if(t.meta?.get(lH)&&r.content)return nX(i.get("blocks").toJSON()).trim()!==r.content.raw.trim();return!0;case"date":{let t=["draft","auto-draft","pending"].includes(i.get("status"))&&(null===s||r.modified===s);if(!a&&t)return!1;return cc(s,a)}case"meta":{o=Object.fromEntries(Object.entries(a??{}).filter(([t])=>!ca.has(t)));let t={...s,...o};return cc(s,t)}case"status":if("auto-draft"===a)return!1;return cc(s,a);case"excerpt":case"title":return cc(cu(s),a);default:return cc(s,a)}}));return"object"==typeof a.meta&&(a.meta={...r.meta,...o}),a})(t,r,0),supports:{crdtPersistence:!0}}),o})}async function c_(){return Object.entries(await (0,e7.default)({path:"/wp/v2/taxonomies?context=view"})??{}).map(([t,r])=>{let n=r?.rest_namespace??"wp/v2";return{kind:"taxonomy",baseURL:`/${n}/${r.rest_base}`,baseURLParams:{context:"edit"},name:t,label:r.name,getTitle:t=>t?.name,supportsPagination:!0}})}async function cw(){let t={label:(0,tt.__)("Site"),name:"site",kind:"root",key:!1,baseURL:"/wp/v2/settings",meta:{}};window.__experimentalEnableSync&&globalThis.IS_GUTENBERG_PLUGIN&&(t.syncConfig={applyChangesToCRDTDoc:cs,getChangesFromCRDTDoc:cl});let r=await (0,e7.default)({path:t.baseURL,method:"OPTIONS"}),n={};return Object.entries(r?.schema?.properties??{}).forEach(([t,r])=>{"object"==typeof r&&r.title&&(n[t]=r.title)}),[{...t,meta:{labels:n}}]}var cS=(t,r,n="get")=>{let i="root"===t?"":e8(t),o=e8(r);return`${n}${i}${o}`},cx=function(t){return"string"==typeof t?t.split(","):Array.isArray(t)?t:null},cE=function(t){let r=new WeakMap;return n=>{let i;return r.has(n)?i=r.get(n):(i=t(n),null!==n&&"object"==typeof n&&r.set(n,i)),i}}(function(t){let r={stableKey:"",page:1,perPage:10,fields:null,include:null,context:"default"},n=Object.keys(t).sort();for(let i=0;i<n.length;i++){let o=n[i],a=t[o];switch(o){case"page":r[o]=Number(a);break;case"per_page":r.perPage=Number(a);break;case"context":r.context=a;break;default:"_fields"===o&&(r.fields=cx(a)??[],a=r.fields.join()),"include"===o&&("number"==typeof a&&(a=a.toString()),r.include=(cx(a)??[]).map(Number),a=r.include.join()),r.stableKey+=(r.stableKey?"&":"")+(0,uY.f)("",{[o]:a}).slice(1)}}return r});function ck(t){let{query:r}=t;return r?cE(r).context:"default"}function cC(t,r){return Object.fromEntries(Object.entries(t).filter(([t])=>!r.some(r=>Number.isInteger(r)?r===+t:r===t)))}var cO=U([eX(t=>"query"in t),eY(t=>t.query?{...t,...cE(t.query)}:t),eJ("context"),eJ("stableKey")])((t={},r)=>{let{type:n,page:i,perPage:o,key:a="id"}=r;return"RECEIVE_ITEMS"!==n?t:{itemIds:function(t,r,n,i){if(1===n&&-1===i)return r;let o=(n-1)*i,a=Math.max(t?.length??0,o+r.length),s=Array(a);for(let n=0;n<a;n++){let a=n>=o&&n<o+i;s[n]=a?r[n-o]:t?.[n]}return s}(t?.itemIds||[],r.items.map(t=>t?.[a]).filter(Boolean),i,o),meta:r.meta}}),cR=z({items:function(t={},r){switch(r.type){case"RECEIVE_ITEMS":{let n=ck(r),i=r.key||"id";return{...t,[n]:{...t[n],...r.items.reduce((r,o)=>{let a=o?.[i];return r[a]=function(t,r){if(!t)return r;let n=!1,i={};for(let o in r)eW()(t[o],r[o])?i[o]=t[o]:(n=!0,i[o]=r[o]);if(!n)return t;for(let r in t)i.hasOwnProperty(r)||(i[r]=t[r]);return i}(t?.[n]?.[a],o),r},{})}}}case"REMOVE_ITEMS":return Object.fromEntries(Object.entries(t).map(([t,n])=>[t,cC(n,r.itemIds)]))}return t},itemIsComplete:function(t={},r){switch(r.type){case"RECEIVE_ITEMS":{let n=ck(r),{query:i,key:o="id"}=r,a=i?cE(i):{},s=!i||!Array.isArray(a.fields);return{...t,[n]:{...t[n],...r.items.reduce((r,i)=>{let a=i?.[o];return r[a]=t?.[n]?.[a]||s,r},{})}}}case"REMOVE_ITEMS":return Object.fromEntries(Object.entries(t).map(([t,n])=>[t,cC(n,r.itemIds)]))}return t},queries:(t={},r)=>{switch(r.type){case"RECEIVE_ITEMS":return cO(t,r);case"REMOVE_ITEMS":let n=r.itemIds.reduce((t,r)=>(t[r]=!0,t),{});return Object.fromEntries(Object.entries(t).map(([t,r])=>[t,Object.fromEntries(Object.entries(r).map(([t,r])=>[t,{...r,itemIds:r.itemIds.filter(t=>!n[t])}]))]));default:return t}}}),cT=t=>(r,n)=>{if("UNDO"===n.type||"REDO"===n.type){let{record:i}=n,o=r;return i.forEach(({id:{kind:r,name:i,recordId:a},changes:s})=>{o=t(o,{type:"EDIT_ENTITY_RECORD",kind:r,name:i,recordId:a,edits:Object.entries(s).reduce((t,[r,i])=>(t[r]="UNDO"===n.type?i.from:i.to,t),{})})}),o}return t(r,n)},cP=z({users:function(t={byId:{},queries:{}},r){return"RECEIVE_USER_QUERY"===r.type?{byId:{...t.byId,...r.users.reduce((t,r)=>({...t,[r.id]:r}),{})},queries:{...t.queries,[r.queryID]:r.users.map(t=>t.id)}}:t},currentTheme:function(t,r){return"RECEIVE_CURRENT_THEME"===r.type?r.currentTheme.stylesheet:t},currentGlobalStylesId:function(t,r){return"RECEIVE_CURRENT_GLOBAL_STYLES_ID"===r.type?r.id:t},currentUser:function(t={},r){return"RECEIVE_CURRENT_USER"===r.type?r.currentUser:t},themeGlobalStyleVariations:function(t={},r){return"RECEIVE_THEME_GLOBAL_STYLE_VARIATIONS"===r.type?{...t,[r.stylesheet]:r.variations}:t},themeBaseGlobalStyles:function(t={},r){return"RECEIVE_THEME_GLOBAL_STYLES"===r.type?{...t,[r.stylesheet]:r.globalStyles}:t},themeGlobalStyleRevisions:function(t={},r){return"RECEIVE_THEME_GLOBAL_STYLE_REVISIONS"===r.type?{...t,[r.currentId]:r.revisions}:t},entities:(t={},r)=>{let n=function(t=cm,r){return"ADD_ENTITIES"===r.type?[...t,...r.entities]:t}(t.config,r),i=t.reducer;i&&n===t.config||(i=z(Object.fromEntries(Object.entries(n.reduce((t,r)=>{let{kind:n}=r;return t[n]||(t[n]=[]),t[n].push(r),t},{})).map(([t,r])=>[t,z(Object.fromEntries(r.map(t=>[t.name,U([cT,eX(r=>r.name&&r.kind&&r.name===t.name&&r.kind===t.kind),eY(r=>({key:t.key||"id",...r}))])(z({queriedData:cR,edits:(t={},r)=>{switch(r.type){case"RECEIVE_ITEMS":if("default"!==(r?.query?.context??"default"))break;let n={...t};for(let t of r.items){let i=t?.[r.key],o=n[i];if(!o)continue;let a=Object.keys(o).reduce((n,i)=>(eW()(o[i],t[i]?.raw??t[i])||r.persistedEdits&&eW()(o[i],r.persistedEdits[i])||(n[i]=o[i]),n),{});Object.keys(a).length?n[i]=a:delete n[i]}return n;case"EDIT_ENTITY_RECORD":let i={...t[r.recordId],...r.edits};return Object.keys(i).forEach(t=>{void 0===i[t]&&delete i[t]}),{...t,[r.recordId]:i}}return t},saving:(t={},r)=>{switch(r.type){case"SAVE_ENTITY_RECORD_START":case"SAVE_ENTITY_RECORD_FINISH":return{...t,[r.recordId]:{pending:"SAVE_ENTITY_RECORD_START"===r.type,error:r.error,isAutosave:r.isAutosave}}}return t},deleting:(t={},r)=>{switch(r.type){case"DELETE_ENTITY_RECORD_START":case"DELETE_ENTITY_RECORD_FINISH":return{...t,[r.recordId]:{pending:"DELETE_ENTITY_RECORD_START"===r.type,error:r.error}}}return t},revisions:(t={},r)=>{if("RECEIVE_ITEM_REVISIONS"===r.type){let n=r.recordKey;delete r.recordKey;let i=cR(t[n],{...r,type:"RECEIVE_ITEMS"});return{...t,[n]:i}}return"REMOVE_ITEMS"===r.type?Object.fromEntries(Object.entries(t).filter(([t])=>!r.itemIds.some(r=>Number.isInteger(r)?r===+t:r===t))):t}}))])))]))));let o=i(t.records,r);return o===t.records&&n===t.config&&i===t.reducer?t:{reducer:i,records:o,config:n}},editsReference:function(t={},r){switch(r.type){case"EDIT_ENTITY_RECORD":case"UNDO":case"REDO":return{}}return t},undoManager:function(t=function(){let t=[],r=[],n=0,i=()=>{t=t.slice(0,n||void 0),n=0},o=()=>{let n=0===t.length?0:t.length-1,i=t[n]??[];r.forEach(t=>{i=eK(i,t)}),r=[],t[n]=i},a=t=>!t.filter(({changes:t})=>Object.values(t).some(({from:t,to:r})=>"function"!=typeof t&&"function"!=typeof r&&!eG(t,r))).length;return{addRecord(n,s=!1){let l=!n||a(n);if(s){if(l)return;n.forEach(t=>{r=eK(r,t)})}else{if(i(),r.length&&o(),l)return;t.push(n)}},undo(){r.length&&(i(),o());let a=t[t.length-1+n];if(a)return n-=1,a},redo(){let r=t[t.length+n];if(r)return n+=1,r},hasUndo:()=>!!t[t.length-1+n],hasRedo:()=>!!t[t.length+n]}}()){return t},embedPreviews:function(t={},r){if("RECEIVE_EMBED_PREVIEW"===r.type){let{url:n,preview:i}=r;return{...t,[n]:i}}return t},userPermissions:function(t={},r){switch(r.type){case"RECEIVE_USER_PERMISSION":return{...t,[r.key]:r.isAllowed};case"RECEIVE_USER_PERMISSIONS":return{...t,...r.permissions}}return t},autosaves:function(t={},r){if("RECEIVE_AUTOSAVES"===r.type){let{postId:n,autosaves:i}=r;return{...t,[n]:i}}return t},blockPatterns:function(t=[],r){return"RECEIVE_BLOCK_PATTERNS"===r.type?r.patterns:t},blockPatternCategories:function(t=[],r){return"RECEIVE_BLOCK_PATTERN_CATEGORIES"===r.type?r.categories:t},userPatternCategories:function(t=[],r){return"RECEIVE_USER_PATTERN_CATEGORIES"===r.type?r.patternCategories:t},navigationFallbackId:function(t=null,r){return"RECEIVE_NAVIGATION_FALLBACK_ID"===r.type?r.fallbackId:t},defaultTemplates:function(t={},r){return"RECEIVE_DEFAULT_TEMPLATE"===r.type?{...t,[JSON.stringify(r.query)]:r.templateId}:t},registeredPostMeta:function(t={},r){return"RECEIVE_REGISTERED_POST_META"===r.type?{...t,[r.postType]:r.registeredPostMeta}:t},editorSettings:function(t=null,r){return"RECEIVE_EDITOR_SETTINGS"===r.type?r.settings:t},editorAssets:function(t=null,r){return"RECEIVE_EDITOR_ASSETS"===r.type?r.assets:t}}),cM="core";function cI(t,r,n){if(!t||"object"!=typeof t)return t;let i=Array.isArray(r)?r:r.split(".");return i.reduce((t,r,o)=>(void 0===t[r]&&(Number.isInteger(i[o+1])?t[r]=[]:t[r]={}),o===i.length-1&&(t[r]=n),t[r]),t),t}var cA=new WeakMap,cL=ef((t,r={})=>{let n=cA.get(t);if(n){let t=n.get(r);if(void 0!==t)return t}else n=new(L()),cA.set(t,n);let i=function(t,r){let n,{stableKey:i,page:o,perPage:a,include:s,fields:l,context:u}=cE(r);if(t.queries?.[u]?.[i]&&(n=t.queries[u][i].itemIds),!n)return null;let c=-1===a?0:(o-1)*a,d=-1===a?n.length:Math.min(c+a,n.length),f=[];for(let r=c;r<d;r++){let i,o=n[r];if(Array.isArray(s)&&!s.includes(o)||void 0===o)continue;if(!t.items[u]?.hasOwnProperty(o))return null;let a=t.items[u][o];if(Array.isArray(l)){i={};for(let t=0;t<l.length;t++){let r=l[t].split("."),n=a;r.forEach(t=>{n=n?.[t]}),cI(i,r,n)}}else{if(!t.itemIsComplete[u]?.[o])return null;i=a}f.push(i)}return f}(t,r);return n.set(r,i),i});function cN(t,r={}){let{stableKey:n,context:i}=cE(r);return t.queries?.[i]?.[n]?.meta?.totalItems??null}var cj=["create","read","update","delete"];function cD(t){let r={};if(!t)return r;for(let[n,i]of Object.entries({create:"POST",read:"GET",update:"PUT",delete:"DELETE"}))r[n]=t.includes(i);return r}function cF(t,r,n){return("object"==typeof r?[t,r.kind,r.name,r.id]:[t,r,n]).filter(Boolean).join("/")}var cB=!1;function c$(t,r,n,{alternativeFunctionName:i,isShorthandSelector:o=!1}={}){let a=cg[t]?.[r];if(a){if(!cB){let{alternative:s}=a,l=o?`'${n}'`:`The '${t}', '${r}' entity (used via '${n}')`,u=`the '${s.kind}', '${s.name}' entity`;i&&(u+=` via the '${i}' function`),eu(l,{...a,alternative:u})}cB=!0,setTimeout(()=>{cB=!1},0)}}var cU={},cz=q(t=>(r,n)=>t(cM).isResolving("getEmbedPreview",[n]));function cq(t,r){return eu("select( 'core' ).getAuthors()",{since:"5.9",alternative:"select( 'core' ).getUsers({ who: 'authors' })"}),cH(t,(0,uY.f)("/wp/v2/users/?who=authors&per_page=100",r))}function cZ(t){return t.currentUser}var cH=ef((t,r)=>(t.users.queries[r]??[]).map(r=>t.users.byId[r]),(t,r)=>[t.users.queries[r],t.users.byId]);function cV(t,r){return eu("wp.data.select( 'core' ).getEntitiesByKind()",{since:"6.0",alternative:"wp.data.select( 'core' ).getEntitiesConfig()"}),cW(t,r)}var cW=ef((t,r)=>t.entities.config.filter(t=>t.kind===r),(t,r)=>t.entities.config);function cG(t,r,n){return eu("wp.data.select( 'core' ).getEntity()",{since:"6.0",alternative:"wp.data.select( 'core' ).getEntityConfig()"}),cK(t,r,n)}function cK(t,r,n){return c$(r,n,"getEntityConfig"),t.entities.config?.find(t=>t.kind===r&&t.name===n)}var cX=ef((t,r,n,i,o)=>{c$(r,n,"getEntityRecord");let a=t.entities.records?.[r]?.[n]?.queriedData;if(!a)return;let s=o?.context??"default";if(!o||!o._fields){if(!a.itemIsComplete[s]?.[i])return;return a.items[s][i]}let l=a.items[s]?.[i];if(!l)return l;let u={},c=cx(o._fields)??[];for(let t=0;t<c.length;t++){let r=c[t].split("."),n=l;r.forEach(t=>{n=n?.[t]}),cI(u,r,n)}return u},(t,r,n,i,o)=>{let a=o?.context??"default",s=t.entities.records?.[r]?.[n]?.queriedData;return[s?.items[a]?.[i],s?.itemIsComplete[a]?.[i]]});function cY(t,r,n,i,o){let a=t.entities.records?.[r]?.[n]?.queriedData;if(!a)return!1;let s=o?.context??"default";if(!o||!o._fields)return!!a.itemIsComplete[s]?.[i];let l=a.items[s]?.[i];if(!l)return!1;let u=cx(o._fields)??[];for(let t=0;t<u.length;t++){let r=u[t].split("."),n=l;for(let t=0;t<r.length;t++){let i=r[t];if(!n||!Object.hasOwn(n,i))return!1;n=n[i]}}return!0}function cJ(t,r,n,i){return cX(t,r,n,i)}cX.__unstableNormalizeArgs=t=>{let r=[...t],n=r?.[2];return r[2]=/^\s*\d+\s*$/.test(n)?Number(n):n,r};var cQ=ef((t,r,n,i)=>{c$(r,n,"getRawEntityRecord");let o=cX(t,r,n,i);return o&&Object.keys(o).reduce((i,a)=>{var s;return(s=cK(t,r,n),(s.rawAttributes||[]).includes(a))?i[a]=o[a]?.raw!==void 0?o[a]?.raw:o[a]:i[a]=o[a],i},{})},(t,r,n,i,o)=>{let a=o?.context??"default";return[t.entities.config,t.entities.records?.[r]?.[n]?.queriedData?.items[a]?.[i],t.entities.records?.[r]?.[n]?.queriedData?.itemIsComplete[a]?.[i]]});function c0(t,r,n,i){return c$(r,n,"hasEntityRecords"),Array.isArray(c1(t,r,n,i))}var c1=(t,r,n,i)=>{c$(r,n,"getEntityRecords");let o=t.entities.records?.[r]?.[n]?.queriedData;return o?cL(o,i):null},c2=(t,r,n,i)=>{c$(r,n,"getEntityRecordsTotalItems");let o=t.entities.records?.[r]?.[n]?.queriedData;return o?cN(o,i):null},c5=(t,r,n,i)=>{c$(r,n,"getEntityRecordsTotalPages");let o=t.entities.records?.[r]?.[n]?.queriedData;if(!o)return null;if(i?.per_page===-1)return 1;let a=cN(o,i);return a?i?.per_page?Math.ceil(a/i.per_page):function(t,r={}){let{stableKey:n,context:i}=cE(r);return t.queries?.[i]?.[n]?.meta?.totalPages??null}(o,i):a},c3=ef(t=>{let{entities:{records:r}}=t,n=[];return Object.keys(r).forEach(i=>{Object.keys(r[i]).forEach(o=>{let a=Object.keys(r[i][o].edits).filter(r=>cX(t,i,o,r)&&c7(t,i,o,r));if(a.length){let r=cK(t,i,o);a.forEach(a=>{let s=c9(t,i,o,a);n.push({key:s?s[r.key||"id"]:void 0,title:r?.getTitle?.(s)||"",name:o,kind:i})})}})}),n},t=>[t.entities.records]),c6=ef(t=>{let{entities:{records:r}}=t,n=[];return Object.keys(r).forEach(i=>{Object.keys(r[i]).forEach(o=>{let a=Object.keys(r[i][o].saving).filter(r=>dt(t,i,o,r));if(a.length){let r=cK(t,i,o);a.forEach(a=>{let s=c9(t,i,o,a);n.push({key:s?s[r.key||"id"]:void 0,title:r?.getTitle?.(s)||"",name:o,kind:i})})}})}),n},t=>[t.entities.records]);function c4(t,r,n,i){return c$(r,n,"getEntityRecordEdits"),t.entities.records?.[r]?.[n]?.edits?.[i]}var c8=ef((t,r,n,i)=>{c$(r,n,"getEntityRecordNonTransientEdits");let{transientEdits:o}=cK(t,r,n)||{},a=c4(t,r,n,i)||{};return o?Object.keys(a).reduce((t,r)=>(o[r]||(t[r]=a[r]),t),{}):a},(t,r,n,i)=>[t.entities.config,t.entities.records?.[r]?.[n]?.edits?.[i]]);function c7(t,r,n,i){return c$(r,n,"hasEditsForEntityRecord"),dt(t,r,n,i)||Object.keys(c8(t,r,n,i)).length>0}var c9=ef((t,r,n,i)=>{c$(r,n,"getEditedEntityRecord");let o=cQ(t,r,n,i),a=c4(t,r,n,i);return(!!o||!!a)&&{...o,...a}},(t,r,n,i,o)=>{let a=o?.context??"default";return[t.entities.config,t.entities.records?.[r]?.[n]?.queriedData.items[a]?.[i],t.entities.records?.[r]?.[n]?.queriedData.itemIsComplete[a]?.[i],t.entities.records?.[r]?.[n]?.edits?.[i]]});function de(t,r,n,i){c$(r,n,"isAutosavingEntityRecord");let{pending:o,isAutosave:a}=t.entities.records?.[r]?.[n]?.saving?.[i]??{};return!!(o&&a)}function dt(t,r,n,i){return c$(r,n,"isSavingEntityRecord"),t.entities.records?.[r]?.[n]?.saving?.[i]?.pending??!1}function dr(t,r,n,i){return c$(r,n,"isDeletingEntityRecord"),t.entities.records?.[r]?.[n]?.deleting?.[i]?.pending??!1}function dn(t,r,n,i){return c$(r,n,"getLastEntitySaveError"),t.entities.records?.[r]?.[n]?.saving?.[i]?.error}function di(t,r,n,i){return c$(r,n,"getLastEntityDeleteError"),t.entities.records?.[r]?.[n]?.deleting?.[i]?.error}function da(t){eu("select( 'core' ).getUndoEdit()",{since:"6.3"})}function ds(t){eu("select( 'core' ).getRedoEdit()",{since:"6.3"})}function dl(t){return t.undoManager.hasUndo()}function du(t){return t.undoManager.hasRedo()}function dc(t){return t.currentTheme?cX(t,"root","theme",t.currentTheme):null}function dd(t){return t.currentGlobalStylesId}function dp(t){return dc(t)?.theme_supports??cU}function df(t,r){return t.embedPreviews[r]}function dh(t,r){let n=t.embedPreviews[r];return!!n&&n.html==='<a href="'+r+'">'+r+"</a>"}function dm(t,r,n,i){let o="object"==typeof n;if(o&&(!n.kind||!n.name))return!1;o&&c$(n.kind,n.name,"canUser");let a=cF(r,n,i);return t.userPermissions[a]}function dg(t,r,n,i){return eu("wp.data.select( 'core' ).canUserEditEntityRecord()",{since:"6.7",alternative:"wp.data.select( 'core' ).canUser( 'update', { kind, name, id } )"}),dm(t,"update",{kind:r,name:n,id:i})}function dy(t,r,n){return t.autosaves[n]}function dv(t,r,n,i){if(void 0===i)return;let o=t.autosaves[n];return o?.find(t=>t.author===i)}var db=q(t=>(r,n,i)=>t(cM).hasFinishedResolution("getAutosaves",[n,i]));function d_(t){return t.editsReference}function dw(t){let r=dc(t);return r?t.themeBaseGlobalStyles[r.stylesheet]:null}function dS(t){let r=dc(t);return r?t.themeGlobalStyleVariations[r.stylesheet]:null}function dx(t){return t.blockPatterns}function dE(t){return t.blockPatternCategories}function dk(t){return t.userPatternCategories}function dC(t){eu("select( 'core' ).getCurrentThemeGlobalStylesRevisions()",{since:"6.5.0",alternative:"select( 'core' ).getRevisions( 'root', 'globalStyles', ${ recordKey } )"});let r=dd(t);return r?t.themeGlobalStyleRevisions[r]:null}function dO(t,r){return t.defaultTemplates[JSON.stringify(r)]}var dR=(t,r,n,i,o)=>{c$(r,n,"getRevisions");let a=t.entities.records?.[r]?.[n]?.revisions?.[i];return a?cL(a,o):null},dT=ef((t,r,n,i,o,a)=>{c$(r,n,"getRevision");let s=t.entities.records?.[r]?.[n]?.revisions?.[i];if(!s)return;let l=a?.context??"default";if(!a||!a._fields){if(!s.itemIsComplete[l]?.[o])return;return s.items[l][o]}let u=s.items[l]?.[o];if(!u)return u;let c={},d=cx(a._fields)??[];for(let t=0;t<d.length;t++){let r=d[t].split("."),n=u;r.forEach(t=>{n=n?.[t]}),cI(c,r,n)}return c},(t,r,n,i,o,a)=>{let s=a?.context??"default",l=t.entities.records?.[r]?.[n]?.revisions?.[i];return[l?.items?.[s]?.[o],l?.itemIsComplete?.[s]?.[o]]}),{lock:dP,unlock:dM}=K("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/core-data");function dI(t){return t.undoManager}function dA(t){return t.navigationFallbackId}var dL=q(t=>ef((r,n)=>t(cM).getBlockPatterns().filter(({postTypes:t})=>!t||Array.isArray(t)&&t.includes(n)),()=>[t(cM).getBlockPatterns()])),dN=q(t=>ef((r,n,i,o)=>(Array.isArray(o)?o:[o]).map(r=>({delete:t(cM).canUser("delete",{kind:n,name:i,id:r}),update:t(cM).canUser("update",{kind:n,name:i,id:r})})),t=>[t.userPermissions]));function dj(t,r,n,i){return c$(r,n,"getEntityRecordPermissions"),dN(t,r,n,i)[0]}function dD(t,r){return t.registeredPostMeta?.[r]??{}}function dF(t){return t&&["number","string"].includes(typeof t)&&0!==Number(t)?t.toString():null}var dB=q(t=>ef(()=>{let r=t(cM).getEntityRecord("root","__unstableBase");if(!r)return null;let n=r?.show_on_front==="page"?dF(r.page_on_front):null;if(n)return{postType:"page",postId:n};let i=t(cM).getDefaultTemplateId({slug:"front-page"});return i?{postType:"wp_template",postId:i}:null},t=>[cX(t,"root","site"),cX(t,"root","__unstableBase"),dO(t,{slug:"front-page"})])),d$=q(t=>()=>{let r=t(cM).getEntityRecord("root","__unstableBase");return r?.show_on_front==="page"?dF(r.page_for_posts):null}),dU=q(t=>(r,n,i)=>{let o,a=dM(t(cM)).getHomePage();if(!a)return;if("page"===n&&n===a?.postType&&i.toString()===a?.postId){let r=t(cM).getEntityRecords("postType","wp_template",{per_page:-1});if(!r)return;let n=r.find(({slug:t})=>"front-page"===t)?.id;if(n)return n}let s=t(cM).getEditedEntityRecord("postType",n,i);if(!s)return;let l=dM(t(cM)).getPostsPageId();if("page"===n&&l===i.toString())return t(cM).getDefaultTemplateId({slug:"home"});let u=s.template;if(u){let r=t(cM).getEntityRecords("postType","wp_template",{per_page:-1})?.find(({slug:t})=>t===u);if(r)return r.id}return o=s.slug?"page"===n?`${n}-${s.slug}`:`single-${n}-${s.slug}`:"page"===n?"page":`single-${n}`,t(cM).getDefaultTemplateId({slug:o})});function dz(t){return t.editorSettings}function dq(t){return t.editorAssets}function dZ(t,r,n){return{type:"RECEIVE_ITEMS",items:Array.isArray(t)?t:[t],persistedEdits:r,meta:n}}var dH=null;async function dV(t){null===dH&&(dH=(await (0,e7.default)({path:"/batch/v1",method:"OPTIONS"})).endpoints[0].args.requests.maxItems);let r=[];for(let n of function(t,r){let n=[...t],i=[];for(;n.length;)i.push(n.splice(0,r));return i}(t,dH)){let t,i=await (0,e7.default)({path:"/batch/v1",method:"POST",data:{validation:"require-all-validate",requests:n.map(t=>({path:t.path,body:t.data,method:t.method,headers:t.headers}))}});t=i.failed?i.responses.map(t=>({error:t?.body})):i.responses.map(t=>{let r={};return t.status>=200&&t.status<300?r.output=t.body:r.error=t.body,r}),r.push(...t)}return r}var dW=class{constructor(...t){this.set=new Set(...t),this.subscribers=new Set}get size(){return this.set.size}add(t){return this.set.add(t),this.subscribers.forEach(t=>t()),this}delete(t){let r=this.set.delete(t);return this.subscribers.forEach(t=>t()),r}subscribe(t){return this.subscribers.add(t),()=>{this.subscribers.delete(t)}}};function dG(t,r){return{type:"RECEIVE_USER_QUERY",users:Array.isArray(r)?r:[r],queryID:t}}function dK(t){return{type:"RECEIVE_CURRENT_USER",currentUser:t}}function dX(t){return{type:"ADD_ENTITIES",entities:t}}function dY(t,r,n,i,o=!1,a,s){let l;return"postType"===t&&(n=(Array.isArray(n)?n:[n]).map(t=>"auto-draft"===t.status?{...t,title:""}:t)),{...i?function(t,r={},n,i){return{...dZ(t,n,i),query:r}}(n,i,a,s):dZ(n,a,s),kind:t,name:r,invalidateCache:o}}function dJ(t){return{type:"RECEIVE_CURRENT_THEME",currentTheme:t}}function dQ(t){return{type:"RECEIVE_CURRENT_GLOBAL_STYLES_ID",id:t}}function d0(t,r){return{type:"RECEIVE_THEME_GLOBAL_STYLES",stylesheet:t,globalStyles:r}}function d1(t,r){return{type:"RECEIVE_THEME_GLOBAL_STYLE_VARIATIONS",stylesheet:t,variations:r}}function d2(){return eu("wp.data.dispatch( 'core' ).receiveThemeSupports",{since:"5.9"}),{type:"DO_NOTHING"}}function d5(t,r){return eu("wp.data.dispatch( 'core' ).receiveThemeGlobalStyleRevisions()",{since:"6.5.0",alternative:"wp.data.dispatch( 'core' ).receiveRevisions"}),{type:"RECEIVE_THEME_GLOBAL_STYLE_REVISIONS",currentId:t,revisions:r}}function d3(t,r){return{type:"RECEIVE_EMBED_PREVIEW",url:t,preview:r}}var d6=(t,r,n,i,{__unstableFetch:o=e7.default,throwOnError:a=!1}={})=>async({dispatch:s,resolveSelect:l})=>{let u;c$(t,r,"deleteEntityRecord");let c=(await l.getEntitiesConfig(t)).find(n=>n.kind===t&&n.name===r),d=!1;if(!c)return;let f=await s.__unstableAcquireStoreLock(cM,["entities","records",t,r,n],{exclusive:!0});try{s({type:"DELETE_ENTITY_RECORD_START",kind:t,name:r,recordId:n});let l=!1,{baseURL:f}=c;"postType"!==t||"wp_template"!==r||(!n||"string"!=typeof n||/^\d+$/.test(n))&&window?.__experimentalTemplateActivate||(f=f.slice(0,f.lastIndexOf("/"))+"/templates");try{let a=`${f}/${n}`;i&&(a=(0,uY.f)(a,i)),d=await o({path:a,method:"DELETE"}),await s(function(t,r,n,i=!1){return{type:"REMOVE_ITEMS",itemIds:Array.isArray(n)?n:[n],kind:t,name:r,invalidateCache:i}}(t,r,n,!0))}catch(t){l=!0,u=t}if(s({type:"DELETE_ENTITY_RECORD_FINISH",kind:t,name:r,recordId:n,error:u}),l&&a)throw u;return d}finally{s.__unstableReleaseStoreLock(f)}},d4=(t,r,n,i,o={})=>({select:a,dispatch:s})=>{c$(t,r,"editEntityRecord");let l=a.getEntityConfig(t,r);if(!l)throw Error(`The entity being edited (${t}, ${r}) does not have a loaded config.`);let{mergedEdits:u={}}=l,c=a.getRawEntityRecord(t,r,n),d=a.getEditedEntityRecord(t,r,n),f={kind:t,name:r,recordId:n,edits:Object.keys(i).reduce((t,r)=>{let n=c[r],o=d[r],a=u[r]?{...o,...i[r]}:i[r];return t[r]=eW()(n,a)?void 0:a,t},{})};if(window.__experimentalEnableSync&&l.syncConfig&&globalThis.IS_GUTENBERG_PLUGIN){let i=`${t}/${r}`;u3()?.update(i,n,f.edits,"gutenberg")}o.undoIgnore||a.getUndoManager().addRecord([{id:{kind:t,name:r,recordId:n},changes:Object.keys(i).reduce((t,r)=>(t[r]={from:d[r],to:i[r]},t),{})}],o.isCached),s({type:"EDIT_ENTITY_RECORD",...f})},d8=()=>({select:t,dispatch:r})=>{let n=t.getUndoManager().undo();n&&r({type:"UNDO",record:n})},d7=()=>({select:t,dispatch:r})=>{let n=t.getUndoManager().redo();n&&r({type:"REDO",record:n})},d9=()=>({select:t})=>{t.getUndoManager().addRecord()},pe=(t,r,n,{isAutosave:i=!1,__unstableFetch:o=e7.default,throwOnError:a=!1}={})=>async({select:s,resolveSelect:l,dispatch:u})=>{c$(t,r,"saveEntityRecord");let c=(await l.getEntitiesConfig(t)).find(n=>n.kind===t&&n.name===r);if(!c)return;let d=c.key??"id",f=n[d],h=!!d&&!f,m=await u.__unstableAcquireStoreLock(cM,["entities","records",t,r,f||u7()],{exclusive:!0});try{let d,m;for(let[i,o]of Object.entries(n))if("function"==typeof o){let a=o(s.getEditedEntityRecord(t,r,f));u.editEntityRecord(t,r,f,{[i]:a},{undoIgnore:!0}),n[i]=a}u({type:"SAVE_ENTITY_RECORD_START",kind:t,name:r,recordId:f,isAutosave:i});let g=!1,{baseURL:y}=c;"postType"!==t||"wp_template"!==r||(!f||"string"!=typeof f||/^\d+$/.test(f))&&window?.__experimentalTemplateActivate||(y=y.slice(0,y.lastIndexOf("/"))+"/templates");try{let a=`${y}${f?"/"+f:""}`,m=h?{}:s.getRawEntityRecord(t,r,f);if(i){let i=s.getCurrentUser(),c=i?i.id:void 0,f=await l.getAutosave(m.type,m.id,c),h={...m,...f,...n};if(h=Object.keys(h).reduce((t,r)=>(["title","excerpt","content","meta"].includes(r)&&(t[r]=h[r]),t),{status:"auto-draft"===h.status?"draft":void 0}),d=await o({path:`${a}/autosaves`,method:"POST",data:h}),m.id===d.id){let n={...m,...h,...d};n=Object.keys(n).reduce((t,r)=>(["title","excerpt","content"].includes(r)?t[r]=n[r]:"status"===r?t[r]="auto-draft"===m.status&&"draft"===n.status?n.status:m.status:t[r]=m[r],t),{}),u.receiveEntityRecords(t,r,n,void 0,!0)}else u.receiveAutosaves(m.id,d)}else{let i=n;c.__unstablePrePersist&&(i={...i,...c.__unstablePrePersist(m,i)}),d=await o({path:a,method:f?"PUT":"POST",data:i}),u.receiveEntityRecords(t,r,d,void 0,!0,i)}}catch(t){g=!0,m=t}if(u({type:"SAVE_ENTITY_RECORD_FINISH",kind:t,name:r,recordId:f,error:m,isAutosave:i}),g&&a)throw m;return d}finally{u.__unstableReleaseStoreLock(m)}},pt=t=>async({dispatch:r})=>{let n=function(t=dV){let r=0,n=[],i=new dW;return{add(t){let o=++r;i.add(o);let a=t=>new Promise((r,a)=>{n.push({input:t,resolve:r,reject:a}),i.delete(o)});return"function"==typeof t?Promise.resolve(t(a)).finally(()=>{i.delete(o)}):a(t)},async run(){let r;i.size&&await new Promise(t=>{let r=i.subscribe(()=>{i.size||(r(),t(void 0))})});try{if((r=await t(n.map(({input:t})=>t))).length!==n.length)throw Error("run: Array returned by processor must be same size as input array.")}catch(t){for(let{reject:r}of n)r(t);throw t}let o=!0;return r.forEach((t,r)=>{let i=n[r];t?.error?(i?.reject(t.error),o=!1):i?.resolve(t?.output??t)}),n=[],o}}}(),i={saveEntityRecord:(t,i,o,a)=>n.add(n=>r.saveEntityRecord(t,i,o,{...a,__unstableFetch:n})),saveEditedEntityRecord:(t,i,o,a)=>n.add(n=>r.saveEditedEntityRecord(t,i,o,{...a,__unstableFetch:n})),deleteEntityRecord:(t,i,o,a,s)=>n.add(n=>r.deleteEntityRecord(t,i,o,a,{...s,__unstableFetch:n}))},o=t.map(t=>t(i)),[,...a]=await Promise.all([n.run(),...o]);return a},pr=(t,r,n,i)=>async({select:o,dispatch:a,resolveSelect:s})=>{if(c$(t,r,"saveEditedEntityRecord"),!o.hasEditsForEntityRecord(t,r,n))return;let l=(await s.getEntitiesConfig(t)).find(n=>n.kind===t&&n.name===r);if(!l)return;let u=l.key||"id",c=o.getEntityRecordNonTransientEdits(t,r,n),d={[u]:n,...c};return await a.saveEntityRecord(t,r,d,i)},pn=(t,r,n,i,o)=>async({select:a,dispatch:s,resolveSelect:l})=>{if(c$(t,r,"__experimentalSaveSpecifiedEntityEdits"),!a.hasEditsForEntityRecord(t,r,n))return;let u=a.getEntityRecordNonTransientEdits(t,r,n),c={};for(let t of i)cI(c,t,function(t,r,n){if(!t||"object"!=typeof t||"string"!=typeof r&&!Array.isArray(r))return t;let i=Array.isArray(r)?r:r.split("."),o=t;return i.forEach(t=>{o=o?.[t]}),void 0!==o?o:void 0}(u,t));let d=(await l.getEntitiesConfig(t)).find(n=>n.kind===t&&n.name===r),f=d?.key||"id";return n&&(c[f]=n),await s.saveEntityRecord(t,r,c,o)};function pi(t){return eu("wp.data.dispatch( 'core' ).receiveUploadPermissions",{since:"5.9",alternative:"receiveUserPermission"}),po("create/media",t)}function po(t,r){return{type:"RECEIVE_USER_PERMISSION",key:t,isAllowed:r}}function pa(t){return{type:"RECEIVE_USER_PERMISSIONS",permissions:t}}function ps(t,r){return{type:"RECEIVE_AUTOSAVES",postId:t,autosaves:Array.isArray(r)?r:[r]}}function pl(t){return{type:"RECEIVE_NAVIGATION_FALLBACK_ID",fallbackId:t}}function pu(t,r){return{type:"RECEIVE_DEFAULT_TEMPLATE",query:t,templateId:r}}var pc=(t,r,n,i,o,a=!1,s)=>async({dispatch:l,resolveSelect:u})=>{c$(t,r,"receiveRevisions");let c=(await u.getEntitiesConfig(t)).find(n=>n.kind===t&&n.name===r);l({type:"RECEIVE_ITEM_REVISIONS",key:c&&c?.revisionKey?c.revisionKey:"id",items:Array.isArray(i)?i:[i],recordKey:n,meta:s,query:o,kind:t,name:r,invalidateCache:a})};function pd(t,r){return{type:"RECEIVE_REGISTERED_POST_META",postType:t,registeredPostMeta:r}}var pp=(t,r={},{__unstableFetch:n=e7.default,throwOnError:i=!1}={})=>async({dispatch:o,resolveSelect:a})=>{let s,l;if(!t)return;let u="postType",c="attachment",d=(await a.getEntitiesConfig(u)).find(t=>t.kind===u&&t.name===c);if(!d)return;let f=await o.__unstableAcquireStoreLock(cM,["entities","records",u,c,t],{exclusive:!0}),h=!1;try{o({type:"SAVE_ENTITY_RECORD_START",kind:u,name:c,recordId:t});try{let i=`${d.baseURL}/${t}/edit`,a=await n({path:i,method:"POST",data:{...r}});a&&(o.receiveEntityRecords(u,c,[a],void 0,!0,void 0,void 0),s=a)}catch(t){l=t,h=!0}if(o({type:"SAVE_ENTITY_RECORD_FINISH",kind:u,name:c,recordId:t,error:l}),h&&i)throw l;return s}finally{o.__unstableReleaseStoreLock(f)}};function pf(t){return{type:"RECEIVE_EDITOR_SETTINGS",settings:t}}function ph(t){return{type:"RECEIVE_EDITOR_ASSETS",assets:t}}var pm=t=>(...r)=>async({resolveSelect:n})=>{await n[t](...r)},pg=Symbol("RECEIVE_INTERMEDIATE_RESULTS");async function py(){let t=await (0,e7.default)({path:"/wp/v2/block-patterns/patterns"});return t?t.map(t=>Object.fromEntries(Object.entries(t).map(([t,r])=>[te(t),r]))):[]}var pv=t=>async({dispatch:r})=>{let n=(0,uY.f)("/wp/v2/users/?who=authors&per_page=100",t),i=await (0,e7.default)({path:n});r.receiveUserQuery(n,i)},pb=()=>async({dispatch:t})=>{let r=await (0,e7.default)({path:"/wp/v2/users/me"});t.receiveCurrentUser(r)},p_=(t,r,n="",i)=>async({select:o,dispatch:a,registry:s,resolveSelect:l})=>{let u=(await l.getEntitiesConfig(t)).find(n=>n.name===r&&n.kind===t);if(!u)return;let c=await a.__unstableAcquireStoreLock(cM,["entities","records",t,r,n],{exclusive:!1});try{if(void 0!==i&&i._fields&&(i={...i,_fields:[...new Set([...cx(i._fields)||[],u.key||"id"])].join()}),void 0!==i&&i._fields&&o.hasEntityRecord(t,r,n,i))return;let{baseURL:c}=u;"postType"!==t||"wp_template"!==r||(!n||"string"!=typeof n||/^\d+$/.test(n))&&window?.__experimentalTemplateActivate||(c=c.slice(0,c.lastIndexOf("/"))+"/templates");let d=(0,uY.f)(c+(n?"/"+n:""),{...u.baseURLParams,...i}),f=await (0,e7.default)({path:d,parse:!1}),h=await f.json(),m=cD(f.headers?.get("allow")),g=[],y={};for(let i of cj)y[cF(i,{kind:t,name:r,id:n})]=m[i],g.push([i,{kind:t,name:r,id:n}]);if(window.__experimentalEnableSync&&u.syncConfig&&!i&&globalThis.IS_GUTENBERG_PLUGIN){let i=`${t}/${r}`,o={...h};Object.entries(u.transientEdits??{}).filter(([t,r])=>void 0===o[t]&&r&&"object"==typeof r&&"read"in r&&"function"==typeof r.read).forEach(([t,r])=>{o[t]=r.read(o)}),await u3()?.load(u.syncConfig,i,n,o,{editRecord:i=>{Object.keys(i).length&&a({type:"EDIT_ENTITY_RECORD",kind:t,name:r,recordId:n,edits:i,meta:{undo:void 0}})},getEditedRecord:async()=>await l.getEditedEntityRecord(t,r,n),saveRecord:()=>{a.saveEditedEntityRecord(t,r,n)}})}s.batch(()=>{a.receiveEntityRecords(t,r,h,i),a.receiveUserPermissions(y),a.finishResolutions("canUser",g)})}finally{a.__unstableReleaseStoreLock(c)}};p_.shouldInvalidate=(t,r,n)=>"root"===r&&"site"===n&&("RECEIVE_ITEMS"===t.type&&t.persistedEdits&&"auto-draft"!==t.persistedEdits.status||"REMOVE_ITEMS"===t.type)&&"postType"===t.kind&&"wp_template"===t.name;var pw=pm("getEntityRecord"),pS=pm("getEntityRecord"),px=(t,r,n={})=>async({dispatch:i,registry:o,resolveSelect:a})=>{let s=(await a.getEntitiesConfig(t)).find(n=>n.name===r&&n.kind===t);if(!s)return;let l=await i.__unstableAcquireStoreLock(cM,["entities","records",t,r],{exclusive:!1}),u={...n},c=s.key||"id";function d(n,i){let o=Object.fromEntries(Object.entries(i).filter(([t,r])=>["context","_fields"].includes(t)&&!!r));return n.filter(t=>t?.[c]).map(n=>[t,r,n[c],Object.keys(o).length>0?o:void 0])}try{n._fields&&(n={...n,_fields:[...new Set([...cx(n._fields)||[],c])].join()});let{baseURL:a}=s,{combinedTemplates:f=!0}=n;"postType"===t&&"wp_template"===r&&f&&(a=a.slice(0,a.lastIndexOf("/"))+"/templates");let h=(0,uY.f)(a,{...s.baseURLParams,...n}),m=[],g;if(s.supportsPagination&&-1!==n.per_page){let t=await (0,e7.default)({path:h,parse:!1});m=Object.values(await t.json()),g={totalItems:parseInt(t.headers.get("X-WP-Total")),totalPages:parseInt(t.headers.get("X-WP-TotalPages"))}}else if(-1===n.per_page&&!0===n[pg]){let a,s=1;do{let l=await (0,e7.default)({path:(0,uY.f)(h,{page:s,per_page:100}),parse:!1}),c=Object.values(await l.json());a=parseInt(l.headers.get("X-WP-TotalPages")),g||(g={totalItems:parseInt(l.headers.get("X-WP-Total")),totalPages:1}),m.push(...c),o.batch(()=>{i.receiveEntityRecords(t,r,m,n,!1,void 0,g),i.finishResolutions("getEntityRecord",d(c,u))}),s++}while(s<=a)}else g={totalItems:(m=Object.values(await (0,e7.default)({path:h}))).length,totalPages:1};n._fields&&(m=m.map(t=>(n._fields.split(",").forEach(r=>{t.hasOwnProperty(r)||(t[r]=void 0)}),t))),o.batch(()=>{i.receiveEntityRecords(t,r,m,n,!1,void 0,g);let o=m.filter(t=>!!t?.[c]&&!!t?._links?.self?.[0]?.targetHints?.allow).map(t=>({id:t[c],permissions:cD(t._links.self[0].targetHints.allow)})),a=[],s={};for(let n of o)for(let i of cj)a.push([i,{kind:t,name:r,id:n.id}]),s[cF(i,{kind:t,name:r,id:n.id})]=n.permissions[i];o.length>0&&(i.receiveUserPermissions(s),i.finishResolutions("canUser",a)),i.finishResolutions("getEntityRecord",d(m,u)),i.__unstableReleaseStoreLock(l)})}catch(t){i.__unstableReleaseStoreLock(l)}};px.shouldInvalidate=(t,r,n)=>("RECEIVE_ITEMS"===t.type||"REMOVE_ITEMS"===t.type)&&t.invalidateCache&&r===t.kind&&n===t.name;var pE=pm("getEntityRecords"),pk=pm("getEntityRecords"),pC=()=>async({dispatch:t,resolveSelect:r})=>{let n=await r.getEntityRecords("root","theme",{status:"active"});t.receiveCurrentTheme(n[0])},pO=pm("getCurrentTheme"),pR=t=>async({dispatch:r})=>{try{let n=await (0,e7.default)({path:(0,uY.f)("/oembed/1.0/proxy",{url:t})});r.receiveEmbedPreview(t,n)}catch(n){r.receiveEmbedPreview(t,!1)}},pT=(t,r,n)=>async({dispatch:i,registry:o,resolveSelect:a})=>{let s;if(!cj.includes(t))throw Error(`'${t}' is not a valid action.`);let{hasStartedResolution:l}=o.select(cM);for(let i of cj)if(i!==t&&l("canUser",[i,r,n]))return;let u=null;if("object"==typeof r){if(!r.kind||!r.name)throw Error("The entity resource object is not valid.");let t=(await a.getEntitiesConfig(r.kind)).find(t=>t.name===r.name&&t.kind===r.kind);if(!t)return;u=t.baseURL+(r.id?"/"+r.id:"")}else u=`/wp/v2/${r}`+(n?"/"+n:"");try{s=await (0,e7.default)({path:u,method:"OPTIONS",parse:!1})}catch(t){return}let c=cD(s.headers?.get("allow"));o.batch(()=>{for(let o of cj){let a=cF(o,r,n);i.receiveUserPermission(a,c[o]),o!==t&&i.finishResolution("canUser",[o,r,n])}})},pP=(t,r,n)=>async({dispatch:i})=>{await i(pT("update",{kind:t,name:r,id:n}))},pM=(t,r)=>async({dispatch:n,resolveSelect:i})=>{let{rest_base:o,rest_namespace:a="wp/v2",supports:s}=await i.getPostType(t);if(!s?.autosave)return;let l=await (0,e7.default)({path:`/${a}/${o}/${r}/autosaves?context=edit`});l&&l.length&&n.receiveAutosaves(r,l)},pI=(t,r)=>async({resolveSelect:n})=>{await n.getAutosaves(t,r)},pA=()=>async({dispatch:t,resolveSelect:r})=>{let n=await r.getEntityRecords("root","theme",{status:"active"}),i=n?.[0]?._links?.["wp:user-global-styles"]?.[0]?.href;if(!i)return;let o=i.match(/\/(\d+)(?:\?|$)/),a=o?Number(o[1]):null;a&&t.__experimentalReceiveCurrentGlobalStylesId(a)},pL=()=>async({resolveSelect:t,dispatch:r})=>{let n=await t.getCurrentTheme(),i=await (0,e7.default)({path:`/wp/v2/global-styles/themes/${n.stylesheet}?context=view`});r.__experimentalReceiveThemeBaseGlobalStyles(n.stylesheet,i)},pN=()=>async({resolveSelect:t,dispatch:r})=>{let n=await t.getCurrentTheme(),i=await (0,e7.default)({path:`/wp/v2/global-styles/themes/${n.stylesheet}/variations?context=view`});r.__experimentalReceiveThemeGlobalStyleVariations(n.stylesheet,i)},pj=()=>async({resolveSelect:t,dispatch:r})=>{let n=await t.__experimentalGetCurrentGlobalStylesId(),i=n?await t.getEntityRecord("root","globalStyles",n):void 0,o=i?._links?.["version-history"]?.[0]?.href;if(o){let t=await (0,e7.default)({url:o}),i=t?.map(t=>Object.fromEntries(Object.entries(t).map(([t,r])=>[te(t),r])));r.receiveThemeGlobalStyleRevisions(n,i)}};pj.shouldInvalidate=t=>"SAVE_ENTITY_RECORD_FINISH"===t.type&&"root"===t.kind&&!t.error&&"globalStyles"===t.name;var pD=()=>async({dispatch:t})=>{t({type:"RECEIVE_BLOCK_PATTERNS",patterns:await py()})},pF=()=>async({dispatch:t})=>{t({type:"RECEIVE_BLOCK_PATTERN_CATEGORIES",categories:await (0,e7.default)({path:"/wp/v2/block-patterns/categories"})})},pB=()=>async({dispatch:t,resolveSelect:r})=>{let n=await r.getEntityRecords("taxonomy","wp_pattern_category",{per_page:-1,_fields:"id,name,description,slug",context:"view"});t({type:"RECEIVE_USER_PATTERN_CATEGORIES",patternCategories:n?.map(t=>({...t,label:n4(t.name),name:t.slug}))||[]})},p$=()=>async({dispatch:t,select:r,registry:n})=>{let i=await (0,e7.default)({path:(0,uY.f)("/wp-block-editor/v1/navigation-fallback",{_embed:!0})}),o=i?._embedded?.self;n.batch(()=>{if(t.receiveNavigationFallbackId(i?.id),!o)return;let n=r.getEntityRecord("postType","wp_navigation",i.id);t.receiveEntityRecords("postType","wp_navigation",o,void 0,!n),t.finishResolution("getEntityRecord",["postType","wp_navigation",i.id])})},pU=t=>async({dispatch:r,registry:n,resolveSelect:i})=>{let o=await (0,e7.default)({path:(0,uY.f)("/wp/v2/templates/lookup",t)});await i.getEntitiesConfig("postType");let a=o?.wp_id||o?.id;a&&(o.id=a,n.batch(()=>{r.receiveDefaultTemplateId(t,a),r.receiveEntityRecords("postType",o.type,[o]),r.finishResolution("getEntityRecord",["postType",o.type,a])}))};pU.shouldInvalidate=t=>"RECEIVE_ITEMS"===t.type&&"root"===t.kind&&"site"===t.name;var pz=(t,r,n,i={})=>async({dispatch:o,registry:a,resolveSelect:s})=>{let l,u,c=(await s.getEntitiesConfig(t)).find(n=>n.name===r&&n.kind===t);if(!c)return;i._fields&&(i={...i,_fields:[...new Set([...cx(i._fields)||[],c.revisionKey||"id"])].join()});let d=(0,uY.f)(c.getRevisionsUrl(n),i),f={},h=c.supportsPagination&&-1!==i.per_page;try{u=await (0,e7.default)({path:d,parse:!h})}catch(t){return}u&&(h?(l=Object.values(await u.json()),f.totalItems=parseInt(u.headers.get("X-WP-Total"))):l=Object.values(u),i._fields&&(l=l.map(t=>(i._fields.split(",").forEach(r=>{t.hasOwnProperty(r)||(t[r]=void 0)}),t))),a.batch(()=>{if(o.receiveRevisions(t,r,n,l,i,!1,f),!i?._fields&&!i.context){let i=c.key||"id",a=l.filter(t=>t[i]).map(o=>[t,r,n,o[i]]);o.finishResolutions("getRevision",a)}}))};pz.shouldInvalidate=(t,r,n,i)=>"SAVE_ENTITY_RECORD_FINISH"===t.type&&n===t.name&&r===t.kind&&!t.error&&i===t.recordId;var pq=(t,r,n,i,o)=>async({dispatch:a,resolveSelect:s})=>{let l,u=(await s.getEntitiesConfig(t)).find(n=>n.name===r&&n.kind===t);if(!u)return;void 0!==o&&o._fields&&(o={...o,_fields:[...new Set([...cx(o._fields)||[],u.revisionKey||"id"])].join()});let c=(0,uY.f)(u.getRevisionsUrl(n,i),o);try{l=await (0,e7.default)({path:c})}catch(t){return}l&&a.receiveRevisions(t,r,n,l,o)},pZ=t=>async({dispatch:r,resolveSelect:n})=>{let i;try{let{rest_namespace:r="wp/v2",rest_base:o}=await n.getPostType(t)||{};i=await (0,e7.default)({path:`${r}/${o}/?context=edit`,method:"OPTIONS"})}catch(t){return}i&&r.receiveRegisteredPostMeta(t,i?.schema?.properties?.meta?.properties)},pH=t=>async({dispatch:r})=>{let n=cy.find(r=>r.kind===t);if(n)try{let t=await n.loadEntities();if(!t.length)return;r.addEntities(t)}catch{}},pV=()=>async({dispatch:t})=>{let r=await (0,e7.default)({path:"/wp-block-editor/v1/settings"});t.receiveEditorSettings(r)},pW=()=>async({dispatch:t})=>{let r=await (0,e7.default)({path:"/wp-block-editor/v1/assets"});t.receiveEditorAssets(r)};function pG(t,r){let n={...t},i=n;for(let t of r)i.children={...i.children,[t]:{locks:[],children:{},...i.children[t]}},i=i.children[t];return n}function pK(t,r){let n=t;for(let t of r){let r=n.children[t];if(!r)return null;n=r}return n}function pX({exclusive:t},r){return!!t&&!!r.length||!t&&!!r.filter(t=>t.exclusive).length}var pY={requests:[],tree:{locks:[],children:{}}};function pJ(t=pY,r){switch(r.type){case"ENQUEUE_LOCK_REQUEST":{let{request:n}=r;return{...t,requests:[n,...t.requests]}}case"GRANT_LOCK_REQUEST":{let{lock:n,request:i}=r,{store:o,path:a}=i,s=[o,...a],l=pG(t.tree,s),u=pK(l,s);return u.locks=[...u.locks,n],{...t,requests:t.requests.filter(t=>t!==i),tree:l}}case"RELEASE_LOCK":{let{lock:n}=r,i=[n.store,...n.path],o=pG(t.tree,i),a=pK(o,i);return a.locks=a.locks.filter(t=>t!==n),{...t,tree:o}}}return t}var pQ=[...cm,...cy.filter(t=>!!t.name)],p0=pQ.reduce((t,r)=>{let{kind:n,name:i,plural:o}=r,a=cS(n,i);if(t[a]=(t,r,o)=>(c$(n,i,a,{isShorthandSelector:!0,alternativeFunctionName:"getEntityRecord"}),cX(t,n,i,r,o)),o){let r=cS(n,o,"get");t[r]=(t,o)=>(c$(n,i,r,{isShorthandSelector:!0,alternativeFunctionName:"getEntityRecords"}),c1(t,n,i,o))}return t},{}),p1=pQ.reduce((t,r)=>{let{kind:n,name:i,plural:o}=r,a=cS(n,i);if(t[a]=(t,r)=>(c$(n,i,a,{isShorthandSelector:!0,alternativeFunctionName:"getEntityRecord"}),p_(n,i,t,r)),o){let r=cS(n,o,"get");t[r]=(...t)=>(c$(n,o,r,{isShorthandSelector:!0,alternativeFunctionName:"getEntityRecords"}),px(n,i,...t)),t[r].shouldInvalidate=t=>px.shouldInvalidate(t,n,i)}return t},{}),p2=pQ.reduce((t,r)=>{let{kind:n,name:i}=r,o=cS(n,i,"save");t[o]=(t,r)=>(c$(n,i,o,{isShorthandSelector:!0,alternativeFunctionName:"saveEntityRecord"}),pe(n,i,t,r));let a=cS(n,i,"delete");return t[a]=(t,r,o)=>(c$(n,i,a,{isShorthandSelector:!0,alternativeFunctionName:"deleteEntityRecord"}),d6(n,i,t,r,o)),t},{}),p5=eF(cM,{reducer:cP,actions:{...y,...T,...p2,...function(){let t=function(){let t=pJ(void 0,{type:"@@INIT"});function r(){for(let r of t.requests){let{store:n,path:i,exclusive:o,notifyAcquired:a}=r;if(function(t,r,n,{exclusive:i}){let o=[r,...n],a=t.tree;for(let t of function*(t,r){let n=t;for(let t of(yield n,r)){let r=n.children[t];if(!r)break;yield r,n=r}}(a,o))if(pX({exclusive:i},t.locks))return!1;let s=pK(a,o);if(!s)return!0;for(let t of function*(t){let r=Object.values(t.children);for(;r.length;){let t=r.pop();yield t,r.push(...Object.values(t.children))}}(s))if(pX({exclusive:i},t.locks))return!1;return!0}(t,n,i,{exclusive:o})){let s={store:n,path:i,exclusive:o};t=pJ(t,{type:"GRANT_LOCK_REQUEST",lock:s,request:r}),a(s)}}}return{acquire:function(n,i,o){return new Promise(a=>{t=pJ(t,{type:"ENQUEUE_LOCK_REQUEST",request:{store:n,path:i,exclusive:o,notifyAcquired:a}}),r()})},release:function(n){t=pJ(t,{type:"RELEASE_LOCK",lock:n}),r()}}}();return{__unstableAcquireStoreLock:function(r,n,{exclusive:i}){return()=>t.acquire(r,n,i)},__unstableReleaseStoreLock:function(r){return()=>t.release(r)}}}()},selectors:{...v,...O,...p0},resolvers:{...M,...p1}});dM(p5).registerPrivateSelectors(R),dM(p5).registerPrivateActions(P),eH(p5)},72144:function(t,r,n){"use strict";n.d(r,{hasFilter:()=>_,applyFilters:()=>k,defaultHooks:()=>h,doAction:()=>x});var i=function(t){return"string"!=typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},o=function(t){return"string"!=typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},a=function(t,r){return function(n,a,s,l=10){let u=t[r];if(!o(n)||!i(a))return;if("function"!=typeof s){console.error("The hook callback must be a function.");return}if("number"!=typeof l){console.error("If specified, the hook priority must be a number.");return}let c={callback:s,priority:l,namespace:a};if(u[n]){let t,r=u[n].handlers;for(t=r.length;t>0&&!(l>=r[t-1].priority);t--);t===r.length?r[t]=c:r.splice(t,0,c),u.__current.forEach(r=>{r.name===n&&r.currentIndex>=t&&r.currentIndex++})}else u[n]={handlers:[c],runs:0};"hookAdded"!==n&&t.doAction("hookAdded",n,a,s,l)}},s=function(t,r,n=!1){return function(a,s){let l=t[r];if(!o(a)||!n&&!i(s))return;if(!l[a])return 0;let u=0;if(n)u=l[a].handlers.length,l[a]={runs:l[a].runs,handlers:[]};else{let t=l[a].handlers;for(let r=t.length-1;r>=0;r--)t[r].namespace===s&&(t.splice(r,1),u++,l.__current.forEach(t=>{t.name===a&&t.currentIndex>=r&&t.currentIndex--}))}return"hookRemoved"!==a&&t.doAction("hookRemoved",a,s),u}},l=function(t,r){return function(n,i){let o=t[r];return void 0!==i?n in o&&o[n].handlers.some(t=>t.namespace===i):n in o}},u=function(t,r,n,i){return function(o,...a){let s=t[r];s[o]||(s[o]={handlers:[],runs:0}),s[o].runs++;let l=s[o].handlers;if(!l||!l.length)return n?a[0]:void 0;let u={name:o,currentIndex:0};async function c(){try{s.__current.add(u);let t=n?a[0]:void 0;for(;u.currentIndex<l.length;){let r=l[u.currentIndex];t=await r.callback.apply(null,a),n&&(a[0]=t),u.currentIndex++}return n?t:void 0}finally{s.__current.delete(u)}}return(i?c:function(){try{s.__current.add(u);let t=n?a[0]:void 0;for(;u.currentIndex<l.length;)t=l[u.currentIndex].callback.apply(null,a),n&&(a[0]=t),u.currentIndex++;return n?t:void 0}finally{s.__current.delete(u)}})()}},c=function(t,r){return function(){let n=Array.from(t[r].__current);return n.at(-1)?.name??null}},d=function(t,r){return function(n){let i=t[r];return void 0===n?i.__current.size>0:Array.from(i.__current).some(t=>t.name===n)}},f=function(t,r){return function(n){let i=t[r];if(o(n))return i[n]&&i[n].runs?i[n].runs:0}},h=new class{actions;filters;addAction;addFilter;removeAction;removeFilter;hasAction;hasFilter;removeAllActions;removeAllFilters;doAction;doActionAsync;applyFilters;applyFiltersAsync;currentAction;currentFilter;doingAction;doingFilter;didAction;didFilter;constructor(){this.actions=Object.create(null),this.actions.__current=new Set,this.filters=Object.create(null),this.filters.__current=new Set,this.addAction=a(this,"actions"),this.addFilter=a(this,"filters"),this.removeAction=s(this,"actions"),this.removeFilter=s(this,"filters"),this.hasAction=l(this,"actions"),this.hasFilter=l(this,"filters"),this.removeAllActions=s(this,"actions",!0),this.removeAllFilters=s(this,"filters",!0),this.doAction=u(this,"actions",!1,!1),this.doActionAsync=u(this,"actions",!1,!0),this.applyFilters=u(this,"filters",!0,!1),this.applyFiltersAsync=u(this,"filters",!0,!0),this.currentAction=c(this,"actions"),this.currentFilter=c(this,"filters"),this.doingAction=d(this,"actions"),this.doingFilter=d(this,"filters"),this.didAction=f(this,"actions"),this.didFilter=f(this,"filters")}},{addAction:m,addFilter:g,removeAction:y,removeFilter:v,hasAction:b,hasFilter:_,removeAllActions:w,removeAllFilters:S,doAction:x,doActionAsync:E,applyFilters:k,applyFiltersAsync:C,currentAction:O,currentFilter:R,doingAction:T,doingFilter:P,didAction:M,didFilter:I,actions:A,filters:L}=h},84035:function(t,r,n){"use strict";n.d(r,{__:()=>m}),i={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},o=["(","?"],a={")":["("],":":["?","?:"]},s=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var i,o,a,s,l={"!":function(t){return!t},"*":function(t,r){return t*r},"/":function(t,r){return t/r},"%":function(t,r){return t%r},"+":function(t,r){return t+r},"-":function(t,r){return t-r},"<":function(t,r){return t<r},"<=":function(t,r){return t<=r},">":function(t,r){return t>r},">=":function(t,r){return t>=r},"==":function(t,r){return t===r},"!=":function(t,r){return t!==r},"&&":function(t,r){return t&&r},"||":function(t,r){return t||r},"?:":function(t,r,n){if(t)throw r;return n}},u={contextDelimiter:"\x04",onMissingKey:null};function c(t,r){var n;for(n in this.data=t,this.pluralForms={},this.options={},u)this.options[n]=void 0!==r&&n in r?r[n]:u[n]}c.prototype.getPluralForm=function(t,r){var n,u,c,d,f=this.pluralForms[t];return f||("function"!=typeof(d=(c=this.data[t][""])["Plural-Forms"]||c["plural-forms"]||c.plural_forms)&&(u=(n=function(t){for(var r,n,l,u,c=[],d=[];r=t.match(s);){for(n=r[0],(l=t.substr(0,r.index).trim())&&c.push(l);u=d.pop();){if(a[n]){if(a[n][0]===u){n=a[n][1]||n;break}}else if(o.indexOf(u)>=0||i[u]<i[n]){d.push(u);break}c.push(u)}a[n]||d.push(n),t=t.substr(r.index+n.length)}return(t=t.trim())&&c.push(t),c.concat(d.reverse())}(function(t){var r,n,i;for(n=0,r=t.split(";");n<r.length;n++)if(0===(i=r[n].trim()).indexOf("plural="))return i.substr(7)}(c["Plural-Forms"]||c["plural-forms"]||c.plural_forms)),function(t){return function(t,r){var n,i,o,a,s,u,c=[];for(n=0;n<t.length;n++){if(a=l[s=t[n]]){for(o=Array(i=a.length);i--;)o[i]=c.pop();try{u=a.apply(null,o)}catch(t){return t}}else u=r.hasOwnProperty(s)?r[s]:+s;c.push(u)}return c[0]}(n,t)}),d=function(t){return+u({n:t})}),f=this.pluralForms[t]=d),f(r)},c.prototype.dcnpgettext=function(t,r,n,i,o){var a,s,l;return(a=void 0===o?0:this.getPluralForm(t,o),s=n,r&&(s=r+this.options.contextDelimiter+n),(l=this.data[t][s])&&l[a])?l[a]:(this.options.onMissingKey&&this.options.onMissingKey(n,t),0===a?n:i)};var d={plural_forms:t=>+(1!==t)},f=/^i18n\.(n?gettext|has_translation)(_|$)/,h=((t,r,n)=>{let i=new c({}),o=new Set,a=()=>{o.forEach(t=>t())},s=(t,r="default")=>{i.data[r]={...i.data[r],...t},i.data[r][""]={...d,...i.data[r]?.[""]},delete i.pluralForms[r]},l=(t,r)=>{s(t,r),a()},u=(t="default",r,n,o,a)=>(i.data[t]||s(void 0,t),i.dcnpgettext(t,r,n,o,a)),h=t=>t||"default",m=(t,r,i)=>{let o=u(i,r,t);return n?(o=n.applyFilters("i18n.gettext_with_context",o,t,r,i),n.applyFilters("i18n.gettext_with_context_"+h(i),o,t,r,i)):o};if(t&&l(t,r),n){let t=t=>{f.test(t)&&a()};n.addAction("hookAdded","core/i18n",t),n.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:(t="default")=>i.data[t],setLocaleData:l,addLocaleData:(t,r="default")=>{i.data[r]={...i.data[r],...t,"":{...d,...i.data[r]?.[""],...t?.[""]}},delete i.pluralForms[r],a()},resetLocaleData:(t,r)=>{i.data={},i.pluralForms={},l(t,r)},subscribe:t=>(o.add(t),()=>o.delete(t)),__:(t,r)=>{let i=u(r,void 0,t);return n?(i=n.applyFilters("i18n.gettext",i,t,r),n.applyFilters("i18n.gettext_"+h(r),i,t,r)):i},_x:m,_n:(t,r,i,o)=>{let a=u(o,void 0,t,r,i);return n?(a=n.applyFilters("i18n.ngettext",a,t,r,i,o),n.applyFilters("i18n.ngettext_"+h(o),a,t,r,i,o)):a},_nx:(t,r,i,o,a)=>{let s=u(a,o,t,r,i);return n?(s=n.applyFilters("i18n.ngettext_with_context",s,t,r,i,o,a),n.applyFilters("i18n.ngettext_with_context_"+h(a),s,t,r,i,o,a)):s},isRTL:()=>"rtl"===m("ltr","text direction"),hasTranslation:(t,r,o)=>{let a=r?r+"\x04"+t:t,s=!!i.data?.[o??"default"]?.[a];return n&&(s=n.applyFilters("i18n.has_translation",s,t,r,o),s=n.applyFilters("i18n.has_translation_"+h(o),s,t,r,o)),s}}})(void 0,void 0,n(72144).defaultHooks);h.getLocaleData.bind(h),h.setLocaleData.bind(h),h.resetLocaleData.bind(h),h.subscribe.bind(h);var m=h.__.bind(h);h._x.bind(h),h._n.bind(h),h._nx.bind(h),h.isRTL.bind(h),h.hasTranslation.bind(h)},31946:function(t,r,n){"use strict";n.d(r,{f:()=>a});var i=n(9236),o=n(51153);function a(t="",r){if(!r||!Object.keys(r).length)return t;let n=function(t){let r=/^\S+?(#[^\s\?]*)/.exec(t);if(r)return r[1]}(t)||"",s=t.replace(n,""),l=t.indexOf("?");return -1!==l&&(r=Object.assign((0,i.w)(t),r),s=s.substr(0,l)),s+"?"+(0,o.I)(r)+n}},51153:function(t,r,n){"use strict";function i(t){let r,n="",i=Object.entries(t);for(;r=i.shift();){let[t,o]=r;if(Array.isArray(o)||o&&o.constructor===Object)for(let[r,n]of Object.entries(o).reverse())i.unshift([`${t}[${r}]`,n]);else void 0!==o&&(null===o&&(o=""),n+="&"+[t,String(o)].map(encodeURIComponent).join("="))}return n.substr(1)}n.d(r,{I:()=>i})},9236:function(t,r,n){"use strict";function i(t){try{return decodeURIComponent(t)}catch(r){return t}}function o(t){return((function(t){let r;try{r=new URL(t,"http://example.com").search.substring(1)}catch(t){}if(r)return r})(t)||"").replace(/\+/g,"%20").split("&").reduce((t,r)=>{let[n,o=""]=r.split("=").filter(Boolean).map(i);return n&&!function(t,r,n){let i=r.length,o=i-1;for(let a=0;a<i;a++){let i=r[a];!i&&Array.isArray(t)&&(i=t.length.toString()),i=["__proto__","constructor","prototype"].includes(i)?i.toUpperCase():i;let s=!isNaN(Number(r[a+1]));t[i]=a===o?n:t[i]||(s?[]:{}),Array.isArray(t[i])&&!s&&(t[i]={...t[i]}),t=t[i]}}(t,n.replace(/\]/g,"").split("["),o),t},Object.create(null))}n.d(r,{w:()=>o})},69937:function(t){"use strict";t.exports=({onlyFirst:t=!1}={})=>RegExp("[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))",t?void 0:"g")},25872:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i,o=(i=n(57392))&&i.__esModule?i:{default:i};function a(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n,i,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a=[],s=!0,l=!1;try{for(o=o.call(t);!(s=(n=o.next()).done)&&(a.push(n.value),!r||a.length!==r);s=!0);}catch(t){l=!0,i=t}finally{try{s||null==o.return||o.return()}finally{if(l)throw i}}return a}}(t,r)||s(t,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,r){if(t){if("string"==typeof t)return l(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,r)}}function l(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=Array(r);n<r;n++)i[n]=t[n];return i}var u=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],c={entries:function(){return u},forEach:function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=s(t))){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){u=!0,a=t},f:function(){try{l||null==n.return||n.return()}finally{if(u)throw a}}}}(u);try{for(i.s();!(r=i.n()).done;){var o=a(r.value,2),l=o[0],c=o[1];t.call(n,c,l,u)}}catch(t){i.e(t)}finally{i.f()}},get:function(t){var r=u.find(function(r){return r[0]===t});return r&&r[1]},has:function(t){return!!c.get(t)},keys:function(){return u.map(function(t){return a(t,1)[0]})},values:function(){return u.map(function(t){return a(t,2)[1]})}};r.default=(0,o.default)(c,c.entries())},35096:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i,o=(i=n(57392))&&i.__esModule?i:{default:i};function a(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n,i,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a=[],s=!0,l=!1;try{for(o=o.call(t);!(s=(n=o.next()).done)&&(a.push(n.value),!r||a.length!==r);s=!0);}catch(t){l=!0,i=t}finally{try{s||null==o.return||o.return()}finally{if(l)throw i}}return a}}(t,r)||s(t,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,r){if(t){if("string"==typeof t)return l(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,r)}}function l(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=Array(r);n<r;n++)i[n]=t[n];return i}var u=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],c={entries:function(){return u},forEach:function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=s(t))){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){u=!0,a=t},f:function(){try{l||null==n.return||n.return()}finally{if(u)throw a}}}}(u);try{for(i.s();!(r=i.n()).done;){var o=a(r.value,2),l=o[0],c=o[1];t.call(n,c,l,u)}}catch(t){i.e(t)}finally{i.f()}},get:function(t){var r=u.find(function(r){return r[0]===t});return r&&r[1]},has:function(t){return!!c.get(t)},keys:function(){return u.map(function(t){return a(t,1)[0]})},values:function(){return u.map(function(t){return a(t,2)[1]})}};r.default=(0,o.default)(c,c.entries())},19695:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=s(n(13185)),o=s(n(57392)),a=s(n(79136));function s(t){return t&&t.__esModule?t:{default:t}}function l(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n,i,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a=[],s=!0,l=!1;try{for(o=o.call(t);!(s=(n=o.next()).done)&&(a.push(n.value),!r||a.length!==r);s=!0);}catch(t){l=!0,i=t}finally{try{s||null==o.return||o.return()}finally{if(l)throw i}}return a}}(t,r)||u(t,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,r){if(t){if("string"==typeof t)return c(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,r)}}function c(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=Array(r);n<r;n++)i[n]=t[n];return i}for(var d=[],f=a.default.keys(),h=0;h<f.length;h++){var m=f[h],g=a.default.get(m);if(g)for(var y=[].concat(g.baseConcepts,g.relatedConcepts),v=0;v<y.length;v++){var b=y[v];if("HTML"===b.module){var _=b.concept;_&&function(){var t=JSON.stringify(_),r=d.find(function(r){return JSON.stringify(r[0])===t}),n=void 0;n=r?r[1]:[];for(var i=!0,o=0;o<n.length;o++)if(n[o]===m){i=!1;break}i&&n.push(m),d.push([_,n])}()}}}var w={entries:function(){return d},forEach:function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=u(t))){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}(d);try{for(i.s();!(r=i.n()).done;){var o=l(r.value,2),a=o[0],s=o[1];t.call(n,s,a,d)}}catch(t){i.e(t)}finally{i.f()}},get:function(t){var r=d.find(function(r){return(0,i.default)(t,r[0])});return r&&r[1]},has:function(t){return!!w.get(t)},keys:function(){return d.map(function(t){return l(t,1)[0]})},values:function(){return d.map(function(t){return l(t,2)[1]})}};r.default=(0,o.default)(w,w.entries())},86277:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]}},63248:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]}},7469:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]}},88330:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},98889:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},29812:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"rel"},module:"HTML"},{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]}},87192:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},5518:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},67041:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]}},85059:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]}},53299:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]}},54845:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]}},38854:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=y(n(86277)),o=y(n(63248)),a=y(n(7469)),s=y(n(88330)),l=y(n(98889)),u=y(n(29812)),c=y(n(87192)),d=y(n(5518)),f=y(n(67041)),h=y(n(85059)),m=y(n(53299)),g=y(n(54845));function y(t){return t&&t.__esModule?t:{default:t}}r.default=[["command",i.default],["composite",o.default],["input",a.default],["landmark",s.default],["range",l.default],["roletype",u.default],["section",c.default],["sectionhead",d.default],["select",f.default],["structure",h.default],["widget",m.default],["window",g.default]]},85719:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=Z(n(99130)),o=Z(n(64841)),a=Z(n(36439)),s=Z(n(40620)),l=Z(n(58967)),u=Z(n(35806)),c=Z(n(13015)),d=Z(n(91956)),f=Z(n(27440)),h=Z(n(79029)),m=Z(n(42688)),g=Z(n(45763)),y=Z(n(96256)),v=Z(n(59031)),b=Z(n(21999)),_=Z(n(72890)),w=Z(n(10101)),S=Z(n(46865)),x=Z(n(67825)),E=Z(n(31352)),k=Z(n(81340)),C=Z(n(39493)),O=Z(n(92012)),R=Z(n(8926)),T=Z(n(83888)),P=Z(n(86463)),M=Z(n(29741)),I=Z(n(4546)),A=Z(n(61453)),L=Z(n(31609)),N=Z(n(25241)),j=Z(n(28745)),D=Z(n(53789)),F=Z(n(34399)),B=Z(n(44519)),$=Z(n(95146)),U=Z(n(24121)),z=Z(n(30413)),q=Z(n(82492));function Z(t){return t&&t.__esModule?t:{default:t}}r.default=[["doc-abstract",i.default],["doc-acknowledgments",o.default],["doc-afterword",a.default],["doc-appendix",s.default],["doc-backlink",l.default],["doc-biblioentry",u.default],["doc-bibliography",c.default],["doc-biblioref",d.default],["doc-chapter",f.default],["doc-colophon",h.default],["doc-conclusion",m.default],["doc-cover",g.default],["doc-credit",y.default],["doc-credits",v.default],["doc-dedication",b.default],["doc-endnote",_.default],["doc-endnotes",w.default],["doc-epigraph",S.default],["doc-epilogue",x.default],["doc-errata",E.default],["doc-example",k.default],["doc-footnote",C.default],["doc-foreword",O.default],["doc-glossary",R.default],["doc-glossref",T.default],["doc-index",P.default],["doc-introduction",M.default],["doc-noteref",I.default],["doc-notice",A.default],["doc-pagebreak",L.default],["doc-pagelist",N.default],["doc-part",j.default],["doc-preface",D.default],["doc-prologue",F.default],["doc-pullquote",B.default],["doc-qna",$.default],["doc-subtitle",U.default],["doc-tip",z.default],["doc-toc",q.default]]},14635:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=s(n(60818)),o=s(n(10989)),a=s(n(92217));function s(t){return t&&t.__esModule?t:{default:t}}r.default=[["graphics-document",i.default],["graphics-object",o.default],["graphics-symbol",a.default]]},18995:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=eA(n(72076)),o=eA(n(86308)),a=eA(n(52480)),s=eA(n(77645)),l=eA(n(42941)),u=eA(n(47217)),c=eA(n(76045)),d=eA(n(87690)),f=eA(n(13822)),h=eA(n(97621)),m=eA(n(56802)),g=eA(n(49856)),y=eA(n(89078)),v=eA(n(1062)),b=eA(n(49145)),_=eA(n(77619)),w=eA(n(60068)),S=eA(n(50575)),x=eA(n(83285)),E=eA(n(25046)),k=eA(n(64846)),C=eA(n(54900)),O=eA(n(34982)),R=eA(n(35058)),T=eA(n(17466)),P=eA(n(11083)),M=eA(n(56902)),I=eA(n(16458)),A=eA(n(1538)),L=eA(n(73993)),N=eA(n(41660)),j=eA(n(27362)),D=eA(n(99645)),F=eA(n(87801)),B=eA(n(64934)),$=eA(n(87178)),U=eA(n(70467)),z=eA(n(87582)),q=eA(n(66403)),Z=eA(n(81683)),H=eA(n(36838)),V=eA(n(44872)),W=eA(n(49291)),G=eA(n(59937)),K=eA(n(80246)),X=eA(n(14544)),Y=eA(n(49271)),J=eA(n(64755)),Q=eA(n(42089)),ee=eA(n(54698)),et=eA(n(53987)),er=eA(n(62667)),en=eA(n(1294)),ei=eA(n(91858)),eo=eA(n(99714)),ea=eA(n(48549)),es=eA(n(7928)),el=eA(n(68417)),eu=eA(n(33832)),ec=eA(n(89102)),ed=eA(n(37762)),ep=eA(n(25456)),ef=eA(n(5182)),eh=eA(n(32632)),em=eA(n(34020)),eg=eA(n(82367)),ey=eA(n(76217)),ev=eA(n(24304)),eb=eA(n(21585)),e_=eA(n(46682)),ew=eA(n(60160)),eS=eA(n(15528)),ex=eA(n(18913)),eE=eA(n(38950)),ek=eA(n(41608)),eC=eA(n(24459)),eO=eA(n(41450)),eR=eA(n(50596)),eT=eA(n(19974)),eP=eA(n(57010)),eM=eA(n(38464)),eI=eA(n(47327));function eA(t){return t&&t.__esModule?t:{default:t}}r.default=[["alert",i.default],["alertdialog",o.default],["application",a.default],["article",s.default],["banner",l.default],["blockquote",u.default],["button",c.default],["caption",d.default],["cell",f.default],["checkbox",h.default],["code",m.default],["columnheader",g.default],["combobox",y.default],["complementary",v.default],["contentinfo",b.default],["definition",_.default],["deletion",w.default],["dialog",S.default],["directory",x.default],["document",E.default],["emphasis",k.default],["feed",C.default],["figure",O.default],["form",R.default],["generic",T.default],["grid",P.default],["gridcell",M.default],["group",I.default],["heading",A.default],["img",L.default],["insertion",N.default],["link",j.default],["list",D.default],["listbox",F.default],["listitem",B.default],["log",$.default],["main",U.default],["marquee",z.default],["math",q.default],["menu",Z.default],["menubar",H.default],["menuitem",V.default],["menuitemcheckbox",W.default],["menuitemradio",G.default],["meter",K.default],["navigation",X.default],["none",Y.default],["note",J.default],["option",Q.default],["paragraph",ee.default],["presentation",et.default],["progressbar",er.default],["radio",en.default],["radiogroup",ei.default],["region",eo.default],["row",ea.default],["rowgroup",es.default],["rowheader",el.default],["scrollbar",eu.default],["search",ec.default],["searchbox",ed.default],["separator",ep.default],["slider",ef.default],["spinbutton",eh.default],["status",em.default],["strong",eg.default],["subscript",ey.default],["superscript",ev.default],["switch",eb.default],["tab",e_.default],["table",ew.default],["tablist",eS.default],["tabpanel",ex.default],["term",eE.default],["textbox",ek.default],["time",eC.default],["timer",eO.default],["toolbar",eR.default],["tooltip",eT.default],["tree",eP.default],["treegrid",eM.default],["treeitem",eI.default]]},99130:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},64841:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},36439:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},40620:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},58967:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","content"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]}},35806:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]}},13015:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},91956:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]}},27440:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},79029:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},42688:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},45763:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]}},96256:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},59031:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},21999:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},72890:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]}},10101:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},46865:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},67825:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},31352:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},81340:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},39493:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},92012:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},8926:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},83888:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]}},86463:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]}},29741:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},4546:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]}},61453:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]}},31609:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]}},25241:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]}},28745:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},53789:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},34399:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},44519:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]}},95146:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},24121:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]}},30413:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]}},82492:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]}},60818:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]}},10989:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]}},92217:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]}},72076:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},86308:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]}},52480:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},77645:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]}},42941:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},47217:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},76045:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-pressed"},{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"false"}],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"true"}],constraints:["direct descendant of details element with the open attribute defined"],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]}},87690:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},13822:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["descendant of table"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},97621:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]}},56802:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},49856:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{attributes:[{name:"scope",value:"col"}],concept:{name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]}},89078:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{name:"size",value:1}],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]}},1062:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},49145:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},77619:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},60068:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},50575:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]}},83285:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]}},25046:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"body"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},64846:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},54900:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]}},34982:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},35058:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},17466:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"span"},module:"HTML"},{concept:{name:"div"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},11083:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"grid"}],name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]}},56902:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"gridcell"}],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]}},16458:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},1538:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]}},73993:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},41660:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},27362:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"area"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"link"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]}},99645:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]}},87801:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"},{name:"multiple"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:[">1"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]}},64934:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol, ul or menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},87178:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},70467:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},87582:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},66403:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},81683:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]}},36838:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]}},44872:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"menuitem"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]}},49291:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]}},59937:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]}},80246:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]}},14544:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},49271:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]}},64755:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},42089:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]}},54698:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},53987:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},62667:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]}},1294:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]}},91858:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]}},99714:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}},{concept:{name:"frame"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},48549:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]}},7928:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]}},68417:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]}},33832:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]}},89102:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},37762:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]}},25456:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},5182:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]}},32632:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]}},34020:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},82367:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},76217:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},24304:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},21585:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]}},46682:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]}},60160:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]}},15528:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]}},18913:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},38950:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},41608:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]}},24459:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},41450:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]}},50596:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]}},19974:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},57010:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]}},38464:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]}},47327:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]}},1552:function(t,r,n){"use strict";r.roles=r.roleElements=r.elementRoles=void 0;var i=u(n(25872)),o=u(n(35096)),a=u(n(79136)),s=u(n(19695)),l=u(n(92478));function u(t){return t&&t.__esModule?t:{default:t}}i.default,o.default,r.roles=a.default,r.elementRoles=s.default,r.roleElements=l.default},92478:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=a(n(57392)),o=a(n(79136));function a(t){return t&&t.__esModule?t:{default:t}}function s(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n,i,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a=[],s=!0,l=!1;try{for(o=o.call(t);!(s=(n=o.next()).done)&&(a.push(n.value),!r||a.length!==r);s=!0);}catch(t){l=!0,i=t}finally{try{s||null==o.return||o.return()}finally{if(l)throw i}}return a}}(t,r)||l(t,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,r){if(t){if("string"==typeof t)return u(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,r)}}function u(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=Array(r);n<r;n++)i[n]=t[n];return i}for(var c=[],d=o.default.keys(),f=0;f<d.length;f++)!function(t){var r=d[t],n=o.default.get(r);if(n)for(var i=[].concat(n.baseConcepts,n.relatedConcepts),a=0;a<i.length;a++){var s=i[a];if("HTML"===s.module){var l=s.concept;if(l){var u=c.find(function(t){return t[0]===r}),f=void 0;(f=u?u[1]:[]).push(l),c.push([r,f])}}}}(f);var h={entries:function(){return c},forEach:function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=l(t))){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}(c);try{for(i.s();!(r=i.n()).done;){var o=s(r.value,2),a=o[0],u=o[1];t.call(n,u,a,c)}}catch(t){i.e(t)}finally{i.f()}},get:function(t){var r=c.find(function(r){return r[0]===t});return r&&r[1]},has:function(t){return!!h.get(t)},keys:function(){return c.map(function(t){return s(t,1)[0]})},values:function(){return c.map(function(t){return s(t,2)[1]})}};r.default=(0,i.default)(h,h.entries())},79136:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=u(n(38854)),o=u(n(18995)),a=u(n(85719)),s=u(n(14635)),l=u(n(57392));function u(t){return t&&t.__esModule?t:{default:t}}function c(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=f(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function d(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n,i,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a=[],s=!0,l=!1;try{for(o=o.call(t);!(s=(n=o.next()).done)&&(a.push(n.value),!r||a.length!==r);s=!0);}catch(t){l=!0,i=t}finally{try{s||null==o.return||o.return()}finally{if(l)throw i}}return a}}(t,r)||f(t,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,r){if(t){if("string"==typeof t)return h(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(t,r)}}function h(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=Array(r);n<r;n++)i[n]=t[n];return i}var m=[].concat(i.default,o.default,a.default,s.default);m.forEach(function(t){var r,n=d(t,2)[1],i=c(n.superClass);try{for(i.s();!(r=i.n()).done;){var o,a=r.value,s=c(a);try{for(s.s();!(o=s.n()).done;)!function(){var t=o.value,r=m.find(function(r){return d(r,1)[0]===t});if(r)for(var i=r[1],a=0,s=Object.keys(i.props);a<s.length;a++){var l,u,c=s[a];Object.prototype.hasOwnProperty.call(n.props,c)||Object.assign(n.props,(l={},u=i.props[c],c in l?Object.defineProperty(l,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[c]=u,l))}}()}catch(t){s.e(t)}finally{s.f()}}}catch(t){i.e(t)}finally{i.f()}});var g={entries:function(){return m},forEach:function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=c(m);try{for(i.s();!(r=i.n()).done;){var o=d(r.value,2),a=o[0],s=o[1];t.call(n,s,a,m)}}catch(t){i.e(t)}finally{i.f()}},get:function(t){var r=m.find(function(r){return r[0]===t});return r&&r[1]},has:function(t){return!!g.get(t)},keys:function(){return m.map(function(t){return d(t,1)[0]})},values:function(){return m.map(function(t){return d(t,2)[1]})}};r.default=(0,l.default)(g,g.entries())},57392:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t,r){return"function"==typeof Symbol&&"symbol"===a(Symbol.iterator)&&Object.defineProperty(t,Symbol.iterator,{value:o.default.bind(r)}),t};var i,o=(i=n(89163))&&i.__esModule?i:{default:i};function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}},89163:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=function(){var t=this,r=0,n={"@@iterator":function(){return n},next:function(){if(!(r<t.length))return{done:!0};var n=t[r];return r+=1,{done:!1,value:n}}};return n}},44139:function(t,r,n){"use strict";var i=n(8435)("ArrayBuffer.prototype.byteLength",!0),o=n(72226);t.exports=function(t){return o(t)?i?i(t):t.byteLength:NaN}},10711:function(t,r,n){"use strict";var i=n(35962),o="undefined"==typeof globalThis?n.g:globalThis;t.exports=function(){for(var t=[],r=0;r<i.length;r++)"function"==typeof o[i[r]]&&(t[t.length]=i[r]);return t}},89644:function(t,r,n){"use strict";n.d(r,{d7:()=>o});let{Axios:i,AxiosError:o,CanceledError:a,isCancel:s,CancelToken:l,VERSION:u,all:c,Cancel:d,isAxiosError:f,spread:h,toFormData:m,AxiosHeaders:g,HttpStatusCode:y,formToJSON:v,getAdapter:b,mergeConfig:_}=n(95067).Z},95067:function(t,r,n){"use strict";let i,o,a,s,l;n.d(r,{Z:()=>tu});var u,c,d,f,h,m={};function g(t,r){return function(){return t.apply(r,arguments)}}n.r(m),n.d(m,{hasBrowserEnv:()=>em,hasStandardBrowserEnv:()=>ey,hasStandardBrowserWebWorkerEnv:()=>ev,navigator:()=>eg,origin:()=>eb});let{toString:y}=Object.prototype,{getPrototypeOf:v}=Object,b=(i=Object.create(null),t=>{let r=y.call(t);return i[r]||(i[r]=r.slice(8,-1).toLowerCase())}),_=t=>(t=t.toLowerCase(),r=>b(r)===t),w=t=>r=>typeof r===t,{isArray:S}=Array,x=w("undefined"),E=_("ArrayBuffer"),k=w("string"),C=w("function"),O=w("number"),R=t=>null!==t&&"object"==typeof t,T=t=>{if("object"!==b(t))return!1;let r=v(t);return(null===r||r===Object.prototype||null===Object.getPrototypeOf(r))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},P=_("Date"),M=_("File"),I=_("Blob"),A=_("FileList"),L=_("URLSearchParams"),[N,j,D,F]=["ReadableStream","Request","Response","Headers"].map(_);function B(t,r,{allOwnKeys:n=!1}={}){let i,o;if(null!=t)if("object"!=typeof t&&(t=[t]),S(t))for(i=0,o=t.length;i<o;i++)r.call(null,t[i],i,t);else{let o,a=n?Object.getOwnPropertyNames(t):Object.keys(t),s=a.length;for(i=0;i<s;i++)o=a[i],r.call(null,t[o],o,t)}}function $(t,r){let n;r=r.toLowerCase();let i=Object.keys(t),o=i.length;for(;o-- >0;)if(r===(n=i[o]).toLowerCase())return n;return null}let U="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,z=t=>!x(t)&&t!==U,q=(o="undefined"!=typeof Uint8Array&&v(Uint8Array),t=>o&&t instanceof o),Z=_("HTMLFormElement"),H=(({hasOwnProperty:t})=>(r,n)=>t.call(r,n))(Object.prototype),V=_("RegExp"),W=(t,r)=>{let n=Object.getOwnPropertyDescriptors(t),i={};B(n,(n,o)=>{let a;!1!==(a=r(n,o,t))&&(i[o]=a||n)}),Object.defineProperties(t,i)},G=_("AsyncFunction"),K=(u="function"==typeof setImmediate,c=C(U.postMessage),u?setImmediate:c?(d=`axios@${Math.random()}`,f=[],U.addEventListener("message",({source:t,data:r})=>{t===U&&r===d&&f.length&&f.shift()()},!1),t=>{f.push(t),U.postMessage(d,"*")}):t=>setTimeout(t)),X="undefined"!=typeof queueMicrotask?queueMicrotask.bind(U):"undefined"!=typeof process&&process.nextTick||K,Y={isArray:S,isArrayBuffer:E,isBuffer:function(t){return null!==t&&!x(t)&&null!==t.constructor&&!x(t.constructor)&&C(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let r;return t&&("function"==typeof FormData&&t instanceof FormData||C(t.append)&&("formdata"===(r=b(t))||"object"===r&&C(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let r;return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&E(t.buffer)},isString:k,isNumber:O,isBoolean:t=>!0===t||!1===t,isObject:R,isPlainObject:T,isReadableStream:N,isRequest:j,isResponse:D,isHeaders:F,isUndefined:x,isDate:P,isFile:M,isBlob:I,isRegExp:V,isFunction:C,isStream:t=>R(t)&&C(t.pipe),isURLSearchParams:L,isTypedArray:q,isFileList:A,forEach:B,merge:function t(){let{caseless:r}=z(this)&&this||{},n={},i=(i,o)=>{let a=r&&$(n,o)||o;T(n[a])&&T(i)?n[a]=t(n[a],i):T(i)?n[a]=t({},i):S(i)?n[a]=i.slice():n[a]=i};for(let t=0,r=arguments.length;t<r;t++)arguments[t]&&B(arguments[t],i);return n},extend:(t,r,n,{allOwnKeys:i}={})=>(B(r,(r,i)=>{n&&C(r)?t[i]=g(r,n):t[i]=r},{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,r,n,i)=>{t.prototype=Object.create(r.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:r.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,r,n,i)=>{let o,a,s,l={};if(r=r||{},null==t)return r;do{for(a=(o=Object.getOwnPropertyNames(t)).length;a-- >0;)s=o[a],(!i||i(s,t,r))&&!l[s]&&(r[s]=t[s],l[s]=!0);t=!1!==n&&v(t)}while(t&&(!n||n(t,r))&&t!==Object.prototype);return r},kindOf:b,kindOfTest:_,endsWith:(t,r,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=r.length;let i=t.indexOf(r,n);return -1!==i&&i===n},toArray:t=>{if(!t)return null;if(S(t))return t;let r=t.length;if(!O(r))return null;let n=Array(r);for(;r-- >0;)n[r]=t[r];return n},forEachEntry:(t,r)=>{let n,i=(t&&t[Symbol.iterator]).call(t);for(;(n=i.next())&&!n.done;){let i=n.value;r.call(t,i[0],i[1])}},matchAll:(t,r)=>{let n,i=[];for(;null!==(n=t.exec(r));)i.push(n);return i},isHTMLForm:Z,hasOwnProperty:H,hasOwnProp:H,reduceDescriptors:W,freezeMethods:t=>{W(t,(r,n)=>{if(C(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(C(t[n])){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(t,r)=>{let n={};return(t=>{t.forEach(t=>{n[t]=!0})})(S(t)?t:String(t).split(r)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(t,r)=>null!=t&&Number.isFinite(t*=1)?t:r,findKey:$,global:U,isContextDefined:z,isSpecCompliantForm:function(t){return!!(t&&C(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{let r=Array(10),n=(t,i)=>{if(R(t)){if(r.indexOf(t)>=0)return;if(!("toJSON"in t)){r[i]=t;let o=S(t)?[]:{};return B(t,(t,r)=>{let a=n(t,i+1);x(a)||(o[r]=a)}),r[i]=void 0,o}}return t};return n(t,0)},isAsyncFn:G,isThenable:t=>t&&(R(t)||C(t))&&C(t.then)&&C(t.catch),setImmediate:K,asap:X};function J(t,r,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=t,this.name="AxiosError",r&&(this.code=r),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}Y.inherits(J,Error,{toJSON:function(){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:Y.toJSONObject(this.config),code:this.code,status:this.status}}});let Q=J.prototype,ee={};function et(t){return Y.isPlainObject(t)||Y.isArray(t)}function er(t){return Y.endsWith(t,"[]")?t.slice(0,-2):t}function en(t,r,n){return t?t.concat(r).map(function(t,r){return t=er(t),!n&&r?"["+t+"]":t}).join(n?".":""):r}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{ee[t]={value:t}}),Object.defineProperties(J,ee),Object.defineProperty(Q,"isAxiosError",{value:!0}),J.from=(t,r,n,i,o,a)=>{let s=Object.create(Q);return Y.toFlatObject(t,s,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t),J.call(s,t.message,r,n,i,o),s.cause=t,s.name=t.name,a&&Object.assign(s,a),s};let ei=Y.toFlatObject(Y,{},null,function(t){return/^is[A-Z]/.test(t)}),eo=function(t,r,n){if(!Y.isObject(t))throw TypeError("target must be an object");r=r||new FormData;let i=(n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,r){return!Y.isUndefined(r[t])})).metaTokens,o=n.visitor||c,a=n.dots,s=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Y.isSpecCompliantForm(r);if(!Y.isFunction(o))throw TypeError("visitor must be a function");function u(t){if(null===t)return"";if(Y.isDate(t))return t.toISOString();if(!l&&Y.isBlob(t))throw new J("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(t)||Y.isTypedArray(t)?l&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,n,o){let l=t;if(t&&!o&&"object"==typeof t)if(Y.endsWith(n,"{}"))n=i?n:n.slice(0,-2),t=JSON.stringify(t);else{var c;if(Y.isArray(t)&&(c=t,Y.isArray(c)&&!c.some(et))||(Y.isFileList(t)||Y.endsWith(n,"[]"))&&(l=Y.toArray(t)))return n=er(n),l.forEach(function(t,i){Y.isUndefined(t)||null===t||r.append(!0===s?en([n],i,a):null===s?n:n+"[]",u(t))}),!1}return!!et(t)||(r.append(en(o,n,a),u(t)),!1)}let d=[],f=Object.assign(ei,{defaultVisitor:c,convertValue:u,isVisitable:et});if(!Y.isObject(t))throw TypeError("data must be an object");return!function t(n,i){if(!Y.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+i.join("."));d.push(n),Y.forEach(n,function(n,a){!0===(!(Y.isUndefined(n)||null===n)&&o.call(r,n,Y.isString(a)?a.trim():a,i,f))&&t(n,i?i.concat(a):[a])}),d.pop()}}(t),r};function ea(t){let r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return r[t]})}function es(t,r){this._pairs=[],t&&eo(t,this,r)}let el=es.prototype;function eu(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ec(t,r,n){let i;if(!r)return t;let o=n&&n.encode||eu;Y.isFunction(n)&&(n={serialize:n});let a=n&&n.serialize;if(i=a?a(r,n):Y.isURLSearchParams(r)?r.toString():new es(r,n).toString(o)){let r=t.indexOf("#");-1!==r&&(t=t.slice(0,r)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}el.append=function(t,r){this._pairs.push([t,r])},el.toString=function(t){let r=t?function(r){return t.call(this,r,ea)}:ea;return this._pairs.map(function(t){return r(t[0])+"="+r(t[1])},"").join("&")};let InterceptorManager=class InterceptorManager{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Y.forEach(this.handlers,function(r){null!==r&&t(r)})}};let ed={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ep="undefined"!=typeof URLSearchParams?URLSearchParams:es,ef="undefined"!=typeof FormData?FormData:null,eh="undefined"!=typeof Blob?Blob:null,em="undefined"!=typeof window&&"undefined"!=typeof document,eg="object"==typeof navigator&&navigator||void 0,ey=em&&(!eg||0>["ReactNative","NativeScript","NS"].indexOf(eg.product)),ev="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,eb=em&&window.location.href||"http://localhost",e_={...m,isBrowser:!0,classes:{URLSearchParams:ep,FormData:ef,Blob:eh},protocols:["http","https","file","blob","url","data"]},ew=function(t){if(Y.isFormData(t)&&Y.isFunction(t.entries)){let r={};return Y.forEachEntry(t,(t,n)=>{!function t(r,n,i,o){let a=r[o++];if("__proto__"===a)return!0;let s=Number.isFinite(+a),l=o>=r.length;return(a=!a&&Y.isArray(i)?i.length:a,l)?Y.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n:(i[a]&&Y.isObject(i[a])||(i[a]=[]),t(r,n,i[a],o)&&Y.isArray(i[a])&&(i[a]=function(t){let r,n,i={},o=Object.keys(t),a=o.length;for(r=0;r<a;r++)i[n=o[r]]=t[n];return i}(i[a]))),!s}(Y.matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0]),n,r,0)}),r}return null},eS={transitional:ed,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){let n,i=r.getContentType()||"",o=i.indexOf("application/json")>-1,a=Y.isObject(t);if(a&&Y.isHTMLForm(t)&&(t=new FormData(t)),Y.isFormData(t))return o?JSON.stringify(ew(t)):t;if(Y.isArrayBuffer(t)||Y.isBuffer(t)||Y.isStream(t)||Y.isFile(t)||Y.isBlob(t)||Y.isReadableStream(t))return t;if(Y.isArrayBufferView(t))return t.buffer;if(Y.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();if(a){if(i.indexOf("application/x-www-form-urlencoded")>-1){var s,l;return(s=t,l=this.formSerializer,eo(s,new e_.classes.URLSearchParams,Object.assign({visitor:function(t,r,n,i){return e_.isNode&&Y.isBuffer(t)?(this.append(r,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},l))).toString()}if((n=Y.isFileList(t))||i.indexOf("multipart/form-data")>-1){let r=this.env&&this.env.FormData;return eo(n?{"files[]":t}:t,r&&new r,this.formSerializer)}}if(a||o){r.setContentType("application/json",!1);var u=t;if(Y.isString(u))try{return(0,JSON.parse)(u),Y.trim(u)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(u)}return t}],transformResponse:[function(t){let r=this.transitional||eS.transitional,n=r&&r.forcedJSONParsing,i="json"===this.responseType;if(Y.isResponse(t)||Y.isReadableStream(t))return t;if(t&&Y.isString(t)&&(n&&!this.responseType||i)){let n=r&&r.silentJSONParsing;try{return JSON.parse(t)}catch(t){if(!n&&i){if("SyntaxError"===t.name)throw J.from(t,J.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:e_.classes.FormData,Blob:e_.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],t=>{eS.headers[t]={}});let ex=Y.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"]),eE=t=>{let r,n,i,o={};return t&&t.split("\n").forEach(function(t){i=t.indexOf(":"),r=t.substring(0,i).trim().toLowerCase(),n=t.substring(i+1).trim(),!r||o[r]&&ex[r]||("set-cookie"===r?o[r]?o[r].push(n):o[r]=[n]:o[r]=o[r]?o[r]+", "+n:n)}),o},ek=Symbol("internals");function eC(t){return t&&String(t).trim().toLowerCase()}function eO(t){return!1===t||null==t?t:Y.isArray(t)?t.map(eO):String(t)}let eR=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function eT(t,r,n,i,o){if(Y.isFunction(i))return i.call(this,r,n);if(o&&(r=n),Y.isString(r)){if(Y.isString(i))return -1!==r.indexOf(i);if(Y.isRegExp(i))return i.test(r)}}let AxiosHeaders=class AxiosHeaders{constructor(t){t&&this.set(t)}set(t,r,n){let i=this;function o(t,r,n){let o=eC(r);if(!o)throw Error("header name must be a non-empty string");let a=Y.findKey(i,o);a&&void 0!==i[a]&&!0!==n&&(void 0!==n||!1===i[a])||(i[a||r]=eO(t))}let a=(t,r)=>Y.forEach(t,(t,n)=>o(t,n,r));if(Y.isPlainObject(t)||t instanceof this.constructor)a(t,r);else if(Y.isString(t)&&(t=t.trim())&&!eR(t))a(eE(t),r);else if(Y.isHeaders(t))for(let[r,i]of t.entries())o(i,r,n);else null!=t&&o(r,t,n);return this}get(t,r){if(t=eC(t)){let n=Y.findKey(this,t);if(n){let t=this[n];if(!r)return t;if(!0===r){let r,n=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;r=i.exec(t);)n[r[1]]=r[2];return n}if(Y.isFunction(r))return r.call(this,t,n);if(Y.isRegExp(r))return r.exec(t);throw TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=eC(t)){let n=Y.findKey(this,t);return!!(n&&void 0!==this[n]&&(!r||eT(this,this[n],n,r)))}return!1}delete(t,r){let n=this,i=!1;function o(t){if(t=eC(t)){let o=Y.findKey(n,t);o&&(!r||eT(n,n[o],o,r))&&(delete n[o],i=!0)}}return Y.isArray(t)?t.forEach(o):o(t),i}clear(t){let r=Object.keys(this),n=r.length,i=!1;for(;n--;){let o=r[n];(!t||eT(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){let r=this,n={};return Y.forEach(this,(i,o)=>{let a=Y.findKey(n,o);if(a){r[a]=eO(i),delete r[o];return}let s=t?o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n):String(o).trim();s!==o&&delete r[o],r[s]=eO(i),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let r=Object.create(null);return Y.forEach(this,(n,i)=>{null!=n&&!1!==n&&(r[i]=t&&Y.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){let n=new this(t);return r.forEach(t=>n.set(t)),n}static accessor(t){let r=(this[ek]=this[ek]={accessors:{}}).accessors,n=this.prototype;function i(t){let i=eC(t);if(!r[i]){let o=Y.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(n,r+o,{value:function(n,i,o){return this[r].call(this,t,n,i,o)},configurable:!0})}),r[i]=!0}}return Y.isArray(t)?t.forEach(i):i(t),this}};function eP(t,r){let n=this||eS,i=r||n,o=AxiosHeaders.from(i.headers),a=i.data;return Y.forEach(t,function(t){a=t.call(n,a,o.normalize(),r?r.status:void 0)}),o.normalize(),a}function eM(t){return!!(t&&t.__CANCEL__)}function eI(t,r,n){J.call(this,null==t?"canceled":t,J.ERR_CANCELED,r,n),this.name="CanceledError"}function eA(t,r,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):r(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Y.reduceDescriptors(AxiosHeaders.prototype,({value:t},r)=>{let n=r[0].toUpperCase()+r.slice(1);return{get:()=>t,set(t){this[n]=t}}}),Y.freezeMethods(AxiosHeaders),Y.inherits(eI,J,{__CANCEL__:!0});let eL=function(t,r){let n,i=Array(t=t||10),o=Array(t),a=0,s=0;return r=void 0!==r?r:1e3,function(l){let u=Date.now(),c=o[s];n||(n=u),i[a]=l,o[a]=u;let d=s,f=0;for(;d!==a;)f+=i[d++],d%=t;if((a=(a+1)%t)===s&&(s=(s+1)%t),u-n<r)return;let h=c&&u-c;return h?Math.round(1e3*f/h):void 0}},eN=function(t,r){let n,i,o=0,a=1e3/r,s=(r,a=Date.now())=>{o=a,n=null,i&&(clearTimeout(i),i=null),t.apply(null,r)};return[(...t)=>{let r=Date.now(),l=r-o;l>=a?s(t,r):(n=t,i||(i=setTimeout(()=>{i=null,s(n)},a-l)))},()=>n&&s(n)]},ej=(t,r,n=3)=>{let i=0,o=eL(50,250);return eN(n=>{let a=n.loaded,s=n.lengthComputable?n.total:void 0,l=a-i,u=o(l);i=a,t({loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&a<=s?(s-a)/u:void 0,event:n,lengthComputable:null!=s,[r?"download":"upload"]:!0})},n)},eD=(t,r)=>{let n=null!=t;return[i=>r[0]({lengthComputable:n,total:t,loaded:i}),r[1]]},eF=t=>(...r)=>Y.asap(()=>t(...r)),eB=e_.hasStandardBrowserEnv?(a=new URL(e_.origin),s=e_.navigator&&/(msie|trident)/i.test(e_.navigator.userAgent),t=>(t=new URL(t,e_.origin),a.protocol===t.protocol&&a.host===t.host&&(s||a.port===t.port))):()=>!0,e$=e_.hasStandardBrowserEnv?{write(t,r,n,i,o,a){let s=[t+"="+encodeURIComponent(r)];Y.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Y.isString(i)&&s.push("path="+i),Y.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read(t){let r=document.cookie.match(RegExp("(^|;\\s*)("+t+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function eU(t,r,n){let i=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r);return t&&(i||!1==n)?r?t.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):t:r}let ez=t=>t instanceof AxiosHeaders?{...t}:t;function eq(t,r){r=r||{};let n={};function i(t,r,n,i){return Y.isPlainObject(t)&&Y.isPlainObject(r)?Y.merge.call({caseless:i},t,r):Y.isPlainObject(r)?Y.merge({},r):Y.isArray(r)?r.slice():r}function o(t,r,n,o){return Y.isUndefined(r)?Y.isUndefined(t)?void 0:i(void 0,t,n,o):i(t,r,n,o)}function a(t,r){if(!Y.isUndefined(r))return i(void 0,r)}function s(t,r){return Y.isUndefined(r)?Y.isUndefined(t)?void 0:i(void 0,t):i(void 0,r)}function l(n,o,a){return a in r?i(n,o):a in t?i(void 0,n):void 0}let u={url:a,method:a,data:a,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:l,headers:(t,r,n)=>o(ez(t),ez(r),n,!0)};return Y.forEach(Object.keys(Object.assign({},t,r)),function(i){let a=u[i]||o,s=a(t[i],r[i],i);Y.isUndefined(s)&&a!==l||(n[i]=s)}),n}let eZ=t=>{let r,n=eq({},t),{data:i,withXSRFToken:o,xsrfHeaderName:a,xsrfCookieName:s,headers:l,auth:u}=n;if(n.headers=l=AxiosHeaders.from(l),n.url=ec(eU(n.baseURL,n.url,n.allowAbsoluteUrls),t.params,t.paramsSerializer),u&&l.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),Y.isFormData(i)){if(e_.hasStandardBrowserEnv||e_.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if(!1!==(r=l.getContentType())){let[t,...n]=r?r.split(";").map(t=>t.trim()).filter(Boolean):[];l.setContentType([t||"multipart/form-data",...n].join("; "))}}if(e_.hasStandardBrowserEnv&&(o&&Y.isFunction(o)&&(o=o(n)),o||!1!==o&&eB(n.url))){let t=a&&s&&e$.read(s);t&&l.set(a,t)}return n},eH="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise(function(r,n){let i,o,a,s,l,u=eZ(t),c=u.data,d=AxiosHeaders.from(u.headers).normalize(),{responseType:f,onUploadProgress:h,onDownloadProgress:m}=u;function g(){s&&s(),l&&l(),u.cancelToken&&u.cancelToken.unsubscribe(i),u.signal&&u.signal.removeEventListener("abort",i)}let y=new XMLHttpRequest;function v(){if(!y)return;let i=AxiosHeaders.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());eA(function(t){r(t),g()},function(t){n(t),g()},{data:f&&"text"!==f&&"json"!==f?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:i,config:t,request:y}),y=null}y.open(u.method.toUpperCase(),u.url,!0),y.timeout=u.timeout,"onloadend"in y?y.onloadend=v:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(v)},y.onabort=function(){y&&(n(new J("Request aborted",J.ECONNABORTED,t,y)),y=null)},y.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,t,y)),y=null},y.ontimeout=function(){let r=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",i=u.transitional||ed;u.timeoutErrorMessage&&(r=u.timeoutErrorMessage),n(new J(r,i.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,t,y)),y=null},void 0===c&&d.setContentType(null),"setRequestHeader"in y&&Y.forEach(d.toJSON(),function(t,r){y.setRequestHeader(r,t)}),Y.isUndefined(u.withCredentials)||(y.withCredentials=!!u.withCredentials),f&&"json"!==f&&(y.responseType=u.responseType),m&&([a,l]=ej(m,!0),y.addEventListener("progress",a)),h&&y.upload&&([o,s]=ej(h),y.upload.addEventListener("progress",o),y.upload.addEventListener("loadend",s)),(u.cancelToken||u.signal)&&(i=r=>{y&&(n(!r||r.type?new eI(null,t,y):r),y.abort(),y=null)},u.cancelToken&&u.cancelToken.subscribe(i),u.signal&&(u.signal.aborted?i():u.signal.addEventListener("abort",i)));let b=function(t){let r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""}(u.url);if(b&&-1===e_.protocols.indexOf(b)){n(new J("Unsupported protocol "+b+":",J.ERR_BAD_REQUEST,t));return}y.send(c||null)})},eV=(t,r)=>{let{length:n}=t=t?t.filter(Boolean):[];if(r||n){let n,i=new AbortController,o=function(t){if(!n){n=!0,s();let r=t instanceof Error?t:this.reason;i.abort(r instanceof J?r:new eI(r instanceof Error?r.message:r))}},a=r&&setTimeout(()=>{a=null,o(new J(`timeout ${r} of ms exceeded`,J.ETIMEDOUT))},r),s=()=>{t&&(a&&clearTimeout(a),a=null,t.forEach(t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)}),t=null)};t.forEach(t=>t.addEventListener("abort",o));let{signal:l}=i;return l.unsubscribe=()=>Y.asap(s),l}},eW=function*(t,r){let n,i=t.byteLength;if(!r||i<r){yield t;return}let o=0;for(;o<i;)n=o+r,yield t.slice(o,n),o=n},eG=async function*(t,r){for await(let n of eK(t))yield*eW(n,r)},eK=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}let r=t.getReader();try{for(;;){let{done:t,value:n}=await r.read();if(t)break;yield n}}finally{await r.cancel()}},eX=(t,r,n,i)=>{let o,a=eG(t,r),s=0,l=t=>{!o&&(o=!0,i&&i(t))};return new ReadableStream({async pull(t){try{let{done:r,value:i}=await a.next();if(r){l(),t.close();return}let o=i.byteLength;if(n){let t=s+=o;n(t)}t.enqueue(new Uint8Array(i))}catch(t){throw l(t),t}},cancel:t=>(l(t),a.return())},{highWaterMark:2})},eY="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,eJ=eY&&"function"==typeof ReadableStream,eQ=eY&&("function"==typeof TextEncoder?(l=new TextEncoder,t=>l.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer())),e0=(t,...r)=>{try{return!!t(...r)}catch(t){return!1}},e1=eJ&&e0(()=>{let t=!1,r=new Request(e_.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!r}),e2=eJ&&e0(()=>Y.isReadableStream(new Response("").body)),e5={stream:e2&&(t=>t.body)};eY&&(h=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(t=>{e5[t]||(e5[t]=Y.isFunction(h[t])?r=>r[t]():(r,n)=>{throw new J(`Response type '${t}' is not supported`,J.ERR_NOT_SUPPORT,n)})}));let e3=async t=>{if(null==t)return 0;if(Y.isBlob(t))return t.size;if(Y.isSpecCompliantForm(t)){let r=new Request(e_.origin,{method:"POST",body:t});return(await r.arrayBuffer()).byteLength}return Y.isArrayBufferView(t)||Y.isArrayBuffer(t)?t.byteLength:(Y.isURLSearchParams(t)&&(t+=""),Y.isString(t))?(await eQ(t)).byteLength:void 0},e6=async(t,r)=>{let n=Y.toFiniteNumber(t.getContentLength());return null==n?e3(r):n},e4={http:null,xhr:eH,fetch:eY&&(async t=>{let r,n,{url:i,method:o,data:a,signal:s,cancelToken:l,timeout:u,onDownloadProgress:c,onUploadProgress:d,responseType:f,headers:h,withCredentials:m="same-origin",fetchOptions:g}=eZ(t);f=f?(f+"").toLowerCase():"text";let y=eV([s,l&&l.toAbortSignal()],u),v=y&&y.unsubscribe&&(()=>{y.unsubscribe()});try{if(d&&e1&&"get"!==o&&"head"!==o&&0!==(n=await e6(h,a))){let t,r=new Request(i,{method:"POST",body:a,duplex:"half"});if(Y.isFormData(a)&&(t=r.headers.get("content-type"))&&h.setContentType(t),r.body){let[t,i]=eD(n,ej(eF(d)));a=eX(r.body,65536,t,i)}}Y.isString(m)||(m=m?"include":"omit");let s="credentials"in Request.prototype;r=new Request(i,{...g,signal:y,method:o.toUpperCase(),headers:h.normalize().toJSON(),body:a,duplex:"half",credentials:s?m:void 0});let l=await fetch(r),u=e2&&("stream"===f||"response"===f);if(e2&&(c||u&&v)){let t={};["status","statusText","headers"].forEach(r=>{t[r]=l[r]});let r=Y.toFiniteNumber(l.headers.get("content-length")),[n,i]=c&&eD(r,ej(eF(c),!0))||[];l=new Response(eX(l.body,65536,n,()=>{i&&i(),v&&v()}),t)}f=f||"text";let b=await e5[Y.findKey(e5,f)||"text"](l,t);return!u&&v&&v(),await new Promise((n,i)=>{eA(n,i,{data:b,headers:AxiosHeaders.from(l.headers),status:l.status,statusText:l.statusText,config:t,request:r})})}catch(n){if(v&&v(),n&&"TypeError"===n.name&&/fetch/i.test(n.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,t,r),{cause:n.cause||n});throw J.from(n,n&&n.code,t,r)}})};Y.forEach(e4,(t,r)=>{if(t){try{Object.defineProperty(t,"name",{value:r})}catch(t){}Object.defineProperty(t,"adapterName",{value:r})}});let e8=t=>`- ${t}`,e7=t=>Y.isFunction(t)||null===t||!1===t,e9=t=>{let r,n,{length:i}=t=Y.isArray(t)?t:[t],o={};for(let a=0;a<i;a++){let i;if(n=r=t[a],!e7(r)&&void 0===(n=e4[(i=String(r)).toLowerCase()]))throw new J(`Unknown adapter '${i}'`);if(n)break;o[i||"#"+a]=n}if(!n){let t=Object.entries(o).map(([t,r])=>`adapter ${t} `+(!1===r?"is not supported by the environment":"is not available in the build"));throw new J("There is no suitable adapter to dispatch the request "+(i?t.length>1?"since :\n"+t.map(e8).join("\n"):" "+e8(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function te(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new eI(null,t)}function tt(t){return te(t),t.headers=AxiosHeaders.from(t.headers),t.data=eP.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),e9(t.adapter||eS.adapter)(t).then(function(r){return te(t),r.data=eP.call(t,t.transformResponse,r),r.headers=AxiosHeaders.from(r.headers),r},function(r){return!eM(r)&&(te(t),r&&r.response&&(r.response.data=eP.call(t,t.transformResponse,r.response),r.response.headers=AxiosHeaders.from(r.response.headers))),Promise.reject(r)})}let tr="1.8.4",tn={};["object","boolean","number","function","string","symbol"].forEach((t,r)=>{tn[t]=function(n){return typeof n===t||"a"+(r<1?"n ":" ")+t}});let ti={};tn.transitional=function(t,r,n){function i(t,r){return"[Axios v"+tr+"] Transitional option '"+t+"'"+r+(n?". "+n:"")}return(n,o,a)=>{if(!1===t)throw new J(i(o," has been removed"+(r?" in "+r:"")),J.ERR_DEPRECATED);return r&&!ti[o]&&(ti[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),!t||t(n,o,a)}},tn.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};let to={assertOptions:function(t,r,n){if("object"!=typeof t)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);let i=Object.keys(t),o=i.length;for(;o-- >0;){let a=i[o],s=r[a];if(s){let r=t[a],n=void 0===r||s(r,a,t);if(!0!==n)throw new J("option "+a+" must be "+n,J.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new J("Unknown option "+a,J.ERR_BAD_OPTION)}},validators:tn},ta=to.validators;let Axios_Axios=class Axios_Axios{constructor(t){this.defaults=t,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(t,r){try{return await this._request(t,r)}catch(t){if(t instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=Error();let n=r.stack?r.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,r){let n,i;"string"==typeof t?(r=r||{}).url=t:r=t||{};let{transitional:o,paramsSerializer:a,headers:s}=r=eq(this.defaults,r);void 0!==o&&to.assertOptions(o,{silentJSONParsing:ta.transitional(ta.boolean),forcedJSONParsing:ta.transitional(ta.boolean),clarifyTimeoutError:ta.transitional(ta.boolean)},!1),null!=a&&(Y.isFunction(a)?r.paramsSerializer={serialize:a}:to.assertOptions(a,{encode:ta.function,serialize:ta.function},!0)),void 0!==r.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),to.assertOptions(r,{baseUrl:ta.spelling("baseURL"),withXsrfToken:ta.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let l=s&&Y.merge(s.common,s[r.method]);s&&Y.forEach(["delete","get","head","post","put","patch","common"],t=>{delete s[t]}),r.headers=AxiosHeaders.concat(l,s);let u=[],c=!0;this.interceptors.request.forEach(function(t){("function"!=typeof t.runWhen||!1!==t.runWhen(r))&&(c=c&&t.synchronous,u.unshift(t.fulfilled,t.rejected))});let d=[];this.interceptors.response.forEach(function(t){d.push(t.fulfilled,t.rejected)});let f=0;if(!c){let t=[tt.bind(this),void 0];for(t.unshift.apply(t,u),t.push.apply(t,d),i=t.length,n=Promise.resolve(r);f<i;)n=n.then(t[f++],t[f++]);return n}i=u.length;let h=r;for(f=0;f<i;){let t=u[f++],r=u[f++];try{h=t(h)}catch(t){r.call(this,t);break}}try{n=tt.call(this,h)}catch(t){return Promise.reject(t)}for(f=0,i=d.length;f<i;)n=n.then(d[f++],d[f++]);return n}getUri(t){return ec(eU((t=eq(this.defaults,t)).baseURL,t.url,t.allowAbsoluteUrls),t.params,t.paramsSerializer)}};Y.forEach(["delete","get","head","options"],function(t){Axios_Axios.prototype[t]=function(r,n){return this.request(eq(n||{},{method:t,url:r,data:(n||{}).data}))}}),Y.forEach(["post","put","patch"],function(t){function r(r){return function(n,i,o){return this.request(eq(o||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Axios_Axios.prototype[t]=r(),Axios_Axios.prototype[t+"Form"]=r(!0)});let CancelToken=class CancelToken{constructor(t){let r;if("function"!=typeof t)throw TypeError("executor must be a function.");this.promise=new Promise(function(t){r=t});let n=this;this.promise.then(t=>{if(!n._listeners)return;let r=n._listeners.length;for(;r-- >0;)n._listeners[r](t);n._listeners=null}),this.promise.then=t=>{let r,i=new Promise(t=>{n.subscribe(t),r=t}).then(t);return i.cancel=function(){n.unsubscribe(r)},i},t(function(t,i,o){n.reason||(n.reason=new eI(t,i,o),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let r=this._listeners.indexOf(t);-1!==r&&this._listeners.splice(r,1)}toAbortSignal(){let t=new AbortController,r=r=>{t.abort(r)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new CancelToken(function(r){t=r}),cancel:t}}};let ts={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};Object.entries(ts).forEach(([t,r])=>{ts[r]=t});let tl=function t(r){let n=new Axios_Axios(r),i=g(Axios_Axios.prototype.request,n);return Y.extend(i,Axios_Axios.prototype,n,{allOwnKeys:!0}),Y.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return t(eq(r,n))},i}(eS);tl.Axios=Axios_Axios,tl.CanceledError=eI,tl.CancelToken=CancelToken,tl.isCancel=eM,tl.VERSION=tr,tl.toFormData=eo,tl.AxiosError=J,tl.Cancel=tl.CanceledError,tl.all=function(t){return Promise.all(t)},tl.spread=function(t){return function(r){return t.apply(null,r)}},tl.isAxiosError=function(t){return Y.isObject(t)&&!0===t.isAxiosError},tl.mergeConfig=eq,tl.AxiosHeaders=AxiosHeaders,tl.formToJSON=t=>ew(Y.isHTMLForm(t)?new FormData(t):t),tl.getAdapter=e9,tl.HttpStatusCode=ts,tl.default=tl;let tu=tl},29919:function(t,r,n){"use strict";var i=n(4090),o=n(49638),a=n(68418);t.exports=n(36476)||i.call(a,o)},26497:function(t,r,n){"use strict";var i=n(4090),o=n(49638),a=n(29919);t.exports=function(){return a(i,o,arguments)}},49638:function(t){"use strict";t.exports=Function.prototype.apply},68418:function(t){"use strict";t.exports=Function.prototype.call},68381:function(t,r,n){"use strict";var i=n(4090),o=n(5408),a=n(68418),s=n(29919);t.exports=function(t){if(t.length<1||"function"!=typeof t[0])throw new o("a function is required");return s(i,a,t)}},36476:function(t){"use strict";t.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},62680:function(t,r,n){"use strict";var i=n(67286),o=n(89429),a=o(i("String.prototype.indexOf"));t.exports=function(t,r){var n=i(t,!!r);return"function"==typeof n&&a(t,".prototype.")>-1?o(n):n}},89429:function(t,r,n){"use strict";var i=n(47669),o=n(70999),a=n(68381),s=n(26497);t.exports=function(t){var r=a(arguments),n=t.length-(arguments.length-1);return i(r,1+(n>0?n:0),!0)},o?o(t.exports,"apply",{value:s}):t.exports.apply=s},8435:function(t,r,n){"use strict";var i=n(67286),o=n(68381),a=o([i("%String.prototype.indexOf%")]);t.exports=function(t,r){var n=i(t,!!r);return"function"==typeof n&&a(t,".prototype.")>-1?o([n]):n}},18673:function(t,r){var n;function i(t,r){var n=[],i=0;function o(t){return n.push(t),r}function a(){return n[i++]}return{tokenize:function(r){return r.replace(t,o)},detokenize:function(t){return t.replace(RegExp("("+r+")","g"),a)}}}n=new function(){var t="`TMP`",r="`COMMENT`",n="[^\\u0020-\\u007e]",o="(?:[0-9]*\\.[0-9]+|[0-9]+)",a="(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)",s="direction\\s*:\\s*",l="['\"]?\\s*",u="(^|[^a-zA-Z])",c="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",d="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",f="(?:[_a-z0-9-]|"+n+"|"+d+")",h=o+"(?:\\s*"+a+"|"+("-?"+("(?:[_a-z]|"+n+"|")+d+")"+f)+"*)?",m="((?:-?"+h+")|(?:inherit|auto))",g="((?:-?"+h+")|(?:inherit|auto)|"+("(?:calc\\((?:"+("(?:(?:\\(|\\)|\\t| )|"+("(?:-?"+o+"(?:\\s*")+a))+")?)|(?:\\+|\\-|\\*|\\/)){3,})\\)))",y="(#?"+f+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",v="(?:[!#$%&*-~]|"+n+"|"+d+")*?",b="(?![a-zA-Z])",_="(?!("+f+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+r+")*?{)",w="(?!"+v+l+"\\))",S="(?="+v+l+"\\))",x="(\\s*(?:!important\\s*)?[;}])",E=/`TMP`/g,k=/`TMPLTR`/g,C=/`TMPRTL`/g,O=RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),R=RegExp("("+c+_+"[^;}]+;?)","gi"),T=RegExp("("+c+"[^\\}]*?})","gi"),P=RegExp("("+s+")ltr","gi"),M=RegExp("("+s+")rtl","gi"),I=RegExp(u+"(left)"+b+w+_,"gi"),A=RegExp(u+"(right)"+b+w+_,"gi"),L=RegExp(u+"(left)"+S,"gi"),N=RegExp(u+"(right)"+S,"gi"),j=/(:dir\( *)ltr( *\))/g,D=/(:dir\( *)rtl( *\))/g,F=RegExp(u+"(ltr)"+S,"gi"),B=RegExp(u+"(rtl)"+S,"gi"),$=RegExp(u+"([ns]?)e-resize","gi"),U=RegExp(u+"([ns]?)w-resize","gi"),z=RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+g+"(\\s+)"+g+"(\\s+)"+g+"(\\s+)"+g+x,"gi"),q=RegExp("((?:-color|border-style)\\s*:\\s*)"+y+"(\\s+)"+y+"(\\s+)"+y+"(\\s+)"+y+x,"gi"),Z=RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+h+")","gi"),H=RegExp("(background-position-x\\s*:\\s*)(-?"+o+"%)","gi"),V=RegExp("(border-radius\\s*:\\s*)"+m+"(?:(?:\\s+"+m+")(?:\\s+"+m+")?(?:\\s+"+m+")?)?(?:(?:(?:\\s*\\/\\s*)"+m+")(?:\\s+"+m+")?(?:\\s+"+m+")?(?:\\s+"+m+")?)?"+x,"gi"),W=RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+m,"gi"),G=RegExp("(text-shadow\\s*:\\s*)"+m+"(\\s*)"+y,"gi"),K=RegExp("(text-shadow\\s*:\\s*)"+y+"(\\s*)"+m,"gi"),X=RegExp("(text-shadow\\s*:\\s*)"+m,"gi"),Y=RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+m+"(\\s*\\))","gi"),J=RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+m+"((?:\\s*,\\s*"+m+"){0,2}\\s*\\))","gi");function Q(t,r,n){var i,o;return"%"===n.slice(-1)&&(-1!==(i=n.indexOf("."))?(o=n.length-i-2,n=(n=100-parseFloat(n)).toFixed(o)+"%"):n=100-parseFloat(n)+"%"),r+n}function ee(t){switch(t.length){case 4:t=[t[1],t[0],t[3],t[2]];break;case 3:t=[t[1],t[0],t[1],t[2]];break;case 2:t=[t[1],t[0]];break;case 1:t=[t[0]]}return t.join(" ")}function et(t,r){var n,i=[].slice.call(arguments),o=i.slice(2,6).filter(function(t){return t}),a=i.slice(6,10).filter(function(t){return t}),s=i[10]||"";return r+(a.length?ee(o)+" / "+ee(a):ee(o))+s}function er(t){return 0===parseFloat(t)?t:"-"===t[0]?t.slice(1):"-"+t}function en(t,r,n){return r+er(n)}function ei(t,r,n,i,o){return r+n+er(i)+o}function eo(t,r,n,i,o){return r+n+i+er(o)}return{transform:function(n,o){var a=new i(R,"`NOFLIP_SINGLE`"),s=new i(T,"`NOFLIP_CLASS`"),l=new i(O,r);return n=l.tokenize(s.tokenize(a.tokenize(n.replace("`","%60")))),o.transformDirInUrl&&(n=n.replace(j,"$1`TMPLTR`$2").replace(D,"$1`TMPRTL`$2").replace(F,"$1"+t).replace(B,"$1ltr").replace(E,"rtl").replace(k,"ltr").replace(C,"rtl")),o.transformEdgeInUrl&&(n=n.replace(L,"$1"+t).replace(N,"$1left").replace(E,"right")),n=n.replace(P,"$1"+t).replace(M,"$1ltr").replace(E,"rtl").replace(I,"$1"+t).replace(A,"$1left").replace(E,"right").replace($,"$1$2"+t).replace(U,"$1$2e-resize").replace(E,"w-resize").replace(V,et).replace(W,en).replace(G,eo).replace(K,eo).replace(X,en).replace(Y,ei).replace(J,ei).replace(z,"$1$2$3$8$5$6$7$4$9").replace(q,"$1$2$3$8$5$6$7$4$9").replace(Z,Q).replace(H,Q),n=a.detokenize(s.detokenize(l.detokenize(n)))}}},t.exports?r.transform=function(t,r,i){var o;return"object"==typeof r?o=r:(o={},"boolean"==typeof r&&(o.transformDirInUrl=r),"boolean"==typeof i&&(o.transformEdgeInUrl=i)),n.transform(t,o)}:"undefined"!=typeof window&&(window.cssjanus=n)},13185:function(t,r,n){"use strict";var i=n(43045),o=n(62680),a=n(82201),s=n(67286),l=n(78918),u=n(74294),c=n(34679),d=n(52635),f=n(77906),h=n(72226),m=n(54277),g=n(58786),y=n(58453),v=n(33464),b=n(66627),_=n(4647),w=n(32094),S=n(44139),x=o("SharedArrayBuffer.prototype.byteLength",!0),E=o("Date.prototype.getTime"),k=Object.getPrototypeOf,C=o("Object.prototype.toString"),O=s("%Set%",!0),R=o("Map.prototype.has",!0),T=o("Map.prototype.get",!0),P=o("Map.prototype.size",!0),M=o("Set.prototype.add",!0),I=o("Set.prototype.delete",!0),A=o("Set.prototype.has",!0),L=o("Set.prototype.size",!0);function N(t,r,n,i){for(var o,a=l(t);(o=a.next())&&!o.done;)if(F(r,o.value,n,i))return I(t,o.value),!0;return!1}function j(t){return void 0===t?null:"object"!=typeof t?"symbol"!=typeof t&&("string"!=typeof t&&"number"!=typeof t||+t==+t):void 0}function D(t,r,n,i,o,a){for(var s,u,c=l(t);(s=c.next())&&!s.done;)if(F(n,u=s.value,o,a)&&F(i,T(r,u),o,a))return I(t,u),!0;return!1}function F(t,r,n,o){var s,u=n||{};if(u.strict?c(t,r):t===r)return!0;if(b(t)!==b(r))return!1;if(!t||!r||"object"!=typeof t&&"object"!=typeof r)return u.strict?c(t,r):t==r;var I=o.has(t),$=o.has(r);if(I&&$){if(o.get(t)===o.get(r))return!0}else s={};return I||o.set(t,s),$||o.set(r,s),function(t,r,n,o){if(typeof t!=typeof r||null==t||null==r||C(t)!==C(r)||d(t)!==d(r)||f(t)!==f(r))return!1;var s,u,c=t instanceof Error,b=r instanceof Error;if(c!==b||(c||b)&&(t.name!==r.name||t.message!==r.message))return!1;var I=g(t),$=g(r);if(I!==$||(I||$)&&(t.source!==r.source||a(t)!==a(r)))return!1;var U=m(t),z=m(r);if(U!==z||(U||z)&&E(t)!==E(r)||n.strict&&k&&k(t)!==k(r))return!1;var q=w(t),Z=w(r);if(q!==Z)return!1;if(q||Z){if(t.length!==r.length)return!1;for(s=0;s<t.length;s++)if(t[s]!==r[s])return!1;return!0}var H=B(t),V=B(r);if(H!==V)return!1;if(H||V){if(t.length!==r.length)return!1;for(s=0;s<t.length;s++)if(t[s]!==r[s])return!1;return!0}var W=h(t),G=h(r);if(W!==G)return!1;if(W||G)return S(t)===S(r)&&"function"==typeof Uint8Array&&F(new Uint8Array(t),new Uint8Array(r),n,o);var K=y(t),X=y(r);if(K!==X)return!1;if(K||X)return x(t)===x(r)&&"function"==typeof Uint8Array&&F(new Uint8Array(t),new Uint8Array(r),n,o);if(typeof t!=typeof r)return!1;var Y=v(t),J=v(r);if(Y.length!==J.length)return!1;for(Y.sort(),J.sort(),s=Y.length-1;s>=0;s--)if(Y[s]!=J[s])return!1;for(s=Y.length-1;s>=0;s--)if(!F(t[u=Y[s]],r[u],n,o))return!1;var Q=_(t),ee=_(r);return Q===ee&&("Set"===Q||"Set"===ee?function(t,r,n,i){if(L(t)!==L(r))return!1;for(var o,a,s,u=l(t),c=l(r);(o=u.next())&&!o.done;)if(o.value&&"object"==typeof o.value)s||(s=new O),M(s,o.value);else if(!A(r,o.value)){if(n.strict||!function(t,r,n){var i=j(n);return null!=i?i:A(r,i)&&!A(t,i)}(t,r,o.value))return!1;s||(s=new O),M(s,o.value)}if(s){for(;(a=c.next())&&!a.done;)if(a.value&&"object"==typeof a.value){if(!N(s,a.value,n.strict,i))return!1}else if(!n.strict&&!A(t,a.value)&&!N(s,a.value,n.strict,i))return!1;return 0===L(s)}return!0}(t,r,n,o):"Map"!==Q||function(t,r,n,o){if(P(t)!==P(r))return!1;for(var a,s,u,c,d,f,h=l(t),m=l(r);(a=h.next())&&!a.done;)if(c=a.value[0],d=a.value[1],c&&"object"==typeof c)u||(u=new O),M(u,c);else if(void 0===(f=T(r,c))&&!R(r,c)||!F(d,f,n,o)){if(n.strict||!function(t,r,n,o,a,s){var l=j(n);if(null!=l)return l;var u=T(r,l),c=i({},a,{strict:!1});return(void 0!==u||!!R(r,l))&&!!F(o,u,c,s)&&!R(t,l)&&F(o,u,c,s)}(t,r,c,d,n,o))return!1;u||(u=new O),M(u,c)}if(u){for(;(s=m.next())&&!s.done;)if(c=s.value[0],f=s.value[1],c&&"object"==typeof c){if(!D(u,t,c,f,n,o))return!1}else if(!n.strict&&(!t.has(c)||!F(T(t,c),f,n,o))&&!D(u,t,c,f,i({},n,{strict:!1}),o))return!1;return 0===L(u)}return!0}(t,r,n,o))}(t,r,u,o)}function B(t){return!!t&&"object"==typeof t&&"number"==typeof t.length&&"function"==typeof t.copy&&"function"==typeof t.slice&&(!(t.length>0)||"number"==typeof t[0])&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}t.exports=function(t,r,n){return F(t,r,n,u())}},75195:function(t,r,n){"use strict";var i=n(70999),o=n(48342),a=n(5408),s=n(50326);t.exports=function(t,r,n){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new a("`obj` must be an object or a function`");if("string"!=typeof r&&"symbol"!=typeof r)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,d=arguments.length>6&&arguments[6],f=!!s&&s(t,r);if(i)i(t,r,{configurable:null===c&&f?f.configurable:!c,enumerable:null===l&&f?f.enumerable:!l,value:n,writable:null===u&&f?f.writable:!u});else if(!d&&(l||u||c))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else t[r]=n}},14926:function(t,r,n){"use strict";var i=n(33464),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,s=Array.prototype.concat,l=n(75195),u=n(81181)(),c=function(t,r,n,i){if(r in t){if(!0===i){if(t[r]===n)return}else if("function"!=typeof i||"[object Function]"!==a.call(i)||!i())return}u?l(t,r,n,!0):l(t,r,n)},d=function(t,r){var n=arguments.length>2?arguments[2]:{},a=i(r);o&&(a=s.call(a,Object.getOwnPropertySymbols(r)));for(var l=0;l<a.length;l+=1)c(t,a[l],r[a[l]],n[a[l]])};d.supportsDescriptors=!!u,t.exports=d},34821:function(t,r){"use strict";var n,i;Object.defineProperty(r,"__esModule",{value:!0}),r.Doctype=r.CDATA=r.Tag=r.Style=r.Script=r.Comment=r.Directive=r.Text=r.Root=r.isTag=r.ElementType=void 0,(i=n=r.ElementType||(r.ElementType={})).Root="root",i.Text="text",i.Directive="directive",i.Comment="comment",i.Script="script",i.Style="style",i.Tag="tag",i.CDATA="cdata",i.Doctype="doctype",r.isTag=function(t){return t.type===n.Tag||t.type===n.Script||t.type===n.Style},r.Root=n.Root,r.Text=n.Text,r.Directive=n.Directive,r.Comment=n.Comment,r.Script=n.Script,r.Style=n.Style,r.Tag=n.Tag,r.CDATA=n.CDATA,r.Doctype=n.Doctype},79959:function(t,r,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),o=this&&this.__exportStar||function(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||i(r,t,n)};Object.defineProperty(r,"__esModule",{value:!0}),r.DomHandler=void 0;var a=n(34821),s=n(75538);o(n(75538),r);var l={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},u=function(){function t(t,r,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof r&&(n=r,r=l),"object"==typeof t&&(r=t,t=void 0),this.callback=null!=t?t:null,this.options=null!=r?r:l,this.elementCB=null!=n?n:null}return t.prototype.onparserinit=function(t){this.parser=t},t.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},t.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},t.prototype.onerror=function(t){this.handleCallback(t)},t.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},t.prototype.onopentag=function(t,r){var n=this.options.xmlMode?a.ElementType.Tag:void 0,i=new s.Element(t,r,void 0,n);this.addNode(i),this.tagStack.push(i)},t.prototype.ontext=function(t){var r=this.lastNode;if(r&&r.type===a.ElementType.Text)r.data+=t,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{var n=new s.Text(t);this.addNode(n),this.lastNode=n}},t.prototype.oncomment=function(t){if(this.lastNode&&this.lastNode.type===a.ElementType.Comment){this.lastNode.data+=t;return}var r=new s.Comment(t);this.addNode(r),this.lastNode=r},t.prototype.oncommentend=function(){this.lastNode=null},t.prototype.oncdatastart=function(){var t=new s.Text(""),r=new s.CDATA([t]);this.addNode(r),t.parent=r,this.lastNode=t},t.prototype.oncdataend=function(){this.lastNode=null},t.prototype.onprocessinginstruction=function(t,r){var n=new s.ProcessingInstruction(t,r);this.addNode(n)},t.prototype.handleCallback=function(t){if("function"==typeof this.callback)this.callback(t,this.dom);else if(t)throw t},t.prototype.addNode=function(t){var r=this.tagStack[this.tagStack.length-1],n=r.children[r.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),r.children.push(t),n&&(t.prev=n,n.next=t),t.parent=r,this.lastNode=null},t}();r.DomHandler=u,r.default=u},75538:function(t,r,n){"use strict";var i,o=this&&this.__extends||(i=function(t,r){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])})(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}i(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++)for(var o in r=arguments[n])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t}).apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0}),r.cloneNode=r.hasChildren=r.isDocument=r.isDirective=r.isComment=r.isText=r.isCDATA=r.isTag=r.Element=r.Document=r.CDATA=r.NodeWithChildren=r.ProcessingInstruction=r.Comment=r.Text=r.DataNode=r.Node=void 0;var s=n(34821),l=function(){function t(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),t.prototype.cloneNode=function(t){return void 0===t&&(t=!1),E(this,t)},t}();r.Node=l;var u=function(t){function r(r){var n=t.call(this)||this;return n.data=r,n}return o(r,t),Object.defineProperty(r.prototype,"nodeValue",{get:function(){return this.data},set:function(t){this.data=t},enumerable:!1,configurable:!0}),r}(l);r.DataNode=u;var c=function(t){function r(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=s.ElementType.Text,r}return o(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),r}(u);r.Text=c;var d=function(t){function r(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=s.ElementType.Comment,r}return o(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),r}(u);r.Comment=d;var f=function(t){function r(r,n){var i=t.call(this,n)||this;return i.name=r,i.type=s.ElementType.Directive,i}return o(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),r}(u);r.ProcessingInstruction=f;var h=function(t){function r(r){var n=t.call(this)||this;return n.children=r,n}return o(r,t),Object.defineProperty(r.prototype,"firstChild",{get:function(){var t;return null!==(t=this.children[0])&&void 0!==t?t: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(t){this.children=t},enumerable:!1,configurable:!0}),r}(l);r.NodeWithChildren=h;var m=function(t){function r(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=s.ElementType.CDATA,r}return o(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),r}(h);r.CDATA=m;var g=function(t){function r(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=s.ElementType.Root,r}return o(r,t),Object.defineProperty(r.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),r}(h);r.Document=g;var y=function(t){function r(r,n,i,o){void 0===i&&(i=[]),void 0===o&&(o="script"===r?s.ElementType.Script:"style"===r?s.ElementType.Style:s.ElementType.Tag);var a=t.call(this,i)||this;return a.name=r,a.attribs=n,a.type=o,a}return o(r,t),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(t){this.name=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"attributes",{get:function(){var t=this;return Object.keys(this.attribs).map(function(r){var n,i;return{name:r,value:t.attribs[r],namespace:null===(n=t["x-attribsNamespace"])||void 0===n?void 0:n[r],prefix:null===(i=t["x-attribsPrefix"])||void 0===i?void 0:i[r]}})},enumerable:!1,configurable:!0}),r}(h);function v(t){return(0,s.isTag)(t)}function b(t){return t.type===s.ElementType.CDATA}function _(t){return t.type===s.ElementType.Text}function w(t){return t.type===s.ElementType.Comment}function S(t){return t.type===s.ElementType.Directive}function x(t){return t.type===s.ElementType.Root}function E(t,r){if(void 0===r&&(r=!1),_(t))n=new c(t.data);else if(w(t))n=new d(t.data);else if(v(t)){var n,i=r?k(t.children):[],o=new y(t.name,a({},t.attribs),i);i.forEach(function(t){return t.parent=o}),null!=t.namespace&&(o.namespace=t.namespace),t["x-attribsNamespace"]&&(o["x-attribsNamespace"]=a({},t["x-attribsNamespace"])),t["x-attribsPrefix"]&&(o["x-attribsPrefix"]=a({},t["x-attribsPrefix"])),n=o}else if(b(t)){var i=r?k(t.children):[],s=new m(i);i.forEach(function(t){return t.parent=s}),n=s}else if(x(t)){var i=r?k(t.children):[],l=new g(i);i.forEach(function(t){return t.parent=l}),t["x-mode"]&&(l["x-mode"]=t["x-mode"]),n=l}else if(S(t)){var u=new f(t.name,t.data);null!=t["x-name"]&&(u["x-name"]=t["x-name"],u["x-publicId"]=t["x-publicId"],u["x-systemId"]=t["x-systemId"]),n=u}else throw Error("Not implemented yet: ".concat(t.type));return n.startIndex=t.startIndex,n.endIndex=t.endIndex,null!=t.sourceCodeLocation&&(n.sourceCodeLocation=t.sourceCodeLocation),n}function k(t){for(var r=t.map(function(t){return E(t,!0)}),n=1;n<r.length;n++)r[n].prev=r[n-1],r[n-1].next=r[n];return r}r.Element=y,r.isTag=v,r.isCDATA=b,r.isText=_,r.isComment=w,r.isDirective=S,r.isDocument=x,r.hasChildren=function(t){return Object.prototype.hasOwnProperty.call(t,"children")},r.cloneNode=E},5141:function(t,r,n){"use strict";var i,o=n(68381),a=n(50326);try{i=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var s=!!i&&a&&a(Object.prototype,"__proto__"),l=Object,u=l.getPrototypeOf;t.exports=s&&"function"==typeof s.get?o([s.get]):"function"==typeof u&&function(t){return u(null==t?t:l(t))}},74835:function(t){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,r){var n=t._map,i=t._arrayTreeMap,o=t._objectTreeMap;if(n.has(r))return n.get(r);for(var a=Object.keys(r).sort(),s=Array.isArray(r)?i:o,l=0;l<a.length;l++){var u=a[l];if(void 0===(s=s.get(u)))return;var c=r[u];if(void 0===(s=s.get(c)))return}var d=s.get("_ekm_value");if(d)return n.delete(d[0]),d[0]=r,s.set("_ekm_value",d),n.set(r,d),d}t.exports=function(){var t;function i(t){if(!(this instanceof i))throw TypeError("Cannot call a class as a function");if(this.clear(),t instanceof i){var r=[];t.forEach(function(t,n){r.push([n,t])}),t=r}if(null!=t)for(var n=0;n<t.length;n++)this.set(t[n][0],t[n][1])}return t=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var o=Object.keys(t).sort(),a=[t,n],s=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,l=0;l<o.length;l++){var u=o[l];s.has(u)||s.set(u,new i),s=s.get(u);var c=t[u];s.has(c)||s.set(c,new i),s=s.get(c)}var d=s.get("_ekm_value");return d&&this._map.delete(d[0]),s.set("_ekm_value",a),this._map.set(t,a),this}},{key:"get",value:function(t){if(null===t||"object"!==r(t))return this._map.get(t);var i=n(this,t);if(i)return i[1]}},{key:"has",value:function(t){return null===t||"object"!==r(t)?this._map.has(t):void 0!==n(this,t)}},{key:"delete",value:function(t){return!!this.has(t)&&(this.set(t,void 0),!0)}},{key:"forEach",value:function(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach(function(o,a){null!==a&&"object"===r(a)&&(o=o[1]),t.call(i,o,a,n)})}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(i.prototype,t),i}()},70999:function(t){"use strict";var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(t){r=!1}t.exports=r},69654:function(t){"use strict";t.exports=EvalError},42321:function(t){"use strict";t.exports=Error},48205:function(t){"use strict";t.exports=RangeError},2976:function(t){"use strict";t.exports=ReferenceError},48342:function(t){"use strict";t.exports=SyntaxError},5408:function(t){"use strict";t.exports=TypeError},82885:function(t){"use strict";t.exports=URIError},78918:function(t,r,n){"use strict";var i=n(52635),o=n(28672);if(n(32636)()||n(66679)()){var a=Symbol.iterator;t.exports=function(t){return null!=t&&void 0!==t[a]?t[a]():i(t)?Array.prototype[a].call(t):void 0}}else{var s=n(77906),l=n(26302),u=n(67286),c=u("%Map%",!0),d=u("%Set%",!0),f=n(62680),h=f("Array.prototype.push"),m=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),y=function(t,r){if(r+1>=t.length)return r+1;var n=m(t,r);if(n<55296||n>56319)return r+1;var i=m(t,r+1);return i<56320||i>57343?r+1:r+2},v=function(t){var r=0;return{next:function(){var n,i=r>=t.length;return i||(n=t[r],r+=1),{done:i,value:n}}}},b=function(t,r){if(s(t)||i(t))return v(t);if(l(t)){var n=0;return{next:function(){var r=y(t,n),i=g(t,n,r);return n=r,{done:r>t.length,value:i}}}}if(r&&void 0!==t["_es6-shim iterator_"])return t["_es6-shim iterator_"]()};if(c||d){var _=n(7968),w=n(13328),S=f("Map.prototype.forEach",!0),x=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),k=f("Set.prototype.iterator",!0);var C=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),O=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0),R=function(t){if(_(t)){if(E)return o(E(t));if(C)return C(t);if(S){var r=[];return S(t,function(t,n){h(r,[n,t])}),v(r)}}if(w(t)){if(k)return o(k(t));if(O)return O(t);if(x){var n=[];return x(t,function(t){h(n,t)}),v(n)}}};t.exports=function(t){return R(t)||b(t)}}else t.exports=function(t){if(null!=t)return b(t,!0)}}},54546:function(t){"use strict";t.exports=Object},42598:function(t){"use strict";t.exports=function t(r,n){if(r===n)return!0;if(r&&n&&"object"==typeof r&&"object"==typeof n){if(r.constructor!==n.constructor)return!1;if(Array.isArray(r)){if((i=r.length)!=n.length)return!1;for(o=i;0!=o--;)if(!t(r[o],n[o]))return!1;return!0}if(r instanceof Map&&n instanceof Map){if(r.size!==n.size)return!1;for(o of r.entries())if(!n.has(o[0]))return!1;for(o of r.entries())if(!t(o[1],n.get(o[0])))return!1;return!0}if(r instanceof Set&&n instanceof Set){if(r.size!==n.size)return!1;for(o of r.entries())if(!n.has(o[0]))return!1;return!0}if(ArrayBuffer.isView(r)&&ArrayBuffer.isView(n)){if((i=r.length)!=n.length)return!1;for(o=i;0!=o--;)if(r[o]!==n[o])return!1;return!0}if(r.constructor===RegExp)return r.source===n.source&&r.flags===n.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===n.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===n.toString();if((i=(a=Object.keys(r)).length)!==Object.keys(n).length)return!1;for(o=i;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,a[o]))return!1;for(o=i;0!=o--;){var i,o,a,s=a[o];if(!t(r[s],n[s]))return!1}return!0}return r!=r&&n!=n}},83243:function(t,r,n){"use strict";var i=n(9680),o=Object.prototype.toString,a=Object.prototype.hasOwnProperty,s=function(t,r,n){for(var i=0,o=t.length;i<o;i++)a.call(t,i)&&(null==n?r(t[i],i,t):r.call(n,t[i],i,t))},l=function(t,r,n){for(var i=0,o=t.length;i<o;i++)null==n?r(t.charAt(i),i,t):r.call(n,t.charAt(i),i,t)},u=function(t,r,n){for(var i in t)a.call(t,i)&&(null==n?r(t[i],i,t):r.call(n,t[i],i,t))};t.exports=function(t,r,n){var a;if(!i(r))throw TypeError("iterator must be a function");(arguments.length>=3&&(a=n),"[object Array]"===o.call(t))?s(t,r,a):"string"==typeof t?l(t,r,a):u(t,r,a)}},37795:function(t){"use strict";var r=Object.prototype.toString,n=Math.max,i=function(t,r){for(var n=[],i=0;i<t.length;i+=1)n[i]=t[i];for(var o=0;o<r.length;o+=1)n[o+t.length]=r[o];return n},o=function(t,r){for(var n=[],i=r||0,o=0;i<t.length;i+=1,o+=1)n[o]=t[i];return n},a=function(t,r){for(var n="",i=0;i<t.length;i+=1)n+=t[i],i+1<t.length&&(n+=r);return n};t.exports=function(t){var s,l=this;if("function"!=typeof l||"[object Function]"!==r.apply(l))throw TypeError("Function.prototype.bind called on incompatible "+l);for(var u=o(arguments,1),c=n(0,l.length-u.length),d=[],f=0;f<c;f++)d[f]="$"+f;if(s=Function("binder","return function ("+a(d,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof s){var r=l.apply(this,i(u,arguments));return Object(r)===r?r:this}return l.apply(t,i(u,arguments))}),l.prototype){var h=function(){};h.prototype=l.prototype,s.prototype=new h,h.prototype=null}return s}},4090:function(t,r,n){"use strict";var i=n(37795);t.exports=Function.prototype.bind||i},8462:function(t){"use strict";var r=function(){return"string"==typeof(function(){}).name},n=Object.getOwnPropertyDescriptor;if(n)try{n([],"length")}catch(t){n=null}r.functionsHaveConfigurableNames=function(){if(!r()||!n)return!1;var t=n(function(){},"name");return!!t&&!!t.configurable};var i=Function.prototype.bind;r.boundFunctionsHaveNames=function(){return r()&&"function"==typeof i&&""!==(function(){}).bind().name},t.exports=r},67286:function(t,r,n){"use strict";var i,o=n(54546),a=n(42321),s=n(69654),l=n(48205),u=n(2976),c=n(48342),d=n(5408),f=n(82885),h=n(14383),m=n(45736),g=n(27130),y=n(22400),v=n(23654),b=n(96890),_=n(82026),w=Function,S=function(t){try{return w('"use strict"; return ('+t+").constructor;")()}catch(t){}},x=n(50326),E=n(70999),k=function(){throw new d},C=x?function(){try{return arguments.callee,k}catch(t){try{return x(arguments,"callee").get}catch(t){return k}}}():k,O=n(32636)(),R=n(21750),T=n(2938),P=n(78354),M=n(49638),I=n(68418),A={},L="undefined"!=typeof Uint8Array&&R?R(Uint8Array):i,N={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":O&&R?R([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":"undefined"==typeof Atomics?i:Atomics,"%BigInt%":"undefined"==typeof BigInt?i:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?i:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?i:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":s,"%Float16Array%":"undefined"==typeof Float16Array?i:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":w,"%GeneratorFunction%":A,"%Int8Array%":"undefined"==typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":O&&R?R(R([][Symbol.iterator]())):i,"%JSON%":"object"==typeof JSON?JSON:i,"%Map%":"undefined"==typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&O&&R?R(new Map()[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?i:Promise,"%Proxy%":"undefined"==typeof Proxy?i:Proxy,"%RangeError%":l,"%ReferenceError%":u,"%Reflect%":"undefined"==typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&O&&R?R(new Set()[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":O&&R?R(""[Symbol.iterator]()):i,"%Symbol%":O?Symbol:i,"%SyntaxError%":c,"%ThrowTypeError%":C,"%TypedArray%":L,"%TypeError%":d,"%Uint8Array%":"undefined"==typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?i:Uint32Array,"%URIError%":f,"%WeakMap%":"undefined"==typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?i:WeakSet,"%Function.prototype.call%":I,"%Function.prototype.apply%":M,"%Object.defineProperty%":E,"%Object.getPrototypeOf%":T,"%Math.abs%":h,"%Math.floor%":m,"%Math.max%":g,"%Math.min%":y,"%Math.pow%":v,"%Math.round%":b,"%Math.sign%":_,"%Reflect.getPrototypeOf%":P};if(R)try{null.error}catch(t){var j=R(R(t));N["%Error.prototype%"]=j}var D=function t(r){var n;if("%AsyncFunction%"===r)n=S("async function () {}");else if("%GeneratorFunction%"===r)n=S("function* () {}");else if("%AsyncGeneratorFunction%"===r)n=S("async function* () {}");else if("%AsyncGenerator%"===r){var i=t("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===r){var o=t("%AsyncGenerator%");o&&R&&(n=R(o.prototype))}return N[r]=n,n},F={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},B=n(4090),$=n(72196),U=B.call(I,Array.prototype.concat),z=B.call(M,Array.prototype.splice),q=B.call(I,String.prototype.replace),Z=B.call(I,String.prototype.slice),H=B.call(I,RegExp.prototype.exec),V=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,G=function(t){var r=Z(t,0,1),n=Z(t,-1);if("%"===r&&"%"!==n)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==r)throw new c("invalid intrinsic syntax, expected opening `%`");var i=[];return q(t,V,function(t,r,n,o){i[i.length]=n?q(o,W,"$1"):r||t}),i},K=function(t,r){var n,i=t;if($(F,i)&&(i="%"+(n=F[i])[0]+"%"),$(N,i)){var o=N[i];if(o===A&&(o=D(i)),void 0===o&&!r)throw new d("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:o}}throw new c("intrinsic "+t+" does not exist!")};t.exports=function(t,r){if("string"!=typeof t||0===t.length)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new d('"allowMissing" argument must be a boolean');if(null===H(/^%?[^%]*%?$/,t))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=G(t),i=n.length>0?n[0]:"",o=K("%"+i+"%",r),a=o.name,s=o.value,l=!1,u=o.alias;u&&(i=u[0],z(n,U([0,1],u)));for(var f=1,h=!0;f<n.length;f+=1){var m=n[f],g=Z(m,0,1),y=Z(m,-1);if(('"'===g||"'"===g||"`"===g||'"'===y||"'"===y||"`"===y)&&g!==y)throw new c("property names with quotes must have matching quotes");if("constructor"!==m&&h||(l=!0),i+="."+m,$(N,a="%"+i+"%"))s=N[a];else if(null!=s){if(!(m in s)){if(!r)throw new d("base intrinsic for "+t+" exists, but the property is not available.");return}if(x&&f+1>=n.length){var v=x(s,m);s=(h=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:s[m]}else h=$(s,m),s=s[m];h&&!l&&(N[a]=s)}}return s}},2938:function(t,r,n){"use strict";t.exports=n(54546).getPrototypeOf||null},78354:function(t){"use strict";t.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},21750:function(t,r,n){"use strict";var i=n(78354),o=n(2938),a=n(5141);t.exports=i?function(t){return i(t)}:o?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("getProto: not an object");return o(t)}:a?function(t){return a(t)}:null},93165:function(t){"use strict";t.exports=Object.getOwnPropertyDescriptor},50326:function(t,r,n){"use strict";var i=n(93165);if(i)try{i([],"length")}catch(t){i=null}t.exports=i},89896:function(t){"use strict";var r="undefined"!=typeof BigInt&&BigInt;t.exports=function(){return"function"==typeof r&&"function"==typeof BigInt&&"bigint"==typeof r(42)&&"bigint"==typeof BigInt(42)}},81181:function(t,r,n){"use strict";var i=n(70999),o=function(){return!!i};o.hasArrayLengthDefineBug=function(){if(!i)return null;try{return 1!==i([],"length",{value:1}).length}catch(t){return!0}},t.exports=o},32636:function(t,r,n){"use strict";var i="undefined"!=typeof Symbol&&Symbol,o=n(66679);t.exports=function(){return"function"==typeof i&&"function"==typeof Symbol&&"symbol"==typeof i("foo")&&"symbol"==typeof Symbol("bar")&&o()}},66679:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),n=Object(r);if("string"==typeof r||"[object Symbol]"!==Object.prototype.toString.call(r)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var i in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},67226:function(t,r,n){"use strict";var i=n(66679);t.exports=function(){return i()&&!!Symbol.toStringTag}},72196:function(t,r,n){"use strict";var i=Function.prototype.call,o=Object.prototype.hasOwnProperty;t.exports=n(4090).call(i,o)},73463:function(t,r,n){"use strict";var i=n(73887),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(t){return i.isMemo(t)?s:l[t.$$typeof]||o}l[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[i.Memo]=s;var c=Object.defineProperty,d=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,g=Object.prototype;t.exports=function t(r,n,i){if("string"!=typeof n){if(g){var o=m(n);o&&o!==g&&t(r,o,i)}var s=d(n);f&&(s=s.concat(f(n)));for(var l=u(r),y=u(n),v=0;v<s.length;++v){var b=s[v];if(!a[b]&&!(i&&i[b])&&!(y&&y[b])&&!(l&&l[b])){var _=h(n,b);try{c(r,b,_)}catch(t){}}}}return r}},43459:function(t,r){"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,y=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,_=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,S=n?Symbol.for("react.scope"):60119;function x(t){if("object"==typeof t&&null!==t){var r=t.$$typeof;switch(r){case i:switch(t=t.type){case d:case f:case a:case l:case s:case m:return t;default:switch(t=t&&t.$$typeof){case c:case h:case v:case y:case u:return t;default:return r}}case o:return r}}}function E(t){return x(t)===f}r.AsyncMode=d,r.ConcurrentMode=f,r.ContextConsumer=c,r.ContextProvider=u,r.Element=i,r.ForwardRef=h,r.Fragment=a,r.Lazy=v,r.Memo=y,r.Portal=o,r.Profiler=l,r.StrictMode=s,r.Suspense=m,r.isAsyncMode=function(t){return E(t)||x(t)===d},r.isConcurrentMode=E,r.isContextConsumer=function(t){return x(t)===c},r.isContextProvider=function(t){return x(t)===u},r.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},r.isForwardRef=function(t){return x(t)===h},r.isFragment=function(t){return x(t)===a},r.isLazy=function(t){return x(t)===v},r.isMemo=function(t){return x(t)===y},r.isPortal=function(t){return x(t)===o},r.isProfiler=function(t){return x(t)===l},r.isStrictMode=function(t){return x(t)===s},r.isSuspense=function(t){return x(t)===m},r.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===f||t===l||t===s||t===m||t===g||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===y||t.$$typeof===u||t.$$typeof===c||t.$$typeof===h||t.$$typeof===_||t.$$typeof===w||t.$$typeof===S||t.$$typeof===b)},r.typeOf=x},73887:function(t,r,n){"use strict";t.exports=n(43459)},8401:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CARRIAGE_RETURN_PLACEHOLDER_REGEX=r.CARRIAGE_RETURN_PLACEHOLDER=r.CARRIAGE_RETURN_REGEX=r.CARRIAGE_RETURN=r.CASE_SENSITIVE_TAG_NAMES_MAP=r.CASE_SENSITIVE_TAG_NAMES=void 0,r.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"],r.CASE_SENSITIVE_TAG_NAMES_MAP=r.CASE_SENSITIVE_TAG_NAMES.reduce(function(t,r){return t[r.toLowerCase()]=r,t},{}),r.CARRIAGE_RETURN="\r",r.CARRIAGE_RETURN_REGEX=RegExp(r.CARRIAGE_RETURN,"g"),r.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),r.CARRIAGE_RETURN_PLACEHOLDER_REGEX=RegExp(r.CARRIAGE_RETURN_PLACEHOLDER,"g")},58166:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){var r,n,m=(t=(0,o.escapeSpecialCharacters)(t)).match(u),g=m&&m[1]?m[1].toLowerCase():"";switch(g){case a:var y=h(t);if(!c.test(t)){var v=y.querySelector(s);null===(r=null==v?void 0:v.parentNode)||void 0===r||r.removeChild(v)}if(!d.test(t)){var v=y.querySelector(l);null===(n=null==v?void 0:v.parentNode)||void 0===n||n.removeChild(v)}return y.querySelectorAll(a);case s:case l:var b=f(t).querySelectorAll(g);if(d.test(t)&&c.test(t))return b[0].parentNode.childNodes;return b;default:if(i)return i(t);var v=f(t,l).querySelector(l);return v.childNodes}};var i,o=n(41594),a="html",s="head",l="body",u=/<([a-zA-Z]+[0-9]?)/,c=/<head[^]*>/i,d=/<body[^]*>/i,f=function(t,r){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},h=function(t,r){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},m="object"==typeof window&&window.DOMParser;if("function"==typeof m){var g=new m;f=h=function(t,r){return r&&(t="<".concat(r,">").concat(t,"</").concat(r,">")),g.parseFromString(t,"text/html")}}if("object"==typeof document&&document.implementation){var y=document.implementation.createHTMLDocument();f=function(t,r){if(r){var n=y.documentElement.querySelector(r);return n&&(n.innerHTML=t),y}return y.documentElement.innerHTML=t,y}}var v="object"==typeof document&&document.createElement("template");v&&v.content&&(i=function(t){return v.innerHTML=t,v.content.childNodes})},50307:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){if("string"!=typeof t)throw TypeError("First argument must be a string");if(!t)return[];var r=t.match(s),n=r?r[1]:void 0;return(0,a.formatDOM)((0,o.default)(t),null,n)};var o=i(n(58166)),a=n(41594),s=/<(![a-zA-Z\s]+)>/},41594:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.formatAttributes=a,r.escapeSpecialCharacters=function(t){return t.replace(o.CARRIAGE_RETURN_REGEX,o.CARRIAGE_RETURN_PLACEHOLDER)},r.revertEscapedCharacters=s,r.formatDOM=function t(r,n,l){void 0===n&&(n=null);for(var u,c=[],d=0,f=r.length;d<f;d++){var h=r[d];switch(h.nodeType){case 1:var m=function(t){var r,n=(r=t=t.toLowerCase(),o.CASE_SENSITIVE_TAG_NAMES_MAP[r]);return n||t}(h.nodeName);(u=new i.Element(m,a(h.attributes))).children=t("template"===m?h.content.childNodes:h.childNodes,u);break;case 3:u=new i.Text(s(h.nodeValue));break;case 8:u=new i.Comment(h.nodeValue);break;default:continue}var g=c[d-1]||null;g&&(g.next=u),u.parent=n,u.prev=g,u.next=null,c.push(u)}return l&&((u=new i.ProcessingInstruction(l.substring(0,l.indexOf(" ")).toLowerCase(),l)).next=c[0]||null,u.parent=n,c.unshift(u),c[1]&&(c[1].prev=c[0])),c};var i=n(79959),o=n(8401);function a(t){for(var r={},n=0,i=t.length;n<i;n++){var o=t[n];r[o.name]=o.value}return r}function s(t){return t.replace(o.CARRIAGE_RETURN_PLACEHOLDER_REGEX,o.CARRIAGE_RETURN)}},13683:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t,r){void 0===t&&(t={});var n={},c=!!(t.type&&l[t.type]);for(var d in t){var f=t[d];if((0,i.isCustomAttribute)(d)){n[d]=f;continue}var h=d.toLowerCase(),m=u(h);if(m){var g=(0,i.getPropertyInfo)(m);switch(a.includes(m)&&s.includes(r)&&!c&&(m=u("default"+h)),n[m]=f,g&&g.type){case i.BOOLEAN:n[m]=!0;break;case i.OVERLOADED_BOOLEAN:""===f&&(n[m]=!0)}continue}o.PRESERVE_CUSTOM_ATTRIBUTES&&(n[d]=f)}return(0,o.setStyleProp)(t.style,n),n};var i=n(18701),o=n(54848),a=["checked","value"],s=["input","select","textarea"],l={reset:!0,submit:!0};function u(t){return i.possibleStandardNames[t]}},69239:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function t(r,n){void 0===n&&(n={});for(var i=[],o="function"==typeof n.replace,u=n.transform||s.returnFirstArg,c=n.library||l,d=c.cloneElement,f=c.createElement,h=c.isValidElement,m=r.length,g=0;g<m;g++){var y,v=r[g];if(o){var b=n.replace(v,g);if(h(b)){m>1&&(b=d(b,{key:b.key||g})),i.push(u(b,v,g));continue}}if("text"===v.type){var _=!v.data.trim().length;if(_&&v.parent&&!(0,s.canTextBeChildOfNode)(v.parent)||n.trim&&_)continue;i.push(u(v.data,v,g));continue}var w={};(y=v,s.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===y.type&&(0,s.isCustomComponent)(y.name,y.attribs))?((0,s.setStyleProp)(v.attribs.style,v.attribs),w=v.attribs):v.attribs&&(w=(0,a.default)(v.attribs,v.name));var S=void 0;switch(v.type){case"script":case"style":v.children[0]&&(w.dangerouslySetInnerHTML={__html:v.children[0].data});break;case"tag":"textarea"===v.name&&v.children[0]?w.defaultValue=v.children[0].data:v.children&&v.children.length&&(S=t(v.children,n));break;default:continue}m>1&&(w.key=g),i.push(u(f(v.name,w,S),v,g))}return 1===i.length?i[0]:i};var o=n(2784),a=i(n(13683)),s=n(54848),l={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement}},36088:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.htmlToDOM=r.domToReact=r.attributesToProps=r.Text=r.ProcessingInstruction=r.Element=r.Comment=void 0,r.default=function(t,r){if("string"!=typeof t)throw TypeError("First argument must be a string");return t?(0,a.default)((0,o.default)(t,(null==r?void 0:r.htmlparser2)||l),r):[]};var o=i(n(50307));r.htmlToDOM=o.default,r.attributesToProps=i(n(13683)).default;var a=i(n(69239));r.domToReact=a.default;var s=n(79959);Object.defineProperty(r,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(r,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(r,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(r,"Text",{enumerable:!0,get:function(){return s.Text}});var l={lowerCaseAttributeNames:!1}},54848:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.returnFirstArg=r.canTextBeChildOfNode=r.ELEMENTS_WITH_NO_TEXT_CHILDREN=r.PRESERVE_CUSTOM_ATTRIBUTES=void 0,r.isCustomComponent=function(t,r){return t.includes("-")?!s.has(t):!!(r&&"string"==typeof r.is)},r.setStyleProp=function(t,r){if("string"==typeof t){if(!t.trim()){r.style={};return}try{r.style=(0,a.default)(t,l)}catch(t){r.style={}}}};var o=n(2784),a=i(n(91618)),s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),l={reactCompat:!0};r.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,r.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),r.canTextBeChildOfNode=function(t){return!r.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(t.name)},r.returnFirstArg=function(t){return t}},54014:function(t,r,n){"use strict";function i(t,r,n){function i(t){return t&&t.indexOf("###")>-1?t.replace(/###/g,"."):t}function o(){return!t||"string"==typeof t}for(var a="string"!=typeof r?[].concat(r):r.split(".");a.length>1;){if(o())return{};var s=i(a.shift());!t[s]&&n&&(t[s]=new n),t=t[s]}return o()?{}:{obj:t,k:i(a.shift())}}n.d(r,{Z:()=>eR});var o,a,s,l,u,c,d,f,h,m,g,y,v=[],b=v.forEach,_=v.slice,w=n(85452);function S(t){return t.type===d.literal}function x(t){return t.type===d.number}function E(t){return t.type===d.date}function k(t){return t.type===d.time}function C(t){return t.type===d.select}function O(t){return t.type===d.plural}function R(t){return t.type===d.tag}function T(t){return!!(t&&"object"==typeof t&&t.type===f.number)}function P(t){return!!(t&&"object"==typeof t&&t.type===f.dateTime)}(o=c||(c={}))[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(a=d||(d={}))[a.literal=0]="literal",a[a.argument=1]="argument",a[a.number=2]="number",a[a.date=3]="date",a[a.time=4]="time",a[a.select=5]="select",a[a.plural=6]="plural",a[a.pound=7]="pound",a[a.tag=8]="tag",(s=f||(f={}))[s.number=0]="number",s[s.dateTime=1]="dateTime";var M=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,I=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,A=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,L=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,N=/^(@+)?(\+|#+)?[rs]?$/g,j=/(\*)(0+)|(#+)(0+)|(0+)/g,D=/^(0+)$/;function F(t){var r={};return"r"===t[t.length-1]?r.roundingPriority="morePrecision":"s"===t[t.length-1]&&(r.roundingPriority="lessPrecision"),t.replace(N,function(t,n,i){return"string"!=typeof i?(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length):"+"===i?r.minimumSignificantDigits=n.length:"#"===n[0]?r.maximumSignificantDigits=n.length:(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length+("string"==typeof i?i.length:0)),""}),r}function B(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function $(t){var r=B(t);return r||{}}var U={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},z=new RegExp("^".concat(M.source,"*")),q=new RegExp("".concat(M.source,"*$"));function Z(t,r){return{start:t,end:r}}var H=!!String.prototype.startsWith&&"_a".startsWith("a",1),V=!!String.fromCodePoint,W=!!Object.fromEntries,G=!!String.prototype.codePointAt,K=!!String.prototype.trimStart,X=!!String.prototype.trimEnd,Y=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&0x1fffffffffffff>=Math.abs(t)},J=!0;try{var Q=ea("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");J=(null===(h=Q.exec("a"))||void 0===h?void 0:h[0])==="a"}catch(t){J=!1}var ee=H?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},et=V?String.fromCodePoint:function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];for(var i="",o=r.length,a=0;o>a;){if((t=r[a++])>1114111)throw RangeError(t+" is not a valid code point");i+=t<65536?String.fromCharCode(t):String.fromCharCode(((t-=65536)>>10)+55296,t%1024+56320)}return i},er=W?Object.fromEntries:function(t){for(var r={},n=0;n<t.length;n++){var i=t[n],o=i[0],a=i[1];r[o]=a}return r},en=G?function(t,r){return t.codePointAt(r)}:function(t,r){var n,i=t.length;if(!(r<0)&&!(r>=i)){var o=t.charCodeAt(r);return o<55296||o>56319||r+1===i||(n=t.charCodeAt(r+1))<56320||n>57343?o:(o-55296<<10)+(n-56320)+65536}},ei=K?function(t){return t.trimStart()}:function(t){return t.replace(z,"")},eo=X?function(t){return t.trimEnd()}:function(t){return t.replace(q,"")};function ea(t,r){return new RegExp(t,r)}if(J){var es=ea("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");m=function(t,r){var n;return es.lastIndex=r,null!==(n=es.exec(t)[1])&&void 0!==n?n:""}}else m=function(t,r){for(var n=[];;){var i,o=en(t,r);if(void 0===o||ec(o)||(i=o)>=33&&i<=35||36===i||i>=37&&i<=39||40===i||41===i||42===i||43===i||44===i||45===i||i>=46&&i<=47||i>=58&&i<=59||i>=60&&i<=62||i>=63&&i<=64||91===i||92===i||93===i||94===i||96===i||123===i||124===i||125===i||126===i||161===i||i>=162&&i<=165||166===i||167===i||169===i||171===i||172===i||174===i||176===i||177===i||182===i||187===i||191===i||215===i||247===i||i>=8208&&i<=8213||i>=8214&&i<=8215||8216===i||8217===i||8218===i||i>=8219&&i<=8220||8221===i||8222===i||8223===i||i>=8224&&i<=8231||i>=8240&&i<=8248||8249===i||8250===i||i>=8251&&i<=8254||i>=8257&&i<=8259||8260===i||8261===i||8262===i||i>=8263&&i<=8273||8274===i||8275===i||i>=8277&&i<=8286||i>=8592&&i<=8596||i>=8597&&i<=8601||i>=8602&&i<=8603||i>=8604&&i<=8607||8608===i||i>=8609&&i<=8610||8611===i||i>=8612&&i<=8613||8614===i||i>=8615&&i<=8621||8622===i||i>=8623&&i<=8653||i>=8654&&i<=8655||i>=8656&&i<=8657||8658===i||8659===i||8660===i||i>=8661&&i<=8691||i>=8692&&i<=8959||i>=8960&&i<=8967||8968===i||8969===i||8970===i||8971===i||i>=8972&&i<=8991||i>=8992&&i<=8993||i>=8994&&i<=9e3||9001===i||9002===i||i>=9003&&i<=9083||9084===i||i>=9085&&i<=9114||i>=9115&&i<=9139||i>=9140&&i<=9179||i>=9180&&i<=9185||i>=9186&&i<=9254||i>=9255&&i<=9279||i>=9280&&i<=9290||i>=9291&&i<=9311||i>=9472&&i<=9654||9655===i||i>=9656&&i<=9664||9665===i||i>=9666&&i<=9719||i>=9720&&i<=9727||i>=9728&&i<=9838||9839===i||i>=9840&&i<=10087||10088===i||10089===i||10090===i||10091===i||10092===i||10093===i||10094===i||10095===i||10096===i||10097===i||10098===i||10099===i||10100===i||10101===i||i>=10132&&i<=10175||i>=10176&&i<=10180||10181===i||10182===i||i>=10183&&i<=10213||10214===i||10215===i||10216===i||10217===i||10218===i||10219===i||10220===i||10221===i||10222===i||10223===i||i>=10224&&i<=10239||i>=10240&&i<=10495||i>=10496&&i<=10626||10627===i||10628===i||10629===i||10630===i||10631===i||10632===i||10633===i||10634===i||10635===i||10636===i||10637===i||10638===i||10639===i||10640===i||10641===i||10642===i||10643===i||10644===i||10645===i||10646===i||10647===i||10648===i||i>=10649&&i<=10711||10712===i||10713===i||10714===i||10715===i||i>=10716&&i<=10747||10748===i||10749===i||i>=10750&&i<=11007||i>=11008&&i<=11055||i>=11056&&i<=11076||i>=11077&&i<=11078||i>=11079&&i<=11084||i>=11085&&i<=11123||i>=11124&&i<=11125||i>=11126&&i<=11157||11158===i||i>=11159&&i<=11263||i>=11776&&i<=11777||11778===i||11779===i||11780===i||11781===i||i>=11782&&i<=11784||11785===i||11786===i||11787===i||11788===i||11789===i||i>=11790&&i<=11798||11799===i||i>=11800&&i<=11801||11802===i||11803===i||11804===i||11805===i||i>=11806&&i<=11807||11808===i||11809===i||11810===i||11811===i||11812===i||11813===i||11814===i||11815===i||11816===i||11817===i||i>=11818&&i<=11822||11823===i||i>=11824&&i<=11833||i>=11834&&i<=11835||i>=11836&&i<=11839||11840===i||11841===i||11842===i||i>=11843&&i<=11855||i>=11856&&i<=11857||11858===i||i>=11859&&i<=11903||i>=12289&&i<=12291||12296===i||12297===i||12298===i||12299===i||12300===i||12301===i||12302===i||12303===i||12304===i||12305===i||i>=12306&&i<=12307||12308===i||12309===i||12310===i||12311===i||12312===i||12313===i||12314===i||12315===i||12316===i||12317===i||i>=12318&&i<=12319||12320===i||12336===i||64830===i||64831===i||i>=65093&&i<=65094)break;n.push(o),r+=o>=65536?2:1}return et.apply(void 0,n)};var el=function(){function t(t,r){void 0===r&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(123===o){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else if(125===o&&t>0)break;else if(35===o&&("plural"===r||"selectordinal"===r)){var s=this.clonePosition();this.bump(),i.push({type:d.pound,location:Z(s,this.clonePosition())})}else if(60!==o||this.ignoreTag||47!==this.peek())if(60===o&&!this.ignoreTag&&eu(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}else if(!n)return this.error(c.UNMATCHED_CLOSING_TAG,Z(this.clonePosition(),this.clonePosition()));else break}return{val:i,err:null}},t.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:d.literal,value:"<".concat(i,"/>"),location:Z(n,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(c.INVALID_TAG,Z(n,this.clonePosition()));var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,s=this.clonePosition();if(!this.bumpIf("</"))return this.error(c.UNCLOSED_TAG,Z(n,this.clonePosition()));if(this.isEOF()||!eu(this.char()))return this.error(c.INVALID_TAG,Z(s,this.clonePosition()));var l=this.clonePosition();return i!==this.parseTagName()?this.error(c.UNMATCHED_CLOSING_TAG,Z(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:d.tag,value:i,children:a,location:Z(n,this.clonePosition())},err:null}:this.error(c.INVALID_TAG,Z(s,this.clonePosition()))},t.prototype.parseTagName=function(){var t,r=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(r,this.offset())},t.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var l=Z(n,this.clonePosition());return{val:{type:d.literal,value:i,location:l},err:null}},t.prototype.tryParseLeftAngleBracket=function(){var t;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(eu(t=this.peek()||0)||47===t)?null:(this.bump(),"<")},t.prototype.tryParseQuote=function(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n)if(39===this.peek())r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return et.apply(void 0,r)},t.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===r||"selectordinal"===r)||125===n&&t>0?null:(this.bump(),et(n))},t.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,Z(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(c.EMPTY_ARGUMENT,Z(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(c.MALFORMED_ARGUMENT,Z(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,Z(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:d.argument,value:i,location:Z(n,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,Z(n,this.clonePosition()));return this.parseArgumentOptions(t,r,i,n);default:return this.error(c.MALFORMED_ARGUMENT,Z(n,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=m(this.message,r),i=r+n.length;return this.bumpTo(i),{value:n,location:Z(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,r,n,i){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(c.EXPECT_ARGUMENT_TYPE,Z(a,l));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var g=eo(m.val);if(0===g.length)return this.error(c.EXPECT_ARGUMENT_STYLE,Z(this.clonePosition(),this.clonePosition()));u={style:g,styleLocation:Z(h,this.clonePosition())}}var y=this.tryParseArgumentClose(i);if(y.err)return y;var v=Z(i,this.clonePosition());if(u&&ee(null==u?void 0:u.style,"::",0)){var b=ei(u.style.slice(2));if("number"===s){var m=this.parseNumberSkeletonFromString(b,u.styleLocation);if(m.err)return m;return{val:{type:d.number,value:n,location:v,style:m.val},err:null}}if(0===b.length)return this.error(c.EXPECT_DATE_TIME_SKELETON,v);var _,S=b;this.locale&&(S=function(t,r){for(var n="",i=0;i<t.length;i++){var o=t.charAt(i);if("j"===o){for(var a=0;i+1<t.length&&t.charAt(i+1)===o;)a++,i++;var s=1+(1&a),l=a<2?1:3+(a>>1),u=function(t){var r,n=t.hourCycle;if(void 0===n&&t.hourCycles&&t.hourCycles.length&&(n=t.hourCycles[0]),n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var i=t.language;return"root"!==i&&(r=t.maximize().region),(U[r||""]||U[i||""]||U["".concat(i,"-001")]||U["001"])[0]}(r);for(("H"==u||"k"==u)&&(l=0);l-- >0;)n+="a";for(;s-- >0;)n=u+n}else"J"===o?n+="H":n+=o}return n}(b,this.locale));var g={type:f.dateTime,pattern:S,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(_={},S.replace(I,function(t){var r=t.length;switch(t[0]){case"G":_.era=4===r?"long":5===r?"narrow":"short";break;case"y":_.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":_.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":_.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":_.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw RangeError("`e..eee` (weekday) patterns are not supported");_.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");_.weekday=["short","long","narrow","short"][r-4];break;case"a":_.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":_.hourCycle="h12",_.hour=["numeric","2-digit"][r-1];break;case"H":_.hourCycle="h23",_.hour=["numeric","2-digit"][r-1];break;case"K":_.hourCycle="h11",_.hour=["numeric","2-digit"][r-1];break;case"k":_.hourCycle="h24",_.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":_.minute=["numeric","2-digit"][r-1];break;case"s":_.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":_.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),_):{}};return{val:{type:"date"===s?d.date:d.time,value:n,location:v,style:g},err:null}}return{val:{type:"number"===s?d.number:"date"===s?d.date:d.time,value:n,location:v,style:null!==(o=null==u?void 0:u.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var x=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(c.EXPECT_SELECT_ARGUMENT_OPTIONS,Z(x,(0,w.pi)({},x)));this.bumpSpace();var E=this.parseIdentifierIfPossible(),k=0;if("select"!==s&&"offset"===E.value){if(!this.bumpIf(":"))return this.error(c.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Z(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(c.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,c.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),E=this.parseIdentifierIfPossible(),k=m.val}var C=this.tryParsePluralOrSelectOptions(t,s,r,E);if(C.err)return C;var y=this.tryParseArgumentClose(i);if(y.err)return y;var O=Z(i,this.clonePosition());if("select"===s)return{val:{type:d.select,value:n,options:er(C.val),location:O},err:null};return{val:{type:d.plural,value:n,options:er(C.val),offset:k,pluralType:"plural"===s?"cardinal":"ordinal",location:O},err:null};default:return this.error(c.INVALID_ARGUMENT_TYPE,Z(a,l))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,Z(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(c.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Z(n,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(r.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(r.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=function(t){if(0===t.length)throw Error("Number skeleton cannot be empty");for(var r=t.split(A).filter(function(t){return t.length>0}),n=[],i=0;i<r.length;i++){var o=r[i].split("/");if(0===o.length)throw Error("Invalid number skeleton");for(var a=o[0],s=o.slice(1),l=0;l<s.length;l++)if(0===s[l].length)throw Error("Invalid number skeleton");n.push({stem:a,options:s})}return n}(t)}catch(t){return this.error(c.INVALID_NUMBER_SKELETON,r)}return{val:{type:f.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?function(t){for(var r={},n=0;n<t.length;n++){var i=t[n];switch(i.stem){case"percent":case"%":r.style="percent";continue;case"%x100":r.style="percent",r.scale=100;continue;case"currency":r.style="currency",r.currency=i.options[0];continue;case"group-off":case",_":r.useGrouping=!1;continue;case"precision-integer":case".":r.maximumFractionDigits=0;continue;case"measure-unit":case"unit":r.style="unit",r.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":r.notation="compact",r.compactDisplay="short";continue;case"compact-long":case"KK":r.notation="compact",r.compactDisplay="long";continue;case"scientific":r=(0,w.pi)((0,w.pi)((0,w.pi)({},r),{notation:"scientific"}),i.options.reduce(function(t,r){return(0,w.pi)((0,w.pi)({},t),$(r))},{}));continue;case"engineering":r=(0,w.pi)((0,w.pi)((0,w.pi)({},r),{notation:"engineering"}),i.options.reduce(function(t,r){return(0,w.pi)((0,w.pi)({},t),$(r))},{}));continue;case"notation-simple":r.notation="standard";continue;case"unit-width-narrow":r.currencyDisplay="narrowSymbol",r.unitDisplay="narrow";continue;case"unit-width-short":r.currencyDisplay="code",r.unitDisplay="short";continue;case"unit-width-full-name":r.currencyDisplay="name",r.unitDisplay="long";continue;case"unit-width-iso-code":r.currencyDisplay="symbol";continue;case"scale":r.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":r.roundingMode="floor";continue;case"rounding-mode-ceiling":r.roundingMode="ceil";continue;case"rounding-mode-down":r.roundingMode="trunc";continue;case"rounding-mode-up":r.roundingMode="expand";continue;case"rounding-mode-half-even":r.roundingMode="halfEven";continue;case"rounding-mode-half-down":r.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":r.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw RangeError("integer-width stems only accept a single optional option");i.options[0].replace(j,function(t,n,i,o,a,s){if(n)r.minimumIntegerDigits=i.length;else if(o&&a)throw Error("We currently do not support maximum integer digits");else if(s)throw Error("We currently do not support exact integer digits");return""});continue}if(D.test(i.stem)){r.minimumIntegerDigits=i.stem.length;continue}if(L.test(i.stem)){if(i.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(L,function(t,n,i,o,a,s){return"*"===i?r.minimumFractionDigits=n.length:o&&"#"===o[0]?r.maximumFractionDigits=o.length:a&&s?(r.minimumFractionDigits=a.length,r.maximumFractionDigits=a.length+s.length):(r.minimumFractionDigits=n.length,r.maximumFractionDigits=n.length),""});var o=i.options[0];"w"===o?r=(0,w.pi)((0,w.pi)({},r),{trailingZeroDisplay:"stripIfInteger"}):o&&(r=(0,w.pi)((0,w.pi)({},r),F(o)));continue}if(N.test(i.stem)){r=(0,w.pi)((0,w.pi)({},r),F(i.stem));continue}var a=B(i.stem);a&&(r=(0,w.pi)((0,w.pi)({},r),a));var s=function(t){var r;if("E"===t[0]&&"E"===t[1]?(r={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(r={notation:"scientific"},t=t.slice(1)),r){var n=t.slice(0,2);if("+!"===n?(r.signDisplay="always",t=t.slice(2)):"+?"===n&&(r.signDisplay="exceptZero",t=t.slice(2)),!D.test(t))throw Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=t.length}return r}(i.stem);s&&(r=(0,w.pi)((0,w.pi)({},r),s))}return r}(n):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,s=[],l=new Set,u=i.value,d=i.location;;){if(0===u.length){var f=this.clonePosition();if("select"!==r&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(c.EXPECT_PLURAL_ARGUMENT_SELECTOR,c.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;d=Z(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(l.has(u))return this.error("select"===r?c.DUPLICATE_SELECT_ARGUMENT_SELECTOR:c.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,d);"other"===u&&(a=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===r?c.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:c.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Z(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var y=this.tryParseArgumentClose(m);if(y.err)return y;s.push([u,{value:g.val,location:Z(m,this.clonePosition())}]),l.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,d=o.location}return 0===s.length?this.error("select"===r?c.EXPECT_SELECT_ARGUMENT_SELECTOR:c.EXPECT_PLURAL_ARGUMENT_SELECTOR,Z(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(c.MISSING_OTHER_CLAUSE,Z(this.clonePosition(),this.clonePosition())):{val:s,err:null}},t.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,a=10*a+(s-48),this.bump();else break}var l=Z(i,this.clonePosition());return o?Y(a*=n)?{val:a,err:null}:this.error(r,l):this.error(t,l)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=en(this.message,t);if(void 0===r)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},t.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(ee(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&ec(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return null!=n?n:null},t}();function eu(t){return t>=97&&t<=122||t>=65&&t<=90}function ec(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function ed(t,r){void 0===r&&(r={});var n=new el(t,r=(0,w.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},r)).parse();if(n.err){var i=SyntaxError(c[n.err.kind]);throw i.location=n.err.location,i.originalMessage=n.err.message,i}return(null==r?void 0:r.captureLocation)||!function t(r){r.forEach(function(r){if(delete r.location,C(r)||O(r))for(var n in r.options)delete r.options[n].location,t(r.options[n].value);else x(r)&&T(r.style)||(E(r)||k(r))&&P(r.style)?delete r.style.location:R(r)&&t(r.children)})}(n.val),n.val}function ep(t,r){var n=r&&r.cache?r.cache:ey,i=r&&r.serializer?r.serializer:em;return(r&&r.strategy?r.strategy:function(t,r){var n,i,o=1===t.length?ef:eh;return n=r.cache.create(),i=r.serializer,o.bind(this,t,n,i)})(t,{cache:n,serializer:i})}function ef(t,r,n,i){var o=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),a=r.get(o);return void 0===a&&(a=t.call(this,i),r.set(o,a)),a}function eh(t,r,n){var i=Array.prototype.slice.call(arguments,3),o=n(i),a=r.get(o);return void 0===a&&(a=t.apply(this,i),r.set(o,a)),a}var em=function(){return JSON.stringify(arguments)};function eg(){this.cache=Object.create(null)}eg.prototype.get=function(t){return this.cache[t]},eg.prototype.set=function(t,r){this.cache[t]=r};var ey={create:function(){return new eg}},ev={variadic:function(t,r){var n,i;return n=r.cache.create(),i=r.serializer,eh.bind(this,t,n,i)},monadic:function(t,r){var n,i;return n=r.cache.create(),i=r.serializer,ef.bind(this,t,n,i)}};(l=g||(g={})).MISSING_VALUE="MISSING_VALUE",l.INVALID_VALUE="INVALID_VALUE",l.MISSING_INTL_API="MISSING_INTL_API";var eb=function(t){function r(r,n,i){var o=t.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return(0,w.ZT)(r,t),r.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},r}(Error),e_=function(t){function r(r,n,i,o){return t.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),g.INVALID_VALUE,o)||this}return(0,w.ZT)(r,t),r}(eb),ew=function(t){function r(r,n,i){return t.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),g.INVALID_VALUE,i)||this}return(0,w.ZT)(r,t),r}(eb),eS=function(t){function r(r,n){return t.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),g.MISSING_VALUE,n)||this}return(0,w.ZT)(r,t),r}(eb);function ex(t){return{create:function(){return{get:function(r){return t[r]},set:function(r,n){t[r]=n}}}}}(u=y||(y={}))[u.literal=0]="literal",u[u.object=1]="object";var eE=function(){function t(r,n,i,o){var a,s,l=this;if(void 0===n&&(n=t.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var r=l.formatToParts(t);if(1===r.length)return r[0].value;var n=r.reduce(function(t,r){return t.length&&r.type===y.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=r.value:t.push(r.value),t},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(t){return function t(r,n,i,o,a,s,l){if(1===r.length&&S(r[0]))return[{type:y.literal,value:r[0].value}];for(var u=[],c=0;c<r.length;c++){var f=r[c];if(S(f)){u.push({type:y.literal,value:f.value});continue}if(f.type===d.pound){"number"==typeof s&&u.push({type:y.literal,value:i.getNumberFormat(n).format(s)});continue}var h=f.value;if(!(a&&h in a))throw new eS(h,l);var m=a[h];if(f.type===d.argument){m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),u.push({type:"string"==typeof m?y.literal:y.object,value:m});continue}if(E(f)){var v="string"==typeof f.style?o.date[f.style]:P(f.style)?f.style.parsedOptions:void 0;u.push({type:y.literal,value:i.getDateTimeFormat(n,v).format(m)});continue}if(k(f)){var v="string"==typeof f.style?o.time[f.style]:P(f.style)?f.style.parsedOptions:o.time.medium;u.push({type:y.literal,value:i.getDateTimeFormat(n,v).format(m)});continue}if(x(f)){var v="string"==typeof f.style?o.number[f.style]:T(f.style)?f.style.parsedOptions:void 0;v&&v.scale&&(m*=v.scale||1),u.push({type:y.literal,value:i.getNumberFormat(n,v).format(m)});continue}if(R(f)){var b=f.children,_=f.value,w=a[_];if("function"!=typeof w)throw new ew(_,"function",l);var M=w(t(b,n,i,o,a,s).map(function(t){return t.value}));Array.isArray(M)||(M=[M]),u.push.apply(u,M.map(function(t){return{type:"string"==typeof t?y.literal:y.object,value:t}}))}if(C(f)){var I=f.options[m]||f.options.other;if(!I)throw new e_(f.value,m,Object.keys(f.options),l);u.push.apply(u,t(I.value,n,i,o,a));continue}if(O(f)){var I=f.options["=".concat(m)];if(!I){if(!Intl.PluralRules)throw new eb('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',g.MISSING_INTL_API,l);var A=i.getPluralRules(n,{type:f.pluralType}).select(m-(f.offset||0));I=f.options[A]||f.options.other}if(!I)throw new e_(f.value,m,Object.keys(f.options),l);u.push.apply(u,t(I.value,n,i,o,a,m-(f.offset||0)));continue}}return u.length<2?u:u.reduce(function(t,r){var n=t[t.length-1];return n&&n.type===y.literal&&r.type===y.literal?n.value+=r.value:t.push(r),t},[])}(l.ast,l.locales,l.formatters,l.formats,t,void 0,l.message)},this.resolvedOptions=function(){var t;return{locale:(null===(t=l.resolvedLocale)||void 0===t?void 0:t.toString())||Intl.NumberFormat.supportedLocalesOf(l.locales)[0]}},this.getAst=function(){return l.ast},this.locales=n,this.resolvedLocale=t.resolveLocale(n),"string"==typeof r){if(this.message=r,!t.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var u=o||{},c=(u.formatters,(0,w._T)(u,["formatters"]));this.ast=t.__parse(r,(0,w.pi)((0,w.pi)({},c),{locale:this.resolvedLocale}))}else this.ast=r;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(a=t.formats,i?Object.keys(a).reduce(function(t,r){var n,o;return t[r]=(n=a[r],(o=i[r])?(0,w.pi)((0,w.pi)((0,w.pi)({},n||{}),o||{}),Object.keys(n).reduce(function(t,r){return t[r]=(0,w.pi)((0,w.pi)({},n[r]),o[r]||{}),t},{})):n),t},(0,w.pi)({},a)):a),this.formatters=o&&o.formatters||(void 0===(s=this.formatterCache)&&(s={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ep(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,(0,w.ev)([void 0],r,!1)))},{cache:ex(s.number),strategy:ev.variadic}),getDateTimeFormat:ep(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,(0,w.ev)([void 0],r,!1)))},{cache:ex(s.dateTime),strategy:ev.variadic}),getPluralRules:ep(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,(0,w.ev)([void 0],r,!1)))},{cache:ex(s.pluralRules),strategy:ev.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){if(void 0!==Intl.Locale){var r=Intl.NumberFormat.supportedLocalesOf(t);return new Intl.Locale(r.length>0?r[0]:"string"==typeof t?t:t[0])}},t.__parse=ed,t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}();function ek(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function eC(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?ek(Object(n),!0).forEach(function(r){var i,o,a;i=t,o=r,a=n[r],o in i?Object.defineProperty(i,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ek(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var eO=function(){var t;function r(t){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.type="i18nFormat",this.mem={},this.init(null,t)}return t=[{key:"init",value:function(t,r){var n=this,i=t&&t.options&&t.options.i18nFormat||{};if(this.options=function(t){return b.call(_.call(arguments,1),function(r){if(r)for(var n in r)void 0===t[n]&&(t[n]=r[n])}),t}(i,r,this.options||{},{memoize:!0,memoizeFallback:!1,bindI18n:"",bindI18nStore:"",parseErrorHandler:function(t,r,n,i){return n},parseLngForICU:function(t){return t}}),this.formats=this.options.formats,t){var o=this.options,a=o.bindI18n,s=o.bindI18nStore,l=o.memoize;t.IntlMessageFormat=eE,t.ICU=this,l&&(a&&t.on(a,function(){return n.clearCache()}),s&&t.store.on(s,function(){return n.clearCache()}))}}},{key:"addUserDefinedFormats",value:function(t){this.formats=this.formats?eC(eC({},this.formats),t):t}},{key:"parse",value:function(t,r,n,o,a,s){var l,u=s&&s.resolved&&s.resolved.res,c=this.options.memoize&&"".concat(n,".").concat(o,".").concat(a.replace(/\./g,"###"));this.options.memoize&&(l=function(t,r){var n=i(t,r),o=n.obj,a=n.k;if(o)return o[a]}(this.mem,c));try{if(!l){var d,f,h,m=this.options.parseLngForICU(n);l=new eE(t,m,this.formats,{ignoreTag:!0}),this.options.memoize&&(this.options.memoizeFallback||!s||u)&&(d=this.mem,f=l,(h=i(d,c,Object)).obj[h.k]=f)}return l.format(r)}catch(n){return this.options.parseErrorHandler(n,a,t,r)}}},{key:"addLookupKeys",value:function(t,r,n,i,o){return t}},{key:"clearCache",value:function(){this.mem={}}}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(r.prototype,t),r}();eO.type="i18nFormat";let eR=eO},74163:function(t,r,n){"use strict";n.d(r,{Z:()=>i});var i=function(t){return{type:"backend",init:function(t,r,n){},read:function(r,n,i){if("function"==typeof t){if(t.length<3){try{var o=t(r,n);o&&"function"==typeof o.then?o.then(function(t){return i(null,t&&t.default||t)}).catch(i):i(null,o)}catch(t){i(t)}return}t(r,n,i);return}i(null,t&&t[r]&&t[r][n])}}}},99842:function(t,r,n){"use strict";n.d(r,{ZP:()=>H});let i={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,r){console&&console[t]&&console[t].apply(console,r)}};let Logger=class Logger{constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||i,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"log","",!0)}warn(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","",!0)}error(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"error","")}deprecate(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,n,i){return i&&!this.debug?null:("string"==typeof t[0]&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new Logger(this.logger,{...{prefix:`${this.prefix}:${t}:`},...this.options})}clone(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new Logger(this.logger,t)}};var o=new Logger;let EventEmitter=class EventEmitter{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(t=>{this.observers[t]||(this.observers[t]=new Map);let n=this.observers[t].get(r)||0;this.observers[t].set(r,n+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(t=>{let[r,i]=t;for(let t=0;t<i;t++)r(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(r=>{let[i,o]=r;for(let r=0;r<o;r++)i.apply(i,[t,...n])})}};let a=()=>{let t,r,n=new Promise((n,i)=>{t=n,r=i});return n.resolve=t,n.reject=r,n},s=t=>null==t?"":""+t,l=(t,r,n)=>{t.forEach(t=>{r[t]&&(n[t]=r[t])})},u=/###/g,c=t=>t&&t.indexOf("###")>-1?t.replace(u,"."):t,d=t=>!t||"string"==typeof t,f=(t,r,n)=>{let i="string"!=typeof r?r:r.split("."),o=0;for(;o<i.length-1;){if(d(t))return{};let r=c(i[o]);!t[r]&&n&&(t[r]=new n),t=Object.prototype.hasOwnProperty.call(t,r)?t[r]:{},++o}return d(t)?{}:{obj:t,k:c(i[o])}},h=(t,r,n)=>{let{obj:i,k:o}=f(t,r,Object);if(void 0!==i||1===r.length){i[o]=n;return}let a=r[r.length-1],s=r.slice(0,r.length-1),l=f(t,s,Object);for(;void 0===l.obj&&s.length;)a=`${s[s.length-1]}.${a}`,(l=f(t,s=s.slice(0,s.length-1),Object))&&l.obj&&void 0!==l.obj[`${l.k}.${a}`]&&(l.obj=void 0);l.obj[`${l.k}.${a}`]=n},m=(t,r,n,i)=>{let{obj:o,k:a}=f(t,r,Object);o[a]=o[a]||[],o[a].push(n)},g=(t,r)=>{let{obj:n,k:i}=f(t,r);if(n)return n[i]},y=(t,r,n)=>{let i=g(t,n);return void 0!==i?i:g(r,n)},v=(t,r,n)=>{for(let i in r)"__proto__"!==i&&"constructor"!==i&&(i in t?"string"==typeof t[i]||t[i]instanceof String||"string"==typeof r[i]||r[i]instanceof String?n&&(t[i]=r[i]):v(t[i],r[i],n):t[i]=r[i]);return t},b=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var _={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};let w=t=>"string"==typeof t?t.replace(/[&<>"'\/]/g,t=>_[t]):t;let RegExpCache=class RegExpCache{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){let r=this.regExpMap.get(t);if(void 0!==r)return r;let n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}};let S=[" ",",","?","!",";"],x=new RegExpCache(20),E=(t,r,n)=>{r=r||"",n=n||"";let i=S.filter(t=>0>r.indexOf(t)&&0>n.indexOf(t));if(0===i.length)return!0;let o=x.getRegExp(`(${i.map(t=>"?"===t?"\\?":t).join("|")})`),a=!o.test(t);if(!a){let r=t.indexOf(n);r>0&&!o.test(t.substring(0,r))&&(a=!0)}return a},k=function(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!t)return;if(t[r])return t[r];let i=r.split(n),o=t;for(let t=0;t<i.length;){let r;if(!o||"object"!=typeof o)return;let a="";for(let s=t;s<i.length;++s)if(s!==t&&(a+=n),a+=i[s],void 0!==(r=o[a])){if(["string","number","boolean"].indexOf(typeof r)>-1&&s<i.length-1)continue;t+=s-t+1;break}o=r}return o},C=t=>t&&t.indexOf("_")>0?t.replace("_","-"):t;let ResourceStore=class ResourceStore extends EventEmitter{constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){0>this.options.ns.indexOf(t)&&this.options.ns.push(t)}removeNamespaces(t){let r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n){let i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,s=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure;t.indexOf(".")>-1?i=t.split("."):(i=[t,r],n&&(Array.isArray(n)?i.push(...n):"string"==typeof n&&a?i.push(...n.split(a)):i.push(n)));let l=g(this.data,i);return(!l&&!r&&!n&&t.indexOf(".")>-1&&(t=i[0],r=i[1],n=i.slice(2).join(".")),l||!s||"string"!=typeof n)?l:k(this.data&&this.data[t]&&this.data[t][r],n,a)}addResource(t,r,n,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,s=[t,r];n&&(s=s.concat(a?n.split(a):n)),t.indexOf(".")>-1&&(s=t.split("."),i=r,r=s[1]),this.addNamespaces(r),h(this.data,s,i),o.silent||this.emit("added",t,r,n,i)}addResources(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let i in n)("string"==typeof n[i]||Array.isArray(n[i]))&&this.addResource(t,r,i,n[i],{silent:!0});i.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,i,o){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},s=[t,r];t.indexOf(".")>-1&&(s=t.split("."),i=n,n=r,r=s[1]),this.addNamespaces(r);let l=g(this.data,s)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?v(l,n,o):l={...l,...n},h(this.data,s,l),a.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return void 0!==this.getResource(t,r)}getResourceBundle(t,r){return(r||(r=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(t,r)}:this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){let r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(t=>r[t]&&Object.keys(r[t]).length>0)}toJSON(){return this.data}};var O={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,r,n,i,o){return t.forEach(t=>{this.processors[t]&&(r=this.processors[t].process(r,n,i,o))}),r}};let R={};let Translator=class Translator extends EventEmitter{constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),l(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=o.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==t)return!1;let n=this.resolve(t,r);return n&&void 0!==n.res}extractFromKey(t,r){let n=void 0!==r.nsSeparator?r.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");let i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=r.ns||this.options.defaultNS||[],a=n&&t.indexOf(n)>-1,s=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!E(t,n,i);if(a&&!s){let r=t.match(this.interpolator.nestingRegexp);if(r&&r.length>0)return{key:t,namespaces:o};let a=t.split(n);(n!==i||n===i&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),t=a.join(i)}return"string"==typeof o&&(o=[o]),{key:t,namespaces:o}}translate(t,r,n){if("object"!=typeof r&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof r&&(r={...r}),r||(r={}),null==t)return"";Array.isArray(t)||(t=[String(t)]);let i=void 0!==r.returnDetails?r.returnDetails:this.options.returnDetails,o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(t[t.length-1],r),l=s[s.length-1],u=r.lng||this.language,c=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&"cimode"===u.toLowerCase()){if(c){let t=r.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${t}${a}`,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:`${l}${t}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:a}let d=this.resolve(t,r),f=d&&d.res,h=d&&d.usedKey||a,m=d&&d.exactUsedKey||a,g=Object.prototype.toString.apply(f),y=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,b="string"!=typeof f&&"boolean"!=typeof f&&"number"!=typeof f;if(v&&f&&b&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(g)&&!("string"==typeof y&&Array.isArray(f))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let t=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,f,{...r,ns:s}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(d.res=t,d.usedParams=this.getUsedParamsDetails(r),d):t}if(o){let t=Array.isArray(f),n=t?[]:{},i=t?m:h;for(let t in f)if(Object.prototype.hasOwnProperty.call(f,t)){let a=`${i}${o}${t}`;n[t]=this.translate(a,{...r,joinArrays:!1,ns:s}),n[t]===a&&(n[t]=f[t])}f=n}}else if(v&&"string"==typeof y&&Array.isArray(f))(f=f.join(y))&&(f=this.extendTranslation(f,t,r,n));else{let i=!1,s=!1,c=void 0!==r.count&&"string"!=typeof r.count,h=Translator.hasDefaultValue(r),m=c?this.pluralResolver.getSuffix(u,r.count,r):"",g=r.ordinal&&c?this.pluralResolver.getSuffix(u,r.count,{ordinal:!1}):"",y=c&&!r.ordinal&&0===r.count&&this.pluralResolver.shouldUseIntlApi(),v=y&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${m}`]||r[`defaultValue${g}`]||r.defaultValue;!this.isValidLookup(f)&&h&&(i=!0,f=v),this.isValidLookup(f)||(s=!0,f=a);let b=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:f,_=h&&v!==f&&this.options.updateMissing;if(s||i||_){if(this.logger.log(_?"updateKey":"missingKey",u,l,a,_?v:f),o){let t=this.resolve(a,{...r,keySeparator:!1});t&&t.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 t=[],n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let r=0;r<n.length;r++)t.push(n[r]);else"all"===this.options.saveMissingTo?t=this.languageUtils.toResolveHierarchy(r.lng||this.language):t.push(r.lng||this.language);let i=(t,n,i)=>{let o=h&&i!==f?i:b;this.options.missingKeyHandler?this.options.missingKeyHandler(t,l,n,o,_,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(t,l,n,o,_,r),this.emit("missingKey",t,l,n,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?t.forEach(t=>{let n=this.pluralResolver.getSuffixes(t,r);y&&r[`defaultValue${this.options.pluralSeparator}zero`]&&0>n.indexOf(`${this.options.pluralSeparator}zero`)&&n.push(`${this.options.pluralSeparator}zero`),n.forEach(n=>{i([t],a+n,r[`defaultValue${n}`]||v)})}):i(t,a,v))}f=this.extendTranslation(f,t,r,d,n),s&&f===a&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${a}`),(s||i)&&this.options.parseMissingKeyHandler&&(f="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,i?f:void 0):this.options.parseMissingKeyHandler(f))}return i?(d.res=f,d.usedParams=this.getUsedParamsDetails(r),d):f}extendTranslation(t,r,n,i,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){let s;n.interpolation&&this.interpolator.init({...n,...{interpolation:{...this.options.interpolation,...n.interpolation}}});let l="string"==typeof t&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(l){let r=t.match(this.interpolator.nestingRegexp);s=r&&r.length}let u=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(u={...this.options.interpolation.defaultVariables,...u}),t=this.interpolator.interpolate(t,u,n.lng||this.language||i.usedLng,n),l){let r=t.match(this.interpolator.nestingRegexp);s<(r&&r.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&i&&i.res&&(n.lng=this.language||i.usedLng),!1!==n.nest&&(t=this.interpolator.nest(t,function(){for(var t=arguments.length,i=Array(t),s=0;s<t;s++)i[s]=arguments[s];return o&&o[0]===i[0]&&!n.context?(a.logger.warn(`It seems you are nesting recursively key: ${i[0]} in key: ${r[0]}`),null):a.translate(...i,r)},n)),n.interpolation&&this.interpolator.reset()}let s=n.postProcess||this.options.postProcess,l="string"==typeof s?[s]:s;return null!=t&&l&&l.length&&!1!==n.applyPostProcessor&&(t=O.handle(l,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t){let r,n,i,o,a,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof t&&(t=[t]),t.forEach(t=>{if(this.isValidLookup(r))return;let l=this.extractFromKey(t,s),u=l.key;n=u;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let d=void 0!==s.count&&"string"!=typeof s.count,f=d&&!s.ordinal&&0===s.count&&this.pluralResolver.shouldUseIntlApi(),h=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,m=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);c.forEach(t=>{this.isValidLookup(r)||(a=t,!R[`${m[0]}-${t}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(R[`${m[0]}-${t}`]=!0,this.logger.warn(`key "${n}" for languages "${m.join(", ")}" won't get resolved as namespace "${a}" 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!!!")),m.forEach(n=>{let a;if(this.isValidLookup(r))return;o=n;let l=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(l,u,n,t,s);else{let t;d&&(t=this.pluralResolver.getSuffix(n,s.count,s));let r=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(l.push(u+t),s.ordinal&&0===t.indexOf(i)&&l.push(u+t.replace(i,this.options.pluralSeparator)),f&&l.push(u+r)),h){let n=`${u}${this.options.contextSeparator}${s.context}`;l.push(n),d&&(l.push(n+t),s.ordinal&&0===t.indexOf(i)&&l.push(n+t.replace(i,this.options.pluralSeparator)),f&&l.push(n+r))}}for(;a=l.pop();)this.isValidLookup(r)||(i=a,r=this.getResource(n,t,a,s))}))})}),{res:r,usedKey:n,exactUsedKey:i,usedLng:o,usedNS:a}}isValidLookup(t){return void 0!==t&&!(!this.options.returnNull&&null===t)&&!(!this.options.returnEmptyString&&""===t)}getResource(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,n,i):this.resourceStore.getResource(t,r,n,i)}getUsedParamsDetails(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.replace&&"string"!=typeof t.replace,n=r?t.replace:t;if(r&&void 0!==t.count&&(n.count=t.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!r)for(let t of(n={...n},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete n[t];return n}static hasDefaultValue(t){let r="defaultValue";for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&void 0!==t[n])return!0;return!1}};let T=t=>t.charAt(0).toUpperCase()+t.slice(1);let LanguageUtil=class LanguageUtil{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=o.create("languageUtils")}getScriptPartFromCode(t){if(!(t=C(t))||0>t.indexOf("-"))return null;let r=t.split("-");return 2===r.length||(r.pop(),"x"===r[r.length-1].toLowerCase())?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(!(t=C(t))||0>t.indexOf("-"))return t;let r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if("string"==typeof t&&t.indexOf("-")>-1){let r=["hans","hant","latn","cyrl","cans","mong","arab"],n=t.split("-");return this.options.lowerCaseLng?n=n.map(t=>t.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=T(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=T(n[1].toLowerCase())),r.indexOf(n[2].toLowerCase())>-1&&(n[2]=T(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){let r;return t?(t.forEach(t=>{if(r)return;let n=this.formatLanguageCode(t);(!this.options.supportedLngs||this.isSupportedCode(n))&&(r=n)}),!r&&this.options.supportedLngs&&t.forEach(t=>{if(r)return;let n=this.getLanguagePartFromCode(t);if(this.isSupportedCode(n))return r=n;r=this.options.supportedLngs.find(t=>{if(t===n||!(0>t.indexOf("-")&&0>n.indexOf("-"))&&(t.indexOf("-")>0&&0>n.indexOf("-")&&t.substring(0,t.indexOf("-"))===n||0===t.indexOf(n)&&n.length>1))return t})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r):null}getFallbackCodes(t,r){if(!t)return[];if("function"==typeof t&&(t=t(r)),"string"==typeof t&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){let n=this.getFallbackCodes(r||this.options.fallbackLng||[],t),i=[],o=t=>{t&&(this.isSupportedCode(t)?i.push(t):this.logger.warn(`rejecting language code not found in supportedLngs: ${t}`))};return"string"==typeof t&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(t))):"string"==typeof t&&o(this.formatLanguageCode(t)),n.forEach(t=>{0>i.indexOf(t)&&o(this.formatLanguageCode(t))}),i}};let P=[{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}],M={1:t=>Number(t>1),2:t=>Number(1!=t),3:t=>0,4:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),5:t=>Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5),6:t=>Number(1==t?0:t>=2&&t<=4?1:2),7:t=>Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),8:t=>Number(1==t?0:2==t?1:8!=t&&11!=t?2:3),9:t=>Number(t>=2),10:t=>Number(1==t?0:2==t?1:t<7?2:t<11?3:4),11:t=>Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3),12:t=>Number(t%10!=1||t%100==11),13:t=>Number(0!==t),14:t=>Number(1==t?0:2==t?1:3==t?2:3),15:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2),16:t=>Number(t%10==1&&t%100!=11?0:0!==t?1:2),17:t=>Number(+(1!=t&&(t%10!=1||t%100==11))),18:t=>Number(0==t?0:1==t?1:2),19:t=>Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3),20:t=>Number(1==t?0:0==t||t%100>0&&t%100<20?1:2),21:t=>Number(t%100==1?1:t%100==2?2:3*(t%100==3||t%100==4)),22:t=>Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)},I=["v1","v2","v3"],A=["v4"],L={zero:0,one:1,two:2,few:3,many:4,other:5},N=()=>{let t={};return P.forEach(r=>{r.lngs.forEach(n=>{t[n]={numbers:r.nr,plurals:M[r.fc]}})}),t};let PluralResolver=class PluralResolver{constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=o.create("pluralResolver"),(!this.options.compatibilityJSON||A.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=N(),this.pluralRulesCache={}}addRule(t,r){this.rules[t]=r}clearCache(){this.pluralRulesCache={}}getRule(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{let n=C("dev"===t?"en":t),i=r.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let a=new Intl.PluralRules(n,{type:i});return this.pluralRulesCache[o]=a,a}catch(t){return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(t,r);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(t,n).map(t=>`${r}${t}`)}getSuffixes(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(t,r);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((t,r)=>L[t]-L[r]).map(t=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${t}`):n.numbers.map(n=>this.getSuffix(t,n,r)):[]}getSuffix(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.getRule(t,n);return i?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(r)}`:this.getSuffixRetroCompatible(i,r):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,r){let n=t.noAbs?t.plurals(r):t.plurals(Math.abs(r)),i=t.numbers[n];this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]&&(2===i?i="plural":1===i&&(i=""));let o=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?`_plural_${i.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!I.includes(this.options.compatibilityJSON)}};let j=function(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=y(t,r,n);return!a&&o&&"string"==typeof n&&void 0===(a=k(t,n,i))&&(a=k(r,n,i)),a},D=t=>t.replace(/\$/g,"$$$$");let Interpolator=class Interpolator{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=o.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(t=>t),this.init(t)}init(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});let{escape:r,escapeValue:n,useRawValueToEscape:i,prefix:o,prefixEscaped:a,suffix:s,suffixEscaped:l,formatSeparator:u,unescapeSuffix:c,unescapePrefix:d,nestingPrefix:f,nestingPrefixEscaped:h,nestingSuffix:m,nestingSuffixEscaped:g,nestingOptionsSeparator:y,maxReplaces:v,alwaysFormat:_}=t.interpolation;this.escape=void 0!==r?r:w,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==i&&i,this.prefix=o?b(o):a||"{{",this.suffix=s?b(s):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=c?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?b(f):h||b("$t("),this.nestingSuffix=m?b(m):g||b(")"),this.nestingOptionsSeparator=y||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==_&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let t=(t,r)=>t&&t.source===r?(t.lastIndex=0,t):RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,n,i){let o,a,l,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=t=>{if(0>t.indexOf(this.formatSeparator)){let o=j(r,u,t,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,n,{...i,...r,interpolationkey:t}):o}let o=t.split(this.formatSeparator),a=o.shift().trim(),s=o.join(this.formatSeparator).trim();return this.format(j(r,u,a,this.options.keySeparator,this.options.ignoreJSONStructure),s,n,{...i,...r,interpolationkey:a})};this.resetRegExp();let d=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,f=i&&i.interpolation&&void 0!==i.interpolation.skipOnVariables?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:t=>D(t)},{regex:this.regexp,safeValue:t=>this.escapeValue?D(this.escape(t)):D(t)}].forEach(r=>{for(l=0;o=r.regex.exec(t);){let n=o[1].trim();if(void 0===(a=c(n)))if("function"==typeof d){let r=d(t,o,i);a="string"==typeof r?r:""}else if(i&&Object.prototype.hasOwnProperty.call(i,n))a="";else if(f){a=o[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${t}`),a="";else"string"==typeof a||this.useRawValueToEscape||(a=s(a));let u=r.safeValue(a);if(t=t.replace(o[0],u),f?(r.regex.lastIndex+=a.length,r.regex.lastIndex-=o[0].length):r.regex.lastIndex=0,++l>=this.maxReplaces)break}}),t}nest(t,r){let n,i,o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=(t,r)=>{let n=this.nestingOptionsSeparator;if(0>t.indexOf(n))return t;let i=t.split(RegExp(`${n}[ ]*{`)),a=`{${i[1]}`;t=i[0];let s=(a=this.interpolate(a,o)).match(/'/g),l=a.match(/"/g);(s&&s.length%2==0&&!l||l.length%2!=0)&&(a=a.replace(/'/g,'"'));try{o=JSON.parse(a),r&&(o={...r,...o})}catch(r){return this.logger.warn(`failed parsing options string in nesting for key ${t}`,r),`${t}${n}${a}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,t};for(;n=this.nestingRegexp.exec(t);){let u=[];(o=(o={...a}).replace&&"string"!=typeof o.replace?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;let c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){let t=n[1].split(this.formatSeparator).map(t=>t.trim());n[1]=t.shift(),u=t,c=!0}if((i=r(l.call(this,n[1].trim(),o),o))&&n[0]===t&&"string"!=typeof i)return i;"string"!=typeof i&&(i=s(i)),i||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${t}`),i=""),c&&(i=u.reduce((t,r)=>this.format(t,r,a.lng,{...a,interpolationkey:n[1].trim()}),i.trim())),t=t.replace(n[0],i),this.regexp.lastIndex=0}return t}};let F=t=>{let r=t.toLowerCase().trim(),n={};if(t.indexOf("(")>-1){let i=t.split("(");r=i[0].toLowerCase().trim();let o=i[1].substring(0,i[1].length-1);"currency"===r&&0>o.indexOf(":")?n.currency||(n.currency=o.trim()):"relativetime"===r&&0>o.indexOf(":")?n.range||(n.range=o.trim()):o.split(";").forEach(t=>{if(t){let[r,...i]=t.split(":"),o=i.join(":").trim().replace(/^'+|'+$/g,""),a=r.trim();n[a]||(n[a]=o),"false"===o&&(n[a]=!1),"true"===o&&(n[a]=!0),isNaN(o)||(n[a]=parseInt(o,10))}})}return{formatName:r,formatOptions:n}},B=t=>{let r={};return(n,i,o)=>{let a=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(a={...a,[o.interpolationkey]:void 0});let s=i+JSON.stringify(a),l=r[s];return l||(l=t(C(i),o),r[s]=l),l(n)}};let Formatter=class Formatter{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=o.create("formatter"),this.options=t,this.formats={number:B((t,r)=>{let n=new Intl.NumberFormat(t,{...r});return t=>n.format(t)}),currency:B((t,r)=>{let n=new Intl.NumberFormat(t,{...r,style:"currency"});return t=>n.format(t)}),datetime:B((t,r)=>{let n=new Intl.DateTimeFormat(t,{...r});return t=>n.format(t)}),relativetime:B((t,r)=>{let n=new Intl.RelativeTimeFormat(t,{...r});return t=>n.format(t,r.range||"day")}),list:B((t,r)=>{let n=new Intl.ListFormat(t,{...r});return t=>n.format(t)})},this.init(t)}init(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=r.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=B(r)}format(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&0>o[0].indexOf(")")&&o.find(t=>t.indexOf(")")>-1)){let t=o.findIndex(t=>t.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,t)].join(this.formatSeparator)}return o.reduce((t,r)=>{let{formatName:o,formatOptions:a}=F(r);if(this.formats[o]){let r=t;try{let s=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},l=s.locale||s.lng||i.locale||i.lng||n;r=this.formats[o](t,l,{...a,...i,...s})}catch(t){this.logger.warn(t)}return r}return this.logger.warn(`there was no format function for ${o}`),t},t)}};let $=(t,r)=>{void 0!==t.pending[r]&&(delete t.pending[r],t.pendingCount--)};let Connector=class Connector extends EventEmitter{constructor(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=o.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,i.backend,i)}queueLoad(t,r,n,i){let o={},a={},s={},l={};return t.forEach(t=>{let i=!0;r.forEach(r=>{let s=`${t}|${r}`;!n.reload&&this.store.hasResourceBundle(t,r)?this.state[s]=2:this.state[s]<0||(1===this.state[s]?void 0===a[s]&&(a[s]=!0):(this.state[s]=1,i=!1,void 0===a[s]&&(a[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[r]&&(l[r]=!0)))}),i||(s[t]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(t,r,n){let i=t.split("|"),o=i[0],a=i[1];r&&this.emit("failedLoading",o,a,r),!r&&n&&this.store.addResourceBundle(o,a,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);let s={};this.queue.forEach(n=>{m(n.loaded,[o],a),$(n,t),r&&n.errors.push(r),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(t=>{s[t]||(s[t]={});let r=n.loaded[t];r.length&&r.forEach(r=>{void 0===s[t][r]&&(s[t][r]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(t=>!t.done)}read(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:i,wait:o,callback:a});return}this.readingCalls++;let s=(s,l)=>{if(this.readingCalls--,this.waitingReads.length>0){let t=this.waitingReads.shift();this.read(t.lng,t.ns,t.fcName,t.tried,t.wait,t.callback)}if(s&&l&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,n,i+1,2*o,a)},o);return}a(s,l)},l=this.backend[n].bind(this.backend);if(2===l.length){try{let n=l(t,r);n&&"function"==typeof n.then?n.then(t=>s(null,t)).catch(s):s(null,n)}catch(t){s(t)}return}return l(t,r,s)}prepareLoading(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=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."),i&&i();"string"==typeof t&&(t=this.languageUtils.toResolveHierarchy(t)),"string"==typeof r&&(r=[r]);let o=this.queueLoad(t,r,n,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(t=>{this.loadOne(t)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t.split("|"),i=n[0],o=n[1];this.read(i,o,"read",void 0,void 0,(n,a)=>{n&&this.logger.warn(`${r}loading namespace ${o} for language ${i} failed`,n),!n&&a&&this.logger.log(`${r}loaded namespace ${o} for language ${i}`,a),this.loaded(t,n,a)})}saveMissing(t,r,n,i,o){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${n}" as the namespace "${r}" 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!!!");return}if(null!=n&&""!==n){if(this.backend&&this.backend.create){let l={...a,isUpdate:o},u=this.backend.create.bind(this.backend);if(u.length<6)try{let o;(o=5===u.length?u(t,r,n,i,l):u(t,r,n,i))&&"function"==typeof o.then?o.then(t=>s(null,t)).catch(s):s(null,o)}catch(t){s(t)}else u(t,r,n,i,s,l)}t&&t[0]&&this.store.addResource(t[0],r,n,i)}}};let U=()=>({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:t=>{let r={};if("object"==typeof t[1]&&(r=t[1]),"string"==typeof t[1]&&(r.defaultValue=t[1]),"string"==typeof t[2]&&(r.tDescription=t[2]),"object"==typeof t[2]||"object"==typeof t[3]){let n=t[3]||t[2];Object.keys(n).forEach(t=>{r[t]=n[t]})}return r},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),z=t=>("string"==typeof t.ns&&(t.ns=[t.ns]),"string"==typeof t.fallbackLng&&(t.fallbackLng=[t.fallbackLng]),"string"==typeof t.fallbackNS&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&0>t.supportedLngs.indexOf("cimode")&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t),q=()=>{},Z=t=>{Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(r=>{"function"==typeof t[r]&&(t[r]=t[r].bind(t))})};let I18n=class I18n extends EventEmitter{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=z(t),this.services={},this.logger=o,this.modules={external:[]},Z(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof r&&(n=r,r={}),!r.defaultNS&&!1!==r.defaultNS&&r.ns&&("string"==typeof r.ns?r.defaultNS=r.ns:0>r.ns.indexOf("translation")&&(r.defaultNS=r.ns[0]));let i=U();this.options={...i,...this.options,...z(r)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),void 0!==r.keySeparator&&(this.options.userDefinedKeySeparator=r.keySeparator),void 0!==r.nsSeparator&&(this.options.userDefinedNsSeparator=r.nsSeparator);let s=t=>t?"function"==typeof t?new t:t:null;if(!this.options.isClone){let r;this.modules.logger?o.init(s(this.modules.logger),this.options):o.init(null,this.options),this.modules.formatter?r=this.modules.formatter:"undefined"!=typeof Intl&&(r=Formatter);let n=new LanguageUtil(this.options);this.store=new ResourceStore(this.options.resources,this.options);let a=this.services;a.logger=o,a.resourceStore=this.store,a.languageUtils=n,a.pluralResolver=new PluralResolver(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),r&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(a.formatter=s(r),a.formatter.init(a,this.options),this.options.interpolation.format=a.formatter.format.bind(a.formatter)),a.interpolator=new Interpolator(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new Connector(s(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];t.emit(r,...i)}),this.modules.languageDetector&&(a.languageDetector=s(this.modules.languageDetector),a.languageDetector.init&&a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=s(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new Translator(this.services,this.options),this.translator.on("*",function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];t.emit(r,...i)}),this.modules.external.forEach(t=>{t.init&&t.init(this)})}if(this.format=this.options.interpolation.format,n||(n=q),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let t=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);t.length>0&&"dev"!==t[0]&&(this.options.lng=t[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(r=>{this[r]=function(){return t.store[r](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(r=>{this[r]=function(){return t.store[r](...arguments),t}});let l=a(),u=()=>{let t=(t,r)=>{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),l.resolve(r),n(t,r)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return t(null,this.t.bind(this));this.changeLanguage(this.options.lng,t)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),l}loadResources(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q,n=r,i="string"==typeof t?t:this.language;if("function"==typeof t&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();let t=[],r=r=>{r&&"cimode"!==r&&this.services.languageUtils.toResolveHierarchy(r).forEach(r=>{"cimode"!==r&&0>t.indexOf(r)&&t.push(r)})};i?r(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(t=>r(t)),this.options.preload&&this.options.preload.forEach(t=>r(t)),this.services.backendConnector.load(t,this.options.ns,t=>{t||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(t)})}else n(null)}reloadResources(t,r,n){let i=a();return"function"==typeof t&&(n=t,t=void 0),"function"==typeof r&&(n=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),n||(n=q),this.services.backendConnector.reload(t,r,t=>{i.resolve(),n(t)}),i}use(t){if(!t)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&O.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}setResolvedLanguage(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1))for(let t=0;t<this.languages.length;t++){let r=this.languages[t];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,r){var n=this;this.isLanguageChangingTo=t;let i=a();this.emit("languageChanging",t);let o=t=>{this.language=t,this.languages=this.services.languageUtils.toResolveHierarchy(t),this.resolvedLanguage=void 0,this.setResolvedLanguage(t)},s=(t,a)=>{a?(o(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit("languageChanged",a),this.logger.log("languageChanged",a)):this.isLanguageChangingTo=void 0,i.resolve(function(){return n.t(...arguments)}),r&&r(t,function(){return n.t(...arguments)})},l=r=>{t||r||!this.services.languageDetector||(r=[]);let n="string"==typeof r?r:this.services.languageUtils.getBestMatchFromCodes(r);n&&(this.language||o(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,t=>{s(t,n)})};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t):l(this.services.languageDetector.detect()),i}getFixedT(t,r,n){var i=this;let o=function(t,r){let a,s;if("object"!=typeof r){for(var l=arguments.length,u=Array(l>2?l-2:0),c=2;c<l;c++)u[c-2]=arguments[c];a=i.options.overloadTranslationOptionHandler([t,r].concat(u))}else a={...r};a.lng=a.lng||o.lng,a.lngs=a.lngs||o.lngs,a.ns=a.ns||o.ns,""!==a.keyPrefix&&(a.keyPrefix=a.keyPrefix||n||o.keyPrefix);let d=i.options.keySeparator||".";return s=a.keyPrefix&&Array.isArray(t)?t.map(t=>`${a.keyPrefix}${d}${t}`):a.keyPrefix?`${a.keyPrefix}${d}${t}`:t,i.t(s,a)};return"string"==typeof t?o.lng=t:o.lngs=t,o.ns=r,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=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;let n=r.lng||this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;let a=(t,r)=>{let n=this.services.backendConnector.state[`${t}|${r}`];return -1===n||0===n||2===n};if(r.precheck){let t=r.precheck(this,a);if(void 0!==t)return t}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,t)&&(!i||a(o,t)))}loadNamespaces(t,r){let n=a();return this.options.ns?("string"==typeof t&&(t=[t]),t.forEach(t=>{0>this.options.ns.indexOf(t)&&this.options.ns.push(t)}),this.loadResources(t=>{n.resolve(),r&&r(t)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){let n=a();"string"==typeof t&&(t=[t]);let i=this.options.preload||[],o=t.filter(t=>0>i.indexOf(t)&&this.services.languageUtils.isSupportedCode(t));return o.length?(this.options.preload=i.concat(o),this.loadResources(t=>{n.resolve(),r&&r(t)}),n):(r&&r(),Promise.resolve())}dir(t){return(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),t)?["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((this.services&&this.services.languageUtils||new LanguageUtil(U())).getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new I18n(t,r)}cloneInstance(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q,n=t.forkResourceStore;n&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},o=new I18n(i);return(void 0!==t.debug||void 0!==t.prefix)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(t=>{o[t]=this[t]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n&&(o.store=new ResourceStore(this.store.data,i),o.services.resourceStore=o.store),o.translator=new Translator(o.services,i),o.translator.on("*",function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];o.emit(t,...n)}),o.init(i,r),o.translator.options=i,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}};let H=I18n.createInstance();H.createInstance=I18n.createInstance,H.createInstance,H.dir,H.init,H.loadResources,H.reloadResources,H.use,H.changeLanguage,H.getFixedT,H.t,H.exists,H.setDefaultNamespace,H.hasLoadedNamespace,H.loadNamespaces,H.loadLanguages},6299:function(t){var r=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,i=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g;function c(t){return t?t.replace(u,""):""}t.exports=function(t,u){if("string"!=typeof t)throw TypeError("First argument must be a string");if(!t)return[];u=u||{};var d=1,f=1;function h(t){var r=t.match(n);r&&(d+=r.length);var i=t.lastIndexOf("\n");f=~i?t.length-i:f+t.length}function m(){var t={line:d,column:f};return function(r){return r.position=new g(t),b(i),r}}function g(t){this.start=t,this.end={line:d,column:f},this.source=u.source}g.prototype.content=t;var y=[];function v(r){var n=Error(u.source+":"+d+":"+f+": "+r);if(n.reason=r,n.filename=u.source,n.line=d,n.column=f,n.source=t,u.silent)y.push(n);else throw n}function b(r){var n=r.exec(t);if(n){var i=n[0];return h(i),t=t.slice(i.length),n}}function _(t){var r;for(t=t||[];r=w();)!1!==r&&t.push(r);return t}function w(){var r=m();if("/"==t.charAt(0)&&"*"==t.charAt(1)){for(var n=2;""!=t.charAt(n)&&("*"!=t.charAt(n)||"/"!=t.charAt(n+1));)++n;if(n+=2,""===t.charAt(n-1))return v("End of comment missing");var i=t.slice(2,n-2);return f+=2,h(i),t=t.slice(n),f+=2,r({type:"comment",comment:i})}}b(i);var S,x=[];for(_(x);S=function(){var t=m(),n=b(o);if(n){if(w(),!b(a))return v("property missing ':'");var i=b(s),u=t({type:"declaration",property:c(n[0].replace(r,"")),value:i?c(i[0].replace(r,"")):""});return b(l),u}}();)!1!==S&&(x.push(S),_(x));return x}},39979:function(t,r,n){"use strict";var i=n(72196),o=n(74294)(),a=n(5408),s={assert:function(t,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new a("`O` is not an object");if("string"!=typeof r)throw new a("`slot` must be a string");if(o.assert(t),!s.has(t,r))throw new a("`"+r+"` is not present on `O`")},get:function(t,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new a("`O` is not an object");if("string"!=typeof r)throw new a("`slot` must be a string");var n=o.get(t);return n&&n["$"+r]},has:function(t,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new a("`O` is not an object");if("string"!=typeof r)throw new a("`slot` must be a string");var n=o.get(t);return!!n&&i(n,"$"+r)},set:function(t,r,n){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new a("`O` is not an object");if("string"!=typeof r)throw new a("`slot` must be a string");var i=o.get(t);i||(i={},o.set(t,i)),i["$"+r]=n}};Object.freeze&&Object.freeze(s),t.exports=s},52635:function(t,r,n){"use strict";var i=n(67226)(),o=n(62680)("Object.prototype.toString"),a=function(t){return(!i||!t||"object"!=typeof t||!(Symbol.toStringTag in t))&&"[object Arguments]"===o(t)},s=function(t){return!!a(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==o(t)&&"[object Function]"===o(t.callee)},l=function(){return a(arguments)}();a.isLegacyArguments=s,t.exports=l?a:s},72226:function(t,r,n){"use strict";var i=n(89429),o=n(8435),a=n(67286)("%ArrayBuffer%",!0),s=o("ArrayBuffer.prototype.byteLength",!0),l=o("Object.prototype.toString"),u=!!a&&!s&&new a(0).slice,c=!!u&&i(u);t.exports=s||c?function(t){if(!t||"object"!=typeof t)return!1;try{return s?s(t):c(t,0),!0}catch(t){return!1}}:a?function(t){return"[object ArrayBuffer]"===l(t)}:function(t){return!1}},64134:function(t,r,n){"use strict";if(n(89896)()){var i=BigInt.prototype.valueOf,o=function(t){try{return i.call(t),!0}catch(t){}return!1};t.exports=function(t){return null!=t&&"boolean"!=typeof t&&"string"!=typeof t&&"number"!=typeof t&&"symbol"!=typeof t&&"function"!=typeof t&&("bigint"==typeof t||o(t))}}else t.exports=function(t){return!1}},38104:function(t,r,n){"use strict";var i=n(8435),o=i("Boolean.prototype.toString"),a=i("Object.prototype.toString"),s=function(t){try{return o(t),!0}catch(t){return!1}},l=n(67226)();t.exports=function(t){return"boolean"==typeof t||null!==t&&"object"==typeof t&&(l?s(t):"[object Boolean]"===a(t))}},9680:function(t){"use strict";var r,n,i=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},o(function(){throw 42},null,r)}catch(t){t!==n&&(o=null)}else o=null;var a=/^\s*class\b/,s=function(t){try{var r=i.call(t);return a.test(r)}catch(t){return!1}},l=function(t){try{if(s(t))return!1;return i.call(t),!0}catch(t){return!1}},u=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,d=!(0 in[,]),f=function(){return!1};if("object"==typeof document){var h=document.all;u.call(h)===u.call(document.all)&&(f=function(t){if((d||!t)&&(void 0===t||"object"==typeof t))try{var r=u.call(t);return("[object HTMLAllCollection]"===r||"[object HTML document.all class]"===r||"[object HTMLCollection]"===r||"[object Object]"===r)&&null==t("")}catch(t){}return!1})}t.exports=o?function(t){if(f(t))return!0;if(!t||"function"!=typeof t&&"object"!=typeof t)return!1;try{o(t,null,r)}catch(t){if(t!==n)return!1}return!s(t)&&l(t)}:function(t){if(f(t))return!0;if(!t||"function"!=typeof t&&"object"!=typeof t)return!1;if(c)return l(t);if(s(t))return!1;var r=u.call(t);return("[object Function]"===r||"[object GeneratorFunction]"===r||!!/^\[object HTML/.test(r))&&l(t)}},54277:function(t,r,n){"use strict";var i=n(8435),o=i("Date.prototype.getDay"),a=function(t){try{return o(t),!0}catch(t){return!1}},s=i("Object.prototype.toString"),l=n(67226)();t.exports=function(t){return"object"==typeof t&&null!==t&&(l?a(t):"[object Date]"===s(t))}},7968:function(t){"use strict";var r,n="function"==typeof Map&&Map.prototype?Map:null,i="function"==typeof Set&&Set.prototype?Set:null;n||(r=function(t){return!1});var o=n?Map.prototype.has:null,a=i?Set.prototype.has:null;r||o||(r=function(t){return!1}),t.exports=r||function(t){if(!t||"object"!=typeof t)return!1;try{if(o.call(t),a)try{a.call(t)}catch(t){return!0}return t instanceof n}catch(t){}return!1}},26550:function(t,r,n){"use strict";var i=n(8435),o=i("Number.prototype.toString"),a=function(t){try{return o(t),!0}catch(t){return!1}},s=i("Object.prototype.toString"),l=n(67226)();t.exports=function(t){return"number"==typeof t||!!t&&"object"==typeof t&&(l?a(t):"[object Number]"===s(t))}},58786:function(t,r,n){"use strict";var i,o=n(8435),a=n(67226)(),s=n(72196),l=n(50326);if(a){var u=o("RegExp.prototype.exec"),c={},d=function(){throw c},f={toString:d,valueOf:d};"symbol"==typeof Symbol.toPrimitive&&(f[Symbol.toPrimitive]=d),i=function(t){if(!t||"object"!=typeof t)return!1;var r=l(t,"lastIndex");if(!(r&&s(r,"value")))return!1;try{u(t,f)}catch(t){return t===c}}}else{var h=o("Object.prototype.toString");i=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"[object RegExp]"===h(t)}}t.exports=i},13328:function(t){"use strict";var r,n="function"==typeof Map&&Map.prototype?Map:null,i="function"==typeof Set&&Set.prototype?Set:null;i||(r=function(t){return!1});var o=n?Map.prototype.has:null,a=i?Set.prototype.has:null;r||a||(r=function(t){return!1}),t.exports=r||function(t){if(!t||"object"!=typeof t)return!1;try{if(a.call(t),o)try{o.call(t)}catch(t){return!0}return t instanceof i}catch(t){}return!1}},58453:function(t,r,n){"use strict";var i=n(8435)("SharedArrayBuffer.prototype.byteLength",!0);t.exports=i?function(t){if(!t||"object"!=typeof t)return!1;try{return i(t),!0}catch(t){return!1}}:function(t){return!1}},26302:function(t,r,n){"use strict";var i=n(8435),o=i("String.prototype.valueOf"),a=function(t){try{return o(t),!0}catch(t){return!1}},s=i("Object.prototype.toString"),l=n(67226)();t.exports=function(t){return"string"==typeof t||!!t&&"object"==typeof t&&(l?a(t):"[object String]"===s(t))}},88705:function(t,r,n){"use strict";var i=n(8435),o=i("Object.prototype.toString"),a=n(32636)(),s=n(63671);if(a){var l=i("Symbol.prototype.toString"),u=s(/^Symbol\(.*\)$/);t.exports=function(t){if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||"[object Symbol]"!==o(t))return!1;try{return"symbol"==typeof t.valueOf()&&u(l(t))}catch(t){return!1}}}else t.exports=function(t){return!1}},56927:function(t){"use strict";var r,n="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,i="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;n||(r=function(t){return!1});var o=n?n.prototype.has:null,a=i?i.prototype.has:null;r||o||(r=function(t){return!1}),t.exports=r||function(t){if(!t||"object"!=typeof t)return!1;try{if(o.call(t,o),a)try{a.call(t,a)}catch(t){return!0}return t instanceof n}catch(t){}return!1}},7938:function(t,r,n){"use strict";var i=n(67286),o=n(62680),a=i("%WeakSet%",!0),s=o("WeakSet.prototype.has",!0);if(s){var l=o("WeakMap.prototype.has",!0);t.exports=function(t){if(!t||"object"!=typeof t)return!1;try{if(s(t,s),l)try{l(t,l)}catch(t){return!0}return t instanceof a}catch(t){}return!1}}else t.exports=function(t){return!1}},77906:function(t){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},76635:function(t,r,n){t=n.nmd(t),(function(){var i,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=1/0,u=0/0,c=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],d="[object Arguments]",f="[object Array]",h="[object Boolean]",m="[object Date]",g="[object Error]",y="[object Function]",v="[object GeneratorFunction]",b="[object Map]",_="[object Number]",w="[object Object]",S="[object Promise]",x="[object RegExp]",E="[object Set]",k="[object String]",C="[object Symbol]",O="[object WeakMap]",R="[object ArrayBuffer]",T="[object DataView]",P="[object Float32Array]",M="[object Float64Array]",I="[object Int8Array]",A="[object Int16Array]",L="[object Int32Array]",N="[object Uint8Array]",j="[object Uint8ClampedArray]",D="[object Uint16Array]",F="[object Uint32Array]",B=/\b__p \+= '';/g,$=/\b(__p \+=) '' \+/g,U=/(__e\(.*?\)|\b__t\)) \+\n'';/g,z=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,Z=RegExp(z.source),H=RegExp(q.source),V=/<%-([\s\S]+?)%>/g,W=/<%([\s\S]+?)%>/g,G=/<%=([\s\S]+?)%>/g,K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\w*$/,Y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,J=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(J.source),ee=/^\s+/,et=/\s/,er=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,en=/\{\n\/\* \[wrapped with (.+)\] \*/,ei=/,? & /,eo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ea=/[()=,{}\[\]\/\s]/,es=/\\(\\)?/g,el=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,eu=/\w*$/,ec=/^[-+]0x[0-9a-f]+$/i,ed=/^0b[01]+$/i,ep=/^\[object .+?Constructor\]$/,ef=/^0o[0-7]+$/i,eh=/^(?:0|[1-9]\d*)$/,em=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,eg=/($^)/,ey=/['\n\r\u2028\u2029\\]/g,ev="\ud800-\udfff",eb="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",e_="\\u2700-\\u27bf",ew="a-z\\xdf-\\xf6\\xf8-\\xff",eS="A-Z\\xc0-\\xd6\\xd8-\\xde",ex="\\ufe0e\\ufe0f",eE="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ek="['\u2019]",eC="["+eE+"]",eO="["+eb+"]",eR="["+ew+"]",eT="[^"+ev+eE+"\\d+"+e_+ew+eS+"]",eP="\ud83c[\udffb-\udfff]",eM="[^"+ev+"]",eI="(?:\ud83c[\udde6-\uddff]){2}",eA="[\ud800-\udbff][\udc00-\udfff]",eL="["+eS+"]",eN="\\u200d",ej="(?:"+eR+"|"+eT+")",eD="(?:"+eL+"|"+eT+")",eF="(?:"+ek+"(?:d|ll|m|re|s|t|ve))?",eB="(?:"+ek+"(?:D|LL|M|RE|S|T|VE))?",e$="(?:"+eO+"|"+eP+")?",eU="["+ex+"]?",ez="(?:"+eN+"(?:"+[eM,eI,eA].join("|")+")"+eU+e$+")*",eq=eU+e$+ez,eZ="(?:"+["["+e_+"]",eI,eA].join("|")+")"+eq,eH="(?:"+[eM+eO+"?",eO,eI,eA,"["+ev+"]"].join("|")+")",eV=RegExp(ek,"g"),eW=RegExp(eO,"g"),eG=RegExp(eP+"(?="+eP+")|"+eH+eq,"g"),eK=RegExp([eL+"?"+eR+"+"+eF+"(?="+[eC,eL,"$"].join("|")+")",eD+"+"+eB+"(?="+[eC,eL+ej,"$"].join("|")+")",eL+"?"+ej+"+"+eF,eL+"+"+eB,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",eZ].join("|"),"g"),eX=RegExp("["+eN+ev+eb+ex+"]"),eY=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eJ=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eQ=-1,e0={};e0[P]=e0[M]=e0[I]=e0[A]=e0[L]=e0[N]=e0[j]=e0[D]=e0[F]=!0,e0[d]=e0[f]=e0[R]=e0[h]=e0[T]=e0[m]=e0[g]=e0[y]=e0[b]=e0[_]=e0[w]=e0[x]=e0[E]=e0[k]=e0[O]=!1;var e1={};e1[d]=e1[f]=e1[R]=e1[T]=e1[h]=e1[m]=e1[P]=e1[M]=e1[I]=e1[A]=e1[L]=e1[b]=e1[_]=e1[w]=e1[x]=e1[E]=e1[k]=e1[C]=e1[N]=e1[j]=e1[D]=e1[F]=!0,e1[g]=e1[y]=e1[O]=!1;var e2={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},e5=parseFloat,e3=parseInt,e6="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,e4="object"==typeof self&&self&&self.Object===Object&&self,e8=e6||e4||Function("return this")(),e7=r&&!r.nodeType&&r,e9=e7&&t&&!t.nodeType&&t,te=e9&&e9.exports===e7,tt=te&&e6.process,tr=function(){try{var t=e9&&e9.require&&e9.require("util").types;if(t)return t;return tt&&tt.binding&&tt.binding("util")}catch(t){}}(),tn=tr&&tr.isArrayBuffer,ti=tr&&tr.isDate,to=tr&&tr.isMap,ta=tr&&tr.isRegExp,ts=tr&&tr.isSet,tl=tr&&tr.isTypedArray;function tu(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}function tc(t,r,n,i){for(var o=-1,a=null==t?0:t.length;++o<a;){var s=t[o];r(i,s,n(s),t)}return i}function td(t,r){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==r(t[n],n,t););return t}function tp(t,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!r(t[n],n,t))return!1;return!0}function tf(t,r){for(var n=-1,i=null==t?0:t.length,o=0,a=[];++n<i;){var s=t[n];r(s,n,t)&&(a[o++]=s)}return a}function th(t,r){return!!(null==t?0:t.length)&&tE(t,r,0)>-1}function tm(t,r,n){for(var i=-1,o=null==t?0:t.length;++i<o;)if(n(r,t[i]))return!0;return!1}function tg(t,r){for(var n=-1,i=null==t?0:t.length,o=Array(i);++n<i;)o[n]=r(t[n],n,t);return o}function ty(t,r){for(var n=-1,i=r.length,o=t.length;++n<i;)t[o+n]=r[n];return t}function tv(t,r,n,i){var o=-1,a=null==t?0:t.length;for(i&&a&&(n=t[++o]);++o<a;)n=r(n,t[o],o,t);return n}function tb(t,r,n,i){var o=null==t?0:t.length;for(i&&o&&(n=t[--o]);o--;)n=r(n,t[o],o,t);return n}function t_(t,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(r(t[n],n,t))return!0;return!1}var tw=tR("length");function tS(t,r,n){var i;return n(t,function(t,n,o){if(r(t,n,o))return i=n,!1}),i}function tx(t,r,n,i){for(var o=t.length,a=n+(i?1:-1);i?a--:++a<o;)if(r(t[a],a,t))return a;return -1}function tE(t,r,n){return r==r?function(t,r,n){for(var i=n-1,o=t.length;++i<o;)if(t[i]===r)return i;return -1}(t,r,n):tx(t,tC,n)}function tk(t,r,n,i){for(var o=n-1,a=t.length;++o<a;)if(i(t[o],r))return o;return -1}function tC(t){return t!=t}function tO(t,r){var n=null==t?0:t.length;return n?tM(t,r)/n:u}function tR(t){return function(r){return null==r?i:r[t]}}function tT(t){return function(r){return null==t?i:t[r]}}function tP(t,r,n,i,o){return o(t,function(t,o,a){n=i?(i=!1,t):r(n,t,o,a)}),n}function tM(t,r){for(var n,o=-1,a=t.length;++o<a;){var s=r(t[o]);i!==s&&(n=i===n?s:n+s)}return n}function tI(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}function tA(t){return t?t.slice(0,tK(t)+1).replace(ee,""):t}function tL(t){return function(r){return t(r)}}function tN(t,r){return tg(r,function(r){return t[r]})}function tj(t,r){return t.has(r)}function tD(t,r){for(var n=-1,i=t.length;++n<i&&tE(r,t[n],0)>-1;);return n}function tF(t,r){for(var n=t.length;n--&&tE(r,t[n],0)>-1;);return n}var tB=tT({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"}),t$=tT({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function tU(t){return"\\"+e2[t]}function tz(t){return eX.test(t)}function tq(t){var r=-1,n=Array(t.size);return t.forEach(function(t,i){n[++r]=[i,t]}),n}function tZ(t,r){return function(n){return t(r(n))}}function tH(t,r){for(var n=-1,i=t.length,o=0,a=[];++n<i;){var l=t[n];(l===r||l===s)&&(t[n]=s,a[o++]=n)}return a}function tV(t){var r=-1,n=Array(t.size);return t.forEach(function(t){n[++r]=t}),n}function tW(t){return tz(t)?function(t){for(var r=eG.lastIndex=0;eG.test(t);)++r;return r}(t):tw(t)}function tG(t){return tz(t)?t.match(eG)||[]:t.split("")}function tK(t){for(var r=t.length;r--&&et.test(t.charAt(r)););return r}var tX=tT({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),tY=function t(r){var n,et,ev,eb,e_=(r=null==r?e8:tY.defaults(e8.Object(),r,tY.pick(e8,eJ))).Array,ew=r.Date,eS=r.Error,ex=r.Function,eE=r.Math,ek=r.Object,eC=r.RegExp,eO=r.String,eR=r.TypeError,eT=e_.prototype,eP=ex.prototype,eM=ek.prototype,eI=r["__core-js_shared__"],eA=eP.toString,eL=eM.hasOwnProperty,eN=0,ej=(n=/[^.]+$/.exec(eI&&eI.keys&&eI.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",eD=eM.toString,eF=eA.call(ek),eB=e8._,e$=eC("^"+eA.call(eL).replace(J,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eU=te?r.Buffer:i,ez=r.Symbol,eq=r.Uint8Array,eZ=eU?eU.allocUnsafe:i,eH=tZ(ek.getPrototypeOf,ek),eG=ek.create,eX=eM.propertyIsEnumerable,e2=eT.splice,e6=ez?ez.isConcatSpreadable:i,e4=ez?ez.iterator:i,e7=ez?ez.toStringTag:i,e9=function(){try{var t=i_(ek,"defineProperty");return t({},"",{}),t}catch(t){}}(),tt=r.clearTimeout!==e8.clearTimeout&&r.clearTimeout,tr=ew&&ew.now!==e8.Date.now&&ew.now,tw=r.setTimeout!==e8.setTimeout&&r.setTimeout,tT=eE.ceil,tJ=eE.floor,tQ=ek.getOwnPropertySymbols,t0=eU?eU.isBuffer:i,t1=r.isFinite,t2=eT.join,t5=tZ(ek.keys,ek),t3=eE.max,t6=eE.min,t4=ew.now,t8=r.parseInt,t7=eE.random,t9=eT.reverse,re=i_(r,"DataView"),rt=i_(r,"Map"),rr=i_(r,"Promise"),rn=i_(r,"Set"),ri=i_(r,"WeakMap"),ro=i_(ek,"create"),ra=ri&&new ri,rs={},rl=iH(re),ru=iH(rt),rc=iH(rr),rd=iH(rn),rp=iH(ri),rf=ez?ez.prototype:i,rm=rf?rf.valueOf:i,rg=rf?rf.toString:i;function ry(t){if(o0(t)&&!oq(t)&&!(t instanceof rw)){if(t instanceof r_)return t;if(eL.call(t,"__wrapped__"))return iV(t)}return new r_(t)}var rv=function(){function t(){}return function(r){if(!oQ(r))return{};if(eG)return eG(r);t.prototype=r;var n=new t;return t.prototype=i,n}}();function rb(){}function r_(t,r){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=i}function rw(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=0xffffffff,this.__views__=[]}function rS(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var i=t[r];this.set(i[0],i[1])}}function rx(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var i=t[r];this.set(i[0],i[1])}}function rE(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var i=t[r];this.set(i[0],i[1])}}function rk(t){var r=-1,n=null==t?0:t.length;for(this.__data__=new rE;++r<n;)this.add(t[r])}function rC(t){var r=this.__data__=new rx(t);this.size=r.size}function rO(t,r){var n=oq(t),i=!n&&oz(t),o=!n&&!i&&oW(t),a=!n&&!i&&!o&&o7(t),s=n||i||o||a,l=s?tI(t.length,eO):[],u=l.length;for(var c in t)(r||eL.call(t,c))&&!(s&&("length"==c||o&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||iO(c,u)))&&l.push(c);return l}function rR(t){var r=t.length;return r?t[np(0,r-1)]:i}ry.templateSettings={escape:V,evaluate:W,interpolate:G,variable:"",imports:{_:ry}},ry.prototype=rb.prototype,ry.prototype.constructor=ry,r_.prototype=rv(rb.prototype),r_.prototype.constructor=r_,rw.prototype=rv(rb.prototype),rw.prototype.constructor=rw,rS.prototype.clear=function(){this.__data__=ro?ro(null):{},this.size=0},rS.prototype.delete=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=+!!r,r},rS.prototype.get=function(t){var r=this.__data__;if(ro){var n=r[t];return n===a?i:n}return eL.call(r,t)?r[t]:i},rS.prototype.has=function(t){var r=this.__data__;return ro?r[t]!==i:eL.call(r,t)},rS.prototype.set=function(t,r){var n=this.__data__;return this.size+=+!this.has(t),n[t]=ro&&i===r?a:r,this},rx.prototype.clear=function(){this.__data__=[],this.size=0},rx.prototype.delete=function(t){var r=this.__data__,n=rM(r,t);return!(n<0)&&(n==r.length-1?r.pop():e2.call(r,n,1),--this.size,!0)},rx.prototype.get=function(t){var r=this.__data__,n=rM(r,t);return n<0?i:r[n][1]},rx.prototype.has=function(t){return rM(this.__data__,t)>-1},rx.prototype.set=function(t,r){var n=this.__data__,i=rM(n,t);return i<0?(++this.size,n.push([t,r])):n[i][1]=r,this},rE.prototype.clear=function(){this.size=0,this.__data__={hash:new rS,map:new(rt||rx),string:new rS}},rE.prototype.delete=function(t){var r=iy(this,t).delete(t);return this.size-=+!!r,r},rE.prototype.get=function(t){return iy(this,t).get(t)},rE.prototype.has=function(t){return iy(this,t).has(t)},rE.prototype.set=function(t,r){var n=iy(this,t),i=n.size;return n.set(t,r),this.size+=+(n.size!=i),this},rk.prototype.add=rk.prototype.push=function(t){return this.__data__.set(t,a),this},rk.prototype.has=function(t){return this.__data__.has(t)};function rT(t,r,n){(i===n||oB(t[r],n))&&(i!==n||r in t)||rL(t,r,n)}function rP(t,r,n){var o=t[r];eL.call(t,r)&&oB(o,n)&&(i!==n||r in t)||rL(t,r,n)}function rM(t,r){for(var n=t.length;n--;)if(oB(t[n][0],r))return n;return -1}function rI(t,r,n,i){return rU(t,function(t,o,a){r(i,t,n(t),a)}),i}function rA(t,r){return t&&nV(r,a_(r),t)}function rL(t,r,n){"__proto__"==r&&e9?e9(t,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[r]=n}function rN(t,r){for(var n=-1,o=r.length,a=e_(o),s=null==t;++n<o;)a[n]=s?i:am(t,r[n]);return a}function rj(t,r,n){return t==t&&(i!==n&&(t=t<=n?t:n),i!==r&&(t=t>=r?t:r)),t}function rD(t,r,n,o,a,s){var l,u=1&r,c=2&r,f=4&r;if(n&&(l=a?n(t,o,a,s):n(t)),i!==l)return l;if(!oQ(t))return t;var g=oq(t);if(g){if(O=(S=t).length,B=new S.constructor(O),O&&"string"==typeof S[0]&&eL.call(S,"index")&&(B.index=S.index,B.input=S.input),l=B,!u)return nH(t,l)}else{var S,O,B,$,U,z,q,Z,H=ix(t),V=H==y||H==v;if(oW(t))return nB(t,u);if(H==w||H==d||V&&!a){if(l=c||V?{}:ik(t),!u){return c?($=t,U=(Z=l)&&nV(t,aw(t),Z),nV($,iS($),U)):(z=t,q=rA(l,t),nV(z,iw(z),q))}}else{if(!e1[H])return a?t:{};l=function(t,r,n){var i,o,a=t.constructor;switch(r){case R:return n$(t);case h:case m:return new a(+t);case T:return i=n?n$(t.buffer):t.buffer,new t.constructor(i,t.byteOffset,t.byteLength);case P:case M:case I:case A:case L:case N:case j:case D:case F:return nU(t,n);case b:return new a;case _:case k:return new a(t);case x:return(o=new t.constructor(t.source,eu.exec(t))).lastIndex=t.lastIndex,o;case E:return new a;case C:return rm?ek(rm.call(t)):{}}}(t,H,u)}}s||(s=new rC);var W=s.get(t);if(W)return W;s.set(t,l),o6(t)?t.forEach(function(i){l.add(rD(i,r,n,i,t,s))}):o1(t)&&t.forEach(function(i,o){l.set(o,rD(i,r,n,o,t,s))});var G=f?c?id:ic:c?aw:a_,K=g?i:G(t);return td(K||t,function(i,o){K&&(i=t[o=i]),rP(l,o,rD(i,r,n,o,t,s))}),l}function rF(t,r,n){var o=n.length;if(null==t)return!o;for(t=ek(t);o--;){var a=n[o],s=r[a],l=t[a];if(i===l&&!(a in t)||!s(l))return!1}return!0}function rB(t,r,n){if("function"!=typeof t)throw new eR(o);return iF(function(){t.apply(i,n)},r)}function r$(t,r,n,i){var o=-1,a=th,s=!0,l=t.length,u=[],c=r.length;if(!l)return u;n&&(r=tg(r,tL(n))),i?(a=tm,s=!1):r.length>=200&&(a=tj,s=!1,r=new rk(r));t:for(;++o<l;){var d=t[o],f=null==n?d:n(d);if(d=i||0!==d?d:0,s&&f==f){for(var h=c;h--;)if(r[h]===f)continue t;u.push(d)}else a(r,f,i)||u.push(d)}return u}rC.prototype.clear=function(){this.__data__=new rx,this.size=0},rC.prototype.delete=function(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n},rC.prototype.get=function(t){return this.__data__.get(t)},rC.prototype.has=function(t){return this.__data__.has(t)},rC.prototype.set=function(t,r){var n=this.__data__;if(n instanceof rx){var i=n.__data__;if(!rt||i.length<199)return i.push([t,r]),this.size=++n.size,this;n=this.__data__=new rE(i)}return n.set(t,r),this.size=n.size,this};var rU=nK(rK),rz=nK(rX,!0);function rq(t,r){var n=!0;return rU(t,function(t,i,o){return n=!!r(t,i,o)}),n}function rZ(t,r,n){for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r(s);if(null!=l&&(i===u?l==l&&!o8(l):n(l,u)))var u=l,c=s}return c}function rH(t,r){var n=[];return rU(t,function(t,i,o){r(t,i,o)&&n.push(t)}),n}function rV(t,r,n,i,o){var a=-1,s=t.length;for(n||(n=iC),o||(o=[]);++a<s;){var l=t[a];r>0&&n(l)?r>1?rV(l,r-1,n,i,o):ty(o,l):i||(o[o.length]=l)}return o}var rW=nX(),rG=nX(!0);function rK(t,r){return t&&rW(t,r,a_)}function rX(t,r){return t&&rG(t,r,a_)}function rY(t,r){return tf(r,function(r){return oX(t[r])})}function rJ(t,r){r=nj(r,t);for(var n=0,o=r.length;null!=t&&n<o;)t=t[iZ(r[n++])];return n&&n==o?t:i}function rQ(t,r,n){var i=r(t);return oq(t)?i:ty(i,n(t))}function r0(t){var r;return null==t?i===t?"[object Undefined]":"[object Null]":e7&&e7 in ek(t)?function(t){var r=eL.call(t,e7),n=t[e7];try{t[e7]=i;var o=!0}catch(t){}var a=eD.call(t);return o&&(r?t[e7]=n:delete t[e7]),a}(t):(r=t,eD.call(r))}function r1(t,r){return t>r}function r2(t,r){return null!=t&&eL.call(t,r)}function r5(t,r){return null!=t&&r in ek(t)}function r3(t,r,n){for(var o=n?tm:th,a=t[0].length,s=t.length,l=s,u=e_(s),c=1/0,d=[];l--;){var f=t[l];l&&r&&(f=tg(f,tL(r))),c=t6(f.length,c),u[l]=!n&&(r||a>=120&&f.length>=120)?new rk(l&&f):i}f=t[0];var h=-1,m=u[0];t:for(;++h<a&&d.length<c;){var g=f[h],y=r?r(g):g;if(g=n||0!==g?g:0,!(m?tj(m,y):o(d,y,n))){for(l=s;--l;){var v=u[l];if(!(v?tj(v,y):o(t[l],y,n)))continue t}m&&m.push(y),d.push(g)}}return d}function r6(t,r,n){r=nj(r,t);var o=null==(t=iN(t,r))?t:t[iZ(i5(r))];return null==o?i:tu(o,t,n)}function r4(t){return o0(t)&&r0(t)==d}function r8(t,r,n,o,a){return t===r||(null!=t&&null!=r&&(o0(t)||o0(r))?function(t,r,n,o,a,s){var l=oq(t),u=oq(r),c=l?f:ix(t),y=u?f:ix(r);c=c==d?w:c,y=y==d?w:y;var v=c==w,S=y==w,O=c==y;if(O&&oW(t)){if(!oW(r))return!1;l=!0,v=!1}if(O&&!v)return s||(s=new rC),l||o7(t)?il(t,r,n,o,a,s):function(t,r,n,i,o,a,s){switch(n){case T:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)break;t=t.buffer,r=r.buffer;case R:if(t.byteLength!=r.byteLength||!a(new eq(t),new eq(r)))break;return!0;case h:case m:case _:return oB(+t,+r);case g:return t.name==r.name&&t.message==r.message;case x:case k:return t==r+"";case b:var l=tq;case E:var u=1&i;if(l||(l=tV),t.size!=r.size&&!u)break;var c=s.get(t);if(c)return c==r;i|=2,s.set(t,r);var d=il(l(t),l(r),i,o,a,s);return s.delete(t),d;case C:if(rm)return rm.call(t)==rm.call(r)}return!1}(t,r,c,n,o,a,s);if(!(1&n)){var P=v&&eL.call(t,"__wrapped__"),M=S&&eL.call(r,"__wrapped__");if(P||M){var I=P?t.value():t,A=M?r.value():r;return s||(s=new rC),a(I,A,n,o,s)}}return!!O&&(s||(s=new rC),function(t,r,n,o,a,s){var l=1&n,u=ic(t),c=u.length;if(c!=ic(r).length&&!l)return!1;for(var d=c;d--;){var f=u[d];if(!(l?f in r:eL.call(r,f)))return!1}var h=s.get(t),m=s.get(r);if(h&&m)return h==r&&m==t;var g=!0;s.set(t,r),s.set(r,t);for(var y=l;++d<c;){var v=t[f=u[d]],b=r[f];if(o)var _=l?o(b,v,f,r,t,s):o(v,b,f,t,r,s);if(!(i===_?v===b||a(v,b,n,o,s):_)){g=!1;break}y||(y="constructor"==f)}if(g&&!y){var w=t.constructor,S=r.constructor;w!=S&&"constructor"in t&&"constructor"in r&&!("function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S)&&(g=!1)}return s.delete(t),s.delete(r),g}(t,r,n,o,a,s))}(t,r,n,o,r8,a):t!=t&&r!=r)}function r7(t,r,n,o){var a=n.length,s=a,l=!o;if(null==t)return!s;for(t=ek(t);a--;){var u=n[a];if(l&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++a<s;){var c=(u=n[a])[0],d=t[c],f=u[1];if(l&&u[2]){if(i===d&&!(c in t))return!1}else{var h=new rC;if(o)var m=o(d,f,c,t,r,h);if(!(i===m?r8(f,d,3,o,h):m))return!1}}return!0}function r9(t){var r;return!(!oQ(t)||(r=t,ej&&ej in r))&&(oX(t)?e$:ep).test(iH(t))}function ne(t){return"function"==typeof t?t:null==t?aV:"object"==typeof t?oq(t)?no(t[0],t[1]):ni(t):a1(t)}function nt(t){if(!iI(t))return t5(t);var r=[];for(var n in ek(t))eL.call(t,n)&&"constructor"!=n&&r.push(n);return r}function nr(t,r){return t<r}function nn(t,r){var n=-1,i=oH(t)?e_(t.length):[];return rU(t,function(t,o,a){i[++n]=r(t,o,a)}),i}function ni(t){var r=ib(t);return 1==r.length&&r[0][2]?iA(r[0][0],r[0][1]):function(n){return n===t||r7(n,t,r)}}function no(t,r){var n;return iT(t)&&(n=r)==n&&!oQ(n)?iA(iZ(t),r):function(n){var o=am(n,t);return i===o&&o===r?ag(n,t):r8(r,o,3)}}function na(t,r,n,o,a){t!==r&&rW(r,function(s,l){if(a||(a=new rC),oQ(s))!function(t,r,n,o,a,s,l){var u=ij(t,n),c=ij(r,n),d=l.get(c);if(d){rT(t,n,d);return}var f=s?s(u,c,n+"",t,r,l):i,h=i===f;if(h){var m=oq(c),g=!m&&oW(c),y=!m&&!g&&o7(c);f=c,m||g||y?oq(u)?f=u:oV(u)?f=nH(u):g?(h=!1,f=nB(c,!0)):y?(h=!1,f=nU(c,!0)):f=[]:o5(c)||oz(c)?(f=u,oz(u)?f=aa(u):(!oQ(u)||oX(u))&&(f=ik(c))):h=!1}h&&(l.set(c,f),a(f,c,o,s,l),l.delete(c)),rT(t,n,f)}(t,r,l,n,na,o,a);else{var u=o?o(ij(t,l),s,l+"",t,r,a):i;i===u&&(u=s),rT(t,l,u)}},aw)}function ns(t,r){var n=t.length;if(n)return iO(r+=r<0?n:0,n)?t[r]:i}function nl(t,r,n){r=r.length?tg(r,function(t){return oq(t)?function(r){return rJ(r,1===t.length?t[0]:t)}:t}):[aV];var i=-1;r=tg(r,tL(ig()));var o=nn(t,function(t,n,o){return{criteria:tg(r,function(r){return r(t)}),index:++i,value:t}}),a=o.length;for(o.sort(function(t,r){return function(t,r,n){for(var i=-1,o=t.criteria,a=r.criteria,s=o.length,l=n.length;++i<s;){var u=nz(o[i],a[i]);if(u){if(i>=l)return u;return u*("desc"==n[i]?-1:1)}}return t.index-r.index}(t,r,n)});a--;)o[a]=o[a].value;return o}function nu(t,r,n){for(var i=-1,o=r.length,a={};++i<o;){var s=r[i],l=rJ(t,s);n(l,s)&&nm(a,nj(s,t),l)}return a}function nc(t,r,n,i){var o=i?tk:tE,a=-1,s=r.length,l=t;for(t===r&&(r=nH(r)),n&&(l=tg(t,tL(n)));++a<s;)for(var u=0,c=r[a],d=n?n(c):c;(u=o(l,d,u,i))>-1;)l!==t&&e2.call(l,u,1),e2.call(t,u,1);return t}function nd(t,r){for(var n=t?r.length:0,i=n-1;n--;){var o=r[n];if(n==i||o!==a){var a=o;iO(o)?e2.call(t,o,1):nR(t,o)}}return t}function np(t,r){return t+tJ(t7()*(r-t+1))}function nf(t,r){var n="";if(!t||r<1||r>0x1fffffffffffff)return n;do r%2&&(n+=t),(r=tJ(r/2))&&(t+=t);while(r);return n}function nh(t,r){return iB(iL(t,r,aV),t+"")}function nm(t,r,n,o){if(!oQ(t))return t;r=nj(r,t);for(var a=-1,s=r.length,l=s-1,u=t;null!=u&&++a<s;){var c=iZ(r[a]),d=n;if("__proto__"===c||"constructor"===c||"prototype"===c)break;if(a!=l){var f=u[c];d=o?o(f,c,u):i,i===d&&(d=oQ(f)?f:iO(r[a+1])?[]:{})}rP(u,c,d),u=u[c]}return t}var ng=ra?function(t,r){return ra.set(t,r),t}:aV,ny=e9?function(t,r){return e9(t,"toString",{configurable:!0,enumerable:!1,value:aq(r),writable:!0})}:aV;function n_(t,r,n){var i=-1,o=t.length;r<0&&(r=-r>o?0:o+r),(n=n>o?o:n)<0&&(n+=o),o=r>n?0:n-r>>>0,r>>>=0;for(var a=e_(o);++i<o;)a[i]=t[i+r];return a}function nw(t,r){var n;return rU(t,function(t,i,o){return!(n=r(t,i,o))}),!!n}function nS(t,r,n){var i=0,o=null==t?i:t.length;if("number"==typeof r&&r==r&&o<=0x7fffffff){for(;i<o;){var a=i+o>>>1,s=t[a];null!==s&&!o8(s)&&(n?s<=r:s<r)?i=a+1:o=a}return o}return nx(t,r,aV,n)}function nx(t,r,n,o){var a=0,s=null==t?0:t.length;if(0===s)return 0;for(var l=(r=n(r))!=r,u=null===r,c=o8(r),d=i===r;a<s;){var f=tJ((a+s)/2),h=n(t[f]),m=i!==h,g=null===h,y=h==h,v=o8(h);if(l)var b=o||y;else b=d?y&&(o||m):u?y&&m&&(o||!g):c?y&&m&&!g&&(o||!v):!g&&!v&&(o?h<=r:h<r);b?a=f+1:s=f}return t6(s,0xfffffffe)}function nE(t,r){for(var n=-1,i=t.length,o=0,a=[];++n<i;){var s=t[n],l=r?r(s):s;if(!n||!oB(l,u)){var u=l;a[o++]=0===s?0:s}}return a}function nk(t){return"number"==typeof t?t:o8(t)?u:+t}function nC(t){if("string"==typeof t)return t;if(oq(t))return tg(t,nC)+"";if(o8(t))return rg?rg.call(t):"";var r=t+"";return"0"==r&&1/t==-l?"-0":r}function nO(t,r,n){var i=-1,o=th,a=t.length,s=!0,l=[],u=l;if(n)s=!1,o=tm;else if(a>=200){var c=r?null:it(t);if(c)return tV(c);s=!1,o=tj,u=new rk}else u=r?[]:l;t:for(;++i<a;){var d=t[i],f=r?r(d):d;if(d=n||0!==d?d:0,s&&f==f){for(var h=u.length;h--;)if(u[h]===f)continue t;r&&u.push(f),l.push(d)}else o(u,f,n)||(u!==l&&u.push(f),l.push(d))}return l}function nR(t,r){return r=nj(r,t),null==(t=iN(t,r))||delete t[iZ(i5(r))]}function nT(t,r,n,i){return nm(t,r,n(rJ(t,r)),i)}function nP(t,r,n,i){for(var o=t.length,a=i?o:-1;(i?a--:++a<o)&&r(t[a],a,t););return n?n_(t,i?0:a,i?a+1:o):n_(t,i?a+1:0,i?o:a)}function nM(t,r){var n=t;return n instanceof rw&&(n=n.value()),tv(r,function(t,r){return r.func.apply(r.thisArg,ty([t],r.args))},n)}function nI(t,r,n){var i=t.length;if(i<2)return i?nO(t[0]):[];for(var o=-1,a=e_(i);++o<i;)for(var s=t[o],l=-1;++l<i;)l!=o&&(a[o]=r$(a[o]||s,t[l],r,n));return nO(rV(a,1),r,n)}function nA(t,r,n){for(var o=-1,a=t.length,s=r.length,l={};++o<a;){var u=o<s?r[o]:i;n(l,t[o],u)}return l}function nL(t){return oV(t)?t:[]}function nN(t){return"function"==typeof t?t:aV}function nj(t,r){return oq(t)?t:iT(t,r)?[t]:iq(as(t))}function nD(t,r,n){var o=t.length;return n=i===n?o:n,!r&&n>=o?t:n_(t,r,n)}var nF=tt||function(t){return e8.clearTimeout(t)};function nB(t,r){if(r)return t.slice();var n=t.length,i=eZ?eZ(n):new t.constructor(n);return t.copy(i),i}function n$(t){var r=new t.constructor(t.byteLength);return new eq(r).set(new eq(t)),r}function nU(t,r){var n=r?n$(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function nz(t,r){if(t!==r){var n=i!==t,o=null===t,a=t==t,s=o8(t),l=i!==r,u=null===r,c=r==r,d=o8(r);if(!u&&!d&&!s&&t>r||s&&l&&c&&!u&&!d||o&&l&&c||!n&&c||!a)return 1;if(!o&&!s&&!d&&t<r||d&&n&&a&&!o&&!s||u&&n&&a||!l&&a||!c)return -1}return 0}function nq(t,r,n,i){for(var o=-1,a=t.length,s=n.length,l=-1,u=r.length,c=t3(a-s,0),d=e_(u+c),f=!i;++l<u;)d[l]=r[l];for(;++o<s;)(f||o<a)&&(d[n[o]]=t[o]);for(;c--;)d[l++]=t[o++];return d}function nZ(t,r,n,i){for(var o=-1,a=t.length,s=-1,l=n.length,u=-1,c=r.length,d=t3(a-l,0),f=e_(d+c),h=!i;++o<d;)f[o]=t[o];for(var m=o;++u<c;)f[m+u]=r[u];for(;++s<l;)(h||o<a)&&(f[m+n[s]]=t[o++]);return f}function nH(t,r){var n=-1,i=t.length;for(r||(r=e_(i));++n<i;)r[n]=t[n];return r}function nV(t,r,n,o){var a=!n;n||(n={});for(var s=-1,l=r.length;++s<l;){var u=r[s],c=o?o(n[u],t[u],u,n,t):i;i===c&&(c=t[u]),a?rL(n,u,c):rP(n,u,c)}return n}function nW(t,r){return function(n,i){var o=oq(n)?tc:rI,a=r?r():{};return o(n,t,ig(i,2),a)}}function nG(t){return nh(function(r,n){var o=-1,a=n.length,s=a>1?n[a-1]:i,l=a>2?n[2]:i;for(s=t.length>3&&"function"==typeof s?(a--,s):i,l&&iR(n[0],n[1],l)&&(s=a<3?i:s,a=1),r=ek(r);++o<a;){var u=n[o];u&&t(r,u,o,s)}return r})}function nK(t,r){return function(n,i){if(null==n)return n;if(!oH(n))return t(n,i);for(var o=n.length,a=r?o:-1,s=ek(n);(r?a--:++a<o)&&!1!==i(s[a],a,s););return n}}function nX(t){return function(r,n,i){for(var o=-1,a=ek(r),s=i(r),l=s.length;l--;){var u=s[t?l:++o];if(!1===n(a[u],u,a))break}return r}}function nY(t){return function(r){var n=tz(r=as(r))?tG(r):i,o=n?n[0]:r.charAt(0),a=n?nD(n,1).join(""):r.slice(1);return o[t]()+a}}function nJ(t){return function(r){return tv(a$(aI(r).replace(eV,"")),t,"")}}function nQ(t){return function(){var r=arguments;switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3]);case 5:return new t(r[0],r[1],r[2],r[3],r[4]);case 6:return new t(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new t(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var n=rv(t.prototype),i=t.apply(n,r);return oQ(i)?i:n}}function n0(t){return function(r,n,o){var a=ek(r);if(!oH(r)){var s=ig(n,3);r=a_(r),n=function(t){return s(a[t],t,a)}}var l=t(r,n,o);return l>-1?a[s?r[l]:l]:i}}function n1(t){return iu(function(r){var n=r.length,a=n,s=r_.prototype.thru;for(t&&r.reverse();a--;){var l=r[a];if("function"!=typeof l)throw new eR(o);if(s&&!u&&"wrapper"==ih(l))var u=new r_([],!0)}for(a=u?a:n;++a<n;){var c=ih(l=r[a]),d="wrapper"==c?ip(l):i;u=d&&iP(d[0])&&424==d[1]&&!d[4].length&&1==d[9]?u[ih(d[0])].apply(u,d[3]):1==l.length&&iP(l)?u[c]():u.thru(l)}return function(){var t=arguments,i=t[0];if(u&&1==t.length&&oq(i))return u.plant(i).value();for(var o=0,a=n?r[o].apply(this,t):i;++o<n;)a=r[o].call(this,a);return a}})}function n2(t,r,n,o,a,s,l,u,c,d){var f=128&r,h=1&r,m=2&r,g=24&r,y=512&r,v=m?i:nQ(t);function b(){for(var _=arguments.length,w=e_(_),S=_;S--;)w[S]=arguments[S];if(g)var x=im(b),E=function(t,r){for(var n=t.length,i=0;n--;)t[n]===r&&++i;return i}(w,x);if(o&&(w=nq(w,o,a,g)),s&&(w=nZ(w,s,l,g)),_-=E,g&&_<d){var k=tH(w,x);return n9(t,r,n2,b.placeholder,n,w,k,u,c,d-_)}var C=h?n:this,O=m?C[t]:t;return _=w.length,u?w=function(t,r){for(var n=t.length,o=t6(r.length,n),a=nH(t);o--;){var s=r[o];t[o]=iO(s,n)?a[s]:i}return t}(w,u):y&&_>1&&w.reverse(),f&&c<_&&(w.length=c),this&&this!==e8&&this instanceof b&&(O=v||nQ(O)),O.apply(C,w)}return b}function n5(t,r){return function(n,i){var o,a;return o=r(i),a={},rK(n,function(r,n,i){t(a,o(r),n,i)}),a}}function n3(t,r){return function(n,o){var a;if(i===n&&i===o)return r;if(i!==n&&(a=n),i!==o){if(i===a)return o;"string"==typeof n||"string"==typeof o?(n=nC(n),o=nC(o)):(n=nk(n),o=nk(o)),a=t(n,o)}return a}}function n6(t){return iu(function(r){return r=tg(r,tL(ig())),nh(function(n){var i=this;return t(r,function(t){return tu(t,i,n)})})})}function n4(t,r){var n=(r=i===r?" ":nC(r)).length;if(n<2)return n?nf(r,t):r;var o=nf(r,tT(t/tW(r)));return tz(r)?nD(tG(o),0,t).join(""):o.slice(0,t)}function n8(t){return function(r,n,o){o&&"number"!=typeof o&&iR(r,n,o)&&(n=o=i),r=ar(r),i===n?(n=r,r=0):n=ar(n),o=i===o?r<n?1:-1:ar(o);for(var a=r,s=n,l=o,u=-1,c=t3(tT((s-a)/(l||1)),0),d=e_(c);c--;)d[t?c:++u]=a,a+=l;return d}}function n7(t){return function(r,n){return("string"!=typeof r||"string"!=typeof n)&&(r=ao(r),n=ao(n)),t(r,n)}}function n9(t,r,n,o,a,s,l,u,c,d){var f=8&r,h=f?l:i,m=f?i:l,g=f?s:i,y=f?i:s;r|=f?32:64,4&(r&=~(f?64:32))||(r&=-4);var v=[t,r,a,g,h,y,m,u,c,d],b=n.apply(i,v);return iP(t)&&iD(b,v),b.placeholder=o,i$(b,t,r)}function ie(t){var r=eE[t];return function(t,n){if(t=ao(t),(n=null==n?0:t6(an(n),292))&&t1(t)){var i=(as(t)+"e").split("e");return+((i=(as(r(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return r(t)}}var it=rn&&1/tV(new rn([,-0]))[1]==l?function(t){return new rn(t)}:aY;function ir(t){return function(r){var n,i,o=ix(r);return o==b?tq(r):o==E?(n=-1,i=Array(r.size),r.forEach(function(t){i[++n]=[t,t]}),i):tg(t(r),function(t){return[t,r[t]]})}}function ii(t,r,n,a,l,u,c,d){var f=2&r;if(!f&&"function"!=typeof t)throw new eR(o);var h=a?a.length:0;if(h||(r&=-97,a=l=i),c=i===c?c:t3(an(c),0),d=i===d?d:an(d),h-=l?l.length:0,64&r){var m=a,g=l;a=l=i}var y=f?i:ip(t),v=[t,r,n,a,l,m,g,u,c,d];if(y&&function(t,r){var n=t[1],i=r[1],o=n|i,a=o<131,l=128==i&&8==n||128==i&&256==n&&t[7].length<=r[8]||384==i&&r[7].length<=r[8]&&8==n;if(a||l){1&i&&(t[2]=r[2],o|=1&n?0:4);var u=r[3];if(u){var c=t[3];t[3]=c?nq(c,u,r[4]):u,t[4]=c?tH(t[3],s):r[4]}(u=r[5])&&(c=t[5],t[5]=c?nZ(c,u,r[6]):u,t[6]=c?tH(t[5],s):r[6]),(u=r[7])&&(t[7]=u),128&i&&(t[8]=null==t[8]?r[8]:t6(t[8],r[8])),null==t[9]&&(t[9]=r[9]),t[0]=r[0],t[1]=o}}(v,y),t=v[0],r=v[1],n=v[2],a=v[3],l=v[4],(d=v[9]=v[9]===i?f?0:t.length:t3(v[9]-h,0))||!(24&r)||(r&=-25),r&&1!=r)8==r||16==r?P=function(t,r,n){var o=nQ(t);function a(){for(var s=arguments.length,l=e_(s),u=s,c=im(a);u--;)l[u]=arguments[u];var d=s<3&&l[0]!==c&&l[s-1]!==c?[]:tH(l,c);return(s-=d.length)<n?n9(t,r,n2,a.placeholder,i,l,d,i,i,n-s):tu(this&&this!==e8&&this instanceof a?o:t,this,l)}return a}(t,r,d):32!=r&&33!=r||l.length?P=n2.apply(i,v):(b=t,_=r,w=n,S=a,x=1&_,E=nQ(b),P=function t(){for(var r=-1,n=arguments.length,i=-1,o=S.length,a=e_(o+n),s=this&&this!==e8&&this instanceof t?E:b;++i<o;)a[i]=S[i];for(;n--;)a[i++]=arguments[++r];return tu(s,x?w:this,a)});else var b,_,w,S,x,E,k,C,O,R,T,P=(k=t,C=r,O=n,R=1&C,T=nQ(k),function t(){return(this&&this!==e8&&this instanceof t?T:k).apply(R?O:this,arguments)});return i$((y?ng:iD)(P,v),t,r)}function io(t,r,n,o){return i===t||oB(t,eM[n])&&!eL.call(o,n)?r:t}function ia(t,r,n,o,a,s){return oQ(t)&&oQ(r)&&(s.set(r,t),na(t,r,i,ia,s),s.delete(r)),t}function is(t){return o5(t)?i:t}function il(t,r,n,o,a,s){var l=1&n,u=t.length,c=r.length;if(u!=c&&!(l&&c>u))return!1;var d=s.get(t),f=s.get(r);if(d&&f)return d==r&&f==t;var h=-1,m=!0,g=2&n?new rk:i;for(s.set(t,r),s.set(r,t);++h<u;){var y=t[h],v=r[h];if(o)var b=l?o(v,y,h,r,t,s):o(y,v,h,t,r,s);if(i!==b){if(b)continue;m=!1;break}if(g){if(!t_(r,function(t,r){if(!tj(g,r)&&(y===t||a(y,t,n,o,s)))return g.push(r)})){m=!1;break}}else if(!(y===v||a(y,v,n,o,s))){m=!1;break}}return s.delete(t),s.delete(r),m}function iu(t){return iB(iL(t,i,iJ),t+"")}function ic(t){return rQ(t,a_,iw)}function id(t){return rQ(t,aw,iS)}var ip=ra?function(t){return ra.get(t)}:aY;function ih(t){for(var r=t.name+"",n=rs[r],i=eL.call(rs,r)?n.length:0;i--;){var o=n[i],a=o.func;if(null==a||a==t)return o.name}return r}function im(t){return(eL.call(ry,"placeholder")?ry:t).placeholder}function ig(){var t=ry.iteratee||aW;return t=t===aW?ne:t,arguments.length?t(arguments[0],arguments[1]):t}function iy(t,r){var n,i,o=t.__data__;return("string"==(i=typeof(n=r))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?o["string"==typeof r?"string":"hash"]:o.map}function ib(t){for(var r=a_(t),n=r.length;n--;){var i,o=r[n],a=t[o];r[n]=[o,a,(i=a)==i&&!oQ(i)]}return r}function i_(t,r){var n=null==t?i:t[r];return r9(n)?n:i}var iw=tQ?function(t){return null==t?[]:tf(tQ(t=ek(t)),function(r){return eX.call(t,r)})}:a3,iS=tQ?function(t){for(var r=[];t;)ty(r,iw(t)),t=eH(t);return r}:a3,ix=r0;function iE(t,r,n){r=nj(r,t);for(var i=-1,o=r.length,a=!1;++i<o;){var s=iZ(r[i]);if(!(a=null!=t&&n(t,s)))break;t=t[s]}return a||++i!=o?a:!!(o=null==t?0:t.length)&&oJ(o)&&iO(s,o)&&(oq(t)||oz(t))}function ik(t){return"function"!=typeof t.constructor||iI(t)?{}:rv(eH(t))}function iC(t){return oq(t)||oz(t)||!!(e6&&t&&t[e6])}function iO(t,r){var n=typeof t;return!!(r=null==r?0x1fffffffffffff:r)&&("number"==n||"symbol"!=n&&eh.test(t))&&t>-1&&t%1==0&&t<r}function iR(t,r,n){if(!oQ(n))return!1;var i=typeof r;return("number"==i?!!(oH(n)&&iO(r,n.length)):"string"==i&&r in n)&&oB(n[r],t)}function iT(t,r){if(oq(t))return!1;var n=typeof t;return!!("number"==n||"symbol"==n||"boolean"==n||null==t||o8(t))||X.test(t)||!K.test(t)||null!=r&&t in ek(r)}function iP(t){var r=ih(t),n=ry[r];if("function"!=typeof n||!(r in rw.prototype))return!1;if(t===n)return!0;var i=ip(n);return!!i&&t===i[0]}(re&&ix(new re(new ArrayBuffer(1)))!=T||rt&&ix(new rt)!=b||rr&&ix(rr.resolve())!=S||rn&&ix(new rn)!=E||ri&&ix(new ri)!=O)&&(ix=function(t){var r=r0(t),n=r==w?t.constructor:i,o=n?iH(n):"";if(o)switch(o){case rl:return T;case ru:return b;case rc:return S;case rd:return E;case rp:return O}return r});var iM=eI?oX:a6;function iI(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||eM)}function iA(t,r){return function(n){return null!=n&&n[t]===r&&(i!==r||t in ek(n))}}function iL(t,r,n){return r=t3(i===r?t.length-1:r,0),function(){for(var i=arguments,o=-1,a=t3(i.length-r,0),s=e_(a);++o<a;)s[o]=i[r+o];o=-1;for(var l=e_(r+1);++o<r;)l[o]=i[o];return l[r]=n(s),tu(t,this,l)}}function iN(t,r){return r.length<2?t:rJ(t,n_(r,0,-1))}function ij(t,r){if(("constructor"!==r||"function"!=typeof t[r])&&"__proto__"!=r)return t[r]}var iD=iU(ng),iF=tw||function(t,r){return e8.setTimeout(t,r)},iB=iU(ny);function i$(t,r,n){var i,o,a,s=r+"";return iB(t,function(t,r){var n=r.length;if(!n)return t;var i=n-1;return r[i]=(n>1?"& ":"")+r[i],r=r.join(n>2?", ":" "),t.replace(er,"{\n/* [wrapped with "+r+"] */\n")}(s,(i=(a=s.match(en))?a[1].split(ei):[],o=n,td(c,function(t){var r="_."+t[0];o&t[1]&&!th(i,r)&&i.push(r)}),i.sort())))}function iU(t){var r=0,n=0;return function(){var o=t4(),a=16-(o-n);if(n=o,a>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(i,arguments)}}function iz(t,r){var n=-1,o=t.length,a=o-1;for(r=i===r?o:r;++n<r;){var s=np(n,a),l=t[s];t[s]=t[n],t[n]=l}return t.length=r,t}var iq=(ev=(et=oA(function(t){var r=[];return 46===t.charCodeAt(0)&&r.push(""),t.replace(Y,function(t,n,i,o){r.push(i?o.replace(es,"$1"):n||t)}),r},function(t){return 500===ev.size&&ev.clear(),t})).cache,et);function iZ(t){if("string"==typeof t||o8(t))return t;var r=t+"";return"0"==r&&1/t==-l?"-0":r}function iH(t){if(null!=t){try{return eA.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function iV(t){if(t instanceof rw)return t.clone();var r=new r_(t.__wrapped__,t.__chain__);return r.__actions__=nH(t.__actions__),r.__index__=t.__index__,r.__values__=t.__values__,r}var iW=nh(function(t,r){return oV(t)?r$(t,rV(r,1,oV,!0)):[]}),iG=nh(function(t,r){var n=i5(r);return oV(n)&&(n=i),oV(t)?r$(t,rV(r,1,oV,!0),ig(n,2)):[]}),iK=nh(function(t,r){var n=i5(r);return oV(n)&&(n=i),oV(t)?r$(t,rV(r,1,oV,!0),i,n):[]});function iX(t,r,n){var i=null==t?0:t.length;if(!i)return -1;var o=null==n?0:an(n);return o<0&&(o=t3(i+o,0)),tx(t,ig(r,3),o)}function iY(t,r,n){var o=null==t?0:t.length;if(!o)return -1;var a=o-1;return i!==n&&(a=an(n),a=n<0?t3(o+a,0):t6(a,o-1)),tx(t,ig(r,3),a,!0)}function iJ(t){return(null==t?0:t.length)?rV(t,1):[]}function iQ(t){return t&&t.length?t[0]:i}var i0=nh(function(t){var r=tg(t,nL);return r.length&&r[0]===t[0]?r3(r):[]}),i1=nh(function(t){var r=i5(t),n=tg(t,nL);return r===i5(n)?r=i:n.pop(),n.length&&n[0]===t[0]?r3(n,ig(r,2)):[]}),i2=nh(function(t){var r=i5(t),n=tg(t,nL);return(r="function"==typeof r?r:i)&&n.pop(),n.length&&n[0]===t[0]?r3(n,i,r):[]});function i5(t){var r=null==t?0:t.length;return r?t[r-1]:i}var i3=nh(i6);function i6(t,r){return t&&t.length&&r&&r.length?nc(t,r):t}var i4=iu(function(t,r){var n=null==t?0:t.length,i=rN(t,r);return nd(t,tg(r,function(t){return iO(t,n)?+t:t}).sort(nz)),i});function i8(t){return null==t?t:t9.call(t)}var i7=nh(function(t){return nO(rV(t,1,oV,!0))}),i9=nh(function(t){var r=i5(t);return oV(r)&&(r=i),nO(rV(t,1,oV,!0),ig(r,2))}),oe=nh(function(t){var r=i5(t);return r="function"==typeof r?r:i,nO(rV(t,1,oV,!0),i,r)});function ot(t){if(!(t&&t.length))return[];var r=0;return t=tf(t,function(t){if(oV(t))return r=t3(t.length,r),!0}),tI(r,function(r){return tg(t,tR(r))})}function or(t,r){if(!(t&&t.length))return[];var n=ot(t);return null==r?n:tg(n,function(t){return tu(r,i,t)})}var on=nh(function(t,r){return oV(t)?r$(t,r):[]}),oi=nh(function(t){return nI(tf(t,oV))}),oo=nh(function(t){var r=i5(t);return oV(r)&&(r=i),nI(tf(t,oV),ig(r,2))}),oa=nh(function(t){var r=i5(t);return r="function"==typeof r?r:i,nI(tf(t,oV),i,r)}),os=nh(ot),ol=nh(function(t){var r=t.length,n=r>1?t[r-1]:i;return n="function"==typeof n?(t.pop(),n):i,or(t,n)});function ou(t){var r=ry(t);return r.__chain__=!0,r}function oc(t,r){return r(t)}var od=iu(function(t){var r=t.length,n=r?t[0]:0,o=this.__wrapped__,a=function(r){return rN(r,t)};return!(r>1)&&!this.__actions__.length&&o instanceof rw&&iO(n)?((o=o.slice(n,+n+ +!!r)).__actions__.push({func:oc,args:[a],thisArg:i}),new r_(o,this.__chain__).thru(function(t){return r&&!t.length&&t.push(i),t})):this.thru(a)}),op=nW(function(t,r,n){eL.call(t,n)?++t[n]:rL(t,n,1)}),of=n0(iX),oh=n0(iY);function om(t,r){return(oq(t)?td:rU)(t,ig(r,3))}function og(t,r){return(oq(t)?function(t,r){for(var n=null==t?0:t.length;n--&&!1!==r(t[n],n,t););return t}:rz)(t,ig(r,3))}var oy=nW(function(t,r,n){eL.call(t,n)?t[n].push(r):rL(t,n,[r])}),ov=nh(function(t,r,n){var i=-1,o="function"==typeof r,a=oH(t)?e_(t.length):[];return rU(t,function(t){a[++i]=o?tu(r,t,n):r6(t,r,n)}),a}),ob=nW(function(t,r,n){rL(t,n,r)});function o_(t,r){return(oq(t)?tg:nn)(t,ig(r,3))}var ow=nW(function(t,r,n){t[+!n].push(r)},function(){return[[],[]]}),oS=nh(function(t,r){if(null==t)return[];var n=r.length;return n>1&&iR(t,r[0],r[1])?r=[]:n>2&&iR(r[0],r[1],r[2])&&(r=[r[0]]),nl(t,rV(r,1),[])}),ox=tr||function(){return e8.Date.now()};function oE(t,r,n){return r=n?i:r,r=t&&null==r?t.length:r,ii(t,128,i,i,i,i,r)}function ok(t,r){var n;if("function"!=typeof r)throw new eR(o);return t=an(t),function(){return--t>0&&(n=r.apply(this,arguments)),t<=1&&(r=i),n}}var oC=nh(function(t,r,n){var i=1;if(n.length){var o=tH(n,im(oC));i|=32}return ii(t,i,r,n,o)}),oO=nh(function(t,r,n){var i=3;if(n.length){var o=tH(n,im(oO));i|=32}return ii(r,i,t,n,o)});function oR(t,r,n){r=n?i:r;var o=ii(t,8,i,i,i,i,i,r);return o.placeholder=oR.placeholder,o}function oT(t,r,n){r=n?i:r;var o=ii(t,16,i,i,i,i,i,r);return o.placeholder=oT.placeholder,o}function oP(t,r,n){var a,s,l,u,c,d,f=0,h=!1,m=!1,g=!0;if("function"!=typeof t)throw new eR(o);function y(r){var n=a,o=s;return a=s=i,f=r,u=t.apply(o,n)}function v(t){var n=t-d,o=t-f;return i===d||n>=r||n<0||m&&o>=l}function b(){var t,n,i,o=ox();if(v(o))return _(o);c=iF(b,(t=o-d,n=o-f,i=r-t,m?t6(i,l-n):i))}function _(t){return(c=i,g&&a)?y(t):(a=s=i,u)}function w(){var t,n=ox(),o=v(n);if(a=arguments,s=this,d=n,o){if(i===c)return f=t=d,c=iF(b,r),h?y(t):u;if(m)return nF(c),c=iF(b,r),y(d)}return i===c&&(c=iF(b,r)),u}return r=ao(r)||0,oQ(n)&&(h=!!n.leading,l=(m="maxWait"in n)?t3(ao(n.maxWait)||0,r):l,g="trailing"in n?!!n.trailing:g),w.cancel=function(){i!==c&&nF(c),f=0,a=d=s=c=i},w.flush=function(){return i===c?u:_(ox())},w}var oM=nh(function(t,r){return rB(t,1,r)}),oI=nh(function(t,r,n){return rB(t,ao(r)||0,n)});function oA(t,r){if("function"!=typeof t||null!=r&&"function"!=typeof r)throw new eR(o);var n=function(){var i=arguments,o=r?r.apply(this,i):i[0],a=n.cache;if(a.has(o))return a.get(o);var s=t.apply(this,i);return n.cache=a.set(o,s)||a,s};return n.cache=new(oA.Cache||rE),n}function oL(t){if("function"!=typeof t)throw new eR(o);return function(){var r=arguments;switch(r.length){case 0:return!t.call(this);case 1:return!t.call(this,r[0]);case 2:return!t.call(this,r[0],r[1]);case 3:return!t.call(this,r[0],r[1],r[2])}return!t.apply(this,r)}}oA.Cache=rE;var oN=nh(function(t,r){var n=(r=1==r.length&&oq(r[0])?tg(r[0],tL(ig())):tg(rV(r,1),tL(ig()))).length;return nh(function(i){for(var o=-1,a=t6(i.length,n);++o<a;)i[o]=r[o].call(this,i[o]);return tu(t,this,i)})}),oj=nh(function(t,r){var n=tH(r,im(oj));return ii(t,32,i,r,n)}),oD=nh(function(t,r){var n=tH(r,im(oD));return ii(t,64,i,r,n)}),oF=iu(function(t,r){return ii(t,256,i,i,i,r)});function oB(t,r){return t===r||t!=t&&r!=r}var o$=n7(r1),oU=n7(function(t,r){return t>=r}),oz=r4(function(){return arguments}())?r4:function(t){return o0(t)&&eL.call(t,"callee")&&!eX.call(t,"callee")},oq=e_.isArray,oZ=tn?tL(tn):function(t){return o0(t)&&r0(t)==R};function oH(t){return null!=t&&oJ(t.length)&&!oX(t)}function oV(t){return o0(t)&&oH(t)}var oW=t0||a6,oG=ti?tL(ti):function(t){return o0(t)&&r0(t)==m};function oK(t){if(!o0(t))return!1;var r=r0(t);return r==g||"[object DOMException]"==r||"string"==typeof t.message&&"string"==typeof t.name&&!o5(t)}function oX(t){if(!oQ(t))return!1;var r=r0(t);return r==y||r==v||"[object AsyncFunction]"==r||"[object Proxy]"==r}function oY(t){return"number"==typeof t&&t==an(t)}function oJ(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}function oQ(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}function o0(t){return null!=t&&"object"==typeof t}var o1=to?tL(to):function(t){return o0(t)&&ix(t)==b};function o2(t){return"number"==typeof t||o0(t)&&r0(t)==_}function o5(t){if(!o0(t)||r0(t)!=w)return!1;var r=eH(t);if(null===r)return!0;var n=eL.call(r,"constructor")&&r.constructor;return"function"==typeof n&&n instanceof n&&eA.call(n)==eF}var o3=ta?tL(ta):function(t){return o0(t)&&r0(t)==x},o6=ts?tL(ts):function(t){return o0(t)&&ix(t)==E};function o4(t){return"string"==typeof t||!oq(t)&&o0(t)&&r0(t)==k}function o8(t){return"symbol"==typeof t||o0(t)&&r0(t)==C}var o7=tl?tL(tl):function(t){return o0(t)&&oJ(t.length)&&!!e0[r0(t)]},o9=n7(nr),ae=n7(function(t,r){return t<=r});function at(t){if(!t)return[];if(oH(t))return o4(t)?tG(t):nH(t);if(e4&&t[e4]){for(var r,n=t[e4](),i=[];!(r=n.next()).done;)i.push(r.value);return i}var o=ix(t);return(o==b?tq:o==E?tV:aT)(t)}function ar(t){return t?(t=ao(t))===l||t===-l?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}function an(t){var r=ar(t),n=r%1;return r==r?n?r-n:r:0}function ai(t){return t?rj(an(t),0,0xffffffff):0}function ao(t){if("number"==typeof t)return t;if(o8(t))return u;if(oQ(t)){var r="function"==typeof t.valueOf?t.valueOf():t;t=oQ(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=tA(t);var n=ed.test(t);return n||ef.test(t)?e3(t.slice(2),n?2:8):ec.test(t)?u:+t}function aa(t){return nV(t,aw(t))}function as(t){return null==t?"":nC(t)}var al=nG(function(t,r){if(iI(r)||oH(r)){nV(r,a_(r),t);return}for(var n in r)eL.call(r,n)&&rP(t,n,r[n])}),au=nG(function(t,r){nV(r,aw(r),t)}),ac=nG(function(t,r,n,i){nV(r,aw(r),t,i)}),ad=nG(function(t,r,n,i){nV(r,a_(r),t,i)}),ap=iu(rN),af=nh(function(t,r){t=ek(t);var n=-1,o=r.length,a=o>2?r[2]:i;for(a&&iR(r[0],r[1],a)&&(o=1);++n<o;)for(var s=r[n],l=aw(s),u=-1,c=l.length;++u<c;){var d=l[u],f=t[d];(i===f||oB(f,eM[d])&&!eL.call(t,d))&&(t[d]=s[d])}return t}),ah=nh(function(t){return t.push(i,ia),tu(ax,i,t)});function am(t,r,n){var o=null==t?i:rJ(t,r);return i===o?n:o}function ag(t,r){return null!=t&&iE(t,r,r5)}var ay=n5(function(t,r,n){null!=r&&"function"!=typeof r.toString&&(r=eD.call(r)),t[r]=n},aq(aV)),av=n5(function(t,r,n){null!=r&&"function"!=typeof r.toString&&(r=eD.call(r)),eL.call(t,r)?t[r].push(n):t[r]=[n]},ig),ab=nh(r6);function a_(t){return oH(t)?rO(t):nt(t)}function aw(t){return oH(t)?rO(t,!0):function(t){if(!oQ(t)){var r=t,n=[];if(null!=r)for(var i in ek(r))n.push(i);return n}var o=iI(t),a=[];for(var s in t)"constructor"==s&&(o||!eL.call(t,s))||a.push(s);return a}(t)}var aS=nG(function(t,r,n){na(t,r,n)}),ax=nG(function(t,r,n,i){na(t,r,n,i)}),aE=iu(function(t,r){var n={};if(null==t)return n;var i=!1;r=tg(r,function(r){return r=nj(r,t),i||(i=r.length>1),r}),nV(t,id(t),n),i&&(n=rD(n,7,is));for(var o=r.length;o--;)nR(n,r[o]);return n}),ak=iu(function(t,r){return null==t?{}:nu(t,r,function(r,n){return ag(t,n)})});function aC(t,r){if(null==t)return{};var n=tg(id(t),function(t){return[t]});return r=ig(r),nu(t,n,function(t,n){return r(t,n[0])})}var aO=ir(a_),aR=ir(aw);function aT(t){return null==t?[]:tN(t,a_(t))}var aP=nJ(function(t,r,n){return r=r.toLowerCase(),t+(n?aM(r):r)});function aM(t){return aB(as(t).toLowerCase())}function aI(t){return(t=as(t))&&t.replace(em,tB).replace(eW,"")}var aA=nJ(function(t,r,n){return t+(n?"-":"")+r.toLowerCase()}),aL=nJ(function(t,r,n){return t+(n?" ":"")+r.toLowerCase()}),aN=nY("toLowerCase"),aj=nJ(function(t,r,n){return t+(n?"_":"")+r.toLowerCase()}),aD=nJ(function(t,r,n){return t+(n?" ":"")+aB(r)}),aF=nJ(function(t,r,n){return t+(n?" ":"")+r.toUpperCase()}),aB=nY("toUpperCase");function a$(t,r,n){if(t=as(t),r=n?i:r,i===r){var o;return(o=t,eY.test(o))?t.match(eK)||[]:t.match(eo)||[]}return t.match(r)||[]}var aU=nh(function(t,r){try{return tu(t,i,r)}catch(t){return oK(t)?t:new eS(t)}}),az=iu(function(t,r){return td(r,function(r){rL(t,r=iZ(r),oC(t[r],t))}),t});function aq(t){return function(){return t}}var aZ=n1(),aH=n1(!0);function aV(t){return t}function aW(t){return ne("function"==typeof t?t:rD(t,1))}var aG=nh(function(t,r){return function(n){return r6(n,t,r)}}),aK=nh(function(t,r){return function(n){return r6(t,n,r)}});function aX(t,r,n){var i=a_(r),o=rY(r,i);null!=n||oQ(r)&&(o.length||!i.length)||(n=r,r=t,t=this,o=rY(r,a_(r)));var a=!(oQ(n)&&"chain"in n)||!!n.chain,s=oX(t);return td(o,function(n){var i=r[n];t[n]=i,s&&(t.prototype[n]=function(){var r=this.__chain__;if(a||r){var n=t(this.__wrapped__);return(n.__actions__=nH(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=r,n}return i.apply(t,ty([this.value()],arguments))})}),t}function aY(){}var aJ=n6(tg),aQ=n6(tp),a0=n6(t_);function a1(t){return iT(t)?tR(iZ(t)):function(r){return rJ(r,t)}}var a2=n8(),a5=n8(!0);function a3(){return[]}function a6(){return!1}var a4=n3(function(t,r){return t+r},0),a8=ie("ceil"),a7=n3(function(t,r){return t/r},1),a9=ie("floor"),se=n3(function(t,r){return t*r},1),st=ie("round"),sr=n3(function(t,r){return t-r},0);return ry.after=function(t,r){if("function"!=typeof r)throw new eR(o);return t=an(t),function(){if(--t<1)return r.apply(this,arguments)}},ry.ary=oE,ry.assign=al,ry.assignIn=au,ry.assignInWith=ac,ry.assignWith=ad,ry.at=ap,ry.before=ok,ry.bind=oC,ry.bindAll=az,ry.bindKey=oO,ry.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return oq(t)?t:[t]},ry.chain=ou,ry.chunk=function(t,r,n){r=(n?iR(t,r,n):i===r)?1:t3(an(r),0);var o=null==t?0:t.length;if(!o||r<1)return[];for(var a=0,s=0,l=e_(tT(o/r));a<o;)l[s++]=n_(t,a,a+=r);return l},ry.compact=function(t){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];a&&(o[i++]=a)}return o},ry.concat=function(){var t=arguments.length;if(!t)return[];for(var r=e_(t-1),n=arguments[0],i=t;i--;)r[i-1]=arguments[i];return ty(oq(n)?nH(n):[n],rV(r,1))},ry.cond=function(t){var r=null==t?0:t.length,n=ig();return t=r?tg(t,function(t){if("function"!=typeof t[1])throw new eR(o);return[n(t[0]),t[1]]}):[],nh(function(n){for(var i=-1;++i<r;){var o=t[i];if(tu(o[0],this,n))return tu(o[1],this,n)}})},ry.conforms=function(t){var r,n;return n=a_(r=rD(t,1)),function(t){return rF(t,r,n)}},ry.constant=aq,ry.countBy=op,ry.create=function(t,r){var n=rv(t);return null==r?n:rA(n,r)},ry.curry=oR,ry.curryRight=oT,ry.debounce=oP,ry.defaults=af,ry.defaultsDeep=ah,ry.defer=oM,ry.delay=oI,ry.difference=iW,ry.differenceBy=iG,ry.differenceWith=iK,ry.drop=function(t,r,n){var o=null==t?0:t.length;return o?n_(t,(r=n||i===r?1:an(r))<0?0:r,o):[]},ry.dropRight=function(t,r,n){var o=null==t?0:t.length;return o?n_(t,0,(r=o-(r=n||i===r?1:an(r)))<0?0:r):[]},ry.dropRightWhile=function(t,r){return t&&t.length?nP(t,ig(r,3),!0,!0):[]},ry.dropWhile=function(t,r){return t&&t.length?nP(t,ig(r,3),!0):[]},ry.fill=function(t,r,n,o){var a=null==t?0:t.length;if(!a)return[];n&&"number"!=typeof n&&iR(t,r,n)&&(n=0,o=a);var s=n,l=o,u=t.length;for((s=an(s))<0&&(s=-s>u?0:u+s),(l=i===l||l>u?u:an(l))<0&&(l+=u),l=s>l?0:ai(l);s<l;)t[s++]=r;return t},ry.filter=function(t,r){return(oq(t)?tf:rH)(t,ig(r,3))},ry.flatMap=function(t,r){return rV(o_(t,r),1)},ry.flatMapDeep=function(t,r){return rV(o_(t,r),l)},ry.flatMapDepth=function(t,r,n){return n=i===n?1:an(n),rV(o_(t,r),n)},ry.flatten=iJ,ry.flattenDeep=function(t){return(null==t?0:t.length)?rV(t,l):[]},ry.flattenDepth=function(t,r){return(null==t?0:t.length)?rV(t,r=i===r?1:an(r)):[]},ry.flip=function(t){return ii(t,512)},ry.flow=aZ,ry.flowRight=aH,ry.fromPairs=function(t){for(var r=-1,n=null==t?0:t.length,i={};++r<n;){var o=t[r];i[o[0]]=o[1]}return i},ry.functions=function(t){return null==t?[]:rY(t,a_(t))},ry.functionsIn=function(t){return null==t?[]:rY(t,aw(t))},ry.groupBy=oy,ry.initial=function(t){return(null==t?0:t.length)?n_(t,0,-1):[]},ry.intersection=i0,ry.intersectionBy=i1,ry.intersectionWith=i2,ry.invert=ay,ry.invertBy=av,ry.invokeMap=ov,ry.iteratee=aW,ry.keyBy=ob,ry.keys=a_,ry.keysIn=aw,ry.map=o_,ry.mapKeys=function(t,r){var n={};return r=ig(r,3),rK(t,function(t,i,o){rL(n,r(t,i,o),t)}),n},ry.mapValues=function(t,r){var n={};return r=ig(r,3),rK(t,function(t,i,o){rL(n,i,r(t,i,o))}),n},ry.matches=function(t){return ni(rD(t,1))},ry.matchesProperty=function(t,r){return no(t,rD(r,1))},ry.memoize=oA,ry.merge=aS,ry.mergeWith=ax,ry.method=aG,ry.methodOf=aK,ry.mixin=aX,ry.negate=oL,ry.nthArg=function(t){return t=an(t),nh(function(r){return ns(r,t)})},ry.omit=aE,ry.omitBy=function(t,r){return aC(t,oL(ig(r)))},ry.once=function(t){return ok(2,t)},ry.orderBy=function(t,r,n,o){return null==t?[]:(oq(r)||(r=null==r?[]:[r]),oq(n=o?i:n)||(n=null==n?[]:[n]),nl(t,r,n))},ry.over=aJ,ry.overArgs=oN,ry.overEvery=aQ,ry.overSome=a0,ry.partial=oj,ry.partialRight=oD,ry.partition=ow,ry.pick=ak,ry.pickBy=aC,ry.property=a1,ry.propertyOf=function(t){return function(r){return null==t?i:rJ(t,r)}},ry.pull=i3,ry.pullAll=i6,ry.pullAllBy=function(t,r,n){return t&&t.length&&r&&r.length?nc(t,r,ig(n,2)):t},ry.pullAllWith=function(t,r,n){return t&&t.length&&r&&r.length?nc(t,r,i,n):t},ry.pullAt=i4,ry.range=a2,ry.rangeRight=a5,ry.rearg=oF,ry.reject=function(t,r){return(oq(t)?tf:rH)(t,oL(ig(r,3)))},ry.remove=function(t,r){var n=[];if(!(t&&t.length))return n;var i=-1,o=[],a=t.length;for(r=ig(r,3);++i<a;){var s=t[i];r(s,i,t)&&(n.push(s),o.push(i))}return nd(t,o),n},ry.rest=function(t,r){if("function"!=typeof t)throw new eR(o);return nh(t,r=i===r?r:an(r))},ry.reverse=i8,ry.sampleSize=function(t,r,n){return r=(n?iR(t,r,n):i===r)?1:an(r),(oq(t)?function(t,r){return iz(nH(t),rj(r,0,t.length))}:function(t,r){var n=aT(t);return iz(n,rj(r,0,n.length))})(t,r)},ry.set=function(t,r,n){return null==t?t:nm(t,r,n)},ry.setWith=function(t,r,n,o){return o="function"==typeof o?o:i,null==t?t:nm(t,r,n,o)},ry.shuffle=function(t){return(oq(t)?function(t){return iz(nH(t))}:function(t){return iz(aT(t))})(t)},ry.slice=function(t,r,n){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&iR(t,r,n)?(r=0,n=o):(r=null==r?0:an(r),n=i===n?o:an(n)),n_(t,r,n)):[]},ry.sortBy=oS,ry.sortedUniq=function(t){return t&&t.length?nE(t):[]},ry.sortedUniqBy=function(t,r){return t&&t.length?nE(t,ig(r,2)):[]},ry.split=function(t,r,n){return(n&&"number"!=typeof n&&iR(t,r,n)&&(r=n=i),n=i===n?0xffffffff:n>>>0)?(t=as(t))&&("string"==typeof r||null!=r&&!o3(r))&&!(r=nC(r))&&tz(t)?nD(tG(t),0,n):t.split(r,n):[]},ry.spread=function(t,r){if("function"!=typeof t)throw new eR(o);return r=null==r?0:t3(an(r),0),nh(function(n){var i=n[r],o=nD(n,0,r);return i&&ty(o,i),tu(t,this,o)})},ry.tail=function(t){var r=null==t?0:t.length;return r?n_(t,1,r):[]},ry.take=function(t,r,n){return t&&t.length?n_(t,0,(r=n||i===r?1:an(r))<0?0:r):[]},ry.takeRight=function(t,r,n){var o=null==t?0:t.length;return o?n_(t,(r=o-(r=n||i===r?1:an(r)))<0?0:r,o):[]},ry.takeRightWhile=function(t,r){return t&&t.length?nP(t,ig(r,3),!1,!0):[]},ry.takeWhile=function(t,r){return t&&t.length?nP(t,ig(r,3)):[]},ry.tap=function(t,r){return r(t),t},ry.throttle=function(t,r,n){var i=!0,a=!0;if("function"!=typeof t)throw new eR(o);return oQ(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),oP(t,r,{leading:i,maxWait:r,trailing:a})},ry.thru=oc,ry.toArray=at,ry.toPairs=aO,ry.toPairsIn=aR,ry.toPath=function(t){return oq(t)?tg(t,iZ):o8(t)?[t]:nH(iq(as(t)))},ry.toPlainObject=aa,ry.transform=function(t,r,n){var i=oq(t),o=i||oW(t)||o7(t);if(r=ig(r,4),null==n){var a=t&&t.constructor;n=o?i?new a:[]:oQ(t)&&oX(a)?rv(eH(t)):{}}return(o?td:rK)(t,function(t,i,o){return r(n,t,i,o)}),n},ry.unary=function(t){return oE(t,1)},ry.union=i7,ry.unionBy=i9,ry.unionWith=oe,ry.uniq=function(t){return t&&t.length?nO(t):[]},ry.uniqBy=function(t,r){return t&&t.length?nO(t,ig(r,2)):[]},ry.uniqWith=function(t,r){return r="function"==typeof r?r:i,t&&t.length?nO(t,i,r):[]},ry.unset=function(t,r){return null==t||nR(t,r)},ry.unzip=ot,ry.unzipWith=or,ry.update=function(t,r,n){return null==t?t:nT(t,r,nN(n))},ry.updateWith=function(t,r,n,o){return o="function"==typeof o?o:i,null==t?t:nT(t,r,nN(n),o)},ry.values=aT,ry.valuesIn=function(t){return null==t?[]:tN(t,aw(t))},ry.without=on,ry.words=a$,ry.wrap=function(t,r){return oj(nN(r),t)},ry.xor=oi,ry.xorBy=oo,ry.xorWith=oa,ry.zip=os,ry.zipObject=function(t,r){return nA(t||[],r||[],rP)},ry.zipObjectDeep=function(t,r){return nA(t||[],r||[],nm)},ry.zipWith=ol,ry.entries=aO,ry.entriesIn=aR,ry.extend=au,ry.extendWith=ac,aX(ry,ry),ry.add=a4,ry.attempt=aU,ry.camelCase=aP,ry.capitalize=aM,ry.ceil=a8,ry.clamp=function(t,r,n){return i===n&&(n=r,r=i),i!==n&&(n=(n=ao(n))==n?n:0),i!==r&&(r=(r=ao(r))==r?r:0),rj(ao(t),r,n)},ry.clone=function(t){return rD(t,4)},ry.cloneDeep=function(t){return rD(t,5)},ry.cloneDeepWith=function(t,r){return rD(t,5,r="function"==typeof r?r:i)},ry.cloneWith=function(t,r){return rD(t,4,r="function"==typeof r?r:i)},ry.conformsTo=function(t,r){return null==r||rF(t,r,a_(r))},ry.deburr=aI,ry.defaultTo=function(t,r){return null==t||t!=t?r:t},ry.divide=a7,ry.endsWith=function(t,r,n){t=as(t),r=nC(r);var o=t.length,a=n=i===n?o:rj(an(n),0,o);return(n-=r.length)>=0&&t.slice(n,a)==r},ry.eq=oB,ry.escape=function(t){return(t=as(t))&&H.test(t)?t.replace(q,t$):t},ry.escapeRegExp=function(t){return(t=as(t))&&Q.test(t)?t.replace(J,"\\$&"):t},ry.every=function(t,r,n){var o=oq(t)?tp:rq;return n&&iR(t,r,n)&&(r=i),o(t,ig(r,3))},ry.find=of,ry.findIndex=iX,ry.findKey=function(t,r){return tS(t,ig(r,3),rK)},ry.findLast=oh,ry.findLastIndex=iY,ry.findLastKey=function(t,r){return tS(t,ig(r,3),rX)},ry.floor=a9,ry.forEach=om,ry.forEachRight=og,ry.forIn=function(t,r){return null==t?t:rW(t,ig(r,3),aw)},ry.forInRight=function(t,r){return null==t?t:rG(t,ig(r,3),aw)},ry.forOwn=function(t,r){return t&&rK(t,ig(r,3))},ry.forOwnRight=function(t,r){return t&&rX(t,ig(r,3))},ry.get=am,ry.gt=o$,ry.gte=oU,ry.has=function(t,r){return null!=t&&iE(t,r,r2)},ry.hasIn=ag,ry.head=iQ,ry.identity=aV,ry.includes=function(t,r,n,i){t=oH(t)?t:aT(t),n=n&&!i?an(n):0;var o=t.length;return n<0&&(n=t3(o+n,0)),o4(t)?n<=o&&t.indexOf(r,n)>-1:!!o&&tE(t,r,n)>-1},ry.indexOf=function(t,r,n){var i=null==t?0:t.length;if(!i)return -1;var o=null==n?0:an(n);return o<0&&(o=t3(i+o,0)),tE(t,r,o)},ry.inRange=function(t,r,n){var o,a,s;return r=ar(r),i===n?(n=r,r=0):n=ar(n),(o=t=ao(t))>=t6(a=r,s=n)&&o<t3(a,s)},ry.invoke=ab,ry.isArguments=oz,ry.isArray=oq,ry.isArrayBuffer=oZ,ry.isArrayLike=oH,ry.isArrayLikeObject=oV,ry.isBoolean=function(t){return!0===t||!1===t||o0(t)&&r0(t)==h},ry.isBuffer=oW,ry.isDate=oG,ry.isElement=function(t){return o0(t)&&1===t.nodeType&&!o5(t)},ry.isEmpty=function(t){if(null==t)return!0;if(oH(t)&&(oq(t)||"string"==typeof t||"function"==typeof t.splice||oW(t)||o7(t)||oz(t)))return!t.length;var r=ix(t);if(r==b||r==E)return!t.size;if(iI(t))return!nt(t).length;for(var n in t)if(eL.call(t,n))return!1;return!0},ry.isEqual=function(t,r){return r8(t,r)},ry.isEqualWith=function(t,r,n){var o=(n="function"==typeof n?n:i)?n(t,r):i;return i===o?r8(t,r,i,n):!!o},ry.isError=oK,ry.isFinite=function(t){return"number"==typeof t&&t1(t)},ry.isFunction=oX,ry.isInteger=oY,ry.isLength=oJ,ry.isMap=o1,ry.isMatch=function(t,r){return t===r||r7(t,r,ib(r))},ry.isMatchWith=function(t,r,n){return n="function"==typeof n?n:i,r7(t,r,ib(r),n)},ry.isNaN=function(t){return o2(t)&&t!=+t},ry.isNative=function(t){if(iM(t))throw new eS("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return r9(t)},ry.isNil=function(t){return null==t},ry.isNull=function(t){return null===t},ry.isNumber=o2,ry.isObject=oQ,ry.isObjectLike=o0,ry.isPlainObject=o5,ry.isRegExp=o3,ry.isSafeInteger=function(t){return oY(t)&&t>=-0x1fffffffffffff&&t<=0x1fffffffffffff},ry.isSet=o6,ry.isString=o4,ry.isSymbol=o8,ry.isTypedArray=o7,ry.isUndefined=function(t){return i===t},ry.isWeakMap=function(t){return o0(t)&&ix(t)==O},ry.isWeakSet=function(t){return o0(t)&&"[object WeakSet]"==r0(t)},ry.join=function(t,r){return null==t?"":t2.call(t,r)},ry.kebabCase=aA,ry.last=i5,ry.lastIndexOf=function(t,r,n){var o=null==t?0:t.length;if(!o)return -1;var a=o;return i!==n&&(a=(a=an(n))<0?t3(o+a,0):t6(a,o-1)),r==r?function(t,r,n){for(var i=n+1;i--&&t[i]!==r;);return i}(t,r,a):tx(t,tC,a,!0)},ry.lowerCase=aL,ry.lowerFirst=aN,ry.lt=o9,ry.lte=ae,ry.max=function(t){return t&&t.length?rZ(t,aV,r1):i},ry.maxBy=function(t,r){return t&&t.length?rZ(t,ig(r,2),r1):i},ry.mean=function(t){return tO(t,aV)},ry.meanBy=function(t,r){return tO(t,ig(r,2))},ry.min=function(t){return t&&t.length?rZ(t,aV,nr):i},ry.minBy=function(t,r){return t&&t.length?rZ(t,ig(r,2),nr):i},ry.stubArray=a3,ry.stubFalse=a6,ry.stubObject=function(){return{}},ry.stubString=function(){return""},ry.stubTrue=function(){return!0},ry.multiply=se,ry.nth=function(t,r){return t&&t.length?ns(t,an(r)):i},ry.noConflict=function(){return e8._===this&&(e8._=eB),this},ry.noop=aY,ry.now=ox,ry.pad=function(t,r,n){t=as(t);var i=(r=an(r))?tW(t):0;if(!r||i>=r)return t;var o=(r-i)/2;return n4(tJ(o),n)+t+n4(tT(o),n)},ry.padEnd=function(t,r,n){t=as(t);var i=(r=an(r))?tW(t):0;return r&&i<r?t+n4(r-i,n):t},ry.padStart=function(t,r,n){t=as(t);var i=(r=an(r))?tW(t):0;return r&&i<r?n4(r-i,n)+t:t},ry.parseInt=function(t,r,n){return n||null==r?r=0:r&&(r*=1),t8(as(t).replace(ee,""),r||0)},ry.random=function(t,r,n){if(n&&"boolean"!=typeof n&&iR(t,r,n)&&(r=n=i),i===n&&("boolean"==typeof r?(n=r,r=i):"boolean"==typeof t&&(n=t,t=i)),i===t&&i===r?(t=0,r=1):(t=ar(t),i===r?(r=t,t=0):r=ar(r)),t>r){var o=t;t=r,r=o}if(n||t%1||r%1){var a=t7();return t6(t+a*(r-t+e5("1e-"+((a+"").length-1))),r)}return np(t,r)},ry.reduce=function(t,r,n){var i=oq(t)?tv:tP,o=arguments.length<3;return i(t,ig(r,4),n,o,rU)},ry.reduceRight=function(t,r,n){var i=oq(t)?tb:tP,o=arguments.length<3;return i(t,ig(r,4),n,o,rz)},ry.repeat=function(t,r,n){return r=(n?iR(t,r,n):i===r)?1:an(r),nf(as(t),r)},ry.replace=function(){var t=arguments,r=as(t[0]);return t.length<3?r:r.replace(t[1],t[2])},ry.result=function(t,r,n){r=nj(r,t);var o=-1,a=r.length;for(a||(a=1,t=i);++o<a;){var s=null==t?i:t[iZ(r[o])];i===s&&(o=a,s=n),t=oX(s)?s.call(t):s}return t},ry.round=st,ry.runInContext=t,ry.sample=function(t){return(oq(t)?rR:function(t){return rR(aT(t))})(t)},ry.size=function(t){if(null==t)return 0;if(oH(t))return o4(t)?tW(t):t.length;var r=ix(t);return r==b||r==E?t.size:nt(t).length},ry.snakeCase=aj,ry.some=function(t,r,n){var o=oq(t)?t_:nw;return n&&iR(t,r,n)&&(r=i),o(t,ig(r,3))},ry.sortedIndex=function(t,r){return nS(t,r)},ry.sortedIndexBy=function(t,r,n){return nx(t,r,ig(n,2))},ry.sortedIndexOf=function(t,r){var n=null==t?0:t.length;if(n){var i=nS(t,r);if(i<n&&oB(t[i],r))return i}return -1},ry.sortedLastIndex=function(t,r){return nS(t,r,!0)},ry.sortedLastIndexBy=function(t,r,n){return nx(t,r,ig(n,2),!0)},ry.sortedLastIndexOf=function(t,r){if(null==t?0:t.length){var n=nS(t,r,!0)-1;if(oB(t[n],r))return n}return -1},ry.startCase=aD,ry.startsWith=function(t,r,n){return t=as(t),n=null==n?0:rj(an(n),0,t.length),r=nC(r),t.slice(n,n+r.length)==r},ry.subtract=sr,ry.sum=function(t){return t&&t.length?tM(t,aV):0},ry.sumBy=function(t,r){return t&&t.length?tM(t,ig(r,2)):0},ry.template=function(t,r,n){var o=ry.templateSettings;n&&iR(t,r,n)&&(r=i),t=as(t),r=ac({},r,o,io);var a,s,l=ac({},r.imports,o.imports,io),u=a_(l),c=tN(l,u),d=0,f=r.interpolate||eg,h="__p += '",m=eC((r.escape||eg).source+"|"+f.source+"|"+(f===G?el:eg).source+"|"+(r.evaluate||eg).source+"|$","g"),g="//# sourceURL="+(eL.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++eQ+"]")+"\n";t.replace(m,function(r,n,i,o,l,u){return i||(i=o),h+=t.slice(d,u).replace(ey,tU),n&&(a=!0,h+="' +\n__e("+n+") +\n'"),l&&(s=!0,h+="';\n"+l+";\n__p += '"),i&&(h+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),d=u+r.length,r}),h+="';\n";var y=eL.call(r,"variable")&&r.variable;if(y){if(ea.test(y))throw new eS("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(s?h.replace(B,""):h).replace($,"$1").replace(U,"$1;"),h="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=aU(function(){return ex(u,g+"return "+h).apply(i,c)});if(v.source=h,oK(v))throw v;return v},ry.times=function(t,r){if((t=an(t))<1||t>0x1fffffffffffff)return[];var n=0xffffffff,i=t6(t,0xffffffff);r=ig(r),t-=0xffffffff;for(var o=tI(i,r);++n<t;)r(n);return o},ry.toFinite=ar,ry.toInteger=an,ry.toLength=ai,ry.toLower=function(t){return as(t).toLowerCase()},ry.toNumber=ao,ry.toSafeInteger=function(t){return t?rj(an(t),-0x1fffffffffffff,0x1fffffffffffff):0===t?t:0},ry.toString=as,ry.toUpper=function(t){return as(t).toUpperCase()},ry.trim=function(t,r,n){if((t=as(t))&&(n||i===r))return tA(t);if(!t||!(r=nC(r)))return t;var o=tG(t),a=tG(r),s=tD(o,a),l=tF(o,a)+1;return nD(o,s,l).join("")},ry.trimEnd=function(t,r,n){if((t=as(t))&&(n||i===r))return t.slice(0,tK(t)+1);if(!t||!(r=nC(r)))return t;var o=tG(t),a=tF(o,tG(r))+1;return nD(o,0,a).join("")},ry.trimStart=function(t,r,n){if((t=as(t))&&(n||i===r))return t.replace(ee,"");if(!t||!(r=nC(r)))return t;var o=tG(t),a=tD(o,tG(r));return nD(o,a).join("")},ry.truncate=function(t,r){var n=30,o="...";if(oQ(r)){var a="separator"in r?r.separator:a;n="length"in r?an(r.length):n,o="omission"in r?nC(r.omission):o}var s=(t=as(t)).length;if(tz(t)){var l=tG(t);s=l.length}if(n>=s)return t;var u=n-tW(o);if(u<1)return o;var c=l?nD(l,0,u).join(""):t.slice(0,u);if(i===a)return c+o;if(l&&(u+=c.length-u),o3(a)){if(t.slice(u).search(a)){var d,f=c;for(a.global||(a=eC(a.source,as(eu.exec(a))+"g")),a.lastIndex=0;d=a.exec(f);)var h=d.index;c=c.slice(0,i===h?u:h)}}else if(t.indexOf(nC(a),u)!=u){var m=c.lastIndexOf(a);m>-1&&(c=c.slice(0,m))}return c+o},ry.unescape=function(t){return(t=as(t))&&Z.test(t)?t.replace(z,tX):t},ry.uniqueId=function(t){var r=++eN;return as(t)+r},ry.upperCase=aF,ry.upperFirst=aB,ry.each=om,ry.eachRight=og,ry.first=iQ,aX(ry,(eb={},rK(ry,function(t,r){eL.call(ry.prototype,r)||(eb[r]=t)}),eb),{chain:!1}),ry.VERSION="4.17.21",td(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){ry[t].placeholder=ry}),td(["drop","take"],function(t,r){rw.prototype[t]=function(n){n=i===n?1:t3(an(n),0);var o=this.__filtered__&&!r?new rw(this):this.clone();return o.__filtered__?o.__takeCount__=t6(n,o.__takeCount__):o.__views__.push({size:t6(n,0xffffffff),type:t+(o.__dir__<0?"Right":"")}),o},rw.prototype[t+"Right"]=function(r){return this.reverse()[t](r).reverse()}}),td(["filter","map","takeWhile"],function(t,r){var n=r+1,i=1==n||3==n;rw.prototype[t]=function(t){var r=this.clone();return r.__iteratees__.push({iteratee:ig(t,3),type:n}),r.__filtered__=r.__filtered__||i,r}}),td(["head","last"],function(t,r){var n="take"+(r?"Right":"");rw.prototype[t]=function(){return this[n](1).value()[0]}}),td(["initial","tail"],function(t,r){var n="drop"+(r?"":"Right");rw.prototype[t]=function(){return this.__filtered__?new rw(this):this[n](1)}}),rw.prototype.compact=function(){return this.filter(aV)},rw.prototype.find=function(t){return this.filter(t).head()},rw.prototype.findLast=function(t){return this.reverse().find(t)},rw.prototype.invokeMap=nh(function(t,r){return"function"==typeof t?new rw(this):this.map(function(n){return r6(n,t,r)})}),rw.prototype.reject=function(t){return this.filter(oL(ig(t)))},rw.prototype.slice=function(t,r){t=an(t);var n=this;return n.__filtered__&&(t>0||r<0)?new rw(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),i!==r&&(n=(r=an(r))<0?n.dropRight(-r):n.take(r-t)),n)},rw.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},rw.prototype.toArray=function(){return this.take(0xffffffff)},rK(rw.prototype,function(t,r){var n=/^(?:filter|find|map|reject)|While$/.test(r),o=/^(?:head|last)$/.test(r),a=ry[o?"take"+("last"==r?"Right":""):r],s=o||/^find/.test(r);a&&(ry.prototype[r]=function(){var r=this.__wrapped__,l=o?[1]:arguments,u=r instanceof rw,c=l[0],d=u||oq(r),f=function(t){var r=a.apply(ry,ty([t],l));return o&&h?r[0]:r};d&&n&&"function"==typeof c&&1!=c.length&&(u=d=!1);var h=this.__chain__,m=!!this.__actions__.length,g=s&&!h,y=u&&!m;if(!s&&d){r=y?r:new rw(this);var v=t.apply(r,l);return v.__actions__.push({func:oc,args:[f],thisArg:i}),new r_(v,h)}return g&&y?t.apply(this,l):(v=this.thru(f),g?o?v.value()[0]:v.value():v)})}),td(["pop","push","shift","sort","splice","unshift"],function(t){var r=eT[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);ry.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var o=this.value();return r.apply(oq(o)?o:[],t)}return this[n](function(n){return r.apply(oq(n)?n:[],t)})}}),rK(rw.prototype,function(t,r){var n=ry[r];if(n){var i=n.name+"";eL.call(rs,i)||(rs[i]=[]),rs[i].push({name:r,func:n})}}),rs[n2(i,2).name]=[{name:"wrapper",func:i}],rw.prototype.clone=function(){var t=new rw(this.__wrapped__);return t.__actions__=nH(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=nH(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=nH(this.__views__),t},rw.prototype.reverse=function(){if(this.__filtered__){var t=new rw(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t},rw.prototype.value=function(){var t=this.__wrapped__.value(),r=this.__dir__,n=oq(t),i=r<0,o=n?t.length:0,a=function(t,r,n){for(var i=-1,o=n.length;++i<o;){var a=n[i],s=a.size;switch(a.type){case"drop":t+=s;break;case"dropRight":r-=s;break;case"take":r=t6(r,t+s);break;case"takeRight":t=t3(t,r-s)}}return{start:t,end:r}}(0,o,this.__views__),s=a.start,l=a.end,u=l-s,c=i?l:s-1,d=this.__iteratees__,f=d.length,h=0,m=t6(u,this.__takeCount__);if(!n||!i&&o==u&&m==u)return nM(t,this.__actions__);var g=[];t:for(;u--&&h<m;){for(var y=-1,v=t[c+=r];++y<f;){var b=d[y],_=b.iteratee,w=b.type,S=_(v);if(2==w)v=S;else if(!S)if(1==w)continue t;else break t}g[h++]=v}return g},ry.prototype.at=od,ry.prototype.chain=function(){return ou(this)},ry.prototype.commit=function(){return new r_(this.value(),this.__chain__)},ry.prototype.next=function(){this.__values__===i&&(this.__values__=at(this.value()));var t=this.__index__>=this.__values__.length,r=t?i:this.__values__[this.__index__++];return{done:t,value:r}},ry.prototype.plant=function(t){for(var r,n=this;n instanceof rb;){var o=iV(n);o.__index__=0,o.__values__=i,r?a.__wrapped__=o:r=o;var a=o;n=n.__wrapped__}return a.__wrapped__=t,r},ry.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof rw){var r=t;return this.__actions__.length&&(r=new rw(this)),(r=r.reverse()).__actions__.push({func:oc,args:[i8],thisArg:i}),new r_(r,this.__chain__)}return this.thru(i8)},ry.prototype.toJSON=ry.prototype.valueOf=ry.prototype.value=function(){return nM(this.__wrapped__,this.__actions__)},ry.prototype.first=ry.prototype.head,e4&&(ry.prototype[e4]=function(){return this}),ry}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(e8._=tY,define(function(){return tY})):e9?((e9.exports=tY)._=tY,e7._=tY):e8._=tY}).call(this)},36954:function(t,r,n){t=n.nmd(t);var i=function(){var t=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function o(t,r){if(!i[t]){i[t]={};for(var n=0;n<t.length;n++)i[t][t.charAt(n)]=n}return i[t][r]}var a={compressToBase64:function(t){if(null==t)return"";var n=a._compress(t,6,function(t){return r.charAt(t)});switch(n.length%4){default:case 0:return n;case 1:return n+"===";case 2:return n+"==";case 3:return n+"="}},decompressFromBase64:function(t){return null==t?"":""==t?null:a._decompress(t.length,32,function(n){return o(r,t.charAt(n))})},compressToUTF16:function(r){return null==r?"":a._compress(r,15,function(r){return t(r+32)})+" "},decompressFromUTF16:function(t){return null==t?"":""==t?null:a._decompress(t.length,16384,function(r){return t.charCodeAt(r)-32})},compressToUint8Array:function(t){for(var r=a.compress(t),n=new Uint8Array(2*r.length),i=0,o=r.length;i<o;i++){var s=r.charCodeAt(i);n[2*i]=s>>>8,n[2*i+1]=s%256}return n},decompressFromUint8Array:function(r){if(null==r)return a.decompress(r);for(var n=Array(r.length/2),i=0,o=n.length;i<o;i++)n[i]=256*r[2*i]+r[2*i+1];var s=[];return n.forEach(function(r){s.push(t(r))}),a.decompress(s.join(""))},compressToEncodedURIComponent:function(t){return null==t?"":a._compress(t,6,function(t){return n.charAt(t)})},decompressFromEncodedURIComponent:function(t){return null==t?"":""==t?null:(t=t.replace(/ /g,"+"),a._decompress(t.length,32,function(r){return o(n,t.charAt(r))}))},compress:function(r){return a._compress(r,16,function(r){return t(r)})},_compress:function(t,r,n){if(null==t)return"";var i,o,a,s={},l={},u="",c="",d="",f=2,h=3,m=2,g=[],y=0,v=0;for(a=0;a<t.length;a+=1)if(u=t.charAt(a),Object.prototype.hasOwnProperty.call(s,u)||(s[u]=h++,l[u]=!0),c=d+u,Object.prototype.hasOwnProperty.call(s,c))d=c;else{if(Object.prototype.hasOwnProperty.call(l,d)){if(256>d.charCodeAt(0)){for(i=0;i<m;i++)y<<=1,v==r-1?(v=0,g.push(n(y)),y=0):v++;for(i=0,o=d.charCodeAt(0);i<8;i++)y=y<<1|1&o,v==r-1?(v=0,g.push(n(y)),y=0):v++,o>>=1}else{for(i=0,o=1;i<m;i++)y=y<<1|o,v==r-1?(v=0,g.push(n(y)),y=0):v++,o=0;for(i=0,o=d.charCodeAt(0);i<16;i++)y=y<<1|1&o,v==r-1?(v=0,g.push(n(y)),y=0):v++,o>>=1}0==--f&&(f=Math.pow(2,m),m++),delete l[d]}else for(i=0,o=s[d];i<m;i++)y=y<<1|1&o,v==r-1?(v=0,g.push(n(y)),y=0):v++,o>>=1;0==--f&&(f=Math.pow(2,m),m++),s[c]=h++,d=String(u)}if(""!==d){if(Object.prototype.hasOwnProperty.call(l,d)){if(256>d.charCodeAt(0)){for(i=0;i<m;i++)y<<=1,v==r-1?(v=0,g.push(n(y)),y=0):v++;for(i=0,o=d.charCodeAt(0);i<8;i++)y=y<<1|1&o,v==r-1?(v=0,g.push(n(y)),y=0):v++,o>>=1}else{for(i=0,o=1;i<m;i++)y=y<<1|o,v==r-1?(v=0,g.push(n(y)),y=0):v++,o=0;for(i=0,o=d.charCodeAt(0);i<16;i++)y=y<<1|1&o,v==r-1?(v=0,g.push(n(y)),y=0):v++,o>>=1}0==--f&&(f=Math.pow(2,m),m++),delete l[d]}else for(i=0,o=s[d];i<m;i++)y=y<<1|1&o,v==r-1?(v=0,g.push(n(y)),y=0):v++,o>>=1;0==--f&&(f=Math.pow(2,m),m++)}for(i=0,o=2;i<m;i++)y=y<<1|1&o,v==r-1?(v=0,g.push(n(y)),y=0):v++,o>>=1;for(;;){if(y<<=1,v==r-1){g.push(n(y));break}v++}return g.join("")},decompress:function(t){return null==t?"":""==t?null:a._decompress(t.length,32768,function(r){return t.charCodeAt(r)})},_decompress:function(r,n,i){var o,a,s,l,u,c,d,f=[],h=4,m=4,g=3,y="",v=[],b={val:i(0),position:n,index:1};for(o=0;o<3;o+=1)f[o]=o;for(s=0,u=4,c=1;c!=u;)l=b.val&b.position,b.position>>=1,0==b.position&&(b.position=n,b.val=i(b.index++)),s|=+(l>0)*c,c<<=1;switch(s){case 0:for(s=0,u=256,c=1;c!=u;)l=b.val&b.position,b.position>>=1,0==b.position&&(b.position=n,b.val=i(b.index++)),s|=+(l>0)*c,c<<=1;d=t(s);break;case 1:for(s=0,u=65536,c=1;c!=u;)l=b.val&b.position,b.position>>=1,0==b.position&&(b.position=n,b.val=i(b.index++)),s|=+(l>0)*c,c<<=1;d=t(s);break;case 2:return""}for(f[3]=d,a=d,v.push(d);;){if(b.index>r)return"";for(s=0,u=Math.pow(2,g),c=1;c!=u;)l=b.val&b.position,b.position>>=1,0==b.position&&(b.position=n,b.val=i(b.index++)),s|=+(l>0)*c,c<<=1;switch(d=s){case 0:for(s=0,u=256,c=1;c!=u;)l=b.val&b.position,b.position>>=1,0==b.position&&(b.position=n,b.val=i(b.index++)),s|=+(l>0)*c,c<<=1;f[m++]=t(s),d=m-1,h--;break;case 1:for(s=0,u=65536,c=1;c!=u;)l=b.val&b.position,b.position>>=1,0==b.position&&(b.position=n,b.val=i(b.index++)),s|=+(l>0)*c,c<<=1;f[m++]=t(s),d=m-1,h--;break;case 2:return v.join("")}if(0==h&&(h=Math.pow(2,g),g++),f[d])y=f[d];else{if(d!==m)return null;y=a+a.charAt(0)}v.push(y),f[m++]=a+y.charAt(0),h--,a=y,0==h&&(h=Math.pow(2,g),g++)}}};return a}();"function"==typeof define&&define.amd?define(function(){return i}):null!=t?t.exports=i:"undefined"!=typeof angular&&null!=angular&&angular.module("LZString",[]).factory("LZString",function(){return i})},14383:function(t){"use strict";t.exports=Math.abs},45736:function(t){"use strict";t.exports=Math.floor},68806:function(t){"use strict";t.exports=Number.isNaN||function(t){return t!=t}},27130:function(t){"use strict";t.exports=Math.max},22400:function(t){"use strict";t.exports=Math.min},23654:function(t){"use strict";t.exports=Math.pow},96890:function(t){"use strict";t.exports=Math.round},82026:function(t,r,n){"use strict";var i=n(68806);t.exports=function(t){return i(t)||0===t?t:t<0?-1:1}},78996:function(t,r,n){"use strict";let i,o,a,s,l,u;function c(t){let r=null==t?void 0:t.host;return(null==r?void 0:r.shadowRoot)===t}function d(t){return"[object ShadowRoot]"===Object.prototype.toString.call(t)}function f(t){try{var r;let n=t.rules||t.cssRules;return n?((r=Array.from(n,h).join("")).includes(" background-clip: text;")&&!r.includes(" -webkit-background-clip: text;")&&(r=r.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),r):null}catch(t){return null}}function h(t){let r;if("styleSheet"in t)try{r=f(t.styleSheet)||function(t){let{cssText:r}=t;if(r.split('"').length<3)return r;let n=["@import",`url(${JSON.stringify(t.href)})`];return""===t.layerName?n.push("layer"):t.layerName&&n.push(`layer(${t.layerName})`),t.supportsText&&n.push(`supports(${t.supportsText})`),t.media.length&&n.push(t.media.mediaText),n.join(" ")+";"}(t)}catch(t){}else if("selectorText"in t&&t.selectorText.includes(":"))return t.cssText.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2");return r||t.cssText}n.d(r,{Z:()=>rX}),(eC=eR||(eR={}))[eC.Document=0]="Document",eC[eC.DocumentType=1]="DocumentType",eC[eC.Element=2]="Element",eC[eC.Text=3]="Text",eC[eC.CDATA=4]="CDATA",eC[eC.Comment=5]="Comment";let Mirror=class Mirror{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(t){var r;if(!t)return -1;let n=null===(r=this.getMeta(t))||void 0===r?void 0:r.id;return null!=n?n:-1}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){let r=this.getId(t);this.idNodeMap.delete(r),t.childNodes&&t.childNodes.forEach(t=>this.removeNodeFromMap(t))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,r){let n=r.id;this.idNodeMap.set(n,t),this.nodeMetaMap.set(t,r)}replace(t,r){let n=this.getNode(t);if(n){let t=this.nodeMetaMap.get(n);t&&this.nodeMetaMap.set(r,t)}this.idNodeMap.set(t,r)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function m({element:t,maskInputOptions:r,tagName:n,type:i,value:o,maskInputFn:a}){let s=o||"",l=i&&g(i);return(r[n.toLowerCase()]||l&&r[l])&&(s=a?a(s,t):"*".repeat(s.length)),s}function g(t){return t.toLowerCase()}let y="__rrweb_original__";function v(t){let r=t.type;return t.hasAttribute("data-rr-is-password")?"password":r?g(r):null}function b(t,r){var n;let i;try{i=new URL(t,null!=r?r:window.location.href)}catch(t){return null}let o=i.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!==(n=null==o?void 0:o[1])&&void 0!==n?n:null}let _=1,w=RegExp("[^a-z0-9-_:]");function S(){return _++}let x=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,E=/^(?:[a-z+]+:)?\/\//i,k=/^www\..*/i,C=/^(data:)([^,]*),(.*)/i;function O(t,r){return(t||"").replace(x,(t,n,i,o,a,s)=>{let l=i||a||s,u=n||o||"";if(!l)return t;if(E.test(l)||k.test(l)||C.test(l))return`url(${u}${l}${u})`;if("/"===l[0]){let t;return`url(${u}${(r.indexOf("//")>-1?r.split("/").slice(0,3).join("/"):r.split("/")[0]).split("?")[0]+l}${u})`}let c=r.split("/"),d=l.split("/");for(let t of(c.pop(),d))if("."===t)continue;else".."===t?c.pop():c.push(t);return`url(${u}${c.join("/")}${u})`})}let R=/^[^ \t\n\r\u000c]+/,T=/^[, \t\n\r\u000c]+/;function P(t,r){if(!r||""===r.trim())return r;let n=t.createElement("a");return n.href=r,n.href}function M(){let t=document.createElement("a");return t.href="",t.href}function I(t,r,n,i){if(!i)return i;if("src"===n||"href"===n&&("use"!==r||"#"!==i[0])||"xlink:href"===n&&"#"!==i[0])return P(t,i);if("background"===n&&("table"===r||"td"===r||"th"===r))return P(t,i);if("srcset"===n)return function(t,r){if(""===r.trim())return r;let n=0;function i(t){let i,o=t.exec(r.substring(n));return o?(i=o[0],n+=i.length,i):""}let o=[];for(;i(T),!(n>=r.length);){let a=i(R);if(","===a.slice(-1))a=P(t,a.substring(0,a.length-1)),o.push(a);else{let i="";a=P(t,a);let s=!1;for(;;){let t=r.charAt(n);if(""===t){o.push((a+i).trim());break}if(s)")"===t&&(s=!1);else if(","===t){n+=1,o.push((a+i).trim());break}else"("===t&&(s=!0);i+=t,n+=1}}}return o.join(", ")}(t,i);if("style"===n)return O(i,M());else if("object"===r&&"data"===n)return P(t,i);return i}function A(t,r,n){return("video"===t||"audio"===t)&&"autoplay"===r}function L(t,r,n){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return!!n&&L(t.parentNode,r,n);for(let n=t.classList.length;n--;){let i=t.classList[n];if(r.test(i))return!0}return!!n&&L(t.parentNode,r,n)}function N(t,r,n,i){try{let o=t.nodeType===t.ELEMENT_NODE?t:t.parentElement;if(null===o)return!1;if("string"==typeof r){if(i){if(o.closest(`.${r}`))return!0}else if(o.classList.contains(r))return!0}else if(L(o,r,i))return!0;if(n){if(i){if(o.closest(n))return!0}else if(o.matches(n))return!0}}catch(t){}return!1}function j(t){return null==t?"":t.toLowerCase()}function D(t,r){let n,{doc:a,mirror:s,blockClass:l,blockSelector:u,maskTextClass:h,maskTextSelector:_,skipChild:x=!1,inlineStylesheet:E=!0,maskInputOptions:k={},maskTextFn:C,maskInputFn:R,slimDOMOptions:T,dataURLOptions:P={},inlineImages:L=!1,recordCanvas:F=!1,onSerialize:B,onIframeLoad:$,iframeLoadTimeout:U=5e3,onStylesheetLoad:z,stylesheetLoadTimeout:q=5e3,keepIframeSrcFn:Z=()=>!1,newlyAddedElement:H=!1}=r,{needsMask:V}=r,{preserveWhiteSpace:W=!0}=r;!V&&t.childNodes&&(V=N(t,h,_,void 0===V));let G=function(t,r){let{doc:n,mirror:a,blockClass:s,blockSelector:l,needsMask:u,inlineStylesheet:c,maskInputOptions:d={},maskTextFn:h,maskInputFn:b,dataURLOptions:_={},inlineImages:S,recordCanvas:x,keepIframeSrcFn:E,newlyAddedElement:k=!1}=r,C=function(t,r){if(!r.hasNode(t))return;let n=r.getId(t);return 1===n?void 0:n}(n,a);switch(t.nodeType){case t.DOCUMENT_NODE:if("CSS1Compat"!==t.compatMode)return{type:eR.Document,childNodes:[],compatMode:t.compatMode};return{type:eR.Document,childNodes:[]};case t.DOCUMENT_TYPE_NODE:return{type:eR.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:C};case t.ELEMENT_NODE:return function(t,r){let n,{doc:a,blockClass:s,blockSelector:l,inlineStylesheet:u,maskInputOptions:c={},maskInputFn:d,dataURLOptions:h={},inlineImages:b,recordCanvas:_,keepIframeSrcFn:S,newlyAddedElement:x=!1,rootId:E}=r,k=function(t,r,n){try{if("string"==typeof r){if(t.classList.contains(r))return!0}else for(let n=t.classList.length;n--;){let i=t.classList[n];if(r.test(i))return!0}if(n)return t.matches(n)}catch(t){}return!1}(t,s,l),C=function(t){if(t instanceof HTMLFormElement)return"form";let r=g(t.tagName);return w.test(r)?"div":r}(t),R={},T=t.attributes.length;for(let r=0;r<T;r++){let n=t.attributes[r];A(C,n.name,n.value)||(R[n.name]=I(a,C,g(n.name),n.value))}if("link"===C&&u){let r=Array.from(a.styleSheets).find(r=>r.href===t.href),n=null;r&&(n=f(r)),n&&(delete R.rel,delete R.href,R._cssText=O(n,r.href))}if("style"===C&&t.sheet&&!(t.innerText||t.textContent||"").trim().length){let r=f(t.sheet);r&&(R._cssText=O(r,M()))}if("input"===C||"textarea"===C||"select"===C){let r=t.value,n=t.checked;"radio"!==R.type&&"checkbox"!==R.type&&"submit"!==R.type&&"button"!==R.type&&r?R.value=m({element:t,type:v(t),tagName:C,value:r,maskInputOptions:c,maskInputFn:d}):n&&(R.checked=n)}if("option"===C&&(t.selected&&!c.select?R.selected=!0:delete R.selected),"canvas"===C&&_){if("2d"===t.__context)!function(t){let r=t.getContext("2d");if(!r)return!0;for(let n=0;n<t.width;n+=50)for(let i=0;i<t.height;i+=50){let o=r.getImageData;if(new Uint32Array((y in o?o[y]:o).call(r,n,i,Math.min(50,t.width-n),Math.min(50,t.height-i)).data.buffer).some(t=>0!==t))return!1}return!0}(t)&&(R.rr_dataURL=t.toDataURL(h.type,h.quality));else if(!("__context"in t)){let r=t.toDataURL(h.type,h.quality),n=document.createElement("canvas");n.width=t.width,n.height=t.height,r!==n.toDataURL(h.type,h.quality)&&(R.rr_dataURL=r)}}if("img"===C&&b){i||(o=(i=a.createElement("canvas")).getContext("2d"));let r=t.crossOrigin;t.crossOrigin="anonymous";let n=()=>{t.removeEventListener("load",n);try{i.width=t.naturalWidth,i.height=t.naturalHeight,o.drawImage(t,0,0),R.rr_dataURL=i.toDataURL(h.type,h.quality)}catch(r){console.warn(`Cannot inline img src=${t.currentSrc}! Error: ${r}`)}r?R.crossOrigin=r:t.removeAttribute("crossorigin")};t.complete&&0!==t.naturalWidth?n():t.addEventListener("load",n)}if("audio"===C||"video"===C){let r=R;r.rr_mediaState=t.paused?"paused":"played",r.rr_mediaCurrentTime=t.currentTime,r.rr_mediaPlaybackRate=t.playbackRate,r.rr_mediaMuted=t.muted,r.rr_mediaLoop=t.loop,r.rr_mediaVolume=t.volume}if(!x&&(t.scrollLeft&&(R.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(R.rr_scrollTop=t.scrollTop)),k){let{width:r,height:n}=t.getBoundingClientRect();R={class:R.class,rr_width:`${r}px`,rr_height:`${n}px`}}"iframe"!==C||S(R.src)||(t.contentDocument||(R.rr_src=R.src),delete R.src);try{customElements.get(C)&&(n=!0)}catch(t){}return{type:eR.Element,tagName:C,attributes:R,childNodes:[],isSVG:!!("svg"===t.tagName||t.ownerSVGElement)||void 0,needBlock:k,rootId:E,isCustom:n}}(t,{doc:n,blockClass:s,blockSelector:l,inlineStylesheet:c,maskInputOptions:d,maskInputFn:b,dataURLOptions:_,inlineImages:S,recordCanvas:x,keepIframeSrcFn:E,newlyAddedElement:k,rootId:C});case t.TEXT_NODE:return function(t,r){var n;let{needsMask:i,maskTextFn:o,rootId:a}=r,s=t.parentNode&&t.parentNode.tagName,l=t.textContent,u="STYLE"===s||void 0,c="SCRIPT"===s||void 0;if(u&&l){try{t.nextSibling||t.previousSibling||(null===(n=t.parentNode.sheet)||void 0===n?void 0:n.cssRules)&&(l=f(t.parentNode.sheet))}catch(r){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${r}`,t)}l=O(l,M())}return c&&(l="SCRIPT_PLACEHOLDER"),!u&&!c&&l&&i&&(l=o?o(l,t.parentElement):l.replace(/[\S]/g,"*")),{type:eR.Text,textContent:l||"",isStyle:u,rootId:a}}(t,{needsMask:u,maskTextFn:h,rootId:C});case t.CDATA_SECTION_NODE:return{type:eR.CDATA,textContent:"",rootId:C};case t.COMMENT_NODE:return{type:eR.Comment,textContent:t.textContent||"",rootId:C};default:return!1}}(t,{doc:a,mirror:s,blockClass:l,blockSelector:u,needsMask:V,inlineStylesheet:E,maskInputOptions:k,maskTextFn:C,maskInputFn:R,dataURLOptions:P,inlineImages:L,recordCanvas:F,keepIframeSrcFn:Z,newlyAddedElement:H});if(!G)return console.warn(t,"not serialized"),null;n=s.hasNode(t)?s.getId(t):!function(t,r){if(r.comment&&t.type===eR.Comment)return!0;if(t.type===eR.Element){if(r.script&&("script"===t.tagName||"link"===t.tagName&&("preload"===t.attributes.rel||"modulepreload"===t.attributes.rel)&&"script"===t.attributes.as||"link"===t.tagName&&"prefetch"===t.attributes.rel&&"string"==typeof t.attributes.href&&"js"===b(t.attributes.href)))return!0;else if(r.headFavicon&&("link"===t.tagName&&"shortcut icon"===t.attributes.rel||"meta"===t.tagName&&(j(t.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===j(t.attributes.name)||"icon"===j(t.attributes.rel)||"apple-touch-icon"===j(t.attributes.rel)||"shortcut icon"===j(t.attributes.rel))))return!0;else if("meta"===t.tagName){if(r.headMetaDescKeywords&&j(t.attributes.name).match(/^description|keywords$/))return!0;else if(r.headMetaSocial&&(j(t.attributes.property).match(/^(og|twitter|fb):/)||j(t.attributes.name).match(/^(og|twitter):/)||"pinterest"===j(t.attributes.name)))return!0;else if(r.headMetaRobots&&("robots"===j(t.attributes.name)||"googlebot"===j(t.attributes.name)||"bingbot"===j(t.attributes.name)))return!0;else if(r.headMetaHttpEquiv&&void 0!==t.attributes["http-equiv"])return!0;else if(r.headMetaAuthorship&&("author"===j(t.attributes.name)||"generator"===j(t.attributes.name)||"framework"===j(t.attributes.name)||"publisher"===j(t.attributes.name)||"progid"===j(t.attributes.name)||j(t.attributes.property).match(/^article:/)||j(t.attributes.property).match(/^product:/)))return!0;else if(r.headMetaVerification&&("google-site-verification"===j(t.attributes.name)||"yandex-verification"===j(t.attributes.name)||"csrf-token"===j(t.attributes.name)||"p:domain_verify"===j(t.attributes.name)||"verify-v1"===j(t.attributes.name)||"verification"===j(t.attributes.name)||"shopify-checkout-api-token"===j(t.attributes.name)))return!0}}return!1}(G,T)&&(W||G.type!==eR.Text||G.isStyle||G.textContent.replace(/^\s+|\s+$/gm,"").length)?S():-2;let K=Object.assign(G,{id:n});if(s.add(t,K),-2===n)return null;B&&B(t);let X=!x;if(K.type===eR.Element){X=X&&!K.needBlock,delete K.needBlock;let r=t.shadowRoot;r&&d(r)&&(K.isShadowHost=!0)}if((K.type===eR.Document||K.type===eR.Element)&&X){T.headWhitespace&&K.type===eR.Element&&"head"===K.tagName&&(W=!1);let r={doc:a,mirror:s,blockClass:l,blockSelector:u,needsMask:V,maskTextClass:h,maskTextSelector:_,skipChild:x,inlineStylesheet:E,maskInputOptions:k,maskTextFn:C,maskInputFn:R,slimDOMOptions:T,dataURLOptions:P,inlineImages:L,recordCanvas:F,preserveWhiteSpace:W,onSerialize:B,onIframeLoad:$,iframeLoadTimeout:U,onStylesheetLoad:z,stylesheetLoadTimeout:q,keepIframeSrcFn:Z};if(K.type===eR.Element&&"textarea"===K.tagName&&void 0!==K.attributes.value);else for(let n of Array.from(t.childNodes)){let t=D(n,r);t&&K.childNodes.push(t)}if(t.nodeType===t.ELEMENT_NODE&&t.shadowRoot)for(let n of Array.from(t.shadowRoot.childNodes)){let i=D(n,r);i&&(d(t.shadowRoot)&&(i.isShadow=!0),K.childNodes.push(i))}}return t.parentNode&&c(t.parentNode)&&d(t.parentNode)&&(K.isShadow=!0),K.type===eR.Element&&"iframe"===K.tagName&&!function(t,r,n){let i,o=t.contentWindow;if(!o)return;let a=!1;try{i=o.document.readyState}catch(t){return}if("complete"!==i){let i=setTimeout(()=>{a||(r(),a=!0)},n);t.addEventListener("load",()=>{clearTimeout(i),a=!0,r()});return}let s="about:blank";if(o.location.href!==s||t.src===s||""===t.src)return setTimeout(r,0),t.addEventListener("load",r);t.addEventListener("load",r)}(t,()=>{let r=t.contentDocument;if(r&&$){let n=D(r,{doc:r,mirror:s,blockClass:l,blockSelector:u,needsMask:V,maskTextClass:h,maskTextSelector:_,skipChild:!1,inlineStylesheet:E,maskInputOptions:k,maskTextFn:C,maskInputFn:R,slimDOMOptions:T,dataURLOptions:P,inlineImages:L,recordCanvas:F,preserveWhiteSpace:W,onSerialize:B,onIframeLoad:$,iframeLoadTimeout:U,onStylesheetLoad:z,stylesheetLoadTimeout:q,keepIframeSrcFn:Z});n&&$(t,n)}},U),K.type===eR.Element&&"link"===K.tagName&&"string"==typeof K.attributes.rel&&("stylesheet"===K.attributes.rel||"preload"===K.attributes.rel&&"string"==typeof K.attributes.href&&"css"===b(K.attributes.href))&&!function(t,r,n){let i,o=!1;try{i=t.sheet}catch(t){return}if(i)return;let a=setTimeout(()=>{o||(r(),o=!0)},n);t.addEventListener("load",()=>{clearTimeout(a),o=!0,r()})}(t,()=>{if(z){let r=D(t,{doc:a,mirror:s,blockClass:l,blockSelector:u,needsMask:V,maskTextClass:h,maskTextSelector:_,skipChild:!1,inlineStylesheet:E,maskInputOptions:k,maskTextFn:C,maskInputFn:R,slimDOMOptions:T,dataURLOptions:P,inlineImages:L,recordCanvas:F,preserveWhiteSpace:W,onSerialize:B,onIframeLoad:$,iframeLoadTimeout:U,onStylesheetLoad:z,stylesheetLoadTimeout:q,keepIframeSrcFn:Z});r&&z(t,r)}},q),K}function F(t,r,n=document){let i={capture:!0,passive:!0};return n.addEventListener(t,r,i),()=>n.removeEventListener(t,r,i)}let B="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.",$={map:{},getId:()=>(console.error(B),-1),getNode:()=>(console.error(B),null),removeNodeFromMap(){console.error(B)},has:()=>(console.error(B),!1),reset(){console.error(B)}};function U(t,r,n={}){let i=null,o=0;return function(...a){let s=Date.now();o||!1!==n.leading||(o=s);let l=r-(s-o),u=this;l<=0||l>r?(i&&(clearTimeout(i),i=null),o=s,t.apply(u,a)):i||!1===n.trailing||(i=setTimeout(()=>{o=!1===n.leading?0:Date.now(),i=null,t.apply(u,a)},l))}}function z(t,r,n,i,o=window){let a=o.Object.getOwnPropertyDescriptor(t,r);return o.Object.defineProperty(t,r,i?n:{set(t){setTimeout(()=>{n.set.call(this,t)},0),a&&a.set&&a.set.call(this,t)}}),()=>z(t,r,a||{},!0)}function q(t,r,n){try{if(!(r in t))return()=>{};let i=t[r],o=n(i);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:i}})),t[r]=o,()=>{t[r]=i}}catch(t){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&($=new Proxy($,{get:(t,r,n)=>("map"===r&&console.error(B),Reflect.get(t,r,n))}));let Z=Date.now;function H(t){var r,n,i,o,a,s;let l=t.document;return{left:l.scrollingElement?l.scrollingElement.scrollLeft:void 0!==t.pageXOffset?t.pageXOffset:(null==l?void 0:l.documentElement.scrollLeft)||(null===(n=null===(r=null==l?void 0:l.body)||void 0===r?void 0:r.parentElement)||void 0===n?void 0:n.scrollLeft)||(null===(i=null==l?void 0:l.body)||void 0===i?void 0:i.scrollLeft)||0,top:l.scrollingElement?l.scrollingElement.scrollTop:void 0!==t.pageYOffset?t.pageYOffset:(null==l?void 0:l.documentElement.scrollTop)||(null===(a=null===(o=null==l?void 0:l.body)||void 0===o?void 0:o.parentElement)||void 0===a?void 0:a.scrollTop)||(null===(s=null==l?void 0:l.body)||void 0===s?void 0:s.scrollTop)||0}}function V(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function W(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function G(t){return t?t.nodeType===t.ELEMENT_NODE?t:t.parentElement:null}function K(t,r,n,i){if(!t)return!1;let o=G(t);if(!o)return!1;try{if("string"==typeof r){if(o.classList.contains(r)||i&&null!==o.closest("."+r))return!0}else if(L(o,r,i))return!0}catch(t){}return!!(n&&(o.matches(n)||i&&null!==o.closest(n)))}function X(t,r){return -2===r.getId(t)}function Y(t){return!!t.changedTouches}function J(t,r){return!!("IFRAME"===t.nodeName&&r.getMeta(t))}function Q(t,r){return!!("LINK"===t.nodeName&&t.nodeType===t.ELEMENT_NODE&&t.getAttribute&&"stylesheet"===t.getAttribute("rel")&&r.getMeta(t))}function ee(t){return!!(null==t?void 0:t.shadowRoot)}/[1-9][0-9]{12}/.test(Date.now().toString())||(Z=()=>new Date().getTime());let StyleSheetMirror=class StyleSheetMirror{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){var r;return null!==(r=this.styleIDMap.get(t))&&void 0!==r?r:-1}has(t){return this.styleIDMap.has(t)}add(t,r){let n;return this.has(t)?this.getId(t):(n=void 0===r?this.id++:r,this.styleIDMap.set(t,n),this.idStyleMap.set(n,t),n)}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}};function et(t){var r,n;let i=null;return(null===(n=null===(r=t.getRootNode)||void 0===r?void 0:r.call(t))||void 0===n?void 0:n.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&t.getRootNode().host&&(i=t.getRootNode().host),i}function er(t){let r=t.ownerDocument;return!!r&&(r.contains(t)||function(t){let r=t.ownerDocument;if(!r)return!1;let n=function(t){let r,n=t;for(;r=et(n);)n=r;return n}(t);return r.contains(n)}(t))}var en,ei,eo,ea,es,el,eu,ec,ed,ep,ef,eh,em,eg,ey,ev,eb,e_,ew,eS,ex,eE,ek,eC,eO,eR,eT,eP,eM,eI=((eO=eI||{})[eO.DomContentLoaded=0]="DomContentLoaded",eO[eO.Load=1]="Load",eO[eO.FullSnapshot=2]="FullSnapshot",eO[eO.IncrementalSnapshot=3]="IncrementalSnapshot",eO[eO.Meta=4]="Meta",eO[eO.Custom=5]="Custom",eO[eO.Plugin=6]="Plugin",eO),eA=((en=eA||{})[en.Mutation=0]="Mutation",en[en.MouseMove=1]="MouseMove",en[en.MouseInteraction=2]="MouseInteraction",en[en.Scroll=3]="Scroll",en[en.ViewportResize=4]="ViewportResize",en[en.Input=5]="Input",en[en.TouchMove=6]="TouchMove",en[en.MediaInteraction=7]="MediaInteraction",en[en.StyleSheetRule=8]="StyleSheetRule",en[en.CanvasMutation=9]="CanvasMutation",en[en.Font=10]="Font",en[en.Log=11]="Log",en[en.Drag=12]="Drag",en[en.StyleDeclaration=13]="StyleDeclaration",en[en.Selection=14]="Selection",en[en.AdoptedStyleSheet=15]="AdoptedStyleSheet",en[en.CustomElement=16]="CustomElement",en),eL=((ei=eL||{})[ei.MouseUp=0]="MouseUp",ei[ei.MouseDown=1]="MouseDown",ei[ei.Click=2]="Click",ei[ei.ContextMenu=3]="ContextMenu",ei[ei.DblClick=4]="DblClick",ei[ei.Focus=5]="Focus",ei[ei.Blur=6]="Blur",ei[ei.TouchStart=7]="TouchStart",ei[ei.TouchMove_Departed=8]="TouchMove_Departed",ei[ei.TouchEnd=9]="TouchEnd",ei[ei.TouchCancel=10]="TouchCancel",ei),eN=((eo=eN||{})[eo.Mouse=0]="Mouse",eo[eo.Pen=1]="Pen",eo[eo.Touch=2]="Touch",eo),ej=((ea=ej||{})[ea["2D"]=0]="2D",ea[ea.WebGL=1]="WebGL",ea[ea.WebGL2=2]="WebGL2",ea);let DoubleLinkedList=class DoubleLinkedList{constructor(){this.length=0,this.head=null,this.tail=null}get(t){if(t>=this.length)throw Error("Position outside of list range");let r=this.head;for(let n=0;n<t;n++)r=(null==r?void 0:r.next)||null;return r}addNode(t){let r={value:t,previous:null,next:null};if(t.__ln=r,t.previousSibling&&"__ln"in t.previousSibling){let n=t.previousSibling.__ln.next;r.next=n,r.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=r,n&&(n.previous=r)}else if(t.nextSibling&&"__ln"in t.nextSibling&&t.nextSibling.__ln.previous){let n=t.nextSibling.__ln.previous;r.previous=n,r.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=r,n&&(n.next=r)}else this.head&&(this.head.previous=r),r.next=this.head,this.head=r;null===r.next&&(this.tail=r),this.length++}removeNode(t){let r=t.__ln;this.head&&(r.previous?(r.previous.next=r.next,r.next?r.next.previous=r.previous:this.tail=r.previous):(this.head=r.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}};let eD=(t,r)=>`${t}@${r}`;let MutationBuffer=class MutationBuffer{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=t=>{t.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let t=[],r=new Set,n=new DoubleLinkedList,i=t=>{let r=t,n=-2;for(;-2===n;)n=(r=r&&r.nextSibling)&&this.mirror.getId(r);return n},o=o=>{if(!o.parentNode||!er(o)||"TEXTAREA"===o.parentNode.tagName)return;let a=c(o.parentNode)?this.mirror.getId(et(o)):this.mirror.getId(o.parentNode),s=i(o);if(-1===a||-1===s)return n.addNode(o);let l=D(o,{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:t=>{J(t,this.mirror)&&this.iframeManager.addIframe(t),Q(t,this.mirror)&&this.stylesheetManager.trackLinkElement(t),ee(o)&&this.shadowDomManager.addShadowRoot(o.shadowRoot,this.doc)},onIframeLoad:(t,r)=>{this.iframeManager.attachIframe(t,r),this.shadowDomManager.observeAttachShadow(t)},onStylesheetLoad:(t,r)=>{this.stylesheetManager.attachLinkElement(t,r)}});l&&(t.push({parentId:a,nextId:s,node:l}),r.add(l.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let t of this.movedSet)(!eB(this.removes,t,this.mirror)||this.movedSet.has(t.parentNode))&&o(t);for(let t of this.addedSet)e$(this.droppedSet,t)||eB(this.removes,t,this.mirror)?e$(this.movedSet,t)?o(t):this.droppedSet.add(t):o(t);let a=null;for(;n.length;){let t=null;if(a){let r=this.mirror.getId(a.value.parentNode),n=i(a.value);-1!==r&&-1!==n&&(t=a)}if(!t){let r=n.tail;for(;r;){let n=r;if(r=r.previous,n){let r=this.mirror.getId(n.value.parentNode);if(-1===i(n.value))continue;if(-1!==r){t=n;break}{let r=n.value;if(r.parentNode&&r.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let i=r.parentNode.host;if(-1!==this.mirror.getId(i)){t=n;break}}}}}}if(!t){for(;n.head;)n.removeNode(n.head.value);break}a=t.previous,n.removeNode(t.value),o(t.value)}let s={texts:this.texts.map(t=>{let r=t.node;return r.parentNode&&"TEXTAREA"===r.parentNode.tagName&&this.genTextAreaValueMutation(r.parentNode),{id:this.mirror.getId(r),value:t.value}}).filter(t=>!r.has(t.id)).filter(t=>this.mirror.has(t.id)),attributes:this.attributes.map(t=>{let{attributes:r}=t;if("string"==typeof r.style){let n=JSON.stringify(t.styleDiff),i=JSON.stringify(t._unchangedStyles);n.length<r.style.length&&(n+i).split("var(").length===r.style.split("var(").length&&(r.style=t.styleDiff)}return{id:this.mirror.getId(t.node),attributes:r}}).filter(t=>!r.has(t.id)).filter(t=>this.mirror.has(t.id)),removes:this.removes,adds:t};(s.texts.length||s.attributes.length||s.removes.length||s.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(s))},this.genTextAreaValueMutation=t=>{let r=this.attributeMap.get(t);r||(r={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(r),this.attributeMap.set(t,r)),r.attributes.value=Array.from(t.childNodes,t=>t.textContent||"").join("")},this.processMutation=t=>{if(!X(t.target,this.mirror))switch(t.type){case"characterData":{let r=t.target.textContent;K(t.target,this.blockClass,this.blockSelector,!1)||r===t.oldValue||this.texts.push({value:N(t.target,this.maskTextClass,this.maskTextSelector,!0)&&r?this.maskTextFn?this.maskTextFn(r,G(t.target)):r.replace(/[\S]/g,"*"):r,node:t.target});break}case"attributes":{let r=t.target,n=t.attributeName,i=t.target.getAttribute(n);if("value"===n){let t=v(r);i=m({element:r,maskInputOptions:this.maskInputOptions,tagName:r.tagName,type:t,value:i,maskInputFn:this.maskInputFn})}if(K(t.target,this.blockClass,this.blockSelector,!1)||i===t.oldValue)return;let o=this.attributeMap.get(t.target);if("IFRAME"===r.tagName&&"src"===n&&!this.keepIframeSrcFn(i))if(r.contentDocument)return;else n="rr_src";if(o||(o={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(t.target,o)),"type"===n&&"INPUT"===r.tagName&&"password"===(t.oldValue||"").toLowerCase()&&r.setAttribute("data-rr-is-password","true"),!A(r.tagName,n)&&(o.attributes[n]=I(this.doc,g(r.tagName),g(n),i),"style"===n)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(t){this.unattachedDoc=this.doc}let n=this.unattachedDoc.createElement("span");for(let i of(t.oldValue&&n.setAttribute("style",t.oldValue),Array.from(r.style))){let t=r.style.getPropertyValue(i),a=r.style.getPropertyPriority(i);t!==n.style.getPropertyValue(i)||a!==n.style.getPropertyPriority(i)?""===a?o.styleDiff[i]=t:o.styleDiff[i]=[t,a]:o._unchangedStyles[i]=[t,a]}for(let t of Array.from(n.style))""===r.style.getPropertyValue(t)&&(o.styleDiff[t]=!1)}break}case"childList":if(K(t.target,this.blockClass,this.blockSelector,!0))return;if("TEXTAREA"===t.target.tagName){this.genTextAreaValueMutation(t.target);return}t.addedNodes.forEach(r=>this.genAdds(r,t.target)),t.removedNodes.forEach(r=>{let n=this.mirror.getId(r),i=c(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);K(t.target,this.blockClass,this.blockSelector,!1)||X(r,this.mirror)||-1===this.mirror.getId(r)||(this.addedSet.has(r)?(eF(this.addedSet,r),this.droppedSet.add(r)):this.addedSet.has(t.target)&&-1===n||function t(r,n){if(c(r))return!1;let i=n.getId(r);return!n.has(i)||(!r.parentNode||r.parentNode.nodeType!==r.DOCUMENT_NODE)&&(!r.parentNode||t(r.parentNode,n))}(t.target,this.mirror)||(this.movedSet.has(r)&&this.movedMap[eD(n,i)]?eF(this.movedSet,r):this.removes.push({parentId:i,id:n,isShadow:!!(c(t.target)&&d(t.target))||void 0})),this.mapRemoves.push(r))})}},this.genAdds=(t,r)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(X(t,this.mirror))return;this.movedSet.add(t);let n=null;r&&this.mirror.hasNode(r)&&(n=this.mirror.getId(r)),n&&-1!==n&&(this.movedMap[eD(this.mirror.getId(t),n)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);!K(t,this.blockClass,this.blockSelector,!1)&&(t.childNodes.forEach(t=>this.genAdds(t)),ee(t)&&t.shadowRoot.childNodes.forEach(r=>{this.processedNodeManager.add(r,this),this.genAdds(r,t)}))}}}init(t){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(r=>{this[r]=t[r]})}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()}};function eF(t,r){t.delete(r),r.childNodes.forEach(r=>eF(t,r))}function eB(t,r,n){return 0!==t.length&&function t(r,n,i){let{parentNode:o}=n;if(!o)return!1;let a=i.getId(o);return!!r.some(t=>t.id===a)||t(r,o,i)}(t,r,n)}function e$(t,r){return 0!==t.size&&function t(r,n){let{parentNode:i}=n;return!!i&&(!!r.has(i)||t(r,i))}(t,r)}let eU=t=>a?(...r)=>{try{return t(...r)}catch(t){if(a&&!0===a(t))return;throw t}}:t,ez=[];function eq(t){try{if("composedPath"in t){let r=t.composedPath();if(r.length)return r[0]}else if("path"in t&&t.path.length)return t.path[0]}catch(t){}return t&&t.target}function eZ(t,r){var n,i;let o=new MutationBuffer;ez.push(o),o.init(t);let a=window.MutationObserver||window.__rrMutationObserver,s=null===(i=null===(n=null==window?void 0:window.Zone)||void 0===n?void 0:n.__symbol__)||void 0===i?void 0:i.call(n,"MutationObserver");s&&window[s]&&(a=window[s]);let l=new a(eU(o.processMutations.bind(o)));return l.observe(r,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),l}function eH({scrollCb:t,doc:r,mirror:n,blockClass:i,blockSelector:o,sampling:a}){return F("scroll",eU(U(eU(a=>{let s=eq(a);if(!s||K(s,i,o,!0))return;let l=n.getId(s);if(s===r&&r.defaultView){let n=H(r.defaultView);t({id:l,x:n.left,y:n.top})}else t({id:l,x:s.scrollLeft,y:s.scrollTop})}),a.scroll||100)),r)}let eV=["INPUT","TEXTAREA","SELECT"],eW=new WeakMap;function eG(t){var r=[];if(eJ("CSSGroupingRule")&&t.parentRule instanceof CSSGroupingRule||eJ("CSSMediaRule")&&t.parentRule instanceof CSSMediaRule||eJ("CSSSupportsRule")&&t.parentRule instanceof CSSSupportsRule||eJ("CSSConditionRule")&&t.parentRule instanceof CSSConditionRule){let n=Array.from(t.parentRule.cssRules).indexOf(t);r.unshift(n)}else if(t.parentStyleSheet){let n=Array.from(t.parentStyleSheet.cssRules).indexOf(t);r.unshift(n)}return r}function eK(t,r,n){let i,o;return t?(t.ownerNode?i=r.getId(t.ownerNode):o=n.getId(t),{styleId:o,id:i}):{}}function eX({mirror:t,stylesheetManager:r},n){var i,o,a;let s=null;s="#document"===n.nodeName?t.getId(n):t.getId(n.host);let l="#document"===n.nodeName?null===(i=n.defaultView)||void 0===i?void 0:i.Document:null===(a=null===(o=n.ownerDocument)||void 0===o?void 0:o.defaultView)||void 0===a?void 0:a.ShadowRoot,u=(null==l?void 0:l.prototype)?Object.getOwnPropertyDescriptor(null==l?void 0:l.prototype,"adoptedStyleSheets"):void 0;return null!==s&&-1!==s&&l&&u?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get(){var t;return null===(t=u.get)||void 0===t?void 0:t.call(this)},set(t){var n;let i=null===(n=u.set)||void 0===n?void 0:n.call(this,t);if(null!==s&&-1!==s)try{r.adoptStyleSheets(t,s)}catch(t){}return i}}),eU(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get:u.get,set:u.set})})):()=>{}}function eY(t,r={}){let n,i=t.doc.defaultView;if(!i)return()=>{};let{mutationCb:o,mousemoveCb:a,mouseInteractionCb:s,scrollCb:l,viewportResizeCb:u,inputCb:c,mediaInteractionCb:d,styleSheetRuleCb:f,styleDeclarationCb:h,canvasMutationCb:y,fontCb:b,selectionCb:_,customElementCb:w}=t;t.mutationCb=(...t)=>{r.mutation&&r.mutation(...t),o(...t)},t.mousemoveCb=(...t)=>{r.mousemove&&r.mousemove(...t),a(...t)},t.mouseInteractionCb=(...t)=>{r.mouseInteraction&&r.mouseInteraction(...t),s(...t)},t.scrollCb=(...t)=>{r.scroll&&r.scroll(...t),l(...t)},t.viewportResizeCb=(...t)=>{r.viewportResize&&r.viewportResize(...t),u(...t)},t.inputCb=(...t)=>{r.input&&r.input(...t),c(...t)},t.mediaInteractionCb=(...t)=>{r.mediaInteaction&&r.mediaInteaction(...t),d(...t)},t.styleSheetRuleCb=(...t)=>{r.styleSheetRule&&r.styleSheetRule(...t),f(...t)},t.styleDeclarationCb=(...t)=>{r.styleDeclaration&&r.styleDeclaration(...t),h(...t)},t.canvasMutationCb=(...t)=>{r.canvasMutation&&r.canvasMutation(...t),y(...t)},t.fontCb=(...t)=>{r.font&&r.font(...t),b(...t)},t.selectionCb=(...t)=>{r.selection&&r.selection(...t),_(...t)},t.customElementCb=(...t)=>{r.customElement&&r.customElement(...t),w(...t)},t.recordDOM&&(n=eZ(t,t.doc));let S=function({mousemoveCb:t,sampling:r,doc:n,mirror:i}){let o;if(!1===r.mousemove)return()=>{};let a="number"==typeof r.mousemove?r.mousemove:50,s="number"==typeof r.mousemoveCallback?r.mousemoveCallback:500,l=[],u=U(eU(r=>{let n=Date.now()-o;t(l.map(t=>(t.timeOffset-=n,t)),r),l=[],o=null}),s),c=eU(U(eU(t=>{let r=eq(t),{clientX:n,clientY:a}=Y(t)?t.changedTouches[0]:t;o||(o=Z()),l.push({x:n,y:a,id:i.getId(r),timeOffset:Z()-o}),u("undefined"!=typeof DragEvent&&t instanceof DragEvent?eA.Drag:t instanceof MouseEvent?eA.MouseMove:eA.TouchMove)}),a,{trailing:!1})),d=[F("mousemove",c,n),F("touchmove",c,n),F("drag",c,n)];return eU(()=>{d.forEach(t=>t())})}(t),x=function({mouseInteractionCb:t,doc:r,mirror:n,blockClass:i,blockSelector:o,sampling:a}){if(!1===a.mouseInteraction)return()=>{};let s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,l=[],u=null,c=r=>a=>{let s=eq(a);if(K(s,i,o,!0))return;let l=null,c=r;if("pointerType"in a){switch(a.pointerType){case"mouse":l=eN.Mouse;break;case"touch":l=eN.Touch;break;case"pen":l=eN.Pen}l===eN.Touch?eL[r]===eL.MouseDown?c="TouchStart":eL[r]===eL.MouseUp&&(c="TouchEnd"):eN.Pen}else Y(a)&&(l=eN.Touch);null!==l?(u=l,(c.startsWith("Touch")&&l===eN.Touch||c.startsWith("Mouse")&&l===eN.Mouse)&&(l=null)):eL[r]===eL.Click&&(l=u,u=null);let d=Y(a)?a.changedTouches[0]:a;if(!d)return;let f=n.getId(s),{clientX:h,clientY:m}=d;eU(t)(Object.assign({type:eL[c],id:f,x:h,y:m},null!==l&&{pointerType:l}))};return Object.keys(eL).filter(t=>Number.isNaN(Number(t))&&!t.endsWith("_Departed")&&!1!==s[t]).forEach(t=>{let n=g(t),i=c(t);if(window.PointerEvent)switch(eL[t]){case eL.MouseDown:case eL.MouseUp:n=n.replace("mouse","pointer");break;case eL.TouchStart:case eL.TouchEnd:return}l.push(F(n,i,r))}),eU(()=>{l.forEach(t=>t())})}(t),E=eH(t),k=function({viewportResizeCb:t},{win:r}){let n=-1,i=-1;return F("resize",eU(U(eU(()=>{let r=V(),o=W();(n!==r||i!==o)&&(t({width:Number(o),height:Number(r)}),n=r,i=o)}),200)),r)}(t,{win:i}),C=function({inputCb:t,doc:r,mirror:n,blockClass:i,blockSelector:o,ignoreClass:a,ignoreSelector:s,maskInputOptions:l,maskInputFn:u,sampling:c,userTriggeredOnInput:d}){function f(t){let n=eq(t),c=t.isTrusted,f=n&&n.tagName;if(n&&"OPTION"===f&&(n=n.parentElement),!n||!f||0>eV.indexOf(f)||K(n,i,o,!0)||n.classList.contains(a)||s&&n.matches(s))return;let g=n.value,y=!1,b=v(n)||"";"radio"===b||"checkbox"===b?y=n.checked:(l[f.toLowerCase()]||l[b])&&(g=m({element:n,maskInputOptions:l,tagName:f,type:b,value:g,maskInputFn:u})),h(n,d?{text:g,isChecked:y,userTriggered:c}:{text:g,isChecked:y});let _=n.name;"radio"===b&&_&&y&&r.querySelectorAll(`input[type="radio"][name="${_}"]`).forEach(t=>{if(t!==n){let r=t.value;h(t,d?{text:r,isChecked:!y,userTriggered:!1}:{text:r,isChecked:!y})}})}function h(r,i){let o=eW.get(r);if(!o||o.text!==i.text||o.isChecked!==i.isChecked){eW.set(r,i);let o=n.getId(r);eU(t)(Object.assign(Object.assign({},i),{id:o}))}}let g=("last"===c.input?["change"]:["input","change"]).map(t=>F(t,eU(f),r)),y=r.defaultView;if(!y)return()=>{g.forEach(t=>t())};let b=y.Object.getOwnPropertyDescriptor(y.HTMLInputElement.prototype,"value"),_=[[y.HTMLInputElement.prototype,"value"],[y.HTMLInputElement.prototype,"checked"],[y.HTMLSelectElement.prototype,"value"],[y.HTMLTextAreaElement.prototype,"value"],[y.HTMLSelectElement.prototype,"selectedIndex"],[y.HTMLOptionElement.prototype,"selected"]];return b&&b.set&&g.push(..._.map(t=>z(t[0],t[1],{set(){eU(f)({target:this,isTrusted:!1})}},!1,y))),eU(()=>{g.forEach(t=>t())})}(t),O=function({mediaInteractionCb:t,blockClass:r,blockSelector:n,mirror:i,sampling:o,doc:a}){let s=eU(a=>U(eU(o=>{let s=eq(o);if(!s||K(s,r,n,!0))return;let{currentTime:l,volume:u,muted:c,playbackRate:d,loop:f}=s;t({type:a,id:i.getId(s),currentTime:l,volume:u,muted:c,playbackRate:d,loop:f})}),o.media||500)),l=[F("play",s(0),a),F("pause",s(1),a),F("seeked",s(2),a),F("volumechange",s(3),a),F("ratechange",s(4),a)];return eU(()=>{l.forEach(t=>t())})}(t),R=()=>{},T=()=>{},P=()=>{},M=()=>{};t.recordDOM&&(R=function({styleSheetRuleCb:t,mirror:r,stylesheetManager:n},{win:i}){let o,a;if(!i.CSSStyleSheet||!i.CSSStyleSheet.prototype)return()=>{};let s=i.CSSStyleSheet.prototype.insertRule;i.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:eU((i,o,a)=>{let[s,l]=a,{id:u,styleId:c}=eK(o,r,n.styleMirror);return(u&&-1!==u||c&&-1!==c)&&t({id:u,styleId:c,adds:[{rule:s,index:l}]}),i.apply(o,a)})});let l=i.CSSStyleSheet.prototype.deleteRule;i.CSSStyleSheet.prototype.deleteRule=new Proxy(l,{apply:eU((i,o,a)=>{let[s]=a,{id:l,styleId:u}=eK(o,r,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&t({id:l,styleId:u,removes:[{index:s}]}),i.apply(o,a)})}),i.CSSStyleSheet.prototype.replace&&(o=i.CSSStyleSheet.prototype.replace,i.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:eU((i,o,a)=>{let[s]=a,{id:l,styleId:u}=eK(o,r,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&t({id:l,styleId:u,replace:s}),i.apply(o,a)})})),i.CSSStyleSheet.prototype.replaceSync&&(a=i.CSSStyleSheet.prototype.replaceSync,i.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:eU((i,o,a)=>{let[s]=a,{id:l,styleId:u}=eK(o,r,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&t({id:l,styleId:u,replaceSync:s}),i.apply(o,a)})}));let u={};eQ("CSSGroupingRule")?u.CSSGroupingRule=i.CSSGroupingRule:(eQ("CSSMediaRule")&&(u.CSSMediaRule=i.CSSMediaRule),eQ("CSSConditionRule")&&(u.CSSConditionRule=i.CSSConditionRule),eQ("CSSSupportsRule")&&(u.CSSSupportsRule=i.CSSSupportsRule));let c={};return Object.entries(u).forEach(([i,o])=>{c[i]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},o.prototype.insertRule=new Proxy(c[i].insertRule,{apply:eU((i,o,a)=>{let[s,l]=a,{id:u,styleId:c}=eK(o.parentStyleSheet,r,n.styleMirror);return(u&&-1!==u||c&&-1!==c)&&t({id:u,styleId:c,adds:[{rule:s,index:[...eG(o),l||0]}]}),i.apply(o,a)})}),o.prototype.deleteRule=new Proxy(c[i].deleteRule,{apply:eU((i,o,a)=>{let[s]=a,{id:l,styleId:u}=eK(o.parentStyleSheet,r,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&t({id:l,styleId:u,removes:[{index:[...eG(o),s]}]}),i.apply(o,a)})})}),eU(()=>{i.CSSStyleSheet.prototype.insertRule=s,i.CSSStyleSheet.prototype.deleteRule=l,o&&(i.CSSStyleSheet.prototype.replace=o),a&&(i.CSSStyleSheet.prototype.replaceSync=a),Object.entries(u).forEach(([t,r])=>{r.prototype.insertRule=c[t].insertRule,r.prototype.deleteRule=c[t].deleteRule})})}(t,{win:i}),T=eX(t,t.doc),P=function({styleDeclarationCb:t,mirror:r,ignoreCSSAttributes:n,stylesheetManager:i},{win:o}){let a=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:eU((o,s,l)=>{var u;let[c,d,f]=l;if(n.has(c))return a.apply(s,[c,d,f]);let{id:h,styleId:m}=eK(null===(u=s.parentRule)||void 0===u?void 0:u.parentStyleSheet,r,i.styleMirror);return(h&&-1!==h||m&&-1!==m)&&t({id:h,styleId:m,set:{property:c,value:d,priority:f},index:eG(s.parentRule)}),o.apply(s,l)})});let s=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:eU((o,a,l)=>{var u;let[c]=l;if(n.has(c))return s.apply(a,[c]);let{id:d,styleId:f}=eK(null===(u=a.parentRule)||void 0===u?void 0:u.parentStyleSheet,r,i.styleMirror);return(d&&-1!==d||f&&-1!==f)&&t({id:d,styleId:f,remove:{property:c},index:eG(a.parentRule)}),o.apply(a,l)})}),eU(()=>{o.CSSStyleDeclaration.prototype.setProperty=a,o.CSSStyleDeclaration.prototype.removeProperty=s})}(t,{win:i}),t.collectFonts&&(M=function({fontCb:t,doc:r}){let n=r.defaultView;if(!n)return()=>{};let i=[],o=new WeakMap,a=n.FontFace;n.FontFace=function(t,r,n){let i=new a(t,r,n);return o.set(i,{family:t,buffer:"string"!=typeof r,descriptors:n,fontSource:"string"==typeof r?r:JSON.stringify(Array.from(new Uint8Array(r)))}),i};let s=q(r.fonts,"add",function(r){return function(n){return setTimeout(eU(()=>{let r=o.get(n);r&&(t(r),o.delete(n))}),0),r.apply(this,[n])}});return i.push(()=>{n.FontFace=a}),i.push(s),eU(()=>{i.forEach(t=>t())})}(t)));let I=function(t){let{doc:r,mirror:n,blockClass:i,blockSelector:o,selectionCb:a}=t,s=!0,l=eU(()=>{let t=r.getSelection();if(!t||s&&(null==t?void 0:t.isCollapsed))return;s=t.isCollapsed||!1;let l=[],u=t.rangeCount||0;for(let r=0;r<u;r++){let{startContainer:a,startOffset:s,endContainer:u,endOffset:c}=t.getRangeAt(r);K(a,i,o,!0)||K(u,i,o,!0)||l.push({start:n.getId(a),startOffset:s,end:n.getId(u),endOffset:c})}a({ranges:l})});return l(),F("selectionchange",l)}(t),A=function({doc:t,customElementCb:r}){let n=t.defaultView;return n&&n.customElements?q(n.customElements,"define",function(t){return function(n,i,o){try{r({define:{name:n}})}catch(t){console.warn(`Custom element callback failed for ${n}`)}return t.apply(this,[n,i,o])}}):()=>{}}(t),L=[];for(let r of t.plugins)L.push(r.observer(r.callback,i,r.options));return eU(()=>{ez.forEach(t=>t.reset()),null==n||n.disconnect(),S(),x(),E(),k(),C(),O(),R(),T(),P(),M(),I(),A(),L.forEach(t=>t())})}function eJ(t){return void 0!==window[t]}function eQ(t){return!!(void 0!==window[t]&&window[t].prototype&&"insertRule"in window[t].prototype&&"deleteRule"in window[t].prototype)}let CrossOriginIframeMirror=class CrossOriginIframeMirror{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,r,n,i){let o=n||this.getIdToRemoteIdMap(t),a=i||this.getRemoteIdToIdMap(t),s=o.get(r);return s||(s=this.generateIdFn(),o.set(r,s),a.set(s,r)),s}getIds(t,r){let n=this.getIdToRemoteIdMap(t),i=this.getRemoteIdToIdMap(t);return r.map(r=>this.getId(t,r,n,i))}getRemoteId(t,r,n){let i=n||this.getRemoteIdToIdMap(t);if("number"!=typeof r)return r;let o=i.get(r);return o||-1}getRemoteIds(t,r){let n=this.getRemoteIdToIdMap(t);return r.map(r=>this.getRemoteId(t,r,n))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let r=this.iframeIdToRemoteIdMap.get(t);return r||(r=new Map,this.iframeIdToRemoteIdMap.set(t,r)),r}getRemoteIdToIdMap(t){let r=this.iframeRemoteIdToIdMap.get(t);return r||(r=new Map,this.iframeRemoteIdToIdMap.set(t,r)),r}};let IframeManager=class IframeManager{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new CrossOriginIframeMirror(S),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new CrossOriginIframeMirror(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,r){var n;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:r}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(n=this.loadListener)||void 0===n||n.call(this,t),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))}handleMessage(t){if("rrweb"!==t.data.type||t.origin!==t.data.origin||!t.source)return;let r=this.crossOriginIframeMap.get(t.source);if(!r)return;let n=this.transformCrossOriginEvent(r,t.data.event);n&&this.wrappedEmit(n,t.data.isCheckout)}transformCrossOriginEvent(t,r){var n;switch(r.type){case eI.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(r.data.node,t);let n=r.data.node.id;return this.crossOriginIframeRootIdMap.set(t,n),this.patchRootIdOnNode(r.data.node,n),{timestamp:r.timestamp,type:eI.IncrementalSnapshot,data:{source:eA.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:r.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case eI.Meta:case eI.Load:case eI.DomContentLoaded:break;case eI.Plugin:return r;case eI.Custom:return this.replaceIds(r.data.payload,t,["id","parentId","previousId","nextId"]),r;case eI.IncrementalSnapshot:switch(r.data.source){case eA.Mutation:return r.data.adds.forEach(r=>{this.replaceIds(r,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(r.node,t);let n=this.crossOriginIframeRootIdMap.get(t);n&&this.patchRootIdOnNode(r.node,n)}),r.data.removes.forEach(r=>{this.replaceIds(r,t,["parentId","id"])}),r.data.attributes.forEach(r=>{this.replaceIds(r,t,["id"])}),r.data.texts.forEach(r=>{this.replaceIds(r,t,["id"])}),r;case eA.Drag:case eA.TouchMove:case eA.MouseMove:return r.data.positions.forEach(r=>{this.replaceIds(r,t,["id"])}),r;case eA.ViewportResize:return!1;case eA.MediaInteraction:case eA.MouseInteraction:case eA.Scroll:case eA.CanvasMutation:case eA.Input:return this.replaceIds(r.data,t,["id"]),r;case eA.StyleSheetRule:case eA.StyleDeclaration:return this.replaceIds(r.data,t,["id"]),this.replaceStyleIds(r.data,t,["styleId"]),r;case eA.Font:return r;case eA.Selection:return r.data.ranges.forEach(r=>{this.replaceIds(r,t,["start","end"])}),r;case eA.AdoptedStyleSheet:return this.replaceIds(r.data,t,["id"]),this.replaceStyleIds(r.data,t,["styleIds"]),null===(n=r.data.styles)||void 0===n||n.forEach(r=>{this.replaceStyleIds(r,t,["styleId"])}),r}}return!1}replace(t,r,n,i){for(let o of i)(Array.isArray(r[o])||"number"==typeof r[o])&&(Array.isArray(r[o])?r[o]=t.getIds(n,r[o]):r[o]=t.getId(n,r[o]));return r}replaceIds(t,r,n){return this.replace(this.crossOriginIframeMirror,t,r,n)}replaceStyleIds(t,r,n){return this.replace(this.crossOriginIframeStyleMirror,t,r,n)}replaceIdOnNode(t,r){this.replaceIds(t,r,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(t=>{this.replaceIdOnNode(t,r)})}patchRootIdOnNode(t,r){t.type===eR.Document||t.rootId||(t.rootId=r),"childNodes"in t&&t.childNodes.forEach(t=>{this.patchRootIdOnNode(t,r)})}};let ShadowDomManager=class ShadowDomManager{constructor(t){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,r){if(!d(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t);let n=eZ(Object.assign(Object.assign({},this.bypassOptions),{doc:r,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),t);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(eH(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:t,mirror:this.mirror}))),setTimeout(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(eX({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){t.contentWindow&&t.contentDocument&&this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)}patchAttachShadow(t,r){let n=this;this.restoreHandlers.push(q(t.prototype,"attachShadow",function(t){return function(i){let o=t.call(this,i);return this.shadowRoot&&er(this)&&n.addShadowRoot(this.shadowRoot,r),o}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch(t){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}};for(var e0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e1="undefined"==typeof Uint8Array?[]:new Uint8Array(256),e2=0;e2<e0.length;e2++)e1[e0.charCodeAt(e2)]=e2;var e5=function(t){var r,n=new Uint8Array(t),i=n.length,o="";for(r=0;r<i;r+=3)o+=e0[n[r]>>2],o+=e0[(3&n[r])<<4|n[r+1]>>4],o+=e0[(15&n[r+1])<<2|n[r+2]>>6],o+=e0[63&n[r+2]];return i%3==2?o=o.substring(0,o.length-1)+"=":i%3==1&&(o=o.substring(0,o.length-2)+"=="),o};let e3=new Map,e6=(t,r,n)=>{let i;if(!t||!(e8(t,r)||"object"==typeof t))return;let o=t.constructor.name,a=((i=e3.get(n))||(i=new Map,e3.set(n,i)),i.has(o)||i.set(o,[]),i.get(o)),s=a.indexOf(t);return -1===s&&(s=a.length,a.push(t)),s},e4=(t,r,n)=>t.map(t=>(function t(r,n,i){if(r instanceof Array)return r.map(r=>t(r,n,i));if(null===r);else if(r instanceof Float32Array||r instanceof Float64Array||r instanceof Int32Array||r instanceof Uint32Array||r instanceof Uint8Array||r instanceof Uint16Array||r instanceof Int16Array||r instanceof Int8Array||r instanceof Uint8ClampedArray)return{rr_type:r.constructor.name,args:[Object.values(r)]};else if(r instanceof ArrayBuffer)return{rr_type:r.constructor.name,base64:e5(r)};else if(r instanceof DataView)return{rr_type:r.constructor.name,args:[t(r.buffer,n,i),r.byteOffset,r.byteLength]};else if(r instanceof HTMLImageElement){let t=r.constructor.name,{src:n}=r;return{rr_type:t,src:n}}else if(r instanceof HTMLCanvasElement)return{rr_type:"HTMLImageElement",src:r.toDataURL()};else if(r instanceof ImageData)return{rr_type:r.constructor.name,args:[t(r.data,n,i),r.width,r.height]};else if(e8(r,n)||"object"==typeof r)return{rr_type:r.constructor.name,index:e6(r,n,i)};return r})(t,r,n)),e8=(t,r)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(t=>"function"==typeof r[t]).find(n=>t instanceof r[n]);function e7(t,r,n,i){let o=[];try{let a=q(t.HTMLCanvasElement.prototype,"getContext",function(t){return function(o,...a){if(!K(this,r,n,!0)){let t="experimental-webgl"===o?"webgl":o;if("__context"in this||(this.__context=t),i&&["webgl","webgl2"].includes(t))if(a[0]&&"object"==typeof a[0]){let t=a[0];t.preserveDrawingBuffer||(t.preserveDrawingBuffer=!0)}else a.splice(0,1,{preserveDrawingBuffer:!0})}return t.apply(this,[o,...a])}});o.push(a)}catch(t){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{o.forEach(t=>t())}}function e9(t,r,n,i,o,a,s){let l=[];for(let a of Object.getOwnPropertyNames(t))if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(a))try{if("function"!=typeof t[a])continue;let u=q(t,a,function(t){return function(...l){let u=t.apply(this,l);if(e6(u,s,this),"tagName"in this.canvas&&!K(this.canvas,i,o,!0)){let t=e4(l,s,this),i={type:r,property:a,args:t};n(this.canvas,i)}return u}});l.push(u)}catch(o){let i=z(t,a,{set(t){n(this.canvas,{type:r,property:a,args:[t],setter:!0})}});l.push(i)}return l}var te=(es=function(){!function(){function t(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})}for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="undefined"==typeof Uint8Array?[]:new Uint8Array(256),i=0;i<r.length;i++)n[r.charCodeAt(i)]=i;var o=function(t){var n,i=new Uint8Array(t),o=i.length,a="";for(n=0;n<o;n+=3)a+=r[i[n]>>2],a+=r[(3&i[n])<<4|i[n+1]>>4],a+=r[(15&i[n+1])<<2|i[n+2]>>6],a+=r[63&i[n+2]];return o%3==2?a=a.substring(0,a.length-1)+"=":o%3==1&&(a=a.substring(0,a.length-2)+"=="),a};let a=new Map,s=new Map,l=self;l.onmessage=function(r){return t(this,void 0,void 0,function*(){if(!("OffscreenCanvas"in globalThis))return l.postMessage({id:r.data.id});{let{id:n,bitmap:i,width:u,height:c,dataURLOptions:d}=r.data,f=function(r,n,i){return t(this,void 0,void 0,function*(){let t=`${r}-${n}`;if(!("OffscreenCanvas"in globalThis))return"";{if(s.has(t))return s.get(t);let a=new OffscreenCanvas(r,n);a.getContext("2d");let l=yield a.convertToBlob(i),u=o((yield l.arrayBuffer()));return s.set(t,u),u}})}(u,c,d),h=new OffscreenCanvas(u,c);h.getContext("2d").drawImage(i,0,0),i.close();let m=yield h.convertToBlob(d),g=m.type,y=o((yield m.arrayBuffer()));if(!a.has(n)&&(yield f)===y)return a.set(n,y),l.postMessage({id:n});if(a.get(n)===y)return l.postMessage({id:n});l.postMessage({id:n,type:g,base64:y,width:u,height:c}),a.set(n,y)}})}}()},function(t){var r;return new Worker(el=el||(r=new Blob(function(t,r){var n=r,i=t.toString().split("\n");i.pop(),i.shift();for(var o=i[0].search(/\S/),a=/(['"])__worker_loader_strict__(['"])/g,s=0,l=i.length;s<l;++s)i[s]=i[s].substring(o).replace(a,"$1use strict$2")+"\n";return n&&i.push("//# sourceMappingURL="+n+"\n"),i}(es,null),{type:"application/javascript"}),URL.createObjectURL(r)),t)});let CanvasManager=class CanvasManager{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(t){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(t,r)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(t)||this.pendingCanvasMutations.set(t,[]),this.pendingCanvasMutations.get(t).push(r)};let{sampling:r="all",win:n,blockClass:i,blockSelector:o,recordCanvas:a,dataURLOptions:s}=t;this.mutationCb=t.mutationCb,this.mirror=t.mirror,a&&"all"===r&&this.initCanvasMutationObserver(n,i,o),a&&"number"==typeof r&&this.initCanvasFPSObserver(r,n,i,o,{dataURLOptions:s})}initCanvasFPSObserver(t,r,n,i,o){let a,s=e7(r,n,i,!0),l=new Map,u=new te;u.onmessage=t=>{let{id:r}=t.data;if(l.set(r,!1),!("base64"in t.data))return;let{base64:n,type:i,width:o,height:a}=t.data;this.mutationCb({id:r,type:ej["2D"],commands:[{property:"clearRect",args:[0,0,o,a]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:i}]},0,0]}]})};let c=1e3/t,d=0,f=()=>{let t=[];return r.document.querySelectorAll("canvas").forEach(r=>{K(r,n,i,!0)||t.push(r)}),t},h=t=>{if(d&&t-d<c){a=requestAnimationFrame(h);return}d=t,f().forEach(t=>{var r,n,i,a;return r=this,n=void 0,i=void 0,a=function*(){var r;let n=this.mirror.getId(t);if(l.get(n)||0===t.width||0===t.height)return;if(l.set(n,!0),["webgl","webgl2"].includes(t.__context)){let n=t.getContext(t.__context);(null===(r=null==n?void 0:n.getContextAttributes())||void 0===r?void 0:r.preserveDrawingBuffer)===!1&&n.clear(n.COLOR_BUFFER_BIT)}let i=yield createImageBitmap(t);u.postMessage({id:n,bitmap:i,width:t.width,height:t.height,dataURLOptions:o.dataURLOptions},[i])},new(i||(i=Promise))(function(t,o){function s(t){try{u(a.next(t))}catch(t){o(t)}}function l(t){try{u(a.throw(t))}catch(t){o(t)}}function u(r){var n;r.done?t(r.value):((n=r.value)instanceof i?n:new i(function(t){t(n)})).then(s,l)}u((a=a.apply(r,n||[])).next())})}),a=requestAnimationFrame(h)};a=requestAnimationFrame(h),this.resetObservers=()=>{s(),cancelAnimationFrame(a)}}initCanvasMutationObserver(t,r,n){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();let i=e7(t,r,n,!1),o=function(t,r,n,i){let o=[];for(let a of Object.getOwnPropertyNames(r.CanvasRenderingContext2D.prototype))try{if("function"!=typeof r.CanvasRenderingContext2D.prototype[a])continue;let s=q(r.CanvasRenderingContext2D.prototype,a,function(o){return function(...s){return K(this.canvas,n,i,!0)||setTimeout(()=>{let n=e4(s,r,this);t(this.canvas,{type:ej["2D"],property:a,args:n})},0),o.apply(this,s)}});o.push(s)}catch(i){let n=z(r.CanvasRenderingContext2D.prototype,a,{set(r){t(this.canvas,{type:ej["2D"],property:a,args:[r],setter:!0})}});o.push(n)}return()=>{o.forEach(t=>t())}}(this.processMutation.bind(this),t,r,n),a=function(t,r,n,i,o){let a=[];return a.push(...e9(r.WebGLRenderingContext.prototype,ej.WebGL,t,n,i,o,r)),void 0!==r.WebGL2RenderingContext&&a.push(...e9(r.WebGL2RenderingContext.prototype,ej.WebGL2,t,n,i,o,r)),()=>{a.forEach(t=>t())}}(this.processMutation.bind(this),t,r,n,this.mirror);this.resetObservers=()=>{i(),o(),a()}}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let t=r=>{this.rafStamps.latestId=r,requestAnimationFrame(t)};requestAnimationFrame(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,r)=>{let n=this.mirror.getId(r);this.flushPendingCanvasMutationFor(r,n)}),requestAnimationFrame(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(t,r){if(this.frozen||this.locked)return;let n=this.pendingCanvasMutations.get(t);if(!n||-1===r)return;let i=n.map(t=>(function(t,r){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>r.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(t);o<i.length;o++)0>r.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]]);return n})(t,["type"])),{type:o}=n[0];this.mutationCb({id:r,type:o,commands:i}),this.pendingCanvasMutations.delete(t)}};let StylesheetManager=class StylesheetManager{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new StyleSheetMirror,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,r){"_cssText"in r.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:r.id,attributes:r.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,r){if(0===t.length)return;let n={id:r,styleIds:[]},i=[];for(let r of t){let t;this.styleMirror.has(r)?t=this.styleMirror.getId(r):(t=this.styleMirror.add(r),i.push({styleId:t,rules:Array.from(r.rules||CSSRule,(t,r)=>({rule:h(t),index:r}))})),n.styleIds.push(t)}i.length>0&&(n.styles=i),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}};let ProcessedNodeManager=class ProcessedNodeManager{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){requestAnimationFrame(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(t,r){let n=this.nodeMap.get(t);return n&&Array.from(n).some(t=>t!==r)}add(t,r){this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(r))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}};function tt(t){return Object.assign(Object.assign({},t),{timestamp:Z()})}let tr=!1,tn=new Mirror;function ti(t={}){let r,{emit:n,checkoutEveryNms:i,checkoutEveryNth:o,blockClass:c="rr-block",blockSelector:d=null,ignoreClass:f="rr-ignore",ignoreSelector:h=null,maskTextClass:m="rr-mask",maskTextSelector:g=null,inlineStylesheet:y=!0,maskAllInputs:v,maskInputOptions:b,slimDOMOptions:_,maskInputFn:w,maskTextFn:S,hooks:x,packFn:E,sampling:k={},dataURLOptions:C={},mousemoveWait:O,recordDOM:R=!0,recordCanvas:T=!1,recordCrossOriginIframes:P=!1,recordAfter:M="DOMContentLoaded"===t.recordAfter?t.recordAfter:"load",userTriggeredOnInput:I=!1,collectFonts:A=!1,inlineImages:L=!1,plugins:N,keepIframeSrcFn:j=()=>!1,ignoreCSSAttributes:B=new Set([]),errorHandler:$}=t;a=$;let U=!P||window.parent===window,z=!1;if(!U)try{window.parent.document&&(z=!1)}catch(t){z=!0}if(U&&!n)throw Error("emit function is required");void 0!==O&&void 0===k.mousemove&&(k.mousemove=O),tn.reset();let q=!0===v?{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!==b?b:{password:!0},Z=!0===_||"all"===_?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===_,headMetaDescKeywords:"all"===_}:_||{};!function(t=window){"NodeList"in t&&!t.NodeList.prototype.forEach&&(t.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in t&&!t.DOMTokenList.prototype.forEach&&(t.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...t)=>{let r=t[0];if(!(0 in t))throw TypeError("1 argument is required");do if(this===r)return!0;while(r=r&&r.parentNode);return!1})}();let G=0,K=t=>{for(let r of N||[])r.eventProcessor&&(t=r.eventProcessor(t));return E&&!z&&(t=E(t)),t};s=(t,a)=>{var s;if((null===(s=ez[0])||void 0===s?void 0:s.isFrozen())&&t.type!==eI.FullSnapshot&&(t.type!==eI.IncrementalSnapshot||t.data.source!==eA.Mutation)&&ez.forEach(t=>t.unfreeze()),U)null==n||n(K(t),a);else if(z){let r={type:"rrweb",event:K(t),origin:window.location.origin,isCheckout:a};window.parent.postMessage(r,"*")}if(t.type===eI.FullSnapshot)r=t,G=0;else if(t.type===eI.IncrementalSnapshot){if(t.data.source===eA.Mutation&&t.data.isAttachIframe)return;G++;let n=o&&G>=o,a=i&&t.timestamp-r.timestamp>i;(n||a)&&l(!0)}};let X=t=>{s(tt({type:eI.IncrementalSnapshot,data:Object.assign({source:eA.Mutation},t)}))},Y=t=>s(tt({type:eI.IncrementalSnapshot,data:Object.assign({source:eA.Scroll},t)})),et=t=>s(tt({type:eI.IncrementalSnapshot,data:Object.assign({source:eA.CanvasMutation},t)})),er=new StylesheetManager({mutationCb:X,adoptedStyleSheetCb:t=>s(tt({type:eI.IncrementalSnapshot,data:Object.assign({source:eA.AdoptedStyleSheet},t)}))}),en=new IframeManager({mirror:tn,mutationCb:X,stylesheetManager:er,recordCrossOriginIframes:P,wrappedEmit:s});for(let t of N||[])t.getMirror&&t.getMirror({nodeMirror:tn,crossOriginIframeMirror:en.crossOriginIframeMirror,crossOriginIframeStyleMirror:en.crossOriginIframeStyleMirror});let ei=new ProcessedNodeManager;u=new CanvasManager({recordCanvas:T,mutationCb:et,win:window,blockClass:c,blockSelector:d,mirror:tn,sampling:k.canvas,dataURLOptions:C});let eo=new ShadowDomManager({mutationCb:X,scrollCb:Y,bypassOptions:{blockClass:c,blockSelector:d,maskTextClass:m,maskTextSelector:g,inlineStylesheet:y,maskInputOptions:q,dataURLOptions:C,maskTextFn:S,maskInputFn:w,recordCanvas:T,inlineImages:L,sampling:k,slimDOMOptions:Z,iframeManager:en,stylesheetManager:er,canvasManager:u,keepIframeSrcFn:j,processedNodeManager:ei},mirror:tn});l=(t=!1)=>{if(!R)return;s(tt({type:eI.Meta,data:{href:window.location.href,width:W(),height:V()}}),t),er.reset(),eo.init(),ez.forEach(t=>t.lock());let r=function(t,r){let{mirror:n=new Mirror,blockClass:i="rr-block",blockSelector:o=null,maskTextClass:a="rr-mask",maskTextSelector:s=null,inlineStylesheet:l=!0,inlineImages:u=!1,recordCanvas:c=!1,maskAllInputs:d=!1,maskTextFn:f,maskInputFn:h,slimDOM:m=!1,dataURLOptions:g,preserveWhiteSpace:y,onSerialize:v,onIframeLoad:b,iframeLoadTimeout:_,onStylesheetLoad:w,stylesheetLoadTimeout:S,keepIframeSrcFn:x=()=>!1}=r||{};return D(t,{doc:t,mirror:n,blockClass:i,blockSelector:o,maskTextClass:a,maskTextSelector:s,skipChild:!1,inlineStylesheet:l,maskInputOptions:!0===d?{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===d?{password:!0}:d,maskTextFn:f,maskInputFn:h,slimDOMOptions:!0===m||"all"===m?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===m,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===m?{}:m,dataURLOptions:g,inlineImages:u,recordCanvas:c,preserveWhiteSpace:y,onSerialize:v,onIframeLoad:b,iframeLoadTimeout:_,onStylesheetLoad:w,stylesheetLoadTimeout:S,keepIframeSrcFn:x,newlyAddedElement:!1})}(document,{mirror:tn,blockClass:c,blockSelector:d,maskTextClass:m,maskTextSelector:g,inlineStylesheet:y,maskAllInputs:q,maskTextFn:S,slimDOM:Z,dataURLOptions:C,recordCanvas:T,inlineImages:L,onSerialize:t=>{J(t,tn)&&en.addIframe(t),Q(t,tn)&&er.trackLinkElement(t),ee(t)&&eo.addShadowRoot(t.shadowRoot,document)},onIframeLoad:(t,r)=>{en.attachIframe(t,r),eo.observeAttachShadow(t)},onStylesheetLoad:(t,r)=>{er.attachLinkElement(t,r)},keepIframeSrcFn:j});if(!r)return console.warn("Failed to snapshot the document");s(tt({type:eI.FullSnapshot,data:{node:r,initialOffset:H(window)}}),t),ez.forEach(t=>t.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&er.adoptStyleSheets(document.adoptedStyleSheets,tn.getId(document))};try{let t=[],r=t=>{var r;return eU(eY)({mutationCb:X,mousemoveCb:(t,r)=>s(tt({type:eI.IncrementalSnapshot,data:{source:r,positions:t}})),mouseInteractionCb:t=>s(tt({type:eI.IncrementalSnapshot,data:Object.assign({source:eA.MouseInteraction},t)})),scrollCb:Y,viewportResizeCb:t=>s(tt({type:eI.IncrementalSnapshot,data:Object.assign({source:eA.ViewportResize},t)})),inputCb:t=>s(tt({type:eI.IncrementalSnapshot,data:Object.assign({source:eA.Input},t)})),mediaInteractionCb:t=>s(tt({type:eI.IncrementalSnapshot,data:Object.assign({source:eA.MediaInteraction},t)})),styleSheetRuleCb:t=>s(tt({type:eI.IncrementalSnapshot,data:Object.assign({source:eA.StyleSheetRule},t)})),styleDeclarationCb:t=>s(tt({type:eI.IncrementalSnapshot,data:Object.assign({source:eA.StyleDeclaration},t)})),canvasMutationCb:et,fontCb:t=>s(tt({type:eI.IncrementalSnapshot,data:Object.assign({source:eA.Font},t)})),selectionCb:t=>{s(tt({type:eI.IncrementalSnapshot,data:Object.assign({source:eA.Selection},t)}))},customElementCb:t=>{s(tt({type:eI.IncrementalSnapshot,data:Object.assign({source:eA.CustomElement},t)}))},blockClass:c,ignoreClass:f,ignoreSelector:h,maskTextClass:m,maskTextSelector:g,maskInputOptions:q,inlineStylesheet:y,sampling:k,recordDOM:R,recordCanvas:T,inlineImages:L,userTriggeredOnInput:I,collectFonts:A,doc:t,maskInputFn:w,maskTextFn:S,keepIframeSrcFn:j,blockSelector:d,slimDOMOptions:Z,dataURLOptions:C,mirror:tn,iframeManager:en,stylesheetManager:er,shadowDomManager:eo,processedNodeManager:ei,canvasManager:u,ignoreCSSAttributes:B,plugins:(null===(r=null==N?void 0:N.filter(t=>t.observer))||void 0===r?void 0:r.map(t=>({observer:t.observer,options:t.options,callback:r=>s(tt({type:eI.Plugin,data:{plugin:t.name,payload:r}}))})))||[]},x)};en.addLoadListener(n=>{try{t.push(r(n.contentDocument))}catch(t){console.warn(t)}});let n=()=>{l(),t.push(r(document)),tr=!0};return"interactive"===document.readyState||"complete"===document.readyState?n():(t.push(F("DOMContentLoaded",()=>{s(tt({type:eI.DomContentLoaded,data:{}})),"DOMContentLoaded"===M&&n()})),t.push(F("load",()=>{s(tt({type:eI.Load,data:{}})),"load"===M&&n()},window))),()=>{t.forEach(t=>t()),ei.destroy(),tr=!1,a=void 0}}catch(t){console.warn(t)}}ti.addCustomEvent=(t,r)=>{if(!tr)throw Error("please add custom event after start recording");s(tt({type:eI.Custom,data:{tag:t,payload:r}}))},ti.freezePage=()=>{ez.forEach(t=>t.freeze())},ti.takeFullSnapshot=t=>{if(!tr)throw Error("please take full snapshot after start recording");l(t)},ti.mirror=tn;var to=((eu=to||{})[eu.DomContentLoaded=0]="DomContentLoaded",eu[eu.Load=1]="Load",eu[eu.FullSnapshot=2]="FullSnapshot",eu[eu.IncrementalSnapshot=3]="IncrementalSnapshot",eu[eu.Meta=4]="Meta",eu[eu.Custom=5]="Custom",eu[eu.Plugin=6]="Plugin",eu),ta=((ec=ta||{})[ec.Mutation=0]="Mutation",ec[ec.MouseMove=1]="MouseMove",ec[ec.MouseInteraction=2]="MouseInteraction",ec[ec.Scroll=3]="Scroll",ec[ec.ViewportResize=4]="ViewportResize",ec[ec.Input=5]="Input",ec[ec.TouchMove=6]="TouchMove",ec[ec.MediaInteraction=7]="MediaInteraction",ec[ec.StyleSheetRule=8]="StyleSheetRule",ec[ec.CanvasMutation=9]="CanvasMutation",ec[ec.Font=10]="Font",ec[ec.Log=11]="Log",ec[ec.Drag=12]="Drag",ec[ec.StyleDeclaration=13]="StyleDeclaration",ec[ec.Selection=14]="Selection",ec[ec.AdoptedStyleSheet=15]="AdoptedStyleSheet",ec[ec.CustomElement=16]="CustomElement",ec),ts={DEBUG:!1,LIB_VERSION:"2.55.1"};if("undefined"==typeof window){var tl={hostname:""};eT={navigator:{userAgent:"",onLine:!0},document:{location:tl,referrer:""},screen:{width:0,height:0},location:tl}}else eT=window;var tu=Array.prototype,tc=Function.prototype,td=Object.prototype,tp=tu.slice,tf=td.toString,th=td.hasOwnProperty,tm=eT.console,tg=eT.navigator,ty=eT.document,tv=eT.opera,tb=eT.screen,t_=tg.userAgent,tw=tc.bind,tS=tu.forEach,tx=tu.indexOf,tE=tu.map,tk=Array.isArray,tC={},tO={trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},tR={log:function(){if(ts.DEBUG&&!tO.isUndefined(tm)&&tm)try{tm.log.apply(tm,arguments)}catch(t){tO.each(arguments,function(t){tm.log(t)})}},warn:function(){if(ts.DEBUG&&!tO.isUndefined(tm)&&tm){var t=["Mixpanel warning:"].concat(tO.toArray(arguments));try{tm.warn.apply(tm,t)}catch(r){tO.each(t,function(t){tm.warn(t)})}}},error:function(){if(ts.DEBUG&&!tO.isUndefined(tm)&&tm){var t=["Mixpanel error:"].concat(tO.toArray(arguments));try{tm.error.apply(tm,t)}catch(r){tO.each(t,function(t){tm.error(t)})}}},critical:function(){if(!tO.isUndefined(tm)&&tm){var t=["Mixpanel error:"].concat(tO.toArray(arguments));try{tm.error.apply(tm,t)}catch(r){tO.each(t,function(t){tm.error(t)})}}}},tT=function(t,r){return function(){return arguments[0]="["+r+"] "+arguments[0],t.apply(tR,arguments)}},tP=function(t){return{log:tT(tR.log,t),error:tT(tR.error,t),critical:tT(tR.critical,t)}};tO.bind=function(t,r){var n,i;if(tw&&t.bind===tw)return tw.apply(t,tp.call(arguments,1));if(!tO.isFunction(t))throw TypeError();return n=tp.call(arguments,2),i=function(){if(!(this instanceof i))return t.apply(r,n.concat(tp.call(arguments)));var o={};o.prototype=t.prototype;var a=new o;o.prototype=null;var s=t.apply(a,n.concat(tp.call(arguments)));return Object(s)===s?s:a}},tO.each=function(t,r,n){if(null!=t){if(tS&&t.forEach===tS)t.forEach(r,n);else if(t.length===+t.length){for(var i=0,o=t.length;i<o;i++)if(i in t&&r.call(n,t[i],i,t)===tC)return}else for(var a in t)if(th.call(t,a)&&r.call(n,t[a],a,t)===tC)return}},tO.extend=function(t){return tO.each(tp.call(arguments,1),function(r){for(var n in r)void 0!==r[n]&&(t[n]=r[n])}),t},tO.isArray=tk||function(t){return"[object Array]"===tf.call(t)},tO.isFunction=function(t){try{return/^\s*\bfunction\b/.test(t)}catch(t){return!1}},tO.isArguments=function(t){return!!(t&&th.call(t,"callee"))},tO.toArray=function(t){return t?t.toArray?t.toArray():tO.isArray(t)||tO.isArguments(t)?tp.call(t):tO.values(t):[]},tO.map=function(t,r,n){if(tE&&t.map===tE)return t.map(r,n);var i=[];return tO.each(t,function(t){i.push(r.call(n,t))}),i},tO.keys=function(t){var r=[];return null===t||tO.each(t,function(t,n){r[r.length]=n}),r},tO.values=function(t){var r=[];return null===t||tO.each(t,function(t){r[r.length]=t}),r},tO.include=function(t,r){var n=!1;return null===t?n:tx&&t.indexOf===tx?-1!=t.indexOf(r):(tO.each(t,function(t){if(n||(n=t===r))return tC}),n)},tO.includes=function(t,r){return -1!==t.indexOf(r)},tO.inherit=function(t,r){return t.prototype=new r,t.prototype.constructor=t,t.superclass=r.prototype,t},tO.isObject=function(t){return t===Object(t)&&!tO.isArray(t)},tO.isEmptyObject=function(t){if(tO.isObject(t)){for(var r in t)if(th.call(t,r))return!1;return!0}return!1},tO.isUndefined=function(t){return void 0===t},tO.isString=function(t){return"[object String]"==tf.call(t)},tO.isDate=function(t){return"[object Date]"==tf.call(t)},tO.isNumber=function(t){return"[object Number]"==tf.call(t)},tO.isElement=function(t){return!!(t&&1===t.nodeType)},tO.encodeDates=function(t){return tO.each(t,function(r,n){tO.isDate(r)?t[n]=tO.formatDate(r):tO.isObject(r)&&(t[n]=tO.encodeDates(r))}),t},tO.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},tO.formatDate=function(t){function r(t){return t<10?"0"+t:t}return t.getUTCFullYear()+"-"+r(t.getUTCMonth()+1)+"-"+r(t.getUTCDate())+"T"+r(t.getUTCHours())+":"+r(t.getUTCMinutes())+":"+r(t.getUTCSeconds())},tO.strip_empty_properties=function(t){var r={};return tO.each(t,function(t,n){tO.isString(t)&&t.length>0&&(r[n]=t)}),r},tO.truncate=function(t,r){var n;return"string"==typeof t?n=t.slice(0,r):tO.isArray(t)?(n=[],tO.each(t,function(t){n.push(tO.truncate(t,r))})):tO.isObject(t)?(n={},tO.each(t,function(t,i){n[i]=tO.truncate(t,r)})):n=t,n},tO.JSONEncode=function(t){var r=function(t){var r=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n={"\b":"\\b","	":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return r.lastIndex=0,r.test(t)?'"'+t.replace(r,function(t){var r=n[t];return"string"==typeof r?r:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'},n=function(t,i){var o="",a=0,s="",l="",u=0,c=o,d=[],f=i[t];switch(f&&"object"==typeof f&&"function"==typeof f.toJSON&&(f=f.toJSON(t)),typeof f){case"string":return r(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":return String(f);case"object":if(!f)return"null";if(o+="    ",d=[],"[object Array]"===tf.apply(f)){for(a=0,u=f.length;a<u;a+=1)d[a]=n(a,f)||"null";return l=0===d.length?"[]":o?"[\n"+o+d.join(",\n"+o)+"\n"+c+"]":"["+d.join(",")+"]",o=c,l}for(s in f)th.call(f,s)&&(l=n(s,f))&&d.push(r(s)+(o?": ":":")+l);return l=0===d.length?"{}":o?"{"+d.join(",")+c+"}":"{"+d.join(",")+"}",o=c,l}};return n("",{"":t})},em={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"	"},eg=function(t){var r=SyntaxError(t);throw r.at=ed,r.text=ef,r},ey=function(t){return t&&t!==ep&&eg("Expected '"+t+"' instead of '"+ep+"'"),ep=ef.charAt(ed),ed+=1,ep},ev=function(){var t,r="";for("-"===ep&&(r="-",ey("-"));ep>="0"&&ep<="9";)r+=ep,ey();if("."===ep)for(r+=".";ey()&&ep>="0"&&ep<="9";)r+=ep;if("e"===ep||"E"===ep)for(r+=ep,ey(),("-"===ep||"+"===ep)&&(r+=ep,ey());ep>="0"&&ep<="9";)r+=ep,ey();if(isFinite(t=+r))return t;eg("Bad number")},eb=function(){var t,r,n,i="";if('"'===ep)for(;ey();){if('"'===ep)return ey(),i;if("\\"===ep)if(ey(),"u"===ep){for(r=0,n=0;r<4&&isFinite(t=parseInt(ey(),16));r+=1)n=16*n+t;i+=String.fromCharCode(n)}else if("string"==typeof em[ep])i+=em[ep];else break;else i+=ep}eg("Bad string")},e_=function(){for(;ep&&ep<=" ";)ey()},ew=function(){switch(ep){case"t":return ey("t"),ey("r"),ey("u"),ey("e"),!0;case"f":return ey("f"),ey("a"),ey("l"),ey("s"),ey("e"),!1;case"n":return ey("n"),ey("u"),ey("l"),ey("l"),null}eg('Unexpected "'+ep+'"')},eS=function(){var t=[];if("["===ep){if(ey("["),e_(),"]"===ep)return ey("]"),t;for(;ep;){if(t.push(eh()),e_(),"]"===ep)return ey("]"),t;ey(","),e_()}}eg("Bad array")},ex=function(){var t,r={};if("{"===ep){if(ey("{"),e_(),"}"===ep)return ey("}"),r;for(;ep;){if(t=eb(),e_(),ey(":"),Object.hasOwnProperty.call(r,t)&&eg('Duplicate key "'+t+'"'),r[t]=eh(),e_(),"}"===ep)return ey("}"),r;ey(","),e_()}}eg("Bad object")},eh=function(){switch(e_(),ep){case"{":return ex();case"[":return eS();case'"':return eb();case"-":return ev();default:return ep>="0"&&ep<="9"?ev():ew()}},tO.JSONDecode=function(t){var r;return ef=t,ed=0,ep=" ",r=eh(),e_(),ep&&eg("Syntax error"),r},tO.base64Encode=function(t){var r,n,i,o,a,s,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=0,c=0,d="",f=[];if(!t)return t;t=tO.utf8Encode(t);do r=t.charCodeAt(u++),n=(s=r<<16|t.charCodeAt(u++)<<8|t.charCodeAt(u++))>>18&63,i=s>>12&63,o=s>>6&63,a=63&s,f[c++]=l.charAt(n)+l.charAt(i)+l.charAt(o)+l.charAt(a);while(u<t.length);switch(d=f.join(""),t.length%3){case 1:d=d.slice(0,-2)+"==";break;case 2:d=d.slice(0,-1)+"="}return d},tO.utf8Encode=function(t){t=(t+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");var r,n,i,o="",a=0;for(i=0,r=n=0,a=t.length;i<a;i++){var s=t.charCodeAt(i),l=null;s<128?n++:l=s>127&&s<2048?String.fromCharCode(s>>6|192,63&s|128):String.fromCharCode(s>>12|224,s>>6&63|128,63&s|128),null!==l&&(n>r&&(o+=t.substring(r,n)),o+=l,r=n=i+1)}return n>r&&(o+=t.substring(r,t.length)),o},eE=function(){var t,r=+new Date;if(eT.performance&&eT.performance.now)t=eT.performance.now();else for(t=0;r==+new Date;)t++;return r.toString(16)+Math.floor(t).toString(16)},ek=function(){var t,r,n=[],i=0;function o(t,r){var i,o=0;for(i=0;i<r.length;i++)o|=n[i]<<8*i;return t^o}for(t=0;t<t_.length;t++)r=t_.charCodeAt(t),n.unshift(255&r),n.length>=4&&(i=o(i,n),n=[]);return n.length>0&&(i=o(i,n)),i.toString(16)},tO.UUID=function(){var t=(tb.height*tb.width).toString(16);return eE()+"-"+Math.random().toString(16).replace(".","")+"-"+ek()+"-"+t+"-"+eE()};var tM=["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"];tO.isBlockedUA=function(t){var r;for(r=0,t=t.toLowerCase();r<tM.length;r++)if(-1!==t.indexOf(tM[r]))return!0;return!1},tO.HTTPBuildQuery=function(t,r){var n,i,o=[];return tO.isUndefined(r)&&(r="&"),tO.each(t,function(t,r){n=encodeURIComponent(t.toString()),i=encodeURIComponent(r),o[o.length]=i+"="+n}),o.join(r)},tO.getQueryParam=function(t,r){var n=RegExp("[\\?&]"+(r=r.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]"))+"=([^&#]*)").exec(t);if(null===n||n&&"string"!=typeof n[1]&&n[1].length)return"";var i=n[1];try{i=decodeURIComponent(i)}catch(t){tR.error("Skipping decoding for malformed query param: "+i)}return i.replace(/\+/g," ")},tO.cookie={get:function(t){for(var r=t+"=",n=ty.cookie.split(";"),i=0;i<n.length;i++){for(var o=n[i];" "==o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(r))return decodeURIComponent(o.substring(r.length,o.length))}return null},parse:function(t){var r;try{r=tO.JSONDecode(tO.cookie.get(t))||{}}catch(t){}return r},set_seconds:function(t,r,n,i,o,a,s){var l="",u="",c="";if(s)l="; domain="+s;else if(i){var d=t$(ty.location.hostname);l=d?"; domain=."+d:""}if(n){var f=new Date;f.setTime(f.getTime()+1e3*n),u="; expires="+f.toGMTString()}a&&(o=!0,c="; SameSite=None"),o&&(c+="; secure"),ty.cookie=t+"="+encodeURIComponent(r)+u+"; path=/"+l+c},set:function(t,r,n,i,o,a,s){var l="",u="",c="";if(s)l="; domain="+s;else if(i){var d=t$(ty.location.hostname);l=d?"; domain=."+d:""}if(n){var f=new Date;f.setTime(f.getTime()+24*n*36e5),u="; expires="+f.toGMTString()}a&&(o=!0,c="; SameSite=None"),o&&(c+="; secure");var h=t+"="+encodeURIComponent(r)+u+"; path=/"+l+c;return ty.cookie=h,h},remove:function(t,r,n){tO.cookie.set(t,"",-1,r,!1,!1,n)}};var tI=null,tA=function(t,r){if(null!==tI&&!r)return tI;var n=!0;try{t=t||window.localStorage;var i="__mplss_"+tD(8);t.setItem(i,"xyz"),"xyz"!==t.getItem(i)&&(n=!1),t.removeItem(i)}catch(t){n=!1}return tI=n,n};tO.localStorage={is_supported:function(t){var r=tA(null,t);return r||tR.error("localStorage unsupported; falling back to cookie store"),r},error:function(t){tR.error("localStorage error: "+t)},get:function(t){try{return window.localStorage.getItem(t)}catch(t){tO.localStorage.error(t)}return null},parse:function(t){try{return tO.JSONDecode(tO.localStorage.get(t))||{}}catch(t){}return null},set:function(t,r){try{window.localStorage.setItem(t,r)}catch(t){tO.localStorage.error(t)}},remove:function(t){try{window.localStorage.removeItem(t)}catch(t){tO.localStorage.error(t)}}},tO.register_event=function(){function t(r){return r&&(r.preventDefault=t.preventDefault,r.stopPropagation=t.stopPropagation),r}return t.preventDefault=function(){this.returnValue=!1},t.stopPropagation=function(){this.cancelBubble=!0},function(r,n,i,o,a){if(!r){tR.error("No valid element provided to register_event");return}if(r.addEventListener&&!o)r.addEventListener(n,i,!!a);else{var s,l,u,c="on"+n,d=r[c];r[c]=(s=r,l=i,u=d,function(r){if(r=r||t(window.event)){var n,i,o=!0;return tO.isFunction(u)&&(n=u(r)),i=l.call(s,r),(!1===n||!1===i)&&(o=!1),o}})}}}();var tL=RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');tO.dom_query=function(){function t(t){return t.all?t.all:t.getElementsByTagName("*")}var r=/[\t\r\n]/g;function n(n){if(!ty.getElementsByTagName)return[];var i=n.split(" "),o=[ty];for(g=0;g<i.length;g++){if((d=i[g].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){S=(f=d.split("#"))[0];var a=f[1],s=ty.getElementById(a);if(!s||S&&s.nodeName.toLowerCase()!=S)return[];o=[s];continue}if(d.indexOf(".")>-1){S=(f=d.split("."))[0];var l,u=f[1];for(S||(S="*"),h=[],m=0,y=0;y<o.length;y++)for(v=0,b="*"==S?t(o[y]):o[y].getElementsByTagName(S);v<b.length;v++)h[m++]=b[v];for(y=0,o=[],_=0;y<h.length;y++)h[y].className&&tO.isString(h[y].className)&&(l=h[y],(" "+l.className+" ").replace(r," ").indexOf(" "+u+" ")>=0)&&(o[_++]=h[y]);continue}var c=d.match(tL);if(c){var d,f,h,m,g,y,v,b,_,w,S=c[1],x=c[2],E=c[3],k=c[4];for(S||(S="*"),h=[],m=0,y=0;y<o.length;y++)for(v=0,b="*"==S?t(o[y]):o[y].getElementsByTagName(S);v<b.length;v++)h[m++]=b[v];switch(o=[],_=0,E){case"=":w=function(t){return t.getAttribute(x)==k};break;case"~":w=function(t){return t.getAttribute(x).match(RegExp("\\b"+k+"\\b"))};break;case"|":w=function(t){return t.getAttribute(x).match(RegExp("^"+k+"-?"))};break;case"^":w=function(t){return 0===t.getAttribute(x).indexOf(k)};break;case"$":w=function(t){return t.getAttribute(x).lastIndexOf(k)==t.getAttribute(x).length-k.length};break;case"*":w=function(t){return t.getAttribute(x).indexOf(k)>-1};break;default:w=function(t){return t.getAttribute(x)}}for(y=0,o=[],_=0;y<h.length;y++)w(h[y])&&(o[_++]=h[y]);continue}for(y=0,S=d,h=[],m=0;y<o.length;y++)for(v=0,b=o[y].getElementsByTagName(S);v<b.length;v++)h[m++]=b[v];o=h}return o}return function(t){return tO.isElement(t)?[t]:tO.isObject(t)&&!tO.isUndefined(t.length)?t:n.call(this,t)}}();var tN=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],tj=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];tO.info={campaignParams:function(t){var r="",n={};return tO.each(tN,function(i){(r=tO.getQueryParam(ty.URL,i)).length?n[i]=r:void 0!==t&&(n[i]=t)}),n},clickParams:function(){var t="",r={};return tO.each(tj,function(n){(t=tO.getQueryParam(ty.URL,n)).length&&(r[n]=t)}),r},marketingParams:function(){return tO.extend(tO.info.campaignParams(),tO.info.clickParams())},searchEngine:function(t){return 0===t.search("https?://(.*)google.([^/?]*)")?"google":0===t.search("https?://(.*)bing.com")?"bing":0===t.search("https?://(.*)yahoo.com")?"yahoo":0===t.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(t){var r=tO.info.searchEngine(t),n={};if(null!==r){n.$search_engine=r;var i=tO.getQueryParam(t,"yahoo"!=r?"q":"p");i.length&&(n.mp_keyword=i)}return n},browser:function(t,r,n){if(r=r||"",n||tO.includes(t," OPR/"))return tO.includes(t,"Mini")?"Opera Mini":"Opera";if(/(BlackBerry|PlayBook|BB10)/i.test(t))return"BlackBerry";if(tO.includes(t,"IEMobile")||tO.includes(t,"WPDesktop"))return"Internet Explorer Mobile";if(tO.includes(t,"SamsungBrowser/"))return"Samsung Internet";if(tO.includes(t,"Edge")||tO.includes(t,"Edg/"))return"Microsoft Edge";else if(tO.includes(t,"FBIOS"))return"Facebook Mobile";else if(tO.includes(t,"Chrome"))return"Chrome";else if(tO.includes(t,"CriOS"))return"Chrome iOS";else if(tO.includes(t,"UCWEB")||tO.includes(t,"UCBrowser"))return"UC Browser";else if(tO.includes(t,"FxiOS"))return"Firefox iOS";else if(tO.includes(r,"Apple"))return tO.includes(t,"Mobile")?"Mobile Safari":"Safari";else if(tO.includes(t,"Android"))return"Android Mobile";else if(tO.includes(t,"Konqueror"))return"Konqueror";else if(tO.includes(t,"Firefox"))return"Firefox";else if(tO.includes(t,"MSIE")||tO.includes(t,"Trident/"))return"Internet Explorer";else if(tO.includes(t,"Gecko"))return"Mozilla";else return""},browserVersion:function(t,r,n){var i={"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+)?)/}[tO.info.browser(t,r,n)];if(void 0===i)return null;var o=t.match(i);return o?parseFloat(o[o.length-2]):null},os:function(){if(/Windows/i.test(t_))return/Phone/.test(t_)||/WPDesktop/.test(t_)?"Windows Phone":"Windows";if(/(iPhone|iPad|iPod)/.test(t_))return"iOS";if(/Android/.test(t_))return"Android";if(/(BlackBerry|PlayBook|BB10)/i.test(t_))return"BlackBerry";if(/Mac/i.test(t_))return"Mac OS X";else if(/Linux/.test(t_))return"Linux";else if(/CrOS/.test(t_))return"Chrome OS";else return""},device:function(t){if(/Windows Phone/i.test(t)||/WPDesktop/.test(t))return"Windows Phone";if(/iPad/.test(t))return"iPad";if(/iPod/.test(t))return"iPod Touch";if(/iPhone/.test(t))return"iPhone";if(/(BlackBerry|PlayBook|BB10)/i.test(t))return"BlackBerry";else if(/Android/.test(t))return"Android";else return""},referringDomain:function(t){var r=t.split("/");return r.length>=3?r[2]:""},currentUrl:function(){return eT.location.href},properties:function(t){return"object"!=typeof t&&(t={}),tO.extend(tO.strip_empty_properties({$os:tO.info.os(),$browser:tO.info.browser(t_,tg.vendor,tv),$referrer:ty.referrer,$referring_domain:tO.info.referringDomain(ty.referrer),$device:tO.info.device(t_)}),{$current_url:tO.info.currentUrl(),$browser_version:tO.info.browserVersion(t_,tg.vendor,tv),$screen_height:tb.height,$screen_width:tb.width,mp_lib:"web",$lib_version:ts.LIB_VERSION,$insert_id:tD(),time:tO.timestamp()/1e3},tO.strip_empty_properties(t))},people_properties:function(){return tO.extend(tO.strip_empty_properties({$os:tO.info.os(),$browser:tO.info.browser(t_,tg.vendor,tv)}),{$browser_version:tO.info.browserVersion(t_,tg.vendor,tv)})},mpPageViewProperties:function(){return tO.strip_empty_properties({current_page_title:ty.title,current_domain:eT.location.hostname,current_url_path:eT.location.pathname,current_url_protocol:eT.location.protocol,current_url_search:eT.location.search})}};var tD=function(t){var r=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return t?r.substring(0,t):r},tF=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,tB=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,t$=function(t){var r=tB,n=t.split("."),i=n[n.length-1];(i.length>4||"com"===i||"org"===i)&&(r=tF);var o=t.match(r);return o?o[0]:""},tU=function(){var t=eT.navigator.onLine;return tO.isUndefined(t)||t},tz=null,tq=null;function tZ(t,r){t1(!0,t,r)}function tH(t,r){t1(!1,t,r)}function tV(t,r){return"1"===t0(t,r)}function tW(t,r){if(function(t){if(t&&t.ignoreDnt)return!1;var r=t&&t.window||eT,n=r.navigator||{},i=!1;return tO.each([n.doNotTrack,n.msDoNotTrack,r.doNotTrack],function(t){tO.includes([!0,1,"1","yes"],t)&&(i=!0)}),i}(r))return tR.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 n="0"===t0(t,r);return n&&tR.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),n}function tG(t){return t2(t,function(t){return this.get_config(t)})}function tK(t){return t2(t,function(t){return this._get_config(t)})}function tX(t){return t2(t,function(t){return this._get_config(t)})}function tY(t,r){tJ(r=r||{}).remove(tQ(t,r),!!r.crossSubdomainCookie,r.cookieDomain)}function tJ(t){return"localStorage"===(t=t||{}).persistenceType?tO.localStorage:tO.cookie}function tQ(t,r){return((r=r||{}).persistencePrefix||"__mp_opt_in_out_")+t}function t0(t,r){return tJ(r).get(tQ(t,r))}function t1(t,r,n){if(!tO.isString(r)||!r.length){tR.error("gdpr."+(t?"optIn":"optOut")+" called with an invalid token");return}tJ(n=n||{}).set(tQ(r,n),+!!t,tO.isNumber(n.cookieExpiration)?n.cookieExpiration:null,!!n.crossSubdomainCookie,!!n.secureCookie,!!n.crossSiteCookie,n.cookieDomain),n.track&&t&&n.track(n.trackEventName||"$opt_in",n.trackProperties,{send_immediately:!0})}function t2(t,r){return function(){var n=!1;try{var i=r.call(this,"token"),o=r.call(this,"ignore_dnt"),a=r.call(this,"opt_out_tracking_persistence_type"),s=r.call(this,"opt_out_tracking_cookie_prefix"),l=r.call(this,"window");i&&(n=tW(i,{ignoreDnt:o,persistenceType:a,persistencePrefix:s,window:l}))}catch(t){tR.error("Unexpected error when checking tracking opt-out status: "+t)}if(!n)return t.apply(this,arguments);var u=arguments[arguments.length-1];"function"==typeof u&&u(0)}}"undefined"!=typeof JSON&&(tz=JSON.stringify,tq=JSON.parse),tz=tz||tO.JSONEncode,tq=tq||tO.JSONDecode,tO.toArray=tO.toArray,tO.isObject=tO.isObject,tO.JSONEncode=tO.JSONEncode,tO.JSONDecode=tO.JSONDecode,tO.isBlockedUA=tO.isBlockedUA,tO.isEmptyObject=tO.isEmptyObject,tO.info=tO.info,tO.info.device=tO.info.device,tO.info.browser=tO.info.browser,tO.info.browserVersion=tO.info.browserVersion,tO.info.properties=tO.info.properties;var t5=tP("lock"),t3=function(t,r){r=r||{},this.storageKey=t,this.storage=r.storage||window.localStorage,this.pollIntervalMS=r.pollIntervalMS||100,this.timeoutMS=r.timeoutMS||2e3};t3.prototype.withLock=function(t,r,n){n||"function"==typeof r||(n=r,r=null);var i=n||new Date().getTime()+"|"+Math.random(),o=new Date().getTime(),a=this.storageKey,s=this.pollIntervalMS,l=this.timeoutMS,u=this.storage,c=a+":X",d=a+":Y",f=a+":Z",h=function(t){r&&r(t)},m=function(t){if(new Date().getTime()-o>l){t5.error("Timeout waiting for mutex on "+a+"; clearing lock. ["+i+"]"),u.removeItem(f),u.removeItem(d),v();return}setTimeout(function(){try{t()}catch(t){h(t)}},s*(Math.random()+.1))},g=function(t,r){t()?r():m(function(){g(t,r)})},y=function(){var t=u.getItem(d);if(t&&t!==i)return!1;if(u.setItem(d,i),u.getItem(d)===i)return!0;if(!tA(u,!0))throw Error("localStorage support dropped while acquiring lock");return!1},v=function(){u.setItem(c,i),g(y,function(){if(u.getItem(c)===i){b();return}m(function(){if(u.getItem(d)!==i){v();return}g(function(){return!u.getItem(f)},b)})})},b=function(){u.setItem(f,"1");try{t()}finally{u.removeItem(f),u.getItem(d)===i&&u.removeItem(d),u.getItem(c)===i&&u.removeItem(c)}};try{if(tA(u,!0))v();else throw Error("localStorage support check failed")}catch(t){h(t)}};var t6=tP("batch"),t4=function(t,r){r=r||{},this.storageKey=t,this.storage=r.storage||window.localStorage,this.reportError=r.errorReporter||tO.bind(t6.error,t6),this.lock=new t3(t,{storage:this.storage}),this.usePersistence=r.usePersistence,this.pid=r.pid||null,this.memQueue=[]};t4.prototype.enqueue=function(t,r,n){var i={id:tD(),flushAfter:new Date().getTime()+2*r,payload:t};this.usePersistence?this.lock.withLock(tO.bind(function(){var r;try{var o=this.readFromStorage();o.push(i),(r=this.saveToStorage(o))&&this.memQueue.push(i)}catch(n){this.reportError("Error enqueueing item",t),r=!1}n&&n(r)},this),tO.bind(function(t){this.reportError("Error acquiring storage lock",t),n&&n(!1)},this),this.pid):(this.memQueue.push(i),n&&n(!0))},t4.prototype.fillBatch=function(t){var r=this.memQueue.slice(0,t);if(this.usePersistence&&r.length<t){var n=this.readFromStorage();if(n.length){var i={};tO.each(r,function(t){i[t.id]=!0});for(var o=0;o<n.length;o++){var a=n[o];if(new Date().getTime()>a.flushAfter&&!i[a.id]&&(a.orphaned=!0,r.push(a),r.length>=t))break}}}return r};var t8=function(t,r){var n=[];return tO.each(t,function(t){t.id&&!r[t.id]&&n.push(t)}),n};t4.prototype.removeItemsByID=function(t,r){var n={};if(tO.each(t,function(t){n[t]=!0}),this.memQueue=t8(this.memQueue,n),this.usePersistence){var i=tO.bind(function(){var r;try{var i=this.readFromStorage();if(i=t8(i,n),r=this.saveToStorage(i)){i=this.readFromStorage();for(var o=0;o<i.length;o++){var a=i[o];if(a.id&&n[a.id])return this.reportError("Item not removed from storage"),!1}}}catch(n){this.reportError("Error removing items",t),r=!1}return r},this);this.lock.withLock(function(){var t=i();r&&r(t)},tO.bind(function(t){var n=!1;if(this.reportError("Error acquiring storage lock",t),!tA(this.storage,!0)&&!(n=i()))try{this.storage.removeItem(this.storageKey)}catch(t){this.reportError("Error clearing queue",t)}r&&r(n)},this),this.pid)}else r&&r(!0)};var t7=function(t,r){var n=[];return tO.each(t,function(t){var i=t.id;if(i in r){var o=r[i];null!==o&&(t.payload=o,n.push(t))}else n.push(t)}),n};t4.prototype.updatePayloads=function(t,r){this.memQueue=t7(this.memQueue,t),this.usePersistence?this.lock.withLock(tO.bind(function(){var n;try{var i=this.readFromStorage();i=t7(i,t),n=this.saveToStorage(i)}catch(r){this.reportError("Error updating items",t),n=!1}r&&r(n)},this),tO.bind(function(t){this.reportError("Error acquiring storage lock",t),r&&r(!1)},this),this.pid):r&&r(!0)},t4.prototype.readFromStorage=function(){var t;try{(t=this.storage.getItem(this.storageKey))&&(t=tq(t),tO.isArray(t)||(this.reportError("Invalid storage entry:",t),t=null))}catch(r){this.reportError("Error retrieving queue",r),t=null}return t||[]},t4.prototype.saveToStorage=function(t){try{return this.storage.setItem(this.storageKey,tz(t)),!0}catch(t){return this.reportError("Error saving queue",t),!1}},t4.prototype.clear=function(){this.memQueue=[],this.usePersistence&&this.storage.removeItem(this.storageKey)};var t9=tP("batch"),re=function(t,r){this.errorReporter=r.errorReporter,this.queue=new t4(t,{errorReporter:tO.bind(this.reportError,this),storage:r.storage,usePersistence:r.usePersistence}),this.libConfig=r.libConfig,this.sendRequest=r.sendRequestFunc,this.beforeSendHook=r.beforeSendHook,this.stopAllBatching=r.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=r.flushOnlyOnInterval||!1};re.prototype.enqueue=function(t,r){this.queue.enqueue(t,this.flushInterval,r)},re.prototype.start=function(){this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},re.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},re.prototype.clear=function(){this.queue.clear()},re.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},re.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},re.prototype.scheduleFlush=function(t){this.flushInterval=t,this.stopped||(this.timeoutID=setTimeout(tO.bind(function(){this.stopped||this.flush()},this),this.flushInterval))},re.prototype.flush=function(t){try{if(this.requestInProgress){t9.log("Flush: Request already in progress");return}t=t||{};var r=this.libConfig.batch_request_timeout_ms,n=new Date().getTime(),i=this.batchSize,o=this.queue.fillBatch(i),a=o.length===i,s=[],l={};if(tO.each(o,function(t){var r=t.payload;if(this.beforeSendHook&&!t.orphaned&&(r=this.beforeSendHook(r)),r){r.event&&r.properties&&(r.properties=tO.extend({},r.properties,{mp_sent_by_lib_version:ts.LIB_VERSION}));var n=!0,i=t.id;i?(this.itemIdsSentSuccessfully[i]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:t,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[i]}),n=!1):this.reportError("[dupe] found item with no ID",{item:t}),n&&s.push(r)}l[t.id]=r},this),s.length<1){this.resetFlush();return}this.requestInProgress=!0;var u=tO.bind(function(s){this.requestInProgress=!1;try{var u=!1;if(t.unloading)this.queue.updatePayloads(l);else if(tO.isObject(s)&&"timeout"===s.error&&new Date().getTime()-n>=r)this.reportError("Network timeout; retrying"),this.flush();else if(tO.isObject(s)&&(s.httpStatusCode>=500||429===s.httpStatusCode||s.httpStatusCode<=0&&!tU()||"timeout"===s.error)){var c=2*this.flushInterval;s.retryAfter&&(c=1e3*parseInt(s.retryAfter,10)||c),c=Math.min(6e5,c),this.reportError("Error; retry in "+c+" ms"),this.scheduleFlush(c)}else if(tO.isObject(s)&&413===s.httpStatusCode)if(o.length>1){var d=Math.max(1,Math.floor(i/2));this.batchSize=Math.min(this.batchSize,d,o.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush()}else this.reportError("Single-event request too large; dropping",o),this.resetBatchSize(),u=!0;else u=!0;u&&(this.queue.removeItemsByID(tO.map(o,function(t){return t.id}),tO.bind(function(t){t?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!a?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)),tO.each(o,tO.bind(function(t){var r=t.id;r?(this.itemIdsSentSuccessfully[r]=this.itemIdsSentSuccessfully[r]||0,this.itemIdsSentSuccessfully[r]++,this.itemIdsSentSuccessfully[r]>5&&this.reportError("[dupe] item ID sent too many times",{item:t,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[r]})):this.reportError("[dupe] found item with no ID while removing",{item:t})},this)))}catch(t){this.reportError("Error handling API response",t),this.resetFlush()}},this),c={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:r};t.unloading&&(c.transport="sendBeacon"),t9.log("MIXPANEL REQUEST:",s),this.sendRequest(s,c,u)}catch(t){this.reportError("Error flushing request queue",t),this.resetFlush()}},re.prototype.reportError=function(t,r){if(t9.error.apply(t9.error,arguments),this.errorReporter)try{r instanceof Error||(r=Error(t)),this.errorReporter(t,r)}catch(t){t9.error(t)}};var rt=tP("recorder"),rr=eT.CompressionStream,rn={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},ri=new Set([ta.MouseMove,ta.MouseInteraction,ta.Scroll,ta.ViewportResize,ta.Input,ta.TouchMove,ta.MediaInteraction,ta.Drag,ta.Selection]),ro=function(t){this._mixpanel=t,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=864e5,this.recordMinMs=0,this._initBatcher()};ro.prototype._initBatcher=function(){this.batcher=new re("__mprec",{libConfig:rn,sendRequestFunc:tO.bind(this.flushEventsWithOptOut,this),errorReporter:tO.bind(this.reportError,this),flushOnlyOnInterval:!0,usePersistence:!1})},ro.prototype.get_config=function(t){return this._mixpanel.get_config(t)},ro.prototype.startRecording=function(t){if(null!==this._stopRecording){rt.log("Recording already in progress, skipping startRecording.");return}this.recordMaxMs=this.get_config("record_max_ms"),this.recordMaxMs>864e5&&(this.recordMaxMs=864e5,rt.critical("record_max_ms cannot be greater than 86400000ms. Capping value.")),this.recordMinMs=this.get_config("record_min_ms"),this.recordMinMs>8e3&&(this.recordMinMs=8e3,rt.critical("record_min_ms cannot be greater than 8000ms. Capping value.")),this.recEvents=[],this.seqNo=0,this.replayStartTime=new Date().getTime(),this.replayId=tO.UUID(),t||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var r=tO.bind(function(){clearTimeout(this.idleTimeoutId),this.idleTimeoutId=setTimeout(tO.bind(function(){rt.log("Idle timeout reached, restarting recording."),this.resetRecording()},this),this.get_config("record_idle_timeout_ms"))},this),n=this.get_config("record_block_selector");(""===n||null===n)&&(n=void 0),this._stopRecording=ti({emit:tO.bind(function(t){this.batcher.enqueue(t),t.type===to.IncrementalSnapshot&&ri.has(t.data.source)&&(this.batcher.stopped&&new Date().getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),r())},this),blockClass:this.get_config("record_block_class"),blockSelector:n,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")}),r(),this.maxTimeoutId=setTimeout(tO.bind(this.resetRecording,this),this.recordMaxMs)},ro.prototype.resetRecording=function(){this.stopRecording(),this.startRecording(!0)},ro.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)},ro.prototype.flushEventsWithOptOut=function(t,r,n){this._flushEvents(t,r,n,tO.bind(this._onOptOut,this))},ro.prototype._onOptOut=function(t){0===t&&(this.recEvents=[],this.stopRecording())},ro.prototype._sendRequest=function(t,r,n,i){var o=tO.bind(function(r,n){200===r.status&&this.replayId===t&&this.seqNo++,i({status:0,httpStatusCode:r.status,responseBody:n,retryAfter:r.headers.get("Retry-After")})},this);eT.fetch(this.get_config("api_host")+"/"+this.get_config("api_routes").record+"?"+new URLSearchParams(r),{method:"POST",headers:{Authorization:"Basic "+btoa(this.get_config("token")+":"),"Content-Type":"application/octet-stream"},body:n}).then(function(t){t.json().then(function(r){o(t,r)}).catch(function(t){i({error:t})})}).catch(function(t){i({error:t,httpStatusCode:0})})},ro.prototype._flushEvents=tG(function(t,r,n){let i=t.length;if(i>0){var o=this.replayId,a=t[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=a);var s=t[i-1].timestamp-this.replayStartTime,l={distinct_id:String(this._mixpanel.get_distinct_id()),seq:this.seqNo,batch_start_time:a/1e3,replay_id:o,replay_length_ms:s,replay_start_time:this.replayStartTime/1e3},u=tO.JSONEncode(t),c=this._mixpanel.get_property("$device_id");c&&(l.$device_id=c);var d=this._mixpanel.get_property("$user_id");d&&(l.$user_id=d),rr?new Response(new Blob([u],{type:"application/json"}).stream().pipeThrough(new rr("gzip"))).blob().then(tO.bind(function(t){l.format="gzip",this._sendRequest(o,l,t,n)},this)):(l.format="body",this._sendRequest(o,l,u,n))}}),ro.prototype.reportError=function(t,r){rt.error.apply(rt.error,arguments);try{r||t instanceof Error||(t=Error(t)),this.get_config("error_reporter")(t,r)}catch(t){rt.error(t)}},eT.__mp_recorder=ro;var ra=function(){};ra.prototype.create_properties=function(){},ra.prototype.event_handler=function(){},ra.prototype.after_track_handler=function(){},ra.prototype.init=function(t){return this.mp=t,this},ra.prototype.track=function(t,r,n,i){var o=this,a=tO.dom_query(t);if(0===a.length){tR.error("The DOM query ("+t+") returned 0 elements");return}return tO.each(a,function(t){tO.register_event(t,this.override_event,function(t){var a={},s=o.create_properties(n,this),l=o.mp.get_config("track_links_timeout");o.event_handler(t,this,a),window.setTimeout(o.track_callback(i,s,a,!0),l),o.mp.track(r,s,o.track_callback(i,s,a))})},this),!0},ra.prototype.track_callback=function(t,r,n,i){i=i||!1;var o=this;return function(){!n.callback_fired&&(n.callback_fired=!0,t&&!1===t(i,r)||o.after_track_handler(r,n,i))}},ra.prototype.create_properties=function(t,r){var n;return"function"==typeof t?t(r):tO.extend({},t)};var rs=function(){this.override_event="click"};tO.inherit(rs,ra),rs.prototype.create_properties=function(t,r){var n=rs.superclass.create_properties.apply(this,arguments);return r.href&&(n.url=r.href),n},rs.prototype.event_handler=function(t,r,n){n.new_tab=2===t.which||t.metaKey||t.ctrlKey||"_blank"===r.target,n.href=r.href,n.new_tab||t.preventDefault()},rs.prototype.after_track_handler=function(t,r){r.new_tab||setTimeout(function(){window.location=r.href},0)};var rl=function(){this.override_event="submit"};tO.inherit(rl,ra),rl.prototype.event_handler=function(t,r,n){n.element=r,t.preventDefault()},rl.prototype.after_track_handler=function(t,r){setTimeout(function(){r.element.submit()},0)};var ru="$set",rc="$set_once",rd="$unset",rp="$add",rf="$append",rm="$union",rg="$remove",ry={set_action:function(t,r){var n={},i={};return tO.isObject(t)?tO.each(t,function(t,r){this._is_reserved_property(r)||(i[r]=t)},this):i[t]=r,n[ru]=i,n},unset_action:function(t){var r={},n=[];return tO.isArray(t)||(t=[t]),tO.each(t,function(t){this._is_reserved_property(t)||n.push(t)},this),r[rd]=n,r},set_once_action:function(t,r){var n={},i={};return tO.isObject(t)?tO.each(t,function(t,r){this._is_reserved_property(r)||(i[r]=t)},this):i[t]=r,n[rc]=i,n},union_action:function(t,r){var n={},i={};return tO.isObject(t)?tO.each(t,function(t,r){this._is_reserved_property(r)||(i[r]=tO.isArray(t)?t:[t])},this):i[t]=tO.isArray(r)?r:[r],n[rm]=i,n},append_action:function(t,r){var n={},i={};return tO.isObject(t)?tO.each(t,function(t,r){this._is_reserved_property(r)||(i[r]=t)},this):i[t]=r,n[rf]=i,n},remove_action:function(t,r){var n={},i={};return tO.isObject(t)?tO.each(t,function(t,r){this._is_reserved_property(r)||(i[r]=t)},this):i[t]=r,n[rg]=i,n},delete_action:function(){var t={};return t.$delete="",t}},rv=function(){};tO.extend(rv.prototype,ry),rv.prototype._init=function(t,r,n){this._mixpanel=t,this._group_key=r,this._group_id=n},rv.prototype.set=tX(function(t,r,n){var i=this.set_action(t,r);return tO.isObject(t)&&(n=r),this._send_request(i,n)}),rv.prototype.set_once=tX(function(t,r,n){var i=this.set_once_action(t,r);return tO.isObject(t)&&(n=r),this._send_request(i,n)}),rv.prototype.unset=tX(function(t,r){var n=this.unset_action(t);return this._send_request(n,r)}),rv.prototype.union=tX(function(t,r,n){tO.isObject(t)&&(n=r);var i=this.union_action(t,r);return this._send_request(i,n)}),rv.prototype.delete=tX(function(t){var r=this.delete_action();return this._send_request(r,t)}),rv.prototype.remove=tX(function(t,r,n){var i=this.remove_action(t,r);return this._send_request(i,n)}),rv.prototype._send_request=function(t,r){t.$group_key=this._group_key,t.$group_id=this._group_id,t.$token=this._get_config("token");var n=tO.encodeDates(t);return this._mixpanel._track_or_batch({type:"groups",data:n,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},r)},rv.prototype._is_reserved_property=function(t){return"$group_key"===t||"$group_id"===t},rv.prototype._get_config=function(t){return this._mixpanel.get_config(t)},rv.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},rv.prototype.remove=rv.prototype.remove,rv.prototype.set=rv.prototype.set,rv.prototype.set_once=rv.prototype.set_once,rv.prototype.union=rv.prototype.union,rv.prototype.unset=rv.prototype.unset,rv.prototype.toString=rv.prototype.toString;var rb=function(){};tO.extend(rb.prototype,ry),rb.prototype._init=function(t){this._mixpanel=t},rb.prototype.set=tK(function(t,r,n){var i=this.set_action(t,r);return tO.isObject(t)&&(n=r),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),i[ru]=tO.extend({},tO.info.people_properties(),i[ru]),this._send_request(i,n)}),rb.prototype.set_once=tK(function(t,r,n){var i=this.set_once_action(t,r);return tO.isObject(t)&&(n=r),this._send_request(i,n)}),rb.prototype.unset=tK(function(t,r){var n=this.unset_action(t);return this._send_request(n,r)}),rb.prototype.increment=tK(function(t,r,n){var i={},o={};return tO.isObject(t)?(tO.each(t,function(t,r){if(!this._is_reserved_property(r))if(isNaN(parseFloat(t))){tR.error("Invalid increment value passed to mixpanel.people.increment - must be a number");return}else o[r]=t},this),n=r):(tO.isUndefined(r)&&(r=1),o[t]=r),i[rp]=o,this._send_request(i,n)}),rb.prototype.append=tK(function(t,r,n){tO.isObject(t)&&(n=r);var i=this.append_action(t,r);return this._send_request(i,n)}),rb.prototype.remove=tK(function(t,r,n){tO.isObject(t)&&(n=r);var i=this.remove_action(t,r);return this._send_request(i,n)}),rb.prototype.union=tK(function(t,r,n){tO.isObject(t)&&(n=r);var i=this.union_action(t,r);return this._send_request(i,n)}),rb.prototype.track_charge=tK(function(t,r,n){if(!tO.isNumber(t)&&isNaN(t=parseFloat(t))){tR.error("Invalid value passed to mixpanel.people.track_charge - must be a number");return}return this.append("$transactions",tO.extend({$amount:t},r),n)}),rb.prototype.clear_charges=function(t){return this.set("$transactions",[],t)},rb.prototype.delete_user=function(){if(!this._identify_called()){tR.error("mixpanel.people.delete_user() requires you to call identify() first");return}var t={$delete:this._mixpanel.get_distinct_id()};return this._send_request(t)},rb.prototype.toString=function(){return this._mixpanel.toString()+".people"},rb.prototype._send_request=function(t,r){t.$token=this._get_config("token"),t.$distinct_id=this._mixpanel.get_distinct_id();var n=this._mixpanel.get_property("$device_id"),i=this._mixpanel.get_property("$user_id"),o=this._mixpanel.get_property("$had_persisted_distinct_id");n&&(t.$device_id=n),i&&(t.$user_id=i),o&&(t.$had_persisted_distinct_id=o);var a=tO.encodeDates(t);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:a,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},r):(this._enqueue(t),tO.isUndefined(r)||r(this._get_config("verbose")?{status:-1,error:null}:-1),tO.truncate(a,255))},rb.prototype._get_config=function(t){return this._mixpanel.get_config(t)},rb.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},rb.prototype._enqueue=function(t){ru in t?this._mixpanel.persistence._add_to_people_queue(ru,t):rc in t?this._mixpanel.persistence._add_to_people_queue(rc,t):rd in t?this._mixpanel.persistence._add_to_people_queue(rd,t):rp in t?this._mixpanel.persistence._add_to_people_queue(rp,t):rf in t?this._mixpanel.persistence._add_to_people_queue(rf,t):rg in t?this._mixpanel.persistence._add_to_people_queue(rg,t):rm in t?this._mixpanel.persistence._add_to_people_queue(rm,t):tR.error("Invalid call to _enqueue():",t)},rb.prototype._flush_one_queue=function(t,r,n,i){var o=this,a=tO.extend({},this._mixpanel.persistence.load_queue(t)),s=a;!tO.isUndefined(a)&&tO.isObject(a)&&!tO.isEmptyObject(a)&&(o._mixpanel.persistence._pop_from_people_queue(t,a),o._mixpanel.persistence.save(),i&&(s=i(a)),r.call(o,s,function(r,i){0===r&&o._mixpanel.persistence._add_to_people_queue(t,a),tO.isUndefined(n)||n(r,i)}))},rb.prototype._flush=function(t,r,n,i,o,a,s){var l=this;this._flush_one_queue(ru,this.set,t),this._flush_one_queue(rc,this.set_once,i),this._flush_one_queue(rd,this.unset,a,function(t){return tO.keys(t)}),this._flush_one_queue(rp,this.increment,r),this._flush_one_queue(rm,this.union,o);var u=this._mixpanel.persistence.load_queue(rf);if(!tO.isUndefined(u)&&tO.isArray(u)&&u.length)for(var c,d=function(t,r){0===t&&l._mixpanel.persistence._add_to_people_queue(rf,c),tO.isUndefined(n)||n(t,r)},f=u.length-1;f>=0;f--)c=(u=this._mixpanel.persistence.load_queue(rf)).pop(),l._mixpanel.persistence.save(),tO.isEmptyObject(c)||l.append(c,d);var h=this._mixpanel.persistence.load_queue(rg);if(!tO.isUndefined(h)&&tO.isArray(h)&&h.length)for(var m,g=function(t,r){0===t&&l._mixpanel.persistence._add_to_people_queue(rg,m),tO.isUndefined(s)||s(t,r)},y=h.length-1;y>=0;y--)m=(h=this._mixpanel.persistence.load_queue(rg)).pop(),l._mixpanel.persistence.save(),tO.isEmptyObject(m)||l.remove(m,g)},rb.prototype._is_reserved_property=function(t){return"$distinct_id"===t||"$token"===t||"$device_id"===t||"$user_id"===t||"$had_persisted_distinct_id"===t},rb.prototype.set=rb.prototype.set,rb.prototype.set_once=rb.prototype.set_once,rb.prototype.unset=rb.prototype.unset,rb.prototype.increment=rb.prototype.increment,rb.prototype.append=rb.prototype.append,rb.prototype.remove=rb.prototype.remove,rb.prototype.union=rb.prototype.union,rb.prototype.track_charge=rb.prototype.track_charge,rb.prototype.clear_charges=rb.prototype.clear_charges,rb.prototype.delete_user=rb.prototype.delete_user,rb.prototype.toString=rb.prototype.toString;var r_="__mps",rw="__mpso",rS="__mpus",rx="__mpa",rE="__mpap",rk="__mpr",rC="__mpu",rO="$people_distinct_id",rR="__alias",rT="__timers",rP=[r_,rw,rS,rx,rE,rk,rC,rO,rR,rT],rM=function(t){this.props={},this.campaign_params_saved=!1,t.persistence_name?this.name="mp_"+t.persistence_name:this.name="mp_"+t.token+"_mixpanel";var r=t.persistence;"cookie"!==r&&"localStorage"!==r&&(tR.critical("Unknown persistence type "+r+"; falling back to cookie"),r=t.persistence="cookie"),"localStorage"===r&&tO.localStorage.is_supported()?this.storage=tO.localStorage:this.storage=tO.cookie,this.load(),this.update_config(t),this.upgrade(),this.save()};rM.prototype.properties=function(){var t={};return this.load(),tO.each(this.props,function(r,n){tO.include(rP,n)||(t[n]=r)}),t},rM.prototype.load=function(){if(!this.disabled){var t=this.storage.parse(this.name);t&&(this.props=tO.extend({},t))}},rM.prototype.upgrade=function(){var t,r;this.storage===tO.localStorage?(t=tO.cookie.parse(this.name),tO.cookie.remove(this.name),tO.cookie.remove(this.name,!0),t&&this.register_once(t)):this.storage===tO.cookie&&(r=tO.localStorage.parse(this.name),tO.localStorage.remove(this.name),r&&this.register_once(r))},rM.prototype.save=function(){this.disabled||this.storage.set(this.name,tO.JSONEncode(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},rM.prototype.load_prop=function(t){return this.load(),this.props[t]},rM.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},rM.prototype.clear=function(){this.remove(),this.props={}},rM.prototype.register_once=function(t,r,n){return!!tO.isObject(t)&&(void 0===r&&(r="None"),this.expire_days=void 0===n?this.default_expiry:n,this.load(),tO.each(t,function(t,n){this.props.hasOwnProperty(n)&&this.props[n]!==r||(this.props[n]=t)},this),this.save(),!0)},rM.prototype.register=function(t,r){return!!tO.isObject(t)&&(this.expire_days=void 0===r?this.default_expiry:r,this.load(),tO.extend(this.props,t),this.save(),!0)},rM.prototype.unregister=function(t){this.load(),t in this.props&&(delete this.props[t],this.save())},rM.prototype.update_search_keyword=function(t){this.register(tO.info.searchInfo(t))},rM.prototype.update_referrer_info=function(t){this.register_once({$initial_referrer:t||"$direct",$initial_referring_domain:tO.info.referringDomain(t)||"$direct"},"")},rM.prototype.get_referrer_info=function(){return tO.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},rM.prototype.update_config=function(t){this.default_expiry=this.expire_days=t.cookie_expiration,this.set_disabled(t.disable_persistence),this.set_cookie_domain(t.cookie_domain),this.set_cross_site(t.cross_site_cookie),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie)},rM.prototype.set_disabled=function(t){this.disabled=t,this.disabled?this.remove():this.save()},rM.prototype.set_cookie_domain=function(t){t!==this.cookie_domain&&(this.remove(),this.cookie_domain=t,this.save())},rM.prototype.set_cross_site=function(t){t!==this.cross_site&&(this.cross_site=t,this.remove(),this.save())},rM.prototype.set_cross_subdomain=function(t){t!==this.cross_subdomain&&(this.cross_subdomain=t,this.remove(),this.save())},rM.prototype.get_cross_subdomain=function(){return this.cross_subdomain},rM.prototype.set_secure=function(t){t!==this.secure&&(this.secure=!!t,this.remove(),this.save())},rM.prototype._add_to_people_queue=function(t,r){var n=this._get_queue_key(t),i=r[t],o=this._get_or_create_queue(ru),a=this._get_or_create_queue(rc),s=this._get_or_create_queue(rd),l=this._get_or_create_queue(rp),u=this._get_or_create_queue(rm),c=this._get_or_create_queue(rg,[]),d=this._get_or_create_queue(rf,[]);n===r_?(tO.extend(o,i),this._pop_from_people_queue(rp,i),this._pop_from_people_queue(rm,i),this._pop_from_people_queue(rd,i)):n===rw?(tO.each(i,function(t,r){r in a||(a[r]=t)}),this._pop_from_people_queue(rd,i)):n===rS?tO.each(i,function(t){tO.each([o,a,l,u],function(r){t in r&&delete r[t]}),tO.each(d,function(r){t in r&&delete r[t]}),s[t]=!0}):n===rx?(tO.each(i,function(t,r){r in o?o[r]+=t:(r in l||(l[r]=0),l[r]+=t)},this),this._pop_from_people_queue(rd,i)):n===rC?(tO.each(i,function(t,r){tO.isArray(t)&&(r in u||(u[r]=[]),u[r]=u[r].concat(t))}),this._pop_from_people_queue(rd,i)):n===rk?(c.push(i),this._pop_from_people_queue(rf,i)):n===rE&&(d.push(i),this._pop_from_people_queue(rd,i)),tR.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),tR.log(r),this.save()},rM.prototype._pop_from_people_queue=function(t,r){var n=this.props[this._get_queue_key(t)];tO.isUndefined(n)||tO.each(r,function(r,i){t===rf||t===rg?tO.each(n,function(t){t[i]===r&&delete t[i]}):delete n[i]},this)},rM.prototype.load_queue=function(t){return this.load_prop(this._get_queue_key(t))},rM.prototype._get_queue_key=function(t){return t===ru?r_:t===rc?rw:t===rd?rS:t===rp?rx:t===rf?rE:t===rg?rk:t===rm?rC:void tR.error("Invalid queue:",t)},rM.prototype._get_or_create_queue=function(t,r){var n=this._get_queue_key(t);return r=tO.isUndefined(r)?{}:r,this.props[n]||(this.props[n]=r)},rM.prototype.set_event_timer=function(t,r){var n=this.load_prop(rT)||{};n[t]=r,this.props[rT]=n,this.save()},rM.prototype.remove_event_timer=function(t){var r=(this.load_prop(rT)||{})[t];return tO.isUndefined(r)||(delete this.props[rT][t],this.save()),r};var rI=function(t,r){throw Error(t+" not available in this build.")},rA=function(t){return t},rL=function(){},rN="mixpanel",rj="base64",rD="$device:",rF=eT.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,rB=!rF&&-1===t_.indexOf("MSIE")&&-1===t_.indexOf("Mozilla"),r$=null;tg.sendBeacon&&(r$=function(){return tg.sendBeacon.apply(tg,arguments)});var rU={track:"track/",engage:"engage/",groups:"groups/",record:"record/"},rz={api_host:"https://api-js.mixpanel.com",api_routes:rU,api_method:"POST",api_transport:"XHR",api_payload_format:rj,app_host:"https://mixpanel.com",cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:rL,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:rL,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: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:RegExp("^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$"),record_mask_text_selector:"*",record_max_ms:864e5,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},rq=!1,rZ=function(){},rH=function(t,r,n){var i,o=n===rN?eM:eM[n];if(o&&0===eP)i=o;else{if(o&&!tO.isArray(o)){tR.error("You have already initialized "+n);return}i=new rZ}if(i._cached_groups={},i._init(t,r,n),i.people=new rb,i.people._init(i),!i.get_config("skip_first_touch_marketing")){var a=tO.info.campaignParams(null),s={},l=!1;tO.each(a,function(t,r){s["initial_"+r]=t,t&&(l=!0)}),l&&i.people.set_once(s)}return ts.DEBUG=ts.DEBUG||i.get_config("debug"),!tO.isUndefined(o)&&tO.isArray(o)&&(i._execute_array.call(i.people,o.people),i._execute_array(o)),i};rZ.prototype.init=function(t,r,n){if(tO.isUndefined(n)){this.report_error("You must name your new library: init(token, config, name)");return}if(n===rN){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var i=rH(t,r,n);return eM[n]=i,i._loaded(),i},rZ.prototype._init=function(t,r,n){r=r||{},this.__loaded=!0,this.config={};var i={};if("api_payload_format"in r||(r.api_host||rz.api_host).match(/\.mixpanel\.com/)&&(i.api_payload_format="json"),this.set_config(tO.extend({},rz,i,r,{name:n,token:t,callback_fn:(n===rN?n:rN+"."+n)+"._jsc"})),this._jsc=rL,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(tO.localStorage.is_supported(!0)&&rF){if(this.init_batchers(),r$&&eT.addEventListener){var o=tO.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);eT.addEventListener("pagehide",function(t){t.persisted&&o()}),eT.addEventListener("visibilitychange",function(){"hidden"===ty.visibilityState&&o()})}}else this._batch_requests=!1,tR.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),tO.each(this.get_batcher_configs(),function(t){tR.log("Clearing batch queue "+t.queue_key),tO.localStorage.remove(t.queue_key)});this.persistence=this.cookie=new rM(this.config),this.unpersisted_superprops={},this._gdpr_init();var a=tO.UUID();this.get_distinct_id()||this.register_once({distinct_id:rD+a,$device_id:a},"");var s=this.get_config("track_pageview");s&&this._init_url_change_tracking(s),this.get_config("record_sessions_percent")>0&&100*Math.random()<=this.get_config("record_sessions_percent")&&this.start_session_recording()},rZ.prototype.start_session_recording=tG(function(){if(!eT.MutationObserver){tR.critical("Browser does not support MutationObserver; skipping session recording");return}var t=tO.bind(function(){this._recorder=this._recorder||new eT.__mp_recorder(this),this._recorder.startRecording()},this);tO.isUndefined(eT.__mp_recorder)?rI(this.get_config("recorder_src"),t):t()}),rZ.prototype.stop_session_recording=function(){this._recorder?this._recorder.stopRecording():tR.critical("Session recorder module not loaded")},rZ.prototype.get_session_recording_properties=function(){var t={};if(this._recorder){var r=this._recorder.replayId;r&&(t.$mp_replay_id=r)}return t},rZ.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 t=tO.info.campaignParams(null);tO.each(t,(function(t,r){this.unregister(r)}).bind(this))}},rZ.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(ty.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(tO.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(ty.referrer)},rZ.prototype._dom_loaded=function(){tO.each(this.__dom_loaded_queue,function(t){this._track_dom.apply(this,t)},this),this.has_opted_out_tracking()||tO.each(this.__request_queue,function(t){this._send_request.apply(this,t)},this),delete this.__dom_loaded_queue,delete this.__request_queue},rZ.prototype._track_dom=function(t,r){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!rq)return this.__dom_loaded_queue.push([t,r]),!1;var n=new t().init(this);return n.track.apply(n,r)},rZ.prototype._init_url_change_tracking=function(t){var r="";if(this.track_pageview()&&(r=tO.info.currentUrl()),tO.include(["full-url","url-with-path-and-query-string","url-with-path"],t)){eT.addEventListener("popstate",function(){eT.dispatchEvent(new Event("mp_locationchange"))}),eT.addEventListener("hashchange",function(){eT.dispatchEvent(new Event("mp_locationchange"))});var n=eT.history.pushState;"function"==typeof n&&(eT.history.pushState=function(t,r,i){n.call(eT.history,t,r,i),eT.dispatchEvent(new Event("mp_locationchange"))});var i=eT.history.replaceState;"function"==typeof i&&(eT.history.replaceState=function(t,r,n){i.call(eT.history,t,r,n),eT.dispatchEvent(new Event("mp_locationchange"))}),eT.addEventListener("mp_locationchange",(function(){var n=tO.info.currentUrl(),i=!1;"full-url"===t?i=n!==r:"url-with-path-and-query-string"===t?i=n.split("#")[0]!==r.split("#")[0]:"url-with-path"===t&&(i=n.split("#")[0].split("?")[0]!==r.split("#")[0].split("?")[0]),i&&this.track_pageview()&&(r=n)}).bind(this))}},rZ.prototype._prepare_callback=function(t,r){if(tO.isUndefined(t))return null;if(rF)return function(n){t(n,r)};var n=this._jsc,i=""+Math.floor(1e8*Math.random()),o=this.get_config("callback_fn")+"["+i+"]";return n[i]=function(o){delete n[i],t(o,r)},o},rZ.prototype._send_request=function(t,r,n,i){var o=!0;if(rB)return this.__request_queue.push(arguments),o;var a={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},s=null;!i&&(tO.isFunction(n)||"string"==typeof n)&&(i=n,n=null),n=tO.extend(a,n||{}),rF||(n.method="GET");var l="POST"===n.method,u=r$&&l&&"sendbeacon"===n.transport.toLowerCase(),c=n.verbose;r.verbose&&(c=!0),this.get_config("test")&&(r.test=1),c&&(r.verbose=1),this.get_config("img")&&(r.img=1),!rF&&(i?r.callback=i:(c||this.get_config("test"))&&(r.callback="(function(){})")),r.ip=+!!this.get_config("ip"),r._=new Date().getTime().toString(),l&&(s="data="+encodeURIComponent(r.data),delete r.data),t+="?"+tO.HTTPBuildQuery(r);var d=this;if("img"in r){var f=ty.createElement("img");f.src=t,ty.body.appendChild(f)}else if(u){try{o=r$(t,s)}catch(t){d.report_error(t),o=!1}try{i&&i(+!!o)}catch(t){d.report_error(t)}}else if(rF)try{var h=new XMLHttpRequest;h.open(n.method,t,!0);var m=this.get_config("xhr_headers");if(l&&(m["Content-Type"]="application/x-www-form-urlencoded"),tO.each(m,function(t,r){h.setRequestHeader(r,t)}),n.timeout_ms&&void 0!==h.timeout){h.timeout=n.timeout_ms;var g=new Date().getTime()}h.withCredentials=!0,h.onreadystatechange=function(){if(4===h.readyState){if(200===h.status){if(i)if(c){try{t=tO.JSONDecode(h.responseText)}catch(r){if(d.report_error(r),!n.ignore_json_errors)return;t=h.responseText}i(t)}else i(Number(h.responseText))}else if(r=h.timeout&&!h.status&&new Date().getTime()-g>=h.timeout?"timeout":"Bad HTTP status: "+h.status+" "+h.statusText,d.report_error(r),i)if(c){var t,r,o=h.responseHeaders||{};i({status:0,httpStatusCode:h.status,error:r,retryAfter:o["Retry-After"]})}else i(0)}},h.send(s)}catch(t){d.report_error(t),o=!1}else{var y=ty.createElement("script");y.type="text/javascript",y.async=!0,y.defer=!0,y.src=t;var v=ty.getElementsByTagName("script")[0];v.parentNode.insertBefore(y,v)}return o},rZ.prototype._execute_array=function(t){var r,n=[],i=[],o=[];tO.each(t,function(t){t&&(r=t[0],tO.isArray(r)?o.push(t):"function"==typeof t?t.call(this):tO.isArray(t)&&"alias"===r?n.push(t):tO.isArray(t)&&-1!==r.indexOf("track")&&"function"==typeof this[r]?o.push(t):i.push(t))},this);var a=function(t,r){tO.each(t,function(t){if(tO.isArray(t[0])){var n=r;tO.each(t,function(t){n=n[t[0]].apply(n,t.slice(1))})}else this[t[0]].apply(this,t.slice(1))},r)};a(n,this),a(i,this),a(o,this)},rZ.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},rZ.prototype.get_batcher_configs=function(){var t="__mpq_"+this.get_config("token"),r=this.get_config("api_routes");return this._batcher_configs=this._batcher_configs||{events:{type:"events",endpoint:"/"+r.track,queue_key:t+"_ev"},people:{type:"people",endpoint:"/"+r.engage,queue_key:t+"_pp"},groups:{type:"groups",endpoint:"/"+r.groups,queue_key:t+"_gr"}},this._batcher_configs},rZ.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var t=tO.bind(function(t){return new re(t.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:tO.bind(function(r,n,i){this._send_request(this.get_config("api_host")+t.endpoint,this._encode_data_for_request(r),n,this._prepare_callback(i,r))},this),beforeSendHook:tO.bind(function(r){return this._run_hook("before_send_"+t.type,r)},this),stopAllBatchingFunc:tO.bind(this.stop_batch_senders,this),usePersistence:!0})},this),r=this.get_batcher_configs();this.request_batchers={events:t(r.events),people:t(r.people),groups:t(r.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},rZ.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,tO.each(this.request_batchers,function(t){t.start()}))},rZ.prototype.stop_batch_senders=function(){this._batch_requests=!1,tO.each(this.request_batchers,function(t){t.stop(),t.clear()})},rZ.prototype.push=function(t){this._execute_array([t])},rZ.prototype.disable=function(t){void 0===t?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(t)},rZ.prototype._encode_data_for_request=function(t){var r=tO.JSONEncode(t);return this.get_config("api_payload_format")===rj&&(r=tO.base64Encode(r)),{data:r}},rZ.prototype._track_or_batch=function(t,r){var n=tO.truncate(t.data,255),i=t.endpoint,o=t.batcher,a=t.should_send_immediately,s=t.send_request_options||{};r=r||rL;var l=!0,u=tO.bind(function(){return(s.skip_hooks||(n=this._run_hook("before_send_"+t.type,n)),n)?(tR.log("MIXPANEL REQUEST:"),tR.log(n),this._send_request(i,this._encode_data_for_request(n),s,this._prepare_callback(r,n))):null},this);return this._batch_requests&&!a?o.enqueue(n,function(t){t?r(1,n):u()}):l=u(),l&&n},rZ.prototype.track=tG(function(t,r,n,i){i||"function"!=typeof n||(i=n,n=null);var o=(n=n||{}).transport;o&&(n.transport=o);var a=n.send_immediately;if("function"!=typeof i&&(i=rL),tO.isUndefined(t)){this.report_error("No event name provided to mixpanel.track");return}if(this._event_is_disabled(t)){i(0);return}(r=tO.extend({},r)).token=this.get_config("token");var s=this.persistence.remove_event_timer(t);if(!tO.isUndefined(s)){var l=new Date().getTime()-s;r.$duration=parseFloat((l/1e3).toFixed(3))}this._set_default_superprops();var u=this.get_config("track_marketing")?tO.info.marketingParams():{};r=tO.extend({},tO.info.properties({mp_loader:this.get_config("mp_loader")}),u,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),r);var c=this.get_config("property_blacklist");tO.isArray(c)?tO.each(c,function(t){delete r[t]}):this.report_error("Invalid value for property_blacklist config: "+c);var d={event:t,properties:r};return this._track_or_batch({type:"events",data:d,endpoint:this.get_config("api_host")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:a,send_request_options:n},i)}),rZ.prototype.set_group=tG(function(t,r,n){tO.isArray(r)||(r=[r]);var i={};return i[t]=r,this.register(i),this.people.set(t,r,n)}),rZ.prototype.add_group=tG(function(t,r,n){var i=this.get_property(t),o={};return void 0===i?(o[t]=[r],this.register(o)):-1===i.indexOf(r)&&(i.push(r),o[t]=i,this.register(o)),this.people.union(t,r,n)}),rZ.prototype.remove_group=tG(function(t,r,n){var i=this.get_property(t);if(void 0!==i){var o=i.indexOf(r);o>-1&&(i.splice(o,1),this.register({group_key:i})),0===i.length&&this.unregister(t)}return this.people.remove(t,r,n)}),rZ.prototype.track_with_groups=tG(function(t,r,n,i){var o=tO.extend({},r||{});return tO.each(n,function(t,r){null!=t&&(o[r]=t)}),this.track(t,o,i)}),rZ.prototype._create_map_key=function(t,r){return t+"_"+JSON.stringify(r)},rZ.prototype._remove_group_from_cache=function(t,r){delete this._cached_groups[this._create_map_key(t,r)]},rZ.prototype.get_group=function(t,r){var n=this._create_map_key(t,r),i=this._cached_groups[n];return(void 0===i||i._group_key!==t||i._group_id!==r)&&((i=new rv)._init(this,t,r),this._cached_groups[n]=i),i},rZ.prototype.track_pageview=tG(function(t,r){"object"!=typeof t&&(t={});var n=(r=r||{}).event_name||"$mp_web_page_view",i=tO.extend(tO.info.mpPageViewProperties(),tO.info.campaignParams(),tO.info.clickParams()),o=tO.extend({},i,t);return this.track(n,o)}),rZ.prototype.track_links=function(){return this._track_dom.call(this,rs,arguments)},rZ.prototype.track_forms=function(){return this._track_dom.call(this,rl,arguments)},rZ.prototype.time_event=function(t){if(tO.isUndefined(t)){this.report_error("No event name provided to mixpanel.time_event");return}this._event_is_disabled(t)||this.persistence.set_event_timer(t,new Date().getTime())};var rV={persistent:!0},rW=function(t){var r;return r=tO.isObject(t)?t:tO.isUndefined(t)?{}:{days:t},tO.extend({},rV,r)};rZ.prototype.register=function(t,r){var n=rW(r);n.persistent?this.persistence.register(t,n.days):tO.extend(this.unpersisted_superprops,t)},rZ.prototype.register_once=function(t,r,n){var i=rW(n);i.persistent?this.persistence.register_once(t,r,i.days):(void 0===r&&(r="None"),tO.each(t,function(t,n){this.unpersisted_superprops.hasOwnProperty(n)&&this.unpersisted_superprops[n]!==r||(this.unpersisted_superprops[n]=t)},this))},rZ.prototype.unregister=function(t,r){(r=rW(r)).persistent?this.persistence.unregister(t):delete this.unpersisted_superprops[t]},rZ.prototype._register_single=function(t,r){var n={};n[t]=r,this.register(n)},rZ.prototype.identify=function(t,r,n,i,o,a,s,l){var u=this.get_distinct_id();if(t&&u!==t){if("string"==typeof t&&0===t.indexOf(rD))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:t})}this.get_property("$device_id")||this.register_once({$had_persisted_distinct_id:!0,$device_id:u},""),t!==u&&t!==this.get_property(rR)&&(this.unregister(rR),this.register({distinct_id:t})),this._flags.identify_called=!0,this.people._flush(r,n,i,o,a,s,l),t!==u&&this.track("$identify",{distinct_id:t,$anon_distinct_id:u},{skip_hooks:!0})},rZ.prototype.reset=function(){this.persistence.clear(),this._flags.identify_called=!1;var t=tO.UUID();this.register_once({distinct_id:rD+t,$device_id:t},"")},rZ.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},rZ.prototype.alias=function(t,r){if(t===this.get_property(rO))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var n=this;return(tO.isUndefined(r)&&(r=this.get_distinct_id()),t!==r)?(this._register_single(rR,t),this.track("$create_alias",{alias:t,distinct_id:r},{skip_hooks:!0},function(){n.identify(t)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(t),-1)},rZ.prototype.name_tag=function(t){this._register_single("mp_name_tag",t)},rZ.prototype.set_config=function(t){tO.isObject(t)&&(tO.extend(this.config,t),t.batch_size&&tO.each(this.request_batchers,function(t){t.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),ts.DEBUG=ts.DEBUG||this.get_config("debug"))},rZ.prototype.get_config=function(t){return this.config[t]},rZ.prototype._run_hook=function(t){var r=(this.config.hooks[t]||rA).apply(this,tp.call(arguments,1));return void 0===r&&(this.report_error(t+" hook did not return a value"),r=null),r},rZ.prototype.get_property=function(t){return this.persistence.load_prop([t])},rZ.prototype.toString=function(){var t=this.get_config("name");return t!==rN&&(t=rN+"."+t),t},rZ.prototype._event_is_disabled=function(t){return tO.isBlockedUA(t_)||this._flags.disable_all_events||tO.include(this.__disabled_events,t)},rZ.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&tO.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")||tO.cookie.get("mp_optout"))&&(tO.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},rZ.prototype._gdpr_update_persistence=function(t){var r;if(t&&t.clear_persistence)r=!0;else{if(!t||!t.enable_persistence)return;r=!1}this.get_config("disable_persistence")||this.persistence.disabled===r||this.persistence.set_disabled(r),r?this.stop_batch_senders():this._batchers_were_started&&this.start_batch_senders()},rZ.prototype._gdpr_call_func=function(t,r){return r=tO.extend({track:tO.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")},r),tO.localStorage.is_supported()||(r.persistence_type="cookie"),t(this.get_config("token"),{track:r.track,trackEventName:r.track_event_name,trackProperties:r.track_properties,persistenceType:r.persistence_type,persistencePrefix:r.cookie_prefix,cookieDomain:r.cookie_domain,cookieExpiration:r.cookie_expiration,crossSiteCookie:r.cross_site_cookie,crossSubdomainCookie:r.cross_subdomain_cookie,secureCookie:r.secure_cookie,ignoreDnt:r.ignore_dnt})},rZ.prototype.opt_in_tracking=function(t){t=tO.extend({enable_persistence:!0},t),this._gdpr_call_func(tZ,t),this._gdpr_update_persistence(t)},rZ.prototype.opt_out_tracking=function(t){(t=tO.extend({clear_persistence:!0,delete_user:!0},t)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(tH,t),this._gdpr_update_persistence(t)},rZ.prototype.has_opted_in_tracking=function(t){return this._gdpr_call_func(tV,t)},rZ.prototype.has_opted_out_tracking=function(t){return this._gdpr_call_func(tW,t)},rZ.prototype.clear_opt_in_out_tracking=function(t){t=tO.extend({enable_persistence:!0},t),this._gdpr_call_func(tY,t),this._gdpr_update_persistence(t)},rZ.prototype.report_error=function(t,r){tR.error.apply(tR.error,arguments);try{r||t instanceof Error||(t=Error(t)),this.get_config("error_reporter")(t,r)}catch(t){tR.error(t)}},rZ.prototype.init=rZ.prototype.init,rZ.prototype.reset=rZ.prototype.reset,rZ.prototype.disable=rZ.prototype.disable,rZ.prototype.time_event=rZ.prototype.time_event,rZ.prototype.track=rZ.prototype.track,rZ.prototype.track_links=rZ.prototype.track_links,rZ.prototype.track_forms=rZ.prototype.track_forms,rZ.prototype.track_pageview=rZ.prototype.track_pageview,rZ.prototype.register=rZ.prototype.register,rZ.prototype.register_once=rZ.prototype.register_once,rZ.prototype.unregister=rZ.prototype.unregister,rZ.prototype.identify=rZ.prototype.identify,rZ.prototype.alias=rZ.prototype.alias,rZ.prototype.name_tag=rZ.prototype.name_tag,rZ.prototype.set_config=rZ.prototype.set_config,rZ.prototype.get_config=rZ.prototype.get_config,rZ.prototype.get_property=rZ.prototype.get_property,rZ.prototype.get_distinct_id=rZ.prototype.get_distinct_id,rZ.prototype.toString=rZ.prototype.toString,rZ.prototype.opt_out_tracking=rZ.prototype.opt_out_tracking,rZ.prototype.opt_in_tracking=rZ.prototype.opt_in_tracking,rZ.prototype.has_opted_out_tracking=rZ.prototype.has_opted_out_tracking,rZ.prototype.has_opted_in_tracking=rZ.prototype.has_opted_in_tracking,rZ.prototype.clear_opt_in_out_tracking=rZ.prototype.clear_opt_in_out_tracking,rZ.prototype.get_group=rZ.prototype.get_group,rZ.prototype.set_group=rZ.prototype.set_group,rZ.prototype.add_group=rZ.prototype.add_group,rZ.prototype.remove_group=rZ.prototype.remove_group,rZ.prototype.track_with_groups=rZ.prototype.track_with_groups,rZ.prototype.start_batch_senders=rZ.prototype.start_batch_senders,rZ.prototype.stop_batch_senders=rZ.prototype.stop_batch_senders,rZ.prototype.start_session_recording=rZ.prototype.start_session_recording,rZ.prototype.stop_session_recording=rZ.prototype.stop_session_recording,rZ.prototype.get_session_recording_properties=rZ.prototype.get_session_recording_properties,rZ.prototype.DEFAULT_API_ROUTES=rU,rM.prototype.properties=rM.prototype.properties,rM.prototype.update_search_keyword=rM.prototype.update_search_keyword,rM.prototype.update_referrer_info=rM.prototype.update_referrer_info,rM.prototype.get_cross_subdomain=rM.prototype.get_cross_subdomain,rM.prototype.clear=rM.prototype.clear;var rG={},rK=function(){tO.each(rG,function(t,r){r!==rN&&(eM[r]=t)}),eM._=tO},rX=(rI=function(t,r){r()},eP=0,(eM=new rZ).init=function(t,r,n){if(n)return eM[n]||(eM[n]=rG[n]=rH(t,r,n),eM[n]._loaded()),eM[n];var i=eM;rG[rN]?i=rG[rN]:t&&((i=rH(t,r,rN))._loaded(),rG[rN]=i),eM=i,1===eP&&(eT[rN]=eM),rK()},eM.init(),function(){function t(){t.done||(t.done=!0,rq=!0,rB=!1,tO.each(rG,function(t){t._dom_loaded()}))}if(ty.addEventListener)"complete"===ty.readyState?t():ty.addEventListener("DOMContentLoaded",t,!1);else if(ty.attachEvent){ty.attachEvent("onreadystatechange",t);var r=!1;try{r=null===eT.frameElement}catch(t){}ty.documentElement.doScroll&&r&&function r(){try{ty.documentElement.doScroll("left")}catch(t){setTimeout(r,1);return}t()}()}tO.register_event(eT,"load",t,!0)}(),eM)},99500:function(t,r,n){var i="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=i&&o&&"function"==typeof o.get?o.get:null,s=i&&Map.prototype.forEach,l="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=l&&u&&"function"==typeof u.get?u.get:null,d=l&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,m="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,y=Object.prototype.toString,v=Function.prototype.toString,b=String.prototype.match,_=String.prototype.slice,w=String.prototype.replace,S=String.prototype.toUpperCase,x=String.prototype.toLowerCase,E=RegExp.prototype.test,k=Array.prototype.concat,C=Array.prototype.join,O=Array.prototype.slice,R=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,I="function"==typeof Symbol&&"object"==typeof Symbol.iterator,A="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===I?"object":"symbol")?Symbol.toStringTag:null,L=Object.prototype.propertyIsEnumerable,N=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function j(t,r){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||E.call(/e/,r))return r;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var i=t<0?-R(-t):R(t);if(i!==t){var o=String(i),a=_.call(r,o.length+1);return w.call(o,n,"$&_")+"."+w.call(w.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return w.call(r,n,"$&_")}var D=n(7855),F=D.custom,B=V(F)?F:null,$={__proto__:null,double:'"',single:"'"},U={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function z(t,r,n){var i=$[n.quoteStyle||r];return i+t+i}function q(t){return!A||!("object"==typeof t&&(A in t||void 0!==t[A]))}function Z(t){return"[object Array]"===K(t)&&q(t)}function H(t){return"[object RegExp]"===K(t)&&q(t)}function V(t){if(I)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!M)return!1;try{return M.call(t),!0}catch(t){}return!1}t.exports=function t(r,i,o,l){var u,y,S,E,R,P=i||{};if(G(P,"quoteStyle")&&!G($,P.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(G(P,"maxStringLength")&&("number"==typeof P.maxStringLength?P.maxStringLength<0&&P.maxStringLength!==1/0:null!==P.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var F=!G(P,"customInspect")||P.customInspect;if("boolean"!=typeof F&&"symbol"!==F)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(P,"indent")&&null!==P.indent&&"	"!==P.indent&&!(parseInt(P.indent,10)===P.indent&&P.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(P,"numericSeparator")&&"boolean"!=typeof P.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var W=P.numericSeparator;if(void 0===r)return"undefined";if(null===r)return"null";if("boolean"==typeof r)return r?"true":"false";if("string"==typeof r)return function t(r,n){if(r.length>n.maxStringLength){var i=r.length-n.maxStringLength;return t(_.call(r,0,n.maxStringLength),n)+("... "+i)+" more character"+(i>1?"s":"")}var o=U[n.quoteStyle||"single"];return o.lastIndex=0,z(w.call(w.call(r,o,"\\$1"),/[\x00-\x1f]/g,Y),"single",n)}(r,P);if("number"==typeof r){if(0===r)return 1/0/r>0?"0":"-0";var en=String(r);return W?j(r,en):en}if("bigint"==typeof r){var ei=String(r)+"n";return W?j(r,ei):ei}var eo=void 0===P.depth?5:P.depth;if(void 0===o&&(o=0),o>=eo&&eo>0&&"object"==typeof r)return Z(r)?"[Array]":"[Object]";var ea=function(t,r){var n;if("	"===t.indent)n="	";else{if("number"!=typeof t.indent||!(t.indent>0))return null;n=C.call(Array(t.indent+1)," ")}return{base:n,prev:C.call(Array(r+1),n)}}(P,o);if(void 0===l)l=[];else if(X(l,r)>=0)return"[Circular]";function es(r,n,i){if(n&&(l=O.call(l)).push(n),i){var a={depth:P.depth};return G(P,"quoteStyle")&&(a.quoteStyle=P.quoteStyle),t(r,a,o+1,l)}return t(r,P,o+1,l)}if("function"==typeof r&&!H(r)){var el=function(t){if(t.name)return t.name;var r=b.call(v.call(t),/^function\s*([\w$]+)/);return r?r[1]:null}(r),eu=er(r,es);return"[Function"+(el?": "+el:" (anonymous)")+"]"+(eu.length>0?" { "+C.call(eu,", ")+" }":"")}if(V(r)){var ec=I?w.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):M.call(r);return"object"!=typeof r||I?ec:J(ec)}if((ed=r)&&"object"==typeof ed&&("undefined"!=typeof HTMLElement&&ed instanceof HTMLElement||"string"==typeof ed.nodeName&&"function"==typeof ed.getAttribute)){for(var ed,ep,ef="<"+x.call(String(r.nodeName)),eh=r.attributes||[],em=0;em<eh.length;em++){ef+=" "+eh[em].name+"="+z((ep=eh[em].value,w.call(String(ep),/"/g,"&quot;")),"double",P)}return ef+=">",r.childNodes&&r.childNodes.length&&(ef+="..."),ef+="</"+x.call(String(r.nodeName))+">"}if(Z(r)){if(0===r.length)return"[]";var eg=er(r,es);return ea&&!function(t){for(var r=0;r<t.length;r++)if(X(t[r],"\n")>=0)return!1;return!0}(eg)?"["+et(eg,ea)+"]":"[ "+C.call(eg,", ")+" ]"}if("[object Error]"===K(u=r)&&q(u)){var ey=er(r,es);return"cause"in Error.prototype||!("cause"in r)||L.call(r,"cause")?0===ey.length?"["+String(r)+"]":"{ ["+String(r)+"] "+C.call(ey,", ")+" }":"{ ["+String(r)+"] "+C.call(k.call("[cause]: "+es(r.cause),ey),", ")+" }"}if("object"==typeof r&&F){if(B&&"function"==typeof r[B]&&D)return D(r,{depth:eo-o});else if("symbol"!==F&&"function"==typeof r.inspect)return r.inspect()}if(function(t){if(!a||!t||"object"!=typeof t)return!1;try{a.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(r)){var ev=[];return s&&s.call(r,function(t,n){ev.push(es(n,r,!0)+" => "+es(t,r))}),ee("Map",a.call(r),ev,ea)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{a.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(r)){var eb=[];return d&&d.call(r,function(t){eb.push(es(t,r))}),ee("Set",c.call(r),eb,ea)}if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(r))return Q("WeakMap");if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(r))return Q("WeakSet");if(function(t){if(!m||!t||"object"!=typeof t)return!1;try{return m.call(t),!0}catch(t){}return!1}(r))return Q("WeakRef");if("[object Number]"===K(y=r)&&q(y))return J(es(Number(r)));if(function(t){if(!t||"object"!=typeof t||!T)return!1;try{return T.call(t),!0}catch(t){}return!1}(r))return J(es(T.call(r)));if("[object Boolean]"===K(S=r)&&q(S))return J(g.call(r));if("[object String]"===K(E=r)&&q(E))return J(es(String(r)));if("undefined"!=typeof window&&r===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&r===globalThis||void 0!==n.g&&r===n.g)return"{ [object globalThis] }";if(!("[object Date]"===K(R=r)&&q(R))&&!H(r)){var e_=er(r,es),ew=N?N(r)===Object.prototype:r instanceof Object||r.constructor===Object,eS=r instanceof Object?"":"null prototype",ex=!ew&&A&&Object(r)===r&&A in r?_.call(K(r),8,-1):eS?"Object":"",eE=(ew||"function"!=typeof r.constructor?"":r.constructor.name?r.constructor.name+" ":"")+(ex||eS?"["+C.call(k.call([],ex||[],eS||[]),": ")+"] ":"");return 0===e_.length?eE+"{}":ea?eE+"{"+et(e_,ea)+"}":eE+"{ "+C.call(e_,", ")+" }"}return String(r)};var W=Object.prototype.hasOwnProperty||function(t){return t in this};function G(t,r){return W.call(t,r)}function K(t){return y.call(t)}function X(t,r){if(t.indexOf)return t.indexOf(r);for(var n=0,i=t.length;n<i;n++)if(t[n]===r)return n;return -1}function Y(t){var r=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return n?"\\"+n:"\\x"+(r<16?"0":"")+S.call(r.toString(16))}function J(t){return"Object("+t+")"}function Q(t){return t+" { ? }"}function ee(t,r,n,i){return t+" ("+r+") {"+(i?et(n,i):C.call(n,", "))+"}"}function et(t,r){if(0===t.length)return"";var n="\n"+r.prev+r.base;return n+C.call(t,","+n)+"\n"+r.prev}function er(t,r){var n,i=Z(t),o=[];if(i){o.length=t.length;for(var a=0;a<t.length;a++)o[a]=G(t,a)?r(t[a],t):""}var s="function"==typeof P?P(t):[];if(I){n={};for(var l=0;l<s.length;l++)n["$"+s[l]]=s[l]}for(var u in t)if(G(t,u)&&(!i||String(Number(u))!==u||!(u<t.length)))if(I&&n["$"+u]instanceof Symbol)continue;else E.call(/[^\w$]/,u)?o.push(r(u,t)+": "+r(t[u],t)):o.push(u+": "+r(t[u],t));if("function"==typeof P)for(var c=0;c<s.length;c++)L.call(t,s[c])&&o.push("["+r(s[c])+"]: "+r(t[s[c]],t));return o}},18169:function(t){"use strict";var r=function(t){return t!=t};t.exports=function(t,n){return 0===t&&0===n?1/t==1/n:!!(t===n||r(t)&&r(n))}},34679:function(t,r,n){"use strict";var i=n(14926),o=n(89429),a=n(18169),s=n(68070),l=n(20191),u=o(s(),Object);i(u,{getPolyfill:s,implementation:a,shim:l}),t.exports=u},68070:function(t,r,n){"use strict";var i=n(18169);t.exports=function(){return"function"==typeof Object.is?Object.is:i}},20191:function(t,r,n){"use strict";var i=n(68070),o=n(14926);t.exports=function(){var t=i();return o(Object,{is:t},{is:function(){return Object.is!==t}}),t}},75691:function(t,r,n){"use strict";var i;if(!Object.keys){var o=Object.prototype.hasOwnProperty,a=Object.prototype.toString,s=n(30801),l=Object.prototype.propertyIsEnumerable,u=!l.call({toString:null},"toString"),c=l.call(function(){},"prototype"),d=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(t){var r=t.constructor;return r&&r.prototype===t},h={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},m=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!h["$"+t]&&o.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{f(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),g=function(t){if("undefined"==typeof window||!m)return f(t);try{return f(t)}catch(t){return!1}};i=function(t){var r=null!==t&&"object"==typeof t,n="[object Function]"===a.call(t),i=s(t),l=r&&"[object String]"===a.call(t),f=[];if(!r&&!n&&!i)throw TypeError("Object.keys called on a non-object");var h=c&&n;if(l&&t.length>0&&!o.call(t,0))for(var m=0;m<t.length;++m)f.push(String(m));if(i&&t.length>0)for(var y=0;y<t.length;++y)f.push(String(y));else for(var v in t)!(h&&"prototype"===v)&&o.call(t,v)&&f.push(String(v));if(u)for(var b=g(t),_=0;_<d.length;++_)!(b&&"constructor"===d[_])&&o.call(t,d[_])&&f.push(d[_]);return f}}t.exports=i},33464:function(t,r,n){"use strict";var i=Array.prototype.slice,o=n(30801),a=Object.keys,s=a?function(t){return a(t)}:n(75691),l=Object.keys;s.shim=function(){return Object.keys?!function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2)&&(Object.keys=function(t){return o(t)?l(i.call(t)):l(t)}):Object.keys=s,Object.keys||s},t.exports=s},30801:function(t){"use strict";var r=Object.prototype.toString;t.exports=function(t){var n=r.call(t),i="[object Arguments]"===n;return i||(i="[object Array]"!==n&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===r.call(t.callee)),i}},91589:function(t,r,n){"use strict";var i=n(33464),o=n(66679)(),a=n(8435),s=n(54546),l=a("Array.prototype.push"),u=a("Object.prototype.propertyIsEnumerable"),c=o?s.getOwnPropertySymbols:null;t.exports=function(t,r){if(null==t)throw TypeError("target must be an object");var n=s(t);if(1==arguments.length)return n;for(var a=1;a<arguments.length;++a){var d=s(arguments[a]),f=i(d),h=o&&(s.getOwnPropertySymbols||c);if(h)for(var m=h(d),g=0;g<m.length;++g){var y=m[g];u(d,y)&&l(f,y)}for(var v=0;v<f.length;++v){var b=f[v];if(u(d,b)){var _=d[b];n[b]=_}}}return n}},43045:function(t,r,n){"use strict";var i=n(14926),o=n(89429),a=n(91589),s=n(53347),l=n(26460),u=o.apply(s()),c=function(t,r){return u(Object,arguments)};i(c,{getPolyfill:s,implementation:a,shim:l}),t.exports=c},53347:function(t,r,n){"use strict";var i=n(91589),o=function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",r=t.split(""),n={},i=0;i<r.length;++i)n[r[i]]=r[i];var o=Object.assign({},n),a="";for(var s in o)a+=s;return t!==a},a=function(){if(!Object.assign||!Object.preventExtensions)return!1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(r){return"y"===t[1]}return!1};t.exports=function(){return!Object.assign||o()||a()?i:Object.assign}},26460:function(t,r,n){"use strict";var i=n(14926),o=n(53347);t.exports=function(){var t=o();return i(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t}},35962:function(t){"use strict";t.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},76406:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.printIteratorEntries=function(t,r,n,i,o,a,s=": "){let l="",u=t.next();if(!u.done){l+=r.spacingOuter;let c=n+r.indent;for(;!u.done;){let n=a(u.value[0],r,c,i,o),d=a(u.value[1],r,c,i,o);l+=c+n+s+d,(u=t.next()).done?r.min||(l+=","):l+=","+r.spacingInner}l+=r.spacingOuter+n}return l},r.printIteratorValues=function(t,r,n,i,o,a){let s="",l=t.next();if(!l.done){s+=r.spacingOuter;let u=n+r.indent;for(;!l.done;)s+=u+a(l.value,r,u,i,o),(l=t.next()).done?r.min||(s+=","):s+=","+r.spacingInner;s+=r.spacingOuter+n}return s},r.printListItems=function(t,r,n,i,o,a){let s="";if(t.length){s+=r.spacingOuter;let l=n+r.indent;for(let n=0;n<t.length;n++)s+=l,n in t&&(s+=a(t[n],r,l,i,o)),n<t.length-1?s+=","+r.spacingInner:r.min||(s+=",");s+=r.spacingOuter+n}return s},r.printObjectProperties=function(t,r,i,o,a,s){let l="",u=n(t,r.compareKeys);if(u.length){l+=r.spacingOuter;let n=i+r.indent;for(let i=0;i<u.length;i++){let c=u[i],d=s(c,r,n,o,a),f=s(t[c],r,n,o,a);l+=n+d+": "+f,i<u.length-1?l+=","+r.spacingInner:r.min||(l+=",")}l+=r.spacingOuter+i}return l};let n=(t,r)=>{let n=Object.keys(t).sort(r);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(r=>{Object.getOwnPropertyDescriptor(t,r).enumerable&&n.push(r)}),n}},21112:function(t,r,n){"use strict";r.format=function(t,r){if(r){if(Object.keys(r).forEach(t=>{if(!A.hasOwnProperty(t))throw Error(`pretty-format: Unknown option "${t}".`)}),r.min&&void 0!==r.indent&&0!==r.indent)throw Error('pretty-format: Options "min" and "indent" cannot be used together.');if(void 0!==r.theme){if(null===r.theme)throw Error('pretty-format: Option "theme" must not be null.');if("object"!=typeof r.theme)throw Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof r.theme}".`)}if(r.plugins){let n=T(r.plugins,t);if(null!==n)return R(n,t,B(r),"",0,[])}}let n=C(t,j(r),D(r),F(r));return null!==n?n:O(t,B(r),"",0,[])},r.plugins=void 0;var i=h(n(98917)),o=n(76406),a=h(n(45709)),s=h(n(31075)),l=h(n(1225)),u=h(n(94714)),c=h(n(31649)),d=h(n(10665)),f=h(n(20238));function h(t){return t&&t.__esModule?t:{default:t}}let m=Object.prototype.toString,g=Date.prototype.toISOString,y=Error.prototype.toString,v=RegExp.prototype.toString,b=t=>"function"==typeof t.constructor&&t.constructor.name||"Object",_=t=>"undefined"!=typeof window&&t===window,w=/^Symbol\((.*)\)(.*)$/,S=/\n/gi;let PrettyFormatPluginError=class PrettyFormatPluginError extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function x(t,r){return r?"[Function "+(t.name||"anonymous")+"]":"[Function]"}function E(t){return String(t).replace(w,"Symbol($1)")}function k(t){return"["+y.call(t)+"]"}function C(t,r,n,i){if(!0===t||!1===t)return""+t;if(void 0===t)return"undefined";if(null===t)return"null";let o=typeof t;if("number"===o)return Object.is(t,-0)?"-0":String(t);if("bigint"===o)return String(`${t}n`);if("string"===o)return i?'"'+t.replace(/"|\\/g,"\\$&")+'"':'"'+t+'"';if("function"===o)return x(t,r);if("symbol"===o)return E(t);let a=m.call(t);return"[object WeakMap]"===a?"WeakMap {}":"[object WeakSet]"===a?"WeakSet {}":"[object Function]"===a||"[object GeneratorFunction]"===a?x(t,r):"[object Symbol]"===a?E(t):"[object Date]"===a?isNaN(+t)?"Date { NaN }":g.call(t):"[object Error]"===a?k(t):"[object RegExp]"===a?n?v.call(t).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):v.call(t):t instanceof Error?k(t):null}function O(t,r,n,i,a,s){if(-1!==a.indexOf(t))return"[Circular]";(a=a.slice()).push(t);let l=++i>r.maxDepth,u=r.min;if(r.callToJSON&&!l&&t.toJSON&&"function"==typeof t.toJSON&&!s)return P(t.toJSON(),r,n,i,a,!0);let c=m.call(t);return"[object Arguments]"===c?l?"[Arguments]":(u?"":"Arguments ")+"["+(0,o.printListItems)(t,r,n,i,a,P)+"]":"[object Array]"===c||"[object ArrayBuffer]"===c||"[object DataView]"===c||"[object Float32Array]"===c||"[object Float64Array]"===c||"[object Int8Array]"===c||"[object Int16Array]"===c||"[object Int32Array]"===c||"[object Uint8Array]"===c||"[object Uint8ClampedArray]"===c||"[object Uint16Array]"===c||"[object Uint32Array]"===c?l?"["+t.constructor.name+"]":(u?"":r.printBasicPrototype||"Array"!==t.constructor.name?t.constructor.name+" ":"")+"["+(0,o.printListItems)(t,r,n,i,a,P)+"]":"[object Map]"===c?l?"[Map]":"Map {"+(0,o.printIteratorEntries)(t.entries(),r,n,i,a,P," => ")+"}":"[object Set]"===c?l?"[Set]":"Set {"+(0,o.printIteratorValues)(t.values(),r,n,i,a,P)+"}":l||_(t)?"["+b(t)+"]":(u?"":r.printBasicPrototype||"Object"!==b(t)?b(t)+" ":"")+"{"+(0,o.printObjectProperties)(t,r,n,i,a,P)+"}"}function R(t,r,n,i,o,a){let s;try{s=null!=t.serialize?t.serialize(r,n,i,o,a,P):t.print(r,t=>P(t,n,i,o,a),t=>{let r=i+n.indent;return r+t.replace(S,"\n"+r)},{edgeSpacing:n.spacingOuter,min:n.min,spacing:n.spacingInner},n.colors)}catch(t){throw new PrettyFormatPluginError(t.message,t.stack)}if("string"!=typeof s)throw Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function T(t,r){for(let n=0;n<t.length;n++)try{if(t[n].test(r))return t[n]}catch(t){throw new PrettyFormatPluginError(t.message,t.stack)}return null}function P(t,r,n,i,o,a){let s=T(r.plugins,t);if(null!==s)return R(s,t,r,n,i,o);let l=C(t,r.printFunctionName,r.escapeRegex,r.escapeString);return null!==l?l:O(t,r,n,i,o,a)}let M={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},I=Object.keys(M),A={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:M},L=t=>I.reduce((r,n)=>{let o=t.theme&&void 0!==t.theme[n]?t.theme[n]:M[n],a=o&&i.default[o];if(a&&"string"==typeof a.close&&"string"==typeof a.open)r[n]=a;else throw Error(`pretty-format: Option "theme" has a key "${n}" whose value "${o}" is undefined in ansi-styles.`);return r},Object.create(null)),N=()=>I.reduce((t,r)=>(t[r]={close:"",open:""},t),Object.create(null)),j=t=>t&&void 0!==t.printFunctionName?t.printFunctionName:A.printFunctionName,D=t=>t&&void 0!==t.escapeRegex?t.escapeRegex:A.escapeRegex,F=t=>t&&void 0!==t.escapeString?t.escapeString:A.escapeString,B=t=>{var r;return{callToJSON:t&&void 0!==t.callToJSON?t.callToJSON:A.callToJSON,colors:t&&t.highlight?L(t):N(),compareKeys:t&&"function"==typeof t.compareKeys?t.compareKeys:A.compareKeys,escapeRegex:D(t),escapeString:F(t),indent:t&&t.min?"":Array((t&&void 0!==t.indent?t.indent:A.indent)+1).join(" "),maxDepth:t&&void 0!==t.maxDepth?t.maxDepth:A.maxDepth,min:t&&void 0!==t.min?t.min:A.min,plugins:t&&void 0!==t.plugins?t.plugins:A.plugins,printBasicPrototype:null===(r=null==t?void 0:t.printBasicPrototype)||void 0===r||r,printFunctionName:j(t),spacingInner:t&&t.min?" ":"\n",spacingOuter:t&&t.min?"":"\n"}};r.plugins={AsymmetricMatcher:a.default,ConvertAnsi:s.default,DOMCollection:l.default,DOMElement:u.default,Immutable:c.default,ReactElement:d.default,ReactTestComponent:f.default}},45709:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.test=r.serialize=r.default=void 0;var i=n(76406),o="undefined"!=typeof globalThis?globalThis:void 0!==o?o:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")(),a=o["jest-symbol-do-not-touch"]||o.Symbol;let s="function"==typeof a&&a.for?a.for("jest.asymmetricMatcher"):1267621,l=(t,r,n,o,a,s)=>{let l=t.toString();return"ArrayContaining"===l||"ArrayNotContaining"===l?++o>r.maxDepth?"["+l+"]":l+" ["+(0,i.printListItems)(t.sample,r,n,o,a,s)+"]":"ObjectContaining"===l||"ObjectNotContaining"===l?++o>r.maxDepth?"["+l+"]":l+" {"+(0,i.printObjectProperties)(t.sample,r,n,o,a,s)+"}":"StringMatching"===l||"StringNotMatching"===l||"StringContaining"===l||"StringNotContaining"===l?l+" "+s(t.sample,r,n,o,a):t.toAsymmetricMatcher()};r.serialize=l;let u=t=>t&&t.$$typeof===s;r.test=u,r.default={serialize:l,test:u}},31075:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.test=r.serialize=r.default=void 0;var i=a(n(69937)),o=a(n(98917));function a(t){return t&&t.__esModule?t:{default:t}}let s=t=>t.replace((0,i.default)(),t=>{switch(t){case o.default.red.close:case o.default.green.close:case o.default.cyan.close:case o.default.gray.close:case o.default.white.close:case o.default.yellow.close:case o.default.bgRed.close:case o.default.bgGreen.close:case o.default.bgYellow.close:case o.default.inverse.close:case o.default.dim.close:case o.default.bold.close:case o.default.reset.open:case o.default.reset.close:return"</>";case o.default.red.open:return"<red>";case o.default.green.open:return"<green>";case o.default.cyan.open:return"<cyan>";case o.default.gray.open:return"<gray>";case o.default.white.open:return"<white>";case o.default.yellow.open:return"<yellow>";case o.default.bgRed.open:return"<bgRed>";case o.default.bgGreen.open:return"<bgGreen>";case o.default.bgYellow.open:return"<bgYellow>";case o.default.inverse.open:return"<inverse>";case o.default.dim.open:return"<dim>";case o.default.bold.open:return"<bold>";default:return""}}),l=t=>"string"==typeof t&&!!t.match((0,i.default)());r.test=l;let u=(t,r,n,i,o,a)=>a(s(t),r,n,i,o);r.serialize=u,r.default={serialize:u,test:l}},1225:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.test=r.serialize=r.default=void 0;var i=n(76406);let o=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,s=t=>-1!==o.indexOf(t)||a.test(t),l=t=>t&&t.constructor&&!!t.constructor.name&&s(t.constructor.name);r.test=l;let u=t=>"NamedNodeMap"===t.constructor.name,c=(t,r,n,a,s,l)=>{let c=t.constructor.name;return++a>r.maxDepth?"["+c+"]":(r.min?"":c+" ")+(-1!==o.indexOf(c)?"{"+(0,i.printObjectProperties)(u(t)?Array.from(t).reduce((t,r)=>(t[r.name]=r.value,t),{}):{...t},r,n,a,s,l)+"}":"["+(0,i.printListItems)(Array.from(t),r,n,a,s,l)+"]")};r.serialize=c,r.default={serialize:c,test:l}},94714:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.test=r.serialize=r.default=void 0;var i=n(21301);let o=/^((HTML|SVG)\w*)?Element$/,a=t=>{try{return"function"==typeof t.hasAttribute&&t.hasAttribute("is")}catch{return!1}},s=t=>{let r=t.constructor.name,{nodeType:n,tagName:i}=t,s="string"==typeof i&&i.includes("-")||a(t);return 1===n&&(o.test(r)||s)||3===n&&"Text"===r||8===n&&"Comment"===r||11===n&&"DocumentFragment"===r},l=t=>{var r;return(null==t||null===(r=t.constructor)||void 0===r?void 0:r.name)&&s(t)};function u(t){return 11===t.nodeType}r.test=l;let c=(t,r,n,o,a,s)=>{if(3===t.nodeType)return(0,i.printText)(t.data,r);if(8===t.nodeType)return(0,i.printComment)(t.data,r);let l=u(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?(0,i.printElementAsLeaf)(l,r):(0,i.printElement)(l,(0,i.printProps)(u(t)?[]:Array.from(t.attributes).map(t=>t.name).sort(),u(t)?{}:Array.from(t.attributes).reduce((t,r)=>(t[r.name]=r.value,t),{}),r,n+r.indent,o,a,s),(0,i.printChildren)(Array.prototype.slice.call(t.childNodes||t.children),r,n+r.indent,o,a,s),r,n)};r.serialize=c,r.default={serialize:c,test:l}},31649:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.test=r.serialize=r.default=void 0;var i=n(76406);let o="@@__IMMUTABLE_ORDERED__@@",a=t=>"Immutable."+t,s=t=>"["+t+"]",l=(t,r,n,o,l,u,c)=>++o>r.maxDepth?s(a(c)):a(c)+" {"+(0,i.printIteratorEntries)(t.entries(),r,n,o,l,u)+"}",u=(t,r,n,o,l,u)=>{let c,d=a(t._name||"Record");return++o>r.maxDepth?s(d):d+" {"+(0,i.printIteratorEntries)((c=0,{next(){if(c<t._keys.length){let r=t._keys[c++];return{done:!1,value:[r,t.get(r)]}}return{done:!0,value:void 0}}}),r,n,o,l,u)+"}"},c=(t,r,n,o,l,u)=>{let c=a("Seq");return++o>r.maxDepth?s(c):t["@@__IMMUTABLE_KEYED__@@"]?c+" {"+(t._iter||t._object?(0,i.printIteratorEntries)(t.entries(),r,n,o,l,u):"\u2026")+"}":c+" ["+(t._iter||t._array||t._collection||t._iterable?(0,i.printIteratorValues)(t.values(),r,n,o,l,u):"\u2026")+"]"},d=(t,r,n,o,l,u,c)=>++o>r.maxDepth?s(a(c)):a(c)+" ["+(0,i.printIteratorValues)(t.values(),r,n,o,l,u)+"]",f=(t,r,n,i,a,s)=>t["@@__IMMUTABLE_MAP__@@"]?l(t,r,n,i,a,s,t[o]?"OrderedMap":"Map"):t["@@__IMMUTABLE_LIST__@@"]?d(t,r,n,i,a,s,"List"):t["@@__IMMUTABLE_SET__@@"]?d(t,r,n,i,a,s,t[o]?"OrderedSet":"Set"):t["@@__IMMUTABLE_STACK__@@"]?d(t,r,n,i,a,s,"Stack"):t["@@__IMMUTABLE_SEQ__@@"]?c(t,r,n,i,a,s):u(t,r,n,i,a,s);r.serialize=f;let h=t=>t&&(!0===t["@@__IMMUTABLE_ITERABLE__@@"]||!0===t["@@__IMMUTABLE_RECORD__@@"]);r.test=h,r.default={serialize:f,test:h}},10665:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.test=r.serialize=r.default=void 0;var i=function(t,r){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=a(r);if(n&&n.has(t))return n.get(t);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=o?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(96209)),o=n(21301);function a(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:r})(t)}let s=(t,r=[])=>(Array.isArray(t)?t.forEach(t=>{s(t,r)}):null!=t&&!1!==t&&r.push(t),r),l=t=>{let r=t.type;if("string"==typeof r)return r;if("function"==typeof r)return r.displayName||r.name||"Unknown";if(i.isFragment(t))return"React.Fragment";if(i.isSuspense(t))return"React.Suspense";if("object"==typeof r&&null!==r){if(i.isContextProvider(t))return"Context.Provider";if(i.isContextConsumer(t))return"Context.Consumer";if(i.isForwardRef(t)){if(r.displayName)return r.displayName;let t=r.render.displayName||r.render.name||"";return""!==t?"ForwardRef("+t+")":"ForwardRef"}if(i.isMemo(t)){let t=r.displayName||r.type.displayName||r.type.name||"";return""!==t?"Memo("+t+")":"Memo"}}return"UNDEFINED"},u=t=>{let{props:r}=t;return Object.keys(r).filter(t=>"children"!==t&&void 0!==r[t]).sort()},c=(t,r,n,i,a,c)=>++i>r.maxDepth?(0,o.printElementAsLeaf)(l(t),r):(0,o.printElement)(l(t),(0,o.printProps)(u(t),t.props,r,n+r.indent,i,a,c),(0,o.printChildren)(s(t.props.children),r,n+r.indent,i,a,c),r,n);r.serialize=c;let d=t=>null!=t&&i.isElement(t);r.test=d,r.default={serialize:c,test:d}},20238:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.test=r.serialize=r.default=void 0;var i=n(21301),o="undefined"!=typeof globalThis?globalThis:void 0!==o?o:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")(),a=o["jest-symbol-do-not-touch"]||o.Symbol;let s="function"==typeof a&&a.for?a.for("react.test.json"):0xea71357,l=t=>{let{props:r}=t;return r?Object.keys(r).filter(t=>void 0!==r[t]).sort():[]},u=(t,r,n,o,a,s)=>++o>r.maxDepth?(0,i.printElementAsLeaf)(t.type,r):(0,i.printElement)(t.type,t.props?(0,i.printProps)(l(t),t.props,r,n+r.indent,o,a,s):"",t.children?(0,i.printChildren)(t.children,r,n+r.indent,o,a,s):"",r,n);r.serialize=u;let c=t=>t&&t.$$typeof===s;r.test=c,r.default={serialize:u,test:c}},10370:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;")}},21301:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.printText=r.printProps=r.printElementAsLeaf=r.printElement=r.printComment=r.printChildren=void 0;var i,o=(i=n(10370))&&i.__esModule?i:{default:i};r.printProps=(t,r,n,i,o,a,s)=>{let l=i+n.indent,u=n.colors;return t.map(t=>{let c=r[t],d=s(c,n,l,o,a);return"string"!=typeof c&&(-1!==d.indexOf("\n")&&(d=n.spacingOuter+l+d+n.spacingOuter+i),d="{"+d+"}"),n.spacingInner+i+u.prop.open+t+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},r.printChildren=(t,r,n,i,o,s)=>t.map(t=>r.spacingOuter+n+("string"==typeof t?a(t,r):s(t,r,n,i,o))).join("");let a=(t,r)=>{let n=r.colors.content;return n.open+(0,o.default)(t)+n.close};r.printText=a,r.printComment=(t,r)=>{let n=r.colors.comment;return n.open+"\x3c!--"+(0,o.default)(t)+"--\x3e"+n.close},r.printElement=(t,r,n,i,o)=>{let a=i.colors.tag;return a.open+"<"+t+(r&&a.close+r+i.spacingOuter+o+a.open)+(n?">"+a.close+n+i.spacingOuter+o+a.open+"</"+t:(r&&!i.min?"":" ")+"/")+">"+a.close},r.printElementAsLeaf=(t,r)=>{let n=r.colors.tag;return n.open+"<"+t+n.close+" \u2026"+n.open+" />"+n.close}},98917:function(t,r,n){"use strict";t=n.nmd(t);let i=(t=0)=>r=>`\u001B[${38+t};5;${r}m`,o=(t=0)=>(r,n,i)=>`\u001B[${38+t};2;${r};${n};${i}m`;Object.defineProperty(t,"exports",{enumerable:!0,get:function(){let t=new Map,r={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};for(let[n,i]of(r.color.gray=r.color.blackBright,r.bgColor.bgGray=r.bgColor.bgBlackBright,r.color.grey=r.color.blackBright,r.bgColor.bgGrey=r.bgColor.bgBlackBright,Object.entries(r))){for(let[n,o]of Object.entries(i))r[n]={open:`\u001B[${o[0]}m`,close:`\u001B[${o[1]}m`},i[n]=r[n],t.set(o[0],o[1]);Object.defineProperty(r,n,{value:i,enumerable:!1})}return Object.defineProperty(r,"codes",{value:t,enumerable:!1}),r.color.close="\x1b[39m",r.bgColor.close="\x1b[49m",r.color.ansi256=i(),r.color.ansi16m=o(),r.bgColor.ansi256=i(10),r.bgColor.ansi16m=o(10),Object.defineProperties(r,{rgbToAnsi256:{value:(t,r,n)=>t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5),enumerable:!1},hexToRgb:{value:t=>{let r=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(t.toString(16));if(!r)return[0,0,0];let{colorString:n}=r.groups;3===n.length&&(n=n.split("").map(t=>t+t).join(""));let i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},enumerable:!1},hexToAnsi256:{value:t=>r.rgbToAnsi256(...r.hexToRgb(t)),enumerable:!1}}),r}})},57493:function(t,r){"use strict";var n=60103,i=60106,o=60107,a=60108,s=60114,l=60109,u=60110,c=60112,d=60113,f=60120,h=60115,m=60116,g=60121,y=60122,v=60117,b=60129,_=60131;if("function"==typeof Symbol&&Symbol.for){var w=Symbol.for;n=w("react.element"),i=w("react.portal"),o=w("react.fragment"),a=w("react.strict_mode"),s=w("react.profiler"),l=w("react.provider"),u=w("react.context"),c=w("react.forward_ref"),d=w("react.suspense"),f=w("react.suspense_list"),h=w("react.memo"),m=w("react.lazy"),g=w("react.block"),y=w("react.server.block"),v=w("react.fundamental"),b=w("react.debug_trace_mode"),_=w("react.legacy_hidden")}function S(t){if("object"==typeof t&&null!==t){var r=t.$$typeof;switch(r){case n:switch(t=t.type){case o:case s:case a:case d:case f:return t;default:switch(t=t&&t.$$typeof){case u:case c:case m:case h:case l:return t;default:return r}}case i:return r}}}var x=l,E=n,k=c,C=o,O=m,R=h,T=i,P=s,M=a,I=d;r.ContextConsumer=u,r.ContextProvider=x,r.Element=E,r.ForwardRef=k,r.Fragment=C,r.Lazy=O,r.Memo=R,r.Portal=T,r.Profiler=P,r.StrictMode=M,r.Suspense=I,r.isAsyncMode=function(){return!1},r.isConcurrentMode=function(){return!1},r.isContextConsumer=function(t){return S(t)===u},r.isContextProvider=function(t){return S(t)===l},r.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===n},r.isForwardRef=function(t){return S(t)===c},r.isFragment=function(t){return S(t)===o},r.isLazy=function(t){return S(t)===m},r.isMemo=function(t){return S(t)===h},r.isPortal=function(t){return S(t)===i},r.isProfiler=function(t){return S(t)===s},r.isStrictMode=function(t){return S(t)===a},r.isSuspense=function(t){return S(t)===d},r.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===s||t===b||t===a||t===d||t===f||t===_||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===h||t.$$typeof===l||t.$$typeof===u||t.$$typeof===c||t.$$typeof===v||t.$$typeof===g||t[0]===y)||!1},r.typeOf=S},96209:function(t,r,n){"use strict";t.exports=n(57493)},88751:function(t,r,n){"use strict";var i=n(2784),o=n(28316);function a(t){var r=t,n=t;if(t.alternate)for(;r.return;)r=r.return;else{t=r;do 0!=(4098&(r=t).flags)&&(n=r.return),t=r.return;while(t)}return 3===r.tag?n:null}function s(t){if(a(t)!==t)throw Error("Unable to find node on an unmounted component.")}var l=Object.assign;function u(t){var r=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===r&&(t=13):t=r,10===t&&(t=13),32<=t||13===t?t:0}function c(){return!0}function d(){return!1}function f(t){function r(r,n,i,o,a){for(var s in this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,t)t.hasOwnProperty(s)&&(r=t[s],this[s]=r?r(o):o[s]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?c:d,this.isPropagationStopped=d,this}return l(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=c)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=c)},persist:function(){},isPersistent:c}),r}var h={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},m=f(h),g=l({},h,{view:0,detail:0});f(g);var y,v,b,_=l({},g,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:k,button:0,buttons:0,relatedTarget:function(t){return void 0===t.relatedTarget?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==b&&(b&&"mousemove"===t.type?(y=t.screenX-b.screenX,v=t.screenY-b.screenY):v=y=0,b=t),y)},movementY:function(t){return"movementY"in t?t.movementY:v}});f(_),f(l({},_,{dataTransfer:0})),f(l({},g,{relatedTarget:0})),f(l({},h,{animationName:0,elapsedTime:0,pseudoElement:0})),f(l({},h,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}})),f(l({},h,{data:0}));var w={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},S={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},x={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function E(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):!!(t=x[t])&&!!r[t]}function k(){return E}function C(t,r,n,i,o,a,s,l,u){var c=Array.prototype.slice.call(arguments,3);try{r.apply(n,c)}catch(t){this.onError(t)}}f(l({},g,{key:function(t){if(t.key){var r=w[t.key]||t.key;if("Unidentified"!==r)return r}return"keypress"===t.type?13===(t=u(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?S[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:k,charCode:function(t){return"keypress"===t.type?u(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?u(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}})),f(l({},_,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),f(l({},g,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:k})),f(l({},h,{propertyName:0,elapsedTime:0,pseudoElement:0})),f(l({},_,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}));var O=!1,R=null,T=!1,P=null,M={onError:function(t){O=!0,R=t}};function I(t,r,n,i,o,a,s,l,u){O=!1,R=null,C.apply(M,arguments)}var A=Array.isArray,L=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,N=L[0],j=L[1],D=L[2],F=L[3],B=L[4],$=i.unstable_act;function U(){}function z(t,r){if(t&&!t._reactInternals){var n=String(t);throw Error(r+"(...): the first argument must be a React class instance. Instead received: "+(t=A(t)?"an array":t&&1===t.nodeType&&t.tagName?"a DOM node":"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n)+".")}}function q(t){return!(!t||1!==t.nodeType||!t.tagName)}function Z(t){return!q(t)&&null!=t&&"function"==typeof t.render&&"function"==typeof t.setState}function H(t,r){return z(t,"findAllInRenderedTree"),t?function(t,r){if(!t||!(t=function(t){var r=t.alternate;if(!r){if(null===(r=a(t)))throw Error("Unable to find node on an unmounted component.");return r!==t?null:t}for(var n=t,i=r;;){var o=n.return;if(null===o)break;var l=o.alternate;if(null===l){if(null!==(i=o.return)){n=i;continue}break}if(o.child===l.child){for(l=o.child;l;){if(l===n)return s(o),t;if(l===i)return s(o),r;l=l.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==i.return)n=o,i=l;else{for(var u=!1,c=o.child;c;){if(c===n){u=!0,n=o,i=l;break}if(c===i){u=!0,i=o,n=l;break}c=c.sibling}if(!u){for(c=l.child;c;){if(c===n){u=!0,n=l,i=o;break}if(c===i){u=!0,i=l,n=o;break}c=c.sibling}if(!u)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==i)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(3!==n.tag)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?t:r}(t)))return[];for(var n=t,i=[];;){if(5===n.tag||6===n.tag||1===n.tag||0===n.tag){var o=n.stateNode;r(o)&&i.push(o)}if(n.child)n.child.return=n,n=n.child;else{if(n===t)return i;for(;!n.sibling;){if(!n.return||n.return===t)return i;n=n.return}n.sibling.return=n.return,n=n.sibling}}}(t._reactInternals,r):[]}function V(t,r,n){var i=t.type||"unknown-event";t.currentTarget=j(n),function(t,r,n,i,o,a,s,l,u){if(I.apply(this,arguments),O){if(O){var c=R;O=!1,R=null}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");T||(T=!0,P=c)}}(i,r,void 0,t),t.currentTarget=null}function W(t,r){var n=t.stateNode;if(!n)return null;var i=D(n);if(!i)return null;switch(n=i[r],r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(i="button"!==(t=t.type)&&"input"!==t&&"select"!==t&&"textarea"!==t),t=!i;break;default:t=!1}if(t)return null;if(n&&"function"!=typeof n)throw Error("Expected `"+r+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function G(t,r,n){var i=n._reactName;"captured"===r&&(i+="Capture"),(r=W(t,i))&&(null==n._dispatchListeners&&(n._dispatchListeners=[]),null==n._dispatchInstances&&(n._dispatchInstances=[]),n._dispatchListeners.push(r),n._dispatchInstances.push(t))}var K={},X=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);"blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(t){K[t]=function(r,n){if(i.isValidElement(r))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if(Z(r))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var a,s,u="on"+t[0].toUpperCase()+t.slice(1),c=new U;c.target=r,c.type=t.toLowerCase();var d=N(r),f=new m(u,c.type,d,c,r);f.persist(),l(f,n),X.has(t)?f&&f._reactName&&(a=f._targetInst,s=null,a&&f&&f._reactName&&(s=W(a,f._reactName))&&(null==f._dispatchListeners&&(f._dispatchListeners=[]),null==f._dispatchInstances&&(f._dispatchInstances=[]),f._dispatchListeners.push(s),f._dispatchInstances.push(a))):f&&f._reactName&&function(t,r,n){for(var i=[];t;){i.push(t);do t=t.return;while(t&&5!==t.tag);t=t||null}for(t=i.length;0<t--;)r(i[t],"captured",n);for(t=0;t<i.length;t++)r(i[t],"bubbled",n)}(f._targetInst,G,f),o.unstable_batchedUpdates(function(){if(F(r),f){var t=f._dispatchListeners,n=f._dispatchInstances;if(A(t))for(var i=0;i<t.length&&!f.isPropagationStopped();i++)V(f,t[i],n[i]);else t&&V(f,t,n);f._dispatchListeners=null,f._dispatchInstances=null,f.isPersistent()||f.constructor.release(f)}if(T)throw t=P,T=!1,P=null,t}),B()}}),r.act=$},52967:function(t,r,n){"use strict";var i,o,a,s,l,u,c=n(2784),d=n(14616);function f(t){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)r+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h=new Set,m={};function g(t,r){y(t,r),y(t+"Capture",r)}function y(t,r){for(m[t]=r,t=0;t<r.length;t++)h.add(r[t])}var v="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,b=Object.prototype.hasOwnProperty,_=/^[: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][: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]*$/,w={},S={};function x(t,r,n,i,o,a,s){this.acceptsBooleans=2===r||3===r||4===r,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=t,this.type=r,this.sanitizeURL=a,this.removeEmptyString=s}var E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){E[t]=new x(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var r=t[0];E[r]=new x(r,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){E[t]=new x(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){E[t]=new x(t,2,!1,t,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".split(" ").forEach(function(t){E[t]=new x(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){E[t]=new x(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){E[t]=new x(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){E[t]=new x(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){E[t]=new x(t,5,!1,t.toLowerCase(),null,!1,!1)});var k=/[\-:]([a-z])/g;function C(t){return t[1].toUpperCase()}function O(t,r,n,i){var o,a=E.hasOwnProperty(r)?E[r]:null;(null!==a?0!==a.type:i||!(2<r.length)||"o"!==r[0]&&"O"!==r[0]||"n"!==r[1]&&"N"!==r[1])&&(function(t,r,n,i){if(null==r||function(t,r,n,i){if(null!==n&&0===n.type)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":if(i)return!1;if(null!==n)return!n.acceptsBooleans;return"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t;default:return!1}}(t,r,n,i))return!0;if(i)return!1;if(null!==n)switch(n.type){case 3:return!r;case 4:return!1===r;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}(r,n,a,i)&&(n=null),i||null===a?(o=r,(b.call(S,o)||!b.call(w,o)&&(_.test(o)?S[o]=!0:(w[o]=!0,!1)))&&(null===n?t.removeAttribute(r):t.setAttribute(r,""+n))):a.mustUseProperty?t[a.propertyName]=null===n?3!==a.type&&"":n:(r=a.attributeName,i=a.attributeNamespace,null===n?t.removeAttribute(r):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,i?t.setAttributeNS(i,r,n):t.setAttribute(r,n))))}"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".split(" ").forEach(function(t){var r=t.replace(k,C);E[r]=new x(r,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var r=t.replace(k,C);E[r]=new x(r,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var r=t.replace(k,C);E[r]=new x(r,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){E[t]=new x(t,1,!1,t.toLowerCase(),null,!1,!1)}),E.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){E[t]=new x(t,1,!1,t.toLowerCase(),null,!0,!0)});var R=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=Symbol.for("react.element"),P=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),N=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),$=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var U=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var z=Symbol.iterator;function q(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=z&&t[z]||t["@@iterator"])?t:null}var Z,H=Object.assign;function V(t){if(void 0===Z)try{throw Error()}catch(t){var r=t.stack.trim().match(/\n( *(at )?)/);Z=r&&r[1]||""}return"\n"+Z+t}var W=!1;function G(t,r){if(!t||W)return"";W=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(t){var i=t}Reflect.construct(t,[],r)}else{try{r.call()}catch(t){i=t}t.call(r.prototype)}else{try{throw Error()}catch(t){i=t}t()}}catch(r){if(r&&i&&"string"==typeof r.stack){for(var o=r.stack.split("\n"),a=i.stack.split("\n"),s=o.length-1,l=a.length-1;1<=s&&0<=l&&o[s]!==a[l];)l--;for(;1<=s&&0<=l;s--,l--)if(o[s]!==a[l]){if(1!==s||1!==l)do if(s--,0>--l||o[s]!==a[l]){var u="\n"+o[s].replace(" at new "," at ");return t.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",t.displayName)),u}while(1<=s&&0<=l);break}}}finally{W=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?V(t):""}function K(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":case"object":return t;default:return""}}function X(t){var r=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===r||"radio"===r)}function Y(t){t._valueTracker||(t._valueTracker=function(t){var r=X(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,r),i=""+t[r];if(!t.hasOwnProperty(r)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(t,r,{configurable:!0,get:function(){return o.call(this)},set:function(t){i=""+t,a.call(this,t)}}),Object.defineProperty(t,r,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(t){i=""+t},stopTracking:function(){t._valueTracker=null,delete t[r]}}}}(t))}function J(t){if(!t)return!1;var r=t._valueTracker;if(!r)return!0;var n=r.getValue(),i="";return t&&(i=X(t)?t.checked?"true":"false":t.value),(t=i)!==n&&(r.setValue(t),!0)}function Q(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(r){return t.body}}function ee(t,r){var n=r.checked;return H({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:t._wrapperState.initialChecked})}function et(t,r){var n=null==r.defaultValue?"":r.defaultValue;t._wrapperState={initialChecked:null!=r.checked?r.checked:r.defaultChecked,initialValue:n=K(null!=r.value?r.value:n),controlled:"checkbox"===r.type||"radio"===r.type?null!=r.checked:null!=r.value}}function er(t,r){null!=(r=r.checked)&&O(t,"checked",r,!1)}function en(t,r){er(t,r);var n=K(r.value),i=r.type;if(null!=n)"number"===i?(0===n&&""===t.value||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if("submit"===i||"reset"===i){t.removeAttribute("value");return}r.hasOwnProperty("value")?eo(t,r.type,n):r.hasOwnProperty("defaultValue")&&eo(t,r.type,K(r.defaultValue)),null==r.checked&&null!=r.defaultChecked&&(t.defaultChecked=!!r.defaultChecked)}function ei(t,r,n){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var i=r.type;if(("submit"===i||"reset"===i)&&(void 0===r.value||null===r.value))return;r=""+t._wrapperState.initialValue,n||r===t.value||(t.value=r),t.defaultValue=r}""!==(n=t.name)&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,""!==n&&(t.name=n)}function eo(t,r,n){("number"!==r||Q(t.ownerDocument)!==t)&&(null==n?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var ea=Array.isArray;function es(t,r,n,i){if(t=t.options,r){r={};for(var o=0;o<n.length;o++)r["$"+n[o]]=!0;for(n=0;n<t.length;n++)o=r.hasOwnProperty("$"+t[n].value),t[n].selected!==o&&(t[n].selected=o),o&&i&&(t[n].defaultSelected=!0)}else{for(o=0,n=""+K(n),r=null;o<t.length;o++){if(t[o].value===n){t[o].selected=!0,i&&(t[o].defaultSelected=!0);return}null!==r||t[o].disabled||(r=t[o])}null!==r&&(r.selected=!0)}}function el(t,r){if(null!=r.dangerouslySetInnerHTML)throw Error(f(91));return H({},r,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function eu(t,r){var n=r.value;if(null==n){if(n=r.children,r=r.defaultValue,null!=n){if(null!=r)throw Error(f(92));if(ea(n)){if(1<n.length)throw Error(f(93));n=n[0]}r=n}null==r&&(r=""),n=r}t._wrapperState={initialValue:K(n)}}function ec(t,r){var n=K(r.value),i=K(r.defaultValue);null!=n&&((n=""+n)!==t.value&&(t.value=n),null==r.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=i&&(t.defaultValue=""+i)}function ed(t){var r=t.textContent;r===t._wrapperState.initialValue&&""!==r&&null!==r&&(t.value=r)}function ep(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ef(t,r){return null==t||"http://www.w3.org/1999/xhtml"===t?ep(r):"http://www.w3.org/2000/svg"===t&&"foreignObject"===r?"http://www.w3.org/1999/xhtml":t}var eh,em,eg=(eh=function(t,r){if("http://www.w3.org/2000/svg"!==t.namespaceURI||"innerHTML"in t)t.innerHTML=r;else{for((em=em||document.createElement("div")).innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=em.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;r.firstChild;)t.appendChild(r.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction(function(){return eh(t,r,n,i)})}:eh);function ey(t,r){if(r){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType){n.nodeValue=r;return}}t.textContent=r}var ev={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},eb=["Webkit","ms","Moz","O"];function e_(t,r,n){return null==r||"boolean"==typeof r||""===r?"":n||"number"!=typeof r||0===r||ev.hasOwnProperty(t)&&ev[t]?(""+r).trim():r+"px"}function ew(t,r){for(var n in t=t.style,r)if(r.hasOwnProperty(n)){var i=0===n.indexOf("--"),o=e_(n,r[n],i);"float"===n&&(n="cssFloat"),i?t.setProperty(n,o):t[n]=o}}Object.keys(ev).forEach(function(t){eb.forEach(function(r){ev[r=r+t.charAt(0).toUpperCase()+t.substring(1)]=ev[t]})});var eS=H({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ex(t,r){if(r){if(eS[t]&&(null!=r.children||null!=r.dangerouslySetInnerHTML))throw Error(f(137,t));if(null!=r.dangerouslySetInnerHTML){if(null!=r.children)throw Error(f(60));if("object"!=typeof r.dangerouslySetInnerHTML||!("__html"in r.dangerouslySetInnerHTML))throw Error(f(61))}if(null!=r.style&&"object"!=typeof r.style)throw Error(f(62))}}function eE(t,r){if(-1===t.indexOf("-"))return"string"==typeof r.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ek=null;function eC(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var eO=null,eR=null,eT=null;function eP(t){if(t=nU(t)){if("function"!=typeof eO)throw Error(f(280));var r=t.stateNode;r&&(r=nq(r),eO(t.stateNode,t.type,r))}}function eM(t){eR?eT?eT.push(t):eT=[t]:eR=t}function eI(){if(eR){var t=eR,r=eT;if(eT=eR=null,eP(t),r)for(t=0;t<r.length;t++)eP(r[t])}}function eA(t,r){return t(r)}function eL(){}var eN=!1;function ej(t,r,n){if(eN)return t(r,n);eN=!0;try{return eA(t,r,n)}finally{eN=!1,(null!==eR||null!==eT)&&(eL(),eI())}}function eD(t,r){var n=t.stateNode;if(null===n)return null;var i=nq(n);if(null===i)return null;switch(n=i[r],r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(i="button"!==(t=t.type)&&"input"!==t&&"select"!==t&&"textarea"!==t),t=!i;break;default:t=!1}if(t)return null;if(n&&"function"!=typeof n)throw Error(f(231,r,typeof n));return n}var eF=!1;if(v)try{var eB={};Object.defineProperty(eB,"passive",{get:function(){eF=!0}}),window.addEventListener("test",eB,eB),window.removeEventListener("test",eB,eB)}catch(t){eF=!1}function e$(t,r,n,i,o,a,s,l,u){var c=Array.prototype.slice.call(arguments,3);try{r.apply(n,c)}catch(t){this.onError(t)}}var eU=!1,ez=null,eq=!1,eZ=null,eH={onError:function(t){eU=!0,ez=t}};function eV(t,r,n,i,o,a,s,l,u){eU=!1,ez=null,e$.apply(eH,arguments)}function eW(t){var r=t,n=t;if(t.alternate)for(;r.return;)r=r.return;else{t=r;do 0!=(4098&(r=t).flags)&&(n=r.return),t=r.return;while(t)}return 3===r.tag?n:null}function eG(t){if(13===t.tag){var r=t.memoizedState;if(null===r&&null!==(t=t.alternate)&&(r=t.memoizedState),null!==r)return r.dehydrated}return null}function eK(t){if(eW(t)!==t)throw Error(f(188))}function eX(t){return null!==(t=function(t){var r=t.alternate;if(!r){if(null===(r=eW(t)))throw Error(f(188));return r!==t?null:t}for(var n=t,i=r;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(i=o.return)){n=i;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return eK(o),t;if(a===i)return eK(o),r;a=a.sibling}throw Error(f(188))}if(n.return!==i.return)n=o,i=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,i=a;break}if(l===i){s=!0,i=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,i=o;break}if(l===i){s=!0,i=a,n=o;break}l=l.sibling}if(!s)throw Error(f(189))}}if(n.alternate!==i)throw Error(f(190))}if(3!==n.tag)throw Error(f(188));return n.stateNode.current===n?t:r}(t))?function t(r){if(5===r.tag||6===r.tag)return r;for(r=r.child;null!==r;){var n=t(r);if(null!==n)return n;r=r.sibling}return null}(t):null}var eY=d.unstable_scheduleCallback,eJ=d.unstable_cancelCallback,eQ=d.unstable_shouldYield,e0=d.unstable_requestPaint,e1=d.unstable_now,e2=d.unstable_getCurrentPriorityLevel,e5=d.unstable_ImmediatePriority,e3=d.unstable_UserBlockingPriority,e6=d.unstable_NormalPriority,e4=d.unstable_LowPriority,e8=d.unstable_IdlePriority,e7=null,e9=null,te=Math.clz32?Math.clz32:function(t){return 0==(t>>>=0)?32:31-(tt(t)/tr|0)|0},tt=Math.log,tr=Math.LN2,tn=64,ti=4194304;function to(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&t;case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:return 0x7c00000&t;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0x40000000;default:return t}}function ta(t,r){var n=t.pendingLanes;if(0===n)return 0;var i=0,o=t.suspendedLanes,a=t.pingedLanes,s=0xfffffff&n;if(0!==s){var l=s&~o;0!==l?i=to(l):0!=(a&=s)&&(i=to(a))}else 0!=(s=n&~o)?i=to(s):0!==a&&(i=to(a));if(0===i)return 0;if(0!==r&&r!==i&&0==(r&o)&&((o=i&-i)>=(a=r&-r)||16===o&&0!=(4194240&a)))return r;if(0!=(4&i)&&(i|=16&n),0!==(r=t.entangledLanes))for(t=t.entanglements,r&=i;0<r;)o=1<<(n=31-te(r)),i|=t[n],r&=~o;return i}function ts(t){return 0!=(t=-0x40000001&t.pendingLanes)?t:0x40000000&t?0x40000000:0}function tl(){var t=tn;return 0==(4194240&(tn<<=1))&&(tn=64),t}function tu(t){for(var r=[],n=0;31>n;n++)r.push(t);return r}function tc(t,r,n){t.pendingLanes|=r,0x20000000!==r&&(t.suspendedLanes=0,t.pingedLanes=0),(t=t.eventTimes)[r=31-te(r)]=n}function td(t,r){var n=t.entangledLanes|=r;for(t=t.entanglements;n;){var i=31-te(n),o=1<<i;o&r|t[i]&r&&(t[i]|=r),n&=~o}}var tp=0;function tf(t){return 1<(t&=-t)?4<t?0!=(0xfffffff&t)?16:0x20000000:4:1}var th,tm,tg,ty,tv,tb=!1,t_=[],tw=null,tS=null,tx=null,tE=new Map,tk=new Map,tC=[],tO="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function tR(t,r){switch(t){case"focusin":case"focusout":tw=null;break;case"dragenter":case"dragleave":tS=null;break;case"mouseover":case"mouseout":tx=null;break;case"pointerover":case"pointerout":tE.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":tk.delete(r.pointerId)}}function tT(t,r,n,i,o,a){return null===t||t.nativeEvent!==a?(t={blockedOn:r,domEventName:n,eventSystemFlags:i,nativeEvent:a,targetContainers:[o]},null!==r&&null!==(r=nU(r))&&tm(r)):(t.eventSystemFlags|=i,r=t.targetContainers,null!==o&&-1===r.indexOf(o)&&r.push(o)),t}function tP(t){var r=n$(t.target);if(null!==r){var n=eW(r);if(null!==n){if(13===(r=n.tag)){if(null!==(r=eG(n))){t.blockedOn=r,tv(t.priority,function(){tg(n)});return}}else if(3===r&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function tM(t){if(null!==t.blockedOn)return!1;for(var r=t.targetContainers;0<r.length;){var n=tz(t.domEventName,t.eventSystemFlags,r[0],t.nativeEvent);if(null!==n)return null!==(r=nU(n))&&tm(r),t.blockedOn=n,!1;var i=new(n=t.nativeEvent).constructor(n.type,n);ek=i,n.target.dispatchEvent(i),ek=null,r.shift()}return!0}function tI(t,r,n){tM(t)&&n.delete(r)}function tA(){tb=!1,null!==tw&&tM(tw)&&(tw=null),null!==tS&&tM(tS)&&(tS=null),null!==tx&&tM(tx)&&(tx=null),tE.forEach(tI),tk.forEach(tI)}function tL(t,r){t.blockedOn===r&&(t.blockedOn=null,tb||(tb=!0,d.unstable_scheduleCallback(d.unstable_NormalPriority,tA)))}function tN(t){function r(r){return tL(r,t)}if(0<t_.length){tL(t_[0],t);for(var n=1;n<t_.length;n++){var i=t_[n];i.blockedOn===t&&(i.blockedOn=null)}}for(null!==tw&&tL(tw,t),null!==tS&&tL(tS,t),null!==tx&&tL(tx,t),tE.forEach(r),tk.forEach(r),n=0;n<tC.length;n++)(i=tC[n]).blockedOn===t&&(i.blockedOn=null);for(;0<tC.length&&null===(n=tC[0]).blockedOn;)tP(n),null===n.blockedOn&&tC.shift()}var tj=R.ReactCurrentBatchConfig,tD=!0;function tF(t,r,n,i){var o=tp,a=tj.transition;tj.transition=null;try{tp=1,t$(t,r,n,i)}finally{tp=o,tj.transition=a}}function tB(t,r,n,i){var o=tp,a=tj.transition;tj.transition=null;try{tp=4,t$(t,r,n,i)}finally{tp=o,tj.transition=a}}function t$(t,r,n,i){if(tD){var o=tz(t,r,n,i);if(null===o)nc(t,r,i,tU,n),tR(t,i);else if(function(t,r,n,i,o){switch(r){case"focusin":return tw=tT(tw,t,r,n,i,o),!0;case"dragenter":return tS=tT(tS,t,r,n,i,o),!0;case"mouseover":return tx=tT(tx,t,r,n,i,o),!0;case"pointerover":var a=o.pointerId;return tE.set(a,tT(tE.get(a)||null,t,r,n,i,o)),!0;case"gotpointercapture":return a=o.pointerId,tk.set(a,tT(tk.get(a)||null,t,r,n,i,o)),!0}return!1}(o,t,r,n,i))i.stopPropagation();else if(tR(t,i),4&r&&-1<tO.indexOf(t)){for(;null!==o;){var a=nU(o);if(null!==a&&th(a),null===(a=tz(t,r,n,i))&&nc(t,r,i,tU,n),a===o)break;o=a}null!==o&&i.stopPropagation()}else nc(t,r,i,null,n)}}var tU=null;function tz(t,r,n,i){if(tU=null,null!==(t=n$(t=eC(i))))if(null===(r=eW(t)))t=null;else if(13===(n=r.tag)){if(null!==(t=eG(r)))return t;t=null}else if(3===n){if(r.stateNode.current.memoizedState.isDehydrated)return 3===r.tag?r.stateNode.containerInfo:null;t=null}else r!==t&&(t=null);return tU=t,null}function tq(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(e2()){case e5:return 1;case e3:return 4;case e6:case e4:return 16;case e8:return 0x20000000;default:return 16}default:return 16}}var tZ=null,tH=null,tV=null;function tW(){if(tV)return tV;var t,r,n=tH,i=n.length,o="value"in tZ?tZ.value:tZ.textContent,a=o.length;for(t=0;t<i&&n[t]===o[t];t++);var s=i-t;for(r=1;r<=s&&n[i-r]===o[a-r];r++);return tV=o.slice(t,1<r?1-r:void 0)}function tG(t){var r=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===r&&(t=13):t=r,10===t&&(t=13),32<=t||13===t?t:0}function tK(){return!0}function tX(){return!1}function tY(t){function r(r,n,i,o,a){for(var s in this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,t)t.hasOwnProperty(s)&&(r=t[s],this[s]=r?r(o):o[s]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?tK:tX,this.isPropagationStopped=tX,this}return H(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=tK)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=tK)},persist:function(){},isPersistent:tK}),r}var tJ,tQ,t0,t1={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t2=tY(t1),t5=H({},t1,{view:0,detail:0}),t3=tY(t5),t6=H({},t5,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ra,button:0,buttons:0,relatedTarget:function(t){return void 0===t.relatedTarget?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==t0&&(t0&&"mousemove"===t.type?(tJ=t.screenX-t0.screenX,tQ=t.screenY-t0.screenY):tQ=tJ=0,t0=t),tJ)},movementY:function(t){return"movementY"in t?t.movementY:tQ}}),t4=tY(t6),t8=tY(H({},t6,{dataTransfer:0})),t7=tY(H({},t5,{relatedTarget:0})),t9=tY(H({},t1,{animationName:0,elapsedTime:0,pseudoElement:0})),re=tY(H({},t1,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}})),rt=tY(H({},t1,{data:0})),rr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},rn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ri={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ro(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):!!(t=ri[t])&&!!r[t]}function ra(){return ro}var rs=tY(H({},t5,{key:function(t){if(t.key){var r=rr[t.key]||t.key;if("Unidentified"!==r)return r}return"keypress"===t.type?13===(t=tG(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?rn[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ra,charCode:function(t){return"keypress"===t.type?tG(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?tG(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}})),rl=tY(H({},t6,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ru=tY(H({},t5,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ra})),rc=tY(H({},t1,{propertyName:0,elapsedTime:0,pseudoElement:0})),rd=tY(H({},t6,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0})),rp=[9,13,27,32],rf=v&&"CompositionEvent"in window,rm=null;v&&"documentMode"in document&&(rm=document.documentMode);var rg=v&&"TextEvent"in window&&!rm,ry=v&&(!rf||rm&&8<rm&&11>=rm),rv=!1;function rb(t,r){switch(t){case"keyup":return -1!==rp.indexOf(r.keyCode);case"keydown":return 229!==r.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function r_(t){return"object"==typeof(t=t.detail)&&"data"in t?t.data:null}var rw=!1,rS={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function rx(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===r?!!rS[t.type]:"textarea"===r}function rE(t,r,n,i){eM(i),0<(r=np(r,"onChange")).length&&(n=new t2("onChange","change",null,n,i),t.push({event:n,listeners:r}))}var rk=null,rC=null;function rO(t){ni(t,0)}function rR(t){if(J(nz(t)))return t}function rT(t,r){if("change"===t)return r}var rP=!1;if(v){if(v){var rM="oninput"in document;if(!rM){var rI=document.createElement("div");rI.setAttribute("oninput","return;"),rM="function"==typeof rI.oninput}i=rM}else i=!1;rP=i&&(!document.documentMode||9<document.documentMode)}function rA(){rk&&(rk.detachEvent("onpropertychange",rL),rC=rk=null)}function rL(t){if("value"===t.propertyName&&rR(rC)){var r=[];rE(r,rC,t,eC(t)),ej(rO,r)}}function rN(t,r,n){"focusin"===t?(rA(),rk=r,rC=n,rk.attachEvent("onpropertychange",rL)):"focusout"===t&&rA()}function rj(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return rR(rC)}function rD(t,r){if("click"===t)return rR(r)}function rF(t,r){if("input"===t||"change"===t)return rR(r)}var rB="function"==typeof Object.is?Object.is:function(t,r){return t===r&&(0!==t||1/t==1/r)||t!=t&&r!=r};function r$(t,r){if(rB(t,r))return!0;if("object"!=typeof t||null===t||"object"!=typeof r||null===r)return!1;var n=Object.keys(t),i=Object.keys(r);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var o=n[i];if(!b.call(r,o)||!rB(t[o],r[o]))return!1}return!0}function rU(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function rz(t,r){var n,i=rU(t);for(t=0;i;){if(3===i.nodeType){if(n=t+i.textContent.length,t<=r&&n>=r)return{node:i,offset:r-t};t=n}r:{for(;i;){if(i.nextSibling){i=i.nextSibling;break r}i=i.parentNode}i=void 0}i=rU(i)}}function rq(){for(var t=window,r=Q();r instanceof t.HTMLIFrameElement;){try{var n="string"==typeof r.contentWindow.location.href}catch(t){n=!1}if(n)t=r.contentWindow;else break;r=Q(t.document)}return r}function rZ(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r&&("input"===r&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===r||"true"===t.contentEditable)}var rH=v&&"documentMode"in document&&11>=document.documentMode,rV=null,rW=null,rG=null,rK=!1;function rX(t,r,n){var i=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;rK||null==rV||rV!==Q(i)||(i="selectionStart"in(i=rV)&&rZ(i)?{start:i.selectionStart,end:i.selectionEnd}:{anchorNode:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset},rG&&r$(rG,i)||(rG=i,0<(i=np(rW,"onSelect")).length&&(r=new t2("onSelect","select",null,r,n),t.push({event:r,listeners:i}),r.target=rV)))}function rY(t,r){var n={};return n[t.toLowerCase()]=r.toLowerCase(),n["Webkit"+t]="webkit"+r,n["Moz"+t]="moz"+r,n}var rJ={animationend:rY("Animation","AnimationEnd"),animationiteration:rY("Animation","AnimationIteration"),animationstart:rY("Animation","AnimationStart"),transitionend:rY("Transition","TransitionEnd")},rQ={},r0={};function r1(t){if(rQ[t])return rQ[t];if(!rJ[t])return t;var r,n=rJ[t];for(r in n)if(n.hasOwnProperty(r)&&r in r0)return rQ[t]=n[r];return t}v&&(r0=document.createElement("div").style,"AnimationEvent"in window||(delete rJ.animationend.animation,delete rJ.animationiteration.animation,delete rJ.animationstart.animation),"TransitionEvent"in window||delete rJ.transitionend.transition);var r2=r1("animationend"),r5=r1("animationiteration"),r3=r1("animationstart"),r6=r1("transitionend"),r4=new Map,r8="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function r7(t,r){r4.set(t,r),g(r,[t])}for(var r9=0;r9<r8.length;r9++){var ne=r8[r9];r7(ne.toLowerCase(),"on"+(ne[0].toUpperCase()+ne.slice(1)))}r7(r2,"onAnimationEnd"),r7(r5,"onAnimationIteration"),r7(r3,"onAnimationStart"),r7("dblclick","onDoubleClick"),r7("focusin","onFocus"),r7("focusout","onBlur"),r7(r6,"onTransitionEnd"),y("onMouseEnter",["mouseout","mouseover"]),y("onMouseLeave",["mouseout","mouseover"]),y("onPointerEnter",["pointerout","pointerover"]),y("onPointerLeave",["pointerout","pointerover"]),g("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),g("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),g("onBeforeInput",["compositionend","keypress","textInput","paste"]),g("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),g("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),g("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nt="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),nr=new Set("cancel close invalid load scroll toggle".split(" ").concat(nt));function nn(t,r,n){var i=t.type||"unknown-event";t.currentTarget=n,function(t,r,n,i,o,a,s,l,u){if(eV.apply(this,arguments),eU){if(eU){var c=ez;eU=!1,ez=null}else throw Error(f(198));eq||(eq=!0,eZ=c)}}(i,r,void 0,t),t.currentTarget=null}function ni(t,r){r=0!=(4&r);for(var n=0;n<t.length;n++){var i=t[n],o=i.event;i=i.listeners;r:{var a=void 0;if(r)for(var s=i.length-1;0<=s;s--){var l=i[s],u=l.instance,c=l.currentTarget;if(l=l.listener,u!==a&&o.isPropagationStopped())break r;nn(o,l,c),a=u}else for(s=0;s<i.length;s++){if(u=(l=i[s]).instance,c=l.currentTarget,l=l.listener,u!==a&&o.isPropagationStopped())break r;nn(o,l,c),a=u}}}if(eq)throw t=eZ,eq=!1,eZ=null,t}function no(t,r){var n=r[nD];void 0===n&&(n=r[nD]=new Set);var i=t+"__bubble";n.has(i)||(nu(r,t,2,!1),n.add(i))}function na(t,r,n){var i=0;r&&(i|=4),nu(n,t,i,r)}var ns="_reactListening"+Math.random().toString(36).slice(2);function nl(t){if(!t[ns]){t[ns]=!0,h.forEach(function(r){"selectionchange"!==r&&(nr.has(r)||na(r,!1,t),na(r,!0,t))});var r=9===t.nodeType?t:t.ownerDocument;null===r||r[ns]||(r[ns]=!0,na("selectionchange",!1,r))}}function nu(t,r,n,i){switch(tq(r)){case 1:var o=tF;break;case 4:o=tB;break;default:o=t$}n=o.bind(null,r,n,t),o=void 0,eF&&("touchstart"===r||"touchmove"===r||"wheel"===r)&&(o=!0),i?void 0!==o?t.addEventListener(r,n,{capture:!0,passive:o}):t.addEventListener(r,n,!0):void 0!==o?t.addEventListener(r,n,{passive:o}):t.addEventListener(r,n,!1)}function nc(t,r,n,i,o){var a=i;if(0==(1&r)&&0==(2&r)&&null!==i)r:for(;;){if(null===i)return;var s=i.tag;if(3===s||4===s){var l=i.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===s)for(s=i.return;null!==s;){var u=s.tag;if((3===u||4===u)&&((u=s.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;s=s.return}for(;null!==l;){if(null===(s=n$(l)))return;if(5===(u=s.tag)||6===u){i=a=s;continue r}l=l.parentNode}}i=i.return}ej(function(){var i=a,o=eC(n),s=[];r:{var l=r4.get(t);if(void 0!==l){var u=t2,c=t;switch(t){case"keypress":if(0===tG(n))break r;case"keydown":case"keyup":u=rs;break;case"focusin":c="focus",u=t7;break;case"focusout":c="blur",u=t7;break;case"beforeblur":case"afterblur":u=t7;break;case"click":if(2===n.button)break r;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=t4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=t8;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=ru;break;case r2:case r5:case r3:u=t9;break;case r6:u=rc;break;case"scroll":u=t3;break;case"wheel":u=rd;break;case"copy":case"cut":case"paste":u=re;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=rl}var d=0!=(4&r),f=!d&&"scroll"===t,h=d?null!==l?l+"Capture":null:l;d=[];for(var m,g=i;null!==g;){var y=(m=g).stateNode;if(5===m.tag&&null!==y&&(m=y,null!==h&&null!=(y=eD(g,h))&&d.push(nd(g,y,m))),f)break;g=g.return}0<d.length&&(l=new u(l,c,null,n,o),s.push({event:l,listeners:d}))}}if(0==(7&r)){if(l="mouseover"===t||"pointerover"===t,u="mouseout"===t||"pointerout"===t,!(l&&n!==ek&&(c=n.relatedTarget||n.fromElement)&&(n$(c)||c[nj]))&&(u||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,u?(c=n.relatedTarget||n.toElement,u=i,null!==(c=c?n$(c):null)&&(f=eW(c),c!==f||5!==c.tag&&6!==c.tag)&&(c=null)):(u=null,c=i),u!==c)){if(d=t4,y="onMouseLeave",h="onMouseEnter",g="mouse",("pointerout"===t||"pointerover"===t)&&(d=rl,y="onPointerLeave",h="onPointerEnter",g="pointer"),f=null==u?l:nz(u),m=null==c?l:nz(c),(l=new d(y,g+"leave",u,n,o)).target=f,l.relatedTarget=m,y=null,n$(o)===i&&((d=new d(h,g+"enter",c,n,o)).target=m,d.relatedTarget=f,y=d),f=y,u&&c)n:{for(d=u,h=c,g=0,m=d;m;m=nf(m))g++;for(m=0,y=h;y;y=nf(y))m++;for(;0<g-m;)d=nf(d),g--;for(;0<m-g;)h=nf(h),m--;for(;g--;){if(d===h||null!==h&&d===h.alternate)break n;d=nf(d),h=nf(h)}d=null}else d=null;null!==u&&nh(s,l,u,d,!1),null!==c&&null!==f&&nh(s,f,c,d,!0)}r:{if("select"===(u=(l=i?nz(i):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var v,b=rT;else if(rx(l))if(rP)b=rF;else{b=rj;var _=rN}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(b=rD);if(b&&(b=b(t,i))){rE(s,b,n,o);break r}_&&_(t,l,i),"focusout"===t&&(_=l._wrapperState)&&_.controlled&&"number"===l.type&&eo(l,"number",l.value)}switch(_=i?nz(i):window,t){case"focusin":(rx(_)||"true"===_.contentEditable)&&(rV=_,rW=i,rG=null);break;case"focusout":rG=rW=rV=null;break;case"mousedown":rK=!0;break;case"contextmenu":case"mouseup":case"dragend":rK=!1,rX(s,n,o);break;case"selectionchange":if(rH)break;case"keydown":case"keyup":rX(s,n,o)}if(rf)n:{switch(t){case"compositionstart":var w="onCompositionStart";break n;case"compositionend":w="onCompositionEnd";break n;case"compositionupdate":w="onCompositionUpdate";break n}w=void 0}else rw?rb(t,n)&&(w="onCompositionEnd"):"keydown"===t&&229===n.keyCode&&(w="onCompositionStart");w&&(ry&&"ko"!==n.locale&&(rw||"onCompositionStart"!==w?"onCompositionEnd"===w&&rw&&(v=tW()):(tH="value"in(tZ=o)?tZ.value:tZ.textContent,rw=!0)),0<(_=np(i,w)).length&&(w=new rt(w,t,null,n,o),s.push({event:w,listeners:_}),v?w.data=v:null!==(v=r_(n))&&(w.data=v))),(v=rg?function(t,r){switch(t){case"compositionend":return r_(r);case"keypress":if(32!==r.which)return null;return rv=!0," ";case"textInput":return" "===(t=r.data)&&rv?null:t;default:return null}}(t,n):function(t,r){if(rw)return"compositionend"===t||!rf&&rb(t,r)?(t=tW(),tV=tH=tZ=null,rw=!1,t):null;switch(t){case"paste":default:return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return ry&&"ko"!==r.locale?null:r.data}}(t,n))&&0<(i=np(i,"onBeforeInput")).length&&(o=new rt("onBeforeInput","beforeinput",null,n,o),s.push({event:o,listeners:i}),o.data=v)}ni(s,r)})}function nd(t,r,n){return{instance:t,listener:r,currentTarget:n}}function np(t,r){for(var n=r+"Capture",i=[];null!==t;){var o=t,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=eD(t,n))&&i.unshift(nd(t,a,o)),null!=(a=eD(t,r))&&i.push(nd(t,a,o))),t=t.return}return i}function nf(t){if(null===t)return null;do t=t.return;while(t&&5!==t.tag);return t||null}function nh(t,r,n,i,o){for(var a=r._reactName,s=[];null!==n&&n!==i;){var l=n,u=l.alternate,c=l.stateNode;if(null!==u&&u===i)break;5===l.tag&&null!==c&&(l=c,o?null!=(u=eD(n,a))&&s.unshift(nd(n,u,l)):o||null!=(u=eD(n,a))&&s.push(nd(n,u,l))),n=n.return}0!==s.length&&t.push({event:r,listeners:s})}var nm=/\r\n?/g,ng=/\u0000|\uFFFD/g;function ny(t){return("string"==typeof t?t:""+t).replace(nm,"\n").replace(ng,"")}function n_(t,r,n){if(r=ny(r),ny(t)!==r&&n)throw Error(f(425))}function nw(){}var nS=null,nx=null;function nE(t,r){return"textarea"===t||"noscript"===t||"string"==typeof r.children||"number"==typeof r.children||"object"==typeof r.dangerouslySetInnerHTML&&null!==r.dangerouslySetInnerHTML&&null!=r.dangerouslySetInnerHTML.__html}var nk="function"==typeof setTimeout?setTimeout:void 0,nC="function"==typeof clearTimeout?clearTimeout:void 0,nO="function"==typeof Promise?Promise:void 0,nR="function"==typeof queueMicrotask?queueMicrotask:void 0!==nO?function(t){return nO.resolve(null).then(t).catch(nT)}:nk;function nT(t){setTimeout(function(){throw t})}function nP(t,r){var n=r,i=0;do{var o=n.nextSibling;if(t.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===i){t.removeChild(o),tN(r);return}i--}else"$"!==n&&"$?"!==n&&"$!"!==n||i++;n=o}while(n);tN(r)}function nM(t){for(;null!=t;t=t.nextSibling){var r=t.nodeType;if(1===r||3===r)break;if(8===r){if("$"===(r=t.data)||"$!"===r||"$?"===r)break;if("/$"===r)return null}}return t}function nI(t){t=t.previousSibling;for(var r=0;t;){if(8===t.nodeType){var n=t.data;if("$"===n||"$!"===n||"$?"===n){if(0===r)return t;r--}else"/$"===n&&r++}t=t.previousSibling}return null}var nA=Math.random().toString(36).slice(2),nL="__reactFiber$"+nA,nN="__reactProps$"+nA,nj="__reactContainer$"+nA,nD="__reactEvents$"+nA,nF="__reactListeners$"+nA,nB="__reactHandles$"+nA;function n$(t){var r=t[nL];if(r)return r;for(var n=t.parentNode;n;){if(r=n[nj]||n[nL]){if(n=r.alternate,null!==r.child||null!==n&&null!==n.child)for(t=nI(t);null!==t;){if(n=t[nL])return n;t=nI(t)}return r}n=(t=n).parentNode}return null}function nU(t){return(t=t[nL]||t[nj])&&(5===t.tag||6===t.tag||13===t.tag||3===t.tag)?t:null}function nz(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(f(33))}function nq(t){return t[nN]||null}var nZ=[],nH=-1;function nV(t){return{current:t}}function nW(t){0>nH||(t.current=nZ[nH],nZ[nH]=null,nH--)}function nG(t,r){nZ[++nH]=t.current,t.current=r}var nK={},nX=nV(nK),nY=nV(!1),nJ=nK;function nQ(t,r){var n=t.type.contextTypes;if(!n)return nK;var i=t.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===r)return i.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=r[o];return i&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,t.__reactInternalMemoizedMaskedChildContext=a),a}function n0(t){return null!=(t=t.childContextTypes)}function n1(){nW(nY),nW(nX)}function n2(t,r,n){if(nX.current!==nK)throw Error(f(168));nG(nX,r),nG(nY,n)}function n5(t,r,n){var i=t.stateNode;if(r=r.childContextTypes,"function"!=typeof i.getChildContext)return n;for(var o in i=i.getChildContext())if(!(o in r))throw Error(f(108,function(t){var r=t.type;switch(t.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=(t=r.render).displayName||t.name||"",r.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function t(r){if(null==r)return null;if("function"==typeof r)return r.displayName||r.name||null;if("string"==typeof r)return r;switch(r){case M:return"Fragment";case P:return"Portal";case A:return"Profiler";case I:return"StrictMode";case D:return"Suspense";case F:return"SuspenseList"}if("object"==typeof r)switch(r.$$typeof){case N:return(r.displayName||"Context")+".Consumer";case L:return(r._context.displayName||"Context")+".Provider";case j:var n=r.render;return(r=r.displayName)||(r=""!==(r=n.displayName||n.name||"")?"ForwardRef("+r+")":"ForwardRef"),r;case B:return null!==(n=r.displayName||null)?n:t(r.type)||"Memo";case $:n=r._payload,r=r._init;try{return t(r(n))}catch(t){}}return null}(r);case 8:return r===I?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof r)return r.displayName||r.name||null;if("string"==typeof r)return r}return null}(t)||"Unknown",o));return H({},n,i)}function n3(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||nK,nJ=nX.current,nG(nX,t),nG(nY,nY.current),!0}function n6(t,r,n){var i=t.stateNode;if(!i)throw Error(f(169));n?(i.__reactInternalMemoizedMergedChildContext=t=n5(t,r,nJ),nW(nY),nW(nX),nG(nX,t)):nW(nY),nG(nY,n)}var n4=null,n8=!1,n7=!1;function n9(t){null===n4?n4=[t]:n4.push(t)}function ie(){if(!n7&&null!==n4){n7=!0;var t=0,r=tp;try{var n=n4;for(tp=1;t<n.length;t++){var i=n[t];do i=i(!0);while(null!==i)}n4=null,n8=!1}catch(r){throw null!==n4&&(n4=n4.slice(t+1)),eY(e5,ie),r}finally{tp=r,n7=!1}}return null}var it=[],ir=0,ii=null,io=0,ia=[],is=0,il=null,iu=1,ic="";function id(t,r){it[ir++]=io,it[ir++]=ii,ii=t,io=r}function ip(t,r,n){ia[is++]=iu,ia[is++]=ic,ia[is++]=il,il=t;var i=iu;t=ic;var o=32-te(i)-1;i&=~(1<<o),n+=1;var a=32-te(r)+o;if(30<a){var s=o-o%5;a=(i&(1<<s)-1).toString(32),i>>=s,o-=s,iu=1<<32-te(r)+o|n<<o|i,ic=a+t}else iu=1<<a|n<<o|i,ic=t}function ih(t){null!==t.return&&(id(t,1),ip(t,1,0))}function im(t){for(;t===ii;)ii=it[--ir],it[ir]=null,io=it[--ir],it[ir]=null;for(;t===il;)il=ia[--is],ia[is]=null,ic=ia[--is],ia[is]=null,iu=ia[--is],ia[is]=null}var ig=null,iy=null,ib=!1,i_=null;function iw(t,r){var n=s0(5,null,null,0);n.elementType="DELETED",n.stateNode=r,n.return=t,null===(r=t.deletions)?(t.deletions=[n],t.flags|=16):r.push(n)}function iS(t,r){switch(t.tag){case 5:var n=t.type;return null!==(r=1!==r.nodeType||n.toLowerCase()!==r.nodeName.toLowerCase()?null:r)&&(t.stateNode=r,ig=t,iy=nM(r.firstChild),!0);case 6:return null!==(r=""===t.pendingProps||3!==r.nodeType?null:r)&&(t.stateNode=r,ig=t,iy=null,!0);case 13:return null!==(r=8!==r.nodeType?null:r)&&(t.memoizedState={dehydrated:r,treeContext:n=null!==il?{id:iu,overflow:ic}:null,retryLane:0x40000000},(n=s0(18,null,null,0)).stateNode=r,n.return=t,t.child=n,ig=t,iy=null,!0);default:return!1}}function ix(t){return 0!=(1&t.mode)&&0==(128&t.flags)}function iE(t){if(ib){var r=iy;if(r){var n=r;if(!iS(t,r)){if(ix(t))throw Error(f(418));r=nM(n.nextSibling);var i=ig;r&&iS(t,r)?iw(i,n):(t.flags=-4097&t.flags|2,ib=!1,ig=t)}}else{if(ix(t))throw Error(f(418));t.flags=-4097&t.flags|2,ib=!1,ig=t}}}function ik(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;ig=t}function iC(t){if(t!==ig)return!1;if(!ib)return ik(t),ib=!0,!1;if((r=3!==t.tag)&&!(r=5!==t.tag)&&(r="head"!==(r=t.type)&&"body"!==r&&!nE(t.type,t.memoizedProps)),r&&(r=iy)){if(ix(t))throw iO(),Error(f(418));for(;r;)iw(t,r),r=nM(r.nextSibling)}if(ik(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(f(317));r:{for(r=0,t=t.nextSibling;t;){if(8===t.nodeType){var r,n=t.data;if("/$"===n){if(0===r){iy=nM(t.nextSibling);break r}r--}else"$"!==n&&"$!"!==n&&"$?"!==n||r++}t=t.nextSibling}iy=null}}else iy=ig?nM(t.stateNode.nextSibling):null;return!0}function iO(){for(var t=iy;t;)t=nM(t.nextSibling)}function iR(){iy=ig=null,ib=!1}function iT(t){null===i_?i_=[t]:i_.push(t)}var iP=R.ReactCurrentBatchConfig;function iM(t,r,n){if(null!==(t=n.ref)&&"function"!=typeof t&&"object"!=typeof t){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(f(309));var i=n.stateNode}if(!i)throw Error(f(147,t));var o=i,a=""+t;return null!==r&&null!==r.ref&&"function"==typeof r.ref&&r.ref._stringRef===a?r.ref:((r=function(t){var r=o.refs;null===t?delete r[a]:r[a]=t})._stringRef=a,r)}if("string"!=typeof t)throw Error(f(284));if(!n._owner)throw Error(f(290,t))}return t}function iI(t,r){throw Error(f(31,"[object Object]"===(t=Object.prototype.toString.call(r))?"object with keys {"+Object.keys(r).join(", ")+"}":t))}function iA(t){return(0,t._init)(t._payload)}function iL(t){function r(r,n){if(t){var i=r.deletions;null===i?(r.deletions=[n],r.flags|=16):i.push(n)}}function n(n,i){if(!t)return null;for(;null!==i;)r(n,i),i=i.sibling;return null}function i(t,r){for(t=new Map;null!==r;)null!==r.key?t.set(r.key,r):t.set(r.index,r),r=r.sibling;return t}function o(t,r){return(t=s2(t,r)).index=0,t.sibling=null,t}function a(r,n,i){return(r.index=i,t)?null!==(i=r.alternate)?(i=i.index)<n?(r.flags|=2,n):i:(r.flags|=2,n):(r.flags|=1048576,n)}function s(r){return t&&null===r.alternate&&(r.flags|=2),r}function l(t,r,n,i){return null===r||6!==r.tag?(r=s4(n,t.mode,i)).return=t:(r=o(r,n)).return=t,r}function u(t,r,n,i){var a=n.type;return a===M?d(t,r,n.props.children,i,n.key):(null!==r&&(r.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===$&&iA(a)===r.type)?(i=o(r,n.props)).ref=iM(t,r,n):(i=s5(n.type,n.key,n.props,null,t.mode,i)).ref=iM(t,r,n),i.return=t,i)}function c(t,r,n,i){return null===r||4!==r.tag||r.stateNode.containerInfo!==n.containerInfo||r.stateNode.implementation!==n.implementation?(r=s8(n,t.mode,i)).return=t:(r=o(r,n.children||[])).return=t,r}function d(t,r,n,i,a){return null===r||7!==r.tag?(r=s3(n,t.mode,i,a)).return=t:(r=o(r,n)).return=t,r}function h(t,r,n){if("string"==typeof r&&""!==r||"number"==typeof r)return(r=s4(""+r,t.mode,n)).return=t,r;if("object"==typeof r&&null!==r){switch(r.$$typeof){case T:return(n=s5(r.type,r.key,r.props,null,t.mode,n)).ref=iM(t,null,r),n.return=t,n;case P:return(r=s8(r,t.mode,n)).return=t,r;case $:return h(t,(0,r._init)(r._payload),n)}if(ea(r)||q(r))return(r=s3(r,t.mode,n,null)).return=t,r;iI(t,r)}return null}function m(t,r,n,i){var o=null!==r?r.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(t,r,""+n,i);if("object"==typeof n&&null!==n){switch(n.$$typeof){case T:return n.key===o?u(t,r,n,i):null;case P:return n.key===o?c(t,r,n,i):null;case $:return m(t,r,(o=n._init)(n._payload),i)}if(ea(n)||q(n))return null!==o?null:d(t,r,n,i,null);iI(t,n)}return null}function g(t,r,n,i,o){if("string"==typeof i&&""!==i||"number"==typeof i)return l(r,t=t.get(n)||null,""+i,o);if("object"==typeof i&&null!==i){switch(i.$$typeof){case T:return u(r,t=t.get(null===i.key?n:i.key)||null,i,o);case P:return c(r,t=t.get(null===i.key?n:i.key)||null,i,o);case $:return g(t,r,n,(0,i._init)(i._payload),o)}if(ea(i)||q(i))return d(r,t=t.get(n)||null,i,o,null);iI(r,i)}return null}return function l(u,c,d,y){if("object"==typeof d&&null!==d&&d.type===M&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case T:r:{for(var v=d.key,b=c;null!==b;){if(b.key===v){if((v=d.type)===M){if(7===b.tag){n(u,b.sibling),(c=o(b,d.props.children)).return=u,u=c;break r}}else if(b.elementType===v||"object"==typeof v&&null!==v&&v.$$typeof===$&&iA(v)===b.type){n(u,b.sibling),(c=o(b,d.props)).ref=iM(u,b,d),c.return=u,u=c;break r}n(u,b);break}r(u,b),b=b.sibling}d.type===M?((c=s3(d.props.children,u.mode,y,d.key)).return=u,u=c):((y=s5(d.type,d.key,d.props,null,u.mode,y)).ref=iM(u,c,d),y.return=u,u=y)}return s(u);case P:r:{for(b=d.key;null!==c;){if(c.key===b)if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(u,c.sibling),(c=o(c,d.children||[])).return=u,u=c;break r}else{n(u,c);break}r(u,c),c=c.sibling}(c=s8(d,u.mode,y)).return=u,u=c}return s(u);case $:return l(u,c,(b=d._init)(d._payload),y)}if(ea(d))return function(o,s,l,u){for(var c=null,d=null,f=s,y=s=0,v=null;null!==f&&y<l.length;y++){f.index>y?(v=f,f=null):v=f.sibling;var b=m(o,f,l[y],u);if(null===b){null===f&&(f=v);break}t&&f&&null===b.alternate&&r(o,f),s=a(b,s,y),null===d?c=b:d.sibling=b,d=b,f=v}if(y===l.length)return n(o,f),ib&&id(o,y),c;if(null===f){for(;y<l.length;y++)null!==(f=h(o,l[y],u))&&(s=a(f,s,y),null===d?c=f:d.sibling=f,d=f);return ib&&id(o,y),c}for(f=i(o,f);y<l.length;y++)null!==(v=g(f,o,y,l[y],u))&&(t&&null!==v.alternate&&f.delete(null===v.key?y:v.key),s=a(v,s,y),null===d?c=v:d.sibling=v,d=v);return t&&f.forEach(function(t){return r(o,t)}),ib&&id(o,y),c}(u,c,d,y);if(q(d))return function(o,s,l,u){var c=q(l);if("function"!=typeof c)throw Error(f(150));if(null==(l=c.call(l)))throw Error(f(151));for(var d=c=null,y=s,v=s=0,b=null,_=l.next();null!==y&&!_.done;v++,_=l.next()){y.index>v?(b=y,y=null):b=y.sibling;var w=m(o,y,_.value,u);if(null===w){null===y&&(y=b);break}t&&y&&null===w.alternate&&r(o,y),s=a(w,s,v),null===d?c=w:d.sibling=w,d=w,y=b}if(_.done)return n(o,y),ib&&id(o,v),c;if(null===y){for(;!_.done;v++,_=l.next())null!==(_=h(o,_.value,u))&&(s=a(_,s,v),null===d?c=_:d.sibling=_,d=_);return ib&&id(o,v),c}for(y=i(o,y);!_.done;v++,_=l.next())null!==(_=g(y,o,v,_.value,u))&&(t&&null!==_.alternate&&y.delete(null===_.key?v:_.key),s=a(_,s,v),null===d?c=_:d.sibling=_,d=_);return t&&y.forEach(function(t){return r(o,t)}),ib&&id(o,v),c}(u,c,d,y);iI(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d?(d=""+d,null!==c&&6===c.tag?(n(u,c.sibling),(c=o(c,d)).return=u):(n(u,c),(c=s4(d,u.mode,y)).return=u),s(u=c)):n(u,c)}}var iN=iL(!0),ij=iL(!1),iD=nV(null),iF=null,iB=null,i$=null;function iU(){i$=iB=iF=null}function iz(t){var r=iD.current;nW(iD),t._currentValue=r}function iq(t,r,n){for(;null!==t;){var i=t.alternate;if((t.childLanes&r)!==r?(t.childLanes|=r,null!==i&&(i.childLanes|=r)):null!==i&&(i.childLanes&r)!==r&&(i.childLanes|=r),t===n)break;t=t.return}}function iZ(t,r){iF=t,i$=iB=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(0!=(t.lanes&r)&&(af=!0),t.firstContext=null)}function iH(t){var r=t._currentValue;if(i$!==t)if(t={context:t,memoizedValue:r,next:null},null===iB){if(null===iF)throw Error(f(308));iB=t,iF.dependencies={lanes:0,firstContext:t}}else iB=iB.next=t;return r}var iV=null;function iW(t){null===iV?iV=[t]:iV.push(t)}function iG(t,r,n,i){var o=r.interleaved;return null===o?(n.next=n,iW(r)):(n.next=o.next,o.next=n),r.interleaved=n,iK(t,i)}function iK(t,r){t.lanes|=r;var n=t.alternate;for(null!==n&&(n.lanes|=r),n=t,t=t.return;null!==t;)t.childLanes|=r,null!==(n=t.alternate)&&(n.childLanes|=r),n=t,t=t.return;return 3===n.tag?n.stateNode:null}var iX=!1;function iY(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function iJ(t,r){t=t.updateQueue,r.updateQueue===t&&(r.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function iQ(t,r){return{eventTime:t,lane:r,tag:0,payload:null,callback:null,next:null}}function i0(t,r,n){var i=t.updateQueue;if(null===i)return null;if(i=i.shared,0!=(2&se)){var o=i.pending;return null===o?r.next=r:(r.next=o.next,o.next=r),i.pending=r,iK(t,n)}return null===(o=i.interleaved)?(r.next=r,iW(i)):(r.next=o.next,o.next=r),i.interleaved=r,iK(t,n)}function i1(t,r,n){if(null!==(r=r.updateQueue)&&(r=r.shared,0!=(4194240&n))){var i=r.lanes;i&=t.pendingLanes,n|=i,r.lanes=n,td(t,n)}}function i2(t,r){var n=t.updateQueue,i=t.alternate;if(null!==i&&n===(i=i.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=s:a=a.next=s,n=n.next}while(null!==n);null===a?o=a=r:a=a.next=r}else o=a=r;n={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:i.shared,effects:i.effects},t.updateQueue=n;return}null===(t=n.lastBaseUpdate)?n.firstBaseUpdate=r:t.next=r,n.lastBaseUpdate=r}function i5(t,r,n,i){var o=t.updateQueue;iX=!1;var a=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var u=l,c=u.next;u.next=null,null===s?a=c:s.next=c,s=u;var d=t.alternate;null!==d&&(l=(d=d.updateQueue).lastBaseUpdate)!==s&&(null===l?d.firstBaseUpdate=c:l.next=c,d.lastBaseUpdate=u)}if(null!==a){var f=o.baseState;for(s=0,d=c=u=null,l=a;;){var h=l.lane,m=l.eventTime;if((i&h)===h){null!==d&&(d=d.next={eventTime:m,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});r:{var g=t,y=l;switch(h=r,m=n,y.tag){case 1:if("function"==typeof(g=y.payload)){f=g.call(m,f,h);break r}f=g;break r;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(h="function"==typeof(g=y.payload)?g.call(m,f,h):g))break r;f=H({},f,h);break r;case 2:iX=!0}}null!==l.callback&&0!==l.lane&&(t.flags|=64,null===(h=o.effects)?o.effects=[l]:h.push(l))}else m={eventTime:m,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===d?(c=d=m,u=f):d=d.next=m,s|=h;if(null===(l=l.next))if(null===(l=o.shared.pending))break;else l=(h=l).next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}if(null===d&&(u=f),o.baseState=u,o.firstBaseUpdate=c,o.lastBaseUpdate=d,null!==(r=o.shared.interleaved)){o=r;do s|=o.lane,o=o.next;while(o!==r)}else null===a&&(o.shared.lanes=0);sl|=s,t.lanes=s,t.memoizedState=f}}function i3(t,r,n){if(t=r.effects,r.effects=null,null!==t)for(r=0;r<t.length;r++){var i=t[r],o=i.callback;if(null!==o){if(i.callback=null,i=n,"function"!=typeof o)throw Error(f(191,o));o.call(i)}}}var i6={},i4=nV(i6),i8=nV(i6),i7=nV(i6);function i9(t){if(t===i6)throw Error(f(174));return t}function oe(t,r){switch(nG(i7,r),nG(i8,t),nG(i4,i6),t=r.nodeType){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:ef(null,"");break;default:r=ef(r=(t=8===t?r.parentNode:r).namespaceURI||null,t=t.tagName)}nW(i4),nG(i4,r)}function ot(){nW(i4),nW(i8),nW(i7)}function or(t){i9(i7.current);var r=i9(i4.current),n=ef(r,t.type);r!==n&&(nG(i8,t),nG(i4,n))}function on(t){i8.current===t&&(nW(i4),nW(i8))}var oi=nV(0);function oo(t){for(var r=t;null!==r;){if(13===r.tag){var n=r.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return r}else if(19===r.tag&&void 0!==r.memoizedProps.revealOrder){if(0!=(128&r.flags))return r}else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var oa=[];function os(){for(var t=0;t<oa.length;t++)oa[t]._workInProgressVersionPrimary=null;oa.length=0}var ol=R.ReactCurrentDispatcher,ou=R.ReactCurrentBatchConfig,oc=0,od=null,op=null,of=null,oh=!1,om=!1,og=0,oy=0;function ov(){throw Error(f(321))}function ob(t,r){if(null===r)return!1;for(var n=0;n<r.length&&n<t.length;n++)if(!rB(t[n],r[n]))return!1;return!0}function o_(t,r,n,i,o,a){if(oc=a,od=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,ol.current=null===t||null===t.memoizedState?o5:o3,t=n(i,o),om){a=0;do{if(om=!1,og=0,25<=a)throw Error(f(301));a+=1,of=op=null,r.updateQueue=null,ol.current=o6,t=n(i,o)}while(om)}if(ol.current=o2,r=null!==op&&null!==op.next,oc=0,of=op=od=null,oh=!1,r)throw Error(f(300));return t}function ow(){var t=0!==og;return og=0,t}function oS(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===of?od.memoizedState=of=t:of=of.next=t,of}function ox(){if(null===op){var t=od.alternate;t=null!==t?t.memoizedState:null}else t=op.next;var r=null===of?od.memoizedState:of.next;if(null!==r)of=r,op=t;else{if(null===t)throw Error(f(310));t={memoizedState:(op=t).memoizedState,baseState:op.baseState,baseQueue:op.baseQueue,queue:op.queue,next:null},null===of?od.memoizedState=of=t:of=of.next=t}return of}function oE(t,r){return"function"==typeof r?r(t):r}function ok(t){var r=ox(),n=r.queue;if(null===n)throw Error(f(311));n.lastRenderedReducer=t;var i=op,o=i.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}i.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,i=i.baseState;var l=s=null,u=null,c=a;do{var d=c.lane;if((oc&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),i=c.hasEagerState?c.eagerState:t(i,c.action);else{var h={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=h,s=i):u=u.next=h,od.lanes|=d,sl|=d}c=c.next}while(null!==c&&c!==a);null===u?s=i:u.next=l,rB(i,r.memoizedState)||(af=!0),r.memoizedState=i,r.baseState=s,r.baseQueue=u,n.lastRenderedState=i}if(null!==(t=n.interleaved)){o=t;do a=o.lane,od.lanes|=a,sl|=a,o=o.next;while(o!==t)}else null===o&&(n.lanes=0);return[r.memoizedState,n.dispatch]}function oC(t){var r=ox(),n=r.queue;if(null===n)throw Error(f(311));n.lastRenderedReducer=t;var i=n.dispatch,o=n.pending,a=r.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do a=t(a,s.action),s=s.next;while(s!==o);rB(a,r.memoizedState)||(af=!0),r.memoizedState=a,null===r.baseQueue&&(r.baseState=a),n.lastRenderedState=a}return[a,i]}function oO(){}function oR(t,r){var n=od,i=ox(),o=r(),a=!rB(i.memoizedState,o);if(a&&(i.memoizedState=o,af=!0),i=i.queue,o$(oM.bind(null,n,i,t),[t]),i.getSnapshot!==r||a||null!==of&&1&of.memoizedState.tag){if(n.flags|=2048,oN(9,oP.bind(null,n,i,o,r),void 0,null),null===st)throw Error(f(349));0!=(30&oc)||oT(n,r,o)}return o}function oT(t,r,n){t.flags|=16384,t={getSnapshot:r,value:n},null===(r=od.updateQueue)?(r={lastEffect:null,stores:null},od.updateQueue=r,r.stores=[t]):null===(n=r.stores)?r.stores=[t]:n.push(t)}function oP(t,r,n,i){r.value=n,r.getSnapshot=i,oI(r)&&oA(t)}function oM(t,r,n){return n(function(){oI(r)&&oA(t)})}function oI(t){var r=t.getSnapshot;t=t.value;try{var n=r();return!rB(t,n)}catch(t){return!0}}function oA(t){var r=iK(t,1);null!==r&&sR(r,t,1,-1)}function oL(t){var r=oS();return"function"==typeof t&&(t=t()),r.memoizedState=r.baseState=t,r.queue=t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:oE,lastRenderedState:t},t=t.dispatch=oJ.bind(null,od,t),[r.memoizedState,t]}function oN(t,r,n,i){return t={tag:t,create:r,destroy:n,deps:i,next:null},null===(r=od.updateQueue)?(r={lastEffect:null,stores:null},od.updateQueue=r,r.lastEffect=t.next=t):null===(n=r.lastEffect)?r.lastEffect=t.next=t:(i=n.next,n.next=t,t.next=i,r.lastEffect=t),t}function oj(){return ox().memoizedState}function oD(t,r,n,i){var o=oS();od.flags|=t,o.memoizedState=oN(1|r,n,void 0,void 0===i?null:i)}function oF(t,r,n,i){var o=ox();i=void 0===i?null:i;var a=void 0;if(null!==op){var s=op.memoizedState;if(a=s.destroy,null!==i&&ob(i,s.deps)){o.memoizedState=oN(r,n,a,i);return}}od.flags|=t,o.memoizedState=oN(1|r,n,a,i)}function oB(t,r){return oD(8390656,8,t,r)}function o$(t,r){return oF(2048,8,t,r)}function oU(t,r){return oF(4,2,t,r)}function oz(t,r){return oF(4,4,t,r)}function oq(t,r){return"function"==typeof r?(r(t=t()),function(){r(null)}):null!=r?(r.current=t=t(),function(){r.current=null}):void 0}function oZ(t,r,n){return n=null!=n?n.concat([t]):null,oF(4,4,oq.bind(null,r,t),n)}function oH(){}function oV(t,r){var n=ox();r=void 0===r?null:r;var i=n.memoizedState;return null!==i&&null!==r&&ob(r,i[1])?i[0]:(n.memoizedState=[t,r],t)}function oW(t,r){var n=ox();r=void 0===r?null:r;var i=n.memoizedState;return null!==i&&null!==r&&ob(r,i[1])?i[0]:(n.memoizedState=[t=t(),r],t)}function oG(t,r,n){return 0==(21&oc)?(t.baseState&&(t.baseState=!1,af=!0),t.memoizedState=n):(rB(n,r)||(n=tl(),od.lanes|=n,sl|=n,t.baseState=!0),r)}function oK(t,r){var n=tp;tp=0!==n&&4>n?n:4,t(!0);var i=ou.transition;ou.transition={};try{t(!1),r()}finally{tp=n,ou.transition=i}}function oX(){return ox().memoizedState}function oY(t,r,n){var i=sO(t);n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},oQ(t)?o0(r,n):null!==(n=iG(t,r,n,i))&&(sR(n,t,i,sC()),o1(n,r,i))}function oJ(t,r,n){var i=sO(t),o={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(oQ(t))o0(r,o);else{var a=t.alternate;if(0===t.lanes&&(null===a||0===a.lanes)&&null!==(a=r.lastRenderedReducer))try{var s=r.lastRenderedState,l=a(s,n);if(o.hasEagerState=!0,o.eagerState=l,rB(l,s)){var u=r.interleaved;null===u?(o.next=o,iW(r)):(o.next=u.next,u.next=o),r.interleaved=o;return}}catch(t){}finally{}null!==(n=iG(t,r,o,i))&&(sR(n,t,i,o=sC()),o1(n,r,i))}}function oQ(t){var r=t.alternate;return t===od||null!==r&&r===od}function o0(t,r){om=oh=!0;var n=t.pending;null===n?r.next=r:(r.next=n.next,n.next=r),t.pending=r}function o1(t,r,n){if(0!=(4194240&n)){var i=r.lanes;i&=t.pendingLanes,r.lanes=n|=i,td(t,n)}}var o2={readContext:iH,useCallback:ov,useContext:ov,useEffect:ov,useImperativeHandle:ov,useInsertionEffect:ov,useLayoutEffect:ov,useMemo:ov,useReducer:ov,useRef:ov,useState:ov,useDebugValue:ov,useDeferredValue:ov,useTransition:ov,useMutableSource:ov,useSyncExternalStore:ov,useId:ov,unstable_isNewReconciler:!1},o5={readContext:iH,useCallback:function(t,r){return oS().memoizedState=[t,void 0===r?null:r],t},useContext:iH,useEffect:oB,useImperativeHandle:function(t,r,n){return n=null!=n?n.concat([t]):null,oD(4194308,4,oq.bind(null,r,t),n)},useLayoutEffect:function(t,r){return oD(4194308,4,t,r)},useInsertionEffect:function(t,r){return oD(4,2,t,r)},useMemo:function(t,r){return r=void 0===r?null:r,oS().memoizedState=[t=t(),r],t},useReducer:function(t,r,n){var i=oS();return i.memoizedState=i.baseState=r=void 0!==n?n(r):r,i.queue=t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},t=t.dispatch=oY.bind(null,od,t),[i.memoizedState,t]},useRef:function(t){return oS().memoizedState=t={current:t}},useState:oL,useDebugValue:oH,useDeferredValue:function(t){return oS().memoizedState=t},useTransition:function(){var t=oL(!1),r=t[0];return t=oK.bind(null,t[1]),oS().memoizedState=t,[r,t]},useMutableSource:function(){},useSyncExternalStore:function(t,r,n){var i=od,o=oS();if(ib){if(void 0===n)throw Error(f(407));n=n()}else{if(n=r(),null===st)throw Error(f(349));0!=(30&oc)||oT(i,r,n)}o.memoizedState=n;var a={value:n,getSnapshot:r};return o.queue=a,oB(oM.bind(null,i,a,t),[t]),i.flags|=2048,oN(9,oP.bind(null,i,a,n,r),void 0,null),n},useId:function(){var t=oS(),r=st.identifierPrefix;if(ib){var n=ic,i=iu;r=":"+r+"R"+(n=(i&~(1<<32-te(i)-1)).toString(32)+n),0<(n=og++)&&(r+="H"+n.toString(32)),r+=":"}else r=":"+r+"r"+(n=oy++).toString(32)+":";return t.memoizedState=r},unstable_isNewReconciler:!1},o3={readContext:iH,useCallback:oV,useContext:iH,useEffect:o$,useImperativeHandle:oZ,useInsertionEffect:oU,useLayoutEffect:oz,useMemo:oW,useReducer:ok,useRef:oj,useState:function(){return ok(oE)},useDebugValue:oH,useDeferredValue:function(t){return oG(ox(),op.memoizedState,t)},useTransition:function(){return[ok(oE)[0],ox().memoizedState]},useMutableSource:oO,useSyncExternalStore:oR,useId:oX,unstable_isNewReconciler:!1},o6={readContext:iH,useCallback:oV,useContext:iH,useEffect:o$,useImperativeHandle:oZ,useInsertionEffect:oU,useLayoutEffect:oz,useMemo:oW,useReducer:oC,useRef:oj,useState:function(){return oC(oE)},useDebugValue:oH,useDeferredValue:function(t){var r=ox();return null===op?r.memoizedState=t:oG(r,op.memoizedState,t)},useTransition:function(){return[oC(oE)[0],ox().memoizedState]},useMutableSource:oO,useSyncExternalStore:oR,useId:oX,unstable_isNewReconciler:!1};function o4(t,r){if(t&&t.defaultProps)for(var n in r=H({},r),t=t.defaultProps)void 0===r[n]&&(r[n]=t[n]);return r}function o8(t,r,n,i){n=null==(n=n(i,r=t.memoizedState))?r:H({},r,n),t.memoizedState=n,0===t.lanes&&(t.updateQueue.baseState=n)}var o7={isMounted:function(t){return!!(t=t._reactInternals)&&eW(t)===t},enqueueSetState:function(t,r,n){t=t._reactInternals;var i=sC(),o=sO(t),a=iQ(i,o);a.payload=r,null!=n&&(a.callback=n),null!==(r=i0(t,a,o))&&(sR(r,t,o,i),i1(r,t,o))},enqueueReplaceState:function(t,r,n){t=t._reactInternals;var i=sC(),o=sO(t),a=iQ(i,o);a.tag=1,a.payload=r,null!=n&&(a.callback=n),null!==(r=i0(t,a,o))&&(sR(r,t,o,i),i1(r,t,o))},enqueueForceUpdate:function(t,r){t=t._reactInternals;var n=sC(),i=sO(t),o=iQ(n,i);o.tag=2,null!=r&&(o.callback=r),null!==(r=i0(t,o,i))&&(sR(r,t,i,n),i1(r,t,i))}};function o9(t,r,n,i,o,a,s){return"function"==typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(i,a,s):!r.prototype||!r.prototype.isPureReactComponent||!r$(n,i)||!r$(o,a)}function ae(t,r,n){var i=!1,o=nK,a=r.contextType;return"object"==typeof a&&null!==a?a=iH(a):(o=n0(r)?nJ:nX.current,a=(i=null!=(i=r.contextTypes))?nQ(t,o):nK),r=new r(n,a),t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,r.updater=o7,t.stateNode=r,r._reactInternals=t,i&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,t.__reactInternalMemoizedMaskedChildContext=a),r}function at(t,r,n,i){t=r.state,"function"==typeof r.componentWillReceiveProps&&r.componentWillReceiveProps(n,i),"function"==typeof r.UNSAFE_componentWillReceiveProps&&r.UNSAFE_componentWillReceiveProps(n,i),r.state!==t&&o7.enqueueReplaceState(r,r.state,null)}function ar(t,r,n,i){var o=t.stateNode;o.props=n,o.state=t.memoizedState,o.refs={},iY(t);var a=r.contextType;"object"==typeof a&&null!==a?o.context=iH(a):o.context=nQ(t,a=n0(r)?nJ:nX.current),o.state=t.memoizedState,"function"==typeof(a=r.getDerivedStateFromProps)&&(o8(t,r,a,n),o.state=t.memoizedState),"function"==typeof r.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(r=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),r!==o.state&&o7.enqueueReplaceState(o,o.state,null),i5(t,n,o,i),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308)}function an(t,r){try{var n="",i=r;do n+=function(t){switch(t.tag){case 5:return V(t.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return t=G(t.type,!1);case 11:return t=G(t.type.render,!1);case 1:return t=G(t.type,!0);default:return""}}(i),i=i.return;while(i);var o=n}catch(t){o="\nError generating stack: "+t.message+"\n"+t.stack}return{value:t,source:r,stack:o,digest:null}}function ai(t,r,n){return{value:t,source:null,stack:null!=n?n:null,digest:null!=r?r:null}}function ao(t,r){try{console.error(r.value)}catch(t){setTimeout(function(){throw t})}}var aa="function"==typeof WeakMap?WeakMap:Map;function as(t,r,n){(n=iQ(-1,n)).tag=3,n.payload={element:null};var i=r.value;return n.callback=function(){sg||(sg=!0,sy=i),ao(t,r)},n}function al(t,r,n){(n=iQ(-1,n)).tag=3;var i=t.type.getDerivedStateFromError;if("function"==typeof i){var o=r.value;n.payload=function(){return i(o)},n.callback=function(){ao(t,r)}}var a=t.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){ao(t,r),"function"!=typeof i&&(null===sv?sv=new Set([this]):sv.add(this));var n=r.stack;this.componentDidCatch(r.value,{componentStack:null!==n?n:""})}),n}function au(t,r,n){var i=t.pingCache;if(null===i){i=t.pingCache=new aa;var o=new Set;i.set(r,o)}else void 0===(o=i.get(r))&&(o=new Set,i.set(r,o));o.has(n)||(o.add(n),t=sK.bind(null,t,r,n),r.then(t,t))}function ac(t){do{var r;if((r=13===t.tag)&&(r=null===(r=t.memoizedState)||null!==r.dehydrated),r)return t;t=t.return}while(null!==t);return null}function ad(t,r,n,i,o){return 0==(1&t.mode)?t===r?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((r=iQ(-1,1)).tag=2,i0(n,r,1))),n.lanes|=1):(t.flags|=65536,t.lanes=o),t}var ap=R.ReactCurrentOwner,af=!1;function ah(t,r,n,i){r.child=null===t?ij(r,null,n,i):iN(r,t.child,n,i)}function am(t,r,n,i,o){n=n.render;var a=r.ref;return(iZ(r,o),i=o_(t,r,n,i,a,o),n=ow(),null===t||af)?(ib&&n&&ih(r),r.flags|=1,ah(t,r,i,o),r.child):(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~o,aL(t,r,o))}function ag(t,r,n,i,o){if(null===t){var a=n.type;return"function"!=typeof a||s1(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((t=s5(n.type,null,i,r,r.mode,o)).ref=r.ref,t.return=r,r.child=t):(r.tag=15,r.type=a,ay(t,r,a,i,o))}if(a=t.child,0==(t.lanes&o)){var s=a.memoizedProps;if((n=null!==(n=n.compare)?n:r$)(s,i)&&t.ref===r.ref)return aL(t,r,o)}return r.flags|=1,(t=s2(a,i)).ref=r.ref,t.return=r,r.child=t}function ay(t,r,n,i,o){if(null!==t){var a=t.memoizedProps;if(r$(a,i)&&t.ref===r.ref)if(af=!1,r.pendingProps=i=a,0==(t.lanes&o))return r.lanes=t.lanes,aL(t,r,o);else 0!=(131072&t.flags)&&(af=!0)}return a_(t,r,n,i,o)}function av(t,r,n){var i=r.pendingProps,o=i.children,a=null!==t?t.memoizedState:null;if("hidden"===i.mode)if(0==(1&r.mode))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},nG(so,si),si|=n;else{if(0==(0x40000000&n))return t=null!==a?a.baseLanes|n:n,r.lanes=r.childLanes=0x40000000,r.memoizedState={baseLanes:t,cachePool:null,transitions:null},r.updateQueue=null,nG(so,si),si|=t,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=null!==a?a.baseLanes:n,nG(so,si),si|=i}else null!==a?(i=a.baseLanes|n,r.memoizedState=null):i=n,nG(so,si),si|=i;return ah(t,r,o,n),r.child}function ab(t,r){var n=r.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(r.flags|=512,r.flags|=2097152)}function a_(t,r,n,i,o){var a=n0(n)?nJ:nX.current;return(a=nQ(r,a),iZ(r,o),n=o_(t,r,n,i,a,o),i=ow(),null===t||af)?(ib&&i&&ih(r),r.flags|=1,ah(t,r,n,o),r.child):(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~o,aL(t,r,o))}function aw(t,r,n,i,o){if(n0(n)){var a=!0;n3(r)}else a=!1;if(iZ(r,o),null===r.stateNode)aA(t,r),ae(r,n,i),ar(r,n,i,o),i=!0;else if(null===t){var s=r.stateNode,l=r.memoizedProps;s.props=l;var u=s.context,c=n.contextType;c="object"==typeof c&&null!==c?iH(c):nQ(r,c=n0(n)?nJ:nX.current);var d=n.getDerivedStateFromProps,f="function"==typeof d||"function"==typeof s.getSnapshotBeforeUpdate;f||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(l!==i||u!==c)&&at(r,s,i,c),iX=!1;var h=r.memoizedState;s.state=h,i5(r,i,s,o),u=r.memoizedState,l!==i||h!==u||nY.current||iX?("function"==typeof d&&(o8(r,n,d,i),u=r.memoizedState),(l=iX||o9(r,n,l,i,h,u,c))?(f||"function"!=typeof s.UNSAFE_componentWillMount&&"function"!=typeof s.componentWillMount||("function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"==typeof s.componentDidMount&&(r.flags|=4194308)):("function"==typeof s.componentDidMount&&(r.flags|=4194308),r.memoizedProps=i,r.memoizedState=u),s.props=i,s.state=u,s.context=c,i=l):("function"==typeof s.componentDidMount&&(r.flags|=4194308),i=!1)}else{s=r.stateNode,iJ(t,r),l=r.memoizedProps,c=r.type===r.elementType?l:o4(r.type,l),s.props=c,f=r.pendingProps,h=s.context,u="object"==typeof(u=n.contextType)&&null!==u?iH(u):nQ(r,u=n0(n)?nJ:nX.current);var m=n.getDerivedStateFromProps;(d="function"==typeof m||"function"==typeof s.getSnapshotBeforeUpdate)||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(l!==f||h!==u)&&at(r,s,i,u),iX=!1,h=r.memoizedState,s.state=h,i5(r,i,s,o);var g=r.memoizedState;l!==f||h!==g||nY.current||iX?("function"==typeof m&&(o8(r,n,m,i),g=r.memoizedState),(c=iX||o9(r,n,c,i,h,g,u)||!1)?(d||"function"!=typeof s.UNSAFE_componentWillUpdate&&"function"!=typeof s.componentWillUpdate||("function"==typeof s.componentWillUpdate&&s.componentWillUpdate(i,g,u),"function"==typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(i,g,u)),"function"==typeof s.componentDidUpdate&&(r.flags|=4),"function"==typeof s.getSnapshotBeforeUpdate&&(r.flags|=1024)):("function"!=typeof s.componentDidUpdate||l===t.memoizedProps&&h===t.memoizedState||(r.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||l===t.memoizedProps&&h===t.memoizedState||(r.flags|=1024),r.memoizedProps=i,r.memoizedState=g),s.props=i,s.state=g,s.context=u,i=c):("function"!=typeof s.componentDidUpdate||l===t.memoizedProps&&h===t.memoizedState||(r.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||l===t.memoizedProps&&h===t.memoizedState||(r.flags|=1024),i=!1)}return aS(t,r,n,i,a,o)}function aS(t,r,n,i,o,a){ab(t,r);var s=0!=(128&r.flags);if(!i&&!s)return o&&n6(r,n,!1),aL(t,r,a);i=r.stateNode,ap.current=r;var l=s&&"function"!=typeof n.getDerivedStateFromError?null:i.render();return r.flags|=1,null!==t&&s?(r.child=iN(r,t.child,null,a),r.child=iN(r,null,l,a)):ah(t,r,l,a),r.memoizedState=i.state,o&&n6(r,n,!0),r.child}function ax(t){var r=t.stateNode;r.pendingContext?n2(t,r.pendingContext,r.pendingContext!==r.context):r.context&&n2(t,r.context,!1),oe(t,r.containerInfo)}function aE(t,r,n,i,o){return iR(),iT(o),r.flags|=256,ah(t,r,n,i),r.child}var ak={dehydrated:null,treeContext:null,retryLane:0};function aC(t){return{baseLanes:t,cachePool:null,transitions:null}}function aO(t,r,n){var i,o=r.pendingProps,a=oi.current,s=!1,l=0!=(128&r.flags);if((i=l)||(i=(null===t||null!==t.memoizedState)&&0!=(2&a)),i?(s=!0,r.flags&=-129):(null===t||null!==t.memoizedState)&&(a|=1),nG(oi,1&a),null===t)return(iE(r),null!==(t=r.memoizedState)&&null!==(t=t.dehydrated))?(0==(1&r.mode)?r.lanes=1:"$!"===t.data?r.lanes=8:r.lanes=0x40000000,null):(l=o.children,t=o.fallback,s?(o=r.mode,s=r.child,l={mode:"hidden",children:l},0==(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=s6(l,o,0,null),t=s3(t,o,n,null),s.return=r,t.return=r,s.sibling=t,r.child=s,r.child.memoizedState=aC(n),r.memoizedState=ak,t):aR(r,l));if(null!==(a=t.memoizedState)&&null!==(i=a.dehydrated)){var u=t,c=r,d=l,h=o,m=i,g=a,y=n;if(d)return 256&c.flags?(c.flags&=-257,aT(u,c,y,h=ai(Error(f(422))))):null!==c.memoizedState?(c.child=u.child,c.flags|=128,null):(g=h.fallback,m=c.mode,h=s6({mode:"visible",children:h.children},m,0,null),g=s3(g,m,y,null),g.flags|=2,h.return=c,g.return=c,h.sibling=g,c.child=h,0!=(1&c.mode)&&iN(c,u.child,null,y),c.child.memoizedState=aC(y),c.memoizedState=ak,g);if(0==(1&c.mode))return aT(u,c,y,null);if("$!"===m.data){if(h=m.nextSibling&&m.nextSibling.dataset)var v=h.dgst;return h=v,aT(u,c,y,h=ai(g=Error(f(419)),h,void 0))}if(v=0!=(y&u.childLanes),af||v){if(null!==(h=st)){switch(y&-y){case 4:m=2;break;case 16:m=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:m=32;break;case 0x20000000:m=0x10000000;break;default:m=0}0!==(m=0!=(m&(h.suspendedLanes|y))?0:m)&&m!==g.retryLane&&(g.retryLane=m,iK(u,m),sR(h,u,m,-1))}return sU(),aT(u,c,y,h=ai(Error(f(421))))}return"$?"===m.data?(c.flags|=128,c.child=u.child,c=sY.bind(null,u),m._reactRetry=c,null):(u=g.treeContext,iy=nM(m.nextSibling),ig=c,ib=!0,i_=null,null!==u&&(ia[is++]=iu,ia[is++]=ic,ia[is++]=il,iu=u.id,ic=u.overflow,il=c),c=aR(c,h.children),c.flags|=4096,c)}if(s){s=o.fallback,l=r.mode,i=(a=t.child).sibling;var b={mode:"hidden",children:o.children};return 0==(1&l)&&r.child!==a?((o=r.child).childLanes=0,o.pendingProps=b,r.deletions=null):(o=s2(a,b)).subtreeFlags=0xe00000&a.subtreeFlags,null!==i?s=s2(i,s):(s=s3(s,l,n,null),s.flags|=2),s.return=r,o.return=r,o.sibling=s,r.child=o,o=s,s=r.child,l=null===(l=t.child.memoizedState)?aC(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=t.childLanes&~n,r.memoizedState=ak,o}return t=(s=t.child).sibling,o=s2(s,{mode:"visible",children:o.children}),0==(1&r.mode)&&(o.lanes=n),o.return=r,o.sibling=null,null!==t&&(null===(n=r.deletions)?(r.deletions=[t],r.flags|=16):n.push(t)),r.child=o,r.memoizedState=null,o}function aR(t,r){return(r=s6({mode:"visible",children:r},t.mode,0,null)).return=t,t.child=r}function aT(t,r,n,i){return null!==i&&iT(i),iN(r,t.child,null,n),t=aR(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function aP(t,r,n){t.lanes|=r;var i=t.alternate;null!==i&&(i.lanes|=r),iq(t.return,r,n)}function aM(t,r,n,i,o){var a=t.memoizedState;null===a?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:o}:(a.isBackwards=r,a.rendering=null,a.renderingStartTime=0,a.last=i,a.tail=n,a.tailMode=o)}function aI(t,r,n){var i=r.pendingProps,o=i.revealOrder,a=i.tail;if(ah(t,r,i.children,n),0!=(2&(i=oi.current)))i=1&i|2,r.flags|=128;else{if(null!==t&&0!=(128&t.flags))r:for(t=r.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&aP(t,n,r);else if(19===t.tag)aP(t,n,r);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===r)break;for(;null===t.sibling;){if(null===t.return||t.return===r)break r;t=t.return}t.sibling.return=t.return,t=t.sibling}i&=1}if(nG(oi,i),0==(1&r.mode))r.memoizedState=null;else switch(o){case"forwards":for(o=null,n=r.child;null!==n;)null!==(t=n.alternate)&&null===oo(t)&&(o=n),n=n.sibling;null===(n=o)?(o=r.child,r.child=null):(o=n.sibling,n.sibling=null),aM(r,!1,o,n,a);break;case"backwards":for(n=null,o=r.child,r.child=null;null!==o;){if(null!==(t=o.alternate)&&null===oo(t)){r.child=o;break}t=o.sibling,o.sibling=n,n=o,o=t}aM(r,!0,n,null,a);break;case"together":aM(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function aA(t,r){0==(1&r.mode)&&null!==t&&(t.alternate=null,r.alternate=null,r.flags|=2)}function aL(t,r,n){if(null!==t&&(r.dependencies=t.dependencies),sl|=r.lanes,0==(n&r.childLanes))return null;if(null!==t&&r.child!==t.child)throw Error(f(153));if(null!==r.child){for(n=s2(t=r.child,t.pendingProps),r.child=n,n.return=r;null!==t.sibling;)t=t.sibling,(n=n.sibling=s2(t,t.pendingProps)).return=r;n.sibling=null}return r.child}function aN(t,r){if(!ib)switch(t.tailMode){case"hidden":r=t.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var i=null;null!==n;)null!==n.alternate&&(i=n),n=n.sibling;null===i?r||null===t.tail?t.tail=null:t.tail.sibling=null:i.sibling=null}}function aj(t){var r=null!==t.alternate&&t.alternate.child===t.child,n=0,i=0;if(r)for(var o=t.child;null!==o;)n|=o.lanes|o.childLanes,i|=0xe00000&o.subtreeFlags,i|=0xe00000&o.flags,o.return=t,o=o.sibling;else for(o=t.child;null!==o;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=i,t.childLanes=n,r}o=function(t,r){for(var n=r.child;null!==n;){if(5===n.tag||6===n.tag)t.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===r)break;for(;null===n.sibling;){if(null===n.return||n.return===r)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},a=function(){},s=function(t,r,n,i){var o=t.memoizedProps;if(o!==i){t=r.stateNode,i9(i4.current);var a,s=null;switch(n){case"input":o=ee(t,o),i=ee(t,i),s=[];break;case"select":o=H({},o,{value:void 0}),i=H({},i,{value:void 0}),s=[];break;case"textarea":o=el(t,o),i=el(t,i),s=[];break;default:"function"!=typeof o.onClick&&"function"==typeof i.onClick&&(t.onclick=nw)}for(c in ex(n,i),n=null,o)if(!i.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(m.hasOwnProperty(c)?s||(s=[]):(s=s||[]).push(c,null));for(c in i){var u=i[c];if(l=null!=o?o[c]:void 0,i.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(s||(s=[]),s.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(s=s||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(m.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&no("scroll",t),s||l===u||(s=[])):(s=s||[]).push(c,u))}n&&(s=s||[]).push("style",n);var c=s;(r.updateQueue=c)&&(r.flags|=4)}},l=function(t,r,n,i){n!==i&&(r.flags|=4)};var aD=!1,aF=!1,aB="function"==typeof WeakSet?WeakSet:Set,a$=null;function aU(t,r){var n=t.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){sG(t,r,n)}else n.current=null}function az(t,r,n){try{n()}catch(n){sG(t,r,n)}}var aq=!1;function aZ(t,r,n){var i=r.updateQueue;if(null!==(i=null!==i?i.lastEffect:null)){var o=i=i.next;do{if((o.tag&t)===t){var a=o.destroy;o.destroy=void 0,void 0!==a&&az(r,n,a)}o=o.next}while(o!==i)}}function aH(t,r){if(null!==(r=null!==(r=r.updateQueue)?r.lastEffect:null)){var n=r=r.next;do{if((n.tag&t)===t){var i=n.create;n.destroy=i()}n=n.next}while(n!==r)}}function aV(t){var r=t.ref;if(null!==r){var n=t.stateNode;t.tag,t=n,"function"==typeof r?r(t):r.current=t}}function aW(t){return 5===t.tag||3===t.tag||4===t.tag}function aG(t){r:for(;;){for(;null===t.sibling;){if(null===t.return||aW(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&18!==t.tag;){if(2&t.flags||null===t.child||4===t.tag)continue r;t.child.return=t,t=t.child}if(!(2&t.flags))return t.stateNode}}var aK=null,aX=!1;function aY(t,r,n){for(n=n.child;null!==n;)aJ(t,r,n),n=n.sibling}function aJ(t,r,n){if(e9&&"function"==typeof e9.onCommitFiberUnmount)try{e9.onCommitFiberUnmount(e7,n)}catch(t){}switch(n.tag){case 5:aF||aU(n,r);case 6:var i=aK,o=aX;aK=null,aY(t,r,n),aK=i,aX=o,null!==aK&&(aX?(t=aK,n=n.stateNode,8===t.nodeType?t.parentNode.removeChild(n):t.removeChild(n)):aK.removeChild(n.stateNode));break;case 18:null!==aK&&(aX?(t=aK,n=n.stateNode,8===t.nodeType?nP(t.parentNode,n):1===t.nodeType&&nP(t,n),tN(t)):nP(aK,n.stateNode));break;case 4:i=aK,o=aX,aK=n.stateNode.containerInfo,aX=!0,aY(t,r,n),aK=i,aX=o;break;case 0:case 11:case 14:case 15:if(!aF&&null!==(i=n.updateQueue)&&null!==(i=i.lastEffect)){o=i=i.next;do{var a=o,s=a.destroy;a=a.tag,void 0!==s&&(0!=(2&a)?az(n,r,s):0!=(4&a)&&az(n,r,s)),o=o.next}while(o!==i)}aY(t,r,n);break;case 1:if(!aF&&(aU(n,r),"function"==typeof(i=n.stateNode).componentWillUnmount))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(t){sG(n,r,t)}aY(t,r,n);break;case 21:default:aY(t,r,n);break;case 22:1&n.mode?(aF=(i=aF)||null!==n.memoizedState,aY(t,r,n),aF=i):aY(t,r,n)}}function aQ(t){var r=t.updateQueue;if(null!==r){t.updateQueue=null;var n=t.stateNode;null===n&&(n=t.stateNode=new aB),r.forEach(function(r){var i=sJ.bind(null,t,r);n.has(r)||(n.add(r),r.then(i,i))})}}function a0(t,r){var n=r.deletions;if(null!==n)for(var i=0;i<n.length;i++){var o=n[i];try{var a=r,s=a;r:for(;null!==s;){switch(s.tag){case 5:aK=s.stateNode,aX=!1;break r;case 3:case 4:aK=s.stateNode.containerInfo,aX=!0;break r}s=s.return}if(null===aK)throw Error(f(160));aJ(t,a,o),aK=null,aX=!1;var l=o.alternate;null!==l&&(l.return=null),o.return=null}catch(t){sG(o,r,t)}}if(12854&r.subtreeFlags)for(r=r.child;null!==r;)a1(r,t),r=r.sibling}function a1(t,r){var n=t.alternate,i=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(a0(r,t),a2(t),4&i){try{aZ(3,t,t.return),aH(3,t)}catch(r){sG(t,t.return,r)}try{aZ(5,t,t.return)}catch(r){sG(t,t.return,r)}}break;case 1:a0(r,t),a2(t),512&i&&null!==n&&aU(n,n.return);break;case 5:if(a0(r,t),a2(t),512&i&&null!==n&&aU(n,n.return),32&t.flags){var o=t.stateNode;try{ey(o,"")}catch(r){sG(t,t.return,r)}}if(4&i&&null!=(o=t.stateNode)){var a=t.memoizedProps,s=null!==n?n.memoizedProps:a,l=t.type,u=t.updateQueue;if(t.updateQueue=null,null!==u)try{"input"===l&&"radio"===a.type&&null!=a.name&&er(o,a),eE(l,s);var c=eE(l,a);for(s=0;s<u.length;s+=2){var d=u[s],h=u[s+1];"style"===d?ew(o,h):"dangerouslySetInnerHTML"===d?eg(o,h):"children"===d?ey(o,h):O(o,d,h,c)}switch(l){case"input":en(o,a);break;case"textarea":ec(o,a);break;case"select":var m=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var g=a.value;null!=g?es(o,!!a.multiple,g,!1):!!a.multiple!==m&&(null!=a.defaultValue?es(o,!!a.multiple,a.defaultValue,!0):es(o,!!a.multiple,a.multiple?[]:"",!1))}o[nN]=a}catch(r){sG(t,t.return,r)}}break;case 6:if(a0(r,t),a2(t),4&i){if(null===t.stateNode)throw Error(f(162));o=t.stateNode,a=t.memoizedProps;try{o.nodeValue=a}catch(r){sG(t,t.return,r)}}break;case 3:if(a0(r,t),a2(t),4&i&&null!==n&&n.memoizedState.isDehydrated)try{tN(r.containerInfo)}catch(r){sG(t,t.return,r)}break;case 4:default:a0(r,t),a2(t);break;case 13:a0(r,t),a2(t),8192&(o=t.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,a&&(null===o.alternate||null===o.alternate.memoizedState)&&(sf=e1())),4&i&&aQ(t);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&t.mode?(aF=(c=aF)||d,a0(r,t),aF=c):a0(r,t),a2(t),8192&i){if(c=null!==t.memoizedState,(t.stateNode.isHidden=c)&&!d&&0!=(1&t.mode))for(a$=t,d=t.child;null!==d;){for(h=a$=d;null!==a$;){switch(g=(m=a$).child,m.tag){case 0:case 11:case 14:case 15:aZ(4,m,m.return);break;case 1:aU(m,m.return);var y=m.stateNode;if("function"==typeof y.componentWillUnmount){i=m,n=m.return;try{y.props=(r=i).memoizedProps,y.state=r.memoizedState,y.componentWillUnmount()}catch(t){sG(i,n,t)}}break;case 5:aU(m,m.return);break;case 22:if(null!==m.memoizedState){a3(h);continue}}null!==g?(g.return=m,a$=g):a3(h)}d=d.sibling}r:for(d=null,h=t;;){if(5===h.tag){if(null===d){d=h;try{o=h.stateNode,c?(a=o.style,"function"==typeof a.setProperty?a.setProperty("display","none","important"):a.display="none"):(l=h.stateNode,s=null!=(u=h.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=e_("display",s))}catch(r){sG(t,t.return,r)}}}else if(6===h.tag){if(null===d)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(r){sG(t,t.return,r)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===t)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===t)break;for(;null===h.sibling;){if(null===h.return||h.return===t)break r;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:a0(r,t),a2(t),4&i&&aQ(t);case 21:}}function a2(t){var r=t.flags;if(2&r){try{r:{for(var n=t.return;null!==n;){if(aW(n)){var i=n;break r}n=n.return}throw Error(f(160))}switch(i.tag){case 5:var o=i.stateNode;32&i.flags&&(ey(o,""),i.flags&=-33);var a=aG(t);!function t(r,n,i){var o=r.tag;if(5===o||6===o)r=r.stateNode,n?i.insertBefore(r,n):i.appendChild(r);else if(4!==o&&null!==(r=r.child))for(t(r,n,i),r=r.sibling;null!==r;)t(r,n,i),r=r.sibling}(t,a,o);break;case 3:case 4:var s=i.stateNode.containerInfo,l=aG(t);!function t(r,n,i){var o=r.tag;if(5===o||6===o)r=r.stateNode,n?8===i.nodeType?i.parentNode.insertBefore(r,n):i.insertBefore(r,n):(8===i.nodeType?(n=i.parentNode).insertBefore(r,i):(n=i).appendChild(r),null!=(i=i._reactRootContainer)||null!==n.onclick||(n.onclick=nw));else if(4!==o&&null!==(r=r.child))for(t(r,n,i),r=r.sibling;null!==r;)t(r,n,i),r=r.sibling}(t,l,s);break;default:throw Error(f(161))}}catch(r){sG(t,t.return,r)}t.flags&=-3}4096&r&&(t.flags&=-4097)}function a5(t){for(;null!==a$;){var r=a$;if(0!=(8772&r.flags)){var n=r.alternate;try{if(0!=(8772&r.flags))switch(r.tag){case 0:case 11:case 15:aF||aH(5,r);break;case 1:var i=r.stateNode;if(4&r.flags&&!aF)if(null===n)i.componentDidMount();else{var o=r.elementType===r.type?n.memoizedProps:o4(r.type,n.memoizedProps);i.componentDidUpdate(o,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var a=r.updateQueue;null!==a&&i3(r,a,i);break;case 3:var s=r.updateQueue;if(null!==s){if(n=null,null!==r.child)switch(r.child.tag){case 5:case 1:n=r.child.stateNode}i3(r,s,n)}break;case 5:var l=r.stateNode;if(null===n&&4&r.flags){n=l;var u=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===r.memoizedState){var c=r.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var h=d.dehydrated;null!==h&&tN(h)}}}break;default:throw Error(f(163))}aF||512&r.flags&&aV(r)}catch(t){sG(r,r.return,t)}}if(r===t){a$=null;break}if(null!==(n=r.sibling)){n.return=r.return,a$=n;break}a$=r.return}}function a3(t){for(;null!==a$;){var r=a$;if(r===t){a$=null;break}var n=r.sibling;if(null!==n){n.return=r.return,a$=n;break}a$=r.return}}function a6(t){for(;null!==a$;){var r=a$;try{switch(r.tag){case 0:case 11:case 15:var n=r.return;try{aH(4,r)}catch(t){sG(r,n,t)}break;case 1:var i=r.stateNode;if("function"==typeof i.componentDidMount){var o=r.return;try{i.componentDidMount()}catch(t){sG(r,o,t)}}var a=r.return;try{aV(r)}catch(t){sG(r,a,t)}break;case 5:var s=r.return;try{aV(r)}catch(t){sG(r,s,t)}}}catch(t){sG(r,r.return,t)}if(r===t){a$=null;break}var l=r.sibling;if(null!==l){l.return=r.return,a$=l;break}a$=r.return}}var a4=Math.ceil,a8=R.ReactCurrentDispatcher,a7=R.ReactCurrentOwner,a9=R.ReactCurrentBatchConfig,se=0,st=null,sr=null,sn=0,si=0,so=nV(0),sa=0,ss=null,sl=0,su=0,sc=0,sd=null,sp=null,sf=0,sh=1/0,sm=null,sg=!1,sy=null,sv=null,sb=!1,s_=null,sw=0,sS=0,sx=null,sE=-1,sk=0;function sC(){return 0!=(6&se)?e1():-1!==sE?sE:sE=e1()}function sO(t){return 0==(1&t.mode)?1:0!=(2&se)&&0!==sn?sn&-sn:null!==iP.transition?(0===sk&&(sk=tl()),sk):0!==(t=tp)?t:t=void 0===(t=window.event)?16:tq(t.type)}function sR(t,r,n,i){if(50<sS)throw sS=0,sx=null,Error(f(185));tc(t,n,i),(0==(2&se)||t!==st)&&(t===st&&(0==(2&se)&&(su|=n),4===sa&&sA(t,sn)),sT(t,i),1===n&&0===se&&0==(1&r.mode)&&(sh=e1()+500,n8&&ie()))}function sT(t,r){var n,i=t.callbackNode;!function(t,r){for(var n=t.suspendedLanes,i=t.pingedLanes,o=t.expirationTimes,a=t.pendingLanes;0<a;){var s=31-te(a),l=1<<s,u=o[s];-1===u?(0==(l&n)||0!=(l&i))&&(o[s]=function(t,r){switch(t){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;default:return -1}}(l,r)):u<=r&&(t.expiredLanes|=l),a&=~l}}(t,r);var o=ta(t,t===st?sn:0);if(0===o)null!==i&&eJ(i),t.callbackNode=null,t.callbackPriority=0;else if(r=o&-o,t.callbackPriority!==r){if(null!=i&&eJ(i),1===r)0===t.tag?(n=sL.bind(null,t),n8=!0,n9(n)):n9(sL.bind(null,t)),nR(function(){0==(6&se)&&ie()}),i=null;else{switch(tf(o)){case 1:i=e5;break;case 4:i=e3;break;case 16:default:i=e6;break;case 0x20000000:i=e8}i=eY(i,sP.bind(null,t))}t.callbackPriority=r,t.callbackNode=i}}function sP(t,r){if(sE=-1,sk=0,0!=(6&se))throw Error(f(327));var n=t.callbackNode;if(sV()&&t.callbackNode!==n)return null;var i=ta(t,t===st?sn:0);if(0===i)return null;if(0!=(30&i)||0!=(i&t.expiredLanes)||r)r=sz(t,i);else{r=i;var o=se;se|=2;var a=s$();for((st!==t||sn!==r)&&(sm=null,sh=e1()+500,sF(t,r));;)try{for(;null!==sr&&!eQ();)sq(sr);break}catch(r){sB(t,r)}iU(),a8.current=a,se=o,null!==sr?r=0:(st=null,sn=0,r=sa)}if(0!==r){if(2===r&&0!==(o=ts(t))&&(i=o,r=sM(t,o)),1===r)throw n=ss,sF(t,0),sA(t,i),sT(t,e1()),n;if(6===r)sA(t,i);else{if(o=t.current.alternate,0==(30&i)&&!function(t){for(var r=t;;){if(16384&r.flags){var n=r.updateQueue;if(null!==n&&null!==(n=n.stores))for(var i=0;i<n.length;i++){var o=n[i],a=o.getSnapshot;o=o.value;try{if(!rB(a(),o))return!1}catch(t){return!1}}}if(n=r.child,16384&r.subtreeFlags&&null!==n)n.return=r,r=n;else{if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}(o)&&(2===(r=sz(t,i))&&0!==(a=ts(t))&&(i=a,r=sM(t,a)),1===r))throw n=ss,sF(t,0),sA(t,i),sT(t,e1()),n;switch(t.finishedWork=o,t.finishedLanes=i,r){case 0:case 1:throw Error(f(345));case 2:case 5:sH(t,sp,sm);break;case 3:if(sA(t,i),(0x7c00000&i)===i&&10<(r=sf+500-e1())){if(0!==ta(t,0))break;if(((o=t.suspendedLanes)&i)!==i){sC(),t.pingedLanes|=t.suspendedLanes&o;break}t.timeoutHandle=nk(sH.bind(null,t,sp,sm),r);break}sH(t,sp,sm);break;case 4:if(sA(t,i),(4194240&i)===i)break;for(o=-1,r=t.eventTimes;0<i;){var s=31-te(i);a=1<<s,(s=r[s])>o&&(o=s),i&=~a}if(i=o,10<(i=(120>(i=e1()-i)?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*a4(i/1960))-i)){t.timeoutHandle=nk(sH.bind(null,t,sp,sm),i);break}sH(t,sp,sm);break;default:throw Error(f(329))}}}return sT(t,e1()),t.callbackNode===n?sP.bind(null,t):null}function sM(t,r){var n=sd;return t.current.memoizedState.isDehydrated&&(sF(t,r).flags|=256),2!==(t=sz(t,r))&&(r=sp,sp=n,null!==r&&sI(r)),t}function sI(t){null===sp?sp=t:sp.push.apply(sp,t)}function sA(t,r){for(r&=~sc,r&=~su,t.suspendedLanes|=r,t.pingedLanes&=~r,t=t.expirationTimes;0<r;){var n=31-te(r),i=1<<n;t[n]=-1,r&=~i}}function sL(t){if(0!=(6&se))throw Error(f(327));sV();var r=ta(t,0);if(0==(1&r))return sT(t,e1()),null;var n=sz(t,r);if(0!==t.tag&&2===n){var i=ts(t);0!==i&&(r=i,n=sM(t,i))}if(1===n)throw n=ss,sF(t,0),sA(t,r),sT(t,e1()),n;if(6===n)throw Error(f(345));return t.finishedWork=t.current.alternate,t.finishedLanes=r,sH(t,sp,sm),sT(t,e1()),null}function sN(t,r){var n=se;se|=1;try{return t(r)}finally{0===(se=n)&&(sh=e1()+500,n8&&ie())}}function sj(t){null!==s_&&0===s_.tag&&0==(6&se)&&sV();var r=se;se|=1;var n=a9.transition,i=tp;try{if(a9.transition=null,tp=1,t)return t()}finally{tp=i,a9.transition=n,0==(6&(se=r))&&ie()}}function sD(){si=so.current,nW(so)}function sF(t,r){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,nC(n)),null!==sr)for(n=sr.return;null!==n;){var i=n;switch(im(i),i.tag){case 1:null!=(i=i.type.childContextTypes)&&n1();break;case 3:ot(),nW(nY),nW(nX),os();break;case 5:on(i);break;case 4:ot();break;case 13:case 19:nW(oi);break;case 10:iz(i.type._context);break;case 22:case 23:sD()}n=n.return}if(st=t,sr=t=s2(t.current,null),sn=si=r,sa=0,ss=null,sc=su=sl=0,sp=sd=null,null!==iV){for(r=0;r<iV.length;r++)if(null!==(i=(n=iV[r]).interleaved)){n.interleaved=null;var o=i.next,a=n.pending;if(null!==a){var s=a.next;a.next=o,i.next=s}n.pending=i}iV=null}return t}function sB(t,r){for(;;){var n=sr;try{if(iU(),ol.current=o2,oh){for(var i=od.memoizedState;null!==i;){var o=i.queue;null!==o&&(o.pending=null),i=i.next}oh=!1}if(oc=0,of=op=od=null,om=!1,og=0,a7.current=null,null===n||null===n.return){sa=1,ss=r,sr=null;break}r:{var a=t,s=n.return,l=n,u=r;if(r=sn,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=l,h=d.tag;if(0==(1&d.mode)&&(0===h||11===h||15===h)){var m=d.alternate;m?(d.updateQueue=m.updateQueue,d.memoizedState=m.memoizedState,d.lanes=m.lanes):(d.updateQueue=null,d.memoizedState=null)}var g=ac(s);if(null!==g){g.flags&=-257,ad(g,s,l,a,r),1&g.mode&&au(a,c,r),r=g,u=c;var y=r.updateQueue;if(null===y){var v=new Set;v.add(u),r.updateQueue=v}else y.add(u);break r}if(0==(1&r)){au(a,c,r),sU();break r}u=Error(f(426))}else if(ib&&1&l.mode){var b=ac(s);if(null!==b){0==(65536&b.flags)&&(b.flags|=256),ad(b,s,l,a,r),iT(an(u,l));break r}}a=u=an(u,l),4!==sa&&(sa=2),null===sd?sd=[a]:sd.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,r&=-r,a.lanes|=r;var _=as(a,u,r);i2(a,_);break r;case 1:l=u;var w=a.type,S=a.stateNode;if(0==(128&a.flags)&&("function"==typeof w.getDerivedStateFromError||null!==S&&"function"==typeof S.componentDidCatch&&(null===sv||!sv.has(S)))){a.flags|=65536,r&=-r,a.lanes|=r;var x=al(a,l,r);i2(a,x);break r}}a=a.return}while(null!==a)}sZ(n)}catch(t){r=t,sr===n&&null!==n&&(sr=n=n.return);continue}break}}function s$(){var t=a8.current;return a8.current=o2,null===t?o2:t}function sU(){(0===sa||3===sa||2===sa)&&(sa=4),null===st||0==(0xfffffff&sl)&&0==(0xfffffff&su)||sA(st,sn)}function sz(t,r){var n=se;se|=2;var i=s$();for((st!==t||sn!==r)&&(sm=null,sF(t,r));;)try{for(;null!==sr;)sq(sr);break}catch(r){sB(t,r)}if(iU(),se=n,a8.current=i,null!==sr)throw Error(f(261));return st=null,sn=0,sa}function sq(t){var r=u(t.alternate,t,si);t.memoizedProps=t.pendingProps,null===r?sZ(t):sr=r,a7.current=null}function sZ(t){var r=t;do{var n=r.alternate;if(t=r.return,0==(32768&r.flags)){if(null!==(n=function(t,r,n){var i=r.pendingProps;switch(im(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return aj(r),null;case 1:case 17:return n0(r.type)&&n1(),aj(r),null;case 3:return i=r.stateNode,ot(),nW(nY),nW(nX),os(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(null===t||null===t.child)&&(iC(r)?r.flags|=4:null===t||t.memoizedState.isDehydrated&&0==(256&r.flags)||(r.flags|=1024,null!==i_&&(sI(i_),i_=null))),a(t,r),aj(r),null;case 5:on(r);var u=i9(i7.current);if(n=r.type,null!==t&&null!=r.stateNode)s(t,r,n,i,u),t.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!i){if(null===r.stateNode)throw Error(f(166));return aj(r),null}if(t=i9(i4.current),iC(r)){i=r.stateNode,n=r.type;var c=r.memoizedProps;switch(i[nL]=r,i[nN]=c,t=0!=(1&r.mode),n){case"dialog":no("cancel",i),no("close",i);break;case"iframe":case"object":case"embed":no("load",i);break;case"video":case"audio":for(u=0;u<nt.length;u++)no(nt[u],i);break;case"source":no("error",i);break;case"img":case"image":case"link":no("error",i),no("load",i);break;case"details":no("toggle",i);break;case"input":et(i,c),no("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!c.multiple},no("invalid",i);break;case"textarea":eu(i,c),no("invalid",i)}for(var d in ex(n,c),u=null,c)if(c.hasOwnProperty(d)){var h=c[d];"children"===d?"string"==typeof h?i.textContent!==h&&(!0!==c.suppressHydrationWarning&&n_(i.textContent,h,t),u=["children",h]):"number"==typeof h&&i.textContent!==""+h&&(!0!==c.suppressHydrationWarning&&n_(i.textContent,h,t),u=["children",""+h]):m.hasOwnProperty(d)&&null!=h&&"onScroll"===d&&no("scroll",i)}switch(n){case"input":Y(i),ei(i,c,!0);break;case"textarea":Y(i),ed(i);break;case"select":case"option":break;default:"function"==typeof c.onClick&&(i.onclick=nw)}i=u,r.updateQueue=i,null!==i&&(r.flags|=4)}else{d=9===u.nodeType?u:u.ownerDocument,"http://www.w3.org/1999/xhtml"===t&&(t=ep(n)),"http://www.w3.org/1999/xhtml"===t?"script"===n?((t=d.createElement("div")).innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):"string"==typeof i.is?t=d.createElement(n,{is:i.is}):(t=d.createElement(n),"select"===n&&(d=t,i.multiple?d.multiple=!0:i.size&&(d.size=i.size))):t=d.createElementNS(t,n),t[nL]=r,t[nN]=i,o(t,r,!1,!1),r.stateNode=t;r:{switch(d=eE(n,i),n){case"dialog":no("cancel",t),no("close",t),u=i;break;case"iframe":case"object":case"embed":no("load",t),u=i;break;case"video":case"audio":for(u=0;u<nt.length;u++)no(nt[u],t);u=i;break;case"source":no("error",t),u=i;break;case"img":case"image":case"link":no("error",t),no("load",t),u=i;break;case"details":no("toggle",t),u=i;break;case"input":et(t,i),u=ee(t,i),no("invalid",t);break;case"option":default:u=i;break;case"select":t._wrapperState={wasMultiple:!!i.multiple},u=H({},i,{value:void 0}),no("invalid",t);break;case"textarea":eu(t,i),u=el(t,i),no("invalid",t)}for(c in ex(n,u),h=u)if(h.hasOwnProperty(c)){var g=h[c];"style"===c?ew(t,g):"dangerouslySetInnerHTML"===c?null!=(g=g?g.__html:void 0)&&eg(t,g):"children"===c?"string"==typeof g?("textarea"!==n||""!==g)&&ey(t,g):"number"==typeof g&&ey(t,""+g):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(m.hasOwnProperty(c)?null!=g&&"onScroll"===c&&no("scroll",t):null!=g&&O(t,c,g,d))}switch(n){case"input":Y(t),ei(t,i,!1);break;case"textarea":Y(t),ed(t);break;case"option":null!=i.value&&t.setAttribute("value",""+K(i.value));break;case"select":t.multiple=!!i.multiple,null!=(c=i.value)?es(t,!!i.multiple,c,!1):null!=i.defaultValue&&es(t,!!i.multiple,i.defaultValue,!0);break;default:"function"==typeof u.onClick&&(t.onclick=nw)}switch(n){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break r;case"img":i=!0;break r;default:i=!1}}i&&(r.flags|=4)}null!==r.ref&&(r.flags|=512,r.flags|=2097152)}return aj(r),null;case 6:if(t&&null!=r.stateNode)l(t,r,t.memoizedProps,i);else{if("string"!=typeof i&&null===r.stateNode)throw Error(f(166));if(n=i9(i7.current),i9(i4.current),iC(r)){if(i=r.stateNode,n=r.memoizedProps,i[nL]=r,(c=i.nodeValue!==n)&&null!==(t=ig))switch(t.tag){case 3:n_(i.nodeValue,n,0!=(1&t.mode));break;case 5:!0!==t.memoizedProps.suppressHydrationWarning&&n_(i.nodeValue,n,0!=(1&t.mode))}c&&(r.flags|=4)}else(i=(9===n.nodeType?n:n.ownerDocument).createTextNode(i))[nL]=r,r.stateNode=i}return aj(r),null;case 13:if(nW(oi),i=r.memoizedState,null===t||null!==t.memoizedState&&null!==t.memoizedState.dehydrated){if(ib&&null!==iy&&0!=(1&r.mode)&&0==(128&r.flags))iO(),iR(),r.flags|=98560,c=!1;else if(c=iC(r),null!==i&&null!==i.dehydrated){if(null===t){if(!c)throw Error(f(318));if(!(c=null!==(c=r.memoizedState)?c.dehydrated:null))throw Error(f(317));c[nL]=r}else iR(),0==(128&r.flags)&&(r.memoizedState=null),r.flags|=4;aj(r),c=!1}else null!==i_&&(sI(i_),i_=null),c=!0;if(!c)return 65536&r.flags?r:null}if(0!=(128&r.flags))return r.lanes=n,r;return(i=null!==i)!=(null!==t&&null!==t.memoizedState)&&i&&(r.child.flags|=8192,0!=(1&r.mode)&&(null===t||0!=(1&oi.current)?0===sa&&(sa=3):sU())),null!==r.updateQueue&&(r.flags|=4),aj(r),null;case 4:return ot(),a(t,r),null===t&&nl(r.stateNode.containerInfo),aj(r),null;case 10:return iz(r.type._context),aj(r),null;case 19:if(nW(oi),null===(c=r.memoizedState))return aj(r),null;if(i=0!=(128&r.flags),null===(d=c.rendering))if(i)aN(c,!1);else{if(0!==sa||null!==t&&0!=(128&t.flags))for(t=r.child;null!==t;){if(null!==(d=oo(t))){for(r.flags|=128,aN(c,!1),null!==(i=d.updateQueue)&&(r.updateQueue=i,r.flags|=4),r.subtreeFlags=0,i=n,n=r.child;null!==n;)c=n,t=i,c.flags&=0xe00002,null===(d=c.alternate)?(c.childLanes=0,c.lanes=t,c.child=null,c.subtreeFlags=0,c.memoizedProps=null,c.memoizedState=null,c.updateQueue=null,c.dependencies=null,c.stateNode=null):(c.childLanes=d.childLanes,c.lanes=d.lanes,c.child=d.child,c.subtreeFlags=0,c.deletions=null,c.memoizedProps=d.memoizedProps,c.memoizedState=d.memoizedState,c.updateQueue=d.updateQueue,c.type=d.type,t=d.dependencies,c.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return nG(oi,1&oi.current|2),r.child}t=t.sibling}null!==c.tail&&e1()>sh&&(r.flags|=128,i=!0,aN(c,!1),r.lanes=4194304)}else{if(!i)if(null!==(t=oo(d))){if(r.flags|=128,i=!0,null!==(n=t.updateQueue)&&(r.updateQueue=n,r.flags|=4),aN(c,!0),null===c.tail&&"hidden"===c.tailMode&&!d.alternate&&!ib)return aj(r),null}else 2*e1()-c.renderingStartTime>sh&&0x40000000!==n&&(r.flags|=128,i=!0,aN(c,!1),r.lanes=4194304);c.isBackwards?(d.sibling=r.child,r.child=d):(null!==(n=c.last)?n.sibling=d:r.child=d,c.last=d)}if(null!==c.tail)return r=c.tail,c.rendering=r,c.tail=r.sibling,c.renderingStartTime=e1(),r.sibling=null,n=oi.current,nG(oi,i?1&n|2:1&n),r;return aj(r),null;case 22:case 23:return sD(),i=null!==r.memoizedState,null!==t&&null!==t.memoizedState!==i&&(r.flags|=8192),i&&0!=(1&r.mode)?0!=(0x40000000&si)&&(aj(r),6&r.subtreeFlags&&(r.flags|=8192)):aj(r),null;case 24:case 25:return null}throw Error(f(156,r.tag))}(n,r,si))){sr=n;return}}else{if(null!==(n=function(t,r){switch(im(r),r.tag){case 1:return n0(r.type)&&n1(),65536&(t=r.flags)?(r.flags=-65537&t|128,r):null;case 3:return ot(),nW(nY),nW(nX),os(),0!=(65536&(t=r.flags))&&0==(128&t)?(r.flags=-65537&t|128,r):null;case 5:return on(r),null;case 13:if(nW(oi),null!==(t=r.memoizedState)&&null!==t.dehydrated){if(null===r.alternate)throw Error(f(340));iR()}return 65536&(t=r.flags)?(r.flags=-65537&t|128,r):null;case 19:return nW(oi),null;case 4:return ot(),null;case 10:return iz(r.type._context),null;case 22:case 23:return sD(),null;default:return null}}(n,r))){n.flags&=32767,sr=n;return}if(null!==t)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{sa=6,sr=null;return}}if(null!==(r=r.sibling)){sr=r;return}sr=r=t}while(null!==r);0===sa&&(sa=5)}function sH(t,r,n){var i=tp,o=a9.transition;try{a9.transition=null,tp=1,function(t,r,n,i){do sV();while(null!==s_);if(0!=(6&se))throw Error(f(327));n=t.finishedWork;var o=t.finishedLanes;if(null!==n){if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(f(177));t.callbackNode=null,t.callbackPriority=0;var a=n.lanes|n.childLanes,s=t,l=a,u=s.pendingLanes&~l;s.pendingLanes=l,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=l,s.mutableReadLanes&=l,s.entangledLanes&=l,l=s.entanglements;var c=s.eventTimes;for(s=s.expirationTimes;0<u;){var d=31-te(u),h=1<<d;l[d]=0,c[d]=-1,s[d]=-1,u&=~h}if(t===st&&(sr=st=null,sn=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||sb||(sb=!0,function(t,r){eY(t,r)}(e6,function(){return sV(),null})),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=a9.transition,a9.transition=null;var m,g,y,v=tp;tp=1;var b=se;se|=4,a7.current=null,function(t,r){if(nS=tD,rZ(t=rq())){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else r:{var i=(n=(n=t.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(i&&0!==i.rangeCount){n=i.anchorNode;var o,a=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{n.nodeType,s.nodeType}catch(t){n=null;break r}var l=0,u=-1,c=-1,d=0,h=0,m=t,g=null;n:for(;;){for(;m!==n||0!==a&&3!==m.nodeType||(u=l+a),m!==s||0!==i&&3!==m.nodeType||(c=l+i),3===m.nodeType&&(l+=m.nodeValue.length),null!==(o=m.firstChild);)g=m,m=o;for(;;){if(m===t)break n;if(g===n&&++d===a&&(u=l),g===s&&++h===i&&(c=l),null!==(o=m.nextSibling))break;g=(m=g).parentNode}m=o}n=-1===u||-1===c?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(nx={focusedElem:t,selectionRange:n},tD=!1,a$=r;null!==a$;)if(t=(r=a$).child,0!=(1028&r.subtreeFlags)&&null!==t)t.return=r,a$=t;else for(;null!==a$;){r=a$;try{var y=r.alternate;if(0!=(1024&r.flags))switch(r.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==y){var v=y.memoizedProps,b=y.memoizedState,_=r.stateNode,w=_.getSnapshotBeforeUpdate(r.elementType===r.type?v:o4(r.type,v),b);_.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var S=r.stateNode.containerInfo;1===S.nodeType?S.textContent="":9===S.nodeType&&S.documentElement&&S.removeChild(S.documentElement);break;default:throw Error(f(163))}}catch(t){sG(r,r.return,t)}if(null!==(t=r.sibling)){t.return=r.return,a$=t;break}a$=r.return}y=aq,aq=!1}(t,n),a1(n,t),function(t){var r=rq(),n=t.focusedElem,i=t.selectionRange;if(r!==n&&n&&n.ownerDocument&&function t(r,n){return!!r&&!!n&&(r===n||(!r||3!==r.nodeType)&&(n&&3===n.nodeType?t(r,n.parentNode):"contains"in r?r.contains(n):!!r.compareDocumentPosition&&!!(16&r.compareDocumentPosition(n))))}(n.ownerDocument.documentElement,n)){if(null!==i&&rZ(n)){if(r=i.start,void 0===(t=i.end)&&(t=r),"selectionStart"in n)n.selectionStart=r,n.selectionEnd=Math.min(t,n.value.length);else if((t=(r=n.ownerDocument||document)&&r.defaultView||window).getSelection){t=t.getSelection();var o=n.textContent.length,a=Math.min(i.start,o);i=void 0===i.end?a:Math.min(i.end,o),!t.extend&&a>i&&(o=i,i=a,a=o),o=rz(n,a);var s=rz(n,i);o&&s&&(1!==t.rangeCount||t.anchorNode!==o.node||t.anchorOffset!==o.offset||t.focusNode!==s.node||t.focusOffset!==s.offset)&&((r=r.createRange()).setStart(o.node,o.offset),t.removeAllRanges(),a>i?(t.addRange(r),t.extend(s.node,s.offset)):(r.setEnd(s.node,s.offset),t.addRange(r)))}}for(r=[],t=n;t=t.parentNode;)1===t.nodeType&&r.push({element:t,left:t.scrollLeft,top:t.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<r.length;n++)(t=r[n]).element.scrollLeft=t.left,t.element.scrollTop=t.top}}(nx),tD=!!nS,nx=nS=null,t.current=n,m=n,g=t,y=o,a$=m,function t(r,n,i){for(var o=0!=(1&r.mode);null!==a$;){var a=a$,s=a.child;if(22===a.tag&&o){var l=null!==a.memoizedState||aD;if(!l){var u=a.alternate,c=null!==u&&null!==u.memoizedState||aF;u=aD;var d=aF;if(aD=l,(aF=c)&&!d)for(a$=a;null!==a$;)c=(l=a$).child,22===l.tag&&null!==l.memoizedState?a6(a):null!==c?(c.return=l,a$=c):a6(a);for(;null!==s;)a$=s,t(s,n,i),s=s.sibling;a$=a,aD=u,aF=d}a5(r,n,i)}else 0!=(8772&a.subtreeFlags)&&null!==s?(s.return=a,a$=s):a5(r,n,i)}}(m,g,y),e0(),se=b,tp=v,a9.transition=a}else t.current=n;sb&&(sb=!1,s_=t,sw=o),0===(a=t.pendingLanes)&&(sv=null);var _=n.stateNode;if(e9&&"function"==typeof e9.onCommitFiberRoot)try{e9.onCommitFiberRoot(e7,_,void 0,128==(128&_.current.flags))}catch(t){}if(sT(t,e1()),null!==r)for(i=t.onRecoverableError,n=0;n<r.length;n++)i((o=r[n]).value,{componentStack:o.stack,digest:o.digest});if(sg)throw sg=!1,t=sy,sy=null,t;0!=(1&sw)&&0!==t.tag&&sV(),0!=(1&(a=t.pendingLanes))?t===sx?sS++:(sS=0,sx=t):sS=0,ie()}}(t,r,n,i)}finally{a9.transition=o,tp=i}return null}function sV(){if(null!==s_){var t=tf(sw),r=a9.transition,n=tp;try{if(a9.transition=null,tp=16>t?16:t,null===s_)var i=!1;else{if(t=s_,s_=null,sw=0,0!=(6&se))throw Error(f(331));var o=se;for(se|=4,a$=t.current;null!==a$;){var a=a$,s=a.child;if(0!=(16&a$.flags)){var l=a.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(a$=c;null!==a$;){var d=a$;switch(d.tag){case 0:case 11:case 15:aZ(8,d,a)}var h=d.child;if(null!==h)h.return=d,a$=h;else for(;null!==a$;){var m=(d=a$).sibling,g=d.return;if(!function t(r){var n=r.alternate;null!==n&&(r.alternate=null,t(n)),r.child=null,r.deletions=null,r.sibling=null,5===r.tag&&null!==(n=r.stateNode)&&(delete n[nL],delete n[nN],delete n[nD],delete n[nF],delete n[nB]),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}(d),d===c){a$=null;break}if(null!==m){m.return=g,a$=m;break}a$=g}}}var y=a.alternate;if(null!==y){var v=y.child;if(null!==v){y.child=null;do{var b=v.sibling;v.sibling=null,v=b}while(null!==v)}}a$=a}}if(0!=(2064&a.subtreeFlags)&&null!==s)s.return=a,a$=s;else for(;null!==a$;){if(a=a$,0!=(2048&a.flags))switch(a.tag){case 0:case 11:case 15:aZ(9,a,a.return)}var _=a.sibling;if(null!==_){_.return=a.return,a$=_;break}a$=a.return}}var w=t.current;for(a$=w;null!==a$;){var S=(s=a$).child;if(0!=(2064&s.subtreeFlags)&&null!==S)S.return=s,a$=S;else for(s=w;null!==a$;){if(l=a$,0!=(2048&l.flags))try{switch(l.tag){case 0:case 11:case 15:aH(9,l)}}catch(t){sG(l,l.return,t)}if(l===s){a$=null;break}var x=l.sibling;if(null!==x){x.return=l.return,a$=x;break}a$=l.return}}if(se=o,ie(),e9&&"function"==typeof e9.onPostCommitFiberRoot)try{e9.onPostCommitFiberRoot(e7,t)}catch(t){}i=!0}return i}finally{tp=n,a9.transition=r}}return!1}function sW(t,r,n){r=as(t,r=an(n,r),1),t=i0(t,r,1),r=sC(),null!==t&&(tc(t,1,r),sT(t,r))}function sG(t,r,n){if(3===t.tag)sW(t,t,n);else for(;null!==r;){if(3===r.tag){sW(r,t,n);break}if(1===r.tag){var i=r.stateNode;if("function"==typeof r.type.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&(null===sv||!sv.has(i))){t=al(r,t=an(n,t),1),r=i0(r,t,1),t=sC(),null!==r&&(tc(r,1,t),sT(r,t));break}}r=r.return}}function sK(t,r,n){var i=t.pingCache;null!==i&&i.delete(r),r=sC(),t.pingedLanes|=t.suspendedLanes&n,st===t&&(sn&n)===n&&(4===sa||3===sa&&(0x7c00000&sn)===sn&&500>e1()-sf?sF(t,0):sc|=n),sT(t,r)}function sX(t,r){0===r&&(0==(1&t.mode)?r=1:(r=ti,0==(0x7c00000&(ti<<=1))&&(ti=4194304)));var n=sC();null!==(t=iK(t,r))&&(tc(t,r,n),sT(t,n))}function sY(t){var r=t.memoizedState,n=0;null!==r&&(n=r.retryLane),sX(t,n)}function sJ(t,r){var n=0;switch(t.tag){case 13:var i=t.stateNode,o=t.memoizedState;null!==o&&(n=o.retryLane);break;case 19:i=t.stateNode;break;default:throw Error(f(314))}null!==i&&i.delete(r),sX(t,n)}function sQ(t,r,n,i){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function s0(t,r,n,i){return new sQ(t,r,n,i)}function s1(t){return!(!(t=t.prototype)||!t.isReactComponent)}function s2(t,r){var n=t.alternate;return null===n?((n=s0(t.tag,r,t.key,t.mode)).elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=r,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0xe00000&t.flags,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,r=t.dependencies,n.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function s5(t,r,n,i,o,a){var s=2;if(i=t,"function"==typeof t)s1(t)&&(s=1);else if("string"==typeof t)s=5;else r:switch(t){case M:return s3(n.children,o,a,r);case I:s=8,o|=8;break;case A:return(t=s0(12,n,r,2|o)).elementType=A,t.lanes=a,t;case D:return(t=s0(13,n,r,o)).elementType=D,t.lanes=a,t;case F:return(t=s0(19,n,r,o)).elementType=F,t.lanes=a,t;case U:return s6(n,o,a,r);default:if("object"==typeof t&&null!==t)switch(t.$$typeof){case L:s=10;break r;case N:s=9;break r;case j:s=11;break r;case B:s=14;break r;case $:s=16,i=null;break r}throw Error(f(130,null==t?t:typeof t,""))}return(r=s0(s,n,r,o)).elementType=t,r.type=i,r.lanes=a,r}function s3(t,r,n,i){return(t=s0(7,t,i,r)).lanes=n,t}function s6(t,r,n,i){return(t=s0(22,t,i,r)).elementType=U,t.lanes=n,t.stateNode={isHidden:!1},t}function s4(t,r,n){return(t=s0(6,t,null,r)).lanes=n,t}function s8(t,r,n){return(r=s0(4,null!==t.children?t.children:[],t.key,r)).lanes=n,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}function s7(t,r,n,i,o){this.tag=r,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tu(0),this.expirationTimes=tu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tu(0),this.identifierPrefix=i,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function s9(t,r,n,i,o,a,s,l,u){return t=new s7(t,r,n,l,u),1===r?(r=1,!0===a&&(r|=8)):r=0,a=s0(3,null,null,r),t.current=a,a.stateNode=t,a.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},iY(a),t}function le(t){if(!t)return nK;t=t._reactInternals;r:{if(eW(t)!==t||1!==t.tag)throw Error(f(170));var r=t;do{switch(r.tag){case 3:r=r.stateNode.context;break r;case 1:if(n0(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break r}}r=r.return}while(null!==r);throw Error(f(171))}if(1===t.tag){var n=t.type;if(n0(n))return n5(t,n,r)}return r}function lt(t,r,n,i,o,a,s,l,u){return(t=s9(n,i,!0,t,o,a,s,l,u)).context=le(null),n=t.current,(a=iQ(i=sC(),o=sO(n))).callback=null!=r?r:null,i0(n,a,o),t.current.lanes=o,tc(t,o,i),sT(t,i),t}function lr(t,r,n,i){var o=r.current,a=sC(),s=sO(o);return n=le(n),null===r.context?r.context=n:r.pendingContext=n,(r=iQ(a,s)).payload={element:t},null!==(i=void 0===i?null:i)&&(r.callback=i),null!==(t=i0(o,r,s))&&(sR(t,o,s,a),i1(t,o,s)),s}function ln(t){return(t=t.current).child?(t.child.tag,t.child.stateNode):null}function li(t,r){if(null!==(t=t.memoizedState)&&null!==t.dehydrated){var n=t.retryLane;t.retryLane=0!==n&&n<r?n:r}}function lo(t,r){li(t,r),(t=t.alternate)&&li(t,r)}u=function(t,r,n){if(null!==t)if(t.memoizedProps!==r.pendingProps||nY.current)af=!0;else{if(0==(t.lanes&n)&&0==(128&r.flags))return af=!1,function(t,r,n){switch(r.tag){case 3:ax(r),iR();break;case 5:or(r);break;case 1:n0(r.type)&&n3(r);break;case 4:oe(r,r.stateNode.containerInfo);break;case 10:var i=r.type._context,o=r.memoizedProps.value;nG(iD,i._currentValue),i._currentValue=o;break;case 13:if(null!==(i=r.memoizedState)){if(null!==i.dehydrated)return nG(oi,1&oi.current),r.flags|=128,null;if(0!=(n&r.child.childLanes))return aO(t,r,n);return nG(oi,1&oi.current),null!==(t=aL(t,r,n))?t.sibling:null}nG(oi,1&oi.current);break;case 19:if(i=0!=(n&r.childLanes),0!=(128&t.flags)){if(i)return aI(t,r,n);r.flags|=128}if(null!==(o=r.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),nG(oi,oi.current),!i)return null;break;case 22:case 23:return r.lanes=0,av(t,r,n)}return aL(t,r,n)}(t,r,n);af=0!=(131072&t.flags)}else af=!1,ib&&0!=(1048576&r.flags)&&ip(r,io,r.index);switch(r.lanes=0,r.tag){case 2:var i=r.type;aA(t,r),t=r.pendingProps;var o=nQ(r,nX.current);iZ(r,n),o=o_(null,r,i,t,o,n);var a=ow();return r.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(r.tag=1,r.memoizedState=null,r.updateQueue=null,n0(i)?(a=!0,n3(r)):a=!1,r.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,iY(r),o.updater=o7,r.stateNode=o,o._reactInternals=r,ar(r,i,t,n),r=aS(null,r,i,!0,a,n)):(r.tag=0,ib&&a&&ih(r),ah(null,r,o,n),r=r.child),r;case 16:i=r.elementType;r:{switch(aA(t,r),t=r.pendingProps,i=(o=i._init)(i._payload),r.type=i,o=r.tag=function(t){if("function"==typeof t)return+!!s1(t);if(null!=t){if((t=t.$$typeof)===j)return 11;if(t===B)return 14}return 2}(i),t=o4(i,t),o){case 0:r=a_(null,r,i,t,n);break r;case 1:r=aw(null,r,i,t,n);break r;case 11:r=am(null,r,i,t,n);break r;case 14:r=ag(null,r,i,o4(i.type,t),n);break r}throw Error(f(306,i,""))}return r;case 0:return i=r.type,o=r.pendingProps,o=r.elementType===i?o:o4(i,o),a_(t,r,i,o,n);case 1:return i=r.type,o=r.pendingProps,o=r.elementType===i?o:o4(i,o),aw(t,r,i,o,n);case 3:r:{if(ax(r),null===t)throw Error(f(387));i=r.pendingProps,o=(a=r.memoizedState).element,iJ(t,r),i5(r,i,null,n);var s=r.memoizedState;if(i=s.element,a.isDehydrated)if(a={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},r.updateQueue.baseState=a,r.memoizedState=a,256&r.flags){o=an(Error(f(423)),r),r=aE(t,r,i,n,o);break r}else if(i!==o){o=an(Error(f(424)),r),r=aE(t,r,i,n,o);break r}else for(iy=nM(r.stateNode.containerInfo.firstChild),ig=r,ib=!0,i_=null,n=ij(r,null,i,n),r.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling;else{if(iR(),i===o){r=aL(t,r,n);break r}ah(t,r,i,n)}r=r.child}return r;case 5:return or(r),null===t&&iE(r),i=r.type,o=r.pendingProps,a=null!==t?t.memoizedProps:null,s=o.children,nE(i,o)?s=null:null!==a&&nE(i,a)&&(r.flags|=32),ab(t,r),ah(t,r,s,n),r.child;case 6:return null===t&&iE(r),null;case 13:return aO(t,r,n);case 4:return oe(r,r.stateNode.containerInfo),i=r.pendingProps,null===t?r.child=iN(r,null,i,n):ah(t,r,i,n),r.child;case 11:return i=r.type,o=r.pendingProps,o=r.elementType===i?o:o4(i,o),am(t,r,i,o,n);case 7:return ah(t,r,r.pendingProps,n),r.child;case 8:case 12:return ah(t,r,r.pendingProps.children,n),r.child;case 10:r:{if(i=r.type._context,o=r.pendingProps,a=r.memoizedProps,s=o.value,nG(iD,i._currentValue),i._currentValue=s,null!==a)if(rB(a.value,s)){if(a.children===o.children&&!nY.current){r=aL(t,r,n);break r}}else for(null!==(a=r.child)&&(a.return=r);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var u=l.firstContext;null!==u;){if(u.context===i){if(1===a.tag){(u=iQ(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),iq(a.return,n,r),l.lanes|=n;break}u=u.next}}else if(10===a.tag)s=a.type===r.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(f(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),iq(s,n,r),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===r){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ah(t,r,o.children,n),r=r.child}return r;case 9:return o=r.type,i=r.pendingProps.children,iZ(r,n),i=i(o=iH(o)),r.flags|=1,ah(t,r,i,n),r.child;case 14:return o=o4(i=r.type,r.pendingProps),o=o4(i.type,o),ag(t,r,i,o,n);case 15:return ay(t,r,r.type,r.pendingProps,n);case 17:return i=r.type,o=r.pendingProps,o=r.elementType===i?o:o4(i,o),aA(t,r),r.tag=1,n0(i)?(t=!0,n3(r)):t=!1,iZ(r,n),ae(r,i,o),ar(r,i,o,n),aS(null,r,i,!0,t,n);case 19:return aI(t,r,n);case 22:return av(t,r,n)}throw Error(f(156,r.tag))};var la="function"==typeof reportError?reportError:function(t){console.error(t)};function ls(t){this._internalRoot=t}function ll(t){this._internalRoot=t}function lu(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)}function lc(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function ld(){}function lp(t,r,n,i,o){var a=n._reactRootContainer;if(a){var s=a;if("function"==typeof o){var l=o;o=function(){var t=ln(s);l.call(t)}}lr(r,s,t,o)}else s=function(t,r,n,i,o){if(o){if("function"==typeof i){var a=i;i=function(){var t=ln(s);a.call(t)}}var s=lt(r,i,t,0,null,!1,!1,"",ld);return t._reactRootContainer=s,t[nj]=s.current,nl(8===t.nodeType?t.parentNode:t),sj(),s}for(;o=t.lastChild;)t.removeChild(o);if("function"==typeof i){var l=i;i=function(){var t=ln(u);l.call(t)}}var u=s9(t,0,!1,null,null,!1,!1,"",ld);return t._reactRootContainer=u,t[nj]=u.current,nl(8===t.nodeType?t.parentNode:t),sj(function(){lr(r,u,n,i)}),u}(n,r,t,o,i);return ln(s)}ll.prototype.render=ls.prototype.render=function(t){var r=this._internalRoot;if(null===r)throw Error(f(409));lr(t,r,null,null)},ll.prototype.unmount=ls.prototype.unmount=function(){var t=this._internalRoot;if(null!==t){this._internalRoot=null;var r=t.containerInfo;sj(function(){lr(null,t,null,null)}),r[nj]=null}},ll.prototype.unstable_scheduleHydration=function(t){if(t){var r=ty();t={blockedOn:null,target:t,priority:r};for(var n=0;n<tC.length&&0!==r&&r<tC[n].priority;n++);tC.splice(n,0,t),0===n&&tP(t)}},th=function(t){switch(t.tag){case 3:var r=t.stateNode;if(r.current.memoizedState.isDehydrated){var n=to(r.pendingLanes);0!==n&&(td(r,1|n),sT(r,e1()),0==(6&se)&&(sh=e1()+500,ie()))}break;case 13:sj(function(){var r=iK(t,1);null!==r&&sR(r,t,1,sC())}),lo(t,1)}},tm=function(t){if(13===t.tag){var r=iK(t,0x8000000);null!==r&&sR(r,t,0x8000000,sC()),lo(t,0x8000000)}},tg=function(t){if(13===t.tag){var r=sO(t),n=iK(t,r);null!==n&&sR(n,t,r,sC()),lo(t,r)}},ty=function(){return tp},tv=function(t,r){var n=tp;try{return tp=t,r()}finally{tp=n}},eO=function(t,r,n){switch(r){case"input":if(en(t,n),r=n.name,"radio"===n.type&&null!=r){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<n.length;r++){var i=n[r];if(i!==t&&i.form===t.form){var o=nq(i);if(!o)throw Error(f(90));J(i),en(i,o)}}}break;case"textarea":ec(t,n);break;case"select":null!=(r=n.value)&&es(t,!!n.multiple,r,!1)}},eA=sN,eL=sj;var lf={findFiberByHostInstance:n$,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},lh={bundleType:lf.bundleType,version:lf.version,rendererPackageName:lf.rendererPackageName,rendererConfig:lf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:R.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=eX(t))?null:t.stateNode},findFiberByHostInstance:lf.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lm=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lm.isDisabled&&lm.supportsFiber)try{e7=lm.inject(lh),e9=lm}catch(t){}}r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={usingClientEntryPoint:!1,Events:[nU,nz,nq,eM,eI,sN]},r.createPortal=function(t,r){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!lu(r))throw Error(f(200));return function(t,r,n){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:P,key:null==i?null:""+i,children:t,containerInfo:r,implementation:n}}(t,r,null,n)},r.createRoot=function(t,r){if(!lu(t))throw Error(f(299));var n=!1,i="",o=la;return null!=r&&(!0===r.unstable_strictMode&&(n=!0),void 0!==r.identifierPrefix&&(i=r.identifierPrefix),void 0!==r.onRecoverableError&&(o=r.onRecoverableError)),r=s9(t,1,!1,null,null,n,!1,i,o),t[nj]=r.current,nl(8===t.nodeType?t.parentNode:t),new ls(r)},r.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var r=t._reactInternals;if(void 0===r){if("function"==typeof t.render)throw Error(f(188));throw Error(f(268,t=Object.keys(t).join(",")))}return t=null===(t=eX(r))?null:t.stateNode},r.flushSync=function(t){return sj(t)},r.hydrate=function(t,r,n){if(!lc(r))throw Error(f(200));return lp(null,t,r,!0,n)},r.hydrateRoot=function(t,r,n){if(!lu(t))throw Error(f(405));var i=null!=n&&n.hydratedSources||null,o=!1,a="",s=la;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),r=lt(r,null,t,1,null!=n?n:null,o,!1,a,s),t[nj]=r.current,nl(t),i)for(t=0;t<i.length;t++)o=(o=(n=i[t])._getVersion)(n._source),null==r.mutableSourceEagerHydrationData?r.mutableSourceEagerHydrationData=[n,o]:r.mutableSourceEagerHydrationData.push(n,o);return new ll(r)},r.render=function(t,r,n){if(!lc(r))throw Error(f(200));return lp(null,t,r,!1,n)},r.unmountComponentAtNode=function(t){if(!lc(t))throw Error(f(40));return!!t._reactRootContainer&&(sj(function(){lp(null,null,t,!1,function(){t._reactRootContainer=null,t[nj]=null})}),!0)},r.unstable_batchedUpdates=sN,r.unstable_renderSubtreeIntoContainer=function(t,r,n,i){if(!lc(n))throw Error(f(200));if(null==t||void 0===t._reactInternals)throw Error(f(38));return lp(t,r,n,!1,i)},r.version="18.3.1-next-f1338f8080-20240426"},17029:function(t,r,n){"use strict";var i=n(28316);r.createRoot=i.createRoot,i.hydrateRoot},28316:function(t,r,n){"use strict";!function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(t){console.error(t)}}(),t.exports=n(52967)},10856:function(t,r,n){"use strict";t.exports=n(88751)},13278:function(t,r,n){"use strict";let i;n.d(r,{cC:()=>z,$G:()=>V,Db:()=>$,a3:()=>W});var o=n(2784),a=n(64896),s=n.n(a),l=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function u(t){var r={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=t.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(r.name=n[1],(s()[n[1]]||"/"===t.charAt(t.length-2))&&(r.voidElement=!0),r.name.startsWith("!--"))){var i=t.indexOf("--\x3e");return{type:"comment",comment:-1!==i?t.slice(4,i):""}}for(var o=new RegExp(l),a=null;null!==(a=o.exec(t));)if(a[0].trim())if(a[1]){var u=a[1].trim(),c=[u,""];u.indexOf("=")>-1&&(c=u.split("=")),r.attrs[c[0]]=c[1],o.lastIndex--}else a[2]&&(r.attrs[a[2]]=a[3].trim().substring(1,a[3].length-1));return r}var c=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,d=/^\s*$/,f=Object.create(null);let h={parse:function(t,r){r||(r={}),r.components||(r.components=f);var n,i=[],o=[],a=-1,s=!1;if(0!==t.indexOf("<")){var l=t.indexOf("<");i.push({type:"text",content:-1===l?t:t.substring(0,l)})}return t.replace(c,function(l,c){if(s){if(l!=="</"+n.name+">")return;s=!1}var f,h="/"!==l.charAt(1),m=l.startsWith("\x3c!--"),g=c+l.length,y=t.charAt(g);if(m){var v=u(l);return a<0?i.push(v):(f=o[a]).children.push(v),i}if(h&&(a++,"tag"===(n=u(l)).type&&r.components[n.name]&&(n.type="component",s=!0),n.voidElement||s||!y||"<"===y||n.children.push({type:"text",content:t.slice(g,t.indexOf("<",g))}),0===a&&i.push(n),(f=o[a-1])&&f.children.push(n),o[a]=n),(!h||n.voidElement)&&(a>-1&&(n.voidElement||n.name===l.slice(2,-1))&&(n=-1==--a?i:o[a]),!s&&"<"!==y&&y)){f=-1===a?i:o[a].children;var b=t.indexOf("<",g),_=t.slice(g,-1===b?void 0:b);d.test(_)&&(_=" "),(b>-1&&a+f.length>=0||" "!==_)&&f.push({type:"text",content:_})}}),i}};function m(){if(console&&console.warn){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];x(r[0])&&(r[0]=`react-i18next:: ${r[0]}`),console.warn(...r)}}let g={};function y(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];x(r[0])&&g[r[0]]||(x(r[0])&&(g[r[0]]=new Date),m(...r))}let v=(t,r)=>()=>{if(t.isInitialized)r();else{let n=()=>{setTimeout(()=>{t.off("initialized",n)},0),r()};t.on("initialized",n)}},b=(t,r,n)=>{t.loadNamespaces(r,v(t,n))},_=(t,r,n,i)=>{x(n)&&(n=[n]),n.forEach(r=>{0>t.options.ns.indexOf(r)&&t.options.ns.push(r)}),t.loadLanguages(r,v(t,i))},w=function(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.languages[0],o=!!r.options&&r.options.fallbackLng,a=r.languages[r.languages.length-1];if("cimode"===i.toLowerCase())return!0;let s=(t,n)=>{let i=r.services.backendConnector.state[`${t}|${n}`];return -1===i||2===i};return(!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1)||!r.services.backendConnector.backend||!r.isLanguageChangingTo||!!s(r.isLanguageChangingTo,t))&&!!(r.hasResourceBundle(i,t)||!r.services.backendConnector.backend||r.options.resources&&!r.options.partialBundledLanguages||s(i,t)&&(!o||s(a,t)))},S=function(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.languages&&r.languages.length?void 0===r.options.ignoreJSONStructure?w(t,r,n):r.hasLoadedNamespace(t,{lng:n.lng,precheck:(r,i)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!i(r.isLanguageChangingTo,t))return!1}}):(y("i18n.languages were undefined or empty",r.languages),!0)},x=t=>"string"==typeof t,E=t=>"object"==typeof t&&null!==t,k=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,C={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"\u2026","&#8230;":"\u2026","&#x2F;":"/","&#47;":"/"},O=t=>C[t],R={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:t=>t.replace(k,O)},T=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};R={...R,...t}},P=()=>R,M=t=>{i=t},I=()=>i,A=(t,r)=>{if(!t)return!1;let n=t.props?t.props.children:t.children;return r?n.length>0:!!n},L=t=>{if(!t)return[];let r=t.props?t.props.children:t.children;return t.props&&t.props.i18nIsDynamicList?j(r):r},N=t=>Array.isArray(t)&&t.every(o.isValidElement),j=t=>Array.isArray(t)?t:[t],D=(t,r)=>{let n={...r};return n.props=Object.assign(t.props,r.props),n},F=(t,r)=>{if(!t)return"";let n="",i=j(t),a=r.transSupportBasicHtmlNodes&&r.transKeepBasicHtmlNodesFor?r.transKeepBasicHtmlNodesFor:[];return i.forEach((t,i)=>{if(x(t))n+=`${t}`;else if((0,o.isValidElement)(t)){let{props:o,type:s}=t,l=Object.keys(o).length,u=a.indexOf(s)>-1,c=o.children;if(c||!u||l)if(!c&&(!u||l)||o.i18nIsDynamicList)n+=`<${i}></${i}>`;else if(u&&1===l&&x(c))n+=`<${s}>${c}</${s}>`;else{let t=F(c,r);n+=`<${i}>${t}</${i}>`}else n+=`<${s}/>`}else if(null===t)m("Trans: the passed in value is invalid - seems you passed in a null child.");else if(E(t)){let{format:r,...i}=t,o=Object.keys(i);if(1===o.length){let t=r?`${o[0]}, ${r}`:o[0];n+=`{{${t}}}`}else m("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",t)}else m("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",t)}),n},B=(t,r,n,i,a,s)=>{if(""===r)return[];let l=i.transKeepBasicHtmlNodesFor||[],u=r&&new RegExp(l.map(t=>`<${t}`).join("|")).test(r);if(!t&&!u&&!s)return[r];let c={},d=t=>{j(t).forEach(t=>{x(t)||(A(t)?d(L(t)):E(t)&&!(0,o.isValidElement)(t)&&Object.assign(c,t))})};d(t);let f=h.parse(`<0>${r}</0>`),m={...c,...a},g=(t,r,n)=>{let i=L(t),o=v(i,r.children,n);return N(i)&&0===o.length||t.props&&t.props.i18nIsDynamicList?i:o},y=(t,r,n,i,a)=>{t.dummy?(t.children=r,n.push((0,o.cloneElement)(t,{key:i},a?void 0:r))):n.push(...o.Children.map([t],t=>{let n={...t.props};return delete n.i18nIsDynamicList,(0,o.createElement)(t.type,{...n,key:i,ref:t.ref},a?null:r)}))},v=(r,a,c)=>{let d=j(r);return j(a).reduce((r,a,f)=>{let h=a.children&&a.children[0]&&a.children[0].content&&n.services.interpolator.interpolate(a.children[0].content,m,n.language);if("tag"===a.type){let s=d[parseInt(a.name,10)];1!==c.length||s||(s=c[0][a.name]),s||(s={});let b=0!==Object.keys(a.attrs).length?D({props:a.attrs},s):s,_=(0,o.isValidElement)(b),w=_&&A(a,!0)&&!a.voidElement,S=u&&E(b)&&b.dummy&&!_,k=E(t)&&Object.hasOwnProperty.call(t,a.name);if(x(b)){let t=n.services.interpolator.interpolate(b,m,n.language);r.push(t)}else if(A(b)||w){let t=g(b,a,c);y(b,t,r,f)}else if(S)y(b,v(d,a.children,c),r,f);else if(Number.isNaN(parseFloat(a.name)))if(k){let t=g(b,a,c);y(b,t,r,f,a.voidElement)}else if(i.transSupportBasicHtmlNodes&&l.indexOf(a.name)>-1)if(a.voidElement)r.push((0,o.createElement)(a.name,{key:`${a.name}-${f}`}));else{let t=v(d,a.children,c);r.push((0,o.createElement)(a.name,{key:`${a.name}-${f}`},t))}else if(a.voidElement)r.push(`<${a.name} />`);else{let t=v(d,a.children,c);r.push(`<${a.name}>${t}</${a.name}>`)}else if(E(b)&&!_){let t=a.children[0]?h:null;t&&r.push(t)}else y(b,h,r,f,1!==a.children.length||!h)}else if("text"===a.type){let t=i.transWrapTextNodes,l=s?i.unescape(n.services.interpolator.interpolate(a.content,m,n.language)):n.services.interpolator.interpolate(a.content,m,n.language);t?r.push((0,o.createElement)(t,{key:`${a.name}-${f}`},l)):r.push(l)}return r},[])};return L(v([{dummy:!0,children:t||[]}],f,j(t||[]))[0])},$={type:"3rdParty",init(t){T(t.options.react),M(t)}},U=(0,o.createContext)();let ReportNamespaces=class ReportNamespaces{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(t=>{this.usedNamespaces[t]||(this.usedNamespaces[t]=!0)})}getUsedNamespaces=()=>Object.keys(this.usedNamespaces)};function z(t){let{children:r,count:n,parent:i,i18nKey:a,context:s,tOptions:l={},values:u,defaults:c,components:d,ns:f,i18n:h,t:m,shouldUnescape:g,...v}=t,{i18n:b,defaultNS:_}=(0,o.useContext)(U)||{},w=h||b||I(),S=m||w&&w.t.bind(w);return function(t){let{children:r,count:n,parent:i,i18nKey:a,context:s,tOptions:l={},values:u,defaults:c,components:d,ns:f,i18n:h,t:m,shouldUnescape:g,...v}=t,b=h||I();if(!b)return y("You will need to pass in an i18next instance by using i18nextReactModule"),r;let _=m||b.t.bind(b)||(t=>t),w={...P(),...b.options&&b.options.react},S=f||_.ns||b.options&&b.options.defaultNS;S=x(S)?[S]:S||["translation"];let E=F(r,w),k=c||E||w.transEmptyNodeValue||a,{hashTransKey:C}=w,O=a||(C?C(E||k):E||k);b.options&&b.options.interpolation&&b.options.interpolation.defaultVariables&&(u=u&&Object.keys(u).length>0?{...u,...b.options.interpolation.defaultVariables}:{...b.options.interpolation.defaultVariables});let R=u||void 0!==n||!r?l.interpolation:{interpolation:{...l.interpolation,prefix:"#$?",suffix:"?$#"}},T={...l,context:s||l.context,count:n,...u,...R,defaultValue:k,ns:S},M=O?_(O,T):k;d&&Object.keys(d).forEach(t=>{let r=d[t];"function"==typeof r.type||!r.props||!r.props.children||0>M.indexOf(`${t}/>`)&&0>M.indexOf(`${t} />`)||(d[t]=(0,o.createElement)(function(){return(0,o.createElement)(o.Fragment,null,r)}))});let A=B(d||r,M,b,w,T,g),L=void 0!==i?i:w.defaultTransParent;return L?(0,o.createElement)(L,v,A):A}({children:r,count:n,parent:i,i18nKey:a,context:s,tOptions:l,values:u,defaults:c,components:d,ns:f||S&&S.ns||_||w&&w.options&&w.options.defaultNS,i18n:w,t:m,shouldUnescape:g,...v})}let q=(t,r)=>{let n=(0,o.useRef)();return(0,o.useEffect)(()=>{n.current=r?n.current:t},[t,r]),n.current},Z=(t,r,n,i)=>t.getFixedT(r,n,i),H=(t,r,n,i)=>(0,o.useCallback)(Z(t,r,n,i),[t,r,n,i]),V=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{i18n:n}=r,{i18n:i,defaultNS:a}=(0,o.useContext)(U)||{},s=n||i||I();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new ReportNamespaces),!s){y("You will need to pass in an i18next instance by using initReactI18next");let t=(t,r)=>x(r)?r:E(r)&&x(r.defaultValue)?r.defaultValue:Array.isArray(t)?t[t.length-1]:t,r=[t,{},!1];return r.t=t,r.i18n={},r.ready=!1,r}s.options.react&&void 0!==s.options.react.wait&&y("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let l={...P(),...s.options.react,...r},{useSuspense:u,keyPrefix:c}=l,d=t||a||s.options&&s.options.defaultNS;d=x(d)?[d]:d||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(d);let f=(s.isInitialized||s.initializedStoreOnce)&&d.every(t=>S(t,s,l)),h=H(s,r.lng||null,"fallback"===l.nsMode?d:d[0],c),m=()=>h,g=()=>Z(s,r.lng||null,"fallback"===l.nsMode?d:d[0],c),[v,w]=(0,o.useState)(m),k=d.join();r.lng&&(k=`${r.lng}${k}`);let C=q(k),O=(0,o.useRef)(!0);(0,o.useEffect)(()=>{let{bindI18n:t,bindI18nStore:n}=l;O.current=!0,f||u||(r.lng?_(s,r.lng,d,()=>{O.current&&w(g)}):b(s,d,()=>{O.current&&w(g)})),f&&C&&C!==k&&O.current&&w(g);let i=()=>{O.current&&w(g)};return t&&s&&s.on(t,i),n&&s&&s.store.on(n,i),()=>{O.current=!1,t&&s&&t.split(" ").forEach(t=>s.off(t,i)),n&&s&&n.split(" ").forEach(t=>s.store.off(t,i))}},[s,k]),(0,o.useEffect)(()=>{O.current&&f&&w(m)},[s,c,f]);let R=[v,s,f];if(R.t=v,R.i18n=s,R.ready=f,f||!f&&!u)return R;throw new Promise(t=>{r.lng?_(s,r.lng,d,()=>t()):b(s,d,()=>t())})};function W(t){let{i18n:r,defaultNS:n,children:i}=t,a=(0,o.useMemo)(()=>({i18n:r,defaultNS:n}),[r,n]);return(0,o.createElement)(U.Provider,{value:a},i)}},66866:function(t,r){"use strict";var n,i=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference")},48570:function(t,r,n){"use strict";n(66866)},18701:function(t,r,n){"use strict";function i(t,r,n,i,o,a,s){this.acceptsBooleans=2===r||3===r||4===r,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=t,this.type=r,this.sanitizeURL=a,this.removeEmptyString=s}let o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(t=>{o[t]=new i(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([t,r])=>{o[t]=new i(t,1,!1,r,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(t=>{o[t]=new i(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(t=>{o[t]=new i(t,2,!1,t,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(t=>{o[t]=new i(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(t=>{o[t]=new i(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(t=>{o[t]=new i(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(t=>{o[t]=new i(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(t=>{o[t]=new i(t,5,!1,t.toLowerCase(),null,!1,!1)});let a=/[\-\:]([a-z])/g,s=t=>t[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(t=>{let r=t.replace(a,s);o[r]=new i(r,1,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(t=>{let r=t.replace(a,s);o[r]=new i(r,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(t=>{let r=t.replace(a,s);o[r]=new i(r,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(t=>{o[t]=new i(t,1,!1,t.toLowerCase(),null,!1,!1)}),o.xlinkHref=new i("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(t=>{o[t]=new i(t,1,!1,t.toLowerCase(),null,!0,!0)});let{CAMELCASE:l,SAME:u,possibleStandardNames:c}=n(52558),d=RegExp.prototype.test.bind(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]*$")),f=Object.keys(c).reduce((t,r)=>{let n=c[r];return n===u?t[r]=r:n===l?t[r.toLowerCase()]=r:t[r]=n,t},{});r.BOOLEAN=3,r.BOOLEANISH_STRING=2,r.NUMERIC=5,r.OVERLOADED_BOOLEAN=4,r.POSITIVE_NUMERIC=6,r.RESERVED=0,r.STRING=1,r.getPropertyInfo=function(t){return o.hasOwnProperty(t)?o[t]:null},r.isCustomAttribute=d,r.possibleStandardNames=f},52558:function(t,r){r.SAME=0,r.CAMELCASE=1,r.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}},39857:function(t,r,n){"use strict";n.d(r,{UT:()=>b,lr:()=>x,rU:()=>S});var i,o,a,s,l,u,c=n(2784),d=n(28316),f=n(73557),h=n(16060);function m(){return(m=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function g(t){return void 0===t&&(t=""),new URLSearchParams("string"==typeof t||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((r,n)=>{let i=t[n];return r.concat(Array.isArray(i)?i.map(t=>[n,t]):[[n,i]])},[]))}let y=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(t){}let v=(a||(a=n.t(c,2))).startTransition;function b(t){let{basename:r,children:n,future:i,window:o}=t,a=c.useRef();null==a.current&&(a.current=(0,h.q_)({window:o,v5Compat:!0}));let s=a.current,[l,u]=c.useState({action:s.action,location:s.location}),{v7_startTransition:d}=i||{},m=c.useCallback(t=>{d&&v?v(()=>u(t)):u(t)},[u,d]);return c.useLayoutEffect(()=>s.listen(m),[s,m]),c.useEffect(()=>(0,f.$A)(i),[i]),c.createElement(f.F0,{basename:r,children:n,location:l.location,navigationType:l.action,navigator:s,future:i})}(s||(s=n.t(d,2))).flushSync,(a||(a=n.t(c,2))).useId;let _="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,w=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,S=c.forwardRef(function(t,r){let n,{onClick:i,relative:o,reloadDocument:a,replace:s,state:l,target:u,to:d,preventScrollReset:g,viewTransition:v}=t,b=function(t,r){if(null==t)return{};var n,i,o={},a=Object.keys(t);for(i=0;i<a.length;i++)n=a[i],r.indexOf(n)>=0||(o[n]=t[n]);return o}(t,y),{basename:S}=c.useContext(f.Us),x=!1;if("string"==typeof d&&w.test(d)&&(n=d,_))try{let t=new URL(window.location.href),r=new URL(d.startsWith("//")?t.protocol+d:d),n=(0,h.Zn)(r.pathname,S);r.origin===t.origin&&null!=n?d=n+r.search+r.hash:x=!0}catch(t){}let E=(0,f.oQ)(d,{relative:o}),k=function(t,r){let{target:n,replace:i,state:o,preventScrollReset:a,relative:s,viewTransition:l}=void 0===r?{}:r,u=(0,f.s0)(),d=(0,f.TH)(),m=(0,f.WU)(t,{relative:s});return c.useCallback(r=>{0!==r.button||n&&"_self"!==n||r.metaKey||r.altKey||r.ctrlKey||r.shiftKey||(r.preventDefault(),u(t,{replace:void 0!==i?i:(0,h.Ep)(d)===(0,h.Ep)(m),state:o,preventScrollReset:a,relative:s,viewTransition:l}))},[d,u,m,i,o,n,t,a,s,l])}(d,{replace:s,state:l,target:u,preventScrollReset:g,relative:o,viewTransition:v});return c.createElement("a",m({},b,{href:n||E,onClick:x||a?i:function(t){i&&i(t),t.defaultPrevented||k(t)},ref:r,target:u}))});function x(t){let r=c.useRef(g(t)),n=c.useRef(!1),i=(0,f.TH)(),o=c.useMemo(()=>{var t,o;let a;return t=i.search,o=n.current?null:r.current,a=g(t),o&&o.forEach((t,r)=>{a.has(r)||o.getAll(r).forEach(t=>{a.append(r,t)})}),a},[i.search]),a=(0,f.s0)(),s=c.useCallback((t,r)=>{let i=g("function"==typeof t?t(o):t);n.current=!0,a("?"+i,r)},[a,o]);return[o,s]}(i=l||(l={})).UseScrollRestoration="useScrollRestoration",i.UseSubmit="useSubmit",i.UseSubmitFetcher="useSubmitFetcher",i.UseFetcher="useFetcher",i.useViewTransitionState="useViewTransitionState",(o=u||(u={})).UseFetcher="useFetcher",o.UseFetchers="useFetchers",o.UseScrollRestoration="useScrollRestoration"},73557:function(t,r,n){"use strict";n.d(r,{$A:()=>I,AW:()=>N,F0:()=>j,Fg:()=>A,TH:()=>_,Us:()=>h,WU:()=>E,Z5:()=>D,j3:()=>L,oQ:()=>v,s0:()=>S});var i,o,a,s,l=n(2784),u=n(16060);function c(){return(c=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}let d=l.createContext(null),f=l.createContext(null),h=l.createContext(null),m=l.createContext(null),g=l.createContext({outlet:null,matches:[],isDataRoute:!1}),y=l.createContext(null);function v(t,r){let{relative:n}=void 0===r?{}:r;b()||(0,u.J0)(!1);let{basename:i,navigator:o}=l.useContext(h),{hash:a,pathname:s,search:c}=E(t,{relative:n}),d=s;return"/"!==i&&(d="/"===s?i:(0,u.RQ)([i,s])),o.createHref({pathname:d,search:c,hash:a})}function b(){return null!=l.useContext(m)}function _(){return b()||(0,u.J0)(!1),l.useContext(m).location}function w(t){l.useContext(h).static||l.useLayoutEffect(t)}function S(){let{isDataRoute:t}=l.useContext(g);return t?function(){var t;let r,{router:n}=(O.UseNavigateStable,(r=l.useContext(d))||(0,u.J0)(!1),r),i=T(R.UseNavigateStable),o=l.useRef(!1);return w(()=>{o.current=!0}),l.useCallback(function(t,r){void 0===r&&(r={}),o.current&&("number"==typeof t?n.navigate(t):n.navigate(t,c({fromRouteId:i},r)))},[n,i])}():function(){b()||(0,u.J0)(!1);let t=l.useContext(d),{basename:r,future:n,navigator:i}=l.useContext(h),{matches:o}=l.useContext(g),{pathname:a}=_(),s=JSON.stringify((0,u.cm)(o,n.v7_relativeSplatPath)),c=l.useRef(!1);return w(()=>{c.current=!0}),l.useCallback(function(n,o){if(void 0===o&&(o={}),!c.current)return;if("number"==typeof n){i.go(n);return}let l=(0,u.pC)(n,JSON.parse(s),a,"path"===o.relative);null==t&&"/"!==r&&(l.pathname="/"===l.pathname?r:(0,u.RQ)([r,l.pathname])),(o.replace?i.replace:i.push)(l,o.state,o)},[r,i,s,a,t])}()}let x=l.createContext(null);function E(t,r){let{relative:n}=void 0===r?{}:r,{future:i}=l.useContext(h),{matches:o}=l.useContext(g),{pathname:a}=_(),s=JSON.stringify((0,u.cm)(o,i.v7_relativeSplatPath));return l.useMemo(()=>(0,u.pC)(t,JSON.parse(s),a,"path"===n),[t,s,a,n])}let k=l.createElement(function(){var t,r;let n,i,o,a,s=(i=l.useContext(y),o=(R.UseRouteError,(n=l.useContext(f))||(0,u.J0)(!1),n),a=T(R.UseRouteError),void 0!==i?i:null==(t=o.errors)?void 0:t[a]),c=(0,u.WK)(s)?s.status+" "+s.statusText:s instanceof Error?s.message:JSON.stringify(s),d=s instanceof Error?s.stack:null;return l.createElement(l.Fragment,null,l.createElement("h2",null,"Unexpected Application Error!"),l.createElement("h3",{style:{fontStyle:"italic"}},c),d?l.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},d):null,null)},null);let RenderErrorBoundary=class RenderErrorBoundary extends l.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||"idle"!==r.revalidation&&"idle"===t.revalidation?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:void 0!==t.error?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return void 0!==this.state.error?l.createElement(g.Provider,{value:this.props.routeContext},l.createElement(y.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function C(t){let{routeContext:r,match:n,children:i}=t,o=l.useContext(d);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),l.createElement(g.Provider,{value:r},i)}var O=((i=O||{}).UseBlocker="useBlocker",i.UseRevalidator="useRevalidator",i.UseNavigateStable="useNavigate",i),R=((o=R||{}).UseBlocker="useBlocker",o.UseLoaderData="useLoaderData",o.UseActionData="useActionData",o.UseRouteError="useRouteError",o.UseNavigation="useNavigation",o.UseRouteLoaderData="useRouteLoaderData",o.UseMatches="useMatches",o.UseRevalidator="useRevalidator",o.UseNavigateStable="useNavigate",o.UseRouteId="useRouteId",o);function T(t){let r,n=((r=l.useContext(g))||(0,u.J0)(!1),r),i=n.matches[n.matches.length-1];return i.route.id||(0,u.J0)(!1),i.route.id}let P={},M=(t,r,n)=>{};function I(t,r){(null==t?void 0:t.v7_startTransition)===void 0&&M("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(null==t?void 0:t.v7_relativeSplatPath)!==void 0||r&&void 0!==r.v7_relativeSplatPath||M("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),r&&(void 0===r.v7_fetcherPersist&&M("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),void 0===r.v7_normalizeFormMethod&&M("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),void 0===r.v7_partialHydration&&M("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),void 0===r.v7_skipActionErrorRevalidation&&M("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}function A(t){let{to:r,replace:n,state:i,relative:o}=t;b()||(0,u.J0)(!1);let{future:a,static:s}=l.useContext(h),{matches:c}=l.useContext(g),{pathname:d}=_(),f=S(),m=JSON.stringify((0,u.pC)(r,(0,u.cm)(c,a.v7_relativeSplatPath),d,"path"===o));return l.useEffect(()=>f(JSON.parse(m),{replace:n,state:i,relative:o}),[f,m,o,n,i]),null}function L(t){var r;let n;return r=t.context,(n=l.useContext(g).outlet)?l.createElement(x.Provider,{value:r},n):n}function N(t){(0,u.J0)(!1)}function j(t){let{basename:r="/",children:n=null,location:i,navigationType:o=u.aU.Pop,navigator:a,static:s=!1,future:d}=t;b()&&(0,u.J0)(!1);let f=r.replace(/^\/*/,"/"),g=l.useMemo(()=>({basename:f,navigator:a,static:s,future:c({v7_relativeSplatPath:!1},d)}),[f,d,a,s]);"string"==typeof i&&(i=(0,u.cP)(i));let{pathname:y="/",search:v="",hash:_="",state:w=null,key:S="default"}=i,x=l.useMemo(()=>{let t=(0,u.Zn)(y,f);return null==t?null:{location:{pathname:t,search:v,hash:_,state:w,key:S},navigationType:o}},[f,y,v,_,w,S,o]);return null==x?null:l.createElement(h.Provider,{value:g},l.createElement(m.Provider,{children:n,value:x}))}function D(t){let{children:r,location:n}=t;return function(t,r,n,i){let o;b()||(0,u.J0)(!1);let{navigator:a}=l.useContext(h),{matches:s}=l.useContext(g),d=s[s.length-1],f=d?d.params:{};d&&d.pathname;let y=d?d.pathnameBase:"/";d&&d.route;let v=_();if(r){var w;let t="string"==typeof r?(0,u.cP)(r):r;"/"===y||(null==(w=t.pathname)?void 0:w.startsWith(y))||(0,u.J0)(!1),o=t}else o=v;let S=o.pathname||"/",x=S;if("/"!==y){let t=y.replace(/^\//,"").split("/");x="/"+S.replace(/^\//,"").split("/").slice(t.length).join("/")}let E=(0,u.fp)(t,{pathname:x}),O=function(t,r,n,i){var o,a;if(void 0===r&&(r=[]),void 0===n&&(n=null),void 0===i&&(i=null),null==t){if(!n)return null;if(n.errors)t=n.matches;else{if(null==(a=i)||!a.v7_partialHydration||0!==r.length||n.initialized||!(n.matches.length>0))return null;t=n.matches}}let s=t,c=null==(o=n)?void 0:o.errors;if(null!=c){let t=s.findIndex(t=>t.route.id&&(null==c?void 0:c[t.route.id])!==void 0);t>=0||(0,u.J0)(!1),s=s.slice(0,Math.min(s.length,t+1))}let d=!1,f=-1;if(n&&i&&i.v7_partialHydration)for(let t=0;t<s.length;t++){let r=s[t];if((r.route.HydrateFallback||r.route.hydrateFallbackElement)&&(f=t),r.route.id){let{loaderData:t,errors:i}=n,o=r.route.loader&&void 0===t[r.route.id]&&(!i||void 0===i[r.route.id]);if(r.route.lazy||o){d=!0,s=f>=0?s.slice(0,f+1):[s[0]];break}}}return s.reduceRight((t,i,o)=>{var a,u;let h,m=!1,g=null,y=null;n&&(h=c&&i.route.id?c[i.route.id]:void 0,g=i.route.errorElement||k,d&&(f<0&&0===o?(a="route-fallback",u=0,P[a]||(P[a]=!0),m=!0,y=null):f===o&&(m=!0,y=i.route.hydrateFallbackElement||null)));let v=r.concat(s.slice(0,o+1)),b=()=>{let r;return r=h?g:m?y:i.route.Component?l.createElement(i.route.Component,null):i.route.element?i.route.element:t,l.createElement(C,{match:i,routeContext:{outlet:t,matches:v,isDataRoute:null!=n},children:r})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===o)?l.createElement(RenderErrorBoundary,{location:n.location,revalidation:n.revalidation,component:g,error:h,children:b(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):b()},null)}(E&&E.map(t=>Object.assign({},t,{params:Object.assign({},f,t.params),pathname:(0,u.RQ)([y,a.encodeLocation?a.encodeLocation(t.pathname).pathname:t.pathname]),pathnameBase:"/"===t.pathnameBase?y:(0,u.RQ)([y,a.encodeLocation?a.encodeLocation(t.pathnameBase).pathname:t.pathnameBase])})),s,void 0,void 0);return r&&O?l.createElement(m.Provider,{value:{location:c({pathname:"/",search:"",hash:"",state:null,key:"default"},o),navigationType:u.aU.Pop}},O):O}(function t(r,n){void 0===n&&(n=[]);let i=[];return l.Children.forEach(r,(r,o)=>{if(!l.isValidElement(r))return;let a=[...n,o];if(r.type===l.Fragment){i.push.apply(i,t(r.props.children,a));return}r.type!==N&&(0,u.J0)(!1),r.props.index&&r.props.children&&(0,u.J0)(!1);let s={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:null!=r.props.ErrorBoundary||null!=r.props.errorElement,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=t(r.props.children,a)),i.push(s)}),i}(r),n)}(s||(s=n.t(l,2))).startTransition;var F=((a=F||{})[a.pending=0]="pending",a[a.success=1]="success",a[a.error=2]="error",a);new Promise(()=>{}),l.Component},93019:function(t,r,n){"use strict";n.d(r,{ZP:()=>v});var i=n(98283),o=n(43673),a=n(2784),s=n(28316);let l={disabled:!1};var u=n(77008),c="unmounted",d="exited",f="entering",h="entered",m="exiting",g=function(t){function r(r,n){var i,o=t.call(this,r,n)||this,a=n&&!n.isMounting?r.enter:r.appear;return o.appearStatus=null,r.in?a?(i=d,o.appearStatus=f):i=h:i=r.unmountOnExit||r.mountOnEnter?c:d,o.state={status:i},o.nextCallback=null,o}(0,o.Z)(r,t),r.getDerivedStateFromProps=function(t,r){return t.in&&r.status===c?{status:d}:null};var n=r.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var r=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==h&&(r=f):(n===f||n===h)&&(r=m)}this.updateStatus(!1,r)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var t,r,n,i=this.props.timeout;return t=r=n=i,null!=i&&"number"!=typeof i&&(t=i.exit,r=i.enter,n=void 0!==i.appear?i.appear:r),{exit:t,enter:r,appear:n}},n.updateStatus=function(t,r){if(void 0===t&&(t=!1),null!==r)if(this.cancelNextCallback(),r===f){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this);n&&n.scrollTop}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:c})},n.performEnter=function(t){var r=this,n=this.props.enter,i=this.context?this.context.isMounting:t,o=this.props.nodeRef?[i]:[s.findDOMNode(this),i],a=o[0],u=o[1],c=this.getTimeouts(),d=i?c.appear:c.enter;if(!t&&!n||l.disabled){this.safeSetState({status:h},function(){r.props.onEntered(a)});return}this.props.onEnter(a,u),this.safeSetState({status:f},function(){r.props.onEntering(a,u),r.onTransitionEnd(d,function(){r.safeSetState({status:h},function(){r.props.onEntered(a,u)})})})},n.performExit=function(){var t=this,r=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:s.findDOMNode(this);if(!r||l.disabled){this.safeSetState({status:d},function(){t.props.onExited(i)});return}this.props.onExit(i),this.safeSetState({status:m},function(){t.props.onExiting(i),t.onTransitionEnd(n.exit,function(){t.safeSetState({status:d},function(){t.props.onExited(i)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,r){r=this.setNextCallback(r),this.setState(t,r)},n.setNextCallback=function(t){var r=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,r.nextCallback=null,t(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(t,r){this.setNextCallback(r);var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this),i=null==t&&!this.props.addEndListener;if(!n||i){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],l=o[1];this.props.addEndListener(a,l)}null!=t&&setTimeout(this.nextCallback,t)},n.render=function(){var t=this.state.status;if(t===c)return null;var r=this.props,n=r.children,o=(r.in,r.mountOnEnter,r.unmountOnExit,r.appear,r.enter,r.exit,r.timeout,r.addEndListener,r.onEnter,r.onEntering,r.onEntered,r.onExit,r.onExiting,r.onExited,r.nodeRef,(0,i.Z)(r,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.createElement(u.Z.Provider,{value:null},"function"==typeof n?n(t,o):a.cloneElement(a.Children.only(n),o))},r}(a.Component);function y(){}g.contextType=u.Z,g.propTypes={},g.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:y,onEntering:y,onEntered:y,onExit:y,onExiting:y,onExited:y},g.UNMOUNTED=c,g.EXITED=d,g.ENTERING=f,g.ENTERED=h,g.EXITING=m;let v=g},77008:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=n(2784).createContext(null)},11837:function(t,r,n){"use strict";var i=n(2784),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,l=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(t,r,n){var i,a={},c=null,d=null;for(i in void 0!==n&&(c=""+n),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(d=r.ref),r)s.call(r,i)&&!u.hasOwnProperty(i)&&(a[i]=r[i]);if(t&&t.defaultProps)for(i in r=t.defaultProps)void 0===a[i]&&(a[i]=r[i]);return{$$typeof:o,type:t,key:c,ref:d,props:a,_owner:l.current}}r.Fragment=a,r.jsx=c,r.jsxs=c},83426:function(t,r){"use strict";var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,v={};function b(t,r,n){this.props=t,this.context=r,this.refs=v,this.updater=n||g}function _(){}function w(t,r,n){this.props=t,this.context=r,this.refs=v,this.updater=n||g}b.prototype.isReactComponent={},b.prototype.setState=function(t,r){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,r,"setState")},b.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},_.prototype=b.prototype;var S=w.prototype=new _;S.constructor=w,y(S,b.prototype),S.isPureReactComponent=!0;var x=Array.isArray,E=Object.prototype.hasOwnProperty,k={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function O(t,r,i){var o,a={},s=null,l=null;if(null!=r)for(o in void 0!==r.ref&&(l=r.ref),void 0!==r.key&&(s=""+r.key),r)E.call(r,o)&&!C.hasOwnProperty(o)&&(a[o]=r[o]);var u=arguments.length-2;if(1===u)a.children=i;else if(1<u){for(var c=Array(u),d=0;d<u;d++)c[d]=arguments[d+2];a.children=c}if(t&&t.defaultProps)for(o in u=t.defaultProps)void 0===a[o]&&(a[o]=u[o]);return{$$typeof:n,type:t,key:s,ref:l,props:a,_owner:k.current}}function R(t){return"object"==typeof t&&null!==t&&t.$$typeof===n}var T=/\/+/g;function P(t,r){var n,i;return"object"==typeof t&&null!==t&&null!=t.key?(n=""+t.key,i={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(t){return i[t]})):r.toString(36)}function M(t,r,o){if(null==t)return t;var a=[],s=0;return!function t(r,o,a,s,l){var u,c,d,f=typeof r;("undefined"===f||"boolean"===f)&&(r=null);var h=!1;if(null===r)h=!0;else switch(f){case"string":case"number":h=!0;break;case"object":switch(r.$$typeof){case n:case i:h=!0}}if(h)return l=l(h=r),r=""===s?"."+P(h,0):s,x(l)?(a="",null!=r&&(a=r.replace(T,"$&/")+"/"),t(l,o,a,"",function(t){return t})):null!=l&&(R(l)&&(u=l,c=a+(!l.key||h&&h.key===l.key?"":(""+l.key).replace(T,"$&/")+"/")+r,l={$$typeof:n,type:u.type,key:c,ref:u.ref,props:u.props,_owner:u._owner}),o.push(l)),1;if(h=0,s=""===s?".":s+":",x(r))for(var g=0;g<r.length;g++){var y=s+P(f=r[g],g);h+=t(f,o,a,y,l)}else if("function"==typeof(y=null===(d=r)||"object"!=typeof d?null:"function"==typeof(d=m&&d[m]||d["@@iterator"])?d:null))for(r=y.call(r),g=0;!(f=r.next()).done;)y=s+P(f=f.value,g++),h+=t(f,o,a,y,l);else if("object"===f)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(o=String(r))?"object with keys {"+Object.keys(r).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return h}(t,a,"","",function(t){return r.call(o,t,s++)}),a}function I(t){if(-1===t._status){var r=t._result;(r=r()).then(function(r){(0===t._status||-1===t._status)&&(t._status=1,t._result=r)},function(r){(0===t._status||-1===t._status)&&(t._status=2,t._result=r)}),-1===t._status&&(t._status=0,t._result=r)}if(1===t._status)return t._result.default;throw t._result}var A={current:null},L={transition:null};function N(){throw Error("act(...) is not supported in production builds of React.")}r.Children={map:M,forEach:function(t,r,n){M(t,function(){r.apply(this,arguments)},n)},count:function(t){var r=0;return M(t,function(){r++}),r},toArray:function(t){return M(t,function(t){return t})||[]},only:function(t){if(!R(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},r.Component=b,r.Fragment=o,r.Profiler=s,r.PureComponent=w,r.StrictMode=a,r.Suspense=d,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:L,ReactCurrentOwner:k},r.act=N,r.cloneElement=function(t,r,i){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=y({},t.props),a=t.key,s=t.ref,l=t._owner;if(null!=r){if(void 0!==r.ref&&(s=r.ref,l=k.current),void 0!==r.key&&(a=""+r.key),t.type&&t.type.defaultProps)var u=t.type.defaultProps;for(c in r)E.call(r,c)&&!C.hasOwnProperty(c)&&(o[c]=void 0===r[c]&&void 0!==u?u[c]:r[c])}var c=arguments.length-2;if(1===c)o.children=i;else if(1<c){u=Array(c);for(var d=0;d<c;d++)u[d]=arguments[d+2];o.children=u}return{$$typeof:n,type:t.type,key:a,ref:s,props:o,_owner:l}},r.createContext=function(t){return(t={$$typeof:u,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:t},t.Consumer=t},r.createElement=O,r.createFactory=function(t){var r=O.bind(null,t);return r.type=t,r},r.createRef=function(){return{current:null}},r.forwardRef=function(t){return{$$typeof:c,render:t}},r.isValidElement=R,r.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:I}},r.memo=function(t,r){return{$$typeof:f,type:t,compare:void 0===r?null:r}},r.startTransition=function(t){var r=L.transition;L.transition={};try{t()}finally{L.transition=r}},r.unstable_act=N,r.useCallback=function(t,r){return A.current.useCallback(t,r)},r.useContext=function(t){return A.current.useContext(t)},r.useDebugValue=function(){},r.useDeferredValue=function(t){return A.current.useDeferredValue(t)},r.useEffect=function(t,r){return A.current.useEffect(t,r)},r.useId=function(){return A.current.useId()},r.useImperativeHandle=function(t,r,n){return A.current.useImperativeHandle(t,r,n)},r.useInsertionEffect=function(t,r){return A.current.useInsertionEffect(t,r)},r.useLayoutEffect=function(t,r){return A.current.useLayoutEffect(t,r)},r.useMemo=function(t,r){return A.current.useMemo(t,r)},r.useReducer=function(t,r,n){return A.current.useReducer(t,r,n)},r.useRef=function(t){return A.current.useRef(t)},r.useState=function(t){return A.current.useState(t)},r.useSyncExternalStore=function(t,r,n){return A.current.useSyncExternalStore(t,r,n)},r.useTransition=function(){return A.current.useTransition()},r.version="18.3.1"},2784:function(t,r,n){"use strict";t.exports=n(83426)},52322:function(t,r,n){"use strict";t.exports=n(11837)},10961:function(t,r,n){"use strict";var i=n(20767),o=n(5408),a=Object;t.exports=i(function(){if(this==null||this!==a(this))throw new o("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},"get flags",!0)},82201:function(t,r,n){"use strict";var i=n(14926),o=n(89429),a=n(10961),s=n(54366),l=n(60698),u=o(s());i(u,{getPolyfill:s,implementation:a,shim:l}),t.exports=u},54366:function(t,r,n){"use strict";var i=n(10961),o=n(14926).supportsDescriptors,a=Object.getOwnPropertyDescriptor;t.exports=function(){if(o&&"gim"===/a/mig.flags){var t=a(RegExp.prototype,"flags");if(t&&"function"==typeof t.get&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),t.get.call(n),"dy"===r)return t.get}}return i}},60698:function(t,r,n){"use strict";var i=n(14926).supportsDescriptors,o=n(54366),a=n(50326),s=Object.defineProperty,l=n(42321),u=n(21750),c=/a/;t.exports=function(){if(!i||!u)throw new l("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=o(),r=u(c),n=a(r,"flags");return n&&n.get===t||s(r,"flags",{configurable:!0,enumerable:!1,get:t}),t}},45433:function(t){var r={"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A","\xc6":"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u1EA2:"A",\u1EA0:"A",\u1EA8:"A",\u1EAA:"A",\u1EAC:"A","\xc7":"C",\u1E08:"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u1EBA:"E",\u1EBC:"E",\u1EB8:"E",\u1EC2:"E",\u1EC4:"E",\u1EC6:"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I",\u1E2E:"I",\u020A:"I",\u1EC8:"I",\u1ECA:"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u1ECE:"O",\u1ECC:"O",\u1ED4:"O",\u1ED6:"O",\u1ED8:"O",\u1EDC:"O",\u1EDE:"O",\u1EE0:"O",\u1EDA:"O",\u1EE2:"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U",\u1EE6:"U",\u1EE4:"U",\u1EEC:"U",\u1EEE:"U",\u1EF0:"U","\xdd":"Y","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a","\xe6":"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u1EA3:"a",\u1EA1:"a",\u1EA9:"a",\u1EAB:"a",\u1EAD:"a","\xe7":"c",\u1E09:"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u1EBB:"e",\u1EBD:"e",\u1EB9:"e",\u1EC3:"e",\u1EC5:"e",\u1EC7:"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i",\u1E2F:"i",\u020B:"i",\u1EC9:"i",\u1ECB:"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u1ECF:"o",\u1ECD:"o",\u1ED5:"o",\u1ED7:"o",\u1ED9:"o",\u1EDD:"o",\u1EDF:"o",\u1EE1:"o",\u1EDB:"o",\u1EE3:"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u",\u1EE7:"u",\u1EE5:"u",\u1EED:"u",\u1EEF:"u",\u1EF1:"u","\xfd":"y","\xff":"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o","\xde":"TH","\xfe":"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c","\xca\u030C":"E","\xea\u030C":"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},n=Object.keys(r).join("|"),i=RegExp(n,"g"),o=RegExp(n,"");function a(t){return r[t]}var s=function(t){return t.replace(i,a)};t.exports=s,t.exports.has=function(t){return!!t.match(o)},t.exports.remove=s},77683:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.race=r.join=r.fork=r.promise=void 0;var i=s(n(15448)),o=n(69401),a=s(n(1437));function s(t){return t&&t.__esModule?t:{default:t}}var l=r.promise=function(t,r,n,o,a){return!!i.default.promise(t)&&(t.then(r,a),!0)},u=new Map,c=r.fork=function(t,r,n){if(!i.default.fork(t))return!1;var s=Symbol("fork"),l=(0,a.default)();u.set(s,l),n(t.iterator.apply(null,t.args),function(t){return l.dispatch(t)},function(t){return l.dispatch((0,o.error)(t))});var c=l.subscribe(function(){c(),u.delete(s)});return r(s),!0},d=r.join=function(t,r,n,o,a){if(!i.default.join(t))return!1;var s,l=u.get(t.task);return l?s=l.subscribe(function(t){s(),r(t)}):a("join error : task not found"),!0},f=r.race=function(t,r,n,o,a){if(!i.default.race(t))return!1;var s,l,u=!1,c=function(t,n,i){u||(u=!0,t[n]=i,r(t))},d=function(t){u||a(t)};return i.default.array(t.competitors)?(s=t.competitors.map(function(){return!1}),t.competitors.forEach(function(t,r){n(t,function(t){return c(s,r,t)},d)})):(l=Object.keys(t.competitors).reduce(function(t,r){return t[r]=!1,t},{}),Object.keys(t.competitors).forEach(function(r){n(t.competitors[r],function(t){return c(l,r,t)},d)})),!0};r.default=[l,c,d,f,function(t,r){if(!i.default.subscribe(t))return!1;if(!i.default.channel(t.channel))throw Error('the first argument of "subscribe" must be a valid channel');var n=t.channel.subscribe(function(t){n&&n(),r(t)});return!0}]},54965:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.iterator=r.array=r.object=r.error=r.any=void 0;var i,o=(i=n(15448))&&i.__esModule?i:{default:i},a=r.any=function(t,r,n,i){return i(t),!0},s=r.error=function(t,r,n,i,a){return!!o.default.error(t)&&(a(t.error),!0)},l=r.object=function(t,r,n,i,a){if(!o.default.all(t)||!o.default.obj(t.value))return!1;var s={},l=Object.keys(t.value),u=0,c=!1,d=function(t,r){c||(s[t]=r,++u===l.length&&i(s))},f=function(t,r){c||(c=!0,a(r))};return l.map(function(r){n(t.value[r],function(t){return d(r,t)},function(t){return f(r,t)})}),!0},u=r.array=function(t,r,n,i,a){if(!o.default.all(t)||!o.default.array(t.value))return!1;var s=[],l=0,u=!1,c=function(r,n){u||(s[r]=n,++l===t.value.length&&i(s))},d=function(t,r){u||(u=!0,a(r))};return t.value.map(function(t,r){n(t,function(t){return c(r,t)},function(t){return d(r,t)})}),!0},c=r.iterator=function(t,r,n,i,a){return!!o.default.iterator(t)&&(n(t,r,a),!0)};r.default=[s,c,u,l,a]},52487:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.cps=r.call=void 0;var i,o=(i=n(15448))&&i.__esModule?i:{default:i},a=r.call=function(t,r,n,i,a){if(!o.default.call(t))return!1;try{r(t.func.apply(t.context,t.args))}catch(t){a(t)}return!0},s=r.cps=function(t,r,n,i,a){var s;return!!o.default.cps(t)&&((s=t.func).call.apply(s,[null].concat(function(t){if(!Array.isArray(t))return Array.from(t);for(var r=0,n=Array(t.length);r<t.length;r++)n[r]=t[r];return n}(t.args),[function(t,n){t?a(t):r(n)}])),!0)};r.default=[a,s]},13728:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i=a(n(54965)),o=a(n(15448));function a(t){return t&&t.__esModule?t:{default:t}}function s(t){if(!Array.isArray(t))return Array.from(t);for(var r=0,n=Array(t.length);r<t.length;r++)n[r]=t[r];return n}r.default=function(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],r=[].concat(s(t),s(i.default));return function t(n){var i,a,s,l=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],u=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2];i=o.default.iterator(n)?n:regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n;case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)})(),a=function(t){return function(r){try{var n=t?i.throw(r):i.next(r),o=n.value;if(n.done)return l(o);s(o)}catch(t){return u(t)}}},s=function n(i){r.some(function(r){return r(i,n,t,a(!1),a(!0))})},a(!1)()}}},84921:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.wrapControls=r.asyncControls=r.create=void 0;var i=n(69401);Object.keys(i).forEach(function(t){"default"!==t&&Object.defineProperty(r,t,{enumerable:!0,get:function(){return i[t]}})});var o=l(n(13728)),a=l(n(77683)),s=l(n(52487));function l(t){return t&&t.__esModule?t:{default:t}}r.create=o.default,r.asyncControls=a.default,r.wrapControls=s.default},1437:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){var t=[];return{subscribe:function(r){return t.push(r),function(){t=t.filter(function(t){return t!==r})}},dispatch:function(r){t.slice().forEach(function(t){return t(r)})}}}},69401:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createChannel=r.subscribe=r.cps=r.apply=r.call=r.invoke=r.delay=r.race=r.join=r.fork=r.error=r.all=void 0;var i,o=(i=n(66571))&&i.__esModule?i:{default:i};r.all=function(t){return{type:o.default.all,value:t}},r.error=function(t){return{type:o.default.error,error:t}},r.fork=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return{type:o.default.fork,iterator:t,args:n}},r.join=function(t){return{type:o.default.join,task:t}},r.race=function(t){return{type:o.default.race,competitors:t}},r.delay=function(t){return new Promise(function(r){setTimeout(function(){return r(!0)},t)})},r.invoke=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return{type:o.default.call,func:t,context:null,args:n}},r.call=function(t,r){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];return{type:o.default.call,func:t,context:r,args:i}},r.apply=function(t,r,n){return{type:o.default.call,func:t,context:r,args:n}},r.cps=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return{type:o.default.cps,func:t,args:n}},r.subscribe=function(t){return{type:o.default.subscribe,channel:t}},r.createChannel=function(t){var r=[];return t(function(t){return r.forEach(function(r){return r(t)})}),{subscribe:function(t){return r.push(t),function(){return r.splice(r.indexOf(t),1)}}}}},15448:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},a=(i=n(66571))&&i.__esModule?i:{default:i},s={obj:function(t){return(void 0===t?"undefined":o(t))==="object"&&!!t},all:function(t){return s.obj(t)&&t.type===a.default.all},error:function(t){return s.obj(t)&&t.type===a.default.error},array:Array.isArray,func:function(t){return"function"==typeof t},promise:function(t){return t&&s.func(t.then)},iterator:function(t){return t&&s.func(t.next)&&s.func(t.throw)},fork:function(t){return s.obj(t)&&t.type===a.default.fork},join:function(t){return s.obj(t)&&t.type===a.default.join},race:function(t){return s.obj(t)&&t.type===a.default.race},call:function(t){return s.obj(t)&&t.type===a.default.call},cps:function(t){return s.obj(t)&&t.type===a.default.cps},subscribe:function(t){return s.obj(t)&&t.type===a.default.subscribe},channel:function(t){return s.obj(t)&&s.func(t.subscribe)}};r.default=s},66571:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")}},63671:function(t,r,n){"use strict";var i=n(8435),o=n(58786),a=i("RegExp.prototype.exec"),s=n(5408);t.exports=function(t){if(!o(t))throw new s("`regex` must be a RegExp");return function(r){return null!==a(t,r)}}},46475:function(t,r){"use strict";function n(t,r){var n=t.length;for(t.push(r);0<n;){var i=n-1>>>1,o=t[i];if(0<a(o,r))t[i]=r,t[n]=o,n=i;else break}}function i(t){return 0===t.length?null:t[0]}function o(t){if(0===t.length)return null;var r=t[0],n=t.pop();if(n!==r){t[0]=n;for(var i=0,o=t.length,s=o>>>1;i<s;){var l=2*(i+1)-1,u=t[l],c=l+1,d=t[c];if(0>a(u,n))c<o&&0>a(d,u)?(t[i]=d,t[c]=n,i=c):(t[i]=u,t[l]=n,i=l);else if(c<o&&0>a(d,n))t[i]=d,t[c]=n,i=c;else break}}return r}function a(t,r){var n=t.sortIndex-r.sortIndex;return 0!==n?n:t.id-r.id}if("object"==typeof performance&&"function"==typeof performance.now){var s,l=performance;r.unstable_now=function(){return l.now()}}else{var u=Date,c=u.now();r.unstable_now=function(){return u.now()-c}}var d=[],f=[],h=1,m=null,g=3,y=!1,v=!1,b=!1,_="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,S="undefined"!=typeof setImmediate?setImmediate:null;function x(t){for(var r=i(f);null!==r;){if(null===r.callback)o(f);else if(r.startTime<=t)o(f),r.sortIndex=r.expirationTime,n(d,r);else break;r=i(f)}}function E(t){if(b=!1,x(t),!v)if(null!==i(d))v=!0,N(k);else{var r=i(f);null!==r&&j(E,r.startTime-t)}}function k(t,n){v=!1,b&&(b=!1,w(R),R=-1),y=!0;var a=g;try{for(x(n),m=i(d);null!==m&&(!(m.expirationTime>n)||t&&!M());){var s=m.callback;if("function"==typeof s){m.callback=null,g=m.priorityLevel;var l=s(m.expirationTime<=n);n=r.unstable_now(),"function"==typeof l?m.callback=l:m===i(d)&&o(d),x(n)}else o(d);m=i(d)}if(null!==m)var u=!0;else{var c=i(f);null!==c&&j(E,c.startTime-n),u=!1}return u}finally{m=null,g=a,y=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C=!1,O=null,R=-1,T=5,P=-1;function M(){return!(r.unstable_now()-P<T)}function I(){if(null!==O){var t=r.unstable_now();P=t;var n=!0;try{n=O(!0,t)}finally{n?s():(C=!1,O=null)}}else C=!1}if("function"==typeof S)s=function(){S(I)};else if("undefined"!=typeof MessageChannel){var A=new MessageChannel,L=A.port2;A.port1.onmessage=I,s=function(){L.postMessage(null)}}else s=function(){_(I,0)};function N(t){O=t,C||(C=!0,s())}function j(t,n){R=_(function(){t(r.unstable_now())},n)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(t){t.callback=null},r.unstable_continueExecution=function(){v||y||(v=!0,N(k))},r.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<t?Math.floor(1e3/t):5},r.unstable_getCurrentPriorityLevel=function(){return g},r.unstable_getFirstCallbackNode=function(){return i(d)},r.unstable_next=function(t){switch(g){case 1:case 2:case 3:var r=3;break;default:r=g}var n=g;g=r;try{return t()}finally{g=n}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(t,r){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=g;g=t;try{return r()}finally{g=n}},r.unstable_scheduleCallback=function(t,o,a){var s=r.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?s+a:s,t){case 1:var l=-1;break;case 2:l=250;break;case 5:l=0x3fffffff;break;case 4:l=1e4;break;default:l=5e3}return l=a+l,t={id:h++,callback:o,priorityLevel:t,startTime:a,expirationTime:l,sortIndex:-1},a>s?(t.sortIndex=a,n(f,t),null===i(d)&&t===i(f)&&(b?(w(R),R=-1):b=!0,j(E,a-s))):(t.sortIndex=l,n(d,t),v||y||(v=!0,N(k))),t},r.unstable_shouldYield=M,r.unstable_wrapCallback=function(t){var r=g;return function(){var n=g;g=r;try{return t.apply(this,arguments)}finally{g=n}}}},14616:function(t,r,n){"use strict";t.exports=n(46475)},47669:function(t,r,n){"use strict";var i=n(67286),o=n(75195),a=n(81181)(),s=n(50326),l=n(5408),u=i("%Math.floor%");t.exports=function(t,r){if("function"!=typeof t)throw new l("`fn` is not a function");if("number"!=typeof r||r<0||r>0xffffffff||u(r)!==r)throw new l("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,c=!0;if("length"in t&&s){var d=s(t,"length");d&&!d.configurable&&(i=!1),d&&!d.writable&&(c=!1)}return(i||c||!n)&&(a?o(t,"length",r,!0,!0):o(t,"length",r)),t}},20767:function(t,r,n){"use strict";var i=n(75195),o=n(81181)(),a=n(8462).functionsHaveConfigurableNames(),s=n(5408);t.exports=function(t,r){if("function"!=typeof t)throw new s("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||a)&&(o?i(t,"name",r,!0,!0):i(t,"name",r)),t}},12642:function(t,r,n){"use strict";var i=n(99500),o=n(5408),a=function(t,r,n){for(var i,o=t;null!=(i=o.next);o=i)if(i.key===r)return o.next=i.next,n||(i.next=t.next,t.next=i),i},s=function(t,r){if(t){var n=a(t,r);return n&&n.value}},l=function(t,r,n){var i=a(t,r);i?i.value=n:t.next={key:r,next:t.next,value:n}},u=function(t,r){if(t)return a(t,r,!0)};t.exports=function(){var t,r={assert:function(t){if(!r.has(t))throw new o("Side channel does not contain "+i(t))},delete:function(r){var n=t&&t.next,i=u(t,r);return i&&n&&n===i&&(t=void 0),!!i},get:function(r){return s(t,r)},has:function(r){var n;return!!(n=t)&&!!a(n,r)},set:function(r,n){t||(t={next:void 0}),l(t,r,n)}};return r}},46623:function(t,r,n){"use strict";var i=n(67286),o=n(8435),a=n(99500),s=n(5408),l=i("%Map%",!0),u=o("Map.prototype.get",!0),c=o("Map.prototype.set",!0),d=o("Map.prototype.has",!0),f=o("Map.prototype.delete",!0),h=o("Map.prototype.size",!0);t.exports=!!l&&function(){var t,r={assert:function(t){if(!r.has(t))throw new s("Side channel does not contain "+a(t))},delete:function(r){if(t){var n=f(t,r);return 0===h(t)&&(t=void 0),n}return!1},get:function(r){if(t)return u(t,r)},has:function(r){return!!t&&d(t,r)},set:function(r,n){t||(t=new l),c(t,r,n)}};return r}},42207:function(t,r,n){"use strict";var i=n(67286),o=n(8435),a=n(99500),s=n(46623),l=n(5408),u=i("%WeakMap%",!0),c=o("WeakMap.prototype.get",!0),d=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),h=o("WeakMap.prototype.delete",!0);t.exports=u?function(){var t,r,n={assert:function(t){if(!n.has(t))throw new l("Side channel does not contain "+a(t))},delete:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(t)return h(t,n)}else if(s&&r)return r.delete(n);return!1},get:function(n){return u&&n&&("object"==typeof n||"function"==typeof n)&&t?c(t,n):r&&r.get(n)},has:function(n){return u&&n&&("object"==typeof n||"function"==typeof n)&&t?f(t,n):!!r&&r.has(n)},set:function(n,i){u&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new u),d(t,n,i)):s&&(r||(r=s()),r.set(n,i))}};return n}:s},74294:function(t,r,n){"use strict";var i=n(5408),o=n(99500),a=n(12642),s=n(46623),l=n(42207)||s||a;t.exports=function(){var t,r={assert:function(t){if(!r.has(t))throw new i("Side channel does not contain "+o(t))},delete:function(r){return!!t&&t.delete(r)},get:function(r){return t&&t.get(r)},has:function(r){return!!t&&t.has(r)},set:function(r,n){t||(t=l()),t.set(r,n)}};return r}},67862:function(t,r,n){var i,o,a;i=Math.floor,o=Math.abs,a=Math.pow,t.exports=(function t(r,n,i){function o(s,l){if(!n[s]){if(!r[s]){if(a)return a(s,!0);var u=Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[s]={exports:{}};r[s][0].call(c.exports,function(t){return o(r[s][1][t]||t)},c,c.exports,t,r,n,i)}return n[s].exports}for(var a=void 0,s=0;s<i.length;s++)o(i[s]);return o})({1:[function(t,r,n){"use strict";function i(t){var r=t.length;if(0<r%4)throw Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=r);var i=n===r?0:4-n%4;return[n,i]}n.byteLength=function(t){var r=i(t),n=r[0],o=r[1];return 3*(n+o)/4-o},n.toByteArray=function(t){var r,n,o=i(t),l=o[0],u=o[1],c=new s(3*(l+u)/4-u),d=0,f=0<u?l-4:l;for(n=0;n<f;n+=4)r=a[t.charCodeAt(n)]<<18|a[t.charCodeAt(n+1)]<<12|a[t.charCodeAt(n+2)]<<6|a[t.charCodeAt(n+3)],c[d++]=255&r>>16,c[d++]=255&r>>8,c[d++]=255&r;return 2===u&&(r=a[t.charCodeAt(n)]<<2|a[t.charCodeAt(n+1)]>>4,c[d++]=255&r),1===u&&(r=a[t.charCodeAt(n)]<<10|a[t.charCodeAt(n+1)]<<4|a[t.charCodeAt(n+2)]>>2,c[d++]=255&r>>8,c[d++]=255&r),c},n.fromByteArray=function(t){for(var r,n=t.length,i=n%3,a=[],s=0,l=n-i;s<l;s+=16383)a.push(function(t,r,n){for(var i,a=[],s=r;s<n;s+=3)a.push(o[63&(i=(0xff0000&t[s]<<16)+(65280&t[s+1]<<8)+(255&t[s+2]))>>18]+o[63&i>>12]+o[63&i>>6]+o[63&i]);return a.join("")}(t,s,s+16383>l?l:s+16383));return 1===i?a.push(o[(r=t[n-1])>>2]+o[63&r<<4]+"=="):2===i&&a.push(o[(r=(t[n-2]<<8)+t[n-1])>>10]+o[63&r>>4]+o[63&r<<2]+"="),a.join("")};for(var o=[],a=[],s="undefined"==typeof Uint8Array?Array:Uint8Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,c=l.length;u<c;++u)o[u]=l[u],a[l.charCodeAt(u)]=u;a[45]=62,a[95]=63},{}],2:[function(){},{}],3:[function(t,r,n){(function(){(function(){"use strict";var r=String.fromCharCode,i=Math.min;function o(t){if(0x7fffffff<t)throw RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return r.__proto__=s.prototype,r}function s(t,r,n){if("number"==typeof t){if("string"==typeof r)throw TypeError('The "string" argument must be of type string. Received type number');return c(t)}return l(t,r,n)}function l(t,r,n){if("string"==typeof t){var i=t,a=r;if(("string"!=typeof a||""===a)&&(a="utf8"),!s.isEncoding(a))throw TypeError("Unknown encoding: "+a);var l=0|h(i,a),u=o(l),c=u.write(i,a);return c!==l&&(u=u.slice(0,c)),u}if(ArrayBuffer.isView(t))return d(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(T(t,ArrayBuffer)||t&&T(t.buffer,ArrayBuffer)){var m,g=t,y=r,v=n;if(0>y||g.byteLength<y)throw RangeError('"offset" is outside of buffer bounds');if(g.byteLength<y+(v||0))throw RangeError('"length" is outside of buffer bounds');return(m=void 0===y&&void 0===v?new Uint8Array(g):void 0===v?new Uint8Array(g,y):new Uint8Array(g,y,v)).__proto__=s.prototype,m}if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var b=t.valueOf&&t.valueOf();if(null!=b&&b!==t)return s.from(b,r,n);var _=function(t){if(s.isBuffer(t)){var r=0|f(t.length),n=o(r);return 0===n.length||t.copy(n,0,0,r),n}return void 0===t.length?"Buffer"===t.type&&Array.isArray(t.data)?d(t.data):void 0:"number"!=typeof t.length||function(t){return t!=t}(t.length)?o(0):d(t)}(t);if(_)return _;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),r,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(0>t)throw RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return u(t),o(0>t?0:0|f(t))}function d(t){for(var r=0>t.length?0:0|f(t.length),n=o(r),i=0;i<r;i+=1)n[i]=255&t[i];return n}function f(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function h(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||T(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var n=t.length,i=2<arguments.length&&!0===arguments[2];if(!i&&0===n)return 0;for(var o=!1;;)switch(r){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return k(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return O(t).length;default:if(o)return i?-1:k(t).length;r=(""+r).toLowerCase(),o=!0}}function m(t,n,o){var a,s,l,u=!1;if((void 0===n||0>n)&&(n=0),n>this.length||((void 0===o||o>this.length)&&(o=this.length),0>=o)||(o>>>=0)<=(n>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,r,n){var i,o=t.length;(!r||0>r)&&(r=0),(!n||0>n||n>o)&&(n=o);for(var a="",s=r;s<n;++s){a+=16>(i=t[s])?"0"+i.toString(16):i.toString(16)}return a}(this,n,o);case"utf8":case"utf-8":return b(this,n,o);case"ascii":return function(t,n,o){var a="";o=i(t.length,o);for(var s=n;s<o;++s)a+=r(127&t[s]);return a}(this,n,o);case"latin1":case"binary":return function(t,n,o){var a="";o=i(t.length,o);for(var s=n;s<o;++s)a+=r(t[s]);return a}(this,n,o);case"base64":return a=this,s=n,l=o,0===s&&l===a.length?P.fromByteArray(a):P.fromByteArray(a.slice(s,l));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,n,i){for(var o=t.slice(n,i),a="",s=0;s<o.length;s+=2)a+=r(o[s]+256*o[s+1]);return a}(this,n,o);default:if(u)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),u=!0}}function g(t,r,n){var i=t[r];t[r]=t[n],t[n]=i}function y(t,r,n,i,o){var a;if(0===t.length)return -1;if("string"==typeof n?(i=n,n=0):0x7fffffff<n?n=0x7fffffff:-0x80000000>n&&(n=-0x80000000),(a=n*=1)!=a&&(n=o?0:t.length-1),0>n&&(n=t.length+n),n>=t.length){if(o)return -1;n=t.length-1}else if(0>n)if(!o)return -1;else n=0;if("string"==typeof r&&(r=s.from(r,i)),s.isBuffer(r))return 0===r.length?-1:v(t,r,n,i,o);if("number"==typeof r)return r&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,r,n):Uint8Array.prototype.lastIndexOf.call(t,r,n):v(t,[r],n,i,o);throw TypeError("val must be string, number or Buffer")}function v(t,r,n,i,o){function a(t,r){return 1===l?t[r]:t.readUInt16BE(r*l)}var s,l=1,u=t.length,c=r.length;if(void 0!==i&&("ucs2"===(i=(i+"").toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(2>t.length||2>r.length)return -1;l=2,u/=2,c/=2,n/=2}if(o){var d=-1;for(s=n;s<u;s++)if(a(t,s)!==a(r,-1===d?0:s-d))-1!==d&&(s-=s-d),d=-1;else if(-1===d&&(d=s),s-d+1===c)return d*l}else for(n+c>u&&(n=u-c),s=n;0<=s;s--){for(var f=!0,h=0;h<c;h++)if(a(t,s+h)!==a(r,h)){f=!1;break}if(f)return s}return -1}function b(t,n,o){o=i(t.length,o);for(var a=[],s=n;s<o;){var l,u,c,d,f=t[s],h=null,m=239<f?4:223<f?3:191<f?2:1;s+m<=o&&(1===m?128>f&&(h=f):2===m?128==(192&(l=t[s+1]))&&127<(d=(31&f)<<6|63&l)&&(h=d):3===m?(l=t[s+1],u=t[s+2],128==(192&l)&&128==(192&u)&&2047<(d=(15&f)<<12|(63&l)<<6|63&u)&&(55296>d||57343<d)&&(h=d)):4===m&&(l=t[s+1],u=t[s+2],c=t[s+3],128==(192&l)&&128==(192&u)&&128==(192&c)&&65535<(d=(15&f)<<18|(63&l)<<12|(63&u)<<6|63&c)&&1114112>d&&(h=d))),null===h?(h=65533,m=1):65535<h&&(h-=65536,a.push(55296|1023&h>>>10),h=56320|1023&h),a.push(h),s+=m}var g=a,y=g.length;if(y<=4096)return r.apply(String,g);for(var v="",b=0;b<y;)v+=r.apply(String,g.slice(b,b+=4096));return v}function _(t,r,n){if(0!=t%1||0>t)throw RangeError("offset is not uint");if(t+r>n)throw RangeError("Trying to access beyond buffer length")}function w(t,r,n,i,o,a){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(r>o||r<a)throw RangeError('"value" argument is out of bounds');if(n+i>t.length)throw RangeError("Index out of range")}function S(t,r,n,i){if(n+i>t.length||0>n)throw RangeError("Index out of range")}function x(t,r,n,i,o){return r*=1,n>>>=0,o||S(t,r,n,4,34028234663852886e22,-34028234663852886e22),M.write(t,r,n,i,23,4),n+4}function E(t,r,n,i,o){return r*=1,n>>>=0,o||S(t,r,n,8,17976931348623157e292,-17976931348623157e292),M.write(t,r,n,i,52,8),n+8}function k(t,r){r=r||1/0;for(var n,i=t.length,o=null,a=[],s=0;s<i;++s){if(55295<(n=t.charCodeAt(s))&&57344>n){if(!o){if(56319<n||s+1===i){-1<(r-=3)&&a.push(239,191,189);continue}o=n;continue}if(56320>n){-1<(r-=3)&&a.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&-1<(r-=3)&&a.push(239,191,189);if(o=null,128>n){if(0>(r-=1))break;a.push(n)}else if(2048>n){if(0>(r-=2))break;a.push(192|n>>6,128|63&n)}else if(65536>n){if(0>(r-=3))break;a.push(224|n>>12,128|63&n>>6,128|63&n)}else if(1114112>n){if(0>(r-=4))break;a.push(240|n>>18,128|63&n>>12,128|63&n>>6,128|63&n)}else throw Error("Invalid code point")}return a}function C(t){for(var r=[],n=0;n<t.length;++n)r.push(255&t.charCodeAt(n));return r}function O(t){return P.toByteArray(function(t){if(2>(t=(t=t.split("=")[0]).trim().replace(I,"")).length)return"";for(;0!=t.length%4;)t+="=";return t}(t))}function R(t,r,n,i){for(var o=0;o<i&&!(o+n>=r.length||o>=t.length);++o)r[o+n]=t[o];return o}function T(t,r){return t instanceof r||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===r.name}var P=t("base64-js"),M=t("ieee754");n.Buffer=s,n.SlowBuffer=function(t){return+t!=t&&(t=0),s.alloc(+t)},n.INSPECT_MAX_BYTES=50,n.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){return s.isBuffer(this)?this.buffer:void 0}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){return s.isBuffer(this)?this.byteOffset:void 0}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),s.poolSize=8192,s.from=function(t,r,n){return l(t,r,n)},s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,s.alloc=function(t,r,n){return u(t),0>=t||void 0===r?o(t):"string"==typeof n?o(t).fill(r,n):o(t).fill(r)},s.allocUnsafe=function(t){return c(t)},s.allocUnsafeSlow=function(t){return c(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,r){if(T(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),T(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(t)||!s.isBuffer(r))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var n=t.length,o=r.length,a=0,l=i(n,o);a<l;++a)if(t[a]!==r[a]){n=t[a],o=r[a];break}return n<o?-1:+(o<n)},s.isEncoding=function(t){switch((t+"").toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,r){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===r)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var n,i=s.allocUnsafe(r),o=0;for(n=0;n<t.length;++n){var a=t[n];if(T(a,Uint8Array)&&(a=s.from(a)),!s.isBuffer(a))throw TypeError('"list" argument must be an Array of Buffers');a.copy(i,o),o+=a.length}return i},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(0!=t%2)throw RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)g(this,r,r+1);return this},s.prototype.swap32=function(){var t=this.length;if(0!=t%4)throw RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)g(this,r,r+3),g(this,r+1,r+2);return this},s.prototype.swap64=function(){var t=this.length;if(0!=t%8)throw RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)g(this,r,r+7),g(this,r+1,r+6),g(this,r+2,r+5),g(this,r+3,r+4);return this},s.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?b(this,0,t):m.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",r=n.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},s.prototype.compare=function(t,r,n,o,a){if(T(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===r&&(r=0),void 0===n&&(n=t?t.length:0),void 0===o&&(o=0),void 0===a&&(a=this.length),0>r||n>t.length||0>o||a>this.length)throw RangeError("out of range index");if(o>=a&&r>=n)return 0;if(o>=a)return -1;if(r>=n)return 1;if(r>>>=0,n>>>=0,o>>>=0,a>>>=0,this===t)return 0;for(var l=a-o,u=n-r,c=i(l,u),d=this.slice(o,a),f=t.slice(r,n),h=0;h<c;++h)if(d[h]!==f[h]){l=d[h],u=f[h];break}return l<u?-1:+(u<l)},s.prototype.includes=function(t,r,n){return -1!==this.indexOf(t,r,n)},s.prototype.indexOf=function(t,r,n){return y(this,t,r,n,!0)},s.prototype.lastIndexOf=function(t,r,n){return y(this,t,r,n,!1)},s.prototype.write=function(t,r,n,i){if(void 0===r)i="utf8",n=this.length,r=0;else if(void 0===n&&"string"==typeof r)i=r,n=this.length,r=0;else if(isFinite(r))r>>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,a,s,l,u,c,d,f,h=this.length-r;if((void 0===n||n>h)&&(n=h),0<t.length&&(0>n||0>r)||r>this.length)throw RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var m=!1;;)switch(i){case"hex":return function(t,r,n,i){n=+n||0;var o=t.length-n;i?(i*=1)>o&&(i=o):i=o;var a=r.length;i>a/2&&(i=a/2);for(var s,l,u=0;u<i&&(s=l=parseInt(r.substr(2*u,2),16))==s;++u)t[n+u]=l;return u}(this,t,r,n);case"utf8":case"utf-8":return o=r,a=n,R(k(t,this.length-o),this,o,a);case"ascii":return s=r,l=n,R(C(t),this,s,l);case"latin1":case"binary":return function(t,r,n,i){return R(C(r),t,n,i)}(this,t,r,n);case"base64":return u=r,c=n,R(O(t),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return d=r,f=n,R(function(t,r){for(var n,i,o=[],a=0;a<t.length&&!(0>(r-=2));++a)i=(n=t.charCodeAt(a))>>8,o.push(n%256),o.push(i);return o}(t,this.length-d),this,d,f);default:if(m)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),m=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,r){var n=this.length;t=~~t,r=void 0===r?n:~~r,0>t?0>(t+=n)&&(t=0):t>n&&(t=n),0>r?0>(r+=n)&&(r=0):r>n&&(r=n),r<t&&(r=t);var i=this.subarray(t,r);return i.__proto__=s.prototype,i},s.prototype.readUIntLE=function(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);for(var i=this[t],o=1,a=0;++a<r&&(o*=256);)i+=this[t+a]*o;return i},s.prototype.readUIntBE=function(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);for(var i=this[t+--r],o=1;0<r&&(o*=256);)i+=this[t+--r]*o;return i},s.prototype.readUInt8=function(t,r){return t>>>=0,r||_(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,r){return t>>>=0,r||_(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,r){return t>>>=0,r||_(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,r){return t>>>=0,r||_(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},s.prototype.readUInt32BE=function(t,r){return t>>>=0,r||_(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);for(var i=this[t],o=1,s=0;++s<r&&(o*=256);)i+=this[t+s]*o;return i>=(o*=128)&&(i-=a(2,8*r)),i},s.prototype.readIntBE=function(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);for(var i=r,o=1,s=this[t+--i];0<i&&(o*=256);)s+=this[t+--i]*o;return s>=(o*=128)&&(s-=a(2,8*r)),s},s.prototype.readInt8=function(t,r){return t>>>=0,r||_(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,r){t>>>=0,r||_(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?0xffff0000|n:n},s.prototype.readInt16BE=function(t,r){t>>>=0,r||_(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?0xffff0000|n:n},s.prototype.readInt32LE=function(t,r){return t>>>=0,r||_(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,r){return t>>>=0,r||_(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,r){return t>>>=0,r||_(t,4,this.length),M.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,r){return t>>>=0,r||_(t,4,this.length),M.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,r){return t>>>=0,r||_(t,8,this.length),M.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,r){return t>>>=0,r||_(t,8,this.length),M.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,r,n,i){if(t*=1,r>>>=0,n>>>=0,!i){var o=a(2,8*n)-1;w(this,t,r,n,o,0)}var s=1,l=0;for(this[r]=255&t;++l<n&&(s*=256);)this[r+l]=255&t/s;return r+n},s.prototype.writeUIntBE=function(t,r,n,i){if(t*=1,r>>>=0,n>>>=0,!i){var o=a(2,8*n)-1;w(this,t,r,n,o,0)}var s=n-1,l=1;for(this[r+s]=255&t;0<=--s&&(l*=256);)this[r+s]=255&t/l;return r+n},s.prototype.writeUInt8=function(t,r,n){return t*=1,r>>>=0,n||w(this,t,r,1,255,0),this[r]=255&t,r+1},s.prototype.writeUInt16LE=function(t,r,n){return t*=1,r>>>=0,n||w(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},s.prototype.writeUInt16BE=function(t,r,n){return t*=1,r>>>=0,n||w(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},s.prototype.writeUInt32LE=function(t,r,n){return t*=1,r>>>=0,n||w(this,t,r,4,0xffffffff,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},s.prototype.writeUInt32BE=function(t,r,n){return t*=1,r>>>=0,n||w(this,t,r,4,0xffffffff,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},s.prototype.writeIntLE=function(t,r,n,i){if(t*=1,r>>>=0,!i){var o=a(2,8*n-1);w(this,t,r,n,o-1,-o)}var s=0,l=1,u=0;for(this[r]=255&t;++s<n&&(l*=256);)0>t&&0===u&&0!==this[r+s-1]&&(u=1),this[r+s]=255&(t/l>>0)-u;return r+n},s.prototype.writeIntBE=function(t,r,n,i){if(t*=1,r>>>=0,!i){var o=a(2,8*n-1);w(this,t,r,n,o-1,-o)}var s=n-1,l=1,u=0;for(this[r+s]=255&t;0<=--s&&(l*=256);)0>t&&0===u&&0!==this[r+s+1]&&(u=1),this[r+s]=255&(t/l>>0)-u;return r+n},s.prototype.writeInt8=function(t,r,n){return t*=1,r>>>=0,n||w(this,t,r,1,127,-128),0>t&&(t=255+t+1),this[r]=255&t,r+1},s.prototype.writeInt16LE=function(t,r,n){return t*=1,r>>>=0,n||w(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},s.prototype.writeInt16BE=function(t,r,n){return t*=1,r>>>=0,n||w(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},s.prototype.writeInt32LE=function(t,r,n){return t*=1,r>>>=0,n||w(this,t,r,4,0x7fffffff,-0x80000000),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},s.prototype.writeInt32BE=function(t,r,n){return t*=1,r>>>=0,n||w(this,t,r,4,0x7fffffff,-0x80000000),0>t&&(t=0xffffffff+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},s.prototype.writeFloatLE=function(t,r,n){return x(this,t,r,!0,n)},s.prototype.writeFloatBE=function(t,r,n){return x(this,t,r,!1,n)},s.prototype.writeDoubleLE=function(t,r,n){return E(this,t,r,!0,n)},s.prototype.writeDoubleBE=function(t,r,n){return E(this,t,r,!1,n)},s.prototype.copy=function(t,r,n,i){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),r>=t.length&&(r=t.length),r||(r=0),0<i&&i<n&&(i=n),i===n||0===t.length||0===this.length)return 0;if(0>r)throw RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw RangeError("Index out of range");if(0>i)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);var o=i-n;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,n,i);else if(this===t&&n<r&&r<i)for(var a=o-1;0<=a;--a)t[a+r]=this[a+n];else Uint8Array.prototype.set.call(t,this.subarray(n,i),r);return o},s.prototype.fill=function(t,r,n,i){if("string"==typeof t){if("string"==typeof r?(i=r,r=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(1===t.length){var o,a=t.charCodeAt(0);("utf8"===i&&128>a||"latin1"===i)&&(t=a)}}else"number"==typeof t&&(t&=255);if(0>r||this.length<r||this.length<n)throw RangeError("Out of range index");if(n<=r)return this;if(r>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=r;o<n;++o)this[o]=t;else{var l=s.isBuffer(t)?t:s.from(t,i),u=l.length;if(0===u)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=l[o%u]}return this};var I=/[^+/0-9A-Za-z-_]/g}).call(this)}).call(this,t("buffer").Buffer)},{"base64-js":1,buffer:3,ieee754:9}],4:[function(t,r,n){(function(i){(function(){let o;n.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+r.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;t.splice(1,0,n,"color: inherit");let i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,t=>{"%%"===t||(i++,"%c"===t&&(o=i))}),t.splice(o,0,n)},n.save=function(t){try{t?n.storage.setItem("debug",t):n.storage.removeItem("debug")}catch(t){}},n.load=function(){let t;try{t=n.storage.getItem("debug")}catch(t){}return!t&&void 0!==i&&"env"in i&&(t=i.env.DEBUG),t},n.useColors=function(){return!!("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},n.storage=function(){try{return localStorage}catch(t){}}(),o=!1,n.destroy=()=>{o||(o=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.log=console.debug||console.log||(()=>{}),r.exports=t("./common")(n);let{formatters:a}=r.exports;a.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}).call(this)}).call(this,t("_process"))},{"./common":5,_process:12}],5:[function(t,r){r.exports=function(r){function n(t){function r(...t){if(!r.enabled)return;let i=+new Date;r.diff=i-(o||i),r.prev=o,r.curr=i,o=i,t[0]=n.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let a=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(i,o)=>{if("%%"===i)return"%";a++;let s=n.formatters[o];if("function"==typeof s){let n=t[a];i=s.call(r,n),t.splice(a,1),a--}return i}),n.formatArgs.call(r,t),(r.log||n.log).apply(r,t)}let o,a=null;return r.namespace=t,r.useColors=n.useColors(),r.color=n.selectColor(t),r.extend=i,r.destroy=n.destroy,Object.defineProperty(r,"enabled",{enumerable:!0,configurable:!1,get:()=>null===a?n.enabled(t):a,set:t=>{a=t}}),"function"==typeof n.init&&n.init(r),r}function i(t,r){let i=n(this.namespace+(void 0===r?":":r)+t);return i.log=this.log,i}function a(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return n.debug=n,n.default=n,n.coerce=function(t){return t instanceof Error?t.stack||t.message:t},n.disable=function(){let t=[...n.names.map(a),...n.skips.map(a).map(t=>"-"+t)].join(",");return n.enable(""),t},n.enable=function(t){let r;n.save(t),n.names=[],n.skips=[];let i=("string"==typeof t?t:"").split(/[\s,]+/),o=i.length;for(r=0;r<o;r++)i[r]&&("-"===(t=i[r].replace(/\*/g,".*?"))[0]?n.skips.push(RegExp("^"+t.substr(1)+"$")):n.names.push(RegExp("^"+t+"$")))},n.enabled=function(t){let r,i;if("*"===t[t.length-1])return!0;for(r=0,i=n.skips.length;r<i;r++)if(n.skips[r].test(t))return!1;for(r=0,i=n.names.length;r<i;r++)if(n.names[r].test(t))return!0;return!1},n.humanize=t("ms"),n.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(r).forEach(t=>{n[t]=r[t]}),n.names=[],n.skips=[],n.formatters={},n.selectColor=function(t){let r=0;for(let n=0;n<t.length;n++)r=(r<<5)-r+t.charCodeAt(n)|0;return n.colors[o(r)%n.colors.length]},n.enable(n.load()),n}},{ms:11}],6:[function(t,r){"use strict";function n(t,r){for(let n in r)Object.defineProperty(t,n,{value:r[n],enumerable:!0,configurable:!0});return t}r.exports=function(t,r,i){if(!t||"string"==typeof t)throw TypeError("Please pass an Error to err-code");i||(i={}),"object"==typeof r&&(i=r,r=""),r&&(i.code=r);try{return n(t,i)}catch(o){i.message=t.message,i.stack=t.stack;let r=function(){};return r.prototype=Object.create(Object.getPrototypeOf(t)),n(new r,i)}}},{}],7:[function(t,r){"use strict";function n(){n.init.call(this)}function i(t){if("function"!=typeof t)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function o(t){return void 0===t._maxListeners?n.defaultMaxListeners:t._maxListeners}function a(t,r,n,a){var s,l,u;if(i(n),void 0===(l=t._events)?(l=t._events=Object.create(null),t._eventsCount=0):(void 0!==l.newListener&&(t.emit("newListener",r,n.listener?n.listener:n),l=t._events),u=l[r]),void 0===u)u=l[r]=n,++t._eventsCount;else if("function"==typeof u?u=l[r]=a?[n,u]:[u,n]:a?u.unshift(n):u.push(n),0<(s=o(t))&&u.length>s&&!u.warned){u.warned=!0;var c=Error("Possible EventEmitter memory leak detected. "+u.length+" "+r+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=r,c.count=u.length,console&&console.warn&&console.warn(c)}return t}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function l(t,r,n){var i={fired:!1,wrapFn:void 0,target:t,type:r,listener:n},o=s.bind(i);return o.listener=n,i.wrapFn=o,o}function u(t,r,n){var i=t._events;if(void 0===i)return[];var o=i[r];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(t){for(var r=Array(t.length),n=0;n<r.length;++n)r[n]=t[n].listener||t[n];return r}(o):d(o,o.length)}function c(t){var r=this._events;if(void 0!==r){var n=r[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function d(t,r){for(var n=Array(r),i=0;i<r;++i)n[i]=t[i];return n}function f(t,r,n,i){if("function"==typeof t.on)i.once?t.once(r,n):t.on(r,n);else if("function"==typeof t.addEventListener)t.addEventListener(r,function o(a){i.once&&t.removeEventListener(r,o),n(a)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}var h,m="object"==typeof Reflect?Reflect:null,g=m&&"function"==typeof m.apply?m.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)};h=m&&"function"==typeof m.ownKeys?m.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var y=Number.isNaN||function(t){return t!=t};r.exports=n,r.exports.once=function(t,r){return new Promise(function(n,i){function o(n){t.removeListener(r,a),i(n)}function a(){"function"==typeof t.removeListener&&t.removeListener("error",o),n([].slice.call(arguments))}f(t,r,a,{once:!0}),"error"!==r&&"function"==typeof t.on&&f(t,"error",o,{once:!0})})},n.EventEmitter=n,n.prototype._events=void 0,n.prototype._eventsCount=0,n.prototype._maxListeners=void 0;var v=10;Object.defineProperty(n,"defaultMaxListeners",{enumerable:!0,get:function(){return v},set:function(t){if("number"!=typeof t||0>t||y(t))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");v=t}}),n.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},n.prototype.setMaxListeners=function(t){if("number"!=typeof t||0>t||y(t))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},n.prototype.getMaxListeners=function(){return o(this)},n.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var i="error"===t,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){if(0<r.length&&(a=r[0]),a instanceof Error)throw a;var a,s=Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[t];if(void 0===l)return!1;if("function"==typeof l)g(l,this,r);else for(var u=l.length,c=d(l,u),n=0;n<u;++n)g(c[n],this,r);return!0},n.prototype.addListener=function(t,r){return a(this,t,r,!1)},n.prototype.on=n.prototype.addListener,n.prototype.prependListener=function(t,r){return a(this,t,r,!0)},n.prototype.once=function(t,r){return i(r),this.on(t,l(this,t,r)),this},n.prototype.prependOnceListener=function(t,r){return i(r),this.prependListener(t,l(this,t,r)),this},n.prototype.removeListener=function(t,r){var n,o,a,s,l;if(i(r),void 0===(o=this._events)||void 0===(n=o[t]))return this;if(n===r||n.listener===r)0==--this._eventsCount?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit("removeListener",t,n.listener||r));else if("function"!=typeof n){for(a=-1,s=n.length-1;0<=s;s--)if(n[s]===r||n[s].listener===r){l=n[s].listener,a=s;break}if(0>a)return this;0===a?n.shift():function(t,r){for(;r+1<t.length;r++)t[r]=t[r+1];t.pop()}(n,a),1===n.length&&(o[t]=n[0]),void 0!==o.removeListener&&this.emit("removeListener",t,l||r)}return this},n.prototype.off=n.prototype.removeListener,n.prototype.removeAllListeners=function(t){var r,n,i;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0==arguments.length){var o,a=Object.keys(n);for(i=0;i<a.length;++i)"removeListener"!==(o=a[i])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(r=n[t]))this.removeListener(t,r);else if(void 0!==r)for(i=r.length-1;0<=i;i--)this.removeListener(t,r[i]);return this},n.prototype.listeners=function(t){return u(this,t,!0)},n.prototype.rawListeners=function(t){return u(this,t,!1)},n.listenerCount=function(t,r){return"function"==typeof t.listenerCount?t.listenerCount(r):c.call(t,r)},n.prototype.listenerCount=c,n.prototype.eventNames=function(){return 0<this._eventsCount?h(this._events):[]}},{}],8:[function(t,r){r.exports=function(){if("undefined"==typeof globalThis)return null;var t={RTCPeerConnection:globalThis.RTCPeerConnection||globalThis.mozRTCPeerConnection||globalThis.webkitRTCPeerConnection,RTCSessionDescription:globalThis.RTCSessionDescription||globalThis.mozRTCSessionDescription||globalThis.webkitRTCSessionDescription,RTCIceCandidate:globalThis.RTCIceCandidate||globalThis.mozRTCIceCandidate||globalThis.webkitRTCIceCandidate};return t.RTCPeerConnection?t:null}},{}],9:[function(t,r,n){n.read=function(t,r,n,i,o){var s,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,f=-7,h=n?o-1:0,m=n?-1:1,g=t[r+h];for(h+=m,s=g&(1<<-f)-1,g>>=-f,f+=u;0<f;s=256*s+t[r+h],h+=m,f-=8);for(l=s&(1<<-f)-1,s>>=-f,f+=i;0<f;l=256*l+t[r+h],h+=m,f-=8);if(0===s)s=1-d;else{if(s===c)return l?NaN:1/0*(g?-1:1);l+=a(2,i),s-=d}return(g?-1:1)*l*a(2,s-i)},n.write=function(t,r,n,s,l,u){var c,d,f,h=Math.LN2,m=Math.log,g=8*u-l-1,y=(1<<g)-1,v=y>>1,b=23===l?a(2,-24)-a(2,-77):0,_=s?0:u-1,w=s?1:-1,S=+(0>r||0===r&&0>1/r);for(isNaN(r=o(r))||r===1/0?(d=+!!isNaN(r),c=y):(c=i(m(r)/h),1>r*(f=a(2,-c))&&(c--,f*=2),2<=(r+=1<=c+v?b/f:b*a(2,1-v))*f&&(c++,f/=2),c+v>=y?(d=0,c=y):1<=c+v?(d=(r*f-1)*a(2,l),c+=v):(d=r*a(2,v-1)*a(2,l),c=0));8<=l;t[n+_]=255&d,_+=w,d/=256,l-=8);for(c=c<<l|d,g+=l;0<g;t[n+_]=255&c,_+=w,c/=256,g-=8);t[n+_-w]|=128*S}},{}],10:[function(t,r){r.exports="function"==typeof Object.create?function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}},{}],11:[function(t,r){var n=Math.round;function i(t,r,i,o){return n(t/i)+" "+o+(r>=1.5*i?"s":"")}r.exports=function(t,r){r=r||{};var a,s,l=typeof t;if("string"==l&&0<t.length){var u=t;if(!(100<(u+="").length)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(u);if(c){var d=parseFloat(c[1]),f=(c[2]||"ms").toLowerCase();return"years"===f||"year"===f||"yrs"===f||"yr"===f||"y"===f?315576e5*d:"weeks"===f||"week"===f||"w"===f?6048e5*d:"days"===f||"day"===f||"d"===f?864e5*d:"hours"===f||"hour"===f||"hrs"===f||"hr"===f||"h"===f?36e5*d:"minutes"===f||"minute"===f||"mins"===f||"min"===f||"m"===f?6e4*d:"seconds"===f||"second"===f||"secs"===f||"sec"===f||"s"===f?1e3*d:"milliseconds"===f||"millisecond"===f||"msecs"===f||"msec"===f||"ms"===f?d:void 0}}return}if("number"===l&&isFinite(t))return r.long?864e5<=(a=o(t))?i(t,a,864e5,"day"):36e5<=a?i(t,a,36e5,"hour"):6e4<=a?i(t,a,6e4,"minute"):1e3<=a?i(t,a,1e3,"second"):t+" ms":864e5<=(s=o(t))?n(t/864e5)+"d":36e5<=s?n(t/36e5)+"h":6e4<=s?n(t/6e4)+"m":1e3<=s?n(t/1e3)+"s":t+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},{}],12:[function(t,r){function n(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function o(t){if(c===setTimeout)return setTimeout(t,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(r){try{return c.call(null,t,0)}catch(r){return c.call(this,t,0)}}}function a(){g&&h&&(g=!1,h.length?m=h.concat(m):y=-1,m.length&&s())}function s(){if(!g){var t=o(a);g=!0;for(var r=m.length;r;){for(h=m,m=[];++y<r;)h&&h[y].run();y=-1,r=m.length}h=null,g=!1,function(t){if(d===clearTimeout)return clearTimeout(t);if((d===i||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(t);try{d(t)}catch(r){try{return d.call(null,t)}catch(r){return d.call(this,t)}}}(t)}}function l(t,r){this.fun=t,this.array=r}function u(){}var c,d,f=r.exports={};try{c="function"==typeof setTimeout?setTimeout:n}catch(t){c=n}try{d="function"==typeof clearTimeout?clearTimeout:i}catch(t){d=i}var h,m=[],g=!1,y=-1;f.nextTick=function(t){var r=Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)r[n-1]=arguments[n];m.push(new l(t,r)),1!==m.length||g||o(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(){return[]},f.binding=function(){throw Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(){throw Error("process.chdir is not supported")},f.umask=function(){return 0}},{}],13:[function(t,r){(function(t){(function(){let n;r.exports="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"==typeof window?t:window):t=>(n||(n=Promise.resolve())).then(t).catch(t=>setTimeout(()=>{throw t},0))}).call(this)}).call(this,void 0===n.g?"undefined"==typeof self?"undefined"==typeof window?{}:window:self:n.g)},{}],14:[function(t,r){(function(n,i){(function(){"use strict";var o=t("safe-buffer").Buffer,a=i.crypto||i.msCrypto;r.exports=a&&a.getRandomValues?function(t,r){if(t>0xffffffff)throw RangeError("requested too many random bytes");var i=o.allocUnsafe(t);if(0<t)if(65536<t)for(var s=0;s<t;s+=65536)a.getRandomValues(i.slice(s,s+65536));else a.getRandomValues(i);return"function"==typeof r?n.nextTick(function(){r(null,i)}):i}:function(){throw Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this)}).call(this,t("_process"),void 0===n.g?"undefined"==typeof self?"undefined"==typeof window?{}:window:self:n.g)},{_process:12,"safe-buffer":30}],15:[function(t,r){"use strict";function n(t,r,n){n||(n=Error);var i=function(t){function n(n,i,o){return t.call(this,"string"==typeof r?r:r(n,i,o))||this}return n.prototype=Object.create(t.prototype),n.prototype.constructor=n,n.__proto__=t,n}(n);i.prototype.name=n.name,i.prototype.code=t,o[t]=i}function i(t,r){if(Array.isArray(t)){var n=t.length;return t=t.map(function(t){return t+""}),2<n?"one of ".concat(r," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(r," ").concat(t[0]," or ").concat(t[1]):"of ".concat(r," ").concat(t[0])}return"of ".concat(r," ").concat(t+"")}var o={};n("ERR_INVALID_OPT_VALUE",function(t,r){return'The value "'+r+'" is invalid for option "'+t+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(t,r,n){if("string"==typeof r&&(o="not ",r.substr(0,o.length)===o)?(u="must not be",r=r.replace(/^not /,"")):u="must be",a=" argument",(void 0===s||s>t.length)&&(s=t.length),t.substring(s-a.length,s)===a)c="The ".concat(t," ").concat(u," ").concat(i(r,"type"));else{var o,a,s,l,u,c,d=("number"!=typeof l&&(l=0),l+1>t.length||-1===t.indexOf(".",l))?"argument":"property";c='The "'.concat(t,'" ').concat(d," ").concat(u," ").concat(i(r,"type"))}return c+". Received type ".concat(typeof n)},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),r.exports.codes=o},{}],16:[function(t,r){(function(n){(function(){"use strict";function i(t){return this instanceof i?void(l.call(this,t),u.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",o)))):new i(t)}function o(){this._writableState.ended||n.nextTick(a,this)}function a(t){t.end()}var s=Object.keys||function(t){var r=[];for(var n in t)r.push(n);return r};r.exports=i;var l=t("./_stream_readable"),u=t("./_stream_writable");t("inherits")(i,l);for(var c,d=s(u.prototype),f=0;f<d.length;f++)c=d[f],i.prototype[c]||(i.prototype[c]=u.prototype[c]);Object.defineProperty(i.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(i.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(i.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(i.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this)}).call(this,t("_process"))},{"./_stream_readable":18,"./_stream_writable":20,_process:12,inherits:10}],17:[function(t,r){"use strict";function n(t){return this instanceof n?void i.call(this,t):new n(t)}r.exports=n;var i=t("./_stream_transform");t("inherits")(n,i),n.prototype._transform=function(t,r,n){n(null,t)}},{"./_stream_transform":19,inherits:10}],18:[function(t,r){(function(n,i){(function(){"use strict";function o(r,n,i){x=x||t("./_stream_duplex"),r=r||{},"boolean"!=typeof i&&(i=n instanceof x),this.objectMode=!!r.objectMode,i&&(this.objectMode=this.objectMode||!!r.readableObjectMode),this.highWaterMark=N(this,r,"readableHighWaterMark",i),this.buffer=new A,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==r.emitClose,this.autoDestroy=!!r.autoDestroy,this.destroyed=!1,this.defaultEncoding=r.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,r.encoding&&(P||(P=t("string_decoder/").StringDecoder),this.decoder=new P(r.encoding),this.encoding=r.encoding)}function a(r){if(x=x||t("./_stream_duplex"),!(this instanceof a))return new a(r);var n=this instanceof x;this._readableState=new o(r,this,n),this.readable=!0,r&&("function"==typeof r.read&&(this._read=r.read),"function"==typeof r.destroy&&(this._destroy=r.destroy)),C.call(this)}function s(t,r,n,i,o){E("readableAddChunk",r);var a,s,u=t._readableState;if(null===r)u.reading=!1,function(t,r){if(E("onEofChunk"),!r.ended){if(r.decoder){var n=r.decoder.end();n&&n.length&&(r.buffer.push(n),r.length+=r.objectMode?1:n.length)}r.ended=!0,r.sync?c(t):(r.needReadable=!1,r.emittedReadable||(r.emittedReadable=!0,d(t)))}}(t,u);else if(o||(s=function(t,r){var n;return O.isBuffer(r)||r instanceof R||"string"==typeof r||void 0===r||t.objectMode||(n=new D("chunk",["string","Buffer","Uint8Array"],r)),n}(u,r)),s)U(t,s);else if(u.objectMode||r&&0<r.length)if("string"==typeof r||u.objectMode||Object.getPrototypeOf(r)===O.prototype||(a=r,r=O.from(a)),i)u.endEmitted?U(t,new $):l(t,u,r,!0);else if(u.ended)U(t,new F);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!n?(r=u.decoder.write(r),u.objectMode||0!==r.length?l(t,u,r,!1):f(t,u)):l(t,u,r,!1)}else i||(u.reading=!1,f(t,u));return!u.ended&&(u.length<u.highWaterMark||0===u.length)}function l(t,r,n,i){r.flowing&&0===r.length&&!r.sync?(r.awaitDrain=0,t.emit("data",n)):(r.length+=r.objectMode?1:n.length,i?r.buffer.unshift(n):r.buffer.push(n),r.needReadable&&c(t)),f(t,r)}function u(t,r){var n;return 0>=t||0===r.length&&r.ended?0:r.objectMode?1:t==t?(t>r.highWaterMark&&(0x40000000<=(n=t)?n=0x40000000:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),r.highWaterMark=n),t<=r.length?t:r.ended?r.length:(r.needReadable=!0,0)):r.flowing&&r.length?r.buffer.head.data.length:r.length}function c(t){var r=t._readableState;E("emitReadable",r.needReadable,r.emittedReadable),r.needReadable=!1,r.emittedReadable||(E("emitReadable",r.flowing),r.emittedReadable=!0,n.nextTick(d,t))}function d(t){var r=t._readableState;E("emitReadable_",r.destroyed,r.length,r.ended),!r.destroyed&&(r.length||r.ended)&&(t.emit("readable"),r.emittedReadable=!1),r.needReadable=!r.flowing&&!r.ended&&r.length<=r.highWaterMark,v(t)}function f(t,r){r.readingMore||(r.readingMore=!0,n.nextTick(h,t,r))}function h(t,r){for(;!r.reading&&!r.ended&&(r.length<r.highWaterMark||r.flowing&&0===r.length);){var n=r.length;if(E("maybeReadMore read 0"),t.read(0),n===r.length)break}r.readingMore=!1}function m(t){var r=t._readableState;r.readableListening=0<t.listenerCount("readable"),r.resumeScheduled&&!r.paused?r.flowing=!0:0<t.listenerCount("data")&&t.resume()}function g(t){E("readable nexttick read 0"),t.read(0)}function y(t,r){E("resume",r.reading),r.reading||t.read(0),r.resumeScheduled=!1,t.emit("resume"),v(t),r.flowing&&!r.reading&&t.read(0)}function v(t){var r=t._readableState;for(E("flow",r.flowing);r.flowing&&null!==t.read(););}function b(t,r){var n;return 0===r.length?null:(r.objectMode?n=r.buffer.shift():!t||t>=r.length?(n=r.decoder?r.buffer.join(""):1===r.buffer.length?r.buffer.first():r.buffer.concat(r.length),r.buffer.clear()):n=r.buffer.consume(t,r.decoder),n)}function _(t){var r=t._readableState;E("endReadable",r.endEmitted),r.endEmitted||(r.ended=!0,n.nextTick(w,r,t))}function w(t,r){if(E("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,r.readable=!1,r.emit("end"),t.autoDestroy)){var n=r._writableState;(!n||n.autoDestroy&&n.finished)&&r.destroy()}}function S(t,r){for(var n=0,i=t.length;n<i;n++)if(t[n]===r)return n;return -1}r.exports=a,a.ReadableState=o,t("events").EventEmitter;var x,E,k=function(t,r){return t.listeners(r).length},C=t("./internal/streams/stream"),O=t("buffer").Buffer,R=i.Uint8Array||function(){},T=t("util");E=T&&T.debuglog?T.debuglog("stream"):function(){};var P,M,I,A=t("./internal/streams/buffer_list"),L=t("./internal/streams/destroy"),N=t("./internal/streams/state").getHighWaterMark,j=t("../errors").codes,D=j.ERR_INVALID_ARG_TYPE,F=j.ERR_STREAM_PUSH_AFTER_EOF,B=j.ERR_METHOD_NOT_IMPLEMENTED,$=j.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;t("inherits")(a,C);var U=L.errorOrDestroy,z=["error","close","destroy","pause","resume"];Object.defineProperty(a.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),a.prototype.destroy=L.destroy,a.prototype._undestroy=L.undestroy,a.prototype._destroy=function(t,r){r(t)},a.prototype.push=function(t,r){var n,i=this._readableState;return i.objectMode?n=!0:"string"==typeof t&&((r=r||i.defaultEncoding)!==i.encoding&&(t=O.from(t,r),r=""),n=!0),s(this,t,r,!1,n)},a.prototype.unshift=function(t){return s(this,t,null,!0,!1)},a.prototype.isPaused=function(){return!1===this._readableState.flowing},a.prototype.setEncoding=function(r){P||(P=t("string_decoder/").StringDecoder);var n=new P(r);this._readableState.decoder=n,this._readableState.encoding=this._readableState.decoder.encoding;for(var i=this._readableState.buffer.head,o="";null!==i;)o+=n.write(i.data),i=i.next;return this._readableState.buffer.clear(),""!==o&&this._readableState.buffer.push(o),this._readableState.length=o.length,this},a.prototype.read=function(t){E("read",t),t=parseInt(t,10);var r,n=this._readableState,i=t;if(0!==t&&(n.emittedReadable=!1),0===t&&n.needReadable&&((0===n.highWaterMark?0<n.length:n.length>=n.highWaterMark)||n.ended))return E("read: emitReadable",n.length,n.ended),0===n.length&&n.ended?_(this):c(this),null;if(0===(t=u(t,n))&&n.ended)return 0===n.length&&_(this),null;var o=n.needReadable;return E("need readable",o),(0===n.length||n.length-t<n.highWaterMark)&&E("length less than watermark",o=!0),n.ended||n.reading?E("reading or ended",o=!1):o&&(E("do read"),n.reading=!0,n.sync=!0,0===n.length&&(n.needReadable=!0),this._read(n.highWaterMark),n.sync=!1,n.reading||(t=u(i,n))),null===(r=0<t?b(t,n):null)?(n.needReadable=n.length<=n.highWaterMark,t=0):(n.length-=t,n.awaitDrain=0),0===n.length&&(n.ended||(n.needReadable=!0),i!==t&&n.ended&&_(this)),null!==r&&this.emit("data",r),r},a.prototype._read=function(){U(this,new B("_read()"))},a.prototype.pipe=function(t,r){function i(){E("onend"),t.end()}function o(r){E("ondata");var n=t.write(r);E("dest.write",n),!1===n&&((1===f.pipesCount&&f.pipes===t||1<f.pipesCount&&-1!==S(f.pipes,t))&&!g&&(E("false write response, pause",f.awaitDrain),f.awaitDrain++),d.pause())}function a(r){E("onerror",r),u(),t.removeListener("error",a),0===k(t,"error")&&U(t,r)}function s(){t.removeListener("finish",l),u()}function l(){E("onfinish"),t.removeListener("close",s),u()}function u(){E("unpipe"),d.unpipe(t)}var c,d=this,f=this._readableState;switch(f.pipesCount){case 0:f.pipes=t;break;case 1:f.pipes=[f.pipes,t];break;default:f.pipes.push(t)}f.pipesCount+=1,E("pipe count=%d opts=%j",f.pipesCount,r);var h=r&&!1===r.end||t===n.stdout||t===n.stderr?u:i;f.endEmitted?n.nextTick(h):d.once("end",h),t.on("unpipe",function r(n,c){E("onunpipe"),n===d&&c&&!1===c.hasUnpiped&&(c.hasUnpiped=!0,E("cleanup"),t.removeListener("close",s),t.removeListener("finish",l),t.removeListener("drain",m),t.removeListener("error",a),t.removeListener("unpipe",r),d.removeListener("end",i),d.removeListener("end",u),d.removeListener("data",o),g=!0,f.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&m())});var m=function(){var t=d._readableState;E("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&k(d,"data")&&(t.flowing=!0,v(d))};t.on("drain",m);var g=!1;return d.on("data",o),c="error","function"==typeof t.prependListener?t.prependListener(c,a):t._events&&t._events[c]?Array.isArray(t._events[c])?t._events[c].unshift(a):t._events[c]=[a,t._events[c]]:t.on(c,a),t.once("close",s),t.once("finish",l),t.emit("pipe",d),f.flowing||(E("pipe resume"),d.resume()),t},a.prototype.unpipe=function(t){var r=this._readableState,n={hasUnpiped:!1};if(0===r.pipesCount)return this;if(1===r.pipesCount)return t&&t!==r.pipes||(t||(t=r.pipes),r.pipes=null,r.pipesCount=0,r.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var i=r.pipes,o=r.pipesCount;r.pipes=null,r.pipesCount=0,r.flowing=!1;for(var a=0;a<o;a++)i[a].emit("unpipe",this,{hasUnpiped:!1});return this}var s=S(r.pipes,t);return -1===s||(r.pipes.splice(s,1),r.pipesCount-=1,1===r.pipesCount&&(r.pipes=r.pipes[0]),t.emit("unpipe",this,n)),this},a.prototype.on=function(t,r){var i=C.prototype.on.call(this,t,r),o=this._readableState;return"data"===t?(o.readableListening=0<this.listenerCount("readable"),!1!==o.flowing&&this.resume()):"readable"!=t||o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,E("on readable",o.length,o.reading),o.length?c(this):o.reading||n.nextTick(g,this)),i},a.prototype.addListener=a.prototype.on,a.prototype.removeListener=function(t,r){var i=C.prototype.removeListener.call(this,t,r);return"readable"===t&&n.nextTick(m,this),i},a.prototype.removeAllListeners=function(t){var r=C.prototype.removeAllListeners.apply(this,arguments);return("readable"===t||void 0===t)&&n.nextTick(m,this),r},a.prototype.resume=function(){var t=this._readableState;return t.flowing||(E("resume"),t.flowing=!t.readableListening,t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(y,this,t))),t.paused=!1,this},a.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},a.prototype.wrap=function(t){var r=this,n=this._readableState,i=!1;for(var o in t.on("end",function(){if(E("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&r.push(t)}r.push(null)}),t.on("data",function(o){if(E("wrapped data"),n.decoder&&(o=n.decoder.write(o)),!(n.objectMode&&null==o)&&(n.objectMode||o&&o.length)){var a=r.push(o);a||(i=!0,t.pause())}}),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(r){return function(){return t[r].apply(t,arguments)}}(o));for(var a=0;a<z.length;a++)t.on(z[a],this.emit.bind(this,z[a]));return this._read=function(r){E("wrapped _read",r),i&&(i=!1,t.resume())},this},"function"==typeof Symbol&&(a.prototype[Symbol.asyncIterator]=function(){return void 0===M&&(M=t("./internal/streams/async_iterator")),M(this)}),Object.defineProperty(a.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(a.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(a.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),a._fromList=b,Object.defineProperty(a.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(a.from=function(r,n){return void 0===I&&(I=t("./internal/streams/from")),I(a,r,n)})}).call(this)}).call(this,t("_process"),void 0===n.g?"undefined"==typeof self?"undefined"==typeof window?{}:window:self:n.g)},{"../errors":15,"./_stream_duplex":16,"./internal/streams/async_iterator":21,"./internal/streams/buffer_list":22,"./internal/streams/destroy":23,"./internal/streams/from":25,"./internal/streams/state":27,"./internal/streams/stream":28,_process:12,buffer:3,events:7,inherits:10,"string_decoder/":31,util:2}],19:[function(t,r){"use strict";function n(t,r){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(null===i)return this.emit("error",new u);n.writechunk=null,n.writecb=null,null!=r&&this.push(r),i(t);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function i(t){return this instanceof i?void(f.call(this,t),this._transformState={afterTransform:n.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",o)):new i(t)}function o(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?a(this,null,null):this._flush(function(r,n){a(t,r,n)})}function a(t,r,n){if(r)return t.emit("error",r);if(null!=n&&t.push(n),t._writableState.length)throw new d;if(t._transformState.transforming)throw new c;return t.push(null)}r.exports=i;var s=t("../errors").codes,l=s.ERR_METHOD_NOT_IMPLEMENTED,u=s.ERR_MULTIPLE_CALLBACK,c=s.ERR_TRANSFORM_ALREADY_TRANSFORMING,d=s.ERR_TRANSFORM_WITH_LENGTH_0,f=t("./_stream_duplex");t("inherits")(i,f),i.prototype.push=function(t,r){return this._transformState.needTransform=!1,f.prototype.push.call(this,t,r)},i.prototype._transform=function(t,r,n){n(new l("_transform()"))},i.prototype._write=function(t,r,n){var i=this._transformState;if(i.writecb=n,i.writechunk=t,i.writeencoding=r,!i.transforming){var o=this._readableState;(i.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},i.prototype._read=function(){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},i.prototype._destroy=function(t,r){f.prototype._destroy.call(this,t,function(t){r(t)})}},{"../errors":15,"./_stream_duplex":16,inherits:10}],20:[function(t,r){(function(n,i){(function(){"use strict";function o(t){var r=this;this.next=null,this.entry=null,this.finish=function(){var n,i=r,o=t,a=i.entry;for(i.entry=null;a;){var s=a.callback;o.pendingcb--,s(void 0),a=a.next}o.corkedRequestsFree.next=i}}function a(){}function s(r,i,a){g=g||t("./_stream_duplex"),r=r||{},"boolean"!=typeof a&&(a=i instanceof g),this.objectMode=!!r.objectMode,a&&(this.objectMode=this.objectMode||!!r.writableObjectMode),this.highWaterMark=x(this,r,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===r.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=r.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,r){var i=t._writableState,o=i.sync,a=i.writecb;if("function"!=typeof a)throw new O;if(i.writing=!1,i.writecb=null,i.length-=i.writelen,i.writelen=0,r)--i.pendingcb,o?(n.nextTick(a,r),n.nextTick(m,t,i),t._writableState.errorEmitted=!0,A(t,r)):(a(r),t._writableState.errorEmitted=!0,A(t,r),m(t,i));else{var s=f(i)||t.destroyed;s||i.corked||i.bufferProcessing||!i.bufferedRequest||d(t,i),o?n.nextTick(c,t,i,s,a):c(t,i,s,a)}}(i,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==r.emitClose,this.autoDestroy=!!r.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function l(r){var n=this instanceof(g=g||t("./_stream_duplex"));return n||y.call(l,this)?void(this._writableState=new s(r,this,n),this.writable=!0,r&&("function"==typeof r.write&&(this._write=r.write),"function"==typeof r.writev&&(this._writev=r.writev),"function"==typeof r.destroy&&(this._destroy=r.destroy),"function"==typeof r.final&&(this._final=r.final)),b.call(this)):new l(r)}function u(t,r,n,i,o,a,s){r.writelen=i,r.writecb=s,r.writing=!0,r.sync=!0,r.destroyed?r.onwrite(new T("write")):n?t._writev(o,r.onwrite):t._write(o,a,r.onwrite),r.sync=!1}function c(t,r,n,i){var o,a;n||(o=t,0===(a=r).length&&a.needDrain&&(a.needDrain=!1,o.emit("drain"))),r.pendingcb--,i(),m(t,r)}function d(t,r){r.bufferProcessing=!0;var n=r.bufferedRequest;if(t._writev&&n&&n.next){var i=Array(r.bufferedRequestCount),a=r.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)i[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;i.allBuffers=l,u(t,r,!0,r.length,i,"",a.finish),r.pendingcb++,r.lastBufferedRequest=null,a.next?(r.corkedRequestsFree=a.next,a.next=null):r.corkedRequestsFree=new o(r),r.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,d=n.encoding,f=n.callback,h=r.objectMode?1:c.length;if(u(t,r,!1,h,c,d,f),n=n.next,r.bufferedRequestCount--,r.writing)break}null===n&&(r.lastBufferedRequest=null)}r.bufferedRequest=n,r.bufferProcessing=!1}function f(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function h(t,r){t._final(function(n){r.pendingcb--,n&&A(t,n),r.prefinished=!0,t.emit("prefinish"),m(t,r)})}function m(t,r){var i=f(r);if(i&&(r.prefinished||r.finalCalled||("function"!=typeof t._final||r.destroyed?(r.prefinished=!0,t.emit("prefinish")):(r.pendingcb++,r.finalCalled=!0,n.nextTick(h,t,r))),0===r.pendingcb&&(r.finished=!0,t.emit("finish"),r.autoDestroy))){var o=t._readableState;(!o||o.autoDestroy&&o.endEmitted)&&t.destroy()}return i}r.exports=l,l.WritableState=s;var g,y,v={deprecate:t("util-deprecate")},b=t("./internal/streams/stream"),_=t("buffer").Buffer,w=i.Uint8Array||function(){},S=t("./internal/streams/destroy"),x=t("./internal/streams/state").getHighWaterMark,E=t("../errors").codes,k=E.ERR_INVALID_ARG_TYPE,C=E.ERR_METHOD_NOT_IMPLEMENTED,O=E.ERR_MULTIPLE_CALLBACK,R=E.ERR_STREAM_CANNOT_PIPE,T=E.ERR_STREAM_DESTROYED,P=E.ERR_STREAM_NULL_VALUES,M=E.ERR_STREAM_WRITE_AFTER_END,I=E.ERR_UNKNOWN_ENCODING,A=S.errorOrDestroy;t("inherits")(l,b),s.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r},function(){try{Object.defineProperty(s.prototype,"buffer",{get:v.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(y=Function.prototype[Symbol.hasInstance],Object.defineProperty(l,Symbol.hasInstance,{value:function(t){return!!y.call(this,t)||this===l&&t&&t._writableState instanceof s}})):y=function(t){return t instanceof this},l.prototype.pipe=function(){A(this,new R)},l.prototype.write=function(t,r,i){var o,s,l,c,d,f,h,m=this._writableState,g=!1,y=!m.objectMode&&(o=t,_.isBuffer(o)||o instanceof w);return y&&!_.isBuffer(t)&&(s=t,t=_.from(s)),"function"==typeof r&&(i=r,r=null),y?r="buffer":r||(r=m.defaultEncoding),"function"!=typeof i&&(i=a),m.ending?(l=i,A(this,c=new M),n.nextTick(l,c)):(y||(d=t,f=i,null===d?h=new P:"string"==typeof d||m.objectMode||(h=new k("chunk",["string","Buffer"],d)),!h||(A(this,h),n.nextTick(f,h),0)))&&(m.pendingcb++,g=function(t,r,n,i,o,a){if(!n){var s,l,c=(s=i,l=o,r.objectMode||!1===r.decodeStrings||"string"!=typeof s||(s=_.from(s,l)),s);i!==c&&(n=!0,o="buffer",i=c)}var d=r.objectMode?1:i.length;r.length+=d;var f=r.length<r.highWaterMark;if(f||(r.needDrain=!0),r.writing||r.corked){var h=r.lastBufferedRequest;r.lastBufferedRequest={chunk:i,encoding:o,isBuf:n,callback:a,next:null},h?h.next=r.lastBufferedRequest:r.bufferedRequest=r.lastBufferedRequest,r.bufferedRequestCount+=1}else u(t,r,!1,d,i,o,a);return f}(this,m,y,t,r,i)),g},l.prototype.cork=function(){this._writableState.corked++},l.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||d(this,t))},l.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(-1<["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())))throw new I(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),l.prototype._write=function(t,r,n){n(new C("_write()"))},l.prototype._writev=null,l.prototype.end=function(t,r,i){var o,a=this._writableState;return"function"==typeof t?(i=t,t=null,r=null):"function"==typeof r&&(i=r,r=null),null!=t&&this.write(t,r),a.corked&&(a.corked=1,this.uncork()),a.ending||(o=i,a.ending=!0,m(this,a),o&&(a.finished?n.nextTick(o):this.once("finish",o)),a.ended=!0,this.writable=!1),this},Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),l.prototype.destroy=S.destroy,l.prototype._undestroy=S.undestroy,l.prototype._destroy=function(t,r){r(t)}}).call(this)}).call(this,t("_process"),void 0===n.g?"undefined"==typeof self?"undefined"==typeof window?{}:window:self:n.g)},{"../errors":15,"./_stream_duplex":16,"./internal/streams/destroy":23,"./internal/streams/state":27,"./internal/streams/stream":28,_process:12,buffer:3,inherits:10,"util-deprecate":32}],21:[function(t,r){(function(n){(function(){"use strict";function i(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function o(t,r){return{value:t,done:r}}function a(t){var r=t[c];if(null!==r){var n=t[y].read();null!==n&&(t[m]=null,t[c]=null,t[d]=null,r(o(n,!1)))}}function s(t){n.nextTick(a,t)}var l,u=t("./end-of-stream"),c=Symbol("lastResolve"),d=Symbol("lastReject"),f=Symbol("error"),h=Symbol("ended"),m=Symbol("lastPromise"),g=Symbol("handlePromise"),y=Symbol("stream"),v=Object.getPrototypeOf(function(){}),b=Object.setPrototypeOf((i(l={get stream(){return this[y]},next:function(){var t,r=this,i=this[f];if(null!==i)return Promise.reject(i);if(this[h])return Promise.resolve(o(void 0,!0));if(this[y].destroyed)return new Promise(function(t,i){n.nextTick(function(){r[f]?i(r[f]):t(o(void 0,!0))})});var a,s=this[m];if(s)a=new Promise((t=this,function(r,n){s.then(function(){return t[h]?void r(o(void 0,!0)):void t[g](r,n)},n)}));else{var l=this[y].read();if(null!==l)return Promise.resolve(o(l,!1));a=new Promise(this[g])}return this[m]=a,a}},Symbol.asyncIterator,function(){return this}),i(l,"return",function(){var t=this;return new Promise(function(r,n){t[y].destroy(null,function(t){return t?void n(t):void r(o(void 0,!0))})})}),l),v);r.exports=function(t){var r,n=Object.create(b,(i(r={},y,{value:t,writable:!0}),i(r,c,{value:null,writable:!0}),i(r,d,{value:null,writable:!0}),i(r,f,{value:null,writable:!0}),i(r,h,{value:t._readableState.endEmitted,writable:!0}),i(r,g,{value:function(t,r){var i=n[y].read();i?(n[m]=null,n[c]=null,n[d]=null,t(o(i,!1))):(n[c]=t,n[d]=r)},writable:!0}),r));return n[m]=null,u(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var r=n[d];return null!==r&&(n[m]=null,n[c]=null,n[d]=null,r(t)),void(n[f]=t)}var i=n[c];null!==i&&(n[m]=null,n[c]=null,n[d]=null,i(o(void 0,!0))),n[h]=!0}),t.on("readable",s.bind(null,n)),n}}).call(this)}).call(this,t("_process"))},{"./end-of-stream":24,_process:12}],22:[function(t,r){"use strict";function n(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}var i=t("buffer").Buffer,o=t("util").inspect,a=o&&o.custom||"inspect";r.exports=function(){var t;function r(){(function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")})(this,r),this.head=null,this.tail=null,this.length=0}return t=[{key:"push",value:function(t){var r={data:t,next:null};0<this.length?this.tail.next=r:this.head=r,this.tail=r,++this.length}},{key:"unshift",value:function(t){var r={data:t,next:this.head};0===this.length&&(this.tail=r),this.head=r,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var r=this.head,n=""+r.data;r=r.next;)n+=t+r.data;return n}},{key:"concat",value:function(t){if(0===this.length)return i.alloc(0);for(var r,n,o=i.allocUnsafe(t>>>0),a=this.head,s=0;a;)r=a.data,n=s,i.prototype.copy.call(r,o,n),s+=a.data.length,a=a.next;return o}},{key:"consume",value:function(t,r){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():r?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var r=this.head,n=1,i=r.data;for(t-=i.length;r=r.next;){var o=r.data,a=t>o.length?o.length:t;if(i+=a===o.length?o:o.slice(0,t),0==(t-=a)){a===o.length?(++n,this.head=r.next?r.next:this.tail=null):(this.head=r,r.data=o.slice(a));break}++n}return this.length-=n,i}},{key:"_getBuffer",value:function(t){var r=i.allocUnsafe(t),n=this.head,o=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var a=n.data,s=t>a.length?a.length:t;if(a.copy(r,r.length-t,0,s),0==(t-=s)){s===a.length?(++o,this.head=n.next?n.next:this.tail=null):(this.head=n,n.data=a.slice(s));break}++o}return this.length-=o,r}},{key:a,value:function(t,r){return o(this,function(t){for(var r,i=1;i<arguments.length;i++)r=null==arguments[i]?{}:arguments[i],i%2?n(Object(r),!0).forEach(function(n){var i,o,a;i=t,o=n,a=r[n],o in i?Object.defineProperty(i,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))});return t}({},r,{depth:0,customInspect:!1}))}}],function(t,r){for(var n,i=0;i<r.length;i++)(n=r[i]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}(r.prototype,t),r}()},{buffer:3,util:2}],23:[function(t,r){(function(t){(function(){"use strict";function n(t,r){o(t,r),i(t)}function i(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function o(t,r){t.emit("error",r)}r.exports={destroy:function(r,a){var s=this,l=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return l||u?a?a(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(o,this,r)):t.nextTick(o,this,r)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,function(r){!a&&r?s._writableState?s._writableState.errorEmitted?t.nextTick(i,s):(s._writableState.errorEmitted=!0,t.nextTick(n,s,r)):t.nextTick(n,s,r):a?(t.nextTick(i,s),a(r)):t.nextTick(i,s)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,r){var n=t._readableState,i=t._writableState;n&&n.autoDestroy||i&&i.autoDestroy?t.destroy(r):t.emit("error",r)}}}).call(this)}).call(this,t("_process"))},{_process:12}],24:[function(t,r){"use strict";function n(){}var i=t("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;r.exports=function t(r,o,a){if("function"==typeof o)return t(r,null,o);o||(o={}),s=a||n,l=!1,a=function(){if(!l){l=!0;for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];s.apply(this,r)}};var s,l,u=o.readable||!1!==o.readable&&r.readable,c=o.writable||!1!==o.writable&&r.writable,d=function(){r.writable||h()},f=r._writableState&&r._writableState.finished,h=function(){c=!1,f=!0,u||a.call(r)},m=r._readableState&&r._readableState.endEmitted,g=function(){u=!1,m=!0,c||a.call(r)},y=function(t){a.call(r,t)},v=function(){var t;return u&&!m?(r._readableState&&r._readableState.ended||(t=new i),a.call(r,t)):c&&!f?(r._writableState&&r._writableState.ended||(t=new i),a.call(r,t)):void 0},b=function(){r.req.on("finish",h)};return r.setHeader&&"function"==typeof r.abort?(r.on("complete",h),r.on("abort",v),r.req?b():r.on("request",b)):c&&!r._writableState&&(r.on("end",d),r.on("close",d)),r.on("end",g),r.on("finish",h),!1!==o.error&&r.on("error",y),r.on("close",v),function(){r.removeListener("complete",h),r.removeListener("abort",v),r.removeListener("request",b),r.req&&r.req.removeListener("finish",h),r.removeListener("end",d),r.removeListener("close",d),r.removeListener("finish",h),r.removeListener("end",g),r.removeListener("error",y),r.removeListener("close",v)}}},{"../../../errors":15}],25:[function(t,r){r.exports=function(){throw Error("Readable.from is not available in the browser")}},{}],26:[function(t,r){"use strict";function n(t){if(t)throw t}function i(t){t()}function o(t,r){return t.pipe(r)}var a,s=t("../../../errors").codes,l=s.ERR_MISSING_ARGS,u=s.ERR_STREAM_DESTROYED;r.exports=function(){for(var r=arguments.length,s=Array(r),c=0;c<r;c++)s[c]=arguments[c];var d=(f=s).length&&"function"==typeof f[f.length-1]?f.pop():n;if(Array.isArray(s[0])&&(s=s[0]),2>s.length)throw new l("streams");var f,h,m=s.map(function(r,n){var o,l,c,f,g,y,v=n<s.length-1;return o=0<n,c=l=function(t){h||(h=t),t&&m.forEach(i),v||(m.forEach(i),d(h))},f=!1,l=function(){f||(f=!0,c.apply(void 0,arguments))},g=!1,r.on("close",function(){g=!0}),void 0===a&&(a=t("./end-of-stream")),a(r,{readable:v,writable:o},function(t){return t?l(t):void(g=!0,l())}),y=!1,function(t){if(!g)return y?void 0:(y=!0,r.setHeader&&"function"==typeof r.abort?r.abort():"function"==typeof r.destroy?r.destroy():void l(t||new u("pipe")))}});return s.reduce(o)}},{"../../../errors":15,"./end-of-stream":24}],27:[function(t,r){"use strict";var n=t("../../../errors").codes.ERR_INVALID_OPT_VALUE;r.exports={getHighWaterMark:function(t,r,o,a){var s=null==r.highWaterMark?a?r[o]:null:r.highWaterMark;if(null!=s){if(!(isFinite(s)&&i(s)===s)||0>s)throw new n(a?o:"highWaterMark",s);return i(s)}return t.objectMode?16:16384}}},{"../../../errors":15}],28:[function(t,r){r.exports=t("events").EventEmitter},{events:7}],29:[function(t,r,n){(n=r.exports=t("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=t("./lib/_stream_writable.js"),n.Duplex=t("./lib/_stream_duplex.js"),n.Transform=t("./lib/_stream_transform.js"),n.PassThrough=t("./lib/_stream_passthrough.js"),n.finished=t("./lib/internal/streams/end-of-stream.js"),n.pipeline=t("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":16,"./lib/_stream_passthrough.js":17,"./lib/_stream_readable.js":18,"./lib/_stream_transform.js":19,"./lib/_stream_writable.js":20,"./lib/internal/streams/end-of-stream.js":24,"./lib/internal/streams/pipeline.js":26}],30:[function(t,r,n){function i(t,r){for(var n in t)r[n]=t[n]}function o(t,r,n){return s(t,r,n)}var a=t("buffer"),s=a.Buffer;s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?r.exports=a:(i(a,n),n.Buffer=o),o.prototype=Object.create(s.prototype),i(s,o),o.from=function(t,r,n){if("number"==typeof t)throw TypeError("Argument must not be a number");return s(t,r,n)},o.alloc=function(t,r,n){if("number"!=typeof t)throw TypeError("Argument must be a number");var i=s(t);return void 0===r?i.fill(0):"string"==typeof n?i.fill(r,n):i.fill(r),i},o.allocUnsafe=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return s(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return a.SlowBuffer(t)}},{buffer:3}],31:[function(t,r,n){"use strict";function i(t){var r;switch(this.encoding=function(t){var r=function(t){if(!t)return"utf8";for(var r;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(r)return;t=(""+t).toLowerCase(),r=!0}}(t);if("string"!=typeof r&&(h.isEncoding===m||!m(t)))throw Error("Unknown encoding: "+t);return r||t}(t),this.encoding){case"utf16le":this.text=s,this.end=l,r=4;break;case"utf8":this.fillLast=a,r=4;break;case"base64":this.text=u,this.end=c,r=3;break;default:return this.write=d,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=h.allocUnsafe(r)}function o(t){return 127>=t?0:6==t>>5?2:14==t>>4?3:30==t>>3?4:2==t>>6?-1:-2}function a(t){var r=this.lastTotal-this.lastNeed,n=function(t,r){if(128!=(192&r[0]))return t.lastNeed=0,"\uFFFD";if(1<t.lastNeed&&1<r.length){if(128!=(192&r[1]))return t.lastNeed=1,"\uFFFD";if(2<t.lastNeed&&2<r.length&&128!=(192&r[2]))return t.lastNeed=2,"\uFFFD"}}(this,t,r);return void 0===n?this.lastNeed<=t.length?(t.copy(this.lastChar,r,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(t.copy(this.lastChar,r,0,t.length),this.lastNeed-=t.length):n}function s(t,r){if(0==(t.length-r)%2){var n=t.toString("utf16le",r);if(n){var i=n.charCodeAt(n.length-1);if(55296<=i&&56319>=i)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",r,t.length-1)}function l(t){var r=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,n)}return r}function u(t,r){var n=(t.length-r)%3;return 0==n?t.toString("base64",r):(this.lastNeed=3-n,this.lastTotal=3,1==n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",r,t.length-n))}function c(t){var r=t&&t.length?this.write(t):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function d(t){return t.toString(this.encoding)}function f(t){return t&&t.length?this.write(t):""}var h=t("safe-buffer").Buffer,m=h.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};n.StringDecoder=i,i.prototype.write=function(t){var r,n;if(0===t.length)return"";if(this.lastNeed){if(void 0===(r=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?r?r+this.text(t,n):this.text(t,n):r||""},i.prototype.end=function(t){var r=t&&t.length?this.write(t):"";return this.lastNeed?r+"\uFFFD":r},i.prototype.text=function(t,r){var n=function(t,r,n){var i=r.length-1;if(i<n)return 0;var a=o(r[i]);return 0<=a?(0<a&&(t.lastNeed=a-1),a):--i<n||-2===a?0:0<=(a=o(r[i]))?(0<a&&(t.lastNeed=a-2),a):--i<n||-2===a?0:0<=(a=o(r[i]))?(0<a&&(2===a?a=0:t.lastNeed=a-3),a):0}(this,t,r);if(!this.lastNeed)return t.toString("utf8",r);this.lastTotal=n;var i=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,i),t.toString("utf8",r,i)},i.prototype.fillLast=function(t){return this.lastNeed<=t.length?(t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length)}},{"safe-buffer":30}],32:[function(t,r){(function(t){(function(){function n(r){try{if(!t.localStorage)return!1}catch(t){return!1}var n=t.localStorage[r];return null!=n&&"true"===(n+"").toLowerCase()}r.exports=function(t,r){if(n("noDeprecation"))return t;var i=!1;return function(){if(!i){if(n("throwDeprecation"))throw Error(r);n("traceDeprecation")?console.trace(r):console.warn(r),i=!0}return t.apply(this,arguments)}}}).call(this)}).call(this,void 0===n.g?"undefined"==typeof self?"undefined"==typeof window?{}:window:self:n.g)},{}],"/":[function(t,r){function n(t){return t.replace(/a=ice-options:trickle\s\n/g,"")}let i=t("debug")("simple-peer"),o=t("get-browser-rtc"),a=t("randombytes"),s=t("readable-stream"),l=t("queue-microtask"),u=t("err-code"),{Buffer:c}=t("buffer");let p=class p extends s.Duplex{constructor(t){if(super(t=Object.assign({allowHalfOpen:!1},t)),this._id=a(4).toString("hex").slice(0,7),this._debug("new peer %o",t),this.channelName=t.initiator?t.channelName||a(20).toString("hex"):null,this.initiator=t.initiator||!1,this.channelConfig=t.channelConfig||p.channelConfig,this.channelNegotiated=this.channelConfig.negotiated,this.config=Object.assign({},p.config,t.config),this.offerOptions=t.offerOptions||{},this.answerOptions=t.answerOptions||{},this.sdpTransform=t.sdpTransform||(t=>t),this.streams=t.streams||(t.stream?[t.stream]:[]),this.trickle=void 0===t.trickle||t.trickle,this.allowHalfTrickle=void 0!==t.allowHalfTrickle&&t.allowHalfTrickle,this.iceCompleteTimeout=t.iceCompleteTimeout||5e3,this.destroyed=!1,this.destroying=!1,this._connected=!1,this.remoteAddress=void 0,this.remoteFamily=void 0,this.remotePort=void 0,this.localAddress=void 0,this.localFamily=void 0,this.localPort=void 0,this._wrtc=t.wrtc&&"object"==typeof t.wrtc?t.wrtc:o(),!this._wrtc)if("undefined"==typeof window)throw u(Error("No WebRTC support: Specify `opts.wrtc` option in this environment"),"ERR_WEBRTC_SUPPORT");else throw u(Error("No WebRTC support: Not a supported browser"),"ERR_WEBRTC_SUPPORT");this._pcReady=!1,this._channelReady=!1,this._iceComplete=!1,this._iceCompleteTimer=null,this._channel=null,this._pendingCandidates=[],this._isNegotiating=!1,this._firstNegotiation=!0,this._batchedNegotiation=!1,this._queuedNegotiation=!1,this._sendersAwaitingStable=[],this._senderMap=new Map,this._closingInterval=null,this._remoteTracks=[],this._remoteStreams=[],this._chunk=null,this._cb=null,this._interval=null;try{this._pc=new this._wrtc.RTCPeerConnection(this.config)}catch(t){return void this.destroy(u(t,"ERR_PC_CONSTRUCTOR"))}this._isReactNativeWebrtc="number"==typeof this._pc._peerConnectionId,this._pc.oniceconnectionstatechange=()=>{this._onIceStateChange()},this._pc.onicegatheringstatechange=()=>{this._onIceStateChange()},this._pc.onconnectionstatechange=()=>{this._onConnectionStateChange()},this._pc.onsignalingstatechange=()=>{this._onSignalingStateChange()},this._pc.onicecandidate=t=>{this._onIceCandidate(t)},"object"==typeof this._pc.peerIdentity&&this._pc.peerIdentity.catch(t=>{this.destroy(u(t,"ERR_PC_PEER_IDENTITY"))}),this.initiator||this.channelNegotiated?this._setupData({channel:this._pc.createDataChannel(this.channelName,this.channelConfig)}):this._pc.ondatachannel=t=>{this._setupData(t)},this.streams&&this.streams.forEach(t=>{this.addStream(t)}),this._pc.ontrack=t=>{this._onTrack(t)},this._debug("initial negotiation"),this._needsNegotiation(),this._onFinishBound=()=>{this._onFinish()},this.once("finish",this._onFinishBound)}get bufferSize(){return this._channel&&this._channel.bufferedAmount||0}get connected(){return this._connected&&"open"===this._channel.readyState}address(){return{port:this.localPort,family:this.localFamily,address:this.localAddress}}signal(t){if(!this.destroying){if(this.destroyed)throw u(Error("cannot signal after peer is destroyed"),"ERR_DESTROYED");if("string"==typeof t)try{t=JSON.parse(t)}catch(r){t={}}this._debug("signal()"),t.renegotiate&&this.initiator&&(this._debug("got request to renegotiate"),this._needsNegotiation()),t.transceiverRequest&&this.initiator&&(this._debug("got request for transceiver"),this.addTransceiver(t.transceiverRequest.kind,t.transceiverRequest.init)),t.candidate&&(this._pc.remoteDescription&&this._pc.remoteDescription.type?this._addIceCandidate(t.candidate):this._pendingCandidates.push(t.candidate)),t.sdp&&this._pc.setRemoteDescription(new this._wrtc.RTCSessionDescription(t)).then(()=>{this.destroyed||(this._pendingCandidates.forEach(t=>{this._addIceCandidate(t)}),this._pendingCandidates=[],"offer"===this._pc.remoteDescription.type&&this._createAnswer())}).catch(t=>{this.destroy(u(t,"ERR_SET_REMOTE_DESCRIPTION"))}),t.sdp||t.candidate||t.renegotiate||t.transceiverRequest||this.destroy(u(Error("signal() called with invalid signal data"),"ERR_SIGNALING"))}}_addIceCandidate(t){let r=new this._wrtc.RTCIceCandidate(t);this._pc.addIceCandidate(r).catch(t=>{!r.address||r.address.endsWith(".local")?console.warn("Ignoring unsupported ICE candidate."):this.destroy(u(t,"ERR_ADD_ICE_CANDIDATE"))})}send(t){if(!this.destroying){if(this.destroyed)throw u(Error("cannot send after peer is destroyed"),"ERR_DESTROYED");this._channel.send(t)}}addTransceiver(t,r){if(!this.destroying){if(this.destroyed)throw u(Error("cannot addTransceiver after peer is destroyed"),"ERR_DESTROYED");if(this._debug("addTransceiver()"),this.initiator)try{this._pc.addTransceiver(t,r),this._needsNegotiation()}catch(t){this.destroy(u(t,"ERR_ADD_TRANSCEIVER"))}else this.emit("signal",{type:"transceiverRequest",transceiverRequest:{kind:t,init:r}})}}addStream(t){if(!this.destroying){if(this.destroyed)throw u(Error("cannot addStream after peer is destroyed"),"ERR_DESTROYED");this._debug("addStream()"),t.getTracks().forEach(r=>{this.addTrack(r,t)})}}addTrack(t,r){if(this.destroying)return;if(this.destroyed)throw u(Error("cannot addTrack after peer is destroyed"),"ERR_DESTROYED");this._debug("addTrack()");let n=this._senderMap.get(t)||new Map,i=n.get(r);if(i)if(i.removed)throw u(Error("Track has been removed. You should enable/disable tracks that you want to re-add."),"ERR_SENDER_REMOVED");else throw u(Error("Track has already been added to that stream."),"ERR_SENDER_ALREADY_ADDED");i=this._pc.addTrack(t,r),n.set(r,i),this._senderMap.set(t,n),this._needsNegotiation()}replaceTrack(t,r,n){if(this.destroying)return;if(this.destroyed)throw u(Error("cannot replaceTrack after peer is destroyed"),"ERR_DESTROYED");this._debug("replaceTrack()");let i=this._senderMap.get(t),o=i?i.get(n):null;if(!o)throw u(Error("Cannot replace track that was never added."),"ERR_TRACK_NOT_ADDED");r&&this._senderMap.set(r,i),null==o.replaceTrack?this.destroy(u(Error("replaceTrack is not supported in this browser"),"ERR_UNSUPPORTED_REPLACETRACK")):o.replaceTrack(r)}removeTrack(t,r){if(this.destroying)return;if(this.destroyed)throw u(Error("cannot removeTrack after peer is destroyed"),"ERR_DESTROYED");this._debug("removeSender()");let n=this._senderMap.get(t),i=n?n.get(r):null;if(!i)throw u(Error("Cannot remove track that was never added."),"ERR_TRACK_NOT_ADDED");try{i.removed=!0,this._pc.removeTrack(i)}catch(t){"NS_ERROR_UNEXPECTED"===t.name?this._sendersAwaitingStable.push(i):this.destroy(u(t,"ERR_REMOVE_TRACK"))}this._needsNegotiation()}removeStream(t){if(!this.destroying){if(this.destroyed)throw u(Error("cannot removeStream after peer is destroyed"),"ERR_DESTROYED");this._debug("removeSenders()"),t.getTracks().forEach(r=>{this.removeTrack(r,t)})}}_needsNegotiation(){this._debug("_needsNegotiation"),this._batchedNegotiation||(this._batchedNegotiation=!0,l(()=>{this._batchedNegotiation=!1,this.initiator||!this._firstNegotiation?(this._debug("starting batched negotiation"),this.negotiate()):this._debug("non-initiator initial negotiation request discarded"),this._firstNegotiation=!1}))}negotiate(){if(!this.destroying){if(this.destroyed)throw u(Error("cannot negotiate after peer is destroyed"),"ERR_DESTROYED");this.initiator?this._isNegotiating?(this._queuedNegotiation=!0,this._debug("already negotiating, queueing")):(this._debug("start negotiation"),setTimeout(()=>{this._createOffer()},0)):this._isNegotiating?(this._queuedNegotiation=!0,this._debug("already negotiating, queueing")):(this._debug("requesting negotiation from initiator"),this.emit("signal",{type:"renegotiate",renegotiate:!0})),this._isNegotiating=!0}}destroy(t){this._destroy(t,()=>{})}_destroy(t,r){this.destroyed||this.destroying||(this.destroying=!0,this._debug("destroying (error: %s)",t&&(t.message||t)),l(()=>{if(this.destroyed=!0,this.destroying=!1,this._debug("destroy (error: %s)",t&&(t.message||t)),this.readable=this.writable=!1,this._readableState.ended||this.push(null),this._writableState.finished||this.end(),this._connected=!1,this._pcReady=!1,this._channelReady=!1,this._remoteTracks=null,this._remoteStreams=null,this._senderMap=null,clearInterval(this._closingInterval),this._closingInterval=null,clearInterval(this._interval),this._interval=null,this._chunk=null,this._cb=null,this._onFinishBound&&this.removeListener("finish",this._onFinishBound),this._onFinishBound=null,this._channel){try{this._channel.close()}catch(t){}this._channel.onmessage=null,this._channel.onopen=null,this._channel.onclose=null,this._channel.onerror=null}if(this._pc){try{this._pc.close()}catch(t){}this._pc.oniceconnectionstatechange=null,this._pc.onicegatheringstatechange=null,this._pc.onsignalingstatechange=null,this._pc.onicecandidate=null,this._pc.ontrack=null,this._pc.ondatachannel=null}this._pc=null,this._channel=null,t&&this.emit("error",t),this.emit("close"),r()}))}_setupData(t){if(!t.channel)return this.destroy(u(Error("Data channel event is missing `channel` property"),"ERR_DATA_CHANNEL"));this._channel=t.channel,this._channel.binaryType="arraybuffer","number"==typeof this._channel.bufferedAmountLowThreshold&&(this._channel.bufferedAmountLowThreshold=65536),this.channelName=this._channel.label,this._channel.onmessage=t=>{this._onChannelMessage(t)},this._channel.onbufferedamountlow=()=>{this._onChannelBufferedAmountLow()},this._channel.onopen=()=>{this._onChannelOpen()},this._channel.onclose=()=>{this._onChannelClose()},this._channel.onerror=t=>{let r=t.error instanceof Error?t.error:Error(`Datachannel error: ${t.message} ${t.filename}:${t.lineno}:${t.colno}`);this.destroy(u(r,"ERR_DATA_CHANNEL"))};let r=!1;this._closingInterval=setInterval(()=>{this._channel&&"closing"===this._channel.readyState?(r&&this._onChannelClose(),r=!0):r=!1},5e3)}_read(){}_write(t,r,n){if(this.destroyed)return n(u(Error("cannot write after peer is destroyed"),"ERR_DATA_CHANNEL"));if(this._connected){try{this.send(t)}catch(t){return this.destroy(u(t,"ERR_DATA_CHANNEL"))}this._channel.bufferedAmount>65536?(this._debug("start backpressure: bufferedAmount %d",this._channel.bufferedAmount),this._cb=n):n(null)}else this._debug("write before connect"),this._chunk=t,this._cb=n}_onFinish(){if(!this.destroyed){let t=()=>{setTimeout(()=>this.destroy(),1e3)};this._connected?t():this.once("connect",t)}}_startIceCompleteTimeout(){this.destroyed||this._iceCompleteTimer||(this._debug("started iceComplete timeout"),this._iceCompleteTimer=setTimeout(()=>{this._iceComplete||(this._iceComplete=!0,this._debug("iceComplete timeout completed"),this.emit("iceTimeout"),this.emit("_iceComplete"))},this.iceCompleteTimeout))}_createOffer(){this.destroyed||this._pc.createOffer(this.offerOptions).then(t=>{if(this.destroyed)return;this.trickle||this.allowHalfTrickle||(t.sdp=n(t.sdp)),t.sdp=this.sdpTransform(t.sdp);let r=()=>{if(!this.destroyed){let r=this._pc.localDescription||t;this._debug("signal"),this.emit("signal",{type:r.type,sdp:r.sdp})}};this._pc.setLocalDescription(t).then(()=>{this._debug("createOffer success"),this.destroyed||(this.trickle||this._iceComplete?r():this.once("_iceComplete",r))}).catch(t=>{this.destroy(u(t,"ERR_SET_LOCAL_DESCRIPTION"))})}).catch(t=>{this.destroy(u(t,"ERR_CREATE_OFFER"))})}_requestMissingTransceivers(){this._pc.getTransceivers&&this._pc.getTransceivers().forEach(t=>{t.mid||!t.sender.track||t.requested||(t.requested=!0,this.addTransceiver(t.sender.track.kind))})}_createAnswer(){this.destroyed||this._pc.createAnswer(this.answerOptions).then(t=>{if(this.destroyed)return;this.trickle||this.allowHalfTrickle||(t.sdp=n(t.sdp)),t.sdp=this.sdpTransform(t.sdp);let r=()=>{if(!this.destroyed){let r=this._pc.localDescription||t;this._debug("signal"),this.emit("signal",{type:r.type,sdp:r.sdp}),this.initiator||this._requestMissingTransceivers()}};this._pc.setLocalDescription(t).then(()=>{this.destroyed||(this.trickle||this._iceComplete?r():this.once("_iceComplete",r))}).catch(t=>{this.destroy(u(t,"ERR_SET_LOCAL_DESCRIPTION"))})}).catch(t=>{this.destroy(u(t,"ERR_CREATE_ANSWER"))})}_onConnectionStateChange(){this.destroyed||"failed"===this._pc.connectionState&&this.destroy(u(Error("Connection failed."),"ERR_CONNECTION_FAILURE"))}_onIceStateChange(){if(this.destroyed)return;let t=this._pc.iceConnectionState,r=this._pc.iceGatheringState;this._debug("iceStateChange (connection: %s) (gathering: %s)",t,r),this.emit("iceStateChange",t,r),("connected"===t||"completed"===t)&&(this._pcReady=!0,this._maybeReady()),"failed"===t&&this.destroy(u(Error("Ice connection failed."),"ERR_ICE_CONNECTION_FAILURE")),"closed"===t&&this.destroy(u(Error("Ice connection closed."),"ERR_ICE_CONNECTION_CLOSED"))}getStats(t){let r=t=>("[object Array]"===Object.prototype.toString.call(t.values)&&t.values.forEach(r=>{Object.assign(t,r)}),t);0===this._pc.getStats.length||this._isReactNativeWebrtc?this._pc.getStats().then(n=>{let i=[];n.forEach(t=>{i.push(r(t))}),t(null,i)},r=>t(r)):0<this._pc.getStats.length?this._pc.getStats(n=>{if(this.destroyed)return;let i=[];n.result().forEach(t=>{let n={};t.names().forEach(r=>{n[r]=t.stat(r)}),n.id=t.id,n.type=t.type,n.timestamp=t.timestamp,i.push(r(n))}),t(null,i)},r=>t(r)):t(null,[])}_maybeReady(){if(this._debug("maybeReady pc %s channel %s",this._pcReady,this._channelReady),this._connected||this._connecting||!this._pcReady||!this._channelReady)return;this._connecting=!0;let t=()=>{this.destroyed||this.getStats((r,n)=>{if(this.destroyed)return;r&&(n=[]);let i={},o={},a={},s=!1;n.forEach(t=>{("remotecandidate"===t.type||"remote-candidate"===t.type)&&(i[t.id]=t),("localcandidate"===t.type||"local-candidate"===t.type)&&(o[t.id]=t),("candidatepair"===t.type||"candidate-pair"===t.type)&&(a[t.id]=t)});let l=t=>{s=!0;let r=o[t.localCandidateId];r&&(r.ip||r.address)?(this.localAddress=r.ip||r.address,this.localPort=+r.port):r&&r.ipAddress?(this.localAddress=r.ipAddress,this.localPort=+r.portNumber):"string"==typeof t.googLocalAddress&&(r=t.googLocalAddress.split(":"),this.localAddress=r[0],this.localPort=+r[1]),this.localAddress&&(this.localFamily=this.localAddress.includes(":")?"IPv6":"IPv4");let n=i[t.remoteCandidateId];n&&(n.ip||n.address)?(this.remoteAddress=n.ip||n.address,this.remotePort=+n.port):n&&n.ipAddress?(this.remoteAddress=n.ipAddress,this.remotePort=+n.portNumber):"string"==typeof t.googRemoteAddress&&(n=t.googRemoteAddress.split(":"),this.remoteAddress=n[0],this.remotePort=+n[1]),this.remoteAddress&&(this.remoteFamily=this.remoteAddress.includes(":")?"IPv6":"IPv4"),this._debug("connect local: %s:%s remote: %s:%s",this.localAddress,this.localPort,this.remoteAddress,this.remotePort)};if(n.forEach(t=>{"transport"===t.type&&t.selectedCandidatePairId&&l(a[t.selectedCandidatePairId]),("googCandidatePair"===t.type&&"true"===t.googActiveConnection||("candidatepair"===t.type||"candidate-pair"===t.type)&&t.selected)&&l(t)}),!s&&(!Object.keys(a).length||Object.keys(o).length))return void setTimeout(t,100);if(this._connecting=!1,this._connected=!0,this._chunk){try{this.send(this._chunk)}catch(t){return this.destroy(u(t,"ERR_DATA_CHANNEL"))}this._chunk=null,this._debug('sent chunk from "write before connect"');let t=this._cb;this._cb=null,t(null)}"number"!=typeof this._channel.bufferedAmountLowThreshold&&(this._interval=setInterval(()=>this._onInterval(),150),this._interval.unref&&this._interval.unref()),this._debug("connect"),this.emit("connect")})};t()}_onInterval(){this._cb&&this._channel&&!(this._channel.bufferedAmount>65536)&&this._onChannelBufferedAmountLow()}_onSignalingStateChange(){this.destroyed||("stable"===this._pc.signalingState&&(this._isNegotiating=!1,this._debug("flushing sender queue",this._sendersAwaitingStable),this._sendersAwaitingStable.forEach(t=>{this._pc.removeTrack(t),this._queuedNegotiation=!0}),this._sendersAwaitingStable=[],this._queuedNegotiation?(this._debug("flushing negotiation queue"),this._queuedNegotiation=!1,this._needsNegotiation()):(this._debug("negotiated"),this.emit("negotiated"))),this._debug("signalingStateChange %s",this._pc.signalingState),this.emit("signalingStateChange",this._pc.signalingState))}_onIceCandidate(t){this.destroyed||(t.candidate&&this.trickle?this.emit("signal",{type:"candidate",candidate:{candidate:t.candidate.candidate,sdpMLineIndex:t.candidate.sdpMLineIndex,sdpMid:t.candidate.sdpMid}}):t.candidate||this._iceComplete||(this._iceComplete=!0,this.emit("_iceComplete")),t.candidate&&this._startIceCompleteTimeout())}_onChannelMessage(t){if(this.destroyed)return;let r=t.data;r instanceof ArrayBuffer&&(r=c.from(r)),this.push(r)}_onChannelBufferedAmountLow(){if(!this.destroyed&&this._cb){this._debug("ending backpressure: bufferedAmount %d",this._channel.bufferedAmount);let t=this._cb;this._cb=null,t(null)}}_onChannelOpen(){this._connected||this.destroyed||(this._debug("on channel open"),this._channelReady=!0,this._maybeReady())}_onChannelClose(){this.destroyed||(this._debug("on channel close"),this.destroy())}_onTrack(t){this.destroyed||t.streams.forEach(r=>{this._debug("on track"),this.emit("track",t.track,r),this._remoteTracks.push({track:t.track,stream:r}),this._remoteStreams.some(t=>t.id===r.id)||(this._remoteStreams.push(r),l(()=>{this._debug("on stream"),this.emit("stream",r)}))})}_debug(){let t=[].slice.call(arguments);t[0]="["+this._id+"] "+t[0],i.apply(null,t)}};p.WEBRTC_SUPPORT=!!o(),p.config={iceServers:[{urls:["stun:stun.l.google.com:19302","stun:global.stun.twilio.com:3478"]}],sdpSemantics:"unified-plan"},p.channelConfig={},r.exports=p},{buffer:3,debug:4,"err-code":6,"get-browser-rtc":8,"queue-microtask":13,randombytes:14,"readable-stream":29}]},{},[])("/")},28672:function(t,r,n){"use strict";var i=n(39979),o=SyntaxError,a="object"==typeof StopIteration?StopIteration:null;t.exports=function(t){if(!a)throw new o("this environment lacks StopIteration");i.set(t,"[[Done]]",!1);var r={next:function(){var t=i.get(this,"[[Iterator]]"),r=i.get(t,"[[Done]]");try{return{done:r,value:r?void 0:t.next()}}catch(r){if(i.set(t,"[[Done]]",!0),r!==a)throw r;return{done:!0,value:void 0}}}};return i.set(r,"[[Iterator]]",t),r}},91618:function(t,r,n){"use strict";var i=(this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}})(n(63338)),o=n(31380);function a(t,r){var n={};return t&&"string"==typeof t&&(0,i.default)(t,function(t,i){t&&i&&(n[(0,o.camelCase)(t,r)]=i)}),n}a.default=a,t.exports=a},31380:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,o=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,l=function(t,r){return r.toUpperCase()},u=function(t,r){return"".concat(r,"-")};r.camelCase=function(t,r){var c;return(void 0===r&&(r={}),!(c=t)||o.test(c)||n.test(c))?t:(t=t.toLowerCase(),(t=r.reactCompat?t.replace(s,u):t.replace(a,u)).replace(i,l))}},63338:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t,r){var n=null;if(!t||"string"!=typeof t)return n;var i=(0,o.default)(t),a="function"==typeof r;return i.forEach(function(t){if("declaration"===t.type){var i=t.property,o=t.value;a?r(i,o,t):o&&((n=n||{})[i]=o)}}),n};var o=i(n(6299))},45070:function(t,r,n){"use strict";var i=n(2784),o="function"==typeof Object.is?Object.is:function(t,r){return t===r&&(0!==t||1/t==1/r)||t!=t&&r!=r},a=i.useSyncExternalStore,s=i.useRef,l=i.useEffect,u=i.useMemo,c=i.useDebugValue;r.useSyncExternalStoreWithSelector=function(t,r,n,i,d){var f=s(null);if(null===f.current){var h={hasValue:!1,value:null};f.current=h}else h=f.current;var m=a(t,(f=u(function(){function t(t){if(!l){if(l=!0,a=t,t=i(t),void 0!==d&&h.hasValue){var r=h.value;if(d(r,t))return s=r}return s=t}if(r=s,o(a,t))return r;var n=i(t);return void 0!==d&&d(r,n)?(a=t,r):(a=t,s=n)}var a,s,l=!1,u=void 0===n?null:n;return[function(){return t(r())},null===u?void 0:function(){return t(u())}]},[r,n,i,d]))[0],f[1]);return l(function(){h.hasValue=!0,h.value=m},[m]),c(m),m}},69349:function(t,r,n){"use strict";t.exports=n(45070)},67074:function(t,r,n){"use strict";let i;n.d(r,{Z:()=>l});let o={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},a=new Uint8Array(16),s=[];for(let t=0;t<256;++t)s.push((t+256).toString(16).slice(1));let l=function(t,r,n){if(o.randomUUID&&!r&&!t)return o.randomUUID();let l=(t=t||{}).random??t.rng?.()??function(){if(!i){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");i=crypto.getRandomValues.bind(crypto)}return i(a)}();if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,r){if((n=n||0)<0||n+16>r.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let t=0;t<16;++t)r[n+t]=l[t];return r}return function(t,r=0){return(s[t[r+0]]+s[t[r+1]]+s[t[r+2]]+s[t[r+3]]+"-"+s[t[r+4]]+s[t[r+5]]+"-"+s[t[r+6]]+s[t[r+7]]+"-"+s[t[r+8]]+s[t[r+9]]+"-"+s[t[r+10]]+s[t[r+11]]+s[t[r+12]]+s[t[r+13]]+s[t[r+14]]+s[t[r+15]]).toLowerCase()}(l)}},64896:function(t){t.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},66627:function(t,r,n){"use strict";var i=n(26302),o=n(26550),a=n(38104),s=n(88705),l=n(64134);t.exports=function(t){return null==t||"object"!=typeof t&&"function"!=typeof t?null:i(t)?"String":o(t)?"Number":a(t)?"Boolean":s(t)?"Symbol":l(t)?"BigInt":void 0}},4647:function(t,r,n){"use strict";var i=n(7968),o=n(13328),a=n(56927),s=n(7938);t.exports=function(t){if(t&&"object"==typeof t){if(i(t))return"Map";if(o(t))return"Set";if(a(t))return"WeakMap";if(s(t))return"WeakSet"}return!1}},32094:function(t,r,n){"use strict";var i=n(83243),o=n(10711),a=n(89429),s=n(8435),l=n(50326),u=n(21750),c=s("Object.prototype.toString"),d=n(67226)(),f="undefined"==typeof globalThis?n.g:globalThis,h=o(),m=s("String.prototype.slice"),g=s("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return -1},y={__proto__:null};d&&l&&u?i(h,function(t){var r=new f[t];if(Symbol.toStringTag in r&&u){var n=u(r),i=l(n,Symbol.toStringTag);!i&&n&&(i=l(u(n),Symbol.toStringTag)),y["$"+t]=a(i.get)}}):i(h,function(t){var r=new f[t],n=r.slice||r.set;n&&(y["$"+t]=a(n))});var v=function(t){var r=!1;return i(y,function(n,i){if(!r)try{"$"+n(t)===i&&(r=m(i,1))}catch(t){}}),r},b=function(t){var r=!1;return i(y,function(n,i){if(!r)try{n(t),r=m(i,1)}catch(t){}}),r};t.exports=function(t){if(!t||"object"!=typeof t)return!1;if(!d){var r=m(c(t),8,-1);return g(h,r)>-1?r:"Object"===r&&b(t)}return l?v(t):null}},69763:function(t,r,n){"use strict";n.d(r,{LC:()=>x});var i=n(97861),o=n(95397),a=n(12986),s=n(66784),l=n(86226),u=n(2784);function c(t,...r){return Object.assign(t,...r)}function d(t){return t.replace(t[0],t[0].toUpperCase())}var f=WeakMap?new WeakMap:void 0,h=({endpointName:t,queryArgs:r})=>{let n="",i=f?.get(r);if("string"==typeof i)n=i;else{let t=JSON.stringify(r,(t,r)=>(r="bigint"==typeof r?{$bigint:r.toString()}:r,r=(0,s.PO)(r)?Object.keys(r).sort().reduce((t,n)=>(t[n]=r[n],t),{}):r));(0,s.PO)(r)&&f?.set(r,t),n=t}return`${t}(${n})`},m=Symbol();function g(t,r,n,i){let o=(0,u.useMemo)(()=>({queryArgs:t,serialized:"object"==typeof t?r({queryArgs:t,endpointDefinition:n,endpointName:i}):t}),[t,r,n,i]),a=(0,u.useRef)(o);return(0,u.useEffect)(()=>{a.current.serialized!==o.serialized&&(a.current=o)},[o]),a.current.serialized===o.serialized?a.current.queryArgs:t}function y(t){let r=(0,u.useRef)(t);return(0,u.useEffect)(()=>{(0,o.wU)(r.current,t)||(r.current=t)},[t]),(0,o.wU)(r.current,t)?r.current:t}var v="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,b="undefined"!=typeof navigator&&"ReactNative"===navigator.product,_=v||b?u.useLayoutEffect:u.useEffect,w=t=>t.isUninitialized?{...t,isUninitialized:!1,isFetching:!0,isLoading:void 0===t.data,status:i.oZ.pending}:t,S=Symbol(),x=(0,i.Tk)((0,i.hF)(),(({batch:t=o.dC,hooks:r={useDispatch:o.I0,useSelector:o.v9,useStore:o.oR},createSelector:n=a.P1,unstable__sideEffectsInRender:s=!1,...f}={})=>({name:S,init(a,{serializeQueryArgs:f},v){let{buildQueryHooks:b,buildMutationHook:S,usePrefetch:x}=function({api:t,moduleOptions:{batch:r,hooks:{useDispatch:n,useSelector:a,useStore:s},unstable__sideEffectsInRender:c,createSelector:d},serializeQueryArgs:f,context:v}){let b=c?t=>t():u.useEffect;return{buildQueryHooks:function(c){let x=(r,{refetchOnReconnect:o,refetchOnFocus:a,refetchOnMountOrArgChange:s,skip:d=!1,pollingInterval:f=0,skipPollingIfUnfocused:m=!1}={})=>{let{initiate:_}=t.endpoints[c],w=n(),S=(0,u.useRef)(void 0);S.current||(S.current=w(t.internalActions.internal_getRTKQSubscriptions()));let x=g(d?i.CN:r,h,v.endpointDefinitions[c],c),E=y({refetchOnReconnect:o,refetchOnFocus:a,pollingInterval:f,skipPollingIfUnfocused:m}),k=(0,u.useRef)(!1),C=(0,u.useRef)(void 0),{queryCacheKey:O,requestId:R}=C.current||{},T=!1;O&&R&&(T=S.current.isRequestSubscribed(O,R));let P=!T&&k.current;return b(()=>{k.current=T}),b(()=>{P&&(C.current=void 0)},[P]),b(()=>{let t=C.current;if(x===i.CN){t?.unsubscribe(),C.current=void 0;return}let r=C.current?.subscriptionOptions;t&&t.arg===x?E!==r&&t.updateSubscriptionOptions(E):(t?.unsubscribe(),C.current=w(_(x,{subscriptionOptions:E,forceRefetch:s})))},[w,_,s,x,E,P]),(0,u.useEffect)(()=>()=>{C.current?.unsubscribe(),C.current=void 0},[]),(0,u.useMemo)(()=>({refetch:()=>{if(!C.current)throw Error((0,l.rJ)(38));return C.current?.refetch()}}),[])},E=({refetchOnReconnect:i,refetchOnFocus:o,pollingInterval:a=0,skipPollingIfUnfocused:s=!1}={})=>{let{initiate:l}=t.endpoints[c],d=n(),[f,h]=(0,u.useState)(m),g=(0,u.useRef)(void 0),v=y({refetchOnReconnect:i,refetchOnFocus:o,pollingInterval:a,skipPollingIfUnfocused:s});b(()=>{v!==g.current?.subscriptionOptions&&g.current?.updateSubscriptionOptions(v)},[v]);let _=(0,u.useRef)(v);b(()=>{_.current=v},[v]);let w=(0,u.useCallback)(function(t,n=!1){let i;return r(()=>{g.current?.unsubscribe(),g.current=i=d(l(t,{subscriptionOptions:_.current,forceRefetch:!n})),h(t)}),i},[d,l]);return(0,u.useEffect)(()=>()=>{g?.current?.unsubscribe()},[]),(0,u.useEffect)(()=>{f===m||g.current||w(f,!0)},[f,w]),(0,u.useMemo)(()=>[w,f],[w,f])},k=(r,{skip:n=!1,selectFromResult:l}={})=>{let{select:h}=t.endpoints[c],m=g(n?i.CN:r,f,v.endpointDefinitions[c],c),y=(0,u.useRef)(void 0),b=(0,u.useMemo)(()=>d([h(m),(t,r)=>r,t=>m],S,{memoizeOptions:{resultEqualityCheck:o.wU}}),[h,m]),w=(0,u.useMemo)(()=>l?d([b],l,{devModeChecks:{identityFunctionCheck:"never"}}):b,[b,l]),x=a(t=>w(t,y.current),o.wU),E=b(s().getState(),y.current);return _(()=>{y.current=E},[E]),x};return{useQueryState:k,useQuerySubscription:x,useLazyQuerySubscription:E,useLazyQuery(t){let[r,n]=E(t),i=k(n,{...t,skip:n===m}),o=(0,u.useMemo)(()=>({lastArg:n}),[n]);return(0,u.useMemo)(()=>[r,i,o],[r,i,o])},useQuery(t,r){let n=x(t,r),o=k(t,{selectFromResult:t===i.CN||r?.skip?void 0:w,...r}),{data:a,status:s,isLoading:l,isSuccess:c,isError:d,error:f}=o;return(0,u.useDebugValue)({data:a,status:s,isLoading:l,isSuccess:c,isError:d,error:f}),(0,u.useMemo)(()=>({...o,...n}),[o,n])}}},buildMutationHook:function(i){return({selectFromResult:s,fixedCacheKey:l}={})=>{let{select:c,initiate:f}=t.endpoints[i],h=n(),[m,g]=(0,u.useState)();(0,u.useEffect)(()=>()=>{m?.arg.fixedCacheKey||m?.reset()},[m]);let y=(0,u.useCallback)(function(t){let r=h(f(t,{fixedCacheKey:l}));return g(r),r},[h,f,l]),{requestId:v}=m||{},b=(0,u.useMemo)(()=>c({fixedCacheKey:l,requestId:m?.requestId}),[l,m,c]),_=a((0,u.useMemo)(()=>s?d([b],s):b,[s,b]),o.wU),w=null==l?m?.arg.originalArgs:void 0,S=(0,u.useCallback)(()=>{r(()=>{m&&g(void 0),l&&h(t.internalActions.removeMutationResult({requestId:v,fixedCacheKey:l}))})},[h,l,m,v]),{endpointName:x,data:E,status:k,isLoading:C,isSuccess:O,isError:R,error:T}=_;(0,u.useDebugValue)({endpointName:x,data:E,status:k,isLoading:C,isSuccess:O,isError:R,error:T});let P=(0,u.useMemo)(()=>({..._,originalArgs:w,reset:S}),[_,w,S]);return(0,u.useMemo)(()=>[y,P],[y,P])}},usePrefetch:function(r,i){let o=n(),a=y(i);return(0,u.useCallback)((n,i)=>o(t.util.prefetch(r,n,{...a,...i})),[r,o,a])}};function S(t,r,n){if(r?.endpointName&&t.isUninitialized){let{endpointName:t}=r,i=v.endpointDefinitions[t];f({queryArgs:r.originalArgs,endpointDefinition:i,endpointName:t})===f({queryArgs:n,endpointDefinition:i,endpointName:t})&&(r=void 0)}let i=t.isSuccess?t.data:r?.data;void 0===i&&(i=t.data);let o=void 0!==i,a=t.isLoading,s=(!r||r.isLoading||r.isUninitialized)&&!o&&a,l=t.isSuccess||a&&o;return{...t,data:i,currentData:t.data,isFetching:a,isLoading:s,isSuccess:l}}}({api:a,moduleOptions:{batch:t,hooks:r,unstable__sideEffectsInRender:s,createSelector:n},serializeQueryArgs:f,context:v});return c(a,{usePrefetch:x}),c(v,{batch:t}),{injectEndpoint(t,r){if("query"===r.type){let{useQuery:r,useLazyQuery:n,useLazyQuerySubscription:i,useQueryState:o,useQuerySubscription:s}=b(t);c(a.endpoints[t],{useQuery:r,useLazyQuery:n,useLazyQuerySubscription:i,useQueryState:o,useQuerySubscription:s}),a[`use${d(t)}Query`]=r,a[`useLazy${d(t)}Query`]=n}else if("mutation"===r.type){let r=S(t);c(a.endpoints[t],{useMutation:r}),a[`use${d(t)}Mutation`]=r}}}}}))())},97861:function(t,r,n){"use strict";n.d(r,{CN:()=>F,Tk:()=>Z,hF:()=>er,ni:()=>w,oZ:()=>u});var i,o=n(66784),a=n(86226),s=n(35701),l=n(12986),u=((i=u||{}).uninitialized="uninitialized",i.pending="pending",i.fulfilled="fulfilled",i.rejected="rejected",i),c=o.PO;function d(t){let r=0;for(let n in t)r++;return r}var f=t=>[].concat(...t);function h(t){return null!=t}var m=t=>t.replace(/\/$/,""),g=t=>t.replace(/^\//,""),y=(...t)=>fetch(...t),v=t=>t.status>=200&&t.status<=299,b=t=>/ion\/(vnd\.api\+)?json/.test(t.get("content-type")||"");function _(t){if(!(0,o.PO)(t))return t;let r={...t};for(let[t,n]of Object.entries(r))void 0===n&&delete r[t];return r}function w({baseUrl:t,prepareHeaders:r=t=>t,fetchFn:n=y,paramsSerializer:i,isJsonContentType:a=b,jsonContentType:s="application/json",jsonReplacer:l,timeout:u,responseHandler:c,validateStatus:d,...f}={}){return"undefined"==typeof fetch&&n===y&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(y,b)=>{let w,S,{signal:x,getState:E,extra:k,endpoint:C,forced:O,type:R}=b,{url:T,headers:P=new Headers(f.headers),params:M,responseHandler:I=c??"json",validateStatus:A=d??v,timeout:L=u,...N}="string"==typeof y?{url:y}:y,j={...f,signal:x,...N};P=new Headers(_(P)),j.headers=await r(P,{getState:E,extra:k,endpoint:C,forced:O,type:R})||P;let D=t=>"object"==typeof t&&((0,o.PO)(t)||Array.isArray(t)||"function"==typeof t.toJSON);if(!j.headers.has("content-type")&&D(j.body)&&j.headers.set("content-type",s),D(j.body)&&a(j.headers)&&(j.body=JSON.stringify(j.body,l)),M){let t=~T.indexOf("?")?"&":"?";T+=t+(i?i(M):new URLSearchParams(_(M)))}let F=new Request(T=function(t,r){var n;if(!t)return r;if(!r)return t;if(n=r,RegExp("(^|:)//").test(n))return r;let i=t.endsWith("/")||!r.startsWith("?")?"/":"";return t=m(t),r=g(r),`${t}${i}${r}`}(t,T),j);w={request:new Request(T,j)};let B,$=!1,U=L&&setTimeout(()=>{$=!0,b.abort()},L);try{B=await n(F)}catch(t){return{error:{status:$?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(t)},meta:w}}finally{U&&clearTimeout(U)}let z=B.clone();w.response=z;let q="";try{let t;if(await Promise.all([h(B,I).then(t=>S=t,r=>t=r),z.text().then(t=>q=t,()=>{})]),t)throw t}catch(t){return{error:{status:"PARSING_ERROR",originalStatus:B.status,data:q,error:String(t)},meta:w}}return A(B,S)?{data:S,meta:w}:{error:{status:B.status,data:S},meta:w}};async function h(t,r){if("function"==typeof r)return r(t);if("content-type"===r&&(r=a(t.headers)?"json":"text"),"json"===r){let r=await t.text();return r.length?JSON.parse(r):null}return t.text()}}var S=class{constructor(t,r){this.value=t,this.meta=r}},x=(0,a.PH)("__rtkq/focused"),E=(0,a.PH)("__rtkq/unfocused"),k=(0,a.PH)("__rtkq/online"),C=(0,a.PH)("__rtkq/offline");function O(t){return"query"===t.type}function R(t,r,n,i,o,a){return"function"==typeof t?t(r,n,i,o).map(T).map(a):Array.isArray(t)?t.map(T).map(a):[]}function T(t){return"string"==typeof t?{type:t}:t}var P=Symbol("forceQueryFn"),M=t=>"function"==typeof t[P];function I(t){return t}function A(t,r,n,i){return R(n[t.meta.arg.endpointName][r],(0,a.KD)(t)?t.payload:void 0,(0,a.h_)(t)?t.payload:void 0,t.meta.arg.originalArgs,"baseQueryMeta"in t.meta?t.meta.baseQueryMeta:void 0,i)}function L(t,r,n){let i=t[r];i&&n(i)}function N(t){return("arg"in t?t.arg.fixedCacheKey:t.fixedCacheKey)??t.requestId}function j(t,r,n){let i=t[N(r)];i&&n(i)}var D={},F=Symbol.for("RTKQ/skipToken"),B={status:"uninitialized"},$=(0,s.Uy)(B,()=>{}),U=(0,s.Uy)(B,()=>{}),z=WeakMap?new WeakMap:void 0,q=({endpointName:t,queryArgs:r})=>{let n="",i=z?.get(r);if("string"==typeof i)n=i;else{let t=JSON.stringify(r,(t,r)=>(r="bigint"==typeof r?{$bigint:r.toString()}:r,r=(0,o.PO)(r)?Object.keys(r).sort().reduce((t,n)=>(t[n]=r[n],t),{}):r));(0,o.PO)(r)&&z?.set(r,t),n=t}return`${t}(${n})`};function Z(...t){return function(r){let n=(0,l.kO)(t=>r.extractRehydrationInfo?.(t,{reducerPath:r.reducerPath??"api"})),i={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...r,extractRehydrationInfo:n,serializeQueryArgs(t){let n=q;if("serializeQueryArgs"in t.endpointDefinition){let r=t.endpointDefinition.serializeQueryArgs;n=t=>{let n=r(t);return"string"==typeof n?n:q({...t,queryArgs:n})}}else r.serializeQueryArgs&&(n=r.serializeQueryArgs);return n(t)},tagTypes:[...r.tagTypes||[]]},o={endpointDefinitions:{},batch(t){t()},apiUid:(0,a.x0)(),extractRehydrationInfo:n,hasRehydrationInfo:(0,l.kO)(t=>null!=n(t))},s={injectEndpoints:function(t){for(let[r,n]of Object.entries(t.endpoints({query:t=>({...t,type:"query"}),mutation:t=>({...t,type:"mutation"})}))){if(!0!==t.overrideExisting&&r in o.endpointDefinitions){if("throw"===t.overrideExisting)throw Error((0,a.rJ)(39));continue}for(let t of(o.endpointDefinitions[r]=n,u))t.injectEndpoint(r,n)}return s},enhanceEndpoints({addTagTypes:t,endpoints:r}){if(t)for(let r of t)i.tagTypes.includes(r)||i.tagTypes.push(r);if(r)for(let[t,n]of Object.entries(r))"function"==typeof n?n(o.endpointDefinitions[t]):Object.assign(o.endpointDefinitions[t]||{},n);return s}},u=t.map(t=>t.init(s,i,o));return s.injectEndpoints({endpoints:r.endpoints})}}function H(t,...r){return Object.assign(t,...r)}var V=({api:t,queryThunk:r,internalState:n})=>{let i=`${t.reducerPath}/subscriptions`,o=null,a=null,{updateSubscriptionOptions:l,unsubscribeQueryResult:u}=t.internalActions,c=(n,i)=>{if(l.match(i)){let{queryCacheKey:t,requestId:r,options:o}=i.payload;return n?.[t]?.[r]&&(n[t][r]=o),!0}if(u.match(i)){let{queryCacheKey:t,requestId:r}=i.payload;return n[t]&&delete n[t][r],!0}if(t.internalActions.removeQueryResult.match(i))return delete n[i.payload.queryCacheKey],!0;if(r.pending.match(i)){let{meta:{arg:t,requestId:r}}=i,o=n[t.queryCacheKey]??={};return o[`${r}_running`]={},t.subscribe&&(o[r]=t.subscriptionOptions??o[r]??{}),!0}let o=!1;if(r.fulfilled.match(i)||r.rejected.match(i)){let t=n[i.meta.arg.queryCacheKey]||{},r=`${i.meta.requestId}_running`;o||=!!t[r],delete t[r]}if(r.rejected.match(i)){let{meta:{condition:t,arg:r,requestId:a}}=i;if(t&&r.subscribe){let t=n[r.queryCacheKey]??={};t[a]=r.subscriptionOptions??t[a]??{},o=!0}}return o},f=()=>n.currentSubscriptions,h={getSubscriptions:f,getSubscriptionCount:t=>d(f()[t]??{}),isRequestSubscribed:(t,r)=>{let n=f();return!!n?.[t]?.[r]}};return(l,u)=>{if(o||(o=JSON.parse(JSON.stringify(n.currentSubscriptions))),t.util.resetApiState.match(l))return o=n.currentSubscriptions={},a=null,[!0,!1];if(t.internalActions.internal_getRTKQSubscriptions.match(l))return[!1,h];let d=c(n.currentSubscriptions,l),f=!0;if(d){a||(a=setTimeout(()=>{let r=JSON.parse(JSON.stringify(n.currentSubscriptions)),[,i]=(0,s.aS)(o,()=>r);u.next(t.internalActions.subscriptionsUpdated(i)),o=r,a=null},500));let c="string"==typeof l.type&&!!l.type.startsWith(i),d=r.rejected.match(l)&&l.meta.condition&&!!l.meta.arg.subscribe;f=!c&&!d}return[f,!1]}},W=({reducerPath:t,api:r,queryThunk:n,context:i,internalState:o})=>{let{removeQueryResult:s,unsubscribeQueryResult:l}=r.internalActions,u=(0,a.Q)(l.match,n.fulfilled,n.rejected);function c(t){let r=o.currentSubscriptions[t];return!!r&&!function(t){for(let r in t)return!1;return!0}(r)}let d={};function f(t,r,n,o){let a=i.endpointDefinitions[r],l=a?.keepUnusedDataFor??o.keepUnusedDataFor;if(l===1/0)return;let u=Math.max(0,Math.min(l,2147482.647));if(!c(t)){let r=d[t];r&&clearTimeout(r),d[t]=setTimeout(()=>{c(t)||n.dispatch(s({queryCacheKey:t})),delete d[t]},1e3*u)}}return(n,o,a)=>{if(u(n)){let r=o.getState()[t],{queryCacheKey:i}=l.match(n)?n.payload:n.meta.arg;f(i,r.queries[i]?.endpointName,o,r.config)}if(r.util.resetApiState.match(n))for(let[t,r]of Object.entries(d))r&&clearTimeout(r),delete d[t];if(i.hasRehydrationInfo(n)){let r=o.getState()[t],{queries:a}=i.extractRehydrationInfo(n);for(let[t,n]of Object.entries(a))f(t,n?.endpointName,o,r.config)}}},G=Error("Promise never resolved before cacheEntryRemoved."),K=({api:t,reducerPath:r,context:n,queryThunk:i,mutationThunk:o,internalState:s})=>{let l=(0,a.Gx)(i),u=(0,a.Gx)(o),c=(0,a.KD)(i,o),d={};function f(r,i,o,a,s){let l=n.endpointDefinitions[r],u=l?.onCacheEntryAdded;if(!u)return;let c={},f=new Promise(t=>{c.cacheEntryRemoved=t}),h=Promise.race([new Promise(t=>{c.valueResolved=t}),f.then(()=>{throw G})]);h.catch(()=>{}),d[o]=c;let m=t.endpoints[r].select("query"===l.type?i:o),g=a.dispatch((t,r,n)=>n),y={...a,getCacheEntry:()=>m(a.getState()),requestId:s,extra:g,updateCachedData:"query"===l.type?n=>a.dispatch(t.util.updateQueryData(r,i,n)):void 0,cacheDataLoaded:h,cacheEntryRemoved:f};Promise.resolve(u(i,y)).catch(t=>{if(t!==G)throw t})}return(n,a,s)=>{var h;let m=l(h=n)?h.meta.arg.queryCacheKey:u(h)?h.meta.arg.fixedCacheKey??h.meta.requestId:t.internalActions.removeQueryResult.match(h)?h.payload.queryCacheKey:t.internalActions.removeMutationResult.match(h)?N(h.payload):"";if(i.pending.match(n)){let t=s[r].queries[m],i=a.getState()[r].queries[m];!t&&i&&f(n.meta.arg.endpointName,n.meta.arg.originalArgs,m,a,n.meta.requestId)}else if(o.pending.match(n))a.getState()[r].mutations[m]&&f(n.meta.arg.endpointName,n.meta.arg.originalArgs,m,a,n.meta.requestId);else if(c(n)){let t=d[m];t?.valueResolved&&(t.valueResolved({data:n.payload,meta:n.meta.baseQueryMeta}),delete t.valueResolved)}else if(t.internalActions.removeQueryResult.match(n)||t.internalActions.removeMutationResult.match(n)){let t=d[m];t&&(delete d[m],t.cacheEntryRemoved())}else if(t.util.resetApiState.match(n))for(let[t,r]of Object.entries(d))delete d[t],r.cacheEntryRemoved()}},X=({api:t,context:{apiUid:r},reducerPath:n})=>(n,i)=>{t.util.resetApiState.match(n)&&i.dispatch(t.internalActions.middlewareRegistered(r))},Y=({reducerPath:t,context:r,context:{endpointDefinitions:n},mutationThunk:i,queryThunk:o,api:s,assertTagType:l,refetchQuery:u,internalState:c})=>{let{removeQueryResult:f}=s.internalActions,h=(0,a.Q)((0,a.KD)(i),(0,a.h_)(i)),m=(0,a.Q)((0,a.KD)(i,o),(0,a.Iv)(i,o)),g=[];function y(n,i){let o=i.getState(),a=o[t];if(g.push(...n),"delayed"===a.config.invalidationBehavior&&function(t){for(let r in t.queries)if(t.queries[r]?.status==="pending")return!0;for(let r in t.mutations)if(t.mutations[r]?.status==="pending")return!0;return!1}(a))return;let l=g;if(g=[],0===l.length)return;let h=s.util.selectInvalidatedBy(o,l);r.batch(()=>{for(let{queryCacheKey:t}of Array.from(h.values())){let r=a.queries[t],n=c.currentSubscriptions[t]??{};r&&(0===d(n)?i.dispatch(f({queryCacheKey:t})):"uninitialized"!==r.status&&i.dispatch(u(r,t)))}})}return(t,r)=>{h(t)?y(A(t,"invalidatesTags",n,l),r):m(t)?y([],r):s.util.invalidateTags.match(t)&&y(R(t.payload,void 0,void 0,void 0,void 0,l),r)}},J=({reducerPath:t,queryThunk:r,api:n,refetchQuery:i,internalState:o})=>{let a={};function s({queryCacheKey:r},n){let l=n.getState()[t],u=l.queries[r],d=o.currentSubscriptions[r];if(!u||"uninitialized"===u.status)return;let{lowestPollingInterval:f,skipPollingIfUnfocused:h}=c(d);if(!Number.isFinite(f))return;let m=a[r];m?.timeout&&(clearTimeout(m.timeout),m.timeout=void 0);let g=Date.now()+f;a[r]={nextPollTimestamp:g,pollingInterval:f,timeout:setTimeout(()=>{(l.config.focused||!h)&&n.dispatch(i(u,r)),s({queryCacheKey:r},n)},f)}}function l({queryCacheKey:r},n){let i=n.getState()[t].queries[r],l=o.currentSubscriptions[r];if(!i||"uninitialized"===i.status)return;let{lowestPollingInterval:d}=c(l);if(!Number.isFinite(d)){u(r);return}let f=a[r],h=Date.now()+d;(!f||h<f.nextPollTimestamp)&&s({queryCacheKey:r},n)}function u(t){let r=a[t];r?.timeout&&clearTimeout(r.timeout),delete a[t]}function c(t={}){let r=!1,n=Number.POSITIVE_INFINITY;for(let i in t)t[i].pollingInterval&&(n=Math.min(t[i].pollingInterval,n),r=t[i].skipPollingIfUnfocused||r);return{lowestPollingInterval:n,skipPollingIfUnfocused:r}}return(t,i)=>{(n.internalActions.updateSubscriptionOptions.match(t)||n.internalActions.unsubscribeQueryResult.match(t))&&l(t.payload,i),(r.pending.match(t)||r.rejected.match(t)&&t.meta.condition)&&l(t.meta.arg,i),(r.fulfilled.match(t)||r.rejected.match(t)&&!t.meta.condition)&&s(t.meta.arg,i),n.util.resetApiState.match(t)&&function(){for(let t of Object.keys(a))u(t)}()}},Q=({api:t,context:r,queryThunk:n,mutationThunk:i})=>{let o=(0,a.zR)(n,i),s=(0,a.Iv)(n,i),l=(0,a.KD)(n,i),u={};return(n,i)=>{if(o(n)){let{requestId:o,arg:{endpointName:a,originalArgs:s}}=n.meta,l=r.endpointDefinitions[a],c=l?.onQueryStarted;if(c){let r={},n=new Promise((t,n)=>{r.resolve=t,r.reject=n});n.catch(()=>{}),u[o]=r;let d=t.endpoints[a].select("query"===l.type?s:o),f=i.dispatch((t,r,n)=>n),h={...i,getCacheEntry:()=>d(i.getState()),requestId:o,extra:f,updateCachedData:"query"===l.type?r=>i.dispatch(t.util.updateQueryData(a,s,r)):void 0,queryFulfilled:n};c(s,h)}}else if(l(n)){let{requestId:t,baseQueryMeta:r}=n.meta;u[t]?.resolve({data:n.payload,meta:r}),delete u[t]}else if(s(n)){let{requestId:t,rejectedWithValue:r,baseQueryMeta:i}=n.meta;u[t]?.reject({error:n.payload??n.error,isUnhandledError:!r,meta:i}),delete u[t]}}},ee=({reducerPath:t,context:r,api:n,refetchQuery:i,internalState:o})=>{let{removeQueryResult:a}=n.internalActions;function s(n,s){let l=n.getState()[t],u=l.queries,c=o.currentSubscriptions;r.batch(()=>{for(let t of Object.keys(c)){let r=u[t],o=c[t];o&&r&&(Object.values(o).some(t=>!0===t[s])||Object.values(o).every(t=>void 0===t[s])&&l.config[s])&&(0===d(o)?n.dispatch(a({queryCacheKey:t})):"uninitialized"!==r.status&&n.dispatch(i(r,t)))}})}return(t,r)=>{x.match(t)&&s(r,"refetchOnFocus"),k.match(t)&&s(r,"refetchOnReconnect")}},et=Symbol(),er=({createSelector:t=l.P1}={})=>({name:et,init(r,{baseQuery:n,tagTypes:i,reducerPath:l,serializeQueryArgs:u,keepUnusedDataFor:m,refetchOnMountOrArgChange:g,refetchOnFocus:y,refetchOnReconnect:v,invalidationBehavior:b},_){(0,s.vI)();let w=t=>t;Object.assign(r,{reducerPath:l,endpoints:{},internalActions:{onOnline:k,onOffline:C,onFocus:x,onFocusLost:E},util:{}});let{queryThunk:B,mutationThunk:z,patchQueryData:q,updateQueryData:Z,upsertQueryData:G,prefetch:er,buildMatchThunkActions:en}=function({reducerPath:t,baseQuery:r,context:{endpointDefinitions:n},serializeQueryArgs:i,api:o,assertTagType:l}){let u=async(t,{signal:i,abort:o,rejectWithValue:s,fulfillWithValue:l,dispatch:u,getState:d,extra:f})=>{let h=n[t.endpointName];try{let n,s=I,m={signal:i,abort:o,dispatch:u,getState:d,extra:f,endpoint:t.endpointName,type:t.type,forced:"query"===t.type?c(t,d()):void 0},g="query"===t.type?t[P]:void 0;if(g?n=g():h.query?(n=await r(h.query(t.originalArgs),m,h.extraOptions),h.transformResponse&&(s=h.transformResponse)):n=await h.queryFn(t.originalArgs,m,h.extraOptions,t=>r(t,m,h.extraOptions)),n.error)throw new S(n.error,n.meta);return l(await s(n.data,n.meta,t.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:n.meta,[a.s4]:!0})}catch(n){let r=n;if(r instanceof S){let n=I;h.query&&h.transformErrorResponse&&(n=h.transformErrorResponse);try{return s(await n(r.value,r.meta,t.originalArgs),{baseQueryMeta:r.meta,[a.s4]:!0})}catch(t){r=t}}throw console.error(r),r}};function c(r,n){let i=n[t]?.queries?.[r.queryCacheKey],o=n[t]?.config.refetchOnMountOrArgChange,a=i?.fulfilledTimeStamp,s=r.forceRefetch??(r.subscribe&&o);return!!s&&(!0===s||(Number(new Date)-Number(a))/1e3>=s)}let d=(0,a.hg)(`${t}/executeQuery`,u,{getPendingMeta:()=>({startedTimeStamp:Date.now(),[a.s4]:!0}),condition(r,{getState:i}){let o=i(),a=o[t]?.queries?.[r.queryCacheKey],s=a?.fulfilledTimeStamp,l=r.originalArgs,u=a?.originalArgs,d=n[r.endpointName];return!!M(r)||a?.status!=="pending"&&(!!(c(r,o)||O(d)&&d?.forceRefetch?.({currentArg:l,previousArg:u,endpointState:a,state:o}))||!s)},dispatchConditionRejection:!0}),f=(0,a.hg)(`${t}/executeMutation`,u,{getPendingMeta:()=>({startedTimeStamp:Date.now(),[a.s4]:!0})}),h=t=>"force"in t,m=t=>"ifOlderThan"in t;function g(t){return r=>r?.meta?.arg?.endpointName===t}return{queryThunk:d,mutationThunk:f,prefetch:(t,r,n)=>(i,a)=>{let s=h(n)&&n.force,l=m(n)&&n.ifOlderThan,u=(n=!0)=>o.endpoints[t].initiate(r,{forceRefetch:n,isPrefetch:!0}),c=o.endpoints[t].select(r)(a());if(s)i(u());else if(l){let t=c?.fulfilledTimeStamp;if(!t){i(u());return}(Number(new Date)-Number(new Date(t)))/1e3>=l&&i(u())}else i(u(!1))},updateQueryData:(t,r,n,i=!0)=>(a,l)=>{let u,c=o.endpoints[t].select(r)(l()),d={patches:[],inversePatches:[],undo:()=>a(o.util.patchQueryData(t,r,d.inversePatches,i))};if("uninitialized"===c.status)return d;if("data"in c)if((0,s.o$)(c.data)){let[t,r,i]=(0,s.aS)(c.data,n);d.patches.push(...r),d.inversePatches.push(...i),u=t}else u=n(c.data),d.patches.push({op:"replace",path:[],value:u}),d.inversePatches.push({op:"replace",path:[],value:c.data});return 0===d.patches.length||a(o.util.patchQueryData(t,r,d.patches,i)),d},upsertQueryData:(t,r,n)=>i=>i(o.endpoints[t].initiate(r,{subscribe:!1,forceRefetch:!0,[P]:()=>({data:n})})),patchQueryData:(t,r,a,s)=>(u,c)=>{let d=n[t],f=i({queryArgs:r,endpointDefinition:d,endpointName:t});if(u(o.internalActions.queryResultPatched({queryCacheKey:f,patches:a})),!s)return;let h=o.endpoints[t].select(r)(c()),m=R(d.providesTags,h.data,void 0,r,{},l);u(o.internalActions.updateProvidedBy({queryCacheKey:f,providedTags:m}))},buildMatchThunkActions:function(t,r){return{matchPending:(0,a.A6)((0,a.zR)(t),g(r)),matchFulfilled:(0,a.A6)((0,a.KD)(t),g(r)),matchRejected:(0,a.A6)((0,a.Iv)(t),g(r))}}}}({baseQuery:n,reducerPath:l,context:_,api:r,serializeQueryArgs:u,assertTagType:w}),{reducer:ei,actions:eo}=function({reducerPath:t,queryThunk:r,mutationThunk:n,context:{endpointDefinitions:i,apiUid:l,extractRehydrationInfo:u,hasRehydrationInfo:d},assertTagType:f,config:h}){let m=(0,a.PH)(`${t}/resetApiState`),g=(0,a.oM)({name:`${t}/queries`,initialState:D,reducers:{removeQueryResult:{reducer(t,{payload:{queryCacheKey:r}}){delete t[r]},prepare:(0,a.cw)()},queryResultPatched:{reducer(t,{payload:{queryCacheKey:r,patches:n}}){L(t,r,t=>{t.data=(0,s.QE)(t.data,n.concat())})},prepare:(0,a.cw)()}},extraReducers(t){t.addCase(r.pending,(t,{meta:r,meta:{arg:n}})=>{let i=M(n);t[n.queryCacheKey]??={status:"uninitialized",endpointName:n.endpointName},L(t,n.queryCacheKey,t=>{t.status="pending",t.requestId=i&&t.requestId?t.requestId:r.requestId,void 0!==n.originalArgs&&(t.originalArgs=n.originalArgs),t.startedTimeStamp=r.startedTimeStamp})}).addCase(r.fulfilled,(t,{meta:r,payload:n})=>{L(t,r.arg.queryCacheKey,t=>{if(t.requestId!==r.requestId&&!M(r.arg))return;let{merge:o}=i[r.arg.endpointName];if(t.status="fulfilled",o)if(void 0!==t.data){let{fulfilledTimeStamp:i,arg:a,baseQueryMeta:l,requestId:u}=r,c=(0,s.Uy)(t.data,t=>o(t,n,{arg:a.originalArgs,baseQueryMeta:l,fulfilledTimeStamp:i,requestId:u}));t.data=c}else t.data=n;else t.data=i[r.arg.endpointName].structuralSharing??!0?function t(r,n){if(r===n||!(c(r)&&c(n)||Array.isArray(r)&&Array.isArray(n)))return n;let i=Object.keys(n),o=Object.keys(r),a=i.length===o.length,s=Array.isArray(n)?[]:{};for(let o of i)s[o]=t(r[o],n[o]),a&&(a=r[o]===s[o]);return a?r:s}((0,s.mv)(t.data)?(0,s.Js)(t.data):t.data,n):n;delete t.error,t.fulfilledTimeStamp=r.fulfilledTimeStamp})}).addCase(r.rejected,(t,{meta:{condition:r,arg:n,requestId:i},error:o,payload:a})=>{L(t,n.queryCacheKey,t=>{if(r);else{if(t.requestId!==i)return;t.status="rejected",t.error=a??o}})}).addMatcher(d,(t,r)=>{let{queries:n}=u(r);for(let[r,i]of Object.entries(n))(i?.status==="fulfilled"||i?.status==="rejected")&&(t[r]=i)})}}),y=(0,a.oM)({name:`${t}/mutations`,initialState:D,reducers:{removeMutationResult:{reducer(t,{payload:r}){let n=N(r);n in t&&delete t[n]},prepare:(0,a.cw)()}},extraReducers(t){t.addCase(n.pending,(t,{meta:r,meta:{requestId:n,arg:i,startedTimeStamp:o}})=>{i.track&&(t[N(r)]={requestId:n,status:"pending",endpointName:i.endpointName,startedTimeStamp:o})}).addCase(n.fulfilled,(t,{payload:r,meta:n})=>{n.arg.track&&j(t,n,t=>{t.requestId===n.requestId&&(t.status="fulfilled",t.data=r,t.fulfilledTimeStamp=n.fulfilledTimeStamp)})}).addCase(n.rejected,(t,{payload:r,error:n,meta:i})=>{i.arg.track&&j(t,i,t=>{t.requestId===i.requestId&&(t.status="rejected",t.error=r??n)})}).addMatcher(d,(t,r)=>{let{mutations:n}=u(r);for(let[r,i]of Object.entries(n))(i?.status==="fulfilled"||i?.status==="rejected")&&r!==i?.requestId&&(t[r]=i)})}}),v=(0,a.oM)({name:`${t}/invalidation`,initialState:D,reducers:{updateProvidedBy:{reducer(t,r){let{queryCacheKey:n,providedTags:i}=r.payload;for(let r of Object.values(t))for(let t of Object.values(r)){let r=t.indexOf(n);-1!==r&&t.splice(r,1)}for(let{type:r,id:o}of i){let i=(t[r]??={})[o||"__internal_without_id"]??=[];i.includes(n)||i.push(n)}},prepare:(0,a.cw)()}},extraReducers(t){t.addCase(g.actions.removeQueryResult,(t,{payload:{queryCacheKey:r}})=>{for(let n of Object.values(t))for(let t of Object.values(n)){let n=t.indexOf(r);-1!==n&&t.splice(n,1)}}).addMatcher(d,(t,r)=>{let{provided:n}=u(r);for(let[r,i]of Object.entries(n))for(let[n,o]of Object.entries(i)){let i=(t[r]??={})[n||"__internal_without_id"]??=[];for(let t of o)i.includes(t)||i.push(t)}}).addMatcher((0,a.Q)((0,a.KD)(r),(0,a.h_)(r)),(t,r)=>{let n=A(r,"providesTags",i,f),{queryCacheKey:o}=r.meta.arg;v.caseReducers.updateProvidedBy(t,v.actions.updateProvidedBy({queryCacheKey:o,providedTags:n}))})}}),b=(0,a.oM)({name:`${t}/subscriptions`,initialState:D,reducers:{updateSubscriptionOptions(t,r){},unsubscribeQueryResult(t,r){},internal_getRTKQSubscriptions(){}}}),_=(0,a.oM)({name:`${t}/internalSubscriptions`,initialState:D,reducers:{subscriptionsUpdated:{reducer:(t,r)=>(0,s.QE)(t,r.payload),prepare:(0,a.cw)()}}}),w=(0,a.oM)({name:`${t}/config`,initialState:{online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine,focused:"undefined"==typeof document||"hidden"!==document.visibilityState,middlewareRegistered:!1,...h},reducers:{middlewareRegistered(t,{payload:r}){t.middlewareRegistered="conflict"!==t.middlewareRegistered&&l===r||"conflict"}},extraReducers:t=>{t.addCase(k,t=>{t.online=!0}).addCase(C,t=>{t.online=!1}).addCase(x,t=>{t.focused=!0}).addCase(E,t=>{t.focused=!1}).addMatcher(d,t=>({...t}))}}),S=(0,o.UY)({queries:g.reducer,mutations:y.reducer,provided:v.reducer,subscriptions:_.reducer,config:w.reducer});return{reducer:(t,r)=>S(m.match(r)?void 0:t,r),actions:{...w.actions,...g.actions,...b.actions,..._.actions,...y.actions,...v.actions,resetApiState:m}}}({context:_,queryThunk:B,mutationThunk:z,reducerPath:l,assertTagType:w,config:{refetchOnFocus:y,refetchOnReconnect:v,refetchOnMountOrArgChange:g,keepUnusedDataFor:m,reducerPath:l,invalidationBehavior:b}});H(r.util,{patchQueryData:q,updateQueryData:Z,upsertQueryData:G,prefetch:er,resetApiState:eo.resetApiState}),H(r.internalActions,eo);let{middleware:ea,actions:es}=function(t){let{reducerPath:r,queryThunk:n,api:i,context:s}=t,{apiUid:l}=s,u={invalidateTags:(0,a.PH)(`${r}/invalidateTags`)},c=t=>t.type.startsWith(`${r}/`),d=[X,W,Y,J,K,Q];return{middleware:n=>{let a=!1,u={...t,internalState:{currentSubscriptions:{}},refetchQuery:f,isThisApiSliceAction:c},h=d.map(t=>t(u)),m=V(u),g=ee(u);return t=>u=>{let d;if(!(0,o.LG)(u))return t(u);a||(a=!0,n.dispatch(i.internalActions.middlewareRegistered(l)));let f={...n,next:t},y=n.getState(),[v,b]=m(u,f,y);if(d=v?t(u):b,n.getState()[r]&&(g(u,f,y),c(u)||s.hasRehydrationInfo(u)))for(let t of h)t(u,f,y);return d}},actions:u};function f(t,r,i={}){return n({type:"query",endpointName:t.endpointName,originalArgs:t.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:r,...i})}}({reducerPath:l,context:_,queryThunk:B,mutationThunk:z,api:r,assertTagType:w});H(r.util,es),H(r,{reducer:ei,middleware:ea});let{buildQuerySelector:el,buildMutationSelector:eu,selectInvalidatedBy:ec,selectCachedArgsForQuery:ed}=function({serializeQueryArgs:t,reducerPath:r,createSelector:n}){let i=t=>$,o=t=>U;return{buildQuerySelector:function(o,s){return l=>{let u=t({queryArgs:l,endpointDefinition:s,endpointName:o});return n(l===F?i:t=>(function(t){return t[r]})(t)?.queries?.[u]??$,a)}},buildMutationSelector:function(){return t=>{let i;return n((i="object"==typeof t?N(t)??F:t)===F?o:t=>(function(t){return t[r]})(t)?.mutations?.[i]??U,a)}},selectInvalidatedBy:function(t,n){let i=t[r],o=new Set;for(let t of n.map(T)){let r=i.provided[t.type];if(r)for(let n of(void 0!==t.id?r[t.id]:f(Object.values(r)))??[])o.add(n)}return f(Array.from(o.values()).map(t=>{let r=i.queries[t];return r?[{queryCacheKey:t,endpointName:r.endpointName,originalArgs:r.originalArgs}]:[]}))},selectCachedArgsForQuery:function(t,n){return Object.values(t[r].queries).filter(t=>t?.endpointName===n&&"uninitialized"!==t.status).map(t=>t.originalArgs)}};function a(t){var r;return{...t,...{status:r=t.status,isUninitialized:"uninitialized"===r,isLoading:"pending"===r,isSuccess:"fulfilled"===r,isError:"rejected"===r}}}function s(t){return t[r]}}({serializeQueryArgs:u,reducerPath:l,createSelector:t});H(r.util,{selectInvalidatedBy:ec,selectCachedArgsForQuery:ed});let{buildInitiateQuery:ep,buildInitiateMutation:ef,getRunningMutationThunk:eh,getRunningMutationsThunk:em,getRunningQueriesThunk:eg,getRunningQueryThunk:ey}=function({serializeQueryArgs:t,queryThunk:r,mutationThunk:n,api:i,context:o}){let a=new Map,s=new Map,{unsubscribeQueryResult:l,removeMutationResult:u,updateSubscriptionOptions:c}=i.internalActions;return{buildInitiateQuery:function(n,o){let s=(u,{subscribe:f=!0,forceRefetch:h,subscriptionOptions:m,[P]:g,...y}={})=>(v,b)=>{let _=t({queryArgs:u,endpointDefinition:o,endpointName:n}),w=r({...y,type:"query",subscribe:f,forceRefetch:h,subscriptionOptions:m,endpointName:n,originalArgs:u,queryCacheKey:_,[P]:g}),S=i.endpoints[n].select(u),x=v(w),E=S(b()),{requestId:k,abort:C}=x,O=E.requestId!==k,R=a.get(v)?.[_],T=()=>S(b()),M=Object.assign(g?x.then(T):O&&!R?Promise.resolve(E):Promise.all([R,x]).then(T),{arg:u,requestId:k,subscriptionOptions:m,queryCacheKey:_,abort:C,async unwrap(){let t=await M;if(t.isError)throw t.error;return t.data},refetch:()=>v(s(u,{subscribe:!1,forceRefetch:!0})),unsubscribe(){f&&v(l({queryCacheKey:_,requestId:k}))},updateSubscriptionOptions(t){M.subscriptionOptions=t,v(c({endpointName:n,requestId:k,queryCacheKey:_,options:t}))}});if(!R&&!O&&!g){let t=a.get(v)||{};t[_]=M,a.set(v,t),M.then(()=>{delete t[_],d(t)||a.delete(v)})}return M};return s},buildInitiateMutation:function(t){return(r,{track:i=!0,fixedCacheKey:o}={})=>(a,l)=>{var c,f;let h=a(n({type:"mutation",endpointName:t,originalArgs:r,track:i,fixedCacheKey:o})),{requestId:m,abort:g,unwrap:y}=h,v=Object.assign((c=h.unwrap().then(t=>({data:t})),f=t=>({error:t}),c.catch(f)),{arg:h.arg,requestId:m,abort:g,unwrap:y,reset:()=>{a(u({requestId:m,fixedCacheKey:o}))}}),b=s.get(a)||{};return s.set(a,b),b[m]=v,v.then(()=>{delete b[m],d(b)||s.delete(a)}),o&&(b[o]=v,v.then(()=>{b[o]===v&&(delete b[o],d(b)||s.delete(a))})),v}},getRunningQueryThunk:function(r,n){return i=>{let s=t({queryArgs:n,endpointDefinition:o.endpointDefinitions[r],endpointName:r});return a.get(i)?.[s]}},getRunningMutationThunk:function(t,r){return t=>s.get(t)?.[r]},getRunningQueriesThunk:function(){return t=>Object.values(a.get(t)||{}).filter(h)},getRunningMutationsThunk:function(){return t=>Object.values(s.get(t)||{}).filter(h)}};function f(t){}}({queryThunk:B,mutationThunk:z,api:r,serializeQueryArgs:u,context:_});return H(r.util,{getRunningMutationThunk:eh,getRunningMutationsThunk:em,getRunningQueryThunk:ey,getRunningQueriesThunk:eg}),{name:et,injectEndpoint(t,n){(r.endpoints[t]??={},O(n))?H(r.endpoints[t],{name:t,select:el(t,n),initiate:ep(t,n)},en(B,t)):"mutation"===n.type&&H(r.endpoints[t],{name:t,select:eu(),initiate:ef(t)},en(z,t))}}}});er()},18476:function(t,r,n){"use strict";n.d(r,{nB:()=>a});var i=n(86226),o=n(95397),a=()=>{let t=(0,i.nB)(),r=(r=o.ET)=>{let n=r===o.ET?o.I0:(0,o.AS)(r);function i(...r){return t.addMiddleware(...r),n}return i.withTypes=()=>i,i},n=r();return{...t,createDispatchWithMiddlewareHookFactory:r,createDispatchWithMiddlewareHook:n}}},86226:function(t,r,n){"use strict";n.d(r,{A6:()=>k,Gx:()=>function t(...r){return 0===r.length?t=>C(t,["pending","fulfilled","rejected"]):O(r)?E(...r.flatMap(t=>[t.pending,t.rejected,t.fulfilled])):t()(r[0])},Iv:()=>R,KD:()=>function t(...r){return 0===r.length?t=>C(t,["fulfilled"]):O(r)?E(...r.map(t=>t.fulfilled)):t()(r[0])},Ku:()=>ee,PH:()=>u,Q:()=>E,cN:()=>A,cw:()=>g,h_:()=>function t(...r){let n=t=>t&&t.meta&&t.meta.rejectedWithValue;return 0===r.length||O(r)?k(R(...r),n):t()(r[0])},hg:()=>L,nB:()=>H,oM:()=>D,rJ:()=>et,s4:()=>m,x0:()=>T,xC:()=>w,zR:()=>function t(...r){return 0===r.length?t=>C(t,["pending"]):O(r)?E(...r.map(t=>t.pending)):t()(r[0])}});var i=n(66784),o=n(43898),a=n(35701),s="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?i.qC:i.qC.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var l=t=>t&&"function"==typeof t.match;function u(t,r){function n(...i){if(r){let n=r(...i);if(!n)throw Error(et(0));return{type:t,payload:n.payload,..."meta"in n&&{meta:n.meta},..."error"in n&&{error:n.error}}}return{type:t,payload:i[0]}}return n.toString=()=>`${t}`,n.type=t,n.match=r=>(0,i.LG)(r)&&r.type===t,n}var c=class _Tuple extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,_Tuple.prototype)}static get[Symbol.species](){return _Tuple}concat(...t){return super.concat.apply(this,t)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new _Tuple(...t[0].concat(this)):new _Tuple(...t.concat(this))}};function d(t){return(0,a.o$)(t)?(0,a.Uy)(t,()=>{}):t}function f(t,r,n){if(t.has(r)){let i=t.get(r);return n.update&&(i=n.update(i,r,t),t.set(r,i)),i}if(!n.insert)throw Error(et(10));let i=n.insert(r,t);return t.set(r,i),i}var h=()=>function(t){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=t??{},s=new c;return r&&("boolean"==typeof r?s.push(o.I):s.push((0,o.c)(r.extraArgument))),s},m="RTK_autoBatch",g=()=>t=>({payload:t,meta:{[m]:!0}}),y=t=>r=>{setTimeout(r,t)},v="undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:y(10),b=(t={type:"raf"})=>r=>(...n)=>{let i=r(...n),o=!0,a=!1,s=!1,l=new Set,u="tick"===t.type?queueMicrotask:"raf"===t.type?v:"callback"===t.type?t.queueNotification:y(t.timeout),c=()=>{s=!1,a&&(a=!1,l.forEach(t=>t()))};return Object.assign({},i,{subscribe(t){let r=i.subscribe(()=>o&&t());return l.add(t),()=>{r(),l.delete(t)}},dispatch(t){try{return(a=!(o=!t?.meta?.[m]))&&(s||(s=!0,u(c))),i.dispatch(t)}finally{o=!0}}})},_=t=>function(r){let{autoBatch:n=!0}=r??{},i=new c(t);return n&&i.push(b("object"==typeof n?n:void 0)),i};function w(t){let r,n,o=h(),{reducer:a,middleware:l,devTools:u=!0,preloadedState:c,enhancers:d}=t||{};if("function"==typeof a)r=a;else if((0,i.PO)(a))r=(0,i.UY)(a);else throw Error(et(1));n="function"==typeof l?l(o):o();let f=i.qC;u&&(f=s({trace:!1,..."object"==typeof u&&u}));let m=_((0,i.md)(...n)),g=f(..."function"==typeof d?d(m):m());return(0,i.MT)(r,c,g)}function S(t){let r,n={},i=[],o={addCase(t,r){let i="string"==typeof t?t:t.type;if(!i)throw Error(et(28));if(i in n)throw Error(et(29));return n[i]=r,o},addMatcher:(t,r)=>(i.push({matcher:t,reducer:r}),o),addDefaultCase:t=>(r=t,o)};return t(o),[n,i,r]}var x=(t,r)=>l(t)?t.match(r):t(r);function E(...t){return r=>t.some(t=>x(t,r))}function k(...t){return r=>t.every(t=>x(t,r))}function C(t,r){if(!t||!t.meta)return!1;let n="string"==typeof t.meta.requestId,i=r.indexOf(t.meta.requestStatus)>-1;return n&&i}function O(t){return"function"==typeof t[0]&&"pending"in t[0]&&"fulfilled"in t[0]&&"rejected"in t[0]}function R(...t){return 0===t.length?t=>C(t,["rejected"]):O(t)?E(...t.map(t=>t.rejected)):R()(t[0])}var T=(t=21)=>{let r="",n=t;for(;n--;)r+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return r},P=["name","message","stack","code"],M=class{constructor(t,r){this.payload=t,this.meta=r}_type},I=class{constructor(t,r){this.payload=t,this.meta=r}_type},A=t=>{if("object"==typeof t&&null!==t){let r={};for(let n of P)"string"==typeof t[n]&&(r[n]=t[n]);return r}return{message:String(t)}},L=(()=>{function t(t,r,n){let i=u(t+"/fulfilled",(t,r,n,i)=>({payload:t,meta:{...i||{},arg:n,requestId:r,requestStatus:"fulfilled"}})),o=u(t+"/pending",(t,r,n)=>({payload:void 0,meta:{...n||{},arg:r,requestId:t,requestStatus:"pending"}})),a=u(t+"/rejected",(t,r,i,o,a)=>({payload:o,error:(n&&n.serializeError||A)(t||"Rejected"),meta:{...a||{},arg:i,requestId:r,rejectedWithValue:!!o,requestStatus:"rejected",aborted:t?.name==="AbortError",condition:t?.name==="ConditionError"}}));return Object.assign(function(t){return(s,l,u)=>{let c,d,f=n?.idGenerator?n.idGenerator(t):T(),h=new AbortController;function m(t){d=t,h.abort()}let g=async function(){let g;try{var y;let a=n?.condition?.(t,{getState:l,extra:u});if(y=a,null!==y&&"object"==typeof y&&"function"==typeof y.then&&(a=await a),!1===a||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let v=new Promise((t,r)=>{c=()=>{r({name:"AbortError",message:d||"Aborted"})},h.signal.addEventListener("abort",c)});s(o(f,t,n?.getPendingMeta?.({requestId:f,arg:t},{getState:l,extra:u}))),g=await Promise.race([v,Promise.resolve(r(t,{dispatch:s,getState:l,extra:u,requestId:f,signal:h.signal,abort:m,rejectWithValue:(t,r)=>new M(t,r),fulfillWithValue:(t,r)=>new I(t,r)})).then(r=>{if(r instanceof M)throw r;return r instanceof I?i(r.payload,f,t,r.meta):i(r,f,t)})])}catch(r){g=r instanceof M?a(null,f,t,r.payload,r.meta):a(r,f,t)}finally{c&&h.signal.removeEventListener("abort",c)}return n&&!n.dispatchConditionRejection&&a.match(g)&&g.meta.condition||s(g),g}();return Object.assign(g,{abort:m,requestId:f,arg:t,unwrap:()=>g.then(N)})}},{pending:o,rejected:a,fulfilled:i,settled:E(a,i),typePrefix:t})}return t.withTypes=()=>t,t})();function N(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}var j=Symbol.for("rtk-slice-createasyncthunk"),D=function({creators:t}={}){let r=t?.asyncThunk?.[j];return function(t){let n,{name:i,reducerPath:o=i}=t;if(!i)throw Error(et(11));let s=("function"==typeof t.reducers?t.reducers(function(){function t(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return t.withTypes=()=>t,{reducer:t=>Object.assign({[t.name]:(...r)=>t(...r)}[t.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(t,r)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}),asyncThunk:t}}()):t.reducers)||{},l=Object.keys(s),c={},h={},m={},g=[],y={addCase(t,r){let n="string"==typeof t?t:t.type;if(!n)throw Error(et(12));if(n in h)throw Error(et(13));return h[n]=r,y},addMatcher:(t,r)=>(g.push({matcher:t,reducer:r}),y),exposeAction:(t,r)=>(m[t]=r,y),exposeCaseReducer:(t,r)=>(c[t]=r,y)};function v(){let[r={},n=[],i]="function"==typeof t.extraReducers?S(t.extraReducers):[t.extraReducers],o={...r,...h};return function(t,r){let n,[i,o,s]=S(r);if("function"==typeof t)n=()=>d(t());else{let r=d(t);n=()=>r}function l(t=n(),r){let u=[i[r.type],...o.filter(({matcher:t})=>t(r)).map(({reducer:t})=>t)];return 0===u.filter(t=>!!t).length&&(u=[s]),u.reduce((t,n)=>{if(n)if((0,a.mv)(t)){let i=n(t,r);return void 0===i?t:i}else{if((0,a.o$)(t))return(0,a.Uy)(t,t=>n(t,r));let i=n(t,r);if(void 0===i){if(null===t)return t;throw Error(et(9))}return i}return t},t)}return l.getInitialState=n,l}(t.initialState,t=>{for(let r in o)t.addCase(r,o[r]);for(let r of g)t.addMatcher(r.matcher,r.reducer);for(let r of n)t.addMatcher(r.matcher,r.reducer);i&&t.addDefaultCase(i)})}l.forEach(n=>{let o=s[n],a={reducerName:n,type:`${i}/${n}`,createNotation:"function"==typeof t.reducers};"asyncThunk"===o._reducerDefinitionType?function({type:t,reducerName:r},n,i,o){if(!o)throw Error(et(18));let{payloadCreator:a,fulfilled:s,pending:l,rejected:u,settled:c,options:d}=n,f=o(t,a,d);i.exposeAction(r,f),s&&i.addCase(f.fulfilled,s),l&&i.addCase(f.pending,l),u&&i.addCase(f.rejected,u),c&&i.addMatcher(f.settled,c),i.exposeCaseReducer(r,{fulfilled:s||F,pending:l||F,rejected:u||F,settled:c||F})}(a,o,y,r):function({type:t,reducerName:r,createNotation:n},i,o){let a,s;if("reducer"in i){if(n&&"reducerWithPrepare"!==i._reducerDefinitionType)throw Error(et(17));a=i.reducer,s=i.prepare}else a=i;o.addCase(t,a).exposeCaseReducer(r,a).exposeAction(r,s?u(t,s):u(t))}(a,o,y)});let b=t=>t,_=new Map;function w(t,r){return n||(n=v()),n(t,r)}function x(){return n||(n=v()),n.getInitialState()}function E(r,n=!1){function i(t){let i=t[r];return void 0===i&&n&&(i=x()),i}function o(r=b){let i=f(_,n,{insert:()=>new WeakMap});return f(i,r,{insert:()=>{let i={};for(let[o,a]of Object.entries(t.selectors??{}))i[o]=function(t,r,n,i){function o(a,...s){let l=r(a);return void 0===l&&i&&(l=n()),t(l,...s)}return o.unwrapped=t,o}(a,r,x,n);return i}})}return{reducerPath:r,getSelectors:o,get selectors(){return o(i)},selectSlice:i}}let k={name:i,reducer:w,actions:m,caseReducers:c,getInitialState:x,...E(o),injectInto(t,{reducerPath:r,...n}={}){let i=r??o;return t.inject({reducerPath:i,reducer:w},n),{...k,...E(i,!0)}}};return k}}();function F(){}var{assign:B}=Object,$="listenerMiddleware",U=B(u(`${$}/add`),{withTypes:()=>U}),z=B(u(`${$}/remove`),{withTypes:()=>z}),q=t=>({id:T(),middleware:t,applied:new Map}),Z=t=>r=>r?.meta?.instanceId===t,H=()=>{let t=T(),r=new Map,n=Object.assign(u("dynamicMiddleware/add",(...r)=>({payload:r,meta:{instanceId:t}})),{withTypes:()=>n}),o=Object.assign(function(...t){t.forEach(t=>{let n=function(t,r){for(let n of t)if(r(n))return n}(Array.from(r.values()),r=>r.middleware===t);n||(n=q(t)),r.set(n.id,n)})},{withTypes:()=>o}),a=t=>{let n=Array.from(r.values()).map(r=>f(r.applied,t,{insert:()=>r.middleware(t)}));return(0,i.qC)(...n)},s=k(n,Z(t));return{middleware:t=>r=>n=>s(n)?(o(...n.payload),t.dispatch):a(t)(r)(n),addMiddleware:o,withMiddleware:n,instanceId:t}},V=t=>"reducerPath"in t&&"string"==typeof t.reducerPath,W=t=>t.flatMap(t=>V(t)?[[t.reducerPath,t.reducer]]:Object.entries(t)),G=Symbol.for("rtk-state-proxy-original"),K=t=>!!t&&!!t[G],X=new WeakMap,Y=(t,r)=>f(X,t,{insert:()=>new Proxy(t,{get:(t,n,i)=>{if(n===G)return t;let o=Reflect.get(t,n,i);if(void 0===o){let t=r[n.toString()];if(t){let r=t(void 0,{type:T()});if(void 0===r)throw Error(et(24));return r}}return o}})}),J=t=>{if(!K(t))throw Error(et(25));return t[G]},Q=(t={})=>t;function ee(...t){let r=Object.fromEntries(W(t)),n=()=>Object.keys(r).length?(0,i.UY)(r):Q,o=n();function a(t,r){return o(t,r)}return a.withLazyLoadedSlices=()=>a,Object.assign(a,{inject:(t,i={})=>{let{reducerPath:s,reducer:l}=t,u=r[s];return!i.overrideExisting&&u&&u!==l||(r[s]=l,o=n()),a},selector:Object.assign(function(t,n){return function(i,...o){return t(Y(n?n(i,...o):i,r),...o)}},{original:J})})}function et(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}},67239:function(t,r,n){"use strict";n.d(r,{Z:()=>i});let i=function(){for(var t,r,n=0,i="",o=arguments.length;n<o;n++)(t=arguments[n])&&(r=function t(r){var n,i,o="";if("string"==typeof r||"number"==typeof r)o+=r;else if("object"==typeof r)if(Array.isArray(r)){var a=r.length;for(n=0;n<a;n++)r[n]&&(i=t(r[n]))&&(o&&(o+=" "),o+=i)}else for(i in r)r[i]&&(o&&(o+=" "),o+=i);return o}(t))&&(i&&(i+=" "),i+=r);return i}},21752:function(t,r,n){"use strict";n.d(r,{ZP:()=>o});var i=n(36088);let o=i.default||i},35701:function(t,r,n){"use strict";n.d(r,{Js:()=>m,QE:()=>X,Uy:()=>G,aS:()=>K,mv:()=>c,o$:()=>d,vI:()=>V});var i,o=Symbol.for("immer-nothing"),a=Symbol.for("immer-draftable"),s=Symbol.for("immer-state");function l(t,...r){throw Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var u=Object.getPrototypeOf;function c(t){return!!t&&!!t[s]}function d(t){return!!t&&(h(t)||Array.isArray(t)||!!t[a]||!!t.constructor?.[a]||w(t)||S(t))}var f=Object.prototype.constructor.toString();function h(t){if(!t||"object"!=typeof t)return!1;let r=u(t);if(null===r)return!0;let n=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===f}function m(t){return c(t)||l(15,t),t[s].base_}function g(t,r){0===y(t)?Reflect.ownKeys(t).forEach(n=>{r(n,t[n],t)}):t.forEach((n,i)=>r(i,n,t))}function y(t){let r=t[s];return r?r.type_:Array.isArray(t)?1:w(t)?2:3*!!S(t)}function v(t,r){return 2===y(t)?t.has(r):Object.prototype.hasOwnProperty.call(t,r)}function b(t,r){return 2===y(t)?t.get(r):t[r]}function _(t,r,n){let i=y(t);2===i?t.set(r,n):3===i?t.add(n):t[r]=n}function w(t){return t instanceof Map}function S(t){return t instanceof Set}function x(t){return t.copy_||t.base_}function E(t,r){if(w(t))return new Map(t);if(S(t))return new Set(t);if(Array.isArray(t))return Array.prototype.slice.call(t);let n=h(t);if(!0!==r&&("class_only"!==r||n)){let r=u(t);return null!==r&&n?{...t}:Object.assign(Object.create(r),t)}{let r=Object.getOwnPropertyDescriptors(t);delete r[s];let n=Reflect.ownKeys(r);for(let i=0;i<n.length;i++){let o=n[i],a=r[o];!1===a.writable&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(r[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[o]})}return Object.create(u(t),r)}}function k(t,r=!1){return O(t)||c(t)||!d(t)||(y(t)>1&&(t.set=t.add=t.clear=t.delete=C),Object.freeze(t),r&&Object.entries(t).forEach(([t,r])=>k(r,!0))),t}function C(){l(2)}function O(t){return Object.isFrozen(t)}var R={};function T(t){let r=R[t];return r||l(0,t),r}function P(t,r){r&&(T("Patches"),t.patches_=[],t.inversePatches_=[],t.patchListener_=r)}function M(t){I(t),t.drafts_.forEach(L),t.drafts_=null}function I(t){t===i&&(i=t.parent_)}function A(t){return i={drafts_:[],parent_:i,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function L(t){let r=t[s];0===r.type_||1===r.type_?r.revoke_():r.revoked_=!0}function N(t,r){r.unfinalizedDrafts_=r.drafts_.length;let n=r.drafts_[0];return void 0!==t&&t!==n?(n[s].modified_&&(M(r),l(4)),d(t)&&(t=j(r,t),r.parent_||F(r,t)),r.patches_&&T("Patches").generateReplacementPatches_(n[s].base_,t,r.patches_,r.inversePatches_)):t=j(r,n,[]),M(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),t!==o?t:void 0}function j(t,r,n){if(O(r))return r;let i=r[s];if(!i)return g(r,(o,a)=>D(t,i,r,o,a,n)),r;if(i.scope_!==t)return r;if(!i.modified_)return F(t,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;let r=i.copy_,o=r,a=!1;3===i.type_&&(o=new Set(r),r.clear(),a=!0),g(o,(o,s)=>D(t,i,r,o,s,n,a)),F(t,r,!1),n&&t.patches_&&T("Patches").generatePatches_(i,n,t.patches_,t.inversePatches_)}return i.copy_}function D(t,r,n,i,o,a,s){if(c(o)){let s=j(t,o,a&&r&&3!==r.type_&&!v(r.assigned_,i)?a.concat(i):void 0);if(_(n,i,s),!c(s))return;t.canAutoFreeze_=!1}else s&&n.add(o);if(d(o)&&!O(o)){if(!t.immer_.autoFreeze_&&t.unfinalizedDrafts_<1)return;j(t,o),(!r||!r.scope_.parent_)&&"symbol"!=typeof i&&Object.prototype.propertyIsEnumerable.call(n,i)&&F(t,o)}}function F(t,r,n=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&k(r,n)}var B={get(t,r){if(r===s)return t;let n=x(t);if(!v(n,r)){var i=t,o=n,a=r;let s=z(o,a);return s?"value"in s?s.value:s.get?.call(i.draft_):void 0}let l=n[r];return t.finalized_||!d(l)?l:l===U(t.base_,r)?(Z(t),t.copy_[r]=H(l,t)):l},has:(t,r)=>r in x(t),ownKeys:t=>Reflect.ownKeys(x(t)),set(t,r,n){let i=z(x(t),r);if(i?.set)return i.set.call(t.draft_,n),!0;if(!t.modified_){let i=U(x(t),r),o=i?.[s];if(o&&o.base_===n)return t.copy_[r]=n,t.assigned_[r]=!1,!0;if((n===i?0!==n||1/n==1/i:n!=n&&i!=i)&&(void 0!==n||v(t.base_,r)))return!0;Z(t),q(t)}return!!(t.copy_[r]===n&&(void 0!==n||r in t.copy_)||Number.isNaN(n)&&Number.isNaN(t.copy_[r]))||(t.copy_[r]=n,t.assigned_[r]=!0,!0)},deleteProperty:(t,r)=>(void 0!==U(t.base_,r)||r in t.base_?(t.assigned_[r]=!1,Z(t),q(t)):delete t.assigned_[r],t.copy_&&delete t.copy_[r],!0),getOwnPropertyDescriptor(t,r){let n=x(t),i=Reflect.getOwnPropertyDescriptor(n,r);return i?{writable:!0,configurable:1!==t.type_||"length"!==r,enumerable:i.enumerable,value:n[r]}:i},defineProperty(){l(11)},getPrototypeOf:t=>u(t.base_),setPrototypeOf(){l(12)}},$={};function U(t,r){let n=t[s];return(n?x(n):t)[r]}function z(t,r){if(!(r in t))return;let n=u(t);for(;n;){let t=Object.getOwnPropertyDescriptor(n,r);if(t)return t;n=u(n)}}function q(t){!t.modified_&&(t.modified_=!0,t.parent_&&q(t.parent_))}function Z(t){t.copy_||(t.copy_=E(t.base_,t.scope_.immer_.useStrictShallowCopy_))}function H(t,r){let n=w(t)?T("MapSet").proxyMap_(t,r):S(t)?T("MapSet").proxySet_(t,r):function(t,r){let n=Array.isArray(t),o={type_:+!!n,scope_:r?r.scope_:i,modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1},a=o,s=B;n&&(a=[o],s=$);let{revoke:l,proxy:u}=Proxy.revocable(a,s);return o.draft_=u,o.revoke_=l,u}(t,r);return(r?r.scope_:i).drafts_.push(n),n}function V(){var t;let r="replace",n="remove";function i(t){if(!d(t))return t;if(Array.isArray(t))return t.map(i);if(w(t))return new Map(Array.from(t.entries()).map(([t,r])=>[t,i(r)]));if(S(t))return new Set(Array.from(t).map(i));let r=Object.create(u(t));for(let n in t)r[n]=i(t[n]);return v(t,a)&&(r[a]=t[a]),r}function s(t){return c(t)?i(t):t}t="Patches",R[t]||(R[t]={applyPatches_:function(t,o){return o.forEach(o=>{let{path:a,op:s}=o,u=t;for(let t=0;t<a.length-1;t++){let r=y(u),n=a[t];"string"!=typeof n&&"number"!=typeof n&&(n=""+n),(0===r||1===r)&&("__proto__"===n||"constructor"===n)&&l(19),"function"==typeof u&&"prototype"===n&&l(19),"object"!=typeof(u=b(u,n))&&l(18,a.join("/"))}let c=y(u),d=i(o.value),f=a[a.length-1];switch(s){case r:switch(c){case 2:return u.set(f,d);case 3:l(16);default:return u[f]=d}case"add":switch(c){case 1:return"-"===f?u.push(d):u.splice(f,0,d);case 2:return u.set(f,d);case 3:return u.add(d);default:return u[f]=d}case n:switch(c){case 1:return u.splice(f,1);case 2:return u.delete(f);case 3:return u.delete(o.value);default:return delete u[f]}default:l(17,s)}}),t},generatePatches_:function(t,i,o,a){switch(t.type_){case 0:case 2:var l=t,u=i,c=o,d=a;let{base_:f,copy_:h}=l;g(l.assigned_,(t,i)=>{let o=b(f,t),a=b(h,t),l=i?v(f,t)?r:"add":n;if(o===a&&l===r)return;let m=u.concat(t);c.push(l===n?{op:l,path:m}:{op:l,path:m,value:a}),d.push("add"===l?{op:n,path:m}:l===n?{op:"add",path:m,value:s(o)}:{op:r,path:m,value:s(o)})});return;case 1:return function(t,i,o,a){let{base_:l,assigned_:u}=t,c=t.copy_;c.length<l.length&&([l,c]=[c,l],[o,a]=[a,o]);for(let t=0;t<l.length;t++)if(u[t]&&c[t]!==l[t]){let n=i.concat([t]);o.push({op:r,path:n,value:s(c[t])}),a.push({op:r,path:n,value:s(l[t])})}for(let t=l.length;t<c.length;t++){let r=i.concat([t]);o.push({op:"add",path:r,value:s(c[t])})}for(let t=c.length-1;l.length<=t;--t){let r=i.concat([t]);a.push({op:n,path:r})}}(t,i,o,a);case 3:return function(t,r,i,o){let{base_:a,copy_:s}=t,l=0;a.forEach(t=>{if(!s.has(t)){let a=r.concat([l]);i.push({op:n,path:a,value:t}),o.unshift({op:"add",path:a,value:t})}l++}),l=0,s.forEach(t=>{if(!a.has(t)){let a=r.concat([l]);i.push({op:"add",path:a,value:t}),o.unshift({op:n,path:a,value:t})}l++})}(t,i,o,a)}},generateReplacementPatches_:function(t,n,i,a){i.push({op:r,path:[],value:n===o?void 0:n}),a.push({op:r,path:[],value:t})}})}g(B,(t,r)=>{$[t]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),$.deleteProperty=function(t,r){return $.set.call(this,t,r,void 0)},$.set=function(t,r,n){return B.set.call(this,t[0],r,n,t[0])};var W=new class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{let i;if("function"==typeof t&&"function"!=typeof r){let n=r;r=t;let i=this;return function(t=n,...o){return i.produce(t,t=>r.call(this,t,...o))}}if("function"!=typeof r&&l(6),void 0!==n&&"function"!=typeof n&&l(7),d(t)){let o=A(this),a=H(t,void 0),s=!0;try{i=r(a),s=!1}finally{s?M(o):I(o)}return P(o,n),N(i,o)}if(t&&"object"==typeof t)l(1,t);else{if(void 0===(i=r(t))&&(i=t),i===o&&(i=void 0),this.autoFreeze_&&k(i,!0),n){let r=[],o=[];T("Patches").generateReplacementPatches_(t,i,r,o),n(r,o)}return i}},this.produceWithPatches=(t,r)=>{let n,i;return"function"==typeof t?(r,...n)=>this.produceWithPatches(r,r=>t(r,...n)):[this.produce(t,r,(t,r)=>{n=t,i=r}),n,i]},"boolean"==typeof t?.autoFreeze&&this.setAutoFreeze(t.autoFreeze),"boolean"==typeof t?.useStrictShallowCopy&&this.setUseStrictShallowCopy(t.useStrictShallowCopy)}createDraft(t){var r;d(t)||l(8),c(t)&&(c(r=t)||l(10,r),t=function t(r){let n;if(!d(r)||O(r))return r;let i=r[s];if(i){if(!i.modified_)return i.base_;i.finalized_=!0,n=E(r,i.scope_.immer_.useStrictShallowCopy_)}else n=E(r,!0);return g(n,(r,i)=>{_(n,r,t(i))}),i&&(i.finalized_=!1),n}(r));let n=A(this),i=H(t,void 0);return i[s].isManual_=!0,I(n),i}finishDraft(t,r){let n=t&&t[s];n&&n.isManual_||l(9);let{scope_:i}=n;return P(i,r),N(void 0,i)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}applyPatches(t,r){let n;for(n=r.length-1;n>=0;n--){let i=r[n];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}n>-1&&(r=r.slice(n+1));let i=T("Patches").applyPatches_;return c(t)?i(t,r):this.produce(t,t=>i(t,r))}},G=W.produce,K=W.produceWithPatches.bind(W);W.setAutoFreeze.bind(W),W.setUseStrictShallowCopy.bind(W);var X=W.applyPatches.bind(W);W.createDraft.bind(W),W.finishDraft.bind(W)},65444:function(t,r,n){"use strict";function i(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)t[i]=n[i]}return t}n.d(r,{Z:()=>o});var o=function t(r,n){function o(t,o,a){if("undefined"!=typeof document){"number"==typeof(a=i({},n,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var l in a)a[l]&&(s+="; "+l,!0!==a[l]&&(s+="="+a[l].split(";")[0]));return document.cookie=t+"="+r.write(o,t)+s}}return Object.create({set:o,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var n=document.cookie?document.cookie.split("; "):[],i={},o=0;o<n.length;o++){var a=n[o].split("="),s=a.slice(1).join("=");try{var l=decodeURIComponent(a[0]);if(i[l]=r.read(s,l),t===l)break}catch(t){}}return t?i[t]:i}},remove:function(t,r){o(t,"",i({},r,{expires:-1}))},withAttributes:function(r){return t(this.converter,i({},this.attributes,r))},withConverter:function(r){return t(i({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},39086:function(t,r,n){"use strict";n.d(r,{wK:()=>c,vW:()=>u,o_:()=>l});var i=n(2784);function o(t){if("undefined"==typeof window)return t;let r=i.useRef(null);return i.useLayoutEffect(()=>{r.current=t}),i.useCallback((...t)=>{var n;null===(n=r.current)||void 0===n||n.call(r,...t)},[])}let a={},s={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1};function l({parentPopupState:t,popupId:r,variant:n,disableAutoFocus:l}){let u=(0,i.useRef)(!0);(0,i.useEffect)(()=>(u.current=!0,()=>{u.current=!1}),[]);let[c,f]=(0,i.useState)(s),h=(0,i.useCallback)(t=>{u.current&&f(t)},[]),m=(0,i.useCallback)(t=>h(r=>({...r,setAnchorElUsed:!0,anchorEl:t??void 0})),[]),g=o(t=>(c.isOpen?b(t):y(t),c)),y=o(r=>{let i=r instanceof Element?void 0:r,o=r instanceof Element?r:(null==r?void 0:r.currentTarget)instanceof Element?r.currentTarget:void 0;if((null==i?void 0:i.type)==="touchstart"){h(t=>({...t,_deferNextOpen:!0}));return}let s=null==i?void 0:i.clientX,l=null==i?void 0:i.clientY,u="number"==typeof s&&"number"==typeof l?{left:s,top:l}:void 0,c=s=>{if(!r&&!s.setAnchorElUsed&&"dialog"!==n){var l;a[l="missingEventOrAnchorEl"]||(a[l]=!0,console.error("[material-ui-popup-state] WARNING","eventOrAnchorEl should be defined if setAnchorEl is not used"))}if(t){if(!t.isOpen)return s;setTimeout(()=>t._setChildPopupState(E))}let c={...s,isOpen:!0,anchorPosition:u,hovered:(null==i?void 0:i.type)==="mouseover"||s.hovered,focused:(null==i?void 0:i.type)==="focus"||s.focused,_openEventType:null==i?void 0:i.type};return null!=i&&i.currentTarget?s.setAnchorElUsed||(c.anchorEl=null==i?void 0:i.currentTarget):o&&(c.anchorEl=o),c};h(t=>t._deferNextOpen?(setTimeout(()=>h(c),0),{...t,_deferNextOpen:!1}):c(t))}),v=r=>{let{_childPopupState:n}=r;return setTimeout(()=>{null==n||n.close(),null==t||t._setChildPopupState(null)}),{...r,isOpen:!1,hovered:!1,focused:!1}},b=o(t=>{let r=t instanceof Element?void 0:t;if((null==r?void 0:r.type)==="touchstart"){h(t=>({...t,_deferNextClose:!0}));return}h(t=>t._deferNextClose?(setTimeout(()=>h(v),0),{...t,_deferNextClose:!1}):v(t))}),_=(0,i.useCallback)((t,r)=>{t?y(r):b(r)},[]),w=o(t=>{let{relatedTarget:r}=t;h(t=>{if(t.hovered&&!(r instanceof Element&&d(r,E)))if(t.focused)return{...t,hovered:!1};else return v(t);return t})}),S=o(t=>{if(!t)return;let{relatedTarget:r}=t;h(t=>{if(t.focused&&!(r instanceof Element&&d(r,E)))if(t.hovered)return{...t,focused:!1};else return v(t);return t})}),x=(0,i.useCallback)(t=>h(r=>({...r,_childPopupState:t})),[]),E={...c,setAnchorEl:m,popupId:r,variant:n,open:y,close:b,toggle:g,setOpen:_,onBlur:S,onMouseLeave:w,disableAutoFocus:l??!!(c.hovered||c.focused),_setChildPopupState:x};return E}function u(t){return{...function({isOpen:t,popupId:r,variant:n}){return{..."popover"===n?{"aria-haspopup":!0,"aria-controls":t&&null!=r?r:void 0}:"popper"===n?{"aria-describedby":t&&null!=r?r:void 0}:void 0}}(t),onClick:t.open,onTouchStart:t.open}}function c({isOpen:t,anchorEl:r,anchorPosition:n,close:i,popupId:o,onMouseLeave:a,disableAutoFocus:s,_openEventType:l}){return{id:o,anchorEl:r,anchorPosition:n,anchorReference:"contextmenu"===l?"anchorPosition":"anchorEl",open:t,onClose:i,onMouseLeave:a,...s&&{autoFocus:!1,disableAutoFocusItem:!0,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function d(t,r){let{anchorEl:n,_childPopupState:i}=r;return f(n,t)||f(function(t,{popupId:r}){if(!r)return null;let n="function"==typeof t.getRootNode?t.getRootNode():document;return"function"==typeof n.getElementById?n.getElementById(r):null}(t,r),t)||null!=i&&d(t,i)}function f(t,r){if(!t)return!1;for(;r;){if(r===t)return!0;r=r.parentElement}return!1}},95397:function(t,r,n){"use strict";n.d(r,{AS:()=>R,ET:()=>d,I0:()=>T,dC:()=>P,oR:()=>O,v9:()=>v,wU:()=>E,zt:()=>k});var i,o,a=n(2784),s=n(69349),l="default"in(o||(o=n.t(a,2)))?a:o||(o=n.t(a,2)),u=Symbol.for("react-redux-context"),c="undefined"!=typeof globalThis?globalThis:{},d=function(){if(!l.createContext)return{};let t=c[u]??(c[u]=new Map),r=t.get(l.createContext);return r||(r=l.createContext(null),t.set(l.createContext,r)),r}(),f=()=>{throw Error("uSES not initialized!")};function h(t=d){return function(){return l.useContext(t)}}var m=h(),g=f,y=(t,r)=>t===r,v=function(t=d){let r=t===d?m:h(t),n=(t,n={})=>{let{equalityFn:i=y,devModeChecks:o={}}="function"==typeof n?{equalityFn:n}:n,{store:a,subscription:s,getServerState:u,stabilityCheck:c,identityFunctionCheck:d}=r();l.useRef(!0);let f=l.useCallback({[t.name]:r=>t(r)}[t.name],[t,c,o.stabilityCheck]),h=g(s.addNestedSub,a.getState,u||a.getState,f,i);return l.useDebugValue(h),h};return Object.assign(n,{withTypes:()=>n}),n}();Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.client.reference");var b={notify(){},get:()=>[]},_="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,w="undefined"!=typeof navigator&&"ReactNative"===navigator.product,S=_||w?l.useLayoutEffect:l.useEffect;function x(t,r){return t===r?0!==t||0!==r||1/t==1/r:t!=t&&r!=r}function E(t,r){if(x(t,r))return!0;if("object"!=typeof t||null===t||"object"!=typeof r||null===r)return!1;let n=Object.keys(t),i=Object.keys(r);if(n.length!==i.length)return!1;for(let i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(r,n[i])||!x(t[n[i]],r[n[i]]))return!1;return!0}var k=function({store:t,context:r,children:n,serverState:i,stabilityCheck:o="once",identityFunctionCheck:a="once"}){let s=l.useMemo(()=>{let r=function(t,r){let n,i=b,o=0,a=!1;function s(){c.onStateChange&&c.onStateChange()}function l(){if(o++,!n){let r,o;n=t.subscribe(s),r=null,o=null,i={clear(){r=null,o=null},notify(){let t=r;for(;t;)t.callback(),t=t.next},get(){let t=[],n=r;for(;n;)t.push(n),n=n.next;return t},subscribe(t){let n=!0,i=o={callback:t,next:null,prev:o};return i.prev?i.prev.next=i:r=i,function(){n&&null!==r&&(n=!1,i.next?i.next.prev=i.prev:o=i.prev,i.prev?i.prev.next=i.next:r=i.next)}}}}}function u(){o--,n&&0===o&&(n(),n=void 0,i.clear(),i=b)}let c={addNestedSub:function(t){l();let r=i.subscribe(t),n=!1;return()=>{n||(n=!0,r(),u())}},notifyNestedSubs:function(){i.notify()},handleChangeWrapper:s,isSubscribed:function(){return a},trySubscribe:function(){a||(a=!0,l())},tryUnsubscribe:function(){a&&(a=!1,u())},getListeners:()=>i};return c}(t);return{store:t,subscription:r,getServerState:i?()=>i:void 0,stabilityCheck:o,identityFunctionCheck:a}},[t,i,o,a]),u=l.useMemo(()=>t.getState(),[t]);return S(()=>{let{subscription:r}=s;return r.onStateChange=r.notifyNestedSubs,r.trySubscribe(),u!==t.getState()&&r.notifyNestedSubs(),()=>{r.tryUnsubscribe(),r.onStateChange=void 0}},[s,u]),l.createElement((r||d).Provider,{value:s},n)};function C(t=d){let r=t===d?m:h(t),n=()=>{let{store:t}=r();return t};return Object.assign(n,{withTypes:()=>n}),n}var O=C();function R(t=d){let r=t===d?O:C(t),n=()=>r().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var T=R(),P=function(t){t()};g=s.useSyncExternalStoreWithSelector,a.useSyncExternalStore},43898:function(t,r,n){"use strict";function i(t){return({dispatch:r,getState:n})=>i=>o=>"function"==typeof o?o(r,n,t):i(o)}n.d(r,{I:()=>o,c:()=>a});var o=i(),a=i},66784:function(t,r,n){"use strict";function i(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}n.d(r,{LG:()=>h,MT:()=>u,PO:()=>l,UY:()=>c,md:()=>f,qC:()=>d});var o="function"==typeof Symbol&&Symbol.observable||"@@observable",a=()=>Math.random().toString(36).substring(7).split("").join("."),s={INIT:`@@redux/INIT${a()}`,REPLACE:`@@redux/REPLACE${a()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${a()}`};function l(t){if("object"!=typeof t||null===t)return!1;let r=t;for(;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(t)===r||null===Object.getPrototypeOf(t)}function u(t,r,n){if("function"!=typeof t)throw Error(i(2));if("function"==typeof r&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw Error(i(0));if("function"==typeof r&&void 0===n&&(n=r,r=void 0),void 0!==n){if("function"!=typeof n)throw Error(i(1));return n(u)(t,r)}let a=t,c=r,d=new Map,f=d,h=0,m=!1;function g(){f===d&&(f=new Map,d.forEach((t,r)=>{f.set(r,t)}))}function y(){if(m)throw Error(i(3));return c}function v(t){if("function"!=typeof t)throw Error(i(4));if(m)throw Error(i(5));let r=!0;g();let n=h++;return f.set(n,t),function(){if(r){if(m)throw Error(i(6));r=!1,g(),f.delete(n),d=null}}}function b(t){if(!l(t))throw Error(i(7));if(void 0===t.type)throw Error(i(8));if("string"!=typeof t.type)throw Error(i(17));if(m)throw Error(i(9));try{m=!0,c=a(c,t)}finally{m=!1}return(d=f).forEach(t=>{t()}),t}return b({type:s.INIT}),{dispatch:b,subscribe:v,getState:y,replaceReducer:function(t){if("function"!=typeof t)throw Error(i(10));a=t,b({type:s.REPLACE})},[o]:function(){return{subscribe(t){if("object"!=typeof t||null===t)throw Error(i(11));function r(){t.next&&t.next(y())}return r(),{unsubscribe:v(r)}},[o](){return this}}}}}function c(t){let r,n=Object.keys(t),o={};for(let r=0;r<n.length;r++){let i=n[r];"function"==typeof t[i]&&(o[i]=t[i])}let a=Object.keys(o);try{!function(t){Object.keys(t).forEach(r=>{let n=t[r];if(void 0===n(void 0,{type:s.INIT}))throw Error(i(12));if(void 0===n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw Error(i(13))})}(o)}catch(t){r=t}return function(t={},n){if(r)throw r;let s=!1,l={};for(let r=0;r<a.length;r++){let u=a[r],c=o[u],d=t[u],f=c(d,n);if(void 0===f)throw n&&n.type,Error(i(14));l[u]=f,s=s||f!==d}return(s=s||a.length!==Object.keys(t).length)?l:t}}function d(...t){return 0===t.length?t=>t:1===t.length?t[0]:t.reduce((t,r)=>(...n)=>t(r(...n)))}function f(...t){return r=>(n,o)=>{let a=r(n,o),s=()=>{throw Error(i(15))},l={getState:a.getState,dispatch:(t,...r)=>s(t,...r)};return s=d(...t.map(t=>t(l)))(a.dispatch),{...a,dispatch:s}}}function h(t){return l(t)&&"type"in t&&"string"==typeof t.type}},12986:function(t,r,n){"use strict";n.d(r,{P1:()=>f,kO:()=>d});var i=t=>Array.isArray(t)?t:[t],o=0,a=class{revision=o;_value;_lastValue;_isEqual=s;constructor(t,r=s){this._value=this._lastValue=t,this._isEqual=r}get value(){return this._value}set value(t){this.value!==t&&(this._value=t,this.revision=++o)}};function s(t,r){return t===r}var l=(t,r)=>!1;Symbol();Object.getPrototypeOf({});var u="undefined"!=typeof WeakRef?WeakRef:class{constructor(t){this.value=t}deref(){return this.value}};function c(){return{s:0,v:void 0,o:null,p:null}}function d(t,r={}){let n,i=c(),{resultEqualityCheck:o}=r,a=0;function s(){let r,s=i,{length:l}=arguments;for(let t=0;t<l;t++){let r=arguments[t];if("function"==typeof r||"object"==typeof r&&null!==r){let t=s.o;null===t&&(s.o=t=new WeakMap);let n=t.get(r);void 0===n?(s=c(),t.set(r,s)):s=n}else{let t=s.p;null===t&&(s.p=t=new Map);let n=t.get(r);void 0===n?(s=c(),t.set(r,s)):s=n}}let d=s;if(1===s.s)r=s.v;else if(r=t.apply(null,arguments),a++,o){let t=n?.deref?.()??n;null!=t&&o(t,r)&&(r=t,0!==a&&a--),n="object"==typeof r&&null!==r||"function"==typeof r?new u(r):r}return d.s=1,d.v=r,r}return s.clearCache=()=>{i=c(),s.resetResultsCount()},s.resultsCount=()=>a,s.resetResultsCount=()=>{a=0},s}var f=function(t,...r){let n="function"==typeof t?{memoize:t,memoizeOptions:r}:t,o=(...t)=>{let r,o=0,a=0,s={},l=t.pop();"object"==typeof l&&(s=l,l=t.pop()),function(t,r=`expected a function, instead received ${typeof t}`){if("function"!=typeof t)throw TypeError(r)}(l,`createSelector expects an output function after the inputs, but received: [${typeof l}]`);let{memoize:u,memoizeOptions:c=[],argsMemoize:f=d,argsMemoizeOptions:h=[],devModeChecks:m={}}={...n,...s},g=i(c),y=i(h),v=function(t){let r=Array.isArray(t[0])?t[0]:t;return!function(t,r="expected all items to be functions, instead received the following types: "){if(!t.every(t=>"function"==typeof t)){let n=t.map(t=>"function"==typeof t?`function ${t.name||"unnamed"}()`:typeof t).join(", ");throw TypeError(`${r}[${n}]`)}}(r,"createSelector expects all input-selectors to be functions, but received the following types: "),r}(t),b=u(function(){return o++,l.apply(null,arguments)},...g);return Object.assign(f(function(){a++;let t=function(t,r){let n=[],{length:i}=t;for(let o=0;o<i;o++)n.push(t[o].apply(null,r));return n}(v,arguments);return r=b.apply(null,t)},...y),{resultFunc:l,memoizedResultFunc:b,dependencies:v,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>r,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:u,argsMemoize:f})};return Object.assign(o,{withTypes:()=>o}),o}(d),h=Object.assign((t,r=f)=>{!function(t,r=`expected an object, instead received ${typeof t}`){if("object"!=typeof t)throw TypeError(r)}(t,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof t}`);let n=Object.keys(t);return r(n.map(r=>t[r]),(...t)=>t.reduce((t,r,i)=>(t[n[i]]=r,t),{}))},{withTypes:()=>h})},85452:function(t,r,n){"use strict";n.d(r,{ZT:()=>o,_T:()=>s,ev:()=>l,pi:()=>a});var i=function(t,r){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])})(t,r)};function o(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}i(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var a=function(){return(a=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++)for(var o in r=arguments[n])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t}).apply(this,arguments)};function s(t,r){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>r.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(t);o<i.length;o++)0>r.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]]);return n}function l(t,r,n){if(n||2==arguments.length)for(var i,o=0,a=r.length;o<a;o++)!i&&o in r||(i||(i=Array.prototype.slice.call(r,0,o)),i[o]=r[o]);return t.concat(i||Array.prototype.slice.call(r))}}}]);