diff --git a/assets/index-BBQdmrEW.css b/assets/index-BBQdmrEW.css new file mode 100644 index 0000000..8cb53dd --- /dev/null +++ b/assets/index-BBQdmrEW.css @@ -0,0 +1 @@ +.Field{display:flex;flex-direction:column;align-items:start;gap:.25rem}.ScrubArea{cursor:ew-resize;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ScrubAreaCursor{filter:drop-shadow(0 1px 1px #0008)}.Group{display:flex}.Input{box-sizing:border-box;margin:0;padding:0;border-top:1px solid black;border-bottom:1px solid black;border-left:none;border-right:none;width:2rem;height:2.5rem;font-family:inherit;font-size:1rem;font-weight:400;background-color:#fff;-webkit-appearance:none;appearance:none;-moz-appearance:textfield;text-align:center;font-variant-numeric:tabular-nums}.Input:focus{z-index:1;outline:2px solid blue;outline-offset:-1px}.Decrement,.Increment{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;margin:0;outline:0;padding:0;border:1px solid black;border-radius:.375rem;background-color:#fff;background-clip:padding-box;color:var(--color-gray-900);-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (hover: hover){.Decrement:hover,.Increment:hover{background-color:var(--color-gray-100)}}.Decrement:active,.Increment:active{background-color:var(--color-gray-100)}.Decrement{border-top-right-radius:0;border-bottom-right-radius:0;border-right:none}.Increment{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}body{background:#000} diff --git a/assets/index-C50yRn3m.css b/assets/index-C50yRn3m.css deleted file mode 100644 index a342a52..0000000 --- a/assets/index-C50yRn3m.css +++ /dev/null @@ -1 +0,0 @@ -.Field{display:flex;flex-direction:column;align-items:start;gap:.25rem}.ScrubArea{cursor:ew-resize;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ScrubAreaCursor{filter:drop-shadow(0 1px 1px #0008)}.Group{display:flex}.Input{box-sizing:border-box;margin:0;padding:0;border-top:1px solid black;border-bottom:1px solid black;border-left:none;border-right:none;width:2rem;height:2.5rem;font-family:inherit;font-size:1rem;font-weight:400;background-color:#fff;text-align:center;font-variant-numeric:tabular-nums}.Input:focus{z-index:1;outline:2px solid blue;outline-offset:-1px}.Decrement,.Increment{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;margin:0;outline:0;padding:0;border:1px solid black;border-radius:.375rem;background-color:#fff;background-clip:padding-box;color:var(--color-gray-900);-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (hover: hover){.Decrement:hover,.Increment:hover{background-color:var(--color-gray-100)}}.Decrement:active,.Increment:active{background-color:var(--color-gray-100)}.Decrement{border-top-right-radius:0;border-bottom-right-radius:0;border-right:none}.Increment{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}body{background:#000} diff --git a/assets/index-C71aDpwf.js b/assets/index-DK3f1WAM.js similarity index 50% rename from assets/index-C71aDpwf.js rename to assets/index-DK3f1WAM.js index 0b81f8e..e60ca67 100644 --- a/assets/index-C71aDpwf.js +++ b/assets/index-DK3f1WAM.js @@ -1,4 +1,4 @@ -var gK=Object.defineProperty;var vK=(t,e,n)=>e in t?gK(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Q0=(t,e,n)=>vK(t,typeof e!="symbol"?e+"":e,n);function yK(t,e){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $w(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function bs(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var A$={exports:{}},Hw={},w$={exports:{}},Rn={};/** +var XX=Object.defineProperty;var KX=(t,e,n)=>e in t?XX(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var X0=(t,e,n)=>KX(t,typeof e!="symbol"?e+"":e,n);function YX(t,e){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var ln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pw(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function bs(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var s$={exports:{}},Iw={},a$={exports:{}},wn={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var gK=Object.defineProperty;var vK=(t,e,n)=>e in t?gK(t,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Ob=Symbol.for("react.element"),xK=Symbol.for("react.portal"),bK=Symbol.for("react.fragment"),_K=Symbol.for("react.strict_mode"),SK=Symbol.for("react.profiler"),CK=Symbol.for("react.provider"),AK=Symbol.for("react.context"),wK=Symbol.for("react.forward_ref"),MK=Symbol.for("react.suspense"),EK=Symbol.for("react.memo"),TK=Symbol.for("react.lazy"),rO=Symbol.iterator;function RK(t){return t===null||typeof t!="object"?null:(t=rO&&t[rO]||t["@@iterator"],typeof t=="function"?t:null)}var M$={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E$=Object.assign,T$={};function Lv(t,e,n){this.props=t,this.context=e,this.refs=T$,this.updater=n||M$}Lv.prototype.isReactComponent={};Lv.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};Lv.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function R$(){}R$.prototype=Lv.prototype;function sB(t,e,n){this.props=t,this.context=e,this.refs=T$,this.updater=n||M$}var aB=sB.prototype=new R$;aB.constructor=sB;E$(aB,Lv.prototype);aB.isPureReactComponent=!0;var iO=Array.isArray,P$=Object.prototype.hasOwnProperty,lB={current:null},I$={key:!0,ref:!0,__self:!0,__source:!0};function B$(t,e,n){var r,i={},o=null,s=null;if(e!=null)for(r in e.ref!==void 0&&(s=e.ref),e.key!==void 0&&(o=""+e.key),e)P$.call(e,r)&&!I$.hasOwnProperty(r)&&(i[r]=e[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1e in t?gK(t,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var kK=E,DK=Symbol.for("react.element"),OK=Symbol.for("react.fragment"),NK=Object.prototype.hasOwnProperty,FK=kK.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,UK={key:!0,ref:!0,__self:!0,__source:!0};function k$(t,e,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),e.key!==void 0&&(o=""+e.key),e.ref!==void 0&&(s=e.ref);for(r in e)NK.call(e,r)&&!UK.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps,e)i[r]===void 0&&(i[r]=e[r]);return{$$typeof:DK,type:t,key:o,ref:s,props:i,_owner:FK.current}}Hw.Fragment=OK;Hw.jsx=k$;Hw.jsxs=k$;A$.exports=Hw;var O=A$.exports,D$={exports:{}},Zs={},O$={exports:{}},N$={};/** + */var dK=P,fK=Symbol.for("react.element"),pK=Symbol.for("react.fragment"),hK=Object.prototype.hasOwnProperty,mK=dK.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,gK={key:!0,ref:!0,__self:!0,__source:!0};function g$(t,e,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),e.key!==void 0&&(o=""+e.key),e.ref!==void 0&&(s=e.ref);for(r in e)hK.call(e,r)&&!gK.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps,e)i[r]===void 0&&(i[r]=e[r]);return{$$typeof:fK,type:t,key:o,ref:s,props:i,_owner:mK.current}}Iw.Fragment=pK;Iw.jsx=g$;Iw.jsxs=g$;s$.exports=Iw;var O=s$.exports,v$={exports:{}},Zs={},y$={exports:{}},x$={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var gK=Object.defineProperty;var vK=(t,e,n)=>e in t?gK(t,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(t){function e($,Q){var ie=$.length;$.push(Q);e:for(;0>>1,Ie=$[fe];if(0>>1;fei(me,ie))yei(Pe,me)?($[fe]=Pe,$[ye]=ie,fe=ye):($[fe]=me,$[re]=ie,fe=re);else if(yei(Pe,ie))$[fe]=Pe,$[ye]=ie,fe=ye;else break e}}return Q}function i($,Q){var ie=$.sortIndex-Q.sortIndex;return ie!==0?ie:$.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();t.unstable_now=function(){return s.now()-a}}var l=[],c=[],u=1,d=null,f=3,p=!1,v=!1,y=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _($){for(var Q=n(c);Q!==null;){if(Q.callback===null)r(c);else if(Q.startTime<=$)r(c),Q.sortIndex=Q.expirationTime,e(l,Q);else break;Q=n(c)}}function C($){if(y=!1,_($),!v)if(n(l)!==null)v=!0,X(P);else{var Q=n(c);Q!==null&&ee(C,Q.startTime-$)}}function P($,Q){v=!1,y&&(y=!1,g(k),k=-1),p=!0;var ie=f;try{for(_(Q),d=n(l);d!==null&&(!(d.expirationTime>Q)||$&&!L());){var fe=d.callback;if(typeof fe=="function"){d.callback=null,f=d.priorityLevel;var Ie=fe(d.expirationTime<=Q);Q=t.unstable_now(),typeof Ie=="function"?d.callback=Ie:d===n(l)&&r(l),_(Q)}else r(l);d=n(l)}if(d!==null)var Re=!0;else{var re=n(c);re!==null&&ee(C,re.startTime-Q),Re=!1}return Re}finally{d=null,f=ie,p=!1}}var A=!1,R=null,k=-1,F=5,w=-1;function L(){return!(t.unstable_now()-w$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<$?Math.floor(1e3/$):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return n(l)},t.unstable_next=function($){switch(f){case 1:case 2:case 3:var Q=3;break;default:Q=f}var ie=f;f=Q;try{return $()}finally{f=ie}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function($,Q){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var ie=f;f=$;try{return Q()}finally{f=ie}},t.unstable_scheduleCallback=function($,Q,ie){var fe=t.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0fe?($.sortIndex=ie,e(c,$),n(l)===null&&$===n(c)&&(y?(g(k),k=-1):y=!0,ee(C,ie-fe))):($.sortIndex=Ie,e(l,$),v||p||(v=!0,X(P))),$},t.unstable_shouldYield=L,t.unstable_wrapCallback=function($){var Q=f;return function(){var ie=f;f=Q;try{return $.apply(this,arguments)}finally{f=ie}}}})(N$);O$.exports=N$;var zK=O$.exports;/** + */(function(t){function e($,Z){var ie=$.length;$.push(Z);e:for(;0>>1,Pe=$[fe];if(0>>1;fei(ge,ie))yei(ke,ge)?($[fe]=ke,$[ye]=ie,fe=ye):($[fe]=ge,$[oe]=ie,fe=oe);else if(yei(ke,ie))$[fe]=ke,$[ye]=ie,fe=ye;else break e}}return Z}function i($,Z){var ie=$.sortIndex-Z.sortIndex;return ie!==0?ie:$.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();t.unstable_now=function(){return s.now()-a}}var l=[],c=[],u=1,d=null,f=3,p=!1,v=!1,y=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _($){for(var Z=n(c);Z!==null;){if(Z.callback===null)r(c);else if(Z.startTime<=$)r(c),Z.sortIndex=Z.expirationTime,e(l,Z);else break;Z=n(c)}}function C($){if(y=!1,_($),!v)if(n(l)!==null)v=!0,X(T);else{var Z=n(c);Z!==null&&ee(C,Z.startTime-$)}}function T($,Z){v=!1,y&&(y=!1,g(D),D=-1),p=!0;var ie=f;try{for(_(Z),d=n(l);d!==null&&(!(d.expirationTime>Z)||$&&!L());){var fe=d.callback;if(typeof fe=="function"){d.callback=null,f=d.priorityLevel;var Pe=fe(d.expirationTime<=Z);Z=t.unstable_now(),typeof Pe=="function"?d.callback=Pe:d===n(l)&&r(l),_(Z)}else r(l);d=n(l)}if(d!==null)var Me=!0;else{var oe=n(c);oe!==null&&ee(C,oe.startTime-Z),Me=!1}return Me}finally{d=null,f=ie,p=!1}}var A=!1,R=null,D=-1,U=5,w=-1;function L(){return!(t.unstable_now()-w$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<$?Math.floor(1e3/$):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return n(l)},t.unstable_next=function($){switch(f){case 1:case 2:case 3:var Z=3;break;default:Z=f}var ie=f;f=Z;try{return $()}finally{f=ie}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function($,Z){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var ie=f;f=$;try{return Z()}finally{f=ie}},t.unstable_scheduleCallback=function($,Z,ie){var fe=t.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0fe?($.sortIndex=ie,e(c,$),n(l)===null&&$===n(c)&&(y?(g(D),D=-1):y=!0,ee(C,ie-fe))):($.sortIndex=Pe,e(l,$),v||p||(v=!0,X(T))),$},t.unstable_shouldYield=L,t.unstable_wrapCallback=function($){var Z=f;return function(){var ie=f;f=Z;try{return $.apply(this,arguments)}finally{f=ie}}}})(x$);y$.exports=x$;var vK=y$.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ var gK=Object.defineProperty;var vK=(t,e,n)=>e in t?gK(t,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var $K=E,Ys=zK;function Mt(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),IP=Object.prototype.hasOwnProperty,HK=/^[: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]*$/,sO={},aO={};function GK(t){return IP.call(aO,t)?!0:IP.call(sO,t)?!1:HK.test(t)?aO[t]=!0:(sO[t]=!0,!1)}function VK(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function WK(t,e,n,r){if(e===null||typeof e>"u"||VK(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Ko(t,e,n,r,i,o,s){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=s}var lo={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){lo[t]=new Ko(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];lo[e]=new Ko(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){lo[t]=new Ko(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){lo[t]=new Ko(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){lo[t]=new Ko(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){lo[t]=new Ko(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){lo[t]=new Ko(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){lo[t]=new Ko(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){lo[t]=new Ko(t,5,!1,t.toLowerCase(),null,!1,!1)});var uB=/[\-:]([a-z])/g;function dB(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(uB,dB);lo[e]=new Ko(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(uB,dB);lo[e]=new Ko(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(uB,dB);lo[e]=new Ko(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){lo[t]=new Ko(t,1,!1,t.toLowerCase(),null,!1,!1)});lo.xlinkHref=new Ko("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){lo[t]=new Ko(t,1,!1,t.toLowerCase(),null,!0,!0)});function fB(t,e,n,r){var i=lo.hasOwnProperty(e)?lo[e]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),bP=Object.prototype.hasOwnProperty,xK=/^[: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]*$/,WD={},jD={};function bK(t){return bP.call(jD,t)?!0:bP.call(WD,t)?!1:xK.test(t)?jD[t]=!0:(WD[t]=!0,!1)}function _K(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function SK(t,e,n,r){if(e===null||typeof e>"u"||_K(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Xo(t,e,n,r,i,o,s){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=s}var lo={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){lo[t]=new Xo(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];lo[e]=new Xo(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){lo[t]=new Xo(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){lo[t]=new Xo(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){lo[t]=new Xo(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){lo[t]=new Xo(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){lo[t]=new Xo(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){lo[t]=new Xo(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){lo[t]=new Xo(t,5,!1,t.toLowerCase(),null,!1,!1)});var Y2=/[\-:]([a-z])/g;function J2(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(Y2,J2);lo[e]=new Xo(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(Y2,J2);lo[e]=new Xo(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(Y2,J2);lo[e]=new Xo(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){lo[t]=new Xo(t,1,!1,t.toLowerCase(),null,!1,!1)});lo.xlinkHref=new Xo("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){lo[t]=new Xo(t,1,!1,t.toLowerCase(),null,!0,!0)});function q2(t,e,n,r){var i=lo.hasOwnProperty(e)?lo[e]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==o[a]){var l=` -`+i[s].replace(" at new "," at ");return t.displayName&&l.includes("")&&(l=l.replace("",t.displayName)),l}while(1<=s&&0<=a);break}}}finally{vT=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?Uy(t):""}function jK(t){switch(t.tag){case 5:return Uy(t.type);case 16:return Uy("Lazy");case 13:return Uy("Suspense");case 19:return Uy("SuspenseList");case 0:case 2:case 15:return t=yT(t.type,!1),t;case 11:return t=yT(t.type.render,!1),t;case 1:return t=yT(t.type,!0),t;default:return""}}function DP(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case dg:return"Fragment";case ug:return"Portal";case BP:return"Profiler";case pB:return"StrictMode";case LP:return"Suspense";case kP:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case z$:return(t.displayName||"Context")+".Consumer";case U$:return(t._context.displayName||"Context")+".Provider";case hB:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case mB:return e=t.displayName||null,e!==null?e:DP(t.type)||"Memo";case bd:e=t._payload,t=t._init;try{return DP(t(e))}catch{}}return null}function XK(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return DP(e);case 8:return e===pB?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function jd(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function H$(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function KK(t){var e=H$(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function w1(t){t._valueTracker||(t._valueTracker=KK(t))}function G$(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=H$(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function KC(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function OP(t,e){var n=e.checked;return $r({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function cO(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=jd(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function V$(t,e){e=e.checked,e!=null&&fB(t,"checked",e,!1)}function NP(t,e){V$(t,e);var n=jd(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?FP(t,e.type,n):e.hasOwnProperty("defaultValue")&&FP(t,e.type,jd(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function uO(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function FP(t,e,n){(e!=="number"||KC(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var zy=Array.isArray;function Lg(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i"+e.valueOf().toString()+"",e=M1.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Ox(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var rx={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},YK=["Webkit","ms","Moz","O"];Object.keys(rx).forEach(function(t){YK.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),rx[e]=rx[t]})});function K$(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||rx.hasOwnProperty(t)&&rx[t]?(""+e).trim():e+"px"}function Y$(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=K$(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}var JK=$r({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 $P(t,e){if(e){if(JK[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(Mt(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(Mt(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(Mt(61))}if(e.style!=null&&typeof e.style!="object")throw Error(Mt(62))}}function HP(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var GP=null;function gB(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var VP=null,kg=null,Dg=null;function pO(t){if(t=Ub(t)){if(typeof VP!="function")throw Error(Mt(280));var e=t.stateNode;e&&(e=Xw(e),VP(t.stateNode,t.type,e))}}function J$(t){kg?Dg?Dg.push(t):Dg=[t]:kg=t}function q$(){if(kg){var t=kg,e=Dg;if(Dg=kg=null,pO(t),e)for(t=0;t>>=0,t===0?32:31-(aY(t)/lY|0)|0}var E1=64,T1=4194304;function $y(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function QC(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,i=t.suspendedLanes,o=t.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=$y(a):(o&=s,o!==0&&(r=$y(o)))}else s=n&~i,s!==0?r=$y(s):o!==0&&(r=$y(o));if(r===0)return 0;if(e!==0&&e!==r&&!(e&i)&&(i=r&-r,o=e&-e,i>=o||i===16&&(o&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0n;n++)e.push(t);return e}function Nb(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-pl(e),t[e]=n}function fY(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0=ox),SO=" ",CO=!1;function v5(t,e){switch(t){case"keyup":return zY.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function y5(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var fg=!1;function HY(t,e){switch(t){case"compositionend":return y5(e);case"keypress":return e.which!==32?null:(CO=!0,SO);case"textInput":return t=e.data,t===SO&&CO?null:t;default:return null}}function GY(t,e){if(fg)return t==="compositionend"||!AB&&v5(t,e)?(t=m5(),hC=_B=wd=null,fg=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=EO(n)}}function S5(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?S5(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function C5(){for(var t=window,e=KC();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=KC(t.document)}return e}function wB(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function QY(t){var e=C5(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&S5(n.ownerDocument.documentElement,n)){if(r!==null&&wB(n)){if(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!t.extend&&o>r&&(i=r,r=o,o=i),i=TO(n,o);var s=TO(n,r);i&&s&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==s.node||t.focusOffset!==s.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),o>r?(t.addRange(e),t.extend(s.node,s.offset)):(e.setEnd(s.node,s.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,pg=null,JP=null,ax=null,qP=!1;function RO(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;qP||pg==null||pg!==KC(r)||(r=pg,"selectionStart"in r&&wB(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}),ax&&Hx(ax,r)||(ax=r,r=tA(JP,"onSelect"),0gg||(t.current=rI[gg],rI[gg]=null,gg--)}function vr(t,e){gg++,rI[gg]=t.current,t.current=e}var Xd={},Ro=sf(Xd),ls=sf(!1),Qp=Xd;function tv(t,e){var n=t.type.contextTypes;if(!n)return Xd;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=e[o];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function cs(t){return t=t.childContextTypes,t!=null}function rA(){Cr(ls),Cr(Ro)}function OO(t,e,n){if(Ro.current!==Xd)throw Error(Mt(168));vr(Ro,e),vr(ls,n)}function B5(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(Mt(108,XK(t)||"Unknown",i));return $r({},n,r)}function iA(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Xd,Qp=Ro.current,vr(Ro,t),vr(ls,ls.current),!0}function NO(t,e,n){var r=t.stateNode;if(!r)throw Error(Mt(169));n?(t=B5(t,e,Qp),r.__reactInternalMemoizedMergedChildContext=t,Cr(ls),Cr(Ro),vr(Ro,t)):Cr(ls),vr(ls,n)}var Yc=null,Kw=!1,BT=!1;function L5(t){Yc===null?Yc=[t]:Yc.push(t)}function uJ(t){Kw=!0,L5(t)}function af(){if(!BT&&Yc!==null){BT=!0;var t=0,e=Zn;try{var n=Yc;for(Zn=1;t>=s,i-=s,iu=1<<32-pl(e)+i|n<k?(F=R,R=null):F=R.sibling;var w=f(g,R,_[k],C);if(w===null){R===null&&(R=F);break}t&&R&&w.alternate===null&&e(g,R),b=o(w,b,k),A===null?P=w:A.sibling=w,A=w,R=F}if(k===_.length)return n(g,R),Er&&ip(g,k),P;if(R===null){for(;k<_.length;k++)R=d(g,_[k],C),R!==null&&(b=o(R,b,k),A===null?P=R:A.sibling=R,A=R);return Er&&ip(g,k),P}for(R=r(g,R);k<_.length;k++)F=p(R,g,k,_[k],C),F!==null&&(t&&F.alternate!==null&&R.delete(F.key===null?k:F.key),b=o(F,b,k),A===null?P=F:A.sibling=F,A=F);return t&&R.forEach(function(L){return e(g,L)}),Er&&ip(g,k),P}function y(g,b,_,C){var P=Z0(_);if(typeof P!="function")throw Error(Mt(150));if(_=P.call(_),_==null)throw Error(Mt(151));for(var A=P=null,R=b,k=b=0,F=null,w=_.next();R!==null&&!w.done;k++,w=_.next()){R.index>k?(F=R,R=null):F=R.sibling;var L=f(g,R,w.value,C);if(L===null){R===null&&(R=F);break}t&&R&&L.alternate===null&&e(g,R),b=o(L,b,k),A===null?P=L:A.sibling=L,A=L,R=F}if(w.done)return n(g,R),Er&&ip(g,k),P;if(R===null){for(;!w.done;k++,w=_.next())w=d(g,w.value,C),w!==null&&(b=o(w,b,k),A===null?P=w:A.sibling=w,A=w);return Er&&ip(g,k),P}for(R=r(g,R);!w.done;k++,w=_.next())w=p(R,g,k,w.value,C),w!==null&&(t&&w.alternate!==null&&R.delete(w.key===null?k:w.key),b=o(w,b,k),A===null?P=w:A.sibling=w,A=w);return t&&R.forEach(function(z){return e(g,z)}),Er&&ip(g,k),P}function x(g,b,_,C){if(typeof _=="object"&&_!==null&&_.type===dg&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case A1:e:{for(var P=_.key,A=b;A!==null;){if(A.key===P){if(P=_.type,P===dg){if(A.tag===7){n(g,A.sibling),b=i(A,_.props.children),b.return=g,g=b;break e}}else if(A.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===bd&&zO(P)===A.type){n(g,A.sibling),b=i(A,_.props),b.ref=iy(g,A,_),b.return=g,g=b;break e}n(g,A);break}else e(g,A);A=A.sibling}_.type===dg?(b=Fp(_.props.children,g.mode,C,_.key),b.return=g,g=b):(C=SC(_.type,_.key,_.props,null,g.mode,C),C.ref=iy(g,b,_),C.return=g,g=C)}return s(g);case ug:e:{for(A=_.key;b!==null;){if(b.key===A)if(b.tag===4&&b.stateNode.containerInfo===_.containerInfo&&b.stateNode.implementation===_.implementation){n(g,b.sibling),b=i(b,_.children||[]),b.return=g,g=b;break e}else{n(g,b);break}else e(g,b);b=b.sibling}b=zT(_,g.mode,C),b.return=g,g=b}return s(g);case bd:return A=_._init,x(g,b,A(_._payload),C)}if(zy(_))return v(g,b,_,C);if(Z0(_))return y(g,b,_,C);D1(g,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,b!==null&&b.tag===6?(n(g,b.sibling),b=i(b,_),b.return=g,g=b):(n(g,b),b=UT(_,g.mode,C),b.return=g,g=b),s(g)):n(g,b)}return x}var rv=N5(!0),F5=N5(!1),aA=sf(null),lA=null,xg=null,RB=null;function PB(){RB=xg=lA=null}function IB(t){var e=aA.current;Cr(aA),t._currentValue=e}function sI(t,e,n){for(;t!==null;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,r!==null&&(r.childLanes|=e)):r!==null&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function Ng(t,e){lA=t,RB=xg=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(ss=!0),t.firstContext=null)}function Ia(t){var e=t._currentValue;if(RB!==t)if(t={context:t,memoizedValue:e,next:null},xg===null){if(lA===null)throw Error(Mt(308));xg=t,lA.dependencies={lanes:0,firstContext:t}}else xg=xg.next=t;return e}var Ap=null;function BB(t){Ap===null?Ap=[t]:Ap.push(t)}function U5(t,e,n,r){var i=e.interleaved;return i===null?(n.next=n,BB(e)):(n.next=i.next,i.next=n),e.interleaved=n,vu(t,r)}function vu(t,e){t.lanes|=e;var n=t.alternate;for(n!==null&&(n.lanes|=e),n=t,t=t.return;t!==null;)t.childLanes|=e,n=t.alternate,n!==null&&(n.childLanes|=e),n=t,t=t.return;return n.tag===3?n.stateNode:null}var _d=!1;function LB(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function z5(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function du(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function Nd(t,e,n){var r=t.updateQueue;if(r===null)return null;if(r=r.shared,Hn&2){var i=r.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),r.pending=e,vu(t,n)}return i=r.interleaved,i===null?(e.next=e,BB(r)):(e.next=i.next,i.next=e),r.interleaved=e,vu(t,n)}function gC(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194240)!==0)){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,yB(t,n)}}function $O(t,e){var n=t.updateQueue,r=t.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=e:o=o.next=e}else i=o=e;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function cA(t,e,n,r){var i=t.updateQueue;_d=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?o=c:s.next=c,s=l;var u=t.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==s&&(a===null?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(o!==null){var d=i.baseState;s=0,u=c=l=null,a=o;do{var f=a.lane,p=a.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=t,y=a;switch(f=e,p=n,y.tag){case 1:if(v=y.payload,typeof v=="function"){d=v.call(p,d,f);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=y.payload,f=typeof v=="function"?v.call(p,d,f):v,f==null)break e;d=$r({},d,f);break e;case 2:_d=!0}}a.callback!==null&&a.lane!==0&&(t.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else p={eventTime:p,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(c=u=p,l=d):u=u.next=p,s|=f;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;f=a,a=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(u===null&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,e=i.shared.interleaved,e!==null){i=e;do s|=i.lane,i=i.next;while(i!==e)}else o===null&&(i.shared.lanes=0);th|=s,t.lanes=s,t.memoizedState=d}}function HO(t,e,n){if(t=e.effects,e.effects=null,t!==null)for(e=0;en?n:4,t(!0);var r=kT.transition;kT.transition={};try{t(!1),e()}finally{Zn=n,kT.transition=r}}function r4(){return Ba().memoizedState}function hJ(t,e,n){var r=Ud(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},i4(t))o4(e,n);else if(n=U5(t,e,n,r),n!==null){var i=Ho();hl(n,t,r,i),s4(n,e,r)}}function mJ(t,e,n){var r=Ud(t),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(i4(t))o4(e,i);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var s=e.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,gl(a,s)){var l=e.interleaved;l===null?(i.next=i,BB(e)):(i.next=l.next,l.next=i),e.interleaved=i;return}}catch{}finally{}n=U5(t,e,i,r),n!==null&&(i=Ho(),hl(n,t,r,i),s4(n,e,r))}}function i4(t){var e=t.alternate;return t===Ur||e!==null&&e===Ur}function o4(t,e){lx=dA=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function s4(t,e,n){if(n&4194240){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,yB(t,n)}}var fA={readContext:Ia,useCallback:go,useContext:go,useEffect:go,useImperativeHandle:go,useInsertionEffect:go,useLayoutEffect:go,useMemo:go,useReducer:go,useRef:go,useState:go,useDebugValue:go,useDeferredValue:go,useTransition:go,useMutableSource:go,useSyncExternalStore:go,useId:go,unstable_isNewReconciler:!1},gJ={readContext:Ia,useCallback:function(t,e){return zl().memoizedState=[t,e===void 0?null:e],t},useContext:Ia,useEffect:VO,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,yC(4194308,4,Q5.bind(null,e,t),n)},useLayoutEffect:function(t,e){return yC(4194308,4,t,e)},useInsertionEffect:function(t,e){return yC(4,2,t,e)},useMemo:function(t,e){var n=zl();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=zl();return e=n!==void 0?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=hJ.bind(null,Ur,t),[r.memoizedState,t]},useRef:function(t){var e=zl();return t={current:t},e.memoizedState=t},useState:GO,useDebugValue:$B,useDeferredValue:function(t){return zl().memoizedState=t},useTransition:function(){var t=GO(!1),e=t[0];return t=pJ.bind(null,t[1]),zl().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=Ur,i=zl();if(Er){if(n===void 0)throw Error(Mt(407));n=n()}else{if(n=e(),ji===null)throw Error(Mt(349));eh&30||V5(r,e,n)}i.memoizedState=n;var o={value:n,getSnapshot:e};return i.queue=o,VO(j5.bind(null,r,o,t),[t]),r.flags|=2048,Jx(9,W5.bind(null,r,o,n,e),void 0,null),n},useId:function(){var t=zl(),e=ji.identifierPrefix;if(Er){var n=ou,r=iu;n=(r&~(1<<32-pl(r)-1)).toString(32)+n,e=":"+e+"R"+n,n=Kx++,0")&&(l=l.replace("",t.displayName)),l}while(1<=s&&0<=a);break}}}finally{oT=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?By(t):""}function CK(t){switch(t.tag){case 5:return By(t.type);case 16:return By("Lazy");case 13:return By("Suspense");case 19:return By("SuspenseList");case 0:case 2:case 15:return t=sT(t.type,!1),t;case 11:return t=sT(t.type.render,!1),t;case 1:return t=sT(t.type,!0),t;default:return""}}function AP(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case sg:return"Fragment";case og:return"Portal";case _P:return"Profiler";case Q2:return"StrictMode";case SP:return"Suspense";case CP:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case S$:return(t.displayName||"Context")+".Consumer";case _$:return(t._context.displayName||"Context")+".Provider";case Z2:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case eB:return e=t.displayName||null,e!==null?e:AP(t.type)||"Memo";case yd:e=t._payload,t=t._init;try{return AP(t(e))}catch{}}return null}function AK(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return AP(e);case 8:return e===Q2?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function Hd(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function A$(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function wK(t){var e=A$(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function h1(t){t._valueTracker||(t._valueTracker=wK(t))}function w$(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=A$(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function FC(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function wP(t,e){var n=e.checked;return Ur({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function KD(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=Hd(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function M$(t,e){e=e.checked,e!=null&&q2(t,"checked",e,!1)}function MP(t,e){M$(t,e);var n=Hd(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?EP(t,e.type,n):e.hasOwnProperty("defaultValue")&&EP(t,e.type,Hd(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function YD(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function EP(t,e,n){(e!=="number"||FC(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var Ly=Array.isArray;function Tg(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i"+e.valueOf().toString()+"",e=m1.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Ex(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Yy={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},MK=["Webkit","ms","Moz","O"];Object.keys(Yy).forEach(function(t){MK.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Yy[e]=Yy[t]})});function P$(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||Yy.hasOwnProperty(t)&&Yy[t]?(""+e).trim():e+"px"}function I$(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=P$(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}var EK=Ur({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 PP(t,e){if(e){if(EK[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(wt(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(wt(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(wt(61))}if(e.style!=null&&typeof e.style!="object")throw Error(wt(62))}}function IP(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var BP=null;function tB(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var LP=null,Rg=null,Pg=null;function QD(t){if(t=Tb(t)){if(typeof LP!="function")throw Error(wt(280));var e=t.stateNode;e&&(e=Ow(e),LP(t.stateNode,t.type,e))}}function B$(t){Rg?Pg?Pg.push(t):Pg=[t]:Rg=t}function L$(){if(Rg){var t=Rg,e=Pg;if(Pg=Rg=null,QD(t),e)for(t=0;t>>=0,t===0?32:31-(FK(t)/UK|0)|0}var g1=64,v1=4194304;function ky(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function HC(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,i=t.suspendedLanes,o=t.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=ky(a):(o&=s,o!==0&&(r=ky(o)))}else s=n&~i,s!==0?r=ky(s):o!==0&&(r=ky(o));if(r===0)return 0;if(e!==0&&e!==r&&!(e&i)&&(i=r&-r,o=e&-e,i>=o||i===16&&(o&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0n;n++)e.push(t);return e}function Mb(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-pl(e),t[e]=n}function GK(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0=qy),aO=" ",lO=!1;function Z$(t,e){switch(t){case"keyup":return vY.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function e5(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ag=!1;function xY(t,e){switch(t){case"compositionend":return e5(e);case"keypress":return e.which!==32?null:(lO=!0,aO);case"textInput":return t=e.data,t===aO&&lO?null:t;default:return null}}function bY(t,e){if(ag)return t==="compositionend"||!cB&&Z$(t,e)?(t=q$(),rC=sB=Cd=null,ag=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=fO(n)}}function i5(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?i5(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function o5(){for(var t=window,e=FC();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=FC(t.document)}return e}function uB(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function RY(t){var e=o5(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&i5(n.ownerDocument.documentElement,n)){if(r!==null&&uB(n)){if(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!t.extend&&o>r&&(i=r,r=o,o=i),i=pO(n,o);var s=pO(n,r);i&&s&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==s.node||t.focusOffset!==s.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),o>r?(t.addRange(e),t.extend(s.node,s.offset)):(e.setEnd(s.node,s.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,lg=null,UP=null,Zy=null,zP=!1;function hO(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zP||lg==null||lg!==FC(r)||(r=lg,"selectionStart"in r&&uB(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}),Zy&&Lx(Zy,r)||(Zy=r,r=WC(UP,"onSelect"),0dg||(t.current=jP[dg],jP[dg]=null,dg--)}function mr(t,e){dg++,jP[dg]=t.current,t.current=e}var Gd={},To=tf(Gd),ls=tf(!1),Xp=Gd;function Jg(t,e){var n=t.type.contextTypes;if(!n)return Gd;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=e[o];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function cs(t){return t=t.childContextTypes,t!=null}function XC(){_r(ls),_r(To)}function _O(t,e,n){if(To.current!==Gd)throw Error(wt(168));mr(To,e),mr(ls,n)}function h5(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(wt(108,AK(t)||"Unknown",i));return Ur({},n,r)}function KC(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Gd,Xp=To.current,mr(To,t),mr(ls,ls.current),!0}function SO(t,e,n){var r=t.stateNode;if(!r)throw Error(wt(169));n?(t=h5(t,e,Xp),r.__reactInternalMemoizedMergedChildContext=t,_r(ls),_r(To),mr(To,t)):_r(ls),mr(ls,n)}var Yc=null,Nw=!1,bT=!1;function m5(t){Yc===null?Yc=[t]:Yc.push(t)}function $Y(t){Nw=!0,m5(t)}function nf(){if(!bT&&Yc!==null){bT=!0;var t=0,e=qn;try{var n=Yc;for(qn=1;t>=s,i-=s,iu=1<<32-pl(e)+i|n<D?(U=R,R=null):U=R.sibling;var w=f(g,R,_[D],C);if(w===null){R===null&&(R=U);break}t&&R&&w.alternate===null&&e(g,R),b=o(w,b,D),A===null?T=w:A.sibling=w,A=w,R=U}if(D===_.length)return n(g,R),wr&&ep(g,D),T;if(R===null){for(;D<_.length;D++)R=d(g,_[D],C),R!==null&&(b=o(R,b,D),A===null?T=R:A.sibling=R,A=R);return wr&&ep(g,D),T}for(R=r(g,R);D<_.length;D++)U=p(R,g,D,_[D],C),U!==null&&(t&&U.alternate!==null&&R.delete(U.key===null?D:U.key),b=o(U,b,D),A===null?T=U:A.sibling=U,A=U);return t&&R.forEach(function(L){return e(g,L)}),wr&&ep(g,D),T}function y(g,b,_,C){var T=K0(_);if(typeof T!="function")throw Error(wt(150));if(_=T.call(_),_==null)throw Error(wt(151));for(var A=T=null,R=b,D=b=0,U=null,w=_.next();R!==null&&!w.done;D++,w=_.next()){R.index>D?(U=R,R=null):U=R.sibling;var L=f(g,R,w.value,C);if(L===null){R===null&&(R=U);break}t&&R&&L.alternate===null&&e(g,R),b=o(L,b,D),A===null?T=L:A.sibling=L,A=L,R=U}if(w.done)return n(g,R),wr&&ep(g,D),T;if(R===null){for(;!w.done;D++,w=_.next())w=d(g,w.value,C),w!==null&&(b=o(w,b,D),A===null?T=w:A.sibling=w,A=w);return wr&&ep(g,D),T}for(R=r(g,R);!w.done;D++,w=_.next())w=p(R,g,D,w.value,C),w!==null&&(t&&w.alternate!==null&&R.delete(w.key===null?D:w.key),b=o(w,b,D),A===null?T=w:A.sibling=w,A=w);return t&&R.forEach(function(H){return e(g,H)}),wr&&ep(g,D),T}function x(g,b,_,C){if(typeof _=="object"&&_!==null&&_.type===sg&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case p1:e:{for(var T=_.key,A=b;A!==null;){if(A.key===T){if(T=_.type,T===sg){if(A.tag===7){n(g,A.sibling),b=i(A,_.props.children),b.return=g,g=b;break e}}else if(A.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===yd&&wO(T)===A.type){n(g,A.sibling),b=i(A,_.props),b.ref=Z0(g,A,_),b.return=g,g=b;break e}n(g,A);break}else e(g,A);A=A.sibling}_.type===sg?(b=Lp(_.props.children,g.mode,C,_.key),b.return=g,g=b):(C=dC(_.type,_.key,_.props,null,g.mode,C),C.ref=Z0(g,b,_),C.return=g,g=C)}return s(g);case og:e:{for(A=_.key;b!==null;){if(b.key===A)if(b.tag===4&&b.stateNode.containerInfo===_.containerInfo&&b.stateNode.implementation===_.implementation){n(g,b.sibling),b=i(b,_.children||[]),b.return=g,g=b;break e}else{n(g,b);break}else e(g,b);b=b.sibling}b=TT(_,g.mode,C),b.return=g,g=b}return s(g);case yd:return A=_._init,x(g,b,A(_._payload),C)}if(Ly(_))return v(g,b,_,C);if(K0(_))return y(g,b,_,C);A1(g,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,b!==null&&b.tag===6?(n(g,b.sibling),b=i(b,_),b.return=g,g=b):(n(g,b),b=ET(_,g.mode,C),b.return=g,g=b),s(g)):n(g,b)}return x}var Qg=x5(!0),b5=x5(!1),qC=tf(null),QC=null,hg=null,hB=null;function mB(){hB=hg=QC=null}function gB(t){var e=qC.current;_r(qC),t._currentValue=e}function YP(t,e,n){for(;t!==null;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,r!==null&&(r.childLanes|=e)):r!==null&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function Bg(t,e){QC=t,hB=hg=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(ss=!0),t.firstContext=null)}function Ia(t){var e=t._currentValue;if(hB!==t)if(t={context:t,memoizedValue:e,next:null},hg===null){if(QC===null)throw Error(wt(308));hg=t,QC.dependencies={lanes:0,firstContext:t}}else hg=hg.next=t;return e}var xp=null;function vB(t){xp===null?xp=[t]:xp.push(t)}function _5(t,e,n,r){var i=e.interleaved;return i===null?(n.next=n,vB(e)):(n.next=i.next,i.next=n),e.interleaved=n,vu(t,r)}function vu(t,e){t.lanes|=e;var n=t.alternate;for(n!==null&&(n.lanes|=e),n=t,t=t.return;t!==null;)t.childLanes|=e,n=t.alternate,n!==null&&(n.childLanes|=e),n=t,t=t.return;return n.tag===3?n.stateNode:null}var xd=!1;function yB(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function S5(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function du(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function kd(t,e,n){var r=t.updateQueue;if(r===null)return null;if(r=r.shared,Hn&2){var i=r.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),r.pending=e,vu(t,n)}return i=r.interleaved,i===null?(e.next=e,vB(r)):(e.next=i.next,i.next=e),r.interleaved=e,vu(t,n)}function oC(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194240)!==0)){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,rB(t,n)}}function MO(t,e){var n=t.updateQueue,r=t.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=e:o=o.next=e}else i=o=e;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function ZC(t,e,n,r){var i=t.updateQueue;xd=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?o=c:s.next=c,s=l;var u=t.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==s&&(a===null?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(o!==null){var d=i.baseState;s=0,u=c=l=null,a=o;do{var f=a.lane,p=a.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=t,y=a;switch(f=e,p=n,y.tag){case 1:if(v=y.payload,typeof v=="function"){d=v.call(p,d,f);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=y.payload,f=typeof v=="function"?v.call(p,d,f):v,f==null)break e;d=Ur({},d,f);break e;case 2:xd=!0}}a.callback!==null&&a.lane!==0&&(t.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else p={eventTime:p,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(c=u=p,l=d):u=u.next=p,s|=f;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;f=a,a=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(u===null&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,e=i.shared.interleaved,e!==null){i=e;do s|=i.lane,i=i.next;while(i!==e)}else o===null&&(i.shared.lanes=0);Jp|=s,t.lanes=s,t.memoizedState=d}}function EO(t,e,n){if(t=e.effects,e.effects=null,t!==null)for(e=0;en?n:4,t(!0);var r=ST.transition;ST.transition={};try{t(!1),e()}finally{qn=n,ST.transition=r}}function U5(){return Ba().memoizedState}function WY(t,e,n){var r=Od(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},z5(t))$5(e,n);else if(n=_5(t,e,n,r),n!==null){var i=$o();hl(n,t,r,i),H5(n,e,r)}}function jY(t,e,n){var r=Od(t),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(z5(t))$5(e,i);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var s=e.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,gl(a,s)){var l=e.interleaved;l===null?(i.next=i,vB(e)):(i.next=l.next,l.next=i),e.interleaved=i;return}}catch{}finally{}n=_5(t,e,i,r),n!==null&&(i=$o(),hl(n,t,r,i),H5(n,e,r))}}function z5(t){var e=t.alternate;return t===Nr||e!==null&&e===Nr}function $5(t,e){ex=tA=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function H5(t,e,n){if(n&4194240){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,rB(t,n)}}var nA={readContext:Ia,useCallback:mo,useContext:mo,useEffect:mo,useImperativeHandle:mo,useInsertionEffect:mo,useLayoutEffect:mo,useMemo:mo,useReducer:mo,useRef:mo,useState:mo,useDebugValue:mo,useDeferredValue:mo,useTransition:mo,useMutableSource:mo,useSyncExternalStore:mo,useId:mo,unstable_isNewReconciler:!1},XY={readContext:Ia,useCallback:function(t,e){return zl().memoizedState=[t,e===void 0?null:e],t},useContext:Ia,useEffect:RO,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,aC(4194308,4,k5.bind(null,e,t),n)},useLayoutEffect:function(t,e){return aC(4194308,4,t,e)},useInsertionEffect:function(t,e){return aC(4,2,t,e)},useMemo:function(t,e){var n=zl();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=zl();return e=n!==void 0?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=WY.bind(null,Nr,t),[r.memoizedState,t]},useRef:function(t){var e=zl();return t={current:t},e.memoizedState=t},useState:TO,useDebugValue:MB,useDeferredValue:function(t){return zl().memoizedState=t},useTransition:function(){var t=TO(!1),e=t[0];return t=VY.bind(null,t[1]),zl().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=Nr,i=zl();if(wr){if(n===void 0)throw Error(wt(407));n=n()}else{if(n=e(),ji===null)throw Error(wt(349));Yp&30||M5(r,e,n)}i.memoizedState=n;var o={value:n,getSnapshot:e};return i.queue=o,RO(T5.bind(null,r,o,t),[t]),r.flags|=2048,$x(9,E5.bind(null,r,o,n,e),void 0,null),n},useId:function(){var t=zl(),e=ji.identifierPrefix;if(wr){var n=ou,r=iu;n=(r&~(1<<32-pl(r)-1)).toString(32)+n,e=":"+e+"R"+n,n=Ux++,0<\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=s.createElement(n,{is:r.is}):(t=s.createElement(n),n==="select"&&(s=t,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):t=s.createElementNS(t,n),t[jl]=e,t[Wx]=r,g4(t,e,!1,!1),e.stateNode=t;e:{switch(s=HP(n,r),n){case"dialog":_r("cancel",t),_r("close",t),i=r;break;case"iframe":case"object":case"embed":_r("load",t),i=r;break;case"video":case"audio":for(i=0;isv&&(e.flags|=128,r=!0,oy(o,!1),e.lanes=4194304)}else{if(!r)if(t=uA(s),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),oy(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Er)return vo(e),null}else 2*ui()-o.renderingStartTime>sv&&n!==1073741824&&(e.flags|=128,r=!0,oy(o,!1),e.lanes=4194304);o.isBackwards?(s.sibling=e.child,e.child=s):(n=o.last,n!==null?n.sibling=s:e.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=ui(),e.sibling=null,n=Lr.current,vr(Lr,r?n&1|2:n&1),e):(vo(e),null);case 22:case 23:return XB(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?Bs&1073741824&&(vo(e),e.subtreeFlags&6&&(e.flags|=8192)):vo(e),null;case 24:return null;case 25:return null}throw Error(Mt(156,e.tag))}function AJ(t,e){switch(EB(e),e.tag){case 1:return cs(e.type)&&rA(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return iv(),Cr(ls),Cr(Ro),OB(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return DB(e),null;case 13:if(Cr(Lr),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(Mt(340));nv()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Cr(Lr),null;case 4:return iv(),null;case 10:return IB(e.type._context),null;case 22:case 23:return XB(),null;case 24:return null;default:return null}}var N1=!1,Co=!1,wJ=typeof WeakSet=="function"?WeakSet:Set,Ht=null;function bg(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Jr(t,e,r)}else n.current=null}function mI(t,e,n){try{n()}catch(r){Jr(t,e,r)}}var tN=!1;function MJ(t,e){if(QP=ZC,t=C5(),wB(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,d=t,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===t)break t;if(f===n&&++c===i&&(a=s),f===o&&++u===r&&(l=s),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ZP={focusedElem:t,selectionRange:n},ZC=!1,Ht=e;Ht!==null;)if(e=Ht,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Ht=t;else for(;Ht!==null;){e=Ht;try{var v=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var y=v.memoizedProps,x=v.memoizedState,g=e.stateNode,b=g.getSnapshotBeforeUpdate(e.elementType===e.type?y:ol(e.type,y),x);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var _=e.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Mt(163))}}catch(C){Jr(e,e.return,C)}if(t=e.sibling,t!==null){t.return=e.return,Ht=t;break}Ht=e.return}return v=tN,tN=!1,v}function cx(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&t)===t){var o=i.destroy;i.destroy=void 0,o!==void 0&&mI(e,n,o)}i=i.next}while(i!==r)}}function qw(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function gI(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function x4(t){var e=t.alternate;e!==null&&(t.alternate=null,x4(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[jl],delete e[Wx],delete e[nI],delete e[lJ],delete e[cJ])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function b4(t){return t.tag===5||t.tag===3||t.tag===4}function nN(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||b4(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function vI(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=nA));else if(r!==4&&(t=t.child,t!==null))for(vI(t,e,n),t=t.sibling;t!==null;)vI(t,e,n),t=t.sibling}function yI(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(yI(t,e,n),t=t.sibling;t!==null;)yI(t,e,n),t=t.sibling}var to=null,ll=!1;function rd(t,e,n){for(n=n.child;n!==null;)_4(t,e,n),n=n.sibling}function _4(t,e,n){if(Ql&&typeof Ql.onCommitFiberUnmount=="function")try{Ql.onCommitFiberUnmount(Gw,n)}catch{}switch(n.tag){case 5:Co||bg(n,e);case 6:var r=to,i=ll;to=null,rd(t,e,n),to=r,ll=i,to!==null&&(ll?(t=to,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):to.removeChild(n.stateNode));break;case 18:to!==null&&(ll?(t=to,n=n.stateNode,t.nodeType===8?IT(t.parentNode,n):t.nodeType===1&&IT(t,n),zx(t)):IT(to,n.stateNode));break;case 4:r=to,i=ll,to=n.stateNode.containerInfo,ll=!0,rd(t,e,n),to=r,ll=i;break;case 0:case 11:case 14:case 15:if(!Co&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&mI(n,e,s),i=i.next}while(i!==r)}rd(t,e,n);break;case 1:if(!Co&&(bg(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Jr(n,e,a)}rd(t,e,n);break;case 21:rd(t,e,n);break;case 22:n.mode&1?(Co=(r=Co)||n.memoizedState!==null,rd(t,e,n),Co=r):rd(t,e,n);break;default:rd(t,e,n)}}function rN(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new wJ),e.forEach(function(r){var i=DJ.bind(null,t,r);n.has(r)||(n.add(r),r.then(i,i))})}}function tl(t,e){var n=e.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=ui()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*TJ(r/1960))-r,10t?16:t,Md===null)var r=!1;else{if(t=Md,Md=null,mA=0,Hn&6)throw Error(Mt(331));var i=Hn;for(Hn|=4,Ht=t.current;Ht!==null;){var o=Ht,s=o.child;if(Ht.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lui()-WB?Np(t,0):VB|=n),us(t,e)}function R4(t,e){e===0&&(t.mode&1?(e=T1,T1<<=1,!(T1&130023424)&&(T1=4194304)):e=1);var n=Ho();t=vu(t,e),t!==null&&(Nb(t,e,n),us(t,n))}function kJ(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),R4(t,n)}function DJ(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(Mt(314))}r!==null&&r.delete(e),R4(t,n)}var P4;P4=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||ls.current)ss=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return ss=!1,SJ(t,e,n);ss=!!(t.flags&131072)}else ss=!1,Er&&e.flags&1048576&&k5(e,sA,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;xC(t,e),t=e.pendingProps;var i=tv(e,Ro.current);Ng(e,n),i=FB(null,e,r,t,i,n);var o=UB();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,cs(r)?(o=!0,iA(e)):o=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,LB(e),i.updater=Jw,e.stateNode=i,i._reactInternals=e,lI(e,r,t,n),e=dI(null,e,r,!0,o,n)):(e.tag=0,Er&&o&&MB(e),Fo(null,e,i,n),e=e.child),e;case 16:r=e.elementType;e:{switch(xC(t,e),t=e.pendingProps,i=r._init,r=i(r._payload),e.type=r,i=e.tag=NJ(r),t=ol(r,t),i){case 0:e=uI(null,e,r,t,n);break e;case 1:e=QO(null,e,r,t,n);break e;case 11:e=JO(null,e,r,t,n);break e;case 14:e=qO(null,e,r,ol(r.type,t),n);break e}throw Error(Mt(306,r,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:ol(r,i),uI(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:ol(r,i),QO(t,e,r,i,n);case 3:e:{if(p4(e),t===null)throw Error(Mt(387));r=e.pendingProps,o=e.memoizedState,i=o.element,z5(t,e),cA(e,r,null,n);var s=e.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){i=ov(Error(Mt(423)),e),e=ZO(t,e,r,n,i);break e}else if(r!==i){i=ov(Error(Mt(424)),e),e=ZO(t,e,r,n,i);break e}else for(Us=Od(e.stateNode.containerInfo.firstChild),Vs=e,Er=!0,cl=null,n=F5(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(nv(),r===i){e=yu(t,e,n);break e}Fo(t,e,r,n)}e=e.child}return e;case 5:return $5(e),t===null&&oI(e),r=e.type,i=e.pendingProps,o=t!==null?t.memoizedProps:null,s=i.children,eI(r,i)?s=null:o!==null&&eI(r,o)&&(e.flags|=32),f4(t,e),Fo(t,e,s,n),e.child;case 6:return t===null&&oI(e),null;case 13:return h4(t,e,n);case 4:return kB(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=rv(e,null,r,n):Fo(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:ol(r,i),JO(t,e,r,i,n);case 7:return Fo(t,e,e.pendingProps,n),e.child;case 8:return Fo(t,e,e.pendingProps.children,n),e.child;case 12:return Fo(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(r=e.type._context,i=e.pendingProps,o=e.memoizedProps,s=i.value,vr(aA,r._currentValue),r._currentValue=s,o!==null)if(gl(o.value,s)){if(o.children===i.children&&!ls.current){e=yu(t,e,n);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=du(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),sI(o.return,n,e),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===e.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(Mt(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),sI(s,n,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Fo(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=e.pendingProps.children,Ng(e,n),i=Ia(i),r=r(i),e.flags|=1,Fo(t,e,r,n),e.child;case 14:return r=e.type,i=ol(r,e.pendingProps),i=ol(r.type,i),qO(t,e,r,i,n);case 15:return u4(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:ol(r,i),xC(t,e),e.tag=1,cs(r)?(t=!0,iA(e)):t=!1,Ng(e,n),a4(e,r,i),lI(e,r,i,n),dI(null,e,r,!0,t,n);case 19:return m4(t,e,n);case 22:return d4(t,e,n)}throw Error(Mt(156,e.tag))};function I4(t,e){return i5(t,e)}function OJ(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Aa(t,e,n,r){return new OJ(t,e,n,r)}function YB(t){return t=t.prototype,!(!t||!t.isReactComponent)}function NJ(t){if(typeof t=="function")return YB(t)?1:0;if(t!=null){if(t=t.$$typeof,t===hB)return 11;if(t===mB)return 14}return 2}function zd(t,e){var n=t.alternate;return n===null?(n=Aa(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function SC(t,e,n,r,i,o){var s=2;if(r=t,typeof t=="function")YB(t)&&(s=1);else if(typeof t=="string")s=5;else e:switch(t){case dg:return Fp(n.children,i,o,e);case pB:s=8,i|=8;break;case BP:return t=Aa(12,n,e,i|2),t.elementType=BP,t.lanes=o,t;case LP:return t=Aa(13,n,e,i),t.elementType=LP,t.lanes=o,t;case kP:return t=Aa(19,n,e,i),t.elementType=kP,t.lanes=o,t;case $$:return Zw(n,i,o,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case U$:s=10;break e;case z$:s=9;break e;case hB:s=11;break e;case mB:s=14;break e;case bd:s=16,r=null;break e}throw Error(Mt(130,t==null?t:typeof t,""))}return e=Aa(s,n,e,i),e.elementType=t,e.type=r,e.lanes=o,e}function Fp(t,e,n,r){return t=Aa(7,t,r,e),t.lanes=n,t}function Zw(t,e,n,r){return t=Aa(22,t,r,e),t.elementType=$$,t.lanes=n,t.stateNode={isHidden:!1},t}function UT(t,e,n){return t=Aa(6,t,null,e),t.lanes=n,t}function zT(t,e,n){return e=Aa(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function FJ(t,e,n,r,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=bT(0),this.expirationTimes=bT(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bT(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function JB(t,e,n,r,i,o,s,a,l){return t=new FJ(t,e,n,a,l),e===1?(e=1,o===!0&&(e|=8)):e=0,o=Aa(3,null,null,e),t.current=o,o.stateNode=t,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},LB(o),t}function UJ(t,e,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(D4)}catch(t){console.error(t)}}D4(),D$.exports=Zs;var xu=D$.exports;const z1=$w(xu);var O4,dN=xu;O4=dN.createRoot,dN.hydrateRoot;function jc(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N4(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*! +`+o.stack}return{value:t,source:e,stack:i,digest:null}}function wT(t,e,n){return{value:t,source:null,stack:n??null,digest:e??null}}function QP(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var JY=typeof WeakMap=="function"?WeakMap:Map;function V5(t,e,n){n=du(-1,n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){iA||(iA=!0,lI=r),QP(t,e)},n}function W5(t,e,n){n=du(-1,n),n.tag=3;var r=t.type.getDerivedStateFromError;if(typeof r=="function"){var i=e.value;n.payload=function(){return r(i)},n.callback=function(){QP(t,e)}}var o=t.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){QP(t,e),typeof r!="function"&&(Dd===null?Dd=new Set([this]):Dd.add(this));var s=e.stack;this.componentDidCatch(e.value,{componentStack:s!==null?s:""})}),n}function BO(t,e,n){var r=t.pingCache;if(r===null){r=t.pingCache=new JY;var i=new Set;r.set(e,i)}else i=r.get(e),i===void 0&&(i=new Set,r.set(e,i));i.has(n)||(i.add(n),t=uJ.bind(null,t,e,n),e.then(t,t))}function LO(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function kO(t,e,n,r,i){return t.mode&1?(t.flags|=65536,t.lanes=i,t):(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(e=du(-1,1),e.tag=2,kd(n,e,1))),n.lanes|=1),t)}var qY=Ru.ReactCurrentOwner,ss=!1;function No(t,e,n,r){e.child=t===null?b5(e,null,n,r):Qg(e,t.child,n,r)}function DO(t,e,n,r,i){n=n.render;var o=e.ref;return Bg(e,i),r=CB(t,e,n,r,o,i),n=AB(),t!==null&&!ss?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,yu(t,e,i)):(wr&&n&&dB(e),e.flags|=1,No(t,e,r,i),e.child)}function OO(t,e,n,r,i){if(t===null){var o=n.type;return typeof o=="function"&&!kB(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(e.tag=15,e.type=o,j5(t,e,o,r,i)):(t=dC(n.type,null,r,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!(t.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Lx,n(s,r)&&t.ref===e.ref)return yu(t,e,i)}return e.flags|=1,t=Nd(o,r),t.ref=e.ref,t.return=e,e.child=t}function j5(t,e,n,r,i){if(t!==null){var o=t.memoizedProps;if(Lx(o,r)&&t.ref===e.ref)if(ss=!1,e.pendingProps=r=o,(t.lanes&i)!==0)t.flags&131072&&(ss=!0);else return e.lanes=t.lanes,yu(t,e,i)}return ZP(t,e,n,r,i)}function X5(t,e,n){var r=e.pendingProps,i=r.children,o=t!==null?t.memoizedState:null;if(r.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},mr(gg,Bs),Bs|=n;else{if(!(n&1073741824))return t=o!==null?o.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,mr(gg,Bs),Bs|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,mr(gg,Bs),Bs|=r}else o!==null?(r=o.baseLanes|n,e.memoizedState=null):r=n,mr(gg,Bs),Bs|=r;return No(t,e,i,n),e.child}function K5(t,e){var n=e.ref;(t===null&&n!==null||t!==null&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function ZP(t,e,n,r,i){var o=cs(n)?Xp:To.current;return o=Jg(e,o),Bg(e,i),n=CB(t,e,n,r,o,i),r=AB(),t!==null&&!ss?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,yu(t,e,i)):(wr&&r&&dB(e),e.flags|=1,No(t,e,n,i),e.child)}function NO(t,e,n,r,i){if(cs(n)){var o=!0;KC(e)}else o=!1;if(Bg(e,i),e.stateNode===null)lC(t,e),G5(e,n,r),qP(e,n,r,i),r=!0;else if(t===null){var s=e.stateNode,a=e.memoizedProps;s.props=a;var l=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=Ia(c):(c=cs(n)?Xp:To.current,c=Jg(e,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==c)&&IO(e,s,r,c),xd=!1;var f=e.memoizedState;s.state=f,ZC(e,r,s,i),l=e.memoizedState,a!==r||f!==l||ls.current||xd?(typeof u=="function"&&(JP(e,n,u,r),l=e.memoizedState),(a=xd||PO(e,n,a,r,f,l,c))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(e.flags|=4194308)):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=l),s.props=r,s.state=l,s.context=c,r=a):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),r=!1)}else{s=e.stateNode,S5(t,e),a=e.memoizedProps,c=e.type===e.elementType?a:ol(e.type,a),s.props=c,d=e.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=Ia(l):(l=cs(n)?Xp:To.current,l=Jg(e,l));var p=n.getDerivedStateFromProps;(u=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||f!==l)&&IO(e,s,r,l),xd=!1,f=e.memoizedState,s.state=f,ZC(e,r,s,i);var v=e.memoizedState;a!==d||f!==v||ls.current||xd?(typeof p=="function"&&(JP(e,n,p,r),v=e.memoizedState),(c=xd||PO(e,n,c,r,f,v,l)||!1)?(u||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,v,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,v,l)),typeof s.componentDidUpdate=="function"&&(e.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),e.memoizedProps=r,e.memoizedState=v),s.props=r,s.state=v,s.context=l,r=c):(typeof s.componentDidUpdate!="function"||a===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),r=!1)}return eI(t,e,n,r,o,i)}function eI(t,e,n,r,i,o){K5(t,e);var s=(e.flags&128)!==0;if(!r&&!s)return i&&SO(e,n,!1),yu(t,e,o);r=e.stateNode,qY.current=e;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return e.flags|=1,t!==null&&s?(e.child=Qg(e,t.child,null,o),e.child=Qg(e,null,a,o)):No(t,e,a,o),e.memoizedState=r.state,i&&SO(e,n,!0),e.child}function Y5(t){var e=t.stateNode;e.pendingContext?_O(t,e.pendingContext,e.pendingContext!==e.context):e.context&&_O(t,e.context,!1),xB(t,e.containerInfo)}function FO(t,e,n,r,i){return qg(),pB(i),e.flags|=256,No(t,e,n,r),e.child}var tI={dehydrated:null,treeContext:null,retryLane:0};function nI(t){return{baseLanes:t,cachePool:null,transitions:null}}function J5(t,e,n){var r=e.pendingProps,i=Ir.current,o=!1,s=(e.flags&128)!==0,a;if((a=s)||(a=t!==null&&t.memoizedState===null?!1:(i&2)!==0),a?(o=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(i|=1),mr(Ir,i&1),t===null)return KP(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(s=r.children,t=r.fallback,o?(r=e.mode,o=e.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Hw(s,r,0,null),t=Lp(t,r,n,null),o.return=e,t.return=e,o.sibling=t,e.child=o,e.child.memoizedState=nI(n),e.memoizedState=tI,t):EB(e,s));if(i=t.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return QY(t,e,s,r,a,i,n);if(o){o=r.fallback,s=e.mode,i=t.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&e.child!==i?(r=e.child,r.childLanes=0,r.pendingProps=l,e.deletions=null):(r=Nd(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=Nd(a,o):(o=Lp(o,s,n,null),o.flags|=2),o.return=e,r.return=e,r.sibling=o,e.child=r,r=o,o=e.child,s=t.child.memoizedState,s=s===null?nI(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=t.childLanes&~n,e.memoizedState=tI,r}return o=t.child,t=o.sibling,r=Nd(o,{mode:"visible",children:r.children}),!(e.mode&1)&&(r.lanes=n),r.return=e,r.sibling=null,t!==null&&(n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)),e.child=r,e.memoizedState=null,r}function EB(t,e){return e=Hw({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function w1(t,e,n,r){return r!==null&&pB(r),Qg(e,t.child,null,n),t=EB(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function QY(t,e,n,r,i,o,s){if(n)return e.flags&256?(e.flags&=-257,r=wT(Error(wt(422))),w1(t,e,s,r)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(o=r.fallback,i=e.mode,r=Hw({mode:"visible",children:r.children},i,0,null),o=Lp(o,i,s,null),o.flags|=2,r.return=e,o.return=e,r.sibling=o,e.child=r,e.mode&1&&Qg(e,t.child,null,s),e.child.memoizedState=nI(s),e.memoizedState=tI,o);if(!(e.mode&1))return w1(t,e,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(wt(419)),r=wT(o,r,void 0),w1(t,e,s,r)}if(a=(s&t.childLanes)!==0,ss||a){if(r=ji,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,vu(t,i),hl(r,t,i,-1))}return LB(),r=wT(Error(wt(421))),w1(t,e,s,r)}return i.data==="$?"?(e.flags|=128,e.child=t.child,e=dJ.bind(null,t),i._reactRetry=e,null):(t=o.treeContext,Us=Ld(i.nextSibling),Vs=e,wr=!0,cl=null,t!==null&&(ba[_a++]=iu,ba[_a++]=ou,ba[_a++]=Kp,iu=t.id,ou=t.overflow,Kp=e),e=EB(e,r.children),e.flags|=4096,e)}function UO(t,e,n){t.lanes|=e;var r=t.alternate;r!==null&&(r.lanes|=e),YP(t.return,e,n)}function MT(t,e,n,r,i){var o=t.memoizedState;o===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function q5(t,e,n){var r=e.pendingProps,i=r.revealOrder,o=r.tail;if(No(t,e,r.children,n),r=Ir.current,r&2)r=r&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&UO(t,n,e);else if(t.tag===19)UO(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(mr(Ir,r),!(e.mode&1))e.memoizedState=null;else switch(i){case"forwards":for(n=e.child,i=null;n!==null;)t=n.alternate,t!==null&&eA(t)===null&&(i=n),n=n.sibling;n=i,n===null?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),MT(e,!1,i,n,o);break;case"backwards":for(n=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&eA(t)===null){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}MT(e,!0,n,null,o);break;case"together":MT(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function lC(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function yu(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Jp|=e.lanes,!(n&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(wt(153));if(e.child!==null){for(t=e.child,n=Nd(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=Nd(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function ZY(t,e,n){switch(e.tag){case 3:Y5(e),qg();break;case 5:C5(e);break;case 1:cs(e.type)&&KC(e);break;case 4:xB(e,e.stateNode.containerInfo);break;case 10:var r=e.type._context,i=e.memoizedProps.value;mr(qC,r._currentValue),r._currentValue=i;break;case 13:if(r=e.memoizedState,r!==null)return r.dehydrated!==null?(mr(Ir,Ir.current&1),e.flags|=128,null):n&e.child.childLanes?J5(t,e,n):(mr(Ir,Ir.current&1),t=yu(t,e,n),t!==null?t.sibling:null);mr(Ir,Ir.current&1);break;case 19:if(r=(n&e.childLanes)!==0,t.flags&128){if(r)return q5(t,e,n);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),mr(Ir,Ir.current),r)break;return null;case 22:case 23:return e.lanes=0,X5(t,e,n)}return yu(t,e,n)}var Q5,rI,Z5,e4;Q5=function(t,e){for(var n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&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}};rI=function(){};Z5=function(t,e,n,r){var i=t.memoizedProps;if(i!==r){t=e.stateNode,bp(Zl.current);var o=null;switch(n){case"input":i=wP(t,i),r=wP(t,r),o=[];break;case"select":i=Ur({},i,{value:void 0}),r=Ur({},r,{value:void 0}),o=[];break;case"textarea":i=TP(t,i),r=TP(t,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(t.onclick=jC)}PP(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var a=i[c];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Mx.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var l=r[c];if(a=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Mx.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&xr("scroll",t),o||a===l||(o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(e.updateQueue=c)&&(e.flags|=4)}};e4=function(t,e,n,r){n!==r&&(e.flags|=4)};function ey(t,e){if(!wr)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:r.sibling=null}}function go(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,r=0;if(e)for(var i=t.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=r,t.childLanes=n,e}function eJ(t,e,n){var r=e.pendingProps;switch(fB(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return go(e),null;case 1:return cs(e.type)&&XC(),go(e),null;case 3:return r=e.stateNode,Zg(),_r(ls),_r(To),_B(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(t===null||t.child===null)&&(C1(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,cl!==null&&(dI(cl),cl=null))),rI(t,e),go(e),null;case 5:bB(e);var i=bp(Fx.current);if(n=e.type,t!==null&&e.stateNode!=null)Z5(t,e,n,r,i),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!r){if(e.stateNode===null)throw Error(wt(166));return go(e),null}if(t=bp(Zl.current),C1(e)){r=e.stateNode,n=e.type;var o=e.memoizedProps;switch(r[jl]=e,r[Ox]=o,t=(e.mode&1)!==0,n){case"dialog":xr("cancel",r),xr("close",r);break;case"iframe":case"object":case"embed":xr("load",r);break;case"video":case"audio":for(i=0;i<\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=s.createElement(n,{is:r.is}):(t=s.createElement(n),n==="select"&&(s=t,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):t=s.createElementNS(t,n),t[jl]=e,t[Ox]=r,Q5(t,e,!1,!1),e.stateNode=t;e:{switch(s=IP(n,r),n){case"dialog":xr("cancel",t),xr("close",t),i=r;break;case"iframe":case"object":case"embed":xr("load",t),i=r;break;case"video":case"audio":for(i=0;itv&&(e.flags|=128,r=!0,ey(o,!1),e.lanes=4194304)}else{if(!r)if(t=eA(s),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),ey(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!wr)return go(e),null}else 2*ai()-o.renderingStartTime>tv&&n!==1073741824&&(e.flags|=128,r=!0,ey(o,!1),e.lanes=4194304);o.isBackwards?(s.sibling=e.child,e.child=s):(n=o.last,n!==null?n.sibling=s:e.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=ai(),e.sibling=null,n=Ir.current,mr(Ir,r?n&1|2:n&1),e):(go(e),null);case 22:case 23:return BB(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?Bs&1073741824&&(go(e),e.subtreeFlags&6&&(e.flags|=8192)):go(e),null;case 24:return null;case 25:return null}throw Error(wt(156,e.tag))}function tJ(t,e){switch(fB(e),e.tag){case 1:return cs(e.type)&&XC(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Zg(),_r(ls),_r(To),_B(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return bB(e),null;case 13:if(_r(Ir),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(wt(340));qg()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return _r(Ir),null;case 4:return Zg(),null;case 10:return gB(e.type._context),null;case 22:case 23:return BB(),null;case 24:return null;default:return null}}var M1=!1,So=!1,nJ=typeof WeakSet=="function"?WeakSet:Set,zt=null;function mg(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Yr(t,e,r)}else n.current=null}function iI(t,e,n){try{n()}catch(r){Yr(t,e,r)}}var zO=!1;function rJ(t,e){if($P=GC,t=o5(),uB(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,d=t,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===t)break t;if(f===n&&++c===i&&(a=s),f===o&&++u===r&&(l=s),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(HP={focusedElem:t,selectionRange:n},GC=!1,zt=e;zt!==null;)if(e=zt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,zt=t;else for(;zt!==null;){e=zt;try{var v=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var y=v.memoizedProps,x=v.memoizedState,g=e.stateNode,b=g.getSnapshotBeforeUpdate(e.elementType===e.type?y:ol(e.type,y),x);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var _=e.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(wt(163))}}catch(C){Yr(e,e.return,C)}if(t=e.sibling,t!==null){t.return=e.return,zt=t;break}zt=e.return}return v=zO,zO=!1,v}function tx(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&t)===t){var o=i.destroy;i.destroy=void 0,o!==void 0&&iI(e,n,o)}i=i.next}while(i!==r)}}function zw(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function oI(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function t4(t){var e=t.alternate;e!==null&&(t.alternate=null,t4(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[jl],delete e[Ox],delete e[WP],delete e[UY],delete e[zY])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function n4(t){return t.tag===5||t.tag===3||t.tag===4}function $O(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||n4(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function sI(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=jC));else if(r!==4&&(t=t.child,t!==null))for(sI(t,e,n),t=t.sibling;t!==null;)sI(t,e,n),t=t.sibling}function aI(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(aI(t,e,n),t=t.sibling;t!==null;)aI(t,e,n),t=t.sibling}var to=null,ll=!1;function nd(t,e,n){for(n=n.child;n!==null;)r4(t,e,n),n=n.sibling}function r4(t,e,n){if(Ql&&typeof Ql.onCommitFiberUnmount=="function")try{Ql.onCommitFiberUnmount(Bw,n)}catch{}switch(n.tag){case 5:So||mg(n,e);case 6:var r=to,i=ll;to=null,nd(t,e,n),to=r,ll=i,to!==null&&(ll?(t=to,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):to.removeChild(n.stateNode));break;case 18:to!==null&&(ll?(t=to,n=n.stateNode,t.nodeType===8?xT(t.parentNode,n):t.nodeType===1&&xT(t,n),Ix(t)):xT(to,n.stateNode));break;case 4:r=to,i=ll,to=n.stateNode.containerInfo,ll=!0,nd(t,e,n),to=r,ll=i;break;case 0:case 11:case 14:case 15:if(!So&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&iI(n,e,s),i=i.next}while(i!==r)}nd(t,e,n);break;case 1:if(!So&&(mg(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Yr(n,e,a)}nd(t,e,n);break;case 21:nd(t,e,n);break;case 22:n.mode&1?(So=(r=So)||n.memoizedState!==null,nd(t,e,n),So=r):nd(t,e,n);break;default:nd(t,e,n)}}function HO(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new nJ),e.forEach(function(r){var i=fJ.bind(null,t,r);n.has(r)||(n.add(r),r.then(i,i))})}}function tl(t,e){var n=e.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=ai()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*oJ(r/1960))-r,10t?16:t,Ad===null)var r=!1;else{if(t=Ad,Ad=null,oA=0,Hn&6)throw Error(wt(331));var i=Hn;for(Hn|=4,zt=t.current;zt!==null;){var o=zt,s=o.child;if(zt.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lai()-PB?Bp(t,0):RB|=n),us(t,e)}function d4(t,e){e===0&&(t.mode&1?(e=v1,v1<<=1,!(v1&130023424)&&(v1=4194304)):e=1);var n=$o();t=vu(t,e),t!==null&&(Mb(t,e,n),us(t,n))}function dJ(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),d4(t,n)}function fJ(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(wt(314))}r!==null&&r.delete(e),d4(t,n)}var f4;f4=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||ls.current)ss=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return ss=!1,ZY(t,e,n);ss=!!(t.flags&131072)}else ss=!1,wr&&e.flags&1048576&&g5(e,JC,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;lC(t,e),t=e.pendingProps;var i=Jg(e,To.current);Bg(e,n),i=CB(null,e,r,t,i,n);var o=AB();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,cs(r)?(o=!0,KC(e)):o=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,yB(e),i.updater=Uw,e.stateNode=i,i._reactInternals=e,qP(e,r,t,n),e=eI(null,e,r,!0,o,n)):(e.tag=0,wr&&o&&dB(e),No(null,e,i,n),e=e.child),e;case 16:r=e.elementType;e:{switch(lC(t,e),t=e.pendingProps,i=r._init,r=i(r._payload),e.type=r,i=e.tag=hJ(r),t=ol(r,t),i){case 0:e=ZP(null,e,r,t,n);break e;case 1:e=NO(null,e,r,t,n);break e;case 11:e=DO(null,e,r,t,n);break e;case 14:e=OO(null,e,r,ol(r.type,t),n);break e}throw Error(wt(306,r,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:ol(r,i),ZP(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:ol(r,i),NO(t,e,r,i,n);case 3:e:{if(Y5(e),t===null)throw Error(wt(387));r=e.pendingProps,o=e.memoizedState,i=o.element,S5(t,e),ZC(e,r,null,n);var s=e.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){i=ev(Error(wt(423)),e),e=FO(t,e,r,n,i);break e}else if(r!==i){i=ev(Error(wt(424)),e),e=FO(t,e,r,n,i);break e}else for(Us=Ld(e.stateNode.containerInfo.firstChild),Vs=e,wr=!0,cl=null,n=b5(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(qg(),r===i){e=yu(t,e,n);break e}No(t,e,r,n)}e=e.child}return e;case 5:return C5(e),t===null&&KP(e),r=e.type,i=e.pendingProps,o=t!==null?t.memoizedProps:null,s=i.children,GP(r,i)?s=null:o!==null&&GP(r,o)&&(e.flags|=32),K5(t,e),No(t,e,s,n),e.child;case 6:return t===null&&KP(e),null;case 13:return J5(t,e,n);case 4:return xB(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=Qg(e,null,r,n):No(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:ol(r,i),DO(t,e,r,i,n);case 7:return No(t,e,e.pendingProps,n),e.child;case 8:return No(t,e,e.pendingProps.children,n),e.child;case 12:return No(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(r=e.type._context,i=e.pendingProps,o=e.memoizedProps,s=i.value,mr(qC,r._currentValue),r._currentValue=s,o!==null)if(gl(o.value,s)){if(o.children===i.children&&!ls.current){e=yu(t,e,n);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=du(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),YP(o.return,n,e),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===e.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(wt(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),YP(s,n,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}No(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=e.pendingProps.children,Bg(e,n),i=Ia(i),r=r(i),e.flags|=1,No(t,e,r,n),e.child;case 14:return r=e.type,i=ol(r,e.pendingProps),i=ol(r.type,i),OO(t,e,r,i,n);case 15:return j5(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:ol(r,i),lC(t,e),e.tag=1,cs(r)?(t=!0,KC(e)):t=!1,Bg(e,n),G5(e,r,i),qP(e,r,i,n),eI(null,e,r,!0,t,n);case 19:return q5(t,e,n);case 22:return X5(t,e,n)}throw Error(wt(156,e.tag))};function p4(t,e){return z$(t,e)}function pJ(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Aa(t,e,n,r){return new pJ(t,e,n,r)}function kB(t){return t=t.prototype,!(!t||!t.isReactComponent)}function hJ(t){if(typeof t=="function")return kB(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Z2)return 11;if(t===eB)return 14}return 2}function Nd(t,e){var n=t.alternate;return n===null?(n=Aa(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function dC(t,e,n,r,i,o){var s=2;if(r=t,typeof t=="function")kB(t)&&(s=1);else if(typeof t=="string")s=5;else e:switch(t){case sg:return Lp(n.children,i,o,e);case Q2:s=8,i|=8;break;case _P:return t=Aa(12,n,e,i|2),t.elementType=_P,t.lanes=o,t;case SP:return t=Aa(13,n,e,i),t.elementType=SP,t.lanes=o,t;case CP:return t=Aa(19,n,e,i),t.elementType=CP,t.lanes=o,t;case C$:return Hw(n,i,o,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case _$:s=10;break e;case S$:s=9;break e;case Z2:s=11;break e;case eB:s=14;break e;case yd:s=16,r=null;break e}throw Error(wt(130,t==null?t:typeof t,""))}return e=Aa(s,n,e,i),e.elementType=t,e.type=r,e.lanes=o,e}function Lp(t,e,n,r){return t=Aa(7,t,r,e),t.lanes=n,t}function Hw(t,e,n,r){return t=Aa(22,t,r,e),t.elementType=C$,t.lanes=n,t.stateNode={isHidden:!1},t}function ET(t,e,n){return t=Aa(6,t,null,e),t.lanes=n,t}function TT(t,e,n){return e=Aa(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function mJ(t,e,n,r,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=lT(0),this.expirationTimes=lT(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=lT(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function DB(t,e,n,r,i,o,s,a,l){return t=new mJ(t,e,n,a,l),e===1?(e=1,o===!0&&(e|=8)):e=0,o=Aa(3,null,null,e),t.current=o,o.stateNode=t,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},yB(o),t}function gJ(t,e,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(v4)}catch(t){console.error(t)}}v4(),v$.exports=Zs;var nv=v$.exports;const R1=Pw(nv);var y4,JO=nv;y4=JO.createRoot,JO.hydrateRoot;function jc(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x4(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*! * GSAP 3.12.5 * https://gsap.com * @@ -45,7 +45,7 @@ Error generating stack: `+o.message+` * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com -*/var Ws={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},av={duration:.5,overwrite:!1,delay:0},eL,Mo,Tr,wa=1e8,gr=1/wa,CI=Math.PI*2,VJ=CI/4,WJ=0,F4=Math.sqrt,jJ=Math.cos,XJ=Math.sin,Ki=function(e){return typeof e=="string"},Zr=function(e){return typeof e=="function"},bu=function(e){return typeof e=="number"},tL=function(e){return typeof e>"u"},ac=function(e){return typeof e=="object"},ds=function(e){return e!==!1},nL=function(){return typeof window<"u"},$1=function(e){return Zr(e)||Ki(e)},U4=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Eo=Array.isArray,AI=/(?:-?\.?\d|\.)+/gi,z4=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Sg=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,$T=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,$4=/[+-]=-?[.\d]+/,H4=/[^,'"\[\]\s]+/gi,KJ=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,kr,$l,wI,rL,Js={},yA={},G4,V4=function(e){return(yA=rh(e,Js))&&vs},iL=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},Qx=function(e,n){return!n&&console.warn(e)},W4=function(e,n){return e&&(Js[e]=n)&&yA&&(yA[e]=n)||Js},Zx=function(){return 0},YJ={suppressEvents:!0,isStart:!0,kill:!1},CC={suppressEvents:!0,kill:!1},JJ={suppressEvents:!0},oL={},$d=[],MI={},j4,Ls={},HT={},fN=30,AC=[],sL="",aL=function(e){var n=e[0],r,i;if(ac(n)||Zr(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=AC.length;i--&&!AC[i].targetTest(n););r=AC[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new gH(e[i],r)))||e.splice(i,1);return e},Up=function(e){return e._gsap||aL(Ma(e))[0]._gsap},X4=function(e,n,r){return(r=e[n])&&Zr(r)?e[n]():tL(r)&&e.getAttribute&&e.getAttribute(n)||r},fs=function(e,n){return(e=e.split(",")).forEach(n)||e},ci=function(e){return Math.round(e*1e5)/1e5||0},Wi=function(e){return Math.round(e*1e7)/1e7||0},Ug=function(e,n){var r=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},qJ=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++ia;)s=s._prev;return s?(n._next=s._next,s._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[i]=n,n._prev=s,n.parent=n._dp=e,n},iM=function(e,n,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var o=n._prev,s=n._next;o?o._next=s:e[r]===n&&(e[r]=s),s?s._prev=o:e[i]===n&&(e[i]=o),n._next=n._prev=n.parent=null},Kd=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},zp=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},eq=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},EI=function(e,n,r,i){return e._startAt&&(Mo?e._startAt.revert(CC):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},tq=function t(e){return!e||e._ts&&t(e.parent)},hN=function(e){return e._repeat?lv(e._tTime,e=e.duration()+e._rDelay)*e:0},lv=function(e,n){var r=Math.floor(e/=n);return e&&r===e?r-1:r},_A=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},oM=function(e){return e._end=Wi(e._start+(e._tDur/Math.abs(e._ts||e._rts||gr)||0))},sM=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Wi(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),oM(e),r._dirty||zp(r,e)),e},Q4=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._startgr)&&n.render(r,!0)),zp(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-gr}},Xl=function(e,n,r,i){return n.parent&&Kd(n),n._start=Wi((bu(r)?r:r||e!==kr?ga(e,r,n):e._time)+n._delay),n._end=Wi(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),q4(e,n,"_first","_last",e._sort?"_start":0),TI(n)||(e._recent=n),i||Q4(e,n),e._ts<0&&sM(e,e._tTime),e},Z4=function(e,n){return(Js.ScrollTrigger||iL("scrollTrigger",n))&&Js.ScrollTrigger.create(n,e)},eH=function(e,n,r,i,o){if(cL(e,n,o),!e._initted)return 1;if(!r&&e._pt&&!Mo&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&j4!==Os.frame)return $d.push(e),e._lazy=[o,i],1},nq=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},TI=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},rq=function(e,n,r,i){var o=e.ratio,s=n<0||!n&&(!e._start&&nq(e)&&!(!e._initted&&TI(e))||(e._ts<0||e._dp._ts<0)&&!TI(e))?0:1,a=e._rDelay,l=0,c,u,d;if(a&&e._repeat&&(l=$b(0,e._tDur,n),u=lv(l,a),e._yoyo&&u&1&&(s=1-s),u!==lv(e._tTime,a)&&(o=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==o||Mo||i||e._zTime===gr||!n&&e._zTime){if(!e._initted&&eH(e,n,i,r,l))return;for(d=e._zTime,e._zTime=n||(r?gr:0),r||(r=n&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,c=e._pt;c;)c.r(s,c.d),c=c._next;n<0&&EI(e,n,r,!0),e._onUpdate&&!r&&zs(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&zs(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===s&&(s&&Kd(e,1),!r&&!Mo&&(zs(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},iq=function(e,n,r){var i;if(r>n)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start0&&!i&&sM(e,e._tTime=e._tDur*a),e.parent&&oM(e),r||zp(e.parent,e),e},mN=function(e){return e instanceof Uo?zp(e):cv(e,e._dur)},oq={_start:0,endTime:Zx,totalDuration:Zx},ga=function t(e,n,r){var i=e.labels,o=e._recent||oq,s=e.duration()>=wa?o.endTime(!1):e._dur,a,l,c;return Ki(n)&&(isNaN(n)||n in i)?(l=n.charAt(0),c=n.substr(-1)==="%",a=n.indexOf("="),l==="<"||l===">"?(a>=0&&(n=n.replace(/=/,"")),(l==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(n.substr(1))||0)*(c?(a<0?o:r).totalDuration()/100:1)):a<0?(n in i||(i[n]=s),i[n]):(l=parseFloat(n.charAt(a-1)+n.substr(a+1)),c&&r&&(l=l/100*(Eo(r)?r[0]:r).totalDuration()),a>1?t(e,n.substr(0,a-1),r)+l:s+l)):n==null?s:+n},px=function(e,n,r){var i=bu(n[1]),o=(i?2:1)+(e<2?0:1),s=n[o],a,l;if(i&&(s.duration=n[1]),s.parent=r,e){for(a=s,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=ds(l.vars.inherit)&&l.parent;s.immediateRender=ds(a.immediateRender),e<2?s.runBackwards=1:s.startAt=n[o-1]}return new _i(n[0],s,n[o+1])},lf=function(e,n){return e||e===0?n(e):n},$b=function(e,n,r){return rn?n:r},Ao=function(e,n){return!Ki(e)||!(n=KJ.exec(e))?"":n[1]},sq=function(e,n,r){return lf(r,function(i){return $b(e,n,i)})},RI=[].slice,tH=function(e,n){return e&&ac(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&ac(e[0]))&&!e.nodeType&&e!==$l},aq=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(i){var o;return Ki(i)&&!n||tH(i,1)?(o=r).push.apply(o,Ma(i)):r.push(i)})||r},Ma=function(e,n,r){return Tr&&!n&&Tr.selector?Tr.selector(e):Ki(e)&&!r&&(wI||!uv())?RI.call((n||rL).querySelectorAll(e),0):Eo(e)?aq(e,r):tH(e)?RI.call(e,0):e?[e]:[]},PI=function(e){return e=Ma(e)[0]||Qx("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return Ma(n,r.querySelectorAll?r:r===e?Qx("Invalid scope")||rL.createElement("div"):e)}},nH=function(e){return e.sort(function(){return .5-Math.random()})},rH=function(e){if(Zr(e))return e;var n=ac(e)?e:{each:e},r=$p(n.ease),i=n.from||0,o=parseFloat(n.base)||0,s={},a=i>0&&i<1,l=isNaN(i)||a,c=n.axis,u=i,d=i;return Ki(i)?u=d={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(u=i[0],d=i[1]),function(f,p,v){var y=(v||n).length,x=s[y],g,b,_,C,P,A,R,k,F;if(!x){if(F=n.grid==="auto"?0:(n.grid||[1,wa])[1],!F){for(R=-wa;R<(R=v[F++].getBoundingClientRect().left)&&FR&&(R=P),Py?y-1:c?c==="y"?y/F:F:Math.max(F,y/F))||0)*(i==="edges"?-1:1),x.b=y<0?o-y:o,x.u=Ao(n.amount||n.each)||0,r=r&&y<0?pH(r):r}return y=(x[f]-x.min)/x.max||0,Wi(x.b+(r?r(y):y)*x.v)+x.u}},II=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Wi(Math.round(parseFloat(r)/e)*e*n);return(i-i%1)/n+(bu(r)?0:Ao(r))}},iH=function(e,n){var r=Eo(e),i,o;return!r&&ac(e)&&(i=r=e.radius||wa,e.values?(e=Ma(e.values),(o=!bu(e[0]))&&(i*=i)):e=II(e.increment)),lf(n,r?Zr(e)?function(s){return o=e(s),Math.abs(o-s)<=i?o:s}:function(s){for(var a=parseFloat(o?s.x:s),l=parseFloat(o?s.y:0),c=wa,u=0,d=e.length,f,p;d--;)o?(f=e[d].x-a,p=e[d].y-l,f=f*f+p*p):f=Math.abs(e[d]-a),fi?o-s:s)})},eb=function(e){for(var n=0,r="",i,o,s,a;~(i=e.indexOf("random(",n));)s=e.indexOf(")",i),a=e.charAt(i+7)==="[",o=e.substr(i+7,s-i-7).match(a?H4:AI),r+=e.substr(n,i-n)+oH(a?o:+o[0],a?0:+o[1],+o[2]||1e-5),n=s+1;return r+e.substr(n,e.length-n)},aH=function(e,n,r,i,o){var s=n-e,a=i-r;return lf(o,function(l){return r+((l-e)/s*a||0)})},pq=function t(e,n,r,i){var o=isNaN(e+n)?0:function(p){return(1-p)*e+p*n};if(!o){var s=Ki(e),a={},l,c,u,d,f;if(r===!0&&(i=1)&&(r=null),s)e={p:e},n={p:n};else if(Eo(e)&&!Eo(n)){for(u=[],d=e.length,f=d-2,c=1;c(a=Math.abs(a))&&(l=s,o=a);return l},zs=function(e,n,r){var i=e.vars,o=i[n],s=Tr,a=e._ctx,l,c,u;if(o)return l=i[n+"Params"],c=i.callbackScope||e,r&&$d.length&&xA(),a&&(Tr=a),u=l?o.apply(c,l):o.call(c),Tr=s,u},Gy=function(e){return Kd(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Mo),e.progress()<1&&zs(e,"onInterrupt"),e},Cg,lH=[],cH=function(e){if(e)if(e=!e.name&&e.default||e,nL()||e.headless){var n=e.name,r=Zr(e),i=n&&!r&&e.init?function(){this._props=[]}:e,o={init:Zx,render:fL,add:lL,kill:Rq,modifier:Tq,rawVars:0},s={targetTest:0,get:0,getSetter:dL,aliases:{},register:0};if(uv(),e!==i){if(Ls[n])return;La(i,La(bA(e,o),s)),rh(i.prototype,rh(o,bA(e,s))),Ls[i.prop=n]=i,e.targetTest&&(AC.push(i),oL[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}W4(n,i),e.register&&e.register(vs,i,ps)}else lH.push(e)},cr=255,Vy={aqua:[0,cr,cr],lime:[0,cr,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,cr],navy:[0,0,128],white:[cr,cr,cr],olive:[128,128,0],yellow:[cr,cr,0],orange:[cr,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[cr,0,0],pink:[cr,192,203],cyan:[0,cr,cr],transparent:[cr,cr,cr,0]},GT=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*cr+.5|0},uH=function(e,n,r){var i=e?bu(e)?[e>>16,e>>8&cr,e&cr]:0:Vy.black,o,s,a,l,c,u,d,f,p,v;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Vy[e])i=Vy[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+o+o+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&cr,i&cr,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&cr,e&cr]}else if(e.substr(0,3)==="hsl"){if(i=v=e.match(AI),!n)l=+i[0]%360/360,c=+i[1]/100,u=+i[2]/100,s=u<=.5?u*(c+1):u+c-u*c,o=u*2-s,i.length>3&&(i[3]*=1),i[0]=GT(l+1/3,o,s),i[1]=GT(l,o,s),i[2]=GT(l-1/3,o,s);else if(~e.indexOf("="))return i=e.match(z4),r&&i.length<4&&(i[3]=1),i}else i=e.match(AI)||Vy.transparent;i=i.map(Number)}return n&&!v&&(o=i[0]/cr,s=i[1]/cr,a=i[2]/cr,d=Math.max(o,s,a),f=Math.min(o,s,a),u=(d+f)/2,d===f?l=c=0:(p=d-f,c=u>.5?p/(2-d-f):p/(d+f),l=d===o?(s-a)/p+(se||g<0)&&(r+=g-n),i+=g,P=i-r,_=P-s,(_>0||b)&&(A=++d.frame,f=P-d.time*1e3,d.time=P=P/1e3,s+=_+(_>=o?4:o-_),C=1),b||(l=c(y)),C)for(p=0;p=g&&p--},_listeners:a},d}(),uv=function(){return!tb&&Os.wake()},Dn={},mq=/^[\d.\-M][\d.\-,\s]/,gq=/["']/g,vq=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],o=1,s=r.length,a,l,c;o1&&r.config?r.config.apply(null,~e.indexOf("{")?[vq(n[1])]:yq(e).split(",").map(Y4)):Dn._CE&&mq.test(e)?Dn._CE("",e):r},pH=function(e){return function(n){return 1-e(1-n)}},hH=function t(e,n){for(var r=e._first,i;r;)r instanceof Uo?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},$p=function(e,n){return e&&(Zr(e)?e:Dn[e]||xq(e))||n},_h=function(e,n,r,i){r===void 0&&(r=function(l){return 1-n(1-l)}),i===void 0&&(i=function(l){return l<.5?n(l*2)/2:1-n((1-l)*2)/2});var o={easeIn:n,easeOut:r,easeInOut:i},s;return fs(e,function(a){Dn[a]=Js[a]=o,Dn[s=a.toLowerCase()]=r;for(var l in o)Dn[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Dn[a+"."+l]=o[l]}),o},mH=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},VT=function t(e,n,r){var i=n>=1?n:1,o=(r||(e?.3:.45))/(n<1?n:1),s=o/CI*(Math.asin(1/i)||0),a=function(u){return u===1?1:i*Math.pow(2,-10*u)*XJ((u-s)*o)+1},l=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:mH(a);return o=CI/o,l.config=function(c,u){return t(e,c,u)},l},WT=function t(e,n){n===void 0&&(n=1.70158);var r=function(s){return s?--s*s*((n+1)*s+n)+1:0},i=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:mH(r);return i.config=function(o){return t(e,o)},i};fs("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;_h(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})});Dn.Linear.easeNone=Dn.none=Dn.Linear.easeIn;_h("Elastic",VT("in"),VT("out"),VT());(function(t,e){var n=1/e,r=2*n,i=2.5*n,o=function(a){return a0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,cv(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(uv(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(sM(this,r),!o._dp||o.parent||Q4(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r0||!this._tDur&&!r)&&Xl(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===gr||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),K4(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+hN(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+hN(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,i):this._repeat?lv(this._tTime,o)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-gr?0:this._rts;if(this._rts===r)return this;var o=this.parent&&this._ts?_A(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-gr?0:this._rts,this.totalTime($b(-Math.abs(this._delay),this._tDur,o),i!==!1),oM(this),eq(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(uv(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==gr&&(this._tTime-=gr)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Xl(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(ds(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?_A(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=JJ);var i=Mo;return Mo=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Mo=i,this},e.globalTime=function(r){for(var i=this,o=arguments.length?r:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,mN(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,mN(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(ga(this,r),ds(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,ds(i))},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-gr:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-gr,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=i&&o1?(i?(s[r]=i,o&&(s[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=i)):delete s[r],this):s[r]},e.then=function(r){var i=this;return new Promise(function(o){var s=Zr(r)?r:J4,a=function(){var c=i.then;i.then=null,Zr(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=c),o(s),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},e.kill=function(){Gy(this)},t}();La(nb.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-gr,_prom:0,_ps:!1,_rts:1});var Uo=function(t){N4(e,t);function e(r,i){var o;return r===void 0&&(r={}),o=t.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=ds(r.sortChildren),kr&&Xl(r.parent||kr,jc(o),i),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&Z4(jc(o),r.scrollTrigger),o}var n=e.prototype;return n.to=function(i,o,s){return px(0,arguments,this),this},n.from=function(i,o,s){return px(1,arguments,this),this},n.fromTo=function(i,o,s,a){return px(2,arguments,this),this},n.set=function(i,o,s){return o.duration=0,o.parent=this,fx(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new _i(i,o,ga(this,s),1),this},n.call=function(i,o,s){return Xl(this,_i.delayedCall(0,i,o),s)},n.staggerTo=function(i,o,s,a,l,c,u){return s.duration=o,s.stagger=s.stagger||a,s.onComplete=c,s.onCompleteParams=u,s.parent=this,new _i(i,s,ga(this,l)),this},n.staggerFrom=function(i,o,s,a,l,c,u){return s.runBackwards=1,fx(s).immediateRender=ds(s.immediateRender),this.staggerTo(i,o,s,a,l,c,u)},n.staggerFromTo=function(i,o,s,a,l,c,u,d){return a.startAt=s,fx(a).immediateRender=ds(a.immediateRender),this.staggerTo(i,o,a,l,c,u,d)},n.render=function(i,o,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=i<=0?0:Wi(i),d=this._zTime<0!=i<0&&(this._initted||!c),f,p,v,y,x,g,b,_,C,P,A,R;if(this!==kr&&u>l&&i>=0&&(u=l),u!==this._tTime||s||d){if(a!==this._time&&c&&(u+=this._time-a,i+=this._time-a),f=u,C=this._start,_=this._ts,g=!_,d&&(c||(a=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(A=this._yoyo,x=c+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(x*100+i,o,s);if(f=Wi(u%x),u===l?(y=this._repeat,f=c):(y=~~(u/x),y&&y===u/x&&(f=c,y--),f>c&&(f=c)),P=lv(this._tTime,x),!a&&this._tTime&&P!==y&&this._tTime-P*x-this._dur<=0&&(P=y),A&&y&1&&(f=c-f,R=1),y!==P&&!this._lock){var k=A&&P&1,F=k===(A&&y&1);if(y=a&&i>=0)for(p=this._first;p;){if(v=p._next,(p._act||f>=p._start)&&p._ts&&b!==p){if(p.parent!==this)return this.render(i,o,s);if(p.render(p._ts>0?(f-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(f-p._start)*p._ts,o,s),f!==this._time||!this._ts&&!g){b=0,v&&(u+=this._zTime=-gr);break}}p=v}else{p=this._last;for(var w=i<0?i:f;p;){if(v=p._prev,(p._act||w<=p._end)&&p._ts&&b!==p){if(p.parent!==this)return this.render(i,o,s);if(p.render(p._ts>0?(w-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(w-p._start)*p._ts,o,s||Mo&&(p._initted||p._startAt)),f!==this._time||!this._ts&&!g){b=0,v&&(u+=this._zTime=w?-gr:gr);break}}p=v}}if(b&&!o&&(this.pause(),b.render(f>=a?0:-gr)._zTime=f>=a?1:-1,this._ts))return this._start=C,oM(this),this.render(i,o,s);this._onUpdate&&!o&&zs(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(C===this._start||Math.abs(_)!==Math.abs(this._ts))&&(this._lock||((i||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&Kd(this,1),!o&&!(i<0&&!a)&&(u||a||!l)&&(zs(this,u===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u0)&&this._prom())))}return this},n.add=function(i,o){var s=this;if(bu(o)||(o=ga(this,o,i)),!(i instanceof nb)){if(Eo(i))return i.forEach(function(a){return s.add(a,o)}),this;if(Ki(i))return this.addLabel(i,o);if(Zr(i))i=_i.delayedCall(0,i);else return this}return this!==i?Xl(this,i,o):this},n.getChildren=function(i,o,s,a){i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=!0),a===void 0&&(a=-wa);for(var l=[],c=this._first;c;)c._start>=a&&(c instanceof _i?o&&l.push(c):(s&&l.push(c),i&&l.push.apply(l,c.getChildren(!0,o,s)))),c=c._next;return l},n.getById=function(i){for(var o=this.getChildren(1,1,1),s=o.length;s--;)if(o[s].vars.id===i)return o[s]},n.remove=function(i){return Ki(i)?this.removeLabel(i):Zr(i)?this.killTweensOf(i):(iM(this,i),i===this._recent&&(this._recent=this._last),zp(this))},n.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Wi(Os.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},n.addLabel=function(i,o){return this.labels[i]=ga(this,o),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,o,s){var a=_i.delayedCall(0,o||Zx,s);return a.data="isPause",this._hasPause=1,Xl(this,a,ga(this,i))},n.removePause=function(i){var o=this._first;for(i=ga(this,i);o;)o._start===i&&o.data==="isPause"&&Kd(o),o=o._next},n.killTweensOf=function(i,o,s){for(var a=this.getTweensOf(i,s),l=a.length;l--;)Ed!==a[l]&&a[l].kill(i,o);return this},n.getTweensOf=function(i,o){for(var s=[],a=Ma(i),l=this._first,c=bu(o),u;l;)l instanceof _i?qJ(l._targets,a)&&(c?(!Ed||l._initted&&l._ts)&&l.globalTime(0)<=o&&l.globalTime(l.totalDuration())>o:!o||l.isActive())&&s.push(l):(u=l.getTweensOf(a,o)).length&&s.push.apply(s,u),l=l._next;return s},n.tweenTo=function(i,o){o=o||{};var s=this,a=ga(s,i),l=o,c=l.startAt,u=l.onStart,d=l.onStartParams,f=l.immediateRender,p,v=_i.to(s,La({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:o.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale())||gr,onStart:function(){if(s.pause(),!p){var x=o.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale());v._dur!==x&&cv(v,x,0,1).render(v._time,!0,!0),p=1}u&&u.apply(v,d||[])}},o));return f?v.render(0):v},n.tweenFromTo=function(i,o,s){return this.tweenTo(o,La({startAt:{time:ga(this,i)}},s))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),gN(this,ga(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),gN(this,ga(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+gr)},n.shiftChildren=function(i,o,s){s===void 0&&(s=0);for(var a=this._first,l=this.labels,c;a;)a._start>=s&&(a._start+=i,a._end+=i),a=a._next;if(o)for(c in l)l[c]>=s&&(l[c]+=i);return zp(this)},n.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return t.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,s;o;)s=o._next,this.remove(o),o=s;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),zp(this)},n.totalDuration=function(i){var o=0,s=this,a=s._last,l=wa,c,u,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(d=s.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,Xl(s,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(o-=u,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=u/s._ts,s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),l=0),a._end>o&&a._ts&&(o=a._end),a=c;cv(s,s===kr&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(i){if(kr._ts&&(K4(kr,_A(i,kr)),j4=Os.frame),Os.frame>=fN){fN+=Ws.autoSleep||120;var o=kr._first;if((!o||!o._ts)&&Ws.autoSleep&&Os._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||Os.sleep()}}},e}(nb);La(Uo.prototype,{_lock:0,_hasPause:0,_forcing:0});var bq=function(e,n,r,i,o,s,a){var l=new ps(this._pt,e,n,0,1,SH,null,o),c=0,u=0,d,f,p,v,y,x,g,b;for(l.b=r,l.e=i,r+="",i+="",(g=~i.indexOf("random("))&&(i=eb(i)),s&&(b=[r,i],s(b,e,n),r=b[0],i=b[1]),f=r.match($T)||[];d=$T.exec(i);)v=d[0],y=i.substring(c,d.index),p?p=(p+1)%5:y.substr(-5)==="rgba("&&(p=1),v!==f[u++]&&(x=parseFloat(f[u-1])||0,l._pt={_next:l._pt,p:y||u===1?y:",",s:x,c:v.charAt(1)==="="?Ug(x,v)-x:parseFloat(v)-x,m:p&&p<4?Math.round:0},c=$T.lastIndex);return l.c=c")}),C.duration();else{A={};for(k in v)k==="ease"||k==="easeEach"||Aq(k,v[k],A,v.easeEach);for(k in A)for(G=A[k].sort(function(X,ee){return X.t-ee.t}),z=0,P=0;Pl-gr&&!u?l:ic&&(f=c)),g=this._yoyo&&v&1,g&&(C=this._yEase,f=c-f),x=lv(this._tTime,y),f===a&&!s&&this._initted&&v===x)return this._tTime=d,this;v!==x&&(_&&this._yEase&&hH(_,g),this.vars.repeatRefresh&&!g&&!this._lock&&this._time!==y&&this._initted&&(this._lock=s=1,this.render(Wi(y*v),!0).invalidate()._lock=0))}if(!this._initted){if(eH(this,u?i:f,s,o,d))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&v!==x))return this;if(c!==this._dur)return this.render(i,o,s)}if(this._tTime=d,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=b=(C||this._ease)(f/c),this._from&&(this.ratio=b=1-b),f&&!a&&!o&&!v&&(zs(this,"onStart"),this._tTime!==d))return this;for(p=this._pt;p;)p.r(b,p.d),p=p._next;_&&_.render(i<0?i:_._dur*_._ease(f/this._dur),o,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(u&&EI(this,i,o,s),zs(this,"onUpdate")),this._repeat&&v!==x&&this.vars.onRepeat&&!o&&this.parent&&zs(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(u&&!this._onUpdate&&EI(this,i,!0,!0),(i||!c)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&Kd(this,1),!o&&!(u&&!a)&&(d||a||g)&&(zs(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),t.prototype.invalidate.call(this,i)},n.resetTo=function(i,o,s,a,l){tb||Os.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||cL(this,c),u=this._ease(c/this._dur),Sq(this,i,o,s,a,u,c,l)?this.resetTo(i,o,s,a,1):(sM(this,0),this.parent||q4(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?Gy(this):this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,Ed&&Ed.vars.overwrite!==!0)._first||Gy(this),this.parent&&s!==this.timeline.totalDuration()&&cv(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=i?Ma(i):a,c=this._ptLookup,u=this._pt,d,f,p,v,y,x,g;if((!o||o==="all")&&ZJ(a,l))return o==="all"&&(this._pt=0),Gy(this);for(d=this._op=this._op||[],o!=="all"&&(Ki(o)&&(y={},fs(o,function(b){return y[b]=1}),o=y),o=Cq(a,o)),g=a.length;g--;)if(~l.indexOf(a[g])){f=c[g],o==="all"?(d[g]=o,v=f,p={}):(p=d[g]=d[g]||{},v=o);for(y in v)x=f&&f[y],x&&((!("kill"in x.d)||x.d.kill(y)===!0)&&iM(this,x,"_pt"),delete f[y]),p!=="all"&&(p[y]=1)}return this._initted&&!this._pt&&u&&Gy(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return px(1,arguments)},e.delayedCall=function(i,o,s,a){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(i,o,s){return px(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,s){return kr.killTweensOf(i,o,s)},e}(nb);La(_i.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});fs("staggerTo,staggerFrom,staggerFromTo",function(t){_i[t]=function(){var e=new Uo,n=RI.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var uL=function(e,n,r){return e[n]=r},bH=function(e,n,r){return e[n](r)},wq=function(e,n,r,i){return e[n](i.fp,r)},Mq=function(e,n,r){return e.setAttribute(n,r)},dL=function(e,n){return Zr(e[n])?bH:tL(e[n])&&e.setAttribute?Mq:uL},_H=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},Eq=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},SH=function(e,n){var r=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=n.c}n.set(n.t,n.p,i,n)},fL=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},Tq=function(e,n,r,i){for(var o=this._pt,s;o;)s=o._next,o.p===i&&o.modifier(e,n,r),o=s},Rq=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?iM(this,n,"_pt"):n.dep||(r=1),n=i;return!r},Pq=function(e,n,r,i){i.mSet(e,n,i.m.call(i.tween,r,i.mt),i)},CH=function(e){for(var n=e._pt,r,i,o,s;n;){for(r=n._next,i=o;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:s)?n._prev._next=n:o=n,(n._next=i)?i._prev=n:s=n,n=r}e._pt=o},ps=function(){function t(n,r,i,o,s,a,l,c,u){this.t=r,this.s=o,this.c=s,this.p=i,this.r=a||_H,this.d=l||this,this.set=c||uL,this.pr=u||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,i,o){this.mSet=this.mSet||this.set,this.set=Pq,this.m=r,this.mt=o,this.tween=i},t}();fs(sL+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return oL[t]=1});Js.TweenMax=Js.TweenLite=_i;Js.TimelineLite=Js.TimelineMax=Uo;kr=new Uo({sortChildren:!1,defaults:av,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ws.stringFilter=fH;var Hp=[],wC={},Iq=[],yN=0,Bq=0,jT=function(e){return(wC[e]||Iq).map(function(n){return n()})},LI=function(){var e=Date.now(),n=[];e-yN>2&&(jT("matchMediaInit"),Hp.forEach(function(r){var i=r.queries,o=r.conditions,s,a,l,c;for(a in i)s=$l.matchMedia(i[a]).matches,s&&(l=1),s!==o[a]&&(o[a]=s,c=1);c&&(r.revert(),l&&n.push(r))}),jT("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),yN=e,jT("matchMedia"))},AH=function(){function t(n,r){this.selector=r&&PI(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Bq++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,i,o){Zr(r)&&(o=i,i=r,r=Zr);var s=this,a=function(){var c=Tr,u=s.selector,d;return c&&c!==s&&c.data.push(s),o&&(s.selector=PI(o)),Tr=s,d=i.apply(s,arguments),Zr(d)&&s._r.push(d),Tr=c,s.selector=u,s.isReverted=!1,d};return s.last=a,r===Zr?a(s,function(l){return s.add(null,l)}):r?s[r]=a:a},e.ignore=function(r){var i=Tr;Tr=null,r(this),Tr=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof t?r.push.apply(r,i.getTweens()):i instanceof _i&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var o=this;if(r?function(){for(var a=o.getTweens(),l=o.data.length,c;l--;)c=o.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,d){return d.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=o.data.length;l--;)c=o.data[l],c instanceof Uo?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof _i)&&c.revert&&c.revert(r);o._r.forEach(function(u){return u(r,o)}),o.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var s=Hp.length;s--;)Hp[s].id===this.id&&Hp.splice(s,1)},e.revert=function(r){this.kill(r||{})},t}(),Lq=function(){function t(n){this.contexts=[],this.scope=n,Tr&&Tr.data.push(this)}var e=t.prototype;return e.add=function(r,i,o){ac(r)||(r={matches:r});var s=new AH(0,o||this.scope),a=s.conditions={},l,c,u;Tr&&!s.selector&&(s.selector=Tr.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=r;for(c in r)c==="all"?u=1:(l=$l.matchMedia(r[c]),l&&(Hp.indexOf(s)<0&&Hp.push(s),(a[c]=l.matches)&&(u=1),l.addListener?l.addListener(LI):l.addEventListener("change",LI)));return u&&i(s,function(d){return s.add(null,d)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},t}(),SA={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r1){var i=e.map(function(u){return vs.quickSetter(u,n,r)}),o=i.length;return function(u){for(var d=o;d--;)i[d](u)}}e=e[0]||{};var s=Ls[n],a=Up(e),l=a.harness&&(a.harness.aliases||{})[n]||n,c=s?function(u){var d=new s;Cg._pt=0,d.init(e,r?u+r:u,Cg,0,[e]),d.render(1,d),Cg._pt&&fL(1,Cg)}:a.set(e,l);return s?c:function(u){return c(e,l,r?u+r:u,a,1)}},quickTo:function(e,n,r){var i,o=vs.to(e,rh((i={},i[n]="+=0.1",i.paused=!0,i),r||{})),s=function(l,c,u){return o.resetTo(n,l,c,u)};return s.tween=o,s},isTweening:function(e){return kr.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=$p(e.ease,av.ease)),pN(av,e||{})},config:function(e){return pN(Ws,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,i=e.plugins,o=e.defaults,s=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!Ls[a]&&!Js[a]&&Qx(n+" effect requires "+a+" plugin.")}),HT[n]=function(a,l,c){return r(Ma(a),La(l||{},o),c)},s&&(Uo.prototype[n]=function(a,l,c){return this.add(HT[n](a,ac(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,n){Dn[e]=$p(n)},parseEase:function(e,n){return arguments.length?$p(e,n):Dn},getById:function(e){return kr.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Uo(e),i,o;for(r.smoothChildTiming=ds(e.smoothChildTiming),kr.remove(r),r._dp=0,r._time=r._tTime=kr._time,i=kr._first;i;)o=i._next,(n||!(!i._dur&&i instanceof _i&&i.vars.onComplete===i._targets[0]))&&Xl(r,i,i._start-i._delay),i=o;return Xl(kr,r,0),r},context:function(e,n){return e?new AH(e,n):Tr},matchMedia:function(e){return new Lq(e)},matchMediaRefresh:function(){return Hp.forEach(function(e){var n=e.conditions,r,i;for(i in n)n[i]&&(n[i]=!1,r=1);r&&e.revert()})||LI()},addEventListener:function(e,n){var r=wC[e]||(wC[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=wC[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:dq,wrapYoyo:fq,distribute:rH,random:oH,snap:iH,normalize:uq,getUnit:Ao,clamp:sq,splitColor:uH,toArray:Ma,selector:PI,mapRange:aH,pipe:lq,unitize:cq,interpolate:pq,shuffle:nH},install:V4,effects:HT,ticker:Os,updateRoot:Uo.updateRoot,plugins:Ls,globalTimeline:kr,core:{PropTween:ps,globals:W4,Tween:_i,Timeline:Uo,Animation:nb,getCache:Up,_removeLinkedListItem:iM,reverting:function(){return Mo},context:function(e){return e&&Tr&&(Tr.data.push(e),e._ctx=Tr),Tr},suppressOverwrites:function(e){return eL=e}}};fs("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return SA[t]=_i[t]});Os.add(Uo.updateRoot);Cg=SA.to({},{duration:0});var kq=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},Dq=function(e,n){var r=e._targets,i,o,s;for(i in n)for(o=r.length;o--;)s=e._ptLookup[o][i],s&&(s=s.d)&&(s._pt&&(s=kq(s,i)),s&&s.modifier&&s.modifier(n[i],e,r[o],i))},XT=function(e,n){return{name:e,rawVars:1,init:function(i,o,s){s._onInit=function(a){var l,c;if(Ki(o)&&(l={},fs(o,function(u){return l[u]=1}),o=l),n){l={};for(c in o)l[c]=n(o[c]);o=l}Dq(a,o)}}}},vs=SA.registerPlugin({name:"attr",init:function(e,n,r,i,o){var s,a,l;this.tween=r;for(s in n)l=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(l||0)+"",n[s],i,o,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(e,n){for(var r=n._pt;r;)Mo?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},XT("roundProps",II),XT("modifiers"),XT("snap",iH))||SA;_i.version=Uo.version=vs.version="3.12.5";G4=1;nL()&&uv();Dn.Power0;Dn.Power1;Dn.Power2;Dn.Power3;Dn.Power4;Dn.Linear;Dn.Quad;Dn.Cubic;Dn.Quart;Dn.Quint;Dn.Strong;Dn.Elastic;Dn.Back;Dn.SteppedEase;Dn.Bounce;Dn.Sine;Dn.Expo;Dn.Circ;/*! +*/var Ws={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},rv={duration:.5,overwrite:!1,delay:0},UB,wo,Mr,wa=1e8,hr=1/wa,fI=Math.PI*2,_J=fI/4,SJ=0,b4=Math.sqrt,CJ=Math.cos,AJ=Math.sin,Ki=function(e){return typeof e=="string"},Qr=function(e){return typeof e=="function"},xu=function(e){return typeof e=="number"},zB=function(e){return typeof e>"u"},ac=function(e){return typeof e=="object"},ds=function(e){return e!==!1},$B=function(){return typeof window<"u"},P1=function(e){return Qr(e)||Ki(e)},_4=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Mo=Array.isArray,pI=/(?:-?\.?\d|\.)+/gi,S4=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,vg=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,RT=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,C4=/[+-]=-?[.\d]+/,A4=/[^,'"\[\]\s]+/gi,wJ=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Br,$l,hI,HB,Js={},lA={},w4,M4=function(e){return(lA=Qp(e,Js))&&vs},GB=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},Gx=function(e,n){return!n&&console.warn(e)},E4=function(e,n){return e&&(Js[e]=n)&&lA&&(lA[e]=n)||Js},Vx=function(){return 0},MJ={suppressEvents:!0,isStart:!0,kill:!1},fC={suppressEvents:!0,kill:!1},EJ={suppressEvents:!0},VB={},Fd=[],mI={},T4,Ls={},PT={},qO=30,pC=[],WB="",jB=function(e){var n=e[0],r,i;if(ac(n)||Qr(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=pC.length;i--&&!pC[i].targetTest(n););r=pC[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Q4(e[i],r)))||e.splice(i,1);return e},kp=function(e){return e._gsap||jB(Ma(e))[0]._gsap},R4=function(e,n,r){return(r=e[n])&&Qr(r)?e[n]():zB(r)&&e.getAttribute&&e.getAttribute(n)||r},fs=function(e,n){return(e=e.split(",")).forEach(n)||e},si=function(e){return Math.round(e*1e5)/1e5||0},Wi=function(e){return Math.round(e*1e7)/1e7||0},kg=function(e,n){var r=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},TJ=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++ia;)s=s._prev;return s?(n._next=s._next,s._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[i]=n,n._prev=s,n.parent=n._dp=e,n},Xw=function(e,n,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var o=n._prev,s=n._next;o?o._next=s:e[r]===n&&(e[r]=s),s?s._prev=o:e[i]===n&&(e[i]=o),n._next=n._prev=n.parent=null},Vd=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Dp=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},IJ=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},gI=function(e,n,r,i){return e._startAt&&(wo?e._startAt.revert(fC):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},BJ=function t(e){return!e||e._ts&&t(e.parent)},ZO=function(e){return e._repeat?iv(e._tTime,e=e.duration()+e._rDelay)*e:0},iv=function(e,n){var r=Math.floor(e/=n);return e&&r===e?r-1:r},dA=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},Kw=function(e){return e._end=Wi(e._start+(e._tDur/Math.abs(e._ts||e._rts||hr)||0))},Yw=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Wi(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),Kw(e),r._dirty||Dp(r,e)),e},k4=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._starthr)&&n.render(r,!0)),Dp(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-hr}},Xl=function(e,n,r,i){return n.parent&&Vd(n),n._start=Wi((xu(r)?r:r||e!==Br?ga(e,r,n):e._time)+n._delay),n._end=Wi(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),L4(e,n,"_first","_last",e._sort?"_start":0),vI(n)||(e._recent=n),i||k4(e,n),e._ts<0&&Yw(e,e._tTime),e},D4=function(e,n){return(Js.ScrollTrigger||GB("scrollTrigger",n))&&Js.ScrollTrigger.create(n,e)},O4=function(e,n,r,i,o){if(KB(e,n,o),!e._initted)return 1;if(!r&&e._pt&&!wo&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&T4!==Os.frame)return Fd.push(e),e._lazy=[o,i],1},LJ=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},vI=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},kJ=function(e,n,r,i){var o=e.ratio,s=n<0||!n&&(!e._start&&LJ(e)&&!(!e._initted&&vI(e))||(e._ts<0||e._dp._ts<0)&&!vI(e))?0:1,a=e._rDelay,l=0,c,u,d;if(a&&e._repeat&&(l=Pb(0,e._tDur,n),u=iv(l,a),e._yoyo&&u&1&&(s=1-s),u!==iv(e._tTime,a)&&(o=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==o||wo||i||e._zTime===hr||!n&&e._zTime){if(!e._initted&&O4(e,n,i,r,l))return;for(d=e._zTime,e._zTime=n||(r?hr:0),r||(r=n&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,c=e._pt;c;)c.r(s,c.d),c=c._next;n<0&&gI(e,n,r,!0),e._onUpdate&&!r&&zs(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&zs(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===s&&(s&&Vd(e,1),!r&&!wo&&(zs(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},DJ=function(e,n,r){var i;if(r>n)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start0&&!i&&Yw(e,e._tTime=e._tDur*a),e.parent&&Kw(e),r||Dp(e.parent,e),e},eN=function(e){return e instanceof Fo?Dp(e):ov(e,e._dur)},OJ={_start:0,endTime:Vx,totalDuration:Vx},ga=function t(e,n,r){var i=e.labels,o=e._recent||OJ,s=e.duration()>=wa?o.endTime(!1):e._dur,a,l,c;return Ki(n)&&(isNaN(n)||n in i)?(l=n.charAt(0),c=n.substr(-1)==="%",a=n.indexOf("="),l==="<"||l===">"?(a>=0&&(n=n.replace(/=/,"")),(l==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(n.substr(1))||0)*(c?(a<0?o:r).totalDuration()/100:1)):a<0?(n in i||(i[n]=s),i[n]):(l=parseFloat(n.charAt(a-1)+n.substr(a+1)),c&&r&&(l=l/100*(Mo(r)?r[0]:r).totalDuration()),a>1?t(e,n.substr(0,a-1),r)+l:s+l)):n==null?s:+n},ox=function(e,n,r){var i=xu(n[1]),o=(i?2:1)+(e<2?0:1),s=n[o],a,l;if(i&&(s.duration=n[1]),s.parent=r,e){for(a=s,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=ds(l.vars.inherit)&&l.parent;s.immediateRender=ds(a.immediateRender),e<2?s.runBackwards=1:s.startAt=n[o-1]}return new xi(n[0],s,n[o+1])},rf=function(e,n){return e||e===0?n(e):n},Pb=function(e,n,r){return rn?n:r},Co=function(e,n){return!Ki(e)||!(n=wJ.exec(e))?"":n[1]},NJ=function(e,n,r){return rf(r,function(i){return Pb(e,n,i)})},yI=[].slice,N4=function(e,n){return e&&ac(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&ac(e[0]))&&!e.nodeType&&e!==$l},FJ=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(i){var o;return Ki(i)&&!n||N4(i,1)?(o=r).push.apply(o,Ma(i)):r.push(i)})||r},Ma=function(e,n,r){return Mr&&!n&&Mr.selector?Mr.selector(e):Ki(e)&&!r&&(hI||!sv())?yI.call((n||HB).querySelectorAll(e),0):Mo(e)?FJ(e,r):N4(e)?yI.call(e,0):e?[e]:[]},xI=function(e){return e=Ma(e)[0]||Gx("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return Ma(n,r.querySelectorAll?r:r===e?Gx("Invalid scope")||HB.createElement("div"):e)}},F4=function(e){return e.sort(function(){return .5-Math.random()})},U4=function(e){if(Qr(e))return e;var n=ac(e)?e:{each:e},r=Op(n.ease),i=n.from||0,o=parseFloat(n.base)||0,s={},a=i>0&&i<1,l=isNaN(i)||a,c=n.axis,u=i,d=i;return Ki(i)?u=d={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(u=i[0],d=i[1]),function(f,p,v){var y=(v||n).length,x=s[y],g,b,_,C,T,A,R,D,U;if(!x){if(U=n.grid==="auto"?0:(n.grid||[1,wa])[1],!U){for(R=-wa;R<(R=v[U++].getBoundingClientRect().left)&&UR&&(R=T),Ty?y-1:c?c==="y"?y/U:U:Math.max(U,y/U))||0)*(i==="edges"?-1:1),x.b=y<0?o-y:o,x.u=Co(n.amount||n.each)||0,r=r&&y<0?Y4(r):r}return y=(x[f]-x.min)/x.max||0,Wi(x.b+(r?r(y):y)*x.v)+x.u}},bI=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Wi(Math.round(parseFloat(r)/e)*e*n);return(i-i%1)/n+(xu(r)?0:Co(r))}},z4=function(e,n){var r=Mo(e),i,o;return!r&&ac(e)&&(i=r=e.radius||wa,e.values?(e=Ma(e.values),(o=!xu(e[0]))&&(i*=i)):e=bI(e.increment)),rf(n,r?Qr(e)?function(s){return o=e(s),Math.abs(o-s)<=i?o:s}:function(s){for(var a=parseFloat(o?s.x:s),l=parseFloat(o?s.y:0),c=wa,u=0,d=e.length,f,p;d--;)o?(f=e[d].x-a,p=e[d].y-l,f=f*f+p*p):f=Math.abs(e[d]-a),fi?o-s:s)})},Wx=function(e){for(var n=0,r="",i,o,s,a;~(i=e.indexOf("random(",n));)s=e.indexOf(")",i),a=e.charAt(i+7)==="[",o=e.substr(i+7,s-i-7).match(a?A4:pI),r+=e.substr(n,i-n)+$4(a?o:+o[0],a?0:+o[1],+o[2]||1e-5),n=s+1;return r+e.substr(n,e.length-n)},G4=function(e,n,r,i,o){var s=n-e,a=i-r;return rf(o,function(l){return r+((l-e)/s*a||0)})},VJ=function t(e,n,r,i){var o=isNaN(e+n)?0:function(p){return(1-p)*e+p*n};if(!o){var s=Ki(e),a={},l,c,u,d,f;if(r===!0&&(i=1)&&(r=null),s)e={p:e},n={p:n};else if(Mo(e)&&!Mo(n)){for(u=[],d=e.length,f=d-2,c=1;c(a=Math.abs(a))&&(l=s,o=a);return l},zs=function(e,n,r){var i=e.vars,o=i[n],s=Mr,a=e._ctx,l,c,u;if(o)return l=i[n+"Params"],c=i.callbackScope||e,r&&Fd.length&&cA(),a&&(Mr=a),u=l?o.apply(c,l):o.call(c),Mr=s,u},Oy=function(e){return Vd(e),e.scrollTrigger&&e.scrollTrigger.kill(!!wo),e.progress()<1&&zs(e,"onInterrupt"),e},yg,V4=[],W4=function(e){if(e)if(e=!e.name&&e.default||e,$B()||e.headless){var n=e.name,r=Qr(e),i=n&&!r&&e.init?function(){this._props=[]}:e,o={init:Vx,render:qB,add:XB,kill:sq,modifier:oq,rawVars:0},s={targetTest:0,get:0,getSetter:JB,aliases:{},register:0};if(sv(),e!==i){if(Ls[n])return;La(i,La(uA(e,o),s)),Qp(i.prototype,Qp(o,uA(e,s))),Ls[i.prop=n]=i,e.targetTest&&(pC.push(i),VB[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}E4(n,i),e.register&&e.register(vs,i,ps)}else V4.push(e)},sr=255,Ny={aqua:[0,sr,sr],lime:[0,sr,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,sr],navy:[0,0,128],white:[sr,sr,sr],olive:[128,128,0],yellow:[sr,sr,0],orange:[sr,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[sr,0,0],pink:[sr,192,203],cyan:[0,sr,sr],transparent:[sr,sr,sr,0]},IT=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*sr+.5|0},j4=function(e,n,r){var i=e?xu(e)?[e>>16,e>>8&sr,e&sr]:0:Ny.black,o,s,a,l,c,u,d,f,p,v;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Ny[e])i=Ny[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+o+o+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&sr,i&sr,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&sr,e&sr]}else if(e.substr(0,3)==="hsl"){if(i=v=e.match(pI),!n)l=+i[0]%360/360,c=+i[1]/100,u=+i[2]/100,s=u<=.5?u*(c+1):u+c-u*c,o=u*2-s,i.length>3&&(i[3]*=1),i[0]=IT(l+1/3,o,s),i[1]=IT(l,o,s),i[2]=IT(l-1/3,o,s);else if(~e.indexOf("="))return i=e.match(S4),r&&i.length<4&&(i[3]=1),i}else i=e.match(pI)||Ny.transparent;i=i.map(Number)}return n&&!v&&(o=i[0]/sr,s=i[1]/sr,a=i[2]/sr,d=Math.max(o,s,a),f=Math.min(o,s,a),u=(d+f)/2,d===f?l=c=0:(p=d-f,c=u>.5?p/(2-d-f):p/(d+f),l=d===o?(s-a)/p+(se||g<0)&&(r+=g-n),i+=g,T=i-r,_=T-s,(_>0||b)&&(A=++d.frame,f=T-d.time*1e3,d.time=T=T/1e3,s+=_+(_>=o?4:o-_),C=1),b||(l=c(y)),C)for(p=0;p=g&&p--},_listeners:a},d}(),sv=function(){return!jx&&Os.wake()},Ln={},jJ=/^[\d.\-M][\d.\-,\s]/,XJ=/["']/g,KJ=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],o=1,s=r.length,a,l,c;o1&&r.config?r.config.apply(null,~e.indexOf("{")?[KJ(n[1])]:YJ(e).split(",").map(I4)):Ln._CE&&jJ.test(e)?Ln._CE("",e):r},Y4=function(e){return function(n){return 1-e(1-n)}},J4=function t(e,n){for(var r=e._first,i;r;)r instanceof Fo?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},Op=function(e,n){return e&&(Qr(e)?e:Ln[e]||JJ(e))||n},gh=function(e,n,r,i){r===void 0&&(r=function(l){return 1-n(1-l)}),i===void 0&&(i=function(l){return l<.5?n(l*2)/2:1-n((1-l)*2)/2});var o={easeIn:n,easeOut:r,easeInOut:i},s;return fs(e,function(a){Ln[a]=Js[a]=o,Ln[s=a.toLowerCase()]=r;for(var l in o)Ln[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Ln[a+"."+l]=o[l]}),o},q4=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},BT=function t(e,n,r){var i=n>=1?n:1,o=(r||(e?.3:.45))/(n<1?n:1),s=o/fI*(Math.asin(1/i)||0),a=function(u){return u===1?1:i*Math.pow(2,-10*u)*AJ((u-s)*o)+1},l=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:q4(a);return o=fI/o,l.config=function(c,u){return t(e,c,u)},l},LT=function t(e,n){n===void 0&&(n=1.70158);var r=function(s){return s?--s*s*((n+1)*s+n)+1:0},i=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:q4(r);return i.config=function(o){return t(e,o)},i};fs("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;gh(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})});Ln.Linear.easeNone=Ln.none=Ln.Linear.easeIn;gh("Elastic",BT("in"),BT("out"),BT());(function(t,e){var n=1/e,r=2*n,i=2.5*n,o=function(a){return a0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,ov(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(sv(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(Yw(this,r),!o._dp||o.parent||k4(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r0||!this._tDur&&!r)&&Xl(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===hr||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),P4(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+ZO(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+ZO(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,i):this._repeat?iv(this._tTime,o)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-hr?0:this._rts;if(this._rts===r)return this;var o=this.parent&&this._ts?dA(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-hr?0:this._rts,this.totalTime(Pb(-Math.abs(this._delay),this._tDur,o),i!==!1),Kw(this),IJ(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(sv(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==hr&&(this._tTime-=hr)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Xl(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(ds(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?dA(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=EJ);var i=wo;return wo=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),wo=i,this},e.globalTime=function(r){for(var i=this,o=arguments.length?r:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,eN(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,eN(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(ga(this,r),ds(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,ds(i))},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-hr:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-hr,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=i&&o1?(i?(s[r]=i,o&&(s[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=i)):delete s[r],this):s[r]},e.then=function(r){var i=this;return new Promise(function(o){var s=Qr(r)?r:B4,a=function(){var c=i.then;i.then=null,Qr(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=c),o(s),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},e.kill=function(){Oy(this)},t}();La(Xx.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-hr,_prom:0,_ps:!1,_rts:1});var Fo=function(t){x4(e,t);function e(r,i){var o;return r===void 0&&(r={}),o=t.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=ds(r.sortChildren),Br&&Xl(r.parent||Br,jc(o),i),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&D4(jc(o),r.scrollTrigger),o}var n=e.prototype;return n.to=function(i,o,s){return ox(0,arguments,this),this},n.from=function(i,o,s){return ox(1,arguments,this),this},n.fromTo=function(i,o,s,a){return ox(2,arguments,this),this},n.set=function(i,o,s){return o.duration=0,o.parent=this,ix(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new xi(i,o,ga(this,s),1),this},n.call=function(i,o,s){return Xl(this,xi.delayedCall(0,i,o),s)},n.staggerTo=function(i,o,s,a,l,c,u){return s.duration=o,s.stagger=s.stagger||a,s.onComplete=c,s.onCompleteParams=u,s.parent=this,new xi(i,s,ga(this,l)),this},n.staggerFrom=function(i,o,s,a,l,c,u){return s.runBackwards=1,ix(s).immediateRender=ds(s.immediateRender),this.staggerTo(i,o,s,a,l,c,u)},n.staggerFromTo=function(i,o,s,a,l,c,u,d){return a.startAt=s,ix(a).immediateRender=ds(a.immediateRender),this.staggerTo(i,o,a,l,c,u,d)},n.render=function(i,o,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=i<=0?0:Wi(i),d=this._zTime<0!=i<0&&(this._initted||!c),f,p,v,y,x,g,b,_,C,T,A,R;if(this!==Br&&u>l&&i>=0&&(u=l),u!==this._tTime||s||d){if(a!==this._time&&c&&(u+=this._time-a,i+=this._time-a),f=u,C=this._start,_=this._ts,g=!_,d&&(c||(a=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(A=this._yoyo,x=c+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(x*100+i,o,s);if(f=Wi(u%x),u===l?(y=this._repeat,f=c):(y=~~(u/x),y&&y===u/x&&(f=c,y--),f>c&&(f=c)),T=iv(this._tTime,x),!a&&this._tTime&&T!==y&&this._tTime-T*x-this._dur<=0&&(T=y),A&&y&1&&(f=c-f,R=1),y!==T&&!this._lock){var D=A&&T&1,U=D===(A&&y&1);if(y=a&&i>=0)for(p=this._first;p;){if(v=p._next,(p._act||f>=p._start)&&p._ts&&b!==p){if(p.parent!==this)return this.render(i,o,s);if(p.render(p._ts>0?(f-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(f-p._start)*p._ts,o,s),f!==this._time||!this._ts&&!g){b=0,v&&(u+=this._zTime=-hr);break}}p=v}else{p=this._last;for(var w=i<0?i:f;p;){if(v=p._prev,(p._act||w<=p._end)&&p._ts&&b!==p){if(p.parent!==this)return this.render(i,o,s);if(p.render(p._ts>0?(w-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(w-p._start)*p._ts,o,s||wo&&(p._initted||p._startAt)),f!==this._time||!this._ts&&!g){b=0,v&&(u+=this._zTime=w?-hr:hr);break}}p=v}}if(b&&!o&&(this.pause(),b.render(f>=a?0:-hr)._zTime=f>=a?1:-1,this._ts))return this._start=C,Kw(this),this.render(i,o,s);this._onUpdate&&!o&&zs(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(C===this._start||Math.abs(_)!==Math.abs(this._ts))&&(this._lock||((i||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&Vd(this,1),!o&&!(i<0&&!a)&&(u||a||!l)&&(zs(this,u===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u0)&&this._prom())))}return this},n.add=function(i,o){var s=this;if(xu(o)||(o=ga(this,o,i)),!(i instanceof Xx)){if(Mo(i))return i.forEach(function(a){return s.add(a,o)}),this;if(Ki(i))return this.addLabel(i,o);if(Qr(i))i=xi.delayedCall(0,i);else return this}return this!==i?Xl(this,i,o):this},n.getChildren=function(i,o,s,a){i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=!0),a===void 0&&(a=-wa);for(var l=[],c=this._first;c;)c._start>=a&&(c instanceof xi?o&&l.push(c):(s&&l.push(c),i&&l.push.apply(l,c.getChildren(!0,o,s)))),c=c._next;return l},n.getById=function(i){for(var o=this.getChildren(1,1,1),s=o.length;s--;)if(o[s].vars.id===i)return o[s]},n.remove=function(i){return Ki(i)?this.removeLabel(i):Qr(i)?this.killTweensOf(i):(Xw(this,i),i===this._recent&&(this._recent=this._last),Dp(this))},n.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Wi(Os.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},n.addLabel=function(i,o){return this.labels[i]=ga(this,o),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,o,s){var a=xi.delayedCall(0,o||Vx,s);return a.data="isPause",this._hasPause=1,Xl(this,a,ga(this,i))},n.removePause=function(i){var o=this._first;for(i=ga(this,i);o;)o._start===i&&o.data==="isPause"&&Vd(o),o=o._next},n.killTweensOf=function(i,o,s){for(var a=this.getTweensOf(i,s),l=a.length;l--;)wd!==a[l]&&a[l].kill(i,o);return this},n.getTweensOf=function(i,o){for(var s=[],a=Ma(i),l=this._first,c=xu(o),u;l;)l instanceof xi?TJ(l._targets,a)&&(c?(!wd||l._initted&&l._ts)&&l.globalTime(0)<=o&&l.globalTime(l.totalDuration())>o:!o||l.isActive())&&s.push(l):(u=l.getTweensOf(a,o)).length&&s.push.apply(s,u),l=l._next;return s},n.tweenTo=function(i,o){o=o||{};var s=this,a=ga(s,i),l=o,c=l.startAt,u=l.onStart,d=l.onStartParams,f=l.immediateRender,p,v=xi.to(s,La({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:o.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale())||hr,onStart:function(){if(s.pause(),!p){var x=o.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale());v._dur!==x&&ov(v,x,0,1).render(v._time,!0,!0),p=1}u&&u.apply(v,d||[])}},o));return f?v.render(0):v},n.tweenFromTo=function(i,o,s){return this.tweenTo(o,La({startAt:{time:ga(this,i)}},s))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),tN(this,ga(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),tN(this,ga(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+hr)},n.shiftChildren=function(i,o,s){s===void 0&&(s=0);for(var a=this._first,l=this.labels,c;a;)a._start>=s&&(a._start+=i,a._end+=i),a=a._next;if(o)for(c in l)l[c]>=s&&(l[c]+=i);return Dp(this)},n.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return t.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,s;o;)s=o._next,this.remove(o),o=s;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Dp(this)},n.totalDuration=function(i){var o=0,s=this,a=s._last,l=wa,c,u,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(d=s.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,Xl(s,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(o-=u,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=u/s._ts,s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),l=0),a._end>o&&a._ts&&(o=a._end),a=c;ov(s,s===Br&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(i){if(Br._ts&&(P4(Br,dA(i,Br)),T4=Os.frame),Os.frame>=qO){qO+=Ws.autoSleep||120;var o=Br._first;if((!o||!o._ts)&&Ws.autoSleep&&Os._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||Os.sleep()}}},e}(Xx);La(Fo.prototype,{_lock:0,_hasPause:0,_forcing:0});var qJ=function(e,n,r,i,o,s,a){var l=new ps(this._pt,e,n,0,1,iH,null,o),c=0,u=0,d,f,p,v,y,x,g,b;for(l.b=r,l.e=i,r+="",i+="",(g=~i.indexOf("random("))&&(i=Wx(i)),s&&(b=[r,i],s(b,e,n),r=b[0],i=b[1]),f=r.match(RT)||[];d=RT.exec(i);)v=d[0],y=i.substring(c,d.index),p?p=(p+1)%5:y.substr(-5)==="rgba("&&(p=1),v!==f[u++]&&(x=parseFloat(f[u-1])||0,l._pt={_next:l._pt,p:y||u===1?y:",",s:x,c:v.charAt(1)==="="?kg(x,v)-x:parseFloat(v)-x,m:p&&p<4?Math.round:0},c=RT.lastIndex);return l.c=c")}),C.duration();else{A={};for(D in v)D==="ease"||D==="easeEach"||tq(D,v[D],A,v.easeEach);for(D in A)for(V=A[D].sort(function(X,ee){return X.t-ee.t}),H=0,T=0;Tl-hr&&!u?l:ic&&(f=c)),g=this._yoyo&&v&1,g&&(C=this._yEase,f=c-f),x=iv(this._tTime,y),f===a&&!s&&this._initted&&v===x)return this._tTime=d,this;v!==x&&(_&&this._yEase&&J4(_,g),this.vars.repeatRefresh&&!g&&!this._lock&&this._time!==y&&this._initted&&(this._lock=s=1,this.render(Wi(y*v),!0).invalidate()._lock=0))}if(!this._initted){if(O4(this,u?i:f,s,o,d))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&v!==x))return this;if(c!==this._dur)return this.render(i,o,s)}if(this._tTime=d,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=b=(C||this._ease)(f/c),this._from&&(this.ratio=b=1-b),f&&!a&&!o&&!v&&(zs(this,"onStart"),this._tTime!==d))return this;for(p=this._pt;p;)p.r(b,p.d),p=p._next;_&&_.render(i<0?i:_._dur*_._ease(f/this._dur),o,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(u&&gI(this,i,o,s),zs(this,"onUpdate")),this._repeat&&v!==x&&this.vars.onRepeat&&!o&&this.parent&&zs(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(u&&!this._onUpdate&&gI(this,i,!0,!0),(i||!c)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&Vd(this,1),!o&&!(u&&!a)&&(d||a||g)&&(zs(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),t.prototype.invalidate.call(this,i)},n.resetTo=function(i,o,s,a,l){jx||Os.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||KB(this,c),u=this._ease(c/this._dur),ZJ(this,i,o,s,a,u,c,l)?this.resetTo(i,o,s,a,1):(Yw(this,0),this.parent||L4(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?Oy(this):this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,wd&&wd.vars.overwrite!==!0)._first||Oy(this),this.parent&&s!==this.timeline.totalDuration()&&ov(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=i?Ma(i):a,c=this._ptLookup,u=this._pt,d,f,p,v,y,x,g;if((!o||o==="all")&&PJ(a,l))return o==="all"&&(this._pt=0),Oy(this);for(d=this._op=this._op||[],o!=="all"&&(Ki(o)&&(y={},fs(o,function(b){return y[b]=1}),o=y),o=eq(a,o)),g=a.length;g--;)if(~l.indexOf(a[g])){f=c[g],o==="all"?(d[g]=o,v=f,p={}):(p=d[g]=d[g]||{},v=o);for(y in v)x=f&&f[y],x&&((!("kill"in x.d)||x.d.kill(y)===!0)&&Xw(this,x,"_pt"),delete f[y]),p!=="all"&&(p[y]=1)}return this._initted&&!this._pt&&u&&Oy(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return ox(1,arguments)},e.delayedCall=function(i,o,s,a){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(i,o,s){return ox(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,s){return Br.killTweensOf(i,o,s)},e}(Xx);La(xi.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});fs("staggerTo,staggerFrom,staggerFromTo",function(t){xi[t]=function(){var e=new Fo,n=yI.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var YB=function(e,n,r){return e[n]=r},nH=function(e,n,r){return e[n](r)},nq=function(e,n,r,i){return e[n](i.fp,r)},rq=function(e,n,r){return e.setAttribute(n,r)},JB=function(e,n){return Qr(e[n])?nH:zB(e[n])&&e.setAttribute?rq:YB},rH=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},iq=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},iH=function(e,n){var r=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=n.c}n.set(n.t,n.p,i,n)},qB=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},oq=function(e,n,r,i){for(var o=this._pt,s;o;)s=o._next,o.p===i&&o.modifier(e,n,r),o=s},sq=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?Xw(this,n,"_pt"):n.dep||(r=1),n=i;return!r},aq=function(e,n,r,i){i.mSet(e,n,i.m.call(i.tween,r,i.mt),i)},oH=function(e){for(var n=e._pt,r,i,o,s;n;){for(r=n._next,i=o;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:s)?n._prev._next=n:o=n,(n._next=i)?i._prev=n:s=n,n=r}e._pt=o},ps=function(){function t(n,r,i,o,s,a,l,c,u){this.t=r,this.s=o,this.c=s,this.p=i,this.r=a||rH,this.d=l||this,this.set=c||YB,this.pr=u||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,i,o){this.mSet=this.mSet||this.set,this.set=aq,this.m=r,this.mt=o,this.tween=i},t}();fs(WB+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return VB[t]=1});Js.TweenMax=Js.TweenLite=xi;Js.TimelineLite=Js.TimelineMax=Fo;Br=new Fo({sortChildren:!1,defaults:rv,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ws.stringFilter=K4;var Np=[],hC={},lq=[],rN=0,cq=0,kT=function(e){return(hC[e]||lq).map(function(n){return n()})},SI=function(){var e=Date.now(),n=[];e-rN>2&&(kT("matchMediaInit"),Np.forEach(function(r){var i=r.queries,o=r.conditions,s,a,l,c;for(a in i)s=$l.matchMedia(i[a]).matches,s&&(l=1),s!==o[a]&&(o[a]=s,c=1);c&&(r.revert(),l&&n.push(r))}),kT("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),rN=e,kT("matchMedia"))},sH=function(){function t(n,r){this.selector=r&&xI(r),this.data=[],this._r=[],this.isReverted=!1,this.id=cq++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,i,o){Qr(r)&&(o=i,i=r,r=Qr);var s=this,a=function(){var c=Mr,u=s.selector,d;return c&&c!==s&&c.data.push(s),o&&(s.selector=xI(o)),Mr=s,d=i.apply(s,arguments),Qr(d)&&s._r.push(d),Mr=c,s.selector=u,s.isReverted=!1,d};return s.last=a,r===Qr?a(s,function(l){return s.add(null,l)}):r?s[r]=a:a},e.ignore=function(r){var i=Mr;Mr=null,r(this),Mr=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof t?r.push.apply(r,i.getTweens()):i instanceof xi&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var o=this;if(r?function(){for(var a=o.getTweens(),l=o.data.length,c;l--;)c=o.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,d){return d.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=o.data.length;l--;)c=o.data[l],c instanceof Fo?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof xi)&&c.revert&&c.revert(r);o._r.forEach(function(u){return u(r,o)}),o.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var s=Np.length;s--;)Np[s].id===this.id&&Np.splice(s,1)},e.revert=function(r){this.kill(r||{})},t}(),uq=function(){function t(n){this.contexts=[],this.scope=n,Mr&&Mr.data.push(this)}var e=t.prototype;return e.add=function(r,i,o){ac(r)||(r={matches:r});var s=new sH(0,o||this.scope),a=s.conditions={},l,c,u;Mr&&!s.selector&&(s.selector=Mr.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=r;for(c in r)c==="all"?u=1:(l=$l.matchMedia(r[c]),l&&(Np.indexOf(s)<0&&Np.push(s),(a[c]=l.matches)&&(u=1),l.addListener?l.addListener(SI):l.addEventListener("change",SI)));return u&&i(s,function(d){return s.add(null,d)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},t}(),fA={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r1){var i=e.map(function(u){return vs.quickSetter(u,n,r)}),o=i.length;return function(u){for(var d=o;d--;)i[d](u)}}e=e[0]||{};var s=Ls[n],a=kp(e),l=a.harness&&(a.harness.aliases||{})[n]||n,c=s?function(u){var d=new s;yg._pt=0,d.init(e,r?u+r:u,yg,0,[e]),d.render(1,d),yg._pt&&qB(1,yg)}:a.set(e,l);return s?c:function(u){return c(e,l,r?u+r:u,a,1)}},quickTo:function(e,n,r){var i,o=vs.to(e,Qp((i={},i[n]="+=0.1",i.paused=!0,i),r||{})),s=function(l,c,u){return o.resetTo(n,l,c,u)};return s.tween=o,s},isTweening:function(e){return Br.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Op(e.ease,rv.ease)),QO(rv,e||{})},config:function(e){return QO(Ws,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,i=e.plugins,o=e.defaults,s=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!Ls[a]&&!Js[a]&&Gx(n+" effect requires "+a+" plugin.")}),PT[n]=function(a,l,c){return r(Ma(a),La(l||{},o),c)},s&&(Fo.prototype[n]=function(a,l,c){return this.add(PT[n](a,ac(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,n){Ln[e]=Op(n)},parseEase:function(e,n){return arguments.length?Op(e,n):Ln},getById:function(e){return Br.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Fo(e),i,o;for(r.smoothChildTiming=ds(e.smoothChildTiming),Br.remove(r),r._dp=0,r._time=r._tTime=Br._time,i=Br._first;i;)o=i._next,(n||!(!i._dur&&i instanceof xi&&i.vars.onComplete===i._targets[0]))&&Xl(r,i,i._start-i._delay),i=o;return Xl(Br,r,0),r},context:function(e,n){return e?new sH(e,n):Mr},matchMedia:function(e){return new uq(e)},matchMediaRefresh:function(){return Np.forEach(function(e){var n=e.conditions,r,i;for(i in n)n[i]&&(n[i]=!1,r=1);r&&e.revert()})||SI()},addEventListener:function(e,n){var r=hC[e]||(hC[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=hC[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:HJ,wrapYoyo:GJ,distribute:U4,random:$4,snap:z4,normalize:$J,getUnit:Co,clamp:NJ,splitColor:j4,toArray:Ma,selector:xI,mapRange:G4,pipe:UJ,unitize:zJ,interpolate:VJ,shuffle:F4},install:M4,effects:PT,ticker:Os,updateRoot:Fo.updateRoot,plugins:Ls,globalTimeline:Br,core:{PropTween:ps,globals:E4,Tween:xi,Timeline:Fo,Animation:Xx,getCache:kp,_removeLinkedListItem:Xw,reverting:function(){return wo},context:function(e){return e&&Mr&&(Mr.data.push(e),e._ctx=Mr),Mr},suppressOverwrites:function(e){return UB=e}}};fs("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return fA[t]=xi[t]});Os.add(Fo.updateRoot);yg=fA.to({},{duration:0});var dq=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},fq=function(e,n){var r=e._targets,i,o,s;for(i in n)for(o=r.length;o--;)s=e._ptLookup[o][i],s&&(s=s.d)&&(s._pt&&(s=dq(s,i)),s&&s.modifier&&s.modifier(n[i],e,r[o],i))},DT=function(e,n){return{name:e,rawVars:1,init:function(i,o,s){s._onInit=function(a){var l,c;if(Ki(o)&&(l={},fs(o,function(u){return l[u]=1}),o=l),n){l={};for(c in o)l[c]=n(o[c]);o=l}fq(a,o)}}}},vs=fA.registerPlugin({name:"attr",init:function(e,n,r,i,o){var s,a,l;this.tween=r;for(s in n)l=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(l||0)+"",n[s],i,o,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(e,n){for(var r=n._pt;r;)wo?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},DT("roundProps",bI),DT("modifiers"),DT("snap",z4))||fA;xi.version=Fo.version=vs.version="3.12.5";w4=1;$B()&&sv();Ln.Power0;Ln.Power1;Ln.Power2;Ln.Power3;Ln.Power4;Ln.Linear;Ln.Quad;Ln.Cubic;Ln.Quart;Ln.Quint;Ln.Strong;Ln.Elastic;Ln.Back;Ln.SteppedEase;Ln.Bounce;Ln.Sine;Ln.Expo;Ln.Circ;/*! * CSSPlugin 3.12.5 * https://gsap.com * @@ -53,7 +53,7 @@ Error generating stack: `+o.message+` * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com -*/var xN,Td,zg,pL,Mp,bN,hL,Oq=function(){return typeof window<"u"},_u={},sp=180/Math.PI,$g=Math.PI/180,Pm=Math.atan2,_N=1e8,mL=/([A-Z])/g,Nq=/(left|right|width|margin|padding|x)/i,Fq=/[\s,\(]\S/,Yl={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},kI=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Uq=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},zq=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},$q=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},wH=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},MH=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},Hq=function(e,n,r){return e.style[n]=r},Gq=function(e,n,r){return e.style.setProperty(n,r)},Vq=function(e,n,r){return e._gsap[n]=r},Wq=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},jq=function(e,n,r,i,o){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(o,s)},Xq=function(e,n,r,i,o){var s=e._gsap;s[n]=r,s.renderTransform(o,s)},Nr="transform",hs=Nr+"Origin",Kq=function t(e,n){var r=this,i=this.target,o=i.style,s=i._gsap;if(e in _u&&o){if(this.tfm=this.tfm||{},e!=="transform")e=Yl[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=Jc(i,a)}):this.tfm[e]=s.x?s[e]:Jc(i,e),e===hs&&(this.tfm.zOrigin=s.zOrigin);else return Yl.transform.split(",").forEach(function(a){return t.call(r,a,n)});if(this.props.indexOf(Nr)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(hs,n,"")),e=Nr}(o||n)&&this.props.push(e,n,o[e])},EH=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Yq=function(){var e=this.props,n=this.target,r=n.style,i=n._gsap,o,s;for(o=0;o=0?SN[s]:"")+e},OI=function(){Oq()&&window.document&&(xN=window,Td=xN.document,zg=Td.documentElement,Mp=DI("div")||{style:{}},DI("div"),Nr=dv(Nr),hs=Nr+"Origin",Mp.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",RH=!!dv("perspective"),hL=vs.core.reverting,pL=1)},KT=function t(e){var n=DI("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,o=this.style.cssText,s;if(zg.appendChild(n),n.appendChild(this),this.style.display="block",e)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(i?r.insertBefore(this,i):r.appendChild(this)),zg.removeChild(n),this.style.cssText=o,s},CN=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},PH=function(e){var n;try{n=e.getBBox()}catch{n=KT.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===KT||(n=KT.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+CN(e,["x","cx","x1"])||0,y:+CN(e,["y","cy","y1"])||0,width:0,height:0}:n},IH=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&PH(e))},ih=function(e,n){if(n){var r=e.style,i;n in _u&&n!==hs&&(n=Nr),r.removeProperty?(i=n.substr(0,2),(i==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(i==="--"?n:n.replace(mL,"-$1").toLowerCase())):r.removeAttribute(n)}},Rd=function(e,n,r,i,o,s){var a=new ps(e._pt,n,r,0,1,s?MH:wH);return e._pt=a,a.b=i,a.e=o,e._props.push(r),a},AN={deg:1,rad:1,turn:1},Jq={grid:1,flex:1},Yd=function t(e,n,r,i){var o=parseFloat(r)||0,s=(r+"").trim().substr((o+"").length)||"px",a=Mp.style,l=Nq.test(n),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),d=100,f=i==="px",p=i==="%",v,y,x,g;if(i===s||!o||AN[i]||AN[s])return o;if(s!=="px"&&!f&&(o=t(e,n,r,"px")),g=e.getCTM&&IH(e),(p||s==="%")&&(_u[n]||~n.indexOf("adius")))return v=g?e.getBBox()[l?"width":"height"]:e[u],ci(p?o/v*d:o/100*v);if(a[l?"width":"height"]=d+(f?s:i),y=~n.indexOf("adius")||i==="em"&&e.appendChild&&!c?e:e.parentNode,g&&(y=(e.ownerSVGElement||{}).parentNode),(!y||y===Td||!y.appendChild)&&(y=Td.body),x=y._gsap,x&&p&&x.width&&l&&x.time===Os.time&&!x.uncache)return ci(o/x.width*d);if(p&&(n==="height"||n==="width")){var b=e.style[n];e.style[n]=d+i,v=e[u],b?e.style[n]=b:ih(e,n)}else(p||s==="%")&&!Jq[ec(y,"display")]&&(a.position=ec(e,"position")),y===e&&(a.position="static"),y.appendChild(Mp),v=Mp[u],y.removeChild(Mp),a.position="absolute";return l&&p&&(x=Up(y),x.time=Os.time,x.width=y[u]),ci(f?v*o/d:v&&o?d/v*o:0)},Jc=function(e,n,r,i){var o;return pL||OI(),n in Yl&&n!=="transform"&&(n=Yl[n],~n.indexOf(",")&&(n=n.split(",")[0])),_u[n]&&n!=="transform"?(o=ib(e,i),o=n!=="transformOrigin"?o[n]:o.svg?o.origin:AA(ec(e,hs))+" "+o.zOrigin+"px"):(o=e.style[n],(!o||o==="auto"||i||~(o+"").indexOf("calc("))&&(o=CA[n]&&CA[n](e,n,r)||ec(e,n)||X4(e,n)||(n==="opacity"?1:0))),r&&!~(o+"").trim().indexOf(" ")?Yd(e,n,o,r)+r:o},qq=function(e,n,r,i){if(!r||r==="none"){var o=dv(n,e,1),s=o&&ec(e,o,1);s&&s!==r?(n=o,r=s):n==="borderColor"&&(r=ec(e,"borderTopColor"))}var a=new ps(this._pt,e.style,n,0,1,SH),l=0,c=0,u,d,f,p,v,y,x,g,b,_,C,P;if(a.b=r,a.e=i,r+="",i+="",i==="auto"&&(y=e.style[n],e.style[n]=i,i=ec(e,n)||i,y?e.style[n]=y:ih(e,n)),u=[r,i],fH(u),r=u[0],i=u[1],f=r.match(Sg)||[],P=i.match(Sg)||[],P.length){for(;d=Sg.exec(i);)x=d[0],b=i.substring(l,d.index),v?v=(v+1)%5:(b.substr(-5)==="rgba("||b.substr(-5)==="hsla(")&&(v=1),x!==(y=f[c++]||"")&&(p=parseFloat(y)||0,C=y.substr((p+"").length),x.charAt(1)==="="&&(x=Ug(p,x)+C),g=parseFloat(x),_=x.substr((g+"").length),l=Sg.lastIndex-_.length,_||(_=_||Ws.units[n]||C,l===i.length&&(i+=_,a.e+=_)),C!==_&&(p=Yd(e,n,y,_)||0),a._pt={_next:a._pt,p:b||c===1?b:",",s:p,c:g-p,m:v&&v<4||n==="zIndex"?Math.round:0});a.c=l-1;)a=o[c],_u[a]&&(l=1,a=a==="transformOrigin"?hs:Nr),ih(r,a);l&&(ih(r,Nr),s&&(s.svg&&r.removeAttribute("transform"),ib(r,1),s.uncache=1,EH(i)))}},CA={clearProps:function(e,n,r,i,o){if(o.data!=="isFromStart"){var s=e._pt=new ps(e._pt,n,r,0,0,Zq);return s.u=i,s.pr=-10,s.tween=o,e._props.push(r),1}}},rb=[1,0,0,1,0,0],BH={},LH=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},MN=function(e){var n=ec(e,Nr);return LH(n)?rb:n.substr(7).match(z4).map(ci)},gL=function(e,n){var r=e._gsap||Up(e),i=e.style,o=MN(e),s,a,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,o=[l.a,l.b,l.c,l.d,l.e,l.f],o.join(",")==="1,0,0,1,0,0"?rb:o):(o===rb&&!e.offsetParent&&e!==zg&&!r.svg&&(l=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent)&&(c=1,a=e.nextElementSibling,zg.appendChild(e)),o=MN(e),l?i.display=l:ih(e,"display"),c&&(a?s.insertBefore(e,a):s?s.appendChild(e):zg.removeChild(e))),n&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},NI=function(e,n,r,i,o,s){var a=e._gsap,l=o||gL(e,!0),c=a.xOrigin||0,u=a.yOrigin||0,d=a.xOffset||0,f=a.yOffset||0,p=l[0],v=l[1],y=l[2],x=l[3],g=l[4],b=l[5],_=n.split(" "),C=parseFloat(_[0])||0,P=parseFloat(_[1])||0,A,R,k,F;r?l!==rb&&(R=p*x-v*y)&&(k=C*(x/R)+P*(-y/R)+(y*b-x*g)/R,F=C*(-v/R)+P*(p/R)-(p*b-v*g)/R,C=k,P=F):(A=PH(e),C=A.x+(~_[0].indexOf("%")?C/100*A.width:C),P=A.y+(~(_[1]||_[0]).indexOf("%")?P/100*A.height:P)),i||i!==!1&&a.smooth?(g=C-c,b=P-u,a.xOffset=d+(g*p+b*y)-g,a.yOffset=f+(g*v+b*x)-b):a.xOffset=a.yOffset=0,a.xOrigin=C,a.yOrigin=P,a.smooth=!!i,a.origin=n,a.originIsAbsolute=!!r,e.style[hs]="0px 0px",s&&(Rd(s,a,"xOrigin",c,C),Rd(s,a,"yOrigin",u,P),Rd(s,a,"xOffset",d,a.xOffset),Rd(s,a,"yOffset",f,a.yOffset)),e.setAttribute("data-svg-origin",C+" "+P)},ib=function(e,n){var r=e._gsap||new gH(e);if("x"in r&&!n&&!r.uncache)return r;var i=e.style,o=r.scaleX<0,s="px",a="deg",l=getComputedStyle(e),c=ec(e,hs)||"0",u,d,f,p,v,y,x,g,b,_,C,P,A,R,k,F,w,L,z,G,W,Y,X,ee,$,Q,ie,fe,Ie,Re,re,me;return u=d=f=y=x=g=b=_=C=0,p=v=1,r.svg=!!(e.getCTM&&IH(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[Nr]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[Nr]!=="none"?l[Nr]:"")),i.scale=i.rotate=i.translate="none"),R=gL(e,r.svg),r.svg&&(r.uncache?($=e.getBBox(),c=r.xOrigin-$.x+"px "+(r.yOrigin-$.y)+"px",ee=""):ee=!n&&e.getAttribute("data-svg-origin"),NI(e,ee||c,!!ee||r.originIsAbsolute,r.smooth!==!1,R)),P=r.xOrigin||0,A=r.yOrigin||0,R!==rb&&(L=R[0],z=R[1],G=R[2],W=R[3],u=Y=R[4],d=X=R[5],R.length===6?(p=Math.sqrt(L*L+z*z),v=Math.sqrt(W*W+G*G),y=L||z?Pm(z,L)*sp:0,b=G||W?Pm(G,W)*sp+y:0,b&&(v*=Math.abs(Math.cos(b*$g))),r.svg&&(u-=P-(P*L+A*G),d-=A-(P*z+A*W))):(me=R[6],Re=R[7],ie=R[8],fe=R[9],Ie=R[10],re=R[11],u=R[12],d=R[13],f=R[14],k=Pm(me,Ie),x=k*sp,k&&(F=Math.cos(-k),w=Math.sin(-k),ee=Y*F+ie*w,$=X*F+fe*w,Q=me*F+Ie*w,ie=Y*-w+ie*F,fe=X*-w+fe*F,Ie=me*-w+Ie*F,re=Re*-w+re*F,Y=ee,X=$,me=Q),k=Pm(-G,Ie),g=k*sp,k&&(F=Math.cos(-k),w=Math.sin(-k),ee=L*F-ie*w,$=z*F-fe*w,Q=G*F-Ie*w,re=W*w+re*F,L=ee,z=$,G=Q),k=Pm(z,L),y=k*sp,k&&(F=Math.cos(k),w=Math.sin(k),ee=L*F+z*w,$=Y*F+X*w,z=z*F-L*w,X=X*F-Y*w,L=ee,Y=$),x&&Math.abs(x)+Math.abs(y)>359.9&&(x=y=0,g=180-g),p=ci(Math.sqrt(L*L+z*z+G*G)),v=ci(Math.sqrt(X*X+me*me)),k=Pm(Y,X),b=Math.abs(k)>2e-4?k*sp:0,C=re?1/(re<0?-re:re):0),r.svg&&(ee=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!LH(ec(e,Nr)),ee&&e.setAttribute("transform",ee))),Math.abs(b)>90&&Math.abs(b)<270&&(o?(p*=-1,b+=y<=0?180:-180,y+=y<=0?180:-180):(v*=-1,b+=b<=0?180:-180)),n=n||r.uncache,r.x=u-((r.xPercent=u&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=d-((r.yPercent=d&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=f+s,r.scaleX=ci(p),r.scaleY=ci(v),r.rotation=ci(y)+a,r.rotationX=ci(x)+a,r.rotationY=ci(g)+a,r.skewX=b+a,r.skewY=_+a,r.transformPerspective=C+s,(r.zOrigin=parseFloat(c.split(" ")[2])||!n&&r.zOrigin||0)&&(i[hs]=AA(c)),r.xOffset=r.yOffset=0,r.force3D=Ws.force3D,r.renderTransform=r.svg?tQ:RH?kH:eQ,r.uncache=0,r},AA=function(e){return(e=e.split(" "))[0]+" "+e[1]},YT=function(e,n,r){var i=Ao(n);return ci(parseFloat(n)+parseFloat(Yd(e,"x",r+"px",i)))+i},eQ=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,kH(e,n)},Hf="0deg",ay="0px",Gf=") ",kH=function(e,n){var r=n||this,i=r.xPercent,o=r.yPercent,s=r.x,a=r.y,l=r.z,c=r.rotation,u=r.rotationY,d=r.rotationX,f=r.skewX,p=r.skewY,v=r.scaleX,y=r.scaleY,x=r.transformPerspective,g=r.force3D,b=r.target,_=r.zOrigin,C="",P=g==="auto"&&e&&e!==1||g===!0;if(_&&(d!==Hf||u!==Hf)){var A=parseFloat(u)*$g,R=Math.sin(A),k=Math.cos(A),F;A=parseFloat(d)*$g,F=Math.cos(A),s=YT(b,s,R*F*-_),a=YT(b,a,-Math.sin(A)*-_),l=YT(b,l,k*F*-_+_)}x!==ay&&(C+="perspective("+x+Gf),(i||o)&&(C+="translate("+i+"%, "+o+"%) "),(P||s!==ay||a!==ay||l!==ay)&&(C+=l!==ay||P?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+Gf),c!==Hf&&(C+="rotate("+c+Gf),u!==Hf&&(C+="rotateY("+u+Gf),d!==Hf&&(C+="rotateX("+d+Gf),(f!==Hf||p!==Hf)&&(C+="skew("+f+", "+p+Gf),(v!==1||y!==1)&&(C+="scale("+v+", "+y+Gf),b.style[Nr]=C||"translate(0, 0)"},tQ=function(e,n){var r=n||this,i=r.xPercent,o=r.yPercent,s=r.x,a=r.y,l=r.rotation,c=r.skewX,u=r.skewY,d=r.scaleX,f=r.scaleY,p=r.target,v=r.xOrigin,y=r.yOrigin,x=r.xOffset,g=r.yOffset,b=r.forceCSS,_=parseFloat(s),C=parseFloat(a),P,A,R,k,F;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=$g,c*=$g,P=Math.cos(l)*d,A=Math.sin(l)*d,R=Math.sin(l-c)*-f,k=Math.cos(l-c)*f,c&&(u*=$g,F=Math.tan(c-u),F=Math.sqrt(1+F*F),R*=F,k*=F,u&&(F=Math.tan(u),F=Math.sqrt(1+F*F),P*=F,A*=F)),P=ci(P),A=ci(A),R=ci(R),k=ci(k)):(P=d,k=f,A=R=0),(_&&!~(s+"").indexOf("px")||C&&!~(a+"").indexOf("px"))&&(_=Yd(p,"x",s,"px"),C=Yd(p,"y",a,"px")),(v||y||x||g)&&(_=ci(_+v-(v*P+y*R)+x),C=ci(C+y-(v*A+y*k)+g)),(i||o)&&(F=p.getBBox(),_=ci(_+i/100*F.width),C=ci(C+o/100*F.height)),F="matrix("+P+","+A+","+R+","+k+","+_+","+C+")",p.setAttribute("transform",F),b&&(p.style[Nr]=F)},nQ=function(e,n,r,i,o){var s=360,a=Ki(o),l=parseFloat(o)*(a&&~o.indexOf("rad")?sp:1),c=l-i,u=i+c+"deg",d,f;return a&&(d=o.split("_")[1],d==="short"&&(c%=s,c!==c%(s/2)&&(c+=c<0?s:-s)),d==="cw"&&c<0?c=(c+s*_N)%s-~~(c/s)*s:d==="ccw"&&c>0&&(c=(c-s*_N)%s-~~(c/s)*s)),e._pt=f=new ps(e._pt,n,r,i,c,Uq),f.e=u,f.u="deg",e._props.push(r),f},EN=function(e,n){for(var r in n)e[r]=n[r];return e},rQ=function(e,n,r){var i=EN({},r._gsap),o="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,l,c,u,d,f,p,v;i.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),s[Nr]=n,a=ib(r,1),ih(r,Nr),r.setAttribute("transform",c)):(c=getComputedStyle(r)[Nr],s[Nr]=n,a=ib(r,1),s[Nr]=c);for(l in _u)c=i[l],u=a[l],c!==u&&o.indexOf(l)<0&&(p=Ao(c),v=Ao(u),d=p!==v?Yd(r,l,c,v):parseFloat(c),f=parseFloat(u),e._pt=new ps(e._pt,a,l,d,f-d,kI),e._pt.u=v||0,e._props.push(l));EN(a,i)};fs("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",o="Left",s=(e<3?[n,r,i,o]:[n+o,n+r,i+r,i+o]).map(function(a){return e<2?t+a:"border"+a+t});CA[e>1?"border"+t:t]=function(a,l,c,u,d){var f,p;if(arguments.length<4)return f=s.map(function(v){return Jc(a,v,c)}),p=f.join(" "),p.split(f[0]).length===5?f[0]:p;f=(u+"").split(" "),p={},s.forEach(function(v,y){return p[v]=f[y]=f[y]||f[(y-1)/2|0]}),a.init(l,p,d)}});var DH={name:"css",register:OI,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,i,o){var s=this._props,a=e.style,l=r.vars.startAt,c,u,d,f,p,v,y,x,g,b,_,C,P,A,R,k;pL||OI(),this.styles=this.styles||TH(e),k=this.styles.props,this.tween=r;for(y in n)if(y!=="autoRound"&&(u=n[y],!(Ls[y]&&vH(y,n,r,i,e,o)))){if(p=typeof u,v=CA[y],p==="function"&&(u=u.call(r,i,e,o),p=typeof u),p==="string"&&~u.indexOf("random(")&&(u=eb(u)),v)v(this,e,y,u,r)&&(R=1);else if(y.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(y)+"").trim(),u+="",Hd.lastIndex=0,Hd.test(c)||(x=Ao(c),g=Ao(u)),g?x!==g&&(c=Yd(e,y,c,g)+g):x&&(u+=x),this.add(a,"setProperty",c,u,i,o,0,0,y),s.push(y),k.push(y,0,a[y]);else if(p!=="undefined"){if(l&&y in l?(c=typeof l[y]=="function"?l[y].call(r,i,e,o):l[y],Ki(c)&&~c.indexOf("random(")&&(c=eb(c)),Ao(c+"")||c==="auto"||(c+=Ws.units[y]||Ao(Jc(e,y))||""),(c+"").charAt(1)==="="&&(c=Jc(e,y))):c=Jc(e,y),f=parseFloat(c),b=p==="string"&&u.charAt(1)==="="&&u.substr(0,2),b&&(u=u.substr(2)),d=parseFloat(u),y in Yl&&(y==="autoAlpha"&&(f===1&&Jc(e,"visibility")==="hidden"&&d&&(f=0),k.push("visibility",0,a.visibility),Rd(this,a,"visibility",f?"inherit":"hidden",d?"inherit":"hidden",!d)),y!=="scale"&&y!=="transform"&&(y=Yl[y],~y.indexOf(",")&&(y=y.split(",")[0]))),_=y in _u,_){if(this.styles.save(y),C||(P=e._gsap,P.renderTransform&&!n.parseTransform||ib(e,n.parseTransform),A=n.smoothOrigin!==!1&&P.smooth,C=this._pt=new ps(this._pt,a,Nr,0,1,P.renderTransform,P,0,-1),C.dep=1),y==="scale")this._pt=new ps(this._pt,P,"scaleY",P.scaleY,(b?Ug(P.scaleY,b+d):d)-P.scaleY||0,kI),this._pt.u=0,s.push("scaleY",y),y+="X";else if(y==="transformOrigin"){k.push(hs,0,a[hs]),u=Qq(u),P.svg?NI(e,u,0,A,0,this):(g=parseFloat(u.split(" ")[2])||0,g!==P.zOrigin&&Rd(this,P,"zOrigin",P.zOrigin,g),Rd(this,a,y,AA(c),AA(u)));continue}else if(y==="svgOrigin"){NI(e,u,1,A,0,this);continue}else if(y in BH){nQ(this,P,y,f,b?Ug(f,b+u):u);continue}else if(y==="smoothOrigin"){Rd(this,P,"smooth",P.smooth,u);continue}else if(y==="force3D"){P[y]=u;continue}else if(y==="transform"){rQ(this,u,e);continue}}else y in a||(y=dv(y)||y);if(_||(d||d===0)&&(f||f===0)&&!Fq.test(u)&&y in a)x=(c+"").substr((f+"").length),d||(d=0),g=Ao(u)||(y in Ws.units?Ws.units[y]:x),x!==g&&(f=Yd(e,y,c,g)),this._pt=new ps(this._pt,_?P:a,y,f,(b?Ug(f,b+d):d)-f,!_&&(g==="px"||y==="zIndex")&&n.autoRound!==!1?$q:kI),this._pt.u=g||0,x!==g&&g!=="%"&&(this._pt.b=c,this._pt.r=zq);else if(y in a)qq.call(this,e,y,c,b?b+u:u);else if(y in e)this.add(e,y,c||e[y],b?b+u:u,i,o);else if(y!=="parseTransform"){iL(y,u);continue}_||(y in a?k.push(y,0,a[y]):k.push(y,1,c||e[y])),s.push(y)}}R&&CH(this)},render:function(e,n){if(n.tween._time||!hL())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:Jc,aliases:Yl,getSetter:function(e,n,r){var i=Yl[n];return i&&i.indexOf(",")<0&&(n=i),n in _u&&n!==hs&&(e._gsap.x||Jc(e,"x"))?r&&bN===r?n==="scale"?Wq:Vq:(bN=r||{})&&(n==="scale"?jq:Xq):e.style&&!tL(e.style[n])?Hq:~n.indexOf("-")?Gq:dL(e,n)},core:{_removeProperty:ih,_getMatrix:gL}};vs.utils.checkPrefix=dv;vs.core.getStyleSaver=TH;(function(t,e,n,r){var i=fs(t+","+e+","+n,function(o){_u[o]=1});fs(e,function(o){Ws.units[o]="deg",BH[o]=1}),Yl[i[13]]=t+","+e,fs(r,function(o){var s=o.split(":");Yl[s[1]]=i[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");fs("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Ws.units[t]="px"});vs.registerPlugin(DH);var vL=vs.registerPlugin(DH)||vs;vL.core.Tween;/*! +*/var iN,Md,Dg,QB,_p,oN,ZB,pq=function(){return typeof window<"u"},bu={},np=180/Math.PI,Og=Math.PI/180,Am=Math.atan2,sN=1e8,eL=/([A-Z])/g,hq=/(left|right|width|margin|padding|x)/i,mq=/[\s,\(]\S/,Yl={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},CI=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},gq=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},vq=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},yq=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},aH=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},lH=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},xq=function(e,n,r){return e.style[n]=r},bq=function(e,n,r){return e.style.setProperty(n,r)},_q=function(e,n,r){return e._gsap[n]=r},Sq=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},Cq=function(e,n,r,i,o){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(o,s)},Aq=function(e,n,r,i,o){var s=e._gsap;s[n]=r,s.renderTransform(o,s)},Dr="transform",hs=Dr+"Origin",wq=function t(e,n){var r=this,i=this.target,o=i.style,s=i._gsap;if(e in bu&&o){if(this.tfm=this.tfm||{},e!=="transform")e=Yl[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=Jc(i,a)}):this.tfm[e]=s.x?s[e]:Jc(i,e),e===hs&&(this.tfm.zOrigin=s.zOrigin);else return Yl.transform.split(",").forEach(function(a){return t.call(r,a,n)});if(this.props.indexOf(Dr)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(hs,n,"")),e=Dr}(o||n)&&this.props.push(e,n,o[e])},cH=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Mq=function(){var e=this.props,n=this.target,r=n.style,i=n._gsap,o,s;for(o=0;o=0?aN[s]:"")+e},wI=function(){pq()&&window.document&&(iN=window,Md=iN.document,Dg=Md.documentElement,_p=AI("div")||{style:{}},AI("div"),Dr=av(Dr),hs=Dr+"Origin",_p.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",dH=!!av("perspective"),ZB=vs.core.reverting,QB=1)},OT=function t(e){var n=AI("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,o=this.style.cssText,s;if(Dg.appendChild(n),n.appendChild(this),this.style.display="block",e)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(i?r.insertBefore(this,i):r.appendChild(this)),Dg.removeChild(n),this.style.cssText=o,s},lN=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},fH=function(e){var n;try{n=e.getBBox()}catch{n=OT.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===OT||(n=OT.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+lN(e,["x","cx","x1"])||0,y:+lN(e,["y","cy","y1"])||0,width:0,height:0}:n},pH=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&fH(e))},Zp=function(e,n){if(n){var r=e.style,i;n in bu&&n!==hs&&(n=Dr),r.removeProperty?(i=n.substr(0,2),(i==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(i==="--"?n:n.replace(eL,"-$1").toLowerCase())):r.removeAttribute(n)}},Ed=function(e,n,r,i,o,s){var a=new ps(e._pt,n,r,0,1,s?lH:aH);return e._pt=a,a.b=i,a.e=o,e._props.push(r),a},cN={deg:1,rad:1,turn:1},Eq={grid:1,flex:1},Wd=function t(e,n,r,i){var o=parseFloat(r)||0,s=(r+"").trim().substr((o+"").length)||"px",a=_p.style,l=hq.test(n),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),d=100,f=i==="px",p=i==="%",v,y,x,g;if(i===s||!o||cN[i]||cN[s])return o;if(s!=="px"&&!f&&(o=t(e,n,r,"px")),g=e.getCTM&&pH(e),(p||s==="%")&&(bu[n]||~n.indexOf("adius")))return v=g?e.getBBox()[l?"width":"height"]:e[u],si(p?o/v*d:o/100*v);if(a[l?"width":"height"]=d+(f?s:i),y=~n.indexOf("adius")||i==="em"&&e.appendChild&&!c?e:e.parentNode,g&&(y=(e.ownerSVGElement||{}).parentNode),(!y||y===Md||!y.appendChild)&&(y=Md.body),x=y._gsap,x&&p&&x.width&&l&&x.time===Os.time&&!x.uncache)return si(o/x.width*d);if(p&&(n==="height"||n==="width")){var b=e.style[n];e.style[n]=d+i,v=e[u],b?e.style[n]=b:Zp(e,n)}else(p||s==="%")&&!Eq[ec(y,"display")]&&(a.position=ec(e,"position")),y===e&&(a.position="static"),y.appendChild(_p),v=_p[u],y.removeChild(_p),a.position="absolute";return l&&p&&(x=kp(y),x.time=Os.time,x.width=y[u]),si(f?v*o/d:v&&o?d/v*o:0)},Jc=function(e,n,r,i){var o;return QB||wI(),n in Yl&&n!=="transform"&&(n=Yl[n],~n.indexOf(",")&&(n=n.split(",")[0])),bu[n]&&n!=="transform"?(o=Yx(e,i),o=n!=="transformOrigin"?o[n]:o.svg?o.origin:hA(ec(e,hs))+" "+o.zOrigin+"px"):(o=e.style[n],(!o||o==="auto"||i||~(o+"").indexOf("calc("))&&(o=pA[n]&&pA[n](e,n,r)||ec(e,n)||R4(e,n)||(n==="opacity"?1:0))),r&&!~(o+"").trim().indexOf(" ")?Wd(e,n,o,r)+r:o},Tq=function(e,n,r,i){if(!r||r==="none"){var o=av(n,e,1),s=o&&ec(e,o,1);s&&s!==r?(n=o,r=s):n==="borderColor"&&(r=ec(e,"borderTopColor"))}var a=new ps(this._pt,e.style,n,0,1,iH),l=0,c=0,u,d,f,p,v,y,x,g,b,_,C,T;if(a.b=r,a.e=i,r+="",i+="",i==="auto"&&(y=e.style[n],e.style[n]=i,i=ec(e,n)||i,y?e.style[n]=y:Zp(e,n)),u=[r,i],K4(u),r=u[0],i=u[1],f=r.match(vg)||[],T=i.match(vg)||[],T.length){for(;d=vg.exec(i);)x=d[0],b=i.substring(l,d.index),v?v=(v+1)%5:(b.substr(-5)==="rgba("||b.substr(-5)==="hsla(")&&(v=1),x!==(y=f[c++]||"")&&(p=parseFloat(y)||0,C=y.substr((p+"").length),x.charAt(1)==="="&&(x=kg(p,x)+C),g=parseFloat(x),_=x.substr((g+"").length),l=vg.lastIndex-_.length,_||(_=_||Ws.units[n]||C,l===i.length&&(i+=_,a.e+=_)),C!==_&&(p=Wd(e,n,y,_)||0),a._pt={_next:a._pt,p:b||c===1?b:",",s:p,c:g-p,m:v&&v<4||n==="zIndex"?Math.round:0});a.c=l-1;)a=o[c],bu[a]&&(l=1,a=a==="transformOrigin"?hs:Dr),Zp(r,a);l&&(Zp(r,Dr),s&&(s.svg&&r.removeAttribute("transform"),Yx(r,1),s.uncache=1,cH(i)))}},pA={clearProps:function(e,n,r,i,o){if(o.data!=="isFromStart"){var s=e._pt=new ps(e._pt,n,r,0,0,Pq);return s.u=i,s.pr=-10,s.tween=o,e._props.push(r),1}}},Kx=[1,0,0,1,0,0],hH={},mH=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},dN=function(e){var n=ec(e,Dr);return mH(n)?Kx:n.substr(7).match(S4).map(si)},tL=function(e,n){var r=e._gsap||kp(e),i=e.style,o=dN(e),s,a,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,o=[l.a,l.b,l.c,l.d,l.e,l.f],o.join(",")==="1,0,0,1,0,0"?Kx:o):(o===Kx&&!e.offsetParent&&e!==Dg&&!r.svg&&(l=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent)&&(c=1,a=e.nextElementSibling,Dg.appendChild(e)),o=dN(e),l?i.display=l:Zp(e,"display"),c&&(a?s.insertBefore(e,a):s?s.appendChild(e):Dg.removeChild(e))),n&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},MI=function(e,n,r,i,o,s){var a=e._gsap,l=o||tL(e,!0),c=a.xOrigin||0,u=a.yOrigin||0,d=a.xOffset||0,f=a.yOffset||0,p=l[0],v=l[1],y=l[2],x=l[3],g=l[4],b=l[5],_=n.split(" "),C=parseFloat(_[0])||0,T=parseFloat(_[1])||0,A,R,D,U;r?l!==Kx&&(R=p*x-v*y)&&(D=C*(x/R)+T*(-y/R)+(y*b-x*g)/R,U=C*(-v/R)+T*(p/R)-(p*b-v*g)/R,C=D,T=U):(A=fH(e),C=A.x+(~_[0].indexOf("%")?C/100*A.width:C),T=A.y+(~(_[1]||_[0]).indexOf("%")?T/100*A.height:T)),i||i!==!1&&a.smooth?(g=C-c,b=T-u,a.xOffset=d+(g*p+b*y)-g,a.yOffset=f+(g*v+b*x)-b):a.xOffset=a.yOffset=0,a.xOrigin=C,a.yOrigin=T,a.smooth=!!i,a.origin=n,a.originIsAbsolute=!!r,e.style[hs]="0px 0px",s&&(Ed(s,a,"xOrigin",c,C),Ed(s,a,"yOrigin",u,T),Ed(s,a,"xOffset",d,a.xOffset),Ed(s,a,"yOffset",f,a.yOffset)),e.setAttribute("data-svg-origin",C+" "+T)},Yx=function(e,n){var r=e._gsap||new Q4(e);if("x"in r&&!n&&!r.uncache)return r;var i=e.style,o=r.scaleX<0,s="px",a="deg",l=getComputedStyle(e),c=ec(e,hs)||"0",u,d,f,p,v,y,x,g,b,_,C,T,A,R,D,U,w,L,H,V,j,J,X,ee,$,Z,ie,fe,Pe,Me,oe,ge;return u=d=f=y=x=g=b=_=C=0,p=v=1,r.svg=!!(e.getCTM&&pH(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[Dr]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[Dr]!=="none"?l[Dr]:"")),i.scale=i.rotate=i.translate="none"),R=tL(e,r.svg),r.svg&&(r.uncache?($=e.getBBox(),c=r.xOrigin-$.x+"px "+(r.yOrigin-$.y)+"px",ee=""):ee=!n&&e.getAttribute("data-svg-origin"),MI(e,ee||c,!!ee||r.originIsAbsolute,r.smooth!==!1,R)),T=r.xOrigin||0,A=r.yOrigin||0,R!==Kx&&(L=R[0],H=R[1],V=R[2],j=R[3],u=J=R[4],d=X=R[5],R.length===6?(p=Math.sqrt(L*L+H*H),v=Math.sqrt(j*j+V*V),y=L||H?Am(H,L)*np:0,b=V||j?Am(V,j)*np+y:0,b&&(v*=Math.abs(Math.cos(b*Og))),r.svg&&(u-=T-(T*L+A*V),d-=A-(T*H+A*j))):(ge=R[6],Me=R[7],ie=R[8],fe=R[9],Pe=R[10],oe=R[11],u=R[12],d=R[13],f=R[14],D=Am(ge,Pe),x=D*np,D&&(U=Math.cos(-D),w=Math.sin(-D),ee=J*U+ie*w,$=X*U+fe*w,Z=ge*U+Pe*w,ie=J*-w+ie*U,fe=X*-w+fe*U,Pe=ge*-w+Pe*U,oe=Me*-w+oe*U,J=ee,X=$,ge=Z),D=Am(-V,Pe),g=D*np,D&&(U=Math.cos(-D),w=Math.sin(-D),ee=L*U-ie*w,$=H*U-fe*w,Z=V*U-Pe*w,oe=j*w+oe*U,L=ee,H=$,V=Z),D=Am(H,L),y=D*np,D&&(U=Math.cos(D),w=Math.sin(D),ee=L*U+H*w,$=J*U+X*w,H=H*U-L*w,X=X*U-J*w,L=ee,J=$),x&&Math.abs(x)+Math.abs(y)>359.9&&(x=y=0,g=180-g),p=si(Math.sqrt(L*L+H*H+V*V)),v=si(Math.sqrt(X*X+ge*ge)),D=Am(J,X),b=Math.abs(D)>2e-4?D*np:0,C=oe?1/(oe<0?-oe:oe):0),r.svg&&(ee=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!mH(ec(e,Dr)),ee&&e.setAttribute("transform",ee))),Math.abs(b)>90&&Math.abs(b)<270&&(o?(p*=-1,b+=y<=0?180:-180,y+=y<=0?180:-180):(v*=-1,b+=b<=0?180:-180)),n=n||r.uncache,r.x=u-((r.xPercent=u&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=d-((r.yPercent=d&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=f+s,r.scaleX=si(p),r.scaleY=si(v),r.rotation=si(y)+a,r.rotationX=si(x)+a,r.rotationY=si(g)+a,r.skewX=b+a,r.skewY=_+a,r.transformPerspective=C+s,(r.zOrigin=parseFloat(c.split(" ")[2])||!n&&r.zOrigin||0)&&(i[hs]=hA(c)),r.xOffset=r.yOffset=0,r.force3D=Ws.force3D,r.renderTransform=r.svg?Bq:dH?gH:Iq,r.uncache=0,r},hA=function(e){return(e=e.split(" "))[0]+" "+e[1]},NT=function(e,n,r){var i=Co(n);return si(parseFloat(n)+parseFloat(Wd(e,"x",r+"px",i)))+i},Iq=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,gH(e,n)},Ff="0deg",ny="0px",Uf=") ",gH=function(e,n){var r=n||this,i=r.xPercent,o=r.yPercent,s=r.x,a=r.y,l=r.z,c=r.rotation,u=r.rotationY,d=r.rotationX,f=r.skewX,p=r.skewY,v=r.scaleX,y=r.scaleY,x=r.transformPerspective,g=r.force3D,b=r.target,_=r.zOrigin,C="",T=g==="auto"&&e&&e!==1||g===!0;if(_&&(d!==Ff||u!==Ff)){var A=parseFloat(u)*Og,R=Math.sin(A),D=Math.cos(A),U;A=parseFloat(d)*Og,U=Math.cos(A),s=NT(b,s,R*U*-_),a=NT(b,a,-Math.sin(A)*-_),l=NT(b,l,D*U*-_+_)}x!==ny&&(C+="perspective("+x+Uf),(i||o)&&(C+="translate("+i+"%, "+o+"%) "),(T||s!==ny||a!==ny||l!==ny)&&(C+=l!==ny||T?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+Uf),c!==Ff&&(C+="rotate("+c+Uf),u!==Ff&&(C+="rotateY("+u+Uf),d!==Ff&&(C+="rotateX("+d+Uf),(f!==Ff||p!==Ff)&&(C+="skew("+f+", "+p+Uf),(v!==1||y!==1)&&(C+="scale("+v+", "+y+Uf),b.style[Dr]=C||"translate(0, 0)"},Bq=function(e,n){var r=n||this,i=r.xPercent,o=r.yPercent,s=r.x,a=r.y,l=r.rotation,c=r.skewX,u=r.skewY,d=r.scaleX,f=r.scaleY,p=r.target,v=r.xOrigin,y=r.yOrigin,x=r.xOffset,g=r.yOffset,b=r.forceCSS,_=parseFloat(s),C=parseFloat(a),T,A,R,D,U;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=Og,c*=Og,T=Math.cos(l)*d,A=Math.sin(l)*d,R=Math.sin(l-c)*-f,D=Math.cos(l-c)*f,c&&(u*=Og,U=Math.tan(c-u),U=Math.sqrt(1+U*U),R*=U,D*=U,u&&(U=Math.tan(u),U=Math.sqrt(1+U*U),T*=U,A*=U)),T=si(T),A=si(A),R=si(R),D=si(D)):(T=d,D=f,A=R=0),(_&&!~(s+"").indexOf("px")||C&&!~(a+"").indexOf("px"))&&(_=Wd(p,"x",s,"px"),C=Wd(p,"y",a,"px")),(v||y||x||g)&&(_=si(_+v-(v*T+y*R)+x),C=si(C+y-(v*A+y*D)+g)),(i||o)&&(U=p.getBBox(),_=si(_+i/100*U.width),C=si(C+o/100*U.height)),U="matrix("+T+","+A+","+R+","+D+","+_+","+C+")",p.setAttribute("transform",U),b&&(p.style[Dr]=U)},Lq=function(e,n,r,i,o){var s=360,a=Ki(o),l=parseFloat(o)*(a&&~o.indexOf("rad")?np:1),c=l-i,u=i+c+"deg",d,f;return a&&(d=o.split("_")[1],d==="short"&&(c%=s,c!==c%(s/2)&&(c+=c<0?s:-s)),d==="cw"&&c<0?c=(c+s*sN)%s-~~(c/s)*s:d==="ccw"&&c>0&&(c=(c-s*sN)%s-~~(c/s)*s)),e._pt=f=new ps(e._pt,n,r,i,c,gq),f.e=u,f.u="deg",e._props.push(r),f},fN=function(e,n){for(var r in n)e[r]=n[r];return e},kq=function(e,n,r){var i=fN({},r._gsap),o="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,l,c,u,d,f,p,v;i.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),s[Dr]=n,a=Yx(r,1),Zp(r,Dr),r.setAttribute("transform",c)):(c=getComputedStyle(r)[Dr],s[Dr]=n,a=Yx(r,1),s[Dr]=c);for(l in bu)c=i[l],u=a[l],c!==u&&o.indexOf(l)<0&&(p=Co(c),v=Co(u),d=p!==v?Wd(r,l,c,v):parseFloat(c),f=parseFloat(u),e._pt=new ps(e._pt,a,l,d,f-d,CI),e._pt.u=v||0,e._props.push(l));fN(a,i)};fs("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",o="Left",s=(e<3?[n,r,i,o]:[n+o,n+r,i+r,i+o]).map(function(a){return e<2?t+a:"border"+a+t});pA[e>1?"border"+t:t]=function(a,l,c,u,d){var f,p;if(arguments.length<4)return f=s.map(function(v){return Jc(a,v,c)}),p=f.join(" "),p.split(f[0]).length===5?f[0]:p;f=(u+"").split(" "),p={},s.forEach(function(v,y){return p[v]=f[y]=f[y]||f[(y-1)/2|0]}),a.init(l,p,d)}});var vH={name:"css",register:wI,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,i,o){var s=this._props,a=e.style,l=r.vars.startAt,c,u,d,f,p,v,y,x,g,b,_,C,T,A,R,D;QB||wI(),this.styles=this.styles||uH(e),D=this.styles.props,this.tween=r;for(y in n)if(y!=="autoRound"&&(u=n[y],!(Ls[y]&&Z4(y,n,r,i,e,o)))){if(p=typeof u,v=pA[y],p==="function"&&(u=u.call(r,i,e,o),p=typeof u),p==="string"&&~u.indexOf("random(")&&(u=Wx(u)),v)v(this,e,y,u,r)&&(R=1);else if(y.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(y)+"").trim(),u+="",Ud.lastIndex=0,Ud.test(c)||(x=Co(c),g=Co(u)),g?x!==g&&(c=Wd(e,y,c,g)+g):x&&(u+=x),this.add(a,"setProperty",c,u,i,o,0,0,y),s.push(y),D.push(y,0,a[y]);else if(p!=="undefined"){if(l&&y in l?(c=typeof l[y]=="function"?l[y].call(r,i,e,o):l[y],Ki(c)&&~c.indexOf("random(")&&(c=Wx(c)),Co(c+"")||c==="auto"||(c+=Ws.units[y]||Co(Jc(e,y))||""),(c+"").charAt(1)==="="&&(c=Jc(e,y))):c=Jc(e,y),f=parseFloat(c),b=p==="string"&&u.charAt(1)==="="&&u.substr(0,2),b&&(u=u.substr(2)),d=parseFloat(u),y in Yl&&(y==="autoAlpha"&&(f===1&&Jc(e,"visibility")==="hidden"&&d&&(f=0),D.push("visibility",0,a.visibility),Ed(this,a,"visibility",f?"inherit":"hidden",d?"inherit":"hidden",!d)),y!=="scale"&&y!=="transform"&&(y=Yl[y],~y.indexOf(",")&&(y=y.split(",")[0]))),_=y in bu,_){if(this.styles.save(y),C||(T=e._gsap,T.renderTransform&&!n.parseTransform||Yx(e,n.parseTransform),A=n.smoothOrigin!==!1&&T.smooth,C=this._pt=new ps(this._pt,a,Dr,0,1,T.renderTransform,T,0,-1),C.dep=1),y==="scale")this._pt=new ps(this._pt,T,"scaleY",T.scaleY,(b?kg(T.scaleY,b+d):d)-T.scaleY||0,CI),this._pt.u=0,s.push("scaleY",y),y+="X";else if(y==="transformOrigin"){D.push(hs,0,a[hs]),u=Rq(u),T.svg?MI(e,u,0,A,0,this):(g=parseFloat(u.split(" ")[2])||0,g!==T.zOrigin&&Ed(this,T,"zOrigin",T.zOrigin,g),Ed(this,a,y,hA(c),hA(u)));continue}else if(y==="svgOrigin"){MI(e,u,1,A,0,this);continue}else if(y in hH){Lq(this,T,y,f,b?kg(f,b+u):u);continue}else if(y==="smoothOrigin"){Ed(this,T,"smooth",T.smooth,u);continue}else if(y==="force3D"){T[y]=u;continue}else if(y==="transform"){kq(this,u,e);continue}}else y in a||(y=av(y)||y);if(_||(d||d===0)&&(f||f===0)&&!mq.test(u)&&y in a)x=(c+"").substr((f+"").length),d||(d=0),g=Co(u)||(y in Ws.units?Ws.units[y]:x),x!==g&&(f=Wd(e,y,c,g)),this._pt=new ps(this._pt,_?T:a,y,f,(b?kg(f,b+d):d)-f,!_&&(g==="px"||y==="zIndex")&&n.autoRound!==!1?yq:CI),this._pt.u=g||0,x!==g&&g!=="%"&&(this._pt.b=c,this._pt.r=vq);else if(y in a)Tq.call(this,e,y,c,b?b+u:u);else if(y in e)this.add(e,y,c||e[y],b?b+u:u,i,o);else if(y!=="parseTransform"){GB(y,u);continue}_||(y in a?D.push(y,0,a[y]):D.push(y,1,c||e[y])),s.push(y)}}R&&oH(this)},render:function(e,n){if(n.tween._time||!ZB())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:Jc,aliases:Yl,getSetter:function(e,n,r){var i=Yl[n];return i&&i.indexOf(",")<0&&(n=i),n in bu&&n!==hs&&(e._gsap.x||Jc(e,"x"))?r&&oN===r?n==="scale"?Sq:_q:(oN=r||{})&&(n==="scale"?Cq:Aq):e.style&&!zB(e.style[n])?xq:~n.indexOf("-")?bq:JB(e,n)},core:{_removeProperty:Zp,_getMatrix:tL}};vs.utils.checkPrefix=av;vs.core.getStyleSaver=uH;(function(t,e,n,r){var i=fs(t+","+e+","+n,function(o){bu[o]=1});fs(e,function(o){Ws.units[o]="deg",hH[o]=1}),Yl[i[13]]=t+","+e,fs(r,function(o){var s=o.split(":");Yl[s[1]]=i[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");fs("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Ws.units[t]="px"});vs.registerPlugin(vH);var nL=vs.registerPlugin(vH)||vs;nL.core.Tween;/*! * @gsap/react 2.1.1 * https://gsap.com * @@ -61,28 +61,28 @@ Error generating stack: `+o.message+` * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com -*/let TN=typeof window<"u"?E.useLayoutEffect:E.useEffect,RN=t=>t&&!Array.isArray(t)&&typeof t=="object",H1=[],iQ={},OH=vL;const yL=(t,e=H1)=>{let n=iQ;RN(t)?(n=t,t=null,e="dependencies"in n?n.dependencies:H1):RN(e)&&(n=e,e="dependencies"in n?n.dependencies:H1),t&&typeof t!="function"&&console.warn("First parameter must be a function or config object");const{scope:r,revertOnUpdate:i}=n,o=E.useRef(!1),s=E.useRef(OH.context(()=>{},r)),a=E.useRef(c=>s.current.add(null,c)),l=e&&e.length&&!i;return TN(()=>{if(t&&s.current.add(t,r),!l||!o.current)return()=>s.current.revert()},e),l&&TN(()=>(o.current=!0,()=>s.current.revert()),H1),{context:s.current,contextSafe:a.current}};yL.register=t=>{OH=t};yL.headless=!0;const oQ=t=>new Promise(e=>{const n=new FileReader;n.onload=()=>e(n.result),n.readAsDataURL(t)}),sQ=vL.timeline(),aQ=t=>{sQ.from(t.current,{y:"-100%",duration:4,ease:"bounce"},0)},lQ=(t,e,n)=>{var r=new Image;r.src=t;var i=document.createElement("canvas"),o=i.getContext("2d");return o.drawImage(r,0,0),o.getImageData(e,n,1,1).data},ob={black:"#000",white:"#fff"},Im={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"},Bm={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"},Lm={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"},km={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"},Dm={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"},ly={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"},cQ={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"};function oh(t,...e){const n=new URL(`https://mui.com/production-error/?code=${t}`);return e.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${t}; visit ${n} for the full message.`}const xL="$$material";function D(){return D=Object.assign?Object.assign.bind():function(t){for(var e=1;e0?no(Ov,--ys):0,fv--,Ci===10&&(fv=1,lM--),Ci}function js(){return Ci=ys2||ab(Ci)>3?"":" "}function wQ(t,e){for(;--e&&js()&&!(Ci<48||Ci>102||Ci>57&&Ci<65||Ci>70&&Ci<97););return Hb(t,MC()+(e<6&&tc()==32&&js()==32))}function UI(t){for(;js();)switch(Ci){case t:return ys;case 34:case 39:t!==34&&t!==39&&UI(Ci);break;case 40:t===41&&UI(t);break;case 92:js();break}return ys}function MQ(t,e){for(;js()&&t+Ci!==57;)if(t+Ci===84&&tc()===47)break;return"/*"+Hb(e,ys-1)+"*"+aM(t===47?t:js())}function EQ(t){for(;!ab(tc());)js();return Hb(t,ys)}function TQ(t){return HH(TC("",null,null,null,[""],t=$H(t),0,[0],t))}function TC(t,e,n,r,i,o,s,a,l){for(var c=0,u=0,d=s,f=0,p=0,v=0,y=1,x=1,g=1,b=0,_="",C=i,P=o,A=r,R=_;x;)switch(v=b,b=js()){case 40:if(v!=108&&no(R,d-1)==58){FI(R+=Kn(EC(b),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:R+=EC(b);break;case 9:case 10:case 13:case 32:R+=AQ(v);break;case 92:R+=wQ(MC()-1,7);continue;case 47:switch(tc()){case 42:case 47:G1(RQ(MQ(js(),MC()),e,n),l);break;default:R+="/"}break;case 123*y:a[c++]=Hl(R)*g;case 125*y:case 59:case 0:switch(b){case 0:case 125:x=0;case 59+u:g==-1&&(R=Kn(R,/\f/g,"")),p>0&&Hl(R)-d&&G1(p>32?IN(R+";",r,n,d-1):IN(Kn(R," ","")+";",r,n,d-2),l);break;case 59:R+=";";default:if(G1(A=PN(R,e,n,c,u,i,a,_,C=[],P=[],d),o),b===123)if(u===0)TC(R,e,A,A,C,o,d,a,P);else switch(f===99&&no(R,3)===110?100:f){case 100:case 108:case 109:case 115:TC(t,A,A,r&&G1(PN(t,A,A,0,0,i,a,_,i,C=[],d),P),i,P,d,a,r?C:P);break;default:TC(R,A,A,A,[""],P,0,a,P)}}c=u=p=0,y=g=1,_=R="",d=s;break;case 58:d=1+Hl(R),p=v;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&CQ()==125)continue}switch(R+=aM(b),b*y){case 38:g=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(Hl(R)-1)*g,g=1;break;case 64:tc()===45&&(R+=EC(js())),f=tc(),u=d=Hl(_=R+=EQ(MC())),b++;break;case 45:v===45&&Hl(R)==2&&(y=0)}}return o}function PN(t,e,n,r,i,o,s,a,l,c,u){for(var d=i-1,f=i===0?o:[""],p=SL(f),v=0,y=0,x=0;v0?f[g]+" "+b:Kn(b,/&\f/g,f[g])))&&(l[x++]=_);return cM(t,e,n,i===0?bL:a,l,c,u)}function RQ(t,e,n){return cM(t,e,n,NH,aM(SQ()),sb(t,2,-2),0)}function IN(t,e,n,r){return cM(t,e,n,_L,sb(t,0,r),sb(t,r+1,-1),r)}function Hg(t,e){for(var n="",r=SL(t),i=0;i6)switch(no(t,e+1)){case 109:if(no(t,e+4)!==45)break;case 102:return Kn(t,/(.+:)(.+)-([^]+)/,"$1"+Xn+"$2-$3$1"+wA+(no(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~FI(t,"stretch")?VH(Kn(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(no(t,e+1)!==115)break;case 6444:switch(no(t,Hl(t)-3-(~FI(t,"!important")&&10))){case 107:return Kn(t,":",":"+Xn)+t;case 101:return Kn(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Xn+(no(t,14)===45?"inline-":"")+"box$3$1"+Xn+"$2$3$1"+_o+"$2box$3")+t}break;case 5936:switch(no(t,e+11)){case 114:return Xn+t+_o+Kn(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Xn+t+_o+Kn(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Xn+t+_o+Kn(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Xn+t+_o+t+t}return t}var FQ=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case _L:e.return=VH(e.value,e.length);break;case FH:return Hg([cy(e,{value:Kn(e.value,"@","@"+Xn)})],i);case bL:if(e.length)return _Q(e.props,function(o){switch(bQ(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Hg([cy(e,{props:[Kn(o,/:(read-\w+)/,":"+wA+"$1")]})],i);case"::placeholder":return Hg([cy(e,{props:[Kn(o,/:(plac\w+)/,":"+Xn+"input-$1")]}),cy(e,{props:[Kn(o,/:(plac\w+)/,":"+wA+"$1")]}),cy(e,{props:[Kn(o,/:(plac\w+)/,_o+"input-$1")]})],i)}return""})}},UQ=[FQ],WH=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var x=y.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=e.stylisPlugins||UQ,o={},s,a=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var x=y.getAttribute("data-emotion").split(" "),g=1;gt&&!Array.isArray(t)&&typeof t=="object",I1=[],Dq={},yH=nL;const rL=(t,e=I1)=>{let n=Dq;hN(t)?(n=t,t=null,e="dependencies"in n?n.dependencies:I1):hN(e)&&(n=e,e="dependencies"in n?n.dependencies:I1),t&&typeof t!="function"&&console.warn("First parameter must be a function or config object");const{scope:r,revertOnUpdate:i}=n,o=P.useRef(!1),s=P.useRef(yH.context(()=>{},r)),a=P.useRef(c=>s.current.add(null,c)),l=e&&e.length&&!i;return pN(()=>{if(t&&s.current.add(t,r),!l||!o.current)return()=>s.current.revert()},e),l&&pN(()=>(o.current=!0,()=>s.current.revert()),I1),{context:s.current,contextSafe:a.current}};rL.register=t=>{yH=t};rL.headless=!0;const Oq=t=>new Promise(e=>{const n=new FileReader;n.onload=()=>e(n.result),n.readAsDataURL(t)}),Nq=nL.timeline(),Fq=t=>{Nq.from(t.current,{y:"-100%",duration:4,ease:"bounce"},0)},Uq=(t,e,n)=>{var r=new Image;r.src=t;var i=document.createElement("canvas"),o=i.getContext("2d");return o.drawImage(r,0,0),o.getImageData(e,n,1,1).data},Jx={black:"#000",white:"#fff"},wm={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"},Mm={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"},Em={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"},Tm={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Rm={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"},ry={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"},zq={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"};function eh(t,...e){const n=new URL(`https://mui.com/production-error/?code=${t}`);return e.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${t}; visit ${n} for the full message.`}const iL="$$material";function k(){return k=Object.assign?Object.assign.bind():function(t){for(var e=1;e0?no(Bv,--ys):0,lv--,_i===10&&(lv=1,qw--),_i}function js(){return _i=ys2||Qx(_i)>3?"":" "}function nQ(t,e){for(;--e&&js()&&!(_i<48||_i>102||_i>57&&_i<65||_i>70&&_i<97););return Ib(t,mC()+(e<6&&tc()==32&&js()==32))}function TI(t){for(;js();)switch(_i){case t:return ys;case 34:case 39:t!==34&&t!==39&&TI(_i);break;case 40:t===41&&TI(t);break;case 92:js();break}return ys}function rQ(t,e){for(;js()&&t+_i!==57;)if(t+_i===84&&tc()===47)break;return"/*"+Ib(e,ys-1)+"*"+Jw(t===47?t:js())}function iQ(t){for(;!Qx(tc());)js();return Ib(t,ys)}function oQ(t){return AH(vC("",null,null,null,[""],t=CH(t),0,[0],t))}function vC(t,e,n,r,i,o,s,a,l){for(var c=0,u=0,d=s,f=0,p=0,v=0,y=1,x=1,g=1,b=0,_="",C=i,T=o,A=r,R=_;x;)switch(v=b,b=js()){case 40:if(v!=108&&no(R,d-1)==58){EI(R+=jn(gC(b),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:R+=gC(b);break;case 9:case 10:case 13:case 32:R+=tQ(v);break;case 92:R+=nQ(mC()-1,7);continue;case 47:switch(tc()){case 42:case 47:B1(sQ(rQ(js(),mC()),e,n),l);break;default:R+="/"}break;case 123*y:a[c++]=Hl(R)*g;case 125*y:case 59:case 0:switch(b){case 0:case 125:x=0;case 59+u:g==-1&&(R=jn(R,/\f/g,"")),p>0&&Hl(R)-d&&B1(p>32?gN(R+";",r,n,d-1):gN(jn(R," ","")+";",r,n,d-2),l);break;case 59:R+=";";default:if(B1(A=mN(R,e,n,c,u,i,a,_,C=[],T=[],d),o),b===123)if(u===0)vC(R,e,A,A,C,o,d,a,T);else switch(f===99&&no(R,3)===110?100:f){case 100:case 108:case 109:case 115:vC(t,A,A,r&&B1(mN(t,A,A,0,0,i,a,_,i,C=[],d),T),i,T,d,a,r?C:T);break;default:vC(R,A,A,A,[""],T,0,a,T)}}c=u=p=0,y=g=1,_=R="",d=s;break;case 58:d=1+Hl(R),p=v;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&eQ()==125)continue}switch(R+=Jw(b),b*y){case 38:g=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(Hl(R)-1)*g,g=1;break;case 64:tc()===45&&(R+=gC(js())),f=tc(),u=d=Hl(_=R+=iQ(mC())),b++;break;case 45:v===45&&Hl(R)==2&&(y=0)}}return o}function mN(t,e,n,r,i,o,s,a,l,c,u){for(var d=i-1,f=i===0?o:[""],p=aL(f),v=0,y=0,x=0;v0?f[g]+" "+b:jn(b,/&\f/g,f[g])))&&(l[x++]=_);return Qw(t,e,n,i===0?oL:a,l,c,u)}function sQ(t,e,n){return Qw(t,e,n,xH,Jw(Zq()),qx(t,2,-2),0)}function gN(t,e,n,r){return Qw(t,e,n,sL,qx(t,0,r),qx(t,r+1,-1),r)}function Ng(t,e){for(var n="",r=aL(t),i=0;i6)switch(no(t,e+1)){case 109:if(no(t,e+4)!==45)break;case 102:return jn(t,/(.+:)(.+)-([^]+)/,"$1"+Wn+"$2-$3$1"+mA+(no(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~EI(t,"stretch")?MH(jn(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(no(t,e+1)!==115)break;case 6444:switch(no(t,Hl(t)-3-(~EI(t,"!important")&&10))){case 107:return jn(t,":",":"+Wn)+t;case 101:return jn(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Wn+(no(t,14)===45?"inline-":"")+"box$3$1"+Wn+"$2$3$1"+bo+"$2box$3")+t}break;case 5936:switch(no(t,e+11)){case 114:return Wn+t+bo+jn(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Wn+t+bo+jn(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Wn+t+bo+jn(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Wn+t+bo+t+t}return t}var mQ=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case sL:e.return=MH(e.value,e.length);break;case bH:return Ng([iy(e,{value:jn(e.value,"@","@"+Wn)})],i);case oL:if(e.length)return Qq(e.props,function(o){switch(qq(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ng([iy(e,{props:[jn(o,/:(read-\w+)/,":"+mA+"$1")]})],i);case"::placeholder":return Ng([iy(e,{props:[jn(o,/:(plac\w+)/,":"+Wn+"input-$1")]}),iy(e,{props:[jn(o,/:(plac\w+)/,":"+mA+"$1")]}),iy(e,{props:[jn(o,/:(plac\w+)/,bo+"input-$1")]})],i)}return""})}},gQ=[mQ],EH=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var x=y.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=e.stylisPlugins||gQ,o={},s,a=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var x=y.getAttribute("data-emotion").split(" "),g=1;g=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var JQ={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},qQ=!1,QQ=/[A-Z]|^ms/g,ZQ=/_EMO_([^_]+?)_([^]*?)_EMO_/g,qH=function(e){return e.charCodeAt(1)===45},LN=function(e){return e!=null&&typeof e!="boolean"},JT=GH(function(t){return qH(t)?t:t.replace(QQ,"-$&").toLowerCase()}),kN=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(ZQ,function(r,i,o){return Gl={name:i,styles:o,next:Gl},i})}return JQ[e]!==1&&!qH(e)&&typeof n=="number"&&n!==0?n+"px":n},eZ="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function lb(t,e,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Gl={name:i.name,styles:i.styles,next:Gl},i.name;var o=n;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)Gl={name:s.name,styles:s.styles,next:Gl},s=s.next;var a=o.styles+";";return a}return tZ(t,e,n)}case"function":{if(t!==void 0){var l=Gl,c=n(t);return Gl=l,lb(t,e,c)}break}}var u=n;if(e==null)return u;var d=e[u];return d!==void 0?d:u}function tZ(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i96?pZ:hZ},UN=function(e,n,r){var i;if(n){var o=n.shouldForwardProp;i=e.__emotion_forwardProp&&o?function(s){return e.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=e.__emotion_forwardProp),i},mZ=function(e){var n=e.cache,r=e.serialized,i=e.isStringTag;return ML(n,r,i),ZH(function(){return EL(n,r,i)}),null},gZ=function t(e,n){var r=e.__emotion_real===e,i=r&&e.__emotion_base||e,o,s;n!==void 0&&(o=n.label,s=n.target);var a=UN(e,n,r),l=a||FN(i),c=!l("as");return function(){var u=arguments,d=r&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,v=1;v=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var EQ={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},TQ=!1,RQ=/[A-Z]|^ms/g,PQ=/_EMO_([^_]+?)_([^]*?)_EMO_/g,LH=function(e){return e.charCodeAt(1)===45},yN=function(e){return e!=null&&typeof e!="boolean"},FT=wH(function(t){return LH(t)?t:t.replace(RQ,"-$&").toLowerCase()}),xN=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(PQ,function(r,i,o){return Gl={name:i,styles:o,next:Gl},i})}return EQ[e]!==1&&!LH(e)&&typeof n=="number"&&n!==0?n+"px":n},IQ="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Zx(t,e,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Gl={name:i.name,styles:i.styles,next:Gl},i.name;var o=n;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)Gl={name:s.name,styles:s.styles,next:Gl},s=s.next;var a=o.styles+";";return a}return BQ(t,e,n)}case"function":{if(t!==void 0){var l=Gl,c=n(t);return Gl=l,Zx(t,e,c)}break}}var u=n;if(e==null)return u;var d=e[u];return d!==void 0?d:u}function BQ(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i96?VQ:WQ},AN=function(e,n,r){var i;if(n){var o=n.shouldForwardProp;i=e.__emotion_forwardProp&&o?function(s){return e.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=e.__emotion_forwardProp),i},jQ=function(e){var n=e.cache,r=e.serialized,i=e.isStringTag;return dL(n,r,i),DH(function(){return fL(n,r,i)}),null},XQ=function t(e,n){var r=e.__emotion_real===e,i=r&&e.__emotion_base||e,o,s;n!==void 0&&(o=n.label,s=n.target);var a=AN(e,n,r),l=a||CN(i),c=!l("as");return function(){var u=arguments,d=r&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,v=1;v{e[n]=nG(t[n])}),e}function Xs(t,e,n={clone:!0}){const r=n.clone?{...t}:t;return Kl(t)&&Kl(e)&&Object.keys(e).forEach(i=>{E.isValidElement(e[i])?r[i]=e[i]:Kl(e[i])&&Object.prototype.hasOwnProperty.call(t,i)&&Kl(t[i])?r[i]=Xs(t[i],e[i],n):n.clone?r[i]=Kl(e[i])?nG(e[i]):e[i]:r[i]=e[i]}),r}const xZ=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,r)=>n.val-r.val),e.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function bZ(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...i}=t,o=xZ(e),s=Object.keys(o);function a(f){return`@media (min-width:${typeof e[f]=="number"?e[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof e[f]=="number"?e[f]:f)-r/100}${n})`}function c(f,p){const v=s.indexOf(p);return`@media (min-width:${typeof e[f]=="number"?e[f]:f}${n}) and (max-width:${(v!==-1&&typeof e[s[v]]=="number"?e[s[v]]:p)-r/100}${n})`}function u(f){return s.indexOf(f)+1r.startsWith("@container")).sort((r,i)=>{var s,a;const o=/min-width:\s*([0-9.]+)/;return+(((s=r.match(o))==null?void 0:s[1])||0)-+(((a=i.match(o))==null?void 0:a[1])||0)});return n.length?n.reduce((r,i)=>{const o=e[i];return delete r[i],r[i]=o,r},{...e}):e}function SZ(t,e){return e==="@"||e.startsWith("@")&&(t.some(n=>e.startsWith(`@${n}`))||!!e.match(/^@\d/))}function CZ(t,e){const n=e.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,i]=n,o=Number.isNaN(+r)?r||0:+r;return t.containerQueries(i).up(o)}function AZ(t){const e=(o,s)=>o.replace("@media",s?`@container ${s}`:"@container");function n(o,s){o.up=(...a)=>e(t.breakpoints.up(...a),s),o.down=(...a)=>e(t.breakpoints.down(...a),s),o.between=(...a)=>e(t.breakpoints.between(...a),s),o.only=(...a)=>e(t.breakpoints.only(...a),s),o.not=(...a)=>{const l=e(t.breakpoints.not(...a),s);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},i=o=>(n(r,o),r);return n(i),{...t,containerQueries:i}}const wZ={borderRadius:4};function mx(t,e){return e?Xs(t,e,{clone:!1}):t}const bM={xs:0,sm:600,md:900,lg:1200,xl:1536},HN={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${bM[t]}px)`},MZ={containerQueries:t=>({up:e=>{let n=typeof e=="number"?e:bM[e]||e;return typeof n=="number"&&(n=`${n}px`),t?`@container ${t} (min-width:${n})`:`@container (min-width:${n})`}})};function Su(t,e,n){const r=t.theme||{};if(Array.isArray(e)){const o=r.breakpoints||HN;return e.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(e[l]),s),{})}if(typeof e=="object"){const o=r.breakpoints||HN;return Object.keys(e).reduce((s,a)=>{if(SZ(o.keys,a)){const l=CZ(r.containerQueries?r:MZ,a);l&&(s[l]=n(e[a],a))}else if(Object.keys(o.values||bM).includes(a)){const l=o.up(a);s[l]=n(e[a],a)}else{const l=a;s[l]=e[l]}return s},{})}return n(e)}function EZ(t={}){var n;return((n=t.keys)==null?void 0:n.reduce((r,i)=>{const o=t.up(i);return r[o]={},r},{}))||{}}function TZ(t,e){return t.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},e)}function wn(t){if(typeof t!="string")throw new Error(oh(7));return t.charAt(0).toUpperCase()+t.slice(1)}function _M(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const r=`vars.${e}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,t);if(r!=null)return r}return e.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,t)}function EA(t,e,n,r=n){let i;return typeof t=="function"?i=t(n):Array.isArray(t)?i=t[n]||r:i=_M(t,n)||r,e&&(i=e(i,r,t)),i}function fi(t){const{prop:e,cssProperty:n=t.prop,themeKey:r,transform:i}=t,o=s=>{if(s[e]==null)return null;const a=s[e],l=s.theme,c=_M(l,r)||{};return Su(s,a,d=>{let f=EA(c,i,d);return d===f&&typeof d=="string"&&(f=EA(c,i,`${e}${d==="default"?"":wn(d)}`,d)),n===!1?f:{[n]:f}})};return o.propTypes={},o.filterProps=[e],o}function RZ(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const PZ={m:"margin",p:"padding"},IZ={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},GN={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},BZ=RZ(t=>{if(t.length>2)if(GN[t])t=GN[t];else return[t];const[e,n]=t.split(""),r=PZ[e],i=IZ[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),PL=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],IL=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...PL,...IL];function Vb(t,e,n,r){const i=_M(t,e,!0)??n;return typeof i=="number"||typeof i=="string"?o=>typeof o=="string"?o:typeof i=="string"?`calc(${o} * ${i})`:i*o:Array.isArray(i)?o=>{if(typeof o=="string")return o;const s=Math.abs(o),a=i[s];return o>=0?a:typeof a=="number"?-a:`-${a}`}:typeof i=="function"?i:()=>{}}function BL(t){return Vb(t,"spacing",8)}function Wb(t,e){return typeof e=="string"||e==null?e:t(e)}function LZ(t,e){return n=>t.reduce((r,i)=>(r[i]=Wb(e,n),r),{})}function kZ(t,e,n,r){if(!e.includes(n))return null;const i=BZ(n),o=LZ(i,r),s=t[n];return Su(t,s,o)}function rG(t,e){const n=BL(t.theme);return Object.keys(t).map(r=>kZ(t,e,r,n)).reduce(mx,{})}function jr(t){return rG(t,PL)}jr.propTypes={};jr.filterProps=PL;function Xr(t){return rG(t,IL)}Xr.propTypes={};Xr.filterProps=IL;function iG(t=8,e=BL({spacing:t})){if(t.mui)return t;const n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=e(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function SM(...t){const e=t.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>e[o]?mx(i,e[o](r)):i,{});return n.propTypes={},n.filterProps=t.reduce((r,i)=>r.concat(i.filterProps),[]),n}function Sa(t){return typeof t!="number"?t:`${t}px solid`}function Ua(t,e){return fi({prop:t,themeKey:"borders",transform:e})}const DZ=Ua("border",Sa),OZ=Ua("borderTop",Sa),NZ=Ua("borderRight",Sa),FZ=Ua("borderBottom",Sa),UZ=Ua("borderLeft",Sa),zZ=Ua("borderColor"),$Z=Ua("borderTopColor"),HZ=Ua("borderRightColor"),GZ=Ua("borderBottomColor"),VZ=Ua("borderLeftColor"),WZ=Ua("outline",Sa),jZ=Ua("outlineColor"),CM=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Vb(t.theme,"shape.borderRadius",4),n=r=>({borderRadius:Wb(e,r)});return Su(t,t.borderRadius,n)}return null};CM.propTypes={};CM.filterProps=["borderRadius"];SM(DZ,OZ,NZ,FZ,UZ,zZ,$Z,HZ,GZ,VZ,CM,WZ,jZ);const AM=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Vb(t.theme,"spacing",8),n=r=>({gap:Wb(e,r)});return Su(t,t.gap,n)}return null};AM.propTypes={};AM.filterProps=["gap"];const wM=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Vb(t.theme,"spacing",8),n=r=>({columnGap:Wb(e,r)});return Su(t,t.columnGap,n)}return null};wM.propTypes={};wM.filterProps=["columnGap"];const MM=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Vb(t.theme,"spacing",8),n=r=>({rowGap:Wb(e,r)});return Su(t,t.rowGap,n)}return null};MM.propTypes={};MM.filterProps=["rowGap"];const XZ=fi({prop:"gridColumn"}),KZ=fi({prop:"gridRow"}),YZ=fi({prop:"gridAutoFlow"}),JZ=fi({prop:"gridAutoColumns"}),qZ=fi({prop:"gridAutoRows"}),QZ=fi({prop:"gridTemplateColumns"}),ZZ=fi({prop:"gridTemplateRows"}),eee=fi({prop:"gridTemplateAreas"}),tee=fi({prop:"gridArea"});SM(AM,wM,MM,XZ,KZ,YZ,JZ,qZ,QZ,ZZ,eee,tee);function Gg(t,e){return e==="grey"?e:t}const nee=fi({prop:"color",themeKey:"palette",transform:Gg}),ree=fi({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Gg}),iee=fi({prop:"backgroundColor",themeKey:"palette",transform:Gg});SM(nee,ree,iee);function Ns(t){return t<=1&&t!==0?`${t*100}%`:t}const oee=fi({prop:"width",transform:Ns}),LL=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var i,o,s,a,l;const r=((s=(o=(i=t.theme)==null?void 0:i.breakpoints)==null?void 0:o.values)==null?void 0:s[n])||bM[n];return r?((l=(a=t.theme)==null?void 0:a.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${t.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Ns(n)}};return Su(t,t.maxWidth,e)}return null};LL.filterProps=["maxWidth"];const see=fi({prop:"minWidth",transform:Ns}),aee=fi({prop:"height",transform:Ns}),lee=fi({prop:"maxHeight",transform:Ns}),cee=fi({prop:"minHeight",transform:Ns});fi({prop:"size",cssProperty:"width",transform:Ns});fi({prop:"size",cssProperty:"height",transform:Ns});const uee=fi({prop:"boxSizing"});SM(oee,LL,see,aee,lee,cee,uee);const jb={border:{themeKey:"borders",transform:Sa},borderTop:{themeKey:"borders",transform:Sa},borderRight:{themeKey:"borders",transform:Sa},borderBottom:{themeKey:"borders",transform:Sa},borderLeft:{themeKey:"borders",transform:Sa},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Sa},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:CM},color:{themeKey:"palette",transform:Gg},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Gg},backgroundColor:{themeKey:"palette",transform:Gg},p:{style:Xr},pt:{style:Xr},pr:{style:Xr},pb:{style:Xr},pl:{style:Xr},px:{style:Xr},py:{style:Xr},padding:{style:Xr},paddingTop:{style:Xr},paddingRight:{style:Xr},paddingBottom:{style:Xr},paddingLeft:{style:Xr},paddingX:{style:Xr},paddingY:{style:Xr},paddingInline:{style:Xr},paddingInlineStart:{style:Xr},paddingInlineEnd:{style:Xr},paddingBlock:{style:Xr},paddingBlockStart:{style:Xr},paddingBlockEnd:{style:Xr},m:{style:jr},mt:{style:jr},mr:{style:jr},mb:{style:jr},ml:{style:jr},mx:{style:jr},my:{style:jr},margin:{style:jr},marginTop:{style:jr},marginRight:{style:jr},marginBottom:{style:jr},marginLeft:{style:jr},marginX:{style:jr},marginY:{style:jr},marginInline:{style:jr},marginInlineStart:{style:jr},marginInlineEnd:{style:jr},marginBlock:{style:jr},marginBlockStart:{style:jr},marginBlockEnd:{style:jr},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:AM},rowGap:{style:MM},columnGap:{style:wM},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ns},maxWidth:{style:LL},minWidth:{transform:Ns},height:{transform:Ns},maxHeight:{transform:Ns},minHeight:{transform:Ns},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function dee(...t){const e=t.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(e);return t.every(r=>n.size===Object.keys(r).length)}function fee(t,e){return typeof t=="function"?t(e):t}function pee(){function t(n,r,i,o){const s={[n]:r,theme:i},a=o[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:d}=a;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const f=_M(i,c)||{};return d?d(s):Su(s,r,v=>{let y=EA(f,u,v);return v===y&&typeof v=="string"&&(y=EA(f,u,`${n}${v==="default"?"":wn(v)}`,v)),l===!1?y:{[l]:y}})}function e(n){const{sx:r,theme:i={}}=n||{};if(!r)return null;const o=i.unstable_sxConfig??jb;function s(a){let l=a;if(typeof a=="function")l=a(i);else if(typeof a!="object")return a;if(!l)return null;const c=EZ(i.breakpoints),u=Object.keys(c);let d=c;return Object.keys(l).forEach(f=>{const p=fee(l[f],i);if(p!=null)if(typeof p=="object")if(o[f])d=mx(d,t(f,p,i,o));else{const v=Su({theme:i},p,y=>({[f]:y}));dee(v,p)?d[f]=e({sx:p,theme:i}):d=mx(d,v)}else d=mx(d,t(f,p,i,o))}),_Z(i,TZ(u,d))}return Array.isArray(r)?r.map(s):s(r)}return e}const sh=pee();sh.filterProps=["sx"];function hee(t,e){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[t])||typeof n.getColorSchemeSelector!="function")return{};let i=n.getColorSchemeSelector(t);return i==="&"?e:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:e})}return n.palette.mode===t?e:{}}function kL(t={},...e){const{breakpoints:n={},palette:r={},spacing:i,shape:o={},...s}=t,a=bZ(n),l=iG(i);let c=Xs({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...wZ,...o}},s);return c=AZ(c),c.applyStyles=hee,c=e.reduce((u,d)=>Xs(u,d),c),c.unstable_sxConfig={...jb,...s==null?void 0:s.unstable_sxConfig},c.unstable_sx=function(d){return sh({sx:d,theme:this})},c}function mee(t){return Object.keys(t).length===0}function gee(t=null){const e=E.useContext(Sh);return!e||mee(e)?t:e}const vee=kL();function oG(t=vee){return gee(t)}const yee=t=>{var r;const e={systemProps:{},otherProps:{}},n=((r=t==null?void 0:t.theme)==null?void 0:r.unstable_sxConfig)??jb;return Object.keys(t).forEach(i=>{n[i]?e.systemProps[i]=t[i]:e.otherProps[i]=t[i]}),e};function sG(t){const{sx:e,...n}=t,{systemProps:r,otherProps:i}=yee(n);let o;return Array.isArray(e)?o=[r,...e]:typeof e=="function"?o=(...s)=>{const a=e(...s);return Kl(a)?{...r,...a}:r}:o={...r,...e},{...i,sx:o}}const VN=t=>t,xee=()=>{let t=VN;return{configure(e){t=e},generate(e){return t(e)},reset(){t=VN}}},aG=xee();function lG(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;ea!=="theme"&&a!=="sx"&&a!=="as"})(sh);return E.forwardRef(function(l,c){const u=oG(n),{className:d,component:f="div",...p}=sG(l);return O.jsx(o,{as:f,ref:c,className:Ce(d,i?i(r):r),theme:e&&u[e]||u,...p})})}const _ee={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function _s(t,e,n="Mui"){const r=_ee[e];return r?`${n}-${r}`:`${aG.generate(t)}-${e}`}function Yo(t,e,n="Mui"){const r={};return e.forEach(i=>{r[i]=_s(t,i,n)}),r}function cG(t){const{variants:e,...n}=t,r={variants:e,style:$N(n),isProcessed:!0};return r.style===n||e&&e.forEach(i=>{typeof i.style!="function"&&(i.style=$N(i.style))}),r}const See=kL();function qT(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}function Cee(t){return t?(e,n)=>n[t]:null}function Aee(t,e,n){t.theme=Eee(t.theme)?n:t.theme[e]||t.theme}function RC(t,e){const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(r=>RC(t,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:i,...o}=n;r=o}return uG(t,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function uG(t,e,n=[]){var i;let r;e:for(let o=0;o{yZ(a,P=>P.filter(A=>A!==sh));const{name:c,slot:u,skipVariantsResolver:d,skipSx:f,overridesResolver:p=Cee(Ree(u)),...v}=l,y=d!==void 0?d:u&&u!=="Root"&&u!=="root"||!1,x=f||!1;let g=qT;u==="Root"||u==="root"?g=r:u?g=i:Tee(a)&&(g=void 0);const b=tG(a,{shouldForwardProp:g,label:Mee(),...v}),_=P=>{if(typeof P=="function"&&P.__emotion_real!==P)return function(R){return RC(R,P)};if(Kl(P)){const A=cG(P);return A.variants?function(k){return RC(k,A)}:A.style}return P},C=(...P)=>{const A=[],R=P.map(_),k=[];if(A.push(o),c&&p&&k.push(function(z){var X,ee;const W=(ee=(X=z.theme.components)==null?void 0:X[c])==null?void 0:ee.styleOverrides;if(!W)return null;const Y={};for(const $ in W)Y[$]=RC(z,W[$]);return p(z,Y)}),c&&!y&&k.push(function(z){var Y,X;const G=z.theme,W=(X=(Y=G==null?void 0:G.components)==null?void 0:Y[c])==null?void 0:X.variants;return W?uG(z,W):null}),x||k.push(sh),Array.isArray(R[0])){const L=R.shift(),z=new Array(A.length).fill(""),G=new Array(k.length).fill("");let W;W=[...z,...L,...G],W.raw=[...z,...L.raw,...G],A.unshift(W)}const F=[...A,...R,...k],w=b(...F);return a.muiName&&(w.muiName=a.muiName),w};return b.withConfig&&(C.withConfig=b.withConfig),C}}function Mee(t,e){return void 0}function Eee(t){for(const e in t)return!1;return!0}function Tee(t){return typeof t=="string"&&t.charCodeAt(0)>96}function Ree(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}function TA(t,e){const n={...e};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const i=r;if(i==="components"||i==="slots")n[i]={...t[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const o=t[i],s=e[i];if(!s)n[i]=o||{};else if(!o)n[i]=s;else{n[i]={...s};for(const a in o)if(Object.prototype.hasOwnProperty.call(o,a)){const l=a;n[i][l]=TA(o[l],s[l])}}}else n[i]===void 0&&(n[i]=t[i])}return n}const $I=typeof window<"u"?E.useLayoutEffect:E.useEffect;function Pee(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}function DL(t,e=0,n=1){return Pee(t,e,n)}function Iee(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Jd(t){if(t.type)return t;if(t.charAt(0)==="#")return Jd(Iee(t));const e=t.indexOf("("),n=t.substring(0,e);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(oh(9,t));let r=t.substring(e+1,t.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(oh(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const Bee=t=>{const e=Jd(t);return e.values.slice(0,3).map((n,r)=>e.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Wy=(t,e)=>{try{return Bee(t)}catch{return t}};function EM(t){const{type:e,colorSpace:n}=t;let{values:r}=t;return e.includes("rgb")?r=r.map((i,o)=>o<3?parseInt(i,10):i):e.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),e.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${e}(${r})`}function dG(t){t=Jd(t);const{values:e}=t,n=e[0],r=e[1]/100,i=e[2]/100,o=r*Math.min(i,1-i),s=(c,u=(c+n/30)%12)=>i-o*Math.max(Math.min(u-3,9-u,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return t.type==="hsla"&&(a+="a",l.push(e[3])),EM({type:a,values:l})}function HI(t){t=Jd(t);let e=t.type==="hsl"||t.type==="hsla"?Jd(dG(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function Lee(t,e){const n=HI(t),r=HI(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Qc(t,e){return t=Jd(t),e=DL(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,EM(t)}function V1(t,e,n){try{return Qc(t,e)}catch{return t}}function OL(t,e){if(t=Jd(t),e=DL(e),t.type.includes("hsl"))t.values[2]*=1-e;else if(t.type.includes("rgb")||t.type.includes("color"))for(let n=0;n<3;n+=1)t.values[n]*=1-e;return EM(t)}function or(t,e,n){try{return OL(t,e)}catch{return t}}function NL(t,e){if(t=Jd(t),e=DL(e),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*e;else if(t.type.includes("rgb"))for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.includes("color"))for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return EM(t)}function sr(t,e,n){try{return NL(t,e)}catch{return t}}function kee(t,e=.15){return HI(t)>.5?OL(t,e):NL(t,e)}function W1(t,e,n){try{return kee(t,e)}catch{return t}}function WN(...t){return t.reduce((e,n)=>n==null?e:function(...i){e.apply(this,i),n.apply(this,i)},()=>{})}function ah(t){return t&&t.ownerDocument||document}function RA(t){return ah(t).defaultView||window}function GI(t,e){typeof t=="function"?t(e):t&&(t.current=e)}let jN=0;function Dee(t){const[e,n]=E.useState(t),r=t||e;return E.useEffect(()=>{e==null&&(jN+=1,n(`mui-${jN}`))},[e]),r}const Oee={...kx},XN=Oee.useId;function Nee(t){if(XN!==void 0){const e=XN();return t??e}return Dee(t)}function Vg(t){const e=E.useRef(t);return $I(()=>{e.current=t}),E.useRef((...n)=>(0,e.current)(...n)).current}function qd(...t){return E.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{GI(n,e)})},t)}const KN={};function fG(t,e){const n=E.useRef(KN);return n.current===KN&&(n.current=t(e)),n}const Fee=[];function Uee(t){E.useEffect(t,Fee)}let zee=class pG{constructor(){Q0(this,"currentId",null);Q0(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Q0(this,"disposeEffect",()=>this.clear)}static create(){return new pG}start(e,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},e)}};function $ee(){const t=fG(zee.create).current;return Uee(t.disposeEffect),t}function YN(t){try{return t.matches(":focus-visible")}catch{}return!1}function Hee(t=window){const e=t.document.documentElement.clientWidth;return t.innerWidth-e}function Gee(t){return E.Children.toArray(t).filter(e=>E.isValidElement(e))}function na(t,e,n=void 0){const r={};for(const i in t){const o=t[i];let s="",a=!0;for(let l=0;lr.match(/^on[A-Z]/)&&typeof t[r]=="function"&&!e.includes(r)).forEach(r=>{n[r]=t[r]}),n}function JN(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>!(n.match(/^on[A-Z]/)&&typeof t[n]=="function")).forEach(n=>{e[n]=t[n]}),e}function jee(t){const{getSlotProps:e,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=t;if(!e){const p=Ce(n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),v={...n==null?void 0:n.style,...i==null?void 0:i.style,...r==null?void 0:r.style},y={...n,...i,...r};return p.length>0&&(y.className=p),Object.keys(v).length>0&&(y.style=v),{props:y,internalRef:void 0}}const s=hG({...i,...r}),a=JN(r),l=JN(i),c=e(s),u=Ce(c==null?void 0:c.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),d={...c==null?void 0:c.style,...n==null?void 0:n.style,...i==null?void 0:i.style,...r==null?void 0:r.style},f={...c,...n,...l,...a};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}function Xee(t,e,n){return typeof t=="function"?t(e,n):t}function FL(t){var e;return parseInt(E.version,10)>=19?((e=t==null?void 0:t.props)==null?void 0:e.ref)||null:(t==null?void 0:t.ref)||null}const Kee=E.createContext(void 0);function Yee(t){const{theme:e,name:n,props:r}=t;if(!e||!e.components||!e.components[n])return r;const i=e.components[n];return i.defaultProps?TA(i.defaultProps,r):!i.styleOverrides&&!i.variants?TA(i,r):r}function Jee({props:t,name:e}){const n=E.useContext(Kee);return Yee({props:t,name:e,theme:{components:n}})}const qN={theme:void 0};function qee(t){let e,n;return function(i){let o=e;return(o===void 0||i.theme!==n)&&(qN.theme=i.theme,o=cG(t(qN)),e=o,n=i.theme),o}}function Qee(t=""){function e(...r){if(!r.length)return"";const i=r[0];return typeof i=="string"&&!i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${t?`${t}-`:""}${i}${e(...r.slice(1))})`:`, ${i}`}return(r,...i)=>`var(--${t?`${t}-`:""}${r}${e(...i)})`}const QN=(t,e,n,r=[])=>{let i=t;e.forEach((o,s)=>{s===e.length-1?Array.isArray(i)?i[Number(o)]=n:i&&typeof i=="object"&&(i[o]=n):i&&typeof i=="object"&&(i[o]||(i[o]=r.includes(o)?[]:{}),i=i[o])})},Zee=(t,e,n)=>{function r(i,o=[],s=[]){Object.entries(i).forEach(([a,l])=>{(!n||n&&!n([...o,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...o,a],Array.isArray(l)?[...s,a]:s):e([...o,a],l,s))})}r(t)},ete=(t,e)=>typeof e=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>t.includes(r))||t[t.length-1].toLowerCase().includes("opacity")?e:`${e}px`:e;function QT(t,e){const{prefix:n,shouldSkipGeneratingVar:r}=e||{},i={},o={},s={};return Zee(t,(a,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(a,l))){const u=`--${n?`${n}-`:""}${a.join("-")}`,d=ete(a,l);Object.assign(i,{[u]:d}),QN(o,a,`var(${u})`,c),QN(s,a,`var(${u}, ${d})`,c)}},a=>a[0]==="vars"),{css:i,vars:o,varsWithDefaults:s}}function tte(t,e={}){const{getSelector:n=x,disableCssColorScheme:r,colorSchemeSelector:i}=e,{colorSchemes:o={},components:s,defaultColorScheme:a="light",...l}=t,{vars:c,css:u,varsWithDefaults:d}=QT(l,e);let f=d;const p={},{[a]:v,...y}=o;if(Object.entries(y||{}).forEach(([_,C])=>{const{vars:P,css:A,varsWithDefaults:R}=QT(C,e);f=Xs(f,R),p[_]={css:A,vars:P}}),v){const{css:_,vars:C,varsWithDefaults:P}=QT(v,e);f=Xs(f,P),p[a]={css:_,vars:C}}function x(_,C){var A,R;let P=i;if(i==="class"&&(P=".%s"),i==="data"&&(P="[data-%s]"),i!=null&&i.startsWith("data-")&&!i.includes("%s")&&(P=`[${i}="%s"]`),_){if(P==="media")return t.defaultColorScheme===_?":root":{[`@media (prefers-color-scheme: ${((R=(A=o[_])==null?void 0:A.palette)==null?void 0:R.mode)||_})`]:{":root":C}};if(P)return t.defaultColorScheme===_?`:root, ${P.replace("%s",String(_))}`:P.replace("%s",String(_))}return":root"}return{vars:f,generateThemeVars:()=>{let _={...c};return Object.entries(p).forEach(([,{vars:C}])=>{_=Xs(_,C)}),_},generateStyleSheets:()=>{var k,F;const _=[],C=t.defaultColorScheme||"light";function P(w,L){Object.keys(L).length&&_.push(typeof w=="string"?{[w]:{...L}}:w)}P(n(void 0,{...u}),u);const{[C]:A,...R}=p;if(A){const{css:w}=A,L=(F=(k=o[C])==null?void 0:k.palette)==null?void 0:F.mode,z=!r&&L?{colorScheme:L,...w}:{...w};P(n(C,{...z}),z)}return Object.entries(R).forEach(([w,{css:L}])=>{var W,Y;const z=(Y=(W=o[w])==null?void 0:W.palette)==null?void 0:Y.mode,G=!r&&z?{colorScheme:z,...L}:{...L};P(n(w,{...G}),G)}),_}}}function nte(t){return function(n){return t==="media"?`@media (prefers-color-scheme: ${n})`:t?t.startsWith("data-")&&!t.includes("%s")?`[${t}="${n}"] &`:t==="class"?`.${n} &`:t==="data"?`[data-${n}] &`:`${t.replace("%s",n)} &`:"&"}}function mG(){return{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:ob.white,default:ob.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}}}const rte=mG();function gG(){return{text:{primary:ob.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:ob.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}}}const ZN=gG();function eF(t,e,n,r){const i=r.light||r,o=r.dark||r*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=NL(t.main,i):e==="dark"&&(t.dark=OL(t.main,o)))}function ite(t="light"){return t==="dark"?{main:Lm[200],light:Lm[50],dark:Lm[400]}:{main:Lm[700],light:Lm[400],dark:Lm[800]}}function ote(t="light"){return t==="dark"?{main:Bm[200],light:Bm[50],dark:Bm[400]}:{main:Bm[500],light:Bm[300],dark:Bm[700]}}function ste(t="light"){return t==="dark"?{main:Im[500],light:Im[300],dark:Im[700]}:{main:Im[700],light:Im[400],dark:Im[800]}}function ate(t="light"){return t==="dark"?{main:km[400],light:km[300],dark:km[700]}:{main:km[700],light:km[500],dark:km[900]}}function lte(t="light"){return t==="dark"?{main:Dm[400],light:Dm[300],dark:Dm[700]}:{main:Dm[800],light:Dm[500],dark:Dm[900]}}function cte(t="light"){return t==="dark"?{main:ly[400],light:ly[300],dark:ly[700]}:{main:"#ed6c02",light:ly[500],dark:ly[900]}}function UL(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:r=.2,...i}=t,o=t.primary||ite(e),s=t.secondary||ote(e),a=t.error||ste(e),l=t.info||ate(e),c=t.success||lte(e),u=t.warning||cte(e);function d(y){return Lee(y,ZN.text.primary)>=n?ZN.text.primary:rte.text.primary}const f=({color:y,name:x,mainShade:g=500,lightShade:b=300,darkShade:_=700})=>{if(y={...y},!y.main&&y[g]&&(y.main=y[g]),!y.hasOwnProperty("main"))throw new Error(oh(11,x?` (${x})`:"",g));if(typeof y.main!="string")throw new Error(oh(12,x?` (${x})`:"",JSON.stringify(y.main)));return eF(y,"light",b,r),eF(y,"dark",_,r),y.contrastText||(y.contrastText=d(y.main)),y};let p;return e==="light"?p=mG():e==="dark"&&(p=gG()),Xs({common:{...ob},mode:e,primary:f({color:o,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:u,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:cQ,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r,...p},i)}function ute(t){const e={};return Object.entries(t).forEach(r=>{const[i,o]=r;typeof o=="object"&&(e[i]=`${o.fontStyle?`${o.fontStyle} `:""}${o.fontVariant?`${o.fontVariant} `:""}${o.fontWeight?`${o.fontWeight} `:""}${o.fontStretch?`${o.fontStretch} `:""}${o.fontSize||""}${o.lineHeight?`/${o.lineHeight} `:""}${o.fontFamily||""}`)}),e}function dte(t,e){return{toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...e}}function fte(t){return Math.round(t*1e5)/1e5}const tF={textTransform:"uppercase"},nF='"Roboto", "Helvetica", "Arial", sans-serif';function pte(t,e){const{fontFamily:n=nF,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:o=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}=typeof e=="function"?e(t):e,f=r/14,p=u||(x=>`${x/l*f}rem`),v=(x,g,b,_,C)=>({fontFamily:n,fontWeight:x,fontSize:p(g),lineHeight:b,...n===nF?{letterSpacing:`${fte(_/g)}em`}:{},...C,...c}),y={h1:v(i,96,1.167,-1.5),h2:v(i,60,1.2,-.5),h3:v(o,48,1.167,0),h4:v(o,34,1.235,.25),h5:v(o,24,1.334,0),h6:v(s,20,1.6,.15),subtitle1:v(o,16,1.75,.15),subtitle2:v(s,14,1.57,.1),body1:v(o,16,1.5,.15),body2:v(o,14,1.43,.15),button:v(s,14,1.75,.4,tF),caption:v(o,12,1.66,.4),overline:v(o,12,2.66,1,tF),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Xs({htmlFontSize:l,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:o,fontWeightMedium:s,fontWeightBold:a,...y},d,{clone:!1})}const hte=.2,mte=.14,gte=.12;function wr(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${hte})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${mte})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${gte})`].join(",")}const vte=["none",wr(0,2,1,-1,0,1,1,0,0,1,3,0),wr(0,3,1,-2,0,2,2,0,0,1,5,0),wr(0,3,3,-2,0,3,4,0,0,1,8,0),wr(0,2,4,-1,0,4,5,0,0,1,10,0),wr(0,3,5,-1,0,5,8,0,0,1,14,0),wr(0,3,5,-1,0,6,10,0,0,1,18,0),wr(0,4,5,-2,0,7,10,1,0,2,16,1),wr(0,5,5,-3,0,8,10,1,0,3,14,2),wr(0,5,6,-3,0,9,12,1,0,3,16,2),wr(0,6,6,-3,0,10,14,1,0,4,18,3),wr(0,6,7,-4,0,11,15,1,0,4,20,3),wr(0,7,8,-4,0,12,17,2,0,5,22,4),wr(0,7,8,-4,0,13,19,2,0,5,24,4),wr(0,7,9,-4,0,14,21,2,0,5,26,4),wr(0,8,9,-5,0,15,22,2,0,6,28,5),wr(0,8,10,-5,0,16,24,2,0,6,30,5),wr(0,8,11,-5,0,17,26,2,0,6,32,5),wr(0,9,11,-5,0,18,28,2,0,7,34,6),wr(0,9,12,-6,0,19,29,2,0,7,36,6),wr(0,10,13,-6,0,20,31,3,0,8,38,7),wr(0,10,13,-6,0,21,33,3,0,8,40,7),wr(0,10,14,-6,0,22,35,3,0,8,42,7),wr(0,11,14,-7,0,23,36,3,0,9,44,8),wr(0,11,15,-7,0,24,38,3,0,9,46,8)],yte={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)"},xte={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function rF(t){return`${Math.round(t)}ms`}function bte(t){if(!t)return 0;const e=t/36;return Math.min(Math.round((4+15*e**.25+e/5)*10),3e3)}function _te(t){const e={...yte,...t.easing},n={...xte,...t.duration};return{getAutoHeightDuration:bte,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=e.easeInOut,delay:l=0,...c}=o;return(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof s=="string"?s:rF(s)} ${a} ${typeof l=="string"?l:rF(l)}`).join(",")},...t,easing:e,duration:n}}const Ste={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Cte(t){return Kl(t)||typeof t>"u"||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||Array.isArray(t)}function vG(t={}){const e={...t};function n(r){const i=Object.entries(r);for(let o=0;o{e[n]=FH(t[n])}),e}function Xs(t,e,n={clone:!0}){const r=n.clone?{...t}:t;return Kl(t)&&Kl(e)&&Object.keys(e).forEach(i=>{P.isValidElement(e[i])?r[i]=e[i]:Kl(e[i])&&Object.prototype.hasOwnProperty.call(t,i)&&Kl(t[i])?r[i]=Xs(t[i],e[i],n):n.clone?r[i]=Kl(e[i])?FH(e[i]):e[i]:r[i]=e[i]}),r}const JQ=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,r)=>n.val-r.val),e.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function qQ(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...i}=t,o=JQ(e),s=Object.keys(o);function a(f){return`@media (min-width:${typeof e[f]=="number"?e[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof e[f]=="number"?e[f]:f)-r/100}${n})`}function c(f,p){const v=s.indexOf(p);return`@media (min-width:${typeof e[f]=="number"?e[f]:f}${n}) and (max-width:${(v!==-1&&typeof e[s[v]]=="number"?e[s[v]]:p)-r/100}${n})`}function u(f){return s.indexOf(f)+1r.startsWith("@container")).sort((r,i)=>{var s,a;const o=/min-width:\s*([0-9.]+)/;return+(((s=r.match(o))==null?void 0:s[1])||0)-+(((a=i.match(o))==null?void 0:a[1])||0)});return n.length?n.reduce((r,i)=>{const o=e[i];return delete r[i],r[i]=o,r},{...e}):e}function ZQ(t,e){return e==="@"||e.startsWith("@")&&(t.some(n=>e.startsWith(`@${n}`))||!!e.match(/^@\d/))}function eZ(t,e){const n=e.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,i]=n,o=Number.isNaN(+r)?r||0:+r;return t.containerQueries(i).up(o)}function tZ(t){const e=(o,s)=>o.replace("@media",s?`@container ${s}`:"@container");function n(o,s){o.up=(...a)=>e(t.breakpoints.up(...a),s),o.down=(...a)=>e(t.breakpoints.down(...a),s),o.between=(...a)=>e(t.breakpoints.between(...a),s),o.only=(...a)=>e(t.breakpoints.only(...a),s),o.not=(...a)=>{const l=e(t.breakpoints.not(...a),s);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},i=o=>(n(r,o),r);return n(i),{...t,containerQueries:i}}const nZ={borderRadius:4};function ax(t,e){return e?Xs(t,e,{clone:!1}):t}const cM={xs:0,sm:600,md:900,lg:1200,xl:1536},EN={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${cM[t]}px)`},rZ={containerQueries:t=>({up:e=>{let n=typeof e=="number"?e:cM[e]||e;return typeof n=="number"&&(n=`${n}px`),t?`@container ${t} (min-width:${n})`:`@container (min-width:${n})`}})};function _u(t,e,n){const r=t.theme||{};if(Array.isArray(e)){const o=r.breakpoints||EN;return e.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(e[l]),s),{})}if(typeof e=="object"){const o=r.breakpoints||EN;return Object.keys(e).reduce((s,a)=>{if(ZQ(o.keys,a)){const l=eZ(r.containerQueries?r:rZ,a);l&&(s[l]=n(e[a],a))}else if(Object.keys(o.values||cM).includes(a)){const l=o.up(a);s[l]=n(e[a],a)}else{const l=a;s[l]=e[l]}return s},{})}return n(e)}function iZ(t={}){var n;return((n=t.keys)==null?void 0:n.reduce((r,i)=>{const o=t.up(i);return r[o]={},r},{}))||{}}function oZ(t,e){return t.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},e)}function _n(t){if(typeof t!="string")throw new Error(eh(7));return t.charAt(0).toUpperCase()+t.slice(1)}function uM(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const r=`vars.${e}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,t);if(r!=null)return r}return e.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,t)}function vA(t,e,n,r=n){let i;return typeof t=="function"?i=t(n):Array.isArray(t)?i=t[n]||r:i=uM(t,n)||r,e&&(i=e(i,r,t)),i}function ci(t){const{prop:e,cssProperty:n=t.prop,themeKey:r,transform:i}=t,o=s=>{if(s[e]==null)return null;const a=s[e],l=s.theme,c=uM(l,r)||{};return _u(s,a,d=>{let f=vA(c,i,d);return d===f&&typeof d=="string"&&(f=vA(c,i,`${e}${d==="default"?"":_n(d)}`,d)),n===!1?f:{[n]:f}})};return o.propTypes={},o.filterProps=[e],o}function sZ(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const aZ={m:"margin",p:"padding"},lZ={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},TN={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},cZ=sZ(t=>{if(t.length>2)if(TN[t])t=TN[t];else return[t];const[e,n]=t.split(""),r=aZ[e],i=lZ[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),mL=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],gL=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...mL,...gL];function Lb(t,e,n,r){const i=uM(t,e,!0)??n;return typeof i=="number"||typeof i=="string"?o=>typeof o=="string"?o:typeof i=="string"?`calc(${o} * ${i})`:i*o:Array.isArray(i)?o=>{if(typeof o=="string")return o;const s=Math.abs(o),a=i[s];return o>=0?a:typeof a=="number"?-a:`-${a}`}:typeof i=="function"?i:()=>{}}function vL(t){return Lb(t,"spacing",8)}function kb(t,e){return typeof e=="string"||e==null?e:t(e)}function uZ(t,e){return n=>t.reduce((r,i)=>(r[i]=kb(e,n),r),{})}function dZ(t,e,n,r){if(!e.includes(n))return null;const i=cZ(n),o=uZ(i,r),s=t[n];return _u(t,s,o)}function UH(t,e){const n=vL(t.theme);return Object.keys(t).map(r=>dZ(t,e,r,n)).reduce(ax,{})}function Wr(t){return UH(t,mL)}Wr.propTypes={};Wr.filterProps=mL;function jr(t){return UH(t,gL)}jr.propTypes={};jr.filterProps=gL;function zH(t=8,e=vL({spacing:t})){if(t.mui)return t;const n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=e(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function dM(...t){const e=t.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>e[o]?ax(i,e[o](r)):i,{});return n.propTypes={},n.filterProps=t.reduce((r,i)=>r.concat(i.filterProps),[]),n}function Sa(t){return typeof t!="number"?t:`${t}px solid`}function Ua(t,e){return ci({prop:t,themeKey:"borders",transform:e})}const fZ=Ua("border",Sa),pZ=Ua("borderTop",Sa),hZ=Ua("borderRight",Sa),mZ=Ua("borderBottom",Sa),gZ=Ua("borderLeft",Sa),vZ=Ua("borderColor"),yZ=Ua("borderTopColor"),xZ=Ua("borderRightColor"),bZ=Ua("borderBottomColor"),_Z=Ua("borderLeftColor"),SZ=Ua("outline",Sa),CZ=Ua("outlineColor"),fM=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Lb(t.theme,"shape.borderRadius",4),n=r=>({borderRadius:kb(e,r)});return _u(t,t.borderRadius,n)}return null};fM.propTypes={};fM.filterProps=["borderRadius"];dM(fZ,pZ,hZ,mZ,gZ,vZ,yZ,xZ,bZ,_Z,fM,SZ,CZ);const pM=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Lb(t.theme,"spacing",8),n=r=>({gap:kb(e,r)});return _u(t,t.gap,n)}return null};pM.propTypes={};pM.filterProps=["gap"];const hM=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Lb(t.theme,"spacing",8),n=r=>({columnGap:kb(e,r)});return _u(t,t.columnGap,n)}return null};hM.propTypes={};hM.filterProps=["columnGap"];const mM=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Lb(t.theme,"spacing",8),n=r=>({rowGap:kb(e,r)});return _u(t,t.rowGap,n)}return null};mM.propTypes={};mM.filterProps=["rowGap"];const AZ=ci({prop:"gridColumn"}),wZ=ci({prop:"gridRow"}),MZ=ci({prop:"gridAutoFlow"}),EZ=ci({prop:"gridAutoColumns"}),TZ=ci({prop:"gridAutoRows"}),RZ=ci({prop:"gridTemplateColumns"}),PZ=ci({prop:"gridTemplateRows"}),IZ=ci({prop:"gridTemplateAreas"}),BZ=ci({prop:"gridArea"});dM(pM,hM,mM,AZ,wZ,MZ,EZ,TZ,RZ,PZ,IZ,BZ);function Fg(t,e){return e==="grey"?e:t}const LZ=ci({prop:"color",themeKey:"palette",transform:Fg}),kZ=ci({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Fg}),DZ=ci({prop:"backgroundColor",themeKey:"palette",transform:Fg});dM(LZ,kZ,DZ);function Ns(t){return t<=1&&t!==0?`${t*100}%`:t}const OZ=ci({prop:"width",transform:Ns}),yL=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var i,o,s,a,l;const r=((s=(o=(i=t.theme)==null?void 0:i.breakpoints)==null?void 0:o.values)==null?void 0:s[n])||cM[n];return r?((l=(a=t.theme)==null?void 0:a.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${t.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Ns(n)}};return _u(t,t.maxWidth,e)}return null};yL.filterProps=["maxWidth"];const NZ=ci({prop:"minWidth",transform:Ns}),FZ=ci({prop:"height",transform:Ns}),UZ=ci({prop:"maxHeight",transform:Ns}),zZ=ci({prop:"minHeight",transform:Ns});ci({prop:"size",cssProperty:"width",transform:Ns});ci({prop:"size",cssProperty:"height",transform:Ns});const $Z=ci({prop:"boxSizing"});dM(OZ,yL,NZ,FZ,UZ,zZ,$Z);const Db={border:{themeKey:"borders",transform:Sa},borderTop:{themeKey:"borders",transform:Sa},borderRight:{themeKey:"borders",transform:Sa},borderBottom:{themeKey:"borders",transform:Sa},borderLeft:{themeKey:"borders",transform:Sa},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Sa},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:fM},color:{themeKey:"palette",transform:Fg},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Fg},backgroundColor:{themeKey:"palette",transform:Fg},p:{style:jr},pt:{style:jr},pr:{style:jr},pb:{style:jr},pl:{style:jr},px:{style:jr},py:{style:jr},padding:{style:jr},paddingTop:{style:jr},paddingRight:{style:jr},paddingBottom:{style:jr},paddingLeft:{style:jr},paddingX:{style:jr},paddingY:{style:jr},paddingInline:{style:jr},paddingInlineStart:{style:jr},paddingInlineEnd:{style:jr},paddingBlock:{style:jr},paddingBlockStart:{style:jr},paddingBlockEnd:{style:jr},m:{style:Wr},mt:{style:Wr},mr:{style:Wr},mb:{style:Wr},ml:{style:Wr},mx:{style:Wr},my:{style:Wr},margin:{style:Wr},marginTop:{style:Wr},marginRight:{style:Wr},marginBottom:{style:Wr},marginLeft:{style:Wr},marginX:{style:Wr},marginY:{style:Wr},marginInline:{style:Wr},marginInlineStart:{style:Wr},marginInlineEnd:{style:Wr},marginBlock:{style:Wr},marginBlockStart:{style:Wr},marginBlockEnd:{style:Wr},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:pM},rowGap:{style:mM},columnGap:{style:hM},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ns},maxWidth:{style:yL},minWidth:{transform:Ns},height:{transform:Ns},maxHeight:{transform:Ns},minHeight:{transform:Ns},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function HZ(...t){const e=t.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(e);return t.every(r=>n.size===Object.keys(r).length)}function GZ(t,e){return typeof t=="function"?t(e):t}function VZ(){function t(n,r,i,o){const s={[n]:r,theme:i},a=o[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:d}=a;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const f=uM(i,c)||{};return d?d(s):_u(s,r,v=>{let y=vA(f,u,v);return v===y&&typeof v=="string"&&(y=vA(f,u,`${n}${v==="default"?"":_n(v)}`,v)),l===!1?y:{[l]:y}})}function e(n){const{sx:r,theme:i={}}=n||{};if(!r)return null;const o=i.unstable_sxConfig??Db;function s(a){let l=a;if(typeof a=="function")l=a(i);else if(typeof a!="object")return a;if(!l)return null;const c=iZ(i.breakpoints),u=Object.keys(c);let d=c;return Object.keys(l).forEach(f=>{const p=GZ(l[f],i);if(p!=null)if(typeof p=="object")if(o[f])d=ax(d,t(f,p,i,o));else{const v=_u({theme:i},p,y=>({[f]:y}));HZ(v,p)?d[f]=e({sx:p,theme:i}):d=ax(d,v)}else d=ax(d,t(f,p,i,o))}),QQ(i,oZ(u,d))}return Array.isArray(r)?r.map(s):s(r)}return e}const th=VZ();th.filterProps=["sx"];function WZ(t,e){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[t])||typeof n.getColorSchemeSelector!="function")return{};let i=n.getColorSchemeSelector(t);return i==="&"?e:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:e})}return n.palette.mode===t?e:{}}function xL(t={},...e){const{breakpoints:n={},palette:r={},spacing:i,shape:o={},...s}=t,a=qQ(n),l=zH(i);let c=Xs({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...nZ,...o}},s);return c=tZ(c),c.applyStyles=WZ,c=e.reduce((u,d)=>Xs(u,d),c),c.unstable_sxConfig={...Db,...s==null?void 0:s.unstable_sxConfig},c.unstable_sx=function(d){return th({sx:d,theme:this})},c}function jZ(t){return Object.keys(t).length===0}function XZ(t=null){const e=P.useContext(vh);return!e||jZ(e)?t:e}const KZ=xL();function $H(t=KZ){return XZ(t)}const YZ=t=>{var r;const e={systemProps:{},otherProps:{}},n=((r=t==null?void 0:t.theme)==null?void 0:r.unstable_sxConfig)??Db;return Object.keys(t).forEach(i=>{n[i]?e.systemProps[i]=t[i]:e.otherProps[i]=t[i]}),e};function HH(t){const{sx:e,...n}=t,{systemProps:r,otherProps:i}=YZ(n);let o;return Array.isArray(e)?o=[r,...e]:typeof e=="function"?o=(...s)=>{const a=e(...s);return Kl(a)?{...r,...a}:r}:o={...r,...e},{...i,sx:o}}const RN=t=>t,JZ=()=>{let t=RN;return{configure(e){t=e},generate(e){return t(e)},reset(){t=RN}}},GH=JZ();function VH(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;ea!=="theme"&&a!=="sx"&&a!=="as"})(th);return P.forwardRef(function(l,c){const u=$H(n),{className:d,component:f="div",...p}=HH(l);return O.jsx(o,{as:f,ref:c,className:_e(d,i?i(r):r),theme:e&&u[e]||u,...p})})}const QZ={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function _s(t,e,n="Mui"){const r=QZ[e];return r?`${n}-${r}`:`${GH.generate(t)}-${e}`}function Ko(t,e,n="Mui"){const r={};return e.forEach(i=>{r[i]=_s(t,i,n)}),r}function WH(t){const{variants:e,...n}=t,r={variants:e,style:MN(n),isProcessed:!0};return r.style===n||e&&e.forEach(i=>{typeof i.style!="function"&&(i.style=MN(i.style))}),r}const ZZ=xL();function UT(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}function eee(t){return t?(e,n)=>n[t]:null}function tee(t,e,n){t.theme=iee(t.theme)?n:t.theme[e]||t.theme}function yC(t,e){const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(r=>yC(t,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:i,...o}=n;r=o}return jH(t,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function jH(t,e,n=[]){var i;let r;e:for(let o=0;o{YQ(a,T=>T.filter(A=>A!==th));const{name:c,slot:u,skipVariantsResolver:d,skipSx:f,overridesResolver:p=eee(see(u)),...v}=l,y=d!==void 0?d:u&&u!=="Root"&&u!=="root"||!1,x=f||!1;let g=UT;u==="Root"||u==="root"?g=r:u?g=i:oee(a)&&(g=void 0);const b=NH(a,{shouldForwardProp:g,label:ree(),...v}),_=T=>{if(typeof T=="function"&&T.__emotion_real!==T)return function(R){return yC(R,T)};if(Kl(T)){const A=WH(T);return A.variants?function(D){return yC(D,A)}:A.style}return T},C=(...T)=>{const A=[],R=T.map(_),D=[];if(A.push(o),c&&p&&D.push(function(H){var X,ee;const j=(ee=(X=H.theme.components)==null?void 0:X[c])==null?void 0:ee.styleOverrides;if(!j)return null;const J={};for(const $ in j)J[$]=yC(H,j[$]);return p(H,J)}),c&&!y&&D.push(function(H){var J,X;const V=H.theme,j=(X=(J=V==null?void 0:V.components)==null?void 0:J[c])==null?void 0:X.variants;return j?jH(H,j):null}),x||D.push(th),Array.isArray(R[0])){const L=R.shift(),H=new Array(A.length).fill(""),V=new Array(D.length).fill("");let j;j=[...H,...L,...V],j.raw=[...H,...L.raw,...V],A.unshift(j)}const U=[...A,...R,...D],w=b(...U);return a.muiName&&(w.muiName=a.muiName),w};return b.withConfig&&(C.withConfig=b.withConfig),C}}function ree(t,e){return void 0}function iee(t){for(const e in t)return!1;return!0}function oee(t){return typeof t=="string"&&t.charCodeAt(0)>96}function see(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}function yA(t,e){const n={...e};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const i=r;if(i==="components"||i==="slots")n[i]={...t[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const o=t[i],s=e[i];if(!s)n[i]=o||{};else if(!o)n[i]=s;else{n[i]={...s};for(const a in o)if(Object.prototype.hasOwnProperty.call(o,a)){const l=a;n[i][l]=yA(o[l],s[l])}}}else n[i]===void 0&&(n[i]=t[i])}return n}const PI=typeof window<"u"?P.useLayoutEffect:P.useEffect;function aee(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}function bL(t,e=0,n=1){return aee(t,e,n)}function lee(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function jd(t){if(t.type)return t;if(t.charAt(0)==="#")return jd(lee(t));const e=t.indexOf("("),n=t.substring(0,e);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(eh(9,t));let r=t.substring(e+1,t.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(eh(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const cee=t=>{const e=jd(t);return e.values.slice(0,3).map((n,r)=>e.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Fy=(t,e)=>{try{return cee(t)}catch{return t}};function gM(t){const{type:e,colorSpace:n}=t;let{values:r}=t;return e.includes("rgb")?r=r.map((i,o)=>o<3?parseInt(i,10):i):e.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),e.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${e}(${r})`}function XH(t){t=jd(t);const{values:e}=t,n=e[0],r=e[1]/100,i=e[2]/100,o=r*Math.min(i,1-i),s=(c,u=(c+n/30)%12)=>i-o*Math.max(Math.min(u-3,9-u,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return t.type==="hsla"&&(a+="a",l.push(e[3])),gM({type:a,values:l})}function II(t){t=jd(t);let e=t.type==="hsl"||t.type==="hsla"?jd(XH(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function uee(t,e){const n=II(t),r=II(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Qc(t,e){return t=jd(t),e=bL(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,gM(t)}function L1(t,e,n){try{return Qc(t,e)}catch{return t}}function _L(t,e){if(t=jd(t),e=bL(e),t.type.includes("hsl"))t.values[2]*=1-e;else if(t.type.includes("rgb")||t.type.includes("color"))for(let n=0;n<3;n+=1)t.values[n]*=1-e;return gM(t)}function nr(t,e,n){try{return _L(t,e)}catch{return t}}function SL(t,e){if(t=jd(t),e=bL(e),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*e;else if(t.type.includes("rgb"))for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.includes("color"))for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return gM(t)}function rr(t,e,n){try{return SL(t,e)}catch{return t}}function dee(t,e=.15){return II(t)>.5?_L(t,e):SL(t,e)}function k1(t,e,n){try{return dee(t,e)}catch{return t}}function PN(...t){return t.reduce((e,n)=>n==null?e:function(...i){e.apply(this,i),n.apply(this,i)},()=>{})}function nh(t){return t&&t.ownerDocument||document}function xA(t){return nh(t).defaultView||window}function BI(t,e){typeof t=="function"?t(e):t&&(t.current=e)}let IN=0;function fee(t){const[e,n]=P.useState(t),r=t||e;return P.useEffect(()=>{e==null&&(IN+=1,n(`mui-${IN}`))},[e]),r}const pee={...NC},BN=pee.useId;function hee(t){if(BN!==void 0){const e=BN();return t??e}return fee(t)}function Ug(t){const e=P.useRef(t);return PI(()=>{e.current=t}),P.useRef((...n)=>(0,e.current)(...n)).current}function Xd(...t){return P.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{BI(n,e)})},t)}const LN={};function KH(t,e){const n=P.useRef(LN);return n.current===LN&&(n.current=t(e)),n}const mee=[];function gee(t){P.useEffect(t,mee)}let vee=class YH{constructor(){X0(this,"currentId",null);X0(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});X0(this,"disposeEffect",()=>this.clear)}static create(){return new YH}start(e,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},e)}};function yee(){const t=KH(vee.create).current;return gee(t.disposeEffect),t}function kN(t){try{return t.matches(":focus-visible")}catch{}return!1}function xee(t=window){const e=t.document.documentElement.clientWidth;return t.innerWidth-e}function bee(t){return P.Children.toArray(t).filter(e=>P.isValidElement(e))}function na(t,e,n=void 0){const r={};for(const i in t){const o=t[i];let s="",a=!0;for(let l=0;lr.match(/^on[A-Z]/)&&typeof t[r]=="function"&&!e.includes(r)).forEach(r=>{n[r]=t[r]}),n}function DN(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>!(n.match(/^on[A-Z]/)&&typeof t[n]=="function")).forEach(n=>{e[n]=t[n]}),e}function Cee(t){const{getSlotProps:e,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=t;if(!e){const p=_e(n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),v={...n==null?void 0:n.style,...i==null?void 0:i.style,...r==null?void 0:r.style},y={...n,...i,...r};return p.length>0&&(y.className=p),Object.keys(v).length>0&&(y.style=v),{props:y,internalRef:void 0}}const s=JH({...i,...r}),a=DN(r),l=DN(i),c=e(s),u=_e(c==null?void 0:c.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),d={...c==null?void 0:c.style,...n==null?void 0:n.style,...i==null?void 0:i.style,...r==null?void 0:r.style},f={...c,...n,...l,...a};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}function Aee(t,e,n){return typeof t=="function"?t(e,n):t}function CL(t){var e;return parseInt(P.version,10)>=19?((e=t==null?void 0:t.props)==null?void 0:e.ref)||null:(t==null?void 0:t.ref)||null}const wee=P.createContext(void 0);function Mee(t){const{theme:e,name:n,props:r}=t;if(!e||!e.components||!e.components[n])return r;const i=e.components[n];return i.defaultProps?yA(i.defaultProps,r):!i.styleOverrides&&!i.variants?yA(i,r):r}function Eee({props:t,name:e}){const n=P.useContext(wee);return Mee({props:t,name:e,theme:{components:n}})}const ON={theme:void 0};function Tee(t){let e,n;return function(i){let o=e;return(o===void 0||i.theme!==n)&&(ON.theme=i.theme,o=WH(t(ON)),e=o,n=i.theme),o}}function Ree(t=""){function e(...r){if(!r.length)return"";const i=r[0];return typeof i=="string"&&!i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${t?`${t}-`:""}${i}${e(...r.slice(1))})`:`, ${i}`}return(r,...i)=>`var(--${t?`${t}-`:""}${r}${e(...i)})`}const NN=(t,e,n,r=[])=>{let i=t;e.forEach((o,s)=>{s===e.length-1?Array.isArray(i)?i[Number(o)]=n:i&&typeof i=="object"&&(i[o]=n):i&&typeof i=="object"&&(i[o]||(i[o]=r.includes(o)?[]:{}),i=i[o])})},Pee=(t,e,n)=>{function r(i,o=[],s=[]){Object.entries(i).forEach(([a,l])=>{(!n||n&&!n([...o,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...o,a],Array.isArray(l)?[...s,a]:s):e([...o,a],l,s))})}r(t)},Iee=(t,e)=>typeof e=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>t.includes(r))||t[t.length-1].toLowerCase().includes("opacity")?e:`${e}px`:e;function zT(t,e){const{prefix:n,shouldSkipGeneratingVar:r}=e||{},i={},o={},s={};return Pee(t,(a,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(a,l))){const u=`--${n?`${n}-`:""}${a.join("-")}`,d=Iee(a,l);Object.assign(i,{[u]:d}),NN(o,a,`var(${u})`,c),NN(s,a,`var(${u}, ${d})`,c)}},a=>a[0]==="vars"),{css:i,vars:o,varsWithDefaults:s}}function Bee(t,e={}){const{getSelector:n=x,disableCssColorScheme:r,colorSchemeSelector:i}=e,{colorSchemes:o={},components:s,defaultColorScheme:a="light",...l}=t,{vars:c,css:u,varsWithDefaults:d}=zT(l,e);let f=d;const p={},{[a]:v,...y}=o;if(Object.entries(y||{}).forEach(([_,C])=>{const{vars:T,css:A,varsWithDefaults:R}=zT(C,e);f=Xs(f,R),p[_]={css:A,vars:T}}),v){const{css:_,vars:C,varsWithDefaults:T}=zT(v,e);f=Xs(f,T),p[a]={css:_,vars:C}}function x(_,C){var A,R;let T=i;if(i==="class"&&(T=".%s"),i==="data"&&(T="[data-%s]"),i!=null&&i.startsWith("data-")&&!i.includes("%s")&&(T=`[${i}="%s"]`),_){if(T==="media")return t.defaultColorScheme===_?":root":{[`@media (prefers-color-scheme: ${((R=(A=o[_])==null?void 0:A.palette)==null?void 0:R.mode)||_})`]:{":root":C}};if(T)return t.defaultColorScheme===_?`:root, ${T.replace("%s",String(_))}`:T.replace("%s",String(_))}return":root"}return{vars:f,generateThemeVars:()=>{let _={...c};return Object.entries(p).forEach(([,{vars:C}])=>{_=Xs(_,C)}),_},generateStyleSheets:()=>{var D,U;const _=[],C=t.defaultColorScheme||"light";function T(w,L){Object.keys(L).length&&_.push(typeof w=="string"?{[w]:{...L}}:w)}T(n(void 0,{...u}),u);const{[C]:A,...R}=p;if(A){const{css:w}=A,L=(U=(D=o[C])==null?void 0:D.palette)==null?void 0:U.mode,H=!r&&L?{colorScheme:L,...w}:{...w};T(n(C,{...H}),H)}return Object.entries(R).forEach(([w,{css:L}])=>{var j,J;const H=(J=(j=o[w])==null?void 0:j.palette)==null?void 0:J.mode,V=!r&&H?{colorScheme:H,...L}:{...L};T(n(w,{...V}),V)}),_}}}function Lee(t){return function(n){return t==="media"?`@media (prefers-color-scheme: ${n})`:t?t.startsWith("data-")&&!t.includes("%s")?`[${t}="${n}"] &`:t==="class"?`.${n} &`:t==="data"?`[data-${n}] &`:`${t.replace("%s",n)} &`:"&"}}function qH(){return{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:Jx.white,default:Jx.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}}}const kee=qH();function QH(){return{text:{primary:Jx.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:Jx.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}}}const FN=QH();function UN(t,e,n,r){const i=r.light||r,o=r.dark||r*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=SL(t.main,i):e==="dark"&&(t.dark=_L(t.main,o)))}function Dee(t="light"){return t==="dark"?{main:Em[200],light:Em[50],dark:Em[400]}:{main:Em[700],light:Em[400],dark:Em[800]}}function Oee(t="light"){return t==="dark"?{main:Mm[200],light:Mm[50],dark:Mm[400]}:{main:Mm[500],light:Mm[300],dark:Mm[700]}}function Nee(t="light"){return t==="dark"?{main:wm[500],light:wm[300],dark:wm[700]}:{main:wm[700],light:wm[400],dark:wm[800]}}function Fee(t="light"){return t==="dark"?{main:Tm[400],light:Tm[300],dark:Tm[700]}:{main:Tm[700],light:Tm[500],dark:Tm[900]}}function Uee(t="light"){return t==="dark"?{main:Rm[400],light:Rm[300],dark:Rm[700]}:{main:Rm[800],light:Rm[500],dark:Rm[900]}}function zee(t="light"){return t==="dark"?{main:ry[400],light:ry[300],dark:ry[700]}:{main:"#ed6c02",light:ry[500],dark:ry[900]}}function AL(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:r=.2,...i}=t,o=t.primary||Dee(e),s=t.secondary||Oee(e),a=t.error||Nee(e),l=t.info||Fee(e),c=t.success||Uee(e),u=t.warning||zee(e);function d(y){return uee(y,FN.text.primary)>=n?FN.text.primary:kee.text.primary}const f=({color:y,name:x,mainShade:g=500,lightShade:b=300,darkShade:_=700})=>{if(y={...y},!y.main&&y[g]&&(y.main=y[g]),!y.hasOwnProperty("main"))throw new Error(eh(11,x?` (${x})`:"",g));if(typeof y.main!="string")throw new Error(eh(12,x?` (${x})`:"",JSON.stringify(y.main)));return UN(y,"light",b,r),UN(y,"dark",_,r),y.contrastText||(y.contrastText=d(y.main)),y};let p;return e==="light"?p=qH():e==="dark"&&(p=QH()),Xs({common:{...Jx},mode:e,primary:f({color:o,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:u,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:zq,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r,...p},i)}function $ee(t){const e={};return Object.entries(t).forEach(r=>{const[i,o]=r;typeof o=="object"&&(e[i]=`${o.fontStyle?`${o.fontStyle} `:""}${o.fontVariant?`${o.fontVariant} `:""}${o.fontWeight?`${o.fontWeight} `:""}${o.fontStretch?`${o.fontStretch} `:""}${o.fontSize||""}${o.lineHeight?`/${o.lineHeight} `:""}${o.fontFamily||""}`)}),e}function Hee(t,e){return{toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...e}}function Gee(t){return Math.round(t*1e5)/1e5}const zN={textTransform:"uppercase"},$N='"Roboto", "Helvetica", "Arial", sans-serif';function Vee(t,e){const{fontFamily:n=$N,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:o=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}=typeof e=="function"?e(t):e,f=r/14,p=u||(x=>`${x/l*f}rem`),v=(x,g,b,_,C)=>({fontFamily:n,fontWeight:x,fontSize:p(g),lineHeight:b,...n===$N?{letterSpacing:`${Gee(_/g)}em`}:{},...C,...c}),y={h1:v(i,96,1.167,-1.5),h2:v(i,60,1.2,-.5),h3:v(o,48,1.167,0),h4:v(o,34,1.235,.25),h5:v(o,24,1.334,0),h6:v(s,20,1.6,.15),subtitle1:v(o,16,1.75,.15),subtitle2:v(s,14,1.57,.1),body1:v(o,16,1.5,.15),body2:v(o,14,1.43,.15),button:v(s,14,1.75,.4,zN),caption:v(o,12,1.66,.4),overline:v(o,12,2.66,1,zN),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Xs({htmlFontSize:l,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:o,fontWeightMedium:s,fontWeightBold:a,...y},d,{clone:!1})}const Wee=.2,jee=.14,Xee=.12;function Cr(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${Wee})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${jee})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${Xee})`].join(",")}const Kee=["none",Cr(0,2,1,-1,0,1,1,0,0,1,3,0),Cr(0,3,1,-2,0,2,2,0,0,1,5,0),Cr(0,3,3,-2,0,3,4,0,0,1,8,0),Cr(0,2,4,-1,0,4,5,0,0,1,10,0),Cr(0,3,5,-1,0,5,8,0,0,1,14,0),Cr(0,3,5,-1,0,6,10,0,0,1,18,0),Cr(0,4,5,-2,0,7,10,1,0,2,16,1),Cr(0,5,5,-3,0,8,10,1,0,3,14,2),Cr(0,5,6,-3,0,9,12,1,0,3,16,2),Cr(0,6,6,-3,0,10,14,1,0,4,18,3),Cr(0,6,7,-4,0,11,15,1,0,4,20,3),Cr(0,7,8,-4,0,12,17,2,0,5,22,4),Cr(0,7,8,-4,0,13,19,2,0,5,24,4),Cr(0,7,9,-4,0,14,21,2,0,5,26,4),Cr(0,8,9,-5,0,15,22,2,0,6,28,5),Cr(0,8,10,-5,0,16,24,2,0,6,30,5),Cr(0,8,11,-5,0,17,26,2,0,6,32,5),Cr(0,9,11,-5,0,18,28,2,0,7,34,6),Cr(0,9,12,-6,0,19,29,2,0,7,36,6),Cr(0,10,13,-6,0,20,31,3,0,8,38,7),Cr(0,10,13,-6,0,21,33,3,0,8,40,7),Cr(0,10,14,-6,0,22,35,3,0,8,42,7),Cr(0,11,14,-7,0,23,36,3,0,9,44,8),Cr(0,11,15,-7,0,24,38,3,0,9,46,8)],Yee={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)"},Jee={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function HN(t){return`${Math.round(t)}ms`}function qee(t){if(!t)return 0;const e=t/36;return Math.min(Math.round((4+15*e**.25+e/5)*10),3e3)}function Qee(t){const e={...Yee,...t.easing},n={...Jee,...t.duration};return{getAutoHeightDuration:qee,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=e.easeInOut,delay:l=0,...c}=o;return(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof s=="string"?s:HN(s)} ${a} ${typeof l=="string"?l:HN(l)}`).join(",")},...t,easing:e,duration:n}}const Zee={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ete(t){return Kl(t)||typeof t>"u"||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||Array.isArray(t)}function ZH(t={}){const e={...t};function n(r){const i=Object.entries(r);for(let o=0;oXs(p,v),f),f.unstable_sxConfig={...jb,...c==null?void 0:c.unstable_sxConfig},f.unstable_sx=function(v){return sh({sx:v,theme:this})},f.toRuntimeSource=vG,f}function WI(t){let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,Math.round(e*10)/1e3}const Ate=[...Array(25)].map((t,e)=>{if(e===0)return"none";const n=WI(e);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function yG(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function xG(t){return t==="dark"?Ate:[]}function wte(t){const{palette:e={mode:"light"},opacity:n,overlays:r,...i}=t,o=UL(e);return{palette:o,opacity:{...yG(o.mode),...n},overlays:r||xG(o.mode),...i}}function Mte(t){var e;return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!((e=t[1])!=null&&e.match(/(mode|contrastThreshold|tonalOffset)/))}const Ete=t=>[...[...Array(25)].map((e,n)=>`--${t?`${t}-`:""}overlays-${n}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],Tte=t=>(e,n)=>{const r=t.rootSelector||":root",i=t.colorSchemeSelector;let o=i;if(i==="class"&&(o=".%s"),i==="data"&&(o="[data-%s]"),i!=null&&i.startsWith("data-")&&!i.includes("%s")&&(o=`[${i}="%s"]`),t.defaultColorScheme===e){if(e==="dark"){const s={};return Ete(t.cssVarPrefix).forEach(a=>{s[a]=n[a],delete n[a]}),o==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:s}}:o?{[o.replace("%s",e)]:s,[`${r}, ${o.replace("%s",e)}`]:n}:{[r]:{...n,...s}}}if(o&&o!=="media")return`${r}, ${o.replace("%s",String(e))}`}else if(e){if(o==="media")return{[`@media (prefers-color-scheme: ${String(e)})`]:{[r]:n}};if(o)return o.replace("%s",String(e))}return r};function Rte(t,e){e.forEach(n=>{t[n]||(t[n]={})})}function ut(t,e,n){!t[e]&&n&&(t[e]=n)}function jy(t){return typeof t!="string"||!t.startsWith("hsl")?t:dG(t)}function Bc(t,e){`${e}Channel`in t||(t[`${e}Channel`]=Wy(jy(t[e]),`MUI: Can't create \`palette.${e}Channel\` because \`palette.${e}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). -To suppress this warning, you need to explicitly provide the \`palette.${e}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Pte(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const Fl=t=>{try{return t()}catch{}},Ite=(t="mui")=>Qee(t);function ZT(t,e,n,r){if(!e)return;e=e===!0?{}:e;const i=r==="dark"?"dark":"light";if(!n){t[r]=wte({...e,palette:{mode:i,...e==null?void 0:e.palette}});return}const{palette:o,...s}=VI({...n,palette:{mode:i,...e==null?void 0:e.palette}});return t[r]={...e,palette:o,opacity:{...yG(i),...e==null?void 0:e.opacity},overlays:(e==null?void 0:e.overlays)||xG(i)},s}function Bte(t={},...e){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:o="mui",shouldSkipGeneratingVar:s=Mte,colorSchemeSelector:a=n.light&&n.dark?"media":void 0,rootSelector:l=":root",...c}=t,u=Object.keys(n)[0],d=r||(n.light&&u!=="light"?"light":u),f=Ite(o),{[d]:p,light:v,dark:y,...x}=n,g={...x};let b=p;if((d==="dark"&&!("dark"in n)||d==="light"&&!("light"in n))&&(b=!0),!b)throw new Error(oh(21,d));const _=ZT(g,b,c,d);v&&!g.light&&ZT(g,v,void 0,"light"),y&&!g.dark&&ZT(g,y,void 0,"dark");let C={defaultColorScheme:d,..._,cssVarPrefix:o,colorSchemeSelector:a,rootSelector:l,getCssVar:f,colorSchemes:g,font:{...ute(_.typography),..._.font},spacing:Pte(c.spacing)};Object.keys(C.colorSchemes).forEach(F=>{const w=C.colorSchemes[F].palette,L=z=>{const G=z.split("-"),W=G[1],Y=G[2];return f(z,w[W][Y])};if(w.mode==="light"&&(ut(w.common,"background","#fff"),ut(w.common,"onBackground","#000")),w.mode==="dark"&&(ut(w.common,"background","#000"),ut(w.common,"onBackground","#fff")),Rte(w,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),w.mode==="light"){ut(w.Alert,"errorColor",or(w.error.light,.6)),ut(w.Alert,"infoColor",or(w.info.light,.6)),ut(w.Alert,"successColor",or(w.success.light,.6)),ut(w.Alert,"warningColor",or(w.warning.light,.6)),ut(w.Alert,"errorFilledBg",L("palette-error-main")),ut(w.Alert,"infoFilledBg",L("palette-info-main")),ut(w.Alert,"successFilledBg",L("palette-success-main")),ut(w.Alert,"warningFilledBg",L("palette-warning-main")),ut(w.Alert,"errorFilledColor",Fl(()=>w.getContrastText(w.error.main))),ut(w.Alert,"infoFilledColor",Fl(()=>w.getContrastText(w.info.main))),ut(w.Alert,"successFilledColor",Fl(()=>w.getContrastText(w.success.main))),ut(w.Alert,"warningFilledColor",Fl(()=>w.getContrastText(w.warning.main))),ut(w.Alert,"errorStandardBg",sr(w.error.light,.9)),ut(w.Alert,"infoStandardBg",sr(w.info.light,.9)),ut(w.Alert,"successStandardBg",sr(w.success.light,.9)),ut(w.Alert,"warningStandardBg",sr(w.warning.light,.9)),ut(w.Alert,"errorIconColor",L("palette-error-main")),ut(w.Alert,"infoIconColor",L("palette-info-main")),ut(w.Alert,"successIconColor",L("palette-success-main")),ut(w.Alert,"warningIconColor",L("palette-warning-main")),ut(w.AppBar,"defaultBg",L("palette-grey-100")),ut(w.Avatar,"defaultBg",L("palette-grey-400")),ut(w.Button,"inheritContainedBg",L("palette-grey-300")),ut(w.Button,"inheritContainedHoverBg",L("palette-grey-A100")),ut(w.Chip,"defaultBorder",L("palette-grey-400")),ut(w.Chip,"defaultAvatarColor",L("palette-grey-700")),ut(w.Chip,"defaultIconColor",L("palette-grey-700")),ut(w.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ut(w.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ut(w.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ut(w.LinearProgress,"primaryBg",sr(w.primary.main,.62)),ut(w.LinearProgress,"secondaryBg",sr(w.secondary.main,.62)),ut(w.LinearProgress,"errorBg",sr(w.error.main,.62)),ut(w.LinearProgress,"infoBg",sr(w.info.main,.62)),ut(w.LinearProgress,"successBg",sr(w.success.main,.62)),ut(w.LinearProgress,"warningBg",sr(w.warning.main,.62)),ut(w.Skeleton,"bg",`rgba(${L("palette-text-primaryChannel")} / 0.11)`),ut(w.Slider,"primaryTrack",sr(w.primary.main,.62)),ut(w.Slider,"secondaryTrack",sr(w.secondary.main,.62)),ut(w.Slider,"errorTrack",sr(w.error.main,.62)),ut(w.Slider,"infoTrack",sr(w.info.main,.62)),ut(w.Slider,"successTrack",sr(w.success.main,.62)),ut(w.Slider,"warningTrack",sr(w.warning.main,.62));const z=W1(w.background.default,.8);ut(w.SnackbarContent,"bg",z),ut(w.SnackbarContent,"color",Fl(()=>w.getContrastText(z))),ut(w.SpeedDialAction,"fabHoverBg",W1(w.background.paper,.15)),ut(w.StepConnector,"border",L("palette-grey-400")),ut(w.StepContent,"border",L("palette-grey-400")),ut(w.Switch,"defaultColor",L("palette-common-white")),ut(w.Switch,"defaultDisabledColor",L("palette-grey-100")),ut(w.Switch,"primaryDisabledColor",sr(w.primary.main,.62)),ut(w.Switch,"secondaryDisabledColor",sr(w.secondary.main,.62)),ut(w.Switch,"errorDisabledColor",sr(w.error.main,.62)),ut(w.Switch,"infoDisabledColor",sr(w.info.main,.62)),ut(w.Switch,"successDisabledColor",sr(w.success.main,.62)),ut(w.Switch,"warningDisabledColor",sr(w.warning.main,.62)),ut(w.TableCell,"border",sr(V1(w.divider,1),.88)),ut(w.Tooltip,"bg",V1(w.grey[700],.92))}if(w.mode==="dark"){ut(w.Alert,"errorColor",sr(w.error.light,.6)),ut(w.Alert,"infoColor",sr(w.info.light,.6)),ut(w.Alert,"successColor",sr(w.success.light,.6)),ut(w.Alert,"warningColor",sr(w.warning.light,.6)),ut(w.Alert,"errorFilledBg",L("palette-error-dark")),ut(w.Alert,"infoFilledBg",L("palette-info-dark")),ut(w.Alert,"successFilledBg",L("palette-success-dark")),ut(w.Alert,"warningFilledBg",L("palette-warning-dark")),ut(w.Alert,"errorFilledColor",Fl(()=>w.getContrastText(w.error.dark))),ut(w.Alert,"infoFilledColor",Fl(()=>w.getContrastText(w.info.dark))),ut(w.Alert,"successFilledColor",Fl(()=>w.getContrastText(w.success.dark))),ut(w.Alert,"warningFilledColor",Fl(()=>w.getContrastText(w.warning.dark))),ut(w.Alert,"errorStandardBg",or(w.error.light,.9)),ut(w.Alert,"infoStandardBg",or(w.info.light,.9)),ut(w.Alert,"successStandardBg",or(w.success.light,.9)),ut(w.Alert,"warningStandardBg",or(w.warning.light,.9)),ut(w.Alert,"errorIconColor",L("palette-error-main")),ut(w.Alert,"infoIconColor",L("palette-info-main")),ut(w.Alert,"successIconColor",L("palette-success-main")),ut(w.Alert,"warningIconColor",L("palette-warning-main")),ut(w.AppBar,"defaultBg",L("palette-grey-900")),ut(w.AppBar,"darkBg",L("palette-background-paper")),ut(w.AppBar,"darkColor",L("palette-text-primary")),ut(w.Avatar,"defaultBg",L("palette-grey-600")),ut(w.Button,"inheritContainedBg",L("palette-grey-800")),ut(w.Button,"inheritContainedHoverBg",L("palette-grey-700")),ut(w.Chip,"defaultBorder",L("palette-grey-700")),ut(w.Chip,"defaultAvatarColor",L("palette-grey-300")),ut(w.Chip,"defaultIconColor",L("palette-grey-300")),ut(w.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ut(w.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ut(w.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ut(w.LinearProgress,"primaryBg",or(w.primary.main,.5)),ut(w.LinearProgress,"secondaryBg",or(w.secondary.main,.5)),ut(w.LinearProgress,"errorBg",or(w.error.main,.5)),ut(w.LinearProgress,"infoBg",or(w.info.main,.5)),ut(w.LinearProgress,"successBg",or(w.success.main,.5)),ut(w.LinearProgress,"warningBg",or(w.warning.main,.5)),ut(w.Skeleton,"bg",`rgba(${L("palette-text-primaryChannel")} / 0.13)`),ut(w.Slider,"primaryTrack",or(w.primary.main,.5)),ut(w.Slider,"secondaryTrack",or(w.secondary.main,.5)),ut(w.Slider,"errorTrack",or(w.error.main,.5)),ut(w.Slider,"infoTrack",or(w.info.main,.5)),ut(w.Slider,"successTrack",or(w.success.main,.5)),ut(w.Slider,"warningTrack",or(w.warning.main,.5));const z=W1(w.background.default,.98);ut(w.SnackbarContent,"bg",z),ut(w.SnackbarContent,"color",Fl(()=>w.getContrastText(z))),ut(w.SpeedDialAction,"fabHoverBg",W1(w.background.paper,.15)),ut(w.StepConnector,"border",L("palette-grey-600")),ut(w.StepContent,"border",L("palette-grey-600")),ut(w.Switch,"defaultColor",L("palette-grey-300")),ut(w.Switch,"defaultDisabledColor",L("palette-grey-600")),ut(w.Switch,"primaryDisabledColor",or(w.primary.main,.55)),ut(w.Switch,"secondaryDisabledColor",or(w.secondary.main,.55)),ut(w.Switch,"errorDisabledColor",or(w.error.main,.55)),ut(w.Switch,"infoDisabledColor",or(w.info.main,.55)),ut(w.Switch,"successDisabledColor",or(w.success.main,.55)),ut(w.Switch,"warningDisabledColor",or(w.warning.main,.55)),ut(w.TableCell,"border",or(V1(w.divider,1),.68)),ut(w.Tooltip,"bg",V1(w.grey[700],.92))}Bc(w.background,"default"),Bc(w.background,"paper"),Bc(w.common,"background"),Bc(w.common,"onBackground"),Bc(w,"divider"),Object.keys(w).forEach(z=>{const G=w[z];z!=="tonalOffset"&&G&&typeof G=="object"&&(G.main&&ut(w[z],"mainChannel",Wy(jy(G.main))),G.light&&ut(w[z],"lightChannel",Wy(jy(G.light))),G.dark&&ut(w[z],"darkChannel",Wy(jy(G.dark))),G.contrastText&&ut(w[z],"contrastTextChannel",Wy(jy(G.contrastText))),z==="text"&&(Bc(w[z],"primary"),Bc(w[z],"secondary")),z==="action"&&(G.active&&Bc(w[z],"active"),G.selected&&Bc(w[z],"selected")))})}),C=e.reduce((F,w)=>Xs(F,w),C);const P={prefix:o,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:Tte(C)},{vars:A,generateThemeVars:R,generateStyleSheets:k}=tte(C,P);return C.vars=A,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([F,w])=>{C[F]=w}),C.generateThemeVars=R,C.generateStyleSheets=k,C.generateSpacing=function(){return iG(c.spacing,BL(this))},C.getColorSchemeSelector=nte(a),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=s,C.unstable_sxConfig={...jb,...c==null?void 0:c.unstable_sxConfig},C.unstable_sx=function(w){return sh({sx:w,theme:this})},C.toRuntimeSource=vG,C}function iF(t,e,n){t.colorSchemes&&n&&(t.colorSchemes[e]={...n!==!0&&n,palette:UL({...n===!0?{}:n.palette,mode:e})})}function bG(t={},...e){const{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:o=n==null?void 0:n.mode,...s}=t,a=o||"light",l=i==null?void 0:i[a],c={...i,...n?{[a]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in t))return VI(t,...e);let u=n;"palette"in t||c[a]&&(c[a]!==!0?u=c[a].palette:a==="dark"&&(u={mode:"dark"}));const d=VI({...t,palette:u},...e);return d.defaultColorScheme=a,d.colorSchemes=c,d.palette.mode==="light"&&(d.colorSchemes.light={...c.light!==!0&&c.light,palette:d.palette},iF(d,"dark",c.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:d.palette},iF(d,"light",c.light)),d}return!n&&!("light"in c)&&a==="light"&&(c.light=!0),Bte({...s,colorSchemes:c,defaultColorScheme:a,...typeof r!="boolean"&&r},...e)}const _G=bG();function SG(){const t=oG(_G);return t[xL]||t}function Lte(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const CG=t=>Lte(t)&&t!=="classes",Hr=wee({themeId:xL,defaultTheme:_G,rootShouldForwardProp:CG});function kte(){return sG}const _l=qee;function Ss(t){return Jee(t)}function Ne(t,e){if(t==null)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.includes(r))continue;n[r]=t[r]}return n}function jI(t,e){return jI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},jI(t,e)}function AG(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,jI(t,e)}const oF={disabled:!1},PA=ro.createContext(null);var Dte=function(e){return e.scrollTop},Xy="unmounted",ap="exited",lp="entering",rg="entered",XI="exiting",Cs=function(t){AG(e,t);function e(r,i){var o;o=t.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?a?(l=ap,o.appearStatus=lp):l=rg:r.unmountOnExit||r.mountOnEnter?l=Xy:l=ap,o.state={status:l},o.nextCallback=null,o}e.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Xy?{status:ap}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==lp&&s!==rg&&(o=lp):(s===lp||s===rg)&&(o=XI)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===lp){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:z1.findDOMNode(this);s&&Dte(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ap&&this.setState({status:Xy})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[z1.findDOMNode(this),a],c=l[0],u=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!s||oF.disabled){this.safeSetState({status:rg},function(){o.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:lp},function(){o.props.onEntering(c,u),o.onTransitionEnd(f,function(){o.safeSetState({status:rg},function(){o.props.onEntered(c,u)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:z1.findDOMNode(this);if(!o||oF.disabled){this.safeSetState({status:ap},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:XI},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:ap},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:z1.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Xy)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=Ne(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ro.createElement(PA.Provider,{value:null},typeof s=="function"?s(i,a):ro.cloneElement(ro.Children.only(s),a))},e}(ro.Component);Cs.contextType=PA;Cs.propTypes={};function Om(){}Cs.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Om,onEntering:Om,onEntered:Om,onExit:Om,onExiting:Om,onExited:Om};Cs.UNMOUNTED=Xy;Cs.EXITED=ap;Cs.ENTERING=lp;Cs.ENTERED=rg;Cs.EXITING=XI;function Ote(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zL(t,e){var n=function(o){return e&&E.isValidElement(o)?e(o):o},r=Object.create(null);return t&&E.Children.map(t,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function Nte(t,e){t=t||{},e=e||{};function n(u){return u in e?e[u]:t[u]}var r=Object.create(null),i=[];for(var o in t)o in e?i.length&&(r[o]=i,i=[]):i.push(o);var s,a={};for(var l in e){if(r[l])for(s=0;st.scrollTop;function sF(t,e){const{timeout:n,easing:r,style:i={}}=t;return{duration:i.transitionDuration??(typeof n=="number"?n:n[e.mode]||0),easing:i.transitionTimingFunction??(typeof r=="object"?r[e.mode]:r),delay:i.transitionDelay}}function Gte(t){return _s("MuiPaper",t)}Yo("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 Vte=t=>{const{square:e,elevation:n,variant:r,classes:i}=t,o={root:["root",r,!e&&"rounded",r==="elevation"&&`elevation${n}`]};return na(o,Gte,i)},Wte=Hr("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,n.variant==="elevation"&&e[`elevation${n.elevation}`]]}})(_l(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(t.vars||t).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),wG=E.forwardRef(function(e,n){var p;const r=Ss({props:e,name:"MuiPaper"}),i=SG(),{className:o,component:s="div",elevation:a=1,square:l=!1,variant:c="elevation",...u}=r,d={...r,component:s,elevation:a,square:l,variant:c},f=Vte(d);return O.jsx(Wte,{as:s,ownerState:d,className:Ce(f.root,o),ref:n,...u,style:{...c==="elevation"&&{"--Paper-shadow":(i.vars||i).shadows[a],...i.vars&&{"--Paper-overlay":(p=i.vars.overlays)==null?void 0:p[a]},...!i.vars&&i.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Qc("#fff",WI(a))}, ${Qc("#fff",WI(a))})`}},...u.style}})});function IA(t,e){const{className:n,elementType:r,ownerState:i,externalForwardedProps:o,internalForwardedProps:s,shouldForwardComponentProp:a=!1,...l}=e,{component:c,slots:u={[t]:void 0},slotProps:d={[t]:void 0},...f}=o,p=u[t]||r,v=Xee(d[t],i),{props:{component:y,...x},internalRef:g}=jee({className:n,...l,externalForwardedProps:t==="root"?f:void 0,externalSlotProps:v}),b=qd(g,v==null?void 0:v.ref,e.ref),_=t==="root"?y||c:y,C=Wee(p,{...t==="root"&&!c&&!u[t]&&s,...t!=="root"&&!u[t]&&s,...x,..._&&!a&&{as:_},..._&&a&&{component:_},ref:b},i);return[p,C]}class BA{constructor(){Q0(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new BA}static use(){const e=fG(BA.create).current,[n,r]=E.useState(!1);return e.shouldMount=n,e.setShouldMount=r,E.useEffect(e.mountEffect,[n]),e}mount(){return this.mounted||(this.mounted=Xte(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...e)})}stop(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...e)})}pulsate(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...e)})}}function jte(){return BA.use()}function Xte(){let t,e;const n=new Promise((r,i)=>{t=r,e=i});return n.resolve=t,n.reject=e,n}function Kte(t){const{className:e,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:a,onExited:l,timeout:c}=t,[u,d]=E.useState(!1),f=Ce(e,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},v=Ce(n.child,u&&n.childLeaving,r&&n.childPulsate);return!a&&!u&&d(!0),E.useEffect(()=>{if(!a&&l!=null){const y=setTimeout(l,c);return()=>{clearTimeout(y)}}},[l,a,c]),O.jsx("span",{className:f,style:p,children:O.jsx("span",{className:v})})}const xa=Yo("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),KI=550,Yte=80,Jte=co` +export default theme;`}function LI(t={},...e){const{breakpoints:n,mixins:r={},spacing:i,palette:o={},transitions:s={},typography:a={},shape:l,...c}=t;if(t.vars)throw new Error(eh(20));const u=AL(o),d=xL(t);let f=Xs(d,{mixins:Hee(d.breakpoints,r),palette:u,shadows:Kee.slice(),typography:Vee(u,a),transitions:Qee(s),zIndex:{...Zee}});return f=Xs(f,c),f=e.reduce((p,v)=>Xs(p,v),f),f.unstable_sxConfig={...Db,...c==null?void 0:c.unstable_sxConfig},f.unstable_sx=function(v){return th({sx:v,theme:this})},f.toRuntimeSource=ZH,f}function kI(t){let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,Math.round(e*10)/1e3}const tte=[...Array(25)].map((t,e)=>{if(e===0)return"none";const n=kI(e);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function eG(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function tG(t){return t==="dark"?tte:[]}function nte(t){const{palette:e={mode:"light"},opacity:n,overlays:r,...i}=t,o=AL(e);return{palette:o,opacity:{...eG(o.mode),...n},overlays:r||tG(o.mode),...i}}function rte(t){var e;return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!((e=t[1])!=null&&e.match(/(mode|contrastThreshold|tonalOffset)/))}const ite=t=>[...[...Array(25)].map((e,n)=>`--${t?`${t}-`:""}overlays-${n}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],ote=t=>(e,n)=>{const r=t.rootSelector||":root",i=t.colorSchemeSelector;let o=i;if(i==="class"&&(o=".%s"),i==="data"&&(o="[data-%s]"),i!=null&&i.startsWith("data-")&&!i.includes("%s")&&(o=`[${i}="%s"]`),t.defaultColorScheme===e){if(e==="dark"){const s={};return ite(t.cssVarPrefix).forEach(a=>{s[a]=n[a],delete n[a]}),o==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:s}}:o?{[o.replace("%s",e)]:s,[`${r}, ${o.replace("%s",e)}`]:n}:{[r]:{...n,...s}}}if(o&&o!=="media")return`${r}, ${o.replace("%s",String(e))}`}else if(e){if(o==="media")return{[`@media (prefers-color-scheme: ${String(e)})`]:{[r]:n}};if(o)return o.replace("%s",String(e))}return r};function ste(t,e){e.forEach(n=>{t[n]||(t[n]={})})}function at(t,e,n){!t[e]&&n&&(t[e]=n)}function Uy(t){return typeof t!="string"||!t.startsWith("hsl")?t:XH(t)}function Bc(t,e){`${e}Channel`in t||(t[`${e}Channel`]=Fy(Uy(t[e]),`MUI: Can't create \`palette.${e}Channel\` because \`palette.${e}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). +To suppress this warning, you need to explicitly provide the \`palette.${e}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function ate(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const Fl=t=>{try{return t()}catch{}},lte=(t="mui")=>Ree(t);function $T(t,e,n,r){if(!e)return;e=e===!0?{}:e;const i=r==="dark"?"dark":"light";if(!n){t[r]=nte({...e,palette:{mode:i,...e==null?void 0:e.palette}});return}const{palette:o,...s}=LI({...n,palette:{mode:i,...e==null?void 0:e.palette}});return t[r]={...e,palette:o,opacity:{...eG(i),...e==null?void 0:e.opacity},overlays:(e==null?void 0:e.overlays)||tG(i)},s}function cte(t={},...e){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:o="mui",shouldSkipGeneratingVar:s=rte,colorSchemeSelector:a=n.light&&n.dark?"media":void 0,rootSelector:l=":root",...c}=t,u=Object.keys(n)[0],d=r||(n.light&&u!=="light"?"light":u),f=lte(o),{[d]:p,light:v,dark:y,...x}=n,g={...x};let b=p;if((d==="dark"&&!("dark"in n)||d==="light"&&!("light"in n))&&(b=!0),!b)throw new Error(eh(21,d));const _=$T(g,b,c,d);v&&!g.light&&$T(g,v,void 0,"light"),y&&!g.dark&&$T(g,y,void 0,"dark");let C={defaultColorScheme:d,..._,cssVarPrefix:o,colorSchemeSelector:a,rootSelector:l,getCssVar:f,colorSchemes:g,font:{...$ee(_.typography),..._.font},spacing:ate(c.spacing)};Object.keys(C.colorSchemes).forEach(U=>{const w=C.colorSchemes[U].palette,L=H=>{const V=H.split("-"),j=V[1],J=V[2];return f(H,w[j][J])};if(w.mode==="light"&&(at(w.common,"background","#fff"),at(w.common,"onBackground","#000")),w.mode==="dark"&&(at(w.common,"background","#000"),at(w.common,"onBackground","#fff")),ste(w,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),w.mode==="light"){at(w.Alert,"errorColor",nr(w.error.light,.6)),at(w.Alert,"infoColor",nr(w.info.light,.6)),at(w.Alert,"successColor",nr(w.success.light,.6)),at(w.Alert,"warningColor",nr(w.warning.light,.6)),at(w.Alert,"errorFilledBg",L("palette-error-main")),at(w.Alert,"infoFilledBg",L("palette-info-main")),at(w.Alert,"successFilledBg",L("palette-success-main")),at(w.Alert,"warningFilledBg",L("palette-warning-main")),at(w.Alert,"errorFilledColor",Fl(()=>w.getContrastText(w.error.main))),at(w.Alert,"infoFilledColor",Fl(()=>w.getContrastText(w.info.main))),at(w.Alert,"successFilledColor",Fl(()=>w.getContrastText(w.success.main))),at(w.Alert,"warningFilledColor",Fl(()=>w.getContrastText(w.warning.main))),at(w.Alert,"errorStandardBg",rr(w.error.light,.9)),at(w.Alert,"infoStandardBg",rr(w.info.light,.9)),at(w.Alert,"successStandardBg",rr(w.success.light,.9)),at(w.Alert,"warningStandardBg",rr(w.warning.light,.9)),at(w.Alert,"errorIconColor",L("palette-error-main")),at(w.Alert,"infoIconColor",L("palette-info-main")),at(w.Alert,"successIconColor",L("palette-success-main")),at(w.Alert,"warningIconColor",L("palette-warning-main")),at(w.AppBar,"defaultBg",L("palette-grey-100")),at(w.Avatar,"defaultBg",L("palette-grey-400")),at(w.Button,"inheritContainedBg",L("palette-grey-300")),at(w.Button,"inheritContainedHoverBg",L("palette-grey-A100")),at(w.Chip,"defaultBorder",L("palette-grey-400")),at(w.Chip,"defaultAvatarColor",L("palette-grey-700")),at(w.Chip,"defaultIconColor",L("palette-grey-700")),at(w.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),at(w.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),at(w.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),at(w.LinearProgress,"primaryBg",rr(w.primary.main,.62)),at(w.LinearProgress,"secondaryBg",rr(w.secondary.main,.62)),at(w.LinearProgress,"errorBg",rr(w.error.main,.62)),at(w.LinearProgress,"infoBg",rr(w.info.main,.62)),at(w.LinearProgress,"successBg",rr(w.success.main,.62)),at(w.LinearProgress,"warningBg",rr(w.warning.main,.62)),at(w.Skeleton,"bg",`rgba(${L("palette-text-primaryChannel")} / 0.11)`),at(w.Slider,"primaryTrack",rr(w.primary.main,.62)),at(w.Slider,"secondaryTrack",rr(w.secondary.main,.62)),at(w.Slider,"errorTrack",rr(w.error.main,.62)),at(w.Slider,"infoTrack",rr(w.info.main,.62)),at(w.Slider,"successTrack",rr(w.success.main,.62)),at(w.Slider,"warningTrack",rr(w.warning.main,.62));const H=k1(w.background.default,.8);at(w.SnackbarContent,"bg",H),at(w.SnackbarContent,"color",Fl(()=>w.getContrastText(H))),at(w.SpeedDialAction,"fabHoverBg",k1(w.background.paper,.15)),at(w.StepConnector,"border",L("palette-grey-400")),at(w.StepContent,"border",L("palette-grey-400")),at(w.Switch,"defaultColor",L("palette-common-white")),at(w.Switch,"defaultDisabledColor",L("palette-grey-100")),at(w.Switch,"primaryDisabledColor",rr(w.primary.main,.62)),at(w.Switch,"secondaryDisabledColor",rr(w.secondary.main,.62)),at(w.Switch,"errorDisabledColor",rr(w.error.main,.62)),at(w.Switch,"infoDisabledColor",rr(w.info.main,.62)),at(w.Switch,"successDisabledColor",rr(w.success.main,.62)),at(w.Switch,"warningDisabledColor",rr(w.warning.main,.62)),at(w.TableCell,"border",rr(L1(w.divider,1),.88)),at(w.Tooltip,"bg",L1(w.grey[700],.92))}if(w.mode==="dark"){at(w.Alert,"errorColor",rr(w.error.light,.6)),at(w.Alert,"infoColor",rr(w.info.light,.6)),at(w.Alert,"successColor",rr(w.success.light,.6)),at(w.Alert,"warningColor",rr(w.warning.light,.6)),at(w.Alert,"errorFilledBg",L("palette-error-dark")),at(w.Alert,"infoFilledBg",L("palette-info-dark")),at(w.Alert,"successFilledBg",L("palette-success-dark")),at(w.Alert,"warningFilledBg",L("palette-warning-dark")),at(w.Alert,"errorFilledColor",Fl(()=>w.getContrastText(w.error.dark))),at(w.Alert,"infoFilledColor",Fl(()=>w.getContrastText(w.info.dark))),at(w.Alert,"successFilledColor",Fl(()=>w.getContrastText(w.success.dark))),at(w.Alert,"warningFilledColor",Fl(()=>w.getContrastText(w.warning.dark))),at(w.Alert,"errorStandardBg",nr(w.error.light,.9)),at(w.Alert,"infoStandardBg",nr(w.info.light,.9)),at(w.Alert,"successStandardBg",nr(w.success.light,.9)),at(w.Alert,"warningStandardBg",nr(w.warning.light,.9)),at(w.Alert,"errorIconColor",L("palette-error-main")),at(w.Alert,"infoIconColor",L("palette-info-main")),at(w.Alert,"successIconColor",L("palette-success-main")),at(w.Alert,"warningIconColor",L("palette-warning-main")),at(w.AppBar,"defaultBg",L("palette-grey-900")),at(w.AppBar,"darkBg",L("palette-background-paper")),at(w.AppBar,"darkColor",L("palette-text-primary")),at(w.Avatar,"defaultBg",L("palette-grey-600")),at(w.Button,"inheritContainedBg",L("palette-grey-800")),at(w.Button,"inheritContainedHoverBg",L("palette-grey-700")),at(w.Chip,"defaultBorder",L("palette-grey-700")),at(w.Chip,"defaultAvatarColor",L("palette-grey-300")),at(w.Chip,"defaultIconColor",L("palette-grey-300")),at(w.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),at(w.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),at(w.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),at(w.LinearProgress,"primaryBg",nr(w.primary.main,.5)),at(w.LinearProgress,"secondaryBg",nr(w.secondary.main,.5)),at(w.LinearProgress,"errorBg",nr(w.error.main,.5)),at(w.LinearProgress,"infoBg",nr(w.info.main,.5)),at(w.LinearProgress,"successBg",nr(w.success.main,.5)),at(w.LinearProgress,"warningBg",nr(w.warning.main,.5)),at(w.Skeleton,"bg",`rgba(${L("palette-text-primaryChannel")} / 0.13)`),at(w.Slider,"primaryTrack",nr(w.primary.main,.5)),at(w.Slider,"secondaryTrack",nr(w.secondary.main,.5)),at(w.Slider,"errorTrack",nr(w.error.main,.5)),at(w.Slider,"infoTrack",nr(w.info.main,.5)),at(w.Slider,"successTrack",nr(w.success.main,.5)),at(w.Slider,"warningTrack",nr(w.warning.main,.5));const H=k1(w.background.default,.98);at(w.SnackbarContent,"bg",H),at(w.SnackbarContent,"color",Fl(()=>w.getContrastText(H))),at(w.SpeedDialAction,"fabHoverBg",k1(w.background.paper,.15)),at(w.StepConnector,"border",L("palette-grey-600")),at(w.StepContent,"border",L("palette-grey-600")),at(w.Switch,"defaultColor",L("palette-grey-300")),at(w.Switch,"defaultDisabledColor",L("palette-grey-600")),at(w.Switch,"primaryDisabledColor",nr(w.primary.main,.55)),at(w.Switch,"secondaryDisabledColor",nr(w.secondary.main,.55)),at(w.Switch,"errorDisabledColor",nr(w.error.main,.55)),at(w.Switch,"infoDisabledColor",nr(w.info.main,.55)),at(w.Switch,"successDisabledColor",nr(w.success.main,.55)),at(w.Switch,"warningDisabledColor",nr(w.warning.main,.55)),at(w.TableCell,"border",nr(L1(w.divider,1),.68)),at(w.Tooltip,"bg",L1(w.grey[700],.92))}Bc(w.background,"default"),Bc(w.background,"paper"),Bc(w.common,"background"),Bc(w.common,"onBackground"),Bc(w,"divider"),Object.keys(w).forEach(H=>{const V=w[H];H!=="tonalOffset"&&V&&typeof V=="object"&&(V.main&&at(w[H],"mainChannel",Fy(Uy(V.main))),V.light&&at(w[H],"lightChannel",Fy(Uy(V.light))),V.dark&&at(w[H],"darkChannel",Fy(Uy(V.dark))),V.contrastText&&at(w[H],"contrastTextChannel",Fy(Uy(V.contrastText))),H==="text"&&(Bc(w[H],"primary"),Bc(w[H],"secondary")),H==="action"&&(V.active&&Bc(w[H],"active"),V.selected&&Bc(w[H],"selected")))})}),C=e.reduce((U,w)=>Xs(U,w),C);const T={prefix:o,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:ote(C)},{vars:A,generateThemeVars:R,generateStyleSheets:D}=Bee(C,T);return C.vars=A,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([U,w])=>{C[U]=w}),C.generateThemeVars=R,C.generateStyleSheets=D,C.generateSpacing=function(){return zH(c.spacing,vL(this))},C.getColorSchemeSelector=Lee(a),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=s,C.unstable_sxConfig={...Db,...c==null?void 0:c.unstable_sxConfig},C.unstable_sx=function(w){return th({sx:w,theme:this})},C.toRuntimeSource=ZH,C}function GN(t,e,n){t.colorSchemes&&n&&(t.colorSchemes[e]={...n!==!0&&n,palette:AL({...n===!0?{}:n.palette,mode:e})})}function nG(t={},...e){const{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:o=n==null?void 0:n.mode,...s}=t,a=o||"light",l=i==null?void 0:i[a],c={...i,...n?{[a]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in t))return LI(t,...e);let u=n;"palette"in t||c[a]&&(c[a]!==!0?u=c[a].palette:a==="dark"&&(u={mode:"dark"}));const d=LI({...t,palette:u},...e);return d.defaultColorScheme=a,d.colorSchemes=c,d.palette.mode==="light"&&(d.colorSchemes.light={...c.light!==!0&&c.light,palette:d.palette},GN(d,"dark",c.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:d.palette},GN(d,"light",c.light)),d}return!n&&!("light"in c)&&a==="light"&&(c.light=!0),cte({...s,colorSchemes:c,defaultColorScheme:a,...typeof r!="boolean"&&r},...e)}const rG=nG();function iG(){const t=$H(rG);return t[iL]||t}function ute(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const oG=t=>ute(t)&&t!=="classes",zr=nee({themeId:iL,defaultTheme:rG,rootShouldForwardProp:oG});function dte(){return HH}const _l=Tee;function Ss(t){return Eee(t)}function Oe(t,e){if(t==null)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.includes(r))continue;n[r]=t[r]}return n}function DI(t,e){return DI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},DI(t,e)}function sG(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,DI(t,e)}const VN={disabled:!1},bA=ro.createContext(null);var fte=function(e){return e.scrollTop},zy="unmounted",rp="exited",ip="entering",Qm="entered",OI="exiting",Cs=function(t){sG(e,t);function e(r,i){var o;o=t.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?a?(l=rp,o.appearStatus=ip):l=Qm:r.unmountOnExit||r.mountOnEnter?l=zy:l=rp,o.state={status:l},o.nextCallback=null,o}e.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===zy?{status:rp}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==ip&&s!==Qm&&(o=ip):(s===ip||s===Qm)&&(o=OI)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===ip){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:R1.findDOMNode(this);s&&fte(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===rp&&this.setState({status:zy})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[R1.findDOMNode(this),a],c=l[0],u=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!s||VN.disabled){this.safeSetState({status:Qm},function(){o.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:ip},function(){o.props.onEntering(c,u),o.onTransitionEnd(f,function(){o.safeSetState({status:Qm},function(){o.props.onEntered(c,u)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:R1.findDOMNode(this);if(!o||VN.disabled){this.safeSetState({status:rp},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:OI},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:rp},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:R1.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===zy)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=Oe(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ro.createElement(bA.Provider,{value:null},typeof s=="function"?s(i,a):ro.cloneElement(ro.Children.only(s),a))},e}(ro.Component);Cs.contextType=bA;Cs.propTypes={};function Pm(){}Cs.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Pm,onEntering:Pm,onEntered:Pm,onExit:Pm,onExiting:Pm,onExited:Pm};Cs.UNMOUNTED=zy;Cs.EXITED=rp;Cs.ENTERING=ip;Cs.ENTERED=Qm;Cs.EXITING=OI;function pte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wL(t,e){var n=function(o){return e&&P.isValidElement(o)?e(o):o},r=Object.create(null);return t&&P.Children.map(t,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function hte(t,e){t=t||{},e=e||{};function n(u){return u in e?e[u]:t[u]}var r=Object.create(null),i=[];for(var o in t)o in e?i.length&&(r[o]=i,i=[]):i.push(o);var s,a={};for(var l in e){if(r[l])for(s=0;st.scrollTop;function WN(t,e){const{timeout:n,easing:r,style:i={}}=t;return{duration:i.transitionDuration??(typeof n=="number"?n:n[e.mode]||0),easing:i.transitionTimingFunction??(typeof r=="object"?r[e.mode]:r),delay:i.transitionDelay}}function bte(t){return _s("MuiPaper",t)}Ko("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 _te=t=>{const{square:e,elevation:n,variant:r,classes:i}=t,o={root:["root",r,!e&&"rounded",r==="elevation"&&`elevation${n}`]};return na(o,bte,i)},Ste=zr("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,n.variant==="elevation"&&e[`elevation${n.elevation}`]]}})(_l(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(t.vars||t).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),aG=P.forwardRef(function(e,n){var p;const r=Ss({props:e,name:"MuiPaper"}),i=iG(),{className:o,component:s="div",elevation:a=1,square:l=!1,variant:c="elevation",...u}=r,d={...r,component:s,elevation:a,square:l,variant:c},f=_te(d);return O.jsx(Ste,{as:s,ownerState:d,className:_e(f.root,o),ref:n,...u,style:{...c==="elevation"&&{"--Paper-shadow":(i.vars||i).shadows[a],...i.vars&&{"--Paper-overlay":(p=i.vars.overlays)==null?void 0:p[a]},...!i.vars&&i.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Qc("#fff",kI(a))}, ${Qc("#fff",kI(a))})`}},...u.style}})});function _A(t,e){const{className:n,elementType:r,ownerState:i,externalForwardedProps:o,internalForwardedProps:s,shouldForwardComponentProp:a=!1,...l}=e,{component:c,slots:u={[t]:void 0},slotProps:d={[t]:void 0},...f}=o,p=u[t]||r,v=Aee(d[t],i),{props:{component:y,...x},internalRef:g}=Cee({className:n,...l,externalForwardedProps:t==="root"?f:void 0,externalSlotProps:v}),b=Xd(g,v==null?void 0:v.ref,e.ref),_=t==="root"?y||c:y,C=See(p,{...t==="root"&&!c&&!u[t]&&s,...t!=="root"&&!u[t]&&s,...x,..._&&!a&&{as:_},..._&&a&&{component:_},ref:b},i);return[p,C]}class SA{constructor(){X0(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new SA}static use(){const e=KH(SA.create).current,[n,r]=P.useState(!1);return e.shouldMount=n,e.setShouldMount=r,P.useEffect(e.mountEffect,[n]),e}mount(){return this.mounted||(this.mounted=Ate(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...e)})}stop(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...e)})}pulsate(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...e)})}}function Cte(){return SA.use()}function Ate(){let t,e;const n=new Promise((r,i)=>{t=r,e=i});return n.resolve=t,n.reject=e,n}function wte(t){const{className:e,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:a,onExited:l,timeout:c}=t,[u,d]=P.useState(!1),f=_e(e,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},v=_e(n.child,u&&n.childLeaving,r&&n.childPulsate);return!a&&!u&&d(!0),P.useEffect(()=>{if(!a&&l!=null){const y=setTimeout(l,c);return()=>{clearTimeout(y)}}},[l,a,c]),O.jsx("span",{className:f,style:p,children:O.jsx("span",{className:v})})}const xa=Ko("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),NI=550,Mte=80,Ete=co` 0% { transform: scale(0); opacity: 0.1; @@ -92,7 +92,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann transform: scale(1); opacity: 0.3; } -`,qte=co` +`,Tte=co` 0% { opacity: 1; } @@ -100,7 +100,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann 100% { opacity: 0; } -`,Qte=co` +`,Rte=co` 0% { transform: scale(1); } @@ -112,15 +112,15 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann 100% { transform: scale(1); } -`,Zte=Hr("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ene=Hr(Kte,{name:"MuiTouchRipple",slot:"Ripple"})` +`,Pte=zr("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Ite=zr(wte,{name:"MuiTouchRipple",slot:"Ripple"})` opacity: 0; position: absolute; &.${xa.rippleVisible} { opacity: 0.3; transform: scale(1); - animation-name: ${Jte}; - animation-duration: ${KI}ms; + animation-name: ${Ete}; + animation-duration: ${NI}ms; animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut}; } @@ -139,8 +139,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann & .${xa.childLeaving} { opacity: 0; - animation-name: ${qte}; - animation-duration: ${KI}ms; + animation-name: ${Tte}; + animation-duration: ${NI}ms; animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut}; } @@ -149,13 +149,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann /* @noflip */ left: 0px; top: 0; - animation-name: ${Qte}; + animation-name: ${Rte}; animation-duration: 2500ms; animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut}; animation-iteration-count: infinite; animation-delay: 200ms; } -`,tne=E.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s,...a}=r,[l,c]=E.useState([]),u=E.useRef(0),d=E.useRef(null);E.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=E.useRef(!1),p=$ee(),v=E.useRef(null),y=E.useRef(null),x=E.useCallback(C=>{const{pulsate:P,rippleX:A,rippleY:R,rippleSize:k,cb:F}=C;c(w=>[...w,O.jsx(ene,{classes:{ripple:Ce(o.ripple,xa.ripple),rippleVisible:Ce(o.rippleVisible,xa.rippleVisible),ripplePulsate:Ce(o.ripplePulsate,xa.ripplePulsate),child:Ce(o.child,xa.child),childLeaving:Ce(o.childLeaving,xa.childLeaving),childPulsate:Ce(o.childPulsate,xa.childPulsate)},timeout:KI,pulsate:P,rippleX:A,rippleY:R,rippleSize:k},u.current)]),u.current+=1,d.current=F},[o]),g=E.useCallback((C={},P={},A=()=>{})=>{const{pulsate:R=!1,center:k=i||P.pulsate,fakeElement:F=!1}=P;if((C==null?void 0:C.type)==="mousedown"&&f.current){f.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(f.current=!0);const w=F?null:y.current,L=w?w.getBoundingClientRect():{width:0,height:0,left:0,top:0};let z,G,W;if(k||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)z=Math.round(L.width/2),G=Math.round(L.height/2);else{const{clientX:Y,clientY:X}=C.touches&&C.touches.length>0?C.touches[0]:C;z=Math.round(Y-L.left),G=Math.round(X-L.top)}if(k)W=Math.sqrt((2*L.width**2+L.height**2)/3),W%2===0&&(W+=1);else{const Y=Math.max(Math.abs((w?w.clientWidth:0)-z),z)*2+2,X=Math.max(Math.abs((w?w.clientHeight:0)-G),G)*2+2;W=Math.sqrt(Y**2+X**2)}C!=null&&C.touches?v.current===null&&(v.current=()=>{x({pulsate:R,rippleX:z,rippleY:G,rippleSize:W,cb:A})},p.start(Yte,()=>{v.current&&(v.current(),v.current=null)})):x({pulsate:R,rippleX:z,rippleY:G,rippleSize:W,cb:A})},[i,x,p]),b=E.useCallback(()=>{g({},{pulsate:!0})},[g]),_=E.useCallback((C,P)=>{if(p.clear(),(C==null?void 0:C.type)==="touchend"&&v.current){v.current(),v.current=null,p.start(0,()=>{_(C,P)});return}v.current=null,c(A=>A.length>0?A.slice(1):A),d.current=P},[p]);return E.useImperativeHandle(n,()=>({pulsate:b,start:g,stop:_}),[b,g,_]),O.jsx(Zte,{className:Ce(xa.root,o.root,s),ref:y,...a,children:O.jsx(TM,{component:null,exit:!0,children:l})})});function nne(t){return _s("MuiButtonBase",t)}const rne=Yo("MuiButtonBase",["root","disabled","focusVisible"]),ine=t=>{const{disabled:e,focusVisible:n,focusVisibleClassName:r,classes:i}=t,s=na({root:["root",e&&"disabled",n&&"focusVisible"]},nne,i);return n&&r&&(s.root+=` ${r}`),s},one=Hr("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.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"},[`&.${rne.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),MG=E.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:f=!1,focusVisibleClassName:p,LinkComponent:v="a",onBlur:y,onClick:x,onContextMenu:g,onDragLeave:b,onFocus:_,onFocusVisible:C,onKeyDown:P,onKeyUp:A,onMouseDown:R,onMouseLeave:k,onMouseUp:F,onTouchEnd:w,onTouchMove:L,onTouchStart:z,tabIndex:G=0,TouchRippleProps:W,touchRippleRef:Y,type:X,...ee}=r,$=E.useRef(null),Q=jte(),ie=qd(Q.ref,Y),[fe,Ie]=E.useState(!1);c&&fe&&Ie(!1),E.useImperativeHandle(i,()=>({focusVisible:()=>{Ie(!0),$.current.focus()}}),[]);const Re=Q.shouldMount&&!u&&!c;E.useEffect(()=>{fe&&f&&!u&&Q.pulsate()},[u,f,fe,Q]);const re=Lc(Q,"start",R,d),me=Lc(Q,"stop",g,d),ye=Lc(Q,"stop",b,d),Pe=Lc(Q,"stop",F,d),Ee=Lc(Q,"stop",ce=>{fe&&ce.preventDefault(),k&&k(ce)},d),Ge=Lc(Q,"start",z,d),ot=Lc(Q,"stop",w,d),qe=Lc(Q,"stop",L,d),pe=Lc(Q,"stop",ce=>{YN(ce.target)||Ie(!1),y&&y(ce)},!1),K=Vg(ce=>{$.current||($.current=ce.currentTarget),YN(ce.target)&&(Ie(!0),C&&C(ce)),_&&_(ce)}),Oe=()=>{const ce=$.current;return l&&l!=="button"&&!(ce.tagName==="A"&&ce.href)},Me=Vg(ce=>{f&&!ce.repeat&&fe&&ce.key===" "&&Q.stop(ce,()=>{Q.start(ce)}),ce.target===ce.currentTarget&&Oe()&&ce.key===" "&&ce.preventDefault(),P&&P(ce),ce.target===ce.currentTarget&&Oe()&&ce.key==="Enter"&&!c&&(ce.preventDefault(),x&&x(ce))}),xe=Vg(ce=>{f&&ce.key===" "&&fe&&!ce.defaultPrevented&&Q.stop(ce,()=>{Q.pulsate(ce)}),A&&A(ce),x&&ce.target===ce.currentTarget&&Oe()&&ce.key===" "&&!ce.defaultPrevented&&x(ce)});let Ke=l;Ke==="button"&&(ee.href||ee.to)&&(Ke=v);const Xe={};Ke==="button"?(Xe.type=X===void 0?"button":X,Xe.disabled=c):(!ee.href&&!ee.to&&(Xe.role="button"),c&&(Xe["aria-disabled"]=c));const ft=qd(n,$),q={...r,centerRipple:o,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:G,focusVisible:fe},j=ine(q);return O.jsxs(one,{as:Ke,className:Ce(j.root,a),ownerState:q,onBlur:pe,onClick:x,onContextMenu:me,onFocus:K,onKeyDown:Me,onKeyUp:xe,onMouseDown:re,onMouseLeave:Ee,onMouseUp:Pe,onDragLeave:ye,onTouchEnd:ot,onTouchMove:qe,onTouchStart:Ge,ref:ft,tabIndex:c?-1:G,type:X,...Xe,...ee,children:[s,Re?O.jsx(tne,{ref:ie,center:o,...W}):null]})});function Lc(t,e,n,r=!1){return Vg(i=>(n&&n(i),r||t[e](i),!0))}function sne(t){return typeof t.main=="string"}function ane(t,e=[]){if(!sne(t))return!1;for(const n of e)if(!t.hasOwnProperty(n)||typeof t[n]!="string")return!1;return!0}function pv(t=[]){return([,e])=>e&&ane(e,t)}function lne(t){return _s("MuiCircularProgress",t)}Yo("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const id=44,YI=co` +`,Bte=P.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s,...a}=r,[l,c]=P.useState([]),u=P.useRef(0),d=P.useRef(null);P.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=P.useRef(!1),p=yee(),v=P.useRef(null),y=P.useRef(null),x=P.useCallback(C=>{const{pulsate:T,rippleX:A,rippleY:R,rippleSize:D,cb:U}=C;c(w=>[...w,O.jsx(Ite,{classes:{ripple:_e(o.ripple,xa.ripple),rippleVisible:_e(o.rippleVisible,xa.rippleVisible),ripplePulsate:_e(o.ripplePulsate,xa.ripplePulsate),child:_e(o.child,xa.child),childLeaving:_e(o.childLeaving,xa.childLeaving),childPulsate:_e(o.childPulsate,xa.childPulsate)},timeout:NI,pulsate:T,rippleX:A,rippleY:R,rippleSize:D},u.current)]),u.current+=1,d.current=U},[o]),g=P.useCallback((C={},T={},A=()=>{})=>{const{pulsate:R=!1,center:D=i||T.pulsate,fakeElement:U=!1}=T;if((C==null?void 0:C.type)==="mousedown"&&f.current){f.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(f.current=!0);const w=U?null:y.current,L=w?w.getBoundingClientRect():{width:0,height:0,left:0,top:0};let H,V,j;if(D||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)H=Math.round(L.width/2),V=Math.round(L.height/2);else{const{clientX:J,clientY:X}=C.touches&&C.touches.length>0?C.touches[0]:C;H=Math.round(J-L.left),V=Math.round(X-L.top)}if(D)j=Math.sqrt((2*L.width**2+L.height**2)/3),j%2===0&&(j+=1);else{const J=Math.max(Math.abs((w?w.clientWidth:0)-H),H)*2+2,X=Math.max(Math.abs((w?w.clientHeight:0)-V),V)*2+2;j=Math.sqrt(J**2+X**2)}C!=null&&C.touches?v.current===null&&(v.current=()=>{x({pulsate:R,rippleX:H,rippleY:V,rippleSize:j,cb:A})},p.start(Mte,()=>{v.current&&(v.current(),v.current=null)})):x({pulsate:R,rippleX:H,rippleY:V,rippleSize:j,cb:A})},[i,x,p]),b=P.useCallback(()=>{g({},{pulsate:!0})},[g]),_=P.useCallback((C,T)=>{if(p.clear(),(C==null?void 0:C.type)==="touchend"&&v.current){v.current(),v.current=null,p.start(0,()=>{_(C,T)});return}v.current=null,c(A=>A.length>0?A.slice(1):A),d.current=T},[p]);return P.useImperativeHandle(n,()=>({pulsate:b,start:g,stop:_}),[b,g,_]),O.jsx(Pte,{className:_e(xa.root,o.root,s),ref:y,...a,children:O.jsx(vM,{component:null,exit:!0,children:l})})});function Lte(t){return _s("MuiButtonBase",t)}const kte=Ko("MuiButtonBase",["root","disabled","focusVisible"]),Dte=t=>{const{disabled:e,focusVisible:n,focusVisibleClassName:r,classes:i}=t,s=na({root:["root",e&&"disabled",n&&"focusVisible"]},Lte,i);return n&&r&&(s.root+=` ${r}`),s},Ote=zr("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.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"},[`&.${kte.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),lG=P.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:f=!1,focusVisibleClassName:p,LinkComponent:v="a",onBlur:y,onClick:x,onContextMenu:g,onDragLeave:b,onFocus:_,onFocusVisible:C,onKeyDown:T,onKeyUp:A,onMouseDown:R,onMouseLeave:D,onMouseUp:U,onTouchEnd:w,onTouchMove:L,onTouchStart:H,tabIndex:V=0,TouchRippleProps:j,touchRippleRef:J,type:X,...ee}=r,$=P.useRef(null),Z=Cte(),ie=Xd(Z.ref,J),[fe,Pe]=P.useState(!1);c&&fe&&Pe(!1),P.useImperativeHandle(i,()=>({focusVisible:()=>{Pe(!0),$.current.focus()}}),[]);const Me=Z.shouldMount&&!u&&!c;P.useEffect(()=>{fe&&f&&!u&&Z.pulsate()},[u,f,fe,Z]);const oe=Lc(Z,"start",R,d),ge=Lc(Z,"stop",g,d),ye=Lc(Z,"stop",b,d),ke=Lc(Z,"stop",U,d),Te=Lc(Z,"stop",de=>{fe&&de.preventDefault(),D&&D(de)},d),He=Lc(Z,"start",H,d),ot=Lc(Z,"stop",w,d),Je=Lc(Z,"stop",L,d),pe=Lc(Z,"stop",de=>{kN(de.target)||Pe(!1),y&&y(de)},!1),K=Ug(de=>{$.current||($.current=de.currentTarget),kN(de.target)&&(Pe(!0),C&&C(de)),_&&_(de)}),Ne=()=>{const de=$.current;return l&&l!=="button"&&!(de.tagName==="A"&&de.href)},we=Ug(de=>{f&&!de.repeat&&fe&&de.key===" "&&Z.stop(de,()=>{Z.start(de)}),de.target===de.currentTarget&&Ne()&&de.key===" "&&de.preventDefault(),T&&T(de),de.target===de.currentTarget&&Ne()&&de.key==="Enter"&&!c&&(de.preventDefault(),x&&x(de))}),Se=Ug(de=>{f&&de.key===" "&&fe&&!de.defaultPrevented&&Z.stop(de,()=>{Z.pulsate(de)}),A&&A(de),x&&de.target===de.currentTarget&&Ne()&&de.key===" "&&!de.defaultPrevented&&x(de)});let Xe=l;Xe==="button"&&(ee.href||ee.to)&&(Xe=v);const Ve={};Xe==="button"?(Ve.type=X===void 0?"button":X,Ve.disabled=c):(!ee.href&&!ee.to&&(Ve.role="button"),c&&(Ve["aria-disabled"]=c));const mt=Xd(n,$),q={...r,centerRipple:o,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:V,focusVisible:fe},W=Dte(q);return O.jsxs(Ote,{as:Xe,className:_e(W.root,a),ownerState:q,onBlur:pe,onClick:x,onContextMenu:ge,onFocus:K,onKeyDown:we,onKeyUp:Se,onMouseDown:oe,onMouseLeave:Te,onMouseUp:ke,onDragLeave:ye,onTouchEnd:ot,onTouchMove:Je,onTouchStart:He,ref:mt,tabIndex:c?-1:V,type:X,...Ve,...ee,children:[s,Me?O.jsx(Bte,{ref:ie,center:o,...j}):null]})});function Lc(t,e,n,r=!1){return Ug(i=>(n&&n(i),r||t[e](i),!0))}function Nte(t){return typeof t.main=="string"}function Fte(t,e=[]){if(!Nte(t))return!1;for(const n of e)if(!t.hasOwnProperty(n)||typeof t[n]!="string")return!1;return!0}function cv(t=[]){return([,e])=>e&&Fte(e,t)}function Ute(t){return _s("MuiCircularProgress",t)}Ko("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const rd=44,FI=co` 0% { transform: rotate(0deg); } @@ -163,7 +163,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann 100% { transform: rotate(360deg); } -`,JI=co` +`,UI=co` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; @@ -178,11 +178,11 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann stroke-dasharray: 1px, 200px; stroke-dashoffset: -126px; } -`,cne=typeof YI!="string"?ka` - animation: ${YI} 1.4s linear infinite; - `:null,une=typeof JI!="string"?ka` - animation: ${JI} 1.4s ease-in-out infinite; - `:null,dne=t=>{const{classes:e,variant:n,color:r,disableShrink:i}=t,o={root:["root",n,`color${wn(r)}`],svg:["svg"],circle:["circle",`circle${wn(n)}`,i&&"circleDisableShrink"]};return na(o,lne,e)},fne=Hr("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`color${wn(n.color)}`]]}})(_l(({theme:t})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("transform")}},{props:{variant:"indeterminate"},style:cne||{animation:`${YI} 1.4s linear infinite`}},...Object.entries(t.palette).filter(pv()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}}))]}))),pne=Hr("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,e)=>e.svg})({display:"block"}),hne=Hr("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.circle,e[`circle${wn(n.variant)}`],n.disableShrink&&e.circleDisableShrink]}})(_l(({theme:t})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink,style:une||{animation:`${JI} 1.4s ease-in-out infinite`}}]}))),mne=E.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:s=!1,size:a=40,style:l,thickness:c=3.6,value:u=0,variant:d="indeterminate",...f}=r,p={...r,color:o,disableShrink:s,size:a,thickness:c,value:u,variant:d},v=dne(p),y={},x={},g={};if(d==="determinate"){const b=2*Math.PI*((id-c)/2);y.strokeDasharray=b.toFixed(3),g["aria-valuenow"]=Math.round(u),y.strokeDashoffset=`${((100-u)/100*b).toFixed(3)}px`,x.transform="rotate(-90deg)"}return O.jsx(fne,{className:Ce(v.root,i),style:{width:a,height:a,...x,...l},ownerState:p,ref:n,role:"progressbar",...g,...f,children:O.jsx(pne,{className:v.svg,ownerState:p,viewBox:`${id/2} ${id/2} ${id} ${id}`,children:O.jsx(hne,{className:v.circle,style:y,ownerState:p,cx:id,cy:id,r:(id-c)/2,fill:"none",strokeWidth:c})})})});function gne(t){return _s("MuiTypography",t)}Yo("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const vne={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},yne=kte(),xne=t=>{const{align:e,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=t,a={root:["root",o,t.align!=="inherit"&&`align${wn(e)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return na(a,gne,s)},bne=Hr("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],n.align!=="inherit"&&e[`align${wn(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})(_l(({theme:t})=>{var e;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(t.palette).filter(pv()).map(([n])=>({props:{color:n},style:{color:(t.vars||t).palette[n].main}})),...Object.entries(((e=t.palette)==null?void 0:e.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${wn(n)}`},style:{color:(t.vars||t).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),aF={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},_ne=E.forwardRef(function(e,n){const{color:r,...i}=Ss({props:e,name:"MuiTypography"}),o=!vne[r],s=yne({...i,...o&&{color:r}}),{align:a="inherit",className:l,component:c,gutterBottom:u=!1,noWrap:d=!1,paragraph:f=!1,variant:p="body1",variantMapping:v=aF,...y}=s,x={...s,align:a,color:r,className:l,component:c,gutterBottom:u,noWrap:d,paragraph:f,variant:p,variantMapping:v},g=c||(f?"p":v[p]||aF[p])||"span",b=xne(x);return O.jsx(bne,{as:g,ref:n,className:Ce(b.root,l),...y,ownerState:x,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...y.style}})});function Sne(t){return _s("MuiAppBar",t)}Yo("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Cne=t=>{const{color:e,position:n,classes:r}=t,i={root:["root",`color${wn(e)}`,`position${wn(n)}`]};return na(i,Sne,r)},lF=(t,e)=>t?`${t==null?void 0:t.replace(")","")}, ${e})`:e,Ane=Hr(wG,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${wn(n.position)}`],e[`color${wn(n.color)}`]]}})(_l(({theme:t})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[100],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[100]),...t.applyStyles("dark",{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[900],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[900])})}},...Object.entries(t.palette).filter(pv(["contrastText"])).map(([e])=>({props:{color:e},style:{"--AppBar-background":(t.vars??t).palette[e].main,"--AppBar-color":(t.vars??t).palette[e].contrastText}})),{props:e=>e.enableColorOnDark===!0&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>e.enableColorOnDark===!1&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundColor:t.vars?lF(t.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:t.vars?lF(t.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundImage:"none"})}}]}))),wne=E.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:s=!1,position:a="fixed",...l}=r,c={...r,color:o,position:a,enableColorOnDark:s},u=Cne(c);return O.jsx(Ane,{square:!0,component:"header",ownerState:c,elevation:4,className:Ce(u.root,i,a==="fixed"&&"mui-fixed"),ref:n,...l})});var ms="top",Da="bottom",Oa="right",gs="left",$L="auto",Xb=[ms,Da,Oa,gs],hv="start",cb="end",Mne="clippingParents",EG="viewport",uy="popper",Ene="reference",cF=Xb.reduce(function(t,e){return t.concat([e+"-"+hv,e+"-"+cb])},[]),TG=[].concat(Xb,[$L]).reduce(function(t,e){return t.concat([e,e+"-"+hv,e+"-"+cb])},[]),Tne="beforeRead",Rne="read",Pne="afterRead",Ine="beforeMain",Bne="main",Lne="afterMain",kne="beforeWrite",Dne="write",One="afterWrite",Nne=[Tne,Rne,Pne,Ine,Bne,Lne,kne,Dne,One];function lc(t){return t?(t.nodeName||"").toLowerCase():null}function qs(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function lh(t){var e=qs(t).Element;return t instanceof e||t instanceof Element}function Ra(t){var e=qs(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function HL(t){if(typeof ShadowRoot>"u")return!1;var e=qs(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Fne(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!Ra(o)||!lc(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var a=i[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function Une(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},s=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),a=s.reduce(function(l,c){return l[c]="",l},{});!Ra(i)||!lc(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const zne={name:"applyStyles",enabled:!0,phase:"write",fn:Fne,effect:Une,requires:["computeStyles"]};function nc(t){return t.split("-")[0]}var Gp=Math.max,LA=Math.min,mv=Math.round;function qI(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function RG(){return!/^((?!chrome|android).)*safari/i.test(qI())}function gv(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&Ra(t)&&(i=t.offsetWidth>0&&mv(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&mv(r.height)/t.offsetHeight||1);var s=lh(t)?qs(t):window,a=s.visualViewport,l=!RG()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/i,u=(r.top+(l&&a?a.offsetTop:0))/o,d=r.width/i,f=r.height/o;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function GL(t){var e=gv(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function PG(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&HL(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Cu(t){return qs(t).getComputedStyle(t)}function $ne(t){return["table","td","th"].indexOf(lc(t))>=0}function cf(t){return((lh(t)?t.ownerDocument:t.document)||window.document).documentElement}function RM(t){return lc(t)==="html"?t:t.assignedSlot||t.parentNode||(HL(t)?t.host:null)||cf(t)}function uF(t){return!Ra(t)||Cu(t).position==="fixed"?null:t.offsetParent}function Hne(t){var e=/firefox/i.test(qI()),n=/Trident/i.test(qI());if(n&&Ra(t)){var r=Cu(t);if(r.position==="fixed")return null}var i=RM(t);for(HL(i)&&(i=i.host);Ra(i)&&["html","body"].indexOf(lc(i))<0;){var o=Cu(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Kb(t){for(var e=qs(t),n=uF(t);n&&$ne(n)&&Cu(n).position==="static";)n=uF(n);return n&&(lc(n)==="html"||lc(n)==="body"&&Cu(n).position==="static")?e:n||Hne(t)||e}function VL(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function gx(t,e,n){return Gp(t,LA(e,n))}function Gne(t,e,n){var r=gx(t,e,n);return r>n?n:r}function IG(){return{top:0,right:0,bottom:0,left:0}}function BG(t){return Object.assign({},IG(),t)}function LG(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var Vne=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,BG(typeof e!="number"?e:LG(e,Xb))};function Wne(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=nc(n.placement),l=VL(a),c=[gs,Oa].indexOf(a)>=0,u=c?"height":"width";if(!(!o||!s)){var d=Vne(i.padding,n),f=GL(o),p=l==="y"?ms:gs,v=l==="y"?Da:Oa,y=n.rects.reference[u]+n.rects.reference[l]-s[l]-n.rects.popper[u],x=s[l]-n.rects.reference[l],g=Kb(o),b=g?l==="y"?g.clientHeight||0:g.clientWidth||0:0,_=y/2-x/2,C=d[p],P=b-f[u]-d[v],A=b/2-f[u]/2+_,R=gx(C,A,P),k=l;n.modifiersData[r]=(e={},e[k]=R,e.centerOffset=R-A,e)}}function jne(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||PG(e.elements.popper,i)&&(e.elements.arrow=i))}const Xne={name:"arrow",enabled:!0,phase:"main",fn:Wne,effect:jne,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vv(t){return t.split("-")[1]}var Kne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yne(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:mv(n*i)/i||0,y:mv(r*i)/i||0}}function dF(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,s=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,d=t.isFixed,f=s.x,p=f===void 0?0:f,v=s.y,y=v===void 0?0:v,x=typeof u=="function"?u({x:p,y}):{x:p,y};p=x.x,y=x.y;var g=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),_=gs,C=ms,P=window;if(c){var A=Kb(n),R="clientHeight",k="clientWidth";if(A===qs(n)&&(A=cf(n),Cu(A).position!=="static"&&a==="absolute"&&(R="scrollHeight",k="scrollWidth")),A=A,i===ms||(i===gs||i===Oa)&&o===cb){C=Da;var F=d&&A===P&&P.visualViewport?P.visualViewport.height:A[R];y-=F-r.height,y*=l?1:-1}if(i===gs||(i===ms||i===Da)&&o===cb){_=Oa;var w=d&&A===P&&P.visualViewport?P.visualViewport.width:A[k];p-=w-r.width,p*=l?1:-1}}var L=Object.assign({position:a},c&&Kne),z=u===!0?Yne({x:p,y},qs(n)):{x:p,y};if(p=z.x,y=z.y,l){var G;return Object.assign({},L,(G={},G[C]=b?"0":"",G[_]=g?"0":"",G.transform=(P.devicePixelRatio||1)<=1?"translate("+p+"px, "+y+"px)":"translate3d("+p+"px, "+y+"px, 0)",G))}return Object.assign({},L,(e={},e[C]=b?y+"px":"",e[_]=g?p+"px":"",e.transform="",e))}function Jne(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:nc(e.placement),variation:vv(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,dF(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,dF(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const qne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Jne,data:{}};var j1={passive:!0};function Qne(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,a=s===void 0?!0:s,l=qs(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,j1)}),a&&l.addEventListener("resize",n.update,j1),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,j1)}),a&&l.removeEventListener("resize",n.update,j1)}}const Zne={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Qne,data:{}};var ere={left:"right",right:"left",bottom:"top",top:"bottom"};function PC(t){return t.replace(/left|right|bottom|top/g,function(e){return ere[e]})}var tre={start:"end",end:"start"};function fF(t){return t.replace(/start|end/g,function(e){return tre[e]})}function WL(t){var e=qs(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function jL(t){return gv(cf(t)).left+WL(t).scrollLeft}function nre(t,e){var n=qs(t),r=cf(t),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;var c=RG();(c||!c&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a+jL(t),y:l}}function rre(t){var e,n=cf(t),r=WL(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=Gp(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Gp(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+jL(t),l=-r.scrollTop;return Cu(i||n).direction==="rtl"&&(a+=Gp(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function XL(t){var e=Cu(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function kG(t){return["html","body","#document"].indexOf(lc(t))>=0?t.ownerDocument.body:Ra(t)&&XL(t)?t:kG(RM(t))}function vx(t,e){var n;e===void 0&&(e=[]);var r=kG(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=qs(r),s=i?[o].concat(o.visualViewport||[],XL(r)?r:[]):r,a=e.concat(s);return i?a:a.concat(vx(RM(s)))}function QI(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ire(t,e){var n=gv(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function pF(t,e,n){return e===EG?QI(nre(t,n)):lh(e)?ire(e,n):QI(rre(cf(t)))}function ore(t){var e=vx(RM(t)),n=["absolute","fixed"].indexOf(Cu(t).position)>=0,r=n&&Ra(t)?Kb(t):t;return lh(r)?e.filter(function(i){return lh(i)&&PG(i,r)&&lc(i)!=="body"}):[]}function sre(t,e,n,r){var i=e==="clippingParents"?ore(t):[].concat(e),o=[].concat(i,[n]),s=o[0],a=o.reduce(function(l,c){var u=pF(t,c,r);return l.top=Gp(u.top,l.top),l.right=LA(u.right,l.right),l.bottom=LA(u.bottom,l.bottom),l.left=Gp(u.left,l.left),l},pF(t,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function DG(t){var e=t.reference,n=t.element,r=t.placement,i=r?nc(r):null,o=r?vv(r):null,s=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(i){case ms:l={x:s,y:e.y-n.height};break;case Da:l={x:s,y:e.y+e.height};break;case Oa:l={x:e.x+e.width,y:a};break;case gs:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=i?VL(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case hv:l[c]=l[c]-(e[u]/2-n[u]/2);break;case cb:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function ub(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,s=o===void 0?t.strategy:o,a=n.boundary,l=a===void 0?Mne:a,c=n.rootBoundary,u=c===void 0?EG:c,d=n.elementContext,f=d===void 0?uy:d,p=n.altBoundary,v=p===void 0?!1:p,y=n.padding,x=y===void 0?0:y,g=BG(typeof x!="number"?x:LG(x,Xb)),b=f===uy?Ene:uy,_=t.rects.popper,C=t.elements[v?b:f],P=sre(lh(C)?C:C.contextElement||cf(t.elements.popper),l,u,s),A=gv(t.elements.reference),R=DG({reference:A,element:_,strategy:"absolute",placement:i}),k=QI(Object.assign({},_,R)),F=f===uy?k:A,w={top:P.top-F.top+g.top,bottom:F.bottom-P.bottom+g.bottom,left:P.left-F.left+g.left,right:F.right-P.right+g.right},L=t.modifiersData.offset;if(f===uy&&L){var z=L[i];Object.keys(w).forEach(function(G){var W=[Oa,Da].indexOf(G)>=0?1:-1,Y=[ms,Da].indexOf(G)>=0?"y":"x";w[G]+=z[Y]*W})}return w}function are(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?TG:l,u=vv(r),d=u?a?cF:cF.filter(function(v){return vv(v)===u}):Xb,f=d.filter(function(v){return c.indexOf(v)>=0});f.length===0&&(f=d);var p=f.reduce(function(v,y){return v[y]=ub(t,{placement:y,boundary:i,rootBoundary:o,padding:s})[nc(y)],v},{});return Object.keys(p).sort(function(v,y){return p[v]-p[y]})}function lre(t){if(nc(t)===$L)return[];var e=PC(t);return[fF(t),e,fF(e)]}function cre(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,v=p===void 0?!0:p,y=n.allowedAutoPlacements,x=e.options.placement,g=nc(x),b=g===x,_=l||(b||!v?[PC(x)]:lre(x)),C=[x].concat(_).reduce(function(re,me){return re.concat(nc(me)===$L?are(e,{placement:me,boundary:u,rootBoundary:d,padding:c,flipVariations:v,allowedAutoPlacements:y}):me)},[]),P=e.rects.reference,A=e.rects.popper,R=new Map,k=!0,F=C[0],w=0;w=0,Y=W?"width":"height",X=ub(e,{placement:L,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),ee=W?G?Oa:gs:G?Da:ms;P[Y]>A[Y]&&(ee=PC(ee));var $=PC(ee),Q=[];if(o&&Q.push(X[z]<=0),a&&Q.push(X[ee]<=0,X[$]<=0),Q.every(function(re){return re})){F=L,k=!1;break}R.set(L,Q)}if(k)for(var ie=v?3:1,fe=function(me){var ye=C.find(function(Pe){var Ee=R.get(Pe);if(Ee)return Ee.slice(0,me).every(function(Ge){return Ge})});if(ye)return F=ye,"break"},Ie=ie;Ie>0;Ie--){var Re=fe(Ie);if(Re==="break")break}e.placement!==F&&(e.modifiersData[r]._skip=!0,e.placement=F,e.reset=!0)}}const ure={name:"flip",enabled:!0,phase:"main",fn:cre,requiresIfExists:["offset"],data:{_skip:!1}};function hF(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function mF(t){return[ms,Oa,Da,gs].some(function(e){return t[e]>=0})}function dre(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,s=ub(e,{elementContext:"reference"}),a=ub(e,{altBoundary:!0}),l=hF(s,r),c=hF(a,i,o),u=mF(l),d=mF(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const fre={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:dre};function pre(t,e,n){var r=nc(t),i=[gs,ms].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[gs,Oa].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function hre(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,s=TG.reduce(function(u,d){return u[d]=pre(d,e.rects,o),u},{}),a=s[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=s}const mre={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hre};function gre(t){var e=t.state,n=t.name;e.modifiersData[n]=DG({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const vre={name:"popperOffsets",enabled:!0,phase:"read",fn:gre,data:{}};function yre(t){return t==="x"?"y":"x"}function xre(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,v=n.tetherOffset,y=v===void 0?0:v,x=ub(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),g=nc(e.placement),b=vv(e.placement),_=!b,C=VL(g),P=yre(C),A=e.modifiersData.popperOffsets,R=e.rects.reference,k=e.rects.popper,F=typeof y=="function"?y(Object.assign({},e.rects,{placement:e.placement})):y,w=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,z={x:0,y:0};if(A){if(o){var G,W=C==="y"?ms:gs,Y=C==="y"?Da:Oa,X=C==="y"?"height":"width",ee=A[C],$=ee+x[W],Q=ee-x[Y],ie=p?-k[X]/2:0,fe=b===hv?R[X]:k[X],Ie=b===hv?-k[X]:-R[X],Re=e.elements.arrow,re=p&&Re?GL(Re):{width:0,height:0},me=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:IG(),ye=me[W],Pe=me[Y],Ee=gx(0,R[X],re[X]),Ge=_?R[X]/2-ie-Ee-ye-w.mainAxis:fe-Ee-ye-w.mainAxis,ot=_?-R[X]/2+ie+Ee+Pe+w.mainAxis:Ie+Ee+Pe+w.mainAxis,qe=e.elements.arrow&&Kb(e.elements.arrow),pe=qe?C==="y"?qe.clientTop||0:qe.clientLeft||0:0,K=(G=L==null?void 0:L[C])!=null?G:0,Oe=ee+Ge-K-pe,Me=ee+ot-K,xe=gx(p?LA($,Oe):$,ee,p?Gp(Q,Me):Q);A[C]=xe,z[C]=xe-ee}if(a){var Ke,Xe=C==="x"?ms:gs,ft=C==="x"?Da:Oa,q=A[P],j=P==="y"?"height":"width",ce=q+x[Xe],Te=q-x[ft],He=[ms,gs].indexOf(g)!==-1,Ye=(Ke=L==null?void 0:L[P])!=null?Ke:0,Ct=He?ce:q-R[j]-k[j]-Ye+w.altAxis,at=He?q+R[j]+k[j]-Ye-w.altAxis:Te,_e=p&&He?Gne(Ct,q,at):gx(p?Ct:ce,q,p?at:Te);A[P]=_e,z[P]=_e-q}e.modifiersData[r]=z}}const bre={name:"preventOverflow",enabled:!0,phase:"main",fn:xre,requiresIfExists:["offset"]};function _re(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Sre(t){return t===qs(t)||!Ra(t)?WL(t):_re(t)}function Cre(t){var e=t.getBoundingClientRect(),n=mv(e.width)/t.offsetWidth||1,r=mv(e.height)/t.offsetHeight||1;return n!==1||r!==1}function Are(t,e,n){n===void 0&&(n=!1);var r=Ra(e),i=Ra(e)&&Cre(e),o=cf(e),s=gv(t,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((lc(e)!=="body"||XL(o))&&(a=Sre(e)),Ra(e)?(l=gv(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=jL(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function wre(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&i(l)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function Mre(t){var e=wre(t);return Nne.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function Ere(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function Tre(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var gF={placement:"bottom",modifiers:[],strategy:"absolute"};function vF(){for(var t=arguments.length,e=new Array(t),n=0;n{o||a(Bre(i)||document.body)},[i,o]),$I(()=>{if(s&&!o)return GI(n,s),()=>{GI(n,null)}},[n,s,o]),o){if(E.isValidElement(r)){const c={ref:l};return E.cloneElement(r,c)}return r}return s&&xu.createPortal(r,s)}),kre={entering:{opacity:1},entered:{opacity:1}},Dre=E.forwardRef(function(e,n){const r=SG(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:a,easing:l,in:c,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:v,onExiting:y,style:x,timeout:g=i,TransitionComponent:b=Cs,..._}=e,C=E.useRef(null),P=qd(C,FL(a),n),A=W=>Y=>{if(W){const X=C.current;Y===void 0?W(X):W(X,Y)}},R=A(f),k=A((W,Y)=>{Hte(W);const X=sF({style:x,timeout:g,easing:l},{mode:"enter"});W.style.webkitTransition=r.transitions.create("opacity",X),W.style.transition=r.transitions.create("opacity",X),u&&u(W,Y)}),F=A(d),w=A(y),L=A(W=>{const Y=sF({style:x,timeout:g,easing:l},{mode:"exit"});W.style.webkitTransition=r.transitions.create("opacity",Y),W.style.transition=r.transitions.create("opacity",Y),p&&p(W)}),z=A(v),G=W=>{o&&o(C.current,W)};return O.jsx(b,{appear:s,in:c,nodeRef:C,onEnter:k,onEntered:F,onEntering:R,onExit:L,onExited:z,onExiting:w,addEndListener:G,timeout:g,..._,children:(W,{ownerState:Y,...X})=>E.cloneElement(a,{style:{opacity:0,visibility:W==="exited"&&!c?"hidden":void 0,...kre[W],...x,...a.props.style},ref:P,...X})})});function Ore(t){return _s("MuiBackdrop",t)}Yo("MuiBackdrop",["root","invisible"]);const Nre=t=>{const{classes:e,invisible:n}=t;return na({root:["root",n&&"invisible"]},Ore,e)},Fre=Hr("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.invisible&&e.invisible]}})({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",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Ure=E.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiBackdrop"}),{children:i,className:o,component:s="div",invisible:a=!1,open:l,components:c={},componentsProps:u={},slotProps:d={},slots:f={},TransitionComponent:p,transitionDuration:v,...y}=r,x={...r,component:s,invisible:a},g=Nre(x),b={transition:p,root:c.Root,...f},_={...u,...d},C={slots:b,slotProps:_},[P,A]=IA("root",{elementType:Fre,externalForwardedProps:C,className:Ce(g.root,o),ownerState:x}),[R,k]=IA("transition",{elementType:Dre,externalForwardedProps:C,ownerState:x});return O.jsx(R,{in:l,timeout:v,...y,...k,children:O.jsx(P,{"aria-hidden":!0,...A,classes:g,ref:n,children:i})})}),zre=Yo("MuiBox",["root"]),$re=bG(),ZI=bee({themeId:xL,defaultTheme:$re,defaultClassName:zre.root,generateClassName:aG.generate});function Hre(t){return _s("MuiButton",t)}const Vf=Yo("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),OG=E.createContext({}),NG=E.createContext(void 0),Gre=t=>{const{color:e,disableElevation:n,fullWidth:r,size:i,variant:o,loading:s,loadingPosition:a,classes:l}=t,c={root:["root",s&&"loading",o,`${o}${wn(e)}`,`size${wn(i)}`,`${o}Size${wn(i)}`,`color${wn(e)}`,n&&"disableElevation",r&&"fullWidth",s&&`loadingPosition${wn(a)}`],startIcon:["icon","startIcon",`iconSize${wn(i)}`],endIcon:["icon","endIcon",`iconSize${wn(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},u=na(c,Hre,l);return{...l,...u}},FG=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Vre=Hr(MG,{shouldForwardProp:t=>CG(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${wn(n.color)}`],e[`size${wn(n.size)}`],e[`${n.variant}Size${wn(n.size)}`],n.color==="inherit"&&e.colorInherit,n.disableElevation&&e.disableElevation,n.fullWidth&&e.fullWidth,n.loading&&e.loading]}})(_l(({theme:t})=>{const e=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],n=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return{...t.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Vf.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(t.vars||t).shadows[2],"&:hover":{boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2]}},"&:active":{boxShadow:(t.vars||t).shadows[8]},[`&.${Vf.focusVisible}`]:{boxShadow:(t.vars||t).shadows[6]},[`&.${Vf.disabled}`]:{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Vf.disabled}`]:{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(t.palette).filter(pv()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(t.vars||t).palette[r].main,"--variant-outlinedColor":(t.vars||t).palette[r].main,"--variant-outlinedBorder":t.vars?`rgba(${t.vars.palette[r].mainChannel} / 0.5)`:Qc(t.palette[r].main,.5),"--variant-containedColor":(t.vars||t).palette[r].contrastText,"--variant-containedBg":(t.vars||t).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(t.vars||t).palette[r].dark,"--variant-textBg":t.vars?`rgba(${t.vars.palette[r].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Qc(t.palette[r].main,t.palette.action.hoverOpacity),"--variant-outlinedBorder":(t.vars||t).palette[r].main,"--variant-outlinedBg":t.vars?`rgba(${t.vars.palette[r].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Qc(t.palette[r].main,t.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedBg:e,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Qc(t.palette.text.primary,t.palette.action.hoverOpacity),"--variant-outlinedBg":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Qc(t.palette.text.primary,t.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Vf.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Vf.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${Vf.loading}`]:{color:"transparent"}}}]}})),Wre=Hr("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.startIcon,n.loading&&e.startIconLoadingStart,e[`iconSize${wn(n.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...FG]})),jre=Hr("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.endIcon,n.loading&&e.endIconLoadingEnd,e[`iconSize${wn(n.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...FG]})),Xre=Hr("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(t,e)=>e.loadingIndicator})(({theme:t})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(t.vars||t).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),yF=Hr("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(t,e)=>e.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),ul=E.forwardRef(function(e,n){const r=E.useContext(OG),i=E.useContext(NG),o=TA(r,e),s=Ss({props:o,name:"MuiButton"}),{children:a,color:l="primary",component:c="button",className:u,disabled:d=!1,disableElevation:f=!1,disableFocusRipple:p=!1,endIcon:v,focusVisibleClassName:y,fullWidth:x=!1,id:g,loading:b=null,loadingIndicator:_,loadingPosition:C="center",size:P="medium",startIcon:A,type:R,variant:k="text",...F}=s,w=Nee(g),L=_??O.jsx(mne,{"aria-labelledby":w,color:"inherit",size:16}),z={...s,color:l,component:c,disabled:d,disableElevation:f,disableFocusRipple:p,fullWidth:x,loading:b,loadingIndicator:L,loadingPosition:C,size:P,type:R,variant:k},G=Gre(z),W=(A||b&&C==="start")&&O.jsx(Wre,{className:G.startIcon,ownerState:z,children:A||O.jsx(yF,{className:G.loadingIconPlaceholder,ownerState:z})}),Y=(v||b&&C==="end")&&O.jsx(jre,{className:G.endIcon,ownerState:z,children:v||O.jsx(yF,{className:G.loadingIconPlaceholder,ownerState:z})}),X=i||"",ee=typeof b=="boolean"?O.jsx("span",{className:G.loadingWrapper,style:{display:"contents"},children:b&&O.jsx(Xre,{className:G.loadingIndicator,ownerState:z,children:L})}):null;return O.jsxs(Vre,{ownerState:z,className:Ce(r.className,G.root,u,X),component:c,disabled:d||b,focusRipple:!p,focusVisibleClassName:Ce(G.focusVisible,y),ref:n,type:R,id:w,...F,classes:G,children:[W,C!=="end"&&ee,a,C==="end"&&ee,Y]})});function Kre(t){return _s("MuiButtonGroup",t)}const xn=Yo("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","horizontal","vertical","colorPrimary","colorSecondary","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]),Yre=(t,e)=>{const{ownerState:n}=t;return[{[`& .${xn.grouped}`]:e.grouped},{[`& .${xn.grouped}`]:e[`grouped${wn(n.orientation)}`]},{[`& .${xn.grouped}`]:e[`grouped${wn(n.variant)}`]},{[`& .${xn.grouped}`]:e[`grouped${wn(n.variant)}${wn(n.orientation)}`]},{[`& .${xn.grouped}`]:e[`grouped${wn(n.variant)}${wn(n.color)}`]},{[`& .${xn.firstButton}`]:e.firstButton},{[`& .${xn.lastButton}`]:e.lastButton},{[`& .${xn.middleButton}`]:e.middleButton},e.root,e[n.variant],n.disableElevation===!0&&e.disableElevation,n.fullWidth&&e.fullWidth,n.orientation==="vertical"&&e.vertical]},Jre=t=>{const{classes:e,color:n,disabled:r,disableElevation:i,fullWidth:o,orientation:s,variant:a}=t,l={root:["root",a,s,o&&"fullWidth",i&&"disableElevation",`color${wn(n)}`],grouped:["grouped",`grouped${wn(s)}`,`grouped${wn(a)}`,`grouped${wn(a)}${wn(s)}`,`grouped${wn(a)}${wn(n)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return na(l,Kre,e)},qre=Hr("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:Yre})(_l(({theme:t})=>({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius,variants:[{props:{variant:"contained"},style:{boxShadow:(t.vars||t).shadows[2]}},{props:{disableElevation:!0},style:{boxShadow:"none"}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${xn.lastButton},& .${xn.middleButton}`]:{borderTopRightRadius:0,borderTopLeftRadius:0},[`& .${xn.firstButton},& .${xn.middleButton}`]:{borderBottomRightRadius:0,borderBottomLeftRadius:0}}},{props:{orientation:"horizontal"},style:{[`& .${xn.firstButton},& .${xn.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${xn.lastButton},& .${xn.middleButton}`]:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},{props:{variant:"text",orientation:"horizontal"},style:{[`& .${xn.firstButton},& .${xn.middleButton}`]:{borderRight:t.vars?`1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${xn.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}}}},{props:{variant:"text",orientation:"vertical"},style:{[`& .${xn.firstButton},& .${xn.middleButton}`]:{borderBottom:t.vars?`1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${xn.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}}}},...Object.entries(t.palette).filter(pv()).flatMap(([e])=>[{props:{variant:"text",color:e},style:{[`& .${xn.firstButton},& .${xn.middleButton}`]:{borderColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / 0.5)`:Qc(t.palette[e].main,.5)}}}]),{props:{variant:"outlined",orientation:"horizontal"},style:{[`& .${xn.firstButton},& .${xn.middleButton}`]:{borderRightColor:"transparent","&:hover":{borderRightColor:"currentColor"}},[`& .${xn.lastButton},& .${xn.middleButton}`]:{marginLeft:-1}}},{props:{variant:"outlined",orientation:"vertical"},style:{[`& .${xn.firstButton},& .${xn.middleButton}`]:{borderBottomColor:"transparent","&:hover":{borderBottomColor:"currentColor"}},[`& .${xn.lastButton},& .${xn.middleButton}`]:{marginTop:-1}}},{props:{variant:"contained",orientation:"horizontal"},style:{[`& .${xn.firstButton},& .${xn.middleButton}`]:{borderRight:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${xn.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}}}},{props:{variant:"contained",orientation:"vertical"},style:{[`& .${xn.firstButton},& .${xn.middleButton}`]:{borderBottom:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${xn.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}}}},...Object.entries(t.palette).filter(pv(["dark"])).map(([e])=>({props:{variant:"contained",color:e},style:{[`& .${xn.firstButton},& .${xn.middleButton}`]:{borderColor:(t.vars||t).palette[e].dark}}}))],[`& .${xn.grouped}`]:{minWidth:40,boxShadow:"none",props:{variant:"contained"},style:{"&:hover":{boxShadow:"none"}}}}))),Qre=E.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiButtonGroup"}),{children:i,className:o,color:s="primary",component:a="div",disabled:l=!1,disableElevation:c=!1,disableFocusRipple:u=!1,disableRipple:d=!1,fullWidth:f=!1,orientation:p="horizontal",size:v="medium",variant:y="outlined",...x}=r,g={...r,color:s,component:a,disabled:l,disableElevation:c,disableFocusRipple:u,disableRipple:d,fullWidth:f,orientation:p,size:v,variant:y},b=Jre(g),_=E.useMemo(()=>({className:b.grouped,color:s,disabled:l,disableElevation:c,disableFocusRipple:u,disableRipple:d,fullWidth:f,size:v,variant:y}),[s,l,c,u,d,f,v,y,b.grouped]),C=Gee(i),P=C.length,A=R=>{const k=R===0,F=R===P-1;return k&&F?"":k?b.firstButton:F?b.lastButton:b.middleButton};return O.jsx(qre,{as:a,role:"group",className:Ce(b.root,o),ref:n,ownerState:g,...x,children:O.jsx(OG.Provider,{value:_,children:C.map((R,k)=>O.jsx(NG.Provider,{value:A(k),children:R},k))})})});function Zre(t){return _s("MuiCard",t)}Yo("MuiCard",["root"]);const eie=t=>{const{classes:e}=t;return na({root:["root"]},Zre,e)},tie=Hr(wG,{name:"MuiCard",slot:"Root",overridesResolver:(t,e)=>e.root})({overflow:"hidden"}),nie=E.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiCard"}),{className:i,raised:o=!1,...s}=r,a={...r,raised:o},l=eie(a);return O.jsx(tie,{className:Ce(l.root,i),elevation:o?8:void 0,ref:n,ownerState:a,...s})});function rie(t){return _s("MuiCardActionArea",t)}const eR=Yo("MuiCardActionArea",["root","focusVisible","focusHighlight"]),iie=t=>{const{classes:e}=t;return na({root:["root"],focusHighlight:["focusHighlight"]},rie,e)},oie=Hr(MG,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(t,e)=>e.root})(_l(({theme:t})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${eR.focusHighlight}`]:{opacity:(t.vars||t).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${eR.focusVisible} .${eR.focusHighlight}`]:{opacity:(t.vars||t).palette.action.focusOpacity}}))),sie=Hr("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(t,e)=>e.focusHighlight})(_l(({theme:t})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:t.transitions.create("opacity",{duration:t.transitions.duration.short})}))),X1=E.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiCardActionArea"}),{children:i,className:o,focusVisibleClassName:s,...a}=r,l=r,c=iie(l);return O.jsxs(oie,{className:Ce(c.root,o),focusVisibleClassName:Ce(s,c.focusVisible),ref:n,ownerState:l,...a,children:[i,O.jsx(sie,{className:c.focusHighlight,ownerState:l})]})});function aie(t){return _s("MuiCardMedia",t)}Yo("MuiCardMedia",["root","media","img"]);const lie=t=>{const{classes:e,isMediaComponent:n,isImageComponent:r}=t;return na({root:["root",n&&"media",r&&"img"]},aie,e)},cie=Hr("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{isMediaComponent:r,isImageComponent:i}=n;return[e.root,r&&e.media,i&&e.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),uie=["video","audio","picture","iframe","img"],die=["picture","img"],tR=E.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiCardMedia"}),{children:i,className:o,component:s="div",image:a,src:l,style:c,...u}=r,d=uie.includes(s),f=!d&&a?{backgroundImage:`url("${a}")`,...c}:c,p={...r,component:s,isMediaComponent:d,isImageComponent:die.includes(s)},v=lie(p);return O.jsx(cie,{className:Ce(v.root,o),as:s,role:!d&&a?"img":void 0,ref:n,style:f,ownerState:p,src:d?a||l:void 0,...u,children:i})});function fie(t){const e=ah(t);return e.body===t?RA(t).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function yx(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function xF(t){return parseInt(RA(t).getComputedStyle(t).paddingRight,10)||0}function pie(t){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(t.tagName),r=t.tagName==="INPUT"&&t.getAttribute("type")==="hidden";return n||r}function bF(t,e,n,r,i){const o=[e,n,...r];[].forEach.call(t.children,s=>{const a=!o.includes(s),l=!pie(s);a&&l&&yx(s,i)})}function nR(t,e){let n=-1;return t.some((r,i)=>e(r)?(n=i,!0):!1),n}function hie(t,e){const n=[],r=t.container;if(!e.disableScrollLock){if(fie(r)){const s=Hee(RA(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${xF(r)+s}px`;const a=ah(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${xF(l)+s}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=ah(r).body;else{const s=r.parentElement,a=RA(r);o=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:a})=>{o?s.style.setProperty(a,o):s.style.removeProperty(a)})}}function mie(t){const e=[];return[].forEach.call(t.children,n=>{n.getAttribute("aria-hidden")==="true"&&e.push(n)}),e}let gie=class{constructor(){this.modals=[],this.containers=[]}add(e,n){let r=this.modals.indexOf(e);if(r!==-1)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&yx(e.modalRef,!1);const i=mie(n);bF(n,e.mount,e.modalRef,i,!0);const o=nR(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:n,restore:null,hiddenSiblings:i}),r)}mount(e,n){const r=nR(this.containers,o=>o.modals.includes(e)),i=this.containers[r];i.restore||(i.restore=hie(i,n))}remove(e,n=!0){const r=this.modals.indexOf(e);if(r===-1)return r;const i=nR(this.containers,s=>s.modals.includes(e)),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),e.modalRef&&yx(e.modalRef,n),bF(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=o.modals[o.modals.length-1];s.modalRef&&yx(s.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const vie=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function yie(t){const e=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(e)?t.contentEditable==="true"||(t.nodeName==="AUDIO"||t.nodeName==="VIDEO"||t.nodeName==="DETAILS")&&t.getAttribute("tabindex")===null?0:t.tabIndex:e}function xie(t){if(t.tagName!=="INPUT"||t.type!=="radio"||!t.name)return!1;const e=r=>t.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=e(`[name="${t.name}"]:checked`);return n||(n=e(`[name="${t.name}"]`)),n!==t}function bie(t){return!(t.disabled||t.tagName==="INPUT"&&t.type==="hidden"||xie(t))}function _ie(t){const e=[],n=[];return Array.from(t.querySelectorAll(vie)).forEach((r,i)=>{const o=yie(r);o===-1||!bie(r)||(o===0?e.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(e)}function Sie(){return!0}function Cie(t){const{children:e,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=_ie,isEnabled:s=Sie,open:a}=t,l=E.useRef(!1),c=E.useRef(null),u=E.useRef(null),d=E.useRef(null),f=E.useRef(null),p=E.useRef(!1),v=E.useRef(null),y=qd(FL(e),v),x=E.useRef(null);E.useEffect(()=>{!a||!v.current||(p.current=!n)},[n,a]),E.useEffect(()=>{if(!a||!v.current)return;const _=ah(v.current);return v.current.contains(_.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),p.current&&v.current.focus()),()=>{i||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),E.useEffect(()=>{if(!a||!v.current)return;const _=ah(v.current),C=R=>{x.current=R,!(r||!s()||R.key!=="Tab")&&_.activeElement===v.current&&R.shiftKey&&(l.current=!0,u.current&&u.current.focus())},P=()=>{var F,w;const R=v.current;if(R===null)return;if(!_.hasFocus()||!s()||l.current){l.current=!1;return}if(R.contains(_.activeElement)||r&&_.activeElement!==c.current&&_.activeElement!==u.current)return;if(_.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let k=[];if((_.activeElement===c.current||_.activeElement===u.current)&&(k=o(v.current)),k.length>0){const L=!!((F=x.current)!=null&&F.shiftKey&&((w=x.current)==null?void 0:w.key)==="Tab"),z=k[0],G=k[k.length-1];typeof z!="string"&&typeof G!="string"&&(L?G.focus():z.focus())}else R.focus()};_.addEventListener("focusin",P),_.addEventListener("keydown",C,!0);const A=setInterval(()=>{_.activeElement&&_.activeElement.tagName==="BODY"&&P()},50);return()=>{clearInterval(A),_.removeEventListener("focusin",P),_.removeEventListener("keydown",C,!0)}},[n,r,i,s,a,o]);const g=_=>{d.current===null&&(d.current=_.relatedTarget),p.current=!0,f.current=_.target;const C=e.props.onFocus;C&&C(_)},b=_=>{d.current===null&&(d.current=_.relatedTarget),p.current=!0};return O.jsxs(E.Fragment,{children:[O.jsx("div",{tabIndex:a?0:-1,onFocus:b,ref:c,"data-testid":"sentinelStart"}),E.cloneElement(e,{ref:y,onFocus:g}),O.jsx("div",{tabIndex:a?0:-1,onFocus:b,ref:u,"data-testid":"sentinelEnd"})]})}function Aie(t){return typeof t=="function"?t():t}function wie(t){return t?t.props.hasOwnProperty("in"):!1}const _F=()=>{},K1=new gie;function Mie(t){const{container:e,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:o,onTransitionExited:s,children:a,onClose:l,open:c,rootRef:u}=t,d=E.useRef({}),f=E.useRef(null),p=E.useRef(null),v=qd(p,u),[y,x]=E.useState(!c),g=wie(a);let b=!0;(t["aria-hidden"]==="false"||t["aria-hidden"]===!1)&&(b=!1);const _=()=>ah(f.current),C=()=>(d.current.modalRef=p.current,d.current.mount=f.current,d.current),P=()=>{K1.mount(C(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},A=Vg(()=>{const Y=Aie(e)||_().body;K1.add(C(),Y),p.current&&P()}),R=()=>K1.isTopModal(C()),k=Vg(Y=>{f.current=Y,Y&&(c&&R()?P():p.current&&yx(p.current,b))}),F=E.useCallback(()=>{K1.remove(C(),b)},[b]);E.useEffect(()=>()=>{F()},[F]),E.useEffect(()=>{c?A():(!g||!i)&&F()},[c,F,g,i,A]);const w=Y=>X=>{var ee;(ee=Y.onKeyDown)==null||ee.call(Y,X),!(X.key!=="Escape"||X.which===229||!R())&&(n||(X.stopPropagation(),l&&l(X,"escapeKeyDown")))},L=Y=>X=>{var ee;(ee=Y.onClick)==null||ee.call(Y,X),X.target===X.currentTarget&&l&&l(X,"backdropClick")};return{getRootProps:(Y={})=>{const X=hG(t);delete X.onTransitionEnter,delete X.onTransitionExited;const ee={...X,...Y};return{role:"presentation",...ee,onKeyDown:w(ee),ref:v}},getBackdropProps:(Y={})=>{const X=Y;return{"aria-hidden":!0,...X,onClick:L(X),open:c}},getTransitionProps:()=>{const Y=()=>{x(!1),o&&o()},X=()=>{x(!0),s&&s(),i&&F()};return{onEnter:WN(Y,(a==null?void 0:a.props.onEnter)??_F),onExited:WN(X,(a==null?void 0:a.props.onExited)??_F)}},rootRef:v,portalRef:k,isTopModal:R,exited:y,hasTransition:g}}function Eie(t){return _s("MuiModal",t)}Yo("MuiModal",["root","hidden","backdrop"]);const Tie=t=>{const{open:e,exited:n,classes:r}=t;return na({root:["root",!e&&n&&"hidden"],backdrop:["backdrop"]},Eie,r)},Rie=Hr("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.open&&n.exited&&e.hidden]}})(_l(({theme:t})=>({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),Pie=Hr(Ure,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,e)=>e.backdrop})({zIndex:-1}),UG=E.forwardRef(function(e,n){const r=Ss({name:"MuiModal",props:e}),{BackdropComponent:i=Pie,BackdropProps:o,classes:s,className:a,closeAfterTransition:l=!1,children:c,container:u,component:d,components:f={},componentsProps:p={},disableAutoFocus:v=!1,disableEnforceFocus:y=!1,disableEscapeKeyDown:x=!1,disablePortal:g=!1,disableRestoreFocus:b=!1,disableScrollLock:_=!1,hideBackdrop:C=!1,keepMounted:P=!1,onBackdropClick:A,onClose:R,onTransitionEnter:k,onTransitionExited:F,open:w,slotProps:L={},slots:z={},theme:G,...W}=r,Y={...r,closeAfterTransition:l,disableAutoFocus:v,disableEnforceFocus:y,disableEscapeKeyDown:x,disablePortal:g,disableRestoreFocus:b,disableScrollLock:_,hideBackdrop:C,keepMounted:P},{getRootProps:X,getBackdropProps:ee,getTransitionProps:$,portalRef:Q,isTopModal:ie,exited:fe,hasTransition:Ie}=Mie({...Y,rootRef:n}),Re={...Y,exited:fe},re=Tie(Re),me={};if(c.props.tabIndex===void 0&&(me.tabIndex="-1"),Ie){const{onEnter:pe,onExited:K}=$();me.onEnter=pe,me.onExited=K}const ye={...W,slots:{root:f.Root,backdrop:f.Backdrop,...z},slotProps:{...p,...L}},[Pe,Ee]=IA("root",{elementType:Rie,externalForwardedProps:ye,getSlotProps:X,additionalProps:{ref:n,as:d},ownerState:Re,className:Ce(a,re==null?void 0:re.root,!Re.open&&Re.exited&&(re==null?void 0:re.hidden))}),[Ge,ot]=IA("backdrop",{elementType:i,externalForwardedProps:ye,additionalProps:o,getSlotProps:pe=>ee({...pe,onClick:K=>{A&&A(K),pe!=null&&pe.onClick&&pe.onClick(K)}}),className:Ce(o==null?void 0:o.className,re==null?void 0:re.backdrop),ownerState:Re}),qe=qd(o==null?void 0:o.ref,ot.ref);return!P&&!w&&(!Ie||fe)?null:O.jsx(Lre,{ref:Q,container:u,disablePortal:g,children:O.jsxs(Pe,{...Ee,children:[!C&&i?O.jsx(Ge,{...ot,ref:qe}):null,O.jsx(Cie,{disableEnforceFocus:y,disableAutoFocus:v,disableRestoreFocus:b,isEnabled:ie,open:w,children:E.cloneElement(c,me)})]})})});function Iie(t){return _s("MuiToolbar",t)}Yo("MuiToolbar",["root","gutters","regular","dense"]);const Bie=t=>{const{classes:e,disableGutters:n,variant:r}=t;return na({root:["root",!n&&"gutters",r]},Iie,e)},Lie=Hr("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableGutters&&e.gutters,e[n.variant]]}})(_l(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:t.mixins.toolbar}]}))),kie=E.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:s=!1,variant:a="regular",...l}=r,c={...r,component:o,disableGutters:s,variant:a},u=Bie(c);return O.jsx(Lie,{as:o,className:Ce(u.root,i),ref:n,ownerState:c,...l})});var KL={};Object.defineProperty(KL,"__esModule",{value:!0});KL.parse=$ie;KL.serialize=Hie;const Die=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,Oie=/^[\u0021-\u003A\u003C-\u007E]*$/,Nie=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,Fie=/^[\u0020-\u003A\u003D-\u007E]*$/,Uie=Object.prototype.toString,zie=(()=>{const t=function(){};return t.prototype=Object.create(null),t})();function $ie(t,e){const n=new zie,r=t.length;if(r<2)return n;const i=(e==null?void 0:e.decode)||Gie;let o=0;do{const s=t.indexOf("=",o);if(s===-1)break;const a=t.indexOf(";",o),l=a===-1?r:a;if(s>l){o=t.lastIndexOf(";",s-1)+1;continue}const c=SF(t,o,s),u=CF(t,s,c),d=t.slice(c,u);if(n[d]===void 0){let f=SF(t,s+1,l),p=CF(t,l,f);const v=i(t.slice(f,p));n[d]=v}o=l+1}while(on;){const r=t.charCodeAt(--e);if(r!==32&&r!==9)return e+1}return n}function Hie(t,e,n){const r=(n==null?void 0:n.encode)||encodeURIComponent;if(!Die.test(t))throw new TypeError(`argument name is invalid: ${t}`);const i=r(e);if(!Oie.test(i))throw new TypeError(`argument val is invalid: ${e}`);let o=t+"="+i;if(!n)return o;if(n.maxAge!==void 0){if(!Number.isInteger(n.maxAge))throw new TypeError(`option maxAge is invalid: ${n.maxAge}`);o+="; Max-Age="+n.maxAge}if(n.domain){if(!Nie.test(n.domain))throw new TypeError(`option domain is invalid: ${n.domain}`);o+="; Domain="+n.domain}if(n.path){if(!Fie.test(n.path))throw new TypeError(`option path is invalid: ${n.path}`);o+="; Path="+n.path}if(n.expires){if(!Vie(n.expires)||!Number.isFinite(n.expires.valueOf()))throw new TypeError(`option expires is invalid: ${n.expires}`);o+="; Expires="+n.expires.toUTCString()}if(n.httpOnly&&(o+="; HttpOnly"),n.secure&&(o+="; Secure"),n.partitioned&&(o+="; Partitioned"),n.priority)switch(typeof n.priority=="string"?n.priority.toLowerCase():void 0){case"low":o+="; Priority=Low";break;case"medium":o+="; Priority=Medium";break;case"high":o+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${n.priority}`)}if(n.sameSite)switch(typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite){case!0:case"strict":o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"none":o+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${n.sameSite}`)}return o}function Gie(t){if(t.indexOf("%")===-1)return t;try{return decodeURIComponent(t)}catch{return t}}function Vie(t){return Uie.call(t)==="[object Date]"}/** +`,zte=typeof FI!="string"?ka` + animation: ${FI} 1.4s linear infinite; + `:null,$te=typeof UI!="string"?ka` + animation: ${UI} 1.4s ease-in-out infinite; + `:null,Hte=t=>{const{classes:e,variant:n,color:r,disableShrink:i}=t,o={root:["root",n,`color${_n(r)}`],svg:["svg"],circle:["circle",`circle${_n(n)}`,i&&"circleDisableShrink"]};return na(o,Ute,e)},Gte=zr("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`color${_n(n.color)}`]]}})(_l(({theme:t})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("transform")}},{props:{variant:"indeterminate"},style:zte||{animation:`${FI} 1.4s linear infinite`}},...Object.entries(t.palette).filter(cv()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}}))]}))),Vte=zr("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,e)=>e.svg})({display:"block"}),Wte=zr("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.circle,e[`circle${_n(n.variant)}`],n.disableShrink&&e.circleDisableShrink]}})(_l(({theme:t})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink,style:$te||{animation:`${UI} 1.4s ease-in-out infinite`}}]}))),jte=P.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:s=!1,size:a=40,style:l,thickness:c=3.6,value:u=0,variant:d="indeterminate",...f}=r,p={...r,color:o,disableShrink:s,size:a,thickness:c,value:u,variant:d},v=Hte(p),y={},x={},g={};if(d==="determinate"){const b=2*Math.PI*((rd-c)/2);y.strokeDasharray=b.toFixed(3),g["aria-valuenow"]=Math.round(u),y.strokeDashoffset=`${((100-u)/100*b).toFixed(3)}px`,x.transform="rotate(-90deg)"}return O.jsx(Gte,{className:_e(v.root,i),style:{width:a,height:a,...x,...l},ownerState:p,ref:n,role:"progressbar",...g,...f,children:O.jsx(Vte,{className:v.svg,ownerState:p,viewBox:`${rd/2} ${rd/2} ${rd} ${rd}`,children:O.jsx(Wte,{className:v.circle,style:y,ownerState:p,cx:rd,cy:rd,r:(rd-c)/2,fill:"none",strokeWidth:c})})})});function Xte(t){return _s("MuiTypography",t)}Ko("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Kte={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Yte=dte(),Jte=t=>{const{align:e,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=t,a={root:["root",o,t.align!=="inherit"&&`align${_n(e)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return na(a,Xte,s)},qte=zr("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],n.align!=="inherit"&&e[`align${_n(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})(_l(({theme:t})=>{var e;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(t.palette).filter(cv()).map(([n])=>({props:{color:n},style:{color:(t.vars||t).palette[n].main}})),...Object.entries(((e=t.palette)==null?void 0:e.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${_n(n)}`},style:{color:(t.vars||t).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),jN={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Qte=P.forwardRef(function(e,n){const{color:r,...i}=Ss({props:e,name:"MuiTypography"}),o=!Kte[r],s=Yte({...i,...o&&{color:r}}),{align:a="inherit",className:l,component:c,gutterBottom:u=!1,noWrap:d=!1,paragraph:f=!1,variant:p="body1",variantMapping:v=jN,...y}=s,x={...s,align:a,color:r,className:l,component:c,gutterBottom:u,noWrap:d,paragraph:f,variant:p,variantMapping:v},g=c||(f?"p":v[p]||jN[p])||"span",b=Jte(x);return O.jsx(qte,{as:g,ref:n,className:_e(b.root,l),...y,ownerState:x,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...y.style}})});function Zte(t){return _s("MuiAppBar",t)}Ko("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const ene=t=>{const{color:e,position:n,classes:r}=t,i={root:["root",`color${_n(e)}`,`position${_n(n)}`]};return na(i,Zte,r)},XN=(t,e)=>t?`${t==null?void 0:t.replace(")","")}, ${e})`:e,tne=zr(aG,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${_n(n.position)}`],e[`color${_n(n.color)}`]]}})(_l(({theme:t})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[100],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[100]),...t.applyStyles("dark",{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[900],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[900])})}},...Object.entries(t.palette).filter(cv(["contrastText"])).map(([e])=>({props:{color:e},style:{"--AppBar-background":(t.vars??t).palette[e].main,"--AppBar-color":(t.vars??t).palette[e].contrastText}})),{props:e=>e.enableColorOnDark===!0&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>e.enableColorOnDark===!1&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundColor:t.vars?XN(t.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:t.vars?XN(t.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundImage:"none"})}}]}))),nne=P.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:s=!1,position:a="fixed",...l}=r,c={...r,color:o,position:a,enableColorOnDark:s},u=ene(c);return O.jsx(tne,{square:!0,component:"header",ownerState:c,elevation:4,className:_e(u.root,i,a==="fixed"&&"mui-fixed"),ref:n,...l})});var ms="top",Da="bottom",Oa="right",gs="left",ML="auto",Ob=[ms,Da,Oa,gs],uv="start",eb="end",rne="clippingParents",cG="viewport",oy="popper",ine="reference",KN=Ob.reduce(function(t,e){return t.concat([e+"-"+uv,e+"-"+eb])},[]),uG=[].concat(Ob,[ML]).reduce(function(t,e){return t.concat([e,e+"-"+uv,e+"-"+eb])},[]),one="beforeRead",sne="read",ane="afterRead",lne="beforeMain",cne="main",une="afterMain",dne="beforeWrite",fne="write",pne="afterWrite",hne=[one,sne,ane,lne,cne,une,dne,fne,pne];function lc(t){return t?(t.nodeName||"").toLowerCase():null}function qs(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function rh(t){var e=qs(t).Element;return t instanceof e||t instanceof Element}function Ra(t){var e=qs(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function EL(t){if(typeof ShadowRoot>"u")return!1;var e=qs(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function mne(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!Ra(o)||!lc(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var a=i[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function gne(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},s=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),a=s.reduce(function(l,c){return l[c]="",l},{});!Ra(i)||!lc(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const vne={name:"applyStyles",enabled:!0,phase:"write",fn:mne,effect:gne,requires:["computeStyles"]};function nc(t){return t.split("-")[0]}var Fp=Math.max,CA=Math.min,dv=Math.round;function zI(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function dG(){return!/^((?!chrome|android).)*safari/i.test(zI())}function fv(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&Ra(t)&&(i=t.offsetWidth>0&&dv(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&dv(r.height)/t.offsetHeight||1);var s=rh(t)?qs(t):window,a=s.visualViewport,l=!dG()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/i,u=(r.top+(l&&a?a.offsetTop:0))/o,d=r.width/i,f=r.height/o;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function TL(t){var e=fv(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function fG(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&EL(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Su(t){return qs(t).getComputedStyle(t)}function yne(t){return["table","td","th"].indexOf(lc(t))>=0}function of(t){return((rh(t)?t.ownerDocument:t.document)||window.document).documentElement}function yM(t){return lc(t)==="html"?t:t.assignedSlot||t.parentNode||(EL(t)?t.host:null)||of(t)}function YN(t){return!Ra(t)||Su(t).position==="fixed"?null:t.offsetParent}function xne(t){var e=/firefox/i.test(zI()),n=/Trident/i.test(zI());if(n&&Ra(t)){var r=Su(t);if(r.position==="fixed")return null}var i=yM(t);for(EL(i)&&(i=i.host);Ra(i)&&["html","body"].indexOf(lc(i))<0;){var o=Su(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Nb(t){for(var e=qs(t),n=YN(t);n&&yne(n)&&Su(n).position==="static";)n=YN(n);return n&&(lc(n)==="html"||lc(n)==="body"&&Su(n).position==="static")?e:n||xne(t)||e}function RL(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function lx(t,e,n){return Fp(t,CA(e,n))}function bne(t,e,n){var r=lx(t,e,n);return r>n?n:r}function pG(){return{top:0,right:0,bottom:0,left:0}}function hG(t){return Object.assign({},pG(),t)}function mG(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var _ne=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,hG(typeof e!="number"?e:mG(e,Ob))};function Sne(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=nc(n.placement),l=RL(a),c=[gs,Oa].indexOf(a)>=0,u=c?"height":"width";if(!(!o||!s)){var d=_ne(i.padding,n),f=TL(o),p=l==="y"?ms:gs,v=l==="y"?Da:Oa,y=n.rects.reference[u]+n.rects.reference[l]-s[l]-n.rects.popper[u],x=s[l]-n.rects.reference[l],g=Nb(o),b=g?l==="y"?g.clientHeight||0:g.clientWidth||0:0,_=y/2-x/2,C=d[p],T=b-f[u]-d[v],A=b/2-f[u]/2+_,R=lx(C,A,T),D=l;n.modifiersData[r]=(e={},e[D]=R,e.centerOffset=R-A,e)}}function Cne(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||fG(e.elements.popper,i)&&(e.elements.arrow=i))}const Ane={name:"arrow",enabled:!0,phase:"main",fn:Sne,effect:Cne,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pv(t){return t.split("-")[1]}var wne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Mne(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:dv(n*i)/i||0,y:dv(r*i)/i||0}}function JN(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,s=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,d=t.isFixed,f=s.x,p=f===void 0?0:f,v=s.y,y=v===void 0?0:v,x=typeof u=="function"?u({x:p,y}):{x:p,y};p=x.x,y=x.y;var g=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),_=gs,C=ms,T=window;if(c){var A=Nb(n),R="clientHeight",D="clientWidth";if(A===qs(n)&&(A=of(n),Su(A).position!=="static"&&a==="absolute"&&(R="scrollHeight",D="scrollWidth")),A=A,i===ms||(i===gs||i===Oa)&&o===eb){C=Da;var U=d&&A===T&&T.visualViewport?T.visualViewport.height:A[R];y-=U-r.height,y*=l?1:-1}if(i===gs||(i===ms||i===Da)&&o===eb){_=Oa;var w=d&&A===T&&T.visualViewport?T.visualViewport.width:A[D];p-=w-r.width,p*=l?1:-1}}var L=Object.assign({position:a},c&&wne),H=u===!0?Mne({x:p,y},qs(n)):{x:p,y};if(p=H.x,y=H.y,l){var V;return Object.assign({},L,(V={},V[C]=b?"0":"",V[_]=g?"0":"",V.transform=(T.devicePixelRatio||1)<=1?"translate("+p+"px, "+y+"px)":"translate3d("+p+"px, "+y+"px, 0)",V))}return Object.assign({},L,(e={},e[C]=b?y+"px":"",e[_]=g?p+"px":"",e.transform="",e))}function Ene(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:nc(e.placement),variation:pv(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,JN(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,JN(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Tne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ene,data:{}};var D1={passive:!0};function Rne(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,a=s===void 0?!0:s,l=qs(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,D1)}),a&&l.addEventListener("resize",n.update,D1),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,D1)}),a&&l.removeEventListener("resize",n.update,D1)}}const Pne={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Rne,data:{}};var Ine={left:"right",right:"left",bottom:"top",top:"bottom"};function xC(t){return t.replace(/left|right|bottom|top/g,function(e){return Ine[e]})}var Bne={start:"end",end:"start"};function qN(t){return t.replace(/start|end/g,function(e){return Bne[e]})}function PL(t){var e=qs(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function IL(t){return fv(of(t)).left+PL(t).scrollLeft}function Lne(t,e){var n=qs(t),r=of(t),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;var c=dG();(c||!c&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a+IL(t),y:l}}function kne(t){var e,n=of(t),r=PL(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=Fp(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Fp(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+IL(t),l=-r.scrollTop;return Su(i||n).direction==="rtl"&&(a+=Fp(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function BL(t){var e=Su(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function gG(t){return["html","body","#document"].indexOf(lc(t))>=0?t.ownerDocument.body:Ra(t)&&BL(t)?t:gG(yM(t))}function cx(t,e){var n;e===void 0&&(e=[]);var r=gG(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=qs(r),s=i?[o].concat(o.visualViewport||[],BL(r)?r:[]):r,a=e.concat(s);return i?a:a.concat(cx(yM(s)))}function $I(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Dne(t,e){var n=fv(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function QN(t,e,n){return e===cG?$I(Lne(t,n)):rh(e)?Dne(e,n):$I(kne(of(t)))}function One(t){var e=cx(yM(t)),n=["absolute","fixed"].indexOf(Su(t).position)>=0,r=n&&Ra(t)?Nb(t):t;return rh(r)?e.filter(function(i){return rh(i)&&fG(i,r)&&lc(i)!=="body"}):[]}function Nne(t,e,n,r){var i=e==="clippingParents"?One(t):[].concat(e),o=[].concat(i,[n]),s=o[0],a=o.reduce(function(l,c){var u=QN(t,c,r);return l.top=Fp(u.top,l.top),l.right=CA(u.right,l.right),l.bottom=CA(u.bottom,l.bottom),l.left=Fp(u.left,l.left),l},QN(t,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function vG(t){var e=t.reference,n=t.element,r=t.placement,i=r?nc(r):null,o=r?pv(r):null,s=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(i){case ms:l={x:s,y:e.y-n.height};break;case Da:l={x:s,y:e.y+e.height};break;case Oa:l={x:e.x+e.width,y:a};break;case gs:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=i?RL(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case uv:l[c]=l[c]-(e[u]/2-n[u]/2);break;case eb:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function tb(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,s=o===void 0?t.strategy:o,a=n.boundary,l=a===void 0?rne:a,c=n.rootBoundary,u=c===void 0?cG:c,d=n.elementContext,f=d===void 0?oy:d,p=n.altBoundary,v=p===void 0?!1:p,y=n.padding,x=y===void 0?0:y,g=hG(typeof x!="number"?x:mG(x,Ob)),b=f===oy?ine:oy,_=t.rects.popper,C=t.elements[v?b:f],T=Nne(rh(C)?C:C.contextElement||of(t.elements.popper),l,u,s),A=fv(t.elements.reference),R=vG({reference:A,element:_,strategy:"absolute",placement:i}),D=$I(Object.assign({},_,R)),U=f===oy?D:A,w={top:T.top-U.top+g.top,bottom:U.bottom-T.bottom+g.bottom,left:T.left-U.left+g.left,right:U.right-T.right+g.right},L=t.modifiersData.offset;if(f===oy&&L){var H=L[i];Object.keys(w).forEach(function(V){var j=[Oa,Da].indexOf(V)>=0?1:-1,J=[ms,Da].indexOf(V)>=0?"y":"x";w[V]+=H[J]*j})}return w}function Fne(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?uG:l,u=pv(r),d=u?a?KN:KN.filter(function(v){return pv(v)===u}):Ob,f=d.filter(function(v){return c.indexOf(v)>=0});f.length===0&&(f=d);var p=f.reduce(function(v,y){return v[y]=tb(t,{placement:y,boundary:i,rootBoundary:o,padding:s})[nc(y)],v},{});return Object.keys(p).sort(function(v,y){return p[v]-p[y]})}function Une(t){if(nc(t)===ML)return[];var e=xC(t);return[qN(t),e,qN(e)]}function zne(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,v=p===void 0?!0:p,y=n.allowedAutoPlacements,x=e.options.placement,g=nc(x),b=g===x,_=l||(b||!v?[xC(x)]:Une(x)),C=[x].concat(_).reduce(function(oe,ge){return oe.concat(nc(ge)===ML?Fne(e,{placement:ge,boundary:u,rootBoundary:d,padding:c,flipVariations:v,allowedAutoPlacements:y}):ge)},[]),T=e.rects.reference,A=e.rects.popper,R=new Map,D=!0,U=C[0],w=0;w=0,J=j?"width":"height",X=tb(e,{placement:L,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),ee=j?V?Oa:gs:V?Da:ms;T[J]>A[J]&&(ee=xC(ee));var $=xC(ee),Z=[];if(o&&Z.push(X[H]<=0),a&&Z.push(X[ee]<=0,X[$]<=0),Z.every(function(oe){return oe})){U=L,D=!1;break}R.set(L,Z)}if(D)for(var ie=v?3:1,fe=function(ge){var ye=C.find(function(ke){var Te=R.get(ke);if(Te)return Te.slice(0,ge).every(function(He){return He})});if(ye)return U=ye,"break"},Pe=ie;Pe>0;Pe--){var Me=fe(Pe);if(Me==="break")break}e.placement!==U&&(e.modifiersData[r]._skip=!0,e.placement=U,e.reset=!0)}}const $ne={name:"flip",enabled:!0,phase:"main",fn:zne,requiresIfExists:["offset"],data:{_skip:!1}};function ZN(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function eF(t){return[ms,Oa,Da,gs].some(function(e){return t[e]>=0})}function Hne(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,s=tb(e,{elementContext:"reference"}),a=tb(e,{altBoundary:!0}),l=ZN(s,r),c=ZN(a,i,o),u=eF(l),d=eF(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const Gne={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Hne};function Vne(t,e,n){var r=nc(t),i=[gs,ms].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[gs,Oa].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function Wne(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,s=uG.reduce(function(u,d){return u[d]=Vne(d,e.rects,o),u},{}),a=s[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=s}const jne={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Wne};function Xne(t){var e=t.state,n=t.name;e.modifiersData[n]=vG({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Kne={name:"popperOffsets",enabled:!0,phase:"read",fn:Xne,data:{}};function Yne(t){return t==="x"?"y":"x"}function Jne(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,v=n.tetherOffset,y=v===void 0?0:v,x=tb(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),g=nc(e.placement),b=pv(e.placement),_=!b,C=RL(g),T=Yne(C),A=e.modifiersData.popperOffsets,R=e.rects.reference,D=e.rects.popper,U=typeof y=="function"?y(Object.assign({},e.rects,{placement:e.placement})):y,w=typeof U=="number"?{mainAxis:U,altAxis:U}:Object.assign({mainAxis:0,altAxis:0},U),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,H={x:0,y:0};if(A){if(o){var V,j=C==="y"?ms:gs,J=C==="y"?Da:Oa,X=C==="y"?"height":"width",ee=A[C],$=ee+x[j],Z=ee-x[J],ie=p?-D[X]/2:0,fe=b===uv?R[X]:D[X],Pe=b===uv?-D[X]:-R[X],Me=e.elements.arrow,oe=p&&Me?TL(Me):{width:0,height:0},ge=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:pG(),ye=ge[j],ke=ge[J],Te=lx(0,R[X],oe[X]),He=_?R[X]/2-ie-Te-ye-w.mainAxis:fe-Te-ye-w.mainAxis,ot=_?-R[X]/2+ie+Te+ke+w.mainAxis:Pe+Te+ke+w.mainAxis,Je=e.elements.arrow&&Nb(e.elements.arrow),pe=Je?C==="y"?Je.clientTop||0:Je.clientLeft||0:0,K=(V=L==null?void 0:L[C])!=null?V:0,Ne=ee+He-K-pe,we=ee+ot-K,Se=lx(p?CA($,Ne):$,ee,p?Fp(Z,we):Z);A[C]=Se,H[C]=Se-ee}if(a){var Xe,Ve=C==="x"?ms:gs,mt=C==="x"?Da:Oa,q=A[T],W=T==="y"?"height":"width",de=q+x[Ve],De=q-x[mt],Ge=[ms,gs].indexOf(g)!==-1,je=(Xe=L==null?void 0:L[T])!=null?Xe:0,St=Ge?de:q-R[W]-D[W]-je+w.altAxis,ct=Ge?q+R[W]+D[W]-je-w.altAxis:De,Ce=p&&Ge?bne(St,q,ct):lx(p?St:de,q,p?ct:De);A[T]=Ce,H[T]=Ce-q}e.modifiersData[r]=H}}const qne={name:"preventOverflow",enabled:!0,phase:"main",fn:Jne,requiresIfExists:["offset"]};function Qne(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Zne(t){return t===qs(t)||!Ra(t)?PL(t):Qne(t)}function ere(t){var e=t.getBoundingClientRect(),n=dv(e.width)/t.offsetWidth||1,r=dv(e.height)/t.offsetHeight||1;return n!==1||r!==1}function tre(t,e,n){n===void 0&&(n=!1);var r=Ra(e),i=Ra(e)&&ere(e),o=of(e),s=fv(t,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((lc(e)!=="body"||BL(o))&&(a=Zne(e)),Ra(e)?(l=fv(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=IL(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function nre(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&i(l)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function rre(t){var e=nre(t);return hne.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function ire(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function ore(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var tF={placement:"bottom",modifiers:[],strategy:"absolute"};function nF(){for(var t=arguments.length,e=new Array(t),n=0;n{o||a(cre(i)||document.body)},[i,o]),PI(()=>{if(s&&!o)return BI(n,s),()=>{BI(n,null)}},[n,s,o]),o){if(P.isValidElement(r)){const c={ref:l};return P.cloneElement(r,c)}return r}return s&&nv.createPortal(r,s)}),dre={entering:{opacity:1},entered:{opacity:1}},fre=P.forwardRef(function(e,n){const r=iG(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:a,easing:l,in:c,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:v,onExiting:y,style:x,timeout:g=i,TransitionComponent:b=Cs,..._}=e,C=P.useRef(null),T=Xd(C,CL(a),n),A=j=>J=>{if(j){const X=C.current;J===void 0?j(X):j(X,J)}},R=A(f),D=A((j,J)=>{xte(j);const X=WN({style:x,timeout:g,easing:l},{mode:"enter"});j.style.webkitTransition=r.transitions.create("opacity",X),j.style.transition=r.transitions.create("opacity",X),u&&u(j,J)}),U=A(d),w=A(y),L=A(j=>{const J=WN({style:x,timeout:g,easing:l},{mode:"exit"});j.style.webkitTransition=r.transitions.create("opacity",J),j.style.transition=r.transitions.create("opacity",J),p&&p(j)}),H=A(v),V=j=>{o&&o(C.current,j)};return O.jsx(b,{appear:s,in:c,nodeRef:C,onEnter:D,onEntered:U,onEntering:R,onExit:L,onExited:H,onExiting:w,addEndListener:V,timeout:g,..._,children:(j,{ownerState:J,...X})=>P.cloneElement(a,{style:{opacity:0,visibility:j==="exited"&&!c?"hidden":void 0,...dre[j],...x,...a.props.style},ref:T,...X})})});function pre(t){return _s("MuiBackdrop",t)}Ko("MuiBackdrop",["root","invisible"]);const hre=t=>{const{classes:e,invisible:n}=t;return na({root:["root",n&&"invisible"]},pre,e)},mre=zr("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.invisible&&e.invisible]}})({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",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),gre=P.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiBackdrop"}),{children:i,className:o,component:s="div",invisible:a=!1,open:l,components:c={},componentsProps:u={},slotProps:d={},slots:f={},TransitionComponent:p,transitionDuration:v,...y}=r,x={...r,component:s,invisible:a},g=hre(x),b={transition:p,root:c.Root,...f},_={...u,...d},C={slots:b,slotProps:_},[T,A]=_A("root",{elementType:mre,externalForwardedProps:C,className:_e(g.root,o),ownerState:x}),[R,D]=_A("transition",{elementType:fre,externalForwardedProps:C,ownerState:x});return O.jsx(R,{in:l,timeout:v,...y,...D,children:O.jsx(T,{"aria-hidden":!0,...A,classes:g,ref:n,children:i})})}),vre=Ko("MuiBox",["root"]),yre=nG(),HI=qZ({themeId:iL,defaultTheme:yre,defaultClassName:vre.root,generateClassName:GH.generate});function xre(t){return _s("MuiButton",t)}const zf=Ko("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),yG=P.createContext({}),xG=P.createContext(void 0),bre=t=>{const{color:e,disableElevation:n,fullWidth:r,size:i,variant:o,loading:s,loadingPosition:a,classes:l}=t,c={root:["root",s&&"loading",o,`${o}${_n(e)}`,`size${_n(i)}`,`${o}Size${_n(i)}`,`color${_n(e)}`,n&&"disableElevation",r&&"fullWidth",s&&`loadingPosition${_n(a)}`],startIcon:["icon","startIcon",`iconSize${_n(i)}`],endIcon:["icon","endIcon",`iconSize${_n(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},u=na(c,xre,l);return{...l,...u}},bG=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],_re=zr(lG,{shouldForwardProp:t=>oG(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${_n(n.color)}`],e[`size${_n(n.size)}`],e[`${n.variant}Size${_n(n.size)}`],n.color==="inherit"&&e.colorInherit,n.disableElevation&&e.disableElevation,n.fullWidth&&e.fullWidth,n.loading&&e.loading]}})(_l(({theme:t})=>{const e=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],n=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return{...t.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${zf.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(t.vars||t).shadows[2],"&:hover":{boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2]}},"&:active":{boxShadow:(t.vars||t).shadows[8]},[`&.${zf.focusVisible}`]:{boxShadow:(t.vars||t).shadows[6]},[`&.${zf.disabled}`]:{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${zf.disabled}`]:{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(t.palette).filter(cv()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(t.vars||t).palette[r].main,"--variant-outlinedColor":(t.vars||t).palette[r].main,"--variant-outlinedBorder":t.vars?`rgba(${t.vars.palette[r].mainChannel} / 0.5)`:Qc(t.palette[r].main,.5),"--variant-containedColor":(t.vars||t).palette[r].contrastText,"--variant-containedBg":(t.vars||t).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(t.vars||t).palette[r].dark,"--variant-textBg":t.vars?`rgba(${t.vars.palette[r].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Qc(t.palette[r].main,t.palette.action.hoverOpacity),"--variant-outlinedBorder":(t.vars||t).palette[r].main,"--variant-outlinedBg":t.vars?`rgba(${t.vars.palette[r].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Qc(t.palette[r].main,t.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedBg:e,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Qc(t.palette.text.primary,t.palette.action.hoverOpacity),"--variant-outlinedBg":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Qc(t.palette.text.primary,t.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${zf.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${zf.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${zf.loading}`]:{color:"transparent"}}}]}})),Sre=zr("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.startIcon,n.loading&&e.startIconLoadingStart,e[`iconSize${_n(n.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...bG]})),Cre=zr("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.endIcon,n.loading&&e.endIconLoadingEnd,e[`iconSize${_n(n.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...bG]})),Are=zr("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(t,e)=>e.loadingIndicator})(({theme:t})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(t.vars||t).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),rF=zr("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(t,e)=>e.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),ul=P.forwardRef(function(e,n){const r=P.useContext(yG),i=P.useContext(xG),o=yA(r,e),s=Ss({props:o,name:"MuiButton"}),{children:a,color:l="primary",component:c="button",className:u,disabled:d=!1,disableElevation:f=!1,disableFocusRipple:p=!1,endIcon:v,focusVisibleClassName:y,fullWidth:x=!1,id:g,loading:b=null,loadingIndicator:_,loadingPosition:C="center",size:T="medium",startIcon:A,type:R,variant:D="text",...U}=s,w=hee(g),L=_??O.jsx(jte,{"aria-labelledby":w,color:"inherit",size:16}),H={...s,color:l,component:c,disabled:d,disableElevation:f,disableFocusRipple:p,fullWidth:x,loading:b,loadingIndicator:L,loadingPosition:C,size:T,type:R,variant:D},V=bre(H),j=(A||b&&C==="start")&&O.jsx(Sre,{className:V.startIcon,ownerState:H,children:A||O.jsx(rF,{className:V.loadingIconPlaceholder,ownerState:H})}),J=(v||b&&C==="end")&&O.jsx(Cre,{className:V.endIcon,ownerState:H,children:v||O.jsx(rF,{className:V.loadingIconPlaceholder,ownerState:H})}),X=i||"",ee=typeof b=="boolean"?O.jsx("span",{className:V.loadingWrapper,style:{display:"contents"},children:b&&O.jsx(Are,{className:V.loadingIndicator,ownerState:H,children:L})}):null;return O.jsxs(_re,{ownerState:H,className:_e(r.className,V.root,u,X),component:c,disabled:d||b,focusRipple:!p,focusVisibleClassName:_e(V.focusVisible,y),ref:n,type:R,id:w,...U,classes:V,children:[j,C!=="end"&&ee,a,C==="end"&&ee,J]})});function wre(t){return _s("MuiButtonGroup",t)}const vn=Ko("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","horizontal","vertical","colorPrimary","colorSecondary","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]),Mre=(t,e)=>{const{ownerState:n}=t;return[{[`& .${vn.grouped}`]:e.grouped},{[`& .${vn.grouped}`]:e[`grouped${_n(n.orientation)}`]},{[`& .${vn.grouped}`]:e[`grouped${_n(n.variant)}`]},{[`& .${vn.grouped}`]:e[`grouped${_n(n.variant)}${_n(n.orientation)}`]},{[`& .${vn.grouped}`]:e[`grouped${_n(n.variant)}${_n(n.color)}`]},{[`& .${vn.firstButton}`]:e.firstButton},{[`& .${vn.lastButton}`]:e.lastButton},{[`& .${vn.middleButton}`]:e.middleButton},e.root,e[n.variant],n.disableElevation===!0&&e.disableElevation,n.fullWidth&&e.fullWidth,n.orientation==="vertical"&&e.vertical]},Ere=t=>{const{classes:e,color:n,disabled:r,disableElevation:i,fullWidth:o,orientation:s,variant:a}=t,l={root:["root",a,s,o&&"fullWidth",i&&"disableElevation",`color${_n(n)}`],grouped:["grouped",`grouped${_n(s)}`,`grouped${_n(a)}`,`grouped${_n(a)}${_n(s)}`,`grouped${_n(a)}${_n(n)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return na(l,wre,e)},Tre=zr("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:Mre})(_l(({theme:t})=>({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius,variants:[{props:{variant:"contained"},style:{boxShadow:(t.vars||t).shadows[2]}},{props:{disableElevation:!0},style:{boxShadow:"none"}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${vn.lastButton},& .${vn.middleButton}`]:{borderTopRightRadius:0,borderTopLeftRadius:0},[`& .${vn.firstButton},& .${vn.middleButton}`]:{borderBottomRightRadius:0,borderBottomLeftRadius:0}}},{props:{orientation:"horizontal"},style:{[`& .${vn.firstButton},& .${vn.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${vn.lastButton},& .${vn.middleButton}`]:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},{props:{variant:"text",orientation:"horizontal"},style:{[`& .${vn.firstButton},& .${vn.middleButton}`]:{borderRight:t.vars?`1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${vn.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}}}},{props:{variant:"text",orientation:"vertical"},style:{[`& .${vn.firstButton},& .${vn.middleButton}`]:{borderBottom:t.vars?`1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${vn.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}}}},...Object.entries(t.palette).filter(cv()).flatMap(([e])=>[{props:{variant:"text",color:e},style:{[`& .${vn.firstButton},& .${vn.middleButton}`]:{borderColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / 0.5)`:Qc(t.palette[e].main,.5)}}}]),{props:{variant:"outlined",orientation:"horizontal"},style:{[`& .${vn.firstButton},& .${vn.middleButton}`]:{borderRightColor:"transparent","&:hover":{borderRightColor:"currentColor"}},[`& .${vn.lastButton},& .${vn.middleButton}`]:{marginLeft:-1}}},{props:{variant:"outlined",orientation:"vertical"},style:{[`& .${vn.firstButton},& .${vn.middleButton}`]:{borderBottomColor:"transparent","&:hover":{borderBottomColor:"currentColor"}},[`& .${vn.lastButton},& .${vn.middleButton}`]:{marginTop:-1}}},{props:{variant:"contained",orientation:"horizontal"},style:{[`& .${vn.firstButton},& .${vn.middleButton}`]:{borderRight:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${vn.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}}}},{props:{variant:"contained",orientation:"vertical"},style:{[`& .${vn.firstButton},& .${vn.middleButton}`]:{borderBottom:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${vn.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}}}},...Object.entries(t.palette).filter(cv(["dark"])).map(([e])=>({props:{variant:"contained",color:e},style:{[`& .${vn.firstButton},& .${vn.middleButton}`]:{borderColor:(t.vars||t).palette[e].dark}}}))],[`& .${vn.grouped}`]:{minWidth:40,boxShadow:"none",props:{variant:"contained"},style:{"&:hover":{boxShadow:"none"}}}}))),Rre=P.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiButtonGroup"}),{children:i,className:o,color:s="primary",component:a="div",disabled:l=!1,disableElevation:c=!1,disableFocusRipple:u=!1,disableRipple:d=!1,fullWidth:f=!1,orientation:p="horizontal",size:v="medium",variant:y="outlined",...x}=r,g={...r,color:s,component:a,disabled:l,disableElevation:c,disableFocusRipple:u,disableRipple:d,fullWidth:f,orientation:p,size:v,variant:y},b=Ere(g),_=P.useMemo(()=>({className:b.grouped,color:s,disabled:l,disableElevation:c,disableFocusRipple:u,disableRipple:d,fullWidth:f,size:v,variant:y}),[s,l,c,u,d,f,v,y,b.grouped]),C=bee(i),T=C.length,A=R=>{const D=R===0,U=R===T-1;return D&&U?"":D?b.firstButton:U?b.lastButton:b.middleButton};return O.jsx(Tre,{as:a,role:"group",className:_e(b.root,o),ref:n,ownerState:g,...x,children:O.jsx(yG.Provider,{value:_,children:C.map((R,D)=>O.jsx(xG.Provider,{value:A(D),children:R},D))})})});function Pre(t){return _s("MuiCard",t)}Ko("MuiCard",["root"]);const Ire=t=>{const{classes:e}=t;return na({root:["root"]},Pre,e)},Bre=zr(aG,{name:"MuiCard",slot:"Root",overridesResolver:(t,e)=>e.root})({overflow:"hidden"}),Lre=P.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiCard"}),{className:i,raised:o=!1,...s}=r,a={...r,raised:o},l=Ire(a);return O.jsx(Bre,{className:_e(l.root,i),elevation:o?8:void 0,ref:n,ownerState:a,...s})});function kre(t){return _s("MuiCardActionArea",t)}const HT=Ko("MuiCardActionArea",["root","focusVisible","focusHighlight"]),Dre=t=>{const{classes:e}=t;return na({root:["root"],focusHighlight:["focusHighlight"]},kre,e)},Ore=zr(lG,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(t,e)=>e.root})(_l(({theme:t})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${HT.focusHighlight}`]:{opacity:(t.vars||t).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${HT.focusVisible} .${HT.focusHighlight}`]:{opacity:(t.vars||t).palette.action.focusOpacity}}))),Nre=zr("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(t,e)=>e.focusHighlight})(_l(({theme:t})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:t.transitions.create("opacity",{duration:t.transitions.duration.short})}))),O1=P.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiCardActionArea"}),{children:i,className:o,focusVisibleClassName:s,...a}=r,l=r,c=Dre(l);return O.jsxs(Ore,{className:_e(c.root,o),focusVisibleClassName:_e(s,c.focusVisible),ref:n,ownerState:l,...a,children:[i,O.jsx(Nre,{className:c.focusHighlight,ownerState:l})]})});function Fre(t){return _s("MuiCardMedia",t)}Ko("MuiCardMedia",["root","media","img"]);const Ure=t=>{const{classes:e,isMediaComponent:n,isImageComponent:r}=t;return na({root:["root",n&&"media",r&&"img"]},Fre,e)},zre=zr("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{isMediaComponent:r,isImageComponent:i}=n;return[e.root,r&&e.media,i&&e.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),$re=["video","audio","picture","iframe","img"],Hre=["picture","img"],GT=P.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiCardMedia"}),{children:i,className:o,component:s="div",image:a,src:l,style:c,...u}=r,d=$re.includes(s),f=!d&&a?{backgroundImage:`url("${a}")`,...c}:c,p={...r,component:s,isMediaComponent:d,isImageComponent:Hre.includes(s)},v=Ure(p);return O.jsx(zre,{className:_e(v.root,o),as:s,role:!d&&a?"img":void 0,ref:n,style:f,ownerState:p,src:d?a||l:void 0,...u,children:i})});function Gre(t){const e=nh(t);return e.body===t?xA(t).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function ux(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function iF(t){return parseInt(xA(t).getComputedStyle(t).paddingRight,10)||0}function Vre(t){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(t.tagName),r=t.tagName==="INPUT"&&t.getAttribute("type")==="hidden";return n||r}function oF(t,e,n,r,i){const o=[e,n,...r];[].forEach.call(t.children,s=>{const a=!o.includes(s),l=!Vre(s);a&&l&&ux(s,i)})}function VT(t,e){let n=-1;return t.some((r,i)=>e(r)?(n=i,!0):!1),n}function Wre(t,e){const n=[],r=t.container;if(!e.disableScrollLock){if(Gre(r)){const s=xee(xA(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${iF(r)+s}px`;const a=nh(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${iF(l)+s}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=nh(r).body;else{const s=r.parentElement,a=xA(r);o=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:a})=>{o?s.style.setProperty(a,o):s.style.removeProperty(a)})}}function jre(t){const e=[];return[].forEach.call(t.children,n=>{n.getAttribute("aria-hidden")==="true"&&e.push(n)}),e}let Xre=class{constructor(){this.modals=[],this.containers=[]}add(e,n){let r=this.modals.indexOf(e);if(r!==-1)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&ux(e.modalRef,!1);const i=jre(n);oF(n,e.mount,e.modalRef,i,!0);const o=VT(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:n,restore:null,hiddenSiblings:i}),r)}mount(e,n){const r=VT(this.containers,o=>o.modals.includes(e)),i=this.containers[r];i.restore||(i.restore=Wre(i,n))}remove(e,n=!0){const r=this.modals.indexOf(e);if(r===-1)return r;const i=VT(this.containers,s=>s.modals.includes(e)),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),e.modalRef&&ux(e.modalRef,n),oF(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=o.modals[o.modals.length-1];s.modalRef&&ux(s.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const Kre=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Yre(t){const e=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(e)?t.contentEditable==="true"||(t.nodeName==="AUDIO"||t.nodeName==="VIDEO"||t.nodeName==="DETAILS")&&t.getAttribute("tabindex")===null?0:t.tabIndex:e}function Jre(t){if(t.tagName!=="INPUT"||t.type!=="radio"||!t.name)return!1;const e=r=>t.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=e(`[name="${t.name}"]:checked`);return n||(n=e(`[name="${t.name}"]`)),n!==t}function qre(t){return!(t.disabled||t.tagName==="INPUT"&&t.type==="hidden"||Jre(t))}function Qre(t){const e=[],n=[];return Array.from(t.querySelectorAll(Kre)).forEach((r,i)=>{const o=Yre(r);o===-1||!qre(r)||(o===0?e.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(e)}function Zre(){return!0}function eie(t){const{children:e,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=Qre,isEnabled:s=Zre,open:a}=t,l=P.useRef(!1),c=P.useRef(null),u=P.useRef(null),d=P.useRef(null),f=P.useRef(null),p=P.useRef(!1),v=P.useRef(null),y=Xd(CL(e),v),x=P.useRef(null);P.useEffect(()=>{!a||!v.current||(p.current=!n)},[n,a]),P.useEffect(()=>{if(!a||!v.current)return;const _=nh(v.current);return v.current.contains(_.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),p.current&&v.current.focus()),()=>{i||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),P.useEffect(()=>{if(!a||!v.current)return;const _=nh(v.current),C=R=>{x.current=R,!(r||!s()||R.key!=="Tab")&&_.activeElement===v.current&&R.shiftKey&&(l.current=!0,u.current&&u.current.focus())},T=()=>{var U,w;const R=v.current;if(R===null)return;if(!_.hasFocus()||!s()||l.current){l.current=!1;return}if(R.contains(_.activeElement)||r&&_.activeElement!==c.current&&_.activeElement!==u.current)return;if(_.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let D=[];if((_.activeElement===c.current||_.activeElement===u.current)&&(D=o(v.current)),D.length>0){const L=!!((U=x.current)!=null&&U.shiftKey&&((w=x.current)==null?void 0:w.key)==="Tab"),H=D[0],V=D[D.length-1];typeof H!="string"&&typeof V!="string"&&(L?V.focus():H.focus())}else R.focus()};_.addEventListener("focusin",T),_.addEventListener("keydown",C,!0);const A=setInterval(()=>{_.activeElement&&_.activeElement.tagName==="BODY"&&T()},50);return()=>{clearInterval(A),_.removeEventListener("focusin",T),_.removeEventListener("keydown",C,!0)}},[n,r,i,s,a,o]);const g=_=>{d.current===null&&(d.current=_.relatedTarget),p.current=!0,f.current=_.target;const C=e.props.onFocus;C&&C(_)},b=_=>{d.current===null&&(d.current=_.relatedTarget),p.current=!0};return O.jsxs(P.Fragment,{children:[O.jsx("div",{tabIndex:a?0:-1,onFocus:b,ref:c,"data-testid":"sentinelStart"}),P.cloneElement(e,{ref:y,onFocus:g}),O.jsx("div",{tabIndex:a?0:-1,onFocus:b,ref:u,"data-testid":"sentinelEnd"})]})}function tie(t){return typeof t=="function"?t():t}function nie(t){return t?t.props.hasOwnProperty("in"):!1}const sF=()=>{},N1=new Xre;function rie(t){const{container:e,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:o,onTransitionExited:s,children:a,onClose:l,open:c,rootRef:u}=t,d=P.useRef({}),f=P.useRef(null),p=P.useRef(null),v=Xd(p,u),[y,x]=P.useState(!c),g=nie(a);let b=!0;(t["aria-hidden"]==="false"||t["aria-hidden"]===!1)&&(b=!1);const _=()=>nh(f.current),C=()=>(d.current.modalRef=p.current,d.current.mount=f.current,d.current),T=()=>{N1.mount(C(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},A=Ug(()=>{const J=tie(e)||_().body;N1.add(C(),J),p.current&&T()}),R=()=>N1.isTopModal(C()),D=Ug(J=>{f.current=J,J&&(c&&R()?T():p.current&&ux(p.current,b))}),U=P.useCallback(()=>{N1.remove(C(),b)},[b]);P.useEffect(()=>()=>{U()},[U]),P.useEffect(()=>{c?A():(!g||!i)&&U()},[c,U,g,i,A]);const w=J=>X=>{var ee;(ee=J.onKeyDown)==null||ee.call(J,X),!(X.key!=="Escape"||X.which===229||!R())&&(n||(X.stopPropagation(),l&&l(X,"escapeKeyDown")))},L=J=>X=>{var ee;(ee=J.onClick)==null||ee.call(J,X),X.target===X.currentTarget&&l&&l(X,"backdropClick")};return{getRootProps:(J={})=>{const X=JH(t);delete X.onTransitionEnter,delete X.onTransitionExited;const ee={...X,...J};return{role:"presentation",...ee,onKeyDown:w(ee),ref:v}},getBackdropProps:(J={})=>{const X=J;return{"aria-hidden":!0,...X,onClick:L(X),open:c}},getTransitionProps:()=>{const J=()=>{x(!1),o&&o()},X=()=>{x(!0),s&&s(),i&&U()};return{onEnter:PN(J,(a==null?void 0:a.props.onEnter)??sF),onExited:PN(X,(a==null?void 0:a.props.onExited)??sF)}},rootRef:v,portalRef:D,isTopModal:R,exited:y,hasTransition:g}}function iie(t){return _s("MuiModal",t)}Ko("MuiModal",["root","hidden","backdrop"]);const oie=t=>{const{open:e,exited:n,classes:r}=t;return na({root:["root",!e&&n&&"hidden"],backdrop:["backdrop"]},iie,r)},sie=zr("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.open&&n.exited&&e.hidden]}})(_l(({theme:t})=>({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),aie=zr(gre,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,e)=>e.backdrop})({zIndex:-1}),_G=P.forwardRef(function(e,n){const r=Ss({name:"MuiModal",props:e}),{BackdropComponent:i=aie,BackdropProps:o,classes:s,className:a,closeAfterTransition:l=!1,children:c,container:u,component:d,components:f={},componentsProps:p={},disableAutoFocus:v=!1,disableEnforceFocus:y=!1,disableEscapeKeyDown:x=!1,disablePortal:g=!1,disableRestoreFocus:b=!1,disableScrollLock:_=!1,hideBackdrop:C=!1,keepMounted:T=!1,onBackdropClick:A,onClose:R,onTransitionEnter:D,onTransitionExited:U,open:w,slotProps:L={},slots:H={},theme:V,...j}=r,J={...r,closeAfterTransition:l,disableAutoFocus:v,disableEnforceFocus:y,disableEscapeKeyDown:x,disablePortal:g,disableRestoreFocus:b,disableScrollLock:_,hideBackdrop:C,keepMounted:T},{getRootProps:X,getBackdropProps:ee,getTransitionProps:$,portalRef:Z,isTopModal:ie,exited:fe,hasTransition:Pe}=rie({...J,rootRef:n}),Me={...J,exited:fe},oe=oie(Me),ge={};if(c.props.tabIndex===void 0&&(ge.tabIndex="-1"),Pe){const{onEnter:pe,onExited:K}=$();ge.onEnter=pe,ge.onExited=K}const ye={...j,slots:{root:f.Root,backdrop:f.Backdrop,...H},slotProps:{...p,...L}},[ke,Te]=_A("root",{elementType:sie,externalForwardedProps:ye,getSlotProps:X,additionalProps:{ref:n,as:d},ownerState:Me,className:_e(a,oe==null?void 0:oe.root,!Me.open&&Me.exited&&(oe==null?void 0:oe.hidden))}),[He,ot]=_A("backdrop",{elementType:i,externalForwardedProps:ye,additionalProps:o,getSlotProps:pe=>ee({...pe,onClick:K=>{A&&A(K),pe!=null&&pe.onClick&&pe.onClick(K)}}),className:_e(o==null?void 0:o.className,oe==null?void 0:oe.backdrop),ownerState:Me}),Je=Xd(o==null?void 0:o.ref,ot.ref);return!T&&!w&&(!Pe||fe)?null:O.jsx(ure,{ref:Z,container:u,disablePortal:g,children:O.jsxs(ke,{...Te,children:[!C&&i?O.jsx(He,{...ot,ref:Je}):null,O.jsx(eie,{disableEnforceFocus:y,disableAutoFocus:v,disableRestoreFocus:b,isEnabled:ie,open:w,children:P.cloneElement(c,ge)})]})})});function lie(t){return _s("MuiToolbar",t)}Ko("MuiToolbar",["root","gutters","regular","dense"]);const cie=t=>{const{classes:e,disableGutters:n,variant:r}=t;return na({root:["root",!n&&"gutters",r]},lie,e)},uie=zr("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableGutters&&e.gutters,e[n.variant]]}})(_l(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:t.mixins.toolbar}]}))),die=P.forwardRef(function(e,n){const r=Ss({props:e,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:s=!1,variant:a="regular",...l}=r,c={...r,component:o,disableGutters:s,variant:a},u=cie(c);return O.jsx(uie,{as:o,className:_e(u.root,i),ref:n,ownerState:c,...l})});var LL={};Object.defineProperty(LL,"__esModule",{value:!0});LL.parse=yie;LL.serialize=xie;const fie=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,pie=/^[\u0021-\u003A\u003C-\u007E]*$/,hie=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,mie=/^[\u0020-\u003A\u003D-\u007E]*$/,gie=Object.prototype.toString,vie=(()=>{const t=function(){};return t.prototype=Object.create(null),t})();function yie(t,e){const n=new vie,r=t.length;if(r<2)return n;const i=(e==null?void 0:e.decode)||bie;let o=0;do{const s=t.indexOf("=",o);if(s===-1)break;const a=t.indexOf(";",o),l=a===-1?r:a;if(s>l){o=t.lastIndexOf(";",s-1)+1;continue}const c=aF(t,o,s),u=lF(t,s,c),d=t.slice(c,u);if(n[d]===void 0){let f=aF(t,s+1,l),p=lF(t,l,f);const v=i(t.slice(f,p));n[d]=v}o=l+1}while(on;){const r=t.charCodeAt(--e);if(r!==32&&r!==9)return e+1}return n}function xie(t,e,n){const r=(n==null?void 0:n.encode)||encodeURIComponent;if(!fie.test(t))throw new TypeError(`argument name is invalid: ${t}`);const i=r(e);if(!pie.test(i))throw new TypeError(`argument val is invalid: ${e}`);let o=t+"="+i;if(!n)return o;if(n.maxAge!==void 0){if(!Number.isInteger(n.maxAge))throw new TypeError(`option maxAge is invalid: ${n.maxAge}`);o+="; Max-Age="+n.maxAge}if(n.domain){if(!hie.test(n.domain))throw new TypeError(`option domain is invalid: ${n.domain}`);o+="; Domain="+n.domain}if(n.path){if(!mie.test(n.path))throw new TypeError(`option path is invalid: ${n.path}`);o+="; Path="+n.path}if(n.expires){if(!_ie(n.expires)||!Number.isFinite(n.expires.valueOf()))throw new TypeError(`option expires is invalid: ${n.expires}`);o+="; Expires="+n.expires.toUTCString()}if(n.httpOnly&&(o+="; HttpOnly"),n.secure&&(o+="; Secure"),n.partitioned&&(o+="; Partitioned"),n.priority)switch(typeof n.priority=="string"?n.priority.toLowerCase():void 0){case"low":o+="; Priority=Low";break;case"medium":o+="; Priority=Medium";break;case"high":o+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${n.priority}`)}if(n.sameSite)switch(typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite){case!0:case"strict":o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"none":o+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${n.sameSite}`)}return o}function bie(t){if(t.indexOf("%")===-1)return t;try{return decodeURIComponent(t)}catch{return t}}function _ie(t){return gie.call(t)==="[object Date]"}/** * react-router v7.1.3 * * Copyright (c) Remix Software Inc. @@ -191,9 +191,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var AF="popstate";function Wie(t={}){function e(r,i){let{pathname:o,search:s,hash:a}=r.location;return e2("",{pathname:o,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:db(i)}return Xie(e,n,null,t)}function zr(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function cc(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function jie(){return Math.random().toString(36).substring(2,10)}function wF(t,e){return{usr:t.state,key:t.key,idx:e}}function e2(t,e,n=null,r){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?Nv(e):e,state:n,key:e&&e.key||r||jie()}}function db({pathname:t="/",search:e="",hash:n=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Nv(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substring(n),t=t.substring(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substring(r),t=t.substring(0,r)),t&&(e.pathname=t)}return e}function Xie(t,e,n,r={}){let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a="POP",l=null,c=u();c==null&&(c=0,s.replaceState({...s.state,idx:c},""));function u(){return(s.state||{idx:null}).idx}function d(){a="POP";let x=u(),g=x==null?null:x-c;c=x,l&&l({action:a,location:y.location,delta:g})}function f(x,g){a="PUSH";let b=e2(y.location,x,g);c=u()+1;let _=wF(b,c),C=y.createHref(b);try{s.pushState(_,"",C)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;i.location.assign(C)}o&&l&&l({action:a,location:y.location,delta:1})}function p(x,g){a="REPLACE";let b=e2(y.location,x,g);c=u();let _=wF(b,c),C=y.createHref(b);s.replaceState(_,"",C),o&&l&&l({action:a,location:y.location,delta:0})}function v(x){let g=i.location.origin!=="null"?i.location.origin:i.location.href,b=typeof x=="string"?x:db(x);return b=b.replace(/ $/,"%20"),zr(g,`No window.location.(origin|href) available to create URL for href: ${b}`),new URL(b,g)}let y={get action(){return a},get location(){return t(i,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(AF,d),l=x,()=>{i.removeEventListener(AF,d),l=null}},createHref(x){return e(i,x)},createURL:v,encodeLocation(x){let g=v(x);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:p,go(x){return s.go(x)}};return y}function zG(t,e,n="/"){return Kie(t,e,n,!1)}function Kie(t,e,n,r){let i=typeof e=="string"?Nv(e):e,o=Qd(i.pathname||"/",n);if(o==null)return null;let s=$G(t);Yie(s);let a=null;for(let l=0;a==null&&l{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};l.relativePath.startsWith("/")&&(zr(l.relativePath.startsWith(r),`Absolute route path "${l.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),l.relativePath=l.relativePath.slice(r.length));let c=fu([r,l.relativePath]),u=n.concat(l);o.children&&o.children.length>0&&(zr(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${c}".`),$G(o.children,e,u,c)),!(o.path==null&&!o.index)&&e.push({path:c,score:noe(c,o.index),routesMeta:u})};return t.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let l of HG(o.path))i(o,s,l)}),e}function HG(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=HG(r.join("/")),a=[];return a.push(...s.map(l=>l===""?o:[o,l].join("/"))),i&&a.push(...s),a.map(l=>t.startsWith("/")&&l===""?"/":l)}function Yie(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:roe(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Jie=/^:[\w-]+$/,qie=3,Qie=2,Zie=1,eoe=10,toe=-2,MF=t=>t==="*";function noe(t,e){let n=t.split("/"),r=n.length;return n.some(MF)&&(r+=toe),e&&(r+=Qie),n.filter(i=>!MF(i)).reduce((i,o)=>i+(Jie.test(o)?qie:o===""?Zie:eoe),r)}function roe(t,e){return t.length===e.length&&t.slice(0,-1).every((r,i)=>r===e[i])?t[t.length-1]-e[e.length-1]:0}function ioe(t,e,n=!1){let{routesMeta:r}=t,i={},o="/",s=[];for(let a=0;a{if(u==="*"){let v=a[f]||"";s=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const p=a[f];return d&&!p?c[u]=void 0:c[u]=(p||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:s,pattern:t}}function ooe(t,e=!1,n=!0){cc(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let r=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),r]}function soe(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return cc(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function Qd(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}function aoe(t,e="/"){let{pathname:n,search:r="",hash:i=""}=typeof t=="string"?Nv(t):t;return{pathname:n?n.startsWith("/")?n:loe(n,e):e,search:doe(r),hash:foe(i)}}function loe(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function rR(t,e,n,r){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function coe(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function GG(t){let e=coe(t);return e.map((n,r)=>r===e.length-1?n.pathname:n.pathnameBase)}function VG(t,e,n,r=!1){let i;typeof t=="string"?i=Nv(t):(i={...t},zr(!i.pathname||!i.pathname.includes("?"),rR("?","pathname","search",i)),zr(!i.pathname||!i.pathname.includes("#"),rR("#","pathname","hash",i)),zr(!i.search||!i.search.includes("#"),rR("#","search","hash",i)));let o=t===""||i.pathname==="",s=o?"/":i.pathname,a;if(s==null)a=n;else{let d=e.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?e[d]:"/"}let l=aoe(i,a),c=s&&s!=="/"&&s.endsWith("/"),u=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}var fu=t=>t.join("/").replace(/\/\/+/g,"/"),uoe=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),doe=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,foe=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function poe(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}var WG=["POST","PUT","PATCH","DELETE"];new Set(WG);var hoe=["GET",...WG];new Set(hoe);var Fv=E.createContext(null);Fv.displayName="DataRouter";var PM=E.createContext(null);PM.displayName="DataRouterState";var jG=E.createContext({isTransitioning:!1});jG.displayName="ViewTransition";var moe=E.createContext(new Map);moe.displayName="Fetchers";var goe=E.createContext(null);goe.displayName="Await";var pc=E.createContext(null);pc.displayName="Navigation";var Yb=E.createContext(null);Yb.displayName="Location";var hc=E.createContext({outlet:null,matches:[],isDataRoute:!1});hc.displayName="Route";var YL=E.createContext(null);YL.displayName="RouteError";function voe(t,{relative:e}={}){zr(Jb(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=E.useContext(pc),{hash:i,pathname:o,search:s}=qb(t,{relative:e}),a=o;return n!=="/"&&(a=o==="/"?n:fu([n,o])),r.createHref({pathname:a,search:s,hash:i})}function Jb(){return E.useContext(Yb)!=null}function Ch(){return zr(Jb(),"useLocation() may be used only in the context of a component."),E.useContext(Yb).location}var XG="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function KG(t){E.useContext(pc).static||E.useLayoutEffect(t)}function yoe(){let{isDataRoute:t}=E.useContext(hc);return t?Boe():xoe()}function xoe(){zr(Jb(),"useNavigate() may be used only in the context of a component.");let t=E.useContext(Fv),{basename:e,navigator:n}=E.useContext(pc),{matches:r}=E.useContext(hc),{pathname:i}=Ch(),o=JSON.stringify(GG(r)),s=E.useRef(!1);return KG(()=>{s.current=!0}),E.useCallback((l,c={})=>{if(cc(s.current,XG),!s.current)return;if(typeof l=="number"){n.go(l);return}let u=VG(l,JSON.parse(o),i,c.relative==="path");t==null&&e!=="/"&&(u.pathname=u.pathname==="/"?e:fu([e,u.pathname])),(c.replace?n.replace:n.push)(u,c.state,c)},[e,n,o,i,t])}E.createContext(null);function boe(){let{matches:t}=E.useContext(hc),e=t[t.length-1];return e?e.params:{}}function qb(t,{relative:e}={}){let{matches:n}=E.useContext(hc),{pathname:r}=Ch(),i=JSON.stringify(GG(n));return E.useMemo(()=>VG(t,JSON.parse(i),r,e==="path"),[t,i,r,e])}function _oe(t,e){return YG(t,e)}function YG(t,e,n,r){var g;zr(Jb(),"useRoutes() may be used only in the context of a component.");let{navigator:i}=E.useContext(pc),{matches:o}=E.useContext(hc),s=o[o.length-1],a=s?s.params:{},l=s?s.pathname:"/",c=s?s.pathnameBase:"/",u=s&&s.route;{let b=u&&u.path||"";JG(l,!u||b.endsWith("*")||b.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${l}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. + */var cF="popstate";function Sie(t={}){function e(r,i){let{pathname:o,search:s,hash:a}=r.location;return GI("",{pathname:o,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:nb(i)}return Aie(e,n,null,t)}function Fr(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function cc(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Cie(){return Math.random().toString(36).substring(2,10)}function uF(t,e){return{usr:t.state,key:t.key,idx:e}}function GI(t,e,n=null,r){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?Lv(e):e,state:n,key:e&&e.key||r||Cie()}}function nb({pathname:t="/",search:e="",hash:n=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Lv(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substring(n),t=t.substring(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substring(r),t=t.substring(0,r)),t&&(e.pathname=t)}return e}function Aie(t,e,n,r={}){let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a="POP",l=null,c=u();c==null&&(c=0,s.replaceState({...s.state,idx:c},""));function u(){return(s.state||{idx:null}).idx}function d(){a="POP";let x=u(),g=x==null?null:x-c;c=x,l&&l({action:a,location:y.location,delta:g})}function f(x,g){a="PUSH";let b=GI(y.location,x,g);c=u()+1;let _=uF(b,c),C=y.createHref(b);try{s.pushState(_,"",C)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;i.location.assign(C)}o&&l&&l({action:a,location:y.location,delta:1})}function p(x,g){a="REPLACE";let b=GI(y.location,x,g);c=u();let _=uF(b,c),C=y.createHref(b);s.replaceState(_,"",C),o&&l&&l({action:a,location:y.location,delta:0})}function v(x){let g=i.location.origin!=="null"?i.location.origin:i.location.href,b=typeof x=="string"?x:nb(x);return b=b.replace(/ $/,"%20"),Fr(g,`No window.location.(origin|href) available to create URL for href: ${b}`),new URL(b,g)}let y={get action(){return a},get location(){return t(i,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(cF,d),l=x,()=>{i.removeEventListener(cF,d),l=null}},createHref(x){return e(i,x)},createURL:v,encodeLocation(x){let g=v(x);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:p,go(x){return s.go(x)}};return y}function SG(t,e,n="/"){return wie(t,e,n,!1)}function wie(t,e,n,r){let i=typeof e=="string"?Lv(e):e,o=Kd(i.pathname||"/",n);if(o==null)return null;let s=CG(t);Mie(s);let a=null;for(let l=0;a==null&&l{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};l.relativePath.startsWith("/")&&(Fr(l.relativePath.startsWith(r),`Absolute route path "${l.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),l.relativePath=l.relativePath.slice(r.length));let c=fu([r,l.relativePath]),u=n.concat(l);o.children&&o.children.length>0&&(Fr(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${c}".`),CG(o.children,e,u,c)),!(o.path==null&&!o.index)&&e.push({path:c,score:Lie(c,o.index),routesMeta:u})};return t.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let l of AG(o.path))i(o,s,l)}),e}function AG(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=AG(r.join("/")),a=[];return a.push(...s.map(l=>l===""?o:[o,l].join("/"))),i&&a.push(...s),a.map(l=>t.startsWith("/")&&l===""?"/":l)}function Mie(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:kie(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Eie=/^:[\w-]+$/,Tie=3,Rie=2,Pie=1,Iie=10,Bie=-2,dF=t=>t==="*";function Lie(t,e){let n=t.split("/"),r=n.length;return n.some(dF)&&(r+=Bie),e&&(r+=Rie),n.filter(i=>!dF(i)).reduce((i,o)=>i+(Eie.test(o)?Tie:o===""?Pie:Iie),r)}function kie(t,e){return t.length===e.length&&t.slice(0,-1).every((r,i)=>r===e[i])?t[t.length-1]-e[e.length-1]:0}function Die(t,e,n=!1){let{routesMeta:r}=t,i={},o="/",s=[];for(let a=0;a{if(u==="*"){let v=a[f]||"";s=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const p=a[f];return d&&!p?c[u]=void 0:c[u]=(p||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:s,pattern:t}}function Oie(t,e=!1,n=!0){cc(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let r=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),r]}function Nie(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return cc(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function Kd(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}function Fie(t,e="/"){let{pathname:n,search:r="",hash:i=""}=typeof t=="string"?Lv(t):t;return{pathname:n?n.startsWith("/")?n:Uie(n,e):e,search:Hie(r),hash:Gie(i)}}function Uie(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function WT(t,e,n,r){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function zie(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function wG(t){let e=zie(t);return e.map((n,r)=>r===e.length-1?n.pathname:n.pathnameBase)}function MG(t,e,n,r=!1){let i;typeof t=="string"?i=Lv(t):(i={...t},Fr(!i.pathname||!i.pathname.includes("?"),WT("?","pathname","search",i)),Fr(!i.pathname||!i.pathname.includes("#"),WT("#","pathname","hash",i)),Fr(!i.search||!i.search.includes("#"),WT("#","search","hash",i)));let o=t===""||i.pathname==="",s=o?"/":i.pathname,a;if(s==null)a=n;else{let d=e.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?e[d]:"/"}let l=Fie(i,a),c=s&&s!=="/"&&s.endsWith("/"),u=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}var fu=t=>t.join("/").replace(/\/\/+/g,"/"),$ie=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Hie=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Gie=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function Vie(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}var EG=["POST","PUT","PATCH","DELETE"];new Set(EG);var Wie=["GET",...EG];new Set(Wie);var kv=P.createContext(null);kv.displayName="DataRouter";var xM=P.createContext(null);xM.displayName="DataRouterState";var TG=P.createContext({isTransitioning:!1});TG.displayName="ViewTransition";var jie=P.createContext(new Map);jie.displayName="Fetchers";var Xie=P.createContext(null);Xie.displayName="Await";var pc=P.createContext(null);pc.displayName="Navigation";var Fb=P.createContext(null);Fb.displayName="Location";var hc=P.createContext({outlet:null,matches:[],isDataRoute:!1});hc.displayName="Route";var kL=P.createContext(null);kL.displayName="RouteError";function Kie(t,{relative:e}={}){Fr(Ub(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=P.useContext(pc),{hash:i,pathname:o,search:s}=zb(t,{relative:e}),a=o;return n!=="/"&&(a=o==="/"?n:fu([n,o])),r.createHref({pathname:a,search:s,hash:i})}function Ub(){return P.useContext(Fb)!=null}function yh(){return Fr(Ub(),"useLocation() may be used only in the context of a component."),P.useContext(Fb).location}var RG="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function PG(t){P.useContext(pc).static||P.useLayoutEffect(t)}function Yie(){let{isDataRoute:t}=P.useContext(hc);return t?coe():Jie()}function Jie(){Fr(Ub(),"useNavigate() may be used only in the context of a component.");let t=P.useContext(kv),{basename:e,navigator:n}=P.useContext(pc),{matches:r}=P.useContext(hc),{pathname:i}=yh(),o=JSON.stringify(wG(r)),s=P.useRef(!1);return PG(()=>{s.current=!0}),P.useCallback((l,c={})=>{if(cc(s.current,RG),!s.current)return;if(typeof l=="number"){n.go(l);return}let u=MG(l,JSON.parse(o),i,c.relative==="path");t==null&&e!=="/"&&(u.pathname=u.pathname==="/"?e:fu([e,u.pathname])),(c.replace?n.replace:n.push)(u,c.state,c)},[e,n,o,i,t])}P.createContext(null);function qie(){let{matches:t}=P.useContext(hc),e=t[t.length-1];return e?e.params:{}}function zb(t,{relative:e}={}){let{matches:n}=P.useContext(hc),{pathname:r}=yh(),i=JSON.stringify(wG(n));return P.useMemo(()=>MG(t,JSON.parse(i),r,e==="path"),[t,i,r,e])}function Qie(t,e){return IG(t,e)}function IG(t,e,n,r){var g;Fr(Ub(),"useRoutes() may be used only in the context of a component.");let{navigator:i}=P.useContext(pc),{matches:o}=P.useContext(hc),s=o[o.length-1],a=s?s.params:{},l=s?s.pathname:"/",c=s?s.pathnameBase:"/",u=s&&s.route;{let b=u&&u.path||"";BG(l,!u||b.endsWith("*")||b.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${l}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. -Please change the parent to .`)}let d=Ch(),f;if(e){let b=typeof e=="string"?Nv(e):e;zr(c==="/"||((g=b.pathname)==null?void 0:g.startsWith(c)),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${b.pathname}" was given in the \`location\` prop.`),f=b}else f=d;let p=f.pathname||"/",v=p;if(c!=="/"){let b=c.replace(/^\//,"").split("/");v="/"+p.replace(/^\//,"").split("/").slice(b.length).join("/")}let y=zG(t,{pathname:v});cc(u||y!=null,`No routes matched location "${f.pathname}${f.search}${f.hash}" `),cc(y==null||y[y.length-1].route.element!==void 0||y[y.length-1].route.Component!==void 0||y[y.length-1].route.lazy!==void 0,`Matched leaf route at location "${f.pathname}${f.search}${f.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let x=Moe(y&&y.map(b=>Object.assign({},b,{params:Object.assign({},a,b.params),pathname:fu([c,i.encodeLocation?i.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:fu([c,i.encodeLocation?i.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),o,n,r);return e&&x?E.createElement(Yb.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...f},navigationType:"POP"}},x):x}function Soe(){let t=Ioe(),e=poe(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",t),s=E.createElement(E.Fragment,null,E.createElement("p",null,"💿 Hey developer 👋"),E.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",E.createElement("code",{style:o},"ErrorBoundary")," or"," ",E.createElement("code",{style:o},"errorElement")," prop on your route.")),E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},e),n?E.createElement("pre",{style:i},n):null,s)}var Coe=E.createElement(Soe,null),Aoe=class extends E.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){console.error("React Router caught the following error during render",t,e)}render(){return this.state.error!==void 0?E.createElement(hc.Provider,{value:this.props.routeContext},E.createElement(YL.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function woe({routeContext:t,match:e,children:n}){let r=E.useContext(Fv);return r&&r.static&&r.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=e.route.id),E.createElement(hc.Provider,{value:t},n)}function Moe(t,e=[],n=null,r=null){if(t==null){if(!n)return null;if(n.errors)t=n.matches;else if(e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let i=t,o=n==null?void 0:n.errors;if(o!=null){let l=i.findIndex(c=>c.route.id&&(o==null?void 0:o[c.route.id])!==void 0);zr(l>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),i=i.slice(0,Math.min(i.length,l+1))}let s=!1,a=-1;if(n)for(let l=0;l=0?i=i.slice(0,a+1):i=[i[0]];break}}}return i.reduceRight((l,c,u)=>{let d,f=!1,p=null,v=null;n&&(d=o&&c.route.id?o[c.route.id]:void 0,p=c.route.errorElement||Coe,s&&(a<0&&u===0?(JG("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),f=!0,v=null):a===u&&(f=!0,v=c.route.hydrateFallbackElement||null)));let y=e.concat(i.slice(0,u+1)),x=()=>{let g;return d?g=p:f?g=v:c.route.Component?g=E.createElement(c.route.Component,null):c.route.element?g=c.route.element:g=l,E.createElement(woe,{match:c,routeContext:{outlet:l,matches:y,isDataRoute:n!=null},children:g})};return n&&(c.route.ErrorBoundary||c.route.errorElement||u===0)?E.createElement(Aoe,{location:n.location,revalidation:n.revalidation,component:p,error:d,children:x(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):x()},null)}function JL(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Eoe(t){let e=E.useContext(Fv);return zr(e,JL(t)),e}function Toe(t){let e=E.useContext(PM);return zr(e,JL(t)),e}function Roe(t){let e=E.useContext(hc);return zr(e,JL(t)),e}function qL(t){let e=Roe(t),n=e.matches[e.matches.length-1];return zr(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function Poe(){return qL("useRouteId")}function Ioe(){var r;let t=E.useContext(YL),e=Toe("useRouteError"),n=qL("useRouteError");return t!==void 0?t:(r=e.errors)==null?void 0:r[n]}function Boe(){let{router:t}=Eoe("useNavigate"),e=qL("useNavigate"),n=E.useRef(!1);return KG(()=>{n.current=!0}),E.useCallback(async(i,o={})=>{cc(n.current,XG),n.current&&(typeof i=="number"?t.navigate(i):await t.navigate(i,{fromRouteId:e,...o}))},[t,e])}var EF={};function JG(t,e,n){!e&&!EF[t]&&(EF[t]=!0,cc(!1,n))}E.memo(Loe);function Loe({routes:t,future:e,state:n}){return YG(t,void 0,n,e)}function vd(t){zr(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function koe({basename:t="/",children:e=null,location:n,navigationType:r="POP",navigator:i,static:o=!1}){zr(!Jb(),"You cannot render a inside another . You should never have more than one in your app.");let s=t.replace(/^\/*/,"/"),a=E.useMemo(()=>({basename:s,navigator:i,static:o,future:{}}),[s,i,o]);typeof n=="string"&&(n=Nv(n));let{pathname:l="/",search:c="",hash:u="",state:d=null,key:f="default"}=n,p=E.useMemo(()=>{let v=Qd(l,s);return v==null?null:{location:{pathname:v,search:c,hash:u,state:d,key:f},navigationType:r}},[s,l,c,u,d,f,r]);return cc(p!=null,` is not able to match the URL "${l}${c}${u}" because it does not start with the basename, so the won't render anything.`),p==null?null:E.createElement(pc.Provider,{value:a},E.createElement(Yb.Provider,{children:e,value:p}))}function Doe({children:t,location:e}){return _oe(t2(t),e)}function t2(t,e=[]){let n=[];return E.Children.forEach(t,(r,i)=>{if(!E.isValidElement(r))return;let o=[...e,i];if(r.type===E.Fragment){n.push.apply(n,t2(r.props.children,o));return}zr(r.type===vd,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),zr(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=t2(r.props.children,o)),n.push(s)}),n}var IC="get",BC="application/x-www-form-urlencoded";function IM(t){return t!=null&&typeof t.tagName=="string"}function Ooe(t){return IM(t)&&t.tagName.toLowerCase()==="button"}function Noe(t){return IM(t)&&t.tagName.toLowerCase()==="form"}function Foe(t){return IM(t)&&t.tagName.toLowerCase()==="input"}function Uoe(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function zoe(t,e){return t.button===0&&(!e||e==="_self")&&!Uoe(t)}var Y1=null;function $oe(){if(Y1===null)try{new FormData(document.createElement("form"),0),Y1=!1}catch{Y1=!0}return Y1}var Hoe=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function iR(t){return t!=null&&!Hoe.has(t)?(cc(!1,`"${t}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${BC}"`),null):t}function Goe(t,e){let n,r,i,o,s;if(Noe(t)){let a=t.getAttribute("action");r=a?Qd(a,e):null,n=t.getAttribute("method")||IC,i=iR(t.getAttribute("enctype"))||BC,o=new FormData(t)}else if(Ooe(t)||Foe(t)&&(t.type==="submit"||t.type==="image")){let a=t.form;if(a==null)throw new Error('Cannot submit a