@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.
- package/dist/tolgee-in-context-tools.cjs.js +1 -1
- package/dist/tolgee-in-context-tools.cjs.min.js +1 -1
- package/dist/tolgee-in-context-tools.esm.min.mjs +1 -1
- package/dist/tolgee-in-context-tools.esm.mjs +1 -1
- package/dist/tolgee-in-context-tools.umd.js +1 -1
- package/dist/tolgee-in-context-tools.umd.min.js +1 -1
- package/dist/tolgee-web.cjs.js +1 -1
- package/dist/tolgee-web.cjs.min.js +1 -1
- package/dist/tolgee-web.esm.min.mjs +1 -1
- package/dist/tolgee-web.esm.mjs +1 -1
- package/dist/tolgee-web.main.cjs.js +1 -1
- package/dist/tolgee-web.main.cjs.min.js +1 -1
- package/dist/tolgee-web.main.esm.js +1 -1
- package/dist/tolgee-web.main.esm.min.js +1 -1
- package/dist/tolgee-web.main.umd.js +1 -1
- package/dist/tolgee-web.main.umd.min.js +1 -1
- package/dist/tolgee-web.umd.js +1 -1
- package/dist/tolgee-web.umd.min.js +1 -1
- package/package.json +3 -3
- package/src/ui/KeyDialog/dialogContext/useGallery.ts +1 -1
|
@@ -24,7 +24,7 @@
|
|
|
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 ue=m.exports,ce=ie,de=le.exports;function pe(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(!ue)throw Error(pe(227));var fe=new Set,he={};function me(e,t){ge(e,t),ge(e+"Capture",t)}function ge(e,t){for(he[e]=t,e=0;e<t.length;e++)fe.add(t[e])}var ve=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ye=/^[: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]*$/,be=Object.prototype.hasOwnProperty,xe={},we={};function ke(e,t,n,r,o,a,i){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=a,this.removeEmptyString=i}var Se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Se[e]=new ke(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Se[t]=new ke(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Se[e]=new ke(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Se[e]=new ke(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){Se[e]=new ke(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Se[e]=new ke(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Se[e]=new ke(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Se[e]=new ke(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Se[e]=new ke(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Ee=/[\-:]([a-z])/g;function Ce(e){return e[1].toUpperCase()}function Oe(e,t,n,r){var o=Se.hasOwnProperty(t)?Se[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!!be.call(we,e)||!be.call(xe,e)&&(ye.test(e)?we[e]=!0:(xe[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(Ee,Ce);Se[t]=new ke(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(Ee,Ce);Se[t]=new ke(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(Ee,Ce);Se[t]=new ke(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Se[e]=new ke(e,1,!1,e.toLowerCase(),null,!1,!1)})),Se.xlinkHref=new ke("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Se[e]=new ke(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Pe=ue.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Re=60103,Te=60106,Me=60107,Le=60108,Ae=60114,Ie=60109,je=60110,_e=60112,Ne=60113,$e=60120,Fe=60115,ze=60116,De=60121,Be=60128,We=60129,Ue=60130,Ve=60131;if("function"==typeof Symbol&&Symbol.for){var qe=Symbol.for;Re=qe("react.element"),Te=qe("react.portal"),Me=qe("react.fragment"),Le=qe("react.strict_mode"),Ae=qe("react.profiler"),Ie=qe("react.provider"),je=qe("react.context"),_e=qe("react.forward_ref"),Ne=qe("react.suspense"),$e=qe("react.suspense_list"),Fe=qe("react.memo"),ze=qe("react.lazy"),De=qe("react.block"),qe("react.scope"),Be=qe("react.opaque.id"),We=qe("react.debug_trace_mode"),Ue=qe("react.offscreen"),Ve=qe("react.legacy_hidden")}var He,Ke="function"==typeof Symbol&&Symbol.iterator;function Ge(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ke&&e[Ke]||e["@@iterator"])?e:null}function Qe(e){if(void 0===He)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);He=t&&t[1]||""}return"\n"+He+e}var Ye=!1;function Xe(e,t){if(!e||Ye)return"";Ye=!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"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{Ye=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Qe(e):""}function Ze(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 Me:return"Fragment";case Te:return"Portal";case Ae:return"Profiler";case Le:return"StrictMode";case Ne:return"Suspense";case $e:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case je:return(e.displayName||"Context")+".Consumer";case Ie:return(e._context.displayName||"Context")+".Provider";case _e:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Fe:return Je(e.type);case De:return Je(e._render);case ze:t=e._payload,e=e._init;try{return Je(e(t))}catch(e){}}return null}function et(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function tt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function nt(e){e._valueTracker||(e._valueTracker=function(e){var t=tt(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,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.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 rt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=tt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ot(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 at(e,t){var n=t.checked;return ce({},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=et(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 lt(e,t){null!=(t=t.checked)&&Oe(e,"checked",t,!1)}function st(e,t){lt(e,t);var n=et(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")?ct(e,t.type,n):t.hasOwnProperty("defaultValue")&&ct(e,t.type,et(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ut(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 ct(e,t,n){"number"===t&&ot(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function dt(e,t){return e=ce({children:void 0},t),(t=function(e){var t="";return ue.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function pt(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=""+et(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 ft(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(pe(91));return ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ht(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(pe(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(pe(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:et(n)}}function mt(e,t){var n=et(t.value),r=et(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 gt(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var vt="http://www.w3.org/1999/xhtml",yt="http://www.w3.org/2000/svg";function bt(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 xt(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?bt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var wt,kt=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!==yt||"innerHTML"in e)e.innerHTML=t;else{for((wt=wt||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=wt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function St(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 Et={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},Ct=["Webkit","ms","Moz","O"];function Ot(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Et.hasOwnProperty(e)&&Et[e]?(""+t).trim():t+"px"}function Pt(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Ot(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Et).forEach((function(e){Ct.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Et[t]=Et[e]}))}));var Rt=ce({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 Tt(e,t){if(t){if(Rt[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(pe(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(pe(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(pe(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(pe(62))}}function Mt(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 Lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var At=null,It=null,jt=null;function _t(e){if(e=ua(e)){if("function"!=typeof At)throw Error(pe(280));var t=e.stateNode;t&&(t=da(t),At(e.stateNode,e.type,t))}}function Nt(e){It?jt?jt.push(e):jt=[e]:It=e}function $t(){if(It){var e=It,t=jt;if(jt=It=null,_t(e),t)for(e=0;e<t.length;e++)_t(t[e])}}function Ft(e,t){return e(t)}function zt(e,t,n,r,o){return e(t,n,r,o)}function Dt(){}var Bt=Ft,Wt=!1,Ut=!1;function Vt(){null===It&&null===jt||(Dt(),$t())}function qt(e,t){var n=e.stateNode;if(null===n)return null;var r=da(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(pe(231,t,typeof n));return n}var Ht=!1;if(ve)try{var Kt={};Object.defineProperty(Kt,"passive",{get:function(){Ht=!0}}),window.addEventListener("test",Kt,Kt),window.removeEventListener("test",Kt,Kt)}catch(sA){Ht=!1}function Gt(e,t,n,r,o,a,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Qt=!1,Yt=null,Xt=!1,Zt=null,Jt={onError:function(e){Qt=!0,Yt=e}};function en(e,t,n,r,o,a,i,l,s){Qt=!1,Yt=null,Gt.apply(Jt,arguments)}function tn(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 nn(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 rn(e){if(tn(e)!==e)throw Error(pe(188))}function on(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=tn(e)))throw Error(pe(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return rn(o),e;if(a===r)return rn(o),t;a=a.sibling}throw Error(pe(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw Error(pe(189))}}if(n.alternate!==r)throw Error(pe(190))}if(3!==n.tag)throw Error(pe(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 an(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var ln,sn,un,cn,dn=!1,pn=[],fn=null,hn=null,mn=null,gn=new Map,vn=new Map,yn=[],bn="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 xn(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function wn(e,t){switch(e){case"focusin":case"focusout":fn=null;break;case"dragenter":case"dragleave":hn=null;break;case"mouseover":case"mouseout":mn=null;break;case"pointerover":case"pointerout":gn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vn.delete(t.pointerId)}}function kn(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=xn(t,n,r,o,a),null!==t&&(null!==(t=ua(t))&&sn(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Sn(e){var t=sa(e.target);if(null!==t){var n=tn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=nn(n)))return e.blockedOn=t,void cn(e.lanePriority,(function(){de.unstable_runWithPriority(e.priority,(function(){un(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function En(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=ar(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ua(n))&&sn(t),e.blockedOn=n,!1;t.shift()}return!0}function Cn(e,t,n){En(e)&&n.delete(t)}function On(){for(dn=!1;0<pn.length;){var e=pn[0];if(null!==e.blockedOn){null!==(e=ua(e.blockedOn))&&ln(e);break}for(var t=e.targetContainers;0<t.length;){var n=ar(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&pn.shift()}null!==fn&&En(fn)&&(fn=null),null!==hn&&En(hn)&&(hn=null),null!==mn&&En(mn)&&(mn=null),gn.forEach(Cn),vn.forEach(Cn)}function Pn(e,t){e.blockedOn===t&&(e.blockedOn=null,dn||(dn=!0,de.unstable_scheduleCallback(de.unstable_NormalPriority,On)))}function Rn(e){function t(t){return Pn(t,e)}if(0<pn.length){Pn(pn[0],e);for(var n=1;n<pn.length;n++){var r=pn[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==fn&&Pn(fn,e),null!==hn&&Pn(hn,e),null!==mn&&Pn(mn,e),gn.forEach(t),vn.forEach(t),n=0;n<yn.length;n++)(r=yn[n]).blockedOn===e&&(r.blockedOn=null);for(;0<yn.length&&null===(n=yn[0]).blockedOn;)Sn(n),null===n.blockedOn&&yn.shift()}function Tn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Mn={animationend:Tn("Animation","AnimationEnd"),animationiteration:Tn("Animation","AnimationIteration"),animationstart:Tn("Animation","AnimationStart"),transitionend:Tn("Transition","TransitionEnd")},Ln={},An={};function In(e){if(Ln[e])return Ln[e];if(!Mn[e])return e;var t,n=Mn[e];for(t in n)if(n.hasOwnProperty(t)&&t in An)return Ln[e]=n[t];return e}ve&&(An=document.createElement("div").style,"AnimationEvent"in window||(delete Mn.animationend.animation,delete Mn.animationiteration.animation,delete Mn.animationstart.animation),"TransitionEvent"in window||delete Mn.transitionend.transition);var jn=In("animationend"),_n=In("animationiteration"),Nn=In("animationstart"),$n=In("transitionend"),Fn=new Map,zn=new Map,Dn=["abort","abort",jn,"animationEnd",_n,"animationIteration",Nn,"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 Bn(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),Fn.set(r,o),me(o,[r])}}(0,de.unstable_now)();var Wn=8;function Un(e){if(0!=(1&e))return Wn=15,1;if(0!=(2&e))return Wn=14,2;if(0!=(4&e))return Wn=13,4;var t=24&e;return 0!==t?(Wn=12,t):0!=(32&e)?(Wn=11,32):0!==(t=192&e)?(Wn=10,t):0!=(256&e)?(Wn=9,256):0!==(t=3584&e)?(Wn=8,t):0!=(4096&e)?(Wn=7,4096):0!==(t=4186112&e)?(Wn=6,t):0!==(t=62914560&e)?(Wn=5,t):67108864&e?(Wn=4,67108864):0!=(134217728&e)?(Wn=3,134217728):0!==(t=805306368&e)?(Wn=2,t):0!=(1073741824&e)?(Wn=1,1073741824):(Wn=8,e)}function Vn(e,t){var n=e.pendingLanes;if(0===n)return Wn=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=Wn=15;else if(0!==(a=134217727&n)){var s=a&~i;0!==s?(r=Un(s),o=Wn):0!==(l&=a)&&(r=Un(l),o=Wn)}else 0!==(a=n&~i)?(r=Un(a),o=Wn):0!==l&&(r=Un(l),o=Wn);if(0===r)return 0;if(r=n&((0>(r=31-Yn(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Un(t),o<=Wn)return t;Wn=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Yn(t)),r|=e[n],t&=~o;return r}function qn(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Hn(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Kn(24&~t))?Hn(10,t):e;case 10:return 0===(e=Kn(192&~t))?Hn(8,t):e;case 8:return 0===(e=Kn(3584&~t))&&(0===(e=Kn(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Kn(805306368&~t))&&(t=268435456),t}throw Error(pe(358,e))}function Kn(e){return e&-e}function Gn(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-Yn(t)]=n}var Yn=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Xn(e)/Zn|0)|0},Xn=Math.log,Zn=Math.LN2;var Jn=de.unstable_UserBlockingPriority,er=de.unstable_runWithPriority,tr=!0;function nr(e,t,n,r){Wt||Dt();var o=or,a=Wt;Wt=!0;try{zt(o,e,t,n,r)}finally{(Wt=a)||Vt()}}function rr(e,t,n,r){er(Jn,or.bind(null,e,t,n,r))}function or(e,t,n,r){var o;if(tr)if((o=0==(4&t))&&0<pn.length&&-1<bn.indexOf(e))e=xn(null,e,t,n,r),pn.push(e);else{var a=ar(e,t,n,r);if(null===a)o&&wn(e,r);else{if(o){if(-1<bn.indexOf(e))return e=xn(a,e,t,n,r),void pn.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return fn=kn(fn,e,t,n,r,o),!0;case"dragenter":return hn=kn(hn,e,t,n,r,o),!0;case"mouseover":return mn=kn(mn,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return gn.set(a,kn(gn.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,vn.set(a,kn(vn.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;wn(e,r)}Bo(e,t,r,null,n)}}}function ar(e,t,n,r){var o=Lt(r);if(null!==(o=sa(o))){var a=tn(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=nn(a)))return o;o=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return Bo(e,t,r,o,n),null}var ir=null,lr=null,sr=null;function ur(){if(sr)return sr;var e,t,n=lr,r=n.length,o="value"in ir?ir.value:ir.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return sr=o.slice(e,1<t?1-t:void 0)}function cr(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 dr(){return!0}function pr(){return!1}function fr(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?dr:pr,this.isPropagationStopped=pr,this}return ce(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=dr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=dr)},persist:function(){},isPersistent:dr}),t}var hr,mr,gr,vr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yr=fr(vr),br=ce({},vr,{view:0,detail:0}),xr=fr(br),wr=ce({},br,{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!==gr&&(gr&&"mousemove"===e.type?(hr=e.screenX-gr.screenX,mr=e.screenY-gr.screenY):mr=hr=0,gr=e),hr)},movementY:function(e){return"movementY"in e?e.movementY:mr}}),kr=fr(wr),Sr=fr(ce({},wr,{dataTransfer:0})),Er=fr(ce({},br,{relatedTarget:0})),Cr=fr(ce({},vr,{animationName:0,elapsedTime:0,pseudoElement:0})),Or=ce({},vr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Pr=fr(Or),Rr=fr(ce({},vr,{data:0})),Tr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mr={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"},Lr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ar(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Lr[e])&&!!t[e]}function Ir(){return Ar}var jr=ce({},br,{key:function(e){if(e.key){var t=Tr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=cr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Mr[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?cr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?cr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),_r=fr(jr),Nr=fr(ce({},wr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),$r=fr(ce({},br,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ir})),Fr=fr(ce({},vr,{propertyName:0,elapsedTime:0,pseudoElement:0})),zr=ce({},wr,{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}),Dr=fr(zr),Br=[9,13,27,32],Wr=ve&&"CompositionEvent"in window,Ur=null;ve&&"documentMode"in document&&(Ur=document.documentMode);var Vr=ve&&"TextEvent"in window&&!Ur,qr=ve&&(!Wr||Ur&&8<Ur&&11>=Ur),Hr=String.fromCharCode(32),Kr=!1;function Gr(e,t){switch(e){case"keyup":return-1!==Br.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 Yr=!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 Zr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Xr[e.type]:"textarea"===t}function Jr(e,t,n,r){Nt(r),0<(t=Uo(t,"onChange")).length&&(n=new yr("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var eo=null,to=null;function no(e){_o(e,0)}function ro(e){if(rt(ca(e)))return e}function oo(e,t){if("change"===e)return t}var ao=!1;if(ve){var io;if(ve){var lo="oninput"in document;if(!lo){var so=document.createElement("div");so.setAttribute("oninput","return;"),lo="function"==typeof so.oninput}io=lo}else io=!1;ao=io&&(!document.documentMode||9<document.documentMode)}function uo(){eo&&(eo.detachEvent("onpropertychange",co),to=eo=null)}function co(e){if("value"===e.propertyName&&ro(to)){var t=[];if(Jr(t,to,e,Lt(e)),e=no,Wt)e(t);else{Wt=!0;try{Ft(e,t)}finally{Wt=!1,Vt()}}}}function po(e,t,n){"focusin"===e?(uo(),to=n,(eo=t).attachEvent("onpropertychange",co)):"focusout"===e&&uo()}function fo(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return ro(to)}function ho(e,t){if("click"===e)return ro(t)}function mo(e,t){if("input"===e||"change"===e)return ro(t)}var go="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 yo(e,t){if(go(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])||!go(e[n[r]],t[n[r]]))return!1;return!0}function bo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xo(e,t){var n,r=bo(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=bo(r)}}function wo(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?wo(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function ko(){for(var e=window,t=ot();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=ot((e=t.contentWindow).document)}return t}function So(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 Eo=ve&&"documentMode"in document&&11>=document.documentMode,Co=null,Oo=null,Po=null,Ro=!1;function To(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Ro||null==Co||Co!==ot(r)||("selectionStart"in(r=Co)&&So(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},Po&&yo(Po,r)||(Po=r,0<(r=Uo(Oo,"onSelect")).length&&(t=new yr("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Co)))}Bn("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),Bn("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),Bn(Dn,2);for(var Mo="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Lo=0;Lo<Mo.length;Lo++)zn.set(Mo[Lo],0);ge("onMouseEnter",["mouseout","mouseover"]),ge("onMouseLeave",["mouseout","mouseover"]),ge("onPointerEnter",["pointerout","pointerover"]),ge("onPointerLeave",["pointerout","pointerover"]),me("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),me("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),me("onBeforeInput",["compositionend","keypress","textInput","paste"]),me("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),me("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),me("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 jo(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,s){if(en.apply(this,arguments),Qt){if(!Qt)throw Error(pe(198));var u=Yt;Qt=!1,Yt=null,Xt||(Xt=!0,Zt=u)}}(r,t,void 0,e),e.currentTarget=null}function _o(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 a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;jo(o,l,u),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;jo(o,l,u),a=s}}}if(Xt)throw e=Zt,Xt=!1,Zt=null,e}function No(e,t){var n=pa(t),r=e+"__bubble";n.has(r)||(Do(t,e,2,!1),n.add(r))}var $o="_reactListening"+Math.random().toString(36).slice(2);function Fo(e){e[$o]||(e[$o]=!0,fe.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,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&Io.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=pa(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),Do(a,e,o,t),i.add(l))}function Do(e,t,n,r){var o=zn.get(t);switch(void 0===o?2:o){case 0:o=nr;break;case 1:o=rr;break;default:o=or}n=o.bind(null,t,n,e),o=void 0,!Ht||"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 Bo(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=sa(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Ut)return e(t,n);Ut=!0;try{Bt(e,t,n)}finally{Ut=!1,Vt()}}((function(){var r=a,o=Lt(n),i=[];e:{var l=Fn.get(e);if(void 0!==l){var s=yr,u=e;switch(e){case"keypress":if(0===cr(n))break e;case"keydown":case"keyup":s=_r;break;case"focusin":u="focus",s=Er;break;case"focusout":u="blur",s=Er;break;case"beforeblur":case"afterblur":s=Er;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=kr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=Sr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=$r;break;case jn:case _n:case Nn:s=Cr;break;case $n:s=Fr;break;case"scroll":s=xr;break;case"wheel":s=Dr;break;case"copy":case"cut":case"paste":s=Pr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Nr}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=qt(h,p))&&c.push(Wo(h,m,f)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),i.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)||!sa(u)&&!u[ia])&&(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)?sa(u):null)&&(u!==(d=tn(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=kr,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nr,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:ca(s),f=null==u?l:ca(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,sa(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=Vo(f))h++;for(f=0,m=p;m;m=Vo(m))f++;for(;0<h-f;)c=Vo(c),h--;for(;0<f-h;)p=Vo(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Vo(c),p=Vo(p)}c=null}else c=null;null!==s&&qo(i,l,s,c,!1),null!==u&&null!==d&&qo(i,d,u,c,!0)}if("select"===(s=(l=r?ca(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=oo;else if(Zr(l))if(ao)g=mo;else{g=fo;var v=po}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=ho);switch(g&&(g=g(e,r))?Jr(i,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&ct(l,"number",l.value)),v=r?ca(r):window,e){case"focusin":(Zr(v)||"true"===v.contentEditable)&&(Co=v,Oo=r,Po=null);break;case"focusout":Po=Oo=Co=null;break;case"mousedown":Ro=!0;break;case"contextmenu":case"mouseup":case"dragend":Ro=!1,To(i,n,o);break;case"selectionchange":if(Eo)break;case"keydown":case"keyup":To(i,n,o)}var y;if(Wr)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 Yr?Gr(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(qr&&"ko"!==n.locale&&(Yr||"onCompositionStart"!==b?"onCompositionEnd"===b&&Yr&&(y=ur()):(lr="value"in(ir=o)?ir.value:ir.textContent,Yr=!0)),0<(v=Uo(r,b)).length&&(b=new Rr(b,e,null,n,o),i.push({event:b,listeners:v}),y?b.data=y:null!==(y=Qr(n))&&(b.data=y))),(y=Vr?function(e,t){switch(e){case"compositionend":return Qr(t);case"keypress":return 32!==t.which?null:(Kr=!0,Hr);case"textInput":return(e=t.data)===Hr&&Kr?null:e;default:return null}}(e,n):function(e,t){if(Yr)return"compositionend"===e||!Wr&&Gr(e,t)?(e=ur(),sr=lr=ir=null,Yr=!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 qr&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Uo(r,"onBeforeInput")).length&&(o=new Rr("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}_o(i,t)}))}function Wo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Uo(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=qt(e,n))&&r.unshift(Wo(e,a,o)),null!=(a=qt(e,t))&&r.push(Wo(e,a,o))),e=e.return}return r}function Vo(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function qo(e,t,n,r,o){for(var a=t._reactName,i=[];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=qt(n,a))&&i.unshift(Wo(n,s,l)):o||null!=(s=qt(n,a))&&i.push(Wo(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Ho(){}var Ko=null,Go=null;function Qo(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Yo(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,Zo="function"==typeof clearTimeout?clearTimeout:void 0;function Jo(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function ea(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function ta(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 na=0;var ra=Math.random().toString(36).slice(2),oa="__reactFiber$"+ra,aa="__reactProps$"+ra,ia="__reactContainer$"+ra,la="__reactEvents$"+ra;function sa(e){var t=e[oa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ia]||n[oa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ta(e);null!==e;){if(n=e[oa])return n;e=ta(e)}return t}n=(e=n).parentNode}return null}function ua(e){return!(e=e[oa]||e[ia])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ca(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(pe(33))}function da(e){return e[aa]||null}function pa(e){var t=e[la];return void 0===t&&(t=e[la]=new Set),t}var fa=[],ha=-1;function ma(e){return{current:e}}function ga(e){0>ha||(e.current=fa[ha],fa[ha]=null,ha--)}function va(e,t){ha++,fa[ha]=e.current,e.current=t}var ya={},ba=ma(ya),xa=ma(!1),wa=ya;function ka(e,t){var n=e.type.contextTypes;if(!n)return ya;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Sa(e){return null!=(e=e.childContextTypes)}function Ea(){ga(xa),ga(ba)}function Ca(e,t,n){if(ba.current!==ya)throw Error(pe(168));va(ba,t),va(xa,n)}function Oa(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(pe(108,Je(t)||"Unknown",o));return ce({},n,r)}function Pa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ya,wa=ba.current,va(ba,e),va(xa,xa.current),!0}function Ra(e,t,n){var r=e.stateNode;if(!r)throw Error(pe(169));n?(e=Oa(e,t,wa),r.__reactInternalMemoizedMergedChildContext=e,ga(xa),ga(ba),va(ba,e)):ga(xa),va(xa,n)}var Ta=null,Ma=null,La=de.unstable_runWithPriority,Aa=de.unstable_scheduleCallback,Ia=de.unstable_cancelCallback,ja=de.unstable_shouldYield,_a=de.unstable_requestPaint,Na=de.unstable_now,$a=de.unstable_getCurrentPriorityLevel,Fa=de.unstable_ImmediatePriority,za=de.unstable_UserBlockingPriority,Da=de.unstable_NormalPriority,Ba=de.unstable_LowPriority,Wa=de.unstable_IdlePriority,Ua={},Va=void 0!==_a?_a:function(){},qa=null,Ha=null,Ka=!1,Ga=Na(),Qa=1e4>Ga?Na:function(){return Na()-Ga};function Ya(){switch($a()){case Fa:return 99;case za:return 98;case Da:return 97;case Ba:return 96;case Wa:return 95;default:throw Error(pe(332))}}function Xa(e){switch(e){case 99:return Fa;case 98:return za;case 97:return Da;case 96:return Ba;case 95:return Wa;default:throw Error(pe(332))}}function Za(e,t){return e=Xa(e),La(e,t)}function Ja(e,t,n){return e=Xa(e),Aa(e,t,n)}function ei(){if(null!==Ha){var e=Ha;Ha=null,Ia(e)}ti()}function ti(){if(!Ka&&null!==qa){Ka=!0;var e=0;try{var t=qa;Za(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),qa=null}catch(t){throw null!==qa&&(qa=qa.slice(e+1)),Aa(Fa,ei),t}finally{Ka=!1}}}var ni=Pe.ReactCurrentBatchConfig;function ri(e,t){if(e&&e.defaultProps){for(var n in t=ce({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var oi=ma(null),ai=null,ii=null,li=null;function si(){li=ii=ai=null}function ui(e){var t=oi.current;ga(oi),e.type._context._currentValue=t}function ci(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 di(e,t){ai=e,li=ii=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Wl=!0),e.firstContext=null)}function pi(e,t){if(li!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(li=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ii){if(null===ai)throw Error(pe(308));ii=t,ai.dependencies={lanes:0,firstContext:t,responders:null}}else ii=ii.next=t;return e._currentValue}var fi=!1;function hi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function mi(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 gi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function vi(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 yi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function bi(e,t,n,r){var o=e.updateQueue;fi=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;if(null!==c){var d=(c=c.updateQueue).lastBaseUpdate;d!==i&&(null===d?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=s)}}if(null!==a){for(d=o.baseState,i=0,c=u=s=null;;){l=a.lane;var p=a.eventTime;if((r&l)===l){null!==c&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var f=e,h=a;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=ce({},d,l);break e;case 2:fi=!0}}null!==a.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[a]:l.push(a))}else p={eventTime:p,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=l;if(null===(a=a.next)){if(null===(l=o.shared.pending))break;a=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,Hs|=i,e.lanes=i,e.memoizedState=d}}function xi(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(pe(191,o));o.call(r)}}}var wi=(new ue.Component).refs;function ki(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:ce({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Si={isMounted:function(e){return!!(e=e._reactInternals)&&tn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=vu(),o=yu(e),a=gi(r,o);a.payload=t,null!=n&&(a.callback=n),vi(e,a),bu(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=vu(),o=yu(e),a=gi(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),vi(e,a),bu(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=vu(),r=yu(e),o=gi(n,r);o.tag=2,null!=t&&(o.callback=t),vi(e,o),bu(e,r,n)}};function Ei(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!yo(n,r)||!yo(o,a))}function Ci(e,t,n){var r=!1,o=ya,a=t.contextType;return"object"==typeof a&&null!==a?a=pi(a):(o=Sa(t)?wa:ba.current,a=(r=null!=(r=t.contextTypes))?ka(e,o):ya),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Si,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Oi(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&&Si.enqueueReplaceState(t,t.state,null)}function Pi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=wi,hi(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=pi(a):(a=Sa(t)?wa:ba.current,o.context=ka(e,a)),bi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(ki(e,t,a,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&&Si.enqueueReplaceState(o,o.state,null),bi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var Ri=Array.isArray;function Ti(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(pe(309));var r=n.stateNode}if(!r)throw Error(pe(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===wi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(pe(284));if(!n._owner)throw Error(pe(290,e))}return e}function Mi(e,t){if("textarea"!==e.type)throw Error(pe(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Li(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 a(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 i(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=tc(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=Ti(e,t,n),r.return=e,r):((r=Zu(n.type,n.key,n.props,null,e.mode,r)).ref=Ti(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=nc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,a){return null===t||7!==t.tag?((t=Ju(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=tc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Re:return(n=Zu(t.type,t.key,t.props,null,e.mode,n)).ref=Ti(e,null,t),n.return=e,n;case Te:return(t=nc(t,e.mode,n)).return=e,t}if(Ri(t)||Ge(t))return(t=Ju(t,e.mode,n,null)).return=e,t;Mi(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 Re:return n.key===o?n.type===Me?c(e,t,n.props.children,r,o):s(e,t,n,r):null;case Te:return n.key===o?u(e,t,n,r):null}if(Ri(n)||Ge(n))return null!==o?null:c(e,t,n,r,null);Mi(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 Re:return e=e.get(null===r.key?n:r.key)||null,r.type===Me?c(t,e,r.props.children,o,r.key):s(t,e,r,o);case Te:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Ri(r)||Ge(r))return c(t,e=e.get(n)||null,r,o,null);Mi(t,r)}return null}function h(o,i,l,s){for(var u=null,c=null,h=i,m=i=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var v=p(o,h,l[m],s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v,h=g}if(m===l.length)return n(o,h),u;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(i=a(h,i,m),null===c?u=h:c.sibling=h,c=h);return u}for(h=r(o,h);m<l.length;m++)null!==(g=f(h,o,m,l[m],s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(o,e)})),u}function m(o,i,l,s){var u=Ge(l);if("function"!=typeof u)throw Error(pe(150));if(null==(l=u.call(l)))throw Error(pe(151));for(var c=u=null,h=i,m=i=0,g=null,v=l.next();null!==h&&!v.done;m++,v=l.next()){h.index>m?(g=h,h=null):g=h.sibling;var y=p(o,h,v.value,s);if(null===y){null===h&&(h=g);break}e&&h&&null===y.alternate&&t(o,h),i=a(y,i,m),null===c?u=y:c.sibling=y,c=y,h=g}if(v.done)return n(o,h),u;if(null===h){for(;!v.done;m++,v=l.next())null!==(v=d(o,v.value,s))&&(i=a(v,i,m),null===c?u=v:c.sibling=v,c=v);return u}for(h=r(o,h);!v.done;m++,v=l.next())null!==(v=f(h,o,m,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v);return e&&h.forEach((function(e){return t(o,e)})),u}return function(e,r,a,l){var s="object"==typeof a&&null!==a&&a.type===Me&&null===a.key;s&&(a=a.props.children);var u="object"==typeof a&&null!==a;if(u)switch(a.$$typeof){case Re:e:{for(u=a.key,s=r;null!==s;){if(s.key===u){if(7===s.tag){if(a.type===Me){n(e,s.sibling),(r=o(s,a.props.children)).return=e,e=r;break e}}else if(s.elementType===a.type){n(e,s.sibling),(r=o(s,a.props)).ref=Ti(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===Me?((r=Ju(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=Zu(a.type,a.key,a.props,null,e.mode,l)).ref=Ti(e,r,a),l.return=e,e=l)}return i(e);case Te:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=nc(a,e.mode,l)).return=e,e=r}return i(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=tc(a,e.mode,l)).return=e,e=r),i(e);if(Ri(a))return h(e,r,a,l);if(Ge(a))return m(e,r,a,l);if(u&&Mi(e,a),void 0===a&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(pe(152,Je(e.type)||"Component"))}return n(e,r)}}var Ai=Li(!0),Ii=Li(!1),ji={},_i=ma(ji),Ni=ma(ji),$i=ma(ji);function Fi(e){if(e===ji)throw Error(pe(174));return e}function zi(e,t){switch(va($i,t),va(Ni,e),va(_i,ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xt(null,"");break;default:t=xt(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ga(_i),va(_i,t)}function Di(){ga(_i),ga(Ni),ga($i)}function Bi(e){Fi($i.current);var t=Fi(_i.current),n=xt(t,e.type);t!==n&&(va(Ni,e),va(_i,n))}function Wi(e){Ni.current===e&&(ga(_i),ga(Ni))}var Ui=ma(0);function Vi(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 qi=null,Hi=null,Ki=!1;function Gi(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 Qi(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 Yi(e){if(Ki){var t=Hi;if(t){var n=t;if(!Qi(e,t)){if(!(t=ea(n.nextSibling))||!Qi(e,t))return e.flags=-1025&e.flags|2,Ki=!1,void(qi=e);Gi(qi,n)}qi=e,Hi=ea(t.firstChild)}else e.flags=-1025&e.flags|2,Ki=!1,qi=e}}function Xi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;qi=e}function Zi(e){if(e!==qi)return!1;if(!Ki)return Xi(e),Ki=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Yo(t,e.memoizedProps))for(t=Hi;t;)Gi(e,t),t=ea(t.nextSibling);if(Xi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(pe(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Hi=ea(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Hi=null}}else Hi=qi?ea(e.stateNode.nextSibling):null;return!0}function Ji(){Hi=qi=null,Ki=!1}var el=[];function tl(){for(var e=0;e<el.length;e++)el[e]._workInProgressVersionPrimary=null;el.length=0}var nl=Pe.ReactCurrentDispatcher,rl=Pe.ReactCurrentBatchConfig,ol=0,al=null,il=null,ll=null,sl=!1,ul=!1;function cl(){throw Error(pe(321))}function dl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!go(e[n],t[n]))return!1;return!0}function pl(e,t,n,r,o,a){if(ol=a,al=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,nl.current=null===e||null===e.memoizedState?Fl:zl,e=n(r,o),ul){a=0;do{if(ul=!1,!(25>a))throw Error(pe(301));a+=1,ll=il=null,t.updateQueue=null,nl.current=Dl,e=n(r,o)}while(ul)}if(nl.current=$l,t=null!==il&&null!==il.next,ol=0,ll=il=al=null,sl=!1,t)throw Error(pe(300));return e}function fl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ll?al.memoizedState=ll=e:ll=ll.next=e,ll}function hl(){if(null===il){var e=al.alternate;e=null!==e?e.memoizedState:null}else e=il.next;var t=null===ll?al.memoizedState:ll.next;if(null!==t)ll=t,il=e;else{if(null===e)throw Error(pe(310));e={memoizedState:(il=e).memoizedState,baseState:il.baseState,baseQueue:il.baseQueue,queue:il.queue,next:null},null===ll?al.memoizedState=ll=e:ll=ll.next=e}return ll}function ml(e,t){return"function"==typeof t?t(e):t}function gl(e){var t=hl(),n=t.queue;if(null===n)throw Error(pe(311));n.lastRenderedReducer=e;var r=il,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=i=a=null,s=o;do{var u=s.lane;if((ol&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?(i=l=c,a=r):l=l.next=c,al.lanes|=u,Hs|=u}s=s.next}while(null!==s&&s!==o);null===l?a=r:l.next=i,go(r,t.memoizedState)||(Wl=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function vl(e){var t=hl(),n=t.queue;if(null===n)throw Error(pe(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);go(a,t.memoizedState)||(Wl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function yl(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=(ol&e)===e)&&(t._workInProgressVersionPrimary=r,el.push(t))),e)return n(t._source);throw el.push(t),Error(pe(350))}function bl(e,t,n,r){var o=Fs;if(null===o)throw Error(pe(349));var a=t._getVersion,i=a(t._source),l=nl.current,s=l.useState((function(){return yl(o,t,n)})),u=s[1],c=s[0];s=ll;var d=e.memoizedState,p=d.refs,f=p.getSnapshot,h=d.source;d=d.subscribe;var m=al;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=a(t._source);if(!go(i,e)){e=n(t._source),go(c,e)||(u(e),e=yu(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,l=e;0<l;){var s=31-Yn(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=yu(m);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),go(f,n)&&go(h,t)&&go(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ml,lastRenderedState:c}).dispatch=u=Nl.bind(null,al,e),s.queue=e,s.baseQueue=null,c=yl(o,t,n),s.memoizedState=s.baseState=c),c}function xl(e,t,n){return bl(hl(),e,t,n)}function wl(e){var t=fl();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ml,lastRenderedState:e}).dispatch=Nl.bind(null,al,e),[t.memoizedState,e]}function kl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=al.updateQueue)?(t={lastEffect:null},al.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 Sl(e){return e={current:e},fl().memoizedState=e}function El(){return hl().memoizedState}function Cl(e,t,n,r){var o=fl();al.flags|=e,o.memoizedState=kl(1|t,n,void 0,void 0===r?null:r)}function Ol(e,t,n,r){var o=hl();r=void 0===r?null:r;var a=void 0;if(null!==il){var i=il.memoizedState;if(a=i.destroy,null!==r&&dl(r,i.deps))return void kl(t,n,a,r)}al.flags|=e,o.memoizedState=kl(1|t,n,a,r)}function Pl(e,t){return Cl(516,4,e,t)}function Rl(e,t){return Ol(516,4,e,t)}function Tl(e,t){return Ol(4,2,e,t)}function Ml(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 Ll(e,t,n){return n=null!=n?n.concat([e]):null,Ol(4,2,Ml.bind(null,t,e),n)}function Al(){}function Il(e,t){var n=hl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&dl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function jl(e,t){var n=hl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&dl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function _l(e,t){var n=Ya();Za(98>n?98:n,(function(){e(!0)})),Za(97<n?97:n,(function(){var n=rl.transition;rl.transition=1;try{e(!1),t()}finally{rl.transition=n}}))}function Nl(e,t,n){var r=vu(),o=yu(e),a={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),t.pending=a,i=e.alternate,e===al||null!==i&&i===al)ul=sl=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=i(l,n);if(a.eagerReducer=i,a.eagerState=s,go(s,l))return}catch(e){}bu(e,o,r)}}var $l={readContext:pi,useCallback:cl,useContext:cl,useEffect:cl,useImperativeHandle:cl,useLayoutEffect:cl,useMemo:cl,useReducer:cl,useRef:cl,useState:cl,useDebugValue:cl,useDeferredValue:cl,useTransition:cl,useMutableSource:cl,useOpaqueIdentifier:cl,unstable_isNewReconciler:!1},Fl={readContext:pi,useCallback:function(e,t){return fl().memoizedState=[e,void 0===t?null:t],e},useContext:pi,useEffect:Pl,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Cl(4,2,Ml.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Cl(4,2,e,t)},useMemo:function(e,t){var n=fl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=fl();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=Nl.bind(null,al,e),[r.memoizedState,e]},useRef:Sl,useState:wl,useDebugValue:Al,useDeferredValue:function(e){var t=wl(e),n=t[0],r=t[1];return Pl((function(){var t=rl.transition;rl.transition=1;try{r(e)}finally{rl.transition=t}}),[e]),n},useTransition:function(){var e=wl(!1),t=e[0];return Sl(e=_l.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=fl();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},bl(r,e,t,n)},useOpaqueIdentifier:function(){if(Ki){var e=!1,t=function(e){return{$$typeof:Be,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(na++).toString(36))),Error(pe(355))})),n=wl(t)[1];return 0==(2&al.mode)&&(al.flags|=516,kl(5,(function(){n("r:"+(na++).toString(36))}),void 0,null)),t}return wl(t="r:"+(na++).toString(36)),t},unstable_isNewReconciler:!1},zl={readContext:pi,useCallback:Il,useContext:pi,useEffect:Rl,useImperativeHandle:Ll,useLayoutEffect:Tl,useMemo:jl,useReducer:gl,useRef:El,useState:function(){return gl(ml)},useDebugValue:Al,useDeferredValue:function(e){var t=gl(ml),n=t[0],r=t[1];return Rl((function(){var t=rl.transition;rl.transition=1;try{r(e)}finally{rl.transition=t}}),[e]),n},useTransition:function(){var e=gl(ml)[0];return[El().current,e]},useMutableSource:xl,useOpaqueIdentifier:function(){return gl(ml)[0]},unstable_isNewReconciler:!1},Dl={readContext:pi,useCallback:Il,useContext:pi,useEffect:Rl,useImperativeHandle:Ll,useLayoutEffect:Tl,useMemo:jl,useReducer:vl,useRef:El,useState:function(){return vl(ml)},useDebugValue:Al,useDeferredValue:function(e){var t=vl(ml),n=t[0],r=t[1];return Rl((function(){var t=rl.transition;rl.transition=1;try{r(e)}finally{rl.transition=t}}),[e]),n},useTransition:function(){var e=vl(ml)[0];return[El().current,e]},useMutableSource:xl,useOpaqueIdentifier:function(){return vl(ml)[0]},unstable_isNewReconciler:!1},Bl=Pe.ReactCurrentOwner,Wl=!1;function Ul(e,t,n,r){t.child=null===e?Ii(t,null,n,r):Ai(t,e.child,n,r)}function Vl(e,t,n,r,o){n=n.render;var a=t.ref;return di(t,o),r=pl(e,t,n,r,a,o),null===e||Wl?(t.flags|=1,Ul(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,cs(e,t,o))}function ql(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||Yu(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zu(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Hl(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(o=i.memoizedProps,(n=null!==(n=n.compare)?n:yo)(o,r)&&e.ref===t.ref)?cs(e,t,a):(t.flags|=1,(e=Xu(i,r)).ref=t.ref,e.return=t,t.child=e)}function Hl(e,t,n,r,o,a){if(null!==e&&yo(e.memoizedProps,r)&&e.ref===t.ref){if(Wl=!1,0==(a&o))return t.lanes=e.lanes,cs(e,t,a);0!=(16384&e.flags)&&(Wl=!0)}return Ql(e,t,n,r,a)}function Kl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},Pu(t,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Pu(t,e),null;t.memoizedState={baseLanes:0},Pu(t,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Pu(t,r);return Ul(e,t,o,n),t.child}function Gl(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 a=Sa(n)?wa:ba.current;return a=ka(t,a),di(t,o),n=pl(e,t,n,r,a,o),null===e||Wl?(t.flags|=1,Ul(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,cs(e,t,o))}function Yl(e,t,n,r,o){if(Sa(n)){var a=!0;Pa(t)}else a=!1;if(di(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Ci(t,n,r),Pi(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=pi(u):u=ka(t,u=Sa(n)?wa:ba.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&Oi(t,i,r,u),fi=!1;var p=t.memoizedState;i.state=p,bi(t,r,i,o),s=t.memoizedState,l!==r||p!==s||xa.current||fi?("function"==typeof c&&(ki(t,n,c,r),s=t.memoizedState),(l=fi||Ei(t,n,l,r,p,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,mi(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ri(t.type,l),i.props=u,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=pi(s):s=ka(t,s=Sa(n)?wa:ba.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&Oi(t,i,r,s),fi=!1,p=t.memoizedState,i.state=p,bi(t,r,i,o);var h=t.memoizedState;l!==d||p!==h||xa.current||fi?("function"==typeof f&&(ki(t,n,f,r),h=t.memoizedState),(u=fi||Ei(t,n,u,r,p,h,s))?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),r=!1)}return Xl(e,t,n,r,a,o)}function Xl(e,t,n,r,o,a){Gl(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&Ra(t,n,!1),cs(e,t,a);r=t.stateNode,Bl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ai(t,e.child,null,a),t.child=Ai(t,null,l,a)):Ul(e,t,l,a),t.memoizedState=r.state,o&&Ra(t,n,!0),t.child}function Zl(e){var t=e.stateNode;t.pendingContext?Ca(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ca(0,t.context,!1),zi(e,t.containerInfo)}var Jl,es,ts,ns={dehydrated:null,retryLane:0};function rs(e,t,n){var r,o=t.pendingProps,a=Ui.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),va(Ui,1&a),null===e?(void 0!==o.fallback&&Yi(t),e=o.children,a=o.fallback,i?(e=os(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=ns,e):"number"==typeof o.unstable_expectedLoadTime?(e=os(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=ns,t.lanes=33554432,e):((n=ec({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,i?(o=is(e,t,o.children,o.fallback,n),i=t.child,a=e.child.memoizedState,i.memoizedState=null===a?{baseLanes:n}:{baseLanes:a.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=ns,o):(n=as(e,t,o.children,n),t.memoizedState=null,n))}function os(e,t,n,r){var o=e.mode,a=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==a?(a.childLanes=0,a.pendingProps=t):a=ec(t,o,0,null),n=Ju(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function as(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 a=t.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:n};return 0==(2&a)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=l,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Xu(i,l),null!==e?r=Xu(e,r):(r=Ju(r,a,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function ls(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ci(e.return,t)}function ss(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.lastEffect=a)}function us(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Ul(e,t,r.children,n),0!=(2&(r=Ui.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&&ls(e,n);else if(19===e.tag)ls(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(va(Ui,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===Vi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ss(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Vi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ss(t,!0,n,null,a,t.lastEffect);break;case"together":ss(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function cs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Hs|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(pe(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 ds(e,t){if(!Ki)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 ps(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 Sa(t.type)&&Ea(),null;case 3:return Di(),ga(xa),ga(ba),tl(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Zi(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Wi(t);var o=Fi($i.current);if(n=t.type,null!==e&&null!=t.stateNode)es(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(pe(166));return null}if(e=Fi(_i.current),Zi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[oa]=t,r[aa]=a,n){case"dialog":No("cancel",r),No("close",r);break;case"iframe":case"object":case"embed":No("load",r);break;case"video":case"audio":for(e=0;e<Ao.length;e++)No(Ao[e],r);break;case"source":No("error",r);break;case"img":case"image":case"link":No("error",r),No("load",r);break;case"details":No("toggle",r);break;case"input":it(r,a),No("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},No("invalid",r);break;case"textarea":ht(r,a),No("invalid",r)}for(var i in Tt(n,a),e=null,a)a.hasOwnProperty(i)&&(o=a[i],"children"===i?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):he.hasOwnProperty(i)&&null!=o&&"onScroll"===i&&No("scroll",r));switch(n){case"input":nt(r),ut(r,a,!0);break;case"textarea":nt(r),gt(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Ho)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(i=9===o.nodeType?o:o.ownerDocument,e===vt&&(e=bt(n)),e===vt?"script"===n?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),"select"===n&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[oa]=t,e[aa]=r,Jl(e,t),t.stateNode=e,i=Mt(n,r),n){case"dialog":No("cancel",e),No("close",e),o=r;break;case"iframe":case"object":case"embed":No("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ao.length;o++)No(Ao[o],e);o=r;break;case"source":No("error",e),o=r;break;case"img":case"image":case"link":No("error",e),No("load",e),o=r;break;case"details":No("toggle",e),o=r;break;case"input":it(e,r),o=at(e,r),No("invalid",e);break;case"option":o=dt(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ce({},r,{value:void 0}),No("invalid",e);break;case"textarea":ht(e,r),o=ft(e,r),No("invalid",e);break;default:o=r}Tt(n,o);var l=o;for(a in l)if(l.hasOwnProperty(a)){var s=l[a];"style"===a?Pt(e,s):"dangerouslySetInnerHTML"===a?null!=(s=s?s.__html:void 0)&&kt(e,s):"children"===a?"string"==typeof s?("textarea"!==n||""!==s)&&St(e,s):"number"==typeof s&&St(e,""+s):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(he.hasOwnProperty(a)?null!=s&&"onScroll"===a&&No("scroll",e):null!=s&&Oe(e,a,s,i))}switch(n){case"input":nt(e),ut(e,r,!1);break;case"textarea":nt(e),gt(e);break;case"option":null!=r.value&&e.setAttribute("value",""+et(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?pt(e,!!r.multiple,a,!1):null!=r.defaultValue&&pt(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Ho)}Qo(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)ts(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(pe(166));n=Fi($i.current),Fi(_i.current),Zi(t)?(r=t.stateNode,n=t.memoizedProps,r[oa]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[oa]=t,t.stateNode=r)}return null;case 13:return ga(Ui),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Zi(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ui.current)?0===Us&&(Us=3):(0!==Us&&3!==Us||(Us=4),null===Fs||0==(134217727&Hs)&&0==(134217727&Ks)||Su(Fs,Ds))),(r||n)&&(t.flags|=4),null);case 4:return Di(),null===e&&Fo(t.stateNode.containerInfo),null;case 10:return ui(t),null;case 19:if(ga(Ui),null===(r=t.memoizedState))return null;if(a=0!=(64&t.flags),null===(i=r.rendering))if(a)ds(r,!1);else{if(0!==Us||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(i=Vi(e))){for(t.flags|=64,ds(r,!1),null!==(a=i.updateQueue)&&(t.updateQueue=a,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(i=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return va(Ui,1&Ui.current|2),t.child}e=e.sibling}null!==r.tail&&Qa()>Xs&&(t.flags|=64,a=!0,ds(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=Vi(i))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ds(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate&&!Ki)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Qa()-r.renderingStartTime>Xs&&1073741824!==n&&(t.flags|=64,a=!0,ds(r,!1),t.lanes=33554432);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=r.last)?n.sibling=i:t.child=i,r.last=i)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Qa(),n.sibling=null,t=Ui.current,va(Ui,a?1&t|2:1&t),n):null;case 23:case 24:return Ru(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(pe(156,t.tag))}function fs(e){switch(e.tag){case 1:Sa(e.type)&&Ea();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Di(),ga(xa),ga(ba),tl(),0!=(64&(t=e.flags)))throw Error(pe(285));return e.flags=-4097&t|64,e;case 5:return Wi(e),null;case 13:return ga(Ui),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ga(Ui),null;case 4:return Di(),null;case 10:return ui(e),null;case 23:case 24:return Ru(),null;default:return null}}function hs(e,t){try{var n="",r=t;do{n+=Ze(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 ms(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}},es=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Fi(_i.current);var a,i=null;switch(n){case"input":o=at(e,o),r=at(e,r),i=[];break;case"option":o=dt(e,o),r=dt(e,r),i=[];break;case"select":o=ce({},o,{value:void 0}),r=ce({},r,{value:void 0}),i=[];break;case"textarea":o=ft(e,o),r=ft(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Ho)}for(u in Tt(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(he.hasOwnProperty(u)?i||(i=[]):(i=i||[]).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(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(i||(i=[]),i.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(he.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&No("scroll",e),i||l===s||(i=[])):"object"==typeof s&&null!==s&&s.$$typeof===Be?s.toString():(i=i||[]).push(u,s))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},ts=function(e,t,n,r){n!==r&&(t.flags|=4)};var gs="function"==typeof WeakMap?WeakMap:Map;function vs(e,t,n){(n=gi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){tu||(tu=!0,nu=r),ms(0,t)},n}function ys(e,t,n){(n=gi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ms(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===ru?ru=new Set([this]):ru.add(this),ms(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var bs="function"==typeof WeakSet?WeakSet:Set;function xs(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){qu(e,t)}else t.current=null}function ws(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:ri(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Jo(t.stateNode.containerInfo))}throw Error(pe(163))}function ks(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)&&(Wu(n,e),Bu(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:ri(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&xi(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}xi(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&&Rn(n)))))}throw Error(pe(163))}function Ss(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=Ot("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 Es(e,t){if(Ma&&"function"==typeof Ma.onCommitFiberUnmount)try{Ma.onCommitFiberUnmount(Ta,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))Wu(t,n);else{r=t;try{o()}catch(e){qu(r,e)}}n=n.next}while(n!==e)}break;case 1:if(xs(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){qu(t,e)}break;case 5:xs(t);break;case 4:Ms(e,t)}}function Cs(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 Os(e){return 5===e.tag||3===e.tag||4===e.tag}function Ps(e){e:{for(var t=e.return;null!==t;){if(Os(t))break e;t=t.return}throw Error(pe(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(pe(161))}16&n.flags&&(St(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Os(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?Rs(e,n,t):Ts(e,n,t)}function Rs(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=Ho));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,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(Ts(e,t,n),e=e.sibling;null!==e;)Ts(e,t,n),e=e.sibling}function Ms(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(pe(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var i=e,l=o,s=l;;)if(Es(i,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?(i=n,l=o.stateNode,8===i.nodeType?i.parentNode.removeChild(l):i.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(Es(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&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function Ls(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 a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[aa]=r,"input"===e&&"radio"===r.type&&null!=r.name&<(n,r),Mt(e,o),t=Mt(e,r),o=0;o<a.length;o+=2){var i=a[o],l=a[o+1];"style"===i?Pt(n,l):"dangerouslySetInnerHTML"===i?kt(n,l):"children"===i?St(n,l):Oe(n,i,l,t)}switch(e){case"input":st(n,r);break;case"textarea":mt(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?pt(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?pt(n,!!r.multiple,r.defaultValue,!0):pt(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(pe(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Rn(n.containerInfo)));case 13:return null!==t.memoizedState&&(Ys=Qa(),Ss(t.child,!0)),void As(t);case 19:return void As(t);case 23:case 24:return void Ss(t,null!==t.memoizedState)}throw Error(pe(163))}function As(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new bs),t.forEach((function(t){var r=Ku.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 js=Math.ceil,_s=Pe.ReactCurrentDispatcher,Ns=Pe.ReactCurrentOwner,$s=0,Fs=null,zs=null,Ds=0,Bs=0,Ws=ma(0),Us=0,Vs=null,qs=0,Hs=0,Ks=0,Gs=0,Qs=null,Ys=0,Xs=1/0;function Zs(){Xs=Qa()+500}var Js,eu=null,tu=!1,nu=null,ru=null,ou=!1,au=null,iu=90,lu=[],su=[],uu=null,cu=0,du=null,pu=-1,fu=0,hu=0,mu=null,gu=!1;function vu(){return 0!=(48&$s)?Qa():-1!==pu?pu:pu=Qa()}function yu(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Ya()?1:2;if(0===fu&&(fu=qs),0!==ni.transition){0!==hu&&(hu=null!==Qs?Qs.pendingLanes:0),e=fu;var t=4186112&~hu;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Ya(),0!=(4&$s)&&98===e?e=Hn(12,fu):e=Hn(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),fu),e}function bu(e,t,n){if(50<cu)throw cu=0,du=null,Error(pe(185));if(null===(e=xu(e,t)))return null;Qn(e,t,n),e===Fs&&(Ks|=t,4===Us&&Su(e,Ds));var r=Ya();1===t?0!=(8&$s)&&0==(48&$s)?Eu(e):(wu(e,n),0===$s&&(Zs(),ei())):(0==(4&$s)||98!==r&&99!==r||(null===uu?uu=new Set([e]):uu.add(e)),wu(e,n)),Qs=e}function xu(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 wu(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Yn(i),s=1<<l,u=a[l];if(-1===u){if(0==(s&r)||0!=(s&o)){u=t,Un(s);var c=Wn;a[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);i&=~s}if(r=Vn(e,e===Fs?Ds:0),t=Wn,0===r)null!==n&&(n!==Ua&&Ia(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ua&&Ia(n)}15===t?(n=Eu.bind(null,e),null===qa?(qa=[n],Ha=Aa(Fa,ti)):qa.push(n),n=Ua):14===t?n=Ja(99,Eu.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(pe(358,e))}}(t),n=Ja(n,ku.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function ku(e){if(pu=-1,hu=fu=0,0!=(48&$s))throw Error(pe(327));var t=e.callbackNode;if(Du()&&e.callbackNode!==t)return null;var n=Vn(e,e===Fs?Ds:0);if(0===n)return null;var r=n,o=$s;$s|=16;var a=Lu();for(Fs===e&&Ds===r||(Zs(),Tu(e,r));;)try{ju();break}catch(t){Mu(e,t)}if(si(),_s.current=a,$s=o,null!==zs?r=0:(Fs=null,Ds=0,r=Us),0!=(qs&Ks))Tu(e,0);else if(0!==r){if(2===r&&($s|=64,e.hydrate&&(e.hydrate=!1,Jo(e.containerInfo)),0!==(n=qn(e))&&(r=Au(e,n))),1===r)throw t=Vs,Tu(e,0),Su(e,n),wu(e,Qa()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(pe(345));case 2:case 5:$u(e);break;case 3:if(Su(e,n),(62914560&n)===n&&10<(r=Ys+500-Qa())){if(0!==Vn(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(Su(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var i=31-Yn(n);a=1<<i,(i=r[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=Qa()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*js(n/1960))-n)){e.timeoutHandle=Xo($u.bind(null,e),n);break}$u(e);break;default:throw Error(pe(329))}}return wu(e,Qa()),e.callbackNode===t?ku.bind(null,e):null}function Su(e,t){for(t&=~Gs,t&=~Ks,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Yn(t),r=1<<n;e[n]=-1,t&=~r}}function Eu(e){if(0!=(48&$s))throw Error(pe(327));if(Du(),e===Fs&&0!=(e.expiredLanes&Ds)){var t=Ds,n=Au(e,t);0!=(qs&Ks)&&(n=Au(e,t=Vn(e,t)))}else n=Au(e,t=Vn(e,0));if(0!==e.tag&&2===n&&($s|=64,e.hydrate&&(e.hydrate=!1,Jo(e.containerInfo)),0!==(t=qn(e))&&(n=Au(e,t))),1===n)throw n=Vs,Tu(e,0),Su(e,t),wu(e,Qa()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,$u(e),wu(e,Qa()),null}function Cu(e,t){var n=$s;$s|=1;try{return e(t)}finally{0===($s=n)&&(Zs(),ei())}}function Ou(e,t){var n=$s;$s&=-2,$s|=8;try{return e(t)}finally{0===($s=n)&&(Zs(),ei())}}function Pu(e,t){va(Ws,Bs),Bs|=t,qs|=t}function Ru(){Bs=Ws.current,ga(Ws)}function Tu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Zo(n)),null!==zs)for(n=zs.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ea();break;case 3:Di(),ga(xa),ga(ba),tl();break;case 5:Wi(r);break;case 4:Di();break;case 13:case 19:ga(Ui);break;case 10:ui(r);break;case 23:case 24:Ru()}n=n.return}Fs=e,zs=Xu(e.current,null),Ds=Bs=qs=t,Us=0,Vs=null,Gs=Ks=Hs=0}function Mu(e,t){for(;;){var n=zs;try{if(si(),nl.current=$l,sl){for(var r=al.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}sl=!1}if(ol=0,ll=il=al=null,ul=!1,Ns.current=null,null===n||null===n.return){Us=1,Vs=t,zs=null;break}e:{var a=e,i=n.return,l=n,s=t;if(t=Ds,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&Ui.current),p=i;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 g=p.updateQueue;if(null===g){var v=new Set;v.add(u),p.updateQueue=v}else g.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=gi(-1,1);y.tag=2,vi(l,y)}l.lanes|=1;break e}s=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new gs,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=Hu.bind(null,a,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!==Us&&(Us=2),s=hs(s,l),p=i;do{switch(p.tag){case 3:a=s,p.flags|=4096,t&=-t,p.lanes|=t,yi(p,vs(0,a,t));break e;case 1:a=s;var w=p.type,k=p.stateNode;if(0==(64&p.flags)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===ru||!ru.has(k)))){p.flags|=4096,t&=-t,p.lanes|=t,yi(p,ys(p,a,t));break e}}p=p.return}while(null!==p)}Nu(n)}catch(e){t=e,zs===n&&null!==n&&(zs=n=n.return);continue}break}}function Lu(){var e=_s.current;return _s.current=$l,null===e?$l:e}function Au(e,t){var n=$s;$s|=16;var r=Lu();for(Fs===e&&Ds===t||Tu(e,t);;)try{Iu();break}catch(t){Mu(e,t)}if(si(),$s=n,_s.current=r,null!==zs)throw Error(pe(261));return Fs=null,Ds=0,Us}function Iu(){for(;null!==zs;)_u(zs)}function ju(){for(;null!==zs&&!ja();)_u(zs)}function _u(e){var t=Js(e.alternate,e,Bs);e.memoizedProps=e.pendingProps,null===t?Nu(e):zs=t,Ns.current=null}function Nu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=ps(n,t,Bs)))return void(zs=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Bs)||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=fs(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===Us&&(Us=5)}function $u(e){var t=Ya();return Za(99,Fu.bind(null,e,t)),null}function Fu(e,t){do{Du()}while(null!==au);if(0!=(48&$s))throw Error(pe(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(pe(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,a=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 i=e.eventTimes,l=e.expirationTimes;0<a;){var s=31-Yn(a),u=1<<s;o[s]=0,i[s]=-1,l[s]=-1,a&=~u}if(null!==uu&&0==(24&r)&&uu.has(e)&&uu.delete(e),e===Fs&&(zs=Fs=null,Ds=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,Ns.current=null,Ko=tr,So(i=ko())){if("selectionStart"in i)l={start:i.selectionStart,end:i.selectionEnd};else e:if(l=(l=i.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,a=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=i,g=null;t:for(;;){for(var v;m!==l||0!==a&&3!==m.nodeType||(d=c+a),m!==s||0!==u&&3!==m.nodeType||(p=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(v=m.firstChild);)g=m,m=v;for(;;){if(m===i)break t;if(g===l&&++f===a&&(d=c),g===s&&++h===u&&(p=c),null!==(v=m.nextSibling))break;g=(m=g).parentNode}m=v}l=-1===d||-1===p?null:{start:d,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Go={focusedElem:i,selectionRange:l},tr=!1,mu=null,gu=!1,eu=r;do{try{zu()}catch(e){if(null===eu)throw Error(pe(330));qu(eu,e),eu=eu.nextEffect}}while(null!==eu);mu=null,eu=r;do{try{for(i=e;null!==eu;){var y=eu.flags;if(16&y&&St(eu.stateNode,""),128&y){var b=eu.alternate;if(null!==b){var x=b.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&y){case 2:Ps(eu),eu.flags&=-3;break;case 6:Ps(eu),eu.flags&=-3,Ls(eu.alternate,eu);break;case 1024:eu.flags&=-1025;break;case 1028:eu.flags&=-1025,Ls(eu.alternate,eu);break;case 4:Ls(eu.alternate,eu);break;case 8:Ms(i,l=eu);var w=l.alternate;Cs(l),null!==w&&Cs(w)}eu=eu.nextEffect}}catch(e){if(null===eu)throw Error(pe(330));qu(eu,e),eu=eu.nextEffect}}while(null!==eu);if(x=Go,b=ko(),y=x.focusedElem,i=x.selectionRange,b!==y&&y&&y.ownerDocument&&wo(y.ownerDocument.documentElement,y)){null!==i&&So(y)&&(b=i.start,void 0===(x=i.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(i.start,l),i=void 0===i.end?w:Math.min(i.end,l),!x.extend&&w>i&&(l=i,i=w,w=l),l=xo(y,w),a=xo(y,i),l&&a&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==a.node||x.focusOffset!==a.offset)&&((b=b.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),w>i?(x.addRange(b),x.extend(a.node,a.offset)):(b.setEnd(a.node,a.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}tr=!!Ko,Go=Ko=null,e.current=n,eu=r;do{try{for(y=e;null!==eu;){var k=eu.flags;if(36&k&&ks(y,eu.alternate,eu),128&k){b=void 0;var S=eu.ref;if(null!==S){var E=eu.stateNode;eu.tag,b=E,"function"==typeof S?S(b):S.current=b}}eu=eu.nextEffect}}catch(e){if(null===eu)throw Error(pe(330));qu(eu,e),eu=eu.nextEffect}}while(null!==eu);eu=null,Va(),$s=o}else e.current=n;if(ou)ou=!1,au=e,iu=t;else for(eu=r;null!==eu;)t=eu.nextEffect,eu.nextEffect=null,8&eu.flags&&((k=eu).sibling=null,k.stateNode=null),eu=t;if(0===(r=e.pendingLanes)&&(ru=null),1===r?e===du?cu++:(cu=0,du=e):cu=0,n=n.stateNode,Ma&&"function"==typeof Ma.onCommitFiberRoot)try{Ma.onCommitFiberRoot(Ta,n,void 0,64==(64&n.current.flags))}catch(e){}if(wu(e,Qa()),tu)throw tu=!1,e=nu,nu=null,e;return 0!=(8&$s)||ei(),null}function zu(){for(;null!==eu;){var e=eu.alternate;gu||null===mu||(0!=(8&eu.flags)?an(eu,mu)&&(gu=!0):13===eu.tag&&Is(e,eu)&&an(eu,mu)&&(gu=!0));var t=eu.flags;0!=(256&t)&&ws(e,eu),0==(512&t)||ou||(ou=!0,Ja(97,(function(){return Du(),null}))),eu=eu.nextEffect}}function Du(){if(90!==iu){var e=97<iu?97:iu;return iu=90,Za(e,Uu)}return!1}function Bu(e,t){lu.push(t,e),ou||(ou=!0,Ja(97,(function(){return Du(),null})))}function Wu(e,t){su.push(t,e),ou||(ou=!0,Ja(97,(function(){return Du(),null})))}function Uu(){if(null===au)return!1;var e=au;if(au=null,0!=(48&$s))throw Error(pe(331));var t=$s;$s|=32;var n=su;su=[];for(var r=0;r<n.length;r+=2){var o=n[r],a=n[r+1],i=o.destroy;if(o.destroy=void 0,"function"==typeof i)try{i()}catch(e){if(null===a)throw Error(pe(330));qu(a,e)}}for(n=lu,lu=[],r=0;r<n.length;r+=2){o=n[r],a=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===a)throw Error(pe(330));qu(a,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,ei(),!0}function Vu(e,t,n){vi(e,t=vs(0,t=hs(n,t),1)),t=vu(),null!==(e=xu(e,1))&&(Qn(e,1,t),wu(e,t))}function qu(e,t){if(3===e.tag)Vu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Vu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===ru||!ru.has(r))){var o=ys(n,e=hs(t,e),1);if(vi(n,o),o=vu(),null!==(n=xu(n,1)))Qn(n,1,o),wu(n,o);else if("function"==typeof r.componentDidCatch&&(null===ru||!ru.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Hu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=vu(),e.pingedLanes|=e.suspendedLanes&n,Fs===e&&(Ds&n)===n&&(4===Us||3===Us&&(62914560&Ds)===Ds&&500>Qa()-Ys?Tu(e,0):Gs|=n),wu(e,t)}function Ku(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===Ya()?1:2:(0===fu&&(fu=qs),0===(t=Kn(62914560&~fu))&&(t=4194304))),n=vu(),null!==(e=xu(e,t))&&(Qn(e,t,n),wu(e,n))}function Gu(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 Gu(e,t,n,r)}function Yu(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 Zu(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Yu(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Me:return Ju(n.children,o,a,t);case We:i=8,o|=16;break;case Le:i=8,o|=1;break;case Ae:return(e=Qu(12,n,t,8|o)).elementType=Ae,e.type=Ae,e.lanes=a,e;case Ne:return(e=Qu(13,n,t,o)).type=Ne,e.elementType=Ne,e.lanes=a,e;case $e:return(e=Qu(19,n,t,o)).elementType=$e,e.lanes=a,e;case Ue:return ec(n,o,a,t);case Ve:return(e=Qu(24,n,t,o)).elementType=Ve,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ie:i=10;break e;case je:i=9;break e;case _e:i=11;break e;case Fe:i=14;break e;case ze:i=16,r=null;break e;case De:i=22;break e}throw Error(pe(130,null==e?e:typeof e,""))}return(t=Qu(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ju(e,t,n,r){return(e=Qu(7,e,r,t)).lanes=n,e}function ec(e,t,n,r){return(e=Qu(23,e,r,t)).elementType=Ue,e.lanes=n,e}function tc(e,t,n){return(e=Qu(6,e,null,t)).lanes=n,e}function nc(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 rc(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=Gn(0),this.expirationTimes=Gn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gn(0),this.mutableSourceEagerHydrationData=null}function oc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ac(e,t,n,r){var o=t.current,a=vu(),i=yu(o);e:if(n){t:{if(tn(n=n._reactInternals)!==n||1!==n.tag)throw Error(pe(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Sa(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(pe(171))}if(1===n.tag){var s=n.type;if(Sa(s)){n=Oa(n,s,l);break e}}n=l}else n=ya;return null===t.context?t.context=n:t.pendingContext=n,(t=gi(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),vi(o,t),bu(o,i,a),i}function ic(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function lc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function sc(e,t){lc(e,t),(e=e.alternate)&&lc(e,t)}function uc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new rc(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,hi(t),e[ia]=n.current,Fo(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 cc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function dc(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=ic(i);l.call(e)}}ac(t,i,e,o)}else{if(a=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 uc(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var s=o;o=function(){var e=ic(i);s.call(e)}}Ou((function(){ac(t,i,e,o)}))}return ic(i)}function pc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!cc(t))throw Error(pe(200));return oc(e,t,null,n)}Js=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||xa.current)Wl=!0;else{if(0==(n&r)){switch(Wl=!1,t.tag){case 3:Zl(t),Ji();break;case 5:Bi(t);break;case 1:Sa(t.type)&&Pa(t);break;case 4:zi(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;va(oi,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?rs(e,t,n):(va(Ui,1&Ui.current),null!==(t=cs(e,t,n))?t.sibling:null);va(Ui,1&Ui.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return us(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),va(Ui,Ui.current),r)break;return null;case 23:case 24:return t.lanes=0,Kl(e,t,n)}return cs(e,t,n)}Wl=0!=(16384&e.flags)}else Wl=!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=ka(t,ba.current),di(t,n),o=pl(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,Sa(r)){var a=!0;Pa(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,hi(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&ki(t,r,i,e),o.updater=Si,t.stateNode=o,o._reactInternals=t,Pi(t,r,e,n),t=Xl(null,t,r,!0,a,n)}else t.tag=0,Ul(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=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return Yu(e)?1:0;if(null!=e){if((e=e.$$typeof)===_e)return 11;if(e===Fe)return 14}return 2}(o),e=ri(o,e),a){case 0:t=Ql(null,t,o,e,n);break e;case 1:t=Yl(null,t,o,e,n);break e;case 11:t=Vl(null,t,o,e,n);break e;case 14:t=ql(null,t,o,ri(o.type,e),r,n);break e}throw Error(pe(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ql(e,t,r,o=t.elementType===r?o:ri(r,o),n);case 1:return r=t.type,o=t.pendingProps,Yl(e,t,r,o=t.elementType===r?o:ri(r,o),n);case 3:if(Zl(t),r=t.updateQueue,null===e||null===r)throw Error(pe(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,mi(e,t),bi(t,r,null,n),(r=t.memoizedState.element)===o)Ji(),t=cs(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(Hi=ea(t.stateNode.containerInfo.firstChild),qi=t,a=Ki=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],el.push(a);for(n=Ii(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Ul(e,t,r,n),Ji();t=t.child}return t;case 5:return Bi(t),null===e&&Yi(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children,Yo(r,o)?i=null:null!==a&&Yo(r,a)&&(t.flags|=16),Gl(e,t),Ul(e,t,i,n),t.child;case 6:return null===e&&Yi(t),null;case 13:return rs(e,t,n);case 4:return zi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ai(t,null,r,n):Ul(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Vl(e,t,r,o=t.elementType===r?o:ri(r,o),n);case 7:return Ul(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ul(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value;var l=t.type._context;if(va(oi,l._currentValue),l._currentValue=a,null!==i)if(l=i.value,0===(a=go(l,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(i.children===o.children&&!xa.current){t=cs(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.dependencies;if(null!==s){i=l.child;for(var u=s.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&a)){1===l.tag&&((u=gi(-1,n&-n)).tag=2,vi(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),ci(l.return,n),s.lanes|=n;break}u=u.next}}else i=10===l.tag&&l.type===t.type?null:l.child;if(null!==i)i.return=l;else for(i=l;null!==i;){if(i===t){i=null;break}if(null!==(l=i.sibling)){l.return=i.return,i=l;break}i=i.return}l=i}Ul(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,di(t,n),r=r(o=pi(o,a.unstable_observedBits)),t.flags|=1,Ul(e,t,r,n),t.child;case 14:return a=ri(o=t.type,t.pendingProps),ql(e,t,o,a=ri(o.type,a),r,n);case 15:return Hl(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ri(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Sa(r)?(e=!0,Pa(t)):e=!1,di(t,n),Ci(t,r,o),Pi(t,r,o,n),Xl(null,t,r,!0,e,n);case 19:return us(e,t,n);case 23:case 24:return Kl(e,t,n)}throw Error(pe(156,t.tag))},uc.prototype.render=function(e){ac(e,this._internalRoot,null,null)},uc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ac(null,e,null,(function(){t[ia]=null}))},ln=function(e){13===e.tag&&(bu(e,4,vu()),sc(e,4))},sn=function(e){13===e.tag&&(bu(e,67108864,vu()),sc(e,67108864))},un=function(e){if(13===e.tag){var t=vu(),n=yu(e);bu(e,n,t),sc(e,n)}},cn=function(e,t){return t()},At=function(e,t,n){switch(t){case"input":if(st(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=da(r);if(!o)throw Error(pe(90));rt(r),st(r,o)}}}break;case"textarea":mt(e,n);break;case"select":null!=(t=n.value)&&pt(e,!!n.multiple,t,!1)}},Ft=Cu,zt=function(e,t,n,r,o){var a=$s;$s|=4;try{return Za(98,e.bind(null,t,n,r,o))}finally{0===($s=a)&&(Zs(),ei())}},Dt=function(){0==(49&$s)&&(function(){if(null!==uu){var e=uu;uu=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,wu(e,Qa())}))}ei()}(),Du())},Bt=function(e,t){var n=$s;$s|=2;try{return e(t)}finally{0===($s=n)&&(Zs(),ei())}};var fc,hc={Events:[ua,ca,da,Nt,$t,Du,{current:!1}]},mc={findFiberByHostInstance:sa,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},gc={bundleType:mc.bundleType,version:mc.version,rendererPackageName:mc.rendererPackageName,rendererConfig:mc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Pe.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=on(e))?null:e.stateNode},findFiberByHostInstance:mc.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{Ta=vc.inject(gc),Ma=vc}catch(sA){}}te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hc,te.createPortal=pc,te.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(pe(188));throw Error(pe(268,Object.keys(e)))}return e=null===(e=on(t))?null:e.stateNode},te.flushSync=function(e,t){var n=$s;if(0!=(48&n))return e(t);$s|=1;try{if(e)return Za(99,e.bind(null,t))}finally{$s=n,ei()}},te.hydrate=function(e,t,n){if(!cc(t))throw Error(pe(200));return dc(null,e,t,!0,n)},te.render=function(e,t,n){if(!cc(t))throw Error(pe(200));return dc(null,e,t,!1,n)},te.unmountComponentAtNode=function(e){if(!cc(e))throw Error(pe(40));return!!e._reactRootContainer&&(Ou((function(){dc(null,null,e,!1,(function(){e._reactRootContainer=null,e[ia]=null}))})),!0)},te.unstable_batchedUpdates=Cu,te.unstable_createPortal=function(e,t){return pc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},te.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!cc(n))throw Error(pe(200));if(null==e||void 0===e._reactInternals)throw Error(pe(38));return dc(e,t,n,!1,r)},te.version="17.0.2",fc=ee,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)}}(),fc.exports=te;var yc=f(ee.exports),bc="__tolgee_dev_tools",xc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._popup=null,t}return o(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(bc))||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&&(ee.exports.unmountComponentAtNode(this._popup),this.devTools.removeChild(this._popup))},t.prototype._render=function(){ee.exports.render(m.exports.createElement(m.exports.Fragment,null,this.props.children),this._popup)},t.prototype.render=function(){return null},t}(m.exports.PureComponent),wc=function(e){return new Promise((function(t){return setTimeout(t,e)}))};const kc=Symbol(),Sc=Symbol(),Ec="undefined"==typeof window||/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent)?m.exports.useEffect:m.exports.useLayoutEffect,Cc=le.exports.unstable_runWithPriority?e=>le.exports.unstable_runWithPriority(le.exports.unstable_NormalPriority,e):e=>e();var Oc=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 Pc(e,t){return Pc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pc(e,t)}function Rc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pc(e,t)}var Tc=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 Mc(){return Mc=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},Mc.apply(this,arguments)}var Lc="undefined"==typeof window;function Ac(){}function Ic(e){return"number"==typeof e&&e>=0&&e!==1/0}function jc(e){return Array.isArray(e)?e:[e]}function _c(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Nc(e,t,n){return Kc(e)?"function"==typeof t?Mc({},n,{queryKey:e,queryFn:t}):Mc({},t,{queryKey:e}):e}function $c(e,t,n){return Kc(e)?[Mc({},t,{queryKey:e}),n]:[e||{},t]}function Fc(e,t){var n=e.active,r=e.exact,o=e.fetching,a=e.inactive,i=e.predicate,l=e.queryKey,s=e.stale;if(Kc(l))if(r){if(t.queryHash!==Dc(l,t.options))return!1}else if(!Wc(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,a);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)&&!(i&&!i(t)))}function zc(e,t){var n=e.exact,r=e.fetching,o=e.predicate,a=e.mutationKey;if(Kc(a)){if(!t.options.mutationKey)return!1;if(n){if(Bc(t.options.mutationKey)!==Bc(a))return!1}else if(!Wc(t.options.mutationKey,a))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function Dc(e,t){return((null==t?void 0:t.queryKeyHashFn)||Bc)(e)}function Bc(e){var t,n=jc(e);return t=n,JSON.stringify(t,(function(e,t){return qc(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function Wc(e,t){return Uc(jc(e),jc(t))}function Uc(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!Uc(e[n],t[n])})))}function Vc(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||qc(e)&&qc(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),a=o.length,i=n?[]:{},l=0,s=0;s<a;s++){var u=n?s:o[s];i[u]=Vc(e[u],t[u]),i[u]===e[u]&&l++}return r===a&&l===r?e:i}return t}function qc(e){if(!Hc(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!Hc(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Hc(e){return"[object Object]"===Object.prototype.toString.call(e)}function Kc(e){return"string"==typeof e||Array.isArray(e)}function Gc(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function Qc(){if("function"==typeof AbortController)return new AbortController}var Yc=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!Lc&&(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}Rc(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}(Tc)),Xc=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!Lc&&(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}Rc(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}(Tc));function Zc(e){return Math.min(1e3*Math.pow(2,e),3e4)}function Jc(e){return"function"==typeof(null==e?void 0:e.cancel)}var ed=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function td(e){return e instanceof ed}var nd=function(e){var t,n,r,o,a=this,i=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){i=!0},this.continueRetry=function(){i=!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){a.isResolved||(a.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),r(t))},s=function(t){a.isResolved||(a.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),o(t))};!function r(){if(!a.isResolved){var o;try{o=e.fn()}catch(e){o=Promise.reject(e)}t=function(e){if(!a.isResolved&&(s(new ed(e)),null==a.abort||a.abort(),Jc(o)))try{o.cancel()}catch(e){}},a.isTransportCancelable=Jc(o),Promise.resolve(o).then(l).catch((function(t){var o,l;if(!a.isResolved){var u,c=null!=(o=e.retry)?o:3,d=null!=(l=e.retryDelay)?l:Zc,p="function"==typeof d?d(a.failureCount,t):d,f=!0===c||"number"==typeof c&&a.failureCount<c||"function"==typeof c&&c(a.failureCount,t);if(!i&&f)a.failureCount++,null==e.onFail||e.onFail(a.failureCount,t),(u=p,new Promise((function(e){setTimeout(e,u)}))).then((function(){if(!Yc.isFocused()||!Xc.isOnline())return new Promise((function(t){n=t,a.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,a.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){i?s(t):r()}));else s(t)}}))}}()},rd=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):Gc((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&&Gc((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}()),od=console;function ad(){return od}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=Mc({},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,a=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,a))?a=o:!1!==this.options.structuralSharing&&(a=Vc(o,a)),this.dispatch({data:a,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),a},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||!_c(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,a=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var i;return null==(i=this.retryer)||i.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=jc(this.queryKey),u=Qc(),c={queryKey:s,pageParam:void 0,meta:this.meta};Object.defineProperty(c,"signal",{enumerable:!0,get:function(){if(u)return a.abortSignalConsumed=!0,u.signal}});var d,p,f={fetchOptions:t,options:this.options,queryKey:s,state:this.state,fetchFn:function(){return a.options.queryFn?(a.abortSignalConsumed=!1,a.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 nd({fn:f.fetchFn,abort:null==u||null==(o=u.abort)?void 0:o.bind(u),onSuccess:function(e){a.setData(e),null==a.cache.config.onSuccess||a.cache.config.onSuccess(e,a),0===a.cacheTime&&a.optionalRemove()},onError:function(e){td(e)&&e.silent||a.dispatch({type:"error",error:e}),td(e)||(null==a.cache.config.onError||a.cache.config.onError(e,a),ad().error(e)),0===a.cacheTime&&a.optionalRemove()},onFail:function(){a.dispatch({type:"failed"})},onPause:function(){a.dispatch({type:"pause"})},onContinue:function(){a.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),rd.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 Mc({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return Mc({},e,{isPaused:!0});case"continue":return Mc({},e,{isPaused:!1});case"fetch":return Mc({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return Mc({},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 td(o)&&o.revert&&this.revertState?Mc({},this.revertState):Mc({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return Mc({},e,{isInvalidated:!0});case"setState":return Mc({},e,t.state);default:return e}},e}(),ld=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}Rc(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,a=null!=(r=t.queryHash)?r:Dc(o,t),i=this.get(a);return i||(i=new id({cache:this,queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(i)),i},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;rd.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 Fc(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 Fc(n,e)})):this.queries},n.notify=function(e){var t=this;rd.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;rd.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;rd.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(Tc),sd=function(){function e(e){this.options=Mc({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||ud(),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),ad().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 nd({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 Mc({},e,{failureCount:e.failureCount+1});case"pause":return Mc({},e,{isPaused:!0});case"continue":return Mc({},e,{isPaused:!1});case"loading":return Mc({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return Mc({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return Mc({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return Mc({},e,t.state);default:return e}}(this.state,e),rd.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function ud(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}var cd=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}Rc(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new sd({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;rd.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;rd.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 rd.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(Ac)}))}),Promise.resolve())}))},t}(Tc);function dd(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var pd=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new ld,this.mutationCache=e.mutationCache||new cd,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=Yc.subscribe((function(){Yc.isFocused()&&Xc.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=Xc.subscribe((function(){Yc.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(Mc({},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=Nc(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return rd.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;rd.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),a=o[0],i=o[1],l=this.queryCache,s=Mc({},a,{active:!0});return rd.batch((function(){return l.findAll(a).forEach((function(e){e.reset()})),r.refetchQueries(s,i)}))},t.cancelQueries=function(e,t,n){var r=this,o=$c(e,t,n),a=o[0],i=o[1],l=void 0===i?{}:i;void 0===l.revert&&(l.revert=!0);var s=rd.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.cancel(l)}))}));return Promise.all(s).then(Ac).catch(Ac)},t.invalidateQueries=function(e,t,n){var r,o,a,i=this,l=$c(e,t,n),s=l[0],u=l[1],c=Mc({},s,{active:null==(r=null!=(o=s.refetchActive)?o:s.active)||r,inactive:null!=(a=s.refetchInactive)&&a});return rd.batch((function(){return i.queryCache.findAll(s).forEach((function(e){e.invalidate()})),i.refetchQueries(c,u)}))},t.refetchQueries=function(e,t,n){var r=this,o=$c(e,t,n),a=o[0],i=o[1],l=rd.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.fetch(void 0,Mc({},i,{meta:{refetchPage:null==a?void 0:a.refetchPage}}))}))})),s=Promise.all(l).then(Ac);return(null==i?void 0:i.throwOnError)||(s=s.catch(Ac)),s},t.fetchQuery=function(e,t,n){var r=Nc(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var a=this.queryCache.build(this,o);return a.isStaleByTime(o.staleTime)?a.fetch(o):Promise.resolve(a.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=Nc(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,o,a,i,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==(a=e.state.data)?void 0:a.pages)||[],g=(null==(i=e.state.data)?void 0:i.pageParams)||[],v=Qc(),y=null==v?void 0:v.signal,b=g,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 a={queryKey:e.queryKey,signal:y,pageParam:r,meta:e.meta},i=w(a),l=Promise.resolve(i).then((function(e){return k(t,r,e,o)}));return Jc(i)&&(l.cancel=i.cancel),l};if(m.length)if(f){var E=void 0!==p,C=E?p:dd(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,g[0]):Promise.resolve(k([],g[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?g[n]:dd(e.options,r);return S(r,t,o)}return Promise.resolve(k(r,g[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==v||v.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=rd.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 Bc(e)===Bc(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 Wc(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return Bc(e)===Bc(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 Wc(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=Mc({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=Dc(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:Mc({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),fd=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}Rc(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),hd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return md(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return md(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&&gd(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 a=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&a===this.currentRefetchInterval||this.updateRefetchInterval(a)},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(Mc({},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(),!Lc&&!this.currentResult.isStale&&Ic(this.options.staleTime)){var t=_c(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,!Lc&&!1!==this.options.enabled&&Ic(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||Yc.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,a=this.currentResult,i=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,g=d.status,v=!1,y=!1;if(t.optimisticResults){var b=this.hasListeners(),x=!b&&hd(e,t),w=b&&gd(e,r,t,o);(x||w)&&(m=!0,p||(g="loading"))}if(t.keepPreviousData&&!d.dataUpdateCount&&(null==c?void 0:c.isSuccess)&&"error"!==g)n=c.data,p=c.dataUpdatedAt,g=c.status,v=!0;else if(t.select&&void 0!==d.data)if(a&&d.data===(null==i?void 0:i.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(d.data),!1!==t.structuralSharing&&(n=Vc(null==a?void 0:a.data,n)),this.selectResult=n,this.selectError=null}catch(e){ad().error(e),this.selectError=e}else n=d.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===g||"idle"===g)){var k;if((null==a?void 0:a.isPlaceholderData)&&t.placeholderData===(null==l?void 0:l.placeholderData))k=a.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=Vc(null==a?void 0:a.data,k)),this.selectError=null}catch(e){ad().error(e),this.selectError=e}void 0!==k&&(g="success",n=k,y=!0)}return this.selectError&&(f=this.selectError,n=this.selectResult,h=Date.now(),g="error"),{status:g,isLoading:"loading"===g,isSuccess:"success"===g,isError:"error"===g,isIdle:"idle"===g,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"!==g,isLoadingError:"error"===g&&0===d.dataUpdatedAt,isPlaceholderData:y,isPreviousData:v,isRefetchError:"error"===g&&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 a="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,i=e[r]!==t[r],l=null==a?void 0:a.some((function(e){return e===n})),s=null==o?void 0:o.some((function(e){return e===n}));return i&&!s&&(!a||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(Mc({},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||td(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;rd.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}(Tc);function hd(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&&md(e,t,t.refetchOnMount)}function md(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 gd(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 yd=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}Rc(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,Mc({},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=Mc({},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;rd.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}(Tc),bd=yc.unstable_batchedUpdates;rd.setBatchNotifyFunction(bd);var xd=console;od=xd;var wd=Z.createContext(void 0),kd=Z.createContext(!1);function Sd(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=wd),window.ReactQueryClientContext):wd}var Ed=function(){var e=Z.useContext(Sd(Z.useContext(kd)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Cd=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,o=e.children;Z.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=Sd(r);return Z.createElement(kd.Provider,{value:r},Z.createElement(a.Provider,{value:t},o))};var Od,Pd=Z.createContext((Od=!1,{clearReset:function(){Od=!1},reset:function(){Od=!0},isReset:function(){return Od}}));function Rd(e,t,n){return"function"==typeof t?t.apply(void 0,n):"boolean"==typeof t?t:!!e}function Td(e,t,n){var r=Z.useRef(!1),o=Z.useState(0)[1],a=function(e,t,n){return Kc(e)?"function"==typeof t?Mc({},n,{mutationKey:e,mutationFn:t}):Mc({},t,{mutationKey:e}):"function"==typeof e?Mc({},t,{mutationFn:e}):Mc({},e)}(e,t,n),i=Ed(),l=Z.useRef();l.current?l.current.setOptions(a):l.current=new yd(i,a);var s=l.current.getCurrentResult();Z.useEffect((function(){r.current=!0;var e=l.current.subscribe(rd.batchCalls((function(){r.current&&o((function(e){return e+1}))})));return function(){r.current=!1,e()}}),[]);var u=Z.useCallback((function(e,t){l.current.mutate(e,t).catch(Ac)}),[]);if(s.error&&Rd(void 0,l.current.options.useErrorBoundary,[s.error]))throw s.error;return Mc({},s,{mutate:u,mutateAsync:s.mutate})}function Md(e,t){var n=Z.useRef(!1),r=Z.useState(0)[1],o=Ed(),a=Z.useContext(Pd),i=o.defaultQueryObserverOptions(e);i.optimisticResults=!0,i.onError&&(i.onError=rd.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=rd.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=rd.batchCalls(i.onSettled)),i.suspense&&("number"!=typeof i.staleTime&&(i.staleTime=1e3),0===i.cacheTime&&(i.cacheTime=1)),(i.suspense||i.useErrorBoundary)&&(a.isReset()||(i.retryOnMount=!1));var l=Z.useState((function(){return new t(o,i)}))[0],s=l.getOptimisticResult(i);if(Z.useEffect((function(){n.current=!0,a.clearReset();var e=l.subscribe(rd.batchCalls((function(){n.current&&r((function(e){return e+1}))})));return l.updateResult(),function(){n.current=!1,e()}}),[a,l]),Z.useEffect((function(){l.setOptions(i,{listeners:!1})}),[i,l]),i.suspense&&s.isLoading)throw l.fetchOptimistic(i).then((function(e){var t=e.data;null==i.onSuccess||i.onSuccess(t),null==i.onSettled||i.onSettled(t,null)})).catch((function(e){a.clearReset(),null==i.onError||i.onError(e),null==i.onSettled||i.onSettled(void 0,e)}));if(s.isError&&!a.isReset()&&!s.isFetching&&Rd(i.suspense,i.useErrorBoundary,[s.error,l.getCurrentQuery()]))throw s.error;return"tracked"===i.notifyOnChangeProps&&(s=l.trackResult(s,i)),s}function Ld(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,a=new Uint8Array(5*t/8|0),i=0;i<t;i++)r=r<<5|Ld(e[i]),(n+=5)>=8&&(a[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,a=0;a<n;a+=o)a+o>n&&(o=n-a),r+=String.fromCharCode.apply(null,t.subarray(a,a+o));return r}(a.buffer)}function Id(e){if(e)try{var t=c(e.split("_"),2),n=t[0],r=t[1];if("tgpak"===n){var o=c(Ad(r).split("_"),1)[0];return Number(o)}}catch(e){console.warn("Tolgee: Api key can't be parsed")}}function jd(e){if(e){var t=c(e.split("_"),1)[0];return"tgpak"===t?"tgpak":"tgpat"===t?"tgpat":"legacy"}}function _d(e){return l(this,void 0,void 0,(function(){var t;return s(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 Nd=function(e){return e?Object.entries(e).reduce((function(e,t){var n,r=c(t,2),o=r[0],i=r[1];return Array.isArray(i)||"object"!=typeof i?a(a({},e),((n={})[o]=i,n)):a(a({},e),Nd(i))}),{}):{}};function $d(e,t,n){return l(this,void 0,void 0,(function(){var r=this;return s(this,(function(o){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=a(a({},n.headers),{"X-API-Key":t.apiKey}),[2,fetch(t.apiUrl+e,n).then((function(e){return l(r,void 0,void 0,(function(){var t,n;return s(this,(function(r){switch(r.label){case 0:return e.ok?[3,2]:[4,_d(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,_d(e)];case 3:return[2,r.sent()]}}))}))})).catch((function(e){throw e.message||"Failed to fetch"}))]}))}))}function Fd(e,t,n,r){var o,a;return l(this,void 0,void 0,(function(){var i,l,u,d,p,f,h,m,g,v;return s(this,(function(s){var y;return i=(null==n?void 0:n.path)||{},l=e,void 0!==(u=Id(r.apiKey)||r.projectId)&&(i.projectId=u,l=function(e){return e.replace("/projects/","/projects/{projectId}/")}(l)),i&&Object.entries(i).forEach((function(e){var t=c(e,2),n=t[0],r=t[1];l=l.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=c(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===(a=null==n?void 0:n.content)||void 0===a?void 0:a["application/json"]),h=null==n?void 0:n.query,m="",g=Nd(h),y=g,v=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("&"),v&&(m="?"+v),[2,$d(l+m,r,{method:t,body:p||f,headers:f?{"Content-Type":"application/json"}:void 0})]}))}))}var zd=new pd({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1}}}),Dd=Z.createContext({}),Bd=function(e){var t=e.children,n=e.apiUrl,r=e.apiKey,o=e.projectId;return Z.createElement(Dd.Provider,{value:{apiUrl:n,apiKey:r,projectId:o}},Z.createElement(Cd,{client:zd},t))},Wd=function(e){var t=e.url,n=e.method,r=e.options,o=i(e,["url","method","options"]),a=m.exports.useContext(Dd);return Md(Nc([t,null==o?void 0:o.path,null==o?void 0:o.query],(function(){return Fd(t,n,o,a)}),r),fd)},Ud=function(e){var t=Ed(),n=e.url,r=e.method,o=e.options,i=e.invalidatePrefix,l=m.exports.useContext(Dd),s=Td((function(e){return Fd(n,r,e,l)}),o),u=function(e){return a(a({},e),{onSuccess:function(){for(var n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];void 0!==i&&Vd(t,i),null===(n=null==e?void 0:e.onSuccess)||void 0===n||n.call.apply(n,d([e],c(r),!1))}})},p=m.exports.useCallback((function(e,t){return s.mutate(e,u(t))}),[s.mutate]),f=m.exports.useCallback((function(e,t){return s.mutateAsync(e,u(t))}),[s.mutateAsync]);return a(a({},s),{mutate:p,mutateAsync:f})},Vd=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))},qd=function(e){for(var t=[],n=0;n<e.length;n++)"file"===e[n].kind&&t.push(e[n].getAsFile());return t};function Hd(e,t){return Boolean(null==t?void 0:t.includes(e))}function Kd(){try{return JSON.parse(localStorage.getItem("__tolgee_preferredLanguages")||"")}catch(e){return[]}}function Gd(e){localStorage.setItem("__tolgee_preferredLanguages",JSON.stringify(e))}var Qd=function(e,t,n,r){var o=n.map((function(n){var o=c(n,2),a=o[0],i=o[1];return r({language:a,namespace:t},e,i)}));return{revert:function(){return o.forEach((function(e){return e.revert()}))}}};function Yd(e){var t=this,n=e.message,r=e.recievingMessage,o=e.data,a=e.attempts,i=void 0===a?1:a,u=!1,c=function(){return new Promise((function(e,t){var a=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(i),l(),e(t)}));window.postMessage({type:n,data:o},window.origin);var i=setTimeout((function(){l(),t()}),300);function l(){a.unsubscribe()}}))};return{cancel:function(){return u=!0},promise:l(t,void 0,void 0,(function(){var e;return s(this,(function(t){switch(t.label){case 0:e=0,t.label=1;case 1:if(!(e<i))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,Zd,Jd,ep,tp=function(e){var t=c(m.exports.useState(void 0),2),n=t[0],r=t[1],o=c(m.exports.useState(!1),2),i=o[0],u=o[1],p=c(m.exports.useState([]),2),f=p[0],h=p[1],g=c(m.exports.useState(null),2),v=g[0],y=g[1];m.exports.useEffect((function(){(function(){return l(this,void 0,void 0,(function(){return s(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,Yd({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=Ud({url:"/v2/image-upload/{ids}",method:"delete"}),x=Ud({url:"/v2/image-upload",method:"post",options:{onSuccess:function(e){h((function(t){return d(d([],c(t),!1),[a(a({},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:i,screenshots:f,setScreenshots:h,screenshotDetail:v,setScreenshotDetail:y,handleUploadImages:function(e){return l(this,void 0,void 0,(function(){return s(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 l(this,void 0,void 0,(function(){var o,a,i,l,c;return s(this,(function(s){switch(s.label){case 0:return u(!0),o=e.highlight(t,n).unhighlight,a=Qd(t,n,Object.entries(r),e.changeTranslation).revert,[4,wc(200)];case 1:s.sent(),s.label=2;case 2:return s.trys.push([2,4,5,6]),[4,Yd({message:"TOLGEE_TAKE_SCREENSHOT",recievingMessage:["TOLGEE_SCREENSHOT_TAKEN"]}).promise];case 3:return i=s.sent(),[3,6];case 4:return l=s.sent(),console.error(l),[2];case 5:return a(),o(),u(!1),[7];case 6:return[4,fetch(i).then((function(e){return e.blob()}))];case 7:return c=s.sent(),w(c),[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]}}),h(f.filter((function(t){return t.id!==e})))},deleteImages:function(e){b.mutate({path:{ids:e}})},canTakeScreenshots:n}},np=(Xd=c((Zd=function(e){var t,n,r,o,u,p,f,h,g,v,y,b,x,w=c(m.exports.useState(!1),2),k=w[0],S=w[1],E=c(m.exports.useState({}),2),C=E[0],O=E[1],P=c(m.exports.useState(!1),2),R=P[0],T=P[1],M=c(m.exports.useState(e.ns[0]),2),L=M[0],A=M[1],I=c(m.exports.useState([]),2),j=I[0],_=I[1],N="tgpat"===jd(e.uiProps.apiKey),$=tp(e.uiProps),F=$.screenshots,z=$.setScreenshots,D=$.screenshotDetail,B=$.setScreenshotDetail,W=$.screenshotsUploading,U=$.takingScreenshot,V=$.handleRemoveScreenshot,q=$.handleUploadImages,H=$.deleteImages,K=$.canTakeScreenshots,G=$.error,Q=i($,["screenshots","setScreenshots","screenshotDetail","setScreenshotDetail","screenshotsUploading","takingScreenshot","handleRemoveScreenshot","handleUploadImages","deleteImages","canTakeScreenshots","error"]),Y=Wd({url:"/v2/api-keys/current",method:"get",options:{enabled:!N}}),X=Wd({url:"/v2/projects/languages",method:"get",options:{onSuccess:function(e){var t,n,r,o,a=(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=Kd().filter((function(e){return r.includes(e)})),0===o.length&&(o=r),o.slice(0,5));ne(a),Gd(a)}}}),Z=Ud({url:"/v2/projects/keys/create",method:"post"}),J=m.exports.useMemo((function(){var e,t,n,r;return n=null===(t=null===(e=X.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?d([r],c((n||[]).filter((function(e){return e!==r}))),!1):n}),[X.data]),ee=c(m.exports.useState(Kd()),2),te=ee[0],ne=ee[1],re=Wd({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,o,i={},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=c(e,2),n=t[0],r=t[1];i[n]=r.text||""})),O(i),_((null===(r=null==l?void 0:l.keyTags)||void 0===r?void 0:r.map((function(e){return e.name})))||[]),z((null===(o=null==l?void 0:l.screenshots)||void 0===o?void 0:o.map((function(e){return a(a({},e),{justUploaded:!1})})))||[])}}}),oe=m.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]),ae=Ud({url:"/v2/projects/keys/{id}/complex-update",method:"put"}),ie=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===(o=Y.data)||void 0===o?void 0:o.projectId)?"".concat(e.uiProps.apiUrl,"/projects/").concat(null===(u=Y.data)||void 0===u?void 0:u.projectId,"/translations/single?key=").concat(e.keyName).concat(void 0!==L?"&ns=".concat(L):""):void 0,se=c(m.exports.useState(void 0),2),ue=se[0],ce=se[1],de=c(m.exports.useState(!1),2),pe=de[0],fe=de[1],he=null===(p=Y.data)||void 0===p?void 0:p.permittedLanguageIds;function me(){if(D)B(null);else{e.onClose(),fe(!1);var t=ge();t.length&&H(t),z([])}}m.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 ge=function(){return F.filter((function(e){return e.justUploaded})).map((function(e){return e.id}))},ve=function(){var e;return(null===(e=null==ie?void 0:ie.screenshots)||void 0===e?void 0:e.map((function(e){return e.id})).filter((function(e){return!F.find((function(t){return t.id===e}))})))||[]};m.exports.useEffect((function(){var t;if(e.defaultValue&&J&&te&&C){var n=J.find((function(e){return e.base}));if(n&&te.includes(n.tag)&&!R){var r=void 0!==(null==ie?void 0:ie.translations[n.tag]);C[n.tag]||r||O(a(a({},C),((t={})[n.tag]=e.defaultValue,t)))}}}),[J,C,te,e.defaultValue]);var ye,be,xe=null==J?void 0:J.find((function(e){return e.base})),we=X.isFetching||re.isLoading&&!re.data||Y.isFetching,ke=ae.isLoading||Z.isLoading,Se=X.error||re.error||Y.error||Z.error||ae.error||G,Ee=null===(f=Y.data)||void 0===f?void 0:f.scopes,Ce=!N&&(we||((null===(v=null===(g=null===(h=re.data)||void 0===h?void 0:h._embedded)||void 0===g?void 0:g.keys)||void 0===v?void 0:v.length)?!Hd("translations.edit",Ee):!Hd("keys.edit",Ee))),Oe=!Ce&&Hd("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:L,loading:we,saving:ke,success:k,error:Se,availableLanguages:J,selectedLanguages:(ye=te,be=null==xe?void 0:xe.tag,be&&ye.includes(be)?d([be],c(ye.filter((function(e){return e!==be}))),!1):ye),formDisabled:Ce,translations:ie,translationsForm:C,container:ue,useBrowserWindow:pe,canTakeScreenshots:K,takingScreenshot:U,screenshotsUploading:W,screenshots:F,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(a(a({},C),((n={})[e]=t,n)))},handleUploadImages:q,handleTakeScreenshot:function(){Q.handleTakeScreenshot(e.keyName,L,C)},handleRemoveScreenshot:V,onSave:function(){return l(this,void 0,void 0,(function(){var t,n;return s(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=c(e,2),r=n[0],o=n[1];Oc(r,he,J)&&(t[r]=o)})),void 0!==ie?[3,2]:[4,Z.mutateAsync({content:{"application/json":{name:e.keyName,namespace:L||void 0,translations:t,screenshotUploadedImageIds:F.map((function(e){return e.id})),tags:j}}})];case 1:return r.sent(),[3,4];case 2:return[4,ae.mutateAsync({content:{"application/json":{name:e.keyName,namespace:L||void 0,translations:t,screenshotIdsToDelete:ve(),screenshotUploadedImageIds:ge(),tags:j}},path:{id:ie.keyId}})];case 3:r.sent(),r.label=4;case 4:return Qd(e.keyName,L,Object.entries(t),e.uiProps.changeTranslation),re.refetch(),S(!0),pe?[4,wc(2e3)]:[3,6];case 5:return r.sent(),S(!1),[3,8];case 6:return[4,wc(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),Gd(e))},setContainer:ce,setUseBrowserWindow:fe,setScreenshotDetail:B,setSelectedNs:A,setTags:_};return[Re,Te]},Jd=function(e){const t=m.exports.createContext({[kc]:{v:{current:e},n:{current:-1},l:new Set,u:e=>e()}});var n;return t[Sc]=t.Provider,t.Provider=(n=t.Provider,({value:e,children:t})=>{const r=m.exports.useRef(e),o=m.exports.useRef(0),[a,i]=m.exports.useState(null);a&&(a(e),i(null));const l=m.exports.useRef();if(!l.current){const e=new Set,t=(t,n)=>{ee.exports.unstable_batchedUpdates((()=>{o.current+=1;const r={n:o.current};null!=n&&n.suspense&&(r.n*=-1,r.p=new Promise((e=>{i((()=>t=>{r.v=t,delete r.p,e(t)}))}))),e.forEach((e=>e(r))),t()}))};l.current={[kc]:{v:r,n:o,l:e,u:t}}}return Ec((()=>{r.current=e,o.current+=1,Cc((()=>{l.current[kc].l.forEach((t=>{t({n:o.current,v:e})}))}))}),[e]),m.exports.createElement(n,{value:l.current},t)}),delete t.Consumer,t}(null),ep=Z.createContext(null),[function(e){var t=e.children,n=i(e,["children"]),r=c(Zd(n),2),o=r[0],a=r[1],l=m.exports.useRef(a);l.current=a;var s=m.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,d([e],c(r),!1))}})),e}),[l]);return Z.createElement(Jd.Provider,{value:o},Z.createElement(ep.Provider,{value:s},t))},function(){return Z.useContext(ep)},function(e){return function(e,t){const n=m.exports.useContext(e)[kc],{v:{current:r},n:{current:o},l:a}=n,i=t(r),[l,s]=m.exports.useReducer(((e,n)=>{if(!n)return[r,i];if("p"in n)throw n.p;if(n.n===o)return Object.is(e[1],i)?e:[r,i];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,i]);return Object.is(l[1],i)||s(),Ec((()=>(a.add(s),()=>{a.delete(s)})),[a]),l[1]}(Jd,e)}]),3),Xd[0]),rp=Xd[1],op=Xd[2];function ap(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[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 lp={exports:{}};function sp(){}function up(){}up.resetWarningCache=sp;function cp(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=cp(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function dp(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=cp(e))&&(r&&(r+=" "),r+=t);return r}function pp(){return pp=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},pp.apply(this,arguments)}function fp(e){return"string"==typeof e}function hp(e,t={},n){return fp(e)?t:pp({},t,{ownerState:pp({},t.ownerState,n)})}function mp(e,t){return"function"==typeof e?e(t):e}function gp(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function vp(e,t){return()=>null}function yp(){return yp=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},yp.apply(this,arguments)}function bp(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function xp(e,t,n={clone:!0}){const r=n.clone?yp({},e):e;return bp(e)&&bp(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(bp(t[o])&&o in e&&bp(e[o])?r[o]=xp(e[o],t[o],n):r[o]=t[o])})),r}lp.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=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 i.name="Invariant Violation",i}}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:up,resetWarningCache:sp};return n.PropTypes=n,n}();const wp=(lp.exports.element,()=>null);wp.isRequired=(lp.exports.element.isRequired,()=>null);var kp=(lp.exports.elementType,()=>null);function Sp(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 Ep,Cp={exports:{}},Op={},Pp=Symbol.for("react.element"),Rp=Symbol.for("react.portal"),Tp=Symbol.for("react.fragment"),Mp=Symbol.for("react.strict_mode"),Lp=Symbol.for("react.profiler"),Ap=Symbol.for("react.provider"),Ip=Symbol.for("react.context"),jp=Symbol.for("react.server_context"),_p=Symbol.for("react.forward_ref"),Np=Symbol.for("react.suspense"),$p=Symbol.for("react.suspense_list"),Fp=Symbol.for("react.memo"),zp=Symbol.for("react.lazy"),Dp=Symbol.for("react.offscreen");function Bp(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Pp:switch(e=e.type){case Tp:case Lp:case Mp:case Np:case $p:return e;default:switch(e=e&&e.$$typeof){case jp:case Ip:case _p:case zp:case Fp:case Ap:return e;default:return t}}case Rp:return t}}}Ep=Symbol.for("react.module.reference"),Op.ContextConsumer=Ip,Op.ContextProvider=Ap,Op.Element=Pp,Op.ForwardRef=_p,Op.Fragment=Tp,Op.Lazy=zp,Op.Memo=Fp,Op.Portal=Rp,Op.Profiler=Lp,Op.StrictMode=Mp,Op.Suspense=Np,Op.SuspenseList=$p,Op.isAsyncMode=function(){return!1},Op.isConcurrentMode=function(){return!1},Op.isContextConsumer=function(e){return Bp(e)===Ip},Op.isContextProvider=function(e){return Bp(e)===Ap},Op.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Pp},Op.isForwardRef=function(e){return Bp(e)===_p},Op.isFragment=function(e){return Bp(e)===Tp},Op.isLazy=function(e){return Bp(e)===zp},Op.isMemo=function(e){return Bp(e)===Fp},Op.isPortal=function(e){return Bp(e)===Rp},Op.isProfiler=function(e){return Bp(e)===Lp},Op.isStrictMode=function(e){return Bp(e)===Mp},Op.isSuspense=function(e){return Bp(e)===Np},Op.isSuspenseList=function(e){return Bp(e)===$p},Op.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Tp||e===Lp||e===Mp||e===Np||e===$p||e===Dp||"object"==typeof e&&null!==e&&(e.$$typeof===zp||e.$$typeof===Fp||e.$$typeof===Ap||e.$$typeof===Ip||e.$$typeof===_p||e.$$typeof===Ep||void 0!==e.getModuleId)},Op.typeOf=Bp,Cp.exports=Op;const Wp=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Up(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(Wp);return t&&t[1]||""}(e)||t}function Vp(e,t,n){const r=Up(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var qp="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();const Hp=lp.exports.oneOfType([lp.exports.func,lp.exports.object]);function Kp(e){if("string"!=typeof e)throw new Error(Sp(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Gp(...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 Yp(e,t){return()=>null}function Xp(e,t){return m.exports.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function Zp(e){return e&&e.ownerDocument||document}function Jp(e){return Zp(e).defaultView||window}function ef(e,t){return()=>null}function tf(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const nf="undefined"!=typeof window?m.exports.useLayoutEffect:m.exports.useEffect;let rf=0;const of=J.useId;function af(e){if(void 0!==of){const t=of();return null!=e?e:t}return function(e){const[t,n]=m.exports.useState(e),r=e||t;return m.exports.useEffect((()=>{null==t&&(rf+=1,n(`mui-${rf}`))}),[t]),r}(e)}function lf(e,t,n,r,o){return null}function sf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=m.exports.useRef(void 0!==e),[a,i]=m.exports.useState(t);return[o?e:a,m.exports.useCallback((e=>{o||i(e)}),[])]}function uf(e){const t=m.exports.useRef(e);return nf((()=>{t.current=e})),m.exports.useCallback(((...e)=>(0,t.current)(...e)),[])}function cf(e,t){return m.exports.useMemo((()=>null==e&&null==t?null:n=>{tf(e,n),tf(t,n)}),[e,t])}let df,pf=!0,ff=!1;const hf={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 mf(e){e.metaKey||e.altKey||e.ctrlKey||(pf=!0)}function gf(){pf=!1}function vf(){"hidden"===this.visibilityState&&ff&&(pf=!0)}function yf(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return pf||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!hf[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function bf(){const e=m.exports.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",mf,!0),t.addEventListener("mousedown",gf,!0),t.addEventListener("pointerdown",gf,!0),t.addEventListener("touchstart",gf,!0),t.addEventListener("visibilitychange",vf,!0))}),[]),t=m.exports.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!yf(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(ff=!0,window.clearTimeout(df),df=window.setTimeout((()=>{ff=!1}),100),t.current=!1,!0)},ref:e}}function xf(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let wf;function kf(){if(wf)return wf;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),wf="reverse",e.scrollLeft>0?wf="default":(e.scrollLeft=1,0===e.scrollLeft&&(wf="negative")),document.body.removeChild(e),wf}function Sf(){return null}Sf.isRequired=Sf;var Ef=Sf;function Cf(e,t){const n=yp({},t);return Object.keys(e).forEach((t=>{void 0===n[t]&&(n[t]=e[t])})),n}function Of(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 Pf=e=>e,Rf=(()=>{let e=Pf;return{configure(t){e=t},generate:t=>e(t),reset(){e=Pf}}})(),Tf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Mf(e,t,n="Mui"){const r=Tf[t];return r?`${n}-${r}`:`${Rf.generate(e)}-${t}`}function Lf(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Mf(e,t,n)})),r}var Af=Object.freeze({__proto__:null,chainPropTypes:vp,deepmerge:xp,isPlainObject:bp,elementAcceptingRef:wp,elementTypeAcceptingRef:kp,exactProp:function(e){return e},formatMuiErrorMessage:Sp,getDisplayName:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Up(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Cp.exports.ForwardRef:return Vp(e,e.render,"ForwardRef");case Cp.exports.Memo:return Vp(e,e.type,"memo");default:return}}},HTMLElementType:function(e,t,n,r,o){return null},ponyfillGlobal:qp,refType:Hp,unstable_capitalize:Kp,unstable_createChainedFunction:Gp,unstable_debounce:Qp,unstable_deprecatedPropType:Yp,unstable_isMuiElement:Xp,unstable_ownerDocument:Zp,unstable_ownerWindow:Jp,unstable_requirePropFactory:ef,unstable_setRef:tf,unstable_useEnhancedEffect:nf,unstable_useId:af,unstable_unsupportedProp:lf,unstable_useControlled:sf,unstable_useEventCallback:uf,unstable_useForkRef:cf,unstable_useIsFocusVisible:bf,unstable_getScrollbarSize:xf,unstable_detectScrollType:kf,unstable_getNormalizedScrollLeft:function(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(kf()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}},usePreviousProps:e=>{const t=m.exports.useRef({});return m.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:Ef,internal_resolveProps:Cf,unstable_composeClasses:Of,unstable_generateUtilityClass:Mf,unstable_generateUtilityClasses:Lf,unstable_ClassNameGenerator:Rf});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 jf(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=dp(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=pp({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=pp({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=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}(pp({},o,r)),l=If(r),s=If(o),u=t(i),c=dp(null==u?void 0:u.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=pp({},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=pp({},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 _f=["elementType","externalSlotProps","ownerState"];function Nf(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=gp(e,_f),i=mp(r,o),{props:l,internalRef:s}=jf(pp({},a,{externalSlotProps:i}));return hp(n,pp({},l,{ref:cf(s,cf(null==i?void 0:i.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 Ff(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:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let u=i?l.trim():l;n&&(u=u.toLowerCase()),t&&(u=$f(u));const c=u?e.filter((e=>{let r=(a||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 Df(e){const{autoComplete:t=!1,autoHighlight:n=!1,autoSelect:r=!1,blurOnSelect:o=!1,clearOnBlur:a=!e.freeSolo,clearOnEscape:i=!1,componentName:l="useAutocomplete",defaultValue:s=(e.multiple?[]:null),disableClearable:u=!1,disableCloseOnSelect:c=!1,disabled:d,disabledItemsFocusable:p=!1,disableListWrap:f=!1,filterOptions:h=zf,filterSelectedOptions:g=!1,freeSolo:v=!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:L,open:A,openOnFocus:I=!1,options:j,readOnly:_=!1,selectOnFocus:N=!e.freeSolo,value:$}=e,F=af(k);let z=b;z=e=>{const t=b(e);return"string"!=typeof t?String(t):t};const D=m.exports.useRef(!1),B=m.exports.useRef(!0),W=m.exports.useRef(null),U=m.exports.useRef(null),[V,q]=m.exports.useState(null),[H,K]=m.exports.useState(-1),G=n?0:-1,Q=m.exports.useRef(G),[Y,X]=sf({controlled:$,default:s,name:l}),[Z,J]=sf({controlled:E,default:"",name:l,state:"inputValue"}),[ee,te]=m.exports.useState(!1),ne=m.exports.useCallback(((e,t)=>{if(!(O?Y.length<t.length:null!==t)&&!a)return;let n;if(O)n="";else if(null==t)n="";else{const e=z(t);n="string"==typeof e?e:""}Z!==n&&(J(n),M&&M(e,n,"reset"))}),[z,Z,O,M,J,a,Y]),re=m.exports.useRef();m.exports.useEffect((()=>{const e=Y!==re.current;re.current=Y,ee&&!e||v&&!e||ne(null,Y)}),[Y,ne,ee,re,v]);const[oe,ae]=sf({controlled:A,default:!1,name:l,state:"open"}),[ie,le]=m.exports.useState(!0),se=!O&&null!=Y&&Z===z(Y),ue=oe&&!_,ce=ue?h(j.filter((e=>!g||!(O?Y:[Y]).some((t=>null!==t&&C(e,t))))),{inputValue:se&&ie?"":Z,getOptionLabel:z}):[],de=oe&&ce.length>0&&!_,pe=uf((e=>{-1===e?W.current.focus():V.querySelector(`[data-tag-index="${e}"]`).focus()}));m.exports.useEffect((()=>{O&&H>Y.length-1&&(K(-1),pe(-1))}),[Y,O,H,pe]);const fe=uf((({event:e,index:t,reason:n="auto"})=>{if(Q.current=t,-1===t?W.current.removeAttribute("aria-activedescendant"):W.current.setAttribute("aria-activedescendant",`${F}-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 a=U.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add("Mui-focused"),"keyboard"===n&&a.classList.add("Mui-focusVisible"),o.scrollHeight>o.clientHeight&&"mouse"!==n)){const e=a,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=uf((({event:e,diff:n,direction:r="next",reason:o="auto"})=>{if(!ue)return;const a=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 G;if("start"===n)return 0;if("end"===n)return e;const t=Q.current+n;return t<0?-1===t&&S?-1:f&&-1!==Q.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:a,reason:o,event:e}),t&&"reset"!==n)if(-1===a)W.current.value=Z;else{const e=z(ce[a]);W.current.value=e;0===e.toLowerCase().indexOf(Z.toLowerCase())&&Z.length>0&&W.current.setSelectionRange(Z.length,e.length)}})),me=m.exports.useCallback((()=>{if(!ue)return;const e=O?Y[0]:Y;if(0!==ce.length&&null!=e){if(U.current)if(null==e)Q.current>=ce.length-1?fe({index:ce.length-1}):fe({index:Q.current});else{const t=ce[Q.current];if(O&&t&&-1!==Ff(Y,(e=>C(t,e))))return;const n=Ff(ce,(t=>C(t,e)));-1===n?he({diff:"reset"}):fe({index:n})}}else he({diff:"reset"})}),[ce.length,!O&&Y,g,he,fe,ue,Z,O]),ge=uf((e=>{tf(U,e),e&&me()}));m.exports.useEffect((()=>{me()}),[me]);const ve=e=>{oe||(ae(!0),le(!0),L&&L(e))},ye=(e,t)=>{oe&&(ae(!1),R&&R(e,t))},be=(e,t,n,r)=>{if(O){if(Y.length===t.length&&Y.every(((e,n)=>e===t[n])))return}else if(Y===t)return;P&&P(e,t,n,r),X(t)},xe=m.exports.useRef(!1),we=(e,t,n="selectOption",r="options")=>{let a=n,i=t;if(O){i=Array.isArray(Y)?Y.slice():[];const e=Ff(i,(e=>C(t,e)));-1===e?i.push(t):"freeSolo"!==r&&(i.splice(e,1),a="removeOption")}ne(e,i),be(e,i,a,{option:t}),c||e&&(e.ctrlKey||e.metaKey)||ye(e,a),(!0===o||"touch"===o&&xe.current||"mouse"===o&&!xe.current)&&W.current.blur()};const ke=(e,t)=>{if(!O)return;""===Z&&ye(e,"toggleInput");let n=H;-1===H?""===Z&&"previous"===t&&(n=Y.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===Y.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===Y.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,J(""),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}),ve(n);break;case"PageDown":n.preventDefault(),he({diff:5,direction:"next",reason:"keyboard",event:n}),ve(n);break;case"ArrowDown":n.preventDefault(),he({diff:1,direction:"next",reason:"keyboard",event:n}),ve(n);break;case"ArrowUp":n.preventDefault(),he({diff:-1,direction:"previous",reason:"keyboard",event:n}),ve(n);break;case"ArrowLeft":ke(n,"previous");break;case"ArrowRight":ke(n,"next");break;case"Enter":if(-1!==Q.current&&ue){const e=ce[Q.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 v&&""!==Z&&!1===se&&(O&&n.preventDefault(),we(n,Z,"createOption","freeSolo"));break;case"Escape":ue?(n.preventDefault(),n.stopPropagation(),ye(n,"escape")):i&&(""!==Z||O&&Y.length>0)&&(n.preventDefault(),n.stopPropagation(),Se(n));break;case"Backspace":if(O&&!_&&""===Z&&Y.length>0){const e=-1===H?Y.length-1:H,t=Y.slice();t.splice(e,1),be(n,t,"removeOption",{option:Y[e]})}}},Ce=e=>{te(!0),I&&!D.current&&ve(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!==Q.current&&ue?we(e,ce[Q.current],"blur"):r&&v&&""!==Z?we(e,Z,"blur","freeSolo"):a&&ne(e,Y),ye(e,"blur"))},Pe=e=>{const t=e.target.value;Z!==t&&(J(t),le(!1),M&&M(e,t,"input")),""===t?u||O||be(e,null,"clear"):ve(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},Le=e=>t=>{const n=Y.slice();n.splice(e,1),be(t,n,"removeOption",{option:Y[e]})},Ae=e=>{oe?ye(e,"toggleInput"):ve(e)},Ie=e=>{e.target.getAttribute("id")!==F&&e.preventDefault()},je=()=>{W.current.focus(),N&&B.current&&W.current.selectionEnd-W.current.selectionStart==0&&W.current.select(),B.current=!1},_e=e=>{""!==Z&&oe||Ae(e)};let Ne=v&&Z.length>0;Ne=Ne||(O?Y.length>0:null!==Y);let $e=ce;return x&&($e=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={})=>pp({"aria-owns":de?`${F}-listbox`:null},e,{onKeyDown:Ee(e),onMouseDown:Ie,onClick:je}),getInputLabelProps:()=>({id:`${F}-label`,htmlFor:F}),getInputProps:()=>({id:F,value:Z,onBlur:Oe,onFocus:Ce,onChange:Pe,onMouseDown:_e,"aria-activedescendant":ue?"":null,"aria-autocomplete":t?"both":"list","aria-controls":de?`${F}-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:Ae}),getTagProps:({index:e})=>pp({key:e,"data-tag-index":e,tabIndex:-1},!_&&{onDelete:Le(e)}),getListboxProps:()=>({role:"listbox",id:`${F}-listbox`,"aria-labelledby":`${F}-label`,ref:ge,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const n=(O?Y:[Y]).some((e=>null!=e&&C(t,e))),r=!!y&&y(t);return{key:z(t),tabIndex:-1,role:"option",id:`${F}-option-${e}`,onMouseOver:Re,onClick:Me,onTouchStart:Te,"data-option-index":e,"aria-disabled":r,"aria-selected":n}},id:F,inputValue:Z,value:Y,dirty:Ne,popupOpen:ue,focused:ee||-1!==H,anchorEl:V,setAnchorEl:q,focusedTag:H,groupedOptions:$e}}var Bf={exports:{}},Wf={},Uf=m.exports,Vf=60103;if(Wf.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var qf=Symbol.for;Vf=qf("react.element"),Wf.Fragment=qf("react.fragment")}var Hf=Uf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Kf=Object.prototype.hasOwnProperty,Gf={key:!0,ref:!0,__self:!0,__source:!0};function Qf(e,t,n){var r,o={},a=null,i=null;for(r in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)Kf.call(t,r)&&!Gf.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:Vf,type:e,key:a,ref:i,props:o,_owner:Hf.current}}Wf.jsx=Qf,Wf.jsxs=Qf,Bf.exports=Wf;const Yf=["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(Yf)).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 Zf(){return!0}function Jf(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=Xf,isEnabled:i=Zf,open:l}=e,s=m.exports.useRef(),u=m.exports.useRef(null),c=m.exports.useRef(null),d=m.exports.useRef(null),p=m.exports.useRef(null),f=m.exports.useRef(!1),h=m.exports.useRef(null),g=cf(t.ref,h),v=m.exports.useRef(null);m.exports.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),m.exports.useEffect((()=>{if(!l||!h.current)return;const e=Zp(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex",-1),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),m.exports.useEffect((()=>{if(!l||!h.current)return;const e=Zp(h.current),t=t=>{const{current:n}=h;if(null!==n)if(e.hasFocus()&&!r&&i()&&!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=a(h.current)),r.length>0){var o,l;const e=Boolean((null==(o=v.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=v.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=>{v.current=t,!r&&i()&&"Tab"===t.key&&e.activeElement===h.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,i,l,a]);const y=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Bf.exports.jsxs(m.exports.Fragment,{children:[Bf.exports.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),m.exports.cloneElement(t,{ref:g,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),Bf.exports.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}var eh="top",th="bottom",nh="right",rh="left",oh=[eh,th,nh,rh],ah=oh.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),ih=[].concat(oh,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),lh=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function sh(e){return e?(e.nodeName||"").toLowerCase():null}function uh(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ch(e){return e instanceof uh(e).Element||e instanceof Element}function dh(e){return e instanceof uh(e).HTMLElement||e instanceof HTMLElement}function ph(e){return"undefined"!=typeof ShadowRoot&&(e instanceof uh(e).ShadowRoot||e instanceof ShadowRoot)}var fh={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];dh(o)&&sh(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]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});dh(r)&&sh(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function hh(e){return e.split("-")[0]}var mh=Math.max,gh=Math.min,vh=Math.round;function yh(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function bh(){return!/^((?!chrome|android).)*safari/i.test(yh())}function xh(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&dh(e)&&(o=e.offsetWidth>0&&vh(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&vh(r.height)/e.offsetHeight||1);var i=(ch(e)?uh(e):window).visualViewport,l=!bh()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,u=(r.top+(l&&i?i.offsetTop:0))/a,c=r.width/o,d=r.height/a;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function wh(e){var t=xh(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 kh(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ph(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Sh(e){return uh(e).getComputedStyle(e)}function Eh(e){return["table","td","th"].indexOf(sh(e))>=0}function Ch(e){return((ch(e)?e.ownerDocument:e.document)||window.document).documentElement}function Oh(e){return"html"===sh(e)?e:e.assignedSlot||e.parentNode||(ph(e)?e.host:null)||Ch(e)}function Ph(e){return dh(e)&&"fixed"!==Sh(e).position?e.offsetParent:null}function Rh(e){for(var t=uh(e),n=Ph(e);n&&Eh(n)&&"static"===Sh(n).position;)n=Ph(n);return n&&("html"===sh(n)||"body"===sh(n)&&"static"===Sh(n).position)?t:n||function(e){var t=/firefox/i.test(yh());if(/Trident/i.test(yh())&&dh(e)&&"fixed"===Sh(e).position)return null;var n=Oh(e);for(ph(n)&&(n=n.host);dh(n)&&["html","body"].indexOf(sh(n))<0;){var r=Sh(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 Th(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Mh(e,t,n){return mh(e,gh(t,n))}function Lh(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,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=hh(n.placement),s=Th(l),u=[rh,nh].indexOf(l)>=0?"height":"width";if(a&&i){var c=function(e,t){return Lh("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ah(e,oh))}(o.padding,n),d=wh(a),p="y"===s?eh:rh,f="y"===s?th:nh,h=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],m=i[s]-n.rects.reference[s],g=Rh(a),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=c[p],x=v-d[u]-c[f],w=v/2-d[u]/2+y,k=Mh(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)))&&kh(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function jh(e){return e.split("-")[1]}var _h={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Nh(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,h=i.y,m=void 0===h?0:h,g="function"==typeof c?c({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=rh,x=eh,w=window;if(u){var k=Rh(n),S="clientHeight",E="clientWidth";if(k===uh(n)&&"static"!==Sh(k=Ch(n)).position&&"absolute"===l&&(S="scrollHeight",E="scrollWidth"),o===eh||(o===rh||o===nh)&&"end"===a)x=th,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-r.height,m*=s?1:-1;if(o===rh||(o===eh||o===th)&&"end"===a)b=nh,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&&_h),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]=v?"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]=v?f+"px":"",t.transform="",t))}var $h={passive:!0};var Fh={left:"right",right:"left",bottom:"top",top:"bottom"};function zh(e){return e.replace(/left|right|bottom|top/g,(function(e){return Fh[e]}))}var Dh={start:"end",end:"start"};function Bh(e){return e.replace(/start|end/g,(function(e){return Dh[e]}))}function Wh(e){var t=uh(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Uh(e){return xh(Ch(e)).left+Wh(e).scrollLeft}function Vh(e){var t=Sh(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function qh(e){return["html","body","#document"].indexOf(sh(e))>=0?e.ownerDocument.body:dh(e)&&Vh(e)?e:qh(Oh(e))}function Hh(e,t){var n;void 0===t&&(t=[]);var r=qh(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=uh(r),i=o?[a].concat(a.visualViewport||[],Vh(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(Hh(Oh(i)))}function Kh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Gh(e,t,n){return"viewport"===t?Kh(function(e,t){var n=uh(e),r=Ch(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var u=bh();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+Uh(e),y:s}}(e,n)):ch(t)?function(e,t){var n=xh(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):Kh(function(e){var t,n=Ch(e),r=Wh(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=mh(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=mh(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Uh(e),s=-r.scrollTop;return"rtl"===Sh(o||n).direction&&(l+=mh(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Ch(e)))}function Qh(e,t,n,r){var o="clippingParents"===t?function(e){var t=Hh(Oh(e)),n=["absolute","fixed"].indexOf(Sh(e).position)>=0&&dh(e)?Rh(e):e;return ch(n)?t.filter((function(e){return ch(e)&&kh(e,n)&&"body"!==sh(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=Gh(e,n,r);return t.top=mh(o.top,t.top),t.right=gh(o.right,t.right),t.bottom=gh(o.bottom,t.bottom),t.left=mh(o.left,t.left),t}),Gh(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Yh(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?hh(o):null,i=o?jh(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case eh:t={x:l,y:n.y-r.height};break;case th:t={x:l,y:n.y+n.height};break;case nh:t={x:n.x+n.width,y:s};break;case rh:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=a?Th(a):null;if(null!=u){var c="y"===u?"height":"width";switch(i){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,a=n.strategy,i=void 0===a?e.strategy:a,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,g=void 0===m?0:m,v=Lh("number"!=typeof g?g:Ah(g,oh)),y="popper"===p?"reference":"popper",b=e.rects.popper,x=e.elements[h?y:p],w=Qh(ch(x)?x:x.contextElement||Ch(e.elements.popper),s,c,i),k=xh(e.elements.reference),S=Yh({reference:k,element:b,strategy:"absolute",placement:o}),E=Kh(Object.assign({},b,S)),C="popper"===p?E:k,O={top:w.top-C.top+v.top,bottom:C.bottom-w.bottom+v.bottom,left:w.left-C.left+v.left,right:C.right-w.right+v.right},P=e.modifiersData.offset;if("popper"===p&&P){var R=P[o];Object.keys(O).forEach((function(e){var t=[nh,th].indexOf(e)>=0?1:-1,n=[eh,th].indexOf(e)>=0?"y":"x";O[e]+=R[n]*t}))}return O}function Zh(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?ih:s,c=jh(r),d=c?l?ah:ah.filter((function(e){return jh(e)===c})):oh,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:a,padding:i})[hh(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,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,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,g=t.options.placement,v=hh(g),y=s||(v===g||!h?[zh(g)]:function(e){if("auto"===hh(e))return[];var t=zh(e);return[Bh(e),t,Bh(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat("auto"===hh(n)?Zh(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=hh(O),R="start"===jh(O),T=[eh,th].indexOf(P)>=0,M=T?"width":"height",L=Xh(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),A=T?R?nh:rh:R?th:eh;x[M]>w[M]&&(A=zh(A));var I=zh(A),j=[];if(a&&j.push(L[P]<=0),l&&j.push(L[A]<=0,L[I]<=0),j.every((function(e){return e}))){E=O,S=!1;break}k.set(O,j)}if(S)for(var _=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"},N=h?3:1;N>0;N--){if("break"===_(N))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function em(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 tm(e){return[eh,nh,th,rh].some((function(t){return e[t]>=0}))}var nm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=ih.reduce((function(e,n){return e[n]=function(e,t,n){var r=hh(e),o=[rh,eh].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[rh,nh].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[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]=i}};var rm={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,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,g=Xh(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),v=hh(t.placement),y=jh(t.placement),b=!y,x=Th(v),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(a){var T,M="y"===x?eh:rh,L="y"===x?th:nh,A="y"===x?"height":"width",I=k[x],j=I+g[M],_=I-g[L],N=f?-E[A]/2:0,$="start"===y?S[A]:E[A],F="start"===y?-E[A]:-S[A],z=t.elements.arrow,D=f&&z?wh(z):{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[L],V=Mh(0,S[A],D[A]),q=b?S[A]/2-N-V-W-O.mainAxis:$-V-W-O.mainAxis,H=b?-S[A]/2+N+V+U+O.mainAxis:F+V+U+O.mainAxis,K=t.elements.arrow&&Rh(t.elements.arrow),G=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,Q=null!=(T=null==P?void 0:P[x])?T:0,Y=I+H-Q,X=Mh(f?gh(j,I+q-Q-G):j,I,f?mh(_,Y):_);k[x]=X,R[x]=X-I}if(l){var Z,J="x"===x?eh:rh,ee="x"===x?th:nh,te=k[w],ne="y"===w?"height":"width",re=te+g[J],oe=te-g[ee],ae=-1!==[eh,rh].indexOf(v),ie=null!=(Z=null==P?void 0:P[w])?Z:0,le=ae?re:te-S[ne]-E[ne]-ie+O.altAxis,se=ae?te+S[ne]+E[ne]-ie-O.altAxis:oe,ue=f&&ae?function(e,t,n){var r=Mh(e,t,n);return r>n?n:r}(le,te,se):Mh(f?le:re,te,f?se:oe);k[w]=ue,R[w]=ue-te}t.modifiersData[r]=R}},requiresIfExists:["offset"]};function om(e,t,n){void 0===n&&(n=!1);var r,o,a=dh(t),i=dh(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=Ch(t),s=xh(e,i,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!n)&&(("body"!==sh(t)||Vh(l))&&(u=(r=t)!==uh(r)&&dh(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Wh(r)),dh(t)?((c=xh(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):l&&(c.x=Uh(l))),{x:s.left+u.scrollLeft-c.x,y:s.top+u.scrollTop-c.y,width:s.width,height:s.height}}function am(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 lm(){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 sm(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?im:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},im,a),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({},a,l.options,o),l.scrollParents={reference:ch(e)?Hh(e):e.contextElement?Hh(e.contextElement):[],popper:Hh(t)};var i,u,p=function(e){var t=am(e);return lh.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),u=i.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 a=o({state:l,name:t,instance:c,options:r}),i=function(){};s.push(a||i)}})),c.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(lm(t,n)){l.rects={reference:om(t,Rh(n),"fixed"===l.options.strategy),popper:wh(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],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({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 i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),u=!0}};if(!lm(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 um=sm({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,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=uh(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,$h)})),l&&s.addEventListener("resize",n.update,$h),function(){a&&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]=Yh({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,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,u={placement:hh(t.placement),variation:jh(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,Nh(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Nh(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:{}},fh,nm,Jh,rm,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,a=t.modifiersData.preventOverflow,i=Xh(t,{elementContext:"reference"}),l=Xh(t,{altBoundary:!0}),s=em(i,r),u=em(l,o,a),c=tm(s),d=tm(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 cm=m.exports.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[a,i]=m.exports.useState(null),l=cf(m.exports.isValidElement(n)?n.ref:null,t);return nf((()=>{o||i(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),nf((()=>{if(a&&!o)return tf(t,a),()=>{tf(t,null)}}),[t,a,o]),o?m.exports.isValidElement(n)?m.exports.cloneElement(n,{ref:l}):n:Bf.exports.jsx(m.exports.Fragment,{children:a?ee.exports.createPortal(n,a):a})}));function dm(e){return Mf("MuiPopperUnstyled",e)}Lf("MuiPopperUnstyled",["root"]);const pm=["anchorEl","children","component","components","componentsProps","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],fm=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function hm(e){return"function"==typeof e?e():e}const mm={},gm=m.exports.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,component:a,components:i={},componentsProps:l={},direction:s,disablePortal:u,modifiers:c,open:d,ownerState:p,placement:f,popperOptions:h,popperRef:g,TransitionProps:v}=e,y=gp(e,pm),b=m.exports.useRef(null),x=cf(b,t),w=m.exports.useRef(null),k=cf(w,g),S=m.exports.useRef(k);nf((()=>{S.current=k}),[k]),m.exports.useImperativeHandle(g,(()=>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]=m.exports.useState(E);m.exports.useEffect((()=>{w.current&&w.current.forceUpdate()})),nf((()=>{if(!r||!d)return;hm(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)),h&&null!=h.modifiers&&(e=e.concat(h.modifiers));const t=um(hm(r),b.current,pp({placement:E},h,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[r,u,c,d,h,E]);const P={placement:C};null!==v&&(P.TransitionProps=v);const R=Of({root:["root"]},dm,{}),T=null!=(n=null!=a?a:i.Root)?n:"div",M=Nf({elementType:T,externalSlotProps:l.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:pp({},e,p),className:R.root});return Bf.exports.jsx(T,pp({},M,{children:"function"==typeof o?o(P):o}))})),vm=m.exports.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:a="ltr",disablePortal:i=!1,keepMounted:l=!1,modifiers:s,open:u,placement:c="bottom",popperOptions:d=mm,popperRef:p,style:f,transition:h=!1}=e,g=gp(e,fm),[v,y]=m.exports.useState(!0);if(!l&&!u&&(!h||v))return null;const b=o||(n?Zp(hm(n)).body:void 0);return Bf.exports.jsx(cm,{disablePortal:i,container:b,children:Bf.exports.jsx(gm,pp({anchorEl:n,direction:a,disablePortal:i,modifiers:s,ref:t,open:h?!v:u,placement:c,popperOptions:d,popperRef:p},g,{style:pp({position:"fixed",top:0,left:0,display:u||!l||h&&!v?null:"none"},f),TransitionProps:h?{in:u,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:null,children:r}))})}));var ym=vm;function bm(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function xm(e){return parseInt(Jp(e).getComputedStyle(e).paddingRight,10)||0}function wm(e,t,n,r=[],o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===a.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&&bm(e,o)}))}function km(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function Sm(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Zp(e);return t.body===e?Jp(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=xf(Zp(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${xm(r)+e}px`;const t=Zp(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${xm(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=Zp(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 Em(e){return Mf("MuiModal",e)}Lf("MuiModal",["root","hidden"]);const Cm=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"];const Om=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&&bm(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);wm(t,e.mount,e.modalRef,r,!0);const o=km(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=km(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=Sm(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=km(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&&bm(e.modalRef,t),wm(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&&bm(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};var Pm=m.exports.forwardRef((function(e,t){var n;const{children:r,classes:o,closeAfterTransition:a=!1,component:i="div",components:l={},componentsProps:s={},container:u,disableAutoFocus:c=!1,disableEnforceFocus:d=!1,disableEscapeKeyDown:p=!1,disablePortal:f=!1,disableRestoreFocus:h=!1,disableScrollLock:g=!1,hideBackdrop:v=!1,keepMounted:y=!1,manager:b=Om,onBackdropClick:x,onClose:w,onKeyDown:k,open:S,onTransitionEnter:E,onTransitionExited:C}=e,O=gp(e,Cm),[P,R]=m.exports.useState(!0),T=m.exports.useRef({}),M=m.exports.useRef(null),L=m.exports.useRef(null),A=cf(L,t),I=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),j=null==(n=e["aria-hidden"])||n,_=()=>(T.current.modalRef=L.current,T.current.mountNode=M.current,T.current),N=()=>{b.mount(_(),{disableScrollLock:g}),L.current.scrollTop=0},$=uf((()=>{const e=function(e){return"function"==typeof e?e():e}(u)||Zp(M.current).body;b.add(_(),e),L.current&&N()})),F=m.exports.useCallback((()=>b.isTopModal(_())),[b]),z=uf((e=>{M.current=e,e&&(S&&F()?N():bm(L.current,j))})),D=m.exports.useCallback((()=>{b.remove(_(),j)}),[b,j]);m.exports.useEffect((()=>()=>{D()}),[D]),m.exports.useEffect((()=>{S?$():I&&a||D()}),[S,D,I,a,$]);const B=pp({},e,{classes:o,closeAfterTransition:a,disableAutoFocus:c,disableEnforceFocus:d,disableEscapeKeyDown:p,disablePortal:f,disableRestoreFocus:h,disableScrollLock:g,exited:P,hideBackdrop:v,keepMounted:y}),W=(e=>{const{open:t,exited:n,classes:r}=e;return Of({root:["root",!t&&n&&"hidden"]},Em,r)})(B),U=()=>{R(!1),E&&E()},V=()=>{R(!0),C&&C(),a&&D()},q={};void 0===r.props.tabIndex&&(q.tabIndex="-1"),I&&(q.onEnter=Gp(U,r.props.onEnter),q.onExited=Gp(V,r.props.onExited));const H=l.Root||i,K=Nf({elementType:H,externalSlotProps:s.root,externalForwardedProps:O,additionalProps:{ref:A,role:"presentation",onKeyDown:e=>{k&&k(e),"Escape"===e.key&&F()&&(p||(e.stopPropagation(),w&&w(e,"escapeKeyDown")))}},className:W.root,ownerState:B}),G=l.Backdrop,Q=Nf({elementType:G,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||I&&!P?Bf.exports.jsx(cm,{ref:z,container:u,disablePortal:f,children:Bf.exports.jsxs(H,pp({},K,{children:[!v&&G?Bf.exports.jsx(G,pp({},Q)):null,Bf.exports.jsx(Jf,{disableEnforceFocus:d,disableAutoFocus:c,disableRestoreFocus:h,isEnabled:F,open:S,children:m.exports.cloneElement(r,q)})]}))}):null}));const Rm=["onChange","maxRows","minRows","style","value"];function Tm(e,t){return parseInt(e[t],10)||0}const Mm={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Lm(e){return null==e||0===Object.keys(e).length}const Am=m.exports.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:a,value:i}=e,l=gp(e,Rm),{current:s}=m.exports.useRef(null!=i),u=m.exports.useRef(null),c=cf(t,u),d=m.exports.useRef(null),p=m.exports.useRef(0),[f,h]=m.exports.useState({}),g=m.exports.useCallback((()=>{const t=u.current,n=Jp(t).getComputedStyle(t);if("0px"===n.width)return{};const a=d.current;a.style.width=n.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=n["box-sizing"],l=Tm(n,"padding-bottom")+Tm(n,"padding-top"),s=Tm(n,"border-bottom-width")+Tm(n,"border-top-width"),c=a.scrollHeight;a.value="x";const p=a.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"===i?l+s:0),overflow:Math.abs(f-c)<=1}}),[r,o,e.placeholder]),v=(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=m.exports.useCallback((()=>{const e=g();Lm(e)||h((t=>v(t,e)))}),[g]);m.exports.useEffect((()=>{const e=Qp((()=>{p.current=0,u.current&&(()=>{const e=g();Lm(e)||ee.exports.flushSync((()=>{h((t=>v(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()}})),nf((()=>{y()})),m.exports.useEffect((()=>{p.current=0}),[i]);return Bf.exports.jsxs(m.exports.Fragment,{children:[Bf.exports.jsx("textarea",pp({value:i,onChange:e=>{p.current=0,s||y(),n&&n(e)},ref:c,rows:o,style:pp({height:f.outerHeightStyle,overflow:f.overflow?"hidden":null},a)},l)),Bf.exports.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:pp({},Mm,a,{padding:0})})]})}));var Im=Am;function jm(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 _m=/^((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)-.*))$/,Nm=jm((function(e){return _m.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 Fm=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",a="rule",i="decl",l="@page",s="@media",u="@import",c="@charset",d="@viewport",p="@supports",f="@document",h="@namespace",m="@keyframes",g="@font-face",v="@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 L(e,t){return t.push(e),e}function A(e,t){return e.map(t).join("")}function I(t,n,r,o,a,i,l){return{value:t,root:n,parent:r,type:o,props:a,children:i,line:e.line,column:e.column,length:l,return:""}}function j(e,t){return w(I("",null,null,"",null,null,0),e,{length:-e.length},t)}function _(){return e.character}function N(){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 $(){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 F(){return P(e.characters,e.position)}function z(){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,Q(91===t?t+2:40===t?t+1:t)))}function q(e){return U(K(W(e)))}function H(t){for(;(e.character=F())&&e.character<33;)$();return B(t)>2||B(e.character)>3?"":" "}function K(t){for(;$();)switch(B(e.character)){case 0:L(X(e.position-1),t);break;case 2:L(V(e.character),t);break;default:L(x(e.character),t)}return t}function G(t,n){for(;--n&&$()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return D(t,z()+(n<6&&32==F()&&32==$()))}function Q(t){for(;$();)switch(e.character){case t:return e.position;case 34:case 39:34!==t&&39!==t&&Q(e.character);break;case 40:41===t&&Q(t);break;case 92:$()}return e.position}function Y(t,n){for(;$()&&t+e.character!==57&&(t+e.character!==84||47!==F()););return"/*"+D(n,e.position-1)+"*"+x(47===t?t:$())}function X(t){for(;!B(F());)$();return D(t,e.position)}function Z(e){return U(J("",null,null,null,[""],e=W(e),0,[0],e))}function J(e,t,n,r,o,a,i,l,s){for(var u=0,c=0,d=i,p=0,f=0,h=0,m=1,g=1,v=1,y=0,b="",w=o,k=a,S=r,E=b;g;)switch(h=y,y=$()){case 40:if(108!=h&&58==E.charCodeAt(d-1)){-1!=O(E+=C(V(y),"&","&\f"),"&\f")&&(v=-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+=G(z()-1,7);continue;case 47:switch(F()){case 42:case 47:L(te(Y($(),z()),t,n),s);break;default:E+="/"}break;case 123*m:l[u++]=T(E)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+c:f>0&&T(E)-d&&L(f>32?ne(E+";",r,n,d-1):ne(C(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if(L(S=ee(E,t,n,u,c,o,l,b,w=[],k=[],d),a),123===y)if(0===c)J(E,t,S,S,w,a,d,l,k);else switch(p){case 100:case 109:case 115:J(e,S,S,r&&L(ee(e,S,S,0,0,o,l,b,o,w=[],d),k),o,k,d,l,r?w:k);break;default:J(E,S,S,S,[""],k,0,l,k)}}u=c=f=0,m=v=1,b=E="",d=i;break;case 58:d=1+T(E),f=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==N())continue;switch(E+=x(y),y*m){case 38:v=c>0?1:(E+="\f",-1);break;case 44:l[u++]=(T(E)-1)*v,v=1;break;case 64:45===F()&&(E+=V($())),p=F(),c=d=T(b=E+=X(z())),y++;break;case 45:45===h&&2==T(E)&&(m=0)}}return a}function ee(e,t,n,r,o,i,l,s,u,c,d){for(var p=o-1,f=0===o?i:[""],h=M(f),m=0,g=0,v=0;m<r;++m)for(var y=0,x=R(e,p+1,p=b(g=l[m])),w=e;y<h;++y)(w=S(g>0?f[y]+" "+x:C(x,/&\f/g,f[y])))&&(u[v++]=w);return I(e,t,n,0===o?a:s,u,c,d)}function te(e,t,n){return I(e,t,n,o,x(_()),R(e,2,-2),0)}function ne(e,t,n,r){return I(e,t,n,i,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 ae(e,t,n,r){switch(e.type){case u:case i:return e.return=e.return||e.value;case o:return"";case m:return e.return=e.value+"{"+oe(e.children,r)+"}";case a:e.value=e.props.join(",")}return T(n=oe(e.children,r))?e.return=e.value+"{"+n+"}":""}function ie(e){var t=M(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}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 i:e.return=re(e.value,e.length);break;case m:return oe([j(e,{value:C(e.value,"@","@"+r)})],s);case a:if(e.length)return A(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===a&&(e.props=e.props.map((function(t){return A(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=v,e.DECLARATION=i,e.DOCUMENT=f,e.FONT_FACE=g,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=a,e.SUPPORTS=p,e.VIEWPORT=d,e.WEBKIT=r,e.abs=b,e.alloc=W,e.append=L,e.assign=w,e.caret=z,e.char=_,e.charat=P,e.combine=A,e.comment=te,e.commenter=Y,e.compile=Z,e.copy=j,e.dealloc=U,e.declaration=ne,e.delimit=V,e.delimiter=Q,e.escaping=G,e.from=x,e.hash=k,e.identifier=X,e.indexof=O,e.match=E,e.middleware=ie,e.namespace=ue,e.next=$,e.node=I,e.parse=J,e.peek=F,e.prefix=re,e.prefixer=se,e.prev=N,e.replace=C,e.ruleset=ee,e.rulesheet=le,e.serialize=oe,e.sizeof=M,e.slice=D,e.stringify=ae,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 Dm=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)},Bm=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]+=Dm(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))},Wm=new WeakMap,Um=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)||Wm.get(n))&&!r){Wm.set(e,!0);for(var o=[],a=Bm(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var u=0;u<i.length;u++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[u]):i[u]+" "+a[l]}}},Vm=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},qm="undefined"!=typeof document,Hm=qm?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 jm((function(){var e={};return function(t){return e[t]}}))})),Km=[zm.exports.prefixer],Gm=function(e){var t=e.key;if(qm&&"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,a=e.stylisPlugins||Km,i={},l=[];qm&&(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++)i[t[n]]=!0;l.push(e)})));var s=[Um,Vm];if(qm){var u,c=[zm.exports.stringify,zm.exports.rulesheet((function(e){u.insert(e)}))],d=zm.exports.middleware(s.concat(a,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&&(g.inserted[t.name]=!0)}}else{var p=[zm.exports.stringify],f=zm.exports.middleware(s.concat(a,p)),h=Hm(a)(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,a=m(e,t);return void 0===g.compat?(r&&(g.inserted[o]=!0),a):r?void(g.inserted[o]=a):a}}var g={key:t,sheet:new Fm({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return g.sheet.hydrate(l),g},Qm={exports:{}},Ym={},Xm="function"==typeof Symbol&&Symbol.for,Zm=Xm?Symbol.for("react.element"):60103,Jm=Xm?Symbol.for("react.portal"):60106,eg=Xm?Symbol.for("react.fragment"):60107,tg=Xm?Symbol.for("react.strict_mode"):60108,ng=Xm?Symbol.for("react.profiler"):60114,rg=Xm?Symbol.for("react.provider"):60109,og=Xm?Symbol.for("react.context"):60110,ag=Xm?Symbol.for("react.async_mode"):60111,ig=Xm?Symbol.for("react.concurrent_mode"):60111,lg=Xm?Symbol.for("react.forward_ref"):60112,sg=Xm?Symbol.for("react.suspense"):60113,ug=Xm?Symbol.for("react.suspense_list"):60120,cg=Xm?Symbol.for("react.memo"):60115,dg=Xm?Symbol.for("react.lazy"):60116,pg=Xm?Symbol.for("react.block"):60121,fg=Xm?Symbol.for("react.fundamental"):60117,hg=Xm?Symbol.for("react.responder"):60118,mg=Xm?Symbol.for("react.scope"):60119;function gg(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Zm:switch(e=e.type){case ag:case ig:case eg:case ng:case tg:case sg:return e;default:switch(e=e&&e.$$typeof){case og:case lg:case dg:case cg:case rg:return e;default:return t}}case Jm:return t}}}function vg(e){return gg(e)===ig}Ym.AsyncMode=ag,Ym.ConcurrentMode=ig,Ym.ContextConsumer=og,Ym.ContextProvider=rg,Ym.Element=Zm,Ym.ForwardRef=lg,Ym.Fragment=eg,Ym.Lazy=dg,Ym.Memo=cg,Ym.Portal=Jm,Ym.Profiler=ng,Ym.StrictMode=tg,Ym.Suspense=sg,Ym.isAsyncMode=function(e){return vg(e)||gg(e)===ag},Ym.isConcurrentMode=vg,Ym.isContextConsumer=function(e){return gg(e)===og},Ym.isContextProvider=function(e){return gg(e)===rg},Ym.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Zm},Ym.isForwardRef=function(e){return gg(e)===lg},Ym.isFragment=function(e){return gg(e)===eg},Ym.isLazy=function(e){return gg(e)===dg},Ym.isMemo=function(e){return gg(e)===cg},Ym.isPortal=function(e){return gg(e)===Jm},Ym.isProfiler=function(e){return gg(e)===ng},Ym.isStrictMode=function(e){return gg(e)===tg},Ym.isSuspense=function(e){return gg(e)===sg},Ym.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===eg||e===ig||e===ng||e===tg||e===sg||e===ug||"object"==typeof e&&null!==e&&(e.$$typeof===dg||e.$$typeof===cg||e.$$typeof===rg||e.$$typeof===og||e.$$typeof===lg||e.$$typeof===fg||e.$$typeof===hg||e.$$typeof===mg||e.$$typeof===pg)},Ym.typeOf=gg;var yg=Qm.exports=Ym,bg={};bg[yg.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},bg[yg.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var xg="undefined"!=typeof document;function wg(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var kg=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===xg&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Sg=function(e,t,n){kg(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+r:"",a,e.sheet,!0);xg||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!xg&&0!==o.length)return o}};var Eg={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},Cg=/[A-Z]|^ms/g,Og=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pg=function(e){return 45===e.charCodeAt(1)},Rg=function(e){return null!=e&&"boolean"!=typeof e},Tg=jm((function(e){return Pg(e)?e:e.replace(Cg,"-$&").toLowerCase()})),Mg=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Og,(function(e,t,n){return Ag={name:t,styles:n,next:Ag},t}))}return 1===Eg[e]||Pg(e)||"number"!=typeof t||0===t?t:t+"px"};function Lg(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 Ag={name:n.name,styles:n.styles,next:Ag},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Ag={name:r.name,styles:r.styles,next:Ag},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+=Lg(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":Rg(i)&&(r+=Tg(a)+":"+Mg(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=Lg(e,t,i);switch(a){case"animation":case"animationName":r+=Tg(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)Rg(i[s])&&(r+=Tg(a)+":"+Mg(a,i[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Ag,a=n(e);return Ag=o,Lg(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var Ag,Ig=/label:\s*([^\s;\n{]+)\s*(;|$)/g,jg=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="";Ag=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=Lg(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=Lg(n,t,e[i]),r&&(o+=a[i]);Ig.lastIndex=0;for(var l,s="";null!==(l=Ig.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:Ag}},_g={exports:{}},Ng={};Object.defineProperty(Ng,"__esModule",{value:!0});var $g=m.exports;function Fg(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 zg=Fg($g),Dg="undefined"!=typeof document,Bg=function(e){return e()},Wg=!!zg.useInsertionEffect&&zg.useInsertionEffect,Ug=Dg&&Wg||Bg,Vg=Wg||$g.useLayoutEffect;Ng.useInsertionEffectAlwaysWithSyncFallback=Ug,Ng.useInsertionEffectWithLayoutFallback=Vg,_g.exports=Ng;var qg="undefined"!=typeof document,Hg=m.exports.createContext("undefined"!=typeof HTMLElement?Gm({key:"css"}):null),Kg=Hg.Provider,Gg=function(e){return m.exports.forwardRef((function(t,n){var r=m.exports.useContext(Hg);return e(t,r,n)}))};qg||(Gg=function(e){return function(t){var n=m.exports.useContext(Hg);return null===n?(n=Gm({key:"css"}),m.exports.createElement(Hg.Provider,{value:n},e(t,n))):e(t,n)}});var Qg=m.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 Yg=Gg((function(e,t){var n=e.styles,r=jg([n],void 0,m.exports.useContext(Qg));if(!qg){for(var o,a=r.name,i=r.styles,l=r.next;void 0!==l;)a+=" "+l.name,i+=l.styles,l=l.next;var s=!0===t.compat,u=t.insert("",{name:a,styles:i},t.sheet,s);return s?null:m.exports.createElement("style",((o={})["data-emotion"]=t.key+"-global "+a,o.dangerouslySetInnerHTML={__html:u},o.nonce=t.sheet.nonce,o))}var c=m.exports.useRef();return _g.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,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),c.current=[n,o],function(){n.flush()}}),[t]),_g.exports.useInsertionEffectWithLayoutFallback((function(){var e=c.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Sg(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 Xg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return jg(t)}var Zg=function(){var e=Xg.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_"}}},Jg={exports:{}},ev={};Object.defineProperty(ev,"__esModule",{value:!0});var tv=m.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 rv=nv(tv),ov="undefined"!=typeof document,av=function(e){return e()},iv=!!rv.useInsertionEffect&&rv.useInsertionEffect,lv=ov&&iv||av,sv=iv||tv.useLayoutEffect;ev.useInsertionEffectAlwaysWithSyncFallback=lv,ev.useInsertionEffectWithLayoutFallback=sv,Jg.exports=ev;var uv=Nm,cv=function(e){return"theme"!==e},dv=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?uv:cv},pv=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},fv="undefined"!=typeof document,hv=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;kg(t,n,r);var o=Jg.exports.useInsertionEffectAlwaysWithSyncFallback((function(){return Sg(t,n,r)}));if(!fv&&void 0!==o){for(var a,i=n.name,l=n.next;void 0!==l;)i+=" "+l.name,l=l.next;return m.exports.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},mv=function e(t,n){var r,o,a=t.__emotion_real===t,i=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=pv(t,n,a),s=l||dv(i),u=!s("as");return function(){var c=arguments,d=a&&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 h=Gg((function(e,t,n){var r=u&&e.as||i,a="",c=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=m.exports.useContext(Qg)}"string"==typeof e.className?a=wg(t.registered,c,e.className):null!=e.className&&(a=e.className+" ");var h=jg(d.concat(c),t.registered,p);a+=t.key+"-"+h.name,void 0!==o&&(a+=" "+o);var g=u&&void 0===l?dv(r):s,v={};for(var y in e)u&&"as"===y||g(y)&&(v[y]=e[y]);return v.className=a,v.ref=n,m.exports.createElement(m.exports.Fragment,null,m.exports.createElement(hv,{cache:t,serialized:h,isStringTag:"string"==typeof r}),m.exports.createElement(r,v))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,$m({},n,r,{shouldForwardProp:pv(h,r,!0)})).apply(void 0,d)},h}}.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){mv[e]=mv(e)}));var gv=mv;const vv=Gm({key:"css",prepend:!0});function yv(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 Bf.exports.jsx(Yg,{styles:r})}
|
|
27
|
+
var ue=m.exports,ce=ie,de=le.exports;function pe(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(!ue)throw Error(pe(227));var fe=new Set,he={};function me(e,t){ge(e,t),ge(e+"Capture",t)}function ge(e,t){for(he[e]=t,e=0;e<t.length;e++)fe.add(t[e])}var ve=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ye=/^[: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]*$/,be=Object.prototype.hasOwnProperty,xe={},we={};function ke(e,t,n,r,o,a,i){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=a,this.removeEmptyString=i}var Se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Se[e]=new ke(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Se[t]=new ke(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Se[e]=new ke(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Se[e]=new ke(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){Se[e]=new ke(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Se[e]=new ke(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Se[e]=new ke(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Se[e]=new ke(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Se[e]=new ke(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Ee=/[\-:]([a-z])/g;function Ce(e){return e[1].toUpperCase()}function Oe(e,t,n,r){var o=Se.hasOwnProperty(t)?Se[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!!be.call(we,e)||!be.call(xe,e)&&(ye.test(e)?we[e]=!0:(xe[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(Ee,Ce);Se[t]=new ke(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(Ee,Ce);Se[t]=new ke(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(Ee,Ce);Se[t]=new ke(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Se[e]=new ke(e,1,!1,e.toLowerCase(),null,!1,!1)})),Se.xlinkHref=new ke("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Se[e]=new ke(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Pe=ue.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Re=60103,Te=60106,Me=60107,Le=60108,Ae=60114,Ie=60109,je=60110,_e=60112,Ne=60113,$e=60120,Fe=60115,ze=60116,De=60121,Be=60128,We=60129,Ue=60130,Ve=60131;if("function"==typeof Symbol&&Symbol.for){var qe=Symbol.for;Re=qe("react.element"),Te=qe("react.portal"),Me=qe("react.fragment"),Le=qe("react.strict_mode"),Ae=qe("react.profiler"),Ie=qe("react.provider"),je=qe("react.context"),_e=qe("react.forward_ref"),Ne=qe("react.suspense"),$e=qe("react.suspense_list"),Fe=qe("react.memo"),ze=qe("react.lazy"),De=qe("react.block"),qe("react.scope"),Be=qe("react.opaque.id"),We=qe("react.debug_trace_mode"),Ue=qe("react.offscreen"),Ve=qe("react.legacy_hidden")}var He,Ke="function"==typeof Symbol&&Symbol.iterator;function Ge(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ke&&e[Ke]||e["@@iterator"])?e:null}function Qe(e){if(void 0===He)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);He=t&&t[1]||""}return"\n"+He+e}var Ye=!1;function Xe(e,t){if(!e||Ye)return"";Ye=!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"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{Ye=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Qe(e):""}function Ze(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 Me:return"Fragment";case Te:return"Portal";case Ae:return"Profiler";case Le:return"StrictMode";case Ne:return"Suspense";case $e:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case je:return(e.displayName||"Context")+".Consumer";case Ie:return(e._context.displayName||"Context")+".Provider";case _e:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Fe:return Je(e.type);case De:return Je(e._render);case ze:t=e._payload,e=e._init;try{return Je(e(t))}catch(e){}}return null}function et(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function tt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function nt(e){e._valueTracker||(e._valueTracker=function(e){var t=tt(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,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.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 rt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=tt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ot(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 at(e,t){var n=t.checked;return ce({},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=et(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 lt(e,t){null!=(t=t.checked)&&Oe(e,"checked",t,!1)}function st(e,t){lt(e,t);var n=et(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")?ct(e,t.type,n):t.hasOwnProperty("defaultValue")&&ct(e,t.type,et(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ut(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 ct(e,t,n){"number"===t&&ot(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function dt(e,t){return e=ce({children:void 0},t),(t=function(e){var t="";return ue.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function pt(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=""+et(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 ft(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(pe(91));return ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ht(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(pe(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(pe(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:et(n)}}function mt(e,t){var n=et(t.value),r=et(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 gt(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var vt="http://www.w3.org/1999/xhtml",yt="http://www.w3.org/2000/svg";function bt(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 xt(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?bt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var wt,kt=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!==yt||"innerHTML"in e)e.innerHTML=t;else{for((wt=wt||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=wt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function St(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 Et={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},Ct=["Webkit","ms","Moz","O"];function Ot(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Et.hasOwnProperty(e)&&Et[e]?(""+t).trim():t+"px"}function Pt(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Ot(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Et).forEach((function(e){Ct.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Et[t]=Et[e]}))}));var Rt=ce({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 Tt(e,t){if(t){if(Rt[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(pe(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(pe(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(pe(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(pe(62))}}function Mt(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 Lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var At=null,It=null,jt=null;function _t(e){if(e=ua(e)){if("function"!=typeof At)throw Error(pe(280));var t=e.stateNode;t&&(t=da(t),At(e.stateNode,e.type,t))}}function Nt(e){It?jt?jt.push(e):jt=[e]:It=e}function $t(){if(It){var e=It,t=jt;if(jt=It=null,_t(e),t)for(e=0;e<t.length;e++)_t(t[e])}}function Ft(e,t){return e(t)}function zt(e,t,n,r,o){return e(t,n,r,o)}function Dt(){}var Bt=Ft,Wt=!1,Ut=!1;function Vt(){null===It&&null===jt||(Dt(),$t())}function qt(e,t){var n=e.stateNode;if(null===n)return null;var r=da(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(pe(231,t,typeof n));return n}var Ht=!1;if(ve)try{var Kt={};Object.defineProperty(Kt,"passive",{get:function(){Ht=!0}}),window.addEventListener("test",Kt,Kt),window.removeEventListener("test",Kt,Kt)}catch(sA){Ht=!1}function Gt(e,t,n,r,o,a,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Qt=!1,Yt=null,Xt=!1,Zt=null,Jt={onError:function(e){Qt=!0,Yt=e}};function en(e,t,n,r,o,a,i,l,s){Qt=!1,Yt=null,Gt.apply(Jt,arguments)}function tn(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 nn(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 rn(e){if(tn(e)!==e)throw Error(pe(188))}function on(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=tn(e)))throw Error(pe(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return rn(o),e;if(a===r)return rn(o),t;a=a.sibling}throw Error(pe(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw Error(pe(189))}}if(n.alternate!==r)throw Error(pe(190))}if(3!==n.tag)throw Error(pe(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 an(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var ln,sn,un,cn,dn=!1,pn=[],fn=null,hn=null,mn=null,gn=new Map,vn=new Map,yn=[],bn="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 xn(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function wn(e,t){switch(e){case"focusin":case"focusout":fn=null;break;case"dragenter":case"dragleave":hn=null;break;case"mouseover":case"mouseout":mn=null;break;case"pointerover":case"pointerout":gn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vn.delete(t.pointerId)}}function kn(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=xn(t,n,r,o,a),null!==t&&(null!==(t=ua(t))&&sn(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Sn(e){var t=sa(e.target);if(null!==t){var n=tn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=nn(n)))return e.blockedOn=t,void cn(e.lanePriority,(function(){de.unstable_runWithPriority(e.priority,(function(){un(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function En(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=ar(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ua(n))&&sn(t),e.blockedOn=n,!1;t.shift()}return!0}function Cn(e,t,n){En(e)&&n.delete(t)}function On(){for(dn=!1;0<pn.length;){var e=pn[0];if(null!==e.blockedOn){null!==(e=ua(e.blockedOn))&&ln(e);break}for(var t=e.targetContainers;0<t.length;){var n=ar(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&pn.shift()}null!==fn&&En(fn)&&(fn=null),null!==hn&&En(hn)&&(hn=null),null!==mn&&En(mn)&&(mn=null),gn.forEach(Cn),vn.forEach(Cn)}function Pn(e,t){e.blockedOn===t&&(e.blockedOn=null,dn||(dn=!0,de.unstable_scheduleCallback(de.unstable_NormalPriority,On)))}function Rn(e){function t(t){return Pn(t,e)}if(0<pn.length){Pn(pn[0],e);for(var n=1;n<pn.length;n++){var r=pn[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==fn&&Pn(fn,e),null!==hn&&Pn(hn,e),null!==mn&&Pn(mn,e),gn.forEach(t),vn.forEach(t),n=0;n<yn.length;n++)(r=yn[n]).blockedOn===e&&(r.blockedOn=null);for(;0<yn.length&&null===(n=yn[0]).blockedOn;)Sn(n),null===n.blockedOn&&yn.shift()}function Tn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Mn={animationend:Tn("Animation","AnimationEnd"),animationiteration:Tn("Animation","AnimationIteration"),animationstart:Tn("Animation","AnimationStart"),transitionend:Tn("Transition","TransitionEnd")},Ln={},An={};function In(e){if(Ln[e])return Ln[e];if(!Mn[e])return e;var t,n=Mn[e];for(t in n)if(n.hasOwnProperty(t)&&t in An)return Ln[e]=n[t];return e}ve&&(An=document.createElement("div").style,"AnimationEvent"in window||(delete Mn.animationend.animation,delete Mn.animationiteration.animation,delete Mn.animationstart.animation),"TransitionEvent"in window||delete Mn.transitionend.transition);var jn=In("animationend"),_n=In("animationiteration"),Nn=In("animationstart"),$n=In("transitionend"),Fn=new Map,zn=new Map,Dn=["abort","abort",jn,"animationEnd",_n,"animationIteration",Nn,"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 Bn(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),Fn.set(r,o),me(o,[r])}}(0,de.unstable_now)();var Wn=8;function Un(e){if(0!=(1&e))return Wn=15,1;if(0!=(2&e))return Wn=14,2;if(0!=(4&e))return Wn=13,4;var t=24&e;return 0!==t?(Wn=12,t):0!=(32&e)?(Wn=11,32):0!==(t=192&e)?(Wn=10,t):0!=(256&e)?(Wn=9,256):0!==(t=3584&e)?(Wn=8,t):0!=(4096&e)?(Wn=7,4096):0!==(t=4186112&e)?(Wn=6,t):0!==(t=62914560&e)?(Wn=5,t):67108864&e?(Wn=4,67108864):0!=(134217728&e)?(Wn=3,134217728):0!==(t=805306368&e)?(Wn=2,t):0!=(1073741824&e)?(Wn=1,1073741824):(Wn=8,e)}function Vn(e,t){var n=e.pendingLanes;if(0===n)return Wn=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=Wn=15;else if(0!==(a=134217727&n)){var s=a&~i;0!==s?(r=Un(s),o=Wn):0!==(l&=a)&&(r=Un(l),o=Wn)}else 0!==(a=n&~i)?(r=Un(a),o=Wn):0!==l&&(r=Un(l),o=Wn);if(0===r)return 0;if(r=n&((0>(r=31-Yn(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Un(t),o<=Wn)return t;Wn=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Yn(t)),r|=e[n],t&=~o;return r}function qn(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Hn(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Kn(24&~t))?Hn(10,t):e;case 10:return 0===(e=Kn(192&~t))?Hn(8,t):e;case 8:return 0===(e=Kn(3584&~t))&&(0===(e=Kn(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Kn(805306368&~t))&&(t=268435456),t}throw Error(pe(358,e))}function Kn(e){return e&-e}function Gn(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-Yn(t)]=n}var Yn=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Xn(e)/Zn|0)|0},Xn=Math.log,Zn=Math.LN2;var Jn=de.unstable_UserBlockingPriority,er=de.unstable_runWithPriority,tr=!0;function nr(e,t,n,r){Wt||Dt();var o=or,a=Wt;Wt=!0;try{zt(o,e,t,n,r)}finally{(Wt=a)||Vt()}}function rr(e,t,n,r){er(Jn,or.bind(null,e,t,n,r))}function or(e,t,n,r){var o;if(tr)if((o=0==(4&t))&&0<pn.length&&-1<bn.indexOf(e))e=xn(null,e,t,n,r),pn.push(e);else{var a=ar(e,t,n,r);if(null===a)o&&wn(e,r);else{if(o){if(-1<bn.indexOf(e))return e=xn(a,e,t,n,r),void pn.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return fn=kn(fn,e,t,n,r,o),!0;case"dragenter":return hn=kn(hn,e,t,n,r,o),!0;case"mouseover":return mn=kn(mn,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return gn.set(a,kn(gn.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,vn.set(a,kn(vn.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;wn(e,r)}Bo(e,t,r,null,n)}}}function ar(e,t,n,r){var o=Lt(r);if(null!==(o=sa(o))){var a=tn(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=nn(a)))return o;o=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return Bo(e,t,r,o,n),null}var ir=null,lr=null,sr=null;function ur(){if(sr)return sr;var e,t,n=lr,r=n.length,o="value"in ir?ir.value:ir.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return sr=o.slice(e,1<t?1-t:void 0)}function cr(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 dr(){return!0}function pr(){return!1}function fr(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?dr:pr,this.isPropagationStopped=pr,this}return ce(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=dr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=dr)},persist:function(){},isPersistent:dr}),t}var hr,mr,gr,vr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yr=fr(vr),br=ce({},vr,{view:0,detail:0}),xr=fr(br),wr=ce({},br,{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!==gr&&(gr&&"mousemove"===e.type?(hr=e.screenX-gr.screenX,mr=e.screenY-gr.screenY):mr=hr=0,gr=e),hr)},movementY:function(e){return"movementY"in e?e.movementY:mr}}),kr=fr(wr),Sr=fr(ce({},wr,{dataTransfer:0})),Er=fr(ce({},br,{relatedTarget:0})),Cr=fr(ce({},vr,{animationName:0,elapsedTime:0,pseudoElement:0})),Or=ce({},vr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Pr=fr(Or),Rr=fr(ce({},vr,{data:0})),Tr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mr={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"},Lr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ar(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Lr[e])&&!!t[e]}function Ir(){return Ar}var jr=ce({},br,{key:function(e){if(e.key){var t=Tr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=cr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Mr[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?cr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?cr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),_r=fr(jr),Nr=fr(ce({},wr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),$r=fr(ce({},br,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ir})),Fr=fr(ce({},vr,{propertyName:0,elapsedTime:0,pseudoElement:0})),zr=ce({},wr,{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}),Dr=fr(zr),Br=[9,13,27,32],Wr=ve&&"CompositionEvent"in window,Ur=null;ve&&"documentMode"in document&&(Ur=document.documentMode);var Vr=ve&&"TextEvent"in window&&!Ur,qr=ve&&(!Wr||Ur&&8<Ur&&11>=Ur),Hr=String.fromCharCode(32),Kr=!1;function Gr(e,t){switch(e){case"keyup":return-1!==Br.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 Yr=!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 Zr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Xr[e.type]:"textarea"===t}function Jr(e,t,n,r){Nt(r),0<(t=Uo(t,"onChange")).length&&(n=new yr("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var eo=null,to=null;function no(e){_o(e,0)}function ro(e){if(rt(ca(e)))return e}function oo(e,t){if("change"===e)return t}var ao=!1;if(ve){var io;if(ve){var lo="oninput"in document;if(!lo){var so=document.createElement("div");so.setAttribute("oninput","return;"),lo="function"==typeof so.oninput}io=lo}else io=!1;ao=io&&(!document.documentMode||9<document.documentMode)}function uo(){eo&&(eo.detachEvent("onpropertychange",co),to=eo=null)}function co(e){if("value"===e.propertyName&&ro(to)){var t=[];if(Jr(t,to,e,Lt(e)),e=no,Wt)e(t);else{Wt=!0;try{Ft(e,t)}finally{Wt=!1,Vt()}}}}function po(e,t,n){"focusin"===e?(uo(),to=n,(eo=t).attachEvent("onpropertychange",co)):"focusout"===e&&uo()}function fo(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return ro(to)}function ho(e,t){if("click"===e)return ro(t)}function mo(e,t){if("input"===e||"change"===e)return ro(t)}var go="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 yo(e,t){if(go(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])||!go(e[n[r]],t[n[r]]))return!1;return!0}function bo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xo(e,t){var n,r=bo(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=bo(r)}}function wo(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?wo(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function ko(){for(var e=window,t=ot();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=ot((e=t.contentWindow).document)}return t}function So(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 Eo=ve&&"documentMode"in document&&11>=document.documentMode,Co=null,Oo=null,Po=null,Ro=!1;function To(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Ro||null==Co||Co!==ot(r)||("selectionStart"in(r=Co)&&So(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},Po&&yo(Po,r)||(Po=r,0<(r=Uo(Oo,"onSelect")).length&&(t=new yr("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Co)))}Bn("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),Bn("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),Bn(Dn,2);for(var Mo="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Lo=0;Lo<Mo.length;Lo++)zn.set(Mo[Lo],0);ge("onMouseEnter",["mouseout","mouseover"]),ge("onMouseLeave",["mouseout","mouseover"]),ge("onPointerEnter",["pointerout","pointerover"]),ge("onPointerLeave",["pointerout","pointerover"]),me("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),me("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),me("onBeforeInput",["compositionend","keypress","textInput","paste"]),me("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),me("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),me("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 jo(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,s){if(en.apply(this,arguments),Qt){if(!Qt)throw Error(pe(198));var u=Yt;Qt=!1,Yt=null,Xt||(Xt=!0,Zt=u)}}(r,t,void 0,e),e.currentTarget=null}function _o(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 a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;jo(o,l,u),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;jo(o,l,u),a=s}}}if(Xt)throw e=Zt,Xt=!1,Zt=null,e}function No(e,t){var n=pa(t),r=e+"__bubble";n.has(r)||(Do(t,e,2,!1),n.add(r))}var $o="_reactListening"+Math.random().toString(36).slice(2);function Fo(e){e[$o]||(e[$o]=!0,fe.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,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&Io.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=pa(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),Do(a,e,o,t),i.add(l))}function Do(e,t,n,r){var o=zn.get(t);switch(void 0===o?2:o){case 0:o=nr;break;case 1:o=rr;break;default:o=or}n=o.bind(null,t,n,e),o=void 0,!Ht||"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 Bo(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=sa(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Ut)return e(t,n);Ut=!0;try{Bt(e,t,n)}finally{Ut=!1,Vt()}}((function(){var r=a,o=Lt(n),i=[];e:{var l=Fn.get(e);if(void 0!==l){var s=yr,u=e;switch(e){case"keypress":if(0===cr(n))break e;case"keydown":case"keyup":s=_r;break;case"focusin":u="focus",s=Er;break;case"focusout":u="blur",s=Er;break;case"beforeblur":case"afterblur":s=Er;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=kr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=Sr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=$r;break;case jn:case _n:case Nn:s=Cr;break;case $n:s=Fr;break;case"scroll":s=xr;break;case"wheel":s=Dr;break;case"copy":case"cut":case"paste":s=Pr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Nr}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=qt(h,p))&&c.push(Wo(h,m,f)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),i.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)||!sa(u)&&!u[ia])&&(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)?sa(u):null)&&(u!==(d=tn(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=kr,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nr,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:ca(s),f=null==u?l:ca(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,sa(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=Vo(f))h++;for(f=0,m=p;m;m=Vo(m))f++;for(;0<h-f;)c=Vo(c),h--;for(;0<f-h;)p=Vo(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Vo(c),p=Vo(p)}c=null}else c=null;null!==s&&qo(i,l,s,c,!1),null!==u&&null!==d&&qo(i,d,u,c,!0)}if("select"===(s=(l=r?ca(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=oo;else if(Zr(l))if(ao)g=mo;else{g=fo;var v=po}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=ho);switch(g&&(g=g(e,r))?Jr(i,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&ct(l,"number",l.value)),v=r?ca(r):window,e){case"focusin":(Zr(v)||"true"===v.contentEditable)&&(Co=v,Oo=r,Po=null);break;case"focusout":Po=Oo=Co=null;break;case"mousedown":Ro=!0;break;case"contextmenu":case"mouseup":case"dragend":Ro=!1,To(i,n,o);break;case"selectionchange":if(Eo)break;case"keydown":case"keyup":To(i,n,o)}var y;if(Wr)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 Yr?Gr(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(qr&&"ko"!==n.locale&&(Yr||"onCompositionStart"!==b?"onCompositionEnd"===b&&Yr&&(y=ur()):(lr="value"in(ir=o)?ir.value:ir.textContent,Yr=!0)),0<(v=Uo(r,b)).length&&(b=new Rr(b,e,null,n,o),i.push({event:b,listeners:v}),y?b.data=y:null!==(y=Qr(n))&&(b.data=y))),(y=Vr?function(e,t){switch(e){case"compositionend":return Qr(t);case"keypress":return 32!==t.which?null:(Kr=!0,Hr);case"textInput":return(e=t.data)===Hr&&Kr?null:e;default:return null}}(e,n):function(e,t){if(Yr)return"compositionend"===e||!Wr&&Gr(e,t)?(e=ur(),sr=lr=ir=null,Yr=!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 qr&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Uo(r,"onBeforeInput")).length&&(o=new Rr("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}_o(i,t)}))}function Wo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Uo(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=qt(e,n))&&r.unshift(Wo(e,a,o)),null!=(a=qt(e,t))&&r.push(Wo(e,a,o))),e=e.return}return r}function Vo(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function qo(e,t,n,r,o){for(var a=t._reactName,i=[];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=qt(n,a))&&i.unshift(Wo(n,s,l)):o||null!=(s=qt(n,a))&&i.push(Wo(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Ho(){}var Ko=null,Go=null;function Qo(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Yo(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,Zo="function"==typeof clearTimeout?clearTimeout:void 0;function Jo(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function ea(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function ta(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 na=0;var ra=Math.random().toString(36).slice(2),oa="__reactFiber$"+ra,aa="__reactProps$"+ra,ia="__reactContainer$"+ra,la="__reactEvents$"+ra;function sa(e){var t=e[oa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ia]||n[oa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ta(e);null!==e;){if(n=e[oa])return n;e=ta(e)}return t}n=(e=n).parentNode}return null}function ua(e){return!(e=e[oa]||e[ia])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ca(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(pe(33))}function da(e){return e[aa]||null}function pa(e){var t=e[la];return void 0===t&&(t=e[la]=new Set),t}var fa=[],ha=-1;function ma(e){return{current:e}}function ga(e){0>ha||(e.current=fa[ha],fa[ha]=null,ha--)}function va(e,t){ha++,fa[ha]=e.current,e.current=t}var ya={},ba=ma(ya),xa=ma(!1),wa=ya;function ka(e,t){var n=e.type.contextTypes;if(!n)return ya;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Sa(e){return null!=(e=e.childContextTypes)}function Ea(){ga(xa),ga(ba)}function Ca(e,t,n){if(ba.current!==ya)throw Error(pe(168));va(ba,t),va(xa,n)}function Oa(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(pe(108,Je(t)||"Unknown",o));return ce({},n,r)}function Pa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ya,wa=ba.current,va(ba,e),va(xa,xa.current),!0}function Ra(e,t,n){var r=e.stateNode;if(!r)throw Error(pe(169));n?(e=Oa(e,t,wa),r.__reactInternalMemoizedMergedChildContext=e,ga(xa),ga(ba),va(ba,e)):ga(xa),va(xa,n)}var Ta=null,Ma=null,La=de.unstable_runWithPriority,Aa=de.unstable_scheduleCallback,Ia=de.unstable_cancelCallback,ja=de.unstable_shouldYield,_a=de.unstable_requestPaint,Na=de.unstable_now,$a=de.unstable_getCurrentPriorityLevel,Fa=de.unstable_ImmediatePriority,za=de.unstable_UserBlockingPriority,Da=de.unstable_NormalPriority,Ba=de.unstable_LowPriority,Wa=de.unstable_IdlePriority,Ua={},Va=void 0!==_a?_a:function(){},qa=null,Ha=null,Ka=!1,Ga=Na(),Qa=1e4>Ga?Na:function(){return Na()-Ga};function Ya(){switch($a()){case Fa:return 99;case za:return 98;case Da:return 97;case Ba:return 96;case Wa:return 95;default:throw Error(pe(332))}}function Xa(e){switch(e){case 99:return Fa;case 98:return za;case 97:return Da;case 96:return Ba;case 95:return Wa;default:throw Error(pe(332))}}function Za(e,t){return e=Xa(e),La(e,t)}function Ja(e,t,n){return e=Xa(e),Aa(e,t,n)}function ei(){if(null!==Ha){var e=Ha;Ha=null,Ia(e)}ti()}function ti(){if(!Ka&&null!==qa){Ka=!0;var e=0;try{var t=qa;Za(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),qa=null}catch(t){throw null!==qa&&(qa=qa.slice(e+1)),Aa(Fa,ei),t}finally{Ka=!1}}}var ni=Pe.ReactCurrentBatchConfig;function ri(e,t){if(e&&e.defaultProps){for(var n in t=ce({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var oi=ma(null),ai=null,ii=null,li=null;function si(){li=ii=ai=null}function ui(e){var t=oi.current;ga(oi),e.type._context._currentValue=t}function ci(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 di(e,t){ai=e,li=ii=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Wl=!0),e.firstContext=null)}function pi(e,t){if(li!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(li=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ii){if(null===ai)throw Error(pe(308));ii=t,ai.dependencies={lanes:0,firstContext:t,responders:null}}else ii=ii.next=t;return e._currentValue}var fi=!1;function hi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function mi(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 gi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function vi(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 yi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function bi(e,t,n,r){var o=e.updateQueue;fi=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;if(null!==c){var d=(c=c.updateQueue).lastBaseUpdate;d!==i&&(null===d?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=s)}}if(null!==a){for(d=o.baseState,i=0,c=u=s=null;;){l=a.lane;var p=a.eventTime;if((r&l)===l){null!==c&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var f=e,h=a;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=ce({},d,l);break e;case 2:fi=!0}}null!==a.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[a]:l.push(a))}else p={eventTime:p,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=l;if(null===(a=a.next)){if(null===(l=o.shared.pending))break;a=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,Hs|=i,e.lanes=i,e.memoizedState=d}}function xi(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(pe(191,o));o.call(r)}}}var wi=(new ue.Component).refs;function ki(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:ce({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Si={isMounted:function(e){return!!(e=e._reactInternals)&&tn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=vu(),o=yu(e),a=gi(r,o);a.payload=t,null!=n&&(a.callback=n),vi(e,a),bu(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=vu(),o=yu(e),a=gi(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),vi(e,a),bu(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=vu(),r=yu(e),o=gi(n,r);o.tag=2,null!=t&&(o.callback=t),vi(e,o),bu(e,r,n)}};function Ei(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!yo(n,r)||!yo(o,a))}function Ci(e,t,n){var r=!1,o=ya,a=t.contextType;return"object"==typeof a&&null!==a?a=pi(a):(o=Sa(t)?wa:ba.current,a=(r=null!=(r=t.contextTypes))?ka(e,o):ya),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Si,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Oi(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&&Si.enqueueReplaceState(t,t.state,null)}function Pi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=wi,hi(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=pi(a):(a=Sa(t)?wa:ba.current,o.context=ka(e,a)),bi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(ki(e,t,a,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&&Si.enqueueReplaceState(o,o.state,null),bi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var Ri=Array.isArray;function Ti(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(pe(309));var r=n.stateNode}if(!r)throw Error(pe(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===wi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(pe(284));if(!n._owner)throw Error(pe(290,e))}return e}function Mi(e,t){if("textarea"!==e.type)throw Error(pe(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Li(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 a(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 i(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=tc(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=Ti(e,t,n),r.return=e,r):((r=Zu(n.type,n.key,n.props,null,e.mode,r)).ref=Ti(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=nc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,a){return null===t||7!==t.tag?((t=Ju(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=tc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Re:return(n=Zu(t.type,t.key,t.props,null,e.mode,n)).ref=Ti(e,null,t),n.return=e,n;case Te:return(t=nc(t,e.mode,n)).return=e,t}if(Ri(t)||Ge(t))return(t=Ju(t,e.mode,n,null)).return=e,t;Mi(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 Re:return n.key===o?n.type===Me?c(e,t,n.props.children,r,o):s(e,t,n,r):null;case Te:return n.key===o?u(e,t,n,r):null}if(Ri(n)||Ge(n))return null!==o?null:c(e,t,n,r,null);Mi(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 Re:return e=e.get(null===r.key?n:r.key)||null,r.type===Me?c(t,e,r.props.children,o,r.key):s(t,e,r,o);case Te:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Ri(r)||Ge(r))return c(t,e=e.get(n)||null,r,o,null);Mi(t,r)}return null}function h(o,i,l,s){for(var u=null,c=null,h=i,m=i=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var v=p(o,h,l[m],s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v,h=g}if(m===l.length)return n(o,h),u;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(i=a(h,i,m),null===c?u=h:c.sibling=h,c=h);return u}for(h=r(o,h);m<l.length;m++)null!==(g=f(h,o,m,l[m],s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(o,e)})),u}function m(o,i,l,s){var u=Ge(l);if("function"!=typeof u)throw Error(pe(150));if(null==(l=u.call(l)))throw Error(pe(151));for(var c=u=null,h=i,m=i=0,g=null,v=l.next();null!==h&&!v.done;m++,v=l.next()){h.index>m?(g=h,h=null):g=h.sibling;var y=p(o,h,v.value,s);if(null===y){null===h&&(h=g);break}e&&h&&null===y.alternate&&t(o,h),i=a(y,i,m),null===c?u=y:c.sibling=y,c=y,h=g}if(v.done)return n(o,h),u;if(null===h){for(;!v.done;m++,v=l.next())null!==(v=d(o,v.value,s))&&(i=a(v,i,m),null===c?u=v:c.sibling=v,c=v);return u}for(h=r(o,h);!v.done;m++,v=l.next())null!==(v=f(h,o,m,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v);return e&&h.forEach((function(e){return t(o,e)})),u}return function(e,r,a,l){var s="object"==typeof a&&null!==a&&a.type===Me&&null===a.key;s&&(a=a.props.children);var u="object"==typeof a&&null!==a;if(u)switch(a.$$typeof){case Re:e:{for(u=a.key,s=r;null!==s;){if(s.key===u){if(7===s.tag){if(a.type===Me){n(e,s.sibling),(r=o(s,a.props.children)).return=e,e=r;break e}}else if(s.elementType===a.type){n(e,s.sibling),(r=o(s,a.props)).ref=Ti(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===Me?((r=Ju(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=Zu(a.type,a.key,a.props,null,e.mode,l)).ref=Ti(e,r,a),l.return=e,e=l)}return i(e);case Te:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=nc(a,e.mode,l)).return=e,e=r}return i(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=tc(a,e.mode,l)).return=e,e=r),i(e);if(Ri(a))return h(e,r,a,l);if(Ge(a))return m(e,r,a,l);if(u&&Mi(e,a),void 0===a&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(pe(152,Je(e.type)||"Component"))}return n(e,r)}}var Ai=Li(!0),Ii=Li(!1),ji={},_i=ma(ji),Ni=ma(ji),$i=ma(ji);function Fi(e){if(e===ji)throw Error(pe(174));return e}function zi(e,t){switch(va($i,t),va(Ni,e),va(_i,ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xt(null,"");break;default:t=xt(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ga(_i),va(_i,t)}function Di(){ga(_i),ga(Ni),ga($i)}function Bi(e){Fi($i.current);var t=Fi(_i.current),n=xt(t,e.type);t!==n&&(va(Ni,e),va(_i,n))}function Wi(e){Ni.current===e&&(ga(_i),ga(Ni))}var Ui=ma(0);function Vi(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 qi=null,Hi=null,Ki=!1;function Gi(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 Qi(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 Yi(e){if(Ki){var t=Hi;if(t){var n=t;if(!Qi(e,t)){if(!(t=ea(n.nextSibling))||!Qi(e,t))return e.flags=-1025&e.flags|2,Ki=!1,void(qi=e);Gi(qi,n)}qi=e,Hi=ea(t.firstChild)}else e.flags=-1025&e.flags|2,Ki=!1,qi=e}}function Xi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;qi=e}function Zi(e){if(e!==qi)return!1;if(!Ki)return Xi(e),Ki=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Yo(t,e.memoizedProps))for(t=Hi;t;)Gi(e,t),t=ea(t.nextSibling);if(Xi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(pe(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Hi=ea(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Hi=null}}else Hi=qi?ea(e.stateNode.nextSibling):null;return!0}function Ji(){Hi=qi=null,Ki=!1}var el=[];function tl(){for(var e=0;e<el.length;e++)el[e]._workInProgressVersionPrimary=null;el.length=0}var nl=Pe.ReactCurrentDispatcher,rl=Pe.ReactCurrentBatchConfig,ol=0,al=null,il=null,ll=null,sl=!1,ul=!1;function cl(){throw Error(pe(321))}function dl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!go(e[n],t[n]))return!1;return!0}function pl(e,t,n,r,o,a){if(ol=a,al=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,nl.current=null===e||null===e.memoizedState?Fl:zl,e=n(r,o),ul){a=0;do{if(ul=!1,!(25>a))throw Error(pe(301));a+=1,ll=il=null,t.updateQueue=null,nl.current=Dl,e=n(r,o)}while(ul)}if(nl.current=$l,t=null!==il&&null!==il.next,ol=0,ll=il=al=null,sl=!1,t)throw Error(pe(300));return e}function fl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ll?al.memoizedState=ll=e:ll=ll.next=e,ll}function hl(){if(null===il){var e=al.alternate;e=null!==e?e.memoizedState:null}else e=il.next;var t=null===ll?al.memoizedState:ll.next;if(null!==t)ll=t,il=e;else{if(null===e)throw Error(pe(310));e={memoizedState:(il=e).memoizedState,baseState:il.baseState,baseQueue:il.baseQueue,queue:il.queue,next:null},null===ll?al.memoizedState=ll=e:ll=ll.next=e}return ll}function ml(e,t){return"function"==typeof t?t(e):t}function gl(e){var t=hl(),n=t.queue;if(null===n)throw Error(pe(311));n.lastRenderedReducer=e;var r=il,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=i=a=null,s=o;do{var u=s.lane;if((ol&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?(i=l=c,a=r):l=l.next=c,al.lanes|=u,Hs|=u}s=s.next}while(null!==s&&s!==o);null===l?a=r:l.next=i,go(r,t.memoizedState)||(Wl=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function vl(e){var t=hl(),n=t.queue;if(null===n)throw Error(pe(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);go(a,t.memoizedState)||(Wl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function yl(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=(ol&e)===e)&&(t._workInProgressVersionPrimary=r,el.push(t))),e)return n(t._source);throw el.push(t),Error(pe(350))}function bl(e,t,n,r){var o=Fs;if(null===o)throw Error(pe(349));var a=t._getVersion,i=a(t._source),l=nl.current,s=l.useState((function(){return yl(o,t,n)})),u=s[1],c=s[0];s=ll;var d=e.memoizedState,p=d.refs,f=p.getSnapshot,h=d.source;d=d.subscribe;var m=al;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=a(t._source);if(!go(i,e)){e=n(t._source),go(c,e)||(u(e),e=yu(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,l=e;0<l;){var s=31-Yn(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=yu(m);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),go(f,n)&&go(h,t)&&go(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ml,lastRenderedState:c}).dispatch=u=Nl.bind(null,al,e),s.queue=e,s.baseQueue=null,c=yl(o,t,n),s.memoizedState=s.baseState=c),c}function xl(e,t,n){return bl(hl(),e,t,n)}function wl(e){var t=fl();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ml,lastRenderedState:e}).dispatch=Nl.bind(null,al,e),[t.memoizedState,e]}function kl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=al.updateQueue)?(t={lastEffect:null},al.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 Sl(e){return e={current:e},fl().memoizedState=e}function El(){return hl().memoizedState}function Cl(e,t,n,r){var o=fl();al.flags|=e,o.memoizedState=kl(1|t,n,void 0,void 0===r?null:r)}function Ol(e,t,n,r){var o=hl();r=void 0===r?null:r;var a=void 0;if(null!==il){var i=il.memoizedState;if(a=i.destroy,null!==r&&dl(r,i.deps))return void kl(t,n,a,r)}al.flags|=e,o.memoizedState=kl(1|t,n,a,r)}function Pl(e,t){return Cl(516,4,e,t)}function Rl(e,t){return Ol(516,4,e,t)}function Tl(e,t){return Ol(4,2,e,t)}function Ml(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 Ll(e,t,n){return n=null!=n?n.concat([e]):null,Ol(4,2,Ml.bind(null,t,e),n)}function Al(){}function Il(e,t){var n=hl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&dl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function jl(e,t){var n=hl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&dl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function _l(e,t){var n=Ya();Za(98>n?98:n,(function(){e(!0)})),Za(97<n?97:n,(function(){var n=rl.transition;rl.transition=1;try{e(!1),t()}finally{rl.transition=n}}))}function Nl(e,t,n){var r=vu(),o=yu(e),a={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),t.pending=a,i=e.alternate,e===al||null!==i&&i===al)ul=sl=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=i(l,n);if(a.eagerReducer=i,a.eagerState=s,go(s,l))return}catch(e){}bu(e,o,r)}}var $l={readContext:pi,useCallback:cl,useContext:cl,useEffect:cl,useImperativeHandle:cl,useLayoutEffect:cl,useMemo:cl,useReducer:cl,useRef:cl,useState:cl,useDebugValue:cl,useDeferredValue:cl,useTransition:cl,useMutableSource:cl,useOpaqueIdentifier:cl,unstable_isNewReconciler:!1},Fl={readContext:pi,useCallback:function(e,t){return fl().memoizedState=[e,void 0===t?null:t],e},useContext:pi,useEffect:Pl,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Cl(4,2,Ml.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Cl(4,2,e,t)},useMemo:function(e,t){var n=fl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=fl();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=Nl.bind(null,al,e),[r.memoizedState,e]},useRef:Sl,useState:wl,useDebugValue:Al,useDeferredValue:function(e){var t=wl(e),n=t[0],r=t[1];return Pl((function(){var t=rl.transition;rl.transition=1;try{r(e)}finally{rl.transition=t}}),[e]),n},useTransition:function(){var e=wl(!1),t=e[0];return Sl(e=_l.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=fl();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},bl(r,e,t,n)},useOpaqueIdentifier:function(){if(Ki){var e=!1,t=function(e){return{$$typeof:Be,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(na++).toString(36))),Error(pe(355))})),n=wl(t)[1];return 0==(2&al.mode)&&(al.flags|=516,kl(5,(function(){n("r:"+(na++).toString(36))}),void 0,null)),t}return wl(t="r:"+(na++).toString(36)),t},unstable_isNewReconciler:!1},zl={readContext:pi,useCallback:Il,useContext:pi,useEffect:Rl,useImperativeHandle:Ll,useLayoutEffect:Tl,useMemo:jl,useReducer:gl,useRef:El,useState:function(){return gl(ml)},useDebugValue:Al,useDeferredValue:function(e){var t=gl(ml),n=t[0],r=t[1];return Rl((function(){var t=rl.transition;rl.transition=1;try{r(e)}finally{rl.transition=t}}),[e]),n},useTransition:function(){var e=gl(ml)[0];return[El().current,e]},useMutableSource:xl,useOpaqueIdentifier:function(){return gl(ml)[0]},unstable_isNewReconciler:!1},Dl={readContext:pi,useCallback:Il,useContext:pi,useEffect:Rl,useImperativeHandle:Ll,useLayoutEffect:Tl,useMemo:jl,useReducer:vl,useRef:El,useState:function(){return vl(ml)},useDebugValue:Al,useDeferredValue:function(e){var t=vl(ml),n=t[0],r=t[1];return Rl((function(){var t=rl.transition;rl.transition=1;try{r(e)}finally{rl.transition=t}}),[e]),n},useTransition:function(){var e=vl(ml)[0];return[El().current,e]},useMutableSource:xl,useOpaqueIdentifier:function(){return vl(ml)[0]},unstable_isNewReconciler:!1},Bl=Pe.ReactCurrentOwner,Wl=!1;function Ul(e,t,n,r){t.child=null===e?Ii(t,null,n,r):Ai(t,e.child,n,r)}function Vl(e,t,n,r,o){n=n.render;var a=t.ref;return di(t,o),r=pl(e,t,n,r,a,o),null===e||Wl?(t.flags|=1,Ul(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,cs(e,t,o))}function ql(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||Yu(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zu(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Hl(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(o=i.memoizedProps,(n=null!==(n=n.compare)?n:yo)(o,r)&&e.ref===t.ref)?cs(e,t,a):(t.flags|=1,(e=Xu(i,r)).ref=t.ref,e.return=t,t.child=e)}function Hl(e,t,n,r,o,a){if(null!==e&&yo(e.memoizedProps,r)&&e.ref===t.ref){if(Wl=!1,0==(a&o))return t.lanes=e.lanes,cs(e,t,a);0!=(16384&e.flags)&&(Wl=!0)}return Ql(e,t,n,r,a)}function Kl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},Pu(t,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Pu(t,e),null;t.memoizedState={baseLanes:0},Pu(t,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Pu(t,r);return Ul(e,t,o,n),t.child}function Gl(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 a=Sa(n)?wa:ba.current;return a=ka(t,a),di(t,o),n=pl(e,t,n,r,a,o),null===e||Wl?(t.flags|=1,Ul(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,cs(e,t,o))}function Yl(e,t,n,r,o){if(Sa(n)){var a=!0;Pa(t)}else a=!1;if(di(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Ci(t,n,r),Pi(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=pi(u):u=ka(t,u=Sa(n)?wa:ba.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&Oi(t,i,r,u),fi=!1;var p=t.memoizedState;i.state=p,bi(t,r,i,o),s=t.memoizedState,l!==r||p!==s||xa.current||fi?("function"==typeof c&&(ki(t,n,c,r),s=t.memoizedState),(l=fi||Ei(t,n,l,r,p,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,mi(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ri(t.type,l),i.props=u,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=pi(s):s=ka(t,s=Sa(n)?wa:ba.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&Oi(t,i,r,s),fi=!1,p=t.memoizedState,i.state=p,bi(t,r,i,o);var h=t.memoizedState;l!==d||p!==h||xa.current||fi?("function"==typeof f&&(ki(t,n,f,r),h=t.memoizedState),(u=fi||Ei(t,n,u,r,p,h,s))?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),r=!1)}return Xl(e,t,n,r,a,o)}function Xl(e,t,n,r,o,a){Gl(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&Ra(t,n,!1),cs(e,t,a);r=t.stateNode,Bl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ai(t,e.child,null,a),t.child=Ai(t,null,l,a)):Ul(e,t,l,a),t.memoizedState=r.state,o&&Ra(t,n,!0),t.child}function Zl(e){var t=e.stateNode;t.pendingContext?Ca(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ca(0,t.context,!1),zi(e,t.containerInfo)}var Jl,es,ts,ns={dehydrated:null,retryLane:0};function rs(e,t,n){var r,o=t.pendingProps,a=Ui.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),va(Ui,1&a),null===e?(void 0!==o.fallback&&Yi(t),e=o.children,a=o.fallback,i?(e=os(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=ns,e):"number"==typeof o.unstable_expectedLoadTime?(e=os(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=ns,t.lanes=33554432,e):((n=ec({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,i?(o=is(e,t,o.children,o.fallback,n),i=t.child,a=e.child.memoizedState,i.memoizedState=null===a?{baseLanes:n}:{baseLanes:a.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=ns,o):(n=as(e,t,o.children,n),t.memoizedState=null,n))}function os(e,t,n,r){var o=e.mode,a=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==a?(a.childLanes=0,a.pendingProps=t):a=ec(t,o,0,null),n=Ju(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function as(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 a=t.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:n};return 0==(2&a)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=l,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Xu(i,l),null!==e?r=Xu(e,r):(r=Ju(r,a,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function ls(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ci(e.return,t)}function ss(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.lastEffect=a)}function us(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Ul(e,t,r.children,n),0!=(2&(r=Ui.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&&ls(e,n);else if(19===e.tag)ls(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(va(Ui,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===Vi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ss(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Vi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ss(t,!0,n,null,a,t.lastEffect);break;case"together":ss(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function cs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Hs|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(pe(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 ds(e,t){if(!Ki)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 ps(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 Sa(t.type)&&Ea(),null;case 3:return Di(),ga(xa),ga(ba),tl(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Zi(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Wi(t);var o=Fi($i.current);if(n=t.type,null!==e&&null!=t.stateNode)es(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(pe(166));return null}if(e=Fi(_i.current),Zi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[oa]=t,r[aa]=a,n){case"dialog":No("cancel",r),No("close",r);break;case"iframe":case"object":case"embed":No("load",r);break;case"video":case"audio":for(e=0;e<Ao.length;e++)No(Ao[e],r);break;case"source":No("error",r);break;case"img":case"image":case"link":No("error",r),No("load",r);break;case"details":No("toggle",r);break;case"input":it(r,a),No("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},No("invalid",r);break;case"textarea":ht(r,a),No("invalid",r)}for(var i in Tt(n,a),e=null,a)a.hasOwnProperty(i)&&(o=a[i],"children"===i?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):he.hasOwnProperty(i)&&null!=o&&"onScroll"===i&&No("scroll",r));switch(n){case"input":nt(r),ut(r,a,!0);break;case"textarea":nt(r),gt(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Ho)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(i=9===o.nodeType?o:o.ownerDocument,e===vt&&(e=bt(n)),e===vt?"script"===n?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),"select"===n&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[oa]=t,e[aa]=r,Jl(e,t),t.stateNode=e,i=Mt(n,r),n){case"dialog":No("cancel",e),No("close",e),o=r;break;case"iframe":case"object":case"embed":No("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ao.length;o++)No(Ao[o],e);o=r;break;case"source":No("error",e),o=r;break;case"img":case"image":case"link":No("error",e),No("load",e),o=r;break;case"details":No("toggle",e),o=r;break;case"input":it(e,r),o=at(e,r),No("invalid",e);break;case"option":o=dt(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ce({},r,{value:void 0}),No("invalid",e);break;case"textarea":ht(e,r),o=ft(e,r),No("invalid",e);break;default:o=r}Tt(n,o);var l=o;for(a in l)if(l.hasOwnProperty(a)){var s=l[a];"style"===a?Pt(e,s):"dangerouslySetInnerHTML"===a?null!=(s=s?s.__html:void 0)&&kt(e,s):"children"===a?"string"==typeof s?("textarea"!==n||""!==s)&&St(e,s):"number"==typeof s&&St(e,""+s):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(he.hasOwnProperty(a)?null!=s&&"onScroll"===a&&No("scroll",e):null!=s&&Oe(e,a,s,i))}switch(n){case"input":nt(e),ut(e,r,!1);break;case"textarea":nt(e),gt(e);break;case"option":null!=r.value&&e.setAttribute("value",""+et(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?pt(e,!!r.multiple,a,!1):null!=r.defaultValue&&pt(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Ho)}Qo(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)ts(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(pe(166));n=Fi($i.current),Fi(_i.current),Zi(t)?(r=t.stateNode,n=t.memoizedProps,r[oa]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[oa]=t,t.stateNode=r)}return null;case 13:return ga(Ui),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Zi(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ui.current)?0===Us&&(Us=3):(0!==Us&&3!==Us||(Us=4),null===Fs||0==(134217727&Hs)&&0==(134217727&Ks)||Su(Fs,Ds))),(r||n)&&(t.flags|=4),null);case 4:return Di(),null===e&&Fo(t.stateNode.containerInfo),null;case 10:return ui(t),null;case 19:if(ga(Ui),null===(r=t.memoizedState))return null;if(a=0!=(64&t.flags),null===(i=r.rendering))if(a)ds(r,!1);else{if(0!==Us||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(i=Vi(e))){for(t.flags|=64,ds(r,!1),null!==(a=i.updateQueue)&&(t.updateQueue=a,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(i=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return va(Ui,1&Ui.current|2),t.child}e=e.sibling}null!==r.tail&&Qa()>Xs&&(t.flags|=64,a=!0,ds(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=Vi(i))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ds(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate&&!Ki)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Qa()-r.renderingStartTime>Xs&&1073741824!==n&&(t.flags|=64,a=!0,ds(r,!1),t.lanes=33554432);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=r.last)?n.sibling=i:t.child=i,r.last=i)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Qa(),n.sibling=null,t=Ui.current,va(Ui,a?1&t|2:1&t),n):null;case 23:case 24:return Ru(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(pe(156,t.tag))}function fs(e){switch(e.tag){case 1:Sa(e.type)&&Ea();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Di(),ga(xa),ga(ba),tl(),0!=(64&(t=e.flags)))throw Error(pe(285));return e.flags=-4097&t|64,e;case 5:return Wi(e),null;case 13:return ga(Ui),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ga(Ui),null;case 4:return Di(),null;case 10:return ui(e),null;case 23:case 24:return Ru(),null;default:return null}}function hs(e,t){try{var n="",r=t;do{n+=Ze(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 ms(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}},es=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Fi(_i.current);var a,i=null;switch(n){case"input":o=at(e,o),r=at(e,r),i=[];break;case"option":o=dt(e,o),r=dt(e,r),i=[];break;case"select":o=ce({},o,{value:void 0}),r=ce({},r,{value:void 0}),i=[];break;case"textarea":o=ft(e,o),r=ft(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Ho)}for(u in Tt(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(he.hasOwnProperty(u)?i||(i=[]):(i=i||[]).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(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(i||(i=[]),i.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(he.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&No("scroll",e),i||l===s||(i=[])):"object"==typeof s&&null!==s&&s.$$typeof===Be?s.toString():(i=i||[]).push(u,s))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},ts=function(e,t,n,r){n!==r&&(t.flags|=4)};var gs="function"==typeof WeakMap?WeakMap:Map;function vs(e,t,n){(n=gi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){tu||(tu=!0,nu=r),ms(0,t)},n}function ys(e,t,n){(n=gi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ms(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===ru?ru=new Set([this]):ru.add(this),ms(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var bs="function"==typeof WeakSet?WeakSet:Set;function xs(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){qu(e,t)}else t.current=null}function ws(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:ri(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Jo(t.stateNode.containerInfo))}throw Error(pe(163))}function ks(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)&&(Wu(n,e),Bu(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:ri(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&xi(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}xi(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&&Rn(n)))))}throw Error(pe(163))}function Ss(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=Ot("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 Es(e,t){if(Ma&&"function"==typeof Ma.onCommitFiberUnmount)try{Ma.onCommitFiberUnmount(Ta,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))Wu(t,n);else{r=t;try{o()}catch(e){qu(r,e)}}n=n.next}while(n!==e)}break;case 1:if(xs(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){qu(t,e)}break;case 5:xs(t);break;case 4:Ms(e,t)}}function Cs(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 Os(e){return 5===e.tag||3===e.tag||4===e.tag}function Ps(e){e:{for(var t=e.return;null!==t;){if(Os(t))break e;t=t.return}throw Error(pe(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(pe(161))}16&n.flags&&(St(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Os(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?Rs(e,n,t):Ts(e,n,t)}function Rs(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=Ho));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,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(Ts(e,t,n),e=e.sibling;null!==e;)Ts(e,t,n),e=e.sibling}function Ms(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(pe(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var i=e,l=o,s=l;;)if(Es(i,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?(i=n,l=o.stateNode,8===i.nodeType?i.parentNode.removeChild(l):i.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(Es(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&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function Ls(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 a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[aa]=r,"input"===e&&"radio"===r.type&&null!=r.name&<(n,r),Mt(e,o),t=Mt(e,r),o=0;o<a.length;o+=2){var i=a[o],l=a[o+1];"style"===i?Pt(n,l):"dangerouslySetInnerHTML"===i?kt(n,l):"children"===i?St(n,l):Oe(n,i,l,t)}switch(e){case"input":st(n,r);break;case"textarea":mt(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?pt(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?pt(n,!!r.multiple,r.defaultValue,!0):pt(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(pe(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Rn(n.containerInfo)));case 13:return null!==t.memoizedState&&(Ys=Qa(),Ss(t.child,!0)),void As(t);case 19:return void As(t);case 23:case 24:return void Ss(t,null!==t.memoizedState)}throw Error(pe(163))}function As(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new bs),t.forEach((function(t){var r=Ku.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 js=Math.ceil,_s=Pe.ReactCurrentDispatcher,Ns=Pe.ReactCurrentOwner,$s=0,Fs=null,zs=null,Ds=0,Bs=0,Ws=ma(0),Us=0,Vs=null,qs=0,Hs=0,Ks=0,Gs=0,Qs=null,Ys=0,Xs=1/0;function Zs(){Xs=Qa()+500}var Js,eu=null,tu=!1,nu=null,ru=null,ou=!1,au=null,iu=90,lu=[],su=[],uu=null,cu=0,du=null,pu=-1,fu=0,hu=0,mu=null,gu=!1;function vu(){return 0!=(48&$s)?Qa():-1!==pu?pu:pu=Qa()}function yu(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Ya()?1:2;if(0===fu&&(fu=qs),0!==ni.transition){0!==hu&&(hu=null!==Qs?Qs.pendingLanes:0),e=fu;var t=4186112&~hu;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Ya(),0!=(4&$s)&&98===e?e=Hn(12,fu):e=Hn(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),fu),e}function bu(e,t,n){if(50<cu)throw cu=0,du=null,Error(pe(185));if(null===(e=xu(e,t)))return null;Qn(e,t,n),e===Fs&&(Ks|=t,4===Us&&Su(e,Ds));var r=Ya();1===t?0!=(8&$s)&&0==(48&$s)?Eu(e):(wu(e,n),0===$s&&(Zs(),ei())):(0==(4&$s)||98!==r&&99!==r||(null===uu?uu=new Set([e]):uu.add(e)),wu(e,n)),Qs=e}function xu(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 wu(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Yn(i),s=1<<l,u=a[l];if(-1===u){if(0==(s&r)||0!=(s&o)){u=t,Un(s);var c=Wn;a[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);i&=~s}if(r=Vn(e,e===Fs?Ds:0),t=Wn,0===r)null!==n&&(n!==Ua&&Ia(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ua&&Ia(n)}15===t?(n=Eu.bind(null,e),null===qa?(qa=[n],Ha=Aa(Fa,ti)):qa.push(n),n=Ua):14===t?n=Ja(99,Eu.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(pe(358,e))}}(t),n=Ja(n,ku.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function ku(e){if(pu=-1,hu=fu=0,0!=(48&$s))throw Error(pe(327));var t=e.callbackNode;if(Du()&&e.callbackNode!==t)return null;var n=Vn(e,e===Fs?Ds:0);if(0===n)return null;var r=n,o=$s;$s|=16;var a=Lu();for(Fs===e&&Ds===r||(Zs(),Tu(e,r));;)try{ju();break}catch(t){Mu(e,t)}if(si(),_s.current=a,$s=o,null!==zs?r=0:(Fs=null,Ds=0,r=Us),0!=(qs&Ks))Tu(e,0);else if(0!==r){if(2===r&&($s|=64,e.hydrate&&(e.hydrate=!1,Jo(e.containerInfo)),0!==(n=qn(e))&&(r=Au(e,n))),1===r)throw t=Vs,Tu(e,0),Su(e,n),wu(e,Qa()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(pe(345));case 2:case 5:$u(e);break;case 3:if(Su(e,n),(62914560&n)===n&&10<(r=Ys+500-Qa())){if(0!==Vn(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(Su(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var i=31-Yn(n);a=1<<i,(i=r[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=Qa()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*js(n/1960))-n)){e.timeoutHandle=Xo($u.bind(null,e),n);break}$u(e);break;default:throw Error(pe(329))}}return wu(e,Qa()),e.callbackNode===t?ku.bind(null,e):null}function Su(e,t){for(t&=~Gs,t&=~Ks,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Yn(t),r=1<<n;e[n]=-1,t&=~r}}function Eu(e){if(0!=(48&$s))throw Error(pe(327));if(Du(),e===Fs&&0!=(e.expiredLanes&Ds)){var t=Ds,n=Au(e,t);0!=(qs&Ks)&&(n=Au(e,t=Vn(e,t)))}else n=Au(e,t=Vn(e,0));if(0!==e.tag&&2===n&&($s|=64,e.hydrate&&(e.hydrate=!1,Jo(e.containerInfo)),0!==(t=qn(e))&&(n=Au(e,t))),1===n)throw n=Vs,Tu(e,0),Su(e,t),wu(e,Qa()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,$u(e),wu(e,Qa()),null}function Cu(e,t){var n=$s;$s|=1;try{return e(t)}finally{0===($s=n)&&(Zs(),ei())}}function Ou(e,t){var n=$s;$s&=-2,$s|=8;try{return e(t)}finally{0===($s=n)&&(Zs(),ei())}}function Pu(e,t){va(Ws,Bs),Bs|=t,qs|=t}function Ru(){Bs=Ws.current,ga(Ws)}function Tu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Zo(n)),null!==zs)for(n=zs.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ea();break;case 3:Di(),ga(xa),ga(ba),tl();break;case 5:Wi(r);break;case 4:Di();break;case 13:case 19:ga(Ui);break;case 10:ui(r);break;case 23:case 24:Ru()}n=n.return}Fs=e,zs=Xu(e.current,null),Ds=Bs=qs=t,Us=0,Vs=null,Gs=Ks=Hs=0}function Mu(e,t){for(;;){var n=zs;try{if(si(),nl.current=$l,sl){for(var r=al.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}sl=!1}if(ol=0,ll=il=al=null,ul=!1,Ns.current=null,null===n||null===n.return){Us=1,Vs=t,zs=null;break}e:{var a=e,i=n.return,l=n,s=t;if(t=Ds,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&Ui.current),p=i;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 g=p.updateQueue;if(null===g){var v=new Set;v.add(u),p.updateQueue=v}else g.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=gi(-1,1);y.tag=2,vi(l,y)}l.lanes|=1;break e}s=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new gs,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=Hu.bind(null,a,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!==Us&&(Us=2),s=hs(s,l),p=i;do{switch(p.tag){case 3:a=s,p.flags|=4096,t&=-t,p.lanes|=t,yi(p,vs(0,a,t));break e;case 1:a=s;var w=p.type,k=p.stateNode;if(0==(64&p.flags)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===ru||!ru.has(k)))){p.flags|=4096,t&=-t,p.lanes|=t,yi(p,ys(p,a,t));break e}}p=p.return}while(null!==p)}Nu(n)}catch(e){t=e,zs===n&&null!==n&&(zs=n=n.return);continue}break}}function Lu(){var e=_s.current;return _s.current=$l,null===e?$l:e}function Au(e,t){var n=$s;$s|=16;var r=Lu();for(Fs===e&&Ds===t||Tu(e,t);;)try{Iu();break}catch(t){Mu(e,t)}if(si(),$s=n,_s.current=r,null!==zs)throw Error(pe(261));return Fs=null,Ds=0,Us}function Iu(){for(;null!==zs;)_u(zs)}function ju(){for(;null!==zs&&!ja();)_u(zs)}function _u(e){var t=Js(e.alternate,e,Bs);e.memoizedProps=e.pendingProps,null===t?Nu(e):zs=t,Ns.current=null}function Nu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=ps(n,t,Bs)))return void(zs=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Bs)||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=fs(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===Us&&(Us=5)}function $u(e){var t=Ya();return Za(99,Fu.bind(null,e,t)),null}function Fu(e,t){do{Du()}while(null!==au);if(0!=(48&$s))throw Error(pe(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(pe(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,a=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 i=e.eventTimes,l=e.expirationTimes;0<a;){var s=31-Yn(a),u=1<<s;o[s]=0,i[s]=-1,l[s]=-1,a&=~u}if(null!==uu&&0==(24&r)&&uu.has(e)&&uu.delete(e),e===Fs&&(zs=Fs=null,Ds=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,Ns.current=null,Ko=tr,So(i=ko())){if("selectionStart"in i)l={start:i.selectionStart,end:i.selectionEnd};else e:if(l=(l=i.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,a=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=i,g=null;t:for(;;){for(var v;m!==l||0!==a&&3!==m.nodeType||(d=c+a),m!==s||0!==u&&3!==m.nodeType||(p=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(v=m.firstChild);)g=m,m=v;for(;;){if(m===i)break t;if(g===l&&++f===a&&(d=c),g===s&&++h===u&&(p=c),null!==(v=m.nextSibling))break;g=(m=g).parentNode}m=v}l=-1===d||-1===p?null:{start:d,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Go={focusedElem:i,selectionRange:l},tr=!1,mu=null,gu=!1,eu=r;do{try{zu()}catch(e){if(null===eu)throw Error(pe(330));qu(eu,e),eu=eu.nextEffect}}while(null!==eu);mu=null,eu=r;do{try{for(i=e;null!==eu;){var y=eu.flags;if(16&y&&St(eu.stateNode,""),128&y){var b=eu.alternate;if(null!==b){var x=b.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&y){case 2:Ps(eu),eu.flags&=-3;break;case 6:Ps(eu),eu.flags&=-3,Ls(eu.alternate,eu);break;case 1024:eu.flags&=-1025;break;case 1028:eu.flags&=-1025,Ls(eu.alternate,eu);break;case 4:Ls(eu.alternate,eu);break;case 8:Ms(i,l=eu);var w=l.alternate;Cs(l),null!==w&&Cs(w)}eu=eu.nextEffect}}catch(e){if(null===eu)throw Error(pe(330));qu(eu,e),eu=eu.nextEffect}}while(null!==eu);if(x=Go,b=ko(),y=x.focusedElem,i=x.selectionRange,b!==y&&y&&y.ownerDocument&&wo(y.ownerDocument.documentElement,y)){null!==i&&So(y)&&(b=i.start,void 0===(x=i.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(i.start,l),i=void 0===i.end?w:Math.min(i.end,l),!x.extend&&w>i&&(l=i,i=w,w=l),l=xo(y,w),a=xo(y,i),l&&a&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==a.node||x.focusOffset!==a.offset)&&((b=b.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),w>i?(x.addRange(b),x.extend(a.node,a.offset)):(b.setEnd(a.node,a.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}tr=!!Ko,Go=Ko=null,e.current=n,eu=r;do{try{for(y=e;null!==eu;){var k=eu.flags;if(36&k&&ks(y,eu.alternate,eu),128&k){b=void 0;var S=eu.ref;if(null!==S){var E=eu.stateNode;eu.tag,b=E,"function"==typeof S?S(b):S.current=b}}eu=eu.nextEffect}}catch(e){if(null===eu)throw Error(pe(330));qu(eu,e),eu=eu.nextEffect}}while(null!==eu);eu=null,Va(),$s=o}else e.current=n;if(ou)ou=!1,au=e,iu=t;else for(eu=r;null!==eu;)t=eu.nextEffect,eu.nextEffect=null,8&eu.flags&&((k=eu).sibling=null,k.stateNode=null),eu=t;if(0===(r=e.pendingLanes)&&(ru=null),1===r?e===du?cu++:(cu=0,du=e):cu=0,n=n.stateNode,Ma&&"function"==typeof Ma.onCommitFiberRoot)try{Ma.onCommitFiberRoot(Ta,n,void 0,64==(64&n.current.flags))}catch(e){}if(wu(e,Qa()),tu)throw tu=!1,e=nu,nu=null,e;return 0!=(8&$s)||ei(),null}function zu(){for(;null!==eu;){var e=eu.alternate;gu||null===mu||(0!=(8&eu.flags)?an(eu,mu)&&(gu=!0):13===eu.tag&&Is(e,eu)&&an(eu,mu)&&(gu=!0));var t=eu.flags;0!=(256&t)&&ws(e,eu),0==(512&t)||ou||(ou=!0,Ja(97,(function(){return Du(),null}))),eu=eu.nextEffect}}function Du(){if(90!==iu){var e=97<iu?97:iu;return iu=90,Za(e,Uu)}return!1}function Bu(e,t){lu.push(t,e),ou||(ou=!0,Ja(97,(function(){return Du(),null})))}function Wu(e,t){su.push(t,e),ou||(ou=!0,Ja(97,(function(){return Du(),null})))}function Uu(){if(null===au)return!1;var e=au;if(au=null,0!=(48&$s))throw Error(pe(331));var t=$s;$s|=32;var n=su;su=[];for(var r=0;r<n.length;r+=2){var o=n[r],a=n[r+1],i=o.destroy;if(o.destroy=void 0,"function"==typeof i)try{i()}catch(e){if(null===a)throw Error(pe(330));qu(a,e)}}for(n=lu,lu=[],r=0;r<n.length;r+=2){o=n[r],a=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===a)throw Error(pe(330));qu(a,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,ei(),!0}function Vu(e,t,n){vi(e,t=vs(0,t=hs(n,t),1)),t=vu(),null!==(e=xu(e,1))&&(Qn(e,1,t),wu(e,t))}function qu(e,t){if(3===e.tag)Vu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Vu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===ru||!ru.has(r))){var o=ys(n,e=hs(t,e),1);if(vi(n,o),o=vu(),null!==(n=xu(n,1)))Qn(n,1,o),wu(n,o);else if("function"==typeof r.componentDidCatch&&(null===ru||!ru.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Hu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=vu(),e.pingedLanes|=e.suspendedLanes&n,Fs===e&&(Ds&n)===n&&(4===Us||3===Us&&(62914560&Ds)===Ds&&500>Qa()-Ys?Tu(e,0):Gs|=n),wu(e,t)}function Ku(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===Ya()?1:2:(0===fu&&(fu=qs),0===(t=Kn(62914560&~fu))&&(t=4194304))),n=vu(),null!==(e=xu(e,t))&&(Qn(e,t,n),wu(e,n))}function Gu(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 Gu(e,t,n,r)}function Yu(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 Zu(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Yu(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Me:return Ju(n.children,o,a,t);case We:i=8,o|=16;break;case Le:i=8,o|=1;break;case Ae:return(e=Qu(12,n,t,8|o)).elementType=Ae,e.type=Ae,e.lanes=a,e;case Ne:return(e=Qu(13,n,t,o)).type=Ne,e.elementType=Ne,e.lanes=a,e;case $e:return(e=Qu(19,n,t,o)).elementType=$e,e.lanes=a,e;case Ue:return ec(n,o,a,t);case Ve:return(e=Qu(24,n,t,o)).elementType=Ve,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ie:i=10;break e;case je:i=9;break e;case _e:i=11;break e;case Fe:i=14;break e;case ze:i=16,r=null;break e;case De:i=22;break e}throw Error(pe(130,null==e?e:typeof e,""))}return(t=Qu(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ju(e,t,n,r){return(e=Qu(7,e,r,t)).lanes=n,e}function ec(e,t,n,r){return(e=Qu(23,e,r,t)).elementType=Ue,e.lanes=n,e}function tc(e,t,n){return(e=Qu(6,e,null,t)).lanes=n,e}function nc(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 rc(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=Gn(0),this.expirationTimes=Gn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gn(0),this.mutableSourceEagerHydrationData=null}function oc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ac(e,t,n,r){var o=t.current,a=vu(),i=yu(o);e:if(n){t:{if(tn(n=n._reactInternals)!==n||1!==n.tag)throw Error(pe(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Sa(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(pe(171))}if(1===n.tag){var s=n.type;if(Sa(s)){n=Oa(n,s,l);break e}}n=l}else n=ya;return null===t.context?t.context=n:t.pendingContext=n,(t=gi(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),vi(o,t),bu(o,i,a),i}function ic(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function lc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function sc(e,t){lc(e,t),(e=e.alternate)&&lc(e,t)}function uc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new rc(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,hi(t),e[ia]=n.current,Fo(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 cc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function dc(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=ic(i);l.call(e)}}ac(t,i,e,o)}else{if(a=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 uc(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var s=o;o=function(){var e=ic(i);s.call(e)}}Ou((function(){ac(t,i,e,o)}))}return ic(i)}function pc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!cc(t))throw Error(pe(200));return oc(e,t,null,n)}Js=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||xa.current)Wl=!0;else{if(0==(n&r)){switch(Wl=!1,t.tag){case 3:Zl(t),Ji();break;case 5:Bi(t);break;case 1:Sa(t.type)&&Pa(t);break;case 4:zi(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;va(oi,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?rs(e,t,n):(va(Ui,1&Ui.current),null!==(t=cs(e,t,n))?t.sibling:null);va(Ui,1&Ui.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return us(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),va(Ui,Ui.current),r)break;return null;case 23:case 24:return t.lanes=0,Kl(e,t,n)}return cs(e,t,n)}Wl=0!=(16384&e.flags)}else Wl=!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=ka(t,ba.current),di(t,n),o=pl(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,Sa(r)){var a=!0;Pa(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,hi(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&ki(t,r,i,e),o.updater=Si,t.stateNode=o,o._reactInternals=t,Pi(t,r,e,n),t=Xl(null,t,r,!0,a,n)}else t.tag=0,Ul(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=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return Yu(e)?1:0;if(null!=e){if((e=e.$$typeof)===_e)return 11;if(e===Fe)return 14}return 2}(o),e=ri(o,e),a){case 0:t=Ql(null,t,o,e,n);break e;case 1:t=Yl(null,t,o,e,n);break e;case 11:t=Vl(null,t,o,e,n);break e;case 14:t=ql(null,t,o,ri(o.type,e),r,n);break e}throw Error(pe(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ql(e,t,r,o=t.elementType===r?o:ri(r,o),n);case 1:return r=t.type,o=t.pendingProps,Yl(e,t,r,o=t.elementType===r?o:ri(r,o),n);case 3:if(Zl(t),r=t.updateQueue,null===e||null===r)throw Error(pe(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,mi(e,t),bi(t,r,null,n),(r=t.memoizedState.element)===o)Ji(),t=cs(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(Hi=ea(t.stateNode.containerInfo.firstChild),qi=t,a=Ki=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],el.push(a);for(n=Ii(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Ul(e,t,r,n),Ji();t=t.child}return t;case 5:return Bi(t),null===e&&Yi(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children,Yo(r,o)?i=null:null!==a&&Yo(r,a)&&(t.flags|=16),Gl(e,t),Ul(e,t,i,n),t.child;case 6:return null===e&&Yi(t),null;case 13:return rs(e,t,n);case 4:return zi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ai(t,null,r,n):Ul(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Vl(e,t,r,o=t.elementType===r?o:ri(r,o),n);case 7:return Ul(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ul(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value;var l=t.type._context;if(va(oi,l._currentValue),l._currentValue=a,null!==i)if(l=i.value,0===(a=go(l,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(i.children===o.children&&!xa.current){t=cs(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.dependencies;if(null!==s){i=l.child;for(var u=s.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&a)){1===l.tag&&((u=gi(-1,n&-n)).tag=2,vi(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),ci(l.return,n),s.lanes|=n;break}u=u.next}}else i=10===l.tag&&l.type===t.type?null:l.child;if(null!==i)i.return=l;else for(i=l;null!==i;){if(i===t){i=null;break}if(null!==(l=i.sibling)){l.return=i.return,i=l;break}i=i.return}l=i}Ul(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,di(t,n),r=r(o=pi(o,a.unstable_observedBits)),t.flags|=1,Ul(e,t,r,n),t.child;case 14:return a=ri(o=t.type,t.pendingProps),ql(e,t,o,a=ri(o.type,a),r,n);case 15:return Hl(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ri(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Sa(r)?(e=!0,Pa(t)):e=!1,di(t,n),Ci(t,r,o),Pi(t,r,o,n),Xl(null,t,r,!0,e,n);case 19:return us(e,t,n);case 23:case 24:return Kl(e,t,n)}throw Error(pe(156,t.tag))},uc.prototype.render=function(e){ac(e,this._internalRoot,null,null)},uc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ac(null,e,null,(function(){t[ia]=null}))},ln=function(e){13===e.tag&&(bu(e,4,vu()),sc(e,4))},sn=function(e){13===e.tag&&(bu(e,67108864,vu()),sc(e,67108864))},un=function(e){if(13===e.tag){var t=vu(),n=yu(e);bu(e,n,t),sc(e,n)}},cn=function(e,t){return t()},At=function(e,t,n){switch(t){case"input":if(st(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=da(r);if(!o)throw Error(pe(90));rt(r),st(r,o)}}}break;case"textarea":mt(e,n);break;case"select":null!=(t=n.value)&&pt(e,!!n.multiple,t,!1)}},Ft=Cu,zt=function(e,t,n,r,o){var a=$s;$s|=4;try{return Za(98,e.bind(null,t,n,r,o))}finally{0===($s=a)&&(Zs(),ei())}},Dt=function(){0==(49&$s)&&(function(){if(null!==uu){var e=uu;uu=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,wu(e,Qa())}))}ei()}(),Du())},Bt=function(e,t){var n=$s;$s|=2;try{return e(t)}finally{0===($s=n)&&(Zs(),ei())}};var fc,hc={Events:[ua,ca,da,Nt,$t,Du,{current:!1}]},mc={findFiberByHostInstance:sa,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},gc={bundleType:mc.bundleType,version:mc.version,rendererPackageName:mc.rendererPackageName,rendererConfig:mc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Pe.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=on(e))?null:e.stateNode},findFiberByHostInstance:mc.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{Ta=vc.inject(gc),Ma=vc}catch(sA){}}te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hc,te.createPortal=pc,te.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(pe(188));throw Error(pe(268,Object.keys(e)))}return e=null===(e=on(t))?null:e.stateNode},te.flushSync=function(e,t){var n=$s;if(0!=(48&n))return e(t);$s|=1;try{if(e)return Za(99,e.bind(null,t))}finally{$s=n,ei()}},te.hydrate=function(e,t,n){if(!cc(t))throw Error(pe(200));return dc(null,e,t,!0,n)},te.render=function(e,t,n){if(!cc(t))throw Error(pe(200));return dc(null,e,t,!1,n)},te.unmountComponentAtNode=function(e){if(!cc(e))throw Error(pe(40));return!!e._reactRootContainer&&(Ou((function(){dc(null,null,e,!1,(function(){e._reactRootContainer=null,e[ia]=null}))})),!0)},te.unstable_batchedUpdates=Cu,te.unstable_createPortal=function(e,t){return pc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},te.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!cc(n))throw Error(pe(200));if(null==e||void 0===e._reactInternals)throw Error(pe(38));return dc(e,t,n,!1,r)},te.version="17.0.2",fc=ee,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)}}(),fc.exports=te;var yc=f(ee.exports),bc="__tolgee_dev_tools",xc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._popup=null,t}return o(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(bc))||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&&(ee.exports.unmountComponentAtNode(this._popup),this.devTools.removeChild(this._popup))},t.prototype._render=function(){ee.exports.render(m.exports.createElement(m.exports.Fragment,null,this.props.children),this._popup)},t.prototype.render=function(){return null},t}(m.exports.PureComponent),wc=function(e){return new Promise((function(t){return setTimeout(t,e)}))};const kc=Symbol(),Sc=Symbol(),Ec="undefined"==typeof window||/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent)?m.exports.useEffect:m.exports.useLayoutEffect,Cc=le.exports.unstable_runWithPriority?e=>le.exports.unstable_runWithPriority(le.exports.unstable_NormalPriority,e):e=>e();var Oc=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 Pc(e,t){return Pc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pc(e,t)}function Rc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pc(e,t)}var Tc=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 Mc(){return Mc=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},Mc.apply(this,arguments)}var Lc="undefined"==typeof window;function Ac(){}function Ic(e){return"number"==typeof e&&e>=0&&e!==1/0}function jc(e){return Array.isArray(e)?e:[e]}function _c(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Nc(e,t,n){return Kc(e)?"function"==typeof t?Mc({},n,{queryKey:e,queryFn:t}):Mc({},t,{queryKey:e}):e}function $c(e,t,n){return Kc(e)?[Mc({},t,{queryKey:e}),n]:[e||{},t]}function Fc(e,t){var n=e.active,r=e.exact,o=e.fetching,a=e.inactive,i=e.predicate,l=e.queryKey,s=e.stale;if(Kc(l))if(r){if(t.queryHash!==Dc(l,t.options))return!1}else if(!Wc(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,a);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)&&!(i&&!i(t)))}function zc(e,t){var n=e.exact,r=e.fetching,o=e.predicate,a=e.mutationKey;if(Kc(a)){if(!t.options.mutationKey)return!1;if(n){if(Bc(t.options.mutationKey)!==Bc(a))return!1}else if(!Wc(t.options.mutationKey,a))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function Dc(e,t){return((null==t?void 0:t.queryKeyHashFn)||Bc)(e)}function Bc(e){var t,n=jc(e);return t=n,JSON.stringify(t,(function(e,t){return qc(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function Wc(e,t){return Uc(jc(e),jc(t))}function Uc(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!Uc(e[n],t[n])})))}function Vc(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||qc(e)&&qc(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),a=o.length,i=n?[]:{},l=0,s=0;s<a;s++){var u=n?s:o[s];i[u]=Vc(e[u],t[u]),i[u]===e[u]&&l++}return r===a&&l===r?e:i}return t}function qc(e){if(!Hc(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!Hc(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Hc(e){return"[object Object]"===Object.prototype.toString.call(e)}function Kc(e){return"string"==typeof e||Array.isArray(e)}function Gc(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function Qc(){if("function"==typeof AbortController)return new AbortController}var Yc=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!Lc&&(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}Rc(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}(Tc)),Xc=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!Lc&&(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}Rc(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}(Tc));function Zc(e){return Math.min(1e3*Math.pow(2,e),3e4)}function Jc(e){return"function"==typeof(null==e?void 0:e.cancel)}var ed=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function td(e){return e instanceof ed}var nd=function(e){var t,n,r,o,a=this,i=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){i=!0},this.continueRetry=function(){i=!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){a.isResolved||(a.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),r(t))},s=function(t){a.isResolved||(a.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),o(t))};!function r(){if(!a.isResolved){var o;try{o=e.fn()}catch(e){o=Promise.reject(e)}t=function(e){if(!a.isResolved&&(s(new ed(e)),null==a.abort||a.abort(),Jc(o)))try{o.cancel()}catch(e){}},a.isTransportCancelable=Jc(o),Promise.resolve(o).then(l).catch((function(t){var o,l;if(!a.isResolved){var u,c=null!=(o=e.retry)?o:3,d=null!=(l=e.retryDelay)?l:Zc,p="function"==typeof d?d(a.failureCount,t):d,f=!0===c||"number"==typeof c&&a.failureCount<c||"function"==typeof c&&c(a.failureCount,t);if(!i&&f)a.failureCount++,null==e.onFail||e.onFail(a.failureCount,t),(u=p,new Promise((function(e){setTimeout(e,u)}))).then((function(){if(!Yc.isFocused()||!Xc.isOnline())return new Promise((function(t){n=t,a.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,a.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){i?s(t):r()}));else s(t)}}))}}()},rd=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):Gc((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&&Gc((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}()),od=console;function ad(){return od}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=Mc({},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,a=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,a))?a=o:!1!==this.options.structuralSharing&&(a=Vc(o,a)),this.dispatch({data:a,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),a},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||!_c(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,a=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var i;return null==(i=this.retryer)||i.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=jc(this.queryKey),u=Qc(),c={queryKey:s,pageParam:void 0,meta:this.meta};Object.defineProperty(c,"signal",{enumerable:!0,get:function(){if(u)return a.abortSignalConsumed=!0,u.signal}});var d,p,f={fetchOptions:t,options:this.options,queryKey:s,state:this.state,fetchFn:function(){return a.options.queryFn?(a.abortSignalConsumed=!1,a.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 nd({fn:f.fetchFn,abort:null==u||null==(o=u.abort)?void 0:o.bind(u),onSuccess:function(e){a.setData(e),null==a.cache.config.onSuccess||a.cache.config.onSuccess(e,a),0===a.cacheTime&&a.optionalRemove()},onError:function(e){td(e)&&e.silent||a.dispatch({type:"error",error:e}),td(e)||(null==a.cache.config.onError||a.cache.config.onError(e,a),ad().error(e)),0===a.cacheTime&&a.optionalRemove()},onFail:function(){a.dispatch({type:"failed"})},onPause:function(){a.dispatch({type:"pause"})},onContinue:function(){a.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),rd.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 Mc({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return Mc({},e,{isPaused:!0});case"continue":return Mc({},e,{isPaused:!1});case"fetch":return Mc({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return Mc({},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 td(o)&&o.revert&&this.revertState?Mc({},this.revertState):Mc({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return Mc({},e,{isInvalidated:!0});case"setState":return Mc({},e,t.state);default:return e}},e}(),ld=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}Rc(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,a=null!=(r=t.queryHash)?r:Dc(o,t),i=this.get(a);return i||(i=new id({cache:this,queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(i)),i},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;rd.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 Fc(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 Fc(n,e)})):this.queries},n.notify=function(e){var t=this;rd.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;rd.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;rd.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(Tc),sd=function(){function e(e){this.options=Mc({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||ud(),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),ad().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 nd({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 Mc({},e,{failureCount:e.failureCount+1});case"pause":return Mc({},e,{isPaused:!0});case"continue":return Mc({},e,{isPaused:!1});case"loading":return Mc({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return Mc({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return Mc({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return Mc({},e,t.state);default:return e}}(this.state,e),rd.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function ud(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}var cd=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}Rc(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new sd({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;rd.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;rd.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 rd.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(Ac)}))}),Promise.resolve())}))},t}(Tc);function dd(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var pd=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new ld,this.mutationCache=e.mutationCache||new cd,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=Yc.subscribe((function(){Yc.isFocused()&&Xc.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=Xc.subscribe((function(){Yc.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(Mc({},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=Nc(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return rd.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;rd.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),a=o[0],i=o[1],l=this.queryCache,s=Mc({},a,{active:!0});return rd.batch((function(){return l.findAll(a).forEach((function(e){e.reset()})),r.refetchQueries(s,i)}))},t.cancelQueries=function(e,t,n){var r=this,o=$c(e,t,n),a=o[0],i=o[1],l=void 0===i?{}:i;void 0===l.revert&&(l.revert=!0);var s=rd.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.cancel(l)}))}));return Promise.all(s).then(Ac).catch(Ac)},t.invalidateQueries=function(e,t,n){var r,o,a,i=this,l=$c(e,t,n),s=l[0],u=l[1],c=Mc({},s,{active:null==(r=null!=(o=s.refetchActive)?o:s.active)||r,inactive:null!=(a=s.refetchInactive)&&a});return rd.batch((function(){return i.queryCache.findAll(s).forEach((function(e){e.invalidate()})),i.refetchQueries(c,u)}))},t.refetchQueries=function(e,t,n){var r=this,o=$c(e,t,n),a=o[0],i=o[1],l=rd.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.fetch(void 0,Mc({},i,{meta:{refetchPage:null==a?void 0:a.refetchPage}}))}))})),s=Promise.all(l).then(Ac);return(null==i?void 0:i.throwOnError)||(s=s.catch(Ac)),s},t.fetchQuery=function(e,t,n){var r=Nc(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var a=this.queryCache.build(this,o);return a.isStaleByTime(o.staleTime)?a.fetch(o):Promise.resolve(a.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=Nc(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,o,a,i,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==(a=e.state.data)?void 0:a.pages)||[],g=(null==(i=e.state.data)?void 0:i.pageParams)||[],v=Qc(),y=null==v?void 0:v.signal,b=g,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 a={queryKey:e.queryKey,signal:y,pageParam:r,meta:e.meta},i=w(a),l=Promise.resolve(i).then((function(e){return k(t,r,e,o)}));return Jc(i)&&(l.cancel=i.cancel),l};if(m.length)if(f){var E=void 0!==p,C=E?p:dd(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,g[0]):Promise.resolve(k([],g[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?g[n]:dd(e.options,r);return S(r,t,o)}return Promise.resolve(k(r,g[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==v||v.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=rd.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 Bc(e)===Bc(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 Wc(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return Bc(e)===Bc(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 Wc(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=Mc({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=Dc(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:Mc({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),fd=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}Rc(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),hd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return md(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return md(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&&gd(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 a=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&a===this.currentRefetchInterval||this.updateRefetchInterval(a)},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(Mc({},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(),!Lc&&!this.currentResult.isStale&&Ic(this.options.staleTime)){var t=_c(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,!Lc&&!1!==this.options.enabled&&Ic(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||Yc.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,a=this.currentResult,i=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,g=d.status,v=!1,y=!1;if(t.optimisticResults){var b=this.hasListeners(),x=!b&&hd(e,t),w=b&&gd(e,r,t,o);(x||w)&&(m=!0,p||(g="loading"))}if(t.keepPreviousData&&!d.dataUpdateCount&&(null==c?void 0:c.isSuccess)&&"error"!==g)n=c.data,p=c.dataUpdatedAt,g=c.status,v=!0;else if(t.select&&void 0!==d.data)if(a&&d.data===(null==i?void 0:i.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(d.data),!1!==t.structuralSharing&&(n=Vc(null==a?void 0:a.data,n)),this.selectResult=n,this.selectError=null}catch(e){ad().error(e),this.selectError=e}else n=d.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===g||"idle"===g)){var k;if((null==a?void 0:a.isPlaceholderData)&&t.placeholderData===(null==l?void 0:l.placeholderData))k=a.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=Vc(null==a?void 0:a.data,k)),this.selectError=null}catch(e){ad().error(e),this.selectError=e}void 0!==k&&(g="success",n=k,y=!0)}return this.selectError&&(f=this.selectError,n=this.selectResult,h=Date.now(),g="error"),{status:g,isLoading:"loading"===g,isSuccess:"success"===g,isError:"error"===g,isIdle:"idle"===g,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"!==g,isLoadingError:"error"===g&&0===d.dataUpdatedAt,isPlaceholderData:y,isPreviousData:v,isRefetchError:"error"===g&&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 a="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,i=e[r]!==t[r],l=null==a?void 0:a.some((function(e){return e===n})),s=null==o?void 0:o.some((function(e){return e===n}));return i&&!s&&(!a||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(Mc({},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||td(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;rd.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}(Tc);function hd(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&&md(e,t,t.refetchOnMount)}function md(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 gd(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 yd=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}Rc(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,Mc({},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=Mc({},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;rd.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}(Tc),bd=yc.unstable_batchedUpdates;rd.setBatchNotifyFunction(bd);var xd=console;od=xd;var wd=Z.createContext(void 0),kd=Z.createContext(!1);function Sd(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=wd),window.ReactQueryClientContext):wd}var Ed=function(){var e=Z.useContext(Sd(Z.useContext(kd)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Cd=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,o=e.children;Z.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=Sd(r);return Z.createElement(kd.Provider,{value:r},Z.createElement(a.Provider,{value:t},o))};var Od,Pd=Z.createContext((Od=!1,{clearReset:function(){Od=!1},reset:function(){Od=!0},isReset:function(){return Od}}));function Rd(e,t,n){return"function"==typeof t?t.apply(void 0,n):"boolean"==typeof t?t:!!e}function Td(e,t,n){var r=Z.useRef(!1),o=Z.useState(0)[1],a=function(e,t,n){return Kc(e)?"function"==typeof t?Mc({},n,{mutationKey:e,mutationFn:t}):Mc({},t,{mutationKey:e}):"function"==typeof e?Mc({},t,{mutationFn:e}):Mc({},e)}(e,t,n),i=Ed(),l=Z.useRef();l.current?l.current.setOptions(a):l.current=new yd(i,a);var s=l.current.getCurrentResult();Z.useEffect((function(){r.current=!0;var e=l.current.subscribe(rd.batchCalls((function(){r.current&&o((function(e){return e+1}))})));return function(){r.current=!1,e()}}),[]);var u=Z.useCallback((function(e,t){l.current.mutate(e,t).catch(Ac)}),[]);if(s.error&&Rd(void 0,l.current.options.useErrorBoundary,[s.error]))throw s.error;return Mc({},s,{mutate:u,mutateAsync:s.mutate})}function Md(e,t){var n=Z.useRef(!1),r=Z.useState(0)[1],o=Ed(),a=Z.useContext(Pd),i=o.defaultQueryObserverOptions(e);i.optimisticResults=!0,i.onError&&(i.onError=rd.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=rd.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=rd.batchCalls(i.onSettled)),i.suspense&&("number"!=typeof i.staleTime&&(i.staleTime=1e3),0===i.cacheTime&&(i.cacheTime=1)),(i.suspense||i.useErrorBoundary)&&(a.isReset()||(i.retryOnMount=!1));var l=Z.useState((function(){return new t(o,i)}))[0],s=l.getOptimisticResult(i);if(Z.useEffect((function(){n.current=!0,a.clearReset();var e=l.subscribe(rd.batchCalls((function(){n.current&&r((function(e){return e+1}))})));return l.updateResult(),function(){n.current=!1,e()}}),[a,l]),Z.useEffect((function(){l.setOptions(i,{listeners:!1})}),[i,l]),i.suspense&&s.isLoading)throw l.fetchOptimistic(i).then((function(e){var t=e.data;null==i.onSuccess||i.onSuccess(t),null==i.onSettled||i.onSettled(t,null)})).catch((function(e){a.clearReset(),null==i.onError||i.onError(e),null==i.onSettled||i.onSettled(void 0,e)}));if(s.isError&&!a.isReset()&&!s.isFetching&&Rd(i.suspense,i.useErrorBoundary,[s.error,l.getCurrentQuery()]))throw s.error;return"tracked"===i.notifyOnChangeProps&&(s=l.trackResult(s,i)),s}function Ld(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,a=new Uint8Array(5*t/8|0),i=0;i<t;i++)r=r<<5|Ld(e[i]),(n+=5)>=8&&(a[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,a=0;a<n;a+=o)a+o>n&&(o=n-a),r+=String.fromCharCode.apply(null,t.subarray(a,a+o));return r}(a.buffer)}function Id(e){if(e)try{var t=c(e.split("_"),2),n=t[0],r=t[1];if("tgpak"===n){var o=c(Ad(r).split("_"),1)[0];return Number(o)}}catch(e){console.warn("Tolgee: Api key can't be parsed")}}function jd(e){if(e){var t=c(e.split("_"),1)[0];return"tgpak"===t?"tgpak":"tgpat"===t?"tgpat":"legacy"}}function _d(e){return l(this,void 0,void 0,(function(){var t;return s(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 Nd=function(e){return e?Object.entries(e).reduce((function(e,t){var n,r=c(t,2),o=r[0],i=r[1];return Array.isArray(i)||"object"!=typeof i?a(a({},e),((n={})[o]=i,n)):a(a({},e),Nd(i))}),{}):{}};function $d(e,t,n){return l(this,void 0,void 0,(function(){var r=this;return s(this,(function(o){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=a(a({},n.headers),{"X-API-Key":t.apiKey}),[2,fetch(t.apiUrl+e,n).then((function(e){return l(r,void 0,void 0,(function(){var t,n;return s(this,(function(r){switch(r.label){case 0:return e.ok?[3,2]:[4,_d(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,_d(e)];case 3:return[2,r.sent()]}}))}))})).catch((function(e){throw e.message||"Failed to fetch"}))]}))}))}function Fd(e,t,n,r){var o,a;return l(this,void 0,void 0,(function(){var i,l,u,d,p,f,h,m,g,v;return s(this,(function(s){var y;return i=(null==n?void 0:n.path)||{},l=e,void 0!==(u=Id(r.apiKey)||r.projectId)&&(i.projectId=u,l=function(e){return e.replace("/projects/","/projects/{projectId}/")}(l)),i&&Object.entries(i).forEach((function(e){var t=c(e,2),n=t[0],r=t[1];l=l.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=c(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===(a=null==n?void 0:n.content)||void 0===a?void 0:a["application/json"]),h=null==n?void 0:n.query,m="",g=Nd(h),y=g,v=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("&"),v&&(m="?"+v),[2,$d(l+m,r,{method:t,body:p||f,headers:f?{"Content-Type":"application/json"}:void 0})]}))}))}var zd=new pd({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1}}}),Dd=Z.createContext({}),Bd=function(e){var t=e.children,n=e.apiUrl,r=e.apiKey,o=e.projectId;return Z.createElement(Dd.Provider,{value:{apiUrl:n,apiKey:r,projectId:o}},Z.createElement(Cd,{client:zd},t))},Wd=function(e){var t=e.url,n=e.method,r=e.options,o=i(e,["url","method","options"]),a=m.exports.useContext(Dd);return Md(Nc([t,null==o?void 0:o.path,null==o?void 0:o.query],(function(){return Fd(t,n,o,a)}),r),fd)},Ud=function(e){var t=Ed(),n=e.url,r=e.method,o=e.options,i=e.invalidatePrefix,l=m.exports.useContext(Dd),s=Td((function(e){return Fd(n,r,e,l)}),o),u=function(e){return a(a({},e),{onSuccess:function(){for(var n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];void 0!==i&&Vd(t,i),null===(n=null==e?void 0:e.onSuccess)||void 0===n||n.call.apply(n,d([e],c(r),!1))}})},p=m.exports.useCallback((function(e,t){return s.mutate(e,u(t))}),[s.mutate]),f=m.exports.useCallback((function(e,t){return s.mutateAsync(e,u(t))}),[s.mutateAsync]);return a(a({},s),{mutate:p,mutateAsync:f})},Vd=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))},qd=function(e){for(var t=[],n=0;n<e.length;n++)"file"===e[n].kind&&t.push(e[n].getAsFile());return t};function Hd(e,t){return Boolean(null==t?void 0:t.includes(e))}function Kd(){try{return JSON.parse(localStorage.getItem("__tolgee_preferredLanguages")||"")}catch(e){return[]}}function Gd(e){localStorage.setItem("__tolgee_preferredLanguages",JSON.stringify(e))}var Qd=function(e,t,n,r){var o=n.map((function(n){var o=c(n,2),a=o[0],i=o[1];return r({language:a,namespace:t},e,i)}));return{revert:function(){return o.forEach((function(e){return e.revert()}))}}};function Yd(e){var t=this,n=e.message,r=e.recievingMessage,o=e.data,a=e.attempts,i=void 0===a?1:a,u=!1,c=function(){return new Promise((function(e,t){var a=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(i),l(),e(t)}));window.postMessage({type:n,data:o},window.origin);var i=setTimeout((function(){l(),t()}),300);function l(){a.unsubscribe()}}))};return{cancel:function(){return u=!0},promise:l(t,void 0,void 0,(function(){var e;return s(this,(function(t){switch(t.label){case 0:e=0,t.label=1;case 1:if(!(e<i))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,Zd,Jd,ep,tp=function(e){var t=c(m.exports.useState(void 0),2),n=t[0],r=t[1],o=c(m.exports.useState(!1),2),i=o[0],u=o[1],p=c(m.exports.useState([]),2),f=p[0],h=p[1],g=c(m.exports.useState(null),2),v=g[0],y=g[1];m.exports.useEffect((function(){(function(){return l(this,void 0,void 0,(function(){return s(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,Yd({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=Ud({url:"/v2/image-upload/{ids}",method:"delete"}),x=Ud({url:"/v2/image-upload",method:"post",options:{onSuccess:function(e){h((function(t){return d(d([],c(t),!1),[a(a({},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:i,screenshots:f,setScreenshots:h,screenshotDetail:v,setScreenshotDetail:y,handleUploadImages:function(e){return l(this,void 0,void 0,(function(){return s(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 l(this,void 0,void 0,(function(){var o,a,i,l,c;return s(this,(function(s){switch(s.label){case 0:return u(!0),o=e.highlight(t,n).unhighlight,a=Qd(t,n,Object.entries(r),e.changeTranslation).revert,[4,wc(100)];case 1:s.sent(),s.label=2;case 2:return s.trys.push([2,4,5,6]),[4,Yd({message:"TOLGEE_TAKE_SCREENSHOT",recievingMessage:["TOLGEE_SCREENSHOT_TAKEN"]}).promise];case 3:return i=s.sent(),[3,6];case 4:return l=s.sent(),console.error(l),[2];case 5:return a(),o(),u(!1),[7];case 6:return[4,fetch(i).then((function(e){return e.blob()}))];case 7:return c=s.sent(),w(c),[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]}}),h(f.filter((function(t){return t.id!==e})))},deleteImages:function(e){b.mutate({path:{ids:e}})},canTakeScreenshots:n}},np=(Xd=c((Zd=function(e){var t,n,r,o,u,p,f,h,g,v,y,b,x,w=c(m.exports.useState(!1),2),k=w[0],S=w[1],E=c(m.exports.useState({}),2),C=E[0],O=E[1],P=c(m.exports.useState(!1),2),R=P[0],T=P[1],M=c(m.exports.useState(e.ns[0]),2),L=M[0],A=M[1],I=c(m.exports.useState([]),2),j=I[0],_=I[1],N="tgpat"===jd(e.uiProps.apiKey),$=tp(e.uiProps),F=$.screenshots,z=$.setScreenshots,D=$.screenshotDetail,B=$.setScreenshotDetail,W=$.screenshotsUploading,U=$.takingScreenshot,V=$.handleRemoveScreenshot,q=$.handleUploadImages,H=$.deleteImages,K=$.canTakeScreenshots,G=$.error,Q=i($,["screenshots","setScreenshots","screenshotDetail","setScreenshotDetail","screenshotsUploading","takingScreenshot","handleRemoveScreenshot","handleUploadImages","deleteImages","canTakeScreenshots","error"]),Y=Wd({url:"/v2/api-keys/current",method:"get",options:{enabled:!N}}),X=Wd({url:"/v2/projects/languages",method:"get",options:{onSuccess:function(e){var t,n,r,o,a=(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=Kd().filter((function(e){return r.includes(e)})),0===o.length&&(o=r),o.slice(0,5));ne(a),Gd(a)}}}),Z=Ud({url:"/v2/projects/keys/create",method:"post"}),J=m.exports.useMemo((function(){var e,t,n,r;return n=null===(t=null===(e=X.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?d([r],c((n||[]).filter((function(e){return e!==r}))),!1):n}),[X.data]),ee=c(m.exports.useState(Kd()),2),te=ee[0],ne=ee[1],re=Wd({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,o,i={},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=c(e,2),n=t[0],r=t[1];i[n]=r.text||""})),O(i),_((null===(r=null==l?void 0:l.keyTags)||void 0===r?void 0:r.map((function(e){return e.name})))||[]),z((null===(o=null==l?void 0:l.screenshots)||void 0===o?void 0:o.map((function(e){return a(a({},e),{justUploaded:!1})})))||[])}}}),oe=m.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]),ae=Ud({url:"/v2/projects/keys/{id}/complex-update",method:"put"}),ie=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===(o=Y.data)||void 0===o?void 0:o.projectId)?"".concat(e.uiProps.apiUrl,"/projects/").concat(null===(u=Y.data)||void 0===u?void 0:u.projectId,"/translations/single?key=").concat(e.keyName).concat(void 0!==L?"&ns=".concat(L):""):void 0,se=c(m.exports.useState(void 0),2),ue=se[0],ce=se[1],de=c(m.exports.useState(!1),2),pe=de[0],fe=de[1],he=null===(p=Y.data)||void 0===p?void 0:p.permittedLanguageIds;function me(){if(D)B(null);else{e.onClose(),fe(!1);var t=ge();t.length&&H(t),z([])}}m.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 ge=function(){return F.filter((function(e){return e.justUploaded})).map((function(e){return e.id}))},ve=function(){var e;return(null===(e=null==ie?void 0:ie.screenshots)||void 0===e?void 0:e.map((function(e){return e.id})).filter((function(e){return!F.find((function(t){return t.id===e}))})))||[]};m.exports.useEffect((function(){var t;if(e.defaultValue&&J&&te&&C){var n=J.find((function(e){return e.base}));if(n&&te.includes(n.tag)&&!R){var r=void 0!==(null==ie?void 0:ie.translations[n.tag]);C[n.tag]||r||O(a(a({},C),((t={})[n.tag]=e.defaultValue,t)))}}}),[J,C,te,e.defaultValue]);var ye,be,xe=null==J?void 0:J.find((function(e){return e.base})),we=X.isFetching||re.isLoading&&!re.data||Y.isFetching,ke=ae.isLoading||Z.isLoading,Se=X.error||re.error||Y.error||Z.error||ae.error||G,Ee=null===(f=Y.data)||void 0===f?void 0:f.scopes,Ce=!N&&(we||((null===(v=null===(g=null===(h=re.data)||void 0===h?void 0:h._embedded)||void 0===g?void 0:g.keys)||void 0===v?void 0:v.length)?!Hd("translations.edit",Ee):!Hd("keys.edit",Ee))),Oe=!Ce&&Hd("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:L,loading:we,saving:ke,success:k,error:Se,availableLanguages:J,selectedLanguages:(ye=te,be=null==xe?void 0:xe.tag,be&&ye.includes(be)?d([be],c(ye.filter((function(e){return e!==be}))),!1):ye),formDisabled:Ce,translations:ie,translationsForm:C,container:ue,useBrowserWindow:pe,canTakeScreenshots:K,takingScreenshot:U,screenshotsUploading:W,screenshots:F,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(a(a({},C),((n={})[e]=t,n)))},handleUploadImages:q,handleTakeScreenshot:function(){Q.handleTakeScreenshot(e.keyName,L,C)},handleRemoveScreenshot:V,onSave:function(){return l(this,void 0,void 0,(function(){var t,n;return s(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=c(e,2),r=n[0],o=n[1];Oc(r,he,J)&&(t[r]=o)})),void 0!==ie?[3,2]:[4,Z.mutateAsync({content:{"application/json":{name:e.keyName,namespace:L||void 0,translations:t,screenshotUploadedImageIds:F.map((function(e){return e.id})),tags:j}}})];case 1:return r.sent(),[3,4];case 2:return[4,ae.mutateAsync({content:{"application/json":{name:e.keyName,namespace:L||void 0,translations:t,screenshotIdsToDelete:ve(),screenshotUploadedImageIds:ge(),tags:j}},path:{id:ie.keyId}})];case 3:r.sent(),r.label=4;case 4:return Qd(e.keyName,L,Object.entries(t),e.uiProps.changeTranslation),re.refetch(),S(!0),pe?[4,wc(2e3)]:[3,6];case 5:return r.sent(),S(!1),[3,8];case 6:return[4,wc(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),Gd(e))},setContainer:ce,setUseBrowserWindow:fe,setScreenshotDetail:B,setSelectedNs:A,setTags:_};return[Re,Te]},Jd=function(e){const t=m.exports.createContext({[kc]:{v:{current:e},n:{current:-1},l:new Set,u:e=>e()}});var n;return t[Sc]=t.Provider,t.Provider=(n=t.Provider,({value:e,children:t})=>{const r=m.exports.useRef(e),o=m.exports.useRef(0),[a,i]=m.exports.useState(null);a&&(a(e),i(null));const l=m.exports.useRef();if(!l.current){const e=new Set,t=(t,n)=>{ee.exports.unstable_batchedUpdates((()=>{o.current+=1;const r={n:o.current};null!=n&&n.suspense&&(r.n*=-1,r.p=new Promise((e=>{i((()=>t=>{r.v=t,delete r.p,e(t)}))}))),e.forEach((e=>e(r))),t()}))};l.current={[kc]:{v:r,n:o,l:e,u:t}}}return Ec((()=>{r.current=e,o.current+=1,Cc((()=>{l.current[kc].l.forEach((t=>{t({n:o.current,v:e})}))}))}),[e]),m.exports.createElement(n,{value:l.current},t)}),delete t.Consumer,t}(null),ep=Z.createContext(null),[function(e){var t=e.children,n=i(e,["children"]),r=c(Zd(n),2),o=r[0],a=r[1],l=m.exports.useRef(a);l.current=a;var s=m.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,d([e],c(r),!1))}})),e}),[l]);return Z.createElement(Jd.Provider,{value:o},Z.createElement(ep.Provider,{value:s},t))},function(){return Z.useContext(ep)},function(e){return function(e,t){const n=m.exports.useContext(e)[kc],{v:{current:r},n:{current:o},l:a}=n,i=t(r),[l,s]=m.exports.useReducer(((e,n)=>{if(!n)return[r,i];if("p"in n)throw n.p;if(n.n===o)return Object.is(e[1],i)?e:[r,i];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,i]);return Object.is(l[1],i)||s(),Ec((()=>(a.add(s),()=>{a.delete(s)})),[a]),l[1]}(Jd,e)}]),3),Xd[0]),rp=Xd[1],op=Xd[2];function ap(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[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 lp={exports:{}};function sp(){}function up(){}up.resetWarningCache=sp;function cp(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=cp(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function dp(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=cp(e))&&(r&&(r+=" "),r+=t);return r}function pp(){return pp=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},pp.apply(this,arguments)}function fp(e){return"string"==typeof e}function hp(e,t={},n){return fp(e)?t:pp({},t,{ownerState:pp({},t.ownerState,n)})}function mp(e,t){return"function"==typeof e?e(t):e}function gp(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function vp(e,t){return()=>null}function yp(){return yp=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},yp.apply(this,arguments)}function bp(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function xp(e,t,n={clone:!0}){const r=n.clone?yp({},e):e;return bp(e)&&bp(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(bp(t[o])&&o in e&&bp(e[o])?r[o]=xp(e[o],t[o],n):r[o]=t[o])})),r}lp.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=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 i.name="Invariant Violation",i}}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:up,resetWarningCache:sp};return n.PropTypes=n,n}();const wp=(lp.exports.element,()=>null);wp.isRequired=(lp.exports.element.isRequired,()=>null);var kp=(lp.exports.elementType,()=>null);function Sp(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 Ep,Cp={exports:{}},Op={},Pp=Symbol.for("react.element"),Rp=Symbol.for("react.portal"),Tp=Symbol.for("react.fragment"),Mp=Symbol.for("react.strict_mode"),Lp=Symbol.for("react.profiler"),Ap=Symbol.for("react.provider"),Ip=Symbol.for("react.context"),jp=Symbol.for("react.server_context"),_p=Symbol.for("react.forward_ref"),Np=Symbol.for("react.suspense"),$p=Symbol.for("react.suspense_list"),Fp=Symbol.for("react.memo"),zp=Symbol.for("react.lazy"),Dp=Symbol.for("react.offscreen");function Bp(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Pp:switch(e=e.type){case Tp:case Lp:case Mp:case Np:case $p:return e;default:switch(e=e&&e.$$typeof){case jp:case Ip:case _p:case zp:case Fp:case Ap:return e;default:return t}}case Rp:return t}}}Ep=Symbol.for("react.module.reference"),Op.ContextConsumer=Ip,Op.ContextProvider=Ap,Op.Element=Pp,Op.ForwardRef=_p,Op.Fragment=Tp,Op.Lazy=zp,Op.Memo=Fp,Op.Portal=Rp,Op.Profiler=Lp,Op.StrictMode=Mp,Op.Suspense=Np,Op.SuspenseList=$p,Op.isAsyncMode=function(){return!1},Op.isConcurrentMode=function(){return!1},Op.isContextConsumer=function(e){return Bp(e)===Ip},Op.isContextProvider=function(e){return Bp(e)===Ap},Op.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Pp},Op.isForwardRef=function(e){return Bp(e)===_p},Op.isFragment=function(e){return Bp(e)===Tp},Op.isLazy=function(e){return Bp(e)===zp},Op.isMemo=function(e){return Bp(e)===Fp},Op.isPortal=function(e){return Bp(e)===Rp},Op.isProfiler=function(e){return Bp(e)===Lp},Op.isStrictMode=function(e){return Bp(e)===Mp},Op.isSuspense=function(e){return Bp(e)===Np},Op.isSuspenseList=function(e){return Bp(e)===$p},Op.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Tp||e===Lp||e===Mp||e===Np||e===$p||e===Dp||"object"==typeof e&&null!==e&&(e.$$typeof===zp||e.$$typeof===Fp||e.$$typeof===Ap||e.$$typeof===Ip||e.$$typeof===_p||e.$$typeof===Ep||void 0!==e.getModuleId)},Op.typeOf=Bp,Cp.exports=Op;const Wp=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Up(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(Wp);return t&&t[1]||""}(e)||t}function Vp(e,t,n){const r=Up(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var qp="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();const Hp=lp.exports.oneOfType([lp.exports.func,lp.exports.object]);function Kp(e){if("string"!=typeof e)throw new Error(Sp(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Gp(...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 Yp(e,t){return()=>null}function Xp(e,t){return m.exports.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function Zp(e){return e&&e.ownerDocument||document}function Jp(e){return Zp(e).defaultView||window}function ef(e,t){return()=>null}function tf(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const nf="undefined"!=typeof window?m.exports.useLayoutEffect:m.exports.useEffect;let rf=0;const of=J.useId;function af(e){if(void 0!==of){const t=of();return null!=e?e:t}return function(e){const[t,n]=m.exports.useState(e),r=e||t;return m.exports.useEffect((()=>{null==t&&(rf+=1,n(`mui-${rf}`))}),[t]),r}(e)}function lf(e,t,n,r,o){return null}function sf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=m.exports.useRef(void 0!==e),[a,i]=m.exports.useState(t);return[o?e:a,m.exports.useCallback((e=>{o||i(e)}),[])]}function uf(e){const t=m.exports.useRef(e);return nf((()=>{t.current=e})),m.exports.useCallback(((...e)=>(0,t.current)(...e)),[])}function cf(e,t){return m.exports.useMemo((()=>null==e&&null==t?null:n=>{tf(e,n),tf(t,n)}),[e,t])}let df,pf=!0,ff=!1;const hf={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 mf(e){e.metaKey||e.altKey||e.ctrlKey||(pf=!0)}function gf(){pf=!1}function vf(){"hidden"===this.visibilityState&&ff&&(pf=!0)}function yf(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return pf||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!hf[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function bf(){const e=m.exports.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",mf,!0),t.addEventListener("mousedown",gf,!0),t.addEventListener("pointerdown",gf,!0),t.addEventListener("touchstart",gf,!0),t.addEventListener("visibilitychange",vf,!0))}),[]),t=m.exports.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!yf(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(ff=!0,window.clearTimeout(df),df=window.setTimeout((()=>{ff=!1}),100),t.current=!1,!0)},ref:e}}function xf(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let wf;function kf(){if(wf)return wf;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),wf="reverse",e.scrollLeft>0?wf="default":(e.scrollLeft=1,0===e.scrollLeft&&(wf="negative")),document.body.removeChild(e),wf}function Sf(){return null}Sf.isRequired=Sf;var Ef=Sf;function Cf(e,t){const n=yp({},t);return Object.keys(e).forEach((t=>{void 0===n[t]&&(n[t]=e[t])})),n}function Of(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 Pf=e=>e,Rf=(()=>{let e=Pf;return{configure(t){e=t},generate:t=>e(t),reset(){e=Pf}}})(),Tf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Mf(e,t,n="Mui"){const r=Tf[t];return r?`${n}-${r}`:`${Rf.generate(e)}-${t}`}function Lf(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Mf(e,t,n)})),r}var Af=Object.freeze({__proto__:null,chainPropTypes:vp,deepmerge:xp,isPlainObject:bp,elementAcceptingRef:wp,elementTypeAcceptingRef:kp,exactProp:function(e){return e},formatMuiErrorMessage:Sp,getDisplayName:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Up(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Cp.exports.ForwardRef:return Vp(e,e.render,"ForwardRef");case Cp.exports.Memo:return Vp(e,e.type,"memo");default:return}}},HTMLElementType:function(e,t,n,r,o){return null},ponyfillGlobal:qp,refType:Hp,unstable_capitalize:Kp,unstable_createChainedFunction:Gp,unstable_debounce:Qp,unstable_deprecatedPropType:Yp,unstable_isMuiElement:Xp,unstable_ownerDocument:Zp,unstable_ownerWindow:Jp,unstable_requirePropFactory:ef,unstable_setRef:tf,unstable_useEnhancedEffect:nf,unstable_useId:af,unstable_unsupportedProp:lf,unstable_useControlled:sf,unstable_useEventCallback:uf,unstable_useForkRef:cf,unstable_useIsFocusVisible:bf,unstable_getScrollbarSize:xf,unstable_detectScrollType:kf,unstable_getNormalizedScrollLeft:function(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(kf()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}},usePreviousProps:e=>{const t=m.exports.useRef({});return m.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:Ef,internal_resolveProps:Cf,unstable_composeClasses:Of,unstable_generateUtilityClass:Mf,unstable_generateUtilityClasses:Lf,unstable_ClassNameGenerator:Rf});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 jf(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=dp(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=pp({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=pp({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=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}(pp({},o,r)),l=If(r),s=If(o),u=t(i),c=dp(null==u?void 0:u.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=pp({},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=pp({},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 _f=["elementType","externalSlotProps","ownerState"];function Nf(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=gp(e,_f),i=mp(r,o),{props:l,internalRef:s}=jf(pp({},a,{externalSlotProps:i}));return hp(n,pp({},l,{ref:cf(s,cf(null==i?void 0:i.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 Ff(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:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let u=i?l.trim():l;n&&(u=u.toLowerCase()),t&&(u=$f(u));const c=u?e.filter((e=>{let r=(a||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 Df(e){const{autoComplete:t=!1,autoHighlight:n=!1,autoSelect:r=!1,blurOnSelect:o=!1,clearOnBlur:a=!e.freeSolo,clearOnEscape:i=!1,componentName:l="useAutocomplete",defaultValue:s=(e.multiple?[]:null),disableClearable:u=!1,disableCloseOnSelect:c=!1,disabled:d,disabledItemsFocusable:p=!1,disableListWrap:f=!1,filterOptions:h=zf,filterSelectedOptions:g=!1,freeSolo:v=!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:L,open:A,openOnFocus:I=!1,options:j,readOnly:_=!1,selectOnFocus:N=!e.freeSolo,value:$}=e,F=af(k);let z=b;z=e=>{const t=b(e);return"string"!=typeof t?String(t):t};const D=m.exports.useRef(!1),B=m.exports.useRef(!0),W=m.exports.useRef(null),U=m.exports.useRef(null),[V,q]=m.exports.useState(null),[H,K]=m.exports.useState(-1),G=n?0:-1,Q=m.exports.useRef(G),[Y,X]=sf({controlled:$,default:s,name:l}),[Z,J]=sf({controlled:E,default:"",name:l,state:"inputValue"}),[ee,te]=m.exports.useState(!1),ne=m.exports.useCallback(((e,t)=>{if(!(O?Y.length<t.length:null!==t)&&!a)return;let n;if(O)n="";else if(null==t)n="";else{const e=z(t);n="string"==typeof e?e:""}Z!==n&&(J(n),M&&M(e,n,"reset"))}),[z,Z,O,M,J,a,Y]),re=m.exports.useRef();m.exports.useEffect((()=>{const e=Y!==re.current;re.current=Y,ee&&!e||v&&!e||ne(null,Y)}),[Y,ne,ee,re,v]);const[oe,ae]=sf({controlled:A,default:!1,name:l,state:"open"}),[ie,le]=m.exports.useState(!0),se=!O&&null!=Y&&Z===z(Y),ue=oe&&!_,ce=ue?h(j.filter((e=>!g||!(O?Y:[Y]).some((t=>null!==t&&C(e,t))))),{inputValue:se&&ie?"":Z,getOptionLabel:z}):[],de=oe&&ce.length>0&&!_,pe=uf((e=>{-1===e?W.current.focus():V.querySelector(`[data-tag-index="${e}"]`).focus()}));m.exports.useEffect((()=>{O&&H>Y.length-1&&(K(-1),pe(-1))}),[Y,O,H,pe]);const fe=uf((({event:e,index:t,reason:n="auto"})=>{if(Q.current=t,-1===t?W.current.removeAttribute("aria-activedescendant"):W.current.setAttribute("aria-activedescendant",`${F}-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 a=U.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add("Mui-focused"),"keyboard"===n&&a.classList.add("Mui-focusVisible"),o.scrollHeight>o.clientHeight&&"mouse"!==n)){const e=a,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=uf((({event:e,diff:n,direction:r="next",reason:o="auto"})=>{if(!ue)return;const a=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 G;if("start"===n)return 0;if("end"===n)return e;const t=Q.current+n;return t<0?-1===t&&S?-1:f&&-1!==Q.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:a,reason:o,event:e}),t&&"reset"!==n)if(-1===a)W.current.value=Z;else{const e=z(ce[a]);W.current.value=e;0===e.toLowerCase().indexOf(Z.toLowerCase())&&Z.length>0&&W.current.setSelectionRange(Z.length,e.length)}})),me=m.exports.useCallback((()=>{if(!ue)return;const e=O?Y[0]:Y;if(0!==ce.length&&null!=e){if(U.current)if(null==e)Q.current>=ce.length-1?fe({index:ce.length-1}):fe({index:Q.current});else{const t=ce[Q.current];if(O&&t&&-1!==Ff(Y,(e=>C(t,e))))return;const n=Ff(ce,(t=>C(t,e)));-1===n?he({diff:"reset"}):fe({index:n})}}else he({diff:"reset"})}),[ce.length,!O&&Y,g,he,fe,ue,Z,O]),ge=uf((e=>{tf(U,e),e&&me()}));m.exports.useEffect((()=>{me()}),[me]);const ve=e=>{oe||(ae(!0),le(!0),L&&L(e))},ye=(e,t)=>{oe&&(ae(!1),R&&R(e,t))},be=(e,t,n,r)=>{if(O){if(Y.length===t.length&&Y.every(((e,n)=>e===t[n])))return}else if(Y===t)return;P&&P(e,t,n,r),X(t)},xe=m.exports.useRef(!1),we=(e,t,n="selectOption",r="options")=>{let a=n,i=t;if(O){i=Array.isArray(Y)?Y.slice():[];const e=Ff(i,(e=>C(t,e)));-1===e?i.push(t):"freeSolo"!==r&&(i.splice(e,1),a="removeOption")}ne(e,i),be(e,i,a,{option:t}),c||e&&(e.ctrlKey||e.metaKey)||ye(e,a),(!0===o||"touch"===o&&xe.current||"mouse"===o&&!xe.current)&&W.current.blur()};const ke=(e,t)=>{if(!O)return;""===Z&&ye(e,"toggleInput");let n=H;-1===H?""===Z&&"previous"===t&&(n=Y.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===Y.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===Y.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,J(""),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}),ve(n);break;case"PageDown":n.preventDefault(),he({diff:5,direction:"next",reason:"keyboard",event:n}),ve(n);break;case"ArrowDown":n.preventDefault(),he({diff:1,direction:"next",reason:"keyboard",event:n}),ve(n);break;case"ArrowUp":n.preventDefault(),he({diff:-1,direction:"previous",reason:"keyboard",event:n}),ve(n);break;case"ArrowLeft":ke(n,"previous");break;case"ArrowRight":ke(n,"next");break;case"Enter":if(-1!==Q.current&&ue){const e=ce[Q.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 v&&""!==Z&&!1===se&&(O&&n.preventDefault(),we(n,Z,"createOption","freeSolo"));break;case"Escape":ue?(n.preventDefault(),n.stopPropagation(),ye(n,"escape")):i&&(""!==Z||O&&Y.length>0)&&(n.preventDefault(),n.stopPropagation(),Se(n));break;case"Backspace":if(O&&!_&&""===Z&&Y.length>0){const e=-1===H?Y.length-1:H,t=Y.slice();t.splice(e,1),be(n,t,"removeOption",{option:Y[e]})}}},Ce=e=>{te(!0),I&&!D.current&&ve(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!==Q.current&&ue?we(e,ce[Q.current],"blur"):r&&v&&""!==Z?we(e,Z,"blur","freeSolo"):a&&ne(e,Y),ye(e,"blur"))},Pe=e=>{const t=e.target.value;Z!==t&&(J(t),le(!1),M&&M(e,t,"input")),""===t?u||O||be(e,null,"clear"):ve(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},Le=e=>t=>{const n=Y.slice();n.splice(e,1),be(t,n,"removeOption",{option:Y[e]})},Ae=e=>{oe?ye(e,"toggleInput"):ve(e)},Ie=e=>{e.target.getAttribute("id")!==F&&e.preventDefault()},je=()=>{W.current.focus(),N&&B.current&&W.current.selectionEnd-W.current.selectionStart==0&&W.current.select(),B.current=!1},_e=e=>{""!==Z&&oe||Ae(e)};let Ne=v&&Z.length>0;Ne=Ne||(O?Y.length>0:null!==Y);let $e=ce;return x&&($e=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={})=>pp({"aria-owns":de?`${F}-listbox`:null},e,{onKeyDown:Ee(e),onMouseDown:Ie,onClick:je}),getInputLabelProps:()=>({id:`${F}-label`,htmlFor:F}),getInputProps:()=>({id:F,value:Z,onBlur:Oe,onFocus:Ce,onChange:Pe,onMouseDown:_e,"aria-activedescendant":ue?"":null,"aria-autocomplete":t?"both":"list","aria-controls":de?`${F}-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:Ae}),getTagProps:({index:e})=>pp({key:e,"data-tag-index":e,tabIndex:-1},!_&&{onDelete:Le(e)}),getListboxProps:()=>({role:"listbox",id:`${F}-listbox`,"aria-labelledby":`${F}-label`,ref:ge,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const n=(O?Y:[Y]).some((e=>null!=e&&C(t,e))),r=!!y&&y(t);return{key:z(t),tabIndex:-1,role:"option",id:`${F}-option-${e}`,onMouseOver:Re,onClick:Me,onTouchStart:Te,"data-option-index":e,"aria-disabled":r,"aria-selected":n}},id:F,inputValue:Z,value:Y,dirty:Ne,popupOpen:ue,focused:ee||-1!==H,anchorEl:V,setAnchorEl:q,focusedTag:H,groupedOptions:$e}}var Bf={exports:{}},Wf={},Uf=m.exports,Vf=60103;if(Wf.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var qf=Symbol.for;Vf=qf("react.element"),Wf.Fragment=qf("react.fragment")}var Hf=Uf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Kf=Object.prototype.hasOwnProperty,Gf={key:!0,ref:!0,__self:!0,__source:!0};function Qf(e,t,n){var r,o={},a=null,i=null;for(r in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)Kf.call(t,r)&&!Gf.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:Vf,type:e,key:a,ref:i,props:o,_owner:Hf.current}}Wf.jsx=Qf,Wf.jsxs=Qf,Bf.exports=Wf;const Yf=["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(Yf)).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 Zf(){return!0}function Jf(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=Xf,isEnabled:i=Zf,open:l}=e,s=m.exports.useRef(),u=m.exports.useRef(null),c=m.exports.useRef(null),d=m.exports.useRef(null),p=m.exports.useRef(null),f=m.exports.useRef(!1),h=m.exports.useRef(null),g=cf(t.ref,h),v=m.exports.useRef(null);m.exports.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),m.exports.useEffect((()=>{if(!l||!h.current)return;const e=Zp(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex",-1),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),m.exports.useEffect((()=>{if(!l||!h.current)return;const e=Zp(h.current),t=t=>{const{current:n}=h;if(null!==n)if(e.hasFocus()&&!r&&i()&&!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=a(h.current)),r.length>0){var o,l;const e=Boolean((null==(o=v.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=v.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=>{v.current=t,!r&&i()&&"Tab"===t.key&&e.activeElement===h.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,i,l,a]);const y=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Bf.exports.jsxs(m.exports.Fragment,{children:[Bf.exports.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),m.exports.cloneElement(t,{ref:g,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),Bf.exports.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}var eh="top",th="bottom",nh="right",rh="left",oh=[eh,th,nh,rh],ah=oh.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),ih=[].concat(oh,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),lh=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function sh(e){return e?(e.nodeName||"").toLowerCase():null}function uh(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ch(e){return e instanceof uh(e).Element||e instanceof Element}function dh(e){return e instanceof uh(e).HTMLElement||e instanceof HTMLElement}function ph(e){return"undefined"!=typeof ShadowRoot&&(e instanceof uh(e).ShadowRoot||e instanceof ShadowRoot)}var fh={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];dh(o)&&sh(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]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});dh(r)&&sh(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function hh(e){return e.split("-")[0]}var mh=Math.max,gh=Math.min,vh=Math.round;function yh(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function bh(){return!/^((?!chrome|android).)*safari/i.test(yh())}function xh(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&dh(e)&&(o=e.offsetWidth>0&&vh(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&vh(r.height)/e.offsetHeight||1);var i=(ch(e)?uh(e):window).visualViewport,l=!bh()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,u=(r.top+(l&&i?i.offsetTop:0))/a,c=r.width/o,d=r.height/a;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function wh(e){var t=xh(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 kh(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ph(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Sh(e){return uh(e).getComputedStyle(e)}function Eh(e){return["table","td","th"].indexOf(sh(e))>=0}function Ch(e){return((ch(e)?e.ownerDocument:e.document)||window.document).documentElement}function Oh(e){return"html"===sh(e)?e:e.assignedSlot||e.parentNode||(ph(e)?e.host:null)||Ch(e)}function Ph(e){return dh(e)&&"fixed"!==Sh(e).position?e.offsetParent:null}function Rh(e){for(var t=uh(e),n=Ph(e);n&&Eh(n)&&"static"===Sh(n).position;)n=Ph(n);return n&&("html"===sh(n)||"body"===sh(n)&&"static"===Sh(n).position)?t:n||function(e){var t=/firefox/i.test(yh());if(/Trident/i.test(yh())&&dh(e)&&"fixed"===Sh(e).position)return null;var n=Oh(e);for(ph(n)&&(n=n.host);dh(n)&&["html","body"].indexOf(sh(n))<0;){var r=Sh(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 Th(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Mh(e,t,n){return mh(e,gh(t,n))}function Lh(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,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=hh(n.placement),s=Th(l),u=[rh,nh].indexOf(l)>=0?"height":"width";if(a&&i){var c=function(e,t){return Lh("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ah(e,oh))}(o.padding,n),d=wh(a),p="y"===s?eh:rh,f="y"===s?th:nh,h=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],m=i[s]-n.rects.reference[s],g=Rh(a),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=c[p],x=v-d[u]-c[f],w=v/2-d[u]/2+y,k=Mh(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)))&&kh(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function jh(e){return e.split("-")[1]}var _h={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Nh(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,h=i.y,m=void 0===h?0:h,g="function"==typeof c?c({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=rh,x=eh,w=window;if(u){var k=Rh(n),S="clientHeight",E="clientWidth";if(k===uh(n)&&"static"!==Sh(k=Ch(n)).position&&"absolute"===l&&(S="scrollHeight",E="scrollWidth"),o===eh||(o===rh||o===nh)&&"end"===a)x=th,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-r.height,m*=s?1:-1;if(o===rh||(o===eh||o===th)&&"end"===a)b=nh,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&&_h),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]=v?"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]=v?f+"px":"",t.transform="",t))}var $h={passive:!0};var Fh={left:"right",right:"left",bottom:"top",top:"bottom"};function zh(e){return e.replace(/left|right|bottom|top/g,(function(e){return Fh[e]}))}var Dh={start:"end",end:"start"};function Bh(e){return e.replace(/start|end/g,(function(e){return Dh[e]}))}function Wh(e){var t=uh(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Uh(e){return xh(Ch(e)).left+Wh(e).scrollLeft}function Vh(e){var t=Sh(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function qh(e){return["html","body","#document"].indexOf(sh(e))>=0?e.ownerDocument.body:dh(e)&&Vh(e)?e:qh(Oh(e))}function Hh(e,t){var n;void 0===t&&(t=[]);var r=qh(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=uh(r),i=o?[a].concat(a.visualViewport||[],Vh(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(Hh(Oh(i)))}function Kh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Gh(e,t,n){return"viewport"===t?Kh(function(e,t){var n=uh(e),r=Ch(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var u=bh();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+Uh(e),y:s}}(e,n)):ch(t)?function(e,t){var n=xh(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):Kh(function(e){var t,n=Ch(e),r=Wh(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=mh(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=mh(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Uh(e),s=-r.scrollTop;return"rtl"===Sh(o||n).direction&&(l+=mh(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Ch(e)))}function Qh(e,t,n,r){var o="clippingParents"===t?function(e){var t=Hh(Oh(e)),n=["absolute","fixed"].indexOf(Sh(e).position)>=0&&dh(e)?Rh(e):e;return ch(n)?t.filter((function(e){return ch(e)&&kh(e,n)&&"body"!==sh(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=Gh(e,n,r);return t.top=mh(o.top,t.top),t.right=gh(o.right,t.right),t.bottom=gh(o.bottom,t.bottom),t.left=mh(o.left,t.left),t}),Gh(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Yh(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?hh(o):null,i=o?jh(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case eh:t={x:l,y:n.y-r.height};break;case th:t={x:l,y:n.y+n.height};break;case nh:t={x:n.x+n.width,y:s};break;case rh:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=a?Th(a):null;if(null!=u){var c="y"===u?"height":"width";switch(i){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,a=n.strategy,i=void 0===a?e.strategy:a,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,g=void 0===m?0:m,v=Lh("number"!=typeof g?g:Ah(g,oh)),y="popper"===p?"reference":"popper",b=e.rects.popper,x=e.elements[h?y:p],w=Qh(ch(x)?x:x.contextElement||Ch(e.elements.popper),s,c,i),k=xh(e.elements.reference),S=Yh({reference:k,element:b,strategy:"absolute",placement:o}),E=Kh(Object.assign({},b,S)),C="popper"===p?E:k,O={top:w.top-C.top+v.top,bottom:C.bottom-w.bottom+v.bottom,left:w.left-C.left+v.left,right:C.right-w.right+v.right},P=e.modifiersData.offset;if("popper"===p&&P){var R=P[o];Object.keys(O).forEach((function(e){var t=[nh,th].indexOf(e)>=0?1:-1,n=[eh,th].indexOf(e)>=0?"y":"x";O[e]+=R[n]*t}))}return O}function Zh(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?ih:s,c=jh(r),d=c?l?ah:ah.filter((function(e){return jh(e)===c})):oh,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:a,padding:i})[hh(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,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,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,g=t.options.placement,v=hh(g),y=s||(v===g||!h?[zh(g)]:function(e){if("auto"===hh(e))return[];var t=zh(e);return[Bh(e),t,Bh(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat("auto"===hh(n)?Zh(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=hh(O),R="start"===jh(O),T=[eh,th].indexOf(P)>=0,M=T?"width":"height",L=Xh(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),A=T?R?nh:rh:R?th:eh;x[M]>w[M]&&(A=zh(A));var I=zh(A),j=[];if(a&&j.push(L[P]<=0),l&&j.push(L[A]<=0,L[I]<=0),j.every((function(e){return e}))){E=O,S=!1;break}k.set(O,j)}if(S)for(var _=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"},N=h?3:1;N>0;N--){if("break"===_(N))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function em(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 tm(e){return[eh,nh,th,rh].some((function(t){return e[t]>=0}))}var nm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=ih.reduce((function(e,n){return e[n]=function(e,t,n){var r=hh(e),o=[rh,eh].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[rh,nh].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[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]=i}};var rm={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,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,g=Xh(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),v=hh(t.placement),y=jh(t.placement),b=!y,x=Th(v),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(a){var T,M="y"===x?eh:rh,L="y"===x?th:nh,A="y"===x?"height":"width",I=k[x],j=I+g[M],_=I-g[L],N=f?-E[A]/2:0,$="start"===y?S[A]:E[A],F="start"===y?-E[A]:-S[A],z=t.elements.arrow,D=f&&z?wh(z):{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[L],V=Mh(0,S[A],D[A]),q=b?S[A]/2-N-V-W-O.mainAxis:$-V-W-O.mainAxis,H=b?-S[A]/2+N+V+U+O.mainAxis:F+V+U+O.mainAxis,K=t.elements.arrow&&Rh(t.elements.arrow),G=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,Q=null!=(T=null==P?void 0:P[x])?T:0,Y=I+H-Q,X=Mh(f?gh(j,I+q-Q-G):j,I,f?mh(_,Y):_);k[x]=X,R[x]=X-I}if(l){var Z,J="x"===x?eh:rh,ee="x"===x?th:nh,te=k[w],ne="y"===w?"height":"width",re=te+g[J],oe=te-g[ee],ae=-1!==[eh,rh].indexOf(v),ie=null!=(Z=null==P?void 0:P[w])?Z:0,le=ae?re:te-S[ne]-E[ne]-ie+O.altAxis,se=ae?te+S[ne]+E[ne]-ie-O.altAxis:oe,ue=f&&ae?function(e,t,n){var r=Mh(e,t,n);return r>n?n:r}(le,te,se):Mh(f?le:re,te,f?se:oe);k[w]=ue,R[w]=ue-te}t.modifiersData[r]=R}},requiresIfExists:["offset"]};function om(e,t,n){void 0===n&&(n=!1);var r,o,a=dh(t),i=dh(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=Ch(t),s=xh(e,i,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!n)&&(("body"!==sh(t)||Vh(l))&&(u=(r=t)!==uh(r)&&dh(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Wh(r)),dh(t)?((c=xh(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):l&&(c.x=Uh(l))),{x:s.left+u.scrollLeft-c.x,y:s.top+u.scrollTop-c.y,width:s.width,height:s.height}}function am(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 lm(){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 sm(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?im:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},im,a),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({},a,l.options,o),l.scrollParents={reference:ch(e)?Hh(e):e.contextElement?Hh(e.contextElement):[],popper:Hh(t)};var i,u,p=function(e){var t=am(e);return lh.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),u=i.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 a=o({state:l,name:t,instance:c,options:r}),i=function(){};s.push(a||i)}})),c.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(lm(t,n)){l.rects={reference:om(t,Rh(n),"fixed"===l.options.strategy),popper:wh(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],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({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 i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),u=!0}};if(!lm(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 um=sm({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,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=uh(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,$h)})),l&&s.addEventListener("resize",n.update,$h),function(){a&&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]=Yh({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,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,u={placement:hh(t.placement),variation:jh(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,Nh(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Nh(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:{}},fh,nm,Jh,rm,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,a=t.modifiersData.preventOverflow,i=Xh(t,{elementContext:"reference"}),l=Xh(t,{altBoundary:!0}),s=em(i,r),u=em(l,o,a),c=tm(s),d=tm(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 cm=m.exports.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[a,i]=m.exports.useState(null),l=cf(m.exports.isValidElement(n)?n.ref:null,t);return nf((()=>{o||i(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),nf((()=>{if(a&&!o)return tf(t,a),()=>{tf(t,null)}}),[t,a,o]),o?m.exports.isValidElement(n)?m.exports.cloneElement(n,{ref:l}):n:Bf.exports.jsx(m.exports.Fragment,{children:a?ee.exports.createPortal(n,a):a})}));function dm(e){return Mf("MuiPopperUnstyled",e)}Lf("MuiPopperUnstyled",["root"]);const pm=["anchorEl","children","component","components","componentsProps","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],fm=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function hm(e){return"function"==typeof e?e():e}const mm={},gm=m.exports.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,component:a,components:i={},componentsProps:l={},direction:s,disablePortal:u,modifiers:c,open:d,ownerState:p,placement:f,popperOptions:h,popperRef:g,TransitionProps:v}=e,y=gp(e,pm),b=m.exports.useRef(null),x=cf(b,t),w=m.exports.useRef(null),k=cf(w,g),S=m.exports.useRef(k);nf((()=>{S.current=k}),[k]),m.exports.useImperativeHandle(g,(()=>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]=m.exports.useState(E);m.exports.useEffect((()=>{w.current&&w.current.forceUpdate()})),nf((()=>{if(!r||!d)return;hm(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)),h&&null!=h.modifiers&&(e=e.concat(h.modifiers));const t=um(hm(r),b.current,pp({placement:E},h,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[r,u,c,d,h,E]);const P={placement:C};null!==v&&(P.TransitionProps=v);const R=Of({root:["root"]},dm,{}),T=null!=(n=null!=a?a:i.Root)?n:"div",M=Nf({elementType:T,externalSlotProps:l.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:pp({},e,p),className:R.root});return Bf.exports.jsx(T,pp({},M,{children:"function"==typeof o?o(P):o}))})),vm=m.exports.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:a="ltr",disablePortal:i=!1,keepMounted:l=!1,modifiers:s,open:u,placement:c="bottom",popperOptions:d=mm,popperRef:p,style:f,transition:h=!1}=e,g=gp(e,fm),[v,y]=m.exports.useState(!0);if(!l&&!u&&(!h||v))return null;const b=o||(n?Zp(hm(n)).body:void 0);return Bf.exports.jsx(cm,{disablePortal:i,container:b,children:Bf.exports.jsx(gm,pp({anchorEl:n,direction:a,disablePortal:i,modifiers:s,ref:t,open:h?!v:u,placement:c,popperOptions:d,popperRef:p},g,{style:pp({position:"fixed",top:0,left:0,display:u||!l||h&&!v?null:"none"},f),TransitionProps:h?{in:u,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:null,children:r}))})}));var ym=vm;function bm(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function xm(e){return parseInt(Jp(e).getComputedStyle(e).paddingRight,10)||0}function wm(e,t,n,r=[],o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===a.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&&bm(e,o)}))}function km(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function Sm(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Zp(e);return t.body===e?Jp(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=xf(Zp(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${xm(r)+e}px`;const t=Zp(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${xm(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=Zp(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 Em(e){return Mf("MuiModal",e)}Lf("MuiModal",["root","hidden"]);const Cm=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"];const Om=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&&bm(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);wm(t,e.mount,e.modalRef,r,!0);const o=km(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=km(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=Sm(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=km(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&&bm(e.modalRef,t),wm(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&&bm(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};var Pm=m.exports.forwardRef((function(e,t){var n;const{children:r,classes:o,closeAfterTransition:a=!1,component:i="div",components:l={},componentsProps:s={},container:u,disableAutoFocus:c=!1,disableEnforceFocus:d=!1,disableEscapeKeyDown:p=!1,disablePortal:f=!1,disableRestoreFocus:h=!1,disableScrollLock:g=!1,hideBackdrop:v=!1,keepMounted:y=!1,manager:b=Om,onBackdropClick:x,onClose:w,onKeyDown:k,open:S,onTransitionEnter:E,onTransitionExited:C}=e,O=gp(e,Cm),[P,R]=m.exports.useState(!0),T=m.exports.useRef({}),M=m.exports.useRef(null),L=m.exports.useRef(null),A=cf(L,t),I=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),j=null==(n=e["aria-hidden"])||n,_=()=>(T.current.modalRef=L.current,T.current.mountNode=M.current,T.current),N=()=>{b.mount(_(),{disableScrollLock:g}),L.current.scrollTop=0},$=uf((()=>{const e=function(e){return"function"==typeof e?e():e}(u)||Zp(M.current).body;b.add(_(),e),L.current&&N()})),F=m.exports.useCallback((()=>b.isTopModal(_())),[b]),z=uf((e=>{M.current=e,e&&(S&&F()?N():bm(L.current,j))})),D=m.exports.useCallback((()=>{b.remove(_(),j)}),[b,j]);m.exports.useEffect((()=>()=>{D()}),[D]),m.exports.useEffect((()=>{S?$():I&&a||D()}),[S,D,I,a,$]);const B=pp({},e,{classes:o,closeAfterTransition:a,disableAutoFocus:c,disableEnforceFocus:d,disableEscapeKeyDown:p,disablePortal:f,disableRestoreFocus:h,disableScrollLock:g,exited:P,hideBackdrop:v,keepMounted:y}),W=(e=>{const{open:t,exited:n,classes:r}=e;return Of({root:["root",!t&&n&&"hidden"]},Em,r)})(B),U=()=>{R(!1),E&&E()},V=()=>{R(!0),C&&C(),a&&D()},q={};void 0===r.props.tabIndex&&(q.tabIndex="-1"),I&&(q.onEnter=Gp(U,r.props.onEnter),q.onExited=Gp(V,r.props.onExited));const H=l.Root||i,K=Nf({elementType:H,externalSlotProps:s.root,externalForwardedProps:O,additionalProps:{ref:A,role:"presentation",onKeyDown:e=>{k&&k(e),"Escape"===e.key&&F()&&(p||(e.stopPropagation(),w&&w(e,"escapeKeyDown")))}},className:W.root,ownerState:B}),G=l.Backdrop,Q=Nf({elementType:G,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||I&&!P?Bf.exports.jsx(cm,{ref:z,container:u,disablePortal:f,children:Bf.exports.jsxs(H,pp({},K,{children:[!v&&G?Bf.exports.jsx(G,pp({},Q)):null,Bf.exports.jsx(Jf,{disableEnforceFocus:d,disableAutoFocus:c,disableRestoreFocus:h,isEnabled:F,open:S,children:m.exports.cloneElement(r,q)})]}))}):null}));const Rm=["onChange","maxRows","minRows","style","value"];function Tm(e,t){return parseInt(e[t],10)||0}const Mm={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Lm(e){return null==e||0===Object.keys(e).length}const Am=m.exports.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:a,value:i}=e,l=gp(e,Rm),{current:s}=m.exports.useRef(null!=i),u=m.exports.useRef(null),c=cf(t,u),d=m.exports.useRef(null),p=m.exports.useRef(0),[f,h]=m.exports.useState({}),g=m.exports.useCallback((()=>{const t=u.current,n=Jp(t).getComputedStyle(t);if("0px"===n.width)return{};const a=d.current;a.style.width=n.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=n["box-sizing"],l=Tm(n,"padding-bottom")+Tm(n,"padding-top"),s=Tm(n,"border-bottom-width")+Tm(n,"border-top-width"),c=a.scrollHeight;a.value="x";const p=a.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"===i?l+s:0),overflow:Math.abs(f-c)<=1}}),[r,o,e.placeholder]),v=(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=m.exports.useCallback((()=>{const e=g();Lm(e)||h((t=>v(t,e)))}),[g]);m.exports.useEffect((()=>{const e=Qp((()=>{p.current=0,u.current&&(()=>{const e=g();Lm(e)||ee.exports.flushSync((()=>{h((t=>v(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()}})),nf((()=>{y()})),m.exports.useEffect((()=>{p.current=0}),[i]);return Bf.exports.jsxs(m.exports.Fragment,{children:[Bf.exports.jsx("textarea",pp({value:i,onChange:e=>{p.current=0,s||y(),n&&n(e)},ref:c,rows:o,style:pp({height:f.outerHeightStyle,overflow:f.overflow?"hidden":null},a)},l)),Bf.exports.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:pp({},Mm,a,{padding:0})})]})}));var Im=Am;function jm(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 _m=/^((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)-.*))$/,Nm=jm((function(e){return _m.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 Fm=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",a="rule",i="decl",l="@page",s="@media",u="@import",c="@charset",d="@viewport",p="@supports",f="@document",h="@namespace",m="@keyframes",g="@font-face",v="@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 L(e,t){return t.push(e),e}function A(e,t){return e.map(t).join("")}function I(t,n,r,o,a,i,l){return{value:t,root:n,parent:r,type:o,props:a,children:i,line:e.line,column:e.column,length:l,return:""}}function j(e,t){return w(I("",null,null,"",null,null,0),e,{length:-e.length},t)}function _(){return e.character}function N(){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 $(){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 F(){return P(e.characters,e.position)}function z(){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,Q(91===t?t+2:40===t?t+1:t)))}function q(e){return U(K(W(e)))}function H(t){for(;(e.character=F())&&e.character<33;)$();return B(t)>2||B(e.character)>3?"":" "}function K(t){for(;$();)switch(B(e.character)){case 0:L(X(e.position-1),t);break;case 2:L(V(e.character),t);break;default:L(x(e.character),t)}return t}function G(t,n){for(;--n&&$()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return D(t,z()+(n<6&&32==F()&&32==$()))}function Q(t){for(;$();)switch(e.character){case t:return e.position;case 34:case 39:34!==t&&39!==t&&Q(e.character);break;case 40:41===t&&Q(t);break;case 92:$()}return e.position}function Y(t,n){for(;$()&&t+e.character!==57&&(t+e.character!==84||47!==F()););return"/*"+D(n,e.position-1)+"*"+x(47===t?t:$())}function X(t){for(;!B(F());)$();return D(t,e.position)}function Z(e){return U(J("",null,null,null,[""],e=W(e),0,[0],e))}function J(e,t,n,r,o,a,i,l,s){for(var u=0,c=0,d=i,p=0,f=0,h=0,m=1,g=1,v=1,y=0,b="",w=o,k=a,S=r,E=b;g;)switch(h=y,y=$()){case 40:if(108!=h&&58==E.charCodeAt(d-1)){-1!=O(E+=C(V(y),"&","&\f"),"&\f")&&(v=-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+=G(z()-1,7);continue;case 47:switch(F()){case 42:case 47:L(te(Y($(),z()),t,n),s);break;default:E+="/"}break;case 123*m:l[u++]=T(E)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+c:f>0&&T(E)-d&&L(f>32?ne(E+";",r,n,d-1):ne(C(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if(L(S=ee(E,t,n,u,c,o,l,b,w=[],k=[],d),a),123===y)if(0===c)J(E,t,S,S,w,a,d,l,k);else switch(p){case 100:case 109:case 115:J(e,S,S,r&&L(ee(e,S,S,0,0,o,l,b,o,w=[],d),k),o,k,d,l,r?w:k);break;default:J(E,S,S,S,[""],k,0,l,k)}}u=c=f=0,m=v=1,b=E="",d=i;break;case 58:d=1+T(E),f=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==N())continue;switch(E+=x(y),y*m){case 38:v=c>0?1:(E+="\f",-1);break;case 44:l[u++]=(T(E)-1)*v,v=1;break;case 64:45===F()&&(E+=V($())),p=F(),c=d=T(b=E+=X(z())),y++;break;case 45:45===h&&2==T(E)&&(m=0)}}return a}function ee(e,t,n,r,o,i,l,s,u,c,d){for(var p=o-1,f=0===o?i:[""],h=M(f),m=0,g=0,v=0;m<r;++m)for(var y=0,x=R(e,p+1,p=b(g=l[m])),w=e;y<h;++y)(w=S(g>0?f[y]+" "+x:C(x,/&\f/g,f[y])))&&(u[v++]=w);return I(e,t,n,0===o?a:s,u,c,d)}function te(e,t,n){return I(e,t,n,o,x(_()),R(e,2,-2),0)}function ne(e,t,n,r){return I(e,t,n,i,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 ae(e,t,n,r){switch(e.type){case u:case i:return e.return=e.return||e.value;case o:return"";case m:return e.return=e.value+"{"+oe(e.children,r)+"}";case a:e.value=e.props.join(",")}return T(n=oe(e.children,r))?e.return=e.value+"{"+n+"}":""}function ie(e){var t=M(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}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 i:e.return=re(e.value,e.length);break;case m:return oe([j(e,{value:C(e.value,"@","@"+r)})],s);case a:if(e.length)return A(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===a&&(e.props=e.props.map((function(t){return A(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=v,e.DECLARATION=i,e.DOCUMENT=f,e.FONT_FACE=g,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=a,e.SUPPORTS=p,e.VIEWPORT=d,e.WEBKIT=r,e.abs=b,e.alloc=W,e.append=L,e.assign=w,e.caret=z,e.char=_,e.charat=P,e.combine=A,e.comment=te,e.commenter=Y,e.compile=Z,e.copy=j,e.dealloc=U,e.declaration=ne,e.delimit=V,e.delimiter=Q,e.escaping=G,e.from=x,e.hash=k,e.identifier=X,e.indexof=O,e.match=E,e.middleware=ie,e.namespace=ue,e.next=$,e.node=I,e.parse=J,e.peek=F,e.prefix=re,e.prefixer=se,e.prev=N,e.replace=C,e.ruleset=ee,e.rulesheet=le,e.serialize=oe,e.sizeof=M,e.slice=D,e.stringify=ae,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 Dm=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)},Bm=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]+=Dm(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))},Wm=new WeakMap,Um=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)||Wm.get(n))&&!r){Wm.set(e,!0);for(var o=[],a=Bm(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var u=0;u<i.length;u++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[u]):i[u]+" "+a[l]}}},Vm=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},qm="undefined"!=typeof document,Hm=qm?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 jm((function(){var e={};return function(t){return e[t]}}))})),Km=[zm.exports.prefixer],Gm=function(e){var t=e.key;if(qm&&"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,a=e.stylisPlugins||Km,i={},l=[];qm&&(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++)i[t[n]]=!0;l.push(e)})));var s=[Um,Vm];if(qm){var u,c=[zm.exports.stringify,zm.exports.rulesheet((function(e){u.insert(e)}))],d=zm.exports.middleware(s.concat(a,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&&(g.inserted[t.name]=!0)}}else{var p=[zm.exports.stringify],f=zm.exports.middleware(s.concat(a,p)),h=Hm(a)(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,a=m(e,t);return void 0===g.compat?(r&&(g.inserted[o]=!0),a):r?void(g.inserted[o]=a):a}}var g={key:t,sheet:new Fm({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return g.sheet.hydrate(l),g},Qm={exports:{}},Ym={},Xm="function"==typeof Symbol&&Symbol.for,Zm=Xm?Symbol.for("react.element"):60103,Jm=Xm?Symbol.for("react.portal"):60106,eg=Xm?Symbol.for("react.fragment"):60107,tg=Xm?Symbol.for("react.strict_mode"):60108,ng=Xm?Symbol.for("react.profiler"):60114,rg=Xm?Symbol.for("react.provider"):60109,og=Xm?Symbol.for("react.context"):60110,ag=Xm?Symbol.for("react.async_mode"):60111,ig=Xm?Symbol.for("react.concurrent_mode"):60111,lg=Xm?Symbol.for("react.forward_ref"):60112,sg=Xm?Symbol.for("react.suspense"):60113,ug=Xm?Symbol.for("react.suspense_list"):60120,cg=Xm?Symbol.for("react.memo"):60115,dg=Xm?Symbol.for("react.lazy"):60116,pg=Xm?Symbol.for("react.block"):60121,fg=Xm?Symbol.for("react.fundamental"):60117,hg=Xm?Symbol.for("react.responder"):60118,mg=Xm?Symbol.for("react.scope"):60119;function gg(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Zm:switch(e=e.type){case ag:case ig:case eg:case ng:case tg:case sg:return e;default:switch(e=e&&e.$$typeof){case og:case lg:case dg:case cg:case rg:return e;default:return t}}case Jm:return t}}}function vg(e){return gg(e)===ig}Ym.AsyncMode=ag,Ym.ConcurrentMode=ig,Ym.ContextConsumer=og,Ym.ContextProvider=rg,Ym.Element=Zm,Ym.ForwardRef=lg,Ym.Fragment=eg,Ym.Lazy=dg,Ym.Memo=cg,Ym.Portal=Jm,Ym.Profiler=ng,Ym.StrictMode=tg,Ym.Suspense=sg,Ym.isAsyncMode=function(e){return vg(e)||gg(e)===ag},Ym.isConcurrentMode=vg,Ym.isContextConsumer=function(e){return gg(e)===og},Ym.isContextProvider=function(e){return gg(e)===rg},Ym.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Zm},Ym.isForwardRef=function(e){return gg(e)===lg},Ym.isFragment=function(e){return gg(e)===eg},Ym.isLazy=function(e){return gg(e)===dg},Ym.isMemo=function(e){return gg(e)===cg},Ym.isPortal=function(e){return gg(e)===Jm},Ym.isProfiler=function(e){return gg(e)===ng},Ym.isStrictMode=function(e){return gg(e)===tg},Ym.isSuspense=function(e){return gg(e)===sg},Ym.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===eg||e===ig||e===ng||e===tg||e===sg||e===ug||"object"==typeof e&&null!==e&&(e.$$typeof===dg||e.$$typeof===cg||e.$$typeof===rg||e.$$typeof===og||e.$$typeof===lg||e.$$typeof===fg||e.$$typeof===hg||e.$$typeof===mg||e.$$typeof===pg)},Ym.typeOf=gg;var yg=Qm.exports=Ym,bg={};bg[yg.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},bg[yg.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var xg="undefined"!=typeof document;function wg(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var kg=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===xg&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Sg=function(e,t,n){kg(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+r:"",a,e.sheet,!0);xg||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!xg&&0!==o.length)return o}};var Eg={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},Cg=/[A-Z]|^ms/g,Og=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pg=function(e){return 45===e.charCodeAt(1)},Rg=function(e){return null!=e&&"boolean"!=typeof e},Tg=jm((function(e){return Pg(e)?e:e.replace(Cg,"-$&").toLowerCase()})),Mg=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Og,(function(e,t,n){return Ag={name:t,styles:n,next:Ag},t}))}return 1===Eg[e]||Pg(e)||"number"!=typeof t||0===t?t:t+"px"};function Lg(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 Ag={name:n.name,styles:n.styles,next:Ag},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Ag={name:r.name,styles:r.styles,next:Ag},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+=Lg(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":Rg(i)&&(r+=Tg(a)+":"+Mg(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=Lg(e,t,i);switch(a){case"animation":case"animationName":r+=Tg(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)Rg(i[s])&&(r+=Tg(a)+":"+Mg(a,i[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Ag,a=n(e);return Ag=o,Lg(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var Ag,Ig=/label:\s*([^\s;\n{]+)\s*(;|$)/g,jg=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="";Ag=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=Lg(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=Lg(n,t,e[i]),r&&(o+=a[i]);Ig.lastIndex=0;for(var l,s="";null!==(l=Ig.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:Ag}},_g={exports:{}},Ng={};Object.defineProperty(Ng,"__esModule",{value:!0});var $g=m.exports;function Fg(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 zg=Fg($g),Dg="undefined"!=typeof document,Bg=function(e){return e()},Wg=!!zg.useInsertionEffect&&zg.useInsertionEffect,Ug=Dg&&Wg||Bg,Vg=Wg||$g.useLayoutEffect;Ng.useInsertionEffectAlwaysWithSyncFallback=Ug,Ng.useInsertionEffectWithLayoutFallback=Vg,_g.exports=Ng;var qg="undefined"!=typeof document,Hg=m.exports.createContext("undefined"!=typeof HTMLElement?Gm({key:"css"}):null),Kg=Hg.Provider,Gg=function(e){return m.exports.forwardRef((function(t,n){var r=m.exports.useContext(Hg);return e(t,r,n)}))};qg||(Gg=function(e){return function(t){var n=m.exports.useContext(Hg);return null===n?(n=Gm({key:"css"}),m.exports.createElement(Hg.Provider,{value:n},e(t,n))):e(t,n)}});var Qg=m.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 Yg=Gg((function(e,t){var n=e.styles,r=jg([n],void 0,m.exports.useContext(Qg));if(!qg){for(var o,a=r.name,i=r.styles,l=r.next;void 0!==l;)a+=" "+l.name,i+=l.styles,l=l.next;var s=!0===t.compat,u=t.insert("",{name:a,styles:i},t.sheet,s);return s?null:m.exports.createElement("style",((o={})["data-emotion"]=t.key+"-global "+a,o.dangerouslySetInnerHTML={__html:u},o.nonce=t.sheet.nonce,o))}var c=m.exports.useRef();return _g.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,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),c.current=[n,o],function(){n.flush()}}),[t]),_g.exports.useInsertionEffectWithLayoutFallback((function(){var e=c.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Sg(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 Xg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return jg(t)}var Zg=function(){var e=Xg.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_"}}},Jg={exports:{}},ev={};Object.defineProperty(ev,"__esModule",{value:!0});var tv=m.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 rv=nv(tv),ov="undefined"!=typeof document,av=function(e){return e()},iv=!!rv.useInsertionEffect&&rv.useInsertionEffect,lv=ov&&iv||av,sv=iv||tv.useLayoutEffect;ev.useInsertionEffectAlwaysWithSyncFallback=lv,ev.useInsertionEffectWithLayoutFallback=sv,Jg.exports=ev;var uv=Nm,cv=function(e){return"theme"!==e},dv=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?uv:cv},pv=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},fv="undefined"!=typeof document,hv=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;kg(t,n,r);var o=Jg.exports.useInsertionEffectAlwaysWithSyncFallback((function(){return Sg(t,n,r)}));if(!fv&&void 0!==o){for(var a,i=n.name,l=n.next;void 0!==l;)i+=" "+l.name,l=l.next;return m.exports.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},mv=function e(t,n){var r,o,a=t.__emotion_real===t,i=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=pv(t,n,a),s=l||dv(i),u=!s("as");return function(){var c=arguments,d=a&&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 h=Gg((function(e,t,n){var r=u&&e.as||i,a="",c=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=m.exports.useContext(Qg)}"string"==typeof e.className?a=wg(t.registered,c,e.className):null!=e.className&&(a=e.className+" ");var h=jg(d.concat(c),t.registered,p);a+=t.key+"-"+h.name,void 0!==o&&(a+=" "+o);var g=u&&void 0===l?dv(r):s,v={};for(var y in e)u&&"as"===y||g(y)&&(v[y]=e[y]);return v.className=a,v.ref=n,m.exports.createElement(m.exports.Fragment,null,m.exports.createElement(hv,{cache:t,serialized:h,isStringTag:"string"==typeof r}),m.exports.createElement(r,v))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,$m({},n,r,{shouldForwardProp:pv(h,r,!0)})).apply(void 0,d)},h}}.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){mv[e]=mv(e)}));var gv=mv;const vv=Gm({key:"css",prepend:!0});function yv(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 Bf.exports.jsx(Yg,{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
|