@tolgee/web 5.0.0-rc.704ada9.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,7 +24,7 @@ function e(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isAr
24
24
  * This source code is licensed under the MIT license found in the
25
25
  * LICENSE file in the root directory of this source tree.
26
26
  */
27
- var se=h.exports,ue=ie,ce=ae.exports;function de(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!se)throw Error(de(227));var pe=new Set,fe={};function he(e,t){me(e,t),me(e+"Capture",t)}function me(e,t){for(fe[e]=t,e=0;e<t.length;e++)pe.add(t[e])}var ve=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ge=/^[: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]*$/,ye=Object.prototype.hasOwnProperty,be={},xe={};function we(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var ke={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){ke[e]=new we(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];ke[t]=new we(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ke[e]=new we(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ke[e]=new we(e,2,!1,e,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(e){ke[e]=new we(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ke[e]=new we(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){ke[e]=new we(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){ke[e]=new we(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){ke[e]=new we(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Se=/[\-:]([a-z])/g;function Ee(e){return e[1].toUpperCase()}function Ce(e,t,n,r){var o=ke.hasOwnProperty(t)?ke[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!ye.call(xe,e)||!ye.call(be,e)&&(ge.test(e)?xe[e]=!0:(be[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,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(e){var t=e.replace(Se,Ee);ke[t]=new we(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Se,Ee);ke[t]=new we(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Se,Ee);ke[t]=new we(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){ke[e]=new we(e,1,!1,e.toLowerCase(),null,!1,!1)})),ke.xlinkHref=new we("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){ke[e]=new we(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Oe=se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Pe=60103,Re=60106,Te=60107,Me=60108,Ae=60114,Ie=60109,$e=60110,je=60112,Le=60113,_e=60120,Ne=60115,ze=60116,Fe=60121,De=60128,Be=60129,We=60130,Ue=60131;if("function"==typeof Symbol&&Symbol.for){var Ve=Symbol.for;Pe=Ve("react.element"),Re=Ve("react.portal"),Te=Ve("react.fragment"),Me=Ve("react.strict_mode"),Ae=Ve("react.profiler"),Ie=Ve("react.provider"),$e=Ve("react.context"),je=Ve("react.forward_ref"),Le=Ve("react.suspense"),_e=Ve("react.suspense_list"),Ne=Ve("react.memo"),ze=Ve("react.lazy"),Fe=Ve("react.block"),Ve("react.scope"),De=Ve("react.opaque.id"),Be=Ve("react.debug_trace_mode"),We=Ve("react.offscreen"),Ue=Ve("react.legacy_hidden")}var qe,He="function"==typeof Symbol&&Symbol.iterator;function Ke(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=He&&e[He]||e["@@iterator"])?e:null}function Qe(e){if(void 0===qe)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);qe=t&&t[1]||""}return"\n"+qe+e}var Ge=!1;function Xe(e,t){if(!e||Ge)return"";Ge=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=l);break}}}finally{Ge=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Qe(e):""}function Ye(e){switch(e.tag){case 5:return Qe(e.type);case 16:return Qe("Lazy");case 13:return Qe("Suspense");case 19:return Qe("SuspenseList");case 0:case 2:case 15:return e=Xe(e.type,!1);case 11:return e=Xe(e.type.render,!1);case 22:return e=Xe(e.type._render,!1);case 1:return e=Xe(e.type,!0);default:return""}}function Je(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Te:return"Fragment";case Re:return"Portal";case Ae:return"Profiler";case Me:return"StrictMode";case Le:return"Suspense";case _e:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case $e:return(e.displayName||"Context")+".Consumer";case Ie:return(e._context.displayName||"Context")+".Provider";case je:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Ne:return Je(e.type);case Fe:return Je(e._render);case ze:t=e._payload,e=e._init;try{return Je(e(t))}catch(e){}}return null}function Ze(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function et(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function tt(e){e._valueTracker||(e._valueTracker=function(e){var t=et(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function nt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=et(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function rt(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ot(e,t){var n=t.checked;return ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function it(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Ze(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function at(e,t){null!=(t=t.checked)&&Ce(e,"checked",t,!1)}function lt(e,t){at(e,t);var n=Ze(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ut(e,t.type,n):t.hasOwnProperty("defaultValue")&&ut(e,t.type,Ze(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function st(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ut(e,t,n){"number"===t&&rt(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ct(e,t){return e=ue({children:void 0},t),(t=function(e){var t="";return se.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function dt(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ze(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function pt(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(de(91));return ue({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ft(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(de(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(de(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Ze(n)}}function ht(e,t){var n=Ze(t.value),r=Ze(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function mt(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var vt="http://www.w3.org/1999/xhtml",gt="http://www.w3.org/2000/svg";function yt(e){switch(e){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 bt(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?yt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var xt,wt=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==gt||"innerHTML"in e)e.innerHTML=t;else{for((xt=xt||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=xt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function kt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var St={animationIterationCount:!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},Et=["Webkit","ms","Moz","O"];function Ct(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||St.hasOwnProperty(e)&&St[e]?(""+t).trim():t+"px"}function Ot(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Ct(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(St).forEach((function(e){Et.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),St[t]=St[e]}))}));var Pt=ue({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 Rt(e,t){if(t){if(Pt[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(de(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(de(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(de(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(de(62))}}function Tt(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){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}}function Mt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var At=null,It=null,$t=null;function jt(e){if(e=si(e)){if("function"!=typeof At)throw Error(de(280));var t=e.stateNode;t&&(t=ci(t),At(e.stateNode,e.type,t))}}function Lt(e){It?$t?$t.push(e):$t=[e]:It=e}function _t(){if(It){var e=It,t=$t;if($t=It=null,jt(e),t)for(e=0;e<t.length;e++)jt(t[e])}}function Nt(e,t){return e(t)}function zt(e,t,n,r,o){return e(t,n,r,o)}function Ft(){}var Dt=Nt,Bt=!1,Wt=!1;function Ut(){null===It&&null===$t||(Ft(),_t())}function Vt(e,t){var n=e.stateNode;if(null===n)return null;var r=ci(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(de(231,t,typeof n));return n}var qt=!1;if(ve)try{var Ht={};Object.defineProperty(Ht,"passive",{get:function(){qt=!0}}),window.addEventListener("test",Ht,Ht),window.removeEventListener("test",Ht,Ht)}catch(lI){qt=!1}function Kt(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Qt=!1,Gt=null,Xt=!1,Yt=null,Jt={onError:function(e){Qt=!0,Gt=e}};function Zt(e,t,n,r,o,i,a,l,s){Qt=!1,Gt=null,Kt.apply(Jt,arguments)}function en(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function tn(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function nn(e){if(en(e)!==e)throw Error(de(188))}function rn(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=en(e)))throw Error(de(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return nn(o),e;if(i===r)return nn(o),t;i=i.sibling}throw Error(de(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(de(189))}}if(n.alternate!==r)throw Error(de(190))}if(3!==n.tag)throw Error(de(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function on(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var an,ln,sn,un,cn=!1,dn=[],pn=null,fn=null,hn=null,mn=new Map,vn=new Map,gn=[],yn="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 bn(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function xn(e,t){switch(e){case"focusin":case"focusout":pn=null;break;case"dragenter":case"dragleave":fn=null;break;case"mouseover":case"mouseout":hn=null;break;case"pointerover":case"pointerout":mn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vn.delete(t.pointerId)}}function wn(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=bn(t,n,r,o,i),null!==t&&(null!==(t=si(t))&&ln(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function kn(e){var t=li(e.target);if(null!==t){var n=en(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=tn(n)))return e.blockedOn=t,void un(e.lanePriority,(function(){ce.unstable_runWithPriority(e.priority,(function(){sn(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Sn(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=or(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=si(n))&&ln(t),e.blockedOn=n,!1;t.shift()}return!0}function En(e,t,n){Sn(e)&&n.delete(t)}function Cn(){for(cn=!1;0<dn.length;){var e=dn[0];if(null!==e.blockedOn){null!==(e=si(e.blockedOn))&&an(e);break}for(var t=e.targetContainers;0<t.length;){var n=or(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&dn.shift()}null!==pn&&Sn(pn)&&(pn=null),null!==fn&&Sn(fn)&&(fn=null),null!==hn&&Sn(hn)&&(hn=null),mn.forEach(En),vn.forEach(En)}function On(e,t){e.blockedOn===t&&(e.blockedOn=null,cn||(cn=!0,ce.unstable_scheduleCallback(ce.unstable_NormalPriority,Cn)))}function Pn(e){function t(t){return On(t,e)}if(0<dn.length){On(dn[0],e);for(var n=1;n<dn.length;n++){var r=dn[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==pn&&On(pn,e),null!==fn&&On(fn,e),null!==hn&&On(hn,e),mn.forEach(t),vn.forEach(t),n=0;n<gn.length;n++)(r=gn[n]).blockedOn===e&&(r.blockedOn=null);for(;0<gn.length&&null===(n=gn[0]).blockedOn;)kn(n),null===n.blockedOn&&gn.shift()}function Rn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Tn={animationend:Rn("Animation","AnimationEnd"),animationiteration:Rn("Animation","AnimationIteration"),animationstart:Rn("Animation","AnimationStart"),transitionend:Rn("Transition","TransitionEnd")},Mn={},An={};function In(e){if(Mn[e])return Mn[e];if(!Tn[e])return e;var t,n=Tn[e];for(t in n)if(n.hasOwnProperty(t)&&t in An)return Mn[e]=n[t];return e}ve&&(An=document.createElement("div").style,"AnimationEvent"in window||(delete Tn.animationend.animation,delete Tn.animationiteration.animation,delete Tn.animationstart.animation),"TransitionEvent"in window||delete Tn.transitionend.transition);var $n=In("animationend"),jn=In("animationiteration"),Ln=In("animationstart"),_n=In("transitionend"),Nn=new Map,zn=new Map,Fn=["abort","abort",$n,"animationEnd",jn,"animationIteration",Ln,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",_n,"transitionEnd","waiting","waiting"];function Dn(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),zn.set(r,t),Nn.set(r,o),he(o,[r])}}(0,ce.unstable_now)();var Bn=8;function Wn(e){if(0!=(1&e))return Bn=15,1;if(0!=(2&e))return Bn=14,2;if(0!=(4&e))return Bn=13,4;var t=24&e;return 0!==t?(Bn=12,t):0!=(32&e)?(Bn=11,32):0!==(t=192&e)?(Bn=10,t):0!=(256&e)?(Bn=9,256):0!==(t=3584&e)?(Bn=8,t):0!=(4096&e)?(Bn=7,4096):0!==(t=4186112&e)?(Bn=6,t):0!==(t=62914560&e)?(Bn=5,t):67108864&e?(Bn=4,67108864):0!=(134217728&e)?(Bn=3,134217728):0!==(t=805306368&e)?(Bn=2,t):0!=(1073741824&e)?(Bn=1,1073741824):(Bn=8,e)}function Un(e,t){var n=e.pendingLanes;if(0===n)return Bn=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(0!==i)r=i,o=Bn=15;else if(0!==(i=134217727&n)){var s=i&~a;0!==s?(r=Wn(s),o=Bn):0!==(l&=i)&&(r=Wn(l),o=Bn)}else 0!==(i=n&~a)?(r=Wn(i),o=Bn):0!==l&&(r=Wn(l),o=Bn);if(0===r)return 0;if(r=n&((0>(r=31-Gn(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(Wn(t),o<=Bn)return t;Bn=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Gn(t)),r|=e[n],t&=~o;return r}function Vn(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function qn(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Hn(24&~t))?qn(10,t):e;case 10:return 0===(e=Hn(192&~t))?qn(8,t):e;case 8:return 0===(e=Hn(3584&~t))&&(0===(e=Hn(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Hn(805306368&~t))&&(t=268435456),t}throw Error(de(358,e))}function Hn(e){return e&-e}function Kn(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Qn(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Gn(t)]=n}var Gn=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Xn(e)/Yn|0)|0},Xn=Math.log,Yn=Math.LN2;var Jn=ce.unstable_UserBlockingPriority,Zn=ce.unstable_runWithPriority,er=!0;function tr(e,t,n,r){Bt||Ft();var o=rr,i=Bt;Bt=!0;try{zt(o,e,t,n,r)}finally{(Bt=i)||Ut()}}function nr(e,t,n,r){Zn(Jn,rr.bind(null,e,t,n,r))}function rr(e,t,n,r){var o;if(er)if((o=0==(4&t))&&0<dn.length&&-1<yn.indexOf(e))e=bn(null,e,t,n,r),dn.push(e);else{var i=or(e,t,n,r);if(null===i)o&&xn(e,r);else{if(o){if(-1<yn.indexOf(e))return e=bn(i,e,t,n,r),void dn.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return pn=wn(pn,e,t,n,r,o),!0;case"dragenter":return fn=wn(fn,e,t,n,r,o),!0;case"mouseover":return hn=wn(hn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return mn.set(i,wn(mn.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,vn.set(i,wn(vn.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;xn(e,r)}Do(e,t,r,null,n)}}}function or(e,t,n,r){var o=Mt(r);if(null!==(o=li(o))){var i=en(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=tn(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Do(e,t,r,o,n),null}var ir=null,ar=null,lr=null;function sr(){if(lr)return lr;var e,t,n=ar,r=n.length,o="value"in ir?ir.value:ir.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return lr=o.slice(e,1<t?1-t:void 0)}function ur(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function cr(){return!0}function dr(){return!1}function pr(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?cr:dr,this.isPropagationStopped=dr,this}return ue(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=cr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=cr)},persist:function(){},isPersistent:cr}),t}var fr,hr,mr,vr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},gr=pr(vr),yr=ue({},vr,{view:0,detail:0}),br=pr(yr),xr=ue({},yr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ir,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==mr&&(mr&&"mousemove"===e.type?(fr=e.screenX-mr.screenX,hr=e.screenY-mr.screenY):hr=fr=0,mr=e),fr)},movementY:function(e){return"movementY"in e?e.movementY:hr}}),wr=pr(xr),kr=pr(ue({},xr,{dataTransfer:0})),Sr=pr(ue({},yr,{relatedTarget:0})),Er=pr(ue({},vr,{animationName:0,elapsedTime:0,pseudoElement:0})),Cr=ue({},vr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Or=pr(Cr),Pr=pr(ue({},vr,{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"},Tr={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"},Mr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ar(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Mr[e])&&!!t[e]}function Ir(){return Ar}var $r=ue({},yr,{key:function(e){if(e.key){var t=Rr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ur(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Tr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ir,charCode:function(e){return"keypress"===e.type?ur(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ur(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),jr=pr($r),Lr=pr(ue({},xr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),_r=pr(ue({},yr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ir})),Nr=pr(ue({},vr,{propertyName:0,elapsedTime:0,pseudoElement:0})),zr=ue({},xr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Fr=pr(zr),Dr=[9,13,27,32],Br=ve&&"CompositionEvent"in window,Wr=null;ve&&"documentMode"in document&&(Wr=document.documentMode);var Ur=ve&&"TextEvent"in window&&!Wr,Vr=ve&&(!Br||Wr&&8<Wr&&11>=Wr),qr=String.fromCharCode(32),Hr=!1;function Kr(e,t){switch(e){case"keyup":return-1!==Dr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Gr=!1;var Xr={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 Yr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Xr[e.type]:"textarea"===t}function Jr(e,t,n,r){Lt(r),0<(t=Wo(t,"onChange")).length&&(n=new gr("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Zr=null,eo=null;function to(e){jo(e,0)}function no(e){if(nt(ui(e)))return e}function ro(e,t){if("change"===e)return t}var oo=!1;if(ve){var io;if(ve){var ao="oninput"in document;if(!ao){var lo=document.createElement("div");lo.setAttribute("oninput","return;"),ao="function"==typeof lo.oninput}io=ao}else io=!1;oo=io&&(!document.documentMode||9<document.documentMode)}function so(){Zr&&(Zr.detachEvent("onpropertychange",uo),eo=Zr=null)}function uo(e){if("value"===e.propertyName&&no(eo)){var t=[];if(Jr(t,eo,e,Mt(e)),e=to,Bt)e(t);else{Bt=!0;try{Nt(e,t)}finally{Bt=!1,Ut()}}}}function co(e,t,n){"focusin"===e?(so(),eo=n,(Zr=t).attachEvent("onpropertychange",uo)):"focusout"===e&&so()}function po(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return no(eo)}function fo(e,t){if("click"===e)return no(t)}function ho(e,t){if("input"===e||"change"===e)return no(t)}var mo="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},vo=Object.prototype.hasOwnProperty;function go(e,t){if(mo(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!vo.call(t,n[r])||!mo(e[n[r]],t[n[r]]))return!1;return!0}function yo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function bo(e,t){var n,r=yo(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=yo(r)}}function xo(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?xo(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function wo(){for(var e=window,t=rt();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=rt((e=t.contentWindow).document)}return t}function ko(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var So=ve&&"documentMode"in document&&11>=document.documentMode,Eo=null,Co=null,Oo=null,Po=!1;function Ro(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Po||null==Eo||Eo!==rt(r)||("selectionStart"in(r=Eo)&&ko(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Oo&&go(Oo,r)||(Oo=r,0<(r=Wo(Co,"onSelect")).length&&(t=new gr("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Eo)))}Dn("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Dn("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Dn(Fn,2);for(var To="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Mo=0;Mo<To.length;Mo++)zn.set(To[Mo],0);me("onMouseEnter",["mouseout","mouseover"]),me("onMouseLeave",["mouseout","mouseover"]),me("onPointerEnter",["pointerout","pointerover"]),me("onPointerLeave",["pointerout","pointerover"]),he("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),he("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),he("onBeforeInput",["compositionend","keypress","textInput","paste"]),he("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ao="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Io=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ao));function $o(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,l,s){if(Zt.apply(this,arguments),Qt){if(!Qt)throw Error(de(198));var u=Gt;Qt=!1,Gt=null,Xt||(Xt=!0,Yt=u)}}(r,t,void 0,e),e.currentTarget=null}function jo(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;$o(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;$o(o,l,u),i=s}}}if(Xt)throw e=Yt,Xt=!1,Yt=null,e}function Lo(e,t){var n=di(t),r=e+"__bubble";n.has(r)||(Fo(t,e,2,!1),n.add(r))}var _o="_reactListening"+Math.random().toString(36).slice(2);function No(e){e[_o]||(e[_o]=!0,pe.forEach((function(t){Io.has(t)||zo(t,!1,e,null),zo(t,!0,e,null)})))}function zo(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Io.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=di(i),l=e+"__"+(t?"capture":"bubble");a.has(l)||(t&&(o|=4),Fo(i,e,o,t),a.add(l))}function Fo(e,t,n,r){var o=zn.get(t);switch(void 0===o?2:o){case 0:o=tr;break;case 1:o=nr;break;default:o=rr}n=o.bind(null,t,n,e),o=void 0,!qt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Do(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=li(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Wt)return e(t,n);Wt=!0;try{Dt(e,t,n)}finally{Wt=!1,Ut()}}((function(){var r=i,o=Mt(n),a=[];e:{var l=Nn.get(e);if(void 0!==l){var s=gr,u=e;switch(e){case"keypress":if(0===ur(n))break e;case"keydown":case"keyup":s=jr;break;case"focusin":u="focus",s=Sr;break;case"focusout":u="blur",s=Sr;break;case"beforeblur":case"afterblur":s=Sr;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=wr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=kr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=_r;break;case $n:case jn:case Ln:s=Er;break;case _n:s=Nr;break;case"scroll":s=br;break;case"wheel":s=Fr;break;case"copy":case"cut":case"paste":s=Or;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Lr}var c=0!=(4&t),d=!c&&"scroll"===e,p=c?null!==l?l+"Capture":null:l;c=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=Vt(h,p))&&c.push(Bo(h,m,f)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!li(u)&&!u[ii])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?li(u):null)&&(u!==(d=en(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=wr,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Lr,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:ui(s),f=null==u?l:ui(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,li(o)===r&&((c=new c(p,h+"enter",u,n,o)).target=f,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(p=u,h=0,f=c=s;f;f=Uo(f))h++;for(f=0,m=p;m;m=Uo(m))f++;for(;0<h-f;)c=Uo(c),h--;for(;0<f-h;)p=Uo(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Uo(c),p=Uo(p)}c=null}else c=null;null!==s&&Vo(a,l,s,c,!1),null!==u&&null!==d&&Vo(a,d,u,c,!0)}if("select"===(s=(l=r?ui(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=ro;else if(Yr(l))if(oo)v=ho;else{v=po;var g=co}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=fo);switch(v&&(v=v(e,r))?Jr(a,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ut(l,"number",l.value)),g=r?ui(r):window,e){case"focusin":(Yr(g)||"true"===g.contentEditable)&&(Eo=g,Co=r,Oo=null);break;case"focusout":Oo=Co=Eo=null;break;case"mousedown":Po=!0;break;case"contextmenu":case"mouseup":case"dragend":Po=!1,Ro(a,n,o);break;case"selectionchange":if(So)break;case"keydown":case"keyup":Ro(a,n,o)}var y;if(Br)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Gr?Kr(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Vr&&"ko"!==n.locale&&(Gr||"onCompositionStart"!==b?"onCompositionEnd"===b&&Gr&&(y=sr()):(ar="value"in(ir=o)?ir.value:ir.textContent,Gr=!0)),0<(g=Wo(r,b)).length&&(b=new Pr(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=Qr(n))&&(b.data=y))),(y=Ur?function(e,t){switch(e){case"compositionend":return Qr(t);case"keypress":return 32!==t.which?null:(Hr=!0,qr);case"textInput":return(e=t.data)===qr&&Hr?null:e;default:return null}}(e,n):function(e,t){if(Gr)return"compositionend"===e||!Br&&Kr(e,t)?(e=sr(),lr=ar=ir=null,Gr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Vr&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wo(r,"onBeforeInput")).length&&(o=new Pr("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}jo(a,t)}))}function Bo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wo(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Vt(e,n))&&r.unshift(Bo(e,i,o)),null!=(i=Vt(e,t))&&r.push(Bo(e,i,o))),e=e.return}return r}function Uo(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Vo(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Vt(n,i))&&a.unshift(Bo(n,s,l)):o||null!=(s=Vt(n,i))&&a.push(Bo(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function qo(){}var Ho=null,Ko=null;function Qo(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Go(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Xo="function"==typeof setTimeout?setTimeout:void 0,Yo="function"==typeof clearTimeout?clearTimeout:void 0;function Jo(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Zo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function ei(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var ti=0;var ni=Math.random().toString(36).slice(2),ri="__reactFiber$"+ni,oi="__reactProps$"+ni,ii="__reactContainer$"+ni,ai="__reactEvents$"+ni;function li(e){var t=e[ri];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ii]||n[ri]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ei(e);null!==e;){if(n=e[ri])return n;e=ei(e)}return t}n=(e=n).parentNode}return null}function si(e){return!(e=e[ri]||e[ii])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ui(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(de(33))}function ci(e){return e[oi]||null}function di(e){var t=e[ai];return void 0===t&&(t=e[ai]=new Set),t}var pi=[],fi=-1;function hi(e){return{current:e}}function mi(e){0>fi||(e.current=pi[fi],pi[fi]=null,fi--)}function vi(e,t){fi++,pi[fi]=e.current,e.current=t}var gi={},yi=hi(gi),bi=hi(!1),xi=gi;function wi(e,t){var n=e.type.contextTypes;if(!n)return gi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ki(e){return null!=(e=e.childContextTypes)}function Si(){mi(bi),mi(yi)}function Ei(e,t,n){if(yi.current!==gi)throw Error(de(168));vi(yi,t),vi(bi,n)}function Ci(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(de(108,Je(t)||"Unknown",o));return ue({},n,r)}function Oi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gi,xi=yi.current,vi(yi,e),vi(bi,bi.current),!0}function Pi(e,t,n){var r=e.stateNode;if(!r)throw Error(de(169));n?(e=Ci(e,t,xi),r.__reactInternalMemoizedMergedChildContext=e,mi(bi),mi(yi),vi(yi,e)):mi(bi),vi(bi,n)}var Ri=null,Ti=null,Mi=ce.unstable_runWithPriority,Ai=ce.unstable_scheduleCallback,Ii=ce.unstable_cancelCallback,$i=ce.unstable_shouldYield,ji=ce.unstable_requestPaint,Li=ce.unstable_now,_i=ce.unstable_getCurrentPriorityLevel,Ni=ce.unstable_ImmediatePriority,zi=ce.unstable_UserBlockingPriority,Fi=ce.unstable_NormalPriority,Di=ce.unstable_LowPriority,Bi=ce.unstable_IdlePriority,Wi={},Ui=void 0!==ji?ji:function(){},Vi=null,qi=null,Hi=!1,Ki=Li(),Qi=1e4>Ki?Li:function(){return Li()-Ki};function Gi(){switch(_i()){case Ni:return 99;case zi:return 98;case Fi:return 97;case Di:return 96;case Bi:return 95;default:throw Error(de(332))}}function Xi(e){switch(e){case 99:return Ni;case 98:return zi;case 97:return Fi;case 96:return Di;case 95:return Bi;default:throw Error(de(332))}}function Yi(e,t){return e=Xi(e),Mi(e,t)}function Ji(e,t,n){return e=Xi(e),Ai(e,t,n)}function Zi(){if(null!==qi){var e=qi;qi=null,Ii(e)}ea()}function ea(){if(!Hi&&null!==Vi){Hi=!0;var e=0;try{var t=Vi;Yi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Vi=null}catch(t){throw null!==Vi&&(Vi=Vi.slice(e+1)),Ai(Ni,Zi),t}finally{Hi=!1}}}var ta=Oe.ReactCurrentBatchConfig;function na(e,t){if(e&&e.defaultProps){for(var n in t=ue({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ra=hi(null),oa=null,ia=null,aa=null;function la(){aa=ia=oa=null}function sa(e){var t=ra.current;mi(ra),e.type._context._currentValue=t}function ua(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ca(e,t){oa=e,aa=ia=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Bl=!0),e.firstContext=null)}function da(e,t){if(aa!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(aa=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ia){if(null===oa)throw Error(de(308));ia=t,oa.dependencies={lanes:0,firstContext:t,responders:null}}else ia=ia.next=t;return e._currentValue}var pa=!1;function fa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ha(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ma(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function va(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ga(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ya(e,t,n,r){var o=e.updateQueue;pa=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;if(null!==c){var d=(c=c.updateQueue).lastBaseUpdate;d!==a&&(null===d?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=s)}}if(null!==i){for(d=o.baseState,a=0,c=u=s=null;;){l=i.lane;var p=i.eventTime;if((r&l)===l){null!==c&&(c=c.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var f=e,h=i;switch(l=t,p=n,h.tag){case 1:if("function"==typeof(f=h.payload)){d=f.call(p,d,l);break e}d=f;break e;case 3:f.flags=-4097&f.flags|64;case 0:if(null==(l="function"==typeof(f=h.payload)?f.call(p,d,l):f))break e;d=ue({},d,l);break e;case 2:pa=!0}}null!==i.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[i]:l.push(i))}else p={eventTime:p,lane:l,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=l;if(null===(i=i.next)){if(null===(l=o.shared.pending))break;i=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,qs|=a,e.lanes=a,e.memoizedState=d}}function ba(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(de(191,o));o.call(r)}}}var xa=(new se.Component).refs;function wa(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:ue({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ka={isMounted:function(e){return!!(e=e._reactInternals)&&en(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=vu(),o=gu(e),i=ma(r,o);i.payload=t,null!=n&&(i.callback=n),va(e,i),yu(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=vu(),o=gu(e),i=ma(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),va(e,i),yu(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=vu(),r=gu(e),o=ma(n,r);o.tag=2,null!=t&&(o.callback=t),va(e,o),yu(e,r,n)}};function Sa(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!go(n,r)||!go(o,i))}function Ea(e,t,n){var r=!1,o=gi,i=t.contextType;return"object"==typeof i&&null!==i?i=da(i):(o=ki(t)?xi:yi.current,i=(r=null!=(r=t.contextTypes))?wi(e,o):gi),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ka,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ca(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ka.enqueueReplaceState(t,t.state,null)}function Oa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=xa,fa(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=da(i):(i=ki(t)?xi:yi.current,o.context=wi(e,i)),ya(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(wa(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&ka.enqueueReplaceState(o,o.state,null),ya(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var Pa=Array.isArray;function Ra(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(de(309));var r=n.stateNode}if(!r)throw Error(de(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===xa&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(de(284));if(!n._owner)throw Error(de(290,e))}return e}function Ta(e,t){if("textarea"!==e.type)throw Error(de(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ma(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Xu(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function a(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=ec(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Ra(e,t,n),r.return=e,r):((r=Yu(n.type,n.key,n.props,null,e.mode,r)).ref=Ra(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=tc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,i){return null===t||7!==t.tag?((t=Ju(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=ec(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Pe:return(n=Yu(t.type,t.key,t.props,null,e.mode,n)).ref=Ra(e,null,t),n.return=e,n;case Re:return(t=tc(t,e.mode,n)).return=e,t}if(Pa(t)||Ke(t))return(t=Ju(t,e.mode,n,null)).return=e,t;Ta(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Pe:return n.key===o?n.type===Te?c(e,t,n.props.children,r,o):s(e,t,n,r):null;case Re:return n.key===o?u(e,t,n,r):null}if(Pa(n)||Ke(n))return null!==o?null:c(e,t,n,r,null);Ta(e,n)}return null}function f(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Pe:return e=e.get(null===r.key?n:r.key)||null,r.type===Te?c(t,e,r.props.children,o,r.key):s(t,e,r,o);case Re:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Pa(r)||Ke(r))return c(t,e=e.get(n)||null,r,o,null);Ta(t,r)}return null}function h(o,a,l,s){for(var u=null,c=null,h=a,m=a=0,v=null;null!==h&&m<l.length;m++){h.index>m?(v=h,h=null):v=h.sibling;var g=p(o,h,l[m],s);if(null===g){null===h&&(h=v);break}e&&h&&null===g.alternate&&t(o,h),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g,h=v}if(m===l.length)return n(o,h),u;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(a=i(h,a,m),null===c?u=h:c.sibling=h,c=h);return u}for(h=r(o,h);m<l.length;m++)null!==(v=f(h,o,m,l[m],s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&h.forEach((function(e){return t(o,e)})),u}function m(o,a,l,s){var u=Ke(l);if("function"!=typeof u)throw Error(de(150));if(null==(l=u.call(l)))throw Error(de(151));for(var c=u=null,h=a,m=a=0,v=null,g=l.next();null!==h&&!g.done;m++,g=l.next()){h.index>m?(v=h,h=null):v=h.sibling;var y=p(o,h,g.value,s);if(null===y){null===h&&(h=v);break}e&&h&&null===y.alternate&&t(o,h),a=i(y,a,m),null===c?u=y:c.sibling=y,c=y,h=v}if(g.done)return n(o,h),u;if(null===h){for(;!g.done;m++,g=l.next())null!==(g=d(o,g.value,s))&&(a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return u}for(h=r(o,h);!g.done;m++,g=l.next())null!==(g=f(h,o,m,g.value,s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(o,e)})),u}return function(e,r,i,l){var s="object"==typeof i&&null!==i&&i.type===Te&&null===i.key;s&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case Pe:e:{for(u=i.key,s=r;null!==s;){if(s.key===u){if(7===s.tag){if(i.type===Te){n(e,s.sibling),(r=o(s,i.props.children)).return=e,e=r;break e}}else if(s.elementType===i.type){n(e,s.sibling),(r=o(s,i.props)).ref=Ra(e,s,i),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}i.type===Te?((r=Ju(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=Yu(i.type,i.key,i.props,null,e.mode,l)).ref=Ra(e,r,i),l.return=e,e=l)}return a(e);case Re:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=tc(i,e.mode,l)).return=e,e=r}return a(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=ec(i,e.mode,l)).return=e,e=r),a(e);if(Pa(i))return h(e,r,i,l);if(Ke(i))return m(e,r,i,l);if(u&&Ta(e,i),void 0===i&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(de(152,Je(e.type)||"Component"))}return n(e,r)}}var Aa=Ma(!0),Ia=Ma(!1),$a={},ja=hi($a),La=hi($a),_a=hi($a);function Na(e){if(e===$a)throw Error(de(174));return e}function za(e,t){switch(vi(_a,t),vi(La,e),vi(ja,$a),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:bt(null,"");break;default:t=bt(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}mi(ja),vi(ja,t)}function Fa(){mi(ja),mi(La),mi(_a)}function Da(e){Na(_a.current);var t=Na(ja.current),n=bt(t,e.type);t!==n&&(vi(La,e),vi(ja,n))}function Ba(e){La.current===e&&(mi(ja),mi(La))}var Wa=hi(0);function Ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Va=null,qa=null,Ha=!1;function Ka(e,t){var n=Qu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Qa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Ga(e){if(Ha){var t=qa;if(t){var n=t;if(!Qa(e,t)){if(!(t=Zo(n.nextSibling))||!Qa(e,t))return e.flags=-1025&e.flags|2,Ha=!1,void(Va=e);Ka(Va,n)}Va=e,qa=Zo(t.firstChild)}else e.flags=-1025&e.flags|2,Ha=!1,Va=e}}function Xa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Va=e}function Ya(e){if(e!==Va)return!1;if(!Ha)return Xa(e),Ha=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Go(t,e.memoizedProps))for(t=qa;t;)Ka(e,t),t=Zo(t.nextSibling);if(Xa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(de(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){qa=Zo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}qa=null}}else qa=Va?Zo(e.stateNode.nextSibling):null;return!0}function Ja(){qa=Va=null,Ha=!1}var Za=[];function el(){for(var e=0;e<Za.length;e++)Za[e]._workInProgressVersionPrimary=null;Za.length=0}var tl=Oe.ReactCurrentDispatcher,nl=Oe.ReactCurrentBatchConfig,rl=0,ol=null,il=null,al=null,ll=!1,sl=!1;function ul(){throw Error(de(321))}function cl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!mo(e[n],t[n]))return!1;return!0}function dl(e,t,n,r,o,i){if(rl=i,ol=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,tl.current=null===e||null===e.memoizedState?Nl:zl,e=n(r,o),sl){i=0;do{if(sl=!1,!(25>i))throw Error(de(301));i+=1,al=il=null,t.updateQueue=null,tl.current=Fl,e=n(r,o)}while(sl)}if(tl.current=_l,t=null!==il&&null!==il.next,rl=0,al=il=ol=null,ll=!1,t)throw Error(de(300));return e}function pl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===al?ol.memoizedState=al=e:al=al.next=e,al}function fl(){if(null===il){var e=ol.alternate;e=null!==e?e.memoizedState:null}else e=il.next;var t=null===al?ol.memoizedState:al.next;if(null!==t)al=t,il=e;else{if(null===e)throw Error(de(310));e={memoizedState:(il=e).memoizedState,baseState:il.baseState,baseQueue:il.baseQueue,queue:il.queue,next:null},null===al?ol.memoizedState=al=e:al=al.next=e}return al}function hl(e,t){return"function"==typeof t?t(e):t}function ml(e){var t=fl(),n=t.queue;if(null===n)throw Error(de(311));n.lastRenderedReducer=e;var r=il,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=a=i=null,s=o;do{var u=s.lane;if((rl&u)===u)null!==l&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===l?(a=l=c,i=r):l=l.next=c,ol.lanes|=u,qs|=u}s=s.next}while(null!==s&&s!==o);null===l?i=r:l.next=a,mo(r,t.memoizedState)||(Bl=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function vl(e){var t=fl(),n=t.queue;if(null===n)throw Error(de(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);mo(i,t.memoizedState)||(Bl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function gl(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(rl&e)===e)&&(t._workInProgressVersionPrimary=r,Za.push(t))),e)return n(t._source);throw Za.push(t),Error(de(350))}function yl(e,t,n,r){var o=Ns;if(null===o)throw Error(de(349));var i=t._getVersion,a=i(t._source),l=tl.current,s=l.useState((function(){return gl(o,t,n)})),u=s[1],c=s[0];s=al;var d=e.memoizedState,p=d.refs,f=p.getSnapshot,h=d.source;d=d.subscribe;var m=ol;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=i(t._source);if(!mo(a,e)){e=n(t._source),mo(c,e)||(u(e),e=gu(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,l=e;0<l;){var s=31-Gn(l),d=1<<s;r[s]|=e,l&=~d}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=gu(m);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),mo(f,n)&&mo(h,t)&&mo(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:hl,lastRenderedState:c}).dispatch=u=Ll.bind(null,ol,e),s.queue=e,s.baseQueue=null,c=gl(o,t,n),s.memoizedState=s.baseState=c),c}function bl(e,t,n){return yl(fl(),e,t,n)}function xl(e){var t=pl();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:hl,lastRenderedState:e}).dispatch=Ll.bind(null,ol,e),[t.memoizedState,e]}function wl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ol.updateQueue)?(t={lastEffect:null},ol.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function kl(e){return e={current:e},pl().memoizedState=e}function Sl(){return fl().memoizedState}function El(e,t,n,r){var o=pl();ol.flags|=e,o.memoizedState=wl(1|t,n,void 0,void 0===r?null:r)}function Cl(e,t,n,r){var o=fl();r=void 0===r?null:r;var i=void 0;if(null!==il){var a=il.memoizedState;if(i=a.destroy,null!==r&&cl(r,a.deps))return void wl(t,n,i,r)}ol.flags|=e,o.memoizedState=wl(1|t,n,i,r)}function Ol(e,t){return El(516,4,e,t)}function Pl(e,t){return Cl(516,4,e,t)}function Rl(e,t){return Cl(4,2,e,t)}function Tl(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ml(e,t,n){return n=null!=n?n.concat([e]):null,Cl(4,2,Tl.bind(null,t,e),n)}function Al(){}function Il(e,t){var n=fl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&cl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function $l(e,t){var n=fl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&cl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function jl(e,t){var n=Gi();Yi(98>n?98:n,(function(){e(!0)})),Yi(97<n?97:n,(function(){var n=nl.transition;nl.transition=1;try{e(!1),t()}finally{nl.transition=n}}))}function Ll(e,t,n){var r=vu(),o=gu(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===ol||null!==a&&a===ol)sl=ll=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=a(l,n);if(i.eagerReducer=a,i.eagerState=s,mo(s,l))return}catch(e){}yu(e,o,r)}}var _l={readContext:da,useCallback:ul,useContext:ul,useEffect:ul,useImperativeHandle:ul,useLayoutEffect:ul,useMemo:ul,useReducer:ul,useRef:ul,useState:ul,useDebugValue:ul,useDeferredValue:ul,useTransition:ul,useMutableSource:ul,useOpaqueIdentifier:ul,unstable_isNewReconciler:!1},Nl={readContext:da,useCallback:function(e,t){return pl().memoizedState=[e,void 0===t?null:t],e},useContext:da,useEffect:Ol,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,El(4,2,Tl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return El(4,2,e,t)},useMemo:function(e,t){var n=pl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=pl();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ll.bind(null,ol,e),[r.memoizedState,e]},useRef:kl,useState:xl,useDebugValue:Al,useDeferredValue:function(e){var t=xl(e),n=t[0],r=t[1];return Ol((function(){var t=nl.transition;nl.transition=1;try{r(e)}finally{nl.transition=t}}),[e]),n},useTransition:function(){var e=xl(!1),t=e[0];return kl(e=jl.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=pl();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},yl(r,e,t,n)},useOpaqueIdentifier:function(){if(Ha){var e=!1,t=function(e){return{$$typeof:De,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(ti++).toString(36))),Error(de(355))})),n=xl(t)[1];return 0==(2&ol.mode)&&(ol.flags|=516,wl(5,(function(){n("r:"+(ti++).toString(36))}),void 0,null)),t}return xl(t="r:"+(ti++).toString(36)),t},unstable_isNewReconciler:!1},zl={readContext:da,useCallback:Il,useContext:da,useEffect:Pl,useImperativeHandle:Ml,useLayoutEffect:Rl,useMemo:$l,useReducer:ml,useRef:Sl,useState:function(){return ml(hl)},useDebugValue:Al,useDeferredValue:function(e){var t=ml(hl),n=t[0],r=t[1];return Pl((function(){var t=nl.transition;nl.transition=1;try{r(e)}finally{nl.transition=t}}),[e]),n},useTransition:function(){var e=ml(hl)[0];return[Sl().current,e]},useMutableSource:bl,useOpaqueIdentifier:function(){return ml(hl)[0]},unstable_isNewReconciler:!1},Fl={readContext:da,useCallback:Il,useContext:da,useEffect:Pl,useImperativeHandle:Ml,useLayoutEffect:Rl,useMemo:$l,useReducer:vl,useRef:Sl,useState:function(){return vl(hl)},useDebugValue:Al,useDeferredValue:function(e){var t=vl(hl),n=t[0],r=t[1];return Pl((function(){var t=nl.transition;nl.transition=1;try{r(e)}finally{nl.transition=t}}),[e]),n},useTransition:function(){var e=vl(hl)[0];return[Sl().current,e]},useMutableSource:bl,useOpaqueIdentifier:function(){return vl(hl)[0]},unstable_isNewReconciler:!1},Dl=Oe.ReactCurrentOwner,Bl=!1;function Wl(e,t,n,r){t.child=null===e?Ia(t,null,n,r):Aa(t,e.child,n,r)}function Ul(e,t,n,r,o){n=n.render;var i=t.ref;return ca(t,o),r=dl(e,t,n,r,i,o),null===e||Bl?(t.flags|=1,Wl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,us(e,t,o))}function Vl(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Gu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Yu(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ql(e,t,a,r,o,i))}return a=e.child,0==(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:go)(o,r)&&e.ref===t.ref)?us(e,t,i):(t.flags|=1,(e=Xu(a,r)).ref=t.ref,e.return=t,t.child=e)}function ql(e,t,n,r,o,i){if(null!==e&&go(e.memoizedProps,r)&&e.ref===t.ref){if(Bl=!1,0==(i&o))return t.lanes=e.lanes,us(e,t,i);0!=(16384&e.flags)&&(Bl=!0)}return Ql(e,t,n,r,i)}function Hl(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},Ou(t,n);else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Ou(t,e),null;t.memoizedState={baseLanes:0},Ou(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ou(t,r);return Wl(e,t,o,n),t.child}function Kl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ql(e,t,n,r,o){var i=ki(n)?xi:yi.current;return i=wi(t,i),ca(t,o),n=dl(e,t,n,r,i,o),null===e||Bl?(t.flags|=1,Wl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,us(e,t,o))}function Gl(e,t,n,r,o){if(ki(n)){var i=!0;Oi(t)}else i=!1;if(ca(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Ea(t,n,r),Oa(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=da(u):u=wi(t,u=ki(n)?xi:yi.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&Ca(t,a,r,u),pa=!1;var p=t.memoizedState;a.state=p,ya(t,r,a,o),s=t.memoizedState,l!==r||p!==s||bi.current||pa?("function"==typeof c&&(wa(t,n,c,r),s=t.memoizedState),(l=pa||Sa(t,n,l,r,p,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,ha(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:na(t.type,l),a.props=u,d=t.pendingProps,p=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=da(s):s=wi(t,s=ki(n)?xi:yi.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||p!==s)&&Ca(t,a,r,s),pa=!1,p=t.memoizedState,a.state=p,ya(t,r,a,o);var h=t.memoizedState;l!==d||p!==h||bi.current||pa?("function"==typeof f&&(wa(t,n,f,r),h=t.memoizedState),(u=pa||Sa(t,n,u,r,p,h,s))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),r=!1)}return Xl(e,t,n,r,i,o)}function Xl(e,t,n,r,o,i){Kl(e,t);var a=0!=(64&t.flags);if(!r&&!a)return o&&Pi(t,n,!1),us(e,t,i);r=t.stateNode,Dl.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Aa(t,e.child,null,i),t.child=Aa(t,null,l,i)):Wl(e,t,l,i),t.memoizedState=r.state,o&&Pi(t,n,!0),t.child}function Yl(e){var t=e.stateNode;t.pendingContext?Ei(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ei(0,t.context,!1),za(e,t.containerInfo)}var Jl,Zl,es,ts={dehydrated:null,retryLane:0};function ns(e,t,n){var r,o=t.pendingProps,i=Wa.current,a=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),vi(Wa,1&i),null===e?(void 0!==o.fallback&&Ga(t),e=o.children,i=o.fallback,a?(e=rs(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=ts,e):"number"==typeof o.unstable_expectedLoadTime?(e=rs(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=ts,t.lanes=33554432,e):((n=Zu({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=is(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=ts,o):(n=os(e,t,o.children,n),t.memoizedState=null,n))}function rs(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Zu(t,o,0,null),n=Ju(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function os(e,t,n,r){var o=e.child;return e=o.sibling,n=Xu(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function is(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:n};return 0==(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=l,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Xu(a,l),null!==e?r=Xu(e,r):(r=Ju(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function as(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ua(e.return,t)}function ls(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function ss(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Wl(e,t,r.children,n),0!=(2&(r=Wa.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&as(e,n);else if(19===e.tag)as(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(vi(Wa,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ua(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ls(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ua(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ls(t,!0,n,null,i,t.lastEffect);break;case"together":ls(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function us(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),qs|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(de(153));if(null!==t.child){for(n=Xu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Xu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function cs(e,t){if(!Ha)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ds(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return ki(t.type)&&Si(),null;case 3:return Fa(),mi(bi),mi(yi),el(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ya(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ba(t);var o=Na(_a.current);if(n=t.type,null!==e&&null!=t.stateNode)Zl(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(de(166));return null}if(e=Na(ja.current),Ya(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ri]=t,r[oi]=i,n){case"dialog":Lo("cancel",r),Lo("close",r);break;case"iframe":case"object":case"embed":Lo("load",r);break;case"video":case"audio":for(e=0;e<Ao.length;e++)Lo(Ao[e],r);break;case"source":Lo("error",r);break;case"img":case"image":case"link":Lo("error",r),Lo("load",r);break;case"details":Lo("toggle",r);break;case"input":it(r,i),Lo("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Lo("invalid",r);break;case"textarea":ft(r,i),Lo("invalid",r)}for(var a in Rt(n,i),e=null,i)i.hasOwnProperty(a)&&(o=i[a],"children"===a?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):fe.hasOwnProperty(a)&&null!=o&&"onScroll"===a&&Lo("scroll",r));switch(n){case"input":tt(r),st(r,i,!0);break;case"textarea":tt(r),mt(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=qo)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(a=9===o.nodeType?o:o.ownerDocument,e===vt&&(e=yt(n)),e===vt?"script"===n?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[ri]=t,e[oi]=r,Jl(e,t),t.stateNode=e,a=Tt(n,r),n){case"dialog":Lo("cancel",e),Lo("close",e),o=r;break;case"iframe":case"object":case"embed":Lo("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ao.length;o++)Lo(Ao[o],e);o=r;break;case"source":Lo("error",e),o=r;break;case"img":case"image":case"link":Lo("error",e),Lo("load",e),o=r;break;case"details":Lo("toggle",e),o=r;break;case"input":it(e,r),o=ot(e,r),Lo("invalid",e);break;case"option":o=ct(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ue({},r,{value:void 0}),Lo("invalid",e);break;case"textarea":ft(e,r),o=pt(e,r),Lo("invalid",e);break;default:o=r}Rt(n,o);var l=o;for(i in l)if(l.hasOwnProperty(i)){var s=l[i];"style"===i?Ot(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&wt(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&kt(e,s):"number"==typeof s&&kt(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(fe.hasOwnProperty(i)?null!=s&&"onScroll"===i&&Lo("scroll",e):null!=s&&Ce(e,i,s,a))}switch(n){case"input":tt(e),st(e,r,!1);break;case"textarea":tt(e),mt(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Ze(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?dt(e,!!r.multiple,i,!1):null!=r.defaultValue&&dt(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=qo)}Qo(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)es(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(de(166));n=Na(_a.current),Na(ja.current),Ya(t)?(r=t.stateNode,n=t.memoizedProps,r[ri]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ri]=t,t.stateNode=r)}return null;case 13:return mi(Wa),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Ya(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Wa.current)?0===Ws&&(Ws=3):(0!==Ws&&3!==Ws||(Ws=4),null===Ns||0==(134217727&qs)&&0==(134217727&Hs)||ku(Ns,Fs))),(r||n)&&(t.flags|=4),null);case 4:return Fa(),null===e&&No(t.stateNode.containerInfo),null;case 10:return sa(t),null;case 19:if(mi(Wa),null===(r=t.memoizedState))return null;if(i=0!=(64&t.flags),null===(a=r.rendering))if(i)cs(r,!1);else{if(0!==Ws||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(a=Ua(e))){for(t.flags|=64,cs(r,!1),null!==(i=a.updateQueue)&&(t.updateQueue=i,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(a=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return vi(Wa,1&Wa.current|2),t.child}e=e.sibling}null!==r.tail&&Qi()>Xs&&(t.flags|=64,i=!0,cs(r,!1),t.lanes=33554432)}else{if(!i)if(null!==(e=Ua(a))){if(t.flags|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),cs(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!Ha)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Qi()-r.renderingStartTime>Xs&&1073741824!==n&&(t.flags|=64,i=!0,cs(r,!1),t.lanes=33554432);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=r.last)?n.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Qi(),n.sibling=null,t=Wa.current,vi(Wa,i?1&t|2:1&t),n):null;case 23:case 24:return Pu(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(de(156,t.tag))}function ps(e){switch(e.tag){case 1:ki(e.type)&&Si();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Fa(),mi(bi),mi(yi),el(),0!=(64&(t=e.flags)))throw Error(de(285));return e.flags=-4097&t|64,e;case 5:return Ba(e),null;case 13:return mi(Wa),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return mi(Wa),null;case 4:return Fa(),null;case 10:return sa(e),null;case 23:case 24:return Pu(),null;default:return null}}function fs(e,t){try{var n="",r=t;do{n+=Ye(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function hs(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Jl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Zl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Na(ja.current);var i,a=null;switch(n){case"input":o=ot(e,o),r=ot(e,r),a=[];break;case"option":o=ct(e,o),r=ct(e,r),a=[];break;case"select":o=ue({},o,{value:void 0}),r=ue({},r,{value:void 0}),a=[];break;case"textarea":o=pt(e,o),r=pt(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=qo)}for(u in Rt(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(fe.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var s=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(fe.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&Lo("scroll",e),a||l===s||(a=[])):"object"==typeof s&&null!==s&&s.$$typeof===De?s.toString():(a=a||[]).push(u,s))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},es=function(e,t,n,r){n!==r&&(t.flags|=4)};var ms="function"==typeof WeakMap?WeakMap:Map;function vs(e,t,n){(n=ma(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){eu||(eu=!0,tu=r),hs(0,t)},n}function gs(e,t,n){(n=ma(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return hs(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===nu?nu=new Set([this]):nu.add(this),hs(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ys="function"==typeof WeakSet?WeakSet:Set;function bs(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Vu(e,t)}else t.current=null}function xs(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:na(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Jo(t.stateNode.containerInfo))}throw Error(de(163))}function ws(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Bu(n,e),Du(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:na(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ba(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}ba(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Qo(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Pn(n)))))}throw Error(de(163))}function ks(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=Ct("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Ss(e,t){if(Ti&&"function"==typeof Ti.onCommitFiberUnmount)try{Ti.onCommitFiberUnmount(Ri,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Bu(t,n);else{r=t;try{o()}catch(e){Vu(r,e)}}n=n.next}while(n!==e)}break;case 1:if(bs(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Vu(t,e)}break;case 5:bs(t);break;case 4:Ts(e,t)}}function Es(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Cs(e){return 5===e.tag||3===e.tag||4===e.tag}function Os(e){e:{for(var t=e.return;null!==t;){if(Cs(t))break e;t=t.return}throw Error(de(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(de(161))}16&n.flags&&(kt(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Cs(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Ps(e,n,t):Rs(e,n,t)}function Ps(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=qo));else if(4!==r&&null!==(e=e.child))for(Ps(e,t,n),e=e.sibling;null!==e;)Ps(e,t,n),e=e.sibling}function Rs(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Rs(e,t,n),e=e.sibling;null!==e;)Rs(e,t,n),e=e.sibling}function Ts(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(de(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var a=e,l=o,s=l;;)if(Ss(a,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===l)break e;for(;null===s.sibling;){if(null===s.return||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(a=n,l=o.stateNode,8===a.nodeType?a.parentNode.removeChild(l):a.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(Ss(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Ms(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[oi]=r,"input"===e&&"radio"===r.type&&null!=r.name&&at(n,r),Tt(e,o),t=Tt(e,r),o=0;o<i.length;o+=2){var a=i[o],l=i[o+1];"style"===a?Ot(n,l):"dangerouslySetInnerHTML"===a?wt(n,l):"children"===a?kt(n,l):Ce(n,a,l,t)}switch(e){case"input":lt(n,r);break;case"textarea":ht(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?dt(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?dt(n,!!r.multiple,r.defaultValue,!0):dt(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(de(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Pn(n.containerInfo)));case 13:return null!==t.memoizedState&&(Gs=Qi(),ks(t.child,!0)),void As(t);case 19:return void As(t);case 23:case 24:return void ks(t,null!==t.memoizedState)}throw Error(de(163))}function As(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ys),t.forEach((function(t){var r=Hu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Is(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var $s=Math.ceil,js=Oe.ReactCurrentDispatcher,Ls=Oe.ReactCurrentOwner,_s=0,Ns=null,zs=null,Fs=0,Ds=0,Bs=hi(0),Ws=0,Us=null,Vs=0,qs=0,Hs=0,Ks=0,Qs=null,Gs=0,Xs=1/0;function Ys(){Xs=Qi()+500}var Js,Zs=null,eu=!1,tu=null,nu=null,ru=!1,ou=null,iu=90,au=[],lu=[],su=null,uu=0,cu=null,du=-1,pu=0,fu=0,hu=null,mu=!1;function vu(){return 0!=(48&_s)?Qi():-1!==du?du:du=Qi()}function gu(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Gi()?1:2;if(0===pu&&(pu=Vs),0!==ta.transition){0!==fu&&(fu=null!==Qs?Qs.pendingLanes:0),e=pu;var t=4186112&~fu;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Gi(),0!=(4&_s)&&98===e?e=qn(12,pu):e=qn(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),pu),e}function yu(e,t,n){if(50<uu)throw uu=0,cu=null,Error(de(185));if(null===(e=bu(e,t)))return null;Qn(e,t,n),e===Ns&&(Hs|=t,4===Ws&&ku(e,Fs));var r=Gi();1===t?0!=(8&_s)&&0==(48&_s)?Su(e):(xu(e,n),0===_s&&(Ys(),Zi())):(0==(4&_s)||98!==r&&99!==r||(null===su?su=new Set([e]):su.add(e)),xu(e,n)),Qs=e}function bu(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function xu(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var l=31-Gn(a),s=1<<l,u=i[l];if(-1===u){if(0==(s&r)||0!=(s&o)){u=t,Wn(s);var c=Bn;i[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);a&=~s}if(r=Un(e,e===Ns?Fs:0),t=Bn,0===r)null!==n&&(n!==Wi&&Ii(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Wi&&Ii(n)}15===t?(n=Su.bind(null,e),null===Vi?(Vi=[n],qi=Ai(Ni,ea)):Vi.push(n),n=Wi):14===t?n=Ji(99,Su.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(de(358,e))}}(t),n=Ji(n,wu.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function wu(e){if(du=-1,fu=pu=0,0!=(48&_s))throw Error(de(327));var t=e.callbackNode;if(Fu()&&e.callbackNode!==t)return null;var n=Un(e,e===Ns?Fs:0);if(0===n)return null;var r=n,o=_s;_s|=16;var i=Mu();for(Ns===e&&Fs===r||(Ys(),Ru(e,r));;)try{$u();break}catch(t){Tu(e,t)}if(la(),js.current=i,_s=o,null!==zs?r=0:(Ns=null,Fs=0,r=Ws),0!=(Vs&Hs))Ru(e,0);else if(0!==r){if(2===r&&(_s|=64,e.hydrate&&(e.hydrate=!1,Jo(e.containerInfo)),0!==(n=Vn(e))&&(r=Au(e,n))),1===r)throw t=Us,Ru(e,0),ku(e,n),xu(e,Qi()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(de(345));case 2:case 5:_u(e);break;case 3:if(ku(e,n),(62914560&n)===n&&10<(r=Gs+500-Qi())){if(0!==Un(e,0))break;if(((o=e.suspendedLanes)&n)!==n){vu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Xo(_u.bind(null,e),r);break}_u(e);break;case 4:if(ku(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var a=31-Gn(n);i=1<<a,(a=r[a])>o&&(o=a),n&=~i}if(n=o,10<(n=(120>(n=Qi()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*$s(n/1960))-n)){e.timeoutHandle=Xo(_u.bind(null,e),n);break}_u(e);break;default:throw Error(de(329))}}return xu(e,Qi()),e.callbackNode===t?wu.bind(null,e):null}function ku(e,t){for(t&=~Ks,t&=~Hs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Gn(t),r=1<<n;e[n]=-1,t&=~r}}function Su(e){if(0!=(48&_s))throw Error(de(327));if(Fu(),e===Ns&&0!=(e.expiredLanes&Fs)){var t=Fs,n=Au(e,t);0!=(Vs&Hs)&&(n=Au(e,t=Un(e,t)))}else n=Au(e,t=Un(e,0));if(0!==e.tag&&2===n&&(_s|=64,e.hydrate&&(e.hydrate=!1,Jo(e.containerInfo)),0!==(t=Vn(e))&&(n=Au(e,t))),1===n)throw n=Us,Ru(e,0),ku(e,t),xu(e,Qi()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,_u(e),xu(e,Qi()),null}function Eu(e,t){var n=_s;_s|=1;try{return e(t)}finally{0===(_s=n)&&(Ys(),Zi())}}function Cu(e,t){var n=_s;_s&=-2,_s|=8;try{return e(t)}finally{0===(_s=n)&&(Ys(),Zi())}}function Ou(e,t){vi(Bs,Ds),Ds|=t,Vs|=t}function Pu(){Ds=Bs.current,mi(Bs)}function Ru(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Yo(n)),null!==zs)for(n=zs.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Si();break;case 3:Fa(),mi(bi),mi(yi),el();break;case 5:Ba(r);break;case 4:Fa();break;case 13:case 19:mi(Wa);break;case 10:sa(r);break;case 23:case 24:Pu()}n=n.return}Ns=e,zs=Xu(e.current,null),Fs=Ds=Vs=t,Ws=0,Us=null,Ks=Hs=qs=0}function Tu(e,t){for(;;){var n=zs;try{if(la(),tl.current=_l,ll){for(var r=ol.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ll=!1}if(rl=0,al=il=ol=null,sl=!1,Ls.current=null,null===n||null===n.return){Ws=1,Us=t,zs=null;break}e:{var i=e,a=n.return,l=n,s=t;if(t=Fs,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=0!=(1&Wa.current),p=a;do{var f;if(f=13===p.tag){var h=p.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var m=p.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(f){var v=p.updateQueue;if(null===v){var g=new Set;g.add(u),p.updateQueue=g}else v.add(u);if(0==(2&p.mode)){if(p.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var y=ma(-1,1);y.tag=2,va(l,y)}l.lanes|=1;break e}s=void 0,l=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new ms,s=new Set,b.set(u,s)):void 0===(s=b.get(u))&&(s=new Set,b.set(u,s)),!s.has(l)){s.add(l);var x=qu.bind(null,i,u,l);u.then(x,x)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);s=Error((Je(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ws&&(Ws=2),s=fs(s,l),p=a;do{switch(p.tag){case 3:i=s,p.flags|=4096,t&=-t,p.lanes|=t,ga(p,vs(0,i,t));break e;case 1:i=s;var w=p.type,k=p.stateNode;if(0==(64&p.flags)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===nu||!nu.has(k)))){p.flags|=4096,t&=-t,p.lanes|=t,ga(p,gs(p,i,t));break e}}p=p.return}while(null!==p)}Lu(n)}catch(e){t=e,zs===n&&null!==n&&(zs=n=n.return);continue}break}}function Mu(){var e=js.current;return js.current=_l,null===e?_l:e}function Au(e,t){var n=_s;_s|=16;var r=Mu();for(Ns===e&&Fs===t||Ru(e,t);;)try{Iu();break}catch(t){Tu(e,t)}if(la(),_s=n,js.current=r,null!==zs)throw Error(de(261));return Ns=null,Fs=0,Ws}function Iu(){for(;null!==zs;)ju(zs)}function $u(){for(;null!==zs&&!$i();)ju(zs)}function ju(e){var t=Js(e.alternate,e,Ds);e.memoizedProps=e.pendingProps,null===t?Lu(e):zs=t,Ls.current=null}function Lu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=ds(n,t,Ds)))return void(zs=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Ds)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=ps(t)))return n.flags&=2047,void(zs=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(zs=t);zs=t=e}while(null!==t);0===Ws&&(Ws=5)}function _u(e){var t=Gi();return Yi(99,Nu.bind(null,e,t)),null}function Nu(e,t){do{Fu()}while(null!==ou);if(0!=(48&_s))throw Error(de(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(de(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var a=e.eventTimes,l=e.expirationTimes;0<i;){var s=31-Gn(i),u=1<<s;o[s]=0,a[s]=-1,l[s]=-1,i&=~u}if(null!==su&&0==(24&r)&&su.has(e)&&su.delete(e),e===Ns&&(zs=Ns=null,Fs=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=_s,_s|=32,Ls.current=null,Ho=er,ko(a=wo())){if("selectionStart"in a)l={start:a.selectionStart,end:a.selectionEnd};else e:if(l=(l=a.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch(e){l=null;break e}var c=0,d=-1,p=-1,f=0,h=0,m=a,v=null;t:for(;;){for(var g;m!==l||0!==i&&3!==m.nodeType||(d=c+i),m!==s||0!==u&&3!==m.nodeType||(p=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(g=m.firstChild);)v=m,m=g;for(;;){if(m===a)break t;if(v===l&&++f===i&&(d=c),v===s&&++h===u&&(p=c),null!==(g=m.nextSibling))break;v=(m=v).parentNode}m=g}l=-1===d||-1===p?null:{start:d,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Ko={focusedElem:a,selectionRange:l},er=!1,hu=null,mu=!1,Zs=r;do{try{zu()}catch(e){if(null===Zs)throw Error(de(330));Vu(Zs,e),Zs=Zs.nextEffect}}while(null!==Zs);hu=null,Zs=r;do{try{for(a=e;null!==Zs;){var y=Zs.flags;if(16&y&&kt(Zs.stateNode,""),128&y){var b=Zs.alternate;if(null!==b){var x=b.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&y){case 2:Os(Zs),Zs.flags&=-3;break;case 6:Os(Zs),Zs.flags&=-3,Ms(Zs.alternate,Zs);break;case 1024:Zs.flags&=-1025;break;case 1028:Zs.flags&=-1025,Ms(Zs.alternate,Zs);break;case 4:Ms(Zs.alternate,Zs);break;case 8:Ts(a,l=Zs);var w=l.alternate;Es(l),null!==w&&Es(w)}Zs=Zs.nextEffect}}catch(e){if(null===Zs)throw Error(de(330));Vu(Zs,e),Zs=Zs.nextEffect}}while(null!==Zs);if(x=Ko,b=wo(),y=x.focusedElem,a=x.selectionRange,b!==y&&y&&y.ownerDocument&&xo(y.ownerDocument.documentElement,y)){null!==a&&ko(y)&&(b=a.start,void 0===(x=a.end)&&(x=b),"selectionStart"in y?(y.selectionStart=b,y.selectionEnd=Math.min(x,y.value.length)):(x=(b=y.ownerDocument||document)&&b.defaultView||window).getSelection&&(x=x.getSelection(),l=y.textContent.length,w=Math.min(a.start,l),a=void 0===a.end?w:Math.min(a.end,l),!x.extend&&w>a&&(l=a,a=w,w=l),l=bo(y,w),i=bo(y,a),l&&i&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==i.node||x.focusOffset!==i.offset)&&((b=b.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),w>a?(x.addRange(b),x.extend(i.node,i.offset)):(b.setEnd(i.node,i.offset),x.addRange(b))))),b=[];for(x=y;x=x.parentNode;)1===x.nodeType&&b.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<b.length;y++)(x=b[y]).element.scrollLeft=x.left,x.element.scrollTop=x.top}er=!!Ho,Ko=Ho=null,e.current=n,Zs=r;do{try{for(y=e;null!==Zs;){var k=Zs.flags;if(36&k&&ws(y,Zs.alternate,Zs),128&k){b=void 0;var S=Zs.ref;if(null!==S){var E=Zs.stateNode;Zs.tag,b=E,"function"==typeof S?S(b):S.current=b}}Zs=Zs.nextEffect}}catch(e){if(null===Zs)throw Error(de(330));Vu(Zs,e),Zs=Zs.nextEffect}}while(null!==Zs);Zs=null,Ui(),_s=o}else e.current=n;if(ru)ru=!1,ou=e,iu=t;else for(Zs=r;null!==Zs;)t=Zs.nextEffect,Zs.nextEffect=null,8&Zs.flags&&((k=Zs).sibling=null,k.stateNode=null),Zs=t;if(0===(r=e.pendingLanes)&&(nu=null),1===r?e===cu?uu++:(uu=0,cu=e):uu=0,n=n.stateNode,Ti&&"function"==typeof Ti.onCommitFiberRoot)try{Ti.onCommitFiberRoot(Ri,n,void 0,64==(64&n.current.flags))}catch(e){}if(xu(e,Qi()),eu)throw eu=!1,e=tu,tu=null,e;return 0!=(8&_s)||Zi(),null}function zu(){for(;null!==Zs;){var e=Zs.alternate;mu||null===hu||(0!=(8&Zs.flags)?on(Zs,hu)&&(mu=!0):13===Zs.tag&&Is(e,Zs)&&on(Zs,hu)&&(mu=!0));var t=Zs.flags;0!=(256&t)&&xs(e,Zs),0==(512&t)||ru||(ru=!0,Ji(97,(function(){return Fu(),null}))),Zs=Zs.nextEffect}}function Fu(){if(90!==iu){var e=97<iu?97:iu;return iu=90,Yi(e,Wu)}return!1}function Du(e,t){au.push(t,e),ru||(ru=!0,Ji(97,(function(){return Fu(),null})))}function Bu(e,t){lu.push(t,e),ru||(ru=!0,Ji(97,(function(){return Fu(),null})))}function Wu(){if(null===ou)return!1;var e=ou;if(ou=null,0!=(48&_s))throw Error(de(331));var t=_s;_s|=32;var n=lu;lu=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],a=o.destroy;if(o.destroy=void 0,"function"==typeof a)try{a()}catch(e){if(null===i)throw Error(de(330));Vu(i,e)}}for(n=au,au=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===i)throw Error(de(330));Vu(i,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return _s=t,Zi(),!0}function Uu(e,t,n){va(e,t=vs(0,t=fs(n,t),1)),t=vu(),null!==(e=bu(e,1))&&(Qn(e,1,t),xu(e,t))}function Vu(e,t){if(3===e.tag)Uu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Uu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===nu||!nu.has(r))){var o=gs(n,e=fs(t,e),1);if(va(n,o),o=vu(),null!==(n=bu(n,1)))Qn(n,1,o),xu(n,o);else if("function"==typeof r.componentDidCatch&&(null===nu||!nu.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function qu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=vu(),e.pingedLanes|=e.suspendedLanes&n,Ns===e&&(Fs&n)===n&&(4===Ws||3===Ws&&(62914560&Fs)===Fs&&500>Qi()-Gs?Ru(e,0):Ks|=n),xu(e,t)}function Hu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Gi()?1:2:(0===pu&&(pu=Vs),0===(t=Hn(62914560&~pu))&&(t=4194304))),n=vu(),null!==(e=bu(e,t))&&(Qn(e,t,n),xu(e,n))}function Ku(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Qu(e,t,n,r){return new Ku(e,t,n,r)}function Gu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Xu(e,t){var n=e.alternate;return null===n?((n=Qu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Yu(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Gu(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case Te:return Ju(n.children,o,i,t);case Be:a=8,o|=16;break;case Me:a=8,o|=1;break;case Ae:return(e=Qu(12,n,t,8|o)).elementType=Ae,e.type=Ae,e.lanes=i,e;case Le:return(e=Qu(13,n,t,o)).type=Le,e.elementType=Le,e.lanes=i,e;case _e:return(e=Qu(19,n,t,o)).elementType=_e,e.lanes=i,e;case We:return Zu(n,o,i,t);case Ue:return(e=Qu(24,n,t,o)).elementType=Ue,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ie:a=10;break e;case $e:a=9;break e;case je:a=11;break e;case Ne:a=14;break e;case ze:a=16,r=null;break e;case Fe:a=22;break e}throw Error(de(130,null==e?e:typeof e,""))}return(t=Qu(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Ju(e,t,n,r){return(e=Qu(7,e,r,t)).lanes=n,e}function Zu(e,t,n,r){return(e=Qu(23,e,r,t)).elementType=We,e.lanes=n,e}function ec(e,t,n){return(e=Qu(6,e,null,t)).lanes=n,e}function tc(e,t,n){return(t=Qu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function nc(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Kn(0),this.expirationTimes=Kn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kn(0),this.mutableSourceEagerHydrationData=null}function rc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Re,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function oc(e,t,n,r){var o=t.current,i=vu(),a=gu(o);e:if(n){t:{if(en(n=n._reactInternals)!==n||1!==n.tag)throw Error(de(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(ki(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(de(171))}if(1===n.tag){var s=n.type;if(ki(s)){n=Ci(n,s,l);break e}}n=l}else n=gi;return null===t.context?t.context=n:t.pendingContext=n,(t=ma(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),va(o,t),yu(o,a,i),a}function ic(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function ac(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function lc(e,t){ac(e,t),(e=e.alternate)&&ac(e,t)}function sc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new nc(e,t,null!=n&&!0===n.hydrate),t=Qu(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,fa(t),e[ii]=n.current,No(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function uc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function cc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=ic(a);l.call(e)}}oc(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new sc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var s=o;o=function(){var e=ic(a);s.call(e)}}Cu((function(){oc(t,a,e,o)}))}return ic(a)}function dc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!uc(t))throw Error(de(200));return rc(e,t,null,n)}Js=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||bi.current)Bl=!0;else{if(0==(n&r)){switch(Bl=!1,t.tag){case 3:Yl(t),Ja();break;case 5:Da(t);break;case 1:ki(t.type)&&Oi(t);break;case 4:za(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;vi(ra,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?ns(e,t,n):(vi(Wa,1&Wa.current),null!==(t=us(e,t,n))?t.sibling:null);vi(Wa,1&Wa.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return ss(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),vi(Wa,Wa.current),r)break;return null;case 23:case 24:return t.lanes=0,Hl(e,t,n)}return us(e,t,n)}Bl=0!=(16384&e.flags)}else Bl=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=wi(t,yi.current),ca(t,n),o=dl(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ki(r)){var i=!0;Oi(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,fa(t);var a=r.getDerivedStateFromProps;"function"==typeof a&&wa(t,r,a,e),o.updater=ka,t.stateNode=o,o._reactInternals=t,Oa(t,r,e,n),t=Xl(null,t,r,!0,i,n)}else t.tag=0,Wl(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Gu(e)?1:0;if(null!=e){if((e=e.$$typeof)===je)return 11;if(e===Ne)return 14}return 2}(o),e=na(o,e),i){case 0:t=Ql(null,t,o,e,n);break e;case 1:t=Gl(null,t,o,e,n);break e;case 11:t=Ul(null,t,o,e,n);break e;case 14:t=Vl(null,t,o,na(o.type,e),r,n);break e}throw Error(de(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ql(e,t,r,o=t.elementType===r?o:na(r,o),n);case 1:return r=t.type,o=t.pendingProps,Gl(e,t,r,o=t.elementType===r?o:na(r,o),n);case 3:if(Yl(t),r=t.updateQueue,null===e||null===r)throw Error(de(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ha(e,t),ya(t,r,null,n),(r=t.memoizedState.element)===o)Ja(),t=us(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(qa=Zo(t.stateNode.containerInfo.firstChild),Va=t,i=Ha=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Za.push(i);for(n=Ia(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Wl(e,t,r,n),Ja();t=t.child}return t;case 5:return Da(t),null===e&&Ga(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,Go(r,o)?a=null:null!==i&&Go(r,i)&&(t.flags|=16),Kl(e,t),Wl(e,t,a,n),t.child;case 6:return null===e&&Ga(t),null;case 13:return ns(e,t,n);case 4:return za(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Aa(t,null,r,n):Wl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ul(e,t,r,o=t.elementType===r?o:na(r,o),n);case 7:return Wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return Wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value;var l=t.type._context;if(vi(ra,l._currentValue),l._currentValue=i,null!==a)if(l=a.value,0===(i=mo(l,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(a.children===o.children&&!bi.current){t=us(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.dependencies;if(null!==s){a=l.child;for(var u=s.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&i)){1===l.tag&&((u=ma(-1,n&-n)).tag=2,va(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),ua(l.return,n),s.lanes|=n;break}u=u.next}}else a=10===l.tag&&l.type===t.type?null:l.child;if(null!==a)a.return=l;else for(a=l;null!==a;){if(a===t){a=null;break}if(null!==(l=a.sibling)){l.return=a.return,a=l;break}a=a.return}l=a}Wl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ca(t,n),r=r(o=da(o,i.unstable_observedBits)),t.flags|=1,Wl(e,t,r,n),t.child;case 14:return i=na(o=t.type,t.pendingProps),Vl(e,t,o,i=na(o.type,i),r,n);case 15:return ql(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:na(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ki(r)?(e=!0,Oi(t)):e=!1,ca(t,n),Ea(t,r,o),Oa(t,r,o,n),Xl(null,t,r,!0,e,n);case 19:return ss(e,t,n);case 23:case 24:return Hl(e,t,n)}throw Error(de(156,t.tag))},sc.prototype.render=function(e){oc(e,this._internalRoot,null,null)},sc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;oc(null,e,null,(function(){t[ii]=null}))},an=function(e){13===e.tag&&(yu(e,4,vu()),lc(e,4))},ln=function(e){13===e.tag&&(yu(e,67108864,vu()),lc(e,67108864))},sn=function(e){if(13===e.tag){var t=vu(),n=gu(e);yu(e,n,t),lc(e,n)}},un=function(e,t){return t()},At=function(e,t,n){switch(t){case"input":if(lt(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ci(r);if(!o)throw Error(de(90));nt(r),lt(r,o)}}}break;case"textarea":ht(e,n);break;case"select":null!=(t=n.value)&&dt(e,!!n.multiple,t,!1)}},Nt=Eu,zt=function(e,t,n,r,o){var i=_s;_s|=4;try{return Yi(98,e.bind(null,t,n,r,o))}finally{0===(_s=i)&&(Ys(),Zi())}},Ft=function(){0==(49&_s)&&(function(){if(null!==su){var e=su;su=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,xu(e,Qi())}))}Zi()}(),Fu())},Dt=function(e,t){var n=_s;_s|=2;try{return e(t)}finally{0===(_s=n)&&(Ys(),Zi())}};var pc,fc={Events:[si,ui,ci,Lt,_t,Fu,{current:!1}]},hc={findFiberByHostInstance:li,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},mc={bundleType:hc.bundleType,version:hc.version,rendererPackageName:hc.rendererPackageName,rendererConfig:hc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Oe.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rn(e))?null:e.stateNode},findFiberByHostInstance:hc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var vc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vc.isDisabled&&vc.supportsFiber)try{Ri=vc.inject(mc),Ti=vc}catch(lI){}}ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fc,ee.createPortal=dc,ee.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(de(188));throw Error(de(268,Object.keys(e)))}return e=null===(e=rn(t))?null:e.stateNode},ee.flushSync=function(e,t){var n=_s;if(0!=(48&n))return e(t);_s|=1;try{if(e)return Yi(99,e.bind(null,t))}finally{_s=n,Zi()}},ee.hydrate=function(e,t,n){if(!uc(t))throw Error(de(200));return cc(null,e,t,!0,n)},ee.render=function(e,t,n){if(!uc(t))throw Error(de(200));return cc(null,e,t,!1,n)},ee.unmountComponentAtNode=function(e){if(!uc(e))throw Error(de(40));return!!e._reactRootContainer&&(Cu((function(){cc(null,null,e,!1,(function(){e._reactRootContainer=null,e[ii]=null}))})),!0)},ee.unstable_batchedUpdates=Eu,ee.unstable_createPortal=function(e,t){return dc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},ee.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!uc(n))throw Error(de(200));if(null==e||void 0===e._reactInternals)throw Error(de(38));return cc(e,t,n,!1,r)},ee.version="17.0.2",pc=Z,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),pc.exports=ee;var gc=p(Z.exports),yc="__tolgee_dev_tools",bc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._popup=null,t}return r(t,e),Object.defineProperty(t.prototype,"document",{get:function(){return this.props.document||document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"devTools",{get:function(){var e;return(null===(e=this.document.getElementById(yc))||void 0===e?void 0:e.shadowRoot)||this.document.body},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._popup=this.document.createElement("div"),this.devTools.appendChild(this._popup),this._render()},t.prototype.componentDidUpdate=function(){this._render()},t.prototype.componentWillUnmount=function(){this._popup&&(Z.exports.unmountComponentAtNode(this._popup),this.devTools.removeChild(this._popup))},t.prototype._render=function(){Z.exports.render(h.exports.createElement(h.exports.Fragment,null,this.props.children),this._popup)},t.prototype.render=function(){return null},t}(h.exports.PureComponent),xc=function(e){return new Promise((function(t){return setTimeout(t,e)}))};const wc=Symbol(),kc=Symbol(),Sc="undefined"==typeof window||/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent)?h.exports.useEffect:h.exports.useLayoutEffect,Ec=ae.exports.unstable_runWithPriority?e=>ae.exports.unstable_runWithPriority(ae.exports.unstable_NormalPriority,e):e=>e();var Cc=function(e,t,n){var r;if(!(null==t?void 0:t.length))return!0;var o=null===(r=null==n?void 0:n.find((function(t){return t.tag===e})))||void 0===r?void 0:r.id;return void 0===o||t.includes(o)};function Oc(e,t){return Oc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oc(e,t)}function Pc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Oc(e,t)}var Rc=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==n})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();function Tc(){return Tc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tc.apply(this,arguments)}var Mc="undefined"==typeof window;function Ac(){}function Ic(e){return"number"==typeof e&&e>=0&&e!==1/0}function $c(e){return Array.isArray(e)?e:[e]}function jc(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Lc(e,t,n){return Hc(e)?"function"==typeof t?Tc({},n,{queryKey:e,queryFn:t}):Tc({},t,{queryKey:e}):e}function _c(e,t,n){return Hc(e)?[Tc({},t,{queryKey:e}),n]:[e||{},t]}function Nc(e,t){var n=e.active,r=e.exact,o=e.fetching,i=e.inactive,a=e.predicate,l=e.queryKey,s=e.stale;if(Hc(l))if(r){if(t.queryHash!==Fc(l,t.options))return!1}else if(!Bc(t.queryKey,l))return!1;var u=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,i);if("none"===u)return!1;if("all"!==u){var c=t.isActive();if("active"===u&&!c)return!1;if("inactive"===u&&c)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(("boolean"!=typeof o||t.isFetching()===o)&&!(a&&!a(t)))}function zc(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(Hc(i)){if(!t.options.mutationKey)return!1;if(n){if(Dc(t.options.mutationKey)!==Dc(i))return!1}else if(!Bc(t.options.mutationKey,i))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function Fc(e,t){return((null==t?void 0:t.queryKeyHashFn)||Dc)(e)}function Dc(e){var t,n=$c(e);return t=n,JSON.stringify(t,(function(e,t){return Vc(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function Bc(e,t){return Wc($c(e),$c(t))}function Wc(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!Wc(e[n],t[n])})))}function Uc(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||Vc(e)&&Vc(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},l=0,s=0;s<i;s++){var u=n?s:o[s];a[u]=Uc(e[u],t[u]),a[u]===e[u]&&l++}return r===i&&l===r?e:a}return t}function Vc(e){if(!qc(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!qc(n)&&!!n.hasOwnProperty("isPrototypeOf")}function qc(e){return"[object Object]"===Object.prototype.toString.call(e)}function Hc(e){return"string"==typeof e||Array.isArray(e)}function Kc(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function Qc(){if("function"==typeof AbortController)return new AbortController}var Gc=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!Mc&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}Pc(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setFocused(e):n.onFocus()}))},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(e){e()}))},n.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(Rc)),Xc=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!Mc&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},t}Pc(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setOnline(e):n.onOnline()}))},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(e){e()}))},n.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(Rc));function Yc(e){return Math.min(1e3*Math.pow(2,e),3e4)}function Jc(e){return"function"==typeof(null==e?void 0:e.cancel)}var Zc=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function ed(e){return e instanceof Zc}var td=function(e){var t,n,r,o,i=this,a=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){a=!0},this.continueRetry=function(){a=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){r=e,o=t}));var l=function(t){i.isResolved||(i.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),r(t))},s=function(t){i.isResolved||(i.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),o(t))};!function r(){if(!i.isResolved){var o;try{o=e.fn()}catch(e){o=Promise.reject(e)}t=function(e){if(!i.isResolved&&(s(new Zc(e)),null==i.abort||i.abort(),Jc(o)))try{o.cancel()}catch(e){}},i.isTransportCancelable=Jc(o),Promise.resolve(o).then(l).catch((function(t){var o,l;if(!i.isResolved){var u,c=null!=(o=e.retry)?o:3,d=null!=(l=e.retryDelay)?l:Yc,p="function"==typeof d?d(i.failureCount,t):d,f=!0===c||"number"==typeof c&&i.failureCount<c||"function"==typeof c&&c(i.failureCount,t);if(!a&&f)i.failureCount++,null==e.onFail||e.onFail(i.failureCount,t),(u=p,new Promise((function(e){setTimeout(e,u)}))).then((function(){if(!Gc.isFocused()||!Xc.isOnline())return new Promise((function(t){n=t,i.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,i.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){a?s(t):r()}));else s(t)}}))}}()},nd=new(function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):Kc((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];t.schedule((function(){e.apply(void 0,r)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&Kc((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}()),rd=console;function od(){return rd}var id=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=Tc({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),Ic(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,o=this.state.data,i=function(e,t){return"function"==typeof e?e(t):e}(e,o);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,o,i))?i=o:!1!==this.options.structuralSharing&&(i=Uc(o,i)),this.dispatch({data:i,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),i},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(Ac).catch(Ac):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!jc(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,r,o,i=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var a;return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var l=this.observers.find((function(e){return e.options.queryFn}));l&&this.setOptions(l.options)}var s=$c(this.queryKey),u=Qc(),c={queryKey:s,pageParam:void 0,meta:this.meta};Object.defineProperty(c,"signal",{enumerable:!0,get:function(){if(u)return i.abortSignalConsumed=!0,u.signal}});var d,p,f={fetchOptions:t,options:this.options,queryKey:s,state:this.state,fetchFn:function(){return i.options.queryFn?(i.abortSignalConsumed=!1,i.options.queryFn(c)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(d=this.options.behavior)||d.onFetch(f));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=f.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(p=f.fetchOptions)?void 0:p.meta});return this.retryer=new td({fn:f.fetchFn,abort:null==u||null==(o=u.abort)?void 0:o.bind(u),onSuccess:function(e){i.setData(e),null==i.cache.config.onSuccess||i.cache.config.onSuccess(e,i),0===i.cacheTime&&i.optionalRemove()},onError:function(e){ed(e)&&e.silent||i.dispatch({type:"error",error:e}),ed(e)||(null==i.cache.config.onError||i.cache.config.onError(e,i),od().error(e)),0===i.cacheTime&&i.optionalRemove()},onFail:function(){i.dispatch({type:"failed"})},onPause:function(){i.dispatch({type:"pause"})},onContinue:function(){i.dispatch({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),nd.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},t.reducer=function(e,t){var n,r;switch(t.type){case"failed":return Tc({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return Tc({},e,{isPaused:!0});case"continue":return Tc({},e,{isPaused:!1});case"fetch":return Tc({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return Tc({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(r=t.dataUpdatedAt)?r:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=t.error;return ed(o)&&o.revert&&this.revertState?Tc({},this.revertState):Tc({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return Tc({},e,{isInvalidated:!0});case"setState":return Tc({},e,t.state);default:return e}},e}(),ad=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}Pc(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,i=null!=(r=t.queryHash)?r:Fc(o,t),a=this.get(i);return a||(a=new id({cache:this,queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(a)),a},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;nd.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=_c(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return Nc(n,e)}))},n.findAll=function(e,t){var n=_c(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return Nc(n,e)})):this.queries},n.notify=function(e){var t=this;nd.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;nd.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;nd.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(Rc),ld=function(){function e(e){this.options=Tc({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||sd(),this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(Ac).catch(Ac)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),r.then((function(){return t.executeMutation()})).then((function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),od().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new td({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return Tc({},e,{failureCount:e.failureCount+1});case"pause":return Tc({},e,{isPaused:!0});case"continue":return Tc({},e,{isPaused:!1});case"loading":return Tc({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return Tc({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return Tc({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return Tc({},e,t.state);default:return e}}(this.state,e),nd.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function sd(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}var ud=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}Pc(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new ld({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},n.clear=function(){var e=this;nd.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},n.getAll=function(){return this.mutations},n.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return zc(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return zc(e,t)}))},n.notify=function(e){var t=this;nd.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return nd.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(Ac)}))}),Promise.resolve())}))},t}(Rc);function cd(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var dd=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new ad,this.mutationCache=e.mutationCache||new ud,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=Gc.subscribe((function(){Gc.isFocused()&&Xc.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=Xc.subscribe((function(){Gc.isFocused()&&Xc.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=_c(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll(Tc({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,n){var r=Lc(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return nd.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var o=e.queryKey;return[o,r.setQueryData(o,t,n)]}))}))},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=_c(e,t)[0],r=this.queryCache;nd.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var r=this,o=_c(e,t,n),i=o[0],a=o[1],l=this.queryCache,s=Tc({},i,{active:!0});return nd.batch((function(){return l.findAll(i).forEach((function(e){e.reset()})),r.refetchQueries(s,a)}))},t.cancelQueries=function(e,t,n){var r=this,o=_c(e,t,n),i=o[0],a=o[1],l=void 0===a?{}:a;void 0===l.revert&&(l.revert=!0);var s=nd.batch((function(){return r.queryCache.findAll(i).map((function(e){return e.cancel(l)}))}));return Promise.all(s).then(Ac).catch(Ac)},t.invalidateQueries=function(e,t,n){var r,o,i,a=this,l=_c(e,t,n),s=l[0],u=l[1],c=Tc({},s,{active:null==(r=null!=(o=s.refetchActive)?o:s.active)||r,inactive:null!=(i=s.refetchInactive)&&i});return nd.batch((function(){return a.queryCache.findAll(s).forEach((function(e){e.invalidate()})),a.refetchQueries(c,u)}))},t.refetchQueries=function(e,t,n){var r=this,o=_c(e,t,n),i=o[0],a=o[1],l=nd.batch((function(){return r.queryCache.findAll(i).map((function(e){return e.fetch(void 0,Tc({},a,{meta:{refetchPage:null==i?void 0:i.refetchPage}}))}))})),s=Promise.all(l).then(Ac);return(null==a?void 0:a.throwOnError)||(s=s.catch(Ac)),s},t.fetchQuery=function(e,t,n){var r=Lc(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(Ac).catch(Ac)},t.fetchInfiniteQuery=function(e,t,n){var r=Lc(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,o,i,a,l,s,u,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,d=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,p=null==d?void 0:d.pageParam,f="forward"===(null==d?void 0:d.direction),h="backward"===(null==d?void 0:d.direction),m=(null==(i=e.state.data)?void 0:i.pages)||[],v=(null==(a=e.state.data)?void 0:a.pageParams)||[],g=Qc(),y=null==g?void 0:g.signal,b=v,x=!1,w=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},k=function(e,t,n,r){return b=r?[t].concat(b):[].concat(b,[t]),r?[n].concat(e):[].concat(e,[n])},S=function(t,n,r,o){if(x)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);var i={queryKey:e.queryKey,signal:y,pageParam:r,meta:e.meta},a=w(i),l=Promise.resolve(a).then((function(e){return k(t,r,e,o)}));return Jc(a)&&(l.cancel=a.cancel),l};if(m.length)if(f){var E=void 0!==p,C=E?p:cd(e.options,m);l=S(m,E,C)}else if(h){var O=void 0!==p,P=O?p:(s=e.options,u=m,null==s.getPreviousPageParam?void 0:s.getPreviousPageParam(u[0],u));l=S(m,O,P,!0)}else!function(){b=[];var t=void 0===e.options.getNextPageParam,n=!c||!m[0]||c(m[0],0,m);l=n?S([],t,v[0]):Promise.resolve(k([],v[0],m[0]));for(var r=function(n){l=l.then((function(r){if(!c||!m[n]||c(m[n],n,m)){var o=t?v[n]:cd(e.options,r);return S(r,t,o)}return Promise.resolve(k(r,v[n],m[n]))}))},o=1;o<m.length;o++)r(o)}();else l=S([]);var R=l.then((function(e){return{pages:e,pageParams:b}}));return R.cancel=function(){x=!0,null==g||g.abort(),Jc(l)&&l.cancel()},R}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(Ac).catch(Ac)},t.cancelMutations=function(){var e=this,t=nd.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(Ac).catch(Ac)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find((function(t){return Dc(e)===Dc(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return Bc(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return Dc(e)===Dc(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return Bc(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=Tc({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=Fc(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:Tc({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),pd=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}Pc(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),fd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return hd(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return hd(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var o=this.hasListeners();o&&md(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!o||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var i=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&i===this.currentRefetchInterval||this.updateRefetchInterval(i)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},o=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return o(t),e[t]}})})),(t.useErrorBoundary||t.suspense)&&o("error"),r},n.getNextResult=function(e){var t=this;return new Promise((function(n,r){var o=t.subscribe((function(t){t.isFetching||(o(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch(Tc({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return t.createResult(r,n)}))},n.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(Ac)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!Mc&&!this.currentResult.isStale&&Ic(this.options.staleTime)){var t=jc(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},n.computeRefetchInterval=function(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!Mc&&!1!==this.options.enabled&&Ic(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||Gc.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(e,t){var n,r=this.currentQuery,o=this.options,i=this.currentResult,a=this.currentResultState,l=this.currentResultOptions,s=e!==r,u=s?e.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,d=e.state,p=d.dataUpdatedAt,f=d.error,h=d.errorUpdatedAt,m=d.isFetching,v=d.status,g=!1,y=!1;if(t.optimisticResults){var b=this.hasListeners(),x=!b&&fd(e,t),w=b&&md(e,r,t,o);(x||w)&&(m=!0,p||(v="loading"))}if(t.keepPreviousData&&!d.dataUpdateCount&&(null==c?void 0:c.isSuccess)&&"error"!==v)n=c.data,p=c.dataUpdatedAt,v=c.status,g=!0;else if(t.select&&void 0!==d.data)if(i&&d.data===(null==a?void 0:a.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(d.data),!1!==t.structuralSharing&&(n=Uc(null==i?void 0:i.data,n)),this.selectResult=n,this.selectError=null}catch(e){od().error(e),this.selectError=e}else n=d.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===v||"idle"===v)){var k;if((null==i?void 0:i.isPlaceholderData)&&t.placeholderData===(null==l?void 0:l.placeholderData))k=i.data;else if(k="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==k)try{k=t.select(k),!1!==t.structuralSharing&&(k=Uc(null==i?void 0:i.data,k)),this.selectError=null}catch(e){od().error(e),this.selectError=e}void 0!==k&&(v="success",n=k,y=!0)}return this.selectError&&(f=this.selectError,n=this.selectResult,h=Date.now(),v="error"),{status:v,isLoading:"loading"===v,isSuccess:"success"===v,isError:"error"===v,isIdle:"idle"===v,data:n,dataUpdatedAt:p,error:f,errorUpdatedAt:h,failureCount:d.fetchFailureCount,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:m,isRefetching:m&&"loading"!==v,isLoadingError:"error"===v&&0===d.dataUpdatedAt,isPlaceholderData:y,isPreviousData:g,isRefetchError:"error"===v&&0!==d.dataUpdatedAt,isStale:vd(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,o=n.notifyOnChangePropsExclusions;if(!r&&!o)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var i="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,a=e[r]!==t[r],l=null==i?void 0:i.some((function(e){return e===n})),s=null==o?void 0:o.some((function(e){return e===n}));return a&&!s&&(!i||l)}))},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!function(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify(Tc({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||ed(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;nd.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(Rc);function fd(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&hd(e,t,t.refetchOnMount)}function hd(e,t,n){if(!1!==t.enabled){var r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&vd(e,t)}return!1}function md(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&vd(e,n)}function vd(e,t){return e.isStaleByTime(t.staleTime)}var gd=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}Pc(t,e);var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},n.onUnsubscribe=function(){var e;this.listeners.length||(null==(e=this.currentMutation)||e.removeObserver(this))},n.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,Tc({},this.options,{variables:void 0!==e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},t=Tc({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},n.notify=function(e){var t=this;nd.batch((function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)}))}))},t}(Rc),yd=gc.unstable_batchedUpdates;nd.setBatchNotifyFunction(yd);var bd=console;rd=bd;var xd=Y.createContext(void 0),wd=Y.createContext(!1);function kd(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=xd),window.ReactQueryClientContext):xd}var Sd=function(){var e=Y.useContext(kd(Y.useContext(wd)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Ed=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,o=e.children;Y.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var i=kd(r);return Y.createElement(wd.Provider,{value:r},Y.createElement(i.Provider,{value:t},o))};var Cd,Od=Y.createContext((Cd=!1,{clearReset:function(){Cd=!1},reset:function(){Cd=!0},isReset:function(){return Cd}}));function Pd(e,t,n){return"function"==typeof t?t.apply(void 0,n):"boolean"==typeof t?t:!!e}function Rd(e,t,n){var r=Y.useRef(!1),o=Y.useState(0)[1],i=function(e,t,n){return Hc(e)?"function"==typeof t?Tc({},n,{mutationKey:e,mutationFn:t}):Tc({},t,{mutationKey:e}):"function"==typeof e?Tc({},t,{mutationFn:e}):Tc({},e)}(e,t,n),a=Sd(),l=Y.useRef();l.current?l.current.setOptions(i):l.current=new gd(a,i);var s=l.current.getCurrentResult();Y.useEffect((function(){r.current=!0;var e=l.current.subscribe(nd.batchCalls((function(){r.current&&o((function(e){return e+1}))})));return function(){r.current=!1,e()}}),[]);var u=Y.useCallback((function(e,t){l.current.mutate(e,t).catch(Ac)}),[]);if(s.error&&Pd(void 0,l.current.options.useErrorBoundary,[s.error]))throw s.error;return Tc({},s,{mutate:u,mutateAsync:s.mutate})}function Td(e,t){var n=Y.useRef(!1),r=Y.useState(0)[1],o=Sd(),i=Y.useContext(Od),a=o.defaultQueryObserverOptions(e);a.optimisticResults=!0,a.onError&&(a.onError=nd.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=nd.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=nd.batchCalls(a.onSettled)),a.suspense&&("number"!=typeof a.staleTime&&(a.staleTime=1e3),0===a.cacheTime&&(a.cacheTime=1)),(a.suspense||a.useErrorBoundary)&&(i.isReset()||(a.retryOnMount=!1));var l=Y.useState((function(){return new t(o,a)}))[0],s=l.getOptimisticResult(a);if(Y.useEffect((function(){n.current=!0,i.clearReset();var e=l.subscribe(nd.batchCalls((function(){n.current&&r((function(e){return e+1}))})));return l.updateResult(),function(){n.current=!1,e()}}),[i,l]),Y.useEffect((function(){l.setOptions(a,{listeners:!1})}),[a,l]),a.suspense&&s.isLoading)throw l.fetchOptimistic(a).then((function(e){var t=e.data;null==a.onSuccess||a.onSuccess(t),null==a.onSettled||a.onSettled(t,null)})).catch((function(e){i.clearReset(),null==a.onError||a.onError(e),null==a.onSettled||a.onSettled(void 0,e)}));if(s.isError&&!i.isReset()&&!s.isFetching&&Pd(a.suspense,a.useErrorBoundary,[s.error,l.getCurrentQuery()]))throw s.error;return"tracked"===a.notifyOnChangeProps&&(s=l.trackResult(s,a)),s}function Md(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".indexOf(e);if(-1===t)throw new Error("Invalid character found: "+e);return t}function Ad(e){for(var t=(e=e.toUpperCase()).length,n=0,r=0,o=0,i=new Uint8Array(5*t/8|0),a=0;a<t;a++)r=r<<5|Md(e[a]),(n+=5)>=8&&(i[o++]=r>>>n-8&255,n-=8);return function(e){for(var t=new Uint8Array(e),n=t.length,r="",o=Math.pow(2,16)-1,i=0;i<n;i+=o)i+o>n&&(o=n-i),r+=String.fromCharCode.apply(null,t.subarray(i,i+o));return r}(i.buffer)}function Id(e){if(e)try{var t=u(e.split("_"),2),n=t[0],r=t[1];if("tgpak"===n){var o=u(Ad(r).split("_"),1)[0];return Number(o)}}catch(e){console.warn("Tolgee: Api key can't be parsed")}}function $d(e){if(e){var t=u(e.split("_"),1)[0];return"tgpak"===t?"tgpak":"tgpat"===t?"tgpat":"legacy"}}function jd(e){return a(this,void 0,void 0,(function(){var t;return l(this,(function(n){switch(n.label){case 0:return[4,e.text()];case 1:t=n.sent();try{return[2,JSON.parse(t)]}catch(e){return[2,t]}return[2]}}))}))}var Ld=function(e){return e?Object.entries(e).reduce((function(e,t){var n,r=u(t,2),i=r[0],a=r[1];return Array.isArray(a)||"object"!=typeof a?o(o({},e),((n={})[i]=a,n)):o(o({},e),Ld(a))}),{}):{}};function _d(e,t,n){return a(this,void 0,void 0,(function(){var r=this;return l(this,(function(i){if(void 0===t.apiUrl)throw"Api url not specified";if(void 0===t.apiKey)throw"Api key not specified";return(n=n||{}).headers=n.headers||{},n.headers=o(o({},n.headers),{"X-API-Key":t.apiKey}),[2,fetch(t.apiUrl+e,n).then((function(e){return a(r,void 0,void 0,(function(){var t,n;return l(this,(function(r){switch(r.label){case 0:return e.ok?[3,2]:[4,jd(e)];case 1:throw t=r.sent(),n="".concat(e.status,": ").concat((null==t?void 0:t.message)||"Error status code from server"),new Error(n);case 2:return[4,jd(e)];case 3:return[2,r.sent()]}}))}))})).catch((function(e){throw e.message||"Failed to fetch"}))]}))}))}function Nd(e,t,n,r){var o,i;return a(this,void 0,void 0,(function(){var a,s,c,d,p,f,h,m,v,g;return l(this,(function(l){var y;return a=(null==n?void 0:n.path)||{},s=e,void 0!==(c=Id(r.apiKey)||r.projectId)&&(a.projectId=c,s=function(e){return e.replace("/projects/","/projects/{projectId}/")}(s)),a&&Object.entries(a).forEach((function(e){var t=u(e,2),n=t[0],r=t[1];s=s.replace("{".concat(n,"}"),r)})),d=null===(o=null==n?void 0:n.content)||void 0===o?void 0:o["multipart/form-data"],p=void 0,d&&(p=new FormData,Object.entries(d).forEach((function(e){var t=u(e,2),n=t[0],r=t[1];if(Array.isArray(r)){var o=void 0;return"[object File]"===Object.prototype.toString.call(r)&&(o=r.name),void r.forEach((function(e){return null==p?void 0:p.append(n,e,o)}))}null==p||p.append(n,r)}))),f=JSON.stringify(null===(i=null==n?void 0:n.content)||void 0===i?void 0:i["application/json"]),h=null==n?void 0:n.query,m="",v=Ld(h),y=v,g=Object.keys(y).filter((function(e){return!!y[e]})).map((function(e){return Array.isArray(y[e])?y[e].map((function(t){return encodeURIComponent(e)+"="+encodeURIComponent(t)})).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(y[e])})).join("&"),g&&(m="?"+g),[2,_d(s+m,r,{method:t,body:p||f,headers:f?{"Content-Type":"application/json"}:void 0})]}))}))}var zd=new dd({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1}}}),Fd=Y.createContext({}),Dd=function(e){var t=e.children,n=e.apiUrl,r=e.apiKey,o=e.projectId;return Y.createElement(Fd.Provider,{value:{apiUrl:n,apiKey:r,projectId:o}},Y.createElement(Ed,{client:zd},t))},Bd=function(e){var t=e.url,n=e.method,r=e.options,o=i(e,["url","method","options"]),a=h.exports.useContext(Fd);return Td(Lc([t,null==o?void 0:o.path,null==o?void 0:o.query],(function(){return Nd(t,n,o,a)}),r),pd)},Wd=function(e){var t=Sd(),n=e.url,r=e.method,i=e.options,a=e.invalidatePrefix,l=h.exports.useContext(Fd),s=Rd((function(e){return Nd(n,r,e,l)}),i),d=function(e){return o(o({},e),{onSuccess:function(){for(var n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];void 0!==a&&Ud(t,a),null===(n=null==e?void 0:e.onSuccess)||void 0===n||n.call.apply(n,c([e],u(r),!1))}})},p=h.exports.useCallback((function(e,t){return s.mutate(e,d(t))}),[s.mutate]),f=h.exports.useCallback((function(e,t){return s.mutateAsync(e,d(t))}),[s.mutateAsync]);return o(o({},s),{mutate:p,mutateAsync:f})},Ud=function(e,t){return e.invalidateQueries(function(e){return{predicate:function(t){var n;return null===(n=t.queryKey[0])||void 0===n?void 0:n.startsWith(e)}}}(t))},Vd=function(e){for(var t=[],n=0;n<e.length;n++)"file"===e[n].kind&&t.push(e[n].getAsFile());return t};function qd(e,t){return Boolean(null==t?void 0:t.includes(e))}function Hd(){try{return JSON.parse(localStorage.getItem("__tolgee_preferredLanguages")||"")}catch(e){return[]}}function Kd(e){localStorage.setItem("__tolgee_preferredLanguages",JSON.stringify(e))}var Qd=function(e,t,n,r){var o=n.map((function(n){var o=u(n,2),i=o[0],a=o[1];return r({language:i,namespace:t},e,a)}));return{revert:function(){return o.forEach((function(e){return e.revert()}))}}};function Gd(e){var t=this,n=e.message,r=e.recievingMessage,o=e.data,i=e.attempts,s=void 0===i?1:i,u=!1,c=function(){return new Promise((function(e,t){var i=function(e,t){var n=function(n){var r,o;e.includes(null===(r=n.data)||void 0===r?void 0:r.type)&&t(null===(o=n.data)||void 0===o?void 0:o.data)};return window.addEventListener("message",n,!1),{unsubscribe:function(){window.removeEventListener("message",n)}}}(r,(function(t){clearTimeout(a),l(),e(t)}));window.postMessage({type:n,data:o},window.origin);var a=setTimeout((function(){l(),t()}),300);function l(){i.unsubscribe()}}))};return{cancel:function(){return u=!0},promise:a(t,void 0,void 0,(function(){var e;return l(this,(function(t){switch(t.label){case 0:e=0,t.label=1;case 1:if(!(e<s))return[3,6];if(u)return[2,new Promise((function(){}))];t.label=2;case 2:return t.trys.push([2,4,,5]),[4,c()];case 3:return[2,t.sent()];case 4:return t.sent(),[3,5];case 5:return e++,[3,1];case 6:if(!u)throw"Didn't recieve ".concat(r.join(" or ")," in time.");return[2,new Promise((function(){}))]}}))}))}}var Xd,Yd,Jd,Zd,ep=function(e){var t=u(h.exports.useState(void 0),2),n=t[0],r=t[1],i=u(h.exports.useState(!1),2),s=i[0],d=i[1],p=u(h.exports.useState([]),2),f=p[0],m=p[1],v=u(h.exports.useState(null),2),g=v[0],y=v[1];h.exports.useEffect((function(){(function(){return a(this,void 0,void 0,(function(){return l(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,Gd({message:"TOLGEE_PING",recievingMessage:["TOLGEE_PONG"],attempts:2}).promise];case 1:return e.sent(),[2,!0];case 2:return e.sent(),[2,!1];case 3:return[2]}}))}))})().then((function(e){return r(e)}))}),[]);var b=Wd({url:"/v2/image-upload/{ids}",method:"delete"}),x=Wd({url:"/v2/image-upload",method:"post",options:{onSuccess:function(e){m((function(t){return c(c([],u(t),!1),[o(o({},e),{justUploaded:!0})],!1)}))}}}),w=function(e){return x.mutate({content:{"multipart/form-data":{image:e}}})};return{error:b.error||x.error,screenshotsUploading:x.isLoading,takingScreenshot:s,screenshots:f,setScreenshots:m,screenshotDetail:g,setScreenshotDetail:y,handleUploadImages:function(e){return a(this,void 0,void 0,(function(){return l(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return w(e)})))];case 1:return t.sent(),[2]}}))}))},handleTakeScreenshot:function(t,n,r){return a(this,void 0,void 0,(function(){var o,i,a,s,u;return l(this,(function(l){switch(l.label){case 0:return d(!0),o=e.highlight(t,n).unhighlight,i=Qd(t,n,Object.entries(r),e.changeTranslation).revert,[4,xc(200)];case 1:l.sent(),l.label=2;case 2:return l.trys.push([2,4,5,6]),[4,Gd({message:"TOLGEE_TAKE_SCREENSHOT",recievingMessage:["TOLGEE_SCREENSHOT_TAKEN"]}).promise];case 3:return a=l.sent(),[3,6];case 4:return s=l.sent(),console.error(s),[2];case 5:return i(),o(),d(!1),[7];case 6:return[4,fetch(a).then((function(e){return e.blob()}))];case 7:return u=l.sent(),w(u),[2]}}))}))},handleRemoveScreenshot:function(e){var t=f.find((function(t){return t.id===e}));(null==t?void 0:t.justUploaded)&&b.mutate({path:{ids:[t.id]}}),m(f.filter((function(t){return t.id!==e})))},deleteImages:function(e){b.mutate({path:{ids:e}})},canTakeScreenshots:n}},tp=(Xd=u((Yd=function(e){var t,n,r,s,d,p,f,m,v,g,y,b,x,w=u(h.exports.useState(!1),2),k=w[0],S=w[1],E=u(h.exports.useState({}),2),C=E[0],O=E[1],P=u(h.exports.useState(!1),2),R=P[0],T=P[1],M=u(h.exports.useState(e.ns[0]),2),A=M[0],I=M[1],$=u(h.exports.useState([]),2),j=$[0],L=$[1],_="tgpat"===$d(e.uiProps.apiKey),N=ep(e.uiProps),z=N.screenshots,F=N.setScreenshots,D=N.screenshotDetail,B=N.setScreenshotDetail,W=N.screenshotsUploading,U=N.takingScreenshot,V=N.handleRemoveScreenshot,q=N.handleUploadImages,H=N.deleteImages,K=N.canTakeScreenshots,Q=N.error,G=i(N,["screenshots","setScreenshots","screenshotDetail","setScreenshotDetail","screenshotsUploading","takingScreenshot","handleRemoveScreenshot","handleUploadImages","deleteImages","canTakeScreenshots","error"]),X=Bd({url:"/v2/api-keys/current",method:"get",options:{enabled:!_}}),Y=Bd({url:"/v2/projects/languages",method:"get",options:{onSuccess:function(e){var t,n,r,o,i=(r=(null===(n=null===(t=e._embedded)||void 0===t?void 0:t.languages)||void 0===n?void 0:n.map((function(e){return e.tag})))||[],o=Hd().filter((function(e){return r.includes(e)})),0===o.length&&(o=r),o.slice(0,5));ne(i),Kd(i)}}}),J=Wd({url:"/v2/projects/keys/create",method:"post"}),Z=h.exports.useMemo((function(){var e,t,n,r;return n=null===(t=null===(e=Y.data)||void 0===e?void 0:e._embedded)||void 0===t?void 0:t.languages,r=null==n?void 0:n.find((function(e){return e.base})),r?c([r],u((n||[]).filter((function(e){return e!==r}))),!1):n}),[Y.data]),ee=u(h.exports.useState(Hd()),2),te=ee[0],ne=ee[1],re=Bd({url:"/v2/projects/translations",method:"get",query:{filterKeyName:[e.keyName],filterNamespace:e.ns,languages:te},options:{keepPreviousData:!0,onSuccess:function(e){var t,n,r,i,a={},l=null===(n=null===(t=e._embedded)||void 0===t?void 0:t.keys)||void 0===n?void 0:n[0];Object.entries((null==l?void 0:l.translations)||{}).forEach((function(e){var t=u(e,2),n=t[0],r=t[1];a[n]=r.text||""})),O(a),L((null===(r=null==l?void 0:l.keyTags)||void 0===r?void 0:r.map((function(e){return e.name})))||[]),F((null===(i=null==l?void 0:l.screenshots)||void 0===i?void 0:i.map((function(e){return o(o({},e),{justUploaded:!1})})))||[])}}}),oe=h.exports.useMemo((function(){var t,n,r=null===(n=null===(t=re.data)||void 0===t?void 0:t._embedded)||void 0===n?void 0:n.keys;return(null==r?void 0:r.length)?[r[0].keyNamespace||""]:e.ns}),[re.data]),ie=Wd({url:"/v2/projects/keys/{id}/complex-update",method:"put"}),ae=null===(r=null===(n=null===(t=re.data)||void 0===t?void 0:t._embedded)||void 0===n?void 0:n.keys)||void 0===r?void 0:r[0],le=void 0!==(null===(s=X.data)||void 0===s?void 0:s.projectId)?"".concat(e.uiProps.apiUrl,"/projects/").concat(null===(d=X.data)||void 0===d?void 0:d.projectId,"/translations/single?key=").concat(e.keyName).concat(void 0!==A?"&ns=".concat(A):""):void 0,se=u(h.exports.useState(void 0),2),ue=se[0],ce=se[1],de=u(h.exports.useState(!1),2),pe=de[0],fe=de[1],he=null===(p=X.data)||void 0===p?void 0:p.permittedLanguageIds;function me(){if(D)B(null);else{e.onClose(),fe(!1);var t=ve();t.length&&H(t),F([])}}h.exports.useEffect((function(){var e=function(e){"Escape"===e.key&&me()};if(!pe)return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[pe]);var ve=function(){return z.filter((function(e){return e.justUploaded})).map((function(e){return e.id}))},ge=function(){var e;return(null===(e=null==ae?void 0:ae.screenshots)||void 0===e?void 0:e.map((function(e){return e.id})).filter((function(e){return!z.find((function(t){return t.id===e}))})))||[]};h.exports.useEffect((function(){var t;if(e.defaultValue&&Z&&te&&C){var n=Z.find((function(e){return e.base}));if(n&&te.includes(n.tag)&&!R){var r=void 0!==(null==ae?void 0:ae.translations[n.tag]);C[n.tag]||r||O(o(o({},C),((t={})[n.tag]=e.defaultValue,t)))}}}),[Z,C,te,e.defaultValue]);var ye,be,xe=null==Z?void 0:Z.find((function(e){return e.base})),we=Y.isFetching||re.isLoading&&!re.data||X.isFetching,ke=ie.isLoading||J.isLoading,Se=Y.error||re.error||X.error||J.error||ie.error||Q,Ee=null===(f=X.data)||void 0===f?void 0:f.scopes,Ce=!_&&(we||((null===(g=null===(v=null===(m=re.data)||void 0===m?void 0:m._embedded)||void 0===v?void 0:v.keys)||void 0===g?void 0:g.length)?!qd("translations.edit",Ee):!qd("keys.edit",Ee))),Oe=!Ce&&qd("keys.edit",Ee),Pe=Boolean(null===(x=null===(b=null===(y=re.data)||void 0===y?void 0:y._embedded)||void 0===b?void 0:b.keys)||void 0===x?void 0:x.length),Re={input:e.keyName,open:e.open,ns:oe,selectedNs:A,loading:we,saving:ke,success:k,error:Se,availableLanguages:Z,selectedLanguages:(ye=te,be=null==xe?void 0:xe.tag,be&&ye.includes(be)?c([be],u(ye.filter((function(e){return e!==be}))),!1):ye),formDisabled:Ce,translations:ae,translationsForm:C,container:ue,useBrowserWindow:pe,canTakeScreenshots:K,takingScreenshot:U,screenshotsUploading:W,screenshots:z,screenshotDetail:D,linkToPlatform:le,keyExists:Pe,scopes:Ee,permittedLanguageIds:he,tags:j,canEditTags:Oe},Te={onInputChange:function(e,t){var n;S(!1),T(!0),O(o(o({},C),((n={})[e]=t,n)))},handleUploadImages:q,handleTakeScreenshot:function(){G.handleTakeScreenshot(e.keyName,A,C)},handleRemoveScreenshot:V,onSave:function(){return a(this,void 0,void 0,(function(){var t,n;return l(this,(function(r){switch(r.label){case 0:return r.trys.push([0,9,10,11]),t={},Object.entries(C).forEach((function(e){var n=u(e,2),r=n[0],o=n[1];Cc(r,he,Z)&&(t[r]=o)})),void 0!==ae?[3,2]:[4,J.mutateAsync({content:{"application/json":{name:e.keyName,namespace:A||void 0,translations:t,screenshotUploadedImageIds:z.map((function(e){return e.id})),tags:j}}})];case 1:return r.sent(),[3,4];case 2:return[4,ie.mutateAsync({content:{"application/json":{name:e.keyName,namespace:A||void 0,translations:t,screenshotIdsToDelete:ge(),screenshotUploadedImageIds:ve(),tags:j}},path:{id:ae.keyId}})];case 3:r.sent(),r.label=4;case 4:return Qd(e.keyName,A,Object.entries(t),e.uiProps.changeTranslation),re.refetch(),S(!0),pe?[4,xc(2e3)]:[3,6];case 5:return r.sent(),S(!1),[3,8];case 6:return[4,xc(400)];case 7:r.sent(),e.onClose(),r.label=8;case 8:return[3,11];case 9:return n=r.sent(),console.error(n),[3,11];case 10:return S(!1),[7];case 11:return[2]}}))}))},onClose:me,onSelectedLanguagesChange:function(e){e.length&&(ne(e),Kd(e))},setContainer:ce,setUseBrowserWindow:fe,setScreenshotDetail:B,setSelectedNs:I,setTags:L};return[Re,Te]},Jd=function(e){const t=h.exports.createContext({[wc]:{v:{current:e},n:{current:-1},l:new Set,u:e=>e()}});var n;return t[kc]=t.Provider,t.Provider=(n=t.Provider,({value:e,children:t})=>{const r=h.exports.useRef(e),o=h.exports.useRef(0),[i,a]=h.exports.useState(null);i&&(i(e),a(null));const l=h.exports.useRef();if(!l.current){const e=new Set,t=(t,n)=>{Z.exports.unstable_batchedUpdates((()=>{o.current+=1;const r={n:o.current};null!=n&&n.suspense&&(r.n*=-1,r.p=new Promise((e=>{a((()=>t=>{r.v=t,delete r.p,e(t)}))}))),e.forEach((e=>e(r))),t()}))};l.current={[wc]:{v:r,n:o,l:e,u:t}}}return Sc((()=>{r.current=e,o.current+=1,Ec((()=>{l.current[wc].l.forEach((t=>{t({n:o.current,v:e})}))}))}),[e]),h.exports.createElement(n,{value:l.current},t)}),delete t.Consumer,t}(null),Zd=Y.createContext(null),[function(e){var t=e.children,n=i(e,["children"]),r=u(Yd(n),2),o=r[0],a=r[1],l=h.exports.useRef(a);l.current=a;var s=h.exports.useMemo((function(){var e={};return Object.keys(l.current).map((function(t){e[t]=function(){for(var e,n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return null===(n=(e=l.current)[t])||void 0===n?void 0:n.call.apply(n,c([e],u(r),!1))}})),e}),[l]);return Y.createElement(Jd.Provider,{value:o},Y.createElement(Zd.Provider,{value:s},t))},function(){return Y.useContext(Zd)},function(e){return function(e,t){const n=h.exports.useContext(e)[wc],{v:{current:r},n:{current:o},l:i}=n,a=t(r),[l,s]=h.exports.useReducer(((e,n)=>{if(!n)return[r,a];if("p"in n)throw n.p;if(n.n===o)return Object.is(e[1],a)?e:[r,a];try{if("v"in n){if(Object.is(e[0],n.v))return e;const r=t(n.v);return Object.is(e[1],r)?e:[n.v,r]}}catch(e){}return[...e]}),[r,a]);return Object.is(l[1],a)||s(),Sc((()=>(i.add(s),()=>{i.delete(s)})),[i]),l[1]}(Jd,e)}]),3),Xd[0]),np=Xd[1],rp=Xd[2];function op(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function ip(){return ip=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ip.apply(this,arguments)}var ap={exports:{}};function lp(){}function sp(){}sp.resetWarningCache=lp;function up(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=up(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function cp(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=up(e))&&(r&&(r+=" "),r+=t);return r}function dp(){return dp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dp.apply(this,arguments)}function pp(e){return"string"==typeof e}function fp(e,t={},n){return pp(e)?t:dp({},t,{ownerState:dp({},t.ownerState,n)})}function hp(e,t){return"function"==typeof e?e(t):e}function mp(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function vp(e,t){return()=>null}function gp(){return gp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gp.apply(this,arguments)}function yp(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function bp(e,t,n={clone:!0}){const r=n.clone?gp({},e):e;return yp(e)&&yp(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(yp(t[o])&&o in e&&yp(e[o])?r[o]=bp(e[o],t[o],n):r[o]=t[o])})),r}ap.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:sp,resetWarningCache:lp};return n.PropTypes=n,n}();const xp=(ap.exports.element,()=>null);xp.isRequired=(ap.exports.element.isRequired,()=>null);var wp=(ap.exports.elementType,()=>null);function kp(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Sp,Ep={exports:{}},Cp={},Op=Symbol.for("react.element"),Pp=Symbol.for("react.portal"),Rp=Symbol.for("react.fragment"),Tp=Symbol.for("react.strict_mode"),Mp=Symbol.for("react.profiler"),Ap=Symbol.for("react.provider"),Ip=Symbol.for("react.context"),$p=Symbol.for("react.server_context"),jp=Symbol.for("react.forward_ref"),Lp=Symbol.for("react.suspense"),_p=Symbol.for("react.suspense_list"),Np=Symbol.for("react.memo"),zp=Symbol.for("react.lazy"),Fp=Symbol.for("react.offscreen");function Dp(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Op:switch(e=e.type){case Rp:case Mp:case Tp:case Lp:case _p:return e;default:switch(e=e&&e.$$typeof){case $p:case Ip:case jp:case zp:case Np:case Ap:return e;default:return t}}case Pp:return t}}}Sp=Symbol.for("react.module.reference"),Cp.ContextConsumer=Ip,Cp.ContextProvider=Ap,Cp.Element=Op,Cp.ForwardRef=jp,Cp.Fragment=Rp,Cp.Lazy=zp,Cp.Memo=Np,Cp.Portal=Pp,Cp.Profiler=Mp,Cp.StrictMode=Tp,Cp.Suspense=Lp,Cp.SuspenseList=_p,Cp.isAsyncMode=function(){return!1},Cp.isConcurrentMode=function(){return!1},Cp.isContextConsumer=function(e){return Dp(e)===Ip},Cp.isContextProvider=function(e){return Dp(e)===Ap},Cp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Op},Cp.isForwardRef=function(e){return Dp(e)===jp},Cp.isFragment=function(e){return Dp(e)===Rp},Cp.isLazy=function(e){return Dp(e)===zp},Cp.isMemo=function(e){return Dp(e)===Np},Cp.isPortal=function(e){return Dp(e)===Pp},Cp.isProfiler=function(e){return Dp(e)===Mp},Cp.isStrictMode=function(e){return Dp(e)===Tp},Cp.isSuspense=function(e){return Dp(e)===Lp},Cp.isSuspenseList=function(e){return Dp(e)===_p},Cp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Rp||e===Mp||e===Tp||e===Lp||e===_p||e===Fp||"object"==typeof e&&null!==e&&(e.$$typeof===zp||e.$$typeof===Np||e.$$typeof===Ap||e.$$typeof===Ip||e.$$typeof===jp||e.$$typeof===Sp||void 0!==e.getModuleId)},Cp.typeOf=Dp,Ep.exports=Cp;const Bp=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Wp(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(Bp);return t&&t[1]||""}(e)||t}function Up(e,t,n){const r=Wp(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var Vp="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();const qp=ap.exports.oneOfType([ap.exports.func,ap.exports.object]);function Hp(e){if("string"!=typeof e)throw new Error(kp(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Kp(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function Qp(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function Gp(e,t){return()=>null}function Xp(e,t){return h.exports.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function Yp(e){return e&&e.ownerDocument||document}function Jp(e){return Yp(e).defaultView||window}function Zp(e,t){return()=>null}function ef(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const tf="undefined"!=typeof window?h.exports.useLayoutEffect:h.exports.useEffect;let nf=0;const rf=J.useId;function of(e){if(void 0!==rf){const t=rf();return null!=e?e:t}return function(e){const[t,n]=h.exports.useState(e),r=e||t;return h.exports.useEffect((()=>{null==t&&(nf+=1,n(`mui-${nf}`))}),[t]),r}(e)}function af(e,t,n,r,o){return null}function lf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=h.exports.useRef(void 0!==e),[i,a]=h.exports.useState(t);return[o?e:i,h.exports.useCallback((e=>{o||a(e)}),[])]}function sf(e){const t=h.exports.useRef(e);return tf((()=>{t.current=e})),h.exports.useCallback(((...e)=>(0,t.current)(...e)),[])}function uf(e,t){return h.exports.useMemo((()=>null==e&&null==t?null:n=>{ef(e,n),ef(t,n)}),[e,t])}let cf,df=!0,pf=!1;const ff={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 hf(e){e.metaKey||e.altKey||e.ctrlKey||(df=!0)}function mf(){df=!1}function vf(){"hidden"===this.visibilityState&&pf&&(df=!0)}function gf(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return df||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!ff[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function yf(){const e=h.exports.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",hf,!0),t.addEventListener("mousedown",mf,!0),t.addEventListener("pointerdown",mf,!0),t.addEventListener("touchstart",mf,!0),t.addEventListener("visibilitychange",vf,!0))}),[]),t=h.exports.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!gf(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(pf=!0,window.clearTimeout(cf),cf=window.setTimeout((()=>{pf=!1}),100),t.current=!1,!0)},ref:e}}function bf(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let xf;function wf(){if(xf)return xf;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),xf="reverse",e.scrollLeft>0?xf="default":(e.scrollLeft=1,0===e.scrollLeft&&(xf="negative")),document.body.removeChild(e),xf}function kf(){return null}kf.isRequired=kf;var Sf=kf;function Ef(e,t){const n=gp({},t);return Object.keys(e).forEach((t=>{void 0===n[t]&&(n[t]=e[t])})),n}function Cf(e,t,n){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>(r&&(e.push(t(r)),n&&n[r]&&e.push(n[r])),e)),[]).join(" ")})),r}const Of=e=>e,Pf=(()=>{let e=Of;return{configure(t){e=t},generate:t=>e(t),reset(){e=Of}}})(),Rf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Tf(e,t,n="Mui"){const r=Rf[t];return r?`${n}-${r}`:`${Pf.generate(e)}-${t}`}function Mf(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Tf(e,t,n)})),r}var Af=Object.freeze({__proto__:null,chainPropTypes:vp,deepmerge:bp,isPlainObject:yp,elementAcceptingRef:xp,elementTypeAcceptingRef:wp,exactProp:function(e){return e},formatMuiErrorMessage:kp,getDisplayName:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Wp(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Ep.exports.ForwardRef:return Up(e,e.render,"ForwardRef");case Ep.exports.Memo:return Up(e,e.type,"memo");default:return}}},HTMLElementType:function(e,t,n,r,o){return null},ponyfillGlobal:Vp,refType:qp,unstable_capitalize:Hp,unstable_createChainedFunction:Kp,unstable_debounce:Qp,unstable_deprecatedPropType:Gp,unstable_isMuiElement:Xp,unstable_ownerDocument:Yp,unstable_ownerWindow:Jp,unstable_requirePropFactory:Zp,unstable_setRef:ef,unstable_useEnhancedEffect:tf,unstable_useId:of,unstable_unsupportedProp:af,unstable_useControlled:lf,unstable_useEventCallback:sf,unstable_useForkRef:uf,unstable_useIsFocusVisible:yf,unstable_getScrollbarSize:bf,unstable_detectScrollType:wf,unstable_getNormalizedScrollLeft:function(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(wf()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}},usePreviousProps:e=>{const t=h.exports.useRef({});return h.exports.useEffect((()=>{t.current=e})),t.current},visuallyHidden:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},integerPropType:Sf,internal_resolveProps:Ef,unstable_composeClasses:Cf,unstable_generateUtilityClass:Tf,unstable_generateUtilityClasses:Mf,unstable_ClassNameGenerator:Pf});function If(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function $f(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=cp(null==o?void 0:o.className,null==r?void 0:r.className,i,null==n?void 0:n.className),t=dp({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=dp({},n,o,r);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}(dp({},o,r)),l=If(r),s=If(o),u=t(a),c=cp(null==u?void 0:u.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),d=dp({},null==u?void 0:u.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=dp({},u,n,s,l);return c.length>0&&(p.className=c),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}const jf=["elementType","externalSlotProps","ownerState"];function Lf(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,i=mp(e,jf),a=hp(r,o),{props:l,internalRef:s}=$f(dp({},i,{externalSlotProps:a}));return fp(n,dp({},l,{ref:uf(s,uf(null==a?void 0:a.ref,null==(t=e.additionalProps)?void 0:t.ref))}),o)}function _f(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Nf(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const zf=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:i,trim:a=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let u=a?l.trim():l;n&&(u=u.toLowerCase()),t&&(u=_f(u));const c=u?e.filter((e=>{let r=(i||s)(e);return n&&(r=r.toLowerCase()),t&&(r=_f(r)),"start"===o?0===r.indexOf(u):r.indexOf(u)>-1})):e;return"number"==typeof r?c.slice(0,r):c}}();function Ff(e){const{autoComplete:t=!1,autoHighlight:n=!1,autoSelect:r=!1,blurOnSelect:o=!1,clearOnBlur:i=!e.freeSolo,clearOnEscape:a=!1,componentName:l="useAutocomplete",defaultValue:s=(e.multiple?[]:null),disableClearable:u=!1,disableCloseOnSelect:c=!1,disabled:d,disabledItemsFocusable:p=!1,disableListWrap:f=!1,filterOptions:m=zf,filterSelectedOptions:v=!1,freeSolo:g=!1,getOptionDisabled:y,getOptionLabel:b=(e=>{var t;return null!=(t=e.label)?t:e}),groupBy:x,handleHomeEndKeys:w=!e.freeSolo,id:k,includeInputInList:S=!1,inputValue:E,isOptionEqualToValue:C=((e,t)=>e===t),multiple:O=!1,onChange:P,onClose:R,onHighlightChange:T,onInputChange:M,onOpen:A,open:I,openOnFocus:$=!1,options:j,readOnly:L=!1,selectOnFocus:_=!e.freeSolo,value:N}=e,z=of(k);let F=b;F=e=>{const t=b(e);return"string"!=typeof t?String(t):t};const D=h.exports.useRef(!1),B=h.exports.useRef(!0),W=h.exports.useRef(null),U=h.exports.useRef(null),[V,q]=h.exports.useState(null),[H,K]=h.exports.useState(-1),Q=n?0:-1,G=h.exports.useRef(Q),[X,Y]=lf({controlled:N,default:s,name:l}),[J,Z]=lf({controlled:E,default:"",name:l,state:"inputValue"}),[ee,te]=h.exports.useState(!1),ne=h.exports.useCallback(((e,t)=>{if(!(O?X.length<t.length:null!==t)&&!i)return;let n;if(O)n="";else if(null==t)n="";else{const e=F(t);n="string"==typeof e?e:""}J!==n&&(Z(n),M&&M(e,n,"reset"))}),[F,J,O,M,Z,i,X]),re=h.exports.useRef();h.exports.useEffect((()=>{const e=X!==re.current;re.current=X,ee&&!e||g&&!e||ne(null,X)}),[X,ne,ee,re,g]);const[oe,ie]=lf({controlled:I,default:!1,name:l,state:"open"}),[ae,le]=h.exports.useState(!0),se=!O&&null!=X&&J===F(X),ue=oe&&!L,ce=ue?m(j.filter((e=>!v||!(O?X:[X]).some((t=>null!==t&&C(e,t))))),{inputValue:se&&ae?"":J,getOptionLabel:F}):[],de=oe&&ce.length>0&&!L,pe=sf((e=>{-1===e?W.current.focus():V.querySelector(`[data-tag-index="${e}"]`).focus()}));h.exports.useEffect((()=>{O&&H>X.length-1&&(K(-1),pe(-1))}),[X,O,H,pe]);const fe=sf((({event:e,index:t,reason:n="auto"})=>{if(G.current=t,-1===t?W.current.removeAttribute("aria-activedescendant"):W.current.setAttribute("aria-activedescendant",`${z}-option-${t}`),T&&T(e,-1===t?null:ce[t],n),!U.current)return;const r=U.current.querySelector('[role="option"].Mui-focused');r&&(r.classList.remove("Mui-focused"),r.classList.remove("Mui-focusVisible"));const o=U.current.parentElement.querySelector('[role="listbox"]');if(!o)return;if(-1===t)return void(o.scrollTop=0);const i=U.current.querySelector(`[data-option-index="${t}"]`);if(i&&(i.classList.add("Mui-focused"),"keyboard"===n&&i.classList.add("Mui-focusVisible"),o.scrollHeight>o.clientHeight&&"mouse"!==n)){const e=i,t=o.clientHeight+o.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?o.scrollTop=n-o.clientHeight:e.offsetTop-e.offsetHeight*(x?1.3:0)<o.scrollTop&&(o.scrollTop=e.offsetTop-e.offsetHeight*(x?1.3:0))}})),he=sf((({event:e,diff:n,direction:r="next",reason:o="auto"})=>{if(!ue)return;const i=function(e,t){if(!U.current||-1===e)return-1;let n=e;for(;;){if("next"===t&&n===ce.length||"previous"===t&&-1===n)return-1;const e=U.current.querySelector(`[data-option-index="${n}"]`),r=!p&&(!e||e.disabled||"true"===e.getAttribute("aria-disabled"));if(!(e&&!e.hasAttribute("tabindex")||r))return n;n+="next"===t?1:-1}}((()=>{const e=ce.length-1;if("reset"===n)return Q;if("start"===n)return 0;if("end"===n)return e;const t=G.current+n;return t<0?-1===t&&S?-1:f&&-1!==G.current||Math.abs(n)>1?0:e:t>e?t===e+1&&S?-1:f||Math.abs(n)>1?e:0:t})(),r);if(fe({index:i,reason:o,event:e}),t&&"reset"!==n)if(-1===i)W.current.value=J;else{const e=F(ce[i]);W.current.value=e;0===e.toLowerCase().indexOf(J.toLowerCase())&&J.length>0&&W.current.setSelectionRange(J.length,e.length)}})),me=h.exports.useCallback((()=>{if(!ue)return;const e=O?X[0]:X;if(0!==ce.length&&null!=e){if(U.current)if(null==e)G.current>=ce.length-1?fe({index:ce.length-1}):fe({index:G.current});else{const t=ce[G.current];if(O&&t&&-1!==Nf(X,(e=>C(t,e))))return;const n=Nf(ce,(t=>C(t,e)));-1===n?he({diff:"reset"}):fe({index:n})}}else he({diff:"reset"})}),[ce.length,!O&&X,v,he,fe,ue,J,O]),ve=sf((e=>{ef(U,e),e&&me()}));h.exports.useEffect((()=>{me()}),[me]);const ge=e=>{oe||(ie(!0),le(!0),A&&A(e))},ye=(e,t)=>{oe&&(ie(!1),R&&R(e,t))},be=(e,t,n,r)=>{if(O){if(X.length===t.length&&X.every(((e,n)=>e===t[n])))return}else if(X===t)return;P&&P(e,t,n,r),Y(t)},xe=h.exports.useRef(!1),we=(e,t,n="selectOption",r="options")=>{let i=n,a=t;if(O){a=Array.isArray(X)?X.slice():[];const e=Nf(a,(e=>C(t,e)));-1===e?a.push(t):"freeSolo"!==r&&(a.splice(e,1),i="removeOption")}ne(e,a),be(e,a,i,{option:t}),c||e&&(e.ctrlKey||e.metaKey)||ye(e,i),(!0===o||"touch"===o&&xe.current||"mouse"===o&&!xe.current)&&W.current.blur()};const ke=(e,t)=>{if(!O)return;""===J&&ye(e,"toggleInput");let n=H;-1===H?""===J&&"previous"===t&&(n=X.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===X.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===X.length||"previous"===t&&-1===n)return-1;const e=V.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),K(n),pe(n)},Se=e=>{D.current=!0,Z(""),M&&M(e,"","clear"),be(e,O?[]:null,"clear")},Ee=e=>n=>{if(e.onKeyDown&&e.onKeyDown(n),!n.defaultMuiPrevented&&(-1!==H&&-1===["ArrowLeft","ArrowRight"].indexOf(n.key)&&(K(-1),pe(-1)),229!==n.which))switch(n.key){case"Home":ue&&w&&(n.preventDefault(),he({diff:"start",direction:"next",reason:"keyboard",event:n}));break;case"End":ue&&w&&(n.preventDefault(),he({diff:"end",direction:"previous",reason:"keyboard",event:n}));break;case"PageUp":n.preventDefault(),he({diff:-5,direction:"previous",reason:"keyboard",event:n}),ge(n);break;case"PageDown":n.preventDefault(),he({diff:5,direction:"next",reason:"keyboard",event:n}),ge(n);break;case"ArrowDown":n.preventDefault(),he({diff:1,direction:"next",reason:"keyboard",event:n}),ge(n);break;case"ArrowUp":n.preventDefault(),he({diff:-1,direction:"previous",reason:"keyboard",event:n}),ge(n);break;case"ArrowLeft":ke(n,"previous");break;case"ArrowRight":ke(n,"next");break;case"Enter":if(-1!==G.current&&ue){const e=ce[G.current],r=!!y&&y(e);if(n.preventDefault(),r)return;we(n,e,"selectOption"),t&&W.current.setSelectionRange(W.current.value.length,W.current.value.length)}else g&&""!==J&&!1===se&&(O&&n.preventDefault(),we(n,J,"createOption","freeSolo"));break;case"Escape":ue?(n.preventDefault(),n.stopPropagation(),ye(n,"escape")):a&&(""!==J||O&&X.length>0)&&(n.preventDefault(),n.stopPropagation(),Se(n));break;case"Backspace":if(O&&!L&&""===J&&X.length>0){const e=-1===H?X.length-1:H,t=X.slice();t.splice(e,1),be(n,t,"removeOption",{option:X[e]})}}},Ce=e=>{te(!0),$&&!D.current&&ge(e)},Oe=e=>{null!==U.current&&U.current.parentElement.contains(document.activeElement)?W.current.focus():(te(!1),B.current=!0,D.current=!1,r&&-1!==G.current&&ue?we(e,ce[G.current],"blur"):r&&g&&""!==J?we(e,J,"blur","freeSolo"):i&&ne(e,X),ye(e,"blur"))},Pe=e=>{const t=e.target.value;J!==t&&(Z(t),le(!1),M&&M(e,t,"input")),""===t?u||O||be(e,null,"clear"):ge(e)},Re=e=>{fe({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},Te=()=>{xe.current=!0},Me=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));we(e,ce[t],"selectOption"),xe.current=!1},Ae=e=>t=>{const n=X.slice();n.splice(e,1),be(t,n,"removeOption",{option:X[e]})},Ie=e=>{oe?ye(e,"toggleInput"):ge(e)},$e=e=>{e.target.getAttribute("id")!==z&&e.preventDefault()},je=()=>{W.current.focus(),_&&B.current&&W.current.selectionEnd-W.current.selectionStart==0&&W.current.select(),B.current=!1},Le=e=>{""!==J&&oe||Ie(e)};let _e=g&&J.length>0;_e=_e||(O?X.length>0:null!==X);let Ne=ce;return x&&(Ne=ce.reduce(((e,t,n)=>{const r=x(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e}),[])),d&&ee&&Oe(),{getRootProps:(e={})=>dp({"aria-owns":de?`${z}-listbox`:null},e,{onKeyDown:Ee(e),onMouseDown:$e,onClick:je}),getInputLabelProps:()=>({id:`${z}-label`,htmlFor:z}),getInputProps:()=>({id:z,value:J,onBlur:Oe,onFocus:Ce,onChange:Pe,onMouseDown:Le,"aria-activedescendant":ue?"":null,"aria-autocomplete":t?"both":"list","aria-controls":de?`${z}-listbox`:void 0,"aria-expanded":de,autoComplete:"off",ref:W,autoCapitalize:"none",spellCheck:"false",role:"combobox"}),getClearProps:()=>({tabIndex:-1,onClick:Se}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:Ie}),getTagProps:({index:e})=>dp({key:e,"data-tag-index":e,tabIndex:-1},!L&&{onDelete:Ae(e)}),getListboxProps:()=>({role:"listbox",id:`${z}-listbox`,"aria-labelledby":`${z}-label`,ref:ve,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const n=(O?X:[X]).some((e=>null!=e&&C(t,e))),r=!!y&&y(t);return{key:F(t),tabIndex:-1,role:"option",id:`${z}-option-${e}`,onMouseOver:Re,onClick:Me,onTouchStart:Te,"data-option-index":e,"aria-disabled":r,"aria-selected":n}},id:z,inputValue:J,value:X,dirty:_e,popupOpen:ue,focused:ee||-1!==H,anchorEl:V,setAnchorEl:q,focusedTag:H,groupedOptions:Ne}}var Df={exports:{}},Bf={},Wf=h.exports,Uf=60103;if(Bf.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var Vf=Symbol.for;Uf=Vf("react.element"),Bf.Fragment=Vf("react.fragment")}var qf=Wf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Hf=Object.prototype.hasOwnProperty,Kf={key:!0,ref:!0,__self:!0,__source:!0};function Qf(e,t,n){var r,o={},i=null,a=null;for(r in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)Hf.call(t,r)&&!Kf.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:Uf,type:e,key:i,ref:a,props:o,_owner:qf.current}}Bf.jsx=Qf,Bf.jsxs=Qf,Df.exports=Bf;const Gf=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Xf(e){const t=[],n=[];return Array.from(e.querySelectorAll(Gf)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Yf(){return!0}function Jf(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=Xf,isEnabled:a=Yf,open:l}=e,s=h.exports.useRef(),u=h.exports.useRef(null),c=h.exports.useRef(null),d=h.exports.useRef(null),p=h.exports.useRef(null),f=h.exports.useRef(!1),m=h.exports.useRef(null),v=uf(t.ref,m),g=h.exports.useRef(null);h.exports.useEffect((()=>{l&&m.current&&(f.current=!n)}),[n,l]),h.exports.useEffect((()=>{if(!l||!m.current)return;const e=Yp(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),f.current&&m.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),h.exports.useEffect((()=>{if(!l||!m.current)return;const e=Yp(m.current),t=t=>{const{current:n}=m;if(null!==n)if(e.hasFocus()&&!r&&a()&&!s.current){if(!n.contains(e.activeElement)){if(t&&p.current!==t.target||e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let r=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(r=i(m.current)),r.length>0){var o,l;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=g.current)?void 0:l.key)),t=r[0],n=r[r.length-1];e?n.focus():t.focus()}else n.focus()}}else s.current=!1},n=t=>{g.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(s.current=!0,c.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const o=setInterval((()=>{"BODY"===e.activeElement.tagName&&t()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[n,r,o,a,l,i]);const y=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Df.exports.jsxs(h.exports.Fragment,{children:[Df.exports.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),h.exports.cloneElement(t,{ref:v,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),Df.exports.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}var Zf="top",eh="bottom",th="right",nh="left",rh=[Zf,eh,th,nh],oh=rh.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),ih=[].concat(rh,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),ah=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function lh(e){return e?(e.nodeName||"").toLowerCase():null}function sh(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function uh(e){return e instanceof sh(e).Element||e instanceof Element}function ch(e){return e instanceof sh(e).HTMLElement||e instanceof HTMLElement}function dh(e){return"undefined"!=typeof ShadowRoot&&(e instanceof sh(e).ShadowRoot||e instanceof ShadowRoot)}var ph={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];ch(o)&&lh(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});ch(r)&&lh(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function fh(e){return e.split("-")[0]}var hh=Math.max,mh=Math.min,vh=Math.round;function gh(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function yh(){return!/^((?!chrome|android).)*safari/i.test(gh())}function bh(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&ch(e)&&(o=e.offsetWidth>0&&vh(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&vh(r.height)/e.offsetHeight||1);var a=(uh(e)?sh(e):window).visualViewport,l=!yh()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,u=(r.top+(l&&a?a.offsetTop:0))/i,c=r.width/o,d=r.height/i;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function xh(e){var t=bh(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function wh(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&dh(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function kh(e){return sh(e).getComputedStyle(e)}function Sh(e){return["table","td","th"].indexOf(lh(e))>=0}function Eh(e){return((uh(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ch(e){return"html"===lh(e)?e:e.assignedSlot||e.parentNode||(dh(e)?e.host:null)||Eh(e)}function Oh(e){return ch(e)&&"fixed"!==kh(e).position?e.offsetParent:null}function Ph(e){for(var t=sh(e),n=Oh(e);n&&Sh(n)&&"static"===kh(n).position;)n=Oh(n);return n&&("html"===lh(n)||"body"===lh(n)&&"static"===kh(n).position)?t:n||function(e){var t=/firefox/i.test(gh());if(/Trident/i.test(gh())&&ch(e)&&"fixed"===kh(e).position)return null;var n=Ch(e);for(dh(n)&&(n=n.host);ch(n)&&["html","body"].indexOf(lh(n))<0;){var r=kh(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Rh(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Th(e,t,n){return hh(e,mh(t,n))}function Mh(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ah(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Ih={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=fh(n.placement),s=Rh(l),u=[nh,th].indexOf(l)>=0?"height":"width";if(i&&a){var c=function(e,t){return Mh("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ah(e,rh))}(o.padding,n),d=xh(i),p="y"===s?Zf:nh,f="y"===s?eh:th,h=n.rects.reference[u]+n.rects.reference[s]-a[s]-n.rects.popper[u],m=a[s]-n.rects.reference[s],v=Ph(i),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=c[p],x=g-d[u]-c[f],w=g/2-d[u]/2+y,k=Th(b,w,x),S=s;n.modifiersData[r]=((t={})[S]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&wh(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $h(e){return e.split("-")[1]}var jh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Lh(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,m=void 0===h?0:h,v="function"==typeof c?c({x:f,y:m}):{x:f,y:m};f=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=nh,x=Zf,w=window;if(u){var k=Ph(n),S="clientHeight",E="clientWidth";if(k===sh(n)&&"static"!==kh(k=Eh(n)).position&&"absolute"===l&&(S="scrollHeight",E="scrollWidth"),o===Zf||(o===nh||o===th)&&"end"===i)x=eh,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-r.height,m*=s?1:-1;if(o===nh||(o===Zf||o===eh)&&"end"===i)b=th,f-=(d&&k===w&&w.visualViewport?w.visualViewport.width:k[E])-r.width,f*=s?1:-1}var C,O=Object.assign({position:l},u&&jh),P=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:vh(t*r)/r||0,y:vh(n*r)/r||0}}({x:f,y:m}):{x:f,y:m};return f=P.x,m=P.y,s?Object.assign({},O,((C={})[x]=y?"0":"",C[b]=g?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},O,((t={})[x]=y?m+"px":"",t[b]=g?f+"px":"",t.transform="",t))}var _h={passive:!0};var Nh={left:"right",right:"left",bottom:"top",top:"bottom"};function zh(e){return e.replace(/left|right|bottom|top/g,(function(e){return Nh[e]}))}var Fh={start:"end",end:"start"};function Dh(e){return e.replace(/start|end/g,(function(e){return Fh[e]}))}function Bh(e){var t=sh(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Wh(e){return bh(Eh(e)).left+Bh(e).scrollLeft}function Uh(e){var t=kh(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Vh(e){return["html","body","#document"].indexOf(lh(e))>=0?e.ownerDocument.body:ch(e)&&Uh(e)?e:Vh(Ch(e))}function qh(e,t){var n;void 0===t&&(t=[]);var r=Vh(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=sh(r),a=o?[i].concat(i.visualViewport||[],Uh(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(qh(Ch(a)))}function Hh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Kh(e,t,n){return"viewport"===t?Hh(function(e,t){var n=sh(e),r=Eh(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var u=yh();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+Wh(e),y:s}}(e,n)):uh(t)?function(e,t){var n=bh(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Hh(function(e){var t,n=Eh(e),r=Bh(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=hh(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=hh(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Wh(e),s=-r.scrollTop;return"rtl"===kh(o||n).direction&&(l+=hh(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(Eh(e)))}function Qh(e,t,n,r){var o="clippingParents"===t?function(e){var t=qh(Ch(e)),n=["absolute","fixed"].indexOf(kh(e).position)>=0&&ch(e)?Ph(e):e;return uh(n)?t.filter((function(e){return uh(e)&&wh(e,n)&&"body"!==lh(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=Kh(e,n,r);return t.top=hh(o.top,t.top),t.right=mh(o.right,t.right),t.bottom=mh(o.bottom,t.bottom),t.left=hh(o.left,t.left),t}),Kh(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Gh(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?fh(o):null,a=o?$h(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case Zf:t={x:l,y:n.y-r.height};break;case eh:t={x:l,y:n.y+n.height};break;case th:t={x:n.x+n.width,y:s};break;case nh:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?Rh(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case"start":t[u]=t[u]-(n[c]/2-r[c]/2);break;case"end":t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function Xh(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?"clippingParents":l,u=n.rootBoundary,c=void 0===u?"viewport":u,d=n.elementContext,p=void 0===d?"popper":d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,v=void 0===m?0:m,g=Mh("number"!=typeof v?v:Ah(v,rh)),y="popper"===p?"reference":"popper",b=e.rects.popper,x=e.elements[h?y:p],w=Qh(uh(x)?x:x.contextElement||Eh(e.elements.popper),s,c,a),k=bh(e.elements.reference),S=Gh({reference:k,element:b,strategy:"absolute",placement:o}),E=Hh(Object.assign({},b,S)),C="popper"===p?E:k,O={top:w.top-C.top+g.top,bottom:C.bottom-w.bottom+g.bottom,left:w.left-C.left+g.left,right:C.right-w.right+g.right},P=e.modifiersData.offset;if("popper"===p&&P){var R=P[o];Object.keys(O).forEach((function(e){var t=[th,eh].indexOf(e)>=0?1:-1,n=[Zf,eh].indexOf(e)>=0?"y":"x";O[e]+=R[n]*t}))}return O}function Yh(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?ih:s,c=$h(r),d=c?l?oh:oh.filter((function(e){return $h(e)===c})):rh,p=d.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=Xh(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[fh(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var Jh={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,v=t.options.placement,g=fh(v),y=s||(g===v||!h?[zh(v)]:function(e){if("auto"===fh(e))return[];var t=zh(e);return[Dh(e),t,Dh(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat("auto"===fh(n)?Yh(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,k=new Map,S=!0,E=b[0],C=0;C<b.length;C++){var O=b[C],P=fh(O),R="start"===$h(O),T=[Zf,eh].indexOf(P)>=0,M=T?"width":"height",A=Xh(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),I=T?R?th:nh:R?eh:Zf;x[M]>w[M]&&(I=zh(I));var $=zh(I),j=[];if(i&&j.push(A[P]<=0),l&&j.push(A[I]<=0,A[$]<=0),j.every((function(e){return e}))){E=O,S=!1;break}k.set(O,j)}if(S)for(var L=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},_=h?3:1;_>0;_--){if("break"===L(_))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Zh(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function em(e){return[Zf,th,eh,nh].some((function(t){return e[t]>=0}))}var tm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=ih.reduce((function(e,n){return e[n]=function(e,t,n){var r=fh(e),o=[nh,Zf].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[nh,th].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var nm={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,v=Xh(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),g=fh(t.placement),y=$h(t.placement),b=!y,x=Rh(g),w="x"===x?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(k){if(i){var T,M="y"===x?Zf:nh,A="y"===x?eh:th,I="y"===x?"height":"width",$=k[x],j=$+v[M],L=$-v[A],_=f?-E[I]/2:0,N="start"===y?S[I]:E[I],z="start"===y?-E[I]:-S[I],F=t.elements.arrow,D=f&&F?xh(F):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=B[M],U=B[A],V=Th(0,S[I],D[I]),q=b?S[I]/2-_-V-W-O.mainAxis:N-V-W-O.mainAxis,H=b?-S[I]/2+_+V+U+O.mainAxis:z+V+U+O.mainAxis,K=t.elements.arrow&&Ph(t.elements.arrow),Q=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,G=null!=(T=null==P?void 0:P[x])?T:0,X=$+H-G,Y=Th(f?mh(j,$+q-G-Q):j,$,f?hh(L,X):L);k[x]=Y,R[x]=Y-$}if(l){var J,Z="x"===x?Zf:nh,ee="x"===x?eh:th,te=k[w],ne="y"===w?"height":"width",re=te+v[Z],oe=te-v[ee],ie=-1!==[Zf,nh].indexOf(g),ae=null!=(J=null==P?void 0:P[w])?J:0,le=ie?re:te-S[ne]-E[ne]-ae+O.altAxis,se=ie?te+S[ne]+E[ne]-ae-O.altAxis:oe,ue=f&&ie?function(e,t,n){var r=Th(e,t,n);return r>n?n:r}(le,te,se):Th(f?le:re,te,f?se:oe);k[w]=ue,R[w]=ue-te}t.modifiersData[r]=R}},requiresIfExists:["offset"]};function rm(e,t,n){void 0===n&&(n=!1);var r,o,i=ch(t),a=ch(t)&&function(e){var t=e.getBoundingClientRect(),n=vh(t.width)/e.offsetWidth||1,r=vh(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=Eh(t),s=bh(e,a,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(i||!i&&!n)&&(("body"!==lh(t)||Uh(l))&&(u=(r=t)!==sh(r)&&ch(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Bh(r)),ch(t)?((c=bh(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):l&&(c.x=Wh(l))),{x:s.left+u.scrollLeft-c.x,y:s.top+u.scrollTop-c.y,width:s.width,height:s.height}}function om(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var im={placement:"bottom",modifiers:[],strategy:"absolute"};function am(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function lm(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?im:o;return function(e,t,n){void 0===n&&(n=i);var o,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},im,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],u=!1,c={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},i,l.options,o),l.scrollParents={reference:uh(e)?qh(e):e.contextElement?qh(e.contextElement):[],popper:qh(t)};var a,u,p=function(e){var t=om(e);return ah.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,l.options.modifiers),u=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return l.orderedModifiers=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:l,name:t,instance:c,options:r}),a=function(){};s.push(i||a)}})),c.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(am(t,n)){l.rects={reference:rm(t,Ph(n),"fixed"===l.options.strategy),popper:xh(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,d=o.name;"function"==typeof i&&(l=i({state:l,options:s,name:d,instance:c})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){c.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),u=!0}};if(!am(e,t))return c;function d(){s.forEach((function(e){return e()})),s=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var sm=lm({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=sh(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,_h)})),l&&s.addEventListener("resize",n.update,_h),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,_h)})),l&&s.removeEventListener("resize",n.update,_h)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Gh({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,u={placement:fh(t.placement),variation:$h(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Lh(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Lh(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ph,tm,Jh,nm,Ih,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Xh(t,{elementContext:"reference"}),l=Xh(t,{altBoundary:!0}),s=Zh(a,r),u=Zh(l,o,i),c=em(s),d=em(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});var um=h.exports.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=h.exports.useState(null),l=uf(h.exports.isValidElement(n)?n.ref:null,t);return tf((()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),tf((()=>{if(i&&!o)return ef(t,i),()=>{ef(t,null)}}),[t,i,o]),o?h.exports.isValidElement(n)?h.exports.cloneElement(n,{ref:l}):n:Df.exports.jsx(h.exports.Fragment,{children:i?Z.exports.createPortal(n,i):i})}));function cm(e){return Tf("MuiPopperUnstyled",e)}Mf("MuiPopperUnstyled",["root"]);const dm=["anchorEl","children","component","components","componentsProps","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],pm=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function fm(e){return"function"==typeof e?e():e}const hm={},mm=h.exports.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,component:i,components:a={},componentsProps:l={},direction:s,disablePortal:u,modifiers:c,open:d,ownerState:p,placement:f,popperOptions:m,popperRef:v,TransitionProps:g}=e,y=mp(e,dm),b=h.exports.useRef(null),x=uf(b,t),w=h.exports.useRef(null),k=uf(w,v),S=h.exports.useRef(k);tf((()=>{S.current=k}),[k]),h.exports.useImperativeHandle(v,(()=>w.current),[]);const E=function(e,t){if("ltr"===t)return e;switch(e){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 e}}(f,s),[C,O]=h.exports.useState(E);h.exports.useEffect((()=>{w.current&&w.current.forceUpdate()})),tf((()=>{if(!r||!d)return;fm(r);let e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=c&&(e=e.concat(c)),m&&null!=m.modifiers&&(e=e.concat(m.modifiers));const t=sm(fm(r),b.current,dp({placement:E},m,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[r,u,c,d,m,E]);const P={placement:C};null!==g&&(P.TransitionProps=g);const R=Cf({root:["root"]},cm,{}),T=null!=(n=null!=i?i:a.Root)?n:"div",M=Lf({elementType:T,externalSlotProps:l.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:dp({},e,p),className:R.root});return Df.exports.jsx(T,dp({},M,{children:"function"==typeof o?o(P):o}))})),vm=h.exports.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:i="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:s,open:u,placement:c="bottom",popperOptions:d=hm,popperRef:p,style:f,transition:m=!1}=e,v=mp(e,pm),[g,y]=h.exports.useState(!0);if(!l&&!u&&(!m||g))return null;const b=o||(n?Yp(fm(n)).body:void 0);return Df.exports.jsx(um,{disablePortal:a,container:b,children:Df.exports.jsx(mm,dp({anchorEl:n,direction:i,disablePortal:a,modifiers:s,ref:t,open:m?!g:u,placement:c,popperOptions:d,popperRef:p},v,{style:dp({position:"fixed",top:0,left:0,display:u||!l||m&&!g?null:"none"},f),TransitionProps:m?{in:u,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:null,children:r}))})}));var gm=vm;function ym(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function bm(e){return parseInt(Jp(e).getComputedStyle(e).paddingRight,10)||0}function xm(e,t,n,r=[],o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&ym(e,o)}))}function wm(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function km(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Yp(e);return t.body===e?Jp(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=bf(Yp(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${bm(r)+e}px`;const t=Yp(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${bm(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=Yp(r).body;else{const t=r.parentElement,n=Jp(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}function Sm(e){return Tf("MuiModal",e)}Mf("MuiModal",["root","hidden"]);const Em=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"];const Cm=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&ym(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);xm(t,e.mount,e.modalRef,r,!0);const o=wm(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=wm(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=km(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=wm(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&ym(e.modalRef,t),xm(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&ym(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};var Om=h.exports.forwardRef((function(e,t){var n;const{children:r,classes:o,closeAfterTransition:i=!1,component:a="div",components:l={},componentsProps:s={},container:u,disableAutoFocus:c=!1,disableEnforceFocus:d=!1,disableEscapeKeyDown:p=!1,disablePortal:f=!1,disableRestoreFocus:m=!1,disableScrollLock:v=!1,hideBackdrop:g=!1,keepMounted:y=!1,manager:b=Cm,onBackdropClick:x,onClose:w,onKeyDown:k,open:S,onTransitionEnter:E,onTransitionExited:C}=e,O=mp(e,Em),[P,R]=h.exports.useState(!0),T=h.exports.useRef({}),M=h.exports.useRef(null),A=h.exports.useRef(null),I=uf(A,t),$=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),j=null==(n=e["aria-hidden"])||n,L=()=>(T.current.modalRef=A.current,T.current.mountNode=M.current,T.current),_=()=>{b.mount(L(),{disableScrollLock:v}),A.current.scrollTop=0},N=sf((()=>{const e=function(e){return"function"==typeof e?e():e}(u)||Yp(M.current).body;b.add(L(),e),A.current&&_()})),z=h.exports.useCallback((()=>b.isTopModal(L())),[b]),F=sf((e=>{M.current=e,e&&(S&&z()?_():ym(A.current,j))})),D=h.exports.useCallback((()=>{b.remove(L(),j)}),[b,j]);h.exports.useEffect((()=>()=>{D()}),[D]),h.exports.useEffect((()=>{S?N():$&&i||D()}),[S,D,$,i,N]);const B=dp({},e,{classes:o,closeAfterTransition:i,disableAutoFocus:c,disableEnforceFocus:d,disableEscapeKeyDown:p,disablePortal:f,disableRestoreFocus:m,disableScrollLock:v,exited:P,hideBackdrop:g,keepMounted:y}),W=(e=>{const{open:t,exited:n,classes:r}=e;return Cf({root:["root",!t&&n&&"hidden"]},Sm,r)})(B),U=()=>{R(!1),E&&E()},V=()=>{R(!0),C&&C(),i&&D()},q={};void 0===r.props.tabIndex&&(q.tabIndex="-1"),$&&(q.onEnter=Kp(U,r.props.onEnter),q.onExited=Kp(V,r.props.onExited));const H=l.Root||a,K=Lf({elementType:H,externalSlotProps:s.root,externalForwardedProps:O,additionalProps:{ref:I,role:"presentation",onKeyDown:e=>{k&&k(e),"Escape"===e.key&&z()&&(p||(e.stopPropagation(),w&&w(e,"escapeKeyDown")))}},className:W.root,ownerState:B}),Q=l.Backdrop,G=Lf({elementType:Q,externalSlotProps:s.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(x&&x(e),w&&w(e,"backdropClick"))},open:S},ownerState:B});return y||S||$&&!P?Df.exports.jsx(um,{ref:F,container:u,disablePortal:f,children:Df.exports.jsxs(H,dp({},K,{children:[!g&&Q?Df.exports.jsx(Q,dp({},G)):null,Df.exports.jsx(Jf,{disableEnforceFocus:d,disableAutoFocus:c,disableRestoreFocus:m,isEnabled:z,open:S,children:h.exports.cloneElement(r,q)})]}))}):null}));const Pm=["onChange","maxRows","minRows","style","value"];function Rm(e,t){return parseInt(e[t],10)||0}const Tm={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Mm(e){return null==e||0===Object.keys(e).length}const Am=h.exports.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,l=mp(e,Pm),{current:s}=h.exports.useRef(null!=a),u=h.exports.useRef(null),c=uf(t,u),d=h.exports.useRef(null),p=h.exports.useRef(0),[f,m]=h.exports.useState({}),v=h.exports.useCallback((()=>{const t=u.current,n=Jp(t).getComputedStyle(t);if("0px"===n.width)return{};const i=d.current;i.style.width=n.width,i.value=t.value||e.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");const a=n["box-sizing"],l=Rm(n,"padding-bottom")+Rm(n,"padding-top"),s=Rm(n,"border-bottom-width")+Rm(n,"border-top-width"),c=i.scrollHeight;i.value="x";const p=i.scrollHeight;let f=c;o&&(f=Math.max(Number(o)*p,f)),r&&(f=Math.min(Number(r)*p,f)),f=Math.max(f,p);return{outerHeightStyle:f+("border-box"===a?l+s:0),overflow:Math.abs(f-c)<=1}}),[r,o,e.placeholder]),g=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return p.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(p.current+=1,{overflow:r,outerHeightStyle:n}):e},y=h.exports.useCallback((()=>{const e=v();Mm(e)||m((t=>g(t,e)))}),[v]);h.exports.useEffect((()=>{const e=Qp((()=>{p.current=0,u.current&&(()=>{const e=v();Mm(e)||Z.exports.flushSync((()=>{m((t=>g(t,e)))}))})()})),t=Jp(u.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),n.observe(u.current)),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}})),tf((()=>{y()})),h.exports.useEffect((()=>{p.current=0}),[a]);return Df.exports.jsxs(h.exports.Fragment,{children:[Df.exports.jsx("textarea",dp({value:a,onChange:e=>{p.current=0,s||y(),n&&n(e)},ref:c,rows:o,style:dp({height:f.outerHeightStyle,overflow:f.overflow?"hidden":null},i)},l)),Df.exports.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:dp({},Tm,i,{padding:0})})]})}));var Im=Am;function $m(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}!function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}({exports:{}});var jm=/^((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|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)-.*))$/,Lm=$m((function(e){return jm.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function _m(){return _m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_m.apply(this,arguments)}var Nm=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),zm={exports:{}};!function(e){var t="-ms-",n="-moz-",r="-webkit-",o="comm",i="rule",a="decl",l="@page",s="@media",u="@import",c="@charset",d="@viewport",p="@supports",f="@document",h="@namespace",m="@keyframes",v="@font-face",g="@counter-style",y="@font-feature-values",b=Math.abs,x=String.fromCharCode,w=Object.assign;function k(e,t){return(((t<<2^P(e,0))<<2^P(e,1))<<2^P(e,2))<<2^P(e,3)}function S(e){return e.trim()}function E(e,t){return(e=t.exec(e))?e[0]:e}function C(e,t,n){return e.replace(t,n)}function O(e,t){return e.indexOf(t)}function P(e,t){return 0|e.charCodeAt(t)}function R(e,t,n){return e.slice(t,n)}function T(e){return e.length}function M(e){return e.length}function A(e,t){return t.push(e),e}function I(e,t){return e.map(t).join("")}function $(t,n,r,o,i,a,l){return{value:t,root:n,parent:r,type:o,props:i,children:a,line:e.line,column:e.column,length:l,return:""}}function j(e,t){return w($("",null,null,"",null,null,0),e,{length:-e.length},t)}function L(){return e.character}function _(){return e.character=e.position>0?P(e.characters,--e.position):0,e.column--,10===e.character&&(e.column=1,e.line--),e.character}function N(){return e.character=e.position<e.length?P(e.characters,e.position++):0,e.column++,10===e.character&&(e.column=1,e.line++),e.character}function z(){return P(e.characters,e.position)}function F(){return e.position}function D(t,n){return R(e.characters,t,n)}function B(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function W(t){return e.line=e.column=1,e.length=T(e.characters=t),e.position=0,[]}function U(t){return e.characters="",t}function V(t){return S(D(e.position-1,G(91===t?t+2:40===t?t+1:t)))}function q(e){return U(K(W(e)))}function H(t){for(;(e.character=z())&&e.character<33;)N();return B(t)>2||B(e.character)>3?"":" "}function K(t){for(;N();)switch(B(e.character)){case 0:A(Y(e.position-1),t);break;case 2:A(V(e.character),t);break;default:A(x(e.character),t)}return t}function Q(t,n){for(;--n&&N()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return D(t,F()+(n<6&&32==z()&&32==N()))}function G(t){for(;N();)switch(e.character){case t:return e.position;case 34:case 39:34!==t&&39!==t&&G(e.character);break;case 40:41===t&&G(t);break;case 92:N()}return e.position}function X(t,n){for(;N()&&t+e.character!==57&&(t+e.character!==84||47!==z()););return"/*"+D(n,e.position-1)+"*"+x(47===t?t:N())}function Y(t){for(;!B(z());)N();return D(t,e.position)}function J(e){return U(Z("",null,null,null,[""],e=W(e),0,[0],e))}function Z(e,t,n,r,o,i,a,l,s){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,v=1,g=1,y=0,b="",w=o,k=i,S=r,E=b;v;)switch(h=y,y=N()){case 40:if(108!=h&&58==E.charCodeAt(d-1)){-1!=O(E+=C(V(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:E+=V(y);break;case 9:case 10:case 13:case 32:E+=H(h);break;case 92:E+=Q(F()-1,7);continue;case 47:switch(z()){case 42:case 47:A(te(X(N(),F()),t,n),s);break;default:E+="/"}break;case 123*m:l[u++]=T(E)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+c:f>0&&T(E)-d&&A(f>32?ne(E+";",r,n,d-1):ne(C(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if(A(S=ee(E,t,n,u,c,o,l,b,w=[],k=[],d),i),123===y)if(0===c)Z(E,t,S,S,w,i,d,l,k);else switch(p){case 100:case 109:case 115:Z(e,S,S,r&&A(ee(e,S,S,0,0,o,l,b,o,w=[],d),k),o,k,d,l,r?w:k);break;default:Z(E,S,S,S,[""],k,0,l,k)}}u=c=f=0,m=g=1,b=E="",d=a;break;case 58:d=1+T(E),f=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==_())continue;switch(E+=x(y),y*m){case 38:g=c>0?1:(E+="\f",-1);break;case 44:l[u++]=(T(E)-1)*g,g=1;break;case 64:45===z()&&(E+=V(N())),p=z(),c=d=T(b=E+=Y(F())),y++;break;case 45:45===h&&2==T(E)&&(m=0)}}return i}function ee(e,t,n,r,o,a,l,s,u,c,d){for(var p=o-1,f=0===o?a:[""],h=M(f),m=0,v=0,g=0;m<r;++m)for(var y=0,x=R(e,p+1,p=b(v=l[m])),w=e;y<h;++y)(w=S(v>0?f[y]+" "+x:C(x,/&\f/g,f[y])))&&(u[g++]=w);return $(e,t,n,0===o?i:s,u,c,d)}function te(e,t,n){return $(e,t,n,o,x(L()),R(e,2,-2),0)}function ne(e,t,n,r){return $(e,t,n,a,R(e,0,r),R(e,r+1,-1),r)}function re(e,o){switch(k(e,o)){case 5103:return r+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return r+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return r+e+n+e+t+e+e;case 6828:case 4268:return r+e+t+e+e;case 6165:return r+e+t+"flex-"+e+e;case 5187:return r+e+C(e,/(\w+).+(:[^]+)/,r+"box-$1$2"+t+"flex-$1$2")+e;case 5443:return r+e+t+"flex-item-"+C(e,/flex-|-self/,"")+e;case 4675:return r+e+t+"flex-line-pack"+C(e,/align-content|flex-|-self/,"")+e;case 5548:return r+e+t+C(e,"shrink","negative")+e;case 5292:return r+e+t+C(e,"basis","preferred-size")+e;case 6060:return r+"box-"+C(e,"-grow","")+r+e+t+C(e,"grow","positive")+e;case 4554:return r+C(e,/([^-])(transform)/g,"$1"+r+"$2")+e;case 6187:return C(C(C(e,/(zoom-|grab)/,r+"$1"),/(image-set)/,r+"$1"),e,"")+e;case 5495:case 3959:return C(e,/(image-set\([^]*)/,r+"$1$`$1");case 4968:return C(C(e,/(.+:)(flex-)?(.*)/,r+"box-pack:$3"+t+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+r+e+e;case 4095:case 3583:case 4068:case 2532:return C(e,/(.+)-inline(.+)/,r+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(T(e)-1-o>6)switch(P(e,o+1)){case 109:if(45!==P(e,o+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+r+"$2-$3$1"+n+(108==P(e,o+3)?"$3":"$2-$3"))+e;case 115:return~O(e,"stretch")?re(C(e,"stretch","fill-available"),o)+e:e}break;case 4949:if(115!==P(e,o+1))break;case 6444:switch(P(e,T(e)-3-(~O(e,"!important")&&10))){case 107:return C(e,":",":"+r)+e;case 101:return C(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+r+(45===P(e,14)?"inline-":"")+"box$3$1"+r+"$2$3$1"+t+"$2box$3")+e}break;case 5936:switch(P(e,o+11)){case 114:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return r+e+t+e+e}return e}function oe(e,t){for(var n="",r=M(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ie(e,t,n,r){switch(e.type){case u:case a:return e.return=e.return||e.value;case o:return"";case m:return e.return=e.value+"{"+oe(e.children,r)+"}";case i:e.value=e.props.join(",")}return T(n=oe(e.children,r))?e.return=e.value+"{"+n+"}":""}function ae(e){var t=M(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}function le(e){return function(t){t.root||(t=t.return)&&e(t)}}function se(e,o,l,s){if(e.length>-1&&!e.return)switch(e.type){case a:e.return=re(e.value,e.length);break;case m:return oe([j(e,{value:C(e.value,"@","@"+r)})],s);case i:if(e.length)return I(e.props,(function(o){switch(E(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return oe([j(e,{props:[C(o,/:(read-\w+)/,":"+n+"$1")]})],s);case"::placeholder":return oe([j(e,{props:[C(o,/:(plac\w+)/,":"+r+"input-$1")]}),j(e,{props:[C(o,/:(plac\w+)/,":"+n+"$1")]}),j(e,{props:[C(o,/:(plac\w+)/,t+"input-$1")]})],s)}return""}))}}function ue(e){e.type===i&&(e.props=e.props.map((function(t){return I(q(t),(function(t,n,r){switch(P(t,0)){case 12:return R(t,1,T(t));case 0:case 40:case 43:case 62:case 126:return t;case 58:"global"===r[++n]&&(r[n]="",r[++n]="\f"+R(r[n],n=1,-1));case 32:return 1===n?"":t;default:switch(n){case 0:return e=t,M(r)>1?"":t;case n=M(r)-1:case 2:return 2===n?t+e+e:t+e;default:return t}}}))})))}e.line=1,e.column=1,e.length=0,e.position=0,e.character=0,e.characters="",e.CHARSET=c,e.COMMENT=o,e.COUNTER_STYLE=g,e.DECLARATION=a,e.DOCUMENT=f,e.FONT_FACE=v,e.FONT_FEATURE_VALUES=y,e.IMPORT=u,e.KEYFRAMES=m,e.MEDIA=s,e.MOZ=n,e.MS=t,e.NAMESPACE=h,e.PAGE=l,e.RULESET=i,e.SUPPORTS=p,e.VIEWPORT=d,e.WEBKIT=r,e.abs=b,e.alloc=W,e.append=A,e.assign=w,e.caret=F,e.char=L,e.charat=P,e.combine=I,e.comment=te,e.commenter=X,e.compile=J,e.copy=j,e.dealloc=U,e.declaration=ne,e.delimit=V,e.delimiter=G,e.escaping=Q,e.from=x,e.hash=k,e.identifier=Y,e.indexof=O,e.match=E,e.middleware=ae,e.namespace=ue,e.next=N,e.node=$,e.parse=Z,e.peek=z,e.prefix=re,e.prefixer=se,e.prev=_,e.replace=C,e.ruleset=ee,e.rulesheet=le,e.serialize=oe,e.sizeof=M,e.slice=D,e.stringify=ie,e.strlen=T,e.substr=R,e.token=B,e.tokenize=q,e.tokenizer=K,e.trim=S,e.whitespace=H,Object.defineProperty(e,"__esModule",{value:!0})}(zm.exports);var Fm=function(e,t,n){for(var r=0,o=0;r=o,o=zm.exports.peek(),38===r&&12===o&&(t[n]=1),!zm.exports.token(o);)zm.exports.next();return zm.exports.slice(e,zm.exports.position)},Dm=function(e,t){return zm.exports.dealloc(function(e,t){var n=-1,r=44;do{switch(zm.exports.token(r)){case 0:38===r&&12===zm.exports.peek()&&(t[n]=1),e[n]+=Fm(zm.exports.position-1,t,n);break;case 2:e[n]+=zm.exports.delimit(r);break;case 4:if(44===r){e[++n]=58===zm.exports.peek()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=zm.exports.from(r)}}while(r=zm.exports.next());return e}(zm.exports.alloc(e),t))},Bm=new WeakMap,Wm=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Bm.get(n))&&!r){Bm.set(e,!0);for(var o=[],i=Dm(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var u=0;u<a.length;u++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[u]):a[u]+" "+i[l]}}},Um=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Vm="undefined"!=typeof document,qm=Vm?void 0:function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}((function(){return $m((function(){var e={};return function(t){return e[t]}}))})),Hm=[zm.exports.prefixer],Km=function(e){var t=e.key;if(Vm&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||Hm,a={},l=[];Vm&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)})));var s=[Wm,Um];if(Vm){var u,c=[zm.exports.stringify,zm.exports.rulesheet((function(e){u.insert(e)}))],d=zm.exports.middleware(s.concat(i,c));o=function(e,t,n,r){u=n,function(e){zm.exports.serialize(zm.exports.compile(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var p=[zm.exports.stringify],f=zm.exports.middleware(s.concat(i,p)),h=qm(i)(t),m=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=function(e){return zm.exports.serialize(zm.exports.compile(e),f)}(e?e+"{"+t.styles+"}":t.styles)),h[n]};o=function(e,t,n,r){var o=t.name,i=m(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),i):r?void(v.inserted[o]=i):i}}var v={key:t,sheet:new Nm({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return v.sheet.hydrate(l),v},Qm={exports:{}},Gm={},Xm="function"==typeof Symbol&&Symbol.for,Ym=Xm?Symbol.for("react.element"):60103,Jm=Xm?Symbol.for("react.portal"):60106,Zm=Xm?Symbol.for("react.fragment"):60107,ev=Xm?Symbol.for("react.strict_mode"):60108,tv=Xm?Symbol.for("react.profiler"):60114,nv=Xm?Symbol.for("react.provider"):60109,rv=Xm?Symbol.for("react.context"):60110,ov=Xm?Symbol.for("react.async_mode"):60111,iv=Xm?Symbol.for("react.concurrent_mode"):60111,av=Xm?Symbol.for("react.forward_ref"):60112,lv=Xm?Symbol.for("react.suspense"):60113,sv=Xm?Symbol.for("react.suspense_list"):60120,uv=Xm?Symbol.for("react.memo"):60115,cv=Xm?Symbol.for("react.lazy"):60116,dv=Xm?Symbol.for("react.block"):60121,pv=Xm?Symbol.for("react.fundamental"):60117,fv=Xm?Symbol.for("react.responder"):60118,hv=Xm?Symbol.for("react.scope"):60119;function mv(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ym:switch(e=e.type){case ov:case iv:case Zm:case tv:case ev:case lv:return e;default:switch(e=e&&e.$$typeof){case rv:case av:case cv:case uv:case nv:return e;default:return t}}case Jm:return t}}}function vv(e){return mv(e)===iv}Gm.AsyncMode=ov,Gm.ConcurrentMode=iv,Gm.ContextConsumer=rv,Gm.ContextProvider=nv,Gm.Element=Ym,Gm.ForwardRef=av,Gm.Fragment=Zm,Gm.Lazy=cv,Gm.Memo=uv,Gm.Portal=Jm,Gm.Profiler=tv,Gm.StrictMode=ev,Gm.Suspense=lv,Gm.isAsyncMode=function(e){return vv(e)||mv(e)===ov},Gm.isConcurrentMode=vv,Gm.isContextConsumer=function(e){return mv(e)===rv},Gm.isContextProvider=function(e){return mv(e)===nv},Gm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ym},Gm.isForwardRef=function(e){return mv(e)===av},Gm.isFragment=function(e){return mv(e)===Zm},Gm.isLazy=function(e){return mv(e)===cv},Gm.isMemo=function(e){return mv(e)===uv},Gm.isPortal=function(e){return mv(e)===Jm},Gm.isProfiler=function(e){return mv(e)===tv},Gm.isStrictMode=function(e){return mv(e)===ev},Gm.isSuspense=function(e){return mv(e)===lv},Gm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Zm||e===iv||e===tv||e===ev||e===lv||e===sv||"object"==typeof e&&null!==e&&(e.$$typeof===cv||e.$$typeof===uv||e.$$typeof===nv||e.$$typeof===rv||e.$$typeof===av||e.$$typeof===pv||e.$$typeof===fv||e.$$typeof===hv||e.$$typeof===dv)},Gm.typeOf=mv;var gv=Qm.exports=Gm,yv={};yv[gv.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yv[gv.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var bv="undefined"!=typeof document;function xv(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var wv=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===bv&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},kv=function(e,t,n){wv(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);bv||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!bv&&0!==o.length)return o}};var Sv={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ev=/[A-Z]|^ms/g,Cv=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ov=function(e){return 45===e.charCodeAt(1)},Pv=function(e){return null!=e&&"boolean"!=typeof e},Rv=$m((function(e){return Ov(e)?e:e.replace(Ev,"-$&").toLowerCase()})),Tv=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Cv,(function(e,t,n){return Av={name:t,styles:n,next:Av},t}))}return 1===Sv[e]||Ov(e)||"number"!=typeof t||0===t?t:t+"px"};function Mv(e,t,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 Av={name:n.name,styles:n.styles,next:Av},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Av={name:r.name,styles:r.styles,next:Av},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Mv(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":Pv(a)&&(r+=Rv(i)+":"+Tv(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Mv(e,t,a);switch(i){case"animation":case"animationName":r+=Rv(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var s=0;s<a.length;s++)Pv(a[s])&&(r+=Rv(i)+":"+Tv(i,a[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Av,i=n(e);return Av=o,Mv(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var Av,Iv=/label:\s*([^\s;\n{]+)\s*(;|$)/g,$v=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Av=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Mv(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Mv(n,t,e[a]),r&&(o+=i[a]);Iv.lastIndex=0;for(var l,s="";null!==(l=Iv.exec(o));)s+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:Av}},jv={exports:{}},Lv={};Object.defineProperty(Lv,"__esModule",{value:!0});var _v=h.exports;function Nv(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var zv=Nv(_v),Fv="undefined"!=typeof document,Dv=function(e){return e()},Bv=!!zv.useInsertionEffect&&zv.useInsertionEffect,Wv=Fv&&Bv||Dv,Uv=Bv||_v.useLayoutEffect;Lv.useInsertionEffectAlwaysWithSyncFallback=Wv,Lv.useInsertionEffectWithLayoutFallback=Uv,jv.exports=Lv;var Vv="undefined"!=typeof document,qv=h.exports.createContext("undefined"!=typeof HTMLElement?Km({key:"css"}):null),Hv=qv.Provider,Kv=function(e){return h.exports.forwardRef((function(t,n){var r=h.exports.useContext(qv);return e(t,r,n)}))};Vv||(Kv=function(e){return function(t){var n=h.exports.useContext(qv);return null===n?(n=Km({key:"css"}),h.exports.createElement(qv.Provider,{value:n},e(t,n))):e(t,n)}});var Qv=h.exports.createContext({});!function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}({exports:{}});var Gv=Kv((function(e,t){var n=e.styles,r=$v([n],void 0,h.exports.useContext(Qv));if(!Vv){for(var o,i=r.name,a=r.styles,l=r.next;void 0!==l;)i+=" "+l.name,a+=l.styles,l=l.next;var s=!0===t.compat,u=t.insert("",{name:i,styles:a},t.sheet,s);return s?null:h.exports.createElement("style",((o={})["data-emotion"]=t.key+"-global "+i,o.dangerouslySetInnerHTML={__html:u},o.nonce=t.sheet.nonce,o))}var c=h.exports.useRef();return jv.exports.useInsertionEffectWithLayoutFallback((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),c.current=[n,o],function(){n.flush()}}),[t]),jv.exports.useInsertionEffectWithLayoutFallback((function(){var e=c.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&kv(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function Xv(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return $v(t)}var Yv=function(){var e=Xv.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Jv={exports:{}},Zv={};Object.defineProperty(Zv,"__esModule",{value:!0});var eg=h.exports;function tg(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var ng=tg(eg),rg="undefined"!=typeof document,og=function(e){return e()},ig=!!ng.useInsertionEffect&&ng.useInsertionEffect,ag=rg&&ig||og,lg=ig||eg.useLayoutEffect;Zv.useInsertionEffectAlwaysWithSyncFallback=ag,Zv.useInsertionEffectWithLayoutFallback=lg,Jv.exports=Zv;var sg=Lm,ug=function(e){return"theme"!==e},cg=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?sg:ug},dg=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},pg="undefined"!=typeof document,fg=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;wv(t,n,r);var o=Jv.exports.useInsertionEffectAlwaysWithSyncFallback((function(){return kv(t,n,r)}));if(!pg&&void 0!==o){for(var i,a=n.name,l=n.next;void 0!==l;)a+=" "+l.name,l=l.next;return h.exports.createElement("style",((i={})["data-emotion"]=t.key+" "+a,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},hg=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=dg(t,n,i),s=l||cg(a),u=!s("as");return function(){var c=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{d.push(c[0][0]);for(var p=c.length,f=1;f<p;f++)d.push(c[f],c[0][f])}var m=Kv((function(e,t,n){var r=u&&e.as||a,i="",c=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=h.exports.useContext(Qv)}"string"==typeof e.className?i=xv(t.registered,c,e.className):null!=e.className&&(i=e.className+" ");var m=$v(d.concat(c),t.registered,p);i+=t.key+"-"+m.name,void 0!==o&&(i+=" "+o);var v=u&&void 0===l?cg(r):s,g={};for(var y in e)u&&"as"===y||v(y)&&(g[y]=e[y]);return g.className=i,g.ref=n,h.exports.createElement(h.exports.Fragment,null,h.exports.createElement(fg,{cache:t,serialized:m,isStringTag:"string"==typeof r}),h.exports.createElement(r,g))}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=a,m.__emotion_styles=d,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,r){return e(t,_m({},n,r,{shouldForwardProp:dg(m,r,!0)})).apply(void 0,d)},m}}.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(e){hg[e]=hg(e)}));var mg=hg;const vg=Km({key:"css",prepend:!0});function gg(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return Df.exports.jsx(Gv,{styles:r})}
27
+ var se=h.exports,ue=ie,ce=ae.exports;function de(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!se)throw Error(de(227));var pe=new Set,fe={};function he(e,t){me(e,t),me(e+"Capture",t)}function me(e,t){for(fe[e]=t,e=0;e<t.length;e++)pe.add(t[e])}var ve=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ge=/^[: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]*$/,ye=Object.prototype.hasOwnProperty,be={},xe={};function we(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var ke={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){ke[e]=new we(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];ke[t]=new we(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ke[e]=new we(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ke[e]=new we(e,2,!1,e,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(e){ke[e]=new we(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ke[e]=new we(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){ke[e]=new we(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){ke[e]=new we(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){ke[e]=new we(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Se=/[\-:]([a-z])/g;function Ee(e){return e[1].toUpperCase()}function Ce(e,t,n,r){var o=ke.hasOwnProperty(t)?ke[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!ye.call(xe,e)||!ye.call(be,e)&&(ge.test(e)?xe[e]=!0:(be[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,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(e){var t=e.replace(Se,Ee);ke[t]=new we(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Se,Ee);ke[t]=new we(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Se,Ee);ke[t]=new we(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){ke[e]=new we(e,1,!1,e.toLowerCase(),null,!1,!1)})),ke.xlinkHref=new we("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){ke[e]=new we(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Oe=se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Pe=60103,Re=60106,Te=60107,Me=60108,Ae=60114,Ie=60109,$e=60110,je=60112,Le=60113,_e=60120,Ne=60115,ze=60116,Fe=60121,De=60128,Be=60129,We=60130,Ue=60131;if("function"==typeof Symbol&&Symbol.for){var Ve=Symbol.for;Pe=Ve("react.element"),Re=Ve("react.portal"),Te=Ve("react.fragment"),Me=Ve("react.strict_mode"),Ae=Ve("react.profiler"),Ie=Ve("react.provider"),$e=Ve("react.context"),je=Ve("react.forward_ref"),Le=Ve("react.suspense"),_e=Ve("react.suspense_list"),Ne=Ve("react.memo"),ze=Ve("react.lazy"),Fe=Ve("react.block"),Ve("react.scope"),De=Ve("react.opaque.id"),Be=Ve("react.debug_trace_mode"),We=Ve("react.offscreen"),Ue=Ve("react.legacy_hidden")}var qe,He="function"==typeof Symbol&&Symbol.iterator;function Ke(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=He&&e[He]||e["@@iterator"])?e:null}function Qe(e){if(void 0===qe)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);qe=t&&t[1]||""}return"\n"+qe+e}var Ge=!1;function Xe(e,t){if(!e||Ge)return"";Ge=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=l);break}}}finally{Ge=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Qe(e):""}function Ye(e){switch(e.tag){case 5:return Qe(e.type);case 16:return Qe("Lazy");case 13:return Qe("Suspense");case 19:return Qe("SuspenseList");case 0:case 2:case 15:return e=Xe(e.type,!1);case 11:return e=Xe(e.type.render,!1);case 22:return e=Xe(e.type._render,!1);case 1:return e=Xe(e.type,!0);default:return""}}function Je(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Te:return"Fragment";case Re:return"Portal";case Ae:return"Profiler";case Me:return"StrictMode";case Le:return"Suspense";case _e:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case $e:return(e.displayName||"Context")+".Consumer";case Ie:return(e._context.displayName||"Context")+".Provider";case je:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Ne:return Je(e.type);case Fe:return Je(e._render);case ze:t=e._payload,e=e._init;try{return Je(e(t))}catch(e){}}return null}function Ze(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function et(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function tt(e){e._valueTracker||(e._valueTracker=function(e){var t=et(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function nt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=et(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function rt(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ot(e,t){var n=t.checked;return ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function it(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Ze(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function at(e,t){null!=(t=t.checked)&&Ce(e,"checked",t,!1)}function lt(e,t){at(e,t);var n=Ze(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ut(e,t.type,n):t.hasOwnProperty("defaultValue")&&ut(e,t.type,Ze(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function st(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ut(e,t,n){"number"===t&&rt(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ct(e,t){return e=ue({children:void 0},t),(t=function(e){var t="";return se.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function dt(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ze(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function pt(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(de(91));return ue({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ft(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(de(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(de(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Ze(n)}}function ht(e,t){var n=Ze(t.value),r=Ze(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function mt(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var vt="http://www.w3.org/1999/xhtml",gt="http://www.w3.org/2000/svg";function yt(e){switch(e){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 bt(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?yt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var xt,wt=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==gt||"innerHTML"in e)e.innerHTML=t;else{for((xt=xt||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=xt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function kt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var St={animationIterationCount:!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},Et=["Webkit","ms","Moz","O"];function Ct(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||St.hasOwnProperty(e)&&St[e]?(""+t).trim():t+"px"}function Ot(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Ct(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(St).forEach((function(e){Et.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),St[t]=St[e]}))}));var Pt=ue({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 Rt(e,t){if(t){if(Pt[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(de(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(de(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(de(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(de(62))}}function Tt(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){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}}function Mt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var At=null,It=null,$t=null;function jt(e){if(e=si(e)){if("function"!=typeof At)throw Error(de(280));var t=e.stateNode;t&&(t=ci(t),At(e.stateNode,e.type,t))}}function Lt(e){It?$t?$t.push(e):$t=[e]:It=e}function _t(){if(It){var e=It,t=$t;if($t=It=null,jt(e),t)for(e=0;e<t.length;e++)jt(t[e])}}function Nt(e,t){return e(t)}function zt(e,t,n,r,o){return e(t,n,r,o)}function Ft(){}var Dt=Nt,Bt=!1,Wt=!1;function Ut(){null===It&&null===$t||(Ft(),_t())}function Vt(e,t){var n=e.stateNode;if(null===n)return null;var r=ci(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(de(231,t,typeof n));return n}var qt=!1;if(ve)try{var Ht={};Object.defineProperty(Ht,"passive",{get:function(){qt=!0}}),window.addEventListener("test",Ht,Ht),window.removeEventListener("test",Ht,Ht)}catch(lI){qt=!1}function Kt(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Qt=!1,Gt=null,Xt=!1,Yt=null,Jt={onError:function(e){Qt=!0,Gt=e}};function Zt(e,t,n,r,o,i,a,l,s){Qt=!1,Gt=null,Kt.apply(Jt,arguments)}function en(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function tn(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function nn(e){if(en(e)!==e)throw Error(de(188))}function rn(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=en(e)))throw Error(de(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return nn(o),e;if(i===r)return nn(o),t;i=i.sibling}throw Error(de(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(de(189))}}if(n.alternate!==r)throw Error(de(190))}if(3!==n.tag)throw Error(de(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function on(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var an,ln,sn,un,cn=!1,dn=[],pn=null,fn=null,hn=null,mn=new Map,vn=new Map,gn=[],yn="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 bn(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function xn(e,t){switch(e){case"focusin":case"focusout":pn=null;break;case"dragenter":case"dragleave":fn=null;break;case"mouseover":case"mouseout":hn=null;break;case"pointerover":case"pointerout":mn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vn.delete(t.pointerId)}}function wn(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=bn(t,n,r,o,i),null!==t&&(null!==(t=si(t))&&ln(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function kn(e){var t=li(e.target);if(null!==t){var n=en(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=tn(n)))return e.blockedOn=t,void un(e.lanePriority,(function(){ce.unstable_runWithPriority(e.priority,(function(){sn(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Sn(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=or(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=si(n))&&ln(t),e.blockedOn=n,!1;t.shift()}return!0}function En(e,t,n){Sn(e)&&n.delete(t)}function Cn(){for(cn=!1;0<dn.length;){var e=dn[0];if(null!==e.blockedOn){null!==(e=si(e.blockedOn))&&an(e);break}for(var t=e.targetContainers;0<t.length;){var n=or(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&dn.shift()}null!==pn&&Sn(pn)&&(pn=null),null!==fn&&Sn(fn)&&(fn=null),null!==hn&&Sn(hn)&&(hn=null),mn.forEach(En),vn.forEach(En)}function On(e,t){e.blockedOn===t&&(e.blockedOn=null,cn||(cn=!0,ce.unstable_scheduleCallback(ce.unstable_NormalPriority,Cn)))}function Pn(e){function t(t){return On(t,e)}if(0<dn.length){On(dn[0],e);for(var n=1;n<dn.length;n++){var r=dn[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==pn&&On(pn,e),null!==fn&&On(fn,e),null!==hn&&On(hn,e),mn.forEach(t),vn.forEach(t),n=0;n<gn.length;n++)(r=gn[n]).blockedOn===e&&(r.blockedOn=null);for(;0<gn.length&&null===(n=gn[0]).blockedOn;)kn(n),null===n.blockedOn&&gn.shift()}function Rn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Tn={animationend:Rn("Animation","AnimationEnd"),animationiteration:Rn("Animation","AnimationIteration"),animationstart:Rn("Animation","AnimationStart"),transitionend:Rn("Transition","TransitionEnd")},Mn={},An={};function In(e){if(Mn[e])return Mn[e];if(!Tn[e])return e;var t,n=Tn[e];for(t in n)if(n.hasOwnProperty(t)&&t in An)return Mn[e]=n[t];return e}ve&&(An=document.createElement("div").style,"AnimationEvent"in window||(delete Tn.animationend.animation,delete Tn.animationiteration.animation,delete Tn.animationstart.animation),"TransitionEvent"in window||delete Tn.transitionend.transition);var $n=In("animationend"),jn=In("animationiteration"),Ln=In("animationstart"),_n=In("transitionend"),Nn=new Map,zn=new Map,Fn=["abort","abort",$n,"animationEnd",jn,"animationIteration",Ln,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",_n,"transitionEnd","waiting","waiting"];function Dn(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),zn.set(r,t),Nn.set(r,o),he(o,[r])}}(0,ce.unstable_now)();var Bn=8;function Wn(e){if(0!=(1&e))return Bn=15,1;if(0!=(2&e))return Bn=14,2;if(0!=(4&e))return Bn=13,4;var t=24&e;return 0!==t?(Bn=12,t):0!=(32&e)?(Bn=11,32):0!==(t=192&e)?(Bn=10,t):0!=(256&e)?(Bn=9,256):0!==(t=3584&e)?(Bn=8,t):0!=(4096&e)?(Bn=7,4096):0!==(t=4186112&e)?(Bn=6,t):0!==(t=62914560&e)?(Bn=5,t):67108864&e?(Bn=4,67108864):0!=(134217728&e)?(Bn=3,134217728):0!==(t=805306368&e)?(Bn=2,t):0!=(1073741824&e)?(Bn=1,1073741824):(Bn=8,e)}function Un(e,t){var n=e.pendingLanes;if(0===n)return Bn=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(0!==i)r=i,o=Bn=15;else if(0!==(i=134217727&n)){var s=i&~a;0!==s?(r=Wn(s),o=Bn):0!==(l&=i)&&(r=Wn(l),o=Bn)}else 0!==(i=n&~a)?(r=Wn(i),o=Bn):0!==l&&(r=Wn(l),o=Bn);if(0===r)return 0;if(r=n&((0>(r=31-Gn(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(Wn(t),o<=Bn)return t;Bn=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Gn(t)),r|=e[n],t&=~o;return r}function Vn(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function qn(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Hn(24&~t))?qn(10,t):e;case 10:return 0===(e=Hn(192&~t))?qn(8,t):e;case 8:return 0===(e=Hn(3584&~t))&&(0===(e=Hn(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Hn(805306368&~t))&&(t=268435456),t}throw Error(de(358,e))}function Hn(e){return e&-e}function Kn(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Qn(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Gn(t)]=n}var Gn=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Xn(e)/Yn|0)|0},Xn=Math.log,Yn=Math.LN2;var Jn=ce.unstable_UserBlockingPriority,Zn=ce.unstable_runWithPriority,er=!0;function tr(e,t,n,r){Bt||Ft();var o=rr,i=Bt;Bt=!0;try{zt(o,e,t,n,r)}finally{(Bt=i)||Ut()}}function nr(e,t,n,r){Zn(Jn,rr.bind(null,e,t,n,r))}function rr(e,t,n,r){var o;if(er)if((o=0==(4&t))&&0<dn.length&&-1<yn.indexOf(e))e=bn(null,e,t,n,r),dn.push(e);else{var i=or(e,t,n,r);if(null===i)o&&xn(e,r);else{if(o){if(-1<yn.indexOf(e))return e=bn(i,e,t,n,r),void dn.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return pn=wn(pn,e,t,n,r,o),!0;case"dragenter":return fn=wn(fn,e,t,n,r,o),!0;case"mouseover":return hn=wn(hn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return mn.set(i,wn(mn.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,vn.set(i,wn(vn.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;xn(e,r)}Do(e,t,r,null,n)}}}function or(e,t,n,r){var o=Mt(r);if(null!==(o=li(o))){var i=en(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=tn(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Do(e,t,r,o,n),null}var ir=null,ar=null,lr=null;function sr(){if(lr)return lr;var e,t,n=ar,r=n.length,o="value"in ir?ir.value:ir.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return lr=o.slice(e,1<t?1-t:void 0)}function ur(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function cr(){return!0}function dr(){return!1}function pr(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?cr:dr,this.isPropagationStopped=dr,this}return ue(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=cr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=cr)},persist:function(){},isPersistent:cr}),t}var fr,hr,mr,vr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},gr=pr(vr),yr=ue({},vr,{view:0,detail:0}),br=pr(yr),xr=ue({},yr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ir,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==mr&&(mr&&"mousemove"===e.type?(fr=e.screenX-mr.screenX,hr=e.screenY-mr.screenY):hr=fr=0,mr=e),fr)},movementY:function(e){return"movementY"in e?e.movementY:hr}}),wr=pr(xr),kr=pr(ue({},xr,{dataTransfer:0})),Sr=pr(ue({},yr,{relatedTarget:0})),Er=pr(ue({},vr,{animationName:0,elapsedTime:0,pseudoElement:0})),Cr=ue({},vr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Or=pr(Cr),Pr=pr(ue({},vr,{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"},Tr={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"},Mr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ar(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Mr[e])&&!!t[e]}function Ir(){return Ar}var $r=ue({},yr,{key:function(e){if(e.key){var t=Rr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ur(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Tr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ir,charCode:function(e){return"keypress"===e.type?ur(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ur(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),jr=pr($r),Lr=pr(ue({},xr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),_r=pr(ue({},yr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ir})),Nr=pr(ue({},vr,{propertyName:0,elapsedTime:0,pseudoElement:0})),zr=ue({},xr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Fr=pr(zr),Dr=[9,13,27,32],Br=ve&&"CompositionEvent"in window,Wr=null;ve&&"documentMode"in document&&(Wr=document.documentMode);var Ur=ve&&"TextEvent"in window&&!Wr,Vr=ve&&(!Br||Wr&&8<Wr&&11>=Wr),qr=String.fromCharCode(32),Hr=!1;function Kr(e,t){switch(e){case"keyup":return-1!==Dr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Gr=!1;var Xr={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 Yr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Xr[e.type]:"textarea"===t}function Jr(e,t,n,r){Lt(r),0<(t=Wo(t,"onChange")).length&&(n=new gr("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Zr=null,eo=null;function to(e){jo(e,0)}function no(e){if(nt(ui(e)))return e}function ro(e,t){if("change"===e)return t}var oo=!1;if(ve){var io;if(ve){var ao="oninput"in document;if(!ao){var lo=document.createElement("div");lo.setAttribute("oninput","return;"),ao="function"==typeof lo.oninput}io=ao}else io=!1;oo=io&&(!document.documentMode||9<document.documentMode)}function so(){Zr&&(Zr.detachEvent("onpropertychange",uo),eo=Zr=null)}function uo(e){if("value"===e.propertyName&&no(eo)){var t=[];if(Jr(t,eo,e,Mt(e)),e=to,Bt)e(t);else{Bt=!0;try{Nt(e,t)}finally{Bt=!1,Ut()}}}}function co(e,t,n){"focusin"===e?(so(),eo=n,(Zr=t).attachEvent("onpropertychange",uo)):"focusout"===e&&so()}function po(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return no(eo)}function fo(e,t){if("click"===e)return no(t)}function ho(e,t){if("input"===e||"change"===e)return no(t)}var mo="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},vo=Object.prototype.hasOwnProperty;function go(e,t){if(mo(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!vo.call(t,n[r])||!mo(e[n[r]],t[n[r]]))return!1;return!0}function yo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function bo(e,t){var n,r=yo(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=yo(r)}}function xo(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?xo(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function wo(){for(var e=window,t=rt();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=rt((e=t.contentWindow).document)}return t}function ko(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var So=ve&&"documentMode"in document&&11>=document.documentMode,Eo=null,Co=null,Oo=null,Po=!1;function Ro(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Po||null==Eo||Eo!==rt(r)||("selectionStart"in(r=Eo)&&ko(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Oo&&go(Oo,r)||(Oo=r,0<(r=Wo(Co,"onSelect")).length&&(t=new gr("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Eo)))}Dn("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Dn("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Dn(Fn,2);for(var To="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Mo=0;Mo<To.length;Mo++)zn.set(To[Mo],0);me("onMouseEnter",["mouseout","mouseover"]),me("onMouseLeave",["mouseout","mouseover"]),me("onPointerEnter",["pointerout","pointerover"]),me("onPointerLeave",["pointerout","pointerover"]),he("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),he("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),he("onBeforeInput",["compositionend","keypress","textInput","paste"]),he("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ao="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Io=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ao));function $o(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,l,s){if(Zt.apply(this,arguments),Qt){if(!Qt)throw Error(de(198));var u=Gt;Qt=!1,Gt=null,Xt||(Xt=!0,Yt=u)}}(r,t,void 0,e),e.currentTarget=null}function jo(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;$o(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;$o(o,l,u),i=s}}}if(Xt)throw e=Yt,Xt=!1,Yt=null,e}function Lo(e,t){var n=di(t),r=e+"__bubble";n.has(r)||(Fo(t,e,2,!1),n.add(r))}var _o="_reactListening"+Math.random().toString(36).slice(2);function No(e){e[_o]||(e[_o]=!0,pe.forEach((function(t){Io.has(t)||zo(t,!1,e,null),zo(t,!0,e,null)})))}function zo(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Io.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=di(i),l=e+"__"+(t?"capture":"bubble");a.has(l)||(t&&(o|=4),Fo(i,e,o,t),a.add(l))}function Fo(e,t,n,r){var o=zn.get(t);switch(void 0===o?2:o){case 0:o=tr;break;case 1:o=nr;break;default:o=rr}n=o.bind(null,t,n,e),o=void 0,!qt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Do(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=li(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Wt)return e(t,n);Wt=!0;try{Dt(e,t,n)}finally{Wt=!1,Ut()}}((function(){var r=i,o=Mt(n),a=[];e:{var l=Nn.get(e);if(void 0!==l){var s=gr,u=e;switch(e){case"keypress":if(0===ur(n))break e;case"keydown":case"keyup":s=jr;break;case"focusin":u="focus",s=Sr;break;case"focusout":u="blur",s=Sr;break;case"beforeblur":case"afterblur":s=Sr;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=wr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=kr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=_r;break;case $n:case jn:case Ln:s=Er;break;case _n:s=Nr;break;case"scroll":s=br;break;case"wheel":s=Fr;break;case"copy":case"cut":case"paste":s=Or;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Lr}var c=0!=(4&t),d=!c&&"scroll"===e,p=c?null!==l?l+"Capture":null:l;c=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=Vt(h,p))&&c.push(Bo(h,m,f)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!li(u)&&!u[ii])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?li(u):null)&&(u!==(d=en(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=wr,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Lr,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:ui(s),f=null==u?l:ui(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,li(o)===r&&((c=new c(p,h+"enter",u,n,o)).target=f,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(p=u,h=0,f=c=s;f;f=Uo(f))h++;for(f=0,m=p;m;m=Uo(m))f++;for(;0<h-f;)c=Uo(c),h--;for(;0<f-h;)p=Uo(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Uo(c),p=Uo(p)}c=null}else c=null;null!==s&&Vo(a,l,s,c,!1),null!==u&&null!==d&&Vo(a,d,u,c,!0)}if("select"===(s=(l=r?ui(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=ro;else if(Yr(l))if(oo)v=ho;else{v=po;var g=co}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=fo);switch(v&&(v=v(e,r))?Jr(a,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ut(l,"number",l.value)),g=r?ui(r):window,e){case"focusin":(Yr(g)||"true"===g.contentEditable)&&(Eo=g,Co=r,Oo=null);break;case"focusout":Oo=Co=Eo=null;break;case"mousedown":Po=!0;break;case"contextmenu":case"mouseup":case"dragend":Po=!1,Ro(a,n,o);break;case"selectionchange":if(So)break;case"keydown":case"keyup":Ro(a,n,o)}var y;if(Br)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Gr?Kr(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Vr&&"ko"!==n.locale&&(Gr||"onCompositionStart"!==b?"onCompositionEnd"===b&&Gr&&(y=sr()):(ar="value"in(ir=o)?ir.value:ir.textContent,Gr=!0)),0<(g=Wo(r,b)).length&&(b=new Pr(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=Qr(n))&&(b.data=y))),(y=Ur?function(e,t){switch(e){case"compositionend":return Qr(t);case"keypress":return 32!==t.which?null:(Hr=!0,qr);case"textInput":return(e=t.data)===qr&&Hr?null:e;default:return null}}(e,n):function(e,t){if(Gr)return"compositionend"===e||!Br&&Kr(e,t)?(e=sr(),lr=ar=ir=null,Gr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Vr&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wo(r,"onBeforeInput")).length&&(o=new Pr("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}jo(a,t)}))}function Bo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wo(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Vt(e,n))&&r.unshift(Bo(e,i,o)),null!=(i=Vt(e,t))&&r.push(Bo(e,i,o))),e=e.return}return r}function Uo(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Vo(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Vt(n,i))&&a.unshift(Bo(n,s,l)):o||null!=(s=Vt(n,i))&&a.push(Bo(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function qo(){}var Ho=null,Ko=null;function Qo(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Go(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Xo="function"==typeof setTimeout?setTimeout:void 0,Yo="function"==typeof clearTimeout?clearTimeout:void 0;function Jo(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Zo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function ei(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var ti=0;var ni=Math.random().toString(36).slice(2),ri="__reactFiber$"+ni,oi="__reactProps$"+ni,ii="__reactContainer$"+ni,ai="__reactEvents$"+ni;function li(e){var t=e[ri];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ii]||n[ri]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ei(e);null!==e;){if(n=e[ri])return n;e=ei(e)}return t}n=(e=n).parentNode}return null}function si(e){return!(e=e[ri]||e[ii])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ui(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(de(33))}function ci(e){return e[oi]||null}function di(e){var t=e[ai];return void 0===t&&(t=e[ai]=new Set),t}var pi=[],fi=-1;function hi(e){return{current:e}}function mi(e){0>fi||(e.current=pi[fi],pi[fi]=null,fi--)}function vi(e,t){fi++,pi[fi]=e.current,e.current=t}var gi={},yi=hi(gi),bi=hi(!1),xi=gi;function wi(e,t){var n=e.type.contextTypes;if(!n)return gi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ki(e){return null!=(e=e.childContextTypes)}function Si(){mi(bi),mi(yi)}function Ei(e,t,n){if(yi.current!==gi)throw Error(de(168));vi(yi,t),vi(bi,n)}function Ci(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(de(108,Je(t)||"Unknown",o));return ue({},n,r)}function Oi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gi,xi=yi.current,vi(yi,e),vi(bi,bi.current),!0}function Pi(e,t,n){var r=e.stateNode;if(!r)throw Error(de(169));n?(e=Ci(e,t,xi),r.__reactInternalMemoizedMergedChildContext=e,mi(bi),mi(yi),vi(yi,e)):mi(bi),vi(bi,n)}var Ri=null,Ti=null,Mi=ce.unstable_runWithPriority,Ai=ce.unstable_scheduleCallback,Ii=ce.unstable_cancelCallback,$i=ce.unstable_shouldYield,ji=ce.unstable_requestPaint,Li=ce.unstable_now,_i=ce.unstable_getCurrentPriorityLevel,Ni=ce.unstable_ImmediatePriority,zi=ce.unstable_UserBlockingPriority,Fi=ce.unstable_NormalPriority,Di=ce.unstable_LowPriority,Bi=ce.unstable_IdlePriority,Wi={},Ui=void 0!==ji?ji:function(){},Vi=null,qi=null,Hi=!1,Ki=Li(),Qi=1e4>Ki?Li:function(){return Li()-Ki};function Gi(){switch(_i()){case Ni:return 99;case zi:return 98;case Fi:return 97;case Di:return 96;case Bi:return 95;default:throw Error(de(332))}}function Xi(e){switch(e){case 99:return Ni;case 98:return zi;case 97:return Fi;case 96:return Di;case 95:return Bi;default:throw Error(de(332))}}function Yi(e,t){return e=Xi(e),Mi(e,t)}function Ji(e,t,n){return e=Xi(e),Ai(e,t,n)}function Zi(){if(null!==qi){var e=qi;qi=null,Ii(e)}ea()}function ea(){if(!Hi&&null!==Vi){Hi=!0;var e=0;try{var t=Vi;Yi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Vi=null}catch(t){throw null!==Vi&&(Vi=Vi.slice(e+1)),Ai(Ni,Zi),t}finally{Hi=!1}}}var ta=Oe.ReactCurrentBatchConfig;function na(e,t){if(e&&e.defaultProps){for(var n in t=ue({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ra=hi(null),oa=null,ia=null,aa=null;function la(){aa=ia=oa=null}function sa(e){var t=ra.current;mi(ra),e.type._context._currentValue=t}function ua(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ca(e,t){oa=e,aa=ia=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Bl=!0),e.firstContext=null)}function da(e,t){if(aa!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(aa=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ia){if(null===oa)throw Error(de(308));ia=t,oa.dependencies={lanes:0,firstContext:t,responders:null}}else ia=ia.next=t;return e._currentValue}var pa=!1;function fa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ha(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ma(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function va(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ga(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ya(e,t,n,r){var o=e.updateQueue;pa=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;if(null!==c){var d=(c=c.updateQueue).lastBaseUpdate;d!==a&&(null===d?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=s)}}if(null!==i){for(d=o.baseState,a=0,c=u=s=null;;){l=i.lane;var p=i.eventTime;if((r&l)===l){null!==c&&(c=c.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var f=e,h=i;switch(l=t,p=n,h.tag){case 1:if("function"==typeof(f=h.payload)){d=f.call(p,d,l);break e}d=f;break e;case 3:f.flags=-4097&f.flags|64;case 0:if(null==(l="function"==typeof(f=h.payload)?f.call(p,d,l):f))break e;d=ue({},d,l);break e;case 2:pa=!0}}null!==i.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[i]:l.push(i))}else p={eventTime:p,lane:l,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=l;if(null===(i=i.next)){if(null===(l=o.shared.pending))break;i=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,qs|=a,e.lanes=a,e.memoizedState=d}}function ba(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(de(191,o));o.call(r)}}}var xa=(new se.Component).refs;function wa(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:ue({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ka={isMounted:function(e){return!!(e=e._reactInternals)&&en(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=vu(),o=gu(e),i=ma(r,o);i.payload=t,null!=n&&(i.callback=n),va(e,i),yu(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=vu(),o=gu(e),i=ma(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),va(e,i),yu(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=vu(),r=gu(e),o=ma(n,r);o.tag=2,null!=t&&(o.callback=t),va(e,o),yu(e,r,n)}};function Sa(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!go(n,r)||!go(o,i))}function Ea(e,t,n){var r=!1,o=gi,i=t.contextType;return"object"==typeof i&&null!==i?i=da(i):(o=ki(t)?xi:yi.current,i=(r=null!=(r=t.contextTypes))?wi(e,o):gi),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ka,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ca(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ka.enqueueReplaceState(t,t.state,null)}function Oa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=xa,fa(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=da(i):(i=ki(t)?xi:yi.current,o.context=wi(e,i)),ya(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(wa(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&ka.enqueueReplaceState(o,o.state,null),ya(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var Pa=Array.isArray;function Ra(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(de(309));var r=n.stateNode}if(!r)throw Error(de(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===xa&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(de(284));if(!n._owner)throw Error(de(290,e))}return e}function Ta(e,t){if("textarea"!==e.type)throw Error(de(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ma(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Xu(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function a(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=ec(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Ra(e,t,n),r.return=e,r):((r=Yu(n.type,n.key,n.props,null,e.mode,r)).ref=Ra(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=tc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,i){return null===t||7!==t.tag?((t=Ju(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=ec(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Pe:return(n=Yu(t.type,t.key,t.props,null,e.mode,n)).ref=Ra(e,null,t),n.return=e,n;case Re:return(t=tc(t,e.mode,n)).return=e,t}if(Pa(t)||Ke(t))return(t=Ju(t,e.mode,n,null)).return=e,t;Ta(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Pe:return n.key===o?n.type===Te?c(e,t,n.props.children,r,o):s(e,t,n,r):null;case Re:return n.key===o?u(e,t,n,r):null}if(Pa(n)||Ke(n))return null!==o?null:c(e,t,n,r,null);Ta(e,n)}return null}function f(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Pe:return e=e.get(null===r.key?n:r.key)||null,r.type===Te?c(t,e,r.props.children,o,r.key):s(t,e,r,o);case Re:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Pa(r)||Ke(r))return c(t,e=e.get(n)||null,r,o,null);Ta(t,r)}return null}function h(o,a,l,s){for(var u=null,c=null,h=a,m=a=0,v=null;null!==h&&m<l.length;m++){h.index>m?(v=h,h=null):v=h.sibling;var g=p(o,h,l[m],s);if(null===g){null===h&&(h=v);break}e&&h&&null===g.alternate&&t(o,h),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g,h=v}if(m===l.length)return n(o,h),u;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(a=i(h,a,m),null===c?u=h:c.sibling=h,c=h);return u}for(h=r(o,h);m<l.length;m++)null!==(v=f(h,o,m,l[m],s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&h.forEach((function(e){return t(o,e)})),u}function m(o,a,l,s){var u=Ke(l);if("function"!=typeof u)throw Error(de(150));if(null==(l=u.call(l)))throw Error(de(151));for(var c=u=null,h=a,m=a=0,v=null,g=l.next();null!==h&&!g.done;m++,g=l.next()){h.index>m?(v=h,h=null):v=h.sibling;var y=p(o,h,g.value,s);if(null===y){null===h&&(h=v);break}e&&h&&null===y.alternate&&t(o,h),a=i(y,a,m),null===c?u=y:c.sibling=y,c=y,h=v}if(g.done)return n(o,h),u;if(null===h){for(;!g.done;m++,g=l.next())null!==(g=d(o,g.value,s))&&(a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return u}for(h=r(o,h);!g.done;m++,g=l.next())null!==(g=f(h,o,m,g.value,s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(o,e)})),u}return function(e,r,i,l){var s="object"==typeof i&&null!==i&&i.type===Te&&null===i.key;s&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case Pe:e:{for(u=i.key,s=r;null!==s;){if(s.key===u){if(7===s.tag){if(i.type===Te){n(e,s.sibling),(r=o(s,i.props.children)).return=e,e=r;break e}}else if(s.elementType===i.type){n(e,s.sibling),(r=o(s,i.props)).ref=Ra(e,s,i),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}i.type===Te?((r=Ju(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=Yu(i.type,i.key,i.props,null,e.mode,l)).ref=Ra(e,r,i),l.return=e,e=l)}return a(e);case Re:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=tc(i,e.mode,l)).return=e,e=r}return a(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=ec(i,e.mode,l)).return=e,e=r),a(e);if(Pa(i))return h(e,r,i,l);if(Ke(i))return m(e,r,i,l);if(u&&Ta(e,i),void 0===i&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(de(152,Je(e.type)||"Component"))}return n(e,r)}}var Aa=Ma(!0),Ia=Ma(!1),$a={},ja=hi($a),La=hi($a),_a=hi($a);function Na(e){if(e===$a)throw Error(de(174));return e}function za(e,t){switch(vi(_a,t),vi(La,e),vi(ja,$a),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:bt(null,"");break;default:t=bt(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}mi(ja),vi(ja,t)}function Fa(){mi(ja),mi(La),mi(_a)}function Da(e){Na(_a.current);var t=Na(ja.current),n=bt(t,e.type);t!==n&&(vi(La,e),vi(ja,n))}function Ba(e){La.current===e&&(mi(ja),mi(La))}var Wa=hi(0);function Ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Va=null,qa=null,Ha=!1;function Ka(e,t){var n=Qu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Qa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Ga(e){if(Ha){var t=qa;if(t){var n=t;if(!Qa(e,t)){if(!(t=Zo(n.nextSibling))||!Qa(e,t))return e.flags=-1025&e.flags|2,Ha=!1,void(Va=e);Ka(Va,n)}Va=e,qa=Zo(t.firstChild)}else e.flags=-1025&e.flags|2,Ha=!1,Va=e}}function Xa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Va=e}function Ya(e){if(e!==Va)return!1;if(!Ha)return Xa(e),Ha=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Go(t,e.memoizedProps))for(t=qa;t;)Ka(e,t),t=Zo(t.nextSibling);if(Xa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(de(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){qa=Zo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}qa=null}}else qa=Va?Zo(e.stateNode.nextSibling):null;return!0}function Ja(){qa=Va=null,Ha=!1}var Za=[];function el(){for(var e=0;e<Za.length;e++)Za[e]._workInProgressVersionPrimary=null;Za.length=0}var tl=Oe.ReactCurrentDispatcher,nl=Oe.ReactCurrentBatchConfig,rl=0,ol=null,il=null,al=null,ll=!1,sl=!1;function ul(){throw Error(de(321))}function cl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!mo(e[n],t[n]))return!1;return!0}function dl(e,t,n,r,o,i){if(rl=i,ol=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,tl.current=null===e||null===e.memoizedState?Nl:zl,e=n(r,o),sl){i=0;do{if(sl=!1,!(25>i))throw Error(de(301));i+=1,al=il=null,t.updateQueue=null,tl.current=Fl,e=n(r,o)}while(sl)}if(tl.current=_l,t=null!==il&&null!==il.next,rl=0,al=il=ol=null,ll=!1,t)throw Error(de(300));return e}function pl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===al?ol.memoizedState=al=e:al=al.next=e,al}function fl(){if(null===il){var e=ol.alternate;e=null!==e?e.memoizedState:null}else e=il.next;var t=null===al?ol.memoizedState:al.next;if(null!==t)al=t,il=e;else{if(null===e)throw Error(de(310));e={memoizedState:(il=e).memoizedState,baseState:il.baseState,baseQueue:il.baseQueue,queue:il.queue,next:null},null===al?ol.memoizedState=al=e:al=al.next=e}return al}function hl(e,t){return"function"==typeof t?t(e):t}function ml(e){var t=fl(),n=t.queue;if(null===n)throw Error(de(311));n.lastRenderedReducer=e;var r=il,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=a=i=null,s=o;do{var u=s.lane;if((rl&u)===u)null!==l&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===l?(a=l=c,i=r):l=l.next=c,ol.lanes|=u,qs|=u}s=s.next}while(null!==s&&s!==o);null===l?i=r:l.next=a,mo(r,t.memoizedState)||(Bl=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function vl(e){var t=fl(),n=t.queue;if(null===n)throw Error(de(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);mo(i,t.memoizedState)||(Bl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function gl(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(rl&e)===e)&&(t._workInProgressVersionPrimary=r,Za.push(t))),e)return n(t._source);throw Za.push(t),Error(de(350))}function yl(e,t,n,r){var o=Ns;if(null===o)throw Error(de(349));var i=t._getVersion,a=i(t._source),l=tl.current,s=l.useState((function(){return gl(o,t,n)})),u=s[1],c=s[0];s=al;var d=e.memoizedState,p=d.refs,f=p.getSnapshot,h=d.source;d=d.subscribe;var m=ol;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=i(t._source);if(!mo(a,e)){e=n(t._source),mo(c,e)||(u(e),e=gu(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,l=e;0<l;){var s=31-Gn(l),d=1<<s;r[s]|=e,l&=~d}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=gu(m);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),mo(f,n)&&mo(h,t)&&mo(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:hl,lastRenderedState:c}).dispatch=u=Ll.bind(null,ol,e),s.queue=e,s.baseQueue=null,c=gl(o,t,n),s.memoizedState=s.baseState=c),c}function bl(e,t,n){return yl(fl(),e,t,n)}function xl(e){var t=pl();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:hl,lastRenderedState:e}).dispatch=Ll.bind(null,ol,e),[t.memoizedState,e]}function wl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ol.updateQueue)?(t={lastEffect:null},ol.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function kl(e){return e={current:e},pl().memoizedState=e}function Sl(){return fl().memoizedState}function El(e,t,n,r){var o=pl();ol.flags|=e,o.memoizedState=wl(1|t,n,void 0,void 0===r?null:r)}function Cl(e,t,n,r){var o=fl();r=void 0===r?null:r;var i=void 0;if(null!==il){var a=il.memoizedState;if(i=a.destroy,null!==r&&cl(r,a.deps))return void wl(t,n,i,r)}ol.flags|=e,o.memoizedState=wl(1|t,n,i,r)}function Ol(e,t){return El(516,4,e,t)}function Pl(e,t){return Cl(516,4,e,t)}function Rl(e,t){return Cl(4,2,e,t)}function Tl(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ml(e,t,n){return n=null!=n?n.concat([e]):null,Cl(4,2,Tl.bind(null,t,e),n)}function Al(){}function Il(e,t){var n=fl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&cl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function $l(e,t){var n=fl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&cl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function jl(e,t){var n=Gi();Yi(98>n?98:n,(function(){e(!0)})),Yi(97<n?97:n,(function(){var n=nl.transition;nl.transition=1;try{e(!1),t()}finally{nl.transition=n}}))}function Ll(e,t,n){var r=vu(),o=gu(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===ol||null!==a&&a===ol)sl=ll=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=a(l,n);if(i.eagerReducer=a,i.eagerState=s,mo(s,l))return}catch(e){}yu(e,o,r)}}var _l={readContext:da,useCallback:ul,useContext:ul,useEffect:ul,useImperativeHandle:ul,useLayoutEffect:ul,useMemo:ul,useReducer:ul,useRef:ul,useState:ul,useDebugValue:ul,useDeferredValue:ul,useTransition:ul,useMutableSource:ul,useOpaqueIdentifier:ul,unstable_isNewReconciler:!1},Nl={readContext:da,useCallback:function(e,t){return pl().memoizedState=[e,void 0===t?null:t],e},useContext:da,useEffect:Ol,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,El(4,2,Tl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return El(4,2,e,t)},useMemo:function(e,t){var n=pl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=pl();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ll.bind(null,ol,e),[r.memoizedState,e]},useRef:kl,useState:xl,useDebugValue:Al,useDeferredValue:function(e){var t=xl(e),n=t[0],r=t[1];return Ol((function(){var t=nl.transition;nl.transition=1;try{r(e)}finally{nl.transition=t}}),[e]),n},useTransition:function(){var e=xl(!1),t=e[0];return kl(e=jl.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=pl();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},yl(r,e,t,n)},useOpaqueIdentifier:function(){if(Ha){var e=!1,t=function(e){return{$$typeof:De,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(ti++).toString(36))),Error(de(355))})),n=xl(t)[1];return 0==(2&ol.mode)&&(ol.flags|=516,wl(5,(function(){n("r:"+(ti++).toString(36))}),void 0,null)),t}return xl(t="r:"+(ti++).toString(36)),t},unstable_isNewReconciler:!1},zl={readContext:da,useCallback:Il,useContext:da,useEffect:Pl,useImperativeHandle:Ml,useLayoutEffect:Rl,useMemo:$l,useReducer:ml,useRef:Sl,useState:function(){return ml(hl)},useDebugValue:Al,useDeferredValue:function(e){var t=ml(hl),n=t[0],r=t[1];return Pl((function(){var t=nl.transition;nl.transition=1;try{r(e)}finally{nl.transition=t}}),[e]),n},useTransition:function(){var e=ml(hl)[0];return[Sl().current,e]},useMutableSource:bl,useOpaqueIdentifier:function(){return ml(hl)[0]},unstable_isNewReconciler:!1},Fl={readContext:da,useCallback:Il,useContext:da,useEffect:Pl,useImperativeHandle:Ml,useLayoutEffect:Rl,useMemo:$l,useReducer:vl,useRef:Sl,useState:function(){return vl(hl)},useDebugValue:Al,useDeferredValue:function(e){var t=vl(hl),n=t[0],r=t[1];return Pl((function(){var t=nl.transition;nl.transition=1;try{r(e)}finally{nl.transition=t}}),[e]),n},useTransition:function(){var e=vl(hl)[0];return[Sl().current,e]},useMutableSource:bl,useOpaqueIdentifier:function(){return vl(hl)[0]},unstable_isNewReconciler:!1},Dl=Oe.ReactCurrentOwner,Bl=!1;function Wl(e,t,n,r){t.child=null===e?Ia(t,null,n,r):Aa(t,e.child,n,r)}function Ul(e,t,n,r,o){n=n.render;var i=t.ref;return ca(t,o),r=dl(e,t,n,r,i,o),null===e||Bl?(t.flags|=1,Wl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,us(e,t,o))}function Vl(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Gu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Yu(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ql(e,t,a,r,o,i))}return a=e.child,0==(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:go)(o,r)&&e.ref===t.ref)?us(e,t,i):(t.flags|=1,(e=Xu(a,r)).ref=t.ref,e.return=t,t.child=e)}function ql(e,t,n,r,o,i){if(null!==e&&go(e.memoizedProps,r)&&e.ref===t.ref){if(Bl=!1,0==(i&o))return t.lanes=e.lanes,us(e,t,i);0!=(16384&e.flags)&&(Bl=!0)}return Ql(e,t,n,r,i)}function Hl(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},Ou(t,n);else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Ou(t,e),null;t.memoizedState={baseLanes:0},Ou(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ou(t,r);return Wl(e,t,o,n),t.child}function Kl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ql(e,t,n,r,o){var i=ki(n)?xi:yi.current;return i=wi(t,i),ca(t,o),n=dl(e,t,n,r,i,o),null===e||Bl?(t.flags|=1,Wl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,us(e,t,o))}function Gl(e,t,n,r,o){if(ki(n)){var i=!0;Oi(t)}else i=!1;if(ca(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Ea(t,n,r),Oa(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=da(u):u=wi(t,u=ki(n)?xi:yi.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&Ca(t,a,r,u),pa=!1;var p=t.memoizedState;a.state=p,ya(t,r,a,o),s=t.memoizedState,l!==r||p!==s||bi.current||pa?("function"==typeof c&&(wa(t,n,c,r),s=t.memoizedState),(l=pa||Sa(t,n,l,r,p,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,ha(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:na(t.type,l),a.props=u,d=t.pendingProps,p=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=da(s):s=wi(t,s=ki(n)?xi:yi.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||p!==s)&&Ca(t,a,r,s),pa=!1,p=t.memoizedState,a.state=p,ya(t,r,a,o);var h=t.memoizedState;l!==d||p!==h||bi.current||pa?("function"==typeof f&&(wa(t,n,f,r),h=t.memoizedState),(u=pa||Sa(t,n,u,r,p,h,s))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),r=!1)}return Xl(e,t,n,r,i,o)}function Xl(e,t,n,r,o,i){Kl(e,t);var a=0!=(64&t.flags);if(!r&&!a)return o&&Pi(t,n,!1),us(e,t,i);r=t.stateNode,Dl.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Aa(t,e.child,null,i),t.child=Aa(t,null,l,i)):Wl(e,t,l,i),t.memoizedState=r.state,o&&Pi(t,n,!0),t.child}function Yl(e){var t=e.stateNode;t.pendingContext?Ei(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ei(0,t.context,!1),za(e,t.containerInfo)}var Jl,Zl,es,ts={dehydrated:null,retryLane:0};function ns(e,t,n){var r,o=t.pendingProps,i=Wa.current,a=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),vi(Wa,1&i),null===e?(void 0!==o.fallback&&Ga(t),e=o.children,i=o.fallback,a?(e=rs(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=ts,e):"number"==typeof o.unstable_expectedLoadTime?(e=rs(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=ts,t.lanes=33554432,e):((n=Zu({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=is(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=ts,o):(n=os(e,t,o.children,n),t.memoizedState=null,n))}function rs(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Zu(t,o,0,null),n=Ju(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function os(e,t,n,r){var o=e.child;return e=o.sibling,n=Xu(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function is(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:n};return 0==(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=l,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Xu(a,l),null!==e?r=Xu(e,r):(r=Ju(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function as(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ua(e.return,t)}function ls(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function ss(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Wl(e,t,r.children,n),0!=(2&(r=Wa.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&as(e,n);else if(19===e.tag)as(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(vi(Wa,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ua(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ls(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ua(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ls(t,!0,n,null,i,t.lastEffect);break;case"together":ls(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function us(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),qs|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(de(153));if(null!==t.child){for(n=Xu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Xu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function cs(e,t){if(!Ha)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ds(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return ki(t.type)&&Si(),null;case 3:return Fa(),mi(bi),mi(yi),el(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ya(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ba(t);var o=Na(_a.current);if(n=t.type,null!==e&&null!=t.stateNode)Zl(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(de(166));return null}if(e=Na(ja.current),Ya(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ri]=t,r[oi]=i,n){case"dialog":Lo("cancel",r),Lo("close",r);break;case"iframe":case"object":case"embed":Lo("load",r);break;case"video":case"audio":for(e=0;e<Ao.length;e++)Lo(Ao[e],r);break;case"source":Lo("error",r);break;case"img":case"image":case"link":Lo("error",r),Lo("load",r);break;case"details":Lo("toggle",r);break;case"input":it(r,i),Lo("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Lo("invalid",r);break;case"textarea":ft(r,i),Lo("invalid",r)}for(var a in Rt(n,i),e=null,i)i.hasOwnProperty(a)&&(o=i[a],"children"===a?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):fe.hasOwnProperty(a)&&null!=o&&"onScroll"===a&&Lo("scroll",r));switch(n){case"input":tt(r),st(r,i,!0);break;case"textarea":tt(r),mt(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=qo)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(a=9===o.nodeType?o:o.ownerDocument,e===vt&&(e=yt(n)),e===vt?"script"===n?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[ri]=t,e[oi]=r,Jl(e,t),t.stateNode=e,a=Tt(n,r),n){case"dialog":Lo("cancel",e),Lo("close",e),o=r;break;case"iframe":case"object":case"embed":Lo("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ao.length;o++)Lo(Ao[o],e);o=r;break;case"source":Lo("error",e),o=r;break;case"img":case"image":case"link":Lo("error",e),Lo("load",e),o=r;break;case"details":Lo("toggle",e),o=r;break;case"input":it(e,r),o=ot(e,r),Lo("invalid",e);break;case"option":o=ct(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ue({},r,{value:void 0}),Lo("invalid",e);break;case"textarea":ft(e,r),o=pt(e,r),Lo("invalid",e);break;default:o=r}Rt(n,o);var l=o;for(i in l)if(l.hasOwnProperty(i)){var s=l[i];"style"===i?Ot(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&wt(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&kt(e,s):"number"==typeof s&&kt(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(fe.hasOwnProperty(i)?null!=s&&"onScroll"===i&&Lo("scroll",e):null!=s&&Ce(e,i,s,a))}switch(n){case"input":tt(e),st(e,r,!1);break;case"textarea":tt(e),mt(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Ze(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?dt(e,!!r.multiple,i,!1):null!=r.defaultValue&&dt(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=qo)}Qo(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)es(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(de(166));n=Na(_a.current),Na(ja.current),Ya(t)?(r=t.stateNode,n=t.memoizedProps,r[ri]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ri]=t,t.stateNode=r)}return null;case 13:return mi(Wa),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Ya(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Wa.current)?0===Ws&&(Ws=3):(0!==Ws&&3!==Ws||(Ws=4),null===Ns||0==(134217727&qs)&&0==(134217727&Hs)||ku(Ns,Fs))),(r||n)&&(t.flags|=4),null);case 4:return Fa(),null===e&&No(t.stateNode.containerInfo),null;case 10:return sa(t),null;case 19:if(mi(Wa),null===(r=t.memoizedState))return null;if(i=0!=(64&t.flags),null===(a=r.rendering))if(i)cs(r,!1);else{if(0!==Ws||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(a=Ua(e))){for(t.flags|=64,cs(r,!1),null!==(i=a.updateQueue)&&(t.updateQueue=i,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(a=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return vi(Wa,1&Wa.current|2),t.child}e=e.sibling}null!==r.tail&&Qi()>Xs&&(t.flags|=64,i=!0,cs(r,!1),t.lanes=33554432)}else{if(!i)if(null!==(e=Ua(a))){if(t.flags|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),cs(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!Ha)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Qi()-r.renderingStartTime>Xs&&1073741824!==n&&(t.flags|=64,i=!0,cs(r,!1),t.lanes=33554432);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=r.last)?n.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Qi(),n.sibling=null,t=Wa.current,vi(Wa,i?1&t|2:1&t),n):null;case 23:case 24:return Pu(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(de(156,t.tag))}function ps(e){switch(e.tag){case 1:ki(e.type)&&Si();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Fa(),mi(bi),mi(yi),el(),0!=(64&(t=e.flags)))throw Error(de(285));return e.flags=-4097&t|64,e;case 5:return Ba(e),null;case 13:return mi(Wa),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return mi(Wa),null;case 4:return Fa(),null;case 10:return sa(e),null;case 23:case 24:return Pu(),null;default:return null}}function fs(e,t){try{var n="",r=t;do{n+=Ye(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function hs(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Jl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Zl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Na(ja.current);var i,a=null;switch(n){case"input":o=ot(e,o),r=ot(e,r),a=[];break;case"option":o=ct(e,o),r=ct(e,r),a=[];break;case"select":o=ue({},o,{value:void 0}),r=ue({},r,{value:void 0}),a=[];break;case"textarea":o=pt(e,o),r=pt(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=qo)}for(u in Rt(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(fe.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var s=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(fe.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&Lo("scroll",e),a||l===s||(a=[])):"object"==typeof s&&null!==s&&s.$$typeof===De?s.toString():(a=a||[]).push(u,s))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},es=function(e,t,n,r){n!==r&&(t.flags|=4)};var ms="function"==typeof WeakMap?WeakMap:Map;function vs(e,t,n){(n=ma(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){eu||(eu=!0,tu=r),hs(0,t)},n}function gs(e,t,n){(n=ma(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return hs(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===nu?nu=new Set([this]):nu.add(this),hs(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ys="function"==typeof WeakSet?WeakSet:Set;function bs(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Vu(e,t)}else t.current=null}function xs(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:na(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Jo(t.stateNode.containerInfo))}throw Error(de(163))}function ws(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Bu(n,e),Du(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:na(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ba(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}ba(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Qo(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Pn(n)))))}throw Error(de(163))}function ks(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=Ct("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Ss(e,t){if(Ti&&"function"==typeof Ti.onCommitFiberUnmount)try{Ti.onCommitFiberUnmount(Ri,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Bu(t,n);else{r=t;try{o()}catch(e){Vu(r,e)}}n=n.next}while(n!==e)}break;case 1:if(bs(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Vu(t,e)}break;case 5:bs(t);break;case 4:Ts(e,t)}}function Es(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Cs(e){return 5===e.tag||3===e.tag||4===e.tag}function Os(e){e:{for(var t=e.return;null!==t;){if(Cs(t))break e;t=t.return}throw Error(de(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(de(161))}16&n.flags&&(kt(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Cs(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Ps(e,n,t):Rs(e,n,t)}function Ps(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=qo));else if(4!==r&&null!==(e=e.child))for(Ps(e,t,n),e=e.sibling;null!==e;)Ps(e,t,n),e=e.sibling}function Rs(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Rs(e,t,n),e=e.sibling;null!==e;)Rs(e,t,n),e=e.sibling}function Ts(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(de(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var a=e,l=o,s=l;;)if(Ss(a,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===l)break e;for(;null===s.sibling;){if(null===s.return||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(a=n,l=o.stateNode,8===a.nodeType?a.parentNode.removeChild(l):a.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(Ss(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Ms(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[oi]=r,"input"===e&&"radio"===r.type&&null!=r.name&&at(n,r),Tt(e,o),t=Tt(e,r),o=0;o<i.length;o+=2){var a=i[o],l=i[o+1];"style"===a?Ot(n,l):"dangerouslySetInnerHTML"===a?wt(n,l):"children"===a?kt(n,l):Ce(n,a,l,t)}switch(e){case"input":lt(n,r);break;case"textarea":ht(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?dt(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?dt(n,!!r.multiple,r.defaultValue,!0):dt(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(de(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Pn(n.containerInfo)));case 13:return null!==t.memoizedState&&(Gs=Qi(),ks(t.child,!0)),void As(t);case 19:return void As(t);case 23:case 24:return void ks(t,null!==t.memoizedState)}throw Error(de(163))}function As(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ys),t.forEach((function(t){var r=Hu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Is(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var $s=Math.ceil,js=Oe.ReactCurrentDispatcher,Ls=Oe.ReactCurrentOwner,_s=0,Ns=null,zs=null,Fs=0,Ds=0,Bs=hi(0),Ws=0,Us=null,Vs=0,qs=0,Hs=0,Ks=0,Qs=null,Gs=0,Xs=1/0;function Ys(){Xs=Qi()+500}var Js,Zs=null,eu=!1,tu=null,nu=null,ru=!1,ou=null,iu=90,au=[],lu=[],su=null,uu=0,cu=null,du=-1,pu=0,fu=0,hu=null,mu=!1;function vu(){return 0!=(48&_s)?Qi():-1!==du?du:du=Qi()}function gu(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Gi()?1:2;if(0===pu&&(pu=Vs),0!==ta.transition){0!==fu&&(fu=null!==Qs?Qs.pendingLanes:0),e=pu;var t=4186112&~fu;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Gi(),0!=(4&_s)&&98===e?e=qn(12,pu):e=qn(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),pu),e}function yu(e,t,n){if(50<uu)throw uu=0,cu=null,Error(de(185));if(null===(e=bu(e,t)))return null;Qn(e,t,n),e===Ns&&(Hs|=t,4===Ws&&ku(e,Fs));var r=Gi();1===t?0!=(8&_s)&&0==(48&_s)?Su(e):(xu(e,n),0===_s&&(Ys(),Zi())):(0==(4&_s)||98!==r&&99!==r||(null===su?su=new Set([e]):su.add(e)),xu(e,n)),Qs=e}function bu(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function xu(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var l=31-Gn(a),s=1<<l,u=i[l];if(-1===u){if(0==(s&r)||0!=(s&o)){u=t,Wn(s);var c=Bn;i[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);a&=~s}if(r=Un(e,e===Ns?Fs:0),t=Bn,0===r)null!==n&&(n!==Wi&&Ii(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Wi&&Ii(n)}15===t?(n=Su.bind(null,e),null===Vi?(Vi=[n],qi=Ai(Ni,ea)):Vi.push(n),n=Wi):14===t?n=Ji(99,Su.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(de(358,e))}}(t),n=Ji(n,wu.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function wu(e){if(du=-1,fu=pu=0,0!=(48&_s))throw Error(de(327));var t=e.callbackNode;if(Fu()&&e.callbackNode!==t)return null;var n=Un(e,e===Ns?Fs:0);if(0===n)return null;var r=n,o=_s;_s|=16;var i=Mu();for(Ns===e&&Fs===r||(Ys(),Ru(e,r));;)try{$u();break}catch(t){Tu(e,t)}if(la(),js.current=i,_s=o,null!==zs?r=0:(Ns=null,Fs=0,r=Ws),0!=(Vs&Hs))Ru(e,0);else if(0!==r){if(2===r&&(_s|=64,e.hydrate&&(e.hydrate=!1,Jo(e.containerInfo)),0!==(n=Vn(e))&&(r=Au(e,n))),1===r)throw t=Us,Ru(e,0),ku(e,n),xu(e,Qi()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(de(345));case 2:case 5:_u(e);break;case 3:if(ku(e,n),(62914560&n)===n&&10<(r=Gs+500-Qi())){if(0!==Un(e,0))break;if(((o=e.suspendedLanes)&n)!==n){vu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Xo(_u.bind(null,e),r);break}_u(e);break;case 4:if(ku(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var a=31-Gn(n);i=1<<a,(a=r[a])>o&&(o=a),n&=~i}if(n=o,10<(n=(120>(n=Qi()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*$s(n/1960))-n)){e.timeoutHandle=Xo(_u.bind(null,e),n);break}_u(e);break;default:throw Error(de(329))}}return xu(e,Qi()),e.callbackNode===t?wu.bind(null,e):null}function ku(e,t){for(t&=~Ks,t&=~Hs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Gn(t),r=1<<n;e[n]=-1,t&=~r}}function Su(e){if(0!=(48&_s))throw Error(de(327));if(Fu(),e===Ns&&0!=(e.expiredLanes&Fs)){var t=Fs,n=Au(e,t);0!=(Vs&Hs)&&(n=Au(e,t=Un(e,t)))}else n=Au(e,t=Un(e,0));if(0!==e.tag&&2===n&&(_s|=64,e.hydrate&&(e.hydrate=!1,Jo(e.containerInfo)),0!==(t=Vn(e))&&(n=Au(e,t))),1===n)throw n=Us,Ru(e,0),ku(e,t),xu(e,Qi()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,_u(e),xu(e,Qi()),null}function Eu(e,t){var n=_s;_s|=1;try{return e(t)}finally{0===(_s=n)&&(Ys(),Zi())}}function Cu(e,t){var n=_s;_s&=-2,_s|=8;try{return e(t)}finally{0===(_s=n)&&(Ys(),Zi())}}function Ou(e,t){vi(Bs,Ds),Ds|=t,Vs|=t}function Pu(){Ds=Bs.current,mi(Bs)}function Ru(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Yo(n)),null!==zs)for(n=zs.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Si();break;case 3:Fa(),mi(bi),mi(yi),el();break;case 5:Ba(r);break;case 4:Fa();break;case 13:case 19:mi(Wa);break;case 10:sa(r);break;case 23:case 24:Pu()}n=n.return}Ns=e,zs=Xu(e.current,null),Fs=Ds=Vs=t,Ws=0,Us=null,Ks=Hs=qs=0}function Tu(e,t){for(;;){var n=zs;try{if(la(),tl.current=_l,ll){for(var r=ol.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ll=!1}if(rl=0,al=il=ol=null,sl=!1,Ls.current=null,null===n||null===n.return){Ws=1,Us=t,zs=null;break}e:{var i=e,a=n.return,l=n,s=t;if(t=Fs,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=0!=(1&Wa.current),p=a;do{var f;if(f=13===p.tag){var h=p.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var m=p.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(f){var v=p.updateQueue;if(null===v){var g=new Set;g.add(u),p.updateQueue=g}else v.add(u);if(0==(2&p.mode)){if(p.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var y=ma(-1,1);y.tag=2,va(l,y)}l.lanes|=1;break e}s=void 0,l=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new ms,s=new Set,b.set(u,s)):void 0===(s=b.get(u))&&(s=new Set,b.set(u,s)),!s.has(l)){s.add(l);var x=qu.bind(null,i,u,l);u.then(x,x)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);s=Error((Je(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ws&&(Ws=2),s=fs(s,l),p=a;do{switch(p.tag){case 3:i=s,p.flags|=4096,t&=-t,p.lanes|=t,ga(p,vs(0,i,t));break e;case 1:i=s;var w=p.type,k=p.stateNode;if(0==(64&p.flags)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===nu||!nu.has(k)))){p.flags|=4096,t&=-t,p.lanes|=t,ga(p,gs(p,i,t));break e}}p=p.return}while(null!==p)}Lu(n)}catch(e){t=e,zs===n&&null!==n&&(zs=n=n.return);continue}break}}function Mu(){var e=js.current;return js.current=_l,null===e?_l:e}function Au(e,t){var n=_s;_s|=16;var r=Mu();for(Ns===e&&Fs===t||Ru(e,t);;)try{Iu();break}catch(t){Tu(e,t)}if(la(),_s=n,js.current=r,null!==zs)throw Error(de(261));return Ns=null,Fs=0,Ws}function Iu(){for(;null!==zs;)ju(zs)}function $u(){for(;null!==zs&&!$i();)ju(zs)}function ju(e){var t=Js(e.alternate,e,Ds);e.memoizedProps=e.pendingProps,null===t?Lu(e):zs=t,Ls.current=null}function Lu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=ds(n,t,Ds)))return void(zs=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Ds)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=ps(t)))return n.flags&=2047,void(zs=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(zs=t);zs=t=e}while(null!==t);0===Ws&&(Ws=5)}function _u(e){var t=Gi();return Yi(99,Nu.bind(null,e,t)),null}function Nu(e,t){do{Fu()}while(null!==ou);if(0!=(48&_s))throw Error(de(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(de(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var a=e.eventTimes,l=e.expirationTimes;0<i;){var s=31-Gn(i),u=1<<s;o[s]=0,a[s]=-1,l[s]=-1,i&=~u}if(null!==su&&0==(24&r)&&su.has(e)&&su.delete(e),e===Ns&&(zs=Ns=null,Fs=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=_s,_s|=32,Ls.current=null,Ho=er,ko(a=wo())){if("selectionStart"in a)l={start:a.selectionStart,end:a.selectionEnd};else e:if(l=(l=a.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch(e){l=null;break e}var c=0,d=-1,p=-1,f=0,h=0,m=a,v=null;t:for(;;){for(var g;m!==l||0!==i&&3!==m.nodeType||(d=c+i),m!==s||0!==u&&3!==m.nodeType||(p=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(g=m.firstChild);)v=m,m=g;for(;;){if(m===a)break t;if(v===l&&++f===i&&(d=c),v===s&&++h===u&&(p=c),null!==(g=m.nextSibling))break;v=(m=v).parentNode}m=g}l=-1===d||-1===p?null:{start:d,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Ko={focusedElem:a,selectionRange:l},er=!1,hu=null,mu=!1,Zs=r;do{try{zu()}catch(e){if(null===Zs)throw Error(de(330));Vu(Zs,e),Zs=Zs.nextEffect}}while(null!==Zs);hu=null,Zs=r;do{try{for(a=e;null!==Zs;){var y=Zs.flags;if(16&y&&kt(Zs.stateNode,""),128&y){var b=Zs.alternate;if(null!==b){var x=b.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&y){case 2:Os(Zs),Zs.flags&=-3;break;case 6:Os(Zs),Zs.flags&=-3,Ms(Zs.alternate,Zs);break;case 1024:Zs.flags&=-1025;break;case 1028:Zs.flags&=-1025,Ms(Zs.alternate,Zs);break;case 4:Ms(Zs.alternate,Zs);break;case 8:Ts(a,l=Zs);var w=l.alternate;Es(l),null!==w&&Es(w)}Zs=Zs.nextEffect}}catch(e){if(null===Zs)throw Error(de(330));Vu(Zs,e),Zs=Zs.nextEffect}}while(null!==Zs);if(x=Ko,b=wo(),y=x.focusedElem,a=x.selectionRange,b!==y&&y&&y.ownerDocument&&xo(y.ownerDocument.documentElement,y)){null!==a&&ko(y)&&(b=a.start,void 0===(x=a.end)&&(x=b),"selectionStart"in y?(y.selectionStart=b,y.selectionEnd=Math.min(x,y.value.length)):(x=(b=y.ownerDocument||document)&&b.defaultView||window).getSelection&&(x=x.getSelection(),l=y.textContent.length,w=Math.min(a.start,l),a=void 0===a.end?w:Math.min(a.end,l),!x.extend&&w>a&&(l=a,a=w,w=l),l=bo(y,w),i=bo(y,a),l&&i&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==i.node||x.focusOffset!==i.offset)&&((b=b.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),w>a?(x.addRange(b),x.extend(i.node,i.offset)):(b.setEnd(i.node,i.offset),x.addRange(b))))),b=[];for(x=y;x=x.parentNode;)1===x.nodeType&&b.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<b.length;y++)(x=b[y]).element.scrollLeft=x.left,x.element.scrollTop=x.top}er=!!Ho,Ko=Ho=null,e.current=n,Zs=r;do{try{for(y=e;null!==Zs;){var k=Zs.flags;if(36&k&&ws(y,Zs.alternate,Zs),128&k){b=void 0;var S=Zs.ref;if(null!==S){var E=Zs.stateNode;Zs.tag,b=E,"function"==typeof S?S(b):S.current=b}}Zs=Zs.nextEffect}}catch(e){if(null===Zs)throw Error(de(330));Vu(Zs,e),Zs=Zs.nextEffect}}while(null!==Zs);Zs=null,Ui(),_s=o}else e.current=n;if(ru)ru=!1,ou=e,iu=t;else for(Zs=r;null!==Zs;)t=Zs.nextEffect,Zs.nextEffect=null,8&Zs.flags&&((k=Zs).sibling=null,k.stateNode=null),Zs=t;if(0===(r=e.pendingLanes)&&(nu=null),1===r?e===cu?uu++:(uu=0,cu=e):uu=0,n=n.stateNode,Ti&&"function"==typeof Ti.onCommitFiberRoot)try{Ti.onCommitFiberRoot(Ri,n,void 0,64==(64&n.current.flags))}catch(e){}if(xu(e,Qi()),eu)throw eu=!1,e=tu,tu=null,e;return 0!=(8&_s)||Zi(),null}function zu(){for(;null!==Zs;){var e=Zs.alternate;mu||null===hu||(0!=(8&Zs.flags)?on(Zs,hu)&&(mu=!0):13===Zs.tag&&Is(e,Zs)&&on(Zs,hu)&&(mu=!0));var t=Zs.flags;0!=(256&t)&&xs(e,Zs),0==(512&t)||ru||(ru=!0,Ji(97,(function(){return Fu(),null}))),Zs=Zs.nextEffect}}function Fu(){if(90!==iu){var e=97<iu?97:iu;return iu=90,Yi(e,Wu)}return!1}function Du(e,t){au.push(t,e),ru||(ru=!0,Ji(97,(function(){return Fu(),null})))}function Bu(e,t){lu.push(t,e),ru||(ru=!0,Ji(97,(function(){return Fu(),null})))}function Wu(){if(null===ou)return!1;var e=ou;if(ou=null,0!=(48&_s))throw Error(de(331));var t=_s;_s|=32;var n=lu;lu=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],a=o.destroy;if(o.destroy=void 0,"function"==typeof a)try{a()}catch(e){if(null===i)throw Error(de(330));Vu(i,e)}}for(n=au,au=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===i)throw Error(de(330));Vu(i,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return _s=t,Zi(),!0}function Uu(e,t,n){va(e,t=vs(0,t=fs(n,t),1)),t=vu(),null!==(e=bu(e,1))&&(Qn(e,1,t),xu(e,t))}function Vu(e,t){if(3===e.tag)Uu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Uu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===nu||!nu.has(r))){var o=gs(n,e=fs(t,e),1);if(va(n,o),o=vu(),null!==(n=bu(n,1)))Qn(n,1,o),xu(n,o);else if("function"==typeof r.componentDidCatch&&(null===nu||!nu.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function qu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=vu(),e.pingedLanes|=e.suspendedLanes&n,Ns===e&&(Fs&n)===n&&(4===Ws||3===Ws&&(62914560&Fs)===Fs&&500>Qi()-Gs?Ru(e,0):Ks|=n),xu(e,t)}function Hu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Gi()?1:2:(0===pu&&(pu=Vs),0===(t=Hn(62914560&~pu))&&(t=4194304))),n=vu(),null!==(e=bu(e,t))&&(Qn(e,t,n),xu(e,n))}function Ku(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Qu(e,t,n,r){return new Ku(e,t,n,r)}function Gu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Xu(e,t){var n=e.alternate;return null===n?((n=Qu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Yu(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Gu(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case Te:return Ju(n.children,o,i,t);case Be:a=8,o|=16;break;case Me:a=8,o|=1;break;case Ae:return(e=Qu(12,n,t,8|o)).elementType=Ae,e.type=Ae,e.lanes=i,e;case Le:return(e=Qu(13,n,t,o)).type=Le,e.elementType=Le,e.lanes=i,e;case _e:return(e=Qu(19,n,t,o)).elementType=_e,e.lanes=i,e;case We:return Zu(n,o,i,t);case Ue:return(e=Qu(24,n,t,o)).elementType=Ue,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ie:a=10;break e;case $e:a=9;break e;case je:a=11;break e;case Ne:a=14;break e;case ze:a=16,r=null;break e;case Fe:a=22;break e}throw Error(de(130,null==e?e:typeof e,""))}return(t=Qu(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Ju(e,t,n,r){return(e=Qu(7,e,r,t)).lanes=n,e}function Zu(e,t,n,r){return(e=Qu(23,e,r,t)).elementType=We,e.lanes=n,e}function ec(e,t,n){return(e=Qu(6,e,null,t)).lanes=n,e}function tc(e,t,n){return(t=Qu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function nc(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Kn(0),this.expirationTimes=Kn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kn(0),this.mutableSourceEagerHydrationData=null}function rc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Re,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function oc(e,t,n,r){var o=t.current,i=vu(),a=gu(o);e:if(n){t:{if(en(n=n._reactInternals)!==n||1!==n.tag)throw Error(de(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(ki(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(de(171))}if(1===n.tag){var s=n.type;if(ki(s)){n=Ci(n,s,l);break e}}n=l}else n=gi;return null===t.context?t.context=n:t.pendingContext=n,(t=ma(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),va(o,t),yu(o,a,i),a}function ic(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function ac(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function lc(e,t){ac(e,t),(e=e.alternate)&&ac(e,t)}function sc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new nc(e,t,null!=n&&!0===n.hydrate),t=Qu(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,fa(t),e[ii]=n.current,No(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function uc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function cc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=ic(a);l.call(e)}}oc(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new sc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var s=o;o=function(){var e=ic(a);s.call(e)}}Cu((function(){oc(t,a,e,o)}))}return ic(a)}function dc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!uc(t))throw Error(de(200));return rc(e,t,null,n)}Js=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||bi.current)Bl=!0;else{if(0==(n&r)){switch(Bl=!1,t.tag){case 3:Yl(t),Ja();break;case 5:Da(t);break;case 1:ki(t.type)&&Oi(t);break;case 4:za(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;vi(ra,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?ns(e,t,n):(vi(Wa,1&Wa.current),null!==(t=us(e,t,n))?t.sibling:null);vi(Wa,1&Wa.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return ss(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),vi(Wa,Wa.current),r)break;return null;case 23:case 24:return t.lanes=0,Hl(e,t,n)}return us(e,t,n)}Bl=0!=(16384&e.flags)}else Bl=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=wi(t,yi.current),ca(t,n),o=dl(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ki(r)){var i=!0;Oi(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,fa(t);var a=r.getDerivedStateFromProps;"function"==typeof a&&wa(t,r,a,e),o.updater=ka,t.stateNode=o,o._reactInternals=t,Oa(t,r,e,n),t=Xl(null,t,r,!0,i,n)}else t.tag=0,Wl(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Gu(e)?1:0;if(null!=e){if((e=e.$$typeof)===je)return 11;if(e===Ne)return 14}return 2}(o),e=na(o,e),i){case 0:t=Ql(null,t,o,e,n);break e;case 1:t=Gl(null,t,o,e,n);break e;case 11:t=Ul(null,t,o,e,n);break e;case 14:t=Vl(null,t,o,na(o.type,e),r,n);break e}throw Error(de(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ql(e,t,r,o=t.elementType===r?o:na(r,o),n);case 1:return r=t.type,o=t.pendingProps,Gl(e,t,r,o=t.elementType===r?o:na(r,o),n);case 3:if(Yl(t),r=t.updateQueue,null===e||null===r)throw Error(de(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ha(e,t),ya(t,r,null,n),(r=t.memoizedState.element)===o)Ja(),t=us(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(qa=Zo(t.stateNode.containerInfo.firstChild),Va=t,i=Ha=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Za.push(i);for(n=Ia(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Wl(e,t,r,n),Ja();t=t.child}return t;case 5:return Da(t),null===e&&Ga(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,Go(r,o)?a=null:null!==i&&Go(r,i)&&(t.flags|=16),Kl(e,t),Wl(e,t,a,n),t.child;case 6:return null===e&&Ga(t),null;case 13:return ns(e,t,n);case 4:return za(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Aa(t,null,r,n):Wl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ul(e,t,r,o=t.elementType===r?o:na(r,o),n);case 7:return Wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return Wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value;var l=t.type._context;if(vi(ra,l._currentValue),l._currentValue=i,null!==a)if(l=a.value,0===(i=mo(l,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(a.children===o.children&&!bi.current){t=us(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.dependencies;if(null!==s){a=l.child;for(var u=s.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&i)){1===l.tag&&((u=ma(-1,n&-n)).tag=2,va(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),ua(l.return,n),s.lanes|=n;break}u=u.next}}else a=10===l.tag&&l.type===t.type?null:l.child;if(null!==a)a.return=l;else for(a=l;null!==a;){if(a===t){a=null;break}if(null!==(l=a.sibling)){l.return=a.return,a=l;break}a=a.return}l=a}Wl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ca(t,n),r=r(o=da(o,i.unstable_observedBits)),t.flags|=1,Wl(e,t,r,n),t.child;case 14:return i=na(o=t.type,t.pendingProps),Vl(e,t,o,i=na(o.type,i),r,n);case 15:return ql(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:na(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ki(r)?(e=!0,Oi(t)):e=!1,ca(t,n),Ea(t,r,o),Oa(t,r,o,n),Xl(null,t,r,!0,e,n);case 19:return ss(e,t,n);case 23:case 24:return Hl(e,t,n)}throw Error(de(156,t.tag))},sc.prototype.render=function(e){oc(e,this._internalRoot,null,null)},sc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;oc(null,e,null,(function(){t[ii]=null}))},an=function(e){13===e.tag&&(yu(e,4,vu()),lc(e,4))},ln=function(e){13===e.tag&&(yu(e,67108864,vu()),lc(e,67108864))},sn=function(e){if(13===e.tag){var t=vu(),n=gu(e);yu(e,n,t),lc(e,n)}},un=function(e,t){return t()},At=function(e,t,n){switch(t){case"input":if(lt(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ci(r);if(!o)throw Error(de(90));nt(r),lt(r,o)}}}break;case"textarea":ht(e,n);break;case"select":null!=(t=n.value)&&dt(e,!!n.multiple,t,!1)}},Nt=Eu,zt=function(e,t,n,r,o){var i=_s;_s|=4;try{return Yi(98,e.bind(null,t,n,r,o))}finally{0===(_s=i)&&(Ys(),Zi())}},Ft=function(){0==(49&_s)&&(function(){if(null!==su){var e=su;su=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,xu(e,Qi())}))}Zi()}(),Fu())},Dt=function(e,t){var n=_s;_s|=2;try{return e(t)}finally{0===(_s=n)&&(Ys(),Zi())}};var pc,fc={Events:[si,ui,ci,Lt,_t,Fu,{current:!1}]},hc={findFiberByHostInstance:li,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},mc={bundleType:hc.bundleType,version:hc.version,rendererPackageName:hc.rendererPackageName,rendererConfig:hc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Oe.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rn(e))?null:e.stateNode},findFiberByHostInstance:hc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var vc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vc.isDisabled&&vc.supportsFiber)try{Ri=vc.inject(mc),Ti=vc}catch(lI){}}ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fc,ee.createPortal=dc,ee.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(de(188));throw Error(de(268,Object.keys(e)))}return e=null===(e=rn(t))?null:e.stateNode},ee.flushSync=function(e,t){var n=_s;if(0!=(48&n))return e(t);_s|=1;try{if(e)return Yi(99,e.bind(null,t))}finally{_s=n,Zi()}},ee.hydrate=function(e,t,n){if(!uc(t))throw Error(de(200));return cc(null,e,t,!0,n)},ee.render=function(e,t,n){if(!uc(t))throw Error(de(200));return cc(null,e,t,!1,n)},ee.unmountComponentAtNode=function(e){if(!uc(e))throw Error(de(40));return!!e._reactRootContainer&&(Cu((function(){cc(null,null,e,!1,(function(){e._reactRootContainer=null,e[ii]=null}))})),!0)},ee.unstable_batchedUpdates=Eu,ee.unstable_createPortal=function(e,t){return dc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},ee.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!uc(n))throw Error(de(200));if(null==e||void 0===e._reactInternals)throw Error(de(38));return cc(e,t,n,!1,r)},ee.version="17.0.2",pc=Z,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),pc.exports=ee;var gc=p(Z.exports),yc="__tolgee_dev_tools",bc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._popup=null,t}return r(t,e),Object.defineProperty(t.prototype,"document",{get:function(){return this.props.document||document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"devTools",{get:function(){var e;return(null===(e=this.document.getElementById(yc))||void 0===e?void 0:e.shadowRoot)||this.document.body},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._popup=this.document.createElement("div"),this.devTools.appendChild(this._popup),this._render()},t.prototype.componentDidUpdate=function(){this._render()},t.prototype.componentWillUnmount=function(){this._popup&&(Z.exports.unmountComponentAtNode(this._popup),this.devTools.removeChild(this._popup))},t.prototype._render=function(){Z.exports.render(h.exports.createElement(h.exports.Fragment,null,this.props.children),this._popup)},t.prototype.render=function(){return null},t}(h.exports.PureComponent),xc=function(e){return new Promise((function(t){return setTimeout(t,e)}))};const wc=Symbol(),kc=Symbol(),Sc="undefined"==typeof window||/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent)?h.exports.useEffect:h.exports.useLayoutEffect,Ec=ae.exports.unstable_runWithPriority?e=>ae.exports.unstable_runWithPriority(ae.exports.unstable_NormalPriority,e):e=>e();var Cc=function(e,t,n){var r;if(!(null==t?void 0:t.length))return!0;var o=null===(r=null==n?void 0:n.find((function(t){return t.tag===e})))||void 0===r?void 0:r.id;return void 0===o||t.includes(o)};function Oc(e,t){return Oc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oc(e,t)}function Pc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Oc(e,t)}var Rc=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==n})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();function Tc(){return Tc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tc.apply(this,arguments)}var Mc="undefined"==typeof window;function Ac(){}function Ic(e){return"number"==typeof e&&e>=0&&e!==1/0}function $c(e){return Array.isArray(e)?e:[e]}function jc(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Lc(e,t,n){return Hc(e)?"function"==typeof t?Tc({},n,{queryKey:e,queryFn:t}):Tc({},t,{queryKey:e}):e}function _c(e,t,n){return Hc(e)?[Tc({},t,{queryKey:e}),n]:[e||{},t]}function Nc(e,t){var n=e.active,r=e.exact,o=e.fetching,i=e.inactive,a=e.predicate,l=e.queryKey,s=e.stale;if(Hc(l))if(r){if(t.queryHash!==Fc(l,t.options))return!1}else if(!Bc(t.queryKey,l))return!1;var u=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,i);if("none"===u)return!1;if("all"!==u){var c=t.isActive();if("active"===u&&!c)return!1;if("inactive"===u&&c)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(("boolean"!=typeof o||t.isFetching()===o)&&!(a&&!a(t)))}function zc(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(Hc(i)){if(!t.options.mutationKey)return!1;if(n){if(Dc(t.options.mutationKey)!==Dc(i))return!1}else if(!Bc(t.options.mutationKey,i))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function Fc(e,t){return((null==t?void 0:t.queryKeyHashFn)||Dc)(e)}function Dc(e){var t,n=$c(e);return t=n,JSON.stringify(t,(function(e,t){return Vc(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function Bc(e,t){return Wc($c(e),$c(t))}function Wc(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!Wc(e[n],t[n])})))}function Uc(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||Vc(e)&&Vc(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},l=0,s=0;s<i;s++){var u=n?s:o[s];a[u]=Uc(e[u],t[u]),a[u]===e[u]&&l++}return r===i&&l===r?e:a}return t}function Vc(e){if(!qc(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!qc(n)&&!!n.hasOwnProperty("isPrototypeOf")}function qc(e){return"[object Object]"===Object.prototype.toString.call(e)}function Hc(e){return"string"==typeof e||Array.isArray(e)}function Kc(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function Qc(){if("function"==typeof AbortController)return new AbortController}var Gc=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!Mc&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}Pc(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setFocused(e):n.onFocus()}))},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(e){e()}))},n.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(Rc)),Xc=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!Mc&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},t}Pc(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setOnline(e):n.onOnline()}))},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(e){e()}))},n.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(Rc));function Yc(e){return Math.min(1e3*Math.pow(2,e),3e4)}function Jc(e){return"function"==typeof(null==e?void 0:e.cancel)}var Zc=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function ed(e){return e instanceof Zc}var td=function(e){var t,n,r,o,i=this,a=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){a=!0},this.continueRetry=function(){a=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){r=e,o=t}));var l=function(t){i.isResolved||(i.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),r(t))},s=function(t){i.isResolved||(i.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),o(t))};!function r(){if(!i.isResolved){var o;try{o=e.fn()}catch(e){o=Promise.reject(e)}t=function(e){if(!i.isResolved&&(s(new Zc(e)),null==i.abort||i.abort(),Jc(o)))try{o.cancel()}catch(e){}},i.isTransportCancelable=Jc(o),Promise.resolve(o).then(l).catch((function(t){var o,l;if(!i.isResolved){var u,c=null!=(o=e.retry)?o:3,d=null!=(l=e.retryDelay)?l:Yc,p="function"==typeof d?d(i.failureCount,t):d,f=!0===c||"number"==typeof c&&i.failureCount<c||"function"==typeof c&&c(i.failureCount,t);if(!a&&f)i.failureCount++,null==e.onFail||e.onFail(i.failureCount,t),(u=p,new Promise((function(e){setTimeout(e,u)}))).then((function(){if(!Gc.isFocused()||!Xc.isOnline())return new Promise((function(t){n=t,i.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,i.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){a?s(t):r()}));else s(t)}}))}}()},nd=new(function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):Kc((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];t.schedule((function(){e.apply(void 0,r)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&Kc((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}()),rd=console;function od(){return rd}var id=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=Tc({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),Ic(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,o=this.state.data,i=function(e,t){return"function"==typeof e?e(t):e}(e,o);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,o,i))?i=o:!1!==this.options.structuralSharing&&(i=Uc(o,i)),this.dispatch({data:i,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),i},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(Ac).catch(Ac):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!jc(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,r,o,i=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var a;return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var l=this.observers.find((function(e){return e.options.queryFn}));l&&this.setOptions(l.options)}var s=$c(this.queryKey),u=Qc(),c={queryKey:s,pageParam:void 0,meta:this.meta};Object.defineProperty(c,"signal",{enumerable:!0,get:function(){if(u)return i.abortSignalConsumed=!0,u.signal}});var d,p,f={fetchOptions:t,options:this.options,queryKey:s,state:this.state,fetchFn:function(){return i.options.queryFn?(i.abortSignalConsumed=!1,i.options.queryFn(c)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(d=this.options.behavior)||d.onFetch(f));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=f.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(p=f.fetchOptions)?void 0:p.meta});return this.retryer=new td({fn:f.fetchFn,abort:null==u||null==(o=u.abort)?void 0:o.bind(u),onSuccess:function(e){i.setData(e),null==i.cache.config.onSuccess||i.cache.config.onSuccess(e,i),0===i.cacheTime&&i.optionalRemove()},onError:function(e){ed(e)&&e.silent||i.dispatch({type:"error",error:e}),ed(e)||(null==i.cache.config.onError||i.cache.config.onError(e,i),od().error(e)),0===i.cacheTime&&i.optionalRemove()},onFail:function(){i.dispatch({type:"failed"})},onPause:function(){i.dispatch({type:"pause"})},onContinue:function(){i.dispatch({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),nd.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},t.reducer=function(e,t){var n,r;switch(t.type){case"failed":return Tc({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return Tc({},e,{isPaused:!0});case"continue":return Tc({},e,{isPaused:!1});case"fetch":return Tc({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return Tc({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(r=t.dataUpdatedAt)?r:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=t.error;return ed(o)&&o.revert&&this.revertState?Tc({},this.revertState):Tc({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return Tc({},e,{isInvalidated:!0});case"setState":return Tc({},e,t.state);default:return e}},e}(),ad=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}Pc(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,i=null!=(r=t.queryHash)?r:Fc(o,t),a=this.get(i);return a||(a=new id({cache:this,queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(a)),a},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;nd.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=_c(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return Nc(n,e)}))},n.findAll=function(e,t){var n=_c(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return Nc(n,e)})):this.queries},n.notify=function(e){var t=this;nd.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;nd.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;nd.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(Rc),ld=function(){function e(e){this.options=Tc({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||sd(),this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(Ac).catch(Ac)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),r.then((function(){return t.executeMutation()})).then((function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),od().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new td({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return Tc({},e,{failureCount:e.failureCount+1});case"pause":return Tc({},e,{isPaused:!0});case"continue":return Tc({},e,{isPaused:!1});case"loading":return Tc({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return Tc({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return Tc({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return Tc({},e,t.state);default:return e}}(this.state,e),nd.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function sd(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}var ud=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}Pc(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new ld({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},n.clear=function(){var e=this;nd.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},n.getAll=function(){return this.mutations},n.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return zc(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return zc(e,t)}))},n.notify=function(e){var t=this;nd.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return nd.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(Ac)}))}),Promise.resolve())}))},t}(Rc);function cd(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var dd=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new ad,this.mutationCache=e.mutationCache||new ud,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=Gc.subscribe((function(){Gc.isFocused()&&Xc.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=Xc.subscribe((function(){Gc.isFocused()&&Xc.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=_c(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll(Tc({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,n){var r=Lc(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return nd.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var o=e.queryKey;return[o,r.setQueryData(o,t,n)]}))}))},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=_c(e,t)[0],r=this.queryCache;nd.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var r=this,o=_c(e,t,n),i=o[0],a=o[1],l=this.queryCache,s=Tc({},i,{active:!0});return nd.batch((function(){return l.findAll(i).forEach((function(e){e.reset()})),r.refetchQueries(s,a)}))},t.cancelQueries=function(e,t,n){var r=this,o=_c(e,t,n),i=o[0],a=o[1],l=void 0===a?{}:a;void 0===l.revert&&(l.revert=!0);var s=nd.batch((function(){return r.queryCache.findAll(i).map((function(e){return e.cancel(l)}))}));return Promise.all(s).then(Ac).catch(Ac)},t.invalidateQueries=function(e,t,n){var r,o,i,a=this,l=_c(e,t,n),s=l[0],u=l[1],c=Tc({},s,{active:null==(r=null!=(o=s.refetchActive)?o:s.active)||r,inactive:null!=(i=s.refetchInactive)&&i});return nd.batch((function(){return a.queryCache.findAll(s).forEach((function(e){e.invalidate()})),a.refetchQueries(c,u)}))},t.refetchQueries=function(e,t,n){var r=this,o=_c(e,t,n),i=o[0],a=o[1],l=nd.batch((function(){return r.queryCache.findAll(i).map((function(e){return e.fetch(void 0,Tc({},a,{meta:{refetchPage:null==i?void 0:i.refetchPage}}))}))})),s=Promise.all(l).then(Ac);return(null==a?void 0:a.throwOnError)||(s=s.catch(Ac)),s},t.fetchQuery=function(e,t,n){var r=Lc(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(Ac).catch(Ac)},t.fetchInfiniteQuery=function(e,t,n){var r=Lc(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,o,i,a,l,s,u,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,d=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,p=null==d?void 0:d.pageParam,f="forward"===(null==d?void 0:d.direction),h="backward"===(null==d?void 0:d.direction),m=(null==(i=e.state.data)?void 0:i.pages)||[],v=(null==(a=e.state.data)?void 0:a.pageParams)||[],g=Qc(),y=null==g?void 0:g.signal,b=v,x=!1,w=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},k=function(e,t,n,r){return b=r?[t].concat(b):[].concat(b,[t]),r?[n].concat(e):[].concat(e,[n])},S=function(t,n,r,o){if(x)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);var i={queryKey:e.queryKey,signal:y,pageParam:r,meta:e.meta},a=w(i),l=Promise.resolve(a).then((function(e){return k(t,r,e,o)}));return Jc(a)&&(l.cancel=a.cancel),l};if(m.length)if(f){var E=void 0!==p,C=E?p:cd(e.options,m);l=S(m,E,C)}else if(h){var O=void 0!==p,P=O?p:(s=e.options,u=m,null==s.getPreviousPageParam?void 0:s.getPreviousPageParam(u[0],u));l=S(m,O,P,!0)}else!function(){b=[];var t=void 0===e.options.getNextPageParam,n=!c||!m[0]||c(m[0],0,m);l=n?S([],t,v[0]):Promise.resolve(k([],v[0],m[0]));for(var r=function(n){l=l.then((function(r){if(!c||!m[n]||c(m[n],n,m)){var o=t?v[n]:cd(e.options,r);return S(r,t,o)}return Promise.resolve(k(r,v[n],m[n]))}))},o=1;o<m.length;o++)r(o)}();else l=S([]);var R=l.then((function(e){return{pages:e,pageParams:b}}));return R.cancel=function(){x=!0,null==g||g.abort(),Jc(l)&&l.cancel()},R}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(Ac).catch(Ac)},t.cancelMutations=function(){var e=this,t=nd.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(Ac).catch(Ac)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find((function(t){return Dc(e)===Dc(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return Bc(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return Dc(e)===Dc(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return Bc(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=Tc({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=Fc(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:Tc({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),pd=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}Pc(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),fd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return hd(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return hd(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var o=this.hasListeners();o&&md(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!o||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var i=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&i===this.currentRefetchInterval||this.updateRefetchInterval(i)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},o=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return o(t),e[t]}})})),(t.useErrorBoundary||t.suspense)&&o("error"),r},n.getNextResult=function(e){var t=this;return new Promise((function(n,r){var o=t.subscribe((function(t){t.isFetching||(o(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch(Tc({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return t.createResult(r,n)}))},n.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(Ac)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!Mc&&!this.currentResult.isStale&&Ic(this.options.staleTime)){var t=jc(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},n.computeRefetchInterval=function(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!Mc&&!1!==this.options.enabled&&Ic(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||Gc.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(e,t){var n,r=this.currentQuery,o=this.options,i=this.currentResult,a=this.currentResultState,l=this.currentResultOptions,s=e!==r,u=s?e.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,d=e.state,p=d.dataUpdatedAt,f=d.error,h=d.errorUpdatedAt,m=d.isFetching,v=d.status,g=!1,y=!1;if(t.optimisticResults){var b=this.hasListeners(),x=!b&&fd(e,t),w=b&&md(e,r,t,o);(x||w)&&(m=!0,p||(v="loading"))}if(t.keepPreviousData&&!d.dataUpdateCount&&(null==c?void 0:c.isSuccess)&&"error"!==v)n=c.data,p=c.dataUpdatedAt,v=c.status,g=!0;else if(t.select&&void 0!==d.data)if(i&&d.data===(null==a?void 0:a.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(d.data),!1!==t.structuralSharing&&(n=Uc(null==i?void 0:i.data,n)),this.selectResult=n,this.selectError=null}catch(e){od().error(e),this.selectError=e}else n=d.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===v||"idle"===v)){var k;if((null==i?void 0:i.isPlaceholderData)&&t.placeholderData===(null==l?void 0:l.placeholderData))k=i.data;else if(k="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==k)try{k=t.select(k),!1!==t.structuralSharing&&(k=Uc(null==i?void 0:i.data,k)),this.selectError=null}catch(e){od().error(e),this.selectError=e}void 0!==k&&(v="success",n=k,y=!0)}return this.selectError&&(f=this.selectError,n=this.selectResult,h=Date.now(),v="error"),{status:v,isLoading:"loading"===v,isSuccess:"success"===v,isError:"error"===v,isIdle:"idle"===v,data:n,dataUpdatedAt:p,error:f,errorUpdatedAt:h,failureCount:d.fetchFailureCount,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:m,isRefetching:m&&"loading"!==v,isLoadingError:"error"===v&&0===d.dataUpdatedAt,isPlaceholderData:y,isPreviousData:g,isRefetchError:"error"===v&&0!==d.dataUpdatedAt,isStale:vd(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,o=n.notifyOnChangePropsExclusions;if(!r&&!o)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var i="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,a=e[r]!==t[r],l=null==i?void 0:i.some((function(e){return e===n})),s=null==o?void 0:o.some((function(e){return e===n}));return a&&!s&&(!i||l)}))},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!function(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify(Tc({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||ed(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;nd.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(Rc);function fd(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&hd(e,t,t.refetchOnMount)}function hd(e,t,n){if(!1!==t.enabled){var r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&vd(e,t)}return!1}function md(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&vd(e,n)}function vd(e,t){return e.isStaleByTime(t.staleTime)}var gd=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}Pc(t,e);var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},n.onUnsubscribe=function(){var e;this.listeners.length||(null==(e=this.currentMutation)||e.removeObserver(this))},n.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,Tc({},this.options,{variables:void 0!==e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},t=Tc({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},n.notify=function(e){var t=this;nd.batch((function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)}))}))},t}(Rc),yd=gc.unstable_batchedUpdates;nd.setBatchNotifyFunction(yd);var bd=console;rd=bd;var xd=Y.createContext(void 0),wd=Y.createContext(!1);function kd(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=xd),window.ReactQueryClientContext):xd}var Sd=function(){var e=Y.useContext(kd(Y.useContext(wd)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Ed=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,o=e.children;Y.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var i=kd(r);return Y.createElement(wd.Provider,{value:r},Y.createElement(i.Provider,{value:t},o))};var Cd,Od=Y.createContext((Cd=!1,{clearReset:function(){Cd=!1},reset:function(){Cd=!0},isReset:function(){return Cd}}));function Pd(e,t,n){return"function"==typeof t?t.apply(void 0,n):"boolean"==typeof t?t:!!e}function Rd(e,t,n){var r=Y.useRef(!1),o=Y.useState(0)[1],i=function(e,t,n){return Hc(e)?"function"==typeof t?Tc({},n,{mutationKey:e,mutationFn:t}):Tc({},t,{mutationKey:e}):"function"==typeof e?Tc({},t,{mutationFn:e}):Tc({},e)}(e,t,n),a=Sd(),l=Y.useRef();l.current?l.current.setOptions(i):l.current=new gd(a,i);var s=l.current.getCurrentResult();Y.useEffect((function(){r.current=!0;var e=l.current.subscribe(nd.batchCalls((function(){r.current&&o((function(e){return e+1}))})));return function(){r.current=!1,e()}}),[]);var u=Y.useCallback((function(e,t){l.current.mutate(e,t).catch(Ac)}),[]);if(s.error&&Pd(void 0,l.current.options.useErrorBoundary,[s.error]))throw s.error;return Tc({},s,{mutate:u,mutateAsync:s.mutate})}function Td(e,t){var n=Y.useRef(!1),r=Y.useState(0)[1],o=Sd(),i=Y.useContext(Od),a=o.defaultQueryObserverOptions(e);a.optimisticResults=!0,a.onError&&(a.onError=nd.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=nd.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=nd.batchCalls(a.onSettled)),a.suspense&&("number"!=typeof a.staleTime&&(a.staleTime=1e3),0===a.cacheTime&&(a.cacheTime=1)),(a.suspense||a.useErrorBoundary)&&(i.isReset()||(a.retryOnMount=!1));var l=Y.useState((function(){return new t(o,a)}))[0],s=l.getOptimisticResult(a);if(Y.useEffect((function(){n.current=!0,i.clearReset();var e=l.subscribe(nd.batchCalls((function(){n.current&&r((function(e){return e+1}))})));return l.updateResult(),function(){n.current=!1,e()}}),[i,l]),Y.useEffect((function(){l.setOptions(a,{listeners:!1})}),[a,l]),a.suspense&&s.isLoading)throw l.fetchOptimistic(a).then((function(e){var t=e.data;null==a.onSuccess||a.onSuccess(t),null==a.onSettled||a.onSettled(t,null)})).catch((function(e){i.clearReset(),null==a.onError||a.onError(e),null==a.onSettled||a.onSettled(void 0,e)}));if(s.isError&&!i.isReset()&&!s.isFetching&&Pd(a.suspense,a.useErrorBoundary,[s.error,l.getCurrentQuery()]))throw s.error;return"tracked"===a.notifyOnChangeProps&&(s=l.trackResult(s,a)),s}function Md(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".indexOf(e);if(-1===t)throw new Error("Invalid character found: "+e);return t}function Ad(e){for(var t=(e=e.toUpperCase()).length,n=0,r=0,o=0,i=new Uint8Array(5*t/8|0),a=0;a<t;a++)r=r<<5|Md(e[a]),(n+=5)>=8&&(i[o++]=r>>>n-8&255,n-=8);return function(e){for(var t=new Uint8Array(e),n=t.length,r="",o=Math.pow(2,16)-1,i=0;i<n;i+=o)i+o>n&&(o=n-i),r+=String.fromCharCode.apply(null,t.subarray(i,i+o));return r}(i.buffer)}function Id(e){if(e)try{var t=u(e.split("_"),2),n=t[0],r=t[1];if("tgpak"===n){var o=u(Ad(r).split("_"),1)[0];return Number(o)}}catch(e){console.warn("Tolgee: Api key can't be parsed")}}function $d(e){if(e){var t=u(e.split("_"),1)[0];return"tgpak"===t?"tgpak":"tgpat"===t?"tgpat":"legacy"}}function jd(e){return a(this,void 0,void 0,(function(){var t;return l(this,(function(n){switch(n.label){case 0:return[4,e.text()];case 1:t=n.sent();try{return[2,JSON.parse(t)]}catch(e){return[2,t]}return[2]}}))}))}var Ld=function(e){return e?Object.entries(e).reduce((function(e,t){var n,r=u(t,2),i=r[0],a=r[1];return Array.isArray(a)||"object"!=typeof a?o(o({},e),((n={})[i]=a,n)):o(o({},e),Ld(a))}),{}):{}};function _d(e,t,n){return a(this,void 0,void 0,(function(){var r=this;return l(this,(function(i){if(void 0===t.apiUrl)throw"Api url not specified";if(void 0===t.apiKey)throw"Api key not specified";return(n=n||{}).headers=n.headers||{},n.headers=o(o({},n.headers),{"X-API-Key":t.apiKey}),[2,fetch(t.apiUrl+e,n).then((function(e){return a(r,void 0,void 0,(function(){var t,n;return l(this,(function(r){switch(r.label){case 0:return e.ok?[3,2]:[4,jd(e)];case 1:throw t=r.sent(),n="".concat(e.status,": ").concat((null==t?void 0:t.message)||"Error status code from server"),new Error(n);case 2:return[4,jd(e)];case 3:return[2,r.sent()]}}))}))})).catch((function(e){throw e.message||"Failed to fetch"}))]}))}))}function Nd(e,t,n,r){var o,i;return a(this,void 0,void 0,(function(){var a,s,c,d,p,f,h,m,v,g;return l(this,(function(l){var y;return a=(null==n?void 0:n.path)||{},s=e,void 0!==(c=Id(r.apiKey)||r.projectId)&&(a.projectId=c,s=function(e){return e.replace("/projects/","/projects/{projectId}/")}(s)),a&&Object.entries(a).forEach((function(e){var t=u(e,2),n=t[0],r=t[1];s=s.replace("{".concat(n,"}"),r)})),d=null===(o=null==n?void 0:n.content)||void 0===o?void 0:o["multipart/form-data"],p=void 0,d&&(p=new FormData,Object.entries(d).forEach((function(e){var t=u(e,2),n=t[0],r=t[1];if(Array.isArray(r)){var o=void 0;return"[object File]"===Object.prototype.toString.call(r)&&(o=r.name),void r.forEach((function(e){return null==p?void 0:p.append(n,e,o)}))}null==p||p.append(n,r)}))),f=JSON.stringify(null===(i=null==n?void 0:n.content)||void 0===i?void 0:i["application/json"]),h=null==n?void 0:n.query,m="",v=Ld(h),y=v,g=Object.keys(y).filter((function(e){return!!y[e]})).map((function(e){return Array.isArray(y[e])?y[e].map((function(t){return encodeURIComponent(e)+"="+encodeURIComponent(t)})).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(y[e])})).join("&"),g&&(m="?"+g),[2,_d(s+m,r,{method:t,body:p||f,headers:f?{"Content-Type":"application/json"}:void 0})]}))}))}var zd=new dd({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1}}}),Fd=Y.createContext({}),Dd=function(e){var t=e.children,n=e.apiUrl,r=e.apiKey,o=e.projectId;return Y.createElement(Fd.Provider,{value:{apiUrl:n,apiKey:r,projectId:o}},Y.createElement(Ed,{client:zd},t))},Bd=function(e){var t=e.url,n=e.method,r=e.options,o=i(e,["url","method","options"]),a=h.exports.useContext(Fd);return Td(Lc([t,null==o?void 0:o.path,null==o?void 0:o.query],(function(){return Nd(t,n,o,a)}),r),pd)},Wd=function(e){var t=Sd(),n=e.url,r=e.method,i=e.options,a=e.invalidatePrefix,l=h.exports.useContext(Fd),s=Rd((function(e){return Nd(n,r,e,l)}),i),d=function(e){return o(o({},e),{onSuccess:function(){for(var n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];void 0!==a&&Ud(t,a),null===(n=null==e?void 0:e.onSuccess)||void 0===n||n.call.apply(n,c([e],u(r),!1))}})},p=h.exports.useCallback((function(e,t){return s.mutate(e,d(t))}),[s.mutate]),f=h.exports.useCallback((function(e,t){return s.mutateAsync(e,d(t))}),[s.mutateAsync]);return o(o({},s),{mutate:p,mutateAsync:f})},Ud=function(e,t){return e.invalidateQueries(function(e){return{predicate:function(t){var n;return null===(n=t.queryKey[0])||void 0===n?void 0:n.startsWith(e)}}}(t))},Vd=function(e){for(var t=[],n=0;n<e.length;n++)"file"===e[n].kind&&t.push(e[n].getAsFile());return t};function qd(e,t){return Boolean(null==t?void 0:t.includes(e))}function Hd(){try{return JSON.parse(localStorage.getItem("__tolgee_preferredLanguages")||"")}catch(e){return[]}}function Kd(e){localStorage.setItem("__tolgee_preferredLanguages",JSON.stringify(e))}var Qd=function(e,t,n,r){var o=n.map((function(n){var o=u(n,2),i=o[0],a=o[1];return r({language:i,namespace:t},e,a)}));return{revert:function(){return o.forEach((function(e){return e.revert()}))}}};function Gd(e){var t=this,n=e.message,r=e.recievingMessage,o=e.data,i=e.attempts,s=void 0===i?1:i,u=!1,c=function(){return new Promise((function(e,t){var i=function(e,t){var n=function(n){var r,o;e.includes(null===(r=n.data)||void 0===r?void 0:r.type)&&t(null===(o=n.data)||void 0===o?void 0:o.data)};return window.addEventListener("message",n,!1),{unsubscribe:function(){window.removeEventListener("message",n)}}}(r,(function(t){clearTimeout(a),l(),e(t)}));window.postMessage({type:n,data:o},window.origin);var a=setTimeout((function(){l(),t()}),300);function l(){i.unsubscribe()}}))};return{cancel:function(){return u=!0},promise:a(t,void 0,void 0,(function(){var e;return l(this,(function(t){switch(t.label){case 0:e=0,t.label=1;case 1:if(!(e<s))return[3,6];if(u)return[2,new Promise((function(){}))];t.label=2;case 2:return t.trys.push([2,4,,5]),[4,c()];case 3:return[2,t.sent()];case 4:return t.sent(),[3,5];case 5:return e++,[3,1];case 6:if(!u)throw"Didn't recieve ".concat(r.join(" or ")," in time.");return[2,new Promise((function(){}))]}}))}))}}var Xd,Yd,Jd,Zd,ep=function(e){var t=u(h.exports.useState(void 0),2),n=t[0],r=t[1],i=u(h.exports.useState(!1),2),s=i[0],d=i[1],p=u(h.exports.useState([]),2),f=p[0],m=p[1],v=u(h.exports.useState(null),2),g=v[0],y=v[1];h.exports.useEffect((function(){(function(){return a(this,void 0,void 0,(function(){return l(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,Gd({message:"TOLGEE_PING",recievingMessage:["TOLGEE_PONG"],attempts:2}).promise];case 1:return e.sent(),[2,!0];case 2:return e.sent(),[2,!1];case 3:return[2]}}))}))})().then((function(e){return r(e)}))}),[]);var b=Wd({url:"/v2/image-upload/{ids}",method:"delete"}),x=Wd({url:"/v2/image-upload",method:"post",options:{onSuccess:function(e){m((function(t){return c(c([],u(t),!1),[o(o({},e),{justUploaded:!0})],!1)}))}}}),w=function(e){return x.mutate({content:{"multipart/form-data":{image:e}}})};return{error:b.error||x.error,screenshotsUploading:x.isLoading,takingScreenshot:s,screenshots:f,setScreenshots:m,screenshotDetail:g,setScreenshotDetail:y,handleUploadImages:function(e){return a(this,void 0,void 0,(function(){return l(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return w(e)})))];case 1:return t.sent(),[2]}}))}))},handleTakeScreenshot:function(t,n,r){return a(this,void 0,void 0,(function(){var o,i,a,s,u;return l(this,(function(l){switch(l.label){case 0:return d(!0),o=e.highlight(t,n).unhighlight,i=Qd(t,n,Object.entries(r),e.changeTranslation).revert,[4,xc(100)];case 1:l.sent(),l.label=2;case 2:return l.trys.push([2,4,5,6]),[4,Gd({message:"TOLGEE_TAKE_SCREENSHOT",recievingMessage:["TOLGEE_SCREENSHOT_TAKEN"]}).promise];case 3:return a=l.sent(),[3,6];case 4:return s=l.sent(),console.error(s),[2];case 5:return i(),o(),d(!1),[7];case 6:return[4,fetch(a).then((function(e){return e.blob()}))];case 7:return u=l.sent(),w(u),[2]}}))}))},handleRemoveScreenshot:function(e){var t=f.find((function(t){return t.id===e}));(null==t?void 0:t.justUploaded)&&b.mutate({path:{ids:[t.id]}}),m(f.filter((function(t){return t.id!==e})))},deleteImages:function(e){b.mutate({path:{ids:e}})},canTakeScreenshots:n}},tp=(Xd=u((Yd=function(e){var t,n,r,s,d,p,f,m,v,g,y,b,x,w=u(h.exports.useState(!1),2),k=w[0],S=w[1],E=u(h.exports.useState({}),2),C=E[0],O=E[1],P=u(h.exports.useState(!1),2),R=P[0],T=P[1],M=u(h.exports.useState(e.ns[0]),2),A=M[0],I=M[1],$=u(h.exports.useState([]),2),j=$[0],L=$[1],_="tgpat"===$d(e.uiProps.apiKey),N=ep(e.uiProps),z=N.screenshots,F=N.setScreenshots,D=N.screenshotDetail,B=N.setScreenshotDetail,W=N.screenshotsUploading,U=N.takingScreenshot,V=N.handleRemoveScreenshot,q=N.handleUploadImages,H=N.deleteImages,K=N.canTakeScreenshots,Q=N.error,G=i(N,["screenshots","setScreenshots","screenshotDetail","setScreenshotDetail","screenshotsUploading","takingScreenshot","handleRemoveScreenshot","handleUploadImages","deleteImages","canTakeScreenshots","error"]),X=Bd({url:"/v2/api-keys/current",method:"get",options:{enabled:!_}}),Y=Bd({url:"/v2/projects/languages",method:"get",options:{onSuccess:function(e){var t,n,r,o,i=(r=(null===(n=null===(t=e._embedded)||void 0===t?void 0:t.languages)||void 0===n?void 0:n.map((function(e){return e.tag})))||[],o=Hd().filter((function(e){return r.includes(e)})),0===o.length&&(o=r),o.slice(0,5));ne(i),Kd(i)}}}),J=Wd({url:"/v2/projects/keys/create",method:"post"}),Z=h.exports.useMemo((function(){var e,t,n,r;return n=null===(t=null===(e=Y.data)||void 0===e?void 0:e._embedded)||void 0===t?void 0:t.languages,r=null==n?void 0:n.find((function(e){return e.base})),r?c([r],u((n||[]).filter((function(e){return e!==r}))),!1):n}),[Y.data]),ee=u(h.exports.useState(Hd()),2),te=ee[0],ne=ee[1],re=Bd({url:"/v2/projects/translations",method:"get",query:{filterKeyName:[e.keyName],filterNamespace:e.ns,languages:te},options:{keepPreviousData:!0,onSuccess:function(e){var t,n,r,i,a={},l=null===(n=null===(t=e._embedded)||void 0===t?void 0:t.keys)||void 0===n?void 0:n[0];Object.entries((null==l?void 0:l.translations)||{}).forEach((function(e){var t=u(e,2),n=t[0],r=t[1];a[n]=r.text||""})),O(a),L((null===(r=null==l?void 0:l.keyTags)||void 0===r?void 0:r.map((function(e){return e.name})))||[]),F((null===(i=null==l?void 0:l.screenshots)||void 0===i?void 0:i.map((function(e){return o(o({},e),{justUploaded:!1})})))||[])}}}),oe=h.exports.useMemo((function(){var t,n,r=null===(n=null===(t=re.data)||void 0===t?void 0:t._embedded)||void 0===n?void 0:n.keys;return(null==r?void 0:r.length)?[r[0].keyNamespace||""]:e.ns}),[re.data]),ie=Wd({url:"/v2/projects/keys/{id}/complex-update",method:"put"}),ae=null===(r=null===(n=null===(t=re.data)||void 0===t?void 0:t._embedded)||void 0===n?void 0:n.keys)||void 0===r?void 0:r[0],le=void 0!==(null===(s=X.data)||void 0===s?void 0:s.projectId)?"".concat(e.uiProps.apiUrl,"/projects/").concat(null===(d=X.data)||void 0===d?void 0:d.projectId,"/translations/single?key=").concat(e.keyName).concat(void 0!==A?"&ns=".concat(A):""):void 0,se=u(h.exports.useState(void 0),2),ue=se[0],ce=se[1],de=u(h.exports.useState(!1),2),pe=de[0],fe=de[1],he=null===(p=X.data)||void 0===p?void 0:p.permittedLanguageIds;function me(){if(D)B(null);else{e.onClose(),fe(!1);var t=ve();t.length&&H(t),F([])}}h.exports.useEffect((function(){var e=function(e){"Escape"===e.key&&me()};if(!pe)return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[pe]);var ve=function(){return z.filter((function(e){return e.justUploaded})).map((function(e){return e.id}))},ge=function(){var e;return(null===(e=null==ae?void 0:ae.screenshots)||void 0===e?void 0:e.map((function(e){return e.id})).filter((function(e){return!z.find((function(t){return t.id===e}))})))||[]};h.exports.useEffect((function(){var t;if(e.defaultValue&&Z&&te&&C){var n=Z.find((function(e){return e.base}));if(n&&te.includes(n.tag)&&!R){var r=void 0!==(null==ae?void 0:ae.translations[n.tag]);C[n.tag]||r||O(o(o({},C),((t={})[n.tag]=e.defaultValue,t)))}}}),[Z,C,te,e.defaultValue]);var ye,be,xe=null==Z?void 0:Z.find((function(e){return e.base})),we=Y.isFetching||re.isLoading&&!re.data||X.isFetching,ke=ie.isLoading||J.isLoading,Se=Y.error||re.error||X.error||J.error||ie.error||Q,Ee=null===(f=X.data)||void 0===f?void 0:f.scopes,Ce=!_&&(we||((null===(g=null===(v=null===(m=re.data)||void 0===m?void 0:m._embedded)||void 0===v?void 0:v.keys)||void 0===g?void 0:g.length)?!qd("translations.edit",Ee):!qd("keys.edit",Ee))),Oe=!Ce&&qd("keys.edit",Ee),Pe=Boolean(null===(x=null===(b=null===(y=re.data)||void 0===y?void 0:y._embedded)||void 0===b?void 0:b.keys)||void 0===x?void 0:x.length),Re={input:e.keyName,open:e.open,ns:oe,selectedNs:A,loading:we,saving:ke,success:k,error:Se,availableLanguages:Z,selectedLanguages:(ye=te,be=null==xe?void 0:xe.tag,be&&ye.includes(be)?c([be],u(ye.filter((function(e){return e!==be}))),!1):ye),formDisabled:Ce,translations:ae,translationsForm:C,container:ue,useBrowserWindow:pe,canTakeScreenshots:K,takingScreenshot:U,screenshotsUploading:W,screenshots:z,screenshotDetail:D,linkToPlatform:le,keyExists:Pe,scopes:Ee,permittedLanguageIds:he,tags:j,canEditTags:Oe},Te={onInputChange:function(e,t){var n;S(!1),T(!0),O(o(o({},C),((n={})[e]=t,n)))},handleUploadImages:q,handleTakeScreenshot:function(){G.handleTakeScreenshot(e.keyName,A,C)},handleRemoveScreenshot:V,onSave:function(){return a(this,void 0,void 0,(function(){var t,n;return l(this,(function(r){switch(r.label){case 0:return r.trys.push([0,9,10,11]),t={},Object.entries(C).forEach((function(e){var n=u(e,2),r=n[0],o=n[1];Cc(r,he,Z)&&(t[r]=o)})),void 0!==ae?[3,2]:[4,J.mutateAsync({content:{"application/json":{name:e.keyName,namespace:A||void 0,translations:t,screenshotUploadedImageIds:z.map((function(e){return e.id})),tags:j}}})];case 1:return r.sent(),[3,4];case 2:return[4,ie.mutateAsync({content:{"application/json":{name:e.keyName,namespace:A||void 0,translations:t,screenshotIdsToDelete:ge(),screenshotUploadedImageIds:ve(),tags:j}},path:{id:ae.keyId}})];case 3:r.sent(),r.label=4;case 4:return Qd(e.keyName,A,Object.entries(t),e.uiProps.changeTranslation),re.refetch(),S(!0),pe?[4,xc(2e3)]:[3,6];case 5:return r.sent(),S(!1),[3,8];case 6:return[4,xc(400)];case 7:r.sent(),e.onClose(),r.label=8;case 8:return[3,11];case 9:return n=r.sent(),console.error(n),[3,11];case 10:return S(!1),[7];case 11:return[2]}}))}))},onClose:me,onSelectedLanguagesChange:function(e){e.length&&(ne(e),Kd(e))},setContainer:ce,setUseBrowserWindow:fe,setScreenshotDetail:B,setSelectedNs:I,setTags:L};return[Re,Te]},Jd=function(e){const t=h.exports.createContext({[wc]:{v:{current:e},n:{current:-1},l:new Set,u:e=>e()}});var n;return t[kc]=t.Provider,t.Provider=(n=t.Provider,({value:e,children:t})=>{const r=h.exports.useRef(e),o=h.exports.useRef(0),[i,a]=h.exports.useState(null);i&&(i(e),a(null));const l=h.exports.useRef();if(!l.current){const e=new Set,t=(t,n)=>{Z.exports.unstable_batchedUpdates((()=>{o.current+=1;const r={n:o.current};null!=n&&n.suspense&&(r.n*=-1,r.p=new Promise((e=>{a((()=>t=>{r.v=t,delete r.p,e(t)}))}))),e.forEach((e=>e(r))),t()}))};l.current={[wc]:{v:r,n:o,l:e,u:t}}}return Sc((()=>{r.current=e,o.current+=1,Ec((()=>{l.current[wc].l.forEach((t=>{t({n:o.current,v:e})}))}))}),[e]),h.exports.createElement(n,{value:l.current},t)}),delete t.Consumer,t}(null),Zd=Y.createContext(null),[function(e){var t=e.children,n=i(e,["children"]),r=u(Yd(n),2),o=r[0],a=r[1],l=h.exports.useRef(a);l.current=a;var s=h.exports.useMemo((function(){var e={};return Object.keys(l.current).map((function(t){e[t]=function(){for(var e,n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return null===(n=(e=l.current)[t])||void 0===n?void 0:n.call.apply(n,c([e],u(r),!1))}})),e}),[l]);return Y.createElement(Jd.Provider,{value:o},Y.createElement(Zd.Provider,{value:s},t))},function(){return Y.useContext(Zd)},function(e){return function(e,t){const n=h.exports.useContext(e)[wc],{v:{current:r},n:{current:o},l:i}=n,a=t(r),[l,s]=h.exports.useReducer(((e,n)=>{if(!n)return[r,a];if("p"in n)throw n.p;if(n.n===o)return Object.is(e[1],a)?e:[r,a];try{if("v"in n){if(Object.is(e[0],n.v))return e;const r=t(n.v);return Object.is(e[1],r)?e:[n.v,r]}}catch(e){}return[...e]}),[r,a]);return Object.is(l[1],a)||s(),Sc((()=>(i.add(s),()=>{i.delete(s)})),[i]),l[1]}(Jd,e)}]),3),Xd[0]),np=Xd[1],rp=Xd[2];function op(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function ip(){return ip=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ip.apply(this,arguments)}var ap={exports:{}};function lp(){}function sp(){}sp.resetWarningCache=lp;function up(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=up(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function cp(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=up(e))&&(r&&(r+=" "),r+=t);return r}function dp(){return dp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dp.apply(this,arguments)}function pp(e){return"string"==typeof e}function fp(e,t={},n){return pp(e)?t:dp({},t,{ownerState:dp({},t.ownerState,n)})}function hp(e,t){return"function"==typeof e?e(t):e}function mp(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function vp(e,t){return()=>null}function gp(){return gp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gp.apply(this,arguments)}function yp(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function bp(e,t,n={clone:!0}){const r=n.clone?gp({},e):e;return yp(e)&&yp(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(yp(t[o])&&o in e&&yp(e[o])?r[o]=bp(e[o],t[o],n):r[o]=t[o])})),r}ap.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:sp,resetWarningCache:lp};return n.PropTypes=n,n}();const xp=(ap.exports.element,()=>null);xp.isRequired=(ap.exports.element.isRequired,()=>null);var wp=(ap.exports.elementType,()=>null);function kp(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Sp,Ep={exports:{}},Cp={},Op=Symbol.for("react.element"),Pp=Symbol.for("react.portal"),Rp=Symbol.for("react.fragment"),Tp=Symbol.for("react.strict_mode"),Mp=Symbol.for("react.profiler"),Ap=Symbol.for("react.provider"),Ip=Symbol.for("react.context"),$p=Symbol.for("react.server_context"),jp=Symbol.for("react.forward_ref"),Lp=Symbol.for("react.suspense"),_p=Symbol.for("react.suspense_list"),Np=Symbol.for("react.memo"),zp=Symbol.for("react.lazy"),Fp=Symbol.for("react.offscreen");function Dp(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Op:switch(e=e.type){case Rp:case Mp:case Tp:case Lp:case _p:return e;default:switch(e=e&&e.$$typeof){case $p:case Ip:case jp:case zp:case Np:case Ap:return e;default:return t}}case Pp:return t}}}Sp=Symbol.for("react.module.reference"),Cp.ContextConsumer=Ip,Cp.ContextProvider=Ap,Cp.Element=Op,Cp.ForwardRef=jp,Cp.Fragment=Rp,Cp.Lazy=zp,Cp.Memo=Np,Cp.Portal=Pp,Cp.Profiler=Mp,Cp.StrictMode=Tp,Cp.Suspense=Lp,Cp.SuspenseList=_p,Cp.isAsyncMode=function(){return!1},Cp.isConcurrentMode=function(){return!1},Cp.isContextConsumer=function(e){return Dp(e)===Ip},Cp.isContextProvider=function(e){return Dp(e)===Ap},Cp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Op},Cp.isForwardRef=function(e){return Dp(e)===jp},Cp.isFragment=function(e){return Dp(e)===Rp},Cp.isLazy=function(e){return Dp(e)===zp},Cp.isMemo=function(e){return Dp(e)===Np},Cp.isPortal=function(e){return Dp(e)===Pp},Cp.isProfiler=function(e){return Dp(e)===Mp},Cp.isStrictMode=function(e){return Dp(e)===Tp},Cp.isSuspense=function(e){return Dp(e)===Lp},Cp.isSuspenseList=function(e){return Dp(e)===_p},Cp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Rp||e===Mp||e===Tp||e===Lp||e===_p||e===Fp||"object"==typeof e&&null!==e&&(e.$$typeof===zp||e.$$typeof===Np||e.$$typeof===Ap||e.$$typeof===Ip||e.$$typeof===jp||e.$$typeof===Sp||void 0!==e.getModuleId)},Cp.typeOf=Dp,Ep.exports=Cp;const Bp=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Wp(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(Bp);return t&&t[1]||""}(e)||t}function Up(e,t,n){const r=Wp(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var Vp="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();const qp=ap.exports.oneOfType([ap.exports.func,ap.exports.object]);function Hp(e){if("string"!=typeof e)throw new Error(kp(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Kp(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function Qp(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function Gp(e,t){return()=>null}function Xp(e,t){return h.exports.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function Yp(e){return e&&e.ownerDocument||document}function Jp(e){return Yp(e).defaultView||window}function Zp(e,t){return()=>null}function ef(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const tf="undefined"!=typeof window?h.exports.useLayoutEffect:h.exports.useEffect;let nf=0;const rf=J.useId;function of(e){if(void 0!==rf){const t=rf();return null!=e?e:t}return function(e){const[t,n]=h.exports.useState(e),r=e||t;return h.exports.useEffect((()=>{null==t&&(nf+=1,n(`mui-${nf}`))}),[t]),r}(e)}function af(e,t,n,r,o){return null}function lf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=h.exports.useRef(void 0!==e),[i,a]=h.exports.useState(t);return[o?e:i,h.exports.useCallback((e=>{o||a(e)}),[])]}function sf(e){const t=h.exports.useRef(e);return tf((()=>{t.current=e})),h.exports.useCallback(((...e)=>(0,t.current)(...e)),[])}function uf(e,t){return h.exports.useMemo((()=>null==e&&null==t?null:n=>{ef(e,n),ef(t,n)}),[e,t])}let cf,df=!0,pf=!1;const ff={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 hf(e){e.metaKey||e.altKey||e.ctrlKey||(df=!0)}function mf(){df=!1}function vf(){"hidden"===this.visibilityState&&pf&&(df=!0)}function gf(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return df||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!ff[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function yf(){const e=h.exports.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",hf,!0),t.addEventListener("mousedown",mf,!0),t.addEventListener("pointerdown",mf,!0),t.addEventListener("touchstart",mf,!0),t.addEventListener("visibilitychange",vf,!0))}),[]),t=h.exports.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!gf(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(pf=!0,window.clearTimeout(cf),cf=window.setTimeout((()=>{pf=!1}),100),t.current=!1,!0)},ref:e}}function bf(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let xf;function wf(){if(xf)return xf;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),xf="reverse",e.scrollLeft>0?xf="default":(e.scrollLeft=1,0===e.scrollLeft&&(xf="negative")),document.body.removeChild(e),xf}function kf(){return null}kf.isRequired=kf;var Sf=kf;function Ef(e,t){const n=gp({},t);return Object.keys(e).forEach((t=>{void 0===n[t]&&(n[t]=e[t])})),n}function Cf(e,t,n){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>(r&&(e.push(t(r)),n&&n[r]&&e.push(n[r])),e)),[]).join(" ")})),r}const Of=e=>e,Pf=(()=>{let e=Of;return{configure(t){e=t},generate:t=>e(t),reset(){e=Of}}})(),Rf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Tf(e,t,n="Mui"){const r=Rf[t];return r?`${n}-${r}`:`${Pf.generate(e)}-${t}`}function Mf(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Tf(e,t,n)})),r}var Af=Object.freeze({__proto__:null,chainPropTypes:vp,deepmerge:bp,isPlainObject:yp,elementAcceptingRef:xp,elementTypeAcceptingRef:wp,exactProp:function(e){return e},formatMuiErrorMessage:kp,getDisplayName:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Wp(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Ep.exports.ForwardRef:return Up(e,e.render,"ForwardRef");case Ep.exports.Memo:return Up(e,e.type,"memo");default:return}}},HTMLElementType:function(e,t,n,r,o){return null},ponyfillGlobal:Vp,refType:qp,unstable_capitalize:Hp,unstable_createChainedFunction:Kp,unstable_debounce:Qp,unstable_deprecatedPropType:Gp,unstable_isMuiElement:Xp,unstable_ownerDocument:Yp,unstable_ownerWindow:Jp,unstable_requirePropFactory:Zp,unstable_setRef:ef,unstable_useEnhancedEffect:tf,unstable_useId:of,unstable_unsupportedProp:af,unstable_useControlled:lf,unstable_useEventCallback:sf,unstable_useForkRef:uf,unstable_useIsFocusVisible:yf,unstable_getScrollbarSize:bf,unstable_detectScrollType:wf,unstable_getNormalizedScrollLeft:function(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(wf()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}},usePreviousProps:e=>{const t=h.exports.useRef({});return h.exports.useEffect((()=>{t.current=e})),t.current},visuallyHidden:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},integerPropType:Sf,internal_resolveProps:Ef,unstable_composeClasses:Cf,unstable_generateUtilityClass:Tf,unstable_generateUtilityClasses:Mf,unstable_ClassNameGenerator:Pf});function If(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function $f(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=cp(null==o?void 0:o.className,null==r?void 0:r.className,i,null==n?void 0:n.className),t=dp({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=dp({},n,o,r);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}(dp({},o,r)),l=If(r),s=If(o),u=t(a),c=cp(null==u?void 0:u.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),d=dp({},null==u?void 0:u.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=dp({},u,n,s,l);return c.length>0&&(p.className=c),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}const jf=["elementType","externalSlotProps","ownerState"];function Lf(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,i=mp(e,jf),a=hp(r,o),{props:l,internalRef:s}=$f(dp({},i,{externalSlotProps:a}));return fp(n,dp({},l,{ref:uf(s,uf(null==a?void 0:a.ref,null==(t=e.additionalProps)?void 0:t.ref))}),o)}function _f(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Nf(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const zf=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:i,trim:a=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let u=a?l.trim():l;n&&(u=u.toLowerCase()),t&&(u=_f(u));const c=u?e.filter((e=>{let r=(i||s)(e);return n&&(r=r.toLowerCase()),t&&(r=_f(r)),"start"===o?0===r.indexOf(u):r.indexOf(u)>-1})):e;return"number"==typeof r?c.slice(0,r):c}}();function Ff(e){const{autoComplete:t=!1,autoHighlight:n=!1,autoSelect:r=!1,blurOnSelect:o=!1,clearOnBlur:i=!e.freeSolo,clearOnEscape:a=!1,componentName:l="useAutocomplete",defaultValue:s=(e.multiple?[]:null),disableClearable:u=!1,disableCloseOnSelect:c=!1,disabled:d,disabledItemsFocusable:p=!1,disableListWrap:f=!1,filterOptions:m=zf,filterSelectedOptions:v=!1,freeSolo:g=!1,getOptionDisabled:y,getOptionLabel:b=(e=>{var t;return null!=(t=e.label)?t:e}),groupBy:x,handleHomeEndKeys:w=!e.freeSolo,id:k,includeInputInList:S=!1,inputValue:E,isOptionEqualToValue:C=((e,t)=>e===t),multiple:O=!1,onChange:P,onClose:R,onHighlightChange:T,onInputChange:M,onOpen:A,open:I,openOnFocus:$=!1,options:j,readOnly:L=!1,selectOnFocus:_=!e.freeSolo,value:N}=e,z=of(k);let F=b;F=e=>{const t=b(e);return"string"!=typeof t?String(t):t};const D=h.exports.useRef(!1),B=h.exports.useRef(!0),W=h.exports.useRef(null),U=h.exports.useRef(null),[V,q]=h.exports.useState(null),[H,K]=h.exports.useState(-1),Q=n?0:-1,G=h.exports.useRef(Q),[X,Y]=lf({controlled:N,default:s,name:l}),[J,Z]=lf({controlled:E,default:"",name:l,state:"inputValue"}),[ee,te]=h.exports.useState(!1),ne=h.exports.useCallback(((e,t)=>{if(!(O?X.length<t.length:null!==t)&&!i)return;let n;if(O)n="";else if(null==t)n="";else{const e=F(t);n="string"==typeof e?e:""}J!==n&&(Z(n),M&&M(e,n,"reset"))}),[F,J,O,M,Z,i,X]),re=h.exports.useRef();h.exports.useEffect((()=>{const e=X!==re.current;re.current=X,ee&&!e||g&&!e||ne(null,X)}),[X,ne,ee,re,g]);const[oe,ie]=lf({controlled:I,default:!1,name:l,state:"open"}),[ae,le]=h.exports.useState(!0),se=!O&&null!=X&&J===F(X),ue=oe&&!L,ce=ue?m(j.filter((e=>!v||!(O?X:[X]).some((t=>null!==t&&C(e,t))))),{inputValue:se&&ae?"":J,getOptionLabel:F}):[],de=oe&&ce.length>0&&!L,pe=sf((e=>{-1===e?W.current.focus():V.querySelector(`[data-tag-index="${e}"]`).focus()}));h.exports.useEffect((()=>{O&&H>X.length-1&&(K(-1),pe(-1))}),[X,O,H,pe]);const fe=sf((({event:e,index:t,reason:n="auto"})=>{if(G.current=t,-1===t?W.current.removeAttribute("aria-activedescendant"):W.current.setAttribute("aria-activedescendant",`${z}-option-${t}`),T&&T(e,-1===t?null:ce[t],n),!U.current)return;const r=U.current.querySelector('[role="option"].Mui-focused');r&&(r.classList.remove("Mui-focused"),r.classList.remove("Mui-focusVisible"));const o=U.current.parentElement.querySelector('[role="listbox"]');if(!o)return;if(-1===t)return void(o.scrollTop=0);const i=U.current.querySelector(`[data-option-index="${t}"]`);if(i&&(i.classList.add("Mui-focused"),"keyboard"===n&&i.classList.add("Mui-focusVisible"),o.scrollHeight>o.clientHeight&&"mouse"!==n)){const e=i,t=o.clientHeight+o.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?o.scrollTop=n-o.clientHeight:e.offsetTop-e.offsetHeight*(x?1.3:0)<o.scrollTop&&(o.scrollTop=e.offsetTop-e.offsetHeight*(x?1.3:0))}})),he=sf((({event:e,diff:n,direction:r="next",reason:o="auto"})=>{if(!ue)return;const i=function(e,t){if(!U.current||-1===e)return-1;let n=e;for(;;){if("next"===t&&n===ce.length||"previous"===t&&-1===n)return-1;const e=U.current.querySelector(`[data-option-index="${n}"]`),r=!p&&(!e||e.disabled||"true"===e.getAttribute("aria-disabled"));if(!(e&&!e.hasAttribute("tabindex")||r))return n;n+="next"===t?1:-1}}((()=>{const e=ce.length-1;if("reset"===n)return Q;if("start"===n)return 0;if("end"===n)return e;const t=G.current+n;return t<0?-1===t&&S?-1:f&&-1!==G.current||Math.abs(n)>1?0:e:t>e?t===e+1&&S?-1:f||Math.abs(n)>1?e:0:t})(),r);if(fe({index:i,reason:o,event:e}),t&&"reset"!==n)if(-1===i)W.current.value=J;else{const e=F(ce[i]);W.current.value=e;0===e.toLowerCase().indexOf(J.toLowerCase())&&J.length>0&&W.current.setSelectionRange(J.length,e.length)}})),me=h.exports.useCallback((()=>{if(!ue)return;const e=O?X[0]:X;if(0!==ce.length&&null!=e){if(U.current)if(null==e)G.current>=ce.length-1?fe({index:ce.length-1}):fe({index:G.current});else{const t=ce[G.current];if(O&&t&&-1!==Nf(X,(e=>C(t,e))))return;const n=Nf(ce,(t=>C(t,e)));-1===n?he({diff:"reset"}):fe({index:n})}}else he({diff:"reset"})}),[ce.length,!O&&X,v,he,fe,ue,J,O]),ve=sf((e=>{ef(U,e),e&&me()}));h.exports.useEffect((()=>{me()}),[me]);const ge=e=>{oe||(ie(!0),le(!0),A&&A(e))},ye=(e,t)=>{oe&&(ie(!1),R&&R(e,t))},be=(e,t,n,r)=>{if(O){if(X.length===t.length&&X.every(((e,n)=>e===t[n])))return}else if(X===t)return;P&&P(e,t,n,r),Y(t)},xe=h.exports.useRef(!1),we=(e,t,n="selectOption",r="options")=>{let i=n,a=t;if(O){a=Array.isArray(X)?X.slice():[];const e=Nf(a,(e=>C(t,e)));-1===e?a.push(t):"freeSolo"!==r&&(a.splice(e,1),i="removeOption")}ne(e,a),be(e,a,i,{option:t}),c||e&&(e.ctrlKey||e.metaKey)||ye(e,i),(!0===o||"touch"===o&&xe.current||"mouse"===o&&!xe.current)&&W.current.blur()};const ke=(e,t)=>{if(!O)return;""===J&&ye(e,"toggleInput");let n=H;-1===H?""===J&&"previous"===t&&(n=X.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===X.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===X.length||"previous"===t&&-1===n)return-1;const e=V.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),K(n),pe(n)},Se=e=>{D.current=!0,Z(""),M&&M(e,"","clear"),be(e,O?[]:null,"clear")},Ee=e=>n=>{if(e.onKeyDown&&e.onKeyDown(n),!n.defaultMuiPrevented&&(-1!==H&&-1===["ArrowLeft","ArrowRight"].indexOf(n.key)&&(K(-1),pe(-1)),229!==n.which))switch(n.key){case"Home":ue&&w&&(n.preventDefault(),he({diff:"start",direction:"next",reason:"keyboard",event:n}));break;case"End":ue&&w&&(n.preventDefault(),he({diff:"end",direction:"previous",reason:"keyboard",event:n}));break;case"PageUp":n.preventDefault(),he({diff:-5,direction:"previous",reason:"keyboard",event:n}),ge(n);break;case"PageDown":n.preventDefault(),he({diff:5,direction:"next",reason:"keyboard",event:n}),ge(n);break;case"ArrowDown":n.preventDefault(),he({diff:1,direction:"next",reason:"keyboard",event:n}),ge(n);break;case"ArrowUp":n.preventDefault(),he({diff:-1,direction:"previous",reason:"keyboard",event:n}),ge(n);break;case"ArrowLeft":ke(n,"previous");break;case"ArrowRight":ke(n,"next");break;case"Enter":if(-1!==G.current&&ue){const e=ce[G.current],r=!!y&&y(e);if(n.preventDefault(),r)return;we(n,e,"selectOption"),t&&W.current.setSelectionRange(W.current.value.length,W.current.value.length)}else g&&""!==J&&!1===se&&(O&&n.preventDefault(),we(n,J,"createOption","freeSolo"));break;case"Escape":ue?(n.preventDefault(),n.stopPropagation(),ye(n,"escape")):a&&(""!==J||O&&X.length>0)&&(n.preventDefault(),n.stopPropagation(),Se(n));break;case"Backspace":if(O&&!L&&""===J&&X.length>0){const e=-1===H?X.length-1:H,t=X.slice();t.splice(e,1),be(n,t,"removeOption",{option:X[e]})}}},Ce=e=>{te(!0),$&&!D.current&&ge(e)},Oe=e=>{null!==U.current&&U.current.parentElement.contains(document.activeElement)?W.current.focus():(te(!1),B.current=!0,D.current=!1,r&&-1!==G.current&&ue?we(e,ce[G.current],"blur"):r&&g&&""!==J?we(e,J,"blur","freeSolo"):i&&ne(e,X),ye(e,"blur"))},Pe=e=>{const t=e.target.value;J!==t&&(Z(t),le(!1),M&&M(e,t,"input")),""===t?u||O||be(e,null,"clear"):ge(e)},Re=e=>{fe({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},Te=()=>{xe.current=!0},Me=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));we(e,ce[t],"selectOption"),xe.current=!1},Ae=e=>t=>{const n=X.slice();n.splice(e,1),be(t,n,"removeOption",{option:X[e]})},Ie=e=>{oe?ye(e,"toggleInput"):ge(e)},$e=e=>{e.target.getAttribute("id")!==z&&e.preventDefault()},je=()=>{W.current.focus(),_&&B.current&&W.current.selectionEnd-W.current.selectionStart==0&&W.current.select(),B.current=!1},Le=e=>{""!==J&&oe||Ie(e)};let _e=g&&J.length>0;_e=_e||(O?X.length>0:null!==X);let Ne=ce;return x&&(Ne=ce.reduce(((e,t,n)=>{const r=x(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e}),[])),d&&ee&&Oe(),{getRootProps:(e={})=>dp({"aria-owns":de?`${z}-listbox`:null},e,{onKeyDown:Ee(e),onMouseDown:$e,onClick:je}),getInputLabelProps:()=>({id:`${z}-label`,htmlFor:z}),getInputProps:()=>({id:z,value:J,onBlur:Oe,onFocus:Ce,onChange:Pe,onMouseDown:Le,"aria-activedescendant":ue?"":null,"aria-autocomplete":t?"both":"list","aria-controls":de?`${z}-listbox`:void 0,"aria-expanded":de,autoComplete:"off",ref:W,autoCapitalize:"none",spellCheck:"false",role:"combobox"}),getClearProps:()=>({tabIndex:-1,onClick:Se}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:Ie}),getTagProps:({index:e})=>dp({key:e,"data-tag-index":e,tabIndex:-1},!L&&{onDelete:Ae(e)}),getListboxProps:()=>({role:"listbox",id:`${z}-listbox`,"aria-labelledby":`${z}-label`,ref:ve,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const n=(O?X:[X]).some((e=>null!=e&&C(t,e))),r=!!y&&y(t);return{key:F(t),tabIndex:-1,role:"option",id:`${z}-option-${e}`,onMouseOver:Re,onClick:Me,onTouchStart:Te,"data-option-index":e,"aria-disabled":r,"aria-selected":n}},id:z,inputValue:J,value:X,dirty:_e,popupOpen:ue,focused:ee||-1!==H,anchorEl:V,setAnchorEl:q,focusedTag:H,groupedOptions:Ne}}var Df={exports:{}},Bf={},Wf=h.exports,Uf=60103;if(Bf.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var Vf=Symbol.for;Uf=Vf("react.element"),Bf.Fragment=Vf("react.fragment")}var qf=Wf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Hf=Object.prototype.hasOwnProperty,Kf={key:!0,ref:!0,__self:!0,__source:!0};function Qf(e,t,n){var r,o={},i=null,a=null;for(r in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)Hf.call(t,r)&&!Kf.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:Uf,type:e,key:i,ref:a,props:o,_owner:qf.current}}Bf.jsx=Qf,Bf.jsxs=Qf,Df.exports=Bf;const Gf=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Xf(e){const t=[],n=[];return Array.from(e.querySelectorAll(Gf)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Yf(){return!0}function Jf(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=Xf,isEnabled:a=Yf,open:l}=e,s=h.exports.useRef(),u=h.exports.useRef(null),c=h.exports.useRef(null),d=h.exports.useRef(null),p=h.exports.useRef(null),f=h.exports.useRef(!1),m=h.exports.useRef(null),v=uf(t.ref,m),g=h.exports.useRef(null);h.exports.useEffect((()=>{l&&m.current&&(f.current=!n)}),[n,l]),h.exports.useEffect((()=>{if(!l||!m.current)return;const e=Yp(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),f.current&&m.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),h.exports.useEffect((()=>{if(!l||!m.current)return;const e=Yp(m.current),t=t=>{const{current:n}=m;if(null!==n)if(e.hasFocus()&&!r&&a()&&!s.current){if(!n.contains(e.activeElement)){if(t&&p.current!==t.target||e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let r=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(r=i(m.current)),r.length>0){var o,l;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=g.current)?void 0:l.key)),t=r[0],n=r[r.length-1];e?n.focus():t.focus()}else n.focus()}}else s.current=!1},n=t=>{g.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(s.current=!0,c.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const o=setInterval((()=>{"BODY"===e.activeElement.tagName&&t()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[n,r,o,a,l,i]);const y=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Df.exports.jsxs(h.exports.Fragment,{children:[Df.exports.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),h.exports.cloneElement(t,{ref:v,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),Df.exports.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}var Zf="top",eh="bottom",th="right",nh="left",rh=[Zf,eh,th,nh],oh=rh.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),ih=[].concat(rh,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),ah=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function lh(e){return e?(e.nodeName||"").toLowerCase():null}function sh(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function uh(e){return e instanceof sh(e).Element||e instanceof Element}function ch(e){return e instanceof sh(e).HTMLElement||e instanceof HTMLElement}function dh(e){return"undefined"!=typeof ShadowRoot&&(e instanceof sh(e).ShadowRoot||e instanceof ShadowRoot)}var ph={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];ch(o)&&lh(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});ch(r)&&lh(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function fh(e){return e.split("-")[0]}var hh=Math.max,mh=Math.min,vh=Math.round;function gh(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function yh(){return!/^((?!chrome|android).)*safari/i.test(gh())}function bh(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&ch(e)&&(o=e.offsetWidth>0&&vh(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&vh(r.height)/e.offsetHeight||1);var a=(uh(e)?sh(e):window).visualViewport,l=!yh()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,u=(r.top+(l&&a?a.offsetTop:0))/i,c=r.width/o,d=r.height/i;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function xh(e){var t=bh(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function wh(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&dh(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function kh(e){return sh(e).getComputedStyle(e)}function Sh(e){return["table","td","th"].indexOf(lh(e))>=0}function Eh(e){return((uh(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ch(e){return"html"===lh(e)?e:e.assignedSlot||e.parentNode||(dh(e)?e.host:null)||Eh(e)}function Oh(e){return ch(e)&&"fixed"!==kh(e).position?e.offsetParent:null}function Ph(e){for(var t=sh(e),n=Oh(e);n&&Sh(n)&&"static"===kh(n).position;)n=Oh(n);return n&&("html"===lh(n)||"body"===lh(n)&&"static"===kh(n).position)?t:n||function(e){var t=/firefox/i.test(gh());if(/Trident/i.test(gh())&&ch(e)&&"fixed"===kh(e).position)return null;var n=Ch(e);for(dh(n)&&(n=n.host);ch(n)&&["html","body"].indexOf(lh(n))<0;){var r=kh(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Rh(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Th(e,t,n){return hh(e,mh(t,n))}function Mh(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ah(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Ih={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=fh(n.placement),s=Rh(l),u=[nh,th].indexOf(l)>=0?"height":"width";if(i&&a){var c=function(e,t){return Mh("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ah(e,rh))}(o.padding,n),d=xh(i),p="y"===s?Zf:nh,f="y"===s?eh:th,h=n.rects.reference[u]+n.rects.reference[s]-a[s]-n.rects.popper[u],m=a[s]-n.rects.reference[s],v=Ph(i),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=c[p],x=g-d[u]-c[f],w=g/2-d[u]/2+y,k=Th(b,w,x),S=s;n.modifiersData[r]=((t={})[S]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&wh(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $h(e){return e.split("-")[1]}var jh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Lh(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,m=void 0===h?0:h,v="function"==typeof c?c({x:f,y:m}):{x:f,y:m};f=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=nh,x=Zf,w=window;if(u){var k=Ph(n),S="clientHeight",E="clientWidth";if(k===sh(n)&&"static"!==kh(k=Eh(n)).position&&"absolute"===l&&(S="scrollHeight",E="scrollWidth"),o===Zf||(o===nh||o===th)&&"end"===i)x=eh,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-r.height,m*=s?1:-1;if(o===nh||(o===Zf||o===eh)&&"end"===i)b=th,f-=(d&&k===w&&w.visualViewport?w.visualViewport.width:k[E])-r.width,f*=s?1:-1}var C,O=Object.assign({position:l},u&&jh),P=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:vh(t*r)/r||0,y:vh(n*r)/r||0}}({x:f,y:m}):{x:f,y:m};return f=P.x,m=P.y,s?Object.assign({},O,((C={})[x]=y?"0":"",C[b]=g?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},O,((t={})[x]=y?m+"px":"",t[b]=g?f+"px":"",t.transform="",t))}var _h={passive:!0};var Nh={left:"right",right:"left",bottom:"top",top:"bottom"};function zh(e){return e.replace(/left|right|bottom|top/g,(function(e){return Nh[e]}))}var Fh={start:"end",end:"start"};function Dh(e){return e.replace(/start|end/g,(function(e){return Fh[e]}))}function Bh(e){var t=sh(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Wh(e){return bh(Eh(e)).left+Bh(e).scrollLeft}function Uh(e){var t=kh(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Vh(e){return["html","body","#document"].indexOf(lh(e))>=0?e.ownerDocument.body:ch(e)&&Uh(e)?e:Vh(Ch(e))}function qh(e,t){var n;void 0===t&&(t=[]);var r=Vh(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=sh(r),a=o?[i].concat(i.visualViewport||[],Uh(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(qh(Ch(a)))}function Hh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Kh(e,t,n){return"viewport"===t?Hh(function(e,t){var n=sh(e),r=Eh(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var u=yh();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+Wh(e),y:s}}(e,n)):uh(t)?function(e,t){var n=bh(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Hh(function(e){var t,n=Eh(e),r=Bh(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=hh(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=hh(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Wh(e),s=-r.scrollTop;return"rtl"===kh(o||n).direction&&(l+=hh(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(Eh(e)))}function Qh(e,t,n,r){var o="clippingParents"===t?function(e){var t=qh(Ch(e)),n=["absolute","fixed"].indexOf(kh(e).position)>=0&&ch(e)?Ph(e):e;return uh(n)?t.filter((function(e){return uh(e)&&wh(e,n)&&"body"!==lh(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=Kh(e,n,r);return t.top=hh(o.top,t.top),t.right=mh(o.right,t.right),t.bottom=mh(o.bottom,t.bottom),t.left=hh(o.left,t.left),t}),Kh(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Gh(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?fh(o):null,a=o?$h(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case Zf:t={x:l,y:n.y-r.height};break;case eh:t={x:l,y:n.y+n.height};break;case th:t={x:n.x+n.width,y:s};break;case nh:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?Rh(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case"start":t[u]=t[u]-(n[c]/2-r[c]/2);break;case"end":t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function Xh(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?"clippingParents":l,u=n.rootBoundary,c=void 0===u?"viewport":u,d=n.elementContext,p=void 0===d?"popper":d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,v=void 0===m?0:m,g=Mh("number"!=typeof v?v:Ah(v,rh)),y="popper"===p?"reference":"popper",b=e.rects.popper,x=e.elements[h?y:p],w=Qh(uh(x)?x:x.contextElement||Eh(e.elements.popper),s,c,a),k=bh(e.elements.reference),S=Gh({reference:k,element:b,strategy:"absolute",placement:o}),E=Hh(Object.assign({},b,S)),C="popper"===p?E:k,O={top:w.top-C.top+g.top,bottom:C.bottom-w.bottom+g.bottom,left:w.left-C.left+g.left,right:C.right-w.right+g.right},P=e.modifiersData.offset;if("popper"===p&&P){var R=P[o];Object.keys(O).forEach((function(e){var t=[th,eh].indexOf(e)>=0?1:-1,n=[Zf,eh].indexOf(e)>=0?"y":"x";O[e]+=R[n]*t}))}return O}function Yh(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?ih:s,c=$h(r),d=c?l?oh:oh.filter((function(e){return $h(e)===c})):rh,p=d.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=Xh(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[fh(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var Jh={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,v=t.options.placement,g=fh(v),y=s||(g===v||!h?[zh(v)]:function(e){if("auto"===fh(e))return[];var t=zh(e);return[Dh(e),t,Dh(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat("auto"===fh(n)?Yh(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,k=new Map,S=!0,E=b[0],C=0;C<b.length;C++){var O=b[C],P=fh(O),R="start"===$h(O),T=[Zf,eh].indexOf(P)>=0,M=T?"width":"height",A=Xh(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),I=T?R?th:nh:R?eh:Zf;x[M]>w[M]&&(I=zh(I));var $=zh(I),j=[];if(i&&j.push(A[P]<=0),l&&j.push(A[I]<=0,A[$]<=0),j.every((function(e){return e}))){E=O,S=!1;break}k.set(O,j)}if(S)for(var L=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},_=h?3:1;_>0;_--){if("break"===L(_))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Zh(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function em(e){return[Zf,th,eh,nh].some((function(t){return e[t]>=0}))}var tm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=ih.reduce((function(e,n){return e[n]=function(e,t,n){var r=fh(e),o=[nh,Zf].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[nh,th].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var nm={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,v=Xh(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),g=fh(t.placement),y=$h(t.placement),b=!y,x=Rh(g),w="x"===x?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(k){if(i){var T,M="y"===x?Zf:nh,A="y"===x?eh:th,I="y"===x?"height":"width",$=k[x],j=$+v[M],L=$-v[A],_=f?-E[I]/2:0,N="start"===y?S[I]:E[I],z="start"===y?-E[I]:-S[I],F=t.elements.arrow,D=f&&F?xh(F):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=B[M],U=B[A],V=Th(0,S[I],D[I]),q=b?S[I]/2-_-V-W-O.mainAxis:N-V-W-O.mainAxis,H=b?-S[I]/2+_+V+U+O.mainAxis:z+V+U+O.mainAxis,K=t.elements.arrow&&Ph(t.elements.arrow),Q=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,G=null!=(T=null==P?void 0:P[x])?T:0,X=$+H-G,Y=Th(f?mh(j,$+q-G-Q):j,$,f?hh(L,X):L);k[x]=Y,R[x]=Y-$}if(l){var J,Z="x"===x?Zf:nh,ee="x"===x?eh:th,te=k[w],ne="y"===w?"height":"width",re=te+v[Z],oe=te-v[ee],ie=-1!==[Zf,nh].indexOf(g),ae=null!=(J=null==P?void 0:P[w])?J:0,le=ie?re:te-S[ne]-E[ne]-ae+O.altAxis,se=ie?te+S[ne]+E[ne]-ae-O.altAxis:oe,ue=f&&ie?function(e,t,n){var r=Th(e,t,n);return r>n?n:r}(le,te,se):Th(f?le:re,te,f?se:oe);k[w]=ue,R[w]=ue-te}t.modifiersData[r]=R}},requiresIfExists:["offset"]};function rm(e,t,n){void 0===n&&(n=!1);var r,o,i=ch(t),a=ch(t)&&function(e){var t=e.getBoundingClientRect(),n=vh(t.width)/e.offsetWidth||1,r=vh(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=Eh(t),s=bh(e,a,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(i||!i&&!n)&&(("body"!==lh(t)||Uh(l))&&(u=(r=t)!==sh(r)&&ch(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Bh(r)),ch(t)?((c=bh(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):l&&(c.x=Wh(l))),{x:s.left+u.scrollLeft-c.x,y:s.top+u.scrollTop-c.y,width:s.width,height:s.height}}function om(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var im={placement:"bottom",modifiers:[],strategy:"absolute"};function am(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function lm(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?im:o;return function(e,t,n){void 0===n&&(n=i);var o,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},im,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],u=!1,c={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},i,l.options,o),l.scrollParents={reference:uh(e)?qh(e):e.contextElement?qh(e.contextElement):[],popper:qh(t)};var a,u,p=function(e){var t=om(e);return ah.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,l.options.modifiers),u=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return l.orderedModifiers=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:l,name:t,instance:c,options:r}),a=function(){};s.push(i||a)}})),c.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(am(t,n)){l.rects={reference:rm(t,Ph(n),"fixed"===l.options.strategy),popper:xh(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,d=o.name;"function"==typeof i&&(l=i({state:l,options:s,name:d,instance:c})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){c.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),u=!0}};if(!am(e,t))return c;function d(){s.forEach((function(e){return e()})),s=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var sm=lm({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=sh(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,_h)})),l&&s.addEventListener("resize",n.update,_h),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,_h)})),l&&s.removeEventListener("resize",n.update,_h)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Gh({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,u={placement:fh(t.placement),variation:$h(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Lh(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Lh(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ph,tm,Jh,nm,Ih,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Xh(t,{elementContext:"reference"}),l=Xh(t,{altBoundary:!0}),s=Zh(a,r),u=Zh(l,o,i),c=em(s),d=em(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});var um=h.exports.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=h.exports.useState(null),l=uf(h.exports.isValidElement(n)?n.ref:null,t);return tf((()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),tf((()=>{if(i&&!o)return ef(t,i),()=>{ef(t,null)}}),[t,i,o]),o?h.exports.isValidElement(n)?h.exports.cloneElement(n,{ref:l}):n:Df.exports.jsx(h.exports.Fragment,{children:i?Z.exports.createPortal(n,i):i})}));function cm(e){return Tf("MuiPopperUnstyled",e)}Mf("MuiPopperUnstyled",["root"]);const dm=["anchorEl","children","component","components","componentsProps","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],pm=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function fm(e){return"function"==typeof e?e():e}const hm={},mm=h.exports.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,component:i,components:a={},componentsProps:l={},direction:s,disablePortal:u,modifiers:c,open:d,ownerState:p,placement:f,popperOptions:m,popperRef:v,TransitionProps:g}=e,y=mp(e,dm),b=h.exports.useRef(null),x=uf(b,t),w=h.exports.useRef(null),k=uf(w,v),S=h.exports.useRef(k);tf((()=>{S.current=k}),[k]),h.exports.useImperativeHandle(v,(()=>w.current),[]);const E=function(e,t){if("ltr"===t)return e;switch(e){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 e}}(f,s),[C,O]=h.exports.useState(E);h.exports.useEffect((()=>{w.current&&w.current.forceUpdate()})),tf((()=>{if(!r||!d)return;fm(r);let e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=c&&(e=e.concat(c)),m&&null!=m.modifiers&&(e=e.concat(m.modifiers));const t=sm(fm(r),b.current,dp({placement:E},m,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[r,u,c,d,m,E]);const P={placement:C};null!==g&&(P.TransitionProps=g);const R=Cf({root:["root"]},cm,{}),T=null!=(n=null!=i?i:a.Root)?n:"div",M=Lf({elementType:T,externalSlotProps:l.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:dp({},e,p),className:R.root});return Df.exports.jsx(T,dp({},M,{children:"function"==typeof o?o(P):o}))})),vm=h.exports.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:i="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:s,open:u,placement:c="bottom",popperOptions:d=hm,popperRef:p,style:f,transition:m=!1}=e,v=mp(e,pm),[g,y]=h.exports.useState(!0);if(!l&&!u&&(!m||g))return null;const b=o||(n?Yp(fm(n)).body:void 0);return Df.exports.jsx(um,{disablePortal:a,container:b,children:Df.exports.jsx(mm,dp({anchorEl:n,direction:i,disablePortal:a,modifiers:s,ref:t,open:m?!g:u,placement:c,popperOptions:d,popperRef:p},v,{style:dp({position:"fixed",top:0,left:0,display:u||!l||m&&!g?null:"none"},f),TransitionProps:m?{in:u,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:null,children:r}))})}));var gm=vm;function ym(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function bm(e){return parseInt(Jp(e).getComputedStyle(e).paddingRight,10)||0}function xm(e,t,n,r=[],o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&ym(e,o)}))}function wm(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function km(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Yp(e);return t.body===e?Jp(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=bf(Yp(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${bm(r)+e}px`;const t=Yp(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${bm(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=Yp(r).body;else{const t=r.parentElement,n=Jp(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}function Sm(e){return Tf("MuiModal",e)}Mf("MuiModal",["root","hidden"]);const Em=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"];const Cm=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&ym(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);xm(t,e.mount,e.modalRef,r,!0);const o=wm(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=wm(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=km(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=wm(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&ym(e.modalRef,t),xm(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&ym(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};var Om=h.exports.forwardRef((function(e,t){var n;const{children:r,classes:o,closeAfterTransition:i=!1,component:a="div",components:l={},componentsProps:s={},container:u,disableAutoFocus:c=!1,disableEnforceFocus:d=!1,disableEscapeKeyDown:p=!1,disablePortal:f=!1,disableRestoreFocus:m=!1,disableScrollLock:v=!1,hideBackdrop:g=!1,keepMounted:y=!1,manager:b=Cm,onBackdropClick:x,onClose:w,onKeyDown:k,open:S,onTransitionEnter:E,onTransitionExited:C}=e,O=mp(e,Em),[P,R]=h.exports.useState(!0),T=h.exports.useRef({}),M=h.exports.useRef(null),A=h.exports.useRef(null),I=uf(A,t),$=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),j=null==(n=e["aria-hidden"])||n,L=()=>(T.current.modalRef=A.current,T.current.mountNode=M.current,T.current),_=()=>{b.mount(L(),{disableScrollLock:v}),A.current.scrollTop=0},N=sf((()=>{const e=function(e){return"function"==typeof e?e():e}(u)||Yp(M.current).body;b.add(L(),e),A.current&&_()})),z=h.exports.useCallback((()=>b.isTopModal(L())),[b]),F=sf((e=>{M.current=e,e&&(S&&z()?_():ym(A.current,j))})),D=h.exports.useCallback((()=>{b.remove(L(),j)}),[b,j]);h.exports.useEffect((()=>()=>{D()}),[D]),h.exports.useEffect((()=>{S?N():$&&i||D()}),[S,D,$,i,N]);const B=dp({},e,{classes:o,closeAfterTransition:i,disableAutoFocus:c,disableEnforceFocus:d,disableEscapeKeyDown:p,disablePortal:f,disableRestoreFocus:m,disableScrollLock:v,exited:P,hideBackdrop:g,keepMounted:y}),W=(e=>{const{open:t,exited:n,classes:r}=e;return Cf({root:["root",!t&&n&&"hidden"]},Sm,r)})(B),U=()=>{R(!1),E&&E()},V=()=>{R(!0),C&&C(),i&&D()},q={};void 0===r.props.tabIndex&&(q.tabIndex="-1"),$&&(q.onEnter=Kp(U,r.props.onEnter),q.onExited=Kp(V,r.props.onExited));const H=l.Root||a,K=Lf({elementType:H,externalSlotProps:s.root,externalForwardedProps:O,additionalProps:{ref:I,role:"presentation",onKeyDown:e=>{k&&k(e),"Escape"===e.key&&z()&&(p||(e.stopPropagation(),w&&w(e,"escapeKeyDown")))}},className:W.root,ownerState:B}),Q=l.Backdrop,G=Lf({elementType:Q,externalSlotProps:s.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(x&&x(e),w&&w(e,"backdropClick"))},open:S},ownerState:B});return y||S||$&&!P?Df.exports.jsx(um,{ref:F,container:u,disablePortal:f,children:Df.exports.jsxs(H,dp({},K,{children:[!g&&Q?Df.exports.jsx(Q,dp({},G)):null,Df.exports.jsx(Jf,{disableEnforceFocus:d,disableAutoFocus:c,disableRestoreFocus:m,isEnabled:z,open:S,children:h.exports.cloneElement(r,q)})]}))}):null}));const Pm=["onChange","maxRows","minRows","style","value"];function Rm(e,t){return parseInt(e[t],10)||0}const Tm={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Mm(e){return null==e||0===Object.keys(e).length}const Am=h.exports.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,l=mp(e,Pm),{current:s}=h.exports.useRef(null!=a),u=h.exports.useRef(null),c=uf(t,u),d=h.exports.useRef(null),p=h.exports.useRef(0),[f,m]=h.exports.useState({}),v=h.exports.useCallback((()=>{const t=u.current,n=Jp(t).getComputedStyle(t);if("0px"===n.width)return{};const i=d.current;i.style.width=n.width,i.value=t.value||e.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");const a=n["box-sizing"],l=Rm(n,"padding-bottom")+Rm(n,"padding-top"),s=Rm(n,"border-bottom-width")+Rm(n,"border-top-width"),c=i.scrollHeight;i.value="x";const p=i.scrollHeight;let f=c;o&&(f=Math.max(Number(o)*p,f)),r&&(f=Math.min(Number(r)*p,f)),f=Math.max(f,p);return{outerHeightStyle:f+("border-box"===a?l+s:0),overflow:Math.abs(f-c)<=1}}),[r,o,e.placeholder]),g=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return p.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(p.current+=1,{overflow:r,outerHeightStyle:n}):e},y=h.exports.useCallback((()=>{const e=v();Mm(e)||m((t=>g(t,e)))}),[v]);h.exports.useEffect((()=>{const e=Qp((()=>{p.current=0,u.current&&(()=>{const e=v();Mm(e)||Z.exports.flushSync((()=>{m((t=>g(t,e)))}))})()})),t=Jp(u.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),n.observe(u.current)),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}})),tf((()=>{y()})),h.exports.useEffect((()=>{p.current=0}),[a]);return Df.exports.jsxs(h.exports.Fragment,{children:[Df.exports.jsx("textarea",dp({value:a,onChange:e=>{p.current=0,s||y(),n&&n(e)},ref:c,rows:o,style:dp({height:f.outerHeightStyle,overflow:f.overflow?"hidden":null},i)},l)),Df.exports.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:dp({},Tm,i,{padding:0})})]})}));var Im=Am;function $m(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}!function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}({exports:{}});var jm=/^((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|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)-.*))$/,Lm=$m((function(e){return jm.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function _m(){return _m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_m.apply(this,arguments)}var Nm=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),zm={exports:{}};!function(e){var t="-ms-",n="-moz-",r="-webkit-",o="comm",i="rule",a="decl",l="@page",s="@media",u="@import",c="@charset",d="@viewport",p="@supports",f="@document",h="@namespace",m="@keyframes",v="@font-face",g="@counter-style",y="@font-feature-values",b=Math.abs,x=String.fromCharCode,w=Object.assign;function k(e,t){return(((t<<2^P(e,0))<<2^P(e,1))<<2^P(e,2))<<2^P(e,3)}function S(e){return e.trim()}function E(e,t){return(e=t.exec(e))?e[0]:e}function C(e,t,n){return e.replace(t,n)}function O(e,t){return e.indexOf(t)}function P(e,t){return 0|e.charCodeAt(t)}function R(e,t,n){return e.slice(t,n)}function T(e){return e.length}function M(e){return e.length}function A(e,t){return t.push(e),e}function I(e,t){return e.map(t).join("")}function $(t,n,r,o,i,a,l){return{value:t,root:n,parent:r,type:o,props:i,children:a,line:e.line,column:e.column,length:l,return:""}}function j(e,t){return w($("",null,null,"",null,null,0),e,{length:-e.length},t)}function L(){return e.character}function _(){return e.character=e.position>0?P(e.characters,--e.position):0,e.column--,10===e.character&&(e.column=1,e.line--),e.character}function N(){return e.character=e.position<e.length?P(e.characters,e.position++):0,e.column++,10===e.character&&(e.column=1,e.line++),e.character}function z(){return P(e.characters,e.position)}function F(){return e.position}function D(t,n){return R(e.characters,t,n)}function B(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function W(t){return e.line=e.column=1,e.length=T(e.characters=t),e.position=0,[]}function U(t){return e.characters="",t}function V(t){return S(D(e.position-1,G(91===t?t+2:40===t?t+1:t)))}function q(e){return U(K(W(e)))}function H(t){for(;(e.character=z())&&e.character<33;)N();return B(t)>2||B(e.character)>3?"":" "}function K(t){for(;N();)switch(B(e.character)){case 0:A(Y(e.position-1),t);break;case 2:A(V(e.character),t);break;default:A(x(e.character),t)}return t}function Q(t,n){for(;--n&&N()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return D(t,F()+(n<6&&32==z()&&32==N()))}function G(t){for(;N();)switch(e.character){case t:return e.position;case 34:case 39:34!==t&&39!==t&&G(e.character);break;case 40:41===t&&G(t);break;case 92:N()}return e.position}function X(t,n){for(;N()&&t+e.character!==57&&(t+e.character!==84||47!==z()););return"/*"+D(n,e.position-1)+"*"+x(47===t?t:N())}function Y(t){for(;!B(z());)N();return D(t,e.position)}function J(e){return U(Z("",null,null,null,[""],e=W(e),0,[0],e))}function Z(e,t,n,r,o,i,a,l,s){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,v=1,g=1,y=0,b="",w=o,k=i,S=r,E=b;v;)switch(h=y,y=N()){case 40:if(108!=h&&58==E.charCodeAt(d-1)){-1!=O(E+=C(V(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:E+=V(y);break;case 9:case 10:case 13:case 32:E+=H(h);break;case 92:E+=Q(F()-1,7);continue;case 47:switch(z()){case 42:case 47:A(te(X(N(),F()),t,n),s);break;default:E+="/"}break;case 123*m:l[u++]=T(E)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+c:f>0&&T(E)-d&&A(f>32?ne(E+";",r,n,d-1):ne(C(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if(A(S=ee(E,t,n,u,c,o,l,b,w=[],k=[],d),i),123===y)if(0===c)Z(E,t,S,S,w,i,d,l,k);else switch(p){case 100:case 109:case 115:Z(e,S,S,r&&A(ee(e,S,S,0,0,o,l,b,o,w=[],d),k),o,k,d,l,r?w:k);break;default:Z(E,S,S,S,[""],k,0,l,k)}}u=c=f=0,m=g=1,b=E="",d=a;break;case 58:d=1+T(E),f=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==_())continue;switch(E+=x(y),y*m){case 38:g=c>0?1:(E+="\f",-1);break;case 44:l[u++]=(T(E)-1)*g,g=1;break;case 64:45===z()&&(E+=V(N())),p=z(),c=d=T(b=E+=Y(F())),y++;break;case 45:45===h&&2==T(E)&&(m=0)}}return i}function ee(e,t,n,r,o,a,l,s,u,c,d){for(var p=o-1,f=0===o?a:[""],h=M(f),m=0,v=0,g=0;m<r;++m)for(var y=0,x=R(e,p+1,p=b(v=l[m])),w=e;y<h;++y)(w=S(v>0?f[y]+" "+x:C(x,/&\f/g,f[y])))&&(u[g++]=w);return $(e,t,n,0===o?i:s,u,c,d)}function te(e,t,n){return $(e,t,n,o,x(L()),R(e,2,-2),0)}function ne(e,t,n,r){return $(e,t,n,a,R(e,0,r),R(e,r+1,-1),r)}function re(e,o){switch(k(e,o)){case 5103:return r+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return r+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return r+e+n+e+t+e+e;case 6828:case 4268:return r+e+t+e+e;case 6165:return r+e+t+"flex-"+e+e;case 5187:return r+e+C(e,/(\w+).+(:[^]+)/,r+"box-$1$2"+t+"flex-$1$2")+e;case 5443:return r+e+t+"flex-item-"+C(e,/flex-|-self/,"")+e;case 4675:return r+e+t+"flex-line-pack"+C(e,/align-content|flex-|-self/,"")+e;case 5548:return r+e+t+C(e,"shrink","negative")+e;case 5292:return r+e+t+C(e,"basis","preferred-size")+e;case 6060:return r+"box-"+C(e,"-grow","")+r+e+t+C(e,"grow","positive")+e;case 4554:return r+C(e,/([^-])(transform)/g,"$1"+r+"$2")+e;case 6187:return C(C(C(e,/(zoom-|grab)/,r+"$1"),/(image-set)/,r+"$1"),e,"")+e;case 5495:case 3959:return C(e,/(image-set\([^]*)/,r+"$1$`$1");case 4968:return C(C(e,/(.+:)(flex-)?(.*)/,r+"box-pack:$3"+t+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+r+e+e;case 4095:case 3583:case 4068:case 2532:return C(e,/(.+)-inline(.+)/,r+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(T(e)-1-o>6)switch(P(e,o+1)){case 109:if(45!==P(e,o+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+r+"$2-$3$1"+n+(108==P(e,o+3)?"$3":"$2-$3"))+e;case 115:return~O(e,"stretch")?re(C(e,"stretch","fill-available"),o)+e:e}break;case 4949:if(115!==P(e,o+1))break;case 6444:switch(P(e,T(e)-3-(~O(e,"!important")&&10))){case 107:return C(e,":",":"+r)+e;case 101:return C(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+r+(45===P(e,14)?"inline-":"")+"box$3$1"+r+"$2$3$1"+t+"$2box$3")+e}break;case 5936:switch(P(e,o+11)){case 114:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return r+e+t+e+e}return e}function oe(e,t){for(var n="",r=M(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ie(e,t,n,r){switch(e.type){case u:case a:return e.return=e.return||e.value;case o:return"";case m:return e.return=e.value+"{"+oe(e.children,r)+"}";case i:e.value=e.props.join(",")}return T(n=oe(e.children,r))?e.return=e.value+"{"+n+"}":""}function ae(e){var t=M(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}function le(e){return function(t){t.root||(t=t.return)&&e(t)}}function se(e,o,l,s){if(e.length>-1&&!e.return)switch(e.type){case a:e.return=re(e.value,e.length);break;case m:return oe([j(e,{value:C(e.value,"@","@"+r)})],s);case i:if(e.length)return I(e.props,(function(o){switch(E(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return oe([j(e,{props:[C(o,/:(read-\w+)/,":"+n+"$1")]})],s);case"::placeholder":return oe([j(e,{props:[C(o,/:(plac\w+)/,":"+r+"input-$1")]}),j(e,{props:[C(o,/:(plac\w+)/,":"+n+"$1")]}),j(e,{props:[C(o,/:(plac\w+)/,t+"input-$1")]})],s)}return""}))}}function ue(e){e.type===i&&(e.props=e.props.map((function(t){return I(q(t),(function(t,n,r){switch(P(t,0)){case 12:return R(t,1,T(t));case 0:case 40:case 43:case 62:case 126:return t;case 58:"global"===r[++n]&&(r[n]="",r[++n]="\f"+R(r[n],n=1,-1));case 32:return 1===n?"":t;default:switch(n){case 0:return e=t,M(r)>1?"":t;case n=M(r)-1:case 2:return 2===n?t+e+e:t+e;default:return t}}}))})))}e.line=1,e.column=1,e.length=0,e.position=0,e.character=0,e.characters="",e.CHARSET=c,e.COMMENT=o,e.COUNTER_STYLE=g,e.DECLARATION=a,e.DOCUMENT=f,e.FONT_FACE=v,e.FONT_FEATURE_VALUES=y,e.IMPORT=u,e.KEYFRAMES=m,e.MEDIA=s,e.MOZ=n,e.MS=t,e.NAMESPACE=h,e.PAGE=l,e.RULESET=i,e.SUPPORTS=p,e.VIEWPORT=d,e.WEBKIT=r,e.abs=b,e.alloc=W,e.append=A,e.assign=w,e.caret=F,e.char=L,e.charat=P,e.combine=I,e.comment=te,e.commenter=X,e.compile=J,e.copy=j,e.dealloc=U,e.declaration=ne,e.delimit=V,e.delimiter=G,e.escaping=Q,e.from=x,e.hash=k,e.identifier=Y,e.indexof=O,e.match=E,e.middleware=ae,e.namespace=ue,e.next=N,e.node=$,e.parse=Z,e.peek=z,e.prefix=re,e.prefixer=se,e.prev=_,e.replace=C,e.ruleset=ee,e.rulesheet=le,e.serialize=oe,e.sizeof=M,e.slice=D,e.stringify=ie,e.strlen=T,e.substr=R,e.token=B,e.tokenize=q,e.tokenizer=K,e.trim=S,e.whitespace=H,Object.defineProperty(e,"__esModule",{value:!0})}(zm.exports);var Fm=function(e,t,n){for(var r=0,o=0;r=o,o=zm.exports.peek(),38===r&&12===o&&(t[n]=1),!zm.exports.token(o);)zm.exports.next();return zm.exports.slice(e,zm.exports.position)},Dm=function(e,t){return zm.exports.dealloc(function(e,t){var n=-1,r=44;do{switch(zm.exports.token(r)){case 0:38===r&&12===zm.exports.peek()&&(t[n]=1),e[n]+=Fm(zm.exports.position-1,t,n);break;case 2:e[n]+=zm.exports.delimit(r);break;case 4:if(44===r){e[++n]=58===zm.exports.peek()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=zm.exports.from(r)}}while(r=zm.exports.next());return e}(zm.exports.alloc(e),t))},Bm=new WeakMap,Wm=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Bm.get(n))&&!r){Bm.set(e,!0);for(var o=[],i=Dm(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var u=0;u<a.length;u++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[u]):a[u]+" "+i[l]}}},Um=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Vm="undefined"!=typeof document,qm=Vm?void 0:function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}((function(){return $m((function(){var e={};return function(t){return e[t]}}))})),Hm=[zm.exports.prefixer],Km=function(e){var t=e.key;if(Vm&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||Hm,a={},l=[];Vm&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)})));var s=[Wm,Um];if(Vm){var u,c=[zm.exports.stringify,zm.exports.rulesheet((function(e){u.insert(e)}))],d=zm.exports.middleware(s.concat(i,c));o=function(e,t,n,r){u=n,function(e){zm.exports.serialize(zm.exports.compile(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var p=[zm.exports.stringify],f=zm.exports.middleware(s.concat(i,p)),h=qm(i)(t),m=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=function(e){return zm.exports.serialize(zm.exports.compile(e),f)}(e?e+"{"+t.styles+"}":t.styles)),h[n]};o=function(e,t,n,r){var o=t.name,i=m(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),i):r?void(v.inserted[o]=i):i}}var v={key:t,sheet:new Nm({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return v.sheet.hydrate(l),v},Qm={exports:{}},Gm={},Xm="function"==typeof Symbol&&Symbol.for,Ym=Xm?Symbol.for("react.element"):60103,Jm=Xm?Symbol.for("react.portal"):60106,Zm=Xm?Symbol.for("react.fragment"):60107,ev=Xm?Symbol.for("react.strict_mode"):60108,tv=Xm?Symbol.for("react.profiler"):60114,nv=Xm?Symbol.for("react.provider"):60109,rv=Xm?Symbol.for("react.context"):60110,ov=Xm?Symbol.for("react.async_mode"):60111,iv=Xm?Symbol.for("react.concurrent_mode"):60111,av=Xm?Symbol.for("react.forward_ref"):60112,lv=Xm?Symbol.for("react.suspense"):60113,sv=Xm?Symbol.for("react.suspense_list"):60120,uv=Xm?Symbol.for("react.memo"):60115,cv=Xm?Symbol.for("react.lazy"):60116,dv=Xm?Symbol.for("react.block"):60121,pv=Xm?Symbol.for("react.fundamental"):60117,fv=Xm?Symbol.for("react.responder"):60118,hv=Xm?Symbol.for("react.scope"):60119;function mv(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ym:switch(e=e.type){case ov:case iv:case Zm:case tv:case ev:case lv:return e;default:switch(e=e&&e.$$typeof){case rv:case av:case cv:case uv:case nv:return e;default:return t}}case Jm:return t}}}function vv(e){return mv(e)===iv}Gm.AsyncMode=ov,Gm.ConcurrentMode=iv,Gm.ContextConsumer=rv,Gm.ContextProvider=nv,Gm.Element=Ym,Gm.ForwardRef=av,Gm.Fragment=Zm,Gm.Lazy=cv,Gm.Memo=uv,Gm.Portal=Jm,Gm.Profiler=tv,Gm.StrictMode=ev,Gm.Suspense=lv,Gm.isAsyncMode=function(e){return vv(e)||mv(e)===ov},Gm.isConcurrentMode=vv,Gm.isContextConsumer=function(e){return mv(e)===rv},Gm.isContextProvider=function(e){return mv(e)===nv},Gm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ym},Gm.isForwardRef=function(e){return mv(e)===av},Gm.isFragment=function(e){return mv(e)===Zm},Gm.isLazy=function(e){return mv(e)===cv},Gm.isMemo=function(e){return mv(e)===uv},Gm.isPortal=function(e){return mv(e)===Jm},Gm.isProfiler=function(e){return mv(e)===tv},Gm.isStrictMode=function(e){return mv(e)===ev},Gm.isSuspense=function(e){return mv(e)===lv},Gm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Zm||e===iv||e===tv||e===ev||e===lv||e===sv||"object"==typeof e&&null!==e&&(e.$$typeof===cv||e.$$typeof===uv||e.$$typeof===nv||e.$$typeof===rv||e.$$typeof===av||e.$$typeof===pv||e.$$typeof===fv||e.$$typeof===hv||e.$$typeof===dv)},Gm.typeOf=mv;var gv=Qm.exports=Gm,yv={};yv[gv.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yv[gv.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var bv="undefined"!=typeof document;function xv(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var wv=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===bv&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},kv=function(e,t,n){wv(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);bv||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!bv&&0!==o.length)return o}};var Sv={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ev=/[A-Z]|^ms/g,Cv=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ov=function(e){return 45===e.charCodeAt(1)},Pv=function(e){return null!=e&&"boolean"!=typeof e},Rv=$m((function(e){return Ov(e)?e:e.replace(Ev,"-$&").toLowerCase()})),Tv=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Cv,(function(e,t,n){return Av={name:t,styles:n,next:Av},t}))}return 1===Sv[e]||Ov(e)||"number"!=typeof t||0===t?t:t+"px"};function Mv(e,t,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 Av={name:n.name,styles:n.styles,next:Av},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Av={name:r.name,styles:r.styles,next:Av},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Mv(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":Pv(a)&&(r+=Rv(i)+":"+Tv(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Mv(e,t,a);switch(i){case"animation":case"animationName":r+=Rv(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var s=0;s<a.length;s++)Pv(a[s])&&(r+=Rv(i)+":"+Tv(i,a[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Av,i=n(e);return Av=o,Mv(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var Av,Iv=/label:\s*([^\s;\n{]+)\s*(;|$)/g,$v=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Av=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Mv(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Mv(n,t,e[a]),r&&(o+=i[a]);Iv.lastIndex=0;for(var l,s="";null!==(l=Iv.exec(o));)s+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:Av}},jv={exports:{}},Lv={};Object.defineProperty(Lv,"__esModule",{value:!0});var _v=h.exports;function Nv(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var zv=Nv(_v),Fv="undefined"!=typeof document,Dv=function(e){return e()},Bv=!!zv.useInsertionEffect&&zv.useInsertionEffect,Wv=Fv&&Bv||Dv,Uv=Bv||_v.useLayoutEffect;Lv.useInsertionEffectAlwaysWithSyncFallback=Wv,Lv.useInsertionEffectWithLayoutFallback=Uv,jv.exports=Lv;var Vv="undefined"!=typeof document,qv=h.exports.createContext("undefined"!=typeof HTMLElement?Km({key:"css"}):null),Hv=qv.Provider,Kv=function(e){return h.exports.forwardRef((function(t,n){var r=h.exports.useContext(qv);return e(t,r,n)}))};Vv||(Kv=function(e){return function(t){var n=h.exports.useContext(qv);return null===n?(n=Km({key:"css"}),h.exports.createElement(qv.Provider,{value:n},e(t,n))):e(t,n)}});var Qv=h.exports.createContext({});!function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}({exports:{}});var Gv=Kv((function(e,t){var n=e.styles,r=$v([n],void 0,h.exports.useContext(Qv));if(!Vv){for(var o,i=r.name,a=r.styles,l=r.next;void 0!==l;)i+=" "+l.name,a+=l.styles,l=l.next;var s=!0===t.compat,u=t.insert("",{name:i,styles:a},t.sheet,s);return s?null:h.exports.createElement("style",((o={})["data-emotion"]=t.key+"-global "+i,o.dangerouslySetInnerHTML={__html:u},o.nonce=t.sheet.nonce,o))}var c=h.exports.useRef();return jv.exports.useInsertionEffectWithLayoutFallback((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),c.current=[n,o],function(){n.flush()}}),[t]),jv.exports.useInsertionEffectWithLayoutFallback((function(){var e=c.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&kv(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function Xv(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return $v(t)}var Yv=function(){var e=Xv.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Jv={exports:{}},Zv={};Object.defineProperty(Zv,"__esModule",{value:!0});var eg=h.exports;function tg(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var ng=tg(eg),rg="undefined"!=typeof document,og=function(e){return e()},ig=!!ng.useInsertionEffect&&ng.useInsertionEffect,ag=rg&&ig||og,lg=ig||eg.useLayoutEffect;Zv.useInsertionEffectAlwaysWithSyncFallback=ag,Zv.useInsertionEffectWithLayoutFallback=lg,Jv.exports=Zv;var sg=Lm,ug=function(e){return"theme"!==e},cg=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?sg:ug},dg=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},pg="undefined"!=typeof document,fg=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;wv(t,n,r);var o=Jv.exports.useInsertionEffectAlwaysWithSyncFallback((function(){return kv(t,n,r)}));if(!pg&&void 0!==o){for(var i,a=n.name,l=n.next;void 0!==l;)a+=" "+l.name,l=l.next;return h.exports.createElement("style",((i={})["data-emotion"]=t.key+" "+a,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},hg=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=dg(t,n,i),s=l||cg(a),u=!s("as");return function(){var c=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{d.push(c[0][0]);for(var p=c.length,f=1;f<p;f++)d.push(c[f],c[0][f])}var m=Kv((function(e,t,n){var r=u&&e.as||a,i="",c=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=h.exports.useContext(Qv)}"string"==typeof e.className?i=xv(t.registered,c,e.className):null!=e.className&&(i=e.className+" ");var m=$v(d.concat(c),t.registered,p);i+=t.key+"-"+m.name,void 0!==o&&(i+=" "+o);var v=u&&void 0===l?cg(r):s,g={};for(var y in e)u&&"as"===y||v(y)&&(g[y]=e[y]);return g.className=i,g.ref=n,h.exports.createElement(h.exports.Fragment,null,h.exports.createElement(fg,{cache:t,serialized:m,isStringTag:"string"==typeof r}),h.exports.createElement(r,g))}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=a,m.__emotion_styles=d,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,r){return e(t,_m({},n,r,{shouldForwardProp:dg(m,r,!0)})).apply(void 0,d)},m}}.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(e){hg[e]=hg(e)}));var mg=hg;const vg=Km({key:"css",prepend:!0});function gg(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return Df.exports.jsx(Gv,{styles:r})}
28
28
  /** @license MUI v5.10.8
29
29
  *
30
30
  * This source code is licensed under the MIT license found in the