From abec8fdd0285ce8b1d60ffd11c399f844107ee69 Mon Sep 17 00:00:00 2001 From: dvovk Date: Wed, 13 Sep 2023 22:30:13 +0300 Subject: [PATCH 1/2] updated UI --- web/dist/assets/index-8f7035a2.js | 702 ++++++++++++++++++++++++++++++ web/dist/assets/index-f1c6e2fa.js | 702 ------------------------------ web/dist/index.html | 2 +- 3 files changed, 703 insertions(+), 703 deletions(-) create mode 100644 web/dist/assets/index-8f7035a2.js delete mode 100644 web/dist/assets/index-f1c6e2fa.js diff --git a/web/dist/assets/index-8f7035a2.js b/web/dist/assets/index-8f7035a2.js new file mode 100644 index 0000000..06f7e0a --- /dev/null +++ b/web/dist/assets/index-8f7035a2.js @@ -0,0 +1,702 @@ +function bE(e,t){for(var r=0;rn[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();var Fo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ra(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var sw={exports:{}},Lc={},uw={exports:{}},Re={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var us=Symbol.for("react.element"),CE=Symbol.for("react.portal"),RE=Symbol.for("react.fragment"),TE=Symbol.for("react.strict_mode"),EE=Symbol.for("react.profiler"),OE=Symbol.for("react.provider"),kE=Symbol.for("react.context"),PE=Symbol.for("react.forward_ref"),IE=Symbol.for("react.suspense"),zE=Symbol.for("react.memo"),jE=Symbol.for("react.lazy"),Gy=Symbol.iterator;function AE(e){return e===null||typeof e!="object"?null:(e=Gy&&e[Gy]||e["@@iterator"],typeof e=="function"?e:null)}var cw={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},fw=Object.assign,dw={};function Ta(e,t,r){this.props=e,this.context=t,this.refs=dw,this.updater=r||cw}Ta.prototype.isReactComponent={};Ta.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ta.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function hw(){}hw.prototype=Ta.prototype;function _m(e,t,r){this.props=e,this.context=t,this.refs=dw,this.updater=r||cw}var Sm=_m.prototype=new hw;Sm.constructor=_m;fw(Sm,Ta.prototype);Sm.isPureReactComponent=!0;var Vy=Array.isArray,pw=Object.prototype.hasOwnProperty,wm={current:null},mw={key:!0,ref:!0,__self:!0,__source:!0};function vw(e,t,r){var n,o={},i=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)pw.call(t,n)&&!mw.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1>>1,Ee=Z[Se];if(0>>1;Seo(ye,fe))Ho(V,ye)?(Z[Se]=V,Z[H]=fe,Se=H):(Z[Se]=ye,Z[tt]=fe,Se=tt);else if(Ho(V,fe))Z[Se]=V,Z[H]=fe,Se=H;else break e}}return ie}function o(Z,ie){var fe=Z.sortIndex-ie.sortIndex;return fe!==0?fe:Z.id-ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var u=[],c=[],f=1,h=null,p=3,w=!1,S=!1,y=!1,C=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(Z){for(var ie=r(c);ie!==null;){if(ie.callback===null)n(c);else if(ie.startTime<=Z)n(c),ie.sortIndex=ie.expirationTime,t(u,ie);else break;ie=r(c)}}function T(Z){if(y=!1,_(Z),!S)if(r(u)!==null)S=!0,se(O);else{var ie=r(c);ie!==null&&ge(T,ie.startTime-Z)}}function O(Z,ie){S=!1,y&&(y=!1,g(E),E=-1),w=!0;var fe=p;try{for(_(ie),h=r(u);h!==null&&(!(h.expirationTime>ie)||Z&&!M());){var Se=h.callback;if(typeof Se=="function"){h.callback=null,p=h.priorityLevel;var Ee=Se(h.expirationTime<=ie);ie=e.unstable_now(),typeof Ee=="function"?h.callback=Ee:h===r(u)&&n(u),_(ie)}else n(u);h=r(u)}if(h!==null)var xt=!0;else{var tt=r(c);tt!==null&&ge(T,tt.startTime-ie),xt=!1}return xt}finally{h=null,p=fe,w=!1}}var k=!1,b=null,E=-1,P=5,I=-1;function M(){return!(e.unstable_now()-IZ||125Se?(Z.sortIndex=fe,t(c,Z),r(u)===null&&Z===r(c)&&(y?(g(E),E=-1):y=!0,ge(T,fe-Se))):(Z.sortIndex=Ee,t(u,Z),S||w||(S=!0,se(O))),Z},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(Z){var ie=p;return function(){var fe=p;p=ie;try{return Z.apply(this,arguments)}finally{p=fe}}}})(Sw);_w.exports=Sw;var qE=_w.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ww=N,wr=qE;function ee(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),rp=Object.prototype.hasOwnProperty,GE=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Yy={},Qy={};function VE(e){return rp.call(Qy,e)?!0:rp.call(Yy,e)?!1:GE.test(e)?Qy[e]=!0:(Yy[e]=!0,!1)}function KE(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function YE(e,t,r,n){if(t===null||typeof t>"u"||KE(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Yt(e,t,r,n,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Pt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Pt[e]=new Yt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Pt[t]=new Yt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Pt[e]=new Yt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Pt[e]=new Yt(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){Pt[e]=new Yt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Pt[e]=new Yt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Pt[e]=new Yt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Pt[e]=new Yt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Pt[e]=new Yt(e,5,!1,e.toLowerCase(),null,!1,!1)});var xm=/[\-:]([a-z])/g;function Cm(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(xm,Cm);Pt[t]=new Yt(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(xm,Cm);Pt[t]=new Yt(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(xm,Cm);Pt[t]=new Yt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Pt[e]=new Yt(e,1,!1,e.toLowerCase(),null,!1,!1)});Pt.xlinkHref=new Yt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Pt[e]=new Yt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Rm(e,t,r,n){var o=Pt.hasOwnProperty(t)?Pt[t]:null;(o!==null?o.type!==0:n||!(2s||o[a]!==i[s]){var u=` +`+o[a].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=a&&0<=s);break}}}finally{Od=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?ul(e):""}function QE(e){switch(e.tag){case 5:return ul(e.type);case 16:return ul("Lazy");case 13:return ul("Suspense");case 19:return ul("SuspenseList");case 0:case 2:case 15:return e=kd(e.type,!1),e;case 11:return e=kd(e.type.render,!1),e;case 1:return e=kd(e.type,!0),e;default:return""}}function ap(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ai:return"Fragment";case ji:return"Portal";case np:return"Profiler";case Tm:return"StrictMode";case op:return"Suspense";case ip:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Cw:return(e.displayName||"Context")+".Consumer";case xw:return(e._context.displayName||"Context")+".Provider";case Em:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Om:return t=e.displayName||null,t!==null?t:ap(e.type)||"Memo";case Xn:t=e._payload,e=e._init;try{return ap(e(t))}catch{}}return null}function XE(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ap(t);case 8:return t===Tm?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function _o(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Tw(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function JE(e){var t=Tw(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){n=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Bs(e){e._valueTracker||(e._valueTracker=JE(e))}function Ew(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Tw(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function $u(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function lp(e,t){var r=t.checked;return et({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Jy(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=_o(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ow(e,t){t=t.checked,t!=null&&Rm(e,"checked",t,!1)}function sp(e,t){Ow(e,t);var r=_o(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?up(e,t.type,r):t.hasOwnProperty("defaultValue")&&up(e,t.type,_o(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Zy(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function up(e,t,r){(t!=="number"||$u(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var cl=Array.isArray;function Gi(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Us.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Al(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var _l={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ZE=["Webkit","ms","Moz","O"];Object.keys(_l).forEach(function(e){ZE.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),_l[t]=_l[e]})});function zw(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||_l.hasOwnProperty(e)&&_l[e]?(""+t).trim():t+"px"}function jw(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=zw(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var eO=et({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 dp(e,t){if(t){if(eO[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ee(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ee(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ee(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ee(62))}}function hp(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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}}var pp=null;function km(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mp=null,Vi=null,Ki=null;function r0(e){if(e=ds(e)){if(typeof mp!="function")throw Error(ee(280));var t=e.stateNode;t&&(t=Wc(t),mp(e.stateNode,e.type,t))}}function Aw(e){Vi?Ki?Ki.push(e):Ki=[e]:Vi=e}function Mw(){if(Vi){var e=Vi,t=Ki;if(Ki=Vi=null,r0(e),t)for(e=0;e>>=0,e===0?32:31-(fO(e)/dO|0)|0}var Hs=64,qs=4194304;function fl(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Bu(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,a=r&268435455;if(a!==0){var s=a&~o;s!==0?n=fl(s):(i&=a,i!==0&&(n=fl(i)))}else a=r&~o,a!==0?n=fl(a):i!==0&&(n=fl(i));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function cs(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Xr(t),e[t]=r}function vO(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=wl),f0=String.fromCharCode(32),d0=!1;function tb(e,t){switch(e){case"keyup":return HO.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rb(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Mi=!1;function GO(e,t){switch(e){case"compositionend":return rb(t);case"keypress":return t.which!==32?null:(d0=!0,f0);case"textInput":return e=t.data,e===f0&&d0?null:e;default:return null}}function VO(e,t){if(Mi)return e==="compositionend"||!Nm&&tb(e,t)?(e=Zw(),yu=Am=ro=null,Mi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=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=v0(r)}}function ab(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ab(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function lb(){for(var e=window,t=$u();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=$u(e.document)}return t}function $m(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function rk(e){var t=lb(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&ab(r.ownerDocument.documentElement,r)){if(n!==null&&$m(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=n.end===void 0?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=g0(r,i);var a=g0(r,n);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Li=null,wp=null,xl=null,bp=!1;function y0(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;bp||Li==null||Li!==$u(n)||(n=Li,"selectionStart"in n&&$m(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),xl&&Fl(xl,n)||(xl=n,n=qu(wp,"onSelect"),0Di||(e.current=Op[Di],Op[Di]=null,Di--)}function Be(e,t){Di++,Op[Di]=e.current,e.current=t}var So={},Wt=To(So),tr=To(!1),Xo=So;function oa(e,t){var r=e.type.contextTypes;if(!r)return So;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function rr(e){return e=e.childContextTypes,e!=null}function Vu(){Ge(tr),Ge(Wt)}function R0(e,t,r){if(Wt.current!==So)throw Error(ee(168));Be(Wt,t),Be(tr,r)}function vb(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(ee(108,XE(e)||"Unknown",o));return et({},r,n)}function Ku(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||So,Xo=Wt.current,Be(Wt,e),Be(tr,tr.current),!0}function T0(e,t,r){var n=e.stateNode;if(!n)throw Error(ee(169));r?(e=vb(e,t,Xo),n.__reactInternalMemoizedMergedChildContext=e,Ge(tr),Ge(Wt),Be(Wt,e)):Ge(tr),Be(tr,r)}var Pn=null,Bc=!1,Ud=!1;function gb(e){Pn===null?Pn=[e]:Pn.push(e)}function pk(e){Bc=!0,gb(e)}function Eo(){if(!Ud&&Pn!==null){Ud=!0;var e=0,t=Ne;try{var r=Pn;for(Ne=1;e>=a,o-=a,jn=1<<32-Xr(t)+o|r<E?(P=b,b=null):P=b.sibling;var I=p(g,b,_[E],T);if(I===null){b===null&&(b=P);break}e&&b&&I.alternate===null&&t(g,b),m=i(I,m,E),k===null?O=I:k.sibling=I,k=I,b=P}if(E===_.length)return r(g,b),Xe&&Lo(g,E),O;if(b===null){for(;E<_.length;E++)b=h(g,_[E],T),b!==null&&(m=i(b,m,E),k===null?O=b:k.sibling=b,k=b);return Xe&&Lo(g,E),O}for(b=n(g,b);E<_.length;E++)P=w(b,g,E,_[E],T),P!==null&&(e&&P.alternate!==null&&b.delete(P.key===null?E:P.key),m=i(P,m,E),k===null?O=P:k.sibling=P,k=P);return e&&b.forEach(function(M){return t(g,M)}),Xe&&Lo(g,E),O}function y(g,m,_,T){var O=Ya(_);if(typeof O!="function")throw Error(ee(150));if(_=O.call(_),_==null)throw Error(ee(151));for(var k=O=null,b=m,E=m=0,P=null,I=_.next();b!==null&&!I.done;E++,I=_.next()){b.index>E?(P=b,b=null):P=b.sibling;var M=p(g,b,I.value,T);if(M===null){b===null&&(b=P);break}e&&b&&M.alternate===null&&t(g,b),m=i(M,m,E),k===null?O=M:k.sibling=M,k=M,b=P}if(I.done)return r(g,b),Xe&&Lo(g,E),O;if(b===null){for(;!I.done;E++,I=_.next())I=h(g,I.value,T),I!==null&&(m=i(I,m,E),k===null?O=I:k.sibling=I,k=I);return Xe&&Lo(g,E),O}for(b=n(g,b);!I.done;E++,I=_.next())I=w(b,g,E,I.value,T),I!==null&&(e&&I.alternate!==null&&b.delete(I.key===null?E:I.key),m=i(I,m,E),k===null?O=I:k.sibling=I,k=I);return e&&b.forEach(function(F){return t(g,F)}),Xe&&Lo(g,E),O}function C(g,m,_,T){if(typeof _=="object"&&_!==null&&_.type===Ai&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case Ws:e:{for(var O=_.key,k=m;k!==null;){if(k.key===O){if(O=_.type,O===Ai){if(k.tag===7){r(g,k.sibling),m=o(k,_.props.children),m.return=g,g=m;break e}}else if(k.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===Xn&&j0(O)===k.type){r(g,k.sibling),m=o(k,_.props),m.ref=el(g,k,_),m.return=g,g=m;break e}r(g,k);break}else t(g,k);k=k.sibling}_.type===Ai?(m=Go(_.props.children,g.mode,T,_.key),m.return=g,g=m):(T=Tu(_.type,_.key,_.props,null,g.mode,T),T.ref=el(g,m,_),T.return=g,g=T)}return a(g);case ji:e:{for(k=_.key;m!==null;){if(m.key===k)if(m.tag===4&&m.stateNode.containerInfo===_.containerInfo&&m.stateNode.implementation===_.implementation){r(g,m.sibling),m=o(m,_.children||[]),m.return=g,g=m;break e}else{r(g,m);break}else t(g,m);m=m.sibling}m=Xd(_,g.mode,T),m.return=g,g=m}return a(g);case Xn:return k=_._init,C(g,m,k(_._payload),T)}if(cl(_))return S(g,m,_,T);if(Ya(_))return y(g,m,_,T);Js(g,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,m!==null&&m.tag===6?(r(g,m.sibling),m=o(m,_),m.return=g,g=m):(r(g,m),m=Qd(_,g.mode,T),m.return=g,g=m),a(g)):r(g,m)}return C}var aa=Rb(!0),Tb=Rb(!1),hs={},gn=To(hs),Hl=To(hs),ql=To(hs);function Uo(e){if(e===hs)throw Error(ee(174));return e}function Vm(e,t){switch(Be(ql,t),Be(Hl,e),Be(gn,hs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fp(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=fp(t,e)}Ge(gn),Be(gn,t)}function la(){Ge(gn),Ge(Hl),Ge(ql)}function Eb(e){Uo(ql.current);var t=Uo(gn.current),r=fp(t,e.type);t!==r&&(Be(Hl,e),Be(gn,r))}function Km(e){Hl.current===e&&(Ge(gn),Ge(Hl))}var Je=To(0);function ec(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Hd=[];function Ym(){for(var e=0;er?r:4,e(!0);var n=qd.transition;qd.transition={};try{e(!1),t()}finally{Ne=r,qd.transition=n}}function Ub(){return Mr().memoizedState}function yk(e,t,r){var n=ho(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Hb(e))qb(t,r);else if(r=wb(e,t,r,n),r!==null){var o=Vt();Jr(r,e,n,o),Gb(r,t,n)}}function _k(e,t,r){var n=ho(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Hb(e))qb(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,r);if(o.hasEagerState=!0,o.eagerState=s,Zr(s,a)){var u=t.interleaved;u===null?(o.next=o,qm(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}r=wb(e,t,o,n),r!==null&&(o=Vt(),Jr(r,e,n,o),Gb(r,t,n))}}function Hb(e){var t=e.alternate;return e===Ze||t!==null&&t===Ze}function qb(e,t){Cl=tc=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Gb(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Im(e,r)}}var rc={readContext:Ar,useCallback:At,useContext:At,useEffect:At,useImperativeHandle:At,useInsertionEffect:At,useLayoutEffect:At,useMemo:At,useReducer:At,useRef:At,useState:At,useDebugValue:At,useDeferredValue:At,useTransition:At,useMutableSource:At,useSyncExternalStore:At,useId:At,unstable_isNewReconciler:!1},Sk={readContext:Ar,useCallback:function(e,t){return un().memoizedState=[e,t===void 0?null:t],e},useContext:Ar,useEffect:M0,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,bu(4194308,4,$b.bind(null,t,e),r)},useLayoutEffect:function(e,t){return bu(4194308,4,e,t)},useInsertionEffect:function(e,t){return bu(4,2,e,t)},useMemo:function(e,t){var r=un();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=un();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=yk.bind(null,Ze,e),[n.memoizedState,e]},useRef:function(e){var t=un();return e={current:e},t.memoizedState=e},useState:A0,useDebugValue:ev,useDeferredValue:function(e){return un().memoizedState=e},useTransition:function(){var e=A0(!1),t=e[0];return e=gk.bind(null,e[1]),un().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Ze,o=un();if(Xe){if(r===void 0)throw Error(ee(407));r=r()}else{if(r=t(),St===null)throw Error(ee(349));Zo&30||Pb(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,M0(zb.bind(null,n,i,e),[e]),n.flags|=2048,Kl(9,Ib.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=un(),t=St.identifierPrefix;if(Xe){var r=An,n=jn;r=(n&~(1<<32-Xr(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Gl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[pn]=t,e[Ul]=n,tx(e,t,!1,!1),t.stateNode=e;e:{switch(a=hp(r,n),r){case"dialog":qe("cancel",e),qe("close",e),o=n;break;case"iframe":case"object":case"embed":qe("load",e),o=n;break;case"video":case"audio":for(o=0;oua&&(t.flags|=128,n=!0,tl(i,!1),t.lanes=4194304)}else{if(!n)if(e=ec(a),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),tl(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Xe)return Mt(t),null}else 2*st()-i.renderingStartTime>ua&&r!==1073741824&&(t.flags|=128,n=!0,tl(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(r=i.last,r!==null?r.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=st(),t.sibling=null,r=Je.current,Be(Je,n?r&1|2:r&1),t):(Mt(t),null);case 22:case 23:return av(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?pr&1073741824&&(Mt(t),t.subtreeFlags&6&&(t.flags|=8192)):Mt(t),null;case 24:return null;case 25:return null}throw Error(ee(156,t.tag))}function Ok(e,t){switch(Fm(t),t.tag){case 1:return rr(t.type)&&Vu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return la(),Ge(tr),Ge(Wt),Ym(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Km(t),null;case 13:if(Ge(Je),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ee(340));ia()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ge(Je),null;case 4:return la(),null;case 10:return Hm(t.type._context),null;case 22:case 23:return av(),null;case 24:return null;default:return null}}var eu=!1,Ft=!1,kk=typeof WeakSet=="function"?WeakSet:Set,ce=null;function Ui(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){ot(e,t,n)}else r.current=null}function Fp(e,t,r){try{r()}catch(n){ot(e,t,n)}}var H0=!1;function Pk(e,t){if(xp=Uu,e=lb(),$m(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var a=0,s=-1,u=-1,c=0,f=0,h=e,p=null;t:for(;;){for(var w;h!==r||o!==0&&h.nodeType!==3||(s=a+o),h!==i||n!==0&&h.nodeType!==3||(u=a+n),h.nodeType===3&&(a+=h.nodeValue.length),(w=h.firstChild)!==null;)p=h,h=w;for(;;){if(h===e)break t;if(p===r&&++c===o&&(s=a),p===i&&++f===n&&(u=a),(w=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=w}r=s===-1||u===-1?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Cp={focusedElem:e,selectionRange:r},Uu=!1,ce=t;ce!==null;)if(t=ce,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ce=e;else for(;ce!==null;){t=ce;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var y=S.memoizedProps,C=S.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:qr(t.type,y),C);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var _=t.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ee(163))}}catch(T){ot(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,ce=e;break}ce=t.return}return S=H0,H0=!1,S}function Rl(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Fp(t,r,i)}o=o.next}while(o!==n)}}function qc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Wp(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function ox(e){var t=e.alternate;t!==null&&(e.alternate=null,ox(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[pn],delete t[Ul],delete t[Ep],delete t[dk],delete t[hk])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ix(e){return e.tag===5||e.tag===3||e.tag===4}function q0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ix(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Bp(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Gu));else if(n!==4&&(e=e.child,e!==null))for(Bp(e,t,r),e=e.sibling;e!==null;)Bp(e,t,r),e=e.sibling}function Up(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Up(e,t,r),e=e.sibling;e!==null;)Up(e,t,r),e=e.sibling}var Tt=null,Vr=!1;function Qn(e,t,r){for(r=r.child;r!==null;)ax(e,t,r),r=r.sibling}function ax(e,t,r){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(Nc,r)}catch{}switch(r.tag){case 5:Ft||Ui(r,t);case 6:var n=Tt,o=Vr;Tt=null,Qn(e,t,r),Tt=n,Vr=o,Tt!==null&&(Vr?(e=Tt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Tt.removeChild(r.stateNode));break;case 18:Tt!==null&&(Vr?(e=Tt,r=r.stateNode,e.nodeType===8?Bd(e.parentNode,r):e.nodeType===1&&Bd(e,r),$l(e)):Bd(Tt,r.stateNode));break;case 4:n=Tt,o=Vr,Tt=r.stateNode.containerInfo,Vr=!0,Qn(e,t,r),Tt=n,Vr=o;break;case 0:case 11:case 14:case 15:if(!Ft&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Fp(r,t,a),o=o.next}while(o!==n)}Qn(e,t,r);break;case 1:if(!Ft&&(Ui(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){ot(r,t,s)}Qn(e,t,r);break;case 21:Qn(e,t,r);break;case 22:r.mode&1?(Ft=(n=Ft)||r.memoizedState!==null,Qn(e,t,r),Ft=n):Qn(e,t,r);break;default:Qn(e,t,r)}}function G0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new kk),t.forEach(function(n){var o=Dk.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Br(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=a),n&=~i}if(n=o,n=st()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*zk(n/1960))-n,10e?16:e,no===null)var n=!1;else{if(e=no,no=null,ic=0,ke&6)throw Error(ee(331));var o=ke;for(ke|=4,ce=e.current;ce!==null;){var i=ce,a=i.child;if(ce.flags&16){var s=i.deletions;if(s!==null){for(var u=0;ust()-ov?qo(e,0):nv|=r),nr(e,t)}function px(e,t){t===0&&(e.mode&1?(t=qs,qs<<=1,!(qs&130023424)&&(qs=4194304)):t=1);var r=Vt();e=Wn(e,t),e!==null&&(cs(e,t,r),nr(e,r))}function $k(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),px(e,r)}function Dk(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(ee(314))}n!==null&&n.delete(t),px(e,r)}var mx;mx=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||tr.current)er=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return er=!1,Tk(e,t,r);er=!!(e.flags&131072)}else er=!1,Xe&&t.flags&1048576&&yb(t,Qu,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;xu(e,t),e=t.pendingProps;var o=oa(t,Wt.current);Qi(t,r),o=Xm(null,t,n,e,o,r);var i=Jm();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rr(n)?(i=!0,Ku(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Gm(t),o.updater=Uc,t.stateNode=o,o._reactInternals=t,jp(t,n,e,r),t=Lp(null,t,n,!0,i,r)):(t.tag=0,Xe&&i&&Dm(t),qt(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(xu(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=Wk(n),e=qr(n,e),o){case 0:t=Mp(null,t,n,e,r);break e;case 1:t=W0(null,t,n,e,r);break e;case 11:t=D0(null,t,n,e,r);break e;case 14:t=F0(null,t,n,qr(n.type,e),r);break e}throw Error(ee(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qr(n,o),Mp(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qr(n,o),W0(e,t,n,o,r);case 3:e:{if(Jb(t),e===null)throw Error(ee(387));n=t.pendingProps,i=t.memoizedState,o=i.element,bb(e,t),Zu(t,n,null,r);var a=t.memoizedState;if(n=a.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=sa(Error(ee(423)),t),t=B0(e,t,n,r,o);break e}else if(n!==o){o=sa(Error(ee(424)),t),t=B0(e,t,n,r,o);break e}else for(gr=uo(t.stateNode.containerInfo.firstChild),yr=t,Xe=!0,Kr=null,r=Tb(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(ia(),n===o){t=Bn(e,t,r);break e}qt(e,t,n,r)}t=t.child}return t;case 5:return Eb(t),e===null&&Pp(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Rp(n,o)?a=null:i!==null&&Rp(n,i)&&(t.flags|=32),Xb(e,t),qt(e,t,a,r),t.child;case 6:return e===null&&Pp(t),null;case 13:return Zb(e,t,r);case 4:return Vm(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=aa(t,null,n,r):qt(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qr(n,o),D0(e,t,n,o,r);case 7:return qt(e,t,t.pendingProps,r),t.child;case 8:return qt(e,t,t.pendingProps.children,r),t.child;case 12:return qt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Be(Xu,n._currentValue),n._currentValue=a,i!==null)if(Zr(i.value,a)){if(i.children===o.children&&!tr.current){t=Bn(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var u=s.firstContext;u!==null;){if(u.context===n){if(i.tag===1){u=Nn(-1,r&-r),u.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?u.next=u:(u.next=f.next,f.next=u),c.pending=u}}i.lanes|=r,u=i.alternate,u!==null&&(u.lanes|=r),Ip(i.return,r,t),s.lanes|=r;break}u=u.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(ee(341));a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),Ip(a,r,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}qt(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Qi(t,r),o=Ar(o),n=n(o),t.flags|=1,qt(e,t,n,r),t.child;case 14:return n=t.type,o=qr(n,t.pendingProps),o=qr(n.type,o),F0(e,t,n,o,r);case 15:return Yb(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qr(n,o),xu(e,t),t.tag=1,rr(n)?(e=!0,Ku(t)):e=!1,Qi(t,r),Cb(t,n,o),jp(t,n,o,r),Lp(null,t,n,!0,e,r);case 19:return ex(e,t,r);case 22:return Qb(e,t,r)}throw Error(ee(156,t.tag))};function vx(e,t){return Bw(e,t)}function Fk(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ir(e,t,r,n){return new Fk(e,t,r,n)}function sv(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Wk(e){if(typeof e=="function")return sv(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Em)return 11;if(e===Om)return 14}return 2}function po(e,t){var r=e.alternate;return r===null?(r=Ir(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Tu(e,t,r,n,o,i){var a=2;if(n=e,typeof e=="function")sv(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Ai:return Go(r.children,o,i,t);case Tm:a=8,o|=8;break;case np:return e=Ir(12,r,t,o|2),e.elementType=np,e.lanes=i,e;case op:return e=Ir(13,r,t,o),e.elementType=op,e.lanes=i,e;case ip:return e=Ir(19,r,t,o),e.elementType=ip,e.lanes=i,e;case Rw:return Vc(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xw:a=10;break e;case Cw:a=9;break e;case Em:a=11;break e;case Om:a=14;break e;case Xn:a=16,n=null;break e}throw Error(ee(130,e==null?e:typeof e,""))}return t=Ir(a,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function Go(e,t,r,n){return e=Ir(7,e,n,t),e.lanes=r,e}function Vc(e,t,r,n){return e=Ir(22,e,n,t),e.elementType=Rw,e.lanes=r,e.stateNode={isHidden:!1},e}function Qd(e,t,r){return e=Ir(6,e,null,t),e.lanes=r,e}function Xd(e,t,r){return t=Ir(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bk(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Id(0),this.expirationTimes=Id(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Id(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function uv(e,t,r,n,o,i,a,s,u){return e=new Bk(e,t,r,s,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ir(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gm(i),e}function Uk(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Sx)}catch(e){console.error(e)}}Sx(),yw.exports=xr;var ps=yw.exports,e_=ps;tp.createRoot=e_.createRoot,tp.hydrateRoot=e_.hydrateRoot;/** + * @remix-run/router v1.8.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Ql(){return Ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function hv(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Yk(){return Math.random().toString(36).substr(2,8)}function r_(e,t){return{usr:e.state,key:e.key,idx:t}}function Kp(e,t,r,n){return r===void 0&&(r=null),Ql({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ka(t):t,{state:r,key:t&&t.key||n||Yk()})}function sc(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ka(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function Qk(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:i=!1}=n,a=o.history,s=oo.Pop,u=null,c=f();c==null&&(c=0,a.replaceState(Ql({},a.state,{idx:c}),""));function f(){return(a.state||{idx:null}).idx}function h(){s=oo.Pop;let C=f(),g=C==null?null:C-c;c=C,u&&u({action:s,location:y.location,delta:g})}function p(C,g){s=oo.Push;let m=Kp(y.location,C,g);r&&r(m,C),c=f()+1;let _=r_(m,c),T=y.createHref(m);try{a.pushState(_,"",T)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;o.location.assign(T)}i&&u&&u({action:s,location:y.location,delta:1})}function w(C,g){s=oo.Replace;let m=Kp(y.location,C,g);r&&r(m,C),c=f();let _=r_(m,c),T=y.createHref(m);a.replaceState(_,"",T),i&&u&&u({action:s,location:y.location,delta:0})}function S(C){let g=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof C=="string"?C:sc(C);return mt(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let y={get action(){return s},get location(){return e(o,a)},listen(C){if(u)throw new Error("A history only accepts one active listener");return o.addEventListener(t_,h),u=C,()=>{o.removeEventListener(t_,h),u=null}},createHref(C){return t(o,C)},createURL:S,encodeLocation(C){let g=S(C);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:p,replace:w,go(C){return a.go(C)}};return y}var n_;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(n_||(n_={}));function Xk(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?ka(t):t,o=pv(n.pathname||"/",r);if(o==null)return null;let i=wx(e);Jk(i);let a=null;for(let s=0;a==null&&s{let u={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};u.relativePath.startsWith("/")&&(mt(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let c=mo([n,u.relativePath]),f=r.concat(u);i.children&&i.children.length>0&&(mt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),wx(i.children,t,f,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:iP(c,i.index),routesMeta:f})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let u of bx(i.path))o(i,a,u)}),t}function bx(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return o?[i,""]:[i];let a=bx(n.join("/")),s=[];return s.push(...a.map(u=>u===""?i:[i,u].join("/"))),o&&s.push(...a),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function Jk(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:aP(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const Zk=/^:\w+$/,eP=3,tP=2,rP=1,nP=10,oP=-2,o_=e=>e==="*";function iP(e,t){let r=e.split("/"),n=r.length;return r.some(o_)&&(n+=oP),t&&(n+=tP),r.filter(o=>!o_(o)).reduce((o,i)=>o+(Zk.test(i)?eP:i===""?rP:nP),n)}function aP(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function lP(e,t){let{routesMeta:r}=e,n={},o="/",i=[];for(let a=0;a{if(f==="*"){let p=s[h]||"";a=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}return c[f]=fP(s[h]||"",f),c},{}),pathname:i,pathnameBase:a,pattern:e}}function uP(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),hv(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(a,s)=>(n.push(s),"/([^\\/]+)"));return e.endsWith("*")?(n.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function cP(e){try{return decodeURI(e)}catch(t){return hv(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function fP(e,t){try{return decodeURIComponent(e)}catch(r){return hv(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function pv(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function dP(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?ka(e):e;return{pathname:r?r.startsWith("/")?r:hP(r,t):t,search:mP(n),hash:vP(o)}}function hP(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function Jd(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function xx(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Cx(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=ka(e):(o=Ql({},e),mt(!o.pathname||!o.pathname.includes("?"),Jd("?","pathname","search",o)),mt(!o.pathname||!o.pathname.includes("#"),Jd("#","pathname","hash",o)),mt(!o.search||!o.search.includes("#"),Jd("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,s;if(n||a==null)s=r;else{let h=t.length-1;if(a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),h-=1;o.pathname=p.join("/")}s=h>=0?t[h]:"/"}let u=dP(o,s),c=a&&a!=="/"&&a.endsWith("/"),f=(i||a===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(c||f)&&(u.pathname+="/"),u}const mo=e=>e.join("/").replace(/\/\/+/g,"/"),pP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),mP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,vP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function gP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Rx=["post","put","patch","delete"];new Set(Rx);const yP=["get",...Rx];new Set(yP);/** + * React Router v6.15.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function uc(){return uc=Object.assign?Object.assign.bind():function(e){for(var t=1;tu.pathnameBase)),a=N.useRef(!1);return Ex(()=>{a.current=!0}),N.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=Cx(u,JSON.parse(i),o,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:mo([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,i,o,e])}const xP=N.createContext(null);function CP(e){let t=N.useContext(Oo).outlet;return t&&N.createElement(xP.Provider,{value:e},t)}function Ox(e,t){let{relative:r}=t===void 0?{}:t,{matches:n}=N.useContext(Oo),{pathname:o}=Zc(),i=JSON.stringify(xx(n).map(a=>a.pathnameBase));return N.useMemo(()=>Cx(e,JSON.parse(i),o,r==="path"),[e,i,o,r])}function RP(e,t){return TP(e,t)}function TP(e,t,r){ms()||mt(!1);let{navigator:n}=N.useContext(Pa),{matches:o}=N.useContext(Oo),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let u=Zc(),c;if(t){var f;let y=typeof t=="string"?ka(t):t;s==="/"||(f=y.pathname)!=null&&f.startsWith(s)||mt(!1),c=y}else c=u;let h=c.pathname||"/",p=s==="/"?h:h.slice(s.length)||"/",w=Xk(e,{pathname:p}),S=IP(w&&w.map(y=>Object.assign({},y,{params:Object.assign({},a,y.params),pathname:mo([s,n.encodeLocation?n.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:mo([s,n.encodeLocation?n.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,r);return t&&S?N.createElement(Jc.Provider,{value:{location:uc({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:oo.Pop}},S):S}function EP(){let e=MP(),t=gP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return N.createElement(N.Fragment,null,N.createElement("h2",null,"Unexpected Application Error!"),N.createElement("h3",{style:{fontStyle:"italic"}},t),r?N.createElement("pre",{style:o},r):null,i)}const OP=N.createElement(EP,null);class kP extends N.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?N.createElement(Oo.Provider,{value:this.props.routeContext},N.createElement(Tx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function PP(e){let{routeContext:t,match:r,children:n}=e,o=N.useContext(mv);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),N.createElement(Oo.Provider,{value:t},n)}function IP(e,t,r){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var o;if((o=r)!=null&&o.errors)e=r.matches;else return null}let i=e,a=(n=r)==null?void 0:n.errors;if(a!=null){let s=i.findIndex(u=>u.route.id&&(a==null?void 0:a[u.route.id]));s>=0||mt(!1),i=i.slice(0,Math.min(i.length,s+1))}return i.reduceRight((s,u,c)=>{let f=u.route.id?a==null?void 0:a[u.route.id]:null,h=null;r&&(h=u.route.errorElement||OP);let p=t.concat(i.slice(0,c+1)),w=()=>{let S;return f?S=h:u.route.Component?S=N.createElement(u.route.Component,null):u.route.element?S=u.route.element:S=s,N.createElement(PP,{match:u,routeContext:{outlet:s,matches:p,isDataRoute:r!=null},children:S})};return r&&(u.route.ErrorBoundary||u.route.errorElement||c===0)?N.createElement(kP,{location:r.location,revalidation:r.revalidation,component:h,error:f,children:w(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):w()},null)}var kx=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(kx||{}),cc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(cc||{});function zP(e){let t=N.useContext(mv);return t||mt(!1),t}function jP(e){let t=N.useContext(_P);return t||mt(!1),t}function AP(e){let t=N.useContext(Oo);return t||mt(!1),t}function Px(e){let t=AP(),r=t.matches[t.matches.length-1];return r.route.id||mt(!1),r.route.id}function MP(){var e;let t=N.useContext(Tx),r=jP(cc.UseRouteError),n=Px(cc.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function LP(){let{router:e}=zP(kx.UseNavigateStable),t=Px(cc.UseNavigateStable),r=N.useRef(!1);return Ex(()=>{r.current=!0}),N.useCallback(function(o,i){i===void 0&&(i={}),r.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,uc({fromRouteId:t},i)))},[e,t])}function NP(e){return CP(e.context)}function hr(e){mt(!1)}function $P(e){let{basename:t="/",children:r=null,location:n,navigationType:o=oo.Pop,navigator:i,static:a=!1}=e;ms()&&mt(!1);let s=t.replace(/^\/*/,"/"),u=N.useMemo(()=>({basename:s,navigator:i,static:a}),[s,i,a]);typeof n=="string"&&(n=ka(n));let{pathname:c="/",search:f="",hash:h="",state:p=null,key:w="default"}=n,S=N.useMemo(()=>{let y=pv(c,s);return y==null?null:{location:{pathname:y,search:f,hash:h,state:p,key:w},navigationType:o}},[s,c,f,h,p,w,o]);return S==null?null:N.createElement(Pa.Provider,{value:u},N.createElement(Jc.Provider,{children:r,value:S}))}function DP(e){let{children:t,location:r}=e;return RP(Yp(t),r)}new Promise(()=>{});function Yp(e,t){t===void 0&&(t=[]);let r=[];return N.Children.forEach(e,(n,o)=>{if(!N.isValidElement(n))return;let i=[...t,o];if(n.type===N.Fragment){r.push.apply(r,Yp(n.props.children,i));return}n.type!==hr&&mt(!1),!n.props.index||!n.props.children||mt(!1);let a={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(a.children=Yp(n.props.children,i)),r.push(a)}),r}/** + * React Router DOM v6.15.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Qp(){return Qp=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}function WP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function BP(e,t){return e.button===0&&(!t||t==="_self")&&!WP(e)}const UP=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],HP="startTransition",i_=ra[HP];function qP(e){let{basename:t,children:r,future:n,window:o}=e,i=N.useRef();i.current==null&&(i.current=Kk({window:o,v5Compat:!0}));let a=i.current,[s,u]=N.useState({action:a.action,location:a.location}),{v7_startTransition:c}=n||{},f=N.useCallback(h=>{c&&i_?i_(()=>u(h)):u(h)},[u,c]);return N.useLayoutEffect(()=>a.listen(f),[a,f]),N.createElement($P,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:a})}const GP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",VP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Hr=N.forwardRef(function(t,r){let{onClick:n,relative:o,reloadDocument:i,replace:a,state:s,target:u,to:c,preventScrollReset:f}=t,h=FP(t,UP),{basename:p}=N.useContext(Pa),w,S=!1;if(typeof c=="string"&&VP.test(c)&&(w=c,GP))try{let m=new URL(window.location.href),_=c.startsWith("//")?new URL(m.protocol+c):new URL(c),T=pv(_.pathname,p);_.origin===m.origin&&T!=null?c=T+_.search+_.hash:S=!0}catch{}let y=SP(c,{relative:o}),C=KP(c,{replace:a,state:s,target:u,preventScrollReset:f,relative:o});function g(m){n&&n(m),m.defaultPrevented||C(m)}return N.createElement("a",Qp({},h,{href:w||y,onClick:S||i?n:g,ref:r,target:u}))});var a_;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(a_||(a_={}));var l_;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(l_||(l_={}));function KP(e,t){let{target:r,replace:n,state:o,preventScrollReset:i,relative:a}=t===void 0?{}:t,s=wP(),u=Zc(),c=Ox(e,{relative:a});return N.useCallback(f=>{if(BP(f,r)){f.preventDefault();let h=n!==void 0?n:sc(u)===sc(c);s(e,{replace:h,state:o,preventScrollReset:i,relative:a})}},[u,s,c,n,o,r,e,i,a])}/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var mr=function(){return mr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n0?Et(Ia,--ar):0,ca--,dt===10&&(ca=1,tf--),dt}function _r(){return dt=ar2||Jl(dt)>3?"":" "}function uI(e,t){for(;--t&&_r()&&!(dt<48||dt>102||dt>57&&dt<65||dt>70&&dt<97););return vs(e,Eu()+(t<6&&yn()==32&&_r()==32))}function Zp(e){for(;_r();)switch(dt){case e:return ar;case 34:case 39:e!==34&&e!==39&&Zp(dt);break;case 40:e===41&&Zp(e);break;case 92:_r();break}return ar}function cI(e,t){for(;_r()&&e+dt!==47+10;)if(e+dt===42+42&&yn()===47)break;return"/*"+vs(t,ar-1)+"*"+ef(e===47?e:_r())}function fI(e){for(;!Jl(yn());)_r();return vs(e,ar)}function s_(e){return Lx(ku("",null,null,null,[""],e=Mx(e),0,[0],e))}function ku(e,t,r,n,o,i,a,s,u){for(var c=0,f=0,h=a,p=0,w=0,S=0,y=1,C=1,g=1,m=0,_="",T=o,O=i,k=n,b=_;C;)switch(S=m,m=_r()){case 40:if(S!=108&&Et(b,h-1)==58){Jp(b+=je(Ou(m),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:b+=Ou(m);break;case 9:case 10:case 13:case 32:b+=sI(S);break;case 92:b+=uI(Eu()-1,7);continue;case 47:switch(yn()){case 42:case 47:nu(dI(cI(_r(),Eu()),t,r),u);break;default:b+="/"}break;case 123*y:s[c++]=cn(b)*g;case 125*y:case 59:case 0:switch(m){case 0:case 125:C=0;case 59+f:w>0&&cn(b)-h&&nu(w>32?c_(b+";",n,r,h-1):c_(je(b," ","")+";",n,r,h-2),u);break;case 59:b+=";";default:if(nu(k=u_(b,t,r,c,f,o,s,_,T=[],O=[],h),i),m===123)if(f===0)ku(b,t,k,k,T,i,h,s,O);else switch(p===99&&Et(b,3)===110?100:p){case 100:case 109:case 115:ku(e,k,k,n&&nu(u_(e,k,k,0,0,o,s,_,o,T=[],h),O),o,O,h,s,n?T:O);break;default:ku(b,k,k,k,[""],O,0,s,O)}}c=f=w=0,y=g=1,_=b="",h=a;break;case 58:h=1+cn(b),w=S;default:if(y<1){if(m==123)--y;else if(m==125&&y++==0&&lI()==125)continue}switch(b+=ef(m),m*y){case 38:g=f>0?1:(b+="\f",-1);break;case 44:s[c++]=(cn(b)-1)*g,g=1;break;case 64:yn()===45&&(b+=Ou(_r())),p=yn(),f=h=cn(_=b+=fI(Eu())),m++;break;case 45:S===45&&cn(b)==2&&(y=0)}}return i}function u_(e,t,r,n,o,i,a,s,u,c,f){for(var h=o-1,p=o===0?i:[""],w=_v(p),S=0,y=0,C=0;S0?p[g]+" "+m:je(m,/&\f/g,p[g])))&&(u[C++]=_);return rf(e,t,r,o===0?gv:s,u,c,f)}function dI(e,t,r){return rf(e,t,r,Ix,ef(aI()),Xl(e,2,-2),0)}function c_(e,t,r,n){return rf(e,t,r,yv,Xl(e,0,n),Xl(e,n+1,-1),n)}function Vo(e,t){for(var r="",n=_v(e),o=0;o6)switch(Et(e,t+1)){case 109:if(Et(e,t+4)!==45)break;case 102:return je(e,/(.+:)(.+)-([^]+)/,"$1"+Pe+"$2-$3$1"+fc+(Et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Jp(e,"stretch")?Nx(je(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Et(e,t+1)!==115)break;case 6444:switch(Et(e,cn(e)-3-(~Jp(e,"!important")&&10))){case 107:return je(e,":",":"+Pe)+e;case 101:return je(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Pe+(Et(e,14)===45?"inline-":"")+"box$3$1"+Pe+"$2$3$1"+Nt+"$2box$3")+e}break;case 5936:switch(Et(e,t+11)){case 114:return Pe+e+Nt+je(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Pe+e+Nt+je(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Pe+e+Nt+je(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Pe+e+Nt+e+e}return e}var SI=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case yv:t.return=Nx(t.value,t.length);break;case zx:return Vo([nl(t,{value:je(t.value,"@","@"+Pe)})],o);case gv:if(t.length)return iI(t.props,function(i){switch(oI(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Vo([nl(t,{props:[je(i,/:(read-\w+)/,":"+fc+"$1")]})],o);case"::placeholder":return Vo([nl(t,{props:[je(i,/:(plac\w+)/,":"+Pe+"input-$1")]}),nl(t,{props:[je(i,/:(plac\w+)/,":"+fc+"$1")]}),nl(t,{props:[je(i,/:(plac\w+)/,Nt+"input-$1")]})],o)}return""})}},Pu=typeof document<"u",wI=Pu?void 0:pI(function(){return vv(function(){var e={};return function(t){return e[t]}})}),bI=[SI],$x=function(t){var r=t.key;if(Pu&&r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(T){var O=T.getAttribute("data-emotion");O.indexOf(" ")!==-1&&(document.head.appendChild(T),T.setAttribute("data-s",""))})}var o=t.stylisPlugins||bI,i={},a,s=[];Pu&&(a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(T){for(var O=T.getAttribute("data-emotion").split(" "),k=1;k=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var II={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},zI=/[A-Z]|^ms/g,jI=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Wx=function(t){return t.charCodeAt(1)===45},m_=function(t){return t!=null&&typeof t!="boolean"},Zd=vv(function(e){return Wx(e)?e:e.replace(zI,"-$&").toLowerCase()}),v_=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(jI,function(n,o,i){return fn={name:o,styles:i,next:fn},o})}return II[t]!==1&&!Wx(t)&&typeof r=="number"&&r!==0?r+"px":r};function Zl(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return fn={name:r.name,styles:r.styles,next:fn},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)fn={name:n.name,styles:n.styles,next:fn},n=n.next;var o=r.styles+";";return o}return AI(e,t,r)}case"function":{if(e!==void 0){var i=fn,a=r(e);return fn=i,Zl(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function AI(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o96?LI:NI},__=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},$I=typeof document<"u",DI=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;Fx(r,n,o);var i=RI(function(){return kI(r,n,o)});if(!$I&&i!==void 0){for(var a,s=n.name,u=n.next;u!==void 0;)s+=" "+u.name,u=u.next;return N.createElement("style",(a={},a["data-emotion"]=r.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=r.sheet.nonce,a))}return null},FI=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=__(t,r,n),u=s||y_(o),c=!u("as");return function(){var f=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)h.push.apply(h,f);else{h.push(f[0][0]);for(var p=f.length,w=1;w"u")return!1;var t=$r(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function y2(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!jr(i)||!xn(i)||(Object.assign(i.style,n),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function _2(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],i=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=a.reduce(function(u,c){return u[c]="",u},{});!jr(o)||!xn(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(u){o.removeAttribute(u)}))})}}var S2={name:"applyStyles",enabled:!0,phase:"write",fn:y2,effect:_2,requires:["computeStyles"]};function _n(e){return e.split("-")[0]}var Ko=Math.max,pc=Math.min,da=Math.round;function tm(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Xx(){return!/^((?!chrome|android).)*safari/i.test(tm())}function ha(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&jr(e)&&(o=e.offsetWidth>0&&da(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&da(n.height)/e.offsetHeight||1);var a=ni(e)?$r(e):window,s=a.visualViewport,u=!Xx()&&r,c=(n.left+(u&&s?s.offsetLeft:0))/o,f=(n.top+(u&&s?s.offsetTop:0))/i,h=n.width/o,p=n.height/i;return{width:h,height:p,top:f,right:c+h,bottom:f+p,left:c,x:c,y:f}}function xv(e){var t=ha(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Jx(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&bv(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Un(e){return $r(e).getComputedStyle(e)}function w2(e){return["table","td","th"].indexOf(xn(e))>=0}function ko(e){return((ni(e)?e.ownerDocument:e.document)||window.document).documentElement}function of(e){return xn(e)==="html"?e:e.assignedSlot||e.parentNode||(bv(e)?e.host:null)||ko(e)}function M_(e){return!jr(e)||Un(e).position==="fixed"?null:e.offsetParent}function b2(e){var t=/firefox/i.test(tm()),r=/Trident/i.test(tm());if(r&&jr(e)){var n=Un(e);if(n.position==="fixed")return null}var o=of(e);for(bv(o)&&(o=o.host);jr(o)&&["html","body"].indexOf(xn(o))<0;){var i=Un(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function ys(e){for(var t=$r(e),r=M_(e);r&&w2(r)&&Un(r).position==="static";)r=M_(r);return r&&(xn(r)==="html"||xn(r)==="body"&&Un(r).position==="static")?t:r||b2(e)||t}function Cv(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ol(e,t,r){return Ko(e,pc(t,r))}function x2(e,t,r){var n=Ol(e,t,r);return n>r?r:n}function Zx(){return{top:0,right:0,bottom:0,left:0}}function eC(e){return Object.assign({},Zx(),e)}function tC(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var C2=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,eC(typeof t!="number"?t:tC(t,gs))};function R2(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=_n(r.placement),u=Cv(s),c=[ir,Nr].indexOf(s)>=0,f=c?"height":"width";if(!(!i||!a)){var h=C2(o.padding,r),p=xv(i),w=u==="y"?or:ir,S=u==="y"?Lr:Nr,y=r.rects.reference[f]+r.rects.reference[u]-a[u]-r.rects.popper[f],C=a[u]-r.rects.reference[u],g=ys(i),m=g?u==="y"?g.clientHeight||0:g.clientWidth||0:0,_=y/2-C/2,T=h[w],O=m-p[f]-h[S],k=m/2-p[f]/2+_,b=Ol(T,k,O),E=u;r.modifiersData[n]=(t={},t[E]=b,t.centerOffset=b-k,t)}}function T2(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Jx(t.elements.popper,o)&&(t.elements.arrow=o))}var E2={name:"arrow",enabled:!0,phase:"main",fn:R2,effect:T2,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pa(e){return e.split("-")[1]}var O2={top:"auto",right:"auto",bottom:"auto",left:"auto"};function k2(e){var t=e.x,r=e.y,n=window,o=n.devicePixelRatio||1;return{x:da(t*o)/o||0,y:da(r*o)/o||0}}function L_(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,h=e.isFixed,p=a.x,w=p===void 0?0:p,S=a.y,y=S===void 0?0:S,C=typeof f=="function"?f({x:w,y}):{x:w,y};w=C.x,y=C.y;var g=a.hasOwnProperty("x"),m=a.hasOwnProperty("y"),_=ir,T=or,O=window;if(c){var k=ys(r),b="clientHeight",E="clientWidth";if(k===$r(r)&&(k=ko(r),Un(k).position!=="static"&&s==="absolute"&&(b="scrollHeight",E="scrollWidth")),k=k,o===or||(o===ir||o===Nr)&&i===es){T=Lr;var P=h&&k===O&&O.visualViewport?O.visualViewport.height:k[b];y-=P-n.height,y*=u?1:-1}if(o===ir||(o===or||o===Lr)&&i===es){_=Nr;var I=h&&k===O&&O.visualViewport?O.visualViewport.width:k[E];w-=I-n.width,w*=u?1:-1}}var M=Object.assign({position:s},c&&O2),F=f===!0?k2({x:w,y}):{x:w,y};if(w=F.x,y=F.y,u){var q;return Object.assign({},M,(q={},q[T]=m?"0":"",q[_]=g?"0":"",q.transform=(O.devicePixelRatio||1)<=1?"translate("+w+"px, "+y+"px)":"translate3d("+w+"px, "+y+"px, 0)",q))}return Object.assign({},M,(t={},t[T]=m?y+"px":"",t[_]=g?w+"px":"",t.transform="",t))}function P2(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,u=s===void 0?!0:s,c={placement:_n(t.placement),variation:pa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,L_(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,L_(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var I2={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:P2,data:{}},ou={passive:!0};function z2(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,u=$r(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(f){f.addEventListener("scroll",r.update,ou)}),s&&u.addEventListener("resize",r.update,ou),function(){i&&c.forEach(function(f){f.removeEventListener("scroll",r.update,ou)}),s&&u.removeEventListener("resize",r.update,ou)}}var j2={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:z2,data:{}},A2={left:"right",right:"left",bottom:"top",top:"bottom"};function Iu(e){return e.replace(/left|right|bottom|top/g,function(t){return A2[t]})}var M2={start:"end",end:"start"};function N_(e){return e.replace(/start|end/g,function(t){return M2[t]})}function Rv(e){var t=$r(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Tv(e){return ha(ko(e)).left+Rv(e).scrollLeft}function L2(e,t){var r=$r(e),n=ko(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,u=0;if(o){i=o.width,a=o.height;var c=Xx();(c||!c&&t==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:s+Tv(e),y:u}}function N2(e){var t,r=ko(e),n=Rv(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Ko(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Ko(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+Tv(e),u=-n.scrollTop;return Un(o||r).direction==="rtl"&&(s+=Ko(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}function Ev(e){var t=Un(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function rC(e){return["html","body","#document"].indexOf(xn(e))>=0?e.ownerDocument.body:jr(e)&&Ev(e)?e:rC(of(e))}function kl(e,t){var r;t===void 0&&(t=[]);var n=rC(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=$r(n),a=o?[i].concat(i.visualViewport||[],Ev(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(kl(of(a)))}function rm(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function $2(e,t){var r=ha(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function $_(e,t,r){return t===Yx?rm(L2(e,r)):ni(t)?$2(t,r):rm(N2(ko(e)))}function D2(e){var t=kl(of(e)),r=["absolute","fixed"].indexOf(Un(e).position)>=0,n=r&&jr(e)?ys(e):e;return ni(n)?t.filter(function(o){return ni(o)&&Jx(o,n)&&xn(o)!=="body"}):[]}function F2(e,t,r,n){var o=t==="clippingParents"?D2(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(u,c){var f=$_(e,c,n);return u.top=Ko(f.top,u.top),u.right=pc(f.right,u.right),u.bottom=pc(f.bottom,u.bottom),u.left=Ko(f.left,u.left),u},$_(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function nC(e){var t=e.reference,r=e.element,n=e.placement,o=n?_n(n):null,i=n?pa(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(o){case or:u={x:a,y:t.y-r.height};break;case Lr:u={x:a,y:t.y+t.height};break;case Nr:u={x:t.x+t.width,y:s};break;case ir:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var c=o?Cv(o):null;if(c!=null){var f=c==="y"?"height":"width";switch(i){case fa:u[c]=u[c]-(t[f]/2-r[f]/2);break;case es:u[c]=u[c]+(t[f]/2-r[f]/2);break}}return u}function ts(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,u=s===void 0?a2:s,c=r.rootBoundary,f=c===void 0?Yx:c,h=r.elementContext,p=h===void 0?ol:h,w=r.altBoundary,S=w===void 0?!1:w,y=r.padding,C=y===void 0?0:y,g=eC(typeof C!="number"?C:tC(C,gs)),m=p===ol?l2:ol,_=e.rects.popper,T=e.elements[S?m:p],O=F2(ni(T)?T:T.contextElement||ko(e.elements.popper),u,f,a),k=ha(e.elements.reference),b=nC({reference:k,element:_,strategy:"absolute",placement:o}),E=rm(Object.assign({},_,b)),P=p===ol?E:k,I={top:O.top-P.top+g.top,bottom:P.bottom-O.bottom+g.bottom,left:O.left-P.left+g.left,right:P.right-O.right+g.right},M=e.modifiersData.offset;if(p===ol&&M){var F=M[o];Object.keys(I).forEach(function(q){var G=[Nr,Lr].indexOf(q)>=0?1:-1,ue=[or,Lr].indexOf(q)>=0?"y":"x";I[q]+=F[ue]*G})}return I}function W2(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,c=u===void 0?Qx:u,f=pa(n),h=f?s?A_:A_.filter(function(S){return pa(S)===f}):gs,p=h.filter(function(S){return c.indexOf(S)>=0});p.length===0&&(p=h);var w=p.reduce(function(S,y){return S[y]=ts(e,{placement:y,boundary:o,rootBoundary:i,padding:a})[_n(y)],S},{});return Object.keys(w).sort(function(S,y){return w[S]-w[y]})}function B2(e){if(_n(e)===wv)return[];var t=Iu(e);return[N_(e),t,N_(t)]}function U2(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,u=r.fallbackPlacements,c=r.padding,f=r.boundary,h=r.rootBoundary,p=r.altBoundary,w=r.flipVariations,S=w===void 0?!0:w,y=r.allowedAutoPlacements,C=t.options.placement,g=_n(C),m=g===C,_=u||(m||!S?[Iu(C)]:B2(C)),T=[C].concat(_).reduce(function(tt,ye){return tt.concat(_n(ye)===wv?W2(t,{placement:ye,boundary:f,rootBoundary:h,padding:c,flipVariations:S,allowedAutoPlacements:y}):ye)},[]),O=t.rects.reference,k=t.rects.popper,b=new Map,E=!0,P=T[0],I=0;I=0,ue=G?"width":"height",se=ts(t,{placement:M,boundary:f,rootBoundary:h,altBoundary:p,padding:c}),ge=G?q?Nr:ir:q?Lr:or;O[ue]>k[ue]&&(ge=Iu(ge));var Z=Iu(ge),ie=[];if(i&&ie.push(se[F]<=0),s&&ie.push(se[ge]<=0,se[Z]<=0),ie.every(function(tt){return tt})){P=M,E=!1;break}b.set(M,ie)}if(E)for(var fe=S?3:1,Se=function(ye){var H=T.find(function(V){var U=b.get(V);if(U)return U.slice(0,ye).every(function(J){return J})});if(H)return P=H,"break"},Ee=fe;Ee>0;Ee--){var xt=Se(Ee);if(xt==="break")break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}}var H2={name:"flip",enabled:!0,phase:"main",fn:U2,requiresIfExists:["offset"],data:{_skip:!1}};function D_(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function F_(e){return[or,Nr,Lr,ir].some(function(t){return e[t]>=0})}function q2(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ts(t,{elementContext:"reference"}),s=ts(t,{altBoundary:!0}),u=D_(a,n),c=D_(s,o,i),f=F_(u),h=F_(c);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}var G2={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:q2};function V2(e,t,r){var n=_n(e),o=[ir,or].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[ir,Nr].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function K2(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=Qx.reduce(function(f,h){return f[h]=V2(h,t.rects,i),f},{}),s=a[t.placement],u=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}var Y2={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:K2};function Q2(e){var t=e.state,r=e.name;t.modifiersData[r]=nC({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var X2={name:"popperOffsets",enabled:!0,phase:"read",fn:Q2,data:{}};function J2(e){return e==="x"?"y":"x"}function Z2(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,u=r.boundary,c=r.rootBoundary,f=r.altBoundary,h=r.padding,p=r.tether,w=p===void 0?!0:p,S=r.tetherOffset,y=S===void 0?0:S,C=ts(t,{boundary:u,rootBoundary:c,padding:h,altBoundary:f}),g=_n(t.placement),m=pa(t.placement),_=!m,T=Cv(g),O=J2(T),k=t.modifiersData.popperOffsets,b=t.rects.reference,E=t.rects.popper,P=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,I=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(k){if(i){var q,G=T==="y"?or:ir,ue=T==="y"?Lr:Nr,se=T==="y"?"height":"width",ge=k[T],Z=ge+C[G],ie=ge-C[ue],fe=w?-E[se]/2:0,Se=m===fa?b[se]:E[se],Ee=m===fa?-E[se]:-b[se],xt=t.elements.arrow,tt=w&&xt?xv(xt):{width:0,height:0},ye=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Zx(),H=ye[G],V=ye[ue],U=Ol(0,b[se],tt[se]),J=_?b[se]/2-fe-U-H-I.mainAxis:Se-U-H-I.mainAxis,B=_?-b[se]/2+fe+U+V+I.mainAxis:Ee+U+V+I.mainAxis,de=t.elements.arrow&&ys(t.elements.arrow),oe=de?T==="y"?de.clientTop||0:de.clientLeft||0:0,te=(q=M==null?void 0:M[T])!=null?q:0,re=ge+J-te-oe,K=ge+B-te,X=Ol(w?pc(Z,re):Z,ge,w?Ko(ie,K):ie);k[T]=X,F[T]=X-ge}if(s){var ae,pe=T==="x"?or:ir,me=T==="x"?Lr:Nr,ve=k[O],we=O==="y"?"height":"width",Te=ve+C[pe],Me=ve-C[me],Ue=[or,ir].indexOf(g)!==-1,sr=(ae=M==null?void 0:M[O])!=null?ae:0,Tr=Ue?Te:ve-b[we]-E[we]-sr+I.altAxis,Er=Ue?ve+b[we]+E[we]-sr-I.altAxis:Me,Jt=w&&Ue?x2(Tr,ve,Er):Ol(w?Tr:Te,ve,w?Er:Me);k[O]=Jt,F[O]=Jt-ve}t.modifiersData[n]=F}}var ez={name:"preventOverflow",enabled:!0,phase:"main",fn:Z2,requiresIfExists:["offset"]};function tz(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function rz(e){return e===$r(e)||!jr(e)?Rv(e):tz(e)}function nz(e){var t=e.getBoundingClientRect(),r=da(t.width)/e.offsetWidth||1,n=da(t.height)/e.offsetHeight||1;return r!==1||n!==1}function oz(e,t,r){r===void 0&&(r=!1);var n=jr(t),o=jr(t)&&nz(t),i=ko(t),a=ha(e,o,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((xn(t)!=="body"||Ev(i))&&(s=rz(t)),jr(t)?(u=ha(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=Tv(i))),{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function iz(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&o(u)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function az(e){var t=iz(e);return g2.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function lz(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function sz(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var W_={placement:"bottom",modifiers:[],strategy:"absolute"};function B_(){for(var e=arguments.length,t=new Array(e),r=0;r .`,` { + `,`; + + `,`; + } +`],[` + position: relative; + width: 100%; + + `,`; + + `,`; + + > .`,` { + `,`; + + `,`; + } +`])),function(e){var t=e.menuItemStyles;return t},function(e){var t=e.rootStyles;return t},Le.button,function(e){var t=e.level,r=e.disabled,n=e.active,o=e.collapsed,i=e.rtl;return oC({level:t,disabled:r,active:n,collapsed:o,rtl:i})},function(e){var t=e.buttonStyles;return t}),mz=function(e,t){var r,n=e.children,o=e.className,i=e.label,a=e.icon,s=e.title,u=e.prefix,c=e.suffix,f=e.open,h=e.defaultOpen,p=e.active,w=p===void 0?!1:p,S=e.disabled,y=S===void 0?!1:S,C=e.rootStyles,g=e.component,m=e.onOpenChange,_=e.onClick,T=e.onKeyUp,O=ri(e,["children","className","label","icon","title","prefix","suffix","open","defaultOpen","active","disabled","rootStyles","component","onOpenChange","onClick","onKeyUp"]),k=ne.useContext(hc),b=ne.useContext(nf),E=b.collapsed,P=b.rtl,I=b.transitionDuration,M=Sv(),F=M.renderExpandIcon,q=M.closeOnClick,G=M.menuItemStyles,ue=M.transitionDuration,se=ne.useState(!!h),ge=se[0],Z=se[1],ie=ne.useState(!1),fe=ie[0],Se=ie[1],Ee=ne.useState(!1),xt=Ee[0],tt=Ee[1],ye=ne.useRef(null),H=ne.useRef(null),V=ne.useRef(),U=dz({level:k,buttonRef:ye,contentRef:H}).popperInstance,J=function(){var X=H.current;if(X){X.style.display="block",X.style.overflow="hidden",X.style.height="auto";var ae=X.offsetHeight;X.style.height="0px",X.offsetHeight,X.style.height="".concat(ae,"px"),V.current=setTimeout(function(){X.style.overflow="auto",X.style.height="auto"},ue)}},B=function(){var X=H.current;X&&(X.style.overflow="hidden",X.style.height="".concat(X.offsetHeight,"px"),X.offsetHeight,X.style.height="0px",V.current=setTimeout(function(){X.style.overflow="auto",X.style.display="none"},ue))},de=function(){if(!(k===0&&E)){clearTimeout(Number(V.current));var X=f??ge;X?B():J(),m==null||m(!X),typeof f>"u"&&Z(!ge)}},oe=function(X){_==null||_(X),de()},te=function(X){T==null||T(X),X.key==="Enter"&&de()},re=function(X){if(G){var ae={level:k,disabled:y,active:w,isSubmenu:!0,open:f??ge},pe=G.root,me=G.button,ve=G.label,we=G.icon,Te=G.prefix,Me=G.suffix,Ue=G.subMenuContent,sr=G.SubMenuExpandIcon;switch(X){case"root":return typeof pe=="function"?pe(ae):pe;case"button":return typeof me=="function"?me(ae):me;case"label":return typeof ve=="function"?ve(ae):ve;case"icon":return typeof we=="function"?we(ae):we;case"prefix":return typeof Te=="function"?Te(ae):Te;case"suffix":return typeof Me=="function"?Me(ae):Me;case"SubMenuExpandIcon":return typeof sr=="function"?sr(ae):sr;case"subMenuContent":return typeof Ue=="function"?Ue(ae):Ue;default:return}}};ne.useEffect(function(){setTimeout(function(){return U==null?void 0:U.update()},I),E&&k===0&&Se(!1)},[E,k,P,I,U]),ne.useEffect(function(){var X=function(ve){var we,Te,Me;!fe&&(!((we=ye.current)===null||we===void 0)&&we.contains(ve))?Se(!0):(q&&!(!((Te=ve.closest(".".concat(Le.menuItemRoot)))===null||Te===void 0)&&Te.classList.contains(Le.subMenuRoot))||!(!((Me=H.current)===null||Me===void 0)&&Me.contains(ve))&&fe)&&Se(!1)},ae=function(ve){X(ve.target)},pe=function(ve){ve.key==="Enter"?X(ve.target):ve.key==="Escape"&&Se(!1)},me=function(){document.removeEventListener("click",ae),document.removeEventListener("keyup",pe)};return me(),E&&k===0&&(document.addEventListener("click",ae,!1),document.addEventListener("keyup",pe,!1)),function(){me()}},[E,k,q,fe]),ne.useEffect(function(){tt(!0)},[]);var K=(r={},r[Le.active]=w,r[Le.disabled]=y,r[Le.open]=f??ge,r);return ne.createElement(pz,{ref:t,className:gt(Le.menuItemRoot,Le.subMenuRoot,K,o),menuItemStyles:re("root"),level:k,collapsed:E,rtl:P,disabled:y,active:w,buttonStyles:re("button"),rootStyles:C},ne.createElement(iC,mr({"data-testid":"".concat(Le.button,"-test-id"),ref:ye,title:s,className:gt(Le.button,K),onClick:oe,onKeyUp:te,component:g,tabIndex:0},O),a&&ne.createElement(Gx,{rtl:P,className:gt(Le.icon,K),rootStyles:re("icon")},a),u&&ne.createElement(Vx,{collapsed:E,transitionDuration:I,firstLevel:k===0,className:gt(Le.prefix,K),rtl:P,rootStyles:re("prefix")},u),ne.createElement(qx,{className:gt(Le.label,K),rootStyles:re("label")},i),c&&ne.createElement(Kx,{collapsed:E,transitionDuration:I,firstLevel:k===0,className:gt(Le.suffix,K),rootStyles:re("suffix")},c),ne.createElement(n2,{rtl:P,className:gt(Le.SubMenuExpandIcon,K),collapsed:E,level:k,rootStyles:re("SubMenuExpandIcon")},F?F({level:k,disabled:y,active:w,open:f??ge}):E&&k===0?ne.createElement(i2,null):ne.createElement(o2,{rtl:P,open:f??ge}))),ne.createElement(r2,{ref:H,openWhenCollapsed:fe,open:f??ge,firstLevel:k===0,collapsed:E,defaultOpen:f&&!xt||h,className:gt(Le.subMenuContent,K),rootStyles:re("subMenuContent")},ne.createElement(hc.Provider,{value:k+1},n)))};ne.forwardRef(mz);var U_,vz=wt.li(H_||(H_=Bt([` + width: 100%; + position: relative; + + `,`; + + `,`; + + > .`,` { + `,`; + + `,`; + } +`],[` + width: 100%; + position: relative; + + `,`; + + `,`; + + > .`,` { + `,`; + + `,`; + } +`])),function(e){var t=e.menuItemStyles;return t},function(e){var t=e.rootStyles;return t},Le.button,function(e){var t=e.level,r=e.disabled,n=e.active,o=e.collapsed,i=e.rtl;return oC({level:t,disabled:r,active:n,collapsed:o,rtl:i})},function(e){var t=e.buttonStyles;return t}),gz=function(e,t){var r,n=e.children,o=e.icon,i=e.className,a=e.prefix,s=e.suffix,u=e.active,c=u===void 0?!1:u,f=e.disabled,h=f===void 0?!1:f,p=e.component,w=e.rootStyles,S=ri(e,["children","icon","className","prefix","suffix","active","disabled","component","rootStyles"]),y=ne.useContext(hc),C=ne.useContext(nf),g=C.collapsed,m=C.rtl,_=C.transitionDuration,T=Sv().menuItemStyles,O=function(b){if(T){var E={level:y,disabled:h,active:c,isSubmenu:!1},P=T.root,I=T.button,M=T.label,F=T.icon,q=T.prefix,G=T.suffix;switch(b){case"root":return typeof P=="function"?P(E):P;case"button":return typeof I=="function"?I(E):I;case"label":return typeof M=="function"?M(E):M;case"icon":return typeof F=="function"?F(E):F;case"prefix":return typeof q=="function"?q(E):q;case"suffix":return typeof G=="function"?G(E):G;default:return}}},k=(r={},r[Le.active]=c,r[Le.disabled]=h,r);return ne.createElement(vz,{ref:t,className:gt(Le.menuItemRoot,k,i),menuItemStyles:O("root"),level:y,collapsed:g,rtl:m,disabled:h,active:c,buttonStyles:O("button"),rootStyles:w},ne.createElement(iC,mr({className:gt(Le.button,k),"data-testid":"".concat(Le.button,"-test-id"),component:p,tabIndex:0},S),o&&ne.createElement(Gx,{rtl:m,className:gt(Le.icon,k),rootStyles:O("icon")},o),a&&ne.createElement(Vx,{collapsed:g,transitionDuration:_,firstLevel:y===0,className:gt(Le.prefix,k),rtl:m,rootStyles:O("prefix")},a),ne.createElement(qx,{className:gt(Le.label,k),rootStyles:O("label")},n),s&&ne.createElement(Kx,{collapsed:g,transitionDuration:_,firstLevel:y===0,className:gt(Le.suffix,k),rootStyles:O("suffix")},s)))},Ur=ne.forwardRef(gz),H_,Ov={},aC={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(aC);var en=aC.exports,eh={};function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[r]=lC(e[r])}),t}function $n(e,t,r={clone:!0}){const n=r.clone?_e({},e):e;return Ii(e)&&Ii(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Ii(t[o])&&o in e&&Ii(e[o])?n[o]=$n(e[o],t[o],r):r.clone?n[o]=Ii(t[o])?lC(t[o]):t[o]:n[o]=t[o])}),n}var th={exports:{}},rh,q_;function yz(){if(q_)return rh;q_=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return rh=e,rh}var nh,G_;function _z(){if(G_)return nh;G_=1;var e=yz();function t(){}function r(){}return r.resetWarningCache=t,nh=function(){function n(a,s,u,c,f,h){if(h!==e){var p=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 p.name="Invariant Violation",p}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},nh}var V_;function sC(){return V_||(V_=1,th.exports=_z()()),th.exports}sC();function ma(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;rr==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function xz(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function Cz(e,t){return()=>null}function Rz(e,t){return N.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function cC(e){return e&&e.ownerDocument||document}function Tz(e){return cC(e).defaultView||window}function Ez(e,t){return()=>null}function fC(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Oz=typeof window<"u"?N.useLayoutEffect:N.useEffect,dC=Oz;let K_=0;function kz(e){const[t,r]=N.useState(e),n=e||t;return N.useEffect(()=>{t==null&&(K_+=1,r(`mui-${K_}`))},[t]),n}const Y_=ra["useId".toString()];function Pz(e){if(Y_!==void 0){const t=Y_();return e??t}return kz(e)}function Iz(e,t,r,n,o){return null}function zz({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=N.useRef(e!==void 0),[i,a]=N.useState(t),s=o?e:i,u=N.useCallback(c=>{o||a(c)},[]);return[s,u]}function jz(e){const t=N.useRef(e);return dC(()=>{t.current=e}),N.useCallback((...r)=>(0,t.current)(...r),[])}function Az(...e){return N.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{fC(r,t)})},e)}let vf=!0,nm=!1,Q_;const Mz={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 Lz(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&Mz[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Nz(e){e.metaKey||e.altKey||e.ctrlKey||(vf=!0)}function oh(){vf=!1}function $z(){this.visibilityState==="hidden"&&nm&&(vf=!0)}function Dz(e){e.addEventListener("keydown",Nz,!0),e.addEventListener("mousedown",oh,!0),e.addEventListener("pointerdown",oh,!0),e.addEventListener("touchstart",oh,!0),e.addEventListener("visibilitychange",$z,!0)}function Fz(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return vf||Lz(t)}function Wz(){const e=N.useCallback(o=>{o!=null&&Dz(o.ownerDocument)},[]),t=N.useRef(!1);function r(){return t.current?(nm=!0,window.clearTimeout(Q_),Q_=window.setTimeout(()=>{nm=!1},100),t.current=!1,!0):!1}function n(o){return Fz(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function hC(e,t){const r=_e({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=_e({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=_e({},i),Object.keys(o).forEach(a=>{r[n][a]=hC(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Bz(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const s=t(a);s!==""&&i.push(s),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}const X_=e=>e,Uz=()=>{let e=X_;return{configure(t){e=t},generate(t){return e(t)},reset(){e=X_}}},Hz=Uz(),pC=Hz,qz={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function mC(e,t,r="Mui"){const n=qz[t];return n?`${r}-${n}`:`${pC.generate(e)}-${t}`}function Gz(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=mC(e,o,r)}),n}function Cn(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i=0)&&(r[o]=e[o]);return r}function vC(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t0?Ot(za,--lr):0,va--,ht===10&&(va=1,yf--),ht}function Sr(){return ht=lr2||ns(ht)>3?"":" "}function uj(e,t){for(;--t&&Sr()&&!(ht<48||ht>102||ht>57&&ht<65||ht>70&&ht<97););return _s(e,zu()+(t<6&&wn()==32&&Sr()==32))}function im(e){for(;Sr();)switch(ht){case e:return lr;case 34:case 39:e!==34&&e!==39&&im(ht);break;case 40:e===41&&im(e);break;case 92:Sr();break}return lr}function cj(e,t){for(;Sr()&&e+ht!==47+10;)if(e+ht===42+42&&wn()===47)break;return"/*"+_s(t,lr-1)+"*"+gf(e===47?e:Sr())}function fj(e){for(;!ns(wn());)Sr();return _s(e,lr)}function dj(e){return xC(Au("",null,null,null,[""],e=bC(e),0,[0],e))}function Au(e,t,r,n,o,i,a,s,u){for(var c=0,f=0,h=a,p=0,w=0,S=0,y=1,C=1,g=1,m=0,_="",T=o,O=i,k=n,b=_;C;)switch(S=m,m=Sr()){case 40:if(S!=108&&Ot(b,h-1)==58){om(b+=ze(ju(m),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:b+=ju(m);break;case 9:case 10:case 13:case 32:b+=sj(S);break;case 92:b+=uj(zu()-1,7);continue;case 47:switch(wn()){case 42:case 47:iu(hj(cj(Sr(),zu()),t,r),u);break;default:b+="/"}break;case 123*y:s[c++]=dn(b)*g;case 125*y:case 59:case 0:switch(m){case 0:case 125:C=0;case 59+f:g==-1&&(b=ze(b,/\f/g,"")),w>0&&dn(b)-h&&iu(w>32?Z_(b+";",n,r,h-1):Z_(ze(b," ","")+";",n,r,h-2),u);break;case 59:b+=";";default:if(iu(k=J_(b,t,r,c,f,o,s,_,T=[],O=[],h),i),m===123)if(f===0)Au(b,t,k,k,T,i,h,s,O);else switch(p===99&&Ot(b,3)===110?100:p){case 100:case 108:case 109:case 115:Au(e,k,k,n&&iu(J_(e,k,k,0,0,o,s,_,o,T=[],h),O),o,O,h,s,n?T:O);break;default:Au(b,k,k,k,[""],O,0,s,O)}}c=f=w=0,y=g=1,_=b="",h=a;break;case 58:h=1+dn(b),w=S;default:if(y<1){if(m==123)--y;else if(m==125&&y++==0&&lj()==125)continue}switch(b+=gf(m),m*y){case 38:g=f>0?1:(b+="\f",-1);break;case 44:s[c++]=(dn(b)-1)*g,g=1;break;case 64:wn()===45&&(b+=ju(Sr())),p=wn(),f=h=dn(_=b+=fj(zu())),m++;break;case 45:S===45&&dn(b)==2&&(y=0)}}return i}function J_(e,t,r,n,o,i,a,s,u,c,f){for(var h=o-1,p=o===0?i:[""],w=jv(p),S=0,y=0,C=0;S0?p[g]+" "+m:ze(m,/&\f/g,p[g])))&&(u[C++]=_);return _f(e,t,r,o===0?Iv:s,u,c,f)}function hj(e,t,r){return _f(e,t,r,yC,gf(aj()),rs(e,2,-2),0)}function Z_(e,t,r,n){return _f(e,t,r,zv,rs(e,0,n),rs(e,n+1,-1),n)}function Ji(e,t){for(var r="",n=jv(e),o=0;o6)switch(Ot(e,t+1)){case 109:if(Ot(e,t+4)!==45)break;case 102:return ze(e,/(.+:)(.+)-([^]+)/,"$1"+Ie+"$2-$3$1"+mc+(Ot(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~om(e,"stretch")?CC(ze(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ot(e,t+1)!==115)break;case 6444:switch(Ot(e,dn(e)-3-(~om(e,"!important")&&10))){case 107:return ze(e,":",":"+Ie)+e;case 101:return ze(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ie+(Ot(e,14)===45?"inline-":"")+"box$3$1"+Ie+"$2$3$1"+$t+"$2box$3")+e}break;case 5936:switch(Ot(e,t+11)){case 114:return Ie+e+$t+ze(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ie+e+$t+ze(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ie+e+$t+ze(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ie+e+$t+e+e}return e}var bj=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case zv:t.return=CC(t.value,t.length);break;case _C:return Ji([il(t,{value:ze(t.value,"@","@"+Ie)})],o);case Iv:if(t.length)return ij(t.props,function(i){switch(oj(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ji([il(t,{props:[ze(i,/:(read-\w+)/,":"+mc+"$1")]})],o);case"::placeholder":return Ji([il(t,{props:[ze(i,/:(plac\w+)/,":"+Ie+"input-$1")]}),il(t,{props:[ze(i,/:(plac\w+)/,":"+mc+"$1")]}),il(t,{props:[ze(i,/:(plac\w+)/,$t+"input-$1")]})],o)}return""})}},xj=[bj],Cj=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(y){var C=y.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||xj,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var C=y.getAttribute("data-emotion").split(" "),g=1;g=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Nj={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},$j=/[A-Z]|^ms/g,Dj=/_EMO_([^_]+?)_([^]*?)_EMO_/g,PC=function(t){return t.charCodeAt(1)===45},tS=function(t){return t!=null&&typeof t!="boolean"},ih=gC(function(e){return PC(e)?e:e.replace($j,"-$&").toLowerCase()}),rS=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Dj,function(n,o,i){return hn={name:o,styles:i,next:hn},o})}return Nj[t]!==1&&!PC(t)&&typeof r=="number"&&r!==0?r+"px":r};function os(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return hn={name:r.name,styles:r.styles,next:hn},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)hn={name:n.name,styles:n.styles,next:hn},n=n.next;var o=r.styles+";";return o}return Fj(e,t,r)}case"function":{if(e!==void 0){var i=hn,a=r(e);return hn=i,os(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function Fj(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o96?Gj:Vj},iS=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Kj=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return kC(r,n,o),Hj(function(){return Mj(r,n,o)}),null},Yj=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=iS(t,r,n),u=s||oS(o),c=!u("as");return function(){var f=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)h.push.apply(h,f);else{h.push(f[0][0]);for(var p=f.length,w=1;w{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Zj=["values","unit","step"],eA=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>_e({},r,{[n.key]:n.val}),{})};function tA(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=Cn(e,Zj),i=eA(t),a=Object.keys(i);function s(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function u(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function c(p,w){const S=a.indexOf(w);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(S!==-1&&typeof t[a[S]]=="number"?t[a[S]]:w)-n/100}${r})`}function f(p){return a.indexOf(p)+1`@media (min-width:${Nv[e]}px)`};function Hn(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||aS;return t.reduce((a,s,u)=>(a[i.up(i.keys[u])]=r(t[u]),a),{})}if(typeof t=="object"){const i=n.breakpoints||aS;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||Nv).indexOf(s)!==-1){const u=i.up(s);a[u]=r(t[s],s)}else{const u=s;a[u]=t[u]}return a},{})}return r(t)}function oA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function iA(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Pf(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function vc(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Pf(e,r)||n,t&&(o=t(o,n,e)),o}function Ae(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],u=a.theme,c=Pf(u,n)||{};return Hn(a,s,h=>{let p=vc(c,o,h);return h===p&&typeof h=="string"&&(p=vc(c,o,`${t}${h==="default"?"":Sn(h)}`,h)),r===!1?p:{[r]:p}})};return i.propTypes={},i.filterProps=[t],i}function aA(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const lA={m:"margin",p:"padding"},sA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},lS={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},uA=aA(e=>{if(e.length>2)if(lS[e])e=lS[e];else return[e];const[t,r]=e.split(""),n=lA[t],o=sA[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),$v=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Dv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...$v,...Dv];function Ss(e,t,r,n){var o;const i=(o=Pf(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:i*a:Array.isArray(i)?a=>typeof a=="string"?a:i[a]:typeof i=="function"?i:()=>{}}function jC(e){return Ss(e,"spacing",8)}function ws(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function cA(e,t){return r=>e.reduce((n,o)=>(n[o]=ws(t,r),n),{})}function fA(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=uA(r),i=cA(o,n),a=e[r];return Hn(e,a,i)}function AC(e,t){const r=jC(e.theme);return Object.keys(e).map(n=>fA(e,t,n,r)).reduce(Pl,{})}function rt(e){return AC(e,$v)}rt.propTypes={};rt.filterProps=$v;function nt(e){return AC(e,Dv)}nt.propTypes={};nt.filterProps=Dv;function dA(e=8){if(e.mui)return e;const t=jC({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return r.mui=!0,r}function If(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Pl(o,t[i](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function mn(e){return typeof e!="number"?e:`${e}px solid`}const hA=Ae({prop:"border",themeKey:"borders",transform:mn}),pA=Ae({prop:"borderTop",themeKey:"borders",transform:mn}),mA=Ae({prop:"borderRight",themeKey:"borders",transform:mn}),vA=Ae({prop:"borderBottom",themeKey:"borders",transform:mn}),gA=Ae({prop:"borderLeft",themeKey:"borders",transform:mn}),yA=Ae({prop:"borderColor",themeKey:"palette"}),_A=Ae({prop:"borderTopColor",themeKey:"palette"}),SA=Ae({prop:"borderRightColor",themeKey:"palette"}),wA=Ae({prop:"borderBottomColor",themeKey:"palette"}),bA=Ae({prop:"borderLeftColor",themeKey:"palette"}),zf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ss(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:ws(t,n)});return Hn(e,e.borderRadius,r)}return null};zf.propTypes={};zf.filterProps=["borderRadius"];If(hA,pA,mA,vA,gA,yA,_A,SA,wA,bA,zf);const jf=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ss(e.theme,"spacing",8),r=n=>({gap:ws(t,n)});return Hn(e,e.gap,r)}return null};jf.propTypes={};jf.filterProps=["gap"];const Af=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ss(e.theme,"spacing",8),r=n=>({columnGap:ws(t,n)});return Hn(e,e.columnGap,r)}return null};Af.propTypes={};Af.filterProps=["columnGap"];const Mf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ss(e.theme,"spacing",8),r=n=>({rowGap:ws(t,n)});return Hn(e,e.rowGap,r)}return null};Mf.propTypes={};Mf.filterProps=["rowGap"];const xA=Ae({prop:"gridColumn"}),CA=Ae({prop:"gridRow"}),RA=Ae({prop:"gridAutoFlow"}),TA=Ae({prop:"gridAutoColumns"}),EA=Ae({prop:"gridAutoRows"}),OA=Ae({prop:"gridTemplateColumns"}),kA=Ae({prop:"gridTemplateRows"}),PA=Ae({prop:"gridTemplateAreas"}),IA=Ae({prop:"gridArea"});If(jf,Af,Mf,xA,CA,RA,TA,EA,OA,kA,PA,IA);function Zi(e,t){return t==="grey"?t:e}const zA=Ae({prop:"color",themeKey:"palette",transform:Zi}),jA=Ae({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Zi}),AA=Ae({prop:"backgroundColor",themeKey:"palette",transform:Zi});If(zA,jA,AA);function vr(e){return e<=1&&e!==0?`${e*100}%`:e}const MA=Ae({prop:"width",transform:vr}),Fv=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n;return{maxWidth:((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Nv[r]||vr(r)}};return Hn(e,e.maxWidth,t)}return null};Fv.filterProps=["maxWidth"];const LA=Ae({prop:"minWidth",transform:vr}),NA=Ae({prop:"height",transform:vr}),$A=Ae({prop:"maxHeight",transform:vr}),DA=Ae({prop:"minHeight",transform:vr});Ae({prop:"size",cssProperty:"width",transform:vr});Ae({prop:"size",cssProperty:"height",transform:vr});const FA=Ae({prop:"boxSizing"});If(MA,Fv,LA,NA,$A,DA,FA);const WA={border:{themeKey:"borders",transform:mn},borderTop:{themeKey:"borders",transform:mn},borderRight:{themeKey:"borders",transform:mn},borderBottom:{themeKey:"borders",transform:mn},borderLeft:{themeKey:"borders",transform:mn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:zf},color:{themeKey:"palette",transform:Zi},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Zi},backgroundColor:{themeKey:"palette",transform:Zi},p:{style:nt},pt:{style:nt},pr:{style:nt},pb:{style:nt},pl:{style:nt},px:{style:nt},py:{style:nt},padding:{style:nt},paddingTop:{style:nt},paddingRight:{style:nt},paddingBottom:{style:nt},paddingLeft:{style:nt},paddingX:{style:nt},paddingY:{style:nt},paddingInline:{style:nt},paddingInlineStart:{style:nt},paddingInlineEnd:{style:nt},paddingBlock:{style:nt},paddingBlockStart:{style:nt},paddingBlockEnd:{style:nt},m:{style:rt},mt:{style:rt},mr:{style:rt},mb:{style:rt},ml:{style:rt},mx:{style:rt},my:{style:rt},margin:{style:rt},marginTop:{style:rt},marginRight:{style:rt},marginBottom:{style:rt},marginLeft:{style:rt},marginX:{style:rt},marginY:{style:rt},marginInline:{style:rt},marginInlineStart:{style:rt},marginInlineEnd:{style:rt},marginBlock:{style:rt},marginBlockStart:{style:rt},marginBlockEnd:{style:rt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:jf},rowGap:{style:Mf},columnGap:{style:Af},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:vr},maxWidth:{style:Fv},minWidth:{transform:vr},height:{transform:vr},maxHeight:{transform:vr},minHeight:{transform:vr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Wv=WA;function BA(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function UA(e,t){return typeof e=="function"?e(t):e}function HA(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:u=r,themeKey:c,transform:f,style:h}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const p=Pf(o,c)||{};return h?h(a):Hn(a,n,S=>{let y=vc(p,f,S);return S===y&&typeof S=="string"&&(y=vc(p,f,`${r}${S==="default"?"":Sn(S)}`,S)),u===!1?y:{[u]:y}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Wv;function s(u){let c=u;if(typeof u=="function")c=u(i);else if(typeof u!="object")return u;if(!c)return null;const f=oA(i.breakpoints),h=Object.keys(f);let p=f;return Object.keys(c).forEach(w=>{const S=UA(c[w],i);if(S!=null)if(typeof S=="object")if(a[w])p=Pl(p,e(w,S,i,a));else{const y=Hn({theme:i},S,C=>({[w]:C}));BA(y,S)?p[w]=t({sx:S,theme:i}):p=Pl(p,y)}else p=Pl(p,e(w,S,i,a))}),iA(h,p)}return Array.isArray(o)?o.map(s):s(o)}return t}const MC=HA();MC.filterProps=["sx"];const Bv=MC,qA=["breakpoints","palette","spacing","shape"];function Uv(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=Cn(e,qA),s=tA(r),u=dA(o);let c=$n({breakpoints:s,direction:"ltr",components:{},palette:_e({mode:"light"},n),spacing:u,shape:_e({},nA,i)},a);return c=t.reduce((f,h)=>$n(f,h),c),c.unstable_sxConfig=_e({},Wv,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(h){return Bv({sx:h,theme:this})},c}function GA(e){return Object.keys(e).length===0}function VA(e=null){const t=N.useContext(zC);return!t||GA(t)?e:t}const KA=Uv();function YA(e=KA){return VA(e)}const QA=["variant"];function sS(e){return e.length===0}function LC(e){const{variant:t}=e,r=Cn(e,QA);let n=t||"";return Object.keys(r).sort().forEach(o=>{o==="color"?n+=sS(n)?e[o]:Sn(e[o]):n+=`${sS(n)?o:Sn(o)}${Sn(e[o].toString())}`}),n}const XA=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function JA(e){return Object.keys(e).length===0}function ZA(e){return typeof e=="string"&&e.charCodeAt(0)>96}const eM=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,tM=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach(o=>{const i=LC(o.props);n[i]=o.style}),n},rM=(e,t,r,n)=>{var o;const{ownerState:i={}}=e,a=[],s=r==null||(o=r.components)==null||(o=o[n])==null?void 0:o.variants;return s&&s.forEach(u=>{let c=!0;Object.keys(u.props).forEach(f=>{i[f]!==u.props[f]&&e[f]!==u.props[f]&&(c=!1)}),c&&a.push(t[LC(u.props)])}),a};function Mu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const nM=Uv(),oM=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function al({defaultTheme:e,theme:t,themeId:r}){return JA(t)?e:t[r]||t}function iM(e){return e?(t,r)=>r[e]:null}function aM(e={}){const{themeId:t,defaultTheme:r=nM,rootShouldForwardProp:n=Mu,slotShouldForwardProp:o=Mu}=e,i=a=>Bv(_e({},a,{theme:al(_e({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{Jj(a,T=>T.filter(O=>!(O!=null&&O.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:f,skipSx:h,overridesResolver:p=iM(oM(c))}=s,w=Cn(s,XA),S=f!==void 0?f:c&&c!=="Root"&&c!=="root"||!1,y=h||!1;let C,g=Mu;c==="Root"||c==="root"?g=n:c?g=o:ZA(a)&&(g=void 0);const m=Xj(a,_e({shouldForwardProp:g,label:C},w)),_=(T,...O)=>{const k=O?O.map(I=>typeof I=="function"&&I.__emotion_real!==I?M=>I(_e({},M,{theme:al(_e({},M,{defaultTheme:r,themeId:t}))})):I):[];let b=T;u&&p&&k.push(I=>{const M=al(_e({},I,{defaultTheme:r,themeId:t})),F=eM(u,M);if(F){const q={};return Object.entries(F).forEach(([G,ue])=>{q[G]=typeof ue=="function"?ue(_e({},I,{theme:M})):ue}),p(I,q)}return null}),u&&!S&&k.push(I=>{const M=al(_e({},I,{defaultTheme:r,themeId:t}));return rM(I,tM(u,M),M,u)}),y||k.push(i);const E=k.length-O.length;if(Array.isArray(T)&&E>0){const I=new Array(E).fill("");b=[...T,...I],b.raw=[...T.raw,...I]}else typeof T=="function"&&T.__emotion_real!==T&&(b=I=>T(_e({},I,{theme:al(_e({},I,{defaultTheme:r,themeId:t}))})));const P=m(b,...k);return a.muiName&&(P.muiName=a.muiName),P};return m.withConfig&&(_.withConfig=m.withConfig),_}}function lM(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:hC(t.components[r].defaultProps,n)}function sM({props:e,name:t,defaultTheme:r,themeId:n}){let o=YA(r);return n&&(o=o[n]||o),lM({theme:o,name:t,props:e})}function NC(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function uM(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ga(e){if(e.type)return e;if(e.charAt(0)==="#")return ga(uM(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(ma(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(ma(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}function Hv(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function cM(e){e=ga(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(c,f=(c+r/30)%12)=>o-i*Math.max(Math.min(f-3,9-f,1),-1);let s="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",u.push(t[3])),Hv({type:s,values:u})}function uS(e){e=ga(e);let t=e.type==="hsl"||e.type==="hsla"?ga(cM(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function fM(e,t){const r=uS(e),n=uS(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function dM(e,t){if(e=ga(e),t=NC(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Hv(e)}function hM(e,t){if(e=ga(e),t=NC(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Hv(e)}function pM(e,t){return _e({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const mM={black:"#000",white:"#fff"},is=mM,vM={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},gM=vM,yM={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},xi=yM,_M={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ci=_M,SM={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ll=SM,wM={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ri=wM,bM={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Ti=bM,xM={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ei=xM,CM=["mode","contrastThreshold","tonalOffset"],cS={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:is.white,default:is.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ah={text:{primary:is.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:is.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function fS(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=hM(e.main,o):t==="dark"&&(e.dark=dM(e.main,i)))}function RM(e="light"){return e==="dark"?{main:Ri[200],light:Ri[50],dark:Ri[400]}:{main:Ri[700],light:Ri[400],dark:Ri[800]}}function TM(e="light"){return e==="dark"?{main:xi[200],light:xi[50],dark:xi[400]}:{main:xi[500],light:xi[300],dark:xi[700]}}function EM(e="light"){return e==="dark"?{main:Ci[500],light:Ci[300],dark:Ci[700]}:{main:Ci[700],light:Ci[400],dark:Ci[800]}}function OM(e="light"){return e==="dark"?{main:Ti[400],light:Ti[300],dark:Ti[700]}:{main:Ti[700],light:Ti[500],dark:Ti[900]}}function kM(e="light"){return e==="dark"?{main:Ei[400],light:Ei[300],dark:Ei[700]}:{main:Ei[800],light:Ei[500],dark:Ei[900]}}function PM(e="light"){return e==="dark"?{main:ll[400],light:ll[300],dark:ll[700]}:{main:"#ed6c02",light:ll[500],dark:ll[900]}}function IM(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Cn(e,CM),i=e.primary||RM(t),a=e.secondary||TM(t),s=e.error||EM(t),u=e.info||OM(t),c=e.success||kM(t),f=e.warning||PM(t);function h(y){return fM(y,ah.text.primary)>=r?ah.text.primary:cS.text.primary}const p=({color:y,name:C,mainShade:g=500,lightShade:m=300,darkShade:_=700})=>{if(y=_e({},y),!y.main&&y[g]&&(y.main=y[g]),!y.hasOwnProperty("main"))throw new Error(ma(11,C?` (${C})`:"",g));if(typeof y.main!="string")throw new Error(ma(12,C?` (${C})`:"",JSON.stringify(y.main)));return fS(y,"light",m,n),fS(y,"dark",_,n),y.contrastText||(y.contrastText=h(y.main)),y},w={dark:ah,light:cS};return $n(_e({common:_e({},is),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:f,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:c,name:"success"}),grey:gM,contrastThreshold:r,getContrastText:h,augmentColor:p,tonalOffset:n},w[t]),o)}const zM=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function jM(e){return Math.round(e*1e5)/1e5}const dS={textTransform:"uppercase"},hS='"Roboto", "Helvetica", "Arial", sans-serif';function AM(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=hS,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:u=700,htmlFontSize:c=16,allVariants:f,pxToRem:h}=r,p=Cn(r,zM),w=o/14,S=h||(g=>`${g/c*w}rem`),y=(g,m,_,T,O)=>_e({fontFamily:n,fontWeight:g,fontSize:S(m),lineHeight:_},n===hS?{letterSpacing:`${jM(T/m)}em`}:{},O,f),C={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(a,48,1.167,0),h4:y(a,34,1.235,.25),h5:y(a,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(a,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(a,16,1.5,.15),body2:y(a,14,1.43,.15),button:y(s,14,1.75,.4,dS),caption:y(a,12,1.66,.4),overline:y(a,12,2.66,1,dS),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return $n(_e({htmlFontSize:c,pxToRem:S,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:u},C),p,{clone:!1})}const MM=.2,LM=.14,NM=.12;function Ye(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${MM})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${LM})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${NM})`].join(",")}const $M=["none",Ye(0,2,1,-1,0,1,1,0,0,1,3,0),Ye(0,3,1,-2,0,2,2,0,0,1,5,0),Ye(0,3,3,-2,0,3,4,0,0,1,8,0),Ye(0,2,4,-1,0,4,5,0,0,1,10,0),Ye(0,3,5,-1,0,5,8,0,0,1,14,0),Ye(0,3,5,-1,0,6,10,0,0,1,18,0),Ye(0,4,5,-2,0,7,10,1,0,2,16,1),Ye(0,5,5,-3,0,8,10,1,0,3,14,2),Ye(0,5,6,-3,0,9,12,1,0,3,16,2),Ye(0,6,6,-3,0,10,14,1,0,4,18,3),Ye(0,6,7,-4,0,11,15,1,0,4,20,3),Ye(0,7,8,-4,0,12,17,2,0,5,22,4),Ye(0,7,8,-4,0,13,19,2,0,5,24,4),Ye(0,7,9,-4,0,14,21,2,0,5,26,4),Ye(0,8,9,-5,0,15,22,2,0,6,28,5),Ye(0,8,10,-5,0,16,24,2,0,6,30,5),Ye(0,8,11,-5,0,17,26,2,0,6,32,5),Ye(0,9,11,-5,0,18,28,2,0,7,34,6),Ye(0,9,12,-6,0,19,29,2,0,7,36,6),Ye(0,10,13,-6,0,20,31,3,0,8,38,7),Ye(0,10,13,-6,0,21,33,3,0,8,40,7),Ye(0,10,14,-6,0,22,35,3,0,8,42,7),Ye(0,11,14,-7,0,23,36,3,0,9,44,8),Ye(0,11,15,-7,0,24,38,3,0,9,46,8)],DM=$M,FM=["duration","easing","delay"],WM={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},BM={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function pS(e){return`${Math.round(e)}ms`}function UM(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function HM(e){const t=_e({},WM,e.easing),r=_e({},BM,e.duration);return _e({getAutoHeightDuration:UM,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:u=0}=i;return Cn(i,FM),(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof a=="string"?a:pS(a)} ${s} ${typeof u=="string"?u:pS(u)}`).join(",")}},e,{easing:t,duration:r})}const qM={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},GM=qM,VM=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function KM(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=Cn(e,VM);if(e.vars)throw new Error(ma(18));const s=IM(n),u=Uv(e);let c=$n(u,{mixins:pM(u.breakpoints,r),palette:s,shadows:DM.slice(),typography:AM(s,i),transitions:HM(o),zIndex:_e({},GM)});return c=$n(c,a),c=t.reduce((f,h)=>$n(f,h),c),c.unstable_sxConfig=_e({},Wv,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(h){return Bv({sx:h,theme:this})},c}const YM=KM(),$C=YM,DC="$$material";function QM({props:e,name:t}){return sM({props:e,name:t,defaultTheme:$C,themeId:DC})}const XM=e=>Mu(e)&&e!=="classes",JM=aM({themeId:DC,defaultTheme:$C,rootShouldForwardProp:XM}),ZM=JM;function eL(e){return mC("MuiSvgIcon",e)}Gz("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const tL=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],rL=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${Sn(t)}`,`fontSize${Sn(r)}`]};return Bz(o,eL,n)},nL=ZM("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${Sn(r.color)}`],t[`fontSize${Sn(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,u,c,f,h,p,w,S;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(u=s.pxToRem)==null?void 0:u.call(s,24))||"1.5rem",large:((c=e.typography)==null||(f=c.pxToRem)==null?void 0:f.call(c,35))||"2.1875rem"}[t.fontSize],color:(h=(p=(e.vars||e).palette)==null||(p=p[t.color])==null?void 0:p.main)!=null?h:{action:(w=(e.vars||e).palette)==null||(w=w.action)==null?void 0:w.active,disabled:(S=(e.vars||e).palette)==null||(S=S.action)==null?void 0:S.disabled,inherit:void 0}[t.color]}}),FC=N.forwardRef(function(t,r){const n=QM({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:u="medium",htmlColor:c,inheritViewBox:f=!1,titleAccess:h,viewBox:p="0 0 24 24"}=n,w=Cn(n,tL),S=N.isValidElement(o)&&o.type==="svg",y=_e({},n,{color:a,component:s,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:p,hasSvgAsChild:S}),C={};f||(C.viewBox=p);const g=rL(y);return j.jsxs(nL,_e({as:s,className:Vz(g.root,i),focusable:"false",color:c,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r},C,w,S&&o.props,{ownerState:y,children:[S?o.props.children:o,h?j.jsx("title",{children:h}):null]}))});FC.muiName="SvgIcon";const mS=FC;function oL(e,t){function r(n,o){return j.jsx(mS,_e({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return r.muiName=mS.muiName,N.memo(N.forwardRef(r))}const iL={configure:e=>{pC.configure(e)}},aL=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Sn,createChainedFunction:bz,createSvgIcon:oL,debounce:xz,deprecatedPropType:Cz,isMuiElement:Rz,ownerDocument:cC,ownerWindow:Tz,requirePropFactory:Ez,setRef:fC,unstable_ClassNameGenerator:iL,unstable_useEnhancedEffect:dC,unstable_useId:Pz,unsupportedProp:Iz,useControlled:zz,useEventCallback:jz,useForkRef:Az,useIsFocusVisible:Wz},Symbol.toStringTag,{value:"Module"})),lL=Ra(aL);var vS;function tn(){return vS||(vS=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=lL}(eh)),eh}var sL=en;Object.defineProperty(Ov,"__esModule",{value:!0});var WC=Ov.default=void 0,uL=sL(tn()),cL=j,fL=(0,uL.default)((0,cL.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"MenuOutlined");WC=Ov.default=fL;var qv={},dL=en;Object.defineProperty(qv,"__esModule",{value:!0});var BC=qv.default=void 0,hL=dL(tn()),pL=j,mL=(0,hL.default)((0,pL.jsx)("path",{d:"M18.99 11.5c.34 0 .67.03 1 .07L20 0 0 20h11.56c-.04-.33-.07-.66-.07-1 0-4.14 3.36-7.5 7.5-7.5zm3.71 7.99c.02-.16.04-.32.04-.49 0-.17-.01-.33-.04-.49l1.06-.83c.09-.08.12-.21.06-.32l-1-1.73c-.06-.11-.19-.15-.31-.11l-1.24.5c-.26-.2-.54-.37-.85-.49l-.19-1.32c-.01-.12-.12-.21-.24-.21h-2c-.12 0-.23.09-.25.21l-.19 1.32c-.3.13-.59.29-.85.49l-1.24-.5c-.11-.04-.24 0-.31.11l-1 1.73c-.06.11-.04.24.06.32l1.06.83c-.02.16-.03.32-.03.49 0 .17.01.33.03.49l-1.06.83c-.09.08-.12.21-.06.32l1 1.73c.06.11.19.15.31.11l1.24-.5c.26.2.54.37.85.49l.19 1.32c.02.12.12.21.25.21h2c.12 0 .23-.09.25-.21l.19-1.32c.3-.13.59-.29.84-.49l1.25.5c.11.04.24 0 .31-.11l1-1.73c.06-.11.03-.24-.06-.32l-1.07-.83zm-3.71 1.01c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"}),"PermDataSetting");BC=qv.default=mL;var Gv={},vL=en;Object.defineProperty(Gv,"__esModule",{value:!0});var UC=Gv.default=void 0,gL=vL(tn()),yL=j,_L=(0,gL.default)((0,yL.jsx)("path",{d:"M12 14.67 3.41 6.09 2 7.5l8.5 8.5H4v2h16v-2h-6.5l5.15-5.15c.26.1.55.15.85.15 1.38 0 2.5-1.12 2.5-2.5S20.88 6 19.5 6 17 7.12 17 8.5c0 .35.07.67.2.97l-5.2 5.2z"}),"NetworkPing");UC=Gv.default=_L;var Vv={},SL=en;Object.defineProperty(Vv,"__esModule",{value:!0});var HC=Vv.default=void 0,wL=SL(tn()),bL=j,xL=(0,wL.default)((0,bL.jsx)("path",{d:"M19 3H4.99C3.89 3 3 3.9 3 5l.01 14c0 1.1.89 2 1.99 2h10l6-6V5c0-1.1-.9-2-2-2zM7 8h10v2H7V8zm5 6H7v-2h5v2zm2 5.5V14h5.5L14 19.5z"}),"StickyNote2");HC=Vv.default=xL;var Kv={},CL=en;Object.defineProperty(Kv,"__esModule",{value:!0});var qC=Kv.default=void 0,RL=CL(tn()),TL=j,EL=(0,RL.default)((0,TL.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}),"Link");qC=Kv.default=EL;var Yv={},OL=en;Object.defineProperty(Yv,"__esModule",{value:!0});var GC=Yv.default=void 0,kL=OL(tn()),PL=j,IL=(0,kL.default)((0,PL.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 14H7v-4h4v4zm0-6H7V7h4v4zm6 6h-4v-4h4v4zm0-6h-4V7h4v4z"}),"Dataset");GC=Yv.default=IL;var Qv={},zL=en;Object.defineProperty(Qv,"__esModule",{value:!0});var VC=Qv.default=void 0,jL=zL(tn()),AL=j,ML=(0,jL.default)((0,AL.jsx)("path",{d:"M21 15v-2h-3.07c-.05-.39-.12-.77-.22-1.14l2.58-1.49-1-1.73L16.92 10c-.28-.48-.62-.91-.99-1.29.04-.23.07-.46.07-.71 0-.8-.24-1.55-.65-2.18L17 4.17l-1.41-1.41-1.72 1.72c-1.68-.89-3.1-.33-3.73 0L8.41 2.76 7 4.17l1.65 1.65C8.24 6.45 8 7.2 8 8c0 .25.03.48.07.72-.37.38-.71.81-.99 1.28L4.71 8.63l-1 1.73 2.58 1.49c-.1.37-.17.75-.22 1.14H3v2h3.07c.05.39.12.77.22 1.14l-2.58 1.49 1 1.73L7.08 18c1.08 1.81 2.88 3 4.92 3s3.84-1.19 4.92-3l2.37 1.37 1-1.73-2.58-1.49c.1-.37.17-.75.22-1.14H21zm-8 2h-2v-6h2v6z"}),"PestControl");VC=Qv.default=ML;var Xv={},LL=en;Object.defineProperty(Xv,"__esModule",{value:!0});var KC=Xv.default=void 0,NL=LL(tn()),lh=j,$L=(0,NL.default)([(0,lh.jsx)("path",{d:"M7 19c-1.1 0-2 .9-2 2h14c0-1.1-.9-2-2-2h-4v-2h3c1.1 0 2-.9 2-2h-8c-1.66 0-3-1.34-3-3 0-1.09.59-2.04 1.46-2.56C8.17 9.03 8 8.54 8 8c0-.21.04-.42.09-.62C6.28 8.13 5 9.92 5 12c0 2.76 2.24 5 5 5v2H7z"},"0"),(0,lh.jsx)("path",{d:"M10.56 5.51C11.91 5.54 13 6.64 13 8c0 .75-.33 1.41-.85 1.87l.59 1.62.94-.34.34.94 1.88-.68-.34-.94.94-.34-2.74-7.53-.94.34-.34-.94-1.88.68.34.94-.94.35.56 1.54z"},"1"),(0,lh.jsx)("circle",{cx:"10.5",cy:"8",r:"1.5"},"2")],"Biotech");KC=Xv.default=$L;var Jv={},DL=en;Object.defineProperty(Jv,"__esModule",{value:!0});var YC=Jv.default=void 0,FL=DL(tn()),WL=j,BL=(0,FL.default)((0,WL.jsx)("path",{d:"m20.38 8.57-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44zm-9.79 6.84a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83z"}),"Speed");YC=Jv.default=BL;var Zv={},UL=en;Object.defineProperty(Zv,"__esModule",{value:!0});var QC=Zv.default=void 0,HL=UL(tn()),qL=j,GL=(0,HL.default)((0,qL.jsx)("path",{d:"M15 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V9l-6-6zM8 17c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm0-4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm0-4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm6 1V4.5l5.5 5.5H14z"}),"Summarize");QC=Zv.default=GL;var eg={},VL=en;Object.defineProperty(eg,"__esModule",{value:!0});var XC=eg.default=void 0,KL=VL(tn()),gS=j,YL=(0,KL.default)([(0,gS.jsx)("path",{d:"M17 11c.34 0 .67.04 1 .09V6.27L10.5 3 3 6.27v4.91c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55-.69-.98-1.1-2.17-1.1-3.45 0-3.31 2.69-6 6-6z"},"0"),(0,gS.jsx)("path",{d:"M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 1.38c.62 0 1.12.51 1.12 1.12s-.51 1.12-1.12 1.12-1.12-.51-1.12-1.12.5-1.12 1.12-1.12zm0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08s2.19.36 2.24 1.08c-.5.71-1.31 1.17-2.24 1.17z"},"1")],"AdminPanelSettings");XC=eg.default=YL;var JC={exports:{}},ZC={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ya=N;function QL(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var XL=typeof Object.is=="function"?Object.is:QL,JL=ya.useState,ZL=ya.useEffect,eN=ya.useLayoutEffect,tN=ya.useDebugValue;function rN(e,t){var r=t(),n=JL({inst:{value:r,getSnapshot:t}}),o=n[0].inst,i=n[1];return eN(function(){o.value=r,o.getSnapshot=t,sh(o)&&i({inst:o})},[e,r,t]),ZL(function(){return sh(o)&&i({inst:o}),e(function(){sh(o)&&i({inst:o})})},[e]),tN(r),r}function sh(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!XL(e,r)}catch{return!0}}function nN(e,t){return t()}var oN=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?nN:rN;ZC.useSyncExternalStore=ya.useSyncExternalStore!==void 0?ya.useSyncExternalStore:oN;JC.exports=ZC;var iN=JC.exports,eR={exports:{}},tR={};/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Lf=N,aN=iN;function lN(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var sN=typeof Object.is=="function"?Object.is:lN,uN=aN.useSyncExternalStore,cN=Lf.useRef,fN=Lf.useEffect,dN=Lf.useMemo,hN=Lf.useDebugValue;tR.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var i=cN(null);if(i.current===null){var a={hasValue:!1,value:null};i.current=a}else a=i.current;i=dN(function(){function u(w){if(!c){if(c=!0,f=w,w=n(w),o!==void 0&&a.hasValue){var S=a.value;if(o(S,w))return h=S}return h=w}if(S=h,sN(f,w))return S;var y=n(w);return o!==void 0&&o(S,y)?S:(f=w,h=y)}var c=!1,f,h,p=r===void 0?null:r;return[function(){return u(t())},p===null?void 0:function(){return u(p())}]},[t,r,n,o]);var s=uN(e,i[0],i[1]);return fN(function(){a.hasValue=!0,a.value=s},[s]),hN(s),s};eR.exports=tR;var pN=eR.exports;function mN(e){e()}let rR=mN;const vN=e=>rR=e,gN=()=>rR,yS=Symbol.for("react-redux-context"),_S=typeof globalThis<"u"?globalThis:{};function yN(){var e;if(!N.createContext)return{};const t=(e=_S[yS])!=null?e:_S[yS]=new Map;let r=t.get(N.createContext);return r||(r=N.createContext(null),t.set(N.createContext,r)),r}const wo=yN();function tg(e=wo){return function(){return N.useContext(e)}}const nR=tg(),_N=()=>{throw new Error("uSES not initialized!")};let oR=_N;const SN=e=>{oR=e},wN=(e,t)=>e===t;function bN(e=wo){const t=e===wo?nR:tg(e);return function(n,o={}){const{equalityFn:i=wN,stabilityCheck:a=void 0,noopCheck:s=void 0}=typeof o=="function"?{equalityFn:o}:o,{store:u,subscription:c,getServerState:f,stabilityCheck:h,noopCheck:p}=t();N.useRef(!0);const w=N.useCallback({[n.name](y){return n(y)}}[n.name],[n,h,a]),S=oR(c.addNestedSub,u.getState,f||u.getState,w,i);return N.useDebugValue(S),S}}const Gr=bN();function xN(){const e=gN();let t=null,r=null;return{clear(){t=null,r=null},notify(){e(()=>{let n=t;for(;n;)n.callback(),n=n.next})},get(){let n=[],o=t;for(;o;)n.push(o),o=o.next;return n},subscribe(n){let o=!0,i=r={callback:n,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){!o||t===null||(o=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}const SS={notify(){},get:()=>[]};function CN(e,t){let r,n=SS;function o(h){return u(),n.subscribe(h)}function i(){n.notify()}function a(){f.onStateChange&&f.onStateChange()}function s(){return!!r}function u(){r||(r=t?t.addNestedSub(a):e.subscribe(a),n=xN())}function c(){r&&(r(),r=void 0,n.clear(),n=SS)}const f={addNestedSub:o,notifyNestedSubs:i,handleChangeWrapper:a,isSubscribed:s,trySubscribe:u,tryUnsubscribe:c,getListeners:()=>n};return f}const RN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",TN=RN?N.useLayoutEffect:N.useEffect;function EN({store:e,context:t,children:r,serverState:n,stabilityCheck:o="once",noopCheck:i="once"}){const a=N.useMemo(()=>{const c=CN(e);return{store:e,subscription:c,getServerState:n?()=>n:void 0,stabilityCheck:o,noopCheck:i}},[e,n,o,i]),s=N.useMemo(()=>e.getState(),[e]);TN(()=>{const{subscription:c}=a;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),s!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[a,s]);const u=t||wo;return N.createElement(u.Provider,{value:a},r)}function iR(e=wo){const t=e===wo?nR:tg(e);return function(){const{store:n}=t();return n}}const ON=iR();function kN(e=wo){const t=e===wo?ON:iR(e);return function(){return t().dispatch}}const aR=kN();SN(pN.useSyncExternalStoreWithSelector);vN(ps.unstable_batchedUpdates);function Qr(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n3?t.i-4:t.i:Array.isArray(e)?1:rg(e)?2:ng(e)?3:0}function ea(e,t){return ja(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function PN(e,t){return ja(e)===2?e.get(t):e[t]}function lR(e,t,r){var n=ja(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function sR(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function rg(e){return LN&&e instanceof Map}function ng(e){return NN&&e instanceof Set}function $o(e){return e.o||e.t}function og(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=cR(e);delete t[Qe];for(var r=ta(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=IN),Object.freeze(e),t&&oi(e,function(r,n){return ig(n,!0)},!0)),e}function IN(){Qr(2)}function ag(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function bn(e){var t=cm[e];return t||Qr(18,e),t}function zN(e,t){cm[e]||(cm[e]=t)}function lm(){return as}function uh(e,t){t&&(bn("Patches"),e.u=[],e.s=[],e.v=t)}function gc(e){sm(e),e.p.forEach(jN),e.p=null}function sm(e){e===as&&(as=e.l)}function wS(e){return as={p:[],l:as,h:e,m:!0,_:0}}function jN(e){var t=e[Qe];t.i===0||t.i===1?t.j():t.g=!0}function ch(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||bn("ES5").S(t,e,n),n?(r[Qe].P&&(gc(t),Qr(4)),qn(e)&&(e=yc(t,e),t.l||_c(t,e)),t.u&&bn("Patches").M(r[Qe].t,e,t.u,t.s)):e=yc(t,r,[]),gc(t),t.u&&t.v(t.u,t.s),e!==uR?e:void 0}function yc(e,t,r){if(ag(t))return t;var n=t[Qe];if(!n)return oi(t,function(s,u){return bS(e,n,t,s,u,r)},!0),t;if(n.A!==e)return t;if(!n.P)return _c(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=og(n.k):n.o,i=o,a=!1;n.i===3&&(i=new Set(o),o.clear(),a=!0),oi(i,function(s,u){return bS(e,n,o,s,u,r,a)}),_c(e,o,!1),r&&e.u&&bn("Patches").N(n,r,e.u,e.s)}return n.o}function bS(e,t,r,n,o,i,a){if(bo(o)){var s=yc(e,o,i&&t&&t.i!==3&&!ea(t.R,n)?i.concat(n):void 0);if(lR(r,n,s),!bo(s))return;e.m=!1}else a&&r.add(o);if(qn(o)&&!ag(o)){if(!e.h.D&&e._<1)return;yc(e,o),t&&t.A.l||_c(e,o)}}function _c(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&ig(t,r)}function fh(e,t){var r=e[Qe];return(r?$o(r):e)[t]}function xS(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function to(e){e.P||(e.P=!0,e.l&&to(e.l))}function dh(e){e.o||(e.o=og(e.t))}function um(e,t,r){var n=rg(t)?bn("MapSet").F(t,r):ng(t)?bn("MapSet").T(t,r):e.O?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:lm(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},u=s,c=ls;a&&(u=[s],c=hl);var f=Proxy.revocable(u,c),h=f.revoke,p=f.proxy;return s.k=p,s.j=h,p}(t,r):bn("ES5").J(t,r);return(r?r.A:lm()).p.push(n),n}function AN(e){return bo(e)||Qr(22,e),function t(r){if(!qn(r))return r;var n,o=r[Qe],i=ja(r);if(o){if(!o.P&&(o.i<4||!bn("ES5").K(o)))return o.t;o.I=!0,n=CS(r,i),o.I=!1}else n=CS(r,i);return oi(n,function(a,s){o&&PN(o.t,a)===s||lR(n,a,t(s))}),i===3?new Set(n):n}(e)}function CS(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return og(e)}function MN(){function e(i,a){var s=o[i];return s?s.enumerable=a:o[i]=s={configurable:!0,enumerable:a,get:function(){var u=this[Qe];return ls.get(u,i)},set:function(u){var c=this[Qe];ls.set(c,i,u)}},s}function t(i){for(var a=i.length-1;a>=0;a--){var s=i[a][Qe];if(!s.P)switch(s.i){case 5:n(s)&&to(s);break;case 4:r(s)&&to(s)}}}function r(i){for(var a=i.t,s=i.k,u=ta(s),c=u.length-1;c>=0;c--){var f=u[c];if(f!==Qe){var h=a[f];if(h===void 0&&!ea(a,f))return!0;var p=s[f],w=p&&p[Qe];if(w?w.t!==h:!sR(p,h))return!0}}var S=!!a[Qe];return u.length!==ta(a).length+(S?0:1)}function n(i){var a=i.k;if(a.length!==i.t.length)return!0;var s=Object.getOwnPropertyDescriptor(a,a.length-1);if(s&&!s.get)return!0;for(var u=0;u1?g-1:0),_=1;_1?f-1:0),p=1;p=0;o--){var i=n[o];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}o>-1&&(n=n.slice(o+1));var a=bn("Patches").$;return bo(r)?a(r,n):this.produce(r,function(s){return a(s,n)})},e}(),br=new DN,fR=br.produce;br.produceWithPatches.bind(br);br.setAutoFreeze.bind(br);br.setUseProxies.bind(br);br.applyPatches.bind(br);br.createDraft.bind(br);br.finishDraft.bind(br);function _a(e){"@babel/helpers - typeof";return _a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_a(e)}function FN(e,t){if(_a(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(_a(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function dR(e){var t=FN(e,"string");return _a(t)==="symbol"?t:String(t)}function $(e,t,r){return t=dR(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function kS(e){for(var t=1;t"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Dt(1));return r(hR)(e,t)}if(typeof e!="function")throw new Error(Dt(2));var o=e,i=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function f(){if(u)throw new Error(Dt(3));return i}function h(y){if(typeof y!="function")throw new Error(Dt(4));if(u)throw new Error(Dt(5));var C=!0;return c(),s.push(y),function(){if(C){if(u)throw new Error(Dt(6));C=!1,c();var m=s.indexOf(y);s.splice(m,1),a=null}}}function p(y){if(!WN(y))throw new Error(Dt(7));if(typeof y.type>"u")throw new Error(Dt(8));if(u)throw new Error(Dt(9));try{u=!0,i=o(i,y)}finally{u=!1}for(var C=a=s,g=0;g"u")throw new Error(Dt(12));if(typeof r(void 0,{type:Sc.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Dt(13))})}function UN(e){for(var t=Object.keys(e),r={},n=0;n"u")throw c&&c.type,new Error(Dt(14));h[w]=C,f=f||C!==y}return f=f||i.length!==Object.keys(u).length,f?h:u}}function wc(){for(var e=arguments.length,t=new Array(e),r=0;r-1){var c=r[u];return u>0&&(r.splice(u,1),r.unshift(c)),c.value}return bc}function o(s,u){n(s)===bc&&(r.unshift({key:s,value:u}),r.length>e&&r.pop())}function i(){return r}function a(){r=[]}return{get:n,put:o,getEntries:i,clear:a}}var VN=function(t,r){return t===r};function KN(e){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;for(var o=r.length,i=0;i1?t-1:0),n=1;n0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]{e.session.push(t.payload)},addNode:(e,t)=>{e.nodes.push(t.payload)},addOrUpdateNode:(e,t)=>{let r=e.nodes.findIndex(n=>n.id===t.payload.id);r!==-1?e.nodes[r]=t.payload:e.nodes.push(t.payload),e.activeNodeId=t.payload.id},setSessionPin:(e,t)=>{e.session[0].pin=t.payload},setActiveNodeId:(e,t)=>{e.activeNodeId=t.payload},addOrUpdateNodeVersion:(e,t)=>{let r=e.nodeVersions.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.nodeVersions[r]=t.payload:e.nodeVersions.push(t.payload)},addOrUpdateNodeFlags:(e,t)=>{let r=e.flags.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.flags[r]=t.payload:e.flags.push(t.payload)},addOrUpdateCmdLineArgs:(e,t)=>{let r=e.cmdLineArgs.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.cmdLineArgs[r]=t.payload:e.cmdLineArgs.push(t.payload)},addOrUpdateLogFile:(e,t)=>{let r=e.logFiles.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.logFiles[r]=t.payload:e.logFiles.push(t.payload)},addOrUpdateSyncStages:(e,t)=>{let r=e.syncStages.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.syncStages[r]=t.payload:e.syncStages.push(t.payload)}}}),{addSession:iW,addNode:aW,addOrUpdateNode:R3,setSessionPin:lW,setActiveNodeId:T3,addOrUpdateNodeVersion:E3,addOrUpdateNodeFlags:O3,addOrUpdateCmdLineArgs:k3,addOrUpdateLogFile:P3,addOrUpdateSyncStages:I3}=yR.actions,ug=e=>e.app.session[0],_R=e=>e.app.nodes,Po=e=>e.app.activeNodeId,z3=e=>e.app.nodeVersions,j3=e=>e.app.flags,A3=e=>e.app.cmdLineArgs,M3=e=>e.app.logFiles,L3=e=>e.app.syncStages,N3=Aa([_R,Po],(e,t)=>(e.forEach(r=>{if(r.id===t)return r}),e[0])),$3=Aa([ug,_R,Po,z3],(e,t,r,n)=>{let o=[];return t.forEach(i=>{let a="";n.forEach(s=>{s.nodeId===i.id&&(a=s.version.nodeVersion)}),o.push({active:i.id===r,name:i.name,id:i.id,version:a,chain:i.protocols.eth.config.ChainName,block:i.protocols.eth.config.londonBlock,address:""})}),o}),D3=Aa([j3,Po],(e,t)=>{let r=[];return e.forEach(n=>{n.nodeId===t&&(r=n.flags)}),r}),F3=Aa([A3,Po],(e,t)=>{let r="";return e.forEach(n=>{n.nodeId===t&&(r=n.args)}),r}),SR=Aa([M3,Po],(e,t)=>{let r={nodeId:"",logFileUrl:"",logSize:0};return e.forEach(n=>{n.nodeId===t&&(r=n)}),r}),W3=Aa([L3,Po],(e,t)=>{let r=[];return e.forEach(n=>{n.nodeId===t&&(r=n.syncStages)}),r}),B3=yR.reducer,U3=({nodes:e=[],onNodeSelected:t,...r})=>{const n=i=>{t(i)},o=()=>j.jsxs("table",{className:"table-auto border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none",children:[j.jsx("thead",{children:j.jsxs("tr",{className:"border-b",children:[j.jsx("th",{}),j.jsx("th",{className:"px-4 py-2",children:"Name"}),j.jsx("th",{className:"px-4 py-2",children:"Version"}),j.jsx("th",{className:"px-4 py-2",children:"Chain"}),j.jsx("th",{className:"px-4 py-2",children:"Block"}),j.jsx("th",{className:"px-4 py-2",children:"Address"})]})}),j.jsx("tbody",{children:e.map((i,a)=>j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onClick:()=>n(i.id),children:[j.jsx("td",{children:j.jsx("input",{id:"default-radio-1",type:"radio",value:"",onChange:()=>{},checked:i.active,name:"default-radio",className:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600 mr-2 ml-2"})}),j.jsx("td",{className:"px-4 py-2",children:i.name}),j.jsx("td",{className:"px-4 py-2",children:i.version}),j.jsx("td",{className:"px-4 py-2",children:i.chain}),j.jsx("td",{className:"px-4 py-2",children:i.block}),j.jsx("td",{className:"px-4 py-2",children:i.address})]},a))})]});return j.jsx(j.Fragment,{children:o()})},H3="curl http://localhost:6060/debug/cmdline",q3="sessions",Ma="nodes",G3="versions",V3="flags",K3="cmdline",wR="logs",Y3="sync-stages",si=`https://localhost:8080/${q3}`,Q3=e=>{{const t=`${si}/${e}`,r=La(t,"GET");return fetch(r).then(n=>n.json())}},X3=(e,t)=>{{const r=`${si}/${e}/${Ma}/${t}/${G3}`,n=La(r,"GET");return fetch(n).then(o=>o.json())}},J3=(e,t)=>{{const r=`${si}/${e}/${Ma}/${t}/${V3}`,n=La(r,"GET");return fetch(n).then(o=>o.json())}},Z3=(e,t)=>{{const r=`${si}/${e}/${Ma}/${t}/${K3}`,n=La(r,"GET");return fetch(n).then(o=>o.json())}},e4=(e,t)=>{{const r=`${si}/${e}/${Ma}/${t}/${wR}`,n=La(r,"GET");return fetch(n).then(o=>o.json())}},t4=(e,t)=>{{const r=`${si}/${e}/${Ma}/${t}/${Y3}`,n=La(r,"GET");return fetch(n).then(o=>o.json())}};function La(e,t,r){return new Request(e,{method:t,body:r})}const r4=e=>({id:e.id,name:e.name,protocols:n4(e.protocols),enodes:l4(e.enodes)}),n4=e=>({eth:o4(e.eth)}),o4=e=>({network:e.network,difficulty:e.difficulty,genesis:e.genesis,config:i4(e.config)}),i4=e=>({ChainName:e.ChainName,chainId:e.chainId,consensus:e.consensus,homesteadBlock:e.homesteadBlock,eip150Block:e.eip150Block,eip155Block:e.eip155Block,byzantiumBlock:e.byzantiumBlock,constantinopleBlock:e.constantinopleBlock,petersburgBlock:e.petersburgBlock,istanbulBlock:e.istanbulBlock,berlinBlock:e.berlinBlock,londonBlock:e.londonBlock,terminalTotalDifficulty:e.terminalTotalDifficulty,terminalTotalDifficultyPassed:e.terminalTotalDifficultyPassed,shanghaiTime:e.shanghaiTime,clique:a4(e.clique)}),a4=e=>({period:e.period,epoch:e.epoch}),l4=e=>{let t=[];return e.forEach(r=>{t.push({enode:r.enode,enr:r.enr,ports:r.ports,listener_addr:r.listener_addr})}),t},s4=["boolean","string","number"],u4=e=>{let t=[];for(let r in e)t.push(c4(r,e[r]));return t},c4=(e,t)=>({flag:e,default:t.default,usage:t.usage,value:f4(t.value)}),f4=e=>{let t=typeof e;return s4.includes(t)||d4(e)||h4(e)?e:""};function d4(e){return Array.isArray(e)&&e.every(t=>typeof t=="string")}function h4(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}const p4=e=>({nodeVersion:e.nodeVersion,supportVersion:e.supportVersion,codeVersion:e.codeVersion,gitCommit:e.gitCommit}),m4=e=>{let t=Object.keys(e),r=[];return t.forEach(n=>{r.push({key:n,value:e[n]})}),r},bR=(e,t)=>{Q3(e).then(r=>{r.nodes.forEach(n=>{t(R3(r4(n)))})})},v4=(e,t,r)=>{X3(e,t).then(n=>{let o=p4(n);r(E3({nodeId:t,version:o}))})},g4=(e,t,r)=>{J3(e,t).then(n=>{let o=u4(n);r(O3({nodeId:t,flags:o}))})},y4=(e,t,r)=>{Z3(e,t).then(n=>{r(k3({nodeId:t,args:n}))})},xR=(e,t,r)=>{e4(e,t).then(n=>{n.forEach(o=>{if(o.name.endsWith(".log")){const i=`${si}/${e}/${Ma}/${t}/${wR}/${o.name}`;r(P3({nodeId:t,logFileUrl:i,logSize:o.size}))}})})},_4=(e,t,r)=>{t4(e,t).then(n=>{r(I3({nodeId:t,syncStages:m4(n)}))})},S4=({flag:e})=>{function t(o){return o&&typeof o=="object"&&o.constructor===Array}const r=o=>{if(t(o))return n(o);if(typeof o=="string")return j.jsx("td",{className:"px-4 py-2",children:String(o)})},n=o=>j.jsx(j.Fragment,{children:o.map(i=>j.jsx("tr",{className:"border-b border-gray-200 hover:bg-gray-100",children:j.jsx("td",{className:"px-4 py-2",children:i})},i))});return j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onMouseOver:o=>{const i=o.target,a=e.usage;a&&i.setAttribute("title",a)},children:[j.jsx("td",{className:"px-4 py-2",children:e.flag}),r(e.value),j.jsx("td",{className:"px-4 py-2",children:String(e.default)})]},e.flag)},w4=({flags:e})=>{const[t,r]=ne.useState([]);N.useEffect(()=>{r(n(e))},[e]);const n=o=>o===void 0?[]:o.filter(i=>i.value!==void 0&&i.value!==""&&i.value!==null);return j.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:[j.jsx("thead",{children:j.jsxs("tr",{className:"border-b",children:[j.jsx("th",{className:"px-4 py-2",children:"Flag"}),j.jsx("th",{className:"px-4 py-2",children:"Value"}),j.jsx("th",{className:"px-4 py-2",children:"Default"})]})}),j.jsx("tbody",{children:t.map(o=>j.jsx(S4,{flag:o}))})]})};var CR={exports:{}},vh={exports:{}},LS;function b4(){return LS||(LS=1,function(e,t){(function(r,n){e.exports=n()})(Fo,function(){var r=Array.prototype.slice;function n(l,d){d&&(l.prototype=Object.create(d.prototype)),l.prototype.constructor=l}function o(l){return u(l)?l:te(l)}n(i,o);function i(l){return c(l)?l:re(l)}n(a,o);function a(l){return f(l)?l:K(l)}n(s,o);function s(l){return u(l)&&!h(l)?l:X(l)}function u(l){return!!(l&&l[w])}function c(l){return!!(l&&l[S])}function f(l){return!!(l&&l[y])}function h(l){return c(l)||f(l)}function p(l){return!!(l&&l[C])}o.isIterable=u,o.isKeyed=c,o.isIndexed=f,o.isAssociative=h,o.isOrdered=p,o.Keyed=i,o.Indexed=a,o.Set=s;var w="@@__IMMUTABLE_ITERABLE__@@",S="@@__IMMUTABLE_KEYED__@@",y="@@__IMMUTABLE_INDEXED__@@",C="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,_=1<>>0;if(""+v!==d||v===4294967295)return NaN;d=v}return d<0?F(l)+d:d}function G(){return!0}function ue(l,d,v){return(l===0||v!==void 0&&l<=-v)&&(d===void 0||v!==void 0&&d>=v)}function se(l,d){return Z(l,d,0)}function ge(l,d){return Z(l,d,d)}function Z(l,d,v){return l===void 0?v:l<0?Math.max(0,d+l):d===void 0?l:Math.min(d,l)}var ie=0,fe=1,Se=2,Ee=typeof Symbol=="function"&&Symbol.iterator,xt="@@iterator",tt=Ee||xt;function ye(l){this.next=l}ye.prototype.toString=function(){return"[Iterator]"},ye.KEYS=ie,ye.VALUES=fe,ye.ENTRIES=Se,ye.prototype.inspect=ye.prototype.toSource=function(){return this.toString()},ye.prototype[tt]=function(){return this};function H(l,d,v,x){var R=l===0?d:l===1?v:[d,v];return x?x.value=R:x={value:R,done:!1},x}function V(){return{value:void 0,done:!0}}function U(l){return!!de(l)}function J(l){return l&&typeof l.next=="function"}function B(l){var d=de(l);return d&&d.call(l)}function de(l){var d=l&&(Ee&&l[Ee]||l[xt]);if(typeof d=="function")return d}function oe(l){return l&&typeof l.length=="number"}n(te,o);function te(l){return l==null?Ue():u(l)?l.toSeq():Er(l)}te.of=function(){return te(arguments)},te.prototype.toSeq=function(){return this},te.prototype.toString=function(){return this.__toString("Seq {","}")},te.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},te.prototype.__iterate=function(l,d){return fi(this,l,d,!0)},te.prototype.__iterator=function(l,d){return Os(this,l,d,!0)},n(re,te);function re(l){return l==null?Ue().toKeyedSeq():u(l)?c(l)?l.toSeq():l.fromEntrySeq():sr(l)}re.prototype.toKeyedSeq=function(){return this},n(K,te);function K(l){return l==null?Ue():u(l)?c(l)?l.entrySeq():l.toIndexedSeq():Tr(l)}K.of=function(){return K(arguments)},K.prototype.toIndexedSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq [","]")},K.prototype.__iterate=function(l,d){return fi(this,l,d,!1)},K.prototype.__iterator=function(l,d){return Os(this,l,d,!1)},n(X,te);function X(l){return(l==null?Ue():u(l)?c(l)?l.entrySeq():l:Tr(l)).toSetSeq()}X.of=function(){return X(arguments)},X.prototype.toSetSeq=function(){return this},te.isSeq=Te,te.Keyed=re,te.Set=X,te.Indexed=K;var ae="@@__IMMUTABLE_SEQ__@@";te.prototype[ae]=!0,n(pe,K);function pe(l){this._array=l,this.size=l.length}pe.prototype.get=function(l,d){return this.has(l)?this._array[q(this,l)]:d},pe.prototype.__iterate=function(l,d){for(var v=this._array,x=v.length-1,R=0;R<=x;R++)if(l(v[d?x-R:R],R,this)===!1)return R+1;return R},pe.prototype.__iterator=function(l,d){var v=this._array,x=v.length-1,R=0;return new ye(function(){return R>x?V():H(l,R,v[d?x-R++:R++])})},n(me,re);function me(l){var d=Object.keys(l);this._object=l,this._keys=d,this.size=d.length}me.prototype.get=function(l,d){return d!==void 0&&!this.has(l)?d:this._object[l]},me.prototype.has=function(l){return this._object.hasOwnProperty(l)},me.prototype.__iterate=function(l,d){for(var v=this._object,x=this._keys,R=x.length-1,z=0;z<=R;z++){var A=x[d?R-z:z];if(l(v[A],A,this)===!1)return z+1}return z},me.prototype.__iterator=function(l,d){var v=this._object,x=this._keys,R=x.length-1,z=0;return new ye(function(){var A=x[d?R-z:z];return z++>R?V():H(l,A,v[A])})},me.prototype[C]=!0,n(ve,K);function ve(l){this._iterable=l,this.size=l.length||l.size}ve.prototype.__iterateUncached=function(l,d){if(d)return this.cacheResult().__iterate(l,d);var v=this._iterable,x=B(v),R=0;if(J(x))for(var z;!(z=x.next()).done&&l(z.value,R++,this)!==!1;);return R},ve.prototype.__iteratorUncached=function(l,d){if(d)return this.cacheResult().__iterator(l,d);var v=this._iterable,x=B(v);if(!J(x))return new ye(V);var R=0;return new ye(function(){var z=x.next();return z.done?z:H(l,R++,z.value)})},n(we,K);function we(l){this._iterator=l,this._iteratorCache=[]}we.prototype.__iterateUncached=function(l,d){if(d)return this.cacheResult().__iterate(l,d);for(var v=this._iterator,x=this._iteratorCache,R=0;R=x.length){var z=v.next();if(z.done)return z;x[R]=z.value}return H(l,R,x[R++])})};function Te(l){return!!(l&&l[ae])}var Me;function Ue(){return Me||(Me=new pe([]))}function sr(l){var d=Array.isArray(l)?new pe(l).fromEntrySeq():J(l)?new we(l).fromEntrySeq():U(l)?new ve(l).fromEntrySeq():typeof l=="object"?new me(l):void 0;if(!d)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+l);return d}function Tr(l){var d=Jt(l);if(!d)throw new TypeError("Expected Array or iterable object of values: "+l);return d}function Er(l){var d=Jt(l)||typeof l=="object"&&new me(l);if(!d)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+l);return d}function Jt(l){return oe(l)?new pe(l):J(l)?new we(l):U(l)?new ve(l):void 0}function fi(l,d,v,x){var R=l._cache;if(R){for(var z=R.length-1,A=0;A<=z;A++){var L=R[v?z-A:A];if(d(L[1],x?L[0]:A,l)===!1)return A+1}return A}return l.__iterateUncached(d,v)}function Os(l,d,v,x){var R=l._cache;if(R){var z=R.length-1,A=0;return new ye(function(){var L=R[v?z-A:A];return A++>z?V():H(d,x?L[0]:A-1,L[1])})}return l.__iteratorUncached(d,v)}function Fa(l,d){return d?di(d,l,"",{"":l}):Xf(l)}function di(l,d,v,x){return Array.isArray(d)?l.call(x,v,K(d).map(function(R,z){return di(l,R,z,d)})):Zg(d)?l.call(x,v,re(d).map(function(R,z){return di(l,R,z,d)})):d}function Xf(l){return Array.isArray(l)?K(l).map(Xf).toList():Zg(l)?re(l).map(Xf).toMap():l}function Zg(l){return l&&(l.constructor===Object||l.constructor===void 0)}function ct(l,d){if(l===d||l!==l&&d!==d)return!0;if(!l||!d)return!1;if(typeof l.valueOf=="function"&&typeof d.valueOf=="function"){if(l=l.valueOf(),d=d.valueOf(),l===d||l!==l&&d!==d)return!0;if(!l||!d)return!1}return!!(typeof l.equals=="function"&&typeof d.equals=="function"&&l.equals(d))}function Jf(l,d){if(l===d)return!0;if(!u(d)||l.size!==void 0&&d.size!==void 0&&l.size!==d.size||l.__hash!==void 0&&d.__hash!==void 0&&l.__hash!==d.__hash||c(l)!==c(d)||f(l)!==f(d)||p(l)!==p(d))return!1;if(l.size===0&&d.size===0)return!0;var v=!h(l);if(p(l)){var x=l.entries();return d.every(function(D,W){var Q=x.next().value;return Q&&ct(Q[1],D)&&(v||ct(Q[0],W))})&&x.next().done}var R=!1;if(l.size===void 0)if(d.size===void 0)typeof l.cacheResult=="function"&&l.cacheResult();else{R=!0;var z=l;l=d,d=z}var A=!0,L=d.__iterate(function(D,W){if(v?!l.has(D):R?!ct(D,l.get(W,O)):!ct(l.get(W,O),D))return A=!1,!1});return A&&l.size===L}n(jt,K);function jt(l,d){if(!(this instanceof jt))return new jt(l,d);if(this._value=l,this.size=d===void 0?1/0:Math.max(0,d),this.size===0){if(Zf)return Zf;Zf=this}}jt.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},jt.prototype.get=function(l,d){return this.has(l)?this._value:d},jt.prototype.includes=function(l){return ct(this._value,l)},jt.prototype.slice=function(l,d){var v=this.size;return ue(l,d,v)?this:new jt(this._value,ge(d,v)-se(l,v))},jt.prototype.reverse=function(){return this},jt.prototype.indexOf=function(l){return ct(this._value,l)?0:-1},jt.prototype.lastIndexOf=function(l){return ct(this._value,l)?this.size:-1},jt.prototype.__iterate=function(l,d){for(var v=0;v=0&&d=0&&vv?V():H(l,z++,A)})},Ct.prototype.equals=function(l){return l instanceof Ct?this._start===l._start&&this._end===l._end&&this._step===l._step:Jf(this,l)};var ed;n(Vn,o);function Vn(){throw TypeError("Abstract")}n(Wa,Vn);function Wa(){}n(hi,Vn);function hi(){}n(Ps,Vn);function Ps(){}Vn.Keyed=Wa,Vn.Indexed=hi,Vn.Set=Ps;var Ba=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(d,v){d=d|0,v=v|0;var x=d&65535,R=v&65535;return x*R+((d>>>16)*R+x*(v>>>16)<<16>>>0)|0};function td(l){return l>>>1&1073741824|l&3221225471}function ur(l){if(l===!1||l===null||l===void 0||typeof l.valueOf=="function"&&(l=l.valueOf(),l===!1||l===null||l===void 0))return 0;if(l===!0)return 1;var d=typeof l;if(d==="number"){if(l!==l||l===1/0)return 0;var v=l|0;for(v!==l&&(v^=l*4294967295);l>4294967295;)l/=4294967295,v^=l;return td(v)}if(d==="string")return l.length>XT?KT(l):rd(l);if(typeof l.hashCode=="function")return l.hashCode();if(d==="object")return YT(l);if(typeof l.toString=="function")return rd(l.toString());throw new Error("Value type "+d+" cannot be hashed.")}function KT(l){var d=ld[l];return d===void 0&&(d=rd(l),ad===JT&&(ad=0,ld={}),ad++,ld[l]=d),d}function rd(l){for(var d=0,v=0;v0)switch(l.nodeType){case 1:return l.uniqueID;case 9:return l.documentElement&&l.documentElement.uniqueID}}var nd=typeof WeakMap=="function",od;nd&&(od=new WeakMap);var id=0,zo="__immutablehash__";typeof Symbol=="function"&&(zo=Symbol(zo));var XT=16,JT=255,ad=0,ld={};function cr(l){ks(l!==1/0,"Cannot perform this action with an infinite size.")}n(Oe,Wa);function Oe(l){return l==null?Fr():sd(l)&&!p(l)?l:Fr().withMutations(function(d){var v=i(l);cr(v.size),v.forEach(function(x,R){return d.set(R,x)})})}Oe.of=function(){var l=r.call(arguments,0);return Fr().withMutations(function(d){for(var v=0;v=l.length)throw new Error("Missing value for key: "+l[v]);d.set(l[v],l[v+1])}})},Oe.prototype.toString=function(){return this.__toString("Map {","}")},Oe.prototype.get=function(l,d){return this._root?this._root.get(0,void 0,l,d):d},Oe.prototype.set=function(l,d){return iy(this,l,d)},Oe.prototype.setIn=function(l,d){return this.updateIn(l,O,function(){return d})},Oe.prototype.remove=function(l){return iy(this,l,O)},Oe.prototype.deleteIn=function(l){return this.updateIn(l,function(){return O})},Oe.prototype.update=function(l,d,v){return arguments.length===1?l(this):this.updateIn([l],d,v)},Oe.prototype.updateIn=function(l,d,v){v||(v=d,d=void 0);var x=cy(this,Iy(l),d,v);return x===O?void 0:x},Oe.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Fr()},Oe.prototype.merge=function(){return Is(this,void 0,arguments)},Oe.prototype.mergeWith=function(l){var d=r.call(arguments,1);return Is(this,l,d)},Oe.prototype.mergeIn=function(l){var d=r.call(arguments,1);return this.updateIn(l,Fr(),function(v){return typeof v.merge=="function"?v.merge.apply(v,d):d[d.length-1]})},Oe.prototype.mergeDeep=function(){return Is(this,ly,arguments)},Oe.prototype.mergeDeepWith=function(l){var d=r.call(arguments,1);return Is(this,sy(l),d)},Oe.prototype.mergeDeepIn=function(l){var d=r.call(arguments,1);return this.updateIn(l,Fr(),function(v){return typeof v.mergeDeep=="function"?v.mergeDeep.apply(v,d):d[d.length-1]})},Oe.prototype.sort=function(l){return at(Si(this,l))},Oe.prototype.sortBy=function(l,d){return at(Si(this,d,l))},Oe.prototype.withMutations=function(l){var d=this.asMutable();return l(d),d.wasAltered()?d.__ensureOwner(this.__ownerID):this},Oe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new I)},Oe.prototype.asImmutable=function(){return this.__ensureOwner()},Oe.prototype.wasAltered=function(){return this.__altered},Oe.prototype.__iterator=function(l,d){return new ud(this,l,d)},Oe.prototype.__iterate=function(l,d){var v=this,x=0;return this._root&&this._root.iterate(function(R){return x++,l(R[1],R[0],v)},d),x},Oe.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?fd(this.size,this._root,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)};function sd(l){return!!(l&&l[ry])}Oe.isMap=sd;var ry="@@__IMMUTABLE_MAP__@@",Ce=Oe.prototype;Ce[ry]=!0,Ce[g]=Ce.remove,Ce.removeIn=Ce.deleteIn;function Ua(l,d){this.ownerID=l,this.entries=d}Ua.prototype.get=function(l,d,v,x){for(var R=this.entries,z=0,A=R.length;z=oE)return ZT(l,D,x,R);var he=l&&l===this.ownerID,be=he?D:M(D);return le?L?W===Q-1?be.pop():be[W]=be.pop():be[W]=[x,R]:be.push([x,R]),he?(this.entries=be,this):new Ua(l,be)}};function pi(l,d,v){this.ownerID=l,this.bitmap=d,this.nodes=v}pi.prototype.get=function(l,d,v,x){d===void 0&&(d=ur(v));var R=1<<((l===0?d:d>>>l)&T),z=this.bitmap;return z&R?this.nodes[fy(z&R-1)].get(l+m,d,v,x):x},pi.prototype.update=function(l,d,v,x,R,z,A){v===void 0&&(v=ur(x));var L=(d===0?v:v>>>d)&T,D=1<=iE)return tE(l,he,W,L,xe);if(Q&&!xe&&he.length===2&&ay(he[le^1]))return he[le^1];if(Q&&xe&&he.length===1&&ay(xe))return xe;var Ke=l&&l===this.ownerID,Wr=Q?xe?W:W^D:W|D,ln=Q?xe?dy(he,le,xe,Ke):nE(he,le,Ke):rE(he,le,xe,Ke);return Ke?(this.bitmap=Wr,this.nodes=ln,this):new pi(l,Wr,ln)};function Ha(l,d,v){this.ownerID=l,this.count=d,this.nodes=v}Ha.prototype.get=function(l,d,v,x){d===void 0&&(d=ur(v));var R=(l===0?d:d>>>l)&T,z=this.nodes[R];return z?z.get(l+m,d,v,x):x},Ha.prototype.update=function(l,d,v,x,R,z,A){v===void 0&&(v=ur(x));var L=(d===0?v:v>>>d)&T,D=R===O,W=this.nodes,Q=W[L];if(D&&!Q)return this;var le=dd(Q,l,d+m,v,x,R,z,A);if(le===Q)return this;var he=this.count;if(!Q)he++;else if(!le&&(he--,he>>v)&T,A=(v===0?x:x>>>v)&T,L,D=z===A?[hd(l,d,v+m,x,R)]:(L=new Tn(d,x,R),z>>=1)A[L]=v&1?d[z++]:void 0;return A[x]=R,new Ha(l,z+1,A)}function Is(l,d,v){for(var x=[],R=0;R>1&1431655765),l=(l&858993459)+(l>>2&858993459),l=l+(l>>4)&252645135,l=l+(l>>8),l=l+(l>>16),l&127}function dy(l,d,v,x){var R=x?l:M(l);return R[d]=v,R}function rE(l,d,v,x){var R=l.length+1;if(x&&d+1===R)return l[d]=v,l;for(var z=new Array(R),A=0,L=0;L0&&x<_?Ga(0,x,m,null,new Kn(v.toArray())):d.withMutations(function(R){R.setSize(x),v.forEach(function(z,A){return R.set(A,z)})}))}He.of=function(){return this(arguments)},He.prototype.toString=function(){return this.__toString("List [","]")},He.prototype.get=function(l,d){if(l=q(this,l),l>=0&&l>>d&T;if(x>=this.array.length)return new Kn([],l);var R=x===0,z;if(d>0){var A=this.array[x];if(z=A&&A.removeBefore(l,d-m,v),z===A&&R)return this}if(R&&!z)return this;var L=vi(this,l);if(!R)for(var D=0;D>>d&T;if(x>=this.array.length)return this;var R;if(d>0){var z=this.array[x];if(R=z&&z.removeAfter(l,d-m,v),R===z&&x===this.array.length-1)return this}var A=vi(this,l);return A.array.splice(x+1),R&&(A.array[x]=R),A};var qa={};function my(l,d){var v=l._origin,x=l._capacity,R=Va(x),z=l._tail;return A(l._root,l._level,0);function A(W,Q,le){return Q===0?L(W,le):D(W,Q,le)}function L(W,Q){var le=Q===R?z&&z.array:W&&W.array,he=Q>v?0:v-Q,be=x-Q;return be>_&&(be=_),function(){if(he===be)return qa;var xe=d?--be:he++;return le&&le[xe]}}function D(W,Q,le){var he,be=W&&W.array,xe=le>v?0:v-le>>Q,Ke=(x-le>>Q)+1;return Ke>_&&(Ke=_),function(){do{if(he){var Wr=he();if(Wr!==qa)return Wr;he=null}if(xe===Ke)return qa;var ln=d?--Ke:xe++;he=A(be&&be[ln],Q-m,le+(ln<=l.size||d<0)return l.withMutations(function(A){d<0?Yn(A,d).set(0,v):Yn(A,0,d+1).set(d,v)});d+=l._origin;var x=l._tail,R=l._root,z=E(b);return d>=Va(l._capacity)?x=md(x,l.__ownerID,0,d,v,z):R=md(R,l.__ownerID,l._level,d,v,z),z.value?l.__ownerID?(l._root=R,l._tail=x,l.__hash=void 0,l.__altered=!0,l):Ga(l._origin,l._capacity,l._level,R,x):l}function md(l,d,v,x,R,z){var A=x>>>v&T,L=l&&A0){var W=l&&l.array[A],Q=md(W,d,v-m,x,R,z);return Q===W?l:(D=vi(l,d),D.array[A]=Q,D)}return L&&l.array[A]===R?l:(P(z),D=vi(l,d),R===void 0&&A===D.array.length-1?D.array.pop():D.array[A]=R,D)}function vi(l,d){return d&&l&&d===l.ownerID?l:new Kn(l?l.array.slice():[],d)}function gy(l,d){if(d>=Va(l._capacity))return l._tail;if(d<1<0;)v=v.array[d>>>x&T],x-=m;return v}}function Yn(l,d,v){d!==void 0&&(d=d|0),v!==void 0&&(v=v|0);var x=l.__ownerID||new I,R=l._origin,z=l._capacity,A=R+d,L=v===void 0?z:v<0?z+v:R+v;if(A===R&&L===z)return l;if(A>=L)return l.clear();for(var D=l._level,W=l._root,Q=0;A+Q<0;)W=new Kn(W&&W.array.length?[void 0,W]:[],x),D+=m,Q+=1<=1<le?new Kn([],x):be;if(be&&he>le&&Am;Wr-=m){var ln=le>>>Wr&T;Ke=Ke.array[ln]=vi(Ke.array[ln],x)}Ke.array[le>>>m&T]=be}if(L=he)A-=he,L-=he,D=m,W=null,xe=xe&&xe.removeBefore(x,0,A);else if(A>R||he>>D&T;if(Ds!==he>>>D&T)break;Ds&&(Q+=(1<R&&(W=W.removeBefore(x,D,A-Q)),W&&heR&&(R=L.size),u(A)||(L=L.map(function(D){return Fa(D)})),x.push(L)}return R>l.size&&(l=l.setSize(R)),uy(l,d,x)}function Va(l){return l<_?0:l-1>>>m<=_&&R.size>=x.size*2?(D=R.filter(function(W,Q){return W!==void 0&&z!==Q}),L=D.toKeyedSeq().map(function(W){return W[0]}).flip().toMap(),l.__ownerID&&(L.__ownerID=D.__ownerID=l.__ownerID)):(L=x.remove(d),D=z===R.size-1?R.pop():R.set(z,void 0))}else if(A){if(v===R.get(z)[1])return l;L=x,D=R.set(z,[d,v])}else L=x.set(d,R.size),D=R.set(R.size,[d,v]);return l.__ownerID?(l.size=L.size,l._map=L,l._list=D,l.__hash=void 0,l):vd(L,D)}n(Or,re);function Or(l,d){this._iter=l,this._useKeys=d,this.size=l.size}Or.prototype.get=function(l,d){return this._iter.get(l,d)},Or.prototype.has=function(l){return this._iter.has(l)},Or.prototype.valueSeq=function(){return this._iter.valueSeq()},Or.prototype.reverse=function(){var l=this,d=gd(this,!0);return this._useKeys||(d.valueSeq=function(){return l._iter.toSeq().reverse()}),d},Or.prototype.map=function(l,d){var v=this,x=by(this,l,d);return this._useKeys||(x.valueSeq=function(){return v._iter.toSeq().map(l,d)}),x},Or.prototype.__iterate=function(l,d){var v=this,x;return this._iter.__iterate(this._useKeys?function(R,z){return l(R,z,v)}:(x=d?Oy(this):0,function(R){return l(R,d?--x:x++,v)}),d)},Or.prototype.__iterator=function(l,d){if(this._useKeys)return this._iter.__iterator(l,d);var v=this._iter.__iterator(fe,d),x=d?Oy(this):0;return new ye(function(){var R=v.next();return R.done?R:H(l,d?--x:x++,R.value,R)})},Or.prototype[C]=!0,n(gi,K);function gi(l){this._iter=l,this.size=l.size}gi.prototype.includes=function(l){return this._iter.includes(l)},gi.prototype.__iterate=function(l,d){var v=this,x=0;return this._iter.__iterate(function(R){return l(R,x++,v)},d)},gi.prototype.__iterator=function(l,d){var v=this._iter.__iterator(fe,d),x=0;return new ye(function(){var R=v.next();return R.done?R:H(l,x++,R.value,R)})},n(yi,X);function yi(l){this._iter=l,this.size=l.size}yi.prototype.has=function(l){return this._iter.includes(l)},yi.prototype.__iterate=function(l,d){var v=this;return this._iter.__iterate(function(x){return l(x,x,v)},d)},yi.prototype.__iterator=function(l,d){var v=this._iter.__iterator(fe,d);return new ye(function(){var x=v.next();return x.done?x:H(l,x.value,x.value,x)})},n(_i,re);function _i(l){this._iter=l,this.size=l.size}_i.prototype.entrySeq=function(){return this._iter.toSeq()},_i.prototype.__iterate=function(l,d){var v=this;return this._iter.__iterate(function(x){if(x){Ey(x);var R=u(x);return l(R?x.get(1):x[1],R?x.get(0):x[0],v)}},d)},_i.prototype.__iterator=function(l,d){var v=this._iter.__iterator(fe,d);return new ye(function(){for(;;){var x=v.next();if(x.done)return x;var R=x.value;if(R){Ey(R);var z=u(R);return H(l,z?R.get(0):R[0],z?R.get(1):R[1],x)}}})},gi.prototype.cacheResult=Or.prototype.cacheResult=yi.prototype.cacheResult=_i.prototype.cacheResult=Sd;function wy(l){var d=nn(l);return d._iter=l,d.size=l.size,d.flip=function(){return l},d.reverse=function(){var v=l.reverse.apply(this);return v.flip=function(){return l.reverse()},v},d.has=function(v){return l.includes(v)},d.includes=function(v){return l.has(v)},d.cacheResult=Sd,d.__iterateUncached=function(v,x){var R=this;return l.__iterate(function(z,A){return v(A,z,R)!==!1},x)},d.__iteratorUncached=function(v,x){if(v===Se){var R=l.__iterator(v,x);return new ye(function(){var z=R.next();if(!z.done){var A=z.value[0];z.value[0]=z.value[1],z.value[1]=A}return z})}return l.__iterator(v===fe?ie:fe,x)},d}function by(l,d,v){var x=nn(l);return x.size=l.size,x.has=function(R){return l.has(R)},x.get=function(R,z){var A=l.get(R,O);return A===O?z:d.call(v,A,R,l)},x.__iterateUncached=function(R,z){var A=this;return l.__iterate(function(L,D,W){return R(d.call(v,L,D,W),D,A)!==!1},z)},x.__iteratorUncached=function(R,z){var A=l.__iterator(Se,z);return new ye(function(){var L=A.next();if(L.done)return L;var D=L.value,W=D[0];return H(R,W,d.call(v,D[1],W,l),L)})},x}function gd(l,d){var v=nn(l);return v._iter=l,v.size=l.size,v.reverse=function(){return l},l.flip&&(v.flip=function(){var x=wy(l);return x.reverse=function(){return l.flip()},x}),v.get=function(x,R){return l.get(d?x:-1-x,R)},v.has=function(x){return l.has(d?x:-1-x)},v.includes=function(x){return l.includes(x)},v.cacheResult=Sd,v.__iterate=function(x,R){var z=this;return l.__iterate(function(A,L){return x(A,L,z)},!R)},v.__iterator=function(x,R){return l.__iterator(x,!R)},v}function xy(l,d,v,x){var R=nn(l);return x&&(R.has=function(z){var A=l.get(z,O);return A!==O&&!!d.call(v,A,z,l)},R.get=function(z,A){var L=l.get(z,O);return L!==O&&d.call(v,L,z,l)?L:A}),R.__iterateUncached=function(z,A){var L=this,D=0;return l.__iterate(function(W,Q,le){if(d.call(v,W,Q,le))return D++,z(W,x?Q:D-1,L)},A),D},R.__iteratorUncached=function(z,A){var L=l.__iterator(Se,A),D=0;return new ye(function(){for(;;){var W=L.next();if(W.done)return W;var Q=W.value,le=Q[0],he=Q[1];if(d.call(v,he,le,l))return H(z,x?le:D++,he,W)}})},R}function sE(l,d,v){var x=Oe().asMutable();return l.__iterate(function(R,z){x.update(d.call(v,R,z,l),0,function(A){return A+1})}),x.asImmutable()}function uE(l,d,v){var x=c(l),R=(p(l)?at():Oe()).asMutable();l.__iterate(function(A,L){R.update(d.call(v,A,L,l),function(D){return D=D||[],D.push(x?[L,A]:A),D})});var z=ky(l);return R.map(function(A){return We(l,z(A))})}function yd(l,d,v,x){var R=l.size;if(d!==void 0&&(d=d|0),v!==void 0&&(v===1/0?v=R:v=v|0),ue(d,v,R))return l;var z=se(d,R),A=ge(v,R);if(z!==z||A!==A)return yd(l.toSeq().cacheResult(),d,v,x);var L=A-z,D;L===L&&(D=L<0?0:L);var W=nn(l);return W.size=D===0?D:l.size&&D||void 0,!x&&Te(l)&&D>=0&&(W.get=function(Q,le){return Q=q(this,Q),Q>=0&&QD)return V();var Ke=he.next();return x||Q===fe?Ke:Q===ie?H(Q,xe-1,void 0,Ke):H(Q,xe-1,Ke.value[1],Ke)})},W}function cE(l,d,v){var x=nn(l);return x.__iterateUncached=function(R,z){var A=this;if(z)return this.cacheResult().__iterate(R,z);var L=0;return l.__iterate(function(D,W,Q){return d.call(v,D,W,Q)&&++L&&R(D,W,A)}),L},x.__iteratorUncached=function(R,z){var A=this;if(z)return this.cacheResult().__iterator(R,z);var L=l.__iterator(Se,z),D=!0;return new ye(function(){if(!D)return V();var W=L.next();if(W.done)return W;var Q=W.value,le=Q[0],he=Q[1];return d.call(v,he,le,A)?R===Se?W:H(R,le,he,W):(D=!1,V())})},x}function Cy(l,d,v,x){var R=nn(l);return R.__iterateUncached=function(z,A){var L=this;if(A)return this.cacheResult().__iterate(z,A);var D=!0,W=0;return l.__iterate(function(Q,le,he){if(!(D&&(D=d.call(v,Q,le,he))))return W++,z(Q,x?le:W-1,L)}),W},R.__iteratorUncached=function(z,A){var L=this;if(A)return this.cacheResult().__iterator(z,A);var D=l.__iterator(Se,A),W=!0,Q=0;return new ye(function(){var le,he,be;do{if(le=D.next(),le.done)return x||z===fe?le:z===ie?H(z,Q++,void 0,le):H(z,Q++,le.value[1],le);var xe=le.value;he=xe[0],be=xe[1],W&&(W=d.call(v,be,he,L))}while(W);return z===Se?le:H(z,he,be,le)})},R}function fE(l,d){var v=c(l),x=[l].concat(d).map(function(A){return u(A)?v&&(A=i(A)):A=v?sr(A):Tr(Array.isArray(A)?A:[A]),A}).filter(function(A){return A.size!==0});if(x.length===0)return l;if(x.length===1){var R=x[0];if(R===l||v&&c(R)||f(l)&&f(R))return R}var z=new pe(x);return v?z=z.toKeyedSeq():f(l)||(z=z.toSetSeq()),z=z.flatten(!0),z.size=x.reduce(function(A,L){if(A!==void 0){var D=L.size;if(D!==void 0)return A+D}},0),z}function Ry(l,d,v){var x=nn(l);return x.__iterateUncached=function(R,z){var A=0,L=!1;function D(W,Q){var le=this;W.__iterate(function(he,be){return(!d||Q0}function _d(l,d,v){var x=nn(l);return x.size=new pe(v).map(function(R){return R.size}).min(),x.__iterate=function(R,z){for(var A=this.__iterator(fe,z),L,D=0;!(L=A.next()).done&&R(L.value,D++,this)!==!1;);return D},x.__iteratorUncached=function(R,z){var A=v.map(function(W){return W=o(W),B(z?W.reverse():W)}),L=0,D=!1;return new ye(function(){var W;return D||(W=A.map(function(Q){return Q.next()}),D=W.some(function(Q){return Q.done})),D?V():H(R,L++,d.apply(null,W.map(function(Q){return Q.value})))})},x}function We(l,d){return Te(l)?d:l.constructor(d)}function Ey(l){if(l!==Object(l))throw new TypeError("Expected [K, V] tuple: "+l)}function Oy(l){return cr(l.size),F(l)}function ky(l){return c(l)?i:f(l)?a:s}function nn(l){return Object.create((c(l)?re:f(l)?K:X).prototype)}function Sd(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):te.prototype.cacheResult.call(this)}function Py(l,d){return l>d?1:l=0;v--)d={value:arguments[v],next:d};return this.__ownerID?(this.size=l,this._head=d,this.__hash=void 0,this.__altered=!0,this):Ka(l,d)},ft.prototype.pushAll=function(l){if(l=a(l),l.size===0)return this;cr(l.size);var d=this.size,v=this._head;return l.reverse().forEach(function(x){d++,v={value:x,next:v}}),this.__ownerID?(this.size=d,this._head=v,this.__hash=void 0,this.__altered=!0,this):Ka(d,v)},ft.prototype.pop=function(){return this.slice(1)},ft.prototype.unshift=function(){return this.push.apply(this,arguments)},ft.prototype.unshiftAll=function(l){return this.pushAll(l)},ft.prototype.shift=function(){return this.pop.apply(this,arguments)},ft.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Rd()},ft.prototype.slice=function(l,d){if(ue(l,d,this.size))return this;var v=se(l,this.size),x=ge(d,this.size);if(x!==this.size)return hi.prototype.slice.call(this,l,d);for(var R=this.size-v,z=this._head;v--;)z=z.next;return this.__ownerID?(this.size=R,this._head=z,this.__hash=void 0,this.__altered=!0,this):Ka(R,z)},ft.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?Ka(this.size,this._head,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)},ft.prototype.__iterate=function(l,d){if(d)return this.reverse().__iterate(l);for(var v=0,x=this._head;x&&l(x.value,v++,this)!==!1;)x=x.next;return v},ft.prototype.__iterator=function(l,d){if(d)return this.reverse().__iterator(l);var v=0,x=this._head;return new ye(function(){if(x){var R=x.value;return x=x.next,H(l,v++,R)}return V()})};function Dy(l){return!!(l&&l[Fy])}ft.isStack=Dy;var Fy="@@__IMMUTABLE_STACK__@@",wi=ft.prototype;wi[Fy]=!0,wi.withMutations=Ce.withMutations,wi.asMutable=Ce.asMutable,wi.asImmutable=Ce.asImmutable,wi.wasAltered=Ce.wasAltered;function Ka(l,d,v,x){var R=Object.create(wi);return R.size=l,R._head=d,R.__ownerID=v,R.__hash=x,R.__altered=!1,R}var Wy;function Rd(){return Wy||(Wy=Ka(0))}function an(l,d){var v=function(x){l.prototype[x]=d[x]};return Object.keys(d).forEach(v),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(d).forEach(v),l}o.Iterator=ye,an(o,{toArray:function(){cr(this.size);var l=new Array(this.size||0);return this.valueSeq().__iterate(function(d,v){l[v]=d}),l},toIndexedSeq:function(){return new gi(this)},toJS:function(){return this.toSeq().map(function(l){return l&&typeof l.toJS=="function"?l.toJS():l}).__toJS()},toJSON:function(){return this.toSeq().map(function(l){return l&&typeof l.toJSON=="function"?l.toJSON():l}).__toJS()},toKeyedSeq:function(){return new Or(this,!0)},toMap:function(){return Oe(this.toKeyedSeq())},toObject:function(){cr(this.size);var l={};return this.__iterate(function(d,v){l[v]=d}),l},toOrderedMap:function(){return at(this.toKeyedSeq())},toOrderedSet:function(){return on(c(this)?this.valueSeq():this)},toSet:function(){return Ve(c(this)?this.valueSeq():this)},toSetSeq:function(){return new yi(this)},toSeq:function(){return f(this)?this.toIndexedSeq():c(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return ft(c(this)?this.valueSeq():this)},toList:function(){return He(c(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(l,d){return this.size===0?l+d:l+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+d},concat:function(){var l=r.call(arguments,0);return We(this,fE(this,l))},includes:function(l){return this.some(function(d){return ct(d,l)})},entries:function(){return this.__iterator(Se)},every:function(l,d){cr(this.size);var v=!0;return this.__iterate(function(x,R,z){if(!l.call(d,x,R,z))return v=!1,!1}),v},filter:function(l,d){return We(this,xy(this,l,d,!0))},find:function(l,d,v){var x=this.findEntry(l,d);return x?x[1]:v},forEach:function(l,d){return cr(this.size),this.__iterate(d?l.bind(d):l)},join:function(l){cr(this.size),l=l!==void 0?""+l:",";var d="",v=!0;return this.__iterate(function(x){v?v=!1:d+=l,d+=x!=null?x.toString():""}),d},keys:function(){return this.__iterator(ie)},map:function(l,d){return We(this,by(this,l,d))},reduce:function(l,d,v){cr(this.size);var x,R;return arguments.length<2?R=!0:x=d,this.__iterate(function(z,A,L){R?(R=!1,x=z):x=l.call(v,x,z,A,L)}),x},reduceRight:function(l,d,v){var x=this.toKeyedSeq().reverse();return x.reduce.apply(x,arguments)},reverse:function(){return We(this,gd(this,!0))},slice:function(l,d){return We(this,yd(this,l,d,!0))},some:function(l,d){return!this.every($s(l),d)},sort:function(l){return We(this,Si(this,l))},values:function(){return this.__iterator(fe)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(l,d){return F(l?this.toSeq().filter(l,d):this)},countBy:function(l,d){return sE(this,l,d)},equals:function(l){return Jf(this,l)},entrySeq:function(){var l=this;if(l._cache)return new pe(l._cache);var d=l.toSeq().map(gE).toIndexedSeq();return d.fromEntrySeq=function(){return l.toSeq()},d},filterNot:function(l,d){return this.filter($s(l),d)},findEntry:function(l,d,v){var x=v;return this.__iterate(function(R,z,A){if(l.call(d,R,z,A))return x=[z,R],!1}),x},findKey:function(l,d){var v=this.findEntry(l,d);return v&&v[0]},findLast:function(l,d,v){return this.toKeyedSeq().reverse().find(l,d,v)},findLastEntry:function(l,d,v){return this.toKeyedSeq().reverse().findEntry(l,d,v)},findLastKey:function(l,d){return this.toKeyedSeq().reverse().findKey(l,d)},first:function(){return this.find(G)},flatMap:function(l,d){return We(this,dE(this,l,d))},flatten:function(l){return We(this,Ry(this,l,!0))},fromEntrySeq:function(){return new _i(this)},get:function(l,d){return this.find(function(v,x){return ct(x,l)},void 0,d)},getIn:function(l,d){for(var v=this,x=Iy(l),R;!(R=x.next()).done;){var z=R.value;if(v=v&&v.get?v.get(z,O):O,v===O)return d}return v},groupBy:function(l,d){return uE(this,l,d)},has:function(l){return this.get(l,O)!==O},hasIn:function(l){return this.getIn(l,O)!==O},isSubset:function(l){return l=typeof l.includes=="function"?l:o(l),this.every(function(d){return l.includes(d)})},isSuperset:function(l){return l=typeof l.isSubset=="function"?l:o(l),l.isSubset(this)},keyOf:function(l){return this.findKey(function(d){return ct(d,l)})},keySeq:function(){return this.toSeq().map(vE).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(l){return this.toKeyedSeq().reverse().keyOf(l)},max:function(l){return As(this,l)},maxBy:function(l,d){return As(this,d,l)},min:function(l){return As(this,l?By(l):Hy)},minBy:function(l,d){return As(this,d?By(d):Hy,l)},rest:function(){return this.slice(1)},skip:function(l){return this.slice(Math.max(0,l))},skipLast:function(l){return We(this,this.toSeq().reverse().skip(l).reverse())},skipWhile:function(l,d){return We(this,Cy(this,l,d,!0))},skipUntil:function(l,d){return this.skipWhile($s(l),d)},sortBy:function(l,d){return We(this,Si(this,d,l))},take:function(l){return this.slice(0,Math.max(0,l))},takeLast:function(l){return We(this,this.toSeq().reverse().take(l).reverse())},takeWhile:function(l,d){return We(this,cE(this,l,d))},takeUntil:function(l,d){return this.takeWhile($s(l),d)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=_E(this))}});var Ht=o.prototype;Ht[w]=!0,Ht[tt]=Ht.values,Ht.__toJS=Ht.toArray,Ht.__toStringMapper=Uy,Ht.inspect=Ht.toSource=function(){return this.toString()},Ht.chain=Ht.flatMap,Ht.contains=Ht.includes,an(i,{flip:function(){return We(this,wy(this))},mapEntries:function(l,d){var v=this,x=0;return We(this,this.toSeq().map(function(R,z){return l.call(d,[z,R],x++,v)}).fromEntrySeq())},mapKeys:function(l,d){var v=this;return We(this,this.toSeq().flip().map(function(x,R){return l.call(d,x,R,v)}).flip())}});var Ns=i.prototype;Ns[S]=!0,Ns[tt]=Ht.entries,Ns.__toJS=Ht.toObject,Ns.__toStringMapper=function(l,d){return JSON.stringify(d)+": "+Uy(l)},an(a,{toKeyedSeq:function(){return new Or(this,!1)},filter:function(l,d){return We(this,xy(this,l,d,!1))},findIndex:function(l,d){var v=this.findEntry(l,d);return v?v[0]:-1},indexOf:function(l){var d=this.keyOf(l);return d===void 0?-1:d},lastIndexOf:function(l){var d=this.lastKeyOf(l);return d===void 0?-1:d},reverse:function(){return We(this,gd(this,!1))},slice:function(l,d){return We(this,yd(this,l,d,!1))},splice:function(l,d){var v=arguments.length;if(d=Math.max(d|0,0),v===0||v===2&&!d)return this;l=se(l,l<0?this.count():this.size);var x=this.slice(0,l);return We(this,v===1?x:x.concat(M(arguments,2),this.slice(l+d)))},findLastIndex:function(l,d){var v=this.findLastEntry(l,d);return v?v[0]:-1},first:function(){return this.get(0)},flatten:function(l){return We(this,Ry(this,l,!1))},get:function(l,d){return l=q(this,l),l<0||this.size===1/0||this.size!==void 0&&l>this.size?d:this.find(function(v,x){return x===l},void 0,d)},has:function(l){return l=q(this,l),l>=0&&(this.size!==void 0?this.size===1/0||ld?-1:0}function _E(l){if(l.size===1/0)return 0;var d=p(l),v=c(l),x=d?1:0,R=l.__iterate(v?d?function(z,A){x=31*x+qy(ur(z),ur(A))|0}:function(z,A){x=x+qy(ur(z),ur(A))|0}:d?function(z){x=31*x+ur(z)|0}:function(z){x=x+ur(z)|0});return SE(R,x)}function SE(l,d){return d=Ba(d,3432918353),d=Ba(d<<15|d>>>-15,461845907),d=Ba(d<<13|d>>>-13,5),d=(d+3864292196|0)^l,d=Ba(d^d>>>16,2246822507),d=Ba(d^d>>>13,3266489909),d=td(d^d>>>16),d}function qy(l,d){return l^d+2654435769+(l<<6)+(l>>2)|0}var wE={Iterable:o,Seq:te,Collection:Vn,Map:Oe,OrderedMap:at,List:He,Stack:ft,Set:Ve,OrderedSet:on,Record:fr,Range:Ct,Repeat:jt,is:ct,fromJS:Fa};return wE})}(vh)),vh.exports}function x4(e){return e=e||Object.create(null),{on:function(r,n){(e[r]||(e[r]=[])).push(n)},off:function(r,n){e[r]&&e[r].splice(e[r].indexOf(n)>>>0,1)},emit:function(r,n){(e[r]||[]).slice().map(function(o){o(n)}),(e["*"]||[]).slice().map(function(o){o(r,n)})}}}const C4=Object.freeze(Object.defineProperty({__proto__:null,default:x4},Symbol.toStringTag,{value:"Module"})),R4=Ra(C4);var gh,NS;function RR(){if(NS)return gh;NS=1;var e=typeof Fo=="object"&&Fo&&Fo.Object===Object&&Fo;return gh=e,gh}var yh,$S;function T4(){if($S)return yh;$S=1;var e=RR(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return yh=r,yh}var _h,DS;function Nf(){if(DS)return _h;DS=1;var e=T4(),t=e.Symbol;return _h=t,_h}var Sh,FS;function E4(){if(FS)return Sh;FS=1;var e=Nf(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,o=e?e.toStringTag:void 0;function i(a){var s=r.call(a,o),u=a[o];try{a[o]=void 0;var c=!0}catch{}var f=n.call(a);return c&&(s?a[o]=u:delete a[o]),f}return Sh=i,Sh}var wh,WS;function O4(){if(WS)return wh;WS=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return wh=r,wh}var bh,BS;function $f(){if(BS)return bh;BS=1;var e=Nf(),t=E4(),r=O4(),n="[object Null]",o="[object Undefined]",i=e?e.toStringTag:void 0;function a(s){return s==null?s===void 0?o:n:i&&i in Object(s)?t(s):r(s)}return bh=a,bh}var xh,US;function bs(){if(US)return xh;US=1;function e(t){return t!=null&&typeof t=="object"}return xh=e,xh}var Ch,HS;function k4(){if(HS)return Ch;HS=1;var e=$f(),t=bs(),r="[object RegExp]";function n(o){return t(o)&&e(o)==r}return Ch=n,Ch}var Rh,qS;function P4(){if(qS)return Rh;qS=1;function e(t){return function(r){return t(r)}}return Rh=e,Rh}var pl={exports:{}};pl.exports;var GS;function I4(){return GS||(GS=1,function(e,t){var r=RR(),n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i&&r.process,s=function(){try{var u=o&&o.require&&o.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s}(pl,pl.exports)),pl.exports}var Th,VS;function z4(){if(VS)return Th;VS=1;var e=k4(),t=P4(),r=I4(),n=r&&r.isRegExp,o=n?t(n):e;return Th=o,Th}var Eh,KS;function j4(){if(KS)return Eh;KS=1;function e(t,r){for(var n=-1,o=t==null?0:t.length,i=Array(o);++n0&&i(f)?o>1?r(f,o-1,i,a,s):e(s,f):a||(s[s.length]=f)}return s}return $h=r,$h}var Dh,a1;function H4(){if(a1)return Dh;a1=1;var e=U4();function t(r){var n=r==null?0:r.length;return n?e(r,1):[]}return Dh=t,Dh}var Fh,l1;function q4(){if(l1)return Fh;l1=1;var e=z4(),t=N4(),r=$4(),n=H4();function o(i,a,s){var u=0,c=0;if(i==="")return i;if(!i||!r(i))throw new TypeError("First argument to react-string-replace#replaceString must be a string");var f=a;e(f)||(f=new RegExp("("+t(f)+")","gi"));for(var h=i.split(f),p=1,w=h.length;p=0&&u===s&&c())}function ml(e,t){if(e==null)return{};var r=Cn(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var G4=function(){function e(t){var r=t.cellCount,n=t.cellSizeGetter,o=t.estimatedCellSize;it(this,e),$(this,"_cellSizeAndPositionData",{}),$(this,"_lastMeasuredIndex",-1),$(this,"_lastBatchedIndex",-1),$(this,"_cellCount",void 0),$(this,"_cellSizeGetter",void 0),$(this,"_estimatedCellSize",void 0),this._cellSizeGetter=n,this._cellCount=r,this._estimatedCellSize=o}return ut(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(r){var n=r.cellCount,o=r.estimatedCellSize,i=r.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=o,this._cellSizeGetter=i}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(r){if(r<0||r>=this._cellCount)throw Error("Requested index ".concat(r," is outside of range 0..").concat(this._cellCount));if(r>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),o=n.offset+n.size,i=this._lastMeasuredIndex+1;i<=r;i++){var a=this._cellSizeGetter({index:i});if(a===void 0||isNaN(a))throw Error("Invalid size returned for cell ".concat(i," of value ").concat(a));a===null?(this._cellSizeAndPositionData[i]={offset:o,size:0},this._lastBatchedIndex=r):(this._cellSizeAndPositionData[i]={offset:o,size:a},o+=a,this._lastMeasuredIndex=r)}return this._cellSizeAndPositionData[r]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var r=this.getSizeAndPositionOfLastMeasuredCell(),n=r.offset+r.size,o=this._cellCount-this._lastMeasuredIndex-1,i=o*this._estimatedCellSize;return n+i}},{key:"getUpdatedOffsetForIndex",value:function(r){var n=r.align,o=n===void 0?"auto":n,i=r.containerSize,a=r.currentOffset,s=r.targetIndex;if(i<=0)return 0;var u=this.getSizeAndPositionOfCell(s),c=u.offset,f=c-i+u.size,h;switch(o){case"start":h=c;break;case"end":h=f;break;case"center":h=c-(i-u.size)/2;break;default:h=Math.max(f,Math.min(c,a));break}var p=this.getTotalSize();return Math.max(0,Math.min(p-i,h))}},{key:"getVisibleCellRange",value:function(r){var n=r.containerSize,o=r.offset,i=this.getTotalSize();if(i===0)return{};var a=o+n,s=this._findNearestCell(o),u=this.getSizeAndPositionOfCell(s);o=u.offset+u.size;for(var c=s;oo&&(r=i-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(r,n){for(var o=1;r=r?this._binarySearch(o,0,r):this._exponentialSearch(o,r)}}]),e}(),V4=15e5,K4=16777100,Y4=function(){return typeof window<"u"},Q4=function(){return!!window.chrome},X4=function(){return Y4()&&Q4()?K4:V4},c1=function(){function e(t){var r=t.maxScrollSize,n=r===void 0?X4():r,o=ml(t,["maxScrollSize"]);it(this,e),$(this,"_cellSizeAndPositionManager",void 0),$(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new G4(o),this._maxScrollSize=n}return ut(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(r){this._cellSizeAndPositionManager.configure(r)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(r){var n=r.containerSize,o=r.offset,i=this._cellSizeAndPositionManager.getTotalSize(),a=this.getTotalSize(),s=this._getOffsetPercentage({containerSize:n,offset:o,totalSize:a});return Math.round(s*(a-i))}},{key:"getSizeAndPositionOfCell",value:function(r){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(r)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(r){var n=r.align,o=n===void 0?"auto":n,i=r.containerSize,a=r.currentOffset,s=r.targetIndex;a=this._safeOffsetToOffset({containerSize:i,offset:a});var u=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:i,currentOffset:a,targetIndex:s});return this._offsetToSafeOffset({containerSize:i,offset:u})}},{key:"getVisibleCellRange",value:function(r){var n=r.containerSize,o=r.offset;return o=this._safeOffsetToOffset({containerSize:n,offset:o}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:o})}},{key:"resetCell",value:function(r){this._cellSizeAndPositionManager.resetCell(r)}},{key:"_getOffsetPercentage",value:function(r){var n=r.containerSize,o=r.offset,i=r.totalSize;return i<=n?0:o/(i-n)}},{key:"_offsetToSafeOffset",value:function(r){var n=r.containerSize,o=r.offset,i=this._cellSizeAndPositionManager.getTotalSize(),a=this.getTotalSize();if(i===a)return o;var s=this._getOffsetPercentage({containerSize:n,offset:o,totalSize:i});return Math.round(s*(a-n))}},{key:"_safeOffsetToOffset",value:function(r){var n=r.containerSize,o=r.offset,i=this._cellSizeAndPositionManager.getTotalSize(),a=this.getTotalSize();if(i===a)return o;var s=this._getOffsetPercentage({containerSize:n,offset:o,totalSize:a});return Math.round(s*(i-n))}}]),e}();function wa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t={};return function(r){var n=r.callback,o=r.indices,i=Object.keys(o),a=!e||i.every(function(u){var c=o[u];return Array.isArray(c)?c.length>0:c>=0}),s=i.length!==Object.keys(t).length||i.some(function(u){var c=t[u],f=o[u];return Array.isArray(f)?c.join(",")!==f.join(","):c!==f});t=o,a&&s&&n(o)}}var au=-1,En=1;function PR(e){var t=e.cellCount,r=e.overscanCellsCount,n=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return n===En?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(t-1,i+r)}:{overscanStartIndex:Math.max(0,o-r),overscanStopIndex:Math.min(t-1,i)}}function f1(e){var t=e.cellSize,r=e.cellSizeAndPositionManager,n=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,s=e.previousSize,u=e.scrollOffset,c=e.scrollToAlignment,f=e.scrollToIndex,h=e.size,p=e.sizeJustIncreasedFromZero,w=e.updateScrollIndexCallback,S=r.getCellCount(),y=f>=0&&f0&&(hr.getTotalSize()-h&&w(S-1)}function IR(e){for(var t=e.cellCache,r=e.cellRenderer,n=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,u=e.isScrolling,c=e.isScrollingOptOut,f=e.parent,h=e.rowSizeAndPositionManager,p=e.rowStartIndex,w=e.rowStopIndex,S=e.styleCache,y=e.verticalOffsetAdjustment,C=e.visibleColumnIndices,g=e.visibleRowIndices,m=[],_=n.areOffsetsAdjusted()||h.areOffsetsAdjusted(),T=!u&&!_,O=p;O<=w;O++)for(var k=h.getSizeAndPositionOfCell(O),b=o;b<=i;b++){var E=n.getSizeAndPositionOfCell(b),P=b>=C.start&&b<=C.stop&&O>=g.start&&O<=g.stop,I="".concat(O,"-").concat(b),M=void 0;T&&S[I]?M=S[I]:a&&!a.has(O,b)?M={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(M={height:k.size,left:E.offset+s,position:"absolute",top:k.offset+y,width:E.size},S[I]=M);var F={columnIndex:b,isScrolling:u,isVisible:P,key:I,parent:f,rowIndex:O,style:M},q=void 0;(c||u)&&!s&&!y?(t[I]||(t[I]=r(F)),q=t[I]):q=r(F),!(q==null||q===!1)&&m.push(q)}return m}const J4=!!(typeof window<"u"&&window.document&&window.document.createElement);var lu;function hm(e){if((!lu&&lu!==0||e)&&J4){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),lu=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return lu}var Gt;typeof window<"u"?Gt=window:typeof self<"u"?Gt=self:Gt={};var Z4=Gt.requestAnimationFrame||Gt.webkitRequestAnimationFrame||Gt.mozRequestAnimationFrame||Gt.oRequestAnimationFrame||Gt.msRequestAnimationFrame||function(e){return Gt.setTimeout(e,1e3/60)},e$=Gt.cancelAnimationFrame||Gt.webkitCancelAnimationFrame||Gt.mozCancelAnimationFrame||Gt.oCancelAnimationFrame||Gt.msCancelAnimationFrame||function(e){Gt.clearTimeout(e)},d1=Z4,t$=e$,ba=function(t){return t$(t.id)},fg=function(t,r){var n;Promise.resolve().then(function(){n=Date.now()});var o=function a(){Date.now()-n>=r?t.call():i.id=d1(a)},i={id:d1(o)};return i},h1,p1;function m1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function jo(e){for(var t=1;t0&&(n._initialScrollTop=n._getCalculatedScrollTop(r,n.state)),r.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(r,n.state)),n}return ut(t,[{key:"getOffsetForCell",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.alignment,i=o===void 0?this.props.scrollToAlignment:o,a=n.columnIndex,s=a===void 0?this.props.scrollToColumn:a,u=n.rowIndex,c=u===void 0?this.props.scrollToRow:u,f=jo({},this.props,{scrollToAlignment:i,scrollToColumn:s,scrollToRow:c});return{scrollLeft:this._getCalculatedScrollLeft(f),scrollTop:this._getCalculatedScrollTop(f)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(n){var o=n.scrollLeft,i=o===void 0?0:o,a=n.scrollTop,s=a===void 0?0:a;if(!(s<0)){this._debounceScrollEnded();var u=this.props,c=u.autoHeight,f=u.autoWidth,h=u.height,p=u.width,w=this.state.instanceProps,S=w.scrollbarSize,y=w.rowSizeAndPositionManager.getTotalSize(),C=w.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,C-p+S),i),m=Math.min(Math.max(0,y-h+S),s);if(this.state.scrollLeft!==g||this.state.scrollTop!==m){var _=g!==this.state.scrollLeft?g>this.state.scrollLeft?En:au:this.state.scrollDirectionHorizontal,T=m!==this.state.scrollTop?m>this.state.scrollTop?En:au:this.state.scrollDirectionVertical,O={isScrolling:!0,scrollDirectionHorizontal:_,scrollDirectionVertical:T,scrollPositionChangeReason:Wh.OBSERVED};c||(O.scrollTop=m),f||(O.scrollLeft=g),O.needToResetStyleCache=!1,this.setState(O)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:m,totalColumnsWidth:C,totalRowsHeight:y})}}},{key:"invalidateCellSizeAfterRender",value:function(n){var o=n.columnIndex,i=n.rowIndex;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,i):i}},{key:"measureAllCells",value:function(){var n=this.props,o=n.columnCount,i=n.rowCount,a=this.state.instanceProps;a.columnSizeAndPositionManager.getSizeAndPositionOfCell(o-1),a.rowSizeAndPositionManager.getSizeAndPositionOfCell(i-1)}},{key:"recomputeGridSize",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a,u=this.props,c=u.scrollToColumn,f=u.scrollToRow,h=this.state.instanceProps;h.columnSizeAndPositionManager.resetCell(i),h.rowSizeAndPositionManager.resetCell(s),this._recomputeScrollLeftFlag=c>=0&&(this.state.scrollDirectionHorizontal===En?i<=c:i>=c),this._recomputeScrollTopFlag=f>=0&&(this.state.scrollDirectionVertical===En?s<=f:s>=f),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(n){var o=n.columnIndex,i=n.rowIndex,a=this.props.columnCount,s=this.props;a>1&&o!==void 0&&this._updateScrollLeftForScrollToColumn(jo({},s,{scrollToColumn:o})),i!==void 0&&this._updateScrollTopForScrollToRow(jo({},s,{scrollToRow:i}))}},{key:"componentDidMount",value:function(){var n=this.props,o=n.getScrollbarSize,i=n.height,a=n.scrollLeft,s=n.scrollToColumn,u=n.scrollTop,c=n.scrollToRow,f=n.width,h=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),h.scrollbarSizeMeasured||this.setState(function(S){var y=jo({},S,{needToResetStyleCache:!1});return y.instanceProps.scrollbarSize=o(),y.instanceProps.scrollbarSizeMeasured=!0,y}),typeof a=="number"&&a>=0||typeof u=="number"&&u>=0){var p=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:a,scrollTop:u});p&&(p.needToResetStyleCache=!1,this.setState(p))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var w=i>0&&f>0;s>=0&&w&&this._updateScrollLeftForScrollToColumn(),c>=0&&w&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:a||0,scrollTop:u||0,totalColumnsWidth:h.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:h.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(n,o){var i=this,a=this.props,s=a.autoHeight,u=a.autoWidth,c=a.columnCount,f=a.height,h=a.rowCount,p=a.scrollToAlignment,w=a.scrollToColumn,S=a.scrollToRow,y=a.width,C=this.state,g=C.scrollLeft,m=C.scrollPositionChangeReason,_=C.scrollTop,T=C.instanceProps;this._handleInvalidatedGridSize();var O=c>0&&n.columnCount===0||h>0&&n.rowCount===0;m===Wh.REQUESTED&&(!u&&g>=0&&(g!==this._scrollingContainer.scrollLeft||O)&&(this._scrollingContainer.scrollLeft=g),!s&&_>=0&&(_!==this._scrollingContainer.scrollTop||O)&&(this._scrollingContainer.scrollTop=_));var k=(n.width===0||n.height===0)&&f>0&&y>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):f1({cellSizeAndPositionManager:T.columnSizeAndPositionManager,previousCellsCount:n.columnCount,previousCellSize:n.columnWidth,previousScrollToAlignment:n.scrollToAlignment,previousScrollToIndex:n.scrollToColumn,previousSize:n.width,scrollOffset:g,scrollToAlignment:p,scrollToIndex:w,size:y,sizeJustIncreasedFromZero:k,updateScrollIndexCallback:function(){return i._updateScrollLeftForScrollToColumn(i.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):f1({cellSizeAndPositionManager:T.rowSizeAndPositionManager,previousCellsCount:n.rowCount,previousCellSize:n.rowHeight,previousScrollToAlignment:n.scrollToAlignment,previousScrollToIndex:n.scrollToRow,previousSize:n.height,scrollOffset:_,scrollToAlignment:p,scrollToIndex:S,size:f,sizeJustIncreasedFromZero:k,updateScrollIndexCallback:function(){return i._updateScrollTopForScrollToRow(i.props)}}),this._invokeOnGridRenderedHelper(),g!==o.scrollLeft||_!==o.scrollTop){var b=T.rowSizeAndPositionManager.getTotalSize(),E=T.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:_,totalColumnsWidth:E,totalRowsHeight:b})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&ba(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var n=this.props,o=n.autoContainerWidth,i=n.autoHeight,a=n.autoWidth,s=n.className,u=n.containerProps,c=n.containerRole,f=n.containerStyle,h=n.height,p=n.id,w=n.noContentRenderer,S=n.role,y=n.style,C=n.tabIndex,g=n.width,m=this.state,_=m.instanceProps,T=m.needToResetStyleCache,O=this._isScrolling(),k={boxSizing:"border-box",direction:"ltr",height:i?"auto":h,position:"relative",width:a?"auto":g,WebkitOverflowScrolling:"touch",willChange:"transform"};T&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var b=_.columnSizeAndPositionManager.getTotalSize(),E=_.rowSizeAndPositionManager.getTotalSize(),P=E>h?_.scrollbarSize:0,I=b>g?_.scrollbarSize:0;(I!==this._horizontalScrollBarSize||P!==this._verticalScrollBarSize)&&(this._horizontalScrollBarSize=I,this._verticalScrollBarSize=P,this._scrollbarPresenceChanged=!0),k.overflowX=b+P<=g?"hidden":"auto",k.overflowY=E+I<=h?"hidden":"auto";var M=this._childrenToDisplay,F=M.length===0&&h>0&&g>0;return N.createElement("div",_e({ref:this._setScrollingContainerRef},u,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Yr("ReactVirtualized__Grid",s),id:p,onScroll:this._onScroll,role:S,style:jo({},k,{},y),tabIndex:C}),M.length>0&&N.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:c,style:jo({width:o?"auto":b,height:E,maxWidth:b,maxHeight:E,overflow:"hidden",pointerEvents:O?"none":"",position:"relative"},f)},M),F&&w())}},{key:"_calculateChildrenToRender",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,i=n.cellRenderer,a=n.cellRangeRenderer,s=n.columnCount,u=n.deferredMeasurementCache,c=n.height,f=n.overscanColumnCount,h=n.overscanIndicesGetter,p=n.overscanRowCount,w=n.rowCount,S=n.width,y=n.isScrollingOptOut,C=o.scrollDirectionHorizontal,g=o.scrollDirectionVertical,m=o.instanceProps,_=this._initialScrollTop>0?this._initialScrollTop:o.scrollTop,T=this._initialScrollLeft>0?this._initialScrollLeft:o.scrollLeft,O=this._isScrolling(n,o);if(this._childrenToDisplay=[],c>0&&S>0){var k=m.columnSizeAndPositionManager.getVisibleCellRange({containerSize:S,offset:T}),b=m.rowSizeAndPositionManager.getVisibleCellRange({containerSize:c,offset:_}),E=m.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:S,offset:T}),P=m.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:c,offset:_});this._renderedColumnStartIndex=k.start,this._renderedColumnStopIndex=k.stop,this._renderedRowStartIndex=b.start,this._renderedRowStopIndex=b.stop;var I=h({direction:"horizontal",cellCount:s,overscanCellsCount:f,scrollDirection:C,startIndex:typeof k.start=="number"?k.start:0,stopIndex:typeof k.stop=="number"?k.stop:-1}),M=h({direction:"vertical",cellCount:w,overscanCellsCount:p,scrollDirection:g,startIndex:typeof b.start=="number"?b.start:0,stopIndex:typeof b.stop=="number"?b.stop:-1}),F=I.overscanStartIndex,q=I.overscanStopIndex,G=M.overscanStartIndex,ue=M.overscanStopIndex;if(u){if(!u.hasFixedHeight()){for(var se=G;se<=ue;se++)if(!u.has(se,0)){F=0,q=s-1;break}}if(!u.hasFixedWidth()){for(var ge=F;ge<=q;ge++)if(!u.has(0,ge)){G=0,ue=w-1;break}}}this._childrenToDisplay=a({cellCache:this._cellCache,cellRenderer:i,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:F,columnStopIndex:q,deferredMeasurementCache:u,horizontalOffsetAdjustment:E,isScrolling:O,isScrollingOptOut:y,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:G,rowStopIndex:ue,scrollLeft:T,scrollTop:_,styleCache:this._styleCache,verticalOffsetAdjustment:P,visibleColumnIndices:k,visibleRowIndices:b}),this._columnStartIndex=F,this._columnStopIndex=q,this._rowStartIndex=G,this._rowStopIndex=ue}}},{key:"_debounceScrollEnded",value:function(){var n=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&ba(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=fg(this._debounceScrollEndedCallback,n)}},{key:"_handleInvalidatedGridSize",value:function(){if(typeof this._deferredInvalidateColumnIndex=="number"&&typeof this._deferredInvalidateRowIndex=="number"){var n=this._deferredInvalidateColumnIndex,o=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:n,rowIndex:o})}}},{key:"_invokeOnScrollMemoizer",value:function(n){var o=this,i=n.scrollLeft,a=n.scrollTop,s=n.totalColumnsWidth,u=n.totalRowsHeight;this._onScrollMemoizer({callback:function(f){var h=f.scrollLeft,p=f.scrollTop,w=o.props,S=w.height,y=w.onScroll,C=w.width;y({clientHeight:S,clientWidth:C,scrollHeight:u,scrollLeft:h,scrollTop:p,scrollWidth:s})},indices:{scrollLeft:i,scrollTop:a}})}},{key:"_isScrolling",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return Object.hasOwnProperty.call(n,"isScrolling")?!!n.isScrolling:!!o.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var n=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,n({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(n){var o=n.scrollLeft,i=n.scrollTop,a=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:i});a&&(a.needToResetStyleCache=!1,this.setState(a))}},{key:"_getCalculatedScrollLeft",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return t._getCalculatedScrollLeft(n,o)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,i=t._getScrollLeftForScrollToColumnStateUpdate(n,o);i&&(i.needToResetStyleCache=!1,this.setState(i))}},{key:"_getCalculatedScrollTop",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return t._getCalculatedScrollTop(n,o)}},{key:"_resetStyleCache",value:function(){var n=this._styleCache,o=this._cellCache,i=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var a=this._rowStartIndex;a<=this._rowStopIndex;a++)for(var s=this._columnStartIndex;s<=this._columnStopIndex;s++){var u="".concat(a,"-").concat(s);this._styleCache[u]=n[u],i&&(this._cellCache[u]=o[u])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,i=t._getScrollTopForScrollToRowStateUpdate(n,o);i&&(i.needToResetStyleCache=!1,this.setState(i))}}],[{key:"getDerivedStateFromProps",value:function(n,o){var i={};n.columnCount===0&&o.scrollLeft!==0||n.rowCount===0&&o.scrollTop!==0?(i.scrollLeft=0,i.scrollTop=0):(n.scrollLeft!==o.scrollLeft&&n.scrollToColumn<0||n.scrollTop!==o.scrollTop&&n.scrollToRow<0)&&Object.assign(i,t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}));var a=o.instanceProps;i.needToResetStyleCache=!1,(n.columnWidth!==a.prevColumnWidth||n.rowHeight!==a.prevRowHeight)&&(i.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:n.columnCount,estimatedCellSize:t._getEstimatedColumnSize(n),cellSizeGetter:t._wrapSizeGetter(n.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:n.rowCount,estimatedCellSize:t._getEstimatedRowSize(n),cellSizeGetter:t._wrapSizeGetter(n.rowHeight)}),(a.prevColumnCount===0||a.prevRowCount===0)&&(a.prevColumnCount=0,a.prevRowCount=0),n.autoHeight&&n.isScrolling===!1&&a.prevIsScrolling===!0&&Object.assign(i,{isScrolling:!1});var s,u;return u1({cellCount:a.prevColumnCount,cellSize:typeof a.prevColumnWidth=="number"?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:n,nextCellsCount:n.columnCount,nextCellSize:typeof n.columnWidth=="number"?n.columnWidth:null,nextScrollToIndex:n.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){s=t._getScrollLeftForScrollToColumnStateUpdate(n,o)}}),u1({cellCount:a.prevRowCount,cellSize:typeof a.prevRowHeight=="number"?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:n,nextCellsCount:n.rowCount,nextCellSize:typeof n.rowHeight=="number"?n.rowHeight:null,nextScrollToIndex:n.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){u=t._getScrollTopForScrollToRowStateUpdate(n,o)}}),a.prevColumnCount=n.columnCount,a.prevColumnWidth=n.columnWidth,a.prevIsScrolling=n.isScrolling===!0,a.prevRowCount=n.rowCount,a.prevRowHeight=n.rowHeight,a.prevScrollToColumn=n.scrollToColumn,a.prevScrollToRow=n.scrollToRow,a.scrollbarSize=n.getScrollbarSize(),a.scrollbarSize===void 0?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,i.instanceProps=a,jo({},i,{},s,{},u)}},{key:"_getEstimatedColumnSize",value:function(n){return typeof n.columnWidth=="number"?n.columnWidth:n.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(n){return typeof n.rowHeight=="number"?n.rowHeight:n.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(n){var o=n.prevState,i=n.scrollLeft,a=n.scrollTop,s={scrollPositionChangeReason:Wh.REQUESTED};return typeof i=="number"&&i>=0&&(s.scrollDirectionHorizontal=i>o.scrollLeft?En:au,s.scrollLeft=i),typeof a=="number"&&a>=0&&(s.scrollDirectionVertical=a>o.scrollTop?En:au,s.scrollTop=a),typeof i=="number"&&i>=0&&i!==o.scrollLeft||typeof a=="number"&&a>=0&&a!==o.scrollTop?s:{}}},{key:"_wrapSizeGetter",value:function(n){return typeof n=="function"?n:function(){return n}}},{key:"_getCalculatedScrollLeft",value:function(n,o){var i=n.columnCount,a=n.height,s=n.scrollToAlignment,u=n.scrollToColumn,c=n.width,f=o.scrollLeft,h=o.instanceProps;if(i>0){var p=i-1,w=u<0?p:Math.min(p,u),S=h.rowSizeAndPositionManager.getTotalSize(),y=h.scrollbarSizeMeasured&&S>a?h.scrollbarSize:0;return h.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:s,containerSize:c-y,currentOffset:f,targetIndex:w})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(n,o){var i=o.scrollLeft,a=t._getCalculatedScrollLeft(n,o);return typeof a=="number"&&a>=0&&i!==a?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:a,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(n,o){var i=n.height,a=n.rowCount,s=n.scrollToAlignment,u=n.scrollToRow,c=n.width,f=o.scrollTop,h=o.instanceProps;if(a>0){var p=a-1,w=u<0?p:Math.min(p,u),S=h.columnSizeAndPositionManager.getTotalSize(),y=h.scrollbarSizeMeasured&&S>c?h.scrollbarSize:0;return h.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:s,containerSize:i-y,currentOffset:f,targetIndex:w})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(n,o){var i=o.scrollTop,a=t._getCalculatedScrollTop(n,o);return typeof a=="number"&&a>=0&&i!==a?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:a}):{}}}]),t}(N.PureComponent),$(h1,"propTypes",null),p1);$(Mn,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:IR,containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:hm,noContentRenderer:n$,onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:PR,overscanRowCount:10,role:"grid",scrollingResetTimeInterval:r$,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1});xs(Mn);var o$=1;function dg(e){var t=e.cellCount,r=e.overscanCellsCount,n=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return r=Math.max(1,r),n===o$?{overscanStartIndex:Math.max(0,o-1),overscanStopIndex:Math.min(t-1,i+r)}:{overscanStartIndex:Math.max(0,o-r),overscanStopIndex:Math.min(t-1,i+1)}}var v1,g1;function y1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function i$(e){for(var t=1;t div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',I=E.head||E.getElementsByTagName("head")[0],M=E.createElement("style");M.id="detectElementResize",M.type="text/css",e!=null&&M.setAttribute("nonce",e),M.styleSheet?M.styleSheet.cssText=P:M.appendChild(E.createTextNode(P)),I.appendChild(M)}},O=function(E,P){if(n)E.attachEvent("onresize",P);else{if(!E.__resizeTriggers__){var I=E.ownerDocument,M=r.getComputedStyle(E);M&&M.position=="static"&&(E.style.position="relative"),T(I),E.__resizeLast__={},E.__resizeListeners__=[],(E.__resizeTriggers__=I.createElement("div")).className="resize-triggers";var F='
';if(window.trustedTypes){var q=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return F}});E.__resizeTriggers__.innerHTML=q.createHTML("")}else E.__resizeTriggers__.innerHTML=F;E.appendChild(E.__resizeTriggers__),a(E),E.addEventListener("scroll",u,!0),h&&(E.__resizeTriggers__.__animationListener__=function(ue){ue.animationName==g&&a(E)},E.__resizeTriggers__.addEventListener(h,E.__resizeTriggers__.__animationListener__))}E.__resizeListeners__.push(P)}},k=function(E,P){if(n)E.detachEvent("onresize",P);else if(E.__resizeListeners__.splice(E.__resizeListeners__.indexOf(P),1),!E.__resizeListeners__.length){E.removeEventListener("scroll",u,!0),E.__resizeTriggers__.__animationListener__&&(E.__resizeTriggers__.removeEventListener(h,E.__resizeTriggers__.__animationListener__),E.__resizeTriggers__.__animationListener__=null);try{E.__resizeTriggers__=!E.removeChild(E.__resizeTriggers__)}catch{}}};return{addResizeListener:O,removeResizeListener:k}}var _1,S1;function w1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function a$(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};it(this,e),$(this,"_cellHeightCache",{}),$(this,"_cellWidthCache",{}),$(this,"_columnWidthCache",{}),$(this,"_rowHeightCache",{}),$(this,"_defaultHeight",void 0),$(this,"_defaultWidth",void 0),$(this,"_minHeight",void 0),$(this,"_minWidth",void 0),$(this,"_keyMapper",void 0),$(this,"_hasFixedHeight",void 0),$(this,"_hasFixedWidth",void 0),$(this,"_columnCount",0),$(this,"_rowCount",0),$(this,"columnWidth",function(f){var h=f.index,p=t._keyMapper(0,h);return t._columnWidthCache[p]!==void 0?t._columnWidthCache[p]:t._defaultWidth}),$(this,"rowHeight",function(f){var h=f.index,p=t._keyMapper(h,0);return t._rowHeightCache[p]!==void 0?t._rowHeightCache[p]:t._defaultHeight});var n=r.defaultHeight,o=r.defaultWidth,i=r.fixedHeight,a=r.fixedWidth,s=r.keyMapper,u=r.minHeight,c=r.minWidth;this._hasFixedHeight=i===!0,this._hasFixedWidth=a===!0,this._minHeight=u||0,this._minWidth=c||0,this._keyMapper=s||c$,this._defaultHeight=Math.max(this._minHeight,typeof n=="number"?n:l$),this._defaultWidth=Math.max(this._minWidth,typeof o=="number"?o:s$)}return ut(e,[{key:"clear",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=this._keyMapper(r,n);delete this._cellHeightCache[o],delete this._cellWidthCache[o],this._updateCachedColumnAndRowSizes(r,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var o=this._keyMapper(r,n);return this._cellHeightCache[o]!==void 0?Math.max(this._minHeight,this._cellHeightCache[o]):this._defaultHeight}},{key:"getWidth",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var o=this._keyMapper(r,n);return this._cellWidthCache[o]!==void 0?Math.max(this._minWidth,this._cellWidthCache[o]):this._defaultWidth}},{key:"has",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=this._keyMapper(r,n);return this._cellHeightCache[o]!==void 0}},{key:"set",value:function(r,n,o,i){var a=this._keyMapper(r,n);n>=this._columnCount&&(this._columnCount=n+1),r>=this._rowCount&&(this._rowCount=r+1),this._cellHeightCache[a]=i,this._cellWidthCache[a]=o,this._updateCachedColumnAndRowSizes(r,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(r,n){if(!this._hasFixedWidth){for(var o=0,i=0;i=0){var C=u.getScrollPositionForCell({align:f,cellIndex:h,height:c,scrollLeft:S,scrollTop:y,width:p});(C.scrollLeft!==S||C.scrollTop!==y)&&n._setScrollPosition(C)}}),$(Y(n),"_onScroll",function(s){if(s.target===n._scrollingContainer){n._enablePointerEventsAfterDelay();var u=n.props,c=u.cellLayoutManager,f=u.height,h=u.isScrollingChange,p=u.width,w=n._scrollbarSize,S=c.getTotalSize(),y=S.height,C=S.width,g=Math.max(0,Math.min(C-p+w,s.target.scrollLeft)),m=Math.max(0,Math.min(y-f+w,s.target.scrollTop));if(n.state.scrollLeft!==g||n.state.scrollTop!==m){var _=s.cancelable?Oi.OBSERVED:Oi.REQUESTED;n.state.isScrolling||h(!0),n.setState({isScrolling:!0,scrollLeft:g,scrollPositionChangeReason:_,scrollTop:m})}n._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:m,totalWidth:C,totalHeight:y})}}),n._scrollbarSize=hm(),n._scrollbarSize===void 0?(n._scrollbarSizeMeasured=!1,n._scrollbarSize=0):n._scrollbarSizeMeasured=!0,n}return ut(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var n=this.props,o=n.cellLayoutManager,i=n.scrollLeft,a=n.scrollToCell,s=n.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=hm(),this._scrollbarSizeMeasured=!0,this.setState({})),a>=0?this._updateScrollPositionForScrollToCell():(i>=0||s>=0)&&this._setScrollPosition({scrollLeft:i,scrollTop:s}),this._invokeOnSectionRenderedHelper();var u=o.getTotalSize(),c=u.height,f=u.width;this._invokeOnScrollMemoizer({scrollLeft:i||0,scrollTop:s||0,totalHeight:c,totalWidth:f})}},{key:"componentDidUpdate",value:function(n,o){var i=this.props,a=i.height,s=i.scrollToAlignment,u=i.scrollToCell,c=i.width,f=this.state,h=f.scrollLeft,p=f.scrollPositionChangeReason,w=f.scrollTop;p===Oi.REQUESTED&&(h>=0&&h!==o.scrollLeft&&h!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=h),w>=0&&w!==o.scrollTop&&w!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=w)),(a!==n.height||s!==n.scrollToAlignment||u!==n.scrollToCell||c!==n.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var n=this.props,o=n.autoHeight,i=n.cellCount,a=n.cellLayoutManager,s=n.className,u=n.height,c=n.horizontalOverscanSize,f=n.id,h=n.noContentRenderer,p=n.style,w=n.verticalOverscanSize,S=n.width,y=this.state,C=y.isScrolling,g=y.scrollLeft,m=y.scrollTop;(this._lastRenderedCellCount!==i||this._lastRenderedCellLayoutManager!==a||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=i,this._lastRenderedCellLayoutManager=a,this._calculateSizeAndPositionDataOnNextUpdate=!1,a.calculateSizeAndPositionData());var _=a.getTotalSize(),T=_.height,O=_.width,k=Math.max(0,g-c),b=Math.max(0,m-w),E=Math.min(O,g+S+c),P=Math.min(T,m+u+w),I=u>0&&S>0?a.cellRenderers({height:P-b,isScrolling:C,width:E-k,x:k,y:b}):[],M={boxSizing:"border-box",direction:"ltr",height:o?"auto":u,position:"relative",WebkitOverflowScrolling:"touch",width:S,willChange:"transform"},F=T>u?this._scrollbarSize:0,q=O>S?this._scrollbarSize:0;return M.overflowX=O+F<=S?"hidden":"auto",M.overflowY=T+q<=u?"hidden":"auto",N.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Yr("ReactVirtualized__Collection",s),id:f,onScroll:this._onScroll,role:"grid",style:f$({},M,{},p),tabIndex:0},i>0&&N.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:T,maxHeight:T,maxWidth:O,overflow:"hidden",pointerEvents:C?"none":"",width:O}},I),i===0&&h())}},{key:"_enablePointerEventsAfterDelay",value:function(){var n=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){var o=n.props.isScrollingChange;o(!1),n._disablePointerEventsTimeoutId=null,n.setState({isScrolling:!1})},d$)}},{key:"_invokeOnScrollMemoizer",value:function(n){var o=this,i=n.scrollLeft,a=n.scrollTop,s=n.totalHeight,u=n.totalWidth;this._onScrollMemoizer({callback:function(f){var h=f.scrollLeft,p=f.scrollTop,w=o.props,S=w.height,y=w.onScroll,C=w.width;y({clientHeight:S,clientWidth:C,scrollHeight:s,scrollLeft:h,scrollTop:p,scrollWidth:u})},indices:{scrollLeft:i,scrollTop:a}})}},{key:"_setScrollPosition",value:function(n){var o=n.scrollLeft,i=n.scrollTop,a={scrollPositionChangeReason:Oi.REQUESTED};o>=0&&(a.scrollLeft=o),i>=0&&(a.scrollTop=i),(o>=0&&o!==this.state.scrollLeft||i>=0&&i!==this.state.scrollTop)&&this.setState(a)}}],[{key:"getDerivedStateFromProps",value:function(n,o){return n.cellCount===0&&(o.scrollLeft!==0||o.scrollTop!==0)?{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:Oi.REQUESTED}:n.scrollLeft!==o.scrollLeft||n.scrollTop!==o.scrollTop?{scrollLeft:n.scrollLeft!=null?n.scrollLeft:o.scrollLeft,scrollTop:n.scrollTop!=null?n.scrollTop:o.scrollTop,scrollPositionChangeReason:Oi.REQUESTED}:null}}]),t}(N.PureComponent);$(Df,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0});Df.propTypes={};xs(Df);var h$=function(){function e(t){var r=t.height,n=t.width,o=t.x,i=t.y;it(this,e),this.height=r,this.width=n,this.x=o,this.y=i,this._indexMap={},this._indices=[]}return ut(e,[{key:"addCellIndex",value:function(r){var n=r.index;this._indexMap[n]||(this._indexMap[n]=!0,this._indices.push(n))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),p$=100,m$=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p$;it(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return ut(e,[{key:"getCellIndices",value:function(r){var n=r.height,o=r.width,i=r.x,a=r.y,s={};return this.getSections({height:n,width:o,x:i,y:a}).forEach(function(u){return u.getCellIndices().forEach(function(c){s[c]=c})}),Object.keys(s).map(function(u){return s[u]})}},{key:"getCellMetadata",value:function(r){var n=r.index;return this._cellMetadata[n]}},{key:"getSections",value:function(r){for(var n=r.height,o=r.width,i=r.x,a=r.y,s=Math.floor(i/this._sectionSize),u=Math.floor((i+o-1)/this._sectionSize),c=Math.floor(a/this._sectionSize),f=Math.floor((a+n-1)/this._sectionSize),h=[],p=s;p<=u;p++)for(var w=c;w<=f;w++){var S="".concat(p,".").concat(w);this._sections[S]||(this._sections[S]=new h$({height:this._sectionSize,width:this._sectionSize,x:p*this._sectionSize,y:w*this._sectionSize})),h.push(this._sections[S])}return h}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var r=this;return Object.keys(this._sections).map(function(n){return r._sections[n].toString()})}},{key:"registerCell",value:function(r){var n=r.cellMetadatum,o=r.index;this._cellMetadata[o]=n,this.getSections(n).forEach(function(i){return i.addCellIndex({index:o})})}}]),e}();function v$(e){for(var t=e.cellCount,r=e.cellSizeAndPositionGetter,n=e.sectionSize,o=[],i=new m$(n),a=0,s=0,u=0;u=0&&ie.length)&&(t=e.length);for(var r=0,n=new Array(t);rr||o0;){var S=w.startIndex-1;if(!t({index:S}))w.startIndex=S;else break}return a}function C$(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=typeof e.recomputeGridSize=="function"?e.recomputeGridSize:e.recomputeRowHeights;r?r.call(e,t):e.forceUpdate()}var T1,E1,NR=(E1=T1=function(e){Xt(t,e);function t(){var r,n;it(this,t);for(var o=arguments.length,i=new Array(o),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a;this.Grid&&this.Grid.recomputeGridSize({rowIndex:s,columnIndex:i})}},{key:"recomputeRowHeights",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:n,columnIndex:0})}},{key:"scrollToPosition",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:n})}},{key:"scrollToRow",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:n})}},{key:"render",value:function(){var n=this.props,o=n.className,i=n.noRowsRenderer,a=n.scrollToIndex,s=n.width,u=Yr("ReactVirtualized__List",o);return N.createElement(Mn,_e({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:u,columnWidth:s,columnCount:1,noContentRenderer:i,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:a}))}}]),t}(N.PureComponent),$(T1,"propTypes",null),E1);$(NR,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:dg,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});function R$(e){if(Array.isArray(e))return e}function T$(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){c=!0,o=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function E$(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function O$(e,t){return R$(e)||T$(e,t)||LR(e,t)||E$()}function k$(e,t,r,n){for(var o=r+1;t<=r;){var i=t+r>>>1,a=e[i];a>=n?(o=i,r=i-1):t=i+1}return o}function P$(e,t,r,n,o){for(var i=r+1;t<=r;){var a=t+r>>>1,s=e[a];o(s,n)>=0?(i=a,r=a-1):t=a+1}return i}function I$(e,t,r,n,o){return typeof r=="function"?P$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):k$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function z$(e,t,r,n){for(var o=r+1;t<=r;){var i=t+r>>>1,a=e[i];a>n?(o=i,r=i-1):t=i+1}return o}function j$(e,t,r,n,o){for(var i=r+1;t<=r;){var a=t+r>>>1,s=e[a];o(s,n)>0?(i=a,r=a-1):t=a+1}return i}function A$(e,t,r,n,o){return typeof r=="function"?j$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):z$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function M$(e,t,r,n){for(var o=t-1;t<=r;){var i=t+r>>>1,a=e[i];a>>1,s=e[a];o(s,n)<0?(i=a,t=a+1):r=a-1}return i}function N$(e,t,r,n,o){return typeof r=="function"?L$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):M$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function $$(e,t,r,n){for(var o=t-1;t<=r;){var i=t+r>>>1,a=e[i];a<=n?(o=i,t=i+1):r=i-1}return o}function D$(e,t,r,n,o){for(var i=t-1;t<=r;){var a=t+r>>>1,s=e[a];o(s,n)<=0?(i=a,t=a+1):r=a-1}return i}function F$(e,t,r,n,o){return typeof r=="function"?D$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):$$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function W$(e,t,r,n){for(;t<=r;){var o=t+r>>>1,i=e[o];if(i===n)return o;i<=n?t=o+1:r=o-1}return-1}function B$(e,t,r,n,o){for(;t<=r;){var i=t+r>>>1,a=e[i],s=o(a,n);if(s===0)return i;s<=0?t=i+1:r=i-1}return-1}function U$(e,t,r,n,o){return typeof r=="function"?B$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):W$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}const xc={ge:I$,gt:A$,lt:N$,le:F$,eq:U$};var qi=0,Do=1,Lu=2;function vg(e,t,r,n,o){this.mid=e,this.left=t,this.right=r,this.leftPoints=n,this.rightPoints=o,this.count=(t?t.count:0)+(r?r.count:0)+n.length}var Cs=vg.prototype;function Bh(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function $R(e,t){var r=xa(t);e.mid=r.mid,e.left=r.left,e.right=r.right,e.leftPoints=r.leftPoints,e.rightPoints=r.rightPoints,e.count=r.count}function O1(e,t){var r=e.intervals([]);r.push(t),$R(e,r)}function k1(e,t){var r=e.intervals([]),n=r.indexOf(t);return n<0?qi:(r.splice(n,1),$R(e,r),Do)}Cs.intervals=function(e){return e.push.apply(e,this.leftPoints),this.left&&this.left.intervals(e),this.right&&this.right.intervals(e),e};Cs.insert=function(e){var t=this.count-this.leftPoints.length;if(this.count+=1,e[1]3*(t+1)?O1(this,e):this.left.insert(e):this.left=xa([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?O1(this,e):this.right.insert(e):this.right=xa([e]);else{var r=xc.ge(this.leftPoints,e,gg),n=xc.ge(this.rightPoints,e,yg);this.leftPoints.splice(r,0,e),this.rightPoints.splice(n,0,e)}};Cs.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1))return k1(this,e);var n=this.left.remove(e);return n===Lu?(this.left=null,this.count-=1,Do):(n===Do&&(this.count-=1),n)}else if(e[0]>this.mid){if(!this.right)return qi;var o=this.left?this.left.count:0;if(4*o>3*(t-1))return k1(this,e);var n=this.right.remove(e);return n===Lu?(this.right=null,this.count-=1,Do):(n===Do&&(this.count-=1),n)}else{if(this.count===1)return this.leftPoints[0]===e?Lu:qi;if(this.leftPoints.length===1&&this.leftPoints[0]===e){if(this.left&&this.right){for(var i=this,a=this.left;a.right;)i=a,a=a.right;if(i===this)a.right=this.right;else{var s=this.left,n=this.right;i.count-=a.count,i.right=a.left,a.left=s,a.right=n}Bh(this,a),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?Bh(this,this.left):Bh(this,this.right);return Do}for(var s=xc.ge(this.leftPoints,e,gg);s=0&&e[n][1]>=t;--n){var o=r(e[n]);if(o)return o}}function WR(e,t){for(var r=0;rthis.mid){if(this.right){var r=this.right.queryPoint(e,t);if(r)return r}return FR(this.rightPoints,e,t)}else return WR(this.leftPoints,t)};Cs.queryInterval=function(e,t,r){if(ethis.mid&&this.right){var n=this.right.queryInterval(e,t,r);if(n)return n}return tthis.mid?FR(this.rightPoints,e,r):WR(this.leftPoints,r)};function H$(e,t){return e-t}function gg(e,t){var r=e[0]-t[0];return r||e[1]-t[1]}function yg(e,t){var r=e[1]-t[1];return r||e[0]-t[0]}function xa(e){if(e.length===0)return null;for(var t=[],r=0;r>1],o=[],i=[],a=[],r=0;r"u"?(I=G,M=G):(I=Math.min(I,G),M=Math.max(M,G)),k.push(u({index:G,isScrolling:T,key:p(G),parent:n,style:(ge={height:s.getHeight(G)},$(ge,m==="ltr"?"left":"right",ue),$(ge,"position","absolute"),$(ge,"top",se),$(ge,"width",s.getWidth(G)),ge)}))}),E0&&arguments[0]!==void 0?arguments[0]:{};it(this,e),$(this,"_cellMeasurerCache",void 0),$(this,"_columnIndexOffset",void 0),$(this,"_rowIndexOffset",void 0),$(this,"columnWidth",function(u){var c=u.index;t._cellMeasurerCache.columnWidth({index:c+t._columnIndexOffset})}),$(this,"rowHeight",function(u){var c=u.index;t._cellMeasurerCache.rowHeight({index:c+t._rowIndexOffset})});var n=r.cellMeasurerCache,o=r.columnIndexOffset,i=o===void 0?0:o,a=r.rowIndexOffset,s=a===void 0?0:a;this._cellMeasurerCache=n,this._columnIndexOffset=i,this._rowIndexOffset=s}return ut(e,[{key:"clear",value:function(r,n){this._cellMeasurerCache.clear(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getHeight(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"getWidth",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getWidth(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"has",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.has(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"set",value:function(r,n,o,i){this._cellMeasurerCache.set(r+this._rowIndexOffset,n+this._columnIndexOffset,o,i)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function A1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Lt(e){for(var t=1;t0?new Hh({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:s}):i,o._deferredMeasurementCacheBottomRightGrid=a>0||s>0?new Hh({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:s}):i,o._deferredMeasurementCacheTopRightGrid=a>0?new Hh({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:0}):i),o}return ut(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,i):i,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,s):s}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a,u=this.props,c=u.fixedColumnCount,f=u.fixedRowCount,h=Math.max(0,i-c),p=Math.max(0,s-f);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:i,rowIndex:p}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:h,rowIndex:p}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:i,rowIndex:s}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:h,rowIndex:s}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var n=this.props,o=n.scrollLeft,i=n.scrollTop;if(o>0||i>0){var a={};o>0&&(a.scrollLeft=o),i>0&&(a.scrollTop=i),this.setState(a)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var n=this.props,o=n.onScroll,i=n.onSectionRendered;n.onScrollbarPresenceChange,n.scrollLeft;var a=n.scrollToColumn;n.scrollTop;var s=n.scrollToRow,u=ml(n,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),this.props.width===0||this.props.height===0)return null;var c=this.state,f=c.scrollLeft,h=c.scrollTop;return N.createElement("div",{style:this._containerOuterStyle},N.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(u),this._renderTopRightGrid(Lt({},u,{onScroll:o,scrollLeft:f}))),N.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(Lt({},u,{onScroll:o,scrollTop:h})),this._renderBottomRightGrid(Lt({},u,{onScroll:o,onSectionRendered:i,scrollLeft:f,scrollToColumn:a,scrollToRow:s,scrollTop:h}))))}},{key:"_getBottomGridHeight",value:function(n){var o=n.height,i=this._getTopGridHeight(n);return o-i}},{key:"_getLeftGridWidth",value:function(n){var o=n.fixedColumnCount,i=n.columnWidth;if(this._leftGridWidth==null)if(typeof i=="function"){for(var a=0,s=0;s=0?n.scrollLeft:o.scrollLeft,scrollTop:n.scrollTop!=null&&n.scrollTop>=0?n.scrollTop:o.scrollTop}:null}}]),t}(N.PureComponent);$(Ff,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1});Ff.propTypes={};xs(Ff);var BR=function(e){Xt(t,e);function t(r,n){var o;return it(this,t),o=Qt(this,It(t).call(this,r,n)),o.state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},o._onScroll=o._onScroll.bind(Y(o)),o}return ut(t,[{key:"render",value:function(){var n=this.props.children,o=this.state,i=o.clientHeight,a=o.clientWidth,s=o.scrollHeight,u=o.scrollLeft,c=o.scrollTop,f=o.scrollWidth;return n({clientHeight:i,clientWidth:a,onScroll:this._onScroll,scrollHeight:s,scrollLeft:u,scrollTop:c,scrollWidth:f})}},{key:"_onScroll",value:function(n){var o=n.clientHeight,i=n.clientWidth,a=n.scrollHeight,s=n.scrollLeft,u=n.scrollTop,c=n.scrollWidth;this.setState({clientHeight:o,clientWidth:i,scrollHeight:a,scrollLeft:s,scrollTop:u,scrollWidth:c})}}]),t}(N.PureComponent);BR.propTypes={};function X$(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.defaultSortBy,n=t.defaultSortDirection,o=n===void 0?{}:n;if(!e)throw Error('Required parameter "sortCallback" not specified');var i=r||[],a={};i.forEach(function(u){a[u]=o[u]!==void 0?o[u]:"ASC"});function s(u){var c=u.defaultSortDirection,f=u.event,h=u.sortBy;if(f.shiftKey)a[h]!==void 0?a[h]=a[h]==="ASC"?"DESC":"ASC":(a[h]=c,i.push(h));else if(f.ctrlKey||f.metaKey){var p=i.indexOf(h);p>=0&&(i.splice(p,1),delete a[h])}else{i.length=0,i.push(h);var w=Object.keys(a);w.forEach(function(S){S!==h&&delete a[S]}),a[h]!==void 0?a[h]=a[h]==="ASC"?"DESC":"ASC":a[h]=c}e({sortBy:i,sortDirection:a})}return{sort:s,sortBy:i,sortDirection:a}}function UR(e){var t=e.dataKey,r=e.rowData;return typeof r.get=="function"?r.get(t):r[t]}function HR(e){var t=e.cellData;return t==null?"":String(t)}function Sg(e){var t=e.className,r=e.columns,n=e.style;return N.createElement("div",{className:t,role:"row",style:n},r)}Sg.propTypes=null;var Ln={ASC:"ASC",DESC:"DESC"};function wg(e){var t=e.sortDirection,r=Yr("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===Ln.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===Ln.DESC});return N.createElement("svg",{className:r,width:18,height:18,viewBox:"0 0 24 24"},t===Ln.ASC?N.createElement("path",{d:"M7 14l5-5 5 5z"}):N.createElement("path",{d:"M7 10l5 5 5-5z"}),N.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}wg.propTypes={};function bg(e){var t=e.dataKey,r=e.label,n=e.sortBy,o=e.sortDirection,i=n===t,a=[N.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:typeof r=="string"?r:null},r)];return i&&a.push(N.createElement(wg,{key:"SortIndicator",sortDirection:o})),a}bg.propTypes=null;function xg(e){var t=e.className,r=e.columns,n=e.index,o=e.key,i=e.onRowClick,a=e.onRowDoubleClick,s=e.onRowMouseOut,u=e.onRowMouseOver,c=e.onRowRightClick,f=e.rowData,h=e.style,p={"aria-rowindex":n+1};return(i||a||s||u||c)&&(p["aria-label"]="row",p.tabIndex=0,i&&(p.onClick=function(w){return i({event:w,index:n,rowData:f})}),a&&(p.onDoubleClick=function(w){return a({event:w,index:n,rowData:f})}),s&&(p.onMouseOut=function(w){return s({event:w,index:n,rowData:f})}),u&&(p.onMouseOver=function(w){return u({event:w,index:n,rowData:f})}),c&&(p.onContextMenu=function(w){return c({event:w,index:n,rowData:f})})),N.createElement("div",_e({},p,{className:t,key:o,role:"row",style:h}),r)}xg.propTypes=null;var Cg=function(e){Xt(t,e);function t(){return it(this,t),Qt(this,It(t).apply(this,arguments))}return t}(N.Component);$(Cg,"defaultProps",{cellDataGetter:UR,cellRenderer:HR,defaultSortDirection:Ln.ASC,flexGrow:0,flexShrink:1,headerRenderer:bg,style:{}});Cg.propTypes={};function L1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ki(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a;this.Grid&&this.Grid.recomputeGridSize({rowIndex:s,columnIndex:i})}},{key:"recomputeRowHeights",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:n})}},{key:"scrollToPosition",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:n})}},{key:"scrollToRow",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:n})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var n=ps.findDOMNode(this.Grid),o=n.clientWidth||0,i=n.offsetWidth||0;return i-o}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var n=this,o=this.props,i=o.children,a=o.className,s=o.disableHeader,u=o.gridClassName,c=o.gridStyle,f=o.headerHeight,h=o.headerRowRenderer,p=o.height,w=o.id,S=o.noRowsRenderer,y=o.rowClassName,C=o.rowStyle,g=o.scrollToIndex,m=o.style,_=o.width,T=this.state.scrollbarWidth,O=s?p:p-f,k=typeof y=="function"?y({index:-1}):y,b=typeof C=="function"?C({index:-1}):C;return this._cachedColumnStyles=[],N.Children.toArray(i).forEach(function(E,P){var I=n._getFlexStyleForColumn(E,E.props.style);n._cachedColumnStyles[P]=ki({overflow:"hidden"},I)}),N.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":N.Children.toArray(i).length,"aria-rowcount":this.props.rowCount,className:Yr("ReactVirtualized__Table",a),id:w,role:"grid",style:m},!s&&h({className:Yr("ReactVirtualized__Table__headerRow",k),columns:this._getHeaderColumns(),style:ki({height:f,overflow:"hidden",paddingRight:T,width:_},b)}),N.createElement(Mn,_e({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:Yr("ReactVirtualized__Table__Grid",u),cellRenderer:this._createRow,columnWidth:_,columnCount:1,height:O,id:void 0,noContentRenderer:S,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:T,scrollToRow:g,style:ki({},c,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(n){var o=n.column,i=n.columnIndex,a=n.isScrolling,s=n.parent,u=n.rowData,c=n.rowIndex,f=this.props.onColumnClick,h=o.props,p=h.cellDataGetter,w=h.cellRenderer,S=h.className,y=h.columnData,C=h.dataKey,g=h.id,m=p({columnData:y,dataKey:C,rowData:u}),_=w({cellData:m,columnData:y,columnIndex:i,dataKey:C,isScrolling:a,parent:s,rowData:u,rowIndex:c}),T=function(E){f&&f({columnData:y,dataKey:C,event:E})},O=this._cachedColumnStyles[i],k=typeof _=="string"?_:null;return N.createElement("div",{"aria-colindex":i+1,"aria-describedby":g,className:Yr("ReactVirtualized__Table__rowColumn",S),key:"Row"+c+"-Col"+i,onClick:T,role:"gridcell",style:O,title:k},_)}},{key:"_createHeader",value:function(n){var o=n.column,i=n.index,a=this.props,s=a.headerClassName,u=a.headerStyle,c=a.onHeaderClick,f=a.sort,h=a.sortBy,p=a.sortDirection,w=o.props,S=w.columnData,y=w.dataKey,C=w.defaultSortDirection,g=w.disableSort,m=w.headerRenderer,_=w.id,T=w.label,O=!g&&f,k=Yr("ReactVirtualized__Table__headerColumn",s,o.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:O}),b=this._getFlexStyleForColumn(o,ki({},u,{},o.props.headerStyle)),E=m({columnData:S,dataKey:y,disableSort:g,label:T,sortBy:h,sortDirection:p}),P,I,M,F,q;if(O||c){var G=h!==y,ue=G?C:p===Ln.DESC?Ln.ASC:Ln.DESC,se=function(ie){O&&f({defaultSortDirection:C,event:ie,sortBy:y,sortDirection:ue}),c&&c({columnData:S,dataKey:y,event:ie})},ge=function(ie){(ie.key==="Enter"||ie.key===" ")&&se(ie)};q=o.props["aria-label"]||T||y,F="none",M=0,P=se,I=ge}return h===y&&(F=p===Ln.ASC?"ascending":"descending"),N.createElement("div",{"aria-label":q,"aria-sort":F,className:k,id:_,key:"Header-Col"+i,onClick:P,onKeyDown:I,role:"columnheader",style:b,tabIndex:M},E)}},{key:"_createRow",value:function(n){var o=this,i=n.rowIndex,a=n.isScrolling,s=n.key,u=n.parent,c=n.style,f=this.props,h=f.children,p=f.onRowClick,w=f.onRowDoubleClick,S=f.onRowRightClick,y=f.onRowMouseOver,C=f.onRowMouseOut,g=f.rowClassName,m=f.rowGetter,_=f.rowRenderer,T=f.rowStyle,O=this.state.scrollbarWidth,k=typeof g=="function"?g({index:i}):g,b=typeof T=="function"?T({index:i}):T,E=m({index:i}),P=N.Children.toArray(h).map(function(F,q){return o._createColumn({column:F,columnIndex:q,isScrolling:a,parent:u,rowData:E,rowIndex:i,scrollbarWidth:O})}),I=Yr("ReactVirtualized__Table__row",k),M=ki({},c,{height:this._getRowHeight(i),overflow:"hidden",paddingRight:O},b);return _({className:I,columns:P,index:i,isScrolling:a,key:s,onRowClick:p,onRowDoubleClick:w,onRowRightClick:S,onRowMouseOver:y,onRowMouseOut:C,rowData:E,style:M})}},{key:"_getFlexStyleForColumn",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i="".concat(n.props.flexGrow," ").concat(n.props.flexShrink," ").concat(n.props.width,"px"),a=ki({},o,{flex:i,msFlex:i,WebkitFlex:i});return n.props.maxWidth&&(a.maxWidth=n.props.maxWidth),n.props.minWidth&&(a.minWidth=n.props.minWidth),a}},{key:"_getHeaderColumns",value:function(){var n=this,o=this.props,i=o.children,a=o.disableHeader,s=a?[]:N.Children.toArray(i);return s.map(function(u,c){return n._createHeader({column:u,index:c})})}},{key:"_getRowHeight",value:function(n){var o=this.props.rowHeight;return typeof o=="function"?o({index:n}):o}},{key:"_onScroll",value:function(n){var o=n.clientHeight,i=n.scrollHeight,a=n.scrollTop,s=this.props.onScroll;s({clientHeight:o,scrollHeight:i,scrollTop:a})}},{key:"_onSectionRendered",value:function(n){var o=n.rowOverscanStartIndex,i=n.rowOverscanStopIndex,a=n.rowStartIndex,s=n.rowStopIndex,u=this.props.onRowsRendered;u({overscanStartIndex:o,overscanStopIndex:i,startIndex:a,stopIndex:s})}},{key:"_setRef",value:function(n){this.Grid=n}},{key:"_setScrollbarWidth",value:function(){var n=this.getScrollbarWidth();this.setState({scrollbarWidth:n})}}]),t}(N.PureComponent);$(Rg,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:dg,overscanRowCount:10,rowRenderer:xg,headerRowRenderer:Sg,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}});Rg.propTypes={};var yo=[],Il=null,Yo=null;function qR(){Yo&&(Yo=null,document.body&&Il!=null&&(document.body.style.pointerEvents=Il),Il=null)}function J$(){qR(),yo.forEach(function(e){return e.__resetIsScrolling()})}function Z$(){Yo&&ba(Yo);var e=0;yo.forEach(function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)}),Yo=fg(J$,e)}function GR(e){e.currentTarget===window&&Il==null&&document.body&&(Il=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),Z$(),yo.forEach(function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()})}function N1(e,t){yo.some(function(r){return r.props.scrollElement===t})||t.addEventListener("scroll",GR),yo.push(e)}function $1(e,t){yo=yo.filter(function(r){return r!==e}),yo.length||(t.removeEventListener("scroll",GR),Yo&&(ba(Yo),qR()))}var Tg=function(t){return t===window},vl=function(t){return t.getBoundingClientRect()};function D1(e,t){if(e)if(Tg(e)){var r=window,n=r.innerHeight,o=r.innerWidth;return{height:typeof n=="number"?n:0,width:typeof o=="number"?o:0}}else return vl(e);else return{height:t.serverHeight,width:t.serverWidth}}function e5(e,t){if(Tg(t)&&document.documentElement){var r=document.documentElement,n=vl(e),o=vl(r);return{top:n.top-o.top,left:n.left-o.left}}else{var i=VR(t),a=vl(e),s=vl(t);return{top:a.top+i.top-s.top,left:a.left+i.left-s.left}}}function VR(e){return Tg(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}var F1,W1;function B1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function t5(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:this.props.scrollElement,o=this.props.onResize,i=this.state,a=i.height,s=i.width,u=this._child||ps.findDOMNode(this);if(u instanceof Element&&n){var c=e5(u,n);this._positionFromTop=c.top,this._positionFromLeft=c.left}var f=D1(n,this.props);(a!==f.height||s!==f.width)&&(this.setState({height:f.height,width:f.width}),o({height:f.height,width:f.width}))}},{key:"componentDidMount",value:function(){var n=this.props.scrollElement;this._detectElementResize=zR(),this.updatePosition(n),n&&(N1(this,n),this._registerResizeListener(n)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(n,o){var i=this.props.scrollElement,a=n.scrollElement;a!==i&&a!=null&&i!=null&&(this.updatePosition(i),$1(this,a),N1(this,i),this._unregisterResizeListener(a),this._registerResizeListener(i))}},{key:"componentWillUnmount",value:function(){var n=this.props.scrollElement;n&&($1(this,n),this._unregisterResizeListener(n)),this._isMounted=!1}},{key:"render",value:function(){var n=this.props.children,o=this.state,i=o.isScrolling,a=o.scrollTop,s=o.scrollLeft,u=o.height,c=o.width;return n({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:u,isScrolling:i,scrollLeft:s,scrollTop:a,width:c})}}]),t}(N.PureComponent),$(F1,"propTypes",null),W1);$(YR,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:r5,scrollElement:KR(),serverHeight:0,serverWidth:0});const n5=Object.freeze(Object.defineProperty({__proto__:null,ArrowKeyStepper:hg,AutoSizer:jR,CellMeasurer:AR,CellMeasurerCache:u$,Collection:pg,Column:Cg,ColumnSizer:MR,Grid:Mn,InfiniteLoader:mg,List:NR,Masonry:_g,MultiGrid:Ff,ScrollSync:BR,SortDirection:Ln,SortIndicator:wg,Table:Rg,WindowScroller:YR,accessibilityOverscanIndicesGetter:dg,createMasonryCellPositioner:Q$,createTableMultiSort:X$,defaultCellRangeRenderer:IR,defaultOverscanIndicesGetter:PR,defaultTableCellDataGetter:UR,defaultTableCellRenderer:HR,defaultTableHeaderRenderer:bg,defaultTableHeaderRowRenderer:Sg,defaultTableRowRenderer:xg},Symbol.toStringTag,{value:"Module"})),o5=Ra(n5);function In(e,t,r){return t<=e&&e<=r}function Wf(e){if(e===void 0)return{};if(e===Object(e))return e;throw TypeError("Could not convert argument to dictionary")}function i5(e){for(var t=String(e),r=t.length,n=0,o=[];n57343)o.push(i);else if(56320<=i&&i<=57343)o.push(65533);else if(55296<=i&&i<=56319)if(n===r-1)o.push(65533);else{var a=e.charCodeAt(n+1);if(56320<=a&&a<=57343){var s=i&1023,u=a&1023;o.push(65536+(s<<10)+u),n+=1}else o.push(65533)}n+=1}return o}function a5(e){for(var t="",r=0;r>10)+55296,(n&1023)+56320))}return t}var Cc=-1;function Eg(e){this.tokens=[].slice.call(e)}Eg.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():Cc},prepend:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.unshift(t.pop());else this.tokens.unshift(e)},push:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.push(t.shift());else this.tokens.push(e)}};var Ca=-1;function qh(e,t){if(e)throw TypeError("Decoder error");return t||65533}var Rc="utf-8";function Tc(e,t){if(!(this instanceof Tc))return new Tc(e,t);if(e=e!==void 0?String(e).toLowerCase():Rc,e!==Rc)throw new Error("Encoding not supported. Only utf-8 is supported");t=Wf(t),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!t.fatal,this._ignoreBOM=!!t.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}Tc.prototype={decode:function(t,r){var n;typeof t=="object"&&t instanceof ArrayBuffer?n=new Uint8Array(t):typeof t=="object"&&"buffer"in t&&t.buffer instanceof ArrayBuffer?n=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):n=new Uint8Array(0),r=Wf(r),this._streaming||(this._decoder=new l5({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!r.stream;for(var o=new Eg(n),i=[],a;!o.endOfStream()&&(a=this._decoder.handler(o,o.read()),a!==Ca);)a!==null&&(Array.isArray(a)?i.push.apply(i,a):i.push(a));if(!this._streaming){do{if(a=this._decoder.handler(o,o.read()),a===Ca)break;a!==null&&(Array.isArray(a)?i.push.apply(i,a):i.push(a))}while(!o.endOfStream());this._decoder=null}return i.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(i[0]===65279?(this._BOMseen=!0,i.shift()):this._BOMseen=!0),a5(i)}};function Ec(e,t){if(!(this instanceof Ec))return new Ec(e,t);if(e=e!==void 0?String(e).toLowerCase():Rc,e!==Rc)throw new Error("Encoding not supported. Only utf-8 is supported");t=Wf(t),this._streaming=!1,this._encoder=null,this._options={fatal:!!t.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}Ec.prototype={encode:function(t,r){t=t?String(t):"",r=Wf(r),this._streaming||(this._encoder=new s5(this._options)),this._streaming=!!r.stream;for(var n=[],o=new Eg(i5(t)),i;!o.endOfStream()&&(i=this._encoder.handler(o,o.read()),i!==Ca);)Array.isArray(i)?n.push.apply(n,i):n.push(i);if(!this._streaming){for(;i=this._encoder.handler(o,o.read()),i!==Ca;)Array.isArray(i)?n.push.apply(n,i):n.push(i);this._encoder=null}return new Uint8Array(n)}};function l5(e){var t=e.fatal,r=0,n=0,o=0,i=128,a=191;this.handler=function(s,u){if(u===Cc&&o!==0)return o=0,qh(t);if(u===Cc)return Ca;if(o===0){if(In(u,0,127))return u;if(In(u,194,223))o=1,r=u-192;else if(In(u,224,239))u===224&&(i=160),u===237&&(a=159),o=2,r=u-224;else if(In(u,240,244))u===240&&(i=144),u===244&&(a=143),o=3,r=u-240;else return qh(t);return r=r<<6*o,null}if(!In(u,i,a))return r=o=n=0,i=128,a=191,s.prepend(u),qh(t);if(i=128,a=191,n+=1,r+=u-128<<6*(o-n),n!==o)return null;var c=r;return r=o=n=0,c}}function s5(e){e.fatal,this.handler=function(t,r){if(r===Cc)return Ca;if(In(r,0,127))return r;var n,o;In(r,128,2047)?(n=1,o=192):In(r,2048,65535)?(n=2,o=224):In(r,65536,1114111)&&(n=3,o=240);for(var i=[(r>>6*n)+o];n>0;){var a=r>>6*(n-1);i.push(128|a&63),n-=1}return i}}const u5=Object.freeze(Object.defineProperty({__proto__:null,TextDecoder:Tc,TextEncoder:Ec},Symbol.toStringTag,{value:"Module"})),c5=Ra(u5);var U1={},H1;function f5(){return H1||(H1=1,function(e){if(e.fetch)return;var t={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(t.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=function(b){return b&&DataView.prototype.isPrototypeOf(b)},o=ArrayBuffer.isView||function(b){return b&&r.indexOf(Object.prototype.toString.call(b))>-1};function i(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(b))throw new TypeError("Invalid character in header field name");return b.toLowerCase()}function a(b){return typeof b!="string"&&(b=String(b)),b}function s(b){var E={next:function(){var P=b.shift();return{done:P===void 0,value:P}}};return t.iterable&&(E[Symbol.iterator]=function(){return E}),E}function u(b){this.map={},b instanceof u?b.forEach(function(E,P){this.append(P,E)},this):Array.isArray(b)?b.forEach(function(E){this.append(E[0],E[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(E){this.append(E,b[E])},this)}u.prototype.append=function(b,E){b=i(b),E=a(E);var P=this.map[b];this.map[b]=P?P+","+E:E},u.prototype.delete=function(b){delete this.map[i(b)]},u.prototype.get=function(b){return b=i(b),this.has(b)?this.map[b]:null},u.prototype.has=function(b){return this.map.hasOwnProperty(i(b))},u.prototype.set=function(b,E){this.map[i(b)]=a(E)},u.prototype.forEach=function(b,E){for(var P in this.map)this.map.hasOwnProperty(P)&&b.call(E,this.map[P],P,this)},u.prototype.keys=function(){var b=[];return this.forEach(function(E,P){b.push(P)}),s(b)},u.prototype.values=function(){var b=[];return this.forEach(function(E){b.push(E)}),s(b)},u.prototype.entries=function(){var b=[];return this.forEach(function(E,P){b.push([P,E])}),s(b)},t.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);function c(b){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}function f(b){return new Promise(function(E,P){b.onload=function(){E(b.result)},b.onerror=function(){P(b.error)}})}function h(b){var E=new FileReader,P=f(E);return E.readAsArrayBuffer(b),P}function p(b){var E=new FileReader,P=f(E);return E.readAsText(b),P}function w(b){for(var E=new Uint8Array(b),P=new Array(E.length),I=0;I-1?E:b}function m(b,E){E=E||{};var P=E.body;if(b instanceof m){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,E.headers||(this.headers=new u(b.headers)),this.method=b.method,this.mode=b.mode,!P&&b._bodyInit!=null&&(P=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=E.credentials||this.credentials||"omit",(E.headers||!this.headers)&&(this.headers=new u(E.headers)),this.method=g(E.method||this.method||"GET"),this.mode=E.mode||this.mode||null,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(P)}m.prototype.clone=function(){return new m(this,{body:this._bodyInit})};function _(b){var E=new FormData;return b.trim().split("&").forEach(function(P){if(P){var I=P.split("="),M=I.shift().replace(/\+/g," "),F=I.join("=").replace(/\+/g," ");E.append(decodeURIComponent(M),decodeURIComponent(F))}}),E}function T(b){var E=new u,P=b.replace(/\r?\n[\t ]+/g," ");return P.split(/\r?\n/).forEach(function(I){var M=I.split(":"),F=M.shift().trim();if(F){var q=M.join(":").trim();E.append(F,q)}}),E}y.call(m.prototype);function O(b,E){E||(E={}),this.type="default",this.status=E.status===void 0?200:E.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in E?E.statusText:"OK",this.headers=new u(E.headers),this.url=E.url||"",this._initBody(b)}y.call(O.prototype),O.prototype.clone=function(){return new O(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},O.error=function(){var b=new O(null,{status:0,statusText:""});return b.type="error",b};var k=[301,302,303,307,308];O.redirect=function(b,E){if(k.indexOf(E)===-1)throw new RangeError("Invalid status code");return new O(null,{status:E,headers:{location:b}})},e.Headers=u,e.Request=m,e.Response=O,e.fetch=function(b,E){return new Promise(function(P,I){var M=new m(b,E),F=new XMLHttpRequest;F.onload=function(){var q={status:F.status,statusText:F.statusText,headers:T(F.getAllResponseHeaders()||"")};q.url="responseURL"in F?F.responseURL:q.headers.get("X-Request-URL");var G="response"in F?F.response:F.responseText;P(new O(G,q))},F.onerror=function(){I(new TypeError("Network request failed"))},F.ontimeout=function(){I(new TypeError("Network request failed"))},F.open(M.method,M.url,!0),M.credentials==="include"?F.withCredentials=!0:M.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&t.blob&&(F.responseType="blob"),M.headers.forEach(function(q,G){F.setRequestHeader(G,q)}),F.send(typeof M._bodyInit>"u"?null:M._bodyInit)})},e.fetch.polyfill=!0}(typeof self<"u"?self:Fo)),U1}function q1(e,t){for(var r=0;r0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");qg(this)}},Rn(e,[{key:"closed",get:function(){return Ho(this)===!1?Promise.reject(cu("closed")):this._closedPromise}}]),e}(),$D=function(){function e(r){if(!kn(r))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(zi(r._readableStreamController)===!1)throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(io(r))throw new TypeError("This stream has already been locked for exclusive reading by another reader");bT(this,r),this._readIntoRequests=[]}var t=e.prototype;return t.cancel=function(n){return yl(this)?this._ownerReadableStream===void 0?Promise.reject(Mc("cancel")):xT(this,n):Promise.reject(fu("cancel"))},t.read=function(n){return yl(this)?this._ownerReadableStream===void 0?Promise.reject(Mc("read from")):ArrayBuffer.isView(n)?Pc(n.buffer)===!0?Promise.reject(new TypeError("Cannot read into a view onto a detached ArrayBuffer")):n.byteLength===0?Promise.reject(new TypeError("view must have non-zero byteLength")):DD(this,n,!0):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(fu("read"))},t.releaseLock=function(){if(!yl(this))throw fu("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");qg(this)}},Rn(e,[{key:"closed",get:function(){return yl(this)?this._closedPromise:Promise.reject(fu("closed"))}}]),e}();function yl(e){return!(!$a(e)||!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests"))}function Ho(e){return!(!$a(e)||!Object.prototype.hasOwnProperty.call(e,"_readRequests"))}function bT(e,t){e._ownerReadableStream=t,t._reader=e,t._state==="readable"?ZD(e):t._state==="closed"?tF(e):(eF(e,t._storedError),e._closedPromise.catch(function(){}))}function xT(e,t){var r=e._ownerReadableStream;return Qo(r,t)}function qg(e){e._ownerReadableStream._state==="readable"?NT(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):rF(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._closedPromise.catch(function(){}),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function DD(e,t,r){r===void 0&&(r=!1);var n=e._ownerReadableStream;return n._disturbed=!0,n._state==="errored"?Promise.reject(n._storedError):UD(n._readableStreamController,t,r)}function Gg(e,t){t===void 0&&(t=!1);var r=e._ownerReadableStream;return r._disturbed=!0,r._state==="closed"?Promise.resolve(xo(void 0,!0,t)):r._state==="errored"?Promise.reject(r._storedError):r._readableStreamController[Dg](t)}var CT=function(){function e(){throw new TypeError}var t=e.prototype;return t.close=function(){if(uu(this)===!1)throw du("close");if(Ac(this)===!1)throw new TypeError("The stream is not in a state that permits close");zc(this)},t.enqueue=function(n){if(uu(this)===!1)throw du("enqueue");if(Ac(this)===!1)throw new TypeError("The stream is not in a state that permits enqueue");return jc(this,n)},t.error=function(n){if(uu(this)===!1)throw du("error");Co(this,n)},t[$g]=function(r){Da(this);var n=this._cancelAlgorithm(r);return Ic(this),n},t[Dg]=function(r){var n=this._controlledReadableStream;if(this._queue.length>0){var o=TD(this);return this._closeRequested===!0&&this._queue.length===0?(Ic(this),Ts(n)):ss(this),Promise.resolve(xo(o,!1,r))}var i=yT(n,r);return ss(this),i},Rn(e,[{key:"desiredSize",get:function(){if(uu(this)===!1)throw du("desiredSize");return Vg(this)}}]),e}();function uu(e){return!(!$a(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream"))}function ss(e){var t=RT(e);if(t!==!1){if(e._pulling===!0){e._pullAgain=!0;return}e._pulling=!0;var r=e._pullAlgorithm();r.then(function(){if(e._pulling=!1,e._pullAgain===!0)return e._pullAgain=!1,ss(e)},function(n){Co(e,n)}).catch(zn)}}function RT(e){var t=e._controlledReadableStream;if(Ac(e)===!1||e._started===!1)return!1;if(io(t)===!0&&Gf(t)>0)return!0;var r=Vg(e);return r>0}function Ic(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function zc(e){var t=e._controlledReadableStream;e._closeRequested=!0,e._queue.length===0&&(Ic(e),Ts(t))}function jc(e,t){var r=e._controlledReadableStream;if(io(r)===!0&&Gf(r)>0)Ug(r,t,!1);else{var n;try{n=e._strategySizeAlgorithm(t)}catch(o){throw Co(e,o),o}try{ED(e,t,n)}catch(o){throw Co(e,o),o}}ss(e)}function Co(e,t){var r=e._controlledReadableStream;r._state==="readable"&&(Da(e),Ic(e),_T(r,t))}function Vg(e){var t=e._controlledReadableStream,r=t._state;return r==="errored"?null:r==="closed"?0:e._strategyHWM-e._queueTotalSize}function FD(e){return RT(e)!==!0}function Ac(e){var t=e._controlledReadableStream._state;return e._closeRequested===!1&&t==="readable"}function TT(e,t,r,n,o,i,a){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,Da(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=a,t._strategyHWM=i,t._pullAlgorithm=n,t._cancelAlgorithm=o,e._readableStreamController=t;var s=r();Promise.resolve(s).then(function(){t._started=!0,ss(t)},function(u){Co(t,u)}).catch(zn)}function WD(e,t,r,n){var o=Object.create(CT.prototype);function i(){return gT(t,"start",[o])}var a=kc(t,"pull",0,[o]),s=kc(t,"cancel",1,[]);TT(e,o,i,a,s,r,n)}var BD=function(){function e(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly")}var t=e.prototype;return t.respond=function(n){if(Yh(this)===!1)throw Qh("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(Pc(this._view.buffer)===!0)throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");YD(this._associatedReadableByteStreamController,n)},t.respondWithNewView=function(n){if(Yh(this)===!1)throw Qh("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(n))throw new TypeError("You can only respond with array buffer views");if(Pc(n.buffer)===!0)throw new TypeError("The supplied view's buffer has been detached and so cannot be used as a response");QD(this._associatedReadableByteStreamController,n)},Rn(e,[{key:"view",get:function(){if(Yh(this)===!1)throw Qh("view");return this._view}}]),e}(),ET=function(){function e(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly")}var t=e.prototype;return t.close=function(){if(zi(this)===!1)throw sl("close");if(this._closeRequested===!0)throw new TypeError("The stream has already been closed; do not close it again!");var n=this._controlledReadableByteStream._state;if(n!=="readable")throw new TypeError("The stream (in "+n+" state) is not in the readable state and cannot be closed");VD(this)},t.enqueue=function(n){if(zi(this)===!1)throw sl("enqueue");if(this._closeRequested===!0)throw new TypeError("stream is closed or draining");var o=this._controlledReadableByteStream._state;if(o!=="readable")throw new TypeError("The stream (in "+o+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(n))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");if(Pc(n.buffer)===!0)throw new TypeError("Cannot enqueue a view onto a detached ArrayBuffer");KD(this,n)},t.error=function(n){if(zi(this)===!1)throw sl("error");Es(this,n)},t[$g]=function(r){if(this._pendingPullIntos.length>0){var n=this._pendingPullIntos[0];n.bytesFilled=0}Da(this);var o=this._cancelAlgorithm(r);return Vf(this),o},t[Dg]=function(r){var n=this._controlledReadableByteStream;if(this._queueTotalSize>0){var o=this._queue.shift();this._queueTotalSize-=o.byteLength,zT(this);var i;try{i=new Uint8Array(o.buffer,o.byteOffset,o.byteLength)}catch(f){return Promise.reject(f)}return Promise.resolve(xo(i,!1,r))}var a=this._autoAllocateChunkSize;if(a!==void 0){var s;try{s=new ArrayBuffer(a)}catch(f){return Promise.reject(f)}var u={buffer:s,byteOffset:0,byteLength:a,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(u)}var c=yT(n,r);return ci(this),c},Rn(e,[{key:"byobRequest",get:function(){if(zi(this)===!1)throw sl("byobRequest");if(this._byobRequest===void 0&&this._pendingPullIntos.length>0){var n=this._pendingPullIntos[0],o=new Uint8Array(n.buffer,n.byteOffset+n.bytesFilled,n.byteLength-n.bytesFilled),i=Object.create(BD.prototype);JD(i,this,o),this._byobRequest=i}return this._byobRequest}},{key:"desiredSize",get:function(){if(zi(this)===!1)throw sl("desiredSize");return MT(this)}}]),e}();function zi(e){return!(!$a(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream"))}function Yh(e){return!(!$a(e)||!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController"))}function ci(e){var t=GD(e);if(t!==!1){if(e._pulling===!0){e._pullAgain=!0;return}e._pulling=!0;var r=e._pullAlgorithm();r.then(function(){e._pulling=!1,e._pullAgain===!0&&(e._pullAgain=!1,ci(e))},function(n){Es(e,n)}).catch(zn)}}function OT(e){Yg(e),e._pendingPullIntos=[]}function Kg(e,t){var r=!1;e._state==="closed"&&(r=!0);var n=kT(t);t.readerType==="default"?Ug(e,n,r):LD(e,n,r)}function kT(e){var t=e.bytesFilled,r=e.elementSize;return new e.ctor(e.buffer,e.byteOffset,t/r)}function Nu(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function PT(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,o=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),i=t.bytesFilled+o,a=i-i%r,s=o,u=!1;a>n&&(s=a-t.bytesFilled,u=!0);for(var c=e._queue;s>0;){var f=c[0],h=Math.min(s,f.byteLength),p=t.byteOffset+t.bytesFilled;bD(t.buffer,p,f.buffer,f.byteOffset,h),f.byteLength===h?c.shift():(f.byteOffset+=h,f.byteLength-=h),e._queueTotalSize-=h,IT(e,h,t),s-=h}return u}function IT(e,t,r){Yg(e),r.bytesFilled+=t}function zT(e){e._queueTotalSize===0&&e._closeRequested===!0?(Vf(e),Ts(e._controlledReadableByteStream)):ci(e)}function Yg(e){e._byobRequest!==void 0&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function jT(e){for(;e._pendingPullIntos.length>0;){if(e._queueTotalSize===0)return;var t=e._pendingPullIntos[0];PT(e,t)===!0&&(Qg(e),Kg(e._controlledReadableByteStream,t))}}function UD(e,t,r){var n=e._controlledReadableByteStream,o=1;t.constructor!==DataView&&(o=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,a=qf(t.buffer),s={buffer:a,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:o,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(s),ew(n,r);if(n._state==="closed"){var u=new t.constructor(s.buffer,s.byteOffset,0);return Promise.resolve(xo(u,!0,r))}if(e._queueTotalSize>0){if(PT(e,s)===!0){var c=kT(s);return zT(e),Promise.resolve(xo(c,!1,r))}if(e._closeRequested===!0){var f=new TypeError("Insufficient bytes to fill elements in the given buffer");return Es(e,f),Promise.reject(f)}}e._pendingPullIntos.push(s);var h=ew(n,r);return ci(e),h}function HD(e,t){t.buffer=qf(t.buffer);var r=e._controlledReadableByteStream;if(Hg(r)===!0)for(;ST(r)>0;){var n=Qg(e);Kg(r,n)}}function qD(e,t,r){if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range");if(IT(e,t,r),!(r.bytesFilled0){var o=r.byteOffset+r.bytesFilled,i=r.buffer.slice(o-n,o);Nu(e,i,0,i.byteLength)}r.buffer=qf(r.buffer),r.bytesFilled-=n,Kg(e._controlledReadableByteStream,r),jT(e)}}function AT(e,t){var r=e._pendingPullIntos[0],n=e._controlledReadableByteStream;if(n._state==="closed"){if(t!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");HD(e,r)}else qD(e,t,r);ci(e)}function Qg(e){var t=e._pendingPullIntos.shift();return Yg(e),t}function GD(e){var t=e._controlledReadableByteStream;if(t._state!=="readable"||e._closeRequested===!0||e._started===!1)return!1;if(wT(t)===!0&&Gf(t)>0||Hg(t)===!0&&ST(t)>0)return!0;var r=MT(e);return r>0}function Vf(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function VD(e){var t=e._controlledReadableByteStream;if(e._queueTotalSize>0){e._closeRequested=!0;return}if(e._pendingPullIntos.length>0){var r=e._pendingPullIntos[0];if(r.bytesFilled>0){var n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Es(e,n),n}}Vf(e),Ts(t)}function KD(e,t){var r=e._controlledReadableByteStream,n=t.buffer,o=t.byteOffset,i=t.byteLength,a=qf(n);if(wT(r)===!0)if(Gf(r)===0)Nu(e,a,o,i);else{var s=new Uint8Array(a,o,i);Ug(r,s,!1)}else Hg(r)===!0?(Nu(e,a,o,i),jT(e)):Nu(e,a,o,i);ci(e)}function Es(e,t){var r=e._controlledReadableByteStream;r._state==="readable"&&(OT(e),Da(e),Vf(e),_T(r,t))}function MT(e){var t=e._controlledReadableByteStream,r=t._state;return r==="errored"?null:r==="closed"?0:e._strategyHWM-e._queueTotalSize}function YD(e,t){if(t=Number(t),xD(t)===!1)throw new RangeError("bytesWritten must be a finite");AT(e,t)}function QD(e,t){var r=e._pendingPullIntos[0];if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,AT(e,t.byteLength)}function LT(e,t,r,n,o,i,a){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,OT(t),t._queue=t._queueTotalSize=void 0,Da(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=vm(i),t._pullAlgorithm=n,t._cancelAlgorithm=o,t._autoAllocateChunkSize=a,t._pendingPullIntos=[],e._readableStreamController=t;var s=r();Promise.resolve(s).then(function(){t._started=!0,ci(t)},function(u){Es(t,u)}).catch(zn)}function XD(e,t,r){var n=Object.create(ET.prototype);function o(){return gT(t,"start",[n])}var i=kc(t,"pull",0,[n]),a=kc(t,"cancel",1,[]),s=t.autoAllocateChunkSize;if(s!==void 0&&(s=Number(s),d5(s)===!1||s<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");LT(e,n,o,i,a,r,s)}function JD(e,t,r){e._associatedReadableByteStreamController=t,e._view=r}function tw(e){if(typeof e!="object"||e===null)return!1;var t=Object.getOwnPropertyDescriptor(AbortSignal.prototype,"aborted").get;try{return t.call(e),!0}catch{return!1}}function Pi(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function Mc(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function cu(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}function ZD(e){e._closedPromise=new Promise(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r})}function eF(e,t){e._closedPromise=Promise.reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function tF(e){e._closedPromise=Promise.resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function NT(e,t){e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function rF(e,t){e._closedPromise=Promise.reject(t)}function nF(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function fu(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function du(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function Qh(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function sl(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}var oF=Io.ReadableStream,iF=Fe.createDataProperty,aF=function(){function e(r){var n=r.highWaterMark;iF(this,"highWaterMark",n)}var t=e.prototype;return t.size=function(n){return n.byteLength},e}(),lF=Fe.createDataProperty,sF=function(){function e(r){var n=r.highWaterMark;lF(this,"highWaterMark",n)}var t=e.prototype;return t.size=function(){return 1},e}();JR("streams:transform-stream:verbose");var uF=Fe.InvokeOrNoop,cF=Fe.CreateAlgorithmFromUnderlyingMethod,fF=Fe.PromiseCall,$T=Fe.typeIsObject,rw=Fe.ValidateAndNormalizeHighWaterMark;Fe.IsNonNegativeNumber;var nw=Fe.MakeSizeAlgorithmFromSizeFunction,dF=Io.CreateReadableStream,DT=Io.ReadableStreamDefaultControllerClose,hF=Io.ReadableStreamDefaultControllerEnqueue,pF=Io.ReadableStreamDefaultControllerError,mF=Io.ReadableStreamDefaultControllerGetDesiredSize,vF=Io.ReadableStreamDefaultControllerHasBackpressure,Xg=Io.ReadableStreamDefaultControllerCanCloseOrEnqueue,gF=rn.CreateWritableStream,yF=rn.WritableStreamDefaultControllerErrorIfNeeded,FT=function(){function e(t,r,n){t===void 0&&(t={}),r===void 0&&(r={}),n===void 0&&(n={});var o=r.size,i=r.highWaterMark,a=n.size,s=n.highWaterMark,u=t.writableType;if(u!==void 0)throw new RangeError("Invalid writable type specified");var c=nw(o);i===void 0&&(i=1),i=rw(i);var f=t.readableType;if(f!==void 0)throw new RangeError("Invalid readable type specified");var h=nw(a);s===void 0&&(s=0),s=rw(s);var p,w=new Promise(function(y){p=y});WT(this,w,i,c,s,h),SF(this,t);var S=uF(t,"start",[this._transformStreamController]);p(S)}return Rn(e,[{key:"readable",get:function(){if(ow(this)===!1)throw aw("readable");return this._readable}},{key:"writable",get:function(){if(ow(this)===!1)throw aw("writable");return this._writable}}]),e}();function _F(e,t,r,n,o,i,a){n===void 0&&(n=1),o===void 0&&(o=function(){return 1}),i===void 0&&(i=0),a===void 0&&(a=function(){return 1});var s=Object.create(FT.prototype),u,c=new Promise(function(p){u=p});WT(s,c,n,o,i,a);var f=Object.create(BT.prototype);UT(s,f,t,r);var h=e();return u(h),s}function WT(e,t,r,n,o,i){function a(){return t}function s(p){return xF(e,p)}function u(p){return CF(e,p)}function c(){return RF(e)}e._writable=gF(a,s,c,u,r,n);function f(){return TF(e)}function h(p){return Yf(e,p),Promise.resolve()}e._readable=dF(a,f,h,o,i),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Qf(e,!0),e._transformStreamController=void 0}function ow(e){return!(!$T(e)||!Object.prototype.hasOwnProperty.call(e,"_transformStreamController"))}function Kf(e,t){pF(e._readable._readableStreamController,t),Yf(e,t)}function Yf(e,t){HT(e._transformStreamController),yF(e._writable._writableStreamController,t),e._backpressure===!0&&Qf(e,!1)}function Qf(e,t){e._backpressureChangePromise!==void 0&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=new Promise(function(r){e._backpressureChangePromise_resolve=r}),e._backpressure=t}var BT=function(){function e(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly")}var t=e.prototype;return t.enqueue=function(n){if(hu(this)===!1)throw pu("enqueue");qT(this,n)},t.error=function(n){if(hu(this)===!1)throw pu("error");wF(this,n)},t.terminate=function(){if(hu(this)===!1)throw pu("terminate");bF(this)},Rn(e,[{key:"desiredSize",get:function(){if(hu(this)===!1)throw pu("desiredSize");var n=this._controlledTransformStream._readable._readableStreamController;return mF(n)}}]),e}();function hu(e){return!(!$T(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream"))}function UT(e,t,r,n){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=r,t._flushAlgorithm=n}function SF(e,t){var r=Object.create(BT.prototype),n=function(s){try{return qT(r,s),Promise.resolve()}catch(u){return Promise.reject(u)}},o=t.transform;if(o!==void 0){if(typeof o!="function")throw new TypeError("transform is not a method");n=function(s){return fF(o,t,[s,r])}}var i=cF(t,"flush",0,[r]);UT(e,r,n,i)}function HT(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function qT(e,t){var r=e._controlledTransformStream,n=r._readable._readableStreamController;if(Xg(n)===!1)throw new TypeError("Readable side is not in a state that permits enqueue");try{hF(n,t)}catch(i){throw Yf(r,i),r._readable._storedError}var o=vF(n);o!==r._backpressure&&Qf(r,!0)}function wF(e,t){Kf(e._controlledTransformStream,t)}function iw(e,t){var r=e._transformAlgorithm(t);return r.catch(function(n){throw Kf(e._controlledTransformStream,n),n})}function bF(e){var t=e._controlledTransformStream,r=t._readable._readableStreamController;Xg(r)===!0&&DT(r);var n=new TypeError("TransformStream terminated");Yf(t,n)}function xF(e,t){var r=e._transformStreamController;if(e._backpressure===!0){var n=e._backpressureChangePromise;return n.then(function(){var o=e._writable,i=o._state;if(i==="erroring")throw o._storedError;return iw(r,t)})}return iw(r,t)}function CF(e,t){return Kf(e,t),Promise.resolve()}function RF(e){var t=e._readable,r=e._transformStreamController,n=r._flushAlgorithm();return HT(r),n.then(function(){if(t._state==="errored")throw t._storedError;var o=t._readableStreamController;Xg(o)===!0&&DT(o)}).catch(function(o){throw Kf(e,o),t._storedError})}function TF(e){return Qf(e,!1),e._backpressureChangePromise}var EF={CreateTransformStream:_F,TransformStream:FT};function pu(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function aw(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}var OF=EF.TransformStream;const kF=Object.freeze(Object.defineProperty({__proto__:null,ByteLengthQueuingStrategy:aF,CountQueuingStrategy:sF,ReadableStream:oF,TransformStream:OF,WritableStream:wD},Symbol.toStringTag,{value:"Module"})),PF=Ra(kF);function IF(e,t){return fetch(e,t).then(r=>({body:r.body,headers:r.headers,ok:r.ok,status:r.status,statusText:r.statusText,url:r.url}))}let zF=class GT{constructor(t={}){this.h={},t instanceof GT&&t.forEach((r,n)=>this.append(n,r)),Object.getOwnPropertyNames(t).forEach(r=>this.append(r,t[r]))}append(t,r){t=t.toLowerCase(),Array.isArray(this.h[t])||(this.h[t]=[]),this.h[t].push(r)}set(t,r){this.h[t.toLowerCase()]=[r]}has(t){return Array.isArray(this.h[t.toLowerCase()])}get(t){if(t=t.toLowerCase(),Array.isArray(this.h[t]))return this.h[t][0]}getAll(t){return this.h[t.toLowerCase()].concat()}entries(){const t=[];return this.forEach((r,n)=>{t.push([n,r])}),jF(t)}forEach(t,r){Object.getOwnPropertyNames(this.h).forEach(n=>{this.h[n].forEach(o=>t.call(r,o,n,this))},this)}};function jF(e){return{next(){const t=e.shift();return{done:t===void 0,value:t}},[Symbol.iterator](){return this}}}function Xh(){try{return new DOMException("Aborted","AbortError")}catch{const t=new Error("Aborted");return t.name="AbortError",t}}function lw({responseType:e,responseParserFactory:t}){return function(n,o){const i=new XMLHttpRequest,a=t();let s,u=!1;const c=new ReadableStream({start(p){s=p},cancel(){u=!0,i.abort()}}),{method:f="GET",signal:h}=o;if(i.open(f,n),i.responseType=e,i.withCredentials=o.credentials!=="omit",o.headers)for(const p of o.headers.entries())i.setRequestHeader(p[0],p[1]);return new Promise((p,w)=>{if(o.body&&(f==="GET"||f==="HEAD")&&w(new TypeError("Failed to execute 'fetchStream' on 'Window': Request with GET/HEAD method cannot have body")),h)if(h.aborted){w(Xh());return}else h.addEventListener("abort",()=>{i.abort(),s&&s.error(Xh()),w(Xh())},{once:!0});i.onreadystatechange=function(){if(i.readyState===i.HEADERS_RECEIVED)return p({body:c,headers:LF(i.getAllResponseHeaders()),ok:i.status>=200&&i.status<300,status:i.status,statusText:i.statusText,url:MF(i.responseURL,n)})},i.onerror=function(){return w(new TypeError("Network request failed"))},i.ontimeout=function(){w(new TypeError("Network request failed"))},i.onprogress=function(){if(!u){const S=a(i.response);s.enqueue(S)}},i.onload=function(){s.close()},i.send(o.body)})}}function AF(){return typeof Headers<"u"?new Headers:new zF}function MF(e,t){return e||(t.substring(0,4)!=="http"?location.origin+t:t)}function LF(e){const t=AF();if(e){const r=e.split(`\r +`);for(let n=0;n0){const a=o.substring(0,i),s=o.substring(i+2);t.append(a,s)}}}return t}let Jh=null;function NF(){return Jh||(Jh=$F()),Jh}function $F(){if(typeof Response<"u"&&Response.prototype.hasOwnProperty("body"))return IF;const e="moz-chunked-arraybuffer";return DF(e)?lw({responseType:e,responseParserFactory:function(){return t=>new Uint8Array(t)}}):lw({responseType:"text",responseParserFactory:function(){const t=new TextEncoder;let r=0;return function(n){const o=n.substr(r);return r=n.length,t.encode(o,{stream:!0})}}})}function DF(e){try{const t=new XMLHttpRequest;return t.responseType=e,t.responseType===e}catch{}return!1}function Jg(e,t={}){let r=t.transport;return r||(r=Jg.transportFactory()),r(e,t)}Jg.transportFactory=NF;const FF=Object.freeze(Object.defineProperty({__proto__:null,default:Jg},Symbol.toStringTag,{value:"Module"})),WF=Ra(FF);(function(e,t){(function(r,n){e.exports=n()})(typeof self>"u"?Fo:self,function(){return function(r){function n(i){if(o[i])return o[i].exports;var a=o[i]={i,l:!1,exports:{}};return r[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}var o={};return n.m=r,n.c=o,n.d=function(i,a,s){n.o(i,a)||Object.defineProperty(i,a,{configurable:!1,enumerable:!0,get:s})},n.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return n.d(a,"a",a),a},n.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},n.p="./",n(n.s=46)}([function(r){r.exports=N},function(r){function n(i,a){var s=i[1]||"",u=i[3];if(!u)return s;if(a&&typeof btoa=="function"){var c=o(u),f=u.sources.map(function(h){return"/*# sourceURL="+u.sourceRoot+h+" */"});return[s].concat(f).concat([c]).join(` +`)}return[s].join(` +`)}function o(i){var a=btoa(unescape(encodeURIComponent(JSON.stringify(i))));return"/*# "+("sourceMappingURL=data:application/json;charset=utf-8;base64,"+a)+" */"}r.exports=function(i){var a=[];return a.toString=function(){return this.map(function(s){var u=n(s,i);return s[2]?"@media "+s[2]+"{"+u+"}":u}).join("")},a.i=function(s,u){typeof s=="string"&&(s=[[null,s,""]]);for(var c,f={},h=0;h"u"&&(I=P.apply(this,arguments)),I}}(function(){return window&&document&&document.all&&!window.atob}),m=function(P){return document.querySelector(P)},_=function(){var P={};return function(I){if(typeof I=="function")return I();if(typeof P[I]>"u"){var M=m.call(this,I);if(window.HTMLIFrameElement&&M instanceof window.HTMLIFrameElement)try{M=M.contentDocument.head}catch{M=null}P[I]=M}return P[I]}}(),T=null,O=0,k=[],b=o(5);r.exports=function(P,I){if(typeof DEBUG<"u"&&DEBUG&&typeof document!="object")throw new Error("The style-loader cannot be used in a non-browser environment");I=I||{},I.attrs=typeof I.attrs=="object"?I.attrs:{},I.singleton||typeof I.singleton=="boolean"||(I.singleton=g()),I.insertInto||(I.insertInto="head"),I.insertAt||(I.insertAt="bottom");var M=a(P,I);return i(M,I),function(F){for(var q=[],G=0;Gk?-1:k?k-1-F:-1},S=function(_){return _?Array.isArray(_)?_.length===1?Object(i.Range)(_[0],_[0]+1):Object(i.Range)(_[0],_[1]+1):Object(i.Range)(_,_+1):Object(i.Range)(0,0)},y=function(_,T){var O=new Uint8Array(_.length+T.length);return O.set(_,0),O.set(T,_.length),O},C=function(_,T){var O=T?y(T,_):_,k=O.length,b=0,E=0,P=Object(i.List)().withMutations(function(I){for(;EC.b?ge(ue):Z()}}),P),c(I,M)}return f(b,k),T(b,[{key:"render",value:function(){var E=this.props,P=E.resultsCount,I=E.filterActive,M=E.disabled,F="match"+(P===1?"":"es"),q=I?g.active:g.inactive;return Object(h.createElement)("div",{className:"react-lazylog-searchbar "+g.searchBar},Object(h.createElement)("input",{autoComplete:"off",type:"text",name:"search",placeholder:"Search",className:"react-lazylog-searchbar-input "+g.searchInput,onChange:this.handleSearchChange,onKeyPress:this.handleSearchKeyPress,value:this.state.keywords,disabled:M}),Object(h.createElement)("button",{disabled:M,className:"react-lazylog-searchbar-filter "+(I?"active":"inactive")+" "+g.button+" "+q,onClick:this.handleFilterToggle},Object(h.createElement)(y,null)),Object(h.createElement)("span",{className:"react-lazylog-searchbar-matches "+(P?"active":"inactive")+" "+(P?g.active:g.inactive)},P," ",F))}}]),b}(h.Component),Object.defineProperty(m,"propTypes",{enumerable:!0,writable:!0,value:{onSearch:p.func,onClearSearch:p.func,onFilterLinesWithMatches:p.func,resultsCount:p.number,filterActive:p.bool,disabled:p.bool}}),Object.defineProperty(m,"defaultProps",{enumerable:!0,writable:!0,value:{onSearch:function(){},onClearSearch:function(){},onFilterLinesWithMatches:function(){},resultsCount:0,filterActive:!1,disabled:!1}}),_)},function(r,n,o){var i=o(26);typeof i=="string"&&(i=[[r.i,i,""]]);var a,s={hmr:!0};s.transform=a,s.insertInto=void 0,o(2)(i,s),i.locals&&(r.exports=i.locals)},function(r,n,o){n=r.exports=o(1)(!1),n.push([r.i,`._1lq6olr9h2p7MJDCA8c-aL { + height: 15px; + cursor: pointer; +} +`,""]),n.locals={filterLinesIcon:"_1lq6olr9h2p7MJDCA8c-aL"}},function(r,n,o){var i=o(28);typeof i=="string"&&(i=[[r.i,i,""]]);var a,s={hmr:!0};s.transform=a,s.insertInto=void 0,o(2)(i,s),i.locals&&(r.exports=i.locals)},function(r,n,o){n=r.exports=o(1)(!1),n.push([r.i,`._3hsz3SFOTsWryCiRA9Mjtq { + display: flex; + align-items: center; + justify-content: flex-end; + font-family: "Monaco", monospace; + font-size: 12px; + background-color: #222222; + color: #d6d6d6; + padding: 10px; +} + +._2JObJsQyVcVoB1YD6078ip { + background-color: #464646; + color: #d6d6d6; + height: 20px; + min-width: 200px; + font-size: 12px; + padding: 2px 5px; + border: 1px solid #4e4e4e; + margin-right: 10px; +} + +._1NGepveS5BPffleJYyamDk { + color: #d6d6d6; + fill: #d6d6d6; +} + +._3cXa-36GYrmnrGIXEg46cX { + color: #464646; + fill: #464646; +} + +.qZaVIaYTJWY-GaoXJJ2Cp { + background: none; + border: none; + margin-right: 10px; +} +`,""]),n.locals={searchBar:"_3hsz3SFOTsWryCiRA9Mjtq",searchInput:"_2JObJsQyVcVoB1YD6078ip",active:"_1NGepveS5BPffleJYyamDk",inactive:"_3cXa-36GYrmnrGIXEg46cX",button:"qZaVIaYTJWY-GaoXJJ2Cp"}},function(r,n,o){function i(H){if(Array.isArray(H)){for(var V=0,U=Array(H.length);VUe&&(Tr=Jt-Ue,Er=Er.slice(-Ue),Jt=Er.count());var fi=Object(k.g)({follow:ve,scrollToLine:me,previousCount:sr,count:Jt,offset:Tr});B.setState({lines:Er,offset:Tr,count:Jt,scrollToIndex:fi}),(we||Te)&&B.forceSearch()}}),Object.defineProperty(B,"handleEnd",{enumerable:!0,writable:!0,value:function(K){B.encodedLog=K,B.setState({loaded:!0}),B.props.onLoad&&B.props.onLoad()}}),Object.defineProperty(B,"handleError",{enumerable:!0,writable:!0,value:function(K){B.setState({error:K}),B.props.onError&&B.props.onError(K)}}),Object.defineProperty(B,"handleHighlight",{enumerable:!0,writable:!0,value:function(K){var X=B.props.onHighlight,ae=B.state.isFilteringLinesWithMatches;if(K.target.id){var pe=+K.target.id;if(pe){var me=B.state.highlight.first(),ve=B.state.highlight.last(),we=void 0;we=me===pe?null:K.shiftKey&&me?pe>me?[me,pe]:[pe,ve]:pe;var Te=Object(k.e)(we),Me={highlight:Te};ae&&Object.assign(Me,{scrollToIndex:Object(k.g)({scrollToLine:pe})}),B.setState(Me,function(){X&&X(Te),ae&&B.handleFilterLinesWithMatches(!1)})}}}}),Object.defineProperty(B,"handleSearch",{enumerable:!0,writable:!0,value:function(K){var X=B.state,ae=X.resultLines,pe=X.searchKeywords,me=B.props,ve=me.caseInsensitive,we=me.stream,Te=me.websocket,Me=we||Te||K!==pe?ie(K,B.encodedLog,ve):ae;B.setState({resultLines:Me,isSearching:!0,searchKeywords:K},B.filterLinesWithMatches)}}),Object.defineProperty(B,"forceSearch",{enumerable:!0,writable:!0,value:function(){var K=B.state.searchKeywords;K&&K.length>k.b&&B.handleSearch(B.state.searchKeywords)}}),Object.defineProperty(B,"handleClearSearch",{enumerable:!0,writable:!0,value:function(){B.setState({isSearching:!1,searchKeywords:"",resultLines:[],filteredLines:Object(p.List)(),resultLineUniqueIndexes:[],isFilteringLinesWithMatches:B.state.isFilteringLinesWithMatches,scrollToIndex:0})}}),Object.defineProperty(B,"handleFilterLinesWithMatches",{enumerable:!0,writable:!0,value:function(K){B.setState({isFilteringLinesWithMatches:K,filteredLines:Object(p.List)(),resultLineUniqueIndexes:[]},B.filterLinesWithMatches)}}),Object.defineProperty(B,"filterLinesWithMatches",{enumerable:!0,writable:!0,value:function(){var K=B.state,X=K.resultLines,ae=K.lines,pe=K.isFilteringLinesWithMatches;if(0{const[t,r]=ne.useState("Head"),[n,o]=ne.useState(e.logFileUrl);ne.useEffect(()=>{let a=e.logFileUrl;t==="Head"?a=e.logFileUrl+"?offset=0&limit="+Zh:t==="Tail"&&(a=e.logFileUrl+"?offset="+(e.logSize-Zh)+"&limit="+Zh),o(a)},[t,e.logFileUrl]);const i=a=>{let s="px-4 py-2 mr-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 hover:bg-gray-500 hover:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700 border rounded-md";const u="bg-gray-900 text-white";return a===t?s+" "+u:s};return j.jsxs("div",{className:"flex flex-col",children:[j.jsxs("div",{className:"flex flex-row pb-2 pt-2",children:[j.jsx("button",{className:i("Head"),onClick:()=>r("Head"),children:"Head"}),j.jsx("button",{className:i("Tail"),onClick:()=>r("Tail"),children:"Tail"}),j.jsx("button",{className:i("All"),onClick:()=>r("All"),children:"All"})]}),n!==""&&j.jsx(VT.LazyLog,{extraLines:1,enableSearch:!0,caseInsensitive:!0,url:n,height:800,width:1e3})]})},UF=({nodeInfo:e})=>j.jsx("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:j.jsxs("tbody",{children:[j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"id:"}),j.jsx("td",{className:"px-4 py-2",children:e.id})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"name:"}),j.jsx("td",{className:"px-4 py-2",children:e.name})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"eth protocol:"}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"difficulty:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.difficulty})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"genesis:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.genesis})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"network:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.network})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"config:"}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"ChainName:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.ChainName})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"chainId:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.chainId})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"consensus:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.consensus})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"homesteadBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.homesteadBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"eip150Block:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.eip150Block})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"eip155Block:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.eip155Block})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"byzantiumBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.byzantiumBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"constantinopleBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.constantinopleBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"petersburgBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.petersburgBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"istanbulBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.istanbulBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"berlinBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.berlinBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"londonBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.londonBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"terminalTotalDifficulty:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.terminalTotalDifficulty})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"terminalTotalDifficultyPassed:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.terminalTotalDifficultyPassed})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"shanghaiTime:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.shanghaiTime})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"clique:"}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"period:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.clique.period})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"epoch:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.clique.epoch})]})]})]})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"enodes:"}),e.enodes.map((t,r)=>j.jsxs(j.Fragment,{children:[j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"enode:"}),j.jsx("td",{className:"px-4 py-2",children:t.enode})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"enr:"}),j.jsx("td",{className:"px-4 py-2",children:t.enr})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"ports:"}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"discovery:"}),j.jsx("td",{className:"px-4 py-2",children:t.ports.discovery})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"listener:"}),j.jsx("td",{className:"px-4 py-2",children:t.ports.listener})]})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"listener_addr:"}),j.jsx("td",{className:"px-4 py-2",children:t.listener_addr})]})]}))]})]})}),HF=({cmdLine:e,flags:t,logFile:r,nodeDetails:n,syncStages:o})=>{let i;(m=>{m.Command="Command",m.Flags="Flags",m.NodeInfo="Node Info",m.SyncStages="Stages",m.Logs="Logs"})(i||(i={}));const[a,s]=ne.useState("Command"),[u,c]=ne.useState(!1),f=m=>{let _="px-4 py-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 hover:bg-gray-500 hover:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700";const T="bg-gray-900 text-white";return m==="Command"?_=_+" border-l border-r border-t rounded-tl-md":m==="Stages"?_=_+" border-r border-t rounded-tr-md":m==="Flags"||m==="Node Info"?_=_+" border-t border-r":m==="Logs"&&(_=_+" border-l border-r border-t rounded-tr-md"),m===a?_+" "+T:_};async function h(m){return"clipboard"in navigator?await navigator.clipboard.writeText(m):document.execCommand("copy",!0,m)}const p=m=>{console.log("err"),h(m).then(()=>{c(!0),setTimeout(()=>{c(!1)},1500)}).catch(_=>{console.log(_)})},w=()=>e===void 0?null:j.jsxs("div",{className:"flex flex-col",children:[j.jsx("button",{className:"px-4 py-2 mr-2 mt-2 mb-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 active:bg-gray-500 active:text-white border rounded-md w-fit",onClick:()=>p(H3),children:u?"Copied":"Copy curl"}),j.jsx("span",{className:"mb-2",children:e})]}),S=()=>t===void 0?null:j.jsx(w4,{flags:t}),y=()=>n===void 0?null:j.jsx(UF,{nodeInfo:n}),C=()=>o===void 0?null:j.jsx("table",{className:"table-auto rounded-lg bg-white text-left",children:j.jsx("tbody",{children:o.map(m=>j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100",children:[j.jsx("td",{className:"px-4 py-2",children:m.key}),j.jsx("td",{className:"px-4 py-2",children:m.value})]},m.key))})}),g=()=>r===void 0||r.logFileUrl===""?null:j.jsx(BF,{logFile:r});return j.jsxs("div",{className:"flex flex-col",children:[j.jsxs("div",{className:"flex flex-row",children:[j.jsx("button",{className:f("Command"),onClick:()=>s("Command"),"data-testid":"command_button",children:"Command"}),j.jsx("button",{className:f("Flags"),onClick:()=>s("Flags"),"data-testid":"flags_button",children:"Flags"}),j.jsx("button",{className:f("Node Info"),onClick:()=>s("Node Info"),"data-testid":"node_info_button",children:"Node Info"}),j.jsx("button",{className:f("Stages"),onClick:()=>s("Stages"),"data-testid":"sync_stages_button",children:"Sync Stages"})]}),j.jsxs("div",{className:"flex flex-col border border-gray-900 rounded-bl-md rounded-br-md rounded-tr-md pl-2 pr-2 bg-white min-h-[40px] max-w-[1400px] overflow-auto","data-testid":"test_details_section_content",children:[a==="Command"&&w(),a==="Flags"&&S(),a==="Node Info"&&y(),a==="Stages"&&C(),a==="Logs"&&g()]})]})},qF=()=>{const e=aR(),[t,r]=ne.useState("idle"),n=Gr(ug),o=Gr($3),i=Gr(Po),a=Gr(D3),s=Gr(F3),u=Gr(SR),c=Gr(N3),f=Gr(W3),h=N.useRef(null);return N.useEffect(()=>{bR(n.id,e),r("loading");const p=setInterval(()=>{r("error")},3e3);h.current=p},[]),N.useEffect(()=>{i!==""&&(y4(n.id,i,e),g4(n.id,i,e),v4(n.id,i,e),xR(n.id,i,e),_4(n.id,i,e),clearInterval(h.current),r("loaded"))},[i]),j.jsx(j.Fragment,{children:j.jsxs("div",{className:"pl-10",children:[t==="loading"&&j.jsx("div",{children:"Connecting to Node..."}),j.jsx("br",{}),j.jsx("br",{}),t==="error"&&j.jsxs("div",{className:"flex flex-col",children:[j.jsx("div",{children:"There was an error loading the node details."}),j.jsx("div",{children:"make sure that you run:"}),j.jsx("div",{className:"font-bold",children:"./build/bin/erigon support --debug.urls http://localhost:6060/debug --diagnostics.url https://localhost:8080/support --diagnostics.sessions 1234,3456,78934 --insecure"}),j.jsx("div",{children:"and try again."}),j.jsx("br",{}),j.jsx("span",{children:"Also make sure that you've visited https://localhost:8080 from current browser"})]}),t==="loaded"&&j.jsxs(j.Fragment,{children:[j.jsx(U3,{nodes:o,onNodeSelected:p=>{e(T3(p))}}),j.jsx("br",{}),j.jsx("br",{}),j.jsx(HF,{cmdLine:s,flags:a,logFile:u,nodeDetails:c,syncStages:f})]})]})})},ep=500,GF=()=>{const e=aR(),t=Gr(ug),r=Gr(Po),n=Gr(SR),[o,i]=N.useState(n.logFileUrl),[a,s]=N.useState("Head");N.useEffect(()=>{let c=n.logFileUrl;a==="Head"?c=n.logFileUrl+"?offset=0&limit="+ep:a==="Tail"&&(c=n.logFileUrl+"?offset="+(n.logSize-ep)+"&limit="+ep),i(c)},[a,n]),N.useEffect(()=>{bR(t.id,e)},[]),N.useEffect(()=>{r!==""&&xR(t.id,r,e)},[r]);const u=c=>{let f="px-4 py-2 mr-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 hover:bg-gray-500 hover:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700 border";const h="bg-gray-900 text-white";return c===a?f+" "+h:f};return j.jsxs("div",{className:"flex flex-col w-full",children:[j.jsxs("div",{className:"flex flex-row pb-2 pt-2",children:[j.jsx("button",{className:u("Head"),onClick:()=>s("Head"),children:"Head"}),j.jsx("button",{className:u("Tail"),onClick:()=>s("Tail"),children:"Tail"}),j.jsx("button",{className:u("All"),onClick:()=>s("All"),children:"All"})]}),o!==""&&j.jsx(VT.LazyLog,{extraLines:1,enableSearch:!0,caseInsensitive:!0,url:o,height:window.innerHeight*.9,width:"auto"})]})};function VF(){return j.jsx("div",{children:j.jsx(DP,{children:j.jsxs(hr,{path:"/",element:j.jsx(KF,{}),children:[j.jsx(hr,{index:!0,element:j.jsx(qF,{})}),j.jsx(hr,{path:"network",element:j.jsx(YF,{})}),j.jsx(hr,{path:"logs",element:j.jsx(GF,{})}),j.jsx(hr,{path:"chain",element:j.jsx(QF,{})}),j.jsx(hr,{path:"data",element:j.jsx(XF,{})}),j.jsx(hr,{path:"debug",element:j.jsx(JF,{})}),j.jsx(hr,{path:"testing",element:j.jsx(ZF,{})}),j.jsx(hr,{path:"performance",element:j.jsx(eW,{})}),j.jsx(hr,{path:"documentation",element:j.jsx(tW,{})}),j.jsx(hr,{path:"admin",element:j.jsx(rW,{})}),j.jsx(hr,{path:"*",element:j.jsx(nW,{})})]})})})}function KF(){const[e,t]=ne.useState(!1);return j.jsxs("div",{className:"flex",children:[j.jsx(QI,{collapsed:e,style:{height:"100vh"},children:j.jsxs(ZI,{menuItemStyles:{button:{"&:hover":{backgroundColor:"#6b7280",color:"#fff"}}},children:[j.jsx(Ur,{icon:j.jsx(WC,{}),onClick:()=>{t(!e)}}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/"}),icon:j.jsx(BC,{}),children:"Process"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/network"}),icon:j.jsx(UC,{}),children:"Network"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/logs"}),icon:j.jsx(HC,{}),children:"Logs"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/chain"}),icon:j.jsx(qC,{}),children:"Chain"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/data"}),icon:j.jsx(GC,{}),children:"Data"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/debug"}),icon:j.jsx(VC,{}),children:"Debug"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/testing"}),icon:j.jsx(KC,{}),children:"Testing"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/performance"}),icon:j.jsx(YC,{}),children:"Performance"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/documentation"}),icon:j.jsx(QC,{}),children:"Documentation"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/admin"}),icon:j.jsx(XC,{}),children:"Admin"})]})}),j.jsx(NP,{})]})}function YF(){return j.jsx("div",{children:j.jsx("h2",{children:"Network"})})}function QF(){return j.jsx("div",{children:j.jsx("h2",{children:"Chain"})})}function XF(){return j.jsx("div",{children:j.jsx("h2",{children:"Data"})})}function JF(){return j.jsx("div",{children:j.jsx("h2",{children:"Debug"})})}function ZF(){return j.jsx("div",{children:j.jsx("h2",{children:"Testing"})})}function eW(){return j.jsx("div",{children:j.jsx("h2",{children:"Performance"})})}function tW(){return j.jsx("div",{children:j.jsx("h2",{children:"Documentation"})})}function rW(){return j.jsx("div",{children:j.jsx("h2",{children:"Admin"})})}function nW(){return j.jsxs("div",{children:[j.jsx("h2",{children:"Nothing to see here!"}),j.jsx("p",{children:j.jsx(Hr,{to:"/",children:"Go to the home page"})})]})}const oW=h3({reducer:{app:B3}});tp.createRoot(document.getElementById("root")).render(j.jsx(EN,{store:oW,children:j.jsx(qP,{children:j.jsx(VF,{})})})); diff --git a/web/dist/assets/index-f1c6e2fa.js b/web/dist/assets/index-f1c6e2fa.js deleted file mode 100644 index 721c139..0000000 --- a/web/dist/assets/index-f1c6e2fa.js +++ /dev/null @@ -1,702 +0,0 @@ -function dE(e,t){for(var r=0;rn[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();var Do=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function xa(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var ew={exports:{}},Lc={},tw={exports:{}},Re={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var as=Symbol.for("react.element"),pE=Symbol.for("react.portal"),mE=Symbol.for("react.fragment"),vE=Symbol.for("react.strict_mode"),gE=Symbol.for("react.profiler"),yE=Symbol.for("react.provider"),_E=Symbol.for("react.context"),SE=Symbol.for("react.forward_ref"),wE=Symbol.for("react.suspense"),bE=Symbol.for("react.memo"),xE=Symbol.for("react.lazy"),Wy=Symbol.iterator;function CE(e){return e===null||typeof e!="object"?null:(e=Wy&&e[Wy]||e["@@iterator"],typeof e=="function"?e:null)}var rw={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},nw=Object.assign,ow={};function Ca(e,t,r){this.props=e,this.context=t,this.refs=ow,this.updater=r||rw}Ca.prototype.isReactComponent={};Ca.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ca.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function iw(){}iw.prototype=Ca.prototype;function mm(e,t,r){this.props=e,this.context=t,this.refs=ow,this.updater=r||rw}var vm=mm.prototype=new iw;vm.constructor=mm;nw(vm,Ca.prototype);vm.isPureReactComponent=!0;var By=Array.isArray,aw=Object.prototype.hasOwnProperty,gm={current:null},lw={key:!0,ref:!0,__self:!0,__source:!0};function sw(e,t,r){var n,o={},i=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)aw.call(t,n)&&!lw.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1>>1,Ee=Z[Se];if(0>>1;Seo(ye,fe))Ho(V,ye)?(Z[Se]=V,Z[H]=fe,Se=H):(Z[Se]=ye,Z[tt]=fe,Se=tt);else if(Ho(V,fe))Z[Se]=V,Z[H]=fe,Se=H;else break e}}return ie}function o(Z,ie){var fe=Z.sortIndex-ie.sortIndex;return fe!==0?fe:Z.id-ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var u=[],c=[],f=1,h=null,p=3,S=!1,_=!1,y=!1,C=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(Z){for(var ie=r(c);ie!==null;){if(ie.callback===null)n(c);else if(ie.startTime<=Z)n(c),ie.sortIndex=ie.expirationTime,t(u,ie);else break;ie=r(c)}}function T(Z){if(y=!1,w(Z),!_)if(r(u)!==null)_=!0,se(O);else{var ie=r(c);ie!==null&&ge(T,ie.startTime-Z)}}function O(Z,ie){_=!1,y&&(y=!1,v(E),E=-1),S=!0;var fe=p;try{for(w(ie),h=r(u);h!==null&&(!(h.expirationTime>ie)||Z&&!M());){var Se=h.callback;if(typeof Se=="function"){h.callback=null,p=h.priorityLevel;var Ee=Se(h.expirationTime<=ie);ie=e.unstable_now(),typeof Ee=="function"?h.callback=Ee:h===r(u)&&n(u),w(ie)}else n(u);h=r(u)}if(h!==null)var xt=!0;else{var tt=r(c);tt!==null&&ge(T,tt.startTime-ie),xt=!1}return xt}finally{h=null,p=fe,S=!1}}var k=!1,b=null,E=-1,P=5,I=-1;function M(){return!(e.unstable_now()-IZ||125Se?(Z.sortIndex=fe,t(c,Z),r(u)===null&&Z===r(c)&&(y?(v(E),E=-1):y=!0,ge(T,fe-Se))):(Z.sortIndex=Ee,t(u,Z),_||S||(_=!0,se(O))),Z},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(Z){var ie=p;return function(){var fe=p;p=ie;try{return Z.apply(this,arguments)}finally{p=fe}}}})(dw);fw.exports=dw;var ME=fw.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var hw=N,wr=ME;function ee(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Jh=Object.prototype.hasOwnProperty,LE=/^[: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]*$/,Hy={},qy={};function NE(e){return Jh.call(qy,e)?!0:Jh.call(Hy,e)?!1:LE.test(e)?qy[e]=!0:(Hy[e]=!0,!1)}function $E(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function DE(e,t,r,n){if(t===null||typeof t>"u"||$E(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Yt(e,t,r,n,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Pt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Pt[e]=new Yt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Pt[t]=new Yt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Pt[e]=new Yt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Pt[e]=new Yt(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){Pt[e]=new Yt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Pt[e]=new Yt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Pt[e]=new Yt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Pt[e]=new Yt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Pt[e]=new Yt(e,5,!1,e.toLowerCase(),null,!1,!1)});var _m=/[\-:]([a-z])/g;function Sm(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_m,Sm);Pt[t]=new Yt(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(_m,Sm);Pt[t]=new Yt(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(_m,Sm);Pt[t]=new Yt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Pt[e]=new Yt(e,1,!1,e.toLowerCase(),null,!1,!1)});Pt.xlinkHref=new Yt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Pt[e]=new Yt(e,1,!1,e.toLowerCase(),null,!0,!0)});function wm(e,t,r,n){var o=Pt.hasOwnProperty(t)?Pt[t]:null;(o!==null?o.type!==0:n||!(2s||o[a]!==i[s]){var u=` -`+o[a].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=a&&0<=s);break}}}finally{Od=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?al(e):""}function FE(e){switch(e.tag){case 5:return al(e.type);case 16:return al("Lazy");case 13:return al("Suspense");case 19:return al("SuspenseList");case 0:case 2:case 15:return e=kd(e.type,!1),e;case 11:return e=kd(e.type.render,!1),e;case 1:return e=kd(e.type,!0),e;default:return""}}function rp(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case zi:return"Fragment";case Ii:return"Portal";case Zh:return"Profiler";case bm:return"StrictMode";case ep:return"Suspense";case tp:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case vw:return(e.displayName||"Context")+".Consumer";case mw:return(e._context.displayName||"Context")+".Provider";case xm:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Cm:return t=e.displayName||null,t!==null?t:rp(e.type)||"Memo";case Qn:t=e._payload,e=e._init;try{return rp(e(t))}catch{}}return null}function WE(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return rp(t);case 8:return t===bm?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function yo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function yw(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function BE(e){var t=yw(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){n=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Bs(e){e._valueTracker||(e._valueTracker=BE(e))}function _w(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=yw(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function $u(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function np(e,t){var r=t.checked;return et({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Vy(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=yo(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Sw(e,t){t=t.checked,t!=null&&wm(e,"checked",t,!1)}function op(e,t){Sw(e,t);var r=yo(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ip(e,t.type,r):t.hasOwnProperty("defaultValue")&&ip(e,t.type,yo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ky(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function ip(e,t,r){(t!=="number"||$u(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var ll=Array.isArray;function Hi(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Us.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Il(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var vl={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},UE=["Webkit","ms","Moz","O"];Object.keys(vl).forEach(function(e){UE.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vl[t]=vl[e]})});function Cw(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||vl.hasOwnProperty(e)&&vl[e]?(""+t).trim():t+"px"}function Rw(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=Cw(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var HE=et({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 sp(e,t){if(t){if(HE[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ee(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ee(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ee(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ee(62))}}function up(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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}}var cp=null;function Rm(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var fp=null,qi=null,Gi=null;function Xy(e){if(e=us(e)){if(typeof fp!="function")throw Error(ee(280));var t=e.stateNode;t&&(t=Wc(t),fp(e.stateNode,e.type,t))}}function Tw(e){qi?Gi?Gi.push(e):Gi=[e]:qi=e}function Ew(){if(qi){var e=qi,t=Gi;if(Gi=qi=null,Xy(e),t)for(e=0;e>>=0,e===0?32:31-(tO(e)/rO|0)|0}var Hs=64,qs=4194304;function sl(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Bu(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,a=r&268435455;if(a!==0){var s=a&~o;s!==0?n=sl(s):(i&=a,i!==0&&(n=sl(i)))}else a=r&~o,a!==0?n=sl(a):i!==0&&(n=sl(i));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function ls(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Qr(t),e[t]=r}function aO(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=yl),a0=String.fromCharCode(32),l0=!1;function Vw(e,t){switch(e){case"keyup":return AO.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ji=!1;function LO(e,t){switch(e){case"compositionend":return Kw(t);case"keypress":return t.which!==32?null:(l0=!0,a0);case"textInput":return e=t.data,e===a0&&l0?null:e;default:return null}}function NO(e,t){if(ji)return e==="compositionend"||!jm&&Vw(e,t)?(e=qw(),yu=Pm=to=null,ji=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=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=f0(r)}}function Jw(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Zw(){for(var e=window,t=$u();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=$u(e.document)}return t}function Am(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function GO(e){var t=Zw(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&Jw(r.ownerDocument.documentElement,r)){if(n!==null&&Am(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=n.end===void 0?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=d0(r,i);var a=d0(r,n);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Ai=null,gp=null,Sl=null,yp=!1;function h0(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;yp||Ai==null||Ai!==$u(n)||(n=Ai,"selectionStart"in n&&Am(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Sl&&Nl(Sl,n)||(Sl=n,n=qu(gp,"onSelect"),0Ni||(e.current=Cp[Ni],Cp[Ni]=null,Ni--)}function Be(e,t){Ni++,Cp[Ni]=e.current,e.current=t}var _o={},Wt=Ro(_o),tr=Ro(!1),Qo=_o;function ra(e,t){var r=e.type.contextTypes;if(!r)return _o;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function rr(e){return e=e.childContextTypes,e!=null}function Vu(){Ge(tr),Ge(Wt)}function S0(e,t,r){if(Wt.current!==_o)throw Error(ee(168));Be(Wt,t),Be(tr,r)}function sb(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(ee(108,WE(e)||"Unknown",o));return et({},r,n)}function Ku(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_o,Qo=Wt.current,Be(Wt,e),Be(tr,tr.current),!0}function w0(e,t,r){var n=e.stateNode;if(!n)throw Error(ee(169));r?(e=sb(e,t,Qo),n.__reactInternalMemoizedMergedChildContext=e,Ge(tr),Ge(Wt),Be(Wt,e)):Ge(tr),Be(tr,r)}var kn=null,Bc=!1,Ud=!1;function ub(e){kn===null?kn=[e]:kn.push(e)}function ok(e){Bc=!0,ub(e)}function To(){if(!Ud&&kn!==null){Ud=!0;var e=0,t=Ne;try{var r=kn;for(Ne=1;e>=a,o-=a,zn=1<<32-Qr(t)+o|r<E?(P=b,b=null):P=b.sibling;var I=p(v,b,w[E],T);if(I===null){b===null&&(b=P);break}e&&b&&I.alternate===null&&t(v,b),g=i(I,g,E),k===null?O=I:k.sibling=I,k=I,b=P}if(E===w.length)return r(v,b),Xe&&Mo(v,E),O;if(b===null){for(;EE?(P=b,b=null):P=b.sibling;var M=p(v,b,I.value,T);if(M===null){b===null&&(b=P);break}e&&b&&M.alternate===null&&t(v,b),g=i(M,g,E),k===null?O=M:k.sibling=M,k=M,b=P}if(I.done)return r(v,b),Xe&&Mo(v,E),O;if(b===null){for(;!I.done;E++,I=w.next())I=h(v,I.value,T),I!==null&&(g=i(I,g,E),k===null?O=I:k.sibling=I,k=I);return Xe&&Mo(v,E),O}for(b=n(v,b);!I.done;E++,I=w.next())I=S(b,v,E,I.value,T),I!==null&&(e&&I.alternate!==null&&b.delete(I.key===null?E:I.key),g=i(I,g,E),k===null?O=I:k.sibling=I,k=I);return e&&b.forEach(function(F){return t(v,F)}),Xe&&Mo(v,E),O}function C(v,g,w,T){if(typeof w=="object"&&w!==null&&w.type===zi&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Ws:e:{for(var O=w.key,k=g;k!==null;){if(k.key===O){if(O=w.type,O===zi){if(k.tag===7){r(v,k.sibling),g=o(k,w.props.children),g.return=v,v=g;break e}}else if(k.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===Qn&&O0(O)===k.type){r(v,k.sibling),g=o(k,w.props),g.ref=Xa(v,k,w),g.return=v,v=g;break e}r(v,k);break}else t(v,k);k=k.sibling}w.type===zi?(g=qo(w.props.children,v.mode,T,w.key),g.return=v,v=g):(T=Tu(w.type,w.key,w.props,null,v.mode,T),T.ref=Xa(v,g,w),T.return=v,v=T)}return a(v);case Ii:e:{for(k=w.key;g!==null;){if(g.key===k)if(g.tag===4&&g.stateNode.containerInfo===w.containerInfo&&g.stateNode.implementation===w.implementation){r(v,g.sibling),g=o(g,w.children||[]),g.return=v,v=g;break e}else{r(v,g);break}else t(v,g);g=g.sibling}g=Xd(w,v.mode,T),g.return=v,v=g}return a(v);case Qn:return k=w._init,C(v,g,k(w._payload),T)}if(ll(w))return _(v,g,w,T);if(Ga(w))return y(v,g,w,T);Js(v,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,g!==null&&g.tag===6?(r(v,g.sibling),g=o(g,w),g.return=v,v=g):(r(v,g),g=Qd(w,v.mode,T),g.return=v,v=g),a(v)):r(v,g)}return C}var oa=gb(!0),yb=gb(!1),cs={},vn=Ro(cs),Wl=Ro(cs),Bl=Ro(cs);function Bo(e){if(e===cs)throw Error(ee(174));return e}function Um(e,t){switch(Be(Bl,t),Be(Wl,e),Be(vn,cs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:lp(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=lp(t,e)}Ge(vn),Be(vn,t)}function ia(){Ge(vn),Ge(Wl),Ge(Bl)}function _b(e){Bo(Bl.current);var t=Bo(vn.current),r=lp(t,e.type);t!==r&&(Be(Wl,e),Be(vn,r))}function Hm(e){Wl.current===e&&(Ge(vn),Ge(Wl))}var Je=Ro(0);function ec(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Hd=[];function qm(){for(var e=0;er?r:4,e(!0);var n=qd.transition;qd.transition={};try{e(!1),t()}finally{Ne=r,qd.transition=n}}function Mb(){return Mr().memoizedState}function sk(e,t,r){var n=fo(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Lb(e))Nb(t,r);else if(r=hb(e,t,r,n),r!==null){var o=Vt();Xr(r,e,n,o),$b(r,t,n)}}function uk(e,t,r){var n=fo(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Lb(e))Nb(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,r);if(o.hasEagerState=!0,o.eagerState=s,Jr(s,a)){var u=t.interleaved;u===null?(o.next=o,Wm(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}r=hb(e,t,o,n),r!==null&&(o=Vt(),Xr(r,e,n,o),$b(r,t,n))}}function Lb(e){var t=e.alternate;return e===Ze||t!==null&&t===Ze}function Nb(e,t){wl=tc=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function $b(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Em(e,r)}}var rc={readContext:Ar,useCallback:At,useContext:At,useEffect:At,useImperativeHandle:At,useInsertionEffect:At,useLayoutEffect:At,useMemo:At,useReducer:At,useRef:At,useState:At,useDebugValue:At,useDeferredValue:At,useTransition:At,useMutableSource:At,useSyncExternalStore:At,useId:At,unstable_isNewReconciler:!1},ck={readContext:Ar,useCallback:function(e,t){return sn().memoizedState=[e,t===void 0?null:t],e},useContext:Ar,useEffect:P0,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,bu(4194308,4,Pb.bind(null,t,e),r)},useLayoutEffect:function(e,t){return bu(4194308,4,e,t)},useInsertionEffect:function(e,t){return bu(4,2,e,t)},useMemo:function(e,t){var r=sn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=sn();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=sk.bind(null,Ze,e),[n.memoizedState,e]},useRef:function(e){var t=sn();return e={current:e},t.memoizedState=e},useState:k0,useDebugValue:Qm,useDeferredValue:function(e){return sn().memoizedState=e},useTransition:function(){var e=k0(!1),t=e[0];return e=lk.bind(null,e[1]),sn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Ze,o=sn();if(Xe){if(r===void 0)throw Error(ee(407));r=r()}else{if(r=t(),St===null)throw Error(ee(349));Jo&30||bb(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,P0(Cb.bind(null,n,i,e),[e]),n.flags|=2048,ql(9,xb.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=sn(),t=St.identifierPrefix;if(Xe){var r=jn,n=zn;r=(n&~(1<<32-Qr(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Ul++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[hn]=t,e[Fl]=n,Vb(e,t,!1,!1),t.stateNode=e;e:{switch(a=up(r,n),r){case"dialog":qe("cancel",e),qe("close",e),o=n;break;case"iframe":case"object":case"embed":qe("load",e),o=n;break;case"video":case"audio":for(o=0;ola&&(t.flags|=128,n=!0,Ja(i,!1),t.lanes=4194304)}else{if(!n)if(e=ec(a),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ja(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Xe)return Mt(t),null}else 2*st()-i.renderingStartTime>la&&r!==1073741824&&(t.flags|=128,n=!0,Ja(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(r=i.last,r!==null?r.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=st(),t.sibling=null,r=Je.current,Be(Je,n?r&1|2:r&1),t):(Mt(t),null);case 22:case 23:return rv(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?pr&1073741824&&(Mt(t),t.subtreeFlags&6&&(t.flags|=8192)):Mt(t),null;case 24:return null;case 25:return null}throw Error(ee(156,t.tag))}function yk(e,t){switch(Lm(t),t.tag){case 1:return rr(t.type)&&Vu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ia(),Ge(tr),Ge(Wt),qm(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Hm(t),null;case 13:if(Ge(Je),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ee(340));na()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ge(Je),null;case 4:return ia(),null;case 10:return Fm(t.type._context),null;case 22:case 23:return rv(),null;case 24:return null;default:return null}}var eu=!1,Ft=!1,_k=typeof WeakSet=="function"?WeakSet:Set,ce=null;function Wi(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){ot(e,t,n)}else r.current=null}function Lp(e,t,r){try{r()}catch(n){ot(e,t,n)}}var D0=!1;function Sk(e,t){if(_p=Uu,e=Zw(),Am(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var a=0,s=-1,u=-1,c=0,f=0,h=e,p=null;t:for(;;){for(var S;h!==r||o!==0&&h.nodeType!==3||(s=a+o),h!==i||n!==0&&h.nodeType!==3||(u=a+n),h.nodeType===3&&(a+=h.nodeValue.length),(S=h.firstChild)!==null;)p=h,h=S;for(;;){if(h===e)break t;if(p===r&&++c===o&&(s=a),p===i&&++f===n&&(u=a),(S=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=S}r=s===-1||u===-1?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Sp={focusedElem:e,selectionRange:r},Uu=!1,ce=t;ce!==null;)if(t=ce,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ce=e;else for(;ce!==null;){t=ce;try{var _=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var y=_.memoizedProps,C=_.memoizedState,v=t.stateNode,g=v.getSnapshotBeforeUpdate(t.elementType===t.type?y:qr(t.type,y),C);v.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ee(163))}}catch(T){ot(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,ce=e;break}ce=t.return}return _=D0,D0=!1,_}function bl(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Lp(t,r,i)}o=o.next}while(o!==n)}}function qc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Np(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Qb(e){var t=e.alternate;t!==null&&(e.alternate=null,Qb(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[hn],delete t[Fl],delete t[xp],delete t[rk],delete t[nk])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Xb(e){return e.tag===5||e.tag===3||e.tag===4}function F0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xb(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function $p(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Gu));else if(n!==4&&(e=e.child,e!==null))for($p(e,t,r),e=e.sibling;e!==null;)$p(e,t,r),e=e.sibling}function Dp(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Dp(e,t,r),e=e.sibling;e!==null;)Dp(e,t,r),e=e.sibling}var Tt=null,Gr=!1;function Yn(e,t,r){for(r=r.child;r!==null;)Jb(e,t,r),r=r.sibling}function Jb(e,t,r){if(mn&&typeof mn.onCommitFiberUnmount=="function")try{mn.onCommitFiberUnmount(Nc,r)}catch{}switch(r.tag){case 5:Ft||Wi(r,t);case 6:var n=Tt,o=Gr;Tt=null,Yn(e,t,r),Tt=n,Gr=o,Tt!==null&&(Gr?(e=Tt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Tt.removeChild(r.stateNode));break;case 18:Tt!==null&&(Gr?(e=Tt,r=r.stateNode,e.nodeType===8?Bd(e.parentNode,r):e.nodeType===1&&Bd(e,r),Ml(e)):Bd(Tt,r.stateNode));break;case 4:n=Tt,o=Gr,Tt=r.stateNode.containerInfo,Gr=!0,Yn(e,t,r),Tt=n,Gr=o;break;case 0:case 11:case 14:case 15:if(!Ft&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Lp(r,t,a),o=o.next}while(o!==n)}Yn(e,t,r);break;case 1:if(!Ft&&(Wi(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){ot(r,t,s)}Yn(e,t,r);break;case 21:Yn(e,t,r);break;case 22:r.mode&1?(Ft=(n=Ft)||r.memoizedState!==null,Yn(e,t,r),Ft=n):Yn(e,t,r);break;default:Yn(e,t,r)}}function W0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new _k),t.forEach(function(n){var o=kk.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Br(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=a),n&=~i}if(n=o,n=st()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*bk(n/1960))-n,10e?16:e,ro===null)var n=!1;else{if(e=ro,ro=null,ic=0,ke&6)throw Error(ee(331));var o=ke;for(ke|=4,ce=e.current;ce!==null;){var i=ce,a=i.child;if(ce.flags&16){var s=i.deletions;if(s!==null){for(var u=0;ust()-ev?Ho(e,0):Zm|=r),nr(e,t)}function ax(e,t){t===0&&(e.mode&1?(t=qs,qs<<=1,!(qs&130023424)&&(qs=4194304)):t=1);var r=Vt();e=Fn(e,t),e!==null&&(ls(e,t,r),nr(e,r))}function Ok(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),ax(e,r)}function kk(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(ee(314))}n!==null&&n.delete(t),ax(e,r)}var lx;lx=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||tr.current)er=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return er=!1,vk(e,t,r);er=!!(e.flags&131072)}else er=!1,Xe&&t.flags&1048576&&cb(t,Qu,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;xu(e,t),e=t.pendingProps;var o=ra(t,Wt.current);Ki(t,r),o=Vm(null,t,n,e,o,r);var i=Km();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rr(n)?(i=!0,Ku(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Bm(t),o.updater=Uc,t.stateNode=o,o._reactInternals=t,kp(t,n,e,r),t=zp(null,t,n,!0,i,r)):(t.tag=0,Xe&&i&&Mm(t),qt(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(xu(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=Ik(n),e=qr(n,e),o){case 0:t=Ip(null,t,n,e,r);break e;case 1:t=L0(null,t,n,e,r);break e;case 11:t=A0(null,t,n,e,r);break e;case 14:t=M0(null,t,n,qr(n.type,e),r);break e}throw Error(ee(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qr(n,o),Ip(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qr(n,o),L0(e,t,n,o,r);case 3:e:{if(Hb(t),e===null)throw Error(ee(387));n=t.pendingProps,i=t.memoizedState,o=i.element,pb(e,t),Zu(t,n,null,r);var a=t.memoizedState;if(n=a.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=aa(Error(ee(423)),t),t=N0(e,t,n,r,o);break e}else if(n!==o){o=aa(Error(ee(424)),t),t=N0(e,t,n,r,o);break e}else for(gr=so(t.stateNode.containerInfo.firstChild),yr=t,Xe=!0,Vr=null,r=yb(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(na(),n===o){t=Wn(e,t,r);break e}qt(e,t,n,r)}t=t.child}return t;case 5:return _b(t),e===null&&Tp(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,wp(n,o)?a=null:i!==null&&wp(n,i)&&(t.flags|=32),Ub(e,t),qt(e,t,a,r),t.child;case 6:return e===null&&Tp(t),null;case 13:return qb(e,t,r);case 4:return Um(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=oa(t,null,n,r):qt(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qr(n,o),A0(e,t,n,o,r);case 7:return qt(e,t,t.pendingProps,r),t.child;case 8:return qt(e,t,t.pendingProps.children,r),t.child;case 12:return qt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Be(Xu,n._currentValue),n._currentValue=a,i!==null)if(Jr(i.value,a)){if(i.children===o.children&&!tr.current){t=Wn(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var u=s.firstContext;u!==null;){if(u.context===n){if(i.tag===1){u=Ln(-1,r&-r),u.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?u.next=u:(u.next=f.next,f.next=u),c.pending=u}}i.lanes|=r,u=i.alternate,u!==null&&(u.lanes|=r),Ep(i.return,r,t),s.lanes|=r;break}u=u.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(ee(341));a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),Ep(a,r,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}qt(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Ki(t,r),o=Ar(o),n=n(o),t.flags|=1,qt(e,t,n,r),t.child;case 14:return n=t.type,o=qr(n,t.pendingProps),o=qr(n.type,o),M0(e,t,n,o,r);case 15:return Wb(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qr(n,o),xu(e,t),t.tag=1,rr(n)?(e=!0,Ku(t)):e=!1,Ki(t,r),vb(t,n,o),kp(t,n,o,r),zp(null,t,n,!0,e,r);case 19:return Gb(e,t,r);case 22:return Bb(e,t,r)}throw Error(ee(156,t.tag))};function sx(e,t){return Aw(e,t)}function Pk(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ir(e,t,r,n){return new Pk(e,t,r,n)}function ov(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ik(e){if(typeof e=="function")return ov(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xm)return 11;if(e===Cm)return 14}return 2}function ho(e,t){var r=e.alternate;return r===null?(r=Ir(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Tu(e,t,r,n,o,i){var a=2;if(n=e,typeof e=="function")ov(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case zi:return qo(r.children,o,i,t);case bm:a=8,o|=8;break;case Zh:return e=Ir(12,r,t,o|2),e.elementType=Zh,e.lanes=i,e;case ep:return e=Ir(13,r,t,o),e.elementType=ep,e.lanes=i,e;case tp:return e=Ir(19,r,t,o),e.elementType=tp,e.lanes=i,e;case gw:return Vc(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case mw:a=10;break e;case vw:a=9;break e;case xm:a=11;break e;case Cm:a=14;break e;case Qn:a=16,n=null;break e}throw Error(ee(130,e==null?e:typeof e,""))}return t=Ir(a,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function qo(e,t,r,n){return e=Ir(7,e,n,t),e.lanes=r,e}function Vc(e,t,r,n){return e=Ir(22,e,n,t),e.elementType=gw,e.lanes=r,e.stateNode={isHidden:!1},e}function Qd(e,t,r){return e=Ir(6,e,null,t),e.lanes=r,e}function Xd(e,t,r){return t=Ir(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zk(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Id(0),this.expirationTimes=Id(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Id(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function iv(e,t,r,n,o,i,a,s,u){return e=new zk(e,t,r,s,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ir(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bm(i),e}function jk(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(dx)}catch(e){console.error(e)}}dx(),cw.exports=xr;var fs=cw.exports,Y0=fs;Xh.createRoot=Y0.createRoot,Xh.hydrateRoot=Y0.hydrateRoot;/** - * @remix-run/router v1.8.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Vl(){return Vl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function uv(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Dk(){return Math.random().toString(36).substr(2,8)}function X0(e,t){return{usr:e.state,key:e.key,idx:t}}function Hp(e,t,r,n){return r===void 0&&(r=null),Vl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ea(t):t,{state:r,key:t&&t.key||n||Dk()})}function sc(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Ea(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function Fk(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:i=!1}=n,a=o.history,s=no.Pop,u=null,c=f();c==null&&(c=0,a.replaceState(Vl({},a.state,{idx:c}),""));function f(){return(a.state||{idx:null}).idx}function h(){s=no.Pop;let C=f(),v=C==null?null:C-c;c=C,u&&u({action:s,location:y.location,delta:v})}function p(C,v){s=no.Push;let g=Hp(y.location,C,v);r&&r(g,C),c=f()+1;let w=X0(g,c),T=y.createHref(g);try{a.pushState(w,"",T)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;o.location.assign(T)}i&&u&&u({action:s,location:y.location,delta:1})}function S(C,v){s=no.Replace;let g=Hp(y.location,C,v);r&&r(g,C),c=f();let w=X0(g,c),T=y.createHref(g);a.replaceState(w,"",T),i&&u&&u({action:s,location:y.location,delta:0})}function _(C){let v=o.location.origin!=="null"?o.location.origin:o.location.href,g=typeof C=="string"?C:sc(C);return mt(v,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,v)}let y={get action(){return s},get location(){return e(o,a)},listen(C){if(u)throw new Error("A history only accepts one active listener");return o.addEventListener(Q0,h),u=C,()=>{o.removeEventListener(Q0,h),u=null}},createHref(C){return t(o,C)},createURL:_,encodeLocation(C){let v=_(C);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:p,replace:S,go(C){return a.go(C)}};return y}var J0;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(J0||(J0={}));function Wk(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Ea(t):t,o=cv(n.pathname||"/",r);if(o==null)return null;let i=hx(e);Bk(i);let a=null;for(let s=0;a==null&&s{let u={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};u.relativePath.startsWith("/")&&(mt(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let c=po([n,u.relativePath]),f=r.concat(u);i.children&&i.children.length>0&&(mt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),hx(i.children,t,f,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:Yk(c,i.index),routesMeta:f})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let u of px(i.path))o(i,a,u)}),t}function px(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return o?[i,""]:[i];let a=px(n.join("/")),s=[];return s.push(...a.map(u=>u===""?i:[i,u].join("/"))),o&&s.push(...a),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function Bk(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:Qk(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const Uk=/^:\w+$/,Hk=3,qk=2,Gk=1,Vk=10,Kk=-2,Z0=e=>e==="*";function Yk(e,t){let r=e.split("/"),n=r.length;return r.some(Z0)&&(n+=Kk),t&&(n+=qk),r.filter(o=>!Z0(o)).reduce((o,i)=>o+(Uk.test(i)?Hk:i===""?Gk:Vk),n)}function Qk(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function Xk(e,t){let{routesMeta:r}=e,n={},o="/",i=[];for(let a=0;a{if(f==="*"){let p=s[h]||"";a=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}return c[f]=tP(s[h]||"",f),c},{}),pathname:i,pathnameBase:a,pattern:e}}function Zk(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),uv(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(a,s)=>(n.push(s),"/([^\\/]+)"));return e.endsWith("*")?(n.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function eP(e){try{return decodeURI(e)}catch(t){return uv(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function tP(e,t){try{return decodeURIComponent(e)}catch(r){return uv(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function cv(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function rP(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?Ea(e):e;return{pathname:r?r.startsWith("/")?r:nP(r,t):t,search:iP(n),hash:aP(o)}}function nP(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function Jd(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function mx(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function vx(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=Ea(e):(o=Vl({},e),mt(!o.pathname||!o.pathname.includes("?"),Jd("?","pathname","search",o)),mt(!o.pathname||!o.pathname.includes("#"),Jd("#","pathname","hash",o)),mt(!o.search||!o.search.includes("#"),Jd("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,s;if(n||a==null)s=r;else{let h=t.length-1;if(a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),h-=1;o.pathname=p.join("/")}s=h>=0?t[h]:"/"}let u=rP(o,s),c=a&&a!=="/"&&a.endsWith("/"),f=(i||a===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(c||f)&&(u.pathname+="/"),u}const po=e=>e.join("/").replace(/\/\/+/g,"/"),oP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),iP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,aP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function lP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const gx=["post","put","patch","delete"];new Set(gx);const sP=["get",...gx];new Set(sP);/** - * React Router v6.15.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function uc(){return uc=Object.assign?Object.assign.bind():function(e){for(var t=1;tu.pathnameBase)),a=N.useRef(!1);return _x(()=>{a.current=!0}),N.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=vx(u,JSON.parse(i),o,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:po([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,i,o,e])}const hP=N.createContext(null);function pP(e){let t=N.useContext(Eo).outlet;return t&&N.createElement(hP.Provider,{value:e},t)}function Sx(e,t){let{relative:r}=t===void 0?{}:t,{matches:n}=N.useContext(Eo),{pathname:o}=Zc(),i=JSON.stringify(mx(n).map(a=>a.pathnameBase));return N.useMemo(()=>vx(e,JSON.parse(i),o,r==="path"),[e,i,o,r])}function mP(e,t){return vP(e,t)}function vP(e,t,r){ds()||mt(!1);let{navigator:n}=N.useContext(Oa),{matches:o}=N.useContext(Eo),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let u=Zc(),c;if(t){var f;let y=typeof t=="string"?Ea(t):t;s==="/"||(f=y.pathname)!=null&&f.startsWith(s)||mt(!1),c=y}else c=u;let h=c.pathname||"/",p=s==="/"?h:h.slice(s.length)||"/",S=Wk(e,{pathname:p}),_=wP(S&&S.map(y=>Object.assign({},y,{params:Object.assign({},a,y.params),pathname:po([s,n.encodeLocation?n.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:po([s,n.encodeLocation?n.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,r);return t&&_?N.createElement(Jc.Provider,{value:{location:uc({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:no.Pop}},_):_}function gP(){let e=RP(),t=lP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return N.createElement(N.Fragment,null,N.createElement("h2",null,"Unexpected Application Error!"),N.createElement("h3",{style:{fontStyle:"italic"}},t),r?N.createElement("pre",{style:o},r):null,i)}const yP=N.createElement(gP,null);class _P extends N.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?N.createElement(Eo.Provider,{value:this.props.routeContext},N.createElement(yx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function SP(e){let{routeContext:t,match:r,children:n}=e,o=N.useContext(fv);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),N.createElement(Eo.Provider,{value:t},n)}function wP(e,t,r){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var o;if((o=r)!=null&&o.errors)e=r.matches;else return null}let i=e,a=(n=r)==null?void 0:n.errors;if(a!=null){let s=i.findIndex(u=>u.route.id&&(a==null?void 0:a[u.route.id]));s>=0||mt(!1),i=i.slice(0,Math.min(i.length,s+1))}return i.reduceRight((s,u,c)=>{let f=u.route.id?a==null?void 0:a[u.route.id]:null,h=null;r&&(h=u.route.errorElement||yP);let p=t.concat(i.slice(0,c+1)),S=()=>{let _;return f?_=h:u.route.Component?_=N.createElement(u.route.Component,null):u.route.element?_=u.route.element:_=s,N.createElement(SP,{match:u,routeContext:{outlet:s,matches:p,isDataRoute:r!=null},children:_})};return r&&(u.route.ErrorBoundary||u.route.errorElement||c===0)?N.createElement(_P,{location:r.location,revalidation:r.revalidation,component:h,error:f,children:S(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):S()},null)}var wx=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(wx||{}),cc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(cc||{});function bP(e){let t=N.useContext(fv);return t||mt(!1),t}function xP(e){let t=N.useContext(uP);return t||mt(!1),t}function CP(e){let t=N.useContext(Eo);return t||mt(!1),t}function bx(e){let t=CP(),r=t.matches[t.matches.length-1];return r.route.id||mt(!1),r.route.id}function RP(){var e;let t=N.useContext(yx),r=xP(cc.UseRouteError),n=bx(cc.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function TP(){let{router:e}=bP(wx.UseNavigateStable),t=bx(cc.UseNavigateStable),r=N.useRef(!1);return _x(()=>{r.current=!0}),N.useCallback(function(o,i){i===void 0&&(i={}),r.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,uc({fromRouteId:t},i)))},[e,t])}function EP(e){return pP(e.context)}function hr(e){mt(!1)}function OP(e){let{basename:t="/",children:r=null,location:n,navigationType:o=no.Pop,navigator:i,static:a=!1}=e;ds()&&mt(!1);let s=t.replace(/^\/*/,"/"),u=N.useMemo(()=>({basename:s,navigator:i,static:a}),[s,i,a]);typeof n=="string"&&(n=Ea(n));let{pathname:c="/",search:f="",hash:h="",state:p=null,key:S="default"}=n,_=N.useMemo(()=>{let y=cv(c,s);return y==null?null:{location:{pathname:y,search:f,hash:h,state:p,key:S},navigationType:o}},[s,c,f,h,p,S,o]);return _==null?null:N.createElement(Oa.Provider,{value:u},N.createElement(Jc.Provider,{children:r,value:_}))}function kP(e){let{children:t,location:r}=e;return mP(qp(t),r)}new Promise(()=>{});function qp(e,t){t===void 0&&(t=[]);let r=[];return N.Children.forEach(e,(n,o)=>{if(!N.isValidElement(n))return;let i=[...t,o];if(n.type===N.Fragment){r.push.apply(r,qp(n.props.children,i));return}n.type!==hr&&mt(!1),!n.props.index||!n.props.children||mt(!1);let a={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(a.children=qp(n.props.children,i)),r.push(a)}),r}/** - * React Router DOM v6.15.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Gp(){return Gp=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}function IP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function zP(e,t){return e.button===0&&(!t||t==="_self")&&!IP(e)}const jP=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],AP="startTransition",e_=ea[AP];function MP(e){let{basename:t,children:r,future:n,window:o}=e,i=N.useRef();i.current==null&&(i.current=$k({window:o,v5Compat:!0}));let a=i.current,[s,u]=N.useState({action:a.action,location:a.location}),{v7_startTransition:c}=n||{},f=N.useCallback(h=>{c&&e_?e_(()=>u(h)):u(h)},[u,c]);return N.useLayoutEffect(()=>a.listen(f),[a,f]),N.createElement(OP,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:a})}const LP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",NP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Hr=N.forwardRef(function(t,r){let{onClick:n,relative:o,reloadDocument:i,replace:a,state:s,target:u,to:c,preventScrollReset:f}=t,h=PP(t,jP),{basename:p}=N.useContext(Oa),S,_=!1;if(typeof c=="string"&&NP.test(c)&&(S=c,LP))try{let g=new URL(window.location.href),w=c.startsWith("//")?new URL(g.protocol+c):new URL(c),T=cv(w.pathname,p);w.origin===g.origin&&T!=null?c=T+w.search+w.hash:_=!0}catch{}let y=cP(c,{relative:o}),C=$P(c,{replace:a,state:s,target:u,preventScrollReset:f,relative:o});function v(g){n&&n(g),g.defaultPrevented||C(g)}return N.createElement("a",Gp({},h,{href:S||y,onClick:_||i?n:v,ref:r,target:u}))});var t_;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(t_||(t_={}));var r_;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(r_||(r_={}));function $P(e,t){let{target:r,replace:n,state:o,preventScrollReset:i,relative:a}=t===void 0?{}:t,s=fP(),u=Zc(),c=Sx(e,{relative:a});return N.useCallback(f=>{if(zP(f,r)){f.preventDefault();let h=n!==void 0?n:sc(u)===sc(c);s(e,{replace:h,state:o,preventScrollReset:i,relative:a})}},[u,s,c,n,o,r,e,i,a])}/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var mr=function(){return mr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n0?Et(ka,--ar):0,sa--,dt===10&&(sa=1,tf--),dt}function _r(){return dt=ar2||Yl(dt)>3?"":" "}function ZP(e,t){for(;--t&&_r()&&!(dt<48||dt>102||dt>57&&dt<65||dt>70&&dt<97););return hs(e,Eu()+(t<6&&gn()==32&&_r()==32))}function Yp(e){for(;_r();)switch(dt){case e:return ar;case 34:case 39:e!==34&&e!==39&&Yp(dt);break;case 40:e===41&&Yp(e);break;case 92:_r();break}return ar}function eI(e,t){for(;_r()&&e+dt!==47+10;)if(e+dt===42+42&&gn()===47)break;return"/*"+hs(t,ar-1)+"*"+ef(e===47?e:_r())}function tI(e){for(;!Yl(gn());)_r();return hs(e,ar)}function n_(e){return Ox(ku("",null,null,null,[""],e=Ex(e),0,[0],e))}function ku(e,t,r,n,o,i,a,s,u){for(var c=0,f=0,h=a,p=0,S=0,_=0,y=1,C=1,v=1,g=0,w="",T=o,O=i,k=n,b=w;C;)switch(_=g,g=_r()){case 40:if(_!=108&&Et(b,h-1)==58){Kp(b+=je(Ou(g),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:b+=Ou(g);break;case 9:case 10:case 13:case 32:b+=JP(_);break;case 92:b+=ZP(Eu()-1,7);continue;case 47:switch(gn()){case 42:case 47:nu(rI(eI(_r(),Eu()),t,r),u);break;default:b+="/"}break;case 123*y:s[c++]=un(b)*v;case 125*y:case 59:case 0:switch(g){case 0:case 125:C=0;case 59+f:S>0&&un(b)-h&&nu(S>32?i_(b+";",n,r,h-1):i_(je(b," ","")+";",n,r,h-2),u);break;case 59:b+=";";default:if(nu(k=o_(b,t,r,c,f,o,s,w,T=[],O=[],h),i),g===123)if(f===0)ku(b,t,k,k,T,i,h,s,O);else switch(p===99&&Et(b,3)===110?100:p){case 100:case 109:case 115:ku(e,k,k,n&&nu(o_(e,k,k,0,0,o,s,w,o,T=[],h),O),o,O,h,s,n?T:O);break;default:ku(b,k,k,k,[""],O,0,s,O)}}c=f=S=0,y=v=1,w=b="",h=a;break;case 58:h=1+un(b),S=_;default:if(y<1){if(g==123)--y;else if(g==125&&y++==0&&XP()==125)continue}switch(b+=ef(g),g*y){case 38:v=f>0?1:(b+="\f",-1);break;case 44:s[c++]=(un(b)-1)*v,v=1;break;case 64:gn()===45&&(b+=Ou(_r())),p=gn(),f=h=un(w=b+=tI(Eu())),g++;break;case 45:_===45&&un(b)==2&&(y=0)}}return i}function o_(e,t,r,n,o,i,a,s,u,c,f){for(var h=o-1,p=o===0?i:[""],S=mv(p),_=0,y=0,C=0;_0?p[v]+" "+g:je(g,/&\f/g,p[v])))&&(u[C++]=w);return rf(e,t,r,o===0?hv:s,u,c,f)}function rI(e,t,r){return rf(e,t,r,xx,ef(QP()),Kl(e,2,-2),0)}function i_(e,t,r,n){return rf(e,t,r,pv,Kl(e,0,n),Kl(e,n+1,-1),n)}function Go(e,t){for(var r="",n=mv(e),o=0;o6)switch(Et(e,t+1)){case 109:if(Et(e,t+4)!==45)break;case 102:return je(e,/(.+:)(.+)-([^]+)/,"$1"+Pe+"$2-$3$1"+fc+(Et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Kp(e,"stretch")?kx(je(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Et(e,t+1)!==115)break;case 6444:switch(Et(e,un(e)-3-(~Kp(e,"!important")&&10))){case 107:return je(e,":",":"+Pe)+e;case 101:return je(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Pe+(Et(e,14)===45?"inline-":"")+"box$3$1"+Pe+"$2$3$1"+Nt+"$2box$3")+e}break;case 5936:switch(Et(e,t+11)){case 114:return Pe+e+Nt+je(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Pe+e+Nt+je(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Pe+e+Nt+je(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Pe+e+Nt+e+e}return e}var cI=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case pv:t.return=kx(t.value,t.length);break;case Cx:return Go([el(t,{value:je(t.value,"@","@"+Pe)})],o);case hv:if(t.length)return YP(t.props,function(i){switch(KP(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Go([el(t,{props:[je(i,/:(read-\w+)/,":"+fc+"$1")]})],o);case"::placeholder":return Go([el(t,{props:[je(i,/:(plac\w+)/,":"+Pe+"input-$1")]}),el(t,{props:[je(i,/:(plac\w+)/,":"+fc+"$1")]}),el(t,{props:[je(i,/:(plac\w+)/,Nt+"input-$1")]})],o)}return""})}},Pu=typeof document<"u",fI=Pu?void 0:oI(function(){return dv(function(){var e={};return function(t){return e[t]}})}),dI=[cI],Px=function(t){var r=t.key;if(Pu&&r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(T){var O=T.getAttribute("data-emotion");O.indexOf(" ")!==-1&&(document.head.appendChild(T),T.setAttribute("data-s",""))})}var o=t.stylisPlugins||dI,i={},a,s=[];Pu&&(a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(T){for(var O=T.getAttribute("data-emotion").split(" "),k=1;k=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var wI={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},bI=/[A-Z]|^ms/g,xI=/_EMO_([^_]+?)_([^]*?)_EMO_/g,jx=function(t){return t.charCodeAt(1)===45},c_=function(t){return t!=null&&typeof t!="boolean"},Zd=dv(function(e){return jx(e)?e:e.replace(bI,"-$&").toLowerCase()}),f_=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(xI,function(n,o,i){return cn={name:o,styles:i,next:cn},o})}return wI[t]!==1&&!jx(t)&&typeof r=="number"&&r!==0?r+"px":r};function Ql(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return cn={name:r.name,styles:r.styles,next:cn},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)cn={name:n.name,styles:n.styles,next:cn},n=n.next;var o=r.styles+";";return o}return CI(e,t,r)}case"function":{if(e!==void 0){var i=cn,a=r(e);return cn=i,Ql(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function CI(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o96?TI:EI},p_=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},OI=typeof document<"u",kI=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;zx(r,n,o);var i=mI(function(){return _I(r,n,o)});if(!OI&&i!==void 0){for(var a,s=n.name,u=n.next;u!==void 0;)s+=" "+u.name,u=u.next;return N.createElement("style",(a={},a["data-emotion"]=r.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=r.sheet.nonce,a))}return null},PI=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=p_(t,r,n),u=s||h_(o),c=!u("as");return function(){var f=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)h.push.apply(h,f);else{h.push(f[0][0]);for(var p=f.length,S=1;S"u")return!1;var t=$r(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function s2(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!jr(i)||!bn(i)||(Object.assign(i.style,n),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function u2(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],i=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=a.reduce(function(u,c){return u[c]="",u},{});!jr(o)||!bn(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(u){o.removeAttribute(u)}))})}}var c2={name:"applyStyles",enabled:!0,phase:"write",fn:s2,effect:u2,requires:["computeStyles"]};function yn(e){return e.split("-")[0]}var Vo=Math.max,pc=Math.min,ca=Math.round;function Xp(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Ux(){return!/^((?!chrome|android).)*safari/i.test(Xp())}function fa(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&jr(e)&&(o=e.offsetWidth>0&&ca(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&ca(n.height)/e.offsetHeight||1);var a=ri(e)?$r(e):window,s=a.visualViewport,u=!Ux()&&r,c=(n.left+(u&&s?s.offsetLeft:0))/o,f=(n.top+(u&&s?s.offsetTop:0))/i,h=n.width/o,p=n.height/i;return{width:h,height:p,top:f,right:c+h,bottom:f+p,left:c,x:c,y:f}}function _v(e){var t=fa(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Hx(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&yv(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Bn(e){return $r(e).getComputedStyle(e)}function f2(e){return["table","td","th"].indexOf(bn(e))>=0}function Oo(e){return((ri(e)?e.ownerDocument:e.document)||window.document).documentElement}function of(e){return bn(e)==="html"?e:e.assignedSlot||e.parentNode||(yv(e)?e.host:null)||Oo(e)}function P_(e){return!jr(e)||Bn(e).position==="fixed"?null:e.offsetParent}function d2(e){var t=/firefox/i.test(Xp()),r=/Trident/i.test(Xp());if(r&&jr(e)){var n=Bn(e);if(n.position==="fixed")return null}var o=of(e);for(yv(o)&&(o=o.host);jr(o)&&["html","body"].indexOf(bn(o))<0;){var i=Bn(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function ms(e){for(var t=$r(e),r=P_(e);r&&f2(r)&&Bn(r).position==="static";)r=P_(r);return r&&(bn(r)==="html"||bn(r)==="body"&&Bn(r).position==="static")?t:r||d2(e)||t}function Sv(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Rl(e,t,r){return Vo(e,pc(t,r))}function h2(e,t,r){var n=Rl(e,t,r);return n>r?r:n}function qx(){return{top:0,right:0,bottom:0,left:0}}function Gx(e){return Object.assign({},qx(),e)}function Vx(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var p2=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Gx(typeof t!="number"?t:Vx(t,ps))};function m2(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=yn(r.placement),u=Sv(s),c=[ir,Nr].indexOf(s)>=0,f=c?"height":"width";if(!(!i||!a)){var h=p2(o.padding,r),p=_v(i),S=u==="y"?or:ir,_=u==="y"?Lr:Nr,y=r.rects.reference[f]+r.rects.reference[u]-a[u]-r.rects.popper[f],C=a[u]-r.rects.reference[u],v=ms(i),g=v?u==="y"?v.clientHeight||0:v.clientWidth||0:0,w=y/2-C/2,T=h[S],O=g-p[f]-h[_],k=g/2-p[f]/2+w,b=Rl(T,k,O),E=u;r.modifiersData[n]=(t={},t[E]=b,t.centerOffset=b-k,t)}}function v2(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Hx(t.elements.popper,o)&&(t.elements.arrow=o))}var g2={name:"arrow",enabled:!0,phase:"main",fn:m2,effect:v2,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function da(e){return e.split("-")[1]}var y2={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _2(e){var t=e.x,r=e.y,n=window,o=n.devicePixelRatio||1;return{x:ca(t*o)/o||0,y:ca(r*o)/o||0}}function I_(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,h=e.isFixed,p=a.x,S=p===void 0?0:p,_=a.y,y=_===void 0?0:_,C=typeof f=="function"?f({x:S,y}):{x:S,y};S=C.x,y=C.y;var v=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),w=ir,T=or,O=window;if(c){var k=ms(r),b="clientHeight",E="clientWidth";if(k===$r(r)&&(k=Oo(r),Bn(k).position!=="static"&&s==="absolute"&&(b="scrollHeight",E="scrollWidth")),k=k,o===or||(o===ir||o===Nr)&&i===Xl){T=Lr;var P=h&&k===O&&O.visualViewport?O.visualViewport.height:k[b];y-=P-n.height,y*=u?1:-1}if(o===ir||(o===or||o===Lr)&&i===Xl){w=Nr;var I=h&&k===O&&O.visualViewport?O.visualViewport.width:k[E];S-=I-n.width,S*=u?1:-1}}var M=Object.assign({position:s},c&&y2),F=f===!0?_2({x:S,y}):{x:S,y};if(S=F.x,y=F.y,u){var q;return Object.assign({},M,(q={},q[T]=g?"0":"",q[w]=v?"0":"",q.transform=(O.devicePixelRatio||1)<=1?"translate("+S+"px, "+y+"px)":"translate3d("+S+"px, "+y+"px, 0)",q))}return Object.assign({},M,(t={},t[T]=g?y+"px":"",t[w]=v?S+"px":"",t.transform="",t))}function S2(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,u=s===void 0?!0:s,c={placement:yn(t.placement),variation:da(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,I_(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,I_(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var w2={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:S2,data:{}},ou={passive:!0};function b2(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,u=$r(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(f){f.addEventListener("scroll",r.update,ou)}),s&&u.addEventListener("resize",r.update,ou),function(){i&&c.forEach(function(f){f.removeEventListener("scroll",r.update,ou)}),s&&u.removeEventListener("resize",r.update,ou)}}var x2={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:b2,data:{}},C2={left:"right",right:"left",bottom:"top",top:"bottom"};function Iu(e){return e.replace(/left|right|bottom|top/g,function(t){return C2[t]})}var R2={start:"end",end:"start"};function z_(e){return e.replace(/start|end/g,function(t){return R2[t]})}function wv(e){var t=$r(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function bv(e){return fa(Oo(e)).left+wv(e).scrollLeft}function T2(e,t){var r=$r(e),n=Oo(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,u=0;if(o){i=o.width,a=o.height;var c=Ux();(c||!c&&t==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:s+bv(e),y:u}}function E2(e){var t,r=Oo(e),n=wv(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Vo(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Vo(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+bv(e),u=-n.scrollTop;return Bn(o||r).direction==="rtl"&&(s+=Vo(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}function xv(e){var t=Bn(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function Kx(e){return["html","body","#document"].indexOf(bn(e))>=0?e.ownerDocument.body:jr(e)&&xv(e)?e:Kx(of(e))}function Tl(e,t){var r;t===void 0&&(t=[]);var n=Kx(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=$r(n),a=o?[i].concat(i.visualViewport||[],xv(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Tl(of(a)))}function Jp(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function O2(e,t){var r=fa(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function j_(e,t,r){return t===Wx?Jp(T2(e,r)):ri(t)?O2(t,r):Jp(E2(Oo(e)))}function k2(e){var t=Tl(of(e)),r=["absolute","fixed"].indexOf(Bn(e).position)>=0,n=r&&jr(e)?ms(e):e;return ri(n)?t.filter(function(o){return ri(o)&&Hx(o,n)&&bn(o)!=="body"}):[]}function P2(e,t,r,n){var o=t==="clippingParents"?k2(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(u,c){var f=j_(e,c,n);return u.top=Vo(f.top,u.top),u.right=pc(f.right,u.right),u.bottom=pc(f.bottom,u.bottom),u.left=Vo(f.left,u.left),u},j_(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Yx(e){var t=e.reference,r=e.element,n=e.placement,o=n?yn(n):null,i=n?da(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(o){case or:u={x:a,y:t.y-r.height};break;case Lr:u={x:a,y:t.y+t.height};break;case Nr:u={x:t.x+t.width,y:s};break;case ir:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var c=o?Sv(o):null;if(c!=null){var f=c==="y"?"height":"width";switch(i){case ua:u[c]=u[c]-(t[f]/2-r[f]/2);break;case Xl:u[c]=u[c]+(t[f]/2-r[f]/2);break}}return u}function Jl(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,u=s===void 0?QI:s,c=r.rootBoundary,f=c===void 0?Wx:c,h=r.elementContext,p=h===void 0?tl:h,S=r.altBoundary,_=S===void 0?!1:S,y=r.padding,C=y===void 0?0:y,v=Gx(typeof C!="number"?C:Vx(C,ps)),g=p===tl?XI:tl,w=e.rects.popper,T=e.elements[_?g:p],O=P2(ri(T)?T:T.contextElement||Oo(e.elements.popper),u,f,a),k=fa(e.elements.reference),b=Yx({reference:k,element:w,strategy:"absolute",placement:o}),E=Jp(Object.assign({},w,b)),P=p===tl?E:k,I={top:O.top-P.top+v.top,bottom:P.bottom-O.bottom+v.bottom,left:O.left-P.left+v.left,right:P.right-O.right+v.right},M=e.modifiersData.offset;if(p===tl&&M){var F=M[o];Object.keys(I).forEach(function(q){var G=[Nr,Lr].indexOf(q)>=0?1:-1,ue=[or,Lr].indexOf(q)>=0?"y":"x";I[q]+=F[ue]*G})}return I}function I2(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,c=u===void 0?Bx:u,f=da(n),h=f?s?k_:k_.filter(function(_){return da(_)===f}):ps,p=h.filter(function(_){return c.indexOf(_)>=0});p.length===0&&(p=h);var S=p.reduce(function(_,y){return _[y]=Jl(e,{placement:y,boundary:o,rootBoundary:i,padding:a})[yn(y)],_},{});return Object.keys(S).sort(function(_,y){return S[_]-S[y]})}function z2(e){if(yn(e)===gv)return[];var t=Iu(e);return[z_(e),t,z_(t)]}function j2(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,u=r.fallbackPlacements,c=r.padding,f=r.boundary,h=r.rootBoundary,p=r.altBoundary,S=r.flipVariations,_=S===void 0?!0:S,y=r.allowedAutoPlacements,C=t.options.placement,v=yn(C),g=v===C,w=u||(g||!_?[Iu(C)]:z2(C)),T=[C].concat(w).reduce(function(tt,ye){return tt.concat(yn(ye)===gv?I2(t,{placement:ye,boundary:f,rootBoundary:h,padding:c,flipVariations:_,allowedAutoPlacements:y}):ye)},[]),O=t.rects.reference,k=t.rects.popper,b=new Map,E=!0,P=T[0],I=0;I=0,ue=G?"width":"height",se=Jl(t,{placement:M,boundary:f,rootBoundary:h,altBoundary:p,padding:c}),ge=G?q?Nr:ir:q?Lr:or;O[ue]>k[ue]&&(ge=Iu(ge));var Z=Iu(ge),ie=[];if(i&&ie.push(se[F]<=0),s&&ie.push(se[ge]<=0,se[Z]<=0),ie.every(function(tt){return tt})){P=M,E=!1;break}b.set(M,ie)}if(E)for(var fe=_?3:1,Se=function(ye){var H=T.find(function(V){var U=b.get(V);if(U)return U.slice(0,ye).every(function(J){return J})});if(H)return P=H,"break"},Ee=fe;Ee>0;Ee--){var xt=Se(Ee);if(xt==="break")break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}}var A2={name:"flip",enabled:!0,phase:"main",fn:j2,requiresIfExists:["offset"],data:{_skip:!1}};function A_(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function M_(e){return[or,Nr,Lr,ir].some(function(t){return e[t]>=0})}function M2(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Jl(t,{elementContext:"reference"}),s=Jl(t,{altBoundary:!0}),u=A_(a,n),c=A_(s,o,i),f=M_(u),h=M_(c);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}var L2={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:M2};function N2(e,t,r){var n=yn(e),o=[ir,or].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[ir,Nr].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function $2(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=Bx.reduce(function(f,h){return f[h]=N2(h,t.rects,i),f},{}),s=a[t.placement],u=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}var D2={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:$2};function F2(e){var t=e.state,r=e.name;t.modifiersData[r]=Yx({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var W2={name:"popperOffsets",enabled:!0,phase:"read",fn:F2,data:{}};function B2(e){return e==="x"?"y":"x"}function U2(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,u=r.boundary,c=r.rootBoundary,f=r.altBoundary,h=r.padding,p=r.tether,S=p===void 0?!0:p,_=r.tetherOffset,y=_===void 0?0:_,C=Jl(t,{boundary:u,rootBoundary:c,padding:h,altBoundary:f}),v=yn(t.placement),g=da(t.placement),w=!g,T=Sv(v),O=B2(T),k=t.modifiersData.popperOffsets,b=t.rects.reference,E=t.rects.popper,P=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,I=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(k){if(i){var q,G=T==="y"?or:ir,ue=T==="y"?Lr:Nr,se=T==="y"?"height":"width",ge=k[T],Z=ge+C[G],ie=ge-C[ue],fe=S?-E[se]/2:0,Se=g===ua?b[se]:E[se],Ee=g===ua?-E[se]:-b[se],xt=t.elements.arrow,tt=S&&xt?_v(xt):{width:0,height:0},ye=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:qx(),H=ye[G],V=ye[ue],U=Rl(0,b[se],tt[se]),J=w?b[se]/2-fe-U-H-I.mainAxis:Se-U-H-I.mainAxis,B=w?-b[se]/2+fe+U+V+I.mainAxis:Ee+U+V+I.mainAxis,de=t.elements.arrow&&ms(t.elements.arrow),oe=de?T==="y"?de.clientTop||0:de.clientLeft||0:0,te=(q=M==null?void 0:M[T])!=null?q:0,ne=ge+J-te-oe,K=ge+B-te,X=Rl(S?pc(Z,ne):Z,ge,S?Vo(ie,K):ie);k[T]=X,F[T]=X-ge}if(s){var ae,pe=T==="x"?or:ir,me=T==="x"?Lr:Nr,ve=k[O],we=O==="y"?"height":"width",Te=ve+C[pe],Me=ve-C[me],Ue=[or,ir].indexOf(v)!==-1,sr=(ae=M==null?void 0:M[O])!=null?ae:0,Tr=Ue?Te:ve-b[we]-E[we]-sr+I.altAxis,Er=Ue?ve+b[we]+E[we]-sr-I.altAxis:Me,Jt=S&&Ue?h2(Tr,ve,Er):Rl(S?Tr:Te,ve,S?Er:Me);k[O]=Jt,F[O]=Jt-ve}t.modifiersData[n]=F}}var H2={name:"preventOverflow",enabled:!0,phase:"main",fn:U2,requiresIfExists:["offset"]};function q2(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function G2(e){return e===$r(e)||!jr(e)?wv(e):q2(e)}function V2(e){var t=e.getBoundingClientRect(),r=ca(t.width)/e.offsetWidth||1,n=ca(t.height)/e.offsetHeight||1;return r!==1||n!==1}function K2(e,t,r){r===void 0&&(r=!1);var n=jr(t),o=jr(t)&&V2(t),i=Oo(t),a=fa(e,o,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((bn(t)!=="body"||xv(i))&&(s=G2(t)),jr(t)?(u=fa(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=bv(i))),{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function Y2(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&o(u)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function Q2(e){var t=Y2(e);return l2.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function X2(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function J2(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var L_={placement:"bottom",modifiers:[],strategy:"absolute"};function N_(){for(var e=arguments.length,t=new Array(e),r=0;r .`,` { - `,`; - - `,`; - } -`],[` - position: relative; - width: 100%; - - `,`; - - `,`; - - > .`,` { - `,`; - - `,`; - } -`])),function(e){var t=e.menuItemStyles;return t},function(e){var t=e.rootStyles;return t},Le.button,function(e){var t=e.level,r=e.disabled,n=e.active,o=e.collapsed,i=e.rtl;return Qx({level:t,disabled:r,active:n,collapsed:o,rtl:i})},function(e){var t=e.buttonStyles;return t}),iz=function(e,t){var r,n=e.children,o=e.className,i=e.label,a=e.icon,s=e.title,u=e.prefix,c=e.suffix,f=e.open,h=e.defaultOpen,p=e.active,S=p===void 0?!1:p,_=e.disabled,y=_===void 0?!1:_,C=e.rootStyles,v=e.component,g=e.onOpenChange,w=e.onClick,T=e.onKeyUp,O=ti(e,["children","className","label","icon","title","prefix","suffix","open","defaultOpen","active","disabled","rootStyles","component","onOpenChange","onClick","onKeyUp"]),k=re.useContext(hc),b=re.useContext(nf),E=b.collapsed,P=b.rtl,I=b.transitionDuration,M=vv(),F=M.renderExpandIcon,q=M.closeOnClick,G=M.menuItemStyles,ue=M.transitionDuration,se=re.useState(!!h),ge=se[0],Z=se[1],ie=re.useState(!1),fe=ie[0],Se=ie[1],Ee=re.useState(!1),xt=Ee[0],tt=Ee[1],ye=re.useRef(null),H=re.useRef(null),V=re.useRef(),U=rz({level:k,buttonRef:ye,contentRef:H}).popperInstance,J=function(){var X=H.current;if(X){X.style.display="block",X.style.overflow="hidden",X.style.height="auto";var ae=X.offsetHeight;X.style.height="0px",X.offsetHeight,X.style.height="".concat(ae,"px"),V.current=setTimeout(function(){X.style.overflow="auto",X.style.height="auto"},ue)}},B=function(){var X=H.current;X&&(X.style.overflow="hidden",X.style.height="".concat(X.offsetHeight,"px"),X.offsetHeight,X.style.height="0px",V.current=setTimeout(function(){X.style.overflow="auto",X.style.display="none"},ue))},de=function(){if(!(k===0&&E)){clearTimeout(Number(V.current));var X=f??ge;X?B():J(),g==null||g(!X),typeof f>"u"&&Z(!ge)}},oe=function(X){w==null||w(X),de()},te=function(X){T==null||T(X),X.key==="Enter"&&de()},ne=function(X){if(G){var ae={level:k,disabled:y,active:S,isSubmenu:!0,open:f??ge},pe=G.root,me=G.button,ve=G.label,we=G.icon,Te=G.prefix,Me=G.suffix,Ue=G.subMenuContent,sr=G.SubMenuExpandIcon;switch(X){case"root":return typeof pe=="function"?pe(ae):pe;case"button":return typeof me=="function"?me(ae):me;case"label":return typeof ve=="function"?ve(ae):ve;case"icon":return typeof we=="function"?we(ae):we;case"prefix":return typeof Te=="function"?Te(ae):Te;case"suffix":return typeof Me=="function"?Me(ae):Me;case"SubMenuExpandIcon":return typeof sr=="function"?sr(ae):sr;case"subMenuContent":return typeof Ue=="function"?Ue(ae):Ue;default:return}}};re.useEffect(function(){setTimeout(function(){return U==null?void 0:U.update()},I),E&&k===0&&Se(!1)},[E,k,P,I,U]),re.useEffect(function(){var X=function(ve){var we,Te,Me;!fe&&(!((we=ye.current)===null||we===void 0)&&we.contains(ve))?Se(!0):(q&&!(!((Te=ve.closest(".".concat(Le.menuItemRoot)))===null||Te===void 0)&&Te.classList.contains(Le.subMenuRoot))||!(!((Me=H.current)===null||Me===void 0)&&Me.contains(ve))&&fe)&&Se(!1)},ae=function(ve){X(ve.target)},pe=function(ve){ve.key==="Enter"?X(ve.target):ve.key==="Escape"&&Se(!1)},me=function(){document.removeEventListener("click",ae),document.removeEventListener("keyup",pe)};return me(),E&&k===0&&(document.addEventListener("click",ae,!1),document.addEventListener("keyup",pe,!1)),function(){me()}},[E,k,q,fe]),re.useEffect(function(){tt(!0)},[]);var K=(r={},r[Le.active]=S,r[Le.disabled]=y,r[Le.open]=f??ge,r);return re.createElement(oz,{ref:t,className:gt(Le.menuItemRoot,Le.subMenuRoot,K,o),menuItemStyles:ne("root"),level:k,collapsed:E,rtl:P,disabled:y,active:S,buttonStyles:ne("button"),rootStyles:C},re.createElement(Xx,mr({"data-testid":"".concat(Le.button,"-test-id"),ref:ye,title:s,className:gt(Le.button,K),onClick:oe,onKeyUp:te,component:v,tabIndex:0},O),a&&re.createElement($x,{rtl:P,className:gt(Le.icon,K),rootStyles:ne("icon")},a),u&&re.createElement(Dx,{collapsed:E,transitionDuration:I,firstLevel:k===0,className:gt(Le.prefix,K),rtl:P,rootStyles:ne("prefix")},u),re.createElement(Nx,{className:gt(Le.label,K),rootStyles:ne("label")},i),c&&re.createElement(Fx,{collapsed:E,transitionDuration:I,firstLevel:k===0,className:gt(Le.suffix,K),rootStyles:ne("suffix")},c),re.createElement(VI,{rtl:P,className:gt(Le.SubMenuExpandIcon,K),collapsed:E,level:k,rootStyles:ne("SubMenuExpandIcon")},F?F({level:k,disabled:y,active:S,open:f??ge}):E&&k===0?re.createElement(YI,null):re.createElement(KI,{rtl:P,open:f??ge}))),re.createElement(GI,{ref:H,openWhenCollapsed:fe,open:f??ge,firstLevel:k===0,collapsed:E,defaultOpen:f&&!xt||h,className:gt(Le.subMenuContent,K),rootStyles:ne("subMenuContent")},re.createElement(hc.Provider,{value:k+1},n)))};re.forwardRef(iz);var $_,az=wt.li(D_||(D_=Bt([` - width: 100%; - position: relative; - - `,`; - - `,`; - - > .`,` { - `,`; - - `,`; - } -`],[` - width: 100%; - position: relative; - - `,`; - - `,`; - - > .`,` { - `,`; - - `,`; - } -`])),function(e){var t=e.menuItemStyles;return t},function(e){var t=e.rootStyles;return t},Le.button,function(e){var t=e.level,r=e.disabled,n=e.active,o=e.collapsed,i=e.rtl;return Qx({level:t,disabled:r,active:n,collapsed:o,rtl:i})},function(e){var t=e.buttonStyles;return t}),lz=function(e,t){var r,n=e.children,o=e.icon,i=e.className,a=e.prefix,s=e.suffix,u=e.active,c=u===void 0?!1:u,f=e.disabled,h=f===void 0?!1:f,p=e.component,S=e.rootStyles,_=ti(e,["children","icon","className","prefix","suffix","active","disabled","component","rootStyles"]),y=re.useContext(hc),C=re.useContext(nf),v=C.collapsed,g=C.rtl,w=C.transitionDuration,T=vv().menuItemStyles,O=function(b){if(T){var E={level:y,disabled:h,active:c,isSubmenu:!1},P=T.root,I=T.button,M=T.label,F=T.icon,q=T.prefix,G=T.suffix;switch(b){case"root":return typeof P=="function"?P(E):P;case"button":return typeof I=="function"?I(E):I;case"label":return typeof M=="function"?M(E):M;case"icon":return typeof F=="function"?F(E):F;case"prefix":return typeof q=="function"?q(E):q;case"suffix":return typeof G=="function"?G(E):G;default:return}}},k=(r={},r[Le.active]=c,r[Le.disabled]=h,r);return re.createElement(az,{ref:t,className:gt(Le.menuItemRoot,k,i),menuItemStyles:O("root"),level:y,collapsed:v,rtl:g,disabled:h,active:c,buttonStyles:O("button"),rootStyles:S},re.createElement(Xx,mr({className:gt(Le.button,k),"data-testid":"".concat(Le.button,"-test-id"),component:p,tabIndex:0},_),o&&re.createElement($x,{rtl:g,className:gt(Le.icon,k),rootStyles:O("icon")},o),a&&re.createElement(Dx,{collapsed:v,transitionDuration:w,firstLevel:y===0,className:gt(Le.prefix,k),rtl:g,rootStyles:O("prefix")},a),re.createElement(Nx,{className:gt(Le.label,k),rootStyles:O("label")},n),s&&re.createElement(Fx,{collapsed:v,transitionDuration:w,firstLevel:y===0,className:gt(Le.suffix,k),rootStyles:O("suffix")},s)))},Ur=re.forwardRef(lz),D_,Cv={},Jx={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Jx);var Zr=Jx.exports,eh={};function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[r]=Zx(e[r])}),t}function Nn(e,t,r={clone:!0}){const n=r.clone?_e({},e):e;return ki(e)&&ki(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(ki(t[o])&&o in e&&ki(e[o])?n[o]=Nn(e[o],t[o],r):r.clone?n[o]=ki(t[o])?Zx(t[o]):t[o]:n[o]=t[o])}),n}var eC={exports:{}},sz="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",uz=sz,cz=uz;function tC(){}function rC(){}rC.resetWarningCache=tC;var fz=function(){function e(n,o,i,a,s,u){if(u!==cz){var c=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 c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var r={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:rC,resetWarningCache:tC};return r.PropTypes=r,r};eC.exports=fz();var dz=eC.exports;function ha(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;rr==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function vz(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function gz(e,t){return()=>null}function yz(e,t){return N.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function oC(e){return e&&e.ownerDocument||document}function _z(e){return oC(e).defaultView||window}function Sz(e,t){return()=>null}function iC(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const wz=typeof window<"u"?N.useLayoutEffect:N.useEffect,aC=wz;let F_=0;function bz(e){const[t,r]=N.useState(e),n=e||t;return N.useEffect(()=>{t==null&&(F_+=1,r(`mui-${F_}`))},[t]),n}const W_=ea["useId".toString()];function xz(e){if(W_!==void 0){const t=W_();return e??t}return bz(e)}function Cz(e,t,r,n,o){return null}function Rz({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=N.useRef(e!==void 0),[i,a]=N.useState(t),s=o?e:i,u=N.useCallback(c=>{o||a(c)},[]);return[s,u]}function Tz(e){const t=N.useRef(e);return aC(()=>{t.current=e}),N.useCallback((...r)=>(0,t.current)(...r),[])}function Ez(...e){return N.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{iC(r,t)})},e)}let vf=!0,Zp=!1,B_;const Oz={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 kz(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&Oz[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Pz(e){e.metaKey||e.altKey||e.ctrlKey||(vf=!0)}function th(){vf=!1}function Iz(){this.visibilityState==="hidden"&&Zp&&(vf=!0)}function zz(e){e.addEventListener("keydown",Pz,!0),e.addEventListener("mousedown",th,!0),e.addEventListener("pointerdown",th,!0),e.addEventListener("touchstart",th,!0),e.addEventListener("visibilitychange",Iz,!0)}function jz(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return vf||kz(t)}function Az(){const e=N.useCallback(o=>{o!=null&&zz(o.ownerDocument)},[]),t=N.useRef(!1);function r(){return t.current?(Zp=!0,window.clearTimeout(B_),B_=window.setTimeout(()=>{Zp=!1},100),t.current=!1,!0):!1}function n(o){return jz(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function lC(e,t){const r=_e({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=_e({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=_e({},i),Object.keys(o).forEach(a=>{r[n][a]=lC(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Mz(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const s=t(a);s!==""&&i.push(s),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}const U_=e=>e,Lz=()=>{let e=U_;return{configure(t){e=t},generate(t){return e(t)},reset(){e=U_}}},Nz=Lz(),sC=Nz,$z={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function uC(e,t,r="Mui"){const n=$z[t];return n?`${r}-${n}`:`${sC.generate(e)}-${t}`}function Dz(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=uC(e,o,r)}),n}function xn(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i=0)&&(r[o]=e[o]);return r}function cC(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t0?Ot(Pa,--lr):0,pa--,ht===10&&(pa=1,yf--),ht}function Sr(){return ht=lr2||es(ht)>3?"":" "}function rj(e,t){for(;--t&&Sr()&&!(ht<48||ht>102||ht>57&&ht<65||ht>70&&ht<97););return vs(e,zu()+(t<6&&Sn()==32&&Sr()==32))}function tm(e){for(;Sr();)switch(ht){case e:return lr;case 34:case 39:e!==34&&e!==39&&tm(ht);break;case 40:e===41&&tm(e);break;case 92:Sr();break}return lr}function nj(e,t){for(;Sr()&&e+ht!==47+10;)if(e+ht===42+42&&Sn()===47)break;return"/*"+vs(t,lr-1)+"*"+gf(e===47?e:Sr())}function oj(e){for(;!es(Sn());)Sr();return vs(e,lr)}function ij(e){return gC(Au("",null,null,null,[""],e=vC(e),0,[0],e))}function Au(e,t,r,n,o,i,a,s,u){for(var c=0,f=0,h=a,p=0,S=0,_=0,y=1,C=1,v=1,g=0,w="",T=o,O=i,k=n,b=w;C;)switch(_=g,g=Sr()){case 40:if(_!=108&&Ot(b,h-1)==58){em(b+=ze(ju(g),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:b+=ju(g);break;case 9:case 10:case 13:case 32:b+=tj(_);break;case 92:b+=rj(zu()-1,7);continue;case 47:switch(Sn()){case 42:case 47:iu(aj(nj(Sr(),zu()),t,r),u);break;default:b+="/"}break;case 123*y:s[c++]=fn(b)*v;case 125*y:case 59:case 0:switch(g){case 0:case 125:C=0;case 59+f:v==-1&&(b=ze(b,/\f/g,"")),S>0&&fn(b)-h&&iu(S>32?q_(b+";",n,r,h-1):q_(ze(b," ","")+";",n,r,h-2),u);break;case 59:b+=";";default:if(iu(k=H_(b,t,r,c,f,o,s,w,T=[],O=[],h),i),g===123)if(f===0)Au(b,t,k,k,T,i,h,s,O);else switch(p===99&&Ot(b,3)===110?100:p){case 100:case 108:case 109:case 115:Au(e,k,k,n&&iu(H_(e,k,k,0,0,o,s,w,o,T=[],h),O),o,O,h,s,n?T:O);break;default:Au(b,k,k,k,[""],O,0,s,O)}}c=f=S=0,y=v=1,w=b="",h=a;break;case 58:h=1+fn(b),S=_;default:if(y<1){if(g==123)--y;else if(g==125&&y++==0&&ej()==125)continue}switch(b+=gf(g),g*y){case 38:v=f>0?1:(b+="\f",-1);break;case 44:s[c++]=(fn(b)-1)*v,v=1;break;case 64:Sn()===45&&(b+=ju(Sr())),p=Sn(),f=h=fn(w=b+=oj(zu())),g++;break;case 45:_===45&&fn(b)==2&&(y=0)}}return i}function H_(e,t,r,n,o,i,a,s,u,c,f){for(var h=o-1,p=o===0?i:[""],S=kv(p),_=0,y=0,C=0;_0?p[v]+" "+g:ze(g,/&\f/g,p[v])))&&(u[C++]=w);return _f(e,t,r,o===0?Ev:s,u,c,f)}function aj(e,t,r){return _f(e,t,r,dC,gf(Zz()),Zl(e,2,-2),0)}function q_(e,t,r,n){return _f(e,t,r,Ov,Zl(e,0,n),Zl(e,n+1,-1),n)}function Qi(e,t){for(var r="",n=kv(e),o=0;o6)switch(Ot(e,t+1)){case 109:if(Ot(e,t+4)!==45)break;case 102:return ze(e,/(.+:)(.+)-([^]+)/,"$1"+Ie+"$2-$3$1"+mc+(Ot(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~em(e,"stretch")?yC(ze(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ot(e,t+1)!==115)break;case 6444:switch(Ot(e,fn(e)-3-(~em(e,"!important")&&10))){case 107:return ze(e,":",":"+Ie)+e;case 101:return ze(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ie+(Ot(e,14)===45?"inline-":"")+"box$3$1"+Ie+"$2$3$1"+$t+"$2box$3")+e}break;case 5936:switch(Ot(e,t+11)){case 114:return Ie+e+$t+ze(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ie+e+$t+ze(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ie+e+$t+ze(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ie+e+$t+e+e}return e}var mj=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Ov:t.return=yC(t.value,t.length);break;case hC:return Qi([rl(t,{value:ze(t.value,"@","@"+Ie)})],o);case Ev:if(t.length)return Jz(t.props,function(i){switch(Xz(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Qi([rl(t,{props:[ze(i,/:(read-\w+)/,":"+mc+"$1")]})],o);case"::placeholder":return Qi([rl(t,{props:[ze(i,/:(plac\w+)/,":"+Ie+"input-$1")]}),rl(t,{props:[ze(i,/:(plac\w+)/,":"+mc+"$1")]}),rl(t,{props:[ze(i,/:(plac\w+)/,$t+"input-$1")]})],o)}return""})}},vj=[mj],gj=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(y){var C=y.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||vj,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var C=y.getAttribute("data-emotion").split(" "),v=1;v=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Pj={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ij=/[A-Z]|^ms/g,zj=/_EMO_([^_]+?)_([^]*?)_EMO_/g,CC=function(t){return t.charCodeAt(1)===45},V_=function(t){return t!=null&&typeof t!="boolean"},rh=fC(function(e){return CC(e)?e:e.replace(Ij,"-$&").toLowerCase()}),K_=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(zj,function(n,o,i){return dn={name:o,styles:i,next:dn},o})}return Pj[t]!==1&&!CC(t)&&typeof r=="number"&&r!==0?r+"px":r};function ts(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return dn={name:r.name,styles:r.styles,next:dn},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)dn={name:n.name,styles:n.styles,next:dn},n=n.next;var o=r.styles+";";return o}return jj(e,t,r)}case"function":{if(e!==void 0){var i=dn,a=r(e);return dn=i,ts(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function jj(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o96?Dj:Fj},X_=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Wj=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return xC(r,n,o),Nj(function(){return Oj(r,n,o)}),null},Bj=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=X_(t,r,n),u=s||Q_(o),c=!u("as");return function(){var f=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)h.push.apply(h,f);else{h.push(f[0][0]);for(var p=f.length,S=1;S{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Gj=["values","unit","step"],Vj=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>_e({},r,{[n.key]:n.val}),{})};function Kj(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=xn(e,Gj),i=Vj(t),a=Object.keys(i);function s(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function u(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function c(p,S){const _=a.indexOf(S);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(_!==-1&&typeof t[a[_]]=="number"?t[a[_]]:S)-n/100}${r})`}function f(p){return a.indexOf(p)+1`@media (min-width:${jv[e]}px)`};function Un(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||J_;return t.reduce((a,s,u)=>(a[i.up(i.keys[u])]=r(t[u]),a),{})}if(typeof t=="object"){const i=n.breakpoints||J_;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||jv).indexOf(s)!==-1){const u=i.up(s);a[u]=r(t[s],s)}else{const u=s;a[u]=t[u]}return a},{})}return r(t)}function Xj(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Jj(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Pf(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function vc(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Pf(e,r)||n,t&&(o=t(o,n,e)),o}function Ae(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],u=a.theme,c=Pf(u,n)||{};return Un(a,s,h=>{let p=vc(c,o,h);return h===p&&typeof h=="string"&&(p=vc(c,o,`${t}${h==="default"?"":_n(h)}`,h)),r===!1?p:{[r]:p}})};return i.propTypes={},i.filterProps=[t],i}function Zj(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const eA={m:"margin",p:"padding"},tA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Z_={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},rA=Zj(e=>{if(e.length>2)if(Z_[e])e=Z_[e];else return[e];const[t,r]=e.split(""),n=eA[t],o=tA[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Av=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Mv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Av,...Mv];function gs(e,t,r,n){var o;const i=(o=Pf(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:i*a:Array.isArray(i)?a=>typeof a=="string"?a:i[a]:typeof i=="function"?i:()=>{}}function EC(e){return gs(e,"spacing",8)}function ys(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function nA(e,t){return r=>e.reduce((n,o)=>(n[o]=ys(t,r),n),{})}function oA(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=rA(r),i=nA(o,n),a=e[r];return Un(e,a,i)}function OC(e,t){const r=EC(e.theme);return Object.keys(e).map(n=>oA(e,t,n,r)).reduce(El,{})}function rt(e){return OC(e,Av)}rt.propTypes={};rt.filterProps=Av;function nt(e){return OC(e,Mv)}nt.propTypes={};nt.filterProps=Mv;function iA(e=8){if(e.mui)return e;const t=EC({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return r.mui=!0,r}function If(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?El(o,t[i](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function pn(e){return typeof e!="number"?e:`${e}px solid`}const aA=Ae({prop:"border",themeKey:"borders",transform:pn}),lA=Ae({prop:"borderTop",themeKey:"borders",transform:pn}),sA=Ae({prop:"borderRight",themeKey:"borders",transform:pn}),uA=Ae({prop:"borderBottom",themeKey:"borders",transform:pn}),cA=Ae({prop:"borderLeft",themeKey:"borders",transform:pn}),fA=Ae({prop:"borderColor",themeKey:"palette"}),dA=Ae({prop:"borderTopColor",themeKey:"palette"}),hA=Ae({prop:"borderRightColor",themeKey:"palette"}),pA=Ae({prop:"borderBottomColor",themeKey:"palette"}),mA=Ae({prop:"borderLeftColor",themeKey:"palette"}),zf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=gs(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:ys(t,n)});return Un(e,e.borderRadius,r)}return null};zf.propTypes={};zf.filterProps=["borderRadius"];If(aA,lA,sA,uA,cA,fA,dA,hA,pA,mA,zf);const jf=e=>{if(e.gap!==void 0&&e.gap!==null){const t=gs(e.theme,"spacing",8),r=n=>({gap:ys(t,n)});return Un(e,e.gap,r)}return null};jf.propTypes={};jf.filterProps=["gap"];const Af=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=gs(e.theme,"spacing",8),r=n=>({columnGap:ys(t,n)});return Un(e,e.columnGap,r)}return null};Af.propTypes={};Af.filterProps=["columnGap"];const Mf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=gs(e.theme,"spacing",8),r=n=>({rowGap:ys(t,n)});return Un(e,e.rowGap,r)}return null};Mf.propTypes={};Mf.filterProps=["rowGap"];const vA=Ae({prop:"gridColumn"}),gA=Ae({prop:"gridRow"}),yA=Ae({prop:"gridAutoFlow"}),_A=Ae({prop:"gridAutoColumns"}),SA=Ae({prop:"gridAutoRows"}),wA=Ae({prop:"gridTemplateColumns"}),bA=Ae({prop:"gridTemplateRows"}),xA=Ae({prop:"gridTemplateAreas"}),CA=Ae({prop:"gridArea"});If(jf,Af,Mf,vA,gA,yA,_A,SA,wA,bA,xA,CA);function Xi(e,t){return t==="grey"?t:e}const RA=Ae({prop:"color",themeKey:"palette",transform:Xi}),TA=Ae({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Xi}),EA=Ae({prop:"backgroundColor",themeKey:"palette",transform:Xi});If(RA,TA,EA);function vr(e){return e<=1&&e!==0?`${e*100}%`:e}const OA=Ae({prop:"width",transform:vr}),Lv=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n;return{maxWidth:((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||jv[r]||vr(r)}};return Un(e,e.maxWidth,t)}return null};Lv.filterProps=["maxWidth"];const kA=Ae({prop:"minWidth",transform:vr}),PA=Ae({prop:"height",transform:vr}),IA=Ae({prop:"maxHeight",transform:vr}),zA=Ae({prop:"minHeight",transform:vr});Ae({prop:"size",cssProperty:"width",transform:vr});Ae({prop:"size",cssProperty:"height",transform:vr});const jA=Ae({prop:"boxSizing"});If(OA,Lv,kA,PA,IA,zA,jA);const AA={border:{themeKey:"borders",transform:pn},borderTop:{themeKey:"borders",transform:pn},borderRight:{themeKey:"borders",transform:pn},borderBottom:{themeKey:"borders",transform:pn},borderLeft:{themeKey:"borders",transform:pn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:zf},color:{themeKey:"palette",transform:Xi},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Xi},backgroundColor:{themeKey:"palette",transform:Xi},p:{style:nt},pt:{style:nt},pr:{style:nt},pb:{style:nt},pl:{style:nt},px:{style:nt},py:{style:nt},padding:{style:nt},paddingTop:{style:nt},paddingRight:{style:nt},paddingBottom:{style:nt},paddingLeft:{style:nt},paddingX:{style:nt},paddingY:{style:nt},paddingInline:{style:nt},paddingInlineStart:{style:nt},paddingInlineEnd:{style:nt},paddingBlock:{style:nt},paddingBlockStart:{style:nt},paddingBlockEnd:{style:nt},m:{style:rt},mt:{style:rt},mr:{style:rt},mb:{style:rt},ml:{style:rt},mx:{style:rt},my:{style:rt},margin:{style:rt},marginTop:{style:rt},marginRight:{style:rt},marginBottom:{style:rt},marginLeft:{style:rt},marginX:{style:rt},marginY:{style:rt},marginInline:{style:rt},marginInlineStart:{style:rt},marginInlineEnd:{style:rt},marginBlock:{style:rt},marginBlockStart:{style:rt},marginBlockEnd:{style:rt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:jf},rowGap:{style:Mf},columnGap:{style:Af},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:vr},maxWidth:{style:Lv},minWidth:{transform:vr},height:{transform:vr},maxHeight:{transform:vr},minHeight:{transform:vr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Nv=AA;function MA(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function LA(e,t){return typeof e=="function"?e(t):e}function NA(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:u=r,themeKey:c,transform:f,style:h}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const p=Pf(o,c)||{};return h?h(a):Un(a,n,_=>{let y=vc(p,f,_);return _===y&&typeof _=="string"&&(y=vc(p,f,`${r}${_==="default"?"":_n(_)}`,_)),u===!1?y:{[u]:y}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Nv;function s(u){let c=u;if(typeof u=="function")c=u(i);else if(typeof u!="object")return u;if(!c)return null;const f=Xj(i.breakpoints),h=Object.keys(f);let p=f;return Object.keys(c).forEach(S=>{const _=LA(c[S],i);if(_!=null)if(typeof _=="object")if(a[S])p=El(p,e(S,_,i,a));else{const y=Un({theme:i},_,C=>({[S]:C}));MA(y,_)?p[S]=t({sx:_,theme:i}):p=El(p,y)}else p=El(p,e(S,_,i,a))}),Jj(h,p)}return Array.isArray(o)?o.map(s):s(o)}return t}const kC=NA();kC.filterProps=["sx"];const $v=kC,$A=["breakpoints","palette","spacing","shape"];function Dv(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=xn(e,$A),s=Kj(r),u=iA(o);let c=Nn({breakpoints:s,direction:"ltr",components:{},palette:_e({mode:"light"},n),spacing:u,shape:_e({},Qj,i)},a);return c=t.reduce((f,h)=>Nn(f,h),c),c.unstable_sxConfig=_e({},Nv,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(h){return $v({sx:h,theme:this})},c}function DA(e){return Object.keys(e).length===0}function FA(e=null){const t=N.useContext(TC);return!t||DA(t)?e:t}const WA=Dv();function BA(e=WA){return FA(e)}const UA=["variant"];function eS(e){return e.length===0}function PC(e){const{variant:t}=e,r=xn(e,UA);let n=t||"";return Object.keys(r).sort().forEach(o=>{o==="color"?n+=eS(n)?e[o]:_n(e[o]):n+=`${eS(n)?o:_n(o)}${_n(e[o].toString())}`}),n}const HA=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function qA(e){return Object.keys(e).length===0}function GA(e){return typeof e=="string"&&e.charCodeAt(0)>96}const VA=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,KA=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach(o=>{const i=PC(o.props);n[i]=o.style}),n},YA=(e,t,r,n)=>{var o;const{ownerState:i={}}=e,a=[],s=r==null||(o=r.components)==null||(o=o[n])==null?void 0:o.variants;return s&&s.forEach(u=>{let c=!0;Object.keys(u.props).forEach(f=>{i[f]!==u.props[f]&&e[f]!==u.props[f]&&(c=!1)}),c&&a.push(t[PC(u.props)])}),a};function Mu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const QA=Dv(),XA=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function nl({defaultTheme:e,theme:t,themeId:r}){return qA(t)?e:t[r]||t}function JA(e){return e?(t,r)=>r[e]:null}function ZA(e={}){const{themeId:t,defaultTheme:r=QA,rootShouldForwardProp:n=Mu,slotShouldForwardProp:o=Mu}=e,i=a=>$v(_e({},a,{theme:nl(_e({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{qj(a,T=>T.filter(O=>!(O!=null&&O.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:f,skipSx:h,overridesResolver:p=JA(XA(c))}=s,S=xn(s,HA),_=f!==void 0?f:c&&c!=="Root"&&c!=="root"||!1,y=h||!1;let C,v=Mu;c==="Root"||c==="root"?v=n:c?v=o:GA(a)&&(v=void 0);const g=Hj(a,_e({shouldForwardProp:v,label:C},S)),w=(T,...O)=>{const k=O?O.map(I=>typeof I=="function"&&I.__emotion_real!==I?M=>I(_e({},M,{theme:nl(_e({},M,{defaultTheme:r,themeId:t}))})):I):[];let b=T;u&&p&&k.push(I=>{const M=nl(_e({},I,{defaultTheme:r,themeId:t})),F=VA(u,M);if(F){const q={};return Object.entries(F).forEach(([G,ue])=>{q[G]=typeof ue=="function"?ue(_e({},I,{theme:M})):ue}),p(I,q)}return null}),u&&!_&&k.push(I=>{const M=nl(_e({},I,{defaultTheme:r,themeId:t}));return YA(I,KA(u,M),M,u)}),y||k.push(i);const E=k.length-O.length;if(Array.isArray(T)&&E>0){const I=new Array(E).fill("");b=[...T,...I],b.raw=[...T.raw,...I]}else typeof T=="function"&&T.__emotion_real!==T&&(b=I=>T(_e({},I,{theme:nl(_e({},I,{defaultTheme:r,themeId:t}))})));const P=g(b,...k);return a.muiName&&(P.muiName=a.muiName),P};return g.withConfig&&(w.withConfig=g.withConfig),w}}function eM(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:lC(t.components[r].defaultProps,n)}function tM({props:e,name:t,defaultTheme:r,themeId:n}){let o=BA(r);return n&&(o=o[n]||o),eM({theme:o,name:t,props:e})}function IC(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function rM(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ma(e){if(e.type)return e;if(e.charAt(0)==="#")return ma(rM(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(ha(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(ha(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}function Fv(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function nM(e){e=ma(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(c,f=(c+r/30)%12)=>o-i*Math.max(Math.min(f-3,9-f,1),-1);let s="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",u.push(t[3])),Fv({type:s,values:u})}function tS(e){e=ma(e);let t=e.type==="hsl"||e.type==="hsla"?ma(nM(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function oM(e,t){const r=tS(e),n=tS(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function iM(e,t){if(e=ma(e),t=IC(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Fv(e)}function aM(e,t){if(e=ma(e),t=IC(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Fv(e)}function lM(e,t){return _e({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const sM={black:"#000",white:"#fff"},rs=sM,uM={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},cM=uM,fM={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},wi=fM,dM={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},bi=dM,hM={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ol=hM,pM={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},xi=pM,mM={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Ci=mM,vM={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ri=vM,gM=["mode","contrastThreshold","tonalOffset"],rS={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:rs.white,default:rs.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},nh={text:{primary:rs.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:rs.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function nS(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=aM(e.main,o):t==="dark"&&(e.dark=iM(e.main,i)))}function yM(e="light"){return e==="dark"?{main:xi[200],light:xi[50],dark:xi[400]}:{main:xi[700],light:xi[400],dark:xi[800]}}function _M(e="light"){return e==="dark"?{main:wi[200],light:wi[50],dark:wi[400]}:{main:wi[500],light:wi[300],dark:wi[700]}}function SM(e="light"){return e==="dark"?{main:bi[500],light:bi[300],dark:bi[700]}:{main:bi[700],light:bi[400],dark:bi[800]}}function wM(e="light"){return e==="dark"?{main:Ci[400],light:Ci[300],dark:Ci[700]}:{main:Ci[700],light:Ci[500],dark:Ci[900]}}function bM(e="light"){return e==="dark"?{main:Ri[400],light:Ri[300],dark:Ri[700]}:{main:Ri[800],light:Ri[500],dark:Ri[900]}}function xM(e="light"){return e==="dark"?{main:ol[400],light:ol[300],dark:ol[700]}:{main:"#ed6c02",light:ol[500],dark:ol[900]}}function CM(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=xn(e,gM),i=e.primary||yM(t),a=e.secondary||_M(t),s=e.error||SM(t),u=e.info||wM(t),c=e.success||bM(t),f=e.warning||xM(t);function h(y){return oM(y,nh.text.primary)>=r?nh.text.primary:rS.text.primary}const p=({color:y,name:C,mainShade:v=500,lightShade:g=300,darkShade:w=700})=>{if(y=_e({},y),!y.main&&y[v]&&(y.main=y[v]),!y.hasOwnProperty("main"))throw new Error(ha(11,C?` (${C})`:"",v));if(typeof y.main!="string")throw new Error(ha(12,C?` (${C})`:"",JSON.stringify(y.main)));return nS(y,"light",g,n),nS(y,"dark",w,n),y.contrastText||(y.contrastText=h(y.main)),y},S={dark:nh,light:rS};return Nn(_e({common:_e({},rs),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:f,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:c,name:"success"}),grey:cM,contrastThreshold:r,getContrastText:h,augmentColor:p,tonalOffset:n},S[t]),o)}const RM=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function TM(e){return Math.round(e*1e5)/1e5}const oS={textTransform:"uppercase"},iS='"Roboto", "Helvetica", "Arial", sans-serif';function EM(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=iS,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:u=700,htmlFontSize:c=16,allVariants:f,pxToRem:h}=r,p=xn(r,RM),S=o/14,_=h||(v=>`${v/c*S}rem`),y=(v,g,w,T,O)=>_e({fontFamily:n,fontWeight:v,fontSize:_(g),lineHeight:w},n===iS?{letterSpacing:`${TM(T/g)}em`}:{},O,f),C={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(a,48,1.167,0),h4:y(a,34,1.235,.25),h5:y(a,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(a,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(a,16,1.5,.15),body2:y(a,14,1.43,.15),button:y(s,14,1.75,.4,oS),caption:y(a,12,1.66,.4),overline:y(a,12,2.66,1,oS),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Nn(_e({htmlFontSize:c,pxToRem:_,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:u},C),p,{clone:!1})}const OM=.2,kM=.14,PM=.12;function Ye(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${OM})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${kM})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${PM})`].join(",")}const IM=["none",Ye(0,2,1,-1,0,1,1,0,0,1,3,0),Ye(0,3,1,-2,0,2,2,0,0,1,5,0),Ye(0,3,3,-2,0,3,4,0,0,1,8,0),Ye(0,2,4,-1,0,4,5,0,0,1,10,0),Ye(0,3,5,-1,0,5,8,0,0,1,14,0),Ye(0,3,5,-1,0,6,10,0,0,1,18,0),Ye(0,4,5,-2,0,7,10,1,0,2,16,1),Ye(0,5,5,-3,0,8,10,1,0,3,14,2),Ye(0,5,6,-3,0,9,12,1,0,3,16,2),Ye(0,6,6,-3,0,10,14,1,0,4,18,3),Ye(0,6,7,-4,0,11,15,1,0,4,20,3),Ye(0,7,8,-4,0,12,17,2,0,5,22,4),Ye(0,7,8,-4,0,13,19,2,0,5,24,4),Ye(0,7,9,-4,0,14,21,2,0,5,26,4),Ye(0,8,9,-5,0,15,22,2,0,6,28,5),Ye(0,8,10,-5,0,16,24,2,0,6,30,5),Ye(0,8,11,-5,0,17,26,2,0,6,32,5),Ye(0,9,11,-5,0,18,28,2,0,7,34,6),Ye(0,9,12,-6,0,19,29,2,0,7,36,6),Ye(0,10,13,-6,0,20,31,3,0,8,38,7),Ye(0,10,13,-6,0,21,33,3,0,8,40,7),Ye(0,10,14,-6,0,22,35,3,0,8,42,7),Ye(0,11,14,-7,0,23,36,3,0,9,44,8),Ye(0,11,15,-7,0,24,38,3,0,9,46,8)],zM=IM,jM=["duration","easing","delay"],AM={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},MM={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function aS(e){return`${Math.round(e)}ms`}function LM(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function NM(e){const t=_e({},AM,e.easing),r=_e({},MM,e.duration);return _e({getAutoHeightDuration:LM,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:u=0}=i;return xn(i,jM),(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof a=="string"?a:aS(a)} ${s} ${typeof u=="string"?u:aS(u)}`).join(",")}},e,{easing:t,duration:r})}const $M={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},DM=$M,FM=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function WM(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=xn(e,FM);if(e.vars)throw new Error(ha(18));const s=CM(n),u=Dv(e);let c=Nn(u,{mixins:lM(u.breakpoints,r),palette:s,shadows:zM.slice(),typography:EM(s,i),transitions:NM(o),zIndex:_e({},DM)});return c=Nn(c,a),c=t.reduce((f,h)=>Nn(f,h),c),c.unstable_sxConfig=_e({},Nv,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(h){return $v({sx:h,theme:this})},c}const BM=WM(),zC=BM,jC="$$material";function UM({props:e,name:t}){return tM({props:e,name:t,defaultTheme:zC,themeId:jC})}const HM=e=>Mu(e)&&e!=="classes",qM=ZA({themeId:jC,defaultTheme:zC,rootShouldForwardProp:HM}),GM=qM;function VM(e){return uC("MuiSvgIcon",e)}Dz("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const KM=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],YM=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${_n(t)}`,`fontSize${_n(r)}`]};return Mz(o,VM,n)},QM=GM("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${_n(r.color)}`],t[`fontSize${_n(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,u,c,f,h,p,S,_;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(u=s.pxToRem)==null?void 0:u.call(s,24))||"1.5rem",large:((c=e.typography)==null||(f=c.pxToRem)==null?void 0:f.call(c,35))||"2.1875rem"}[t.fontSize],color:(h=(p=(e.vars||e).palette)==null||(p=p[t.color])==null?void 0:p.main)!=null?h:{action:(S=(e.vars||e).palette)==null||(S=S.action)==null?void 0:S.active,disabled:(_=(e.vars||e).palette)==null||(_=_.action)==null?void 0:_.disabled,inherit:void 0}[t.color]}}),AC=N.forwardRef(function(t,r){const n=UM({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:u="medium",htmlColor:c,inheritViewBox:f=!1,titleAccess:h,viewBox:p="0 0 24 24"}=n,S=xn(n,KM),_=N.isValidElement(o)&&o.type==="svg",y=_e({},n,{color:a,component:s,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:p,hasSvgAsChild:_}),C={};f||(C.viewBox=p);const v=YM(y);return j.jsxs(QM,_e({as:s,className:Fz(v.root,i),focusable:"false",color:c,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r},C,S,_&&o.props,{ownerState:y,children:[_?o.props.children:o,h?j.jsx("title",{children:h}):null]}))});AC.muiName="SvgIcon";const lS=AC;function XM(e,t){function r(n,o){return j.jsx(lS,_e({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return r.muiName=lS.muiName,N.memo(N.forwardRef(r))}const JM={configure:e=>{sC.configure(e)}},ZM=Object.freeze(Object.defineProperty({__proto__:null,capitalize:_n,createChainedFunction:mz,createSvgIcon:XM,debounce:vz,deprecatedPropType:gz,isMuiElement:yz,ownerDocument:oC,ownerWindow:_z,requirePropFactory:Sz,setRef:iC,unstable_ClassNameGenerator:JM,unstable_useEnhancedEffect:aC,unstable_useId:xz,unsupportedProp:Cz,useControlled:Rz,useEventCallback:Tz,useForkRef:Ez,useIsFocusVisible:Az},Symbol.toStringTag,{value:"Module"})),eL=xa(ZM);var sS;function en(){return sS||(sS=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=eL}(eh)),eh}var tL=Zr;Object.defineProperty(Cv,"__esModule",{value:!0});var MC=Cv.default=void 0,rL=tL(en()),nL=j,oL=(0,rL.default)((0,nL.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"MenuOutlined");MC=Cv.default=oL;var Wv={},iL=Zr;Object.defineProperty(Wv,"__esModule",{value:!0});var LC=Wv.default=void 0,aL=iL(en()),lL=j,sL=(0,aL.default)((0,lL.jsx)("path",{d:"M18.99 11.5c.34 0 .67.03 1 .07L20 0 0 20h11.56c-.04-.33-.07-.66-.07-1 0-4.14 3.36-7.5 7.5-7.5zm3.71 7.99c.02-.16.04-.32.04-.49 0-.17-.01-.33-.04-.49l1.06-.83c.09-.08.12-.21.06-.32l-1-1.73c-.06-.11-.19-.15-.31-.11l-1.24.5c-.26-.2-.54-.37-.85-.49l-.19-1.32c-.01-.12-.12-.21-.24-.21h-2c-.12 0-.23.09-.25.21l-.19 1.32c-.3.13-.59.29-.85.49l-1.24-.5c-.11-.04-.24 0-.31.11l-1 1.73c-.06.11-.04.24.06.32l1.06.83c-.02.16-.03.32-.03.49 0 .17.01.33.03.49l-1.06.83c-.09.08-.12.21-.06.32l1 1.73c.06.11.19.15.31.11l1.24-.5c.26.2.54.37.85.49l.19 1.32c.02.12.12.21.25.21h2c.12 0 .23-.09.25-.21l.19-1.32c.3-.13.59-.29.84-.49l1.25.5c.11.04.24 0 .31-.11l1-1.73c.06-.11.03-.24-.06-.32l-1.07-.83zm-3.71 1.01c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"}),"PermDataSetting");LC=Wv.default=sL;var Bv={},uL=Zr;Object.defineProperty(Bv,"__esModule",{value:!0});var NC=Bv.default=void 0,cL=uL(en()),fL=j,dL=(0,cL.default)((0,fL.jsx)("path",{d:"M12 14.67 3.41 6.09 2 7.5l8.5 8.5H4v2h16v-2h-6.5l5.15-5.15c.26.1.55.15.85.15 1.38 0 2.5-1.12 2.5-2.5S20.88 6 19.5 6 17 7.12 17 8.5c0 .35.07.67.2.97l-5.2 5.2z"}),"NetworkPing");NC=Bv.default=dL;var Uv={},hL=Zr;Object.defineProperty(Uv,"__esModule",{value:!0});var $C=Uv.default=void 0,pL=hL(en()),mL=j,vL=(0,pL.default)((0,mL.jsx)("path",{d:"M19 3H4.99C3.89 3 3 3.9 3 5l.01 14c0 1.1.89 2 1.99 2h10l6-6V5c0-1.1-.9-2-2-2zM7 8h10v2H7V8zm5 6H7v-2h5v2zm2 5.5V14h5.5L14 19.5z"}),"StickyNote2");$C=Uv.default=vL;var Hv={},gL=Zr;Object.defineProperty(Hv,"__esModule",{value:!0});var DC=Hv.default=void 0,yL=gL(en()),_L=j,SL=(0,yL.default)((0,_L.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}),"Link");DC=Hv.default=SL;var qv={},wL=Zr;Object.defineProperty(qv,"__esModule",{value:!0});var FC=qv.default=void 0,bL=wL(en()),xL=j,CL=(0,bL.default)((0,xL.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 14H7v-4h4v4zm0-6H7V7h4v4zm6 6h-4v-4h4v4zm0-6h-4V7h4v4z"}),"Dataset");FC=qv.default=CL;var Gv={},RL=Zr;Object.defineProperty(Gv,"__esModule",{value:!0});var WC=Gv.default=void 0,TL=RL(en()),EL=j,OL=(0,TL.default)((0,EL.jsx)("path",{d:"M21 15v-2h-3.07c-.05-.39-.12-.77-.22-1.14l2.58-1.49-1-1.73L16.92 10c-.28-.48-.62-.91-.99-1.29.04-.23.07-.46.07-.71 0-.8-.24-1.55-.65-2.18L17 4.17l-1.41-1.41-1.72 1.72c-1.68-.89-3.1-.33-3.73 0L8.41 2.76 7 4.17l1.65 1.65C8.24 6.45 8 7.2 8 8c0 .25.03.48.07.72-.37.38-.71.81-.99 1.28L4.71 8.63l-1 1.73 2.58 1.49c-.1.37-.17.75-.22 1.14H3v2h3.07c.05.39.12.77.22 1.14l-2.58 1.49 1 1.73L7.08 18c1.08 1.81 2.88 3 4.92 3s3.84-1.19 4.92-3l2.37 1.37 1-1.73-2.58-1.49c.1-.37.17-.75.22-1.14H21zm-8 2h-2v-6h2v6z"}),"PestControl");WC=Gv.default=OL;var Vv={},kL=Zr;Object.defineProperty(Vv,"__esModule",{value:!0});var BC=Vv.default=void 0,PL=kL(en()),oh=j,IL=(0,PL.default)([(0,oh.jsx)("path",{d:"M7 19c-1.1 0-2 .9-2 2h14c0-1.1-.9-2-2-2h-4v-2h3c1.1 0 2-.9 2-2h-8c-1.66 0-3-1.34-3-3 0-1.09.59-2.04 1.46-2.56C8.17 9.03 8 8.54 8 8c0-.21.04-.42.09-.62C6.28 8.13 5 9.92 5 12c0 2.76 2.24 5 5 5v2H7z"},"0"),(0,oh.jsx)("path",{d:"M10.56 5.51C11.91 5.54 13 6.64 13 8c0 .75-.33 1.41-.85 1.87l.59 1.62.94-.34.34.94 1.88-.68-.34-.94.94-.34-2.74-7.53-.94.34-.34-.94-1.88.68.34.94-.94.35.56 1.54z"},"1"),(0,oh.jsx)("circle",{cx:"10.5",cy:"8",r:"1.5"},"2")],"Biotech");BC=Vv.default=IL;var Kv={},zL=Zr;Object.defineProperty(Kv,"__esModule",{value:!0});var UC=Kv.default=void 0,jL=zL(en()),AL=j,ML=(0,jL.default)((0,AL.jsx)("path",{d:"m20.38 8.57-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44zm-9.79 6.84a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83z"}),"Speed");UC=Kv.default=ML;var Yv={},LL=Zr;Object.defineProperty(Yv,"__esModule",{value:!0});var HC=Yv.default=void 0,NL=LL(en()),$L=j,DL=(0,NL.default)((0,$L.jsx)("path",{d:"M15 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V9l-6-6zM8 17c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm0-4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm0-4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm6 1V4.5l5.5 5.5H14z"}),"Summarize");HC=Yv.default=DL;var Qv={},FL=Zr;Object.defineProperty(Qv,"__esModule",{value:!0});var qC=Qv.default=void 0,WL=FL(en()),uS=j,BL=(0,WL.default)([(0,uS.jsx)("path",{d:"M17 11c.34 0 .67.04 1 .09V6.27L10.5 3 3 6.27v4.91c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55-.69-.98-1.1-2.17-1.1-3.45 0-3.31 2.69-6 6-6z"},"0"),(0,uS.jsx)("path",{d:"M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 1.38c.62 0 1.12.51 1.12 1.12s-.51 1.12-1.12 1.12-1.12-.51-1.12-1.12.5-1.12 1.12-1.12zm0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08s2.19.36 2.24 1.08c-.5.71-1.31 1.17-2.24 1.17z"},"1")],"AdminPanelSettings");qC=Qv.default=BL;var GC={exports:{}},VC={};/** - * @license React - * use-sync-external-store-shim.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var va=N;function UL(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var HL=typeof Object.is=="function"?Object.is:UL,qL=va.useState,GL=va.useEffect,VL=va.useLayoutEffect,KL=va.useDebugValue;function YL(e,t){var r=t(),n=qL({inst:{value:r,getSnapshot:t}}),o=n[0].inst,i=n[1];return VL(function(){o.value=r,o.getSnapshot=t,ih(o)&&i({inst:o})},[e,r,t]),GL(function(){return ih(o)&&i({inst:o}),e(function(){ih(o)&&i({inst:o})})},[e]),KL(r),r}function ih(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!HL(e,r)}catch{return!0}}function QL(e,t){return t()}var XL=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?QL:YL;VC.useSyncExternalStore=va.useSyncExternalStore!==void 0?va.useSyncExternalStore:XL;GC.exports=VC;var JL=GC.exports,KC={exports:{}},YC={};/** - * @license React - * use-sync-external-store-shim/with-selector.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Lf=N,ZL=JL;function eN(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var tN=typeof Object.is=="function"?Object.is:eN,rN=ZL.useSyncExternalStore,nN=Lf.useRef,oN=Lf.useEffect,iN=Lf.useMemo,aN=Lf.useDebugValue;YC.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var i=nN(null);if(i.current===null){var a={hasValue:!1,value:null};i.current=a}else a=i.current;i=iN(function(){function u(S){if(!c){if(c=!0,f=S,S=n(S),o!==void 0&&a.hasValue){var _=a.value;if(o(_,S))return h=_}return h=S}if(_=h,tN(f,S))return _;var y=n(S);return o!==void 0&&o(_,y)?_:(f=S,h=y)}var c=!1,f,h,p=r===void 0?null:r;return[function(){return u(t())},p===null?void 0:function(){return u(p())}]},[t,r,n,o]);var s=rN(e,i[0],i[1]);return oN(function(){a.hasValue=!0,a.value=s},[s]),aN(s),s};KC.exports=YC;var lN=KC.exports;function sN(e){e()}let QC=sN;const uN=e=>QC=e,cN=()=>QC,cS=Symbol.for("react-redux-context"),fS=typeof globalThis<"u"?globalThis:{};function fN(){var e;if(!N.createContext)return{};const t=(e=fS[cS])!=null?e:fS[cS]=new Map;let r=t.get(N.createContext);return r||(r=N.createContext(null),t.set(N.createContext,r)),r}const So=fN();function Xv(e=So){return function(){return N.useContext(e)}}const XC=Xv(),dN=()=>{throw new Error("uSES not initialized!")};let JC=dN;const hN=e=>{JC=e},pN=(e,t)=>e===t;function mN(e=So){const t=e===So?XC:Xv(e);return function(n,o={}){const{equalityFn:i=pN,stabilityCheck:a=void 0,noopCheck:s=void 0}=typeof o=="function"?{equalityFn:o}:o,{store:u,subscription:c,getServerState:f,stabilityCheck:h,noopCheck:p}=t();N.useRef(!0);const S=N.useCallback({[n.name](y){return n(y)}}[n.name],[n,h,a]),_=JC(c.addNestedSub,u.getState,f||u.getState,S,i);return N.useDebugValue(_),_}}const Io=mN();function vN(){const e=cN();let t=null,r=null;return{clear(){t=null,r=null},notify(){e(()=>{let n=t;for(;n;)n.callback(),n=n.next})},get(){let n=[],o=t;for(;o;)n.push(o),o=o.next;return n},subscribe(n){let o=!0,i=r={callback:n,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){!o||t===null||(o=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}const dS={notify(){},get:()=>[]};function gN(e,t){let r,n=dS;function o(h){return u(),n.subscribe(h)}function i(){n.notify()}function a(){f.onStateChange&&f.onStateChange()}function s(){return!!r}function u(){r||(r=t?t.addNestedSub(a):e.subscribe(a),n=vN())}function c(){r&&(r(),r=void 0,n.clear(),n=dS)}const f={addNestedSub:o,notifyNestedSubs:i,handleChangeWrapper:a,isSubscribed:s,trySubscribe:u,tryUnsubscribe:c,getListeners:()=>n};return f}const yN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",_N=yN?N.useLayoutEffect:N.useEffect;function SN({store:e,context:t,children:r,serverState:n,stabilityCheck:o="once",noopCheck:i="once"}){const a=N.useMemo(()=>{const c=gN(e);return{store:e,subscription:c,getServerState:n?()=>n:void 0,stabilityCheck:o,noopCheck:i}},[e,n,o,i]),s=N.useMemo(()=>e.getState(),[e]);_N(()=>{const{subscription:c}=a;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),s!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[a,s]);const u=t||So;return N.createElement(u.Provider,{value:a},r)}function ZC(e=So){const t=e===So?XC:Xv(e);return function(){const{store:n}=t();return n}}const wN=ZC();function bN(e=So){const t=e===So?wN:ZC(e);return function(){return t().dispatch}}const xN=bN();hN(lN.useSyncExternalStoreWithSelector);uN(fs.unstable_batchedUpdates);function Yr(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n3?t.i-4:t.i:Array.isArray(e)?1:Jv(e)?2:Zv(e)?3:0}function Ji(e,t){return Ia(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function CN(e,t){return Ia(e)===2?e.get(t):e[t]}function eR(e,t,r){var n=Ia(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function tR(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Jv(e){return PN&&e instanceof Map}function Zv(e){return IN&&e instanceof Set}function No(e){return e.o||e.t}function eg(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=nR(e);delete t[Qe];for(var r=Zi(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=RN),Object.freeze(e),t&&ni(e,function(r,n){return tg(n,!0)},!0)),e}function RN(){Yr(2)}function rg(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function wn(e){var t=am[e];return t||Yr(18,e),t}function TN(e,t){am[e]||(am[e]=t)}function nm(){return ns}function ah(e,t){t&&(wn("Patches"),e.u=[],e.s=[],e.v=t)}function gc(e){om(e),e.p.forEach(EN),e.p=null}function om(e){e===ns&&(ns=e.l)}function hS(e){return ns={p:[],l:ns,h:e,m:!0,_:0}}function EN(e){var t=e[Qe];t.i===0||t.i===1?t.j():t.g=!0}function lh(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||wn("ES5").S(t,e,n),n?(r[Qe].P&&(gc(t),Yr(4)),Hn(e)&&(e=yc(t,e),t.l||_c(t,e)),t.u&&wn("Patches").M(r[Qe].t,e,t.u,t.s)):e=yc(t,r,[]),gc(t),t.u&&t.v(t.u,t.s),e!==rR?e:void 0}function yc(e,t,r){if(rg(t))return t;var n=t[Qe];if(!n)return ni(t,function(s,u){return pS(e,n,t,s,u,r)},!0),t;if(n.A!==e)return t;if(!n.P)return _c(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=eg(n.k):n.o,i=o,a=!1;n.i===3&&(i=new Set(o),o.clear(),a=!0),ni(i,function(s,u){return pS(e,n,o,s,u,r,a)}),_c(e,o,!1),r&&e.u&&wn("Patches").N(n,r,e.u,e.s)}return n.o}function pS(e,t,r,n,o,i,a){if(wo(o)){var s=yc(e,o,i&&t&&t.i!==3&&!Ji(t.R,n)?i.concat(n):void 0);if(eR(r,n,s),!wo(s))return;e.m=!1}else a&&r.add(o);if(Hn(o)&&!rg(o)){if(!e.h.D&&e._<1)return;yc(e,o),t&&t.A.l||_c(e,o)}}function _c(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&tg(t,r)}function sh(e,t){var r=e[Qe];return(r?No(r):e)[t]}function mS(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function eo(e){e.P||(e.P=!0,e.l&&eo(e.l))}function uh(e){e.o||(e.o=eg(e.t))}function im(e,t,r){var n=Jv(t)?wn("MapSet").F(t,r):Zv(t)?wn("MapSet").T(t,r):e.O?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:nm(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},u=s,c=os;a&&(u=[s],c=cl);var f=Proxy.revocable(u,c),h=f.revoke,p=f.proxy;return s.k=p,s.j=h,p}(t,r):wn("ES5").J(t,r);return(r?r.A:nm()).p.push(n),n}function ON(e){return wo(e)||Yr(22,e),function t(r){if(!Hn(r))return r;var n,o=r[Qe],i=Ia(r);if(o){if(!o.P&&(o.i<4||!wn("ES5").K(o)))return o.t;o.I=!0,n=vS(r,i),o.I=!1}else n=vS(r,i);return ni(n,function(a,s){o&&CN(o.t,a)===s||eR(n,a,t(s))}),i===3?new Set(n):n}(e)}function vS(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return eg(e)}function kN(){function e(i,a){var s=o[i];return s?s.enumerable=a:o[i]=s={configurable:!0,enumerable:a,get:function(){var u=this[Qe];return os.get(u,i)},set:function(u){var c=this[Qe];os.set(c,i,u)}},s}function t(i){for(var a=i.length-1;a>=0;a--){var s=i[a][Qe];if(!s.P)switch(s.i){case 5:n(s)&&eo(s);break;case 4:r(s)&&eo(s)}}}function r(i){for(var a=i.t,s=i.k,u=Zi(s),c=u.length-1;c>=0;c--){var f=u[c];if(f!==Qe){var h=a[f];if(h===void 0&&!Ji(a,f))return!0;var p=s[f],S=p&&p[Qe];if(S?S.t!==h:!tR(p,h))return!0}}var _=!!a[Qe];return u.length!==Zi(a).length+(_?0:1)}function n(i){var a=i.k;if(a.length!==i.t.length)return!0;var s=Object.getOwnPropertyDescriptor(a,a.length-1);if(s&&!s.get)return!0;for(var u=0;u1?v-1:0),w=1;w1?f-1:0),p=1;p=0;o--){var i=n[o];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}o>-1&&(n=n.slice(o+1));var a=wn("Patches").$;return wo(r)?a(r,n):this.produce(r,function(s){return a(s,n)})},e}(),br=new jN,oR=br.produce;br.produceWithPatches.bind(br);br.setAutoFreeze.bind(br);br.setUseProxies.bind(br);br.applyPatches.bind(br);br.createDraft.bind(br);br.finishDraft.bind(br);function ga(e){"@babel/helpers - typeof";return ga=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ga(e)}function AN(e,t){if(ga(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ga(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function iR(e){var t=AN(e,"string");return ga(t)==="symbol"?t:String(t)}function $(e,t,r){return t=iR(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function wS(e){for(var t=1;t"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Dt(1));return r(aR)(e,t)}if(typeof e!="function")throw new Error(Dt(2));var o=e,i=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function f(){if(u)throw new Error(Dt(3));return i}function h(y){if(typeof y!="function")throw new Error(Dt(4));if(u)throw new Error(Dt(5));var C=!0;return c(),s.push(y),function(){if(C){if(u)throw new Error(Dt(6));C=!1,c();var g=s.indexOf(y);s.splice(g,1),a=null}}}function p(y){if(!MN(y))throw new Error(Dt(7));if(typeof y.type>"u")throw new Error(Dt(8));if(u)throw new Error(Dt(9));try{u=!0,i=o(i,y)}finally{u=!1}for(var C=a=s,v=0;v"u")throw new Error(Dt(12));if(typeof r(void 0,{type:Sc.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Dt(13))})}function NN(e){for(var t=Object.keys(e),r={},n=0;n"u")throw c&&c.type,new Error(Dt(14));h[S]=C,f=f||C!==y}return f=f||i.length!==Object.keys(u).length,f?h:u}}function wc(){for(var e=arguments.length,t=new Array(e),r=0;r-1){var c=r[u];return u>0&&(r.splice(u,1),r.unshift(c)),c.value}return bc}function o(s,u){n(s)===bc&&(r.unshift({key:s,value:u}),r.length>e&&r.pop())}function i(){return r}function a(){r=[]}return{get:n,put:o,getEntries:i,clear:a}}var WN=function(t,r){return t===r};function BN(e){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;for(var o=r.length,i=0;i1?t-1:0),n=1;n0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]{e.session.push(t.payload)},addNode:(e,t)=>{e.nodes.push(t.payload)},addOrUpdateNode:(e,t)=>{let r=e.nodes.findIndex(n=>n.id===t.payload.id);r!==-1?e.nodes[r]=t.payload:e.nodes.push(t.payload),e.activeNodeId=t.payload.id},setSessionPin:(e,t)=>{e.session[0].pin=t.payload},setActiveNodeId:(e,t)=>{e.activeNodeId=t.payload},addOrUpdateNodeVersion:(e,t)=>{let r=e.nodeVersions.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.nodeVersions[r]=t.payload:e.nodeVersions.push(t.payload)},addOrUpdateNodeFlags:(e,t)=>{let r=e.flags.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.flags[r]=t.payload:e.flags.push(t.payload)},addOrUpdateCmdLineArgs:(e,t)=>{let r=e.cmdLineArgs.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.cmdLineArgs[r]=t.payload:e.cmdLineArgs.push(t.payload)},addOrUpdateLogFile:(e,t)=>{let r=e.logFiles.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.logFiles[r]=t.payload:e.logFiles.push(t.payload)}}}),{addSession:YF,addNode:QF,addOrUpdateNode:_3,setSessionPin:XF,setActiveNodeId:S3,addOrUpdateNodeVersion:w3,addOrUpdateNodeFlags:b3,addOrUpdateCmdLineArgs:x3,addOrUpdateLogFile:C3}=fR.actions,dR=e=>e.app.session[0],hR=e=>e.app.nodes,za=e=>e.app.activeNodeId,R3=e=>e.app.nodeVersions,T3=e=>e.app.flags,E3=e=>e.app.cmdLineArgs,O3=e=>e.app.logFiles,k3=_s([hR,za],(e,t)=>(e.forEach(r=>{if(r.id===t)return r}),e[0])),P3=_s([dR,hR,za,R3],(e,t,r,n)=>{let o=[];return t.forEach(i=>{let a="";n.forEach(s=>{s.nodeId===i.id&&(a=s.version.nodeVersion)}),o.push({active:i.id===r,name:i.name,id:i.id,version:a,chain:i.protocols.eth.config.ChainName,block:i.protocols.eth.config.londonBlock,address:""})}),o}),I3=_s([T3,za],(e,t)=>{let r=[];return e.forEach(n=>{n.nodeId===t&&(r=n.flags)}),r}),z3=_s([E3,za],(e,t)=>{let r="";return e.forEach(n=>{n.nodeId===t&&(r=n.args)}),r}),j3=_s([O3,za],(e,t)=>{let r={nodeId:"",logFileUrl:"",logSize:0};return e.forEach(n=>{n.nodeId===t&&(r=n)}),r}),A3=fR.reducer,M3=({nodes:e=[],onNodeSelected:t,...r})=>{const n=i=>{t(i)},o=()=>j.jsxs("table",{className:"table-auto border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none",children:[j.jsx("thead",{children:j.jsxs("tr",{className:"border-b",children:[j.jsx("th",{}),j.jsx("th",{className:"px-4 py-2",children:"Name"}),j.jsx("th",{className:"px-4 py-2",children:"Version"}),j.jsx("th",{className:"px-4 py-2",children:"Chain"}),j.jsx("th",{className:"px-4 py-2",children:"Block"}),j.jsx("th",{className:"px-4 py-2",children:"Address"})]})}),j.jsx("tbody",{children:e.map((i,a)=>j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onClick:()=>n(i.id),children:[j.jsx("td",{children:j.jsx("input",{id:"default-radio-1",type:"radio",value:"",onChange:()=>{},checked:i.active,name:"default-radio",className:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600 mr-2 ml-2"})}),j.jsx("td",{className:"px-4 py-2",children:i.name}),j.jsx("td",{className:"px-4 py-2",children:i.version}),j.jsx("td",{className:"px-4 py-2",children:i.chain}),j.jsx("td",{className:"px-4 py-2",children:i.block}),j.jsx("td",{className:"px-4 py-2",children:i.address})]},a))})]});return j.jsx(j.Fragment,{children:o()})},L3="curl http://localhost:6060/debug/cmdline",N3="sessions",Ss="nodes",$3="versions",D3="flags",F3="cmdline",pR="logs",ja=`https://localhost:8080/${N3}`,W3=e=>{{const t=`${ja}/${e}`,r=ws(t,"GET");return fetch(r).then(n=>n.json())}},B3=(e,t)=>{{const r=`${ja}/${e}/${Ss}/${t}/${$3}`,n=ws(r,"GET");return fetch(n).then(o=>o.json())}},U3=(e,t)=>{{const r=`${ja}/${e}/${Ss}/${t}/${D3}`,n=ws(r,"GET");return fetch(n).then(o=>o.json())}},H3=(e,t)=>{{const r=`${ja}/${e}/${Ss}/${t}/${F3}`,n=ws(r,"GET");return fetch(n).then(o=>o.json())}},q3=(e,t)=>{{const r=`${ja}/${e}/${Ss}/${t}/${pR}`,n=ws(r,"GET");return fetch(n).then(o=>o.json())}};function ws(e,t,r){return new Request(e,{method:t,body:r})}const G3=e=>({id:e.id,name:e.name,protocols:V3(e.protocols),enodes:X3(e.enodes)}),V3=e=>({eth:K3(e.eth)}),K3=e=>({network:e.network,difficulty:e.difficulty,genesis:e.genesis,config:Y3(e.config)}),Y3=e=>({ChainName:e.ChainName,chainId:e.chainId,consensus:e.consensus,homesteadBlock:e.homesteadBlock,eip150Block:e.eip150Block,eip155Block:e.eip155Block,byzantiumBlock:e.byzantiumBlock,constantinopleBlock:e.constantinopleBlock,petersburgBlock:e.petersburgBlock,istanbulBlock:e.istanbulBlock,berlinBlock:e.berlinBlock,londonBlock:e.londonBlock,terminalTotalDifficulty:e.terminalTotalDifficulty,terminalTotalDifficultyPassed:e.terminalTotalDifficultyPassed,shanghaiTime:e.shanghaiTime,clique:Q3(e.clique)}),Q3=e=>({period:e.period,epoch:e.epoch}),X3=e=>{let t=[];return e.forEach(r=>{t.push({enode:r.enode,enr:r.enr,ports:r.ports,listener_addr:r.listener_addr})}),t},J3=["boolean","string","number"],Z3=e=>{let t=[];for(let r in e)t.push(e4(r,e[r]));return t},e4=(e,t)=>({flag:e,default:t.default,usage:t.usage,value:t4(t.value)}),t4=e=>{let t=typeof e;return J3.includes(t)?e:"123"},r4=e=>({nodeVersion:e.nodeVersion,supportVersion:e.supportVersion,codeVersion:e.codeVersion,gitCommit:e.gitCommit}),n4=(e,t)=>{W3(e).then(r=>{r.nodes.forEach(n=>{t(_3(G3(n)))})})},o4=(e,t,r)=>{B3(e,t).then(n=>{let o=r4(n);r(w3({nodeId:t,version:o}))})},i4=(e,t,r)=>{U3(e,t).then(n=>{let o=Z3(n);r(b3({nodeId:t,flags:o}))})},a4=(e,t,r)=>{H3(e,t).then(n=>{r(x3({nodeId:t,args:n}))})},l4=(e,t,r)=>{q3(e,t).then(n=>{n.forEach(o=>{if(o.name.endsWith(".log")){const i=`${ja}/${e}/${Ss}/${t}/${pR}/${o.name}`;r(C3({nodeId:t,logFileUrl:i,logSize:o.size}))}})})},s4=({flag:e})=>j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onMouseOver:t=>{const r=t.target,n=e.usage;n&&r.setAttribute("title",n)},children:[j.jsx("td",{className:"px-4 py-2",children:e.flag}),j.jsx("td",{className:"px-4 py-2",children:String(e.value)}),j.jsx("td",{className:"px-4 py-2",children:String(e.default)})]},e.flag),u4=({flags:e})=>{const[t,r]=re.useState([]);N.useEffect(()=>{r(n(e))},[e]);const n=o=>o===void 0?[]:o.filter(i=>i.value!==void 0&&i.value!==""&&i.value!==null);return j.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:[j.jsx("thead",{children:j.jsxs("tr",{className:"border-b",children:[j.jsx("th",{className:"px-4 py-2",children:"Flag"}),j.jsx("th",{className:"px-4 py-2",children:"Value"}),j.jsx("th",{className:"px-4 py-2",children:"Default"})]})}),j.jsx("tbody",{children:t.map(o=>j.jsx(s4,{flag:o}))})]})};var mR={exports:{}},hh={exports:{}},OS;function c4(){return OS||(OS=1,function(e,t){(function(r,n){e.exports=n()})(Do,function(){var r=Array.prototype.slice;function n(l,d){d&&(l.prototype=Object.create(d.prototype)),l.prototype.constructor=l}function o(l){return u(l)?l:te(l)}n(i,o);function i(l){return c(l)?l:ne(l)}n(a,o);function a(l){return f(l)?l:K(l)}n(s,o);function s(l){return u(l)&&!h(l)?l:X(l)}function u(l){return!!(l&&l[S])}function c(l){return!!(l&&l[_])}function f(l){return!!(l&&l[y])}function h(l){return c(l)||f(l)}function p(l){return!!(l&&l[C])}o.isIterable=u,o.isKeyed=c,o.isIndexed=f,o.isAssociative=h,o.isOrdered=p,o.Keyed=i,o.Indexed=a,o.Set=s;var S="@@__IMMUTABLE_ITERABLE__@@",_="@@__IMMUTABLE_KEYED__@@",y="@@__IMMUTABLE_INDEXED__@@",C="@@__IMMUTABLE_ORDERED__@@",v="delete",g=5,w=1<>>0;if(""+m!==d||m===4294967295)return NaN;d=m}return d<0?F(l)+d:d}function G(){return!0}function ue(l,d,m){return(l===0||m!==void 0&&l<=-m)&&(d===void 0||m!==void 0&&d>=m)}function se(l,d){return Z(l,d,0)}function ge(l,d){return Z(l,d,d)}function Z(l,d,m){return l===void 0?m:l<0?Math.max(0,d+l):d===void 0?l:Math.min(d,l)}var ie=0,fe=1,Se=2,Ee=typeof Symbol=="function"&&Symbol.iterator,xt="@@iterator",tt=Ee||xt;function ye(l){this.next=l}ye.prototype.toString=function(){return"[Iterator]"},ye.KEYS=ie,ye.VALUES=fe,ye.ENTRIES=Se,ye.prototype.inspect=ye.prototype.toSource=function(){return this.toString()},ye.prototype[tt]=function(){return this};function H(l,d,m,x){var R=l===0?d:l===1?m:[d,m];return x?x.value=R:x={value:R,done:!1},x}function V(){return{value:void 0,done:!0}}function U(l){return!!de(l)}function J(l){return l&&typeof l.next=="function"}function B(l){var d=de(l);return d&&d.call(l)}function de(l){var d=l&&(Ee&&l[Ee]||l[xt]);if(typeof d=="function")return d}function oe(l){return l&&typeof l.length=="number"}n(te,o);function te(l){return l==null?Ue():u(l)?l.toSeq():Er(l)}te.of=function(){return te(arguments)},te.prototype.toSeq=function(){return this},te.prototype.toString=function(){return this.__toString("Seq {","}")},te.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},te.prototype.__iterate=function(l,d){return ui(this,l,d,!0)},te.prototype.__iterator=function(l,d){return Os(this,l,d,!0)},n(ne,te);function ne(l){return l==null?Ue().toKeyedSeq():u(l)?c(l)?l.toSeq():l.fromEntrySeq():sr(l)}ne.prototype.toKeyedSeq=function(){return this},n(K,te);function K(l){return l==null?Ue():u(l)?c(l)?l.entrySeq():l.toIndexedSeq():Tr(l)}K.of=function(){return K(arguments)},K.prototype.toIndexedSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq [","]")},K.prototype.__iterate=function(l,d){return ui(this,l,d,!1)},K.prototype.__iterator=function(l,d){return Os(this,l,d,!1)},n(X,te);function X(l){return(l==null?Ue():u(l)?c(l)?l.entrySeq():l:Tr(l)).toSetSeq()}X.of=function(){return X(arguments)},X.prototype.toSetSeq=function(){return this},te.isSeq=Te,te.Keyed=ne,te.Set=X,te.Indexed=K;var ae="@@__IMMUTABLE_SEQ__@@";te.prototype[ae]=!0,n(pe,K);function pe(l){this._array=l,this.size=l.length}pe.prototype.get=function(l,d){return this.has(l)?this._array[q(this,l)]:d},pe.prototype.__iterate=function(l,d){for(var m=this._array,x=m.length-1,R=0;R<=x;R++)if(l(m[d?x-R:R],R,this)===!1)return R+1;return R},pe.prototype.__iterator=function(l,d){var m=this._array,x=m.length-1,R=0;return new ye(function(){return R>x?V():H(l,R,m[d?x-R++:R++])})},n(me,ne);function me(l){var d=Object.keys(l);this._object=l,this._keys=d,this.size=d.length}me.prototype.get=function(l,d){return d!==void 0&&!this.has(l)?d:this._object[l]},me.prototype.has=function(l){return this._object.hasOwnProperty(l)},me.prototype.__iterate=function(l,d){for(var m=this._object,x=this._keys,R=x.length-1,z=0;z<=R;z++){var A=x[d?R-z:z];if(l(m[A],A,this)===!1)return z+1}return z},me.prototype.__iterator=function(l,d){var m=this._object,x=this._keys,R=x.length-1,z=0;return new ye(function(){var A=x[d?R-z:z];return z++>R?V():H(l,A,m[A])})},me.prototype[C]=!0,n(ve,K);function ve(l){this._iterable=l,this.size=l.length||l.size}ve.prototype.__iterateUncached=function(l,d){if(d)return this.cacheResult().__iterate(l,d);var m=this._iterable,x=B(m),R=0;if(J(x))for(var z;!(z=x.next()).done&&l(z.value,R++,this)!==!1;);return R},ve.prototype.__iteratorUncached=function(l,d){if(d)return this.cacheResult().__iterator(l,d);var m=this._iterable,x=B(m);if(!J(x))return new ye(V);var R=0;return new ye(function(){var z=x.next();return z.done?z:H(l,R++,z.value)})},n(we,K);function we(l){this._iterator=l,this._iteratorCache=[]}we.prototype.__iterateUncached=function(l,d){if(d)return this.cacheResult().__iterate(l,d);for(var m=this._iterator,x=this._iteratorCache,R=0;R=x.length){var z=m.next();if(z.done)return z;x[R]=z.value}return H(l,R,x[R++])})};function Te(l){return!!(l&&l[ae])}var Me;function Ue(){return Me||(Me=new pe([]))}function sr(l){var d=Array.isArray(l)?new pe(l).fromEntrySeq():J(l)?new we(l).fromEntrySeq():U(l)?new ve(l).fromEntrySeq():typeof l=="object"?new me(l):void 0;if(!d)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+l);return d}function Tr(l){var d=Jt(l);if(!d)throw new TypeError("Expected Array or iterable object of values: "+l);return d}function Er(l){var d=Jt(l)||typeof l=="object"&&new me(l);if(!d)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+l);return d}function Jt(l){return oe(l)?new pe(l):J(l)?new we(l):U(l)?new ve(l):void 0}function ui(l,d,m,x){var R=l._cache;if(R){for(var z=R.length-1,A=0;A<=z;A++){var L=R[m?z-A:A];if(d(L[1],x?L[0]:A,l)===!1)return A+1}return A}return l.__iterateUncached(d,m)}function Os(l,d,m,x){var R=l._cache;if(R){var z=R.length-1,A=0;return new ye(function(){var L=R[m?z-A:A];return A++>z?V():H(d,x?L[0]:A-1,L[1])})}return l.__iteratorUncached(d,m)}function Na(l,d){return d?ci(d,l,"",{"":l}):Xf(l)}function ci(l,d,m,x){return Array.isArray(d)?l.call(x,m,K(d).map(function(R,z){return ci(l,R,z,d)})):Kg(d)?l.call(x,m,ne(d).map(function(R,z){return ci(l,R,z,d)})):d}function Xf(l){return Array.isArray(l)?K(l).map(Xf).toList():Kg(l)?ne(l).map(Xf).toMap():l}function Kg(l){return l&&(l.constructor===Object||l.constructor===void 0)}function ct(l,d){if(l===d||l!==l&&d!==d)return!0;if(!l||!d)return!1;if(typeof l.valueOf=="function"&&typeof d.valueOf=="function"){if(l=l.valueOf(),d=d.valueOf(),l===d||l!==l&&d!==d)return!0;if(!l||!d)return!1}return!!(typeof l.equals=="function"&&typeof d.equals=="function"&&l.equals(d))}function Jf(l,d){if(l===d)return!0;if(!u(d)||l.size!==void 0&&d.size!==void 0&&l.size!==d.size||l.__hash!==void 0&&d.__hash!==void 0&&l.__hash!==d.__hash||c(l)!==c(d)||f(l)!==f(d)||p(l)!==p(d))return!1;if(l.size===0&&d.size===0)return!0;var m=!h(l);if(p(l)){var x=l.entries();return d.every(function(D,W){var Q=x.next().value;return Q&&ct(Q[1],D)&&(m||ct(Q[0],W))})&&x.next().done}var R=!1;if(l.size===void 0)if(d.size===void 0)typeof l.cacheResult=="function"&&l.cacheResult();else{R=!0;var z=l;l=d,d=z}var A=!0,L=d.__iterate(function(D,W){if(m?!l.has(D):R?!ct(D,l.get(W,O)):!ct(l.get(W,O),D))return A=!1,!1});return A&&l.size===L}n(jt,K);function jt(l,d){if(!(this instanceof jt))return new jt(l,d);if(this._value=l,this.size=d===void 0?1/0:Math.max(0,d),this.size===0){if(Zf)return Zf;Zf=this}}jt.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},jt.prototype.get=function(l,d){return this.has(l)?this._value:d},jt.prototype.includes=function(l){return ct(this._value,l)},jt.prototype.slice=function(l,d){var m=this.size;return ue(l,d,m)?this:new jt(this._value,ge(d,m)-se(l,m))},jt.prototype.reverse=function(){return this},jt.prototype.indexOf=function(l){return ct(this._value,l)?0:-1},jt.prototype.lastIndexOf=function(l){return ct(this._value,l)?this.size:-1},jt.prototype.__iterate=function(l,d){for(var m=0;m=0&&d=0&&mm?V():H(l,z++,A)})},Ct.prototype.equals=function(l){return l instanceof Ct?this._start===l._start&&this._end===l._end&&this._step===l._step:Jf(this,l)};var ed;n(Gn,o);function Gn(){throw TypeError("Abstract")}n($a,Gn);function $a(){}n(fi,Gn);function fi(){}n(Ps,Gn);function Ps(){}Gn.Keyed=$a,Gn.Indexed=fi,Gn.Set=Ps;var Da=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(d,m){d=d|0,m=m|0;var x=d&65535,R=m&65535;return x*R+((d>>>16)*R+x*(m>>>16)<<16>>>0)|0};function td(l){return l>>>1&1073741824|l&3221225471}function ur(l){if(l===!1||l===null||l===void 0||typeof l.valueOf=="function"&&(l=l.valueOf(),l===!1||l===null||l===void 0))return 0;if(l===!0)return 1;var d=typeof l;if(d==="number"){if(l!==l||l===1/0)return 0;var m=l|0;for(m!==l&&(m^=l*4294967295);l>4294967295;)l/=4294967295,m^=l;return td(m)}if(d==="string")return l.length>WT?$T(l):rd(l);if(typeof l.hashCode=="function")return l.hashCode();if(d==="object")return DT(l);if(typeof l.toString=="function")return rd(l.toString());throw new Error("Value type "+d+" cannot be hashed.")}function $T(l){var d=ld[l];return d===void 0&&(d=rd(l),ad===BT&&(ad=0,ld={}),ad++,ld[l]=d),d}function rd(l){for(var d=0,m=0;m0)switch(l.nodeType){case 1:return l.uniqueID;case 9:return l.documentElement&&l.documentElement.uniqueID}}var nd=typeof WeakMap=="function",od;nd&&(od=new WeakMap);var id=0,Po="__immutablehash__";typeof Symbol=="function"&&(Po=Symbol(Po));var WT=16,BT=255,ad=0,ld={};function cr(l){ks(l!==1/0,"Cannot perform this action with an infinite size.")}n(Oe,$a);function Oe(l){return l==null?Fr():sd(l)&&!p(l)?l:Fr().withMutations(function(d){var m=i(l);cr(m.size),m.forEach(function(x,R){return d.set(R,x)})})}Oe.of=function(){var l=r.call(arguments,0);return Fr().withMutations(function(d){for(var m=0;m=l.length)throw new Error("Missing value for key: "+l[m]);d.set(l[m],l[m+1])}})},Oe.prototype.toString=function(){return this.__toString("Map {","}")},Oe.prototype.get=function(l,d){return this._root?this._root.get(0,void 0,l,d):d},Oe.prototype.set=function(l,d){return ey(this,l,d)},Oe.prototype.setIn=function(l,d){return this.updateIn(l,O,function(){return d})},Oe.prototype.remove=function(l){return ey(this,l,O)},Oe.prototype.deleteIn=function(l){return this.updateIn(l,function(){return O})},Oe.prototype.update=function(l,d,m){return arguments.length===1?l(this):this.updateIn([l],d,m)},Oe.prototype.updateIn=function(l,d,m){m||(m=d,d=void 0);var x=iy(this,Ty(l),d,m);return x===O?void 0:x},Oe.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Fr()},Oe.prototype.merge=function(){return Is(this,void 0,arguments)},Oe.prototype.mergeWith=function(l){var d=r.call(arguments,1);return Is(this,l,d)},Oe.prototype.mergeIn=function(l){var d=r.call(arguments,1);return this.updateIn(l,Fr(),function(m){return typeof m.merge=="function"?m.merge.apply(m,d):d[d.length-1]})},Oe.prototype.mergeDeep=function(){return Is(this,ry,arguments)},Oe.prototype.mergeDeepWith=function(l){var d=r.call(arguments,1);return Is(this,ny(l),d)},Oe.prototype.mergeDeepIn=function(l){var d=r.call(arguments,1);return this.updateIn(l,Fr(),function(m){return typeof m.mergeDeep=="function"?m.mergeDeep.apply(m,d):d[d.length-1]})},Oe.prototype.sort=function(l){return at(yi(this,l))},Oe.prototype.sortBy=function(l,d){return at(yi(this,d,l))},Oe.prototype.withMutations=function(l){var d=this.asMutable();return l(d),d.wasAltered()?d.__ensureOwner(this.__ownerID):this},Oe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new I)},Oe.prototype.asImmutable=function(){return this.__ensureOwner()},Oe.prototype.wasAltered=function(){return this.__altered},Oe.prototype.__iterator=function(l,d){return new ud(this,l,d)},Oe.prototype.__iterate=function(l,d){var m=this,x=0;return this._root&&this._root.iterate(function(R){return x++,l(R[1],R[0],m)},d),x},Oe.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?fd(this.size,this._root,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)};function sd(l){return!!(l&&l[Xg])}Oe.isMap=sd;var Xg="@@__IMMUTABLE_MAP__@@",Ce=Oe.prototype;Ce[Xg]=!0,Ce[v]=Ce.remove,Ce.removeIn=Ce.deleteIn;function Fa(l,d){this.ownerID=l,this.entries=d}Fa.prototype.get=function(l,d,m,x){for(var R=this.entries,z=0,A=R.length;z=KT)return UT(l,D,x,R);var he=l&&l===this.ownerID,be=he?D:M(D);return le?L?W===Q-1?be.pop():be[W]=be.pop():be[W]=[x,R]:be.push([x,R]),he?(this.entries=be,this):new Fa(l,be)}};function di(l,d,m){this.ownerID=l,this.bitmap=d,this.nodes=m}di.prototype.get=function(l,d,m,x){d===void 0&&(d=ur(m));var R=1<<((l===0?d:d>>>l)&T),z=this.bitmap;return z&R?this.nodes[ay(z&R-1)].get(l+g,d,m,x):x},di.prototype.update=function(l,d,m,x,R,z,A){m===void 0&&(m=ur(x));var L=(d===0?m:m>>>d)&T,D=1<=YT)return qT(l,he,W,L,xe);if(Q&&!xe&&he.length===2&&ty(he[le^1]))return he[le^1];if(Q&&xe&&he.length===1&&ty(xe))return xe;var Ke=l&&l===this.ownerID,Wr=Q?xe?W:W^D:W|D,an=Q?xe?ly(he,le,xe,Ke):VT(he,le,Ke):GT(he,le,xe,Ke);return Ke?(this.bitmap=Wr,this.nodes=an,this):new di(l,Wr,an)};function Wa(l,d,m){this.ownerID=l,this.count=d,this.nodes=m}Wa.prototype.get=function(l,d,m,x){d===void 0&&(d=ur(m));var R=(l===0?d:d>>>l)&T,z=this.nodes[R];return z?z.get(l+g,d,m,x):x},Wa.prototype.update=function(l,d,m,x,R,z,A){m===void 0&&(m=ur(x));var L=(d===0?m:m>>>d)&T,D=R===O,W=this.nodes,Q=W[L];if(D&&!Q)return this;var le=dd(Q,l,d+g,m,x,R,z,A);if(le===Q)return this;var he=this.count;if(!Q)he++;else if(!le&&(he--,he>>m)&T,A=(m===0?x:x>>>m)&T,L,D=z===A?[hd(l,d,m+g,x,R)]:(L=new Rn(d,x,R),z>>=1)A[L]=m&1?d[z++]:void 0;return A[x]=R,new Wa(l,z+1,A)}function Is(l,d,m){for(var x=[],R=0;R>1&1431655765),l=(l&858993459)+(l>>2&858993459),l=l+(l>>4)&252645135,l=l+(l>>8),l=l+(l>>16),l&127}function ly(l,d,m,x){var R=x?l:M(l);return R[d]=m,R}function GT(l,d,m,x){var R=l.length+1;if(x&&d+1===R)return l[d]=m,l;for(var z=new Array(R),A=0,L=0;L0&&x=0&&l>>d&T;if(x>=this.array.length)return new Vn([],l);var R=x===0,z;if(d>0){var A=this.array[x];if(z=A&&A.removeBefore(l,d-g,m),z===A&&R)return this}if(R&&!z)return this;var L=pi(this,l);if(!R)for(var D=0;D>>d&T;if(x>=this.array.length)return this;var R;if(d>0){var z=this.array[x];if(R=z&&z.removeAfter(l,d-g,m),R===z&&x===this.array.length-1)return this}var A=pi(this,l);return A.array.splice(x+1),R&&(A.array[x]=R),A};var Ba={};function cy(l,d){var m=l._origin,x=l._capacity,R=Ha(x),z=l._tail;return A(l._root,l._level,0);function A(W,Q,le){return Q===0?L(W,le):D(W,Q,le)}function L(W,Q){var le=Q===R?z&&z.array:W&&W.array,he=Q>m?0:m-Q,be=x-Q;return be>w&&(be=w),function(){if(he===be)return Ba;var xe=d?--be:he++;return le&&le[xe]}}function D(W,Q,le){var he,be=W&&W.array,xe=le>m?0:m-le>>Q,Ke=(x-le>>Q)+1;return Ke>w&&(Ke=w),function(){do{if(he){var Wr=he();if(Wr!==Ba)return Wr;he=null}if(xe===Ke)return Ba;var an=d?--Ke:xe++;he=A(be&&be[an],Q-g,le+(an<=l.size||d<0)return l.withMutations(function(A){d<0?Kn(A,d).set(0,m):Kn(A,0,d+1).set(d,m)});d+=l._origin;var x=l._tail,R=l._root,z=E(b);return d>=Ha(l._capacity)?x=md(x,l.__ownerID,0,d,m,z):R=md(R,l.__ownerID,l._level,d,m,z),z.value?l.__ownerID?(l._root=R,l._tail=x,l.__hash=void 0,l.__altered=!0,l):Ua(l._origin,l._capacity,l._level,R,x):l}function md(l,d,m,x,R,z){var A=x>>>m&T,L=l&&A0){var W=l&&l.array[A],Q=md(W,d,m-g,x,R,z);return Q===W?l:(D=pi(l,d),D.array[A]=Q,D)}return L&&l.array[A]===R?l:(P(z),D=pi(l,d),R===void 0&&A===D.array.length-1?D.array.pop():D.array[A]=R,D)}function pi(l,d){return d&&l&&d===l.ownerID?l:new Vn(l?l.array.slice():[],d)}function dy(l,d){if(d>=Ha(l._capacity))return l._tail;if(d<1<0;)m=m.array[d>>>x&T],x-=g;return m}}function Kn(l,d,m){d!==void 0&&(d=d|0),m!==void 0&&(m=m|0);var x=l.__ownerID||new I,R=l._origin,z=l._capacity,A=R+d,L=m===void 0?z:m<0?z+m:R+m;if(A===R&&L===z)return l;if(A>=L)return l.clear();for(var D=l._level,W=l._root,Q=0;A+Q<0;)W=new Vn(W&&W.array.length?[void 0,W]:[],x),D+=g,Q+=1<=1<le?new Vn([],x):be;if(be&&he>le&&Ag;Wr-=g){var an=le>>>Wr&T;Ke=Ke.array[an]=pi(Ke.array[an],x)}Ke.array[le>>>g&T]=be}if(L=he)A-=he,L-=he,D=g,W=null,xe=xe&&xe.removeBefore(x,0,A);else if(A>R||he>>D&T;if(Ds!==he>>>D&T)break;Ds&&(Q+=(1<R&&(W=W.removeBefore(x,D,A-Q)),W&&heR&&(R=L.size),u(A)||(L=L.map(function(D){return Na(D)})),x.push(L)}return R>l.size&&(l=l.setSize(R)),oy(l,d,x)}function Ha(l){return l>>g<=w&&R.size>=x.size*2?(D=R.filter(function(W,Q){return W!==void 0&&z!==Q}),L=D.toKeyedSeq().map(function(W){return W[0]}).flip().toMap(),l.__ownerID&&(L.__ownerID=D.__ownerID=l.__ownerID)):(L=x.remove(d),D=z===R.size-1?R.pop():R.set(z,void 0))}else if(A){if(m===R.get(z)[1])return l;L=x,D=R.set(z,[d,m])}else L=x.set(d,R.size),D=R.set(R.size,[d,m]);return l.__ownerID?(l.size=L.size,l._map=L,l._list=D,l.__hash=void 0,l):vd(L,D)}n(Or,ne);function Or(l,d){this._iter=l,this._useKeys=d,this.size=l.size}Or.prototype.get=function(l,d){return this._iter.get(l,d)},Or.prototype.has=function(l){return this._iter.has(l)},Or.prototype.valueSeq=function(){return this._iter.valueSeq()},Or.prototype.reverse=function(){var l=this,d=gd(this,!0);return this._useKeys||(d.valueSeq=function(){return l._iter.toSeq().reverse()}),d},Or.prototype.map=function(l,d){var m=this,x=gy(this,l,d);return this._useKeys||(x.valueSeq=function(){return m._iter.toSeq().map(l,d)}),x},Or.prototype.__iterate=function(l,d){var m=this,x;return this._iter.__iterate(this._useKeys?function(R,z){return l(R,z,m)}:(x=d?xy(this):0,function(R){return l(R,d?--x:x++,m)}),d)},Or.prototype.__iterator=function(l,d){if(this._useKeys)return this._iter.__iterator(l,d);var m=this._iter.__iterator(fe,d),x=d?xy(this):0;return new ye(function(){var R=m.next();return R.done?R:H(l,d?--x:x++,R.value,R)})},Or.prototype[C]=!0,n(mi,K);function mi(l){this._iter=l,this.size=l.size}mi.prototype.includes=function(l){return this._iter.includes(l)},mi.prototype.__iterate=function(l,d){var m=this,x=0;return this._iter.__iterate(function(R){return l(R,x++,m)},d)},mi.prototype.__iterator=function(l,d){var m=this._iter.__iterator(fe,d),x=0;return new ye(function(){var R=m.next();return R.done?R:H(l,x++,R.value,R)})},n(vi,X);function vi(l){this._iter=l,this.size=l.size}vi.prototype.has=function(l){return this._iter.includes(l)},vi.prototype.__iterate=function(l,d){var m=this;return this._iter.__iterate(function(x){return l(x,x,m)},d)},vi.prototype.__iterator=function(l,d){var m=this._iter.__iterator(fe,d);return new ye(function(){var x=m.next();return x.done?x:H(l,x.value,x.value,x)})},n(gi,ne);function gi(l){this._iter=l,this.size=l.size}gi.prototype.entrySeq=function(){return this._iter.toSeq()},gi.prototype.__iterate=function(l,d){var m=this;return this._iter.__iterate(function(x){if(x){by(x);var R=u(x);return l(R?x.get(1):x[1],R?x.get(0):x[0],m)}},d)},gi.prototype.__iterator=function(l,d){var m=this._iter.__iterator(fe,d);return new ye(function(){for(;;){var x=m.next();if(x.done)return x;var R=x.value;if(R){by(R);var z=u(R);return H(l,z?R.get(0):R[0],z?R.get(1):R[1],x)}}})},mi.prototype.cacheResult=Or.prototype.cacheResult=vi.prototype.cacheResult=gi.prototype.cacheResult=Sd;function vy(l){var d=rn(l);return d._iter=l,d.size=l.size,d.flip=function(){return l},d.reverse=function(){var m=l.reverse.apply(this);return m.flip=function(){return l.reverse()},m},d.has=function(m){return l.includes(m)},d.includes=function(m){return l.has(m)},d.cacheResult=Sd,d.__iterateUncached=function(m,x){var R=this;return l.__iterate(function(z,A){return m(A,z,R)!==!1},x)},d.__iteratorUncached=function(m,x){if(m===Se){var R=l.__iterator(m,x);return new ye(function(){var z=R.next();if(!z.done){var A=z.value[0];z.value[0]=z.value[1],z.value[1]=A}return z})}return l.__iterator(m===fe?ie:fe,x)},d}function gy(l,d,m){var x=rn(l);return x.size=l.size,x.has=function(R){return l.has(R)},x.get=function(R,z){var A=l.get(R,O);return A===O?z:d.call(m,A,R,l)},x.__iterateUncached=function(R,z){var A=this;return l.__iterate(function(L,D,W){return R(d.call(m,L,D,W),D,A)!==!1},z)},x.__iteratorUncached=function(R,z){var A=l.__iterator(Se,z);return new ye(function(){var L=A.next();if(L.done)return L;var D=L.value,W=D[0];return H(R,W,d.call(m,D[1],W,l),L)})},x}function gd(l,d){var m=rn(l);return m._iter=l,m.size=l.size,m.reverse=function(){return l},l.flip&&(m.flip=function(){var x=vy(l);return x.reverse=function(){return l.flip()},x}),m.get=function(x,R){return l.get(d?x:-1-x,R)},m.has=function(x){return l.has(d?x:-1-x)},m.includes=function(x){return l.includes(x)},m.cacheResult=Sd,m.__iterate=function(x,R){var z=this;return l.__iterate(function(A,L){return x(A,L,z)},!R)},m.__iterator=function(x,R){return l.__iterator(x,!R)},m}function yy(l,d,m,x){var R=rn(l);return x&&(R.has=function(z){var A=l.get(z,O);return A!==O&&!!d.call(m,A,z,l)},R.get=function(z,A){var L=l.get(z,O);return L!==O&&d.call(m,L,z,l)?L:A}),R.__iterateUncached=function(z,A){var L=this,D=0;return l.__iterate(function(W,Q,le){if(d.call(m,W,Q,le))return D++,z(W,x?Q:D-1,L)},A),D},R.__iteratorUncached=function(z,A){var L=l.__iterator(Se,A),D=0;return new ye(function(){for(;;){var W=L.next();if(W.done)return W;var Q=W.value,le=Q[0],he=Q[1];if(d.call(m,he,le,l))return H(z,x?le:D++,he,W)}})},R}function JT(l,d,m){var x=Oe().asMutable();return l.__iterate(function(R,z){x.update(d.call(m,R,z,l),0,function(A){return A+1})}),x.asImmutable()}function ZT(l,d,m){var x=c(l),R=(p(l)?at():Oe()).asMutable();l.__iterate(function(A,L){R.update(d.call(m,A,L,l),function(D){return D=D||[],D.push(x?[L,A]:A),D})});var z=Cy(l);return R.map(function(A){return We(l,z(A))})}function yd(l,d,m,x){var R=l.size;if(d!==void 0&&(d=d|0),m!==void 0&&(m===1/0?m=R:m=m|0),ue(d,m,R))return l;var z=se(d,R),A=ge(m,R);if(z!==z||A!==A)return yd(l.toSeq().cacheResult(),d,m,x);var L=A-z,D;L===L&&(D=L<0?0:L);var W=rn(l);return W.size=D===0?D:l.size&&D||void 0,!x&&Te(l)&&D>=0&&(W.get=function(Q,le){return Q=q(this,Q),Q>=0&&QD)return V();var Ke=he.next();return x||Q===fe?Ke:Q===ie?H(Q,xe-1,void 0,Ke):H(Q,xe-1,Ke.value[1],Ke)})},W}function eE(l,d,m){var x=rn(l);return x.__iterateUncached=function(R,z){var A=this;if(z)return this.cacheResult().__iterate(R,z);var L=0;return l.__iterate(function(D,W,Q){return d.call(m,D,W,Q)&&++L&&R(D,W,A)}),L},x.__iteratorUncached=function(R,z){var A=this;if(z)return this.cacheResult().__iterator(R,z);var L=l.__iterator(Se,z),D=!0;return new ye(function(){if(!D)return V();var W=L.next();if(W.done)return W;var Q=W.value,le=Q[0],he=Q[1];return d.call(m,he,le,A)?R===Se?W:H(R,le,he,W):(D=!1,V())})},x}function _y(l,d,m,x){var R=rn(l);return R.__iterateUncached=function(z,A){var L=this;if(A)return this.cacheResult().__iterate(z,A);var D=!0,W=0;return l.__iterate(function(Q,le,he){if(!(D&&(D=d.call(m,Q,le,he))))return W++,z(Q,x?le:W-1,L)}),W},R.__iteratorUncached=function(z,A){var L=this;if(A)return this.cacheResult().__iterator(z,A);var D=l.__iterator(Se,A),W=!0,Q=0;return new ye(function(){var le,he,be;do{if(le=D.next(),le.done)return x||z===fe?le:z===ie?H(z,Q++,void 0,le):H(z,Q++,le.value[1],le);var xe=le.value;he=xe[0],be=xe[1],W&&(W=d.call(m,be,he,L))}while(W);return z===Se?le:H(z,he,be,le)})},R}function tE(l,d){var m=c(l),x=[l].concat(d).map(function(A){return u(A)?m&&(A=i(A)):A=m?sr(A):Tr(Array.isArray(A)?A:[A]),A}).filter(function(A){return A.size!==0});if(x.length===0)return l;if(x.length===1){var R=x[0];if(R===l||m&&c(R)||f(l)&&f(R))return R}var z=new pe(x);return m?z=z.toKeyedSeq():f(l)||(z=z.toSetSeq()),z=z.flatten(!0),z.size=x.reduce(function(A,L){if(A!==void 0){var D=L.size;if(D!==void 0)return A+D}},0),z}function Sy(l,d,m){var x=rn(l);return x.__iterateUncached=function(R,z){var A=0,L=!1;function D(W,Q){var le=this;W.__iterate(function(he,be){return(!d||Q0}function _d(l,d,m){var x=rn(l);return x.size=new pe(m).map(function(R){return R.size}).min(),x.__iterate=function(R,z){for(var A=this.__iterator(fe,z),L,D=0;!(L=A.next()).done&&R(L.value,D++,this)!==!1;);return D},x.__iteratorUncached=function(R,z){var A=m.map(function(W){return W=o(W),B(z?W.reverse():W)}),L=0,D=!1;return new ye(function(){var W;return D||(W=A.map(function(Q){return Q.next()}),D=W.some(function(Q){return Q.done})),D?V():H(R,L++,d.apply(null,W.map(function(Q){return Q.value})))})},x}function We(l,d){return Te(l)?d:l.constructor(d)}function by(l){if(l!==Object(l))throw new TypeError("Expected [K, V] tuple: "+l)}function xy(l){return cr(l.size),F(l)}function Cy(l){return c(l)?i:f(l)?a:s}function rn(l){return Object.create((c(l)?ne:f(l)?K:X).prototype)}function Sd(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):te.prototype.cacheResult.call(this)}function Ry(l,d){return l>d?1:l=0;m--)d={value:arguments[m],next:d};return this.__ownerID?(this.size=l,this._head=d,this.__hash=void 0,this.__altered=!0,this):qa(l,d)},ft.prototype.pushAll=function(l){if(l=a(l),l.size===0)return this;cr(l.size);var d=this.size,m=this._head;return l.reverse().forEach(function(x){d++,m={value:x,next:m}}),this.__ownerID?(this.size=d,this._head=m,this.__hash=void 0,this.__altered=!0,this):qa(d,m)},ft.prototype.pop=function(){return this.slice(1)},ft.prototype.unshift=function(){return this.push.apply(this,arguments)},ft.prototype.unshiftAll=function(l){return this.pushAll(l)},ft.prototype.shift=function(){return this.pop.apply(this,arguments)},ft.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Rd()},ft.prototype.slice=function(l,d){if(ue(l,d,this.size))return this;var m=se(l,this.size),x=ge(d,this.size);if(x!==this.size)return fi.prototype.slice.call(this,l,d);for(var R=this.size-m,z=this._head;m--;)z=z.next;return this.__ownerID?(this.size=R,this._head=z,this.__hash=void 0,this.__altered=!0,this):qa(R,z)},ft.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?qa(this.size,this._head,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)},ft.prototype.__iterate=function(l,d){if(d)return this.reverse().__iterate(l);for(var m=0,x=this._head;x&&l(x.value,m++,this)!==!1;)x=x.next;return m},ft.prototype.__iterator=function(l,d){if(d)return this.reverse().__iterator(l);var m=0,x=this._head;return new ye(function(){if(x){var R=x.value;return x=x.next,H(l,m++,R)}return V()})};function Ay(l){return!!(l&&l[My])}ft.isStack=Ay;var My="@@__IMMUTABLE_STACK__@@",_i=ft.prototype;_i[My]=!0,_i.withMutations=Ce.withMutations,_i.asMutable=Ce.asMutable,_i.asImmutable=Ce.asImmutable,_i.wasAltered=Ce.wasAltered;function qa(l,d,m,x){var R=Object.create(_i);return R.size=l,R._head=d,R.__ownerID=m,R.__hash=x,R.__altered=!1,R}var Ly;function Rd(){return Ly||(Ly=qa(0))}function on(l,d){var m=function(x){l.prototype[x]=d[x]};return Object.keys(d).forEach(m),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(d).forEach(m),l}o.Iterator=ye,on(o,{toArray:function(){cr(this.size);var l=new Array(this.size||0);return this.valueSeq().__iterate(function(d,m){l[m]=d}),l},toIndexedSeq:function(){return new mi(this)},toJS:function(){return this.toSeq().map(function(l){return l&&typeof l.toJS=="function"?l.toJS():l}).__toJS()},toJSON:function(){return this.toSeq().map(function(l){return l&&typeof l.toJSON=="function"?l.toJSON():l}).__toJS()},toKeyedSeq:function(){return new Or(this,!0)},toMap:function(){return Oe(this.toKeyedSeq())},toObject:function(){cr(this.size);var l={};return this.__iterate(function(d,m){l[m]=d}),l},toOrderedMap:function(){return at(this.toKeyedSeq())},toOrderedSet:function(){return nn(c(this)?this.valueSeq():this)},toSet:function(){return Ve(c(this)?this.valueSeq():this)},toSetSeq:function(){return new vi(this)},toSeq:function(){return f(this)?this.toIndexedSeq():c(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return ft(c(this)?this.valueSeq():this)},toList:function(){return He(c(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(l,d){return this.size===0?l+d:l+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+d},concat:function(){var l=r.call(arguments,0);return We(this,tE(this,l))},includes:function(l){return this.some(function(d){return ct(d,l)})},entries:function(){return this.__iterator(Se)},every:function(l,d){cr(this.size);var m=!0;return this.__iterate(function(x,R,z){if(!l.call(d,x,R,z))return m=!1,!1}),m},filter:function(l,d){return We(this,yy(this,l,d,!0))},find:function(l,d,m){var x=this.findEntry(l,d);return x?x[1]:m},forEach:function(l,d){return cr(this.size),this.__iterate(d?l.bind(d):l)},join:function(l){cr(this.size),l=l!==void 0?""+l:",";var d="",m=!0;return this.__iterate(function(x){m?m=!1:d+=l,d+=x!=null?x.toString():""}),d},keys:function(){return this.__iterator(ie)},map:function(l,d){return We(this,gy(this,l,d))},reduce:function(l,d,m){cr(this.size);var x,R;return arguments.length<2?R=!0:x=d,this.__iterate(function(z,A,L){R?(R=!1,x=z):x=l.call(m,x,z,A,L)}),x},reduceRight:function(l,d,m){var x=this.toKeyedSeq().reverse();return x.reduce.apply(x,arguments)},reverse:function(){return We(this,gd(this,!0))},slice:function(l,d){return We(this,yd(this,l,d,!0))},some:function(l,d){return!this.every($s(l),d)},sort:function(l){return We(this,yi(this,l))},values:function(){return this.__iterator(fe)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(l,d){return F(l?this.toSeq().filter(l,d):this)},countBy:function(l,d){return JT(this,l,d)},equals:function(l){return Jf(this,l)},entrySeq:function(){var l=this;if(l._cache)return new pe(l._cache);var d=l.toSeq().map(lE).toIndexedSeq();return d.fromEntrySeq=function(){return l.toSeq()},d},filterNot:function(l,d){return this.filter($s(l),d)},findEntry:function(l,d,m){var x=m;return this.__iterate(function(R,z,A){if(l.call(d,R,z,A))return x=[z,R],!1}),x},findKey:function(l,d){var m=this.findEntry(l,d);return m&&m[0]},findLast:function(l,d,m){return this.toKeyedSeq().reverse().find(l,d,m)},findLastEntry:function(l,d,m){return this.toKeyedSeq().reverse().findEntry(l,d,m)},findLastKey:function(l,d){return this.toKeyedSeq().reverse().findKey(l,d)},first:function(){return this.find(G)},flatMap:function(l,d){return We(this,rE(this,l,d))},flatten:function(l){return We(this,Sy(this,l,!0))},fromEntrySeq:function(){return new gi(this)},get:function(l,d){return this.find(function(m,x){return ct(x,l)},void 0,d)},getIn:function(l,d){for(var m=this,x=Ty(l),R;!(R=x.next()).done;){var z=R.value;if(m=m&&m.get?m.get(z,O):O,m===O)return d}return m},groupBy:function(l,d){return ZT(this,l,d)},has:function(l){return this.get(l,O)!==O},hasIn:function(l){return this.getIn(l,O)!==O},isSubset:function(l){return l=typeof l.includes=="function"?l:o(l),this.every(function(d){return l.includes(d)})},isSuperset:function(l){return l=typeof l.isSubset=="function"?l:o(l),l.isSubset(this)},keyOf:function(l){return this.findKey(function(d){return ct(d,l)})},keySeq:function(){return this.toSeq().map(aE).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(l){return this.toKeyedSeq().reverse().keyOf(l)},max:function(l){return As(this,l)},maxBy:function(l,d){return As(this,d,l)},min:function(l){return As(this,l?Ny(l):Dy)},minBy:function(l,d){return As(this,d?Ny(d):Dy,l)},rest:function(){return this.slice(1)},skip:function(l){return this.slice(Math.max(0,l))},skipLast:function(l){return We(this,this.toSeq().reverse().skip(l).reverse())},skipWhile:function(l,d){return We(this,_y(this,l,d,!0))},skipUntil:function(l,d){return this.skipWhile($s(l),d)},sortBy:function(l,d){return We(this,yi(this,d,l))},take:function(l){return this.slice(0,Math.max(0,l))},takeLast:function(l){return We(this,this.toSeq().reverse().take(l).reverse())},takeWhile:function(l,d){return We(this,eE(this,l,d))},takeUntil:function(l,d){return this.takeWhile($s(l),d)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=uE(this))}});var Ht=o.prototype;Ht[S]=!0,Ht[tt]=Ht.values,Ht.__toJS=Ht.toArray,Ht.__toStringMapper=$y,Ht.inspect=Ht.toSource=function(){return this.toString()},Ht.chain=Ht.flatMap,Ht.contains=Ht.includes,on(i,{flip:function(){return We(this,vy(this))},mapEntries:function(l,d){var m=this,x=0;return We(this,this.toSeq().map(function(R,z){return l.call(d,[z,R],x++,m)}).fromEntrySeq())},mapKeys:function(l,d){var m=this;return We(this,this.toSeq().flip().map(function(x,R){return l.call(d,x,R,m)}).flip())}});var Ns=i.prototype;Ns[_]=!0,Ns[tt]=Ht.entries,Ns.__toJS=Ht.toObject,Ns.__toStringMapper=function(l,d){return JSON.stringify(d)+": "+$y(l)},on(a,{toKeyedSeq:function(){return new Or(this,!1)},filter:function(l,d){return We(this,yy(this,l,d,!1))},findIndex:function(l,d){var m=this.findEntry(l,d);return m?m[0]:-1},indexOf:function(l){var d=this.keyOf(l);return d===void 0?-1:d},lastIndexOf:function(l){var d=this.lastKeyOf(l);return d===void 0?-1:d},reverse:function(){return We(this,gd(this,!1))},slice:function(l,d){return We(this,yd(this,l,d,!1))},splice:function(l,d){var m=arguments.length;if(d=Math.max(d|0,0),m===0||m===2&&!d)return this;l=se(l,l<0?this.count():this.size);var x=this.slice(0,l);return We(this,m===1?x:x.concat(M(arguments,2),this.slice(l+d)))},findLastIndex:function(l,d){var m=this.findLastEntry(l,d);return m?m[0]:-1},first:function(){return this.get(0)},flatten:function(l){return We(this,Sy(this,l,!1))},get:function(l,d){return l=q(this,l),l<0||this.size===1/0||this.size!==void 0&&l>this.size?d:this.find(function(m,x){return x===l},void 0,d)},has:function(l){return l=q(this,l),l>=0&&(this.size!==void 0?this.size===1/0||ld?-1:0}function uE(l){if(l.size===1/0)return 0;var d=p(l),m=c(l),x=d?1:0,R=l.__iterate(m?d?function(z,A){x=31*x+Fy(ur(z),ur(A))|0}:function(z,A){x=x+Fy(ur(z),ur(A))|0}:d?function(z){x=31*x+ur(z)|0}:function(z){x=x+ur(z)|0});return cE(R,x)}function cE(l,d){return d=Da(d,3432918353),d=Da(d<<15|d>>>-15,461845907),d=Da(d<<13|d>>>-13,5),d=(d+3864292196|0)^l,d=Da(d^d>>>16,2246822507),d=Da(d^d>>>13,3266489909),d=td(d^d>>>16),d}function Fy(l,d){return l^d+2654435769+(l<<6)+(l>>2)|0}var fE={Iterable:o,Seq:te,Collection:Gn,Map:Oe,OrderedMap:at,List:He,Stack:ft,Set:Ve,OrderedSet:nn,Record:fr,Range:Ct,Repeat:jt,is:ct,fromJS:Na};return fE})}(hh)),hh.exports}function f4(e){return e=e||Object.create(null),{on:function(r,n){(e[r]||(e[r]=[])).push(n)},off:function(r,n){e[r]&&e[r].splice(e[r].indexOf(n)>>>0,1)},emit:function(r,n){(e[r]||[]).slice().map(function(o){o(n)}),(e["*"]||[]).slice().map(function(o){o(r,n)})}}}const d4=Object.freeze(Object.defineProperty({__proto__:null,default:f4},Symbol.toStringTag,{value:"Module"})),h4=xa(d4);var ph,kS;function vR(){if(kS)return ph;kS=1;var e=typeof Do=="object"&&Do&&Do.Object===Object&&Do;return ph=e,ph}var mh,PS;function p4(){if(PS)return mh;PS=1;var e=vR(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return mh=r,mh}var vh,IS;function Nf(){if(IS)return vh;IS=1;var e=p4(),t=e.Symbol;return vh=t,vh}var gh,zS;function m4(){if(zS)return gh;zS=1;var e=Nf(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,o=e?e.toStringTag:void 0;function i(a){var s=r.call(a,o),u=a[o];try{a[o]=void 0;var c=!0}catch{}var f=n.call(a);return c&&(s?a[o]=u:delete a[o]),f}return gh=i,gh}var yh,jS;function v4(){if(jS)return yh;jS=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return yh=r,yh}var _h,AS;function $f(){if(AS)return _h;AS=1;var e=Nf(),t=m4(),r=v4(),n="[object Null]",o="[object Undefined]",i=e?e.toStringTag:void 0;function a(s){return s==null?s===void 0?o:n:i&&i in Object(s)?t(s):r(s)}return _h=a,_h}var Sh,MS;function bs(){if(MS)return Sh;MS=1;function e(t){return t!=null&&typeof t=="object"}return Sh=e,Sh}var wh,LS;function g4(){if(LS)return wh;LS=1;var e=$f(),t=bs(),r="[object RegExp]";function n(o){return t(o)&&e(o)==r}return wh=n,wh}var bh,NS;function y4(){if(NS)return bh;NS=1;function e(t){return function(r){return t(r)}}return bh=e,bh}var fl={exports:{}};fl.exports;var $S;function _4(){return $S||($S=1,function(e,t){var r=vR(),n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i&&r.process,s=function(){try{var u=o&&o.require&&o.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s}(fl,fl.exports)),fl.exports}var xh,DS;function S4(){if(DS)return xh;DS=1;var e=g4(),t=y4(),r=_4(),n=r&&r.isRegExp,o=n?t(n):e;return xh=o,xh}var Ch,FS;function w4(){if(FS)return Ch;FS=1;function e(t,r){for(var n=-1,o=t==null?0:t.length,i=Array(o);++n0&&i(f)?o>1?r(f,o-1,i,a,s):e(s,f):a||(s[s.length]=f)}return s}return Mh=r,Mh}var Lh,JS;function z4(){if(JS)return Lh;JS=1;var e=I4();function t(r){var n=r==null?0:r.length;return n?e(r,1):[]}return Lh=t,Lh}var Nh,ZS;function j4(){if(ZS)return Nh;ZS=1;var e=S4(),t=R4(),r=T4(),n=z4();function o(i,a,s){var u=0,c=0;if(i==="")return i;if(!i||!r(i))throw new TypeError("First argument to react-string-replace#replaceString must be a string");var f=a;e(f)||(f=new RegExp("("+t(f)+")","gi"));for(var h=i.split(f),p=1,S=h.length;p=0&&u===s&&c())}function dl(e,t){if(e==null)return{};var r=xn(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var A4=function(){function e(t){var r=t.cellCount,n=t.cellSizeGetter,o=t.estimatedCellSize;it(this,e),$(this,"_cellSizeAndPositionData",{}),$(this,"_lastMeasuredIndex",-1),$(this,"_lastBatchedIndex",-1),$(this,"_cellCount",void 0),$(this,"_cellSizeGetter",void 0),$(this,"_estimatedCellSize",void 0),this._cellSizeGetter=n,this._cellCount=r,this._estimatedCellSize=o}return ut(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(r){var n=r.cellCount,o=r.estimatedCellSize,i=r.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=o,this._cellSizeGetter=i}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(r){if(r<0||r>=this._cellCount)throw Error("Requested index ".concat(r," is outside of range 0..").concat(this._cellCount));if(r>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),o=n.offset+n.size,i=this._lastMeasuredIndex+1;i<=r;i++){var a=this._cellSizeGetter({index:i});if(a===void 0||isNaN(a))throw Error("Invalid size returned for cell ".concat(i," of value ").concat(a));a===null?(this._cellSizeAndPositionData[i]={offset:o,size:0},this._lastBatchedIndex=r):(this._cellSizeAndPositionData[i]={offset:o,size:a},o+=a,this._lastMeasuredIndex=r)}return this._cellSizeAndPositionData[r]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var r=this.getSizeAndPositionOfLastMeasuredCell(),n=r.offset+r.size,o=this._cellCount-this._lastMeasuredIndex-1,i=o*this._estimatedCellSize;return n+i}},{key:"getUpdatedOffsetForIndex",value:function(r){var n=r.align,o=n===void 0?"auto":n,i=r.containerSize,a=r.currentOffset,s=r.targetIndex;if(i<=0)return 0;var u=this.getSizeAndPositionOfCell(s),c=u.offset,f=c-i+u.size,h;switch(o){case"start":h=c;break;case"end":h=f;break;case"center":h=c-(i-u.size)/2;break;default:h=Math.max(f,Math.min(c,a));break}var p=this.getTotalSize();return Math.max(0,Math.min(p-i,h))}},{key:"getVisibleCellRange",value:function(r){var n=r.containerSize,o=r.offset,i=this.getTotalSize();if(i===0)return{};var a=o+n,s=this._findNearestCell(o),u=this.getSizeAndPositionOfCell(s);o=u.offset+u.size;for(var c=s;oo&&(r=i-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(r,n){for(var o=1;r=r?this._binarySearch(o,0,r):this._exponentialSearch(o,r)}}]),e}(),M4=15e5,L4=16777100,N4=function(){return typeof window<"u"},$4=function(){return!!window.chrome},D4=function(){return N4()&&$4()?L4:M4},r1=function(){function e(t){var r=t.maxScrollSize,n=r===void 0?D4():r,o=dl(t,["maxScrollSize"]);it(this,e),$(this,"_cellSizeAndPositionManager",void 0),$(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new A4(o),this._maxScrollSize=n}return ut(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(r){this._cellSizeAndPositionManager.configure(r)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(r){var n=r.containerSize,o=r.offset,i=this._cellSizeAndPositionManager.getTotalSize(),a=this.getTotalSize(),s=this._getOffsetPercentage({containerSize:n,offset:o,totalSize:a});return Math.round(s*(a-i))}},{key:"getSizeAndPositionOfCell",value:function(r){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(r)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(r){var n=r.align,o=n===void 0?"auto":n,i=r.containerSize,a=r.currentOffset,s=r.targetIndex;a=this._safeOffsetToOffset({containerSize:i,offset:a});var u=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:i,currentOffset:a,targetIndex:s});return this._offsetToSafeOffset({containerSize:i,offset:u})}},{key:"getVisibleCellRange",value:function(r){var n=r.containerSize,o=r.offset;return o=this._safeOffsetToOffset({containerSize:n,offset:o}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:o})}},{key:"resetCell",value:function(r){this._cellSizeAndPositionManager.resetCell(r)}},{key:"_getOffsetPercentage",value:function(r){var n=r.containerSize,o=r.offset,i=r.totalSize;return i<=n?0:o/(i-n)}},{key:"_offsetToSafeOffset",value:function(r){var n=r.containerSize,o=r.offset,i=this._cellSizeAndPositionManager.getTotalSize(),a=this.getTotalSize();if(i===a)return o;var s=this._getOffsetPercentage({containerSize:n,offset:o,totalSize:i});return Math.round(s*(a-n))}},{key:"_safeOffsetToOffset",value:function(r){var n=r.containerSize,o=r.offset,i=this._cellSizeAndPositionManager.getTotalSize(),a=this.getTotalSize();if(i===a)return o;var s=this._getOffsetPercentage({containerSize:n,offset:o,totalSize:a});return Math.round(s*(i-n))}}]),e}();function _a(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t={};return function(r){var n=r.callback,o=r.indices,i=Object.keys(o),a=!e||i.every(function(u){var c=o[u];return Array.isArray(c)?c.length>0:c>=0}),s=i.length!==Object.keys(t).length||i.some(function(u){var c=t[u],f=o[u];return Array.isArray(f)?c.join(",")!==f.join(","):c!==f});t=o,a&&s&&n(o)}}var au=-1,Tn=1;function wR(e){var t=e.cellCount,r=e.overscanCellsCount,n=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return n===Tn?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(t-1,i+r)}:{overscanStartIndex:Math.max(0,o-r),overscanStopIndex:Math.min(t-1,i)}}function n1(e){var t=e.cellSize,r=e.cellSizeAndPositionManager,n=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,s=e.previousSize,u=e.scrollOffset,c=e.scrollToAlignment,f=e.scrollToIndex,h=e.size,p=e.sizeJustIncreasedFromZero,S=e.updateScrollIndexCallback,_=r.getCellCount(),y=f>=0&&f<_,C=h!==s||p||!o||typeof t=="number"&&t!==o;y&&(C||c!==i||f!==a)?S(f):!y&&_>0&&(hr.getTotalSize()-h&&S(_-1)}function bR(e){for(var t=e.cellCache,r=e.cellRenderer,n=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,u=e.isScrolling,c=e.isScrollingOptOut,f=e.parent,h=e.rowSizeAndPositionManager,p=e.rowStartIndex,S=e.rowStopIndex,_=e.styleCache,y=e.verticalOffsetAdjustment,C=e.visibleColumnIndices,v=e.visibleRowIndices,g=[],w=n.areOffsetsAdjusted()||h.areOffsetsAdjusted(),T=!u&&!w,O=p;O<=S;O++)for(var k=h.getSizeAndPositionOfCell(O),b=o;b<=i;b++){var E=n.getSizeAndPositionOfCell(b),P=b>=C.start&&b<=C.stop&&O>=v.start&&O<=v.stop,I="".concat(O,"-").concat(b),M=void 0;T&&_[I]?M=_[I]:a&&!a.has(O,b)?M={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(M={height:k.size,left:E.offset+s,position:"absolute",top:k.offset+y,width:E.size},_[I]=M);var F={columnIndex:b,isScrolling:u,isVisible:P,key:I,parent:f,rowIndex:O,style:M},q=void 0;(c||u)&&!s&&!y?(t[I]||(t[I]=r(F)),q=t[I]):q=r(F),!(q==null||q===!1)&&g.push(q)}return g}const F4=!!(typeof window<"u"&&window.document&&window.document.createElement);var lu;function um(e){if((!lu&&lu!==0||e)&&F4){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),lu=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return lu}var Gt;typeof window<"u"?Gt=window:typeof self<"u"?Gt=self:Gt={};var W4=Gt.requestAnimationFrame||Gt.webkitRequestAnimationFrame||Gt.mozRequestAnimationFrame||Gt.oRequestAnimationFrame||Gt.msRequestAnimationFrame||function(e){return Gt.setTimeout(e,1e3/60)},B4=Gt.cancelAnimationFrame||Gt.webkitCancelAnimationFrame||Gt.mozCancelAnimationFrame||Gt.oCancelAnimationFrame||Gt.msCancelAnimationFrame||function(e){Gt.clearTimeout(e)},o1=W4,U4=B4,Sa=function(t){return U4(t.id)},ag=function(t,r){var n;Promise.resolve().then(function(){n=Date.now()});var o=function a(){Date.now()-n>=r?t.call():i.id=o1(a)},i={id:o1(o)};return i},i1,a1;function l1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function zo(e){for(var t=1;t0&&(n._initialScrollTop=n._getCalculatedScrollTop(r,n.state)),r.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(r,n.state)),n}return ut(t,[{key:"getOffsetForCell",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.alignment,i=o===void 0?this.props.scrollToAlignment:o,a=n.columnIndex,s=a===void 0?this.props.scrollToColumn:a,u=n.rowIndex,c=u===void 0?this.props.scrollToRow:u,f=zo({},this.props,{scrollToAlignment:i,scrollToColumn:s,scrollToRow:c});return{scrollLeft:this._getCalculatedScrollLeft(f),scrollTop:this._getCalculatedScrollTop(f)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(n){var o=n.scrollLeft,i=o===void 0?0:o,a=n.scrollTop,s=a===void 0?0:a;if(!(s<0)){this._debounceScrollEnded();var u=this.props,c=u.autoHeight,f=u.autoWidth,h=u.height,p=u.width,S=this.state.instanceProps,_=S.scrollbarSize,y=S.rowSizeAndPositionManager.getTotalSize(),C=S.columnSizeAndPositionManager.getTotalSize(),v=Math.min(Math.max(0,C-p+_),i),g=Math.min(Math.max(0,y-h+_),s);if(this.state.scrollLeft!==v||this.state.scrollTop!==g){var w=v!==this.state.scrollLeft?v>this.state.scrollLeft?Tn:au:this.state.scrollDirectionHorizontal,T=g!==this.state.scrollTop?g>this.state.scrollTop?Tn:au:this.state.scrollDirectionVertical,O={isScrolling:!0,scrollDirectionHorizontal:w,scrollDirectionVertical:T,scrollPositionChangeReason:$h.OBSERVED};c||(O.scrollTop=g),f||(O.scrollLeft=v),O.needToResetStyleCache=!1,this.setState(O)}this._invokeOnScrollMemoizer({scrollLeft:v,scrollTop:g,totalColumnsWidth:C,totalRowsHeight:y})}}},{key:"invalidateCellSizeAfterRender",value:function(n){var o=n.columnIndex,i=n.rowIndex;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,i):i}},{key:"measureAllCells",value:function(){var n=this.props,o=n.columnCount,i=n.rowCount,a=this.state.instanceProps;a.columnSizeAndPositionManager.getSizeAndPositionOfCell(o-1),a.rowSizeAndPositionManager.getSizeAndPositionOfCell(i-1)}},{key:"recomputeGridSize",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a,u=this.props,c=u.scrollToColumn,f=u.scrollToRow,h=this.state.instanceProps;h.columnSizeAndPositionManager.resetCell(i),h.rowSizeAndPositionManager.resetCell(s),this._recomputeScrollLeftFlag=c>=0&&(this.state.scrollDirectionHorizontal===Tn?i<=c:i>=c),this._recomputeScrollTopFlag=f>=0&&(this.state.scrollDirectionVertical===Tn?s<=f:s>=f),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(n){var o=n.columnIndex,i=n.rowIndex,a=this.props.columnCount,s=this.props;a>1&&o!==void 0&&this._updateScrollLeftForScrollToColumn(zo({},s,{scrollToColumn:o})),i!==void 0&&this._updateScrollTopForScrollToRow(zo({},s,{scrollToRow:i}))}},{key:"componentDidMount",value:function(){var n=this.props,o=n.getScrollbarSize,i=n.height,a=n.scrollLeft,s=n.scrollToColumn,u=n.scrollTop,c=n.scrollToRow,f=n.width,h=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),h.scrollbarSizeMeasured||this.setState(function(_){var y=zo({},_,{needToResetStyleCache:!1});return y.instanceProps.scrollbarSize=o(),y.instanceProps.scrollbarSizeMeasured=!0,y}),typeof a=="number"&&a>=0||typeof u=="number"&&u>=0){var p=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:a,scrollTop:u});p&&(p.needToResetStyleCache=!1,this.setState(p))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var S=i>0&&f>0;s>=0&&S&&this._updateScrollLeftForScrollToColumn(),c>=0&&S&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:a||0,scrollTop:u||0,totalColumnsWidth:h.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:h.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(n,o){var i=this,a=this.props,s=a.autoHeight,u=a.autoWidth,c=a.columnCount,f=a.height,h=a.rowCount,p=a.scrollToAlignment,S=a.scrollToColumn,_=a.scrollToRow,y=a.width,C=this.state,v=C.scrollLeft,g=C.scrollPositionChangeReason,w=C.scrollTop,T=C.instanceProps;this._handleInvalidatedGridSize();var O=c>0&&n.columnCount===0||h>0&&n.rowCount===0;g===$h.REQUESTED&&(!u&&v>=0&&(v!==this._scrollingContainer.scrollLeft||O)&&(this._scrollingContainer.scrollLeft=v),!s&&w>=0&&(w!==this._scrollingContainer.scrollTop||O)&&(this._scrollingContainer.scrollTop=w));var k=(n.width===0||n.height===0)&&f>0&&y>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):n1({cellSizeAndPositionManager:T.columnSizeAndPositionManager,previousCellsCount:n.columnCount,previousCellSize:n.columnWidth,previousScrollToAlignment:n.scrollToAlignment,previousScrollToIndex:n.scrollToColumn,previousSize:n.width,scrollOffset:v,scrollToAlignment:p,scrollToIndex:S,size:y,sizeJustIncreasedFromZero:k,updateScrollIndexCallback:function(){return i._updateScrollLeftForScrollToColumn(i.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):n1({cellSizeAndPositionManager:T.rowSizeAndPositionManager,previousCellsCount:n.rowCount,previousCellSize:n.rowHeight,previousScrollToAlignment:n.scrollToAlignment,previousScrollToIndex:n.scrollToRow,previousSize:n.height,scrollOffset:w,scrollToAlignment:p,scrollToIndex:_,size:f,sizeJustIncreasedFromZero:k,updateScrollIndexCallback:function(){return i._updateScrollTopForScrollToRow(i.props)}}),this._invokeOnGridRenderedHelper(),v!==o.scrollLeft||w!==o.scrollTop){var b=T.rowSizeAndPositionManager.getTotalSize(),E=T.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:v,scrollTop:w,totalColumnsWidth:E,totalRowsHeight:b})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&Sa(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var n=this.props,o=n.autoContainerWidth,i=n.autoHeight,a=n.autoWidth,s=n.className,u=n.containerProps,c=n.containerRole,f=n.containerStyle,h=n.height,p=n.id,S=n.noContentRenderer,_=n.role,y=n.style,C=n.tabIndex,v=n.width,g=this.state,w=g.instanceProps,T=g.needToResetStyleCache,O=this._isScrolling(),k={boxSizing:"border-box",direction:"ltr",height:i?"auto":h,position:"relative",width:a?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};T&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var b=w.columnSizeAndPositionManager.getTotalSize(),E=w.rowSizeAndPositionManager.getTotalSize(),P=E>h?w.scrollbarSize:0,I=b>v?w.scrollbarSize:0;(I!==this._horizontalScrollBarSize||P!==this._verticalScrollBarSize)&&(this._horizontalScrollBarSize=I,this._verticalScrollBarSize=P,this._scrollbarPresenceChanged=!0),k.overflowX=b+P<=v?"hidden":"auto",k.overflowY=E+I<=h?"hidden":"auto";var M=this._childrenToDisplay,F=M.length===0&&h>0&&v>0;return N.createElement("div",_e({ref:this._setScrollingContainerRef},u,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Kr("ReactVirtualized__Grid",s),id:p,onScroll:this._onScroll,role:_,style:zo({},k,{},y),tabIndex:C}),M.length>0&&N.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:c,style:zo({width:o?"auto":b,height:E,maxWidth:b,maxHeight:E,overflow:"hidden",pointerEvents:O?"none":"",position:"relative"},f)},M),F&&S())}},{key:"_calculateChildrenToRender",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,i=n.cellRenderer,a=n.cellRangeRenderer,s=n.columnCount,u=n.deferredMeasurementCache,c=n.height,f=n.overscanColumnCount,h=n.overscanIndicesGetter,p=n.overscanRowCount,S=n.rowCount,_=n.width,y=n.isScrollingOptOut,C=o.scrollDirectionHorizontal,v=o.scrollDirectionVertical,g=o.instanceProps,w=this._initialScrollTop>0?this._initialScrollTop:o.scrollTop,T=this._initialScrollLeft>0?this._initialScrollLeft:o.scrollLeft,O=this._isScrolling(n,o);if(this._childrenToDisplay=[],c>0&&_>0){var k=g.columnSizeAndPositionManager.getVisibleCellRange({containerSize:_,offset:T}),b=g.rowSizeAndPositionManager.getVisibleCellRange({containerSize:c,offset:w}),E=g.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:_,offset:T}),P=g.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:c,offset:w});this._renderedColumnStartIndex=k.start,this._renderedColumnStopIndex=k.stop,this._renderedRowStartIndex=b.start,this._renderedRowStopIndex=b.stop;var I=h({direction:"horizontal",cellCount:s,overscanCellsCount:f,scrollDirection:C,startIndex:typeof k.start=="number"?k.start:0,stopIndex:typeof k.stop=="number"?k.stop:-1}),M=h({direction:"vertical",cellCount:S,overscanCellsCount:p,scrollDirection:v,startIndex:typeof b.start=="number"?b.start:0,stopIndex:typeof b.stop=="number"?b.stop:-1}),F=I.overscanStartIndex,q=I.overscanStopIndex,G=M.overscanStartIndex,ue=M.overscanStopIndex;if(u){if(!u.hasFixedHeight()){for(var se=G;se<=ue;se++)if(!u.has(se,0)){F=0,q=s-1;break}}if(!u.hasFixedWidth()){for(var ge=F;ge<=q;ge++)if(!u.has(0,ge)){G=0,ue=S-1;break}}}this._childrenToDisplay=a({cellCache:this._cellCache,cellRenderer:i,columnSizeAndPositionManager:g.columnSizeAndPositionManager,columnStartIndex:F,columnStopIndex:q,deferredMeasurementCache:u,horizontalOffsetAdjustment:E,isScrolling:O,isScrollingOptOut:y,parent:this,rowSizeAndPositionManager:g.rowSizeAndPositionManager,rowStartIndex:G,rowStopIndex:ue,scrollLeft:T,scrollTop:w,styleCache:this._styleCache,verticalOffsetAdjustment:P,visibleColumnIndices:k,visibleRowIndices:b}),this._columnStartIndex=F,this._columnStopIndex=q,this._rowStartIndex=G,this._rowStopIndex=ue}}},{key:"_debounceScrollEnded",value:function(){var n=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&Sa(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=ag(this._debounceScrollEndedCallback,n)}},{key:"_handleInvalidatedGridSize",value:function(){if(typeof this._deferredInvalidateColumnIndex=="number"&&typeof this._deferredInvalidateRowIndex=="number"){var n=this._deferredInvalidateColumnIndex,o=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:n,rowIndex:o})}}},{key:"_invokeOnScrollMemoizer",value:function(n){var o=this,i=n.scrollLeft,a=n.scrollTop,s=n.totalColumnsWidth,u=n.totalRowsHeight;this._onScrollMemoizer({callback:function(f){var h=f.scrollLeft,p=f.scrollTop,S=o.props,_=S.height,y=S.onScroll,C=S.width;y({clientHeight:_,clientWidth:C,scrollHeight:u,scrollLeft:h,scrollTop:p,scrollWidth:s})},indices:{scrollLeft:i,scrollTop:a}})}},{key:"_isScrolling",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return Object.hasOwnProperty.call(n,"isScrolling")?!!n.isScrolling:!!o.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var n=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,n({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(n){var o=n.scrollLeft,i=n.scrollTop,a=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:i});a&&(a.needToResetStyleCache=!1,this.setState(a))}},{key:"_getCalculatedScrollLeft",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return t._getCalculatedScrollLeft(n,o)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,i=t._getScrollLeftForScrollToColumnStateUpdate(n,o);i&&(i.needToResetStyleCache=!1,this.setState(i))}},{key:"_getCalculatedScrollTop",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return t._getCalculatedScrollTop(n,o)}},{key:"_resetStyleCache",value:function(){var n=this._styleCache,o=this._cellCache,i=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var a=this._rowStartIndex;a<=this._rowStopIndex;a++)for(var s=this._columnStartIndex;s<=this._columnStopIndex;s++){var u="".concat(a,"-").concat(s);this._styleCache[u]=n[u],i&&(this._cellCache[u]=o[u])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,i=t._getScrollTopForScrollToRowStateUpdate(n,o);i&&(i.needToResetStyleCache=!1,this.setState(i))}}],[{key:"getDerivedStateFromProps",value:function(n,o){var i={};n.columnCount===0&&o.scrollLeft!==0||n.rowCount===0&&o.scrollTop!==0?(i.scrollLeft=0,i.scrollTop=0):(n.scrollLeft!==o.scrollLeft&&n.scrollToColumn<0||n.scrollTop!==o.scrollTop&&n.scrollToRow<0)&&Object.assign(i,t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}));var a=o.instanceProps;i.needToResetStyleCache=!1,(n.columnWidth!==a.prevColumnWidth||n.rowHeight!==a.prevRowHeight)&&(i.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:n.columnCount,estimatedCellSize:t._getEstimatedColumnSize(n),cellSizeGetter:t._wrapSizeGetter(n.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:n.rowCount,estimatedCellSize:t._getEstimatedRowSize(n),cellSizeGetter:t._wrapSizeGetter(n.rowHeight)}),(a.prevColumnCount===0||a.prevRowCount===0)&&(a.prevColumnCount=0,a.prevRowCount=0),n.autoHeight&&n.isScrolling===!1&&a.prevIsScrolling===!0&&Object.assign(i,{isScrolling:!1});var s,u;return t1({cellCount:a.prevColumnCount,cellSize:typeof a.prevColumnWidth=="number"?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:n,nextCellsCount:n.columnCount,nextCellSize:typeof n.columnWidth=="number"?n.columnWidth:null,nextScrollToIndex:n.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){s=t._getScrollLeftForScrollToColumnStateUpdate(n,o)}}),t1({cellCount:a.prevRowCount,cellSize:typeof a.prevRowHeight=="number"?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:n,nextCellsCount:n.rowCount,nextCellSize:typeof n.rowHeight=="number"?n.rowHeight:null,nextScrollToIndex:n.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){u=t._getScrollTopForScrollToRowStateUpdate(n,o)}}),a.prevColumnCount=n.columnCount,a.prevColumnWidth=n.columnWidth,a.prevIsScrolling=n.isScrolling===!0,a.prevRowCount=n.rowCount,a.prevRowHeight=n.rowHeight,a.prevScrollToColumn=n.scrollToColumn,a.prevScrollToRow=n.scrollToRow,a.scrollbarSize=n.getScrollbarSize(),a.scrollbarSize===void 0?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,i.instanceProps=a,zo({},i,{},s,{},u)}},{key:"_getEstimatedColumnSize",value:function(n){return typeof n.columnWidth=="number"?n.columnWidth:n.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(n){return typeof n.rowHeight=="number"?n.rowHeight:n.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(n){var o=n.prevState,i=n.scrollLeft,a=n.scrollTop,s={scrollPositionChangeReason:$h.REQUESTED};return typeof i=="number"&&i>=0&&(s.scrollDirectionHorizontal=i>o.scrollLeft?Tn:au,s.scrollLeft=i),typeof a=="number"&&a>=0&&(s.scrollDirectionVertical=a>o.scrollTop?Tn:au,s.scrollTop=a),typeof i=="number"&&i>=0&&i!==o.scrollLeft||typeof a=="number"&&a>=0&&a!==o.scrollTop?s:{}}},{key:"_wrapSizeGetter",value:function(n){return typeof n=="function"?n:function(){return n}}},{key:"_getCalculatedScrollLeft",value:function(n,o){var i=n.columnCount,a=n.height,s=n.scrollToAlignment,u=n.scrollToColumn,c=n.width,f=o.scrollLeft,h=o.instanceProps;if(i>0){var p=i-1,S=u<0?p:Math.min(p,u),_=h.rowSizeAndPositionManager.getTotalSize(),y=h.scrollbarSizeMeasured&&_>a?h.scrollbarSize:0;return h.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:s,containerSize:c-y,currentOffset:f,targetIndex:S})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(n,o){var i=o.scrollLeft,a=t._getCalculatedScrollLeft(n,o);return typeof a=="number"&&a>=0&&i!==a?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:a,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(n,o){var i=n.height,a=n.rowCount,s=n.scrollToAlignment,u=n.scrollToRow,c=n.width,f=o.scrollTop,h=o.instanceProps;if(a>0){var p=a-1,S=u<0?p:Math.min(p,u),_=h.columnSizeAndPositionManager.getTotalSize(),y=h.scrollbarSizeMeasured&&_>c?h.scrollbarSize:0;return h.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:s,containerSize:i-y,currentOffset:f,targetIndex:S})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(n,o){var i=o.scrollTop,a=t._getCalculatedScrollTop(n,o);return typeof a=="number"&&a>=0&&i!==a?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:a}):{}}}]),t}(N.PureComponent),$(i1,"propTypes",null),a1);$(An,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:bR,containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:um,noContentRenderer:q4,onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:wR,overscanRowCount:10,role:"grid",scrollingResetTimeInterval:H4,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1});xs(An);var G4=1;function lg(e){var t=e.cellCount,r=e.overscanCellsCount,n=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return r=Math.max(1,r),n===G4?{overscanStartIndex:Math.max(0,o-1),overscanStopIndex:Math.min(t-1,i+r)}:{overscanStartIndex:Math.max(0,o-r),overscanStopIndex:Math.min(t-1,i+1)}}var s1,u1;function c1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function V4(e){for(var t=1;t div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',I=E.head||E.getElementsByTagName("head")[0],M=E.createElement("style");M.id="detectElementResize",M.type="text/css",e!=null&&M.setAttribute("nonce",e),M.styleSheet?M.styleSheet.cssText=P:M.appendChild(E.createTextNode(P)),I.appendChild(M)}},O=function(E,P){if(n)E.attachEvent("onresize",P);else{if(!E.__resizeTriggers__){var I=E.ownerDocument,M=r.getComputedStyle(E);M&&M.position=="static"&&(E.style.position="relative"),T(I),E.__resizeLast__={},E.__resizeListeners__=[],(E.__resizeTriggers__=I.createElement("div")).className="resize-triggers";var F='
';if(window.trustedTypes){var q=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return F}});E.__resizeTriggers__.innerHTML=q.createHTML("")}else E.__resizeTriggers__.innerHTML=F;E.appendChild(E.__resizeTriggers__),a(E),E.addEventListener("scroll",u,!0),h&&(E.__resizeTriggers__.__animationListener__=function(ue){ue.animationName==v&&a(E)},E.__resizeTriggers__.addEventListener(h,E.__resizeTriggers__.__animationListener__))}E.__resizeListeners__.push(P)}},k=function(E,P){if(n)E.detachEvent("onresize",P);else if(E.__resizeListeners__.splice(E.__resizeListeners__.indexOf(P),1),!E.__resizeListeners__.length){E.removeEventListener("scroll",u,!0),E.__resizeTriggers__.__animationListener__&&(E.__resizeTriggers__.removeEventListener(h,E.__resizeTriggers__.__animationListener__),E.__resizeTriggers__.__animationListener__=null);try{E.__resizeTriggers__=!E.removeChild(E.__resizeTriggers__)}catch{}}};return{addResizeListener:O,removeResizeListener:k}}var f1,d1;function h1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function K4(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};it(this,e),$(this,"_cellHeightCache",{}),$(this,"_cellWidthCache",{}),$(this,"_columnWidthCache",{}),$(this,"_rowHeightCache",{}),$(this,"_defaultHeight",void 0),$(this,"_defaultWidth",void 0),$(this,"_minHeight",void 0),$(this,"_minWidth",void 0),$(this,"_keyMapper",void 0),$(this,"_hasFixedHeight",void 0),$(this,"_hasFixedWidth",void 0),$(this,"_columnCount",0),$(this,"_rowCount",0),$(this,"columnWidth",function(f){var h=f.index,p=t._keyMapper(0,h);return t._columnWidthCache[p]!==void 0?t._columnWidthCache[p]:t._defaultWidth}),$(this,"rowHeight",function(f){var h=f.index,p=t._keyMapper(h,0);return t._rowHeightCache[p]!==void 0?t._rowHeightCache[p]:t._defaultHeight});var n=r.defaultHeight,o=r.defaultWidth,i=r.fixedHeight,a=r.fixedWidth,s=r.keyMapper,u=r.minHeight,c=r.minWidth;this._hasFixedHeight=i===!0,this._hasFixedWidth=a===!0,this._minHeight=u||0,this._minWidth=c||0,this._keyMapper=s||J4,this._defaultHeight=Math.max(this._minHeight,typeof n=="number"?n:Y4),this._defaultWidth=Math.max(this._minWidth,typeof o=="number"?o:Q4)}return ut(e,[{key:"clear",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=this._keyMapper(r,n);delete this._cellHeightCache[o],delete this._cellWidthCache[o],this._updateCachedColumnAndRowSizes(r,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var o=this._keyMapper(r,n);return this._cellHeightCache[o]!==void 0?Math.max(this._minHeight,this._cellHeightCache[o]):this._defaultHeight}},{key:"getWidth",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var o=this._keyMapper(r,n);return this._cellWidthCache[o]!==void 0?Math.max(this._minWidth,this._cellWidthCache[o]):this._defaultWidth}},{key:"has",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=this._keyMapper(r,n);return this._cellHeightCache[o]!==void 0}},{key:"set",value:function(r,n,o,i){var a=this._keyMapper(r,n);n>=this._columnCount&&(this._columnCount=n+1),r>=this._rowCount&&(this._rowCount=r+1),this._cellHeightCache[a]=i,this._cellWidthCache[a]=o,this._updateCachedColumnAndRowSizes(r,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(r,n){if(!this._hasFixedWidth){for(var o=0,i=0;i=0){var C=u.getScrollPositionForCell({align:f,cellIndex:h,height:c,scrollLeft:_,scrollTop:y,width:p});(C.scrollLeft!==_||C.scrollTop!==y)&&n._setScrollPosition(C)}}),$(Y(n),"_onScroll",function(s){if(s.target===n._scrollingContainer){n._enablePointerEventsAfterDelay();var u=n.props,c=u.cellLayoutManager,f=u.height,h=u.isScrollingChange,p=u.width,S=n._scrollbarSize,_=c.getTotalSize(),y=_.height,C=_.width,v=Math.max(0,Math.min(C-p+S,s.target.scrollLeft)),g=Math.max(0,Math.min(y-f+S,s.target.scrollTop));if(n.state.scrollLeft!==v||n.state.scrollTop!==g){var w=s.cancelable?Ti.OBSERVED:Ti.REQUESTED;n.state.isScrolling||h(!0),n.setState({isScrolling:!0,scrollLeft:v,scrollPositionChangeReason:w,scrollTop:g})}n._invokeOnScrollMemoizer({scrollLeft:v,scrollTop:g,totalWidth:C,totalHeight:y})}}),n._scrollbarSize=um(),n._scrollbarSize===void 0?(n._scrollbarSizeMeasured=!1,n._scrollbarSize=0):n._scrollbarSizeMeasured=!0,n}return ut(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var n=this.props,o=n.cellLayoutManager,i=n.scrollLeft,a=n.scrollToCell,s=n.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=um(),this._scrollbarSizeMeasured=!0,this.setState({})),a>=0?this._updateScrollPositionForScrollToCell():(i>=0||s>=0)&&this._setScrollPosition({scrollLeft:i,scrollTop:s}),this._invokeOnSectionRenderedHelper();var u=o.getTotalSize(),c=u.height,f=u.width;this._invokeOnScrollMemoizer({scrollLeft:i||0,scrollTop:s||0,totalHeight:c,totalWidth:f})}},{key:"componentDidUpdate",value:function(n,o){var i=this.props,a=i.height,s=i.scrollToAlignment,u=i.scrollToCell,c=i.width,f=this.state,h=f.scrollLeft,p=f.scrollPositionChangeReason,S=f.scrollTop;p===Ti.REQUESTED&&(h>=0&&h!==o.scrollLeft&&h!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=h),S>=0&&S!==o.scrollTop&&S!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=S)),(a!==n.height||s!==n.scrollToAlignment||u!==n.scrollToCell||c!==n.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var n=this.props,o=n.autoHeight,i=n.cellCount,a=n.cellLayoutManager,s=n.className,u=n.height,c=n.horizontalOverscanSize,f=n.id,h=n.noContentRenderer,p=n.style,S=n.verticalOverscanSize,_=n.width,y=this.state,C=y.isScrolling,v=y.scrollLeft,g=y.scrollTop;(this._lastRenderedCellCount!==i||this._lastRenderedCellLayoutManager!==a||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=i,this._lastRenderedCellLayoutManager=a,this._calculateSizeAndPositionDataOnNextUpdate=!1,a.calculateSizeAndPositionData());var w=a.getTotalSize(),T=w.height,O=w.width,k=Math.max(0,v-c),b=Math.max(0,g-S),E=Math.min(O,v+_+c),P=Math.min(T,g+u+S),I=u>0&&_>0?a.cellRenderers({height:P-b,isScrolling:C,width:E-k,x:k,y:b}):[],M={boxSizing:"border-box",direction:"ltr",height:o?"auto":u,position:"relative",WebkitOverflowScrolling:"touch",width:_,willChange:"transform"},F=T>u?this._scrollbarSize:0,q=O>_?this._scrollbarSize:0;return M.overflowX=O+F<=_?"hidden":"auto",M.overflowY=T+q<=u?"hidden":"auto",N.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Kr("ReactVirtualized__Collection",s),id:f,onScroll:this._onScroll,role:"grid",style:Z4({},M,{},p),tabIndex:0},i>0&&N.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:T,maxHeight:T,maxWidth:O,overflow:"hidden",pointerEvents:C?"none":"",width:O}},I),i===0&&h())}},{key:"_enablePointerEventsAfterDelay",value:function(){var n=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){var o=n.props.isScrollingChange;o(!1),n._disablePointerEventsTimeoutId=null,n.setState({isScrolling:!1})},e$)}},{key:"_invokeOnScrollMemoizer",value:function(n){var o=this,i=n.scrollLeft,a=n.scrollTop,s=n.totalHeight,u=n.totalWidth;this._onScrollMemoizer({callback:function(f){var h=f.scrollLeft,p=f.scrollTop,S=o.props,_=S.height,y=S.onScroll,C=S.width;y({clientHeight:_,clientWidth:C,scrollHeight:s,scrollLeft:h,scrollTop:p,scrollWidth:u})},indices:{scrollLeft:i,scrollTop:a}})}},{key:"_setScrollPosition",value:function(n){var o=n.scrollLeft,i=n.scrollTop,a={scrollPositionChangeReason:Ti.REQUESTED};o>=0&&(a.scrollLeft=o),i>=0&&(a.scrollTop=i),(o>=0&&o!==this.state.scrollLeft||i>=0&&i!==this.state.scrollTop)&&this.setState(a)}}],[{key:"getDerivedStateFromProps",value:function(n,o){return n.cellCount===0&&(o.scrollLeft!==0||o.scrollTop!==0)?{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:Ti.REQUESTED}:n.scrollLeft!==o.scrollLeft||n.scrollTop!==o.scrollTop?{scrollLeft:n.scrollLeft!=null?n.scrollLeft:o.scrollLeft,scrollTop:n.scrollTop!=null?n.scrollTop:o.scrollTop,scrollPositionChangeReason:Ti.REQUESTED}:null}}]),t}(N.PureComponent);$(Df,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0});Df.propTypes={};xs(Df);var t$=function(){function e(t){var r=t.height,n=t.width,o=t.x,i=t.y;it(this,e),this.height=r,this.width=n,this.x=o,this.y=i,this._indexMap={},this._indices=[]}return ut(e,[{key:"addCellIndex",value:function(r){var n=r.index;this._indexMap[n]||(this._indexMap[n]=!0,this._indices.push(n))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),r$=100,n$=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:r$;it(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return ut(e,[{key:"getCellIndices",value:function(r){var n=r.height,o=r.width,i=r.x,a=r.y,s={};return this.getSections({height:n,width:o,x:i,y:a}).forEach(function(u){return u.getCellIndices().forEach(function(c){s[c]=c})}),Object.keys(s).map(function(u){return s[u]})}},{key:"getCellMetadata",value:function(r){var n=r.index;return this._cellMetadata[n]}},{key:"getSections",value:function(r){for(var n=r.height,o=r.width,i=r.x,a=r.y,s=Math.floor(i/this._sectionSize),u=Math.floor((i+o-1)/this._sectionSize),c=Math.floor(a/this._sectionSize),f=Math.floor((a+n-1)/this._sectionSize),h=[],p=s;p<=u;p++)for(var S=c;S<=f;S++){var _="".concat(p,".").concat(S);this._sections[_]||(this._sections[_]=new t$({height:this._sectionSize,width:this._sectionSize,x:p*this._sectionSize,y:S*this._sectionSize})),h.push(this._sections[_])}return h}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var r=this;return Object.keys(this._sections).map(function(n){return r._sections[n].toString()})}},{key:"registerCell",value:function(r){var n=r.cellMetadatum,o=r.index;this._cellMetadata[o]=n,this.getSections(n).forEach(function(i){return i.addCellIndex({index:o})})}}]),e}();function o$(e){for(var t=e.cellCount,r=e.cellSizeAndPositionGetter,n=e.sectionSize,o=[],i=new n$(n),a=0,s=0,u=0;u=0&&ie.length)&&(t=e.length);for(var r=0,n=new Array(t);rr||o0;){var _=S.startIndex-1;if(!t({index:_}))S.startIndex=_;else break}return a}function d$(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=typeof e.recomputeGridSize=="function"?e.recomputeGridSize:e.recomputeRowHeights;r?r.call(e,t):e.forceUpdate()}var y1,_1,OR=(_1=y1=function(e){Xt(t,e);function t(){var r,n;it(this,t);for(var o=arguments.length,i=new Array(o),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a;this.Grid&&this.Grid.recomputeGridSize({rowIndex:s,columnIndex:i})}},{key:"recomputeRowHeights",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:n,columnIndex:0})}},{key:"scrollToPosition",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:n})}},{key:"scrollToRow",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:n})}},{key:"render",value:function(){var n=this.props,o=n.className,i=n.noRowsRenderer,a=n.scrollToIndex,s=n.width,u=Kr("ReactVirtualized__List",o);return N.createElement(An,_e({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:u,columnWidth:s,columnCount:1,noContentRenderer:i,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:a}))}}]),t}(N.PureComponent),$(y1,"propTypes",null),_1);$(OR,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:lg,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});function h$(e){if(Array.isArray(e))return e}function p$(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){c=!0,o=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function m$(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function v$(e,t){return h$(e)||p$(e,t)||ER(e,t)||m$()}function g$(e,t,r,n){for(var o=r+1;t<=r;){var i=t+r>>>1,a=e[i];a>=n?(o=i,r=i-1):t=i+1}return o}function y$(e,t,r,n,o){for(var i=r+1;t<=r;){var a=t+r>>>1,s=e[a];o(s,n)>=0?(i=a,r=a-1):t=a+1}return i}function _$(e,t,r,n,o){return typeof r=="function"?y$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):g$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function S$(e,t,r,n){for(var o=r+1;t<=r;){var i=t+r>>>1,a=e[i];a>n?(o=i,r=i-1):t=i+1}return o}function w$(e,t,r,n,o){for(var i=r+1;t<=r;){var a=t+r>>>1,s=e[a];o(s,n)>0?(i=a,r=a-1):t=a+1}return i}function b$(e,t,r,n,o){return typeof r=="function"?w$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):S$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function x$(e,t,r,n){for(var o=t-1;t<=r;){var i=t+r>>>1,a=e[i];a>>1,s=e[a];o(s,n)<0?(i=a,t=a+1):r=a-1}return i}function R$(e,t,r,n,o){return typeof r=="function"?C$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):x$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function T$(e,t,r,n){for(var o=t-1;t<=r;){var i=t+r>>>1,a=e[i];a<=n?(o=i,t=i+1):r=i-1}return o}function E$(e,t,r,n,o){for(var i=t-1;t<=r;){var a=t+r>>>1,s=e[a];o(s,n)<=0?(i=a,t=a+1):r=a-1}return i}function O$(e,t,r,n,o){return typeof r=="function"?E$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):T$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function k$(e,t,r,n){for(;t<=r;){var o=t+r>>>1,i=e[o];if(i===n)return o;i<=n?t=o+1:r=o-1}return-1}function P$(e,t,r,n,o){for(;t<=r;){var i=t+r>>>1,a=e[i],s=o(a,n);if(s===0)return i;s<=0?t=i+1:r=i-1}return-1}function I$(e,t,r,n,o){return typeof r=="function"?P$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):k$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}const xc={ge:_$,gt:b$,lt:R$,le:O$,eq:I$};var Ui=0,$o=1,Lu=2;function fg(e,t,r,n,o){this.mid=e,this.left=t,this.right=r,this.leftPoints=n,this.rightPoints=o,this.count=(t?t.count:0)+(r?r.count:0)+n.length}var Cs=fg.prototype;function Dh(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function kR(e,t){var r=wa(t);e.mid=r.mid,e.left=r.left,e.right=r.right,e.leftPoints=r.leftPoints,e.rightPoints=r.rightPoints,e.count=r.count}function S1(e,t){var r=e.intervals([]);r.push(t),kR(e,r)}function w1(e,t){var r=e.intervals([]),n=r.indexOf(t);return n<0?Ui:(r.splice(n,1),kR(e,r),$o)}Cs.intervals=function(e){return e.push.apply(e,this.leftPoints),this.left&&this.left.intervals(e),this.right&&this.right.intervals(e),e};Cs.insert=function(e){var t=this.count-this.leftPoints.length;if(this.count+=1,e[1]3*(t+1)?S1(this,e):this.left.insert(e):this.left=wa([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?S1(this,e):this.right.insert(e):this.right=wa([e]);else{var r=xc.ge(this.leftPoints,e,dg),n=xc.ge(this.rightPoints,e,hg);this.leftPoints.splice(r,0,e),this.rightPoints.splice(n,0,e)}};Cs.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1))return w1(this,e);var n=this.left.remove(e);return n===Lu?(this.left=null,this.count-=1,$o):(n===$o&&(this.count-=1),n)}else if(e[0]>this.mid){if(!this.right)return Ui;var o=this.left?this.left.count:0;if(4*o>3*(t-1))return w1(this,e);var n=this.right.remove(e);return n===Lu?(this.right=null,this.count-=1,$o):(n===$o&&(this.count-=1),n)}else{if(this.count===1)return this.leftPoints[0]===e?Lu:Ui;if(this.leftPoints.length===1&&this.leftPoints[0]===e){if(this.left&&this.right){for(var i=this,a=this.left;a.right;)i=a,a=a.right;if(i===this)a.right=this.right;else{var s=this.left,n=this.right;i.count-=a.count,i.right=a.left,a.left=s,a.right=n}Dh(this,a),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?Dh(this,this.left):Dh(this,this.right);return $o}for(var s=xc.ge(this.leftPoints,e,dg);s=0&&e[n][1]>=t;--n){var o=r(e[n]);if(o)return o}}function zR(e,t){for(var r=0;rthis.mid){if(this.right){var r=this.right.queryPoint(e,t);if(r)return r}return IR(this.rightPoints,e,t)}else return zR(this.leftPoints,t)};Cs.queryInterval=function(e,t,r){if(ethis.mid&&this.right){var n=this.right.queryInterval(e,t,r);if(n)return n}return tthis.mid?IR(this.rightPoints,e,r):zR(this.leftPoints,r)};function z$(e,t){return e-t}function dg(e,t){var r=e[0]-t[0];return r||e[1]-t[1]}function hg(e,t){var r=e[1]-t[1];return r||e[0]-t[0]}function wa(e){if(e.length===0)return null;for(var t=[],r=0;r>1],o=[],i=[],a=[],r=0;r"u"?(I=G,M=G):(I=Math.min(I,G),M=Math.max(M,G)),k.push(u({index:G,isScrolling:T,key:p(G),parent:n,style:(ge={height:s.getHeight(G)},$(ge,g==="ltr"?"left":"right",ue),$(ge,"position","absolute"),$(ge,"top",se),$(ge,"width",s.getWidth(G)),ge)}))}),E0&&arguments[0]!==void 0?arguments[0]:{};it(this,e),$(this,"_cellMeasurerCache",void 0),$(this,"_columnIndexOffset",void 0),$(this,"_rowIndexOffset",void 0),$(this,"columnWidth",function(u){var c=u.index;t._cellMeasurerCache.columnWidth({index:c+t._columnIndexOffset})}),$(this,"rowHeight",function(u){var c=u.index;t._cellMeasurerCache.rowHeight({index:c+t._rowIndexOffset})});var n=r.cellMeasurerCache,o=r.columnIndexOffset,i=o===void 0?0:o,a=r.rowIndexOffset,s=a===void 0?0:a;this._cellMeasurerCache=n,this._columnIndexOffset=i,this._rowIndexOffset=s}return ut(e,[{key:"clear",value:function(r,n){this._cellMeasurerCache.clear(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getHeight(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"getWidth",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getWidth(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"has",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.has(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"set",value:function(r,n,o,i){this._cellMeasurerCache.set(r+this._rowIndexOffset,n+this._columnIndexOffset,o,i)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function T1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Lt(e){for(var t=1;t0?new Wh({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:s}):i,o._deferredMeasurementCacheBottomRightGrid=a>0||s>0?new Wh({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:s}):i,o._deferredMeasurementCacheTopRightGrid=a>0?new Wh({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:0}):i),o}return ut(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,i):i,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,s):s}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a,u=this.props,c=u.fixedColumnCount,f=u.fixedRowCount,h=Math.max(0,i-c),p=Math.max(0,s-f);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:i,rowIndex:p}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:h,rowIndex:p}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:i,rowIndex:s}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:h,rowIndex:s}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var n=this.props,o=n.scrollLeft,i=n.scrollTop;if(o>0||i>0){var a={};o>0&&(a.scrollLeft=o),i>0&&(a.scrollTop=i),this.setState(a)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var n=this.props,o=n.onScroll,i=n.onSectionRendered;n.onScrollbarPresenceChange,n.scrollLeft;var a=n.scrollToColumn;n.scrollTop;var s=n.scrollToRow,u=dl(n,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),this.props.width===0||this.props.height===0)return null;var c=this.state,f=c.scrollLeft,h=c.scrollTop;return N.createElement("div",{style:this._containerOuterStyle},N.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(u),this._renderTopRightGrid(Lt({},u,{onScroll:o,scrollLeft:f}))),N.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(Lt({},u,{onScroll:o,scrollTop:h})),this._renderBottomRightGrid(Lt({},u,{onScroll:o,onSectionRendered:i,scrollLeft:f,scrollToColumn:a,scrollToRow:s,scrollTop:h}))))}},{key:"_getBottomGridHeight",value:function(n){var o=n.height,i=this._getTopGridHeight(n);return o-i}},{key:"_getLeftGridWidth",value:function(n){var o=n.fixedColumnCount,i=n.columnWidth;if(this._leftGridWidth==null)if(typeof i=="function"){for(var a=0,s=0;s=0?n.scrollLeft:o.scrollLeft,scrollTop:n.scrollTop!=null&&n.scrollTop>=0?n.scrollTop:o.scrollTop}:null}}]),t}(N.PureComponent);$(Ff,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1});Ff.propTypes={};xs(Ff);var jR=function(e){Xt(t,e);function t(r,n){var o;return it(this,t),o=Qt(this,It(t).call(this,r,n)),o.state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},o._onScroll=o._onScroll.bind(Y(o)),o}return ut(t,[{key:"render",value:function(){var n=this.props.children,o=this.state,i=o.clientHeight,a=o.clientWidth,s=o.scrollHeight,u=o.scrollLeft,c=o.scrollTop,f=o.scrollWidth;return n({clientHeight:i,clientWidth:a,onScroll:this._onScroll,scrollHeight:s,scrollLeft:u,scrollTop:c,scrollWidth:f})}},{key:"_onScroll",value:function(n){var o=n.clientHeight,i=n.clientWidth,a=n.scrollHeight,s=n.scrollLeft,u=n.scrollTop,c=n.scrollWidth;this.setState({clientHeight:o,clientWidth:i,scrollHeight:a,scrollLeft:s,scrollTop:u,scrollWidth:c})}}]),t}(N.PureComponent);jR.propTypes={};function D$(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.defaultSortBy,n=t.defaultSortDirection,o=n===void 0?{}:n;if(!e)throw Error('Required parameter "sortCallback" not specified');var i=r||[],a={};i.forEach(function(u){a[u]=o[u]!==void 0?o[u]:"ASC"});function s(u){var c=u.defaultSortDirection,f=u.event,h=u.sortBy;if(f.shiftKey)a[h]!==void 0?a[h]=a[h]==="ASC"?"DESC":"ASC":(a[h]=c,i.push(h));else if(f.ctrlKey||f.metaKey){var p=i.indexOf(h);p>=0&&(i.splice(p,1),delete a[h])}else{i.length=0,i.push(h);var S=Object.keys(a);S.forEach(function(_){_!==h&&delete a[_]}),a[h]!==void 0?a[h]=a[h]==="ASC"?"DESC":"ASC":a[h]=c}e({sortBy:i,sortDirection:a})}return{sort:s,sortBy:i,sortDirection:a}}function AR(e){var t=e.dataKey,r=e.rowData;return typeof r.get=="function"?r.get(t):r[t]}function MR(e){var t=e.cellData;return t==null?"":String(t)}function mg(e){var t=e.className,r=e.columns,n=e.style;return N.createElement("div",{className:t,role:"row",style:n},r)}mg.propTypes=null;var Mn={ASC:"ASC",DESC:"DESC"};function vg(e){var t=e.sortDirection,r=Kr("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===Mn.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===Mn.DESC});return N.createElement("svg",{className:r,width:18,height:18,viewBox:"0 0 24 24"},t===Mn.ASC?N.createElement("path",{d:"M7 14l5-5 5 5z"}):N.createElement("path",{d:"M7 10l5 5 5-5z"}),N.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}vg.propTypes={};function gg(e){var t=e.dataKey,r=e.label,n=e.sortBy,o=e.sortDirection,i=n===t,a=[N.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:typeof r=="string"?r:null},r)];return i&&a.push(N.createElement(vg,{key:"SortIndicator",sortDirection:o})),a}gg.propTypes=null;function yg(e){var t=e.className,r=e.columns,n=e.index,o=e.key,i=e.onRowClick,a=e.onRowDoubleClick,s=e.onRowMouseOut,u=e.onRowMouseOver,c=e.onRowRightClick,f=e.rowData,h=e.style,p={"aria-rowindex":n+1};return(i||a||s||u||c)&&(p["aria-label"]="row",p.tabIndex=0,i&&(p.onClick=function(S){return i({event:S,index:n,rowData:f})}),a&&(p.onDoubleClick=function(S){return a({event:S,index:n,rowData:f})}),s&&(p.onMouseOut=function(S){return s({event:S,index:n,rowData:f})}),u&&(p.onMouseOver=function(S){return u({event:S,index:n,rowData:f})}),c&&(p.onContextMenu=function(S){return c({event:S,index:n,rowData:f})})),N.createElement("div",_e({},p,{className:t,key:o,role:"row",style:h}),r)}yg.propTypes=null;var _g=function(e){Xt(t,e);function t(){return it(this,t),Qt(this,It(t).apply(this,arguments))}return t}(N.Component);$(_g,"defaultProps",{cellDataGetter:AR,cellRenderer:MR,defaultSortDirection:Mn.ASC,flexGrow:0,flexShrink:1,headerRenderer:gg,style:{}});_g.propTypes={};function O1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ei(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a;this.Grid&&this.Grid.recomputeGridSize({rowIndex:s,columnIndex:i})}},{key:"recomputeRowHeights",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:n})}},{key:"scrollToPosition",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:n})}},{key:"scrollToRow",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:n})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var n=fs.findDOMNode(this.Grid),o=n.clientWidth||0,i=n.offsetWidth||0;return i-o}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var n=this,o=this.props,i=o.children,a=o.className,s=o.disableHeader,u=o.gridClassName,c=o.gridStyle,f=o.headerHeight,h=o.headerRowRenderer,p=o.height,S=o.id,_=o.noRowsRenderer,y=o.rowClassName,C=o.rowStyle,v=o.scrollToIndex,g=o.style,w=o.width,T=this.state.scrollbarWidth,O=s?p:p-f,k=typeof y=="function"?y({index:-1}):y,b=typeof C=="function"?C({index:-1}):C;return this._cachedColumnStyles=[],N.Children.toArray(i).forEach(function(E,P){var I=n._getFlexStyleForColumn(E,E.props.style);n._cachedColumnStyles[P]=Ei({overflow:"hidden"},I)}),N.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":N.Children.toArray(i).length,"aria-rowcount":this.props.rowCount,className:Kr("ReactVirtualized__Table",a),id:S,role:"grid",style:g},!s&&h({className:Kr("ReactVirtualized__Table__headerRow",k),columns:this._getHeaderColumns(),style:Ei({height:f,overflow:"hidden",paddingRight:T,width:w},b)}),N.createElement(An,_e({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:Kr("ReactVirtualized__Table__Grid",u),cellRenderer:this._createRow,columnWidth:w,columnCount:1,height:O,id:void 0,noContentRenderer:_,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:T,scrollToRow:v,style:Ei({},c,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(n){var o=n.column,i=n.columnIndex,a=n.isScrolling,s=n.parent,u=n.rowData,c=n.rowIndex,f=this.props.onColumnClick,h=o.props,p=h.cellDataGetter,S=h.cellRenderer,_=h.className,y=h.columnData,C=h.dataKey,v=h.id,g=p({columnData:y,dataKey:C,rowData:u}),w=S({cellData:g,columnData:y,columnIndex:i,dataKey:C,isScrolling:a,parent:s,rowData:u,rowIndex:c}),T=function(E){f&&f({columnData:y,dataKey:C,event:E})},O=this._cachedColumnStyles[i],k=typeof w=="string"?w:null;return N.createElement("div",{"aria-colindex":i+1,"aria-describedby":v,className:Kr("ReactVirtualized__Table__rowColumn",_),key:"Row"+c+"-Col"+i,onClick:T,role:"gridcell",style:O,title:k},w)}},{key:"_createHeader",value:function(n){var o=n.column,i=n.index,a=this.props,s=a.headerClassName,u=a.headerStyle,c=a.onHeaderClick,f=a.sort,h=a.sortBy,p=a.sortDirection,S=o.props,_=S.columnData,y=S.dataKey,C=S.defaultSortDirection,v=S.disableSort,g=S.headerRenderer,w=S.id,T=S.label,O=!v&&f,k=Kr("ReactVirtualized__Table__headerColumn",s,o.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:O}),b=this._getFlexStyleForColumn(o,Ei({},u,{},o.props.headerStyle)),E=g({columnData:_,dataKey:y,disableSort:v,label:T,sortBy:h,sortDirection:p}),P,I,M,F,q;if(O||c){var G=h!==y,ue=G?C:p===Mn.DESC?Mn.ASC:Mn.DESC,se=function(ie){O&&f({defaultSortDirection:C,event:ie,sortBy:y,sortDirection:ue}),c&&c({columnData:_,dataKey:y,event:ie})},ge=function(ie){(ie.key==="Enter"||ie.key===" ")&&se(ie)};q=o.props["aria-label"]||T||y,F="none",M=0,P=se,I=ge}return h===y&&(F=p===Mn.ASC?"ascending":"descending"),N.createElement("div",{"aria-label":q,"aria-sort":F,className:k,id:w,key:"Header-Col"+i,onClick:P,onKeyDown:I,role:"columnheader",style:b,tabIndex:M},E)}},{key:"_createRow",value:function(n){var o=this,i=n.rowIndex,a=n.isScrolling,s=n.key,u=n.parent,c=n.style,f=this.props,h=f.children,p=f.onRowClick,S=f.onRowDoubleClick,_=f.onRowRightClick,y=f.onRowMouseOver,C=f.onRowMouseOut,v=f.rowClassName,g=f.rowGetter,w=f.rowRenderer,T=f.rowStyle,O=this.state.scrollbarWidth,k=typeof v=="function"?v({index:i}):v,b=typeof T=="function"?T({index:i}):T,E=g({index:i}),P=N.Children.toArray(h).map(function(F,q){return o._createColumn({column:F,columnIndex:q,isScrolling:a,parent:u,rowData:E,rowIndex:i,scrollbarWidth:O})}),I=Kr("ReactVirtualized__Table__row",k),M=Ei({},c,{height:this._getRowHeight(i),overflow:"hidden",paddingRight:O},b);return w({className:I,columns:P,index:i,isScrolling:a,key:s,onRowClick:p,onRowDoubleClick:S,onRowRightClick:_,onRowMouseOver:y,onRowMouseOut:C,rowData:E,style:M})}},{key:"_getFlexStyleForColumn",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i="".concat(n.props.flexGrow," ").concat(n.props.flexShrink," ").concat(n.props.width,"px"),a=Ei({},o,{flex:i,msFlex:i,WebkitFlex:i});return n.props.maxWidth&&(a.maxWidth=n.props.maxWidth),n.props.minWidth&&(a.minWidth=n.props.minWidth),a}},{key:"_getHeaderColumns",value:function(){var n=this,o=this.props,i=o.children,a=o.disableHeader,s=a?[]:N.Children.toArray(i);return s.map(function(u,c){return n._createHeader({column:u,index:c})})}},{key:"_getRowHeight",value:function(n){var o=this.props.rowHeight;return typeof o=="function"?o({index:n}):o}},{key:"_onScroll",value:function(n){var o=n.clientHeight,i=n.scrollHeight,a=n.scrollTop,s=this.props.onScroll;s({clientHeight:o,scrollHeight:i,scrollTop:a})}},{key:"_onSectionRendered",value:function(n){var o=n.rowOverscanStartIndex,i=n.rowOverscanStopIndex,a=n.rowStartIndex,s=n.rowStopIndex,u=this.props.onRowsRendered;u({overscanStartIndex:o,overscanStopIndex:i,startIndex:a,stopIndex:s})}},{key:"_setRef",value:function(n){this.Grid=n}},{key:"_setScrollbarWidth",value:function(){var n=this.getScrollbarWidth();this.setState({scrollbarWidth:n})}}]),t}(N.PureComponent);$(Sg,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:lg,overscanRowCount:10,rowRenderer:yg,headerRowRenderer:mg,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}});Sg.propTypes={};var go=[],Ol=null,Ko=null;function LR(){Ko&&(Ko=null,document.body&&Ol!=null&&(document.body.style.pointerEvents=Ol),Ol=null)}function F$(){LR(),go.forEach(function(e){return e.__resetIsScrolling()})}function W$(){Ko&&Sa(Ko);var e=0;go.forEach(function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)}),Ko=ag(F$,e)}function NR(e){e.currentTarget===window&&Ol==null&&document.body&&(Ol=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),W$(),go.forEach(function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()})}function k1(e,t){go.some(function(r){return r.props.scrollElement===t})||t.addEventListener("scroll",NR),go.push(e)}function P1(e,t){go=go.filter(function(r){return r!==e}),go.length||(t.removeEventListener("scroll",NR),Ko&&(Sa(Ko),LR()))}var wg=function(t){return t===window},hl=function(t){return t.getBoundingClientRect()};function I1(e,t){if(e)if(wg(e)){var r=window,n=r.innerHeight,o=r.innerWidth;return{height:typeof n=="number"?n:0,width:typeof o=="number"?o:0}}else return hl(e);else return{height:t.serverHeight,width:t.serverWidth}}function B$(e,t){if(wg(t)&&document.documentElement){var r=document.documentElement,n=hl(e),o=hl(r);return{top:n.top-o.top,left:n.left-o.left}}else{var i=$R(t),a=hl(e),s=hl(t);return{top:a.top+i.top-s.top,left:a.left+i.left-s.left}}}function $R(e){return wg(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}var z1,j1;function A1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function U$(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:this.props.scrollElement,o=this.props.onResize,i=this.state,a=i.height,s=i.width,u=this._child||fs.findDOMNode(this);if(u instanceof Element&&n){var c=B$(u,n);this._positionFromTop=c.top,this._positionFromLeft=c.left}var f=I1(n,this.props);(a!==f.height||s!==f.width)&&(this.setState({height:f.height,width:f.width}),o({height:f.height,width:f.width}))}},{key:"componentDidMount",value:function(){var n=this.props.scrollElement;this._detectElementResize=xR(),this.updatePosition(n),n&&(k1(this,n),this._registerResizeListener(n)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(n,o){var i=this.props.scrollElement,a=n.scrollElement;a!==i&&a!=null&&i!=null&&(this.updatePosition(i),P1(this,a),k1(this,i),this._unregisterResizeListener(a),this._registerResizeListener(i))}},{key:"componentWillUnmount",value:function(){var n=this.props.scrollElement;n&&(P1(this,n),this._unregisterResizeListener(n)),this._isMounted=!1}},{key:"render",value:function(){var n=this.props.children,o=this.state,i=o.isScrolling,a=o.scrollTop,s=o.scrollLeft,u=o.height,c=o.width;return n({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:u,isScrolling:i,scrollLeft:s,scrollTop:a,width:c})}}]),t}(N.PureComponent),$(z1,"propTypes",null),j1);$(FR,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:H$,scrollElement:DR(),serverHeight:0,serverWidth:0});const q$=Object.freeze(Object.defineProperty({__proto__:null,ArrowKeyStepper:sg,AutoSizer:CR,CellMeasurer:RR,CellMeasurerCache:X4,Collection:ug,Column:_g,ColumnSizer:TR,Grid:An,InfiniteLoader:cg,List:OR,Masonry:pg,MultiGrid:Ff,ScrollSync:jR,SortDirection:Mn,SortIndicator:vg,Table:Sg,WindowScroller:FR,accessibilityOverscanIndicesGetter:lg,createMasonryCellPositioner:$$,createTableMultiSort:D$,defaultCellRangeRenderer:bR,defaultOverscanIndicesGetter:wR,defaultTableCellDataGetter:AR,defaultTableCellRenderer:MR,defaultTableHeaderRenderer:gg,defaultTableHeaderRowRenderer:mg,defaultTableRowRenderer:yg},Symbol.toStringTag,{value:"Module"})),G$=xa(q$);function Pn(e,t,r){return t<=e&&e<=r}function Wf(e){if(e===void 0)return{};if(e===Object(e))return e;throw TypeError("Could not convert argument to dictionary")}function V$(e){for(var t=String(e),r=t.length,n=0,o=[];n57343)o.push(i);else if(56320<=i&&i<=57343)o.push(65533);else if(55296<=i&&i<=56319)if(n===r-1)o.push(65533);else{var a=e.charCodeAt(n+1);if(56320<=a&&a<=57343){var s=i&1023,u=a&1023;o.push(65536+(s<<10)+u),n+=1}else o.push(65533)}n+=1}return o}function K$(e){for(var t="",r=0;r>10)+55296,(n&1023)+56320))}return t}var Cc=-1;function bg(e){this.tokens=[].slice.call(e)}bg.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():Cc},prepend:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.unshift(t.pop());else this.tokens.unshift(e)},push:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.push(t.shift());else this.tokens.push(e)}};var ba=-1;function Bh(e,t){if(e)throw TypeError("Decoder error");return t||65533}var Rc="utf-8";function Tc(e,t){if(!(this instanceof Tc))return new Tc(e,t);if(e=e!==void 0?String(e).toLowerCase():Rc,e!==Rc)throw new Error("Encoding not supported. Only utf-8 is supported");t=Wf(t),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!t.fatal,this._ignoreBOM=!!t.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}Tc.prototype={decode:function(t,r){var n;typeof t=="object"&&t instanceof ArrayBuffer?n=new Uint8Array(t):typeof t=="object"&&"buffer"in t&&t.buffer instanceof ArrayBuffer?n=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):n=new Uint8Array(0),r=Wf(r),this._streaming||(this._decoder=new Y$({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!r.stream;for(var o=new bg(n),i=[],a;!o.endOfStream()&&(a=this._decoder.handler(o,o.read()),a!==ba);)a!==null&&(Array.isArray(a)?i.push.apply(i,a):i.push(a));if(!this._streaming){do{if(a=this._decoder.handler(o,o.read()),a===ba)break;a!==null&&(Array.isArray(a)?i.push.apply(i,a):i.push(a))}while(!o.endOfStream());this._decoder=null}return i.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(i[0]===65279?(this._BOMseen=!0,i.shift()):this._BOMseen=!0),K$(i)}};function Ec(e,t){if(!(this instanceof Ec))return new Ec(e,t);if(e=e!==void 0?String(e).toLowerCase():Rc,e!==Rc)throw new Error("Encoding not supported. Only utf-8 is supported");t=Wf(t),this._streaming=!1,this._encoder=null,this._options={fatal:!!t.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}Ec.prototype={encode:function(t,r){t=t?String(t):"",r=Wf(r),this._streaming||(this._encoder=new Q$(this._options)),this._streaming=!!r.stream;for(var n=[],o=new bg(V$(t)),i;!o.endOfStream()&&(i=this._encoder.handler(o,o.read()),i!==ba);)Array.isArray(i)?n.push.apply(n,i):n.push(i);if(!this._streaming){for(;i=this._encoder.handler(o,o.read()),i!==ba;)Array.isArray(i)?n.push.apply(n,i):n.push(i);this._encoder=null}return new Uint8Array(n)}};function Y$(e){var t=e.fatal,r=0,n=0,o=0,i=128,a=191;this.handler=function(s,u){if(u===Cc&&o!==0)return o=0,Bh(t);if(u===Cc)return ba;if(o===0){if(Pn(u,0,127))return u;if(Pn(u,194,223))o=1,r=u-192;else if(Pn(u,224,239))u===224&&(i=160),u===237&&(a=159),o=2,r=u-224;else if(Pn(u,240,244))u===240&&(i=144),u===244&&(a=143),o=3,r=u-240;else return Bh(t);return r=r<<6*o,null}if(!Pn(u,i,a))return r=o=n=0,i=128,a=191,s.prepend(u),Bh(t);if(i=128,a=191,n+=1,r+=u-128<<6*(o-n),n!==o)return null;var c=r;return r=o=n=0,c}}function Q$(e){e.fatal,this.handler=function(t,r){if(r===Cc)return ba;if(Pn(r,0,127))return r;var n,o;Pn(r,128,2047)?(n=1,o=192):Pn(r,2048,65535)?(n=2,o=224):Pn(r,65536,1114111)&&(n=3,o=240);for(var i=[(r>>6*n)+o];n>0;){var a=r>>6*(n-1);i.push(128|a&63),n-=1}return i}}const X$=Object.freeze(Object.defineProperty({__proto__:null,TextDecoder:Tc,TextEncoder:Ec},Symbol.toStringTag,{value:"Module"})),J$=xa(X$);var M1={},L1;function Z$(){return L1||(L1=1,function(e){if(e.fetch)return;var t={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(t.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=function(b){return b&&DataView.prototype.isPrototypeOf(b)},o=ArrayBuffer.isView||function(b){return b&&r.indexOf(Object.prototype.toString.call(b))>-1};function i(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(b))throw new TypeError("Invalid character in header field name");return b.toLowerCase()}function a(b){return typeof b!="string"&&(b=String(b)),b}function s(b){var E={next:function(){var P=b.shift();return{done:P===void 0,value:P}}};return t.iterable&&(E[Symbol.iterator]=function(){return E}),E}function u(b){this.map={},b instanceof u?b.forEach(function(E,P){this.append(P,E)},this):Array.isArray(b)?b.forEach(function(E){this.append(E[0],E[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(E){this.append(E,b[E])},this)}u.prototype.append=function(b,E){b=i(b),E=a(E);var P=this.map[b];this.map[b]=P?P+","+E:E},u.prototype.delete=function(b){delete this.map[i(b)]},u.prototype.get=function(b){return b=i(b),this.has(b)?this.map[b]:null},u.prototype.has=function(b){return this.map.hasOwnProperty(i(b))},u.prototype.set=function(b,E){this.map[i(b)]=a(E)},u.prototype.forEach=function(b,E){for(var P in this.map)this.map.hasOwnProperty(P)&&b.call(E,this.map[P],P,this)},u.prototype.keys=function(){var b=[];return this.forEach(function(E,P){b.push(P)}),s(b)},u.prototype.values=function(){var b=[];return this.forEach(function(E){b.push(E)}),s(b)},u.prototype.entries=function(){var b=[];return this.forEach(function(E,P){b.push([P,E])}),s(b)},t.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);function c(b){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}function f(b){return new Promise(function(E,P){b.onload=function(){E(b.result)},b.onerror=function(){P(b.error)}})}function h(b){var E=new FileReader,P=f(E);return E.readAsArrayBuffer(b),P}function p(b){var E=new FileReader,P=f(E);return E.readAsText(b),P}function S(b){for(var E=new Uint8Array(b),P=new Array(E.length),I=0;I-1?E:b}function g(b,E){E=E||{};var P=E.body;if(b instanceof g){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,E.headers||(this.headers=new u(b.headers)),this.method=b.method,this.mode=b.mode,!P&&b._bodyInit!=null&&(P=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=E.credentials||this.credentials||"omit",(E.headers||!this.headers)&&(this.headers=new u(E.headers)),this.method=v(E.method||this.method||"GET"),this.mode=E.mode||this.mode||null,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(P)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})};function w(b){var E=new FormData;return b.trim().split("&").forEach(function(P){if(P){var I=P.split("="),M=I.shift().replace(/\+/g," "),F=I.join("=").replace(/\+/g," ");E.append(decodeURIComponent(M),decodeURIComponent(F))}}),E}function T(b){var E=new u,P=b.replace(/\r?\n[\t ]+/g," ");return P.split(/\r?\n/).forEach(function(I){var M=I.split(":"),F=M.shift().trim();if(F){var q=M.join(":").trim();E.append(F,q)}}),E}y.call(g.prototype);function O(b,E){E||(E={}),this.type="default",this.status=E.status===void 0?200:E.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in E?E.statusText:"OK",this.headers=new u(E.headers),this.url=E.url||"",this._initBody(b)}y.call(O.prototype),O.prototype.clone=function(){return new O(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},O.error=function(){var b=new O(null,{status:0,statusText:""});return b.type="error",b};var k=[301,302,303,307,308];O.redirect=function(b,E){if(k.indexOf(E)===-1)throw new RangeError("Invalid status code");return new O(null,{status:E,headers:{location:b}})},e.Headers=u,e.Request=g,e.Response=O,e.fetch=function(b,E){return new Promise(function(P,I){var M=new g(b,E),F=new XMLHttpRequest;F.onload=function(){var q={status:F.status,statusText:F.statusText,headers:T(F.getAllResponseHeaders()||"")};q.url="responseURL"in F?F.responseURL:q.headers.get("X-Request-URL");var G="response"in F?F.response:F.responseText;P(new O(G,q))},F.onerror=function(){I(new TypeError("Network request failed"))},F.ontimeout=function(){I(new TypeError("Network request failed"))},F.open(M.method,M.url,!0),M.credentials==="include"?F.withCredentials=!0:M.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&t.blob&&(F.responseType="blob"),M.headers.forEach(function(q,G){F.setRequestHeader(G,q)}),F.send(typeof M._bodyInit>"u"?null:M._bodyInit)})},e.fetch.polyfill=!0}(typeof self<"u"?self:Do)),M1}function N1(e,t){for(var r=0;r0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");Fg(this)}},Cn(e,[{key:"closed",get:function(){return Uo(this)===!1?Promise.reject(cu("closed")):this._closedPromise}}]),e}(),TD=function(){function e(r){if(!On(r))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(Pi(r._readableStreamController)===!1)throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(oo(r))throw new TypeError("This stream has already been locked for exclusive reading by another reader");hT(this,r),this._readIntoRequests=[]}var t=e.prototype;return t.cancel=function(n){return ml(this)?this._ownerReadableStream===void 0?Promise.reject(Mc("cancel")):pT(this,n):Promise.reject(fu("cancel"))},t.read=function(n){return ml(this)?this._ownerReadableStream===void 0?Promise.reject(Mc("read from")):ArrayBuffer.isView(n)?Pc(n.buffer)===!0?Promise.reject(new TypeError("Cannot read into a view onto a detached ArrayBuffer")):n.byteLength===0?Promise.reject(new TypeError("view must have non-zero byteLength")):ED(this,n,!0):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(fu("read"))},t.releaseLock=function(){if(!ml(this))throw fu("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");Fg(this)}},Cn(e,[{key:"closed",get:function(){return ml(this)?this._closedPromise:Promise.reject(fu("closed"))}}]),e}();function ml(e){return!(!Ma(e)||!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests"))}function Uo(e){return!(!Ma(e)||!Object.prototype.hasOwnProperty.call(e,"_readRequests"))}function hT(e,t){e._ownerReadableStream=t,t._reader=e,t._state==="readable"?WD(e):t._state==="closed"?UD(e):(BD(e,t._storedError),e._closedPromise.catch(function(){}))}function pT(e,t){var r=e._ownerReadableStream;return Yo(r,t)}function Fg(e){e._ownerReadableStream._state==="readable"?OT(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):HD(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._closedPromise.catch(function(){}),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function ED(e,t,r){r===void 0&&(r=!1);var n=e._ownerReadableStream;return n._disturbed=!0,n._state==="errored"?Promise.reject(n._storedError):ID(n._readableStreamController,t,r)}function Wg(e,t){t===void 0&&(t=!1);var r=e._ownerReadableStream;return r._disturbed=!0,r._state==="closed"?Promise.resolve(bo(void 0,!0,t)):r._state==="errored"?Promise.reject(r._storedError):r._readableStreamController[Ag](t)}var mT=function(){function e(){throw new TypeError}var t=e.prototype;return t.close=function(){if(uu(this)===!1)throw du("close");if(Ac(this)===!1)throw new TypeError("The stream is not in a state that permits close");zc(this)},t.enqueue=function(n){if(uu(this)===!1)throw du("enqueue");if(Ac(this)===!1)throw new TypeError("The stream is not in a state that permits enqueue");return jc(this,n)},t.error=function(n){if(uu(this)===!1)throw du("error");xo(this,n)},t[jg]=function(r){La(this);var n=this._cancelAlgorithm(r);return Ic(this),n},t[Ag]=function(r){var n=this._controlledReadableStream;if(this._queue.length>0){var o=pD(this);return this._closeRequested===!0&&this._queue.length===0?(Ic(this),Ts(n)):is(this),Promise.resolve(bo(o,!1,r))}var i=uT(n,r);return is(this),i},Cn(e,[{key:"desiredSize",get:function(){if(uu(this)===!1)throw du("desiredSize");return Bg(this)}}]),e}();function uu(e){return!(!Ma(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream"))}function is(e){var t=vT(e);if(t!==!1){if(e._pulling===!0){e._pullAgain=!0;return}e._pulling=!0;var r=e._pullAlgorithm();r.then(function(){if(e._pulling=!1,e._pullAgain===!0)return e._pullAgain=!1,is(e)},function(n){xo(e,n)}).catch(In)}}function vT(e){var t=e._controlledReadableStream;if(Ac(e)===!1||e._started===!1)return!1;if(oo(t)===!0&&Gf(t)>0)return!0;var r=Bg(e);return r>0}function Ic(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function zc(e){var t=e._controlledReadableStream;e._closeRequested=!0,e._queue.length===0&&(Ic(e),Ts(t))}function jc(e,t){var r=e._controlledReadableStream;if(oo(r)===!0&&Gf(r)>0)$g(r,t,!1);else{var n;try{n=e._strategySizeAlgorithm(t)}catch(o){throw xo(e,o),o}try{mD(e,t,n)}catch(o){throw xo(e,o),o}}is(e)}function xo(e,t){var r=e._controlledReadableStream;r._state==="readable"&&(La(e),Ic(e),cT(r,t))}function Bg(e){var t=e._controlledReadableStream,r=t._state;return r==="errored"?null:r==="closed"?0:e._strategyHWM-e._queueTotalSize}function OD(e){return vT(e)!==!0}function Ac(e){var t=e._controlledReadableStream._state;return e._closeRequested===!1&&t==="readable"}function gT(e,t,r,n,o,i,a){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,La(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=a,t._strategyHWM=i,t._pullAlgorithm=n,t._cancelAlgorithm=o,e._readableStreamController=t;var s=r();Promise.resolve(s).then(function(){t._started=!0,is(t)},function(u){xo(t,u)}).catch(In)}function kD(e,t,r,n){var o=Object.create(mT.prototype);function i(){return sT(t,"start",[o])}var a=kc(t,"pull",0,[o]),s=kc(t,"cancel",1,[]);gT(e,o,i,a,s,r,n)}var PD=function(){function e(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly")}var t=e.prototype;return t.respond=function(n){if(Gh(this)===!1)throw Vh("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(Pc(this._view.buffer)===!0)throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");ND(this._associatedReadableByteStreamController,n)},t.respondWithNewView=function(n){if(Gh(this)===!1)throw Vh("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(n))throw new TypeError("You can only respond with array buffer views");if(Pc(n.buffer)===!0)throw new TypeError("The supplied view's buffer has been detached and so cannot be used as a response");$D(this._associatedReadableByteStreamController,n)},Cn(e,[{key:"view",get:function(){if(Gh(this)===!1)throw Vh("view");return this._view}}]),e}(),yT=function(){function e(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly")}var t=e.prototype;return t.close=function(){if(Pi(this)===!1)throw il("close");if(this._closeRequested===!0)throw new TypeError("The stream has already been closed; do not close it again!");var n=this._controlledReadableByteStream._state;if(n!=="readable")throw new TypeError("The stream (in "+n+" state) is not in the readable state and cannot be closed");MD(this)},t.enqueue=function(n){if(Pi(this)===!1)throw il("enqueue");if(this._closeRequested===!0)throw new TypeError("stream is closed or draining");var o=this._controlledReadableByteStream._state;if(o!=="readable")throw new TypeError("The stream (in "+o+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(n))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");if(Pc(n.buffer)===!0)throw new TypeError("Cannot enqueue a view onto a detached ArrayBuffer");LD(this,n)},t.error=function(n){if(Pi(this)===!1)throw il("error");Es(this,n)},t[jg]=function(r){if(this._pendingPullIntos.length>0){var n=this._pendingPullIntos[0];n.bytesFilled=0}La(this);var o=this._cancelAlgorithm(r);return Vf(this),o},t[Ag]=function(r){var n=this._controlledReadableByteStream;if(this._queueTotalSize>0){var o=this._queue.shift();this._queueTotalSize-=o.byteLength,xT(this);var i;try{i=new Uint8Array(o.buffer,o.byteOffset,o.byteLength)}catch(f){return Promise.reject(f)}return Promise.resolve(bo(i,!1,r))}var a=this._autoAllocateChunkSize;if(a!==void 0){var s;try{s=new ArrayBuffer(a)}catch(f){return Promise.reject(f)}var u={buffer:s,byteOffset:0,byteLength:a,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(u)}var c=uT(n,r);return si(this),c},Cn(e,[{key:"byobRequest",get:function(){if(Pi(this)===!1)throw il("byobRequest");if(this._byobRequest===void 0&&this._pendingPullIntos.length>0){var n=this._pendingPullIntos[0],o=new Uint8Array(n.buffer,n.byteOffset+n.bytesFilled,n.byteLength-n.bytesFilled),i=Object.create(PD.prototype);FD(i,this,o),this._byobRequest=i}return this._byobRequest}},{key:"desiredSize",get:function(){if(Pi(this)===!1)throw il("desiredSize");return TT(this)}}]),e}();function Pi(e){return!(!Ma(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream"))}function Gh(e){return!(!Ma(e)||!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController"))}function si(e){var t=AD(e);if(t!==!1){if(e._pulling===!0){e._pullAgain=!0;return}e._pulling=!0;var r=e._pullAlgorithm();r.then(function(){e._pulling=!1,e._pullAgain===!0&&(e._pullAgain=!1,si(e))},function(n){Es(e,n)}).catch(In)}}function _T(e){Hg(e),e._pendingPullIntos=[]}function Ug(e,t){var r=!1;e._state==="closed"&&(r=!0);var n=ST(t);t.readerType==="default"?$g(e,n,r):CD(e,n,r)}function ST(e){var t=e.bytesFilled,r=e.elementSize;return new e.ctor(e.buffer,e.byteOffset,t/r)}function Nu(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function wT(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,o=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),i=t.bytesFilled+o,a=i-i%r,s=o,u=!1;a>n&&(s=a-t.bytesFilled,u=!0);for(var c=e._queue;s>0;){var f=c[0],h=Math.min(s,f.byteLength),p=t.byteOffset+t.bytesFilled;cD(t.buffer,p,f.buffer,f.byteOffset,h),f.byteLength===h?c.shift():(f.byteOffset+=h,f.byteLength-=h),e._queueTotalSize-=h,bT(e,h,t),s-=h}return u}function bT(e,t,r){Hg(e),r.bytesFilled+=t}function xT(e){e._queueTotalSize===0&&e._closeRequested===!0?(Vf(e),Ts(e._controlledReadableByteStream)):si(e)}function Hg(e){e._byobRequest!==void 0&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function CT(e){for(;e._pendingPullIntos.length>0;){if(e._queueTotalSize===0)return;var t=e._pendingPullIntos[0];wT(e,t)===!0&&(qg(e),Ug(e._controlledReadableByteStream,t))}}function ID(e,t,r){var n=e._controlledReadableByteStream,o=1;t.constructor!==DataView&&(o=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,a=qf(t.buffer),s={buffer:a,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:o,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(s),G1(n,r);if(n._state==="closed"){var u=new t.constructor(s.buffer,s.byteOffset,0);return Promise.resolve(bo(u,!0,r))}if(e._queueTotalSize>0){if(wT(e,s)===!0){var c=ST(s);return xT(e),Promise.resolve(bo(c,!1,r))}if(e._closeRequested===!0){var f=new TypeError("Insufficient bytes to fill elements in the given buffer");return Es(e,f),Promise.reject(f)}}e._pendingPullIntos.push(s);var h=G1(n,r);return si(e),h}function zD(e,t){t.buffer=qf(t.buffer);var r=e._controlledReadableByteStream;if(Dg(r)===!0)for(;fT(r)>0;){var n=qg(e);Ug(r,n)}}function jD(e,t,r){if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range");if(bT(e,t,r),!(r.bytesFilled0){var o=r.byteOffset+r.bytesFilled,i=r.buffer.slice(o-n,o);Nu(e,i,0,i.byteLength)}r.buffer=qf(r.buffer),r.bytesFilled-=n,Ug(e._controlledReadableByteStream,r),CT(e)}}function RT(e,t){var r=e._pendingPullIntos[0],n=e._controlledReadableByteStream;if(n._state==="closed"){if(t!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");zD(e,r)}else jD(e,t,r);si(e)}function qg(e){var t=e._pendingPullIntos.shift();return Hg(e),t}function AD(e){var t=e._controlledReadableByteStream;if(t._state!=="readable"||e._closeRequested===!0||e._started===!1)return!1;if(dT(t)===!0&&Gf(t)>0||Dg(t)===!0&&fT(t)>0)return!0;var r=TT(e);return r>0}function Vf(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function MD(e){var t=e._controlledReadableByteStream;if(e._queueTotalSize>0){e._closeRequested=!0;return}if(e._pendingPullIntos.length>0){var r=e._pendingPullIntos[0];if(r.bytesFilled>0){var n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Es(e,n),n}}Vf(e),Ts(t)}function LD(e,t){var r=e._controlledReadableByteStream,n=t.buffer,o=t.byteOffset,i=t.byteLength,a=qf(n);if(dT(r)===!0)if(Gf(r)===0)Nu(e,a,o,i);else{var s=new Uint8Array(a,o,i);$g(r,s,!1)}else Dg(r)===!0?(Nu(e,a,o,i),CT(e)):Nu(e,a,o,i);si(e)}function Es(e,t){var r=e._controlledReadableByteStream;r._state==="readable"&&(_T(e),La(e),Vf(e),cT(r,t))}function TT(e){var t=e._controlledReadableByteStream,r=t._state;return r==="errored"?null:r==="closed"?0:e._strategyHWM-e._queueTotalSize}function ND(e,t){if(t=Number(t),fD(t)===!1)throw new RangeError("bytesWritten must be a finite");RT(e,t)}function $D(e,t){var r=e._pendingPullIntos[0];if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,RT(e,t.byteLength)}function ET(e,t,r,n,o,i,a){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,_T(t),t._queue=t._queueTotalSize=void 0,La(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=dm(i),t._pullAlgorithm=n,t._cancelAlgorithm=o,t._autoAllocateChunkSize=a,t._pendingPullIntos=[],e._readableStreamController=t;var s=r();Promise.resolve(s).then(function(){t._started=!0,si(t)},function(u){Es(t,u)}).catch(In)}function DD(e,t,r){var n=Object.create(yT.prototype);function o(){return sT(t,"start",[n])}var i=kc(t,"pull",0,[n]),a=kc(t,"cancel",1,[]),s=t.autoAllocateChunkSize;if(s!==void 0&&(s=Number(s),e5(s)===!1||s<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");ET(e,n,o,i,a,r,s)}function FD(e,t,r){e._associatedReadableByteStreamController=t,e._view=r}function V1(e){if(typeof e!="object"||e===null)return!1;var t=Object.getOwnPropertyDescriptor(AbortSignal.prototype,"aborted").get;try{return t.call(e),!0}catch{return!1}}function Oi(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function Mc(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function cu(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}function WD(e){e._closedPromise=new Promise(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r})}function BD(e,t){e._closedPromise=Promise.reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function UD(e){e._closedPromise=Promise.resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function OT(e,t){e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function HD(e,t){e._closedPromise=Promise.reject(t)}function qD(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function fu(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function du(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function Vh(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function il(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}var GD=ko.ReadableStream,VD=Fe.createDataProperty,KD=function(){function e(r){var n=r.highWaterMark;VD(this,"highWaterMark",n)}var t=e.prototype;return t.size=function(n){return n.byteLength},e}(),YD=Fe.createDataProperty,QD=function(){function e(r){var n=r.highWaterMark;YD(this,"highWaterMark",n)}var t=e.prototype;return t.size=function(){return 1},e}();UR("streams:transform-stream:verbose");var XD=Fe.InvokeOrNoop,JD=Fe.CreateAlgorithmFromUnderlyingMethod,ZD=Fe.PromiseCall,kT=Fe.typeIsObject,K1=Fe.ValidateAndNormalizeHighWaterMark;Fe.IsNonNegativeNumber;var Y1=Fe.MakeSizeAlgorithmFromSizeFunction,eF=ko.CreateReadableStream,PT=ko.ReadableStreamDefaultControllerClose,tF=ko.ReadableStreamDefaultControllerEnqueue,rF=ko.ReadableStreamDefaultControllerError,nF=ko.ReadableStreamDefaultControllerGetDesiredSize,oF=ko.ReadableStreamDefaultControllerHasBackpressure,Gg=ko.ReadableStreamDefaultControllerCanCloseOrEnqueue,iF=tn.CreateWritableStream,aF=tn.WritableStreamDefaultControllerErrorIfNeeded,IT=function(){function e(t,r,n){t===void 0&&(t={}),r===void 0&&(r={}),n===void 0&&(n={});var o=r.size,i=r.highWaterMark,a=n.size,s=n.highWaterMark,u=t.writableType;if(u!==void 0)throw new RangeError("Invalid writable type specified");var c=Y1(o);i===void 0&&(i=1),i=K1(i);var f=t.readableType;if(f!==void 0)throw new RangeError("Invalid readable type specified");var h=Y1(a);s===void 0&&(s=0),s=K1(s);var p,S=new Promise(function(y){p=y});zT(this,S,i,c,s,h),sF(this,t);var _=XD(t,"start",[this._transformStreamController]);p(_)}return Cn(e,[{key:"readable",get:function(){if(Q1(this)===!1)throw J1("readable");return this._readable}},{key:"writable",get:function(){if(Q1(this)===!1)throw J1("writable");return this._writable}}]),e}();function lF(e,t,r,n,o,i,a){n===void 0&&(n=1),o===void 0&&(o=function(){return 1}),i===void 0&&(i=0),a===void 0&&(a=function(){return 1});var s=Object.create(IT.prototype),u,c=new Promise(function(p){u=p});zT(s,c,n,o,i,a);var f=Object.create(jT.prototype);AT(s,f,t,r);var h=e();return u(h),s}function zT(e,t,r,n,o,i){function a(){return t}function s(p){return fF(e,p)}function u(p){return dF(e,p)}function c(){return hF(e)}e._writable=iF(a,s,c,u,r,n);function f(){return pF(e)}function h(p){return Yf(e,p),Promise.resolve()}e._readable=eF(a,f,h,o,i),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Qf(e,!0),e._transformStreamController=void 0}function Q1(e){return!(!kT(e)||!Object.prototype.hasOwnProperty.call(e,"_transformStreamController"))}function Kf(e,t){rF(e._readable._readableStreamController,t),Yf(e,t)}function Yf(e,t){MT(e._transformStreamController),aF(e._writable._writableStreamController,t),e._backpressure===!0&&Qf(e,!1)}function Qf(e,t){e._backpressureChangePromise!==void 0&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=new Promise(function(r){e._backpressureChangePromise_resolve=r}),e._backpressure=t}var jT=function(){function e(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly")}var t=e.prototype;return t.enqueue=function(n){if(hu(this)===!1)throw pu("enqueue");LT(this,n)},t.error=function(n){if(hu(this)===!1)throw pu("error");uF(this,n)},t.terminate=function(){if(hu(this)===!1)throw pu("terminate");cF(this)},Cn(e,[{key:"desiredSize",get:function(){if(hu(this)===!1)throw pu("desiredSize");var n=this._controlledTransformStream._readable._readableStreamController;return nF(n)}}]),e}();function hu(e){return!(!kT(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream"))}function AT(e,t,r,n){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=r,t._flushAlgorithm=n}function sF(e,t){var r=Object.create(jT.prototype),n=function(s){try{return LT(r,s),Promise.resolve()}catch(u){return Promise.reject(u)}},o=t.transform;if(o!==void 0){if(typeof o!="function")throw new TypeError("transform is not a method");n=function(s){return ZD(o,t,[s,r])}}var i=JD(t,"flush",0,[r]);AT(e,r,n,i)}function MT(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function LT(e,t){var r=e._controlledTransformStream,n=r._readable._readableStreamController;if(Gg(n)===!1)throw new TypeError("Readable side is not in a state that permits enqueue");try{tF(n,t)}catch(i){throw Yf(r,i),r._readable._storedError}var o=oF(n);o!==r._backpressure&&Qf(r,!0)}function uF(e,t){Kf(e._controlledTransformStream,t)}function X1(e,t){var r=e._transformAlgorithm(t);return r.catch(function(n){throw Kf(e._controlledTransformStream,n),n})}function cF(e){var t=e._controlledTransformStream,r=t._readable._readableStreamController;Gg(r)===!0&&PT(r);var n=new TypeError("TransformStream terminated");Yf(t,n)}function fF(e,t){var r=e._transformStreamController;if(e._backpressure===!0){var n=e._backpressureChangePromise;return n.then(function(){var o=e._writable,i=o._state;if(i==="erroring")throw o._storedError;return X1(r,t)})}return X1(r,t)}function dF(e,t){return Kf(e,t),Promise.resolve()}function hF(e){var t=e._readable,r=e._transformStreamController,n=r._flushAlgorithm();return MT(r),n.then(function(){if(t._state==="errored")throw t._storedError;var o=t._readableStreamController;Gg(o)===!0&&PT(o)}).catch(function(o){throw Kf(e,o),t._storedError})}function pF(e){return Qf(e,!1),e._backpressureChangePromise}var mF={CreateTransformStream:lF,TransformStream:IT};function pu(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function J1(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}var vF=mF.TransformStream;const gF=Object.freeze(Object.defineProperty({__proto__:null,ByteLengthQueuingStrategy:KD,CountQueuingStrategy:QD,ReadableStream:GD,TransformStream:vF,WritableStream:uD},Symbol.toStringTag,{value:"Module"})),yF=xa(gF);function _F(e,t){return fetch(e,t).then(r=>({body:r.body,headers:r.headers,ok:r.ok,status:r.status,statusText:r.statusText,url:r.url}))}let SF=class NT{constructor(t={}){this.h={},t instanceof NT&&t.forEach((r,n)=>this.append(n,r)),Object.getOwnPropertyNames(t).forEach(r=>this.append(r,t[r]))}append(t,r){t=t.toLowerCase(),Array.isArray(this.h[t])||(this.h[t]=[]),this.h[t].push(r)}set(t,r){this.h[t.toLowerCase()]=[r]}has(t){return Array.isArray(this.h[t.toLowerCase()])}get(t){if(t=t.toLowerCase(),Array.isArray(this.h[t]))return this.h[t][0]}getAll(t){return this.h[t.toLowerCase()].concat()}entries(){const t=[];return this.forEach((r,n)=>{t.push([n,r])}),wF(t)}forEach(t,r){Object.getOwnPropertyNames(this.h).forEach(n=>{this.h[n].forEach(o=>t.call(r,o,n,this))},this)}};function wF(e){return{next(){const t=e.shift();return{done:t===void 0,value:t}},[Symbol.iterator](){return this}}}function Kh(){try{return new DOMException("Aborted","AbortError")}catch{const t=new Error("Aborted");return t.name="AbortError",t}}function Z1({responseType:e,responseParserFactory:t}){return function(n,o){const i=new XMLHttpRequest,a=t();let s,u=!1;const c=new ReadableStream({start(p){s=p},cancel(){u=!0,i.abort()}}),{method:f="GET",signal:h}=o;if(i.open(f,n),i.responseType=e,i.withCredentials=o.credentials!=="omit",o.headers)for(const p of o.headers.entries())i.setRequestHeader(p[0],p[1]);return new Promise((p,S)=>{if(o.body&&(f==="GET"||f==="HEAD")&&S(new TypeError("Failed to execute 'fetchStream' on 'Window': Request with GET/HEAD method cannot have body")),h)if(h.aborted){S(Kh());return}else h.addEventListener("abort",()=>{i.abort(),s&&s.error(Kh()),S(Kh())},{once:!0});i.onreadystatechange=function(){if(i.readyState===i.HEADERS_RECEIVED)return p({body:c,headers:CF(i.getAllResponseHeaders()),ok:i.status>=200&&i.status<300,status:i.status,statusText:i.statusText,url:xF(i.responseURL,n)})},i.onerror=function(){return S(new TypeError("Network request failed"))},i.ontimeout=function(){S(new TypeError("Network request failed"))},i.onprogress=function(){if(!u){const _=a(i.response);s.enqueue(_)}},i.onload=function(){s.close()},i.send(o.body)})}}function bF(){return typeof Headers<"u"?new Headers:new SF}function xF(e,t){return e||(t.substring(0,4)!=="http"?location.origin+t:t)}function CF(e){const t=bF();if(e){const r=e.split(`\r -`);for(let n=0;n0){const a=o.substring(0,i),s=o.substring(i+2);t.append(a,s)}}}return t}let Yh=null;function RF(){return Yh||(Yh=TF()),Yh}function TF(){if(typeof Response<"u"&&Response.prototype.hasOwnProperty("body"))return _F;const e="moz-chunked-arraybuffer";return EF(e)?Z1({responseType:e,responseParserFactory:function(){return t=>new Uint8Array(t)}}):Z1({responseType:"text",responseParserFactory:function(){const t=new TextEncoder;let r=0;return function(n){const o=n.substr(r);return r=n.length,t.encode(o,{stream:!0})}}})}function EF(e){try{const t=new XMLHttpRequest;return t.responseType=e,t.responseType===e}catch{}return!1}function Vg(e,t={}){let r=t.transport;return r||(r=Vg.transportFactory()),r(e,t)}Vg.transportFactory=RF;const OF=Object.freeze(Object.defineProperty({__proto__:null,default:Vg},Symbol.toStringTag,{value:"Module"})),kF=xa(OF);(function(e,t){(function(r,n){e.exports=n()})(typeof self>"u"?Do:self,function(){return function(r){function n(i){if(o[i])return o[i].exports;var a=o[i]={i,l:!1,exports:{}};return r[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}var o={};return n.m=r,n.c=o,n.d=function(i,a,s){n.o(i,a)||Object.defineProperty(i,a,{configurable:!1,enumerable:!0,get:s})},n.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return n.d(a,"a",a),a},n.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},n.p="./",n(n.s=46)}([function(r){r.exports=N},function(r){function n(i,a){var s=i[1]||"",u=i[3];if(!u)return s;if(a&&typeof btoa=="function"){var c=o(u),f=u.sources.map(function(h){return"/*# sourceURL="+u.sourceRoot+h+" */"});return[s].concat(f).concat([c]).join(` -`)}return[s].join(` -`)}function o(i){var a=btoa(unescape(encodeURIComponent(JSON.stringify(i))));return"/*# "+("sourceMappingURL=data:application/json;charset=utf-8;base64,"+a)+" */"}r.exports=function(i){var a=[];return a.toString=function(){return this.map(function(s){var u=n(s,i);return s[2]?"@media "+s[2]+"{"+u+"}":u}).join("")},a.i=function(s,u){typeof s=="string"&&(s=[[null,s,""]]);for(var c,f={},h=0;h"u"&&(I=P.apply(this,arguments)),I}}(function(){return window&&document&&document.all&&!window.atob}),g=function(P){return document.querySelector(P)},w=function(){var P={};return function(I){if(typeof I=="function")return I();if(typeof P[I]>"u"){var M=g.call(this,I);if(window.HTMLIFrameElement&&M instanceof window.HTMLIFrameElement)try{M=M.contentDocument.head}catch{M=null}P[I]=M}return P[I]}}(),T=null,O=0,k=[],b=o(5);r.exports=function(P,I){if(typeof DEBUG<"u"&&DEBUG&&typeof document!="object")throw new Error("The style-loader cannot be used in a non-browser environment");I=I||{},I.attrs=typeof I.attrs=="object"?I.attrs:{},I.singleton||typeof I.singleton=="boolean"||(I.singleton=v()),I.insertInto||(I.insertInto="head"),I.insertAt||(I.insertAt="bottom");var M=a(P,I);return i(M,I),function(F){for(var q=[],G=0;Gk?-1:k?k-1-F:-1},_=function(w){return w?Array.isArray(w)?w.length===1?Object(i.Range)(w[0],w[0]+1):Object(i.Range)(w[0],w[1]+1):Object(i.Range)(w,w+1):Object(i.Range)(0,0)},y=function(w,T){var O=new Uint8Array(w.length+T.length);return O.set(w,0),O.set(T,w.length),O},C=function(w,T){var O=T?y(T,w):w,k=O.length,b=0,E=0,P=Object(i.List)().withMutations(function(I){for(;EC.b?ge(ue):Z()}}),P),c(I,M)}return f(b,k),T(b,[{key:"render",value:function(){var E=this.props,P=E.resultsCount,I=E.filterActive,M=E.disabled,F="match"+(P===1?"":"es"),q=I?v.active:v.inactive;return Object(h.createElement)("div",{className:"react-lazylog-searchbar "+v.searchBar},Object(h.createElement)("input",{autoComplete:"off",type:"text",name:"search",placeholder:"Search",className:"react-lazylog-searchbar-input "+v.searchInput,onChange:this.handleSearchChange,onKeyPress:this.handleSearchKeyPress,value:this.state.keywords,disabled:M}),Object(h.createElement)("button",{disabled:M,className:"react-lazylog-searchbar-filter "+(I?"active":"inactive")+" "+v.button+" "+q,onClick:this.handleFilterToggle},Object(h.createElement)(y,null)),Object(h.createElement)("span",{className:"react-lazylog-searchbar-matches "+(P?"active":"inactive")+" "+(P?v.active:v.inactive)},P," ",F))}}]),b}(h.Component),Object.defineProperty(g,"propTypes",{enumerable:!0,writable:!0,value:{onSearch:p.func,onClearSearch:p.func,onFilterLinesWithMatches:p.func,resultsCount:p.number,filterActive:p.bool,disabled:p.bool}}),Object.defineProperty(g,"defaultProps",{enumerable:!0,writable:!0,value:{onSearch:function(){},onClearSearch:function(){},onFilterLinesWithMatches:function(){},resultsCount:0,filterActive:!1,disabled:!1}}),w)},function(r,n,o){var i=o(26);typeof i=="string"&&(i=[[r.i,i,""]]);var a,s={hmr:!0};s.transform=a,s.insertInto=void 0,o(2)(i,s),i.locals&&(r.exports=i.locals)},function(r,n,o){n=r.exports=o(1)(!1),n.push([r.i,`._1lq6olr9h2p7MJDCA8c-aL { - height: 15px; - cursor: pointer; -} -`,""]),n.locals={filterLinesIcon:"_1lq6olr9h2p7MJDCA8c-aL"}},function(r,n,o){var i=o(28);typeof i=="string"&&(i=[[r.i,i,""]]);var a,s={hmr:!0};s.transform=a,s.insertInto=void 0,o(2)(i,s),i.locals&&(r.exports=i.locals)},function(r,n,o){n=r.exports=o(1)(!1),n.push([r.i,`._3hsz3SFOTsWryCiRA9Mjtq { - display: flex; - align-items: center; - justify-content: flex-end; - font-family: "Monaco", monospace; - font-size: 12px; - background-color: #222222; - color: #d6d6d6; - padding: 10px; -} - -._2JObJsQyVcVoB1YD6078ip { - background-color: #464646; - color: #d6d6d6; - height: 20px; - min-width: 200px; - font-size: 12px; - padding: 2px 5px; - border: 1px solid #4e4e4e; - margin-right: 10px; -} - -._1NGepveS5BPffleJYyamDk { - color: #d6d6d6; - fill: #d6d6d6; -} - -._3cXa-36GYrmnrGIXEg46cX { - color: #464646; - fill: #464646; -} - -.qZaVIaYTJWY-GaoXJJ2Cp { - background: none; - border: none; - margin-right: 10px; -} -`,""]),n.locals={searchBar:"_3hsz3SFOTsWryCiRA9Mjtq",searchInput:"_2JObJsQyVcVoB1YD6078ip",active:"_1NGepveS5BPffleJYyamDk",inactive:"_3cXa-36GYrmnrGIXEg46cX",button:"qZaVIaYTJWY-GaoXJJ2Cp"}},function(r,n,o){function i(H){if(Array.isArray(H)){for(var V=0,U=Array(H.length);VUe&&(Tr=Jt-Ue,Er=Er.slice(-Ue),Jt=Er.count());var ui=Object(k.g)({follow:ve,scrollToLine:me,previousCount:sr,count:Jt,offset:Tr});B.setState({lines:Er,offset:Tr,count:Jt,scrollToIndex:ui}),(we||Te)&&B.forceSearch()}}),Object.defineProperty(B,"handleEnd",{enumerable:!0,writable:!0,value:function(K){B.encodedLog=K,B.setState({loaded:!0}),B.props.onLoad&&B.props.onLoad()}}),Object.defineProperty(B,"handleError",{enumerable:!0,writable:!0,value:function(K){B.setState({error:K}),B.props.onError&&B.props.onError(K)}}),Object.defineProperty(B,"handleHighlight",{enumerable:!0,writable:!0,value:function(K){var X=B.props.onHighlight,ae=B.state.isFilteringLinesWithMatches;if(K.target.id){var pe=+K.target.id;if(pe){var me=B.state.highlight.first(),ve=B.state.highlight.last(),we=void 0;we=me===pe?null:K.shiftKey&&me?pe>me?[me,pe]:[pe,ve]:pe;var Te=Object(k.e)(we),Me={highlight:Te};ae&&Object.assign(Me,{scrollToIndex:Object(k.g)({scrollToLine:pe})}),B.setState(Me,function(){X&&X(Te),ae&&B.handleFilterLinesWithMatches(!1)})}}}}),Object.defineProperty(B,"handleSearch",{enumerable:!0,writable:!0,value:function(K){var X=B.state,ae=X.resultLines,pe=X.searchKeywords,me=B.props,ve=me.caseInsensitive,we=me.stream,Te=me.websocket,Me=we||Te||K!==pe?ie(K,B.encodedLog,ve):ae;B.setState({resultLines:Me,isSearching:!0,searchKeywords:K},B.filterLinesWithMatches)}}),Object.defineProperty(B,"forceSearch",{enumerable:!0,writable:!0,value:function(){var K=B.state.searchKeywords;K&&K.length>k.b&&B.handleSearch(B.state.searchKeywords)}}),Object.defineProperty(B,"handleClearSearch",{enumerable:!0,writable:!0,value:function(){B.setState({isSearching:!1,searchKeywords:"",resultLines:[],filteredLines:Object(p.List)(),resultLineUniqueIndexes:[],isFilteringLinesWithMatches:B.state.isFilteringLinesWithMatches,scrollToIndex:0})}}),Object.defineProperty(B,"handleFilterLinesWithMatches",{enumerable:!0,writable:!0,value:function(K){B.setState({isFilteringLinesWithMatches:K,filteredLines:Object(p.List)(),resultLineUniqueIndexes:[]},B.filterLinesWithMatches)}}),Object.defineProperty(B,"filterLinesWithMatches",{enumerable:!0,writable:!0,value:function(){var K=B.state,X=K.resultLines,ae=K.lines,pe=K.isFilteringLinesWithMatches;if(0{const[t,r]=re.useState("Head"),[n,o]=re.useState(e.logFileUrl);re.useEffect(()=>{let a=e.logFileUrl;t==="Head"?a=e.logFileUrl+"?offset=0&size="+Qh:t==="Tail"&&(a=e.logFileUrl+"?offset="+(e.logSize-Qh)+"&size="+Qh),o(a)},[t]);const i=a=>{let s="px-4 py-2 mr-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 hover:bg-gray-500 hover:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700 border rounded-md";const u="bg-gray-900 text-white";return a===t?s+" "+u:s};return j.jsxs("div",{className:"flex flex-col",children:[j.jsxs("div",{className:"flex flex-row pb-2 pt-2",children:[j.jsx("button",{className:i("Head"),onClick:()=>r("Head"),children:"Head"}),j.jsx("button",{className:i("Tail"),onClick:()=>r("Tail"),children:"Tail"}),j.jsx("button",{className:i("All"),onClick:()=>r("All"),children:"All"})]}),j.jsx(PF.LazyLog,{extraLines:1,enableSearch:!0,caseInsensitive:!0,url:n,height:800,width:1e3})]})},zF=({nodeInfo:e})=>j.jsx("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:j.jsxs("tbody",{children:[j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"id:"}),j.jsx("td",{className:"px-4 py-2",children:e.id})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"name:"}),j.jsx("td",{className:"px-4 py-2",children:e.name})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"eth protocol:"}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"difficulty:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.difficulty})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"genesis:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.genesis})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"network:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.network})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"config:"}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"ChainName:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.ChainName})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"chainId:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.chainId})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"consensus:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.consensus})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"homesteadBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.homesteadBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"eip150Block:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.eip150Block})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"eip155Block:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.eip155Block})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"byzantiumBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.byzantiumBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"constantinopleBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.constantinopleBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"petersburgBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.petersburgBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"istanbulBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.istanbulBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"berlinBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.berlinBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"londonBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.londonBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"terminalTotalDifficulty:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.terminalTotalDifficulty})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"terminalTotalDifficultyPassed:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.terminalTotalDifficultyPassed})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"shanghaiTime:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.shanghaiTime})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"clique:"}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"period:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.clique.period})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"epoch:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.clique.epoch})]})]})]})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"enodes:"}),e.enodes.map((t,r)=>j.jsxs(j.Fragment,{children:[j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"enode:"}),j.jsx("td",{className:"px-4 py-2",children:t.enode})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"enr:"}),j.jsx("td",{className:"px-4 py-2",children:t.enr})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"ports:"}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"discovery:"}),j.jsx("td",{className:"px-4 py-2",children:t.ports.discovery})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"listener:"}),j.jsx("td",{className:"px-4 py-2",children:t.ports.listener})]})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"listener_addr:"}),j.jsx("td",{className:"px-4 py-2",children:t.listener_addr})]})]}))]})]})}),jF=({cmdLine:e,flags:t,logFile:r,nodeDetails:n})=>{let o;(v=>{v.Command="Command",v.Flags="Flags",v.NodeInfo="Node Info",v.SyncStages="Stages",v.Logs="Logs"})(o||(o={}));const[i,a]=re.useState("Command"),[s,u]=re.useState(!1),c=v=>{let g="px-4 py-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 hover:bg-gray-500 hover:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700";const w="bg-gray-900 text-white";return v==="Command"?g=g+" border-l border-r border-t rounded-tl-md":v==="Stages"?g=g+" border-t":v==="Flags"||v==="Node Info"?g=g+" border-t border-r":v==="Logs"&&(g=g+" border-l border-r border-t rounded-tr-md"),v===i?g+" "+w:g};async function f(v){return"clipboard"in navigator?await navigator.clipboard.writeText(v):document.execCommand("copy",!0,v)}const h=v=>{console.log("err"),f(v).then(()=>{u(!0),setTimeout(()=>{u(!1)},1500)}).catch(g=>{console.log(g)})},p=()=>e===void 0?null:j.jsxs("div",{className:"flex flex-col",children:[j.jsx("button",{className:"px-4 py-2 mr-2 mt-2 mb-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 active:bg-gray-500 active:text-white border rounded-md w-fit",onClick:()=>h(L3),children:s?"Copied":"Copy curl"}),j.jsx("span",{className:"mb-2",children:e})]}),S=()=>t===void 0?null:j.jsx(u4,{flags:t}),_=()=>n===void 0?null:j.jsx(zF,{nodeInfo:n}),y=()=>j.jsx("div",{children:"Sync Stages"}),C=()=>r===void 0||r.logFileUrl===""?null:j.jsx(IF,{logFile:r});return j.jsxs("div",{className:"flex flex-col",children:[j.jsxs("div",{className:"flex flex-row",children:[j.jsx("button",{className:c("Command"),onClick:()=>a("Command"),"data-testid":"command_button",children:"Command"}),j.jsx("button",{className:c("Flags"),onClick:()=>a("Flags"),"data-testid":"flags_button",children:"Flags"}),j.jsx("button",{className:c("Node Info"),onClick:()=>a("Node Info"),"data-testid":"node_info_button",children:"Node Info"}),j.jsx("button",{className:c("Stages"),onClick:()=>a("Stages"),"data-testid":"sync_stages_button",children:"Sync Stages"}),j.jsx("button",{className:c("Logs"),onClick:()=>a("Logs"),"data-testid":"logs_button",children:"Logs"})]}),j.jsxs("div",{className:"flex flex-col border border-gray-900 rounded-bl-md rounded-br-md rounded-tr-md pl-2 pr-2 bg-white min-h-[40px] max-w-[1400px] overflow-auto","data-testid":"test_details_section_content",children:[i==="Command"&&p(),i==="Flags"&&S(),i==="Node Info"&&_(),i==="Stages"&&y(),i==="Logs"&&C()]})]})},AF=()=>{const e=xN(),[t,r]=re.useState("idle"),n=Io(dR),o=Io(P3),i=Io(za),a=Io(I3),s=Io(z3),u=Io(j3),c=Io(k3),f=N.useRef(null);return re.useEffect(()=>{n4(n.id,e),r("loading");const h=setInterval(()=>{r("error")},3e3);f.current=h},[]),re.useEffect(()=>{i!==""&&(a4(n.id,i,e),i4(n.id,i,e),o4(n.id,i,e),l4(n.id,i,e),clearInterval(f.current),r("loaded"))},[i]),j.jsx(j.Fragment,{children:j.jsxs("div",{className:"pl-10",children:[t==="loading"&&j.jsx("div",{children:"Connecting to Node..."}),j.jsx("br",{}),j.jsx("br",{}),t==="error"&&j.jsxs("div",{className:"flex flex-col",children:[j.jsx("div",{children:"There was an error loading the node details."}),j.jsx("div",{children:"make sure that you run:"}),j.jsx("div",{className:"font-bold",children:"./build/bin/erigon support --debug.urls http://localhost:6060/debug --diagnostics.url https://localhost:8080/support --diagnostics.sessions 1234,3456,78934 --insecure"}),j.jsx("div",{children:"and try again."}),j.jsx("br",{}),j.jsx("span",{children:"Also make sure that you've visited https://localhost:8080 from current browser"})]}),t==="loaded"&&j.jsxs(j.Fragment,{children:[j.jsx(M3,{nodes:o,onNodeSelected:h=>{e(S3(h))}}),j.jsx("br",{}),j.jsx("br",{}),j.jsx(jF,{cmdLine:s,flags:a,logFile:u,nodeDetails:c})]})]})})};function MF(){return j.jsx("div",{children:j.jsx(kP,{children:j.jsxs(hr,{path:"/",element:j.jsx(LF,{}),children:[j.jsx(hr,{index:!0,element:j.jsx(NF,{})}),j.jsx(hr,{path:"network",element:j.jsx($F,{})}),j.jsx(hr,{path:"logs",element:j.jsx(DF,{})}),j.jsx(hr,{path:"chain",element:j.jsx(FF,{})}),j.jsx(hr,{path:"data",element:j.jsx(WF,{})}),j.jsx(hr,{path:"debug",element:j.jsx(BF,{})}),j.jsx(hr,{path:"testing",element:j.jsx(UF,{})}),j.jsx(hr,{path:"performance",element:j.jsx(HF,{})}),j.jsx(hr,{path:"documentation",element:j.jsx(qF,{})}),j.jsx(hr,{path:"admin",element:j.jsx(GF,{})}),j.jsx(hr,{path:"*",element:j.jsx(VF,{})})]})})})}function LF(){const[e,t]=re.useState(!1);return j.jsxs("div",{className:"flex",children:[j.jsx(FI,{collapsed:e,style:{height:"100vh"},children:j.jsxs(UI,{menuItemStyles:{button:{"&:hover":{backgroundColor:"#6b7280",color:"#fff"}}},children:[j.jsx(Ur,{icon:j.jsx(MC,{}),onClick:()=>{t(!e)}}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/"}),icon:j.jsx(LC,{}),children:"Process"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/network"}),icon:j.jsx(NC,{}),children:"Network"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/logs"}),icon:j.jsx($C,{}),children:"Logs"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/chain"}),icon:j.jsx(DC,{}),children:"Chain"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/data"}),icon:j.jsx(FC,{}),children:"Data"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/debug"}),icon:j.jsx(WC,{}),children:"Debug"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/testing"}),icon:j.jsx(BC,{}),children:"Testing"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/performance"}),icon:j.jsx(UC,{}),children:"Performance"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/documentation"}),icon:j.jsx(HC,{}),children:"Documentation"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/admin"}),icon:j.jsx(qC,{}),children:"Admin"})]})}),j.jsx(EP,{})]})}function NF(){return j.jsx(AF,{})}function $F(){return j.jsx("div",{children:j.jsx("h2",{children:"Network"})})}function DF(){return j.jsx("div",{children:j.jsx("h2",{children:"Logs"})})}function FF(){return j.jsx("div",{children:j.jsx("h2",{children:"Chain"})})}function WF(){return j.jsx("div",{children:j.jsx("h2",{children:"Data"})})}function BF(){return j.jsx("div",{children:j.jsx("h2",{children:"Debug"})})}function UF(){return j.jsx("div",{children:j.jsx("h2",{children:"Testing"})})}function HF(){return j.jsx("div",{children:j.jsx("h2",{children:"Performance"})})}function qF(){return j.jsx("div",{children:j.jsx("h2",{children:"Documentation"})})}function GF(){return j.jsx("div",{children:j.jsx("h2",{children:"Admin"})})}function VF(){return j.jsxs("div",{children:[j.jsx("h2",{children:"Nothing to see here!"}),j.jsx("p",{children:j.jsx(Hr,{to:"/",children:"Go to the home page"})})]})}const KF=l3({reducer:{app:A3}});Xh.createRoot(document.getElementById("root")).render(j.jsx(SN,{store:KF,children:j.jsx(MP,{children:j.jsx(MF,{})})})); diff --git a/web/dist/index.html b/web/dist/index.html index 7ca59b1..c8dbd49 100644 --- a/web/dist/index.html +++ b/web/dist/index.html @@ -5,7 +5,7 @@ Vite App - + From f29979ca0603d8eba5e748eabd8a7b7a258b3856 Mon Sep 17 00:00:00 2001 From: dvovk Date: Fri, 15 Sep 2023 00:16:35 +0300 Subject: [PATCH 2/2] updated FE --- web/dist/assets/index-14ad3881.js | 702 +++++++++++++++++++++++++++++ web/dist/assets/index-49029a62.css | 1 + web/dist/assets/index-8f7035a2.js | 702 ----------------------------- web/dist/assets/index-9e2b6b94.css | 1 - web/dist/index.html | 4 +- 5 files changed, 705 insertions(+), 705 deletions(-) create mode 100644 web/dist/assets/index-14ad3881.js create mode 100644 web/dist/assets/index-49029a62.css delete mode 100644 web/dist/assets/index-8f7035a2.js delete mode 100644 web/dist/assets/index-9e2b6b94.css diff --git a/web/dist/assets/index-14ad3881.js b/web/dist/assets/index-14ad3881.js new file mode 100644 index 0000000..9f9e69e --- /dev/null +++ b/web/dist/assets/index-14ad3881.js @@ -0,0 +1,702 @@ +function TE(e,t){for(var r=0;rn[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();var Bo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function EE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ka(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var ub={exports:{}},Nc={},cb={exports:{}},Re={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var cs=Symbol.for("react.element"),OE=Symbol.for("react.portal"),kE=Symbol.for("react.fragment"),PE=Symbol.for("react.strict_mode"),IE=Symbol.for("react.profiler"),zE=Symbol.for("react.provider"),jE=Symbol.for("react.context"),AE=Symbol.for("react.forward_ref"),ME=Symbol.for("react.suspense"),LE=Symbol.for("react.memo"),NE=Symbol.for("react.lazy"),Vy=Symbol.iterator;function $E(e){return e===null||typeof e!="object"?null:(e=Vy&&e[Vy]||e["@@iterator"],typeof e=="function"?e:null)}var fb={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},db=Object.assign,hb={};function Pa(e,t,r){this.props=e,this.context=t,this.refs=hb,this.updater=r||fb}Pa.prototype.isReactComponent={};Pa.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Pa.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function pb(){}pb.prototype=Pa.prototype;function ym(e,t,r){this.props=e,this.context=t,this.refs=hb,this.updater=r||fb}var _m=ym.prototype=new pb;_m.constructor=ym;db(_m,Pa.prototype);_m.isPureReactComponent=!0;var Ky=Array.isArray,mb=Object.prototype.hasOwnProperty,Sm={current:null},vb={key:!0,ref:!0,__self:!0,__source:!0};function gb(e,t,r){var n,o={},i=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)mb.call(t,n)&&!vb.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1>>1,Ee=Z[Se];if(0>>1;Seo(ye,fe))qo(V,ye)?(Z[Se]=V,Z[q]=fe,Se=q):(Z[Se]=ye,Z[tt]=fe,Se=tt);else if(qo(V,fe))Z[Se]=V,Z[q]=fe,Se=q;else break e}}return ie}function o(Z,ie){var fe=Z.sortIndex-ie.sortIndex;return fe!==0?fe:Z.id-ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var u=[],c=[],f=1,h=null,p=3,S=!1,_=!1,y=!1,C=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(Z){for(var ie=r(c);ie!==null;){if(ie.callback===null)n(c);else if(ie.startTime<=Z)n(c),ie.sortIndex=ie.expirationTime,t(u,ie);else break;ie=r(c)}}function T(Z){if(y=!1,b(Z),!_)if(r(u)!==null)_=!0,se(O);else{var ie=r(c);ie!==null&&ge(T,ie.startTime-Z)}}function O(Z,ie){_=!1,y&&(y=!1,v(E),E=-1),S=!0;var fe=p;try{for(b(ie),h=r(u);h!==null&&(!(h.expirationTime>ie)||Z&&!M());){var Se=h.callback;if(typeof Se=="function"){h.callback=null,p=h.priorityLevel;var Ee=Se(h.expirationTime<=ie);ie=e.unstable_now(),typeof Ee=="function"?h.callback=Ee:h===r(u)&&n(u),b(ie)}else n(u);h=r(u)}if(h!==null)var xt=!0;else{var tt=r(c);tt!==null&&ge(T,tt.startTime-ie),xt=!1}return xt}finally{h=null,p=fe,S=!1}}var k=!1,w=null,E=-1,P=5,z=-1;function M(){return!(e.unstable_now()-zZ||125Se?(Z.sortIndex=fe,t(c,Z),r(u)===null&&Z===r(c)&&(y?(v(E),E=-1):y=!0,ge(T,fe-Se))):(Z.sortIndex=Ee,t(u,Z),_||S||(_=!0,se(O))),Z},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(Z){var ie=p;return function(){var fe=p;p=ie;try{return Z.apply(this,arguments)}finally{p=fe}}}})(bb);Sb.exports=bb;var YE=Sb.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var wb=L,br=YE;function ee(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tp=Object.prototype.hasOwnProperty,QE=/^[: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]*$/,Qy={},Xy={};function XE(e){return tp.call(Xy,e)?!0:tp.call(Qy,e)?!1:QE.test(e)?Xy[e]=!0:(Qy[e]=!0,!1)}function JE(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ZE(e,t,r,n){if(t===null||typeof t>"u"||JE(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Yt(e,t,r,n,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Pt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Pt[e]=new Yt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Pt[t]=new Yt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Pt[e]=new Yt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Pt[e]=new Yt(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){Pt[e]=new Yt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Pt[e]=new Yt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Pt[e]=new Yt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Pt[e]=new Yt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Pt[e]=new Yt(e,5,!1,e.toLowerCase(),null,!1,!1)});var wm=/[\-:]([a-z])/g;function xm(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(wm,xm);Pt[t]=new Yt(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(wm,xm);Pt[t]=new Yt(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(wm,xm);Pt[t]=new Yt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Pt[e]=new Yt(e,1,!1,e.toLowerCase(),null,!1,!1)});Pt.xlinkHref=new Yt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Pt[e]=new Yt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Cm(e,t,r,n){var o=Pt.hasOwnProperty(t)?Pt[t]:null;(o!==null?o.type!==0:n||!(2s||o[a]!==i[s]){var u=` +`+o[a].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=a&&0<=s);break}}}finally{kd=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?cl(e):""}function eO(e){switch(e.tag){case 5:return cl(e.type);case 16:return cl("Lazy");case 13:return cl("Suspense");case 19:return cl("SuspenseList");case 0:case 2:case 15:return e=Pd(e.type,!1),e;case 11:return e=Pd(e.type.render,!1),e;case 1:return e=Pd(e.type,!0),e;default:return""}}function ip(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case $i:return"Fragment";case Ni:return"Portal";case rp:return"Profiler";case Rm:return"StrictMode";case np:return"Suspense";case op:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Rb:return(e.displayName||"Context")+".Consumer";case Cb:return(e._context.displayName||"Context")+".Provider";case Tm:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Em:return t=e.displayName||null,t!==null?t:ip(e.type)||"Memo";case Zn:t=e._payload,e=e._init;try{return ip(e(t))}catch{}}return null}function tO(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ip(t);case 8:return t===Rm?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function bo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Eb(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function rO(e){var t=Eb(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){n=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Us(e){e._valueTracker||(e._valueTracker=rO(e))}function Ob(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Eb(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Du(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ap(e,t){var r=t.checked;return et({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Zy(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=bo(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function kb(e,t){t=t.checked,t!=null&&Cm(e,"checked",t,!1)}function lp(e,t){kb(e,t);var r=bo(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?sp(e,t.type,r):t.hasOwnProperty("defaultValue")&&sp(e,t.type,bo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function e0(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function sp(e,t,r){(t!=="number"||Du(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var fl=Array.isArray;function Qi(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=qs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ml(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Sl={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},nO=["Webkit","ms","Moz","O"];Object.keys(Sl).forEach(function(e){nO.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Sl[t]=Sl[e]})});function jb(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Sl.hasOwnProperty(e)&&Sl[e]?(""+t).trim():t+"px"}function Ab(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=jb(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var oO=et({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 fp(e,t){if(t){if(oO[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ee(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ee(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ee(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ee(62))}}function dp(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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}}var hp=null;function Om(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pp=null,Xi=null,Ji=null;function n0(e){if(e=hs(e)){if(typeof pp!="function")throw Error(ee(280));var t=e.stateNode;t&&(t=Bc(t),pp(e.stateNode,e.type,t))}}function Mb(e){Xi?Ji?Ji.push(e):Ji=[e]:Xi=e}function Lb(){if(Xi){var e=Xi,t=Ji;if(Ji=Xi=null,n0(e),t)for(e=0;e>>=0,e===0?32:31-(mO(e)/vO|0)|0}var Hs=64,Gs=4194304;function dl(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Uu(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,a=r&268435455;if(a!==0){var s=a&~o;s!==0?n=dl(s):(i&=a,i!==0&&(n=dl(i)))}else a=r&~o,a!==0?n=dl(a):i!==0&&(n=dl(i));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function fs(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-en(t),e[t]=r}function SO(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=wl),d0=String.fromCharCode(32),h0=!1;function rw(e,t){switch(e){case"keyup":return KO.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Di=!1;function QO(e,t){switch(e){case"compositionend":return nw(t);case"keypress":return t.which!==32?null:(h0=!0,d0);case"textInput":return e=t.data,e===d0&&h0?null:e;default:return null}}function XO(e,t){if(Di)return e==="compositionend"||!Lm&&rw(e,t)?(e=ew(),_u=jm=oo=null,Di=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=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=g0(r)}}function lw(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function sw(){for(var e=window,t=Du();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Du(e.document)}return t}function Nm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function ak(e){var t=sw(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&lw(r.ownerDocument.documentElement,r)){if(n!==null&&Nm(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=n.end===void 0?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=y0(r,i);var a=y0(r,n);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Fi=null,Sp=null,Cl=null,bp=!1;function _0(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;bp||Fi==null||Fi!==Du(n)||(n=Fi,"selectionStart"in n&&Nm(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Cl&&Wl(Cl,n)||(Cl=n,n=Gu(Sp,"onSelect"),0Ui||(e.current=Ep[Ui],Ep[Ui]=null,Ui--)}function Be(e,t){Ui++,Ep[Ui]=e.current,e.current=t}var wo={},Wt=Oo(wo),tr=Oo(!1),Zo=wo;function sa(e,t){var r=e.type.contextTypes;if(!r)return wo;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function rr(e){return e=e.childContextTypes,e!=null}function Ku(){Ge(tr),Ge(Wt)}function T0(e,t,r){if(Wt.current!==wo)throw Error(ee(168));Be(Wt,t),Be(tr,r)}function gw(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(ee(108,tO(e)||"Unknown",o));return et({},r,n)}function Yu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wo,Zo=Wt.current,Be(Wt,e),Be(tr,tr.current),!0}function E0(e,t,r){var n=e.stateNode;if(!n)throw Error(ee(169));r?(e=gw(e,t,Zo),n.__reactInternalMemoizedMergedChildContext=e,Ge(tr),Ge(Wt),Be(Wt,e)):Ge(tr),Be(tr,r)}var zn=null,Uc=!1,qd=!1;function yw(e){zn===null?zn=[e]:zn.push(e)}function yk(e){Uc=!0,yw(e)}function ko(){if(!qd&&zn!==null){qd=!0;var e=0,t=Ne;try{var r=zn;for(Ne=1;e>=a,o-=a,Mn=1<<32-en(t)+o|r<E?(P=w,w=null):P=w.sibling;var z=p(v,w,b[E],T);if(z===null){w===null&&(w=P);break}e&&w&&z.alternate===null&&t(v,w),g=i(z,g,E),k===null?O=z:k.sibling=z,k=z,w=P}if(E===b.length)return r(v,w),Xe&&$o(v,E),O;if(w===null){for(;EE?(P=w,w=null):P=w.sibling;var M=p(v,w,z.value,T);if(M===null){w===null&&(w=P);break}e&&w&&M.alternate===null&&t(v,w),g=i(M,g,E),k===null?O=M:k.sibling=M,k=M,w=P}if(z.done)return r(v,w),Xe&&$o(v,E),O;if(w===null){for(;!z.done;E++,z=b.next())z=h(v,z.value,T),z!==null&&(g=i(z,g,E),k===null?O=z:k.sibling=z,k=z);return Xe&&$o(v,E),O}for(w=n(v,w);!z.done;E++,z=b.next())z=S(w,v,E,z.value,T),z!==null&&(e&&z.alternate!==null&&w.delete(z.key===null?E:z.key),g=i(z,g,E),k===null?O=z:k.sibling=z,k=z);return e&&w.forEach(function(F){return t(v,F)}),Xe&&$o(v,E),O}function C(v,g,b,T){if(typeof b=="object"&&b!==null&&b.type===$i&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case Bs:e:{for(var O=b.key,k=g;k!==null;){if(k.key===O){if(O=b.type,O===$i){if(k.tag===7){r(v,k.sibling),g=o(k,b.props.children),g.return=v,v=g;break e}}else if(k.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===Zn&&A0(O)===k.type){r(v,k.sibling),g=o(k,b.props),g.ref=tl(v,k,b),g.return=v,v=g;break e}r(v,k);break}else t(v,k);k=k.sibling}b.type===$i?(g=Ko(b.props.children,v.mode,T,b.key),g.return=v,v=g):(T=Eu(b.type,b.key,b.props,null,v.mode,T),T.ref=tl(v,g,b),T.return=v,v=T)}return a(v);case Ni:e:{for(k=b.key;g!==null;){if(g.key===k)if(g.tag===4&&g.stateNode.containerInfo===b.containerInfo&&g.stateNode.implementation===b.implementation){r(v,g.sibling),g=o(g,b.children||[]),g.return=v,v=g;break e}else{r(v,g);break}else t(v,g);g=g.sibling}g=Jd(b,v.mode,T),g.return=v,v=g}return a(v);case Zn:return k=b._init,C(v,g,k(b._payload),T)}if(fl(b))return _(v,g,b,T);if(Qa(b))return y(v,g,b,T);Zs(v,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,g!==null&&g.tag===6?(r(v,g.sibling),g=o(g,b),g.return=v,v=g):(r(v,g),g=Xd(b,v.mode,T),g.return=v,v=g),a(v)):r(v,g)}return C}var ca=Tw(!0),Ew=Tw(!1),ps={},yn=Oo(ps),Hl=Oo(ps),Gl=Oo(ps);function Ho(e){if(e===ps)throw Error(ee(174));return e}function Gm(e,t){switch(Be(Gl,t),Be(Hl,e),Be(yn,ps),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:cp(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=cp(t,e)}Ge(yn),Be(yn,t)}function fa(){Ge(yn),Ge(Hl),Ge(Gl)}function Ow(e){Ho(Gl.current);var t=Ho(yn.current),r=cp(t,e.type);t!==r&&(Be(Hl,e),Be(yn,r))}function Vm(e){Hl.current===e&&(Ge(yn),Ge(Hl))}var Je=Oo(0);function tc(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Hd=[];function Km(){for(var e=0;er?r:4,e(!0);var n=Gd.transition;Gd.transition={};try{e(!1),t()}finally{Ne=r,Gd.transition=n}}function qw(){return Lr().memoizedState}function wk(e,t,r){var n=mo(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Hw(e))Gw(t,r);else if(r=ww(e,t,r,n),r!==null){var o=Vt();tn(r,e,n,o),Vw(r,t,n)}}function xk(e,t,r){var n=mo(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Hw(e))Gw(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,r);if(o.hasEagerState=!0,o.eagerState=s,rn(s,a)){var u=t.interleaved;u===null?(o.next=o,qm(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}r=ww(e,t,o,n),r!==null&&(o=Vt(),tn(r,e,n,o),Vw(r,t,n))}}function Hw(e){var t=e.alternate;return e===Ze||t!==null&&t===Ze}function Gw(e,t){Rl=rc=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Vw(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Pm(e,r)}}var nc={readContext:Mr,useCallback:At,useContext:At,useEffect:At,useImperativeHandle:At,useInsertionEffect:At,useLayoutEffect:At,useMemo:At,useReducer:At,useRef:At,useState:At,useDebugValue:At,useDeferredValue:At,useTransition:At,useMutableSource:At,useSyncExternalStore:At,useId:At,unstable_isNewReconciler:!1},Ck={readContext:Mr,useCallback:function(e,t){return cn().memoizedState=[e,t===void 0?null:t],e},useContext:Mr,useEffect:L0,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,xu(4194308,4,Dw.bind(null,t,e),r)},useLayoutEffect:function(e,t){return xu(4194308,4,e,t)},useInsertionEffect:function(e,t){return xu(4,2,e,t)},useMemo:function(e,t){var r=cn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=cn();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=wk.bind(null,Ze,e),[n.memoizedState,e]},useRef:function(e){var t=cn();return e={current:e},t.memoizedState=e},useState:M0,useDebugValue:Zm,useDeferredValue:function(e){return cn().memoizedState=e},useTransition:function(){var e=M0(!1),t=e[0];return e=bk.bind(null,e[1]),cn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Ze,o=cn();if(Xe){if(r===void 0)throw Error(ee(407));r=r()}else{if(r=t(),St===null)throw Error(ee(349));ti&30||Iw(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,L0(jw.bind(null,n,i,e),[e]),n.flags|=2048,Yl(9,zw.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=cn(),t=St.identifierPrefix;if(Xe){var r=Ln,n=Mn;r=(n&~(1<<32-en(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Vl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[mn]=t,e[ql]=n,rx(e,t,!1,!1),t.stateNode=e;e:{switch(a=dp(r,n),r){case"dialog":He("cancel",e),He("close",e),o=n;break;case"iframe":case"object":case"embed":He("load",e),o=n;break;case"video":case"audio":for(o=0;oha&&(t.flags|=128,n=!0,rl(i,!1),t.lanes=4194304)}else{if(!n)if(e=tc(a),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),rl(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Xe)return Mt(t),null}else 2*st()-i.renderingStartTime>ha&&r!==1073741824&&(t.flags|=128,n=!0,rl(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(r=i.last,r!==null?r.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=st(),t.sibling=null,r=Je.current,Be(Je,n?r&1|2:r&1),t):(Mt(t),null);case 22:case 23:return iv(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?pr&1073741824&&(Mt(t),t.subtreeFlags&6&&(t.flags|=8192)):Mt(t),null;case 24:return null;case 25:return null}throw Error(ee(156,t.tag))}function zk(e,t){switch(Dm(t),t.tag){case 1:return rr(t.type)&&Ku(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return fa(),Ge(tr),Ge(Wt),Km(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Vm(t),null;case 13:if(Ge(Je),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ee(340));ua()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ge(Je),null;case 4:return fa(),null;case 10:return Um(t.type._context),null;case 22:case 23:return iv(),null;case 24:return null;default:return null}}var tu=!1,Ft=!1,jk=typeof WeakSet=="function"?WeakSet:Set,ce=null;function Vi(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){ot(e,t,n)}else r.current=null}function Dp(e,t,r){try{r()}catch(n){ot(e,t,n)}}var H0=!1;function Ak(e,t){if(wp=qu,e=sw(),Nm(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var a=0,s=-1,u=-1,c=0,f=0,h=e,p=null;t:for(;;){for(var S;h!==r||o!==0&&h.nodeType!==3||(s=a+o),h!==i||n!==0&&h.nodeType!==3||(u=a+n),h.nodeType===3&&(a+=h.nodeValue.length),(S=h.firstChild)!==null;)p=h,h=S;for(;;){if(h===e)break t;if(p===r&&++c===o&&(s=a),p===i&&++f===n&&(u=a),(S=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=S}r=s===-1||u===-1?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(xp={focusedElem:e,selectionRange:r},qu=!1,ce=t;ce!==null;)if(t=ce,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ce=e;else for(;ce!==null;){t=ce;try{var _=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var y=_.memoizedProps,C=_.memoizedState,v=t.stateNode,g=v.getSnapshotBeforeUpdate(t.elementType===t.type?y:Yr(t.type,y),C);v.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var b=t.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ee(163))}}catch(T){ot(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,ce=e;break}ce=t.return}return _=H0,H0=!1,_}function Tl(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Dp(t,r,i)}o=o.next}while(o!==n)}}function Gc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Fp(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function ix(e){var t=e.alternate;t!==null&&(e.alternate=null,ix(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[mn],delete t[ql],delete t[Tp],delete t[vk],delete t[gk])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ax(e){return e.tag===5||e.tag===3||e.tag===4}function G0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ax(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Wp(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Vu));else if(n!==4&&(e=e.child,e!==null))for(Wp(e,t,r),e=e.sibling;e!==null;)Wp(e,t,r),e=e.sibling}function Bp(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Bp(e,t,r),e=e.sibling;e!==null;)Bp(e,t,r),e=e.sibling}var Tt=null,Qr=!1;function Jn(e,t,r){for(r=r.child;r!==null;)lx(e,t,r),r=r.sibling}function lx(e,t,r){if(gn&&typeof gn.onCommitFiberUnmount=="function")try{gn.onCommitFiberUnmount($c,r)}catch{}switch(r.tag){case 5:Ft||Vi(r,t);case 6:var n=Tt,o=Qr;Tt=null,Jn(e,t,r),Tt=n,Qr=o,Tt!==null&&(Qr?(e=Tt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Tt.removeChild(r.stateNode));break;case 18:Tt!==null&&(Qr?(e=Tt,r=r.stateNode,e.nodeType===8?Ud(e.parentNode,r):e.nodeType===1&&Ud(e,r),Dl(e)):Ud(Tt,r.stateNode));break;case 4:n=Tt,o=Qr,Tt=r.stateNode.containerInfo,Qr=!0,Jn(e,t,r),Tt=n,Qr=o;break;case 0:case 11:case 14:case 15:if(!Ft&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Dp(r,t,a),o=o.next}while(o!==n)}Jn(e,t,r);break;case 1:if(!Ft&&(Vi(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){ot(r,t,s)}Jn(e,t,r);break;case 21:Jn(e,t,r);break;case 22:r.mode&1?(Ft=(n=Ft)||r.memoizedState!==null,Jn(e,t,r),Ft=n):Jn(e,t,r);break;default:Jn(e,t,r)}}function V0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new jk),t.forEach(function(n){var o=Uk.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Gr(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=a),n&=~i}if(n=o,n=st()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Lk(n/1960))-n,10e?16:e,io===null)var n=!1;else{if(e=io,io=null,ac=0,ke&6)throw Error(ee(331));var o=ke;for(ke|=4,ce=e.current;ce!==null;){var i=ce,a=i.child;if(ce.flags&16){var s=i.deletions;if(s!==null){for(var u=0;ust()-nv?Vo(e,0):rv|=r),nr(e,t)}function mx(e,t){t===0&&(e.mode&1?(t=Gs,Gs<<=1,!(Gs&130023424)&&(Gs=4194304)):t=1);var r=Vt();e=Un(e,t),e!==null&&(fs(e,t,r),nr(e,r))}function Bk(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),mx(e,r)}function Uk(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(ee(314))}n!==null&&n.delete(t),mx(e,r)}var vx;vx=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||tr.current)er=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return er=!1,Pk(e,t,r);er=!!(e.flags&131072)}else er=!1,Xe&&t.flags&1048576&&_w(t,Xu,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Cu(e,t),e=t.pendingProps;var o=sa(t,Wt.current);ea(t,r),o=Qm(null,t,n,e,o,r);var i=Xm();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rr(n)?(i=!0,Yu(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Hm(t),o.updater=qc,t.stateNode=o,o._reactInternals=t,zp(t,n,e,r),t=Mp(null,t,n,!0,i,r)):(t.tag=0,Xe&&i&&$m(t),Ht(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Cu(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=Hk(n),e=Yr(n,e),o){case 0:t=Ap(null,t,n,e,r);break e;case 1:t=B0(null,t,n,e,r);break e;case 11:t=F0(null,t,n,e,r);break e;case 14:t=W0(null,t,n,Yr(n.type,e),r);break e}throw Error(ee(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Yr(n,o),Ap(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Yr(n,o),B0(e,t,n,o,r);case 3:e:{if(Zw(t),e===null)throw Error(ee(387));n=t.pendingProps,i=t.memoizedState,o=i.element,xw(e,t),ec(t,n,null,r);var a=t.memoizedState;if(n=a.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=da(Error(ee(423)),t),t=U0(e,t,n,r,o);break e}else if(n!==o){o=da(Error(ee(424)),t),t=U0(e,t,n,r,o);break e}else for(gr=fo(t.stateNode.containerInfo.firstChild),yr=t,Xe=!0,Xr=null,r=Ew(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(ua(),n===o){t=qn(e,t,r);break e}Ht(e,t,n,r)}t=t.child}return t;case 5:return Ow(t),e===null&&kp(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Cp(n,o)?a=null:i!==null&&Cp(n,i)&&(t.flags|=32),Jw(e,t),Ht(e,t,a,r),t.child;case 6:return e===null&&kp(t),null;case 13:return ex(e,t,r);case 4:return Gm(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=ca(t,null,n,r):Ht(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Yr(n,o),F0(e,t,n,o,r);case 7:return Ht(e,t,t.pendingProps,r),t.child;case 8:return Ht(e,t,t.pendingProps.children,r),t.child;case 12:return Ht(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Be(Ju,n._currentValue),n._currentValue=a,i!==null)if(rn(i.value,a)){if(i.children===o.children&&!tr.current){t=qn(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var u=s.firstContext;u!==null;){if(u.context===n){if(i.tag===1){u=Dn(-1,r&-r),u.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?u.next=u:(u.next=f.next,f.next=u),c.pending=u}}i.lanes|=r,u=i.alternate,u!==null&&(u.lanes|=r),Pp(i.return,r,t),s.lanes|=r;break}u=u.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(ee(341));a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),Pp(a,r,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Ht(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,ea(t,r),o=Mr(o),n=n(o),t.flags|=1,Ht(e,t,n,r),t.child;case 14:return n=t.type,o=Yr(n,t.pendingProps),o=Yr(n.type,o),W0(e,t,n,o,r);case 15:return Qw(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Yr(n,o),Cu(e,t),t.tag=1,rr(n)?(e=!0,Yu(t)):e=!1,ea(t,r),Rw(t,n,o),zp(t,n,o,r),Mp(null,t,n,!0,e,r);case 19:return tx(e,t,r);case 22:return Xw(e,t,r)}throw Error(ee(156,t.tag))};function gx(e,t){return Ub(e,t)}function qk(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zr(e,t,r,n){return new qk(e,t,r,n)}function lv(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Hk(e){if(typeof e=="function")return lv(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Tm)return 11;if(e===Em)return 14}return 2}function vo(e,t){var r=e.alternate;return r===null?(r=zr(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Eu(e,t,r,n,o,i){var a=2;if(n=e,typeof e=="function")lv(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case $i:return Ko(r.children,o,i,t);case Rm:a=8,o|=8;break;case rp:return e=zr(12,r,t,o|2),e.elementType=rp,e.lanes=i,e;case np:return e=zr(13,r,t,o),e.elementType=np,e.lanes=i,e;case op:return e=zr(19,r,t,o),e.elementType=op,e.lanes=i,e;case Tb:return Kc(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Cb:a=10;break e;case Rb:a=9;break e;case Tm:a=11;break e;case Em:a=14;break e;case Zn:a=16,n=null;break e}throw Error(ee(130,e==null?e:typeof e,""))}return t=zr(a,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function Ko(e,t,r,n){return e=zr(7,e,n,t),e.lanes=r,e}function Kc(e,t,r,n){return e=zr(22,e,n,t),e.elementType=Tb,e.lanes=r,e.stateNode={isHidden:!1},e}function Xd(e,t,r){return e=zr(6,e,null,t),e.lanes=r,e}function Jd(e,t,r){return t=zr(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gk(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zd(0),this.expirationTimes=zd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zd(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function sv(e,t,r,n,o,i,a,s,u){return e=new Gk(e,t,r,s,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=zr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hm(i),e}function Vk(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(bx)}catch(e){console.error(e)}}bx(),_b.exports=xr;var ms=_b.exports,t_=ms;ep.createRoot=t_.createRoot,ep.hydrateRoot=t_.hydrateRoot;/** + * @remix-run/router v1.8.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Xl(){return Xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function dv(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Zk(){return Math.random().toString(36).substr(2,8)}function n_(e,t){return{usr:e.state,key:e.key,idx:t}}function Vp(e,t,r,n){return r===void 0&&(r=null),Xl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ja(t):t,{state:r,key:t&&t.key||n||Zk()})}function uc(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ja(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function eP(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:i=!1}=n,a=o.history,s=ao.Pop,u=null,c=f();c==null&&(c=0,a.replaceState(Xl({},a.state,{idx:c}),""));function f(){return(a.state||{idx:null}).idx}function h(){s=ao.Pop;let C=f(),v=C==null?null:C-c;c=C,u&&u({action:s,location:y.location,delta:v})}function p(C,v){s=ao.Push;let g=Vp(y.location,C,v);r&&r(g,C),c=f()+1;let b=n_(g,c),T=y.createHref(g);try{a.pushState(b,"",T)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;o.location.assign(T)}i&&u&&u({action:s,location:y.location,delta:1})}function S(C,v){s=ao.Replace;let g=Vp(y.location,C,v);r&&r(g,C),c=f();let b=n_(g,c),T=y.createHref(g);a.replaceState(b,"",T),i&&u&&u({action:s,location:y.location,delta:0})}function _(C){let v=o.location.origin!=="null"?o.location.origin:o.location.href,g=typeof C=="string"?C:uc(C);return mt(v,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,v)}let y={get action(){return s},get location(){return e(o,a)},listen(C){if(u)throw new Error("A history only accepts one active listener");return o.addEventListener(r_,h),u=C,()=>{o.removeEventListener(r_,h),u=null}},createHref(C){return t(o,C)},createURL:_,encodeLocation(C){let v=_(C);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:p,replace:S,go(C){return a.go(C)}};return y}var o_;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(o_||(o_={}));function tP(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?ja(t):t,o=hv(n.pathname||"/",r);if(o==null)return null;let i=wx(e);rP(i);let a=null;for(let s=0;a==null&&s{let u={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};u.relativePath.startsWith("/")&&(mt(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let c=go([n,u.relativePath]),f=r.concat(u);i.children&&i.children.length>0&&(mt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),wx(i.children,t,f,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:uP(c,i.index),routesMeta:f})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let u of xx(i.path))o(i,a,u)}),t}function xx(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return o?[i,""]:[i];let a=xx(n.join("/")),s=[];return s.push(...a.map(u=>u===""?i:[i,u].join("/"))),o&&s.push(...a),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function rP(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:cP(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const nP=/^:\w+$/,oP=3,iP=2,aP=1,lP=10,sP=-2,i_=e=>e==="*";function uP(e,t){let r=e.split("/"),n=r.length;return r.some(i_)&&(n+=sP),t&&(n+=iP),r.filter(o=>!i_(o)).reduce((o,i)=>o+(nP.test(i)?oP:i===""?aP:lP),n)}function cP(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function fP(e,t){let{routesMeta:r}=e,n={},o="/",i=[];for(let a=0;a{if(f==="*"){let p=s[h]||"";a=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}return c[f]=mP(s[h]||"",f),c},{}),pathname:i,pathnameBase:a,pattern:e}}function hP(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),dv(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(a,s)=>(n.push(s),"/([^\\/]+)"));return e.endsWith("*")?(n.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function pP(e){try{return decodeURI(e)}catch(t){return dv(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function mP(e,t){try{return decodeURIComponent(e)}catch(r){return dv(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function hv(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function vP(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?ja(e):e;return{pathname:r?r.startsWith("/")?r:gP(r,t):t,search:_P(n),hash:SP(o)}}function gP(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function Zd(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Cx(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Rx(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=ja(e):(o=Xl({},e),mt(!o.pathname||!o.pathname.includes("?"),Zd("?","pathname","search",o)),mt(!o.pathname||!o.pathname.includes("#"),Zd("#","pathname","hash",o)),mt(!o.search||!o.search.includes("#"),Zd("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,s;if(n||a==null)s=r;else{let h=t.length-1;if(a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),h-=1;o.pathname=p.join("/")}s=h>=0?t[h]:"/"}let u=vP(o,s),c=a&&a!=="/"&&a.endsWith("/"),f=(i||a===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(c||f)&&(u.pathname+="/"),u}const go=e=>e.join("/").replace(/\/\/+/g,"/"),yP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_P=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,SP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function bP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Tx=["post","put","patch","delete"];new Set(Tx);const wP=["get",...Tx];new Set(wP);/** + * React Router v6.15.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function cc(){return cc=Object.assign?Object.assign.bind():function(e){for(var t=1;tu.pathnameBase)),a=L.useRef(!1);return Ox(()=>{a.current=!0}),L.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=Rx(u,JSON.parse(i),o,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:go([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,i,o,e])}const EP=L.createContext(null);function OP(e){let t=L.useContext(Po).outlet;return t&&L.createElement(EP.Provider,{value:e},t)}function kx(e,t){let{relative:r}=t===void 0?{}:t,{matches:n}=L.useContext(Po),{pathname:o}=ef(),i=JSON.stringify(Cx(n).map(a=>a.pathnameBase));return L.useMemo(()=>Rx(e,JSON.parse(i),o,r==="path"),[e,i,o,r])}function kP(e,t){return PP(e,t)}function PP(e,t,r){vs()||mt(!1);let{navigator:n}=L.useContext(Aa),{matches:o}=L.useContext(Po),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let u=ef(),c;if(t){var f;let y=typeof t=="string"?ja(t):t;s==="/"||(f=y.pathname)!=null&&f.startsWith(s)||mt(!1),c=y}else c=u;let h=c.pathname||"/",p=s==="/"?h:h.slice(s.length)||"/",S=tP(e,{pathname:p}),_=MP(S&&S.map(y=>Object.assign({},y,{params:Object.assign({},a,y.params),pathname:go([s,n.encodeLocation?n.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:go([s,n.encodeLocation?n.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,r);return t&&_?L.createElement(Zc.Provider,{value:{location:cc({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:ao.Pop}},_):_}function IP(){let e=DP(),t=bP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return L.createElement(L.Fragment,null,L.createElement("h2",null,"Unexpected Application Error!"),L.createElement("h3",{style:{fontStyle:"italic"}},t),r?L.createElement("pre",{style:o},r):null,i)}const zP=L.createElement(IP,null);class jP extends L.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?L.createElement(Po.Provider,{value:this.props.routeContext},L.createElement(Ex.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function AP(e){let{routeContext:t,match:r,children:n}=e,o=L.useContext(pv);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),L.createElement(Po.Provider,{value:t},n)}function MP(e,t,r){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var o;if((o=r)!=null&&o.errors)e=r.matches;else return null}let i=e,a=(n=r)==null?void 0:n.errors;if(a!=null){let s=i.findIndex(u=>u.route.id&&(a==null?void 0:a[u.route.id]));s>=0||mt(!1),i=i.slice(0,Math.min(i.length,s+1))}return i.reduceRight((s,u,c)=>{let f=u.route.id?a==null?void 0:a[u.route.id]:null,h=null;r&&(h=u.route.errorElement||zP);let p=t.concat(i.slice(0,c+1)),S=()=>{let _;return f?_=h:u.route.Component?_=L.createElement(u.route.Component,null):u.route.element?_=u.route.element:_=s,L.createElement(AP,{match:u,routeContext:{outlet:s,matches:p,isDataRoute:r!=null},children:_})};return r&&(u.route.ErrorBoundary||u.route.errorElement||c===0)?L.createElement(jP,{location:r.location,revalidation:r.revalidation,component:h,error:f,children:S(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):S()},null)}var Px=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Px||{}),fc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(fc||{});function LP(e){let t=L.useContext(pv);return t||mt(!1),t}function NP(e){let t=L.useContext(xP);return t||mt(!1),t}function $P(e){let t=L.useContext(Po);return t||mt(!1),t}function Ix(e){let t=$P(),r=t.matches[t.matches.length-1];return r.route.id||mt(!1),r.route.id}function DP(){var e;let t=L.useContext(Ex),r=NP(fc.UseRouteError),n=Ix(fc.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function FP(){let{router:e}=LP(Px.UseNavigateStable),t=Ix(fc.UseNavigateStable),r=L.useRef(!1);return Ox(()=>{r.current=!0}),L.useCallback(function(o,i){i===void 0&&(i={}),r.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,cc({fromRouteId:t},i)))},[e,t])}function WP(e){return OP(e.context)}function hr(e){mt(!1)}function BP(e){let{basename:t="/",children:r=null,location:n,navigationType:o=ao.Pop,navigator:i,static:a=!1}=e;vs()&&mt(!1);let s=t.replace(/^\/*/,"/"),u=L.useMemo(()=>({basename:s,navigator:i,static:a}),[s,i,a]);typeof n=="string"&&(n=ja(n));let{pathname:c="/",search:f="",hash:h="",state:p=null,key:S="default"}=n,_=L.useMemo(()=>{let y=hv(c,s);return y==null?null:{location:{pathname:y,search:f,hash:h,state:p,key:S},navigationType:o}},[s,c,f,h,p,S,o]);return _==null?null:L.createElement(Aa.Provider,{value:u},L.createElement(Zc.Provider,{children:r,value:_}))}function UP(e){let{children:t,location:r}=e;return kP(Kp(t),r)}new Promise(()=>{});function Kp(e,t){t===void 0&&(t=[]);let r=[];return L.Children.forEach(e,(n,o)=>{if(!L.isValidElement(n))return;let i=[...t,o];if(n.type===L.Fragment){r.push.apply(r,Kp(n.props.children,i));return}n.type!==hr&&mt(!1),!n.props.index||!n.props.children||mt(!1);let a={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(a.children=Kp(n.props.children,i)),r.push(a)}),r}/** + * React Router DOM v6.15.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Yp(){return Yp=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}function HP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function GP(e,t){return e.button===0&&(!t||t==="_self")&&!HP(e)}const VP=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],KP="startTransition",a_=aa[KP];function YP(e){let{basename:t,children:r,future:n,window:o}=e,i=L.useRef();i.current==null&&(i.current=Jk({window:o,v5Compat:!0}));let a=i.current,[s,u]=L.useState({action:a.action,location:a.location}),{v7_startTransition:c}=n||{},f=L.useCallback(h=>{c&&a_?a_(()=>u(h)):u(h)},[u,c]);return L.useLayoutEffect(()=>a.listen(f),[a,f]),L.createElement(BP,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:a})}const QP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",XP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Kr=L.forwardRef(function(t,r){let{onClick:n,relative:o,reloadDocument:i,replace:a,state:s,target:u,to:c,preventScrollReset:f}=t,h=qP(t,VP),{basename:p}=L.useContext(Aa),S,_=!1;if(typeof c=="string"&&XP.test(c)&&(S=c,QP))try{let g=new URL(window.location.href),b=c.startsWith("//")?new URL(g.protocol+c):new URL(c),T=hv(b.pathname,p);b.origin===g.origin&&T!=null?c=T+b.search+b.hash:_=!0}catch{}let y=CP(c,{relative:o}),C=JP(c,{replace:a,state:s,target:u,preventScrollReset:f,relative:o});function v(g){n&&n(g),g.defaultPrevented||C(g)}return L.createElement("a",Yp({},h,{href:S||y,onClick:_||i?n:v,ref:r,target:u}))});var l_;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(l_||(l_={}));var s_;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(s_||(s_={}));function JP(e,t){let{target:r,replace:n,state:o,preventScrollReset:i,relative:a}=t===void 0?{}:t,s=RP(),u=ef(),c=kx(e,{relative:a});return L.useCallback(f=>{if(GP(f,r)){f.preventDefault();let h=n!==void 0?n:uc(u)===uc(c);s(e,{replace:h,state:o,preventScrollReset:i,relative:a})}},[u,s,c,n,o,r,e,i,a])}/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var mr=function(){return mr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n0?Et(Ma,--ar):0,pa--,dt===10&&(pa=1,rf--),dt}function _r(){return dt=ar2||Zl(dt)>3?"":" "}function hI(e,t){for(;--t&&_r()&&!(dt<48||dt>102||dt>57&&dt<65||dt>70&&dt<97););return gs(e,Ou()+(t<6&&_n()==32&&_r()==32))}function Jp(e){for(;_r();)switch(dt){case e:return ar;case 34:case 39:e!==34&&e!==39&&Jp(dt);break;case 40:e===41&&Jp(e);break;case 92:_r();break}return ar}function pI(e,t){for(;_r()&&e+dt!==47+10;)if(e+dt===42+42&&_n()===47)break;return"/*"+gs(t,ar-1)+"*"+tf(e===47?e:_r())}function mI(e){for(;!Zl(_n());)_r();return gs(e,ar)}function u_(e){return Nx(Pu("",null,null,null,[""],e=Lx(e),0,[0],e))}function Pu(e,t,r,n,o,i,a,s,u){for(var c=0,f=0,h=a,p=0,S=0,_=0,y=1,C=1,v=1,g=0,b="",T=o,O=i,k=n,w=b;C;)switch(_=g,g=_r()){case 40:if(_!=108&&Et(w,h-1)==58){Xp(w+=je(ku(g),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:w+=ku(g);break;case 9:case 10:case 13:case 32:w+=dI(_);break;case 92:w+=hI(Ou()-1,7);continue;case 47:switch(_n()){case 42:case 47:ou(vI(pI(_r(),Ou()),t,r),u);break;default:w+="/"}break;case 123*y:s[c++]=fn(w)*v;case 125*y:case 59:case 0:switch(g){case 0:case 125:C=0;case 59+f:S>0&&fn(w)-h&&ou(S>32?f_(w+";",n,r,h-1):f_(je(w," ","")+";",n,r,h-2),u);break;case 59:w+=";";default:if(ou(k=c_(w,t,r,c,f,o,s,b,T=[],O=[],h),i),g===123)if(f===0)Pu(w,t,k,k,T,i,h,s,O);else switch(p===99&&Et(w,3)===110?100:p){case 100:case 109:case 115:Pu(e,k,k,n&&ou(c_(e,k,k,0,0,o,s,b,o,T=[],h),O),o,O,h,s,n?T:O);break;default:Pu(w,k,k,k,[""],O,0,s,O)}}c=f=S=0,y=v=1,b=w="",h=a;break;case 58:h=1+fn(w),S=_;default:if(y<1){if(g==123)--y;else if(g==125&&y++==0&&fI()==125)continue}switch(w+=tf(g),g*y){case 38:v=f>0?1:(w+="\f",-1);break;case 44:s[c++]=(fn(w)-1)*v,v=1;break;case 64:_n()===45&&(w+=ku(_r())),p=_n(),f=h=fn(b=w+=mI(Ou())),g++;break;case 45:_===45&&fn(w)==2&&(y=0)}}return i}function c_(e,t,r,n,o,i,a,s,u,c,f){for(var h=o-1,p=o===0?i:[""],S=yv(p),_=0,y=0,C=0;_0?p[v]+" "+g:je(g,/&\f/g,p[v])))&&(u[C++]=b);return nf(e,t,r,o===0?vv:s,u,c,f)}function vI(e,t,r){return nf(e,t,r,zx,tf(cI()),Jl(e,2,-2),0)}function f_(e,t,r,n){return nf(e,t,r,gv,Jl(e,0,n),Jl(e,n+1,-1),n)}function Yo(e,t){for(var r="",n=yv(e),o=0;o6)switch(Et(e,t+1)){case 109:if(Et(e,t+4)!==45)break;case 102:return je(e,/(.+:)(.+)-([^]+)/,"$1"+Pe+"$2-$3$1"+dc+(Et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xp(e,"stretch")?$x(je(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Et(e,t+1)!==115)break;case 6444:switch(Et(e,fn(e)-3-(~Xp(e,"!important")&&10))){case 107:return je(e,":",":"+Pe)+e;case 101:return je(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Pe+(Et(e,14)===45?"inline-":"")+"box$3$1"+Pe+"$2$3$1"+Nt+"$2box$3")+e}break;case 5936:switch(Et(e,t+11)){case 114:return Pe+e+Nt+je(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Pe+e+Nt+je(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Pe+e+Nt+je(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Pe+e+Nt+e+e}return e}var CI=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case gv:t.return=$x(t.value,t.length);break;case jx:return Yo([ol(t,{value:je(t.value,"@","@"+Pe)})],o);case vv:if(t.length)return uI(t.props,function(i){switch(sI(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yo([ol(t,{props:[je(i,/:(read-\w+)/,":"+dc+"$1")]})],o);case"::placeholder":return Yo([ol(t,{props:[je(i,/:(plac\w+)/,":"+Pe+"input-$1")]}),ol(t,{props:[je(i,/:(plac\w+)/,":"+dc+"$1")]}),ol(t,{props:[je(i,/:(plac\w+)/,Nt+"input-$1")]})],o)}return""})}},Iu=typeof document<"u",RI=Iu?void 0:yI(function(){return mv(function(){var e={};return function(t){return e[t]}})}),TI=[CI],Dx=function(t){var r=t.key;if(Iu&&r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(T){var O=T.getAttribute("data-emotion");O.indexOf(" ")!==-1&&(document.head.appendChild(T),T.setAttribute("data-s",""))})}var o=t.stylisPlugins||TI,i={},a,s=[];Iu&&(a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(T){for(var O=T.getAttribute("data-emotion").split(" "),k=1;k=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var MI={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},LI=/[A-Z]|^ms/g,NI=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Bx=function(t){return t.charCodeAt(1)===45},v_=function(t){return t!=null&&typeof t!="boolean"},eh=mv(function(e){return Bx(e)?e:e.replace(LI,"-$&").toLowerCase()}),g_=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(NI,function(n,o,i){return dn={name:o,styles:i,next:dn},o})}return MI[t]!==1&&!Bx(t)&&typeof r=="number"&&r!==0?r+"px":r};function es(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return dn={name:r.name,styles:r.styles,next:dn},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)dn={name:n.name,styles:n.styles,next:dn},n=n.next;var o=r.styles+";";return o}return $I(e,t,r)}case"function":{if(e!==void 0){var i=dn,a=r(e);return dn=i,es(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function $I(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o96?FI:WI},S_=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},BI=typeof document<"u",UI=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;Wx(r,n,o);var i=kI(function(){return jI(r,n,o)});if(!BI&&i!==void 0){for(var a,s=n.name,u=n.next;u!==void 0;)s+=" "+u.name,u=u.next;return L.createElement("style",(a={},a["data-emotion"]=r.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=r.sheet.nonce,a))}return null},qI=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=S_(t,r,n),u=s||__(o),c=!u("as");return function(){var f=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)h.push.apply(h,f);else{h.push(f[0][0]);for(var p=f.length,S=1;S"u")return!1;var t=Dr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function w2(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!Ar(i)||!Cn(i)||(Object.assign(i.style,n),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function x2(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],i=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=a.reduce(function(u,c){return u[c]="",u},{});!Ar(o)||!Cn(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(u){o.removeAttribute(u)}))})}}var C2={name:"applyStyles",enabled:!0,phase:"write",fn:w2,effect:x2,requires:["computeStyles"]};function Sn(e){return e.split("-")[0]}var Qo=Math.max,mc=Math.min,va=Math.round;function em(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Jx(){return!/^((?!chrome|android).)*safari/i.test(em())}function ga(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&Ar(e)&&(o=e.offsetWidth>0&&va(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&va(n.height)/e.offsetHeight||1);var a=ii(e)?Dr(e):window,s=a.visualViewport,u=!Jx()&&r,c=(n.left+(u&&s?s.offsetLeft:0))/o,f=(n.top+(u&&s?s.offsetTop:0))/i,h=n.width/o,p=n.height/i;return{width:h,height:p,top:f,right:c+h,bottom:f+p,left:c,x:c,y:f}}function wv(e){var t=ga(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Zx(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&bv(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Hn(e){return Dr(e).getComputedStyle(e)}function R2(e){return["table","td","th"].indexOf(Cn(e))>=0}function Io(e){return((ii(e)?e.ownerDocument:e.document)||window.document).documentElement}function af(e){return Cn(e)==="html"?e:e.assignedSlot||e.parentNode||(bv(e)?e.host:null)||Io(e)}function L_(e){return!Ar(e)||Hn(e).position==="fixed"?null:e.offsetParent}function T2(e){var t=/firefox/i.test(em()),r=/Trident/i.test(em());if(r&&Ar(e)){var n=Hn(e);if(n.position==="fixed")return null}var o=af(e);for(bv(o)&&(o=o.host);Ar(o)&&["html","body"].indexOf(Cn(o))<0;){var i=Hn(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function _s(e){for(var t=Dr(e),r=L_(e);r&&R2(r)&&Hn(r).position==="static";)r=L_(r);return r&&(Cn(r)==="html"||Cn(r)==="body"&&Hn(r).position==="static")?t:r||T2(e)||t}function xv(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function kl(e,t,r){return Qo(e,mc(t,r))}function E2(e,t,r){var n=kl(e,t,r);return n>r?r:n}function eC(){return{top:0,right:0,bottom:0,left:0}}function tC(e){return Object.assign({},eC(),e)}function rC(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var O2=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,tC(typeof t!="number"?t:rC(t,ys))};function k2(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Sn(r.placement),u=xv(s),c=[ir,$r].indexOf(s)>=0,f=c?"height":"width";if(!(!i||!a)){var h=O2(o.padding,r),p=wv(i),S=u==="y"?or:ir,_=u==="y"?Nr:$r,y=r.rects.reference[f]+r.rects.reference[u]-a[u]-r.rects.popper[f],C=a[u]-r.rects.reference[u],v=_s(i),g=v?u==="y"?v.clientHeight||0:v.clientWidth||0:0,b=y/2-C/2,T=h[S],O=g-p[f]-h[_],k=g/2-p[f]/2+b,w=kl(T,k,O),E=u;r.modifiersData[n]=(t={},t[E]=w,t.centerOffset=w-k,t)}}function P2(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Zx(t.elements.popper,o)&&(t.elements.arrow=o))}var I2={name:"arrow",enabled:!0,phase:"main",fn:k2,effect:P2,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ya(e){return e.split("-")[1]}var z2={top:"auto",right:"auto",bottom:"auto",left:"auto"};function j2(e){var t=e.x,r=e.y,n=window,o=n.devicePixelRatio||1;return{x:va(t*o)/o||0,y:va(r*o)/o||0}}function N_(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,h=e.isFixed,p=a.x,S=p===void 0?0:p,_=a.y,y=_===void 0?0:_,C=typeof f=="function"?f({x:S,y}):{x:S,y};S=C.x,y=C.y;var v=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=ir,T=or,O=window;if(c){var k=_s(r),w="clientHeight",E="clientWidth";if(k===Dr(r)&&(k=Io(r),Hn(k).position!=="static"&&s==="absolute"&&(w="scrollHeight",E="scrollWidth")),k=k,o===or||(o===ir||o===$r)&&i===ts){T=Nr;var P=h&&k===O&&O.visualViewport?O.visualViewport.height:k[w];y-=P-n.height,y*=u?1:-1}if(o===ir||(o===or||o===Nr)&&i===ts){b=$r;var z=h&&k===O&&O.visualViewport?O.visualViewport.width:k[E];S-=z-n.width,S*=u?1:-1}}var M=Object.assign({position:s},c&&z2),F=f===!0?j2({x:S,y}):{x:S,y};if(S=F.x,y=F.y,u){var H;return Object.assign({},M,(H={},H[T]=g?"0":"",H[b]=v?"0":"",H.transform=(O.devicePixelRatio||1)<=1?"translate("+S+"px, "+y+"px)":"translate3d("+S+"px, "+y+"px, 0)",H))}return Object.assign({},M,(t={},t[T]=g?y+"px":"",t[b]=v?S+"px":"",t.transform="",t))}function A2(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,u=s===void 0?!0:s,c={placement:Sn(t.placement),variation:ya(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,N_(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,N_(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var M2={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:A2,data:{}},iu={passive:!0};function L2(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,u=Dr(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(f){f.addEventListener("scroll",r.update,iu)}),s&&u.addEventListener("resize",r.update,iu),function(){i&&c.forEach(function(f){f.removeEventListener("scroll",r.update,iu)}),s&&u.removeEventListener("resize",r.update,iu)}}var N2={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:L2,data:{}},$2={left:"right",right:"left",bottom:"top",top:"bottom"};function zu(e){return e.replace(/left|right|bottom|top/g,function(t){return $2[t]})}var D2={start:"end",end:"start"};function $_(e){return e.replace(/start|end/g,function(t){return D2[t]})}function Cv(e){var t=Dr(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Rv(e){return ga(Io(e)).left+Cv(e).scrollLeft}function F2(e,t){var r=Dr(e),n=Io(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,u=0;if(o){i=o.width,a=o.height;var c=Jx();(c||!c&&t==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:s+Rv(e),y:u}}function W2(e){var t,r=Io(e),n=Cv(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Qo(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Qo(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+Rv(e),u=-n.scrollTop;return Hn(o||r).direction==="rtl"&&(s+=Qo(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}function Tv(e){var t=Hn(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function nC(e){return["html","body","#document"].indexOf(Cn(e))>=0?e.ownerDocument.body:Ar(e)&&Tv(e)?e:nC(af(e))}function Pl(e,t){var r;t===void 0&&(t=[]);var n=nC(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Dr(n),a=o?[i].concat(i.visualViewport||[],Tv(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Pl(af(a)))}function tm(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function B2(e,t){var r=ga(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function D_(e,t,r){return t===Qx?tm(F2(e,r)):ii(t)?B2(t,r):tm(W2(Io(e)))}function U2(e){var t=Pl(af(e)),r=["absolute","fixed"].indexOf(Hn(e).position)>=0,n=r&&Ar(e)?_s(e):e;return ii(n)?t.filter(function(o){return ii(o)&&Zx(o,n)&&Cn(o)!=="body"}):[]}function q2(e,t,r,n){var o=t==="clippingParents"?U2(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(u,c){var f=D_(e,c,n);return u.top=Qo(f.top,u.top),u.right=mc(f.right,u.right),u.bottom=mc(f.bottom,u.bottom),u.left=Qo(f.left,u.left),u},D_(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function oC(e){var t=e.reference,r=e.element,n=e.placement,o=n?Sn(n):null,i=n?ya(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(o){case or:u={x:a,y:t.y-r.height};break;case Nr:u={x:a,y:t.y+t.height};break;case $r:u={x:t.x+t.width,y:s};break;case ir:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var c=o?xv(o):null;if(c!=null){var f=c==="y"?"height":"width";switch(i){case ma:u[c]=u[c]-(t[f]/2-r[f]/2);break;case ts:u[c]=u[c]+(t[f]/2-r[f]/2);break}}return u}function rs(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,u=s===void 0?c2:s,c=r.rootBoundary,f=c===void 0?Qx:c,h=r.elementContext,p=h===void 0?il:h,S=r.altBoundary,_=S===void 0?!1:S,y=r.padding,C=y===void 0?0:y,v=tC(typeof C!="number"?C:rC(C,ys)),g=p===il?f2:il,b=e.rects.popper,T=e.elements[_?g:p],O=q2(ii(T)?T:T.contextElement||Io(e.elements.popper),u,f,a),k=ga(e.elements.reference),w=oC({reference:k,element:b,strategy:"absolute",placement:o}),E=tm(Object.assign({},b,w)),P=p===il?E:k,z={top:O.top-P.top+v.top,bottom:P.bottom-O.bottom+v.bottom,left:O.left-P.left+v.left,right:P.right-O.right+v.right},M=e.modifiersData.offset;if(p===il&&M){var F=M[o];Object.keys(z).forEach(function(H){var G=[$r,Nr].indexOf(H)>=0?1:-1,ue=[or,Nr].indexOf(H)>=0?"y":"x";z[H]+=F[ue]*G})}return z}function H2(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,c=u===void 0?Xx:u,f=ya(n),h=f?s?M_:M_.filter(function(_){return ya(_)===f}):ys,p=h.filter(function(_){return c.indexOf(_)>=0});p.length===0&&(p=h);var S=p.reduce(function(_,y){return _[y]=rs(e,{placement:y,boundary:o,rootBoundary:i,padding:a})[Sn(y)],_},{});return Object.keys(S).sort(function(_,y){return S[_]-S[y]})}function G2(e){if(Sn(e)===Sv)return[];var t=zu(e);return[$_(e),t,$_(t)]}function V2(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,u=r.fallbackPlacements,c=r.padding,f=r.boundary,h=r.rootBoundary,p=r.altBoundary,S=r.flipVariations,_=S===void 0?!0:S,y=r.allowedAutoPlacements,C=t.options.placement,v=Sn(C),g=v===C,b=u||(g||!_?[zu(C)]:G2(C)),T=[C].concat(b).reduce(function(tt,ye){return tt.concat(Sn(ye)===Sv?H2(t,{placement:ye,boundary:f,rootBoundary:h,padding:c,flipVariations:_,allowedAutoPlacements:y}):ye)},[]),O=t.rects.reference,k=t.rects.popper,w=new Map,E=!0,P=T[0],z=0;z=0,ue=G?"width":"height",se=rs(t,{placement:M,boundary:f,rootBoundary:h,altBoundary:p,padding:c}),ge=G?H?$r:ir:H?Nr:or;O[ue]>k[ue]&&(ge=zu(ge));var Z=zu(ge),ie=[];if(i&&ie.push(se[F]<=0),s&&ie.push(se[ge]<=0,se[Z]<=0),ie.every(function(tt){return tt})){P=M,E=!1;break}w.set(M,ie)}if(E)for(var fe=_?3:1,Se=function(ye){var q=T.find(function(V){var U=w.get(V);if(U)return U.slice(0,ye).every(function(J){return J})});if(q)return P=q,"break"},Ee=fe;Ee>0;Ee--){var xt=Se(Ee);if(xt==="break")break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}}var K2={name:"flip",enabled:!0,phase:"main",fn:V2,requiresIfExists:["offset"],data:{_skip:!1}};function F_(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function W_(e){return[or,$r,Nr,ir].some(function(t){return e[t]>=0})}function Y2(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=rs(t,{elementContext:"reference"}),s=rs(t,{altBoundary:!0}),u=F_(a,n),c=F_(s,o,i),f=W_(u),h=W_(c);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}var Q2={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Y2};function X2(e,t,r){var n=Sn(e),o=[ir,or].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[ir,$r].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function J2(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=Xx.reduce(function(f,h){return f[h]=X2(h,t.rects,i),f},{}),s=a[t.placement],u=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}var Z2={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:J2};function ez(e){var t=e.state,r=e.name;t.modifiersData[r]=oC({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var tz={name:"popperOffsets",enabled:!0,phase:"read",fn:ez,data:{}};function rz(e){return e==="x"?"y":"x"}function nz(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,u=r.boundary,c=r.rootBoundary,f=r.altBoundary,h=r.padding,p=r.tether,S=p===void 0?!0:p,_=r.tetherOffset,y=_===void 0?0:_,C=rs(t,{boundary:u,rootBoundary:c,padding:h,altBoundary:f}),v=Sn(t.placement),g=ya(t.placement),b=!g,T=xv(v),O=rz(T),k=t.modifiersData.popperOffsets,w=t.rects.reference,E=t.rects.popper,P=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,z=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(k){if(i){var H,G=T==="y"?or:ir,ue=T==="y"?Nr:$r,se=T==="y"?"height":"width",ge=k[T],Z=ge+C[G],ie=ge-C[ue],fe=S?-E[se]/2:0,Se=g===ma?w[se]:E[se],Ee=g===ma?-E[se]:-w[se],xt=t.elements.arrow,tt=S&&xt?wv(xt):{width:0,height:0},ye=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:eC(),q=ye[G],V=ye[ue],U=kl(0,w[se],tt[se]),J=b?w[se]/2-fe-U-q-z.mainAxis:Se-U-q-z.mainAxis,B=b?-w[se]/2+fe+U+V+z.mainAxis:Ee+U+V+z.mainAxis,de=t.elements.arrow&&_s(t.elements.arrow),ne=de?T==="y"?de.clientTop||0:de.clientLeft||0:0,te=(H=M==null?void 0:M[T])!=null?H:0,re=ge+J-te-ne,K=ge+B-te,X=kl(S?mc(Z,re):Z,ge,S?Qo(ie,K):ie);k[T]=X,F[T]=X-ge}if(s){var ae,pe=T==="x"?or:ir,me=T==="x"?Nr:$r,ve=k[O],be=O==="y"?"height":"width",Te=ve+C[pe],Me=ve-C[me],Ue=[or,ir].indexOf(v)!==-1,sr=(ae=M==null?void 0:M[O])!=null?ae:0,Tr=Ue?Te:ve-w[be]-E[be]-sr+z.altAxis,Er=Ue?ve+w[be]+E[be]-sr-z.altAxis:Me,Jt=S&&Ue?E2(Tr,ve,Er):kl(S?Tr:Te,ve,S?Er:Me);k[O]=Jt,F[O]=Jt-ve}t.modifiersData[n]=F}}var oz={name:"preventOverflow",enabled:!0,phase:"main",fn:nz,requiresIfExists:["offset"]};function iz(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function az(e){return e===Dr(e)||!Ar(e)?Cv(e):iz(e)}function lz(e){var t=e.getBoundingClientRect(),r=va(t.width)/e.offsetWidth||1,n=va(t.height)/e.offsetHeight||1;return r!==1||n!==1}function sz(e,t,r){r===void 0&&(r=!1);var n=Ar(t),o=Ar(t)&&lz(t),i=Io(t),a=ga(e,o,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((Cn(t)!=="body"||Tv(i))&&(s=az(t)),Ar(t)?(u=ga(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=Rv(i))),{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function uz(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&o(u)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function cz(e){var t=uz(e);return b2.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function fz(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function dz(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var B_={placement:"bottom",modifiers:[],strategy:"absolute"};function U_(){for(var e=arguments.length,t=new Array(e),r=0;r .`,` { + `,`; + + `,`; + } +`],[` + position: relative; + width: 100%; + + `,`; + + `,`; + + > .`,` { + `,`; + + `,`; + } +`])),function(e){var t=e.menuItemStyles;return t},function(e){var t=e.rootStyles;return t},Le.button,function(e){var t=e.level,r=e.disabled,n=e.active,o=e.collapsed,i=e.rtl;return iC({level:t,disabled:r,active:n,collapsed:o,rtl:i})},function(e){var t=e.buttonStyles;return t}),_z=function(e,t){var r,n=e.children,o=e.className,i=e.label,a=e.icon,s=e.title,u=e.prefix,c=e.suffix,f=e.open,h=e.defaultOpen,p=e.active,S=p===void 0?!1:p,_=e.disabled,y=_===void 0?!1:_,C=e.rootStyles,v=e.component,g=e.onOpenChange,b=e.onClick,T=e.onKeyUp,O=oi(e,["children","className","label","icon","title","prefix","suffix","open","defaultOpen","active","disabled","rootStyles","component","onOpenChange","onClick","onKeyUp"]),k=oe.useContext(pc),w=oe.useContext(of),E=w.collapsed,P=w.rtl,z=w.transitionDuration,M=_v(),F=M.renderExpandIcon,H=M.closeOnClick,G=M.menuItemStyles,ue=M.transitionDuration,se=oe.useState(!!h),ge=se[0],Z=se[1],ie=oe.useState(!1),fe=ie[0],Se=ie[1],Ee=oe.useState(!1),xt=Ee[0],tt=Ee[1],ye=oe.useRef(null),q=oe.useRef(null),V=oe.useRef(),U=vz({level:k,buttonRef:ye,contentRef:q}).popperInstance,J=function(){var X=q.current;if(X){X.style.display="block",X.style.overflow="hidden",X.style.height="auto";var ae=X.offsetHeight;X.style.height="0px",X.offsetHeight,X.style.height="".concat(ae,"px"),V.current=setTimeout(function(){X.style.overflow="auto",X.style.height="auto"},ue)}},B=function(){var X=q.current;X&&(X.style.overflow="hidden",X.style.height="".concat(X.offsetHeight,"px"),X.offsetHeight,X.style.height="0px",V.current=setTimeout(function(){X.style.overflow="auto",X.style.display="none"},ue))},de=function(){if(!(k===0&&E)){clearTimeout(Number(V.current));var X=f??ge;X?B():J(),g==null||g(!X),typeof f>"u"&&Z(!ge)}},ne=function(X){b==null||b(X),de()},te=function(X){T==null||T(X),X.key==="Enter"&&de()},re=function(X){if(G){var ae={level:k,disabled:y,active:S,isSubmenu:!0,open:f??ge},pe=G.root,me=G.button,ve=G.label,be=G.icon,Te=G.prefix,Me=G.suffix,Ue=G.subMenuContent,sr=G.SubMenuExpandIcon;switch(X){case"root":return typeof pe=="function"?pe(ae):pe;case"button":return typeof me=="function"?me(ae):me;case"label":return typeof ve=="function"?ve(ae):ve;case"icon":return typeof be=="function"?be(ae):be;case"prefix":return typeof Te=="function"?Te(ae):Te;case"suffix":return typeof Me=="function"?Me(ae):Me;case"SubMenuExpandIcon":return typeof sr=="function"?sr(ae):sr;case"subMenuContent":return typeof Ue=="function"?Ue(ae):Ue;default:return}}};oe.useEffect(function(){setTimeout(function(){return U==null?void 0:U.update()},z),E&&k===0&&Se(!1)},[E,k,P,z,U]),oe.useEffect(function(){var X=function(ve){var be,Te,Me;!fe&&(!((be=ye.current)===null||be===void 0)&&be.contains(ve))?Se(!0):(H&&!(!((Te=ve.closest(".".concat(Le.menuItemRoot)))===null||Te===void 0)&&Te.classList.contains(Le.subMenuRoot))||!(!((Me=q.current)===null||Me===void 0)&&Me.contains(ve))&&fe)&&Se(!1)},ae=function(ve){X(ve.target)},pe=function(ve){ve.key==="Enter"?X(ve.target):ve.key==="Escape"&&Se(!1)},me=function(){document.removeEventListener("click",ae),document.removeEventListener("keyup",pe)};return me(),E&&k===0&&(document.addEventListener("click",ae,!1),document.addEventListener("keyup",pe,!1)),function(){me()}},[E,k,H,fe]),oe.useEffect(function(){tt(!0)},[]);var K=(r={},r[Le.active]=S,r[Le.disabled]=y,r[Le.open]=f??ge,r);return oe.createElement(yz,{ref:t,className:gt(Le.menuItemRoot,Le.subMenuRoot,K,o),menuItemStyles:re("root"),level:k,collapsed:E,rtl:P,disabled:y,active:S,buttonStyles:re("button"),rootStyles:C},oe.createElement(aC,mr({"data-testid":"".concat(Le.button,"-test-id"),ref:ye,title:s,className:gt(Le.button,K),onClick:ne,onKeyUp:te,component:v,tabIndex:0},O),a&&oe.createElement(Vx,{rtl:P,className:gt(Le.icon,K),rootStyles:re("icon")},a),u&&oe.createElement(Kx,{collapsed:E,transitionDuration:z,firstLevel:k===0,className:gt(Le.prefix,K),rtl:P,rootStyles:re("prefix")},u),oe.createElement(Gx,{className:gt(Le.label,K),rootStyles:re("label")},i),c&&oe.createElement(Yx,{collapsed:E,transitionDuration:z,firstLevel:k===0,className:gt(Le.suffix,K),rootStyles:re("suffix")},c),oe.createElement(l2,{rtl:P,className:gt(Le.SubMenuExpandIcon,K),collapsed:E,level:k,rootStyles:re("SubMenuExpandIcon")},F?F({level:k,disabled:y,active:S,open:f??ge}):E&&k===0?oe.createElement(u2,null):oe.createElement(s2,{rtl:P,open:f??ge}))),oe.createElement(a2,{ref:q,openWhenCollapsed:fe,open:f??ge,firstLevel:k===0,collapsed:E,defaultOpen:f&&!xt||h,className:gt(Le.subMenuContent,K),rootStyles:re("subMenuContent")},oe.createElement(pc.Provider,{value:k+1},n)))};oe.forwardRef(_z);var q_,Sz=bt.li(H_||(H_=Bt([` + width: 100%; + position: relative; + + `,`; + + `,`; + + > .`,` { + `,`; + + `,`; + } +`],[` + width: 100%; + position: relative; + + `,`; + + `,`; + + > .`,` { + `,`; + + `,`; + } +`])),function(e){var t=e.menuItemStyles;return t},function(e){var t=e.rootStyles;return t},Le.button,function(e){var t=e.level,r=e.disabled,n=e.active,o=e.collapsed,i=e.rtl;return iC({level:t,disabled:r,active:n,collapsed:o,rtl:i})},function(e){var t=e.buttonStyles;return t}),bz=function(e,t){var r,n=e.children,o=e.icon,i=e.className,a=e.prefix,s=e.suffix,u=e.active,c=u===void 0?!1:u,f=e.disabled,h=f===void 0?!1:f,p=e.component,S=e.rootStyles,_=oi(e,["children","icon","className","prefix","suffix","active","disabled","component","rootStyles"]),y=oe.useContext(pc),C=oe.useContext(of),v=C.collapsed,g=C.rtl,b=C.transitionDuration,T=_v().menuItemStyles,O=function(w){if(T){var E={level:y,disabled:h,active:c,isSubmenu:!1},P=T.root,z=T.button,M=T.label,F=T.icon,H=T.prefix,G=T.suffix;switch(w){case"root":return typeof P=="function"?P(E):P;case"button":return typeof z=="function"?z(E):z;case"label":return typeof M=="function"?M(E):M;case"icon":return typeof F=="function"?F(E):F;case"prefix":return typeof H=="function"?H(E):H;case"suffix":return typeof G=="function"?G(E):G;default:return}}},k=(r={},r[Le.active]=c,r[Le.disabled]=h,r);return oe.createElement(Sz,{ref:t,className:gt(Le.menuItemRoot,k,i),menuItemStyles:O("root"),level:y,collapsed:v,rtl:g,disabled:h,active:c,buttonStyles:O("button"),rootStyles:S},oe.createElement(aC,mr({className:gt(Le.button,k),"data-testid":"".concat(Le.button,"-test-id"),component:p,tabIndex:0},_),o&&oe.createElement(Vx,{rtl:g,className:gt(Le.icon,k),rootStyles:O("icon")},o),a&&oe.createElement(Kx,{collapsed:v,transitionDuration:b,firstLevel:y===0,className:gt(Le.prefix,k),rtl:g,rootStyles:O("prefix")},a),oe.createElement(Gx,{className:gt(Le.label,k),rootStyles:O("label")},n),s&&oe.createElement(Yx,{collapsed:v,transitionDuration:b,firstLevel:y===0,className:gt(Le.suffix,k),rootStyles:O("suffix")},s)))},Vr=oe.forwardRef(bz),H_,Ev={},lC={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(lC);var Fr=lC.exports,th={};function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[r]=sC(e[r])}),t}function Fn(e,t,r={clone:!0}){const n=r.clone?_e({},e):e;return Mi(e)&&Mi(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Mi(t[o])&&o in e&&Mi(e[o])?n[o]=Fn(e[o],t[o],r):r.clone?n[o]=Mi(t[o])?sC(t[o]):t[o]:n[o]=t[o])}),n}var rh={exports:{}},nh,G_;function wz(){if(G_)return nh;G_=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return nh=e,nh}var oh,V_;function xz(){if(V_)return oh;V_=1;var e=wz();function t(){}function r(){}return r.resetWarningCache=t,oh=function(){function n(a,s,u,c,f,h){if(h!==e){var p=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 p.name="Invariant Violation",p}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},oh}var K_;function uC(){return K_||(K_=1,rh.exports=xz()()),rh.exports}uC();function _a(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;rr==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function Ez(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function Oz(e,t){return()=>null}function kz(e,t){return L.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function fC(e){return e&&e.ownerDocument||document}function Pz(e){return fC(e).defaultView||window}function Iz(e,t){return()=>null}function dC(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const zz=typeof window<"u"?L.useLayoutEffect:L.useEffect,hC=zz;let Y_=0;function jz(e){const[t,r]=L.useState(e),n=e||t;return L.useEffect(()=>{t==null&&(Y_+=1,r(`mui-${Y_}`))},[t]),n}const Q_=aa["useId".toString()];function Az(e){if(Q_!==void 0){const t=Q_();return e??t}return jz(e)}function Mz(e,t,r,n,o){return null}function Lz({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=L.useRef(e!==void 0),[i,a]=L.useState(t),s=o?e:i,u=L.useCallback(c=>{o||a(c)},[]);return[s,u]}function Nz(e){const t=L.useRef(e);return hC(()=>{t.current=e}),L.useCallback((...r)=>(0,t.current)(...r),[])}function $z(...e){return L.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{dC(r,t)})},e)}let gf=!0,rm=!1,X_;const Dz={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 Fz(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&Dz[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Wz(e){e.metaKey||e.altKey||e.ctrlKey||(gf=!0)}function ih(){gf=!1}function Bz(){this.visibilityState==="hidden"&&rm&&(gf=!0)}function Uz(e){e.addEventListener("keydown",Wz,!0),e.addEventListener("mousedown",ih,!0),e.addEventListener("pointerdown",ih,!0),e.addEventListener("touchstart",ih,!0),e.addEventListener("visibilitychange",Bz,!0)}function qz(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return gf||Fz(t)}function Hz(){const e=L.useCallback(o=>{o!=null&&Uz(o.ownerDocument)},[]),t=L.useRef(!1);function r(){return t.current?(rm=!0,window.clearTimeout(X_),X_=window.setTimeout(()=>{rm=!1},100),t.current=!1,!0):!1}function n(o){return qz(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function pC(e,t){const r=_e({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=_e({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=_e({},i),Object.keys(o).forEach(a=>{r[n][a]=pC(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Gz(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const s=t(a);s!==""&&i.push(s),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}const J_=e=>e,Vz=()=>{let e=J_;return{configure(t){e=t},generate(t){return e(t)},reset(){e=J_}}},Kz=Vz(),mC=Kz,Yz={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function vC(e,t,r="Mui"){const n=Yz[t];return n?`${r}-${n}`:`${mC.generate(e)}-${t}`}function Qz(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=vC(e,o,r)}),n}function Rn(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i=0)&&(r[o]=e[o]);return r}function gC(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t0?Ot(La,--lr):0,Sa--,ht===10&&(Sa=1,_f--),ht}function Sr(){return ht=lr2||os(ht)>3?"":" "}function hj(e,t){for(;--t&&Sr()&&!(ht<48||ht>102||ht>57&&ht<65||ht>70&&ht<97););return Ss(e,ju()+(t<6&&wn()==32&&Sr()==32))}function om(e){for(;Sr();)switch(ht){case e:return lr;case 34:case 39:e!==34&&e!==39&&om(ht);break;case 40:e===41&&om(e);break;case 92:Sr();break}return lr}function pj(e,t){for(;Sr()&&e+ht!==47+10;)if(e+ht===42+42&&wn()===47)break;return"/*"+Ss(t,lr-1)+"*"+yf(e===47?e:Sr())}function mj(e){for(;!os(wn());)Sr();return Ss(e,lr)}function vj(e){return CC(Mu("",null,null,null,[""],e=xC(e),0,[0],e))}function Mu(e,t,r,n,o,i,a,s,u){for(var c=0,f=0,h=a,p=0,S=0,_=0,y=1,C=1,v=1,g=0,b="",T=o,O=i,k=n,w=b;C;)switch(_=g,g=Sr()){case 40:if(_!=108&&Ot(w,h-1)==58){nm(w+=ze(Au(g),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:w+=Au(g);break;case 9:case 10:case 13:case 32:w+=dj(_);break;case 92:w+=hj(ju()-1,7);continue;case 47:switch(wn()){case 42:case 47:au(gj(pj(Sr(),ju()),t,r),u);break;default:w+="/"}break;case 123*y:s[c++]=hn(w)*v;case 125*y:case 59:case 0:switch(g){case 0:case 125:C=0;case 59+f:v==-1&&(w=ze(w,/\f/g,"")),S>0&&hn(w)-h&&au(S>32?eS(w+";",n,r,h-1):eS(ze(w," ","")+";",n,r,h-2),u);break;case 59:w+=";";default:if(au(k=Z_(w,t,r,c,f,o,s,b,T=[],O=[],h),i),g===123)if(f===0)Mu(w,t,k,k,T,i,h,s,O);else switch(p===99&&Ot(w,3)===110?100:p){case 100:case 108:case 109:case 115:Mu(e,k,k,n&&au(Z_(e,k,k,0,0,o,s,b,o,T=[],h),O),o,O,h,s,n?T:O);break;default:Mu(w,k,k,k,[""],O,0,s,O)}}c=f=S=0,y=v=1,b=w="",h=a;break;case 58:h=1+hn(w),S=_;default:if(y<1){if(g==123)--y;else if(g==125&&y++==0&&fj()==125)continue}switch(w+=yf(g),g*y){case 38:v=f>0?1:(w+="\f",-1);break;case 44:s[c++]=(hn(w)-1)*v,v=1;break;case 64:wn()===45&&(w+=Au(Sr())),p=wn(),f=h=hn(b=w+=mj(ju())),g++;break;case 45:_===45&&hn(w)==2&&(y=0)}}return i}function Z_(e,t,r,n,o,i,a,s,u,c,f){for(var h=o-1,p=o===0?i:[""],S=zv(p),_=0,y=0,C=0;_0?p[v]+" "+g:ze(g,/&\f/g,p[v])))&&(u[C++]=b);return Sf(e,t,r,o===0?Pv:s,u,c,f)}function gj(e,t,r){return Sf(e,t,r,_C,yf(cj()),ns(e,2,-2),0)}function eS(e,t,r,n){return Sf(e,t,r,Iv,ns(e,0,n),ns(e,n+1,-1),n)}function ra(e,t){for(var r="",n=zv(e),o=0;o6)switch(Ot(e,t+1)){case 109:if(Ot(e,t+4)!==45)break;case 102:return ze(e,/(.+:)(.+)-([^]+)/,"$1"+Ie+"$2-$3$1"+vc+(Ot(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~nm(e,"stretch")?RC(ze(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ot(e,t+1)!==115)break;case 6444:switch(Ot(e,hn(e)-3-(~nm(e,"!important")&&10))){case 107:return ze(e,":",":"+Ie)+e;case 101:return ze(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ie+(Ot(e,14)===45?"inline-":"")+"box$3$1"+Ie+"$2$3$1"+$t+"$2box$3")+e}break;case 5936:switch(Ot(e,t+11)){case 114:return Ie+e+$t+ze(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ie+e+$t+ze(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ie+e+$t+ze(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ie+e+$t+e+e}return e}var Tj=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Iv:t.return=RC(t.value,t.length);break;case SC:return ra([al(t,{value:ze(t.value,"@","@"+Ie)})],o);case Pv:if(t.length)return uj(t.props,function(i){switch(sj(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ra([al(t,{props:[ze(i,/:(read-\w+)/,":"+vc+"$1")]})],o);case"::placeholder":return ra([al(t,{props:[ze(i,/:(plac\w+)/,":"+Ie+"input-$1")]}),al(t,{props:[ze(i,/:(plac\w+)/,":"+vc+"$1")]}),al(t,{props:[ze(i,/:(plac\w+)/,$t+"input-$1")]})],o)}return""})}},Ej=[Tj],Oj=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(y){var C=y.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||Ej,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var C=y.getAttribute("data-emotion").split(" "),v=1;v=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Wj={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Bj=/[A-Z]|^ms/g,Uj=/_EMO_([^_]+?)_([^]*?)_EMO_/g,IC=function(t){return t.charCodeAt(1)===45},rS=function(t){return t!=null&&typeof t!="boolean"},ah=yC(function(e){return IC(e)?e:e.replace(Bj,"-$&").toLowerCase()}),nS=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Uj,function(n,o,i){return pn={name:o,styles:i,next:pn},o})}return Wj[t]!==1&&!IC(t)&&typeof r=="number"&&r!==0?r+"px":r};function is(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return pn={name:r.name,styles:r.styles,next:pn},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)pn={name:n.name,styles:n.styles,next:pn},n=n.next;var o=r.styles+";";return o}return qj(e,t,r)}case"function":{if(e!==void 0){var i=pn,a=r(e);return pn=i,is(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function qj(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o96?Qj:Xj},aS=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Jj=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return PC(r,n,o),Kj(function(){return Dj(r,n,o)}),null},Zj=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=aS(t,r,n),u=s||iS(o),c=!u("as");return function(){var f=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)h.push.apply(h,f);else{h.push(f[0][0]);for(var p=f.length,S=1;S{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},nA=["values","unit","step"],oA=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>_e({},r,{[n.key]:n.val}),{})};function iA(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=Rn(e,nA),i=oA(t),a=Object.keys(i);function s(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function u(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function c(p,S){const _=a.indexOf(S);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(_!==-1&&typeof t[a[_]]=="number"?t[a[_]]:S)-n/100}${r})`}function f(p){return a.indexOf(p)+1`@media (min-width:${Lv[e]}px)`};function Gn(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||lS;return t.reduce((a,s,u)=>(a[i.up(i.keys[u])]=r(t[u]),a),{})}if(typeof t=="object"){const i=n.breakpoints||lS;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||Lv).indexOf(s)!==-1){const u=i.up(s);a[u]=r(t[s],s)}else{const u=s;a[u]=t[u]}return a},{})}return r(t)}function sA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function uA(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function If(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function gc(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=If(e,r)||n,t&&(o=t(o,n,e)),o}function Ae(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],u=a.theme,c=If(u,n)||{};return Gn(a,s,h=>{let p=gc(c,o,h);return h===p&&typeof h=="string"&&(p=gc(c,o,`${t}${h==="default"?"":bn(h)}`,h)),r===!1?p:{[r]:p}})};return i.propTypes={},i.filterProps=[t],i}function cA(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const fA={m:"margin",p:"padding"},dA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},sS={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},hA=cA(e=>{if(e.length>2)if(sS[e])e=sS[e];else return[e];const[t,r]=e.split(""),n=fA[t],o=dA[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Nv=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],$v=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Nv,...$v];function bs(e,t,r,n){var o;const i=(o=If(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:i*a:Array.isArray(i)?a=>typeof a=="string"?a:i[a]:typeof i=="function"?i:()=>{}}function AC(e){return bs(e,"spacing",8)}function ws(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function pA(e,t){return r=>e.reduce((n,o)=>(n[o]=ws(t,r),n),{})}function mA(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=hA(r),i=pA(o,n),a=e[r];return Gn(e,a,i)}function MC(e,t){const r=AC(e.theme);return Object.keys(e).map(n=>mA(e,t,n,r)).reduce(Il,{})}function rt(e){return MC(e,Nv)}rt.propTypes={};rt.filterProps=Nv;function nt(e){return MC(e,$v)}nt.propTypes={};nt.filterProps=$v;function vA(e=8){if(e.mui)return e;const t=AC({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return r.mui=!0,r}function zf(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Il(o,t[i](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function vn(e){return typeof e!="number"?e:`${e}px solid`}const gA=Ae({prop:"border",themeKey:"borders",transform:vn}),yA=Ae({prop:"borderTop",themeKey:"borders",transform:vn}),_A=Ae({prop:"borderRight",themeKey:"borders",transform:vn}),SA=Ae({prop:"borderBottom",themeKey:"borders",transform:vn}),bA=Ae({prop:"borderLeft",themeKey:"borders",transform:vn}),wA=Ae({prop:"borderColor",themeKey:"palette"}),xA=Ae({prop:"borderTopColor",themeKey:"palette"}),CA=Ae({prop:"borderRightColor",themeKey:"palette"}),RA=Ae({prop:"borderBottomColor",themeKey:"palette"}),TA=Ae({prop:"borderLeftColor",themeKey:"palette"}),jf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=bs(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:ws(t,n)});return Gn(e,e.borderRadius,r)}return null};jf.propTypes={};jf.filterProps=["borderRadius"];zf(gA,yA,_A,SA,bA,wA,xA,CA,RA,TA,jf);const Af=e=>{if(e.gap!==void 0&&e.gap!==null){const t=bs(e.theme,"spacing",8),r=n=>({gap:ws(t,n)});return Gn(e,e.gap,r)}return null};Af.propTypes={};Af.filterProps=["gap"];const Mf=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=bs(e.theme,"spacing",8),r=n=>({columnGap:ws(t,n)});return Gn(e,e.columnGap,r)}return null};Mf.propTypes={};Mf.filterProps=["columnGap"];const Lf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=bs(e.theme,"spacing",8),r=n=>({rowGap:ws(t,n)});return Gn(e,e.rowGap,r)}return null};Lf.propTypes={};Lf.filterProps=["rowGap"];const EA=Ae({prop:"gridColumn"}),OA=Ae({prop:"gridRow"}),kA=Ae({prop:"gridAutoFlow"}),PA=Ae({prop:"gridAutoColumns"}),IA=Ae({prop:"gridAutoRows"}),zA=Ae({prop:"gridTemplateColumns"}),jA=Ae({prop:"gridTemplateRows"}),AA=Ae({prop:"gridTemplateAreas"}),MA=Ae({prop:"gridArea"});zf(Af,Mf,Lf,EA,OA,kA,PA,IA,zA,jA,AA,MA);function na(e,t){return t==="grey"?t:e}const LA=Ae({prop:"color",themeKey:"palette",transform:na}),NA=Ae({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:na}),$A=Ae({prop:"backgroundColor",themeKey:"palette",transform:na});zf(LA,NA,$A);function vr(e){return e<=1&&e!==0?`${e*100}%`:e}const DA=Ae({prop:"width",transform:vr}),Dv=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n;return{maxWidth:((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Lv[r]||vr(r)}};return Gn(e,e.maxWidth,t)}return null};Dv.filterProps=["maxWidth"];const FA=Ae({prop:"minWidth",transform:vr}),WA=Ae({prop:"height",transform:vr}),BA=Ae({prop:"maxHeight",transform:vr}),UA=Ae({prop:"minHeight",transform:vr});Ae({prop:"size",cssProperty:"width",transform:vr});Ae({prop:"size",cssProperty:"height",transform:vr});const qA=Ae({prop:"boxSizing"});zf(DA,Dv,FA,WA,BA,UA,qA);const HA={border:{themeKey:"borders",transform:vn},borderTop:{themeKey:"borders",transform:vn},borderRight:{themeKey:"borders",transform:vn},borderBottom:{themeKey:"borders",transform:vn},borderLeft:{themeKey:"borders",transform:vn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:jf},color:{themeKey:"palette",transform:na},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:na},backgroundColor:{themeKey:"palette",transform:na},p:{style:nt},pt:{style:nt},pr:{style:nt},pb:{style:nt},pl:{style:nt},px:{style:nt},py:{style:nt},padding:{style:nt},paddingTop:{style:nt},paddingRight:{style:nt},paddingBottom:{style:nt},paddingLeft:{style:nt},paddingX:{style:nt},paddingY:{style:nt},paddingInline:{style:nt},paddingInlineStart:{style:nt},paddingInlineEnd:{style:nt},paddingBlock:{style:nt},paddingBlockStart:{style:nt},paddingBlockEnd:{style:nt},m:{style:rt},mt:{style:rt},mr:{style:rt},mb:{style:rt},ml:{style:rt},mx:{style:rt},my:{style:rt},margin:{style:rt},marginTop:{style:rt},marginRight:{style:rt},marginBottom:{style:rt},marginLeft:{style:rt},marginX:{style:rt},marginY:{style:rt},marginInline:{style:rt},marginInlineStart:{style:rt},marginInlineEnd:{style:rt},marginBlock:{style:rt},marginBlockStart:{style:rt},marginBlockEnd:{style:rt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Af},rowGap:{style:Lf},columnGap:{style:Mf},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:vr},maxWidth:{style:Dv},minWidth:{transform:vr},height:{transform:vr},maxHeight:{transform:vr},minHeight:{transform:vr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Fv=HA;function GA(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function VA(e,t){return typeof e=="function"?e(t):e}function KA(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:u=r,themeKey:c,transform:f,style:h}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const p=If(o,c)||{};return h?h(a):Gn(a,n,_=>{let y=gc(p,f,_);return _===y&&typeof _=="string"&&(y=gc(p,f,`${r}${_==="default"?"":bn(_)}`,_)),u===!1?y:{[u]:y}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Fv;function s(u){let c=u;if(typeof u=="function")c=u(i);else if(typeof u!="object")return u;if(!c)return null;const f=sA(i.breakpoints),h=Object.keys(f);let p=f;return Object.keys(c).forEach(S=>{const _=VA(c[S],i);if(_!=null)if(typeof _=="object")if(a[S])p=Il(p,e(S,_,i,a));else{const y=Gn({theme:i},_,C=>({[S]:C}));GA(y,_)?p[S]=t({sx:_,theme:i}):p=Il(p,y)}else p=Il(p,e(S,_,i,a))}),uA(h,p)}return Array.isArray(o)?o.map(s):s(o)}return t}const LC=KA();LC.filterProps=["sx"];const Wv=LC,YA=["breakpoints","palette","spacing","shape"];function Bv(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=Rn(e,YA),s=iA(r),u=vA(o);let c=Fn({breakpoints:s,direction:"ltr",components:{},palette:_e({mode:"light"},n),spacing:u,shape:_e({},lA,i)},a);return c=t.reduce((f,h)=>Fn(f,h),c),c.unstable_sxConfig=_e({},Fv,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(h){return Wv({sx:h,theme:this})},c}function QA(e){return Object.keys(e).length===0}function XA(e=null){const t=L.useContext(jC);return!t||QA(t)?e:t}const JA=Bv();function ZA(e=JA){return XA(e)}const eM=["variant"];function uS(e){return e.length===0}function NC(e){const{variant:t}=e,r=Rn(e,eM);let n=t||"";return Object.keys(r).sort().forEach(o=>{o==="color"?n+=uS(n)?e[o]:bn(e[o]):n+=`${uS(n)?o:bn(o)}${bn(e[o].toString())}`}),n}const tM=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function rM(e){return Object.keys(e).length===0}function nM(e){return typeof e=="string"&&e.charCodeAt(0)>96}const oM=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,iM=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach(o=>{const i=NC(o.props);n[i]=o.style}),n},aM=(e,t,r,n)=>{var o;const{ownerState:i={}}=e,a=[],s=r==null||(o=r.components)==null||(o=o[n])==null?void 0:o.variants;return s&&s.forEach(u=>{let c=!0;Object.keys(u.props).forEach(f=>{i[f]!==u.props[f]&&e[f]!==u.props[f]&&(c=!1)}),c&&a.push(t[NC(u.props)])}),a};function Lu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const lM=Bv(),sM=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function ll({defaultTheme:e,theme:t,themeId:r}){return rM(t)?e:t[r]||t}function uM(e){return e?(t,r)=>r[e]:null}function cM(e={}){const{themeId:t,defaultTheme:r=lM,rootShouldForwardProp:n=Lu,slotShouldForwardProp:o=Lu}=e,i=a=>Wv(_e({},a,{theme:ll(_e({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{rA(a,T=>T.filter(O=>!(O!=null&&O.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:f,skipSx:h,overridesResolver:p=uM(sM(c))}=s,S=Rn(s,tM),_=f!==void 0?f:c&&c!=="Root"&&c!=="root"||!1,y=h||!1;let C,v=Lu;c==="Root"||c==="root"?v=n:c?v=o:nM(a)&&(v=void 0);const g=tA(a,_e({shouldForwardProp:v,label:C},S)),b=(T,...O)=>{const k=O?O.map(z=>typeof z=="function"&&z.__emotion_real!==z?M=>z(_e({},M,{theme:ll(_e({},M,{defaultTheme:r,themeId:t}))})):z):[];let w=T;u&&p&&k.push(z=>{const M=ll(_e({},z,{defaultTheme:r,themeId:t})),F=oM(u,M);if(F){const H={};return Object.entries(F).forEach(([G,ue])=>{H[G]=typeof ue=="function"?ue(_e({},z,{theme:M})):ue}),p(z,H)}return null}),u&&!_&&k.push(z=>{const M=ll(_e({},z,{defaultTheme:r,themeId:t}));return aM(z,iM(u,M),M,u)}),y||k.push(i);const E=k.length-O.length;if(Array.isArray(T)&&E>0){const z=new Array(E).fill("");w=[...T,...z],w.raw=[...T.raw,...z]}else typeof T=="function"&&T.__emotion_real!==T&&(w=z=>T(_e({},z,{theme:ll(_e({},z,{defaultTheme:r,themeId:t}))})));const P=g(w,...k);return a.muiName&&(P.muiName=a.muiName),P};return g.withConfig&&(b.withConfig=g.withConfig),b}}function fM(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:pC(t.components[r].defaultProps,n)}function dM({props:e,name:t,defaultTheme:r,themeId:n}){let o=ZA(r);return n&&(o=o[n]||o),fM({theme:o,name:t,props:e})}function $C(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function hM(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ba(e){if(e.type)return e;if(e.charAt(0)==="#")return ba(hM(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(_a(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(_a(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}function Uv(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function pM(e){e=ba(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(c,f=(c+r/30)%12)=>o-i*Math.max(Math.min(f-3,9-f,1),-1);let s="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",u.push(t[3])),Uv({type:s,values:u})}function cS(e){e=ba(e);let t=e.type==="hsl"||e.type==="hsla"?ba(pM(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function mM(e,t){const r=cS(e),n=cS(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function vM(e,t){if(e=ba(e),t=$C(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Uv(e)}function gM(e,t){if(e=ba(e),t=$C(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Uv(e)}function yM(e,t){return _e({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const _M={black:"#000",white:"#fff"},as=_M,SM={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},bM=SM,wM={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ei=wM,xM={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Oi=xM,CM={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},sl=CM,RM={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},ki=RM,TM={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Pi=TM,EM={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ii=EM,OM=["mode","contrastThreshold","tonalOffset"],fS={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:as.white,default:as.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},lh={text:{primary:as.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:as.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function dS(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=gM(e.main,o):t==="dark"&&(e.dark=vM(e.main,i)))}function kM(e="light"){return e==="dark"?{main:ki[200],light:ki[50],dark:ki[400]}:{main:ki[700],light:ki[400],dark:ki[800]}}function PM(e="light"){return e==="dark"?{main:Ei[200],light:Ei[50],dark:Ei[400]}:{main:Ei[500],light:Ei[300],dark:Ei[700]}}function IM(e="light"){return e==="dark"?{main:Oi[500],light:Oi[300],dark:Oi[700]}:{main:Oi[700],light:Oi[400],dark:Oi[800]}}function zM(e="light"){return e==="dark"?{main:Pi[400],light:Pi[300],dark:Pi[700]}:{main:Pi[700],light:Pi[500],dark:Pi[900]}}function jM(e="light"){return e==="dark"?{main:Ii[400],light:Ii[300],dark:Ii[700]}:{main:Ii[800],light:Ii[500],dark:Ii[900]}}function AM(e="light"){return e==="dark"?{main:sl[400],light:sl[300],dark:sl[700]}:{main:"#ed6c02",light:sl[500],dark:sl[900]}}function MM(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Rn(e,OM),i=e.primary||kM(t),a=e.secondary||PM(t),s=e.error||IM(t),u=e.info||zM(t),c=e.success||jM(t),f=e.warning||AM(t);function h(y){return mM(y,lh.text.primary)>=r?lh.text.primary:fS.text.primary}const p=({color:y,name:C,mainShade:v=500,lightShade:g=300,darkShade:b=700})=>{if(y=_e({},y),!y.main&&y[v]&&(y.main=y[v]),!y.hasOwnProperty("main"))throw new Error(_a(11,C?` (${C})`:"",v));if(typeof y.main!="string")throw new Error(_a(12,C?` (${C})`:"",JSON.stringify(y.main)));return dS(y,"light",g,n),dS(y,"dark",b,n),y.contrastText||(y.contrastText=h(y.main)),y},S={dark:lh,light:fS};return Fn(_e({common:_e({},as),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:f,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:c,name:"success"}),grey:bM,contrastThreshold:r,getContrastText:h,augmentColor:p,tonalOffset:n},S[t]),o)}const LM=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function NM(e){return Math.round(e*1e5)/1e5}const hS={textTransform:"uppercase"},pS='"Roboto", "Helvetica", "Arial", sans-serif';function $M(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=pS,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:u=700,htmlFontSize:c=16,allVariants:f,pxToRem:h}=r,p=Rn(r,LM),S=o/14,_=h||(v=>`${v/c*S}rem`),y=(v,g,b,T,O)=>_e({fontFamily:n,fontWeight:v,fontSize:_(g),lineHeight:b},n===pS?{letterSpacing:`${NM(T/g)}em`}:{},O,f),C={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(a,48,1.167,0),h4:y(a,34,1.235,.25),h5:y(a,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(a,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(a,16,1.5,.15),body2:y(a,14,1.43,.15),button:y(s,14,1.75,.4,hS),caption:y(a,12,1.66,.4),overline:y(a,12,2.66,1,hS),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Fn(_e({htmlFontSize:c,pxToRem:_,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:u},C),p,{clone:!1})}const DM=.2,FM=.14,WM=.12;function Ye(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${DM})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${FM})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${WM})`].join(",")}const BM=["none",Ye(0,2,1,-1,0,1,1,0,0,1,3,0),Ye(0,3,1,-2,0,2,2,0,0,1,5,0),Ye(0,3,3,-2,0,3,4,0,0,1,8,0),Ye(0,2,4,-1,0,4,5,0,0,1,10,0),Ye(0,3,5,-1,0,5,8,0,0,1,14,0),Ye(0,3,5,-1,0,6,10,0,0,1,18,0),Ye(0,4,5,-2,0,7,10,1,0,2,16,1),Ye(0,5,5,-3,0,8,10,1,0,3,14,2),Ye(0,5,6,-3,0,9,12,1,0,3,16,2),Ye(0,6,6,-3,0,10,14,1,0,4,18,3),Ye(0,6,7,-4,0,11,15,1,0,4,20,3),Ye(0,7,8,-4,0,12,17,2,0,5,22,4),Ye(0,7,8,-4,0,13,19,2,0,5,24,4),Ye(0,7,9,-4,0,14,21,2,0,5,26,4),Ye(0,8,9,-5,0,15,22,2,0,6,28,5),Ye(0,8,10,-5,0,16,24,2,0,6,30,5),Ye(0,8,11,-5,0,17,26,2,0,6,32,5),Ye(0,9,11,-5,0,18,28,2,0,7,34,6),Ye(0,9,12,-6,0,19,29,2,0,7,36,6),Ye(0,10,13,-6,0,20,31,3,0,8,38,7),Ye(0,10,13,-6,0,21,33,3,0,8,40,7),Ye(0,10,14,-6,0,22,35,3,0,8,42,7),Ye(0,11,14,-7,0,23,36,3,0,9,44,8),Ye(0,11,15,-7,0,24,38,3,0,9,46,8)],UM=BM,qM=["duration","easing","delay"],HM={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},GM={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function mS(e){return`${Math.round(e)}ms`}function VM(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function KM(e){const t=_e({},HM,e.easing),r=_e({},GM,e.duration);return _e({getAutoHeightDuration:VM,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:u=0}=i;return Rn(i,qM),(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof a=="string"?a:mS(a)} ${s} ${typeof u=="string"?u:mS(u)}`).join(",")}},e,{easing:t,duration:r})}const YM={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},QM=YM,XM=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function JM(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=Rn(e,XM);if(e.vars)throw new Error(_a(18));const s=MM(n),u=Bv(e);let c=Fn(u,{mixins:yM(u.breakpoints,r),palette:s,shadows:UM.slice(),typography:$M(s,i),transitions:KM(o),zIndex:_e({},QM)});return c=Fn(c,a),c=t.reduce((f,h)=>Fn(f,h),c),c.unstable_sxConfig=_e({},Fv,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(h){return Wv({sx:h,theme:this})},c}const ZM=JM(),DC=ZM,FC="$$material";function eL({props:e,name:t}){return dM({props:e,name:t,defaultTheme:DC,themeId:FC})}const tL=e=>Lu(e)&&e!=="classes",rL=cM({themeId:FC,defaultTheme:DC,rootShouldForwardProp:tL}),nL=rL;function oL(e){return vC("MuiSvgIcon",e)}Qz("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const iL=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],aL=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${bn(t)}`,`fontSize${bn(r)}`]};return Gz(o,oL,n)},lL=nL("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${bn(r.color)}`],t[`fontSize${bn(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,u,c,f,h,p,S,_;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(u=s.pxToRem)==null?void 0:u.call(s,24))||"1.5rem",large:((c=e.typography)==null||(f=c.pxToRem)==null?void 0:f.call(c,35))||"2.1875rem"}[t.fontSize],color:(h=(p=(e.vars||e).palette)==null||(p=p[t.color])==null?void 0:p.main)!=null?h:{action:(S=(e.vars||e).palette)==null||(S=S.action)==null?void 0:S.active,disabled:(_=(e.vars||e).palette)==null||(_=_.action)==null?void 0:_.disabled,inherit:void 0}[t.color]}}),WC=L.forwardRef(function(t,r){const n=eL({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:u="medium",htmlColor:c,inheritViewBox:f=!1,titleAccess:h,viewBox:p="0 0 24 24"}=n,S=Rn(n,iL),_=L.isValidElement(o)&&o.type==="svg",y=_e({},n,{color:a,component:s,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:p,hasSvgAsChild:_}),C={};f||(C.viewBox=p);const v=aL(y);return I.jsxs(lL,_e({as:s,className:Xz(v.root,i),focusable:"false",color:c,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r},C,S,_&&o.props,{ownerState:y,children:[_?o.props.children:o,h?I.jsx("title",{children:h}):null]}))});WC.muiName="SvgIcon";const vS=WC;function sL(e,t){function r(n,o){return I.jsx(vS,_e({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return r.muiName=vS.muiName,L.memo(L.forwardRef(r))}const uL={configure:e=>{mC.configure(e)}},cL=Object.freeze(Object.defineProperty({__proto__:null,capitalize:bn,createChainedFunction:Tz,createSvgIcon:sL,debounce:Ez,deprecatedPropType:Oz,isMuiElement:kz,ownerDocument:fC,ownerWindow:Pz,requirePropFactory:Iz,setRef:dC,unstable_ClassNameGenerator:uL,unstable_useEnhancedEffect:hC,unstable_useId:Az,unsupportedProp:Mz,useControlled:Lz,useEventCallback:Nz,useForkRef:$z,useIsFocusVisible:Hz},Symbol.toStringTag,{value:"Module"})),fL=ka(cL);var gS;function Br(){return gS||(gS=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=fL}(th)),th}var dL=Fr;Object.defineProperty(Ev,"__esModule",{value:!0});var BC=Ev.default=void 0,hL=dL(Br()),pL=I,mL=(0,hL.default)((0,pL.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"MenuOutlined");BC=Ev.default=mL;var qv={},vL=Fr;Object.defineProperty(qv,"__esModule",{value:!0});var UC=qv.default=void 0,gL=vL(Br()),yL=I,_L=(0,gL.default)((0,yL.jsx)("path",{d:"M18.99 11.5c.34 0 .67.03 1 .07L20 0 0 20h11.56c-.04-.33-.07-.66-.07-1 0-4.14 3.36-7.5 7.5-7.5zm3.71 7.99c.02-.16.04-.32.04-.49 0-.17-.01-.33-.04-.49l1.06-.83c.09-.08.12-.21.06-.32l-1-1.73c-.06-.11-.19-.15-.31-.11l-1.24.5c-.26-.2-.54-.37-.85-.49l-.19-1.32c-.01-.12-.12-.21-.24-.21h-2c-.12 0-.23.09-.25.21l-.19 1.32c-.3.13-.59.29-.85.49l-1.24-.5c-.11-.04-.24 0-.31.11l-1 1.73c-.06.11-.04.24.06.32l1.06.83c-.02.16-.03.32-.03.49 0 .17.01.33.03.49l-1.06.83c-.09.08-.12.21-.06.32l1 1.73c.06.11.19.15.31.11l1.24-.5c.26.2.54.37.85.49l.19 1.32c.02.12.12.21.25.21h2c.12 0 .23-.09.25-.21l.19-1.32c.3-.13.59-.29.84-.49l1.25.5c.11.04.24 0 .31-.11l1-1.73c.06-.11.03-.24-.06-.32l-1.07-.83zm-3.71 1.01c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"}),"PermDataSetting");UC=qv.default=_L;var Hv={},SL=Fr;Object.defineProperty(Hv,"__esModule",{value:!0});var qC=Hv.default=void 0,bL=SL(Br()),wL=I,xL=(0,bL.default)((0,wL.jsx)("path",{d:"M12 14.67 3.41 6.09 2 7.5l8.5 8.5H4v2h16v-2h-6.5l5.15-5.15c.26.1.55.15.85.15 1.38 0 2.5-1.12 2.5-2.5S20.88 6 19.5 6 17 7.12 17 8.5c0 .35.07.67.2.97l-5.2 5.2z"}),"NetworkPing");qC=Hv.default=xL;var Gv={},CL=Fr;Object.defineProperty(Gv,"__esModule",{value:!0});var HC=Gv.default=void 0,RL=CL(Br()),TL=I,EL=(0,RL.default)((0,TL.jsx)("path",{d:"M19 3H4.99C3.89 3 3 3.9 3 5l.01 14c0 1.1.89 2 1.99 2h10l6-6V5c0-1.1-.9-2-2-2zM7 8h10v2H7V8zm5 6H7v-2h5v2zm2 5.5V14h5.5L14 19.5z"}),"StickyNote2");HC=Gv.default=EL;var Vv={},OL=Fr;Object.defineProperty(Vv,"__esModule",{value:!0});var GC=Vv.default=void 0,kL=OL(Br()),PL=I,IL=(0,kL.default)((0,PL.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}),"Link");GC=Vv.default=IL;var Kv={},zL=Fr;Object.defineProperty(Kv,"__esModule",{value:!0});var VC=Kv.default=void 0,jL=zL(Br()),AL=I,ML=(0,jL.default)((0,AL.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 14H7v-4h4v4zm0-6H7V7h4v4zm6 6h-4v-4h4v4zm0-6h-4V7h4v4z"}),"Dataset");VC=Kv.default=ML;var Yv={},LL=Fr;Object.defineProperty(Yv,"__esModule",{value:!0});var KC=Yv.default=void 0,NL=LL(Br()),$L=I,DL=(0,NL.default)((0,$L.jsx)("path",{d:"M21 15v-2h-3.07c-.05-.39-.12-.77-.22-1.14l2.58-1.49-1-1.73L16.92 10c-.28-.48-.62-.91-.99-1.29.04-.23.07-.46.07-.71 0-.8-.24-1.55-.65-2.18L17 4.17l-1.41-1.41-1.72 1.72c-1.68-.89-3.1-.33-3.73 0L8.41 2.76 7 4.17l1.65 1.65C8.24 6.45 8 7.2 8 8c0 .25.03.48.07.72-.37.38-.71.81-.99 1.28L4.71 8.63l-1 1.73 2.58 1.49c-.1.37-.17.75-.22 1.14H3v2h3.07c.05.39.12.77.22 1.14l-2.58 1.49 1 1.73L7.08 18c1.08 1.81 2.88 3 4.92 3s3.84-1.19 4.92-3l2.37 1.37 1-1.73-2.58-1.49c.1-.37.17-.75.22-1.14H21zm-8 2h-2v-6h2v6z"}),"PestControl");KC=Yv.default=DL;var Qv={},FL=Fr;Object.defineProperty(Qv,"__esModule",{value:!0});var YC=Qv.default=void 0,WL=FL(Br()),sh=I,BL=(0,WL.default)([(0,sh.jsx)("path",{d:"M7 19c-1.1 0-2 .9-2 2h14c0-1.1-.9-2-2-2h-4v-2h3c1.1 0 2-.9 2-2h-8c-1.66 0-3-1.34-3-3 0-1.09.59-2.04 1.46-2.56C8.17 9.03 8 8.54 8 8c0-.21.04-.42.09-.62C6.28 8.13 5 9.92 5 12c0 2.76 2.24 5 5 5v2H7z"},"0"),(0,sh.jsx)("path",{d:"M10.56 5.51C11.91 5.54 13 6.64 13 8c0 .75-.33 1.41-.85 1.87l.59 1.62.94-.34.34.94 1.88-.68-.34-.94.94-.34-2.74-7.53-.94.34-.34-.94-1.88.68.34.94-.94.35.56 1.54z"},"1"),(0,sh.jsx)("circle",{cx:"10.5",cy:"8",r:"1.5"},"2")],"Biotech");YC=Qv.default=BL;var Xv={},UL=Fr;Object.defineProperty(Xv,"__esModule",{value:!0});var QC=Xv.default=void 0,qL=UL(Br()),HL=I,GL=(0,qL.default)((0,HL.jsx)("path",{d:"m20.38 8.57-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44zm-9.79 6.84a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83z"}),"Speed");QC=Xv.default=GL;var Jv={},VL=Fr;Object.defineProperty(Jv,"__esModule",{value:!0});var XC=Jv.default=void 0,KL=VL(Br()),YL=I,QL=(0,KL.default)((0,YL.jsx)("path",{d:"M15 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V9l-6-6zM8 17c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm0-4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm0-4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm6 1V4.5l5.5 5.5H14z"}),"Summarize");XC=Jv.default=QL;var Zv={},XL=Fr;Object.defineProperty(Zv,"__esModule",{value:!0});var JC=Zv.default=void 0,JL=XL(Br()),yS=I,ZL=(0,JL.default)([(0,yS.jsx)("path",{d:"M17 11c.34 0 .67.04 1 .09V6.27L10.5 3 3 6.27v4.91c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55-.69-.98-1.1-2.17-1.1-3.45 0-3.31 2.69-6 6-6z"},"0"),(0,yS.jsx)("path",{d:"M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 1.38c.62 0 1.12.51 1.12 1.12s-.51 1.12-1.12 1.12-1.12-.51-1.12-1.12.5-1.12 1.12-1.12zm0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08s2.19.36 2.24 1.08c-.5.71-1.31 1.17-2.24 1.17z"},"1")],"AdminPanelSettings");JC=Zv.default=ZL;var ZC={exports:{}},eR={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var wa=L;function eN(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var tN=typeof Object.is=="function"?Object.is:eN,rN=wa.useState,nN=wa.useEffect,oN=wa.useLayoutEffect,iN=wa.useDebugValue;function aN(e,t){var r=t(),n=rN({inst:{value:r,getSnapshot:t}}),o=n[0].inst,i=n[1];return oN(function(){o.value=r,o.getSnapshot=t,uh(o)&&i({inst:o})},[e,r,t]),nN(function(){return uh(o)&&i({inst:o}),e(function(){uh(o)&&i({inst:o})})},[e]),iN(r),r}function uh(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!tN(e,r)}catch{return!0}}function lN(e,t){return t()}var sN=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?lN:aN;eR.useSyncExternalStore=wa.useSyncExternalStore!==void 0?wa.useSyncExternalStore:sN;ZC.exports=eR;var uN=ZC.exports,tR={exports:{}},rR={};/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Nf=L,cN=uN;function fN(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var dN=typeof Object.is=="function"?Object.is:fN,hN=cN.useSyncExternalStore,pN=Nf.useRef,mN=Nf.useEffect,vN=Nf.useMemo,gN=Nf.useDebugValue;rR.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var i=pN(null);if(i.current===null){var a={hasValue:!1,value:null};i.current=a}else a=i.current;i=vN(function(){function u(S){if(!c){if(c=!0,f=S,S=n(S),o!==void 0&&a.hasValue){var _=a.value;if(o(_,S))return h=_}return h=S}if(_=h,dN(f,S))return _;var y=n(S);return o!==void 0&&o(_,y)?_:(f=S,h=y)}var c=!1,f,h,p=r===void 0?null:r;return[function(){return u(t())},p===null?void 0:function(){return u(p())}]},[t,r,n,o]);var s=hN(e,i[0],i[1]);return mN(function(){a.hasValue=!0,a.value=s},[s]),gN(s),s};tR.exports=rR;var yN=tR.exports;function _N(e){e()}let nR=_N;const SN=e=>nR=e,bN=()=>nR,_S=Symbol.for("react-redux-context"),SS=typeof globalThis<"u"?globalThis:{};function wN(){var e;if(!L.createContext)return{};const t=(e=SS[_S])!=null?e:SS[_S]=new Map;let r=t.get(L.createContext);return r||(r=L.createContext(null),t.set(L.createContext,r)),r}const xo=wN();function eg(e=xo){return function(){return L.useContext(e)}}const oR=eg(),xN=()=>{throw new Error("uSES not initialized!")};let iR=xN;const CN=e=>{iR=e},RN=(e,t)=>e===t;function TN(e=xo){const t=e===xo?oR:eg(e);return function(n,o={}){const{equalityFn:i=RN,stabilityCheck:a=void 0,noopCheck:s=void 0}=typeof o=="function"?{equalityFn:o}:o,{store:u,subscription:c,getServerState:f,stabilityCheck:h,noopCheck:p}=t();L.useRef(!0);const S=L.useCallback({[n.name](y){return n(y)}}[n.name],[n,h,a]),_=iR(c.addNestedSub,u.getState,f||u.getState,S,i);return L.useDebugValue(_),_}}const Ir=TN();function EN(){const e=bN();let t=null,r=null;return{clear(){t=null,r=null},notify(){e(()=>{let n=t;for(;n;)n.callback(),n=n.next})},get(){let n=[],o=t;for(;o;)n.push(o),o=o.next;return n},subscribe(n){let o=!0,i=r={callback:n,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){!o||t===null||(o=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}const bS={notify(){},get:()=>[]};function ON(e,t){let r,n=bS;function o(h){return u(),n.subscribe(h)}function i(){n.notify()}function a(){f.onStateChange&&f.onStateChange()}function s(){return!!r}function u(){r||(r=t?t.addNestedSub(a):e.subscribe(a),n=EN())}function c(){r&&(r(),r=void 0,n.clear(),n=bS)}const f={addNestedSub:o,notifyNestedSubs:i,handleChangeWrapper:a,isSubscribed:s,trySubscribe:u,tryUnsubscribe:c,getListeners:()=>n};return f}const kN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",PN=kN?L.useLayoutEffect:L.useEffect;function IN({store:e,context:t,children:r,serverState:n,stabilityCheck:o="once",noopCheck:i="once"}){const a=L.useMemo(()=>{const c=ON(e);return{store:e,subscription:c,getServerState:n?()=>n:void 0,stabilityCheck:o,noopCheck:i}},[e,n,o,i]),s=L.useMemo(()=>e.getState(),[e]);PN(()=>{const{subscription:c}=a;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),s!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[a,s]);const u=t||xo;return L.createElement(u.Provider,{value:a},r)}function aR(e=xo){const t=e===xo?oR:eg(e);return function(){const{store:n}=t();return n}}const zN=aR();function jN(e=xo){const t=e===xo?zN:aR(e);return function(){return t().dispatch}}const lR=jN();CN(yN.useSyncExternalStoreWithSelector);SN(ms.unstable_batchedUpdates);function Zr(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n3?t.i-4:t.i:Array.isArray(e)?1:tg(e)?2:rg(e)?3:0}function oa(e,t){return Na(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function AN(e,t){return Na(e)===2?e.get(t):e[t]}function sR(e,t,r){var n=Na(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function uR(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function tg(e){return FN&&e instanceof Map}function rg(e){return WN&&e instanceof Set}function Fo(e){return e.o||e.t}function ng(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=fR(e);delete t[Qe];for(var r=ia(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=MN),Object.freeze(e),t&&ai(e,function(r,n){return og(n,!0)},!0)),e}function MN(){Zr(2)}function ig(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function xn(e){var t=um[e];return t||Zr(18,e),t}function LN(e,t){um[e]||(um[e]=t)}function am(){return ls}function ch(e,t){t&&(xn("Patches"),e.u=[],e.s=[],e.v=t)}function yc(e){lm(e),e.p.forEach(NN),e.p=null}function lm(e){e===ls&&(ls=e.l)}function wS(e){return ls={p:[],l:ls,h:e,m:!0,_:0}}function NN(e){var t=e[Qe];t.i===0||t.i===1?t.j():t.g=!0}function fh(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||xn("ES5").S(t,e,n),n?(r[Qe].P&&(yc(t),Zr(4)),Vn(e)&&(e=_c(t,e),t.l||Sc(t,e)),t.u&&xn("Patches").M(r[Qe].t,e,t.u,t.s)):e=_c(t,r,[]),yc(t),t.u&&t.v(t.u,t.s),e!==cR?e:void 0}function _c(e,t,r){if(ig(t))return t;var n=t[Qe];if(!n)return ai(t,function(s,u){return xS(e,n,t,s,u,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Sc(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=ng(n.k):n.o,i=o,a=!1;n.i===3&&(i=new Set(o),o.clear(),a=!0),ai(i,function(s,u){return xS(e,n,o,s,u,r,a)}),Sc(e,o,!1),r&&e.u&&xn("Patches").N(n,r,e.u,e.s)}return n.o}function xS(e,t,r,n,o,i,a){if(Co(o)){var s=_c(e,o,i&&t&&t.i!==3&&!oa(t.R,n)?i.concat(n):void 0);if(sR(r,n,s),!Co(s))return;e.m=!1}else a&&r.add(o);if(Vn(o)&&!ig(o)){if(!e.h.D&&e._<1)return;_c(e,o),t&&t.A.l||Sc(e,o)}}function Sc(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&og(t,r)}function dh(e,t){var r=e[Qe];return(r?Fo(r):e)[t]}function CS(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function no(e){e.P||(e.P=!0,e.l&&no(e.l))}function hh(e){e.o||(e.o=ng(e.t))}function sm(e,t,r){var n=tg(t)?xn("MapSet").F(t,r):rg(t)?xn("MapSet").T(t,r):e.O?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:am(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},u=s,c=ss;a&&(u=[s],c=pl);var f=Proxy.revocable(u,c),h=f.revoke,p=f.proxy;return s.k=p,s.j=h,p}(t,r):xn("ES5").J(t,r);return(r?r.A:am()).p.push(n),n}function $N(e){return Co(e)||Zr(22,e),function t(r){if(!Vn(r))return r;var n,o=r[Qe],i=Na(r);if(o){if(!o.P&&(o.i<4||!xn("ES5").K(o)))return o.t;o.I=!0,n=RS(r,i),o.I=!1}else n=RS(r,i);return ai(n,function(a,s){o&&AN(o.t,a)===s||sR(n,a,t(s))}),i===3?new Set(n):n}(e)}function RS(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ng(e)}function DN(){function e(i,a){var s=o[i];return s?s.enumerable=a:o[i]=s={configurable:!0,enumerable:a,get:function(){var u=this[Qe];return ss.get(u,i)},set:function(u){var c=this[Qe];ss.set(c,i,u)}},s}function t(i){for(var a=i.length-1;a>=0;a--){var s=i[a][Qe];if(!s.P)switch(s.i){case 5:n(s)&&no(s);break;case 4:r(s)&&no(s)}}}function r(i){for(var a=i.t,s=i.k,u=ia(s),c=u.length-1;c>=0;c--){var f=u[c];if(f!==Qe){var h=a[f];if(h===void 0&&!oa(a,f))return!0;var p=s[f],S=p&&p[Qe];if(S?S.t!==h:!uR(p,h))return!0}}var _=!!a[Qe];return u.length!==ia(a).length+(_?0:1)}function n(i){var a=i.k;if(a.length!==i.t.length)return!0;var s=Object.getOwnPropertyDescriptor(a,a.length-1);if(s&&!s.get)return!0;for(var u=0;u1?v-1:0),b=1;b1?f-1:0),p=1;p=0;o--){var i=n[o];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}o>-1&&(n=n.slice(o+1));var a=xn("Patches").$;return Co(r)?a(r,n):this.produce(r,function(s){return a(s,n)})},e}(),wr=new UN,dR=wr.produce;wr.produceWithPatches.bind(wr);wr.setAutoFreeze.bind(wr);wr.setUseProxies.bind(wr);wr.applyPatches.bind(wr);wr.createDraft.bind(wr);wr.finishDraft.bind(wr);function xa(e){"@babel/helpers - typeof";return xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xa(e)}function qN(e,t){if(xa(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(xa(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hR(e){var t=qN(e,"string");return xa(t)==="symbol"?t:String(t)}function $(e,t,r){return t=hR(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function PS(e){for(var t=1;t"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Dt(1));return r(pR)(e,t)}if(typeof e!="function")throw new Error(Dt(2));var o=e,i=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function f(){if(u)throw new Error(Dt(3));return i}function h(y){if(typeof y!="function")throw new Error(Dt(4));if(u)throw new Error(Dt(5));var C=!0;return c(),s.push(y),function(){if(C){if(u)throw new Error(Dt(6));C=!1,c();var g=s.indexOf(y);s.splice(g,1),a=null}}}function p(y){if(!HN(y))throw new Error(Dt(7));if(typeof y.type>"u")throw new Error(Dt(8));if(u)throw new Error(Dt(9));try{u=!0,i=o(i,y)}finally{u=!1}for(var C=a=s,v=0;v"u")throw new Error(Dt(12));if(typeof r(void 0,{type:bc.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Dt(13))})}function VN(e){for(var t=Object.keys(e),r={},n=0;n"u")throw c&&c.type,new Error(Dt(14));h[S]=C,f=f||C!==y}return f=f||i.length!==Object.keys(u).length,f?h:u}}function wc(){for(var e=arguments.length,t=new Array(e),r=0;r-1){var c=r[u];return u>0&&(r.splice(u,1),r.unshift(c)),c.value}return xc}function o(s,u){n(s)===xc&&(r.unshift({key:s,value:u}),r.length>e&&r.pop())}function i(){return r}function a(){r=[]}return{get:n,put:o,getEntries:i,clear:a}}var XN=function(t,r){return t===r};function JN(e){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;for(var o=r.length,i=0;i1?t-1:0),n=1;n0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]{e.session.push(t.payload)},addNode:(e,t)=>{e.nodes.push(t.payload)},addOrUpdateNode:(e,t)=>{let r=e.nodes.findIndex(n=>n.id===t.payload.id);r!==-1?e.nodes[r]=t.payload:e.nodes.push(t.payload),e.activeNodeId=t.payload.id},setSessionPin:(e,t)=>{e.session[0].pin=t.payload},setActiveNodeId:(e,t)=>{e.activeNodeId=t.payload},addOrUpdateNodeVersion:(e,t)=>{let r=e.nodeVersions.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.nodeVersions[r]=t.payload:e.nodeVersions.push(t.payload)},addOrUpdateNodeFlags:(e,t)=>{let r=e.flags.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.flags[r]=t.payload:e.flags.push(t.payload)},addOrUpdateCmdLineArgs:(e,t)=>{let r=e.cmdLineArgs.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.cmdLineArgs[r]=t.payload:e.cmdLineArgs.push(t.payload)},addOrUpdateNodeLogs:(e,t)=>{let r=e.nodeLogs.findIndex(n=>n.nodeId===e.activeNodeId);r!==-1?e.nodeLogs[r]=t.payload:e.nodeLogs.push(t.payload)},addOrUpdateSyncStages:(e,t)=>{let r=e.syncStages.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.syncStages[r]=t.payload:e.syncStages.push(t.payload)},setLogWithNameSelected:(e,t)=>{let r=e.nodeLogs.findIndex(n=>n.nodeId===e.activeNodeId);if(r!==-1){e.nodeLogs[r].logFiles.forEach(o=>{o.selected=!1});let n=e.nodeLogs[r].logFiles.findIndex(o=>o.name===t.payload);n!==-1&&(e.nodeLogs[r].logFiles[n].selected=!0)}},addOrUpdateDBs:(e,t)=>{let r=e.dbs.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.dbs[r]=t.payload:e.dbs.push(t.payload)},addOrUpdateDBTable:(e,t)=>{let r=e.dbs.findIndex(n=>n.nodeId===t.payload.nodeId);if(r!==-1){let n=e.dbs[r].dbs.findIndex(o=>o.path===t.payload.path);n!==-1?e.dbs[r].dbs[n].tables=t.payload.tables:e.dbs[r].dbs.push({path:t.payload.path,tables:t.payload.tables})}}}}),{addSession:OW,addNode:kW,addOrUpdateNode:k4,setSessionPin:PW,setActiveNodeId:P4,addOrUpdateNodeVersion:I4,addOrUpdateNodeFlags:z4,addOrUpdateCmdLineArgs:j4,addOrUpdateNodeLogs:A4,addOrUpdateSyncStages:M4,setLogWithNameSelected:L4,addOrUpdateDBs:N4,addOrUpdateDBTable:$4}=_R.actions,SR=e=>e.app.session[0],bR=e=>e.app.nodes,Tn=e=>e.app.activeNodeId,D4=e=>e.app.nodeVersions,F4=e=>e.app.flags,W4=e=>e.app.cmdLineArgs,B4=e=>e.app.nodeLogs,U4=e=>e.app.syncStages,q4=e=>e.app.dbs,H4=ci([bR,Tn],(e,t)=>{let r=e[0];return e.forEach(n=>{n.id===t&&(r=n)}),r}),G4=ci([SR,bR,Tn,D4],(e,t,r,n)=>{let o=[];return t.forEach(i=>{let a="";n.forEach(s=>{s.nodeId===i.id&&(a=s.version.nodeVersion)}),o.push({active:i.id===r,name:i.name,id:i.id,version:a,chain:i.protocols.eth.config.ChainName,block:i.protocols.eth.config.londonBlock,address:""})}),o}),V4=ci([F4,Tn],(e,t)=>{let r=[];return e.forEach(n=>{n.nodeId===t&&(r=n.flags)}),r}),K4=ci([W4,Tn],(e,t)=>{let r="";return e.forEach(n=>{n.nodeId===t&&(r=n.args)}),r}),Y4=ci([B4,Tn],(e,t)=>{let r=[];return e.forEach(n=>{n.nodeId===t&&(r=n.logFiles)}),r}),Q4=ci([U4,Tn],(e,t)=>{let r=[];return e.forEach(n=>{n.nodeId===t&&(r=n.syncStages)}),r}),wR=ci([q4,Tn],(e,t)=>{let r=[];return e.forEach(n=>{n.nodeId===t&&(r=n.dbs)}),r}),X4=_R.reducer,J4=({flag:e})=>{function t(o){return o&&typeof o=="object"&&o.constructor===Array}const r=o=>{if(t(o))return n(o);if(typeof o=="string")return I.jsx("td",{className:"px-4 py-2",children:String(o)})},n=o=>I.jsx(I.Fragment,{children:o.map(i=>I.jsx("tr",{className:"border-b border-gray-200 hover:bg-gray-100",children:I.jsx("td",{className:"px-4 py-2",children:i})},i))});return I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onMouseOver:o=>{const i=o.target,a=e.usage;a&&i.setAttribute("title",a)},children:[I.jsx("td",{className:"px-4 py-2",children:e.flag}),r(e.value),I.jsx("td",{className:"px-4 py-2",children:String(e.default)})]},e.flag)},Z4=({flags:e})=>{const[t,r]=oe.useState([]);L.useEffect(()=>{r(n(e))},[e]);const n=o=>o===void 0?[]:o.filter(i=>i.value!==void 0&&i.value!==""&&i.value!==null);return I.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:[I.jsx("thead",{children:I.jsxs("tr",{className:"border-b",children:[I.jsx("th",{className:"px-4 py-2",children:"Flag"}),I.jsx("th",{className:"px-4 py-2",children:"Value"}),I.jsx("th",{className:"px-4 py-2",children:"Default"})]})}),I.jsx("tbody",{children:t.map(o=>I.jsx(J4,{flag:o}))})]})},e3=({nodeInfo:e})=>I.jsx("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:I.jsxs("tbody",{children:[I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"id:"}),I.jsx("td",{className:"px-4 py-2",children:e.id})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"name:"}),I.jsx("td",{className:"px-4 py-2",children:e.name})]}),I.jsxs("tr",{className:"border-b border-gray-200 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"eth protocol:"}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"difficulty:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.difficulty})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"genesis:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.genesis})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"network:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.network})]}),I.jsxs("tr",{className:"border-b border-gray-200 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"config:"}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"ChainName:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.ChainName})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"chainId:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.chainId})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"consensus:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.consensus})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"homesteadBlock:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.homesteadBlock})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"eip150Block:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.eip150Block})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"eip155Block:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.eip155Block})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"byzantiumBlock:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.byzantiumBlock})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"constantinopleBlock:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.constantinopleBlock})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"petersburgBlock:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.petersburgBlock})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"istanbulBlock:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.istanbulBlock})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"berlinBlock:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.berlinBlock})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"londonBlock:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.londonBlock})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"terminalTotalDifficulty:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.terminalTotalDifficulty})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"terminalTotalDifficultyPassed:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.terminalTotalDifficultyPassed})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"shanghaiTime:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.shanghaiTime})]}),I.jsxs("tr",{className:"border-b border-gray-200 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"clique:"}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"period:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.clique.period})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"epoch:"}),I.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.clique.epoch})]})]})]})]}),I.jsxs("tr",{className:"border-b border-gray-200 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"enodes:"}),e.enodes.map((t,r)=>I.jsxs(I.Fragment,{children:[I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"enode:"}),I.jsx("td",{className:"px-4 py-2",children:t.enode})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"enr:"}),I.jsx("td",{className:"px-4 py-2",children:t.enr})]}),I.jsxs("tr",{className:"border-b border-gray-200 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"ports:"}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"discovery:"}),I.jsx("td",{className:"px-4 py-2",children:t.ports.discovery})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"listener:"}),I.jsx("td",{className:"px-4 py-2",children:t.ports.listener})]})]}),I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[I.jsx("td",{className:"px-4 py-2 font-bold",children:"listener_addr:"}),I.jsx("td",{className:"px-4 py-2",children:t.listener_addr})]})]}))]})]})}),Ur=g4({reducer:{app:X4}}),t3="sessions",r3="nodes",n3="versions",o3="flags",i3="cmdline",a3="logs",l3="sync-stages",xR="dbs",s3="tables",sg=()=>{const e=Ur.getState().app.session[0].id;return`https://localhost:8080/${t3}/${e}`},fi=()=>{const e=sg(),t=Ur.getState().app.activeNodeId;return`${e}/${r3}/${t}`},u3=()=>`${fi()}/${n3}`,CR=()=>`${fi()}/${o3}`,RR=()=>`${fi()}/${i3}`,TR=()=>`${fi()}/${a3}`,ER=()=>`${fi()}/${l3}`,c3=()=>`${fi()}/${xR}`,f3=e=>`${fi()}/${xR}/${e}/${s3}`,d3=()=>{{const e=zo(sg(),"GET");return fetch(e).then(t=>t.json())}},h3=()=>{{const e=zo(u3(),"GET");return fetch(e).then(t=>t.json())}},p3=()=>{{const e=zo(CR(),"GET");return fetch(e).then(t=>t.json())}},m3=()=>{{const e=zo(RR(),"GET");return fetch(e).then(t=>t.json())}},v3=()=>{{const e=zo(TR(),"GET");return fetch(e).then(t=>t.json())}},g3=()=>{{const e=zo(ER(),"GET");return fetch(e).then(t=>t.json())}},y3=()=>{{const e=zo(c3(),"GET");return fetch(e).then(t=>t.json())}},_3=e=>{{const t=zo(f3(e),"GET");return fetch(t).then(r=>r.json())}};function zo(e,t,r){return new Request(e,{method:t,body:r})}const S3=({cmdLine:e,flags:t,nodeDetails:r,syncStages:n})=>{let o;(C=>{C.Command="Command",C.Flags="Flags",C.NodeInfo="Node Info",C.SyncStages="Stages"})(o||(o={}));const[i,a]=oe.useState("Command"),[s,u]=oe.useState(!1),c=C=>{let v="px-4 py-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 hover:bg-gray-500 hover:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700";const g="bg-gray-900 text-white";return C==="Command"?v=v+" border-l border-r border-t rounded-tl-md":C==="Stages"?v=v+" border-r border-t rounded-tr-md":(C==="Flags"||C==="Node Info")&&(v=v+" border-t border-r"),C===i?v+" "+g:v};async function f(C){return"clipboard"in navigator?await navigator.clipboard.writeText(C):document.execCommand("copy",!0,C)}const h=C=>{f(C).then(()=>{u(!0),setTimeout(()=>{u(!1)},1500)}).catch(v=>{console.log(v)})},p=()=>e===void 0?null:I.jsxs("div",{className:"flex flex-col",children:[I.jsx("span",{className:"mb-2",children:e}),I.jsx("button",{className:"px-4 py-2 mr-2 mt-10 mb-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 active:bg-gray-500 active:text-white border rounded-md w-fit",onClick:()=>h(RR()),children:s?"Copied":"Copy curl"})]}),S=()=>t===void 0?null:I.jsxs("div",{className:"flex flex-col",children:[I.jsx(Z4,{flags:t}),I.jsx("button",{className:"px-4 py-2 mr-2 mt-10 mb-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 active:bg-gray-500 active:text-white border rounded-md w-fit",onClick:()=>h(CR()),children:s?"Copied":"Copy curl"})]}),_=()=>r===void 0?null:I.jsxs("div",{className:"flex flex-col",children:[I.jsx(e3,{nodeInfo:r}),I.jsx("button",{className:"px-4 py-2 mr-2 mt-10 mb-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 active:bg-gray-500 active:text-white border rounded-md w-fit",onClick:()=>h(sg()),children:s?"Copied":"Copy curl"})]}),y=()=>n===void 0?null:I.jsxs("div",{className:"flex flex-col",children:[I.jsx("table",{className:"table-auto rounded-lg bg-white text-left",children:I.jsx("tbody",{children:n.map(C=>I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100",children:[I.jsx("td",{className:"px-4 py-2",children:C.key}),I.jsx("td",{className:"px-4 py-2",children:C.value})]},C.key))})}),I.jsx("button",{className:"px-4 py-2 mr-2 mt-10 mb-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 active:bg-gray-500 active:text-white border rounded-md w-fit",onClick:()=>h(ER()),children:s?"Copied":"Copy curl"})]});return I.jsxs("div",{className:"flex flex-col",children:[I.jsxs("div",{className:"flex flex-row",children:[I.jsx("button",{className:c("Command"),onClick:()=>a("Command"),"data-testid":"command_button",children:"Command"}),I.jsx("button",{className:c("Flags"),onClick:()=>a("Flags"),"data-testid":"flags_button",children:"Flags"}),I.jsx("button",{className:c("Node Info"),onClick:()=>a("Node Info"),"data-testid":"node_info_button",children:"Node Info"}),I.jsx("button",{className:c("Stages"),onClick:()=>a("Stages"),"data-testid":"sync_stages_button",children:"Sync Stages"})]}),I.jsxs("div",{className:"flex flex-col border border-gray-900 rounded-bl-md rounded-br-md rounded-tr-md pl-2 pr-2 bg-white min-h-[40px] max-w-[1400px] overflow-auto","data-testid":"test_details_section_content",children:[i==="Command"&&p(),i==="Flags"&&S(),i==="Node Info"&&_(),i==="Stages"&&y()]})]})},b3=()=>{const e=Ir(Tn),t=Ir(V4),r=Ir(K4),n=Ir(H4),o=Ir(Q4);return I.jsx("div",{className:"mt-4",children:e!==""&&I.jsx(S3,{cmdLine:r,flags:t,nodeDetails:n,syncStages:o})})},w3=e=>({id:e.id,name:e.name,protocols:x3(e.protocols),enodes:E3(e.enodes)}),x3=e=>({eth:C3(e.eth)}),C3=e=>({network:e.network,difficulty:e.difficulty,genesis:e.genesis,config:R3(e.config)}),R3=e=>({ChainName:e.ChainName,chainId:e.chainId,consensus:e.consensus,homesteadBlock:e.homesteadBlock,eip150Block:e.eip150Block,eip155Block:e.eip155Block,byzantiumBlock:e.byzantiumBlock,constantinopleBlock:e.constantinopleBlock,petersburgBlock:e.petersburgBlock,istanbulBlock:e.istanbulBlock,berlinBlock:e.berlinBlock,londonBlock:e.londonBlock,terminalTotalDifficulty:e.terminalTotalDifficulty,terminalTotalDifficultyPassed:e.terminalTotalDifficultyPassed,shanghaiTime:e.shanghaiTime,clique:T3(e.clique)}),T3=e=>({period:e.period,epoch:e.epoch}),E3=e=>{let t=[];return e.forEach(r=>{t.push({enode:r.enode,enr:r.enr,ports:r.ports,listener_addr:r.listener_addr})}),t},O3=["boolean","string","number"],k3=e=>{let t=[];for(let r in e)t.push(P3(r,e[r]));return t},P3=(e,t)=>({flag:e,default:t.default,usage:t.usage,value:I3(t.value)}),I3=e=>{let t=typeof e;return O3.includes(t)||z3(e)||j3(e)?e:""};function z3(e){return Array.isArray(e)&&e.every(t=>typeof t=="string")}function j3(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}const A3=e=>({nodeVersion:e.nodeVersion,supportVersion:e.supportVersion,codeVersion:e.codeVersion,gitCommit:e.gitCommit}),M3=e=>{let t=Object.keys(e),r=[];return t.forEach(n=>{r.push({key:n,value:e[n]})}),r},di=()=>Ur.getState().app.activeNodeId,L3=()=>{d3().then(e=>{e.nodes.forEach(t=>{Ur.dispatch(k4(w3(t)))})})},N3=()=>{h3().then(e=>{let t=A3(e);Ur.dispatch(I4({nodeId:di(),version:t}))})},$3=()=>{p3().then(e=>{let t=k3(e);Ur.dispatch(z4({nodeId:di(),flags:t}))})},D3=()=>{m3().then(e=>{Ur.dispatch(j4({nodeId:di(),args:e}))})},F3=()=>{g3().then(e=>{Ur.dispatch(M4({nodeId:di(),syncStages:M3(e)}))})},OR=()=>{v3().then(e=>{let t=[];e.forEach(r=>{if(r.name.endsWith(".log")){const o=`${TR()}/${r.name}`;t.push({name:r.name,size:r.size,url:o,selected:!1})}}),Ur.dispatch(A4({nodeId:di(),logFiles:t}))})},W3=()=>{y3().then(e=>{let t=[];e.forEach(r=>{t.push({path:r,tables:[]})}),Ur.dispatch(N4({nodeId:di(),dbs:t}))})},B3=e=>{_3(e).then(t=>{let r=[];t.forEach(n=>{r.push({name:n.name,count:n.count,size:n.size})}),Ur.dispatch($4({nodeId:di(),path:e,tables:r}))})};var kR={exports:{}},gh={exports:{}},NS;function U3(){return NS||(NS=1,function(e,t){(function(r,n){e.exports=n()})(Bo,function(){var r=Array.prototype.slice;function n(l,d){d&&(l.prototype=Object.create(d.prototype)),l.prototype.constructor=l}function o(l){return u(l)?l:te(l)}n(i,o);function i(l){return c(l)?l:re(l)}n(a,o);function a(l){return f(l)?l:K(l)}n(s,o);function s(l){return u(l)&&!h(l)?l:X(l)}function u(l){return!!(l&&l[S])}function c(l){return!!(l&&l[_])}function f(l){return!!(l&&l[y])}function h(l){return c(l)||f(l)}function p(l){return!!(l&&l[C])}o.isIterable=u,o.isKeyed=c,o.isIndexed=f,o.isAssociative=h,o.isOrdered=p,o.Keyed=i,o.Indexed=a,o.Set=s;var S="@@__IMMUTABLE_ITERABLE__@@",_="@@__IMMUTABLE_KEYED__@@",y="@@__IMMUTABLE_INDEXED__@@",C="@@__IMMUTABLE_ORDERED__@@",v="delete",g=5,b=1<>>0;if(""+m!==d||m===4294967295)return NaN;d=m}return d<0?F(l)+d:d}function G(){return!0}function ue(l,d,m){return(l===0||m!==void 0&&l<=-m)&&(d===void 0||m!==void 0&&d>=m)}function se(l,d){return Z(l,d,0)}function ge(l,d){return Z(l,d,d)}function Z(l,d,m){return l===void 0?m:l<0?Math.max(0,d+l):d===void 0?l:Math.min(d,l)}var ie=0,fe=1,Se=2,Ee=typeof Symbol=="function"&&Symbol.iterator,xt="@@iterator",tt=Ee||xt;function ye(l){this.next=l}ye.prototype.toString=function(){return"[Iterator]"},ye.KEYS=ie,ye.VALUES=fe,ye.ENTRIES=Se,ye.prototype.inspect=ye.prototype.toSource=function(){return this.toString()},ye.prototype[tt]=function(){return this};function q(l,d,m,x){var R=l===0?d:l===1?m:[d,m];return x?x.value=R:x={value:R,done:!1},x}function V(){return{value:void 0,done:!0}}function U(l){return!!de(l)}function J(l){return l&&typeof l.next=="function"}function B(l){var d=de(l);return d&&d.call(l)}function de(l){var d=l&&(Ee&&l[Ee]||l[xt]);if(typeof d=="function")return d}function ne(l){return l&&typeof l.length=="number"}n(te,o);function te(l){return l==null?Ue():u(l)?l.toSeq():Er(l)}te.of=function(){return te(arguments)},te.prototype.toSeq=function(){return this},te.prototype.toString=function(){return this.__toString("Seq {","}")},te.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},te.prototype.__iterate=function(l,d){return mi(this,l,d,!0)},te.prototype.__iterator=function(l,d){return ks(this,l,d,!0)},n(re,te);function re(l){return l==null?Ue().toKeyedSeq():u(l)?c(l)?l.toSeq():l.fromEntrySeq():sr(l)}re.prototype.toKeyedSeq=function(){return this},n(K,te);function K(l){return l==null?Ue():u(l)?c(l)?l.entrySeq():l.toIndexedSeq():Tr(l)}K.of=function(){return K(arguments)},K.prototype.toIndexedSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq [","]")},K.prototype.__iterate=function(l,d){return mi(this,l,d,!1)},K.prototype.__iterator=function(l,d){return ks(this,l,d,!1)},n(X,te);function X(l){return(l==null?Ue():u(l)?c(l)?l.entrySeq():l:Tr(l)).toSetSeq()}X.of=function(){return X(arguments)},X.prototype.toSetSeq=function(){return this},te.isSeq=Te,te.Keyed=re,te.Set=X,te.Indexed=K;var ae="@@__IMMUTABLE_SEQ__@@";te.prototype[ae]=!0,n(pe,K);function pe(l){this._array=l,this.size=l.length}pe.prototype.get=function(l,d){return this.has(l)?this._array[H(this,l)]:d},pe.prototype.__iterate=function(l,d){for(var m=this._array,x=m.length-1,R=0;R<=x;R++)if(l(m[d?x-R:R],R,this)===!1)return R+1;return R},pe.prototype.__iterator=function(l,d){var m=this._array,x=m.length-1,R=0;return new ye(function(){return R>x?V():q(l,R,m[d?x-R++:R++])})},n(me,re);function me(l){var d=Object.keys(l);this._object=l,this._keys=d,this.size=d.length}me.prototype.get=function(l,d){return d!==void 0&&!this.has(l)?d:this._object[l]},me.prototype.has=function(l){return this._object.hasOwnProperty(l)},me.prototype.__iterate=function(l,d){for(var m=this._object,x=this._keys,R=x.length-1,j=0;j<=R;j++){var A=x[d?R-j:j];if(l(m[A],A,this)===!1)return j+1}return j},me.prototype.__iterator=function(l,d){var m=this._object,x=this._keys,R=x.length-1,j=0;return new ye(function(){var A=x[d?R-j:j];return j++>R?V():q(l,A,m[A])})},me.prototype[C]=!0,n(ve,K);function ve(l){this._iterable=l,this.size=l.length||l.size}ve.prototype.__iterateUncached=function(l,d){if(d)return this.cacheResult().__iterate(l,d);var m=this._iterable,x=B(m),R=0;if(J(x))for(var j;!(j=x.next()).done&&l(j.value,R++,this)!==!1;);return R},ve.prototype.__iteratorUncached=function(l,d){if(d)return this.cacheResult().__iterator(l,d);var m=this._iterable,x=B(m);if(!J(x))return new ye(V);var R=0;return new ye(function(){var j=x.next();return j.done?j:q(l,R++,j.value)})},n(be,K);function be(l){this._iterator=l,this._iteratorCache=[]}be.prototype.__iterateUncached=function(l,d){if(d)return this.cacheResult().__iterate(l,d);for(var m=this._iterator,x=this._iteratorCache,R=0;R=x.length){var j=m.next();if(j.done)return j;x[R]=j.value}return q(l,R,x[R++])})};function Te(l){return!!(l&&l[ae])}var Me;function Ue(){return Me||(Me=new pe([]))}function sr(l){var d=Array.isArray(l)?new pe(l).fromEntrySeq():J(l)?new be(l).fromEntrySeq():U(l)?new ve(l).fromEntrySeq():typeof l=="object"?new me(l):void 0;if(!d)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+l);return d}function Tr(l){var d=Jt(l);if(!d)throw new TypeError("Expected Array or iterable object of values: "+l);return d}function Er(l){var d=Jt(l)||typeof l=="object"&&new me(l);if(!d)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+l);return d}function Jt(l){return ne(l)?new pe(l):J(l)?new be(l):U(l)?new ve(l):void 0}function mi(l,d,m,x){var R=l._cache;if(R){for(var j=R.length-1,A=0;A<=j;A++){var N=R[m?j-A:A];if(d(N[1],x?N[0]:A,l)===!1)return A+1}return A}return l.__iterateUncached(d,m)}function ks(l,d,m,x){var R=l._cache;if(R){var j=R.length-1,A=0;return new ye(function(){var N=R[m?j-A:A];return A++>j?V():q(d,x?N[0]:A-1,N[1])})}return l.__iteratorUncached(d,m)}function Wa(l,d){return d?vi(d,l,"",{"":l}):Jf(l)}function vi(l,d,m,x){return Array.isArray(d)?l.call(x,m,K(d).map(function(R,j){return vi(l,R,j,d)})):ey(d)?l.call(x,m,re(d).map(function(R,j){return vi(l,R,j,d)})):d}function Jf(l){return Array.isArray(l)?K(l).map(Jf).toList():ey(l)?re(l).map(Jf).toMap():l}function ey(l){return l&&(l.constructor===Object||l.constructor===void 0)}function ct(l,d){if(l===d||l!==l&&d!==d)return!0;if(!l||!d)return!1;if(typeof l.valueOf=="function"&&typeof d.valueOf=="function"){if(l=l.valueOf(),d=d.valueOf(),l===d||l!==l&&d!==d)return!0;if(!l||!d)return!1}return!!(typeof l.equals=="function"&&typeof d.equals=="function"&&l.equals(d))}function Zf(l,d){if(l===d)return!0;if(!u(d)||l.size!==void 0&&d.size!==void 0&&l.size!==d.size||l.__hash!==void 0&&d.__hash!==void 0&&l.__hash!==d.__hash||c(l)!==c(d)||f(l)!==f(d)||p(l)!==p(d))return!1;if(l.size===0&&d.size===0)return!0;var m=!h(l);if(p(l)){var x=l.entries();return d.every(function(D,W){var Q=x.next().value;return Q&&ct(Q[1],D)&&(m||ct(Q[0],W))})&&x.next().done}var R=!1;if(l.size===void 0)if(d.size===void 0)typeof l.cacheResult=="function"&&l.cacheResult();else{R=!0;var j=l;l=d,d=j}var A=!0,N=d.__iterate(function(D,W){if(m?!l.has(D):R?!ct(D,l.get(W,O)):!ct(l.get(W,O),D))return A=!1,!1});return A&&l.size===N}n(jt,K);function jt(l,d){if(!(this instanceof jt))return new jt(l,d);if(this._value=l,this.size=d===void 0?1/0:Math.max(0,d),this.size===0){if(ed)return ed;ed=this}}jt.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},jt.prototype.get=function(l,d){return this.has(l)?this._value:d},jt.prototype.includes=function(l){return ct(this._value,l)},jt.prototype.slice=function(l,d){var m=this.size;return ue(l,d,m)?this:new jt(this._value,ge(d,m)-se(l,m))},jt.prototype.reverse=function(){return this},jt.prototype.indexOf=function(l){return ct(this._value,l)?0:-1},jt.prototype.lastIndexOf=function(l){return ct(this._value,l)?this.size:-1},jt.prototype.__iterate=function(l,d){for(var m=0;m=0&&d=0&&mm?V():q(l,j++,A)})},Ct.prototype.equals=function(l){return l instanceof Ct?this._start===l._start&&this._end===l._end&&this._step===l._step:Zf(this,l)};var td;n(Yn,o);function Yn(){throw TypeError("Abstract")}n(Ba,Yn);function Ba(){}n(gi,Yn);function gi(){}n(Is,Yn);function Is(){}Yn.Keyed=Ba,Yn.Indexed=gi,Yn.Set=Is;var Ua=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(d,m){d=d|0,m=m|0;var x=d&65535,R=m&65535;return x*R+((d>>>16)*R+x*(m>>>16)<<16>>>0)|0};function rd(l){return l>>>1&1073741824|l&3221225471}function ur(l){if(l===!1||l===null||l===void 0||typeof l.valueOf=="function"&&(l=l.valueOf(),l===!1||l===null||l===void 0))return 0;if(l===!0)return 1;var d=typeof l;if(d==="number"){if(l!==l||l===1/0)return 0;var m=l|0;for(m!==l&&(m^=l*4294967295);l>4294967295;)l/=4294967295,m^=l;return rd(m)}if(d==="string")return l.length>tE?JT(l):nd(l);if(typeof l.hashCode=="function")return l.hashCode();if(d==="object")return ZT(l);if(typeof l.toString=="function")return nd(l.toString());throw new Error("Value type "+d+" cannot be hashed.")}function JT(l){var d=sd[l];return d===void 0&&(d=nd(l),ld===rE&&(ld=0,sd={}),ld++,sd[l]=d),d}function nd(l){for(var d=0,m=0;m0)switch(l.nodeType){case 1:return l.uniqueID;case 9:return l.documentElement&&l.documentElement.uniqueID}}var od=typeof WeakMap=="function",id;od&&(id=new WeakMap);var ad=0,Ao="__immutablehash__";typeof Symbol=="function"&&(Ao=Symbol(Ao));var tE=16,rE=255,ld=0,sd={};function cr(l){Ps(l!==1/0,"Cannot perform this action with an infinite size.")}n(Oe,Ba);function Oe(l){return l==null?qr():ud(l)&&!p(l)?l:qr().withMutations(function(d){var m=i(l);cr(m.size),m.forEach(function(x,R){return d.set(R,x)})})}Oe.of=function(){var l=r.call(arguments,0);return qr().withMutations(function(d){for(var m=0;m=l.length)throw new Error("Missing value for key: "+l[m]);d.set(l[m],l[m+1])}})},Oe.prototype.toString=function(){return this.__toString("Map {","}")},Oe.prototype.get=function(l,d){return this._root?this._root.get(0,void 0,l,d):d},Oe.prototype.set=function(l,d){return ay(this,l,d)},Oe.prototype.setIn=function(l,d){return this.updateIn(l,O,function(){return d})},Oe.prototype.remove=function(l){return ay(this,l,O)},Oe.prototype.deleteIn=function(l){return this.updateIn(l,function(){return O})},Oe.prototype.update=function(l,d,m){return arguments.length===1?l(this):this.updateIn([l],d,m)},Oe.prototype.updateIn=function(l,d,m){m||(m=d,d=void 0);var x=fy(this,zy(l),d,m);return x===O?void 0:x},Oe.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):qr()},Oe.prototype.merge=function(){return zs(this,void 0,arguments)},Oe.prototype.mergeWith=function(l){var d=r.call(arguments,1);return zs(this,l,d)},Oe.prototype.mergeIn=function(l){var d=r.call(arguments,1);return this.updateIn(l,qr(),function(m){return typeof m.merge=="function"?m.merge.apply(m,d):d[d.length-1]})},Oe.prototype.mergeDeep=function(){return zs(this,sy,arguments)},Oe.prototype.mergeDeepWith=function(l){var d=r.call(arguments,1);return zs(this,uy(l),d)},Oe.prototype.mergeDeepIn=function(l){var d=r.call(arguments,1);return this.updateIn(l,qr(),function(m){return typeof m.mergeDeep=="function"?m.mergeDeep.apply(m,d):d[d.length-1]})},Oe.prototype.sort=function(l){return at(Ci(this,l))},Oe.prototype.sortBy=function(l,d){return at(Ci(this,d,l))},Oe.prototype.withMutations=function(l){var d=this.asMutable();return l(d),d.wasAltered()?d.__ensureOwner(this.__ownerID):this},Oe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new z)},Oe.prototype.asImmutable=function(){return this.__ensureOwner()},Oe.prototype.wasAltered=function(){return this.__altered},Oe.prototype.__iterator=function(l,d){return new cd(this,l,d)},Oe.prototype.__iterate=function(l,d){var m=this,x=0;return this._root&&this._root.iterate(function(R){return x++,l(R[1],R[0],m)},d),x},Oe.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?dd(this.size,this._root,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)};function ud(l){return!!(l&&l[ny])}Oe.isMap=ud;var ny="@@__IMMUTABLE_MAP__@@",Ce=Oe.prototype;Ce[ny]=!0,Ce[v]=Ce.remove,Ce.removeIn=Ce.deleteIn;function qa(l,d){this.ownerID=l,this.entries=d}qa.prototype.get=function(l,d,m,x){for(var R=this.entries,j=0,A=R.length;j=sE)return nE(l,D,x,R);var he=l&&l===this.ownerID,we=he?D:M(D);return le?N?W===Q-1?we.pop():we[W]=we.pop():we[W]=[x,R]:we.push([x,R]),he?(this.entries=we,this):new qa(l,we)}};function yi(l,d,m){this.ownerID=l,this.bitmap=d,this.nodes=m}yi.prototype.get=function(l,d,m,x){d===void 0&&(d=ur(m));var R=1<<((l===0?d:d>>>l)&T),j=this.bitmap;return j&R?this.nodes[dy(j&R-1)].get(l+g,d,m,x):x},yi.prototype.update=function(l,d,m,x,R,j,A){m===void 0&&(m=ur(x));var N=(d===0?m:m>>>d)&T,D=1<=uE)return iE(l,he,W,N,xe);if(Q&&!xe&&he.length===2&&ly(he[le^1]))return he[le^1];if(Q&&xe&&he.length===1&&ly(xe))return xe;var Ke=l&&l===this.ownerID,Hr=Q?xe?W:W^D:W|D,sn=Q?xe?hy(he,le,xe,Ke):lE(he,le,Ke):aE(he,le,xe,Ke);return Ke?(this.bitmap=Hr,this.nodes=sn,this):new yi(l,Hr,sn)};function Ha(l,d,m){this.ownerID=l,this.count=d,this.nodes=m}Ha.prototype.get=function(l,d,m,x){d===void 0&&(d=ur(m));var R=(l===0?d:d>>>l)&T,j=this.nodes[R];return j?j.get(l+g,d,m,x):x},Ha.prototype.update=function(l,d,m,x,R,j,A){m===void 0&&(m=ur(x));var N=(d===0?m:m>>>d)&T,D=R===O,W=this.nodes,Q=W[N];if(D&&!Q)return this;var le=hd(Q,l,d+g,m,x,R,j,A);if(le===Q)return this;var he=this.count;if(!Q)he++;else if(!le&&(he--,he>>m)&T,A=(m===0?x:x>>>m)&T,N,D=j===A?[pd(l,d,m+g,x,R)]:(N=new On(d,x,R),j>>=1)A[N]=m&1?d[j++]:void 0;return A[x]=R,new Ha(l,j+1,A)}function zs(l,d,m){for(var x=[],R=0;R>1&1431655765),l=(l&858993459)+(l>>2&858993459),l=l+(l>>4)&252645135,l=l+(l>>8),l=l+(l>>16),l&127}function hy(l,d,m,x){var R=x?l:M(l);return R[d]=m,R}function aE(l,d,m,x){var R=l.length+1;if(x&&d+1===R)return l[d]=m,l;for(var j=new Array(R),A=0,N=0;N0&&x=0&&l>>d&T;if(x>=this.array.length)return new Qn([],l);var R=x===0,j;if(d>0){var A=this.array[x];if(j=A&&A.removeBefore(l,d-g,m),j===A&&R)return this}if(R&&!j)return this;var N=Si(this,l);if(!R)for(var D=0;D>>d&T;if(x>=this.array.length)return this;var R;if(d>0){var j=this.array[x];if(R=j&&j.removeAfter(l,d-g,m),R===j&&x===this.array.length-1)return this}var A=Si(this,l);return A.array.splice(x+1),R&&(A.array[x]=R),A};var Ga={};function vy(l,d){var m=l._origin,x=l._capacity,R=Ka(x),j=l._tail;return A(l._root,l._level,0);function A(W,Q,le){return Q===0?N(W,le):D(W,Q,le)}function N(W,Q){var le=Q===R?j&&j.array:W&&W.array,he=Q>m?0:m-Q,we=x-Q;return we>b&&(we=b),function(){if(he===we)return Ga;var xe=d?--we:he++;return le&&le[xe]}}function D(W,Q,le){var he,we=W&&W.array,xe=le>m?0:m-le>>Q,Ke=(x-le>>Q)+1;return Ke>b&&(Ke=b),function(){do{if(he){var Hr=he();if(Hr!==Ga)return Hr;he=null}if(xe===Ke)return Ga;var sn=d?--Ke:xe++;he=A(we&&we[sn],Q-g,le+(sn<=l.size||d<0)return l.withMutations(function(A){d<0?Xn(A,d).set(0,m):Xn(A,0,d+1).set(d,m)});d+=l._origin;var x=l._tail,R=l._root,j=E(w);return d>=Ka(l._capacity)?x=vd(x,l.__ownerID,0,d,m,j):R=vd(R,l.__ownerID,l._level,d,m,j),j.value?l.__ownerID?(l._root=R,l._tail=x,l.__hash=void 0,l.__altered=!0,l):Va(l._origin,l._capacity,l._level,R,x):l}function vd(l,d,m,x,R,j){var A=x>>>m&T,N=l&&A0){var W=l&&l.array[A],Q=vd(W,d,m-g,x,R,j);return Q===W?l:(D=Si(l,d),D.array[A]=Q,D)}return N&&l.array[A]===R?l:(P(j),D=Si(l,d),R===void 0&&A===D.array.length-1?D.array.pop():D.array[A]=R,D)}function Si(l,d){return d&&l&&d===l.ownerID?l:new Qn(l?l.array.slice():[],d)}function yy(l,d){if(d>=Ka(l._capacity))return l._tail;if(d<1<0;)m=m.array[d>>>x&T],x-=g;return m}}function Xn(l,d,m){d!==void 0&&(d=d|0),m!==void 0&&(m=m|0);var x=l.__ownerID||new z,R=l._origin,j=l._capacity,A=R+d,N=m===void 0?j:m<0?j+m:R+m;if(A===R&&N===j)return l;if(A>=N)return l.clear();for(var D=l._level,W=l._root,Q=0;A+Q<0;)W=new Qn(W&&W.array.length?[void 0,W]:[],x),D+=g,Q+=1<=1<le?new Qn([],x):we;if(we&&he>le&&Ag;Hr-=g){var sn=le>>>Hr&T;Ke=Ke.array[sn]=Si(Ke.array[sn],x)}Ke.array[le>>>g&T]=we}if(N=he)A-=he,N-=he,D=g,W=null,xe=xe&&xe.removeBefore(x,0,A);else if(A>R||he>>D&T;if(Fs!==he>>>D&T)break;Fs&&(Q+=(1<R&&(W=W.removeBefore(x,D,A-Q)),W&&heR&&(R=N.size),u(A)||(N=N.map(function(D){return Wa(D)})),x.push(N)}return R>l.size&&(l=l.setSize(R)),cy(l,d,x)}function Ka(l){return l>>g<=b&&R.size>=x.size*2?(D=R.filter(function(W,Q){return W!==void 0&&j!==Q}),N=D.toKeyedSeq().map(function(W){return W[0]}).flip().toMap(),l.__ownerID&&(N.__ownerID=D.__ownerID=l.__ownerID)):(N=x.remove(d),D=j===R.size-1?R.pop():R.set(j,void 0))}else if(A){if(m===R.get(j)[1])return l;N=x,D=R.set(j,[d,m])}else N=x.set(d,R.size),D=R.set(R.size,[d,m]);return l.__ownerID?(l.size=N.size,l._map=N,l._list=D,l.__hash=void 0,l):gd(N,D)}n(Or,re);function Or(l,d){this._iter=l,this._useKeys=d,this.size=l.size}Or.prototype.get=function(l,d){return this._iter.get(l,d)},Or.prototype.has=function(l){return this._iter.has(l)},Or.prototype.valueSeq=function(){return this._iter.valueSeq()},Or.prototype.reverse=function(){var l=this,d=yd(this,!0);return this._useKeys||(d.valueSeq=function(){return l._iter.toSeq().reverse()}),d},Or.prototype.map=function(l,d){var m=this,x=xy(this,l,d);return this._useKeys||(x.valueSeq=function(){return m._iter.toSeq().map(l,d)}),x},Or.prototype.__iterate=function(l,d){var m=this,x;return this._iter.__iterate(this._useKeys?function(R,j){return l(R,j,m)}:(x=d?ky(this):0,function(R){return l(R,d?--x:x++,m)}),d)},Or.prototype.__iterator=function(l,d){if(this._useKeys)return this._iter.__iterator(l,d);var m=this._iter.__iterator(fe,d),x=d?ky(this):0;return new ye(function(){var R=m.next();return R.done?R:q(l,d?--x:x++,R.value,R)})},Or.prototype[C]=!0,n(bi,K);function bi(l){this._iter=l,this.size=l.size}bi.prototype.includes=function(l){return this._iter.includes(l)},bi.prototype.__iterate=function(l,d){var m=this,x=0;return this._iter.__iterate(function(R){return l(R,x++,m)},d)},bi.prototype.__iterator=function(l,d){var m=this._iter.__iterator(fe,d),x=0;return new ye(function(){var R=m.next();return R.done?R:q(l,x++,R.value,R)})},n(wi,X);function wi(l){this._iter=l,this.size=l.size}wi.prototype.has=function(l){return this._iter.includes(l)},wi.prototype.__iterate=function(l,d){var m=this;return this._iter.__iterate(function(x){return l(x,x,m)},d)},wi.prototype.__iterator=function(l,d){var m=this._iter.__iterator(fe,d);return new ye(function(){var x=m.next();return x.done?x:q(l,x.value,x.value,x)})},n(xi,re);function xi(l){this._iter=l,this.size=l.size}xi.prototype.entrySeq=function(){return this._iter.toSeq()},xi.prototype.__iterate=function(l,d){var m=this;return this._iter.__iterate(function(x){if(x){Oy(x);var R=u(x);return l(R?x.get(1):x[1],R?x.get(0):x[0],m)}},d)},xi.prototype.__iterator=function(l,d){var m=this._iter.__iterator(fe,d);return new ye(function(){for(;;){var x=m.next();if(x.done)return x;var R=x.value;if(R){Oy(R);var j=u(R);return q(l,j?R.get(0):R[0],j?R.get(1):R[1],x)}}})},bi.prototype.cacheResult=Or.prototype.cacheResult=wi.prototype.cacheResult=xi.prototype.cacheResult=bd;function wy(l){var d=on(l);return d._iter=l,d.size=l.size,d.flip=function(){return l},d.reverse=function(){var m=l.reverse.apply(this);return m.flip=function(){return l.reverse()},m},d.has=function(m){return l.includes(m)},d.includes=function(m){return l.has(m)},d.cacheResult=bd,d.__iterateUncached=function(m,x){var R=this;return l.__iterate(function(j,A){return m(A,j,R)!==!1},x)},d.__iteratorUncached=function(m,x){if(m===Se){var R=l.__iterator(m,x);return new ye(function(){var j=R.next();if(!j.done){var A=j.value[0];j.value[0]=j.value[1],j.value[1]=A}return j})}return l.__iterator(m===fe?ie:fe,x)},d}function xy(l,d,m){var x=on(l);return x.size=l.size,x.has=function(R){return l.has(R)},x.get=function(R,j){var A=l.get(R,O);return A===O?j:d.call(m,A,R,l)},x.__iterateUncached=function(R,j){var A=this;return l.__iterate(function(N,D,W){return R(d.call(m,N,D,W),D,A)!==!1},j)},x.__iteratorUncached=function(R,j){var A=l.__iterator(Se,j);return new ye(function(){var N=A.next();if(N.done)return N;var D=N.value,W=D[0];return q(R,W,d.call(m,D[1],W,l),N)})},x}function yd(l,d){var m=on(l);return m._iter=l,m.size=l.size,m.reverse=function(){return l},l.flip&&(m.flip=function(){var x=wy(l);return x.reverse=function(){return l.flip()},x}),m.get=function(x,R){return l.get(d?x:-1-x,R)},m.has=function(x){return l.has(d?x:-1-x)},m.includes=function(x){return l.includes(x)},m.cacheResult=bd,m.__iterate=function(x,R){var j=this;return l.__iterate(function(A,N){return x(A,N,j)},!R)},m.__iterator=function(x,R){return l.__iterator(x,!R)},m}function Cy(l,d,m,x){var R=on(l);return x&&(R.has=function(j){var A=l.get(j,O);return A!==O&&!!d.call(m,A,j,l)},R.get=function(j,A){var N=l.get(j,O);return N!==O&&d.call(m,N,j,l)?N:A}),R.__iterateUncached=function(j,A){var N=this,D=0;return l.__iterate(function(W,Q,le){if(d.call(m,W,Q,le))return D++,j(W,x?Q:D-1,N)},A),D},R.__iteratorUncached=function(j,A){var N=l.__iterator(Se,A),D=0;return new ye(function(){for(;;){var W=N.next();if(W.done)return W;var Q=W.value,le=Q[0],he=Q[1];if(d.call(m,he,le,l))return q(j,x?le:D++,he,W)}})},R}function dE(l,d,m){var x=Oe().asMutable();return l.__iterate(function(R,j){x.update(d.call(m,R,j,l),0,function(A){return A+1})}),x.asImmutable()}function hE(l,d,m){var x=c(l),R=(p(l)?at():Oe()).asMutable();l.__iterate(function(A,N){R.update(d.call(m,A,N,l),function(D){return D=D||[],D.push(x?[N,A]:A),D})});var j=Py(l);return R.map(function(A){return We(l,j(A))})}function _d(l,d,m,x){var R=l.size;if(d!==void 0&&(d=d|0),m!==void 0&&(m===1/0?m=R:m=m|0),ue(d,m,R))return l;var j=se(d,R),A=ge(m,R);if(j!==j||A!==A)return _d(l.toSeq().cacheResult(),d,m,x);var N=A-j,D;N===N&&(D=N<0?0:N);var W=on(l);return W.size=D===0?D:l.size&&D||void 0,!x&&Te(l)&&D>=0&&(W.get=function(Q,le){return Q=H(this,Q),Q>=0&&QD)return V();var Ke=he.next();return x||Q===fe?Ke:Q===ie?q(Q,xe-1,void 0,Ke):q(Q,xe-1,Ke.value[1],Ke)})},W}function pE(l,d,m){var x=on(l);return x.__iterateUncached=function(R,j){var A=this;if(j)return this.cacheResult().__iterate(R,j);var N=0;return l.__iterate(function(D,W,Q){return d.call(m,D,W,Q)&&++N&&R(D,W,A)}),N},x.__iteratorUncached=function(R,j){var A=this;if(j)return this.cacheResult().__iterator(R,j);var N=l.__iterator(Se,j),D=!0;return new ye(function(){if(!D)return V();var W=N.next();if(W.done)return W;var Q=W.value,le=Q[0],he=Q[1];return d.call(m,he,le,A)?R===Se?W:q(R,le,he,W):(D=!1,V())})},x}function Ry(l,d,m,x){var R=on(l);return R.__iterateUncached=function(j,A){var N=this;if(A)return this.cacheResult().__iterate(j,A);var D=!0,W=0;return l.__iterate(function(Q,le,he){if(!(D&&(D=d.call(m,Q,le,he))))return W++,j(Q,x?le:W-1,N)}),W},R.__iteratorUncached=function(j,A){var N=this;if(A)return this.cacheResult().__iterator(j,A);var D=l.__iterator(Se,A),W=!0,Q=0;return new ye(function(){var le,he,we;do{if(le=D.next(),le.done)return x||j===fe?le:j===ie?q(j,Q++,void 0,le):q(j,Q++,le.value[1],le);var xe=le.value;he=xe[0],we=xe[1],W&&(W=d.call(m,we,he,N))}while(W);return j===Se?le:q(j,he,we,le)})},R}function mE(l,d){var m=c(l),x=[l].concat(d).map(function(A){return u(A)?m&&(A=i(A)):A=m?sr(A):Tr(Array.isArray(A)?A:[A]),A}).filter(function(A){return A.size!==0});if(x.length===0)return l;if(x.length===1){var R=x[0];if(R===l||m&&c(R)||f(l)&&f(R))return R}var j=new pe(x);return m?j=j.toKeyedSeq():f(l)||(j=j.toSetSeq()),j=j.flatten(!0),j.size=x.reduce(function(A,N){if(A!==void 0){var D=N.size;if(D!==void 0)return A+D}},0),j}function Ty(l,d,m){var x=on(l);return x.__iterateUncached=function(R,j){var A=0,N=!1;function D(W,Q){var le=this;W.__iterate(function(he,we){return(!d||Q0}function Sd(l,d,m){var x=on(l);return x.size=new pe(m).map(function(R){return R.size}).min(),x.__iterate=function(R,j){for(var A=this.__iterator(fe,j),N,D=0;!(N=A.next()).done&&R(N.value,D++,this)!==!1;);return D},x.__iteratorUncached=function(R,j){var A=m.map(function(W){return W=o(W),B(j?W.reverse():W)}),N=0,D=!1;return new ye(function(){var W;return D||(W=A.map(function(Q){return Q.next()}),D=W.some(function(Q){return Q.done})),D?V():q(R,N++,d.apply(null,W.map(function(Q){return Q.value})))})},x}function We(l,d){return Te(l)?d:l.constructor(d)}function Oy(l){if(l!==Object(l))throw new TypeError("Expected [K, V] tuple: "+l)}function ky(l){return cr(l.size),F(l)}function Py(l){return c(l)?i:f(l)?a:s}function on(l){return Object.create((c(l)?re:f(l)?K:X).prototype)}function bd(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):te.prototype.cacheResult.call(this)}function Iy(l,d){return l>d?1:l=0;m--)d={value:arguments[m],next:d};return this.__ownerID?(this.size=l,this._head=d,this.__hash=void 0,this.__altered=!0,this):Ya(l,d)},ft.prototype.pushAll=function(l){if(l=a(l),l.size===0)return this;cr(l.size);var d=this.size,m=this._head;return l.reverse().forEach(function(x){d++,m={value:x,next:m}}),this.__ownerID?(this.size=d,this._head=m,this.__hash=void 0,this.__altered=!0,this):Ya(d,m)},ft.prototype.pop=function(){return this.slice(1)},ft.prototype.unshift=function(){return this.push.apply(this,arguments)},ft.prototype.unshiftAll=function(l){return this.pushAll(l)},ft.prototype.shift=function(){return this.pop.apply(this,arguments)},ft.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Td()},ft.prototype.slice=function(l,d){if(ue(l,d,this.size))return this;var m=se(l,this.size),x=ge(d,this.size);if(x!==this.size)return gi.prototype.slice.call(this,l,d);for(var R=this.size-m,j=this._head;m--;)j=j.next;return this.__ownerID?(this.size=R,this._head=j,this.__hash=void 0,this.__altered=!0,this):Ya(R,j)},ft.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?Ya(this.size,this._head,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)},ft.prototype.__iterate=function(l,d){if(d)return this.reverse().__iterate(l);for(var m=0,x=this._head;x&&l(x.value,m++,this)!==!1;)x=x.next;return m},ft.prototype.__iterator=function(l,d){if(d)return this.reverse().__iterator(l);var m=0,x=this._head;return new ye(function(){if(x){var R=x.value;return x=x.next,q(l,m++,R)}return V()})};function Fy(l){return!!(l&&l[Wy])}ft.isStack=Fy;var Wy="@@__IMMUTABLE_STACK__@@",Ri=ft.prototype;Ri[Wy]=!0,Ri.withMutations=Ce.withMutations,Ri.asMutable=Ce.asMutable,Ri.asImmutable=Ce.asImmutable,Ri.wasAltered=Ce.wasAltered;function Ya(l,d,m,x){var R=Object.create(Ri);return R.size=l,R._head=d,R.__ownerID=m,R.__hash=x,R.__altered=!1,R}var By;function Td(){return By||(By=Ya(0))}function ln(l,d){var m=function(x){l.prototype[x]=d[x]};return Object.keys(d).forEach(m),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(d).forEach(m),l}o.Iterator=ye,ln(o,{toArray:function(){cr(this.size);var l=new Array(this.size||0);return this.valueSeq().__iterate(function(d,m){l[m]=d}),l},toIndexedSeq:function(){return new bi(this)},toJS:function(){return this.toSeq().map(function(l){return l&&typeof l.toJS=="function"?l.toJS():l}).__toJS()},toJSON:function(){return this.toSeq().map(function(l){return l&&typeof l.toJSON=="function"?l.toJSON():l}).__toJS()},toKeyedSeq:function(){return new Or(this,!0)},toMap:function(){return Oe(this.toKeyedSeq())},toObject:function(){cr(this.size);var l={};return this.__iterate(function(d,m){l[m]=d}),l},toOrderedMap:function(){return at(this.toKeyedSeq())},toOrderedSet:function(){return an(c(this)?this.valueSeq():this)},toSet:function(){return Ve(c(this)?this.valueSeq():this)},toSetSeq:function(){return new wi(this)},toSeq:function(){return f(this)?this.toIndexedSeq():c(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return ft(c(this)?this.valueSeq():this)},toList:function(){return qe(c(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(l,d){return this.size===0?l+d:l+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+d},concat:function(){var l=r.call(arguments,0);return We(this,mE(this,l))},includes:function(l){return this.some(function(d){return ct(d,l)})},entries:function(){return this.__iterator(Se)},every:function(l,d){cr(this.size);var m=!0;return this.__iterate(function(x,R,j){if(!l.call(d,x,R,j))return m=!1,!1}),m},filter:function(l,d){return We(this,Cy(this,l,d,!0))},find:function(l,d,m){var x=this.findEntry(l,d);return x?x[1]:m},forEach:function(l,d){return cr(this.size),this.__iterate(d?l.bind(d):l)},join:function(l){cr(this.size),l=l!==void 0?""+l:",";var d="",m=!0;return this.__iterate(function(x){m?m=!1:d+=l,d+=x!=null?x.toString():""}),d},keys:function(){return this.__iterator(ie)},map:function(l,d){return We(this,xy(this,l,d))},reduce:function(l,d,m){cr(this.size);var x,R;return arguments.length<2?R=!0:x=d,this.__iterate(function(j,A,N){R?(R=!1,x=j):x=l.call(m,x,j,A,N)}),x},reduceRight:function(l,d,m){var x=this.toKeyedSeq().reverse();return x.reduce.apply(x,arguments)},reverse:function(){return We(this,yd(this,!0))},slice:function(l,d){return We(this,_d(this,l,d,!0))},some:function(l,d){return!this.every(Ds(l),d)},sort:function(l){return We(this,Ci(this,l))},values:function(){return this.__iterator(fe)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(l,d){return F(l?this.toSeq().filter(l,d):this)},countBy:function(l,d){return dE(this,l,d)},equals:function(l){return Zf(this,l)},entrySeq:function(){var l=this;if(l._cache)return new pe(l._cache);var d=l.toSeq().map(bE).toIndexedSeq();return d.fromEntrySeq=function(){return l.toSeq()},d},filterNot:function(l,d){return this.filter(Ds(l),d)},findEntry:function(l,d,m){var x=m;return this.__iterate(function(R,j,A){if(l.call(d,R,j,A))return x=[j,R],!1}),x},findKey:function(l,d){var m=this.findEntry(l,d);return m&&m[0]},findLast:function(l,d,m){return this.toKeyedSeq().reverse().find(l,d,m)},findLastEntry:function(l,d,m){return this.toKeyedSeq().reverse().findEntry(l,d,m)},findLastKey:function(l,d){return this.toKeyedSeq().reverse().findKey(l,d)},first:function(){return this.find(G)},flatMap:function(l,d){return We(this,vE(this,l,d))},flatten:function(l){return We(this,Ty(this,l,!0))},fromEntrySeq:function(){return new xi(this)},get:function(l,d){return this.find(function(m,x){return ct(x,l)},void 0,d)},getIn:function(l,d){for(var m=this,x=zy(l),R;!(R=x.next()).done;){var j=R.value;if(m=m&&m.get?m.get(j,O):O,m===O)return d}return m},groupBy:function(l,d){return hE(this,l,d)},has:function(l){return this.get(l,O)!==O},hasIn:function(l){return this.getIn(l,O)!==O},isSubset:function(l){return l=typeof l.includes=="function"?l:o(l),this.every(function(d){return l.includes(d)})},isSuperset:function(l){return l=typeof l.isSubset=="function"?l:o(l),l.isSubset(this)},keyOf:function(l){return this.findKey(function(d){return ct(d,l)})},keySeq:function(){return this.toSeq().map(SE).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(l){return this.toKeyedSeq().reverse().keyOf(l)},max:function(l){return Ms(this,l)},maxBy:function(l,d){return Ms(this,d,l)},min:function(l){return Ms(this,l?Uy(l):Hy)},minBy:function(l,d){return Ms(this,d?Uy(d):Hy,l)},rest:function(){return this.slice(1)},skip:function(l){return this.slice(Math.max(0,l))},skipLast:function(l){return We(this,this.toSeq().reverse().skip(l).reverse())},skipWhile:function(l,d){return We(this,Ry(this,l,d,!0))},skipUntil:function(l,d){return this.skipWhile(Ds(l),d)},sortBy:function(l,d){return We(this,Ci(this,d,l))},take:function(l){return this.slice(0,Math.max(0,l))},takeLast:function(l){return We(this,this.toSeq().reverse().take(l).reverse())},takeWhile:function(l,d){return We(this,pE(this,l,d))},takeUntil:function(l,d){return this.takeWhile(Ds(l),d)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=xE(this))}});var qt=o.prototype;qt[S]=!0,qt[tt]=qt.values,qt.__toJS=qt.toArray,qt.__toStringMapper=qy,qt.inspect=qt.toSource=function(){return this.toString()},qt.chain=qt.flatMap,qt.contains=qt.includes,ln(i,{flip:function(){return We(this,wy(this))},mapEntries:function(l,d){var m=this,x=0;return We(this,this.toSeq().map(function(R,j){return l.call(d,[j,R],x++,m)}).fromEntrySeq())},mapKeys:function(l,d){var m=this;return We(this,this.toSeq().flip().map(function(x,R){return l.call(d,x,R,m)}).flip())}});var $s=i.prototype;$s[_]=!0,$s[tt]=qt.entries,$s.__toJS=qt.toObject,$s.__toStringMapper=function(l,d){return JSON.stringify(d)+": "+qy(l)},ln(a,{toKeyedSeq:function(){return new Or(this,!1)},filter:function(l,d){return We(this,Cy(this,l,d,!1))},findIndex:function(l,d){var m=this.findEntry(l,d);return m?m[0]:-1},indexOf:function(l){var d=this.keyOf(l);return d===void 0?-1:d},lastIndexOf:function(l){var d=this.lastKeyOf(l);return d===void 0?-1:d},reverse:function(){return We(this,yd(this,!1))},slice:function(l,d){return We(this,_d(this,l,d,!1))},splice:function(l,d){var m=arguments.length;if(d=Math.max(d|0,0),m===0||m===2&&!d)return this;l=se(l,l<0?this.count():this.size);var x=this.slice(0,l);return We(this,m===1?x:x.concat(M(arguments,2),this.slice(l+d)))},findLastIndex:function(l,d){var m=this.findLastEntry(l,d);return m?m[0]:-1},first:function(){return this.get(0)},flatten:function(l){return We(this,Ty(this,l,!1))},get:function(l,d){return l=H(this,l),l<0||this.size===1/0||this.size!==void 0&&l>this.size?d:this.find(function(m,x){return x===l},void 0,d)},has:function(l){return l=H(this,l),l>=0&&(this.size!==void 0?this.size===1/0||ld?-1:0}function xE(l){if(l.size===1/0)return 0;var d=p(l),m=c(l),x=d?1:0,R=l.__iterate(m?d?function(j,A){x=31*x+Gy(ur(j),ur(A))|0}:function(j,A){x=x+Gy(ur(j),ur(A))|0}:d?function(j){x=31*x+ur(j)|0}:function(j){x=x+ur(j)|0});return CE(R,x)}function CE(l,d){return d=Ua(d,3432918353),d=Ua(d<<15|d>>>-15,461845907),d=Ua(d<<13|d>>>-13,5),d=(d+3864292196|0)^l,d=Ua(d^d>>>16,2246822507),d=Ua(d^d>>>13,3266489909),d=rd(d^d>>>16),d}function Gy(l,d){return l^d+2654435769+(l<<6)+(l>>2)|0}var RE={Iterable:o,Seq:te,Collection:Yn,Map:Oe,OrderedMap:at,List:qe,Stack:ft,Set:Ve,OrderedSet:an,Record:fr,Range:Ct,Repeat:jt,is:ct,fromJS:Wa};return RE})}(gh)),gh.exports}function q3(e){return e=e||Object.create(null),{on:function(r,n){(e[r]||(e[r]=[])).push(n)},off:function(r,n){e[r]&&e[r].splice(e[r].indexOf(n)>>>0,1)},emit:function(r,n){(e[r]||[]).slice().map(function(o){o(n)}),(e["*"]||[]).slice().map(function(o){o(r,n)})}}}const H3=Object.freeze(Object.defineProperty({__proto__:null,default:q3},Symbol.toStringTag,{value:"Module"})),G3=ka(H3);var yh,$S;function PR(){if($S)return yh;$S=1;var e=typeof Bo=="object"&&Bo&&Bo.Object===Object&&Bo;return yh=e,yh}var _h,DS;function V3(){if(DS)return _h;DS=1;var e=PR(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return _h=r,_h}var Sh,FS;function $f(){if(FS)return Sh;FS=1;var e=V3(),t=e.Symbol;return Sh=t,Sh}var bh,WS;function K3(){if(WS)return bh;WS=1;var e=$f(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,o=e?e.toStringTag:void 0;function i(a){var s=r.call(a,o),u=a[o];try{a[o]=void 0;var c=!0}catch{}var f=n.call(a);return c&&(s?a[o]=u:delete a[o]),f}return bh=i,bh}var wh,BS;function Y3(){if(BS)return wh;BS=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return wh=r,wh}var xh,US;function Df(){if(US)return xh;US=1;var e=$f(),t=K3(),r=Y3(),n="[object Null]",o="[object Undefined]",i=e?e.toStringTag:void 0;function a(s){return s==null?s===void 0?o:n:i&&i in Object(s)?t(s):r(s)}return xh=a,xh}var Ch,qS;function xs(){if(qS)return Ch;qS=1;function e(t){return t!=null&&typeof t=="object"}return Ch=e,Ch}var Rh,HS;function Q3(){if(HS)return Rh;HS=1;var e=Df(),t=xs(),r="[object RegExp]";function n(o){return t(o)&&e(o)==r}return Rh=n,Rh}var Th,GS;function X3(){if(GS)return Th;GS=1;function e(t){return function(r){return t(r)}}return Th=e,Th}var ml={exports:{}};ml.exports;var VS;function J3(){return VS||(VS=1,function(e,t){var r=PR(),n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i&&r.process,s=function(){try{var u=o&&o.require&&o.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s}(ml,ml.exports)),ml.exports}var Eh,KS;function Z3(){if(KS)return Eh;KS=1;var e=Q3(),t=X3(),r=J3(),n=r&&r.isRegExp,o=n?t(n):e;return Eh=o,Eh}var Oh,YS;function e$(){if(YS)return Oh;YS=1;function e(t,r){for(var n=-1,o=t==null?0:t.length,i=Array(o);++n0&&i(f)?o>1?r(f,o-1,i,a,s):e(s,f):a||(s[s.length]=f)}return s}return Dh=r,Dh}var Fh,l1;function f$(){if(l1)return Fh;l1=1;var e=c$();function t(r){var n=r==null?0:r.length;return n?e(r,1):[]}return Fh=t,Fh}var Wh,s1;function d$(){if(s1)return Wh;s1=1;var e=Z3(),t=o$(),r=i$(),n=f$();function o(i,a,s){var u=0,c=0;if(i==="")return i;if(!i||!r(i))throw new TypeError("First argument to react-string-replace#replaceString must be a string");var f=a;e(f)||(f=new RegExp("("+t(f)+")","gi"));for(var h=i.split(f),p=1,S=h.length;p=0&&u===s&&c())}function vl(e,t){if(e==null)return{};var r=Rn(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var h$=function(){function e(t){var r=t.cellCount,n=t.cellSizeGetter,o=t.estimatedCellSize;it(this,e),$(this,"_cellSizeAndPositionData",{}),$(this,"_lastMeasuredIndex",-1),$(this,"_lastBatchedIndex",-1),$(this,"_cellCount",void 0),$(this,"_cellSizeGetter",void 0),$(this,"_estimatedCellSize",void 0),this._cellSizeGetter=n,this._cellCount=r,this._estimatedCellSize=o}return ut(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(r){var n=r.cellCount,o=r.estimatedCellSize,i=r.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=o,this._cellSizeGetter=i}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(r){if(r<0||r>=this._cellCount)throw Error("Requested index ".concat(r," is outside of range 0..").concat(this._cellCount));if(r>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),o=n.offset+n.size,i=this._lastMeasuredIndex+1;i<=r;i++){var a=this._cellSizeGetter({index:i});if(a===void 0||isNaN(a))throw Error("Invalid size returned for cell ".concat(i," of value ").concat(a));a===null?(this._cellSizeAndPositionData[i]={offset:o,size:0},this._lastBatchedIndex=r):(this._cellSizeAndPositionData[i]={offset:o,size:a},o+=a,this._lastMeasuredIndex=r)}return this._cellSizeAndPositionData[r]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var r=this.getSizeAndPositionOfLastMeasuredCell(),n=r.offset+r.size,o=this._cellCount-this._lastMeasuredIndex-1,i=o*this._estimatedCellSize;return n+i}},{key:"getUpdatedOffsetForIndex",value:function(r){var n=r.align,o=n===void 0?"auto":n,i=r.containerSize,a=r.currentOffset,s=r.targetIndex;if(i<=0)return 0;var u=this.getSizeAndPositionOfCell(s),c=u.offset,f=c-i+u.size,h;switch(o){case"start":h=c;break;case"end":h=f;break;case"center":h=c-(i-u.size)/2;break;default:h=Math.max(f,Math.min(c,a));break}var p=this.getTotalSize();return Math.max(0,Math.min(p-i,h))}},{key:"getVisibleCellRange",value:function(r){var n=r.containerSize,o=r.offset,i=this.getTotalSize();if(i===0)return{};var a=o+n,s=this._findNearestCell(o),u=this.getSizeAndPositionOfCell(s);o=u.offset+u.size;for(var c=s;oo&&(r=i-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(r,n){for(var o=1;r=r?this._binarySearch(o,0,r):this._exponentialSearch(o,r)}}]),e}(),p$=15e5,m$=16777100,v$=function(){return typeof window<"u"},g$=function(){return!!window.chrome},y$=function(){return v$()&&g$()?m$:p$},f1=function(){function e(t){var r=t.maxScrollSize,n=r===void 0?y$():r,o=vl(t,["maxScrollSize"]);it(this,e),$(this,"_cellSizeAndPositionManager",void 0),$(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new h$(o),this._maxScrollSize=n}return ut(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(r){this._cellSizeAndPositionManager.configure(r)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(r){var n=r.containerSize,o=r.offset,i=this._cellSizeAndPositionManager.getTotalSize(),a=this.getTotalSize(),s=this._getOffsetPercentage({containerSize:n,offset:o,totalSize:a});return Math.round(s*(a-i))}},{key:"getSizeAndPositionOfCell",value:function(r){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(r)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(r){var n=r.align,o=n===void 0?"auto":n,i=r.containerSize,a=r.currentOffset,s=r.targetIndex;a=this._safeOffsetToOffset({containerSize:i,offset:a});var u=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:i,currentOffset:a,targetIndex:s});return this._offsetToSafeOffset({containerSize:i,offset:u})}},{key:"getVisibleCellRange",value:function(r){var n=r.containerSize,o=r.offset;return o=this._safeOffsetToOffset({containerSize:n,offset:o}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:o})}},{key:"resetCell",value:function(r){this._cellSizeAndPositionManager.resetCell(r)}},{key:"_getOffsetPercentage",value:function(r){var n=r.containerSize,o=r.offset,i=r.totalSize;return i<=n?0:o/(i-n)}},{key:"_offsetToSafeOffset",value:function(r){var n=r.containerSize,o=r.offset,i=this._cellSizeAndPositionManager.getTotalSize(),a=this.getTotalSize();if(i===a)return o;var s=this._getOffsetPercentage({containerSize:n,offset:o,totalSize:i});return Math.round(s*(a-n))}},{key:"_safeOffsetToOffset",value:function(r){var n=r.containerSize,o=r.offset,i=this._cellSizeAndPositionManager.getTotalSize(),a=this.getTotalSize();if(i===a)return o;var s=this._getOffsetPercentage({containerSize:n,offset:o,totalSize:a});return Math.round(s*(i-n))}}]),e}();function Ra(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t={};return function(r){var n=r.callback,o=r.indices,i=Object.keys(o),a=!e||i.every(function(u){var c=o[u];return Array.isArray(c)?c.length>0:c>=0}),s=i.length!==Object.keys(t).length||i.some(function(u){var c=t[u],f=o[u];return Array.isArray(f)?c.join(",")!==f.join(","):c!==f});t=o,a&&s&&n(o)}}var lu=-1,kn=1;function MR(e){var t=e.cellCount,r=e.overscanCellsCount,n=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return n===kn?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(t-1,i+r)}:{overscanStartIndex:Math.max(0,o-r),overscanStopIndex:Math.min(t-1,i)}}function d1(e){var t=e.cellSize,r=e.cellSizeAndPositionManager,n=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,s=e.previousSize,u=e.scrollOffset,c=e.scrollToAlignment,f=e.scrollToIndex,h=e.size,p=e.sizeJustIncreasedFromZero,S=e.updateScrollIndexCallback,_=r.getCellCount(),y=f>=0&&f<_,C=h!==s||p||!o||typeof t=="number"&&t!==o;y&&(C||c!==i||f!==a)?S(f):!y&&_>0&&(hr.getTotalSize()-h&&S(_-1)}function LR(e){for(var t=e.cellCache,r=e.cellRenderer,n=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,u=e.isScrolling,c=e.isScrollingOptOut,f=e.parent,h=e.rowSizeAndPositionManager,p=e.rowStartIndex,S=e.rowStopIndex,_=e.styleCache,y=e.verticalOffsetAdjustment,C=e.visibleColumnIndices,v=e.visibleRowIndices,g=[],b=n.areOffsetsAdjusted()||h.areOffsetsAdjusted(),T=!u&&!b,O=p;O<=S;O++)for(var k=h.getSizeAndPositionOfCell(O),w=o;w<=i;w++){var E=n.getSizeAndPositionOfCell(w),P=w>=C.start&&w<=C.stop&&O>=v.start&&O<=v.stop,z="".concat(O,"-").concat(w),M=void 0;T&&_[z]?M=_[z]:a&&!a.has(O,w)?M={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(M={height:k.size,left:E.offset+s,position:"absolute",top:k.offset+y,width:E.size},_[z]=M);var F={columnIndex:w,isScrolling:u,isVisible:P,key:z,parent:f,rowIndex:O,style:M},H=void 0;(c||u)&&!s&&!y?(t[z]||(t[z]=r(F)),H=t[z]):H=r(F),!(H==null||H===!1)&&g.push(H)}return g}const _$=!!(typeof window<"u"&&window.document&&window.document.createElement);var su;function dm(e){if((!su&&su!==0||e)&&_$){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),su=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return su}var Gt;typeof window<"u"?Gt=window:typeof self<"u"?Gt=self:Gt={};var S$=Gt.requestAnimationFrame||Gt.webkitRequestAnimationFrame||Gt.mozRequestAnimationFrame||Gt.oRequestAnimationFrame||Gt.msRequestAnimationFrame||function(e){return Gt.setTimeout(e,1e3/60)},b$=Gt.cancelAnimationFrame||Gt.webkitCancelAnimationFrame||Gt.mozCancelAnimationFrame||Gt.oCancelAnimationFrame||Gt.msCancelAnimationFrame||function(e){Gt.clearTimeout(e)},h1=S$,w$=b$,Ta=function(t){return w$(t.id)},cg=function(t,r){var n;Promise.resolve().then(function(){n=Date.now()});var o=function a(){Date.now()-n>=r?t.call():i.id=h1(a)},i={id:h1(o)};return i},p1,m1;function v1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Mo(e){for(var t=1;t0&&(n._initialScrollTop=n._getCalculatedScrollTop(r,n.state)),r.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(r,n.state)),n}return ut(t,[{key:"getOffsetForCell",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.alignment,i=o===void 0?this.props.scrollToAlignment:o,a=n.columnIndex,s=a===void 0?this.props.scrollToColumn:a,u=n.rowIndex,c=u===void 0?this.props.scrollToRow:u,f=Mo({},this.props,{scrollToAlignment:i,scrollToColumn:s,scrollToRow:c});return{scrollLeft:this._getCalculatedScrollLeft(f),scrollTop:this._getCalculatedScrollTop(f)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(n){var o=n.scrollLeft,i=o===void 0?0:o,a=n.scrollTop,s=a===void 0?0:a;if(!(s<0)){this._debounceScrollEnded();var u=this.props,c=u.autoHeight,f=u.autoWidth,h=u.height,p=u.width,S=this.state.instanceProps,_=S.scrollbarSize,y=S.rowSizeAndPositionManager.getTotalSize(),C=S.columnSizeAndPositionManager.getTotalSize(),v=Math.min(Math.max(0,C-p+_),i),g=Math.min(Math.max(0,y-h+_),s);if(this.state.scrollLeft!==v||this.state.scrollTop!==g){var b=v!==this.state.scrollLeft?v>this.state.scrollLeft?kn:lu:this.state.scrollDirectionHorizontal,T=g!==this.state.scrollTop?g>this.state.scrollTop?kn:lu:this.state.scrollDirectionVertical,O={isScrolling:!0,scrollDirectionHorizontal:b,scrollDirectionVertical:T,scrollPositionChangeReason:Bh.OBSERVED};c||(O.scrollTop=g),f||(O.scrollLeft=v),O.needToResetStyleCache=!1,this.setState(O)}this._invokeOnScrollMemoizer({scrollLeft:v,scrollTop:g,totalColumnsWidth:C,totalRowsHeight:y})}}},{key:"invalidateCellSizeAfterRender",value:function(n){var o=n.columnIndex,i=n.rowIndex;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,i):i}},{key:"measureAllCells",value:function(){var n=this.props,o=n.columnCount,i=n.rowCount,a=this.state.instanceProps;a.columnSizeAndPositionManager.getSizeAndPositionOfCell(o-1),a.rowSizeAndPositionManager.getSizeAndPositionOfCell(i-1)}},{key:"recomputeGridSize",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a,u=this.props,c=u.scrollToColumn,f=u.scrollToRow,h=this.state.instanceProps;h.columnSizeAndPositionManager.resetCell(i),h.rowSizeAndPositionManager.resetCell(s),this._recomputeScrollLeftFlag=c>=0&&(this.state.scrollDirectionHorizontal===kn?i<=c:i>=c),this._recomputeScrollTopFlag=f>=0&&(this.state.scrollDirectionVertical===kn?s<=f:s>=f),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(n){var o=n.columnIndex,i=n.rowIndex,a=this.props.columnCount,s=this.props;a>1&&o!==void 0&&this._updateScrollLeftForScrollToColumn(Mo({},s,{scrollToColumn:o})),i!==void 0&&this._updateScrollTopForScrollToRow(Mo({},s,{scrollToRow:i}))}},{key:"componentDidMount",value:function(){var n=this.props,o=n.getScrollbarSize,i=n.height,a=n.scrollLeft,s=n.scrollToColumn,u=n.scrollTop,c=n.scrollToRow,f=n.width,h=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),h.scrollbarSizeMeasured||this.setState(function(_){var y=Mo({},_,{needToResetStyleCache:!1});return y.instanceProps.scrollbarSize=o(),y.instanceProps.scrollbarSizeMeasured=!0,y}),typeof a=="number"&&a>=0||typeof u=="number"&&u>=0){var p=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:a,scrollTop:u});p&&(p.needToResetStyleCache=!1,this.setState(p))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var S=i>0&&f>0;s>=0&&S&&this._updateScrollLeftForScrollToColumn(),c>=0&&S&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:a||0,scrollTop:u||0,totalColumnsWidth:h.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:h.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(n,o){var i=this,a=this.props,s=a.autoHeight,u=a.autoWidth,c=a.columnCount,f=a.height,h=a.rowCount,p=a.scrollToAlignment,S=a.scrollToColumn,_=a.scrollToRow,y=a.width,C=this.state,v=C.scrollLeft,g=C.scrollPositionChangeReason,b=C.scrollTop,T=C.instanceProps;this._handleInvalidatedGridSize();var O=c>0&&n.columnCount===0||h>0&&n.rowCount===0;g===Bh.REQUESTED&&(!u&&v>=0&&(v!==this._scrollingContainer.scrollLeft||O)&&(this._scrollingContainer.scrollLeft=v),!s&&b>=0&&(b!==this._scrollingContainer.scrollTop||O)&&(this._scrollingContainer.scrollTop=b));var k=(n.width===0||n.height===0)&&f>0&&y>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):d1({cellSizeAndPositionManager:T.columnSizeAndPositionManager,previousCellsCount:n.columnCount,previousCellSize:n.columnWidth,previousScrollToAlignment:n.scrollToAlignment,previousScrollToIndex:n.scrollToColumn,previousSize:n.width,scrollOffset:v,scrollToAlignment:p,scrollToIndex:S,size:y,sizeJustIncreasedFromZero:k,updateScrollIndexCallback:function(){return i._updateScrollLeftForScrollToColumn(i.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):d1({cellSizeAndPositionManager:T.rowSizeAndPositionManager,previousCellsCount:n.rowCount,previousCellSize:n.rowHeight,previousScrollToAlignment:n.scrollToAlignment,previousScrollToIndex:n.scrollToRow,previousSize:n.height,scrollOffset:b,scrollToAlignment:p,scrollToIndex:_,size:f,sizeJustIncreasedFromZero:k,updateScrollIndexCallback:function(){return i._updateScrollTopForScrollToRow(i.props)}}),this._invokeOnGridRenderedHelper(),v!==o.scrollLeft||b!==o.scrollTop){var w=T.rowSizeAndPositionManager.getTotalSize(),E=T.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:v,scrollTop:b,totalColumnsWidth:E,totalRowsHeight:w})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&Ta(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var n=this.props,o=n.autoContainerWidth,i=n.autoHeight,a=n.autoWidth,s=n.className,u=n.containerProps,c=n.containerRole,f=n.containerStyle,h=n.height,p=n.id,S=n.noContentRenderer,_=n.role,y=n.style,C=n.tabIndex,v=n.width,g=this.state,b=g.instanceProps,T=g.needToResetStyleCache,O=this._isScrolling(),k={boxSizing:"border-box",direction:"ltr",height:i?"auto":h,position:"relative",width:a?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};T&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=b.columnSizeAndPositionManager.getTotalSize(),E=b.rowSizeAndPositionManager.getTotalSize(),P=E>h?b.scrollbarSize:0,z=w>v?b.scrollbarSize:0;(z!==this._horizontalScrollBarSize||P!==this._verticalScrollBarSize)&&(this._horizontalScrollBarSize=z,this._verticalScrollBarSize=P,this._scrollbarPresenceChanged=!0),k.overflowX=w+P<=v?"hidden":"auto",k.overflowY=E+z<=h?"hidden":"auto";var M=this._childrenToDisplay,F=M.length===0&&h>0&&v>0;return L.createElement("div",_e({ref:this._setScrollingContainerRef},u,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Jr("ReactVirtualized__Grid",s),id:p,onScroll:this._onScroll,role:_,style:Mo({},k,{},y),tabIndex:C}),M.length>0&&L.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:c,style:Mo({width:o?"auto":w,height:E,maxWidth:w,maxHeight:E,overflow:"hidden",pointerEvents:O?"none":"",position:"relative"},f)},M),F&&S())}},{key:"_calculateChildrenToRender",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,i=n.cellRenderer,a=n.cellRangeRenderer,s=n.columnCount,u=n.deferredMeasurementCache,c=n.height,f=n.overscanColumnCount,h=n.overscanIndicesGetter,p=n.overscanRowCount,S=n.rowCount,_=n.width,y=n.isScrollingOptOut,C=o.scrollDirectionHorizontal,v=o.scrollDirectionVertical,g=o.instanceProps,b=this._initialScrollTop>0?this._initialScrollTop:o.scrollTop,T=this._initialScrollLeft>0?this._initialScrollLeft:o.scrollLeft,O=this._isScrolling(n,o);if(this._childrenToDisplay=[],c>0&&_>0){var k=g.columnSizeAndPositionManager.getVisibleCellRange({containerSize:_,offset:T}),w=g.rowSizeAndPositionManager.getVisibleCellRange({containerSize:c,offset:b}),E=g.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:_,offset:T}),P=g.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:c,offset:b});this._renderedColumnStartIndex=k.start,this._renderedColumnStopIndex=k.stop,this._renderedRowStartIndex=w.start,this._renderedRowStopIndex=w.stop;var z=h({direction:"horizontal",cellCount:s,overscanCellsCount:f,scrollDirection:C,startIndex:typeof k.start=="number"?k.start:0,stopIndex:typeof k.stop=="number"?k.stop:-1}),M=h({direction:"vertical",cellCount:S,overscanCellsCount:p,scrollDirection:v,startIndex:typeof w.start=="number"?w.start:0,stopIndex:typeof w.stop=="number"?w.stop:-1}),F=z.overscanStartIndex,H=z.overscanStopIndex,G=M.overscanStartIndex,ue=M.overscanStopIndex;if(u){if(!u.hasFixedHeight()){for(var se=G;se<=ue;se++)if(!u.has(se,0)){F=0,H=s-1;break}}if(!u.hasFixedWidth()){for(var ge=F;ge<=H;ge++)if(!u.has(0,ge)){G=0,ue=S-1;break}}}this._childrenToDisplay=a({cellCache:this._cellCache,cellRenderer:i,columnSizeAndPositionManager:g.columnSizeAndPositionManager,columnStartIndex:F,columnStopIndex:H,deferredMeasurementCache:u,horizontalOffsetAdjustment:E,isScrolling:O,isScrollingOptOut:y,parent:this,rowSizeAndPositionManager:g.rowSizeAndPositionManager,rowStartIndex:G,rowStopIndex:ue,scrollLeft:T,scrollTop:b,styleCache:this._styleCache,verticalOffsetAdjustment:P,visibleColumnIndices:k,visibleRowIndices:w}),this._columnStartIndex=F,this._columnStopIndex=H,this._rowStartIndex=G,this._rowStopIndex=ue}}},{key:"_debounceScrollEnded",value:function(){var n=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&Ta(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=cg(this._debounceScrollEndedCallback,n)}},{key:"_handleInvalidatedGridSize",value:function(){if(typeof this._deferredInvalidateColumnIndex=="number"&&typeof this._deferredInvalidateRowIndex=="number"){var n=this._deferredInvalidateColumnIndex,o=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:n,rowIndex:o})}}},{key:"_invokeOnScrollMemoizer",value:function(n){var o=this,i=n.scrollLeft,a=n.scrollTop,s=n.totalColumnsWidth,u=n.totalRowsHeight;this._onScrollMemoizer({callback:function(f){var h=f.scrollLeft,p=f.scrollTop,S=o.props,_=S.height,y=S.onScroll,C=S.width;y({clientHeight:_,clientWidth:C,scrollHeight:u,scrollLeft:h,scrollTop:p,scrollWidth:s})},indices:{scrollLeft:i,scrollTop:a}})}},{key:"_isScrolling",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return Object.hasOwnProperty.call(n,"isScrolling")?!!n.isScrolling:!!o.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var n=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,n({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(n){var o=n.scrollLeft,i=n.scrollTop,a=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:i});a&&(a.needToResetStyleCache=!1,this.setState(a))}},{key:"_getCalculatedScrollLeft",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return t._getCalculatedScrollLeft(n,o)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,i=t._getScrollLeftForScrollToColumnStateUpdate(n,o);i&&(i.needToResetStyleCache=!1,this.setState(i))}},{key:"_getCalculatedScrollTop",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return t._getCalculatedScrollTop(n,o)}},{key:"_resetStyleCache",value:function(){var n=this._styleCache,o=this._cellCache,i=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var a=this._rowStartIndex;a<=this._rowStopIndex;a++)for(var s=this._columnStartIndex;s<=this._columnStopIndex;s++){var u="".concat(a,"-").concat(s);this._styleCache[u]=n[u],i&&(this._cellCache[u]=o[u])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,i=t._getScrollTopForScrollToRowStateUpdate(n,o);i&&(i.needToResetStyleCache=!1,this.setState(i))}}],[{key:"getDerivedStateFromProps",value:function(n,o){var i={};n.columnCount===0&&o.scrollLeft!==0||n.rowCount===0&&o.scrollTop!==0?(i.scrollLeft=0,i.scrollTop=0):(n.scrollLeft!==o.scrollLeft&&n.scrollToColumn<0||n.scrollTop!==o.scrollTop&&n.scrollToRow<0)&&Object.assign(i,t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}));var a=o.instanceProps;i.needToResetStyleCache=!1,(n.columnWidth!==a.prevColumnWidth||n.rowHeight!==a.prevRowHeight)&&(i.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:n.columnCount,estimatedCellSize:t._getEstimatedColumnSize(n),cellSizeGetter:t._wrapSizeGetter(n.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:n.rowCount,estimatedCellSize:t._getEstimatedRowSize(n),cellSizeGetter:t._wrapSizeGetter(n.rowHeight)}),(a.prevColumnCount===0||a.prevRowCount===0)&&(a.prevColumnCount=0,a.prevRowCount=0),n.autoHeight&&n.isScrolling===!1&&a.prevIsScrolling===!0&&Object.assign(i,{isScrolling:!1});var s,u;return c1({cellCount:a.prevColumnCount,cellSize:typeof a.prevColumnWidth=="number"?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:n,nextCellsCount:n.columnCount,nextCellSize:typeof n.columnWidth=="number"?n.columnWidth:null,nextScrollToIndex:n.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){s=t._getScrollLeftForScrollToColumnStateUpdate(n,o)}}),c1({cellCount:a.prevRowCount,cellSize:typeof a.prevRowHeight=="number"?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:n,nextCellsCount:n.rowCount,nextCellSize:typeof n.rowHeight=="number"?n.rowHeight:null,nextScrollToIndex:n.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){u=t._getScrollTopForScrollToRowStateUpdate(n,o)}}),a.prevColumnCount=n.columnCount,a.prevColumnWidth=n.columnWidth,a.prevIsScrolling=n.isScrolling===!0,a.prevRowCount=n.rowCount,a.prevRowHeight=n.rowHeight,a.prevScrollToColumn=n.scrollToColumn,a.prevScrollToRow=n.scrollToRow,a.scrollbarSize=n.getScrollbarSize(),a.scrollbarSize===void 0?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,i.instanceProps=a,Mo({},i,{},s,{},u)}},{key:"_getEstimatedColumnSize",value:function(n){return typeof n.columnWidth=="number"?n.columnWidth:n.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(n){return typeof n.rowHeight=="number"?n.rowHeight:n.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(n){var o=n.prevState,i=n.scrollLeft,a=n.scrollTop,s={scrollPositionChangeReason:Bh.REQUESTED};return typeof i=="number"&&i>=0&&(s.scrollDirectionHorizontal=i>o.scrollLeft?kn:lu,s.scrollLeft=i),typeof a=="number"&&a>=0&&(s.scrollDirectionVertical=a>o.scrollTop?kn:lu,s.scrollTop=a),typeof i=="number"&&i>=0&&i!==o.scrollLeft||typeof a=="number"&&a>=0&&a!==o.scrollTop?s:{}}},{key:"_wrapSizeGetter",value:function(n){return typeof n=="function"?n:function(){return n}}},{key:"_getCalculatedScrollLeft",value:function(n,o){var i=n.columnCount,a=n.height,s=n.scrollToAlignment,u=n.scrollToColumn,c=n.width,f=o.scrollLeft,h=o.instanceProps;if(i>0){var p=i-1,S=u<0?p:Math.min(p,u),_=h.rowSizeAndPositionManager.getTotalSize(),y=h.scrollbarSizeMeasured&&_>a?h.scrollbarSize:0;return h.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:s,containerSize:c-y,currentOffset:f,targetIndex:S})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(n,o){var i=o.scrollLeft,a=t._getCalculatedScrollLeft(n,o);return typeof a=="number"&&a>=0&&i!==a?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:a,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(n,o){var i=n.height,a=n.rowCount,s=n.scrollToAlignment,u=n.scrollToRow,c=n.width,f=o.scrollTop,h=o.instanceProps;if(a>0){var p=a-1,S=u<0?p:Math.min(p,u),_=h.columnSizeAndPositionManager.getTotalSize(),y=h.scrollbarSizeMeasured&&_>c?h.scrollbarSize:0;return h.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:s,containerSize:i-y,currentOffset:f,targetIndex:S})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(n,o){var i=o.scrollTop,a=t._getCalculatedScrollTop(n,o);return typeof a=="number"&&a>=0&&i!==a?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:a}):{}}}]),t}(L.PureComponent),$(p1,"propTypes",null),m1);$(Nn,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:LR,containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:dm,noContentRenderer:C$,onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:MR,overscanRowCount:10,role:"grid",scrollingResetTimeInterval:x$,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1});Cs(Nn);var R$=1;function fg(e){var t=e.cellCount,r=e.overscanCellsCount,n=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return r=Math.max(1,r),n===R$?{overscanStartIndex:Math.max(0,o-1),overscanStopIndex:Math.min(t-1,i+r)}:{overscanStartIndex:Math.max(0,o-r),overscanStopIndex:Math.min(t-1,i+1)}}var g1,y1;function _1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function T$(e){for(var t=1;t div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',z=E.head||E.getElementsByTagName("head")[0],M=E.createElement("style");M.id="detectElementResize",M.type="text/css",e!=null&&M.setAttribute("nonce",e),M.styleSheet?M.styleSheet.cssText=P:M.appendChild(E.createTextNode(P)),z.appendChild(M)}},O=function(E,P){if(n)E.attachEvent("onresize",P);else{if(!E.__resizeTriggers__){var z=E.ownerDocument,M=r.getComputedStyle(E);M&&M.position=="static"&&(E.style.position="relative"),T(z),E.__resizeLast__={},E.__resizeListeners__=[],(E.__resizeTriggers__=z.createElement("div")).className="resize-triggers";var F='
';if(window.trustedTypes){var H=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return F}});E.__resizeTriggers__.innerHTML=H.createHTML("")}else E.__resizeTriggers__.innerHTML=F;E.appendChild(E.__resizeTriggers__),a(E),E.addEventListener("scroll",u,!0),h&&(E.__resizeTriggers__.__animationListener__=function(ue){ue.animationName==v&&a(E)},E.__resizeTriggers__.addEventListener(h,E.__resizeTriggers__.__animationListener__))}E.__resizeListeners__.push(P)}},k=function(E,P){if(n)E.detachEvent("onresize",P);else if(E.__resizeListeners__.splice(E.__resizeListeners__.indexOf(P),1),!E.__resizeListeners__.length){E.removeEventListener("scroll",u,!0),E.__resizeTriggers__.__animationListener__&&(E.__resizeTriggers__.removeEventListener(h,E.__resizeTriggers__.__animationListener__),E.__resizeTriggers__.__animationListener__=null);try{E.__resizeTriggers__=!E.removeChild(E.__resizeTriggers__)}catch{}}};return{addResizeListener:O,removeResizeListener:k}}var S1,b1;function w1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function E$(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};it(this,e),$(this,"_cellHeightCache",{}),$(this,"_cellWidthCache",{}),$(this,"_columnWidthCache",{}),$(this,"_rowHeightCache",{}),$(this,"_defaultHeight",void 0),$(this,"_defaultWidth",void 0),$(this,"_minHeight",void 0),$(this,"_minWidth",void 0),$(this,"_keyMapper",void 0),$(this,"_hasFixedHeight",void 0),$(this,"_hasFixedWidth",void 0),$(this,"_columnCount",0),$(this,"_rowCount",0),$(this,"columnWidth",function(f){var h=f.index,p=t._keyMapper(0,h);return t._columnWidthCache[p]!==void 0?t._columnWidthCache[p]:t._defaultWidth}),$(this,"rowHeight",function(f){var h=f.index,p=t._keyMapper(h,0);return t._rowHeightCache[p]!==void 0?t._rowHeightCache[p]:t._defaultHeight});var n=r.defaultHeight,o=r.defaultWidth,i=r.fixedHeight,a=r.fixedWidth,s=r.keyMapper,u=r.minHeight,c=r.minWidth;this._hasFixedHeight=i===!0,this._hasFixedWidth=a===!0,this._minHeight=u||0,this._minWidth=c||0,this._keyMapper=s||I$,this._defaultHeight=Math.max(this._minHeight,typeof n=="number"?n:O$),this._defaultWidth=Math.max(this._minWidth,typeof o=="number"?o:k$)}return ut(e,[{key:"clear",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=this._keyMapper(r,n);delete this._cellHeightCache[o],delete this._cellWidthCache[o],this._updateCachedColumnAndRowSizes(r,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var o=this._keyMapper(r,n);return this._cellHeightCache[o]!==void 0?Math.max(this._minHeight,this._cellHeightCache[o]):this._defaultHeight}},{key:"getWidth",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var o=this._keyMapper(r,n);return this._cellWidthCache[o]!==void 0?Math.max(this._minWidth,this._cellWidthCache[o]):this._defaultWidth}},{key:"has",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=this._keyMapper(r,n);return this._cellHeightCache[o]!==void 0}},{key:"set",value:function(r,n,o,i){var a=this._keyMapper(r,n);n>=this._columnCount&&(this._columnCount=n+1),r>=this._rowCount&&(this._rowCount=r+1),this._cellHeightCache[a]=i,this._cellWidthCache[a]=o,this._updateCachedColumnAndRowSizes(r,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(r,n){if(!this._hasFixedWidth){for(var o=0,i=0;i=0){var C=u.getScrollPositionForCell({align:f,cellIndex:h,height:c,scrollLeft:_,scrollTop:y,width:p});(C.scrollLeft!==_||C.scrollTop!==y)&&n._setScrollPosition(C)}}),$(Y(n),"_onScroll",function(s){if(s.target===n._scrollingContainer){n._enablePointerEventsAfterDelay();var u=n.props,c=u.cellLayoutManager,f=u.height,h=u.isScrollingChange,p=u.width,S=n._scrollbarSize,_=c.getTotalSize(),y=_.height,C=_.width,v=Math.max(0,Math.min(C-p+S,s.target.scrollLeft)),g=Math.max(0,Math.min(y-f+S,s.target.scrollTop));if(n.state.scrollLeft!==v||n.state.scrollTop!==g){var b=s.cancelable?zi.OBSERVED:zi.REQUESTED;n.state.isScrolling||h(!0),n.setState({isScrolling:!0,scrollLeft:v,scrollPositionChangeReason:b,scrollTop:g})}n._invokeOnScrollMemoizer({scrollLeft:v,scrollTop:g,totalWidth:C,totalHeight:y})}}),n._scrollbarSize=dm(),n._scrollbarSize===void 0?(n._scrollbarSizeMeasured=!1,n._scrollbarSize=0):n._scrollbarSizeMeasured=!0,n}return ut(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var n=this.props,o=n.cellLayoutManager,i=n.scrollLeft,a=n.scrollToCell,s=n.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=dm(),this._scrollbarSizeMeasured=!0,this.setState({})),a>=0?this._updateScrollPositionForScrollToCell():(i>=0||s>=0)&&this._setScrollPosition({scrollLeft:i,scrollTop:s}),this._invokeOnSectionRenderedHelper();var u=o.getTotalSize(),c=u.height,f=u.width;this._invokeOnScrollMemoizer({scrollLeft:i||0,scrollTop:s||0,totalHeight:c,totalWidth:f})}},{key:"componentDidUpdate",value:function(n,o){var i=this.props,a=i.height,s=i.scrollToAlignment,u=i.scrollToCell,c=i.width,f=this.state,h=f.scrollLeft,p=f.scrollPositionChangeReason,S=f.scrollTop;p===zi.REQUESTED&&(h>=0&&h!==o.scrollLeft&&h!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=h),S>=0&&S!==o.scrollTop&&S!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=S)),(a!==n.height||s!==n.scrollToAlignment||u!==n.scrollToCell||c!==n.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var n=this.props,o=n.autoHeight,i=n.cellCount,a=n.cellLayoutManager,s=n.className,u=n.height,c=n.horizontalOverscanSize,f=n.id,h=n.noContentRenderer,p=n.style,S=n.verticalOverscanSize,_=n.width,y=this.state,C=y.isScrolling,v=y.scrollLeft,g=y.scrollTop;(this._lastRenderedCellCount!==i||this._lastRenderedCellLayoutManager!==a||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=i,this._lastRenderedCellLayoutManager=a,this._calculateSizeAndPositionDataOnNextUpdate=!1,a.calculateSizeAndPositionData());var b=a.getTotalSize(),T=b.height,O=b.width,k=Math.max(0,v-c),w=Math.max(0,g-S),E=Math.min(O,v+_+c),P=Math.min(T,g+u+S),z=u>0&&_>0?a.cellRenderers({height:P-w,isScrolling:C,width:E-k,x:k,y:w}):[],M={boxSizing:"border-box",direction:"ltr",height:o?"auto":u,position:"relative",WebkitOverflowScrolling:"touch",width:_,willChange:"transform"},F=T>u?this._scrollbarSize:0,H=O>_?this._scrollbarSize:0;return M.overflowX=O+F<=_?"hidden":"auto",M.overflowY=T+H<=u?"hidden":"auto",L.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Jr("ReactVirtualized__Collection",s),id:f,onScroll:this._onScroll,role:"grid",style:z$({},M,{},p),tabIndex:0},i>0&&L.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:T,maxHeight:T,maxWidth:O,overflow:"hidden",pointerEvents:C?"none":"",width:O}},z),i===0&&h())}},{key:"_enablePointerEventsAfterDelay",value:function(){var n=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){var o=n.props.isScrollingChange;o(!1),n._disablePointerEventsTimeoutId=null,n.setState({isScrolling:!1})},j$)}},{key:"_invokeOnScrollMemoizer",value:function(n){var o=this,i=n.scrollLeft,a=n.scrollTop,s=n.totalHeight,u=n.totalWidth;this._onScrollMemoizer({callback:function(f){var h=f.scrollLeft,p=f.scrollTop,S=o.props,_=S.height,y=S.onScroll,C=S.width;y({clientHeight:_,clientWidth:C,scrollHeight:s,scrollLeft:h,scrollTop:p,scrollWidth:u})},indices:{scrollLeft:i,scrollTop:a}})}},{key:"_setScrollPosition",value:function(n){var o=n.scrollLeft,i=n.scrollTop,a={scrollPositionChangeReason:zi.REQUESTED};o>=0&&(a.scrollLeft=o),i>=0&&(a.scrollTop=i),(o>=0&&o!==this.state.scrollLeft||i>=0&&i!==this.state.scrollTop)&&this.setState(a)}}],[{key:"getDerivedStateFromProps",value:function(n,o){return n.cellCount===0&&(o.scrollLeft!==0||o.scrollTop!==0)?{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:zi.REQUESTED}:n.scrollLeft!==o.scrollLeft||n.scrollTop!==o.scrollTop?{scrollLeft:n.scrollLeft!=null?n.scrollLeft:o.scrollLeft,scrollTop:n.scrollTop!=null?n.scrollTop:o.scrollTop,scrollPositionChangeReason:zi.REQUESTED}:null}}]),t}(L.PureComponent);$(Ff,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0});Ff.propTypes={};Cs(Ff);var A$=function(){function e(t){var r=t.height,n=t.width,o=t.x,i=t.y;it(this,e),this.height=r,this.width=n,this.x=o,this.y=i,this._indexMap={},this._indices=[]}return ut(e,[{key:"addCellIndex",value:function(r){var n=r.index;this._indexMap[n]||(this._indexMap[n]=!0,this._indices.push(n))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),M$=100,L$=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:M$;it(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return ut(e,[{key:"getCellIndices",value:function(r){var n=r.height,o=r.width,i=r.x,a=r.y,s={};return this.getSections({height:n,width:o,x:i,y:a}).forEach(function(u){return u.getCellIndices().forEach(function(c){s[c]=c})}),Object.keys(s).map(function(u){return s[u]})}},{key:"getCellMetadata",value:function(r){var n=r.index;return this._cellMetadata[n]}},{key:"getSections",value:function(r){for(var n=r.height,o=r.width,i=r.x,a=r.y,s=Math.floor(i/this._sectionSize),u=Math.floor((i+o-1)/this._sectionSize),c=Math.floor(a/this._sectionSize),f=Math.floor((a+n-1)/this._sectionSize),h=[],p=s;p<=u;p++)for(var S=c;S<=f;S++){var _="".concat(p,".").concat(S);this._sections[_]||(this._sections[_]=new A$({height:this._sectionSize,width:this._sectionSize,x:p*this._sectionSize,y:S*this._sectionSize})),h.push(this._sections[_])}return h}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var r=this;return Object.keys(this._sections).map(function(n){return r._sections[n].toString()})}},{key:"registerCell",value:function(r){var n=r.cellMetadatum,o=r.index;this._cellMetadata[o]=n,this.getSections(n).forEach(function(i){return i.addCellIndex({index:o})})}}]),e}();function N$(e){for(var t=e.cellCount,r=e.cellSizeAndPositionGetter,n=e.sectionSize,o=[],i=new L$(n),a=0,s=0,u=0;u=0&&ie.length)&&(t=e.length);for(var r=0,n=new Array(t);rr||o0;){var _=S.startIndex-1;if(!t({index:_}))S.startIndex=_;else break}return a}function H$(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=typeof e.recomputeGridSize=="function"?e.recomputeGridSize:e.recomputeRowHeights;r?r.call(e,t):e.forceUpdate()}var E1,O1,BR=(O1=E1=function(e){Xt(t,e);function t(){var r,n;it(this,t);for(var o=arguments.length,i=new Array(o),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a;this.Grid&&this.Grid.recomputeGridSize({rowIndex:s,columnIndex:i})}},{key:"recomputeRowHeights",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:n,columnIndex:0})}},{key:"scrollToPosition",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:n})}},{key:"scrollToRow",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:n})}},{key:"render",value:function(){var n=this.props,o=n.className,i=n.noRowsRenderer,a=n.scrollToIndex,s=n.width,u=Jr("ReactVirtualized__List",o);return L.createElement(Nn,_e({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:u,columnWidth:s,columnCount:1,noContentRenderer:i,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:a}))}}]),t}(L.PureComponent),$(E1,"propTypes",null),O1);$(BR,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:fg,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});function G$(e){if(Array.isArray(e))return e}function V$(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){c=!0,o=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function K$(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Y$(e,t){return G$(e)||V$(e,t)||WR(e,t)||K$()}function Q$(e,t,r,n){for(var o=r+1;t<=r;){var i=t+r>>>1,a=e[i];a>=n?(o=i,r=i-1):t=i+1}return o}function X$(e,t,r,n,o){for(var i=r+1;t<=r;){var a=t+r>>>1,s=e[a];o(s,n)>=0?(i=a,r=a-1):t=a+1}return i}function J$(e,t,r,n,o){return typeof r=="function"?X$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):Q$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function Z$(e,t,r,n){for(var o=r+1;t<=r;){var i=t+r>>>1,a=e[i];a>n?(o=i,r=i-1):t=i+1}return o}function e5(e,t,r,n,o){for(var i=r+1;t<=r;){var a=t+r>>>1,s=e[a];o(s,n)>0?(i=a,r=a-1):t=a+1}return i}function t5(e,t,r,n,o){return typeof r=="function"?e5(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):Z$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function r5(e,t,r,n){for(var o=t-1;t<=r;){var i=t+r>>>1,a=e[i];a>>1,s=e[a];o(s,n)<0?(i=a,t=a+1):r=a-1}return i}function o5(e,t,r,n,o){return typeof r=="function"?n5(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):r5(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function i5(e,t,r,n){for(var o=t-1;t<=r;){var i=t+r>>>1,a=e[i];a<=n?(o=i,t=i+1):r=i-1}return o}function a5(e,t,r,n,o){for(var i=t-1;t<=r;){var a=t+r>>>1,s=e[a];o(s,n)<=0?(i=a,t=a+1):r=a-1}return i}function l5(e,t,r,n,o){return typeof r=="function"?a5(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):i5(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function s5(e,t,r,n){for(;t<=r;){var o=t+r>>>1,i=e[o];if(i===n)return o;i<=n?t=o+1:r=o-1}return-1}function u5(e,t,r,n,o){for(;t<=r;){var i=t+r>>>1,a=e[i],s=o(a,n);if(s===0)return i;s<=0?t=i+1:r=i-1}return-1}function c5(e,t,r,n,o){return typeof r=="function"?u5(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):s5(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}const Cc={ge:J$,gt:t5,lt:o5,le:l5,eq:c5};var Yi=0,Wo=1,Nu=2;function mg(e,t,r,n,o){this.mid=e,this.left=t,this.right=r,this.leftPoints=n,this.rightPoints=o,this.count=(t?t.count:0)+(r?r.count:0)+n.length}var Rs=mg.prototype;function Uh(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function UR(e,t){var r=Ea(t);e.mid=r.mid,e.left=r.left,e.right=r.right,e.leftPoints=r.leftPoints,e.rightPoints=r.rightPoints,e.count=r.count}function k1(e,t){var r=e.intervals([]);r.push(t),UR(e,r)}function P1(e,t){var r=e.intervals([]),n=r.indexOf(t);return n<0?Yi:(r.splice(n,1),UR(e,r),Wo)}Rs.intervals=function(e){return e.push.apply(e,this.leftPoints),this.left&&this.left.intervals(e),this.right&&this.right.intervals(e),e};Rs.insert=function(e){var t=this.count-this.leftPoints.length;if(this.count+=1,e[1]3*(t+1)?k1(this,e):this.left.insert(e):this.left=Ea([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?k1(this,e):this.right.insert(e):this.right=Ea([e]);else{var r=Cc.ge(this.leftPoints,e,vg),n=Cc.ge(this.rightPoints,e,gg);this.leftPoints.splice(r,0,e),this.rightPoints.splice(n,0,e)}};Rs.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1))return P1(this,e);var n=this.left.remove(e);return n===Nu?(this.left=null,this.count-=1,Wo):(n===Wo&&(this.count-=1),n)}else if(e[0]>this.mid){if(!this.right)return Yi;var o=this.left?this.left.count:0;if(4*o>3*(t-1))return P1(this,e);var n=this.right.remove(e);return n===Nu?(this.right=null,this.count-=1,Wo):(n===Wo&&(this.count-=1),n)}else{if(this.count===1)return this.leftPoints[0]===e?Nu:Yi;if(this.leftPoints.length===1&&this.leftPoints[0]===e){if(this.left&&this.right){for(var i=this,a=this.left;a.right;)i=a,a=a.right;if(i===this)a.right=this.right;else{var s=this.left,n=this.right;i.count-=a.count,i.right=a.left,a.left=s,a.right=n}Uh(this,a),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?Uh(this,this.left):Uh(this,this.right);return Wo}for(var s=Cc.ge(this.leftPoints,e,vg);s=0&&e[n][1]>=t;--n){var o=r(e[n]);if(o)return o}}function GR(e,t){for(var r=0;rthis.mid){if(this.right){var r=this.right.queryPoint(e,t);if(r)return r}return HR(this.rightPoints,e,t)}else return GR(this.leftPoints,t)};Rs.queryInterval=function(e,t,r){if(ethis.mid&&this.right){var n=this.right.queryInterval(e,t,r);if(n)return n}return tthis.mid?HR(this.rightPoints,e,r):GR(this.leftPoints,r)};function f5(e,t){return e-t}function vg(e,t){var r=e[0]-t[0];return r||e[1]-t[1]}function gg(e,t){var r=e[1]-t[1];return r||e[0]-t[0]}function Ea(e){if(e.length===0)return null;for(var t=[],r=0;r>1],o=[],i=[],a=[],r=0;r"u"?(z=G,M=G):(z=Math.min(z,G),M=Math.max(M,G)),k.push(u({index:G,isScrolling:T,key:p(G),parent:n,style:(ge={height:s.getHeight(G)},$(ge,g==="ltr"?"left":"right",ue),$(ge,"position","absolute"),$(ge,"top",se),$(ge,"width",s.getWidth(G)),ge)}))}),E0&&arguments[0]!==void 0?arguments[0]:{};it(this,e),$(this,"_cellMeasurerCache",void 0),$(this,"_columnIndexOffset",void 0),$(this,"_rowIndexOffset",void 0),$(this,"columnWidth",function(u){var c=u.index;t._cellMeasurerCache.columnWidth({index:c+t._columnIndexOffset})}),$(this,"rowHeight",function(u){var c=u.index;t._cellMeasurerCache.rowHeight({index:c+t._rowIndexOffset})});var n=r.cellMeasurerCache,o=r.columnIndexOffset,i=o===void 0?0:o,a=r.rowIndexOffset,s=a===void 0?0:a;this._cellMeasurerCache=n,this._columnIndexOffset=i,this._rowIndexOffset=s}return ut(e,[{key:"clear",value:function(r,n){this._cellMeasurerCache.clear(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getHeight(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"getWidth",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getWidth(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"has",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.has(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"set",value:function(r,n,o,i){this._cellMeasurerCache.set(r+this._rowIndexOffset,n+this._columnIndexOffset,o,i)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function M1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Lt(e){for(var t=1;t0?new Hh({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:s}):i,o._deferredMeasurementCacheBottomRightGrid=a>0||s>0?new Hh({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:s}):i,o._deferredMeasurementCacheTopRightGrid=a>0?new Hh({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:0}):i),o}return ut(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,i):i,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,s):s}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a,u=this.props,c=u.fixedColumnCount,f=u.fixedRowCount,h=Math.max(0,i-c),p=Math.max(0,s-f);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:i,rowIndex:p}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:h,rowIndex:p}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:i,rowIndex:s}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:h,rowIndex:s}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var n=this.props,o=n.scrollLeft,i=n.scrollTop;if(o>0||i>0){var a={};o>0&&(a.scrollLeft=o),i>0&&(a.scrollTop=i),this.setState(a)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var n=this.props,o=n.onScroll,i=n.onSectionRendered;n.onScrollbarPresenceChange,n.scrollLeft;var a=n.scrollToColumn;n.scrollTop;var s=n.scrollToRow,u=vl(n,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),this.props.width===0||this.props.height===0)return null;var c=this.state,f=c.scrollLeft,h=c.scrollTop;return L.createElement("div",{style:this._containerOuterStyle},L.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(u),this._renderTopRightGrid(Lt({},u,{onScroll:o,scrollLeft:f}))),L.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(Lt({},u,{onScroll:o,scrollTop:h})),this._renderBottomRightGrid(Lt({},u,{onScroll:o,onSectionRendered:i,scrollLeft:f,scrollToColumn:a,scrollToRow:s,scrollTop:h}))))}},{key:"_getBottomGridHeight",value:function(n){var o=n.height,i=this._getTopGridHeight(n);return o-i}},{key:"_getLeftGridWidth",value:function(n){var o=n.fixedColumnCount,i=n.columnWidth;if(this._leftGridWidth==null)if(typeof i=="function"){for(var a=0,s=0;s=0?n.scrollLeft:o.scrollLeft,scrollTop:n.scrollTop!=null&&n.scrollTop>=0?n.scrollTop:o.scrollTop}:null}}]),t}(L.PureComponent);$(Wf,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1});Wf.propTypes={};Cs(Wf);var VR=function(e){Xt(t,e);function t(r,n){var o;return it(this,t),o=Qt(this,It(t).call(this,r,n)),o.state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},o._onScroll=o._onScroll.bind(Y(o)),o}return ut(t,[{key:"render",value:function(){var n=this.props.children,o=this.state,i=o.clientHeight,a=o.clientWidth,s=o.scrollHeight,u=o.scrollLeft,c=o.scrollTop,f=o.scrollWidth;return n({clientHeight:i,clientWidth:a,onScroll:this._onScroll,scrollHeight:s,scrollLeft:u,scrollTop:c,scrollWidth:f})}},{key:"_onScroll",value:function(n){var o=n.clientHeight,i=n.clientWidth,a=n.scrollHeight,s=n.scrollLeft,u=n.scrollTop,c=n.scrollWidth;this.setState({clientHeight:o,clientWidth:i,scrollHeight:a,scrollLeft:s,scrollTop:u,scrollWidth:c})}}]),t}(L.PureComponent);VR.propTypes={};function y5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.defaultSortBy,n=t.defaultSortDirection,o=n===void 0?{}:n;if(!e)throw Error('Required parameter "sortCallback" not specified');var i=r||[],a={};i.forEach(function(u){a[u]=o[u]!==void 0?o[u]:"ASC"});function s(u){var c=u.defaultSortDirection,f=u.event,h=u.sortBy;if(f.shiftKey)a[h]!==void 0?a[h]=a[h]==="ASC"?"DESC":"ASC":(a[h]=c,i.push(h));else if(f.ctrlKey||f.metaKey){var p=i.indexOf(h);p>=0&&(i.splice(p,1),delete a[h])}else{i.length=0,i.push(h);var S=Object.keys(a);S.forEach(function(_){_!==h&&delete a[_]}),a[h]!==void 0?a[h]=a[h]==="ASC"?"DESC":"ASC":a[h]=c}e({sortBy:i,sortDirection:a})}return{sort:s,sortBy:i,sortDirection:a}}function KR(e){var t=e.dataKey,r=e.rowData;return typeof r.get=="function"?r.get(t):r[t]}function YR(e){var t=e.cellData;return t==null?"":String(t)}function _g(e){var t=e.className,r=e.columns,n=e.style;return L.createElement("div",{className:t,role:"row",style:n},r)}_g.propTypes=null;var $n={ASC:"ASC",DESC:"DESC"};function Sg(e){var t=e.sortDirection,r=Jr("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===$n.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===$n.DESC});return L.createElement("svg",{className:r,width:18,height:18,viewBox:"0 0 24 24"},t===$n.ASC?L.createElement("path",{d:"M7 14l5-5 5 5z"}):L.createElement("path",{d:"M7 10l5 5 5-5z"}),L.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}Sg.propTypes={};function bg(e){var t=e.dataKey,r=e.label,n=e.sortBy,o=e.sortDirection,i=n===t,a=[L.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:typeof r=="string"?r:null},r)];return i&&a.push(L.createElement(Sg,{key:"SortIndicator",sortDirection:o})),a}bg.propTypes=null;function wg(e){var t=e.className,r=e.columns,n=e.index,o=e.key,i=e.onRowClick,a=e.onRowDoubleClick,s=e.onRowMouseOut,u=e.onRowMouseOver,c=e.onRowRightClick,f=e.rowData,h=e.style,p={"aria-rowindex":n+1};return(i||a||s||u||c)&&(p["aria-label"]="row",p.tabIndex=0,i&&(p.onClick=function(S){return i({event:S,index:n,rowData:f})}),a&&(p.onDoubleClick=function(S){return a({event:S,index:n,rowData:f})}),s&&(p.onMouseOut=function(S){return s({event:S,index:n,rowData:f})}),u&&(p.onMouseOver=function(S){return u({event:S,index:n,rowData:f})}),c&&(p.onContextMenu=function(S){return c({event:S,index:n,rowData:f})})),L.createElement("div",_e({},p,{className:t,key:o,role:"row",style:h}),r)}wg.propTypes=null;var xg=function(e){Xt(t,e);function t(){return it(this,t),Qt(this,It(t).apply(this,arguments))}return t}(L.Component);$(xg,"defaultProps",{cellDataGetter:KR,cellRenderer:YR,defaultSortDirection:$n.ASC,flexGrow:0,flexShrink:1,headerRenderer:bg,style:{}});xg.propTypes={};function N1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ji(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a;this.Grid&&this.Grid.recomputeGridSize({rowIndex:s,columnIndex:i})}},{key:"recomputeRowHeights",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:n})}},{key:"scrollToPosition",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:n})}},{key:"scrollToRow",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:n})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var n=ms.findDOMNode(this.Grid),o=n.clientWidth||0,i=n.offsetWidth||0;return i-o}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var n=this,o=this.props,i=o.children,a=o.className,s=o.disableHeader,u=o.gridClassName,c=o.gridStyle,f=o.headerHeight,h=o.headerRowRenderer,p=o.height,S=o.id,_=o.noRowsRenderer,y=o.rowClassName,C=o.rowStyle,v=o.scrollToIndex,g=o.style,b=o.width,T=this.state.scrollbarWidth,O=s?p:p-f,k=typeof y=="function"?y({index:-1}):y,w=typeof C=="function"?C({index:-1}):C;return this._cachedColumnStyles=[],L.Children.toArray(i).forEach(function(E,P){var z=n._getFlexStyleForColumn(E,E.props.style);n._cachedColumnStyles[P]=ji({overflow:"hidden"},z)}),L.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":L.Children.toArray(i).length,"aria-rowcount":this.props.rowCount,className:Jr("ReactVirtualized__Table",a),id:S,role:"grid",style:g},!s&&h({className:Jr("ReactVirtualized__Table__headerRow",k),columns:this._getHeaderColumns(),style:ji({height:f,overflow:"hidden",paddingRight:T,width:b},w)}),L.createElement(Nn,_e({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:Jr("ReactVirtualized__Table__Grid",u),cellRenderer:this._createRow,columnWidth:b,columnCount:1,height:O,id:void 0,noContentRenderer:_,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:T,scrollToRow:v,style:ji({},c,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(n){var o=n.column,i=n.columnIndex,a=n.isScrolling,s=n.parent,u=n.rowData,c=n.rowIndex,f=this.props.onColumnClick,h=o.props,p=h.cellDataGetter,S=h.cellRenderer,_=h.className,y=h.columnData,C=h.dataKey,v=h.id,g=p({columnData:y,dataKey:C,rowData:u}),b=S({cellData:g,columnData:y,columnIndex:i,dataKey:C,isScrolling:a,parent:s,rowData:u,rowIndex:c}),T=function(E){f&&f({columnData:y,dataKey:C,event:E})},O=this._cachedColumnStyles[i],k=typeof b=="string"?b:null;return L.createElement("div",{"aria-colindex":i+1,"aria-describedby":v,className:Jr("ReactVirtualized__Table__rowColumn",_),key:"Row"+c+"-Col"+i,onClick:T,role:"gridcell",style:O,title:k},b)}},{key:"_createHeader",value:function(n){var o=n.column,i=n.index,a=this.props,s=a.headerClassName,u=a.headerStyle,c=a.onHeaderClick,f=a.sort,h=a.sortBy,p=a.sortDirection,S=o.props,_=S.columnData,y=S.dataKey,C=S.defaultSortDirection,v=S.disableSort,g=S.headerRenderer,b=S.id,T=S.label,O=!v&&f,k=Jr("ReactVirtualized__Table__headerColumn",s,o.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:O}),w=this._getFlexStyleForColumn(o,ji({},u,{},o.props.headerStyle)),E=g({columnData:_,dataKey:y,disableSort:v,label:T,sortBy:h,sortDirection:p}),P,z,M,F,H;if(O||c){var G=h!==y,ue=G?C:p===$n.DESC?$n.ASC:$n.DESC,se=function(ie){O&&f({defaultSortDirection:C,event:ie,sortBy:y,sortDirection:ue}),c&&c({columnData:_,dataKey:y,event:ie})},ge=function(ie){(ie.key==="Enter"||ie.key===" ")&&se(ie)};H=o.props["aria-label"]||T||y,F="none",M=0,P=se,z=ge}return h===y&&(F=p===$n.ASC?"ascending":"descending"),L.createElement("div",{"aria-label":H,"aria-sort":F,className:k,id:b,key:"Header-Col"+i,onClick:P,onKeyDown:z,role:"columnheader",style:w,tabIndex:M},E)}},{key:"_createRow",value:function(n){var o=this,i=n.rowIndex,a=n.isScrolling,s=n.key,u=n.parent,c=n.style,f=this.props,h=f.children,p=f.onRowClick,S=f.onRowDoubleClick,_=f.onRowRightClick,y=f.onRowMouseOver,C=f.onRowMouseOut,v=f.rowClassName,g=f.rowGetter,b=f.rowRenderer,T=f.rowStyle,O=this.state.scrollbarWidth,k=typeof v=="function"?v({index:i}):v,w=typeof T=="function"?T({index:i}):T,E=g({index:i}),P=L.Children.toArray(h).map(function(F,H){return o._createColumn({column:F,columnIndex:H,isScrolling:a,parent:u,rowData:E,rowIndex:i,scrollbarWidth:O})}),z=Jr("ReactVirtualized__Table__row",k),M=ji({},c,{height:this._getRowHeight(i),overflow:"hidden",paddingRight:O},w);return b({className:z,columns:P,index:i,isScrolling:a,key:s,onRowClick:p,onRowDoubleClick:S,onRowRightClick:_,onRowMouseOver:y,onRowMouseOut:C,rowData:E,style:M})}},{key:"_getFlexStyleForColumn",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i="".concat(n.props.flexGrow," ").concat(n.props.flexShrink," ").concat(n.props.width,"px"),a=ji({},o,{flex:i,msFlex:i,WebkitFlex:i});return n.props.maxWidth&&(a.maxWidth=n.props.maxWidth),n.props.minWidth&&(a.minWidth=n.props.minWidth),a}},{key:"_getHeaderColumns",value:function(){var n=this,o=this.props,i=o.children,a=o.disableHeader,s=a?[]:L.Children.toArray(i);return s.map(function(u,c){return n._createHeader({column:u,index:c})})}},{key:"_getRowHeight",value:function(n){var o=this.props.rowHeight;return typeof o=="function"?o({index:n}):o}},{key:"_onScroll",value:function(n){var o=n.clientHeight,i=n.scrollHeight,a=n.scrollTop,s=this.props.onScroll;s({clientHeight:o,scrollHeight:i,scrollTop:a})}},{key:"_onSectionRendered",value:function(n){var o=n.rowOverscanStartIndex,i=n.rowOverscanStopIndex,a=n.rowStartIndex,s=n.rowStopIndex,u=this.props.onRowsRendered;u({overscanStartIndex:o,overscanStopIndex:i,startIndex:a,stopIndex:s})}},{key:"_setRef",value:function(n){this.Grid=n}},{key:"_setScrollbarWidth",value:function(){var n=this.getScrollbarWidth();this.setState({scrollbarWidth:n})}}]),t}(L.PureComponent);$(Cg,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:fg,overscanRowCount:10,rowRenderer:wg,headerRowRenderer:_g,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}});Cg.propTypes={};var So=[],zl=null,Xo=null;function QR(){Xo&&(Xo=null,document.body&&zl!=null&&(document.body.style.pointerEvents=zl),zl=null)}function _5(){QR(),So.forEach(function(e){return e.__resetIsScrolling()})}function S5(){Xo&&Ta(Xo);var e=0;So.forEach(function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)}),Xo=cg(_5,e)}function XR(e){e.currentTarget===window&&zl==null&&document.body&&(zl=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),S5(),So.forEach(function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()})}function $1(e,t){So.some(function(r){return r.props.scrollElement===t})||t.addEventListener("scroll",XR),So.push(e)}function D1(e,t){So=So.filter(function(r){return r!==e}),So.length||(t.removeEventListener("scroll",XR),Xo&&(Ta(Xo),QR()))}var Rg=function(t){return t===window},gl=function(t){return t.getBoundingClientRect()};function F1(e,t){if(e)if(Rg(e)){var r=window,n=r.innerHeight,o=r.innerWidth;return{height:typeof n=="number"?n:0,width:typeof o=="number"?o:0}}else return gl(e);else return{height:t.serverHeight,width:t.serverWidth}}function b5(e,t){if(Rg(t)&&document.documentElement){var r=document.documentElement,n=gl(e),o=gl(r);return{top:n.top-o.top,left:n.left-o.left}}else{var i=JR(t),a=gl(e),s=gl(t);return{top:a.top+i.top-s.top,left:a.left+i.left-s.left}}}function JR(e){return Rg(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}var W1,B1;function U1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function w5(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:this.props.scrollElement,o=this.props.onResize,i=this.state,a=i.height,s=i.width,u=this._child||ms.findDOMNode(this);if(u instanceof Element&&n){var c=b5(u,n);this._positionFromTop=c.top,this._positionFromLeft=c.left}var f=F1(n,this.props);(a!==f.height||s!==f.width)&&(this.setState({height:f.height,width:f.width}),o({height:f.height,width:f.width}))}},{key:"componentDidMount",value:function(){var n=this.props.scrollElement;this._detectElementResize=NR(),this.updatePosition(n),n&&($1(this,n),this._registerResizeListener(n)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(n,o){var i=this.props.scrollElement,a=n.scrollElement;a!==i&&a!=null&&i!=null&&(this.updatePosition(i),D1(this,a),$1(this,i),this._unregisterResizeListener(a),this._registerResizeListener(i))}},{key:"componentWillUnmount",value:function(){var n=this.props.scrollElement;n&&(D1(this,n),this._unregisterResizeListener(n)),this._isMounted=!1}},{key:"render",value:function(){var n=this.props.children,o=this.state,i=o.isScrolling,a=o.scrollTop,s=o.scrollLeft,u=o.height,c=o.width;return n({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:u,isScrolling:i,scrollLeft:s,scrollTop:a,width:c})}}]),t}(L.PureComponent),$(W1,"propTypes",null),B1);$(eT,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:x5,scrollElement:ZR(),serverHeight:0,serverWidth:0});const C5=Object.freeze(Object.defineProperty({__proto__:null,ArrowKeyStepper:dg,AutoSizer:$R,CellMeasurer:DR,CellMeasurerCache:P$,Collection:hg,Column:xg,ColumnSizer:FR,Grid:Nn,InfiniteLoader:pg,List:BR,Masonry:yg,MultiGrid:Wf,ScrollSync:VR,SortDirection:$n,SortIndicator:Sg,Table:Cg,WindowScroller:eT,accessibilityOverscanIndicesGetter:fg,createMasonryCellPositioner:g5,createTableMultiSort:y5,defaultCellRangeRenderer:LR,defaultOverscanIndicesGetter:MR,defaultTableCellDataGetter:KR,defaultTableCellRenderer:YR,defaultTableHeaderRenderer:bg,defaultTableHeaderRowRenderer:_g,defaultTableRowRenderer:wg},Symbol.toStringTag,{value:"Module"})),R5=ka(C5);function jn(e,t,r){return t<=e&&e<=r}function Bf(e){if(e===void 0)return{};if(e===Object(e))return e;throw TypeError("Could not convert argument to dictionary")}function T5(e){for(var t=String(e),r=t.length,n=0,o=[];n57343)o.push(i);else if(56320<=i&&i<=57343)o.push(65533);else if(55296<=i&&i<=56319)if(n===r-1)o.push(65533);else{var a=e.charCodeAt(n+1);if(56320<=a&&a<=57343){var s=i&1023,u=a&1023;o.push(65536+(s<<10)+u),n+=1}else o.push(65533)}n+=1}return o}function E5(e){for(var t="",r=0;r>10)+55296,(n&1023)+56320))}return t}var Rc=-1;function Tg(e){this.tokens=[].slice.call(e)}Tg.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():Rc},prepend:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.unshift(t.pop());else this.tokens.unshift(e)},push:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.push(t.shift());else this.tokens.push(e)}};var Oa=-1;function Gh(e,t){if(e)throw TypeError("Decoder error");return t||65533}var Tc="utf-8";function Ec(e,t){if(!(this instanceof Ec))return new Ec(e,t);if(e=e!==void 0?String(e).toLowerCase():Tc,e!==Tc)throw new Error("Encoding not supported. Only utf-8 is supported");t=Bf(t),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!t.fatal,this._ignoreBOM=!!t.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}Ec.prototype={decode:function(t,r){var n;typeof t=="object"&&t instanceof ArrayBuffer?n=new Uint8Array(t):typeof t=="object"&&"buffer"in t&&t.buffer instanceof ArrayBuffer?n=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):n=new Uint8Array(0),r=Bf(r),this._streaming||(this._decoder=new O5({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!r.stream;for(var o=new Tg(n),i=[],a;!o.endOfStream()&&(a=this._decoder.handler(o,o.read()),a!==Oa);)a!==null&&(Array.isArray(a)?i.push.apply(i,a):i.push(a));if(!this._streaming){do{if(a=this._decoder.handler(o,o.read()),a===Oa)break;a!==null&&(Array.isArray(a)?i.push.apply(i,a):i.push(a))}while(!o.endOfStream());this._decoder=null}return i.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(i[0]===65279?(this._BOMseen=!0,i.shift()):this._BOMseen=!0),E5(i)}};function Oc(e,t){if(!(this instanceof Oc))return new Oc(e,t);if(e=e!==void 0?String(e).toLowerCase():Tc,e!==Tc)throw new Error("Encoding not supported. Only utf-8 is supported");t=Bf(t),this._streaming=!1,this._encoder=null,this._options={fatal:!!t.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}Oc.prototype={encode:function(t,r){t=t?String(t):"",r=Bf(r),this._streaming||(this._encoder=new k5(this._options)),this._streaming=!!r.stream;for(var n=[],o=new Tg(T5(t)),i;!o.endOfStream()&&(i=this._encoder.handler(o,o.read()),i!==Oa);)Array.isArray(i)?n.push.apply(n,i):n.push(i);if(!this._streaming){for(;i=this._encoder.handler(o,o.read()),i!==Oa;)Array.isArray(i)?n.push.apply(n,i):n.push(i);this._encoder=null}return new Uint8Array(n)}};function O5(e){var t=e.fatal,r=0,n=0,o=0,i=128,a=191;this.handler=function(s,u){if(u===Rc&&o!==0)return o=0,Gh(t);if(u===Rc)return Oa;if(o===0){if(jn(u,0,127))return u;if(jn(u,194,223))o=1,r=u-192;else if(jn(u,224,239))u===224&&(i=160),u===237&&(a=159),o=2,r=u-224;else if(jn(u,240,244))u===240&&(i=144),u===244&&(a=143),o=3,r=u-240;else return Gh(t);return r=r<<6*o,null}if(!jn(u,i,a))return r=o=n=0,i=128,a=191,s.prepend(u),Gh(t);if(i=128,a=191,n+=1,r+=u-128<<6*(o-n),n!==o)return null;var c=r;return r=o=n=0,c}}function k5(e){e.fatal,this.handler=function(t,r){if(r===Rc)return Oa;if(jn(r,0,127))return r;var n,o;jn(r,128,2047)?(n=1,o=192):jn(r,2048,65535)?(n=2,o=224):jn(r,65536,1114111)&&(n=3,o=240);for(var i=[(r>>6*n)+o];n>0;){var a=r>>6*(n-1);i.push(128|a&63),n-=1}return i}}const P5=Object.freeze(Object.defineProperty({__proto__:null,TextDecoder:Ec,TextEncoder:Oc},Symbol.toStringTag,{value:"Module"})),I5=ka(P5);var q1={},H1;function z5(){return H1||(H1=1,function(e){if(e.fetch)return;var t={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(t.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=function(w){return w&&DataView.prototype.isPrototypeOf(w)},o=ArrayBuffer.isView||function(w){return w&&r.indexOf(Object.prototype.toString.call(w))>-1};function i(w){if(typeof w!="string"&&(w=String(w)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(w))throw new TypeError("Invalid character in header field name");return w.toLowerCase()}function a(w){return typeof w!="string"&&(w=String(w)),w}function s(w){var E={next:function(){var P=w.shift();return{done:P===void 0,value:P}}};return t.iterable&&(E[Symbol.iterator]=function(){return E}),E}function u(w){this.map={},w instanceof u?w.forEach(function(E,P){this.append(P,E)},this):Array.isArray(w)?w.forEach(function(E){this.append(E[0],E[1])},this):w&&Object.getOwnPropertyNames(w).forEach(function(E){this.append(E,w[E])},this)}u.prototype.append=function(w,E){w=i(w),E=a(E);var P=this.map[w];this.map[w]=P?P+","+E:E},u.prototype.delete=function(w){delete this.map[i(w)]},u.prototype.get=function(w){return w=i(w),this.has(w)?this.map[w]:null},u.prototype.has=function(w){return this.map.hasOwnProperty(i(w))},u.prototype.set=function(w,E){this.map[i(w)]=a(E)},u.prototype.forEach=function(w,E){for(var P in this.map)this.map.hasOwnProperty(P)&&w.call(E,this.map[P],P,this)},u.prototype.keys=function(){var w=[];return this.forEach(function(E,P){w.push(P)}),s(w)},u.prototype.values=function(){var w=[];return this.forEach(function(E){w.push(E)}),s(w)},u.prototype.entries=function(){var w=[];return this.forEach(function(E,P){w.push([P,E])}),s(w)},t.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);function c(w){if(w.bodyUsed)return Promise.reject(new TypeError("Already read"));w.bodyUsed=!0}function f(w){return new Promise(function(E,P){w.onload=function(){E(w.result)},w.onerror=function(){P(w.error)}})}function h(w){var E=new FileReader,P=f(E);return E.readAsArrayBuffer(w),P}function p(w){var E=new FileReader,P=f(E);return E.readAsText(w),P}function S(w){for(var E=new Uint8Array(w),P=new Array(E.length),z=0;z-1?E:w}function g(w,E){E=E||{};var P=E.body;if(w instanceof g){if(w.bodyUsed)throw new TypeError("Already read");this.url=w.url,this.credentials=w.credentials,E.headers||(this.headers=new u(w.headers)),this.method=w.method,this.mode=w.mode,!P&&w._bodyInit!=null&&(P=w._bodyInit,w.bodyUsed=!0)}else this.url=String(w);if(this.credentials=E.credentials||this.credentials||"omit",(E.headers||!this.headers)&&(this.headers=new u(E.headers)),this.method=v(E.method||this.method||"GET"),this.mode=E.mode||this.mode||null,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(P)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})};function b(w){var E=new FormData;return w.trim().split("&").forEach(function(P){if(P){var z=P.split("="),M=z.shift().replace(/\+/g," "),F=z.join("=").replace(/\+/g," ");E.append(decodeURIComponent(M),decodeURIComponent(F))}}),E}function T(w){var E=new u,P=w.replace(/\r?\n[\t ]+/g," ");return P.split(/\r?\n/).forEach(function(z){var M=z.split(":"),F=M.shift().trim();if(F){var H=M.join(":").trim();E.append(F,H)}}),E}y.call(g.prototype);function O(w,E){E||(E={}),this.type="default",this.status=E.status===void 0?200:E.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in E?E.statusText:"OK",this.headers=new u(E.headers),this.url=E.url||"",this._initBody(w)}y.call(O.prototype),O.prototype.clone=function(){return new O(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},O.error=function(){var w=new O(null,{status:0,statusText:""});return w.type="error",w};var k=[301,302,303,307,308];O.redirect=function(w,E){if(k.indexOf(E)===-1)throw new RangeError("Invalid status code");return new O(null,{status:E,headers:{location:w}})},e.Headers=u,e.Request=g,e.Response=O,e.fetch=function(w,E){return new Promise(function(P,z){var M=new g(w,E),F=new XMLHttpRequest;F.onload=function(){var H={status:F.status,statusText:F.statusText,headers:T(F.getAllResponseHeaders()||"")};H.url="responseURL"in F?F.responseURL:H.headers.get("X-Request-URL");var G="response"in F?F.response:F.responseText;P(new O(G,H))},F.onerror=function(){z(new TypeError("Network request failed"))},F.ontimeout=function(){z(new TypeError("Network request failed"))},F.open(M.method,M.url,!0),M.credentials==="include"?F.withCredentials=!0:M.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&t.blob&&(F.responseType="blob"),M.headers.forEach(function(H,G){F.setRequestHeader(G,H)}),F.send(typeof M._bodyInit>"u"?null:M._bodyInit)})},e.fetch.polyfill=!0}(typeof self<"u"?self:Bo)),q1}function G1(e,t){for(var r=0;r0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");qg(this)}},En(e,[{key:"closed",get:function(){return Go(this)===!1?Promise.reject(fu("closed")):this._closedPromise}}]),e}(),iF=function(){function e(r){if(!In(r))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(Li(r._readableStreamController)===!1)throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(lo(r))throw new TypeError("This stream has already been locked for exclusive reading by another reader");ET(this,r),this._readIntoRequests=[]}var t=e.prototype;return t.cancel=function(n){return _l(this)?this._ownerReadableStream===void 0?Promise.reject(Lc("cancel")):OT(this,n):Promise.reject(du("cancel"))},t.read=function(n){return _l(this)?this._ownerReadableStream===void 0?Promise.reject(Lc("read from")):ArrayBuffer.isView(n)?Ic(n.buffer)===!0?Promise.reject(new TypeError("Cannot read into a view onto a detached ArrayBuffer")):n.byteLength===0?Promise.reject(new TypeError("view must have non-zero byteLength")):aF(this,n,!0):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(du("read"))},t.releaseLock=function(){if(!_l(this))throw du("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");qg(this)}},En(e,[{key:"closed",get:function(){return _l(this)?this._closedPromise:Promise.reject(du("closed"))}}]),e}();function _l(e){return!(!Da(e)||!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests"))}function Go(e){return!(!Da(e)||!Object.prototype.hasOwnProperty.call(e,"_readRequests"))}function ET(e,t){e._ownerReadableStream=t,t._reader=e,t._state==="readable"?SF(e):t._state==="closed"?wF(e):(bF(e,t._storedError),e._closedPromise.catch(function(){}))}function OT(e,t){var r=e._ownerReadableStream;return Jo(r,t)}function qg(e){e._ownerReadableStream._state==="readable"?BT(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):xF(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._closedPromise.catch(function(){}),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function aF(e,t,r){r===void 0&&(r=!1);var n=e._ownerReadableStream;return n._disturbed=!0,n._state==="errored"?Promise.reject(n._storedError):cF(n._readableStreamController,t,r)}function Hg(e,t){t===void 0&&(t=!1);var r=e._ownerReadableStream;return r._disturbed=!0,r._state==="closed"?Promise.resolve(Ro(void 0,!0,t)):r._state==="errored"?Promise.reject(r._storedError):r._readableStreamController[$g](t)}var kT=function(){function e(){throw new TypeError}var t=e.prototype;return t.close=function(){if(cu(this)===!1)throw hu("close");if(Mc(this)===!1)throw new TypeError("The stream is not in a state that permits close");jc(this)},t.enqueue=function(n){if(cu(this)===!1)throw hu("enqueue");if(Mc(this)===!1)throw new TypeError("The stream is not in a state that permits enqueue");return Ac(this,n)},t.error=function(n){if(cu(this)===!1)throw hu("error");To(this,n)},t[Ng]=function(r){Fa(this);var n=this._cancelAlgorithm(r);return zc(this),n},t[$g]=function(r){var n=this._controlledReadableStream;if(this._queue.length>0){var o=VD(this);return this._closeRequested===!0&&this._queue.length===0?(zc(this),Es(n)):us(this),Promise.resolve(Ro(o,!1,r))}var i=xT(n,r);return us(this),i},En(e,[{key:"desiredSize",get:function(){if(cu(this)===!1)throw hu("desiredSize");return Gg(this)}}]),e}();function cu(e){return!(!Da(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream"))}function us(e){var t=PT(e);if(t!==!1){if(e._pulling===!0){e._pullAgain=!0;return}e._pulling=!0;var r=e._pullAlgorithm();r.then(function(){if(e._pulling=!1,e._pullAgain===!0)return e._pullAgain=!1,us(e)},function(n){To(e,n)}).catch(An)}}function PT(e){var t=e._controlledReadableStream;if(Mc(e)===!1||e._started===!1)return!1;if(lo(t)===!0&&Vf(t)>0)return!0;var r=Gg(e);return r>0}function zc(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function jc(e){var t=e._controlledReadableStream;e._closeRequested=!0,e._queue.length===0&&(zc(e),Es(t))}function Ac(e,t){var r=e._controlledReadableStream;if(lo(r)===!0&&Vf(r)>0)Bg(r,t,!1);else{var n;try{n=e._strategySizeAlgorithm(t)}catch(o){throw To(e,o),o}try{KD(e,t,n)}catch(o){throw To(e,o),o}}us(e)}function To(e,t){var r=e._controlledReadableStream;r._state==="readable"&&(Fa(e),zc(e),CT(r,t))}function Gg(e){var t=e._controlledReadableStream,r=t._state;return r==="errored"?null:r==="closed"?0:e._strategyHWM-e._queueTotalSize}function lF(e){return PT(e)!==!0}function Mc(e){var t=e._controlledReadableStream._state;return e._closeRequested===!1&&t==="readable"}function IT(e,t,r,n,o,i,a){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,Fa(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=a,t._strategyHWM=i,t._pullAlgorithm=n,t._cancelAlgorithm=o,e._readableStreamController=t;var s=r();Promise.resolve(s).then(function(){t._started=!0,us(t)},function(u){To(t,u)}).catch(An)}function sF(e,t,r,n){var o=Object.create(kT.prototype);function i(){return wT(t,"start",[o])}var a=Pc(t,"pull",0,[o]),s=Pc(t,"cancel",1,[]);IT(e,o,i,a,s,r,n)}var uF=function(){function e(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly")}var t=e.prototype;return t.respond=function(n){if(Qh(this)===!1)throw Xh("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(Ic(this._view.buffer)===!0)throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");vF(this._associatedReadableByteStreamController,n)},t.respondWithNewView=function(n){if(Qh(this)===!1)throw Xh("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(n))throw new TypeError("You can only respond with array buffer views");if(Ic(n.buffer)===!0)throw new TypeError("The supplied view's buffer has been detached and so cannot be used as a response");gF(this._associatedReadableByteStreamController,n)},En(e,[{key:"view",get:function(){if(Qh(this)===!1)throw Xh("view");return this._view}}]),e}(),zT=function(){function e(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly")}var t=e.prototype;return t.close=function(){if(Li(this)===!1)throw ul("close");if(this._closeRequested===!0)throw new TypeError("The stream has already been closed; do not close it again!");var n=this._controlledReadableByteStream._state;if(n!=="readable")throw new TypeError("The stream (in "+n+" state) is not in the readable state and cannot be closed");pF(this)},t.enqueue=function(n){if(Li(this)===!1)throw ul("enqueue");if(this._closeRequested===!0)throw new TypeError("stream is closed or draining");var o=this._controlledReadableByteStream._state;if(o!=="readable")throw new TypeError("The stream (in "+o+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(n))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");if(Ic(n.buffer)===!0)throw new TypeError("Cannot enqueue a view onto a detached ArrayBuffer");mF(this,n)},t.error=function(n){if(Li(this)===!1)throw ul("error");Os(this,n)},t[Ng]=function(r){if(this._pendingPullIntos.length>0){var n=this._pendingPullIntos[0];n.bytesFilled=0}Fa(this);var o=this._cancelAlgorithm(r);return Kf(this),o},t[$g]=function(r){var n=this._controlledReadableByteStream;if(this._queueTotalSize>0){var o=this._queue.shift();this._queueTotalSize-=o.byteLength,NT(this);var i;try{i=new Uint8Array(o.buffer,o.byteOffset,o.byteLength)}catch(f){return Promise.reject(f)}return Promise.resolve(Ro(i,!1,r))}var a=this._autoAllocateChunkSize;if(a!==void 0){var s;try{s=new ArrayBuffer(a)}catch(f){return Promise.reject(f)}var u={buffer:s,byteOffset:0,byteLength:a,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(u)}var c=xT(n,r);return pi(this),c},En(e,[{key:"byobRequest",get:function(){if(Li(this)===!1)throw ul("byobRequest");if(this._byobRequest===void 0&&this._pendingPullIntos.length>0){var n=this._pendingPullIntos[0],o=new Uint8Array(n.buffer,n.byteOffset+n.bytesFilled,n.byteLength-n.bytesFilled),i=Object.create(uF.prototype);_F(i,this,o),this._byobRequest=i}return this._byobRequest}},{key:"desiredSize",get:function(){if(Li(this)===!1)throw ul("desiredSize");return FT(this)}}]),e}();function Li(e){return!(!Da(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream"))}function Qh(e){return!(!Da(e)||!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController"))}function pi(e){var t=hF(e);if(t!==!1){if(e._pulling===!0){e._pullAgain=!0;return}e._pulling=!0;var r=e._pullAlgorithm();r.then(function(){e._pulling=!1,e._pullAgain===!0&&(e._pullAgain=!1,pi(e))},function(n){Os(e,n)}).catch(An)}}function jT(e){Kg(e),e._pendingPullIntos=[]}function Vg(e,t){var r=!1;e._state==="closed"&&(r=!0);var n=AT(t);t.readerType==="default"?Bg(e,n,r):nF(e,n,r)}function AT(e){var t=e.bytesFilled,r=e.elementSize;return new e.ctor(e.buffer,e.byteOffset,t/r)}function $u(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function MT(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,o=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),i=t.bytesFilled+o,a=i-i%r,s=o,u=!1;a>n&&(s=a-t.bytesFilled,u=!0);for(var c=e._queue;s>0;){var f=c[0],h=Math.min(s,f.byteLength),p=t.byteOffset+t.bytesFilled;UD(t.buffer,p,f.buffer,f.byteOffset,h),f.byteLength===h?c.shift():(f.byteOffset+=h,f.byteLength-=h),e._queueTotalSize-=h,LT(e,h,t),s-=h}return u}function LT(e,t,r){Kg(e),r.bytesFilled+=t}function NT(e){e._queueTotalSize===0&&e._closeRequested===!0?(Kf(e),Es(e._controlledReadableByteStream)):pi(e)}function Kg(e){e._byobRequest!==void 0&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function $T(e){for(;e._pendingPullIntos.length>0;){if(e._queueTotalSize===0)return;var t=e._pendingPullIntos[0];MT(e,t)===!0&&(Yg(e),Vg(e._controlledReadableByteStream,t))}}function cF(e,t,r){var n=e._controlledReadableByteStream,o=1;t.constructor!==DataView&&(o=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,a=Gf(t.buffer),s={buffer:a,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:o,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(s),tb(n,r);if(n._state==="closed"){var u=new t.constructor(s.buffer,s.byteOffset,0);return Promise.resolve(Ro(u,!0,r))}if(e._queueTotalSize>0){if(MT(e,s)===!0){var c=AT(s);return NT(e),Promise.resolve(Ro(c,!1,r))}if(e._closeRequested===!0){var f=new TypeError("Insufficient bytes to fill elements in the given buffer");return Os(e,f),Promise.reject(f)}}e._pendingPullIntos.push(s);var h=tb(n,r);return pi(e),h}function fF(e,t){t.buffer=Gf(t.buffer);var r=e._controlledReadableByteStream;if(Ug(r)===!0)for(;RT(r)>0;){var n=Yg(e);Vg(r,n)}}function dF(e,t,r){if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range");if(LT(e,t,r),!(r.bytesFilled0){var o=r.byteOffset+r.bytesFilled,i=r.buffer.slice(o-n,o);$u(e,i,0,i.byteLength)}r.buffer=Gf(r.buffer),r.bytesFilled-=n,Vg(e._controlledReadableByteStream,r),$T(e)}}function DT(e,t){var r=e._pendingPullIntos[0],n=e._controlledReadableByteStream;if(n._state==="closed"){if(t!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");fF(e,r)}else dF(e,t,r);pi(e)}function Yg(e){var t=e._pendingPullIntos.shift();return Kg(e),t}function hF(e){var t=e._controlledReadableByteStream;if(t._state!=="readable"||e._closeRequested===!0||e._started===!1)return!1;if(TT(t)===!0&&Vf(t)>0||Ug(t)===!0&&RT(t)>0)return!0;var r=FT(e);return r>0}function Kf(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function pF(e){var t=e._controlledReadableByteStream;if(e._queueTotalSize>0){e._closeRequested=!0;return}if(e._pendingPullIntos.length>0){var r=e._pendingPullIntos[0];if(r.bytesFilled>0){var n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Os(e,n),n}}Kf(e),Es(t)}function mF(e,t){var r=e._controlledReadableByteStream,n=t.buffer,o=t.byteOffset,i=t.byteLength,a=Gf(n);if(TT(r)===!0)if(Vf(r)===0)$u(e,a,o,i);else{var s=new Uint8Array(a,o,i);Bg(r,s,!1)}else Ug(r)===!0?($u(e,a,o,i),$T(e)):$u(e,a,o,i);pi(e)}function Os(e,t){var r=e._controlledReadableByteStream;r._state==="readable"&&(jT(e),Fa(e),Kf(e),CT(r,t))}function FT(e){var t=e._controlledReadableByteStream,r=t._state;return r==="errored"?null:r==="closed"?0:e._strategyHWM-e._queueTotalSize}function vF(e,t){if(t=Number(t),qD(t)===!1)throw new RangeError("bytesWritten must be a finite");DT(e,t)}function gF(e,t){var r=e._pendingPullIntos[0];if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,DT(e,t.byteLength)}function WT(e,t,r,n,o,i,a){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,jT(t),t._queue=t._queueTotalSize=void 0,Fa(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=mm(i),t._pullAlgorithm=n,t._cancelAlgorithm=o,t._autoAllocateChunkSize=a,t._pendingPullIntos=[],e._readableStreamController=t;var s=r();Promise.resolve(s).then(function(){t._started=!0,pi(t)},function(u){Os(t,u)}).catch(An)}function yF(e,t,r){var n=Object.create(zT.prototype);function o(){return wT(t,"start",[n])}var i=Pc(t,"pull",0,[n]),a=Pc(t,"cancel",1,[]),s=t.autoAllocateChunkSize;if(s!==void 0&&(s=Number(s),j5(s)===!1||s<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");WT(e,n,o,i,a,r,s)}function _F(e,t,r){e._associatedReadableByteStreamController=t,e._view=r}function rb(e){if(typeof e!="object"||e===null)return!1;var t=Object.getOwnPropertyDescriptor(AbortSignal.prototype,"aborted").get;try{return t.call(e),!0}catch{return!1}}function Ai(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function Lc(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function fu(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}function SF(e){e._closedPromise=new Promise(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r})}function bF(e,t){e._closedPromise=Promise.reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function wF(e){e._closedPromise=Promise.resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function BT(e,t){e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function xF(e,t){e._closedPromise=Promise.reject(t)}function CF(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function du(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function hu(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function Xh(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function ul(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}var RF=jo.ReadableStream,TF=Fe.createDataProperty,EF=function(){function e(r){var n=r.highWaterMark;TF(this,"highWaterMark",n)}var t=e.prototype;return t.size=function(n){return n.byteLength},e}(),OF=Fe.createDataProperty,kF=function(){function e(r){var n=r.highWaterMark;OF(this,"highWaterMark",n)}var t=e.prototype;return t.size=function(){return 1},e}();nT("streams:transform-stream:verbose");var PF=Fe.InvokeOrNoop,IF=Fe.CreateAlgorithmFromUnderlyingMethod,zF=Fe.PromiseCall,UT=Fe.typeIsObject,nb=Fe.ValidateAndNormalizeHighWaterMark;Fe.IsNonNegativeNumber;var ob=Fe.MakeSizeAlgorithmFromSizeFunction,jF=jo.CreateReadableStream,qT=jo.ReadableStreamDefaultControllerClose,AF=jo.ReadableStreamDefaultControllerEnqueue,MF=jo.ReadableStreamDefaultControllerError,LF=jo.ReadableStreamDefaultControllerGetDesiredSize,NF=jo.ReadableStreamDefaultControllerHasBackpressure,Qg=jo.ReadableStreamDefaultControllerCanCloseOrEnqueue,$F=nn.CreateWritableStream,DF=nn.WritableStreamDefaultControllerErrorIfNeeded,HT=function(){function e(t,r,n){t===void 0&&(t={}),r===void 0&&(r={}),n===void 0&&(n={});var o=r.size,i=r.highWaterMark,a=n.size,s=n.highWaterMark,u=t.writableType;if(u!==void 0)throw new RangeError("Invalid writable type specified");var c=ob(o);i===void 0&&(i=1),i=nb(i);var f=t.readableType;if(f!==void 0)throw new RangeError("Invalid readable type specified");var h=ob(a);s===void 0&&(s=0),s=nb(s);var p,S=new Promise(function(y){p=y});GT(this,S,i,c,s,h),WF(this,t);var _=PF(t,"start",[this._transformStreamController]);p(_)}return En(e,[{key:"readable",get:function(){if(ib(this)===!1)throw lb("readable");return this._readable}},{key:"writable",get:function(){if(ib(this)===!1)throw lb("writable");return this._writable}}]),e}();function FF(e,t,r,n,o,i,a){n===void 0&&(n=1),o===void 0&&(o=function(){return 1}),i===void 0&&(i=0),a===void 0&&(a=function(){return 1});var s=Object.create(HT.prototype),u,c=new Promise(function(p){u=p});GT(s,c,n,o,i,a);var f=Object.create(VT.prototype);KT(s,f,t,r);var h=e();return u(h),s}function GT(e,t,r,n,o,i){function a(){return t}function s(p){return qF(e,p)}function u(p){return HF(e,p)}function c(){return GF(e)}e._writable=$F(a,s,c,u,r,n);function f(){return VF(e)}function h(p){return Qf(e,p),Promise.resolve()}e._readable=jF(a,f,h,o,i),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Xf(e,!0),e._transformStreamController=void 0}function ib(e){return!(!UT(e)||!Object.prototype.hasOwnProperty.call(e,"_transformStreamController"))}function Yf(e,t){MF(e._readable._readableStreamController,t),Qf(e,t)}function Qf(e,t){YT(e._transformStreamController),DF(e._writable._writableStreamController,t),e._backpressure===!0&&Xf(e,!1)}function Xf(e,t){e._backpressureChangePromise!==void 0&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=new Promise(function(r){e._backpressureChangePromise_resolve=r}),e._backpressure=t}var VT=function(){function e(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly")}var t=e.prototype;return t.enqueue=function(n){if(pu(this)===!1)throw mu("enqueue");QT(this,n)},t.error=function(n){if(pu(this)===!1)throw mu("error");BF(this,n)},t.terminate=function(){if(pu(this)===!1)throw mu("terminate");UF(this)},En(e,[{key:"desiredSize",get:function(){if(pu(this)===!1)throw mu("desiredSize");var n=this._controlledTransformStream._readable._readableStreamController;return LF(n)}}]),e}();function pu(e){return!(!UT(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream"))}function KT(e,t,r,n){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=r,t._flushAlgorithm=n}function WF(e,t){var r=Object.create(VT.prototype),n=function(s){try{return QT(r,s),Promise.resolve()}catch(u){return Promise.reject(u)}},o=t.transform;if(o!==void 0){if(typeof o!="function")throw new TypeError("transform is not a method");n=function(s){return zF(o,t,[s,r])}}var i=IF(t,"flush",0,[r]);KT(e,r,n,i)}function YT(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function QT(e,t){var r=e._controlledTransformStream,n=r._readable._readableStreamController;if(Qg(n)===!1)throw new TypeError("Readable side is not in a state that permits enqueue");try{AF(n,t)}catch(i){throw Qf(r,i),r._readable._storedError}var o=NF(n);o!==r._backpressure&&Xf(r,!0)}function BF(e,t){Yf(e._controlledTransformStream,t)}function ab(e,t){var r=e._transformAlgorithm(t);return r.catch(function(n){throw Yf(e._controlledTransformStream,n),n})}function UF(e){var t=e._controlledTransformStream,r=t._readable._readableStreamController;Qg(r)===!0&&qT(r);var n=new TypeError("TransformStream terminated");Qf(t,n)}function qF(e,t){var r=e._transformStreamController;if(e._backpressure===!0){var n=e._backpressureChangePromise;return n.then(function(){var o=e._writable,i=o._state;if(i==="erroring")throw o._storedError;return ab(r,t)})}return ab(r,t)}function HF(e,t){return Yf(e,t),Promise.resolve()}function GF(e){var t=e._readable,r=e._transformStreamController,n=r._flushAlgorithm();return YT(r),n.then(function(){if(t._state==="errored")throw t._storedError;var o=t._readableStreamController;Qg(o)===!0&&qT(o)}).catch(function(o){throw Yf(e,o),t._storedError})}function VF(e){return Xf(e,!1),e._backpressureChangePromise}var KF={CreateTransformStream:FF,TransformStream:HT};function mu(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function lb(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}var YF=KF.TransformStream;const QF=Object.freeze(Object.defineProperty({__proto__:null,ByteLengthQueuingStrategy:EF,CountQueuingStrategy:kF,ReadableStream:RF,TransformStream:YF,WritableStream:BD},Symbol.toStringTag,{value:"Module"})),XF=ka(QF);function JF(e,t){return fetch(e,t).then(r=>({body:r.body,headers:r.headers,ok:r.ok,status:r.status,statusText:r.statusText,url:r.url}))}let ZF=class XT{constructor(t={}){this.h={},t instanceof XT&&t.forEach((r,n)=>this.append(n,r)),Object.getOwnPropertyNames(t).forEach(r=>this.append(r,t[r]))}append(t,r){t=t.toLowerCase(),Array.isArray(this.h[t])||(this.h[t]=[]),this.h[t].push(r)}set(t,r){this.h[t.toLowerCase()]=[r]}has(t){return Array.isArray(this.h[t.toLowerCase()])}get(t){if(t=t.toLowerCase(),Array.isArray(this.h[t]))return this.h[t][0]}getAll(t){return this.h[t.toLowerCase()].concat()}entries(){const t=[];return this.forEach((r,n)=>{t.push([n,r])}),eW(t)}forEach(t,r){Object.getOwnPropertyNames(this.h).forEach(n=>{this.h[n].forEach(o=>t.call(r,o,n,this))},this)}};function eW(e){return{next(){const t=e.shift();return{done:t===void 0,value:t}},[Symbol.iterator](){return this}}}function Jh(){try{return new DOMException("Aborted","AbortError")}catch{const t=new Error("Aborted");return t.name="AbortError",t}}function sb({responseType:e,responseParserFactory:t}){return function(n,o){const i=new XMLHttpRequest,a=t();let s,u=!1;const c=new ReadableStream({start(p){s=p},cancel(){u=!0,i.abort()}}),{method:f="GET",signal:h}=o;if(i.open(f,n),i.responseType=e,i.withCredentials=o.credentials!=="omit",o.headers)for(const p of o.headers.entries())i.setRequestHeader(p[0],p[1]);return new Promise((p,S)=>{if(o.body&&(f==="GET"||f==="HEAD")&&S(new TypeError("Failed to execute 'fetchStream' on 'Window': Request with GET/HEAD method cannot have body")),h)if(h.aborted){S(Jh());return}else h.addEventListener("abort",()=>{i.abort(),s&&s.error(Jh()),S(Jh())},{once:!0});i.onreadystatechange=function(){if(i.readyState===i.HEADERS_RECEIVED)return p({body:c,headers:nW(i.getAllResponseHeaders()),ok:i.status>=200&&i.status<300,status:i.status,statusText:i.statusText,url:rW(i.responseURL,n)})},i.onerror=function(){return S(new TypeError("Network request failed"))},i.ontimeout=function(){S(new TypeError("Network request failed"))},i.onprogress=function(){if(!u){const _=a(i.response);s.enqueue(_)}},i.onload=function(){s.close()},i.send(o.body)})}}function tW(){return typeof Headers<"u"?new Headers:new ZF}function rW(e,t){return e||(t.substring(0,4)!=="http"?location.origin+t:t)}function nW(e){const t=tW();if(e){const r=e.split(`\r +`);for(let n=0;n0){const a=o.substring(0,i),s=o.substring(i+2);t.append(a,s)}}}return t}let Zh=null;function oW(){return Zh||(Zh=iW()),Zh}function iW(){if(typeof Response<"u"&&Response.prototype.hasOwnProperty("body"))return JF;const e="moz-chunked-arraybuffer";return aW(e)?sb({responseType:e,responseParserFactory:function(){return t=>new Uint8Array(t)}}):sb({responseType:"text",responseParserFactory:function(){const t=new TextEncoder;let r=0;return function(n){const o=n.substr(r);return r=n.length,t.encode(o,{stream:!0})}}})}function aW(e){try{const t=new XMLHttpRequest;return t.responseType=e,t.responseType===e}catch{}return!1}function Xg(e,t={}){let r=t.transport;return r||(r=Xg.transportFactory()),r(e,t)}Xg.transportFactory=oW;const lW=Object.freeze(Object.defineProperty({__proto__:null,default:Xg},Symbol.toStringTag,{value:"Module"})),sW=ka(lW);(function(e,t){(function(r,n){e.exports=n()})(typeof self>"u"?Bo:self,function(){return function(r){function n(i){if(o[i])return o[i].exports;var a=o[i]={i,l:!1,exports:{}};return r[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}var o={};return n.m=r,n.c=o,n.d=function(i,a,s){n.o(i,a)||Object.defineProperty(i,a,{configurable:!1,enumerable:!0,get:s})},n.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return n.d(a,"a",a),a},n.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},n.p="./",n(n.s=46)}([function(r){r.exports=L},function(r){function n(i,a){var s=i[1]||"",u=i[3];if(!u)return s;if(a&&typeof btoa=="function"){var c=o(u),f=u.sources.map(function(h){return"/*# sourceURL="+u.sourceRoot+h+" */"});return[s].concat(f).concat([c]).join(` +`)}return[s].join(` +`)}function o(i){var a=btoa(unescape(encodeURIComponent(JSON.stringify(i))));return"/*# "+("sourceMappingURL=data:application/json;charset=utf-8;base64,"+a)+" */"}r.exports=function(i){var a=[];return a.toString=function(){return this.map(function(s){var u=n(s,i);return s[2]?"@media "+s[2]+"{"+u+"}":u}).join("")},a.i=function(s,u){typeof s=="string"&&(s=[[null,s,""]]);for(var c,f={},h=0;h"u"&&(z=P.apply(this,arguments)),z}}(function(){return window&&document&&document.all&&!window.atob}),g=function(P){return document.querySelector(P)},b=function(){var P={};return function(z){if(typeof z=="function")return z();if(typeof P[z]>"u"){var M=g.call(this,z);if(window.HTMLIFrameElement&&M instanceof window.HTMLIFrameElement)try{M=M.contentDocument.head}catch{M=null}P[z]=M}return P[z]}}(),T=null,O=0,k=[],w=o(5);r.exports=function(P,z){if(typeof DEBUG<"u"&&DEBUG&&typeof document!="object")throw new Error("The style-loader cannot be used in a non-browser environment");z=z||{},z.attrs=typeof z.attrs=="object"?z.attrs:{},z.singleton||typeof z.singleton=="boolean"||(z.singleton=v()),z.insertInto||(z.insertInto="head"),z.insertAt||(z.insertAt="bottom");var M=a(P,z);return i(M,z),function(F){for(var H=[],G=0;Gk?-1:k?k-1-F:-1},_=function(b){return b?Array.isArray(b)?b.length===1?Object(i.Range)(b[0],b[0]+1):Object(i.Range)(b[0],b[1]+1):Object(i.Range)(b,b+1):Object(i.Range)(0,0)},y=function(b,T){var O=new Uint8Array(b.length+T.length);return O.set(b,0),O.set(T,b.length),O},C=function(b,T){var O=T?y(T,b):b,k=O.length,w=0,E=0,P=Object(i.List)().withMutations(function(z){for(;EC.b?ge(ue):Z()}}),P),c(z,M)}return f(w,k),T(w,[{key:"render",value:function(){var E=this.props,P=E.resultsCount,z=E.filterActive,M=E.disabled,F="match"+(P===1?"":"es"),H=z?v.active:v.inactive;return Object(h.createElement)("div",{className:"react-lazylog-searchbar "+v.searchBar},Object(h.createElement)("input",{autoComplete:"off",type:"text",name:"search",placeholder:"Search",className:"react-lazylog-searchbar-input "+v.searchInput,onChange:this.handleSearchChange,onKeyPress:this.handleSearchKeyPress,value:this.state.keywords,disabled:M}),Object(h.createElement)("button",{disabled:M,className:"react-lazylog-searchbar-filter "+(z?"active":"inactive")+" "+v.button+" "+H,onClick:this.handleFilterToggle},Object(h.createElement)(y,null)),Object(h.createElement)("span",{className:"react-lazylog-searchbar-matches "+(P?"active":"inactive")+" "+(P?v.active:v.inactive)},P," ",F))}}]),w}(h.Component),Object.defineProperty(g,"propTypes",{enumerable:!0,writable:!0,value:{onSearch:p.func,onClearSearch:p.func,onFilterLinesWithMatches:p.func,resultsCount:p.number,filterActive:p.bool,disabled:p.bool}}),Object.defineProperty(g,"defaultProps",{enumerable:!0,writable:!0,value:{onSearch:function(){},onClearSearch:function(){},onFilterLinesWithMatches:function(){},resultsCount:0,filterActive:!1,disabled:!1}}),b)},function(r,n,o){var i=o(26);typeof i=="string"&&(i=[[r.i,i,""]]);var a,s={hmr:!0};s.transform=a,s.insertInto=void 0,o(2)(i,s),i.locals&&(r.exports=i.locals)},function(r,n,o){n=r.exports=o(1)(!1),n.push([r.i,`._1lq6olr9h2p7MJDCA8c-aL { + height: 15px; + cursor: pointer; +} +`,""]),n.locals={filterLinesIcon:"_1lq6olr9h2p7MJDCA8c-aL"}},function(r,n,o){var i=o(28);typeof i=="string"&&(i=[[r.i,i,""]]);var a,s={hmr:!0};s.transform=a,s.insertInto=void 0,o(2)(i,s),i.locals&&(r.exports=i.locals)},function(r,n,o){n=r.exports=o(1)(!1),n.push([r.i,`._3hsz3SFOTsWryCiRA9Mjtq { + display: flex; + align-items: center; + justify-content: flex-end; + font-family: "Monaco", monospace; + font-size: 12px; + background-color: #222222; + color: #d6d6d6; + padding: 10px; +} + +._2JObJsQyVcVoB1YD6078ip { + background-color: #464646; + color: #d6d6d6; + height: 20px; + min-width: 200px; + font-size: 12px; + padding: 2px 5px; + border: 1px solid #4e4e4e; + margin-right: 10px; +} + +._1NGepveS5BPffleJYyamDk { + color: #d6d6d6; + fill: #d6d6d6; +} + +._3cXa-36GYrmnrGIXEg46cX { + color: #464646; + fill: #464646; +} + +.qZaVIaYTJWY-GaoXJJ2Cp { + background: none; + border: none; + margin-right: 10px; +} +`,""]),n.locals={searchBar:"_3hsz3SFOTsWryCiRA9Mjtq",searchInput:"_2JObJsQyVcVoB1YD6078ip",active:"_1NGepveS5BPffleJYyamDk",inactive:"_3cXa-36GYrmnrGIXEg46cX",button:"qZaVIaYTJWY-GaoXJJ2Cp"}},function(r,n,o){function i(q){if(Array.isArray(q)){for(var V=0,U=Array(q.length);VUe&&(Tr=Jt-Ue,Er=Er.slice(-Ue),Jt=Er.count());var mi=Object(k.g)({follow:ve,scrollToLine:me,previousCount:sr,count:Jt,offset:Tr});B.setState({lines:Er,offset:Tr,count:Jt,scrollToIndex:mi}),(be||Te)&&B.forceSearch()}}),Object.defineProperty(B,"handleEnd",{enumerable:!0,writable:!0,value:function(K){B.encodedLog=K,B.setState({loaded:!0}),B.props.onLoad&&B.props.onLoad()}}),Object.defineProperty(B,"handleError",{enumerable:!0,writable:!0,value:function(K){B.setState({error:K}),B.props.onError&&B.props.onError(K)}}),Object.defineProperty(B,"handleHighlight",{enumerable:!0,writable:!0,value:function(K){var X=B.props.onHighlight,ae=B.state.isFilteringLinesWithMatches;if(K.target.id){var pe=+K.target.id;if(pe){var me=B.state.highlight.first(),ve=B.state.highlight.last(),be=void 0;be=me===pe?null:K.shiftKey&&me?pe>me?[me,pe]:[pe,ve]:pe;var Te=Object(k.e)(be),Me={highlight:Te};ae&&Object.assign(Me,{scrollToIndex:Object(k.g)({scrollToLine:pe})}),B.setState(Me,function(){X&&X(Te),ae&&B.handleFilterLinesWithMatches(!1)})}}}}),Object.defineProperty(B,"handleSearch",{enumerable:!0,writable:!0,value:function(K){var X=B.state,ae=X.resultLines,pe=X.searchKeywords,me=B.props,ve=me.caseInsensitive,be=me.stream,Te=me.websocket,Me=be||Te||K!==pe?ie(K,B.encodedLog,ve):ae;B.setState({resultLines:Me,isSearching:!0,searchKeywords:K},B.filterLinesWithMatches)}}),Object.defineProperty(B,"forceSearch",{enumerable:!0,writable:!0,value:function(){var K=B.state.searchKeywords;K&&K.length>k.b&&B.handleSearch(B.state.searchKeywords)}}),Object.defineProperty(B,"handleClearSearch",{enumerable:!0,writable:!0,value:function(){B.setState({isSearching:!1,searchKeywords:"",resultLines:[],filteredLines:Object(p.List)(),resultLineUniqueIndexes:[],isFilteringLinesWithMatches:B.state.isFilteringLinesWithMatches,scrollToIndex:0})}}),Object.defineProperty(B,"handleFilterLinesWithMatches",{enumerable:!0,writable:!0,value:function(K){B.setState({isFilteringLinesWithMatches:K,filteredLines:Object(p.List)(),resultLineUniqueIndexes:[]},B.filterLinesWithMatches)}}),Object.defineProperty(B,"filterLinesWithMatches",{enumerable:!0,writable:!0,value:function(){var K=B.state,X=K.resultLines,ae=K.lines,pe=K.isFilteringLinesWithMatches;if(0{const n=a=>{t(a)},o=a=>{const s=["Bytes","KB","MB","GB","TB"];if(a===0)return"0 Byte";const u=Math.floor(Math.log(a)/Math.log(1024));return(a/Math.pow(1024,u)).toFixed(2)+" "+s[u]},i=()=>I.jsxs("table",{className:"table-auto w-fit text-left border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none",children:[I.jsx("thead",{children:I.jsxs("tr",{className:"border-b",children:[I.jsx("th",{}),I.jsx("th",{className:"px-4 py-2",children:"Name"}),I.jsx("th",{className:"px-4 py-2",children:"Size"})]})}),I.jsx("tbody",{children:e.map((a,s)=>I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onClick:()=>n(a.name),children:[I.jsx("td",{className:"pl-2",children:a.selected&&I.jsx(Zg,{})}),I.jsx("td",{className:"px-4 py-2",children:a.name}),I.jsx("td",{className:"px-4 py-2",children:o(a.size)})]},s))})]});return I.jsx(I.Fragment,{children:i()})},mW=()=>{const e=lR(),t=Ir(Tn),r=Ir(Y4),[n,o]=L.useState(""),[i,a]=L.useState("Head");L.useEffect(()=>{r.forEach(u=>{if(u.selected){const c=Math.round(u.size/10);let f=u.url;i==="Head"?f=u.url+"?offset=0&limit="+c:i==="Tail"&&(f=u.url+"?offset="+(u.size-c)+"&limit="+c),o(f)}})},[i,r]),L.useEffect(()=>{let u=!1;r.forEach(c=>{c.selected&&(u=!0)}),u||o("")},[r]),L.useEffect(()=>{t!==""&&OR()},[t]);const s=u=>{let c="px-4 py-2 mr-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 hover:bg-gray-500 hover:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700 border";const f="bg-gray-900 text-white";return u===i?c+" "+f:c};return I.jsxs("div",{className:"flex flex-col w-full pt-4 pb-4",children:[I.jsx(pW,{logs:r,onLogSelected:u=>{e(L4(u))}}),n!==""?I.jsxs(I.Fragment,{children:[I.jsxs("div",{className:"flex flex-row pb-2 pt-2",children:[I.jsx("button",{className:s("Head"),onClick:()=>a("Head"),children:"Head"}),I.jsx("button",{className:s("Tail"),onClick:()=>a("Tail"),children:"Tail"}),I.jsx("button",{className:s("All"),onClick:()=>a("All"),children:"All"})]}),I.jsx(uW.LazyLog,{extraLines:1,enableSearch:!0,caseInsensitive:!0,url:n,height:window.innerHeight*.7,width:"auto"})]}):null]})},vW=({nodes:e=[],onNodeSelected:t,...r})=>{const n=i=>{t(i)},o=()=>I.jsxs("table",{className:"table-auto w-fit border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none",children:[I.jsx("thead",{children:I.jsxs("tr",{className:"border-b",children:[I.jsx("th",{}),I.jsx("th",{className:"px-4 py-2",children:"Name"}),I.jsx("th",{className:"px-4 py-2",children:"Version"}),I.jsx("th",{className:"px-4 py-2",children:"Chain"}),I.jsx("th",{className:"px-4 py-2",children:"Block"}),I.jsx("th",{className:"px-4 py-2",children:"Address"})]})}),I.jsx("tbody",{children:e.map((i,a)=>I.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onClick:()=>n(i.id),children:[I.jsx("td",{className:"pl-2",children:i.active&&I.jsx(Zg,{})}),I.jsx("td",{className:"px-4 py-2",children:i.name}),I.jsx("td",{className:"px-4 py-2",children:i.version}),I.jsx("td",{className:"px-4 py-2",children:i.chain}),I.jsx("td",{className:"px-4 py-2",children:i.block}),I.jsx("td",{className:"px-4 py-2",children:i.address})]},a))})]});return I.jsx(I.Fragment,{children:e.length>0&&o()})},gW=()=>{const e=Ir(wR),[t,r]=L.useState(!0);function n(){r(!t)}const o=()=>I.jsx(I.Fragment,{children:e.map(s=>I.jsxs("div",{className:"py2 pr-8",children:[I.jsx("h3",{className:"py-2 text-xl font-semibold",children:"Data base - "+s.path}),I.jsxs("table",{className:"table-auto text-left border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none",children:[I.jsx("thead",{children:I.jsxs("tr",{className:"border-b",children:[I.jsx("th",{className:"px-4 py-2",children:"Name"}),I.jsx("th",{className:"px-4 py-2",children:"Size"}),I.jsx("th",{className:"px-4 py-2",children:"Count"})]})}),I.jsx("tbody",{children:s.tables.map(u=>I.jsxs("tr",{className:"border-b",children:[I.jsx("td",{className:"px-4 py-2",children:u.name}),I.jsx("td",{className:"px-4 py-2",children:u.size}),I.jsx("td",{className:"px-4 py-2",children:u.count})]}))})]})]}))}),i=()=>I.jsx("div",{className:"flex w-full flex-row",children:o()}),a=()=>I.jsx("div",{className:"flex w-full flex-col",children:o()});return I.jsxs("div",{className:"flex flex-col w-full py-4",children:[I.jsx("button",{className:"w-fit px-4 py-2 mr-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 hover:bg-gray-500 hover:text-white border",onClick:n,children:"Toggle orientation"}),t?i():a()]})};function yW(){return I.jsx("div",{children:I.jsx(UP,{children:I.jsxs(hr,{path:"/",element:I.jsx(_W,{}),children:[I.jsx(hr,{index:!0,element:I.jsx(b3,{})}),I.jsx(hr,{path:"network",element:I.jsx(SW,{})}),I.jsx(hr,{path:"logs",element:I.jsx(mW,{})}),I.jsx(hr,{path:"chain",element:I.jsx(bW,{})}),I.jsx(hr,{path:"data",element:I.jsx(gW,{})}),I.jsx(hr,{path:"debug",element:I.jsx(wW,{})}),I.jsx(hr,{path:"testing",element:I.jsx(xW,{})}),I.jsx(hr,{path:"performance",element:I.jsx(CW,{})}),I.jsx(hr,{path:"documentation",element:I.jsx(RW,{})}),I.jsx(hr,{path:"admin",element:I.jsx(TW,{})}),I.jsx(hr,{path:"*",element:I.jsx(EW,{})})]})})})}function _W(){const e=lR();Ir(SR);const t=Ir(G4),r=Ir(Tn),n=Ir(wR),[o,i]=L.useState(!1);return L.useEffect(()=>{L3()},[]),L.useEffect(()=>{r!==""&&(D3(),$3(),N3(),OR(),F3(),W3())},[r]),L.useEffect(()=>{r!==""&&n.length>0&&n.forEach(a=>{a.tables.length===0&&B3(a.path)})},[n]),I.jsxs("div",{className:"flex",children:[I.jsx(e2,{collapsed:o,style:{height:"100vh"},children:I.jsxs(n2,{menuItemStyles:{button:{"&:hover":{backgroundColor:"#6b7280",color:"#fff"}}},children:[I.jsx(Vr,{icon:I.jsx(BC,{}),onClick:()=>{i(!o)}}),I.jsx(Vr,{component:I.jsx(Kr,{to:"/"}),icon:I.jsx(UC,{}),children:"Process"}),I.jsx(Vr,{component:I.jsx(Kr,{to:"/network"}),icon:I.jsx(qC,{}),children:"Network"}),I.jsx(Vr,{component:I.jsx(Kr,{to:"/logs"}),icon:I.jsx(HC,{}),children:"Logs"}),I.jsx(Vr,{component:I.jsx(Kr,{to:"/chain"}),icon:I.jsx(GC,{}),children:"Chain"}),I.jsx(Vr,{component:I.jsx(Kr,{to:"/data"}),icon:I.jsx(VC,{}),children:"Data"}),I.jsx(Vr,{component:I.jsx(Kr,{to:"/debug"}),icon:I.jsx(KC,{}),children:"Debug"}),I.jsx(Vr,{component:I.jsx(Kr,{to:"/testing"}),icon:I.jsx(YC,{}),children:"Testing"}),I.jsx(Vr,{component:I.jsx(Kr,{to:"/performance"}),icon:I.jsx(QC,{}),children:"Performance"}),I.jsx(Vr,{component:I.jsx(Kr,{to:"/documentation"}),icon:I.jsx(XC,{}),children:"Documentation"}),I.jsx(Vr,{component:I.jsx(Kr,{to:"/admin"}),icon:I.jsx(JC,{}),children:"Admin"})]})}),I.jsxs("div",{className:"flex flex-col w-full p-4",children:[I.jsx(vW,{nodes:t,onNodeSelected:a=>{e(P4(a))}}),I.jsx(WP,{})]})]})}function SW(){return I.jsx("div",{children:I.jsx("h2",{children:"Network"})})}function bW(){return I.jsx("div",{children:I.jsx("h2",{children:"Chain"})})}function wW(){return I.jsx("div",{children:I.jsx("h2",{children:"Debug"})})}function xW(){return I.jsx("div",{children:I.jsx("h2",{children:"Testing"})})}function CW(){return I.jsx("div",{children:I.jsx("h2",{children:"Performance"})})}function RW(){return I.jsx("div",{children:I.jsx("h2",{children:"Documentation"})})}function TW(){return I.jsx("div",{children:I.jsx("h2",{children:"Admin"})})}function EW(){return I.jsxs("div",{children:[I.jsx("h2",{children:"Nothing to see here!"}),I.jsx("p",{children:I.jsx(Kr,{to:"/",children:"Go to the home page"})})]})}ep.createRoot(document.getElementById("root")).render(I.jsx(IN,{store:Ur,children:I.jsx(YP,{children:I.jsx(yW,{})})})); diff --git a/web/dist/assets/index-49029a62.css b/web/dist/assets/index-49029a62.css new file mode 100644 index 0000000..1a80699 --- /dev/null +++ b/web/dist/assets/index-49029a62.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-1{top:.25rem;right:.25rem;bottom:.25rem;left:.25rem}.top-0{top:0}.z-0{z-index:0}.z-40{z-index:40}.z-50{z-index:50}.float-right{float:right}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-2{margin-bottom:.5rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mt-10{margin-top:2.5rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.table{display:table}.contents{display:contents}.h-6{height:1.5rem}.min-h-\[40px\]{min-height:40px}.w-2{width:.5rem}.w-6{width:1.5rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-3xl{max-width:48rem}.max-w-\[1400px\]{max-width:1400px}.flex-auto{flex:1 1 auto}.table-auto{table-layout:auto}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-auto{overflow:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tr-md{border-top-right-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-2{padding-left:.5rem}.pr-2{padding-right:.5rem}.pr-8{padding-right:2rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-100{opacity:1}.opacity-25{opacity:.25}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}body{background-color:azure;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-500:hover{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.active\:bg-gray-500:active{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.active\:text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (prefers-color-scheme: dark){.dark\:border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.dark\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:focus\:bg-gray-700:focus{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}} diff --git a/web/dist/assets/index-8f7035a2.js b/web/dist/assets/index-8f7035a2.js deleted file mode 100644 index 06f7e0a..0000000 --- a/web/dist/assets/index-8f7035a2.js +++ /dev/null @@ -1,702 +0,0 @@ -function bE(e,t){for(var r=0;rn[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();var Fo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ra(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var sw={exports:{}},Lc={},uw={exports:{}},Re={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var us=Symbol.for("react.element"),CE=Symbol.for("react.portal"),RE=Symbol.for("react.fragment"),TE=Symbol.for("react.strict_mode"),EE=Symbol.for("react.profiler"),OE=Symbol.for("react.provider"),kE=Symbol.for("react.context"),PE=Symbol.for("react.forward_ref"),IE=Symbol.for("react.suspense"),zE=Symbol.for("react.memo"),jE=Symbol.for("react.lazy"),Gy=Symbol.iterator;function AE(e){return e===null||typeof e!="object"?null:(e=Gy&&e[Gy]||e["@@iterator"],typeof e=="function"?e:null)}var cw={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},fw=Object.assign,dw={};function Ta(e,t,r){this.props=e,this.context=t,this.refs=dw,this.updater=r||cw}Ta.prototype.isReactComponent={};Ta.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ta.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function hw(){}hw.prototype=Ta.prototype;function _m(e,t,r){this.props=e,this.context=t,this.refs=dw,this.updater=r||cw}var Sm=_m.prototype=new hw;Sm.constructor=_m;fw(Sm,Ta.prototype);Sm.isPureReactComponent=!0;var Vy=Array.isArray,pw=Object.prototype.hasOwnProperty,wm={current:null},mw={key:!0,ref:!0,__self:!0,__source:!0};function vw(e,t,r){var n,o={},i=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)pw.call(t,n)&&!mw.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1>>1,Ee=Z[Se];if(0>>1;Seo(ye,fe))Ho(V,ye)?(Z[Se]=V,Z[H]=fe,Se=H):(Z[Se]=ye,Z[tt]=fe,Se=tt);else if(Ho(V,fe))Z[Se]=V,Z[H]=fe,Se=H;else break e}}return ie}function o(Z,ie){var fe=Z.sortIndex-ie.sortIndex;return fe!==0?fe:Z.id-ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var u=[],c=[],f=1,h=null,p=3,w=!1,S=!1,y=!1,C=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(Z){for(var ie=r(c);ie!==null;){if(ie.callback===null)n(c);else if(ie.startTime<=Z)n(c),ie.sortIndex=ie.expirationTime,t(u,ie);else break;ie=r(c)}}function T(Z){if(y=!1,_(Z),!S)if(r(u)!==null)S=!0,se(O);else{var ie=r(c);ie!==null&&ge(T,ie.startTime-Z)}}function O(Z,ie){S=!1,y&&(y=!1,g(E),E=-1),w=!0;var fe=p;try{for(_(ie),h=r(u);h!==null&&(!(h.expirationTime>ie)||Z&&!M());){var Se=h.callback;if(typeof Se=="function"){h.callback=null,p=h.priorityLevel;var Ee=Se(h.expirationTime<=ie);ie=e.unstable_now(),typeof Ee=="function"?h.callback=Ee:h===r(u)&&n(u),_(ie)}else n(u);h=r(u)}if(h!==null)var xt=!0;else{var tt=r(c);tt!==null&&ge(T,tt.startTime-ie),xt=!1}return xt}finally{h=null,p=fe,w=!1}}var k=!1,b=null,E=-1,P=5,I=-1;function M(){return!(e.unstable_now()-IZ||125Se?(Z.sortIndex=fe,t(c,Z),r(u)===null&&Z===r(c)&&(y?(g(E),E=-1):y=!0,ge(T,fe-Se))):(Z.sortIndex=Ee,t(u,Z),S||w||(S=!0,se(O))),Z},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(Z){var ie=p;return function(){var fe=p;p=ie;try{return Z.apply(this,arguments)}finally{p=fe}}}})(Sw);_w.exports=Sw;var qE=_w.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ww=N,wr=qE;function ee(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),rp=Object.prototype.hasOwnProperty,GE=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Yy={},Qy={};function VE(e){return rp.call(Qy,e)?!0:rp.call(Yy,e)?!1:GE.test(e)?Qy[e]=!0:(Yy[e]=!0,!1)}function KE(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function YE(e,t,r,n){if(t===null||typeof t>"u"||KE(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Yt(e,t,r,n,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Pt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Pt[e]=new Yt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Pt[t]=new Yt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Pt[e]=new Yt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Pt[e]=new Yt(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){Pt[e]=new Yt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Pt[e]=new Yt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Pt[e]=new Yt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Pt[e]=new Yt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Pt[e]=new Yt(e,5,!1,e.toLowerCase(),null,!1,!1)});var xm=/[\-:]([a-z])/g;function Cm(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(xm,Cm);Pt[t]=new Yt(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(xm,Cm);Pt[t]=new Yt(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(xm,Cm);Pt[t]=new Yt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Pt[e]=new Yt(e,1,!1,e.toLowerCase(),null,!1,!1)});Pt.xlinkHref=new Yt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Pt[e]=new Yt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Rm(e,t,r,n){var o=Pt.hasOwnProperty(t)?Pt[t]:null;(o!==null?o.type!==0:n||!(2s||o[a]!==i[s]){var u=` -`+o[a].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=a&&0<=s);break}}}finally{Od=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?ul(e):""}function QE(e){switch(e.tag){case 5:return ul(e.type);case 16:return ul("Lazy");case 13:return ul("Suspense");case 19:return ul("SuspenseList");case 0:case 2:case 15:return e=kd(e.type,!1),e;case 11:return e=kd(e.type.render,!1),e;case 1:return e=kd(e.type,!0),e;default:return""}}function ap(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ai:return"Fragment";case ji:return"Portal";case np:return"Profiler";case Tm:return"StrictMode";case op:return"Suspense";case ip:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Cw:return(e.displayName||"Context")+".Consumer";case xw:return(e._context.displayName||"Context")+".Provider";case Em:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Om:return t=e.displayName||null,t!==null?t:ap(e.type)||"Memo";case Xn:t=e._payload,e=e._init;try{return ap(e(t))}catch{}}return null}function XE(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ap(t);case 8:return t===Tm?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function _o(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Tw(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function JE(e){var t=Tw(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){n=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Bs(e){e._valueTracker||(e._valueTracker=JE(e))}function Ew(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Tw(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function $u(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function lp(e,t){var r=t.checked;return et({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Jy(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=_o(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ow(e,t){t=t.checked,t!=null&&Rm(e,"checked",t,!1)}function sp(e,t){Ow(e,t);var r=_o(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?up(e,t.type,r):t.hasOwnProperty("defaultValue")&&up(e,t.type,_o(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Zy(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function up(e,t,r){(t!=="number"||$u(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var cl=Array.isArray;function Gi(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Us.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Al(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var _l={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ZE=["Webkit","ms","Moz","O"];Object.keys(_l).forEach(function(e){ZE.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),_l[t]=_l[e]})});function zw(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||_l.hasOwnProperty(e)&&_l[e]?(""+t).trim():t+"px"}function jw(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=zw(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var eO=et({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 dp(e,t){if(t){if(eO[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ee(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ee(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ee(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ee(62))}}function hp(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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}}var pp=null;function km(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mp=null,Vi=null,Ki=null;function r0(e){if(e=ds(e)){if(typeof mp!="function")throw Error(ee(280));var t=e.stateNode;t&&(t=Wc(t),mp(e.stateNode,e.type,t))}}function Aw(e){Vi?Ki?Ki.push(e):Ki=[e]:Vi=e}function Mw(){if(Vi){var e=Vi,t=Ki;if(Ki=Vi=null,r0(e),t)for(e=0;e>>=0,e===0?32:31-(fO(e)/dO|0)|0}var Hs=64,qs=4194304;function fl(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Bu(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,a=r&268435455;if(a!==0){var s=a&~o;s!==0?n=fl(s):(i&=a,i!==0&&(n=fl(i)))}else a=r&~o,a!==0?n=fl(a):i!==0&&(n=fl(i));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function cs(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Xr(t),e[t]=r}function vO(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=wl),f0=String.fromCharCode(32),d0=!1;function tb(e,t){switch(e){case"keyup":return HO.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rb(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Mi=!1;function GO(e,t){switch(e){case"compositionend":return rb(t);case"keypress":return t.which!==32?null:(d0=!0,f0);case"textInput":return e=t.data,e===f0&&d0?null:e;default:return null}}function VO(e,t){if(Mi)return e==="compositionend"||!Nm&&tb(e,t)?(e=Zw(),yu=Am=ro=null,Mi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=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=v0(r)}}function ab(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ab(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function lb(){for(var e=window,t=$u();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=$u(e.document)}return t}function $m(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function rk(e){var t=lb(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&ab(r.ownerDocument.documentElement,r)){if(n!==null&&$m(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=n.end===void 0?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=g0(r,i);var a=g0(r,n);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Li=null,wp=null,xl=null,bp=!1;function y0(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;bp||Li==null||Li!==$u(n)||(n=Li,"selectionStart"in n&&$m(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),xl&&Fl(xl,n)||(xl=n,n=qu(wp,"onSelect"),0Di||(e.current=Op[Di],Op[Di]=null,Di--)}function Be(e,t){Di++,Op[Di]=e.current,e.current=t}var So={},Wt=To(So),tr=To(!1),Xo=So;function oa(e,t){var r=e.type.contextTypes;if(!r)return So;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function rr(e){return e=e.childContextTypes,e!=null}function Vu(){Ge(tr),Ge(Wt)}function R0(e,t,r){if(Wt.current!==So)throw Error(ee(168));Be(Wt,t),Be(tr,r)}function vb(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(ee(108,XE(e)||"Unknown",o));return et({},r,n)}function Ku(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||So,Xo=Wt.current,Be(Wt,e),Be(tr,tr.current),!0}function T0(e,t,r){var n=e.stateNode;if(!n)throw Error(ee(169));r?(e=vb(e,t,Xo),n.__reactInternalMemoizedMergedChildContext=e,Ge(tr),Ge(Wt),Be(Wt,e)):Ge(tr),Be(tr,r)}var Pn=null,Bc=!1,Ud=!1;function gb(e){Pn===null?Pn=[e]:Pn.push(e)}function pk(e){Bc=!0,gb(e)}function Eo(){if(!Ud&&Pn!==null){Ud=!0;var e=0,t=Ne;try{var r=Pn;for(Ne=1;e>=a,o-=a,jn=1<<32-Xr(t)+o|r<E?(P=b,b=null):P=b.sibling;var I=p(g,b,_[E],T);if(I===null){b===null&&(b=P);break}e&&b&&I.alternate===null&&t(g,b),m=i(I,m,E),k===null?O=I:k.sibling=I,k=I,b=P}if(E===_.length)return r(g,b),Xe&&Lo(g,E),O;if(b===null){for(;E<_.length;E++)b=h(g,_[E],T),b!==null&&(m=i(b,m,E),k===null?O=b:k.sibling=b,k=b);return Xe&&Lo(g,E),O}for(b=n(g,b);E<_.length;E++)P=w(b,g,E,_[E],T),P!==null&&(e&&P.alternate!==null&&b.delete(P.key===null?E:P.key),m=i(P,m,E),k===null?O=P:k.sibling=P,k=P);return e&&b.forEach(function(M){return t(g,M)}),Xe&&Lo(g,E),O}function y(g,m,_,T){var O=Ya(_);if(typeof O!="function")throw Error(ee(150));if(_=O.call(_),_==null)throw Error(ee(151));for(var k=O=null,b=m,E=m=0,P=null,I=_.next();b!==null&&!I.done;E++,I=_.next()){b.index>E?(P=b,b=null):P=b.sibling;var M=p(g,b,I.value,T);if(M===null){b===null&&(b=P);break}e&&b&&M.alternate===null&&t(g,b),m=i(M,m,E),k===null?O=M:k.sibling=M,k=M,b=P}if(I.done)return r(g,b),Xe&&Lo(g,E),O;if(b===null){for(;!I.done;E++,I=_.next())I=h(g,I.value,T),I!==null&&(m=i(I,m,E),k===null?O=I:k.sibling=I,k=I);return Xe&&Lo(g,E),O}for(b=n(g,b);!I.done;E++,I=_.next())I=w(b,g,E,I.value,T),I!==null&&(e&&I.alternate!==null&&b.delete(I.key===null?E:I.key),m=i(I,m,E),k===null?O=I:k.sibling=I,k=I);return e&&b.forEach(function(F){return t(g,F)}),Xe&&Lo(g,E),O}function C(g,m,_,T){if(typeof _=="object"&&_!==null&&_.type===Ai&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case Ws:e:{for(var O=_.key,k=m;k!==null;){if(k.key===O){if(O=_.type,O===Ai){if(k.tag===7){r(g,k.sibling),m=o(k,_.props.children),m.return=g,g=m;break e}}else if(k.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===Xn&&j0(O)===k.type){r(g,k.sibling),m=o(k,_.props),m.ref=el(g,k,_),m.return=g,g=m;break e}r(g,k);break}else t(g,k);k=k.sibling}_.type===Ai?(m=Go(_.props.children,g.mode,T,_.key),m.return=g,g=m):(T=Tu(_.type,_.key,_.props,null,g.mode,T),T.ref=el(g,m,_),T.return=g,g=T)}return a(g);case ji:e:{for(k=_.key;m!==null;){if(m.key===k)if(m.tag===4&&m.stateNode.containerInfo===_.containerInfo&&m.stateNode.implementation===_.implementation){r(g,m.sibling),m=o(m,_.children||[]),m.return=g,g=m;break e}else{r(g,m);break}else t(g,m);m=m.sibling}m=Xd(_,g.mode,T),m.return=g,g=m}return a(g);case Xn:return k=_._init,C(g,m,k(_._payload),T)}if(cl(_))return S(g,m,_,T);if(Ya(_))return y(g,m,_,T);Js(g,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,m!==null&&m.tag===6?(r(g,m.sibling),m=o(m,_),m.return=g,g=m):(r(g,m),m=Qd(_,g.mode,T),m.return=g,g=m),a(g)):r(g,m)}return C}var aa=Rb(!0),Tb=Rb(!1),hs={},gn=To(hs),Hl=To(hs),ql=To(hs);function Uo(e){if(e===hs)throw Error(ee(174));return e}function Vm(e,t){switch(Be(ql,t),Be(Hl,e),Be(gn,hs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fp(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=fp(t,e)}Ge(gn),Be(gn,t)}function la(){Ge(gn),Ge(Hl),Ge(ql)}function Eb(e){Uo(ql.current);var t=Uo(gn.current),r=fp(t,e.type);t!==r&&(Be(Hl,e),Be(gn,r))}function Km(e){Hl.current===e&&(Ge(gn),Ge(Hl))}var Je=To(0);function ec(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Hd=[];function Ym(){for(var e=0;er?r:4,e(!0);var n=qd.transition;qd.transition={};try{e(!1),t()}finally{Ne=r,qd.transition=n}}function Ub(){return Mr().memoizedState}function yk(e,t,r){var n=ho(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Hb(e))qb(t,r);else if(r=wb(e,t,r,n),r!==null){var o=Vt();Jr(r,e,n,o),Gb(r,t,n)}}function _k(e,t,r){var n=ho(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Hb(e))qb(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,r);if(o.hasEagerState=!0,o.eagerState=s,Zr(s,a)){var u=t.interleaved;u===null?(o.next=o,qm(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}r=wb(e,t,o,n),r!==null&&(o=Vt(),Jr(r,e,n,o),Gb(r,t,n))}}function Hb(e){var t=e.alternate;return e===Ze||t!==null&&t===Ze}function qb(e,t){Cl=tc=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Gb(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Im(e,r)}}var rc={readContext:Ar,useCallback:At,useContext:At,useEffect:At,useImperativeHandle:At,useInsertionEffect:At,useLayoutEffect:At,useMemo:At,useReducer:At,useRef:At,useState:At,useDebugValue:At,useDeferredValue:At,useTransition:At,useMutableSource:At,useSyncExternalStore:At,useId:At,unstable_isNewReconciler:!1},Sk={readContext:Ar,useCallback:function(e,t){return un().memoizedState=[e,t===void 0?null:t],e},useContext:Ar,useEffect:M0,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,bu(4194308,4,$b.bind(null,t,e),r)},useLayoutEffect:function(e,t){return bu(4194308,4,e,t)},useInsertionEffect:function(e,t){return bu(4,2,e,t)},useMemo:function(e,t){var r=un();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=un();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=yk.bind(null,Ze,e),[n.memoizedState,e]},useRef:function(e){var t=un();return e={current:e},t.memoizedState=e},useState:A0,useDebugValue:ev,useDeferredValue:function(e){return un().memoizedState=e},useTransition:function(){var e=A0(!1),t=e[0];return e=gk.bind(null,e[1]),un().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Ze,o=un();if(Xe){if(r===void 0)throw Error(ee(407));r=r()}else{if(r=t(),St===null)throw Error(ee(349));Zo&30||Pb(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,M0(zb.bind(null,n,i,e),[e]),n.flags|=2048,Kl(9,Ib.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=un(),t=St.identifierPrefix;if(Xe){var r=An,n=jn;r=(n&~(1<<32-Xr(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Gl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[pn]=t,e[Ul]=n,tx(e,t,!1,!1),t.stateNode=e;e:{switch(a=hp(r,n),r){case"dialog":qe("cancel",e),qe("close",e),o=n;break;case"iframe":case"object":case"embed":qe("load",e),o=n;break;case"video":case"audio":for(o=0;oua&&(t.flags|=128,n=!0,tl(i,!1),t.lanes=4194304)}else{if(!n)if(e=ec(a),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),tl(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Xe)return Mt(t),null}else 2*st()-i.renderingStartTime>ua&&r!==1073741824&&(t.flags|=128,n=!0,tl(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(r=i.last,r!==null?r.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=st(),t.sibling=null,r=Je.current,Be(Je,n?r&1|2:r&1),t):(Mt(t),null);case 22:case 23:return av(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?pr&1073741824&&(Mt(t),t.subtreeFlags&6&&(t.flags|=8192)):Mt(t),null;case 24:return null;case 25:return null}throw Error(ee(156,t.tag))}function Ok(e,t){switch(Fm(t),t.tag){case 1:return rr(t.type)&&Vu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return la(),Ge(tr),Ge(Wt),Ym(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Km(t),null;case 13:if(Ge(Je),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ee(340));ia()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ge(Je),null;case 4:return la(),null;case 10:return Hm(t.type._context),null;case 22:case 23:return av(),null;case 24:return null;default:return null}}var eu=!1,Ft=!1,kk=typeof WeakSet=="function"?WeakSet:Set,ce=null;function Ui(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){ot(e,t,n)}else r.current=null}function Fp(e,t,r){try{r()}catch(n){ot(e,t,n)}}var H0=!1;function Pk(e,t){if(xp=Uu,e=lb(),$m(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var a=0,s=-1,u=-1,c=0,f=0,h=e,p=null;t:for(;;){for(var w;h!==r||o!==0&&h.nodeType!==3||(s=a+o),h!==i||n!==0&&h.nodeType!==3||(u=a+n),h.nodeType===3&&(a+=h.nodeValue.length),(w=h.firstChild)!==null;)p=h,h=w;for(;;){if(h===e)break t;if(p===r&&++c===o&&(s=a),p===i&&++f===n&&(u=a),(w=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=w}r=s===-1||u===-1?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Cp={focusedElem:e,selectionRange:r},Uu=!1,ce=t;ce!==null;)if(t=ce,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ce=e;else for(;ce!==null;){t=ce;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var y=S.memoizedProps,C=S.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:qr(t.type,y),C);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var _=t.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ee(163))}}catch(T){ot(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,ce=e;break}ce=t.return}return S=H0,H0=!1,S}function Rl(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Fp(t,r,i)}o=o.next}while(o!==n)}}function qc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Wp(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function ox(e){var t=e.alternate;t!==null&&(e.alternate=null,ox(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[pn],delete t[Ul],delete t[Ep],delete t[dk],delete t[hk])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ix(e){return e.tag===5||e.tag===3||e.tag===4}function q0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ix(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Bp(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Gu));else if(n!==4&&(e=e.child,e!==null))for(Bp(e,t,r),e=e.sibling;e!==null;)Bp(e,t,r),e=e.sibling}function Up(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Up(e,t,r),e=e.sibling;e!==null;)Up(e,t,r),e=e.sibling}var Tt=null,Vr=!1;function Qn(e,t,r){for(r=r.child;r!==null;)ax(e,t,r),r=r.sibling}function ax(e,t,r){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(Nc,r)}catch{}switch(r.tag){case 5:Ft||Ui(r,t);case 6:var n=Tt,o=Vr;Tt=null,Qn(e,t,r),Tt=n,Vr=o,Tt!==null&&(Vr?(e=Tt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Tt.removeChild(r.stateNode));break;case 18:Tt!==null&&(Vr?(e=Tt,r=r.stateNode,e.nodeType===8?Bd(e.parentNode,r):e.nodeType===1&&Bd(e,r),$l(e)):Bd(Tt,r.stateNode));break;case 4:n=Tt,o=Vr,Tt=r.stateNode.containerInfo,Vr=!0,Qn(e,t,r),Tt=n,Vr=o;break;case 0:case 11:case 14:case 15:if(!Ft&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Fp(r,t,a),o=o.next}while(o!==n)}Qn(e,t,r);break;case 1:if(!Ft&&(Ui(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){ot(r,t,s)}Qn(e,t,r);break;case 21:Qn(e,t,r);break;case 22:r.mode&1?(Ft=(n=Ft)||r.memoizedState!==null,Qn(e,t,r),Ft=n):Qn(e,t,r);break;default:Qn(e,t,r)}}function G0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new kk),t.forEach(function(n){var o=Dk.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Br(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=a),n&=~i}if(n=o,n=st()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*zk(n/1960))-n,10e?16:e,no===null)var n=!1;else{if(e=no,no=null,ic=0,ke&6)throw Error(ee(331));var o=ke;for(ke|=4,ce=e.current;ce!==null;){var i=ce,a=i.child;if(ce.flags&16){var s=i.deletions;if(s!==null){for(var u=0;ust()-ov?qo(e,0):nv|=r),nr(e,t)}function px(e,t){t===0&&(e.mode&1?(t=qs,qs<<=1,!(qs&130023424)&&(qs=4194304)):t=1);var r=Vt();e=Wn(e,t),e!==null&&(cs(e,t,r),nr(e,r))}function $k(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),px(e,r)}function Dk(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(ee(314))}n!==null&&n.delete(t),px(e,r)}var mx;mx=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||tr.current)er=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return er=!1,Tk(e,t,r);er=!!(e.flags&131072)}else er=!1,Xe&&t.flags&1048576&&yb(t,Qu,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;xu(e,t),e=t.pendingProps;var o=oa(t,Wt.current);Qi(t,r),o=Xm(null,t,n,e,o,r);var i=Jm();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rr(n)?(i=!0,Ku(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Gm(t),o.updater=Uc,t.stateNode=o,o._reactInternals=t,jp(t,n,e,r),t=Lp(null,t,n,!0,i,r)):(t.tag=0,Xe&&i&&Dm(t),qt(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(xu(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=Wk(n),e=qr(n,e),o){case 0:t=Mp(null,t,n,e,r);break e;case 1:t=W0(null,t,n,e,r);break e;case 11:t=D0(null,t,n,e,r);break e;case 14:t=F0(null,t,n,qr(n.type,e),r);break e}throw Error(ee(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qr(n,o),Mp(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qr(n,o),W0(e,t,n,o,r);case 3:e:{if(Jb(t),e===null)throw Error(ee(387));n=t.pendingProps,i=t.memoizedState,o=i.element,bb(e,t),Zu(t,n,null,r);var a=t.memoizedState;if(n=a.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=sa(Error(ee(423)),t),t=B0(e,t,n,r,o);break e}else if(n!==o){o=sa(Error(ee(424)),t),t=B0(e,t,n,r,o);break e}else for(gr=uo(t.stateNode.containerInfo.firstChild),yr=t,Xe=!0,Kr=null,r=Tb(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(ia(),n===o){t=Bn(e,t,r);break e}qt(e,t,n,r)}t=t.child}return t;case 5:return Eb(t),e===null&&Pp(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Rp(n,o)?a=null:i!==null&&Rp(n,i)&&(t.flags|=32),Xb(e,t),qt(e,t,a,r),t.child;case 6:return e===null&&Pp(t),null;case 13:return Zb(e,t,r);case 4:return Vm(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=aa(t,null,n,r):qt(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qr(n,o),D0(e,t,n,o,r);case 7:return qt(e,t,t.pendingProps,r),t.child;case 8:return qt(e,t,t.pendingProps.children,r),t.child;case 12:return qt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Be(Xu,n._currentValue),n._currentValue=a,i!==null)if(Zr(i.value,a)){if(i.children===o.children&&!tr.current){t=Bn(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var u=s.firstContext;u!==null;){if(u.context===n){if(i.tag===1){u=Nn(-1,r&-r),u.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?u.next=u:(u.next=f.next,f.next=u),c.pending=u}}i.lanes|=r,u=i.alternate,u!==null&&(u.lanes|=r),Ip(i.return,r,t),s.lanes|=r;break}u=u.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(ee(341));a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),Ip(a,r,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}qt(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Qi(t,r),o=Ar(o),n=n(o),t.flags|=1,qt(e,t,n,r),t.child;case 14:return n=t.type,o=qr(n,t.pendingProps),o=qr(n.type,o),F0(e,t,n,o,r);case 15:return Yb(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qr(n,o),xu(e,t),t.tag=1,rr(n)?(e=!0,Ku(t)):e=!1,Qi(t,r),Cb(t,n,o),jp(t,n,o,r),Lp(null,t,n,!0,e,r);case 19:return ex(e,t,r);case 22:return Qb(e,t,r)}throw Error(ee(156,t.tag))};function vx(e,t){return Bw(e,t)}function Fk(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ir(e,t,r,n){return new Fk(e,t,r,n)}function sv(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Wk(e){if(typeof e=="function")return sv(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Em)return 11;if(e===Om)return 14}return 2}function po(e,t){var r=e.alternate;return r===null?(r=Ir(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Tu(e,t,r,n,o,i){var a=2;if(n=e,typeof e=="function")sv(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Ai:return Go(r.children,o,i,t);case Tm:a=8,o|=8;break;case np:return e=Ir(12,r,t,o|2),e.elementType=np,e.lanes=i,e;case op:return e=Ir(13,r,t,o),e.elementType=op,e.lanes=i,e;case ip:return e=Ir(19,r,t,o),e.elementType=ip,e.lanes=i,e;case Rw:return Vc(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xw:a=10;break e;case Cw:a=9;break e;case Em:a=11;break e;case Om:a=14;break e;case Xn:a=16,n=null;break e}throw Error(ee(130,e==null?e:typeof e,""))}return t=Ir(a,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function Go(e,t,r,n){return e=Ir(7,e,n,t),e.lanes=r,e}function Vc(e,t,r,n){return e=Ir(22,e,n,t),e.elementType=Rw,e.lanes=r,e.stateNode={isHidden:!1},e}function Qd(e,t,r){return e=Ir(6,e,null,t),e.lanes=r,e}function Xd(e,t,r){return t=Ir(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bk(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Id(0),this.expirationTimes=Id(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Id(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function uv(e,t,r,n,o,i,a,s,u){return e=new Bk(e,t,r,s,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ir(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gm(i),e}function Uk(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Sx)}catch(e){console.error(e)}}Sx(),yw.exports=xr;var ps=yw.exports,e_=ps;tp.createRoot=e_.createRoot,tp.hydrateRoot=e_.hydrateRoot;/** - * @remix-run/router v1.8.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Ql(){return Ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function hv(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Yk(){return Math.random().toString(36).substr(2,8)}function r_(e,t){return{usr:e.state,key:e.key,idx:t}}function Kp(e,t,r,n){return r===void 0&&(r=null),Ql({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ka(t):t,{state:r,key:t&&t.key||n||Yk()})}function sc(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ka(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function Qk(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:i=!1}=n,a=o.history,s=oo.Pop,u=null,c=f();c==null&&(c=0,a.replaceState(Ql({},a.state,{idx:c}),""));function f(){return(a.state||{idx:null}).idx}function h(){s=oo.Pop;let C=f(),g=C==null?null:C-c;c=C,u&&u({action:s,location:y.location,delta:g})}function p(C,g){s=oo.Push;let m=Kp(y.location,C,g);r&&r(m,C),c=f()+1;let _=r_(m,c),T=y.createHref(m);try{a.pushState(_,"",T)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;o.location.assign(T)}i&&u&&u({action:s,location:y.location,delta:1})}function w(C,g){s=oo.Replace;let m=Kp(y.location,C,g);r&&r(m,C),c=f();let _=r_(m,c),T=y.createHref(m);a.replaceState(_,"",T),i&&u&&u({action:s,location:y.location,delta:0})}function S(C){let g=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof C=="string"?C:sc(C);return mt(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let y={get action(){return s},get location(){return e(o,a)},listen(C){if(u)throw new Error("A history only accepts one active listener");return o.addEventListener(t_,h),u=C,()=>{o.removeEventListener(t_,h),u=null}},createHref(C){return t(o,C)},createURL:S,encodeLocation(C){let g=S(C);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:p,replace:w,go(C){return a.go(C)}};return y}var n_;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(n_||(n_={}));function Xk(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?ka(t):t,o=pv(n.pathname||"/",r);if(o==null)return null;let i=wx(e);Jk(i);let a=null;for(let s=0;a==null&&s{let u={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};u.relativePath.startsWith("/")&&(mt(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let c=mo([n,u.relativePath]),f=r.concat(u);i.children&&i.children.length>0&&(mt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),wx(i.children,t,f,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:iP(c,i.index),routesMeta:f})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let u of bx(i.path))o(i,a,u)}),t}function bx(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return o?[i,""]:[i];let a=bx(n.join("/")),s=[];return s.push(...a.map(u=>u===""?i:[i,u].join("/"))),o&&s.push(...a),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function Jk(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:aP(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const Zk=/^:\w+$/,eP=3,tP=2,rP=1,nP=10,oP=-2,o_=e=>e==="*";function iP(e,t){let r=e.split("/"),n=r.length;return r.some(o_)&&(n+=oP),t&&(n+=tP),r.filter(o=>!o_(o)).reduce((o,i)=>o+(Zk.test(i)?eP:i===""?rP:nP),n)}function aP(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function lP(e,t){let{routesMeta:r}=e,n={},o="/",i=[];for(let a=0;a{if(f==="*"){let p=s[h]||"";a=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}return c[f]=fP(s[h]||"",f),c},{}),pathname:i,pathnameBase:a,pattern:e}}function uP(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),hv(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(a,s)=>(n.push(s),"/([^\\/]+)"));return e.endsWith("*")?(n.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function cP(e){try{return decodeURI(e)}catch(t){return hv(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function fP(e,t){try{return decodeURIComponent(e)}catch(r){return hv(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function pv(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function dP(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?ka(e):e;return{pathname:r?r.startsWith("/")?r:hP(r,t):t,search:mP(n),hash:vP(o)}}function hP(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function Jd(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function xx(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Cx(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=ka(e):(o=Ql({},e),mt(!o.pathname||!o.pathname.includes("?"),Jd("?","pathname","search",o)),mt(!o.pathname||!o.pathname.includes("#"),Jd("#","pathname","hash",o)),mt(!o.search||!o.search.includes("#"),Jd("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,s;if(n||a==null)s=r;else{let h=t.length-1;if(a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),h-=1;o.pathname=p.join("/")}s=h>=0?t[h]:"/"}let u=dP(o,s),c=a&&a!=="/"&&a.endsWith("/"),f=(i||a===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(c||f)&&(u.pathname+="/"),u}const mo=e=>e.join("/").replace(/\/\/+/g,"/"),pP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),mP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,vP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function gP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Rx=["post","put","patch","delete"];new Set(Rx);const yP=["get",...Rx];new Set(yP);/** - * React Router v6.15.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function uc(){return uc=Object.assign?Object.assign.bind():function(e){for(var t=1;tu.pathnameBase)),a=N.useRef(!1);return Ex(()=>{a.current=!0}),N.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=Cx(u,JSON.parse(i),o,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:mo([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,i,o,e])}const xP=N.createContext(null);function CP(e){let t=N.useContext(Oo).outlet;return t&&N.createElement(xP.Provider,{value:e},t)}function Ox(e,t){let{relative:r}=t===void 0?{}:t,{matches:n}=N.useContext(Oo),{pathname:o}=Zc(),i=JSON.stringify(xx(n).map(a=>a.pathnameBase));return N.useMemo(()=>Cx(e,JSON.parse(i),o,r==="path"),[e,i,o,r])}function RP(e,t){return TP(e,t)}function TP(e,t,r){ms()||mt(!1);let{navigator:n}=N.useContext(Pa),{matches:o}=N.useContext(Oo),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let u=Zc(),c;if(t){var f;let y=typeof t=="string"?ka(t):t;s==="/"||(f=y.pathname)!=null&&f.startsWith(s)||mt(!1),c=y}else c=u;let h=c.pathname||"/",p=s==="/"?h:h.slice(s.length)||"/",w=Xk(e,{pathname:p}),S=IP(w&&w.map(y=>Object.assign({},y,{params:Object.assign({},a,y.params),pathname:mo([s,n.encodeLocation?n.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:mo([s,n.encodeLocation?n.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,r);return t&&S?N.createElement(Jc.Provider,{value:{location:uc({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:oo.Pop}},S):S}function EP(){let e=MP(),t=gP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return N.createElement(N.Fragment,null,N.createElement("h2",null,"Unexpected Application Error!"),N.createElement("h3",{style:{fontStyle:"italic"}},t),r?N.createElement("pre",{style:o},r):null,i)}const OP=N.createElement(EP,null);class kP extends N.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?N.createElement(Oo.Provider,{value:this.props.routeContext},N.createElement(Tx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function PP(e){let{routeContext:t,match:r,children:n}=e,o=N.useContext(mv);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),N.createElement(Oo.Provider,{value:t},n)}function IP(e,t,r){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var o;if((o=r)!=null&&o.errors)e=r.matches;else return null}let i=e,a=(n=r)==null?void 0:n.errors;if(a!=null){let s=i.findIndex(u=>u.route.id&&(a==null?void 0:a[u.route.id]));s>=0||mt(!1),i=i.slice(0,Math.min(i.length,s+1))}return i.reduceRight((s,u,c)=>{let f=u.route.id?a==null?void 0:a[u.route.id]:null,h=null;r&&(h=u.route.errorElement||OP);let p=t.concat(i.slice(0,c+1)),w=()=>{let S;return f?S=h:u.route.Component?S=N.createElement(u.route.Component,null):u.route.element?S=u.route.element:S=s,N.createElement(PP,{match:u,routeContext:{outlet:s,matches:p,isDataRoute:r!=null},children:S})};return r&&(u.route.ErrorBoundary||u.route.errorElement||c===0)?N.createElement(kP,{location:r.location,revalidation:r.revalidation,component:h,error:f,children:w(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):w()},null)}var kx=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(kx||{}),cc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(cc||{});function zP(e){let t=N.useContext(mv);return t||mt(!1),t}function jP(e){let t=N.useContext(_P);return t||mt(!1),t}function AP(e){let t=N.useContext(Oo);return t||mt(!1),t}function Px(e){let t=AP(),r=t.matches[t.matches.length-1];return r.route.id||mt(!1),r.route.id}function MP(){var e;let t=N.useContext(Tx),r=jP(cc.UseRouteError),n=Px(cc.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function LP(){let{router:e}=zP(kx.UseNavigateStable),t=Px(cc.UseNavigateStable),r=N.useRef(!1);return Ex(()=>{r.current=!0}),N.useCallback(function(o,i){i===void 0&&(i={}),r.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,uc({fromRouteId:t},i)))},[e,t])}function NP(e){return CP(e.context)}function hr(e){mt(!1)}function $P(e){let{basename:t="/",children:r=null,location:n,navigationType:o=oo.Pop,navigator:i,static:a=!1}=e;ms()&&mt(!1);let s=t.replace(/^\/*/,"/"),u=N.useMemo(()=>({basename:s,navigator:i,static:a}),[s,i,a]);typeof n=="string"&&(n=ka(n));let{pathname:c="/",search:f="",hash:h="",state:p=null,key:w="default"}=n,S=N.useMemo(()=>{let y=pv(c,s);return y==null?null:{location:{pathname:y,search:f,hash:h,state:p,key:w},navigationType:o}},[s,c,f,h,p,w,o]);return S==null?null:N.createElement(Pa.Provider,{value:u},N.createElement(Jc.Provider,{children:r,value:S}))}function DP(e){let{children:t,location:r}=e;return RP(Yp(t),r)}new Promise(()=>{});function Yp(e,t){t===void 0&&(t=[]);let r=[];return N.Children.forEach(e,(n,o)=>{if(!N.isValidElement(n))return;let i=[...t,o];if(n.type===N.Fragment){r.push.apply(r,Yp(n.props.children,i));return}n.type!==hr&&mt(!1),!n.props.index||!n.props.children||mt(!1);let a={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(a.children=Yp(n.props.children,i)),r.push(a)}),r}/** - * React Router DOM v6.15.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Qp(){return Qp=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}function WP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function BP(e,t){return e.button===0&&(!t||t==="_self")&&!WP(e)}const UP=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],HP="startTransition",i_=ra[HP];function qP(e){let{basename:t,children:r,future:n,window:o}=e,i=N.useRef();i.current==null&&(i.current=Kk({window:o,v5Compat:!0}));let a=i.current,[s,u]=N.useState({action:a.action,location:a.location}),{v7_startTransition:c}=n||{},f=N.useCallback(h=>{c&&i_?i_(()=>u(h)):u(h)},[u,c]);return N.useLayoutEffect(()=>a.listen(f),[a,f]),N.createElement($P,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:a})}const GP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",VP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Hr=N.forwardRef(function(t,r){let{onClick:n,relative:o,reloadDocument:i,replace:a,state:s,target:u,to:c,preventScrollReset:f}=t,h=FP(t,UP),{basename:p}=N.useContext(Pa),w,S=!1;if(typeof c=="string"&&VP.test(c)&&(w=c,GP))try{let m=new URL(window.location.href),_=c.startsWith("//")?new URL(m.protocol+c):new URL(c),T=pv(_.pathname,p);_.origin===m.origin&&T!=null?c=T+_.search+_.hash:S=!0}catch{}let y=SP(c,{relative:o}),C=KP(c,{replace:a,state:s,target:u,preventScrollReset:f,relative:o});function g(m){n&&n(m),m.defaultPrevented||C(m)}return N.createElement("a",Qp({},h,{href:w||y,onClick:S||i?n:g,ref:r,target:u}))});var a_;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(a_||(a_={}));var l_;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(l_||(l_={}));function KP(e,t){let{target:r,replace:n,state:o,preventScrollReset:i,relative:a}=t===void 0?{}:t,s=wP(),u=Zc(),c=Ox(e,{relative:a});return N.useCallback(f=>{if(BP(f,r)){f.preventDefault();let h=n!==void 0?n:sc(u)===sc(c);s(e,{replace:h,state:o,preventScrollReset:i,relative:a})}},[u,s,c,n,o,r,e,i,a])}/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var mr=function(){return mr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n0?Et(Ia,--ar):0,ca--,dt===10&&(ca=1,tf--),dt}function _r(){return dt=ar2||Jl(dt)>3?"":" "}function uI(e,t){for(;--t&&_r()&&!(dt<48||dt>102||dt>57&&dt<65||dt>70&&dt<97););return vs(e,Eu()+(t<6&&yn()==32&&_r()==32))}function Zp(e){for(;_r();)switch(dt){case e:return ar;case 34:case 39:e!==34&&e!==39&&Zp(dt);break;case 40:e===41&&Zp(e);break;case 92:_r();break}return ar}function cI(e,t){for(;_r()&&e+dt!==47+10;)if(e+dt===42+42&&yn()===47)break;return"/*"+vs(t,ar-1)+"*"+ef(e===47?e:_r())}function fI(e){for(;!Jl(yn());)_r();return vs(e,ar)}function s_(e){return Lx(ku("",null,null,null,[""],e=Mx(e),0,[0],e))}function ku(e,t,r,n,o,i,a,s,u){for(var c=0,f=0,h=a,p=0,w=0,S=0,y=1,C=1,g=1,m=0,_="",T=o,O=i,k=n,b=_;C;)switch(S=m,m=_r()){case 40:if(S!=108&&Et(b,h-1)==58){Jp(b+=je(Ou(m),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:b+=Ou(m);break;case 9:case 10:case 13:case 32:b+=sI(S);break;case 92:b+=uI(Eu()-1,7);continue;case 47:switch(yn()){case 42:case 47:nu(dI(cI(_r(),Eu()),t,r),u);break;default:b+="/"}break;case 123*y:s[c++]=cn(b)*g;case 125*y:case 59:case 0:switch(m){case 0:case 125:C=0;case 59+f:w>0&&cn(b)-h&&nu(w>32?c_(b+";",n,r,h-1):c_(je(b," ","")+";",n,r,h-2),u);break;case 59:b+=";";default:if(nu(k=u_(b,t,r,c,f,o,s,_,T=[],O=[],h),i),m===123)if(f===0)ku(b,t,k,k,T,i,h,s,O);else switch(p===99&&Et(b,3)===110?100:p){case 100:case 109:case 115:ku(e,k,k,n&&nu(u_(e,k,k,0,0,o,s,_,o,T=[],h),O),o,O,h,s,n?T:O);break;default:ku(b,k,k,k,[""],O,0,s,O)}}c=f=w=0,y=g=1,_=b="",h=a;break;case 58:h=1+cn(b),w=S;default:if(y<1){if(m==123)--y;else if(m==125&&y++==0&&lI()==125)continue}switch(b+=ef(m),m*y){case 38:g=f>0?1:(b+="\f",-1);break;case 44:s[c++]=(cn(b)-1)*g,g=1;break;case 64:yn()===45&&(b+=Ou(_r())),p=yn(),f=h=cn(_=b+=fI(Eu())),m++;break;case 45:S===45&&cn(b)==2&&(y=0)}}return i}function u_(e,t,r,n,o,i,a,s,u,c,f){for(var h=o-1,p=o===0?i:[""],w=_v(p),S=0,y=0,C=0;S0?p[g]+" "+m:je(m,/&\f/g,p[g])))&&(u[C++]=_);return rf(e,t,r,o===0?gv:s,u,c,f)}function dI(e,t,r){return rf(e,t,r,Ix,ef(aI()),Xl(e,2,-2),0)}function c_(e,t,r,n){return rf(e,t,r,yv,Xl(e,0,n),Xl(e,n+1,-1),n)}function Vo(e,t){for(var r="",n=_v(e),o=0;o6)switch(Et(e,t+1)){case 109:if(Et(e,t+4)!==45)break;case 102:return je(e,/(.+:)(.+)-([^]+)/,"$1"+Pe+"$2-$3$1"+fc+(Et(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Jp(e,"stretch")?Nx(je(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Et(e,t+1)!==115)break;case 6444:switch(Et(e,cn(e)-3-(~Jp(e,"!important")&&10))){case 107:return je(e,":",":"+Pe)+e;case 101:return je(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Pe+(Et(e,14)===45?"inline-":"")+"box$3$1"+Pe+"$2$3$1"+Nt+"$2box$3")+e}break;case 5936:switch(Et(e,t+11)){case 114:return Pe+e+Nt+je(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Pe+e+Nt+je(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Pe+e+Nt+je(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Pe+e+Nt+e+e}return e}var SI=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case yv:t.return=Nx(t.value,t.length);break;case zx:return Vo([nl(t,{value:je(t.value,"@","@"+Pe)})],o);case gv:if(t.length)return iI(t.props,function(i){switch(oI(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Vo([nl(t,{props:[je(i,/:(read-\w+)/,":"+fc+"$1")]})],o);case"::placeholder":return Vo([nl(t,{props:[je(i,/:(plac\w+)/,":"+Pe+"input-$1")]}),nl(t,{props:[je(i,/:(plac\w+)/,":"+fc+"$1")]}),nl(t,{props:[je(i,/:(plac\w+)/,Nt+"input-$1")]})],o)}return""})}},Pu=typeof document<"u",wI=Pu?void 0:pI(function(){return vv(function(){var e={};return function(t){return e[t]}})}),bI=[SI],$x=function(t){var r=t.key;if(Pu&&r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(T){var O=T.getAttribute("data-emotion");O.indexOf(" ")!==-1&&(document.head.appendChild(T),T.setAttribute("data-s",""))})}var o=t.stylisPlugins||bI,i={},a,s=[];Pu&&(a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(T){for(var O=T.getAttribute("data-emotion").split(" "),k=1;k=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var II={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},zI=/[A-Z]|^ms/g,jI=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Wx=function(t){return t.charCodeAt(1)===45},m_=function(t){return t!=null&&typeof t!="boolean"},Zd=vv(function(e){return Wx(e)?e:e.replace(zI,"-$&").toLowerCase()}),v_=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(jI,function(n,o,i){return fn={name:o,styles:i,next:fn},o})}return II[t]!==1&&!Wx(t)&&typeof r=="number"&&r!==0?r+"px":r};function Zl(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return fn={name:r.name,styles:r.styles,next:fn},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)fn={name:n.name,styles:n.styles,next:fn},n=n.next;var o=r.styles+";";return o}return AI(e,t,r)}case"function":{if(e!==void 0){var i=fn,a=r(e);return fn=i,Zl(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function AI(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o96?LI:NI},__=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},$I=typeof document<"u",DI=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;Fx(r,n,o);var i=RI(function(){return kI(r,n,o)});if(!$I&&i!==void 0){for(var a,s=n.name,u=n.next;u!==void 0;)s+=" "+u.name,u=u.next;return N.createElement("style",(a={},a["data-emotion"]=r.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=r.sheet.nonce,a))}return null},FI=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=__(t,r,n),u=s||y_(o),c=!u("as");return function(){var f=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)h.push.apply(h,f);else{h.push(f[0][0]);for(var p=f.length,w=1;w"u")return!1;var t=$r(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function y2(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!jr(i)||!xn(i)||(Object.assign(i.style,n),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function _2(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],i=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=a.reduce(function(u,c){return u[c]="",u},{});!jr(o)||!xn(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(u){o.removeAttribute(u)}))})}}var S2={name:"applyStyles",enabled:!0,phase:"write",fn:y2,effect:_2,requires:["computeStyles"]};function _n(e){return e.split("-")[0]}var Ko=Math.max,pc=Math.min,da=Math.round;function tm(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Xx(){return!/^((?!chrome|android).)*safari/i.test(tm())}function ha(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&jr(e)&&(o=e.offsetWidth>0&&da(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&da(n.height)/e.offsetHeight||1);var a=ni(e)?$r(e):window,s=a.visualViewport,u=!Xx()&&r,c=(n.left+(u&&s?s.offsetLeft:0))/o,f=(n.top+(u&&s?s.offsetTop:0))/i,h=n.width/o,p=n.height/i;return{width:h,height:p,top:f,right:c+h,bottom:f+p,left:c,x:c,y:f}}function xv(e){var t=ha(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Jx(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&bv(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Un(e){return $r(e).getComputedStyle(e)}function w2(e){return["table","td","th"].indexOf(xn(e))>=0}function ko(e){return((ni(e)?e.ownerDocument:e.document)||window.document).documentElement}function of(e){return xn(e)==="html"?e:e.assignedSlot||e.parentNode||(bv(e)?e.host:null)||ko(e)}function M_(e){return!jr(e)||Un(e).position==="fixed"?null:e.offsetParent}function b2(e){var t=/firefox/i.test(tm()),r=/Trident/i.test(tm());if(r&&jr(e)){var n=Un(e);if(n.position==="fixed")return null}var o=of(e);for(bv(o)&&(o=o.host);jr(o)&&["html","body"].indexOf(xn(o))<0;){var i=Un(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function ys(e){for(var t=$r(e),r=M_(e);r&&w2(r)&&Un(r).position==="static";)r=M_(r);return r&&(xn(r)==="html"||xn(r)==="body"&&Un(r).position==="static")?t:r||b2(e)||t}function Cv(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ol(e,t,r){return Ko(e,pc(t,r))}function x2(e,t,r){var n=Ol(e,t,r);return n>r?r:n}function Zx(){return{top:0,right:0,bottom:0,left:0}}function eC(e){return Object.assign({},Zx(),e)}function tC(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var C2=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,eC(typeof t!="number"?t:tC(t,gs))};function R2(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=_n(r.placement),u=Cv(s),c=[ir,Nr].indexOf(s)>=0,f=c?"height":"width";if(!(!i||!a)){var h=C2(o.padding,r),p=xv(i),w=u==="y"?or:ir,S=u==="y"?Lr:Nr,y=r.rects.reference[f]+r.rects.reference[u]-a[u]-r.rects.popper[f],C=a[u]-r.rects.reference[u],g=ys(i),m=g?u==="y"?g.clientHeight||0:g.clientWidth||0:0,_=y/2-C/2,T=h[w],O=m-p[f]-h[S],k=m/2-p[f]/2+_,b=Ol(T,k,O),E=u;r.modifiersData[n]=(t={},t[E]=b,t.centerOffset=b-k,t)}}function T2(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Jx(t.elements.popper,o)&&(t.elements.arrow=o))}var E2={name:"arrow",enabled:!0,phase:"main",fn:R2,effect:T2,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pa(e){return e.split("-")[1]}var O2={top:"auto",right:"auto",bottom:"auto",left:"auto"};function k2(e){var t=e.x,r=e.y,n=window,o=n.devicePixelRatio||1;return{x:da(t*o)/o||0,y:da(r*o)/o||0}}function L_(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,h=e.isFixed,p=a.x,w=p===void 0?0:p,S=a.y,y=S===void 0?0:S,C=typeof f=="function"?f({x:w,y}):{x:w,y};w=C.x,y=C.y;var g=a.hasOwnProperty("x"),m=a.hasOwnProperty("y"),_=ir,T=or,O=window;if(c){var k=ys(r),b="clientHeight",E="clientWidth";if(k===$r(r)&&(k=ko(r),Un(k).position!=="static"&&s==="absolute"&&(b="scrollHeight",E="scrollWidth")),k=k,o===or||(o===ir||o===Nr)&&i===es){T=Lr;var P=h&&k===O&&O.visualViewport?O.visualViewport.height:k[b];y-=P-n.height,y*=u?1:-1}if(o===ir||(o===or||o===Lr)&&i===es){_=Nr;var I=h&&k===O&&O.visualViewport?O.visualViewport.width:k[E];w-=I-n.width,w*=u?1:-1}}var M=Object.assign({position:s},c&&O2),F=f===!0?k2({x:w,y}):{x:w,y};if(w=F.x,y=F.y,u){var q;return Object.assign({},M,(q={},q[T]=m?"0":"",q[_]=g?"0":"",q.transform=(O.devicePixelRatio||1)<=1?"translate("+w+"px, "+y+"px)":"translate3d("+w+"px, "+y+"px, 0)",q))}return Object.assign({},M,(t={},t[T]=m?y+"px":"",t[_]=g?w+"px":"",t.transform="",t))}function P2(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,u=s===void 0?!0:s,c={placement:_n(t.placement),variation:pa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,L_(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,L_(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var I2={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:P2,data:{}},ou={passive:!0};function z2(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,u=$r(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(f){f.addEventListener("scroll",r.update,ou)}),s&&u.addEventListener("resize",r.update,ou),function(){i&&c.forEach(function(f){f.removeEventListener("scroll",r.update,ou)}),s&&u.removeEventListener("resize",r.update,ou)}}var j2={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:z2,data:{}},A2={left:"right",right:"left",bottom:"top",top:"bottom"};function Iu(e){return e.replace(/left|right|bottom|top/g,function(t){return A2[t]})}var M2={start:"end",end:"start"};function N_(e){return e.replace(/start|end/g,function(t){return M2[t]})}function Rv(e){var t=$r(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Tv(e){return ha(ko(e)).left+Rv(e).scrollLeft}function L2(e,t){var r=$r(e),n=ko(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,u=0;if(o){i=o.width,a=o.height;var c=Xx();(c||!c&&t==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:s+Tv(e),y:u}}function N2(e){var t,r=ko(e),n=Rv(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Ko(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Ko(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+Tv(e),u=-n.scrollTop;return Un(o||r).direction==="rtl"&&(s+=Ko(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}function Ev(e){var t=Un(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function rC(e){return["html","body","#document"].indexOf(xn(e))>=0?e.ownerDocument.body:jr(e)&&Ev(e)?e:rC(of(e))}function kl(e,t){var r;t===void 0&&(t=[]);var n=rC(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=$r(n),a=o?[i].concat(i.visualViewport||[],Ev(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(kl(of(a)))}function rm(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function $2(e,t){var r=ha(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function $_(e,t,r){return t===Yx?rm(L2(e,r)):ni(t)?$2(t,r):rm(N2(ko(e)))}function D2(e){var t=kl(of(e)),r=["absolute","fixed"].indexOf(Un(e).position)>=0,n=r&&jr(e)?ys(e):e;return ni(n)?t.filter(function(o){return ni(o)&&Jx(o,n)&&xn(o)!=="body"}):[]}function F2(e,t,r,n){var o=t==="clippingParents"?D2(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(u,c){var f=$_(e,c,n);return u.top=Ko(f.top,u.top),u.right=pc(f.right,u.right),u.bottom=pc(f.bottom,u.bottom),u.left=Ko(f.left,u.left),u},$_(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function nC(e){var t=e.reference,r=e.element,n=e.placement,o=n?_n(n):null,i=n?pa(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(o){case or:u={x:a,y:t.y-r.height};break;case Lr:u={x:a,y:t.y+t.height};break;case Nr:u={x:t.x+t.width,y:s};break;case ir:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var c=o?Cv(o):null;if(c!=null){var f=c==="y"?"height":"width";switch(i){case fa:u[c]=u[c]-(t[f]/2-r[f]/2);break;case es:u[c]=u[c]+(t[f]/2-r[f]/2);break}}return u}function ts(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,u=s===void 0?a2:s,c=r.rootBoundary,f=c===void 0?Yx:c,h=r.elementContext,p=h===void 0?ol:h,w=r.altBoundary,S=w===void 0?!1:w,y=r.padding,C=y===void 0?0:y,g=eC(typeof C!="number"?C:tC(C,gs)),m=p===ol?l2:ol,_=e.rects.popper,T=e.elements[S?m:p],O=F2(ni(T)?T:T.contextElement||ko(e.elements.popper),u,f,a),k=ha(e.elements.reference),b=nC({reference:k,element:_,strategy:"absolute",placement:o}),E=rm(Object.assign({},_,b)),P=p===ol?E:k,I={top:O.top-P.top+g.top,bottom:P.bottom-O.bottom+g.bottom,left:O.left-P.left+g.left,right:P.right-O.right+g.right},M=e.modifiersData.offset;if(p===ol&&M){var F=M[o];Object.keys(I).forEach(function(q){var G=[Nr,Lr].indexOf(q)>=0?1:-1,ue=[or,Lr].indexOf(q)>=0?"y":"x";I[q]+=F[ue]*G})}return I}function W2(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,c=u===void 0?Qx:u,f=pa(n),h=f?s?A_:A_.filter(function(S){return pa(S)===f}):gs,p=h.filter(function(S){return c.indexOf(S)>=0});p.length===0&&(p=h);var w=p.reduce(function(S,y){return S[y]=ts(e,{placement:y,boundary:o,rootBoundary:i,padding:a})[_n(y)],S},{});return Object.keys(w).sort(function(S,y){return w[S]-w[y]})}function B2(e){if(_n(e)===wv)return[];var t=Iu(e);return[N_(e),t,N_(t)]}function U2(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,u=r.fallbackPlacements,c=r.padding,f=r.boundary,h=r.rootBoundary,p=r.altBoundary,w=r.flipVariations,S=w===void 0?!0:w,y=r.allowedAutoPlacements,C=t.options.placement,g=_n(C),m=g===C,_=u||(m||!S?[Iu(C)]:B2(C)),T=[C].concat(_).reduce(function(tt,ye){return tt.concat(_n(ye)===wv?W2(t,{placement:ye,boundary:f,rootBoundary:h,padding:c,flipVariations:S,allowedAutoPlacements:y}):ye)},[]),O=t.rects.reference,k=t.rects.popper,b=new Map,E=!0,P=T[0],I=0;I=0,ue=G?"width":"height",se=ts(t,{placement:M,boundary:f,rootBoundary:h,altBoundary:p,padding:c}),ge=G?q?Nr:ir:q?Lr:or;O[ue]>k[ue]&&(ge=Iu(ge));var Z=Iu(ge),ie=[];if(i&&ie.push(se[F]<=0),s&&ie.push(se[ge]<=0,se[Z]<=0),ie.every(function(tt){return tt})){P=M,E=!1;break}b.set(M,ie)}if(E)for(var fe=S?3:1,Se=function(ye){var H=T.find(function(V){var U=b.get(V);if(U)return U.slice(0,ye).every(function(J){return J})});if(H)return P=H,"break"},Ee=fe;Ee>0;Ee--){var xt=Se(Ee);if(xt==="break")break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}}var H2={name:"flip",enabled:!0,phase:"main",fn:U2,requiresIfExists:["offset"],data:{_skip:!1}};function D_(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function F_(e){return[or,Nr,Lr,ir].some(function(t){return e[t]>=0})}function q2(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ts(t,{elementContext:"reference"}),s=ts(t,{altBoundary:!0}),u=D_(a,n),c=D_(s,o,i),f=F_(u),h=F_(c);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}var G2={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:q2};function V2(e,t,r){var n=_n(e),o=[ir,or].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[ir,Nr].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function K2(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=Qx.reduce(function(f,h){return f[h]=V2(h,t.rects,i),f},{}),s=a[t.placement],u=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}var Y2={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:K2};function Q2(e){var t=e.state,r=e.name;t.modifiersData[r]=nC({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var X2={name:"popperOffsets",enabled:!0,phase:"read",fn:Q2,data:{}};function J2(e){return e==="x"?"y":"x"}function Z2(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,u=r.boundary,c=r.rootBoundary,f=r.altBoundary,h=r.padding,p=r.tether,w=p===void 0?!0:p,S=r.tetherOffset,y=S===void 0?0:S,C=ts(t,{boundary:u,rootBoundary:c,padding:h,altBoundary:f}),g=_n(t.placement),m=pa(t.placement),_=!m,T=Cv(g),O=J2(T),k=t.modifiersData.popperOffsets,b=t.rects.reference,E=t.rects.popper,P=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,I=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(k){if(i){var q,G=T==="y"?or:ir,ue=T==="y"?Lr:Nr,se=T==="y"?"height":"width",ge=k[T],Z=ge+C[G],ie=ge-C[ue],fe=w?-E[se]/2:0,Se=m===fa?b[se]:E[se],Ee=m===fa?-E[se]:-b[se],xt=t.elements.arrow,tt=w&&xt?xv(xt):{width:0,height:0},ye=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Zx(),H=ye[G],V=ye[ue],U=Ol(0,b[se],tt[se]),J=_?b[se]/2-fe-U-H-I.mainAxis:Se-U-H-I.mainAxis,B=_?-b[se]/2+fe+U+V+I.mainAxis:Ee+U+V+I.mainAxis,de=t.elements.arrow&&ys(t.elements.arrow),oe=de?T==="y"?de.clientTop||0:de.clientLeft||0:0,te=(q=M==null?void 0:M[T])!=null?q:0,re=ge+J-te-oe,K=ge+B-te,X=Ol(w?pc(Z,re):Z,ge,w?Ko(ie,K):ie);k[T]=X,F[T]=X-ge}if(s){var ae,pe=T==="x"?or:ir,me=T==="x"?Lr:Nr,ve=k[O],we=O==="y"?"height":"width",Te=ve+C[pe],Me=ve-C[me],Ue=[or,ir].indexOf(g)!==-1,sr=(ae=M==null?void 0:M[O])!=null?ae:0,Tr=Ue?Te:ve-b[we]-E[we]-sr+I.altAxis,Er=Ue?ve+b[we]+E[we]-sr-I.altAxis:Me,Jt=w&&Ue?x2(Tr,ve,Er):Ol(w?Tr:Te,ve,w?Er:Me);k[O]=Jt,F[O]=Jt-ve}t.modifiersData[n]=F}}var ez={name:"preventOverflow",enabled:!0,phase:"main",fn:Z2,requiresIfExists:["offset"]};function tz(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function rz(e){return e===$r(e)||!jr(e)?Rv(e):tz(e)}function nz(e){var t=e.getBoundingClientRect(),r=da(t.width)/e.offsetWidth||1,n=da(t.height)/e.offsetHeight||1;return r!==1||n!==1}function oz(e,t,r){r===void 0&&(r=!1);var n=jr(t),o=jr(t)&&nz(t),i=ko(t),a=ha(e,o,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((xn(t)!=="body"||Ev(i))&&(s=rz(t)),jr(t)?(u=ha(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=Tv(i))),{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function iz(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&o(u)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function az(e){var t=iz(e);return g2.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function lz(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function sz(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var W_={placement:"bottom",modifiers:[],strategy:"absolute"};function B_(){for(var e=arguments.length,t=new Array(e),r=0;r .`,` { - `,`; - - `,`; - } -`],[` - position: relative; - width: 100%; - - `,`; - - `,`; - - > .`,` { - `,`; - - `,`; - } -`])),function(e){var t=e.menuItemStyles;return t},function(e){var t=e.rootStyles;return t},Le.button,function(e){var t=e.level,r=e.disabled,n=e.active,o=e.collapsed,i=e.rtl;return oC({level:t,disabled:r,active:n,collapsed:o,rtl:i})},function(e){var t=e.buttonStyles;return t}),mz=function(e,t){var r,n=e.children,o=e.className,i=e.label,a=e.icon,s=e.title,u=e.prefix,c=e.suffix,f=e.open,h=e.defaultOpen,p=e.active,w=p===void 0?!1:p,S=e.disabled,y=S===void 0?!1:S,C=e.rootStyles,g=e.component,m=e.onOpenChange,_=e.onClick,T=e.onKeyUp,O=ri(e,["children","className","label","icon","title","prefix","suffix","open","defaultOpen","active","disabled","rootStyles","component","onOpenChange","onClick","onKeyUp"]),k=ne.useContext(hc),b=ne.useContext(nf),E=b.collapsed,P=b.rtl,I=b.transitionDuration,M=Sv(),F=M.renderExpandIcon,q=M.closeOnClick,G=M.menuItemStyles,ue=M.transitionDuration,se=ne.useState(!!h),ge=se[0],Z=se[1],ie=ne.useState(!1),fe=ie[0],Se=ie[1],Ee=ne.useState(!1),xt=Ee[0],tt=Ee[1],ye=ne.useRef(null),H=ne.useRef(null),V=ne.useRef(),U=dz({level:k,buttonRef:ye,contentRef:H}).popperInstance,J=function(){var X=H.current;if(X){X.style.display="block",X.style.overflow="hidden",X.style.height="auto";var ae=X.offsetHeight;X.style.height="0px",X.offsetHeight,X.style.height="".concat(ae,"px"),V.current=setTimeout(function(){X.style.overflow="auto",X.style.height="auto"},ue)}},B=function(){var X=H.current;X&&(X.style.overflow="hidden",X.style.height="".concat(X.offsetHeight,"px"),X.offsetHeight,X.style.height="0px",V.current=setTimeout(function(){X.style.overflow="auto",X.style.display="none"},ue))},de=function(){if(!(k===0&&E)){clearTimeout(Number(V.current));var X=f??ge;X?B():J(),m==null||m(!X),typeof f>"u"&&Z(!ge)}},oe=function(X){_==null||_(X),de()},te=function(X){T==null||T(X),X.key==="Enter"&&de()},re=function(X){if(G){var ae={level:k,disabled:y,active:w,isSubmenu:!0,open:f??ge},pe=G.root,me=G.button,ve=G.label,we=G.icon,Te=G.prefix,Me=G.suffix,Ue=G.subMenuContent,sr=G.SubMenuExpandIcon;switch(X){case"root":return typeof pe=="function"?pe(ae):pe;case"button":return typeof me=="function"?me(ae):me;case"label":return typeof ve=="function"?ve(ae):ve;case"icon":return typeof we=="function"?we(ae):we;case"prefix":return typeof Te=="function"?Te(ae):Te;case"suffix":return typeof Me=="function"?Me(ae):Me;case"SubMenuExpandIcon":return typeof sr=="function"?sr(ae):sr;case"subMenuContent":return typeof Ue=="function"?Ue(ae):Ue;default:return}}};ne.useEffect(function(){setTimeout(function(){return U==null?void 0:U.update()},I),E&&k===0&&Se(!1)},[E,k,P,I,U]),ne.useEffect(function(){var X=function(ve){var we,Te,Me;!fe&&(!((we=ye.current)===null||we===void 0)&&we.contains(ve))?Se(!0):(q&&!(!((Te=ve.closest(".".concat(Le.menuItemRoot)))===null||Te===void 0)&&Te.classList.contains(Le.subMenuRoot))||!(!((Me=H.current)===null||Me===void 0)&&Me.contains(ve))&&fe)&&Se(!1)},ae=function(ve){X(ve.target)},pe=function(ve){ve.key==="Enter"?X(ve.target):ve.key==="Escape"&&Se(!1)},me=function(){document.removeEventListener("click",ae),document.removeEventListener("keyup",pe)};return me(),E&&k===0&&(document.addEventListener("click",ae,!1),document.addEventListener("keyup",pe,!1)),function(){me()}},[E,k,q,fe]),ne.useEffect(function(){tt(!0)},[]);var K=(r={},r[Le.active]=w,r[Le.disabled]=y,r[Le.open]=f??ge,r);return ne.createElement(pz,{ref:t,className:gt(Le.menuItemRoot,Le.subMenuRoot,K,o),menuItemStyles:re("root"),level:k,collapsed:E,rtl:P,disabled:y,active:w,buttonStyles:re("button"),rootStyles:C},ne.createElement(iC,mr({"data-testid":"".concat(Le.button,"-test-id"),ref:ye,title:s,className:gt(Le.button,K),onClick:oe,onKeyUp:te,component:g,tabIndex:0},O),a&&ne.createElement(Gx,{rtl:P,className:gt(Le.icon,K),rootStyles:re("icon")},a),u&&ne.createElement(Vx,{collapsed:E,transitionDuration:I,firstLevel:k===0,className:gt(Le.prefix,K),rtl:P,rootStyles:re("prefix")},u),ne.createElement(qx,{className:gt(Le.label,K),rootStyles:re("label")},i),c&&ne.createElement(Kx,{collapsed:E,transitionDuration:I,firstLevel:k===0,className:gt(Le.suffix,K),rootStyles:re("suffix")},c),ne.createElement(n2,{rtl:P,className:gt(Le.SubMenuExpandIcon,K),collapsed:E,level:k,rootStyles:re("SubMenuExpandIcon")},F?F({level:k,disabled:y,active:w,open:f??ge}):E&&k===0?ne.createElement(i2,null):ne.createElement(o2,{rtl:P,open:f??ge}))),ne.createElement(r2,{ref:H,openWhenCollapsed:fe,open:f??ge,firstLevel:k===0,collapsed:E,defaultOpen:f&&!xt||h,className:gt(Le.subMenuContent,K),rootStyles:re("subMenuContent")},ne.createElement(hc.Provider,{value:k+1},n)))};ne.forwardRef(mz);var U_,vz=wt.li(H_||(H_=Bt([` - width: 100%; - position: relative; - - `,`; - - `,`; - - > .`,` { - `,`; - - `,`; - } -`],[` - width: 100%; - position: relative; - - `,`; - - `,`; - - > .`,` { - `,`; - - `,`; - } -`])),function(e){var t=e.menuItemStyles;return t},function(e){var t=e.rootStyles;return t},Le.button,function(e){var t=e.level,r=e.disabled,n=e.active,o=e.collapsed,i=e.rtl;return oC({level:t,disabled:r,active:n,collapsed:o,rtl:i})},function(e){var t=e.buttonStyles;return t}),gz=function(e,t){var r,n=e.children,o=e.icon,i=e.className,a=e.prefix,s=e.suffix,u=e.active,c=u===void 0?!1:u,f=e.disabled,h=f===void 0?!1:f,p=e.component,w=e.rootStyles,S=ri(e,["children","icon","className","prefix","suffix","active","disabled","component","rootStyles"]),y=ne.useContext(hc),C=ne.useContext(nf),g=C.collapsed,m=C.rtl,_=C.transitionDuration,T=Sv().menuItemStyles,O=function(b){if(T){var E={level:y,disabled:h,active:c,isSubmenu:!1},P=T.root,I=T.button,M=T.label,F=T.icon,q=T.prefix,G=T.suffix;switch(b){case"root":return typeof P=="function"?P(E):P;case"button":return typeof I=="function"?I(E):I;case"label":return typeof M=="function"?M(E):M;case"icon":return typeof F=="function"?F(E):F;case"prefix":return typeof q=="function"?q(E):q;case"suffix":return typeof G=="function"?G(E):G;default:return}}},k=(r={},r[Le.active]=c,r[Le.disabled]=h,r);return ne.createElement(vz,{ref:t,className:gt(Le.menuItemRoot,k,i),menuItemStyles:O("root"),level:y,collapsed:g,rtl:m,disabled:h,active:c,buttonStyles:O("button"),rootStyles:w},ne.createElement(iC,mr({className:gt(Le.button,k),"data-testid":"".concat(Le.button,"-test-id"),component:p,tabIndex:0},S),o&&ne.createElement(Gx,{rtl:m,className:gt(Le.icon,k),rootStyles:O("icon")},o),a&&ne.createElement(Vx,{collapsed:g,transitionDuration:_,firstLevel:y===0,className:gt(Le.prefix,k),rtl:m,rootStyles:O("prefix")},a),ne.createElement(qx,{className:gt(Le.label,k),rootStyles:O("label")},n),s&&ne.createElement(Kx,{collapsed:g,transitionDuration:_,firstLevel:y===0,className:gt(Le.suffix,k),rootStyles:O("suffix")},s)))},Ur=ne.forwardRef(gz),H_,Ov={},aC={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(aC);var en=aC.exports,eh={};function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[r]=lC(e[r])}),t}function $n(e,t,r={clone:!0}){const n=r.clone?_e({},e):e;return Ii(e)&&Ii(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Ii(t[o])&&o in e&&Ii(e[o])?n[o]=$n(e[o],t[o],r):r.clone?n[o]=Ii(t[o])?lC(t[o]):t[o]:n[o]=t[o])}),n}var th={exports:{}},rh,q_;function yz(){if(q_)return rh;q_=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return rh=e,rh}var nh,G_;function _z(){if(G_)return nh;G_=1;var e=yz();function t(){}function r(){}return r.resetWarningCache=t,nh=function(){function n(a,s,u,c,f,h){if(h!==e){var p=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 p.name="Invariant Violation",p}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},nh}var V_;function sC(){return V_||(V_=1,th.exports=_z()()),th.exports}sC();function ma(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;rr==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function xz(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function Cz(e,t){return()=>null}function Rz(e,t){return N.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function cC(e){return e&&e.ownerDocument||document}function Tz(e){return cC(e).defaultView||window}function Ez(e,t){return()=>null}function fC(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Oz=typeof window<"u"?N.useLayoutEffect:N.useEffect,dC=Oz;let K_=0;function kz(e){const[t,r]=N.useState(e),n=e||t;return N.useEffect(()=>{t==null&&(K_+=1,r(`mui-${K_}`))},[t]),n}const Y_=ra["useId".toString()];function Pz(e){if(Y_!==void 0){const t=Y_();return e??t}return kz(e)}function Iz(e,t,r,n,o){return null}function zz({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=N.useRef(e!==void 0),[i,a]=N.useState(t),s=o?e:i,u=N.useCallback(c=>{o||a(c)},[]);return[s,u]}function jz(e){const t=N.useRef(e);return dC(()=>{t.current=e}),N.useCallback((...r)=>(0,t.current)(...r),[])}function Az(...e){return N.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{fC(r,t)})},e)}let vf=!0,nm=!1,Q_;const Mz={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 Lz(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&Mz[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Nz(e){e.metaKey||e.altKey||e.ctrlKey||(vf=!0)}function oh(){vf=!1}function $z(){this.visibilityState==="hidden"&&nm&&(vf=!0)}function Dz(e){e.addEventListener("keydown",Nz,!0),e.addEventListener("mousedown",oh,!0),e.addEventListener("pointerdown",oh,!0),e.addEventListener("touchstart",oh,!0),e.addEventListener("visibilitychange",$z,!0)}function Fz(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return vf||Lz(t)}function Wz(){const e=N.useCallback(o=>{o!=null&&Dz(o.ownerDocument)},[]),t=N.useRef(!1);function r(){return t.current?(nm=!0,window.clearTimeout(Q_),Q_=window.setTimeout(()=>{nm=!1},100),t.current=!1,!0):!1}function n(o){return Fz(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function hC(e,t){const r=_e({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=_e({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=_e({},i),Object.keys(o).forEach(a=>{r[n][a]=hC(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Bz(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const s=t(a);s!==""&&i.push(s),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}const X_=e=>e,Uz=()=>{let e=X_;return{configure(t){e=t},generate(t){return e(t)},reset(){e=X_}}},Hz=Uz(),pC=Hz,qz={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function mC(e,t,r="Mui"){const n=qz[t];return n?`${r}-${n}`:`${pC.generate(e)}-${t}`}function Gz(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=mC(e,o,r)}),n}function Cn(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i=0)&&(r[o]=e[o]);return r}function vC(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t0?Ot(za,--lr):0,va--,ht===10&&(va=1,yf--),ht}function Sr(){return ht=lr2||ns(ht)>3?"":" "}function uj(e,t){for(;--t&&Sr()&&!(ht<48||ht>102||ht>57&&ht<65||ht>70&&ht<97););return _s(e,zu()+(t<6&&wn()==32&&Sr()==32))}function im(e){for(;Sr();)switch(ht){case e:return lr;case 34:case 39:e!==34&&e!==39&&im(ht);break;case 40:e===41&&im(e);break;case 92:Sr();break}return lr}function cj(e,t){for(;Sr()&&e+ht!==47+10;)if(e+ht===42+42&&wn()===47)break;return"/*"+_s(t,lr-1)+"*"+gf(e===47?e:Sr())}function fj(e){for(;!ns(wn());)Sr();return _s(e,lr)}function dj(e){return xC(Au("",null,null,null,[""],e=bC(e),0,[0],e))}function Au(e,t,r,n,o,i,a,s,u){for(var c=0,f=0,h=a,p=0,w=0,S=0,y=1,C=1,g=1,m=0,_="",T=o,O=i,k=n,b=_;C;)switch(S=m,m=Sr()){case 40:if(S!=108&&Ot(b,h-1)==58){om(b+=ze(ju(m),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:b+=ju(m);break;case 9:case 10:case 13:case 32:b+=sj(S);break;case 92:b+=uj(zu()-1,7);continue;case 47:switch(wn()){case 42:case 47:iu(hj(cj(Sr(),zu()),t,r),u);break;default:b+="/"}break;case 123*y:s[c++]=dn(b)*g;case 125*y:case 59:case 0:switch(m){case 0:case 125:C=0;case 59+f:g==-1&&(b=ze(b,/\f/g,"")),w>0&&dn(b)-h&&iu(w>32?Z_(b+";",n,r,h-1):Z_(ze(b," ","")+";",n,r,h-2),u);break;case 59:b+=";";default:if(iu(k=J_(b,t,r,c,f,o,s,_,T=[],O=[],h),i),m===123)if(f===0)Au(b,t,k,k,T,i,h,s,O);else switch(p===99&&Ot(b,3)===110?100:p){case 100:case 108:case 109:case 115:Au(e,k,k,n&&iu(J_(e,k,k,0,0,o,s,_,o,T=[],h),O),o,O,h,s,n?T:O);break;default:Au(b,k,k,k,[""],O,0,s,O)}}c=f=w=0,y=g=1,_=b="",h=a;break;case 58:h=1+dn(b),w=S;default:if(y<1){if(m==123)--y;else if(m==125&&y++==0&&lj()==125)continue}switch(b+=gf(m),m*y){case 38:g=f>0?1:(b+="\f",-1);break;case 44:s[c++]=(dn(b)-1)*g,g=1;break;case 64:wn()===45&&(b+=ju(Sr())),p=wn(),f=h=dn(_=b+=fj(zu())),m++;break;case 45:S===45&&dn(b)==2&&(y=0)}}return i}function J_(e,t,r,n,o,i,a,s,u,c,f){for(var h=o-1,p=o===0?i:[""],w=jv(p),S=0,y=0,C=0;S0?p[g]+" "+m:ze(m,/&\f/g,p[g])))&&(u[C++]=_);return _f(e,t,r,o===0?Iv:s,u,c,f)}function hj(e,t,r){return _f(e,t,r,yC,gf(aj()),rs(e,2,-2),0)}function Z_(e,t,r,n){return _f(e,t,r,zv,rs(e,0,n),rs(e,n+1,-1),n)}function Ji(e,t){for(var r="",n=jv(e),o=0;o6)switch(Ot(e,t+1)){case 109:if(Ot(e,t+4)!==45)break;case 102:return ze(e,/(.+:)(.+)-([^]+)/,"$1"+Ie+"$2-$3$1"+mc+(Ot(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~om(e,"stretch")?CC(ze(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ot(e,t+1)!==115)break;case 6444:switch(Ot(e,dn(e)-3-(~om(e,"!important")&&10))){case 107:return ze(e,":",":"+Ie)+e;case 101:return ze(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ie+(Ot(e,14)===45?"inline-":"")+"box$3$1"+Ie+"$2$3$1"+$t+"$2box$3")+e}break;case 5936:switch(Ot(e,t+11)){case 114:return Ie+e+$t+ze(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ie+e+$t+ze(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ie+e+$t+ze(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ie+e+$t+e+e}return e}var bj=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case zv:t.return=CC(t.value,t.length);break;case _C:return Ji([il(t,{value:ze(t.value,"@","@"+Ie)})],o);case Iv:if(t.length)return ij(t.props,function(i){switch(oj(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ji([il(t,{props:[ze(i,/:(read-\w+)/,":"+mc+"$1")]})],o);case"::placeholder":return Ji([il(t,{props:[ze(i,/:(plac\w+)/,":"+Ie+"input-$1")]}),il(t,{props:[ze(i,/:(plac\w+)/,":"+mc+"$1")]}),il(t,{props:[ze(i,/:(plac\w+)/,$t+"input-$1")]})],o)}return""})}},xj=[bj],Cj=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(y){var C=y.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||xj,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var C=y.getAttribute("data-emotion").split(" "),g=1;g=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Nj={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},$j=/[A-Z]|^ms/g,Dj=/_EMO_([^_]+?)_([^]*?)_EMO_/g,PC=function(t){return t.charCodeAt(1)===45},tS=function(t){return t!=null&&typeof t!="boolean"},ih=gC(function(e){return PC(e)?e:e.replace($j,"-$&").toLowerCase()}),rS=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Dj,function(n,o,i){return hn={name:o,styles:i,next:hn},o})}return Nj[t]!==1&&!PC(t)&&typeof r=="number"&&r!==0?r+"px":r};function os(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return hn={name:r.name,styles:r.styles,next:hn},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)hn={name:n.name,styles:n.styles,next:hn},n=n.next;var o=r.styles+";";return o}return Fj(e,t,r)}case"function":{if(e!==void 0){var i=hn,a=r(e);return hn=i,os(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function Fj(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o96?Gj:Vj},iS=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Kj=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return kC(r,n,o),Hj(function(){return Mj(r,n,o)}),null},Yj=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=iS(t,r,n),u=s||oS(o),c=!u("as");return function(){var f=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)h.push.apply(h,f);else{h.push(f[0][0]);for(var p=f.length,w=1;w{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Zj=["values","unit","step"],eA=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>_e({},r,{[n.key]:n.val}),{})};function tA(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=Cn(e,Zj),i=eA(t),a=Object.keys(i);function s(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function u(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function c(p,w){const S=a.indexOf(w);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(S!==-1&&typeof t[a[S]]=="number"?t[a[S]]:w)-n/100}${r})`}function f(p){return a.indexOf(p)+1`@media (min-width:${Nv[e]}px)`};function Hn(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||aS;return t.reduce((a,s,u)=>(a[i.up(i.keys[u])]=r(t[u]),a),{})}if(typeof t=="object"){const i=n.breakpoints||aS;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||Nv).indexOf(s)!==-1){const u=i.up(s);a[u]=r(t[s],s)}else{const u=s;a[u]=t[u]}return a},{})}return r(t)}function oA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function iA(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Pf(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function vc(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Pf(e,r)||n,t&&(o=t(o,n,e)),o}function Ae(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],u=a.theme,c=Pf(u,n)||{};return Hn(a,s,h=>{let p=vc(c,o,h);return h===p&&typeof h=="string"&&(p=vc(c,o,`${t}${h==="default"?"":Sn(h)}`,h)),r===!1?p:{[r]:p}})};return i.propTypes={},i.filterProps=[t],i}function aA(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const lA={m:"margin",p:"padding"},sA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},lS={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},uA=aA(e=>{if(e.length>2)if(lS[e])e=lS[e];else return[e];const[t,r]=e.split(""),n=lA[t],o=sA[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),$v=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Dv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...$v,...Dv];function Ss(e,t,r,n){var o;const i=(o=Pf(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:i*a:Array.isArray(i)?a=>typeof a=="string"?a:i[a]:typeof i=="function"?i:()=>{}}function jC(e){return Ss(e,"spacing",8)}function ws(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function cA(e,t){return r=>e.reduce((n,o)=>(n[o]=ws(t,r),n),{})}function fA(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=uA(r),i=cA(o,n),a=e[r];return Hn(e,a,i)}function AC(e,t){const r=jC(e.theme);return Object.keys(e).map(n=>fA(e,t,n,r)).reduce(Pl,{})}function rt(e){return AC(e,$v)}rt.propTypes={};rt.filterProps=$v;function nt(e){return AC(e,Dv)}nt.propTypes={};nt.filterProps=Dv;function dA(e=8){if(e.mui)return e;const t=jC({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return r.mui=!0,r}function If(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Pl(o,t[i](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function mn(e){return typeof e!="number"?e:`${e}px solid`}const hA=Ae({prop:"border",themeKey:"borders",transform:mn}),pA=Ae({prop:"borderTop",themeKey:"borders",transform:mn}),mA=Ae({prop:"borderRight",themeKey:"borders",transform:mn}),vA=Ae({prop:"borderBottom",themeKey:"borders",transform:mn}),gA=Ae({prop:"borderLeft",themeKey:"borders",transform:mn}),yA=Ae({prop:"borderColor",themeKey:"palette"}),_A=Ae({prop:"borderTopColor",themeKey:"palette"}),SA=Ae({prop:"borderRightColor",themeKey:"palette"}),wA=Ae({prop:"borderBottomColor",themeKey:"palette"}),bA=Ae({prop:"borderLeftColor",themeKey:"palette"}),zf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ss(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:ws(t,n)});return Hn(e,e.borderRadius,r)}return null};zf.propTypes={};zf.filterProps=["borderRadius"];If(hA,pA,mA,vA,gA,yA,_A,SA,wA,bA,zf);const jf=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ss(e.theme,"spacing",8),r=n=>({gap:ws(t,n)});return Hn(e,e.gap,r)}return null};jf.propTypes={};jf.filterProps=["gap"];const Af=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ss(e.theme,"spacing",8),r=n=>({columnGap:ws(t,n)});return Hn(e,e.columnGap,r)}return null};Af.propTypes={};Af.filterProps=["columnGap"];const Mf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ss(e.theme,"spacing",8),r=n=>({rowGap:ws(t,n)});return Hn(e,e.rowGap,r)}return null};Mf.propTypes={};Mf.filterProps=["rowGap"];const xA=Ae({prop:"gridColumn"}),CA=Ae({prop:"gridRow"}),RA=Ae({prop:"gridAutoFlow"}),TA=Ae({prop:"gridAutoColumns"}),EA=Ae({prop:"gridAutoRows"}),OA=Ae({prop:"gridTemplateColumns"}),kA=Ae({prop:"gridTemplateRows"}),PA=Ae({prop:"gridTemplateAreas"}),IA=Ae({prop:"gridArea"});If(jf,Af,Mf,xA,CA,RA,TA,EA,OA,kA,PA,IA);function Zi(e,t){return t==="grey"?t:e}const zA=Ae({prop:"color",themeKey:"palette",transform:Zi}),jA=Ae({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Zi}),AA=Ae({prop:"backgroundColor",themeKey:"palette",transform:Zi});If(zA,jA,AA);function vr(e){return e<=1&&e!==0?`${e*100}%`:e}const MA=Ae({prop:"width",transform:vr}),Fv=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n;return{maxWidth:((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Nv[r]||vr(r)}};return Hn(e,e.maxWidth,t)}return null};Fv.filterProps=["maxWidth"];const LA=Ae({prop:"minWidth",transform:vr}),NA=Ae({prop:"height",transform:vr}),$A=Ae({prop:"maxHeight",transform:vr}),DA=Ae({prop:"minHeight",transform:vr});Ae({prop:"size",cssProperty:"width",transform:vr});Ae({prop:"size",cssProperty:"height",transform:vr});const FA=Ae({prop:"boxSizing"});If(MA,Fv,LA,NA,$A,DA,FA);const WA={border:{themeKey:"borders",transform:mn},borderTop:{themeKey:"borders",transform:mn},borderRight:{themeKey:"borders",transform:mn},borderBottom:{themeKey:"borders",transform:mn},borderLeft:{themeKey:"borders",transform:mn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:zf},color:{themeKey:"palette",transform:Zi},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Zi},backgroundColor:{themeKey:"palette",transform:Zi},p:{style:nt},pt:{style:nt},pr:{style:nt},pb:{style:nt},pl:{style:nt},px:{style:nt},py:{style:nt},padding:{style:nt},paddingTop:{style:nt},paddingRight:{style:nt},paddingBottom:{style:nt},paddingLeft:{style:nt},paddingX:{style:nt},paddingY:{style:nt},paddingInline:{style:nt},paddingInlineStart:{style:nt},paddingInlineEnd:{style:nt},paddingBlock:{style:nt},paddingBlockStart:{style:nt},paddingBlockEnd:{style:nt},m:{style:rt},mt:{style:rt},mr:{style:rt},mb:{style:rt},ml:{style:rt},mx:{style:rt},my:{style:rt},margin:{style:rt},marginTop:{style:rt},marginRight:{style:rt},marginBottom:{style:rt},marginLeft:{style:rt},marginX:{style:rt},marginY:{style:rt},marginInline:{style:rt},marginInlineStart:{style:rt},marginInlineEnd:{style:rt},marginBlock:{style:rt},marginBlockStart:{style:rt},marginBlockEnd:{style:rt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:jf},rowGap:{style:Mf},columnGap:{style:Af},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:vr},maxWidth:{style:Fv},minWidth:{transform:vr},height:{transform:vr},maxHeight:{transform:vr},minHeight:{transform:vr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Wv=WA;function BA(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function UA(e,t){return typeof e=="function"?e(t):e}function HA(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:u=r,themeKey:c,transform:f,style:h}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const p=Pf(o,c)||{};return h?h(a):Hn(a,n,S=>{let y=vc(p,f,S);return S===y&&typeof S=="string"&&(y=vc(p,f,`${r}${S==="default"?"":Sn(S)}`,S)),u===!1?y:{[u]:y}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Wv;function s(u){let c=u;if(typeof u=="function")c=u(i);else if(typeof u!="object")return u;if(!c)return null;const f=oA(i.breakpoints),h=Object.keys(f);let p=f;return Object.keys(c).forEach(w=>{const S=UA(c[w],i);if(S!=null)if(typeof S=="object")if(a[w])p=Pl(p,e(w,S,i,a));else{const y=Hn({theme:i},S,C=>({[w]:C}));BA(y,S)?p[w]=t({sx:S,theme:i}):p=Pl(p,y)}else p=Pl(p,e(w,S,i,a))}),iA(h,p)}return Array.isArray(o)?o.map(s):s(o)}return t}const MC=HA();MC.filterProps=["sx"];const Bv=MC,qA=["breakpoints","palette","spacing","shape"];function Uv(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=Cn(e,qA),s=tA(r),u=dA(o);let c=$n({breakpoints:s,direction:"ltr",components:{},palette:_e({mode:"light"},n),spacing:u,shape:_e({},nA,i)},a);return c=t.reduce((f,h)=>$n(f,h),c),c.unstable_sxConfig=_e({},Wv,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(h){return Bv({sx:h,theme:this})},c}function GA(e){return Object.keys(e).length===0}function VA(e=null){const t=N.useContext(zC);return!t||GA(t)?e:t}const KA=Uv();function YA(e=KA){return VA(e)}const QA=["variant"];function sS(e){return e.length===0}function LC(e){const{variant:t}=e,r=Cn(e,QA);let n=t||"";return Object.keys(r).sort().forEach(o=>{o==="color"?n+=sS(n)?e[o]:Sn(e[o]):n+=`${sS(n)?o:Sn(o)}${Sn(e[o].toString())}`}),n}const XA=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function JA(e){return Object.keys(e).length===0}function ZA(e){return typeof e=="string"&&e.charCodeAt(0)>96}const eM=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,tM=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach(o=>{const i=LC(o.props);n[i]=o.style}),n},rM=(e,t,r,n)=>{var o;const{ownerState:i={}}=e,a=[],s=r==null||(o=r.components)==null||(o=o[n])==null?void 0:o.variants;return s&&s.forEach(u=>{let c=!0;Object.keys(u.props).forEach(f=>{i[f]!==u.props[f]&&e[f]!==u.props[f]&&(c=!1)}),c&&a.push(t[LC(u.props)])}),a};function Mu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const nM=Uv(),oM=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function al({defaultTheme:e,theme:t,themeId:r}){return JA(t)?e:t[r]||t}function iM(e){return e?(t,r)=>r[e]:null}function aM(e={}){const{themeId:t,defaultTheme:r=nM,rootShouldForwardProp:n=Mu,slotShouldForwardProp:o=Mu}=e,i=a=>Bv(_e({},a,{theme:al(_e({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{Jj(a,T=>T.filter(O=>!(O!=null&&O.__mui_systemSx)));const{name:u,slot:c,skipVariantsResolver:f,skipSx:h,overridesResolver:p=iM(oM(c))}=s,w=Cn(s,XA),S=f!==void 0?f:c&&c!=="Root"&&c!=="root"||!1,y=h||!1;let C,g=Mu;c==="Root"||c==="root"?g=n:c?g=o:ZA(a)&&(g=void 0);const m=Xj(a,_e({shouldForwardProp:g,label:C},w)),_=(T,...O)=>{const k=O?O.map(I=>typeof I=="function"&&I.__emotion_real!==I?M=>I(_e({},M,{theme:al(_e({},M,{defaultTheme:r,themeId:t}))})):I):[];let b=T;u&&p&&k.push(I=>{const M=al(_e({},I,{defaultTheme:r,themeId:t})),F=eM(u,M);if(F){const q={};return Object.entries(F).forEach(([G,ue])=>{q[G]=typeof ue=="function"?ue(_e({},I,{theme:M})):ue}),p(I,q)}return null}),u&&!S&&k.push(I=>{const M=al(_e({},I,{defaultTheme:r,themeId:t}));return rM(I,tM(u,M),M,u)}),y||k.push(i);const E=k.length-O.length;if(Array.isArray(T)&&E>0){const I=new Array(E).fill("");b=[...T,...I],b.raw=[...T.raw,...I]}else typeof T=="function"&&T.__emotion_real!==T&&(b=I=>T(_e({},I,{theme:al(_e({},I,{defaultTheme:r,themeId:t}))})));const P=m(b,...k);return a.muiName&&(P.muiName=a.muiName),P};return m.withConfig&&(_.withConfig=m.withConfig),_}}function lM(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:hC(t.components[r].defaultProps,n)}function sM({props:e,name:t,defaultTheme:r,themeId:n}){let o=YA(r);return n&&(o=o[n]||o),lM({theme:o,name:t,props:e})}function NC(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function uM(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ga(e){if(e.type)return e;if(e.charAt(0)==="#")return ga(uM(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(ma(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(ma(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}function Hv(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function cM(e){e=ga(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(c,f=(c+r/30)%12)=>o-i*Math.max(Math.min(f-3,9-f,1),-1);let s="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",u.push(t[3])),Hv({type:s,values:u})}function uS(e){e=ga(e);let t=e.type==="hsl"||e.type==="hsla"?ga(cM(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function fM(e,t){const r=uS(e),n=uS(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function dM(e,t){if(e=ga(e),t=NC(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Hv(e)}function hM(e,t){if(e=ga(e),t=NC(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Hv(e)}function pM(e,t){return _e({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const mM={black:"#000",white:"#fff"},is=mM,vM={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},gM=vM,yM={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},xi=yM,_M={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ci=_M,SM={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ll=SM,wM={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ri=wM,bM={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Ti=bM,xM={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ei=xM,CM=["mode","contrastThreshold","tonalOffset"],cS={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:is.white,default:is.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ah={text:{primary:is.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:is.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function fS(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=hM(e.main,o):t==="dark"&&(e.dark=dM(e.main,i)))}function RM(e="light"){return e==="dark"?{main:Ri[200],light:Ri[50],dark:Ri[400]}:{main:Ri[700],light:Ri[400],dark:Ri[800]}}function TM(e="light"){return e==="dark"?{main:xi[200],light:xi[50],dark:xi[400]}:{main:xi[500],light:xi[300],dark:xi[700]}}function EM(e="light"){return e==="dark"?{main:Ci[500],light:Ci[300],dark:Ci[700]}:{main:Ci[700],light:Ci[400],dark:Ci[800]}}function OM(e="light"){return e==="dark"?{main:Ti[400],light:Ti[300],dark:Ti[700]}:{main:Ti[700],light:Ti[500],dark:Ti[900]}}function kM(e="light"){return e==="dark"?{main:Ei[400],light:Ei[300],dark:Ei[700]}:{main:Ei[800],light:Ei[500],dark:Ei[900]}}function PM(e="light"){return e==="dark"?{main:ll[400],light:ll[300],dark:ll[700]}:{main:"#ed6c02",light:ll[500],dark:ll[900]}}function IM(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Cn(e,CM),i=e.primary||RM(t),a=e.secondary||TM(t),s=e.error||EM(t),u=e.info||OM(t),c=e.success||kM(t),f=e.warning||PM(t);function h(y){return fM(y,ah.text.primary)>=r?ah.text.primary:cS.text.primary}const p=({color:y,name:C,mainShade:g=500,lightShade:m=300,darkShade:_=700})=>{if(y=_e({},y),!y.main&&y[g]&&(y.main=y[g]),!y.hasOwnProperty("main"))throw new Error(ma(11,C?` (${C})`:"",g));if(typeof y.main!="string")throw new Error(ma(12,C?` (${C})`:"",JSON.stringify(y.main)));return fS(y,"light",m,n),fS(y,"dark",_,n),y.contrastText||(y.contrastText=h(y.main)),y},w={dark:ah,light:cS};return $n(_e({common:_e({},is),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:f,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:c,name:"success"}),grey:gM,contrastThreshold:r,getContrastText:h,augmentColor:p,tonalOffset:n},w[t]),o)}const zM=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function jM(e){return Math.round(e*1e5)/1e5}const dS={textTransform:"uppercase"},hS='"Roboto", "Helvetica", "Arial", sans-serif';function AM(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=hS,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:u=700,htmlFontSize:c=16,allVariants:f,pxToRem:h}=r,p=Cn(r,zM),w=o/14,S=h||(g=>`${g/c*w}rem`),y=(g,m,_,T,O)=>_e({fontFamily:n,fontWeight:g,fontSize:S(m),lineHeight:_},n===hS?{letterSpacing:`${jM(T/m)}em`}:{},O,f),C={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(a,48,1.167,0),h4:y(a,34,1.235,.25),h5:y(a,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(a,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(a,16,1.5,.15),body2:y(a,14,1.43,.15),button:y(s,14,1.75,.4,dS),caption:y(a,12,1.66,.4),overline:y(a,12,2.66,1,dS),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return $n(_e({htmlFontSize:c,pxToRem:S,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:u},C),p,{clone:!1})}const MM=.2,LM=.14,NM=.12;function Ye(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${MM})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${LM})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${NM})`].join(",")}const $M=["none",Ye(0,2,1,-1,0,1,1,0,0,1,3,0),Ye(0,3,1,-2,0,2,2,0,0,1,5,0),Ye(0,3,3,-2,0,3,4,0,0,1,8,0),Ye(0,2,4,-1,0,4,5,0,0,1,10,0),Ye(0,3,5,-1,0,5,8,0,0,1,14,0),Ye(0,3,5,-1,0,6,10,0,0,1,18,0),Ye(0,4,5,-2,0,7,10,1,0,2,16,1),Ye(0,5,5,-3,0,8,10,1,0,3,14,2),Ye(0,5,6,-3,0,9,12,1,0,3,16,2),Ye(0,6,6,-3,0,10,14,1,0,4,18,3),Ye(0,6,7,-4,0,11,15,1,0,4,20,3),Ye(0,7,8,-4,0,12,17,2,0,5,22,4),Ye(0,7,8,-4,0,13,19,2,0,5,24,4),Ye(0,7,9,-4,0,14,21,2,0,5,26,4),Ye(0,8,9,-5,0,15,22,2,0,6,28,5),Ye(0,8,10,-5,0,16,24,2,0,6,30,5),Ye(0,8,11,-5,0,17,26,2,0,6,32,5),Ye(0,9,11,-5,0,18,28,2,0,7,34,6),Ye(0,9,12,-6,0,19,29,2,0,7,36,6),Ye(0,10,13,-6,0,20,31,3,0,8,38,7),Ye(0,10,13,-6,0,21,33,3,0,8,40,7),Ye(0,10,14,-6,0,22,35,3,0,8,42,7),Ye(0,11,14,-7,0,23,36,3,0,9,44,8),Ye(0,11,15,-7,0,24,38,3,0,9,46,8)],DM=$M,FM=["duration","easing","delay"],WM={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},BM={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function pS(e){return`${Math.round(e)}ms`}function UM(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function HM(e){const t=_e({},WM,e.easing),r=_e({},BM,e.duration);return _e({getAutoHeightDuration:UM,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:u=0}=i;return Cn(i,FM),(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof a=="string"?a:pS(a)} ${s} ${typeof u=="string"?u:pS(u)}`).join(",")}},e,{easing:t,duration:r})}const qM={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},GM=qM,VM=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function KM(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=Cn(e,VM);if(e.vars)throw new Error(ma(18));const s=IM(n),u=Uv(e);let c=$n(u,{mixins:pM(u.breakpoints,r),palette:s,shadows:DM.slice(),typography:AM(s,i),transitions:HM(o),zIndex:_e({},GM)});return c=$n(c,a),c=t.reduce((f,h)=>$n(f,h),c),c.unstable_sxConfig=_e({},Wv,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(h){return Bv({sx:h,theme:this})},c}const YM=KM(),$C=YM,DC="$$material";function QM({props:e,name:t}){return sM({props:e,name:t,defaultTheme:$C,themeId:DC})}const XM=e=>Mu(e)&&e!=="classes",JM=aM({themeId:DC,defaultTheme:$C,rootShouldForwardProp:XM}),ZM=JM;function eL(e){return mC("MuiSvgIcon",e)}Gz("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const tL=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],rL=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${Sn(t)}`,`fontSize${Sn(r)}`]};return Bz(o,eL,n)},nL=ZM("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${Sn(r.color)}`],t[`fontSize${Sn(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,u,c,f,h,p,w,S;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(u=s.pxToRem)==null?void 0:u.call(s,24))||"1.5rem",large:((c=e.typography)==null||(f=c.pxToRem)==null?void 0:f.call(c,35))||"2.1875rem"}[t.fontSize],color:(h=(p=(e.vars||e).palette)==null||(p=p[t.color])==null?void 0:p.main)!=null?h:{action:(w=(e.vars||e).palette)==null||(w=w.action)==null?void 0:w.active,disabled:(S=(e.vars||e).palette)==null||(S=S.action)==null?void 0:S.disabled,inherit:void 0}[t.color]}}),FC=N.forwardRef(function(t,r){const n=QM({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:u="medium",htmlColor:c,inheritViewBox:f=!1,titleAccess:h,viewBox:p="0 0 24 24"}=n,w=Cn(n,tL),S=N.isValidElement(o)&&o.type==="svg",y=_e({},n,{color:a,component:s,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:p,hasSvgAsChild:S}),C={};f||(C.viewBox=p);const g=rL(y);return j.jsxs(nL,_e({as:s,className:Vz(g.root,i),focusable:"false",color:c,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r},C,w,S&&o.props,{ownerState:y,children:[S?o.props.children:o,h?j.jsx("title",{children:h}):null]}))});FC.muiName="SvgIcon";const mS=FC;function oL(e,t){function r(n,o){return j.jsx(mS,_e({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return r.muiName=mS.muiName,N.memo(N.forwardRef(r))}const iL={configure:e=>{pC.configure(e)}},aL=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Sn,createChainedFunction:bz,createSvgIcon:oL,debounce:xz,deprecatedPropType:Cz,isMuiElement:Rz,ownerDocument:cC,ownerWindow:Tz,requirePropFactory:Ez,setRef:fC,unstable_ClassNameGenerator:iL,unstable_useEnhancedEffect:dC,unstable_useId:Pz,unsupportedProp:Iz,useControlled:zz,useEventCallback:jz,useForkRef:Az,useIsFocusVisible:Wz},Symbol.toStringTag,{value:"Module"})),lL=Ra(aL);var vS;function tn(){return vS||(vS=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=lL}(eh)),eh}var sL=en;Object.defineProperty(Ov,"__esModule",{value:!0});var WC=Ov.default=void 0,uL=sL(tn()),cL=j,fL=(0,uL.default)((0,cL.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"MenuOutlined");WC=Ov.default=fL;var qv={},dL=en;Object.defineProperty(qv,"__esModule",{value:!0});var BC=qv.default=void 0,hL=dL(tn()),pL=j,mL=(0,hL.default)((0,pL.jsx)("path",{d:"M18.99 11.5c.34 0 .67.03 1 .07L20 0 0 20h11.56c-.04-.33-.07-.66-.07-1 0-4.14 3.36-7.5 7.5-7.5zm3.71 7.99c.02-.16.04-.32.04-.49 0-.17-.01-.33-.04-.49l1.06-.83c.09-.08.12-.21.06-.32l-1-1.73c-.06-.11-.19-.15-.31-.11l-1.24.5c-.26-.2-.54-.37-.85-.49l-.19-1.32c-.01-.12-.12-.21-.24-.21h-2c-.12 0-.23.09-.25.21l-.19 1.32c-.3.13-.59.29-.85.49l-1.24-.5c-.11-.04-.24 0-.31.11l-1 1.73c-.06.11-.04.24.06.32l1.06.83c-.02.16-.03.32-.03.49 0 .17.01.33.03.49l-1.06.83c-.09.08-.12.21-.06.32l1 1.73c.06.11.19.15.31.11l1.24-.5c.26.2.54.37.85.49l.19 1.32c.02.12.12.21.25.21h2c.12 0 .23-.09.25-.21l.19-1.32c.3-.13.59-.29.84-.49l1.25.5c.11.04.24 0 .31-.11l1-1.73c.06-.11.03-.24-.06-.32l-1.07-.83zm-3.71 1.01c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"}),"PermDataSetting");BC=qv.default=mL;var Gv={},vL=en;Object.defineProperty(Gv,"__esModule",{value:!0});var UC=Gv.default=void 0,gL=vL(tn()),yL=j,_L=(0,gL.default)((0,yL.jsx)("path",{d:"M12 14.67 3.41 6.09 2 7.5l8.5 8.5H4v2h16v-2h-6.5l5.15-5.15c.26.1.55.15.85.15 1.38 0 2.5-1.12 2.5-2.5S20.88 6 19.5 6 17 7.12 17 8.5c0 .35.07.67.2.97l-5.2 5.2z"}),"NetworkPing");UC=Gv.default=_L;var Vv={},SL=en;Object.defineProperty(Vv,"__esModule",{value:!0});var HC=Vv.default=void 0,wL=SL(tn()),bL=j,xL=(0,wL.default)((0,bL.jsx)("path",{d:"M19 3H4.99C3.89 3 3 3.9 3 5l.01 14c0 1.1.89 2 1.99 2h10l6-6V5c0-1.1-.9-2-2-2zM7 8h10v2H7V8zm5 6H7v-2h5v2zm2 5.5V14h5.5L14 19.5z"}),"StickyNote2");HC=Vv.default=xL;var Kv={},CL=en;Object.defineProperty(Kv,"__esModule",{value:!0});var qC=Kv.default=void 0,RL=CL(tn()),TL=j,EL=(0,RL.default)((0,TL.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}),"Link");qC=Kv.default=EL;var Yv={},OL=en;Object.defineProperty(Yv,"__esModule",{value:!0});var GC=Yv.default=void 0,kL=OL(tn()),PL=j,IL=(0,kL.default)((0,PL.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 14H7v-4h4v4zm0-6H7V7h4v4zm6 6h-4v-4h4v4zm0-6h-4V7h4v4z"}),"Dataset");GC=Yv.default=IL;var Qv={},zL=en;Object.defineProperty(Qv,"__esModule",{value:!0});var VC=Qv.default=void 0,jL=zL(tn()),AL=j,ML=(0,jL.default)((0,AL.jsx)("path",{d:"M21 15v-2h-3.07c-.05-.39-.12-.77-.22-1.14l2.58-1.49-1-1.73L16.92 10c-.28-.48-.62-.91-.99-1.29.04-.23.07-.46.07-.71 0-.8-.24-1.55-.65-2.18L17 4.17l-1.41-1.41-1.72 1.72c-1.68-.89-3.1-.33-3.73 0L8.41 2.76 7 4.17l1.65 1.65C8.24 6.45 8 7.2 8 8c0 .25.03.48.07.72-.37.38-.71.81-.99 1.28L4.71 8.63l-1 1.73 2.58 1.49c-.1.37-.17.75-.22 1.14H3v2h3.07c.05.39.12.77.22 1.14l-2.58 1.49 1 1.73L7.08 18c1.08 1.81 2.88 3 4.92 3s3.84-1.19 4.92-3l2.37 1.37 1-1.73-2.58-1.49c.1-.37.17-.75.22-1.14H21zm-8 2h-2v-6h2v6z"}),"PestControl");VC=Qv.default=ML;var Xv={},LL=en;Object.defineProperty(Xv,"__esModule",{value:!0});var KC=Xv.default=void 0,NL=LL(tn()),lh=j,$L=(0,NL.default)([(0,lh.jsx)("path",{d:"M7 19c-1.1 0-2 .9-2 2h14c0-1.1-.9-2-2-2h-4v-2h3c1.1 0 2-.9 2-2h-8c-1.66 0-3-1.34-3-3 0-1.09.59-2.04 1.46-2.56C8.17 9.03 8 8.54 8 8c0-.21.04-.42.09-.62C6.28 8.13 5 9.92 5 12c0 2.76 2.24 5 5 5v2H7z"},"0"),(0,lh.jsx)("path",{d:"M10.56 5.51C11.91 5.54 13 6.64 13 8c0 .75-.33 1.41-.85 1.87l.59 1.62.94-.34.34.94 1.88-.68-.34-.94.94-.34-2.74-7.53-.94.34-.34-.94-1.88.68.34.94-.94.35.56 1.54z"},"1"),(0,lh.jsx)("circle",{cx:"10.5",cy:"8",r:"1.5"},"2")],"Biotech");KC=Xv.default=$L;var Jv={},DL=en;Object.defineProperty(Jv,"__esModule",{value:!0});var YC=Jv.default=void 0,FL=DL(tn()),WL=j,BL=(0,FL.default)((0,WL.jsx)("path",{d:"m20.38 8.57-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44zm-9.79 6.84a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83z"}),"Speed");YC=Jv.default=BL;var Zv={},UL=en;Object.defineProperty(Zv,"__esModule",{value:!0});var QC=Zv.default=void 0,HL=UL(tn()),qL=j,GL=(0,HL.default)((0,qL.jsx)("path",{d:"M15 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V9l-6-6zM8 17c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm0-4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm0-4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm6 1V4.5l5.5 5.5H14z"}),"Summarize");QC=Zv.default=GL;var eg={},VL=en;Object.defineProperty(eg,"__esModule",{value:!0});var XC=eg.default=void 0,KL=VL(tn()),gS=j,YL=(0,KL.default)([(0,gS.jsx)("path",{d:"M17 11c.34 0 .67.04 1 .09V6.27L10.5 3 3 6.27v4.91c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55-.69-.98-1.1-2.17-1.1-3.45 0-3.31 2.69-6 6-6z"},"0"),(0,gS.jsx)("path",{d:"M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 1.38c.62 0 1.12.51 1.12 1.12s-.51 1.12-1.12 1.12-1.12-.51-1.12-1.12.5-1.12 1.12-1.12zm0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08s2.19.36 2.24 1.08c-.5.71-1.31 1.17-2.24 1.17z"},"1")],"AdminPanelSettings");XC=eg.default=YL;var JC={exports:{}},ZC={};/** - * @license React - * use-sync-external-store-shim.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ya=N;function QL(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var XL=typeof Object.is=="function"?Object.is:QL,JL=ya.useState,ZL=ya.useEffect,eN=ya.useLayoutEffect,tN=ya.useDebugValue;function rN(e,t){var r=t(),n=JL({inst:{value:r,getSnapshot:t}}),o=n[0].inst,i=n[1];return eN(function(){o.value=r,o.getSnapshot=t,sh(o)&&i({inst:o})},[e,r,t]),ZL(function(){return sh(o)&&i({inst:o}),e(function(){sh(o)&&i({inst:o})})},[e]),tN(r),r}function sh(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!XL(e,r)}catch{return!0}}function nN(e,t){return t()}var oN=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?nN:rN;ZC.useSyncExternalStore=ya.useSyncExternalStore!==void 0?ya.useSyncExternalStore:oN;JC.exports=ZC;var iN=JC.exports,eR={exports:{}},tR={};/** - * @license React - * use-sync-external-store-shim/with-selector.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Lf=N,aN=iN;function lN(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var sN=typeof Object.is=="function"?Object.is:lN,uN=aN.useSyncExternalStore,cN=Lf.useRef,fN=Lf.useEffect,dN=Lf.useMemo,hN=Lf.useDebugValue;tR.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var i=cN(null);if(i.current===null){var a={hasValue:!1,value:null};i.current=a}else a=i.current;i=dN(function(){function u(w){if(!c){if(c=!0,f=w,w=n(w),o!==void 0&&a.hasValue){var S=a.value;if(o(S,w))return h=S}return h=w}if(S=h,sN(f,w))return S;var y=n(w);return o!==void 0&&o(S,y)?S:(f=w,h=y)}var c=!1,f,h,p=r===void 0?null:r;return[function(){return u(t())},p===null?void 0:function(){return u(p())}]},[t,r,n,o]);var s=uN(e,i[0],i[1]);return fN(function(){a.hasValue=!0,a.value=s},[s]),hN(s),s};eR.exports=tR;var pN=eR.exports;function mN(e){e()}let rR=mN;const vN=e=>rR=e,gN=()=>rR,yS=Symbol.for("react-redux-context"),_S=typeof globalThis<"u"?globalThis:{};function yN(){var e;if(!N.createContext)return{};const t=(e=_S[yS])!=null?e:_S[yS]=new Map;let r=t.get(N.createContext);return r||(r=N.createContext(null),t.set(N.createContext,r)),r}const wo=yN();function tg(e=wo){return function(){return N.useContext(e)}}const nR=tg(),_N=()=>{throw new Error("uSES not initialized!")};let oR=_N;const SN=e=>{oR=e},wN=(e,t)=>e===t;function bN(e=wo){const t=e===wo?nR:tg(e);return function(n,o={}){const{equalityFn:i=wN,stabilityCheck:a=void 0,noopCheck:s=void 0}=typeof o=="function"?{equalityFn:o}:o,{store:u,subscription:c,getServerState:f,stabilityCheck:h,noopCheck:p}=t();N.useRef(!0);const w=N.useCallback({[n.name](y){return n(y)}}[n.name],[n,h,a]),S=oR(c.addNestedSub,u.getState,f||u.getState,w,i);return N.useDebugValue(S),S}}const Gr=bN();function xN(){const e=gN();let t=null,r=null;return{clear(){t=null,r=null},notify(){e(()=>{let n=t;for(;n;)n.callback(),n=n.next})},get(){let n=[],o=t;for(;o;)n.push(o),o=o.next;return n},subscribe(n){let o=!0,i=r={callback:n,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){!o||t===null||(o=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}const SS={notify(){},get:()=>[]};function CN(e,t){let r,n=SS;function o(h){return u(),n.subscribe(h)}function i(){n.notify()}function a(){f.onStateChange&&f.onStateChange()}function s(){return!!r}function u(){r||(r=t?t.addNestedSub(a):e.subscribe(a),n=xN())}function c(){r&&(r(),r=void 0,n.clear(),n=SS)}const f={addNestedSub:o,notifyNestedSubs:i,handleChangeWrapper:a,isSubscribed:s,trySubscribe:u,tryUnsubscribe:c,getListeners:()=>n};return f}const RN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",TN=RN?N.useLayoutEffect:N.useEffect;function EN({store:e,context:t,children:r,serverState:n,stabilityCheck:o="once",noopCheck:i="once"}){const a=N.useMemo(()=>{const c=CN(e);return{store:e,subscription:c,getServerState:n?()=>n:void 0,stabilityCheck:o,noopCheck:i}},[e,n,o,i]),s=N.useMemo(()=>e.getState(),[e]);TN(()=>{const{subscription:c}=a;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),s!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[a,s]);const u=t||wo;return N.createElement(u.Provider,{value:a},r)}function iR(e=wo){const t=e===wo?nR:tg(e);return function(){const{store:n}=t();return n}}const ON=iR();function kN(e=wo){const t=e===wo?ON:iR(e);return function(){return t().dispatch}}const aR=kN();SN(pN.useSyncExternalStoreWithSelector);vN(ps.unstable_batchedUpdates);function Qr(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n3?t.i-4:t.i:Array.isArray(e)?1:rg(e)?2:ng(e)?3:0}function ea(e,t){return ja(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function PN(e,t){return ja(e)===2?e.get(t):e[t]}function lR(e,t,r){var n=ja(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function sR(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function rg(e){return LN&&e instanceof Map}function ng(e){return NN&&e instanceof Set}function $o(e){return e.o||e.t}function og(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=cR(e);delete t[Qe];for(var r=ta(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=IN),Object.freeze(e),t&&oi(e,function(r,n){return ig(n,!0)},!0)),e}function IN(){Qr(2)}function ag(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function bn(e){var t=cm[e];return t||Qr(18,e),t}function zN(e,t){cm[e]||(cm[e]=t)}function lm(){return as}function uh(e,t){t&&(bn("Patches"),e.u=[],e.s=[],e.v=t)}function gc(e){sm(e),e.p.forEach(jN),e.p=null}function sm(e){e===as&&(as=e.l)}function wS(e){return as={p:[],l:as,h:e,m:!0,_:0}}function jN(e){var t=e[Qe];t.i===0||t.i===1?t.j():t.g=!0}function ch(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||bn("ES5").S(t,e,n),n?(r[Qe].P&&(gc(t),Qr(4)),qn(e)&&(e=yc(t,e),t.l||_c(t,e)),t.u&&bn("Patches").M(r[Qe].t,e,t.u,t.s)):e=yc(t,r,[]),gc(t),t.u&&t.v(t.u,t.s),e!==uR?e:void 0}function yc(e,t,r){if(ag(t))return t;var n=t[Qe];if(!n)return oi(t,function(s,u){return bS(e,n,t,s,u,r)},!0),t;if(n.A!==e)return t;if(!n.P)return _c(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=og(n.k):n.o,i=o,a=!1;n.i===3&&(i=new Set(o),o.clear(),a=!0),oi(i,function(s,u){return bS(e,n,o,s,u,r,a)}),_c(e,o,!1),r&&e.u&&bn("Patches").N(n,r,e.u,e.s)}return n.o}function bS(e,t,r,n,o,i,a){if(bo(o)){var s=yc(e,o,i&&t&&t.i!==3&&!ea(t.R,n)?i.concat(n):void 0);if(lR(r,n,s),!bo(s))return;e.m=!1}else a&&r.add(o);if(qn(o)&&!ag(o)){if(!e.h.D&&e._<1)return;yc(e,o),t&&t.A.l||_c(e,o)}}function _c(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&ig(t,r)}function fh(e,t){var r=e[Qe];return(r?$o(r):e)[t]}function xS(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function to(e){e.P||(e.P=!0,e.l&&to(e.l))}function dh(e){e.o||(e.o=og(e.t))}function um(e,t,r){var n=rg(t)?bn("MapSet").F(t,r):ng(t)?bn("MapSet").T(t,r):e.O?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:lm(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},u=s,c=ls;a&&(u=[s],c=hl);var f=Proxy.revocable(u,c),h=f.revoke,p=f.proxy;return s.k=p,s.j=h,p}(t,r):bn("ES5").J(t,r);return(r?r.A:lm()).p.push(n),n}function AN(e){return bo(e)||Qr(22,e),function t(r){if(!qn(r))return r;var n,o=r[Qe],i=ja(r);if(o){if(!o.P&&(o.i<4||!bn("ES5").K(o)))return o.t;o.I=!0,n=CS(r,i),o.I=!1}else n=CS(r,i);return oi(n,function(a,s){o&&PN(o.t,a)===s||lR(n,a,t(s))}),i===3?new Set(n):n}(e)}function CS(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return og(e)}function MN(){function e(i,a){var s=o[i];return s?s.enumerable=a:o[i]=s={configurable:!0,enumerable:a,get:function(){var u=this[Qe];return ls.get(u,i)},set:function(u){var c=this[Qe];ls.set(c,i,u)}},s}function t(i){for(var a=i.length-1;a>=0;a--){var s=i[a][Qe];if(!s.P)switch(s.i){case 5:n(s)&&to(s);break;case 4:r(s)&&to(s)}}}function r(i){for(var a=i.t,s=i.k,u=ta(s),c=u.length-1;c>=0;c--){var f=u[c];if(f!==Qe){var h=a[f];if(h===void 0&&!ea(a,f))return!0;var p=s[f],w=p&&p[Qe];if(w?w.t!==h:!sR(p,h))return!0}}var S=!!a[Qe];return u.length!==ta(a).length+(S?0:1)}function n(i){var a=i.k;if(a.length!==i.t.length)return!0;var s=Object.getOwnPropertyDescriptor(a,a.length-1);if(s&&!s.get)return!0;for(var u=0;u1?g-1:0),_=1;_1?f-1:0),p=1;p=0;o--){var i=n[o];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}o>-1&&(n=n.slice(o+1));var a=bn("Patches").$;return bo(r)?a(r,n):this.produce(r,function(s){return a(s,n)})},e}(),br=new DN,fR=br.produce;br.produceWithPatches.bind(br);br.setAutoFreeze.bind(br);br.setUseProxies.bind(br);br.applyPatches.bind(br);br.createDraft.bind(br);br.finishDraft.bind(br);function _a(e){"@babel/helpers - typeof";return _a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_a(e)}function FN(e,t){if(_a(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(_a(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function dR(e){var t=FN(e,"string");return _a(t)==="symbol"?t:String(t)}function $(e,t,r){return t=dR(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function kS(e){for(var t=1;t"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Dt(1));return r(hR)(e,t)}if(typeof e!="function")throw new Error(Dt(2));var o=e,i=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function f(){if(u)throw new Error(Dt(3));return i}function h(y){if(typeof y!="function")throw new Error(Dt(4));if(u)throw new Error(Dt(5));var C=!0;return c(),s.push(y),function(){if(C){if(u)throw new Error(Dt(6));C=!1,c();var m=s.indexOf(y);s.splice(m,1),a=null}}}function p(y){if(!WN(y))throw new Error(Dt(7));if(typeof y.type>"u")throw new Error(Dt(8));if(u)throw new Error(Dt(9));try{u=!0,i=o(i,y)}finally{u=!1}for(var C=a=s,g=0;g"u")throw new Error(Dt(12));if(typeof r(void 0,{type:Sc.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Dt(13))})}function UN(e){for(var t=Object.keys(e),r={},n=0;n"u")throw c&&c.type,new Error(Dt(14));h[w]=C,f=f||C!==y}return f=f||i.length!==Object.keys(u).length,f?h:u}}function wc(){for(var e=arguments.length,t=new Array(e),r=0;r-1){var c=r[u];return u>0&&(r.splice(u,1),r.unshift(c)),c.value}return bc}function o(s,u){n(s)===bc&&(r.unshift({key:s,value:u}),r.length>e&&r.pop())}function i(){return r}function a(){r=[]}return{get:n,put:o,getEntries:i,clear:a}}var VN=function(t,r){return t===r};function KN(e){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;for(var o=r.length,i=0;i1?t-1:0),n=1;n0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]{e.session.push(t.payload)},addNode:(e,t)=>{e.nodes.push(t.payload)},addOrUpdateNode:(e,t)=>{let r=e.nodes.findIndex(n=>n.id===t.payload.id);r!==-1?e.nodes[r]=t.payload:e.nodes.push(t.payload),e.activeNodeId=t.payload.id},setSessionPin:(e,t)=>{e.session[0].pin=t.payload},setActiveNodeId:(e,t)=>{e.activeNodeId=t.payload},addOrUpdateNodeVersion:(e,t)=>{let r=e.nodeVersions.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.nodeVersions[r]=t.payload:e.nodeVersions.push(t.payload)},addOrUpdateNodeFlags:(e,t)=>{let r=e.flags.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.flags[r]=t.payload:e.flags.push(t.payload)},addOrUpdateCmdLineArgs:(e,t)=>{let r=e.cmdLineArgs.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.cmdLineArgs[r]=t.payload:e.cmdLineArgs.push(t.payload)},addOrUpdateLogFile:(e,t)=>{let r=e.logFiles.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.logFiles[r]=t.payload:e.logFiles.push(t.payload)},addOrUpdateSyncStages:(e,t)=>{let r=e.syncStages.findIndex(n=>n.nodeId===t.payload.nodeId);r!==-1?e.syncStages[r]=t.payload:e.syncStages.push(t.payload)}}}),{addSession:iW,addNode:aW,addOrUpdateNode:R3,setSessionPin:lW,setActiveNodeId:T3,addOrUpdateNodeVersion:E3,addOrUpdateNodeFlags:O3,addOrUpdateCmdLineArgs:k3,addOrUpdateLogFile:P3,addOrUpdateSyncStages:I3}=yR.actions,ug=e=>e.app.session[0],_R=e=>e.app.nodes,Po=e=>e.app.activeNodeId,z3=e=>e.app.nodeVersions,j3=e=>e.app.flags,A3=e=>e.app.cmdLineArgs,M3=e=>e.app.logFiles,L3=e=>e.app.syncStages,N3=Aa([_R,Po],(e,t)=>(e.forEach(r=>{if(r.id===t)return r}),e[0])),$3=Aa([ug,_R,Po,z3],(e,t,r,n)=>{let o=[];return t.forEach(i=>{let a="";n.forEach(s=>{s.nodeId===i.id&&(a=s.version.nodeVersion)}),o.push({active:i.id===r,name:i.name,id:i.id,version:a,chain:i.protocols.eth.config.ChainName,block:i.protocols.eth.config.londonBlock,address:""})}),o}),D3=Aa([j3,Po],(e,t)=>{let r=[];return e.forEach(n=>{n.nodeId===t&&(r=n.flags)}),r}),F3=Aa([A3,Po],(e,t)=>{let r="";return e.forEach(n=>{n.nodeId===t&&(r=n.args)}),r}),SR=Aa([M3,Po],(e,t)=>{let r={nodeId:"",logFileUrl:"",logSize:0};return e.forEach(n=>{n.nodeId===t&&(r=n)}),r}),W3=Aa([L3,Po],(e,t)=>{let r=[];return e.forEach(n=>{n.nodeId===t&&(r=n.syncStages)}),r}),B3=yR.reducer,U3=({nodes:e=[],onNodeSelected:t,...r})=>{const n=i=>{t(i)},o=()=>j.jsxs("table",{className:"table-auto border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none",children:[j.jsx("thead",{children:j.jsxs("tr",{className:"border-b",children:[j.jsx("th",{}),j.jsx("th",{className:"px-4 py-2",children:"Name"}),j.jsx("th",{className:"px-4 py-2",children:"Version"}),j.jsx("th",{className:"px-4 py-2",children:"Chain"}),j.jsx("th",{className:"px-4 py-2",children:"Block"}),j.jsx("th",{className:"px-4 py-2",children:"Address"})]})}),j.jsx("tbody",{children:e.map((i,a)=>j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onClick:()=>n(i.id),children:[j.jsx("td",{children:j.jsx("input",{id:"default-radio-1",type:"radio",value:"",onChange:()=>{},checked:i.active,name:"default-radio",className:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600 mr-2 ml-2"})}),j.jsx("td",{className:"px-4 py-2",children:i.name}),j.jsx("td",{className:"px-4 py-2",children:i.version}),j.jsx("td",{className:"px-4 py-2",children:i.chain}),j.jsx("td",{className:"px-4 py-2",children:i.block}),j.jsx("td",{className:"px-4 py-2",children:i.address})]},a))})]});return j.jsx(j.Fragment,{children:o()})},H3="curl http://localhost:6060/debug/cmdline",q3="sessions",Ma="nodes",G3="versions",V3="flags",K3="cmdline",wR="logs",Y3="sync-stages",si=`https://localhost:8080/${q3}`,Q3=e=>{{const t=`${si}/${e}`,r=La(t,"GET");return fetch(r).then(n=>n.json())}},X3=(e,t)=>{{const r=`${si}/${e}/${Ma}/${t}/${G3}`,n=La(r,"GET");return fetch(n).then(o=>o.json())}},J3=(e,t)=>{{const r=`${si}/${e}/${Ma}/${t}/${V3}`,n=La(r,"GET");return fetch(n).then(o=>o.json())}},Z3=(e,t)=>{{const r=`${si}/${e}/${Ma}/${t}/${K3}`,n=La(r,"GET");return fetch(n).then(o=>o.json())}},e4=(e,t)=>{{const r=`${si}/${e}/${Ma}/${t}/${wR}`,n=La(r,"GET");return fetch(n).then(o=>o.json())}},t4=(e,t)=>{{const r=`${si}/${e}/${Ma}/${t}/${Y3}`,n=La(r,"GET");return fetch(n).then(o=>o.json())}};function La(e,t,r){return new Request(e,{method:t,body:r})}const r4=e=>({id:e.id,name:e.name,protocols:n4(e.protocols),enodes:l4(e.enodes)}),n4=e=>({eth:o4(e.eth)}),o4=e=>({network:e.network,difficulty:e.difficulty,genesis:e.genesis,config:i4(e.config)}),i4=e=>({ChainName:e.ChainName,chainId:e.chainId,consensus:e.consensus,homesteadBlock:e.homesteadBlock,eip150Block:e.eip150Block,eip155Block:e.eip155Block,byzantiumBlock:e.byzantiumBlock,constantinopleBlock:e.constantinopleBlock,petersburgBlock:e.petersburgBlock,istanbulBlock:e.istanbulBlock,berlinBlock:e.berlinBlock,londonBlock:e.londonBlock,terminalTotalDifficulty:e.terminalTotalDifficulty,terminalTotalDifficultyPassed:e.terminalTotalDifficultyPassed,shanghaiTime:e.shanghaiTime,clique:a4(e.clique)}),a4=e=>({period:e.period,epoch:e.epoch}),l4=e=>{let t=[];return e.forEach(r=>{t.push({enode:r.enode,enr:r.enr,ports:r.ports,listener_addr:r.listener_addr})}),t},s4=["boolean","string","number"],u4=e=>{let t=[];for(let r in e)t.push(c4(r,e[r]));return t},c4=(e,t)=>({flag:e,default:t.default,usage:t.usage,value:f4(t.value)}),f4=e=>{let t=typeof e;return s4.includes(t)||d4(e)||h4(e)?e:""};function d4(e){return Array.isArray(e)&&e.every(t=>typeof t=="string")}function h4(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}const p4=e=>({nodeVersion:e.nodeVersion,supportVersion:e.supportVersion,codeVersion:e.codeVersion,gitCommit:e.gitCommit}),m4=e=>{let t=Object.keys(e),r=[];return t.forEach(n=>{r.push({key:n,value:e[n]})}),r},bR=(e,t)=>{Q3(e).then(r=>{r.nodes.forEach(n=>{t(R3(r4(n)))})})},v4=(e,t,r)=>{X3(e,t).then(n=>{let o=p4(n);r(E3({nodeId:t,version:o}))})},g4=(e,t,r)=>{J3(e,t).then(n=>{let o=u4(n);r(O3({nodeId:t,flags:o}))})},y4=(e,t,r)=>{Z3(e,t).then(n=>{r(k3({nodeId:t,args:n}))})},xR=(e,t,r)=>{e4(e,t).then(n=>{n.forEach(o=>{if(o.name.endsWith(".log")){const i=`${si}/${e}/${Ma}/${t}/${wR}/${o.name}`;r(P3({nodeId:t,logFileUrl:i,logSize:o.size}))}})})},_4=(e,t,r)=>{t4(e,t).then(n=>{r(I3({nodeId:t,syncStages:m4(n)}))})},S4=({flag:e})=>{function t(o){return o&&typeof o=="object"&&o.constructor===Array}const r=o=>{if(t(o))return n(o);if(typeof o=="string")return j.jsx("td",{className:"px-4 py-2",children:String(o)})},n=o=>j.jsx(j.Fragment,{children:o.map(i=>j.jsx("tr",{className:"border-b border-gray-200 hover:bg-gray-100",children:j.jsx("td",{className:"px-4 py-2",children:i})},i))});return j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onMouseOver:o=>{const i=o.target,a=e.usage;a&&i.setAttribute("title",a)},children:[j.jsx("td",{className:"px-4 py-2",children:e.flag}),r(e.value),j.jsx("td",{className:"px-4 py-2",children:String(e.default)})]},e.flag)},w4=({flags:e})=>{const[t,r]=ne.useState([]);N.useEffect(()=>{r(n(e))},[e]);const n=o=>o===void 0?[]:o.filter(i=>i.value!==void 0&&i.value!==""&&i.value!==null);return j.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:[j.jsx("thead",{children:j.jsxs("tr",{className:"border-b",children:[j.jsx("th",{className:"px-4 py-2",children:"Flag"}),j.jsx("th",{className:"px-4 py-2",children:"Value"}),j.jsx("th",{className:"px-4 py-2",children:"Default"})]})}),j.jsx("tbody",{children:t.map(o=>j.jsx(S4,{flag:o}))})]})};var CR={exports:{}},vh={exports:{}},LS;function b4(){return LS||(LS=1,function(e,t){(function(r,n){e.exports=n()})(Fo,function(){var r=Array.prototype.slice;function n(l,d){d&&(l.prototype=Object.create(d.prototype)),l.prototype.constructor=l}function o(l){return u(l)?l:te(l)}n(i,o);function i(l){return c(l)?l:re(l)}n(a,o);function a(l){return f(l)?l:K(l)}n(s,o);function s(l){return u(l)&&!h(l)?l:X(l)}function u(l){return!!(l&&l[w])}function c(l){return!!(l&&l[S])}function f(l){return!!(l&&l[y])}function h(l){return c(l)||f(l)}function p(l){return!!(l&&l[C])}o.isIterable=u,o.isKeyed=c,o.isIndexed=f,o.isAssociative=h,o.isOrdered=p,o.Keyed=i,o.Indexed=a,o.Set=s;var w="@@__IMMUTABLE_ITERABLE__@@",S="@@__IMMUTABLE_KEYED__@@",y="@@__IMMUTABLE_INDEXED__@@",C="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,_=1<>>0;if(""+v!==d||v===4294967295)return NaN;d=v}return d<0?F(l)+d:d}function G(){return!0}function ue(l,d,v){return(l===0||v!==void 0&&l<=-v)&&(d===void 0||v!==void 0&&d>=v)}function se(l,d){return Z(l,d,0)}function ge(l,d){return Z(l,d,d)}function Z(l,d,v){return l===void 0?v:l<0?Math.max(0,d+l):d===void 0?l:Math.min(d,l)}var ie=0,fe=1,Se=2,Ee=typeof Symbol=="function"&&Symbol.iterator,xt="@@iterator",tt=Ee||xt;function ye(l){this.next=l}ye.prototype.toString=function(){return"[Iterator]"},ye.KEYS=ie,ye.VALUES=fe,ye.ENTRIES=Se,ye.prototype.inspect=ye.prototype.toSource=function(){return this.toString()},ye.prototype[tt]=function(){return this};function H(l,d,v,x){var R=l===0?d:l===1?v:[d,v];return x?x.value=R:x={value:R,done:!1},x}function V(){return{value:void 0,done:!0}}function U(l){return!!de(l)}function J(l){return l&&typeof l.next=="function"}function B(l){var d=de(l);return d&&d.call(l)}function de(l){var d=l&&(Ee&&l[Ee]||l[xt]);if(typeof d=="function")return d}function oe(l){return l&&typeof l.length=="number"}n(te,o);function te(l){return l==null?Ue():u(l)?l.toSeq():Er(l)}te.of=function(){return te(arguments)},te.prototype.toSeq=function(){return this},te.prototype.toString=function(){return this.__toString("Seq {","}")},te.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},te.prototype.__iterate=function(l,d){return fi(this,l,d,!0)},te.prototype.__iterator=function(l,d){return Os(this,l,d,!0)},n(re,te);function re(l){return l==null?Ue().toKeyedSeq():u(l)?c(l)?l.toSeq():l.fromEntrySeq():sr(l)}re.prototype.toKeyedSeq=function(){return this},n(K,te);function K(l){return l==null?Ue():u(l)?c(l)?l.entrySeq():l.toIndexedSeq():Tr(l)}K.of=function(){return K(arguments)},K.prototype.toIndexedSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq [","]")},K.prototype.__iterate=function(l,d){return fi(this,l,d,!1)},K.prototype.__iterator=function(l,d){return Os(this,l,d,!1)},n(X,te);function X(l){return(l==null?Ue():u(l)?c(l)?l.entrySeq():l:Tr(l)).toSetSeq()}X.of=function(){return X(arguments)},X.prototype.toSetSeq=function(){return this},te.isSeq=Te,te.Keyed=re,te.Set=X,te.Indexed=K;var ae="@@__IMMUTABLE_SEQ__@@";te.prototype[ae]=!0,n(pe,K);function pe(l){this._array=l,this.size=l.length}pe.prototype.get=function(l,d){return this.has(l)?this._array[q(this,l)]:d},pe.prototype.__iterate=function(l,d){for(var v=this._array,x=v.length-1,R=0;R<=x;R++)if(l(v[d?x-R:R],R,this)===!1)return R+1;return R},pe.prototype.__iterator=function(l,d){var v=this._array,x=v.length-1,R=0;return new ye(function(){return R>x?V():H(l,R,v[d?x-R++:R++])})},n(me,re);function me(l){var d=Object.keys(l);this._object=l,this._keys=d,this.size=d.length}me.prototype.get=function(l,d){return d!==void 0&&!this.has(l)?d:this._object[l]},me.prototype.has=function(l){return this._object.hasOwnProperty(l)},me.prototype.__iterate=function(l,d){for(var v=this._object,x=this._keys,R=x.length-1,z=0;z<=R;z++){var A=x[d?R-z:z];if(l(v[A],A,this)===!1)return z+1}return z},me.prototype.__iterator=function(l,d){var v=this._object,x=this._keys,R=x.length-1,z=0;return new ye(function(){var A=x[d?R-z:z];return z++>R?V():H(l,A,v[A])})},me.prototype[C]=!0,n(ve,K);function ve(l){this._iterable=l,this.size=l.length||l.size}ve.prototype.__iterateUncached=function(l,d){if(d)return this.cacheResult().__iterate(l,d);var v=this._iterable,x=B(v),R=0;if(J(x))for(var z;!(z=x.next()).done&&l(z.value,R++,this)!==!1;);return R},ve.prototype.__iteratorUncached=function(l,d){if(d)return this.cacheResult().__iterator(l,d);var v=this._iterable,x=B(v);if(!J(x))return new ye(V);var R=0;return new ye(function(){var z=x.next();return z.done?z:H(l,R++,z.value)})},n(we,K);function we(l){this._iterator=l,this._iteratorCache=[]}we.prototype.__iterateUncached=function(l,d){if(d)return this.cacheResult().__iterate(l,d);for(var v=this._iterator,x=this._iteratorCache,R=0;R=x.length){var z=v.next();if(z.done)return z;x[R]=z.value}return H(l,R,x[R++])})};function Te(l){return!!(l&&l[ae])}var Me;function Ue(){return Me||(Me=new pe([]))}function sr(l){var d=Array.isArray(l)?new pe(l).fromEntrySeq():J(l)?new we(l).fromEntrySeq():U(l)?new ve(l).fromEntrySeq():typeof l=="object"?new me(l):void 0;if(!d)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+l);return d}function Tr(l){var d=Jt(l);if(!d)throw new TypeError("Expected Array or iterable object of values: "+l);return d}function Er(l){var d=Jt(l)||typeof l=="object"&&new me(l);if(!d)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+l);return d}function Jt(l){return oe(l)?new pe(l):J(l)?new we(l):U(l)?new ve(l):void 0}function fi(l,d,v,x){var R=l._cache;if(R){for(var z=R.length-1,A=0;A<=z;A++){var L=R[v?z-A:A];if(d(L[1],x?L[0]:A,l)===!1)return A+1}return A}return l.__iterateUncached(d,v)}function Os(l,d,v,x){var R=l._cache;if(R){var z=R.length-1,A=0;return new ye(function(){var L=R[v?z-A:A];return A++>z?V():H(d,x?L[0]:A-1,L[1])})}return l.__iteratorUncached(d,v)}function Fa(l,d){return d?di(d,l,"",{"":l}):Xf(l)}function di(l,d,v,x){return Array.isArray(d)?l.call(x,v,K(d).map(function(R,z){return di(l,R,z,d)})):Zg(d)?l.call(x,v,re(d).map(function(R,z){return di(l,R,z,d)})):d}function Xf(l){return Array.isArray(l)?K(l).map(Xf).toList():Zg(l)?re(l).map(Xf).toMap():l}function Zg(l){return l&&(l.constructor===Object||l.constructor===void 0)}function ct(l,d){if(l===d||l!==l&&d!==d)return!0;if(!l||!d)return!1;if(typeof l.valueOf=="function"&&typeof d.valueOf=="function"){if(l=l.valueOf(),d=d.valueOf(),l===d||l!==l&&d!==d)return!0;if(!l||!d)return!1}return!!(typeof l.equals=="function"&&typeof d.equals=="function"&&l.equals(d))}function Jf(l,d){if(l===d)return!0;if(!u(d)||l.size!==void 0&&d.size!==void 0&&l.size!==d.size||l.__hash!==void 0&&d.__hash!==void 0&&l.__hash!==d.__hash||c(l)!==c(d)||f(l)!==f(d)||p(l)!==p(d))return!1;if(l.size===0&&d.size===0)return!0;var v=!h(l);if(p(l)){var x=l.entries();return d.every(function(D,W){var Q=x.next().value;return Q&&ct(Q[1],D)&&(v||ct(Q[0],W))})&&x.next().done}var R=!1;if(l.size===void 0)if(d.size===void 0)typeof l.cacheResult=="function"&&l.cacheResult();else{R=!0;var z=l;l=d,d=z}var A=!0,L=d.__iterate(function(D,W){if(v?!l.has(D):R?!ct(D,l.get(W,O)):!ct(l.get(W,O),D))return A=!1,!1});return A&&l.size===L}n(jt,K);function jt(l,d){if(!(this instanceof jt))return new jt(l,d);if(this._value=l,this.size=d===void 0?1/0:Math.max(0,d),this.size===0){if(Zf)return Zf;Zf=this}}jt.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},jt.prototype.get=function(l,d){return this.has(l)?this._value:d},jt.prototype.includes=function(l){return ct(this._value,l)},jt.prototype.slice=function(l,d){var v=this.size;return ue(l,d,v)?this:new jt(this._value,ge(d,v)-se(l,v))},jt.prototype.reverse=function(){return this},jt.prototype.indexOf=function(l){return ct(this._value,l)?0:-1},jt.prototype.lastIndexOf=function(l){return ct(this._value,l)?this.size:-1},jt.prototype.__iterate=function(l,d){for(var v=0;v=0&&d=0&&vv?V():H(l,z++,A)})},Ct.prototype.equals=function(l){return l instanceof Ct?this._start===l._start&&this._end===l._end&&this._step===l._step:Jf(this,l)};var ed;n(Vn,o);function Vn(){throw TypeError("Abstract")}n(Wa,Vn);function Wa(){}n(hi,Vn);function hi(){}n(Ps,Vn);function Ps(){}Vn.Keyed=Wa,Vn.Indexed=hi,Vn.Set=Ps;var Ba=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(d,v){d=d|0,v=v|0;var x=d&65535,R=v&65535;return x*R+((d>>>16)*R+x*(v>>>16)<<16>>>0)|0};function td(l){return l>>>1&1073741824|l&3221225471}function ur(l){if(l===!1||l===null||l===void 0||typeof l.valueOf=="function"&&(l=l.valueOf(),l===!1||l===null||l===void 0))return 0;if(l===!0)return 1;var d=typeof l;if(d==="number"){if(l!==l||l===1/0)return 0;var v=l|0;for(v!==l&&(v^=l*4294967295);l>4294967295;)l/=4294967295,v^=l;return td(v)}if(d==="string")return l.length>XT?KT(l):rd(l);if(typeof l.hashCode=="function")return l.hashCode();if(d==="object")return YT(l);if(typeof l.toString=="function")return rd(l.toString());throw new Error("Value type "+d+" cannot be hashed.")}function KT(l){var d=ld[l];return d===void 0&&(d=rd(l),ad===JT&&(ad=0,ld={}),ad++,ld[l]=d),d}function rd(l){for(var d=0,v=0;v0)switch(l.nodeType){case 1:return l.uniqueID;case 9:return l.documentElement&&l.documentElement.uniqueID}}var nd=typeof WeakMap=="function",od;nd&&(od=new WeakMap);var id=0,zo="__immutablehash__";typeof Symbol=="function"&&(zo=Symbol(zo));var XT=16,JT=255,ad=0,ld={};function cr(l){ks(l!==1/0,"Cannot perform this action with an infinite size.")}n(Oe,Wa);function Oe(l){return l==null?Fr():sd(l)&&!p(l)?l:Fr().withMutations(function(d){var v=i(l);cr(v.size),v.forEach(function(x,R){return d.set(R,x)})})}Oe.of=function(){var l=r.call(arguments,0);return Fr().withMutations(function(d){for(var v=0;v=l.length)throw new Error("Missing value for key: "+l[v]);d.set(l[v],l[v+1])}})},Oe.prototype.toString=function(){return this.__toString("Map {","}")},Oe.prototype.get=function(l,d){return this._root?this._root.get(0,void 0,l,d):d},Oe.prototype.set=function(l,d){return iy(this,l,d)},Oe.prototype.setIn=function(l,d){return this.updateIn(l,O,function(){return d})},Oe.prototype.remove=function(l){return iy(this,l,O)},Oe.prototype.deleteIn=function(l){return this.updateIn(l,function(){return O})},Oe.prototype.update=function(l,d,v){return arguments.length===1?l(this):this.updateIn([l],d,v)},Oe.prototype.updateIn=function(l,d,v){v||(v=d,d=void 0);var x=cy(this,Iy(l),d,v);return x===O?void 0:x},Oe.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Fr()},Oe.prototype.merge=function(){return Is(this,void 0,arguments)},Oe.prototype.mergeWith=function(l){var d=r.call(arguments,1);return Is(this,l,d)},Oe.prototype.mergeIn=function(l){var d=r.call(arguments,1);return this.updateIn(l,Fr(),function(v){return typeof v.merge=="function"?v.merge.apply(v,d):d[d.length-1]})},Oe.prototype.mergeDeep=function(){return Is(this,ly,arguments)},Oe.prototype.mergeDeepWith=function(l){var d=r.call(arguments,1);return Is(this,sy(l),d)},Oe.prototype.mergeDeepIn=function(l){var d=r.call(arguments,1);return this.updateIn(l,Fr(),function(v){return typeof v.mergeDeep=="function"?v.mergeDeep.apply(v,d):d[d.length-1]})},Oe.prototype.sort=function(l){return at(Si(this,l))},Oe.prototype.sortBy=function(l,d){return at(Si(this,d,l))},Oe.prototype.withMutations=function(l){var d=this.asMutable();return l(d),d.wasAltered()?d.__ensureOwner(this.__ownerID):this},Oe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new I)},Oe.prototype.asImmutable=function(){return this.__ensureOwner()},Oe.prototype.wasAltered=function(){return this.__altered},Oe.prototype.__iterator=function(l,d){return new ud(this,l,d)},Oe.prototype.__iterate=function(l,d){var v=this,x=0;return this._root&&this._root.iterate(function(R){return x++,l(R[1],R[0],v)},d),x},Oe.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?fd(this.size,this._root,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)};function sd(l){return!!(l&&l[ry])}Oe.isMap=sd;var ry="@@__IMMUTABLE_MAP__@@",Ce=Oe.prototype;Ce[ry]=!0,Ce[g]=Ce.remove,Ce.removeIn=Ce.deleteIn;function Ua(l,d){this.ownerID=l,this.entries=d}Ua.prototype.get=function(l,d,v,x){for(var R=this.entries,z=0,A=R.length;z=oE)return ZT(l,D,x,R);var he=l&&l===this.ownerID,be=he?D:M(D);return le?L?W===Q-1?be.pop():be[W]=be.pop():be[W]=[x,R]:be.push([x,R]),he?(this.entries=be,this):new Ua(l,be)}};function pi(l,d,v){this.ownerID=l,this.bitmap=d,this.nodes=v}pi.prototype.get=function(l,d,v,x){d===void 0&&(d=ur(v));var R=1<<((l===0?d:d>>>l)&T),z=this.bitmap;return z&R?this.nodes[fy(z&R-1)].get(l+m,d,v,x):x},pi.prototype.update=function(l,d,v,x,R,z,A){v===void 0&&(v=ur(x));var L=(d===0?v:v>>>d)&T,D=1<=iE)return tE(l,he,W,L,xe);if(Q&&!xe&&he.length===2&&ay(he[le^1]))return he[le^1];if(Q&&xe&&he.length===1&&ay(xe))return xe;var Ke=l&&l===this.ownerID,Wr=Q?xe?W:W^D:W|D,ln=Q?xe?dy(he,le,xe,Ke):nE(he,le,Ke):rE(he,le,xe,Ke);return Ke?(this.bitmap=Wr,this.nodes=ln,this):new pi(l,Wr,ln)};function Ha(l,d,v){this.ownerID=l,this.count=d,this.nodes=v}Ha.prototype.get=function(l,d,v,x){d===void 0&&(d=ur(v));var R=(l===0?d:d>>>l)&T,z=this.nodes[R];return z?z.get(l+m,d,v,x):x},Ha.prototype.update=function(l,d,v,x,R,z,A){v===void 0&&(v=ur(x));var L=(d===0?v:v>>>d)&T,D=R===O,W=this.nodes,Q=W[L];if(D&&!Q)return this;var le=dd(Q,l,d+m,v,x,R,z,A);if(le===Q)return this;var he=this.count;if(!Q)he++;else if(!le&&(he--,he>>v)&T,A=(v===0?x:x>>>v)&T,L,D=z===A?[hd(l,d,v+m,x,R)]:(L=new Tn(d,x,R),z>>=1)A[L]=v&1?d[z++]:void 0;return A[x]=R,new Ha(l,z+1,A)}function Is(l,d,v){for(var x=[],R=0;R>1&1431655765),l=(l&858993459)+(l>>2&858993459),l=l+(l>>4)&252645135,l=l+(l>>8),l=l+(l>>16),l&127}function dy(l,d,v,x){var R=x?l:M(l);return R[d]=v,R}function rE(l,d,v,x){var R=l.length+1;if(x&&d+1===R)return l[d]=v,l;for(var z=new Array(R),A=0,L=0;L0&&x<_?Ga(0,x,m,null,new Kn(v.toArray())):d.withMutations(function(R){R.setSize(x),v.forEach(function(z,A){return R.set(A,z)})}))}He.of=function(){return this(arguments)},He.prototype.toString=function(){return this.__toString("List [","]")},He.prototype.get=function(l,d){if(l=q(this,l),l>=0&&l>>d&T;if(x>=this.array.length)return new Kn([],l);var R=x===0,z;if(d>0){var A=this.array[x];if(z=A&&A.removeBefore(l,d-m,v),z===A&&R)return this}if(R&&!z)return this;var L=vi(this,l);if(!R)for(var D=0;D>>d&T;if(x>=this.array.length)return this;var R;if(d>0){var z=this.array[x];if(R=z&&z.removeAfter(l,d-m,v),R===z&&x===this.array.length-1)return this}var A=vi(this,l);return A.array.splice(x+1),R&&(A.array[x]=R),A};var qa={};function my(l,d){var v=l._origin,x=l._capacity,R=Va(x),z=l._tail;return A(l._root,l._level,0);function A(W,Q,le){return Q===0?L(W,le):D(W,Q,le)}function L(W,Q){var le=Q===R?z&&z.array:W&&W.array,he=Q>v?0:v-Q,be=x-Q;return be>_&&(be=_),function(){if(he===be)return qa;var xe=d?--be:he++;return le&&le[xe]}}function D(W,Q,le){var he,be=W&&W.array,xe=le>v?0:v-le>>Q,Ke=(x-le>>Q)+1;return Ke>_&&(Ke=_),function(){do{if(he){var Wr=he();if(Wr!==qa)return Wr;he=null}if(xe===Ke)return qa;var ln=d?--Ke:xe++;he=A(be&&be[ln],Q-m,le+(ln<=l.size||d<0)return l.withMutations(function(A){d<0?Yn(A,d).set(0,v):Yn(A,0,d+1).set(d,v)});d+=l._origin;var x=l._tail,R=l._root,z=E(b);return d>=Va(l._capacity)?x=md(x,l.__ownerID,0,d,v,z):R=md(R,l.__ownerID,l._level,d,v,z),z.value?l.__ownerID?(l._root=R,l._tail=x,l.__hash=void 0,l.__altered=!0,l):Ga(l._origin,l._capacity,l._level,R,x):l}function md(l,d,v,x,R,z){var A=x>>>v&T,L=l&&A0){var W=l&&l.array[A],Q=md(W,d,v-m,x,R,z);return Q===W?l:(D=vi(l,d),D.array[A]=Q,D)}return L&&l.array[A]===R?l:(P(z),D=vi(l,d),R===void 0&&A===D.array.length-1?D.array.pop():D.array[A]=R,D)}function vi(l,d){return d&&l&&d===l.ownerID?l:new Kn(l?l.array.slice():[],d)}function gy(l,d){if(d>=Va(l._capacity))return l._tail;if(d<1<0;)v=v.array[d>>>x&T],x-=m;return v}}function Yn(l,d,v){d!==void 0&&(d=d|0),v!==void 0&&(v=v|0);var x=l.__ownerID||new I,R=l._origin,z=l._capacity,A=R+d,L=v===void 0?z:v<0?z+v:R+v;if(A===R&&L===z)return l;if(A>=L)return l.clear();for(var D=l._level,W=l._root,Q=0;A+Q<0;)W=new Kn(W&&W.array.length?[void 0,W]:[],x),D+=m,Q+=1<=1<le?new Kn([],x):be;if(be&&he>le&&Am;Wr-=m){var ln=le>>>Wr&T;Ke=Ke.array[ln]=vi(Ke.array[ln],x)}Ke.array[le>>>m&T]=be}if(L=he)A-=he,L-=he,D=m,W=null,xe=xe&&xe.removeBefore(x,0,A);else if(A>R||he>>D&T;if(Ds!==he>>>D&T)break;Ds&&(Q+=(1<R&&(W=W.removeBefore(x,D,A-Q)),W&&heR&&(R=L.size),u(A)||(L=L.map(function(D){return Fa(D)})),x.push(L)}return R>l.size&&(l=l.setSize(R)),uy(l,d,x)}function Va(l){return l<_?0:l-1>>>m<=_&&R.size>=x.size*2?(D=R.filter(function(W,Q){return W!==void 0&&z!==Q}),L=D.toKeyedSeq().map(function(W){return W[0]}).flip().toMap(),l.__ownerID&&(L.__ownerID=D.__ownerID=l.__ownerID)):(L=x.remove(d),D=z===R.size-1?R.pop():R.set(z,void 0))}else if(A){if(v===R.get(z)[1])return l;L=x,D=R.set(z,[d,v])}else L=x.set(d,R.size),D=R.set(R.size,[d,v]);return l.__ownerID?(l.size=L.size,l._map=L,l._list=D,l.__hash=void 0,l):vd(L,D)}n(Or,re);function Or(l,d){this._iter=l,this._useKeys=d,this.size=l.size}Or.prototype.get=function(l,d){return this._iter.get(l,d)},Or.prototype.has=function(l){return this._iter.has(l)},Or.prototype.valueSeq=function(){return this._iter.valueSeq()},Or.prototype.reverse=function(){var l=this,d=gd(this,!0);return this._useKeys||(d.valueSeq=function(){return l._iter.toSeq().reverse()}),d},Or.prototype.map=function(l,d){var v=this,x=by(this,l,d);return this._useKeys||(x.valueSeq=function(){return v._iter.toSeq().map(l,d)}),x},Or.prototype.__iterate=function(l,d){var v=this,x;return this._iter.__iterate(this._useKeys?function(R,z){return l(R,z,v)}:(x=d?Oy(this):0,function(R){return l(R,d?--x:x++,v)}),d)},Or.prototype.__iterator=function(l,d){if(this._useKeys)return this._iter.__iterator(l,d);var v=this._iter.__iterator(fe,d),x=d?Oy(this):0;return new ye(function(){var R=v.next();return R.done?R:H(l,d?--x:x++,R.value,R)})},Or.prototype[C]=!0,n(gi,K);function gi(l){this._iter=l,this.size=l.size}gi.prototype.includes=function(l){return this._iter.includes(l)},gi.prototype.__iterate=function(l,d){var v=this,x=0;return this._iter.__iterate(function(R){return l(R,x++,v)},d)},gi.prototype.__iterator=function(l,d){var v=this._iter.__iterator(fe,d),x=0;return new ye(function(){var R=v.next();return R.done?R:H(l,x++,R.value,R)})},n(yi,X);function yi(l){this._iter=l,this.size=l.size}yi.prototype.has=function(l){return this._iter.includes(l)},yi.prototype.__iterate=function(l,d){var v=this;return this._iter.__iterate(function(x){return l(x,x,v)},d)},yi.prototype.__iterator=function(l,d){var v=this._iter.__iterator(fe,d);return new ye(function(){var x=v.next();return x.done?x:H(l,x.value,x.value,x)})},n(_i,re);function _i(l){this._iter=l,this.size=l.size}_i.prototype.entrySeq=function(){return this._iter.toSeq()},_i.prototype.__iterate=function(l,d){var v=this;return this._iter.__iterate(function(x){if(x){Ey(x);var R=u(x);return l(R?x.get(1):x[1],R?x.get(0):x[0],v)}},d)},_i.prototype.__iterator=function(l,d){var v=this._iter.__iterator(fe,d);return new ye(function(){for(;;){var x=v.next();if(x.done)return x;var R=x.value;if(R){Ey(R);var z=u(R);return H(l,z?R.get(0):R[0],z?R.get(1):R[1],x)}}})},gi.prototype.cacheResult=Or.prototype.cacheResult=yi.prototype.cacheResult=_i.prototype.cacheResult=Sd;function wy(l){var d=nn(l);return d._iter=l,d.size=l.size,d.flip=function(){return l},d.reverse=function(){var v=l.reverse.apply(this);return v.flip=function(){return l.reverse()},v},d.has=function(v){return l.includes(v)},d.includes=function(v){return l.has(v)},d.cacheResult=Sd,d.__iterateUncached=function(v,x){var R=this;return l.__iterate(function(z,A){return v(A,z,R)!==!1},x)},d.__iteratorUncached=function(v,x){if(v===Se){var R=l.__iterator(v,x);return new ye(function(){var z=R.next();if(!z.done){var A=z.value[0];z.value[0]=z.value[1],z.value[1]=A}return z})}return l.__iterator(v===fe?ie:fe,x)},d}function by(l,d,v){var x=nn(l);return x.size=l.size,x.has=function(R){return l.has(R)},x.get=function(R,z){var A=l.get(R,O);return A===O?z:d.call(v,A,R,l)},x.__iterateUncached=function(R,z){var A=this;return l.__iterate(function(L,D,W){return R(d.call(v,L,D,W),D,A)!==!1},z)},x.__iteratorUncached=function(R,z){var A=l.__iterator(Se,z);return new ye(function(){var L=A.next();if(L.done)return L;var D=L.value,W=D[0];return H(R,W,d.call(v,D[1],W,l),L)})},x}function gd(l,d){var v=nn(l);return v._iter=l,v.size=l.size,v.reverse=function(){return l},l.flip&&(v.flip=function(){var x=wy(l);return x.reverse=function(){return l.flip()},x}),v.get=function(x,R){return l.get(d?x:-1-x,R)},v.has=function(x){return l.has(d?x:-1-x)},v.includes=function(x){return l.includes(x)},v.cacheResult=Sd,v.__iterate=function(x,R){var z=this;return l.__iterate(function(A,L){return x(A,L,z)},!R)},v.__iterator=function(x,R){return l.__iterator(x,!R)},v}function xy(l,d,v,x){var R=nn(l);return x&&(R.has=function(z){var A=l.get(z,O);return A!==O&&!!d.call(v,A,z,l)},R.get=function(z,A){var L=l.get(z,O);return L!==O&&d.call(v,L,z,l)?L:A}),R.__iterateUncached=function(z,A){var L=this,D=0;return l.__iterate(function(W,Q,le){if(d.call(v,W,Q,le))return D++,z(W,x?Q:D-1,L)},A),D},R.__iteratorUncached=function(z,A){var L=l.__iterator(Se,A),D=0;return new ye(function(){for(;;){var W=L.next();if(W.done)return W;var Q=W.value,le=Q[0],he=Q[1];if(d.call(v,he,le,l))return H(z,x?le:D++,he,W)}})},R}function sE(l,d,v){var x=Oe().asMutable();return l.__iterate(function(R,z){x.update(d.call(v,R,z,l),0,function(A){return A+1})}),x.asImmutable()}function uE(l,d,v){var x=c(l),R=(p(l)?at():Oe()).asMutable();l.__iterate(function(A,L){R.update(d.call(v,A,L,l),function(D){return D=D||[],D.push(x?[L,A]:A),D})});var z=ky(l);return R.map(function(A){return We(l,z(A))})}function yd(l,d,v,x){var R=l.size;if(d!==void 0&&(d=d|0),v!==void 0&&(v===1/0?v=R:v=v|0),ue(d,v,R))return l;var z=se(d,R),A=ge(v,R);if(z!==z||A!==A)return yd(l.toSeq().cacheResult(),d,v,x);var L=A-z,D;L===L&&(D=L<0?0:L);var W=nn(l);return W.size=D===0?D:l.size&&D||void 0,!x&&Te(l)&&D>=0&&(W.get=function(Q,le){return Q=q(this,Q),Q>=0&&QD)return V();var Ke=he.next();return x||Q===fe?Ke:Q===ie?H(Q,xe-1,void 0,Ke):H(Q,xe-1,Ke.value[1],Ke)})},W}function cE(l,d,v){var x=nn(l);return x.__iterateUncached=function(R,z){var A=this;if(z)return this.cacheResult().__iterate(R,z);var L=0;return l.__iterate(function(D,W,Q){return d.call(v,D,W,Q)&&++L&&R(D,W,A)}),L},x.__iteratorUncached=function(R,z){var A=this;if(z)return this.cacheResult().__iterator(R,z);var L=l.__iterator(Se,z),D=!0;return new ye(function(){if(!D)return V();var W=L.next();if(W.done)return W;var Q=W.value,le=Q[0],he=Q[1];return d.call(v,he,le,A)?R===Se?W:H(R,le,he,W):(D=!1,V())})},x}function Cy(l,d,v,x){var R=nn(l);return R.__iterateUncached=function(z,A){var L=this;if(A)return this.cacheResult().__iterate(z,A);var D=!0,W=0;return l.__iterate(function(Q,le,he){if(!(D&&(D=d.call(v,Q,le,he))))return W++,z(Q,x?le:W-1,L)}),W},R.__iteratorUncached=function(z,A){var L=this;if(A)return this.cacheResult().__iterator(z,A);var D=l.__iterator(Se,A),W=!0,Q=0;return new ye(function(){var le,he,be;do{if(le=D.next(),le.done)return x||z===fe?le:z===ie?H(z,Q++,void 0,le):H(z,Q++,le.value[1],le);var xe=le.value;he=xe[0],be=xe[1],W&&(W=d.call(v,be,he,L))}while(W);return z===Se?le:H(z,he,be,le)})},R}function fE(l,d){var v=c(l),x=[l].concat(d).map(function(A){return u(A)?v&&(A=i(A)):A=v?sr(A):Tr(Array.isArray(A)?A:[A]),A}).filter(function(A){return A.size!==0});if(x.length===0)return l;if(x.length===1){var R=x[0];if(R===l||v&&c(R)||f(l)&&f(R))return R}var z=new pe(x);return v?z=z.toKeyedSeq():f(l)||(z=z.toSetSeq()),z=z.flatten(!0),z.size=x.reduce(function(A,L){if(A!==void 0){var D=L.size;if(D!==void 0)return A+D}},0),z}function Ry(l,d,v){var x=nn(l);return x.__iterateUncached=function(R,z){var A=0,L=!1;function D(W,Q){var le=this;W.__iterate(function(he,be){return(!d||Q0}function _d(l,d,v){var x=nn(l);return x.size=new pe(v).map(function(R){return R.size}).min(),x.__iterate=function(R,z){for(var A=this.__iterator(fe,z),L,D=0;!(L=A.next()).done&&R(L.value,D++,this)!==!1;);return D},x.__iteratorUncached=function(R,z){var A=v.map(function(W){return W=o(W),B(z?W.reverse():W)}),L=0,D=!1;return new ye(function(){var W;return D||(W=A.map(function(Q){return Q.next()}),D=W.some(function(Q){return Q.done})),D?V():H(R,L++,d.apply(null,W.map(function(Q){return Q.value})))})},x}function We(l,d){return Te(l)?d:l.constructor(d)}function Ey(l){if(l!==Object(l))throw new TypeError("Expected [K, V] tuple: "+l)}function Oy(l){return cr(l.size),F(l)}function ky(l){return c(l)?i:f(l)?a:s}function nn(l){return Object.create((c(l)?re:f(l)?K:X).prototype)}function Sd(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):te.prototype.cacheResult.call(this)}function Py(l,d){return l>d?1:l=0;v--)d={value:arguments[v],next:d};return this.__ownerID?(this.size=l,this._head=d,this.__hash=void 0,this.__altered=!0,this):Ka(l,d)},ft.prototype.pushAll=function(l){if(l=a(l),l.size===0)return this;cr(l.size);var d=this.size,v=this._head;return l.reverse().forEach(function(x){d++,v={value:x,next:v}}),this.__ownerID?(this.size=d,this._head=v,this.__hash=void 0,this.__altered=!0,this):Ka(d,v)},ft.prototype.pop=function(){return this.slice(1)},ft.prototype.unshift=function(){return this.push.apply(this,arguments)},ft.prototype.unshiftAll=function(l){return this.pushAll(l)},ft.prototype.shift=function(){return this.pop.apply(this,arguments)},ft.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Rd()},ft.prototype.slice=function(l,d){if(ue(l,d,this.size))return this;var v=se(l,this.size),x=ge(d,this.size);if(x!==this.size)return hi.prototype.slice.call(this,l,d);for(var R=this.size-v,z=this._head;v--;)z=z.next;return this.__ownerID?(this.size=R,this._head=z,this.__hash=void 0,this.__altered=!0,this):Ka(R,z)},ft.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?Ka(this.size,this._head,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)},ft.prototype.__iterate=function(l,d){if(d)return this.reverse().__iterate(l);for(var v=0,x=this._head;x&&l(x.value,v++,this)!==!1;)x=x.next;return v},ft.prototype.__iterator=function(l,d){if(d)return this.reverse().__iterator(l);var v=0,x=this._head;return new ye(function(){if(x){var R=x.value;return x=x.next,H(l,v++,R)}return V()})};function Dy(l){return!!(l&&l[Fy])}ft.isStack=Dy;var Fy="@@__IMMUTABLE_STACK__@@",wi=ft.prototype;wi[Fy]=!0,wi.withMutations=Ce.withMutations,wi.asMutable=Ce.asMutable,wi.asImmutable=Ce.asImmutable,wi.wasAltered=Ce.wasAltered;function Ka(l,d,v,x){var R=Object.create(wi);return R.size=l,R._head=d,R.__ownerID=v,R.__hash=x,R.__altered=!1,R}var Wy;function Rd(){return Wy||(Wy=Ka(0))}function an(l,d){var v=function(x){l.prototype[x]=d[x]};return Object.keys(d).forEach(v),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(d).forEach(v),l}o.Iterator=ye,an(o,{toArray:function(){cr(this.size);var l=new Array(this.size||0);return this.valueSeq().__iterate(function(d,v){l[v]=d}),l},toIndexedSeq:function(){return new gi(this)},toJS:function(){return this.toSeq().map(function(l){return l&&typeof l.toJS=="function"?l.toJS():l}).__toJS()},toJSON:function(){return this.toSeq().map(function(l){return l&&typeof l.toJSON=="function"?l.toJSON():l}).__toJS()},toKeyedSeq:function(){return new Or(this,!0)},toMap:function(){return Oe(this.toKeyedSeq())},toObject:function(){cr(this.size);var l={};return this.__iterate(function(d,v){l[v]=d}),l},toOrderedMap:function(){return at(this.toKeyedSeq())},toOrderedSet:function(){return on(c(this)?this.valueSeq():this)},toSet:function(){return Ve(c(this)?this.valueSeq():this)},toSetSeq:function(){return new yi(this)},toSeq:function(){return f(this)?this.toIndexedSeq():c(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return ft(c(this)?this.valueSeq():this)},toList:function(){return He(c(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(l,d){return this.size===0?l+d:l+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+d},concat:function(){var l=r.call(arguments,0);return We(this,fE(this,l))},includes:function(l){return this.some(function(d){return ct(d,l)})},entries:function(){return this.__iterator(Se)},every:function(l,d){cr(this.size);var v=!0;return this.__iterate(function(x,R,z){if(!l.call(d,x,R,z))return v=!1,!1}),v},filter:function(l,d){return We(this,xy(this,l,d,!0))},find:function(l,d,v){var x=this.findEntry(l,d);return x?x[1]:v},forEach:function(l,d){return cr(this.size),this.__iterate(d?l.bind(d):l)},join:function(l){cr(this.size),l=l!==void 0?""+l:",";var d="",v=!0;return this.__iterate(function(x){v?v=!1:d+=l,d+=x!=null?x.toString():""}),d},keys:function(){return this.__iterator(ie)},map:function(l,d){return We(this,by(this,l,d))},reduce:function(l,d,v){cr(this.size);var x,R;return arguments.length<2?R=!0:x=d,this.__iterate(function(z,A,L){R?(R=!1,x=z):x=l.call(v,x,z,A,L)}),x},reduceRight:function(l,d,v){var x=this.toKeyedSeq().reverse();return x.reduce.apply(x,arguments)},reverse:function(){return We(this,gd(this,!0))},slice:function(l,d){return We(this,yd(this,l,d,!0))},some:function(l,d){return!this.every($s(l),d)},sort:function(l){return We(this,Si(this,l))},values:function(){return this.__iterator(fe)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(l,d){return F(l?this.toSeq().filter(l,d):this)},countBy:function(l,d){return sE(this,l,d)},equals:function(l){return Jf(this,l)},entrySeq:function(){var l=this;if(l._cache)return new pe(l._cache);var d=l.toSeq().map(gE).toIndexedSeq();return d.fromEntrySeq=function(){return l.toSeq()},d},filterNot:function(l,d){return this.filter($s(l),d)},findEntry:function(l,d,v){var x=v;return this.__iterate(function(R,z,A){if(l.call(d,R,z,A))return x=[z,R],!1}),x},findKey:function(l,d){var v=this.findEntry(l,d);return v&&v[0]},findLast:function(l,d,v){return this.toKeyedSeq().reverse().find(l,d,v)},findLastEntry:function(l,d,v){return this.toKeyedSeq().reverse().findEntry(l,d,v)},findLastKey:function(l,d){return this.toKeyedSeq().reverse().findKey(l,d)},first:function(){return this.find(G)},flatMap:function(l,d){return We(this,dE(this,l,d))},flatten:function(l){return We(this,Ry(this,l,!0))},fromEntrySeq:function(){return new _i(this)},get:function(l,d){return this.find(function(v,x){return ct(x,l)},void 0,d)},getIn:function(l,d){for(var v=this,x=Iy(l),R;!(R=x.next()).done;){var z=R.value;if(v=v&&v.get?v.get(z,O):O,v===O)return d}return v},groupBy:function(l,d){return uE(this,l,d)},has:function(l){return this.get(l,O)!==O},hasIn:function(l){return this.getIn(l,O)!==O},isSubset:function(l){return l=typeof l.includes=="function"?l:o(l),this.every(function(d){return l.includes(d)})},isSuperset:function(l){return l=typeof l.isSubset=="function"?l:o(l),l.isSubset(this)},keyOf:function(l){return this.findKey(function(d){return ct(d,l)})},keySeq:function(){return this.toSeq().map(vE).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(l){return this.toKeyedSeq().reverse().keyOf(l)},max:function(l){return As(this,l)},maxBy:function(l,d){return As(this,d,l)},min:function(l){return As(this,l?By(l):Hy)},minBy:function(l,d){return As(this,d?By(d):Hy,l)},rest:function(){return this.slice(1)},skip:function(l){return this.slice(Math.max(0,l))},skipLast:function(l){return We(this,this.toSeq().reverse().skip(l).reverse())},skipWhile:function(l,d){return We(this,Cy(this,l,d,!0))},skipUntil:function(l,d){return this.skipWhile($s(l),d)},sortBy:function(l,d){return We(this,Si(this,d,l))},take:function(l){return this.slice(0,Math.max(0,l))},takeLast:function(l){return We(this,this.toSeq().reverse().take(l).reverse())},takeWhile:function(l,d){return We(this,cE(this,l,d))},takeUntil:function(l,d){return this.takeWhile($s(l),d)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=_E(this))}});var Ht=o.prototype;Ht[w]=!0,Ht[tt]=Ht.values,Ht.__toJS=Ht.toArray,Ht.__toStringMapper=Uy,Ht.inspect=Ht.toSource=function(){return this.toString()},Ht.chain=Ht.flatMap,Ht.contains=Ht.includes,an(i,{flip:function(){return We(this,wy(this))},mapEntries:function(l,d){var v=this,x=0;return We(this,this.toSeq().map(function(R,z){return l.call(d,[z,R],x++,v)}).fromEntrySeq())},mapKeys:function(l,d){var v=this;return We(this,this.toSeq().flip().map(function(x,R){return l.call(d,x,R,v)}).flip())}});var Ns=i.prototype;Ns[S]=!0,Ns[tt]=Ht.entries,Ns.__toJS=Ht.toObject,Ns.__toStringMapper=function(l,d){return JSON.stringify(d)+": "+Uy(l)},an(a,{toKeyedSeq:function(){return new Or(this,!1)},filter:function(l,d){return We(this,xy(this,l,d,!1))},findIndex:function(l,d){var v=this.findEntry(l,d);return v?v[0]:-1},indexOf:function(l){var d=this.keyOf(l);return d===void 0?-1:d},lastIndexOf:function(l){var d=this.lastKeyOf(l);return d===void 0?-1:d},reverse:function(){return We(this,gd(this,!1))},slice:function(l,d){return We(this,yd(this,l,d,!1))},splice:function(l,d){var v=arguments.length;if(d=Math.max(d|0,0),v===0||v===2&&!d)return this;l=se(l,l<0?this.count():this.size);var x=this.slice(0,l);return We(this,v===1?x:x.concat(M(arguments,2),this.slice(l+d)))},findLastIndex:function(l,d){var v=this.findLastEntry(l,d);return v?v[0]:-1},first:function(){return this.get(0)},flatten:function(l){return We(this,Ry(this,l,!1))},get:function(l,d){return l=q(this,l),l<0||this.size===1/0||this.size!==void 0&&l>this.size?d:this.find(function(v,x){return x===l},void 0,d)},has:function(l){return l=q(this,l),l>=0&&(this.size!==void 0?this.size===1/0||ld?-1:0}function _E(l){if(l.size===1/0)return 0;var d=p(l),v=c(l),x=d?1:0,R=l.__iterate(v?d?function(z,A){x=31*x+qy(ur(z),ur(A))|0}:function(z,A){x=x+qy(ur(z),ur(A))|0}:d?function(z){x=31*x+ur(z)|0}:function(z){x=x+ur(z)|0});return SE(R,x)}function SE(l,d){return d=Ba(d,3432918353),d=Ba(d<<15|d>>>-15,461845907),d=Ba(d<<13|d>>>-13,5),d=(d+3864292196|0)^l,d=Ba(d^d>>>16,2246822507),d=Ba(d^d>>>13,3266489909),d=td(d^d>>>16),d}function qy(l,d){return l^d+2654435769+(l<<6)+(l>>2)|0}var wE={Iterable:o,Seq:te,Collection:Vn,Map:Oe,OrderedMap:at,List:He,Stack:ft,Set:Ve,OrderedSet:on,Record:fr,Range:Ct,Repeat:jt,is:ct,fromJS:Fa};return wE})}(vh)),vh.exports}function x4(e){return e=e||Object.create(null),{on:function(r,n){(e[r]||(e[r]=[])).push(n)},off:function(r,n){e[r]&&e[r].splice(e[r].indexOf(n)>>>0,1)},emit:function(r,n){(e[r]||[]).slice().map(function(o){o(n)}),(e["*"]||[]).slice().map(function(o){o(r,n)})}}}const C4=Object.freeze(Object.defineProperty({__proto__:null,default:x4},Symbol.toStringTag,{value:"Module"})),R4=Ra(C4);var gh,NS;function RR(){if(NS)return gh;NS=1;var e=typeof Fo=="object"&&Fo&&Fo.Object===Object&&Fo;return gh=e,gh}var yh,$S;function T4(){if($S)return yh;$S=1;var e=RR(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return yh=r,yh}var _h,DS;function Nf(){if(DS)return _h;DS=1;var e=T4(),t=e.Symbol;return _h=t,_h}var Sh,FS;function E4(){if(FS)return Sh;FS=1;var e=Nf(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,o=e?e.toStringTag:void 0;function i(a){var s=r.call(a,o),u=a[o];try{a[o]=void 0;var c=!0}catch{}var f=n.call(a);return c&&(s?a[o]=u:delete a[o]),f}return Sh=i,Sh}var wh,WS;function O4(){if(WS)return wh;WS=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return wh=r,wh}var bh,BS;function $f(){if(BS)return bh;BS=1;var e=Nf(),t=E4(),r=O4(),n="[object Null]",o="[object Undefined]",i=e?e.toStringTag:void 0;function a(s){return s==null?s===void 0?o:n:i&&i in Object(s)?t(s):r(s)}return bh=a,bh}var xh,US;function bs(){if(US)return xh;US=1;function e(t){return t!=null&&typeof t=="object"}return xh=e,xh}var Ch,HS;function k4(){if(HS)return Ch;HS=1;var e=$f(),t=bs(),r="[object RegExp]";function n(o){return t(o)&&e(o)==r}return Ch=n,Ch}var Rh,qS;function P4(){if(qS)return Rh;qS=1;function e(t){return function(r){return t(r)}}return Rh=e,Rh}var pl={exports:{}};pl.exports;var GS;function I4(){return GS||(GS=1,function(e,t){var r=RR(),n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i&&r.process,s=function(){try{var u=o&&o.require&&o.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s}(pl,pl.exports)),pl.exports}var Th,VS;function z4(){if(VS)return Th;VS=1;var e=k4(),t=P4(),r=I4(),n=r&&r.isRegExp,o=n?t(n):e;return Th=o,Th}var Eh,KS;function j4(){if(KS)return Eh;KS=1;function e(t,r){for(var n=-1,o=t==null?0:t.length,i=Array(o);++n0&&i(f)?o>1?r(f,o-1,i,a,s):e(s,f):a||(s[s.length]=f)}return s}return $h=r,$h}var Dh,a1;function H4(){if(a1)return Dh;a1=1;var e=U4();function t(r){var n=r==null?0:r.length;return n?e(r,1):[]}return Dh=t,Dh}var Fh,l1;function q4(){if(l1)return Fh;l1=1;var e=z4(),t=N4(),r=$4(),n=H4();function o(i,a,s){var u=0,c=0;if(i==="")return i;if(!i||!r(i))throw new TypeError("First argument to react-string-replace#replaceString must be a string");var f=a;e(f)||(f=new RegExp("("+t(f)+")","gi"));for(var h=i.split(f),p=1,w=h.length;p=0&&u===s&&c())}function ml(e,t){if(e==null)return{};var r=Cn(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var G4=function(){function e(t){var r=t.cellCount,n=t.cellSizeGetter,o=t.estimatedCellSize;it(this,e),$(this,"_cellSizeAndPositionData",{}),$(this,"_lastMeasuredIndex",-1),$(this,"_lastBatchedIndex",-1),$(this,"_cellCount",void 0),$(this,"_cellSizeGetter",void 0),$(this,"_estimatedCellSize",void 0),this._cellSizeGetter=n,this._cellCount=r,this._estimatedCellSize=o}return ut(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(r){var n=r.cellCount,o=r.estimatedCellSize,i=r.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=o,this._cellSizeGetter=i}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(r){if(r<0||r>=this._cellCount)throw Error("Requested index ".concat(r," is outside of range 0..").concat(this._cellCount));if(r>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),o=n.offset+n.size,i=this._lastMeasuredIndex+1;i<=r;i++){var a=this._cellSizeGetter({index:i});if(a===void 0||isNaN(a))throw Error("Invalid size returned for cell ".concat(i," of value ").concat(a));a===null?(this._cellSizeAndPositionData[i]={offset:o,size:0},this._lastBatchedIndex=r):(this._cellSizeAndPositionData[i]={offset:o,size:a},o+=a,this._lastMeasuredIndex=r)}return this._cellSizeAndPositionData[r]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var r=this.getSizeAndPositionOfLastMeasuredCell(),n=r.offset+r.size,o=this._cellCount-this._lastMeasuredIndex-1,i=o*this._estimatedCellSize;return n+i}},{key:"getUpdatedOffsetForIndex",value:function(r){var n=r.align,o=n===void 0?"auto":n,i=r.containerSize,a=r.currentOffset,s=r.targetIndex;if(i<=0)return 0;var u=this.getSizeAndPositionOfCell(s),c=u.offset,f=c-i+u.size,h;switch(o){case"start":h=c;break;case"end":h=f;break;case"center":h=c-(i-u.size)/2;break;default:h=Math.max(f,Math.min(c,a));break}var p=this.getTotalSize();return Math.max(0,Math.min(p-i,h))}},{key:"getVisibleCellRange",value:function(r){var n=r.containerSize,o=r.offset,i=this.getTotalSize();if(i===0)return{};var a=o+n,s=this._findNearestCell(o),u=this.getSizeAndPositionOfCell(s);o=u.offset+u.size;for(var c=s;oo&&(r=i-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(r,n){for(var o=1;r=r?this._binarySearch(o,0,r):this._exponentialSearch(o,r)}}]),e}(),V4=15e5,K4=16777100,Y4=function(){return typeof window<"u"},Q4=function(){return!!window.chrome},X4=function(){return Y4()&&Q4()?K4:V4},c1=function(){function e(t){var r=t.maxScrollSize,n=r===void 0?X4():r,o=ml(t,["maxScrollSize"]);it(this,e),$(this,"_cellSizeAndPositionManager",void 0),$(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new G4(o),this._maxScrollSize=n}return ut(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(r){this._cellSizeAndPositionManager.configure(r)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(r){var n=r.containerSize,o=r.offset,i=this._cellSizeAndPositionManager.getTotalSize(),a=this.getTotalSize(),s=this._getOffsetPercentage({containerSize:n,offset:o,totalSize:a});return Math.round(s*(a-i))}},{key:"getSizeAndPositionOfCell",value:function(r){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(r)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(r){var n=r.align,o=n===void 0?"auto":n,i=r.containerSize,a=r.currentOffset,s=r.targetIndex;a=this._safeOffsetToOffset({containerSize:i,offset:a});var u=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:i,currentOffset:a,targetIndex:s});return this._offsetToSafeOffset({containerSize:i,offset:u})}},{key:"getVisibleCellRange",value:function(r){var n=r.containerSize,o=r.offset;return o=this._safeOffsetToOffset({containerSize:n,offset:o}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:o})}},{key:"resetCell",value:function(r){this._cellSizeAndPositionManager.resetCell(r)}},{key:"_getOffsetPercentage",value:function(r){var n=r.containerSize,o=r.offset,i=r.totalSize;return i<=n?0:o/(i-n)}},{key:"_offsetToSafeOffset",value:function(r){var n=r.containerSize,o=r.offset,i=this._cellSizeAndPositionManager.getTotalSize(),a=this.getTotalSize();if(i===a)return o;var s=this._getOffsetPercentage({containerSize:n,offset:o,totalSize:i});return Math.round(s*(a-n))}},{key:"_safeOffsetToOffset",value:function(r){var n=r.containerSize,o=r.offset,i=this._cellSizeAndPositionManager.getTotalSize(),a=this.getTotalSize();if(i===a)return o;var s=this._getOffsetPercentage({containerSize:n,offset:o,totalSize:a});return Math.round(s*(i-n))}}]),e}();function wa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t={};return function(r){var n=r.callback,o=r.indices,i=Object.keys(o),a=!e||i.every(function(u){var c=o[u];return Array.isArray(c)?c.length>0:c>=0}),s=i.length!==Object.keys(t).length||i.some(function(u){var c=t[u],f=o[u];return Array.isArray(f)?c.join(",")!==f.join(","):c!==f});t=o,a&&s&&n(o)}}var au=-1,En=1;function PR(e){var t=e.cellCount,r=e.overscanCellsCount,n=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return n===En?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(t-1,i+r)}:{overscanStartIndex:Math.max(0,o-r),overscanStopIndex:Math.min(t-1,i)}}function f1(e){var t=e.cellSize,r=e.cellSizeAndPositionManager,n=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,s=e.previousSize,u=e.scrollOffset,c=e.scrollToAlignment,f=e.scrollToIndex,h=e.size,p=e.sizeJustIncreasedFromZero,w=e.updateScrollIndexCallback,S=r.getCellCount(),y=f>=0&&f0&&(hr.getTotalSize()-h&&w(S-1)}function IR(e){for(var t=e.cellCache,r=e.cellRenderer,n=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,u=e.isScrolling,c=e.isScrollingOptOut,f=e.parent,h=e.rowSizeAndPositionManager,p=e.rowStartIndex,w=e.rowStopIndex,S=e.styleCache,y=e.verticalOffsetAdjustment,C=e.visibleColumnIndices,g=e.visibleRowIndices,m=[],_=n.areOffsetsAdjusted()||h.areOffsetsAdjusted(),T=!u&&!_,O=p;O<=w;O++)for(var k=h.getSizeAndPositionOfCell(O),b=o;b<=i;b++){var E=n.getSizeAndPositionOfCell(b),P=b>=C.start&&b<=C.stop&&O>=g.start&&O<=g.stop,I="".concat(O,"-").concat(b),M=void 0;T&&S[I]?M=S[I]:a&&!a.has(O,b)?M={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(M={height:k.size,left:E.offset+s,position:"absolute",top:k.offset+y,width:E.size},S[I]=M);var F={columnIndex:b,isScrolling:u,isVisible:P,key:I,parent:f,rowIndex:O,style:M},q=void 0;(c||u)&&!s&&!y?(t[I]||(t[I]=r(F)),q=t[I]):q=r(F),!(q==null||q===!1)&&m.push(q)}return m}const J4=!!(typeof window<"u"&&window.document&&window.document.createElement);var lu;function hm(e){if((!lu&&lu!==0||e)&&J4){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),lu=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return lu}var Gt;typeof window<"u"?Gt=window:typeof self<"u"?Gt=self:Gt={};var Z4=Gt.requestAnimationFrame||Gt.webkitRequestAnimationFrame||Gt.mozRequestAnimationFrame||Gt.oRequestAnimationFrame||Gt.msRequestAnimationFrame||function(e){return Gt.setTimeout(e,1e3/60)},e$=Gt.cancelAnimationFrame||Gt.webkitCancelAnimationFrame||Gt.mozCancelAnimationFrame||Gt.oCancelAnimationFrame||Gt.msCancelAnimationFrame||function(e){Gt.clearTimeout(e)},d1=Z4,t$=e$,ba=function(t){return t$(t.id)},fg=function(t,r){var n;Promise.resolve().then(function(){n=Date.now()});var o=function a(){Date.now()-n>=r?t.call():i.id=d1(a)},i={id:d1(o)};return i},h1,p1;function m1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function jo(e){for(var t=1;t0&&(n._initialScrollTop=n._getCalculatedScrollTop(r,n.state)),r.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(r,n.state)),n}return ut(t,[{key:"getOffsetForCell",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.alignment,i=o===void 0?this.props.scrollToAlignment:o,a=n.columnIndex,s=a===void 0?this.props.scrollToColumn:a,u=n.rowIndex,c=u===void 0?this.props.scrollToRow:u,f=jo({},this.props,{scrollToAlignment:i,scrollToColumn:s,scrollToRow:c});return{scrollLeft:this._getCalculatedScrollLeft(f),scrollTop:this._getCalculatedScrollTop(f)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(n){var o=n.scrollLeft,i=o===void 0?0:o,a=n.scrollTop,s=a===void 0?0:a;if(!(s<0)){this._debounceScrollEnded();var u=this.props,c=u.autoHeight,f=u.autoWidth,h=u.height,p=u.width,w=this.state.instanceProps,S=w.scrollbarSize,y=w.rowSizeAndPositionManager.getTotalSize(),C=w.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,C-p+S),i),m=Math.min(Math.max(0,y-h+S),s);if(this.state.scrollLeft!==g||this.state.scrollTop!==m){var _=g!==this.state.scrollLeft?g>this.state.scrollLeft?En:au:this.state.scrollDirectionHorizontal,T=m!==this.state.scrollTop?m>this.state.scrollTop?En:au:this.state.scrollDirectionVertical,O={isScrolling:!0,scrollDirectionHorizontal:_,scrollDirectionVertical:T,scrollPositionChangeReason:Wh.OBSERVED};c||(O.scrollTop=m),f||(O.scrollLeft=g),O.needToResetStyleCache=!1,this.setState(O)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:m,totalColumnsWidth:C,totalRowsHeight:y})}}},{key:"invalidateCellSizeAfterRender",value:function(n){var o=n.columnIndex,i=n.rowIndex;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,i):i}},{key:"measureAllCells",value:function(){var n=this.props,o=n.columnCount,i=n.rowCount,a=this.state.instanceProps;a.columnSizeAndPositionManager.getSizeAndPositionOfCell(o-1),a.rowSizeAndPositionManager.getSizeAndPositionOfCell(i-1)}},{key:"recomputeGridSize",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a,u=this.props,c=u.scrollToColumn,f=u.scrollToRow,h=this.state.instanceProps;h.columnSizeAndPositionManager.resetCell(i),h.rowSizeAndPositionManager.resetCell(s),this._recomputeScrollLeftFlag=c>=0&&(this.state.scrollDirectionHorizontal===En?i<=c:i>=c),this._recomputeScrollTopFlag=f>=0&&(this.state.scrollDirectionVertical===En?s<=f:s>=f),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(n){var o=n.columnIndex,i=n.rowIndex,a=this.props.columnCount,s=this.props;a>1&&o!==void 0&&this._updateScrollLeftForScrollToColumn(jo({},s,{scrollToColumn:o})),i!==void 0&&this._updateScrollTopForScrollToRow(jo({},s,{scrollToRow:i}))}},{key:"componentDidMount",value:function(){var n=this.props,o=n.getScrollbarSize,i=n.height,a=n.scrollLeft,s=n.scrollToColumn,u=n.scrollTop,c=n.scrollToRow,f=n.width,h=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),h.scrollbarSizeMeasured||this.setState(function(S){var y=jo({},S,{needToResetStyleCache:!1});return y.instanceProps.scrollbarSize=o(),y.instanceProps.scrollbarSizeMeasured=!0,y}),typeof a=="number"&&a>=0||typeof u=="number"&&u>=0){var p=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:a,scrollTop:u});p&&(p.needToResetStyleCache=!1,this.setState(p))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var w=i>0&&f>0;s>=0&&w&&this._updateScrollLeftForScrollToColumn(),c>=0&&w&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:a||0,scrollTop:u||0,totalColumnsWidth:h.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:h.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(n,o){var i=this,a=this.props,s=a.autoHeight,u=a.autoWidth,c=a.columnCount,f=a.height,h=a.rowCount,p=a.scrollToAlignment,w=a.scrollToColumn,S=a.scrollToRow,y=a.width,C=this.state,g=C.scrollLeft,m=C.scrollPositionChangeReason,_=C.scrollTop,T=C.instanceProps;this._handleInvalidatedGridSize();var O=c>0&&n.columnCount===0||h>0&&n.rowCount===0;m===Wh.REQUESTED&&(!u&&g>=0&&(g!==this._scrollingContainer.scrollLeft||O)&&(this._scrollingContainer.scrollLeft=g),!s&&_>=0&&(_!==this._scrollingContainer.scrollTop||O)&&(this._scrollingContainer.scrollTop=_));var k=(n.width===0||n.height===0)&&f>0&&y>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):f1({cellSizeAndPositionManager:T.columnSizeAndPositionManager,previousCellsCount:n.columnCount,previousCellSize:n.columnWidth,previousScrollToAlignment:n.scrollToAlignment,previousScrollToIndex:n.scrollToColumn,previousSize:n.width,scrollOffset:g,scrollToAlignment:p,scrollToIndex:w,size:y,sizeJustIncreasedFromZero:k,updateScrollIndexCallback:function(){return i._updateScrollLeftForScrollToColumn(i.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):f1({cellSizeAndPositionManager:T.rowSizeAndPositionManager,previousCellsCount:n.rowCount,previousCellSize:n.rowHeight,previousScrollToAlignment:n.scrollToAlignment,previousScrollToIndex:n.scrollToRow,previousSize:n.height,scrollOffset:_,scrollToAlignment:p,scrollToIndex:S,size:f,sizeJustIncreasedFromZero:k,updateScrollIndexCallback:function(){return i._updateScrollTopForScrollToRow(i.props)}}),this._invokeOnGridRenderedHelper(),g!==o.scrollLeft||_!==o.scrollTop){var b=T.rowSizeAndPositionManager.getTotalSize(),E=T.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:_,totalColumnsWidth:E,totalRowsHeight:b})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&ba(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var n=this.props,o=n.autoContainerWidth,i=n.autoHeight,a=n.autoWidth,s=n.className,u=n.containerProps,c=n.containerRole,f=n.containerStyle,h=n.height,p=n.id,w=n.noContentRenderer,S=n.role,y=n.style,C=n.tabIndex,g=n.width,m=this.state,_=m.instanceProps,T=m.needToResetStyleCache,O=this._isScrolling(),k={boxSizing:"border-box",direction:"ltr",height:i?"auto":h,position:"relative",width:a?"auto":g,WebkitOverflowScrolling:"touch",willChange:"transform"};T&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var b=_.columnSizeAndPositionManager.getTotalSize(),E=_.rowSizeAndPositionManager.getTotalSize(),P=E>h?_.scrollbarSize:0,I=b>g?_.scrollbarSize:0;(I!==this._horizontalScrollBarSize||P!==this._verticalScrollBarSize)&&(this._horizontalScrollBarSize=I,this._verticalScrollBarSize=P,this._scrollbarPresenceChanged=!0),k.overflowX=b+P<=g?"hidden":"auto",k.overflowY=E+I<=h?"hidden":"auto";var M=this._childrenToDisplay,F=M.length===0&&h>0&&g>0;return N.createElement("div",_e({ref:this._setScrollingContainerRef},u,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Yr("ReactVirtualized__Grid",s),id:p,onScroll:this._onScroll,role:S,style:jo({},k,{},y),tabIndex:C}),M.length>0&&N.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:c,style:jo({width:o?"auto":b,height:E,maxWidth:b,maxHeight:E,overflow:"hidden",pointerEvents:O?"none":"",position:"relative"},f)},M),F&&w())}},{key:"_calculateChildrenToRender",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,i=n.cellRenderer,a=n.cellRangeRenderer,s=n.columnCount,u=n.deferredMeasurementCache,c=n.height,f=n.overscanColumnCount,h=n.overscanIndicesGetter,p=n.overscanRowCount,w=n.rowCount,S=n.width,y=n.isScrollingOptOut,C=o.scrollDirectionHorizontal,g=o.scrollDirectionVertical,m=o.instanceProps,_=this._initialScrollTop>0?this._initialScrollTop:o.scrollTop,T=this._initialScrollLeft>0?this._initialScrollLeft:o.scrollLeft,O=this._isScrolling(n,o);if(this._childrenToDisplay=[],c>0&&S>0){var k=m.columnSizeAndPositionManager.getVisibleCellRange({containerSize:S,offset:T}),b=m.rowSizeAndPositionManager.getVisibleCellRange({containerSize:c,offset:_}),E=m.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:S,offset:T}),P=m.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:c,offset:_});this._renderedColumnStartIndex=k.start,this._renderedColumnStopIndex=k.stop,this._renderedRowStartIndex=b.start,this._renderedRowStopIndex=b.stop;var I=h({direction:"horizontal",cellCount:s,overscanCellsCount:f,scrollDirection:C,startIndex:typeof k.start=="number"?k.start:0,stopIndex:typeof k.stop=="number"?k.stop:-1}),M=h({direction:"vertical",cellCount:w,overscanCellsCount:p,scrollDirection:g,startIndex:typeof b.start=="number"?b.start:0,stopIndex:typeof b.stop=="number"?b.stop:-1}),F=I.overscanStartIndex,q=I.overscanStopIndex,G=M.overscanStartIndex,ue=M.overscanStopIndex;if(u){if(!u.hasFixedHeight()){for(var se=G;se<=ue;se++)if(!u.has(se,0)){F=0,q=s-1;break}}if(!u.hasFixedWidth()){for(var ge=F;ge<=q;ge++)if(!u.has(0,ge)){G=0,ue=w-1;break}}}this._childrenToDisplay=a({cellCache:this._cellCache,cellRenderer:i,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:F,columnStopIndex:q,deferredMeasurementCache:u,horizontalOffsetAdjustment:E,isScrolling:O,isScrollingOptOut:y,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:G,rowStopIndex:ue,scrollLeft:T,scrollTop:_,styleCache:this._styleCache,verticalOffsetAdjustment:P,visibleColumnIndices:k,visibleRowIndices:b}),this._columnStartIndex=F,this._columnStopIndex=q,this._rowStartIndex=G,this._rowStopIndex=ue}}},{key:"_debounceScrollEnded",value:function(){var n=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&ba(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=fg(this._debounceScrollEndedCallback,n)}},{key:"_handleInvalidatedGridSize",value:function(){if(typeof this._deferredInvalidateColumnIndex=="number"&&typeof this._deferredInvalidateRowIndex=="number"){var n=this._deferredInvalidateColumnIndex,o=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:n,rowIndex:o})}}},{key:"_invokeOnScrollMemoizer",value:function(n){var o=this,i=n.scrollLeft,a=n.scrollTop,s=n.totalColumnsWidth,u=n.totalRowsHeight;this._onScrollMemoizer({callback:function(f){var h=f.scrollLeft,p=f.scrollTop,w=o.props,S=w.height,y=w.onScroll,C=w.width;y({clientHeight:S,clientWidth:C,scrollHeight:u,scrollLeft:h,scrollTop:p,scrollWidth:s})},indices:{scrollLeft:i,scrollTop:a}})}},{key:"_isScrolling",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return Object.hasOwnProperty.call(n,"isScrolling")?!!n.isScrolling:!!o.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var n=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,n({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(n){var o=n.scrollLeft,i=n.scrollTop,a=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:i});a&&(a.needToResetStyleCache=!1,this.setState(a))}},{key:"_getCalculatedScrollLeft",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return t._getCalculatedScrollLeft(n,o)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,i=t._getScrollLeftForScrollToColumnStateUpdate(n,o);i&&(i.needToResetStyleCache=!1,this.setState(i))}},{key:"_getCalculatedScrollTop",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return t._getCalculatedScrollTop(n,o)}},{key:"_resetStyleCache",value:function(){var n=this._styleCache,o=this._cellCache,i=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var a=this._rowStartIndex;a<=this._rowStopIndex;a++)for(var s=this._columnStartIndex;s<=this._columnStopIndex;s++){var u="".concat(a,"-").concat(s);this._styleCache[u]=n[u],i&&(this._cellCache[u]=o[u])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,i=t._getScrollTopForScrollToRowStateUpdate(n,o);i&&(i.needToResetStyleCache=!1,this.setState(i))}}],[{key:"getDerivedStateFromProps",value:function(n,o){var i={};n.columnCount===0&&o.scrollLeft!==0||n.rowCount===0&&o.scrollTop!==0?(i.scrollLeft=0,i.scrollTop=0):(n.scrollLeft!==o.scrollLeft&&n.scrollToColumn<0||n.scrollTop!==o.scrollTop&&n.scrollToRow<0)&&Object.assign(i,t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}));var a=o.instanceProps;i.needToResetStyleCache=!1,(n.columnWidth!==a.prevColumnWidth||n.rowHeight!==a.prevRowHeight)&&(i.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:n.columnCount,estimatedCellSize:t._getEstimatedColumnSize(n),cellSizeGetter:t._wrapSizeGetter(n.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:n.rowCount,estimatedCellSize:t._getEstimatedRowSize(n),cellSizeGetter:t._wrapSizeGetter(n.rowHeight)}),(a.prevColumnCount===0||a.prevRowCount===0)&&(a.prevColumnCount=0,a.prevRowCount=0),n.autoHeight&&n.isScrolling===!1&&a.prevIsScrolling===!0&&Object.assign(i,{isScrolling:!1});var s,u;return u1({cellCount:a.prevColumnCount,cellSize:typeof a.prevColumnWidth=="number"?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:n,nextCellsCount:n.columnCount,nextCellSize:typeof n.columnWidth=="number"?n.columnWidth:null,nextScrollToIndex:n.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){s=t._getScrollLeftForScrollToColumnStateUpdate(n,o)}}),u1({cellCount:a.prevRowCount,cellSize:typeof a.prevRowHeight=="number"?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:n,nextCellsCount:n.rowCount,nextCellSize:typeof n.rowHeight=="number"?n.rowHeight:null,nextScrollToIndex:n.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){u=t._getScrollTopForScrollToRowStateUpdate(n,o)}}),a.prevColumnCount=n.columnCount,a.prevColumnWidth=n.columnWidth,a.prevIsScrolling=n.isScrolling===!0,a.prevRowCount=n.rowCount,a.prevRowHeight=n.rowHeight,a.prevScrollToColumn=n.scrollToColumn,a.prevScrollToRow=n.scrollToRow,a.scrollbarSize=n.getScrollbarSize(),a.scrollbarSize===void 0?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,i.instanceProps=a,jo({},i,{},s,{},u)}},{key:"_getEstimatedColumnSize",value:function(n){return typeof n.columnWidth=="number"?n.columnWidth:n.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(n){return typeof n.rowHeight=="number"?n.rowHeight:n.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(n){var o=n.prevState,i=n.scrollLeft,a=n.scrollTop,s={scrollPositionChangeReason:Wh.REQUESTED};return typeof i=="number"&&i>=0&&(s.scrollDirectionHorizontal=i>o.scrollLeft?En:au,s.scrollLeft=i),typeof a=="number"&&a>=0&&(s.scrollDirectionVertical=a>o.scrollTop?En:au,s.scrollTop=a),typeof i=="number"&&i>=0&&i!==o.scrollLeft||typeof a=="number"&&a>=0&&a!==o.scrollTop?s:{}}},{key:"_wrapSizeGetter",value:function(n){return typeof n=="function"?n:function(){return n}}},{key:"_getCalculatedScrollLeft",value:function(n,o){var i=n.columnCount,a=n.height,s=n.scrollToAlignment,u=n.scrollToColumn,c=n.width,f=o.scrollLeft,h=o.instanceProps;if(i>0){var p=i-1,w=u<0?p:Math.min(p,u),S=h.rowSizeAndPositionManager.getTotalSize(),y=h.scrollbarSizeMeasured&&S>a?h.scrollbarSize:0;return h.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:s,containerSize:c-y,currentOffset:f,targetIndex:w})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(n,o){var i=o.scrollLeft,a=t._getCalculatedScrollLeft(n,o);return typeof a=="number"&&a>=0&&i!==a?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:a,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(n,o){var i=n.height,a=n.rowCount,s=n.scrollToAlignment,u=n.scrollToRow,c=n.width,f=o.scrollTop,h=o.instanceProps;if(a>0){var p=a-1,w=u<0?p:Math.min(p,u),S=h.columnSizeAndPositionManager.getTotalSize(),y=h.scrollbarSizeMeasured&&S>c?h.scrollbarSize:0;return h.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:s,containerSize:i-y,currentOffset:f,targetIndex:w})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(n,o){var i=o.scrollTop,a=t._getCalculatedScrollTop(n,o);return typeof a=="number"&&a>=0&&i!==a?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:a}):{}}}]),t}(N.PureComponent),$(h1,"propTypes",null),p1);$(Mn,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:IR,containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:hm,noContentRenderer:n$,onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:PR,overscanRowCount:10,role:"grid",scrollingResetTimeInterval:r$,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1});xs(Mn);var o$=1;function dg(e){var t=e.cellCount,r=e.overscanCellsCount,n=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return r=Math.max(1,r),n===o$?{overscanStartIndex:Math.max(0,o-1),overscanStopIndex:Math.min(t-1,i+r)}:{overscanStartIndex:Math.max(0,o-r),overscanStopIndex:Math.min(t-1,i+1)}}var v1,g1;function y1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function i$(e){for(var t=1;t div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',I=E.head||E.getElementsByTagName("head")[0],M=E.createElement("style");M.id="detectElementResize",M.type="text/css",e!=null&&M.setAttribute("nonce",e),M.styleSheet?M.styleSheet.cssText=P:M.appendChild(E.createTextNode(P)),I.appendChild(M)}},O=function(E,P){if(n)E.attachEvent("onresize",P);else{if(!E.__resizeTriggers__){var I=E.ownerDocument,M=r.getComputedStyle(E);M&&M.position=="static"&&(E.style.position="relative"),T(I),E.__resizeLast__={},E.__resizeListeners__=[],(E.__resizeTriggers__=I.createElement("div")).className="resize-triggers";var F='
';if(window.trustedTypes){var q=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return F}});E.__resizeTriggers__.innerHTML=q.createHTML("")}else E.__resizeTriggers__.innerHTML=F;E.appendChild(E.__resizeTriggers__),a(E),E.addEventListener("scroll",u,!0),h&&(E.__resizeTriggers__.__animationListener__=function(ue){ue.animationName==g&&a(E)},E.__resizeTriggers__.addEventListener(h,E.__resizeTriggers__.__animationListener__))}E.__resizeListeners__.push(P)}},k=function(E,P){if(n)E.detachEvent("onresize",P);else if(E.__resizeListeners__.splice(E.__resizeListeners__.indexOf(P),1),!E.__resizeListeners__.length){E.removeEventListener("scroll",u,!0),E.__resizeTriggers__.__animationListener__&&(E.__resizeTriggers__.removeEventListener(h,E.__resizeTriggers__.__animationListener__),E.__resizeTriggers__.__animationListener__=null);try{E.__resizeTriggers__=!E.removeChild(E.__resizeTriggers__)}catch{}}};return{addResizeListener:O,removeResizeListener:k}}var _1,S1;function w1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function a$(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};it(this,e),$(this,"_cellHeightCache",{}),$(this,"_cellWidthCache",{}),$(this,"_columnWidthCache",{}),$(this,"_rowHeightCache",{}),$(this,"_defaultHeight",void 0),$(this,"_defaultWidth",void 0),$(this,"_minHeight",void 0),$(this,"_minWidth",void 0),$(this,"_keyMapper",void 0),$(this,"_hasFixedHeight",void 0),$(this,"_hasFixedWidth",void 0),$(this,"_columnCount",0),$(this,"_rowCount",0),$(this,"columnWidth",function(f){var h=f.index,p=t._keyMapper(0,h);return t._columnWidthCache[p]!==void 0?t._columnWidthCache[p]:t._defaultWidth}),$(this,"rowHeight",function(f){var h=f.index,p=t._keyMapper(h,0);return t._rowHeightCache[p]!==void 0?t._rowHeightCache[p]:t._defaultHeight});var n=r.defaultHeight,o=r.defaultWidth,i=r.fixedHeight,a=r.fixedWidth,s=r.keyMapper,u=r.minHeight,c=r.minWidth;this._hasFixedHeight=i===!0,this._hasFixedWidth=a===!0,this._minHeight=u||0,this._minWidth=c||0,this._keyMapper=s||c$,this._defaultHeight=Math.max(this._minHeight,typeof n=="number"?n:l$),this._defaultWidth=Math.max(this._minWidth,typeof o=="number"?o:s$)}return ut(e,[{key:"clear",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=this._keyMapper(r,n);delete this._cellHeightCache[o],delete this._cellWidthCache[o],this._updateCachedColumnAndRowSizes(r,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var o=this._keyMapper(r,n);return this._cellHeightCache[o]!==void 0?Math.max(this._minHeight,this._cellHeightCache[o]):this._defaultHeight}},{key:"getWidth",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var o=this._keyMapper(r,n);return this._cellWidthCache[o]!==void 0?Math.max(this._minWidth,this._cellWidthCache[o]):this._defaultWidth}},{key:"has",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=this._keyMapper(r,n);return this._cellHeightCache[o]!==void 0}},{key:"set",value:function(r,n,o,i){var a=this._keyMapper(r,n);n>=this._columnCount&&(this._columnCount=n+1),r>=this._rowCount&&(this._rowCount=r+1),this._cellHeightCache[a]=i,this._cellWidthCache[a]=o,this._updateCachedColumnAndRowSizes(r,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(r,n){if(!this._hasFixedWidth){for(var o=0,i=0;i=0){var C=u.getScrollPositionForCell({align:f,cellIndex:h,height:c,scrollLeft:S,scrollTop:y,width:p});(C.scrollLeft!==S||C.scrollTop!==y)&&n._setScrollPosition(C)}}),$(Y(n),"_onScroll",function(s){if(s.target===n._scrollingContainer){n._enablePointerEventsAfterDelay();var u=n.props,c=u.cellLayoutManager,f=u.height,h=u.isScrollingChange,p=u.width,w=n._scrollbarSize,S=c.getTotalSize(),y=S.height,C=S.width,g=Math.max(0,Math.min(C-p+w,s.target.scrollLeft)),m=Math.max(0,Math.min(y-f+w,s.target.scrollTop));if(n.state.scrollLeft!==g||n.state.scrollTop!==m){var _=s.cancelable?Oi.OBSERVED:Oi.REQUESTED;n.state.isScrolling||h(!0),n.setState({isScrolling:!0,scrollLeft:g,scrollPositionChangeReason:_,scrollTop:m})}n._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:m,totalWidth:C,totalHeight:y})}}),n._scrollbarSize=hm(),n._scrollbarSize===void 0?(n._scrollbarSizeMeasured=!1,n._scrollbarSize=0):n._scrollbarSizeMeasured=!0,n}return ut(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var n=this.props,o=n.cellLayoutManager,i=n.scrollLeft,a=n.scrollToCell,s=n.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=hm(),this._scrollbarSizeMeasured=!0,this.setState({})),a>=0?this._updateScrollPositionForScrollToCell():(i>=0||s>=0)&&this._setScrollPosition({scrollLeft:i,scrollTop:s}),this._invokeOnSectionRenderedHelper();var u=o.getTotalSize(),c=u.height,f=u.width;this._invokeOnScrollMemoizer({scrollLeft:i||0,scrollTop:s||0,totalHeight:c,totalWidth:f})}},{key:"componentDidUpdate",value:function(n,o){var i=this.props,a=i.height,s=i.scrollToAlignment,u=i.scrollToCell,c=i.width,f=this.state,h=f.scrollLeft,p=f.scrollPositionChangeReason,w=f.scrollTop;p===Oi.REQUESTED&&(h>=0&&h!==o.scrollLeft&&h!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=h),w>=0&&w!==o.scrollTop&&w!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=w)),(a!==n.height||s!==n.scrollToAlignment||u!==n.scrollToCell||c!==n.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var n=this.props,o=n.autoHeight,i=n.cellCount,a=n.cellLayoutManager,s=n.className,u=n.height,c=n.horizontalOverscanSize,f=n.id,h=n.noContentRenderer,p=n.style,w=n.verticalOverscanSize,S=n.width,y=this.state,C=y.isScrolling,g=y.scrollLeft,m=y.scrollTop;(this._lastRenderedCellCount!==i||this._lastRenderedCellLayoutManager!==a||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=i,this._lastRenderedCellLayoutManager=a,this._calculateSizeAndPositionDataOnNextUpdate=!1,a.calculateSizeAndPositionData());var _=a.getTotalSize(),T=_.height,O=_.width,k=Math.max(0,g-c),b=Math.max(0,m-w),E=Math.min(O,g+S+c),P=Math.min(T,m+u+w),I=u>0&&S>0?a.cellRenderers({height:P-b,isScrolling:C,width:E-k,x:k,y:b}):[],M={boxSizing:"border-box",direction:"ltr",height:o?"auto":u,position:"relative",WebkitOverflowScrolling:"touch",width:S,willChange:"transform"},F=T>u?this._scrollbarSize:0,q=O>S?this._scrollbarSize:0;return M.overflowX=O+F<=S?"hidden":"auto",M.overflowY=T+q<=u?"hidden":"auto",N.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Yr("ReactVirtualized__Collection",s),id:f,onScroll:this._onScroll,role:"grid",style:f$({},M,{},p),tabIndex:0},i>0&&N.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:T,maxHeight:T,maxWidth:O,overflow:"hidden",pointerEvents:C?"none":"",width:O}},I),i===0&&h())}},{key:"_enablePointerEventsAfterDelay",value:function(){var n=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){var o=n.props.isScrollingChange;o(!1),n._disablePointerEventsTimeoutId=null,n.setState({isScrolling:!1})},d$)}},{key:"_invokeOnScrollMemoizer",value:function(n){var o=this,i=n.scrollLeft,a=n.scrollTop,s=n.totalHeight,u=n.totalWidth;this._onScrollMemoizer({callback:function(f){var h=f.scrollLeft,p=f.scrollTop,w=o.props,S=w.height,y=w.onScroll,C=w.width;y({clientHeight:S,clientWidth:C,scrollHeight:s,scrollLeft:h,scrollTop:p,scrollWidth:u})},indices:{scrollLeft:i,scrollTop:a}})}},{key:"_setScrollPosition",value:function(n){var o=n.scrollLeft,i=n.scrollTop,a={scrollPositionChangeReason:Oi.REQUESTED};o>=0&&(a.scrollLeft=o),i>=0&&(a.scrollTop=i),(o>=0&&o!==this.state.scrollLeft||i>=0&&i!==this.state.scrollTop)&&this.setState(a)}}],[{key:"getDerivedStateFromProps",value:function(n,o){return n.cellCount===0&&(o.scrollLeft!==0||o.scrollTop!==0)?{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:Oi.REQUESTED}:n.scrollLeft!==o.scrollLeft||n.scrollTop!==o.scrollTop?{scrollLeft:n.scrollLeft!=null?n.scrollLeft:o.scrollLeft,scrollTop:n.scrollTop!=null?n.scrollTop:o.scrollTop,scrollPositionChangeReason:Oi.REQUESTED}:null}}]),t}(N.PureComponent);$(Df,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0});Df.propTypes={};xs(Df);var h$=function(){function e(t){var r=t.height,n=t.width,o=t.x,i=t.y;it(this,e),this.height=r,this.width=n,this.x=o,this.y=i,this._indexMap={},this._indices=[]}return ut(e,[{key:"addCellIndex",value:function(r){var n=r.index;this._indexMap[n]||(this._indexMap[n]=!0,this._indices.push(n))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),p$=100,m$=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p$;it(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return ut(e,[{key:"getCellIndices",value:function(r){var n=r.height,o=r.width,i=r.x,a=r.y,s={};return this.getSections({height:n,width:o,x:i,y:a}).forEach(function(u){return u.getCellIndices().forEach(function(c){s[c]=c})}),Object.keys(s).map(function(u){return s[u]})}},{key:"getCellMetadata",value:function(r){var n=r.index;return this._cellMetadata[n]}},{key:"getSections",value:function(r){for(var n=r.height,o=r.width,i=r.x,a=r.y,s=Math.floor(i/this._sectionSize),u=Math.floor((i+o-1)/this._sectionSize),c=Math.floor(a/this._sectionSize),f=Math.floor((a+n-1)/this._sectionSize),h=[],p=s;p<=u;p++)for(var w=c;w<=f;w++){var S="".concat(p,".").concat(w);this._sections[S]||(this._sections[S]=new h$({height:this._sectionSize,width:this._sectionSize,x:p*this._sectionSize,y:w*this._sectionSize})),h.push(this._sections[S])}return h}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var r=this;return Object.keys(this._sections).map(function(n){return r._sections[n].toString()})}},{key:"registerCell",value:function(r){var n=r.cellMetadatum,o=r.index;this._cellMetadata[o]=n,this.getSections(n).forEach(function(i){return i.addCellIndex({index:o})})}}]),e}();function v$(e){for(var t=e.cellCount,r=e.cellSizeAndPositionGetter,n=e.sectionSize,o=[],i=new m$(n),a=0,s=0,u=0;u=0&&ie.length)&&(t=e.length);for(var r=0,n=new Array(t);rr||o0;){var S=w.startIndex-1;if(!t({index:S}))w.startIndex=S;else break}return a}function C$(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=typeof e.recomputeGridSize=="function"?e.recomputeGridSize:e.recomputeRowHeights;r?r.call(e,t):e.forceUpdate()}var T1,E1,NR=(E1=T1=function(e){Xt(t,e);function t(){var r,n;it(this,t);for(var o=arguments.length,i=new Array(o),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a;this.Grid&&this.Grid.recomputeGridSize({rowIndex:s,columnIndex:i})}},{key:"recomputeRowHeights",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:n,columnIndex:0})}},{key:"scrollToPosition",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:n})}},{key:"scrollToRow",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:n})}},{key:"render",value:function(){var n=this.props,o=n.className,i=n.noRowsRenderer,a=n.scrollToIndex,s=n.width,u=Yr("ReactVirtualized__List",o);return N.createElement(Mn,_e({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:u,columnWidth:s,columnCount:1,noContentRenderer:i,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:a}))}}]),t}(N.PureComponent),$(T1,"propTypes",null),E1);$(NR,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:dg,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});function R$(e){if(Array.isArray(e))return e}function T$(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){c=!0,o=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function E$(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function O$(e,t){return R$(e)||T$(e,t)||LR(e,t)||E$()}function k$(e,t,r,n){for(var o=r+1;t<=r;){var i=t+r>>>1,a=e[i];a>=n?(o=i,r=i-1):t=i+1}return o}function P$(e,t,r,n,o){for(var i=r+1;t<=r;){var a=t+r>>>1,s=e[a];o(s,n)>=0?(i=a,r=a-1):t=a+1}return i}function I$(e,t,r,n,o){return typeof r=="function"?P$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):k$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function z$(e,t,r,n){for(var o=r+1;t<=r;){var i=t+r>>>1,a=e[i];a>n?(o=i,r=i-1):t=i+1}return o}function j$(e,t,r,n,o){for(var i=r+1;t<=r;){var a=t+r>>>1,s=e[a];o(s,n)>0?(i=a,r=a-1):t=a+1}return i}function A$(e,t,r,n,o){return typeof r=="function"?j$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):z$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function M$(e,t,r,n){for(var o=t-1;t<=r;){var i=t+r>>>1,a=e[i];a>>1,s=e[a];o(s,n)<0?(i=a,t=a+1):r=a-1}return i}function N$(e,t,r,n,o){return typeof r=="function"?L$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):M$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function $$(e,t,r,n){for(var o=t-1;t<=r;){var i=t+r>>>1,a=e[i];a<=n?(o=i,t=i+1):r=i-1}return o}function D$(e,t,r,n,o){for(var i=t-1;t<=r;){var a=t+r>>>1,s=e[a];o(s,n)<=0?(i=a,t=a+1):r=a-1}return i}function F$(e,t,r,n,o){return typeof r=="function"?D$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):$$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}function W$(e,t,r,n){for(;t<=r;){var o=t+r>>>1,i=e[o];if(i===n)return o;i<=n?t=o+1:r=o-1}return-1}function B$(e,t,r,n,o){for(;t<=r;){var i=t+r>>>1,a=e[i],s=o(a,n);if(s===0)return i;s<=0?t=i+1:r=i-1}return-1}function U$(e,t,r,n,o){return typeof r=="function"?B$(e,n===void 0?0:n|0,o===void 0?e.length-1:o|0,t,r):W$(e,r===void 0?0:r|0,n===void 0?e.length-1:n|0,t)}const xc={ge:I$,gt:A$,lt:N$,le:F$,eq:U$};var qi=0,Do=1,Lu=2;function vg(e,t,r,n,o){this.mid=e,this.left=t,this.right=r,this.leftPoints=n,this.rightPoints=o,this.count=(t?t.count:0)+(r?r.count:0)+n.length}var Cs=vg.prototype;function Bh(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function $R(e,t){var r=xa(t);e.mid=r.mid,e.left=r.left,e.right=r.right,e.leftPoints=r.leftPoints,e.rightPoints=r.rightPoints,e.count=r.count}function O1(e,t){var r=e.intervals([]);r.push(t),$R(e,r)}function k1(e,t){var r=e.intervals([]),n=r.indexOf(t);return n<0?qi:(r.splice(n,1),$R(e,r),Do)}Cs.intervals=function(e){return e.push.apply(e,this.leftPoints),this.left&&this.left.intervals(e),this.right&&this.right.intervals(e),e};Cs.insert=function(e){var t=this.count-this.leftPoints.length;if(this.count+=1,e[1]3*(t+1)?O1(this,e):this.left.insert(e):this.left=xa([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?O1(this,e):this.right.insert(e):this.right=xa([e]);else{var r=xc.ge(this.leftPoints,e,gg),n=xc.ge(this.rightPoints,e,yg);this.leftPoints.splice(r,0,e),this.rightPoints.splice(n,0,e)}};Cs.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1))return k1(this,e);var n=this.left.remove(e);return n===Lu?(this.left=null,this.count-=1,Do):(n===Do&&(this.count-=1),n)}else if(e[0]>this.mid){if(!this.right)return qi;var o=this.left?this.left.count:0;if(4*o>3*(t-1))return k1(this,e);var n=this.right.remove(e);return n===Lu?(this.right=null,this.count-=1,Do):(n===Do&&(this.count-=1),n)}else{if(this.count===1)return this.leftPoints[0]===e?Lu:qi;if(this.leftPoints.length===1&&this.leftPoints[0]===e){if(this.left&&this.right){for(var i=this,a=this.left;a.right;)i=a,a=a.right;if(i===this)a.right=this.right;else{var s=this.left,n=this.right;i.count-=a.count,i.right=a.left,a.left=s,a.right=n}Bh(this,a),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?Bh(this,this.left):Bh(this,this.right);return Do}for(var s=xc.ge(this.leftPoints,e,gg);s=0&&e[n][1]>=t;--n){var o=r(e[n]);if(o)return o}}function WR(e,t){for(var r=0;rthis.mid){if(this.right){var r=this.right.queryPoint(e,t);if(r)return r}return FR(this.rightPoints,e,t)}else return WR(this.leftPoints,t)};Cs.queryInterval=function(e,t,r){if(ethis.mid&&this.right){var n=this.right.queryInterval(e,t,r);if(n)return n}return tthis.mid?FR(this.rightPoints,e,r):WR(this.leftPoints,r)};function H$(e,t){return e-t}function gg(e,t){var r=e[0]-t[0];return r||e[1]-t[1]}function yg(e,t){var r=e[1]-t[1];return r||e[0]-t[0]}function xa(e){if(e.length===0)return null;for(var t=[],r=0;r>1],o=[],i=[],a=[],r=0;r"u"?(I=G,M=G):(I=Math.min(I,G),M=Math.max(M,G)),k.push(u({index:G,isScrolling:T,key:p(G),parent:n,style:(ge={height:s.getHeight(G)},$(ge,m==="ltr"?"left":"right",ue),$(ge,"position","absolute"),$(ge,"top",se),$(ge,"width",s.getWidth(G)),ge)}))}),E0&&arguments[0]!==void 0?arguments[0]:{};it(this,e),$(this,"_cellMeasurerCache",void 0),$(this,"_columnIndexOffset",void 0),$(this,"_rowIndexOffset",void 0),$(this,"columnWidth",function(u){var c=u.index;t._cellMeasurerCache.columnWidth({index:c+t._columnIndexOffset})}),$(this,"rowHeight",function(u){var c=u.index;t._cellMeasurerCache.rowHeight({index:c+t._rowIndexOffset})});var n=r.cellMeasurerCache,o=r.columnIndexOffset,i=o===void 0?0:o,a=r.rowIndexOffset,s=a===void 0?0:a;this._cellMeasurerCache=n,this._columnIndexOffset=i,this._rowIndexOffset=s}return ut(e,[{key:"clear",value:function(r,n){this._cellMeasurerCache.clear(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getHeight(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"getWidth",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getWidth(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"has",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.has(r+this._rowIndexOffset,n+this._columnIndexOffset)}},{key:"set",value:function(r,n,o,i){this._cellMeasurerCache.set(r+this._rowIndexOffset,n+this._columnIndexOffset,o,i)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function A1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Lt(e){for(var t=1;t0?new Hh({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:s}):i,o._deferredMeasurementCacheBottomRightGrid=a>0||s>0?new Hh({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:s}):i,o._deferredMeasurementCacheTopRightGrid=a>0?new Hh({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:0}):i),o}return ut(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,i):i,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,s):s}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a,u=this.props,c=u.fixedColumnCount,f=u.fixedRowCount,h=Math.max(0,i-c),p=Math.max(0,s-f);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:i,rowIndex:p}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:h,rowIndex:p}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:i,rowIndex:s}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:h,rowIndex:s}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var n=this.props,o=n.scrollLeft,i=n.scrollTop;if(o>0||i>0){var a={};o>0&&(a.scrollLeft=o),i>0&&(a.scrollTop=i),this.setState(a)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var n=this.props,o=n.onScroll,i=n.onSectionRendered;n.onScrollbarPresenceChange,n.scrollLeft;var a=n.scrollToColumn;n.scrollTop;var s=n.scrollToRow,u=ml(n,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),this.props.width===0||this.props.height===0)return null;var c=this.state,f=c.scrollLeft,h=c.scrollTop;return N.createElement("div",{style:this._containerOuterStyle},N.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(u),this._renderTopRightGrid(Lt({},u,{onScroll:o,scrollLeft:f}))),N.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(Lt({},u,{onScroll:o,scrollTop:h})),this._renderBottomRightGrid(Lt({},u,{onScroll:o,onSectionRendered:i,scrollLeft:f,scrollToColumn:a,scrollToRow:s,scrollTop:h}))))}},{key:"_getBottomGridHeight",value:function(n){var o=n.height,i=this._getTopGridHeight(n);return o-i}},{key:"_getLeftGridWidth",value:function(n){var o=n.fixedColumnCount,i=n.columnWidth;if(this._leftGridWidth==null)if(typeof i=="function"){for(var a=0,s=0;s=0?n.scrollLeft:o.scrollLeft,scrollTop:n.scrollTop!=null&&n.scrollTop>=0?n.scrollTop:o.scrollTop}:null}}]),t}(N.PureComponent);$(Ff,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1});Ff.propTypes={};xs(Ff);var BR=function(e){Xt(t,e);function t(r,n){var o;return it(this,t),o=Qt(this,It(t).call(this,r,n)),o.state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},o._onScroll=o._onScroll.bind(Y(o)),o}return ut(t,[{key:"render",value:function(){var n=this.props.children,o=this.state,i=o.clientHeight,a=o.clientWidth,s=o.scrollHeight,u=o.scrollLeft,c=o.scrollTop,f=o.scrollWidth;return n({clientHeight:i,clientWidth:a,onScroll:this._onScroll,scrollHeight:s,scrollLeft:u,scrollTop:c,scrollWidth:f})}},{key:"_onScroll",value:function(n){var o=n.clientHeight,i=n.clientWidth,a=n.scrollHeight,s=n.scrollLeft,u=n.scrollTop,c=n.scrollWidth;this.setState({clientHeight:o,clientWidth:i,scrollHeight:a,scrollLeft:s,scrollTop:u,scrollWidth:c})}}]),t}(N.PureComponent);BR.propTypes={};function X$(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.defaultSortBy,n=t.defaultSortDirection,o=n===void 0?{}:n;if(!e)throw Error('Required parameter "sortCallback" not specified');var i=r||[],a={};i.forEach(function(u){a[u]=o[u]!==void 0?o[u]:"ASC"});function s(u){var c=u.defaultSortDirection,f=u.event,h=u.sortBy;if(f.shiftKey)a[h]!==void 0?a[h]=a[h]==="ASC"?"DESC":"ASC":(a[h]=c,i.push(h));else if(f.ctrlKey||f.metaKey){var p=i.indexOf(h);p>=0&&(i.splice(p,1),delete a[h])}else{i.length=0,i.push(h);var w=Object.keys(a);w.forEach(function(S){S!==h&&delete a[S]}),a[h]!==void 0?a[h]=a[h]==="ASC"?"DESC":"ASC":a[h]=c}e({sortBy:i,sortDirection:a})}return{sort:s,sortBy:i,sortDirection:a}}function UR(e){var t=e.dataKey,r=e.rowData;return typeof r.get=="function"?r.get(t):r[t]}function HR(e){var t=e.cellData;return t==null?"":String(t)}function Sg(e){var t=e.className,r=e.columns,n=e.style;return N.createElement("div",{className:t,role:"row",style:n},r)}Sg.propTypes=null;var Ln={ASC:"ASC",DESC:"DESC"};function wg(e){var t=e.sortDirection,r=Yr("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===Ln.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===Ln.DESC});return N.createElement("svg",{className:r,width:18,height:18,viewBox:"0 0 24 24"},t===Ln.ASC?N.createElement("path",{d:"M7 14l5-5 5 5z"}):N.createElement("path",{d:"M7 10l5 5 5-5z"}),N.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}wg.propTypes={};function bg(e){var t=e.dataKey,r=e.label,n=e.sortBy,o=e.sortDirection,i=n===t,a=[N.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:typeof r=="string"?r:null},r)];return i&&a.push(N.createElement(wg,{key:"SortIndicator",sortDirection:o})),a}bg.propTypes=null;function xg(e){var t=e.className,r=e.columns,n=e.index,o=e.key,i=e.onRowClick,a=e.onRowDoubleClick,s=e.onRowMouseOut,u=e.onRowMouseOver,c=e.onRowRightClick,f=e.rowData,h=e.style,p={"aria-rowindex":n+1};return(i||a||s||u||c)&&(p["aria-label"]="row",p.tabIndex=0,i&&(p.onClick=function(w){return i({event:w,index:n,rowData:f})}),a&&(p.onDoubleClick=function(w){return a({event:w,index:n,rowData:f})}),s&&(p.onMouseOut=function(w){return s({event:w,index:n,rowData:f})}),u&&(p.onMouseOver=function(w){return u({event:w,index:n,rowData:f})}),c&&(p.onContextMenu=function(w){return c({event:w,index:n,rowData:f})})),N.createElement("div",_e({},p,{className:t,key:o,role:"row",style:h}),r)}xg.propTypes=null;var Cg=function(e){Xt(t,e);function t(){return it(this,t),Qt(this,It(t).apply(this,arguments))}return t}(N.Component);$(Cg,"defaultProps",{cellDataGetter:UR,cellRenderer:HR,defaultSortDirection:Ln.ASC,flexGrow:0,flexShrink:1,headerRenderer:bg,style:{}});Cg.propTypes={};function L1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ki(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{},o=n.columnIndex,i=o===void 0?0:o,a=n.rowIndex,s=a===void 0?0:a;this.Grid&&this.Grid.recomputeGridSize({rowIndex:s,columnIndex:i})}},{key:"recomputeRowHeights",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:n})}},{key:"scrollToPosition",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:n})}},{key:"scrollToRow",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:n})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var n=ps.findDOMNode(this.Grid),o=n.clientWidth||0,i=n.offsetWidth||0;return i-o}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var n=this,o=this.props,i=o.children,a=o.className,s=o.disableHeader,u=o.gridClassName,c=o.gridStyle,f=o.headerHeight,h=o.headerRowRenderer,p=o.height,w=o.id,S=o.noRowsRenderer,y=o.rowClassName,C=o.rowStyle,g=o.scrollToIndex,m=o.style,_=o.width,T=this.state.scrollbarWidth,O=s?p:p-f,k=typeof y=="function"?y({index:-1}):y,b=typeof C=="function"?C({index:-1}):C;return this._cachedColumnStyles=[],N.Children.toArray(i).forEach(function(E,P){var I=n._getFlexStyleForColumn(E,E.props.style);n._cachedColumnStyles[P]=ki({overflow:"hidden"},I)}),N.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":N.Children.toArray(i).length,"aria-rowcount":this.props.rowCount,className:Yr("ReactVirtualized__Table",a),id:w,role:"grid",style:m},!s&&h({className:Yr("ReactVirtualized__Table__headerRow",k),columns:this._getHeaderColumns(),style:ki({height:f,overflow:"hidden",paddingRight:T,width:_},b)}),N.createElement(Mn,_e({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:Yr("ReactVirtualized__Table__Grid",u),cellRenderer:this._createRow,columnWidth:_,columnCount:1,height:O,id:void 0,noContentRenderer:S,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:T,scrollToRow:g,style:ki({},c,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(n){var o=n.column,i=n.columnIndex,a=n.isScrolling,s=n.parent,u=n.rowData,c=n.rowIndex,f=this.props.onColumnClick,h=o.props,p=h.cellDataGetter,w=h.cellRenderer,S=h.className,y=h.columnData,C=h.dataKey,g=h.id,m=p({columnData:y,dataKey:C,rowData:u}),_=w({cellData:m,columnData:y,columnIndex:i,dataKey:C,isScrolling:a,parent:s,rowData:u,rowIndex:c}),T=function(E){f&&f({columnData:y,dataKey:C,event:E})},O=this._cachedColumnStyles[i],k=typeof _=="string"?_:null;return N.createElement("div",{"aria-colindex":i+1,"aria-describedby":g,className:Yr("ReactVirtualized__Table__rowColumn",S),key:"Row"+c+"-Col"+i,onClick:T,role:"gridcell",style:O,title:k},_)}},{key:"_createHeader",value:function(n){var o=n.column,i=n.index,a=this.props,s=a.headerClassName,u=a.headerStyle,c=a.onHeaderClick,f=a.sort,h=a.sortBy,p=a.sortDirection,w=o.props,S=w.columnData,y=w.dataKey,C=w.defaultSortDirection,g=w.disableSort,m=w.headerRenderer,_=w.id,T=w.label,O=!g&&f,k=Yr("ReactVirtualized__Table__headerColumn",s,o.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:O}),b=this._getFlexStyleForColumn(o,ki({},u,{},o.props.headerStyle)),E=m({columnData:S,dataKey:y,disableSort:g,label:T,sortBy:h,sortDirection:p}),P,I,M,F,q;if(O||c){var G=h!==y,ue=G?C:p===Ln.DESC?Ln.ASC:Ln.DESC,se=function(ie){O&&f({defaultSortDirection:C,event:ie,sortBy:y,sortDirection:ue}),c&&c({columnData:S,dataKey:y,event:ie})},ge=function(ie){(ie.key==="Enter"||ie.key===" ")&&se(ie)};q=o.props["aria-label"]||T||y,F="none",M=0,P=se,I=ge}return h===y&&(F=p===Ln.ASC?"ascending":"descending"),N.createElement("div",{"aria-label":q,"aria-sort":F,className:k,id:_,key:"Header-Col"+i,onClick:P,onKeyDown:I,role:"columnheader",style:b,tabIndex:M},E)}},{key:"_createRow",value:function(n){var o=this,i=n.rowIndex,a=n.isScrolling,s=n.key,u=n.parent,c=n.style,f=this.props,h=f.children,p=f.onRowClick,w=f.onRowDoubleClick,S=f.onRowRightClick,y=f.onRowMouseOver,C=f.onRowMouseOut,g=f.rowClassName,m=f.rowGetter,_=f.rowRenderer,T=f.rowStyle,O=this.state.scrollbarWidth,k=typeof g=="function"?g({index:i}):g,b=typeof T=="function"?T({index:i}):T,E=m({index:i}),P=N.Children.toArray(h).map(function(F,q){return o._createColumn({column:F,columnIndex:q,isScrolling:a,parent:u,rowData:E,rowIndex:i,scrollbarWidth:O})}),I=Yr("ReactVirtualized__Table__row",k),M=ki({},c,{height:this._getRowHeight(i),overflow:"hidden",paddingRight:O},b);return _({className:I,columns:P,index:i,isScrolling:a,key:s,onRowClick:p,onRowDoubleClick:w,onRowRightClick:S,onRowMouseOver:y,onRowMouseOut:C,rowData:E,style:M})}},{key:"_getFlexStyleForColumn",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i="".concat(n.props.flexGrow," ").concat(n.props.flexShrink," ").concat(n.props.width,"px"),a=ki({},o,{flex:i,msFlex:i,WebkitFlex:i});return n.props.maxWidth&&(a.maxWidth=n.props.maxWidth),n.props.minWidth&&(a.minWidth=n.props.minWidth),a}},{key:"_getHeaderColumns",value:function(){var n=this,o=this.props,i=o.children,a=o.disableHeader,s=a?[]:N.Children.toArray(i);return s.map(function(u,c){return n._createHeader({column:u,index:c})})}},{key:"_getRowHeight",value:function(n){var o=this.props.rowHeight;return typeof o=="function"?o({index:n}):o}},{key:"_onScroll",value:function(n){var o=n.clientHeight,i=n.scrollHeight,a=n.scrollTop,s=this.props.onScroll;s({clientHeight:o,scrollHeight:i,scrollTop:a})}},{key:"_onSectionRendered",value:function(n){var o=n.rowOverscanStartIndex,i=n.rowOverscanStopIndex,a=n.rowStartIndex,s=n.rowStopIndex,u=this.props.onRowsRendered;u({overscanStartIndex:o,overscanStopIndex:i,startIndex:a,stopIndex:s})}},{key:"_setRef",value:function(n){this.Grid=n}},{key:"_setScrollbarWidth",value:function(){var n=this.getScrollbarWidth();this.setState({scrollbarWidth:n})}}]),t}(N.PureComponent);$(Rg,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:dg,overscanRowCount:10,rowRenderer:xg,headerRowRenderer:Sg,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}});Rg.propTypes={};var yo=[],Il=null,Yo=null;function qR(){Yo&&(Yo=null,document.body&&Il!=null&&(document.body.style.pointerEvents=Il),Il=null)}function J$(){qR(),yo.forEach(function(e){return e.__resetIsScrolling()})}function Z$(){Yo&&ba(Yo);var e=0;yo.forEach(function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)}),Yo=fg(J$,e)}function GR(e){e.currentTarget===window&&Il==null&&document.body&&(Il=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),Z$(),yo.forEach(function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()})}function N1(e,t){yo.some(function(r){return r.props.scrollElement===t})||t.addEventListener("scroll",GR),yo.push(e)}function $1(e,t){yo=yo.filter(function(r){return r!==e}),yo.length||(t.removeEventListener("scroll",GR),Yo&&(ba(Yo),qR()))}var Tg=function(t){return t===window},vl=function(t){return t.getBoundingClientRect()};function D1(e,t){if(e)if(Tg(e)){var r=window,n=r.innerHeight,o=r.innerWidth;return{height:typeof n=="number"?n:0,width:typeof o=="number"?o:0}}else return vl(e);else return{height:t.serverHeight,width:t.serverWidth}}function e5(e,t){if(Tg(t)&&document.documentElement){var r=document.documentElement,n=vl(e),o=vl(r);return{top:n.top-o.top,left:n.left-o.left}}else{var i=VR(t),a=vl(e),s=vl(t);return{top:a.top+i.top-s.top,left:a.left+i.left-s.left}}}function VR(e){return Tg(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}var F1,W1;function B1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function t5(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:this.props.scrollElement,o=this.props.onResize,i=this.state,a=i.height,s=i.width,u=this._child||ps.findDOMNode(this);if(u instanceof Element&&n){var c=e5(u,n);this._positionFromTop=c.top,this._positionFromLeft=c.left}var f=D1(n,this.props);(a!==f.height||s!==f.width)&&(this.setState({height:f.height,width:f.width}),o({height:f.height,width:f.width}))}},{key:"componentDidMount",value:function(){var n=this.props.scrollElement;this._detectElementResize=zR(),this.updatePosition(n),n&&(N1(this,n),this._registerResizeListener(n)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(n,o){var i=this.props.scrollElement,a=n.scrollElement;a!==i&&a!=null&&i!=null&&(this.updatePosition(i),$1(this,a),N1(this,i),this._unregisterResizeListener(a),this._registerResizeListener(i))}},{key:"componentWillUnmount",value:function(){var n=this.props.scrollElement;n&&($1(this,n),this._unregisterResizeListener(n)),this._isMounted=!1}},{key:"render",value:function(){var n=this.props.children,o=this.state,i=o.isScrolling,a=o.scrollTop,s=o.scrollLeft,u=o.height,c=o.width;return n({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:u,isScrolling:i,scrollLeft:s,scrollTop:a,width:c})}}]),t}(N.PureComponent),$(F1,"propTypes",null),W1);$(YR,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:r5,scrollElement:KR(),serverHeight:0,serverWidth:0});const n5=Object.freeze(Object.defineProperty({__proto__:null,ArrowKeyStepper:hg,AutoSizer:jR,CellMeasurer:AR,CellMeasurerCache:u$,Collection:pg,Column:Cg,ColumnSizer:MR,Grid:Mn,InfiniteLoader:mg,List:NR,Masonry:_g,MultiGrid:Ff,ScrollSync:BR,SortDirection:Ln,SortIndicator:wg,Table:Rg,WindowScroller:YR,accessibilityOverscanIndicesGetter:dg,createMasonryCellPositioner:Q$,createTableMultiSort:X$,defaultCellRangeRenderer:IR,defaultOverscanIndicesGetter:PR,defaultTableCellDataGetter:UR,defaultTableCellRenderer:HR,defaultTableHeaderRenderer:bg,defaultTableHeaderRowRenderer:Sg,defaultTableRowRenderer:xg},Symbol.toStringTag,{value:"Module"})),o5=Ra(n5);function In(e,t,r){return t<=e&&e<=r}function Wf(e){if(e===void 0)return{};if(e===Object(e))return e;throw TypeError("Could not convert argument to dictionary")}function i5(e){for(var t=String(e),r=t.length,n=0,o=[];n57343)o.push(i);else if(56320<=i&&i<=57343)o.push(65533);else if(55296<=i&&i<=56319)if(n===r-1)o.push(65533);else{var a=e.charCodeAt(n+1);if(56320<=a&&a<=57343){var s=i&1023,u=a&1023;o.push(65536+(s<<10)+u),n+=1}else o.push(65533)}n+=1}return o}function a5(e){for(var t="",r=0;r>10)+55296,(n&1023)+56320))}return t}var Cc=-1;function Eg(e){this.tokens=[].slice.call(e)}Eg.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():Cc},prepend:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.unshift(t.pop());else this.tokens.unshift(e)},push:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.push(t.shift());else this.tokens.push(e)}};var Ca=-1;function qh(e,t){if(e)throw TypeError("Decoder error");return t||65533}var Rc="utf-8";function Tc(e,t){if(!(this instanceof Tc))return new Tc(e,t);if(e=e!==void 0?String(e).toLowerCase():Rc,e!==Rc)throw new Error("Encoding not supported. Only utf-8 is supported");t=Wf(t),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!t.fatal,this._ignoreBOM=!!t.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}Tc.prototype={decode:function(t,r){var n;typeof t=="object"&&t instanceof ArrayBuffer?n=new Uint8Array(t):typeof t=="object"&&"buffer"in t&&t.buffer instanceof ArrayBuffer?n=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):n=new Uint8Array(0),r=Wf(r),this._streaming||(this._decoder=new l5({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!r.stream;for(var o=new Eg(n),i=[],a;!o.endOfStream()&&(a=this._decoder.handler(o,o.read()),a!==Ca);)a!==null&&(Array.isArray(a)?i.push.apply(i,a):i.push(a));if(!this._streaming){do{if(a=this._decoder.handler(o,o.read()),a===Ca)break;a!==null&&(Array.isArray(a)?i.push.apply(i,a):i.push(a))}while(!o.endOfStream());this._decoder=null}return i.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(i[0]===65279?(this._BOMseen=!0,i.shift()):this._BOMseen=!0),a5(i)}};function Ec(e,t){if(!(this instanceof Ec))return new Ec(e,t);if(e=e!==void 0?String(e).toLowerCase():Rc,e!==Rc)throw new Error("Encoding not supported. Only utf-8 is supported");t=Wf(t),this._streaming=!1,this._encoder=null,this._options={fatal:!!t.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}Ec.prototype={encode:function(t,r){t=t?String(t):"",r=Wf(r),this._streaming||(this._encoder=new s5(this._options)),this._streaming=!!r.stream;for(var n=[],o=new Eg(i5(t)),i;!o.endOfStream()&&(i=this._encoder.handler(o,o.read()),i!==Ca);)Array.isArray(i)?n.push.apply(n,i):n.push(i);if(!this._streaming){for(;i=this._encoder.handler(o,o.read()),i!==Ca;)Array.isArray(i)?n.push.apply(n,i):n.push(i);this._encoder=null}return new Uint8Array(n)}};function l5(e){var t=e.fatal,r=0,n=0,o=0,i=128,a=191;this.handler=function(s,u){if(u===Cc&&o!==0)return o=0,qh(t);if(u===Cc)return Ca;if(o===0){if(In(u,0,127))return u;if(In(u,194,223))o=1,r=u-192;else if(In(u,224,239))u===224&&(i=160),u===237&&(a=159),o=2,r=u-224;else if(In(u,240,244))u===240&&(i=144),u===244&&(a=143),o=3,r=u-240;else return qh(t);return r=r<<6*o,null}if(!In(u,i,a))return r=o=n=0,i=128,a=191,s.prepend(u),qh(t);if(i=128,a=191,n+=1,r+=u-128<<6*(o-n),n!==o)return null;var c=r;return r=o=n=0,c}}function s5(e){e.fatal,this.handler=function(t,r){if(r===Cc)return Ca;if(In(r,0,127))return r;var n,o;In(r,128,2047)?(n=1,o=192):In(r,2048,65535)?(n=2,o=224):In(r,65536,1114111)&&(n=3,o=240);for(var i=[(r>>6*n)+o];n>0;){var a=r>>6*(n-1);i.push(128|a&63),n-=1}return i}}const u5=Object.freeze(Object.defineProperty({__proto__:null,TextDecoder:Tc,TextEncoder:Ec},Symbol.toStringTag,{value:"Module"})),c5=Ra(u5);var U1={},H1;function f5(){return H1||(H1=1,function(e){if(e.fetch)return;var t={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(t.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=function(b){return b&&DataView.prototype.isPrototypeOf(b)},o=ArrayBuffer.isView||function(b){return b&&r.indexOf(Object.prototype.toString.call(b))>-1};function i(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(b))throw new TypeError("Invalid character in header field name");return b.toLowerCase()}function a(b){return typeof b!="string"&&(b=String(b)),b}function s(b){var E={next:function(){var P=b.shift();return{done:P===void 0,value:P}}};return t.iterable&&(E[Symbol.iterator]=function(){return E}),E}function u(b){this.map={},b instanceof u?b.forEach(function(E,P){this.append(P,E)},this):Array.isArray(b)?b.forEach(function(E){this.append(E[0],E[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(E){this.append(E,b[E])},this)}u.prototype.append=function(b,E){b=i(b),E=a(E);var P=this.map[b];this.map[b]=P?P+","+E:E},u.prototype.delete=function(b){delete this.map[i(b)]},u.prototype.get=function(b){return b=i(b),this.has(b)?this.map[b]:null},u.prototype.has=function(b){return this.map.hasOwnProperty(i(b))},u.prototype.set=function(b,E){this.map[i(b)]=a(E)},u.prototype.forEach=function(b,E){for(var P in this.map)this.map.hasOwnProperty(P)&&b.call(E,this.map[P],P,this)},u.prototype.keys=function(){var b=[];return this.forEach(function(E,P){b.push(P)}),s(b)},u.prototype.values=function(){var b=[];return this.forEach(function(E){b.push(E)}),s(b)},u.prototype.entries=function(){var b=[];return this.forEach(function(E,P){b.push([P,E])}),s(b)},t.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);function c(b){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}function f(b){return new Promise(function(E,P){b.onload=function(){E(b.result)},b.onerror=function(){P(b.error)}})}function h(b){var E=new FileReader,P=f(E);return E.readAsArrayBuffer(b),P}function p(b){var E=new FileReader,P=f(E);return E.readAsText(b),P}function w(b){for(var E=new Uint8Array(b),P=new Array(E.length),I=0;I-1?E:b}function m(b,E){E=E||{};var P=E.body;if(b instanceof m){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,E.headers||(this.headers=new u(b.headers)),this.method=b.method,this.mode=b.mode,!P&&b._bodyInit!=null&&(P=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=E.credentials||this.credentials||"omit",(E.headers||!this.headers)&&(this.headers=new u(E.headers)),this.method=g(E.method||this.method||"GET"),this.mode=E.mode||this.mode||null,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(P)}m.prototype.clone=function(){return new m(this,{body:this._bodyInit})};function _(b){var E=new FormData;return b.trim().split("&").forEach(function(P){if(P){var I=P.split("="),M=I.shift().replace(/\+/g," "),F=I.join("=").replace(/\+/g," ");E.append(decodeURIComponent(M),decodeURIComponent(F))}}),E}function T(b){var E=new u,P=b.replace(/\r?\n[\t ]+/g," ");return P.split(/\r?\n/).forEach(function(I){var M=I.split(":"),F=M.shift().trim();if(F){var q=M.join(":").trim();E.append(F,q)}}),E}y.call(m.prototype);function O(b,E){E||(E={}),this.type="default",this.status=E.status===void 0?200:E.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in E?E.statusText:"OK",this.headers=new u(E.headers),this.url=E.url||"",this._initBody(b)}y.call(O.prototype),O.prototype.clone=function(){return new O(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},O.error=function(){var b=new O(null,{status:0,statusText:""});return b.type="error",b};var k=[301,302,303,307,308];O.redirect=function(b,E){if(k.indexOf(E)===-1)throw new RangeError("Invalid status code");return new O(null,{status:E,headers:{location:b}})},e.Headers=u,e.Request=m,e.Response=O,e.fetch=function(b,E){return new Promise(function(P,I){var M=new m(b,E),F=new XMLHttpRequest;F.onload=function(){var q={status:F.status,statusText:F.statusText,headers:T(F.getAllResponseHeaders()||"")};q.url="responseURL"in F?F.responseURL:q.headers.get("X-Request-URL");var G="response"in F?F.response:F.responseText;P(new O(G,q))},F.onerror=function(){I(new TypeError("Network request failed"))},F.ontimeout=function(){I(new TypeError("Network request failed"))},F.open(M.method,M.url,!0),M.credentials==="include"?F.withCredentials=!0:M.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&t.blob&&(F.responseType="blob"),M.headers.forEach(function(q,G){F.setRequestHeader(G,q)}),F.send(typeof M._bodyInit>"u"?null:M._bodyInit)})},e.fetch.polyfill=!0}(typeof self<"u"?self:Fo)),U1}function q1(e,t){for(var r=0;r0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");qg(this)}},Rn(e,[{key:"closed",get:function(){return Ho(this)===!1?Promise.reject(cu("closed")):this._closedPromise}}]),e}(),$D=function(){function e(r){if(!kn(r))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(zi(r._readableStreamController)===!1)throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(io(r))throw new TypeError("This stream has already been locked for exclusive reading by another reader");bT(this,r),this._readIntoRequests=[]}var t=e.prototype;return t.cancel=function(n){return yl(this)?this._ownerReadableStream===void 0?Promise.reject(Mc("cancel")):xT(this,n):Promise.reject(fu("cancel"))},t.read=function(n){return yl(this)?this._ownerReadableStream===void 0?Promise.reject(Mc("read from")):ArrayBuffer.isView(n)?Pc(n.buffer)===!0?Promise.reject(new TypeError("Cannot read into a view onto a detached ArrayBuffer")):n.byteLength===0?Promise.reject(new TypeError("view must have non-zero byteLength")):DD(this,n,!0):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(fu("read"))},t.releaseLock=function(){if(!yl(this))throw fu("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");qg(this)}},Rn(e,[{key:"closed",get:function(){return yl(this)?this._closedPromise:Promise.reject(fu("closed"))}}]),e}();function yl(e){return!(!$a(e)||!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests"))}function Ho(e){return!(!$a(e)||!Object.prototype.hasOwnProperty.call(e,"_readRequests"))}function bT(e,t){e._ownerReadableStream=t,t._reader=e,t._state==="readable"?ZD(e):t._state==="closed"?tF(e):(eF(e,t._storedError),e._closedPromise.catch(function(){}))}function xT(e,t){var r=e._ownerReadableStream;return Qo(r,t)}function qg(e){e._ownerReadableStream._state==="readable"?NT(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):rF(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._closedPromise.catch(function(){}),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function DD(e,t,r){r===void 0&&(r=!1);var n=e._ownerReadableStream;return n._disturbed=!0,n._state==="errored"?Promise.reject(n._storedError):UD(n._readableStreamController,t,r)}function Gg(e,t){t===void 0&&(t=!1);var r=e._ownerReadableStream;return r._disturbed=!0,r._state==="closed"?Promise.resolve(xo(void 0,!0,t)):r._state==="errored"?Promise.reject(r._storedError):r._readableStreamController[Dg](t)}var CT=function(){function e(){throw new TypeError}var t=e.prototype;return t.close=function(){if(uu(this)===!1)throw du("close");if(Ac(this)===!1)throw new TypeError("The stream is not in a state that permits close");zc(this)},t.enqueue=function(n){if(uu(this)===!1)throw du("enqueue");if(Ac(this)===!1)throw new TypeError("The stream is not in a state that permits enqueue");return jc(this,n)},t.error=function(n){if(uu(this)===!1)throw du("error");Co(this,n)},t[$g]=function(r){Da(this);var n=this._cancelAlgorithm(r);return Ic(this),n},t[Dg]=function(r){var n=this._controlledReadableStream;if(this._queue.length>0){var o=TD(this);return this._closeRequested===!0&&this._queue.length===0?(Ic(this),Ts(n)):ss(this),Promise.resolve(xo(o,!1,r))}var i=yT(n,r);return ss(this),i},Rn(e,[{key:"desiredSize",get:function(){if(uu(this)===!1)throw du("desiredSize");return Vg(this)}}]),e}();function uu(e){return!(!$a(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream"))}function ss(e){var t=RT(e);if(t!==!1){if(e._pulling===!0){e._pullAgain=!0;return}e._pulling=!0;var r=e._pullAlgorithm();r.then(function(){if(e._pulling=!1,e._pullAgain===!0)return e._pullAgain=!1,ss(e)},function(n){Co(e,n)}).catch(zn)}}function RT(e){var t=e._controlledReadableStream;if(Ac(e)===!1||e._started===!1)return!1;if(io(t)===!0&&Gf(t)>0)return!0;var r=Vg(e);return r>0}function Ic(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function zc(e){var t=e._controlledReadableStream;e._closeRequested=!0,e._queue.length===0&&(Ic(e),Ts(t))}function jc(e,t){var r=e._controlledReadableStream;if(io(r)===!0&&Gf(r)>0)Ug(r,t,!1);else{var n;try{n=e._strategySizeAlgorithm(t)}catch(o){throw Co(e,o),o}try{ED(e,t,n)}catch(o){throw Co(e,o),o}}ss(e)}function Co(e,t){var r=e._controlledReadableStream;r._state==="readable"&&(Da(e),Ic(e),_T(r,t))}function Vg(e){var t=e._controlledReadableStream,r=t._state;return r==="errored"?null:r==="closed"?0:e._strategyHWM-e._queueTotalSize}function FD(e){return RT(e)!==!0}function Ac(e){var t=e._controlledReadableStream._state;return e._closeRequested===!1&&t==="readable"}function TT(e,t,r,n,o,i,a){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,Da(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=a,t._strategyHWM=i,t._pullAlgorithm=n,t._cancelAlgorithm=o,e._readableStreamController=t;var s=r();Promise.resolve(s).then(function(){t._started=!0,ss(t)},function(u){Co(t,u)}).catch(zn)}function WD(e,t,r,n){var o=Object.create(CT.prototype);function i(){return gT(t,"start",[o])}var a=kc(t,"pull",0,[o]),s=kc(t,"cancel",1,[]);TT(e,o,i,a,s,r,n)}var BD=function(){function e(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly")}var t=e.prototype;return t.respond=function(n){if(Yh(this)===!1)throw Qh("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(Pc(this._view.buffer)===!0)throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");YD(this._associatedReadableByteStreamController,n)},t.respondWithNewView=function(n){if(Yh(this)===!1)throw Qh("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(n))throw new TypeError("You can only respond with array buffer views");if(Pc(n.buffer)===!0)throw new TypeError("The supplied view's buffer has been detached and so cannot be used as a response");QD(this._associatedReadableByteStreamController,n)},Rn(e,[{key:"view",get:function(){if(Yh(this)===!1)throw Qh("view");return this._view}}]),e}(),ET=function(){function e(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly")}var t=e.prototype;return t.close=function(){if(zi(this)===!1)throw sl("close");if(this._closeRequested===!0)throw new TypeError("The stream has already been closed; do not close it again!");var n=this._controlledReadableByteStream._state;if(n!=="readable")throw new TypeError("The stream (in "+n+" state) is not in the readable state and cannot be closed");VD(this)},t.enqueue=function(n){if(zi(this)===!1)throw sl("enqueue");if(this._closeRequested===!0)throw new TypeError("stream is closed or draining");var o=this._controlledReadableByteStream._state;if(o!=="readable")throw new TypeError("The stream (in "+o+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(n))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");if(Pc(n.buffer)===!0)throw new TypeError("Cannot enqueue a view onto a detached ArrayBuffer");KD(this,n)},t.error=function(n){if(zi(this)===!1)throw sl("error");Es(this,n)},t[$g]=function(r){if(this._pendingPullIntos.length>0){var n=this._pendingPullIntos[0];n.bytesFilled=0}Da(this);var o=this._cancelAlgorithm(r);return Vf(this),o},t[Dg]=function(r){var n=this._controlledReadableByteStream;if(this._queueTotalSize>0){var o=this._queue.shift();this._queueTotalSize-=o.byteLength,zT(this);var i;try{i=new Uint8Array(o.buffer,o.byteOffset,o.byteLength)}catch(f){return Promise.reject(f)}return Promise.resolve(xo(i,!1,r))}var a=this._autoAllocateChunkSize;if(a!==void 0){var s;try{s=new ArrayBuffer(a)}catch(f){return Promise.reject(f)}var u={buffer:s,byteOffset:0,byteLength:a,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(u)}var c=yT(n,r);return ci(this),c},Rn(e,[{key:"byobRequest",get:function(){if(zi(this)===!1)throw sl("byobRequest");if(this._byobRequest===void 0&&this._pendingPullIntos.length>0){var n=this._pendingPullIntos[0],o=new Uint8Array(n.buffer,n.byteOffset+n.bytesFilled,n.byteLength-n.bytesFilled),i=Object.create(BD.prototype);JD(i,this,o),this._byobRequest=i}return this._byobRequest}},{key:"desiredSize",get:function(){if(zi(this)===!1)throw sl("desiredSize");return MT(this)}}]),e}();function zi(e){return!(!$a(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream"))}function Yh(e){return!(!$a(e)||!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController"))}function ci(e){var t=GD(e);if(t!==!1){if(e._pulling===!0){e._pullAgain=!0;return}e._pulling=!0;var r=e._pullAlgorithm();r.then(function(){e._pulling=!1,e._pullAgain===!0&&(e._pullAgain=!1,ci(e))},function(n){Es(e,n)}).catch(zn)}}function OT(e){Yg(e),e._pendingPullIntos=[]}function Kg(e,t){var r=!1;e._state==="closed"&&(r=!0);var n=kT(t);t.readerType==="default"?Ug(e,n,r):LD(e,n,r)}function kT(e){var t=e.bytesFilled,r=e.elementSize;return new e.ctor(e.buffer,e.byteOffset,t/r)}function Nu(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function PT(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,o=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),i=t.bytesFilled+o,a=i-i%r,s=o,u=!1;a>n&&(s=a-t.bytesFilled,u=!0);for(var c=e._queue;s>0;){var f=c[0],h=Math.min(s,f.byteLength),p=t.byteOffset+t.bytesFilled;bD(t.buffer,p,f.buffer,f.byteOffset,h),f.byteLength===h?c.shift():(f.byteOffset+=h,f.byteLength-=h),e._queueTotalSize-=h,IT(e,h,t),s-=h}return u}function IT(e,t,r){Yg(e),r.bytesFilled+=t}function zT(e){e._queueTotalSize===0&&e._closeRequested===!0?(Vf(e),Ts(e._controlledReadableByteStream)):ci(e)}function Yg(e){e._byobRequest!==void 0&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function jT(e){for(;e._pendingPullIntos.length>0;){if(e._queueTotalSize===0)return;var t=e._pendingPullIntos[0];PT(e,t)===!0&&(Qg(e),Kg(e._controlledReadableByteStream,t))}}function UD(e,t,r){var n=e._controlledReadableByteStream,o=1;t.constructor!==DataView&&(o=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,a=qf(t.buffer),s={buffer:a,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:o,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(s),ew(n,r);if(n._state==="closed"){var u=new t.constructor(s.buffer,s.byteOffset,0);return Promise.resolve(xo(u,!0,r))}if(e._queueTotalSize>0){if(PT(e,s)===!0){var c=kT(s);return zT(e),Promise.resolve(xo(c,!1,r))}if(e._closeRequested===!0){var f=new TypeError("Insufficient bytes to fill elements in the given buffer");return Es(e,f),Promise.reject(f)}}e._pendingPullIntos.push(s);var h=ew(n,r);return ci(e),h}function HD(e,t){t.buffer=qf(t.buffer);var r=e._controlledReadableByteStream;if(Hg(r)===!0)for(;ST(r)>0;){var n=Qg(e);Kg(r,n)}}function qD(e,t,r){if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range");if(IT(e,t,r),!(r.bytesFilled0){var o=r.byteOffset+r.bytesFilled,i=r.buffer.slice(o-n,o);Nu(e,i,0,i.byteLength)}r.buffer=qf(r.buffer),r.bytesFilled-=n,Kg(e._controlledReadableByteStream,r),jT(e)}}function AT(e,t){var r=e._pendingPullIntos[0],n=e._controlledReadableByteStream;if(n._state==="closed"){if(t!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");HD(e,r)}else qD(e,t,r);ci(e)}function Qg(e){var t=e._pendingPullIntos.shift();return Yg(e),t}function GD(e){var t=e._controlledReadableByteStream;if(t._state!=="readable"||e._closeRequested===!0||e._started===!1)return!1;if(wT(t)===!0&&Gf(t)>0||Hg(t)===!0&&ST(t)>0)return!0;var r=MT(e);return r>0}function Vf(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function VD(e){var t=e._controlledReadableByteStream;if(e._queueTotalSize>0){e._closeRequested=!0;return}if(e._pendingPullIntos.length>0){var r=e._pendingPullIntos[0];if(r.bytesFilled>0){var n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Es(e,n),n}}Vf(e),Ts(t)}function KD(e,t){var r=e._controlledReadableByteStream,n=t.buffer,o=t.byteOffset,i=t.byteLength,a=qf(n);if(wT(r)===!0)if(Gf(r)===0)Nu(e,a,o,i);else{var s=new Uint8Array(a,o,i);Ug(r,s,!1)}else Hg(r)===!0?(Nu(e,a,o,i),jT(e)):Nu(e,a,o,i);ci(e)}function Es(e,t){var r=e._controlledReadableByteStream;r._state==="readable"&&(OT(e),Da(e),Vf(e),_T(r,t))}function MT(e){var t=e._controlledReadableByteStream,r=t._state;return r==="errored"?null:r==="closed"?0:e._strategyHWM-e._queueTotalSize}function YD(e,t){if(t=Number(t),xD(t)===!1)throw new RangeError("bytesWritten must be a finite");AT(e,t)}function QD(e,t){var r=e._pendingPullIntos[0];if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,AT(e,t.byteLength)}function LT(e,t,r,n,o,i,a){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,OT(t),t._queue=t._queueTotalSize=void 0,Da(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=vm(i),t._pullAlgorithm=n,t._cancelAlgorithm=o,t._autoAllocateChunkSize=a,t._pendingPullIntos=[],e._readableStreamController=t;var s=r();Promise.resolve(s).then(function(){t._started=!0,ci(t)},function(u){Es(t,u)}).catch(zn)}function XD(e,t,r){var n=Object.create(ET.prototype);function o(){return gT(t,"start",[n])}var i=kc(t,"pull",0,[n]),a=kc(t,"cancel",1,[]),s=t.autoAllocateChunkSize;if(s!==void 0&&(s=Number(s),d5(s)===!1||s<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");LT(e,n,o,i,a,r,s)}function JD(e,t,r){e._associatedReadableByteStreamController=t,e._view=r}function tw(e){if(typeof e!="object"||e===null)return!1;var t=Object.getOwnPropertyDescriptor(AbortSignal.prototype,"aborted").get;try{return t.call(e),!0}catch{return!1}}function Pi(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function Mc(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function cu(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}function ZD(e){e._closedPromise=new Promise(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r})}function eF(e,t){e._closedPromise=Promise.reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function tF(e){e._closedPromise=Promise.resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function NT(e,t){e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function rF(e,t){e._closedPromise=Promise.reject(t)}function nF(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function fu(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function du(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function Qh(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function sl(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}var oF=Io.ReadableStream,iF=Fe.createDataProperty,aF=function(){function e(r){var n=r.highWaterMark;iF(this,"highWaterMark",n)}var t=e.prototype;return t.size=function(n){return n.byteLength},e}(),lF=Fe.createDataProperty,sF=function(){function e(r){var n=r.highWaterMark;lF(this,"highWaterMark",n)}var t=e.prototype;return t.size=function(){return 1},e}();JR("streams:transform-stream:verbose");var uF=Fe.InvokeOrNoop,cF=Fe.CreateAlgorithmFromUnderlyingMethod,fF=Fe.PromiseCall,$T=Fe.typeIsObject,rw=Fe.ValidateAndNormalizeHighWaterMark;Fe.IsNonNegativeNumber;var nw=Fe.MakeSizeAlgorithmFromSizeFunction,dF=Io.CreateReadableStream,DT=Io.ReadableStreamDefaultControllerClose,hF=Io.ReadableStreamDefaultControllerEnqueue,pF=Io.ReadableStreamDefaultControllerError,mF=Io.ReadableStreamDefaultControllerGetDesiredSize,vF=Io.ReadableStreamDefaultControllerHasBackpressure,Xg=Io.ReadableStreamDefaultControllerCanCloseOrEnqueue,gF=rn.CreateWritableStream,yF=rn.WritableStreamDefaultControllerErrorIfNeeded,FT=function(){function e(t,r,n){t===void 0&&(t={}),r===void 0&&(r={}),n===void 0&&(n={});var o=r.size,i=r.highWaterMark,a=n.size,s=n.highWaterMark,u=t.writableType;if(u!==void 0)throw new RangeError("Invalid writable type specified");var c=nw(o);i===void 0&&(i=1),i=rw(i);var f=t.readableType;if(f!==void 0)throw new RangeError("Invalid readable type specified");var h=nw(a);s===void 0&&(s=0),s=rw(s);var p,w=new Promise(function(y){p=y});WT(this,w,i,c,s,h),SF(this,t);var S=uF(t,"start",[this._transformStreamController]);p(S)}return Rn(e,[{key:"readable",get:function(){if(ow(this)===!1)throw aw("readable");return this._readable}},{key:"writable",get:function(){if(ow(this)===!1)throw aw("writable");return this._writable}}]),e}();function _F(e,t,r,n,o,i,a){n===void 0&&(n=1),o===void 0&&(o=function(){return 1}),i===void 0&&(i=0),a===void 0&&(a=function(){return 1});var s=Object.create(FT.prototype),u,c=new Promise(function(p){u=p});WT(s,c,n,o,i,a);var f=Object.create(BT.prototype);UT(s,f,t,r);var h=e();return u(h),s}function WT(e,t,r,n,o,i){function a(){return t}function s(p){return xF(e,p)}function u(p){return CF(e,p)}function c(){return RF(e)}e._writable=gF(a,s,c,u,r,n);function f(){return TF(e)}function h(p){return Yf(e,p),Promise.resolve()}e._readable=dF(a,f,h,o,i),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Qf(e,!0),e._transformStreamController=void 0}function ow(e){return!(!$T(e)||!Object.prototype.hasOwnProperty.call(e,"_transformStreamController"))}function Kf(e,t){pF(e._readable._readableStreamController,t),Yf(e,t)}function Yf(e,t){HT(e._transformStreamController),yF(e._writable._writableStreamController,t),e._backpressure===!0&&Qf(e,!1)}function Qf(e,t){e._backpressureChangePromise!==void 0&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=new Promise(function(r){e._backpressureChangePromise_resolve=r}),e._backpressure=t}var BT=function(){function e(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly")}var t=e.prototype;return t.enqueue=function(n){if(hu(this)===!1)throw pu("enqueue");qT(this,n)},t.error=function(n){if(hu(this)===!1)throw pu("error");wF(this,n)},t.terminate=function(){if(hu(this)===!1)throw pu("terminate");bF(this)},Rn(e,[{key:"desiredSize",get:function(){if(hu(this)===!1)throw pu("desiredSize");var n=this._controlledTransformStream._readable._readableStreamController;return mF(n)}}]),e}();function hu(e){return!(!$T(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream"))}function UT(e,t,r,n){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=r,t._flushAlgorithm=n}function SF(e,t){var r=Object.create(BT.prototype),n=function(s){try{return qT(r,s),Promise.resolve()}catch(u){return Promise.reject(u)}},o=t.transform;if(o!==void 0){if(typeof o!="function")throw new TypeError("transform is not a method");n=function(s){return fF(o,t,[s,r])}}var i=cF(t,"flush",0,[r]);UT(e,r,n,i)}function HT(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function qT(e,t){var r=e._controlledTransformStream,n=r._readable._readableStreamController;if(Xg(n)===!1)throw new TypeError("Readable side is not in a state that permits enqueue");try{hF(n,t)}catch(i){throw Yf(r,i),r._readable._storedError}var o=vF(n);o!==r._backpressure&&Qf(r,!0)}function wF(e,t){Kf(e._controlledTransformStream,t)}function iw(e,t){var r=e._transformAlgorithm(t);return r.catch(function(n){throw Kf(e._controlledTransformStream,n),n})}function bF(e){var t=e._controlledTransformStream,r=t._readable._readableStreamController;Xg(r)===!0&&DT(r);var n=new TypeError("TransformStream terminated");Yf(t,n)}function xF(e,t){var r=e._transformStreamController;if(e._backpressure===!0){var n=e._backpressureChangePromise;return n.then(function(){var o=e._writable,i=o._state;if(i==="erroring")throw o._storedError;return iw(r,t)})}return iw(r,t)}function CF(e,t){return Kf(e,t),Promise.resolve()}function RF(e){var t=e._readable,r=e._transformStreamController,n=r._flushAlgorithm();return HT(r),n.then(function(){if(t._state==="errored")throw t._storedError;var o=t._readableStreamController;Xg(o)===!0&&DT(o)}).catch(function(o){throw Kf(e,o),t._storedError})}function TF(e){return Qf(e,!1),e._backpressureChangePromise}var EF={CreateTransformStream:_F,TransformStream:FT};function pu(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function aw(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}var OF=EF.TransformStream;const kF=Object.freeze(Object.defineProperty({__proto__:null,ByteLengthQueuingStrategy:aF,CountQueuingStrategy:sF,ReadableStream:oF,TransformStream:OF,WritableStream:wD},Symbol.toStringTag,{value:"Module"})),PF=Ra(kF);function IF(e,t){return fetch(e,t).then(r=>({body:r.body,headers:r.headers,ok:r.ok,status:r.status,statusText:r.statusText,url:r.url}))}let zF=class GT{constructor(t={}){this.h={},t instanceof GT&&t.forEach((r,n)=>this.append(n,r)),Object.getOwnPropertyNames(t).forEach(r=>this.append(r,t[r]))}append(t,r){t=t.toLowerCase(),Array.isArray(this.h[t])||(this.h[t]=[]),this.h[t].push(r)}set(t,r){this.h[t.toLowerCase()]=[r]}has(t){return Array.isArray(this.h[t.toLowerCase()])}get(t){if(t=t.toLowerCase(),Array.isArray(this.h[t]))return this.h[t][0]}getAll(t){return this.h[t.toLowerCase()].concat()}entries(){const t=[];return this.forEach((r,n)=>{t.push([n,r])}),jF(t)}forEach(t,r){Object.getOwnPropertyNames(this.h).forEach(n=>{this.h[n].forEach(o=>t.call(r,o,n,this))},this)}};function jF(e){return{next(){const t=e.shift();return{done:t===void 0,value:t}},[Symbol.iterator](){return this}}}function Xh(){try{return new DOMException("Aborted","AbortError")}catch{const t=new Error("Aborted");return t.name="AbortError",t}}function lw({responseType:e,responseParserFactory:t}){return function(n,o){const i=new XMLHttpRequest,a=t();let s,u=!1;const c=new ReadableStream({start(p){s=p},cancel(){u=!0,i.abort()}}),{method:f="GET",signal:h}=o;if(i.open(f,n),i.responseType=e,i.withCredentials=o.credentials!=="omit",o.headers)for(const p of o.headers.entries())i.setRequestHeader(p[0],p[1]);return new Promise((p,w)=>{if(o.body&&(f==="GET"||f==="HEAD")&&w(new TypeError("Failed to execute 'fetchStream' on 'Window': Request with GET/HEAD method cannot have body")),h)if(h.aborted){w(Xh());return}else h.addEventListener("abort",()=>{i.abort(),s&&s.error(Xh()),w(Xh())},{once:!0});i.onreadystatechange=function(){if(i.readyState===i.HEADERS_RECEIVED)return p({body:c,headers:LF(i.getAllResponseHeaders()),ok:i.status>=200&&i.status<300,status:i.status,statusText:i.statusText,url:MF(i.responseURL,n)})},i.onerror=function(){return w(new TypeError("Network request failed"))},i.ontimeout=function(){w(new TypeError("Network request failed"))},i.onprogress=function(){if(!u){const S=a(i.response);s.enqueue(S)}},i.onload=function(){s.close()},i.send(o.body)})}}function AF(){return typeof Headers<"u"?new Headers:new zF}function MF(e,t){return e||(t.substring(0,4)!=="http"?location.origin+t:t)}function LF(e){const t=AF();if(e){const r=e.split(`\r -`);for(let n=0;n0){const a=o.substring(0,i),s=o.substring(i+2);t.append(a,s)}}}return t}let Jh=null;function NF(){return Jh||(Jh=$F()),Jh}function $F(){if(typeof Response<"u"&&Response.prototype.hasOwnProperty("body"))return IF;const e="moz-chunked-arraybuffer";return DF(e)?lw({responseType:e,responseParserFactory:function(){return t=>new Uint8Array(t)}}):lw({responseType:"text",responseParserFactory:function(){const t=new TextEncoder;let r=0;return function(n){const o=n.substr(r);return r=n.length,t.encode(o,{stream:!0})}}})}function DF(e){try{const t=new XMLHttpRequest;return t.responseType=e,t.responseType===e}catch{}return!1}function Jg(e,t={}){let r=t.transport;return r||(r=Jg.transportFactory()),r(e,t)}Jg.transportFactory=NF;const FF=Object.freeze(Object.defineProperty({__proto__:null,default:Jg},Symbol.toStringTag,{value:"Module"})),WF=Ra(FF);(function(e,t){(function(r,n){e.exports=n()})(typeof self>"u"?Fo:self,function(){return function(r){function n(i){if(o[i])return o[i].exports;var a=o[i]={i,l:!1,exports:{}};return r[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}var o={};return n.m=r,n.c=o,n.d=function(i,a,s){n.o(i,a)||Object.defineProperty(i,a,{configurable:!1,enumerable:!0,get:s})},n.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return n.d(a,"a",a),a},n.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},n.p="./",n(n.s=46)}([function(r){r.exports=N},function(r){function n(i,a){var s=i[1]||"",u=i[3];if(!u)return s;if(a&&typeof btoa=="function"){var c=o(u),f=u.sources.map(function(h){return"/*# sourceURL="+u.sourceRoot+h+" */"});return[s].concat(f).concat([c]).join(` -`)}return[s].join(` -`)}function o(i){var a=btoa(unescape(encodeURIComponent(JSON.stringify(i))));return"/*# "+("sourceMappingURL=data:application/json;charset=utf-8;base64,"+a)+" */"}r.exports=function(i){var a=[];return a.toString=function(){return this.map(function(s){var u=n(s,i);return s[2]?"@media "+s[2]+"{"+u+"}":u}).join("")},a.i=function(s,u){typeof s=="string"&&(s=[[null,s,""]]);for(var c,f={},h=0;h"u"&&(I=P.apply(this,arguments)),I}}(function(){return window&&document&&document.all&&!window.atob}),m=function(P){return document.querySelector(P)},_=function(){var P={};return function(I){if(typeof I=="function")return I();if(typeof P[I]>"u"){var M=m.call(this,I);if(window.HTMLIFrameElement&&M instanceof window.HTMLIFrameElement)try{M=M.contentDocument.head}catch{M=null}P[I]=M}return P[I]}}(),T=null,O=0,k=[],b=o(5);r.exports=function(P,I){if(typeof DEBUG<"u"&&DEBUG&&typeof document!="object")throw new Error("The style-loader cannot be used in a non-browser environment");I=I||{},I.attrs=typeof I.attrs=="object"?I.attrs:{},I.singleton||typeof I.singleton=="boolean"||(I.singleton=g()),I.insertInto||(I.insertInto="head"),I.insertAt||(I.insertAt="bottom");var M=a(P,I);return i(M,I),function(F){for(var q=[],G=0;Gk?-1:k?k-1-F:-1},S=function(_){return _?Array.isArray(_)?_.length===1?Object(i.Range)(_[0],_[0]+1):Object(i.Range)(_[0],_[1]+1):Object(i.Range)(_,_+1):Object(i.Range)(0,0)},y=function(_,T){var O=new Uint8Array(_.length+T.length);return O.set(_,0),O.set(T,_.length),O},C=function(_,T){var O=T?y(T,_):_,k=O.length,b=0,E=0,P=Object(i.List)().withMutations(function(I){for(;EC.b?ge(ue):Z()}}),P),c(I,M)}return f(b,k),T(b,[{key:"render",value:function(){var E=this.props,P=E.resultsCount,I=E.filterActive,M=E.disabled,F="match"+(P===1?"":"es"),q=I?g.active:g.inactive;return Object(h.createElement)("div",{className:"react-lazylog-searchbar "+g.searchBar},Object(h.createElement)("input",{autoComplete:"off",type:"text",name:"search",placeholder:"Search",className:"react-lazylog-searchbar-input "+g.searchInput,onChange:this.handleSearchChange,onKeyPress:this.handleSearchKeyPress,value:this.state.keywords,disabled:M}),Object(h.createElement)("button",{disabled:M,className:"react-lazylog-searchbar-filter "+(I?"active":"inactive")+" "+g.button+" "+q,onClick:this.handleFilterToggle},Object(h.createElement)(y,null)),Object(h.createElement)("span",{className:"react-lazylog-searchbar-matches "+(P?"active":"inactive")+" "+(P?g.active:g.inactive)},P," ",F))}}]),b}(h.Component),Object.defineProperty(m,"propTypes",{enumerable:!0,writable:!0,value:{onSearch:p.func,onClearSearch:p.func,onFilterLinesWithMatches:p.func,resultsCount:p.number,filterActive:p.bool,disabled:p.bool}}),Object.defineProperty(m,"defaultProps",{enumerable:!0,writable:!0,value:{onSearch:function(){},onClearSearch:function(){},onFilterLinesWithMatches:function(){},resultsCount:0,filterActive:!1,disabled:!1}}),_)},function(r,n,o){var i=o(26);typeof i=="string"&&(i=[[r.i,i,""]]);var a,s={hmr:!0};s.transform=a,s.insertInto=void 0,o(2)(i,s),i.locals&&(r.exports=i.locals)},function(r,n,o){n=r.exports=o(1)(!1),n.push([r.i,`._1lq6olr9h2p7MJDCA8c-aL { - height: 15px; - cursor: pointer; -} -`,""]),n.locals={filterLinesIcon:"_1lq6olr9h2p7MJDCA8c-aL"}},function(r,n,o){var i=o(28);typeof i=="string"&&(i=[[r.i,i,""]]);var a,s={hmr:!0};s.transform=a,s.insertInto=void 0,o(2)(i,s),i.locals&&(r.exports=i.locals)},function(r,n,o){n=r.exports=o(1)(!1),n.push([r.i,`._3hsz3SFOTsWryCiRA9Mjtq { - display: flex; - align-items: center; - justify-content: flex-end; - font-family: "Monaco", monospace; - font-size: 12px; - background-color: #222222; - color: #d6d6d6; - padding: 10px; -} - -._2JObJsQyVcVoB1YD6078ip { - background-color: #464646; - color: #d6d6d6; - height: 20px; - min-width: 200px; - font-size: 12px; - padding: 2px 5px; - border: 1px solid #4e4e4e; - margin-right: 10px; -} - -._1NGepveS5BPffleJYyamDk { - color: #d6d6d6; - fill: #d6d6d6; -} - -._3cXa-36GYrmnrGIXEg46cX { - color: #464646; - fill: #464646; -} - -.qZaVIaYTJWY-GaoXJJ2Cp { - background: none; - border: none; - margin-right: 10px; -} -`,""]),n.locals={searchBar:"_3hsz3SFOTsWryCiRA9Mjtq",searchInput:"_2JObJsQyVcVoB1YD6078ip",active:"_1NGepveS5BPffleJYyamDk",inactive:"_3cXa-36GYrmnrGIXEg46cX",button:"qZaVIaYTJWY-GaoXJJ2Cp"}},function(r,n,o){function i(H){if(Array.isArray(H)){for(var V=0,U=Array(H.length);VUe&&(Tr=Jt-Ue,Er=Er.slice(-Ue),Jt=Er.count());var fi=Object(k.g)({follow:ve,scrollToLine:me,previousCount:sr,count:Jt,offset:Tr});B.setState({lines:Er,offset:Tr,count:Jt,scrollToIndex:fi}),(we||Te)&&B.forceSearch()}}),Object.defineProperty(B,"handleEnd",{enumerable:!0,writable:!0,value:function(K){B.encodedLog=K,B.setState({loaded:!0}),B.props.onLoad&&B.props.onLoad()}}),Object.defineProperty(B,"handleError",{enumerable:!0,writable:!0,value:function(K){B.setState({error:K}),B.props.onError&&B.props.onError(K)}}),Object.defineProperty(B,"handleHighlight",{enumerable:!0,writable:!0,value:function(K){var X=B.props.onHighlight,ae=B.state.isFilteringLinesWithMatches;if(K.target.id){var pe=+K.target.id;if(pe){var me=B.state.highlight.first(),ve=B.state.highlight.last(),we=void 0;we=me===pe?null:K.shiftKey&&me?pe>me?[me,pe]:[pe,ve]:pe;var Te=Object(k.e)(we),Me={highlight:Te};ae&&Object.assign(Me,{scrollToIndex:Object(k.g)({scrollToLine:pe})}),B.setState(Me,function(){X&&X(Te),ae&&B.handleFilterLinesWithMatches(!1)})}}}}),Object.defineProperty(B,"handleSearch",{enumerable:!0,writable:!0,value:function(K){var X=B.state,ae=X.resultLines,pe=X.searchKeywords,me=B.props,ve=me.caseInsensitive,we=me.stream,Te=me.websocket,Me=we||Te||K!==pe?ie(K,B.encodedLog,ve):ae;B.setState({resultLines:Me,isSearching:!0,searchKeywords:K},B.filterLinesWithMatches)}}),Object.defineProperty(B,"forceSearch",{enumerable:!0,writable:!0,value:function(){var K=B.state.searchKeywords;K&&K.length>k.b&&B.handleSearch(B.state.searchKeywords)}}),Object.defineProperty(B,"handleClearSearch",{enumerable:!0,writable:!0,value:function(){B.setState({isSearching:!1,searchKeywords:"",resultLines:[],filteredLines:Object(p.List)(),resultLineUniqueIndexes:[],isFilteringLinesWithMatches:B.state.isFilteringLinesWithMatches,scrollToIndex:0})}}),Object.defineProperty(B,"handleFilterLinesWithMatches",{enumerable:!0,writable:!0,value:function(K){B.setState({isFilteringLinesWithMatches:K,filteredLines:Object(p.List)(),resultLineUniqueIndexes:[]},B.filterLinesWithMatches)}}),Object.defineProperty(B,"filterLinesWithMatches",{enumerable:!0,writable:!0,value:function(){var K=B.state,X=K.resultLines,ae=K.lines,pe=K.isFilteringLinesWithMatches;if(0{const[t,r]=ne.useState("Head"),[n,o]=ne.useState(e.logFileUrl);ne.useEffect(()=>{let a=e.logFileUrl;t==="Head"?a=e.logFileUrl+"?offset=0&limit="+Zh:t==="Tail"&&(a=e.logFileUrl+"?offset="+(e.logSize-Zh)+"&limit="+Zh),o(a)},[t,e.logFileUrl]);const i=a=>{let s="px-4 py-2 mr-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 hover:bg-gray-500 hover:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700 border rounded-md";const u="bg-gray-900 text-white";return a===t?s+" "+u:s};return j.jsxs("div",{className:"flex flex-col",children:[j.jsxs("div",{className:"flex flex-row pb-2 pt-2",children:[j.jsx("button",{className:i("Head"),onClick:()=>r("Head"),children:"Head"}),j.jsx("button",{className:i("Tail"),onClick:()=>r("Tail"),children:"Tail"}),j.jsx("button",{className:i("All"),onClick:()=>r("All"),children:"All"})]}),n!==""&&j.jsx(VT.LazyLog,{extraLines:1,enableSearch:!0,caseInsensitive:!0,url:n,height:800,width:1e3})]})},UF=({nodeInfo:e})=>j.jsx("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:j.jsxs("tbody",{children:[j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"id:"}),j.jsx("td",{className:"px-4 py-2",children:e.id})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"name:"}),j.jsx("td",{className:"px-4 py-2",children:e.name})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"eth protocol:"}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"difficulty:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.difficulty})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"genesis:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.genesis})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"network:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.network})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"config:"}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"ChainName:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.ChainName})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"chainId:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.chainId})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"consensus:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.consensus})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"homesteadBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.homesteadBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"eip150Block:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.eip150Block})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"eip155Block:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.eip155Block})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"byzantiumBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.byzantiumBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"constantinopleBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.constantinopleBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"petersburgBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.petersburgBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"istanbulBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.istanbulBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"berlinBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.berlinBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"londonBlock:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.londonBlock})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"terminalTotalDifficulty:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.terminalTotalDifficulty})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"terminalTotalDifficultyPassed:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.terminalTotalDifficultyPassed})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"shanghaiTime:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.shanghaiTime})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"clique:"}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"period:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.clique.period})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"epoch:"}),j.jsx("td",{className:"px-4 py-2",children:e.protocols.eth.config.clique.epoch})]})]})]})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"enodes:"}),e.enodes.map((t,r)=>j.jsxs(j.Fragment,{children:[j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"enode:"}),j.jsx("td",{className:"px-4 py-2",children:t.enode})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"enr:"}),j.jsx("td",{className:"px-4 py-2",children:t.enr})]}),j.jsxs("tr",{className:"border-b border-gray-200 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"ports:"}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"discovery:"}),j.jsx("td",{className:"px-4 py-2",children:t.ports.discovery})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"listener:"}),j.jsx("td",{className:"px-4 py-2",children:t.ports.listener})]})]}),j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 ",children:[j.jsx("td",{className:"px-4 py-2 font-bold",children:"listener_addr:"}),j.jsx("td",{className:"px-4 py-2",children:t.listener_addr})]})]}))]})]})}),HF=({cmdLine:e,flags:t,logFile:r,nodeDetails:n,syncStages:o})=>{let i;(m=>{m.Command="Command",m.Flags="Flags",m.NodeInfo="Node Info",m.SyncStages="Stages",m.Logs="Logs"})(i||(i={}));const[a,s]=ne.useState("Command"),[u,c]=ne.useState(!1),f=m=>{let _="px-4 py-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 hover:bg-gray-500 hover:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700";const T="bg-gray-900 text-white";return m==="Command"?_=_+" border-l border-r border-t rounded-tl-md":m==="Stages"?_=_+" border-r border-t rounded-tr-md":m==="Flags"||m==="Node Info"?_=_+" border-t border-r":m==="Logs"&&(_=_+" border-l border-r border-t rounded-tr-md"),m===a?_+" "+T:_};async function h(m){return"clipboard"in navigator?await navigator.clipboard.writeText(m):document.execCommand("copy",!0,m)}const p=m=>{console.log("err"),h(m).then(()=>{c(!0),setTimeout(()=>{c(!1)},1500)}).catch(_=>{console.log(_)})},w=()=>e===void 0?null:j.jsxs("div",{className:"flex flex-col",children:[j.jsx("button",{className:"px-4 py-2 mr-2 mt-2 mb-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 active:bg-gray-500 active:text-white border rounded-md w-fit",onClick:()=>p(H3),children:u?"Copied":"Copy curl"}),j.jsx("span",{className:"mb-2",children:e})]}),S=()=>t===void 0?null:j.jsx(w4,{flags:t}),y=()=>n===void 0?null:j.jsx(UF,{nodeInfo:n}),C=()=>o===void 0?null:j.jsx("table",{className:"table-auto rounded-lg bg-white text-left",children:j.jsx("tbody",{children:o.map(m=>j.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100",children:[j.jsx("td",{className:"px-4 py-2",children:m.key}),j.jsx("td",{className:"px-4 py-2",children:m.value})]},m.key))})}),g=()=>r===void 0||r.logFileUrl===""?null:j.jsx(BF,{logFile:r});return j.jsxs("div",{className:"flex flex-col",children:[j.jsxs("div",{className:"flex flex-row",children:[j.jsx("button",{className:f("Command"),onClick:()=>s("Command"),"data-testid":"command_button",children:"Command"}),j.jsx("button",{className:f("Flags"),onClick:()=>s("Flags"),"data-testid":"flags_button",children:"Flags"}),j.jsx("button",{className:f("Node Info"),onClick:()=>s("Node Info"),"data-testid":"node_info_button",children:"Node Info"}),j.jsx("button",{className:f("Stages"),onClick:()=>s("Stages"),"data-testid":"sync_stages_button",children:"Sync Stages"})]}),j.jsxs("div",{className:"flex flex-col border border-gray-900 rounded-bl-md rounded-br-md rounded-tr-md pl-2 pr-2 bg-white min-h-[40px] max-w-[1400px] overflow-auto","data-testid":"test_details_section_content",children:[a==="Command"&&w(),a==="Flags"&&S(),a==="Node Info"&&y(),a==="Stages"&&C(),a==="Logs"&&g()]})]})},qF=()=>{const e=aR(),[t,r]=ne.useState("idle"),n=Gr(ug),o=Gr($3),i=Gr(Po),a=Gr(D3),s=Gr(F3),u=Gr(SR),c=Gr(N3),f=Gr(W3),h=N.useRef(null);return N.useEffect(()=>{bR(n.id,e),r("loading");const p=setInterval(()=>{r("error")},3e3);h.current=p},[]),N.useEffect(()=>{i!==""&&(y4(n.id,i,e),g4(n.id,i,e),v4(n.id,i,e),xR(n.id,i,e),_4(n.id,i,e),clearInterval(h.current),r("loaded"))},[i]),j.jsx(j.Fragment,{children:j.jsxs("div",{className:"pl-10",children:[t==="loading"&&j.jsx("div",{children:"Connecting to Node..."}),j.jsx("br",{}),j.jsx("br",{}),t==="error"&&j.jsxs("div",{className:"flex flex-col",children:[j.jsx("div",{children:"There was an error loading the node details."}),j.jsx("div",{children:"make sure that you run:"}),j.jsx("div",{className:"font-bold",children:"./build/bin/erigon support --debug.urls http://localhost:6060/debug --diagnostics.url https://localhost:8080/support --diagnostics.sessions 1234,3456,78934 --insecure"}),j.jsx("div",{children:"and try again."}),j.jsx("br",{}),j.jsx("span",{children:"Also make sure that you've visited https://localhost:8080 from current browser"})]}),t==="loaded"&&j.jsxs(j.Fragment,{children:[j.jsx(U3,{nodes:o,onNodeSelected:p=>{e(T3(p))}}),j.jsx("br",{}),j.jsx("br",{}),j.jsx(HF,{cmdLine:s,flags:a,logFile:u,nodeDetails:c,syncStages:f})]})]})})},ep=500,GF=()=>{const e=aR(),t=Gr(ug),r=Gr(Po),n=Gr(SR),[o,i]=N.useState(n.logFileUrl),[a,s]=N.useState("Head");N.useEffect(()=>{let c=n.logFileUrl;a==="Head"?c=n.logFileUrl+"?offset=0&limit="+ep:a==="Tail"&&(c=n.logFileUrl+"?offset="+(n.logSize-ep)+"&limit="+ep),i(c)},[a,n]),N.useEffect(()=>{bR(t.id,e)},[]),N.useEffect(()=>{r!==""&&xR(t.id,r,e)},[r]);const u=c=>{let f="px-4 py-2 mr-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 hover:bg-gray-500 hover:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700 border";const h="bg-gray-900 text-white";return c===a?f+" "+h:f};return j.jsxs("div",{className:"flex flex-col w-full",children:[j.jsxs("div",{className:"flex flex-row pb-2 pt-2",children:[j.jsx("button",{className:u("Head"),onClick:()=>s("Head"),children:"Head"}),j.jsx("button",{className:u("Tail"),onClick:()=>s("Tail"),children:"Tail"}),j.jsx("button",{className:u("All"),onClick:()=>s("All"),children:"All"})]}),o!==""&&j.jsx(VT.LazyLog,{extraLines:1,enableSearch:!0,caseInsensitive:!0,url:o,height:window.innerHeight*.9,width:"auto"})]})};function VF(){return j.jsx("div",{children:j.jsx(DP,{children:j.jsxs(hr,{path:"/",element:j.jsx(KF,{}),children:[j.jsx(hr,{index:!0,element:j.jsx(qF,{})}),j.jsx(hr,{path:"network",element:j.jsx(YF,{})}),j.jsx(hr,{path:"logs",element:j.jsx(GF,{})}),j.jsx(hr,{path:"chain",element:j.jsx(QF,{})}),j.jsx(hr,{path:"data",element:j.jsx(XF,{})}),j.jsx(hr,{path:"debug",element:j.jsx(JF,{})}),j.jsx(hr,{path:"testing",element:j.jsx(ZF,{})}),j.jsx(hr,{path:"performance",element:j.jsx(eW,{})}),j.jsx(hr,{path:"documentation",element:j.jsx(tW,{})}),j.jsx(hr,{path:"admin",element:j.jsx(rW,{})}),j.jsx(hr,{path:"*",element:j.jsx(nW,{})})]})})})}function KF(){const[e,t]=ne.useState(!1);return j.jsxs("div",{className:"flex",children:[j.jsx(QI,{collapsed:e,style:{height:"100vh"},children:j.jsxs(ZI,{menuItemStyles:{button:{"&:hover":{backgroundColor:"#6b7280",color:"#fff"}}},children:[j.jsx(Ur,{icon:j.jsx(WC,{}),onClick:()=>{t(!e)}}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/"}),icon:j.jsx(BC,{}),children:"Process"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/network"}),icon:j.jsx(UC,{}),children:"Network"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/logs"}),icon:j.jsx(HC,{}),children:"Logs"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/chain"}),icon:j.jsx(qC,{}),children:"Chain"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/data"}),icon:j.jsx(GC,{}),children:"Data"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/debug"}),icon:j.jsx(VC,{}),children:"Debug"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/testing"}),icon:j.jsx(KC,{}),children:"Testing"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/performance"}),icon:j.jsx(YC,{}),children:"Performance"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/documentation"}),icon:j.jsx(QC,{}),children:"Documentation"}),j.jsx(Ur,{component:j.jsx(Hr,{to:"/admin"}),icon:j.jsx(XC,{}),children:"Admin"})]})}),j.jsx(NP,{})]})}function YF(){return j.jsx("div",{children:j.jsx("h2",{children:"Network"})})}function QF(){return j.jsx("div",{children:j.jsx("h2",{children:"Chain"})})}function XF(){return j.jsx("div",{children:j.jsx("h2",{children:"Data"})})}function JF(){return j.jsx("div",{children:j.jsx("h2",{children:"Debug"})})}function ZF(){return j.jsx("div",{children:j.jsx("h2",{children:"Testing"})})}function eW(){return j.jsx("div",{children:j.jsx("h2",{children:"Performance"})})}function tW(){return j.jsx("div",{children:j.jsx("h2",{children:"Documentation"})})}function rW(){return j.jsx("div",{children:j.jsx("h2",{children:"Admin"})})}function nW(){return j.jsxs("div",{children:[j.jsx("h2",{children:"Nothing to see here!"}),j.jsx("p",{children:j.jsx(Hr,{to:"/",children:"Go to the home page"})})]})}const oW=h3({reducer:{app:B3}});tp.createRoot(document.getElementById("root")).render(j.jsx(EN,{store:oW,children:j.jsx(qP,{children:j.jsx(VF,{})})})); diff --git a/web/dist/assets/index-9e2b6b94.css b/web/dist/assets/index-9e2b6b94.css deleted file mode 100644 index 44fc1f3..0000000 --- a/web/dist/assets/index-9e2b6b94.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-1{top:.25rem;right:.25rem;bottom:.25rem;left:.25rem}.top-0{top:0}.z-0{z-index:0}.z-40{z-index:40}.z-50{z-index:50}.float-right{float:right}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-2{margin-bottom:.5rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mt-2{margin-top:.5rem}.block{display:block}.flex{display:flex}.table{display:table}.contents{display:contents}.h-4{height:1rem}.h-6{height:1.5rem}.min-h-\[40px\]{min-height:40px}.w-2{width:.5rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-3xl{max-width:48rem}.max-w-\[1400px\]{max-width:1400px}.flex-auto{flex:1 1 auto}.table-auto{table-layout:auto}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-auto{overflow:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tr-md{border-top-right-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-2{padding-bottom:.5rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pr-2{padding-right:.5rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-100{opacity:1}.opacity-25{opacity:.25}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}body{background-color:azure;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-500:hover{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.active\:bg-gray-500:active{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.active\:text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (prefers-color-scheme: dark){.dark\:border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.dark\:bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:ring-offset-gray-800{--tw-ring-offset-color: #1f2937}.dark\:hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:focus\:bg-gray-700:focus{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:focus\:ring-blue-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(37 99 235 / var(--tw-ring-opacity))}} diff --git a/web/dist/index.html b/web/dist/index.html index c8dbd49..c1a04ac 100644 --- a/web/dist/index.html +++ b/web/dist/index.html @@ -5,8 +5,8 @@ Vite App - - + +