function oD(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var o=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const iD=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerpolicy&&(a.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?a.credentials="include":o.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}};iD();var ri=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function aD(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}var C={exports:{}},xt={};/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var mC=Object.getOwnPropertySymbols,sD=Object.prototype.hasOwnProperty,lD=Object.prototype.propertyIsEnumerable;function uD(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function cD(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(a){return t[a]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(a){o[a]=a}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var P4=cD()?Object.assign:function(e,t){for(var n,r=uD(e),o,a=1;a<arguments.length;a++){n=Object(arguments[a]);for(var l in n)sD.call(n,l)&&(r[l]=n[l]);if(mC){o=mC(n);for(var u=0;u<o.length;u++)lD.call(n,o[u])&&(r[o[u]]=n[o[u]])}}return r};/** @license React v17.0.2
 * 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 k0=P4,ll=60103,R4=60106;xt.Fragment=60107;xt.StrictMode=60108;xt.Profiler=60114;var T4=60109,I4=60110,O4=60112;xt.Suspense=60113;var k4=60115,A4=60116;if(typeof Symbol=="function"&&Symbol.for){var go=Symbol.for;ll=go("react.element"),R4=go("react.portal"),xt.Fragment=go("react.fragment"),xt.StrictMode=go("react.strict_mode"),xt.Profiler=go("react.profiler"),T4=go("react.provider"),I4=go("react.context"),O4=go("react.forward_ref"),xt.Suspense=go("react.suspense"),k4=go("react.memo"),A4=go("react.lazy")}var vC=typeof Symbol=="function"&&Symbol.iterator;function dD(e){return e===null||typeof e!="object"?null:(e=vC&&e[vC]||e["@@iterator"],typeof e=="function"?e:null)}function Ic(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var L4={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M4={};function ul(e,t,n){this.props=e,this.context=t,this.refs=M4,this.updater=n||L4}ul.prototype.isReactComponent={};ul.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Ic(85));this.updater.enqueueSetState(this,e,t,"setState")};ul.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function N4(){}N4.prototype=ul.prototype;function A0(e,t,n){this.props=e,this.context=t,this.refs=M4,this.updater=n||L4}var L0=A0.prototype=new N4;L0.constructor=A0;k0(L0,ul.prototype);L0.isPureReactComponent=!0;var M0={current:null},D4=Object.prototype.hasOwnProperty,B4={key:!0,ref:!0,__self:!0,__source:!0};function F4(e,t,n){var r,o={},a=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(a=""+t.key),t)D4.call(t,r)&&!B4.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1<u){for(var c=Array(u),f=0;f<u;f++)c[f]=arguments[f+2];o.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)o[r]===void 0&&(o[r]=u[r]);return{$$typeof:ll,type:e,key:a,ref:l,props:o,_owner:M0.current}}function fD(e,t){return{$$typeof:ll,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function N0(e){return typeof e=="object"&&e!==null&&e.$$typeof===ll}function pD(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var yC=/\/+/g;function dm(e,t){return typeof e=="object"&&e!==null&&e.key!=null?pD(""+e.key):t.toString(36)}function gf(e,t,n,r,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case ll:case R4:l=!0}}if(l)return l=e,o=o(l),e=r===""?"."+dm(l,0):r,Array.isArray(o)?(n="",e!=null&&(n=e.replace(yC,"$&/")+"/"),gf(o,t,n,"",function(f){return f})):o!=null&&(N0(o)&&(o=fD(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(yC,"$&/")+"/")+e)),t.push(o)),1;if(l=0,r=r===""?".":r+":",Array.isArray(e))for(var u=0;u<e.length;u++){a=e[u];var c=r+dm(a,u);l+=gf(a,t,n,c,o)}else if(c=dD(e),typeof c=="function")for(e=c.call(e),u=0;!(a=e.next()).done;)a=a.value,c=r+dm(a,u++),l+=gf(a,t,n,c,o);else if(a==="object")throw t=""+e,Error(Ic(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function Wd(e,t,n){if(e==null)return e;var r=[],o=0;return gf(e,r,"","",function(a){return t.call(n,a,o++)}),r}function hD(e){if(e._status===-1){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(n){e._status===0&&(n=n.default,e._status=1,e._result=n)},function(n){e._status===0&&(e._status=2,e._result=n)})}if(e._status===1)return e._result;throw e._result}var U4={current:null};function di(){var e=U4.current;if(e===null)throw Error(Ic(321));return e}var gD={ReactCurrentDispatcher:U4,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:M0,IsSomeRendererActing:{current:!1},assign:k0};xt.Children={map:Wd,forEach:function(e,t,n){Wd(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Wd(e,function(){t++}),t},toArray:function(e){return Wd(e,function(t){return t})||[]},only:function(e){if(!N0(e))throw Error(Ic(143));return e}};xt.Component=ul;xt.PureComponent=A0;xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gD;xt.cloneElement=function(e,t,n){if(e==null)throw Error(Ic(267,e));var r=k0({},e.props),o=e.key,a=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,l=M0.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)D4.call(t,c)&&!B4.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&u!==void 0?u[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){u=Array(c);for(var f=0;f<c;f++)u[f]=arguments[f+2];r.children=u}return{$$typeof:ll,type:e.type,key:o,ref:a,props:r,_owner:l}};xt.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:I4,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:T4,_context:e},e.Consumer=e};xt.createElement=F4;xt.createFactory=function(e){var t=F4.bind(null,e);return t.type=e,t};xt.createRef=function(){return{current:null}};xt.forwardRef=function(e){return{$$typeof:O4,render:e}};xt.isValidElement=N0;xt.lazy=function(e){return{$$typeof:A4,_payload:{_status:-1,_result:e},_init:hD}};xt.memo=function(e,t){return{$$typeof:k4,type:e,compare:t===void 0?null:t}};xt.useCallback=function(e,t){return di().useCallback(e,t)};xt.useContext=function(e,t){return di().useContext(e,t)};xt.useDebugValue=function(){};xt.useEffect=function(e,t){return di().useEffect(e,t)};xt.useImperativeHandle=function(e,t,n){return di().useImperativeHandle(e,t,n)};xt.useLayoutEffect=function(e,t){return di().useLayoutEffect(e,t)};xt.useMemo=function(e,t){return di().useMemo(e,t)};xt.useReducer=function(e,t,n){return di().useReducer(e,t,n)};xt.useRef=function(e){return di().useRef(e)};xt.useState=function(e){return di().useState(e)};xt.version="17.0.2";C.exports=xt;var w=C.exports,mD=oD({__proto__:null,default:w},[C.exports]),Oc={exports:{}},ro={},z4={exports:{}},j4={};/** @license React v0.20.2
 * scheduler.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.
 */(function(e){var t,n,r,o;if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var c=null,f=null,p=function(){if(c!==null)try{var H=e.unstable_now();c(!0,H),c=null}catch(q){throw setTimeout(p,0),q}};t=function(H){c!==null?setTimeout(t,0,H):(c=H,setTimeout(p,0))},n=function(H,q){f=setTimeout(H,q)},r=function(){clearTimeout(f)},e.unstable_shouldYield=function(){return!1},o=e.unstable_forceFrameRate=function(){}}else{var m=window.setTimeout,h=window.clearTimeout;if(typeof console!="undefined"){var x=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof x!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var E=!1,_=null,y=-1,v=5,b=0;e.unstable_shouldYield=function(){return e.unstable_now()>=b},o=function(){},e.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<H?Math.floor(1e3/H):5};var S=new MessageChannel,P=S.port2;S.port1.onmessage=function(){if(_!==null){var H=e.unstable_now();b=H+v;try{_(!0,H)?P.postMessage(null):(E=!1,_=null)}catch(q){throw P.postMessage(null),q}}else E=!1},t=function(H){_=H,E||(E=!0,P.postMessage(null))},n=function(H,q){y=m(function(){H(e.unstable_now())},q)},r=function(){h(y),y=-1}}function A(H,q){var Z=H.length;H.push(q);e:for(;;){var ue=Z-1>>>1,K=H[ue];if(K!==void 0&&0<L(K,q))H[ue]=q,H[Z]=K,Z=ue;else break e}}function k(H){return H=H[0],H===void 0?null:H}function I(H){var q=H[0];if(q!==void 0){var Z=H.pop();if(Z!==q){H[0]=Z;e:for(var ue=0,K=H.length;ue<K;){var U=2*(ue+1)-1,Y=H[U],re=U+1,fe=H[re];if(Y!==void 0&&0>L(Y,Z))fe!==void 0&&0>L(fe,Y)?(H[ue]=fe,H[re]=Z,ue=re):(H[ue]=Y,H[U]=Z,ue=U);else if(fe!==void 0&&0>L(fe,Z))H[ue]=fe,H[re]=Z,ue=re;else break e}}return q}return null}function L(H,q){var Z=H.sortIndex-q.sortIndex;return Z!==0?Z:H.id-q.id}var N=[],B=[],V=1,ee=null,X=3,ie=!1,J=!1,G=!1;function j(H){for(var q=k(B);q!==null;){if(q.callback===null)I(B);else if(q.startTime<=H)I(B),q.sortIndex=q.expirationTime,A(N,q);else break;q=k(B)}}function te(H){if(G=!1,j(H),!J)if(k(N)!==null)J=!0,t(ne);else{var q=k(B);q!==null&&n(te,q.startTime-H)}}function ne(H,q){J=!1,G&&(G=!1,r()),ie=!0;var Z=X;try{for(j(q),ee=k(N);ee!==null&&(!(ee.expirationTime>q)||H&&!e.unstable_shouldYield());){var ue=ee.callback;if(typeof ue=="function"){ee.callback=null,X=ee.priorityLevel;var K=ue(ee.expirationTime<=q);q=e.unstable_now(),typeof K=="function"?ee.callback=K:ee===k(N)&&I(N),j(q)}else I(N);ee=k(N)}if(ee!==null)var U=!0;else{var Y=k(B);Y!==null&&n(te,Y.startTime-q),U=!1}return U}finally{ee=null,X=Z,ie=!1}}var me=o;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(H){H.callback=null},e.unstable_continueExecution=function(){J||ie||(J=!0,t(ne))},e.unstable_getCurrentPriorityLevel=function(){return X},e.unstable_getFirstCallbackNode=function(){return k(N)},e.unstable_next=function(H){switch(X){case 1:case 2:case 3:var q=3;break;default:q=X}var Z=X;X=q;try{return H()}finally{X=Z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=me,e.unstable_runWithPriority=function(H,q){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var Z=X;X=H;try{return q()}finally{X=Z}},e.unstable_scheduleCallback=function(H,q,Z){var ue=e.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?ue+Z:ue):Z=ue,H){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=Z+K,H={id:V++,callback:q,priorityLevel:H,startTime:Z,expirationTime:K,sortIndex:-1},Z>ue?(H.sortIndex=Z,A(B,H),k(N)===null&&H===k(B)&&(G?r():G=!0,n(te,Z-ue))):(H.sortIndex=K,A(N,H),J||ie||(J=!0,t(ne))),H},e.unstable_wrapCallback=function(H){var q=X;return function(){var Z=X;X=q;try{return H.apply(this,arguments)}finally{X=Z}}}})(j4);z4.exports=j4;/** @license React v17.0.2
 * 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 wp=C.exports,en=P4,Pn=z4.exports;function ve(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!wp)throw Error(ve(227));var W4=new Set,ec={};function za(e,t){Gs(e,t),Gs(e+"Capture",t)}function Gs(e,t){for(ec[e]=t,e=0;e<t.length;e++)W4.add(t[e])}var ui=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),vD=/^[: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]*$/,xC=Object.prototype.hasOwnProperty,bC={},_C={};function yD(e){return xC.call(_C,e)?!0:xC.call(bC,e)?!1:vD.test(e)?_C[e]=!0:(bC[e]=!0,!1)}function xD(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function bD(e,t,n,r){if(t===null||typeof t=="undefined"||xD(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 Jn(e,t,n,r,o,a,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=l}var Mn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Mn[e]=new Jn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Mn[t]=new Jn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Mn[e]=new Jn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Mn[e]=new Jn(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){Mn[e]=new Jn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Mn[e]=new Jn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Mn[e]=new Jn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Mn[e]=new Jn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Mn[e]=new Jn(e,5,!1,e.toLowerCase(),null,!1,!1)});var D0=/[\-:]([a-z])/g;function B0(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(D0,B0);Mn[t]=new Jn(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(D0,B0);Mn[t]=new Jn(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(D0,B0);Mn[t]=new Jn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Mn[e]=new Jn(e,1,!1,e.toLowerCase(),null,!1,!1)});Mn.xlinkHref=new Jn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Mn[e]=new Jn(e,1,!1,e.toLowerCase(),null,!0,!0)});function F0(e,t,n,r){var o=Mn.hasOwnProperty(t)?Mn[t]:null,a=o!==null?o.type===0:r?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");a||(bD(t,n,o,r)&&(n=null),r||o===null?yD(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var ja=wp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Eu=60103,_a=60106,$i=60107,U0=60108,Au=60114,z0=60109,j0=60110,Sp=60112,Lu=60113,Nf=60120,$p=60115,W0=60116,H0=60121,V0=60128,H4=60129,G0=60130,pv=60131;if(typeof Symbol=="function"&&Symbol.for){var wn=Symbol.for;Eu=wn("react.element"),_a=wn("react.portal"),$i=wn("react.fragment"),U0=wn("react.strict_mode"),Au=wn("react.profiler"),z0=wn("react.provider"),j0=wn("react.context"),Sp=wn("react.forward_ref"),Lu=wn("react.suspense"),Nf=wn("react.suspense_list"),$p=wn("react.memo"),W0=wn("react.lazy"),H0=wn("react.block"),wn("react.scope"),V0=wn("react.opaque.id"),H4=wn("react.debug_trace_mode"),G0=wn("react.offscreen"),pv=wn("react.legacy_hidden")}var CC=typeof Symbol=="function"&&Symbol.iterator;function Ql(e){return e===null||typeof e!="object"?null:(e=CC&&e[CC]||e["@@iterator"],typeof e=="function"?e:null)}var fm;function wu(e){if(fm===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);fm=t&&t[1]||""}return`
`+fm+e}var pm=!1;function Hd(e,t){if(!e||pm)return"";pm=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
`),a=r.stack.split(`
`),l=o.length-1,u=a.length-1;1<=l&&0<=u&&o[l]!==a[u];)u--;for(;1<=l&&0<=u;l--,u--)if(o[l]!==a[u]){if(l!==1||u!==1)do if(l--,u--,0>u||o[l]!==a[u])return`
`+o[l].replace(" at new "," at ");while(1<=l&&0<=u);break}}}finally{pm=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?wu(e):""}function _D(e){switch(e.tag){case 5:return wu(e.type);case 16:return wu("Lazy");case 13:return wu("Suspense");case 19:return wu("SuspenseList");case 0:case 2:case 15:return e=Hd(e.type,!1),e;case 11:return e=Hd(e.type.render,!1),e;case 22:return e=Hd(e.type._render,!1),e;case 1:return e=Hd(e.type,!0),e;default:return""}}function Ts(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 _a:return"Portal";case Au:return"Profiler";case U0:return"StrictMode";case Lu:return"Suspense";case Nf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j0:return(e.displayName||"Context")+".Consumer";case z0:return(e._context.displayName||"Context")+".Provider";case Sp:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case $p:return Ts(e.type);case H0:return Ts(e._render);case W0:t=e._payload,e=e._init;try{return Ts(e(t))}catch{}}return null}function zi(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function V4(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function CD(e){var t=V4(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,a.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Vd(e){e._valueTracker||(e._valueTracker=CD(e))}function G4(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V4(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Df(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function hv(e,t){var n=t.checked;return en({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function EC(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=zi(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function K4(e,t){t=t.checked,t!=null&&F0(e,"checked",t,!1)}function gv(e,t){K4(e,t);var n=zi(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?mv(e,t.type,n):t.hasOwnProperty("defaultValue")&&mv(e,t.type,zi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function wC(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function mv(e,t,n){(t!=="number"||Df(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ED(e){var t="";return wp.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function vv(e,t){return e=en({children:void 0},t),(t=ED(t.children))&&(e.children=t),e}function Is(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+zi(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function yv(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(ve(91));return en({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function SC(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(ve(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(ve(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:zi(n)}}function q4(e,t){var n=zi(t.value),r=zi(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function $C(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var xv={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Y4(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function bv(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Y4(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Gd,X4=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!==xv.svg||"innerHTML"in e)e.innerHTML=t;else{for(Gd=Gd||document.createElement("div"),Gd.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Gd.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function tc(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Mu={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},wD=["Webkit","ms","Moz","O"];Object.keys(Mu).forEach(function(e){wD.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Mu[t]=Mu[e]})});function Q4(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Mu.hasOwnProperty(e)&&Mu[e]?(""+t).trim():t+"px"}function Z4(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Q4(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var SD=en({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 _v(e,t){if(t){if(SD[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ve(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ve(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(ve(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ve(62))}}function Cv(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}}function K0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ev=null,Os=null,ks=null;function PC(e){if(e=Ac(e)){if(typeof Ev!="function")throw Error(ve(280));var t=e.stateNode;t&&(t=kp(t),Ev(e.stateNode,e.type,t))}}function J4(e){Os?ks?ks.push(e):ks=[e]:Os=e}function e2(){if(Os){var e=Os,t=ks;if(ks=Os=null,PC(e),t)for(e=0;e<t.length;e++)PC(t[e])}}function q0(e,t){return e(t)}function t2(e,t,n,r,o){return e(t,n,r,o)}function Y0(){}var n2=q0,Ca=!1,hm=!1;function X0(){(Os!==null||ks!==null)&&(Y0(),e2())}function $D(e,t,n){if(hm)return e(t,n);hm=!0;try{return n2(e,t,n)}finally{hm=!1,X0()}}function nc(e,t){var n=e.stateNode;if(n===null)return null;var r=kp(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(ve(231,t,typeof n));return n}var wv=!1;if(ui)try{var Zl={};Object.defineProperty(Zl,"passive",{get:function(){wv=!0}}),window.addEventListener("test",Zl,Zl),window.removeEventListener("test",Zl,Zl)}catch{wv=!1}function PD(e,t,n,r,o,a,l,u,c){var f=Array.prototype.slice.call(arguments,3);try{t.apply(n,f)}catch(p){this.onError(p)}}var Nu=!1,Bf=null,Ff=!1,Sv=null,RD={onError:function(e){Nu=!0,Bf=e}};function TD(e,t,n,r,o,a,l,u,c){Nu=!1,Bf=null,PD.apply(RD,arguments)}function ID(e,t,n,r,o,a,l,u,c){if(TD.apply(this,arguments),Nu){if(Nu){var f=Bf;Nu=!1,Bf=null}else throw Error(ve(198));Ff||(Ff=!0,Sv=f)}}function Wa(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&1026)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function r2(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function RC(e){if(Wa(e)!==e)throw Error(ve(188))}function OD(e){var t=e.alternate;if(!t){if(t=Wa(e),t===null)throw Error(ve(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var a=o.alternate;if(a===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return RC(o),e;if(a===r)return RC(o),t;a=a.sibling}throw Error(ve(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=a;break}if(u===r){l=!0,r=o,n=a;break}u=u.sibling}if(!l){for(u=a.child;u;){if(u===n){l=!0,n=a,r=o;break}if(u===r){l=!0,r=a,n=o;break}u=u.sibling}if(!l)throw Error(ve(189))}}if(n.alternate!==r)throw Error(ve(190))}if(n.tag!==3)throw Error(ve(188));return n.stateNode.current===n?e:t}function o2(e){if(e=OD(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function TC(e,t){for(var n=e.alternate;t!==null;){if(t===e||t===n)return!0;t=t.return}return!1}var i2,Q0,a2,s2,$v=!1,Lo=[],ki=null,Ai=null,Li=null,rc=new Map,oc=new Map,Jl=[],IC="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Pv(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:n|16,nativeEvent:o,targetContainers:[r]}}function OC(e,t){switch(e){case"focusin":case"focusout":ki=null;break;case"dragenter":case"dragleave":Ai=null;break;case"mouseover":case"mouseout":Li=null;break;case"pointerover":case"pointerout":rc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":oc.delete(t.pointerId)}}function eu(e,t,n,r,o,a){return e===null||e.nativeEvent!==a?(e=Pv(t,n,r,o,a),t!==null&&(t=Ac(t),t!==null&&Q0(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function kD(e,t,n,r,o){switch(t){case"focusin":return ki=eu(ki,e,t,n,r,o),!0;case"dragenter":return Ai=eu(Ai,e,t,n,r,o),!0;case"mouseover":return Li=eu(Li,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return rc.set(a,eu(rc.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,oc.set(a,eu(oc.get(a)||null,e,t,n,r,o)),!0}return!1}function AD(e){var t=Ea(e.target);if(t!==null){var n=Wa(t);if(n!==null){if(t=n.tag,t===13){if(t=r2(n),t!==null){e.blockedOn=t,s2(e.lanePriority,function(){Pn.unstable_runWithPriority(e.priority,function(){a2(n)})});return}}else if(t===3&&n.stateNode.hydrate){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function mf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=t1(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null)return t=Ac(n),t!==null&&Q0(t),e.blockedOn=n,!1;t.shift()}return!0}function kC(e,t,n){mf(e)&&n.delete(t)}function LD(){for($v=!1;0<Lo.length;){var e=Lo[0];if(e.blockedOn!==null){e=Ac(e.blockedOn),e!==null&&i2(e);break}for(var t=e.targetContainers;0<t.length;){var n=t1(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null){e.blockedOn=n;break}t.shift()}e.blockedOn===null&&Lo.shift()}ki!==null&&mf(ki)&&(ki=null),Ai!==null&&mf(Ai)&&(Ai=null),Li!==null&&mf(Li)&&(Li=null),rc.forEach(kC),oc.forEach(kC)}function tu(e,t){e.blockedOn===t&&(e.blockedOn=null,$v||($v=!0,Pn.unstable_scheduleCallback(Pn.unstable_NormalPriority,LD)))}function l2(e){function t(o){return tu(o,e)}if(0<Lo.length){tu(Lo[0],e);for(var n=1;n<Lo.length;n++){var r=Lo[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ki!==null&&tu(ki,e),Ai!==null&&tu(Ai,e),Li!==null&&tu(Li,e),rc.forEach(t),oc.forEach(t),n=0;n<Jl.length;n++)r=Jl[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Jl.length&&(n=Jl[0],n.blockedOn===null);)AD(n),n.blockedOn===null&&Jl.shift()}function Kd(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Cs={animationend:Kd("Animation","AnimationEnd"),animationiteration:Kd("Animation","AnimationIteration"),animationstart:Kd("Animation","AnimationStart"),transitionend:Kd("Transition","TransitionEnd")},gm={},u2={};ui&&(u2=document.createElement("div").style,"AnimationEvent"in window||(delete Cs.animationend.animation,delete Cs.animationiteration.animation,delete Cs.animationstart.animation),"TransitionEvent"in window||delete Cs.transitionend.transition);function Pp(e){if(gm[e])return gm[e];if(!Cs[e])return e;var t=Cs[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in u2)return gm[e]=t[n];return e}var c2=Pp("animationend"),d2=Pp("animationiteration"),f2=Pp("animationstart"),p2=Pp("transitionend"),h2=new Map,Z0=new Map,MD=["abort","abort",c2,"animationEnd",d2,"animationIteration",f2,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",p2,"transitionEnd","waiting","waiting"];function J0(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Z0.set(r,t),h2.set(r,o),za(o,[r])}}var ND=Pn.unstable_now;ND();var Ht=8;function ys(e){if((1&e)!==0)return Ht=15,1;if((2&e)!==0)return Ht=14,2;if((4&e)!==0)return Ht=13,4;var t=24&e;return t!==0?(Ht=12,t):(e&32)!==0?(Ht=11,32):(t=192&e,t!==0?(Ht=10,t):(e&256)!==0?(Ht=9,256):(t=3584&e,t!==0?(Ht=8,t):(e&4096)!==0?(Ht=7,4096):(t=4186112&e,t!==0?(Ht=6,t):(t=62914560&e,t!==0?(Ht=5,t):e&67108864?(Ht=4,67108864):(e&134217728)!==0?(Ht=3,134217728):(t=805306368&e,t!==0?(Ht=2,t):(1073741824&e)!==0?(Ht=1,1073741824):(Ht=8,e))))))}function DD(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function BD(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(ve(358,e))}}function ic(e,t){var n=e.pendingLanes;if(n===0)return Ht=0;var r=0,o=0,a=e.expiredLanes,l=e.suspendedLanes,u=e.pingedLanes;if(a!==0)r=a,o=Ht=15;else if(a=n&134217727,a!==0){var c=a&~l;c!==0?(r=ys(c),o=Ht):(u&=a,u!==0&&(r=ys(u),o=Ht))}else a=n&~l,a!==0?(r=ys(a),o=Ht):u!==0&&(r=ys(u),o=Ht);if(r===0)return 0;if(r=31-ji(r),r=n&((0>r?0:1<<r)<<1)-1,t!==0&&t!==r&&(t&l)===0){if(ys(t),o<=Ht)return t;Ht=o}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ji(t),o=1<<n,r|=e[n],t&=~o;return r}function g2(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Uf(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=xs(24&~t),e===0?Uf(10,t):e;case 10:return e=xs(192&~t),e===0?Uf(8,t):e;case 8:return e=xs(3584&~t),e===0&&(e=xs(4186112&~t),e===0&&(e=512)),e;case 2:return t=xs(805306368&~t),t===0&&(t=268435456),t}throw Error(ve(358,e))}function xs(e){return e&-e}function mm(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Rp(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,e=e.eventTimes,t=31-ji(t),e[t]=n}var ji=Math.clz32?Math.clz32:zD,FD=Math.log,UD=Math.LN2;function zD(e){return e===0?32:31-(FD(e)/UD|0)|0}var jD=Pn.unstable_UserBlockingPriority,WD=Pn.unstable_runWithPriority,vf=!0;function HD(e,t,n,r){Ca||Y0();var o=e1,a=Ca;Ca=!0;try{t2(o,e,t,n,r)}finally{(Ca=a)||X0()}}function VD(e,t,n,r){WD(jD,e1.bind(null,e,t,n,r))}function e1(e,t,n,r){if(vf){var o;if((o=(t&4)===0)&&0<Lo.length&&-1<IC.indexOf(e))e=Pv(null,e,t,n,r),Lo.push(e);else{var a=t1(e,t,n,r);if(a===null)o&&OC(e,r);else{if(o){if(-1<IC.indexOf(e)){e=Pv(a,e,t,n,r),Lo.push(e);return}if(kD(a,e,t,n,r))return;OC(e,r)}R2(e,t,r,null,n)}}}}function t1(e,t,n,r){var o=K0(r);if(o=Ea(o),o!==null){var a=Wa(o);if(a===null)o=null;else{var l=a.tag;if(l===13){if(o=r2(a),o!==null)return o;o=null}else if(l===3){if(a.stateNode.hydrate)return a.tag===3?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return R2(e,t,r,o,n),null}var Ri=null,n1=null,yf=null;function m2(){if(yf)return yf;var e,t=n1,n=t.length,r,o="value"in Ri?Ri.value:Ri.textContent,a=o.length;for(e=0;e<n&&t[e]===o[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===o[a-r];r++);return yf=o.slice(e,1<r?1-r:void 0)}function xf(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function qd(){return!0}function AC(){return!1}function Or(e){function t(n,r,o,a,l){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=a,this.target=l,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(a):a[u]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?qd:AC,this.isPropagationStopped=AC,this}return en(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=qd)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=qd)},persist:function(){},isPersistent:qd}),t}var cl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},r1=Or(cl),kc=en({},cl,{view:0,detail:0}),GD=Or(kc),vm,ym,nu,Tp=en({},kc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:o1,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==nu&&(nu&&e.type==="mousemove"?(vm=e.screenX-nu.screenX,ym=e.screenY-nu.screenY):ym=vm=0,nu=e),vm)},movementY:function(e){return"movementY"in e?e.movementY:ym}}),LC=Or(Tp),KD=en({},Tp,{dataTransfer:0}),qD=Or(KD),YD=en({},kc,{relatedTarget:0}),xm=Or(YD),XD=en({},cl,{animationName:0,elapsedTime:0,pseudoElement:0}),QD=Or(XD),ZD=en({},cl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),JD=Or(ZD),eB=en({},cl,{data:0}),MC=Or(eB),tB={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nB={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rB={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function oB(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=rB[e])?!!t[e]:!1}function o1(){return oB}var iB=en({},kc,{key:function(e){if(e.key){var t=tB[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=xf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?nB[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:o1,charCode:function(e){return e.type==="keypress"?xf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?xf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),aB=Or(iB),sB=en({},Tp,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),NC=Or(sB),lB=en({},kc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:o1}),uB=Or(lB),cB=en({},cl,{propertyName:0,elapsedTime:0,pseudoElement:0}),dB=Or(cB),fB=en({},Tp,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),pB=Or(fB),hB=[9,13,27,32],i1=ui&&"CompositionEvent"in window,Du=null;ui&&"documentMode"in document&&(Du=document.documentMode);var gB=ui&&"TextEvent"in window&&!Du,v2=ui&&(!i1||Du&&8<Du&&11>=Du),DC=String.fromCharCode(32),BC=!1;function y2(e,t){switch(e){case"keyup":return hB.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function x2(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Es=!1;function mB(e,t){switch(e){case"compositionend":return x2(t);case"keypress":return t.which!==32?null:(BC=!0,DC);case"textInput":return e=t.data,e===DC&&BC?null:e;default:return null}}function vB(e,t){if(Es)return e==="compositionend"||!i1&&y2(e,t)?(e=m2(),yf=n1=Ri=null,Es=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return v2&&t.locale!=="ko"?null:t.data;default:return null}}var yB={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function FC(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!yB[e.type]:t==="textarea"}function b2(e,t,n,r){J4(r),t=zf(t,"onChange"),0<t.length&&(n=new r1("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bu=null,ac=null;function xB(e){S2(e,0)}function Ip(e){var t=Ss(e);if(G4(t))return e}function bB(e,t){if(e==="change")return t}var _2=!1;if(ui){var bm;if(ui){var _m="oninput"in document;if(!_m){var UC=document.createElement("div");UC.setAttribute("oninput","return;"),_m=typeof UC.oninput=="function"}bm=_m}else bm=!1;_2=bm&&(!document.documentMode||9<document.documentMode)}function zC(){Bu&&(Bu.detachEvent("onpropertychange",C2),ac=Bu=null)}function C2(e){if(e.propertyName==="value"&&Ip(ac)){var t=[];if(b2(t,ac,e,K0(e)),e=xB,Ca)e(t);else{Ca=!0;try{q0(e,t)}finally{Ca=!1,X0()}}}}function _B(e,t,n){e==="focusin"?(zC(),Bu=t,ac=n,Bu.attachEvent("onpropertychange",C2)):e==="focusout"&&zC()}function CB(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ip(ac)}function EB(e,t){if(e==="click")return Ip(t)}function wB(e,t){if(e==="input"||e==="change")return Ip(t)}function SB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Gr=typeof Object.is=="function"?Object.is:SB,$B=Object.prototype.hasOwnProperty;function sc(e,t){if(Gr(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!$B.call(t,n[r])||!Gr(e[n[r]],t[n[r]]))return!1;return!0}function jC(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function WC(e,t){var n=jC(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=jC(n)}}function E2(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?E2(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function HC(){for(var e=window,t=Df();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Df(e.document)}return t}function Rv(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")}var PB=ui&&"documentMode"in document&&11>=document.documentMode,ws=null,Tv=null,Fu=null,Iv=!1;function VC(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Iv||ws==null||ws!==Df(r)||(r=ws,"selectionStart"in r&&Rv(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Fu&&sc(Fu,r)||(Fu=r,r=zf(Tv,"onSelect"),0<r.length&&(t=new r1("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ws)))}J0("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);J0("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);J0(MD,2);for(var GC="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Cm=0;Cm<GC.length;Cm++)Z0.set(GC[Cm],0);Gs("onMouseEnter",["mouseout","mouseover"]);Gs("onMouseLeave",["mouseout","mouseover"]);Gs("onPointerEnter",["pointerout","pointerover"]);Gs("onPointerLeave",["pointerout","pointerover"]);za("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));za("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));za("onBeforeInput",["compositionend","keypress","textInput","paste"]);za("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));za("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));za("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Su="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),w2=new Set("cancel close invalid load scroll toggle".split(" ").concat(Su));function KC(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,ID(r,t,void 0,e),e.currentTarget=null}function S2(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var l=r.length-1;0<=l;l--){var u=r[l],c=u.instance,f=u.currentTarget;if(u=u.listener,c!==a&&o.isPropagationStopped())break e;KC(o,u,f),a=c}else for(l=0;l<r.length;l++){if(u=r[l],c=u.instance,f=u.currentTarget,u=u.listener,c!==a&&o.isPropagationStopped())break e;KC(o,u,f),a=c}}}if(Ff)throw e=Sv,Ff=!1,Sv=null,e}function Kt(e,t){var n=I2(t),r=e+"__bubble";n.has(r)||(P2(t,e,2,!1),n.add(r))}var qC="_reactListening"+Math.random().toString(36).slice(2);function $2(e){e[qC]||(e[qC]=!0,W4.forEach(function(t){w2.has(t)||YC(t,!1,e,null),YC(t,!0,e,null)}))}function YC(e,t,n,r){var o=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,a=n;if(e==="selectionchange"&&n.nodeType!==9&&(a=n.ownerDocument),r!==null&&!t&&w2.has(e)){if(e!=="scroll")return;o|=2,a=r}var l=I2(a),u=e+"__"+(t?"capture":"bubble");l.has(u)||(t&&(o|=4),P2(a,e,o,t),l.add(u))}function P2(e,t,n,r){var o=Z0.get(t);switch(o===void 0?2:o){case 0:o=HD;break;case 1:o=VD;break;default:o=e1}n=o.bind(null,t,n,e),o=void 0,!wv||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function R2(e,t,n,r,o){var a=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var u=r.stateNode.containerInfo;if(u===o||u.nodeType===8&&u.parentNode===o)break;if(l===4)for(l=r.return;l!==null;){var c=l.tag;if((c===3||c===4)&&(c=l.stateNode.containerInfo,c===o||c.nodeType===8&&c.parentNode===o))return;l=l.return}for(;u!==null;){if(l=Ea(u),l===null)return;if(c=l.tag,c===5||c===6){r=a=l;continue e}u=u.parentNode}}r=r.return}$D(function(){var f=a,p=K0(n),m=[];e:{var h=h2.get(e);if(h!==void 0){var x=r1,E=e;switch(e){case"keypress":if(xf(n)===0)break e;case"keydown":case"keyup":x=aB;break;case"focusin":E="focus",x=xm;break;case"focusout":E="blur",x=xm;break;case"beforeblur":case"afterblur":x=xm;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=LC;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=qD;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=uB;break;case c2:case d2:case f2:x=QD;break;case p2:x=dB;break;case"scroll":x=GD;break;case"wheel":x=pB;break;case"copy":case"cut":case"paste":x=JD;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=NC}var _=(t&4)!==0,y=!_&&e==="scroll",v=_?h!==null?h+"Capture":null:h;_=[];for(var b=f,S;b!==null;){S=b;var P=S.stateNode;if(S.tag===5&&P!==null&&(S=P,v!==null&&(P=nc(b,v),P!=null&&_.push(lc(b,P,S)))),y)break;b=b.return}0<_.length&&(h=new x(h,E,null,n,p),m.push({event:h,listeners:_}))}}if((t&7)===0){e:{if(h=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",h&&(t&16)===0&&(E=n.relatedTarget||n.fromElement)&&(Ea(E)||E[dl]))break e;if((x||h)&&(h=p.window===p?p:(h=p.ownerDocument)?h.defaultView||h.parentWindow:window,x?(E=n.relatedTarget||n.toElement,x=f,E=E?Ea(E):null,E!==null&&(y=Wa(E),E!==y||E.tag!==5&&E.tag!==6)&&(E=null)):(x=null,E=f),x!==E)){if(_=LC,P="onMouseLeave",v="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(_=NC,P="onPointerLeave",v="onPointerEnter",b="pointer"),y=x==null?h:Ss(x),S=E==null?h:Ss(E),h=new _(P,b+"leave",x,n,p),h.target=y,h.relatedTarget=S,P=null,Ea(p)===f&&(_=new _(v,b+"enter",E,n,p),_.target=S,_.relatedTarget=y,P=_),y=P,x&&E)t:{for(_=x,v=E,b=0,S=_;S;S=ls(S))b++;for(S=0,P=v;P;P=ls(P))S++;for(;0<b-S;)_=ls(_),b--;for(;0<S-b;)v=ls(v),S--;for(;b--;){if(_===v||v!==null&&_===v.alternate)break t;_=ls(_),v=ls(v)}_=null}else _=null;x!==null&&XC(m,h,x,_,!1),E!==null&&y!==null&&XC(m,y,E,_,!0)}}e:{if(h=f?Ss(f):window,x=h.nodeName&&h.nodeName.toLowerCase(),x==="select"||x==="input"&&h.type==="file")var A=bB;else if(FC(h))if(_2)A=wB;else{A=CB;var k=_B}else(x=h.nodeName)&&x.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(A=EB);if(A&&(A=A(e,f))){b2(m,A,n,p);break e}k&&k(e,h,f),e==="focusout"&&(k=h._wrapperState)&&k.controlled&&h.type==="number"&&mv(h,"number",h.value)}switch(k=f?Ss(f):window,e){case"focusin":(FC(k)||k.contentEditable==="true")&&(ws=k,Tv=f,Fu=null);break;case"focusout":Fu=Tv=ws=null;break;case"mousedown":Iv=!0;break;case"contextmenu":case"mouseup":case"dragend":Iv=!1,VC(m,n,p);break;case"selectionchange":if(PB)break;case"keydown":case"keyup":VC(m,n,p)}var I;if(i1)e:{switch(e){case"compositionstart":var L="onCompositionStart";break e;case"compositionend":L="onCompositionEnd";break e;case"compositionupdate":L="onCompositionUpdate";break e}L=void 0}else Es?y2(e,n)&&(L="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(L="onCompositionStart");L&&(v2&&n.locale!=="ko"&&(Es||L!=="onCompositionStart"?L==="onCompositionEnd"&&Es&&(I=m2()):(Ri=p,n1="value"in Ri?Ri.value:Ri.textContent,Es=!0)),k=zf(f,L),0<k.length&&(L=new MC(L,e,null,n,p),m.push({event:L,listeners:k}),I?L.data=I:(I=x2(n),I!==null&&(L.data=I)))),(I=gB?mB(e,n):vB(e,n))&&(f=zf(f,"onBeforeInput"),0<f.length&&(p=new MC("onBeforeInput","beforeinput",null,n,p),m.push({event:p,listeners:f}),p.data=I))}S2(m,t)})}function lc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function zf(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,a=o.stateNode;o.tag===5&&a!==null&&(o=a,a=nc(e,n),a!=null&&r.unshift(lc(e,a,o)),a=nc(e,t),a!=null&&r.push(lc(e,a,o))),e=e.return}return r}function ls(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function XC(e,t,n,r,o){for(var a=t._reactName,l=[];n!==null&&n!==r;){var u=n,c=u.alternate,f=u.stateNode;if(c!==null&&c===r)break;u.tag===5&&f!==null&&(u=f,o?(c=nc(n,a),c!=null&&l.unshift(lc(n,c,u))):o||(c=nc(n,a),c!=null&&l.push(lc(n,c,u)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}function jf(){}var Em=null,wm=null;function T2(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Ov(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var QC=typeof setTimeout=="function"?setTimeout:void 0,RB=typeof clearTimeout=="function"?clearTimeout:void 0;function a1(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function As(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function ZC(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Sm=0;function TB(e){return{$$typeof:V0,toString:e,valueOf:e}}var Op=Math.random().toString(36).slice(2),Ti="__reactFiber$"+Op,Wf="__reactProps$"+Op,dl="__reactContainer$"+Op,JC="__reactEvents$"+Op;function Ea(e){var t=e[Ti];if(t)return t;for(var n=e.parentNode;n;){if(t=n[dl]||n[Ti]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ZC(e);e!==null;){if(n=e[Ti])return n;e=ZC(e)}return t}e=n,n=e.parentNode}return null}function Ac(e){return e=e[Ti]||e[dl],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ss(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(ve(33))}function kp(e){return e[Wf]||null}function I2(e){var t=e[JC];return t===void 0&&(t=e[JC]=new Set),t}var kv=[],$s=-1;function Qi(e){return{current:e}}function Yt(e){0>$s||(e.current=kv[$s],kv[$s]=null,$s--)}function un(e,t){$s++,kv[$s]=e.current,e.current=t}var Wi={},Vn=Qi(Wi),cr=Qi(!1),Oa=Wi;function Ks(e,t){var n=e.type.contextTypes;if(!n)return Wi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in n)o[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function dr(e){return e=e.childContextTypes,e!=null}function Hf(){Yt(cr),Yt(Vn)}function eE(e,t,n){if(Vn.current!==Wi)throw Error(ve(168));un(Vn,t),un(cr,n)}function O2(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in e))throw Error(ve(108,Ts(t)||"Unknown",o));return en({},n,r)}function bf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wi,Oa=Vn.current,un(Vn,e),un(cr,cr.current),!0}function tE(e,t,n){var r=e.stateNode;if(!r)throw Error(ve(169));n?(e=O2(e,t,Oa),r.__reactInternalMemoizedMergedChildContext=e,Yt(cr),Yt(Vn),un(Vn,e)):Yt(cr),un(cr,n)}var s1=null,Ra=null,IB=Pn.unstable_runWithPriority,l1=Pn.unstable_scheduleCallback,Av=Pn.unstable_cancelCallback,OB=Pn.unstable_shouldYield,nE=Pn.unstable_requestPaint,Lv=Pn.unstable_now,kB=Pn.unstable_getCurrentPriorityLevel,Ap=Pn.unstable_ImmediatePriority,k2=Pn.unstable_UserBlockingPriority,A2=Pn.unstable_NormalPriority,L2=Pn.unstable_LowPriority,M2=Pn.unstable_IdlePriority,$m={},AB=nE!==void 0?nE:function(){},ni=null,_f=null,Pm=!1,rE=Lv(),Wn=1e4>rE?Lv:function(){return Lv()-rE};function qs(){switch(kB()){case Ap:return 99;case k2:return 98;case A2:return 97;case L2:return 96;case M2:return 95;default:throw Error(ve(332))}}function N2(e){switch(e){case 99:return Ap;case 98:return k2;case 97:return A2;case 96:return L2;case 95:return M2;default:throw Error(ve(332))}}function ka(e,t){return e=N2(e),IB(e,t)}function uc(e,t,n){return e=N2(e),l1(e,t,n)}function Ho(){if(_f!==null){var e=_f;_f=null,Av(e)}D2()}function D2(){if(!Pm&&ni!==null){Pm=!0;var e=0;try{var t=ni;ka(99,function(){for(;e<t.length;e++){var n=t[e];do n=n(!0);while(n!==null)}}),ni=null}catch(n){throw ni!==null&&(ni=ni.slice(e+1)),l1(Ap,Ho),n}finally{Pm=!1}}}var LB=ja.ReactCurrentBatchConfig;function mo(e,t){if(e&&e.defaultProps){t=en({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Vf=Qi(null),Gf=null,Ps=null,Kf=null;function u1(){Kf=Ps=Gf=null}function c1(e){var t=Vf.current;Yt(Vf),e.type._context._currentValue=t}function B2(e,t){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)===t){if(n===null||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,n!==null&&(n.childLanes|=t);e=e.return}}function Ls(e,t){Gf=e,Kf=Ps=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(yo=!0),e.firstContext=null)}function Jr(e,t){if(Kf!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(Kf=e,t=1073741823),t={context:e,observedBits:t,next:null},Ps===null){if(Gf===null)throw Error(ve(308));Ps=t,Gf.dependencies={lanes:0,firstContext:t,responders:null}}else Ps=Ps.next=t;return e._currentValue}var Si=!1;function d1(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function F2(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Mi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ni(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function oE(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?o=a=l:a=a.next=l,n=n.next}while(n!==null);a===null?o=a=t:a=a.next=t}else o=a=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function cc(e,t,n,r){var o=e.updateQueue;Si=!1;var a=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var c=u,f=c.next;c.next=null,l===null?a=f:l.next=f,l=c;var p=e.alternate;if(p!==null){p=p.updateQueue;var m=p.lastBaseUpdate;m!==l&&(m===null?p.firstBaseUpdate=f:m.next=f,p.lastBaseUpdate=c)}}if(a!==null){m=o.baseState,l=0,p=f=c=null;do{u=a.lane;var h=a.eventTime;if((r&u)===u){p!==null&&(p=p.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,E=a;switch(u=t,h=n,E.tag){case 1:if(x=E.payload,typeof x=="function"){m=x.call(h,m,u);break e}m=x;break e;case 3:x.flags=x.flags&-4097|64;case 0:if(x=E.payload,u=typeof x=="function"?x.call(h,m,u):x,u==null)break e;m=en({},m,u);break e;case 2:Si=!0}}a.callback!==null&&(e.flags|=32,u=o.effects,u===null?o.effects=[a]:u.push(a))}else h={eventTime:h,lane:u,tag:a.tag,payload:a.payload,callback:a.callback,next:null},p===null?(f=p=h,c=m):p=p.next=h,l|=u;if(a=a.next,a===null){if(u=o.shared.pending,u===null)break;a=u.next,u.next=null,o.lastBaseUpdate=u,o.shared.pending=null}}while(1);p===null&&(c=m),o.baseState=c,o.firstBaseUpdate=f,o.lastBaseUpdate=p,Mc|=l,e.lanes=l,e.memoizedState=m}}function iE(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(ve(191,o));o.call(r)}}}var U2=new wp.Component().refs;function qf(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:en({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Lp={isMounted:function(e){return(e=e._reactInternals)?Wa(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Pr(),o=Di(e),a=Mi(r,o);a.payload=t,n!=null&&(a.callback=n),Ni(e,a),Bi(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Pr(),o=Di(e),a=Mi(r,o);a.tag=1,a.payload=t,n!=null&&(a.callback=n),Ni(e,a),Bi(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Pr(),r=Di(e),o=Mi(n,r);o.tag=2,t!=null&&(o.callback=t),Ni(e,o),Bi(e,r,n)}};function aE(e,t,n,r,o,a,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,l):t.prototype&&t.prototype.isPureReactComponent?!sc(n,r)||!sc(o,a):!0}function z2(e,t,n){var r=!1,o=Wi,a=t.contextType;return typeof a=="object"&&a!==null?a=Jr(a):(o=dr(t)?Oa:Vn.current,r=t.contextTypes,a=(r=r!=null)?Ks(e,o):Wi),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Lp,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function sE(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Lp.enqueueReplaceState(t,t.state,null)}function Mv(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=U2,d1(e);var a=t.contextType;typeof a=="object"&&a!==null?o.context=Jr(a):(a=dr(t)?Oa:Vn.current,o.context=Ks(e,a)),cc(e,n,o,r),o.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(qf(e,t,a,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Lp.enqueueReplaceState(o,o.state,null),cc(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4)}var Yd=Array.isArray;function ru(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(ve(309));var r=n.stateNode}if(!r)throw Error(ve(147,e));var o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(a){var l=r.refs;l===U2&&(l=r.refs={}),a===null?delete l[o]:l[o]=a},t._stringRef=o,t)}if(typeof e!="string")throw Error(ve(284));if(!n._owner)throw Error(ve(290,e))}return e}function Xd(e,t){if(e.type!=="textarea")throw Error(ve(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function j2(e){function t(y,v){if(e){var b=y.lastEffect;b!==null?(b.nextEffect=v,y.lastEffect=v):y.firstEffect=y.lastEffect=v,v.nextEffect=null,v.flags=8}}function n(y,v){if(!e)return null;for(;v!==null;)t(y,v),v=v.sibling;return null}function r(y,v){for(y=new Map;v!==null;)v.key!==null?y.set(v.key,v):y.set(v.index,v),v=v.sibling;return y}function o(y,v){return y=Vi(y,v),y.index=0,y.sibling=null,y}function a(y,v,b){return y.index=b,e?(b=y.alternate,b!==null?(b=b.index,b<v?(y.flags=2,v):b):(y.flags=2,v)):v}function l(y){return e&&y.alternate===null&&(y.flags=2),y}function u(y,v,b,S){return v===null||v.tag!==6?(v=km(b,y.mode,S),v.return=y,v):(v=o(v,b),v.return=y,v)}function c(y,v,b,S){return v!==null&&v.elementType===b.type?(S=o(v,b.props),S.ref=ru(y,v,b),S.return=y,S):(S=Sf(b.type,b.key,b.props,null,y.mode,S),S.ref=ru(y,v,b),S.return=y,S)}function f(y,v,b,S){return v===null||v.tag!==4||v.stateNode.containerInfo!==b.containerInfo||v.stateNode.implementation!==b.implementation?(v=Am(b,y.mode,S),v.return=y,v):(v=o(v,b.children||[]),v.return=y,v)}function p(y,v,b,S,P){return v===null||v.tag!==7?(v=Bs(b,y.mode,S,P),v.return=y,v):(v=o(v,b),v.return=y,v)}function m(y,v,b){if(typeof v=="string"||typeof v=="number")return v=km(""+v,y.mode,b),v.return=y,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Eu:return b=Sf(v.type,v.key,v.props,null,y.mode,b),b.ref=ru(y,null,v),b.return=y,b;case _a:return v=Am(v,y.mode,b),v.return=y,v}if(Yd(v)||Ql(v))return v=Bs(v,y.mode,b,null),v.return=y,v;Xd(y,v)}return null}function h(y,v,b,S){var P=v!==null?v.key:null;if(typeof b=="string"||typeof b=="number")return P!==null?null:u(y,v,""+b,S);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Eu:return b.key===P?b.type===$i?p(y,v,b.props.children,S,P):c(y,v,b,S):null;case _a:return b.key===P?f(y,v,b,S):null}if(Yd(b)||Ql(b))return P!==null?null:p(y,v,b,S,null);Xd(y,b)}return null}function x(y,v,b,S,P){if(typeof S=="string"||typeof S=="number")return y=y.get(b)||null,u(v,y,""+S,P);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Eu:return y=y.get(S.key===null?b:S.key)||null,S.type===$i?p(v,y,S.props.children,P,S.key):c(v,y,S,P);case _a:return y=y.get(S.key===null?b:S.key)||null,f(v,y,S,P)}if(Yd(S)||Ql(S))return y=y.get(b)||null,p(v,y,S,P,null);Xd(v,S)}return null}function E(y,v,b,S){for(var P=null,A=null,k=v,I=v=0,L=null;k!==null&&I<b.length;I++){k.index>I?(L=k,k=null):L=k.sibling;var N=h(y,k,b[I],S);if(N===null){k===null&&(k=L);break}e&&k&&N.alternate===null&&t(y,k),v=a(N,v,I),A===null?P=N:A.sibling=N,A=N,k=L}if(I===b.length)return n(y,k),P;if(k===null){for(;I<b.length;I++)k=m(y,b[I],S),k!==null&&(v=a(k,v,I),A===null?P=k:A.sibling=k,A=k);return P}for(k=r(y,k);I<b.length;I++)L=x(k,y,I,b[I],S),L!==null&&(e&&L.alternate!==null&&k.delete(L.key===null?I:L.key),v=a(L,v,I),A===null?P=L:A.sibling=L,A=L);return e&&k.forEach(function(B){return t(y,B)}),P}function _(y,v,b,S){var P=Ql(b);if(typeof P!="function")throw Error(ve(150));if(b=P.call(b),b==null)throw Error(ve(151));for(var A=P=null,k=v,I=v=0,L=null,N=b.next();k!==null&&!N.done;I++,N=b.next()){k.index>I?(L=k,k=null):L=k.sibling;var B=h(y,k,N.value,S);if(B===null){k===null&&(k=L);break}e&&k&&B.alternate===null&&t(y,k),v=a(B,v,I),A===null?P=B:A.sibling=B,A=B,k=L}if(N.done)return n(y,k),P;if(k===null){for(;!N.done;I++,N=b.next())N=m(y,N.value,S),N!==null&&(v=a(N,v,I),A===null?P=N:A.sibling=N,A=N);return P}for(k=r(y,k);!N.done;I++,N=b.next())N=x(k,y,I,N.value,S),N!==null&&(e&&N.alternate!==null&&k.delete(N.key===null?I:N.key),v=a(N,v,I),A===null?P=N:A.sibling=N,A=N);return e&&k.forEach(function(V){return t(y,V)}),P}return function(y,v,b,S){var P=typeof b=="object"&&b!==null&&b.type===$i&&b.key===null;P&&(b=b.props.children);var A=typeof b=="object"&&b!==null;if(A)switch(b.$$typeof){case Eu:e:{for(A=b.key,P=v;P!==null;){if(P.key===A){switch(P.tag){case 7:if(b.type===$i){n(y,P.sibling),v=o(P,b.props.children),v.return=y,y=v;break e}break;default:if(P.elementType===b.type){n(y,P.sibling),v=o(P,b.props),v.ref=ru(y,P,b),v.return=y,y=v;break e}}n(y,P);break}else t(y,P);P=P.sibling}b.type===$i?(v=Bs(b.props.children,y.mode,S,b.key),v.return=y,y=v):(S=Sf(b.type,b.key,b.props,null,y.mode,S),S.ref=ru(y,v,b),S.return=y,y=S)}return l(y);case _a:e:{for(P=b.key;v!==null;){if(v.key===P)if(v.tag===4&&v.stateNode.containerInfo===b.containerInfo&&v.stateNode.implementation===b.implementation){n(y,v.sibling),v=o(v,b.children||[]),v.return=y,y=v;break e}else{n(y,v);break}else t(y,v);v=v.sibling}v=Am(b,y.mode,S),v.return=y,y=v}return l(y)}if(typeof b=="string"||typeof b=="number")return b=""+b,v!==null&&v.tag===6?(n(y,v.sibling),v=o(v,b),v.return=y,y=v):(n(y,v),v=km(b,y.mode,S),v.return=y,y=v),l(y);if(Yd(b))return E(y,v,b,S);if(Ql(b))return _(y,v,b,S);if(A&&Xd(y,b),typeof b=="undefined"&&!P)switch(y.tag){case 1:case 22:case 0:case 11:case 15:throw Error(ve(152,Ts(y.type)||"Component"))}return n(y,v)}}var Yf=j2(!0),W2=j2(!1),Lc={},Bo=Qi(Lc),dc=Qi(Lc),fc=Qi(Lc);function wa(e){if(e===Lc)throw Error(ve(174));return e}function Nv(e,t){switch(un(fc,t),un(dc,e),un(Bo,Lc),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:bv(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=bv(t,e)}Yt(Bo),un(Bo,t)}function Ys(){Yt(Bo),Yt(dc),Yt(fc)}function lE(e){wa(fc.current);var t=wa(Bo.current),n=bv(t,e.type);t!==n&&(un(dc,e),un(Bo,n))}function f1(e){dc.current===e&&(Yt(Bo),Yt(dc))}var ln=Qi(0);function Xf(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!==0)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 ii=null,Ii=null,Fo=!1;function H2(e,t){var n=Kr(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function uE(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function Dv(e){if(Fo){var t=Ii;if(t){var n=t;if(!uE(e,t)){if(t=As(n.nextSibling),!t||!uE(e,t)){e.flags=e.flags&-1025|2,Fo=!1,ii=e;return}H2(ii,n)}ii=e,Ii=As(t.firstChild)}else e.flags=e.flags&-1025|2,Fo=!1,ii=e}}function cE(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ii=e}function Qd(e){if(e!==ii)return!1;if(!Fo)return cE(e),Fo=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Ov(t,e.memoizedProps))for(t=Ii;t;)H2(e,t),t=As(t.nextSibling);if(cE(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ve(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ii=As(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ii=null}}else Ii=ii?As(e.stateNode.nextSibling):null;return!0}function Rm(){Ii=ii=null,Fo=!1}var Ms=[];function p1(){for(var e=0;e<Ms.length;e++)Ms[e]._workInProgressVersionPrimary=null;Ms.length=0}var Uu=ja.ReactCurrentDispatcher,Xr=ja.ReactCurrentBatchConfig,pc=0,hn=null,zn=null,An=null,Qf=!1,zu=!1;function ar(){throw Error(ve(321))}function h1(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Gr(e[n],t[n]))return!1;return!0}function g1(e,t,n,r,o,a){if(pc=a,hn=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Uu.current=e===null||e.memoizedState===null?NB:DB,e=n(r,o),zu){a=0;do{if(zu=!1,!(25>a))throw Error(ve(301));a+=1,An=zn=null,t.updateQueue=null,Uu.current=BB,e=n(r,o)}while(zu)}if(Uu.current=tp,t=zn!==null&&zn.next!==null,pc=0,An=zn=hn=null,Qf=!1,t)throw Error(ve(300));return e}function Sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return An===null?hn.memoizedState=An=e:An=An.next=e,An}function Ha(){if(zn===null){var e=hn.alternate;e=e!==null?e.memoizedState:null}else e=zn.next;var t=An===null?hn.memoizedState:An.next;if(t!==null)An=t,zn=e;else{if(e===null)throw Error(ve(310));zn=e,e={memoizedState:zn.memoizedState,baseState:zn.baseState,baseQueue:zn.baseQueue,queue:zn.queue,next:null},An===null?hn.memoizedState=An=e:An=An.next=e}return An}function Mo(e,t){return typeof t=="function"?t(e):t}function ou(e){var t=Ha(),n=t.queue;if(n===null)throw Error(ve(311));n.lastRenderedReducer=e;var r=zn,o=r.baseQueue,a=n.pending;if(a!==null){if(o!==null){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(o!==null){o=o.next,r=r.baseState;var u=l=a=null,c=o;do{var f=c.lane;if((pc&f)===f)u!==null&&(u=u.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var p={lane:f,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};u===null?(l=u=p,a=r):u=u.next=p,hn.lanes|=f,Mc|=f}c=c.next}while(c!==null&&c!==o);u===null?a=r:u.next=l,Gr(r,t.memoizedState)||(yo=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function iu(e){var t=Ha(),n=t.queue;if(n===null)throw Error(ve(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(o!==null){n.pending=null;var l=o=o.next;do a=e(a,l.action),l=l.next;while(l!==o);Gr(a,t.memoizedState)||(yo=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function dE(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(o!==null?e=o===r:(e=e.mutableReadLanes,(e=(pc&e)===e)&&(t._workInProgressVersionPrimary=r,Ms.push(t))),e)return n(t._source);throw Ms.push(t),Error(ve(350))}function V2(e,t,n,r){var o=Qn;if(o===null)throw Error(ve(349));var a=t._getVersion,l=a(t._source),u=Uu.current,c=u.useState(function(){return dE(o,t,n)}),f=c[1],p=c[0];c=An;var m=e.memoizedState,h=m.refs,x=h.getSnapshot,E=m.source;m=m.subscribe;var _=hn;return e.memoizedState={refs:h,source:t,subscribe:r},u.useEffect(function(){h.getSnapshot=n,h.setSnapshot=f;var y=a(t._source);if(!Gr(l,y)){y=n(t._source),Gr(p,y)||(f(y),y=Di(_),o.mutableReadLanes|=y&o.pendingLanes),y=o.mutableReadLanes,o.entangledLanes|=y;for(var v=o.entanglements,b=y;0<b;){var S=31-ji(b),P=1<<S;v[S]|=y,b&=~P}}},[n,t,r]),u.useEffect(function(){return r(t._source,function(){var y=h.getSnapshot,v=h.setSnapshot;try{v(y(t._source));var b=Di(_);o.mutableReadLanes|=b&o.pendingLanes}catch(S){v(function(){throw S})}})},[t,r]),Gr(x,n)&&Gr(E,t)&&Gr(m,r)||(e={pending:null,dispatch:null,lastRenderedReducer:Mo,lastRenderedState:p},e.dispatch=f=y1.bind(null,hn,e),c.queue=e,c.baseQueue=null,p=dE(o,t,n),c.memoizedState=c.baseState=p),p}function G2(e,t,n){var r=Ha();return V2(r,e,t,n)}function au(e){var t=Sa();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Mo,lastRenderedState:e},e=e.dispatch=y1.bind(null,hn,e),[t.memoizedState,e]}function Zf(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=hn.updateQueue,t===null?(t={lastEffect:null},hn.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function fE(e){var t=Sa();return e={current:e},t.memoizedState=e}function Jf(){return Ha().memoizedState}function Bv(e,t,n,r){var o=Sa();hn.flags|=e,o.memoizedState=Zf(1|t,n,void 0,r===void 0?null:r)}function m1(e,t,n,r){var o=Ha();r=r===void 0?null:r;var a=void 0;if(zn!==null){var l=zn.memoizedState;if(a=l.destroy,r!==null&&h1(r,l.deps)){Zf(t,n,a,r);return}}hn.flags|=e,o.memoizedState=Zf(1|t,n,a,r)}function pE(e,t){return Bv(516,4,e,t)}function ep(e,t){return m1(516,4,e,t)}function K2(e,t){return m1(4,2,e,t)}function q2(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Y2(e,t,n){return n=n!=null?n.concat([e]):null,m1(4,2,q2.bind(null,t,e),n)}function v1(){}function X2(e,t){var n=Ha();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&h1(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Q2(e,t){var n=Ha();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&h1(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function MB(e,t){var n=qs();ka(98>n?98:n,function(){e(!0)}),ka(97<n?97:n,function(){var r=Xr.transition;Xr.transition=1;try{e(!1),t()}finally{Xr.transition=r}})}function y1(e,t,n){var r=Pr(),o=Di(e),a={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},l=t.pending;if(l===null?a.next=a:(a.next=l.next,l.next=a),t.pending=a,l=e.alternate,e===hn||l!==null&&l===hn)zu=Qf=!0;else{if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var u=t.lastRenderedState,c=l(u,n);if(a.eagerReducer=l,a.eagerState=c,Gr(c,u))return}catch{}finally{}Bi(e,o,r)}}var tp={readContext:Jr,useCallback:ar,useContext:ar,useEffect:ar,useImperativeHandle:ar,useLayoutEffect:ar,useMemo:ar,useReducer:ar,useRef:ar,useState:ar,useDebugValue:ar,useDeferredValue:ar,useTransition:ar,useMutableSource:ar,useOpaqueIdentifier:ar,unstable_isNewReconciler:!1},NB={readContext:Jr,useCallback:function(e,t){return Sa().memoizedState=[e,t===void 0?null:t],e},useContext:Jr,useEffect:pE,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bv(4,2,q2.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bv(4,2,e,t)},useMemo:function(e,t){var n=Sa();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Sa();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=y1.bind(null,hn,e),[r.memoizedState,e]},useRef:fE,useState:au,useDebugValue:v1,useDeferredValue:function(e){var t=au(e),n=t[0],r=t[1];return pE(function(){var o=Xr.transition;Xr.transition=1;try{r(e)}finally{Xr.transition=o}},[e]),n},useTransition:function(){var e=au(!1),t=e[0];return e=MB.bind(null,e[1]),fE(e),[e,t]},useMutableSource:function(e,t,n){var r=Sa();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},V2(r,e,t,n)},useOpaqueIdentifier:function(){if(Fo){var e=!1,t=TB(function(){throw e||(e=!0,n("r:"+(Sm++).toString(36))),Error(ve(355))}),n=au(t)[1];return(hn.mode&2)===0&&(hn.flags|=516,Zf(5,function(){n("r:"+(Sm++).toString(36))},void 0,null)),t}return t="r:"+(Sm++).toString(36),au(t),t},unstable_isNewReconciler:!1},DB={readContext:Jr,useCallback:X2,useContext:Jr,useEffect:ep,useImperativeHandle:Y2,useLayoutEffect:K2,useMemo:Q2,useReducer:ou,useRef:Jf,useState:function(){return ou(Mo)},useDebugValue:v1,useDeferredValue:function(e){var t=ou(Mo),n=t[0],r=t[1];return ep(function(){var o=Xr.transition;Xr.transition=1;try{r(e)}finally{Xr.transition=o}},[e]),n},useTransition:function(){var e=ou(Mo)[0];return[Jf().current,e]},useMutableSource:G2,useOpaqueIdentifier:function(){return ou(Mo)[0]},unstable_isNewReconciler:!1},BB={readContext:Jr,useCallback:X2,useContext:Jr,useEffect:ep,useImperativeHandle:Y2,useLayoutEffect:K2,useMemo:Q2,useReducer:iu,useRef:Jf,useState:function(){return iu(Mo)},useDebugValue:v1,useDeferredValue:function(e){var t=iu(Mo),n=t[0],r=t[1];return ep(function(){var o=Xr.transition;Xr.transition=1;try{r(e)}finally{Xr.transition=o}},[e]),n},useTransition:function(){var e=iu(Mo)[0];return[Jf().current,e]},useMutableSource:G2,useOpaqueIdentifier:function(){return iu(Mo)[0]},unstable_isNewReconciler:!1},FB=ja.ReactCurrentOwner,yo=!1;function lr(e,t,n,r){t.child=e===null?W2(t,null,n,r):Yf(t,e.child,n,r)}function hE(e,t,n,r,o){n=n.render;var a=t.ref;return Ls(t,o),r=g1(e,t,n,r,a,o),e!==null&&!yo?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,ai(e,t,o)):(t.flags|=1,lr(e,t,r,o),t.child)}function gE(e,t,n,r,o,a){if(e===null){var l=n.type;return typeof l=="function"&&!w1(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,Z2(e,t,l,r,o,a)):(e=Sf(n.type,null,r,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}return l=e.child,(o&a)===0&&(o=l.memoizedProps,n=n.compare,n=n!==null?n:sc,n(o,r)&&e.ref===t.ref)?ai(e,t,a):(t.flags|=1,e=Vi(l,r),e.ref=t.ref,e.return=t,t.child=e)}function Z2(e,t,n,r,o,a){if(e!==null&&sc(e.memoizedProps,r)&&e.ref===t.ref)if(yo=!1,(a&o)!==0)(e.flags&16384)!==0&&(yo=!0);else return t.lanes=e.lanes,ai(e,t,a);return Fv(e,t,n,r,a)}function Tm(e,t,n){var r=t.pendingProps,o=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden"||r.mode==="unstable-defer-without-hiding")if((t.mode&4)===0)t.memoizedState={baseLanes:0},Jd(t,n);else if((n&1073741824)!==0)t.memoizedState={baseLanes:0},Jd(t,a!==null?a.baseLanes:n);else return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Jd(t,e),null;else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,Jd(t,r);return lr(e,t,o,n),t.child}function J2(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=128)}function Fv(e,t,n,r,o){var a=dr(n)?Oa:Vn.current;return a=Ks(t,a),Ls(t,o),n=g1(e,t,n,r,a,o),e!==null&&!yo?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,ai(e,t,o)):(t.flags|=1,lr(e,t,n,o),t.child)}function mE(e,t,n,r,o){if(dr(n)){var a=!0;bf(t)}else a=!1;if(Ls(t,o),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),z2(t,n,r),Mv(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,u=t.memoizedProps;l.props=u;var c=l.context,f=n.contextType;typeof f=="object"&&f!==null?f=Jr(f):(f=dr(n)?Oa:Vn.current,f=Ks(t,f));var p=n.getDerivedStateFromProps,m=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function";m||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==r||c!==f)&&sE(t,l,r,f),Si=!1;var h=t.memoizedState;l.state=h,cc(t,r,l,o),c=t.memoizedState,u!==r||h!==c||cr.current||Si?(typeof p=="function"&&(qf(t,n,p,r),c=t.memoizedState),(u=Si||aE(t,n,u,r,h,c,f))?(m||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4)):(typeof l.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=c),l.props=r,l.state=c,l.context=f,r=u):(typeof l.componentDidMount=="function"&&(t.flags|=4),r=!1)}else{l=t.stateNode,F2(e,t),u=t.memoizedProps,f=t.type===t.elementType?u:mo(t.type,u),l.props=f,m=t.pendingProps,h=l.context,c=n.contextType,typeof c=="object"&&c!==null?c=Jr(c):(c=dr(n)?Oa:Vn.current,c=Ks(t,c));var x=n.getDerivedStateFromProps;(p=typeof x=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==m||h!==c)&&sE(t,l,r,c),Si=!1,h=t.memoizedState,l.state=h,cc(t,r,l,o);var E=t.memoizedState;u!==m||h!==E||cr.current||Si?(typeof x=="function"&&(qf(t,n,x,r),E=t.memoizedState),(f=Si||aE(t,n,f,r,h,E,c))?(p||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,E,c),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,E,c)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=E),l.props=r,l.state=E,l.context=c,r=f):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),r=!1)}return Uv(e,t,n,r,a,o)}function Uv(e,t,n,r,o,a){J2(e,t);var l=(t.flags&64)!==0;if(!r&&!l)return o&&tE(t,n,!1),ai(e,t,a);r=t.stateNode,FB.current=t;var u=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Yf(t,e.child,null,a),t.child=Yf(t,null,u,a)):lr(e,t,u,a),t.memoizedState=r.state,o&&tE(t,n,!0),t.child}function vE(e){var t=e.stateNode;t.pendingContext?eE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&eE(e,t.context,!1),Nv(e,t.containerInfo)}var Zd={dehydrated:null,retryLane:0};function yE(e,t,n){var r=t.pendingProps,o=ln.current,a=!1,l;return(l=(t.flags&64)!==0)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(a=!0,t.flags&=-65):e!==null&&e.memoizedState===null||r.fallback===void 0||r.unstable_avoidThisFallback===!0||(o|=1),un(ln,o&1),e===null?(r.fallback!==void 0&&Dv(t),e=r.children,o=r.fallback,a?(e=xE(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Zd,e):typeof r.unstable_expectedLoadTime=="number"?(e=xE(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Zd,t.lanes=33554432,e):(n=S1({mode:"visible",children:e},t.mode,n,null),n.return=t,t.child=n)):e.memoizedState!==null?a?(r=_E(e,t,r.children,r.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=o===null?{baseLanes:n}:{baseLanes:o.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Zd,r):(n=bE(e,t,r.children,n),t.memoizedState=null,n):a?(r=_E(e,t,r.children,r.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=o===null?{baseLanes:n}:{baseLanes:o.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Zd,r):(n=bE(e,t,r.children,n),t.memoizedState=null,n)}function xE(e,t,n,r){var o=e.mode,a=e.child;return t={mode:"hidden",children:t},(o&2)===0&&a!==null?(a.childLanes=0,a.pendingProps=t):a=S1(t,o,0,null),n=Bs(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function bE(e,t,n,r){var o=e.child;return e=o.sibling,n=Vi(o,{mode:"visible",children:n}),(t.mode&2)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function _E(e,t,n,r,o){var a=t.mode,l=e.child;e=l.sibling;var u={mode:"hidden",children:n};return(a&2)===0&&t.child!==l?(n=t.child,n.childLanes=0,n.pendingProps=u,l=n.lastEffect,l!==null?(t.firstEffect=n.firstEffect,t.lastEffect=l,l.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Vi(l,u),e!==null?r=Vi(e,r):(r=Bs(r,a,o,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,r}function CE(e,t){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),B2(e.return,t)}function Im(e,t,n,r,o,a){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:a}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=o,l.lastEffect=a)}function EE(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(lr(e,t,r.children,n),r=ln.current,(r&2)!==0)r=r&1|2,t.flags|=64;else{if(e!==null&&(e.flags&64)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&CE(e,n);else if(e.tag===19)CE(e,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(un(ln,r),(t.mode&2)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Xf(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Im(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Xf(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Im(t,!0,n,null,a,t.lastEffect);break;case"together":Im(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ai(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Mc|=t.lanes,(n&t.childLanes)!==0){if(e!==null&&t.child!==e.child)throw Error(ve(153));if(t.child!==null){for(e=t.child,n=Vi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Vi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}return null}var eP,zv,tP,nP;eP=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};zv=function(){};tP=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,wa(Bo.current);var a=null;switch(n){case"input":o=hv(e,o),r=hv(e,r),a=[];break;case"option":o=vv(e,o),r=vv(e,r),a=[];break;case"select":o=en({},o,{value:void 0}),r=en({},r,{value:void 0}),a=[];break;case"textarea":o=yv(e,o),r=yv(e,r),a=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=jf)}_v(n,r);var l;n=null;for(f in o)if(!r.hasOwnProperty(f)&&o.hasOwnProperty(f)&&o[f]!=null)if(f==="style"){var u=o[f];for(l in u)u.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(ec.hasOwnProperty(f)?a||(a=[]):(a=a||[]).push(f,null));for(f in r){var c=r[f];if(u=o!=null?o[f]:void 0,r.hasOwnProperty(f)&&c!==u&&(c!=null||u!=null))if(f==="style")if(u){for(l in u)!u.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in c)c.hasOwnProperty(l)&&u[l]!==c[l]&&(n||(n={}),n[l]=c[l])}else n||(a||(a=[]),a.push(f,n)),n=c;else f==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,u=u?u.__html:void 0,c!=null&&u!==c&&(a=a||[]).push(f,c)):f==="children"?typeof c!="string"&&typeof c!="number"||(a=a||[]).push(f,""+c):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(ec.hasOwnProperty(f)?(c!=null&&f==="onScroll"&&Kt("scroll",e),a||u===c||(a=[])):typeof c=="object"&&c!==null&&c.$$typeof===V0?c.toString():(a=a||[]).push(f,c))}n&&(a=a||[]).push("style",n);var f=a;(t.updateQueue=f)&&(t.flags|=4)}};nP=function(e,t,n,r){n!==r&&(t.flags|=4)};function su(e,t){if(!Fo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function UB(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return dr(t.type)&&Hf(),null;case 3:return Ys(),Yt(cr),Yt(Vn),p1(),r=t.stateNode,r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Qd(t)?t.flags|=4:r.hydrate||(t.flags|=256)),zv(t),null;case 5:f1(t);var o=wa(fc.current);if(n=t.type,e!==null&&t.stateNode!=null)tP(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(t.stateNode===null)throw Error(ve(166));return null}if(e=wa(Bo.current),Qd(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Ti]=t,r[Wf]=a,n){case"dialog":Kt("cancel",r),Kt("close",r);break;case"iframe":case"object":case"embed":Kt("load",r);break;case"video":case"audio":for(e=0;e<Su.length;e++)Kt(Su[e],r);break;case"source":Kt("error",r);break;case"img":case"image":case"link":Kt("error",r),Kt("load",r);break;case"details":Kt("toggle",r);break;case"input":EC(r,a),Kt("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Kt("invalid",r);break;case"textarea":SC(r,a),Kt("invalid",r)}_v(n,a),e=null;for(var l in a)a.hasOwnProperty(l)&&(o=a[l],l==="children"?typeof o=="string"?r.textContent!==o&&(e=["children",o]):typeof o=="number"&&r.textContent!==""+o&&(e=["children",""+o]):ec.hasOwnProperty(l)&&o!=null&&l==="onScroll"&&Kt("scroll",r));switch(n){case"input":Vd(r),wC(r,a,!0);break;case"textarea":Vd(r),$C(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=jf)}r=e,t.updateQueue=r,r!==null&&(t.flags|=4)}else{switch(l=o.nodeType===9?o:o.ownerDocument,e===xv.html&&(e=Y4(n)),e===xv.html?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Ti]=t,e[Wf]=r,eP(e,t,!1,!1),t.stateNode=e,l=Cv(n,r),n){case"dialog":Kt("cancel",e),Kt("close",e),o=r;break;case"iframe":case"object":case"embed":Kt("load",e),o=r;break;case"video":case"audio":for(o=0;o<Su.length;o++)Kt(Su[o],e);o=r;break;case"source":Kt("error",e),o=r;break;case"img":case"image":case"link":Kt("error",e),Kt("load",e),o=r;break;case"details":Kt("toggle",e),o=r;break;case"input":EC(e,r),o=hv(e,r),Kt("invalid",e);break;case"option":o=vv(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=en({},r,{value:void 0}),Kt("invalid",e);break;case"textarea":SC(e,r),o=yv(e,r),Kt("invalid",e);break;default:o=r}_v(n,o);var u=o;for(a in u)if(u.hasOwnProperty(a)){var c=u[a];a==="style"?Z4(e,c):a==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&X4(e,c)):a==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&tc(e,c):typeof c=="number"&&tc(e,""+c):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(ec.hasOwnProperty(a)?c!=null&&a==="onScroll"&&Kt("scroll",e):c!=null&&F0(e,a,c,l))}switch(n){case"input":Vd(e),wC(e,r,!1);break;case"textarea":Vd(e),$C(e);break;case"option":r.value!=null&&e.setAttribute("value",""+zi(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?Is(e,!!r.multiple,a,!1):r.defaultValue!=null&&Is(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=jf)}T2(n,r)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)nP(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(ve(166));n=wa(fc.current),wa(Bo.current),Qd(t)?(r=t.stateNode,n=t.memoizedProps,r[Ti]=t,r.nodeValue!==n&&(t.flags|=4)):(r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ti]=t,t.stateNode=r)}return null;case 13:return Yt(ln),r=t.memoizedState,(t.flags&64)!==0?(t.lanes=n,t):(r=r!==null,n=!1,e===null?t.memoizedProps.fallback!==void 0&&Qd(t):n=e.memoizedState!==null,r&&!n&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(ln.current&1)!==0?Ln===0&&(Ln=3):((Ln===0||Ln===3)&&(Ln=4),Qn===null||(Mc&134217727)===0&&(pl&134217727)===0||Ns(Qn,Hn))),(r||n)&&(t.flags|=4),null);case 4:return Ys(),zv(t),e===null&&$2(t.stateNode.containerInfo),null;case 10:return c1(t),null;case 17:return dr(t.type)&&Hf(),null;case 19:if(Yt(ln),r=t.memoizedState,r===null)return null;if(a=(t.flags&64)!==0,l=r.rendering,l===null)if(a)su(r,!1);else{if(Ln!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(l=Xf(e),l!==null){for(t.flags|=64,su(r,!1),a=l.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),r.lastEffect===null&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;n!==null;)a=n,e=r,a.flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,l=a.alternate,l===null?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return un(ln,ln.current&1|2),t.child}e=e.sibling}r.tail!==null&&Wn()>Kv&&(t.flags|=64,a=!0,su(r,!1),t.lanes=33554432)}else{if(!a)if(e=Xf(l),e!==null){if(t.flags|=64,a=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),su(r,!0),r.tail===null&&r.tailMode==="hidden"&&!l.alternate&&!Fo)return t=t.lastEffect=r.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*Wn()-r.renderingStartTime>Kv&&n!==1073741824&&(t.flags|=64,a=!0,su(r,!1),t.lanes=33554432);r.isBackwards?(l.sibling=t.child,t.child=l):(n=r.last,n!==null?n.sibling=l:t.child=l,r.last=l)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Wn(),n.sibling=null,t=ln.current,un(ln,a?t&1|2:t&1),n):null;case 23:case 24:return E1(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&r.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(ve(156,t.tag))}function zB(e){switch(e.tag){case 1:dr(e.type)&&Hf();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Ys(),Yt(cr),Yt(Vn),p1(),t=e.flags,(t&64)!==0)throw Error(ve(285));return e.flags=t&-4097|64,e;case 5:return f1(e),null;case 13:return Yt(ln),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Yt(ln),null;case 4:return Ys(),null;case 10:return c1(e),null;case 23:case 24:return E1(),null;default:return null}}function x1(e,t){try{var n="",r=t;do n+=_D(r),r=r.return;while(r);var o=n}catch(a){o=`
Error generating stack: `+a.message+`
`+a.stack}return{value:e,source:t,stack:o}}function jv(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var jB=typeof WeakMap=="function"?WeakMap:Map;function rP(e,t,n){n=Mi(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){rp||(rp=!0,qv=r),jv(e,t)},n}function oP(e,t,n){n=Mi(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return jv(e,t),r(o)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){typeof r!="function"&&(No===null?No=new Set([this]):No.add(this),jv(e,t));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}var WB=typeof WeakSet=="function"?WeakSet:Set;function wE(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(n){Fi(e,n)}else t.current=null}function HB(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var n=e.memoizedProps,r=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?n:mo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&a1(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(ve(163))}function VB(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var o=e;r=o.next,o=o.tag,(o&4)!==0&&(o&1)!==0&&(pP(n,e),JB(n,e)),e=r}while(e!==t)}return;case 1:e=n.stateNode,n.flags&4&&(t===null?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:mo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=n.updateQueue,t!==null&&iE(n,t,e);return;case 3:if(t=n.updateQueue,t!==null){if(e=null,n.child!==null)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}iE(n,t,e)}return;case 5:e=n.stateNode,t===null&&n.flags&4&&T2(n.type,n.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:n.memoizedState===null&&(n=n.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&l2(n))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(ve(163))}function SE(e,t){for(var n=e;;){if(n.tag===5){var r=n.stateNode;if(t)r=r.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=o!=null&&o.hasOwnProperty("display")?o.display:null,r.style.display=Q4("display",o)}}else if(n.tag===6)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((n.tag!==23&&n.tag!==24||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function $E(e,t){if(Ra&&typeof Ra.onCommitFiberUnmount=="function")try{Ra.onCommitFiberUnmount(s1,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,o!==void 0)if((r&4)!==0)pP(t,n);else{r=t;try{o()}catch(a){Fi(r,a)}}n=n.next}while(n!==e)}break;case 1:if(wE(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){Fi(t,a)}break;case 5:wE(t);break;case 4:iP(e,t)}}function PE(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function RE(e){return e.tag===5||e.tag===3||e.tag===4}function TE(e){e:{for(var t=e.return;t!==null;){if(RE(t))break e;t=t.return}throw Error(ve(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:t=t.containerInfo,r=!0;break;case 4:t=t.containerInfo,r=!0;break;default:throw Error(ve(161))}n.flags&16&&(tc(t,""),n.flags&=-17);e:t:for(n=e;;){for(;n.sibling===null;){if(n.return===null||RE(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2)){n=n.stateNode;break e}}r?Wv(e,n,t):Hv(e,n,t)}function Wv(e,t,n){var r=e.tag,o=r===5||r===6;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=jf));else if(r!==4&&(e=e.child,e!==null))for(Wv(e,t,n),e=e.sibling;e!==null;)Wv(e,t,n),e=e.sibling}function Hv(e,t,n){var r=e.tag,o=r===5||r===6;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Hv(e,t,n),e=e.sibling;e!==null;)Hv(e,t,n),e=e.sibling}function iP(e,t){for(var n=t,r=!1,o,a;;){if(!r){r=n.return;e:for(;;){if(r===null)throw Error(ve(160));switch(o=r.stateNode,r.tag){case 5:a=!1;break e;case 3:o=o.containerInfo,a=!0;break e;case 4:o=o.containerInfo,a=!0;break e}r=r.return}r=!0}if(n.tag===5||n.tag===6){e:for(var l=e,u=n,c=u;;)if($E(l,c),c.child!==null&&c.tag!==4)c.child.return=c,c=c.child;else{if(c===u)break e;for(;c.sibling===null;){if(c.return===null||c.return===u)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}a?(l=o,u=n.stateNode,l.nodeType===8?l.parentNode.removeChild(u):l.removeChild(u)):o.removeChild(n.stateNode)}else if(n.tag===4){if(n.child!==null){o=n.stateNode.containerInfo,a=!0,n.child.return=n,n=n.child;continue}}else if($E(e,n),n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return,n.tag===4&&(r=!1)}n.sibling.return=n.return,n=n.sibling}}function Om(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var r=n=n.next;do(r.tag&3)===3&&(e=r.destroy,r.destroy=void 0,e!==void 0&&e()),r=r.next;while(r!==n)}return;case 1:return;case 5:if(n=t.stateNode,n!=null){r=t.memoizedProps;var o=e!==null?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,a!==null){for(n[Wf]=r,e==="input"&&r.type==="radio"&&r.name!=null&&K4(n,r),Cv(e,o),t=Cv(e,r),o=0;o<a.length;o+=2){var l=a[o],u=a[o+1];l==="style"?Z4(n,u):l==="dangerouslySetInnerHTML"?X4(n,u):l==="children"?tc(n,u):F0(n,l,u,t)}switch(e){case"input":gv(n,r);break;case"textarea":q4(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,a=r.value,a!=null?Is(n,!!r.multiple,a,!1):e!==!!r.multiple&&(r.defaultValue!=null?Is(n,!!r.multiple,r.defaultValue,!0):Is(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(ve(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:n=t.stateNode,n.hydrate&&(n.hydrate=!1,l2(n.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(C1=Wn(),SE(t.child,!0)),IE(t);return;case 19:IE(t);return;case 17:return;case 23:case 24:SE(t,t.memoizedState!==null);return}throw Error(ve(163))}function IE(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new WB),t.forEach(function(r){var o=nF.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function GB(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var KB=Math.ceil,np=ja.ReactCurrentDispatcher,b1=ja.ReactCurrentOwner,Ke=0,Qn=null,_n=null,Hn=0,Aa=0,Vv=Qi(0),Ln=0,Mp=null,fl=0,Mc=0,pl=0,_1=0,Gv=null,C1=0,Kv=1/0;function hl(){Kv=Wn()+500}var Re=null,rp=!1,qv=null,No=null,Hi=!1,ju=null,$u=90,Yv=[],Xv=[],si=null,Wu=0,Qv=null,Cf=-1,oi=0,Ef=0,Hu=null,wf=!1;function Pr(){return(Ke&48)!==0?Wn():Cf!==-1?Cf:Cf=Wn()}function Di(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return qs()===99?1:2;if(oi===0&&(oi=fl),LB.transition!==0){Ef!==0&&(Ef=Gv!==null?Gv.pendingLanes:0),e=oi;var t=4186112&~Ef;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=qs(),(Ke&4)!==0&&e===98?e=Uf(12,oi):(e=DD(e),e=Uf(e,oi)),e}function Bi(e,t,n){if(50<Wu)throw Wu=0,Qv=null,Error(ve(185));if(e=Np(e,t),e===null)return null;Rp(e,t,n),e===Qn&&(pl|=t,Ln===4&&Ns(e,Hn));var r=qs();t===1?(Ke&8)!==0&&(Ke&48)===0?Zv(e):(eo(e,n),Ke===0&&(hl(),Ho())):((Ke&4)===0||r!==98&&r!==99||(si===null?si=new Set([e]):si.add(e)),eo(e,n)),Gv=e}function Np(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}function eo(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,l=e.pendingLanes;0<l;){var u=31-ji(l),c=1<<u,f=a[u];if(f===-1){if((c&r)===0||(c&o)!==0){f=t,ys(c);var p=Ht;a[u]=10<=p?f+250:6<=p?f+5e3:-1}}else f<=t&&(e.expiredLanes|=c);l&=~c}if(r=ic(e,e===Qn?Hn:0),t=Ht,r===0)n!==null&&(n!==$m&&Av(n),e.callbackNode=null,e.callbackPriority=0);else{if(n!==null){if(e.callbackPriority===t)return;n!==$m&&Av(n)}t===15?(n=Zv.bind(null,e),ni===null?(ni=[n],_f=l1(Ap,D2)):ni.push(n),n=$m):t===14?n=uc(99,Zv.bind(null,e)):(n=BD(t),n=uc(n,aP.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function aP(e){if(Cf=-1,Ef=oi=0,(Ke&48)!==0)throw Error(ve(327));var t=e.callbackNode;if(Zi()&&e.callbackNode!==t)return null;var n=ic(e,e===Qn?Hn:0);if(n===0)return null;var r=n,o=Ke;Ke|=16;var a=cP();(Qn!==e||Hn!==r)&&(hl(),Ds(e,r));do try{XB();break}catch(u){uP(e,u)}while(1);if(u1(),np.current=a,Ke=o,_n!==null?r=0:(Qn=null,Hn=0,r=Ln),(fl&pl)!==0)Ds(e,0);else if(r!==0){if(r===2&&(Ke|=64,e.hydrate&&(e.hydrate=!1,a1(e.containerInfo)),n=g2(e),n!==0&&(r=Pu(e,n))),r===1)throw t=Mp,Ds(e,0),Ns(e,n),eo(e,Wn()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(ve(345));case 2:ga(e);break;case 3:if(Ns(e,n),(n&62914560)===n&&(r=C1+500-Wn(),10<r)){if(ic(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){Pr(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=QC(ga.bind(null,e),r);break}ga(e);break;case 4:if(Ns(e,n),(n&4186112)===n)break;for(r=e.eventTimes,o=-1;0<n;){var l=31-ji(n);a=1<<l,l=r[l],l>o&&(o=l),n&=~a}if(n=o,n=Wn()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*KB(n/1960))-n,10<n){e.timeoutHandle=QC(ga.bind(null,e),n);break}ga(e);break;case 5:ga(e);break;default:throw Error(ve(329))}}return eo(e,Wn()),e.callbackNode===t?aP.bind(null,e):null}function Ns(e,t){for(t&=~_1,t&=~pl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ji(t),r=1<<n;e[n]=-1,t&=~r}}function Zv(e){if((Ke&48)!==0)throw Error(ve(327));if(Zi(),e===Qn&&(e.expiredLanes&Hn)!==0){var t=Hn,n=Pu(e,t);(fl&pl)!==0&&(t=ic(e,t),n=Pu(e,t))}else t=ic(e,0),n=Pu(e,t);if(e.tag!==0&&n===2&&(Ke|=64,e.hydrate&&(e.hydrate=!1,a1(e.containerInfo)),t=g2(e),t!==0&&(n=Pu(e,t))),n===1)throw n=Mp,Ds(e,0),Ns(e,t),eo(e,Wn()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,ga(e),eo(e,Wn()),null}function qB(){if(si!==null){var e=si;si=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,eo(t,Wn())})}Ho()}function sP(e,t){var n=Ke;Ke|=1;try{return e(t)}finally{Ke=n,Ke===0&&(hl(),Ho())}}function lP(e,t){var n=Ke;Ke&=-2,Ke|=8;try{return e(t)}finally{Ke=n,Ke===0&&(hl(),Ho())}}function Jd(e,t){un(Vv,Aa),Aa|=t,fl|=t}function E1(){Aa=Vv.current,Yt(Vv)}function Ds(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,RB(n)),_n!==null)for(n=_n.return;n!==null;){var r=n;switch(r.tag){case 1:r=r.type.childContextTypes,r!=null&&Hf();break;case 3:Ys(),Yt(cr),Yt(Vn),p1();break;case 5:f1(r);break;case 4:Ys();break;case 13:Yt(ln);break;case 19:Yt(ln);break;case 10:c1(r);break;case 23:case 24:E1()}n=n.return}Qn=e,_n=Vi(e.current,null),Hn=Aa=fl=t,Ln=0,Mp=null,_1=pl=Mc=0}function uP(e,t){do{var n=_n;try{if(u1(),Uu.current=tp,Qf){for(var r=hn.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Qf=!1}if(pc=0,An=zn=hn=null,zu=!1,b1.current=null,n===null||n.return===null){Ln=1,Mp=t,_n=null;break}e:{var a=e,l=n.return,u=n,c=t;if(t=Hn,u.flags|=2048,u.firstEffect=u.lastEffect=null,c!==null&&typeof c=="object"&&typeof c.then=="function"){var f=c;if((u.mode&2)===0){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var m=(ln.current&1)!==0,h=l;do{var x;if(x=h.tag===13){var E=h.memoizedState;if(E!==null)x=E.dehydrated!==null;else{var _=h.memoizedProps;x=_.fallback===void 0?!1:_.unstable_avoidThisFallback!==!0?!0:!m}}if(x){var y=h.updateQueue;if(y===null){var v=new Set;v.add(f),h.updateQueue=v}else y.add(f);if((h.mode&2)===0){if(h.flags|=64,u.flags|=16384,u.flags&=-2981,u.tag===1)if(u.alternate===null)u.tag=17;else{var b=Mi(-1,1);b.tag=2,Ni(u,b)}u.lanes|=1;break e}c=void 0,u=t;var S=a.pingCache;if(S===null?(S=a.pingCache=new jB,c=new Set,S.set(f,c)):(c=S.get(f),c===void 0&&(c=new Set,S.set(f,c))),!c.has(u)){c.add(u);var P=tF.bind(null,a,f,u);f.then(P,P)}h.flags|=4096,h.lanes=t;break e}h=h.return}while(h!==null);c=Error((Ts(u.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.

Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Ln!==5&&(Ln=2),c=x1(c,u),h=l;do{switch(h.tag){case 3:a=c,h.flags|=4096,t&=-t,h.lanes|=t;var A=rP(h,a,t);oE(h,A);break e;case 1:a=c;var k=h.type,I=h.stateNode;if((h.flags&64)===0&&(typeof k.getDerivedStateFromError=="function"||I!==null&&typeof I.componentDidCatch=="function"&&(No===null||!No.has(I)))){h.flags|=4096,t&=-t,h.lanes|=t;var L=oP(h,a,t);oE(h,L);break e}}h=h.return}while(h!==null)}fP(n)}catch(N){t=N,_n===n&&n!==null&&(_n=n=n.return);continue}break}while(1)}function cP(){var e=np.current;return np.current=tp,e===null?tp:e}function Pu(e,t){var n=Ke;Ke|=16;var r=cP();Qn===e&&Hn===t||Ds(e,t);do try{YB();break}catch(o){uP(e,o)}while(1);if(u1(),Ke=n,np.current=r,_n!==null)throw Error(ve(261));return Qn=null,Hn=0,Ln}function YB(){for(;_n!==null;)dP(_n)}function XB(){for(;_n!==null&&!OB();)dP(_n)}function dP(e){var t=hP(e.alternate,e,Aa);e.memoizedProps=e.pendingProps,t===null?fP(e):_n=t,b1.current=null}function fP(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&2048)===0){if(n=UB(n,t,Aa),n!==null){_n=n;return}if(n=t,n.tag!==24&&n.tag!==23||n.memoizedState===null||(Aa&1073741824)!==0||(n.mode&4)===0){for(var r=0,o=n.child;o!==null;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}e!==null&&(e.flags&2048)===0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(n=zB(t),n!==null){n.flags&=2047,_n=n;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){_n=t;return}_n=t=e}while(t!==null);Ln===0&&(Ln=5)}function ga(e){var t=qs();return ka(99,QB.bind(null,e,t)),null}function QB(e,t){do Zi();while(ju!==null);if((Ke&48)!==0)throw Error(ve(327));var n=e.finishedWork;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(ve(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,a=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var l=e.eventTimes,u=e.expirationTimes;0<a;){var c=31-ji(a),f=1<<c;o[c]=0,l[c]=-1,u[c]=-1,a&=~f}if(si!==null&&(r&24)===0&&si.has(e)&&si.delete(e),e===Qn&&(_n=Qn=null,Hn=0),1<n.flags?n.lastEffect!==null?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,r!==null){if(o=Ke,Ke|=32,b1.current=null,Em=vf,l=HC(),Rv(l)){if("selectionStart"in l)u={start:l.selectionStart,end:l.selectionEnd};else e:if(u=(u=l.ownerDocument)&&u.defaultView||window,(f=u.getSelection&&u.getSelection())&&f.rangeCount!==0){u=f.anchorNode,a=f.anchorOffset,c=f.focusNode,f=f.focusOffset;try{u.nodeType,c.nodeType}catch{u=null;break e}var p=0,m=-1,h=-1,x=0,E=0,_=l,y=null;t:for(;;){for(var v;_!==u||a!==0&&_.nodeType!==3||(m=p+a),_!==c||f!==0&&_.nodeType!==3||(h=p+f),_.nodeType===3&&(p+=_.nodeValue.length),(v=_.firstChild)!==null;)y=_,_=v;for(;;){if(_===l)break t;if(y===u&&++x===a&&(m=p),y===c&&++E===f&&(h=p),(v=_.nextSibling)!==null)break;_=y,y=_.parentNode}_=v}u=m===-1||h===-1?null:{start:m,end:h}}else u=null;u=u||{start:0,end:0}}else u=null;wm={focusedElem:l,selectionRange:u},vf=!1,Hu=null,wf=!1,Re=r;do try{ZB()}catch(N){if(Re===null)throw Error(ve(330));Fi(Re,N),Re=Re.nextEffect}while(Re!==null);Hu=null,Re=r;do try{for(l=e;Re!==null;){var b=Re.flags;if(b&16&&tc(Re.stateNode,""),b&128){var S=Re.alternate;if(S!==null){var P=S.ref;P!==null&&(typeof P=="function"?P(null):P.current=null)}}switch(b&1038){case 2:TE(Re),Re.flags&=-3;break;case 6:TE(Re),Re.flags&=-3,Om(Re.alternate,Re);break;case 1024:Re.flags&=-1025;break;case 1028:Re.flags&=-1025,Om(Re.alternate,Re);break;case 4:Om(Re.alternate,Re);break;case 8:u=Re,iP(l,u);var A=u.alternate;PE(u),A!==null&&PE(A)}Re=Re.nextEffect}}catch(N){if(Re===null)throw Error(ve(330));Fi(Re,N),Re=Re.nextEffect}while(Re!==null);if(P=wm,S=HC(),b=P.focusedElem,l=P.selectionRange,S!==b&&b&&b.ownerDocument&&E2(b.ownerDocument.documentElement,b)){for(l!==null&&Rv(b)&&(S=l.start,P=l.end,P===void 0&&(P=S),"selectionStart"in b?(b.selectionStart=S,b.selectionEnd=Math.min(P,b.value.length)):(P=(S=b.ownerDocument||document)&&S.defaultView||window,P.getSelection&&(P=P.getSelection(),u=b.textContent.length,A=Math.min(l.start,u),l=l.end===void 0?A:Math.min(l.end,u),!P.extend&&A>l&&(u=l,l=A,A=u),u=WC(b,A),a=WC(b,l),u&&a&&(P.rangeCount!==1||P.anchorNode!==u.node||P.anchorOffset!==u.offset||P.focusNode!==a.node||P.focusOffset!==a.offset)&&(S=S.createRange(),S.setStart(u.node,u.offset),P.removeAllRanges(),A>l?(P.addRange(S),P.extend(a.node,a.offset)):(S.setEnd(a.node,a.offset),P.addRange(S)))))),S=[],P=b;P=P.parentNode;)P.nodeType===1&&S.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<S.length;b++)P=S[b],P.element.scrollLeft=P.left,P.element.scrollTop=P.top}vf=!!Em,wm=Em=null,e.current=n,Re=r;do try{for(b=e;Re!==null;){var k=Re.flags;if(k&36&&VB(b,Re.alternate,Re),k&128){S=void 0;var I=Re.ref;if(I!==null){var L=Re.stateNode;switch(Re.tag){case 5:S=L;break;default:S=L}typeof I=="function"?I(S):I.current=S}}Re=Re.nextEffect}}catch(N){if(Re===null)throw Error(ve(330));Fi(Re,N),Re=Re.nextEffect}while(Re!==null);Re=null,AB(),Ke=o}else e.current=n;if(Hi)Hi=!1,ju=e,$u=t;else for(Re=r;Re!==null;)t=Re.nextEffect,Re.nextEffect=null,Re.flags&8&&(k=Re,k.sibling=null,k.stateNode=null),Re=t;if(r=e.pendingLanes,r===0&&(No=null),r===1?e===Qv?Wu++:(Wu=0,Qv=e):Wu=0,n=n.stateNode,Ra&&typeof Ra.onCommitFiberRoot=="function")try{Ra.onCommitFiberRoot(s1,n,void 0,(n.current.flags&64)===64)}catch{}if(eo(e,Wn()),rp)throw rp=!1,e=qv,qv=null,e;return(Ke&8)!==0||Ho(),null}function ZB(){for(;Re!==null;){var e=Re.alternate;wf||Hu===null||((Re.flags&8)!==0?TC(Re,Hu)&&(wf=!0):Re.tag===13&&GB(e,Re)&&TC(Re,Hu)&&(wf=!0));var t=Re.flags;(t&256)!==0&&HB(e,Re),(t&512)===0||Hi||(Hi=!0,uc(97,function(){return Zi(),null})),Re=Re.nextEffect}}function Zi(){if($u!==90){var e=97<$u?97:$u;return $u=90,ka(e,eF)}return!1}function JB(e,t){Yv.push(t,e),Hi||(Hi=!0,uc(97,function(){return Zi(),null}))}function pP(e,t){Xv.push(t,e),Hi||(Hi=!0,uc(97,function(){return Zi(),null}))}function eF(){if(ju===null)return!1;var e=ju;if(ju=null,(Ke&48)!==0)throw Error(ve(331));var t=Ke;Ke|=32;var n=Xv;Xv=[];for(var r=0;r<n.length;r+=2){var o=n[r],a=n[r+1],l=o.destroy;if(o.destroy=void 0,typeof l=="function")try{l()}catch(c){if(a===null)throw Error(ve(330));Fi(a,c)}}for(n=Yv,Yv=[],r=0;r<n.length;r+=2){o=n[r],a=n[r+1];try{var u=o.create;o.destroy=u()}catch(c){if(a===null)throw Error(ve(330));Fi(a,c)}}for(u=e.current.firstEffect;u!==null;)e=u.nextEffect,u.nextEffect=null,u.flags&8&&(u.sibling=null,u.stateNode=null),u=e;return Ke=t,Ho(),!0}function OE(e,t,n){t=x1(n,t),t=rP(e,t,1),Ni(e,t),t=Pr(),e=Np(e,1),e!==null&&(Rp(e,1,t),eo(e,t))}function Fi(e,t){if(e.tag===3)OE(e,e,t);else for(var n=e.return;n!==null;){if(n.tag===3){OE(n,e,t);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(No===null||!No.has(r))){e=x1(t,e);var o=oP(n,e,1);if(Ni(n,o),o=Pr(),n=Np(n,1),n!==null)Rp(n,1,o),eo(n,o);else if(typeof r.componentDidCatch=="function"&&(No===null||!No.has(r)))try{r.componentDidCatch(t,e)}catch{}break}}n=n.return}}function tF(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Pr(),e.pingedLanes|=e.suspendedLanes&n,Qn===e&&(Hn&n)===n&&(Ln===4||Ln===3&&(Hn&62914560)===Hn&&500>Wn()-C1?Ds(e,0):_1|=n),eo(e,t)}function nF(e,t){var n=e.stateNode;n!==null&&n.delete(t),t=0,t===0&&(t=e.mode,(t&2)===0?t=1:(t&4)===0?t=qs()===99?1:2:(oi===0&&(oi=fl),t=xs(62914560&~oi),t===0&&(t=4194304))),n=Pr(),e=Np(e,t),e!==null&&(Rp(e,t,n),eo(e,n))}var hP;hP=function(e,t,n){var r=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||cr.current)yo=!0;else if((n&r)!==0)yo=(e.flags&16384)!==0;else{switch(yo=!1,t.tag){case 3:vE(t),Rm();break;case 5:lE(t);break;case 1:dr(t.type)&&bf(t);break;case 4:Nv(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;un(Vf,o._currentValue),o._currentValue=r;break;case 13:if(t.memoizedState!==null)return(n&t.child.childLanes)!==0?yE(e,t,n):(un(ln,ln.current&1),t=ai(e,t,n),t!==null?t.sibling:null);un(ln,ln.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&64)!==0){if(r)return EE(e,t,n);t.flags|=64}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),un(ln,ln.current),r)break;return null;case 23:case 24:return t.lanes=0,Tm(e,t,n)}return ai(e,t,n)}else yo=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=Ks(t,Vn.current),Ls(t,n),o=g1(null,t,r,e,o,n),t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,dr(r)){var a=!0;bf(t)}else a=!1;t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,d1(t);var l=r.getDerivedStateFromProps;typeof l=="function"&&qf(t,r,l,e),o.updater=Lp,t.stateNode=o,o._reactInternals=t,Mv(t,r,e,n),t=Uv(null,t,r,!0,a,n)}else t.tag=0,lr(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=o._init,o=a(o._payload),t.type=o,a=t.tag=oF(o),e=mo(o,e),a){case 0:t=Fv(null,t,o,e,n);break e;case 1:t=mE(null,t,o,e,n);break e;case 11:t=hE(null,t,o,e,n);break e;case 14:t=gE(null,t,o,mo(o.type,e),r,n);break e}throw Error(ve(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mo(r,o),Fv(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mo(r,o),mE(e,t,r,o,n);case 3:if(vE(t),r=t.updateQueue,e===null||r===null)throw Error(ve(282));if(r=t.pendingProps,o=t.memoizedState,o=o!==null?o.element:null,F2(e,t),cc(t,r,null,n),r=t.memoizedState.element,r===o)Rm(),t=ai(e,t,n);else{if(o=t.stateNode,(a=o.hydrate)&&(Ii=As(t.stateNode.containerInfo.firstChild),ii=t,a=Fo=!0),a){if(e=o.mutableSourceEagerHydrationData,e!=null)for(o=0;o<e.length;o+=2)a=e[o],a._workInProgressVersionPrimary=e[o+1],Ms.push(a);for(n=W2(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|1024,n=n.sibling}else lr(e,t,r,n),Rm();t=t.child}return t;case 5:return lE(t),e===null&&Dv(t),r=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,l=o.children,Ov(r,o)?l=null:a!==null&&Ov(r,a)&&(t.flags|=16),J2(e,t),lr(e,t,l,n),t.child;case 6:return e===null&&Dv(t),null;case 13:return yE(e,t,n);case 4:return Nv(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yf(t,null,r,n):lr(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mo(r,o),hE(e,t,r,o,n);case 7:return lr(e,t,t.pendingProps,n),t.child;case 8:return lr(e,t,t.pendingProps.children,n),t.child;case 12:return lr(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,l=t.memoizedProps,a=o.value;var u=t.type._context;if(un(Vf,u._currentValue),u._currentValue=a,l!==null)if(u=l.value,a=Gr(u,a)?0:(typeof r._calculateChangedBits=="function"?r._calculateChangedBits(u,a):1073741823)|0,a===0){if(l.children===o.children&&!cr.current){t=ai(e,t,n);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var c=u.dependencies;if(c!==null){l=u.child;for(var f=c.firstContext;f!==null;){if(f.context===r&&(f.observedBits&a)!==0){u.tag===1&&(f=Mi(-1,n&-n),f.tag=2,Ni(u,f)),u.lanes|=n,f=u.alternate,f!==null&&(f.lanes|=n),B2(u.return,n),c.lanes|=n;break}f=f.next}}else l=u.tag===10&&u.type===t.type?null:u.child;if(l!==null)l.return=u;else for(l=u;l!==null;){if(l===t){l=null;break}if(u=l.sibling,u!==null){u.return=l.return,l=u;break}l=l.return}u=l}lr(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,a=t.pendingProps,r=a.children,Ls(t,n),o=Jr(o,a.unstable_observedBits),r=r(o),t.flags|=1,lr(e,t,r,n),t.child;case 14:return o=t.type,a=mo(o,t.pendingProps),a=mo(o.type,a),gE(e,t,o,a,r,n);case 15:return Z2(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mo(r,o),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,dr(r)?(e=!0,bf(t)):e=!1,Ls(t,n),z2(t,r,o),Mv(t,r,o,n),Uv(null,t,r,!0,e,n);case 19:return EE(e,t,n);case 23:return Tm(e,t,n);case 24:return Tm(e,t,n)}throw Error(ve(156,t.tag))};function rF(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Kr(e,t,n,r){return new rF(e,t,n,r)}function w1(e){return e=e.prototype,!(!e||!e.isReactComponent)}function oF(e){if(typeof e=="function")return w1(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Sp)return 11;if(e===$p)return 14}return 2}function Vi(e,t){var n=e.alternate;return n===null?(n=Kr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Sf(e,t,n,r,o,a){var l=2;if(r=e,typeof e=="function")w1(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case $i:return Bs(n.children,o,a,t);case H4:l=8,o|=16;break;case U0:l=8,o|=1;break;case Au:return e=Kr(12,n,t,o|8),e.elementType=Au,e.type=Au,e.lanes=a,e;case Lu:return e=Kr(13,n,t,o),e.type=Lu,e.elementType=Lu,e.lanes=a,e;case Nf:return e=Kr(19,n,t,o),e.elementType=Nf,e.lanes=a,e;case G0:return S1(n,o,a,t);case pv:return e=Kr(24,n,t,o),e.elementType=pv,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case z0:l=10;break e;case j0:l=9;break e;case Sp:l=11;break e;case $p:l=14;break e;case W0:l=16,r=null;break e;case H0:l=22;break e}throw Error(ve(130,e==null?e:typeof e,""))}return t=Kr(l,n,t,o),t.elementType=e,t.type=r,t.lanes=a,t}function Bs(e,t,n,r){return e=Kr(7,e,r,t),e.lanes=n,e}function S1(e,t,n,r){return e=Kr(23,e,r,t),e.elementType=G0,e.lanes=n,e}function km(e,t,n){return e=Kr(6,e,null,t),e.lanes=n,e}function Am(e,t,n){return t=Kr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function iF(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=mm(0),this.expirationTimes=mm(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mm(0),this.mutableSourceEagerHydrationData=null}function aF(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:_a,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function op(e,t,n,r){var o=t.current,a=Pr(),l=Di(o);e:if(n){n=n._reactInternals;t:{if(Wa(n)!==n||n.tag!==1)throw Error(ve(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(dr(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(u!==null);throw Error(ve(171))}if(n.tag===1){var c=n.type;if(dr(c)){n=O2(n,c,u);break e}}n=u}else n=Wi;return t.context===null?t.context=n:t.pendingContext=n,t=Mi(a,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),Ni(o,t),Bi(o,l,a),l}function Lm(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function kE(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function $1(e,t){kE(e,t),(e=e.alternate)&&kE(e,t)}function sF(){return null}function P1(e,t,n){var r=n!=null&&n.hydrationOptions!=null&&n.hydrationOptions.mutableSources||null;if(n=new iF(e,t,n!=null&&n.hydrate===!0),t=Kr(3,null,null,t===2?7:t===1?3:0),n.current=t,t.stateNode=n,d1(t),e[dl]=n.current,$2(e.nodeType===8?e.parentNode:e),r)for(e=0;e<r.length;e++){t=r[e];var o=t._getVersion;o=o(t._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}P1.prototype.render=function(e){op(e,this._internalRoot,null,null)};P1.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;op(null,e,null,function(){t[dl]=null})};function Nc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function lF(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new P1(e,0,t?{hydrate:!0}:void 0)}function Dp(e,t,n,r,o){var a=n._reactRootContainer;if(a){var l=a._internalRoot;if(typeof o=="function"){var u=o;o=function(){var f=Lm(l);u.call(f)}}op(t,l,e,o)}else{if(a=n._reactRootContainer=lF(n,r),l=a._internalRoot,typeof o=="function"){var c=o;o=function(){var f=Lm(l);c.call(f)}}lP(function(){op(t,l,e,o)})}return Lm(l)}i2=function(e){if(e.tag===13){var t=Pr();Bi(e,4,t),$1(e,4)}};Q0=function(e){if(e.tag===13){var t=Pr();Bi(e,67108864,t),$1(e,67108864)}};a2=function(e){if(e.tag===13){var t=Pr(),n=Di(e);Bi(e,n,t),$1(e,n)}};s2=function(e,t){return t()};Ev=function(e,t,n){switch(t){case"input":if(gv(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=kp(r);if(!o)throw Error(ve(90));G4(r),gv(r,o)}}}break;case"textarea":q4(e,n);break;case"select":t=n.value,t!=null&&Is(e,!!n.multiple,t,!1)}};q0=sP;t2=function(e,t,n,r,o){var a=Ke;Ke|=4;try{return ka(98,e.bind(null,t,n,r,o))}finally{Ke=a,Ke===0&&(hl(),Ho())}};Y0=function(){(Ke&49)===0&&(qB(),Zi())};n2=function(e,t){var n=Ke;Ke|=2;try{return e(t)}finally{Ke=n,Ke===0&&(hl(),Ho())}};function gP(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Nc(t))throw Error(ve(200));return aF(e,t,null,n)}var uF={Events:[Ac,Ss,kp,J4,e2,Zi,{current:!1}]},lu={findFiberByHostInstance:Ea,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},cF={bundleType:lu.bundleType,version:lu.version,rendererPackageName:lu.rendererPackageName,rendererConfig:lu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ja.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=o2(e),e===null?null:e.stateNode},findFiberByHostInstance:lu.findFiberByHostInstance||sF,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var ef=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ef.isDisabled&&ef.supportsFiber)try{s1=ef.inject(cF),Ra=ef}catch{}}ro.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uF;ro.createPortal=gP;ro.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(ve(188)):Error(ve(268,Object.keys(e)));return e=o2(t),e=e===null?null:e.stateNode,e};ro.flushSync=function(e,t){var n=Ke;if((n&48)!==0)return e(t);Ke|=1;try{if(e)return ka(99,e.bind(null,t))}finally{Ke=n,Ho()}};ro.hydrate=function(e,t,n){if(!Nc(t))throw Error(ve(200));return Dp(null,e,t,!0,n)};ro.render=function(e,t,n){if(!Nc(t))throw Error(ve(200));return Dp(null,e,t,!1,n)};ro.unmountComponentAtNode=function(e){if(!Nc(e))throw Error(ve(40));return e._reactRootContainer?(lP(function(){Dp(null,null,e,!1,function(){e._reactRootContainer=null,e[dl]=null})}),!0):!1};ro.unstable_batchedUpdates=sP;ro.unstable_createPortal=function(e,t){return gP(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};ro.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Nc(n))throw Error(ve(200));if(e==null||e._reactInternals===void 0)throw Error(ve(38));return Dp(e,t,n,!1,r)};ro.version="17.0.2";function mP(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mP)}catch(e){console.error(e)}}mP(),Oc.exports=ro;var Ru=Oc.exports;function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R.apply(this,arguments)}var vP={exports:{}},dF="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",fF=dF,pF=fF;function yP(){}function xP(){}xP.resetWarningCache=yP;var hF=function(){function e(r,o,a,l,u,c){if(c!==pF){var f=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 f.name="Invariant Violation",f}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:xP,resetWarningCache:yP};return n.PropTypes=n,n};vP.exports=hF();var La=vP.exports;function gF(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var mF=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,vF=gF(function(e){return mF.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function yF(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function xF(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var bP=function(){function e(n){var r=this;this._insertTag=function(o){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,a),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(xF(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var a=yF(o);try{a.insertRule(r,a.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Un="-ms-",ip="-moz-",Et="-webkit-",_P="comm",R1="rule",T1="decl",bF="@import",CP="@keyframes",_F=Math.abs,Bp=String.fromCharCode,CF=Object.assign;function EF(e,t){return(((t<<2^ur(e,0))<<2^ur(e,1))<<2^ur(e,2))<<2^ur(e,3)}function EP(e){return e.trim()}function wF(e,t){return(e=t.exec(e))?e[0]:e}function St(e,t,n){return e.replace(t,n)}function Jv(e,t){return e.indexOf(t)}function ur(e,t){return e.charCodeAt(t)|0}function hc(e,t,n){return e.slice(t,n)}function Oo(e){return e.length}function I1(e){return e.length}function tf(e,t){return t.push(e),e}function SF(e,t){return e.map(t).join("")}var Fp=1,Xs=1,wP=0,gr=0,mn=0,gl="";function Up(e,t,n,r,o,a,l){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:Fp,column:Xs,length:l,return:""}}function uu(e,t){return CF(Up("",null,null,"",null,null,0),e,{length:-e.length},t)}function $F(){return mn}function PF(){return mn=gr>0?ur(gl,--gr):0,Xs--,mn===10&&(Xs=1,Fp--),mn}function Rr(){return mn=gr<wP?ur(gl,gr++):0,Xs++,mn===10&&(Xs=1,Fp++),mn}function Uo(){return ur(gl,gr)}function $f(){return gr}function Dc(e,t){return hc(gl,e,t)}function gc(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function SP(e){return Fp=Xs=1,wP=Oo(gl=e),gr=0,[]}function $P(e){return gl="",e}function Pf(e){return EP(Dc(gr-1,e0(e===91?e+2:e===40?e+1:e)))}function RF(e){for(;(mn=Uo())&&mn<33;)Rr();return gc(e)>2||gc(mn)>3?"":" "}function TF(e,t){for(;--t&&Rr()&&!(mn<48||mn>102||mn>57&&mn<65||mn>70&&mn<97););return Dc(e,$f()+(t<6&&Uo()==32&&Rr()==32))}function e0(e){for(;Rr();)switch(mn){case e:return gr;case 34:case 39:e!==34&&e!==39&&e0(mn);break;case 40:e===41&&e0(e);break;case 92:Rr();break}return gr}function IF(e,t){for(;Rr()&&e+mn!==47+10;)if(e+mn===42+42&&Uo()===47)break;return"/*"+Dc(t,gr-1)+"*"+Bp(e===47?e:Rr())}function OF(e){for(;!gc(Uo());)Rr();return Dc(e,gr)}function kF(e){return $P(Rf("",null,null,null,[""],e=SP(e),0,[0],e))}function Rf(e,t,n,r,o,a,l,u,c){for(var f=0,p=0,m=l,h=0,x=0,E=0,_=1,y=1,v=1,b=0,S="",P=o,A=a,k=r,I=S;y;)switch(E=b,b=Rr()){case 40:if(E!=108&&I.charCodeAt(m-1)==58){Jv(I+=St(Pf(b),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:I+=Pf(b);break;case 9:case 10:case 13:case 32:I+=RF(E);break;case 92:I+=TF($f()-1,7);continue;case 47:switch(Uo()){case 42:case 47:tf(AF(IF(Rr(),$f()),t,n),c);break;default:I+="/"}break;case 123*_:u[f++]=Oo(I)*v;case 125*_:case 59:case 0:switch(b){case 0:case 125:y=0;case 59+p:x>0&&Oo(I)-m&&tf(x>32?LE(I+";",r,n,m-1):LE(St(I," ","")+";",r,n,m-2),c);break;case 59:I+=";";default:if(tf(k=AE(I,t,n,f,p,o,u,S,P=[],A=[],m),a),b===123)if(p===0)Rf(I,t,k,k,P,a,m,u,A);else switch(h){case 100:case 109:case 115:Rf(e,k,k,r&&tf(AE(e,k,k,0,0,o,u,S,o,P=[],m),A),o,A,m,u,r?P:A);break;default:Rf(I,k,k,k,[""],A,0,u,A)}}f=p=x=0,_=v=1,S=I="",m=l;break;case 58:m=1+Oo(I),x=E;default:if(_<1){if(b==123)--_;else if(b==125&&_++==0&&PF()==125)continue}switch(I+=Bp(b),b*_){case 38:v=p>0?1:(I+="\f",-1);break;case 44:u[f++]=(Oo(I)-1)*v,v=1;break;case 64:Uo()===45&&(I+=Pf(Rr())),h=Uo(),p=m=Oo(S=I+=OF($f())),b++;break;case 45:E===45&&Oo(I)==2&&(_=0)}}return a}function AE(e,t,n,r,o,a,l,u,c,f,p){for(var m=o-1,h=o===0?a:[""],x=I1(h),E=0,_=0,y=0;E<r;++E)for(var v=0,b=hc(e,m+1,m=_F(_=l[E])),S=e;v<x;++v)(S=EP(_>0?h[v]+" "+b:St(b,/&\f/g,h[v])))&&(c[y++]=S);return Up(e,t,n,o===0?R1:u,c,f,p)}function AF(e,t,n){return Up(e,t,n,_P,Bp($F()),hc(e,2,-2),0)}function LE(e,t,n,r){return Up(e,t,n,T1,hc(e,0,r),hc(e,r+1,-1),r)}function PP(e,t){switch(EF(e,t)){case 5103:return Et+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Et+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Et+e+ip+e+Un+e+e;case 6828:case 4268:return Et+e+Un+e+e;case 6165:return Et+e+Un+"flex-"+e+e;case 5187:return Et+e+St(e,/(\w+).+(:[^]+)/,Et+"box-$1$2"+Un+"flex-$1$2")+e;case 5443:return Et+e+Un+"flex-item-"+St(e,/flex-|-self/,"")+e;case 4675:return Et+e+Un+"flex-line-pack"+St(e,/align-content|flex-|-self/,"")+e;case 5548:return Et+e+Un+St(e,"shrink","negative")+e;case 5292:return Et+e+Un+St(e,"basis","preferred-size")+e;case 6060:return Et+"box-"+St(e,"-grow","")+Et+e+Un+St(e,"grow","positive")+e;case 4554:return Et+St(e,/([^-])(transform)/g,"$1"+Et+"$2")+e;case 6187:return St(St(St(e,/(zoom-|grab)/,Et+"$1"),/(image-set)/,Et+"$1"),e,"")+e;case 5495:case 3959:return St(e,/(image-set\([^]*)/,Et+"$1$`$1");case 4968:return St(St(e,/(.+:)(flex-)?(.*)/,Et+"box-pack:$3"+Un+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Et+e+e;case 4095:case 3583:case 4068:case 2532:return St(e,/(.+)-inline(.+)/,Et+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Oo(e)-1-t>6)switch(ur(e,t+1)){case 109:if(ur(e,t+4)!==45)break;case 102:return St(e,/(.+:)(.+)-([^]+)/,"$1"+Et+"$2-$3$1"+ip+(ur(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Jv(e,"stretch")?PP(St(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ur(e,t+1)!==115)break;case 6444:switch(ur(e,Oo(e)-3-(~Jv(e,"!important")&&10))){case 107:return St(e,":",":"+Et)+e;case 101:return St(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Et+(ur(e,14)===45?"inline-":"")+"box$3$1"+Et+"$2$3$1"+Un+"$2box$3")+e}break;case 5936:switch(ur(e,t+11)){case 114:return Et+e+Un+St(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Et+e+Un+St(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Et+e+Un+St(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Et+e+Un+e+e}return e}function Fs(e,t){for(var n="",r=I1(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function LF(e,t,n,r){switch(e.type){case bF:case T1:return e.return=e.return||e.value;case _P:return"";case CP:return e.return=e.value+"{"+Fs(e.children,r)+"}";case R1:e.value=e.props.join(",")}return Oo(n=Fs(e.children,r))?e.return=e.value+"{"+n+"}":""}function MF(e){var t=I1(e);return function(n,r,o,a){for(var l="",u=0;u<t;u++)l+=e[u](n,r,o,a)||"";return l}}function NF(e){return function(t){t.root||(t=t.return)&&e(t)}}function DF(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case T1:e.return=PP(e.value,e.length);break;case CP:return Fs([uu(e,{value:St(e.value,"@","@"+Et)})],r);case R1:if(e.length)return SF(e.props,function(o){switch(wF(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Fs([uu(e,{props:[St(o,/:(read-\w+)/,":"+ip+"$1")]})],r);case"::placeholder":return Fs([uu(e,{props:[St(o,/:(plac\w+)/,":"+Et+"input-$1")]}),uu(e,{props:[St(o,/:(plac\w+)/,":"+ip+"$1")]}),uu(e,{props:[St(o,/:(plac\w+)/,Un+"input-$1")]})],r)}return""})}}var BF=function(t,n,r){for(var o=0,a=0;o=a,a=Uo(),o===38&&a===12&&(n[r]=1),!gc(a);)Rr();return Dc(t,gr)},FF=function(t,n){var r=-1,o=44;do switch(gc(o)){case 0:o===38&&Uo()===12&&(n[r]=1),t[r]+=BF(gr-1,n,r);break;case 2:t[r]+=Pf(o);break;case 4:if(o===44){t[++r]=Uo()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Bp(o)}while(o=Rr());return t},UF=function(t,n){return $P(FF(SP(t),n))},ME=new WeakMap,zF=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!ME.get(r))&&!o){ME.set(t,!0);for(var a=[],l=UF(n,a),u=r.props,c=0,f=0;c<l.length;c++)for(var p=0;p<u.length;p++,f++)t.props[f]=a[c]?l[c].replace(/&\f/g,u[p]):u[p]+" "+l[c]}}},jF=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},WF=[DF],HF=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(_){var y=_.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(_),_.setAttribute("data-s",""))})}var o=t.stylisPlugins||WF,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(_){for(var y=_.getAttribute("data-emotion").split(" "),v=1;v<y.length;v++)a[y[v]]=!0;u.push(_)});var c,f=[zF,jF];{var p,m=[LF,NF(function(_){p.insert(_)})],h=MF(f.concat(o,m)),x=function(y){return Fs(kF(y),h)};c=function(y,v,b,S){p=b,x(y?y+"{"+v.styles+"}":v.styles),S&&(E.inserted[v.name]=!0)}}var E={key:n,sheet:new bP({key:n,container:l,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:c};return E.sheet.hydrate(u),E},RP={exports:{}},Tt={};/** @license React v16.13.1
 * react-is.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 Rn=typeof Symbol=="function"&&Symbol.for,O1=Rn?Symbol.for("react.element"):60103,k1=Rn?Symbol.for("react.portal"):60106,zp=Rn?Symbol.for("react.fragment"):60107,jp=Rn?Symbol.for("react.strict_mode"):60108,Wp=Rn?Symbol.for("react.profiler"):60114,Hp=Rn?Symbol.for("react.provider"):60109,Vp=Rn?Symbol.for("react.context"):60110,A1=Rn?Symbol.for("react.async_mode"):60111,Gp=Rn?Symbol.for("react.concurrent_mode"):60111,Kp=Rn?Symbol.for("react.forward_ref"):60112,qp=Rn?Symbol.for("react.suspense"):60113,VF=Rn?Symbol.for("react.suspense_list"):60120,Yp=Rn?Symbol.for("react.memo"):60115,Xp=Rn?Symbol.for("react.lazy"):60116,GF=Rn?Symbol.for("react.block"):60121,KF=Rn?Symbol.for("react.fundamental"):60117,qF=Rn?Symbol.for("react.responder"):60118,YF=Rn?Symbol.for("react.scope"):60119;function kr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case O1:switch(e=e.type,e){case A1:case Gp:case zp:case Wp:case jp:case qp:return e;default:switch(e=e&&e.$$typeof,e){case Vp:case Kp:case Xp:case Yp:case Hp:return e;default:return t}}case k1:return t}}}function TP(e){return kr(e)===Gp}Tt.AsyncMode=A1;Tt.ConcurrentMode=Gp;Tt.ContextConsumer=Vp;Tt.ContextProvider=Hp;Tt.Element=O1;Tt.ForwardRef=Kp;Tt.Fragment=zp;Tt.Lazy=Xp;Tt.Memo=Yp;Tt.Portal=k1;Tt.Profiler=Wp;Tt.StrictMode=jp;Tt.Suspense=qp;Tt.isAsyncMode=function(e){return TP(e)||kr(e)===A1};Tt.isConcurrentMode=TP;Tt.isContextConsumer=function(e){return kr(e)===Vp};Tt.isContextProvider=function(e){return kr(e)===Hp};Tt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===O1};Tt.isForwardRef=function(e){return kr(e)===Kp};Tt.isFragment=function(e){return kr(e)===zp};Tt.isLazy=function(e){return kr(e)===Xp};Tt.isMemo=function(e){return kr(e)===Yp};Tt.isPortal=function(e){return kr(e)===k1};Tt.isProfiler=function(e){return kr(e)===Wp};Tt.isStrictMode=function(e){return kr(e)===jp};Tt.isSuspense=function(e){return kr(e)===qp};Tt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===zp||e===Gp||e===Wp||e===jp||e===qp||e===VF||typeof e=="object"&&e!==null&&(e.$$typeof===Xp||e.$$typeof===Yp||e.$$typeof===Hp||e.$$typeof===Vp||e.$$typeof===Kp||e.$$typeof===KF||e.$$typeof===qF||e.$$typeof===YF||e.$$typeof===GF)};Tt.typeOf=kr;RP.exports=Tt;var IP=RP.exports,XF={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},QF={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},OP={};OP[IP.ForwardRef]=XF;OP[IP.Memo]=QF;var ZF=!0;function JF(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var eU=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||ZF===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},kP=function(t,n,r){eU(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+o:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function tU(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 nU={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};function rU(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var oU=/[A-Z]|^ms/g,iU=/_EMO_([^_]+?)_([^]*?)_EMO_/g,AP=function(t){return t.charCodeAt(1)===45},NE=function(t){return t!=null&&typeof t!="boolean"},Mm=rU(function(e){return AP(e)?e:e.replace(oU,"-$&").toLowerCase()}),DE=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(iU,function(r,o,a){return ko={name:o,styles:a,next:ko},o})}return nU[t]!==1&&!AP(t)&&typeof n=="number"&&n!==0?n+"px":n};function mc(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return ko={name:n.name,styles:n.styles,next:ko},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)ko={name:r.name,styles:r.styles,next:ko},r=r.next;var o=n.styles+";";return o}return aU(e,t,n)}case"function":{if(e!==void 0){var a=ko,l=n(e);return ko=a,mc(e,t,l)}break}}if(t==null)return n;var u=t[n];return u!==void 0?u:n}function aU(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=mc(e,t,n[o])+";";else for(var a in n){var l=n[a];if(typeof l!="object")t!=null&&t[l]!==void 0?r+=a+"{"+t[l]+"}":NE(l)&&(r+=Mm(a)+":"+DE(a,l)+";");else if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var u=0;u<l.length;u++)NE(l[u])&&(r+=Mm(a)+":"+DE(a,l[u])+";");else{var c=mc(e,t,l);switch(a){case"animation":case"animationName":{r+=Mm(a)+":"+c+";";break}default:r+=a+"{"+c+"}"}}}return r}var BE=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ko,L1=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,a="";ko=void 0;var l=t[0];l==null||l.raw===void 0?(o=!1,a+=mc(r,n,l)):a+=l[0];for(var u=1;u<t.length;u++)a+=mc(r,n,t[u]),o&&(a+=l[u]);BE.lastIndex=0;for(var c="",f;(f=BE.exec(a))!==null;)c+="-"+f[1];var p=tU(a)+c;return{name:p,styles:a,next:ko}},LP=C.exports.createContext(typeof HTMLElement!="undefined"?HF({key:"css"}):null);LP.Provider;var MP=function(t){return C.exports.forwardRef(function(n,r){var o=C.exports.useContext(LP);return t(n,o,r)})},M1=C.exports.createContext({}),sU=MP(function(e,t){var n=e.styles,r=L1([n],void 0,C.exports.useContext(M1)),o=C.exports.useRef();return C.exports.useLayoutEffect(function(){var a=t.key+"-global",l=new bP({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),u=!1,c=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(l.before=t.sheet.tags[0]),c!==null&&(u=!0,c.setAttribute("data-emotion",a),l.hydrate([c])),o.current=[l,u],function(){l.flush()}},[t]),C.exports.useLayoutEffect(function(){var a=o.current,l=a[0],u=a[1];if(u){a[1]=!1;return}if(r.next!==void 0&&kP(t,r.next,!0),l.tags.length){var c=l.tags[l.tags.length-1].nextElementSibling;l.before=c,l.flush()}t.insert("",r,l,!1)},[t,r.name]),null});function lU(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return L1(t)}var N1=function(){var t=lU.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},uU=vF,cU=function(t){return t!=="theme"},FE=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?uU:cU},UE=function(t,n,r){var o;if(n){var a=n.shouldForwardProp;o=t.__emotion_forwardProp&&a?function(l){return t.__emotion_forwardProp(l)&&a(l)}:a}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},dU=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,a,l;n!==void 0&&(a=n.label,l=n.target);var u=UE(t,n,r),c=u||FE(o),f=!c("as");return function(){var p=arguments,m=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),p[0]==null||p[0].raw===void 0)m.push.apply(m,p);else{m.push(p[0][0]);for(var h=p.length,x=1;x<h;x++)m.push(p[x],p[0][x])}var E=MP(function(_,y,v){var b=f&&_.as||o,S="",P=[],A=_;if(_.theme==null){A={};for(var k in _)A[k]=_[k];A.theme=C.exports.useContext(M1)}typeof _.className=="string"?S=JF(y.registered,P,_.className):_.className!=null&&(S=_.className+" ");var I=L1(m.concat(P),y.registered,A);kP(y,I,typeof b=="string"),S+=y.key+"-"+I.name,l!==void 0&&(S+=" "+l);var L=f&&u===void 0?FE(b):c,N={};for(var B in _)f&&B==="as"||L(B)&&(N[B]=_[B]);N.className=S,N.ref=v;var V=C.exports.createElement(b,N);return V});return E.displayName=a!==void 0?a:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",E.defaultProps=t.defaultProps,E.__emotion_real=E,E.__emotion_base=o,E.__emotion_styles=m,E.__emotion_forwardProp=u,Object.defineProperty(E,"toString",{value:function(){return"."+l}}),E.withComponent=function(_,y){return e(_,R({},n,y,{shouldForwardProp:UE(E,y,!0)})).apply(void 0,m)},E}},fU=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],t0=dU.bind();fU.forEach(function(e){t0[e]=t0(e)});var pU=t0,D={exports:{}},Bc={};/** @license React v17.0.2
 * react-jsx-runtime.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 hU=C.exports,NP=60103;Bc.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var zE=Symbol.for;NP=zE("react.element"),Bc.Fragment=zE("react.fragment")}var gU=hU.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,mU=Object.prototype.hasOwnProperty,vU={key:!0,ref:!0,__self:!0,__source:!0};function DP(e,t,n){var r,o={},a=null,l=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)mU.call(t,r)&&!vU.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:NP,type:e,key:a,ref:l,props:o,_owner:gU.current}}Bc.jsx=DP;Bc.jsxs=DP;D.exports=Bc;function yU(e){return e==null||Object.keys(e).length===0}function xU(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(yU(o)?n:o):t;return D.exports.jsx(sU,{styles:r})}/** @license MUI v5.10.5
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */function BP(e,t){return pU(e,t)}const bU=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function Tu(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Qr(e,t,n={clone:!0}){const r=n.clone?R({},e):e;return Tu(e)&&Tu(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Tu(t[o])&&o in e&&Tu(e[o])?r[o]=Qr(e[o],t[o],n):r[o]=t[o])}),r}function Gi(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function ce(e){if(typeof e!="string")throw new Error(Gi(7));return e.charAt(0).toUpperCase()+e.slice(1)}function n0(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Qp(e,t=166){let n;function r(...o){const a=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function _U(e,t){return()=>null}function Tf(e,t){return C.exports.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function $n(e){return e&&e.ownerDocument||document}function jo(e){return $n(e).defaultView||window}function CU(e,t){return()=>null}function Qs(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const EU=typeof window!="undefined"?C.exports.useLayoutEffect:C.exports.useEffect;var bo=EU;let jE=0;function wU(e){const[t,n]=C.exports.useState(e),r=e||t;return C.exports.useEffect(()=>{t==null&&(jE+=1,n(`mui-${jE}`))},[t]),r}const WE=mD["useId"];function Ma(e){if(WE!==void 0){const t=WE();return e!=null?e:t}return wU(e)}function SU(e,t,n,r,o){return null}function Ui({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=C.exports.useRef(e!==void 0),[a,l]=C.exports.useState(t),u=o?e:a,c=C.exports.useCallback(f=>{o||l(f)},[]);return[u,c]}function $r(e){const t=C.exports.useRef(e);return bo(()=>{t.current=e}),C.exports.useCallback((...n)=>(0,t.current)(...n),[])}function yt(e,t){return C.exports.useMemo(()=>e==null&&t==null?null:n=>{Qs(e,n),Qs(t,n)},[e,t])}let Zp=!0,r0=!1,HE;const $U={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function PU(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&$U[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function RU(e){e.metaKey||e.altKey||e.ctrlKey||(Zp=!0)}function Nm(){Zp=!1}function TU(){this.visibilityState==="hidden"&&r0&&(Zp=!0)}function IU(e){e.addEventListener("keydown",RU,!0),e.addEventListener("mousedown",Nm,!0),e.addEventListener("pointerdown",Nm,!0),e.addEventListener("touchstart",Nm,!0),e.addEventListener("visibilitychange",TU,!0)}function OU(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Zp||PU(t)}function Jp(){const e=C.exports.useCallback(o=>{o!=null&&IU(o.ownerDocument)},[]),t=C.exports.useRef(!1);function n(){return t.current?(r0=!0,window.clearTimeout(HE),HE=window.setTimeout(()=>{r0=!1},100),t.current=!1,!0):!1}function r(o){return OU(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function FP(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const kU=e=>{const t=C.exports.useRef({});return C.exports.useEffect(()=>{t.current=e}),t.current};var UP=kU;function zP(e,t){const n=R({},t);return Object.keys(e).forEach(r=>{n[r]===void 0&&(n[r]=e[r])}),n}function Be(e,t,n){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((a,l)=>(l&&(a.push(t(l)),n&&n[l]&&a.push(n[l])),a),[]).join(" ")}),r}const VE=e=>e,AU=()=>{let e=VE;return{configure(t){e=t},generate(t){return e(t)},reset(){e=VE}}},LU=AU();var D1=LU;const MU={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function De(e,t,n="Mui"){const r=MU[t];return r?`${n}-${r}`:`${D1.generate(e)}-${t}`}function Ne(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=De(e,o,n)}),r}function Vu(e,t){return t?Qr(e,t,{clone:!1}):e}const B1={xs:0,sm:600,md:900,lg:1200,xl:1536},GE={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${B1[e]}px)`};function Co(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||GE;return t.reduce((l,u,c)=>(l[a.up(a.keys[c])]=n(t[c]),l),{})}if(typeof t=="object"){const a=r.breakpoints||GE;return Object.keys(t).reduce((l,u)=>{if(Object.keys(a.values||B1).indexOf(u)!==-1){const c=a.up(u);l[c]=n(t[u],u)}else{const c=u;l[c]=t[c]}return l},{})}return n(t)}function NU(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const a=e.up(o);return r[a]={},r},{}))||{}}function DU(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function BU(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,a)=>{a<e.length&&(n[o]=!0)}):r.forEach(o=>{e[o]!=null&&(n[o]=!0)}),n}function eh({values:e,breakpoints:t,base:n}){const r=n||BU(e,t),o=Object.keys(r);if(o.length===0)return e;let a;return o.reduce((l,u,c)=>(Array.isArray(e)?(l[u]=e[c]!=null?e[c]:e[a],a=c):typeof e=="object"?(l[u]=e[u]!=null?e[u]:e[a],a=u):l[u]=e,l),{})}function vc(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function KE(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=vc(e,n)||r,t&&(o=t(o)),o}function Te(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=l=>{if(l[t]==null)return null;const u=l[t],c=l.theme,f=vc(c,r)||{};return Co(l,u,m=>{let h=KE(f,o,m);return m===h&&typeof m=="string"&&(h=KE(f,o,`${t}${m==="default"?"":ce(m)}`,m)),n===!1?h:{[n]:h}})};return a.propTypes={},a.filterProps=[t],a}function Ji(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(a=>{r[a]=o}),r),{}),n=r=>Object.keys(r).reduce((o,a)=>t[a]?Vu(o,t[a](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function FU(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const UU={m:"margin",p:"padding"},zU={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},qE={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},jU=FU(e=>{if(e.length>2)if(qE[e])e=qE[e];else return[e];const[t,n]=e.split(""),r=UU[t],o=zU[n]||"";return Array.isArray(o)?o.map(a=>r+a):[r+o]}),WU=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],HU=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],jP=[...WU,...HU];function Fc(e,t,n,r){var o;const a=(o=vc(e,t,!1))!=null?o:n;return typeof a=="number"?l=>typeof l=="string"?l:a*l:Array.isArray(a)?l=>typeof l=="string"?l:a[l]:typeof a=="function"?a:()=>{}}function WP(e){return Fc(e,"spacing",8)}function Uc(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function VU(e,t){return n=>e.reduce((r,o)=>(r[o]=Uc(t,n),r),{})}function GU(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=jU(n),a=VU(o,r),l=e[n];return Co(e,l,a)}function KU(e,t){const n=WP(e.theme);return Object.keys(e).map(r=>GU(e,t,r,n)).reduce(Vu,{})}function th(e){return KU(e,jP)}th.propTypes={};th.filterProps=jP;function zc(e){return typeof e!="number"?e:`${e}px solid`}const qU=Te({prop:"border",themeKey:"borders",transform:zc}),YU=Te({prop:"borderTop",themeKey:"borders",transform:zc}),XU=Te({prop:"borderRight",themeKey:"borders",transform:zc}),QU=Te({prop:"borderBottom",themeKey:"borders",transform:zc}),ZU=Te({prop:"borderLeft",themeKey:"borders",transform:zc}),JU=Te({prop:"borderColor",themeKey:"palette"}),e6=Te({prop:"borderTopColor",themeKey:"palette"}),t6=Te({prop:"borderRightColor",themeKey:"palette"}),n6=Te({prop:"borderBottomColor",themeKey:"palette"}),r6=Te({prop:"borderLeftColor",themeKey:"palette"}),F1=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Fc(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Uc(t,r)});return Co(e,e.borderRadius,n)}return null};F1.propTypes={};F1.filterProps=["borderRadius"];const o6=Ji(qU,YU,XU,QU,ZU,JU,e6,t6,n6,r6,F1);var HP=o6;const i6=Te({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),a6=Te({prop:"display"}),s6=Te({prop:"overflow"}),l6=Te({prop:"textOverflow"}),u6=Te({prop:"visibility"}),c6=Te({prop:"whiteSpace"});var VP=Ji(i6,a6,s6,l6,u6,c6);const d6=Te({prop:"flexBasis"}),f6=Te({prop:"flexDirection"}),p6=Te({prop:"flexWrap"}),h6=Te({prop:"justifyContent"}),g6=Te({prop:"alignItems"}),m6=Te({prop:"alignContent"}),v6=Te({prop:"order"}),y6=Te({prop:"flex"}),x6=Te({prop:"flexGrow"}),b6=Te({prop:"flexShrink"}),_6=Te({prop:"alignSelf"}),C6=Te({prop:"justifyItems"}),E6=Te({prop:"justifySelf"}),w6=Ji(d6,f6,p6,h6,g6,m6,v6,y6,x6,b6,_6,C6,E6);var GP=w6;const U1=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Fc(e.theme,"spacing",8),n=r=>({gap:Uc(t,r)});return Co(e,e.gap,n)}return null};U1.propTypes={};U1.filterProps=["gap"];const z1=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Fc(e.theme,"spacing",8),n=r=>({columnGap:Uc(t,r)});return Co(e,e.columnGap,n)}return null};z1.propTypes={};z1.filterProps=["columnGap"];const j1=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Fc(e.theme,"spacing",8),n=r=>({rowGap:Uc(t,r)});return Co(e,e.rowGap,n)}return null};j1.propTypes={};j1.filterProps=["rowGap"];const S6=Te({prop:"gridColumn"}),$6=Te({prop:"gridRow"}),P6=Te({prop:"gridAutoFlow"}),R6=Te({prop:"gridAutoColumns"}),T6=Te({prop:"gridAutoRows"}),I6=Te({prop:"gridTemplateColumns"}),O6=Te({prop:"gridTemplateRows"}),k6=Te({prop:"gridTemplateAreas"}),A6=Te({prop:"gridArea"}),L6=Ji(U1,z1,j1,S6,$6,P6,R6,T6,I6,O6,k6,A6);var KP=L6;const M6=Te({prop:"color",themeKey:"palette"}),N6=Te({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),D6=Te({prop:"backgroundColor",themeKey:"palette"}),B6=Ji(M6,N6,D6);var qP=B6;const F6=Te({prop:"position"}),U6=Te({prop:"zIndex",themeKey:"zIndex"}),z6=Te({prop:"top"}),j6=Te({prop:"right"}),W6=Te({prop:"bottom"}),H6=Te({prop:"left"});var YP=Ji(F6,U6,z6,j6,W6,H6);const V6=Te({prop:"boxShadow",themeKey:"shadows"});var XP=V6;function ea(e){return e<=1&&e!==0?`${e*100}%`:e}const G6=Te({prop:"width",transform:ea}),QP=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o,a;return{maxWidth:((r=e.theme)==null||(o=r.breakpoints)==null||(a=o.values)==null?void 0:a[n])||B1[n]||ea(n)}};return Co(e,e.maxWidth,t)}return null};QP.filterProps=["maxWidth"];const K6=Te({prop:"minWidth",transform:ea}),q6=Te({prop:"height",transform:ea}),Y6=Te({prop:"maxHeight",transform:ea}),X6=Te({prop:"minHeight",transform:ea});Te({prop:"size",cssProperty:"width",transform:ea});Te({prop:"size",cssProperty:"height",transform:ea});const Q6=Te({prop:"boxSizing"}),Z6=Ji(G6,QP,K6,q6,Y6,X6,Q6);var ZP=Z6;const J6=Te({prop:"fontFamily",themeKey:"typography"}),e9=Te({prop:"fontSize",themeKey:"typography"}),t9=Te({prop:"fontStyle",themeKey:"typography"}),n9=Te({prop:"fontWeight",themeKey:"typography"}),r9=Te({prop:"letterSpacing"}),o9=Te({prop:"textTransform"}),i9=Te({prop:"lineHeight"}),a9=Te({prop:"textAlign"}),s9=Te({prop:"typography",cssProperty:!1,themeKey:"typography"}),l9=Ji(s9,J6,e9,t9,n9,r9,i9,a9,o9);var JP=l9;const YE={borders:HP.filterProps,display:VP.filterProps,flexbox:GP.filterProps,grid:KP.filterProps,positions:YP.filterProps,palette:qP.filterProps,shadows:XP.filterProps,sizing:ZP.filterProps,spacing:th.filterProps,typography:JP.filterProps},eR={borders:HP,display:VP,flexbox:GP,grid:KP,positions:YP,palette:qP,shadows:XP,sizing:ZP,spacing:th,typography:JP},u9=Object.keys(YE).reduce((e,t)=>(YE[t].forEach(n=>{e[n]=eR[t]}),e),{});function c9(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function d9(e,t){return typeof e=="function"?e(t):e}function f9(e=eR){const t=Object.keys(e).reduce((o,a)=>(e[a].filterProps.forEach(l=>{o[l]=e[a]}),o),{});function n(o,a,l){const u={[o]:a,theme:l},c=t[o];return c?c(u):{[o]:a}}function r(o){const{sx:a,theme:l={}}=o||{};if(!a)return null;function u(c){let f=c;if(typeof c=="function")f=c(l);else if(typeof c!="object")return c;if(!f)return null;const p=NU(l.breakpoints),m=Object.keys(p);let h=p;return Object.keys(f).forEach(x=>{const E=d9(f[x],l);if(E!=null)if(typeof E=="object")if(t[x])h=Vu(h,n(x,E,l));else{const _=Co({theme:l},E,y=>({[x]:y}));c9(_,E)?h[x]=r({sx:E,theme:l}):h=Vu(h,_)}else h=Vu(h,n(x,E,l))}),DU(m,h)}return Array.isArray(a)?a.map(u):u(a)}return r}const tR=f9();tR.filterProps=["sx"];var nR=tR;function ye(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}const p9=["sx"],h9=e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach(n=>{u9[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t};function W1(e){const{sx:t}=e,n=ye(e,p9),{systemProps:r,otherProps:o}=h9(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return Tu(u)?R({},r,u):r}:a=R({},r,t),R({},o,{sx:a})}function rR(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=rR(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function _e(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=rR(e))&&(r&&(r+=" "),r+=t);return r}const g9=["values","unit","step"],m9=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>R({},n,{[r.key]:r.val}),{})};function v9(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ye(e,g9),a=m9(t),l=Object.keys(a);function u(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n})`}function c(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-r/100}${n})`}function f(h,x){const E=l.indexOf(x);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n}) and (max-width:${(E!==-1&&typeof t[l[E]]=="number"?t[l[E]]:x)-r/100}${n})`}function p(h){return l.indexOf(h)+1<l.length?f(h,l[l.indexOf(h)+1]):u(h)}function m(h){const x=l.indexOf(h);return x===0?u(l[1]):x===l.length-1?c(l[x]):f(h,l[l.indexOf(h)+1]).replace("@media","@media not all and")}return R({keys:l,values:a,up:u,down:c,between:f,only:p,not:m,unit:n},o)}const y9={borderRadius:4};var x9=y9;function b9(e=8){if(e.mui)return e;const t=WP({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(a=>{const l=t(a);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}const _9=["breakpoints","palette","spacing","shape"];function H1(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={}}=e,l=ye(e,_9),u=v9(n),c=b9(o);let f=Qr({breakpoints:u,direction:"ltr",components:{},palette:R({mode:"light"},r),spacing:c,shape:R({},x9,a)},l);return f=t.reduce((p,m)=>Qr(p,m),f),f}const C9=C.exports.createContext(null);var oR=C9;function iR(){return C.exports.useContext(oR)}const E9=typeof Symbol=="function"&&Symbol.for;var w9=E9?Symbol.for("mui.nested"):"__THEME_NESTED__";function S9(e,t){return typeof t=="function"?t(e):R({},e,t)}function $9(e){const{children:t,theme:n}=e,r=iR(),o=C.exports.useMemo(()=>{const a=r===null?n:S9(r,n);return a!=null&&(a[w9]=r!==null),a},[n,r]);return D.exports.jsx(oR.Provider,{value:o,children:t})}function P9(e){return Object.keys(e).length===0}function aR(e=null){const t=iR();return!t||P9(t)?e:t}const R9=H1();function nh(e=R9){return aR(e)}const T9=["className","component"];function sR(e={}){const{defaultTheme:t,defaultClassName:n="MuiBox-root",generateClassName:r,styleFunctionSx:o=nR}=e,a=BP("div",{shouldForwardProp:u=>u!=="theme"&&u!=="sx"&&u!=="as"})(o);return C.exports.forwardRef(function(c,f){const p=nh(t),m=W1(c),{className:h,component:x="div"}=m,E=ye(m,T9);return D.exports.jsx(a,R({as:x,ref:f,className:_e(h,r?r(n):n),theme:p},E))})}const I9=sR();var ti=I9;const O9=["variant"];function XE(e){return e.length===0}function lR(e){const{variant:t}=e,n=ye(e,O9);let r=t||"";return Object.keys(n).sort().forEach(o=>{o==="color"?r+=XE(r)?e[o]:ce(e[o]):r+=`${XE(r)?o:ce(o)}${ce(e[o].toString())}`}),r}const k9=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],A9=["theme"],L9=["theme"];function cu(e){return Object.keys(e).length===0}function M9(e){return typeof e=="string"&&e.charCodeAt(0)>96}const N9=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,D9=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(o=>{const a=lR(o.props);r[a]=o.style}),r},B9=(e,t,n,r)=>{var o,a;const{ownerState:l={}}=e,u=[],c=n==null||(o=n.components)==null||(a=o[r])==null?void 0:a.variants;return c&&c.forEach(f=>{let p=!0;Object.keys(f.props).forEach(m=>{l[m]!==f.props[m]&&e[m]!==f.props[m]&&(p=!1)}),p&&u.push(t[lR(f.props)])}),u};function Gu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const F9=H1();function U9(e={}){const{defaultTheme:t=F9,rootShouldForwardProp:n=Gu,slotShouldForwardProp:r=Gu,styleFunctionSx:o=nR}=e,a=l=>{const u=cu(l.theme)?t:l.theme;return o(R({},l,{theme:u}))};return a.__mui_systemSx=!0,(l,u={})=>{bU(l,P=>P.filter(A=>!(A!=null&&A.__mui_systemSx)));const{name:c,slot:f,skipVariantsResolver:p,skipSx:m,overridesResolver:h}=u,x=ye(u,k9),E=p!==void 0?p:f&&f!=="Root"||!1,_=m||!1;let y,v=Gu;f==="Root"?v=n:f?v=r:M9(l)&&(v=void 0);const b=BP(l,R({shouldForwardProp:v,label:y},x)),S=(P,...A)=>{const k=A?A.map(B=>typeof B=="function"&&B.__emotion_real!==B?V=>{let{theme:ee}=V,X=ye(V,A9);return B(R({theme:cu(ee)?t:ee},X))}:B):[];let I=P;c&&h&&k.push(B=>{const V=cu(B.theme)?t:B.theme,ee=N9(c,V);if(ee){const X={};return Object.entries(ee).forEach(([ie,J])=>{X[ie]=typeof J=="function"?J(R({},B,{theme:V})):J}),h(B,X)}return null}),c&&!E&&k.push(B=>{const V=cu(B.theme)?t:B.theme;return B9(B,D9(c,V),V,c)}),_||k.push(a);const L=k.length-A.length;if(Array.isArray(P)&&L>0){const B=new Array(L).fill("");I=[...P,...B],I.raw=[...P.raw,...B]}else typeof P=="function"&&P.__emotion_real!==P&&(I=B=>{let{theme:V}=B,ee=ye(B,L9);return P(R({theme:cu(V)?t:V},ee))});return b(I,...k)};return b.withConfig&&(S.withConfig=b.withConfig),S}}function z9(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:zP(t.components[n].defaultProps,r)}function j9({props:e,name:t,defaultTheme:n}){const r=nh(n);return z9({theme:r,name:t,props:e})}function V1(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function W9(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Na(e){if(e.type)return e;if(e.charAt(0)==="#")return Na(W9(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Gi(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(Gi(10,o))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:o}}function rh(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function H9(e){e=Na(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),l=(f,p=(f+n/30)%12)=>o-a*Math.max(Math.min(p-3,9-p,1),-1);let u="rgb";const c=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",c.push(t[3])),rh({type:u,values:c})}function QE(e){e=Na(e);let t=e.type==="hsl"?Na(H9(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function V9(e,t){const n=QE(e),r=QE(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function st(e,t){return e=Na(e),t=V1(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,rh(e)}function uR(e,t){if(e=Na(e),t=V1(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 n=0;n<3;n+=1)e.values[n]*=1-t;return rh(e)}function cR(e,t){if(e=Na(e),t=V1(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return rh(e)}function G9(e){const t=nh();return D.exports.jsx(M1.Provider,{value:typeof t=="object"?t:{},children:e.children})}function K9(e){const{children:t,theme:n}=e;return D.exports.jsx($9,{theme:n,children:D.exports.jsx(G9,{children:t})})}function Zs(e){return typeof e=="string"}function Iu(e,t={},n){return Zs(e)?t:R({},t,{ownerState:R({},t.ownerState,n)})}function q9(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function o0(e,t){return typeof e=="function"?e(t):e}function ZE(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function Y9(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const x=_e(o==null?void 0:o.className,r==null?void 0:r.className,a,n==null?void 0:n.className),E=R({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),_=R({},n,o,r);return x.length>0&&(_.className=x),Object.keys(E).length>0&&(_.style=E),{props:_,internalRef:void 0}}const l=q9(R({},o,r)),u=ZE(r),c=ZE(o),f=t(l),p=_e(f==null?void 0:f.className,n==null?void 0:n.className,a,o==null?void 0:o.className,r==null?void 0:r.className),m=R({},f==null?void 0:f.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),h=R({},f,n,c,u);return p.length>0&&(h.className=p),Object.keys(m).length>0&&(h.style=m),{props:h,internalRef:f.ref}}const X9=["elementType","externalSlotProps","ownerState"];function yc(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=ye(e,X9),l=o0(r,o),{props:u,internalRef:c}=Y9(R({},a,{externalSlotProps:l})),f=yt(c,yt(l==null?void 0:l.ref,(t=e.additionalProps)==null?void 0:t.ref));return Iu(n,R({},u,{ref:f}),o)}function JE(e){return typeof e.normalize!="undefined"?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Q9(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:a,trim:l=!1}=e;return(u,{inputValue:c,getOptionLabel:f})=>{let p=l?c.trim():c;n&&(p=p.toLowerCase()),t&&(p=JE(p));const m=u.filter(h=>{let x=(a||f)(h);return n&&(x=x.toLowerCase()),t&&(x=JE(x)),o==="start"?x.indexOf(p)===0:x.indexOf(p)>-1});return typeof r=="number"?m.slice(0,r):m}}function Dm(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const Z9=Q9(),ew=5;function J9(e){const{autoComplete:t=!1,autoHighlight:n=!1,autoSelect:r=!1,blurOnSelect:o=!1,clearOnBlur:a=!e.freeSolo,clearOnEscape:l=!1,componentName:u="useAutocomplete",defaultValue:c=e.multiple?[]:null,disableClearable:f=!1,disableCloseOnSelect:p=!1,disabled:m,disabledItemsFocusable:h=!1,disableListWrap:x=!1,filterOptions:E=Z9,filterSelectedOptions:_=!1,freeSolo:y=!1,getOptionDisabled:v,getOptionLabel:b=de=>{var se;return(se=de.label)!=null?se:de},groupBy:S,handleHomeEndKeys:P=!e.freeSolo,id:A,includeInputInList:k=!1,inputValue:I,isOptionEqualToValue:L=(de,se)=>de===se,multiple:N=!1,onChange:B,onClose:V,onHighlightChange:ee,onInputChange:X,onOpen:ie,open:J,openOnFocus:G=!1,options:j,readOnly:te=!1,selectOnFocus:ne=!e.freeSolo,value:me}=e,H=Ma(A);let q=b;q=de=>{const se=b(de);return typeof se!="string"?String(se):se};const Z=C.exports.useRef(!1),ue=C.exports.useRef(!0),K=C.exports.useRef(null),U=C.exports.useRef(null),[Y,re]=C.exports.useState(null),[fe,we]=C.exports.useState(-1),ke=n?0:-1,Ie=C.exports.useRef(ke),[Ce,We]=Ui({controlled:me,default:c,name:u}),[Me,ft]=Ui({controlled:I,default:"",name:u,state:"inputValue"}),[ze,bt]=C.exports.useState(!1),kt=C.exports.useCallback((de,se)=>{if(!(N?Ce.length<se.length:se!==null)&&!a)return;let Qe;if(N)Qe="";else if(se==null)Qe="";else{const Dt=q(se);Qe=typeof Dt=="string"?Dt:""}Me!==Qe&&(ft(Qe),X&&X(de,Qe,"reset"))},[q,Me,N,X,ft,a,Ce]),Ge=C.exports.useRef();C.exports.useEffect(()=>{const de=Ce!==Ge.current;Ge.current=Ce,!(ze&&!de)&&(y&&!de||kt(null,Ce))},[Ce,kt,ze,Ge,y]);const[qe,vt]=Ui({controlled:J,default:!1,name:u,state:"open"}),[zt,nt]=C.exports.useState(!0),rt=!N&&Ce!=null&&Me===q(Ce),pt=qe&&!te,Pe=pt?E(j.filter(de=>!(_&&(N?Ce:[Ce]).some(se=>se!==null&&L(de,se)))),{inputValue:rt&&zt?"":Me,getOptionLabel:q}):[],be=qe&&Pe.length>0&&!te,Xe=$r(de=>{de===-1?K.current.focus():Y.querySelector(`[data-tag-index="${de}"]`).focus()});C.exports.useEffect(()=>{N&&fe>Ce.length-1&&(we(-1),Xe(-1))},[Ce,N,fe,Xe]);function Se(de,se){if(!U.current||de===-1)return-1;let Fe=de;for(;;){if(se==="next"&&Fe===Pe.length||se==="previous"&&Fe===-1)return-1;const Qe=U.current.querySelector(`[data-option-index="${Fe}"]`),Dt=h?!1:!Qe||Qe.disabled||Qe.getAttribute("aria-disabled")==="true";if(Qe&&!Qe.hasAttribute("tabindex")||Dt)Fe+=se==="next"?1:-1;else return Fe}}const et=$r(({event:de,index:se,reason:Fe="auto"})=>{if(Ie.current=se,se===-1?K.current.removeAttribute("aria-activedescendant"):K.current.setAttribute("aria-activedescendant",`${H}-option-${se}`),ee&&ee(de,se===-1?null:Pe[se],Fe),!U.current)return;const Qe=U.current.querySelector('[role="option"].Mui-focused');Qe&&(Qe.classList.remove("Mui-focused"),Qe.classList.remove("Mui-focusVisible"));const Dt=U.current.parentElement.querySelector('[role="listbox"]');if(!Dt)return;if(se===-1){Dt.scrollTop=0;return}const gn=U.current.querySelector(`[data-option-index="${se}"]`);if(!!gn&&(gn.classList.add("Mui-focused"),Fe==="keyboard"&&gn.classList.add("Mui-focusVisible"),Dt.scrollHeight>Dt.clientHeight&&Fe!=="mouse")){const dn=gn,Nr=Dt.clientHeight+Dt.scrollTop,ed=dn.offsetTop+dn.offsetHeight;ed>Nr?Dt.scrollTop=ed-Dt.clientHeight:dn.offsetTop-dn.offsetHeight*(S?1.3:0)<Dt.scrollTop&&(Dt.scrollTop=dn.offsetTop-dn.offsetHeight*(S?1.3:0))}}),Nt=$r(({event:de,diff:se,direction:Fe="next",reason:Qe="auto"})=>{if(!pt)return;const gn=Se((()=>{const dn=Pe.length-1;if(se==="reset")return ke;if(se==="start")return 0;if(se==="end")return dn;const Nr=Ie.current+se;return Nr<0?Nr===-1&&k?-1:x&&Ie.current!==-1||Math.abs(se)>1?0:dn:Nr>dn?Nr===dn+1&&k?-1:x||Math.abs(se)>1?dn:0:Nr})(),Fe);if(et({index:gn,reason:Qe,event:de}),t&&se!=="reset")if(gn===-1)K.current.value=Me;else{const dn=q(Pe[gn]);K.current.value=dn,dn.toLowerCase().indexOf(Me.toLowerCase())===0&&Me.length>0&&K.current.setSelectionRange(Me.length,dn.length)}}),Xt=C.exports.useCallback(()=>{if(!pt)return;const de=N?Ce[0]:Ce;if(Pe.length===0||de==null){Nt({diff:"reset"});return}if(!!U.current){if(de!=null){const se=Pe[Ie.current];if(N&&se&&Dm(Ce,Qe=>L(se,Qe))!==-1)return;const Fe=Dm(Pe,Qe=>L(Qe,de));Fe===-1?Nt({diff:"reset"}):et({index:Fe});return}if(Ie.current>=Pe.length-1){et({index:Pe.length-1});return}et({index:Ie.current})}},[Pe.length,N?!1:Ce,_,Nt,et,pt,Me,N]),Cn=$r(de=>{Qs(U,de),de&&Xt()});C.exports.useEffect(()=>{Xt()},[Xt]);const Tn=de=>{qe||(vt(!0),nt(!0),ie&&ie(de))},Nn=(de,se)=>{!qe||(vt(!1),V&&V(de,se))},tn=(de,se,Fe,Qe)=>{if(N){if(Ce.length===se.length&&Ce.every((Dt,gn)=>Dt===se[gn]))return}else if(Ce===se)return;B&&B(de,se,Fe,Qe),We(se)},xe=C.exports.useRef(!1),Ae=(de,se,Fe="selectOption",Qe="options")=>{let Dt=Fe,gn=se;if(N){gn=Array.isArray(Ce)?Ce.slice():[];const dn=Dm(gn,Nr=>L(se,Nr));dn===-1?gn.push(se):Qe!=="freeSolo"&&(gn.splice(dn,1),Dt="removeOption")}kt(de,gn),tn(de,gn,Dt,{option:se}),!p&&(!de||!de.ctrlKey&&!de.metaKey)&&Nn(de,Dt),(o===!0||o==="touch"&&xe.current||o==="mouse"&&!xe.current)&&K.current.blur()};function Le(de,se){if(de===-1)return-1;let Fe=de;for(;;){if(se==="next"&&Fe===Ce.length||se==="previous"&&Fe===-1)return-1;const Qe=Y.querySelector(`[data-tag-index="${Fe}"]`);if(!Qe||!Qe.hasAttribute("tabindex")||Qe.disabled||Qe.getAttribute("aria-disabled")==="true")Fe+=se==="next"?1:-1;else return Fe}}const at=(de,se)=>{if(!N)return;Me===""&&Nn(de,"toggleInput");let Fe=fe;fe===-1?Me===""&&se==="previous"&&(Fe=Ce.length-1):(Fe+=se==="next"?1:-1,Fe<0&&(Fe=0),Fe===Ce.length&&(Fe=-1)),Fe=Le(Fe,se),we(Fe),Xe(Fe)},ht=de=>{Z.current=!0,ft(""),X&&X(de,"","clear"),tn(de,N?[]:null,"clear")},Mr=de=>se=>{if(de.onKeyDown&&de.onKeyDown(se),!se.defaultMuiPrevented&&(fe!==-1&&["ArrowLeft","ArrowRight"].indexOf(se.key)===-1&&(we(-1),Xe(-1)),se.which!==229))switch(se.key){case"Home":pt&&P&&(se.preventDefault(),Nt({diff:"start",direction:"next",reason:"keyboard",event:se}));break;case"End":pt&&P&&(se.preventDefault(),Nt({diff:"end",direction:"previous",reason:"keyboard",event:se}));break;case"PageUp":se.preventDefault(),Nt({diff:-ew,direction:"previous",reason:"keyboard",event:se}),Tn(se);break;case"PageDown":se.preventDefault(),Nt({diff:ew,direction:"next",reason:"keyboard",event:se}),Tn(se);break;case"ArrowDown":se.preventDefault(),Nt({diff:1,direction:"next",reason:"keyboard",event:se}),Tn(se);break;case"ArrowUp":se.preventDefault(),Nt({diff:-1,direction:"previous",reason:"keyboard",event:se}),Tn(se);break;case"ArrowLeft":at(se,"previous");break;case"ArrowRight":at(se,"next");break;case"Enter":if(Ie.current!==-1&&pt){const Fe=Pe[Ie.current],Qe=v?v(Fe):!1;if(se.preventDefault(),Qe)return;Ae(se,Fe,"selectOption"),t&&K.current.setSelectionRange(K.current.value.length,K.current.value.length)}else y&&Me!==""&&rt===!1&&(N&&se.preventDefault(),Ae(se,Me,"createOption","freeSolo"));break;case"Escape":pt?(se.preventDefault(),se.stopPropagation(),Nn(se,"escape")):l&&(Me!==""||N&&Ce.length>0)&&(se.preventDefault(),se.stopPropagation(),ht(se));break;case"Backspace":if(N&&!te&&Me===""&&Ce.length>0){const Fe=fe===-1?Ce.length-1:fe,Qe=Ce.slice();Qe.splice(Fe,1),tn(se,Qe,"removeOption",{option:Ce[Fe]})}break}},Vo=de=>{bt(!0),G&&!Z.current&&Tn(de)},Kn=de=>{if(U.current!==null&&U.current.parentElement.contains(document.activeElement)){K.current.focus();return}bt(!1),ue.current=!0,Z.current=!1,r&&Ie.current!==-1&&pt?Ae(de,Pe[Ie.current],"blur"):r&&y&&Me!==""?Ae(de,Me,"blur","freeSolo"):a&&kt(de,Ce),Nn(de,"blur")},yr=de=>{const se=de.target.value;Me!==se&&(ft(se),nt(!1),X&&X(de,se,"input")),se===""?!f&&!N&&tn(de,null,"clear"):Tn(de)},xr=de=>{et({event:de,index:Number(de.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},lt=()=>{xe.current=!0},an=de=>{const se=Number(de.currentTarget.getAttribute("data-option-index"));Ae(de,Pe[se],"selectOption"),xe.current=!1},Dn=de=>se=>{const Fe=Ce.slice();Fe.splice(de,1),tn(se,Fe,"removeOption",{option:Ce[de]})},tr=de=>{qe?Nn(de,"toggleInput"):Tn(de)},Ll=de=>{de.target.getAttribute("id")!==H&&de.preventDefault()},oa=()=>{K.current.focus(),ne&&ue.current&&K.current.selectionEnd-K.current.selectionStart===0&&K.current.select(),ue.current=!1},Ml=de=>{(Me===""||!qe)&&tr(de)};let Je=y&&Me.length>0;Je=Je||(N?Ce.length>0:Ce!==null);let cn=Pe;return S&&(cn=Pe.reduce((de,se,Fe)=>{const Qe=S(se);return de.length>0&&de[de.length-1].group===Qe?de[de.length-1].options.push(se):de.push({key:Fe,index:Fe,group:Qe,options:[se]}),de},[])),m&&ze&&Kn(),{getRootProps:(de={})=>R({"aria-owns":be?`${H}-listbox`:null},de,{onKeyDown:Mr(de),onMouseDown:Ll,onClick:oa}),getInputLabelProps:()=>({id:`${H}-label`,htmlFor:H}),getInputProps:()=>({id:H,value:Me,onBlur:Kn,onFocus:Vo,onChange:yr,onMouseDown:Ml,"aria-activedescendant":pt?"":null,"aria-autocomplete":t?"both":"list","aria-controls":be?`${H}-listbox`:void 0,"aria-expanded":be,autoComplete:"off",ref:K,autoCapitalize:"none",spellCheck:"false",role:"combobox"}),getClearProps:()=>({tabIndex:-1,onClick:ht}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:tr}),getTagProps:({index:de})=>R({key:de,"data-tag-index":de,tabIndex:-1},!te&&{onDelete:Dn(de)}),getListboxProps:()=>({role:"listbox",id:`${H}-listbox`,"aria-labelledby":`${H}-label`,ref:Cn,onMouseDown:de=>{de.preventDefault()}}),getOptionProps:({index:de,option:se})=>{const Fe=(N?Ce:[Ce]).some(Dt=>Dt!=null&&L(se,Dt)),Qe=v?v(se):!1;return{key:q(se),tabIndex:-1,role:"option",id:`${H}-option-${de}`,onMouseOver:xr,onClick:an,onTouchStart:lt,"data-option-index":de,"aria-disabled":Qe,"aria-selected":Fe}},id:H,inputValue:Me,value:Ce,dirty:Je,popupOpen:pt,focused:ze||fe!==-1,anchorEl:Y,setAnchorEl:re,focusedTag:fe,groupedOptions:cn}}function ez(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=UP({badgeContent:t,max:r});let l=n;n===!1&&t===0&&!o&&(l=!0);const{badgeContent:u,max:c=r}=l?a:e,f=u&&Number(u)>c?`${c}+`:u;return{badgeContent:u,invisible:l,max:c,displayValue:f}}function tz(e){return De("BaseBadge",e)}Ne("BaseBadge",["root","badge","invisible"]);const nz=["badgeContent","component","children","components","componentsProps","invisible","max","showZero"],rz=e=>{const{invisible:t}=e;return Be({root:["root"],badge:["badge",t&&"invisible"]},tz,void 0)},oz=C.exports.forwardRef(function(t,n){const{component:r,children:o,components:a={},componentsProps:l={},max:u=99,showZero:c=!1}=t,f=ye(t,nz),{badgeContent:p,max:m,displayValue:h,invisible:x}=ez(R({},t,{max:u})),E=R({},t,{badgeContent:p,invisible:x,max:m,showZero:c}),_=rz(E),y=r||a.Root||"span",v=yc({elementType:y,externalSlotProps:l.root,externalForwardedProps:f,additionalProps:{ref:n},ownerState:E,className:_.root}),b=a.Badge||"span",S=yc({elementType:b,externalSlotProps:l.badge,ownerState:E,className:_.badge});return D.exports.jsxs(y,R({},v,{children:[o,D.exports.jsx(b,R({},S,{children:h}))]}))});var iz=oz;function tw(e){return e.substring(2).toLowerCase()}function az(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function sz(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:o,touchEvent:a="onTouchEnd"}=e,l=C.exports.useRef(!1),u=C.exports.useRef(null),c=C.exports.useRef(!1),f=C.exports.useRef(!1);C.exports.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const p=yt(t.ref,u),m=$r(E=>{const _=f.current;f.current=!1;const y=$n(u.current);if(!c.current||!u.current||"clientX"in E&&az(E,y))return;if(l.current){l.current=!1;return}let v;E.composedPath?v=E.composedPath().indexOf(u.current)>-1:v=!y.documentElement.contains(E.target)||u.current.contains(E.target),!v&&(n||!_)&&o(E)}),h=E=>_=>{f.current=!0;const y=t.props[E];y&&y(_)},x={ref:p};return a!==!1&&(x[a]=h(a)),C.exports.useEffect(()=>{if(a!==!1){const E=tw(a),_=$n(u.current),y=()=>{l.current=!0};return _.addEventListener(E,m),_.addEventListener("touchmove",y),()=>{_.removeEventListener(E,m),_.removeEventListener("touchmove",y)}}},[m,a]),r!==!1&&(x[r]=h(r)),C.exports.useEffect(()=>{if(r!==!1){const E=tw(r),_=$n(u.current);return _.addEventListener(E,m),()=>{_.removeEventListener(E,m)}}},[m,r]),D.exports.jsx(C.exports.Fragment,{children:C.exports.cloneElement(t,x)})}var fr="top",to="bottom",no="right",pr="left",G1="auto",jc=[fr,to,no,pr],Js="start",xc="end",lz="clippingParents",dR="viewport",du="popper",uz="reference",nw=jc.reduce(function(e,t){return e.concat([t+"-"+Js,t+"-"+xc])},[]),fR=[].concat(jc,[G1]).reduce(function(e,t){return e.concat([t,t+"-"+Js,t+"-"+xc])},[]),cz="beforeRead",dz="read",fz="afterRead",pz="beforeMain",hz="main",gz="afterMain",mz="beforeWrite",vz="write",yz="afterWrite",xz=[cz,dz,fz,pz,hz,gz,mz,vz,yz];function Wo(e){return e?(e.nodeName||"").toLowerCase():null}function oo(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Da(e){var t=oo(e).Element;return e instanceof t||e instanceof Element}function Zr(e){var t=oo(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function K1(e){if(typeof ShadowRoot=="undefined")return!1;var t=oo(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function bz(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},a=t.elements[n];!Zr(a)||!Wo(a)||(Object.assign(a.style,r),Object.keys(o).forEach(function(l){var u=o[l];u===!1?a.removeAttribute(l):a.setAttribute(l,u===!0?"":u)}))})}function _z(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],a=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=l.reduce(function(c,f){return c[f]="",c},{});!Zr(o)||!Wo(o)||(Object.assign(o.style,u),Object.keys(a).forEach(function(c){o.removeAttribute(c)}))})}}var Cz={name:"applyStyles",enabled:!0,phase:"write",fn:bz,effect:_z,requires:["computeStyles"]};function zo(e){return e.split("-")[0]}var Ta=Math.max,ap=Math.min,el=Math.round;function i0(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function pR(){return!/^((?!chrome|android).)*safari/i.test(i0())}function tl(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Zr(e)&&(o=e.offsetWidth>0&&el(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&el(r.height)/e.offsetHeight||1);var l=Da(e)?oo(e):window,u=l.visualViewport,c=!pR()&&n,f=(r.left+(c&&u?u.offsetLeft:0))/o,p=(r.top+(c&&u?u.offsetTop:0))/a,m=r.width/o,h=r.height/a;return{width:m,height:h,top:p,right:f+m,bottom:p+h,left:f,x:f,y:p}}function q1(e){var t=tl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function hR(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&K1(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ci(e){return oo(e).getComputedStyle(e)}function Ez(e){return["table","td","th"].indexOf(Wo(e))>=0}function ta(e){return((Da(e)?e.ownerDocument:e.document)||window.document).documentElement}function oh(e){return Wo(e)==="html"?e:e.assignedSlot||e.parentNode||(K1(e)?e.host:null)||ta(e)}function rw(e){return!Zr(e)||ci(e).position==="fixed"?null:e.offsetParent}function wz(e){var t=/firefox/i.test(i0()),n=/Trident/i.test(i0());if(n&&Zr(e)){var r=ci(e);if(r.position==="fixed")return null}var o=oh(e);for(K1(o)&&(o=o.host);Zr(o)&&["html","body"].indexOf(Wo(o))<0;){var a=ci(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function Wc(e){for(var t=oo(e),n=rw(e);n&&Ez(n)&&ci(n).position==="static";)n=rw(n);return n&&(Wo(n)==="html"||Wo(n)==="body"&&ci(n).position==="static")?t:n||wz(e)||t}function Y1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ku(e,t,n){return Ta(e,ap(t,n))}function Sz(e,t,n){var r=Ku(e,t,n);return r>n?n:r}function gR(){return{top:0,right:0,bottom:0,left:0}}function mR(e){return Object.assign({},gR(),e)}function vR(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var $z=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,mR(typeof t!="number"?t:vR(t,jc))};function Pz(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=zo(n.placement),c=Y1(u),f=[pr,no].indexOf(u)>=0,p=f?"height":"width";if(!(!a||!l)){var m=$z(o.padding,n),h=q1(a),x=c==="y"?fr:pr,E=c==="y"?to:no,_=n.rects.reference[p]+n.rects.reference[c]-l[c]-n.rects.popper[p],y=l[c]-n.rects.reference[c],v=Wc(a),b=v?c==="y"?v.clientHeight||0:v.clientWidth||0:0,S=_/2-y/2,P=m[x],A=b-h[p]-m[E],k=b/2-h[p]/2+S,I=Ku(P,k,A),L=c;n.modifiersData[r]=(t={},t[L]=I,t.centerOffset=I-k,t)}}function Rz(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||!hR(t.elements.popper,o)||(t.elements.arrow=o))}var Tz={name:"arrow",enabled:!0,phase:"main",fn:Pz,effect:Rz,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function nl(e){return e.split("-")[1]}var Iz={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Oz(e){var t=e.x,n=e.y,r=window,o=r.devicePixelRatio||1;return{x:el(t*o)/o||0,y:el(n*o)/o||0}}function ow(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,l=e.offsets,u=e.position,c=e.gpuAcceleration,f=e.adaptive,p=e.roundOffsets,m=e.isFixed,h=l.x,x=h===void 0?0:h,E=l.y,_=E===void 0?0:E,y=typeof p=="function"?p({x,y:_}):{x,y:_};x=y.x,_=y.y;var v=l.hasOwnProperty("x"),b=l.hasOwnProperty("y"),S=pr,P=fr,A=window;if(f){var k=Wc(n),I="clientHeight",L="clientWidth";if(k===oo(n)&&(k=ta(n),ci(k).position!=="static"&&u==="absolute"&&(I="scrollHeight",L="scrollWidth")),k=k,o===fr||(o===pr||o===no)&&a===xc){P=to;var N=m&&k===A&&A.visualViewport?A.visualViewport.height:k[I];_-=N-r.height,_*=c?1:-1}if(o===pr||(o===fr||o===to)&&a===xc){S=no;var B=m&&k===A&&A.visualViewport?A.visualViewport.width:k[L];x-=B-r.width,x*=c?1:-1}}var V=Object.assign({position:u},f&&Iz),ee=p===!0?Oz({x,y:_}):{x,y:_};if(x=ee.x,_=ee.y,c){var X;return Object.assign({},V,(X={},X[P]=b?"0":"",X[S]=v?"0":"",X.transform=(A.devicePixelRatio||1)<=1?"translate("+x+"px, "+_+"px)":"translate3d("+x+"px, "+_+"px, 0)",X))}return Object.assign({},V,(t={},t[P]=b?_+"px":"",t[S]=v?x+"px":"",t.transform="",t))}function kz(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,a=n.adaptive,l=a===void 0?!0:a,u=n.roundOffsets,c=u===void 0?!0:u,f={placement:zo(t.placement),variation:nl(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,ow(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ow(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Az={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:kz,data:{}},nf={passive:!0};function Lz(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=o===void 0?!0:o,l=r.resize,u=l===void 0?!0:l,c=oo(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&f.forEach(function(p){p.addEventListener("scroll",n.update,nf)}),u&&c.addEventListener("resize",n.update,nf),function(){a&&f.forEach(function(p){p.removeEventListener("scroll",n.update,nf)}),u&&c.removeEventListener("resize",n.update,nf)}}var Mz={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Lz,data:{}},Nz={left:"right",right:"left",bottom:"top",top:"bottom"};function If(e){return e.replace(/left|right|bottom|top/g,function(t){return Nz[t]})}var Dz={start:"end",end:"start"};function iw(e){return e.replace(/start|end/g,function(t){return Dz[t]})}function X1(e){var t=oo(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Q1(e){return tl(ta(e)).left+X1(e).scrollLeft}function Bz(e,t){var n=oo(e),r=ta(e),o=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,c=0;if(o){a=o.width,l=o.height;var f=pR();(f||!f&&t==="fixed")&&(u=o.offsetLeft,c=o.offsetTop)}return{width:a,height:l,x:u+Q1(e),y:c}}function Fz(e){var t,n=ta(e),r=X1(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=Ta(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=Ta(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+Q1(e),c=-r.scrollTop;return ci(o||n).direction==="rtl"&&(u+=Ta(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:l,x:u,y:c}}function Z1(e){var t=ci(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function yR(e){return["html","body","#document"].indexOf(Wo(e))>=0?e.ownerDocument.body:Zr(e)&&Z1(e)?e:yR(oh(e))}function qu(e,t){var n;t===void 0&&(t=[]);var r=yR(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=oo(r),l=o?[a].concat(a.visualViewport||[],Z1(r)?r:[]):r,u=t.concat(l);return o?u:u.concat(qu(oh(l)))}function a0(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Uz(e,t){var n=tl(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function aw(e,t,n){return t===dR?a0(Bz(e,n)):Da(t)?Uz(t,n):a0(Fz(ta(e)))}function zz(e){var t=qu(oh(e)),n=["absolute","fixed"].indexOf(ci(e).position)>=0,r=n&&Zr(e)?Wc(e):e;return Da(r)?t.filter(function(o){return Da(o)&&hR(o,r)&&Wo(o)!=="body"}):[]}function jz(e,t,n,r){var o=t==="clippingParents"?zz(e):[].concat(t),a=[].concat(o,[n]),l=a[0],u=a.reduce(function(c,f){var p=aw(e,f,r);return c.top=Ta(p.top,c.top),c.right=ap(p.right,c.right),c.bottom=ap(p.bottom,c.bottom),c.left=Ta(p.left,c.left),c},aw(e,l,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function xR(e){var t=e.reference,n=e.element,r=e.placement,o=r?zo(r):null,a=r?nl(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,c;switch(o){case fr:c={x:l,y:t.y-n.height};break;case to:c={x:l,y:t.y+t.height};break;case no:c={x:t.x+t.width,y:u};break;case pr:c={x:t.x-n.width,y:u};break;default:c={x:t.x,y:t.y}}var f=o?Y1(o):null;if(f!=null){var p=f==="y"?"height":"width";switch(a){case Js:c[f]=c[f]-(t[p]/2-n[p]/2);break;case xc:c[f]=c[f]+(t[p]/2-n[p]/2);break}}return c}function bc(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,a=n.strategy,l=a===void 0?e.strategy:a,u=n.boundary,c=u===void 0?lz:u,f=n.rootBoundary,p=f===void 0?dR:f,m=n.elementContext,h=m===void 0?du:m,x=n.altBoundary,E=x===void 0?!1:x,_=n.padding,y=_===void 0?0:_,v=mR(typeof y!="number"?y:vR(y,jc)),b=h===du?uz:du,S=e.rects.popper,P=e.elements[E?b:h],A=jz(Da(P)?P:P.contextElement||ta(e.elements.popper),c,p,l),k=tl(e.elements.reference),I=xR({reference:k,element:S,strategy:"absolute",placement:o}),L=a0(Object.assign({},S,I)),N=h===du?L:k,B={top:A.top-N.top+v.top,bottom:N.bottom-A.bottom+v.bottom,left:A.left-N.left+v.left,right:N.right-A.right+v.right},V=e.modifiersData.offset;if(h===du&&V){var ee=V[o];Object.keys(B).forEach(function(X){var ie=[no,to].indexOf(X)>=0?1:-1,J=[fr,to].indexOf(X)>=0?"y":"x";B[X]+=ee[J]*ie})}return B}function Wz(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,l=n.padding,u=n.flipVariations,c=n.allowedAutoPlacements,f=c===void 0?fR:c,p=nl(r),m=p?u?nw:nw.filter(function(E){return nl(E)===p}):jc,h=m.filter(function(E){return f.indexOf(E)>=0});h.length===0&&(h=m);var x=h.reduce(function(E,_){return E[_]=bc(e,{placement:_,boundary:o,rootBoundary:a,padding:l})[zo(_)],E},{});return Object.keys(x).sort(function(E,_){return x[E]-x[_]})}function Hz(e){if(zo(e)===G1)return[];var t=If(e);return[iw(e),t,iw(t)]}function Vz(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=o===void 0?!0:o,l=n.altAxis,u=l===void 0?!0:l,c=n.fallbackPlacements,f=n.padding,p=n.boundary,m=n.rootBoundary,h=n.altBoundary,x=n.flipVariations,E=x===void 0?!0:x,_=n.allowedAutoPlacements,y=t.options.placement,v=zo(y),b=v===y,S=c||(b||!E?[If(y)]:Hz(y)),P=[y].concat(S).reduce(function(ue,K){return ue.concat(zo(K)===G1?Wz(t,{placement:K,boundary:p,rootBoundary:m,padding:f,flipVariations:E,allowedAutoPlacements:_}):K)},[]),A=t.rects.reference,k=t.rects.popper,I=new Map,L=!0,N=P[0],B=0;B<P.length;B++){var V=P[B],ee=zo(V),X=nl(V)===Js,ie=[fr,to].indexOf(ee)>=0,J=ie?"width":"height",G=bc(t,{placement:V,boundary:p,rootBoundary:m,altBoundary:h,padding:f}),j=ie?X?no:pr:X?to:fr;A[J]>k[J]&&(j=If(j));var te=If(j),ne=[];if(a&&ne.push(G[ee]<=0),u&&ne.push(G[j]<=0,G[te]<=0),ne.every(function(ue){return ue})){N=V,L=!1;break}I.set(V,ne)}if(L)for(var me=E?3:1,H=function(K){var U=P.find(function(Y){var re=I.get(Y);if(re)return re.slice(0,K).every(function(fe){return fe})});if(U)return N=U,"break"},q=me;q>0;q--){var Z=H(q);if(Z==="break")break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}}var Gz={name:"flip",enabled:!0,phase:"main",fn:Vz,requiresIfExists:["offset"],data:{_skip:!1}};function sw(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function lw(e){return[fr,no,to,pr].some(function(t){return e[t]>=0})}function Kz(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,l=bc(t,{elementContext:"reference"}),u=bc(t,{altBoundary:!0}),c=sw(l,r),f=sw(u,o,a),p=lw(c),m=lw(f);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:f,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}var qz={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Kz};function Yz(e,t,n){var r=zo(e),o=[pr,fr].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],u=a[1];return l=l||0,u=(u||0)*o,[pr,no].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function Xz(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=o===void 0?[0,0]:o,l=fR.reduce(function(p,m){return p[m]=Yz(m,t.rects,a),p},{}),u=l[t.placement],c=u.x,f=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=l}var Qz={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Xz};function Zz(e){var t=e.state,n=e.name;t.modifiersData[n]=xR({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Jz={name:"popperOffsets",enabled:!0,phase:"read",fn:Zz,data:{}};function ej(e){return e==="x"?"y":"x"}function tj(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=o===void 0?!0:o,l=n.altAxis,u=l===void 0?!1:l,c=n.boundary,f=n.rootBoundary,p=n.altBoundary,m=n.padding,h=n.tether,x=h===void 0?!0:h,E=n.tetherOffset,_=E===void 0?0:E,y=bc(t,{boundary:c,rootBoundary:f,padding:m,altBoundary:p}),v=zo(t.placement),b=nl(t.placement),S=!b,P=Y1(v),A=ej(P),k=t.modifiersData.popperOffsets,I=t.rects.reference,L=t.rects.popper,N=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,B=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ee={x:0,y:0};if(!!k){if(a){var X,ie=P==="y"?fr:pr,J=P==="y"?to:no,G=P==="y"?"height":"width",j=k[P],te=j+y[ie],ne=j-y[J],me=x?-L[G]/2:0,H=b===Js?I[G]:L[G],q=b===Js?-L[G]:-I[G],Z=t.elements.arrow,ue=x&&Z?q1(Z):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:gR(),U=K[ie],Y=K[J],re=Ku(0,I[G],ue[G]),fe=S?I[G]/2-me-re-U-B.mainAxis:H-re-U-B.mainAxis,we=S?-I[G]/2+me+re+Y+B.mainAxis:q+re+Y+B.mainAxis,ke=t.elements.arrow&&Wc(t.elements.arrow),Ie=ke?P==="y"?ke.clientTop||0:ke.clientLeft||0:0,Ce=(X=V==null?void 0:V[P])!=null?X:0,We=j+fe-Ce-Ie,Me=j+we-Ce,ft=Ku(x?ap(te,We):te,j,x?Ta(ne,Me):ne);k[P]=ft,ee[P]=ft-j}if(u){var ze,bt=P==="x"?fr:pr,kt=P==="x"?to:no,Ge=k[A],qe=A==="y"?"height":"width",vt=Ge+y[bt],zt=Ge-y[kt],nt=[fr,pr].indexOf(v)!==-1,rt=(ze=V==null?void 0:V[A])!=null?ze:0,pt=nt?vt:Ge-I[qe]-L[qe]-rt+B.altAxis,Pe=nt?Ge+I[qe]+L[qe]-rt-B.altAxis:zt,be=x&&nt?Sz(pt,Ge,Pe):Ku(x?pt:vt,Ge,x?Pe:zt);k[A]=be,ee[A]=be-Ge}t.modifiersData[r]=ee}}var nj={name:"preventOverflow",enabled:!0,phase:"main",fn:tj,requiresIfExists:["offset"]};function rj(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function oj(e){return e===oo(e)||!Zr(e)?X1(e):rj(e)}function ij(e){var t=e.getBoundingClientRect(),n=el(t.width)/e.offsetWidth||1,r=el(t.height)/e.offsetHeight||1;return n!==1||r!==1}function aj(e,t,n){n===void 0&&(n=!1);var r=Zr(t),o=Zr(t)&&ij(t),a=ta(t),l=tl(e,o,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Wo(t)!=="body"||Z1(a))&&(u=oj(t)),Zr(t)?(c=tl(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Q1(a))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function sj(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function o(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var c=t.get(u);c&&o(c)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||o(a)}),r}function lj(e){var t=sj(e);return xz.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function uj(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function cj(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var uw={placement:"bottom",modifiers:[],strategy:"absolute"};function cw(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function dj(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,a=o===void 0?uw:o;return function(u,c,f){f===void 0&&(f=a);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},uw,a),modifiersData:{},elements:{reference:u,popper:c},attributes:{},styles:{}},m=[],h=!1,x={state:p,setOptions:function(v){var b=typeof v=="function"?v(p.options):v;_(),p.options=Object.assign({},a,p.options,b),p.scrollParents={reference:Da(u)?qu(u):u.contextElement?qu(u.contextElement):[],popper:qu(c)};var S=lj(cj([].concat(r,p.options.modifiers)));return p.orderedModifiers=S.filter(function(P){return P.enabled}),E(),x.update()},forceUpdate:function(){if(!h){var v=p.elements,b=v.reference,S=v.popper;if(!!cw(b,S)){p.rects={reference:aj(b,Wc(S),p.options.strategy==="fixed"),popper:q1(S)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(B){return p.modifiersData[B.name]=Object.assign({},B.data)});for(var P=0;P<p.orderedModifiers.length;P++){if(p.reset===!0){p.reset=!1,P=-1;continue}var A=p.orderedModifiers[P],k=A.fn,I=A.options,L=I===void 0?{}:I,N=A.name;typeof k=="function"&&(p=k({state:p,options:L,name:N,instance:x})||p)}}}},update:uj(function(){return new Promise(function(y){x.forceUpdate(),y(p)})}),destroy:function(){_(),h=!0}};if(!cw(u,c))return x;x.setOptions(f).then(function(y){!h&&f.onFirstUpdate&&f.onFirstUpdate(y)});function E(){p.orderedModifiers.forEach(function(y){var v=y.name,b=y.options,S=b===void 0?{}:b,P=y.effect;if(typeof P=="function"){var A=P({state:p,name:v,instance:x,options:S}),k=function(){};m.push(A||k)}})}function _(){m.forEach(function(y){return y()}),m=[]}return x}}var fj=[Mz,Jz,Az,Cz,Qz,Gz,nj,Tz,qz],pj=dj({defaultModifiers:fj});function hj(e){return typeof e=="function"?e():e}const gj=C.exports.forwardRef(function(t,n){const{children:r,container:o,disablePortal:a=!1}=t,[l,u]=C.exports.useState(null),c=yt(C.exports.isValidElement(r)?r.ref:null,n);return bo(()=>{a||u(hj(o)||document.body)},[o,a]),bo(()=>{if(l&&!a)return Qs(n,l),()=>{Qs(n,null)}},[n,l,a]),a?C.exports.isValidElement(r)?C.exports.cloneElement(r,{ref:c}):r:l&&Oc.exports.createPortal(r,l)});var bR=gj;function mj(e){return De("MuiPopperUnstyled",e)}Ne("MuiPopperUnstyled",["root"]);const vj=["anchorEl","children","component","components","componentsProps","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],yj=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function xj(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function s0(e){return typeof e=="function"?e():e}const bj=()=>Be({root:["root"]},mj,{}),_j={},Cj=C.exports.forwardRef(function(t,n){var r;const{anchorEl:o,children:a,component:l,components:u={},componentsProps:c={},direction:f,disablePortal:p,modifiers:m,open:h,ownerState:x,placement:E,popperOptions:_,popperRef:y,TransitionProps:v}=t,b=ye(t,vj),S=C.exports.useRef(null),P=yt(S,n),A=C.exports.useRef(null),k=yt(A,y),I=C.exports.useRef(k);bo(()=>{I.current=k},[k]),C.exports.useImperativeHandle(y,()=>A.current,[]);const L=xj(E,f),[N,B]=C.exports.useState(L);C.exports.useEffect(()=>{A.current&&A.current.forceUpdate()}),bo(()=>{if(!o||!h)return;const J=te=>{B(te.placement)};s0(o);let G=[{name:"preventOverflow",options:{altBoundary:p}},{name:"flip",options:{altBoundary:p}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:te})=>{J(te)}}];m!=null&&(G=G.concat(m)),_&&_.modifiers!=null&&(G=G.concat(_.modifiers));const j=pj(s0(o),S.current,R({placement:L},_,{modifiers:G}));return I.current(j),()=>{j.destroy(),I.current(null)}},[o,p,m,h,_,L]);const V={placement:N};v!==null&&(V.TransitionProps=v);const ee=bj(),X=(r=l!=null?l:u.Root)!=null?r:"div",ie=yc({elementType:X,externalSlotProps:c.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:P},ownerState:R({},t,x),className:ee.root});return D.exports.jsx(X,R({},ie,{children:typeof a=="function"?a(V):a}))}),Ej=C.exports.forwardRef(function(t,n){const{anchorEl:r,children:o,container:a,direction:l="ltr",disablePortal:u=!1,keepMounted:c=!1,modifiers:f,open:p,placement:m="bottom",popperOptions:h=_j,popperRef:x,style:E,transition:_=!1}=t,y=ye(t,yj),[v,b]=C.exports.useState(!0),S=()=>{b(!1)},P=()=>{b(!0)};if(!c&&!p&&(!_||v))return null;const A=a||(r?$n(s0(r)).body:void 0);return D.exports.jsx(bR,{disablePortal:u,container:A,children:D.exports.jsx(Cj,R({anchorEl:r,direction:l,disablePortal:u,modifiers:f,ref:n,open:_?!v:p,placement:m,popperOptions:h,popperRef:x},y,{style:R({position:"fixed",top:0,left:0,display:!p&&c&&(!_||v)?"none":null},E),TransitionProps:_?{in:p,onEnter:S,onExited:P}:null,children:o}))})});var wj=Ej;function Sj(e){const t=$n(e);return t.body===e?jo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Yu(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function dw(e){return parseInt(jo(e).getComputedStyle(e).paddingRight,10)||0}function $j(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function fw(e,t,n,r=[],o){const a=[t,n,...r];[].forEach.call(e.children,l=>{const u=a.indexOf(l)===-1,c=!$j(l);u&&c&&Yu(l,o)})}function Bm(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function Pj(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(Sj(r)){const l=FP($n(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${dw(r)+l}px`;const u=$n(r).querySelectorAll(".mui-fixed");[].forEach.call(u,c=>{n.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${dw(c)+l}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=$n(r).body;else{const l=r.parentElement,u=jo(r);a=(l==null?void 0:l.nodeName)==="HTML"&&u.getComputedStyle(l).overflowY==="scroll"?l:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:l,property:u})=>{a?l.style.setProperty(u,a):l.style.removeProperty(u)})}}function Rj(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Tj{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Yu(t.modalRef,!1);const o=Rj(n);fw(n,t.mount,t.modalRef,o,!0);const a=Bm(this.containers,l=>l.container===n);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Bm(this.containers,a=>a.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=Pj(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Bm(this.containers,l=>l.modals.indexOf(t)!==-1),a=this.containers[o];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&Yu(t.modalRef,n),fw(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(o,1);else{const l=a.modals[a.modals.length-1];l.modalRef&&Yu(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Ij=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Oj(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function kj(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function Aj(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||kj(e))}function Lj(e){const t=[],n=[];return Array.from(e.querySelectorAll(Ij)).forEach((r,o)=>{const a=Oj(r);a===-1||!Aj(r)||(a===0?t.push(r):n.push({documentOrder:o,tabIndex:a,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function Mj(){return!0}function Nj(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=Lj,isEnabled:l=Mj,open:u}=e,c=C.exports.useRef(),f=C.exports.useRef(null),p=C.exports.useRef(null),m=C.exports.useRef(null),h=C.exports.useRef(null),x=C.exports.useRef(!1),E=C.exports.useRef(null),_=yt(t.ref,E),y=C.exports.useRef(null);C.exports.useEffect(()=>{!u||!E.current||(x.current=!n)},[n,u]),C.exports.useEffect(()=>{if(!u||!E.current)return;const S=$n(E.current);return E.current.contains(S.activeElement)||(E.current.hasAttribute("tabIndex")||E.current.setAttribute("tabIndex",-1),x.current&&E.current.focus()),()=>{o||(m.current&&m.current.focus&&(c.current=!0,m.current.focus()),m.current=null)}},[u]),C.exports.useEffect(()=>{if(!u||!E.current)return;const S=$n(E.current),P=I=>{const{current:L}=E;if(L!==null){if(!S.hasFocus()||r||!l()||c.current){c.current=!1;return}if(!L.contains(S.activeElement)){if(I&&h.current!==I.target||S.activeElement!==h.current)h.current=null;else if(h.current!==null)return;if(!x.current)return;let V=[];if((S.activeElement===f.current||S.activeElement===p.current)&&(V=a(E.current)),V.length>0){var N,B;const ee=Boolean(((N=y.current)==null?void 0:N.shiftKey)&&((B=y.current)==null?void 0:B.key)==="Tab"),X=V[0],ie=V[V.length-1];ee?ie.focus():X.focus()}else L.focus()}}},A=I=>{y.current=I,!(r||!l()||I.key!=="Tab")&&S.activeElement===E.current&&I.shiftKey&&(c.current=!0,p.current.focus())};S.addEventListener("focusin",P),S.addEventListener("keydown",A,!0);const k=setInterval(()=>{S.activeElement.tagName==="BODY"&&P()},50);return()=>{clearInterval(k),S.removeEventListener("focusin",P),S.removeEventListener("keydown",A,!0)}},[n,r,o,l,u,a]);const v=S=>{m.current===null&&(m.current=S.relatedTarget),x.current=!0,h.current=S.target;const P=t.props.onFocus;P&&P(S)},b=S=>{m.current===null&&(m.current=S.relatedTarget),x.current=!0};return D.exports.jsxs(C.exports.Fragment,{children:[D.exports.jsx("div",{tabIndex:u?0:-1,onFocus:b,ref:f,"data-testid":"sentinelStart"}),C.exports.cloneElement(t,{ref:_,onFocus:v}),D.exports.jsx("div",{tabIndex:u?0:-1,onFocus:b,ref:p,"data-testid":"sentinelEnd"})]})}function Dj(e){return De("MuiModal",e)}Ne("MuiModal",["root","hidden"]);const Bj=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"],Fj=e=>{const{open:t,exited:n,classes:r}=e;return Be({root:["root",!t&&n&&"hidden"]},Dj,r)};function Uj(e){return typeof e=="function"?e():e}function zj(e){return e.children?e.children.props.hasOwnProperty("in"):!1}const jj=new Tj,Wj=C.exports.forwardRef(function(t,n){var r;const{children:o,classes:a,closeAfterTransition:l=!1,component:u="div",components:c={},componentsProps:f={},container:p,disableAutoFocus:m=!1,disableEnforceFocus:h=!1,disableEscapeKeyDown:x=!1,disablePortal:E=!1,disableRestoreFocus:_=!1,disableScrollLock:y=!1,hideBackdrop:v=!1,keepMounted:b=!1,manager:S=jj,onBackdropClick:P,onClose:A,onKeyDown:k,open:I,onTransitionEnter:L,onTransitionExited:N}=t,B=ye(t,Bj),[V,ee]=C.exports.useState(!0),X=C.exports.useRef({}),ie=C.exports.useRef(null),J=C.exports.useRef(null),G=yt(J,n),j=zj(t),te=(r=t["aria-hidden"])!=null?r:!0,ne=()=>$n(ie.current),me=()=>(X.current.modalRef=J.current,X.current.mountNode=ie.current,X.current),H=()=>{S.mount(me(),{disableScrollLock:y}),J.current.scrollTop=0},q=$r(()=>{const ze=Uj(p)||ne().body;S.add(me(),ze),J.current&&H()}),Z=C.exports.useCallback(()=>S.isTopModal(me()),[S]),ue=$r(ze=>{ie.current=ze,ze&&(I&&Z()?H():Yu(J.current,te))}),K=C.exports.useCallback(()=>{S.remove(me(),te)},[S,te]);C.exports.useEffect(()=>()=>{K()},[K]),C.exports.useEffect(()=>{I?q():(!j||!l)&&K()},[I,K,j,l,q]);const U=R({},t,{classes:a,closeAfterTransition:l,disableAutoFocus:m,disableEnforceFocus:h,disableEscapeKeyDown:x,disablePortal:E,disableRestoreFocus:_,disableScrollLock:y,exited:V,hideBackdrop:v,keepMounted:b}),Y=Fj(U),re=()=>{ee(!1),L&&L()},fe=()=>{ee(!0),N&&N(),l&&K()},we=ze=>{ze.target===ze.currentTarget&&(P&&P(ze),A&&A(ze,"backdropClick"))},ke=ze=>{k&&k(ze),!(ze.key!=="Escape"||!Z())&&(x||(ze.stopPropagation(),A&&A(ze,"escapeKeyDown")))},Ie={};o.props.tabIndex===void 0&&(Ie.tabIndex="-1"),j&&(Ie.onEnter=n0(re,o.props.onEnter),Ie.onExited=n0(fe,o.props.onExited));const Ce=c.Root||u,We=yc({elementType:Ce,externalSlotProps:f.root,externalForwardedProps:B,additionalProps:{ref:G,role:"presentation",onKeyDown:ke},className:Y.root,ownerState:U}),Me=c.Backdrop,ft=yc({elementType:Me,externalSlotProps:f.backdrop,additionalProps:{"aria-hidden":!0,onClick:we,open:I},ownerState:U});return!b&&!I&&(!j||V)?null:D.exports.jsx(bR,{ref:ue,container:p,disablePortal:E,children:D.exports.jsxs(Ce,R({},We,{children:[!v&&Me?D.exports.jsx(Me,R({},ft)):null,D.exports.jsx(Nj,{disableEnforceFocus:h,disableAutoFocus:m,disableRestoreFocus:_,isEnabled:Z,open:I,children:C.exports.cloneElement(o,Ie)})]}))})});var Hj=Wj,Mt={};/**
 * @license React
 * react-is.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 J1=Symbol.for("react.element"),ey=Symbol.for("react.portal"),ih=Symbol.for("react.fragment"),ah=Symbol.for("react.strict_mode"),sh=Symbol.for("react.profiler"),lh=Symbol.for("react.provider"),uh=Symbol.for("react.context"),Vj=Symbol.for("react.server_context"),ch=Symbol.for("react.forward_ref"),dh=Symbol.for("react.suspense"),fh=Symbol.for("react.suspense_list"),ph=Symbol.for("react.memo"),hh=Symbol.for("react.lazy"),Gj=Symbol.for("react.offscreen"),_R;_R=Symbol.for("react.module.reference");function io(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case J1:switch(e=e.type,e){case ih:case sh:case ah:case dh:case fh:return e;default:switch(e=e&&e.$$typeof,e){case Vj:case uh:case ch:case hh:case ph:case lh:return e;default:return t}}case ey:return t}}}Mt.ContextConsumer=uh;Mt.ContextProvider=lh;Mt.Element=J1;Mt.ForwardRef=ch;Mt.Fragment=ih;Mt.Lazy=hh;Mt.Memo=ph;Mt.Portal=ey;Mt.Profiler=sh;Mt.StrictMode=ah;Mt.Suspense=dh;Mt.SuspenseList=fh;Mt.isAsyncMode=function(){return!1};Mt.isConcurrentMode=function(){return!1};Mt.isContextConsumer=function(e){return io(e)===uh};Mt.isContextProvider=function(e){return io(e)===lh};Mt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===J1};Mt.isForwardRef=function(e){return io(e)===ch};Mt.isFragment=function(e){return io(e)===ih};Mt.isLazy=function(e){return io(e)===hh};Mt.isMemo=function(e){return io(e)===ph};Mt.isPortal=function(e){return io(e)===ey};Mt.isProfiler=function(e){return io(e)===sh};Mt.isStrictMode=function(e){return io(e)===ah};Mt.isSuspense=function(e){return io(e)===dh};Mt.isSuspenseList=function(e){return io(e)===fh};Mt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ih||e===sh||e===ah||e===dh||e===fh||e===Gj||typeof e=="object"&&e!==null&&(e.$$typeof===hh||e.$$typeof===ph||e.$$typeof===lh||e.$$typeof===uh||e.$$typeof===ch||e.$$typeof===_R||e.getModuleId!==void 0)};Mt.typeOf=io;const Kj=["onChange","maxRows","minRows","style","value"];function rf(e,t){return parseInt(e[t],10)||0}const qj={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function pw(e){return e==null||Object.keys(e).length===0}const Yj=C.exports.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:a=1,style:l,value:u}=t,c=ye(t,Kj),{current:f}=C.exports.useRef(u!=null),p=C.exports.useRef(null),m=yt(n,p),h=C.exports.useRef(null),x=C.exports.useRef(0),[E,_]=C.exports.useState({}),y=C.exports.useCallback(()=>{const A=p.current,I=jo(A).getComputedStyle(A);if(I.width==="0px")return{};const L=h.current;L.style.width=I.width,L.value=A.value||t.placeholder||"x",L.value.slice(-1)===`
`&&(L.value+=" ");const N=I["box-sizing"],B=rf(I,"padding-bottom")+rf(I,"padding-top"),V=rf(I,"border-bottom-width")+rf(I,"border-top-width"),ee=L.scrollHeight;L.value="x";const X=L.scrollHeight;let ie=ee;a&&(ie=Math.max(Number(a)*X,ie)),o&&(ie=Math.min(Number(o)*X,ie)),ie=Math.max(ie,X);const J=ie+(N==="border-box"?B+V:0),G=Math.abs(ie-ee)<=1;return{outerHeightStyle:J,overflow:G}},[o,a,t.placeholder]),v=(A,k)=>{const{outerHeightStyle:I,overflow:L}=k;return x.current<20&&(I>0&&Math.abs((A.outerHeightStyle||0)-I)>1||A.overflow!==L)?(x.current+=1,{overflow:L,outerHeightStyle:I}):A},b=C.exports.useCallback(()=>{const A=y();pw(A)||_(k=>v(k,A))},[y]),S=()=>{const A=y();pw(A)||Oc.exports.flushSync(()=>{_(k=>v(k,A))})};C.exports.useEffect(()=>{const A=Qp(()=>{x.current=0,p.current&&S()}),k=jo(p.current);k.addEventListener("resize",A);let I;return typeof ResizeObserver!="undefined"&&(I=new ResizeObserver(A),I.observe(p.current)),()=>{A.clear(),k.removeEventListener("resize",A),I&&I.disconnect()}}),bo(()=>{b()}),C.exports.useEffect(()=>{x.current=0},[u]);const P=A=>{x.current=0,f||b(),r&&r(A)};return D.exports.jsxs(C.exports.Fragment,{children:[D.exports.jsx("textarea",R({value:u,onChange:P,ref:m,rows:a,style:R({height:E.outerHeightStyle,overflow:E.overflow?"hidden":null},l)},c)),D.exports.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:h,tabIndex:-1,style:R({},qj.shadow,l,{padding:0})})]})});var Xj=Yj;function Qj(e,t){return R({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Zj={black:"#000",white:"#fff"};var _c=Zj;const Jj={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"};var eW=Jj;const tW={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"};var us=tW;const nW={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"};var cs=nW;const rW={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"};var fu=rW;const oW={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"};var ds=oW;const iW={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"};var fs=iW;const aW={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"};var ps=aW;const sW=["mode","contrastThreshold","tonalOffset"],hw={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:_c.white,default:_c.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}},Fm={text:{primary:_c.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:_c.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 gw(e,t,n,r){const o=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=cR(e.main,o):t==="dark"&&(e.dark=uR(e.main,a)))}function lW(e="light"){return e==="dark"?{main:ds[200],light:ds[50],dark:ds[400]}:{main:ds[700],light:ds[400],dark:ds[800]}}function uW(e="light"){return e==="dark"?{main:us[200],light:us[50],dark:us[400]}:{main:us[500],light:us[300],dark:us[700]}}function cW(e="light"){return e==="dark"?{main:cs[500],light:cs[300],dark:cs[700]}:{main:cs[700],light:cs[400],dark:cs[800]}}function dW(e="light"){return e==="dark"?{main:fs[400],light:fs[300],dark:fs[700]}:{main:fs[700],light:fs[500],dark:fs[900]}}function fW(e="light"){return e==="dark"?{main:ps[400],light:ps[300],dark:ps[700]}:{main:ps[800],light:ps[500],dark:ps[900]}}function pW(e="light"){return e==="dark"?{main:fu[400],light:fu[300],dark:fu[700]}:{main:"#ed6c02",light:fu[500],dark:fu[900]}}function hW(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ye(e,sW),a=e.primary||lW(t),l=e.secondary||uW(t),u=e.error||cW(t),c=e.info||dW(t),f=e.success||fW(t),p=e.warning||pW(t);function m(_){return V9(_,Fm.text.primary)>=n?Fm.text.primary:hw.text.primary}const h=({color:_,name:y,mainShade:v=500,lightShade:b=300,darkShade:S=700})=>{if(_=R({},_),!_.main&&_[v]&&(_.main=_[v]),!_.hasOwnProperty("main"))throw new Error(Gi(11,y?` (${y})`:"",v));if(typeof _.main!="string")throw new Error(Gi(12,y?` (${y})`:"",JSON.stringify(_.main)));return gw(_,"light",b,r),gw(_,"dark",S,r),_.contrastText||(_.contrastText=m(_.main)),_},x={dark:Fm,light:hw};return Qr(R({common:R({},_c),mode:t,primary:h({color:a,name:"primary"}),secondary:h({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:u,name:"error"}),warning:h({color:p,name:"warning"}),info:h({color:c,name:"info"}),success:h({color:f,name:"success"}),grey:eW,contrastThreshold:n,getContrastText:m,augmentColor:h,tonalOffset:r},x[t]),o)}const gW=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function mW(e){return Math.round(e*1e5)/1e5}const mw={textTransform:"uppercase"},vw='"Roboto", "Helvetica", "Arial", sans-serif';function vW(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=vw,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:c=700,htmlFontSize:f=16,allVariants:p,pxToRem:m}=n,h=ye(n,gW),x=o/14,E=m||(v=>`${v/f*x}rem`),_=(v,b,S,P,A)=>R({fontFamily:r,fontWeight:v,fontSize:E(b),lineHeight:S},r===vw?{letterSpacing:`${mW(P/b)}em`}:{},A,p),y={h1:_(a,96,1.167,-1.5),h2:_(a,60,1.2,-.5),h3:_(l,48,1.167,0),h4:_(l,34,1.235,.25),h5:_(l,24,1.334,0),h6:_(u,20,1.6,.15),subtitle1:_(l,16,1.75,.15),subtitle2:_(u,14,1.57,.1),body1:_(l,16,1.5,.15),body2:_(l,14,1.43,.15),button:_(u,14,1.75,.4,mw),caption:_(l,12,1.66,.4),overline:_(l,12,2.66,1,mw)};return Qr(R({htmlFontSize:f,pxToRem:E,fontFamily:r,fontSize:o,fontWeightLight:a,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:c},y),h,{clone:!1})}const yW=.2,xW=.14,bW=.12;function Zt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${yW})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${xW})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${bW})`].join(",")}const _W=["none",Zt(0,2,1,-1,0,1,1,0,0,1,3,0),Zt(0,3,1,-2,0,2,2,0,0,1,5,0),Zt(0,3,3,-2,0,3,4,0,0,1,8,0),Zt(0,2,4,-1,0,4,5,0,0,1,10,0),Zt(0,3,5,-1,0,5,8,0,0,1,14,0),Zt(0,3,5,-1,0,6,10,0,0,1,18,0),Zt(0,4,5,-2,0,7,10,1,0,2,16,1),Zt(0,5,5,-3,0,8,10,1,0,3,14,2),Zt(0,5,6,-3,0,9,12,1,0,3,16,2),Zt(0,6,6,-3,0,10,14,1,0,4,18,3),Zt(0,6,7,-4,0,11,15,1,0,4,20,3),Zt(0,7,8,-4,0,12,17,2,0,5,22,4),Zt(0,7,8,-4,0,13,19,2,0,5,24,4),Zt(0,7,9,-4,0,14,21,2,0,5,26,4),Zt(0,8,9,-5,0,15,22,2,0,6,28,5),Zt(0,8,10,-5,0,16,24,2,0,6,30,5),Zt(0,8,11,-5,0,17,26,2,0,6,32,5),Zt(0,9,11,-5,0,18,28,2,0,7,34,6),Zt(0,9,12,-6,0,19,29,2,0,7,36,6),Zt(0,10,13,-6,0,20,31,3,0,8,38,7),Zt(0,10,13,-6,0,21,33,3,0,8,40,7),Zt(0,10,14,-6,0,22,35,3,0,8,42,7),Zt(0,11,14,-7,0,23,36,3,0,9,44,8),Zt(0,11,15,-7,0,24,38,3,0,9,46,8)];var CW=_W;const EW=["duration","easing","delay"],wW={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)"},CR={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function yw(e){return`${Math.round(e)}ms`}function SW(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function $W(e){const t=R({},wW,e.easing),n=R({},CR,e.duration);return R({getAutoHeightDuration:SW,create:(o=["all"],a={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:c=0}=a;return ye(a,EW),(Array.isArray(o)?o:[o]).map(f=>`${f} ${typeof l=="string"?l:yw(l)} ${u} ${typeof c=="string"?c:yw(c)}`).join(",")}},e,{easing:t,duration:n})}const PW={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};var RW=PW;const TW=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function gh(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:a={}}=e,l=ye(e,TW);if(e.vars)throw new Error(Gi(18));const u=hW(r),c=H1(e);let f=Qr(c,{mixins:Qj(c.breakpoints,n),palette:u,shadows:CW.slice(),typography:vW(u,a),transitions:$W(o),zIndex:R({},RW)});return f=Qr(f,l),f=t.reduce((p,m)=>Qr(p,m),f),f}const IW=gh();var mh=IW;function Ue({props:e,name:t}){return j9({props:e,name:t,defaultTheme:mh})}function ER(e){return D.exports.jsx(xU,R({},e,{defaultTheme:mh}))}const OW=(e,t)=>R({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&{colorScheme:e.palette.mode}),kW=e=>R({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),AW=(e,t=!1)=>{var n,r;let o={html:OW(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:R({margin:0},kW(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})};const a=(n=e.components)==null||(r=n.MuiCssBaseline)==null?void 0:r.styleOverrides;return a&&(o=[o,a]),o};function LW(e){const t=Ue({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return D.exports.jsxs(C.exports.Fragment,{children:[D.exports.jsx(ER,{styles:o=>AW(o,r)}),n]})}var Ki=w.createContext(null);function MW(e){e()}var wR=MW,NW=function(t){return wR=t},DW=function(){return wR};function BW(){var e=DW(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e(function(){for(var o=t;o;)o.callback(),o=o.next})},get:function(){for(var o=[],a=t;a;)o.push(a),a=a.next;return o},subscribe:function(o){var a=!0,l=n={callback:o,next:null,prev:n};return l.prev?l.prev.next=l:t=l,function(){!a||t===null||(a=!1,l.next?l.next.prev=l.prev:n=l.prev,l.prev?l.prev.next=l.next:t=l.next)}}}}var xw={notify:function(){},get:function(){return[]}};function SR(e,t){var n,r=xw;function o(m){return c(),r.subscribe(m)}function a(){r.notify()}function l(){p.onStateChange&&p.onStateChange()}function u(){return Boolean(n)}function c(){n||(n=t?t.addNestedSub(l):e.subscribe(l),r=BW())}function f(){n&&(n(),n=void 0,r.clear(),r=xw)}var p={addNestedSub:o,notifyNestedSubs:a,handleChangeWrapper:l,isSubscribed:u,trySubscribe:c,tryUnsubscribe:f,getListeners:function(){return r}};return p}var l0=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?C.exports.useLayoutEffect:C.exports.useEffect;function FW(e){var t=e.store,n=e.context,r=e.children,o=C.exports.useMemo(function(){var u=SR(t);return u.onStateChange=u.notifyNestedSubs,{store:t,subscription:u}},[t]),a=C.exports.useMemo(function(){return t.getState()},[t]);l0(function(){var u=o.subscription;return u.trySubscribe(),a!==t.getState()&&u.notifyNestedSubs(),function(){u.tryUnsubscribe(),u.onStateChange=null}},[o,a]);var l=n||Ki;return w.createElement(l.Provider,{value:o},r)}function $R(){var e=C.exports.useContext(Ki);return e}function PR(e){e===void 0&&(e=Ki);var t=e===Ki?$R:function(){return C.exports.useContext(e)};return function(){var r=t(),o=r.store;return o}}var UW=PR();function zW(e){e===void 0&&(e=Ki);var t=e===Ki?UW:PR(e);return function(){var r=t();return r.dispatch}}var RR=zW(),jW=function(t,n){return t===n};function WW(e,t,n,r){var o=C.exports.useReducer(function(E){return E+1},0),a=o[1],l=C.exports.useMemo(function(){return SR(n,r)},[n,r]),u=C.exports.useRef(),c=C.exports.useRef(),f=C.exports.useRef(),p=C.exports.useRef(),m=n.getState(),h;try{if(e!==c.current||m!==f.current||u.current){var x=e(m);p.current===void 0||!t(x,p.current)?h=x:h=p.current}else h=p.current}catch(E){throw u.current&&(E.message+=`
The error may be correlated with this previous error:
`+u.current.stack+`

`),E}return l0(function(){c.current=e,f.current=m,p.current=h,u.current=void 0}),l0(function(){function E(){try{var _=n.getState();if(_===f.current)return;var y=c.current(_);if(t(y,p.current))return;p.current=y,f.current=_}catch(v){u.current=v}a()}return l.onStateChange=E,l.trySubscribe(),E(),function(){return l.tryUnsubscribe()}},[n,l]),h}function HW(e){e===void 0&&(e=Ki);var t=e===Ki?$R:function(){return C.exports.useContext(e)};return function(r,o){o===void 0&&(o=jW);var a=t(),l=a.store,u=a.subscription,c=WW(r,o,l,u);return C.exports.useDebugValue(c),c}}var Ar=HW();NW(Oc.exports.unstable_batchedUpdates);function Eo(){return nh(mh)}const mr=e=>Gu(e)&&e!=="classes",VW=Gu,GW=U9({defaultTheme:mh,rootShouldForwardProp:mr});var he=GW;function KW(e){return De("MuiPaper",e)}Ne("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const qW=["className","component","elevation","square","variant"],bw=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},YW=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Be(a,KW,o)},XW=he("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return R({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&R({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${st("#fff",bw(t.elevation))}, ${st("#fff",bw(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),QW=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiPaper"}),{className:o,component:a="div",elevation:l=1,square:u=!1,variant:c="elevation"}=r,f=ye(r,qW),p=R({},r,{component:a,elevation:l,square:u,variant:c}),m=YW(p);return D.exports.jsx(XW,R({as:a,ownerState:p,className:_e(m.root,o),ref:n},f))});var wo=QW;const ZW=gh(),JW=sR({defaultTheme:ZW,defaultClassName:"MuiBox-root",generateClassName:D1.generate});var ge=JW;function e8(e){return De("MuiAppBar",e)}Ne("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const t8=["className","color","enableColorOnDark","position"],n8=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${ce(t)}`,`position${ce(n)}`]};return Be(o,e8,r)},of=(e,t)=>`${e==null?void 0:e.replace(")","")}, ${t})`,r8=he(wo,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ce(n.position)}`],t[`color${ce(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return R({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&R({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&R({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&R({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:of(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:of(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:of(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:of(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),o8=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiAppBar"}),{className:o,color:a="primary",enableColorOnDark:l=!1,position:u="fixed"}=r,c=ye(r,t8),f=R({},r,{color:a,position:u,enableColorOnDark:l}),p=n8(f);return D.exports.jsx(r8,R({square:!0,component:"header",ownerState:f,elevation:4,className:_e(p.root,o,u==="fixed"&&"mui-fixed"),ref:n},c))});var i8=o8;function u0(e,t){return u0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},u0(e,t)}function TR(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u0(e,t)}var _w={disabled:!1},sp=w.createContext(null),a8=function(t){return t.scrollTop},Ou="unmounted",ma="exited",va="entering",bs="entered",c0="exiting",fi=function(e){TR(t,e);function t(r,o){var a;a=e.call(this,r,o)||this;var l=o,u=l&&!l.isMounting?r.enter:r.appear,c;return a.appearStatus=null,r.in?u?(c=ma,a.appearStatus=va):c=bs:r.unmountOnExit||r.mountOnEnter?c=Ou:c=ma,a.state={status:c},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var l=o.in;return l&&a.status===Ou?{status:ma}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var a=null;if(o!==this.props){var l=this.state.status;this.props.in?l!==va&&l!==bs&&(a=va):(l===va||l===bs)&&(a=c0)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,a,l,u;return a=l=u=o,o!=null&&typeof o!="number"&&(a=o.exit,l=o.enter,u=o.appear!==void 0?o.appear:l),{exit:a,enter:l,appear:u}},n.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===va){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:Ru.findDOMNode(this);l&&a8(l)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ma&&this.setState({status:Ou})},n.performEnter=function(o){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:o,c=this.props.nodeRef?[u]:[Ru.findDOMNode(this),u],f=c[0],p=c[1],m=this.getTimeouts(),h=u?m.appear:m.enter;if(!o&&!l||_w.disabled){this.safeSetState({status:bs},function(){a.props.onEntered(f)});return}this.props.onEnter(f,p),this.safeSetState({status:va},function(){a.props.onEntering(f,p),a.onTransitionEnd(h,function(){a.safeSetState({status:bs},function(){a.props.onEntered(f,p)})})})},n.performExit=function(){var o=this,a=this.props.exit,l=this.getTimeouts(),u=this.props.nodeRef?void 0:Ru.findDOMNode(this);if(!a||_w.disabled){this.safeSetState({status:ma},function(){o.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:c0},function(){o.props.onExiting(u),o.onTransitionEnd(l.exit,function(){o.safeSetState({status:ma},function(){o.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},n.setNextCallback=function(o){var a=this,l=!0;return this.nextCallback=function(u){l&&(l=!1,a.nextCallback=null,o(u))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(o,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:Ru.findDOMNode(this),u=o==null&&!this.props.addEndListener;if(!l||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],f=c[0],p=c[1];this.props.addEndListener(f,p)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Ou)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=ye(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return w.createElement(sp.Provider,{value:null},typeof l=="function"?l(o,u):w.cloneElement(w.Children.only(l),u))},t}(w.Component);fi.contextType=sp;fi.propTypes={};function hs(){}fi.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:hs,onEntering:hs,onEntered:hs,onExit:hs,onExiting:hs,onExited:hs};fi.UNMOUNTED=Ou;fi.EXITED=ma;fi.ENTERING=va;fi.ENTERED=bs;fi.EXITING=c0;var vh=fi;function s8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ty(e,t){var n=function(a){return t&&C.exports.isValidElement(a)?t(a):a},r=Object.create(null);return e&&C.exports.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function l8(e,t){e=e||{},t=t||{};function n(p){return p in t?t[p]:e[p]}var r=Object.create(null),o=[];for(var a in e)a in t?o.length&&(r[a]=o,o=[]):o.push(a);var l,u={};for(var c in t){if(r[c])for(l=0;l<r[c].length;l++){var f=r[c][l];u[r[c][l]]=n(f)}u[c]=n(c)}for(l=0;l<o.length;l++)u[o[l]]=n(o[l]);return u}function $a(e,t,n){return n[t]!=null?n[t]:e.props[t]}function u8(e,t){return ty(e.children,function(n){return C.exports.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:$a(n,"appear",e),enter:$a(n,"enter",e),exit:$a(n,"exit",e)})})}function c8(e,t,n){var r=ty(e.children),o=l8(t,r);return Object.keys(o).forEach(function(a){var l=o[a];if(!!C.exports.isValidElement(l)){var u=a in t,c=a in r,f=t[a],p=C.exports.isValidElement(f)&&!f.props.in;c&&(!u||p)?o[a]=C.exports.cloneElement(l,{onExited:n.bind(null,l),in:!0,exit:$a(l,"exit",e),enter:$a(l,"enter",e)}):!c&&u&&!p?o[a]=C.exports.cloneElement(l,{in:!1}):c&&u&&C.exports.isValidElement(f)&&(o[a]=C.exports.cloneElement(l,{onExited:n.bind(null,l),in:f.props.in,exit:$a(l,"exit",e),enter:$a(l,"enter",e)}))}}),o}var d8=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},f8={component:"div",childFactory:function(t){return t}},ny=function(e){TR(t,e);function t(r,o){var a;a=e.call(this,r,o)||this;var l=a.handleExited.bind(s8(a));return a.state={contextValue:{isMounting:!0},handleExited:l,firstRender:!0},a}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,a){var l=a.children,u=a.handleExited,c=a.firstRender;return{children:c?u8(o,u):c8(o,l,u),firstRender:!1}},n.handleExited=function(o,a){var l=ty(this.props.children);o.key in l||(o.props.onExited&&o.props.onExited(a),this.mounted&&this.setState(function(u){var c=R({},u.children);return delete c[o.key],{children:c}}))},n.render=function(){var o=this.props,a=o.component,l=o.childFactory,u=ye(o,["component","childFactory"]),c=this.state.contextValue,f=d8(this.state.children).map(l);return delete u.appear,delete u.enter,delete u.exit,a===null?w.createElement(sp.Provider,{value:c},f):w.createElement(sp.Provider,{value:c},w.createElement(a,u,f))},t}(w.Component);ny.propTypes={};ny.defaultProps=f8;var p8=ny;const ry=e=>e.scrollTop;function qi(e,t){var n,r;const{timeout:o,easing:a,style:l={}}=e;return{duration:(n=l.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=l.transitionTimingFunction)!=null?r:typeof a=="object"?a[t.mode]:a,delay:l.transitionDelay}}const h8=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],g8={entering:{opacity:1},entered:{opacity:1}},m8=C.exports.forwardRef(function(t,n){const r=Eo(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:l=!0,children:u,easing:c,in:f,onEnter:p,onEntered:m,onEntering:h,onExit:x,onExited:E,onExiting:_,style:y,timeout:v=o,TransitionComponent:b=vh}=t,S=ye(t,h8),P=C.exports.useRef(null),A=yt(u.ref,n),k=yt(P,A),I=J=>G=>{if(J){const j=P.current;G===void 0?J(j):J(j,G)}},L=I(h),N=I((J,G)=>{ry(J);const j=qi({style:y,timeout:v,easing:c},{mode:"enter"});J.style.webkitTransition=r.transitions.create("opacity",j),J.style.transition=r.transitions.create("opacity",j),p&&p(J,G)}),B=I(m),V=I(_),ee=I(J=>{const G=qi({style:y,timeout:v,easing:c},{mode:"exit"});J.style.webkitTransition=r.transitions.create("opacity",G),J.style.transition=r.transitions.create("opacity",G),x&&x(J)}),X=I(E),ie=J=>{a&&a(P.current,J)};return D.exports.jsx(b,R({appear:l,in:f,nodeRef:P,onEnter:N,onEntered:B,onEntering:L,onExit:ee,onExited:X,onExiting:V,addEndListener:ie,timeout:v},S,{children:(J,G)=>C.exports.cloneElement(u,R({style:R({opacity:0,visibility:J==="exited"&&!f?"hidden":void 0},g8[J],y,u.props.style),ref:k},G))}))});var IR=m8;function v8(e){return De("MuiBackdrop",e)}Ne("MuiBackdrop",["root","invisible"]);const y8=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],x8=e=>{const{classes:t,invisible:n}=e;return Be({root:["root",n&&"invisible"]},v8,t)},b8=he("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>R({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),_8=C.exports.forwardRef(function(t,n){var r,o;const a=Ue({props:t,name:"MuiBackdrop"}),{children:l,component:u="div",components:c={},componentsProps:f={},className:p,invisible:m=!1,open:h,transitionDuration:x,TransitionComponent:E=IR}=a,_=ye(a,y8),y=R({},a,{component:u,invisible:m}),v=x8(y);return D.exports.jsx(E,R({in:h,timeout:x},_,{children:D.exports.jsx(b8,{"aria-hidden":!0,as:(r=c.Root)!=null?r:u,className:_e(v.root,p),ownerState:R({},y,(o=f.root)==null?void 0:o.ownerState),classes:v,ref:n,children:l})}))});var OR=_8;const C8=["BackdropComponent","BackdropProps","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","theme"],E8=e=>e.classes,w8=he("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>R({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),S8=he(OR,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),$8=C.exports.forwardRef(function(t,n){var r,o;const a=Ue({name:"MuiModal",props:t}),{BackdropComponent:l=S8,BackdropProps:u,closeAfterTransition:c=!1,children:f,component:p,components:m={},componentsProps:h={},disableAutoFocus:x=!1,disableEnforceFocus:E=!1,disableEscapeKeyDown:_=!1,disablePortal:y=!1,disableRestoreFocus:v=!1,disableScrollLock:b=!1,hideBackdrop:S=!1,keepMounted:P=!1,theme:A}=a,k=ye(a,C8),[I,L]=C.exports.useState(!0),N={closeAfterTransition:c,disableAutoFocus:x,disableEnforceFocus:E,disableEscapeKeyDown:_,disablePortal:y,disableRestoreFocus:v,disableScrollLock:b,hideBackdrop:S,keepMounted:P},B=R({},a,N,{exited:I}),V=E8(B),ee=(r=(o=m.Root)!=null?o:p)!=null?r:w8;return D.exports.jsx(Hj,R({components:R({Root:ee,Backdrop:l},m),componentsProps:{root:()=>R({},o0(h.root,B),!Zs(ee)&&{as:p,theme:A}),backdrop:()=>R({},u,o0(h.backdrop,B))},onTransitionEnter:()=>L(!1),onTransitionExited:()=>L(!0),ref:n},k,{classes:V},N,{children:f}))});var oy=$8;function P8(e){return De("MuiSvgIcon",e)}Ne("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const R8=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],T8=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ce(t)}`,`fontSize${ce(n)}`]};return Be(o,P8,r)},I8=he("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ce(n.color)}`],t[`fontSize${ce(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,a,l,u,c,f,p,m,h,x,E,_,y,v,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(a=o.duration)==null?void 0:a.shorter}),fontSize:{inherit:"inherit",small:((l=e.typography)==null||(u=l.pxToRem)==null?void 0:u.call(l,20))||"1.25rem",medium:((c=e.typography)==null||(f=c.pxToRem)==null?void 0:f.call(c,24))||"1.5rem",large:((p=e.typography)==null||(m=p.pxToRem)==null?void 0:m.call(p,35))||"2.1875"}[t.fontSize],color:(h=(x=(e.vars||e).palette)==null||(E=x[t.color])==null?void 0:E.main)!=null?h:{action:(_=(e.vars||e).palette)==null||(y=_.action)==null?void 0:y.active,disabled:(v=(e.vars||e).palette)==null||(b=v.action)==null?void 0:b.disabled,inherit:void 0}[t.color]}}),kR=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiSvgIcon"}),{children:o,className:a,color:l="inherit",component:u="svg",fontSize:c="medium",htmlColor:f,inheritViewBox:p=!1,titleAccess:m,viewBox:h="0 0 24 24"}=r,x=ye(r,R8),E=R({},r,{color:l,component:u,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:h}),_={};p||(_.viewBox=h);const y=T8(E);return D.exports.jsxs(I8,R({as:u,className:_e(y.root,a),ownerState:E,focusable:"false",color:f,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n},_,x,{children:[o,m?D.exports.jsx("title",{children:m}):null]}))});kR.muiName="SvgIcon";var Cw=kR;function Lr(e,t){const n=(r,o)=>D.exports.jsx(Cw,R({"data-testid":`${t}Icon`,ref:o},r,{children:e}));return n.muiName=Cw.muiName,C.exports.memo(C.exports.forwardRef(n))}const O8={configure:e=>{console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
`)),D1.configure(e)}};var k8=Object.freeze(Object.defineProperty({__proto__:null,unstable_ClassNameGenerator:O8,capitalize:ce,createChainedFunction:n0,createSvgIcon:Lr,debounce:Qp,deprecatedPropType:_U,isMuiElement:Tf,ownerDocument:$n,ownerWindow:jo,requirePropFactory:CU,setRef:Qs,unstable_useEnhancedEffect:bo,unstable_useId:Ma,unsupportedProp:SU,useControlled:Ui,useEventCallback:$r,useForkRef:yt,useIsFocusVisible:Jp},Symbol.toStringTag,{value:"Module"}));const A8=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function L8(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),a=jo(t);let l;if(t.fakeTransform)l=t.fakeTransform;else{const f=a.getComputedStyle(t);l=f.getPropertyValue("-webkit-transform")||f.getPropertyValue("transform")}let u=0,c=0;if(l&&l!=="none"&&typeof l=="string"){const f=l.split("(")[1].split(")")[0].split(",");u=parseInt(f[4],10),c=parseInt(f[5],10)}return e==="left"?o?`translateX(${o.right+u-r.left}px)`:`translateX(${a.innerWidth+u-r.left}px)`:e==="right"?o?`translateX(-${r.right-o.left-u}px)`:`translateX(-${r.left+r.width-u}px)`:e==="up"?o?`translateY(${o.bottom+c-r.top}px)`:`translateY(${a.innerHeight+c-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-c}px)`:`translateY(-${r.top+r.height-c}px)`}function M8(e){return typeof e=="function"?e():e}function af(e,t,n){const r=M8(n),o=L8(e,t,r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const N8=C.exports.forwardRef(function(t,n){const r=Eo(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:l,appear:u=!0,children:c,container:f,direction:p="down",easing:m=o,in:h,onEnter:x,onEntered:E,onEntering:_,onExit:y,onExited:v,onExiting:b,style:S,timeout:P=a,TransitionComponent:A=vh}=t,k=ye(t,A8),I=C.exports.useRef(null),L=yt(c.ref,I),N=yt(L,n),B=ne=>me=>{ne&&(me===void 0?ne(I.current):ne(I.current,me))},V=B((ne,me)=>{af(p,ne,f),ry(ne),x&&x(ne,me)}),ee=B((ne,me)=>{const H=qi({timeout:P,style:S,easing:m},{mode:"enter"});ne.style.webkitTransition=r.transitions.create("-webkit-transform",R({},H)),ne.style.transition=r.transitions.create("transform",R({},H)),ne.style.webkitTransform="none",ne.style.transform="none",_&&_(ne,me)}),X=B(E),ie=B(b),J=B(ne=>{const me=qi({timeout:P,style:S,easing:m},{mode:"exit"});ne.style.webkitTransition=r.transitions.create("-webkit-transform",me),ne.style.transition=r.transitions.create("transform",me),af(p,ne,f),y&&y(ne)}),G=B(ne=>{ne.style.webkitTransition="",ne.style.transition="",v&&v(ne)}),j=ne=>{l&&l(I.current,ne)},te=C.exports.useCallback(()=>{I.current&&af(p,I.current,f)},[p,f]);return C.exports.useEffect(()=>{if(h||p==="down"||p==="right")return;const ne=Qp(()=>{I.current&&af(p,I.current,f)}),me=jo(I.current);return me.addEventListener("resize",ne),()=>{ne.clear(),me.removeEventListener("resize",ne)}},[p,h,f]),C.exports.useEffect(()=>{h||te()},[h,te]),D.exports.jsx(A,R({nodeRef:I,onEnter:V,onEntered:X,onEntering:ee,onExit:J,onExited:G,onExiting:ie,addEndListener:j,appear:u,in:h,timeout:P},k,{children:(ne,me)=>C.exports.cloneElement(c,R({ref:N,style:R({visibility:ne==="exited"&&!h?"hidden":void 0},S,c.props.style)},me))}))});var D8=N8;function B8(e){return De("MuiDrawer",e)}const F8=Ne("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);var AR=F8;const U8=["BackdropProps"],z8=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],LR=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},j8=e=>{const{classes:t,anchor:n,variant:r}=e,o={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${ce(n)}`,r!=="temporary"&&`paperAnchorDocked${ce(n)}`]};return Be(o,B8,t)},W8=he(oy,{name:"MuiDrawer",slot:"Root",overridesResolver:LR})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),Ew=he("div",{shouldForwardProp:mr,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:LR})({flex:"0 0 auto"}),H8=he(wo,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${ce(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${ce(n.anchor)}`]]}})(({theme:e,ownerState:t})=>R({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),MR={left:"right",right:"left",top:"down",bottom:"up"};function V8(e){return["left","right"].indexOf(e)!==-1}function G8(e,t){return e.direction==="rtl"&&V8(t)?MR[t]:t}const K8=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiDrawer"}),o=Eo(),a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:l="left",BackdropProps:u,children:c,className:f,elevation:p=16,hideBackdrop:m=!1,ModalProps:{BackdropProps:h}={},onClose:x,open:E=!1,PaperProps:_={},SlideProps:y,TransitionComponent:v=D8,transitionDuration:b=a,variant:S="temporary"}=r,P=ye(r.ModalProps,U8),A=ye(r,z8),k=C.exports.useRef(!1);C.exports.useEffect(()=>{k.current=!0},[]);const I=G8(o,l),N=R({},r,{anchor:l,elevation:p,open:E,variant:S},A),B=j8(N),V=D.exports.jsx(H8,R({elevation:S==="temporary"?p:0,square:!0},_,{className:_e(B.paper,_.className),ownerState:N,children:c}));if(S==="permanent")return D.exports.jsx(Ew,R({className:_e(B.root,B.docked,f),ownerState:N,ref:n},A,{children:V}));const ee=D.exports.jsx(v,R({in:E,direction:MR[I],timeout:b,appear:k.current},y,{children:V}));return S==="persistent"?D.exports.jsx(Ew,R({className:_e(B.root,B.docked,f),ownerState:N,ref:n},A,{children:ee})):D.exports.jsx(W8,R({BackdropProps:R({},u,h,{transitionDuration:b}),className:_e(B.root,B.modal,f),open:E,ownerState:N,onClose:x,hideBackdrop:m,ref:n},A,P,{children:ee}))});var d0=K8;function q8(e){return De("MuiToolbar",e)}Ne("MuiToolbar",["root","gutters","regular","dense"]);const Y8=["className","component","disableGutters","variant"],X8=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Be({root:["root",!n&&"gutters",r]},q8,t)},Q8=he("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>R({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),Z8=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiToolbar"}),{className:o,component:a="div",disableGutters:l=!1,variant:u="regular"}=r,c=ye(r,Y8),f=R({},r,{component:a,disableGutters:l,variant:u}),p=X8(f);return D.exports.jsx(Q8,R({as:a,className:_e(p.root,o),ref:n,ownerState:f},c))});var Xu=Z8;function J8(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:a,rippleSize:l,in:u,onExited:c,timeout:f}=e,[p,m]=C.exports.useState(!1),h=_e(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),x={width:l,height:l,top:-(l/2)+a,left:-(l/2)+o},E=_e(n.child,p&&n.childLeaving,r&&n.childPulsate);return!u&&!p&&m(!0),C.exports.useEffect(()=>{if(!u&&c!=null){const _=setTimeout(c,f);return()=>{clearTimeout(_)}}},[c,u,f]),D.exports.jsx("span",{className:h,style:x,children:D.exports.jsx("span",{className:E})})}const e7=Ne("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);var Vr=e7;const t7=["center","classes","className"];let yh=e=>e,ww,Sw,$w,Pw;const f0=550,n7=80,r7=N1(ww||(ww=yh`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`)),o7=N1(Sw||(Sw=yh`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`)),i7=N1($w||($w=yh`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`)),a7=he("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),s7=he(J8,{name:"MuiTouchRipple",slot:"Ripple"})(Pw||(Pw=yh`
  opacity: 0;
  position: absolute;

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

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

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

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

  & .${0} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${0};
    animation-duration: 2500ms;
    animation-timing-function: ${0};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`),Vr.rippleVisible,r7,f0,({theme:e})=>e.transitions.easing.easeInOut,Vr.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Vr.child,Vr.childLeaving,o7,f0,({theme:e})=>e.transitions.easing.easeInOut,Vr.childPulsate,i7,({theme:e})=>e.transitions.easing.easeInOut),l7=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:l}=r,u=ye(r,t7),[c,f]=C.exports.useState([]),p=C.exports.useRef(0),m=C.exports.useRef(null);C.exports.useEffect(()=>{m.current&&(m.current(),m.current=null)},[c]);const h=C.exports.useRef(!1),x=C.exports.useRef(null),E=C.exports.useRef(null),_=C.exports.useRef(null);C.exports.useEffect(()=>()=>{clearTimeout(x.current)},[]);const y=C.exports.useCallback(P=>{const{pulsate:A,rippleX:k,rippleY:I,rippleSize:L,cb:N}=P;f(B=>[...B,D.exports.jsx(s7,{classes:{ripple:_e(a.ripple,Vr.ripple),rippleVisible:_e(a.rippleVisible,Vr.rippleVisible),ripplePulsate:_e(a.ripplePulsate,Vr.ripplePulsate),child:_e(a.child,Vr.child),childLeaving:_e(a.childLeaving,Vr.childLeaving),childPulsate:_e(a.childPulsate,Vr.childPulsate)},timeout:f0,pulsate:A,rippleX:k,rippleY:I,rippleSize:L},p.current)]),p.current+=1,m.current=N},[a]),v=C.exports.useCallback((P={},A={},k)=>{const{pulsate:I=!1,center:L=o||A.pulsate,fakeElement:N=!1}=A;if((P==null?void 0:P.type)==="mousedown"&&h.current){h.current=!1;return}(P==null?void 0:P.type)==="touchstart"&&(h.current=!0);const B=N?null:_.current,V=B?B.getBoundingClientRect():{width:0,height:0,left:0,top:0};let ee,X,ie;if(L||P===void 0||P.clientX===0&&P.clientY===0||!P.clientX&&!P.touches)ee=Math.round(V.width/2),X=Math.round(V.height/2);else{const{clientX:J,clientY:G}=P.touches&&P.touches.length>0?P.touches[0]:P;ee=Math.round(J-V.left),X=Math.round(G-V.top)}if(L)ie=Math.sqrt((2*V.width**2+V.height**2)/3),ie%2===0&&(ie+=1);else{const J=Math.max(Math.abs((B?B.clientWidth:0)-ee),ee)*2+2,G=Math.max(Math.abs((B?B.clientHeight:0)-X),X)*2+2;ie=Math.sqrt(J**2+G**2)}P!=null&&P.touches?E.current===null&&(E.current=()=>{y({pulsate:I,rippleX:ee,rippleY:X,rippleSize:ie,cb:k})},x.current=setTimeout(()=>{E.current&&(E.current(),E.current=null)},n7)):y({pulsate:I,rippleX:ee,rippleY:X,rippleSize:ie,cb:k})},[o,y]),b=C.exports.useCallback(()=>{v({},{pulsate:!0})},[v]),S=C.exports.useCallback((P,A)=>{if(clearTimeout(x.current),(P==null?void 0:P.type)==="touchend"&&E.current){E.current(),E.current=null,x.current=setTimeout(()=>{S(P,A)});return}E.current=null,f(k=>k.length>0?k.slice(1):k),m.current=A},[]);return C.exports.useImperativeHandle(n,()=>({pulsate:b,start:v,stop:S}),[b,v,S]),D.exports.jsx(a7,R({className:_e(Vr.root,a.root,l),ref:_},u,{children:D.exports.jsx(p8,{component:null,exit:!0,children:c})}))});var u7=l7;function c7(e){return De("MuiButtonBase",e)}const d7=Ne("MuiButtonBase",["root","disabled","focusVisible"]);var f7=d7;const p7=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],h7=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=Be({root:["root",t&&"disabled",n&&"focusVisible"]},c7,o);return n&&r&&(l.root+=` ${r}`),l},g7=he("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${f7.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),m7=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:a=!1,children:l,className:u,component:c="button",disabled:f=!1,disableRipple:p=!1,disableTouchRipple:m=!1,focusRipple:h=!1,LinkComponent:x="a",onBlur:E,onClick:_,onContextMenu:y,onDragLeave:v,onFocus:b,onFocusVisible:S,onKeyDown:P,onKeyUp:A,onMouseDown:k,onMouseLeave:I,onMouseUp:L,onTouchEnd:N,onTouchMove:B,onTouchStart:V,tabIndex:ee=0,TouchRippleProps:X,touchRippleRef:ie,type:J}=r,G=ye(r,p7),j=C.exports.useRef(null),te=C.exports.useRef(null),ne=yt(te,ie),{isFocusVisibleRef:me,onFocus:H,onBlur:q,ref:Z}=Jp(),[ue,K]=C.exports.useState(!1);f&&ue&&K(!1),C.exports.useImperativeHandle(o,()=>({focusVisible:()=>{K(!0),j.current.focus()}}),[]);const[U,Y]=C.exports.useState(!1);C.exports.useEffect(()=>{Y(!0)},[]);const re=U&&!p&&!f;C.exports.useEffect(()=>{ue&&h&&!p&&U&&te.current.pulsate()},[p,h,ue,U]);function fe(Se,et,Nt=m){return $r(Xt=>(et&&et(Xt),!Nt&&te.current&&te.current[Se](Xt),!0))}const we=fe("start",k),ke=fe("stop",y),Ie=fe("stop",v),Ce=fe("stop",L),We=fe("stop",Se=>{ue&&Se.preventDefault(),I&&I(Se)}),Me=fe("start",V),ft=fe("stop",N),ze=fe("stop",B),bt=fe("stop",Se=>{q(Se),me.current===!1&&K(!1),E&&E(Se)},!1),kt=$r(Se=>{j.current||(j.current=Se.currentTarget),H(Se),me.current===!0&&(K(!0),S&&S(Se)),b&&b(Se)}),Ge=()=>{const Se=j.current;return c&&c!=="button"&&!(Se.tagName==="A"&&Se.href)},qe=C.exports.useRef(!1),vt=$r(Se=>{h&&!qe.current&&ue&&te.current&&Se.key===" "&&(qe.current=!0,te.current.stop(Se,()=>{te.current.start(Se)})),Se.target===Se.currentTarget&&Ge()&&Se.key===" "&&Se.preventDefault(),P&&P(Se),Se.target===Se.currentTarget&&Ge()&&Se.key==="Enter"&&!f&&(Se.preventDefault(),_&&_(Se))}),zt=$r(Se=>{h&&Se.key===" "&&te.current&&ue&&!Se.defaultPrevented&&(qe.current=!1,te.current.stop(Se,()=>{te.current.pulsate(Se)})),A&&A(Se),_&&Se.target===Se.currentTarget&&Ge()&&Se.key===" "&&!Se.defaultPrevented&&_(Se)});let nt=c;nt==="button"&&(G.href||G.to)&&(nt=x);const rt={};nt==="button"?(rt.type=J===void 0?"button":J,rt.disabled=f):(!G.href&&!G.to&&(rt.role="button"),f&&(rt["aria-disabled"]=f));const pt=yt(Z,j),Pe=yt(n,pt),be=R({},r,{centerRipple:a,component:c,disabled:f,disableRipple:p,disableTouchRipple:m,focusRipple:h,tabIndex:ee,focusVisible:ue}),Xe=h7(be);return D.exports.jsxs(g7,R({as:nt,className:_e(Xe.root,u),ownerState:be,onBlur:bt,onClick:_,onContextMenu:ke,onFocus:kt,onKeyDown:vt,onKeyUp:zt,onMouseDown:we,onMouseLeave:We,onMouseUp:Ce,onDragLeave:Ie,onTouchEnd:ft,onTouchMove:ze,onTouchStart:Me,ref:Pe,tabIndex:f?-1:ee,type:J},rt,G,{children:[l,re?D.exports.jsx(u7,R({ref:ne,center:a},X)):null]}))});var Ba=m7;function v7(e){return De("MuiIconButton",e)}const y7=Ne("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var x7=y7;const b7=["edge","children","className","color","disabled","disableFocusRipple","size"],_7=e=>{const{classes:t,disabled:n,color:r,edge:o,size:a}=e,l={root:["root",n&&"disabled",r!=="default"&&`color${ce(r)}`,o&&`edge${ce(o)}`,`size${ce(a)}`]};return Be(l,v7,t)},C7=he(Ba,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ce(n.color)}`],n.edge&&t[`edge${ce(n.edge)}`],t[`size${ce(n.size)}`]]}})(({theme:e,ownerState:t})=>R({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>R({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&R({color:(e.vars||e).palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${x7.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})),E7=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiIconButton"}),{edge:o=!1,children:a,className:l,color:u="default",disabled:c=!1,disableFocusRipple:f=!1,size:p="medium"}=r,m=ye(r,b7),h=R({},r,{edge:o,color:u,disabled:c,disableFocusRipple:f,size:p}),x=_7(h);return D.exports.jsx(C7,R({className:_e(x.root,l),centerRipple:!0,focusRipple:!f,disabled:c,ref:n,ownerState:h},m,{children:a}))});var rn=E7,iy={},It={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(It);var Ot={},w7=aD(k8);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=w7})(Ot);var S7=It.exports;Object.defineProperty(iy,"__esModule",{value:!0});var NR=iy.default=void 0,$7=S7(Ot),P7=D.exports,R7=(0,$7.default)((0,P7.jsx)("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"}),"LightMode");NR=iy.default=R7;var ay={},T7=It.exports;Object.defineProperty(ay,"__esModule",{value:!0});var DR=ay.default=void 0,I7=T7(Ot),O7=D.exports,k7=(0,I7.default)((0,O7.jsx)("path",{d:"M14 2c1.82 0 3.53.5 5 1.35-2.99 1.73-5 4.95-5 8.65s2.01 6.92 5 8.65c-1.47.85-3.18 1.35-5 1.35-5.52 0-10-4.48-10-10S8.48 2 14 2z"}),"Nightlight");DR=ay.default=k7;var sy={};Object.defineProperty(sy,"__esModule",{value:!0});var BR=sy.default=void 0;const A7={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};var L7=A7;BR=sy.default=L7;const FR=C.exports.createContext({}),M7=({children:e})=>{const[t,n]=C.exports.useState(),[r,o]=C.exports.useState(sys),[a,l]=C.exports.useState({}),[u,c]=C.exports.useState([]),[f,p]=C.exports.useState(!1);return w.createElement(FR.Provider,{value:{currentSys:t,setCurrentSys:n,currentUnit:r,setCurrentUnit:o,currentUnitGroup:a,setCurrentUnitGroup:l,alarmsContext:u,setAlarmsContext:c,eventLogIsOpenContext:f,setEventLogIsOpenContext:p}},e)},Vt=()=>C.exports.useContext(FR),N7=C.exports.createContext({});var rl=N7;function D7(e){return De("MuiList",e)}Ne("MuiList",["root","padding","dense","subheader"]);const B7=["children","className","component","dense","disablePadding","subheader"],F7=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Be({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},D7,t)},U7=he("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>R({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),z7=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiList"}),{children:o,className:a,component:l="ul",dense:u=!1,disablePadding:c=!1,subheader:f}=r,p=ye(r,B7),m=C.exports.useMemo(()=>({dense:u}),[u]),h=R({},r,{component:l,dense:u,disablePadding:c}),x=F7(h);return D.exports.jsx(rl.Provider,{value:m,children:D.exports.jsxs(U7,R({as:l,className:_e(x.root,a),ref:n,ownerState:h},p,{children:[f,o]}))})});var ml=z7;function j7(e){return De("MuiCollapse",e)}Ne("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const W7=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],H7=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Be(r,j7,n)},V7=he("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(({theme:e,ownerState:t})=>R({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&R({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),G7=he("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>R({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),K7=he("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>R({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),UR=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiCollapse"}),{addEndListener:o,children:a,className:l,collapsedSize:u="0px",component:c,easing:f,in:p,onEnter:m,onEntered:h,onEntering:x,onExit:E,onExited:_,onExiting:y,orientation:v="vertical",style:b,timeout:S=CR.standard,TransitionComponent:P=vh}=r,A=ye(r,W7),k=R({},r,{orientation:v,collapsedSize:u}),I=H7(k),L=Eo(),N=C.exports.useRef(),B=C.exports.useRef(null),V=C.exports.useRef(),ee=typeof u=="number"?`${u}px`:u,X=v==="horizontal",ie=X?"width":"height";C.exports.useEffect(()=>()=>{clearTimeout(N.current)},[]);const J=C.exports.useRef(null),G=yt(n,J),j=U=>Y=>{if(U){const re=J.current;Y===void 0?U(re):U(re,Y)}},te=()=>B.current?B.current[X?"clientWidth":"clientHeight"]:0,ne=j((U,Y)=>{B.current&&X&&(B.current.style.position="absolute"),U.style[ie]=ee,m&&m(U,Y)}),me=j((U,Y)=>{const re=te();B.current&&X&&(B.current.style.position="");const{duration:fe,easing:we}=qi({style:b,timeout:S,easing:f},{mode:"enter"});if(S==="auto"){const ke=L.transitions.getAutoHeightDuration(re);U.style.transitionDuration=`${ke}ms`,V.current=ke}else U.style.transitionDuration=typeof fe=="string"?fe:`${fe}ms`;U.style[ie]=`${re}px`,U.style.transitionTimingFunction=we,x&&x(U,Y)}),H=j((U,Y)=>{U.style[ie]="auto",h&&h(U,Y)}),q=j(U=>{U.style[ie]=`${te()}px`,E&&E(U)}),Z=j(_),ue=j(U=>{const Y=te(),{duration:re,easing:fe}=qi({style:b,timeout:S,easing:f},{mode:"exit"});if(S==="auto"){const we=L.transitions.getAutoHeightDuration(Y);U.style.transitionDuration=`${we}ms`,V.current=we}else U.style.transitionDuration=typeof re=="string"?re:`${re}ms`;U.style[ie]=ee,U.style.transitionTimingFunction=fe,y&&y(U)}),K=U=>{S==="auto"&&(N.current=setTimeout(U,V.current||0)),o&&o(J.current,U)};return D.exports.jsx(P,R({in:p,onEnter:ne,onEntered:H,onEntering:me,onExit:q,onExited:Z,onExiting:ue,addEndListener:K,nodeRef:J,timeout:S==="auto"?null:S},A,{children:(U,Y)=>D.exports.jsx(V7,R({as:c,className:_e(I.root,l,{entered:I.entered,exited:!p&&ee==="0px"&&I.hidden}[U]),style:R({[X?"minWidth":"minHeight"]:ee},b),ownerState:R({},k,{state:U}),ref:G},Y,{children:D.exports.jsx(G7,{ownerState:R({},k,{state:U}),className:I.wrapper,ref:B,children:D.exports.jsx(K7,{ownerState:R({},k,{state:U}),className:I.wrapperInner,children:a})})}))}))});UR.muiSupportAuto=!0;var ly=UR;function q7(e){return De("MuiTypography",e)}Ne("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Y7=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],X7=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:a,classes:l}=e,u={root:["root",a,e.align!=="inherit"&&`align${ce(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Be(u,q7,l)},Q7=he("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ce(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>R({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Rw={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Z7={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},J7=e=>Z7[e]||e,eH=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTypography"}),o=J7(r.color),a=W1(R({},r,{color:o})),{align:l="inherit",className:u,component:c,gutterBottom:f=!1,noWrap:p=!1,paragraph:m=!1,variant:h="body1",variantMapping:x=Rw}=a,E=ye(a,Y7),_=R({},a,{align:l,color:o,className:u,component:c,gutterBottom:f,noWrap:p,paragraph:m,variant:h,variantMapping:x}),y=c||(m?"p":x[h]||Rw[h])||"span",v=X7(_);return D.exports.jsx(Q7,R({as:y,ref:n,ownerState:_,className:_e(v.root,u)},E))});var on=eH;function tH(e){return De("MuiListItemText",e)}const nH=Ne("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);var lp=nH;const rH=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],oH=e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:a}=e;return Be({root:["root",n&&"inset",a&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},tH,t)},iH=he("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${lp.primary}`]:t.primary},{[`& .${lp.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>R({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),aH=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiListItemText"}),{children:o,className:a,disableTypography:l=!1,inset:u=!1,primary:c,primaryTypographyProps:f,secondary:p,secondaryTypographyProps:m}=r,h=ye(r,rH),{dense:x}=C.exports.useContext(rl);let E=c!=null?c:o,_=p;const y=R({},r,{disableTypography:l,inset:u,primary:!!E,secondary:!!_,dense:x}),v=oH(y);return E!=null&&E.type!==on&&!l&&(E=D.exports.jsx(on,R({variant:x?"body2":"body1",className:v.primary,component:"span",display:"block"},f,{children:E}))),_!=null&&_.type!==on&&!l&&(_=D.exports.jsx(on,R({variant:"body2",className:v.secondary,color:"text.secondary",display:"block"},m,{children:_}))),D.exports.jsxs(iH,R({className:_e(v.root,a),ownerState:y,ref:n},h,{children:[E,_]}))});var Hc=aH;function sH(e){return De("MuiListItemButton",e)}const lH=Ne("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);var pu=lH;const uH=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected"],cH=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},dH=e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:a,divider:l,selected:u}=e,f=Be({root:["root",r&&"dense",!a&&"gutters",l&&"divider",o&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},sH,n);return R({},n,f)},fH=he(Ba,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:cH})(({theme:e,ownerState:t})=>R({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${pu.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${pu.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${pu.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${pu.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${pu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),pH=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:a=!1,component:l="div",children:u,dense:c=!1,disableGutters:f=!1,divider:p=!1,focusVisibleClassName:m,selected:h=!1}=r,x=ye(r,uH),E=C.exports.useContext(rl),_={dense:c||E.dense||!1,alignItems:o,disableGutters:f},y=C.exports.useRef(null);bo(()=>{a&&y.current&&y.current.focus()},[a]);const v=R({},r,{alignItems:o,dense:_.dense,disableGutters:f,divider:p,selected:h}),b=dH(v),S=yt(y,n);return D.exports.jsx(rl.Provider,{value:_,children:D.exports.jsx(fH,R({ref:S,href:x.href||x.to,component:(x.href||x.to)&&l==="div"?"a":l,focusVisibleClassName:_e(b.focusVisible,m),ownerState:v},x,{classes:b,children:u}))})});var ol=pH,uy={},hH=It.exports;Object.defineProperty(uy,"__esModule",{value:!0});var up=uy.default=void 0,gH=hH(Ot),mH=D.exports,vH=(0,gH.default)((0,mH.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");up=uy.default=vH;function yH(){this.__data__=[],this.size=0}var xH=yH;function bH(e,t){return e===t||e!==e&&t!==t}var cy=bH,_H=cy;function CH(e,t){for(var n=e.length;n--;)if(_H(e[n][0],t))return n;return-1}var xh=CH,EH=xh,wH=Array.prototype,SH=wH.splice;function $H(e){var t=this.__data__,n=EH(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():SH.call(t,n,1),--this.size,!0}var PH=$H,RH=xh;function TH(e){var t=this.__data__,n=RH(t,e);return n<0?void 0:t[n][1]}var IH=TH,OH=xh;function kH(e){return OH(this.__data__,e)>-1}var AH=kH,LH=xh;function MH(e,t){var n=this.__data__,r=LH(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var NH=MH,DH=xH,BH=PH,FH=IH,UH=AH,zH=NH;function vl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}vl.prototype.clear=DH;vl.prototype.delete=BH;vl.prototype.get=FH;vl.prototype.has=UH;vl.prototype.set=zH;var bh=vl,jH=bh;function WH(){this.__data__=new jH,this.size=0}var HH=WH;function VH(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var GH=VH;function KH(e){return this.__data__.get(e)}var qH=KH;function YH(e){return this.__data__.has(e)}var XH=YH,QH=typeof ri=="object"&&ri&&ri.Object===Object&&ri,zR=QH,ZH=zR,JH=typeof self=="object"&&self&&self.Object===Object&&self,eV=ZH||JH||Function("return this")(),vr=eV,tV=vr,nV=tV.Symbol,yl=nV,Tw=yl,jR=Object.prototype,rV=jR.hasOwnProperty,oV=jR.toString,hu=Tw?Tw.toStringTag:void 0;function iV(e){var t=rV.call(e,hu),n=e[hu];try{e[hu]=void 0;var r=!0}catch{}var o=oV.call(e);return r&&(t?e[hu]=n:delete e[hu]),o}var aV=iV,sV=Object.prototype,lV=sV.toString;function uV(e){return lV.call(e)}var cV=uV,Iw=yl,dV=aV,fV=cV,pV="[object Null]",hV="[object Undefined]",Ow=Iw?Iw.toStringTag:void 0;function gV(e){return e==null?e===void 0?hV:pV:Ow&&Ow in Object(e)?dV(e):fV(e)}var Va=gV;function mV(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var pi=mV,vV=Va,yV=pi,xV="[object AsyncFunction]",bV="[object Function]",_V="[object GeneratorFunction]",CV="[object Proxy]";function EV(e){if(!yV(e))return!1;var t=vV(e);return t==bV||t==_V||t==xV||t==CV}var dy=EV,wV=vr,SV=wV["__core-js_shared__"],$V=SV,Um=$V,kw=function(){var e=/[^.]+$/.exec(Um&&Um.keys&&Um.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function PV(e){return!!kw&&kw in e}var RV=PV,TV=Function.prototype,IV=TV.toString;function OV(e){if(e!=null){try{return IV.call(e)}catch{}try{return e+""}catch{}}return""}var WR=OV,kV=dy,AV=RV,LV=pi,MV=WR,NV=/[\\^$.*+?()[\]{}|]/g,DV=/^\[object .+?Constructor\]$/,BV=Function.prototype,FV=Object.prototype,UV=BV.toString,zV=FV.hasOwnProperty,jV=RegExp("^"+UV.call(zV).replace(NV,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function WV(e){if(!LV(e)||AV(e))return!1;var t=kV(e)?jV:DV;return t.test(MV(e))}var HV=WV;function VV(e,t){return e==null?void 0:e[t]}var GV=VV,KV=HV,qV=GV;function YV(e,t){var n=qV(e,t);return KV(n)?n:void 0}var Ga=YV,XV=Ga,QV=vr,ZV=XV(QV,"Map"),fy=ZV,JV=Ga,eG=JV(Object,"create"),_h=eG,Aw=_h;function tG(){this.__data__=Aw?Aw(null):{},this.size=0}var nG=tG;function rG(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var oG=rG,iG=_h,aG="__lodash_hash_undefined__",sG=Object.prototype,lG=sG.hasOwnProperty;function uG(e){var t=this.__data__;if(iG){var n=t[e];return n===aG?void 0:n}return lG.call(t,e)?t[e]:void 0}var cG=uG,dG=_h,fG=Object.prototype,pG=fG.hasOwnProperty;function hG(e){var t=this.__data__;return dG?t[e]!==void 0:pG.call(t,e)}var gG=hG,mG=_h,vG="__lodash_hash_undefined__";function yG(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=mG&&t===void 0?vG:t,this}var xG=yG,bG=nG,_G=oG,CG=cG,EG=gG,wG=xG;function xl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}xl.prototype.clear=bG;xl.prototype.delete=_G;xl.prototype.get=CG;xl.prototype.has=EG;xl.prototype.set=wG;var SG=xl,Lw=SG,$G=bh,PG=fy;function RG(){this.size=0,this.__data__={hash:new Lw,map:new(PG||$G),string:new Lw}}var TG=RG;function IG(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var OG=IG,kG=OG;function AG(e,t){var n=e.__data__;return kG(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Ch=AG,LG=Ch;function MG(e){var t=LG(this,e).delete(e);return this.size-=t?1:0,t}var NG=MG,DG=Ch;function BG(e){return DG(this,e).get(e)}var FG=BG,UG=Ch;function zG(e){return UG(this,e).has(e)}var jG=zG,WG=Ch;function HG(e,t){var n=WG(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var VG=HG,GG=TG,KG=NG,qG=FG,YG=jG,XG=VG;function bl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}bl.prototype.clear=GG;bl.prototype.delete=KG;bl.prototype.get=qG;bl.prototype.has=YG;bl.prototype.set=XG;var py=bl,QG=bh,ZG=fy,JG=py,eK=200;function tK(e,t){var n=this.__data__;if(n instanceof QG){var r=n.__data__;if(!ZG||r.length<eK-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new JG(r)}return n.set(e,t),this.size=n.size,this}var nK=tK,rK=bh,oK=HH,iK=GH,aK=qH,sK=XH,lK=nK;function _l(e){var t=this.__data__=new rK(e);this.size=t.size}_l.prototype.clear=oK;_l.prototype.delete=iK;_l.prototype.get=aK;_l.prototype.has=sK;_l.prototype.set=lK;var hy=_l;function uK(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var gy=uK,cK=Ga,dK=function(){try{var e=cK(Object,"defineProperty");return e({},"",{}),e}catch{}}(),HR=dK,Mw=HR;function fK(e,t,n){t=="__proto__"&&Mw?Mw(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var VR=fK,pK=VR,hK=cy,gK=Object.prototype,mK=gK.hasOwnProperty;function vK(e,t,n){var r=e[t];(!(mK.call(e,t)&&hK(r,n))||n===void 0&&!(t in e))&&pK(e,t,n)}var my=vK,yK=my,xK=VR;function bK(e,t,n,r){var o=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var u=t[a],c=r?r(n[u],e[u],u,n,e):void 0;c===void 0&&(c=e[u]),o?xK(n,u,c):yK(n,u,c)}return n}var Vc=bK;function _K(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var CK=_K;function EK(e){return e!=null&&typeof e=="object"}var ao=EK,wK=Va,SK=ao,$K="[object Arguments]";function PK(e){return SK(e)&&wK(e)==$K}var RK=PK,Nw=RK,TK=ao,GR=Object.prototype,IK=GR.hasOwnProperty,OK=GR.propertyIsEnumerable,kK=Nw(function(){return arguments}())?Nw:function(e){return TK(e)&&IK.call(e,"callee")&&!OK.call(e,"callee")},Eh=kK,AK=Array.isArray,Gn=AK,il={exports:{}};function LK(){return!1}var MK=LK;(function(e,t){var n=vr,r=MK,o=t&&!t.nodeType&&t,a=o&&!0&&e&&!e.nodeType&&e,l=a&&a.exports===o,u=l?n.Buffer:void 0,c=u?u.isBuffer:void 0,f=c||r;e.exports=f})(il,il.exports);var NK=9007199254740991,DK=/^(?:0|[1-9]\d*)$/;function BK(e,t){var n=typeof e;return t=t==null?NK:t,!!t&&(n=="number"||n!="symbol"&&DK.test(e))&&e>-1&&e%1==0&&e<t}var wh=BK,FK=9007199254740991;function UK(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=FK}var vy=UK,zK=Va,jK=vy,WK=ao,HK="[object Arguments]",VK="[object Array]",GK="[object Boolean]",KK="[object Date]",qK="[object Error]",YK="[object Function]",XK="[object Map]",QK="[object Number]",ZK="[object Object]",JK="[object RegExp]",eq="[object Set]",tq="[object String]",nq="[object WeakMap]",rq="[object ArrayBuffer]",oq="[object DataView]",iq="[object Float32Array]",aq="[object Float64Array]",sq="[object Int8Array]",lq="[object Int16Array]",uq="[object Int32Array]",cq="[object Uint8Array]",dq="[object Uint8ClampedArray]",fq="[object Uint16Array]",pq="[object Uint32Array]",qt={};qt[iq]=qt[aq]=qt[sq]=qt[lq]=qt[uq]=qt[cq]=qt[dq]=qt[fq]=qt[pq]=!0;qt[HK]=qt[VK]=qt[rq]=qt[GK]=qt[oq]=qt[KK]=qt[qK]=qt[YK]=qt[XK]=qt[QK]=qt[ZK]=qt[JK]=qt[eq]=qt[tq]=qt[nq]=!1;function hq(e){return WK(e)&&jK(e.length)&&!!qt[zK(e)]}var gq=hq;function mq(e){return function(t){return e(t)}}var Sh=mq,Cc={exports:{}};(function(e,t){var n=zR,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===r,l=a&&n.process,u=function(){try{var c=o&&o.require&&o.require("util").types;return c||l&&l.binding&&l.binding("util")}catch{}}();e.exports=u})(Cc,Cc.exports);var vq=gq,yq=Sh,Dw=Cc.exports,Bw=Dw&&Dw.isTypedArray,xq=Bw?yq(Bw):vq,yy=xq,bq=CK,_q=Eh,Cq=Gn,Eq=il.exports,wq=wh,Sq=yy,$q=Object.prototype,Pq=$q.hasOwnProperty;function Rq(e,t){var n=Cq(e),r=!n&&_q(e),o=!n&&!r&&Eq(e),a=!n&&!r&&!o&&Sq(e),l=n||r||o||a,u=l?bq(e.length,String):[],c=u.length;for(var f in e)(t||Pq.call(e,f))&&!(l&&(f=="length"||o&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||wq(f,c)))&&u.push(f);return u}var KR=Rq,Tq=Object.prototype;function Iq(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Tq;return e===n}var $h=Iq;function Oq(e,t){return function(n){return e(t(n))}}var qR=Oq,kq=qR,Aq=kq(Object.keys,Object),Lq=Aq,Mq=$h,Nq=Lq,Dq=Object.prototype,Bq=Dq.hasOwnProperty;function Fq(e){if(!Mq(e))return Nq(e);var t=[];for(var n in Object(e))Bq.call(e,n)&&n!="constructor"&&t.push(n);return t}var xy=Fq,Uq=dy,zq=vy;function jq(e){return e!=null&&zq(e.length)&&!Uq(e)}var Cl=jq,Wq=KR,Hq=xy,Vq=Cl;function Gq(e){return Vq(e)?Wq(e):Hq(e)}var El=Gq,Kq=Vc,qq=El;function Yq(e,t){return e&&Kq(t,qq(t),e)}var YR=Yq;function Xq(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Qq=Xq,Zq=pi,Jq=$h,eY=Qq,tY=Object.prototype,nY=tY.hasOwnProperty;function rY(e){if(!Zq(e))return eY(e);var t=Jq(e),n=[];for(var r in e)r=="constructor"&&(t||!nY.call(e,r))||n.push(r);return n}var oY=rY,iY=KR,aY=oY,sY=Cl;function lY(e){return sY(e)?iY(e,!0):aY(e)}var by=lY,uY=Vc,cY=by;function dY(e,t){return e&&uY(t,cY(t),e)}var fY=dY,p0={exports:{}};(function(e,t){var n=vr,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===r,l=a?n.Buffer:void 0,u=l?l.allocUnsafe:void 0;function c(f,p){if(p)return f.slice();var m=f.length,h=u?u(m):new f.constructor(m);return f.copy(h),h}e.exports=c})(p0,p0.exports);function pY(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Ph=pY;function hY(e,t){for(var n=-1,r=e==null?0:e.length,o=0,a=[];++n<r;){var l=e[n];t(l,n,e)&&(a[o++]=l)}return a}var gY=hY;function mY(){return[]}var XR=mY,vY=gY,yY=XR,xY=Object.prototype,bY=xY.propertyIsEnumerable,Fw=Object.getOwnPropertySymbols,_Y=Fw?function(e){return e==null?[]:(e=Object(e),vY(Fw(e),function(t){return bY.call(e,t)}))}:yY,_y=_Y,CY=Vc,EY=_y;function wY(e,t){return CY(e,EY(e),t)}var SY=wY;function $Y(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var Cy=$Y,PY=qR,RY=PY(Object.getPrototypeOf,Object),Ey=RY,TY=Cy,IY=Ey,OY=_y,kY=XR,AY=Object.getOwnPropertySymbols,LY=AY?function(e){for(var t=[];e;)TY(t,OY(e)),e=IY(e);return t}:kY,QR=LY,MY=Vc,NY=QR;function DY(e,t){return MY(e,NY(e),t)}var BY=DY,FY=Cy,UY=Gn;function zY(e,t,n){var r=t(e);return UY(e)?r:FY(r,n(e))}var ZR=zY,jY=ZR,WY=_y,HY=El;function VY(e){return jY(e,HY,WY)}var JR=VY,GY=ZR,KY=QR,qY=by;function YY(e){return GY(e,qY,KY)}var wy=YY,XY=Ga,QY=vr,ZY=XY(QY,"DataView"),JY=ZY,eX=Ga,tX=vr,nX=eX(tX,"Promise"),rX=nX,oX=Ga,iX=vr,aX=oX(iX,"Set"),sX=aX,lX=Ga,uX=vr,cX=lX(uX,"WeakMap"),eT=cX,h0=JY,g0=fy,m0=rX,v0=sX,y0=eT,tT=Va,wl=WR,Uw="[object Map]",dX="[object Object]",zw="[object Promise]",jw="[object Set]",Ww="[object WeakMap]",Hw="[object DataView]",fX=wl(h0),pX=wl(g0),hX=wl(m0),gX=wl(v0),mX=wl(y0),ya=tT;(h0&&ya(new h0(new ArrayBuffer(1)))!=Hw||g0&&ya(new g0)!=Uw||m0&&ya(m0.resolve())!=zw||v0&&ya(new v0)!=jw||y0&&ya(new y0)!=Ww)&&(ya=function(e){var t=tT(e),n=t==dX?e.constructor:void 0,r=n?wl(n):"";if(r)switch(r){case fX:return Hw;case pX:return Uw;case hX:return zw;case gX:return jw;case mX:return Ww}return t});var Sl=ya,vX=Object.prototype,yX=vX.hasOwnProperty;function xX(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&yX.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var bX=xX,_X=vr,CX=_X.Uint8Array,nT=CX,Vw=nT;function EX(e){var t=new e.constructor(e.byteLength);return new Vw(t).set(new Vw(e)),t}var Sy=EX,wX=Sy;function SX(e,t){var n=t?wX(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var $X=SX,PX=/\w*$/;function RX(e){var t=new e.constructor(e.source,PX.exec(e));return t.lastIndex=e.lastIndex,t}var TX=RX,Gw=yl,Kw=Gw?Gw.prototype:void 0,qw=Kw?Kw.valueOf:void 0;function IX(e){return qw?Object(qw.call(e)):{}}var OX=IX,kX=Sy;function AX(e,t){var n=t?kX(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var LX=AX,MX=Sy,NX=$X,DX=TX,BX=OX,FX=LX,UX="[object Boolean]",zX="[object Date]",jX="[object Map]",WX="[object Number]",HX="[object RegExp]",VX="[object Set]",GX="[object String]",KX="[object Symbol]",qX="[object ArrayBuffer]",YX="[object DataView]",XX="[object Float32Array]",QX="[object Float64Array]",ZX="[object Int8Array]",JX="[object Int16Array]",eQ="[object Int32Array]",tQ="[object Uint8Array]",nQ="[object Uint8ClampedArray]",rQ="[object Uint16Array]",oQ="[object Uint32Array]";function iQ(e,t,n){var r=e.constructor;switch(t){case qX:return MX(e);case UX:case zX:return new r(+e);case YX:return NX(e,n);case XX:case QX:case ZX:case JX:case eQ:case tQ:case nQ:case rQ:case oQ:return FX(e,n);case jX:return new r;case WX:case GX:return new r(e);case HX:return DX(e);case VX:return new r;case KX:return BX(e)}}var aQ=iQ,sQ=pi,Yw=Object.create,lQ=function(){function e(){}return function(t){if(!sQ(t))return{};if(Yw)return Yw(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Rh=lQ,uQ=Rh,cQ=Ey,dQ=$h;function fQ(e){return typeof e.constructor=="function"&&!dQ(e)?uQ(cQ(e)):{}}var pQ=fQ,hQ=Sl,gQ=ao,mQ="[object Map]";function vQ(e){return gQ(e)&&hQ(e)==mQ}var yQ=vQ,xQ=yQ,bQ=Sh,Xw=Cc.exports,Qw=Xw&&Xw.isMap,_Q=Qw?bQ(Qw):xQ,CQ=_Q,EQ=Sl,wQ=ao,SQ="[object Set]";function $Q(e){return wQ(e)&&EQ(e)==SQ}var PQ=$Q,RQ=PQ,TQ=Sh,Zw=Cc.exports,Jw=Zw&&Zw.isSet,IQ=Jw?TQ(Jw):RQ,OQ=IQ,kQ=hy,AQ=gy,LQ=my,MQ=YR,NQ=fY,DQ=p0.exports,BQ=Ph,FQ=SY,UQ=BY,zQ=JR,jQ=wy,WQ=Sl,HQ=bX,VQ=aQ,GQ=pQ,KQ=Gn,qQ=il.exports,YQ=CQ,XQ=pi,QQ=OQ,ZQ=El,JQ=by,eZ=1,tZ=2,nZ=4,rT="[object Arguments]",rZ="[object Array]",oZ="[object Boolean]",iZ="[object Date]",aZ="[object Error]",oT="[object Function]",sZ="[object GeneratorFunction]",lZ="[object Map]",uZ="[object Number]",iT="[object Object]",cZ="[object RegExp]",dZ="[object Set]",fZ="[object String]",pZ="[object Symbol]",hZ="[object WeakMap]",gZ="[object ArrayBuffer]",mZ="[object DataView]",vZ="[object Float32Array]",yZ="[object Float64Array]",xZ="[object Int8Array]",bZ="[object Int16Array]",_Z="[object Int32Array]",CZ="[object Uint8Array]",EZ="[object Uint8ClampedArray]",wZ="[object Uint16Array]",SZ="[object Uint32Array]",Wt={};Wt[rT]=Wt[rZ]=Wt[gZ]=Wt[mZ]=Wt[oZ]=Wt[iZ]=Wt[vZ]=Wt[yZ]=Wt[xZ]=Wt[bZ]=Wt[_Z]=Wt[lZ]=Wt[uZ]=Wt[iT]=Wt[cZ]=Wt[dZ]=Wt[fZ]=Wt[pZ]=Wt[CZ]=Wt[EZ]=Wt[wZ]=Wt[SZ]=!0;Wt[aZ]=Wt[oT]=Wt[hZ]=!1;function Of(e,t,n,r,o,a){var l,u=t&eZ,c=t&tZ,f=t&nZ;if(n&&(l=o?n(e,r,o,a):n(e)),l!==void 0)return l;if(!XQ(e))return e;var p=KQ(e);if(p){if(l=HQ(e),!u)return BQ(e,l)}else{var m=WQ(e),h=m==oT||m==sZ;if(qQ(e))return DQ(e,u);if(m==iT||m==rT||h&&!o){if(l=c||h?{}:GQ(e),!u)return c?UQ(e,NQ(l,e)):FQ(e,MQ(l,e))}else{if(!Wt[m])return o?e:{};l=VQ(e,m,u)}}a||(a=new kQ);var x=a.get(e);if(x)return x;a.set(e,l),QQ(e)?e.forEach(function(y){l.add(Of(y,t,n,y,e,a))}):YQ(e)&&e.forEach(function(y,v){l.set(v,Of(y,t,n,v,e,a))});var E=f?c?jQ:zQ:c?JQ:ZQ,_=p?void 0:E(e);return AQ(_||e,function(y,v){_&&(v=y,y=e[v]),LQ(l,v,Of(y,t,n,v,e,a))}),l}var Th=Of,$Z=Th,PZ=1,RZ=4;function TZ(e){return $Z(e,PZ|RZ)}var vn=TZ,$y={},IZ=It.exports;Object.defineProperty($y,"__esModule",{value:!0});var Ih=$y.default=void 0,OZ=IZ(Ot),kZ=D.exports,AZ=(0,OZ.default)((0,kZ.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");Ih=$y.default=AZ;var Py={},LZ=It.exports;Object.defineProperty(Py,"__esModule",{value:!0});var aT=Py.default=void 0,MZ=LZ(Ot),NZ=D.exports,DZ=(0,MZ.default)((0,NZ.jsx)("path",{d:"M22 9V7h-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-2h2v-2h-2v-2h2v-2h-2V9h2zm-4 10H4V5h14v14zM6 13h5v4H6zm6-6h4v3h-4zM6 7h5v5H6zm6 4h4v6h-4z"}),"DeveloperBoard");aT=Py.default=DZ;const BZ=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function x0(e){return`scale(${e}, ${e**2})`}const FZ={entering:{opacity:1,transform:x0(1)},entered:{opacity:1,transform:"none"}},zm=typeof navigator!="undefined"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),sT=C.exports.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:a,easing:l,in:u,onEnter:c,onEntered:f,onEntering:p,onExit:m,onExited:h,onExiting:x,style:E,timeout:_="auto",TransitionComponent:y=vh}=t,v=ye(t,BZ),b=C.exports.useRef(),S=C.exports.useRef(),P=Eo(),A=C.exports.useRef(null),k=yt(a.ref,n),I=yt(A,k),L=G=>j=>{if(G){const te=A.current;j===void 0?G(te):G(te,j)}},N=L(p),B=L((G,j)=>{ry(G);const{duration:te,delay:ne,easing:me}=qi({style:E,timeout:_,easing:l},{mode:"enter"});let H;_==="auto"?(H=P.transitions.getAutoHeightDuration(G.clientHeight),S.current=H):H=te,G.style.transition=[P.transitions.create("opacity",{duration:H,delay:ne}),P.transitions.create("transform",{duration:zm?H:H*.666,delay:ne,easing:me})].join(","),c&&c(G,j)}),V=L(f),ee=L(x),X=L(G=>{const{duration:j,delay:te,easing:ne}=qi({style:E,timeout:_,easing:l},{mode:"exit"});let me;_==="auto"?(me=P.transitions.getAutoHeightDuration(G.clientHeight),S.current=me):me=j,G.style.transition=[P.transitions.create("opacity",{duration:me,delay:te}),P.transitions.create("transform",{duration:zm?me:me*.666,delay:zm?te:te||me*.333,easing:ne})].join(","),G.style.opacity=0,G.style.transform=x0(.75),m&&m(G)}),ie=L(h),J=G=>{_==="auto"&&(b.current=setTimeout(G,S.current||0)),r&&r(A.current,G)};return C.exports.useEffect(()=>()=>{clearTimeout(b.current)},[]),D.exports.jsx(y,R({appear:o,in:u,nodeRef:A,onEnter:B,onEntered:V,onEntering:N,onExit:X,onExited:ie,onExiting:ee,addEndListener:J,timeout:_==="auto"?null:_},v,{children:(G,j)=>C.exports.cloneElement(a,R({style:R({opacity:0,transform:x0(.75),visibility:G==="exited"&&!u?"hidden":void 0},FZ[G],E,a.props.style),ref:I},j))}))});sT.muiSupportAuto=!0;var b0=sT;const UZ=he(wj,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zZ=C.exports.forwardRef(function(t,n){const r=aR(),o=Ue({props:t,name:"MuiPopper"});return D.exports.jsx(UZ,R({direction:r==null?void 0:r.direction},o,{ref:n}))});var Gc=zZ;function jZ(e){return De("MuiTooltip",e)}const WZ=Ne("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);var Yr=WZ;const HZ=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"];function VZ(e){return Math.round(e*1e5)/1e5}const GZ=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:a}=e,l={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${ce(a.split("-")[0])}`],arrow:["arrow"]};return Be(l,jZ,t)},KZ=he(Gc,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>R({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Yr.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Yr.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Yr.arrow}`]:R({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Yr.arrow}`]:R({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),qZ=he("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ce(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>R({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:st(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${VZ(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Yr.popper}[data-popper-placement*="left"] &`]:R({transformOrigin:"right center"},t.isRtl?R({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):R({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Yr.popper}[data-popper-placement*="right"] &`]:R({transformOrigin:"left center"},t.isRtl?R({marginRight:"14px"},t.touch&&{marginRight:"24px"}):R({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Yr.popper}[data-popper-placement*="top"] &`]:R({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Yr.popper}[data-popper-placement*="bottom"] &`]:R({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),YZ=he("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:st(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let sf=!1,jm=null;function lf(e,t){return n=>{t&&t(n),e(n)}}const XZ=C.exports.forwardRef(function(t,n){var r,o,a,l,u,c;const f=Ue({props:t,name:"MuiTooltip"}),{arrow:p=!1,children:m,components:h={},componentsProps:x={},describeChild:E=!1,disableFocusListener:_=!1,disableHoverListener:y=!1,disableInteractive:v=!1,disableTouchListener:b=!1,enterDelay:S=100,enterNextDelay:P=0,enterTouchDelay:A=700,followCursor:k=!1,id:I,leaveDelay:L=0,leaveTouchDelay:N=1500,onClose:B,onOpen:V,open:ee,placement:X="bottom",PopperComponent:ie,PopperProps:J={},title:G,TransitionComponent:j=b0,TransitionProps:te}=f,ne=ye(f,HZ),me=Eo(),H=me.direction==="rtl",[q,Z]=C.exports.useState(),[ue,K]=C.exports.useState(null),U=C.exports.useRef(!1),Y=v||k,re=C.exports.useRef(),fe=C.exports.useRef(),we=C.exports.useRef(),ke=C.exports.useRef(),[Ie,Ce]=Ui({controlled:ee,default:!1,name:"Tooltip",state:"open"});let We=Ie;const Me=Ma(I),ft=C.exports.useRef(),ze=C.exports.useCallback(()=>{ft.current!==void 0&&(document.body.style.WebkitUserSelect=ft.current,ft.current=void 0),clearTimeout(ke.current)},[]);C.exports.useEffect(()=>()=>{clearTimeout(re.current),clearTimeout(fe.current),clearTimeout(we.current),ze()},[ze]);const bt=Je=>{clearTimeout(jm),sf=!0,Ce(!0),V&&!We&&V(Je)},kt=$r(Je=>{clearTimeout(jm),jm=setTimeout(()=>{sf=!1},800+L),Ce(!1),B&&We&&B(Je),clearTimeout(re.current),re.current=setTimeout(()=>{U.current=!1},me.transitions.duration.shortest)}),Ge=Je=>{U.current&&Je.type!=="touchstart"||(q&&q.removeAttribute("title"),clearTimeout(fe.current),clearTimeout(we.current),S||sf&&P?fe.current=setTimeout(()=>{bt(Je)},sf?P:S):bt(Je))},qe=Je=>{clearTimeout(fe.current),clearTimeout(we.current),we.current=setTimeout(()=>{kt(Je)},L)},{isFocusVisibleRef:vt,onBlur:zt,onFocus:nt,ref:rt}=Jp(),[,pt]=C.exports.useState(!1),Pe=Je=>{zt(Je),vt.current===!1&&(pt(!1),qe(Je))},be=Je=>{q||Z(Je.currentTarget),nt(Je),vt.current===!0&&(pt(!0),Ge(Je))},Xe=Je=>{U.current=!0;const cn=m.props;cn.onTouchStart&&cn.onTouchStart(Je)},Se=Ge,et=qe,Nt=Je=>{Xe(Je),clearTimeout(we.current),clearTimeout(re.current),ze(),ft.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ke.current=setTimeout(()=>{document.body.style.WebkitUserSelect=ft.current,Ge(Je)},A)},Xt=Je=>{m.props.onTouchEnd&&m.props.onTouchEnd(Je),ze(),clearTimeout(we.current),we.current=setTimeout(()=>{kt(Je)},N)};C.exports.useEffect(()=>{if(!We)return;function Je(cn){(cn.key==="Escape"||cn.key==="Esc")&&kt(cn)}return document.addEventListener("keydown",Je),()=>{document.removeEventListener("keydown",Je)}},[kt,We]);const Cn=yt(Z,n),Tn=yt(rt,Cn),Nn=yt(m.ref,Tn);G===""&&(We=!1);const tn=C.exports.useRef({x:0,y:0}),xe=C.exports.useRef(),Ae=Je=>{const cn=m.props;cn.onMouseMove&&cn.onMouseMove(Je),tn.current={x:Je.clientX,y:Je.clientY},xe.current&&xe.current.update()},Le={},at=typeof G=="string";E?(Le.title=!We&&at&&!y?G:null,Le["aria-describedby"]=We?Me:null):(Le["aria-label"]=at?G:null,Le["aria-labelledby"]=We&&!at?Me:null);const ht=R({},Le,ne,m.props,{className:_e(ne.className,m.props.className),onTouchStart:Xe,ref:Nn},k?{onMouseMove:Ae}:{}),Mr={};b||(ht.onTouchStart=Nt,ht.onTouchEnd=Xt),y||(ht.onMouseOver=lf(Se,ht.onMouseOver),ht.onMouseLeave=lf(et,ht.onMouseLeave),Y||(Mr.onMouseOver=Se,Mr.onMouseLeave=et)),_||(ht.onFocus=lf(be,ht.onFocus),ht.onBlur=lf(Pe,ht.onBlur),Y||(Mr.onFocus=be,Mr.onBlur=Pe));const Vo=C.exports.useMemo(()=>{var Je;let cn=[{name:"arrow",enabled:Boolean(ue),options:{element:ue,padding:4}}];return(Je=J.popperOptions)!=null&&Je.modifiers&&(cn=cn.concat(J.popperOptions.modifiers)),R({},J.popperOptions,{modifiers:cn})},[ue,J]),Kn=R({},f,{isRtl:H,arrow:p,disableInteractive:Y,placement:X,PopperComponentProp:ie,touch:U.current}),yr=GZ(Kn),xr=(r=h.Popper)!=null?r:KZ,lt=(o=(a=h.Transition)!=null?a:j)!=null?o:b0,an=(l=h.Tooltip)!=null?l:qZ,Dn=(u=h.Arrow)!=null?u:YZ,tr=Iu(xr,R({},J,x.popper),Kn),Ll=Iu(lt,R({},te,x.transition),Kn),oa=Iu(an,R({},x.tooltip),Kn),Ml=Iu(Dn,R({},x.arrow),Kn);return D.exports.jsxs(C.exports.Fragment,{children:[C.exports.cloneElement(m,ht),D.exports.jsx(xr,R({as:ie!=null?ie:Gc,placement:X,anchorEl:k?{getBoundingClientRect:()=>({top:tn.current.y,left:tn.current.x,right:tn.current.x,bottom:tn.current.y,width:0,height:0})}:q,popperRef:xe,open:q?We:!1,id:Me,transition:!0},Mr,tr,{className:_e(yr.popper,J==null?void 0:J.className,(c=x.popper)==null?void 0:c.className),popperOptions:Vo,children:({TransitionProps:Je})=>{var cn,de;return D.exports.jsx(lt,R({timeout:me.transitions.duration.shorter},Je,Ll,{children:D.exports.jsxs(an,R({},oa,{className:_e(yr.tooltip,(cn=x.tooltip)==null?void 0:cn.className),children:[G,p?D.exports.jsx(Dn,R({},Ml,{className:_e(yr.arrow,(de=x.arrow)==null?void 0:de.className),ref:K})):null]}))}))}}))]})});var lT=XZ;const eS={arrow:{[`& .${Yr.arrow}`]:{color:"common.white"}},tooltip:{[`& .${Yr.tooltip}`]:{backgroundColor:"common.white",color:"common.black"}}},xo=e=>w.createElement(lT,{...e,arrow:!0,classes:{arrow:Yr.arrow,tooltip:Yr.tooltip},sx:[eS.arrow,eS.tooltip]}),QZ=e=>e.language.currentLanguage;function ZZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function nS(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tS(Object(n),!0).forEach(function(r){ZZ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tS(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function kn(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var rS=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Wm=function(){return Math.random().toString(36).substring(7).split("").join(".")},cp={INIT:"@@redux/INIT"+Wm(),REPLACE:"@@redux/REPLACE"+Wm(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Wm()}};function JZ(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function uT(e,t,n){var r;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(kn(0));if(typeof t=="function"&&typeof n=="undefined"&&(n=t,t=void 0),typeof n!="undefined"){if(typeof n!="function")throw new Error(kn(1));return n(uT)(e,t)}if(typeof e!="function")throw new Error(kn(2));var o=e,a=t,l=[],u=l,c=!1;function f(){u===l&&(u=l.slice())}function p(){if(c)throw new Error(kn(3));return a}function m(_){if(typeof _!="function")throw new Error(kn(4));if(c)throw new Error(kn(5));var y=!0;return f(),u.push(_),function(){if(!!y){if(c)throw new Error(kn(6));y=!1,f();var b=u.indexOf(_);u.splice(b,1),l=null}}}function h(_){if(!JZ(_))throw new Error(kn(7));if(typeof _.type=="undefined")throw new Error(kn(8));if(c)throw new Error(kn(9));try{c=!0,a=o(a,_)}finally{c=!1}for(var y=l=u,v=0;v<y.length;v++){var b=y[v];b()}return _}function x(_){if(typeof _!="function")throw new Error(kn(10));o=_,h({type:cp.REPLACE})}function E(){var _,y=m;return _={subscribe:function(b){if(typeof b!="object"||b===null)throw new Error(kn(11));function S(){b.next&&b.next(p())}S();var P=y(S);return{unsubscribe:P}}},_[rS]=function(){return this},_}return h({type:cp.INIT}),r={dispatch:h,subscribe:m,getState:p,replaceReducer:x},r[rS]=E,r}function eJ(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:cp.INIT});if(typeof r=="undefined")throw new Error(kn(12));if(typeof n(void 0,{type:cp.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(kn(13))})}function Ry(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];typeof e[o]=="function"&&(n[o]=e[o])}var a=Object.keys(n),l;try{eJ(n)}catch(u){l=u}return function(c,f){if(c===void 0&&(c={}),l)throw l;for(var p=!1,m={},h=0;h<a.length;h++){var x=a[h],E=n[x],_=c[x],y=E(_,f);if(typeof y=="undefined")throw f&&f.type,new Error(kn(14));m[x]=y,p=p||y!==_}return p=p||a.length!==Object.keys(c).length,p?m:c}}function oS(e,t){return function(){return t(e.apply(this,arguments))}}function cT(e,t){if(typeof e=="function")return oS(e,t);if(typeof e!="object"||e===null)throw new Error(kn(16));var n={};for(var r in e){var o=e[r];typeof o=="function"&&(n[r]=oS(o,t))}return n}function dp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(r){return r}:t.length===1?t[0]:t.reduce(function(r,o){return function(){return r(o.apply(void 0,arguments))}})}function tJ(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return function(){var o=r.apply(void 0,arguments),a=function(){throw new Error(kn(15))},l={getState:o.getState,dispatch:function(){return a.apply(void 0,arguments)}},u=t.map(function(c){return c(l)});return a=dp.apply(void 0,u)(o.dispatch),nS(nS({},o),{},{dispatch:a})}}}function vo(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(o){return"'"+o+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Yi(e){return!!e&&!!e[Jt]}function Xi(e){return!!e&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var r=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return r===Object||typeof r=="function"&&Function.toString.call(r)===cJ}(e)||Array.isArray(e)||!!e[dS]||!!e.constructor[dS]||Ty(e)||Iy(e))}function Fa(e,t,n){n===void 0&&(n=!1),$l(e)===0?(n?Object.keys:zs)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,o){return t(o,r,e)})}function $l(e){var t=e[Jt];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ty(e)?2:Iy(e)?3:0}function Us(e,t){return $l(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function nJ(e,t){return $l(e)===2?e.get(t):e[t]}function dT(e,t,n){var r=$l(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function fT(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ty(e){return lJ&&e instanceof Map}function Iy(e){return uJ&&e instanceof Set}function xa(e){return e.o||e.t}function Oy(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=hT(e);delete t[Jt];for(var n=zs(t),r=0;r<n.length;r++){var o=n[r],a=t[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function ky(e,t){return t===void 0&&(t=!1),Ay(e)||Yi(e)||!Xi(e)||($l(e)>1&&(e.set=e.add=e.clear=e.delete=rJ),Object.freeze(e),t&&Fa(e,function(n,r){return ky(r,!0)},!0)),e}function rJ(){vo(2)}function Ay(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function li(e){var t=w0[e];return t||vo(18,e),t}function oJ(e,t){w0[e]||(w0[e]=t)}function _0(){return Ec}function Hm(e,t){t&&(li("Patches"),e.u=[],e.s=[],e.v=t)}function fp(e){C0(e),e.p.forEach(iJ),e.p=null}function C0(e){e===Ec&&(Ec=e.l)}function iS(e){return Ec={p:[],l:Ec,h:e,m:!0,_:0}}function iJ(e){var t=e[Jt];t.i===0||t.i===1?t.j():t.O=!0}function Vm(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||li("ES5").S(t,e,r),r?(n[Jt].P&&(fp(t),vo(4)),Xi(e)&&(e=pp(t,e),t.l||hp(t,e)),t.u&&li("Patches").M(n[Jt],e,t.u,t.s)):e=pp(t,n,[]),fp(t),t.u&&t.v(t.u,t.s),e!==pT?e:void 0}function pp(e,t,n){if(Ay(t))return t;var r=t[Jt];if(!r)return Fa(t,function(a,l){return aS(e,r,t,a,l,n)},!0),t;if(r.A!==e)return t;if(!r.P)return hp(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=Oy(r.k):r.o;Fa(r.i===3?new Set(o):o,function(a,l){return aS(e,r,o,a,l,n)}),hp(e,o,!1),n&&e.u&&li("Patches").R(r,n,e.u,e.s)}return r.o}function aS(e,t,n,r,o,a){if(Yi(o)){var l=pp(e,o,a&&t&&t.i!==3&&!Us(t.D,r)?a.concat(r):void 0);if(dT(n,r,l),!Yi(l))return;e.m=!1}if(Xi(o)&&!Ay(o)){if(!e.h.F&&e._<1)return;pp(e,o),t&&t.A.l||hp(e,o)}}function hp(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&ky(t,n)}function Gm(e,t){var n=e[Jt];return(n?xa(n):e)[t]}function sS(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Pi(e){e.P||(e.P=!0,e.l&&Pi(e.l))}function Km(e){e.o||(e.o=Oy(e.t))}function E0(e,t,n){var r=Ty(t)?li("MapSet").N(t,n):Iy(t)?li("MapSet").T(t,n):e.g?function(o,a){var l=Array.isArray(o),u={i:l?1:0,A:a?a.A:_0(),P:!1,I:!1,D:{},l:a,t:o,k:null,o:null,j:null,C:!1},c=u,f=js;l&&(c=[u],f=kf);var p=Proxy.revocable(c,f),m=p.revoke,h=p.proxy;return u.k=h,u.j=m,h}(t,n):li("ES5").J(t,n);return(n?n.A:_0()).p.push(r),r}function aJ(e){return Yi(e)||vo(22,e),function t(n){if(!Xi(n))return n;var r,o=n[Jt],a=$l(n);if(o){if(!o.P&&(o.i<4||!li("ES5").K(o)))return o.t;o.I=!0,r=lS(n,a),o.I=!1}else r=lS(n,a);return Fa(r,function(l,u){o&&nJ(o.t,l)===u||dT(r,l,t(u))}),a===3?new Set(r):r}(e)}function lS(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Oy(e)}function sJ(){function e(a,l){var u=o[a];return u?u.enumerable=l:o[a]=u={configurable:!0,enumerable:l,get:function(){var c=this[Jt];return js.get(c,a)},set:function(c){var f=this[Jt];js.set(f,a,c)}},u}function t(a){for(var l=a.length-1;l>=0;l--){var u=a[l][Jt];if(!u.P)switch(u.i){case 5:r(u)&&Pi(u);break;case 4:n(u)&&Pi(u)}}}function n(a){for(var l=a.t,u=a.k,c=zs(u),f=c.length-1;f>=0;f--){var p=c[f];if(p!==Jt){var m=l[p];if(m===void 0&&!Us(l,p))return!0;var h=u[p],x=h&&h[Jt];if(x?x.t!==m:!fT(h,m))return!0}}var E=!!l[Jt];return c.length!==zs(l).length+(E?0:1)}function r(a){var l=a.k;if(l.length!==a.t.length)return!0;var u=Object.getOwnPropertyDescriptor(l,l.length-1);return!(!u||u.get)}var o={};oJ("ES5",{J:function(a,l){var u=Array.isArray(a),c=function(p,m){if(p){for(var h=Array(m.length),x=0;x<m.length;x++)Object.defineProperty(h,""+x,e(x,!0));return h}var E=hT(m);delete E[Jt];for(var _=zs(E),y=0;y<_.length;y++){var v=_[y];E[v]=e(v,p||!!E[v].enumerable)}return Object.create(Object.getPrototypeOf(m),E)}(u,a),f={i:u?5:4,A:l?l.A:_0(),P:!1,I:!1,D:{},l,t:a,k:c,o:null,O:!1,C:!1};return Object.defineProperty(c,Jt,{value:f,writable:!0}),c},S:function(a,l,u){u?Yi(l)&&l[Jt].A===a&&t(a.p):(a.u&&function c(f){if(f&&typeof f=="object"){var p=f[Jt];if(p){var m=p.t,h=p.k,x=p.D,E=p.i;if(E===4)Fa(h,function(S){S!==Jt&&(m[S]!==void 0||Us(m,S)?x[S]||c(h[S]):(x[S]=!0,Pi(p)))}),Fa(m,function(S){h[S]!==void 0||Us(h,S)||(x[S]=!1,Pi(p))});else if(E===5){if(r(p)&&(Pi(p),x.length=!0),h.length<m.length)for(var _=h.length;_<m.length;_++)x[_]=!1;else for(var y=m.length;y<h.length;y++)x[y]=!0;for(var v=Math.min(h.length,m.length),b=0;b<v;b++)x[b]===void 0&&c(h[b])}}}}(a.p[0]),t(a.p))},K:function(a){return a.i===4?n(a):r(a)}})}var uS,Ec,Ly=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",lJ=typeof Map!="undefined",uJ=typeof Set!="undefined",cS=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",pT=Ly?Symbol.for("immer-nothing"):((uS={})["immer-nothing"]=!0,uS),dS=Ly?Symbol.for("immer-draftable"):"__$immer_draftable",Jt=Ly?Symbol.for("immer-state"):"__$immer_state",cJ=""+Object.prototype.constructor,zs=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,hT=Object.getOwnPropertyDescriptors||function(e){var t={};return zs(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},w0={},js={get:function(e,t){if(t===Jt)return e;var n=xa(e);if(!Us(n,t))return function(o,a,l){var u,c=sS(a,l);return c?"value"in c?c.value:(u=c.get)===null||u===void 0?void 0:u.call(o.k):void 0}(e,n,t);var r=n[t];return e.I||!Xi(r)?r:r===Gm(e.t,t)?(Km(e),e.o[t]=E0(e.A.h,r,e)):r},has:function(e,t){return t in xa(e)},ownKeys:function(e){return Reflect.ownKeys(xa(e))},set:function(e,t,n){var r=sS(xa(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Gm(xa(e),t),a=o==null?void 0:o[Jt];if(a&&a.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(fT(n,o)&&(n!==void 0||Us(e.t,t)))return!0;Km(e),Pi(e)}return e.o[t]===n&&typeof n!="number"&&(n!==void 0||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return Gm(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,Km(e),Pi(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=xa(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){vo(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){vo(12)}},kf={};Fa(js,function(e,t){kf[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),kf.deleteProperty=function(e,t){return js.deleteProperty.call(this,e[0],t)},kf.set=function(e,t,n){return js.set.call(this,e[0],t,n,e[0])};var dJ=function(){function e(n){var r=this;this.g=cS,this.F=!0,this.produce=function(o,a,l){if(typeof o=="function"&&typeof a!="function"){var u=a;a=o;var c=r;return function(x){var E=this;x===void 0&&(x=u);for(var _=arguments.length,y=Array(_>1?_-1:0),v=1;v<_;v++)y[v-1]=arguments[v];return c.produce(x,function(b){var S;return(S=a).call.apply(S,[E,b].concat(y))})}}var f;if(typeof a!="function"&&vo(6),l!==void 0&&typeof l!="function"&&vo(7),Xi(o)){var p=iS(r),m=E0(r,o,void 0),h=!0;try{f=a(m),h=!1}finally{h?fp(p):C0(p)}return typeof Promise!="undefined"&&f instanceof Promise?f.then(function(x){return Hm(p,l),Vm(x,p)},function(x){throw fp(p),x}):(Hm(p,l),Vm(f,p))}if(!o||typeof o!="object")return(f=a(o))===pT?void 0:(f===void 0&&(f=o),r.F&&ky(f,!0),f);vo(21,o)},this.produceWithPatches=function(o,a){return typeof o=="function"?function(c){for(var f=arguments.length,p=Array(f>1?f-1:0),m=1;m<f;m++)p[m-1]=arguments[m];return r.produceWithPatches(c,function(h){return o.apply(void 0,[h].concat(p))})}:[r.produce(o,a,function(c,f){l=c,u=f}),l,u];var l,u},typeof(n==null?void 0:n.useProxies)=="boolean"&&this.setUseProxies(n.useProxies),typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){Xi(n)||vo(8),Yi(n)&&(n=aJ(n));var r=iS(this),o=E0(this,n,void 0);return o[Jt].C=!0,C0(r),o},t.finishDraft=function(n,r){var o=n&&n[Jt],a=o.A;return Hm(a,r),Vm(void 0,a)},t.setAutoFreeze=function(n){this.F=n},t.setUseProxies=function(n){n&&!cS&&vo(20),this.g=n},t.applyPatches=function(n,r){var o;for(o=r.length-1;o>=0;o--){var a=r[o];if(a.path.length===0&&a.op==="replace"){n=a.value;break}}var l=li("Patches").$;return Yi(n)?l(n,r):this.produce(n,function(u){return l(u,r.slice(o+1))})},e}(),Tr=new dJ,fS=Tr.produce;Tr.produceWithPatches.bind(Tr);Tr.setAutoFreeze.bind(Tr);Tr.setUseProxies.bind(Tr);Tr.applyPatches.bind(Tr);Tr.createDraft.bind(Tr);Tr.finishDraft.bind(Tr);function fJ(e,t){return e===t}function pJ(e,t,n){if(t===null||n===null||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}function hJ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fJ,n=null,r=null;return function(){return pJ(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}}function gJ(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(r){return typeof r=="function"})){var n=t.map(function(r){return typeof r}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, "+("instead received the following types: ["+n+"]"))}return t}function mJ(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var o=arguments.length,a=Array(o),l=0;l<o;l++)a[l]=arguments[l];var u=0,c=a.pop(),f=gJ(a),p=e.apply(void 0,[function(){return u++,c.apply(null,arguments)}].concat(n)),m=e(function(){for(var h=[],x=f.length,E=0;E<x;E++)h.push(f[E].apply(null,arguments));return p.apply(null,h)});return m.resultFunc=c,m.dependencies=f,m.recomputations=function(){return u},m.resetRecomputations=function(){return u=0},m}}mJ(hJ);function gT(e){return function(t){var n=t.dispatch,r=t.getState;return function(o){return function(a){return typeof a=="function"?a(n,r,e):o(a)}}}}var S0=gT();S0.withExtraArgument=gT;var vJ=globalThis&&globalThis.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(r[a]=o[a])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();globalThis&&globalThis.__generator;var gp=globalThis&&globalThis.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},yJ=Object.defineProperty,pS=Object.getOwnPropertySymbols,xJ=Object.prototype.hasOwnProperty,bJ=Object.prototype.propertyIsEnumerable,hS=function(e,t,n){return t in e?yJ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},wc=function(e,t){for(var n in t||(t={}))xJ.call(t,n)&&hS(e,n,t[n]);if(pS)for(var r=0,o=pS(t);r<o.length;r++){var n=o[r];bJ.call(t,n)&&hS(e,n,t[n])}return e},_J=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?dp:dp.apply(null,arguments)};function CJ(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}var EJ=function(e){vJ(t,e);function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,gp([void 0],n[0].concat(this)))):new(t.bind.apply(t,gp([void 0],n.concat(this))))},t}(Array);function wJ(e){return typeof e=="boolean"}function SJ(){return function(t){return $J(t)}}function $J(e){e===void 0&&(e={});var t=e.thunk,n=t===void 0?!0:t;e.immutableCheck,e.serializableCheck;var r=new EJ;return n&&(wJ(n)?r.push(S0):r.push(S0.withExtraArgument(n.extraArgument))),r}var PJ=!0;function RJ(e){var t=SJ(),n=e||{},r=n.reducer,o=r===void 0?void 0:r,a=n.middleware,l=a===void 0?t():a,u=n.devTools,c=u===void 0?!0:u,f=n.preloadedState,p=f===void 0?void 0:f,m=n.enhancers,h=m===void 0?void 0:m,x;if(typeof o=="function")x=o;else if(CJ(o))x=Ry(o);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var E=l;typeof E=="function"&&(E=E(t));var _=tJ.apply(void 0,E),y=dp;c&&(y=_J(wc({trace:!PJ},typeof c=="object"&&c)));var v=[_];Array.isArray(h)?v=gp([_],h):typeof h=="function"&&(v=h(v));var b=y.apply(void 0,v);return uT(x,p,b)}function gS(e,t){function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(t){var a=t.apply(void 0,r);if(!a)throw new Error("prepareAction did not return an object");return wc(wc({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:r[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(r){return r.type===e},n}function mT(e){var t={},n=[],r,o={addCase:function(a,l){var u=typeof a=="string"?a:a.type;if(u in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[u]=l,o},addMatcher:function(a,l){return n.push({matcher:a,reducer:l}),o},addDefaultCase:function(a){return r=a,o}};return e(o),[t,n,r]}function TJ(e,t,n,r){n===void 0&&(n=[]);var o=typeof t=="function"?mT(t):[t,n,r],a=o[0],l=o[1],u=o[2],c=fS(e,function(){});return function(f,p){f===void 0&&(f=c);var m=gp([a[p.type]],l.filter(function(h){var x=h.matcher;return x(p)}).map(function(h){var x=h.reducer;return x}));return m.filter(function(h){return!!h}).length===0&&(m=[u]),m.reduce(function(h,x){if(x)if(Yi(h)){var E=h,_=x(E,p);return typeof _=="undefined"?h:_}else{if(Xi(h))return fS(h,function(y){return x(y,p)});var _=x(h,p);if(typeof _=="undefined"){if(h===null)return h;throw Error("A case reducer on a non-draftable value must not return undefined")}return _}return h},f)}}function IJ(e,t){return e+"/"+t}function so(e){var t=e.name,n=e.initialState;if(!t)throw new Error("`name` is a required option for createSlice");var r=e.reducers||{},o=typeof e.extraReducers=="function"?mT(e.extraReducers):[e.extraReducers],a=o[0],l=a===void 0?{}:a,u=o[1],c=u===void 0?[]:u,f=o[2],p=f===void 0?void 0:f,m=Object.keys(r),h={},x={},E={};m.forEach(function(v){var b=r[v],S=IJ(t,v),P,A;"reducer"in b?(P=b.reducer,A=b.prepare):P=b,h[v]=P,x[S]=P,E[v]=A?gS(S,A):gS(S)});var _=wc(wc({},l),x),y=TJ(n,_,c,p);return{name:t,reducer:y,actions:E,caseReducers:h}}sJ();var OJ=Va,kJ=ao,AJ="[object Symbol]";function LJ(e){return typeof e=="symbol"||kJ(e)&&OJ(e)==AJ}var Kc=LJ,MJ=Gn,NJ=Kc,DJ=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,BJ=/^\w*$/;function FJ(e,t){if(MJ(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||NJ(e)?!0:BJ.test(e)||!DJ.test(e)||t!=null&&e in Object(t)}var My=FJ,vT=py,UJ="Expected a function";function Ny(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(UJ);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var l=e.apply(this,r);return n.cache=a.set(o,l)||a,l};return n.cache=new(Ny.Cache||vT),n}Ny.Cache=vT;var zJ=Ny,jJ=zJ,WJ=500;function HJ(e){var t=jJ(e,function(r){return n.size===WJ&&n.clear(),r}),n=t.cache;return t}var VJ=HJ,GJ=VJ,KJ=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qJ=/\\(\\)?/g,YJ=GJ(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(KJ,function(n,r,o,a){t.push(o?a.replace(qJ,"$1"):r||n)}),t}),yT=YJ;function XJ(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var Pl=XJ,mS=yl,QJ=Pl,ZJ=Gn,JJ=Kc,eee=1/0,vS=mS?mS.prototype:void 0,yS=vS?vS.toString:void 0;function xT(e){if(typeof e=="string")return e;if(ZJ(e))return QJ(e,xT)+"";if(JJ(e))return yS?yS.call(e):"";var t=e+"";return t=="0"&&1/e==-eee?"-0":t}var tee=xT,nee=tee;function ree(e){return e==null?"":nee(e)}var bT=ree,oee=Gn,iee=My,aee=yT,see=bT;function lee(e,t){return oee(e)?e:iee(e,t)?[e]:aee(see(e))}var Rl=lee,uee=Kc,cee=1/0;function dee(e){if(typeof e=="string"||uee(e))return e;var t=e+"";return t=="0"&&1/e==-cee?"-0":t}var Ka=dee,fee=my,pee=Rl,hee=wh,xS=pi,gee=Ka;function mee(e,t,n,r){if(!xS(e))return e;t=pee(t,e);for(var o=-1,a=t.length,l=a-1,u=e;u!=null&&++o<a;){var c=gee(t[o]),f=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(o!=l){var p=u[c];f=r?r(p,c,u):void 0,f===void 0&&(f=xS(p)?p:hee(t[o+1])?[]:{})}fee(u,c,f),u=u[c]}return e}var _T=mee,vee=_T;function yee(e,t,n){return e==null?e:vee(e,t,n)}var To=yee,xee=Rl,bee=Ka;function _ee(e,t){t=xee(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[bee(t[n++])];return n&&n==r?e:void 0}var Oh=_ee,Cee=Oh;function Eee(e,t,n){var r=e==null?void 0:Cee(e,t);return r===void 0?n:r}var Ws=Eee,wee=Object.prototype,See=wee.hasOwnProperty;function $ee(e,t){return e!=null&&See.call(e,t)}var Pee=$ee,Ree=Rl,Tee=Eh,Iee=Gn,Oee=wh,kee=vy,Aee=Ka;function Lee(e,t,n){t=Ree(t,e);for(var r=-1,o=t.length,a=!1;++r<o;){var l=Aee(t[r]);if(!(a=e!=null&&n(e,l)))break;e=e[l]}return a||++r!=o?a:(o=e==null?0:e.length,!!o&&kee(o)&&Oee(l,o)&&(Iee(e)||Tee(e)))}var CT=Lee,Mee=Pee,Nee=CT;function Dee(e,t){return e!=null&&Nee(e,t,Mee)}var Af=Dee;function Bee(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var Fee=Bee;function Uee(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a}var zee=Uee,jee=Oh,Wee=zee;function Hee(e,t){return t.length<2?e:jee(e,Wee(t,0,-1))}var Vee=Hee,Gee=Rl,Kee=Fee,qee=Vee,Yee=Ka;function Xee(e,t){return t=Gee(t,e),e=qee(e,t),e==null||delete e[Yee(Kee(t))]}var Qee=Xee,Zee=Va,Jee=Ey,ete=ao,tte="[object Object]",nte=Function.prototype,rte=Object.prototype,ET=nte.toString,ote=rte.hasOwnProperty,ite=ET.call(Object);function ate(e){if(!ete(e)||Zee(e)!=tte)return!1;var t=Jee(e);if(t===null)return!0;var n=ote.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&ET.call(n)==ite}var wT=ate,ste=wT;function lte(e){return ste(e)?void 0:e}var ute=lte,bS=yl,cte=Eh,dte=Gn,_S=bS?bS.isConcatSpreadable:void 0;function fte(e){return dte(e)||cte(e)||!!(_S&&e&&e[_S])}var pte=fte,hte=Cy,gte=pte;function ST(e,t,n,r,o){var a=-1,l=e.length;for(n||(n=gte),o||(o=[]);++a<l;){var u=e[a];t>0&&n(u)?t>1?ST(u,t-1,n,r,o):hte(o,u):r||(o[o.length]=u)}return o}var $T=ST,mte=$T;function vte(e){var t=e==null?0:e.length;return t?mte(e,1):[]}var yte=vte;function xte(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Dy=xte,bte=Dy,CS=Math.max;function _te(e,t,n){return t=CS(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,a=CS(r.length-t,0),l=Array(a);++o<a;)l[o]=r[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=r[o];return u[t]=n(l),bte(e,this,u)}}var PT=_te;function Cte(e){return function(){return e}}var Ete=Cte;function wte(e){return e}var kh=wte,Ste=Ete,ES=HR,$te=kh,Pte=ES?function(e,t){return ES(e,"toString",{configurable:!0,enumerable:!1,value:Ste(t),writable:!0})}:$te,Rte=Pte,Tte=800,Ite=16,Ote=Date.now;function kte(e){var t=0,n=0;return function(){var r=Ote(),o=Ite-(r-n);if(n=r,o>0){if(++t>=Tte)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var RT=kte,Ate=Rte,Lte=RT,Mte=Lte(Ate),By=Mte,Nte=yte,Dte=PT,Bte=By;function Fte(e){return Bte(Dte(e,void 0,Nte),e+"")}var Ah=Fte,Ute=Pl,zte=Th,jte=Qee,Wte=Rl,Hte=Vc,Vte=ute,Gte=Ah,Kte=wy,qte=1,Yte=2,Xte=4,Qte=Gte(function(e,t){var n={};if(e==null)return n;var r=!1;t=Ute(t,function(a){return a=Wte(a,e),r||(r=a.length>1),a}),Hte(e,Kte(e),n),r&&(n=zte(n,qte|Yte|Xte,Vte));for(var o=t.length;o--;)jte(n,t[o]);return n}),TT=Qte,IT={};(function(e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var o in n){var a=n[o];t.call(r,a)?r[a].push(o):r[a]=[o]}return r}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}})(IT);var lo={},bn=IT,Zte=lo,wS=Array.prototype.push;function Jte(e,t){return t==2?function(n,r){return e.apply(void 0,arguments)}:function(n){return e.apply(void 0,arguments)}}function qm(e,t){return t==2?function(n,r){return e(n,r)}:function(n){return e(n)}}function SS(e){for(var t=e?e.length:0,n=Array(t);t--;)n[t]=e[t];return n}function ene(e){return function(t){return e({},t)}}function tne(e,t){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var a=o[t],l=o.slice(0,t);return a&&wS.apply(l,a),t!=r&&wS.apply(l,o.slice(t+1)),e.apply(this,l)}}function Ym(e,t){return function(){var n=arguments.length;if(!!n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=t.apply(void 0,r);return e.apply(void 0,r),o}}}function $0(e,t,n,r){var o=typeof t=="function",a=t===Object(t);if(a&&(r=n,n=t,t=void 0),n==null)throw new TypeError;r||(r={});var l={cap:"cap"in r?r.cap:!0,curry:"curry"in r?r.curry:!0,fixed:"fixed"in r?r.fixed:!0,immutable:"immutable"in r?r.immutable:!0,rearg:"rearg"in r?r.rearg:!0},u=o?n:Zte,c="curry"in r&&r.curry,f="fixed"in r&&r.fixed,p="rearg"in r&&r.rearg,m=o?n.runInContext():void 0,h=o?n:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},x=h.ary,E=h.assign,_=h.clone,y=h.curry,v=h.forEach,b=h.isArray,S=h.isError,P=h.isFunction,A=h.isWeakMap,k=h.keys,I=h.rearg,L=h.toInteger,N=h.toPath,B=k(bn.aryMethod),V={castArray:function(K){return function(){var U=arguments[0];return b(U)?K(SS(U)):K.apply(void 0,arguments)}},iteratee:function(K){return function(){var U=arguments[0],Y=arguments[1],re=K(U,Y),fe=re.length;return l.cap&&typeof Y=="number"?(Y=Y>2?Y-2:1,fe&&fe<=Y?re:qm(re,Y)):re}},mixin:function(K){return function(U){var Y=this;if(!P(Y))return K(Y,Object(U));var re=[];return v(k(U),function(fe){P(U[fe])&&re.push([fe,Y.prototype[fe]])}),K(Y,Object(U)),v(re,function(fe){var we=fe[1];P(we)?Y.prototype[fe[0]]=we:delete Y.prototype[fe[0]]}),Y}},nthArg:function(K){return function(U){var Y=U<0?1:L(U)+1;return y(K(U),Y)}},rearg:function(K){return function(U,Y){var re=Y?Y.length:0;return y(K(U,Y),re)}},runInContext:function(K){return function(U){return $0(e,K(U),r)}}};function ee(K,U){if(l.cap){var Y=bn.iterateeRearg[K];if(Y)return me(U,Y);var re=!o&&bn.iterateeAry[K];if(re)return ne(U,re)}return U}function X(K,U,Y){return c||l.curry&&Y>1?y(U,Y):U}function ie(K,U,Y){if(l.fixed&&(f||!bn.skipFixed[K])){var re=bn.methodSpread[K],fe=re&&re.start;return fe===void 0?x(U,Y):tne(U,fe)}return U}function J(K,U,Y){return l.rearg&&Y>1&&(p||!bn.skipRearg[K])?I(U,bn.methodRearg[K]||bn.aryRearg[Y]):U}function G(K,U){U=N(U);for(var Y=-1,re=U.length,fe=re-1,we=_(Object(K)),ke=we;ke!=null&&++Y<re;){var Ie=U[Y],Ce=ke[Ie];Ce!=null&&!(P(Ce)||S(Ce)||A(Ce))&&(ke[Ie]=_(Y==fe?Ce:Object(Ce))),ke=ke[Ie]}return we}function j(K){return Z.runInContext.convert(K)(void 0)}function te(K,U){var Y=bn.aliasToReal[K]||K,re=bn.remap[Y]||Y,fe=r;return function(we){var ke=o?m:h,Ie=o?m[re]:U,Ce=E(E({},fe),we);return $0(ke,Y,Ie,Ce)}}function ne(K,U){return H(K,function(Y){return typeof Y=="function"?qm(Y,U):Y})}function me(K,U){return H(K,function(Y){var re=U.length;return Jte(I(qm(Y,re),U),re)})}function H(K,U){return function(){var Y=arguments.length;if(!Y)return K();for(var re=Array(Y);Y--;)re[Y]=arguments[Y];var fe=l.rearg?0:Y-1;return re[fe]=U(re[fe]),K.apply(void 0,re)}}function q(K,U,Y){var re,fe=bn.aliasToReal[K]||K,we=U,ke=V[fe];return ke?we=ke(U):l.immutable&&(bn.mutate.array[fe]?we=Ym(U,SS):bn.mutate.object[fe]?we=Ym(U,ene(U)):bn.mutate.set[fe]&&(we=Ym(U,G))),v(B,function(Ie){return v(bn.aryMethod[Ie],function(Ce){if(fe==Ce){var We=bn.methodSpread[fe],Me=We&&We.afterRearg;return re=Me?ie(fe,J(fe,we,Ie),Ie):J(fe,ie(fe,we,Ie),Ie),re=ee(fe,re),re=X(fe,re,Ie),!1}}),!re}),re||(re=we),re==U&&(re=c?y(re,1):function(){return U.apply(this,arguments)}),re.convert=te(fe,U),re.placeholder=U.placeholder=Y,re}if(!a)return q(t,n,u);var Z=n,ue=[];return v(B,function(K){v(bn.aryMethod[K],function(U){var Y=Z[bn.remap[U]||U];Y&&ue.push([U,q(U,Y,Z)])})}),v(k(Z),function(K){var U=Z[K];if(typeof U=="function"){for(var Y=ue.length;Y--;)if(ue[Y][0]==K)return;U.convert=te(K,U),ue.push([K,U])}}),v(ue,function(K){Z[K[0]]=K[1]}),Z.convert=j,Z.placeholder=Z,v(k(Z),function(K){v(bn.realToAlias[K]||[],function(U){Z[U]=Z[K]})}),Z}var nne=$0,$S=eT,rne=$S&&new $S,OT=rne,one=kh,PS=OT,ine=PS?function(e,t){return PS.set(e,t),e}:one,kT=ine,ane=Rh,sne=pi;function lne(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=ane(e.prototype),r=e.apply(n,t);return sne(r)?r:n}}var Lh=lne,une=Lh,cne=vr,dne=1;function fne(e,t,n){var r=t&dne,o=une(e);function a(){var l=this&&this!==cne&&this instanceof a?o:e;return l.apply(r?n:this,arguments)}return a}var pne=fne,hne=Math.max;function gne(e,t,n,r){for(var o=-1,a=e.length,l=n.length,u=-1,c=t.length,f=hne(a-l,0),p=Array(c+f),m=!r;++u<c;)p[u]=t[u];for(;++o<l;)(m||o<a)&&(p[n[o]]=e[o]);for(;f--;)p[u++]=e[o++];return p}var AT=gne,mne=Math.max;function vne(e,t,n,r){for(var o=-1,a=e.length,l=-1,u=n.length,c=-1,f=t.length,p=mne(a-u,0),m=Array(p+f),h=!r;++o<p;)m[o]=e[o];for(var x=o;++c<f;)m[x+c]=t[c];for(;++l<u;)(h||o<a)&&(m[x+n[l]]=e[o++]);return m}var LT=vne;function yne(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var xne=yne;function bne(){}var Fy=bne,_ne=Rh,Cne=Fy,Ene=4294967295;function mp(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ene,this.__views__=[]}mp.prototype=_ne(Cne.prototype);mp.prototype.constructor=mp;var Uy=mp;function wne(){}var zy=wne,RS=OT,Sne=zy,$ne=RS?function(e){return RS.get(e)}:Sne,jy=$ne,Pne={},Rne=Pne,TS=Rne,Tne=Object.prototype,Ine=Tne.hasOwnProperty;function One(e){for(var t=e.name+"",n=TS[t],r=Ine.call(TS,t)?n.length:0;r--;){var o=n[r],a=o.func;if(a==null||a==e)return o.name}return t}var MT=One,kne=Rh,Ane=Fy;function vp(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}vp.prototype=kne(Ane.prototype);vp.prototype.constructor=vp;var Wy=vp,Lne=Uy,Mne=Wy,Nne=Ph;function Dne(e){if(e instanceof Lne)return e.clone();var t=new Mne(e.__wrapped__,e.__chain__);return t.__actions__=Nne(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Bne=Dne,Fne=Uy,IS=Wy,Une=Fy,zne=Gn,jne=ao,Wne=Bne,Hne=Object.prototype,Vne=Hne.hasOwnProperty;function yp(e){if(jne(e)&&!zne(e)&&!(e instanceof Fne)){if(e instanceof IS)return e;if(Vne.call(e,"__wrapped__"))return Wne(e)}return new IS(e)}yp.prototype=Une.prototype;yp.prototype.constructor=yp;var Gne=yp,Kne=Uy,qne=jy,Yne=MT,Xne=Gne;function Qne(e){var t=Yne(e),n=Xne[t];if(typeof n!="function"||!(t in Kne.prototype))return!1;if(e===n)return!0;var r=qne(n);return!!r&&e===r[0]}var NT=Qne,Zne=kT,Jne=RT,ere=Jne(Zne),DT=ere,tre=/\{\n\/\* \[wrapped with (.+)\] \*/,nre=/,? & /;function rre(e){var t=e.match(tre);return t?t[1].split(nre):[]}var ore=rre,ire=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function are(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ire,`{
/* [wrapped with `+t+`] */
`)}var sre=are;function lre(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}var ure=lre;function cre(e){return e!==e}var dre=cre;function fre(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var pre=fre,hre=ure,gre=dre,mre=pre;function vre(e,t,n){return t===t?mre(e,t,n):hre(e,gre,n)}var yre=vre,xre=yre;function bre(e,t){var n=e==null?0:e.length;return!!n&&xre(e,t,0)>-1}var BT=bre,_re=gy,Cre=BT,Ere=1,wre=2,Sre=8,$re=16,Pre=32,Rre=64,Tre=128,Ire=256,Ore=512,kre=[["ary",Tre],["bind",Ere],["bindKey",wre],["curry",Sre],["curryRight",$re],["flip",Ore],["partial",Pre],["partialRight",Rre],["rearg",Ire]];function Are(e,t){return _re(kre,function(n){var r="_."+n[0];t&n[1]&&!Cre(e,r)&&e.push(r)}),e.sort()}var Lre=Are,Mre=ore,Nre=sre,Dre=By,Bre=Lre;function Fre(e,t,n){var r=t+"";return Dre(e,Nre(r,Bre(Mre(r),n)))}var FT=Fre,Ure=NT,zre=DT,jre=FT,Wre=1,Hre=2,Vre=4,Gre=8,OS=32,kS=64;function Kre(e,t,n,r,o,a,l,u,c,f){var p=t&Gre,m=p?l:void 0,h=p?void 0:l,x=p?a:void 0,E=p?void 0:a;t|=p?OS:kS,t&=~(p?kS:OS),t&Vre||(t&=~(Wre|Hre));var _=[e,t,o,x,m,E,h,u,c,f],y=n.apply(void 0,_);return Ure(e)&&zre(y,_),y.placeholder=r,jre(y,e,t)}var UT=Kre;function qre(e){var t=e;return t.placeholder}var zT=qre,Yre=Ph,Xre=wh,Qre=Math.min;function Zre(e,t){for(var n=e.length,r=Qre(t.length,n),o=Yre(e);r--;){var a=t[r];e[r]=Xre(a,n)?o[a]:void 0}return e}var Jre=Zre,AS="__lodash_placeholder__";function eoe(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var l=e[n];(l===t||l===AS)&&(e[n]=AS,a[o++]=n)}return a}var Hy=eoe,toe=AT,noe=LT,roe=xne,LS=Lh,ooe=UT,ioe=zT,aoe=Jre,soe=Hy,loe=vr,uoe=1,coe=2,doe=8,foe=16,poe=128,hoe=512;function jT(e,t,n,r,o,a,l,u,c,f){var p=t&poe,m=t&uoe,h=t&coe,x=t&(doe|foe),E=t&hoe,_=h?void 0:LS(e);function y(){for(var v=arguments.length,b=Array(v),S=v;S--;)b[S]=arguments[S];if(x)var P=ioe(y),A=roe(b,P);if(r&&(b=toe(b,r,o,x)),a&&(b=noe(b,a,l,x)),v-=A,x&&v<f){var k=soe(b,P);return ooe(e,t,jT,y.placeholder,n,b,k,u,c,f-v)}var I=m?n:this,L=h?I[e]:e;return v=b.length,u?b=aoe(b,u):E&&v>1&&b.reverse(),p&&c<v&&(b.length=c),this&&this!==loe&&this instanceof y&&(L=_||LS(L)),L.apply(I,b)}return y}var WT=jT,goe=Dy,moe=Lh,voe=WT,yoe=UT,xoe=zT,boe=Hy,_oe=vr;function Coe(e,t,n){var r=moe(e);function o(){for(var a=arguments.length,l=Array(a),u=a,c=xoe(o);u--;)l[u]=arguments[u];var f=a<3&&l[0]!==c&&l[a-1]!==c?[]:boe(l,c);if(a-=f.length,a<n)return yoe(e,t,voe,o.placeholder,void 0,l,f,void 0,void 0,n-a);var p=this&&this!==_oe&&this instanceof o?r:e;return goe(p,this,l)}return o}var Eoe=Coe,woe=Dy,Soe=Lh,$oe=vr,Poe=1;function Roe(e,t,n,r){var o=t&Poe,a=Soe(e);function l(){for(var u=-1,c=arguments.length,f=-1,p=r.length,m=Array(p+c),h=this&&this!==$oe&&this instanceof l?a:e;++f<p;)m[f]=r[f];for(;c--;)m[f++]=arguments[++u];return woe(h,o?n:this,m)}return l}var Toe=Roe,Ioe=AT,Ooe=LT,MS=Hy,NS="__lodash_placeholder__",Xm=1,koe=2,Aoe=4,DS=8,gu=128,BS=256,Loe=Math.min;function Moe(e,t){var n=e[1],r=t[1],o=n|r,a=o<(Xm|koe|gu),l=r==gu&&n==DS||r==gu&&n==BS&&e[7].length<=t[8]||r==(gu|BS)&&t[7].length<=t[8]&&n==DS;if(!(a||l))return e;r&Xm&&(e[2]=t[2],o|=n&Xm?0:Aoe);var u=t[3];if(u){var c=e[3];e[3]=c?Ioe(c,u,t[4]):u,e[4]=c?MS(e[3],NS):t[4]}return u=t[5],u&&(c=e[5],e[5]=c?Ooe(c,u,t[6]):u,e[6]=c?MS(e[5],NS):t[6]),u=t[7],u&&(e[7]=u),r&gu&&(e[8]=e[8]==null?t[8]:Loe(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}var Noe=Moe,Doe=/\s/;function Boe(e){for(var t=e.length;t--&&Doe.test(e.charAt(t)););return t}var Foe=Boe,Uoe=Foe,zoe=/^\s+/;function joe(e){return e&&e.slice(0,Uoe(e)+1).replace(zoe,"")}var Woe=joe,Hoe=Woe,FS=pi,Voe=Kc,US=0/0,Goe=/^[-+]0x[0-9a-f]+$/i,Koe=/^0b[01]+$/i,qoe=/^0o[0-7]+$/i,Yoe=parseInt;function Xoe(e){if(typeof e=="number")return e;if(Voe(e))return US;if(FS(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=FS(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Hoe(e);var n=Koe.test(e);return n||qoe.test(e)?Yoe(e.slice(2),n?2:8):Goe.test(e)?US:+e}var Qoe=Xoe,Zoe=Qoe,zS=1/0,Joe=17976931348623157e292;function eie(e){if(!e)return e===0?e:0;if(e=Zoe(e),e===zS||e===-zS){var t=e<0?-1:1;return t*Joe}return e===e?e:0}var tie=eie,nie=tie;function rie(e){var t=nie(e),n=t%1;return t===t?n?t-n:t:0}var HT=rie,oie=kT,iie=pne,aie=Eoe,sie=WT,lie=Toe,uie=jy,cie=Noe,die=DT,fie=FT,jS=HT,pie="Expected a function",WS=1,hie=2,Qm=8,Zm=16,Jm=32,HS=64,VS=Math.max;function gie(e,t,n,r,o,a,l,u){var c=t&hie;if(!c&&typeof e!="function")throw new TypeError(pie);var f=r?r.length:0;if(f||(t&=~(Jm|HS),r=o=void 0),l=l===void 0?l:VS(jS(l),0),u=u===void 0?u:jS(u),f-=o?o.length:0,t&HS){var p=r,m=o;r=o=void 0}var h=c?void 0:uie(e),x=[e,t,n,r,o,p,m,a,l,u];if(h&&cie(x,h),e=x[0],t=x[1],n=x[2],r=x[3],o=x[4],u=x[9]=x[9]===void 0?c?0:e.length:VS(x[9]-f,0),!u&&t&(Qm|Zm)&&(t&=~(Qm|Zm)),!t||t==WS)var E=iie(e,t,n);else t==Qm||t==Zm?E=aie(e,t,u):(t==Jm||t==(WS|Jm))&&!o.length?E=lie(e,t,n,r):E=sie.apply(void 0,x);var _=h?oie:die;return fie(_(E,x),e,t)}var Vy=gie,mie=Vy,vie=128;function yie(e,t,n){return t=n?void 0:t,t=e&&t==null?e.length:t,mie(e,vie,void 0,void 0,void 0,void 0,t)}var xie=yie,bie=Th,_ie=4;function Cie(e){return bie(e,_ie)}var Eie=Cie,wie=Vy,Sie=8;function Gy(e,t,n){t=n?void 0:t;var r=wie(e,Sie,void 0,void 0,void 0,void 0,void 0,t);return r.placeholder=Gy.placeholder,r}Gy.placeholder={};var $ie=Gy,Pie=Va,Rie=ao,Tie=wT,Iie="[object DOMException]",Oie="[object Error]";function kie(e){if(!Rie(e))return!1;var t=Pie(e);return t==Oie||t==Iie||typeof e.message=="string"&&typeof e.name=="string"&&!Tie(e)}var Aie=kie,Lie=Sl,Mie=ao,Nie="[object WeakMap]";function Die(e){return Mie(e)&&Lie(e)==Nie}var Bie=Die,Fie="__lodash_hash_undefined__";function Uie(e){return this.__data__.set(e,Fie),this}var zie=Uie;function jie(e){return this.__data__.has(e)}var Wie=jie,Hie=py,Vie=zie,Gie=Wie;function xp(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Hie;++t<n;)this.add(e[t])}xp.prototype.add=xp.prototype.push=Vie;xp.prototype.has=Gie;var VT=xp;function Kie(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var qie=Kie;function Yie(e,t){return e.has(t)}var GT=Yie,Xie=VT,Qie=qie,Zie=GT,Jie=1,eae=2;function tae(e,t,n,r,o,a){var l=n&Jie,u=e.length,c=t.length;if(u!=c&&!(l&&c>u))return!1;var f=a.get(e),p=a.get(t);if(f&&p)return f==t&&p==e;var m=-1,h=!0,x=n&eae?new Xie:void 0;for(a.set(e,t),a.set(t,e);++m<u;){var E=e[m],_=t[m];if(r)var y=l?r(_,E,m,t,e,a):r(E,_,m,e,t,a);if(y!==void 0){if(y)continue;h=!1;break}if(x){if(!Qie(t,function(v,b){if(!Zie(x,b)&&(E===v||o(E,v,n,r,a)))return x.push(b)})){h=!1;break}}else if(!(E===_||o(E,_,n,r,a))){h=!1;break}}return a.delete(e),a.delete(t),h}var KT=tae;function nae(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}var rae=nae;function oae(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var iae=oae,GS=yl,KS=nT,aae=cy,sae=KT,lae=rae,uae=iae,cae=1,dae=2,fae="[object Boolean]",pae="[object Date]",hae="[object Error]",gae="[object Map]",mae="[object Number]",vae="[object RegExp]",yae="[object Set]",xae="[object String]",bae="[object Symbol]",_ae="[object ArrayBuffer]",Cae="[object DataView]",qS=GS?GS.prototype:void 0,ev=qS?qS.valueOf:void 0;function Eae(e,t,n,r,o,a,l){switch(n){case Cae:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _ae:return!(e.byteLength!=t.byteLength||!a(new KS(e),new KS(t)));case fae:case pae:case mae:return aae(+e,+t);case hae:return e.name==t.name&&e.message==t.message;case vae:case xae:return e==t+"";case gae:var u=lae;case yae:var c=r&cae;if(u||(u=uae),e.size!=t.size&&!c)return!1;var f=l.get(e);if(f)return f==t;r|=dae,l.set(e,t);var p=sae(u(e),u(t),r,o,a,l);return l.delete(e),p;case bae:if(ev)return ev.call(e)==ev.call(t)}return!1}var wae=Eae,YS=JR,Sae=1,$ae=Object.prototype,Pae=$ae.hasOwnProperty;function Rae(e,t,n,r,o,a){var l=n&Sae,u=YS(e),c=u.length,f=YS(t),p=f.length;if(c!=p&&!l)return!1;for(var m=c;m--;){var h=u[m];if(!(l?h in t:Pae.call(t,h)))return!1}var x=a.get(e),E=a.get(t);if(x&&E)return x==t&&E==e;var _=!0;a.set(e,t),a.set(t,e);for(var y=l;++m<c;){h=u[m];var v=e[h],b=t[h];if(r)var S=l?r(b,v,h,t,e,a):r(v,b,h,e,t,a);if(!(S===void 0?v===b||o(v,b,n,r,a):S)){_=!1;break}y||(y=h=="constructor")}if(_&&!y){var P=e.constructor,A=t.constructor;P!=A&&"constructor"in e&&"constructor"in t&&!(typeof P=="function"&&P instanceof P&&typeof A=="function"&&A instanceof A)&&(_=!1)}return a.delete(e),a.delete(t),_}var Tae=Rae,tv=hy,Iae=KT,Oae=wae,kae=Tae,XS=Sl,QS=Gn,ZS=il.exports,Aae=yy,Lae=1,JS="[object Arguments]",e$="[object Array]",uf="[object Object]",Mae=Object.prototype,t$=Mae.hasOwnProperty;function Nae(e,t,n,r,o,a){var l=QS(e),u=QS(t),c=l?e$:XS(e),f=u?e$:XS(t);c=c==JS?uf:c,f=f==JS?uf:f;var p=c==uf,m=f==uf,h=c==f;if(h&&ZS(e)){if(!ZS(t))return!1;l=!0,p=!1}if(h&&!p)return a||(a=new tv),l||Aae(e)?Iae(e,t,n,r,o,a):Oae(e,t,c,n,r,o,a);if(!(n&Lae)){var x=p&&t$.call(e,"__wrapped__"),E=m&&t$.call(t,"__wrapped__");if(x||E){var _=x?e.value():e,y=E?t.value():t;return a||(a=new tv),o(_,y,n,r,a)}}return h?(a||(a=new tv),kae(e,t,n,r,o,a)):!1}var Dae=Nae,Bae=Dae,n$=ao;function qT(e,t,n,r,o){return e===t?!0:e==null||t==null||!n$(e)&&!n$(t)?e!==e&&t!==t:Bae(e,t,n,r,qT,o)}var YT=qT,Fae=hy,Uae=YT,zae=1,jae=2;function Wae(e,t,n,r){var o=n.length,a=o,l=!r;if(e==null)return!a;for(e=Object(e);o--;){var u=n[o];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<a;){u=n[o];var c=u[0],f=e[c],p=u[1];if(l&&u[2]){if(f===void 0&&!(c in e))return!1}else{var m=new Fae;if(r)var h=r(f,p,c,e,t,m);if(!(h===void 0?Uae(p,f,zae|jae,r,m):h))return!1}}return!0}var Hae=Wae,Vae=pi;function Gae(e){return e===e&&!Vae(e)}var XT=Gae,Kae=XT,qae=El;function Yae(e){for(var t=qae(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Kae(o)]}return t}var Xae=Yae;function Qae(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var QT=Qae,Zae=Hae,Jae=Xae,ese=QT;function tse(e){var t=Jae(e);return t.length==1&&t[0][2]?ese(t[0][0],t[0][1]):function(n){return n===e||Zae(n,e,t)}}var nse=tse;function rse(e,t){return e!=null&&t in Object(e)}var ose=rse,ise=ose,ase=CT;function sse(e,t){return e!=null&&ase(e,t,ise)}var ZT=sse,lse=YT,use=Ws,cse=ZT,dse=My,fse=XT,pse=QT,hse=Ka,gse=1,mse=2;function vse(e,t){return dse(e)&&fse(t)?pse(hse(e),t):function(n){var r=use(n,e);return r===void 0&&r===t?cse(n,e):lse(t,r,gse|mse)}}var yse=vse;function xse(e){return function(t){return t==null?void 0:t[e]}}var bse=xse,_se=Oh;function Cse(e){return function(t){return _se(t,e)}}var Ese=Cse,wse=bse,Sse=Ese,$se=My,Pse=Ka;function Rse(e){return $se(e)?wse(Pse(e)):Sse(e)}var Tse=Rse,Ise=nse,Ose=yse,kse=kh,Ase=Gn,Lse=Tse;function Mse(e){return typeof e=="function"?e:e==null?kse:typeof e=="object"?Ase(e)?Ose(e[0],e[1]):Ise(e):Lse(e)}var Mh=Mse,Nse=Th,Dse=Mh,Bse=1;function Fse(e){return Dse(typeof e=="function"?e:Nse(e,Bse))}var Use=Fse,zse=Vy,jse=Ah,Wse=256,Hse=jse(function(e,t){return zse(e,Wse,void 0,void 0,void 0,t)}),Vse=Hse,Gse=Pl,Kse=Ph,qse=Gn,Yse=Kc,Xse=yT,Qse=Ka,Zse=bT;function Jse(e){return qse(e)?Gse(e,Qse):Yse(e)?[e]:Kse(Xse(Zse(e)))}var ele=Jse,tle={ary:xie,assign:YR,clone:Eie,curry:$ie,forEach:gy,isArray:Gn,isError:Aie,isFunction:dy,isWeakMap:Bie,iteratee:Use,keys:xy,rearg:Vse,toInteger:HT,toPath:ele},nle=nne,rle=tle;function ole(e,t,n){return nle(rle,e,t,n)}var So=ole,ile=So,JT=ile("get",Ws);JT.placeholder=lo;var _o=JT;function ale(e){return function(t,n,r){for(var o=-1,a=Object(t),l=r(t),u=l.length;u--;){var c=l[e?u:++o];if(n(a[c],c,a)===!1)break}return t}}var sle=ale,lle=sle,ule=lle(),cle=ule,dle=cle,fle=El;function ple(e,t){return e&&dle(e,t,fle)}var hle=ple,gle=Cl;function mle(e,t){return function(n,r){if(n==null)return n;if(!gle(n))return e(n,r);for(var o=n.length,a=t?o:-1,l=Object(n);(t?a--:++a<o)&&r(l[a],a,l)!==!1;);return n}}var vle=mle,yle=hle,xle=vle,ble=xle(yle),_le=ble,Cle=_le,Ele=Cl;function wle(e,t){var n=-1,r=Ele(e)?Array(e.length):[];return Cle(e,function(o,a,l){r[++n]=t(o,a,l)}),r}var Sle=wle,$le=Pl,Ple=Mh,Rle=Sle,Tle=Gn;function Ile(e,t){var n=Tle(e)?$le:Rle;return n(e,Ple(t))}var Ole=Ile,kle=So,eI=kle("map",Ole);eI.placeholder=lo;var Ale=eI,r$=Wy,Lle=Ah,Mle=jy,nv=MT,Nle=Gn,o$=NT,Dle="Expected a function",Ble=8,Fle=32,Ule=128,zle=256;function jle(e){return Lle(function(t){var n=t.length,r=n,o=r$.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if(typeof a!="function")throw new TypeError(Dle);if(o&&!l&&nv(a)=="wrapper")var l=new r$([],!0)}for(r=l?r:n;++r<n;){a=t[r];var u=nv(a),c=u=="wrapper"?Mle(a):void 0;c&&o$(c[0])&&c[1]==(Ule|Ble|Fle|zle)&&!c[4].length&&c[9]==1?l=l[nv(c[0])].apply(l,c[3]):l=a.length==1&&o$(a)?l[u]():l.thru(a)}return function(){var f=arguments,p=f[0];if(l&&f.length==1&&Nle(p))return l.plant(p).value();for(var m=0,h=n?t[m].apply(this,f):p;++m<n;)h=t[m].call(this,h);return h}})}var Wle=jle,Hle=Wle,Vle=Hle(),Gle=Vle,Kle=So,tI=Kle("flow",Gle);tI.placeholder=lo;var qle=tI,nI=qle,Ky={cap:!1,curry:!1,fixed:!1,immutable:!1,rearg:!1},Yle=So,rI=Yle("keys",El,Ky);rI.placeholder=lo;var Xle=rI;const Qle="Power",qc="RingUPSmodule",Ir="_Box",oI="Tamper",Zle="Boot",iI="Ring",Jle="Out",Nh="UPS",aI="GlobalCounters",sI="Logger",qy="FireAreaExt",bp="AL",eue="AL2module",Dh="BISM",Yy="BISM1",tue="BISM2",nue="BISM3",rue="Relay",lI="RelayLink",oue="FireSensorLink",Xy="OutModule",Bh="Clock",Sc="LED",iue="ISM1",aue="ISM2",sue="ISM4",lue="ISM5",uI="Direction",uue="TI",cue="User",al="AU",cI="Module",Tl="InputLink",Il="OutputLink",due="Out",Qu="RelayGroup",fue="Area",Yc="expanded_tabs",dI="pwnd_auth",fI="selects_open",ba="config",Xc="unit_string_id",pue=[Zle,sI,iI,Nh,aI,oI,Bh],hue=[iI,Nh,sI,aI,oI,Bh,Jle],gue=[Yy,tue,nue,Dh],sl=e=>_o(["_desc","__",`Title${e}`]),i$=e=>`${e._sun}${e._sut}`,Fh=e=>e._subUnits,mue=_o(["_desc","__","subUnits"]),vue=e=>e?e.hardware&&e.qty>0||e.software&&e.qty>0:!1,a$=(e,t,n)=>{const r=_o(["unitTypes",e,"__",`Title${t||"EN"}`])(schema);return/BISM(2|3)$/i.test(String(n==null?void 0:n._typeName))?r.replace(/индикатор на БИС-М\/М1/i,""):r},pI=e=>_o(["unitTypes",e])(schema),yue=e=>Object.values(e._subUnits._Box),xue=e=>Object.values(e._subUnits.User),hI=e=>Object.values(e._subUnits.Module);nI(Fh,Xle);const gI=_o("_sun"),mI=(e,t)=>`#${gI(t)} ${sl(e)(t)}`,bue=e=>e._desc.info,_ue=e=>e._desc.command,Cue=e=>e._desc.config,Eue=e=>e._desc.status,wue=e=>e._typeName,vI=(e,t)=>nI(_o(["unitTypes",e,"__","allRealHeirs"]),Ale(n=>({key:n,value:_o(["unitTypes",n,"__",`Title${t}`],schema)})))(schema),Sue=(e,t)=>_o(["unitTypes",e,"__","subUnits",t])(schema),s$=(e,t)=>{var n;return(n=e==null?void 0:e._configPPK)==null?void 0:n[t]},Uh=e=>gue.includes(e._typeName),$ue=e=>{var t;return(e==null?void 0:e._sut)!=="AU"&&!Uh(e)?"":(t=_o(["config","SN"],e))!=null?t:""};_o(["_subUnits","AU"]);function Qy(e,t){return(e==null?void 0:e._subUnits[`${t}`])&&Object.keys(e==null?void 0:e._subUnits[`${t}`]).length}function Rt(e){return e?e._up!==void 0:!1}function Zn(e,t){if(!!Rt(e))return e._typeName===t?e:Zn(e._up,t)}function zh(e,t){if(!!Rt(e))return e._sut===t?e:zh(e._up,t)}function Zy(e,t){if(!!Rt(e))return t(e)?e:Zy(e._up,t)}function Jy(e,t=[]){return Rt(e)?(t.push(e),Jy(e._up,t)):t.reverse()}const qr=(e,t,n=!1)=>{var u,c;const r=(u=sl(t)(e))!=null?u:sl("EN")(e),o=r.slice(0,1),a=$ue(e);return`${n?"":`#${(c=e==null?void 0:e._sun)!=null?c:""} `}${o.toUpperCase()}${r.slice(1)} ${a}`},Pue=e=>{const n=hI(e).find(o=>o._typeName===qc);if(!n)return;const r=Object.values(n._subUnits.Area);return Object.fromEntries(r.map(o=>[Number(o._sun),o]))},yI=(e,t)=>e==null?void 0:e._subUnits[Ir][t],Ia=({config:e},t)=>{if(!!e)return e[t]};function xI(e,t){const n=Object.values(e).filter(o=>!t.includes(o));n.forEach(o=>t.push(o)),n.map(o=>Object.values(o._subUnits)).flat().forEach(o=>xI(o,t))}function Rue(e){const t=[];return xI(e,t),t}function bI(e,t){const{_Box:n}=e._subUnits;return Object.values(n).map(a=>[qr(a,t),a._subUnits.Module]).map(([a,l])=>[a,Rue(l)])}function _I(e,t){return bI(e,t).map(([r,o])=>o).flat()}function ex(e,t){const n=_I(e,t);return Object.fromEntries(n.map(r=>[r._idString,r]))}function tx(e){return Rt(e)?e._up._typeName===Ir:!1}function Tue(e){return zh(e,al)&&e._sut!==al}function Iue(e){return hue.includes(e._typeName)&&tx(e._up)}const Oue=(e,t)=>{var n;return(n=e==null?void 0:e.info)==null?void 0:n[t]},l$=(e,t,n)=>{var r,o;return(o=(r=t._desc)==null?void 0:r.info[n])==null?void 0:o[`enum${e}`]};function kue(e){return e._sut===Tl||e._sut===Il}const Aue=e=>e.replace(/(^.*):(.*)/,"$1");function CI(e,t="0"){const n=pI(e),r=Object.keys(n.__.subUnits),o=r.length>0?r.reduce((a,l)=>(a[l]={[1]:CI(l,"1")},a),{}):{};return{config:{},_desc:n,_subUnits:{...o},_sun:t,_sut:n.__.inherits,_typeName:e}}function Lue(e,t){if(t!=="0")return/\./.test(e)&&(e=e.split(".")[1]),pI(e),{_sun:t}}const Mue={unitsSunForDeletion:{}},EI=so({name:"user-editor",initialState:Mue,reducers:{addUnit(e,{payload:t}){const n=t.parent,r=t.sunIndex,o=Af(e.unitsSunForDeletion,[n])?e.unitsSunForDeletion[n].filter(c=>c!==r):[];To(e.unitsSunForDeletion,[n],o);const a=CI(t.unit,t.sunIndex),l=`${t.upperUnitSun}${t.parent}`;Ws(e,[l])||To(e,[l],{}),To(e,[l,a._sun],{...a,isRecentlyAdded:!0})},changeUnitProperty(e,{payload:t}){const n=t.path.flat().slice(0,1),r=t.path.flat().slice(0,2),o=Ws(e,n),a=Ws(e,t.path[0]);o||To(e,n,{}),a||To(e,r,Lue(t.selectedUnit,r[1])),To(e,t.path.flat(),t.value)},addMoreUnits(e,{payload:t}){const n=t.pathId[0],r=t.pathId[1],o=Af(e.unitsSunForDeletion,[n])?e.unitsSunForDeletion[n].filter(a=>a!==r):[];To(e.unitsSunForDeletion,[n],o),To(e,t.pathId,t.selectedUnitState)},deleteUnits(e,{payload:t}){const{unitParentId:n,currentUnitSun:r}=t;Af(e.unitsSunForDeletion,[n])?e.unitsSunForDeletion[n].push(r):To(e.unitsSunForDeletion,[n],[r]),e[n]=TT(e[n],[r])}}}),wI=so({name:"selected-unit",initialState:null,reducers:{unitSelected(e,{payload:t}){return t}}}),SI=so({name:"selected-unit-path",initialState:null,reducers:{unitPathSelected(e,{payload:t}){return t}}}),$I=so({name:"selected-unit-parent",initialState:"",reducers:{unitSelectedParentType(e,{payload:t}){return t}}}),PI=so({name:"selected-unit-sun",initialState:"0",reducers:{unitSelectedSun(e,{payload:t}){return t}}}),RI=so({name:"selected-exist-sun",initialState:null,reducers:{unitSelectedExist(e,{payload:t}){return t}}}),TI=so({name:"selected-merge-units-count",initialState:null,reducers:{countCurrentUnitsMerge(e,{payload:t}){return t}}}),II=so({name:"selected-posible-units-count",initialState:null,reducers:{countPosibleUnit(e,{payload:t}){return t}}}),OI=so({name:"selected-unit-expand",initialState:{},reducers:{expandingSelectedUnit(e,{payload:t}){return{...e,...t}}}}),kI=so({name:"current-firmware-name",initialState:"",reducers:{setCurrentFirmware(e,{payload:t}){return t}}}),Nue=Ry({editor:EI.reducer,selectedUnit:wI.reducer,selectedUnitPath:SI.reducer,selectedUnitParent:$I.reducer,selectedUnitSun:PI.reducer,selectedExistUnit:RI.reducer,currentMergeUnitsCount:TI.reducer,currentPosibleUnitsCount:II.reducer,controlledExpandedTabs:OI.reducer,currentFirmware:kI.reducer}),Due={...SI.actions,...EI.actions,...wI.actions,...$I.actions,...PI.actions,...RI.actions,...TI.actions,...II.actions,...OI.actions,...kI.actions};function uo(){const e=RR();return C.exports.useMemo(()=>cT(Due,e),[e])}var Bue=xy,Fue=Sl,Uue=Eh,zue=Gn,jue=Cl,Wue=il.exports,Hue=$h,Vue=yy,Gue="[object Map]",Kue="[object Set]",que=Object.prototype,Yue=que.hasOwnProperty;function Xue(e){if(e==null)return!0;if(jue(e)&&(zue(e)||typeof e=="string"||typeof e.splice=="function"||Wue(e)||Vue(e)||Uue(e)))return!e.length;var t=Fue(e);if(t==Gue||t==Kue)return!e.size;if(Hue(e))return!Bue(e).length;for(var n in e)if(Yue.call(e,n))return!1;return!0}var Ua=Xue,Que=So,AI=Que("isEmpty",Ua,Ky);AI.placeholder=lo;var LI=AI;const Zue=e=>e.unitEditor.editor,Jue=e=>e.unitEditor.selectedUnit,ece=e=>e.unitEditor.selectedUnitPath,tce=e=>e.unitEditor.selectedUnitParent,nce=e=>e.unitEditor.selectedUnitSun,rce=e=>e.unitEditor.selectedExistUnit,oce=e=>e.unitEditor.editor.unitsSunForDeletion,ice=e=>e.unitEditor.currentPosibleUnitsCount,ace=e=>e.unitEditor.controlledExpandedTabs,sce=e=>e.unitEditor.currentFirmware;function nx(){const e=Ar(rce);return!LI(e)}function lce(){return Ar(oce)}function jh(){return Ar(Jue)}function Wh(){return Ar(ece)}function MI(){return Ar(tce)}function NI(){return Ar(nce)}function uce(){return Ar(ice)}function cce(e){const t=Ar(Zue);return _o(e.idOfCurrentConfig,t)}function Ol(){return Ar(ace)}function dce(){return Ar(sce)}var P0={exports:{}};/**
 * @license
 * Lodash <https://lodash.com/>
 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
 * Released under MIT license <https://lodash.com/license>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 */(function(e,t){(function(){var n,r="4.17.21",o=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",f=500,p="__lodash_placeholder__",m=1,h=2,x=4,E=1,_=2,y=1,v=2,b=4,S=8,P=16,A=32,k=64,I=128,L=256,N=512,B=30,V="...",ee=800,X=16,ie=1,J=2,G=3,j=1/0,te=9007199254740991,ne=17976931348623157e292,me=0/0,H=4294967295,q=H-1,Z=H>>>1,ue=[["ary",I],["bind",y],["bindKey",v],["curry",S],["curryRight",P],["flip",N],["partial",A],["partialRight",k],["rearg",L]],K="[object Arguments]",U="[object Array]",Y="[object AsyncFunction]",re="[object Boolean]",fe="[object Date]",we="[object DOMException]",ke="[object Error]",Ie="[object Function]",Ce="[object GeneratorFunction]",We="[object Map]",Me="[object Number]",ft="[object Null]",ze="[object Object]",bt="[object Promise]",kt="[object Proxy]",Ge="[object RegExp]",qe="[object Set]",vt="[object String]",zt="[object Symbol]",nt="[object Undefined]",rt="[object WeakMap]",pt="[object WeakSet]",Pe="[object ArrayBuffer]",be="[object DataView]",Xe="[object Float32Array]",Se="[object Float64Array]",et="[object Int8Array]",Nt="[object Int16Array]",Xt="[object Int32Array]",Cn="[object Uint8Array]",Tn="[object Uint8ClampedArray]",Nn="[object Uint16Array]",tn="[object Uint32Array]",xe=/\b__p \+= '';/g,Ae=/\b(__p \+=) '' \+/g,Le=/(__e\(.*?\)|\b__t\)) \+\n'';/g,at=/&(?:amp|lt|gt|quot|#39);/g,ht=/[&<>"']/g,Mr=RegExp(at.source),Vo=RegExp(ht.source),Kn=/<%-([\s\S]+?)%>/g,yr=/<%([\s\S]+?)%>/g,xr=/<%=([\s\S]+?)%>/g,lt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,an=/^\w*$/,Dn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tr=/[\\^$.*+?()[\]{}|]/g,Ll=RegExp(tr.source),oa=/^\s+/,Ml=/\s/,Je=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,cn=/\{\n\/\* \[wrapped with (.+)\] \*/,de=/,? & /,se=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fe=/[()=,{}\[\]\/\s]/,Qe=/\\(\\)?/g,Dt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gn=/\w*$/,dn=/^[-+]0x[0-9a-f]+$/i,Nr=/^0b[01]+$/i,ed=/^\[object .+?Constructor\]$/,KO=/^0o[0-7]+$/i,qO=/^(?:0|[1-9]\d*)$/,YO=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,td=/($^)/,XO=/['\n\r\u2028\u2029\\]/g,nd="\\ud800-\\udfff",QO="\\u0300-\\u036f",ZO="\\ufe20-\\ufe2f",JO="\\u20d0-\\u20ff",Vx=QO+ZO+JO,Gx="\\u2700-\\u27bf",Kx="a-z\\xdf-\\xf6\\xf8-\\xff",e3="\\xac\\xb1\\xd7\\xf7",t3="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",n3="\\u2000-\\u206f",r3=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",qx="A-Z\\xc0-\\xd6\\xd8-\\xde",Yx="\\ufe0e\\ufe0f",Xx=e3+t3+n3+r3,tg="['\u2019]",o3="["+nd+"]",Qx="["+Xx+"]",rd="["+Vx+"]",Zx="\\d+",i3="["+Gx+"]",Jx="["+Kx+"]",eb="[^"+nd+Xx+Zx+Gx+Kx+qx+"]",ng="\\ud83c[\\udffb-\\udfff]",a3="(?:"+rd+"|"+ng+")",tb="[^"+nd+"]",rg="(?:\\ud83c[\\udde6-\\uddff]){2}",og="[\\ud800-\\udbff][\\udc00-\\udfff]",qa="["+qx+"]",nb="\\u200d",rb="(?:"+Jx+"|"+eb+")",s3="(?:"+qa+"|"+eb+")",ob="(?:"+tg+"(?:d|ll|m|re|s|t|ve))?",ib="(?:"+tg+"(?:D|LL|M|RE|S|T|VE))?",ab=a3+"?",sb="["+Yx+"]?",l3="(?:"+nb+"(?:"+[tb,rg,og].join("|")+")"+sb+ab+")*",u3="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",c3="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",lb=sb+ab+l3,d3="(?:"+[i3,rg,og].join("|")+")"+lb,f3="(?:"+[tb+rd+"?",rd,rg,og,o3].join("|")+")",p3=RegExp(tg,"g"),h3=RegExp(rd,"g"),ig=RegExp(ng+"(?="+ng+")|"+f3+lb,"g"),g3=RegExp([qa+"?"+Jx+"+"+ob+"(?="+[Qx,qa,"$"].join("|")+")",s3+"+"+ib+"(?="+[Qx,qa+rb,"$"].join("|")+")",qa+"?"+rb+"+"+ob,qa+"+"+ib,c3,u3,Zx,d3].join("|"),"g"),m3=RegExp("["+nb+nd+Vx+Yx+"]"),v3=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,y3=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],x3=-1,Gt={};Gt[Xe]=Gt[Se]=Gt[et]=Gt[Nt]=Gt[Xt]=Gt[Cn]=Gt[Tn]=Gt[Nn]=Gt[tn]=!0,Gt[K]=Gt[U]=Gt[Pe]=Gt[re]=Gt[be]=Gt[fe]=Gt[ke]=Gt[Ie]=Gt[We]=Gt[Me]=Gt[ze]=Gt[Ge]=Gt[qe]=Gt[vt]=Gt[rt]=!1;var jt={};jt[K]=jt[U]=jt[Pe]=jt[be]=jt[re]=jt[fe]=jt[Xe]=jt[Se]=jt[et]=jt[Nt]=jt[Xt]=jt[We]=jt[Me]=jt[ze]=jt[Ge]=jt[qe]=jt[vt]=jt[zt]=jt[Cn]=jt[Tn]=jt[Nn]=jt[tn]=!0,jt[ke]=jt[Ie]=jt[rt]=!1;var b3={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},_3={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},C3={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},E3={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},w3=parseFloat,S3=parseInt,ub=typeof ri=="object"&&ri&&ri.Object===Object&&ri,$3=typeof self=="object"&&self&&self.Object===Object&&self,In=ub||$3||Function("return this")(),ag=t&&!t.nodeType&&t,ia=ag&&!0&&e&&!e.nodeType&&e,cb=ia&&ia.exports===ag,sg=cb&&ub.process,Dr=function(){try{var z=ia&&ia.require&&ia.require("util").types;return z||sg&&sg.binding&&sg.binding("util")}catch{}}(),db=Dr&&Dr.isArrayBuffer,fb=Dr&&Dr.isDate,pb=Dr&&Dr.isMap,hb=Dr&&Dr.isRegExp,gb=Dr&&Dr.isSet,mb=Dr&&Dr.isTypedArray;function br(z,oe,Q){switch(Q.length){case 0:return z.call(oe);case 1:return z.call(oe,Q[0]);case 2:return z.call(oe,Q[0],Q[1]);case 3:return z.call(oe,Q[0],Q[1],Q[2])}return z.apply(oe,Q)}function P3(z,oe,Q,$e){for(var Ye=-1,Ct=z==null?0:z.length;++Ye<Ct;){var yn=z[Ye];oe($e,yn,Q(yn),z)}return $e}function Br(z,oe){for(var Q=-1,$e=z==null?0:z.length;++Q<$e&&oe(z[Q],Q,z)!==!1;);return z}function R3(z,oe){for(var Q=z==null?0:z.length;Q--&&oe(z[Q],Q,z)!==!1;);return z}function vb(z,oe){for(var Q=-1,$e=z==null?0:z.length;++Q<$e;)if(!oe(z[Q],Q,z))return!1;return!0}function hi(z,oe){for(var Q=-1,$e=z==null?0:z.length,Ye=0,Ct=[];++Q<$e;){var yn=z[Q];oe(yn,Q,z)&&(Ct[Ye++]=yn)}return Ct}function od(z,oe){var Q=z==null?0:z.length;return!!Q&&Ya(z,oe,0)>-1}function lg(z,oe,Q){for(var $e=-1,Ye=z==null?0:z.length;++$e<Ye;)if(Q(oe,z[$e]))return!0;return!1}function Qt(z,oe){for(var Q=-1,$e=z==null?0:z.length,Ye=Array($e);++Q<$e;)Ye[Q]=oe(z[Q],Q,z);return Ye}function gi(z,oe){for(var Q=-1,$e=oe.length,Ye=z.length;++Q<$e;)z[Ye+Q]=oe[Q];return z}function ug(z,oe,Q,$e){var Ye=-1,Ct=z==null?0:z.length;for($e&&Ct&&(Q=z[++Ye]);++Ye<Ct;)Q=oe(Q,z[Ye],Ye,z);return Q}function T3(z,oe,Q,$e){var Ye=z==null?0:z.length;for($e&&Ye&&(Q=z[--Ye]);Ye--;)Q=oe(Q,z[Ye],Ye,z);return Q}function cg(z,oe){for(var Q=-1,$e=z==null?0:z.length;++Q<$e;)if(oe(z[Q],Q,z))return!0;return!1}var I3=dg("length");function O3(z){return z.split("")}function k3(z){return z.match(se)||[]}function yb(z,oe,Q){var $e;return Q(z,function(Ye,Ct,yn){if(oe(Ye,Ct,yn))return $e=Ct,!1}),$e}function id(z,oe,Q,$e){for(var Ye=z.length,Ct=Q+($e?1:-1);$e?Ct--:++Ct<Ye;)if(oe(z[Ct],Ct,z))return Ct;return-1}function Ya(z,oe,Q){return oe===oe?H3(z,oe,Q):id(z,xb,Q)}function A3(z,oe,Q,$e){for(var Ye=Q-1,Ct=z.length;++Ye<Ct;)if($e(z[Ye],oe))return Ye;return-1}function xb(z){return z!==z}function bb(z,oe){var Q=z==null?0:z.length;return Q?pg(z,oe)/Q:me}function dg(z){return function(oe){return oe==null?n:oe[z]}}function fg(z){return function(oe){return z==null?n:z[oe]}}function _b(z,oe,Q,$e,Ye){return Ye(z,function(Ct,yn,Bt){Q=$e?($e=!1,Ct):oe(Q,Ct,yn,Bt)}),Q}function L3(z,oe){var Q=z.length;for(z.sort(oe);Q--;)z[Q]=z[Q].value;return z}function pg(z,oe){for(var Q,$e=-1,Ye=z.length;++$e<Ye;){var Ct=oe(z[$e]);Ct!==n&&(Q=Q===n?Ct:Q+Ct)}return Q}function hg(z,oe){for(var Q=-1,$e=Array(z);++Q<z;)$e[Q]=oe(Q);return $e}function M3(z,oe){return Qt(oe,function(Q){return[Q,z[Q]]})}function Cb(z){return z&&z.slice(0,$b(z)+1).replace(oa,"")}function _r(z){return function(oe){return z(oe)}}function gg(z,oe){return Qt(oe,function(Q){return z[Q]})}function Nl(z,oe){return z.has(oe)}function Eb(z,oe){for(var Q=-1,$e=z.length;++Q<$e&&Ya(oe,z[Q],0)>-1;);return Q}function wb(z,oe){for(var Q=z.length;Q--&&Ya(oe,z[Q],0)>-1;);return Q}function N3(z,oe){for(var Q=z.length,$e=0;Q--;)z[Q]===oe&&++$e;return $e}var D3=fg(b3),B3=fg(_3);function F3(z){return"\\"+E3[z]}function U3(z,oe){return z==null?n:z[oe]}function Xa(z){return m3.test(z)}function z3(z){return v3.test(z)}function j3(z){for(var oe,Q=[];!(oe=z.next()).done;)Q.push(oe.value);return Q}function mg(z){var oe=-1,Q=Array(z.size);return z.forEach(function($e,Ye){Q[++oe]=[Ye,$e]}),Q}function Sb(z,oe){return function(Q){return z(oe(Q))}}function mi(z,oe){for(var Q=-1,$e=z.length,Ye=0,Ct=[];++Q<$e;){var yn=z[Q];(yn===oe||yn===p)&&(z[Q]=p,Ct[Ye++]=Q)}return Ct}function ad(z){var oe=-1,Q=Array(z.size);return z.forEach(function($e){Q[++oe]=$e}),Q}function W3(z){var oe=-1,Q=Array(z.size);return z.forEach(function($e){Q[++oe]=[$e,$e]}),Q}function H3(z,oe,Q){for(var $e=Q-1,Ye=z.length;++$e<Ye;)if(z[$e]===oe)return $e;return-1}function V3(z,oe,Q){for(var $e=Q+1;$e--;)if(z[$e]===oe)return $e;return $e}function Qa(z){return Xa(z)?K3(z):I3(z)}function co(z){return Xa(z)?q3(z):O3(z)}function $b(z){for(var oe=z.length;oe--&&Ml.test(z.charAt(oe)););return oe}var G3=fg(C3);function K3(z){for(var oe=ig.lastIndex=0;ig.test(z);)++oe;return oe}function q3(z){return z.match(ig)||[]}function Y3(z){return z.match(g3)||[]}var X3=function z(oe){oe=oe==null?In:Za.defaults(In.Object(),oe,Za.pick(In,y3));var Q=oe.Array,$e=oe.Date,Ye=oe.Error,Ct=oe.Function,yn=oe.Math,Bt=oe.Object,vg=oe.RegExp,Q3=oe.String,Fr=oe.TypeError,sd=Q.prototype,Z3=Ct.prototype,Ja=Bt.prototype,ld=oe["__core-js_shared__"],ud=Z3.toString,$t=Ja.hasOwnProperty,J3=0,Pb=function(){var i=/[^.]+$/.exec(ld&&ld.keys&&ld.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),cd=Ja.toString,ek=ud.call(Bt),tk=In._,nk=vg("^"+ud.call($t).replace(tr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),dd=cb?oe.Buffer:n,vi=oe.Symbol,fd=oe.Uint8Array,Rb=dd?dd.allocUnsafe:n,pd=Sb(Bt.getPrototypeOf,Bt),Tb=Bt.create,Ib=Ja.propertyIsEnumerable,hd=sd.splice,Ob=vi?vi.isConcatSpreadable:n,Dl=vi?vi.iterator:n,aa=vi?vi.toStringTag:n,gd=function(){try{var i=da(Bt,"defineProperty");return i({},"",{}),i}catch{}}(),rk=oe.clearTimeout!==In.clearTimeout&&oe.clearTimeout,ok=$e&&$e.now!==In.Date.now&&$e.now,ik=oe.setTimeout!==In.setTimeout&&oe.setTimeout,md=yn.ceil,vd=yn.floor,yg=Bt.getOwnPropertySymbols,ak=dd?dd.isBuffer:n,kb=oe.isFinite,sk=sd.join,lk=Sb(Bt.keys,Bt),xn=yn.max,Bn=yn.min,uk=$e.now,ck=oe.parseInt,Ab=yn.random,dk=sd.reverse,xg=da(oe,"DataView"),Bl=da(oe,"Map"),bg=da(oe,"Promise"),es=da(oe,"Set"),Fl=da(oe,"WeakMap"),Ul=da(Bt,"create"),yd=Fl&&new Fl,ts={},fk=fa(xg),pk=fa(Bl),hk=fa(bg),gk=fa(es),mk=fa(Fl),xd=vi?vi.prototype:n,zl=xd?xd.valueOf:n,Lb=xd?xd.toString:n;function T(i){if(sn(i)&&!Ze(i)&&!(i instanceof dt)){if(i instanceof Ur)return i;if($t.call(i,"__wrapped__"))return M_(i)}return new Ur(i)}var ns=function(){function i(){}return function(s){if(!nn(s))return{};if(Tb)return Tb(s);i.prototype=s;var d=new i;return i.prototype=n,d}}();function bd(){}function Ur(i,s){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=n}T.templateSettings={escape:Kn,evaluate:yr,interpolate:xr,variable:"",imports:{_:T}},T.prototype=bd.prototype,T.prototype.constructor=T,Ur.prototype=ns(bd.prototype),Ur.prototype.constructor=Ur;function dt(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=H,this.__views__=[]}function vk(){var i=new dt(this.__wrapped__);return i.__actions__=nr(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=nr(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=nr(this.__views__),i}function yk(){if(this.__filtered__){var i=new dt(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function xk(){var i=this.__wrapped__.value(),s=this.__dir__,d=Ze(i),g=s<0,$=d?i.length:0,O=OA(0,$,this.__views__),M=O.start,F=O.end,W=F-M,ae=g?F:M-1,le=this.__iteratees__,pe=le.length,Ee=0,Oe=Bn(W,this.__takeCount__);if(!d||!g&&$==W&&Oe==W)return o_(i,this.__actions__);var He=[];e:for(;W--&&Ee<Oe;){ae+=s;for(var ot=-1,Ve=i[ae];++ot<pe;){var ut=le[ot],gt=ut.iteratee,wr=ut.type,Xn=gt(Ve);if(wr==J)Ve=Xn;else if(!Xn){if(wr==ie)continue e;break e}}He[Ee++]=Ve}return He}dt.prototype=ns(bd.prototype),dt.prototype.constructor=dt;function sa(i){var s=-1,d=i==null?0:i.length;for(this.clear();++s<d;){var g=i[s];this.set(g[0],g[1])}}function bk(){this.__data__=Ul?Ul(null):{},this.size=0}function _k(i){var s=this.has(i)&&delete this.__data__[i];return this.size-=s?1:0,s}function Ck(i){var s=this.__data__;if(Ul){var d=s[i];return d===c?n:d}return $t.call(s,i)?s[i]:n}function Ek(i){var s=this.__data__;return Ul?s[i]!==n:$t.call(s,i)}function wk(i,s){var d=this.__data__;return this.size+=this.has(i)?0:1,d[i]=Ul&&s===n?c:s,this}sa.prototype.clear=bk,sa.prototype.delete=_k,sa.prototype.get=Ck,sa.prototype.has=Ek,sa.prototype.set=wk;function Go(i){var s=-1,d=i==null?0:i.length;for(this.clear();++s<d;){var g=i[s];this.set(g[0],g[1])}}function Sk(){this.__data__=[],this.size=0}function $k(i){var s=this.__data__,d=_d(s,i);if(d<0)return!1;var g=s.length-1;return d==g?s.pop():hd.call(s,d,1),--this.size,!0}function Pk(i){var s=this.__data__,d=_d(s,i);return d<0?n:s[d][1]}function Rk(i){return _d(this.__data__,i)>-1}function Tk(i,s){var d=this.__data__,g=_d(d,i);return g<0?(++this.size,d.push([i,s])):d[g][1]=s,this}Go.prototype.clear=Sk,Go.prototype.delete=$k,Go.prototype.get=Pk,Go.prototype.has=Rk,Go.prototype.set=Tk;function Ko(i){var s=-1,d=i==null?0:i.length;for(this.clear();++s<d;){var g=i[s];this.set(g[0],g[1])}}function Ik(){this.size=0,this.__data__={hash:new sa,map:new(Bl||Go),string:new sa}}function Ok(i){var s=Ad(this,i).delete(i);return this.size-=s?1:0,s}function kk(i){return Ad(this,i).get(i)}function Ak(i){return Ad(this,i).has(i)}function Lk(i,s){var d=Ad(this,i),g=d.size;return d.set(i,s),this.size+=d.size==g?0:1,this}Ko.prototype.clear=Ik,Ko.prototype.delete=Ok,Ko.prototype.get=kk,Ko.prototype.has=Ak,Ko.prototype.set=Lk;function la(i){var s=-1,d=i==null?0:i.length;for(this.__data__=new Ko;++s<d;)this.add(i[s])}function Mk(i){return this.__data__.set(i,c),this}function Nk(i){return this.__data__.has(i)}la.prototype.add=la.prototype.push=Mk,la.prototype.has=Nk;function fo(i){var s=this.__data__=new Go(i);this.size=s.size}function Dk(){this.__data__=new Go,this.size=0}function Bk(i){var s=this.__data__,d=s.delete(i);return this.size=s.size,d}function Fk(i){return this.__data__.get(i)}function Uk(i){return this.__data__.has(i)}function zk(i,s){var d=this.__data__;if(d instanceof Go){var g=d.__data__;if(!Bl||g.length<o-1)return g.push([i,s]),this.size=++d.size,this;d=this.__data__=new Ko(g)}return d.set(i,s),this.size=d.size,this}fo.prototype.clear=Dk,fo.prototype.delete=Bk,fo.prototype.get=Fk,fo.prototype.has=Uk,fo.prototype.set=zk;function Mb(i,s){var d=Ze(i),g=!d&&pa(i),$=!d&&!g&&Ci(i),O=!d&&!g&&!$&&as(i),M=d||g||$||O,F=M?hg(i.length,Q3):[],W=F.length;for(var ae in i)(s||$t.call(i,ae))&&!(M&&(ae=="length"||$&&(ae=="offset"||ae=="parent")||O&&(ae=="buffer"||ae=="byteLength"||ae=="byteOffset")||Qo(ae,W)))&&F.push(ae);return F}function Nb(i){var s=i.length;return s?i[Og(0,s-1)]:n}function jk(i,s){return Ld(nr(i),ua(s,0,i.length))}function Wk(i){return Ld(nr(i))}function _g(i,s,d){(d!==n&&!po(i[s],d)||d===n&&!(s in i))&&qo(i,s,d)}function jl(i,s,d){var g=i[s];(!($t.call(i,s)&&po(g,d))||d===n&&!(s in i))&&qo(i,s,d)}function _d(i,s){for(var d=i.length;d--;)if(po(i[d][0],s))return d;return-1}function Hk(i,s,d,g){return yi(i,function($,O,M){s(g,$,d($),M)}),g}function Db(i,s){return i&&Po(s,En(s),i)}function Vk(i,s){return i&&Po(s,or(s),i)}function qo(i,s,d){s=="__proto__"&&gd?gd(i,s,{configurable:!0,enumerable:!0,value:d,writable:!0}):i[s]=d}function Cg(i,s){for(var d=-1,g=s.length,$=Q(g),O=i==null;++d<g;)$[d]=O?n:nm(i,s[d]);return $}function ua(i,s,d){return i===i&&(d!==n&&(i=i<=d?i:d),s!==n&&(i=i>=s?i:s)),i}function zr(i,s,d,g,$,O){var M,F=s&m,W=s&h,ae=s&x;if(d&&(M=$?d(i,g,$,O):d(i)),M!==n)return M;if(!nn(i))return i;var le=Ze(i);if(le){if(M=AA(i),!F)return nr(i,M)}else{var pe=Fn(i),Ee=pe==Ie||pe==Ce;if(Ci(i))return s_(i,F);if(pe==ze||pe==K||Ee&&!$){if(M=W||Ee?{}:$_(i),!F)return W?CA(i,Vk(M,i)):_A(i,Db(M,i))}else{if(!jt[pe])return $?i:{};M=LA(i,pe,F)}}O||(O=new fo);var Oe=O.get(i);if(Oe)return Oe;O.set(i,M),tC(i)?i.forEach(function(Ve){M.add(zr(Ve,s,d,Ve,i,O))}):J_(i)&&i.forEach(function(Ve,ut){M.set(ut,zr(Ve,s,d,ut,i,O))});var He=ae?W?jg:zg:W?or:En,ot=le?n:He(i);return Br(ot||i,function(Ve,ut){ot&&(ut=Ve,Ve=i[ut]),jl(M,ut,zr(Ve,s,d,ut,i,O))}),M}function Gk(i){var s=En(i);return function(d){return Bb(d,i,s)}}function Bb(i,s,d){var g=d.length;if(i==null)return!g;for(i=Bt(i);g--;){var $=d[g],O=s[$],M=i[$];if(M===n&&!($ in i)||!O(M))return!1}return!0}function Fb(i,s,d){if(typeof i!="function")throw new Fr(l);return Yl(function(){i.apply(n,d)},s)}function Wl(i,s,d,g){var $=-1,O=od,M=!0,F=i.length,W=[],ae=s.length;if(!F)return W;d&&(s=Qt(s,_r(d))),g?(O=lg,M=!1):s.length>=o&&(O=Nl,M=!1,s=new la(s));e:for(;++$<F;){var le=i[$],pe=d==null?le:d(le);if(le=g||le!==0?le:0,M&&pe===pe){for(var Ee=ae;Ee--;)if(s[Ee]===pe)continue e;W.push(le)}else O(s,pe,g)||W.push(le)}return W}var yi=f_($o),Ub=f_(wg,!0);function Kk(i,s){var d=!0;return yi(i,function(g,$,O){return d=!!s(g,$,O),d}),d}function Cd(i,s,d){for(var g=-1,$=i.length;++g<$;){var O=i[g],M=s(O);if(M!=null&&(F===n?M===M&&!Er(M):d(M,F)))var F=M,W=O}return W}function qk(i,s,d,g){var $=i.length;for(d=tt(d),d<0&&(d=-d>$?0:$+d),g=g===n||g>$?$:tt(g),g<0&&(g+=$),g=d>g?0:rC(g);d<g;)i[d++]=s;return i}function zb(i,s){var d=[];return yi(i,function(g,$,O){s(g,$,O)&&d.push(g)}),d}function On(i,s,d,g,$){var O=-1,M=i.length;for(d||(d=NA),$||($=[]);++O<M;){var F=i[O];s>0&&d(F)?s>1?On(F,s-1,d,g,$):gi($,F):g||($[$.length]=F)}return $}var Eg=p_(),jb=p_(!0);function $o(i,s){return i&&Eg(i,s,En)}function wg(i,s){return i&&jb(i,s,En)}function Ed(i,s){return hi(s,function(d){return Zo(i[d])})}function ca(i,s){s=bi(s,i);for(var d=0,g=s.length;i!=null&&d<g;)i=i[Ro(s[d++])];return d&&d==g?i:n}function Wb(i,s,d){var g=s(i);return Ze(i)?g:gi(g,d(i))}function qn(i){return i==null?i===n?nt:ft:aa&&aa in Bt(i)?IA(i):WA(i)}function Sg(i,s){return i>s}function Yk(i,s){return i!=null&&$t.call(i,s)}function Xk(i,s){return i!=null&&s in Bt(i)}function Qk(i,s,d){return i>=Bn(s,d)&&i<xn(s,d)}function $g(i,s,d){for(var g=d?lg:od,$=i[0].length,O=i.length,M=O,F=Q(O),W=1/0,ae=[];M--;){var le=i[M];M&&s&&(le=Qt(le,_r(s))),W=Bn(le.length,W),F[M]=!d&&(s||$>=120&&le.length>=120)?new la(M&&le):n}le=i[0];var pe=-1,Ee=F[0];e:for(;++pe<$&&ae.length<W;){var Oe=le[pe],He=s?s(Oe):Oe;if(Oe=d||Oe!==0?Oe:0,!(Ee?Nl(Ee,He):g(ae,He,d))){for(M=O;--M;){var ot=F[M];if(!(ot?Nl(ot,He):g(i[M],He,d)))continue e}Ee&&Ee.push(He),ae.push(Oe)}}return ae}function Zk(i,s,d,g){return $o(i,function($,O,M){s(g,d($),O,M)}),g}function Hl(i,s,d){s=bi(s,i),i=I_(i,s);var g=i==null?i:i[Ro(Wr(s))];return g==null?n:br(g,i,d)}function Hb(i){return sn(i)&&qn(i)==K}function Jk(i){return sn(i)&&qn(i)==Pe}function eA(i){return sn(i)&&qn(i)==fe}function Vl(i,s,d,g,$){return i===s?!0:i==null||s==null||!sn(i)&&!sn(s)?i!==i&&s!==s:tA(i,s,d,g,Vl,$)}function tA(i,s,d,g,$,O){var M=Ze(i),F=Ze(s),W=M?U:Fn(i),ae=F?U:Fn(s);W=W==K?ze:W,ae=ae==K?ze:ae;var le=W==ze,pe=ae==ze,Ee=W==ae;if(Ee&&Ci(i)){if(!Ci(s))return!1;M=!0,le=!1}if(Ee&&!le)return O||(O=new fo),M||as(i)?E_(i,s,d,g,$,O):RA(i,s,W,d,g,$,O);if(!(d&E)){var Oe=le&&$t.call(i,"__wrapped__"),He=pe&&$t.call(s,"__wrapped__");if(Oe||He){var ot=Oe?i.value():i,Ve=He?s.value():s;return O||(O=new fo),$(ot,Ve,d,g,O)}}return Ee?(O||(O=new fo),TA(i,s,d,g,$,O)):!1}function nA(i){return sn(i)&&Fn(i)==We}function Pg(i,s,d,g){var $=d.length,O=$,M=!g;if(i==null)return!O;for(i=Bt(i);$--;){var F=d[$];if(M&&F[2]?F[1]!==i[F[0]]:!(F[0]in i))return!1}for(;++$<O;){F=d[$];var W=F[0],ae=i[W],le=F[1];if(M&&F[2]){if(ae===n&&!(W in i))return!1}else{var pe=new fo;if(g)var Ee=g(ae,le,W,i,s,pe);if(!(Ee===n?Vl(le,ae,E|_,g,pe):Ee))return!1}}return!0}function Vb(i){if(!nn(i)||BA(i))return!1;var s=Zo(i)?nk:ed;return s.test(fa(i))}function rA(i){return sn(i)&&qn(i)==Ge}function oA(i){return sn(i)&&Fn(i)==qe}function iA(i){return sn(i)&&Ud(i.length)&&!!Gt[qn(i)]}function Gb(i){return typeof i=="function"?i:i==null?ir:typeof i=="object"?Ze(i)?Yb(i[0],i[1]):qb(i):hC(i)}function Rg(i){if(!ql(i))return lk(i);var s=[];for(var d in Bt(i))$t.call(i,d)&&d!="constructor"&&s.push(d);return s}function aA(i){if(!nn(i))return jA(i);var s=ql(i),d=[];for(var g in i)g=="constructor"&&(s||!$t.call(i,g))||d.push(g);return d}function Tg(i,s){return i<s}function Kb(i,s){var d=-1,g=rr(i)?Q(i.length):[];return yi(i,function($,O,M){g[++d]=s($,O,M)}),g}function qb(i){var s=Hg(i);return s.length==1&&s[0][2]?R_(s[0][0],s[0][1]):function(d){return d===i||Pg(d,i,s)}}function Yb(i,s){return Gg(i)&&P_(s)?R_(Ro(i),s):function(d){var g=nm(d,i);return g===n&&g===s?rm(d,i):Vl(s,g,E|_)}}function wd(i,s,d,g,$){i!==s&&Eg(s,function(O,M){if($||($=new fo),nn(O))sA(i,s,M,d,wd,g,$);else{var F=g?g(qg(i,M),O,M+"",i,s,$):n;F===n&&(F=O),_g(i,M,F)}},or)}function sA(i,s,d,g,$,O,M){var F=qg(i,d),W=qg(s,d),ae=M.get(W);if(ae){_g(i,d,ae);return}var le=O?O(F,W,d+"",i,s,M):n,pe=le===n;if(pe){var Ee=Ze(W),Oe=!Ee&&Ci(W),He=!Ee&&!Oe&&as(W);le=W,Ee||Oe||He?Ze(F)?le=F:fn(F)?le=nr(F):Oe?(pe=!1,le=s_(W,!0)):He?(pe=!1,le=l_(W,!0)):le=[]:Xl(W)||pa(W)?(le=F,pa(F)?le=oC(F):(!nn(F)||Zo(F))&&(le=$_(W))):pe=!1}pe&&(M.set(W,le),$(le,W,g,O,M),M.delete(W)),_g(i,d,le)}function Xb(i,s){var d=i.length;if(!!d)return s+=s<0?d:0,Qo(s,d)?i[s]:n}function Qb(i,s,d){s.length?s=Qt(s,function(O){return Ze(O)?function(M){return ca(M,O.length===1?O[0]:O)}:O}):s=[ir];var g=-1;s=Qt(s,_r(je()));var $=Kb(i,function(O,M,F){var W=Qt(s,function(ae){return ae(O)});return{criteria:W,index:++g,value:O}});return L3($,function(O,M){return bA(O,M,d)})}function lA(i,s){return Zb(i,s,function(d,g){return rm(i,g)})}function Zb(i,s,d){for(var g=-1,$=s.length,O={};++g<$;){var M=s[g],F=ca(i,M);d(F,M)&&Gl(O,bi(M,i),F)}return O}function uA(i){return function(s){return ca(s,i)}}function Ig(i,s,d,g){var $=g?A3:Ya,O=-1,M=s.length,F=i;for(i===s&&(s=nr(s)),d&&(F=Qt(i,_r(d)));++O<M;)for(var W=0,ae=s[O],le=d?d(ae):ae;(W=$(F,le,W,g))>-1;)F!==i&&hd.call(F,W,1),hd.call(i,W,1);return i}function Jb(i,s){for(var d=i?s.length:0,g=d-1;d--;){var $=s[d];if(d==g||$!==O){var O=$;Qo($)?hd.call(i,$,1):Lg(i,$)}}return i}function Og(i,s){return i+vd(Ab()*(s-i+1))}function cA(i,s,d,g){for(var $=-1,O=xn(md((s-i)/(d||1)),0),M=Q(O);O--;)M[g?O:++$]=i,i+=d;return M}function kg(i,s){var d="";if(!i||s<1||s>te)return d;do s%2&&(d+=i),s=vd(s/2),s&&(i+=i);while(s);return d}function it(i,s){return Yg(T_(i,s,ir),i+"")}function dA(i){return Nb(ss(i))}function fA(i,s){var d=ss(i);return Ld(d,ua(s,0,d.length))}function Gl(i,s,d,g){if(!nn(i))return i;s=bi(s,i);for(var $=-1,O=s.length,M=O-1,F=i;F!=null&&++$<O;){var W=Ro(s[$]),ae=d;if(W==="__proto__"||W==="constructor"||W==="prototype")return i;if($!=M){var le=F[W];ae=g?g(le,W,F):n,ae===n&&(ae=nn(le)?le:Qo(s[$+1])?[]:{})}jl(F,W,ae),F=F[W]}return i}var e_=yd?function(i,s){return yd.set(i,s),i}:ir,pA=gd?function(i,s){return gd(i,"toString",{configurable:!0,enumerable:!1,value:im(s),writable:!0})}:ir;function hA(i){return Ld(ss(i))}function jr(i,s,d){var g=-1,$=i.length;s<0&&(s=-s>$?0:$+s),d=d>$?$:d,d<0&&(d+=$),$=s>d?0:d-s>>>0,s>>>=0;for(var O=Q($);++g<$;)O[g]=i[g+s];return O}function gA(i,s){var d;return yi(i,function(g,$,O){return d=s(g,$,O),!d}),!!d}function Sd(i,s,d){var g=0,$=i==null?g:i.length;if(typeof s=="number"&&s===s&&$<=Z){for(;g<$;){var O=g+$>>>1,M=i[O];M!==null&&!Er(M)&&(d?M<=s:M<s)?g=O+1:$=O}return $}return Ag(i,s,ir,d)}function Ag(i,s,d,g){var $=0,O=i==null?0:i.length;if(O===0)return 0;s=d(s);for(var M=s!==s,F=s===null,W=Er(s),ae=s===n;$<O;){var le=vd(($+O)/2),pe=d(i[le]),Ee=pe!==n,Oe=pe===null,He=pe===pe,ot=Er(pe);if(M)var Ve=g||He;else ae?Ve=He&&(g||Ee):F?Ve=He&&Ee&&(g||!Oe):W?Ve=He&&Ee&&!Oe&&(g||!ot):Oe||ot?Ve=!1:Ve=g?pe<=s:pe<s;Ve?$=le+1:O=le}return Bn(O,q)}function t_(i,s){for(var d=-1,g=i.length,$=0,O=[];++d<g;){var M=i[d],F=s?s(M):M;if(!d||!po(F,W)){var W=F;O[$++]=M===0?0:M}}return O}function n_(i){return typeof i=="number"?i:Er(i)?me:+i}function Cr(i){if(typeof i=="string")return i;if(Ze(i))return Qt(i,Cr)+"";if(Er(i))return Lb?Lb.call(i):"";var s=i+"";return s=="0"&&1/i==-j?"-0":s}function xi(i,s,d){var g=-1,$=od,O=i.length,M=!0,F=[],W=F;if(d)M=!1,$=lg;else if(O>=o){var ae=s?null:$A(i);if(ae)return ad(ae);M=!1,$=Nl,W=new la}else W=s?[]:F;e:for(;++g<O;){var le=i[g],pe=s?s(le):le;if(le=d||le!==0?le:0,M&&pe===pe){for(var Ee=W.length;Ee--;)if(W[Ee]===pe)continue e;s&&W.push(pe),F.push(le)}else $(W,pe,d)||(W!==F&&W.push(pe),F.push(le))}return F}function Lg(i,s){return s=bi(s,i),i=I_(i,s),i==null||delete i[Ro(Wr(s))]}function r_(i,s,d,g){return Gl(i,s,d(ca(i,s)),g)}function $d(i,s,d,g){for(var $=i.length,O=g?$:-1;(g?O--:++O<$)&&s(i[O],O,i););return d?jr(i,g?0:O,g?O+1:$):jr(i,g?O+1:0,g?$:O)}function o_(i,s){var d=i;return d instanceof dt&&(d=d.value()),ug(s,function(g,$){return $.func.apply($.thisArg,gi([g],$.args))},d)}function Mg(i,s,d){var g=i.length;if(g<2)return g?xi(i[0]):[];for(var $=-1,O=Q(g);++$<g;)for(var M=i[$],F=-1;++F<g;)F!=$&&(O[$]=Wl(O[$]||M,i[F],s,d));return xi(On(O,1),s,d)}function i_(i,s,d){for(var g=-1,$=i.length,O=s.length,M={};++g<$;){var F=g<O?s[g]:n;d(M,i[g],F)}return M}function Ng(i){return fn(i)?i:[]}function Dg(i){return typeof i=="function"?i:ir}function bi(i,s){return Ze(i)?i:Gg(i,s)?[i]:L_(wt(i))}var mA=it;function _i(i,s,d){var g=i.length;return d=d===n?g:d,!s&&d>=g?i:jr(i,s,d)}var a_=rk||function(i){return In.clearTimeout(i)};function s_(i,s){if(s)return i.slice();var d=i.length,g=Rb?Rb(d):new i.constructor(d);return i.copy(g),g}function Bg(i){var s=new i.constructor(i.byteLength);return new fd(s).set(new fd(i)),s}function vA(i,s){var d=s?Bg(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.byteLength)}function yA(i){var s=new i.constructor(i.source,gn.exec(i));return s.lastIndex=i.lastIndex,s}function xA(i){return zl?Bt(zl.call(i)):{}}function l_(i,s){var d=s?Bg(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.length)}function u_(i,s){if(i!==s){var d=i!==n,g=i===null,$=i===i,O=Er(i),M=s!==n,F=s===null,W=s===s,ae=Er(s);if(!F&&!ae&&!O&&i>s||O&&M&&W&&!F&&!ae||g&&M&&W||!d&&W||!$)return 1;if(!g&&!O&&!ae&&i<s||ae&&d&&$&&!g&&!O||F&&d&&$||!M&&$||!W)return-1}return 0}function bA(i,s,d){for(var g=-1,$=i.criteria,O=s.criteria,M=$.length,F=d.length;++g<M;){var W=u_($[g],O[g]);if(W){if(g>=F)return W;var ae=d[g];return W*(ae=="desc"?-1:1)}}return i.index-s.index}function c_(i,s,d,g){for(var $=-1,O=i.length,M=d.length,F=-1,W=s.length,ae=xn(O-M,0),le=Q(W+ae),pe=!g;++F<W;)le[F]=s[F];for(;++$<M;)(pe||$<O)&&(le[d[$]]=i[$]);for(;ae--;)le[F++]=i[$++];return le}function d_(i,s,d,g){for(var $=-1,O=i.length,M=-1,F=d.length,W=-1,ae=s.length,le=xn(O-F,0),pe=Q(le+ae),Ee=!g;++$<le;)pe[$]=i[$];for(var Oe=$;++W<ae;)pe[Oe+W]=s[W];for(;++M<F;)(Ee||$<O)&&(pe[Oe+d[M]]=i[$++]);return pe}function nr(i,s){var d=-1,g=i.length;for(s||(s=Q(g));++d<g;)s[d]=i[d];return s}function Po(i,s,d,g){var $=!d;d||(d={});for(var O=-1,M=s.length;++O<M;){var F=s[O],W=g?g(d[F],i[F],F,d,i):n;W===n&&(W=i[F]),$?qo(d,F,W):jl(d,F,W)}return d}function _A(i,s){return Po(i,Vg(i),s)}function CA(i,s){return Po(i,w_(i),s)}function Pd(i,s){return function(d,g){var $=Ze(d)?P3:Hk,O=s?s():{};return $(d,i,je(g,2),O)}}function rs(i){return it(function(s,d){var g=-1,$=d.length,O=$>1?d[$-1]:n,M=$>2?d[2]:n;for(O=i.length>3&&typeof O=="function"?($--,O):n,M&&Yn(d[0],d[1],M)&&(O=$<3?n:O,$=1),s=Bt(s);++g<$;){var F=d[g];F&&i(s,F,g,O)}return s})}function f_(i,s){return function(d,g){if(d==null)return d;if(!rr(d))return i(d,g);for(var $=d.length,O=s?$:-1,M=Bt(d);(s?O--:++O<$)&&g(M[O],O,M)!==!1;);return d}}function p_(i){return function(s,d,g){for(var $=-1,O=Bt(s),M=g(s),F=M.length;F--;){var W=M[i?F:++$];if(d(O[W],W,O)===!1)break}return s}}function EA(i,s,d){var g=s&y,$=Kl(i);function O(){var M=this&&this!==In&&this instanceof O?$:i;return M.apply(g?d:this,arguments)}return O}function h_(i){return function(s){s=wt(s);var d=Xa(s)?co(s):n,g=d?d[0]:s.charAt(0),$=d?_i(d,1).join(""):s.slice(1);return g[i]()+$}}function os(i){return function(s){return ug(fC(dC(s).replace(p3,"")),i,"")}}function Kl(i){return function(){var s=arguments;switch(s.length){case 0:return new i;case 1:return new i(s[0]);case 2:return new i(s[0],s[1]);case 3:return new i(s[0],s[1],s[2]);case 4:return new i(s[0],s[1],s[2],s[3]);case 5:return new i(s[0],s[1],s[2],s[3],s[4]);case 6:return new i(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new i(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var d=ns(i.prototype),g=i.apply(d,s);return nn(g)?g:d}}function wA(i,s,d){var g=Kl(i);function $(){for(var O=arguments.length,M=Q(O),F=O,W=is($);F--;)M[F]=arguments[F];var ae=O<3&&M[0]!==W&&M[O-1]!==W?[]:mi(M,W);if(O-=ae.length,O<d)return x_(i,s,Rd,$.placeholder,n,M,ae,n,n,d-O);var le=this&&this!==In&&this instanceof $?g:i;return br(le,this,M)}return $}function g_(i){return function(s,d,g){var $=Bt(s);if(!rr(s)){var O=je(d,3);s=En(s),d=function(F){return O($[F],F,$)}}var M=i(s,d,g);return M>-1?$[O?s[M]:M]:n}}function m_(i){return Xo(function(s){var d=s.length,g=d,$=Ur.prototype.thru;for(i&&s.reverse();g--;){var O=s[g];if(typeof O!="function")throw new Fr(l);if($&&!M&&kd(O)=="wrapper")var M=new Ur([],!0)}for(g=M?g:d;++g<d;){O=s[g];var F=kd(O),W=F=="wrapper"?Wg(O):n;W&&Kg(W[0])&&W[1]==(I|S|A|L)&&!W[4].length&&W[9]==1?M=M[kd(W[0])].apply(M,W[3]):M=O.length==1&&Kg(O)?M[F]():M.thru(O)}return function(){var ae=arguments,le=ae[0];if(M&&ae.length==1&&Ze(le))return M.plant(le).value();for(var pe=0,Ee=d?s[pe].apply(this,ae):le;++pe<d;)Ee=s[pe].call(this,Ee);return Ee}})}function Rd(i,s,d,g,$,O,M,F,W,ae){var le=s&I,pe=s&y,Ee=s&v,Oe=s&(S|P),He=s&N,ot=Ee?n:Kl(i);function Ve(){for(var ut=arguments.length,gt=Q(ut),wr=ut;wr--;)gt[wr]=arguments[wr];if(Oe)var Xn=is(Ve),Sr=N3(gt,Xn);if(g&&(gt=c_(gt,g,$,Oe)),O&&(gt=d_(gt,O,M,Oe)),ut-=Sr,Oe&&ut<ae){var pn=mi(gt,Xn);return x_(i,s,Rd,Ve.placeholder,d,gt,pn,F,W,ae-ut)}var ho=pe?d:this,ei=Ee?ho[i]:i;return ut=gt.length,F?gt=HA(gt,F):He&&ut>1&&gt.reverse(),le&&W<ut&&(gt.length=W),this&&this!==In&&this instanceof Ve&&(ei=ot||Kl(ei)),ei.apply(ho,gt)}return Ve}function v_(i,s){return function(d,g){return Zk(d,i,s(g),{})}}function Td(i,s){return function(d,g){var $;if(d===n&&g===n)return s;if(d!==n&&($=d),g!==n){if($===n)return g;typeof d=="string"||typeof g=="string"?(d=Cr(d),g=Cr(g)):(d=n_(d),g=n_(g)),$=i(d,g)}return $}}function Fg(i){return Xo(function(s){return s=Qt(s,_r(je())),it(function(d){var g=this;return i(s,function($){return br($,g,d)})})})}function Id(i,s){s=s===n?" ":Cr(s);var d=s.length;if(d<2)return d?kg(s,i):s;var g=kg(s,md(i/Qa(s)));return Xa(s)?_i(co(g),0,i).join(""):g.slice(0,i)}function SA(i,s,d,g){var $=s&y,O=Kl(i);function M(){for(var F=-1,W=arguments.length,ae=-1,le=g.length,pe=Q(le+W),Ee=this&&this!==In&&this instanceof M?O:i;++ae<le;)pe[ae]=g[ae];for(;W--;)pe[ae++]=arguments[++F];return br(Ee,$?d:this,pe)}return M}function y_(i){return function(s,d,g){return g&&typeof g!="number"&&Yn(s,d,g)&&(d=g=n),s=Jo(s),d===n?(d=s,s=0):d=Jo(d),g=g===n?s<d?1:-1:Jo(g),cA(s,d,g,i)}}function Od(i){return function(s,d){return typeof s=="string"&&typeof d=="string"||(s=Hr(s),d=Hr(d)),i(s,d)}}function x_(i,s,d,g,$,O,M,F,W,ae){var le=s&S,pe=le?M:n,Ee=le?n:M,Oe=le?O:n,He=le?n:O;s|=le?A:k,s&=~(le?k:A),s&b||(s&=~(y|v));var ot=[i,s,$,Oe,pe,He,Ee,F,W,ae],Ve=d.apply(n,ot);return Kg(i)&&O_(Ve,ot),Ve.placeholder=g,k_(Ve,i,s)}function Ug(i){var s=yn[i];return function(d,g){if(d=Hr(d),g=g==null?0:Bn(tt(g),292),g&&kb(d)){var $=(wt(d)+"e").split("e"),O=s($[0]+"e"+(+$[1]+g));return $=(wt(O)+"e").split("e"),+($[0]+"e"+(+$[1]-g))}return s(d)}}var $A=es&&1/ad(new es([,-0]))[1]==j?function(i){return new es(i)}:lm;function b_(i){return function(s){var d=Fn(s);return d==We?mg(s):d==qe?W3(s):M3(s,i(s))}}function Yo(i,s,d,g,$,O,M,F){var W=s&v;if(!W&&typeof i!="function")throw new Fr(l);var ae=g?g.length:0;if(ae||(s&=~(A|k),g=$=n),M=M===n?M:xn(tt(M),0),F=F===n?F:tt(F),ae-=$?$.length:0,s&k){var le=g,pe=$;g=$=n}var Ee=W?n:Wg(i),Oe=[i,s,d,g,$,le,pe,O,M,F];if(Ee&&zA(Oe,Ee),i=Oe[0],s=Oe[1],d=Oe[2],g=Oe[3],$=Oe[4],F=Oe[9]=Oe[9]===n?W?0:i.length:xn(Oe[9]-ae,0),!F&&s&(S|P)&&(s&=~(S|P)),!s||s==y)var He=EA(i,s,d);else s==S||s==P?He=wA(i,s,F):(s==A||s==(y|A))&&!$.length?He=SA(i,s,d,g):He=Rd.apply(n,Oe);var ot=Ee?e_:O_;return k_(ot(He,Oe),i,s)}function __(i,s,d,g){return i===n||po(i,Ja[d])&&!$t.call(g,d)?s:i}function C_(i,s,d,g,$,O){return nn(i)&&nn(s)&&(O.set(s,i),wd(i,s,n,C_,O),O.delete(s)),i}function PA(i){return Xl(i)?n:i}function E_(i,s,d,g,$,O){var M=d&E,F=i.length,W=s.length;if(F!=W&&!(M&&W>F))return!1;var ae=O.get(i),le=O.get(s);if(ae&&le)return ae==s&&le==i;var pe=-1,Ee=!0,Oe=d&_?new la:n;for(O.set(i,s),O.set(s,i);++pe<F;){var He=i[pe],ot=s[pe];if(g)var Ve=M?g(ot,He,pe,s,i,O):g(He,ot,pe,i,s,O);if(Ve!==n){if(Ve)continue;Ee=!1;break}if(Oe){if(!cg(s,function(ut,gt){if(!Nl(Oe,gt)&&(He===ut||$(He,ut,d,g,O)))return Oe.push(gt)})){Ee=!1;break}}else if(!(He===ot||$(He,ot,d,g,O))){Ee=!1;break}}return O.delete(i),O.delete(s),Ee}function RA(i,s,d,g,$,O,M){switch(d){case be:if(i.byteLength!=s.byteLength||i.byteOffset!=s.byteOffset)return!1;i=i.buffer,s=s.buffer;case Pe:return!(i.byteLength!=s.byteLength||!O(new fd(i),new fd(s)));case re:case fe:case Me:return po(+i,+s);case ke:return i.name==s.name&&i.message==s.message;case Ge:case vt:return i==s+"";case We:var F=mg;case qe:var W=g&E;if(F||(F=ad),i.size!=s.size&&!W)return!1;var ae=M.get(i);if(ae)return ae==s;g|=_,M.set(i,s);var le=E_(F(i),F(s),g,$,O,M);return M.delete(i),le;case zt:if(zl)return zl.call(i)==zl.call(s)}return!1}function TA(i,s,d,g,$,O){var M=d&E,F=zg(i),W=F.length,ae=zg(s),le=ae.length;if(W!=le&&!M)return!1;for(var pe=W;pe--;){var Ee=F[pe];if(!(M?Ee in s:$t.call(s,Ee)))return!1}var Oe=O.get(i),He=O.get(s);if(Oe&&He)return Oe==s&&He==i;var ot=!0;O.set(i,s),O.set(s,i);for(var Ve=M;++pe<W;){Ee=F[pe];var ut=i[Ee],gt=s[Ee];if(g)var wr=M?g(gt,ut,Ee,s,i,O):g(ut,gt,Ee,i,s,O);if(!(wr===n?ut===gt||$(ut,gt,d,g,O):wr)){ot=!1;break}Ve||(Ve=Ee=="constructor")}if(ot&&!Ve){var Xn=i.constructor,Sr=s.constructor;Xn!=Sr&&"constructor"in i&&"constructor"in s&&!(typeof Xn=="function"&&Xn instanceof Xn&&typeof Sr=="function"&&Sr instanceof Sr)&&(ot=!1)}return O.delete(i),O.delete(s),ot}function Xo(i){return Yg(T_(i,n,B_),i+"")}function zg(i){return Wb(i,En,Vg)}function jg(i){return Wb(i,or,w_)}var Wg=yd?function(i){return yd.get(i)}:lm;function kd(i){for(var s=i.name+"",d=ts[s],g=$t.call(ts,s)?d.length:0;g--;){var $=d[g],O=$.func;if(O==null||O==i)return $.name}return s}function is(i){var s=$t.call(T,"placeholder")?T:i;return s.placeholder}function je(){var i=T.iteratee||am;return i=i===am?Gb:i,arguments.length?i(arguments[0],arguments[1]):i}function Ad(i,s){var d=i.__data__;return DA(s)?d[typeof s=="string"?"string":"hash"]:d.map}function Hg(i){for(var s=En(i),d=s.length;d--;){var g=s[d],$=i[g];s[d]=[g,$,P_($)]}return s}function da(i,s){var d=U3(i,s);return Vb(d)?d:n}function IA(i){var s=$t.call(i,aa),d=i[aa];try{i[aa]=n;var g=!0}catch{}var $=cd.call(i);return g&&(s?i[aa]=d:delete i[aa]),$}var Vg=yg?function(i){return i==null?[]:(i=Bt(i),hi(yg(i),function(s){return Ib.call(i,s)}))}:um,w_=yg?function(i){for(var s=[];i;)gi(s,Vg(i)),i=pd(i);return s}:um,Fn=qn;(xg&&Fn(new xg(new ArrayBuffer(1)))!=be||Bl&&Fn(new Bl)!=We||bg&&Fn(bg.resolve())!=bt||es&&Fn(new es)!=qe||Fl&&Fn(new Fl)!=rt)&&(Fn=function(i){var s=qn(i),d=s==ze?i.constructor:n,g=d?fa(d):"";if(g)switch(g){case fk:return be;case pk:return We;case hk:return bt;case gk:return qe;case mk:return rt}return s});function OA(i,s,d){for(var g=-1,$=d.length;++g<$;){var O=d[g],M=O.size;switch(O.type){case"drop":i+=M;break;case"dropRight":s-=M;break;case"take":s=Bn(s,i+M);break;case"takeRight":i=xn(i,s-M);break}}return{start:i,end:s}}function kA(i){var s=i.match(cn);return s?s[1].split(de):[]}function S_(i,s,d){s=bi(s,i);for(var g=-1,$=s.length,O=!1;++g<$;){var M=Ro(s[g]);if(!(O=i!=null&&d(i,M)))break;i=i[M]}return O||++g!=$?O:($=i==null?0:i.length,!!$&&Ud($)&&Qo(M,$)&&(Ze(i)||pa(i)))}function AA(i){var s=i.length,d=new i.constructor(s);return s&&typeof i[0]=="string"&&$t.call(i,"index")&&(d.index=i.index,d.input=i.input),d}function $_(i){return typeof i.constructor=="function"&&!ql(i)?ns(pd(i)):{}}function LA(i,s,d){var g=i.constructor;switch(s){case Pe:return Bg(i);case re:case fe:return new g(+i);case be:return vA(i,d);case Xe:case Se:case et:case Nt:case Xt:case Cn:case Tn:case Nn:case tn:return l_(i,d);case We:return new g;case Me:case vt:return new g(i);case Ge:return yA(i);case qe:return new g;case zt:return xA(i)}}function MA(i,s){var d=s.length;if(!d)return i;var g=d-1;return s[g]=(d>1?"& ":"")+s[g],s=s.join(d>2?", ":" "),i.replace(Je,`{
/* [wrapped with `+s+`] */
`)}function NA(i){return Ze(i)||pa(i)||!!(Ob&&i&&i[Ob])}function Qo(i,s){var d=typeof i;return s=s==null?te:s,!!s&&(d=="number"||d!="symbol"&&qO.test(i))&&i>-1&&i%1==0&&i<s}function Yn(i,s,d){if(!nn(d))return!1;var g=typeof s;return(g=="number"?rr(d)&&Qo(s,d.length):g=="string"&&s in d)?po(d[s],i):!1}function Gg(i,s){if(Ze(i))return!1;var d=typeof i;return d=="number"||d=="symbol"||d=="boolean"||i==null||Er(i)?!0:an.test(i)||!lt.test(i)||s!=null&&i in Bt(s)}function DA(i){var s=typeof i;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?i!=="__proto__":i===null}function Kg(i){var s=kd(i),d=T[s];if(typeof d!="function"||!(s in dt.prototype))return!1;if(i===d)return!0;var g=Wg(d);return!!g&&i===g[0]}function BA(i){return!!Pb&&Pb in i}var FA=ld?Zo:cm;function ql(i){var s=i&&i.constructor,d=typeof s=="function"&&s.prototype||Ja;return i===d}function P_(i){return i===i&&!nn(i)}function R_(i,s){return function(d){return d==null?!1:d[i]===s&&(s!==n||i in Bt(d))}}function UA(i){var s=Bd(i,function(g){return d.size===f&&d.clear(),g}),d=s.cache;return s}function zA(i,s){var d=i[1],g=s[1],$=d|g,O=$<(y|v|I),M=g==I&&d==S||g==I&&d==L&&i[7].length<=s[8]||g==(I|L)&&s[7].length<=s[8]&&d==S;if(!(O||M))return i;g&y&&(i[2]=s[2],$|=d&y?0:b);var F=s[3];if(F){var W=i[3];i[3]=W?c_(W,F,s[4]):F,i[4]=W?mi(i[3],p):s[4]}return F=s[5],F&&(W=i[5],i[5]=W?d_(W,F,s[6]):F,i[6]=W?mi(i[5],p):s[6]),F=s[7],F&&(i[7]=F),g&I&&(i[8]=i[8]==null?s[8]:Bn(i[8],s[8])),i[9]==null&&(i[9]=s[9]),i[0]=s[0],i[1]=$,i}function jA(i){var s=[];if(i!=null)for(var d in Bt(i))s.push(d);return s}function WA(i){return cd.call(i)}function T_(i,s,d){return s=xn(s===n?i.length-1:s,0),function(){for(var g=arguments,$=-1,O=xn(g.length-s,0),M=Q(O);++$<O;)M[$]=g[s+$];$=-1;for(var F=Q(s+1);++$<s;)F[$]=g[$];return F[s]=d(M),br(i,this,F)}}function I_(i,s){return s.length<2?i:ca(i,jr(s,0,-1))}function HA(i,s){for(var d=i.length,g=Bn(s.length,d),$=nr(i);g--;){var O=s[g];i[g]=Qo(O,d)?$[O]:n}return i}function qg(i,s){if(!(s==="constructor"&&typeof i[s]=="function")&&s!="__proto__")return i[s]}var O_=A_(e_),Yl=ik||function(i,s){return In.setTimeout(i,s)},Yg=A_(pA);function k_(i,s,d){var g=s+"";return Yg(i,MA(g,VA(kA(g),d)))}function A_(i){var s=0,d=0;return function(){var g=uk(),$=X-(g-d);if(d=g,$>0){if(++s>=ee)return arguments[0]}else s=0;return i.apply(n,arguments)}}function Ld(i,s){var d=-1,g=i.length,$=g-1;for(s=s===n?g:s;++d<s;){var O=Og(d,$),M=i[O];i[O]=i[d],i[d]=M}return i.length=s,i}var L_=UA(function(i){var s=[];return i.charCodeAt(0)===46&&s.push(""),i.replace(Dn,function(d,g,$,O){s.push($?O.replace(Qe,"$1"):g||d)}),s});function Ro(i){if(typeof i=="string"||Er(i))return i;var s=i+"";return s=="0"&&1/i==-j?"-0":s}function fa(i){if(i!=null){try{return ud.call(i)}catch{}try{return i+""}catch{}}return""}function VA(i,s){return Br(ue,function(d){var g="_."+d[0];s&d[1]&&!od(i,g)&&i.push(g)}),i.sort()}function M_(i){if(i instanceof dt)return i.clone();var s=new Ur(i.__wrapped__,i.__chain__);return s.__actions__=nr(i.__actions__),s.__index__=i.__index__,s.__values__=i.__values__,s}function GA(i,s,d){(d?Yn(i,s,d):s===n)?s=1:s=xn(tt(s),0);var g=i==null?0:i.length;if(!g||s<1)return[];for(var $=0,O=0,M=Q(md(g/s));$<g;)M[O++]=jr(i,$,$+=s);return M}function KA(i){for(var s=-1,d=i==null?0:i.length,g=0,$=[];++s<d;){var O=i[s];O&&($[g++]=O)}return $}function qA(){var i=arguments.length;if(!i)return[];for(var s=Q(i-1),d=arguments[0],g=i;g--;)s[g-1]=arguments[g];return gi(Ze(d)?nr(d):[d],On(s,1))}var YA=it(function(i,s){return fn(i)?Wl(i,On(s,1,fn,!0)):[]}),XA=it(function(i,s){var d=Wr(s);return fn(d)&&(d=n),fn(i)?Wl(i,On(s,1,fn,!0),je(d,2)):[]}),QA=it(function(i,s){var d=Wr(s);return fn(d)&&(d=n),fn(i)?Wl(i,On(s,1,fn,!0),n,d):[]});function ZA(i,s,d){var g=i==null?0:i.length;return g?(s=d||s===n?1:tt(s),jr(i,s<0?0:s,g)):[]}function JA(i,s,d){var g=i==null?0:i.length;return g?(s=d||s===n?1:tt(s),s=g-s,jr(i,0,s<0?0:s)):[]}function eL(i,s){return i&&i.length?$d(i,je(s,3),!0,!0):[]}function tL(i,s){return i&&i.length?$d(i,je(s,3),!0):[]}function nL(i,s,d,g){var $=i==null?0:i.length;return $?(d&&typeof d!="number"&&Yn(i,s,d)&&(d=0,g=$),qk(i,s,d,g)):[]}function N_(i,s,d){var g=i==null?0:i.length;if(!g)return-1;var $=d==null?0:tt(d);return $<0&&($=xn(g+$,0)),id(i,je(s,3),$)}function D_(i,s,d){var g=i==null?0:i.length;if(!g)return-1;var $=g-1;return d!==n&&($=tt(d),$=d<0?xn(g+$,0):Bn($,g-1)),id(i,je(s,3),$,!0)}function B_(i){var s=i==null?0:i.length;return s?On(i,1):[]}function rL(i){var s=i==null?0:i.length;return s?On(i,j):[]}function oL(i,s){var d=i==null?0:i.length;return d?(s=s===n?1:tt(s),On(i,s)):[]}function iL(i){for(var s=-1,d=i==null?0:i.length,g={};++s<d;){var $=i[s];g[$[0]]=$[1]}return g}function F_(i){return i&&i.length?i[0]:n}function aL(i,s,d){var g=i==null?0:i.length;if(!g)return-1;var $=d==null?0:tt(d);return $<0&&($=xn(g+$,0)),Ya(i,s,$)}function sL(i){var s=i==null?0:i.length;return s?jr(i,0,-1):[]}var lL=it(function(i){var s=Qt(i,Ng);return s.length&&s[0]===i[0]?$g(s):[]}),uL=it(function(i){var s=Wr(i),d=Qt(i,Ng);return s===Wr(d)?s=n:d.pop(),d.length&&d[0]===i[0]?$g(d,je(s,2)):[]}),cL=it(function(i){var s=Wr(i),d=Qt(i,Ng);return s=typeof s=="function"?s:n,s&&d.pop(),d.length&&d[0]===i[0]?$g(d,n,s):[]});function dL(i,s){return i==null?"":sk.call(i,s)}function Wr(i){var s=i==null?0:i.length;return s?i[s-1]:n}function fL(i,s,d){var g=i==null?0:i.length;if(!g)return-1;var $=g;return d!==n&&($=tt(d),$=$<0?xn(g+$,0):Bn($,g-1)),s===s?V3(i,s,$):id(i,xb,$,!0)}function pL(i,s){return i&&i.length?Xb(i,tt(s)):n}var hL=it(U_);function U_(i,s){return i&&i.length&&s&&s.length?Ig(i,s):i}function gL(i,s,d){return i&&i.length&&s&&s.length?Ig(i,s,je(d,2)):i}function mL(i,s,d){return i&&i.length&&s&&s.length?Ig(i,s,n,d):i}var vL=Xo(function(i,s){var d=i==null?0:i.length,g=Cg(i,s);return Jb(i,Qt(s,function($){return Qo($,d)?+$:$}).sort(u_)),g});function yL(i,s){var d=[];if(!(i&&i.length))return d;var g=-1,$=[],O=i.length;for(s=je(s,3);++g<O;){var M=i[g];s(M,g,i)&&(d.push(M),$.push(g))}return Jb(i,$),d}function Xg(i){return i==null?i:dk.call(i)}function xL(i,s,d){var g=i==null?0:i.length;return g?(d&&typeof d!="number"&&Yn(i,s,d)?(s=0,d=g):(s=s==null?0:tt(s),d=d===n?g:tt(d)),jr(i,s,d)):[]}function bL(i,s){return Sd(i,s)}function _L(i,s,d){return Ag(i,s,je(d,2))}function CL(i,s){var d=i==null?0:i.length;if(d){var g=Sd(i,s);if(g<d&&po(i[g],s))return g}return-1}function EL(i,s){return Sd(i,s,!0)}function wL(i,s,d){return Ag(i,s,je(d,2),!0)}function SL(i,s){var d=i==null?0:i.length;if(d){var g=Sd(i,s,!0)-1;if(po(i[g],s))return g}return-1}function $L(i){return i&&i.length?t_(i):[]}function PL(i,s){return i&&i.length?t_(i,je(s,2)):[]}function RL(i){var s=i==null?0:i.length;return s?jr(i,1,s):[]}function TL(i,s,d){return i&&i.length?(s=d||s===n?1:tt(s),jr(i,0,s<0?0:s)):[]}function IL(i,s,d){var g=i==null?0:i.length;return g?(s=d||s===n?1:tt(s),s=g-s,jr(i,s<0?0:s,g)):[]}function OL(i,s){return i&&i.length?$d(i,je(s,3),!1,!0):[]}function kL(i,s){return i&&i.length?$d(i,je(s,3)):[]}var AL=it(function(i){return xi(On(i,1,fn,!0))}),LL=it(function(i){var s=Wr(i);return fn(s)&&(s=n),xi(On(i,1,fn,!0),je(s,2))}),ML=it(function(i){var s=Wr(i);return s=typeof s=="function"?s:n,xi(On(i,1,fn,!0),n,s)});function NL(i){return i&&i.length?xi(i):[]}function DL(i,s){return i&&i.length?xi(i,je(s,2)):[]}function BL(i,s){return s=typeof s=="function"?s:n,i&&i.length?xi(i,n,s):[]}function Qg(i){if(!(i&&i.length))return[];var s=0;return i=hi(i,function(d){if(fn(d))return s=xn(d.length,s),!0}),hg(s,function(d){return Qt(i,dg(d))})}function z_(i,s){if(!(i&&i.length))return[];var d=Qg(i);return s==null?d:Qt(d,function(g){return br(s,n,g)})}var FL=it(function(i,s){return fn(i)?Wl(i,s):[]}),UL=it(function(i){return Mg(hi(i,fn))}),zL=it(function(i){var s=Wr(i);return fn(s)&&(s=n),Mg(hi(i,fn),je(s,2))}),jL=it(function(i){var s=Wr(i);return s=typeof s=="function"?s:n,Mg(hi(i,fn),n,s)}),WL=it(Qg);function HL(i,s){return i_(i||[],s||[],jl)}function VL(i,s){return i_(i||[],s||[],Gl)}var GL=it(function(i){var s=i.length,d=s>1?i[s-1]:n;return d=typeof d=="function"?(i.pop(),d):n,z_(i,d)});function j_(i){var s=T(i);return s.__chain__=!0,s}function KL(i,s){return s(i),i}function Md(i,s){return s(i)}var qL=Xo(function(i){var s=i.length,d=s?i[0]:0,g=this.__wrapped__,$=function(O){return Cg(O,i)};return s>1||this.__actions__.length||!(g instanceof dt)||!Qo(d)?this.thru($):(g=g.slice(d,+d+(s?1:0)),g.__actions__.push({func:Md,args:[$],thisArg:n}),new Ur(g,this.__chain__).thru(function(O){return s&&!O.length&&O.push(n),O}))});function YL(){return j_(this)}function XL(){return new Ur(this.value(),this.__chain__)}function QL(){this.__values__===n&&(this.__values__=nC(this.value()));var i=this.__index__>=this.__values__.length,s=i?n:this.__values__[this.__index__++];return{done:i,value:s}}function ZL(){return this}function JL(i){for(var s,d=this;d instanceof bd;){var g=M_(d);g.__index__=0,g.__values__=n,s?$.__wrapped__=g:s=g;var $=g;d=d.__wrapped__}return $.__wrapped__=i,s}function eM(){var i=this.__wrapped__;if(i instanceof dt){var s=i;return this.__actions__.length&&(s=new dt(this)),s=s.reverse(),s.__actions__.push({func:Md,args:[Xg],thisArg:n}),new Ur(s,this.__chain__)}return this.thru(Xg)}function tM(){return o_(this.__wrapped__,this.__actions__)}var nM=Pd(function(i,s,d){$t.call(i,d)?++i[d]:qo(i,d,1)});function rM(i,s,d){var g=Ze(i)?vb:Kk;return d&&Yn(i,s,d)&&(s=n),g(i,je(s,3))}function oM(i,s){var d=Ze(i)?hi:zb;return d(i,je(s,3))}var iM=g_(N_),aM=g_(D_);function sM(i,s){return On(Nd(i,s),1)}function lM(i,s){return On(Nd(i,s),j)}function uM(i,s,d){return d=d===n?1:tt(d),On(Nd(i,s),d)}function W_(i,s){var d=Ze(i)?Br:yi;return d(i,je(s,3))}function H_(i,s){var d=Ze(i)?R3:Ub;return d(i,je(s,3))}var cM=Pd(function(i,s,d){$t.call(i,d)?i[d].push(s):qo(i,d,[s])});function dM(i,s,d,g){i=rr(i)?i:ss(i),d=d&&!g?tt(d):0;var $=i.length;return d<0&&(d=xn($+d,0)),zd(i)?d<=$&&i.indexOf(s,d)>-1:!!$&&Ya(i,s,d)>-1}var fM=it(function(i,s,d){var g=-1,$=typeof s=="function",O=rr(i)?Q(i.length):[];return yi(i,function(M){O[++g]=$?br(s,M,d):Hl(M,s,d)}),O}),pM=Pd(function(i,s,d){qo(i,d,s)});function Nd(i,s){var d=Ze(i)?Qt:Kb;return d(i,je(s,3))}function hM(i,s,d,g){return i==null?[]:(Ze(s)||(s=s==null?[]:[s]),d=g?n:d,Ze(d)||(d=d==null?[]:[d]),Qb(i,s,d))}var gM=Pd(function(i,s,d){i[d?0:1].push(s)},function(){return[[],[]]});function mM(i,s,d){var g=Ze(i)?ug:_b,$=arguments.length<3;return g(i,je(s,4),d,$,yi)}function vM(i,s,d){var g=Ze(i)?T3:_b,$=arguments.length<3;return g(i,je(s,4),d,$,Ub)}function yM(i,s){var d=Ze(i)?hi:zb;return d(i,Fd(je(s,3)))}function xM(i){var s=Ze(i)?Nb:dA;return s(i)}function bM(i,s,d){(d?Yn(i,s,d):s===n)?s=1:s=tt(s);var g=Ze(i)?jk:fA;return g(i,s)}function _M(i){var s=Ze(i)?Wk:hA;return s(i)}function CM(i){if(i==null)return 0;if(rr(i))return zd(i)?Qa(i):i.length;var s=Fn(i);return s==We||s==qe?i.size:Rg(i).length}function EM(i,s,d){var g=Ze(i)?cg:gA;return d&&Yn(i,s,d)&&(s=n),g(i,je(s,3))}var wM=it(function(i,s){if(i==null)return[];var d=s.length;return d>1&&Yn(i,s[0],s[1])?s=[]:d>2&&Yn(s[0],s[1],s[2])&&(s=[s[0]]),Qb(i,On(s,1),[])}),Dd=ok||function(){return In.Date.now()};function SM(i,s){if(typeof s!="function")throw new Fr(l);return i=tt(i),function(){if(--i<1)return s.apply(this,arguments)}}function V_(i,s,d){return s=d?n:s,s=i&&s==null?i.length:s,Yo(i,I,n,n,n,n,s)}function G_(i,s){var d;if(typeof s!="function")throw new Fr(l);return i=tt(i),function(){return--i>0&&(d=s.apply(this,arguments)),i<=1&&(s=n),d}}var Zg=it(function(i,s,d){var g=y;if(d.length){var $=mi(d,is(Zg));g|=A}return Yo(i,g,s,d,$)}),K_=it(function(i,s,d){var g=y|v;if(d.length){var $=mi(d,is(K_));g|=A}return Yo(s,g,i,d,$)});function q_(i,s,d){s=d?n:s;var g=Yo(i,S,n,n,n,n,n,s);return g.placeholder=q_.placeholder,g}function Y_(i,s,d){s=d?n:s;var g=Yo(i,P,n,n,n,n,n,s);return g.placeholder=Y_.placeholder,g}function X_(i,s,d){var g,$,O,M,F,W,ae=0,le=!1,pe=!1,Ee=!0;if(typeof i!="function")throw new Fr(l);s=Hr(s)||0,nn(d)&&(le=!!d.leading,pe="maxWait"in d,O=pe?xn(Hr(d.maxWait)||0,s):O,Ee="trailing"in d?!!d.trailing:Ee);function Oe(pn){var ho=g,ei=$;return g=$=n,ae=pn,M=i.apply(ei,ho),M}function He(pn){return ae=pn,F=Yl(ut,s),le?Oe(pn):M}function ot(pn){var ho=pn-W,ei=pn-ae,gC=s-ho;return pe?Bn(gC,O-ei):gC}function Ve(pn){var ho=pn-W,ei=pn-ae;return W===n||ho>=s||ho<0||pe&&ei>=O}function ut(){var pn=Dd();if(Ve(pn))return gt(pn);F=Yl(ut,ot(pn))}function gt(pn){return F=n,Ee&&g?Oe(pn):(g=$=n,M)}function wr(){F!==n&&a_(F),ae=0,g=W=$=F=n}function Xn(){return F===n?M:gt(Dd())}function Sr(){var pn=Dd(),ho=Ve(pn);if(g=arguments,$=this,W=pn,ho){if(F===n)return He(W);if(pe)return a_(F),F=Yl(ut,s),Oe(W)}return F===n&&(F=Yl(ut,s)),M}return Sr.cancel=wr,Sr.flush=Xn,Sr}var $M=it(function(i,s){return Fb(i,1,s)}),PM=it(function(i,s,d){return Fb(i,Hr(s)||0,d)});function RM(i){return Yo(i,N)}function Bd(i,s){if(typeof i!="function"||s!=null&&typeof s!="function")throw new Fr(l);var d=function(){var g=arguments,$=s?s.apply(this,g):g[0],O=d.cache;if(O.has($))return O.get($);var M=i.apply(this,g);return d.cache=O.set($,M)||O,M};return d.cache=new(Bd.Cache||Ko),d}Bd.Cache=Ko;function Fd(i){if(typeof i!="function")throw new Fr(l);return function(){var s=arguments;switch(s.length){case 0:return!i.call(this);case 1:return!i.call(this,s[0]);case 2:return!i.call(this,s[0],s[1]);case 3:return!i.call(this,s[0],s[1],s[2])}return!i.apply(this,s)}}function TM(i){return G_(2,i)}var IM=mA(function(i,s){s=s.length==1&&Ze(s[0])?Qt(s[0],_r(je())):Qt(On(s,1),_r(je()));var d=s.length;return it(function(g){for(var $=-1,O=Bn(g.length,d);++$<O;)g[$]=s[$].call(this,g[$]);return br(i,this,g)})}),Jg=it(function(i,s){var d=mi(s,is(Jg));return Yo(i,A,n,s,d)}),Q_=it(function(i,s){var d=mi(s,is(Q_));return Yo(i,k,n,s,d)}),OM=Xo(function(i,s){return Yo(i,L,n,n,n,s)});function kM(i,s){if(typeof i!="function")throw new Fr(l);return s=s===n?s:tt(s),it(i,s)}function AM(i,s){if(typeof i!="function")throw new Fr(l);return s=s==null?0:xn(tt(s),0),it(function(d){var g=d[s],$=_i(d,0,s);return g&&gi($,g),br(i,this,$)})}function LM(i,s,d){var g=!0,$=!0;if(typeof i!="function")throw new Fr(l);return nn(d)&&(g="leading"in d?!!d.leading:g,$="trailing"in d?!!d.trailing:$),X_(i,s,{leading:g,maxWait:s,trailing:$})}function MM(i){return V_(i,1)}function NM(i,s){return Jg(Dg(s),i)}function DM(){if(!arguments.length)return[];var i=arguments[0];return Ze(i)?i:[i]}function BM(i){return zr(i,x)}function FM(i,s){return s=typeof s=="function"?s:n,zr(i,x,s)}function UM(i){return zr(i,m|x)}function zM(i,s){return s=typeof s=="function"?s:n,zr(i,m|x,s)}function jM(i,s){return s==null||Bb(i,s,En(s))}function po(i,s){return i===s||i!==i&&s!==s}var WM=Od(Sg),HM=Od(function(i,s){return i>=s}),pa=Hb(function(){return arguments}())?Hb:function(i){return sn(i)&&$t.call(i,"callee")&&!Ib.call(i,"callee")},Ze=Q.isArray,VM=db?_r(db):Jk;function rr(i){return i!=null&&Ud(i.length)&&!Zo(i)}function fn(i){return sn(i)&&rr(i)}function GM(i){return i===!0||i===!1||sn(i)&&qn(i)==re}var Ci=ak||cm,KM=fb?_r(fb):eA;function qM(i){return sn(i)&&i.nodeType===1&&!Xl(i)}function YM(i){if(i==null)return!0;if(rr(i)&&(Ze(i)||typeof i=="string"||typeof i.splice=="function"||Ci(i)||as(i)||pa(i)))return!i.length;var s=Fn(i);if(s==We||s==qe)return!i.size;if(ql(i))return!Rg(i).length;for(var d in i)if($t.call(i,d))return!1;return!0}function XM(i,s){return Vl(i,s)}function QM(i,s,d){d=typeof d=="function"?d:n;var g=d?d(i,s):n;return g===n?Vl(i,s,n,d):!!g}function em(i){if(!sn(i))return!1;var s=qn(i);return s==ke||s==we||typeof i.message=="string"&&typeof i.name=="string"&&!Xl(i)}function ZM(i){return typeof i=="number"&&kb(i)}function Zo(i){if(!nn(i))return!1;var s=qn(i);return s==Ie||s==Ce||s==Y||s==kt}function Z_(i){return typeof i=="number"&&i==tt(i)}function Ud(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=te}function nn(i){var s=typeof i;return i!=null&&(s=="object"||s=="function")}function sn(i){return i!=null&&typeof i=="object"}var J_=pb?_r(pb):nA;function JM(i,s){return i===s||Pg(i,s,Hg(s))}function e5(i,s,d){return d=typeof d=="function"?d:n,Pg(i,s,Hg(s),d)}function t5(i){return eC(i)&&i!=+i}function n5(i){if(FA(i))throw new Ye(a);return Vb(i)}function r5(i){return i===null}function o5(i){return i==null}function eC(i){return typeof i=="number"||sn(i)&&qn(i)==Me}function Xl(i){if(!sn(i)||qn(i)!=ze)return!1;var s=pd(i);if(s===null)return!0;var d=$t.call(s,"constructor")&&s.constructor;return typeof d=="function"&&d instanceof d&&ud.call(d)==ek}var tm=hb?_r(hb):rA;function i5(i){return Z_(i)&&i>=-te&&i<=te}var tC=gb?_r(gb):oA;function zd(i){return typeof i=="string"||!Ze(i)&&sn(i)&&qn(i)==vt}function Er(i){return typeof i=="symbol"||sn(i)&&qn(i)==zt}var as=mb?_r(mb):iA;function a5(i){return i===n}function s5(i){return sn(i)&&Fn(i)==rt}function l5(i){return sn(i)&&qn(i)==pt}var u5=Od(Tg),c5=Od(function(i,s){return i<=s});function nC(i){if(!i)return[];if(rr(i))return zd(i)?co(i):nr(i);if(Dl&&i[Dl])return j3(i[Dl]());var s=Fn(i),d=s==We?mg:s==qe?ad:ss;return d(i)}function Jo(i){if(!i)return i===0?i:0;if(i=Hr(i),i===j||i===-j){var s=i<0?-1:1;return s*ne}return i===i?i:0}function tt(i){var s=Jo(i),d=s%1;return s===s?d?s-d:s:0}function rC(i){return i?ua(tt(i),0,H):0}function Hr(i){if(typeof i=="number")return i;if(Er(i))return me;if(nn(i)){var s=typeof i.valueOf=="function"?i.valueOf():i;i=nn(s)?s+"":s}if(typeof i!="string")return i===0?i:+i;i=Cb(i);var d=Nr.test(i);return d||KO.test(i)?S3(i.slice(2),d?2:8):dn.test(i)?me:+i}function oC(i){return Po(i,or(i))}function d5(i){return i?ua(tt(i),-te,te):i===0?i:0}function wt(i){return i==null?"":Cr(i)}var f5=rs(function(i,s){if(ql(s)||rr(s)){Po(s,En(s),i);return}for(var d in s)$t.call(s,d)&&jl(i,d,s[d])}),iC=rs(function(i,s){Po(s,or(s),i)}),jd=rs(function(i,s,d,g){Po(s,or(s),i,g)}),p5=rs(function(i,s,d,g){Po(s,En(s),i,g)}),h5=Xo(Cg);function g5(i,s){var d=ns(i);return s==null?d:Db(d,s)}var m5=it(function(i,s){i=Bt(i);var d=-1,g=s.length,$=g>2?s[2]:n;for($&&Yn(s[0],s[1],$)&&(g=1);++d<g;)for(var O=s[d],M=or(O),F=-1,W=M.length;++F<W;){var ae=M[F],le=i[ae];(le===n||po(le,Ja[ae])&&!$t.call(i,ae))&&(i[ae]=O[ae])}return i}),v5=it(function(i){return i.push(n,C_),br(aC,n,i)});function y5(i,s){return yb(i,je(s,3),$o)}function x5(i,s){return yb(i,je(s,3),wg)}function b5(i,s){return i==null?i:Eg(i,je(s,3),or)}function _5(i,s){return i==null?i:jb(i,je(s,3),or)}function C5(i,s){return i&&$o(i,je(s,3))}function E5(i,s){return i&&wg(i,je(s,3))}function w5(i){return i==null?[]:Ed(i,En(i))}function S5(i){return i==null?[]:Ed(i,or(i))}function nm(i,s,d){var g=i==null?n:ca(i,s);return g===n?d:g}function $5(i,s){return i!=null&&S_(i,s,Yk)}function rm(i,s){return i!=null&&S_(i,s,Xk)}var P5=v_(function(i,s,d){s!=null&&typeof s.toString!="function"&&(s=cd.call(s)),i[s]=d},im(ir)),R5=v_(function(i,s,d){s!=null&&typeof s.toString!="function"&&(s=cd.call(s)),$t.call(i,s)?i[s].push(d):i[s]=[d]},je),T5=it(Hl);function En(i){return rr(i)?Mb(i):Rg(i)}function or(i){return rr(i)?Mb(i,!0):aA(i)}function I5(i,s){var d={};return s=je(s,3),$o(i,function(g,$,O){qo(d,s(g,$,O),g)}),d}function O5(i,s){var d={};return s=je(s,3),$o(i,function(g,$,O){qo(d,$,s(g,$,O))}),d}var k5=rs(function(i,s,d){wd(i,s,d)}),aC=rs(function(i,s,d,g){wd(i,s,d,g)}),A5=Xo(function(i,s){var d={};if(i==null)return d;var g=!1;s=Qt(s,function(O){return O=bi(O,i),g||(g=O.length>1),O}),Po(i,jg(i),d),g&&(d=zr(d,m|h|x,PA));for(var $=s.length;$--;)Lg(d,s[$]);return d});function L5(i,s){return sC(i,Fd(je(s)))}var M5=Xo(function(i,s){return i==null?{}:lA(i,s)});function sC(i,s){if(i==null)return{};var d=Qt(jg(i),function(g){return[g]});return s=je(s),Zb(i,d,function(g,$){return s(g,$[0])})}function N5(i,s,d){s=bi(s,i);var g=-1,$=s.length;for($||($=1,i=n);++g<$;){var O=i==null?n:i[Ro(s[g])];O===n&&(g=$,O=d),i=Zo(O)?O.call(i):O}return i}function D5(i,s,d){return i==null?i:Gl(i,s,d)}function B5(i,s,d,g){return g=typeof g=="function"?g:n,i==null?i:Gl(i,s,d,g)}var lC=b_(En),uC=b_(or);function F5(i,s,d){var g=Ze(i),$=g||Ci(i)||as(i);if(s=je(s,4),d==null){var O=i&&i.constructor;$?d=g?new O:[]:nn(i)?d=Zo(O)?ns(pd(i)):{}:d={}}return($?Br:$o)(i,function(M,F,W){return s(d,M,F,W)}),d}function U5(i,s){return i==null?!0:Lg(i,s)}function z5(i,s,d){return i==null?i:r_(i,s,Dg(d))}function j5(i,s,d,g){return g=typeof g=="function"?g:n,i==null?i:r_(i,s,Dg(d),g)}function ss(i){return i==null?[]:gg(i,En(i))}function W5(i){return i==null?[]:gg(i,or(i))}function H5(i,s,d){return d===n&&(d=s,s=n),d!==n&&(d=Hr(d),d=d===d?d:0),s!==n&&(s=Hr(s),s=s===s?s:0),ua(Hr(i),s,d)}function V5(i,s,d){return s=Jo(s),d===n?(d=s,s=0):d=Jo(d),i=Hr(i),Qk(i,s,d)}function G5(i,s,d){if(d&&typeof d!="boolean"&&Yn(i,s,d)&&(s=d=n),d===n&&(typeof s=="boolean"?(d=s,s=n):typeof i=="boolean"&&(d=i,i=n)),i===n&&s===n?(i=0,s=1):(i=Jo(i),s===n?(s=i,i=0):s=Jo(s)),i>s){var g=i;i=s,s=g}if(d||i%1||s%1){var $=Ab();return Bn(i+$*(s-i+w3("1e-"+(($+"").length-1))),s)}return Og(i,s)}var K5=os(function(i,s,d){return s=s.toLowerCase(),i+(d?cC(s):s)});function cC(i){return om(wt(i).toLowerCase())}function dC(i){return i=wt(i),i&&i.replace(YO,D3).replace(h3,"")}function q5(i,s,d){i=wt(i),s=Cr(s);var g=i.length;d=d===n?g:ua(tt(d),0,g);var $=d;return d-=s.length,d>=0&&i.slice(d,$)==s}function Y5(i){return i=wt(i),i&&Vo.test(i)?i.replace(ht,B3):i}function X5(i){return i=wt(i),i&&Ll.test(i)?i.replace(tr,"\\$&"):i}var Q5=os(function(i,s,d){return i+(d?"-":"")+s.toLowerCase()}),Z5=os(function(i,s,d){return i+(d?" ":"")+s.toLowerCase()}),J5=h_("toLowerCase");function eN(i,s,d){i=wt(i),s=tt(s);var g=s?Qa(i):0;if(!s||g>=s)return i;var $=(s-g)/2;return Id(vd($),d)+i+Id(md($),d)}function tN(i,s,d){i=wt(i),s=tt(s);var g=s?Qa(i):0;return s&&g<s?i+Id(s-g,d):i}function nN(i,s,d){i=wt(i),s=tt(s);var g=s?Qa(i):0;return s&&g<s?Id(s-g,d)+i:i}function rN(i,s,d){return d||s==null?s=0:s&&(s=+s),ck(wt(i).replace(oa,""),s||0)}function oN(i,s,d){return(d?Yn(i,s,d):s===n)?s=1:s=tt(s),kg(wt(i),s)}function iN(){var i=arguments,s=wt(i[0]);return i.length<3?s:s.replace(i[1],i[2])}var aN=os(function(i,s,d){return i+(d?"_":"")+s.toLowerCase()});function sN(i,s,d){return d&&typeof d!="number"&&Yn(i,s,d)&&(s=d=n),d=d===n?H:d>>>0,d?(i=wt(i),i&&(typeof s=="string"||s!=null&&!tm(s))&&(s=Cr(s),!s&&Xa(i))?_i(co(i),0,d):i.split(s,d)):[]}var lN=os(function(i,s,d){return i+(d?" ":"")+om(s)});function uN(i,s,d){return i=wt(i),d=d==null?0:ua(tt(d),0,i.length),s=Cr(s),i.slice(d,d+s.length)==s}function cN(i,s,d){var g=T.templateSettings;d&&Yn(i,s,d)&&(s=n),i=wt(i),s=jd({},s,g,__);var $=jd({},s.imports,g.imports,__),O=En($),M=gg($,O),F,W,ae=0,le=s.interpolate||td,pe="__p += '",Ee=vg((s.escape||td).source+"|"+le.source+"|"+(le===xr?Dt:td).source+"|"+(s.evaluate||td).source+"|$","g"),Oe="//# sourceURL="+($t.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++x3+"]")+`
`;i.replace(Ee,function(Ve,ut,gt,wr,Xn,Sr){return gt||(gt=wr),pe+=i.slice(ae,Sr).replace(XO,F3),ut&&(F=!0,pe+=`' +
__e(`+ut+`) +
'`),Xn&&(W=!0,pe+=`';
`+Xn+`;
__p += '`),gt&&(pe+=`' +
((__t = (`+gt+`)) == null ? '' : __t) +
'`),ae=Sr+Ve.length,Ve}),pe+=`';
`;var He=$t.call(s,"variable")&&s.variable;if(!He)pe=`with (obj) {
`+pe+`
}
`;else if(Fe.test(He))throw new Ye(u);pe=(W?pe.replace(xe,""):pe).replace(Ae,"$1").replace(Le,"$1;"),pe="function("+(He||"obj")+`) {
`+(He?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(F?", __e = _.escape":"")+(W?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+pe+`return __p
}`;var ot=pC(function(){return Ct(O,Oe+"return "+pe).apply(n,M)});if(ot.source=pe,em(ot))throw ot;return ot}function dN(i){return wt(i).toLowerCase()}function fN(i){return wt(i).toUpperCase()}function pN(i,s,d){if(i=wt(i),i&&(d||s===n))return Cb(i);if(!i||!(s=Cr(s)))return i;var g=co(i),$=co(s),O=Eb(g,$),M=wb(g,$)+1;return _i(g,O,M).join("")}function hN(i,s,d){if(i=wt(i),i&&(d||s===n))return i.slice(0,$b(i)+1);if(!i||!(s=Cr(s)))return i;var g=co(i),$=wb(g,co(s))+1;return _i(g,0,$).join("")}function gN(i,s,d){if(i=wt(i),i&&(d||s===n))return i.replace(oa,"");if(!i||!(s=Cr(s)))return i;var g=co(i),$=Eb(g,co(s));return _i(g,$).join("")}function mN(i,s){var d=B,g=V;if(nn(s)){var $="separator"in s?s.separator:$;d="length"in s?tt(s.length):d,g="omission"in s?Cr(s.omission):g}i=wt(i);var O=i.length;if(Xa(i)){var M=co(i);O=M.length}if(d>=O)return i;var F=d-Qa(g);if(F<1)return g;var W=M?_i(M,0,F).join(""):i.slice(0,F);if($===n)return W+g;if(M&&(F+=W.length-F),tm($)){if(i.slice(F).search($)){var ae,le=W;for($.global||($=vg($.source,wt(gn.exec($))+"g")),$.lastIndex=0;ae=$.exec(le);)var pe=ae.index;W=W.slice(0,pe===n?F:pe)}}else if(i.indexOf(Cr($),F)!=F){var Ee=W.lastIndexOf($);Ee>-1&&(W=W.slice(0,Ee))}return W+g}function vN(i){return i=wt(i),i&&Mr.test(i)?i.replace(at,G3):i}var yN=os(function(i,s,d){return i+(d?" ":"")+s.toUpperCase()}),om=h_("toUpperCase");function fC(i,s,d){return i=wt(i),s=d?n:s,s===n?z3(i)?Y3(i):k3(i):i.match(s)||[]}var pC=it(function(i,s){try{return br(i,n,s)}catch(d){return em(d)?d:new Ye(d)}}),xN=Xo(function(i,s){return Br(s,function(d){d=Ro(d),qo(i,d,Zg(i[d],i))}),i});function bN(i){var s=i==null?0:i.length,d=je();return i=s?Qt(i,function(g){if(typeof g[1]!="function")throw new Fr(l);return[d(g[0]),g[1]]}):[],it(function(g){for(var $=-1;++$<s;){var O=i[$];if(br(O[0],this,g))return br(O[1],this,g)}})}function _N(i){return Gk(zr(i,m))}function im(i){return function(){return i}}function CN(i,s){return i==null||i!==i?s:i}var EN=m_(),wN=m_(!0);function ir(i){return i}function am(i){return Gb(typeof i=="function"?i:zr(i,m))}function SN(i){return qb(zr(i,m))}function $N(i,s){return Yb(i,zr(s,m))}var PN=it(function(i,s){return function(d){return Hl(d,i,s)}}),RN=it(function(i,s){return function(d){return Hl(i,d,s)}});function sm(i,s,d){var g=En(s),$=Ed(s,g);d==null&&!(nn(s)&&($.length||!g.length))&&(d=s,s=i,i=this,$=Ed(s,En(s)));var O=!(nn(d)&&"chain"in d)||!!d.chain,M=Zo(i);return Br($,function(F){var W=s[F];i[F]=W,M&&(i.prototype[F]=function(){var ae=this.__chain__;if(O||ae){var le=i(this.__wrapped__),pe=le.__actions__=nr(this.__actions__);return pe.push({func:W,args:arguments,thisArg:i}),le.__chain__=ae,le}return W.apply(i,gi([this.value()],arguments))})}),i}function TN(){return In._===this&&(In._=tk),this}function lm(){}function IN(i){return i=tt(i),it(function(s){return Xb(s,i)})}var ON=Fg(Qt),kN=Fg(vb),AN=Fg(cg);function hC(i){return Gg(i)?dg(Ro(i)):uA(i)}function LN(i){return function(s){return i==null?n:ca(i,s)}}var MN=y_(),NN=y_(!0);function um(){return[]}function cm(){return!1}function DN(){return{}}function BN(){return""}function FN(){return!0}function UN(i,s){if(i=tt(i),i<1||i>te)return[];var d=H,g=Bn(i,H);s=je(s),i-=H;for(var $=hg(g,s);++d<i;)s(d);return $}function zN(i){return Ze(i)?Qt(i,Ro):Er(i)?[i]:nr(L_(wt(i)))}function jN(i){var s=++J3;return wt(i)+s}var WN=Td(function(i,s){return i+s},0),HN=Ug("ceil"),VN=Td(function(i,s){return i/s},1),GN=Ug("floor");function KN(i){return i&&i.length?Cd(i,ir,Sg):n}function qN(i,s){return i&&i.length?Cd(i,je(s,2),Sg):n}function YN(i){return bb(i,ir)}function XN(i,s){return bb(i,je(s,2))}function QN(i){return i&&i.length?Cd(i,ir,Tg):n}function ZN(i,s){return i&&i.length?Cd(i,je(s,2),Tg):n}var JN=Td(function(i,s){return i*s},1),eD=Ug("round"),tD=Td(function(i,s){return i-s},0);function nD(i){return i&&i.length?pg(i,ir):0}function rD(i,s){return i&&i.length?pg(i,je(s,2)):0}return T.after=SM,T.ary=V_,T.assign=f5,T.assignIn=iC,T.assignInWith=jd,T.assignWith=p5,T.at=h5,T.before=G_,T.bind=Zg,T.bindAll=xN,T.bindKey=K_,T.castArray=DM,T.chain=j_,T.chunk=GA,T.compact=KA,T.concat=qA,T.cond=bN,T.conforms=_N,T.constant=im,T.countBy=nM,T.create=g5,T.curry=q_,T.curryRight=Y_,T.debounce=X_,T.defaults=m5,T.defaultsDeep=v5,T.defer=$M,T.delay=PM,T.difference=YA,T.differenceBy=XA,T.differenceWith=QA,T.drop=ZA,T.dropRight=JA,T.dropRightWhile=eL,T.dropWhile=tL,T.fill=nL,T.filter=oM,T.flatMap=sM,T.flatMapDeep=lM,T.flatMapDepth=uM,T.flatten=B_,T.flattenDeep=rL,T.flattenDepth=oL,T.flip=RM,T.flow=EN,T.flowRight=wN,T.fromPairs=iL,T.functions=w5,T.functionsIn=S5,T.groupBy=cM,T.initial=sL,T.intersection=lL,T.intersectionBy=uL,T.intersectionWith=cL,T.invert=P5,T.invertBy=R5,T.invokeMap=fM,T.iteratee=am,T.keyBy=pM,T.keys=En,T.keysIn=or,T.map=Nd,T.mapKeys=I5,T.mapValues=O5,T.matches=SN,T.matchesProperty=$N,T.memoize=Bd,T.merge=k5,T.mergeWith=aC,T.method=PN,T.methodOf=RN,T.mixin=sm,T.negate=Fd,T.nthArg=IN,T.omit=A5,T.omitBy=L5,T.once=TM,T.orderBy=hM,T.over=ON,T.overArgs=IM,T.overEvery=kN,T.overSome=AN,T.partial=Jg,T.partialRight=Q_,T.partition=gM,T.pick=M5,T.pickBy=sC,T.property=hC,T.propertyOf=LN,T.pull=hL,T.pullAll=U_,T.pullAllBy=gL,T.pullAllWith=mL,T.pullAt=vL,T.range=MN,T.rangeRight=NN,T.rearg=OM,T.reject=yM,T.remove=yL,T.rest=kM,T.reverse=Xg,T.sampleSize=bM,T.set=D5,T.setWith=B5,T.shuffle=_M,T.slice=xL,T.sortBy=wM,T.sortedUniq=$L,T.sortedUniqBy=PL,T.split=sN,T.spread=AM,T.tail=RL,T.take=TL,T.takeRight=IL,T.takeRightWhile=OL,T.takeWhile=kL,T.tap=KL,T.throttle=LM,T.thru=Md,T.toArray=nC,T.toPairs=lC,T.toPairsIn=uC,T.toPath=zN,T.toPlainObject=oC,T.transform=F5,T.unary=MM,T.union=AL,T.unionBy=LL,T.unionWith=ML,T.uniq=NL,T.uniqBy=DL,T.uniqWith=BL,T.unset=U5,T.unzip=Qg,T.unzipWith=z_,T.update=z5,T.updateWith=j5,T.values=ss,T.valuesIn=W5,T.without=FL,T.words=fC,T.wrap=NM,T.xor=UL,T.xorBy=zL,T.xorWith=jL,T.zip=WL,T.zipObject=HL,T.zipObjectDeep=VL,T.zipWith=GL,T.entries=lC,T.entriesIn=uC,T.extend=iC,T.extendWith=jd,sm(T,T),T.add=WN,T.attempt=pC,T.camelCase=K5,T.capitalize=cC,T.ceil=HN,T.clamp=H5,T.clone=BM,T.cloneDeep=UM,T.cloneDeepWith=zM,T.cloneWith=FM,T.conformsTo=jM,T.deburr=dC,T.defaultTo=CN,T.divide=VN,T.endsWith=q5,T.eq=po,T.escape=Y5,T.escapeRegExp=X5,T.every=rM,T.find=iM,T.findIndex=N_,T.findKey=y5,T.findLast=aM,T.findLastIndex=D_,T.findLastKey=x5,T.floor=GN,T.forEach=W_,T.forEachRight=H_,T.forIn=b5,T.forInRight=_5,T.forOwn=C5,T.forOwnRight=E5,T.get=nm,T.gt=WM,T.gte=HM,T.has=$5,T.hasIn=rm,T.head=F_,T.identity=ir,T.includes=dM,T.indexOf=aL,T.inRange=V5,T.invoke=T5,T.isArguments=pa,T.isArray=Ze,T.isArrayBuffer=VM,T.isArrayLike=rr,T.isArrayLikeObject=fn,T.isBoolean=GM,T.isBuffer=Ci,T.isDate=KM,T.isElement=qM,T.isEmpty=YM,T.isEqual=XM,T.isEqualWith=QM,T.isError=em,T.isFinite=ZM,T.isFunction=Zo,T.isInteger=Z_,T.isLength=Ud,T.isMap=J_,T.isMatch=JM,T.isMatchWith=e5,T.isNaN=t5,T.isNative=n5,T.isNil=o5,T.isNull=r5,T.isNumber=eC,T.isObject=nn,T.isObjectLike=sn,T.isPlainObject=Xl,T.isRegExp=tm,T.isSafeInteger=i5,T.isSet=tC,T.isString=zd,T.isSymbol=Er,T.isTypedArray=as,T.isUndefined=a5,T.isWeakMap=s5,T.isWeakSet=l5,T.join=dL,T.kebabCase=Q5,T.last=Wr,T.lastIndexOf=fL,T.lowerCase=Z5,T.lowerFirst=J5,T.lt=u5,T.lte=c5,T.max=KN,T.maxBy=qN,T.mean=YN,T.meanBy=XN,T.min=QN,T.minBy=ZN,T.stubArray=um,T.stubFalse=cm,T.stubObject=DN,T.stubString=BN,T.stubTrue=FN,T.multiply=JN,T.nth=pL,T.noConflict=TN,T.noop=lm,T.now=Dd,T.pad=eN,T.padEnd=tN,T.padStart=nN,T.parseInt=rN,T.random=G5,T.reduce=mM,T.reduceRight=vM,T.repeat=oN,T.replace=iN,T.result=N5,T.round=eD,T.runInContext=z,T.sample=xM,T.size=CM,T.snakeCase=aN,T.some=EM,T.sortedIndex=bL,T.sortedIndexBy=_L,T.sortedIndexOf=CL,T.sortedLastIndex=EL,T.sortedLastIndexBy=wL,T.sortedLastIndexOf=SL,T.startCase=lN,T.startsWith=uN,T.subtract=tD,T.sum=nD,T.sumBy=rD,T.template=cN,T.times=UN,T.toFinite=Jo,T.toInteger=tt,T.toLength=rC,T.toLower=dN,T.toNumber=Hr,T.toSafeInteger=d5,T.toString=wt,T.toUpper=fN,T.trim=pN,T.trimEnd=hN,T.trimStart=gN,T.truncate=mN,T.unescape=vN,T.uniqueId=jN,T.upperCase=yN,T.upperFirst=om,T.each=W_,T.eachRight=H_,T.first=F_,sm(T,function(){var i={};return $o(T,function(s,d){$t.call(T.prototype,d)||(i[d]=s)}),i}(),{chain:!1}),T.VERSION=r,Br(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){T[i].placeholder=T}),Br(["drop","take"],function(i,s){dt.prototype[i]=function(d){d=d===n?1:xn(tt(d),0);var g=this.__filtered__&&!s?new dt(this):this.clone();return g.__filtered__?g.__takeCount__=Bn(d,g.__takeCount__):g.__views__.push({size:Bn(d,H),type:i+(g.__dir__<0?"Right":"")}),g},dt.prototype[i+"Right"]=function(d){return this.reverse()[i](d).reverse()}}),Br(["filter","map","takeWhile"],function(i,s){var d=s+1,g=d==ie||d==G;dt.prototype[i]=function($){var O=this.clone();return O.__iteratees__.push({iteratee:je($,3),type:d}),O.__filtered__=O.__filtered__||g,O}}),Br(["head","last"],function(i,s){var d="take"+(s?"Right":"");dt.prototype[i]=function(){return this[d](1).value()[0]}}),Br(["initial","tail"],function(i,s){var d="drop"+(s?"":"Right");dt.prototype[i]=function(){return this.__filtered__?new dt(this):this[d](1)}}),dt.prototype.compact=function(){return this.filter(ir)},dt.prototype.find=function(i){return this.filter(i).head()},dt.prototype.findLast=function(i){return this.reverse().find(i)},dt.prototype.invokeMap=it(function(i,s){return typeof i=="function"?new dt(this):this.map(function(d){return Hl(d,i,s)})}),dt.prototype.reject=function(i){return this.filter(Fd(je(i)))},dt.prototype.slice=function(i,s){i=tt(i);var d=this;return d.__filtered__&&(i>0||s<0)?new dt(d):(i<0?d=d.takeRight(-i):i&&(d=d.drop(i)),s!==n&&(s=tt(s),d=s<0?d.dropRight(-s):d.take(s-i)),d)},dt.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},dt.prototype.toArray=function(){return this.take(H)},$o(dt.prototype,function(i,s){var d=/^(?:filter|find|map|reject)|While$/.test(s),g=/^(?:head|last)$/.test(s),$=T[g?"take"+(s=="last"?"Right":""):s],O=g||/^find/.test(s);!$||(T.prototype[s]=function(){var M=this.__wrapped__,F=g?[1]:arguments,W=M instanceof dt,ae=F[0],le=W||Ze(M),pe=function(ut){var gt=$.apply(T,gi([ut],F));return g&&Ee?gt[0]:gt};le&&d&&typeof ae=="function"&&ae.length!=1&&(W=le=!1);var Ee=this.__chain__,Oe=!!this.__actions__.length,He=O&&!Ee,ot=W&&!Oe;if(!O&&le){M=ot?M:new dt(this);var Ve=i.apply(M,F);return Ve.__actions__.push({func:Md,args:[pe],thisArg:n}),new Ur(Ve,Ee)}return He&&ot?i.apply(this,F):(Ve=this.thru(pe),He?g?Ve.value()[0]:Ve.value():Ve)})}),Br(["pop","push","shift","sort","splice","unshift"],function(i){var s=sd[i],d=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",g=/^(?:pop|shift)$/.test(i);T.prototype[i]=function(){var $=arguments;if(g&&!this.__chain__){var O=this.value();return s.apply(Ze(O)?O:[],$)}return this[d](function(M){return s.apply(Ze(M)?M:[],$)})}}),$o(dt.prototype,function(i,s){var d=T[s];if(d){var g=d.name+"";$t.call(ts,g)||(ts[g]=[]),ts[g].push({name:s,func:d})}}),ts[Rd(n,v).name]=[{name:"wrapper",func:n}],dt.prototype.clone=vk,dt.prototype.reverse=yk,dt.prototype.value=xk,T.prototype.at=qL,T.prototype.chain=YL,T.prototype.commit=XL,T.prototype.next=QL,T.prototype.plant=JL,T.prototype.reverse=eM,T.prototype.toJSON=T.prototype.valueOf=T.prototype.value=tM,T.prototype.first=T.prototype.head,Dl&&(T.prototype[Dl]=ZL),T},Za=X3();ia?((ia.exports=Za)._=Za,ag._=Za):In._=Za}).call(ri)})(P0,P0.exports);function fce(e,t){const n=[],r=e.toLowerCase(),o=t.toLowerCase(),a=o.length;let l=0,u=r.indexOf(o);if(!t)return[{match:!1,substr:e}];for(;u!==-1;){const c=e.slice(l,u);c.length&&n.push({match:!1,substr:c}),n.push({match:!0,substr:e.slice(u,u+a)}),l=u+a,u=r.indexOf(o,l)}return n.push({match:!1,substr:e.slice(l)}),n}function DI(e,t){return fce(e,t).some(n=>n.match)}function u$(e){sys._subUnits._Box[e._sun]&&(sys._subUnits._Box[e._sun]._configured=!0)}function pce(e){const t=parseInt(String(e.value)),n=parseInt(String(e.min)),r=parseInt(String(e.max));return t>r?r:t<n||isNaN(t)?n:t}function BI(e,t,n){return t!==void 0&&n!==void 0?e>=t&&e<=n:t!==void 0&&n===void 0?e>=t:t===void 0&&n!==void 0?e<=n:!0}function ku(e,t,n,r,o){if((e==null?void 0:e._sut)===t&&(e==null?void 0:e._up._sun)===(n==null?void 0:n._sun)&&(e[r]=o),e!=null&&e._subUnits){for(const a in e==null?void 0:e._subUnits)if(a[1]!=="_")for(const l in e==null?void 0:e._subUnits[a])l[0]!="_"&&ku(e==null?void 0:e._subUnits[a][l],t,n,r,o)}}function c$(e){const t={};for(const n in e)t[n]=!1;return t}function d$(e){const t={};for(const n in e)t[n]=!0;return t}function hce(e,t,n){return e.map(({config:r},o)=>[o,r==null?void 0:r[n]]).filter(([r,o])=>o&&DI(o,t)).map(([r,o])=>r)}function Hh(e,t,n){var S;const r=((S=e._up)==null?void 0:S._typeName)===Nh,o=tx(e._up)&&pue.includes(e._typeName),l=qr(e,t,r||o),u=Ia(e,"unitID"),c=u&&n&&n[u],f=c?qr(c,t):void 0;if(!f)return l;const p=c&&(Zn(c,bp)||Zy(c,Uh)),m=c&&Zn(c,Dh),h=p?qr(p,t):void 0,x=m?qr(m,t):void 0,E=c&&zh(c,al),_=E?qr(E,t):void 0,y=_!==f?f:void 0,v=Ia(e,"areaNum")?`#${Ia(e,"areaNum")} \u041E\u0431\u043B\u0430\u0441\u0442\u044C`:"[\u2014] \u041E\u0431\u043B\u0430\u0441\u0442\u044C",b=h!==x?x:void 0;return P0.exports.compact([l,v,b,h,_,y]).join(", ")}function gce(e){return e===1}function mce(e){return e===oue}function vce(e){for(let t in e)if((t.includes("Box_Module_1_OutputLink")||t.includes("Box_Module_1_InputLink"))&&e[t]===!0)return!0;return!1}const yce=e=>/ппк-р/i.test(e!=null?e:"");function xce(e){return e?Object.fromEntries(Object.entries(e).filter(([t,n])=>n)):{}}function f$(e,t,n,r=!1){return Object.entries(e!=null?e:{}).reduce((o,[a,l])=>{const u=r?Object.values(t.config).find(f=>f[`Title${n}`]===a):t.config[a],c=u?r?u.TitleEN:u[`Title${n}`]:a;return o[c]=l,o},{})}function bce(e){return`Title${e||"EN"}`}function mu(e,t,n){var r;return(r=e.unitTypes[t])==null?void 0:r.__[bce(n)]}function _ce(e,t,n){return!e||!t||!n?!1:n!==Qu&&n!==Tl&&n!==Il}function er(){return Ar(QZ)}function rx(e,t){const n=C.exports.useRef();C.exports.useEffect(()=>{n.current=e}),C.exports.useEffect(()=>{if(t===null)return;function r(){n.current()}const o=setInterval(r,t);return()=>clearInterval(o)},[t])}function hr(e,t={}){var o;const[n,r]=C.exports.useState((o=JSON.parse(localStorage.getItem(e)||"{}"))!=null?o:t);return C.exports.useEffect(()=>{localStorage.setItem(e,JSON.stringify(n))},[n,e]),[n,r]}function FI(){const{expandingSelectedUnit:e}=uo(),t=Ol(),[n,r]=hr(Yc,{});return()=>{e(c$(t)),r(c$(n))}}function Cce(){const[e,t]=C.exports.useState(void 0);return[o=>e===o,o=>{t(o)}]}const p$="MANUAL_ALL",h$="EMULATE_FIRMWARE_UPLOAD",g$="OFF_EMULATION",m$="EXPAND_ALL_TABS",v$="CLEAR_TERMINAL",y$="PWND_AUTH",x$="OFF_PWND_AUTH",UI=5,b$="OPEN_ALL_SELECTS",_$="CLOSE_ALL_SELECTS",rv={addingPanel:{display:"flex"},developerBoardIcon:{mt:1,mr:2},personIcon:{mt:1}};function Ece(e){var u;const{moduleName:t,parentUnit:n}=e,{setCurrentSys:r}=Vt(),o=()=>{addUnitToSut(n,t),r(vn(sys))},a=FI(),l=()=>{addUnitToSut(n,"User"),r(vn(sys)),a()};return w.createElement(ti,{sx:rv.addingPanel},w.createElement(xo,{title:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u041F\u041F\u041A-\u0420",placement:"top"},w.createElement(rn,{id:"ppk_add_button","aria-controls":"unit-add",onClick:o},w.createElement(up,null))),w.createElement(aT,{sx:rv.developerBoardIcon}),((u=loggedInUser==null?void 0:loggedInUser.config)==null?void 0:u.level)===UI&&w.createElement(w.Fragment,null,w.createElement(xo,{title:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F",placement:"top"},w.createElement(rn,{id:"user_add_button","aria-controls":"user-add",onClick:l},w.createElement(up,null))),w.createElement(Ih,{sx:rv.personIcon})))}var ox={},wce=It.exports;Object.defineProperty(ox,"__esModule",{value:!0});var ix=ox.default=void 0,Sce=wce(Ot),$ce=D.exports,Pce=(0,Sce.default)((0,$ce.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");ix=ox.default=Pce;const ov={expandIcon:{ml:"auto",transition:e=>e.transitions.create("transform",{duration:e.transitions.duration.shortest})},iconNotRotated:{transform:"rotate(0deg)"},iconRotated:{transform:"rotate(180deg)"}};function _p(e){const{expand:t,...n}=e;return w.createElement(ix,{...n,sx:[ov.expandIcon,t?ov.iconRotated:ov.iconNotRotated]})}var Rce=So,zI=Rce("set",To);zI.placeholder=lo;var Tce=zI,ax={},Ice=It.exports;Object.defineProperty(ax,"__esModule",{value:!0});var sx=ax.default=void 0,Oce=Ice(Ot),kce=D.exports,Ace=(0,Oce.default)((0,kce.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");sx=ax.default=Ace;var lx={},Lce=It.exports;Object.defineProperty(lx,"__esModule",{value:!0});var ux=lx.default=void 0,Mce=Lce(Ot),Nce=D.exports,Dce=(0,Mce.default)((0,Nce.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"}),"DeleteForever");ux=lx.default=Dce;var cx={},Bce=It.exports;Object.defineProperty(cx,"__esModule",{value:!0});var Qc=cx.default=void 0,Fce=Bce(Ot),Uce=D.exports,zce=(0,Fce.default)((0,Uce.jsx)("path",{d:"M14 12c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-2-9c-4.97 0-9 4.03-9 9H0l4 4 4-4H5c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.51 0-2.91-.49-4.06-1.3l-1.42 1.44C8.04 20.3 9.94 21 12 21c4.97 0 9-4.03 9-9s-4.03-9-9-9z"}),"SettingsBackupRestore");Qc=cx.default=zce;var dx={},jce=It.exports;Object.defineProperty(dx,"__esModule",{value:!0});var fx=dx.default=void 0,Wce=jce(Ot),Hce=D.exports,Vce=(0,Wce.default)((0,Hce.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack");fx=dx.default=Vce;function Gce(e){return De("MuiButton",e)}const Kce=Ne("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var cf=Kce;const qce=C.exports.createContext({});var Yce=qce;const Xce=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Qce=["root"],Zce=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:l}=e,u={root:["root",a,`${a}${ce(t)}`,`size${ce(o)}`,`${a}Size${ce(o)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${ce(o)}`],endIcon:["endIcon",`iconSize${ce(o)}`]},c=Be(u,Gce,l);return R({},l,c)},jI=e=>R({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Jce=he(Ba,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ce(n.color)}`],t[`size${ce(n.size)}`],t[`${n.variant}Size${ce(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;return R({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":R({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:(e.vars||e).palette.grey.A100,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":R({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${cf.focusVisible}`]:R({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${cf.disabled}`]:R({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="outlined"&&t.color==="secondary"&&{border:`1px solid ${(e.vars||e).palette.action.disabled}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${st(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${cf.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${cf.disabled}`]:{boxShadow:"none"}}),ede=he("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${ce(n.size)}`]]}})(({ownerState:e})=>R({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},jI(e))),tde=he("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${ce(n.size)}`]]}})(({ownerState:e})=>R({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},jI(e))),nde=C.exports.forwardRef(function(t,n){const r=C.exports.useContext(Yce),o=zP(r,t),a=Ue({props:o,name:"MuiButton"}),{children:l,color:u="primary",component:c="button",className:f,disabled:p=!1,disableElevation:m=!1,disableFocusRipple:h=!1,endIcon:x,focusVisibleClassName:E,fullWidth:_=!1,size:y="medium",startIcon:v,type:b,variant:S="text"}=a,P=ye(a,Xce),A=R({},a,{color:u,component:c,disabled:p,disableElevation:m,disableFocusRipple:h,fullWidth:_,size:y,type:b,variant:S}),k=Zce(A),{root:I}=k,L=ye(k,Qce),N=v&&D.exports.jsx(ede,{className:L.startIcon,ownerState:A,children:v}),B=x&&D.exports.jsx(tde,{className:L.endIcon,ownerState:A,children:x});return D.exports.jsxs(Jce,R({ownerState:A,className:_e(r.className,I,f),component:c,disabled:p,focusRipple:!h,focusVisibleClassName:_e(L.focusVisible,E),ref:n,type:b},P,{classes:L,children:[N,l,B]}))});var ct=nde,px={};Object.defineProperty(px,"__esModule",{value:!0});var Lt=px.default=void 0;const rde={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"};var ode=rde;Lt=px.default=ode;var hx={},ide=It.exports;Object.defineProperty(hx,"__esModule",{value:!0});var WI=hx.default=void 0,ade=ide(Ot),sde=D.exports,lde=(0,ade.default)((0,sde.jsx)("path",{d:"M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z"}),"ContentCut");WI=hx.default=lde;var gx={},ude=It.exports;Object.defineProperty(gx,"__esModule",{value:!0});var HI=gx.default=void 0,cde=ude(Ot),dde=D.exports,fde=(0,cde.default)((0,dde.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"}),"ContentCopy");HI=gx.default=fde;var pde=Lr(D.exports.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function hde(e){return De("MuiListSubheader",e)}Ne("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const gde=["className","color","component","disableGutters","disableSticky","inset"],mde=e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:a}=e,l={root:["root",n!=="default"&&`color${ce(n)}`,!r&&"gutters",o&&"inset",!a&&"sticky"]};return Be(l,hde,t)},vde=he("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ce(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>R({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),yde=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiListSubheader"}),{className:o,color:a="default",component:l="li",disableGutters:u=!1,disableSticky:c=!1,inset:f=!1}=r,p=ye(r,gde),m=R({},r,{color:a,component:l,disableGutters:u,disableSticky:c,inset:f}),h=mde(m);return D.exports.jsx(vde,R({as:l,className:_e(h.root,o),ref:n,ownerState:m},p))});var xde=yde,bde=Lr(D.exports.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function _de(e){return De("MuiChip",e)}const Cde=Ne("MuiChip",["root","sizeSmall","sizeMedium","colorPrimary","colorSecondary","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);var _t=Cde;const Ede=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"],wde=e=>{const{classes:t,disabled:n,size:r,color:o,onDelete:a,clickable:l,variant:u}=e,c={root:["root",u,n&&"disabled",`size${ce(r)}`,`color${ce(o)}`,l&&"clickable",l&&`clickableColor${ce(o)}`,a&&"deletable",a&&`deletableColor${ce(o)}`,`${u}${ce(o)}`],label:["label",`label${ce(r)}`],avatar:["avatar",`avatar${ce(r)}`,`avatarColor${ce(o)}`],icon:["icon",`icon${ce(r)}`,`iconColor${ce(o)}`],deleteIcon:["deleteIcon",`deleteIcon${ce(r)}`,`deleteIconColor${ce(o)}`,`deleteIcon${ce(u)}Color${ce(o)}`]};return Be(c,_de,t)},Sde=he("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,clickable:o,onDelete:a,size:l,variant:u}=n;return[{[`& .${_t.avatar}`]:t.avatar},{[`& .${_t.avatar}`]:t[`avatar${ce(l)}`]},{[`& .${_t.avatar}`]:t[`avatarColor${ce(r)}`]},{[`& .${_t.icon}`]:t.icon},{[`& .${_t.icon}`]:t[`icon${ce(l)}`]},{[`& .${_t.icon}`]:t[`iconColor${ce(r)}`]},{[`& .${_t.deleteIcon}`]:t.deleteIcon},{[`& .${_t.deleteIcon}`]:t[`deleteIcon${ce(l)}`]},{[`& .${_t.deleteIcon}`]:t[`deleteIconColor${ce(r)}`]},{[`& .${_t.deleteIcon}`]:t[`deleteIcon${ce(u)}Color${ce(r)}`]},t.root,t[`size${ce(l)}`],t[`color${ce(r)}`],o&&t.clickable,o&&r!=="default"&&t[`clickableColor${ce(r)})`],a&&t.deletable,a&&r!=="default"&&t[`deletableColor${ce(r)}`],t[u],t[`${u}${ce(r)}`]]}})(({theme:e,ownerState:t})=>{const n=st(e.palette.text.primary,.26),r=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return R({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${_t.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${_t.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${_t.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${_t.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${_t.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${_t.icon}`]:R({color:e.vars?e.vars.palette.Chip.defaultIconColor:r,marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.color!=="default"&&{color:"inherit"}),[`& .${_t.deleteIcon}`]:R({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:n,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:st(n,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:st(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${_t.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.focusOpacity}))`:st(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${_t.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>R({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.hoverOpacity}))`:st(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${_t.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.focusOpacity}))`:st(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${_t.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>R({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${_t.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${_t.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${_t.avatar}`]:{marginLeft:4},[`& .${_t.avatarSmall}`]:{marginLeft:2},[`& .${_t.icon}`]:{marginLeft:4},[`& .${_t.iconSmall}`]:{marginLeft:2},[`& .${_t.deleteIcon}`]:{marginRight:5},[`& .${_t.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:st(e.palette[t.color].main,.7)}`,[`&.${_t.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${_t.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:st(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${_t.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:st(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),$de=he("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${ce(r)}`]]}})(({ownerState:e})=>R({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.size==="small"&&{paddingLeft:8,paddingRight:8}));function C$(e){return e.key==="Backspace"||e.key==="Delete"}const Pde=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiChip"}),{avatar:o,className:a,clickable:l,color:u="default",component:c,deleteIcon:f,disabled:p=!1,icon:m,label:h,onClick:x,onDelete:E,onKeyDown:_,onKeyUp:y,size:v="medium",variant:b="filled"}=r,S=ye(r,Ede),P=C.exports.useRef(null),A=yt(P,n),k=j=>{j.stopPropagation(),E&&E(j)},I=j=>{j.currentTarget===j.target&&C$(j)&&j.preventDefault(),_&&_(j)},L=j=>{j.currentTarget===j.target&&(E&&C$(j)?E(j):j.key==="Escape"&&P.current&&P.current.blur()),y&&y(j)},N=l!==!1&&x?!0:l,B=N||E?Ba:c||"div",V=R({},r,{component:B,disabled:p,size:v,color:u,onDelete:!!E,clickable:N,variant:b}),ee=wde(V),X=B===Ba?R({component:c||"div",focusVisibleClassName:ee.focusVisible},E&&{disableRipple:!0}):{};let ie=null;E&&(ie=f&&C.exports.isValidElement(f)?C.exports.cloneElement(f,{className:_e(f.props.className,ee.deleteIcon),onClick:k}):D.exports.jsx(bde,{className:_e(ee.deleteIcon),onClick:k}));let J=null;o&&C.exports.isValidElement(o)&&(J=C.exports.cloneElement(o,{className:_e(ee.avatar,o.props.className)}));let G=null;return m&&C.exports.isValidElement(m)&&(G=C.exports.cloneElement(m,{className:_e(ee.icon,m.props.className)})),D.exports.jsxs(Sde,R({as:B,className:_e(ee.root,a),disabled:N&&p?!0:void 0,onClick:x,onKeyDown:I,onKeyUp:L,ref:A,ownerState:V},X,S,{children:[J||G,D.exports.jsx($de,{className:_e(ee.label),ownerState:V,children:h}),ie]}))});var Cp=Pde;function kl({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]=="undefined"&&(r[o]=n[o]),r),{})}const Rde=C.exports.createContext();var Vh=Rde;function na(){return C.exports.useContext(Vh)}function E$(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function mx(e,t=!1){return e&&(E$(e.value)&&e.value!==""||t&&E$(e.defaultValue)&&e.defaultValue!=="")}function Tde(e){return e.startAdornment}function Ide(e){return De("MuiInputBase",e)}const Ode=Ne("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var Do=Ode;const kde=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],Gh=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ce(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Kh=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Ade=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:a,focused:l,formControl:u,fullWidth:c,hiddenLabel:f,multiline:p,readOnly:m,size:h,startAdornment:x,type:E}=e,_={root:["root",`color${ce(n)}`,r&&"disabled",o&&"error",c&&"fullWidth",l&&"focused",u&&"formControl",h==="small"&&"sizeSmall",p&&"multiline",x&&"adornedStart",a&&"adornedEnd",f&&"hiddenLabel",m&&"readOnly"],input:["input",r&&"disabled",E==="search"&&"inputTypeSearch",p&&"inputMultiline",h==="small"&&"inputSizeSmall",f&&"inputHiddenLabel",x&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return Be(_,Ide,t)},qh=he("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Gh})(({theme:e,ownerState:t})=>R({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Do.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&R({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Yh=he("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Kh})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=R({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return R({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Do.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${Do.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),Lde=D.exports.jsx(ER,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Mde=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:l,className:u,components:c={},componentsProps:f={},defaultValue:p,disabled:m,disableInjectingGlobalStyles:h,endAdornment:x,fullWidth:E=!1,id:_,inputComponent:y="input",inputProps:v={},inputRef:b,maxRows:S,minRows:P,multiline:A=!1,name:k,onBlur:I,onChange:L,onClick:N,onFocus:B,onKeyDown:V,onKeyUp:ee,placeholder:X,readOnly:ie,renderSuffix:J,rows:G,startAdornment:j,type:te="text",value:ne}=r,me=ye(r,kde),H=v.value!=null?v.value:ne,{current:q}=C.exports.useRef(H!=null),Z=C.exports.useRef(),ue=C.exports.useCallback(Pe=>{},[]),K=yt(v.ref,ue),U=yt(b,K),Y=yt(Z,U),[re,fe]=C.exports.useState(!1),we=na(),ke=kl({props:r,muiFormControl:we,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ke.focused=we?we.focused:re,C.exports.useEffect(()=>{!we&&m&&re&&(fe(!1),I&&I())},[we,m,re,I]);const Ie=we&&we.onFilled,Ce=we&&we.onEmpty,We=C.exports.useCallback(Pe=>{mx(Pe)?Ie&&Ie():Ce&&Ce()},[Ie,Ce]);bo(()=>{q&&We({value:H})},[H,We,q]);const Me=Pe=>{if(ke.disabled){Pe.stopPropagation();return}B&&B(Pe),v.onFocus&&v.onFocus(Pe),we&&we.onFocus?we.onFocus(Pe):fe(!0)},ft=Pe=>{I&&I(Pe),v.onBlur&&v.onBlur(Pe),we&&we.onBlur?we.onBlur(Pe):fe(!1)},ze=(Pe,...be)=>{if(!q){const Xe=Pe.target||Z.current;if(Xe==null)throw new Error(Gi(1));We({value:Xe.value})}v.onChange&&v.onChange(Pe,...be),L&&L(Pe,...be)};C.exports.useEffect(()=>{We(Z.current)},[]);const bt=Pe=>{Z.current&&Pe.currentTarget===Pe.target&&Z.current.focus(),N&&N(Pe)};let kt=y,Ge=v;A&&kt==="input"&&(G?Ge=R({type:void 0,minRows:G,maxRows:G},Ge):Ge=R({type:void 0,maxRows:S,minRows:P},Ge),kt=Xj);const qe=Pe=>{We(Pe.animationName==="mui-auto-fill-cancel"?Z.current:{value:"x"})};C.exports.useEffect(()=>{we&&we.setAdornedStart(Boolean(j))},[we,j]);const vt=R({},r,{color:ke.color||"primary",disabled:ke.disabled,endAdornment:x,error:ke.error,focused:ke.focused,formControl:we,fullWidth:E,hiddenLabel:ke.hiddenLabel,multiline:A,size:ke.size,startAdornment:j,type:te}),zt=Ade(vt),nt=c.Root||qh,rt=f.root||{},pt=c.Input||Yh;return Ge=R({},Ge,f.input),D.exports.jsxs(C.exports.Fragment,{children:[!h&&Lde,D.exports.jsxs(nt,R({},rt,!Zs(nt)&&{ownerState:R({},vt,rt.ownerState)},{ref:n,onClick:bt},me,{className:_e(zt.root,rt.className,u),children:[j,D.exports.jsx(Vh.Provider,{value:null,children:D.exports.jsx(pt,R({ownerState:vt,"aria-invalid":ke.error,"aria-describedby":o,autoComplete:a,autoFocus:l,defaultValue:p,disabled:ke.disabled,id:_,onAnimationStart:qe,name:k,placeholder:X,readOnly:ie,required:ke.required,rows:G,value:H,onKeyDown:V,onKeyUp:ee,type:te},Ge,!Zs(pt)&&{as:kt,ownerState:R({},vt,Ge.ownerState)},{ref:Y,className:_e(zt.input,Ge.className),onBlur:ft,onChange:ze,onFocus:Me}))}),x,J?J(R({},ke,{startAdornment:j})):null]}))]})});var Zc=Mde;function Nde(e){return De("MuiInput",e)}const Dde=R({},Do,Ne("MuiInput",["root","underline","input"]));var Pa=Dde;function Bde(e){return De("MuiOutlinedInput",e)}const Fde=R({},Do,Ne("MuiOutlinedInput",["root","notchedOutline","input"]));var Io=Fde;function Ude(e){return De("MuiFilledInput",e)}const zde=R({},Do,Ne("MuiFilledInput",["root","underline","input"]));var Ao=zde,VI=Lr(D.exports.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function jde(e){return De("MuiAutocomplete",e)}const Wde=Ne("MuiAutocomplete",["root","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var mt=Wde,w$,S$;const Hde=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","value"],Vde=e=>{const{classes:t,disablePortal:n,focused:r,fullWidth:o,hasClearIcon:a,hasPopupIcon:l,inputFocused:u,popupOpen:c,size:f}=e,p={root:["root",r&&"focused",o&&"fullWidth",a&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",u&&"inputFocused"],tag:["tag",`tagSize${ce(f)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return Be(p,jde,t)},Gde=he("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:a,inputFocused:l,size:u}=n;return[{[`& .${mt.tag}`]:t.tag},{[`& .${mt.tag}`]:t[`tagSize${ce(u)}`]},{[`& .${mt.inputRoot}`]:t.inputRoot},{[`& .${mt.input}`]:t.input},{[`& .${mt.input}`]:l&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,o&&t.hasClearIcon]}})(({ownerState:e})=>R({[`&.${mt.focused} .${mt.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${mt.clearIndicator}`]:{visibility:"visible"}}},e.fullWidth&&{width:"100%"},{[`& .${mt.tag}`]:R({margin:3,maxWidth:"calc(100% - 6px)"},e.size==="small"&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${mt.inputRoot}`]:{flexWrap:"wrap",[`.${mt.hasPopupIcon}&, .${mt.hasClearIcon}&`]:{paddingRight:26+4},[`.${mt.hasPopupIcon}.${mt.hasClearIcon}&`]:{paddingRight:52+4},[`& .${mt.input}`]:{width:0,minWidth:30}},[`& .${Pa.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Pa.root}.${Do.sizeSmall}`]:{[`& .${Pa.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Io.root}`]:{padding:9,[`.${mt.hasPopupIcon}&, .${mt.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${mt.hasPopupIcon}.${mt.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${mt.input}`]:{padding:"7.5px 4px 7.5px 6px"},[`& .${mt.endAdornment}`]:{right:9}},[`& .${Io.root}.${Do.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${mt.input}`]:{padding:"2.5px 4px 2.5px 6px"}},[`& .${Ao.root}`]:{paddingTop:19,paddingLeft:8,[`.${mt.hasPopupIcon}&, .${mt.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${mt.hasPopupIcon}.${mt.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${Ao.input}`]:{padding:"7px 4px"},[`& .${mt.endAdornment}`]:{right:9}},[`& .${Ao.root}.${Do.sizeSmall}`]:{paddingBottom:1,[`& .${Ao.input}`]:{padding:"2.5px 4px"}},[`& .${Do.hiddenLabel}`]:{paddingTop:8},[`& .${mt.input}`]:R({flexGrow:1,textOverflow:"ellipsis",opacity:0},e.inputFocused&&{opacity:1})})),Kde=he("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"calc(50% - 14px)"}),qde=he(rn,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),Yde=he(rn,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>R({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})(({ownerState:e})=>R({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"})),Xde=he(Gc,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${mt.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(({theme:e,ownerState:t})=>R({zIndex:(e.vars||e).zIndex.modal},t.disablePortal&&{position:"absolute"})),Qde=he(wo,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({theme:e})=>R({},e.typography.body1,{overflow:"auto"})),Zde=he("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),Jde=he("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),efe=he("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",[`& .${mt.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${mt.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${mt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${mt.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})),tfe=he(xde,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})),nfe=he("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${mt.option}`]:{paddingLeft:24}}),rfe=C.exports.forwardRef(function(t,n){var r,o,a,l;const u=Ue({props:t,name:"MuiAutocomplete"}),{autoComplete:c=!1,autoHighlight:f=!1,autoSelect:p=!1,blurOnSelect:m=!1,ChipProps:h,className:x,clearIcon:E=w$||(w$=D.exports.jsx(pde,{fontSize:"small"})),clearOnBlur:_=!u.freeSolo,clearOnEscape:y=!1,clearText:v="Clear",closeText:b="Close",componentsProps:S={},defaultValue:P=u.multiple?[]:null,disableClearable:A=!1,disableCloseOnSelect:k=!1,disabled:I=!1,disabledItemsFocusable:L=!1,disableListWrap:N=!1,disablePortal:B=!1,filterSelectedOptions:V=!1,forcePopupIcon:ee="auto",freeSolo:X=!1,fullWidth:ie=!1,getLimitTagsText:J=lt=>`+${lt}`,getOptionLabel:G=lt=>{var an;return(an=lt.label)!=null?an:lt},groupBy:j,handleHomeEndKeys:te=!u.freeSolo,includeInputInList:ne=!1,limitTags:me=-1,ListboxComponent:H="ul",ListboxProps:q,loading:Z=!1,loadingText:ue="Loading\u2026",multiple:K=!1,noOptionsText:U="No options",openOnFocus:Y=!1,openText:re="Open",PaperComponent:fe=wo,PopperComponent:we=Gc,popupIcon:ke=S$||(S$=D.exports.jsx(VI,{})),readOnly:Ie=!1,renderGroup:Ce,renderInput:We,renderOption:Me,renderTags:ft,selectOnFocus:ze=!u.freeSolo,size:bt="medium"}=u,kt=ye(u,Hde),{getRootProps:Ge,getInputProps:qe,getInputLabelProps:vt,getPopupIndicatorProps:zt,getClearProps:nt,getTagProps:rt,getListboxProps:pt,getOptionProps:Pe,value:be,dirty:Xe,id:Se,popupOpen:et,focused:Nt,focusedTag:Xt,anchorEl:Cn,setAnchorEl:Tn,inputValue:Nn,groupedOptions:tn}=J9(R({},u,{componentName:"Autocomplete"})),xe=!A&&!I&&Xe&&!Ie,Ae=(!X||ee===!0)&&ee!==!1,Le=R({},u,{disablePortal:B,focused:Nt,fullWidth:ie,hasClearIcon:xe,hasPopupIcon:Ae,inputFocused:Xt===-1,popupOpen:et,size:bt}),at=Vde(Le);let ht;if(K&&be.length>0){const lt=an=>R({className:at.tag,disabled:I},rt(an));ft?ht=ft(be,lt,Le):ht=be.map((an,Dn)=>D.exports.jsx(Cp,R({label:G(an),size:bt},lt({index:Dn}),h)))}if(me>-1&&Array.isArray(ht)){const lt=ht.length-me;!Nt&&lt>0&&(ht=ht.splice(0,me),ht.push(D.exports.jsx("span",{className:at.tag,children:J(lt)},ht.length)))}const Vo=Ce||(lt=>D.exports.jsxs("li",{children:[D.exports.jsx(tfe,{className:at.groupLabel,ownerState:Le,component:"div",children:lt.group}),D.exports.jsx(nfe,{className:at.groupUl,ownerState:Le,children:lt.children})]},lt.key)),yr=Me||((lt,an)=>D.exports.jsx("li",R({},lt,{children:G(an)}))),xr=(lt,an)=>{const Dn=Pe({option:lt,index:an});return yr(R({},Dn,{className:at.option}),lt,{selected:Dn["aria-selected"],inputValue:Nn})};return D.exports.jsxs(C.exports.Fragment,{children:[D.exports.jsx(Gde,R({ref:n,className:_e(at.root,x),ownerState:Le},Ge(kt),{children:We({id:Se,disabled:I,fullWidth:!0,size:bt==="small"?"small":void 0,InputLabelProps:vt(),InputProps:R({ref:Tn,className:at.inputRoot,startAdornment:ht},(xe||Ae)&&{endAdornment:D.exports.jsxs(Kde,{className:at.endAdornment,ownerState:Le,children:[xe?D.exports.jsx(qde,R({},nt(),{"aria-label":v,title:v,ownerState:Le},S.clearIndicator,{className:_e(at.clearIndicator,(r=S.clearIndicator)==null?void 0:r.className),children:E})):null,Ae?D.exports.jsx(Yde,R({},zt(),{disabled:I,"aria-label":et?b:re,title:et?b:re,ownerState:Le},S.popupIndicator,{className:_e(at.popupIndicator,(o=S.popupIndicator)==null?void 0:o.className),children:ke})):null]})}),inputProps:R({className:at.input,disabled:I,readOnly:Ie},qe())})})),Cn?D.exports.jsx(Xde,R({as:we,disablePortal:B,style:{width:Cn?Cn.clientWidth:null},ownerState:Le,role:"presentation",anchorEl:Cn,open:et},S.popper,{className:_e(at.popper,(a=S.popper)==null?void 0:a.className),children:D.exports.jsxs(Qde,R({ownerState:Le,as:fe},S.paper,{className:_e(at.paper,(l=S.paper)==null?void 0:l.className),children:[Z&&tn.length===0?D.exports.jsx(Zde,{className:at.loading,ownerState:Le,children:ue}):null,tn.length===0&&!X&&!Z?D.exports.jsx(Jde,{className:at.noOptions,ownerState:Le,role:"presentation",onMouseDown:lt=>{lt.preventDefault()},children:U}):null,tn.length>0?D.exports.jsx(efe,R({as:H,className:at.listbox,ownerState:Le},pt(),q,{children:tn.map((lt,an)=>j?Vo({key:lt.key,group:lt.group,children:lt.options.map((Dn,tr)=>xr(Dn,lt.index+tr))}):xr(lt,an))})):null]}))})):null]})});var ofe=rfe;const ife=e=>!e||!Zs(e);var $$=ife;function afe(e){return De("MuiBadge",e)}const sfe=Ne("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);var Ei=sfe;const lfe=["anchorOrigin","className","component","components","componentsProps","overlap","color","invisible","max","badgeContent","showZero","variant"],iv=10,av=4,ufe=e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:l={}}=e,u={root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${ce(n.vertical)}${ce(n.horizontal)}`,`anchorOrigin${ce(n.vertical)}${ce(n.horizontal)}${ce(o)}`,`overlap${ce(o)}`,t!=="default"&&`color${ce(t)}`]};return Be(u,afe,l)},cfe=he("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),dfe=he("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${ce(n.anchorOrigin.vertical)}${ce(n.anchorOrigin.horizontal)}${ce(n.overlap)}`],n.color!=="default"&&t[`color${ce(n.color)}`],n.invisible&&t.invisible]}})(({theme:e,ownerState:t})=>R({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:iv*2,lineHeight:1,padding:"0 6px",height:iv*2,borderRadius:iv,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.variant==="dot"&&{borderRadius:av,height:av*2,minWidth:av*2,padding:0},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular"&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Ei.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular"&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Ei.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular"&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Ei.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular"&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Ei.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular"&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Ei.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular"&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Ei.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular"&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Ei.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular"&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Ei.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})})),ffe=C.exports.forwardRef(function(t,n){var r,o,a,l;const u=Ue({props:t,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:f,component:p="span",components:m={},componentsProps:h={},overlap:x="rectangular",color:E="default",invisible:_=!1,max:y,badgeContent:v,showZero:b=!1,variant:S="standard"}=u,P=ye(u,lfe),A=UP({anchorOrigin:c,color:E,overlap:x,variant:S});let k=_;_===!1&&(v===0&&!b||v==null&&S!=="dot")&&(k=!0);const{color:I=E,overlap:L=x,anchorOrigin:N=c,variant:B=S}=k?A:u,V=R({},u,{anchorOrigin:N,invisible:k,color:I,overlap:L,variant:B}),ee=ufe(V);let X;return B!=="dot"&&(X=v&&Number(v)>y?`${y}+`:v),D.exports.jsx(iz,R({invisible:_,badgeContent:X,showZero:b,max:y},P,{components:R({Root:cfe,Badge:dfe},m),className:_e((r=h.root)==null?void 0:r.className,ee.root,f),componentsProps:{root:R({},h.root,$$(m.Root)&&{as:p,ownerState:R({},(o=h.root)==null?void 0:o.ownerState,{anchorOrigin:N,color:I,overlap:L,variant:B})}),badge:R({},h.badge,{className:_e(ee.badge,(a=h.badge)==null?void 0:a.className)},$$(m.Badge)&&{ownerState:R({},(l=h.badge)==null?void 0:l.ownerState,{anchorOrigin:N,color:I,overlap:L,variant:B})})},ref:n}))});var P$=ffe;function pfe(e){return De("PrivateSwitchBase",e)}Ne("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const hfe=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],gfe=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,a={root:["root",n&&"checked",r&&"disabled",o&&`edge${ce(o)}`],input:["input"]};return Be(a,pfe,t)},mfe=he(Ba)(({ownerState:e})=>R({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),vfe=he("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),yfe=C.exports.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:a,className:l,defaultChecked:u,disabled:c,disableFocusRipple:f=!1,edge:p=!1,icon:m,id:h,inputProps:x,inputRef:E,name:_,onBlur:y,onChange:v,onFocus:b,readOnly:S,required:P,tabIndex:A,type:k,value:I}=t,L=ye(t,hfe),[N,B]=Ui({controlled:o,default:Boolean(u),name:"SwitchBase",state:"checked"}),V=na(),ee=ne=>{b&&b(ne),V&&V.onFocus&&V.onFocus(ne)},X=ne=>{y&&y(ne),V&&V.onBlur&&V.onBlur(ne)},ie=ne=>{if(ne.nativeEvent.defaultPrevented)return;const me=ne.target.checked;B(me),v&&v(ne,me)};let J=c;V&&typeof J=="undefined"&&(J=V.disabled);const G=k==="checkbox"||k==="radio",j=R({},t,{checked:N,disabled:J,disableFocusRipple:f,edge:p}),te=gfe(j);return D.exports.jsxs(mfe,R({component:"span",className:_e(te.root,l),centerRipple:!0,focusRipple:!f,disabled:J,tabIndex:null,role:void 0,onFocus:ee,onBlur:X,ownerState:j,ref:n},L,{children:[D.exports.jsx(vfe,R({autoFocus:r,checked:o,defaultChecked:u,className:te.input,disabled:J,id:G&&h,name:_,onChange:ie,readOnly:S,ref:E,required:P,ownerState:j,tabIndex:A,type:k},k==="checkbox"&&I===void 0?{}:{value:I},x)),N?a:m]}))});var xfe=yfe,bfe=Lr(D.exports.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),_fe=Lr(D.exports.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Cfe=Lr(D.exports.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Efe(e){return De("MuiCheckbox",e)}const wfe=Ne("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]);var sv=wfe;const Sfe=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size"],$fe=e=>{const{classes:t,indeterminate:n,color:r}=e,o={root:["root",n&&"indeterminate",`color${ce(r)}`]},a=Be(o,Efe,t);return R({},t,a)},Pfe=he(xfe,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,n.color!=="default"&&t[`color${ce(n.color)}`]]}})(({theme:e,ownerState:t})=>R({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${sv.checked}, &.${sv.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${sv.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),Rfe=D.exports.jsx(_fe,{}),Tfe=D.exports.jsx(bfe,{}),Ife=D.exports.jsx(Cfe,{}),Ofe=C.exports.forwardRef(function(t,n){var r,o;const a=Ue({props:t,name:"MuiCheckbox"}),{checkedIcon:l=Rfe,color:u="primary",icon:c=Tfe,indeterminate:f=!1,indeterminateIcon:p=Ife,inputProps:m,size:h="medium"}=a,x=ye(a,Sfe),E=f?p:c,_=f?p:l,y=R({},a,{color:u,indeterminate:f,size:h}),v=$fe(y);return D.exports.jsx(Pfe,R({type:"checkbox",inputProps:R({"data-indeterminate":f},m),icon:C.exports.cloneElement(E,{fontSize:(r=E.props.fontSize)!=null?r:h}),checkedIcon:C.exports.cloneElement(_,{fontSize:(o=_.props.fontSize)!=null?o:h}),ownerState:y,ref:n},x,{classes:v}))});var GI=Ofe;function kfe(e){return De("MuiDialog",e)}const Afe=Ne("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var lv=Afe;const Lfe=C.exports.createContext({});var KI=Lfe;const Mfe=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],Nfe=he(OR,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),Dfe=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:a}=e,l={root:["root"],container:["container",`scroll${ce(n)}`],paper:["paper",`paperScroll${ce(n)}`,`paperWidth${ce(String(r))}`,o&&"paperFullWidth",a&&"paperFullScreen"]};return Be(l,kfe,t)},Bfe=he(oy,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),Ffe=he("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${ce(n.scroll)}`]]}})(({ownerState:e})=>R({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),Ufe=he(wo,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${ce(n.scroll)}`],t[`paperWidth${ce(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>R({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`${e.breakpoints.values.xs}${e.breakpoints.unit}`,[`&.${lv.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${lv.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${lv.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),zfe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiDialog"}),o=Eo(),a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":u,BackdropComponent:c,BackdropProps:f,children:p,className:m,disableEscapeKeyDown:h=!1,fullScreen:x=!1,fullWidth:E=!1,maxWidth:_="sm",onBackdropClick:y,onClose:v,open:b,PaperComponent:S=wo,PaperProps:P={},scroll:A="paper",TransitionComponent:k=IR,transitionDuration:I=a,TransitionProps:L}=r,N=ye(r,Mfe),B=R({},r,{disableEscapeKeyDown:h,fullScreen:x,fullWidth:E,maxWidth:_,scroll:A}),V=Dfe(B),ee=C.exports.useRef(),X=j=>{ee.current=j.target===j.currentTarget},ie=j=>{!ee.current||(ee.current=null,y&&y(j),v&&v(j,"backdropClick"))},J=Ma(u),G=C.exports.useMemo(()=>({titleId:J}),[J]);return D.exports.jsx(Bfe,R({className:_e(V.root,m),closeAfterTransition:!0,components:{Backdrop:Nfe},componentsProps:{backdrop:R({transitionDuration:I,as:c},f)},disableEscapeKeyDown:h,onClose:v,open:b,ref:n,onClick:ie,ownerState:B},N,{children:D.exports.jsx(k,R({appear:!0,in:b,timeout:I,role:"presentation"},L,{children:D.exports.jsx(Ffe,{className:_e(V.container),onMouseDown:X,ownerState:B,children:D.exports.jsx(Ufe,R({as:S,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":J},P,{className:_e(V.paper,P.className),ownerState:B,children:D.exports.jsx(KI.Provider,{value:G,children:p})}))})}))}))});var jfe=zfe;function Wfe(e){return De("MuiDialogContent",e)}Ne("MuiDialogContent",["root","dividers"]);function Hfe(e){return De("MuiDialogTitle",e)}const Vfe=Ne("MuiDialogTitle",["root"]);var Gfe=Vfe;const Kfe=["className","dividers"],qfe=e=>{const{classes:t,dividers:n}=e;return Be({root:["root",n&&"dividers"]},Wfe,t)},Yfe=he("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>R({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${Gfe.root} + &`]:{paddingTop:0}})),Xfe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiDialogContent"}),{className:o,dividers:a=!1}=r,l=ye(r,Kfe),u=R({},r,{dividers:a}),c=qfe(u);return D.exports.jsx(Yfe,R({className:_e(c.root,o),ownerState:u,ref:n},l))});var Qfe=Xfe;function Zfe(e){return De("MuiDialogContentText",e)}Ne("MuiDialogContentText",["root"]);const Jfe=["children"],epe=e=>{const{classes:t}=e,r=Be({root:["root"]},Zfe,t);return R({},t,r)},tpe=he(on,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),npe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiDialogContentText"}),o=ye(r,Jfe),a=epe(o);return D.exports.jsx(tpe,R({component:"p",variant:"body1",color:"text.secondary",ref:n,ownerState:o},r,{classes:a}))});var rpe=npe;const ope=["className","id"],ipe=e=>{const{classes:t}=e;return Be({root:["root"]},Hfe,t)},ape=he(on,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),spe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiDialogTitle"}),{className:o,id:a}=r,l=ye(r,ope),u=r,c=ipe(u),{titleId:f=a}=C.exports.useContext(KI);return D.exports.jsx(ape,R({component:"h2",className:_e(c.root,o),ownerState:u,ref:n,variant:"h6",id:f},l))});var lpe=spe;function upe(e){return De("MuiDivider",e)}const R$=Ne("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),cpe=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],dpe=e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:a,orientation:l,textAlign:u,variant:c}=e;return Be({root:["root",t&&"absolute",c,a&&"light",l==="vertical"&&"vertical",o&&"flexItem",n&&"withChildren",n&&l==="vertical"&&"withChildrenVertical",u==="right"&&l!=="vertical"&&"textAlignRight",u==="left"&&l!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",l==="vertical"&&"wrapperVertical"]},upe,r)},fpe=he("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>R({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:st(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({theme:e,ownerState:t})=>R({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}}),({theme:e,ownerState:t})=>R({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}}),({ownerState:e})=>R({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),ppe=he("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>R({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),hpe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiDivider"}),{absolute:o=!1,children:a,className:l,component:u=a?"div":"hr",flexItem:c=!1,light:f=!1,orientation:p="horizontal",role:m=u!=="hr"?"separator":void 0,textAlign:h="center",variant:x="fullWidth"}=r,E=ye(r,cpe),_=R({},r,{absolute:o,component:u,flexItem:c,light:f,orientation:p,role:m,textAlign:h,variant:x}),y=dpe(_);return D.exports.jsx(fpe,R({as:u,className:_e(y.root,l),role:m,ref:n,ownerState:_},E,{children:a?D.exports.jsx(ppe,{className:y.wrapper,ownerState:_,children:a}):null}))});var gpe=hpe;const mpe=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],vpe=e=>{const{classes:t,disableUnderline:n}=e,o=Be({root:["root",!n&&"underline"],input:["input"]},Ude,t);return R({},t,o)},ype=he(qh,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Gh(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",l=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",u=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return R({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:l,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${Ao.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${Ao.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:u}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(n=(e.vars||e).palette[t.color||"primary"])==null?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Ao.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ao.error}:after`]:{borderBottomColor:(e.vars||e).palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ao.disabled}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Ao.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&R({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),xpe=he(Yh,{name:"MuiFilledInput",slot:"Input",overridesResolver:Kh})(({theme:e,ownerState:t})=>R({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),qI=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiFilledInput"}),{components:o={},componentsProps:a,fullWidth:l=!1,inputComponent:u="input",multiline:c=!1,type:f="text"}=r,p=ye(r,mpe),m=R({},r,{fullWidth:l,inputComponent:u,multiline:c,type:f}),h=vpe(r),x={root:{ownerState:m},input:{ownerState:m}},E=a?Qr(a,x):x;return D.exports.jsx(Zc,R({components:R({Root:ype,Input:xpe},o),componentsProps:E,fullWidth:l,inputComponent:u,multiline:c,ref:n,type:f},p,{classes:h}))});qI.muiName="Input";var YI=qI;function bpe(e){return De("MuiFormControl",e)}Ne("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const _pe=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],Cpe=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${ce(n)}`,r&&"fullWidth"]};return Be(o,bpe,t)},Epe=he("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>R({},t.root,t[`margin${ce(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>R({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),wpe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiFormControl"}),{children:o,className:a,color:l="primary",component:u="div",disabled:c=!1,error:f=!1,focused:p,fullWidth:m=!1,hiddenLabel:h=!1,margin:x="none",required:E=!1,size:_="medium",variant:y="outlined"}=r,v=ye(r,_pe),b=R({},r,{color:l,component:u,disabled:c,error:f,fullWidth:m,hiddenLabel:h,margin:x,required:E,size:_,variant:y}),S=Cpe(b),[P,A]=C.exports.useState(()=>{let J=!1;return o&&C.exports.Children.forEach(o,G=>{if(!Tf(G,["Input","Select"]))return;const j=Tf(G,["Select"])?G.props.input:G;j&&Tde(j.props)&&(J=!0)}),J}),[k,I]=C.exports.useState(()=>{let J=!1;return o&&C.exports.Children.forEach(o,G=>{!Tf(G,["Input","Select"])||mx(G.props,!0)&&(J=!0)}),J}),[L,N]=C.exports.useState(!1);c&&L&&N(!1);const B=p!==void 0&&!c?p:L;let V;const ee=C.exports.useCallback(()=>{I(!0)},[]),X=C.exports.useCallback(()=>{I(!1)},[]),ie={adornedStart:P,setAdornedStart:A,color:l,disabled:c,error:f,filled:k,focused:B,fullWidth:m,hiddenLabel:h,size:_,onBlur:()=>{N(!1)},onEmpty:X,onFilled:ee,onFocus:()=>{N(!0)},registerEffect:V,required:E,variant:y};return D.exports.jsx(Vh.Provider,{value:ie,children:D.exports.jsx(Epe,R({as:u,ownerState:b,className:_e(S.root,a),ref:n},v,{children:o}))})});var Spe=wpe;function $pe(e){return De("MuiFormHelperText",e)}const Ppe=Ne("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var T$=Ppe,I$;const Rpe=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Tpe=e=>{const{classes:t,contained:n,size:r,disabled:o,error:a,filled:l,focused:u,required:c}=e,f={root:["root",o&&"disabled",a&&"error",r&&`size${ce(r)}`,n&&"contained",u&&"focused",l&&"filled",c&&"required"]};return Be(f,$pe,t)},Ipe=he("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ce(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>R({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${T$.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${T$.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),Ope=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiFormHelperText"}),{children:o,className:a,component:l="p"}=r,u=ye(r,Rpe),c=na(),f=kl({props:r,muiFormControl:c,states:["variant","size","disabled","error","filled","focused","required"]}),p=R({},r,{component:l,contained:f.variant==="filled"||f.variant==="outlined",variant:f.variant,size:f.size,disabled:f.disabled,error:f.error,filled:f.filled,focused:f.focused,required:f.required}),m=Tpe(p);return D.exports.jsx(Ipe,R({as:l,ownerState:p,className:_e(m.root,a),ref:n},u,{children:o===" "?I$||(I$=D.exports.jsx("span",{className:"notranslate",children:"\u200B"})):o}))});var kpe=Ope;function Ape(e){return De("MuiFormLabel",e)}const Lpe=Ne("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);var Zu=Lpe;const Mpe=["children","className","color","component","disabled","error","filled","focused","required"],Npe=e=>{const{classes:t,color:n,focused:r,disabled:o,error:a,filled:l,required:u}=e,c={root:["root",`color${ce(n)}`,o&&"disabled",a&&"error",l&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return Be(c,Ape,t)},Dpe=he("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>R({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>R({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Zu.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Zu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Zu.error}`]:{color:(e.vars||e).palette.error.main}})),Bpe=he("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Zu.error}`]:{color:(e.vars||e).palette.error.main}})),Fpe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiFormLabel"}),{children:o,className:a,component:l="label"}=r,u=ye(r,Mpe),c=na(),f=kl({props:r,muiFormControl:c,states:["color","required","focused","disabled","error","filled"]}),p=R({},r,{color:f.color||"primary",component:l,disabled:f.disabled,error:f.error,filled:f.filled,focused:f.focused,required:f.required}),m=Npe(p);return D.exports.jsxs(Dpe,R({as:l,ownerState:p,className:_e(m.root,a),ref:n},u,{children:[o,f.required&&D.exports.jsxs(Bpe,{ownerState:p,"aria-hidden":!0,className:m.asterisk,children:["\u2009","*"]})]}))});var Upe=Fpe;const zpe=C.exports.createContext();var O$=zpe;function jpe(e){return De("MuiGrid",e)}const Wpe=[0,1,2,3,4,5,6,7,8,9,10],Hpe=["column-reverse","column","row-reverse","row"],Vpe=["nowrap","wrap-reverse","wrap"],vu=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],$c=Ne("MuiGrid",["root","container","item","zeroMinWidth",...Wpe.map(e=>`spacing-xs-${e}`),...Hpe.map(e=>`direction-xs-${e}`),...Vpe.map(e=>`wrap-xs-${e}`),...vu.map(e=>`grid-xs-${e}`),...vu.map(e=>`grid-sm-${e}`),...vu.map(e=>`grid-md-${e}`),...vu.map(e=>`grid-lg-${e}`),...vu.map(e=>`grid-xl-${e}`)]),Gpe=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Hs(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function Kpe({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,o)=>{let a={};if(t[o]&&(n=t[o]),!n)return r;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=eh({values:t.columns,breakpoints:e.breakpoints.values}),u=typeof l=="object"?l[o]:l;if(u==null)return r;const c=`${Math.round(n/u*1e8)/1e6}%`;let f={};if(t.container&&t.item&&t.columnSpacing!==0){const p=e.spacing(t.columnSpacing);if(p!=="0px"){const m=`calc(${c} + ${Hs(p)})`;f={flexBasis:m,maxWidth:m}}}a=R({flexBasis:c,flexGrow:0,maxWidth:c},f)}return e.breakpoints.values[o]===0?Object.assign(r,a):r[e.breakpoints.up(o)]=a,r},{})}function qpe({theme:e,ownerState:t}){const n=eh({values:t.direction,breakpoints:e.breakpoints.values});return Co({theme:e},n,r=>{const o={flexDirection:r};return r.indexOf("column")===0&&(o[`& > .${$c.item}`]={maxWidth:"none"}),o})}function XI({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(o=>{n===""&&t[o]!==0&&(n=o)});const r=Object.keys(e).sort((o,a)=>e[o]-e[a]);return r.slice(0,r.indexOf(n))}function Ype({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&r!==0){const a=eh({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=XI({breakpoints:e.breakpoints.values,values:a})),o=Co({theme:e},a,(u,c)=>{var f;const p=e.spacing(u);return p!=="0px"?{marginTop:`-${Hs(p)}`,[`& > .${$c.item}`]:{paddingTop:Hs(p)}}:(f=l)!=null&&f.includes(c)?{}:{marginTop:0,[`& > .${$c.item}`]:{paddingTop:0}}})}return o}function Xpe({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&r!==0){const a=eh({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=XI({breakpoints:e.breakpoints.values,values:a})),o=Co({theme:e},a,(u,c)=>{var f;const p=e.spacing(u);return p!=="0px"?{width:`calc(100% + ${Hs(p)})`,marginLeft:`-${Hs(p)}`,[`& > .${$c.item}`]:{paddingLeft:Hs(p)}}:(f=l)!=null&&f.includes(c)?{}:{width:"100%",marginLeft:0,[`& > .${$c.item}`]:{paddingLeft:0}}})}return o}function Qpe(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(o=>{const a=e[o];Number(a)>0&&r.push(n[`spacing-${o}-${String(a)}`])}),r}const Zpe=he("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:a,spacing:l,wrap:u,zeroMinWidth:c,breakpoints:f}=n;let p=[];r&&(p=Qpe(l,f,t));const m=[];return f.forEach(h=>{const x=n[h];x&&m.push(t[`grid-${h}-${String(x)}`])}),[t.root,r&&t.container,a&&t.item,c&&t.zeroMinWidth,...p,o!=="row"&&t[`direction-xs-${String(o)}`],u!=="wrap"&&t[`wrap-xs-${String(u)}`],...m]}})(({ownerState:e})=>R({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),qpe,Ype,Xpe,Kpe);function Jpe(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const o=e[r];if(Number(o)>0){const a=`spacing-${r}-${String(o)}`;n.push(a)}}),n}const ehe=e=>{const{classes:t,container:n,direction:r,item:o,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:c}=e;let f=[];n&&(f=Jpe(a,c));const p=[];c.forEach(h=>{const x=e[h];x&&p.push(`grid-${h}-${String(x)}`)});const m={root:["root",n&&"container",o&&"item",u&&"zeroMinWidth",...f,r!=="row"&&`direction-xs-${String(r)}`,l!=="wrap"&&`wrap-xs-${String(l)}`,...p]};return Be(m,jpe,t)},the=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiGrid"}),{breakpoints:o}=Eo(),a=W1(r),{className:l,columns:u,columnSpacing:c,component:f="div",container:p=!1,direction:m="row",item:h=!1,rowSpacing:x,spacing:E=0,wrap:_="wrap",zeroMinWidth:y=!1}=a,v=ye(a,Gpe),b=x||E,S=c||E,P=C.exports.useContext(O$),A=p?u||12:P,k={},I=R({},v);o.keys.forEach(B=>{v[B]!=null&&(k[B]=v[B],delete I[B])});const L=R({},a,{columns:A,container:p,direction:m,item:h,rowSpacing:b,columnSpacing:S,wrap:_,zeroMinWidth:y,spacing:E},k,{breakpoints:o.keys}),N=ehe(L);return D.exports.jsx(O$.Provider,{value:A,children:D.exports.jsx(Zpe,R({ownerState:L,className:_e(N.root,l),as:f,ref:n},I))})});var jn=the;const nhe=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],rhe=e=>{const{classes:t,disableUnderline:n}=e,o=Be({root:["root",!n&&"underline"],input:["input"]},Nde,t);return R({},t,o)},ohe=he(qh,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Gh(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),R({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Pa.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Pa.error}:after`]:{borderBottomColor:(e.vars||e).palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Pa.disabled}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Pa.disabled}:before`]:{borderBottomStyle:"dotted"}})}),ihe=he(Yh,{name:"MuiInput",slot:"Input",overridesResolver:Kh})({}),QI=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiInput"}),{disableUnderline:o,components:a={},componentsProps:l,fullWidth:u=!1,inputComponent:c="input",multiline:f=!1,type:p="text"}=r,m=ye(r,nhe),h=rhe(r),E={root:{ownerState:{disableUnderline:o}}},_=l?Qr(l,E):E;return D.exports.jsx(Zc,R({components:R({Root:ohe,Input:ihe},a),componentsProps:_,fullWidth:u,inputComponent:c,multiline:f,ref:n,type:p},m,{classes:h}))});QI.muiName="Input";var ZI=QI;function ahe(e){return De("MuiInputAdornment",e)}const she=Ne("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var k$=she,A$;const lhe=["children","className","component","disablePointerEvents","disableTypography","position","variant"],uhe=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ce(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},che=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:a,variant:l}=e,u={root:["root",n&&"disablePointerEvents",o&&`position${ce(o)}`,l,r&&"hiddenLabel",a&&`size${ce(a)}`]};return Be(u,ahe,t)},dhe=he("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:uhe})(({theme:e,ownerState:t})=>R({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${k$.positionStart}&:not(.${k$.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),fhe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiInputAdornment"}),{children:o,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:c=!1,position:f,variant:p}=r,m=ye(r,lhe),h=na()||{};let x=p;p&&h.variant,h&&!x&&(x=h.variant);const E=R({},r,{hiddenLabel:h.hiddenLabel,size:h.size,disablePointerEvents:u,position:f,variant:x}),_=che(E);return D.exports.jsx(Vh.Provider,{value:null,children:D.exports.jsx(dhe,R({as:l,ownerState:E,className:_e(_.root,a),ref:n},m,{children:typeof o=="string"&&!c?D.exports.jsx(on,{color:"text.secondary",children:o}):D.exports.jsxs(C.exports.Fragment,{children:[f==="start"?A$||(A$=D.exports.jsx("span",{className:"notranslate",children:"\u200B"})):null,o]})}))})});var phe=fhe;function hhe(e){return De("MuiInputLabel",e)}Ne("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const ghe=["disableAnimation","margin","shrink","variant"],mhe=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:a,variant:l,required:u}=e,f=Be({root:["root",n&&"formControl",!a&&"animated",o&&"shrink",r==="small"&&"sizeSmall",l],asterisk:[u&&"asterisk"]},hhe,t);return R({},t,f)},vhe=he(Upe,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Zu.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})(({theme:e,ownerState:t})=>R({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&R({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&R({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&R({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))),yhe=C.exports.forwardRef(function(t,n){const r=Ue({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,shrink:a}=r,l=ye(r,ghe),u=na();let c=a;typeof c=="undefined"&&u&&(c=u.filled||u.focused||u.adornedStart);const f=kl({props:r,muiFormControl:u,states:["size","variant","required"]}),p=R({},r,{disableAnimation:o,formControl:u,shrink:c,size:f.size,variant:f.variant,required:f.required}),m=mhe(p);return D.exports.jsx(vhe,R({"data-shrink":c,ownerState:p,ref:n},l,{classes:m}))});var xhe=yhe;function bhe(e){return De("MuiLink",e)}const _he=Ne("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var Che=_he;const JI={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Ehe=e=>JI[e]||e,whe=({theme:e,ownerState:t})=>{const n=Ehe(t.color),r=vc(e,`palette.${n}`,!1)||t.color,o=vc(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:st(r,.4)};var She=whe;const $he=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Phe=e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,a={root:["root",`underline${ce(o)}`,n==="button"&&"button",r&&"focusVisible"]};return Be(a,bhe,t)},Rhe=he(on,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${ce(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>R({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&R({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:She({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Che.focusVisible}`]:{outline:"auto"}})),The=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiLink"}),{className:o,color:a="primary",component:l="a",onBlur:u,onFocus:c,TypographyClasses:f,underline:p="always",variant:m="inherit",sx:h}=r,x=ye(r,$he),{isFocusVisibleRef:E,onBlur:_,onFocus:y,ref:v}=Jp(),[b,S]=C.exports.useState(!1),P=yt(n,v),A=N=>{_(N),E.current===!1&&S(!1),u&&u(N)},k=N=>{y(N),E.current===!0&&S(!0),c&&c(N)},I=R({},r,{color:a,component:l,focusVisible:b,underline:p,variant:m}),L=Phe(I);return D.exports.jsx(Rhe,R({color:a,className:_e(L.root,o),classes:f,component:l,onBlur:A,onFocus:k,ref:P,ownerState:I,variant:m,sx:[...Object.keys(JI).includes(a)?[]:[{color:a}],...Array.isArray(h)?h:[h]]},x))});var Ihe=The;const Ohe=Ne("MuiListItemIcon",["root","alignItemsFlexStart"]);var L$=Ohe;const khe=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function uv(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function M$(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function eO(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function yu(e,t,n,r,o,a){let l=!1,u=o(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(l)return!1;l=!0}const c=r?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!eO(u,a)||c)u=o(e,u,n);else return u.focus(),!0}return!1}const Ahe=C.exports.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:a=!1,children:l,className:u,disabledItemsFocusable:c=!1,disableListWrap:f=!1,onKeyDown:p,variant:m="selectedMenu"}=t,h=ye(t,khe),x=C.exports.useRef(null),E=C.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});bo(()=>{o&&x.current.focus()},[o]),C.exports.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(S,P)=>{const A=!x.current.style.width;if(S.clientHeight<x.current.clientHeight&&A){const k=`${FP($n(S))}px`;x.current.style[P.direction==="rtl"?"paddingLeft":"paddingRight"]=k,x.current.style.width=`calc(100% + ${k})`}return x.current}}),[]);const _=S=>{const P=x.current,A=S.key,k=$n(P).activeElement;if(A==="ArrowDown")S.preventDefault(),yu(P,k,f,c,uv);else if(A==="ArrowUp")S.preventDefault(),yu(P,k,f,c,M$);else if(A==="Home")S.preventDefault(),yu(P,null,f,c,uv);else if(A==="End")S.preventDefault(),yu(P,null,f,c,M$);else if(A.length===1){const I=E.current,L=A.toLowerCase(),N=performance.now();I.keys.length>0&&(N-I.lastTime>500?(I.keys=[],I.repeating=!0,I.previousKeyMatched=!0):I.repeating&&L!==I.keys[0]&&(I.repeating=!1)),I.lastTime=N,I.keys.push(L);const B=k&&!I.repeating&&eO(k,I);I.previousKeyMatched&&(B||yu(P,k,!1,c,uv,I))?S.preventDefault():I.previousKeyMatched=!1}p&&p(S)},y=yt(x,n);let v=-1;C.exports.Children.forEach(l,(S,P)=>{!C.exports.isValidElement(S)||S.props.disabled||(m==="selectedMenu"&&S.props.selected||v===-1)&&(v=P)});const b=C.exports.Children.map(l,(S,P)=>{if(P===v){const A={};return a&&(A.autoFocus=!0),S.props.tabIndex===void 0&&m==="selectedMenu"&&(A.tabIndex=0),C.exports.cloneElement(S,A)}return S});return D.exports.jsx(ml,R({role:"menu",ref:y,className:u,onKeyDown:_,tabIndex:o?0:-1},h,{children:b}))});var Lhe=Ahe;function Mhe(e){return De("MuiPopover",e)}Ne("MuiPopover",["root","paper"]);const Nhe=["onEntering"],Dhe=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function N$(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function D$(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function B$(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function cv(e){return typeof e=="function"?e():e}const Bhe=e=>{const{classes:t}=e;return Be({root:["root"],paper:["paper"]},Mhe,t)},Fhe=he(oy,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Uhe=he(wo,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),zhe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiPopover"}),{action:o,anchorEl:a,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:c="anchorEl",children:f,className:p,container:m,elevation:h=8,marginThreshold:x=16,open:E,PaperProps:_={},transformOrigin:y={vertical:"top",horizontal:"left"},TransitionComponent:v=b0,transitionDuration:b="auto",TransitionProps:{onEntering:S}={}}=r,P=ye(r.TransitionProps,Nhe),A=ye(r,Dhe),k=C.exports.useRef(),I=yt(k,_.ref),L=R({},r,{anchorOrigin:l,anchorReference:c,elevation:h,marginThreshold:x,PaperProps:_,transformOrigin:y,TransitionComponent:v,transitionDuration:b,TransitionProps:P}),N=Bhe(L),B=C.exports.useCallback(()=>{if(c==="anchorPosition")return u;const j=cv(a),ne=(j&&j.nodeType===1?j:$n(k.current).body).getBoundingClientRect();return{top:ne.top+N$(ne,l.vertical),left:ne.left+D$(ne,l.horizontal)}},[a,l.horizontal,l.vertical,u,c]),V=C.exports.useCallback(j=>({vertical:N$(j,y.vertical),horizontal:D$(j,y.horizontal)}),[y.horizontal,y.vertical]),ee=C.exports.useCallback(j=>{const te={width:j.offsetWidth,height:j.offsetHeight},ne=V(te);if(c==="none")return{top:null,left:null,transformOrigin:B$(ne)};const me=B();let H=me.top-ne.vertical,q=me.left-ne.horizontal;const Z=H+te.height,ue=q+te.width,K=jo(cv(a)),U=K.innerHeight-x,Y=K.innerWidth-x;if(H<x){const re=H-x;H-=re,ne.vertical+=re}else if(Z>U){const re=Z-U;H-=re,ne.vertical+=re}if(q<x){const re=q-x;q-=re,ne.horizontal+=re}else if(ue>Y){const re=ue-Y;q-=re,ne.horizontal+=re}return{top:`${Math.round(H)}px`,left:`${Math.round(q)}px`,transformOrigin:B$(ne)}},[a,c,B,V,x]),X=C.exports.useCallback(()=>{const j=k.current;if(!j)return;const te=ee(j);te.top!==null&&(j.style.top=te.top),te.left!==null&&(j.style.left=te.left),j.style.transformOrigin=te.transformOrigin},[ee]),ie=(j,te)=>{S&&S(j,te),X()};C.exports.useEffect(()=>{E&&X()}),C.exports.useImperativeHandle(o,()=>E?{updatePosition:()=>{X()}}:null,[E,X]),C.exports.useEffect(()=>{if(!E)return;const j=Qp(()=>{X()}),te=jo(a);return te.addEventListener("resize",j),()=>{j.clear(),te.removeEventListener("resize",j)}},[a,E,X]);let J=b;b==="auto"&&!v.muiSupportAuto&&(J=void 0);const G=m||(a?$n(cv(a)).body:void 0);return D.exports.jsx(Fhe,R({BackdropProps:{invisible:!0},className:_e(N.root,p),container:G,open:E,ref:n,ownerState:L},A,{children:D.exports.jsx(v,R({appear:!0,in:E,onEntering:ie,timeout:J},P,{children:D.exports.jsx(Uhe,R({elevation:h},_,{ref:I,className:_e(N.paper,_.className),children:f}))}))}))});var tO=zhe;function jhe(e){return De("MuiMenu",e)}Ne("MuiMenu",["root","paper","list"]);const Whe=["onEntering"],Hhe=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],Vhe={vertical:"top",horizontal:"right"},Ghe={vertical:"top",horizontal:"left"},Khe=e=>{const{classes:t}=e;return Be({root:["root"],paper:["paper"],list:["list"]},jhe,t)},qhe=he(tO,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Yhe=he(wo,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Xhe=he(Lhe,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Qhe=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:a,disableAutoFocusItem:l=!1,MenuListProps:u={},onClose:c,open:f,PaperProps:p={},PopoverClasses:m,transitionDuration:h="auto",TransitionProps:{onEntering:x}={},variant:E="selectedMenu"}=r,_=ye(r.TransitionProps,Whe),y=ye(r,Hhe),v=Eo(),b=v.direction==="rtl",S=R({},r,{autoFocus:o,disableAutoFocusItem:l,MenuListProps:u,onEntering:x,PaperProps:p,transitionDuration:h,TransitionProps:_,variant:E}),P=Khe(S),A=o&&!l&&f,k=C.exports.useRef(null),I=(B,V)=>{k.current&&k.current.adjustStyleForScrollbar(B,v),x&&x(B,V)},L=B=>{B.key==="Tab"&&(B.preventDefault(),c&&c(B,"tabKeyDown"))};let N=-1;return C.exports.Children.map(a,(B,V)=>{!C.exports.isValidElement(B)||B.props.disabled||(E==="selectedMenu"&&B.props.selected||N===-1)&&(N=V)}),D.exports.jsx(qhe,R({classes:m,onClose:c,anchorOrigin:{vertical:"bottom",horizontal:b?"right":"left"},transformOrigin:b?Vhe:Ghe,PaperProps:R({component:Yhe},p,{classes:R({},p.classes,{root:P.paper})}),className:P.root,open:f,ref:n,transitionDuration:h,TransitionProps:R({onEntering:I},_),ownerState:S},y,{children:D.exports.jsx(Xhe,R({onKeyDown:L,actions:k,autoFocus:o&&(N===-1||l),autoFocusItem:A,variant:E},u,{className:_e(P.list,u.className),children:a}))}))});var nO=Qhe;function Zhe(e){return De("MuiMenuItem",e)}const Jhe=Ne("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var xu=Jhe;const ege=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],tge=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},nge=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:l}=e,c=Be({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},Zhe,l);return R({},l,c)},rge=he(Ba,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:tge})(({theme:e,ownerState:t})=>R({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${xu.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${xu.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${xu.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${xu.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${xu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${R$.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${R$.inset}`]:{marginLeft:52},[`& .${lp.root}`]:{marginTop:0,marginBottom:0},[`& .${lp.inset}`]:{paddingLeft:36},[`& .${L$.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&R({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${L$.root} svg`]:{fontSize:"1.25rem"}}))),oge=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:a="li",dense:l=!1,divider:u=!1,disableGutters:c=!1,focusVisibleClassName:f,role:p="menuitem",tabIndex:m}=r,h=ye(r,ege),x=C.exports.useContext(rl),E={dense:l||x.dense||!1,disableGutters:c},_=C.exports.useRef(null);bo(()=>{o&&_.current&&_.current.focus()},[o]);const y=R({},r,{dense:E.dense,divider:u,disableGutters:c}),v=nge(r),b=yt(_,n);let S;return r.disabled||(S=m!==void 0?m:-1),D.exports.jsx(rl.Provider,{value:E,children:D.exports.jsx(rge,R({ref:b,role:p,tabIndex:S,component:a,focusVisibleClassName:_e(v.focusVisible,f)},h,{ownerState:y,classes:v}))})});var rO=oge;function ige(e){return De("MuiNativeSelect",e)}const age=Ne("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);var vx=age;const sge=["className","disabled","IconComponent","inputRef","variant"],lge=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e,l={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${ce(n)}`,a&&"iconOpen",r&&"disabled"]};return Be(l,ige,t)},oO=({ownerState:e,theme:t})=>R({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},[`&.${vx.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:t.shape.borderRadius,"&:focus":{borderRadius:t.shape.borderRadius},"&&&":{paddingRight:32}}),uge=he("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:mr,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${vx.multiple}`]:t.multiple}]}})(oO),iO=({ownerState:e,theme:t})=>R({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:t.palette.action.active,[`&.${vx.disabled}`]:{color:t.palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),cge=he("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ce(n.variant)}`],n.open&&t.iconOpen]}})(iO),dge=C.exports.forwardRef(function(t,n){const{className:r,disabled:o,IconComponent:a,inputRef:l,variant:u="standard"}=t,c=ye(t,sge),f=R({},t,{disabled:o,variant:u}),p=lge(f);return D.exports.jsxs(C.exports.Fragment,{children:[D.exports.jsx(uge,R({ownerState:f,className:_e(p.select,r),disabled:o,ref:l||n},c)),t.multiple?null:D.exports.jsx(cge,{as:a,ownerState:f,className:p.icon})]})});var fge=dge,F$;const pge=["children","classes","className","label","notched"],hge=he("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),gge=he("legend")(({ownerState:e,theme:t})=>R({float:"unset",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&R({display:"block",width:"auto",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function mge(e){const{className:t,label:n,notched:r}=e,o=ye(e,pge),a=n!=null&&n!=="",l=R({},e,{notched:r,withLabel:a});return D.exports.jsx(hge,R({"aria-hidden":!0,className:t,ownerState:l},o,{children:D.exports.jsx(gge,{ownerState:l,children:a?D.exports.jsx("span",{children:n}):F$||(F$=D.exports.jsx("span",{className:"notranslate",children:"\u200B"}))})}))}const vge=["components","fullWidth","inputComponent","label","multiline","notched","type"],yge=e=>{const{classes:t}=e,r=Be({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Bde,t);return R({},t,r)},xge=he(qh,{shouldForwardProp:e=>mr(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Gh})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return R({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Io.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Io.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Io.focused} .${Io.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Io.error} .${Io.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Io.disabled} .${Io.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&R({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),bge=he(mge,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),_ge=he(Yh,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Kh})(({theme:e,ownerState:t})=>R({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),aO=C.exports.forwardRef(function(t,n){var r;const o=Ue({props:t,name:"MuiOutlinedInput"}),{components:a={},fullWidth:l=!1,inputComponent:u="input",label:c,multiline:f=!1,notched:p,type:m="text"}=o,h=ye(o,vge),x=yge(o),E=na(),_=kl({props:o,muiFormControl:E,states:["required"]}),y=R({},o,{color:_.color||"primary",disabled:_.disabled,error:_.error,focused:_.focused,formControl:E,fullWidth:l,hiddenLabel:_.hiddenLabel,multiline:f,size:_.size,type:m});return D.exports.jsx(Zc,R({components:R({Root:xge,Input:_ge},a),renderSuffix:v=>D.exports.jsx(bge,{ownerState:y,className:x.notchedOutline,label:c!=null&&c!==""&&_.required?r||(r=D.exports.jsxs(C.exports.Fragment,{children:[c,"\xA0","*"]})):c,notched:typeof p!="undefined"?p:Boolean(v.startAdornment||v.filled||v.focused)}),fullWidth:l,inputComponent:u,multiline:f,ref:n,type:m},h,{classes:R({},x,{notchedOutline:null})}))});aO.muiName="Input";var sO=aO,U$=Lr(D.exports.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),z$=Lr(D.exports.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");function Cge(e){return De("MuiSelect",e)}const Ege=Ne("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);var df=Ege,j$;const wge=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Sge=he("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${df.select}`]:t.select},{[`&.${df.select}`]:t[n.variant]},{[`&.${df.multiple}`]:t.multiple}]}})(oO,{[`&.${df.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),$ge=he("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ce(n.variant)}`],n.open&&t.iconOpen]}})(iO),Pge=he("input",{shouldForwardProp:e=>VW(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function W$(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function Rge(e){return e==null||typeof e=="string"&&!e.trim()}const Tge=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e,l={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${ce(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Be(l,Cge,t)},Ige=C.exports.forwardRef(function(t,n){const{"aria-describedby":r,"aria-label":o,autoFocus:a,autoWidth:l,children:u,className:c,defaultOpen:f,defaultValue:p,disabled:m,displayEmpty:h,IconComponent:x,inputRef:E,labelId:_,MenuProps:y={},multiple:v,name:b,onBlur:S,onChange:P,onClose:A,onFocus:k,onOpen:I,open:L,readOnly:N,renderValue:B,SelectDisplayProps:V={},tabIndex:ee,value:X,variant:ie="standard"}=t,J=ye(t,wge),[G,j]=Ui({controlled:X,default:p,name:"Select"}),[te,ne]=Ui({controlled:L,default:f,name:"Select"}),me=C.exports.useRef(null),H=C.exports.useRef(null),[q,Z]=C.exports.useState(null),{current:ue}=C.exports.useRef(L!=null),[K,U]=C.exports.useState(),Y=yt(n,E),re=C.exports.useCallback(be=>{H.current=be,be&&Z(be)},[]);C.exports.useImperativeHandle(Y,()=>({focus:()=>{H.current.focus()},node:me.current,value:G}),[G]),C.exports.useEffect(()=>{f&&te&&q&&!ue&&(U(l?null:q.clientWidth),H.current.focus())},[q,l]),C.exports.useEffect(()=>{a&&H.current.focus()},[a]),C.exports.useEffect(()=>{if(!_)return;const be=$n(H.current).getElementById(_);if(be){const Xe=()=>{getSelection().isCollapsed&&H.current.focus()};return be.addEventListener("click",Xe),()=>{be.removeEventListener("click",Xe)}}},[_]);const fe=(be,Xe)=>{be?I&&I(Xe):A&&A(Xe),ue||(U(l?null:q.clientWidth),ne(be))},we=be=>{be.button===0&&(be.preventDefault(),H.current.focus(),fe(!0,be))},ke=be=>{fe(!1,be)},Ie=C.exports.Children.toArray(u),Ce=be=>{const Xe=Ie.map(et=>et.props.value).indexOf(be.target.value);if(Xe===-1)return;const Se=Ie[Xe];j(Se.props.value),P&&P(be,Se)},We=be=>Xe=>{let Se;if(!!Xe.currentTarget.hasAttribute("tabindex")){if(v){Se=Array.isArray(G)?G.slice():[];const et=G.indexOf(be.props.value);et===-1?Se.push(be.props.value):Se.splice(et,1)}else Se=be.props.value;if(be.props.onClick&&be.props.onClick(Xe),G!==Se&&(j(Se),P)){const et=Xe.nativeEvent||Xe,Nt=new et.constructor(et.type,et);Object.defineProperty(Nt,"target",{writable:!0,value:{value:Se,name:b}}),P(Nt,be)}v||fe(!1,Xe)}},Me=be=>{N||[" ","ArrowUp","ArrowDown","Enter"].indexOf(be.key)!==-1&&(be.preventDefault(),fe(!0,be))},ft=q!==null&&te,ze=be=>{!ft&&S&&(Object.defineProperty(be,"target",{writable:!0,value:{value:G,name:b}}),S(be))};delete J["aria-invalid"];let bt,kt;const Ge=[];let qe=!1;(mx({value:G})||h)&&(B?bt=B(G):qe=!0);const vt=Ie.map((be,Xe,Se)=>{if(!C.exports.isValidElement(be))return null;let et;if(v){if(!Array.isArray(G))throw new Error(Gi(2));et=G.some(Xt=>W$(Xt,be.props.value)),et&&qe&&Ge.push(be.props.children)}else et=W$(G,be.props.value),et&&qe&&(kt=be.props.children);if(be.props.value===void 0)return C.exports.cloneElement(be,{"aria-readonly":!0,role:"option"});const Nt=()=>{if(G)return et;const Xt=Se.find(Cn=>Cn.props.value!==void 0&&Cn.props.disabled!==!0);return be===Xt?!0:et};return C.exports.cloneElement(be,{"aria-selected":et?"true":"false",onClick:We(be),onKeyUp:Xt=>{Xt.key===" "&&Xt.preventDefault(),be.props.onKeyUp&&be.props.onKeyUp(Xt)},role:"option",selected:Se[0].props.value===void 0||Se[0].props.disabled===!0?Nt():et,value:void 0,"data-value":be.props.value})});qe&&(v?Ge.length===0?bt=null:bt=Ge.reduce((be,Xe,Se)=>(be.push(Xe),Se<Ge.length-1&&be.push(", "),be),[]):bt=kt);let zt=K;!l&&ue&&q&&(zt=q.clientWidth);let nt;typeof ee!="undefined"?nt=ee:nt=m?null:0;const rt=V.id||(b?`mui-component-select-${b}`:void 0),pt=R({},t,{variant:ie,value:G,open:ft}),Pe=Tge(pt);return D.exports.jsxs(C.exports.Fragment,{children:[D.exports.jsx(Sge,R({ref:re,tabIndex:nt,role:"button","aria-disabled":m?"true":void 0,"aria-expanded":ft?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[_,rt].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:Me,onMouseDown:m||N?null:we,onBlur:ze,onFocus:k},V,{ownerState:pt,className:_e(V.className,Pe.select,c),id:rt,children:Rge(bt)?j$||(j$=D.exports.jsx("span",{className:"notranslate",children:"\u200B"})):bt})),D.exports.jsx(Pge,R({value:Array.isArray(G)?G.join(","):G,name:b,ref:me,"aria-hidden":!0,onChange:Ce,tabIndex:-1,disabled:m,className:Pe.nativeInput,autoFocus:a,ownerState:pt},J)),D.exports.jsx($ge,{as:x,className:Pe.icon,ownerState:pt}),D.exports.jsx(nO,R({id:`menu-${b||""}`,anchorEl:q,open:ft,onClose:ke,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},y,{MenuListProps:R({"aria-labelledby":_,role:"listbox",disableListWrap:!0},y.MenuListProps),PaperProps:R({},y.PaperProps,{style:R({minWidth:zt},y.PaperProps!=null?y.PaperProps.style:null)}),children:vt}))]})});var Oge=Ige,H$,V$;const kge=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Age=e=>{const{classes:t}=e;return t},yx={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>mr(e)&&e!=="variant",slot:"Root"},Lge=he(ZI,yx)(""),Mge=he(sO,yx)(""),Nge=he(YI,yx)(""),lO=C.exports.forwardRef(function(t,n){const r=Ue({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:a,classes:l={},className:u,defaultOpen:c=!1,displayEmpty:f=!1,IconComponent:p=VI,id:m,input:h,inputProps:x,label:E,labelId:_,MenuProps:y,multiple:v=!1,native:b=!1,onClose:S,onOpen:P,open:A,renderValue:k,SelectDisplayProps:I,variant:L="outlined"}=r,N=ye(r,kge),B=b?fge:Oge,V=na(),X=kl({props:r,muiFormControl:V,states:["variant"]}).variant||L,ie=h||{standard:H$||(H$=D.exports.jsx(Lge,{})),outlined:D.exports.jsx(Mge,{label:E}),filled:V$||(V$=D.exports.jsx(Nge,{}))}[X],J=R({},r,{variant:X,classes:l}),G=Age(J),j=yt(n,ie.ref);return C.exports.cloneElement(ie,R({inputComponent:B,inputProps:R({children:a,IconComponent:p,variant:X,type:void 0,multiple:v},b?{id:m}:{autoWidth:o,defaultOpen:c,displayEmpty:f,labelId:_,MenuProps:y,onClose:S,onOpen:P,open:A,renderValue:k,SelectDisplayProps:R({id:m},I)},x,{classes:x?Qr(G,x.classes):G},h?h.props.inputProps:{})},v&&b&&X==="outlined"?{notched:!0}:{},{ref:j,className:_e(ie.props.className,u)},!h&&{variant:X},N))});lO.muiName="Select";var uO=lO;const Dge=C.exports.createContext();var cO=Dge;function Bge(e){return De("MuiTable",e)}Ne("MuiTable",["root","stickyHeader"]);const Fge=["className","component","padding","size","stickyHeader"],Uge=e=>{const{classes:t,stickyHeader:n}=e;return Be({root:["root",n&&"stickyHeader"]},Bge,t)},zge=he("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>R({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":R({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),G$="table",jge=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTable"}),{className:o,component:a=G$,padding:l="normal",size:u="medium",stickyHeader:c=!1}=r,f=ye(r,Fge),p=R({},r,{component:a,padding:l,size:u,stickyHeader:c}),m=Uge(p),h=C.exports.useMemo(()=>({padding:l,size:u,stickyHeader:c}),[l,u,c]);return D.exports.jsx(cO.Provider,{value:h,children:D.exports.jsx(zge,R({as:a,role:a===G$?null:"table",ref:n,className:_e(m.root,o),ownerState:p},f))})});var Wge=jge;const Hge=C.exports.createContext();var Xh=Hge;function Vge(e){return De("MuiTableBody",e)}Ne("MuiTableBody",["root"]);const Gge=["className","component"],Kge=e=>{const{classes:t}=e;return Be({root:["root"]},Vge,t)},qge=he("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),Yge={variant:"body"},K$="tbody",Xge=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTableBody"}),{className:o,component:a=K$}=r,l=ye(r,Gge),u=R({},r,{component:a}),c=Kge(u);return D.exports.jsx(Xh.Provider,{value:Yge,children:D.exports.jsx(qge,R({className:_e(c.root,o),as:a,ref:n,role:a===K$?null:"rowgroup",ownerState:u},l))})});var Qge=Xge;function Zge(e){return De("MuiTableCell",e)}const Jge=Ne("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);var eme=Jge;const tme=["align","className","component","padding","scope","size","sortDirection","variant"],nme=e=>{const{classes:t,variant:n,align:r,padding:o,size:a,stickyHeader:l}=e,u={root:["root",n,l&&"stickyHeader",r!=="inherit"&&`align${ce(r)}`,o!=="normal"&&`padding${ce(o)}`,`size${ce(a)}`]};return Be(u,Zge,t)},rme=he("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${ce(n.size)}`],n.padding!=="normal"&&t[`padding${ce(n.padding)}`],n.align!=="inherit"&&t[`align${ce(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>R({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
    ${e.palette.mode==="light"?cR(st(e.palette.divider,1),.88):uR(st(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${eme.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),ome=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTableCell"}),{align:o="inherit",className:a,component:l,padding:u,scope:c,size:f,sortDirection:p,variant:m}=r,h=ye(r,tme),x=C.exports.useContext(cO),E=C.exports.useContext(Xh),_=E&&E.variant==="head";let y;l?y=l:y=_?"th":"td";let v=c;!v&&_&&(v="col");const b=m||E&&E.variant,S=R({},r,{align:o,component:y,padding:u||(x&&x.padding?x.padding:"normal"),size:f||(x&&x.size?x.size:"medium"),sortDirection:p,stickyHeader:b==="head"&&x&&x.stickyHeader,variant:b}),P=nme(S);let A=null;return p&&(A=p==="asc"?"ascending":"descending"),D.exports.jsx(rme,R({as:y,ref:n,className:_e(P.root,a),"aria-sort":A,scope:v,ownerState:S},h))});var Pc=ome;function ime(e){return De("MuiTableContainer",e)}Ne("MuiTableContainer",["root"]);const ame=["className","component"],sme=e=>{const{classes:t}=e;return Be({root:["root"]},ime,t)},lme=he("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),ume=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTableContainer"}),{className:o,component:a="div"}=r,l=ye(r,ame),u=R({},r,{component:a}),c=sme(u);return D.exports.jsx(lme,R({ref:n,as:a,className:_e(c.root,o),ownerState:u},l))});var cme=ume;function dme(e){return De("MuiTableHead",e)}Ne("MuiTableHead",["root"]);const fme=["className","component"],pme=e=>{const{classes:t}=e;return Be({root:["root"]},dme,t)},hme=he("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),gme={variant:"head"},q$="thead",mme=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTableHead"}),{className:o,component:a=q$}=r,l=ye(r,fme),u=R({},r,{component:a}),c=pme(u);return D.exports.jsx(Xh.Provider,{value:gme,children:D.exports.jsx(hme,R({as:a,className:_e(c.root,o),ref:n,role:a===q$?null:"rowgroup",ownerState:u},l))})});var vme=mme,Y$=Lr(D.exports.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),X$=Lr(D.exports.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),Q$,Z$,J$,e4,t4,n4,r4,o4;const yme=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],xme=C.exports.forwardRef(function(t,n){const{backIconButtonProps:r,count:o,getItemAriaLabel:a,nextIconButtonProps:l,onPageChange:u,page:c,rowsPerPage:f,showFirstButton:p,showLastButton:m}=t,h=ye(t,yme),x=Eo(),E=b=>{u(b,0)},_=b=>{u(b,c-1)},y=b=>{u(b,c+1)},v=b=>{u(b,Math.max(0,Math.ceil(o/f)-1))};return D.exports.jsxs("div",R({ref:n},h,{children:[p&&D.exports.jsx(rn,{onClick:E,disabled:c===0,"aria-label":a("first",c),title:a("first",c),children:x.direction==="rtl"?Q$||(Q$=D.exports.jsx(z$,{})):Z$||(Z$=D.exports.jsx(U$,{}))}),D.exports.jsx(rn,R({onClick:_,disabled:c===0,color:"inherit","aria-label":a("previous",c),title:a("previous",c)},r,{children:x.direction==="rtl"?J$||(J$=D.exports.jsx(X$,{})):e4||(e4=D.exports.jsx(Y$,{}))})),D.exports.jsx(rn,R({onClick:y,disabled:o!==-1?c>=Math.ceil(o/f)-1:!1,color:"inherit","aria-label":a("next",c),title:a("next",c)},l,{children:x.direction==="rtl"?t4||(t4=D.exports.jsx(Y$,{})):n4||(n4=D.exports.jsx(X$,{}))})),m&&D.exports.jsx(rn,{onClick:v,disabled:c>=Math.ceil(o/f)-1,"aria-label":a("last",c),title:a("last",c),children:x.direction==="rtl"?r4||(r4=D.exports.jsx(U$,{})):o4||(o4=D.exports.jsx(z$,{}))})]}))});var bme=xme;function _me(e){return De("MuiTablePagination",e)}const Cme=Ne("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Ju=Cme,i4;const Eme=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],wme=he(Pc,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),Sme=he(Xu,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>R({[`& .${Ju.actions}`]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${Ju.actions}`]:{flexShrink:0,marginLeft:20}})),$me=he("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),Pme=he("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>R({},e.typography.body2,{flexShrink:0})),Rme=he(uO,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>R({[`& .${Ju.selectIcon}`]:t.selectIcon,[`& .${Ju.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${Ju.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),Tme=he(rO,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),Ime=he("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>R({},e.typography.body2,{flexShrink:0}));function Ome({from:e,to:t,count:n}){return`${e}\u2013${t} of ${n!==-1?n:`more than ${t}`}`}function kme(e){return`Go to ${e} page`}const Ame=e=>{const{classes:t}=e;return Be({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},_me,t)},Lme=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTablePagination"}),{ActionsComponent:o=bme,backIconButtonProps:a,className:l,colSpan:u,component:c=Pc,count:f,getItemAriaLabel:p=kme,labelDisplayedRows:m=Ome,labelRowsPerPage:h="Rows per page:",nextIconButtonProps:x,onPageChange:E,onRowsPerPageChange:_,page:y,rowsPerPage:v,rowsPerPageOptions:b=[10,25,50,100],SelectProps:S={},showFirstButton:P=!1,showLastButton:A=!1}=r,k=ye(r,Eme),I=r,L=Ame(I),N=S.native?"option":Tme;let B;(c===Pc||c==="td")&&(B=u||1e3);const V=Ma(S.id),ee=Ma(S.labelId),X=()=>f===-1?(y+1)*v:v===-1?f:Math.min(f,(y+1)*v);return D.exports.jsx(wme,R({colSpan:B,ref:n,as:c,ownerState:I,className:_e(L.root,l)},k,{children:D.exports.jsxs(Sme,{className:L.toolbar,children:[D.exports.jsx($me,{className:L.spacer}),b.length>1&&D.exports.jsx(Pme,{className:L.selectLabel,id:ee,children:h}),b.length>1&&D.exports.jsx(Rme,R({variant:"standard"},!S.variant&&{input:i4||(i4=D.exports.jsx(Zc,{}))},{value:v,onChange:_,id:V,labelId:ee},S,{classes:R({},S.classes,{root:_e(L.input,L.selectRoot,(S.classes||{}).root),select:_e(L.select,(S.classes||{}).select),icon:_e(L.selectIcon,(S.classes||{}).icon)}),children:b.map(ie=>C.exports.createElement(N,R({},!Zs(N)&&{ownerState:I},{className:L.menuItem,key:ie.label?ie.label:ie,value:ie.value?ie.value:ie}),ie.label?ie.label:ie))})),D.exports.jsx(Ime,{className:L.displayedRows,children:m({from:f===0?0:y*v+1,to:X(),count:f===-1?-1:f,page:y})}),D.exports.jsx(o,{className:L.actions,backIconButtonProps:a,count:f,nextIconButtonProps:x,onPageChange:E,page:y,rowsPerPage:v,showFirstButton:P,showLastButton:A,getItemAriaLabel:p})]})}))});var Mme=Lme;function Nme(e){return De("MuiTableRow",e)}const Dme=Ne("MuiTableRow",["root","selected","hover","head","footer"]);var a4=Dme;const Bme=["className","component","hover","selected"],Fme=e=>{const{classes:t,selected:n,hover:r,head:o,footer:a}=e;return Be({root:["root",n&&"selected",r&&"hover",o&&"head",a&&"footer"]},Nme,t)},Ume=he("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${a4.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${a4.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:st(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:st(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),s4="tr",zme=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTableRow"}),{className:o,component:a=s4,hover:l=!1,selected:u=!1}=r,c=ye(r,Bme),f=C.exports.useContext(Xh),p=R({},r,{component:a,hover:l,selected:u,head:f&&f.variant==="head",footer:f&&f.variant==="footer"}),m=Fme(p);return D.exports.jsx(Ume,R({as:a,ref:n,className:_e(m.root,o),role:a===s4?null:"row",ownerState:p},c))});var l4=zme;function jme(e){return De("MuiTextField",e)}Ne("MuiTextField",["root"]);const Wme=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],Hme={standard:ZI,filled:YI,outlined:sO},Vme=e=>{const{classes:t}=e;return Be({root:["root"]},jme,t)},Gme=he(Spe,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Kme=C.exports.forwardRef(function(t,n){const r=Ue({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:a=!1,children:l,className:u,color:c="primary",defaultValue:f,disabled:p=!1,error:m=!1,FormHelperTextProps:h,fullWidth:x=!1,helperText:E,id:_,InputLabelProps:y,inputProps:v,InputProps:b,inputRef:S,label:P,maxRows:A,minRows:k,multiline:I=!1,name:L,onBlur:N,onChange:B,onFocus:V,placeholder:ee,required:X=!1,rows:ie,select:J=!1,SelectProps:G,type:j,value:te,variant:ne="outlined"}=r,me=ye(r,Wme),H=R({},r,{autoFocus:a,color:c,disabled:p,error:m,fullWidth:x,multiline:I,required:X,select:J,variant:ne}),q=Vme(H),Z={};ne==="outlined"&&(y&&typeof y.shrink!="undefined"&&(Z.notched=y.shrink),Z.label=P),J&&((!G||!G.native)&&(Z.id=void 0),Z["aria-describedby"]=void 0);const ue=Ma(_),K=E&&ue?`${ue}-helper-text`:void 0,U=P&&ue?`${ue}-label`:void 0,Y=Hme[ne],re=D.exports.jsx(Y,R({"aria-describedby":K,autoComplete:o,autoFocus:a,defaultValue:f,fullWidth:x,multiline:I,name:L,rows:ie,maxRows:A,minRows:k,type:j,value:te,id:ue,inputRef:S,onBlur:N,onChange:B,onFocus:V,placeholder:ee,inputProps:v},Z,b));return D.exports.jsxs(Gme,R({className:_e(q.root,u),disabled:p,error:m,fullWidth:x,ref:n,required:X,color:c,variant:ne,ownerState:H},me,{children:[P!=null&&P!==""&&D.exports.jsx(xhe,R({htmlFor:ue,id:U},y,{children:P})),J?D.exports.jsx(uO,R({"aria-describedby":K,id:ue,labelId:U,value:te,input:re},G,{children:l})):re,E&&D.exports.jsx(kpe,R({id:K},h,{children:E}))]}))});var Al=Kme,xx={},qme=It.exports;Object.defineProperty(xx,"__esModule",{value:!0});var Oi=xx.default=void 0,Yme=qme(Ot),Xme=D.exports,Qme=(0,Yme.default)((0,Xme.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");Oi=xx.default=Qme;var bx={},Zme=It.exports;Object.defineProperty(bx,"__esModule",{value:!0});var dO=bx.default=void 0,Jme=Zme(Ot),eve=D.exports,tve=(0,Jme.default)((0,eve.jsx)("path",{d:"m12.126 8.125 1.937-1.937 3.747 3.747-1.937 1.938zM20.71 5.63l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75L20.71 7a1 1 0 0 0 0-1.37zM2 5l6.63 6.63L3 17.25V21h3.75l5.63-5.62L18 21l2-2L4 3 2 5z"}),"EditOff");dO=bx.default=tve;var nve=So,fO=nve("omit",TT);fO.placeholder=lo;var Qh=fO;function rve(e,t,n){for(var r=-1,o=e==null?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}var ove=rve,ive=VT,ave=BT,sve=ove,lve=Pl,uve=Sh,cve=GT,dve=200;function fve(e,t,n,r){var o=-1,a=ave,l=!0,u=e.length,c=[],f=t.length;if(!u)return c;n&&(t=lve(t,uve(n))),r?(a=sve,l=!1):t.length>=dve&&(a=cve,l=!1,t=new ive(t));e:for(;++o<u;){var p=e[o],m=n==null?p:n(p);if(p=r||p!==0?p:0,l&&m===m){for(var h=f;h--;)if(t[h]===m)continue e;c.push(p)}else a(t,m,r)||c.push(p)}return c}var pve=fve,hve=kh,gve=PT,mve=By;function vve(e,t){return mve(gve(e,t,hve),e+"")}var yve=vve,xve=Cl,bve=ao;function _ve(e){return bve(e)&&xve(e)}var Cve=_ve,Eve=pve,wve=$T,Sve=yve,u4=Cve,$ve=Sve(function(e,t){return u4(e)?Eve(e,wve(t,1,u4,!0)):[]}),Pve=$ve,Rve=So,pO=Rve("noop",zy,Ky);pO.placeholder=lo;var Rc=pO,_x=C.exports.createContext({dnd:{drawImageRef:null,onDragStart:Rc.noop,onDragEnd:Rc.noop}});const Cx=({children:e,onDragStart:t,onDragEnd:n})=>{const r=C.exports.useRef(),o=C.exports.useMemo(()=>({dnd:{drawImageRef:r,onDragStart:t,onDragEnd:n}}),[r.current,t,n]);return w.createElement(_x.Provider,{value:o},e)};Cx.defaultProps={onDragStart:Rc,onDragEnd:Rc};Cx.propTypes={onDragStart:La.func,onDragEnd:La.func};const Ep="\u041D\u0435\u043B\u044C\u0437\u044F \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0442\u0438 \u0432 \u044D\u0442\u043E \u043F\u043E\u043B\u0435",Tve={over:{position:"relative","&:after":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,background:e=>e.palette.action.disabled,outline:e=>`1px dashed ${e.palette.common.white}`,outlineOffset:-2}}},Ex=({active:e=!0,onDrop:t,children:n})=>{const[r,o]=C.exports.useState(0),a=C.exports.useCallback((p,m)=>{!Array.from(p.dataTransfer.types).includes(Ep)||o(x=>x+m)},[]),l=p=>{p.preventDefault(),a(p,1)},u=p=>{p.preventDefault(),a(p,-1)},c=p=>p.preventDefault(),f=p=>{p.preventDefault(),p.dataTransfer.getData("Text")===Ep&&(p.stopPropagation(),o(0),t())};return w.createElement(ge,{onDrop:e?f:void 0,onDragEnter:e?l:void 0,onDragLeave:e?u:void 0,onDragOver:e?c:void 0,sx:r>0?Tve.over:void 0},n)};Ex.defaultProps={onDrop:Rc.noop,classes:{}};Ex.propTypes={onDrop:La.func,active:La.bool};const wx=({children:e,draggableElement:t,className:n,active:r})=>{const{dnd:o}=C.exports.useContext(_x),{drawImageRef:a,onDragStart:l,onDragEnd:u}=o,c=C.exports.useCallback(f=>{!t||(f.dataTransfer.setDragImage(a.current,10,10),f.dataTransfer.setData("Text",Ep),f.dataTransfer.setData(Ep,""),l(t))},[t,l]);return C.exports.createElement("div",{draggable:r,onDragStart:r?c:void 0,onDragEnd:r?u:void 0,className:n},e)};wx.propTypes={draggableElement:La.any,className:La.string};var Sx={},Ive=It.exports;Object.defineProperty(Sx,"__esModule",{value:!0});var hO=Sx.default=void 0,Ove=Ive(Ot),kve=D.exports,Ave=(0,Ove.default)((0,kve.jsx)("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"}),"InsertDriveFile");hO=Sx.default=Ave;const ff={"drag-image":{width:e=>e.spacing(7.5),height:e=>e.spacing(7.5),position:"absolute",background:e=>e.palette.action.disabled,borderRadius:"50%",top:0,transform:"translateY(-500px)"},"drag-image__paper-layer":{display:"inline-block",verticalAlign:"middle",maxWidth:"100%",maxHeight:"100%",position:"absolute",top:"50%",left:"50%",marginTop:e=>e.spacing(-2.5),marginLeft:e=>e.spacing(-2),width:e=>e.spacing(4),height:e=>e.spacing(4)},"drag-image__paper-svg":{color:"common.white"},"drag-image_amount":{position:"absolute",top:"50%",left:"50%",marginTop:e=>e.spacing(-1),marginLeft:e=>e.spacing(-2),fontSize:13,lineHeight:e=>`${e.spacing(2)}px`,height:e=>e.spacing(2),textAlign:"center",width:e=>e.spacing(4)}},gO=({amount:e})=>{const{dnd:t}=C.exports.useContext(_x);return C.exports.createElement(ge,{sx:ff["drag-image"],ref:t.drawImageRef},C.exports.createElement(ge,{component:"span",sx:ff["drag-image__paper-layer"]},C.exports.createElement(hO,{sx:ff["drag-image__paper-svg"],fontSize:"large"})),C.exports.createElement(ge,{sx:ff["drag-image_amount"]},e<100?e:"99+"))};gO.propTypes={amount:La.number};function c4(e){const{moduleName:t,parentUnit:n,clickAdd:r,idAdd:o}=e,{setCurrentSys:a}=Vt(),l=u=>{u.stopPropagation(),addUnitToSut(n,t),r(!0),a(vn(sys))};return w.createElement(ti,null,w.createElement(rn,{id:o,"aria-controls":"unit-add",onClick:l},w.createElement(up,null)))}var $x={};Object.defineProperty($x,"__esModule",{value:!0});var Px=$x.default=void 0;const Lve={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"};var Mve=Lve;Px=$x.default=Mve;var Rx={};Object.defineProperty(Rx,"__esModule",{value:!0});var Tc=Rx.default=void 0;const Nve={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"};var Dve=Nve;Tc=Rx.default=Dve;var Tx={};Object.defineProperty(Tx,"__esModule",{value:!0});var Zh=Tx.default=void 0;const Bve={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"};var Fve=Bve;Zh=Tx.default=Fve;const Lf={valueFont:500},Vs="#ff3150",Uve=Zh.A700,zve="#2a2a2a",jve="#3b3b3b",Wve=gh({palette:{mode:"light",primary:{main:Vs},success:{main:Tc[800],light:Tc.A400},warning:{main:Px.A200},error:{main:Zh.A700}},components:{MuiFormControl:{defaultProps:{size:"small"},styleOverrides:{root:{minWidth:240}}},MuiCssBaseline:{styleOverrides:{html:{height:"100%"},body:{height:"100%",background:Lt[300]}}},MuiCheckbox:{styleOverrides:{root:{color:Vs,"&.Mui-checked":{color:Vs}}}},MuiButton:{styleOverrides:{root:{background:Lt[300],color:Lt[900],fontWeight:400,marginRight:10,paddingRight:20,paddingLeft:20,"&:hover":{background:Lt[400],color:Lt[900]}}}},MuiAppBar:{styleOverrides:{root:{background:Uve}}},MuiPaper:{styleOverrides:{root:{background:Lt[50]}}}}}),Hve=gh({palette:{mode:"dark",primary:{main:Vs},success:{main:Tc[800],light:Tc.A400},warning:{main:Px.A200},error:{main:Zh.A700}},components:{MuiFormControl:{defaultProps:{size:"small"},styleOverrides:{root:{minWidth:240}}},MuiCssBaseline:{styleOverrides:{html:{height:"10%"},body:{height:"100%"},main:{height:"100%"}}},MuiCheckbox:{styleOverrides:{root:{color:Vs,"&.Mui-checked":{color:Vs}}}},MuiButton:{styleOverrides:{root:{background:Lt[600],color:Lt[50],fontWeight:400,marginRight:10,paddingRight:20,paddingLeft:20,"&:hover":{background:Lt[500],color:Lt[50]}}}},MuiAppBar:{styleOverrides:{root:{background:zve}}},MuiPaper:{styleOverrides:{root:{background:jve}}}}}),R0="dark",d4="light",mO=C.exports.createContext({toggleThemeMode:()=>{},mode:"dark"}),Vve=()=>localStorage.getItem("mode_current")||R0;function Gve({children:e}){const[t,n]=C.exports.useState(Vve()),r=t===R0?Hve:Wve;C.exports.useEffect(()=>{localStorage.setItem("mode_current",t)},[t]);const o=()=>{n(u=>u===d4?R0:d4)},a=C.exports.useMemo(()=>({toggleDarkMode:o,mode:t}),[t]);return w.createElement(mO.Provider,{value:a},w.createElement(K9,{theme:r},e))}const ra=()=>C.exports.useContext(mO),vO={nameOfConfig:e=>({borderLeft:`${e.spacing(.5)} solid ${e.palette.success.main}`,borderRight:`${e.spacing(.5)} solid ${e.palette.success.main}`,mb:.5,pl:1,pr:1,borderRadius:e.spacing(1)})},Kve={currentUnitType:{},currentUnitToStringIdGroup:[]},yO=so({name:"unit",initialState:Kve,reducers:{getCurrentUnitType(e,{payload:t}){const n={_unitType:t[0],_sun:t[1]};e.currentUnitType=n},setUnitToStringId(e,{payload:t}){e.currentUnitToStringId=t;const n=[...e.currentUnitToStringIdGroup,t];e.currentUnitToStringIdGroup=n.filter((r,o,a)=>o===0||r!==a[o-1])}}}),qve=yO.reducer,Yve={...yO.actions};function Ix(){const e=RR();return C.exports.useMemo(()=>cT(Yve,e),[e])}const Xve=e=>e.unitType.currentUnitToStringId,Qve=e=>e.unitType.currentUnitToStringIdGroup;function Zve(){return Ar(Xve)}function xO(){return Ar(Qve)}const At={listItem:{borderRadius:"5px","&::first-letter":{textTransform:"uppercase"}},listItemUnit:({mode:e})=>({background:e==="dark"?Lt[900]:Lt[400],p:.5}),listItemDeleted:e=>({textDecoration:`${e.spacing(.4)} underline ${e.palette.error.main}`}),alarmFrame:{pl:.5,pr:.5,borderRadius:"5px",outlineOffset:"-3px"},alertColor:{outline:e=>`${e.spacing(.4)} solid ${e.palette.error.main}`},faultColor:{outline:e=>`${e.spacing(.3)} solid ${e.palette.warning.main}`},listItemButtonDisable:e=>({pt:.1,pb:.1,pl:e}),listItemLabelIsTitle:{pointerEvents:"none",marginTop:"-10px"},configuredMark:e=>({width:e.spacing(1),height:e.spacing(1),backgroundColor:"success.main",borderRadius:e.spacing(.5),mx:.3,border:`${e.spacing(.5)} solid ${e.palette.success.main}`}),deleteGroup:{position:"absolute",ml:-8},deleteGroupIcon:{ml:.5,mr:.5},badgeStyle:{"& .MuiBadge-badge":{color:"common.white",backgroundColor:Lt[700]}},checkIconHover:({isHovered:e,isUnitSelected:t})=>({opacity:e||t?1:0,"&:hover":{opacity:"1"}}),checkIcon:{mr:.5,mt:.5},checkIconSelected:{color:Lt[700]},expandModuleCover:{ml:"auto"},relayGroupContainer:{mt:-4.5,ml:25,display:"flex"},relayGroupExist:{pt:5},relayGroupNotExist:{pt:.8},relayGroupListItemWrapper:e=>({position:"absolute",left:e.spacing(-1),height:e.spacing(4),width:"100%",zIndex:"tooltip"}),relayGroupLabel:{position:"absolute",ml:-12,mt:.5,fontWeight:400,fontSize:14,"&::first-letter":{textTransform:"uppercase"}},relayGroupButtonContainer:{mt:-.6,ml:-2,zIndex:"tooltip"}};function Jve(e){var zt;const{actualUnit:t,canExpanded:n,children:r,isDeleted:o,isLabelEqualTitle:a,isOpenOnFault:l,isRedAlertStatus:u,isUnit:c,isUnitStatusFault:f,label:p,moduleName:m,onClick:h,onClickOpen:x,onSelectUnit:E=zy,open:_,options:y=[],padding:v,parentUnit:b,selected:S,breadCrumbsUnitWithSun:P,configName:A}=e,{mode:k}=ra(),I=er(),L=!Ua(y),[N,B]=C.exports.useState(!1),[V,ee]=C.exports.useState(0),[X,ie]=C.exports.useState(""),[J,G]=C.exports.useState(!1),[j,te]=C.exports.useState(!0),[ne,me]=hr(Yc,{}),[H,q]=hr(Xc),Z=Ol();C.exports.useEffect(()=>{var rt;if(Ua(b))return;ee(Qy(b,m));const nt=(rt=Zn(b,"_Box"))==null?void 0:rt._sun;ie(nt)},[r,b,m]);const{currentSys:ue,setCurrentSys:K,currentUnitGroup:U,setCurrentUnitGroup:Y}=Vt(),re=Ix();xO();const fe=()=>{B(!0)},we=()=>{B(!1)},ke=nt=>{nt.stopPropagation(),x(!0),!J&&h(),q(u2string(t))},Ie=()=>{x(!1)};C.exports.useEffect(()=>{me(Z);const nt=vce(Z);G(nt)},[Z,ne]);const Ce=yI(ue,X),We=m===Il||m===Tl,Me=L&&m&&m!==Qu&&!We,ft=n&&!a&&!/Module_\d_InputLink/.test(P)&&!/Module_\d_OutputLink/.test(P),ze=L&&m&&We,bt=()=>{ku(Ce,m,b,"_deleted",!0),ku(Ce,m,b,"_configured",!1),K(vn(sys))},kt=()=>{ku(Ce,m,b,"_deleted",!1),ku(Ce,m,b,"_configured",!0),K(vn(sys))},Ge=()=>te(nt=>!nt),qe=nt=>{if(nt.stopPropagation(),t._isUnitSelected?t._isUnitSelected=!1:t._isUnitSelected=!0,t._isUnitSelected){const rt=getUnitID(t).join("");U[rt]=t,Y(U)}if(!t._isUnitSelected){const rt=getUnitID(t).join("");delete U[rt],Y(U)}K(vn(sys))},vt=nt=>{h==null||h();const rt=u2string(t);re.setUnitToStringId(rt),q(rt);const pt=getUnitID(t).join("");if(!nt.ctrlKey){const Pe=Object.keys(U);Pe.forEach((be,Xe)=>{U[Pe[Xe]]._configured=!0,U[Pe[Xe]]._isUnitSelected=!1,delete U[Pe[Xe]],Y({})}),U[pt]=t,Y(U),t._isUnitSelected=!0}nt.ctrlKey&&qe(nt),K(vn(sys))};return w.createElement(w.Fragment,null,w.createElement(ol,{id:`id_item_${P}`,sx:a?[At.listItemButtonDisable(v),At.listItemLabelIsTitle]:At.listItemButtonDisable(v),selected:a?!1:S,onClick:vt},w.createElement(ge,{onClick:qe,sx:At.checkIconHover({isHovered:N,isUnitSelected:t==null?void 0:t._isUnitSelected})},c&&w.createElement(sx,{sx:t!=null&&t._isUnitSelected?[At.checkIcon,At.checkIconSelected]:At.checkIcon})),c&&((zt=t==null?void 0:t.config)==null?void 0:zt.backLink)&&w.createElement(ge,{component:"span"},Ia(unitIdToUnit2(t.config.backLink),"areaNum"),"."),c&&(t==null?void 0:t._configured)&&w.createElement(ge,{sx:At.configuredMark}),_ce(V,L,m)&&w.createElement(ge,{sx:At.deleteGroup},w.createElement(ux,{id:`delete_group_${P}`,sx:At.deleteGroupIcon,color:"error",onClick:bt}),w.createElement(Qc,{sx:At.deleteGroupIcon,color:"success",onClick:kt})),w.createElement(ge,{onDoubleClick:ke,sx:(u?[At.alarmFrame,At.alertColor]:void 0)||(f?[At.alarmFrame,At.faultColor]:void 0)},w.createElement(wx,{draggableElement:t,active:Boolean(t)},w.createElement(Hc,{id:`id_item_text_${P}`,primary:w.createElement(ge,null,w.createElement(ge,{component:"span",id:`name_of_${P}`,sx:A?vO.nameOfConfig:void 0},A),w.createElement(ge,{sx:c?[At.listItem,At.listItemUnit({mode:k})]:At.listItem},w.createElement(ge,{component:"span",sx:o?At.listItemDeleted:void 0},ze?void 0:p))),onMouseEnter:fe,onMouseLeave:we}))),Me&&w.createElement(P$,{id:`badge_${P}`,sx:At.badgeStyle,max:9999,badgeContent:V,color:"primary"},w.createElement(c4,{idAdd:`id_add_${P}`,moduleName:m,parentUnit:b,clickAdd:Ie})),ft&&w.createElement(ge,{id:`id_expand_${P}`,sx:At.expandModuleCover},w.createElement(_p,{expand:_,onClick:ke}))),m===Qu&&w.createElement(ge,{sx:[At.relayGroupContainer,n?At.relayGroupExist:At.relayGroupNotExist]},n&&w.createElement(w.Fragment,null,w.createElement(ol,{sx:At.relayGroupListItemWrapper}),w.createElement(ge,{sx:At.relayGroupLabel},schema.unitTypes[Qu].__[`Title${I||"EN"}`])),w.createElement(ge,{sx:At.relayGroupButtonContainer},w.createElement(P$,{id:`badge_${P}`,sx:At.badgeStyle,max:9999,badgeContent:V,color:"primary"},w.createElement(c4,{idAdd:`add_${P}`,moduleName:m,parentUnit:b,clickAdd:Ie})),n&&w.createElement(rn,null,w.createElement(_p,{expand:j,onClick:Ge})))),n&&w.createElement(ly,{in:_,timeout:0},_&&!j||r))}var bO=w.memo(Jve);const e0e=w.memo(function(t){var v;const{units:n,padding:r,breadCrumbsUnitId:o=""}=t,a=er(),l=uo(),{setCurrentUnit:u,currentSys:c}=Vt(),f=NI(),p=Wh(),m=Ol(),h=C.exports.useCallback((b,S)=>{const P=!m[S];l.expandingSelectedUnit({[S]:P})},[m]),x=C.exports.useCallback((b,S,P)=>{u(S),setSubscribe(S,!1),l.unitSelected(`${S._sun}.${S._typeName}`),l.unitSelectedSun(`${S._sun}`),l.unitSelectedExist({_configured:S._configured,_desc:S._desc,_sun:S._sun,_sut:S._sut,_typeName:S._typeName}),l.unitSelectedParentType(P)},[f]),E=n[0],_=((v=E==null?void 0:E._up)==null?void 0:v._typeName)!==qc?void 0:c&&ex(c,a),y=n.map((b,S)=>{var X,ie,J,G,j,te,ne,me;const P=Fh(b),A=!Ua(P),k=mue(b),I=Hh(b,a,_),L=((X=b==null?void 0:b.status)==null?void 0:X.on)!==void 0&&((ie=b==null?void 0:b.status)==null?void 0:ie.on)>0,N=((J=b==null?void 0:b.status)==null?void 0:J.fault)===1||(b==null?void 0:b._faultDown)===1,B=((G=b==null?void 0:b.status)==null?void 0:G.notSynched)===1,V=`${o}${(j=b==null?void 0:b._sun)!=null?j:""}_`,ee=()=>{const H=V.split("_").slice(0,-2).join("_");l.unitPathSelected(V),x(S,b,H)};return w.createElement(bO,{key:I,open:m[V],selected:p===V,padding:r+1,canExpanded:A,label:I,onClick:ee,onClickOpen:()=>h(b,V),isDeleted:(te=b==null?void 0:b._deleted)!=null?te:!1,isUnit:(b==null?void 0:b._sut)!=="Module",actualUnit:b,isUnitStatusFault:N||B,isRedAlertStatus:L,breadCrumbsUnitWithSun:V,configName:(ne=b==null?void 0:b.config)==null?void 0:ne.name},w.createElement(_O,{descriptors:k,modules:P,padding:r+2,unitSun:(me=b==null?void 0:b._sun)!=null?me:"",breadCrumbsModuleId:V,parentModuleforUnit:b,isUnitStatusFault:N||B}))});return w.createElement(ml,{dense:!0,component:"div",disablePadding:!0},y)}),t0e={forcedReadingStatusButton:{ml:9,my:.5,px:.5,py:.1,fontSize:"12px"}};function n0e(e,t){if(!t)return e;switch(t){case Dh:return e.reverse();default:return e}}const _O=w.memo(function(t){const{modules:n,padding:r,descriptors:o={},unitSun:a,breadCrumbsModuleId:l="",parentModuleforUnit:u,isUnitStatusFault:c}=t,f=er(),{setCurrentUnit:p,setCurrentSys:m,setAlarmsContext:h}=Vt(),x=jh(),E=Ol(),_=uo(),y=C.exports.useMemo(()=>n0e(Object.keys(n),u==null?void 0:u._typeName),[n]),v=(P,A,k)=>{if(m(vn(sys)),!P)return;const I=!E[k];_.expandingSelectedUnit({[k]:I})},b=C.exports.useCallback((P,A,k)=>{h(()=>[{parentModuleforUnit:u,node:A}]),p(u),setSubscribe(u,!1,A),_.unitPathSelected(k),_.unitSelected(A),_.unitSelectedExist({})},[u]),S=y.map((P,A)=>{const k=`${l||""}${P}`;return w.createElement(r0e,{key:A,index:A,handleClick:b,onClickOpen:v,open:E[k],selectedUnit:x,moduleName:P,lang:f,padding:r,wrapperModule:n[P],modules:n,descriptor:o[P],moduleUnitSun:a,breadCrumbsModuleId:l,parentModuleforUnit:u,isUnitStatusFault:c})});return w.createElement(ml,{dense:!0,component:"div",disablePadding:!0},S)}),r0e=w.memo(function(t){var ne,me;const{moduleName:n,lang:r,wrapperModule:o,descriptor:a,handleClick:l,onClickOpen:u,index:c,open:f,padding:p,selectedUnit:m,moduleUnitSun:h,breadCrumbsModuleId:x,parentModuleforUnit:E,isUnitStatusFault:_}=t,y=Wh(),{countPosibleUnit:v,countCurrentUnitsMerge:b,addUnit:S}=uo(),P=MI(),A=lce(),k=a$(n,r,E),I=C.exports.useMemo(()=>o,[o]),L=`${x||""}${n}`,N=Object.values(Qh(A[L],I)),B=!Ua(N),ee=vue(a)?vI(n,r):[];C.exports.useEffect(()=>{L===P&&v(ee.length)},[m]);const X=C.exports.useCallback(()=>{l(c,n,L)},[c,n,L]),ie=C.exports.useCallback(H=>{const q=Object.keys(I),Z=N.length;b(Z),v(ee.length),q.unshift("0");const ue=L.split(".").slice(-2),K=Sue(ue[0],ue[1]).qty,U=Pve(q,A[L]);let Y;U.length===1&&U[0]==="0"?Y="0":Y=U.find((fe,we)=>Number(U[we+1])-Number(fe)>1);let re;Y===void 0?re=U.reverse()[0]:re=Y,Z<K&&S({parent:L,unit:H,upperUnitSun:"",sunIndex:String(Number(re)+1)})},[n,o]),J=((ne=N[0])==null?void 0:ne._typeName)!=="BISM1"&&((me=N[0])==null?void 0:me._typeName)!=="LED"&&sl(r)(N[0])===k||a$(n,"EN")==="Module",G=H=>{u(H,c,L)},j=n===cI?4:1,te=/Адресные устройства|Область|Выход|ТС вход|ТС выход|индикатор на БИС-М\/М1/i.test(k);return w.createElement(bO,{open:J||f,padding:p+5,canExpanded:B,label:J?"":k,onClickOpen:G,selected:y===L,options:ee,onSelectUnit:ie,moduleName:n,parentUnit:E,isOpenOnFault:_,isLabelEqualTitle:J,breadCrumbsUnitWithSun:L},te&&w.createElement(ct,{size:"small",sx:t0e.forcedReadingStatusButton,onClick:X},"\u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441"),w.createElement(e0e,{selectedUnit:m,units:N,padding:p+j,parentModule:n,moduleUnitSun:h,breadCrumbsUnitId:`${L}_`}))}),CO={pasteConfig:{mt:1},property:{ml:1}},o0e=({keyName:e,value:t,onAdd:n,onRemove:r,isRemoved:o})=>w.createElement(ge,{key:e},w.createElement("button",{onClick:()=>n(e),disabled:!o},"+"),w.createElement("button",{onClick:()=>r(e),disabled:o},"-"),w.createElement(ge,{sx:CO.property,component:"span"},o?w.createElement("del",null,`${e}: ${t}`):`${e}: ${t}`));function i0e({initialConfig:e,handlePasteConfig:t}){const[n,r]=C.exports.useState({}),[o,a]=C.exports.useState({});C.exports.useEffect(()=>{r(e),a({})},[e]);const l=p=>{a(m=>({...m,[p]:n[p]})),r(m=>{const h={...m};return delete h[p],h})},u=p=>{r(m=>({...m,[p]:o[p]})),a(m=>{const h={...m};return delete h[p],h})},c=()=>{t(n)},f=(p,m)=>Object.entries(p).map(([h,x])=>w.createElement(o0e,{key:h,keyName:h,value:x,onAdd:u,onRemove:l,isRemoved:m}));return w.createElement(w.Fragment,null,f(n,!1),f(o,!0),n&&Object.keys(n).length>0&&w.createElement(ct,{sx:CO.pasteConfig,onClick:c},"\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0444\u0438\u0433"))}const bu={container:{display:"flex",flexDirection:"column",p:1},menuItem:{display:"flex",alignItems:"center"},menuItemWithMargin:{mb:1},label:{ml:1},popoverSx:{mt:-3}};function a0e({menuItems:e}){const[t,n]=C.exports.useState(null),[r,o]=C.exports.useState(!1),a=u=>{n(u.currentTarget),o(c=>!c)},l=()=>{o(!1)};return w.createElement(sz,{onClickAway:l},w.createElement(ge,{position:"relative",display:"inline-block",onClick:a},r?w.createElement(tO,{sx:bu.popoverSx,open:r,anchorEl:t,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},disableRestoreFocus:!0},w.createElement(ge,{sx:bu.container},e.map((u,c)=>w.createElement(ge,{key:c,sx:[bu.menuItem,c<e.length-1&&bu.menuItemWithMargin],onClick:f=>f.stopPropagation()},u.component,w.createElement(ge,{sx:bu.label},u.label))))):w.createElement(rn,null,w.createElement(Oi,null))))}function s0e({value:e=0,onChange:t,range:n,onToggleErrorField:r,error:o,resetValue:a,disabledInputValue:l,disabledOpenSelect:u,disabledClearBtn:c,propId:f,...p}){const m=(x,E)=>{if(!E||!r)return;const _=BI(x,E.min,E.max);(o&&_||o===!1&&!_)&&r()},h=({target:x})=>{const E=Number(x.value);m(E,n),t(E)};return w.createElement(Al,{id:f,value:e.toString(),type:"number",inputProps:n,onChange:h,...p})}function l0e(e){var b;const{sx:t,options:n,value:r,onChange:o,className:a,resetValue:l,disabled:u,disabledInputValue:c,disabledOpenSelect:f,disabledClearBtn:p,propId:m}=e,{currentUnit:h}=Vt(),[x]=hr(fI),E=(S,P)=>{P===null&&l!==void 0&&o(l),P!==null&&o(P.value)},_=S=>{c&&S.stopPropagation()},y=S=>{const P=/unitID/i.test(m);c&&Rt(h)&&kue(h)&&P&&S.stopPropagation()},v=Boolean((b=n[0])==null?void 0:b.group);return w.createElement(ofe,{id:m,disabled:u,onMouseDown:_,onMouseDownCapture:_,disableClearable:p,componentsProps:{popupIndicator:{disabled:f}},key:r,value:n.find(S=>S.value===r),options:n,groupBy:v?S=>S.group||"":void 0,getOptionLabel:S=>S.label,open:x===!0||void 0,renderInput:S=>w.createElement(Al,{className:a,sx:t,...S,inputProps:{...S.inputProps,readOnly:c},onKeyDown:y}),onChange:E})}function u0e({value:e,onChange:t,disabledInputValue:n,resetValue:r,onToggleErrorField:o,disabledOpenSelect:a,disabledClearBtn:l,propId:u,...c}){const f=({target:p})=>{t(p.value)};return w.createElement(Al,{id:u,value:e,onChange:f,...c})}function c0e({value:e,onChange:t,onToggleErrorField:n,resetValue:r,disabledInputValue:o,disabledOpenSelect:a,disabledClearBtn:l,propId:u,...c}){const f=({target:p})=>{t(p.checked)};return w.createElement(GI,{id:u,color:"primary",checked:e,onChange:f,...c})}function d0e(e,t){if(t)return l0e;if(e.maxValue===1)return c0e;switch(e.format){case"varInt":return s0e;case"string":case"bytes":return u0e;default:return}}function f0e(e){const{options:t,error:n,disabled:r=!1,property:o,value:a,onChange:l,onToggleErrorField:u,className:c,resetValue:f,sx:p,disabledInputValue:m,disabledOpenSelect:h,disabledClearBtn:x,idProp:E,propClickHandle:_}=e,{minValue:y=0,maxValue:v}=o,b=d0e(o,t),{currentUnit:S}=Vt(),P=a&&!gce(o==null?void 0:o.maxValue)&&mce(S==null?void 0:S._typeName);if(!b)return null;const A=()=>{P&&_(a)};return C.exports.createElement(b,{disabledOpenSelect:h,disabledInputValue:m,disabledClearBtn:x,options:t||[],sx:p,value:a,range:{min:y,max:v},disabled:r,onChange:l,onToggleErrorField:u,error:n,className:c,resetValue:f,propId:E,onClick:A})}var Ox=C.exports.memo(f0e);const dv={propertyChangerCover:e=>({zIndex:e.zIndex.modal}),propertyChangerPaper:{p:1},controlButtonsCover:{mt:1}};function Rs(e){const{sx:t,onDone:n,startValue:r,descItem:o,icon:a,propName:l,confirmText:u,options:c}=e,f=C.exports.useRef(null),[p,m]=C.exports.useState(r),[h,x]=C.exports.useState(!0),[E,_]=C.exports.useState(null),y=k=>{m(k)},v=Boolean(E),b=k=>{m(r),x(!0),_(k.currentTarget)},S=()=>{_(null)},P=()=>{n(l,p),S()},A=()=>{x(!h)};return w.createElement(w.Fragment,null,w.createElement(rn,{id:`edit_single_${l}_value`,sx:t,ref:f,onClick:b},a),w.createElement(Gc,{sx:dv.propertyChangerCover,open:v,anchorEl:E},w.createElement(wo,{sx:dv.propertyChangerPaper},w.createElement(Ox,{propName:l,onToggleErrorField:A,error:!h,property:o,onChange:y,value:p,idProp:`single_value_${l}`,options:c}),w.createElement(ge,{sx:dv.controlButtonsCover},w.createElement(ct,{onClick:S,size:"small",variant:"contained"},w.createElement(on,{variant:"caption"},"\u041E\u0442\u043C\u0435\u043D\u0430")),w.createElement(ct,{id:`send_to_cp_single_${l}_value`,disabled:!h,onClick:P,size:"small",variant:"contained"},w.createElement(on,{variant:"caption"},u||"\u0412 \u041F\u041F\u041A"))))))}const Ft={unitsGroupIcons:{zIndex:"1000",mt:-26,ml:-1,pt:1.5,pb:1,pl:1.2,width:"100%",position:"fixed"},unitsGroupIconsDarkBg:{background:Lt[400]},unitsGroupIconsLightBg:{background:Lt[500]},deleteAllButton:{marginLeft:"25px",marginTop:"-5px"},restoreAllButton:{marginLeft:"10px",marginTop:"-5px"},circleIconPosition:{position:"absolute",left:"5px",top:"7px"},expandBoxCover:{ml:"auto"},faultAlert:{borderRadius:e=>e.spacing(.6),padding:e=>e.spacing(.5),outline:e=>`2px solid ${e.palette.warning.main}`},faultAlertWarning:{background:e=>e.palette.warning.main},listButton:{pl:4,mb:.5,background:Lt[400],borderRadius:"5px"},listButtonMixin:{background:Lt[900]},circleIconCheck:(e,t,n)=>({opacity:e[t]||(n==null?void 0:n._isUnitSelected)?1:0,color:n!=null&&n._isUnitSelected?Lt[700]:"",marginTop:"2px"}),deletedItem:{textDecoration:e=>`${e.spacing(.4)} underline ${e.palette.error.main}`},coverPpkLabel:{textDecoration:""},groupIconsDisplayNone:{display:"none"},nameOfConfig:{ml:1},cutButton:{ml:2,textTransform:"uppercase"},cutIcon:{mr:1},typographyDark:{color:"common.black",px:.5},configManagerContainer:{maxHeight:"100px",overflowY:"auto","&:hover":{maxHeight:"500px"}}},p0e=[fue,Sc];function f4(e){var Nn,tn;const{boxes:t}=e,n=er(),[r,o]=hr(Yc,{}),[a,l]=hr(Xc),{mode:u}=ra(),c=Wh(),f=Ol(),p=uo(),{setUnitToStringId:m}=Ix(),{currentSys:h,setCurrentSys:x,setCurrentUnit:E,currentUnitGroup:_,setCurrentUnitGroup:y}=Vt(),v=Object.values(_)[0],b=Zve(),[S,P]=C.exports.useState(),A=mu(schema,Tl,n),k=mu(schema,Il,n),I=["FireSensorLink","FireAreaLink","FaultInputLink","FireMCPLink","ResetInputLink","TechInputLink"],L=["AnnunciatorLink","DirectionLink","RelayLink"],N=I.map(xe=>({group:A,value:xe,label:mu(schema,xe,n)})),B=L.map(xe=>({group:k,value:xe,label:mu(schema,xe,n)})),{defaultInput:V,defaultOutput:ee}=(v==null?void 0:v._desc.__)||{},ie=ee||(v==null?void 0:v._typeName)===Qu?B:void 0,J=V?N:ie,G=V||ee||((Nn=J==null?void 0:J[0])==null?void 0:Nn.value);C.exports.useEffect(()=>{P(G)},[v==null?void 0:v._typeName]);const[j,te]=C.exports.useState({}),ne=xe=>{const Ae=i$(xe);setSubscribe(xe,!1);const Le=!f[Ae];p.expandingSelectedUnit({[Ae]:Le}),o({...r,[Ae]:Le})},me=xe=>Ae=>{ne(xe),Ae.stopPropagation(),u$(xe)},[H,q]=C.exports.useState(new Array(t.length).fill(!1)),[Z,ue]=C.exports.useState(!1),[K,U]=C.exports.useState(1),[Y,re]=C.exports.useState(1),[fe,we]=C.exports.useState(Boolean(1)),ke=Object.values(_).length,Ie=(v==null?void 0:v._sut)&&p0e.includes(v._sut);C.exports.useEffect(()=>{ue(!1)},[ke]);const Ce=xe=>{q(Ae=>{const Le=Ae[xe];return Tce([xe],!Le,Ae)})},We=()=>{q(!1)},Me=(xe,Ae,Le)=>{u$(xe),E(xe),x({...sys}),p.unitPathSelected(Le),p.unitSelected(Ae);const at=u2string(xe);m(at),l(at)},ft=(xe,Ae)=>{if(xe.stopPropagation(),Ae._isUnitSelected?Ae._isUnitSelected=!1:Ae._isUnitSelected=!0,Ae._isUnitSelected){const Le=getUnitID(Ae).join("");_[Le]=Ae,y(_)}if(!Ae._isUnitSelected){const Le=getUnitID(Ae).join("");delete _[Le],y(_)}x({...sys})},ze=()=>{const xe=sys,Ae="_Box";if(xe._subUnits){xe._subUnits[Ae];const Le=Object.keys(_);Le.forEach((at,ht)=>{_[Le[ht]]._deleted=!0,_[Le[ht]]._configured=!1}),x(vn(sys))}},bt=()=>{const xe=sys,Ae="_Box";if(xe._subUnits){xe._subUnits[Ae];const Le=Object.keys(_);Le.forEach((at,ht)=>{_[Le[ht]]._deleted=!1,_[Le[ht]]._configured=!0}),x(vn(sys))}},kt=()=>{const xe=Object.keys(_);xe.forEach((Ae,Le)=>{_[xe[Le]]._deleted=!1,_[xe[Le]]._configured=!0,_[xe[Le]]._isUnitSelected=!1,y({})}),x(vn(sys))},Ge=((tn=t[0])==null?void 0:tn._typeName)===Ir,qe=t.map((xe,Ae)=>{var xr,lt,an,Dn;if(!Ge&&((xr=loggedInUser==null?void 0:loggedInUser.config)==null?void 0:xr.level)<UI&&((lt=xe==null?void 0:xe.config)==null?void 0:lt.level)>((an=loggedInUser==null?void 0:loggedInUser.config)==null?void 0:an.level))return null;const Le=i$(xe),at=mI(n,xe),ht=Fh(xe),Mr=gI(xe),Vo=wue(xe),Kn=(xe==null?void 0:xe._faultDown)===1,yr=`${Mr}${Vo}_`;return w.createElement(w.Fragment,{key:Le},w.createElement(ol,{sx:[Ft.listButton,u==="dark"&&Ft.listButtonMixin],onClick:()=>Me(xe,at,yr),onDoubleClick:()=>ne(xe),onMouseEnter:()=>Ce(Ae),onMouseLeave:We,selected:c===yr,id:`ppk_${Le}`},w.createElement(ge,{sx:Ft.coverPpkLabel},w.createElement(Hc,{primary:at,sx:[xe!=null&&xe._deleted?Ft.deletedItem:null,Kn&&Ft.faultAlert,Kn&&u==="light"&&Ft.faultAlertWarning]})),w.createElement(ge,{sx:Ft.circleIconPosition},w.createElement(sx,{sx:Ft.circleIconCheck(H,Ae,xe),onClick:tr=>ft(tr,xe),onDoubleClick:tr=>{tr.stopPropagation()}})),w.createElement(ge,{id:`name_of_ppk_${xe._sun}`,sx:[vO.nameOfConfig,Ft.nameOfConfig]},(Dn=xe==null?void 0:xe.config)==null?void 0:Dn.name),w.createElement(ge,{id:`id_expand_${Le}`,sx:Ft.expandBoxCover},Ge&&w.createElement(_p,{expand:f[Le],onClick:me(xe)}))),w.createElement(ly,{in:f[Le],timeout:0},f[Le]&&w.createElement(_O,{modules:ht,padding:2,breadCrumbsModuleId:yr,isUnitStatusFault:Kn})))}),vt=Object.keys(_).length,zt=h&&ex(h,n),nt=()=>v?Hh(v,n,zt):"",rt=()=>{const xe=ke===1;ue(xe),xe||systemLog(!1,"error: only 1 item at time can be cut and pasted")},pt=()=>{!b||(moveUnit(v,string2u(b)),v._isUnitSelected=!1,y({}))},Pe=()=>{te({});const xe=xce(v.config),Ae=f$(xe,v._desc,n);te(Ae)},be=xe=>{const Ae=f$(xe,v._desc,n,!0),Le=Object.values(_);Le.forEach(at=>{pasteUnitCfg(at,Ae)}),Le.forEach(at=>{at._isUnitSelected=!1}),y({})},Xe=(xe,Ae)=>{U(Ae)},Se=(xe,Ae)=>{re(Ae)},et=(xe,Ae)=>{P(Ae)},Nt=(xe,Ae)=>{we(Boolean(Ae))},Xt=Ie?Y:void 0,Cn=()=>{Object.values(_).forEach(Ae=>{createTS(Ae,K,S,fe,Xt),Ae._isUnitSelected=!1}),E(v),y({})},Tn=[Ie&&{component:w.createElement(Rs,{icon:w.createElement(Oi,null),descItem:{format:"varInt",minValue:1,maxValue:999},propName:"ppkr_number",startValue:Y,onDone:Se,confirmText:"\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u2116 \u041F\u041F\u041A-\u0420"}),label:"\u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u2116 \u041F\u041F\u041A-\u0420"},{component:w.createElement(Rs,{icon:w.createElement(Oi,null),descItem:{format:"varInt",minValue:1,maxValue:999},propName:"area_ts",startValue:K,onDone:Xe,confirmText:"\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043E\u0431\u043B\u0430\u0441\u0442\u044C"}),label:"\u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u2116 \u043E\u0431\u043B\u0430\u0441\u0442\u0438"},{component:w.createElement(Rs,{icon:w.createElement(Oi,null),descItem:{format:"string"},propName:"area_ts_type",startValue:S,onDone:et,confirmText:"\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0438\u043F \u0422\u0421",options:J}),label:"\u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0438\u043F \u0422\u0421"},{component:w.createElement(Rs,{icon:w.createElement(Oi,null),descItem:{format:"varInt",maxValue:1},propName:"ts_type_overwrite",startValue:1,onDone:Nt,confirmText:"\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C"}),label:"\u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0438\u0441\u044C \u0422\u0421"}];return w.createElement(ml,{dense:!0,component:"div",disablePadding:!0},w.createElement(ge,{sx:[(vt===0||!Ge)&&Ft.groupIconsDisplayNone,Ft.unitsGroupIcons,u==="dark"?Ft.unitsGroupIconsDarkBg:Ft.unitsGroupIconsLightBg]},vt>0&&w.createElement(rn,{onClick:kt},w.createElement(fx,null)),vt>0&&`${vt} ${n==="RU"?"\u0432\u044B\u0431\u0440\u0430\u043D\u043E":"selected"}`,w.createElement(rn,{onClick:ze,sx:Ft.deleteAllButton},vt>0&&w.createElement(ux,null)),w.createElement(rn,{onClick:bt,sx:Ft.restoreAllButton},vt>0&&w.createElement(Qc,null)),w.createElement(ct,{sx:Ft.cutButton,onClick:Pe},w.createElement(HI,{sx:Ft.cutIcon}),"\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u043D\u0444\u0438\u0433"),w.createElement(ct,{sx:Ft.cutButton,onClick:rt},w.createElement(WI,{sx:Ft.cutIcon}),"\u0432\u044B\u0440\u0435\u0437\u0430\u0442\u044C \u044E\u043D\u0438\u0442"),Z&&w.createElement(xo,{title:`\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C: ${nt()}`},w.createElement(ct,{sx:Ft.cutButton,onClick:pt},"\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u044E\u043D\u0438\u0442")),S&&w.createElement(w.Fragment,null,w.createElement(ct,{sx:Ft.cutButton,onClick:Cn},"\u0441\u043E\u0437\u0434\u0430\u0442\u044C",w.createElement(on,{sx:Ft.typographyDark},ke),"\u0422\u0421 (",w.createElement(on,{sx:Ft.typographyDark},"\u0442\u0438\u043F: ",mu(schema,S,n)),!fe&&w.createElement(dO,null),") \u0432 \u043E\u0431\u043B\u0430\u0441\u0442\u0438",w.createElement(on,{sx:Ft.typographyDark},"#",K),Ie&&w.createElement(w.Fragment,null,w.createElement(ge,{component:"span"},"\u043F\u043F\u043A-\u0440"),w.createElement(on,{sx:Ft.typographyDark},"#",Y))),w.createElement(ge,{component:"span"},w.createElement(a0e,{menuItems:Tn}))),w.createElement(ge,{sx:Ft.configManagerContainer},w.createElement(i0e,{initialConfig:j,handlePasteConfig:be}))),qe)}const p4={systemItemButton:{mt:1.2},personIcon:{mt:2}};function h0e(e){var y,v;const{data:t}=e,n=er(),[r,o]=C.exports.useState(!0),[a,l]=C.exports.useState(!1),{setCurrentSys:u,setCurrentUnit:c}=Vt(),[f]=hr(Xc),p=uo();C.exports.useEffect(()=>{u(vn(sys)),p.unitSelected("_System");const b=string2u(f);!b||(c(b),p.unitSelectedExist({config:b.config,_configured:b._configured,_desc:b._desc,_sun:b._sun,_sut:b._sut,_typeName:b._typeName}))},[Object.keys(sys._subUnits._Box).length]);const m=(y=loggedInUser==null?void 0:loggedInUser.config)==null?void 0:y.name,h=()=>{o(!r),setSubscribe(t,!1)},x=()=>{p.unitSelected("_System")};C.exports.useEffect(()=>{t&&!a&&(setSubscribe(sys,!1,"_Box"),l(!0))},[t]);const E=C.exports.useMemo(()=>yue(t),[t]),_=C.exports.useMemo(()=>xue(t),[t]);return w.createElement(ml,{dense:!0},w.createElement(ol,{onDoubleClick:h,sx:p4.systemItemButton},w.createElement(Hc,{onClick:x,primary:(v=sl(n)(t))!=null?v:sl("EN")(t)}),w.createElement(_p,{expand:r,onClick:h})),w.createElement(ly,{in:r,timeout:"auto"},w.createElement(Ece,{parentUnit:sys,moduleName:"_Box"}),w.createElement(f4,{boxes:E}),m&&w.createElement(w.Fragment,null,w.createElement(Ih,{sx:p4.personIcon}),w.createElement(f4,{boxes:_}))))}var kx={},g0e=It.exports;Object.defineProperty(kx,"__esModule",{value:!0});var EO=kx.default=void 0,m0e=g0e(Ot),v0e=D.exports,y0e=(0,m0e.default)((0,v0e.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");EO=kx.default=y0e;var Ax={},x0e=It.exports;Object.defineProperty(Ax,"__esModule",{value:!0});var wO=Ax.default=void 0,b0e=x0e(Ot),_0e=D.exports,C0e=(0,b0e.default)((0,_0e.jsx)("path",{d:"M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"}),"ClearRounded");wO=Ax.default=C0e;const pf={box:{display:"flex",alignItems:"center",borderRadius:e=>e.shape.borderRadius,background:e=>e.palette.divider,border:"2px solid transparent"},field:{paddingLeft:e=>e.spacing(2),paddingRight:e=>e.spacing(2),width:"100%"},icon:{marginLeft:e=>e.spacing(2)},focusOn:e=>({borderColor:e?"currentColor":"transparent"})},Mf=w.createRef(),h4=e=>{if(e.target===null)return;const t=e.target;(e.key==="s"||e.key==="\u044B")&&t.nodeName!=="INPUT"&&Mf.current&&Mf.current!==document.activeElement&&Mf.current.focus()};function E0e({value:e,onChange:t,sx:n}){const[r,o]=C.exports.useState(!1),a=({target:{value:f}})=>t(f);C.exports.useEffect(()=>(window.addEventListener("keyup",h4),()=>window.removeEventListener("keyup",h4)));const l=()=>{},u=()=>{},c=()=>{t("")};return w.createElement(ge,{sx:[pf.box,n,pf.focusOn(r)]},w.createElement(EO,{sx:pf.icon}),w.createElement(Zc,{sx:pf.field,onFocus:l,onBlur:u,onChange:a,value:e,placeholder:"\u041F\u043E\u0438\u0441\u043A",inputRef:Mf,id:"search_by_label"}),w.createElement(rn,{id:"clear_search",onClick:c},w.createElement(wO,null)))}const _u={arrowRight:{ml:.5,mr:.5},nameOfUnit:e=>({borderLeft:`${e.spacing(.5)} solid`,borderRight:`${e.spacing(.5)} solid`,borderColor:"success.main",borderRadius:e.spacing(1),mr:.5,pl:1,pr:1}),unitListItemButton:{pl:"5px"},listItem:{paddingLeft:"4px",paddingRight:"4px",borderRadius:"5px"},listItemText:{textDecoration:"",padding:"5px",borderRadius:"5px","&::first-letter":{textTransform:"uppercase"}}};function g4(e){const{item:t,lang:n,unitsObj:r,index:o,handleItemClick:a,boxSx:l}=e,u=C.exports.useMemo(()=>t&&Jy(t).map(m=>qr(m,n)).slice(0,-1).join(" \u2192 "),[t,n]),c=Hh(t,n,r),f=Ia(t,"name"),p=w.createElement(w.Fragment,null,w.createElement(ge,{component:"span"},u),w.createElement(ge,{component:"span",sx:_u.arrowRight},"\u2192"),w.createElement(ge,{component:"span",sx:f?_u.nameOfUnit:void 0},f),w.createElement(ge,{component:"u"},c));return w.createElement(ol,{key:`${p}, ${o}`,sx:_u.unitListItemButton,onClick:()=>a(t)},w.createElement(ge,{sx:[l,_u.listItem]},w.createElement(wx,{draggableElement:t,active:!0},w.createElement(Hc,{primary:w.createElement(ge,{sx:_u.listItemText},p)}))))}const gs={faultAlert:{borderRadius:"5px",padding:"4px",background:"dark"},box:{pl:4,borderRadius:"5px"},arrowRight:{verticalAlign:"middle"},boxSx:e=>({background:e==="dark"?Lt[900]:Lt[400]}),subunitsLabel:{ml:4,mt:-2}};function w0e({filter:e,data:t}){const{unitSelectedExist:n,unitSelected:r,unitSelectedSun:o}=uo(),{setCurrentUnit:a,currentSys:l}=Vt(),{mode:u}=ra(),c=er(),{setUnitToStringId:f}=Ix(),[p,m]=hr(Xc),h=y=>{a(y),setSubscribe(y,!1),r(`${y._sun}.${y._typeName}`),o(`${y._sun}`),n({config:y.config,_configured:y._configured,_desc:y._desc,_sun:y._sun,_sut:y._sut,_typeName:y._typeName});const v=u2string(y);f(v),m(v)},_=(e===""?[]:bI(t,c)).map(([y,v],b)=>{const S=v.filter((L,N)=>hce(v,e,"name").includes(N)),P=l&&ex(l,c),A=v.filter(L=>DI(Hh(L,c,P),e)),k=[...S,...A];if(k.length===0)return null;const I=k.map(L=>Object.values(Fh(L)).map(N=>Object.values(N))).filter(Boolean).flat(2);return w.createElement(C.exports.Fragment,{key:`${y}, ${b}`},w.createElement(ol,{key:y,sx:[gs.boxSx(u),gs.box]},w.createElement(ge,null,w.createElement(Hc,{primary:y,sx:gs.faultAlert}))),k.map((L,N)=>w.createElement(g4,{key:`${N}, ${y}`,item:L,lang:c,unitsObj:P,index:N,handleItemClick:h,boxSx:gs.boxSx(u)})),I.length>0&&w.createElement(w.Fragment,null,w.createElement(ix,null),w.createElement(ge,{sx:gs.subunitsLabel},I.map((L,N)=>w.createElement(g4,{key:`${y}, ${N}`,item:L,lang:c,unitsObj:P,index:N,handleItemClick:h,boxSx:gs.boxSx(u)})))))});return w.createElement(ml,{dense:!0,component:"div",disablePadding:!0},_)}var Lx={},S0e=It.exports;Object.defineProperty(Lx,"__esModule",{value:!0});var SO=Lx.default=void 0,$0e=S0e(Ot),P0e=D.exports,R0e=(0,$0e.default)((0,P0e.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}),"Refresh");SO=Lx.default=R0e;var Mx={},T0e=It.exports;Object.defineProperty(Mx,"__esModule",{value:!0});var $O=Mx.default=void 0,I0e=T0e(Ot),O0e=D.exports,k0e=(0,I0e.default)((0,O0e.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");$O=Mx.default=k0e;const A0e={container:{display:"flex",justifyContent:"center",alignItems:"center"}};function L0e(){const[e,t]=hr(Xc),n=xO(),{currentUnit:r,setCurrentUnit:o}=Vt(),[a,l]=C.exports.useState(0),u=FI();C.exports.useEffect(()=>{const m=n.length-1;l(m)},[n]);const c=()=>{u()},f=()=>{const m=n.length-1;if(!(n.length<2)){if(a===0)l(m),o(string2u(n[m]));else{const h=a-1;l(h),o(string2u(n[h]))}t(u2string(r))}},p=()=>{const m=n.length-1;if(!(n.length<2)){if(a===m)l(0),o(string2u(n[0]));else{const h=a+1;l(h),o(string2u(n[h]))}t(u2string(r))}};return C.exports.useEffect(()=>{const m=h=>{h.ctrlKey&&h.key==="ArrowLeft"&&(h.preventDefault(),f()),h.ctrlKey&&h.key==="ArrowRight"&&(h.preventDefault(),p())};return window.addEventListener("keydown",m),()=>{window.removeEventListener("keydown",m)}},[a,n]),w.createElement(ge,{sx:A0e.container},n.length>1&&w.createElement(ge,null,w.createElement(xo,{title:`\u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u0438\u0437 ${n.length}`,placement:"top"},w.createElement(rn,{id:"back_history",onClick:f},w.createElement(fx,null))),w.createElement(xo,{title:`\u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u0438\u0437 ${n.length}`,placement:"top"},w.createElement(rn,{id:"forward_history",onClick:p},w.createElement($O,null)))),w.createElement(xo,{title:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u0432\u0441\u0435 \u0432\u043A\u043B\u0430\u0434\u043A\u0438",placement:"top"},w.createElement(rn,{id:"close_expanded_tabs",onClick:c},w.createElement(SO,null))))}const hf={searchField:{mb:1,mt:.5},container:{height:"100%",display:"flex",flexDirection:"column"},unitsContainer:{overflow:"auto",height:"100%"},expandedTabs:{ml:"auto"}};function M0e(e){const{data:t}=e,[n,r]=C.exports.useState(""),o=l=>{r(l)},a=n==="";return w.createElement(ge,{sx:hf.container},w.createElement(ge,{sx:hf.expandedTabs},w.createElement(L0e,null)),w.createElement(E0e,{sx:hf.searchField,onChange:o,value:n}),w.createElement(ge,{sx:hf.unitsContainer},a?w.createElement(h0e,{data:t}):w.createElement(w0e,{data:t,filter:n})))}var N0e=So,PO=N0e("has",Af);PO.placeholder=lo;var m4=PO;function D0e(e){return e==null}var _s=D0e,B0e=Oh,F0e=_T,U0e=Rl;function z0e(e,t,n){for(var r=-1,o=t.length,a={};++r<o;){var l=t[r],u=B0e(e,l);n(u,l)&&F0e(a,U0e(l,e),u)}return a}var RO=z0e,j0e=RO,W0e=ZT;function H0e(e,t){return j0e(e,t,function(n,r){return W0e(e,r)})}var V0e=H0e,G0e=V0e,K0e=Ah,q0e=K0e(function(e,t){return e==null?{}:G0e(e,t)}),Y0e=q0e,X0e=So,TO=X0e("pick",Y0e);TO.placeholder=lo;var IO=TO,Nx={},Q0e=It.exports;Object.defineProperty(Nx,"__esModule",{value:!0});var OO=Nx.default=void 0,Z0e=Q0e(Ot),J0e=D.exports,e1e=(0,Z0e.default)((0,J0e.jsx)("path",{d:"M17.77 3.77 16 2 6 12l10 10 1.77-1.77L9.54 12z"}),"ArrowBackIosNew");OO=Nx.default=e1e;const v4={title:{textTransform:"uppercase",fontWeight:900},content:{padding:e=>e.spacing(1),paddingRight:e=>e.spacing(3)}};function Jh(e){const{title:t,children:n}=e;return w.createElement(wo,{variant:"outlined"},w.createElement(Xu,{variant:"dense"},w.createElement(on,{sx:v4.title},t)),w.createElement(ge,{sx:v4.content},n))}const t1e=[iue,aue,sue,lue];function n1e(e,t){const n=Boolean(Zn(e,bp))&&e._typeName!==bp,r=Zn(e,Ir),o=Zn(t,Ir);return n&&(r==null?void 0:r._sun)===(o==null?void 0:o._sun)}function kO(e,t){return t.find(n=>Ia(n,"unitID")===e)}function r1e(e,t){const n=e._typeName===qy,r=Zn(e,Ir),o=Zn(t,Ir);return n&&(r==null?void 0:r._sun)!==(o==null?void 0:o._sun)}function o1e(e,t){const r=e._typeName===qy?!1:n1e(e,t),o=r1e(e,t),a=Rt(t._up)?Object.values(t._up._subUnits[Tl]):[],l=kO(e._idString,a);return(r||o)&&!l}function i1e(e,t){const n=Zn(t,Ir),r=n&&hI(n).find(a=>a._typeName===Xy),o=r&&Object.values(r._subUnits[due]);return o&&Boolean(o.find(a=>a._idString===e._idString))}function a1e(e,t){const n=Zn(t,Ir),r=Zn(e,Ir),o=(r==null?void 0:r._sun)===(n==null?void 0:n._sun),a=[Sc,uI],l=Boolean(Zy(e,Uh)),u=i1e(e,t),c=t1e.includes(e._typeName)&&e._sut===al,f=Boolean(zh(e,al))&&e._typeName.includes("Relay"),p=a.includes(e._typeName),m=Rt(t._up)?Object.values(t._up._subUnits[Il]):[],h=kO(e._idString,m);return(l||u||c||f)&&!h&&(o||p)}function s1e(e){return/relay/i.test(e)}const fv=(e,t,n,r)=>{const o=(e._typeName==="Out"||s1e(e._typeName))&&t.TitleEN==="ON";switch(r){case"togglerCommon":return o;case"togglerOn":return o&&n;case"togglerOff":return o&&!n&&e._sut!==Il;default:return!1}};var Dx={},l1e=It.exports;Object.defineProperty(Dx,"__esModule",{value:!0});var T0=Dx.default=void 0,u1e=l1e(Ot),c1e=D.exports,d1e=(0,u1e.default)((0,c1e.jsx)("path",{d:"M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z"}),"Backspace");T0=Dx.default=d1e;const ms={commonButtons:{background:"none","&:hover":{background:"none"}},deleteUnitButton:{ml:-2.5},delete:{pl:.5},restoreButton:{ml:-9.2},restore:{pl:.5}};function AO(){const{mode:e}=ra(),t=er(),{currentUnit:n,setCurrentUnit:r,setCurrentSys:o}=Vt(),a=()=>{n._deleted=!0,n._configured=!1,o(vn(sys))},l=()=>{n._deleted=!1,n._configured=!0,o(vn(sys))};return w.createElement("div",null,w.createElement(ct,{id:"delete_unit",onClick:a,sx:[ms.deleteUnitButton,ms.commonButtons]},!(n!=null&&n._deleted)&&(e==="dark"?w.createElement(T0,{color:"error"}):w.createElement(T0,null)),w.createElement(ge,{sx:ms.delete},n!=null&&n._deleted?"":t==="RU"?"\u0443\u0434\u0430\u043B\u0438\u0442\u044C":"delete")),n._deleted&&w.createElement(ct,{onClick:l,sx:[ms.restoreButton,ms.commonButtons]},w.createElement(Qc,null),w.createElement(ge,{sx:ms.restore},t==="RU"?"\u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C":"restore")))}var Bx={},f1e=It.exports;Object.defineProperty(Bx,"__esModule",{value:!0});var LO=Bx.default=void 0,p1e=f1e(Ot),h1e=D.exports,g1e=(0,p1e.default)((0,h1e.jsx)("path",{d:"M9.01 14H2v2h7.01v3L13 15l-3.99-4v3zm5.98-1v-3H22V8h-7.01V5L11 9l3.99 4z"}),"CompareArrows");LO=Bx.default=g1e;const m1e=1,v1e=255,y1e=1,x1e=30,wi={textField:{w:18,mr:1},chipsLabelCover:{mt:2},chipsLabelSun:{mr:2},anchorElement:{mt:1.2,mb:1.2},sunMenuText:{m:2},flexContainer:{display:"flex",mt:1.5},flexAlignCenter:{display:"flex",alignItems:"center"},typeSign:{px:.5},typeChanger:{flexGrow:1}};function b1e(e){const{options:t}=e,n=er(),{setCurrentSys:r,currentUnit:o}=Vt(),[a,l]=C.exports.useState(null),[u,c]=C.exports.useState(null),[f,p]=C.exports.useState(1),[m,h]=C.exports.useState(),x=Rt(o)?Number(o._sun):null,E=o&&o._typeName===Qle,_=o&&Zn(o,qc),y=Rt(o)&&Iue(o),v=Rt(o)&&o._typeName===Sc,b=Rt(o)&&o._up._typeName===Nh,S=Rt(o)&&Tue(o),P=Rt(o)&&o._typeName===uI,A=[Sc],k=[rue,Yy],I=o&&Rt(o)&&A.includes(o==null?void 0:o._sut),L=o&&Rt(o)&&k.includes(o==null?void 0:o._typeName),N=y||b||v||S||P,B=I||L||E&&_,V=o&&!tx(o),ee=t.length>1&&!B&&V;C.exports.useEffect(()=>{x!==null&&p(x)},[x,o]);const X=()=>{l(null),c(null)};C.exports.useEffect(()=>{X(),h(o==null?void 0:o._typeName)},[o]);const ie=Z=>{c(Z.currentTarget)},J=Z=>{changeUnitType(o,Z),h(Z),r(vn(sys))},G=Boolean(u),j=Rt(o)&&o._sut===al,te=o&&o._typeName===Ir;let ne;switch(!0){case j:ne={min:m1e,max:v1e};break;case te:ne={min:y1e,max:x1e};break;default:ne={min:0,max:void 0};break}const me=BI(Number(f),ne.min,ne.max),H=()=>{changeUnitSun(o,f),r(vn(sys)),X()},q=Z=>{const ue=Z.target.value,K=Number(ue);ue===""?p(void 0):K>=ne.min&&(!ne.max||K<=ne.max)&&p(K)};return w.createElement(ti,null,w.createElement(nO,{anchorOrigin:{vertical:"top",horizontal:"left"},id:"change-sun-menu",anchorEl:u,open:G,onClose:X},w.createElement(ti,{component:"span",sx:wi.sunMenuText},"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u043E\u043C\u0435\u0440 \u0441\u0443\u0431\u044A\u044E\u043D\u0438\u0442\u0430"),w.createElement(rO,null,w.createElement(Al,{id:"ppkr_sun_change_input",sx:wi.textField,value:f,inputProps:{step:1,...ne},type:"number",onChange:q}),w.createElement(ct,{"data-testid":"confirm_change_sun",disabled:!me,onClick:H},"ok"))),w.createElement(ti,{sx:wi.chipsLabelCover},w.createElement(Cp,{"data-testid":"ppkr_sun_chip",onClick:V&&!N?ie:void 0,sx:wi.chipsLabelSun,label:`# ${x}`}),w.createElement(Cp,{label:`ID = ${shortID(o)}`})),ee&&w.createElement(ti,{sx:wi.flexContainer},w.createElement(ti,{sx:wi.flexAlignCenter},w.createElement(LO,{id:"compare_arrow_icon"}),w.createElement(ti,{component:"span",sx:wi.typeSign},n==="RU"?"\u0442\u0438\u043F":"type",":")),w.createElement(ti,{sx:wi.typeChanger},w.createElement(Ox,{value:m,property:{format:"string"},options:t.map(Z=>({value:Z.key,label:Z.value})),onChange:Z=>J(Z)}))))}function _1e(){const{currentUnit:e}=Vt(),t=er();return"_sut"in e?w.createElement("div",null,w.createElement(b1e,{options:vI(e._sut,t)})):null}const Jc="unitID",eg="areaNum",C1e="phoneNumber",y4=[Jc,eg,"ignore"],x4=[Jc],E1e=[Jc,eg],w1e=["SN"],S1e=["typeSN","backLink"],$1e="0000",P1e=0;function R1e(e){switch(e){case Jc:return $1e;case eg:return P1e;default:return}}const Sn={textField:{width:e=>e.spacing(30)},container:{marginBottom:e=>e.spacing(1)},textLeft:{textAlign:"left",display:"flex",flexWrap:"wrap"},textRight:{textAlign:"right",marginRight:2,minWidth:"130px"},grid:{flexWrap:"nowrap"},unitRemover:{marginLeft:"4px"},unitConfig:{marginBottom:"15px",marginLeft:"6px"},valueFromPpk:{float:"right",mt:1,mr:1},arrowBackIconButton:e=>({mt:-1,verticalAlign:"-6px",ml:e==="checkbox"?-1:-.5}),arrowBackIcon:{fontSize:20},tipography:{display:"inline"},reactionBox:{height:"70px",width:"100%"},reactionBoxChip:{padding:"10px 0 0 0"},tipographyMeasureUnit:{mt:-1,ml:1},backLink:{ml:1}};function b4(e,t){const{changeUnitProperty:n}=uo(),r=C.exports.useMemo(()=>({idOfCurrentConfig:e,field:t}),[e,t]),o=cce(r),a=jh(),{currentUnit:l}=Vt(),u=l&&l[ba],c=C.exports.useCallback(f=>{a!==null&&(n({path:[e,t],value:f,selectedUnit:a}),l&&(l[ba]||(l[ba]={}),l[ba][t]!==f&&"_up"in l&&(l._edited=!0),l[ba]={...l[ba],[t]:f}))},[e,t]);return C.exports.useMemo(()=>[o,c,u],[o,c,u])}function T1e(e){const{field:t,initialConfig:n,unitPathId:r,propertiesOfField:o,lang:a,dragUnit:l}=e,[u,c,f]=b4(r,t),[p]=b4(r[0],"wasntExist"),m=r[1],h=Ws(p,[m,"isRecentlyAdded"]);Ua(p&&(p==null?void 0:p[m]));const{currentUnit:x,currentSys:E}=Vt(),_=x&&Rt(x)&&x._sut===cI,y=o.enumRU||o.enumEN,v=C.exports.useMemo(()=>{var Y;if(!x||t!=="areaNum"||!Rt(x)||x._up._typeName!==qc)return;const q=x&&((Y=Zn(x,Ir))==null?void 0:Y._sun),Z=q&&E?yI(E,q):void 0,ue=Z&&Pue(Z);if(!ue)return;const U=x._typeName===qy?Qh([Number(x._sun)],ue):ue;return Object.values(U).map(re=>({value:Number(re._sun),label:qr(re,a)}))},[x,t,a,E]),b=E&&t===Jc?_I(E,a).map(q=>({value:q._idString,label:qr(q,a)})):void 0,S=s$(x,t),P=()=>{let q=0;return _s(f[t])&&_s(n==null?void 0:n[t])&&(q=S),!h&&n&&n[t]!==void 0&&(q=n[t]),f&&f[t]!==void 0&&(q=f[t]),q},k=(()=>{if(f&&t===C1e){const q=(f==null?void 0:f[t])||"",Z=new RegExp(schema.unitTypes.TI.config.phoneNumber.pattern),ue=q.match(Z);return ue?ue[0]:""}return f&&Ua(f)?S!=null?S:0:f&&!_s(f[t])?f[t]:!h&&n&&!_s(n[t])?n[t]:f[t]||(n==null?void 0:n[t])||S||0})(),I=C.exports.useCallback(q=>{if(o.maxValue===1){c(q?1:0);return}if(m4("enumEN",o)){c(parseInt(q));return}if(o.format==="string"||o.format==="bytes"){c(q);return}c(pce({value:q,min:o.minValue||0,max:o.maxValue})),o.callOnAreaChange&&onAreaChange(x)},[o,r.toString()]),L=C.exports.useCallback(q=>{c(q)},[]),N=()=>{if(!l||!x||!Rt(x))return;(x._sut===Tl?o1e:a1e)(l,x)&&I(l._idString)},B=(q,Z)=>{let ue="";m4("enumEN",q)?ue="select":q.maxValue===1?ue="checkbox":ue="textfield";const K=()=>schema.dictionary.inPPK[a]||schema.dictionary.inPPK.EN,U=s$(x,t),Y=()=>c(U);return w.createElement(ge,{component:"u",sx:Sn.valueFromPpk},U!==k&&!_s(U)&&w.createElement(w.Fragment,null,w.createElement(rn,{sx:Sn.arrowBackIconButton(ue),onClick:Y},w.createElement(OO,{sx:Sn.arrowBackIcon})),w.createElement(on,{sx:Sn.tipography},K(),w.createElement("span",null," = "))),w.createElement(on,{id:`value_in_ppk_${t}`,sx:Sn.tipography},ue==="select"&&U!==k&&(y==null?void 0:y[`${U}`]),(ue==="textfield"||ue==="checkbox")&&U!==k&&Z(U)))},V=_&&w1e.includes(o.TitleEN),ee=x4.includes(t),X=eg!==t,ie=!E1e.includes(t),J=x&&Rt(x)&&x._sut==="OutputLink"&&x._typeName===lI&&o.TitleEN==="onFire1",G=C.exports.useMemo(()=>y&&Object.values(y).map((q,Z)=>({value:Z,label:Aue(q)}))||v||b,[v,b,y]);if(!o.rw)return null;const j=o.maxValue===1&&P()===1,te=o.maxValue===1?j:k,ne=G?q=>{var Z;return((Z=G.find(ue=>ue.value===q))==null?void 0:Z.label)||""}:q=>q;if(S1e.includes(t))return null;const H=o[`Title${a}`].replace(/(\S{10}[а,е,ё,и,о,у,ы,э,ю,я,a,e,o,u,y])([а-яa-z]{2})/gi,"$1 -%%$2").split("%%").map((q,Z)=>w.createElement(ge,{key:q+Z},q));return w.createElement(ge,{sx:Sn.container},w.createElement(jn,{container:!0,alignItems:"center",sx:Sn.grid},w.createElement(jn,{item:!0,xs:3,sx:Sn.textRight},w.createElement(on,{title:o[`Title${a}`]},J&&w.createElement(ge,{sx:[Sn.reactionBox,Sn.reactionBoxChip]},w.createElement(Cp,{label:"\u0420\u0435\u0430\u0433\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043D\u0430:"})),H)),w.createElement(jn,{item:!0,sx:Sn.textLeft},J&&w.createElement(ge,{sx:Sn.reactionBox}),w.createElement(Ex,{onDrop:N,active:x4.includes(t)},w.createElement(Ox,{options:G,value:te,disabled:V,disabledInputValue:X,disabledOpenSelect:ee,disabledClearBtn:ie,key:r.toString(),onChange:I,property:o,propName:t,sx:o.maxValue!==1?Sn.textField:void 0,resetValue:R1e(t),idProp:`id_${r[0]}_${r[1]}_${o.TitleEN}`,propClickHandle:L})),B(o,ne)),w.createElement(jn,{item:!0,sx:Sn.textLeft},w.createElement(on,{sx:Sn.tipographyMeasureUnit},`${o.measureUnits||""}`))))}function _4(e){var k,I,L,N;const{properties:t,initialConfig:n,dragUnit:r}=e,o=er(),a=MI(),l=NI(),u=nx(),c=uce(),{currentUnit:f,setCurrentUnit:p}=Vt(),m=jh(),h=["AL","Boot"];if(!t||f&&Rt(f)&&h.includes(f._typeName))return null;const{__:x,...E}=t,_=Object.keys(IO(y4,E)),y=Object.keys(Qh(y4,E)),v=[..._,...y],b=Rt(f)?((k=f==null?void 0:f.config)==null?void 0:k.backLink)||((I=f==null?void 0:f.config)==null?void 0:I.unitID):void 0,S=unitIdToUnit2(b),P=u&&!_s(c)&&c>0&&!yce(m)||(f==null?void 0:f._typeName)===cue;function A(){S&&p(S)}return w.createElement(Jh,{title:(L=x[`Title${o}`])!=null?L:x.TitleEN},w.createElement(ge,{sx:Sn.unitRemover},P?w.createElement(AO,null):null),w.createElement(ge,{sx:Sn.unitConfig},w.createElement(_1e,null)),Boolean(b)&&w.createElement(Ihe,{sx:Sn.backLink,component:"button",variant:"subtitle1",color:"secondary",onClick:A},((N=f==null?void 0:f.config)==null?void 0:N.backLink)&&w.createElement(ge,{component:"span"},Ia(unitIdToUnit2(f.config.backLink),"areaNum"),". \u041E\u0431\u043B\u0430\u0441\u0442\u044C."),S&&qr(S,o)),v.map(B=>w.createElement(T1e,{dragUnit:r,key:`${B}_${f==null?void 0:f._sun}`,field:B,propertiesOfField:E[B],lang:o,initialConfig:n,unitPathId:[a,l,ba]})))}const Ut={statusColumn:{width:"fit-content"},statusColumnExtend:{ml:1},toggleButtonContainer:{display:"flex",flexDirection:"column",mb:.5},toggleButtonContainerValue:{alignSelf:"flex-end",pr:2},toggleButton:{ml:1,maxWidth:"fit-content"},toggleBox:{display:"flex",flexDirection:"column"},toggleBoxValue:{alignSelf:"flex-end",pr:2},toggleBoxButtons:{marginTop:"-2px"},toggleBoxRestoreButton:{ml:2},statusGridContainer:{ml:1},statusGridPropKey:{"&::first-letter":{textTransform:"uppercase"},mr:2.5},statusGridPropValue:e=>({ml:"auto",minWidth:e.spacing(3)}),statusPropValue:{color:"primary.main",position:"relative",fontWeight:Lf.valueFont},statusRelayValue:{color:"primary.main",fontWeight:Lf.valueFont,minWidth:e=>e.spacing(30),mr:-1.5},singleProperty:e=>({position:"absolute",left:e.spacing(4),top:e.spacing(-1)}),switchStatus:{mt:-3,pb:1},syncPercentageSign:{position:"absolute",color:"common.white",pl:.5},updateFirmwareContainer:{mt:3,ml:1},updateFirmwareButtons:{mt:1},updateFirmwareStopButton:{mt:2},statusClockContainer:{display:"inline-block",minWidth:"30%"},statusClockItemKey:{display:"inline-block"},statusClockValue:e=>({ml:.5,color:"primary.main",fontWeight:Lf.valueFont})},I0={[Bh]:["day","month","year","hour","min","sec"],[Sc]:"on"},MO=I0[Bh],I1e=["snType",...MO],O1e=e=>{const t=I1e;switch(e._typeName){case qc:case eue:case Xy:case lI:return[...t,"on"];case bp:return[...t,"notSynched","offline"];default:return t}},k1e=[Dh,Xy,Yy],A1e=[uue];function L1e(e){var G;const{properties:t}=e,{currentUnit:n,setCurrentSys:r}=Vt(),o=er(),[a,l]=C.exports.useState(!1),[u,c]=C.exports.useState(!1),f=dce(),{setCurrentFirmware:p}=uo();C.exports.useEffect(()=>{fwPercent===100&&p("")},[fwPercent]);const m=shortID(n),h=n&&"_sun"in n?n._sun:void 0,x=n&&Rt(n)?n._typeName:void 0,E=n&&Rt(n)?n._up._typeName:void 0;if(C.exports.useEffect(()=>{l(!1)},[h,m]),!t||!n||!Rt(n))return null;const{__:_,...y}=t,v=`Title${o}`,b=Qh(O1e(n),y),S=Object.entries(b),P=IO(MO,y),A=Object.entries(P),k=(j,te)=>{sendCommand(n,{status:{[j]:te}}),r(vn(sys)),globalThis.shareRender()},I=()=>{k("on",u?1:0),V()},L=()=>{const j={status:{}};sendCommand(n,j)},N=()=>{const j="reBoot",te={};!n||(n[j]||(n[j]={}),te[j]=n[j],sendCommand(n,te))},B=j=>{if(!j.target.files)return;const te=j.target.files[0],{name:ne}=te;p(ne),setUpdateFirmware(te,n)},V=()=>{var j;l(!a),(j=n==null?void 0:n.status)!=null&&j.on?c(!1):c(!0)},ee=()=>{c(!u)},X=()=>{specialTagWhileFwOrCfg=!1,fw2update=null,p("")},ie=()=>S.map(([j,te])=>{var ue,K,U;const ne=fv(n,te,a,"togglerCommon"),me=fv(n,te,a,"togglerOn"),H=fv(n,te,a,"togglerOff"),q=()=>{var fe,we,ke,Ie,Ce,We,Me;const Y=(fe=n==null?void 0:n.status)==null?void 0:fe[j];if(!n)return null;if(Array.isArray(Y))return Y.map(ft=>{var ze,bt;return(bt=(ze=te[`enum${o}`])==null?void 0:ze[ft])==null?void 0:bt.split(":")[0]}).join(", ")||0;if(te[`enum${o}`]&&Y)return(Ie=(ke=(we=te[`enum${o}`])==null?void 0:we[Y])==null?void 0:ke.split(":")[0])!=null?Ie:0;if(te.enumEN&&Y)return(Me=(We=(Ce=te.enumEN)==null?void 0:Ce[Y])==null?void 0:We.split(":")[0])!=null?Me:0;const re=`toggle_status_value_${te.TitleEN}`;return H?w.createElement(ge,{sx:Ut.toggleButtonContainer},w.createElement(ge,{id:re,sx:Ut.toggleButtonContainerValue},Y!=null?Y:0),w.createElement(ct,{id:`${n._sut}_${n._sun}_switch_relay`,onClick:V,sx:Ut.toggleButton},"\u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C")):me?w.createElement(ge,{sx:Ut.toggleBox},w.createElement(ge,{id:re,sx:Ut.toggleBoxValue},Y!=null?Y:0),w.createElement(ge,{sx:Ut.toggleBoxButtons},w.createElement(GI,{id:`${n._sut}_${n._sun}_switch_relay_checkbox`,checked:u,onChange:ee}),w.createElement(ct,{onClick:()=>l(!a),sx:Ut.toggleBoxRestoreButton,id:`${n._sut}_${n._sun}_switch_relay_restore`},w.createElement(Qc,null)),w.createElement(ct,{id:`${n._sut}_${n._sun}_switch_relay_send_to_cp`,onClick:I},schema.dictionary["2ppk"][`${o||"EN"}`]))):Y!=null?Y:0},Z=x&&E&&I0[x]&&k1e.includes(E)&&I0[x].includes(j);return w.createElement(w.Fragment,null,w.createElement(jn,{container:!0,key:(ue=te[v])!=null?ue:te.TitleEN,sx:Ut.statusGridContainer},w.createElement(jn,{item:!0,sx:Ut.statusGridPropKey},`${(K=te[v])!=null?K:te.TitleEN}:`),w.createElement(jn,{item:!0,sx:Ut.statusGridPropValue},w.createElement(ge,{component:"span",id:`status_value_${te.TitleEN}`,sx:ne?Ut.statusRelayValue:Ut.statusPropValue},w.createElement(ge,{component:"span",id:`status_value_${j}`},!ne&&q()),w.createElement(ge,{sx:Ut.syncPercentageSign,component:"span"},`status_value_${j}`=="status_value_noSynchPercent"&&"%"),Z&&w.createElement(Rs,{sx:Ut.singleProperty,icon:w.createElement(Oi,null),descItem:te,propName:j,startValue:(U=n==null?void 0:n.status)==null?void 0:U[j],onDone:k})))),w.createElement(ge,{sx:ne?[Ut.statusRelayValue,Ut.switchStatus]:void 0},ne&&q()))}),J=()=>A.map(([j,te])=>{var me,H,q;const ne=()=>{var ue;const Z=(ue=n==null?void 0:n.status)==null?void 0:ue[j];return Z!=null?Z:0};return w.createElement(ge,{key:`${j}_${(me=te[v])!=null?me:te.TitleEN}`,sx:Ut.statusClockContainer},w.createElement(ge,{sx:Ut.statusClockItemKey},`${(H=te[v])!=null?H:te.TitleEN}:`),w.createElement(ge,{sx:[Ut.statusClockItemKey,Ut.statusGridPropValue]},w.createElement(ge,{component:"span",id:`status_value_${te.TitleEN}`,sx:Ut.statusClockValue},w.createElement(ge,{component:"span",id:`status_value_${j}`},ne()),w.createElement(Rs,{icon:w.createElement(Oi,null),descItem:te,propName:j,startValue:(q=n==null?void 0:n.status)==null?void 0:q[j],onDone:k}))))});return w.createElement(Jh,{title:(G=_[v])!=null?G:_.TitleEN},w.createElement(jn,{container:!0,justifyContent:"space-between"},w.createElement(ge,{sx:Ut.statusColumn},ie()),w.createElement(jn,{item:!0})),w.createElement(ge,{sx:[Ut.statusColumn,Ut.statusColumnExtend]},J()),n&&n._desc.updateFirmware&&!A1e.includes(n._typeName)&&w.createElement(jn,{sx:Ut.updateFirmwareContainer},w.createElement(ct,{onClick:L},"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C"),n._typeName==="Boot"&&w.createElement(ct,{onClick:N},"\u041F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C"),w.createElement(ge,{sx:Ut.updateFirmwareButtons},w.createElement(ct,{component:"label"},"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B",w.createElement("input",{type:"file",onChange:B,hidden:!0})),f,fw2update&&w.createElement(ge,{sx:Ut.updateFirmwareStopButton},w.createElement(ct,{onClick:X},"\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C"),"uploading firmware: (",fwPercent," %)"))))}const C4={commandBtns:{display:"flex",flexWrap:"wrap",justifyContent:"center",ml:1},unitCommandButton:{mb:1.2}};function M1e(e){var f,p;const{properties:t}=e,{currentUnit:n,setCurrentSys:r}=Vt(),o=er();if(!t)return null;const{__:a,code:l}=t,u=m=>{n.command||(n.command={}),n.command={code:m};const h={command:{code:m}};sendCommand(n,h)},c=Object.values((f=l[`enum${o}`])!=null?f:l.enumEN).map((m,h)=>{const[x,E]=m.split(": ");return w.createElement(lT,{key:m,title:E,disableHoverListener:!E,enterDelay:500},w.createElement(ct,{onClick:()=>u(h+1),sx:C4.unitCommandButton},x))});return w.createElement(Jh,{title:(p=a[`Title${o}`])!=null?p:a.TitleEN},w.createElement(ge,{sx:C4.commandBtns},c))}const sr={containerInfoProperty:{ml:1.2},itemInfoPropertyKey:{"&::first-letter":{textTransform:"uppercase"},mr:7},itemInfoPropertyValue:{ml:"auto"},propertiesContent:{width:"fit-content"},propertiesContentContainer:{ml:1.2,pr:6.5},propertiesContentTitleAu:{mr:"auto"},button:{m:1,mt:2},searchAlButton:e=>({minWidth:e.spacing(12.5)}),searchAlDots:{position:"absolute",ml:.1,fontWeight:900},infoValue:{color:"primary.main",fontWeight:Lf.valueFont},infoValueMeasureUnit:e=>({ml:.6,minWidth:e.spacing(6),display:"inline-block"})};function N1e(e){var k;const{properties:t}=e,{currentUnit:n,setCurrentSys:r}=Vt(),o=er(),[a,l]=C.exports.useState(null),[u,c]=C.exports.useState([]),f=Wh(),p=I=>{const L=n;L[I]||(L[I]={}),exec1Command(L,I)};if(C.exports.useEffect(()=>{l(null),c([])},[f]),rx(()=>{c(I=>I.length===3?[]:[...I,"."]),p("search"),"_up"in n&&n.info&&n.info.fastSearch>0&&(l(null),c([]),r(vn(sys)))},a),!t)return null;const{__:m,...h}=t,x=`Title${o}`,E=Object.keys(h),_=(I,L)=>{const N=E[L],B=Oue(n,N);if(I.coeff&&I.DescriptionEN==="temperatureCPU")return B&&(Number(B)*.001).toFixed(3)||0;if(I.coeff)return B&&(Number(B)*I.coeff).toFixed(3)||0;const V=l$("RU",n,N)||l$("EN",n,N);return V?(V==null?void 0:V[`${B}`])||0:B||0},y=Object.values(h).map((I,L)=>{var N,B,V;return w.createElement(jn,{container:!0,key:(N=I[x])!=null?N:I.TitleEN,sx:sr.containerInfoProperty},w.createElement(jn,{item:!0,sx:sr.itemInfoPropertyKey},`${(B=I[x])!=null?B:I.TitleEN}:`),w.createElement(jn,{item:!0,sx:sr.itemInfoPropertyValue},w.createElement(ge,{id:`id_info_value_${I.TitleEN}`,sx:sr.infoValue,component:"span"},I.measureUnits==="V"?parseFloat(Number(_(I,L)).toFixed(1)):_(I,L)),w.createElement(ge,{sx:sr.infoValueMeasureUnit,component:"span"},(V=I.measureUnits)!=null?V:"")))}),v=n._typeName=="RingUPSmodule"||n._typeName=="OutModule"||n._typeName=="AL2module",b=()=>{l(1500),c([])},S=()=>Qy(n,"AU"),P=()=>{if(!Rt(n))return;new Date().toLocaleTimeString();const I=Zn(n,Ir),L=qr(n,o);putLog(`\u041F\u041F\u041A-\u0420#${I==null?void 0:I._sun}.\u041C\u043E\u0434\u0443\u043B\u044C${L} \u041E\u0447\u0438\u0441\u0442\u043A\u0430 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435`),p("eraseAll")},A=()=>p("getVersion");return y.length?w.createElement(Jh,{title:(k=m[x])!=null?k:m.TitleEN},w.createElement(ge,{sx:sr.propertiesContent},n._typeName==="AL"&&w.createElement(jn,{container:!0,sx:sr.propertiesContentContainer},w.createElement(jn,{item:!0,sx:sr.propertiesContentTitleAu},"\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0410\u0423:"),w.createElement(jn,{item:!0},w.createElement(ge,{component:"span",sx:sr.infoValue},S()))),y,Rt(n)&&Uh(n)&&w.createElement(ct,{sx:sr.button,onClick:A},"\u0417\u0430\u043F\u0440\u043E\u0441 \u0432\u0435\u0440\u0441\u0438\u0438"),n._typeName==="AL"&&w.createElement(ct,{onClick:b,sx:[sr.button,sr.searchAlButton]},w.createElement("span",null,w.createElement("span",null,"\u041F\u043E\u0438\u0441\u043A "),w.createElement(ge,{component:"span",sx:sr.searchAlDots},u))),v&&w.createElement(ct,{sx:sr.button,onClick:P},"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044E \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435"))):null}var Fx={},D1e=It.exports;Object.defineProperty(Fx,"__esModule",{value:!0});var NO=Fx.default=void 0,B1e=D1e(Ot),F1e=D.exports,U1e=(0,B1e.default)((0,F1e.jsx)("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"}),"FileDownload");NO=Fx.default=U1e;var Ux={},z1e=It.exports;Object.defineProperty(Ux,"__esModule",{value:!0});var O0=Ux.default=void 0,j1e=z1e(Ot),W1e=D.exports,H1e=(0,j1e.default)((0,W1e.jsx)("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload");O0=Ux.default=H1e;const E4={csvBox:{my:1},csvButton:{backgroundColor:Lt[100]}};function V1e(){const{currentUnit:e}=Vt(),{mode:t}=ra(),n=t==="light"?E4.csvButton:void 0,r=()=>{exportCfgCsv(e)},o=()=>{importCfgCsv(e)},a=()=>{importCfgCsv(e,!0)};return w.createElement(ge,{sx:E4.csvBox},w.createElement(xo,{title:"Export CSV Configuration",placement:"top"},w.createElement(ct,{sx:n,onClick:r,endIcon:w.createElement(NO,null)},"exp")),w.createElement(xo,{title:"Import CSV Configuration",placement:"top"},w.createElement(ct,{sx:n,onClick:o,endIcon:w.createElement(O0,null)},"imp")),w.createElement(xo,{title:"Import CSV Configuration (Win-1251 encoding)",placement:"top"},w.createElement(ct,{sx:n,onClick:a,endIcon:w.createElement(O0,null)},"imp1251")))}const vs={ppkName:{ml:1},breadCrumbs:{color:"common.white"},breadCrumbsDark:{color:"common.black"},breadCrumbsCommon:{ml:1}},G1e={display:"flex",flexWrap:"wrap","& > *":{flex:1,m:1,minWidth:e=>e.spacing(50)}};function K1e({dragUnit:e}){const t=nx(),{currentUnit:n}=Vt(),r=er(),{mode:o}=ra(),a=C.exports.useMemo(()=>n&&Jy(n).map(h=>qr(h,r)),[n,r]);if(!Rt(n))return null;const l=mI(r,n),u=Cue(n);if(n._typeName==="_Box")return w.createElement(ge,{sx:vs.ppkName},w.createElement(ge,{sx:o==="dark"?vs.breadCrumbs:vs.breadCrumbsDark},l),w.createElement(AO,null),w.createElement(V1e,null),w.createElement(_4,{properties:u}));if(!t)return null;const c=Eue(n),f=bue(n),p=_ue(n),m="config"in n?n.config:void 0;return w.createElement(w.Fragment,null,a&&w.createElement(on,{sx:o==="dark"?vs.breadCrumbs:vs.breadCrumbsDark},w.createElement(ge,{component:"span",sx:vs.breadCrumbsCommon},a.join(" > "))),w.createElement(ge,{sx:G1e},w.createElement(_4,{dragUnit:e,properties:u,initialConfig:m}),w.createElement(L1e,{properties:c}),w.createElement(M1e,{properties:p}),w.createElement(N1e,{properties:f})))}var zx={},q1e=It.exports;Object.defineProperty(zx,"__esModule",{value:!0});var DO=zx.default=void 0,Y1e=q1e(Ot),X1e=D.exports,Q1e=(0,Y1e.default)((0,X1e.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");DO=zx.default=Q1e;var jx={},Z1e=It.exports;Object.defineProperty(jx,"__esModule",{value:!0});var BO=jx.default=void 0,J1e=Z1e(Ot),eye=D.exports,tye=(0,J1e.default)((0,eye.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");BO=jx.default=tye;var Wx={},nye=It.exports;Object.defineProperty(Wx,"__esModule",{value:!0});var FO=Wx.default=void 0,rye=nye(Ot),oye=D.exports,iye=(0,rye.default)((0,oye.jsx)("path",{d:"m12 16.5 4-4h-3v-9h-2v9H8l4 4zm9-13h-6v1.99h6v14.03H3V5.49h6V3.5H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2z"}),"SystemUpdateAlt");FO=Wx.default=iye;var aye="Expected a function";function sye(e){if(typeof e!="function")throw new TypeError(aye);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var lye=sye,uye=Pl,cye=Mh,dye=RO,fye=wy;function pye(e,t){if(e==null)return{};var n=uye(fye(e),function(r){return[r]});return t=cye(t),dye(e,n,function(r,o){return t(r,o[0])})}var hye=pye,gye=Mh,mye=lye,vye=hye;function yye(e,t){return vye(e,mye(gye(t)))}var xye=yye,bye=So,UO=bye("omitBy",xye);UO.placeholder=lo;var _ye=UO,Hx={},Cye=It.exports;Object.defineProperty(Hx,"__esModule",{value:!0});var zO=Hx.default=void 0,Eye=Cye(Ot),wye=D.exports,Sye=(0,Eye.default)((0,wye.jsx)("path",{d:"M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2v4zm-4-2V9h-1l-2 1v1h1.5v4H13z"}),"RepeatOne");zO=Hx.default=Sye;function $ye(){const[e,t]=C.exports.useState(""),{setCurrentSys:n,currentUnit:r}=Vt(),[o,a]=hr(Yc,{}),[l,u]=hr(dI),[c,f]=hr(fI),p=uo(),m=Ol(),h={"man -ppk":p$,"emu -f":h$,"emu!":g$,"exp -t":m$,clear:v$,"pwnd -a":y$,"pwnd! -a":x$,"opn -s":b$,"opn! -s":_$},x=v=>t(v.target.value),E=()=>{p.expandingSelectedUnit(d$(m)),a(d$(o))},_=(v,b)=>{const S=v.match(/^erase=(\d+)$/);if(!S)return!1;const P=parseInt(S[1],10);return sendCommand(b,{eraseLog:{code:P}}),systemLog(!1,"CLEAR_PROTOCOL"),!0},y=v=>{if(v.key!=="Enter")return;v.preventDefault();const b=e.trim();if(!!b&&!(r&&_(b,r))){switch(h[b]){case p$:systemLog(!1,`${h[b]}: ${JSON.stringify(Object.keys(h))}`),systemLog(!1,JSON.stringify({emulationAnswerOn}));break;case h$:emulationAnswerOn=!0,systemLog(!1,JSON.stringify({emulationAnswerOn}));break;case g$:emulationAnswerOn=!1,systemLog(!1,JSON.stringify({emulationAnswerOn}));break;case m$:E(),systemLog(!1,h[b]);break;case v$:log=[],systemLog(!1,h[b]);break;case y$:u(!0),systemLog(!1,h[b]);break;case x$:u(!1),systemLog(!1,h[b]);break;case b$:f(!0),systemLog(!1,h[b]);break;case _$:f(!1),systemLog(!1,h[b]);break;default:systemLog(!1,`${e}:  command not found`);break}n(vn(sys))}};return w.createElement(Al,{id:"terminal_input",value:e,onChange:x,variant:"standard",color:"info",onKeyDown:y})}const jO="\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",WO="\u0421\u043E\u0431\u044B\u0442\u0438\u0435",HO="\u0410\u0434\u0440\u0435\u0441",VO="\u2116 \u041E\u0431\u043B\u0430\u0441\u0442\u044C";function Pye(e){const t=a=>a?Object.values(a).filter(l=>l.value==="1").map(l=>`${l.name}: ${l.value}`).join(" - "):"",n=a=>a.replace(/ппк-р|обл#/gi,""),r=(a,l)=>{if(!a||!/зона пожаротушения/gi.test(a))return"-";const u=a.replace(/.*область#(\d+).*зона пожаротушения.*/i,"$1 \u0437\u043E\u043D\u0430 \u043F\u043E\u0436\u0430\u0440\u043E\u0442\u0443\u0448\u0435\u043D\u0438\u044F");return l?`${u} (${l})`:u};return e.map(a=>{var x,E,_,y,v,b,S;const l=decodeRecordLang(a),{datePC:u,unitName:c,parameters:f}=l,p=(x=a.message)!=null&&x.id?unitIdToUnit(a.message.id):null,m=((_=(E=p==null?void 0:p.u)==null?void 0:E.config)==null?void 0:_.name)||"",h=t(f).trim()||((y=f==null?void 0:f.code)==null?void 0:y.value)||((v=f==null?void 0:f.value)==null?void 0:v.value)||`${((b=f==null?void 0:f.fault)==null?void 0:b.name)||""} - ${((S=f==null?void 0:f.notSynched)==null?void 0:S.name)||""}`;return{datePcTime:u.value,eventLog:h,pathToEvent:n(c.value),pathToFireArea:r(c.description,m)}}).reverse()}function Rye(e){const t=document.createElement("a"),n=e.map((l,u)=>`${u+1}) ${jO}: ${l.datePcTime}, ${WO}: ${l.eventLog}, ${HO}: ${l.pathToEvent}, ${VO}: ${l.pathToFireArea}`).join(`
`),r=new Blob([n],{type:"text/plain"});t.href=URL.createObjectURL(r);const o=new Date,a=`${o.getDate().toString().padStart(2,"0")}.${(o.getMonth()+1).toString().padStart(2,"0")}.${o.getFullYear()}_${o.getHours()}-${o.getMinutes().toString().padStart(2,"0")}`;t.download=`log_events_${a}.txt`,document.body.appendChild(t),t.click()}const w4=[{id:"datePcTime",label:jO,minWidth:170},{id:"eventLog",label:WO,minWidth:170},{id:"pathToEvent",label:HO,minWidth:50},{id:"pathToFireArea",label:VO,minWidth:50}],Cu={paper:{width:"100%",overflow:"hidden"},tableContainer:{maxHeight:440},tableCell:e=>({minWidth:e.minWidth}),logEventsFooter:{display:"flex",justifyContent:"space-between"},logExportButtonCover:{ml:2,display:"flex",alignItems:"center"}},Tye=[10,25,100];function Iye(e){const{logs:t}=e,n=Pye(t),[r,o]=C.exports.useState(0),[a,l]=C.exports.useState(10),u=(p,m)=>{o(m)},c=p=>{l(Number(p.target.value)),o(0)},f=()=>{Rye(n)};return w.createElement(wo,{sx:Cu.paper},w.createElement(cme,{sx:Cu.tableContainer},w.createElement(Wge,{stickyHeader:!0,"aria-label":"sticky table"},w.createElement(vme,null,w.createElement(l4,null,w4.map(p=>w.createElement(Pc,{size:"small",key:p.id,align:p.align,sx:Cu.tableCell(p)},p.label)))),w.createElement(Qge,null,n.slice(r*a,r*a+a).map((p,m)=>w.createElement(l4,{hover:!0,role:"checkbox",tabIndex:-1,key:`${p.datePcTime}_${m}`},w4.map(h=>{const x=p[h.id];return w.createElement(Pc,{size:"small",key:h.id,align:h.align},x)})))))),w.createElement(ge,{sx:Cu.logEventsFooter},w.createElement(ge,{sx:Cu.logExportButtonCover},w.createElement(ct,{onClick:f},"\u044D\u043A\u0441\u043F\u043E\u0440\u0442 \u0436\u0443\u0440\u043D\u0430\u043B\u0430")),w.createElement(Mme,{rowsPerPageOptions:Tye,count:n.length,rowsPerPage:a,page:r,onPageChange:u,onRowsPerPageChange:c,labelRowsPerPage:"\u0421\u043E\u0431\u044B\u0442\u0438\u0439 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435:"})))}function Oye(){const{eventLogIsOpenContext:e}=Vt(),[t,n]=C.exports.useState([]),[r,o]=C.exports.useState(null),a=()=>{const l=indexedDB.open("Sigma");l.onsuccess=function(){const u=l.result,c=u.transaction("Log","readonly"),p=c.objectStore("Log").getAll();p.onsuccess=function(){n(p.result)},c.oncomplete=function(){u.close()}}};return C.exports.useEffect(a,[]),C.exports.useEffect(()=>{o(e?5e3:null)},[e]),rx(()=>{a()},r),w.createElement(Iye,{logs:t})}const kye=350,Pt={menuButton:{background:"none",m:0},menuButtonLight:{color:Lt[50]},eventLogButton:{background:"none"},eventLogButtonLight:{color:"common.white"},fromFileButton:{mr:1.4},configuredMark:e=>({width:e.spacing(1),height:e.spacing(1),backgroundColor:"success.main",borderRadius:e.spacing(1),ml:.5}),terminalHeader:e=>({display:"flex",alignItems:"center",justifyContent:"flex-start",padding:e.spacing(1.5,1),backgroundColor:Lt[400],width:"100%"}),dataLog:{p:2,pt:1},serverConnectionStatus:{ml:1},onlineMark:{color:"success.light"},offlineMark:{color:"warning.main"},terminal:{position:"absolute",flexShrink:0,[`& .${AR.paper}`]:{width:kye}},buttonToPpk:{ml:10},flashingElement:{animation:"flash 1s infinite","@keyframes flash":{"0%":{opacity:1},"50%":{opacity:.3},"100%":{opacity:1}}},oddLogData:(e,t)=>({color:e%2===0?Lt[500]:t(),mt:.5,fontWeight:500}),tipography:{mr:1},personIcon:{mr:1,mb:-1}};function Aye({onRefreshStart:e}){var H,q,Z,ue,K;const t="send_to_ppk_one",n="send_to_cp",{unitPathSelected:r,unitSelected:o,unitSelectedExist:a}=uo(),l=er(),{mode:u}=ra(),c=u==="dark",f=nx(),p=jh(),{currentUnit:m,setCurrentUnit:h,setCurrentSys:x,currentUnitGroup:E,setCurrentUnitGroup:_,eventLogIsOpenContext:y,setEventLogIsOpenContext:v}=Vt(),b=Eo(),[S,P]=C.exports.useState(!1),[A,k]=C.exports.useState(!1),[I,L]=Cce();C.exports.useEffect(()=>{A&&(window.location.href="/")},[A]);const N=()=>{P(!0)},B=()=>{v(!y)},V=()=>{P(!1)},ee=()=>{readConfigFromFile(()=>{x(vn(sys)),setTimeout(()=>{k(!0)},0)})},X=()=>{r(null),o(null),a(null)},ie=()=>{saveKrut()},J=(U=!1)=>{const Y=m==null?void 0:m.config;m&&("_deleted"in m&&m._deleted&&(X(),setSubscribe(m._up,!1),h(m._up)),sendConfigToPPK({curUnit:m,curSut:f?null:p},U||void 0)),sendCommand(m,{config:Y}),!LI(E)&&_(_ye(re=>re._deleted,E))},G=()=>c?Lt[50]:Lt[900],j=()=>{h(void 0),e(),curPollingModule=void 0,X(),restoreCfg(),k(!0)},te=()=>{fastReadAllCfg()},ne=()=>{J(),L(n)},me=()=>{J(!0),L(t)};return w.createElement(w.Fragment,null,w.createElement(ge,{component:"span",sx:Pt.serverConnectionStatus},w.createElement(on,{component:"span",variant:"overline",sx:Pt.tipography},(H=loggedInUser==null?void 0:loggedInUser.config)==null?void 0:H.name),w.createElement(Ih,{sx:Pt.personIcon}),online?w.createElement(ge,{id:"online_mark",component:"span",sx:Pt.onlineMark},"online"):w.createElement(ge,{component:"span",sx:Pt.offlineMark},"offline")),w.createElement(ct,{id:n,onClick:ne,sx:[Pt.buttonToPpk,sendingUnit&&I(n)&&Pt.flashingElement]},schema.dictionary["2ppk"][`${l!=null?l:"EN"}`]),w.createElement(xo,{title:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0432 \u041F\u041F\u041A \u043E\u0434\u0438\u043D \u044E\u043D\u0438\u0442"},w.createElement(ct,{id:t,onClick:me,sx:[sendingUnit&&I(t)&&Pt.flashingElement]},w.createElement(zO,{fontSize:"large"}))),w.createElement(ct,{id:"read_config_from_ppk",onClick:te,sx:readingAllCfg?Pt.flashingElement:void 0},schema.dictionary.FromPpk[`${l!=null?l:"EN"}`]),w.createElement(ct,{id:"save_config_to_local_storage",onClick:()=>{saveCfg()},sx:[Pt.menuButton,!c&&Pt.menuButtonLight]},(q=schema.dictionary.save[l])!=null?q:schema.dictionary.save.EN,w.createElement(ge,{sx:Pt.configuredMark})),w.createElement(ct,{id:"restore_config_from_local_storage",onClick:j,sx:[Pt.menuButton,!c&&Pt.menuButtonLight]},(Z=schema.dictionary.restore[l])!=null?Z:schema.dictionary.restore.EN),w.createElement(ct,{onClick:()=>{saveConfigToFile()},sx:[Pt.menuButton,!c&&Pt.menuButtonLight]},(ue=schema.dictionary.export[l])!=null?ue:schema.dictionary.export.EN),w.createElement(xo,{title:"\u0412 \u0424\u0430\u0439\u043B \u0434\u043B\u044F \u0418\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0430"},w.createElement(ct,{onClick:ie,sx:[Pt.menuButton,!c&&Pt.menuButtonLight]},w.createElement(FO,null))),w.createElement(ct,{onClick:ee,sx:[Pt.menuButton,!c&&Pt.menuButtonLight,Pt.fromFileButton]},(K=schema.dictionary.read[l])!=null?K:schema.dictionary.read.EN),w.createElement(ct,{"data-testid":"event_log",onClick:B,sx:[!y&&Pt.eventLogButton,!y&&!c&&Pt.eventLogButtonLight]},"\u0416\u0443\u0440\u043D\u0430\u043B"),w.createElement(ct,{id:"terminal_open",onClick:N,sx:[Pt.menuButton,!c&&Pt.menuButtonLight]},"\u0422\u0435\u0440\u043C\u0438\u043D\u0430\u043B"),w.createElement(d0,{sx:Pt.terminal,variant:"persistent",anchor:"right",open:S},w.createElement(ge,{sx:Pt.terminalHeader},w.createElement(rn,{onClick:V,id:"terminal_close"},b.direction==="rtl"?w.createElement(DO,null):w.createElement(BO,null)),w.createElement($ye,null)),w.createElement(gpe,null),w.createElement(ge,{sx:Pt.dataLog},log.slice().reverse().map((U,Y)=>w.createElement(on,{sx:Pt.oddLogData(Y,G),key:U+Y},U)))),y&&w.createElement(d0,{variant:"permanent",anchor:"bottom",open:y},w.createElement(Oye,null)))}function Lye(e){const{open:t}=e;return w.createElement(jfe,{open:t},w.createElement(lpe,null,"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435"),w.createElement(Qfe,null,w.createElement(rpe,null,"\u041F\u0440\u043E\u0438\u0441\u0445\u043E\u0434\u0438\u0442 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043C\u044B, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430 \u043F\u043E\u0434\u043E\u0436\u0434\u0438\u0442\u0435 ...")))}var Mye=Lr(D.exports.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility"),Nye=Lr(D.exports.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");const S4={container:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"900px"},button:{mt:2}};function Dye(e){const{onSubmit:t,error:n}=e,[r,o]=C.exports.useState(""),[a,l]=C.exports.useState(!1),[u,c]=C.exports.useState(!1),[f,p]=C.exports.useState(!1),m=C.exports.useRef(null),h=_=>{o(_.target.value),p(!0)},x=()=>{setUser(r),t(r)};C.exports.useEffect(()=>{const _=y=>{if(!m.current)return;const v=/^[a-zA-Z0-9]$/.test(y.key),b=y.key==="Enter";v&&!u&&(m.current.focus(),c(!0)),v&&(o(S=>S+y.key),y.preventDefault()),b&&!u&&(m.current.focus(),c(!0))};return window.addEventListener("keypress",_),()=>{window.removeEventListener("keypress",_)}},[u]);const E=()=>{l(_=>!_),m.current&&!f&&r.length===0&&(m.current.focus(),m.current.setSelectionRange(r.length,r.length))};return w.createElement(ge,{sx:S4.container},w.createElement(on,{variant:"h6",gutterBottom:!0},"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043F\u0430\u0440\u043E\u043B\u044C \u0434\u043B\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430"),w.createElement(Al,{id:"password_input",label:"\u041F\u0430\u0440\u043E\u043B\u044C",type:a?"text":"password",value:r,onChange:h,onKeyDown:_=>_.key==="Enter"&&x(),error:!!n,helperText:n,inputRef:m,onFocus:_=>{_.currentTarget.setSelectionRange(_.currentTarget.value.length,_.currentTarget.value.length)},InputProps:{endAdornment:w.createElement(phe,{position:"end"},w.createElement(rn,{onClick:E,edge:"end"},a?w.createElement(Mye,null):w.createElement(Nye,null)))}}),w.createElement(ct,{variant:"contained",onClick:x,sx:S4.button},"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C"))}const $4=8*50,Bye=4e3,ha={unitsBox:{pt:2,pl:1,pr:1,overflow:"hidden"},propsBox:{flexGrow:1,p:3},container:{display:"flex",color:BR.A100},appBar:{zIndex:e=>e.zIndex.drawer+1},indent:{float:"right",minWidth:10,flex:1},darkModeIcon:{ml:1},drawerDnd:{width:$4,flexShrink:0,[`& .${AR.paper}`]:{width:$4,boxSizing:"border-box"}}};function Fye(){var N;const[e,t]=C.exports.useState(!1),[n,r]=C.exports.useState(""),[o,a]=C.exports.useState(!1),{mode:l,toggleDarkMode:u}=ra(),[c,f]=C.exports.useState(),p=C.exports.useCallback(()=>{f(void 0)},[]),{currentSys:m,setCurrentSys:h,alarmsContext:x,currentUnit:E}=Vt(),_=()=>{loggedInUser?t(!0):r("\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437.")},y=()=>{a(!0),setTimeout(()=>{a(!1)},5e3)};setTimeout(()=>{h(sys)},0);const[v]=hr(Yc,{}),[b]=hr(dI),S=uo();C.exports.useEffect(()=>{S.expandingSelectedUnit(v)},[]);const[P,A]=C.exports.useState(null),[k,I]=C.exports.useState(0),L=(N=x==null?void 0:x[0])==null?void 0:N.node;return C.exports.useEffect(()=>{A(null)},[E]),C.exports.useEffect(()=>{var V;!Qy((V=x==null?void 0:x[0])==null?void 0:V.parentModuleforUnit,L)||A(Bye)},[x]),rx(()=>{var ee;const B=(ee=x==null?void 0:x[0])==null?void 0:ee.parentModuleforUnit._subUnits[L];if(!B)return;const V=Object.keys(B);setSubscribe(B[V[k]],!1,L),I(X=>(X+1)%V.length)},P),b!==!0&&!e?w.createElement(Dye,{onSubmit:_,error:n}):w.createElement(ge,{sx:ha.container},w.createElement(i8,{position:"fixed",variant:"elevation",sx:ha.appBar},w.createElement(Xu,null,w.createElement(ge,{component:"a",href:"/"},w.createElement(ge,{component:"img",alt:"logo",src:`/assets/${l==="dark"?"logo-dark-rubicon.png":"logo-light-rubicon.png"}`})),w.createElement(ge,{sx:ha.indent}),w.createElement(Aye,{onRefreshStart:y}),w.createElement(rn,{sx:ha.darkModeIcon,onClick:u,color:"inherit"},l==="dark"?w.createElement(NR,null):w.createElement(DR,null)))),w.createElement(Cx,{onDragStart:f,onDragEnd:p},w.createElement(gO,{amount:c?1:0}),w.createElement(d0,{variant:"permanent",sx:ha.drawerDnd},w.createElement(Xu,null),w.createElement(ge,{sx:ha.unitsBox},m&&w.createElement(M0e,{data:m}))),w.createElement(ge,{component:"main",sx:ha.propsBox},w.createElement(Xu,null),w.createElement(K1e,{dragUnit:c})),w.createElement(Lye,{open:o})))}const Uye={currentLanguage:"RU"},GO=so({name:"language",initialState:Uye,reducers:{changeLanguage(e,{payload:t}){e.currentLanguage=t}}}),zye=GO.reducer;({...GO.actions});const jye=Ry({language:zye,unitType:qve,unitEditor:Nue}),Wye=RJ({reducer:jye});initializeSchema(()=>{globalThis.getPathApi={}.VITE_API_PATH,console.debug("schema created"),initializeModel(()=>{console.debug("model created"),putLog("Starting"),globalThis.shareRender=()=>{Ru.render(w.createElement(w.StrictMode,null,w.createElement(Gve,null,w.createElement(M7,null,w.createElement(LW,null),w.createElement(FW,{store:Wye},w.createElement(Fye,null))))),document.getElementById("root"))},globalThis.shareRender(),localStorage.getItem("reloaded")||(localStorage.setItem("reloaded","true"),location.reload())})});
