diff --git a/assets/index-C2fvat8z.js b/assets/index-DdjOTx9v.js similarity index 88% rename from assets/index-C2fvat8z.js rename to assets/index-DdjOTx9v.js index d2b59bc..54e10cf 100644 --- a/assets/index-C2fvat8z.js +++ b/assets/index-DdjOTx9v.js @@ -1,4 +1,4 @@ -var yA=Object.defineProperty;var vA=(e,t,n)=>t in e?yA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var zu=(e,t,n)=>vA(e,typeof t!="symbol"?t+"":t,n);function SA(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const a of l)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(l){const a={};return l.integrity&&(a.integrity=l.integrity),l.referrerPolicy&&(a.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?a.credentials="include":l.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(l){if(l.ep)return;l.ep=!0;const a=n(l);fetch(l.href,a)}})();function Mc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rb={exports:{}},Hu={};/** +var vA=Object.defineProperty;var SA=(e,t,n)=>t in e?vA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var zu=(e,t,n)=>SA(e,typeof t!="symbol"?t+"":t,n);function CA(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const a of l)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(l){const a={};return l.integrity&&(a.integrity=l.integrity),l.referrerPolicy&&(a.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?a.credentials="include":l.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(l){if(l.ep)return;l.ep=!0;const a=n(l);fetch(l.href,a)}})();function Mc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rb={exports:{}},Hu={};/** * @license React * react-jsx-runtime.production.js * @@ -6,7 +6,7 @@ var yA=Object.defineProperty;var vA=(e,t,n)=>t in e?yA(e,t,{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 kx;function CA(){if(kx)return Hu;kx=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,l,a){var s=null;if(a!==void 0&&(s=""+a),l.key!==void 0&&(s=""+l.key),"key"in l){a={};for(var u in l)u!=="key"&&(a[u]=l[u])}else a=l;return l=a.ref,{$$typeof:e,type:r,key:s,ref:l!==void 0?l:null,props:a}}return Hu.Fragment=t,Hu.jsx=n,Hu.jsxs=n,Hu}var Rx;function wA(){return Rx||(Rx=1,Rb.exports=CA()),Rb.exports}var x=wA(),Ib={exports:{}},Et={};/** + */var kx;function wA(){if(kx)return Hu;kx=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,l,a){var s=null;if(a!==void 0&&(s=""+a),l.key!==void 0&&(s=""+l.key),"key"in l){a={};for(var u in l)u!=="key"&&(a[u]=l[u])}else a=l;return l=a.ref,{$$typeof:e,type:r,key:s,ref:l!==void 0?l:null,props:a}}return Hu.Fragment=t,Hu.jsx=n,Hu.jsxs=n,Hu}var Rx;function xA(){return Rx||(Rx=1,Rb.exports=wA()),Rb.exports}var x=xA(),Ib={exports:{}},Et={};/** * @license React * react.production.js * @@ -14,7 +14,7 @@ var yA=Object.defineProperty;var vA=(e,t,n)=>t in e?yA(e,t,{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 Ix;function xA(){if(Ix)return Et;Ix=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),g=Symbol.iterator;function m(D){return D===null||typeof D!="object"?null:(D=g&&D[g]||D["@@iterator"],typeof D=="function"?D:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,C={};function w(D,Y,X){this.props=D,this.context=Y,this.refs=C,this.updater=X||S}w.prototype.isReactComponent={},w.prototype.setState=function(D,Y){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,Y,"setState")},w.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function E(){}E.prototype=w.prototype;function R(D,Y,X){this.props=D,this.context=Y,this.refs=C,this.updater=X||S}var I=R.prototype=new E;I.constructor=R,v(I,w.prototype),I.isPureReactComponent=!0;var O=Array.isArray,k={H:null,A:null,T:null,S:null},L=Object.prototype.hasOwnProperty;function j(D,Y,X,Z,Q,te){return X=te.ref,{$$typeof:e,type:D,key:Y,ref:X!==void 0?X:null,props:te}}function _(D,Y){return j(D.type,Y,void 0,void 0,void 0,D.props)}function A(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function T(D){var Y={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(X){return Y[X]})}var z=/\/+/g;function V(D,Y){return typeof D=="object"&&D!==null&&D.key!=null?T(""+D.key):Y.toString(36)}function B(){}function U(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(B,B):(D.status="pending",D.then(function(Y){D.status==="pending"&&(D.status="fulfilled",D.value=Y)},function(Y){D.status==="pending"&&(D.status="rejected",D.reason=Y)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function H(D,Y,X,Z,Q){var te=typeof D;(te==="undefined"||te==="boolean")&&(D=null);var ee=!1;if(D===null)ee=!0;else switch(te){case"bigint":case"string":case"number":ee=!0;break;case"object":switch(D.$$typeof){case e:case t:ee=!0;break;case h:return ee=D._init,H(ee(D._payload),Y,X,Z,Q)}}if(ee)return Q=Q(D),ee=Z===""?"."+V(D,0):Z,O(Q)?(X="",ee!=null&&(X=ee.replace(z,"$&/")+"/"),H(Q,Y,X,"",function(se){return se})):Q!=null&&(A(Q)&&(Q=_(Q,X+(Q.key==null||D&&D.key===Q.key?"":(""+Q.key).replace(z,"$&/")+"/")+ee)),Y.push(Q)),1;ee=0;var fe=Z===""?".":Z+":";if(O(D))for(var oe=0;oet in e?yA(e,t,{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 Px;function EA(){return Px||(Px=1,function(e){function t(P,$){var W=P.length;P.push($);e:for(;0>>1,D=P[F];if(0>>1;Fl(Z,W))Ql(te,Z)?(P[F]=te,P[Q]=W,F=Q):(P[F]=Z,P[X]=W,F=X);else if(Ql(te,W))P[F]=te,P[Q]=W,F=Q;else break e}}return $}function l(P,$){var W=P.sortIndex-$.sortIndex;return W!==0?W:P.id-$.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var d=[],f=[],h=1,g=null,m=3,S=!1,v=!1,C=!1,w=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function I(P){for(var $=n(f);$!==null;){if($.callback===null)r(f);else if($.startTime<=P)r(f),$.sortIndex=$.expirationTime,t(d,$);else break;$=n(f)}}function O(P){if(C=!1,I(P),!v)if(n(d)!==null)v=!0,U();else{var $=n(f);$!==null&&H(O,$.startTime-P)}}var k=!1,L=-1,j=5,_=-1;function A(){return!(e.unstable_now()-_P&&A());){var F=g.callback;if(typeof F=="function"){g.callback=null,m=g.priorityLevel;var D=F(g.expirationTime<=P);if(P=e.unstable_now(),typeof D=="function"){g.callback=D,I(P),$=!0;break t}g===n(d)&&r(d),I(P)}else r(d);g=n(d)}if(g!==null)$=!0;else{var Y=n(f);Y!==null&&H(O,Y.startTime-P),$=!1}}break e}finally{g=null,m=W,S=!1}$=void 0}}finally{$?z():k=!1}}}var z;if(typeof R=="function")z=function(){R(T)};else if(typeof MessageChannel<"u"){var V=new MessageChannel,B=V.port2;V.port1.onmessage=T,z=function(){B.postMessage(null)}}else z=function(){w(T,0)};function U(){k||(k=!0,z())}function H(P,$){L=w(function(){P(e.unstable_now())},$)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_continueExecution=function(){v||S||(v=!0,U())},e.unstable_forceFrameRate=function(P){0>P||125F?(P.sortIndex=W,t(f,P),n(d)===null&&P===n(f)&&(C?(E(L),L=-1):C=!0,H(O,W-F))):(P.sortIndex=D,t(d,P),v||S||(v=!0,U())),P},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(P){var $=m;return function(){var W=m;m=$;try{return P.apply(this,arguments)}finally{m=W}}}}(Ab)),Ab}var Ax;function MA(){return Ax||(Ax=1,Pb.exports=EA()),Pb.exports}var Lb={exports:{}},hr={};/** + */var Px;function MA(){return Px||(Px=1,function(e){function t(P,$){var W=P.length;P.push($);e:for(;0>>1,D=P[F];if(0>>1;Fl(Z,W))Ql(te,Z)?(P[F]=te,P[Q]=W,F=Q):(P[F]=Z,P[X]=W,F=X);else if(Ql(te,W))P[F]=te,P[Q]=W,F=Q;else break e}}return $}function l(P,$){var W=P.sortIndex-$.sortIndex;return W!==0?W:P.id-$.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var d=[],f=[],h=1,g=null,m=3,S=!1,v=!1,C=!1,w=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function I(P){for(var $=n(f);$!==null;){if($.callback===null)r(f);else if($.startTime<=P)r(f),$.sortIndex=$.expirationTime,t(d,$);else break;$=n(f)}}function O(P){if(C=!1,I(P),!v)if(n(d)!==null)v=!0,U();else{var $=n(f);$!==null&&H(O,$.startTime-P)}}var k=!1,L=-1,j=5,_=-1;function A(){return!(e.unstable_now()-_P&&A());){var F=g.callback;if(typeof F=="function"){g.callback=null,m=g.priorityLevel;var D=F(g.expirationTime<=P);if(P=e.unstable_now(),typeof D=="function"){g.callback=D,I(P),$=!0;break t}g===n(d)&&r(d),I(P)}else r(d);g=n(d)}if(g!==null)$=!0;else{var Y=n(f);Y!==null&&H(O,Y.startTime-P),$=!1}}break e}finally{g=null,m=W,S=!1}$=void 0}}finally{$?z():k=!1}}}var z;if(typeof R=="function")z=function(){R(T)};else if(typeof MessageChannel<"u"){var V=new MessageChannel,B=V.port2;V.port1.onmessage=T,z=function(){B.postMessage(null)}}else z=function(){w(T,0)};function U(){k||(k=!0,z())}function H(P,$){L=w(function(){P(e.unstable_now())},$)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_continueExecution=function(){v||S||(v=!0,U())},e.unstable_forceFrameRate=function(P){0>P||125F?(P.sortIndex=W,t(f,P),n(d)===null&&P===n(f)&&(C?(E(L),L=-1):C=!0,H(O,W-F))):(P.sortIndex=D,t(d,P),v||S||(v=!0,U())),P},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(P){var $=m;return function(){var W=m;m=$;try{return P.apply(this,arguments)}finally{m=W}}}}(Ab)),Ab}var Ax;function TA(){return Ax||(Ax=1,Pb.exports=MA()),Pb.exports}var Lb={exports:{}},hr={};/** * @license React * react-dom.production.js * @@ -30,7 +30,7 @@ var yA=Object.defineProperty;var vA=(e,t,n)=>t in e?yA(e,t,{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 Lx;function TA(){if(Lx)return hr;Lx=1;var e=Bd();function t(d){var f="https://react.dev/errors/"+d;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Lb.exports=TA(),Lb.exports}/** + */var Lx;function kA(){if(Lx)return hr;Lx=1;var e=Bd();function t(d){var f="https://react.dev/errors/"+d;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Lb.exports=kA(),Lb.exports}/** * @license React * react-dom-client.production.js * @@ -38,15 +38,15 @@ var yA=Object.defineProperty;var vA=(e,t,n)=>t in e?yA(e,t,{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 $x;function kA(){if($x)return Bu;$x=1;var e=MA(),t=Bd(),n=NT();function r(o){var i="https://react.dev/errors/"+o;if(1)":-1y||J[p]!==re[y]){var Ee=` `+J[p].replace(" at new "," at ");return o.displayName&&Ee.includes("")&&(Ee=Ee.replace("",o.displayName)),Ee}while(1<=p&&0<=y);break}}}finally{U=!1,Error.prepareStackTrace=c}return(c=o?o.displayName||o.name:"")?B(c):""}function P(o){switch(o.tag){case 26:case 27:case 5:return B(o.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 15:return o=H(o.type,!1),o;case 11:return o=H(o.type.render,!1),o;case 1:return o=H(o.type,!0),o;default:return""}}function $(o){try{var i="";do i+=P(o),o=o.return;while(o);return i}catch(c){return` Error generating stack: `+c.message+` -`+c.stack}}function W(o){var i=o,c=o;if(o.alternate)for(;i.return;)i=i.return;else{o=i;do i=o,i.flags&4098&&(c=i.return),o=i.return;while(o)}return i.tag===3?c:null}function F(o){if(o.tag===13){var i=o.memoizedState;if(i===null&&(o=o.alternate,o!==null&&(i=o.memoizedState)),i!==null)return i.dehydrated}return null}function D(o){if(W(o)!==o)throw Error(r(188))}function Y(o){var i=o.alternate;if(!i){if(i=W(o),i===null)throw Error(r(188));return i!==o?null:o}for(var c=o,p=i;;){var y=c.return;if(y===null)break;var M=y.alternate;if(M===null){if(p=y.return,p!==null){c=p;continue}break}if(y.child===M.child){for(M=y.child;M;){if(M===c)return D(y),o;if(M===p)return D(y),i;M=M.sibling}throw Error(r(188))}if(c.return!==p.return)c=y,p=M;else{for(var N=!1,K=y.child;K;){if(K===c){N=!0,c=y,p=M;break}if(K===p){N=!0,p=y,c=M;break}K=K.sibling}if(!N){for(K=M.child;K;){if(K===c){N=!0,c=M,p=y;break}if(K===p){N=!0,p=M,c=y;break}K=K.sibling}if(!N)throw Error(r(189))}}if(c.alternate!==p)throw Error(r(190))}if(c.tag!==3)throw Error(r(188));return c.stateNode.current===c?o:i}function X(o){var i=o.tag;if(i===5||i===26||i===27||i===6)return o;for(o=o.child;o!==null;){if(i=X(o),i!==null)return i;o=o.sibling}return null}var Z=Array.isArray,Q=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},ee=[],fe=-1;function oe(o){return{current:o}}function se(o){0>fe||(o.current=ee[fe],ee[fe]=null,fe--)}function ie(o,i){fe++,ee[fe]=o.current,o.current=i}var ge=oe(null),de=oe(null),pe=oe(null),Te=oe(null);function De(o,i){switch(ie(pe,i),ie(de,o),ie(ge,null),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)&&(i=i.namespaceURI)?nx(i):0;break;default:if(o=o===8?i.parentNode:i,i=o.tagName,o=o.namespaceURI)o=nx(o),i=rx(o,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}se(ge),ie(ge,i)}function _e(){se(ge),se(de),se(pe)}function Se(o){o.memoizedState!==null&&ie(Te,o);var i=ge.current,c=rx(i,o.type);i!==c&&(ie(de,o),ie(ge,c))}function Be(o){de.current===o&&(se(ge),se(de)),Te.current===o&&(se(Te),Pu._currentValue=te)}var Fe=Object.prototype.hasOwnProperty,ot=e.unstable_scheduleCallback,Ve=e.unstable_cancelCallback,$e=e.unstable_shouldYield,mt=e.unstable_requestPaint,ze=e.unstable_now,at=e.unstable_getCurrentPriorityLevel,Ke=e.unstable_ImmediatePriority,Ne=e.unstable_UserBlockingPriority,Ye=e.unstable_NormalPriority,Le=e.unstable_LowPriority,He=e.unstable_IdlePriority,Oe=e.log,je=e.unstable_setDisableYieldValue,ut=null,Qe=null;function ye(o){if(Qe&&typeof Qe.onCommitFiberRoot=="function")try{Qe.onCommitFiberRoot(ut,o,void 0,(o.current.flags&128)===128)}catch{}}function Re(o){if(typeof Oe=="function"&&je(o),Qe&&typeof Qe.setStrictMode=="function")try{Qe.setStrictMode(ut,o)}catch{}}var We=Math.clz32?Math.clz32:Qt,dt=Math.log,At=Math.LN2;function Qt(o){return o>>>=0,o===0?32:31-(dt(o)/At|0)|0}var pn=128,vn=4194304;function Cn(o){var i=o&42;if(i!==0)return i;switch(o&-o){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:return 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 o&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return o&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return o}}function hn(o,i){var c=o.pendingLanes;if(c===0)return 0;var p=0,y=o.suspendedLanes,M=o.pingedLanes,N=o.warmLanes;o=o.finishedLanes!==0;var K=c&134217727;return K!==0?(c=K&~y,c!==0?p=Cn(c):(M&=K,M!==0?p=Cn(M):o||(N=K&~N,N!==0&&(p=Cn(N))))):(K=c&~y,K!==0?p=Cn(K):M!==0?p=Cn(M):o||(N=c&~N,N!==0&&(p=Cn(N)))),p===0?0:i!==0&&i!==p&&!(i&y)&&(y=p&-p,N=i&-i,y>=N||y===32&&(N&4194176)!==0)?i:p}function wr(o,i){return(o.pendingLanes&~(o.suspendedLanes&~o.pingedLanes)&i)===0}function Go(o,i){switch(o){case 1:case 2:case 4:case 8:return i+250;case 16:case 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 i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ft(){var o=pn;return pn<<=1,!(pn&4194176)&&(pn=128),o}function $n(){var o=vn;return vn<<=1,!(vn&62914560)&&(vn=4194304),o}function rl(o){for(var i=[],c=0;31>c;c++)i.push(o);return i}function jr(o,i){o.pendingLanes|=i,i!==268435456&&(o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0)}function sa(o,i,c,p,y,M){var N=o.pendingLanes;o.pendingLanes=c,o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0,o.expiredLanes&=c,o.entangledLanes&=c,o.errorRecoveryDisabledLanes&=c,o.shellSuspendCounter=0;var K=o.entanglements,J=o.expirationTimes,re=o.hiddenUpdates;for(c=N&~c;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ll=RegExp("^[: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]*$"),vi={},ff={};function fO(o){return Fe.call(ff,o)?!0:Fe.call(vi,o)?!1:ll.test(o)?ff[o]=!0:(vi[o]=!0,!1)}function pf(o,i,c){if(fO(i))if(c===null)o.removeAttribute(i);else{switch(typeof c){case"undefined":case"function":case"symbol":o.removeAttribute(i);return;case"boolean":var p=i.toLowerCase().slice(0,5);if(p!=="data-"&&p!=="aria-"){o.removeAttribute(i);return}}o.setAttribute(i,""+c)}}function hf(o,i,c){if(c===null)o.removeAttribute(i);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":o.removeAttribute(i);return}o.setAttribute(i,""+c)}}function Pl(o,i,c,p){if(p===null)o.removeAttribute(c);else{switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":o.removeAttribute(c);return}o.setAttributeNS(i,c,""+p)}}function co(o){switch(typeof o){case"bigint":case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function lS(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function pO(o){var i=lS(o)?"checked":"value",c=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),p=""+o[i];if(!o.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var y=c.get,M=c.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return y.call(this)},set:function(N){p=""+N,M.call(this,N)}}),Object.defineProperty(o,i,{enumerable:c.enumerable}),{getValue:function(){return p},setValue:function(N){p=""+N},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function mf(o){o._valueTracker||(o._valueTracker=pO(o))}function iS(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var c=i.getValue(),p="";return o&&(p=lS(o)?o.checked?"true":"false":o.value),o=p,o!==c?(i.setValue(o),!0):!1}function gf(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}var hO=/[\n"\\]/g;function uo(o){return o.replace(hO,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Tm(o,i,c,p,y,M,N,K){o.name="",N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?o.type=N:o.removeAttribute("type"),i!=null?N==="number"?(i===0&&o.value===""||o.value!=i)&&(o.value=""+co(i)):o.value!==""+co(i)&&(o.value=""+co(i)):N!=="submit"&&N!=="reset"||o.removeAttribute("value"),i!=null?km(o,N,co(i)):c!=null?km(o,N,co(c)):p!=null&&o.removeAttribute("value"),y==null&&M!=null&&(o.defaultChecked=!!M),y!=null&&(o.checked=y&&typeof y!="function"&&typeof y!="symbol"),K!=null&&typeof K!="function"&&typeof K!="symbol"&&typeof K!="boolean"?o.name=""+co(K):o.removeAttribute("name")}function aS(o,i,c,p,y,M,N,K){if(M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"&&(o.type=M),i!=null||c!=null){if(!(M!=="submit"&&M!=="reset"||i!=null))return;c=c!=null?""+co(c):"",i=i!=null?""+co(i):c,K||i===o.value||(o.value=i),o.defaultValue=i}p=p??y,p=typeof p!="function"&&typeof p!="symbol"&&!!p,o.checked=K?o.checked:!!p,o.defaultChecked=!!p,N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"&&(o.name=N)}function km(o,i,c){i==="number"&&gf(o.ownerDocument)===o||o.defaultValue===""+c||(o.defaultValue=""+c)}function as(o,i,c,p){if(o=o.options,i){i={};for(var y=0;y=Kc),SS=" ",CS=!1;function wS(o,i){switch(o){case"keyup":return _O.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xS(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var ds=!1;function UO(o,i){switch(o){case"compositionend":return xS(i);case"keypress":return i.which!==32?null:(CS=!0,SS);case"textInput":return o=i.data,o===SS&&CS?null:o;default:return null}}function VO(o,i){if(ds)return o==="compositionend"||!Bm&&wS(o,i)?(o=hS(),yf=Lm=Si=null,ds=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:c,offset:i-o};o=p}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=PS(c)}}function LS(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?LS(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function DS(o){o=o!=null&&o.ownerDocument!=null&&o.ownerDocument.defaultView!=null?o.ownerDocument.defaultView:window;for(var i=gf(o.document);i instanceof o.HTMLIFrameElement;){try{var c=typeof i.contentWindow.location.href=="string"}catch{c=!1}if(c)o=i.contentWindow;else break;i=gf(o.document)}return i}function jm(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i&&(i==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||i==="textarea"||o.contentEditable==="true")}function JO(o,i){var c=DS(i);i=o.focusedElem;var p=o.selectionRange;if(c!==i&&i&&i.ownerDocument&&LS(i.ownerDocument.documentElement,i)){if(p!==null&&jm(i)){if(o=p.start,c=p.end,c===void 0&&(c=o),"selectionStart"in i)i.selectionStart=o,i.selectionEnd=Math.min(c,i.value.length);else if(c=(o=i.ownerDocument||document)&&o.defaultView||window,c.getSelection){c=c.getSelection();var y=i.textContent.length,M=Math.min(p.start,y);p=p.end===void 0?M:Math.min(p.end,y),!c.extend&&M>p&&(y=p,p=M,M=y),y=AS(i,M);var N=AS(i,p);y&&N&&(c.rangeCount!==1||c.anchorNode!==y.node||c.anchorOffset!==y.offset||c.focusNode!==N.node||c.focusOffset!==N.offset)&&(o=o.createRange(),o.setStart(y.node,y.offset),c.removeAllRanges(),M>p?(c.addRange(o),c.extend(N.node,N.offset)):(o.setEnd(N.node,N.offset),c.addRange(o)))}}for(o=[],c=i;c=c.parentNode;)c.nodeType===1&&o.push({element:c,left:c.scrollLeft,top:c.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i=document.documentMode,fs=null,_m=null,Jc=null,Gm=!1;function $S(o,i,c){var p=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Gm||fs==null||fs!==gf(p)||(p=fs,"selectionStart"in p&&jm(p)?p={start:p.selectionStart,end:p.selectionEnd}:(p=(p.ownerDocument&&p.ownerDocument.defaultView||window).getSelection(),p={anchorNode:p.anchorNode,anchorOffset:p.anchorOffset,focusNode:p.focusNode,focusOffset:p.focusOffset}),Jc&&Qc(Jc,p)||(Jc=p,p=lp(_m,"onSelect"),0>=N,y-=N,Al=1<<32-We(i)+y|c<pt?(er=ct,ct=null):er=ct.sibling;var Ut=he(ae,ct,ce[pt],Ie);if(Ut===null){ct===null&&(ct=er);break}o&&ct&&Ut.alternate===null&&i(ae,ct),ne=M(Ut,ne,pt),Pt===null?rt=Ut:Pt.sibling=Ut,Pt=Ut,ct=er}if(pt===ce.length)return c(ae,ct),Gt&&ha(ae,pt),rt;if(ct===null){for(;ptpt?(er=ct,ct=null):er=ct.sibling;var Ni=he(ae,ct,Ut.value,Ie);if(Ni===null){ct===null&&(ct=er);break}o&&ct&&Ni.alternate===null&&i(ae,ct),ne=M(Ni,ne,pt),Pt===null?rt=Ni:Pt.sibling=Ni,Pt=Ni,ct=er}if(Ut.done)return c(ae,ct),Gt&&ha(ae,pt),rt;if(ct===null){for(;!Ut.done;pt++,Ut=ce.next())Ut=Ae(ae,Ut.value,Ie),Ut!==null&&(ne=M(Ut,ne,pt),Pt===null?rt=Ut:Pt.sibling=Ut,Pt=Ut);return Gt&&ha(ae,pt),rt}for(ct=p(ct);!Ut.done;pt++,Ut=ce.next())Ut=we(ct,ae,pt,Ut.value,Ie),Ut!==null&&(o&&Ut.alternate!==null&&ct.delete(Ut.key===null?pt:Ut.key),ne=M(Ut,ne,pt),Pt===null?rt=Ut:Pt.sibling=Ut,Pt=Ut);return o&&ct.forEach(function(bA){return i(ae,bA)}),Gt&&ha(ae,pt),rt}function Pn(ae,ne,ce,Ie){if(typeof ce=="object"&&ce!==null&&ce.type===d&&ce.key===null&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case s:e:{for(var rt=ce.key;ne!==null;){if(ne.key===rt){if(rt=ce.type,rt===d){if(ne.tag===7){c(ae,ne.sibling),Ie=y(ne,ce.props.children),Ie.return=ae,ae=Ie;break e}}else if(ne.elementType===rt||typeof rt=="object"&&rt!==null&&rt.$$typeof===R&&QS(rt)===ne.type){c(ae,ne.sibling),Ie=y(ne,ce.props),iu(Ie,ce),Ie.return=ae,ae=Ie;break e}c(ae,ne);break}else i(ae,ne);ne=ne.sibling}ce.type===d?(Ie=Ma(ce.props.children,ae.mode,Ie,ce.key),Ie.return=ae,ae=Ie):(Ie=Kf(ce.type,ce.key,ce.props,null,ae.mode,Ie),iu(Ie,ce),Ie.return=ae,ae=Ie)}return N(ae);case u:e:{for(rt=ce.key;ne!==null;){if(ne.key===rt)if(ne.tag===4&&ne.stateNode.containerInfo===ce.containerInfo&&ne.stateNode.implementation===ce.implementation){c(ae,ne.sibling),Ie=y(ne,ce.children||[]),Ie.return=ae,ae=Ie;break e}else{c(ae,ne);break}else i(ae,ne);ne=ne.sibling}Ie=Vg(ce,ae.mode,Ie),Ie.return=ae,ae=Ie}return N(ae);case R:return rt=ce._init,ce=rt(ce._payload),Pn(ae,ne,ce,Ie)}if(Z(ce))return it(ae,ne,ce,Ie);if(L(ce)){if(rt=L(ce),typeof rt!="function")throw Error(r(150));return ce=rt.call(ce),St(ae,ne,ce,Ie)}if(typeof ce.then=="function")return Pn(ae,ne,Of(ce),Ie);if(ce.$$typeof===S)return Pn(ae,ne,Wf(ae,ce),Ie);Pf(ae,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint"?(ce=""+ce,ne!==null&&ne.tag===6?(c(ae,ne.sibling),Ie=y(ne,ce),Ie.return=ae,ae=Ie):(c(ae,ne),Ie=Ug(ce,ae.mode,Ie),Ie.return=ae,ae=Ie),N(ae)):c(ae,ne)}return function(ae,ne,ce,Ie){try{lu=0;var rt=Pn(ae,ne,ce,Ie);return ys=null,rt}catch(ct){if(ct===ru)throw ct;var Pt=vo(29,ct,null,ae.mode);return Pt.lanes=Ie,Pt.return=ae,Pt}finally{}}}var ga=JS(!0),eC=JS(!1),vs=oe(null),Af=oe(0);function tC(o,i){o=Ul,ie(Af,o),ie(vs,i),Ul=o|i.baseLanes}function Zm(){ie(Af,Ul),ie(vs,vs.current)}function Qm(){Ul=Af.current,se(vs),se(Af)}var go=oe(null),al=null;function wi(o){var i=o.alternate;ie(Wn,Wn.current&1),ie(go,o),al===null&&(i===null||vs.current!==null||i.memoizedState!==null)&&(al=o)}function nC(o){if(o.tag===22){if(ie(Wn,Wn.current),ie(go,o),al===null){var i=o.alternate;i!==null&&i.memoizedState!==null&&(al=o)}}else xi()}function xi(){ie(Wn,Wn.current),ie(go,go.current)}function Dl(o){se(go),al===o&&(al=null),se(Wn)}var Wn=oe(0);function Lf(o){for(var i=o;i!==null;){if(i.tag===13){var c=i.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var oP=typeof AbortController<"u"?AbortController:function(){var o=[],i=this.signal={aborted:!1,addEventListener:function(c,p){o.push(p)}};this.abort=function(){i.aborted=!0,o.forEach(function(c){return c()})}},lP=e.unstable_scheduleCallback,iP=e.unstable_NormalPriority,Yn={$$typeof:S,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Jm(){return{controller:new oP,data:new Map,refCount:0}}function au(o){o.refCount--,o.refCount===0&&lP(iP,function(){o.controller.abort()})}var su=null,eg=0,Ss=0,Cs=null;function aP(o,i){if(su===null){var c=su=[];eg=0,Ss=ib(),Cs={status:"pending",value:void 0,then:function(p){c.push(p)}}}return eg++,i.then(rC,rC),i}function rC(){if(--eg===0&&su!==null){Cs!==null&&(Cs.status="fulfilled");var o=su;su=null,Ss=0,Cs=null;for(var i=0;iM?M:8;var N=A.T,K={};A.T=K,bg(o,!1,i,c);try{var J=y(),re=A.S;if(re!==null&&re(K,J),J!==null&&typeof J=="object"&&typeof J.then=="function"){var Ee=sP(J,p);du(o,i,Ee,Wr(o))}else du(o,i,p,Wr(o))}catch(Ae){du(o,i,{then:function(){},status:"rejected",reason:Ae},Wr())}finally{Q.p=M,A.T=N}}function pP(){}function mg(o,i,c,p){if(o.tag!==5)throw Error(r(476));var y=DC(o).queue;LC(o,y,i,te,c===null?pP:function(){return $C(o),c(p)})}function DC(o){var i=o.memoizedState;if(i!==null)return i;i={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$l,lastRenderedState:te},next:null};var c={};return i.next={memoizedState:c,baseState:c,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$l,lastRenderedState:c},next:null},o.memoizedState=i,o=o.alternate,o!==null&&(o.memoizedState=i),i}function $C(o){var i=DC(o).next.queue;du(o,i,{},Wr())}function gg(){return pr(Pu)}function zC(){return _n().memoizedState}function HC(){return _n().memoizedState}function hP(o){for(var i=o.return;i!==null;){switch(i.tag){case 24:case 3:var c=Wr();o=Ri(c);var p=Ii(i,o,c);p!==null&&(Er(p,i,c),hu(p,i,c)),i={cache:Jm()},o.payload=i;return}i=i.return}}function mP(o,i,c){var p=Wr();c={lane:p,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null},_f(o)?FC(i,c):(c=Wm(o,i,c,p),c!==null&&(Er(c,o,p),NC(c,i,p)))}function BC(o,i,c){var p=Wr();du(o,i,c,p)}function du(o,i,c,p){var y={lane:p,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(_f(o))FC(i,y);else{var M=o.alternate;if(o.lanes===0&&(M===null||M.lanes===0)&&(M=i.lastRenderedReducer,M!==null))try{var N=i.lastRenderedState,K=M(N,c);if(y.hasEagerState=!0,y.eagerState=K,_r(K,N))return Mf(o,i,y,0),mn===null&&Ef(),!1}catch{}finally{}if(c=Wm(o,i,y,p),c!==null)return Er(c,o,p),NC(c,i,p),!0}return!1}function bg(o,i,c,p){if(p={lane:2,revertLane:ib(),action:p,hasEagerState:!1,eagerState:null,next:null},_f(o)){if(i)throw Error(r(479))}else i=Wm(o,c,p,2),i!==null&&Er(i,o,2)}function _f(o){var i=o.alternate;return o===Rt||i!==null&&i===Rt}function FC(o,i){ws=$f=!0;var c=o.pending;c===null?i.next=i:(i.next=c.next,c.next=i),o.pending=i}function NC(o,i,c){if(c&4194176){var p=i.lanes;p&=o.pendingLanes,c|=p,i.lanes=c,os(o,c)}}var sl={readContext:pr,use:Bf,useCallback:zn,useContext:zn,useEffect:zn,useImperativeHandle:zn,useLayoutEffect:zn,useInsertionEffect:zn,useMemo:zn,useReducer:zn,useRef:zn,useState:zn,useDebugValue:zn,useDeferredValue:zn,useTransition:zn,useSyncExternalStore:zn,useId:zn};sl.useCacheRefresh=zn,sl.useMemoCache=zn,sl.useHostTransitionStatus=zn,sl.useFormState=zn,sl.useActionState=zn,sl.useOptimistic=zn;var va={readContext:pr,use:Bf,useCallback:function(o,i){return Ar().memoizedState=[o,i===void 0?null:i],o},useContext:pr,useEffect:MC,useImperativeHandle:function(o,i,c){c=c!=null?c.concat([o]):null,Nf(4194308,4,RC.bind(null,i,o),c)},useLayoutEffect:function(o,i){return Nf(4194308,4,o,i)},useInsertionEffect:function(o,i){Nf(4,2,o,i)},useMemo:function(o,i){var c=Ar();i=i===void 0?null:i;var p=o();if(ya){Re(!0);try{o()}finally{Re(!1)}}return c.memoizedState=[p,i],p},useReducer:function(o,i,c){var p=Ar();if(c!==void 0){var y=c(i);if(ya){Re(!0);try{c(i)}finally{Re(!1)}}}else y=i;return p.memoizedState=p.baseState=y,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:y},p.queue=o,o=o.dispatch=mP.bind(null,Rt,o),[p.memoizedState,o]},useRef:function(o){var i=Ar();return o={current:o},i.memoizedState=o},useState:function(o){o=ug(o);var i=o.queue,c=BC.bind(null,Rt,i);return i.dispatch=c,[o.memoizedState,c]},useDebugValue:pg,useDeferredValue:function(o,i){var c=Ar();return hg(c,o,i)},useTransition:function(){var o=ug(!1);return o=LC.bind(null,Rt,o.queue,!0,!1),Ar().memoizedState=o,[!1,o]},useSyncExternalStore:function(o,i,c){var p=Rt,y=Ar();if(Gt){if(c===void 0)throw Error(r(407));c=c()}else{if(c=i(),mn===null)throw Error(r(349));Bt&60||cC(p,i,c)}y.memoizedState=c;var M={value:c,getSnapshot:i};return y.queue=M,MC(dC.bind(null,p,M,o),[o]),p.flags|=2048,Es(9,uC.bind(null,p,M,c,i),{destroy:void 0},null),c},useId:function(){var o=Ar(),i=mn.identifierPrefix;if(Gt){var c=Ll,p=Al;c=(p&~(1<<32-We(p)-1)).toString(32)+c,i=":"+i+"R"+c,c=zf++,0 title"))),cr(M,p,c),M[Nt]=o,Fn(M),p=M;break e;case"link":var N=px("link","href",y).get(p+(c.href||""));if(N){for(var K=0;K<\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof p.is=="string"?y.createElement("select",{is:p.is}):y.createElement("select"),p.multiple?o.multiple=!0:p.size&&(o.size=p.size);break;default:o=typeof p.is=="string"?y.createElement(c,{is:p.is}):y.createElement(c)}}o[Nt]=i,o[jt]=p;e:for(y=i.child;y!==null;){if(y.tag===5||y.tag===6)o.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===i)break e;for(;y.sibling===null;){if(y.return===null||y.return===i)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}i.stateNode=o;e:switch(cr(o,c,p),c){case"button":case"input":case"select":case"textarea":o=!!p.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&_l(i)}}return Tn(i),i.flags&=-16777217,null;case 6:if(o&&i.stateNode!=null)o.memoizedProps!==p&&_l(i);else{if(typeof p!="string"&&i.stateNode===null)throw Error(r(166));if(o=pe.current,eu(i)){if(o=i.stateNode,c=i.memoizedProps,p=null,y=xr,y!==null)switch(y.tag){case 27:case 5:p=y.memoizedProps}o[Nt]=i,o=!!(o.nodeValue===c||p!==null&&p.suppressHydrationWarning===!0||tx(o.nodeValue,c)),o||ma(i)}else o=ap(o).createTextNode(p),o[Nt]=i,i.stateNode=o}return Tn(i),null;case 13:if(p=i.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(y=eu(i),p!==null&&p.dehydrated!==null){if(o===null){if(!y)throw Error(r(318));if(y=i.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(r(317));y[Nt]=i}else tu(),!(i.flags&128)&&(i.memoizedState=null),i.flags|=4;Tn(i),y=!1}else Vo!==null&&(Jg(Vo),Vo=null),y=!0;if(!y)return i.flags&256?(Dl(i),i):(Dl(i),null)}if(Dl(i),i.flags&128)return i.lanes=c,i;if(c=p!==null,o=o!==null&&o.memoizedState!==null,c){p=i.child,y=null,p.alternate!==null&&p.alternate.memoizedState!==null&&p.alternate.memoizedState.cachePool!==null&&(y=p.alternate.memoizedState.cachePool.pool);var M=null;p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(M=p.memoizedState.cachePool.pool),M!==y&&(p.flags|=2048)}return c!==o&&c&&(i.child.flags|=8192),Xf(i,i.updateQueue),Tn(i),null;case 4:return _e(),o===null&&ub(i.stateNode.containerInfo),Tn(i),null;case 10:return Bl(i.type),Tn(i),null;case 19:if(se(Wn),y=i.memoizedState,y===null)return Tn(i),null;if(p=(i.flags&128)!==0,M=y.rendering,M===null)if(p)Cu(y,!1);else{if(On!==0||o!==null&&o.flags&128)for(o=i.child;o!==null;){if(M=Lf(o),M!==null){for(i.flags|=128,Cu(y,!1),o=M.updateQueue,i.updateQueue=o,Xf(i,o),i.subtreeFlags=0,o=c,c=i.child;c!==null;)Iw(c,o),c=c.sibling;return ie(Wn,Wn.current&1|2),i.child}o=o.sibling}y.tail!==null&&ze()>Zf&&(i.flags|=128,p=!0,Cu(y,!1),i.lanes=4194304)}else{if(!p)if(o=Lf(M),o!==null){if(i.flags|=128,p=!0,o=o.updateQueue,i.updateQueue=o,Xf(i,o),Cu(y,!0),y.tail===null&&y.tailMode==="hidden"&&!M.alternate&&!Gt)return Tn(i),null}else 2*ze()-y.renderingStartTime>Zf&&c!==536870912&&(i.flags|=128,p=!0,Cu(y,!1),i.lanes=4194304);y.isBackwards?(M.sibling=i.child,i.child=M):(o=y.last,o!==null?o.sibling=M:i.child=M,y.last=M)}return y.tail!==null?(i=y.tail,y.rendering=i,y.tail=i.sibling,y.renderingStartTime=ze(),i.sibling=null,o=Wn.current,ie(Wn,p?o&1|2:o&1),i):(Tn(i),null);case 22:case 23:return Dl(i),Qm(),p=i.memoizedState!==null,o!==null?o.memoizedState!==null!==p&&(i.flags|=8192):p&&(i.flags|=8192),p?c&536870912&&!(i.flags&128)&&(Tn(i),i.subtreeFlags&6&&(i.flags|=8192)):Tn(i),c=i.updateQueue,c!==null&&Xf(i,c.retryQueue),c=null,o!==null&&o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool),p=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(p=i.memoizedState.cachePool.pool),p!==c&&(i.flags|=2048),o!==null&&se(ba),null;case 24:return c=null,o!==null&&(c=o.memoizedState.cache),i.memoizedState.cache!==c&&(i.flags|=2048),Bl(Yn),Tn(i),null;case 25:return null}throw Error(r(156,i.tag))}function wP(o,i){switch(qm(i),i.tag){case 1:return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return Bl(Yn),_e(),o=i.flags,o&65536&&!(o&128)?(i.flags=o&-65537|128,i):null;case 26:case 27:case 5:return Be(i),null;case 13:if(Dl(i),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(r(340));tu()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return se(Wn),null;case 4:return _e(),null;case 10:return Bl(i.type),null;case 22:case 23:return Dl(i),Qm(),o!==null&&se(ba),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 24:return Bl(Yn),null;case 25:return null;default:return null}}function Aw(o,i){switch(qm(i),i.tag){case 3:Bl(Yn),_e();break;case 26:case 27:case 5:Be(i);break;case 4:_e();break;case 13:Dl(i);break;case 19:se(Wn);break;case 10:Bl(i.type);break;case 22:case 23:Dl(i),Qm(),o!==null&&se(ba);break;case 24:Bl(Yn)}}var xP={getCacheForType:function(o){var i=pr(Yn),c=i.data.get(o);return c===void 0&&(c=o(),i.data.set(o,c)),c}},EP=typeof WeakMap=="function"?WeakMap:Map,kn=0,mn=null,Lt=null,Bt=0,gn=0,Vr=null,Gl=!1,Rs=!1,Wg=!1,Ul=0,On=0,Di=0,Ta=0,Yg=0,So=0,Is=0,wu=null,cl=null,qg=!1,Kg=0,Zf=1/0,Qf=null,$i=null,Jf=!1,ka=null,xu=0,Xg=0,Zg=null,Eu=0,Qg=null;function Wr(){if(kn&2&&Bt!==0)return Bt&-Bt;if(A.T!==null){var o=Ss;return o!==0?o:ib()}return is()}function Lw(){So===0&&(So=!(Bt&536870912)||Gt?ft():536870912);var o=go.current;return o!==null&&(o.flags|=32),So}function Er(o,i,c){(o===mn&&gn===2||o.cancelPendingCommit!==null)&&(Os(o,0),Vl(o,Bt,So,!1)),jr(o,c),(!(kn&2)||o!==mn)&&(o===mn&&(!(kn&2)&&(Ta|=c),On===4&&Vl(o,Bt,So,!1)),ul(o))}function Dw(o,i,c){if(kn&6)throw Error(r(327));var p=!c&&(i&60)===0&&(i&o.expiredLanes)===0||wr(o,i),y=p?kP(o,i):nb(o,i,!0),M=p;do{if(y===0){Rs&&!p&&Vl(o,i,0,!1);break}else if(y===6)Vl(o,i,0,!Gl);else{if(c=o.current.alternate,M&&!MP(c)){y=nb(o,i,!1),M=!1;continue}if(y===2){if(M=i,o.errorRecoveryDisabledLanes&M)var N=0;else N=o.pendingLanes&-536870913,N=N!==0?N:N&536870912?536870912:0;if(N!==0){i=N;e:{var K=o;y=wu;var J=K.current.memoizedState.isDehydrated;if(J&&(Os(K,N).flags|=256),N=nb(K,N,!1),N!==2){if(Wg&&!J){K.errorRecoveryDisabledLanes|=M,Ta|=M,y=4;break e}M=cl,cl=y,M!==null&&Jg(M)}y=N}if(M=!1,y!==2)continue}}if(y===1){Os(o,0),Vl(o,i,0,!0);break}e:{switch(p=o,y){case 0:case 1:throw Error(r(345));case 4:if((i&4194176)===i){Vl(p,i,So,!Gl);break e}break;case 2:cl=null;break;case 3:case 5:break;default:throw Error(r(329))}if(p.finishedWork=c,p.finishedLanes=i,(i&62914560)===i&&(M=Kg+300-ze(),10c?32:c,A.T=null,ka===null)var M=!1;else{c=Zg,Zg=null;var N=ka,K=xu;if(ka=null,xu=0,kn&6)throw Error(r(331));var J=kn;if(kn|=4,kw(N.current),Ew(N,N.current,K,c),kn=J,Mu(0,!1),Qe&&typeof Qe.onPostCommitFiberRoot=="function")try{Qe.onPostCommitFiberRoot(ut,N)}catch{}M=!0}return M}finally{Q.p=y,A.T=p,Gw(o,i)}}return!1}function Uw(o,i,c){i=po(c,i),i=Sg(o.stateNode,i,2),o=Ii(o,i,2),o!==null&&(jr(o,2),ul(o))}function cn(o,i,c){if(o.tag===3)Uw(o,o,c);else for(;i!==null;){if(i.tag===3){Uw(i,o,c);break}else if(i.tag===1){var p=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&($i===null||!$i.has(p))){o=po(c,o),c=YC(2),p=Ii(i,c,2),p!==null&&(qC(c,p,i,o),jr(p,2),ul(p));break}}i=i.return}}function rb(o,i,c){var p=o.pingCache;if(p===null){p=o.pingCache=new EP;var y=new Set;p.set(i,y)}else y=p.get(i),y===void 0&&(y=new Set,p.set(i,y));y.has(c)||(Wg=!0,y.add(c),o=OP.bind(null,o,i,c),i.then(o,o))}function OP(o,i,c){var p=o.pingCache;p!==null&&p.delete(i),o.pingedLanes|=o.suspendedLanes&c,o.warmLanes&=~c,mn===o&&(Bt&c)===c&&(On===4||On===3&&(Bt&62914560)===Bt&&300>ze()-Kg?!(kn&2)&&Os(o,0):Yg|=c,Is===Bt&&(Is=0)),ul(o)}function Vw(o,i){i===0&&(i=$n()),o=Ci(o,i),o!==null&&(jr(o,i),ul(o))}function PP(o){var i=o.memoizedState,c=0;i!==null&&(c=i.retryLane),Vw(o,c)}function AP(o,i){var c=0;switch(o.tag){case 13:var p=o.stateNode,y=o.memoizedState;y!==null&&(c=y.retryLane);break;case 19:p=o.stateNode;break;case 22:p=o.stateNode._retryCache;break;default:throw Error(r(314))}p!==null&&p.delete(i),Vw(o,c)}function LP(o,i){return ot(o,i)}var np=null,Ls=null,ob=!1,rp=!1,lb=!1,Ra=0;function ul(o){o!==Ls&&o.next===null&&(Ls===null?np=Ls=o:Ls=Ls.next=o),rp=!0,ob||(ob=!0,$P(DP))}function Mu(o,i){if(!lb&&rp){lb=!0;do for(var c=!1,p=np;p!==null;){if(o!==0){var y=p.pendingLanes;if(y===0)var M=0;else{var N=p.suspendedLanes,K=p.pingedLanes;M=(1<<31-We(42|o)+1)-1,M&=y&~(N&~K),M=M&201326677?M&201326677|1:M?M|2:0}M!==0&&(c=!0,qw(p,M))}else M=Bt,M=hn(p,p===mn?M:0),!(M&3)||wr(p,M)||(c=!0,qw(p,M));p=p.next}while(c);lb=!1}}function DP(){rp=ob=!1;var o=0;Ra!==0&&(GP()&&(o=Ra),Ra=0);for(var i=ze(),c=null,p=np;p!==null;){var y=p.next,M=Ww(p,i);M===0?(p.next=null,c===null?np=y:c.next=y,y===null&&(Ls=c)):(c=p,(o!==0||M&3)&&(rp=!0)),p=y}Mu(o)}function Ww(o,i){for(var c=o.suspendedLanes,p=o.pingedLanes,y=o.expirationTimes,M=o.pendingLanes&-62914561;0"u"?null:document;function cx(o,i,c){var p=$s;if(p&&typeof i=="string"&&i){var y=uo(i);y='link[rel="'+o+'"][href="'+y+'"]',typeof c=="string"&&(y+='[crossorigin="'+c+'"]'),sx.has(y)||(sx.add(y),o={rel:o,crossOrigin:c,href:i},p.querySelector(y)===null&&(i=p.createElement("link"),cr(i,"link",o),Fn(i),p.head.appendChild(i)))}}function ZP(o){Wl.D(o),cx("dns-prefetch",o,null)}function QP(o,i){Wl.C(o,i),cx("preconnect",o,i)}function JP(o,i,c){Wl.L(o,i,c);var p=$s;if(p&&o&&i){var y='link[rel="preload"][as="'+uo(i)+'"]';i==="image"&&c&&c.imageSrcSet?(y+='[imagesrcset="'+uo(c.imageSrcSet)+'"]',typeof c.imageSizes=="string"&&(y+='[imagesizes="'+uo(c.imageSizes)+'"]')):y+='[href="'+uo(o)+'"]';var M=y;switch(i){case"style":M=zs(o);break;case"script":M=Hs(o)}Co.has(M)||(o=T({rel:"preload",href:i==="image"&&c&&c.imageSrcSet?void 0:o,as:i},c),Co.set(M,o),p.querySelector(y)!==null||i==="style"&&p.querySelector(Ru(M))||i==="script"&&p.querySelector(Iu(M))||(i=p.createElement("link"),cr(i,"link",o),Fn(i),p.head.appendChild(i)))}}function eA(o,i){Wl.m(o,i);var c=$s;if(c&&o){var p=i&&typeof i.as=="string"?i.as:"script",y='link[rel="modulepreload"][as="'+uo(p)+'"][href="'+uo(o)+'"]',M=y;switch(p){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":M=Hs(o)}if(!Co.has(M)&&(o=T({rel:"modulepreload",href:o},i),Co.set(M,o),c.querySelector(y)===null)){switch(p){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c.querySelector(Iu(M)))return}p=c.createElement("link"),cr(p,"link",o),Fn(p),c.head.appendChild(p)}}}function tA(o,i,c){Wl.S(o,i,c);var p=$s;if(p&&o){var y=ol(p).hoistableStyles,M=zs(o);i=i||"default";var N=y.get(M);if(!N){var K={loading:0,preload:null};if(N=p.querySelector(Ru(M)))K.loading=5;else{o=T({rel:"stylesheet",href:o,"data-precedence":i},c),(c=Co.get(M))&&vb(o,c);var J=N=p.createElement("link");Fn(J),cr(J,"link",o),J._p=new Promise(function(re,Ee){J.onload=re,J.onerror=Ee}),J.addEventListener("load",function(){K.loading|=1}),J.addEventListener("error",function(){K.loading|=2}),K.loading|=4,cp(N,i,p)}N={type:"stylesheet",instance:N,count:1,state:K},y.set(M,N)}}}function nA(o,i){Wl.X(o,i);var c=$s;if(c&&o){var p=ol(c).hoistableScripts,y=Hs(o),M=p.get(y);M||(M=c.querySelector(Iu(y)),M||(o=T({src:o,async:!0},i),(i=Co.get(y))&&Sb(o,i),M=c.createElement("script"),Fn(M),cr(M,"link",o),c.head.appendChild(M)),M={type:"script",instance:M,count:1,state:null},p.set(y,M))}}function rA(o,i){Wl.M(o,i);var c=$s;if(c&&o){var p=ol(c).hoistableScripts,y=Hs(o),M=p.get(y);M||(M=c.querySelector(Iu(y)),M||(o=T({src:o,async:!0,type:"module"},i),(i=Co.get(y))&&Sb(o,i),M=c.createElement("script"),Fn(M),cr(M,"link",o),c.head.appendChild(M)),M={type:"script",instance:M,count:1,state:null},p.set(y,M))}}function ux(o,i,c,p){var y=(y=pe.current)?sp(y):null;if(!y)throw Error(r(446));switch(o){case"meta":case"title":return null;case"style":return typeof c.precedence=="string"&&typeof c.href=="string"?(i=zs(c.href),c=ol(y).hoistableStyles,p=c.get(i),p||(p={type:"style",instance:null,count:0,state:null},c.set(i,p)),p):{type:"void",instance:null,count:0,state:null};case"link":if(c.rel==="stylesheet"&&typeof c.href=="string"&&typeof c.precedence=="string"){o=zs(c.href);var M=ol(y).hoistableStyles,N=M.get(o);if(N||(y=y.ownerDocument||y,N={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},M.set(o,N),(M=y.querySelector(Ru(o)))&&!M._p&&(N.instance=M,N.state.loading=5),Co.has(o)||(c={rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},Co.set(o,c),M||oA(y,o,c,N.state))),i&&p===null)throw Error(r(528,""));return N}if(i&&p!==null)throw Error(r(529,""));return null;case"script":return i=c.async,c=c.src,typeof c=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Hs(c),c=ol(y).hoistableScripts,p=c.get(i),p||(p={type:"script",instance:null,count:0,state:null},c.set(i,p)),p):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,o))}}function zs(o){return'href="'+uo(o)+'"'}function Ru(o){return'link[rel="stylesheet"]['+o+"]"}function dx(o){return T({},o,{"data-precedence":o.precedence,precedence:null})}function oA(o,i,c,p){o.querySelector('link[rel="preload"][as="style"]['+i+"]")?p.loading=1:(i=o.createElement("link"),p.preload=i,i.addEventListener("load",function(){return p.loading|=1}),i.addEventListener("error",function(){return p.loading|=2}),cr(i,"link",c),Fn(i),o.head.appendChild(i))}function Hs(o){return'[src="'+uo(o)+'"]'}function Iu(o){return"script[async]"+o}function fx(o,i,c){if(i.count++,i.instance===null)switch(i.type){case"style":var p=o.querySelector('style[data-href~="'+uo(c.href)+'"]');if(p)return i.instance=p,Fn(p),p;var y=T({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});return p=(o.ownerDocument||o).createElement("style"),Fn(p),cr(p,"style",y),cp(p,c.precedence,o),i.instance=p;case"stylesheet":y=zs(c.href);var M=o.querySelector(Ru(y));if(M)return i.state.loading|=4,i.instance=M,Fn(M),M;p=dx(c),(y=Co.get(y))&&vb(p,y),M=(o.ownerDocument||o).createElement("link"),Fn(M);var N=M;return N._p=new Promise(function(K,J){N.onload=K,N.onerror=J}),cr(M,"link",p),i.state.loading|=4,cp(M,c.precedence,o),i.instance=M;case"script":return M=Hs(c.src),(y=o.querySelector(Iu(M)))?(i.instance=y,Fn(y),y):(p=c,(y=Co.get(M))&&(p=T({},c),Sb(p,y)),o=o.ownerDocument||o,y=o.createElement("script"),Fn(y),cr(y,"link",p),o.head.appendChild(y),i.instance=y);case"void":return null;default:throw Error(r(443,i.type))}else i.type==="stylesheet"&&!(i.state.loading&4)&&(p=i.instance,i.state.loading|=4,cp(p,c.precedence,o));return i.instance}function cp(o,i,c){for(var p=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),y=p.length?p[p.length-1]:null,M=y,N=0;N title"):null)}function lA(o,i,c){if(c===1||i.itemProp!=null)return!1;switch(o){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return o=i.disabled,typeof i.precedence=="string"&&o==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function mx(o){return!(o.type==="stylesheet"&&!(o.state.loading&3))}var Ou=null;function iA(){}function aA(o,i,c){if(Ou===null)throw Error(r(475));var p=Ou;if(i.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&!(i.state.loading&4)){if(i.instance===null){var y=zs(c.href),M=o.querySelector(Ru(y));if(M){o=M._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(p.count++,p=dp.bind(p),o.then(p,p)),i.state.loading|=4,i.instance=M,Fn(M);return}M=o.ownerDocument||o,c=dx(c),(y=Co.get(y))&&vb(c,y),M=M.createElement("link"),Fn(M);var N=M;N._p=new Promise(function(K,J){N.onload=K,N.onerror=J}),cr(M,"link",c),i.instance=M}p.stylesheets===null&&(p.stylesheets=new Map),p.stylesheets.set(i,o),(o=i.state.preload)&&!(i.state.loading&3)&&(p.count++,i=dp.bind(p),o.addEventListener("load",i),o.addEventListener("error",i))}}function sA(){if(Ou===null)throw Error(r(475));var o=Ou;return o.stylesheets&&o.count===0&&Cb(o,o.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Ob.exports=kA(),Ob.exports}var IA=RA(),Db={exports:{}},$b,Hx;function OA(){if(Hx)return $b;Hx=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return $b=e,$b}var zb,Bx;function PA(){if(Bx)return zb;Bx=1;var e=OA();function t(){}function n(){}return n.resetWarningCache=t,zb=function(){function r(s,u,d,f,h,g){if(g!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}r.isRequired=r;function l(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:l,element:r,elementType:r,instanceOf:l,node:r,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},zb}var Fx;function AA(){return Fx||(Fx=1,Db.exports=PA()()),Db.exports}var LA=AA();const le=Mc(LA);function ri(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}function me(e){if(typeof e!="string")throw new Error(ri(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Hb={exports:{}},an={};/** +`+c.stack}}function W(o){var i=o,c=o;if(o.alternate)for(;i.return;)i=i.return;else{o=i;do i=o,i.flags&4098&&(c=i.return),o=i.return;while(o)}return i.tag===3?c:null}function F(o){if(o.tag===13){var i=o.memoizedState;if(i===null&&(o=o.alternate,o!==null&&(i=o.memoizedState)),i!==null)return i.dehydrated}return null}function D(o){if(W(o)!==o)throw Error(r(188))}function Y(o){var i=o.alternate;if(!i){if(i=W(o),i===null)throw Error(r(188));return i!==o?null:o}for(var c=o,p=i;;){var y=c.return;if(y===null)break;var M=y.alternate;if(M===null){if(p=y.return,p!==null){c=p;continue}break}if(y.child===M.child){for(M=y.child;M;){if(M===c)return D(y),o;if(M===p)return D(y),i;M=M.sibling}throw Error(r(188))}if(c.return!==p.return)c=y,p=M;else{for(var N=!1,K=y.child;K;){if(K===c){N=!0,c=y,p=M;break}if(K===p){N=!0,p=y,c=M;break}K=K.sibling}if(!N){for(K=M.child;K;){if(K===c){N=!0,c=M,p=y;break}if(K===p){N=!0,p=M,c=y;break}K=K.sibling}if(!N)throw Error(r(189))}}if(c.alternate!==p)throw Error(r(190))}if(c.tag!==3)throw Error(r(188));return c.stateNode.current===c?o:i}function X(o){var i=o.tag;if(i===5||i===26||i===27||i===6)return o;for(o=o.child;o!==null;){if(i=X(o),i!==null)return i;o=o.sibling}return null}var Z=Array.isArray,Q=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},ee=[],fe=-1;function oe(o){return{current:o}}function se(o){0>fe||(o.current=ee[fe],ee[fe]=null,fe--)}function ie(o,i){fe++,ee[fe]=o.current,o.current=i}var ge=oe(null),de=oe(null),pe=oe(null),Te=oe(null);function De(o,i){switch(ie(pe,i),ie(de,o),ie(ge,null),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)&&(i=i.namespaceURI)?nx(i):0;break;default:if(o=o===8?i.parentNode:i,i=o.tagName,o=o.namespaceURI)o=nx(o),i=rx(o,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}se(ge),ie(ge,i)}function _e(){se(ge),se(de),se(pe)}function Se(o){o.memoizedState!==null&&ie(Te,o);var i=ge.current,c=rx(i,o.type);i!==c&&(ie(de,o),ie(ge,c))}function Be(o){de.current===o&&(se(ge),se(de)),Te.current===o&&(se(Te),Pu._currentValue=te)}var Fe=Object.prototype.hasOwnProperty,ot=e.unstable_scheduleCallback,Ve=e.unstable_cancelCallback,$e=e.unstable_shouldYield,mt=e.unstable_requestPaint,ze=e.unstable_now,at=e.unstable_getCurrentPriorityLevel,Ke=e.unstable_ImmediatePriority,Ne=e.unstable_UserBlockingPriority,Ye=e.unstable_NormalPriority,Le=e.unstable_LowPriority,He=e.unstable_IdlePriority,Oe=e.log,je=e.unstable_setDisableYieldValue,ut=null,Qe=null;function ye(o){if(Qe&&typeof Qe.onCommitFiberRoot=="function")try{Qe.onCommitFiberRoot(ut,o,void 0,(o.current.flags&128)===128)}catch{}}function Re(o){if(typeof Oe=="function"&&je(o),Qe&&typeof Qe.setStrictMode=="function")try{Qe.setStrictMode(ut,o)}catch{}}var We=Math.clz32?Math.clz32:Qt,dt=Math.log,At=Math.LN2;function Qt(o){return o>>>=0,o===0?32:31-(dt(o)/At|0)|0}var pn=128,vn=4194304;function Cn(o){var i=o&42;if(i!==0)return i;switch(o&-o){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:return 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 o&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return o&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return o}}function hn(o,i){var c=o.pendingLanes;if(c===0)return 0;var p=0,y=o.suspendedLanes,M=o.pingedLanes,N=o.warmLanes;o=o.finishedLanes!==0;var K=c&134217727;return K!==0?(c=K&~y,c!==0?p=Cn(c):(M&=K,M!==0?p=Cn(M):o||(N=K&~N,N!==0&&(p=Cn(N))))):(K=c&~y,K!==0?p=Cn(K):M!==0?p=Cn(M):o||(N=c&~N,N!==0&&(p=Cn(N)))),p===0?0:i!==0&&i!==p&&!(i&y)&&(y=p&-p,N=i&-i,y>=N||y===32&&(N&4194176)!==0)?i:p}function wr(o,i){return(o.pendingLanes&~(o.suspendedLanes&~o.pingedLanes)&i)===0}function Go(o,i){switch(o){case 1:case 2:case 4:case 8:return i+250;case 16:case 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 i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ft(){var o=pn;return pn<<=1,!(pn&4194176)&&(pn=128),o}function $n(){var o=vn;return vn<<=1,!(vn&62914560)&&(vn=4194304),o}function rl(o){for(var i=[],c=0;31>c;c++)i.push(o);return i}function jr(o,i){o.pendingLanes|=i,i!==268435456&&(o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0)}function sa(o,i,c,p,y,M){var N=o.pendingLanes;o.pendingLanes=c,o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0,o.expiredLanes&=c,o.entangledLanes&=c,o.errorRecoveryDisabledLanes&=c,o.shellSuspendCounter=0;var K=o.entanglements,J=o.expirationTimes,re=o.hiddenUpdates;for(c=N&~c;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ll=RegExp("^[: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]*$"),vi={},ff={};function pO(o){return Fe.call(ff,o)?!0:Fe.call(vi,o)?!1:ll.test(o)?ff[o]=!0:(vi[o]=!0,!1)}function pf(o,i,c){if(pO(i))if(c===null)o.removeAttribute(i);else{switch(typeof c){case"undefined":case"function":case"symbol":o.removeAttribute(i);return;case"boolean":var p=i.toLowerCase().slice(0,5);if(p!=="data-"&&p!=="aria-"){o.removeAttribute(i);return}}o.setAttribute(i,""+c)}}function hf(o,i,c){if(c===null)o.removeAttribute(i);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":o.removeAttribute(i);return}o.setAttribute(i,""+c)}}function Pl(o,i,c,p){if(p===null)o.removeAttribute(c);else{switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":o.removeAttribute(c);return}o.setAttributeNS(i,c,""+p)}}function co(o){switch(typeof o){case"bigint":case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function lS(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function hO(o){var i=lS(o)?"checked":"value",c=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),p=""+o[i];if(!o.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var y=c.get,M=c.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return y.call(this)},set:function(N){p=""+N,M.call(this,N)}}),Object.defineProperty(o,i,{enumerable:c.enumerable}),{getValue:function(){return p},setValue:function(N){p=""+N},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function mf(o){o._valueTracker||(o._valueTracker=hO(o))}function iS(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var c=i.getValue(),p="";return o&&(p=lS(o)?o.checked?"true":"false":o.value),o=p,o!==c?(i.setValue(o),!0):!1}function gf(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}var mO=/[\n"\\]/g;function uo(o){return o.replace(mO,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Tm(o,i,c,p,y,M,N,K){o.name="",N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?o.type=N:o.removeAttribute("type"),i!=null?N==="number"?(i===0&&o.value===""||o.value!=i)&&(o.value=""+co(i)):o.value!==""+co(i)&&(o.value=""+co(i)):N!=="submit"&&N!=="reset"||o.removeAttribute("value"),i!=null?km(o,N,co(i)):c!=null?km(o,N,co(c)):p!=null&&o.removeAttribute("value"),y==null&&M!=null&&(o.defaultChecked=!!M),y!=null&&(o.checked=y&&typeof y!="function"&&typeof y!="symbol"),K!=null&&typeof K!="function"&&typeof K!="symbol"&&typeof K!="boolean"?o.name=""+co(K):o.removeAttribute("name")}function aS(o,i,c,p,y,M,N,K){if(M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"&&(o.type=M),i!=null||c!=null){if(!(M!=="submit"&&M!=="reset"||i!=null))return;c=c!=null?""+co(c):"",i=i!=null?""+co(i):c,K||i===o.value||(o.value=i),o.defaultValue=i}p=p??y,p=typeof p!="function"&&typeof p!="symbol"&&!!p,o.checked=K?o.checked:!!p,o.defaultChecked=!!p,N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"&&(o.name=N)}function km(o,i,c){i==="number"&&gf(o.ownerDocument)===o||o.defaultValue===""+c||(o.defaultValue=""+c)}function as(o,i,c,p){if(o=o.options,i){i={};for(var y=0;y=Kc),SS=" ",CS=!1;function wS(o,i){switch(o){case"keyup":return GO.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xS(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var ds=!1;function VO(o,i){switch(o){case"compositionend":return xS(i);case"keypress":return i.which!==32?null:(CS=!0,SS);case"textInput":return o=i.data,o===SS&&CS?null:o;default:return null}}function WO(o,i){if(ds)return o==="compositionend"||!Bm&&wS(o,i)?(o=hS(),yf=Lm=Si=null,ds=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:c,offset:i-o};o=p}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=PS(c)}}function LS(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?LS(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function DS(o){o=o!=null&&o.ownerDocument!=null&&o.ownerDocument.defaultView!=null?o.ownerDocument.defaultView:window;for(var i=gf(o.document);i instanceof o.HTMLIFrameElement;){try{var c=typeof i.contentWindow.location.href=="string"}catch{c=!1}if(c)o=i.contentWindow;else break;i=gf(o.document)}return i}function jm(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i&&(i==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||i==="textarea"||o.contentEditable==="true")}function eP(o,i){var c=DS(i);i=o.focusedElem;var p=o.selectionRange;if(c!==i&&i&&i.ownerDocument&&LS(i.ownerDocument.documentElement,i)){if(p!==null&&jm(i)){if(o=p.start,c=p.end,c===void 0&&(c=o),"selectionStart"in i)i.selectionStart=o,i.selectionEnd=Math.min(c,i.value.length);else if(c=(o=i.ownerDocument||document)&&o.defaultView||window,c.getSelection){c=c.getSelection();var y=i.textContent.length,M=Math.min(p.start,y);p=p.end===void 0?M:Math.min(p.end,y),!c.extend&&M>p&&(y=p,p=M,M=y),y=AS(i,M);var N=AS(i,p);y&&N&&(c.rangeCount!==1||c.anchorNode!==y.node||c.anchorOffset!==y.offset||c.focusNode!==N.node||c.focusOffset!==N.offset)&&(o=o.createRange(),o.setStart(y.node,y.offset),c.removeAllRanges(),M>p?(c.addRange(o),c.extend(N.node,N.offset)):(o.setEnd(N.node,N.offset),c.addRange(o)))}}for(o=[],c=i;c=c.parentNode;)c.nodeType===1&&o.push({element:c,left:c.scrollLeft,top:c.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i=document.documentMode,fs=null,_m=null,Jc=null,Gm=!1;function $S(o,i,c){var p=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Gm||fs==null||fs!==gf(p)||(p=fs,"selectionStart"in p&&jm(p)?p={start:p.selectionStart,end:p.selectionEnd}:(p=(p.ownerDocument&&p.ownerDocument.defaultView||window).getSelection(),p={anchorNode:p.anchorNode,anchorOffset:p.anchorOffset,focusNode:p.focusNode,focusOffset:p.focusOffset}),Jc&&Qc(Jc,p)||(Jc=p,p=lp(_m,"onSelect"),0>=N,y-=N,Al=1<<32-We(i)+y|c<pt?(er=ct,ct=null):er=ct.sibling;var Ut=he(ae,ct,ce[pt],Ie);if(Ut===null){ct===null&&(ct=er);break}o&&ct&&Ut.alternate===null&&i(ae,ct),ne=M(Ut,ne,pt),Pt===null?rt=Ut:Pt.sibling=Ut,Pt=Ut,ct=er}if(pt===ce.length)return c(ae,ct),Gt&&ha(ae,pt),rt;if(ct===null){for(;ptpt?(er=ct,ct=null):er=ct.sibling;var Ni=he(ae,ct,Ut.value,Ie);if(Ni===null){ct===null&&(ct=er);break}o&&ct&&Ni.alternate===null&&i(ae,ct),ne=M(Ni,ne,pt),Pt===null?rt=Ni:Pt.sibling=Ni,Pt=Ni,ct=er}if(Ut.done)return c(ae,ct),Gt&&ha(ae,pt),rt;if(ct===null){for(;!Ut.done;pt++,Ut=ce.next())Ut=Ae(ae,Ut.value,Ie),Ut!==null&&(ne=M(Ut,ne,pt),Pt===null?rt=Ut:Pt.sibling=Ut,Pt=Ut);return Gt&&ha(ae,pt),rt}for(ct=p(ct);!Ut.done;pt++,Ut=ce.next())Ut=we(ct,ae,pt,Ut.value,Ie),Ut!==null&&(o&&Ut.alternate!==null&&ct.delete(Ut.key===null?pt:Ut.key),ne=M(Ut,ne,pt),Pt===null?rt=Ut:Pt.sibling=Ut,Pt=Ut);return o&&ct.forEach(function(yA){return i(ae,yA)}),Gt&&ha(ae,pt),rt}function Pn(ae,ne,ce,Ie){if(typeof ce=="object"&&ce!==null&&ce.type===d&&ce.key===null&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case s:e:{for(var rt=ce.key;ne!==null;){if(ne.key===rt){if(rt=ce.type,rt===d){if(ne.tag===7){c(ae,ne.sibling),Ie=y(ne,ce.props.children),Ie.return=ae,ae=Ie;break e}}else if(ne.elementType===rt||typeof rt=="object"&&rt!==null&&rt.$$typeof===R&&QS(rt)===ne.type){c(ae,ne.sibling),Ie=y(ne,ce.props),iu(Ie,ce),Ie.return=ae,ae=Ie;break e}c(ae,ne);break}else i(ae,ne);ne=ne.sibling}ce.type===d?(Ie=Ma(ce.props.children,ae.mode,Ie,ce.key),Ie.return=ae,ae=Ie):(Ie=Kf(ce.type,ce.key,ce.props,null,ae.mode,Ie),iu(Ie,ce),Ie.return=ae,ae=Ie)}return N(ae);case u:e:{for(rt=ce.key;ne!==null;){if(ne.key===rt)if(ne.tag===4&&ne.stateNode.containerInfo===ce.containerInfo&&ne.stateNode.implementation===ce.implementation){c(ae,ne.sibling),Ie=y(ne,ce.children||[]),Ie.return=ae,ae=Ie;break e}else{c(ae,ne);break}else i(ae,ne);ne=ne.sibling}Ie=Vg(ce,ae.mode,Ie),Ie.return=ae,ae=Ie}return N(ae);case R:return rt=ce._init,ce=rt(ce._payload),Pn(ae,ne,ce,Ie)}if(Z(ce))return it(ae,ne,ce,Ie);if(L(ce)){if(rt=L(ce),typeof rt!="function")throw Error(r(150));return ce=rt.call(ce),St(ae,ne,ce,Ie)}if(typeof ce.then=="function")return Pn(ae,ne,Of(ce),Ie);if(ce.$$typeof===S)return Pn(ae,ne,Wf(ae,ce),Ie);Pf(ae,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint"?(ce=""+ce,ne!==null&&ne.tag===6?(c(ae,ne.sibling),Ie=y(ne,ce),Ie.return=ae,ae=Ie):(c(ae,ne),Ie=Ug(ce,ae.mode,Ie),Ie.return=ae,ae=Ie),N(ae)):c(ae,ne)}return function(ae,ne,ce,Ie){try{lu=0;var rt=Pn(ae,ne,ce,Ie);return ys=null,rt}catch(ct){if(ct===ru)throw ct;var Pt=vo(29,ct,null,ae.mode);return Pt.lanes=Ie,Pt.return=ae,Pt}finally{}}}var ga=JS(!0),eC=JS(!1),vs=oe(null),Af=oe(0);function tC(o,i){o=Ul,ie(Af,o),ie(vs,i),Ul=o|i.baseLanes}function Zm(){ie(Af,Ul),ie(vs,vs.current)}function Qm(){Ul=Af.current,se(vs),se(Af)}var go=oe(null),al=null;function wi(o){var i=o.alternate;ie(Wn,Wn.current&1),ie(go,o),al===null&&(i===null||vs.current!==null||i.memoizedState!==null)&&(al=o)}function nC(o){if(o.tag===22){if(ie(Wn,Wn.current),ie(go,o),al===null){var i=o.alternate;i!==null&&i.memoizedState!==null&&(al=o)}}else xi()}function xi(){ie(Wn,Wn.current),ie(go,go.current)}function Dl(o){se(go),al===o&&(al=null),se(Wn)}var Wn=oe(0);function Lf(o){for(var i=o;i!==null;){if(i.tag===13){var c=i.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var lP=typeof AbortController<"u"?AbortController:function(){var o=[],i=this.signal={aborted:!1,addEventListener:function(c,p){o.push(p)}};this.abort=function(){i.aborted=!0,o.forEach(function(c){return c()})}},iP=e.unstable_scheduleCallback,aP=e.unstable_NormalPriority,Yn={$$typeof:S,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Jm(){return{controller:new lP,data:new Map,refCount:0}}function au(o){o.refCount--,o.refCount===0&&iP(aP,function(){o.controller.abort()})}var su=null,eg=0,Ss=0,Cs=null;function sP(o,i){if(su===null){var c=su=[];eg=0,Ss=ib(),Cs={status:"pending",value:void 0,then:function(p){c.push(p)}}}return eg++,i.then(rC,rC),i}function rC(){if(--eg===0&&su!==null){Cs!==null&&(Cs.status="fulfilled");var o=su;su=null,Ss=0,Cs=null;for(var i=0;iM?M:8;var N=A.T,K={};A.T=K,bg(o,!1,i,c);try{var J=y(),re=A.S;if(re!==null&&re(K,J),J!==null&&typeof J=="object"&&typeof J.then=="function"){var Ee=cP(J,p);du(o,i,Ee,Wr(o))}else du(o,i,p,Wr(o))}catch(Ae){du(o,i,{then:function(){},status:"rejected",reason:Ae},Wr())}finally{Q.p=M,A.T=N}}function hP(){}function mg(o,i,c,p){if(o.tag!==5)throw Error(r(476));var y=DC(o).queue;LC(o,y,i,te,c===null?hP:function(){return $C(o),c(p)})}function DC(o){var i=o.memoizedState;if(i!==null)return i;i={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$l,lastRenderedState:te},next:null};var c={};return i.next={memoizedState:c,baseState:c,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$l,lastRenderedState:c},next:null},o.memoizedState=i,o=o.alternate,o!==null&&(o.memoizedState=i),i}function $C(o){var i=DC(o).next.queue;du(o,i,{},Wr())}function gg(){return pr(Pu)}function zC(){return _n().memoizedState}function HC(){return _n().memoizedState}function mP(o){for(var i=o.return;i!==null;){switch(i.tag){case 24:case 3:var c=Wr();o=Ri(c);var p=Ii(i,o,c);p!==null&&(Er(p,i,c),hu(p,i,c)),i={cache:Jm()},o.payload=i;return}i=i.return}}function gP(o,i,c){var p=Wr();c={lane:p,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null},_f(o)?FC(i,c):(c=Wm(o,i,c,p),c!==null&&(Er(c,o,p),NC(c,i,p)))}function BC(o,i,c){var p=Wr();du(o,i,c,p)}function du(o,i,c,p){var y={lane:p,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(_f(o))FC(i,y);else{var M=o.alternate;if(o.lanes===0&&(M===null||M.lanes===0)&&(M=i.lastRenderedReducer,M!==null))try{var N=i.lastRenderedState,K=M(N,c);if(y.hasEagerState=!0,y.eagerState=K,_r(K,N))return Mf(o,i,y,0),mn===null&&Ef(),!1}catch{}finally{}if(c=Wm(o,i,y,p),c!==null)return Er(c,o,p),NC(c,i,p),!0}return!1}function bg(o,i,c,p){if(p={lane:2,revertLane:ib(),action:p,hasEagerState:!1,eagerState:null,next:null},_f(o)){if(i)throw Error(r(479))}else i=Wm(o,c,p,2),i!==null&&Er(i,o,2)}function _f(o){var i=o.alternate;return o===Rt||i!==null&&i===Rt}function FC(o,i){ws=$f=!0;var c=o.pending;c===null?i.next=i:(i.next=c.next,c.next=i),o.pending=i}function NC(o,i,c){if(c&4194176){var p=i.lanes;p&=o.pendingLanes,c|=p,i.lanes=c,os(o,c)}}var sl={readContext:pr,use:Bf,useCallback:zn,useContext:zn,useEffect:zn,useImperativeHandle:zn,useLayoutEffect:zn,useInsertionEffect:zn,useMemo:zn,useReducer:zn,useRef:zn,useState:zn,useDebugValue:zn,useDeferredValue:zn,useTransition:zn,useSyncExternalStore:zn,useId:zn};sl.useCacheRefresh=zn,sl.useMemoCache=zn,sl.useHostTransitionStatus=zn,sl.useFormState=zn,sl.useActionState=zn,sl.useOptimistic=zn;var va={readContext:pr,use:Bf,useCallback:function(o,i){return Ar().memoizedState=[o,i===void 0?null:i],o},useContext:pr,useEffect:MC,useImperativeHandle:function(o,i,c){c=c!=null?c.concat([o]):null,Nf(4194308,4,RC.bind(null,i,o),c)},useLayoutEffect:function(o,i){return Nf(4194308,4,o,i)},useInsertionEffect:function(o,i){Nf(4,2,o,i)},useMemo:function(o,i){var c=Ar();i=i===void 0?null:i;var p=o();if(ya){Re(!0);try{o()}finally{Re(!1)}}return c.memoizedState=[p,i],p},useReducer:function(o,i,c){var p=Ar();if(c!==void 0){var y=c(i);if(ya){Re(!0);try{c(i)}finally{Re(!1)}}}else y=i;return p.memoizedState=p.baseState=y,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:y},p.queue=o,o=o.dispatch=gP.bind(null,Rt,o),[p.memoizedState,o]},useRef:function(o){var i=Ar();return o={current:o},i.memoizedState=o},useState:function(o){o=ug(o);var i=o.queue,c=BC.bind(null,Rt,i);return i.dispatch=c,[o.memoizedState,c]},useDebugValue:pg,useDeferredValue:function(o,i){var c=Ar();return hg(c,o,i)},useTransition:function(){var o=ug(!1);return o=LC.bind(null,Rt,o.queue,!0,!1),Ar().memoizedState=o,[!1,o]},useSyncExternalStore:function(o,i,c){var p=Rt,y=Ar();if(Gt){if(c===void 0)throw Error(r(407));c=c()}else{if(c=i(),mn===null)throw Error(r(349));Bt&60||cC(p,i,c)}y.memoizedState=c;var M={value:c,getSnapshot:i};return y.queue=M,MC(dC.bind(null,p,M,o),[o]),p.flags|=2048,Es(9,uC.bind(null,p,M,c,i),{destroy:void 0},null),c},useId:function(){var o=Ar(),i=mn.identifierPrefix;if(Gt){var c=Ll,p=Al;c=(p&~(1<<32-We(p)-1)).toString(32)+c,i=":"+i+"R"+c,c=zf++,0 title"))),cr(M,p,c),M[Nt]=o,Fn(M),p=M;break e;case"link":var N=px("link","href",y).get(p+(c.href||""));if(N){for(var K=0;K<\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof p.is=="string"?y.createElement("select",{is:p.is}):y.createElement("select"),p.multiple?o.multiple=!0:p.size&&(o.size=p.size);break;default:o=typeof p.is=="string"?y.createElement(c,{is:p.is}):y.createElement(c)}}o[Nt]=i,o[jt]=p;e:for(y=i.child;y!==null;){if(y.tag===5||y.tag===6)o.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===i)break e;for(;y.sibling===null;){if(y.return===null||y.return===i)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}i.stateNode=o;e:switch(cr(o,c,p),c){case"button":case"input":case"select":case"textarea":o=!!p.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&_l(i)}}return Tn(i),i.flags&=-16777217,null;case 6:if(o&&i.stateNode!=null)o.memoizedProps!==p&&_l(i);else{if(typeof p!="string"&&i.stateNode===null)throw Error(r(166));if(o=pe.current,eu(i)){if(o=i.stateNode,c=i.memoizedProps,p=null,y=xr,y!==null)switch(y.tag){case 27:case 5:p=y.memoizedProps}o[Nt]=i,o=!!(o.nodeValue===c||p!==null&&p.suppressHydrationWarning===!0||tx(o.nodeValue,c)),o||ma(i)}else o=ap(o).createTextNode(p),o[Nt]=i,i.stateNode=o}return Tn(i),null;case 13:if(p=i.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(y=eu(i),p!==null&&p.dehydrated!==null){if(o===null){if(!y)throw Error(r(318));if(y=i.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(r(317));y[Nt]=i}else tu(),!(i.flags&128)&&(i.memoizedState=null),i.flags|=4;Tn(i),y=!1}else Vo!==null&&(Jg(Vo),Vo=null),y=!0;if(!y)return i.flags&256?(Dl(i),i):(Dl(i),null)}if(Dl(i),i.flags&128)return i.lanes=c,i;if(c=p!==null,o=o!==null&&o.memoizedState!==null,c){p=i.child,y=null,p.alternate!==null&&p.alternate.memoizedState!==null&&p.alternate.memoizedState.cachePool!==null&&(y=p.alternate.memoizedState.cachePool.pool);var M=null;p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(M=p.memoizedState.cachePool.pool),M!==y&&(p.flags|=2048)}return c!==o&&c&&(i.child.flags|=8192),Xf(i,i.updateQueue),Tn(i),null;case 4:return _e(),o===null&&ub(i.stateNode.containerInfo),Tn(i),null;case 10:return Bl(i.type),Tn(i),null;case 19:if(se(Wn),y=i.memoizedState,y===null)return Tn(i),null;if(p=(i.flags&128)!==0,M=y.rendering,M===null)if(p)Cu(y,!1);else{if(On!==0||o!==null&&o.flags&128)for(o=i.child;o!==null;){if(M=Lf(o),M!==null){for(i.flags|=128,Cu(y,!1),o=M.updateQueue,i.updateQueue=o,Xf(i,o),i.subtreeFlags=0,o=c,c=i.child;c!==null;)Iw(c,o),c=c.sibling;return ie(Wn,Wn.current&1|2),i.child}o=o.sibling}y.tail!==null&&ze()>Zf&&(i.flags|=128,p=!0,Cu(y,!1),i.lanes=4194304)}else{if(!p)if(o=Lf(M),o!==null){if(i.flags|=128,p=!0,o=o.updateQueue,i.updateQueue=o,Xf(i,o),Cu(y,!0),y.tail===null&&y.tailMode==="hidden"&&!M.alternate&&!Gt)return Tn(i),null}else 2*ze()-y.renderingStartTime>Zf&&c!==536870912&&(i.flags|=128,p=!0,Cu(y,!1),i.lanes=4194304);y.isBackwards?(M.sibling=i.child,i.child=M):(o=y.last,o!==null?o.sibling=M:i.child=M,y.last=M)}return y.tail!==null?(i=y.tail,y.rendering=i,y.tail=i.sibling,y.renderingStartTime=ze(),i.sibling=null,o=Wn.current,ie(Wn,p?o&1|2:o&1),i):(Tn(i),null);case 22:case 23:return Dl(i),Qm(),p=i.memoizedState!==null,o!==null?o.memoizedState!==null!==p&&(i.flags|=8192):p&&(i.flags|=8192),p?c&536870912&&!(i.flags&128)&&(Tn(i),i.subtreeFlags&6&&(i.flags|=8192)):Tn(i),c=i.updateQueue,c!==null&&Xf(i,c.retryQueue),c=null,o!==null&&o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool),p=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(p=i.memoizedState.cachePool.pool),p!==c&&(i.flags|=2048),o!==null&&se(ba),null;case 24:return c=null,o!==null&&(c=o.memoizedState.cache),i.memoizedState.cache!==c&&(i.flags|=2048),Bl(Yn),Tn(i),null;case 25:return null}throw Error(r(156,i.tag))}function xP(o,i){switch(qm(i),i.tag){case 1:return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return Bl(Yn),_e(),o=i.flags,o&65536&&!(o&128)?(i.flags=o&-65537|128,i):null;case 26:case 27:case 5:return Be(i),null;case 13:if(Dl(i),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(r(340));tu()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return se(Wn),null;case 4:return _e(),null;case 10:return Bl(i.type),null;case 22:case 23:return Dl(i),Qm(),o!==null&&se(ba),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 24:return Bl(Yn),null;case 25:return null;default:return null}}function Aw(o,i){switch(qm(i),i.tag){case 3:Bl(Yn),_e();break;case 26:case 27:case 5:Be(i);break;case 4:_e();break;case 13:Dl(i);break;case 19:se(Wn);break;case 10:Bl(i.type);break;case 22:case 23:Dl(i),Qm(),o!==null&&se(ba);break;case 24:Bl(Yn)}}var EP={getCacheForType:function(o){var i=pr(Yn),c=i.data.get(o);return c===void 0&&(c=o(),i.data.set(o,c)),c}},MP=typeof WeakMap=="function"?WeakMap:Map,kn=0,mn=null,Lt=null,Bt=0,gn=0,Vr=null,Gl=!1,Rs=!1,Wg=!1,Ul=0,On=0,Di=0,Ta=0,Yg=0,So=0,Is=0,wu=null,cl=null,qg=!1,Kg=0,Zf=1/0,Qf=null,$i=null,Jf=!1,ka=null,xu=0,Xg=0,Zg=null,Eu=0,Qg=null;function Wr(){if(kn&2&&Bt!==0)return Bt&-Bt;if(A.T!==null){var o=Ss;return o!==0?o:ib()}return is()}function Lw(){So===0&&(So=!(Bt&536870912)||Gt?ft():536870912);var o=go.current;return o!==null&&(o.flags|=32),So}function Er(o,i,c){(o===mn&&gn===2||o.cancelPendingCommit!==null)&&(Os(o,0),Vl(o,Bt,So,!1)),jr(o,c),(!(kn&2)||o!==mn)&&(o===mn&&(!(kn&2)&&(Ta|=c),On===4&&Vl(o,Bt,So,!1)),ul(o))}function Dw(o,i,c){if(kn&6)throw Error(r(327));var p=!c&&(i&60)===0&&(i&o.expiredLanes)===0||wr(o,i),y=p?RP(o,i):nb(o,i,!0),M=p;do{if(y===0){Rs&&!p&&Vl(o,i,0,!1);break}else if(y===6)Vl(o,i,0,!Gl);else{if(c=o.current.alternate,M&&!TP(c)){y=nb(o,i,!1),M=!1;continue}if(y===2){if(M=i,o.errorRecoveryDisabledLanes&M)var N=0;else N=o.pendingLanes&-536870913,N=N!==0?N:N&536870912?536870912:0;if(N!==0){i=N;e:{var K=o;y=wu;var J=K.current.memoizedState.isDehydrated;if(J&&(Os(K,N).flags|=256),N=nb(K,N,!1),N!==2){if(Wg&&!J){K.errorRecoveryDisabledLanes|=M,Ta|=M,y=4;break e}M=cl,cl=y,M!==null&&Jg(M)}y=N}if(M=!1,y!==2)continue}}if(y===1){Os(o,0),Vl(o,i,0,!0);break}e:{switch(p=o,y){case 0:case 1:throw Error(r(345));case 4:if((i&4194176)===i){Vl(p,i,So,!Gl);break e}break;case 2:cl=null;break;case 3:case 5:break;default:throw Error(r(329))}if(p.finishedWork=c,p.finishedLanes=i,(i&62914560)===i&&(M=Kg+300-ze(),10c?32:c,A.T=null,ka===null)var M=!1;else{c=Zg,Zg=null;var N=ka,K=xu;if(ka=null,xu=0,kn&6)throw Error(r(331));var J=kn;if(kn|=4,kw(N.current),Ew(N,N.current,K,c),kn=J,Mu(0,!1),Qe&&typeof Qe.onPostCommitFiberRoot=="function")try{Qe.onPostCommitFiberRoot(ut,N)}catch{}M=!0}return M}finally{Q.p=y,A.T=p,Gw(o,i)}}return!1}function Uw(o,i,c){i=po(c,i),i=Sg(o.stateNode,i,2),o=Ii(o,i,2),o!==null&&(jr(o,2),ul(o))}function cn(o,i,c){if(o.tag===3)Uw(o,o,c);else for(;i!==null;){if(i.tag===3){Uw(i,o,c);break}else if(i.tag===1){var p=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&($i===null||!$i.has(p))){o=po(c,o),c=YC(2),p=Ii(i,c,2),p!==null&&(qC(c,p,i,o),jr(p,2),ul(p));break}}i=i.return}}function rb(o,i,c){var p=o.pingCache;if(p===null){p=o.pingCache=new MP;var y=new Set;p.set(i,y)}else y=p.get(i),y===void 0&&(y=new Set,p.set(i,y));y.has(c)||(Wg=!0,y.add(c),o=PP.bind(null,o,i,c),i.then(o,o))}function PP(o,i,c){var p=o.pingCache;p!==null&&p.delete(i),o.pingedLanes|=o.suspendedLanes&c,o.warmLanes&=~c,mn===o&&(Bt&c)===c&&(On===4||On===3&&(Bt&62914560)===Bt&&300>ze()-Kg?!(kn&2)&&Os(o,0):Yg|=c,Is===Bt&&(Is=0)),ul(o)}function Vw(o,i){i===0&&(i=$n()),o=Ci(o,i),o!==null&&(jr(o,i),ul(o))}function AP(o){var i=o.memoizedState,c=0;i!==null&&(c=i.retryLane),Vw(o,c)}function LP(o,i){var c=0;switch(o.tag){case 13:var p=o.stateNode,y=o.memoizedState;y!==null&&(c=y.retryLane);break;case 19:p=o.stateNode;break;case 22:p=o.stateNode._retryCache;break;default:throw Error(r(314))}p!==null&&p.delete(i),Vw(o,c)}function DP(o,i){return ot(o,i)}var np=null,Ls=null,ob=!1,rp=!1,lb=!1,Ra=0;function ul(o){o!==Ls&&o.next===null&&(Ls===null?np=Ls=o:Ls=Ls.next=o),rp=!0,ob||(ob=!0,zP($P))}function Mu(o,i){if(!lb&&rp){lb=!0;do for(var c=!1,p=np;p!==null;){if(o!==0){var y=p.pendingLanes;if(y===0)var M=0;else{var N=p.suspendedLanes,K=p.pingedLanes;M=(1<<31-We(42|o)+1)-1,M&=y&~(N&~K),M=M&201326677?M&201326677|1:M?M|2:0}M!==0&&(c=!0,qw(p,M))}else M=Bt,M=hn(p,p===mn?M:0),!(M&3)||wr(p,M)||(c=!0,qw(p,M));p=p.next}while(c);lb=!1}}function $P(){rp=ob=!1;var o=0;Ra!==0&&(UP()&&(o=Ra),Ra=0);for(var i=ze(),c=null,p=np;p!==null;){var y=p.next,M=Ww(p,i);M===0?(p.next=null,c===null?np=y:c.next=y,y===null&&(Ls=c)):(c=p,(o!==0||M&3)&&(rp=!0)),p=y}Mu(o)}function Ww(o,i){for(var c=o.suspendedLanes,p=o.pingedLanes,y=o.expirationTimes,M=o.pendingLanes&-62914561;0"u"?null:document;function cx(o,i,c){var p=$s;if(p&&typeof i=="string"&&i){var y=uo(i);y='link[rel="'+o+'"][href="'+y+'"]',typeof c=="string"&&(y+='[crossorigin="'+c+'"]'),sx.has(y)||(sx.add(y),o={rel:o,crossOrigin:c,href:i},p.querySelector(y)===null&&(i=p.createElement("link"),cr(i,"link",o),Fn(i),p.head.appendChild(i)))}}function QP(o){Wl.D(o),cx("dns-prefetch",o,null)}function JP(o,i){Wl.C(o,i),cx("preconnect",o,i)}function eA(o,i,c){Wl.L(o,i,c);var p=$s;if(p&&o&&i){var y='link[rel="preload"][as="'+uo(i)+'"]';i==="image"&&c&&c.imageSrcSet?(y+='[imagesrcset="'+uo(c.imageSrcSet)+'"]',typeof c.imageSizes=="string"&&(y+='[imagesizes="'+uo(c.imageSizes)+'"]')):y+='[href="'+uo(o)+'"]';var M=y;switch(i){case"style":M=zs(o);break;case"script":M=Hs(o)}Co.has(M)||(o=T({rel:"preload",href:i==="image"&&c&&c.imageSrcSet?void 0:o,as:i},c),Co.set(M,o),p.querySelector(y)!==null||i==="style"&&p.querySelector(Ru(M))||i==="script"&&p.querySelector(Iu(M))||(i=p.createElement("link"),cr(i,"link",o),Fn(i),p.head.appendChild(i)))}}function tA(o,i){Wl.m(o,i);var c=$s;if(c&&o){var p=i&&typeof i.as=="string"?i.as:"script",y='link[rel="modulepreload"][as="'+uo(p)+'"][href="'+uo(o)+'"]',M=y;switch(p){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":M=Hs(o)}if(!Co.has(M)&&(o=T({rel:"modulepreload",href:o},i),Co.set(M,o),c.querySelector(y)===null)){switch(p){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c.querySelector(Iu(M)))return}p=c.createElement("link"),cr(p,"link",o),Fn(p),c.head.appendChild(p)}}}function nA(o,i,c){Wl.S(o,i,c);var p=$s;if(p&&o){var y=ol(p).hoistableStyles,M=zs(o);i=i||"default";var N=y.get(M);if(!N){var K={loading:0,preload:null};if(N=p.querySelector(Ru(M)))K.loading=5;else{o=T({rel:"stylesheet",href:o,"data-precedence":i},c),(c=Co.get(M))&&vb(o,c);var J=N=p.createElement("link");Fn(J),cr(J,"link",o),J._p=new Promise(function(re,Ee){J.onload=re,J.onerror=Ee}),J.addEventListener("load",function(){K.loading|=1}),J.addEventListener("error",function(){K.loading|=2}),K.loading|=4,cp(N,i,p)}N={type:"stylesheet",instance:N,count:1,state:K},y.set(M,N)}}}function rA(o,i){Wl.X(o,i);var c=$s;if(c&&o){var p=ol(c).hoistableScripts,y=Hs(o),M=p.get(y);M||(M=c.querySelector(Iu(y)),M||(o=T({src:o,async:!0},i),(i=Co.get(y))&&Sb(o,i),M=c.createElement("script"),Fn(M),cr(M,"link",o),c.head.appendChild(M)),M={type:"script",instance:M,count:1,state:null},p.set(y,M))}}function oA(o,i){Wl.M(o,i);var c=$s;if(c&&o){var p=ol(c).hoistableScripts,y=Hs(o),M=p.get(y);M||(M=c.querySelector(Iu(y)),M||(o=T({src:o,async:!0,type:"module"},i),(i=Co.get(y))&&Sb(o,i),M=c.createElement("script"),Fn(M),cr(M,"link",o),c.head.appendChild(M)),M={type:"script",instance:M,count:1,state:null},p.set(y,M))}}function ux(o,i,c,p){var y=(y=pe.current)?sp(y):null;if(!y)throw Error(r(446));switch(o){case"meta":case"title":return null;case"style":return typeof c.precedence=="string"&&typeof c.href=="string"?(i=zs(c.href),c=ol(y).hoistableStyles,p=c.get(i),p||(p={type:"style",instance:null,count:0,state:null},c.set(i,p)),p):{type:"void",instance:null,count:0,state:null};case"link":if(c.rel==="stylesheet"&&typeof c.href=="string"&&typeof c.precedence=="string"){o=zs(c.href);var M=ol(y).hoistableStyles,N=M.get(o);if(N||(y=y.ownerDocument||y,N={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},M.set(o,N),(M=y.querySelector(Ru(o)))&&!M._p&&(N.instance=M,N.state.loading=5),Co.has(o)||(c={rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},Co.set(o,c),M||lA(y,o,c,N.state))),i&&p===null)throw Error(r(528,""));return N}if(i&&p!==null)throw Error(r(529,""));return null;case"script":return i=c.async,c=c.src,typeof c=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Hs(c),c=ol(y).hoistableScripts,p=c.get(i),p||(p={type:"script",instance:null,count:0,state:null},c.set(i,p)),p):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,o))}}function zs(o){return'href="'+uo(o)+'"'}function Ru(o){return'link[rel="stylesheet"]['+o+"]"}function dx(o){return T({},o,{"data-precedence":o.precedence,precedence:null})}function lA(o,i,c,p){o.querySelector('link[rel="preload"][as="style"]['+i+"]")?p.loading=1:(i=o.createElement("link"),p.preload=i,i.addEventListener("load",function(){return p.loading|=1}),i.addEventListener("error",function(){return p.loading|=2}),cr(i,"link",c),Fn(i),o.head.appendChild(i))}function Hs(o){return'[src="'+uo(o)+'"]'}function Iu(o){return"script[async]"+o}function fx(o,i,c){if(i.count++,i.instance===null)switch(i.type){case"style":var p=o.querySelector('style[data-href~="'+uo(c.href)+'"]');if(p)return i.instance=p,Fn(p),p;var y=T({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});return p=(o.ownerDocument||o).createElement("style"),Fn(p),cr(p,"style",y),cp(p,c.precedence,o),i.instance=p;case"stylesheet":y=zs(c.href);var M=o.querySelector(Ru(y));if(M)return i.state.loading|=4,i.instance=M,Fn(M),M;p=dx(c),(y=Co.get(y))&&vb(p,y),M=(o.ownerDocument||o).createElement("link"),Fn(M);var N=M;return N._p=new Promise(function(K,J){N.onload=K,N.onerror=J}),cr(M,"link",p),i.state.loading|=4,cp(M,c.precedence,o),i.instance=M;case"script":return M=Hs(c.src),(y=o.querySelector(Iu(M)))?(i.instance=y,Fn(y),y):(p=c,(y=Co.get(M))&&(p=T({},c),Sb(p,y)),o=o.ownerDocument||o,y=o.createElement("script"),Fn(y),cr(y,"link",p),o.head.appendChild(y),i.instance=y);case"void":return null;default:throw Error(r(443,i.type))}else i.type==="stylesheet"&&!(i.state.loading&4)&&(p=i.instance,i.state.loading|=4,cp(p,c.precedence,o));return i.instance}function cp(o,i,c){for(var p=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),y=p.length?p[p.length-1]:null,M=y,N=0;N title"):null)}function iA(o,i,c){if(c===1||i.itemProp!=null)return!1;switch(o){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return o=i.disabled,typeof i.precedence=="string"&&o==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function mx(o){return!(o.type==="stylesheet"&&!(o.state.loading&3))}var Ou=null;function aA(){}function sA(o,i,c){if(Ou===null)throw Error(r(475));var p=Ou;if(i.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&!(i.state.loading&4)){if(i.instance===null){var y=zs(c.href),M=o.querySelector(Ru(y));if(M){o=M._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(p.count++,p=dp.bind(p),o.then(p,p)),i.state.loading|=4,i.instance=M,Fn(M);return}M=o.ownerDocument||o,c=dx(c),(y=Co.get(y))&&vb(c,y),M=M.createElement("link"),Fn(M);var N=M;N._p=new Promise(function(K,J){N.onload=K,N.onerror=J}),cr(M,"link",c),i.instance=M}p.stylesheets===null&&(p.stylesheets=new Map),p.stylesheets.set(i,o),(o=i.state.preload)&&!(i.state.loading&3)&&(p.count++,i=dp.bind(p),o.addEventListener("load",i),o.addEventListener("error",i))}}function cA(){if(Ou===null)throw Error(r(475));var o=Ou;return o.stylesheets&&o.count===0&&Cb(o,o.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Ob.exports=RA(),Ob.exports}var OA=IA(),Db={exports:{}},$b,Hx;function PA(){if(Hx)return $b;Hx=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return $b=e,$b}var zb,Bx;function AA(){if(Bx)return zb;Bx=1;var e=PA();function t(){}function n(){}return n.resetWarningCache=t,zb=function(){function r(s,u,d,f,h,g){if(g!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}r.isRequired=r;function l(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:l,element:r,elementType:r,instanceOf:l,node:r,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},zb}var Fx;function LA(){return Fx||(Fx=1,Db.exports=AA()()),Db.exports}var DA=LA();const le=Mc(DA);function ri(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}function me(e){if(typeof e!="string")throw new Error(ri(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Hb={exports:{}},an={};/** * @license React * react-is.production.js * @@ -54,20 +54,20 @@ Error generating stack: `+c.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Nx;function DA(){if(Nx)return an;Nx=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),S=Symbol.for("react.client.reference");function v(C){if(typeof C=="object"&&C!==null){var w=C.$$typeof;switch(w){case e:switch(C=C.type,C){case n:case l:case r:case d:case f:return C;default:switch(C=C&&C.$$typeof,C){case s:case u:case g:case h:return C;case a:return C;default:return w}}case t:return w}}}return an.ContextConsumer=a,an.ContextProvider=s,an.Element=e,an.ForwardRef=u,an.Fragment=n,an.Lazy=g,an.Memo=h,an.Portal=t,an.Profiler=l,an.StrictMode=r,an.Suspense=d,an.SuspenseList=f,an.isContextConsumer=function(C){return v(C)===a},an.isContextProvider=function(C){return v(C)===s},an.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===e},an.isForwardRef=function(C){return v(C)===u},an.isFragment=function(C){return v(C)===n},an.isLazy=function(C){return v(C)===g},an.isMemo=function(C){return v(C)===h},an.isPortal=function(C){return v(C)===t},an.isProfiler=function(C){return v(C)===l},an.isStrictMode=function(C){return v(C)===r},an.isSuspense=function(C){return v(C)===d},an.isSuspenseList=function(C){return v(C)===f},an.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===n||C===l||C===r||C===d||C===f||C===m||typeof C=="object"&&C!==null&&(C.$$typeof===g||C.$$typeof===h||C.$$typeof===s||C.$$typeof===a||C.$$typeof===u||C.$$typeof===S||C.getModuleId!==void 0)},an.typeOf=v,an}var jx;function $A(){return jx||(jx=1,Hb.exports=DA()),Hb.exports}var jT=$A();function yl(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function _T(e){if(b.isValidElement(e)||jT.isValidElementType(e)||!yl(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=_T(e[n])}),t}function Cr(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return yl(e)&&yl(t)&&Object.keys(t).forEach(l=>{b.isValidElement(t[l])||jT.isValidElementType(t[l])?r[l]=t[l]:yl(t[l])&&Object.prototype.hasOwnProperty.call(e,l)&&yl(e[l])?r[l]=Cr(e[l],t[l],n):n.clone?r[l]=yl(t[l])?_T(t[l]):t[l]:r[l]=t[l]}),r}function cd(e,t){return t?Cr(e,t,{clone:!1}):e}function zA(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,l)=>{var s,u;const a=/min-width:\s*([0-9.]+)/;return+(((s=r.match(a))==null?void 0:s[1])||0)-+(((u=l.match(a))==null?void 0:u[1])||0)});return n.length?n.reduce((r,l)=>{const a=t[l];return delete r[l],r[l]=a,r},{...t}):t}function HA(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function BA(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,l]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(l).up(a)}function FA(e){const t=(a,s)=>a.replace("@media",s?`@container ${s}`:"@container");function n(a,s){a.up=(...u)=>t(e.breakpoints.up(...u),s),a.down=(...u)=>t(e.breakpoints.down(...u),s),a.between=(...u)=>t(e.breakpoints.between(...u),s),a.only=(...u)=>t(e.breakpoints.only(...u),s),a.not=(...u)=>{const d=t(e.breakpoints.not(...u),s);return d.includes("not all and")?d.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):d}}const r={},l=a=>(n(r,a),r);return n(l),{...e,containerQueries:l}}const Lh={xs:0,sm:600,md:900,lg:1200,xl:1536},_x={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Lh[e]}px)`},NA={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Lh[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function oi(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||_x;return t.reduce((s,u,d)=>(s[a.up(a.keys[d])]=n(t[d]),s),{})}if(typeof t=="object"){const a=r.breakpoints||_x;return Object.keys(t).reduce((s,u)=>{if(HA(a.keys,u)){const d=BA(r.containerQueries?r:NA,u);d&&(s[d]=n(t[u],u))}else if(Object.keys(a.values||Lh).includes(u)){const d=a.up(u);s[d]=n(t[u],u)}else{const d=u;s[d]=t[d]}return s},{})}return n(t)}function jA(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,l)=>{const a=e.up(l);return r[a]={},r},{}))||{}}function _A(e,t){return e.reduce((n,r)=>{const l=n[r];return(!l||Object.keys(l).length===0)&&delete n[r],n},t)}function Ki(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((l,a)=>l&&l[a]?l[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,l)=>r&&r[l]!=null?r[l]:null,e)}function rh(e,t,n,r=n){let l;return typeof e=="function"?l=e(n):Array.isArray(e)?l=e[n]||r:l=Ki(e,n)||r,t&&(l=t(l,r,e)),l}function Bn(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:l}=e,a=s=>{if(s[t]==null)return null;const u=s[t],d=s.theme,f=Ki(d,r)||{};return oi(s,u,g=>{let m=rh(f,l,g);return g===m&&typeof g=="string"&&(m=rh(f,l,`${t}${g==="default"?"":me(g)}`,g)),n===!1?m:{[n]:m}})};return a.propTypes={},a.filterProps=[t],a}function GA(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const UA={m:"margin",p:"padding"},VA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Gx={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},WA=GA(e=>{if(e.length>2)if(Gx[e])e=Gx[e];else return[e];const[t,n]=e.split(""),r=UA[t],l=VA[n]||"";return Array.isArray(l)?l.map(a=>r+a):[r+l]}),$v=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],zv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...$v,...zv];function Fd(e,t,n,r){const l=Ki(e,t,!0)??n;return typeof l=="number"||typeof l=="string"?a=>typeof a=="string"?a:typeof l=="string"?`calc(${a} * ${l})`:l*a:Array.isArray(l)?a=>{if(typeof a=="string")return a;const s=Math.abs(a),u=l[s];return a>=0?u:typeof u=="number"?-u:`-${u}`}:typeof l=="function"?l:()=>{}}function Hv(e){return Fd(e,"spacing",8)}function Nd(e,t){return typeof t=="string"||t==null?t:e(t)}function YA(e,t){return n=>e.reduce((r,l)=>(r[l]=Nd(t,n),r),{})}function qA(e,t,n,r){if(!t.includes(n))return null;const l=WA(n),a=YA(l,r),s=e[n];return oi(e,s,a)}function GT(e,t){const n=Hv(e.theme);return Object.keys(e).map(r=>qA(e,t,r,n)).reduce(cd,{})}function An(e){return GT(e,$v)}An.propTypes={};An.filterProps=$v;function Ln(e){return GT(e,zv)}Ln.propTypes={};Ln.filterProps=zv;function Dh(...e){const t=e.reduce((r,l)=>(l.filterProps.forEach(a=>{r[a]=l}),r),{}),n=r=>Object.keys(r).reduce((l,a)=>t[a]?cd(l,t[a](r)):l,{});return n.propTypes={},n.filterProps=e.reduce((r,l)=>r.concat(l.filterProps),[]),n}function To(e){return typeof e!="number"?e:`${e}px solid`}function Fo(e,t){return Bn({prop:e,themeKey:"borders",transform:t})}const KA=Fo("border",To),XA=Fo("borderTop",To),ZA=Fo("borderRight",To),QA=Fo("borderBottom",To),JA=Fo("borderLeft",To),eL=Fo("borderColor"),tL=Fo("borderTopColor"),nL=Fo("borderRightColor"),rL=Fo("borderBottomColor"),oL=Fo("borderLeftColor"),lL=Fo("outline",To),iL=Fo("outlineColor"),$h=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Fd(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Nd(t,r)});return oi(e,e.borderRadius,n)}return null};$h.propTypes={};$h.filterProps=["borderRadius"];Dh(KA,XA,ZA,QA,JA,eL,tL,nL,rL,oL,$h,lL,iL);const zh=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Fd(e.theme,"spacing",8),n=r=>({gap:Nd(t,r)});return oi(e,e.gap,n)}return null};zh.propTypes={};zh.filterProps=["gap"];const Hh=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Fd(e.theme,"spacing",8),n=r=>({columnGap:Nd(t,r)});return oi(e,e.columnGap,n)}return null};Hh.propTypes={};Hh.filterProps=["columnGap"];const Bh=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Fd(e.theme,"spacing",8),n=r=>({rowGap:Nd(t,r)});return oi(e,e.rowGap,n)}return null};Bh.propTypes={};Bh.filterProps=["rowGap"];const aL=Bn({prop:"gridColumn"}),sL=Bn({prop:"gridRow"}),cL=Bn({prop:"gridAutoFlow"}),uL=Bn({prop:"gridAutoColumns"}),dL=Bn({prop:"gridAutoRows"}),fL=Bn({prop:"gridTemplateColumns"}),pL=Bn({prop:"gridTemplateRows"}),hL=Bn({prop:"gridTemplateAreas"}),mL=Bn({prop:"gridArea"});Dh(zh,Hh,Bh,aL,sL,cL,uL,dL,fL,pL,hL,mL);function oc(e,t){return t==="grey"?t:e}const gL=Bn({prop:"color",themeKey:"palette",transform:oc}),bL=Bn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:oc}),yL=Bn({prop:"backgroundColor",themeKey:"palette",transform:oc});Dh(gL,bL,yL);function qr(e){return e<=1&&e!==0?`${e*100}%`:e}const vL=Bn({prop:"width",transform:qr}),Bv=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var l,a,s,u,d;const r=((s=(a=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:a.values)==null?void 0:s[n])||Lh[n];return r?((d=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:d.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:qr(n)}};return oi(e,e.maxWidth,t)}return null};Bv.filterProps=["maxWidth"];const SL=Bn({prop:"minWidth",transform:qr}),CL=Bn({prop:"height",transform:qr}),wL=Bn({prop:"maxHeight",transform:qr}),xL=Bn({prop:"minHeight",transform:qr});Bn({prop:"size",cssProperty:"width",transform:qr});Bn({prop:"size",cssProperty:"height",transform:qr});const EL=Bn({prop:"boxSizing"});Dh(vL,Bv,SL,CL,wL,xL,EL);const jd={border:{themeKey:"borders",transform:To},borderTop:{themeKey:"borders",transform:To},borderRight:{themeKey:"borders",transform:To},borderBottom:{themeKey:"borders",transform:To},borderLeft:{themeKey:"borders",transform:To},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:To},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:$h},color:{themeKey:"palette",transform:oc},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:oc},backgroundColor:{themeKey:"palette",transform:oc},p:{style:Ln},pt:{style:Ln},pr:{style:Ln},pb:{style:Ln},pl:{style:Ln},px:{style:Ln},py:{style:Ln},padding:{style:Ln},paddingTop:{style:Ln},paddingRight:{style:Ln},paddingBottom:{style:Ln},paddingLeft:{style:Ln},paddingX:{style:Ln},paddingY:{style:Ln},paddingInline:{style:Ln},paddingInlineStart:{style:Ln},paddingInlineEnd:{style:Ln},paddingBlock:{style:Ln},paddingBlockStart:{style:Ln},paddingBlockEnd:{style:Ln},m:{style:An},mt:{style:An},mr:{style:An},mb:{style:An},ml:{style:An},mx:{style:An},my:{style:An},margin:{style:An},marginTop:{style:An},marginRight:{style:An},marginBottom:{style:An},marginLeft:{style:An},marginX:{style:An},marginY:{style:An},marginInline:{style:An},marginInlineStart:{style:An},marginInlineEnd:{style:An},marginBlock:{style:An},marginBlockStart:{style:An},marginBlockEnd:{style:An},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:zh},rowGap:{style:Bh},columnGap:{style:Hh},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:qr},maxWidth:{style:Bv},minWidth:{transform:qr},height:{transform:qr},maxHeight:{transform:qr},minHeight:{transform:qr},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 ML(...e){const t=e.reduce((r,l)=>r.concat(Object.keys(l)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function TL(e,t){return typeof e=="function"?e(t):e}function kL(){function e(n,r,l,a){const s={[n]:r,theme:l},u=a[n];if(!u)return{[n]:r};const{cssProperty:d=n,themeKey:f,transform:h,style:g}=u;if(r==null)return null;if(f==="typography"&&r==="inherit")return{[n]:r};const m=Ki(l,f)||{};return g?g(s):oi(s,r,v=>{let C=rh(m,h,v);return v===C&&typeof v=="string"&&(C=rh(m,h,`${n}${v==="default"?"":me(v)}`,v)),d===!1?C:{[d]:C}})}function t(n){const{sx:r,theme:l={}}=n||{};if(!r)return null;const a=l.unstable_sxConfig??jd;function s(u){let d=u;if(typeof u=="function")d=u(l);else if(typeof u!="object")return u;if(!d)return null;const f=jA(l.breakpoints),h=Object.keys(f);let g=f;return Object.keys(d).forEach(m=>{const S=TL(d[m],l);if(S!=null)if(typeof S=="object")if(a[m])g=cd(g,e(m,S,l,a));else{const v=oi({theme:l},S,C=>({[m]:C}));ML(v,S)?g[m]=t({sx:S,theme:l}):g=cd(g,v)}else g=cd(g,e(m,S,l,a))}),zA(l,_A(h,g))}return Array.isArray(r)?r.map(s):s(r)}return t}const ta=kL();ta.filterProps=["sx"];const RL=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??jd;return Object.keys(e).forEach(l=>{n[l]?t.systemProps[l]=e[l]:t.otherProps[l]=e[l]}),t};function Fv(e){const{sx:t,...n}=e,{systemProps:r,otherProps:l}=RL(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...s)=>{const u=t(...s);return yl(u)?{...r,...u}:r}:a={...r,...t},{...l,sx:a}}function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?ur(Tc,--Fr):0,uc--,Vn===10&&(uc=1,Nh--),Vn}function eo(){return Vn=Fr2||Sd(Vn)>3?"":" "}function _L(e,t){for(;--t&&eo()&&!(Vn<48||Vn>102||Vn>57&&Vn<65||Vn>70&&Vn<97););return _d(e,$p()+(t<6&&vl()==32&&eo()==32))}function Py(e){for(;eo();)switch(Vn){case e:return Fr;case 34:case 39:e!==34&&e!==39&&Py(Vn);break;case 40:e===41&&Py(e);break;case 92:eo();break}return Fr}function GL(e,t){for(;eo()&&e+Vn!==57;)if(e+Vn===84&&vl()===47)break;return"/*"+_d(t,Fr-1)+"*"+Fh(e===47?e:eo())}function UL(e){for(;!Sd(vl());)eo();return _d(e,Fr)}function VL(e){return KT(Hp("",null,null,null,[""],e=qT(e),0,[0],e))}function Hp(e,t,n,r,l,a,s,u,d){for(var f=0,h=0,g=s,m=0,S=0,v=0,C=1,w=1,E=1,R=0,I="",O=l,k=a,L=r,j=I;w;)switch(v=R,R=eo()){case 40:if(v!=108&&ur(j,g-1)==58){Oy(j+=Kt(zp(R),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:j+=zp(R);break;case 9:case 10:case 13:case 32:j+=jL(v);break;case 92:j+=_L($p()-1,7);continue;case 47:switch(vl()){case 42:case 47:Sp(WL(GL(eo(),$p()),t,n),d);break;default:j+="/"}break;case 123*C:u[f++]=ml(j)*E;case 125*C:case 59:case 0:switch(R){case 0:case 125:w=0;case 59+h:E==-1&&(j=Kt(j,/\f/g,"")),S>0&&ml(j)-g&&Sp(S>32?Vx(j+";",r,n,g-1):Vx(Kt(j," ","")+";",r,n,g-2),d);break;case 59:j+=";";default:if(Sp(L=Ux(j,t,n,f,h,l,u,I,O=[],k=[],g),a),R===123)if(h===0)Hp(j,t,L,L,O,a,g,u,k);else switch(m===99&&ur(j,3)===110?100:m){case 100:case 108:case 109:case 115:Hp(e,L,L,r&&Sp(Ux(e,L,L,0,0,l,u,I,l,O=[],g),k),l,k,g,u,r?O:k);break;default:Hp(j,L,L,L,[""],k,0,u,k)}}f=h=S=0,C=E=1,I=j="",g=s;break;case 58:g=1+ml(j),S=v;default:if(C<1){if(R==123)--C;else if(R==125&&C++==0&&NL()==125)continue}switch(j+=Fh(R),R*C){case 38:E=h>0?1:(j+="\f",-1);break;case 44:u[f++]=(ml(j)-1)*E,E=1;break;case 64:vl()===45&&(j+=zp(eo())),m=vl(),h=g=ml(I=j+=UL($p())),R++;break;case 45:v===45&&ml(j)==2&&(C=0)}}return a}function Ux(e,t,n,r,l,a,s,u,d,f,h){for(var g=l-1,m=l===0?a:[""],S=_v(m),v=0,C=0,w=0;v0?m[E]+" "+R:Kt(R,/&\f/g,m[E])))&&(d[w++]=I);return jh(e,t,n,l===0?Nv:u,d,f,h)}function WL(e,t,n){return jh(e,t,n,UT,Fh(FL()),vd(e,2,-2),0)}function Vx(e,t,n,r){return jh(e,t,n,jv,vd(e,0,r),vd(e,r+1,-1),r)}function lc(e,t){for(var n="",r=_v(e),l=0;l6)switch(ur(e,t+1)){case 109:if(ur(e,t+4)!==45)break;case 102:return Kt(e,/(.+:)(.+)-([^]+)/,"$1"+Yt+"$2-$3$1"+oh+(ur(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Oy(e,"stretch")?ZT(Kt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ur(e,t+1)!==115)break;case 6444:switch(ur(e,ml(e)-3-(~Oy(e,"!important")&&10))){case 107:return Kt(e,":",":"+Yt)+e;case 101:return Kt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Yt+(ur(e,14)===45?"inline-":"")+"box$3$1"+Yt+"$2$3$1"+mr+"$2box$3")+e}break;case 5936:switch(ur(e,t+11)){case 114:return Yt+e+mr+Kt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Yt+e+mr+Kt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Yt+e+mr+Kt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Yt+e+mr+e+e}return e}var tD=function(t,n,r,l){if(t.length>-1&&!t.return)switch(t.type){case jv:t.return=ZT(t.value,t.length);break;case VT:return lc([Fu(t,{value:Kt(t.value,"@","@"+Yt)})],l);case Nv:if(t.length)return BL(t.props,function(a){switch(HL(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return lc([Fu(t,{props:[Kt(a,/:(read-\w+)/,":"+oh+"$1")]})],l);case"::placeholder":return lc([Fu(t,{props:[Kt(a,/:(plac\w+)/,":"+Yt+"input-$1")]}),Fu(t,{props:[Kt(a,/:(plac\w+)/,":"+oh+"$1")]}),Fu(t,{props:[Kt(a,/:(plac\w+)/,mr+"input-$1")]})],l)}return""})}},nD=[tD],rD=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(C){var w=C.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(C),C.setAttribute("data-s",""))})}var l=t.stylisPlugins||nD,a={},s,u=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(C){for(var w=C.getAttribute("data-emotion").split(" "),E=1;E{t[n]=GT(e[n])}),t}function Cr(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return yl(e)&&yl(t)&&Object.keys(t).forEach(l=>{b.isValidElement(t[l])||_T.isValidElementType(t[l])?r[l]=t[l]:yl(t[l])&&Object.prototype.hasOwnProperty.call(e,l)&&yl(e[l])?r[l]=Cr(e[l],t[l],n):n.clone?r[l]=yl(t[l])?GT(t[l]):t[l]:r[l]=t[l]}),r}function cd(e,t){return t?Cr(e,t,{clone:!1}):e}function HA(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,l)=>{var s,u;const a=/min-width:\s*([0-9.]+)/;return+(((s=r.match(a))==null?void 0:s[1])||0)-+(((u=l.match(a))==null?void 0:u[1])||0)});return n.length?n.reduce((r,l)=>{const a=t[l];return delete r[l],r[l]=a,r},{...t}):t}function BA(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function FA(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,l]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(l).up(a)}function NA(e){const t=(a,s)=>a.replace("@media",s?`@container ${s}`:"@container");function n(a,s){a.up=(...u)=>t(e.breakpoints.up(...u),s),a.down=(...u)=>t(e.breakpoints.down(...u),s),a.between=(...u)=>t(e.breakpoints.between(...u),s),a.only=(...u)=>t(e.breakpoints.only(...u),s),a.not=(...u)=>{const d=t(e.breakpoints.not(...u),s);return d.includes("not all and")?d.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):d}}const r={},l=a=>(n(r,a),r);return n(l),{...e,containerQueries:l}}const Lh={xs:0,sm:600,md:900,lg:1200,xl:1536},_x={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Lh[e]}px)`},jA={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Lh[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function oi(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||_x;return t.reduce((s,u,d)=>(s[a.up(a.keys[d])]=n(t[d]),s),{})}if(typeof t=="object"){const a=r.breakpoints||_x;return Object.keys(t).reduce((s,u)=>{if(BA(a.keys,u)){const d=FA(r.containerQueries?r:jA,u);d&&(s[d]=n(t[u],u))}else if(Object.keys(a.values||Lh).includes(u)){const d=a.up(u);s[d]=n(t[u],u)}else{const d=u;s[d]=t[d]}return s},{})}return n(t)}function _A(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,l)=>{const a=e.up(l);return r[a]={},r},{}))||{}}function GA(e,t){return e.reduce((n,r)=>{const l=n[r];return(!l||Object.keys(l).length===0)&&delete n[r],n},t)}function Ki(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((l,a)=>l&&l[a]?l[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,l)=>r&&r[l]!=null?r[l]:null,e)}function rh(e,t,n,r=n){let l;return typeof e=="function"?l=e(n):Array.isArray(e)?l=e[n]||r:l=Ki(e,n)||r,t&&(l=t(l,r,e)),l}function Bn(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:l}=e,a=s=>{if(s[t]==null)return null;const u=s[t],d=s.theme,f=Ki(d,r)||{};return oi(s,u,g=>{let m=rh(f,l,g);return g===m&&typeof g=="string"&&(m=rh(f,l,`${t}${g==="default"?"":me(g)}`,g)),n===!1?m:{[n]:m}})};return a.propTypes={},a.filterProps=[t],a}function UA(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const VA={m:"margin",p:"padding"},WA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Gx={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},YA=UA(e=>{if(e.length>2)if(Gx[e])e=Gx[e];else return[e];const[t,n]=e.split(""),r=VA[t],l=WA[n]||"";return Array.isArray(l)?l.map(a=>r+a):[r+l]}),$v=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],zv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...$v,...zv];function Fd(e,t,n,r){const l=Ki(e,t,!0)??n;return typeof l=="number"||typeof l=="string"?a=>typeof a=="string"?a:typeof l=="string"?`calc(${a} * ${l})`:l*a:Array.isArray(l)?a=>{if(typeof a=="string")return a;const s=Math.abs(a),u=l[s];return a>=0?u:typeof u=="number"?-u:`-${u}`}:typeof l=="function"?l:()=>{}}function Hv(e){return Fd(e,"spacing",8)}function Nd(e,t){return typeof t=="string"||t==null?t:e(t)}function qA(e,t){return n=>e.reduce((r,l)=>(r[l]=Nd(t,n),r),{})}function KA(e,t,n,r){if(!t.includes(n))return null;const l=YA(n),a=qA(l,r),s=e[n];return oi(e,s,a)}function UT(e,t){const n=Hv(e.theme);return Object.keys(e).map(r=>KA(e,t,r,n)).reduce(cd,{})}function An(e){return UT(e,$v)}An.propTypes={};An.filterProps=$v;function Ln(e){return UT(e,zv)}Ln.propTypes={};Ln.filterProps=zv;function Dh(...e){const t=e.reduce((r,l)=>(l.filterProps.forEach(a=>{r[a]=l}),r),{}),n=r=>Object.keys(r).reduce((l,a)=>t[a]?cd(l,t[a](r)):l,{});return n.propTypes={},n.filterProps=e.reduce((r,l)=>r.concat(l.filterProps),[]),n}function To(e){return typeof e!="number"?e:`${e}px solid`}function Fo(e,t){return Bn({prop:e,themeKey:"borders",transform:t})}const XA=Fo("border",To),ZA=Fo("borderTop",To),QA=Fo("borderRight",To),JA=Fo("borderBottom",To),eL=Fo("borderLeft",To),tL=Fo("borderColor"),nL=Fo("borderTopColor"),rL=Fo("borderRightColor"),oL=Fo("borderBottomColor"),lL=Fo("borderLeftColor"),iL=Fo("outline",To),aL=Fo("outlineColor"),$h=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Fd(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Nd(t,r)});return oi(e,e.borderRadius,n)}return null};$h.propTypes={};$h.filterProps=["borderRadius"];Dh(XA,ZA,QA,JA,eL,tL,nL,rL,oL,lL,$h,iL,aL);const zh=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Fd(e.theme,"spacing",8),n=r=>({gap:Nd(t,r)});return oi(e,e.gap,n)}return null};zh.propTypes={};zh.filterProps=["gap"];const Hh=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Fd(e.theme,"spacing",8),n=r=>({columnGap:Nd(t,r)});return oi(e,e.columnGap,n)}return null};Hh.propTypes={};Hh.filterProps=["columnGap"];const Bh=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Fd(e.theme,"spacing",8),n=r=>({rowGap:Nd(t,r)});return oi(e,e.rowGap,n)}return null};Bh.propTypes={};Bh.filterProps=["rowGap"];const sL=Bn({prop:"gridColumn"}),cL=Bn({prop:"gridRow"}),uL=Bn({prop:"gridAutoFlow"}),dL=Bn({prop:"gridAutoColumns"}),fL=Bn({prop:"gridAutoRows"}),pL=Bn({prop:"gridTemplateColumns"}),hL=Bn({prop:"gridTemplateRows"}),mL=Bn({prop:"gridTemplateAreas"}),gL=Bn({prop:"gridArea"});Dh(zh,Hh,Bh,sL,cL,uL,dL,fL,pL,hL,mL,gL);function oc(e,t){return t==="grey"?t:e}const bL=Bn({prop:"color",themeKey:"palette",transform:oc}),yL=Bn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:oc}),vL=Bn({prop:"backgroundColor",themeKey:"palette",transform:oc});Dh(bL,yL,vL);function qr(e){return e<=1&&e!==0?`${e*100}%`:e}const SL=Bn({prop:"width",transform:qr}),Bv=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var l,a,s,u,d;const r=((s=(a=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:a.values)==null?void 0:s[n])||Lh[n];return r?((d=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:d.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:qr(n)}};return oi(e,e.maxWidth,t)}return null};Bv.filterProps=["maxWidth"];const CL=Bn({prop:"minWidth",transform:qr}),wL=Bn({prop:"height",transform:qr}),xL=Bn({prop:"maxHeight",transform:qr}),EL=Bn({prop:"minHeight",transform:qr});Bn({prop:"size",cssProperty:"width",transform:qr});Bn({prop:"size",cssProperty:"height",transform:qr});const ML=Bn({prop:"boxSizing"});Dh(SL,Bv,CL,wL,xL,EL,ML);const jd={border:{themeKey:"borders",transform:To},borderTop:{themeKey:"borders",transform:To},borderRight:{themeKey:"borders",transform:To},borderBottom:{themeKey:"borders",transform:To},borderLeft:{themeKey:"borders",transform:To},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:To},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:$h},color:{themeKey:"palette",transform:oc},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:oc},backgroundColor:{themeKey:"palette",transform:oc},p:{style:Ln},pt:{style:Ln},pr:{style:Ln},pb:{style:Ln},pl:{style:Ln},px:{style:Ln},py:{style:Ln},padding:{style:Ln},paddingTop:{style:Ln},paddingRight:{style:Ln},paddingBottom:{style:Ln},paddingLeft:{style:Ln},paddingX:{style:Ln},paddingY:{style:Ln},paddingInline:{style:Ln},paddingInlineStart:{style:Ln},paddingInlineEnd:{style:Ln},paddingBlock:{style:Ln},paddingBlockStart:{style:Ln},paddingBlockEnd:{style:Ln},m:{style:An},mt:{style:An},mr:{style:An},mb:{style:An},ml:{style:An},mx:{style:An},my:{style:An},margin:{style:An},marginTop:{style:An},marginRight:{style:An},marginBottom:{style:An},marginLeft:{style:An},marginX:{style:An},marginY:{style:An},marginInline:{style:An},marginInlineStart:{style:An},marginInlineEnd:{style:An},marginBlock:{style:An},marginBlockStart:{style:An},marginBlockEnd:{style:An},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:zh},rowGap:{style:Bh},columnGap:{style:Hh},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:qr},maxWidth:{style:Bv},minWidth:{transform:qr},height:{transform:qr},maxHeight:{transform:qr},minHeight:{transform:qr},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 TL(...e){const t=e.reduce((r,l)=>r.concat(Object.keys(l)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function kL(e,t){return typeof e=="function"?e(t):e}function RL(){function e(n,r,l,a){const s={[n]:r,theme:l},u=a[n];if(!u)return{[n]:r};const{cssProperty:d=n,themeKey:f,transform:h,style:g}=u;if(r==null)return null;if(f==="typography"&&r==="inherit")return{[n]:r};const m=Ki(l,f)||{};return g?g(s):oi(s,r,v=>{let C=rh(m,h,v);return v===C&&typeof v=="string"&&(C=rh(m,h,`${n}${v==="default"?"":me(v)}`,v)),d===!1?C:{[d]:C}})}function t(n){const{sx:r,theme:l={}}=n||{};if(!r)return null;const a=l.unstable_sxConfig??jd;function s(u){let d=u;if(typeof u=="function")d=u(l);else if(typeof u!="object")return u;if(!d)return null;const f=_A(l.breakpoints),h=Object.keys(f);let g=f;return Object.keys(d).forEach(m=>{const S=kL(d[m],l);if(S!=null)if(typeof S=="object")if(a[m])g=cd(g,e(m,S,l,a));else{const v=oi({theme:l},S,C=>({[m]:C}));TL(v,S)?g[m]=t({sx:S,theme:l}):g=cd(g,v)}else g=cd(g,e(m,S,l,a))}),HA(l,GA(h,g))}return Array.isArray(r)?r.map(s):s(r)}return t}const ta=RL();ta.filterProps=["sx"];const IL=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??jd;return Object.keys(e).forEach(l=>{n[l]?t.systemProps[l]=e[l]:t.otherProps[l]=e[l]}),t};function Fv(e){const{sx:t,...n}=e,{systemProps:r,otherProps:l}=IL(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...s)=>{const u=t(...s);return yl(u)?{...r,...u}:r}:a={...r,...t},{...l,sx:a}}function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?ur(Tc,--Fr):0,uc--,Vn===10&&(uc=1,Nh--),Vn}function eo(){return Vn=Fr2||Sd(Vn)>3?"":" "}function GL(e,t){for(;--t&&eo()&&!(Vn<48||Vn>102||Vn>57&&Vn<65||Vn>70&&Vn<97););return _d(e,$p()+(t<6&&vl()==32&&eo()==32))}function Py(e){for(;eo();)switch(Vn){case e:return Fr;case 34:case 39:e!==34&&e!==39&&Py(Vn);break;case 40:e===41&&Py(e);break;case 92:eo();break}return Fr}function UL(e,t){for(;eo()&&e+Vn!==57;)if(e+Vn===84&&vl()===47)break;return"/*"+_d(t,Fr-1)+"*"+Fh(e===47?e:eo())}function VL(e){for(;!Sd(vl());)eo();return _d(e,Fr)}function WL(e){return XT(Hp("",null,null,null,[""],e=KT(e),0,[0],e))}function Hp(e,t,n,r,l,a,s,u,d){for(var f=0,h=0,g=s,m=0,S=0,v=0,C=1,w=1,E=1,R=0,I="",O=l,k=a,L=r,j=I;w;)switch(v=R,R=eo()){case 40:if(v!=108&&ur(j,g-1)==58){Oy(j+=Kt(zp(R),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:j+=zp(R);break;case 9:case 10:case 13:case 32:j+=_L(v);break;case 92:j+=GL($p()-1,7);continue;case 47:switch(vl()){case 42:case 47:Sp(YL(UL(eo(),$p()),t,n),d);break;default:j+="/"}break;case 123*C:u[f++]=ml(j)*E;case 125*C:case 59:case 0:switch(R){case 0:case 125:w=0;case 59+h:E==-1&&(j=Kt(j,/\f/g,"")),S>0&&ml(j)-g&&Sp(S>32?Vx(j+";",r,n,g-1):Vx(Kt(j," ","")+";",r,n,g-2),d);break;case 59:j+=";";default:if(Sp(L=Ux(j,t,n,f,h,l,u,I,O=[],k=[],g),a),R===123)if(h===0)Hp(j,t,L,L,O,a,g,u,k);else switch(m===99&&ur(j,3)===110?100:m){case 100:case 108:case 109:case 115:Hp(e,L,L,r&&Sp(Ux(e,L,L,0,0,l,u,I,l,O=[],g),k),l,k,g,u,r?O:k);break;default:Hp(j,L,L,L,[""],k,0,u,k)}}f=h=S=0,C=E=1,I=j="",g=s;break;case 58:g=1+ml(j),S=v;default:if(C<1){if(R==123)--C;else if(R==125&&C++==0&&jL()==125)continue}switch(j+=Fh(R),R*C){case 38:E=h>0?1:(j+="\f",-1);break;case 44:u[f++]=(ml(j)-1)*E,E=1;break;case 64:vl()===45&&(j+=zp(eo())),m=vl(),h=g=ml(I=j+=VL($p())),R++;break;case 45:v===45&&ml(j)==2&&(C=0)}}return a}function Ux(e,t,n,r,l,a,s,u,d,f,h){for(var g=l-1,m=l===0?a:[""],S=_v(m),v=0,C=0,w=0;v0?m[E]+" "+R:Kt(R,/&\f/g,m[E])))&&(d[w++]=I);return jh(e,t,n,l===0?Nv:u,d,f,h)}function YL(e,t,n){return jh(e,t,n,VT,Fh(NL()),vd(e,2,-2),0)}function Vx(e,t,n,r){return jh(e,t,n,jv,vd(e,0,r),vd(e,r+1,-1),r)}function lc(e,t){for(var n="",r=_v(e),l=0;l6)switch(ur(e,t+1)){case 109:if(ur(e,t+4)!==45)break;case 102:return Kt(e,/(.+:)(.+)-([^]+)/,"$1"+Yt+"$2-$3$1"+oh+(ur(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Oy(e,"stretch")?QT(Kt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ur(e,t+1)!==115)break;case 6444:switch(ur(e,ml(e)-3-(~Oy(e,"!important")&&10))){case 107:return Kt(e,":",":"+Yt)+e;case 101:return Kt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Yt+(ur(e,14)===45?"inline-":"")+"box$3$1"+Yt+"$2$3$1"+mr+"$2box$3")+e}break;case 5936:switch(ur(e,t+11)){case 114:return Yt+e+mr+Kt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Yt+e+mr+Kt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Yt+e+mr+Kt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Yt+e+mr+e+e}return e}var nD=function(t,n,r,l){if(t.length>-1&&!t.return)switch(t.type){case jv:t.return=QT(t.value,t.length);break;case WT:return lc([Fu(t,{value:Kt(t.value,"@","@"+Yt)})],l);case Nv:if(t.length)return FL(t.props,function(a){switch(BL(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return lc([Fu(t,{props:[Kt(a,/:(read-\w+)/,":"+oh+"$1")]})],l);case"::placeholder":return lc([Fu(t,{props:[Kt(a,/:(plac\w+)/,":"+Yt+"input-$1")]}),Fu(t,{props:[Kt(a,/:(plac\w+)/,":"+oh+"$1")]}),Fu(t,{props:[Kt(a,/:(plac\w+)/,mr+"input-$1")]})],l)}return""})}},rD=[nD],oD=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(C){var w=C.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(C),C.setAttribute("data-s",""))})}var l=t.stylisPlugins||rD,a={},s,u=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(C){for(var w=C.getAttribute("data-emotion").split(" "),E=1;E=4;++r,l-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(l){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var cD={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},uD=/[A-Z]|^ms/g,dD=/_EMO_([^_]+?)_([^]*?)_EMO_/g,JT=function(t){return t.charCodeAt(1)===45},Xx=function(t){return t!=null&&typeof t!="boolean"},Nb=XT(function(e){return JT(e)?e:e.replace(uD,"-$&").toLowerCase()}),Zx=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(dD,function(r,l,a){return gl={name:l,styles:a,next:gl},l})}return cD[t]!==1&&!JT(t)&&typeof n=="number"&&n!==0?n+"px":n};function Cd(e,t,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 l=n;if(l.anim===1)return gl={name:l.name,styles:l.styles,next:gl},l.name;var a=n;if(a.styles!==void 0){var s=a.next;if(s!==void 0)for(;s!==void 0;)gl={name:s.name,styles:s.styles,next:gl},s=s.next;var u=a.styles+";";return u}return fD(e,t,n)}case"function":{if(e!==void 0){var d=gl,f=n(e);return gl=d,Cd(e,t,f)}break}}var h=n;if(t==null)return h;var g=t[h];return g!==void 0?g:h}function fD(e,t,n){var r="";if(Array.isArray(n))for(var l=0;l96?CD:wD},n1=function(t,n,r){var l;if(n){var a=n.shouldForwardProp;l=t.__emotion_forwardProp&&a?function(s){return t.__emotion_forwardProp(s)&&a(s)}:a}return typeof l!="function"&&r&&(l=t.__emotion_forwardProp),l},xD=function(t){var n=t.cache,r=t.serialized,l=t.isStringTag;return Gv(n,r,l),tk(function(){return Uv(n,r,l)}),null},ED=function e(t,n){var r=t.__emotion_real===t,l=r&&t.__emotion_base||t,a,s;n!==void 0&&(a=n.label,s=n.target);var u=n1(t,n,r),d=u||t1(l),f=!d("as");return function(){var h=arguments,g=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&g.push("label:"+a+";"),h[0]==null||h[0].raw===void 0)g.push.apply(g,h);else{var m=h[0];g.push(m[0]);for(var S=h.length,v=1;vt(TD(l)?n:l):t;return x.jsx(yD,{styles:r})}/** + */var Yx;function lD(){if(Yx)return Jt;Yx=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,l=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,C=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function I(k){if(typeof k=="object"&&k!==null){var L=k.$$typeof;switch(L){case t:switch(k=k.type,k){case d:case f:case r:case a:case l:case g:return k;default:switch(k=k&&k.$$typeof,k){case u:case h:case v:case S:case s:return k;default:return L}}case n:return L}}}function O(k){return I(k)===f}return Jt.AsyncMode=d,Jt.ConcurrentMode=f,Jt.ContextConsumer=u,Jt.ContextProvider=s,Jt.Element=t,Jt.ForwardRef=h,Jt.Fragment=r,Jt.Lazy=v,Jt.Memo=S,Jt.Portal=n,Jt.Profiler=a,Jt.StrictMode=l,Jt.Suspense=g,Jt.isAsyncMode=function(k){return O(k)||I(k)===d},Jt.isConcurrentMode=O,Jt.isContextConsumer=function(k){return I(k)===u},Jt.isContextProvider=function(k){return I(k)===s},Jt.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===t},Jt.isForwardRef=function(k){return I(k)===h},Jt.isFragment=function(k){return I(k)===r},Jt.isLazy=function(k){return I(k)===v},Jt.isMemo=function(k){return I(k)===S},Jt.isPortal=function(k){return I(k)===n},Jt.isProfiler=function(k){return I(k)===a},Jt.isStrictMode=function(k){return I(k)===l},Jt.isSuspense=function(k){return I(k)===g},Jt.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===r||k===f||k===a||k===l||k===g||k===m||typeof k=="object"&&k!==null&&(k.$$typeof===v||k.$$typeof===S||k.$$typeof===s||k.$$typeof===u||k.$$typeof===h||k.$$typeof===w||k.$$typeof===E||k.$$typeof===R||k.$$typeof===C)},Jt.typeOf=I,Jt}var qx;function iD(){return qx||(qx=1,Bb.exports=lD()),Bb.exports}var Fb,Kx;function aD(){if(Kx)return Fb;Kx=1;var e=iD(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=r,a[e.Memo]=l;function s(v){return e.isMemo(v)?l:a[v.$$typeof]||t}var u=Object.defineProperty,d=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,m=Object.prototype;function S(v,C,w){if(typeof C!="string"){if(m){var E=g(C);E&&E!==m&&S(v,E,w)}var R=d(C);f&&(R=R.concat(f(C)));for(var I=s(v),O=s(C),k=0;k=4;++r,l-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(l){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var uD={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},dD=/[A-Z]|^ms/g,fD=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ek=function(t){return t.charCodeAt(1)===45},Xx=function(t){return t!=null&&typeof t!="boolean"},Nb=ZT(function(e){return ek(e)?e:e.replace(dD,"-$&").toLowerCase()}),Zx=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(fD,function(r,l,a){return gl={name:l,styles:a,next:gl},l})}return uD[t]!==1&&!ek(t)&&typeof n=="number"&&n!==0?n+"px":n};function Cd(e,t,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 l=n;if(l.anim===1)return gl={name:l.name,styles:l.styles,next:gl},l.name;var a=n;if(a.styles!==void 0){var s=a.next;if(s!==void 0)for(;s!==void 0;)gl={name:s.name,styles:s.styles,next:gl},s=s.next;var u=a.styles+";";return u}return pD(e,t,n)}case"function":{if(e!==void 0){var d=gl,f=n(e);return gl=d,Cd(e,t,f)}break}}var h=n;if(t==null)return h;var g=t[h];return g!==void 0?g:h}function pD(e,t,n){var r="";if(Array.isArray(n))for(var l=0;l96?wD:xD},n1=function(t,n,r){var l;if(n){var a=n.shouldForwardProp;l=t.__emotion_forwardProp&&a?function(s){return t.__emotion_forwardProp(s)&&a(s)}:a}return typeof l!="function"&&r&&(l=t.__emotion_forwardProp),l},ED=function(t){var n=t.cache,r=t.serialized,l=t.isStringTag;return Gv(n,r,l),nk(function(){return Uv(n,r,l)}),null},MD=function e(t,n){var r=t.__emotion_real===t,l=r&&t.__emotion_base||t,a,s;n!==void 0&&(a=n.label,s=n.target);var u=n1(t,n,r),d=u||t1(l),f=!d("as");return function(){var h=arguments,g=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&g.push("label:"+a+";"),h[0]==null||h[0].raw===void 0)g.push.apply(g,h);else{var m=h[0];g.push(m[0]);for(var S=h.length,v=1;vt(kD(l)?n:l):t;return x.jsx(vD,{styles:r})}/** * @mui/styled-engine v6.4.3 * * @license MIT * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */function ok(e,t){return Ly(e,t)}function kD(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const r1=[];function o1(e){return r1[0]=e,Gd(r1)}const RD=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function ID(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...l}=e,a=RD(t),s=Object.keys(a);function u(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function d(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function f(m,S){const v=s.indexOf(S);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(v!==-1&&typeof t[s[v]]=="number"?t[s[v]]:S)-r/100}${n})`}function h(m){return s.indexOf(m)+1(r.length===0?[1]:r).map(a=>{const s=t(a);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function PD(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let l=n.getColorSchemeSelector(e);return l==="&"?t:((l.includes("data-")||l.includes("."))&&(l=`*:where(${l.replace(/\s*&$/,"")}) &`),{[l]:t})}return n.palette.mode===e?t:{}}function Vd(e={},...t){const{breakpoints:n={},palette:r={},spacing:l,shape:a={},...s}=e,u=ID(n),d=lk(l);let f=Cr({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:d,shape:{...OD,...a}},s);return f=FA(f),f.applyStyles=PD,f=t.reduce((h,g)=>Cr(h,g),f),f.unstable_sxConfig={...jd,...s==null?void 0:s.unstable_sxConfig},f.unstable_sx=function(g){return ta({sx:g,theme:this})},f}function AD(e){return Object.keys(e).length===0}function Yv(e=null){const t=b.useContext(Ud);return!t||AD(t)?e:t}const LD=Vd();function Wd(e=LD){return Yv(e)}function DD({styles:e,themeId:t,defaultTheme:n={}}){const r=Wd(n),l=typeof e=="function"?e(t&&r[t]||r):e;return x.jsx(rk,{styles:l})}const l1=e=>e,$D=()=>{let e=l1;return{configure(t){e=t},generate(t){return e(t)},reset(){e=l1}}},ik=$D();function ak(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;tu!=="theme"&&u!=="sx"&&u!=="as"})(ta);return b.forwardRef(function(d,f){const h=Wd(n),{className:g,component:m="div",...S}=Fv(d);return x.jsx(a,{as:m,ref:f,className:be(g,l?l(r):r),theme:t&&h[t]||h,...S})})}const HD={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 Je(e,t,n="Mui"){const r=HD[t];return r?`${n}-${r}`:`${ik.generate(e)}-${t}`}function et(e,t,n="Mui"){const r={};return t.forEach(l=>{r[l]=Je(e,l,n)}),r}function sk(e){const{variants:t,...n}=e,r={variants:t,style:o1(n),isProcessed:!0};return r.style===n||t&&t.forEach(l=>{typeof l.style!="function"&&(l.style=o1(l.style))}),r}const BD=Vd();function jb(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function FD(e){return e?(t,n)=>n[e]:null}function ND(e,t,n){e.theme=_D(e.theme)?n:e.theme[t]||e.theme}function Bp(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>Bp(e,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:l,...a}=n;r=a}return ck(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function ck(e,t,n=[]){var l;let r;e:for(let a=0;a{kD(u,k=>k.filter(L=>L!==ta));const{name:f,slot:h,skipVariantsResolver:g,skipSx:m,overridesResolver:S=FD(UD(h)),...v}=d,C=g!==void 0?g:h&&h!=="Root"&&h!=="root"||!1,w=m||!1;let E=jb;h==="Root"||h==="root"?E=r:h?E=l:GD(u)&&(E=void 0);const R=ok(u,{shouldForwardProp:E,label:jD(),...v}),I=k=>{if(typeof k=="function"&&k.__emotion_real!==k)return function(j){return Bp(j,k)};if(yl(k)){const L=sk(k);return L.variants?function(_){return Bp(_,L)}:L.style}return k},O=(...k)=>{const L=[],j=k.map(I),_=[];if(L.push(a),f&&S&&_.push(function(V){var P,$;const U=($=(P=V.theme.components)==null?void 0:P[f])==null?void 0:$.styleOverrides;if(!U)return null;const H={};for(const W in U)H[W]=Bp(V,U[W]);return S(V,H)}),f&&!C&&_.push(function(V){var H,P;const B=V.theme,U=(P=(H=B==null?void 0:B.components)==null?void 0:H[f])==null?void 0:P.variants;return U?ck(V,U):null}),w||_.push(ta),Array.isArray(j[0])){const z=j.shift(),V=new Array(L.length).fill(""),B=new Array(_.length).fill("");let U;U=[...V,...z,...B],U.raw=[...V,...z.raw,...B],L.unshift(U)}const A=[...L,...j,..._],T=R(...A);return u.muiName&&(T.muiName=u.muiName),T};return R.withConfig&&(O.withConfig=R.withConfig),O}}function jD(e,t){return void 0}function _D(e){for(const t in e)return!1;return!0}function GD(e){return typeof e=="string"&&e.charCodeAt(0)>96}function UD(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const tn=uk();function dc(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const l=r;if(l==="components"||l==="slots")n[l]={...e[l],...n[l]};else if(l==="componentsProps"||l==="slotProps"){const a=e[l],s=t[l];if(!s)n[l]=a||{};else if(!a)n[l]=s;else{n[l]={...s};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const d=u;n[l][d]=dc(a[d],s[d])}}}else n[l]===void 0&&(n[l]=e[l])}return n}function dk(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:dc(t.components[n].defaultProps,r)}function qv({props:e,name:t,defaultTheme:n,themeId:r}){let l=Wd(n);return r&&(l=l[r]||l),dk({theme:l,name:t,props:e})}const nn=typeof window<"u"?b.useLayoutEffect:b.useEffect;function VD(e,t,n,r,l){const[a,s]=b.useState(()=>l&&n?n(e).matches:r?r(e).matches:t);return nn(()=>{if(!n)return;const u=n(e),d=()=>{s(u.matches)};return d(),u.addEventListener("change",d),()=>{u.removeEventListener("change",d)}},[e,n]),a}const WD={...nh},fk=WD.useSyncExternalStore;function YD(e,t,n,r,l){const a=b.useCallback(()=>t,[t]),s=b.useMemo(()=>{if(l&&n)return()=>n(e).matches;if(r!==null){const{matches:h}=r(e);return()=>h}return a},[a,e,r,l,n]),[u,d]=b.useMemo(()=>{if(n===null)return[a,()=>()=>{}];const h=n(e);return[()=>h.matches,g=>(h.addEventListener("change",g),()=>{h.removeEventListener("change",g)})]},[a,n,e]);return fk(d,u,s)}function pk(e={}){const{themeId:t}=e;return function(r,l={}){let a=Yv();a&&t&&(a=a[t]||a);const s=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:u=!1,matchMedia:d=s?window.matchMedia:null,ssrMatchMedia:f=null,noSsr:h=!1}=dk({name:"MuiUseMediaQuery",props:l,theme:a});let g=typeof r=="function"?r(a):r;return g=g.replace(/^@media( ?)/m,""),(fk!==void 0?YD:VD)(g,u,d,f,h)}}pk();function qD(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Kv(e,t=0,n=1){return qD(e,t,n)}function KD(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,l)=>l<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function wl(e){if(e.type)return e;if(e.charAt(0)==="#")return wl(KD(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(ri(9,e));let r=e.substring(t+1,e.length-1),l;if(n==="color"){if(r=r.split(" "),l=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(l))throw new Error(ri(10,l))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:l}}const XD=e=>{const t=wl(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},td=(e,t)=>{try{return XD(e)}catch{return e}};function Yd(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((l,a)=>a<3?parseInt(l,10):l):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function hk(e){e=wl(e);const{values:t}=e,n=t[0],r=t[1]/100,l=t[2]/100,a=r*Math.min(l,1-l),s=(f,h=(f+n/30)%12)=>l-a*Math.max(Math.min(h-3,9-h,1),-1);let u="rgb";const d=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(u+="a",d.push(t[3])),Yd({type:u,values:d})}function Dy(e){e=wl(e);let t=e.type==="hsl"||e.type==="hsla"?wl(hk(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ZD(e,t){const n=Dy(e),r=Dy(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function ht(e,t){return e=wl(e),t=Kv(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Yd(e)}function Cp(e,t,n){try{return ht(e,t)}catch{return e}}function Za(e,t){if(e=wl(e),t=Kv(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Yd(e)}function un(e,t,n){try{return Za(e,t)}catch{return e}}function Jo(e,t){if(e=wl(e),t=Kv(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Yd(e)}function dn(e,t,n){try{return Jo(e,t)}catch{return e}}function mk(e,t=.15){return Dy(e)>.5?Za(e,t):Jo(e,t)}function wp(e,t,n){try{return mk(e,t)}catch{return e}}function i1(...e){return e.reduce((t,n)=>n==null?t:function(...l){t.apply(this,l),n.apply(this,l)},()=>{})}function _h(e,t=166){let n;function r(...l){const a=()=>{e.apply(this,l)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function Fp(e,t){var n,r,l;return b.isValidElement(e)&&t.indexOf(e.type.muiName??((l=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:l.muiName))!==-1}function En(e){return e&&e.ownerDocument||document}function Do(e){return En(e).defaultView||window}function lh(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let a1=0;function QD(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(a1+=1,n(`mui-${a1}`))},[t]),r}const JD={...nh},s1=JD.useId;function Zt(e){if(s1!==void 0){const t=s1();return e??t}return QD(e)}function Fa({controlled:e,default:t,name:n,state:r="value"}){const{current:l}=b.useRef(e!==void 0),[a,s]=b.useState(t),u=l?e:a,d=b.useCallback(f=>{l||s(f)},[]);return[u,d]}function wt(e){const t=b.useRef(e);return nn(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function en(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{lh(n,t)})},e)}const c1={};function No(e,t){const n=b.useRef(c1);return n.current===c1&&(n.current=e(t)),n}const e$=[];function Xv(e){b.useEffect(e,e$)}class Gh{constructor(){zu(this,"currentId",null);zu(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});zu(this,"disposeEffect",()=>this.clear)}static create(){return new Gh}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Xr(){const e=No(Gh.create).current;return Xv(e.disposeEffect),e}function fc(e){try{return e.matches(":focus-visible")}catch{}return!1}function gk(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const Zv=e=>{const t=b.useRef({});return b.useEffect(()=>{t.current=e}),t.current};function Pe(e,t,n=void 0){const r={};for(const l in e){const a=e[l];let s="",u=!0;for(let d=0;dr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function u1(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function yk(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:l,className:a}=e;if(!t){const S=be(n==null?void 0:n.className,a,l==null?void 0:l.className,r==null?void 0:r.className),v={...n==null?void 0:n.style,...l==null?void 0:l.style,...r==null?void 0:r.style},C={...n,...l,...r};return S.length>0&&(C.className=S),Object.keys(v).length>0&&(C.style=v),{props:C,internalRef:void 0}}const s=ih({...l,...r}),u=u1(r),d=u1(l),f=t(s),h=be(f==null?void 0:f.className,n==null?void 0:n.className,a,l==null?void 0:l.className,r==null?void 0:r.className),g={...f==null?void 0:f.style,...n==null?void 0:n.style,...l==null?void 0:l.style,...r==null?void 0:r.style},m={...f,...n,...d,...u};return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:f.ref}}function vk(e,t,n){return typeof e=="function"?e(t,n):e}function xl(e){var g;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:l=!1,...a}=e,s=l?{}:vk(n,r),{props:u,internalRef:d}=yk({...a,externalSlotProps:s}),f=en(d,s==null?void 0:s.ref,(g=e.additionalProps)==null?void 0:g.ref);return bk(t,{...u,ref:f},r)}function Qa(e){var t;return parseInt(b.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const Sk=b.createContext(null);function Qv(){return b.useContext(Sk)}const n$=typeof Symbol=="function"&&Symbol.for,r$=n$?Symbol.for("mui.nested"):"__THEME_NESTED__";function o$(e,t){return typeof t=="function"?t(e):{...e,...t}}function l$(e){const{children:t,theme:n}=e,r=Qv(),l=b.useMemo(()=>{const a=r===null?{...n}:o$(r,n);return a!=null&&(a[r$]=r!==null),a},[n,r]);return x.jsx(Sk.Provider,{value:l,children:t})}const Ck=b.createContext();function i$({value:e,...t}){return x.jsx(Ck.Provider,{value:e??!0,...t})}const fr=()=>b.useContext(Ck)??!1,wk=b.createContext(void 0);function a$({value:e,children:t}){return x.jsx(wk.Provider,{value:e,children:t})}function s$(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const l=t.components[n];return l.defaultProps?dc(l.defaultProps,r):!l.styleOverrides&&!l.variants?dc(l,r):r}function c$({props:e,name:t}){const n=b.useContext(wk);return s$({props:e,name:t,theme:{components:n}})}const d1={};function f1(e,t,n,r=!1){return b.useMemo(()=>{const l=e&&t[e]||t;if(typeof n=="function"){const a=n(l),s=e?{...t,[e]:a}:a;return r?()=>s:s}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function xk(e){const{children:t,theme:n,themeId:r}=e,l=Yv(d1),a=Qv()||d1,s=f1(r,l,n),u=f1(r,a,n,!0),d=(r?s[r]:s).direction==="rtl";return x.jsx(l$,{theme:u,children:x.jsx(Ud.Provider,{value:s,children:x.jsx(i$,{value:d,children:x.jsx(a$,{value:r?s[r].components:s.components,children:t})})})})}const p1={theme:void 0};function u$(e){let t,n;return function(l){let a=t;return(a===void 0||l.theme!==n)&&(p1.theme=l.theme,a=sk(e(p1)),t=a,n=l.theme),a}}const Jv="mode",e0="color-scheme",d$="data-color-scheme";function f$(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:l=Jv,colorSchemeStorageKey:a=e0,attribute:s=d$,colorSchemeNode:u="document.documentElement",nonce:d}=e||{};let f="",h=s;if(s==="class"&&(h=".%s"),s==="data"&&(h="[data-%s]"),h.startsWith(".")){const m=h.substring(1);f+=`${u}.classList.remove('${m}'.replace('%s', light), '${m}'.replace('%s', dark)); + */function lk(e,t){return Ly(e,t)}function RD(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const r1=[];function o1(e){return r1[0]=e,Gd(r1)}const ID=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function OD(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...l}=e,a=ID(t),s=Object.keys(a);function u(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function d(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function f(m,S){const v=s.indexOf(S);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(v!==-1&&typeof t[s[v]]=="number"?t[s[v]]:S)-r/100}${n})`}function h(m){return s.indexOf(m)+1(r.length===0?[1]:r).map(a=>{const s=t(a);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function AD(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let l=n.getColorSchemeSelector(e);return l==="&"?t:((l.includes("data-")||l.includes("."))&&(l=`*:where(${l.replace(/\s*&$/,"")}) &`),{[l]:t})}return n.palette.mode===e?t:{}}function Vd(e={},...t){const{breakpoints:n={},palette:r={},spacing:l,shape:a={},...s}=e,u=OD(n),d=ik(l);let f=Cr({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:d,shape:{...PD,...a}},s);return f=NA(f),f.applyStyles=AD,f=t.reduce((h,g)=>Cr(h,g),f),f.unstable_sxConfig={...jd,...s==null?void 0:s.unstable_sxConfig},f.unstable_sx=function(g){return ta({sx:g,theme:this})},f}function LD(e){return Object.keys(e).length===0}function Yv(e=null){const t=b.useContext(Ud);return!t||LD(t)?e:t}const DD=Vd();function Wd(e=DD){return Yv(e)}function $D({styles:e,themeId:t,defaultTheme:n={}}){const r=Wd(n),l=typeof e=="function"?e(t&&r[t]||r):e;return x.jsx(ok,{styles:l})}const l1=e=>e,zD=()=>{let e=l1;return{configure(t){e=t},generate(t){return e(t)},reset(){e=l1}}},ak=zD();function sk(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;tu!=="theme"&&u!=="sx"&&u!=="as"})(ta);return b.forwardRef(function(d,f){const h=Wd(n),{className:g,component:m="div",...S}=Fv(d);return x.jsx(a,{as:m,ref:f,className:be(g,l?l(r):r),theme:t&&h[t]||h,...S})})}const BD={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 Je(e,t,n="Mui"){const r=BD[t];return r?`${n}-${r}`:`${ak.generate(e)}-${t}`}function et(e,t,n="Mui"){const r={};return t.forEach(l=>{r[l]=Je(e,l,n)}),r}function ck(e){const{variants:t,...n}=e,r={variants:t,style:o1(n),isProcessed:!0};return r.style===n||t&&t.forEach(l=>{typeof l.style!="function"&&(l.style=o1(l.style))}),r}const FD=Vd();function jb(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ND(e){return e?(t,n)=>n[e]:null}function jD(e,t,n){e.theme=GD(e.theme)?n:e.theme[t]||e.theme}function Bp(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>Bp(e,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:l,...a}=n;r=a}return uk(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function uk(e,t,n=[]){var l;let r;e:for(let a=0;a{RD(u,k=>k.filter(L=>L!==ta));const{name:f,slot:h,skipVariantsResolver:g,skipSx:m,overridesResolver:S=ND(VD(h)),...v}=d,C=g!==void 0?g:h&&h!=="Root"&&h!=="root"||!1,w=m||!1;let E=jb;h==="Root"||h==="root"?E=r:h?E=l:UD(u)&&(E=void 0);const R=lk(u,{shouldForwardProp:E,label:_D(),...v}),I=k=>{if(typeof k=="function"&&k.__emotion_real!==k)return function(j){return Bp(j,k)};if(yl(k)){const L=ck(k);return L.variants?function(_){return Bp(_,L)}:L.style}return k},O=(...k)=>{const L=[],j=k.map(I),_=[];if(L.push(a),f&&S&&_.push(function(V){var P,$;const U=($=(P=V.theme.components)==null?void 0:P[f])==null?void 0:$.styleOverrides;if(!U)return null;const H={};for(const W in U)H[W]=Bp(V,U[W]);return S(V,H)}),f&&!C&&_.push(function(V){var H,P;const B=V.theme,U=(P=(H=B==null?void 0:B.components)==null?void 0:H[f])==null?void 0:P.variants;return U?uk(V,U):null}),w||_.push(ta),Array.isArray(j[0])){const z=j.shift(),V=new Array(L.length).fill(""),B=new Array(_.length).fill("");let U;U=[...V,...z,...B],U.raw=[...V,...z.raw,...B],L.unshift(U)}const A=[...L,...j,..._],T=R(...A);return u.muiName&&(T.muiName=u.muiName),T};return R.withConfig&&(O.withConfig=R.withConfig),O}}function _D(e,t){return void 0}function GD(e){for(const t in e)return!1;return!0}function UD(e){return typeof e=="string"&&e.charCodeAt(0)>96}function VD(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const tn=dk();function dc(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const l=r;if(l==="components"||l==="slots")n[l]={...e[l],...n[l]};else if(l==="componentsProps"||l==="slotProps"){const a=e[l],s=t[l];if(!s)n[l]=a||{};else if(!a)n[l]=s;else{n[l]={...s};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const d=u;n[l][d]=dc(a[d],s[d])}}}else n[l]===void 0&&(n[l]=e[l])}return n}function fk(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:dc(t.components[n].defaultProps,r)}function qv({props:e,name:t,defaultTheme:n,themeId:r}){let l=Wd(n);return r&&(l=l[r]||l),fk({theme:l,name:t,props:e})}const nn=typeof window<"u"?b.useLayoutEffect:b.useEffect;function WD(e,t,n,r,l){const[a,s]=b.useState(()=>l&&n?n(e).matches:r?r(e).matches:t);return nn(()=>{if(!n)return;const u=n(e),d=()=>{s(u.matches)};return d(),u.addEventListener("change",d),()=>{u.removeEventListener("change",d)}},[e,n]),a}const YD={...nh},pk=YD.useSyncExternalStore;function qD(e,t,n,r,l){const a=b.useCallback(()=>t,[t]),s=b.useMemo(()=>{if(l&&n)return()=>n(e).matches;if(r!==null){const{matches:h}=r(e);return()=>h}return a},[a,e,r,l,n]),[u,d]=b.useMemo(()=>{if(n===null)return[a,()=>()=>{}];const h=n(e);return[()=>h.matches,g=>(h.addEventListener("change",g),()=>{h.removeEventListener("change",g)})]},[a,n,e]);return pk(d,u,s)}function hk(e={}){const{themeId:t}=e;return function(r,l={}){let a=Yv();a&&t&&(a=a[t]||a);const s=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:u=!1,matchMedia:d=s?window.matchMedia:null,ssrMatchMedia:f=null,noSsr:h=!1}=fk({name:"MuiUseMediaQuery",props:l,theme:a});let g=typeof r=="function"?r(a):r;return g=g.replace(/^@media( ?)/m,""),(pk!==void 0?qD:WD)(g,u,d,f,h)}}hk();function KD(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Kv(e,t=0,n=1){return KD(e,t,n)}function XD(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,l)=>l<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function wl(e){if(e.type)return e;if(e.charAt(0)==="#")return wl(XD(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(ri(9,e));let r=e.substring(t+1,e.length-1),l;if(n==="color"){if(r=r.split(" "),l=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(l))throw new Error(ri(10,l))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:l}}const ZD=e=>{const t=wl(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},td=(e,t)=>{try{return ZD(e)}catch{return e}};function Yd(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((l,a)=>a<3?parseInt(l,10):l):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function mk(e){e=wl(e);const{values:t}=e,n=t[0],r=t[1]/100,l=t[2]/100,a=r*Math.min(l,1-l),s=(f,h=(f+n/30)%12)=>l-a*Math.max(Math.min(h-3,9-h,1),-1);let u="rgb";const d=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(u+="a",d.push(t[3])),Yd({type:u,values:d})}function Dy(e){e=wl(e);let t=e.type==="hsl"||e.type==="hsla"?wl(mk(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function QD(e,t){const n=Dy(e),r=Dy(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function ht(e,t){return e=wl(e),t=Kv(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Yd(e)}function Cp(e,t,n){try{return ht(e,t)}catch{return e}}function Za(e,t){if(e=wl(e),t=Kv(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Yd(e)}function un(e,t,n){try{return Za(e,t)}catch{return e}}function Jo(e,t){if(e=wl(e),t=Kv(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Yd(e)}function dn(e,t,n){try{return Jo(e,t)}catch{return e}}function gk(e,t=.15){return Dy(e)>.5?Za(e,t):Jo(e,t)}function wp(e,t,n){try{return gk(e,t)}catch{return e}}function i1(...e){return e.reduce((t,n)=>n==null?t:function(...l){t.apply(this,l),n.apply(this,l)},()=>{})}function _h(e,t=166){let n;function r(...l){const a=()=>{e.apply(this,l)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function Fp(e,t){var n,r,l;return b.isValidElement(e)&&t.indexOf(e.type.muiName??((l=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:l.muiName))!==-1}function En(e){return e&&e.ownerDocument||document}function Do(e){return En(e).defaultView||window}function lh(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let a1=0;function JD(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(a1+=1,n(`mui-${a1}`))},[t]),r}const e$={...nh},s1=e$.useId;function Zt(e){if(s1!==void 0){const t=s1();return e??t}return JD(e)}function Fa({controlled:e,default:t,name:n,state:r="value"}){const{current:l}=b.useRef(e!==void 0),[a,s]=b.useState(t),u=l?e:a,d=b.useCallback(f=>{l||s(f)},[]);return[u,d]}function wt(e){const t=b.useRef(e);return nn(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function en(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{lh(n,t)})},e)}const c1={};function No(e,t){const n=b.useRef(c1);return n.current===c1&&(n.current=e(t)),n}const t$=[];function Xv(e){b.useEffect(e,t$)}class Gh{constructor(){zu(this,"currentId",null);zu(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});zu(this,"disposeEffect",()=>this.clear)}static create(){return new Gh}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Xr(){const e=No(Gh.create).current;return Xv(e.disposeEffect),e}function fc(e){try{return e.matches(":focus-visible")}catch{}return!1}function bk(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const Zv=e=>{const t=b.useRef({});return b.useEffect(()=>{t.current=e}),t.current};function Pe(e,t,n=void 0){const r={};for(const l in e){const a=e[l];let s="",u=!0;for(let d=0;dr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function u1(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function vk(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:l,className:a}=e;if(!t){const S=be(n==null?void 0:n.className,a,l==null?void 0:l.className,r==null?void 0:r.className),v={...n==null?void 0:n.style,...l==null?void 0:l.style,...r==null?void 0:r.style},C={...n,...l,...r};return S.length>0&&(C.className=S),Object.keys(v).length>0&&(C.style=v),{props:C,internalRef:void 0}}const s=ih({...l,...r}),u=u1(r),d=u1(l),f=t(s),h=be(f==null?void 0:f.className,n==null?void 0:n.className,a,l==null?void 0:l.className,r==null?void 0:r.className),g={...f==null?void 0:f.style,...n==null?void 0:n.style,...l==null?void 0:l.style,...r==null?void 0:r.style},m={...f,...n,...d,...u};return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:f.ref}}function Sk(e,t,n){return typeof e=="function"?e(t,n):e}function xl(e){var g;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:l=!1,...a}=e,s=l?{}:Sk(n,r),{props:u,internalRef:d}=vk({...a,externalSlotProps:s}),f=en(d,s==null?void 0:s.ref,(g=e.additionalProps)==null?void 0:g.ref);return yk(t,{...u,ref:f},r)}function Qa(e){var t;return parseInt(b.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const Ck=b.createContext(null);function Qv(){return b.useContext(Ck)}const r$=typeof Symbol=="function"&&Symbol.for,o$=r$?Symbol.for("mui.nested"):"__THEME_NESTED__";function l$(e,t){return typeof t=="function"?t(e):{...e,...t}}function i$(e){const{children:t,theme:n}=e,r=Qv(),l=b.useMemo(()=>{const a=r===null?{...n}:l$(r,n);return a!=null&&(a[o$]=r!==null),a},[n,r]);return x.jsx(Ck.Provider,{value:l,children:t})}const wk=b.createContext();function a$({value:e,...t}){return x.jsx(wk.Provider,{value:e??!0,...t})}const fr=()=>b.useContext(wk)??!1,xk=b.createContext(void 0);function s$({value:e,children:t}){return x.jsx(xk.Provider,{value:e,children:t})}function c$(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const l=t.components[n];return l.defaultProps?dc(l.defaultProps,r):!l.styleOverrides&&!l.variants?dc(l,r):r}function u$({props:e,name:t}){const n=b.useContext(xk);return c$({props:e,name:t,theme:{components:n}})}const d1={};function f1(e,t,n,r=!1){return b.useMemo(()=>{const l=e&&t[e]||t;if(typeof n=="function"){const a=n(l),s=e?{...t,[e]:a}:a;return r?()=>s:s}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Ek(e){const{children:t,theme:n,themeId:r}=e,l=Yv(d1),a=Qv()||d1,s=f1(r,l,n),u=f1(r,a,n,!0),d=(r?s[r]:s).direction==="rtl";return x.jsx(i$,{theme:u,children:x.jsx(Ud.Provider,{value:s,children:x.jsx(a$,{value:d,children:x.jsx(s$,{value:r?s[r].components:s.components,children:t})})})})}const p1={theme:void 0};function d$(e){let t,n;return function(l){let a=t;return(a===void 0||l.theme!==n)&&(p1.theme=l.theme,a=ck(e(p1)),t=a,n=l.theme),a}}const Jv="mode",e0="color-scheme",f$="data-color-scheme";function p$(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:l=Jv,colorSchemeStorageKey:a=e0,attribute:s=f$,colorSchemeNode:u="document.documentElement",nonce:d}=e||{};let f="",h=s;if(s==="class"&&(h=".%s"),s==="data"&&(h="[data-%s]"),h.startsWith(".")){const m=h.substring(1);f+=`${u}.classList.remove('${m}'.replace('%s', light), '${m}'.replace('%s', dark)); ${u}.classList.add('${m}'.replace('%s', colorScheme));`}const g=h.match(/\[([^\]]+)\]/);if(g){const[m,S]=g[1].split("=");S||(f+=`${u}.removeAttribute('${m}'.replace('%s', light)); ${u}.removeAttribute('${m}'.replace('%s', dark));`),f+=` ${u}.setAttribute('${m}'.replace('%s', colorScheme), ${S?`${S}.replace('%s', colorScheme)`:'""'});`}else f+=`${u}.setAttribute('${h}', colorScheme);`;return x.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?d:"",dangerouslySetInnerHTML:{__html:`(function() { @@ -94,14 +94,14 @@ try { if (colorScheme) { ${f} } -} catch(e){}})();`}},"mui-color-scheme-init")}function h1(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Ek(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function p$(e){return Ek(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function _b(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function h$(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:l=[],modeStorageKey:a=Jv,colorSchemeStorageKey:s=e0,storageWindow:u=typeof window>"u"?void 0:window,noSsr:d=!1}=e,f=l.join(","),h=l.length>1,[g,m]=b.useState(()=>{const O=_b(a,t),k=_b(`${s}-light`,n),L=_b(`${s}-dark`,r);return{mode:O,systemMode:h1(O),lightColorScheme:k,darkColorScheme:L}}),[S,v]=b.useState(d||!h);b.useEffect(()=>{v(!0)},[]);const C=p$(g),w=b.useCallback(O=>{m(k=>{if(O===k.mode)return k;const L=O??t;try{localStorage.setItem(a,L)}catch{}return{...k,mode:L,systemMode:h1(L)}})},[a,t]),E=b.useCallback(O=>{O?typeof O=="string"?O&&!f.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):m(k=>{const L={...k};return Ek(k,j=>{try{localStorage.setItem(`${s}-${j}`,O)}catch{}j==="light"&&(L.lightColorScheme=O),j==="dark"&&(L.darkColorScheme=O)}),L}):m(k=>{const L={...k},j=O.light===null?n:O.light,_=O.dark===null?r:O.dark;if(j)if(!f.includes(j))console.error(`\`${j}\` does not exist in \`theme.colorSchemes\`.`);else{L.lightColorScheme=j;try{localStorage.setItem(`${s}-light`,j)}catch{}}if(_)if(!f.includes(_))console.error(`\`${_}\` does not exist in \`theme.colorSchemes\`.`);else{L.darkColorScheme=_;try{localStorage.setItem(`${s}-dark`,_)}catch{}}return L}):m(k=>{try{localStorage.setItem(`${s}-light`,n),localStorage.setItem(`${s}-dark`,r)}catch{}return{...k,lightColorScheme:n,darkColorScheme:r}})},[f,s,n,r]),R=b.useCallback(O=>{g.mode==="system"&&m(k=>{const L=O!=null&&O.matches?"dark":"light";return k.systemMode===L?k:{...k,systemMode:L}})},[g.mode]),I=b.useRef(R);return I.current=R,b.useEffect(()=>{if(typeof window.matchMedia!="function"||!h)return;const O=(...L)=>I.current(...L),k=window.matchMedia("(prefers-color-scheme: dark)");return k.addListener(O),O(k),()=>{k.removeListener(O)}},[h]),b.useEffect(()=>{if(u&&h){const O=k=>{const L=k.newValue;typeof k.key=="string"&&k.key.startsWith(s)&&(!L||f.match(L))&&(k.key.endsWith("light")&&E({light:L}),k.key.endsWith("dark")&&E({dark:L})),k.key===a&&(!L||["light","dark","system"].includes(L))&&w(L||t)};return u.addEventListener("storage",O),()=>{u.removeEventListener("storage",O)}}},[E,w,a,s,f,t,u,h]),{...g,mode:S?g.mode:void 0,systemMode:S?g.systemMode:void 0,colorScheme:S?C:void 0,setMode:w,setColorScheme:E}}const m$="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function g$(e){const{themeId:t,theme:n={},modeStorageKey:r=Jv,colorSchemeStorageKey:l=e0,disableTransitionOnChange:a=!1,defaultColorScheme:s,resolveTheme:u}=e,d={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},f=b.createContext(void 0),h=()=>b.useContext(f)||d,g={},m={};function S(E){var mt,ze,at,Ke;const{children:R,theme:I,modeStorageKey:O=r,colorSchemeStorageKey:k=l,disableTransitionOnChange:L=a,storageWindow:j=typeof window>"u"?void 0:window,documentNode:_=typeof document>"u"?void 0:document,colorSchemeNode:A=typeof document>"u"?void 0:document.documentElement,disableNestedContext:T=!1,disableStyleSheetGeneration:z=!1,defaultMode:V="system",noSsr:B}=E,U=b.useRef(!1),H=Qv(),P=b.useContext(f),$=!!P&&!T,W=b.useMemo(()=>I||(typeof n=="function"?n():n),[I]),F=W[t],D=F||W,{colorSchemes:Y=g,components:X=m,cssVarPrefix:Z}=D,Q=Object.keys(Y).filter(Ne=>!!Y[Ne]).join(","),te=b.useMemo(()=>Q.split(","),[Q]),ee=typeof s=="string"?s:s.light,fe=typeof s=="string"?s:s.dark,oe=Y[ee]&&Y[fe]?V:((ze=(mt=Y[D.defaultColorScheme])==null?void 0:mt.palette)==null?void 0:ze.mode)||((at=D.palette)==null?void 0:at.mode),{mode:se,setMode:ie,systemMode:ge,lightColorScheme:de,darkColorScheme:pe,colorScheme:Te,setColorScheme:De}=h$({supportedColorSchemes:te,defaultLightColorScheme:ee,defaultDarkColorScheme:fe,modeStorageKey:O,colorSchemeStorageKey:k,defaultMode:oe,storageWindow:j,noSsr:B});let _e=se,Se=Te;$&&(_e=P.mode,Se=P.colorScheme);const Be=b.useMemo(()=>{var He;const Ne=Se||D.defaultColorScheme,Ye=((He=D.generateThemeVars)==null?void 0:He.call(D))||D.vars,Le={...D,components:X,colorSchemes:Y,cssVarPrefix:Z,vars:Ye};if(typeof Le.generateSpacing=="function"&&(Le.spacing=Le.generateSpacing()),Ne){const Oe=Y[Ne];Oe&&typeof Oe=="object"&&Object.keys(Oe).forEach(je=>{Oe[je]&&typeof Oe[je]=="object"?Le[je]={...Le[je],...Oe[je]}:Le[je]=Oe[je]})}return u?u(Le):Le},[D,Se,X,Y,Z]),Fe=D.colorSchemeSelector;nn(()=>{if(Se&&A&&Fe&&Fe!=="media"){const Ne=Fe;let Ye=Fe;if(Ne==="class"&&(Ye=".%s"),Ne==="data"&&(Ye="[data-%s]"),Ne!=null&&Ne.startsWith("data-")&&!Ne.includes("%s")&&(Ye=`[${Ne}="%s"]`),Ye.startsWith("."))A.classList.remove(...te.map(Le=>Ye.substring(1).replace("%s",Le))),A.classList.add(Ye.substring(1).replace("%s",Se));else{const Le=Ye.replace("%s",Se).match(/\[([^\]]+)\]/);if(Le){const[He,Oe]=Le[1].split("=");Oe||te.forEach(je=>{A.removeAttribute(He.replace(Se,je))}),A.setAttribute(He,Oe?Oe.replace(/"|'/g,""):"")}else A.setAttribute(Ye,Se)}}},[Se,Fe,A,te]),b.useEffect(()=>{let Ne;if(L&&U.current&&_){const Ye=_.createElement("style");Ye.appendChild(_.createTextNode(m$)),_.head.appendChild(Ye),window.getComputedStyle(_.body),Ne=setTimeout(()=>{_.head.removeChild(Ye)},1)}return()=>{clearTimeout(Ne)}},[Se,L,_]),b.useEffect(()=>(U.current=!0,()=>{U.current=!1}),[]);const ot=b.useMemo(()=>({allColorSchemes:te,colorScheme:Se,darkColorScheme:pe,lightColorScheme:de,mode:_e,setColorScheme:De,setMode:ie,systemMode:ge}),[te,Se,pe,de,_e,De,ie,ge,Be.colorSchemeSelector]);let Ve=!0;(z||D.cssVariables===!1||$&&(H==null?void 0:H.cssVarPrefix)===Z)&&(Ve=!1);const $e=x.jsxs(b.Fragment,{children:[x.jsx(xk,{themeId:F?t:void 0,theme:Be,children:R}),Ve&&x.jsx(rk,{styles:((Ke=Be.generateStyleSheets)==null?void 0:Ke.call(Be))||[]})]});return $?$e:x.jsx(f.Provider,{value:ot,children:$e})}const v=typeof s=="string"?s:s.light,C=typeof s=="string"?s:s.dark;return{CssVarsProvider:S,useColorScheme:h,getInitColorSchemeScript:E=>f$({colorSchemeStorageKey:l,defaultLightColorScheme:v,defaultDarkColorScheme:C,modeStorageKey:r,...E})}}function b$(e=""){function t(...r){if(!r.length)return"";const l=r[0];return typeof l=="string"&&!l.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${l}${t(...r.slice(1))})`:`, ${l}`}return(r,...l)=>`var(--${e?`${e}-`:""}${r}${t(...l)})`}const m1=(e,t,n,r=[])=>{let l=e;t.forEach((a,s)=>{s===t.length-1?Array.isArray(l)?l[Number(a)]=n:l&&typeof l=="object"&&(l[a]=n):l&&typeof l=="object"&&(l[a]||(l[a]=r.includes(a)?[]:{}),l=l[a])})},y$=(e,t,n)=>{function r(l,a=[],s=[]){Object.entries(l).forEach(([u,d])=>{(!n||n&&!n([...a,u]))&&d!=null&&(typeof d=="object"&&Object.keys(d).length>0?r(d,[...a,u],Array.isArray(d)?[...s,u]:s):t([...a,u],d,s))})}r(e)},v$=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Gb(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},l={},a={},s={};return y$(e,(u,d,f)=>{if((typeof d=="string"||typeof d=="number")&&(!r||!r(u,d))){const h=`--${n?`${n}-`:""}${u.join("-")}`,g=v$(u,d);Object.assign(l,{[h]:g}),m1(a,u,`var(${h})`,f),m1(s,u,`var(${h}, ${g})`,f)}},u=>u[0]==="vars"),{css:l,vars:a,varsWithDefaults:s}}function S$(e,t={}){const{getSelector:n=w,disableCssColorScheme:r,colorSchemeSelector:l}=t,{colorSchemes:a={},components:s,defaultColorScheme:u="light",...d}=e,{vars:f,css:h,varsWithDefaults:g}=Gb(d,t);let m=g;const S={},{[u]:v,...C}=a;if(Object.entries(C||{}).forEach(([I,O])=>{const{vars:k,css:L,varsWithDefaults:j}=Gb(O,t);m=Cr(m,j),S[I]={css:L,vars:k}}),v){const{css:I,vars:O,varsWithDefaults:k}=Gb(v,t);m=Cr(m,k),S[u]={css:I,vars:O}}function w(I,O){var L,j;let k=l;if(l==="class"&&(k=".%s"),l==="data"&&(k="[data-%s]"),l!=null&&l.startsWith("data-")&&!l.includes("%s")&&(k=`[${l}="%s"]`),I){if(k==="media")return e.defaultColorScheme===I?":root":{[`@media (prefers-color-scheme: ${((j=(L=a[I])==null?void 0:L.palette)==null?void 0:j.mode)||I})`]:{":root":O}};if(k)return e.defaultColorScheme===I?`:root, ${k.replace("%s",String(I))}`:k.replace("%s",String(I))}return":root"}return{vars:m,generateThemeVars:()=>{let I={...f};return Object.entries(S).forEach(([,{vars:O}])=>{I=Cr(I,O)}),I},generateStyleSheets:()=>{var _,A;const I=[],O=e.defaultColorScheme||"light";function k(T,z){Object.keys(z).length&&I.push(typeof T=="string"?{[T]:{...z}}:T)}k(n(void 0,{...h}),h);const{[O]:L,...j}=S;if(L){const{css:T}=L,z=(A=(_=a[O])==null?void 0:_.palette)==null?void 0:A.mode,V=!r&&z?{colorScheme:z,...T}:{...T};k(n(O,{...V}),V)}return Object.entries(j).forEach(([T,{css:z}])=>{var U,H;const V=(H=(U=a[T])==null?void 0:U.palette)==null?void 0:H.mode,B=!r&&V?{colorScheme:V,...z}:{...z};k(n(T,{...B}),B)}),I}}}function C$(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const w$=Vd(),x$=tn("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${me(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),E$=e=>qv({props:e,name:"MuiContainer",defaultTheme:w$}),M$=(e,t)=>{const n=d=>Je(t,d),{classes:r,fixed:l,disableGutters:a,maxWidth:s}=e,u={root:["root",s&&`maxWidth${me(String(s))}`,l&&"fixed",a&&"disableGutters"]};return Pe(u,n,r)};function T$(e={}){const{createStyledComponent:t=x$,useThemeProps:n=E$,componentName:r="MuiContainer"}=e,l=t(({theme:s,ownerState:u})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!u.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}}),({theme:s,ownerState:u})=>u.fixed&&Object.keys(s.breakpoints.values).reduce((d,f)=>{const h=f,g=s.breakpoints.values[h];return g!==0&&(d[s.breakpoints.up(h)]={maxWidth:`${g}${s.breakpoints.unit}`}),d},{}),({theme:s,ownerState:u})=>({...u.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},...u.maxWidth&&u.maxWidth!=="xs"&&{[s.breakpoints.up(u.maxWidth)]:{maxWidth:`${s.breakpoints.values[u.maxWidth]}${s.breakpoints.unit}`}}}));return b.forwardRef(function(u,d){const f=n(u),{className:h,component:g="div",disableGutters:m=!1,fixed:S=!1,maxWidth:v="lg",classes:C,...w}=f,E={...f,component:g,disableGutters:m,fixed:S,maxWidth:v},R=M$(E,r);return x.jsx(l,{as:g,ownerState:E,className:be(R.root,h),ref:d,...w})})}const k$=(e,t)=>e.filter(n=>t.includes(n)),kc=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((l,a)=>{n((s,u)=>{a<=e.keys.length-1&&(a===0?Object.assign(s,u):s[e.up(e.keys[a])]=u)},l)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:k$(e.keys,Object.keys(t))).forEach(a=>{if(e.keys.includes(a)){const s=t[a];s!==void 0&&n((u,d)=>{r===a?Object.assign(u,d):u[e.up(a)]=d},s)}}):(typeof t=="number"||typeof t=="string")&&n((l,a)=>{Object.assign(l,a)},t)};function ah(e){return`--Grid-${e}Spacing`}function Uh(e){return`--Grid-parent-${e}Spacing`}const g1="--Grid-columns",ic="--Grid-parent-columns",R$=({theme:e,ownerState:t})=>{const n={};return kc(e.breakpoints,t.size,(r,l)=>{let a={};l==="grow"&&(a={flexBasis:0,flexGrow:1,maxWidth:"100%"}),l==="auto"&&(a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof l=="number"&&(a={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${l} / var(${ic}) - (var(${ic}) - ${l}) * (var(${Uh("column")}) / var(${ic})))`}),r(n,a)}),n},I$=({theme:e,ownerState:t})=>{const n={};return kc(e.breakpoints,t.offset,(r,l)=>{let a={};l==="auto"&&(a={marginLeft:"auto"}),typeof l=="number"&&(a={marginLeft:l===0?"0px":`calc(100% * ${l} / var(${ic}) + var(${Uh("column")}) * ${l} / var(${ic}))`}),r(n,a)}),n},O$=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={[g1]:12};return kc(e.breakpoints,t.columns,(r,l)=>{const a=l??12;r(n,{[g1]:a,"> *":{[ic]:a}})}),n},P$=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return kc(e.breakpoints,t.rowSpacing,(r,l)=>{var s;const a=typeof l=="string"?l:(s=e.spacing)==null?void 0:s.call(e,l);r(n,{[ah("row")]:a,"> *":{[Uh("row")]:a}})}),n},A$=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return kc(e.breakpoints,t.columnSpacing,(r,l)=>{var s;const a=typeof l=="string"?l:(s=e.spacing)==null?void 0:s.call(e,l);r(n,{[ah("column")]:a,"> *":{[Uh("column")]:a}})}),n},L$=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return kc(e.breakpoints,t.direction,(r,l)=>{r(n,{flexDirection:l})}),n},D$=({ownerState:e})=>({minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},gap:`var(${ah("row")}) var(${ah("column")})`}}),$$=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},z$=(e,t="xs")=>{function n(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([l,a])=>{n(a)&&r.push(`spacing-${l}-${String(a)}`)}),r}return[]},H$=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],B$=Vd(),F$=tn("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function N$(e){return qv({props:e,name:"MuiGrid",defaultTheme:B$})}function j$(e={}){const{createStyledComponent:t=F$,useThemeProps:n=N$,useTheme:r=Wd,componentName:l="MuiGrid"}=e,a=(f,h)=>{const{container:g,direction:m,spacing:S,wrap:v,size:C}=f,w={root:["root",g&&"container",v!=="wrap"&&`wrap-xs-${String(v)}`,...H$(m),...$$(C),...g?z$(S,h.breakpoints.keys[0]):[]]};return Pe(w,E=>Je(l,E),{})};function s(f,h,g=()=>!0){const m={};return f===null||(Array.isArray(f)?f.forEach((S,v)=>{S!==null&&g(S)&&h.keys[v]&&(m[h.keys[v]]=S)}):typeof f=="object"?Object.keys(f).forEach(S=>{const v=f[S];v!=null&&g(v)&&(m[S]=v)}):m[h.keys[0]]=f),m}const u=t(O$,A$,P$,R$,L$,D$,I$),d=b.forwardRef(function(h,g){const m=r(),S=n(h),v=Fv(S),{className:C,children:w,columns:E=12,container:R=!1,component:I="div",direction:O="row",wrap:k="wrap",size:L={},offset:j={},spacing:_=0,rowSpacing:A=_,columnSpacing:T=_,unstable_level:z=0,...V}=v,B=s(L,m.breakpoints,Y=>Y!==!1),U=s(j,m.breakpoints),H=h.columns??(z?void 0:E),P=h.spacing??(z?void 0:_),$=h.rowSpacing??h.spacing??(z?void 0:A),W=h.columnSpacing??h.spacing??(z?void 0:T),F={...v,level:z,columns:H,container:R,direction:O,wrap:k,spacing:P,rowSpacing:$,columnSpacing:W,size:B,offset:U},D=a(F,m);return x.jsx(u,{ref:g,as:I,ownerState:F,className:be(D.root,C),...V,children:b.Children.map(w,Y=>{var X;return b.isValidElement(Y)&&Fp(Y,["Grid"])&&R&&Y.props.container?b.cloneElement(Y,{unstable_level:((X=Y.props)==null?void 0:X.unstable_level)??z+1}):Y})})});return d.muiName="Grid",d}const wd={black:"#000",white:"#fff"},_$={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"},Bs={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Fs={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Nu={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ns={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},js={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Pa={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Mk(){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:wd.white,default:wd.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 G$=Mk();function Tk(){return{text:{primary:wd.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:wd.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 b1=Tk();function y1(e,t,n,r){const l=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Jo(e.main,l):t==="dark"&&(e.dark=Za(e.main,a)))}function U$(e="light"){return e==="dark"?{main:Ns[200],light:Ns[50],dark:Ns[400]}:{main:Ns[700],light:Ns[400],dark:Ns[800]}}function V$(e="light"){return e==="dark"?{main:Bs[200],light:Bs[50],dark:Bs[400]}:{main:Bs[500],light:Bs[300],dark:Bs[700]}}function W$(e="light"){return e==="dark"?{main:Fs[500],light:Fs[300],dark:Fs[700]}:{main:Fs[700],light:Fs[400],dark:Fs[800]}}function Y$(e="light"){return e==="dark"?{main:js[400],light:js[300],dark:js[700]}:{main:js[700],light:js[500],dark:js[900]}}function q$(e="light"){return e==="dark"?{main:Pa[400],light:Pa[300],dark:Pa[700]}:{main:Pa[800],light:Pa[500],dark:Pa[900]}}function K$(e="light"){return e==="dark"?{main:Nu[400],light:Nu[300],dark:Nu[700]}:{main:"#ed6c02",light:Nu[500],dark:Nu[900]}}function t0(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...l}=e,a=e.primary||U$(t),s=e.secondary||V$(t),u=e.error||W$(t),d=e.info||Y$(t),f=e.success||q$(t),h=e.warning||K$(t);function g(C){return ZD(C,b1.text.primary)>=n?b1.text.primary:G$.text.primary}const m=({color:C,name:w,mainShade:E=500,lightShade:R=300,darkShade:I=700})=>{if(C={...C},!C.main&&C[E]&&(C.main=C[E]),!C.hasOwnProperty("main"))throw new Error(ri(11,w?` (${w})`:"",E));if(typeof C.main!="string")throw new Error(ri(12,w?` (${w})`:"",JSON.stringify(C.main)));return y1(C,"light",R,r),y1(C,"dark",I,r),C.contrastText||(C.contrastText=g(C.main)),C};let S;return t==="light"?S=Mk():t==="dark"&&(S=Tk()),Cr({common:{...wd},mode:t,primary:m({color:a,name:"primary"}),secondary:m({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:u,name:"error"}),warning:m({color:h,name:"warning"}),info:m({color:d,name:"info"}),success:m({color:f,name:"success"}),grey:_$,contrastThreshold:n,getContrastText:g,augmentColor:m,tonalOffset:r,...S},l)}function X$(e){const t={};return Object.entries(e).forEach(r=>{const[l,a]=r;typeof a=="object"&&(t[l]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function Z$(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Q$(e){return Math.round(e*1e5)/1e5}const v1={textTransform:"uppercase"},S1='"Roboto", "Helvetica", "Arial", sans-serif';function kk(e,t){const{fontFamily:n=S1,fontSize:r=14,fontWeightLight:l=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:f,pxToRem:h,...g}=typeof t=="function"?t(e):t,m=r/14,S=h||(w=>`${w/d*m}rem`),v=(w,E,R,I,O)=>({fontFamily:n,fontWeight:w,fontSize:S(E),lineHeight:R,...n===S1?{letterSpacing:`${Q$(I/E)}em`}:{},...O,...f}),C={h1:v(l,96,1.167,-1.5),h2:v(l,60,1.2,-.5),h3:v(a,48,1.167,0),h4:v(a,34,1.235,.25),h5:v(a,24,1.334,0),h6:v(s,20,1.6,.15),subtitle1:v(a,16,1.75,.15),subtitle2:v(s,14,1.57,.1),body1:v(a,16,1.5,.15),body2:v(a,14,1.43,.15),button:v(s,14,1.75,.4,v1),caption:v(a,12,1.66,.4),overline:v(a,12,2.66,1,v1),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Cr({htmlFontSize:d,pxToRem:S,fontFamily:n,fontSize:r,fontWeightLight:l,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:u,...C},g,{clone:!1})}const J$=.2,e5=.14,t5=.12;function wn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${J$})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${e5})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${t5})`].join(",")}const n5=["none",wn(0,2,1,-1,0,1,1,0,0,1,3,0),wn(0,3,1,-2,0,2,2,0,0,1,5,0),wn(0,3,3,-2,0,3,4,0,0,1,8,0),wn(0,2,4,-1,0,4,5,0,0,1,10,0),wn(0,3,5,-1,0,5,8,0,0,1,14,0),wn(0,3,5,-1,0,6,10,0,0,1,18,0),wn(0,4,5,-2,0,7,10,1,0,2,16,1),wn(0,5,5,-3,0,8,10,1,0,3,14,2),wn(0,5,6,-3,0,9,12,1,0,3,16,2),wn(0,6,6,-3,0,10,14,1,0,4,18,3),wn(0,6,7,-4,0,11,15,1,0,4,20,3),wn(0,7,8,-4,0,12,17,2,0,5,22,4),wn(0,7,8,-4,0,13,19,2,0,5,24,4),wn(0,7,9,-4,0,14,21,2,0,5,26,4),wn(0,8,9,-5,0,15,22,2,0,6,28,5),wn(0,8,10,-5,0,16,24,2,0,6,30,5),wn(0,8,11,-5,0,17,26,2,0,6,32,5),wn(0,9,11,-5,0,18,28,2,0,7,34,6),wn(0,9,12,-6,0,19,29,2,0,7,36,6),wn(0,10,13,-6,0,20,31,3,0,8,38,7),wn(0,10,13,-6,0,21,33,3,0,8,40,7),wn(0,10,14,-6,0,22,35,3,0,8,42,7),wn(0,11,14,-7,0,23,36,3,0,9,44,8),wn(0,11,15,-7,0,24,38,3,0,9,46,8)],r5={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)"},o5={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function C1(e){return`${Math.round(e)}ms`}function l5(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function i5(e){const t={...r5,...e.easing},n={...o5,...e.duration};return{getAutoHeightDuration:l5,create:(l=["all"],a={})=>{const{duration:s=n.standard,easing:u=t.easeInOut,delay:d=0,...f}=a;return(Array.isArray(l)?l:[l]).map(h=>`${h} ${typeof s=="string"?s:C1(s)} ${u} ${typeof d=="string"?d:C1(d)}`).join(",")},...e,easing:t,duration:n}}const a5={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function s5(e){return yl(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Rk(e={}){const t={...e};function n(r){const l=Object.entries(r);for(let a=0;a{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function _b(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function m$(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:l=[],modeStorageKey:a=Jv,colorSchemeStorageKey:s=e0,storageWindow:u=typeof window>"u"?void 0:window,noSsr:d=!1}=e,f=l.join(","),h=l.length>1,[g,m]=b.useState(()=>{const O=_b(a,t),k=_b(`${s}-light`,n),L=_b(`${s}-dark`,r);return{mode:O,systemMode:h1(O),lightColorScheme:k,darkColorScheme:L}}),[S,v]=b.useState(d||!h);b.useEffect(()=>{v(!0)},[]);const C=h$(g),w=b.useCallback(O=>{m(k=>{if(O===k.mode)return k;const L=O??t;try{localStorage.setItem(a,L)}catch{}return{...k,mode:L,systemMode:h1(L)}})},[a,t]),E=b.useCallback(O=>{O?typeof O=="string"?O&&!f.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):m(k=>{const L={...k};return Mk(k,j=>{try{localStorage.setItem(`${s}-${j}`,O)}catch{}j==="light"&&(L.lightColorScheme=O),j==="dark"&&(L.darkColorScheme=O)}),L}):m(k=>{const L={...k},j=O.light===null?n:O.light,_=O.dark===null?r:O.dark;if(j)if(!f.includes(j))console.error(`\`${j}\` does not exist in \`theme.colorSchemes\`.`);else{L.lightColorScheme=j;try{localStorage.setItem(`${s}-light`,j)}catch{}}if(_)if(!f.includes(_))console.error(`\`${_}\` does not exist in \`theme.colorSchemes\`.`);else{L.darkColorScheme=_;try{localStorage.setItem(`${s}-dark`,_)}catch{}}return L}):m(k=>{try{localStorage.setItem(`${s}-light`,n),localStorage.setItem(`${s}-dark`,r)}catch{}return{...k,lightColorScheme:n,darkColorScheme:r}})},[f,s,n,r]),R=b.useCallback(O=>{g.mode==="system"&&m(k=>{const L=O!=null&&O.matches?"dark":"light";return k.systemMode===L?k:{...k,systemMode:L}})},[g.mode]),I=b.useRef(R);return I.current=R,b.useEffect(()=>{if(typeof window.matchMedia!="function"||!h)return;const O=(...L)=>I.current(...L),k=window.matchMedia("(prefers-color-scheme: dark)");return k.addListener(O),O(k),()=>{k.removeListener(O)}},[h]),b.useEffect(()=>{if(u&&h){const O=k=>{const L=k.newValue;typeof k.key=="string"&&k.key.startsWith(s)&&(!L||f.match(L))&&(k.key.endsWith("light")&&E({light:L}),k.key.endsWith("dark")&&E({dark:L})),k.key===a&&(!L||["light","dark","system"].includes(L))&&w(L||t)};return u.addEventListener("storage",O),()=>{u.removeEventListener("storage",O)}}},[E,w,a,s,f,t,u,h]),{...g,mode:S?g.mode:void 0,systemMode:S?g.systemMode:void 0,colorScheme:S?C:void 0,setMode:w,setColorScheme:E}}const g$="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function b$(e){const{themeId:t,theme:n={},modeStorageKey:r=Jv,colorSchemeStorageKey:l=e0,disableTransitionOnChange:a=!1,defaultColorScheme:s,resolveTheme:u}=e,d={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},f=b.createContext(void 0),h=()=>b.useContext(f)||d,g={},m={};function S(E){var mt,ze,at,Ke;const{children:R,theme:I,modeStorageKey:O=r,colorSchemeStorageKey:k=l,disableTransitionOnChange:L=a,storageWindow:j=typeof window>"u"?void 0:window,documentNode:_=typeof document>"u"?void 0:document,colorSchemeNode:A=typeof document>"u"?void 0:document.documentElement,disableNestedContext:T=!1,disableStyleSheetGeneration:z=!1,defaultMode:V="system",noSsr:B}=E,U=b.useRef(!1),H=Qv(),P=b.useContext(f),$=!!P&&!T,W=b.useMemo(()=>I||(typeof n=="function"?n():n),[I]),F=W[t],D=F||W,{colorSchemes:Y=g,components:X=m,cssVarPrefix:Z}=D,Q=Object.keys(Y).filter(Ne=>!!Y[Ne]).join(","),te=b.useMemo(()=>Q.split(","),[Q]),ee=typeof s=="string"?s:s.light,fe=typeof s=="string"?s:s.dark,oe=Y[ee]&&Y[fe]?V:((ze=(mt=Y[D.defaultColorScheme])==null?void 0:mt.palette)==null?void 0:ze.mode)||((at=D.palette)==null?void 0:at.mode),{mode:se,setMode:ie,systemMode:ge,lightColorScheme:de,darkColorScheme:pe,colorScheme:Te,setColorScheme:De}=m$({supportedColorSchemes:te,defaultLightColorScheme:ee,defaultDarkColorScheme:fe,modeStorageKey:O,colorSchemeStorageKey:k,defaultMode:oe,storageWindow:j,noSsr:B});let _e=se,Se=Te;$&&(_e=P.mode,Se=P.colorScheme);const Be=b.useMemo(()=>{var He;const Ne=Se||D.defaultColorScheme,Ye=((He=D.generateThemeVars)==null?void 0:He.call(D))||D.vars,Le={...D,components:X,colorSchemes:Y,cssVarPrefix:Z,vars:Ye};if(typeof Le.generateSpacing=="function"&&(Le.spacing=Le.generateSpacing()),Ne){const Oe=Y[Ne];Oe&&typeof Oe=="object"&&Object.keys(Oe).forEach(je=>{Oe[je]&&typeof Oe[je]=="object"?Le[je]={...Le[je],...Oe[je]}:Le[je]=Oe[je]})}return u?u(Le):Le},[D,Se,X,Y,Z]),Fe=D.colorSchemeSelector;nn(()=>{if(Se&&A&&Fe&&Fe!=="media"){const Ne=Fe;let Ye=Fe;if(Ne==="class"&&(Ye=".%s"),Ne==="data"&&(Ye="[data-%s]"),Ne!=null&&Ne.startsWith("data-")&&!Ne.includes("%s")&&(Ye=`[${Ne}="%s"]`),Ye.startsWith("."))A.classList.remove(...te.map(Le=>Ye.substring(1).replace("%s",Le))),A.classList.add(Ye.substring(1).replace("%s",Se));else{const Le=Ye.replace("%s",Se).match(/\[([^\]]+)\]/);if(Le){const[He,Oe]=Le[1].split("=");Oe||te.forEach(je=>{A.removeAttribute(He.replace(Se,je))}),A.setAttribute(He,Oe?Oe.replace(/"|'/g,""):"")}else A.setAttribute(Ye,Se)}}},[Se,Fe,A,te]),b.useEffect(()=>{let Ne;if(L&&U.current&&_){const Ye=_.createElement("style");Ye.appendChild(_.createTextNode(g$)),_.head.appendChild(Ye),window.getComputedStyle(_.body),Ne=setTimeout(()=>{_.head.removeChild(Ye)},1)}return()=>{clearTimeout(Ne)}},[Se,L,_]),b.useEffect(()=>(U.current=!0,()=>{U.current=!1}),[]);const ot=b.useMemo(()=>({allColorSchemes:te,colorScheme:Se,darkColorScheme:pe,lightColorScheme:de,mode:_e,setColorScheme:De,setMode:ie,systemMode:ge}),[te,Se,pe,de,_e,De,ie,ge,Be.colorSchemeSelector]);let Ve=!0;(z||D.cssVariables===!1||$&&(H==null?void 0:H.cssVarPrefix)===Z)&&(Ve=!1);const $e=x.jsxs(b.Fragment,{children:[x.jsx(Ek,{themeId:F?t:void 0,theme:Be,children:R}),Ve&&x.jsx(ok,{styles:((Ke=Be.generateStyleSheets)==null?void 0:Ke.call(Be))||[]})]});return $?$e:x.jsx(f.Provider,{value:ot,children:$e})}const v=typeof s=="string"?s:s.light,C=typeof s=="string"?s:s.dark;return{CssVarsProvider:S,useColorScheme:h,getInitColorSchemeScript:E=>p$({colorSchemeStorageKey:l,defaultLightColorScheme:v,defaultDarkColorScheme:C,modeStorageKey:r,...E})}}function y$(e=""){function t(...r){if(!r.length)return"";const l=r[0];return typeof l=="string"&&!l.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${l}${t(...r.slice(1))})`:`, ${l}`}return(r,...l)=>`var(--${e?`${e}-`:""}${r}${t(...l)})`}const m1=(e,t,n,r=[])=>{let l=e;t.forEach((a,s)=>{s===t.length-1?Array.isArray(l)?l[Number(a)]=n:l&&typeof l=="object"&&(l[a]=n):l&&typeof l=="object"&&(l[a]||(l[a]=r.includes(a)?[]:{}),l=l[a])})},v$=(e,t,n)=>{function r(l,a=[],s=[]){Object.entries(l).forEach(([u,d])=>{(!n||n&&!n([...a,u]))&&d!=null&&(typeof d=="object"&&Object.keys(d).length>0?r(d,[...a,u],Array.isArray(d)?[...s,u]:s):t([...a,u],d,s))})}r(e)},S$=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Gb(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},l={},a={},s={};return v$(e,(u,d,f)=>{if((typeof d=="string"||typeof d=="number")&&(!r||!r(u,d))){const h=`--${n?`${n}-`:""}${u.join("-")}`,g=S$(u,d);Object.assign(l,{[h]:g}),m1(a,u,`var(${h})`,f),m1(s,u,`var(${h}, ${g})`,f)}},u=>u[0]==="vars"),{css:l,vars:a,varsWithDefaults:s}}function C$(e,t={}){const{getSelector:n=w,disableCssColorScheme:r,colorSchemeSelector:l}=t,{colorSchemes:a={},components:s,defaultColorScheme:u="light",...d}=e,{vars:f,css:h,varsWithDefaults:g}=Gb(d,t);let m=g;const S={},{[u]:v,...C}=a;if(Object.entries(C||{}).forEach(([I,O])=>{const{vars:k,css:L,varsWithDefaults:j}=Gb(O,t);m=Cr(m,j),S[I]={css:L,vars:k}}),v){const{css:I,vars:O,varsWithDefaults:k}=Gb(v,t);m=Cr(m,k),S[u]={css:I,vars:O}}function w(I,O){var L,j;let k=l;if(l==="class"&&(k=".%s"),l==="data"&&(k="[data-%s]"),l!=null&&l.startsWith("data-")&&!l.includes("%s")&&(k=`[${l}="%s"]`),I){if(k==="media")return e.defaultColorScheme===I?":root":{[`@media (prefers-color-scheme: ${((j=(L=a[I])==null?void 0:L.palette)==null?void 0:j.mode)||I})`]:{":root":O}};if(k)return e.defaultColorScheme===I?`:root, ${k.replace("%s",String(I))}`:k.replace("%s",String(I))}return":root"}return{vars:m,generateThemeVars:()=>{let I={...f};return Object.entries(S).forEach(([,{vars:O}])=>{I=Cr(I,O)}),I},generateStyleSheets:()=>{var _,A;const I=[],O=e.defaultColorScheme||"light";function k(T,z){Object.keys(z).length&&I.push(typeof T=="string"?{[T]:{...z}}:T)}k(n(void 0,{...h}),h);const{[O]:L,...j}=S;if(L){const{css:T}=L,z=(A=(_=a[O])==null?void 0:_.palette)==null?void 0:A.mode,V=!r&&z?{colorScheme:z,...T}:{...T};k(n(O,{...V}),V)}return Object.entries(j).forEach(([T,{css:z}])=>{var U,H;const V=(H=(U=a[T])==null?void 0:U.palette)==null?void 0:H.mode,B=!r&&V?{colorScheme:V,...z}:{...z};k(n(T,{...B}),B)}),I}}}function w$(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const x$=Vd(),E$=tn("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${me(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),M$=e=>qv({props:e,name:"MuiContainer",defaultTheme:x$}),T$=(e,t)=>{const n=d=>Je(t,d),{classes:r,fixed:l,disableGutters:a,maxWidth:s}=e,u={root:["root",s&&`maxWidth${me(String(s))}`,l&&"fixed",a&&"disableGutters"]};return Pe(u,n,r)};function k$(e={}){const{createStyledComponent:t=E$,useThemeProps:n=M$,componentName:r="MuiContainer"}=e,l=t(({theme:s,ownerState:u})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!u.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}}),({theme:s,ownerState:u})=>u.fixed&&Object.keys(s.breakpoints.values).reduce((d,f)=>{const h=f,g=s.breakpoints.values[h];return g!==0&&(d[s.breakpoints.up(h)]={maxWidth:`${g}${s.breakpoints.unit}`}),d},{}),({theme:s,ownerState:u})=>({...u.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},...u.maxWidth&&u.maxWidth!=="xs"&&{[s.breakpoints.up(u.maxWidth)]:{maxWidth:`${s.breakpoints.values[u.maxWidth]}${s.breakpoints.unit}`}}}));return b.forwardRef(function(u,d){const f=n(u),{className:h,component:g="div",disableGutters:m=!1,fixed:S=!1,maxWidth:v="lg",classes:C,...w}=f,E={...f,component:g,disableGutters:m,fixed:S,maxWidth:v},R=T$(E,r);return x.jsx(l,{as:g,ownerState:E,className:be(R.root,h),ref:d,...w})})}const R$=(e,t)=>e.filter(n=>t.includes(n)),kc=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((l,a)=>{n((s,u)=>{a<=e.keys.length-1&&(a===0?Object.assign(s,u):s[e.up(e.keys[a])]=u)},l)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:R$(e.keys,Object.keys(t))).forEach(a=>{if(e.keys.includes(a)){const s=t[a];s!==void 0&&n((u,d)=>{r===a?Object.assign(u,d):u[e.up(a)]=d},s)}}):(typeof t=="number"||typeof t=="string")&&n((l,a)=>{Object.assign(l,a)},t)};function ah(e){return`--Grid-${e}Spacing`}function Uh(e){return`--Grid-parent-${e}Spacing`}const g1="--Grid-columns",ic="--Grid-parent-columns",I$=({theme:e,ownerState:t})=>{const n={};return kc(e.breakpoints,t.size,(r,l)=>{let a={};l==="grow"&&(a={flexBasis:0,flexGrow:1,maxWidth:"100%"}),l==="auto"&&(a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof l=="number"&&(a={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${l} / var(${ic}) - (var(${ic}) - ${l}) * (var(${Uh("column")}) / var(${ic})))`}),r(n,a)}),n},O$=({theme:e,ownerState:t})=>{const n={};return kc(e.breakpoints,t.offset,(r,l)=>{let a={};l==="auto"&&(a={marginLeft:"auto"}),typeof l=="number"&&(a={marginLeft:l===0?"0px":`calc(100% * ${l} / var(${ic}) + var(${Uh("column")}) * ${l} / var(${ic}))`}),r(n,a)}),n},P$=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={[g1]:12};return kc(e.breakpoints,t.columns,(r,l)=>{const a=l??12;r(n,{[g1]:a,"> *":{[ic]:a}})}),n},A$=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return kc(e.breakpoints,t.rowSpacing,(r,l)=>{var s;const a=typeof l=="string"?l:(s=e.spacing)==null?void 0:s.call(e,l);r(n,{[ah("row")]:a,"> *":{[Uh("row")]:a}})}),n},L$=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return kc(e.breakpoints,t.columnSpacing,(r,l)=>{var s;const a=typeof l=="string"?l:(s=e.spacing)==null?void 0:s.call(e,l);r(n,{[ah("column")]:a,"> *":{[Uh("column")]:a}})}),n},D$=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return kc(e.breakpoints,t.direction,(r,l)=>{r(n,{flexDirection:l})}),n},$$=({ownerState:e})=>({minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},gap:`var(${ah("row")}) var(${ah("column")})`}}),z$=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},H$=(e,t="xs")=>{function n(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([l,a])=>{n(a)&&r.push(`spacing-${l}-${String(a)}`)}),r}return[]},B$=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],F$=Vd(),N$=tn("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function j$(e){return qv({props:e,name:"MuiGrid",defaultTheme:F$})}function _$(e={}){const{createStyledComponent:t=N$,useThemeProps:n=j$,useTheme:r=Wd,componentName:l="MuiGrid"}=e,a=(f,h)=>{const{container:g,direction:m,spacing:S,wrap:v,size:C}=f,w={root:["root",g&&"container",v!=="wrap"&&`wrap-xs-${String(v)}`,...B$(m),...z$(C),...g?H$(S,h.breakpoints.keys[0]):[]]};return Pe(w,E=>Je(l,E),{})};function s(f,h,g=()=>!0){const m={};return f===null||(Array.isArray(f)?f.forEach((S,v)=>{S!==null&&g(S)&&h.keys[v]&&(m[h.keys[v]]=S)}):typeof f=="object"?Object.keys(f).forEach(S=>{const v=f[S];v!=null&&g(v)&&(m[S]=v)}):m[h.keys[0]]=f),m}const u=t(P$,L$,A$,I$,D$,$$,O$),d=b.forwardRef(function(h,g){const m=r(),S=n(h),v=Fv(S),{className:C,children:w,columns:E=12,container:R=!1,component:I="div",direction:O="row",wrap:k="wrap",size:L={},offset:j={},spacing:_=0,rowSpacing:A=_,columnSpacing:T=_,unstable_level:z=0,...V}=v,B=s(L,m.breakpoints,Y=>Y!==!1),U=s(j,m.breakpoints),H=h.columns??(z?void 0:E),P=h.spacing??(z?void 0:_),$=h.rowSpacing??h.spacing??(z?void 0:A),W=h.columnSpacing??h.spacing??(z?void 0:T),F={...v,level:z,columns:H,container:R,direction:O,wrap:k,spacing:P,rowSpacing:$,columnSpacing:W,size:B,offset:U},D=a(F,m);return x.jsx(u,{ref:g,as:I,ownerState:F,className:be(D.root,C),...V,children:b.Children.map(w,Y=>{var X;return b.isValidElement(Y)&&Fp(Y,["Grid"])&&R&&Y.props.container?b.cloneElement(Y,{unstable_level:((X=Y.props)==null?void 0:X.unstable_level)??z+1}):Y})})});return d.muiName="Grid",d}const wd={black:"#000",white:"#fff"},G$={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"},Bs={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Fs={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Nu={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ns={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},js={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Pa={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Tk(){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:wd.white,default:wd.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 U$=Tk();function kk(){return{text:{primary:wd.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:wd.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 b1=kk();function y1(e,t,n,r){const l=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Jo(e.main,l):t==="dark"&&(e.dark=Za(e.main,a)))}function V$(e="light"){return e==="dark"?{main:Ns[200],light:Ns[50],dark:Ns[400]}:{main:Ns[700],light:Ns[400],dark:Ns[800]}}function W$(e="light"){return e==="dark"?{main:Bs[200],light:Bs[50],dark:Bs[400]}:{main:Bs[500],light:Bs[300],dark:Bs[700]}}function Y$(e="light"){return e==="dark"?{main:Fs[500],light:Fs[300],dark:Fs[700]}:{main:Fs[700],light:Fs[400],dark:Fs[800]}}function q$(e="light"){return e==="dark"?{main:js[400],light:js[300],dark:js[700]}:{main:js[700],light:js[500],dark:js[900]}}function K$(e="light"){return e==="dark"?{main:Pa[400],light:Pa[300],dark:Pa[700]}:{main:Pa[800],light:Pa[500],dark:Pa[900]}}function X$(e="light"){return e==="dark"?{main:Nu[400],light:Nu[300],dark:Nu[700]}:{main:"#ed6c02",light:Nu[500],dark:Nu[900]}}function t0(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...l}=e,a=e.primary||V$(t),s=e.secondary||W$(t),u=e.error||Y$(t),d=e.info||q$(t),f=e.success||K$(t),h=e.warning||X$(t);function g(C){return QD(C,b1.text.primary)>=n?b1.text.primary:U$.text.primary}const m=({color:C,name:w,mainShade:E=500,lightShade:R=300,darkShade:I=700})=>{if(C={...C},!C.main&&C[E]&&(C.main=C[E]),!C.hasOwnProperty("main"))throw new Error(ri(11,w?` (${w})`:"",E));if(typeof C.main!="string")throw new Error(ri(12,w?` (${w})`:"",JSON.stringify(C.main)));return y1(C,"light",R,r),y1(C,"dark",I,r),C.contrastText||(C.contrastText=g(C.main)),C};let S;return t==="light"?S=Tk():t==="dark"&&(S=kk()),Cr({common:{...wd},mode:t,primary:m({color:a,name:"primary"}),secondary:m({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:u,name:"error"}),warning:m({color:h,name:"warning"}),info:m({color:d,name:"info"}),success:m({color:f,name:"success"}),grey:G$,contrastThreshold:n,getContrastText:g,augmentColor:m,tonalOffset:r,...S},l)}function Z$(e){const t={};return Object.entries(e).forEach(r=>{const[l,a]=r;typeof a=="object"&&(t[l]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function Q$(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function J$(e){return Math.round(e*1e5)/1e5}const v1={textTransform:"uppercase"},S1='"Roboto", "Helvetica", "Arial", sans-serif';function Rk(e,t){const{fontFamily:n=S1,fontSize:r=14,fontWeightLight:l=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:f,pxToRem:h,...g}=typeof t=="function"?t(e):t,m=r/14,S=h||(w=>`${w/d*m}rem`),v=(w,E,R,I,O)=>({fontFamily:n,fontWeight:w,fontSize:S(E),lineHeight:R,...n===S1?{letterSpacing:`${J$(I/E)}em`}:{},...O,...f}),C={h1:v(l,96,1.167,-1.5),h2:v(l,60,1.2,-.5),h3:v(a,48,1.167,0),h4:v(a,34,1.235,.25),h5:v(a,24,1.334,0),h6:v(s,20,1.6,.15),subtitle1:v(a,16,1.75,.15),subtitle2:v(s,14,1.57,.1),body1:v(a,16,1.5,.15),body2:v(a,14,1.43,.15),button:v(s,14,1.75,.4,v1),caption:v(a,12,1.66,.4),overline:v(a,12,2.66,1,v1),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Cr({htmlFontSize:d,pxToRem:S,fontFamily:n,fontSize:r,fontWeightLight:l,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:u,...C},g,{clone:!1})}const e5=.2,t5=.14,n5=.12;function wn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${e5})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${t5})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${n5})`].join(",")}const r5=["none",wn(0,2,1,-1,0,1,1,0,0,1,3,0),wn(0,3,1,-2,0,2,2,0,0,1,5,0),wn(0,3,3,-2,0,3,4,0,0,1,8,0),wn(0,2,4,-1,0,4,5,0,0,1,10,0),wn(0,3,5,-1,0,5,8,0,0,1,14,0),wn(0,3,5,-1,0,6,10,0,0,1,18,0),wn(0,4,5,-2,0,7,10,1,0,2,16,1),wn(0,5,5,-3,0,8,10,1,0,3,14,2),wn(0,5,6,-3,0,9,12,1,0,3,16,2),wn(0,6,6,-3,0,10,14,1,0,4,18,3),wn(0,6,7,-4,0,11,15,1,0,4,20,3),wn(0,7,8,-4,0,12,17,2,0,5,22,4),wn(0,7,8,-4,0,13,19,2,0,5,24,4),wn(0,7,9,-4,0,14,21,2,0,5,26,4),wn(0,8,9,-5,0,15,22,2,0,6,28,5),wn(0,8,10,-5,0,16,24,2,0,6,30,5),wn(0,8,11,-5,0,17,26,2,0,6,32,5),wn(0,9,11,-5,0,18,28,2,0,7,34,6),wn(0,9,12,-6,0,19,29,2,0,7,36,6),wn(0,10,13,-6,0,20,31,3,0,8,38,7),wn(0,10,13,-6,0,21,33,3,0,8,40,7),wn(0,10,14,-6,0,22,35,3,0,8,42,7),wn(0,11,14,-7,0,23,36,3,0,9,44,8),wn(0,11,15,-7,0,24,38,3,0,9,46,8)],o5={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)"},l5={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function C1(e){return`${Math.round(e)}ms`}function i5(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function a5(e){const t={...o5,...e.easing},n={...l5,...e.duration};return{getAutoHeightDuration:i5,create:(l=["all"],a={})=>{const{duration:s=n.standard,easing:u=t.easeInOut,delay:d=0,...f}=a;return(Array.isArray(l)?l:[l]).map(h=>`${h} ${typeof s=="string"?s:C1(s)} ${u} ${typeof d=="string"?d:C1(d)}`).join(",")},...e,easing:t,duration:n}}const s5={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function c5(e){return yl(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Ik(e={}){const t={...e};function n(r){const l=Object.entries(r);for(let a=0;aCr(S,v),m),m.unstable_sxConfig={...jd,...f==null?void 0:f.unstable_sxConfig},m.unstable_sx=function(v){return ta({sx:v,theme:this})},m.toRuntimeSource=Rk,m}function zy(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const c5=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=zy(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Ik(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Ok(e){return e==="dark"?c5:[]}function u5(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...l}=e,a=t0(t);return{palette:a,opacity:{...Ik(a.mode),...n},overlays:r||Ok(a.mode),...l}}function d5(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const f5=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],p5=e=>(t,n)=>{const r=e.rootSelector||":root",l=e.colorSchemeSelector;let a=l;if(l==="class"&&(a=".%s"),l==="data"&&(a="[data-%s]"),l!=null&&l.startsWith("data-")&&!l.includes("%s")&&(a=`[${l}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return f5(e.cssVarPrefix).forEach(u=>{s[u]=n[u],delete n[u]}),a==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:s}}:a?{[a.replace("%s",t)]:s,[`${r}, ${a.replace("%s",t)}`]:n}:{[r]:{...n,...s}}}if(a&&a!=="media")return`${r}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace("%s",String(t))}return r};function h5(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Ce(e,t,n){!e[t]&&n&&(e[t]=n)}function nd(e){return typeof e!="string"||!e.startsWith("hsl")?e:hk(e)}function Yl(e,t){`${t}Channel`in e||(e[`${t}Channel`]=td(nd(e[t])))}function m5(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const dl=e=>{try{return e()}catch{}},g5=(e="mui")=>b$(e);function Ub(e,t,n,r){if(!t)return;t=t===!0?{}:t;const l=r==="dark"?"dark":"light";if(!n){e[r]=u5({...t,palette:{mode:l,...t==null?void 0:t.palette}});return}const{palette:a,...s}=$y({...n,palette:{mode:l,...t==null?void 0:t.palette}});return e[r]={...t,palette:a,opacity:{...Ik(l),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||Ok(l)},s}function b5(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:l=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:s=d5,colorSchemeSelector:u=n.light&&n.dark?"media":void 0,rootSelector:d=":root",...f}=e,h=Object.keys(n)[0],g=r||(n.light&&h!=="light"?"light":h),m=g5(a),{[g]:S,light:v,dark:C,...w}=n,E={...w};let R=S;if((g==="dark"&&!("dark"in n)||g==="light"&&!("light"in n))&&(R=!0),!R)throw new Error(ri(21,g));const I=Ub(E,R,f,g);v&&!E.light&&Ub(E,v,void 0,"light"),C&&!E.dark&&Ub(E,C,void 0,"dark");let O={defaultColorScheme:g,...I,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:d,getCssVar:m,colorSchemes:E,font:{...X$(I.typography),...I.font},spacing:m5(f.spacing)};Object.keys(O.colorSchemes).forEach(A=>{const T=O.colorSchemes[A].palette,z=V=>{const B=V.split("-"),U=B[1],H=B[2];return m(V,T[U][H])};if(T.mode==="light"&&(Ce(T.common,"background","#fff"),Ce(T.common,"onBackground","#000")),T.mode==="dark"&&(Ce(T.common,"background","#000"),Ce(T.common,"onBackground","#fff")),h5(T,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),T.mode==="light"){Ce(T.Alert,"errorColor",un(T.error.light,.6)),Ce(T.Alert,"infoColor",un(T.info.light,.6)),Ce(T.Alert,"successColor",un(T.success.light,.6)),Ce(T.Alert,"warningColor",un(T.warning.light,.6)),Ce(T.Alert,"errorFilledBg",z("palette-error-main")),Ce(T.Alert,"infoFilledBg",z("palette-info-main")),Ce(T.Alert,"successFilledBg",z("palette-success-main")),Ce(T.Alert,"warningFilledBg",z("palette-warning-main")),Ce(T.Alert,"errorFilledColor",dl(()=>T.getContrastText(T.error.main))),Ce(T.Alert,"infoFilledColor",dl(()=>T.getContrastText(T.info.main))),Ce(T.Alert,"successFilledColor",dl(()=>T.getContrastText(T.success.main))),Ce(T.Alert,"warningFilledColor",dl(()=>T.getContrastText(T.warning.main))),Ce(T.Alert,"errorStandardBg",dn(T.error.light,.9)),Ce(T.Alert,"infoStandardBg",dn(T.info.light,.9)),Ce(T.Alert,"successStandardBg",dn(T.success.light,.9)),Ce(T.Alert,"warningStandardBg",dn(T.warning.light,.9)),Ce(T.Alert,"errorIconColor",z("palette-error-main")),Ce(T.Alert,"infoIconColor",z("palette-info-main")),Ce(T.Alert,"successIconColor",z("palette-success-main")),Ce(T.Alert,"warningIconColor",z("palette-warning-main")),Ce(T.AppBar,"defaultBg",z("palette-grey-100")),Ce(T.Avatar,"defaultBg",z("palette-grey-400")),Ce(T.Button,"inheritContainedBg",z("palette-grey-300")),Ce(T.Button,"inheritContainedHoverBg",z("palette-grey-A100")),Ce(T.Chip,"defaultBorder",z("palette-grey-400")),Ce(T.Chip,"defaultAvatarColor",z("palette-grey-700")),Ce(T.Chip,"defaultIconColor",z("palette-grey-700")),Ce(T.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ce(T.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ce(T.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ce(T.LinearProgress,"primaryBg",dn(T.primary.main,.62)),Ce(T.LinearProgress,"secondaryBg",dn(T.secondary.main,.62)),Ce(T.LinearProgress,"errorBg",dn(T.error.main,.62)),Ce(T.LinearProgress,"infoBg",dn(T.info.main,.62)),Ce(T.LinearProgress,"successBg",dn(T.success.main,.62)),Ce(T.LinearProgress,"warningBg",dn(T.warning.main,.62)),Ce(T.Skeleton,"bg",`rgba(${z("palette-text-primaryChannel")} / 0.11)`),Ce(T.Slider,"primaryTrack",dn(T.primary.main,.62)),Ce(T.Slider,"secondaryTrack",dn(T.secondary.main,.62)),Ce(T.Slider,"errorTrack",dn(T.error.main,.62)),Ce(T.Slider,"infoTrack",dn(T.info.main,.62)),Ce(T.Slider,"successTrack",dn(T.success.main,.62)),Ce(T.Slider,"warningTrack",dn(T.warning.main,.62));const V=wp(T.background.default,.8);Ce(T.SnackbarContent,"bg",V),Ce(T.SnackbarContent,"color",dl(()=>T.getContrastText(V))),Ce(T.SpeedDialAction,"fabHoverBg",wp(T.background.paper,.15)),Ce(T.StepConnector,"border",z("palette-grey-400")),Ce(T.StepContent,"border",z("palette-grey-400")),Ce(T.Switch,"defaultColor",z("palette-common-white")),Ce(T.Switch,"defaultDisabledColor",z("palette-grey-100")),Ce(T.Switch,"primaryDisabledColor",dn(T.primary.main,.62)),Ce(T.Switch,"secondaryDisabledColor",dn(T.secondary.main,.62)),Ce(T.Switch,"errorDisabledColor",dn(T.error.main,.62)),Ce(T.Switch,"infoDisabledColor",dn(T.info.main,.62)),Ce(T.Switch,"successDisabledColor",dn(T.success.main,.62)),Ce(T.Switch,"warningDisabledColor",dn(T.warning.main,.62)),Ce(T.TableCell,"border",dn(Cp(T.divider,1),.88)),Ce(T.Tooltip,"bg",Cp(T.grey[700],.92))}if(T.mode==="dark"){Ce(T.Alert,"errorColor",dn(T.error.light,.6)),Ce(T.Alert,"infoColor",dn(T.info.light,.6)),Ce(T.Alert,"successColor",dn(T.success.light,.6)),Ce(T.Alert,"warningColor",dn(T.warning.light,.6)),Ce(T.Alert,"errorFilledBg",z("palette-error-dark")),Ce(T.Alert,"infoFilledBg",z("palette-info-dark")),Ce(T.Alert,"successFilledBg",z("palette-success-dark")),Ce(T.Alert,"warningFilledBg",z("palette-warning-dark")),Ce(T.Alert,"errorFilledColor",dl(()=>T.getContrastText(T.error.dark))),Ce(T.Alert,"infoFilledColor",dl(()=>T.getContrastText(T.info.dark))),Ce(T.Alert,"successFilledColor",dl(()=>T.getContrastText(T.success.dark))),Ce(T.Alert,"warningFilledColor",dl(()=>T.getContrastText(T.warning.dark))),Ce(T.Alert,"errorStandardBg",un(T.error.light,.9)),Ce(T.Alert,"infoStandardBg",un(T.info.light,.9)),Ce(T.Alert,"successStandardBg",un(T.success.light,.9)),Ce(T.Alert,"warningStandardBg",un(T.warning.light,.9)),Ce(T.Alert,"errorIconColor",z("palette-error-main")),Ce(T.Alert,"infoIconColor",z("palette-info-main")),Ce(T.Alert,"successIconColor",z("palette-success-main")),Ce(T.Alert,"warningIconColor",z("palette-warning-main")),Ce(T.AppBar,"defaultBg",z("palette-grey-900")),Ce(T.AppBar,"darkBg",z("palette-background-paper")),Ce(T.AppBar,"darkColor",z("palette-text-primary")),Ce(T.Avatar,"defaultBg",z("palette-grey-600")),Ce(T.Button,"inheritContainedBg",z("palette-grey-800")),Ce(T.Button,"inheritContainedHoverBg",z("palette-grey-700")),Ce(T.Chip,"defaultBorder",z("palette-grey-700")),Ce(T.Chip,"defaultAvatarColor",z("palette-grey-300")),Ce(T.Chip,"defaultIconColor",z("palette-grey-300")),Ce(T.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ce(T.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ce(T.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ce(T.LinearProgress,"primaryBg",un(T.primary.main,.5)),Ce(T.LinearProgress,"secondaryBg",un(T.secondary.main,.5)),Ce(T.LinearProgress,"errorBg",un(T.error.main,.5)),Ce(T.LinearProgress,"infoBg",un(T.info.main,.5)),Ce(T.LinearProgress,"successBg",un(T.success.main,.5)),Ce(T.LinearProgress,"warningBg",un(T.warning.main,.5)),Ce(T.Skeleton,"bg",`rgba(${z("palette-text-primaryChannel")} / 0.13)`),Ce(T.Slider,"primaryTrack",un(T.primary.main,.5)),Ce(T.Slider,"secondaryTrack",un(T.secondary.main,.5)),Ce(T.Slider,"errorTrack",un(T.error.main,.5)),Ce(T.Slider,"infoTrack",un(T.info.main,.5)),Ce(T.Slider,"successTrack",un(T.success.main,.5)),Ce(T.Slider,"warningTrack",un(T.warning.main,.5));const V=wp(T.background.default,.98);Ce(T.SnackbarContent,"bg",V),Ce(T.SnackbarContent,"color",dl(()=>T.getContrastText(V))),Ce(T.SpeedDialAction,"fabHoverBg",wp(T.background.paper,.15)),Ce(T.StepConnector,"border",z("palette-grey-600")),Ce(T.StepContent,"border",z("palette-grey-600")),Ce(T.Switch,"defaultColor",z("palette-grey-300")),Ce(T.Switch,"defaultDisabledColor",z("palette-grey-600")),Ce(T.Switch,"primaryDisabledColor",un(T.primary.main,.55)),Ce(T.Switch,"secondaryDisabledColor",un(T.secondary.main,.55)),Ce(T.Switch,"errorDisabledColor",un(T.error.main,.55)),Ce(T.Switch,"infoDisabledColor",un(T.info.main,.55)),Ce(T.Switch,"successDisabledColor",un(T.success.main,.55)),Ce(T.Switch,"warningDisabledColor",un(T.warning.main,.55)),Ce(T.TableCell,"border",un(Cp(T.divider,1),.68)),Ce(T.Tooltip,"bg",Cp(T.grey[700],.92))}Yl(T.background,"default"),Yl(T.background,"paper"),Yl(T.common,"background"),Yl(T.common,"onBackground"),Yl(T,"divider"),Object.keys(T).forEach(V=>{const B=T[V];V!=="tonalOffset"&&B&&typeof B=="object"&&(B.main&&Ce(T[V],"mainChannel",td(nd(B.main))),B.light&&Ce(T[V],"lightChannel",td(nd(B.light))),B.dark&&Ce(T[V],"darkChannel",td(nd(B.dark))),B.contrastText&&Ce(T[V],"contrastTextChannel",td(nd(B.contrastText))),V==="text"&&(Yl(T[V],"primary"),Yl(T[V],"secondary")),V==="action"&&(B.active&&Yl(T[V],"active"),B.selected&&Yl(T[V],"selected")))})}),O=t.reduce((A,T)=>Cr(A,T),O);const k={prefix:a,disableCssColorScheme:l,shouldSkipGeneratingVar:s,getSelector:p5(O)},{vars:L,generateThemeVars:j,generateStyleSheets:_}=S$(O,k);return O.vars=L,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([A,T])=>{O[A]=T}),O.generateThemeVars=j,O.generateStyleSheets=_,O.generateSpacing=function(){return lk(f.spacing,Hv(this))},O.getColorSchemeSelector=C$(u),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=s,O.unstable_sxConfig={...jd,...f==null?void 0:f.unstable_sxConfig},O.unstable_sx=function(T){return ta({sx:T,theme:this})},O.toRuntimeSource=Rk,O}function w1(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:t0({...n===!0?{}:n.palette,mode:t})})}function Vh(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:l=n?void 0:{light:!0},defaultColorScheme:a=n==null?void 0:n.mode,...s}=e,u=a||"light",d=l==null?void 0:l[u],f={...l,...n?{[u]:{...typeof d!="boolean"&&d,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return $y(e,...t);let h=n;"palette"in e||f[u]&&(f[u]!==!0?h=f[u].palette:u==="dark"&&(h={mode:"dark"}));const g=$y({...e,palette:h},...t);return g.defaultColorScheme=u,g.colorSchemes=f,g.palette.mode==="light"&&(g.colorSchemes.light={...f.light!==!0&&f.light,palette:g.palette},w1(g,"dark",f.dark)),g.palette.mode==="dark"&&(g.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:g.palette},w1(g,"light",f.light)),g}return!n&&!("light"in f)&&u==="light"&&(f.light=!0),b5({...s,colorSchemes:f,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const Wh=Vh(),Po="$$material";function Nr(){const e=Wd(Wh);return e[Po]||e}function y5(e){return x.jsx(DD,{...e,defaultTheme:Wh,themeId:Po})}function Pk(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ir=e=>Pk(e)&&e!=="classes",ue=uk({themeId:Po,defaultTheme:Wh,rootShouldForwardProp:Ir});function n0(e){return function(n){return x.jsx(y5,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function v5(){return Fv}function nt(e){return c$(e)}const Hy=typeof n0({})=="function",S5=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),C5=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Ak=(e,t=!1)=>{var a,s;const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([u,d])=>{var h,g;const f=e.getColorSchemeSelector(u);f.startsWith("@")?n[f]={":root":{colorScheme:(h=d.palette)==null?void 0:h.mode}}:n[f.replace(/\s*&/,"")]={colorScheme:(g=d.palette)==null?void 0:g.mode}});let r={html:S5(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...C5(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const l=(s=(a=e.components)==null?void 0:a.MuiCssBaseline)==null?void 0:s.styleOverrides;return l&&(r=[r,l]),r},Np="mui-ecs",w5=e=>{const t=Ak(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Np})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,l])=>{var s,u;const a=e.getColorSchemeSelector(r);a.startsWith("@")?n[a]={[`:root:not(:has(.${Np}))`]:{colorScheme:(s=l.palette)==null?void 0:s.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Np}))`]:{colorScheme:(u=l.palette)==null?void 0:u.mode}}}),t},x5=n0(Hy?({theme:e,enableColorScheme:t})=>Ak(e,t):({theme:e})=>w5(e));function E5(e){const t=nt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return x.jsxs(b.Fragment,{children:[Hy&&x.jsx(x5,{enableColorScheme:r}),!Hy&&!r&&x.jsx("span",{className:Np,style:{display:"none"}}),n]})}function M5(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function T5(e){return parseFloat(e)}function k5({props:e,name:t}){return qv({props:e,name:t,defaultTheme:Wh,themeId:Po})}function x1({theme:e,...t}){const n=Po in e?e[Po]:void 0;return x.jsx(xk,{...t,themeId:n?Po:void 0,theme:n||e})}const xp={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:R5}=g$({themeId:Po,theme:()=>Vh({cssVariables:!0}),colorSchemeStorageKey:xp.colorSchemeStorageKey,modeStorageKey:xp.modeStorageKey,defaultColorScheme:{light:xp.defaultLightColorScheme,dark:xp.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:kk(e.palette,e.typography)};return t.unstable_sx=function(r){return ta({sx:r,theme:this})},t}}),I5=R5;function O5({theme:e,...t}){return typeof e=="function"?x.jsx(x1,{theme:e,...t}):"colorSchemes"in(Po in e?e[Po]:e)?x.jsx(I5,{theme:e,...t}):x.jsx(x1,{theme:e,...t})}const Lk=b.createContext(),P5={organisations:[],organisationLookup:{},mobiles:[],mobileLookup:{},mobileLocations:[],mobileLocationLookup:{},mobilesNearest:[],mobilesNearestLookup:{},routes:[],routeLookup:{},stops:[],trips:[]},A5=(e,t)=>{switch(t.type){case"AddOrganisations":return{...e,organisations:t.organisations,organisationLookup:t.organisationLookup};case"AddMobileLocations":return{...e,mobileLocations:t.mobileLocations,mobileLocationLookup:t.mobileLocationLookup};case"AddRoutes":return{...e,routes:t.routes,routeLookup:t.routeLookup};case"AddMobiles":return{...e,mobiles:t.mobiles,mobileLookup:t.mobileLookup};case"UpdateMobilesNearest":return{...e,mobilesNearest:t.mobilesNearest,mobilesNearestLookup:t.mobilesNearestLookup};default:return e}},L5=({children:e})=>x.jsx(Lk.Provider,{value:b.useReducer(A5,P5),children:e}),qd=()=>b.useContext(Lk),Dk=b.createContext(),D5={searchPostcode:"",searchType:"",searchDistance:1609,searchPosition:[],searchPositionUpdateInterval:null,organisationFilter:[],mobileFilter:[],routeFilter:[],currentStopId:null,currentMobileLibraryId:null,currentTripId:null},$5=(e,t)=>{switch(t.type){case"SetCurrentStop":return{...e,currentStopId:t.currentStopId};case"SetCurrentMobileLibrary":return{...e,currentMobileLibraryId:t.mobileLibraryId};case"SetCurrentTrip":return{...e,currentTripId:t.currentTripId};case"SetSearchDistance":return{...e,searchDistance:t.searchDistance};case"SetPostcodeSearch":return{...e,searchPostcode:t.searchPostcode,searchPosition:t.searchPosition,searchType:"postcode",organisationFilter:[],mobileFilter:[],routeFilter:[]};case"FilterByOrganisation":return{...e,organisationFilter:[t.organisationId],mobileFilter:[],routeFilter:[],searchPostcode:"",searchPosition:[],searchType:""};case"FilterByMobile":return{...e,organisationFilter:[t.organisationId],mobileFilter:[t.mobileId],routeFilter:[],searchPostcode:"",searchPosition:[],searchType:""};case"FilterByRoute":return{...e,routeFilter:[t.routeId],searchPostcode:"",searchPosition:[],searchType:""};case"ClearAll":return{...e,organisationFilter:[],mobileFilter:[],routeFilter:[],searchPostcode:"",searchPosition:[],searchType:""};case"ClearMobileFilter":return{...e,mobileFilter:[],routeFilter:[],searchPostcode:"",searchPosition:[],searchType:""};case"ClearRouteFilter":return{...e,routeFilter:[],searchPostcode:"",searchPosition:[],searchType:""};default:return e}},z5=({children:e})=>x.jsx(Dk.Provider,{value:b.useReducer($5,D5),children:e}),si=()=>b.useContext(Dk),$k=b.createContext(),H5={stopDialogOpen:!1,mobileLibraryDialogOpen:!1,tripDialogOpen:!1,notificationOpen:!1,notificationMessage:"",mapZoom:[7],mapPosition:[-1.155414,52.691432],mapSettings:{authorityBoundary:!1},mapSettingsDialogOpen:!1,loadingOrganisations:!1,loadingMobiles:!1,loadingRoutes:!1,loadingMobileLocations:!1,loadingNearestMobiles:!1,loadingPostcode:!1,loadingLocation:!1,locationLoaded:!1},B5=(e,t)=>{switch(t.type){case"SetNotificationMessage":return{...e,notificationMessage:t.notificationMessage};case"SetNotification":return{...e,notificationOpen:t.notificationOpen};case"ShowNotification":return{...e,notificationOpen:!0,notificationMessage:t.notificationMessage};case"SetStopDialog":return{...e,stopDialogOpen:t.stopDialogOpen};case"SetMobileLibraryDialog":return{...e,mobileLibraryDialogOpen:t.mobileLibraryDialogOpen};case"SetTripDialog":return{...e,tripDialogOpen:t.tripDialogOpen};case"SetMapSettingsDialog":return{...e,mapSettingsDialogOpen:t.mapSettingsDialogOpen};case"ToggleMapSetting":{const n=e.mapSettings;return n[t.mapSetting]=!n[t.mapSetting],{...e,mapSettings:n}}case"SetPostcodeSearch":return{...e,mapPosition:t.mapPosition,mapZoom:[13]};case"ToggleLoadingPostcode":return{...e,loadingPostcode:!e.loadingPostcode};case"ToggleLoadingLocation":return{...e,loadingLocation:!e.loadingLocation,locationLoaded:!0};case"SetMapPosition":return{...e,mapPosition:t.mapPosition,mapZoom:[t.mapZoom]};default:return e}},F5=({children:e})=>x.jsx($k.Provider,{value:b.useReducer(B5,H5),children:e}),jo=()=>b.useContext($k);var ju={},E1;function N5(){if(E1)return ju;E1=1,Object.defineProperty(ju,"__esModule",{value:!0}),ju.parse=s,ju.serialize=f;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,l=Object.prototype.toString,a=(()=>{const m=function(){};return m.prototype=Object.create(null),m})();function s(m,S){const v=new a,C=m.length;if(C<2)return v;const w=(S==null?void 0:S.decode)||h;let E=0;do{const R=m.indexOf("=",E);if(R===-1)break;const I=m.indexOf(";",E),O=I===-1?C:I;if(R>O){E=m.lastIndexOf(";",R-1)+1;continue}const k=u(m,E,R),L=d(m,R,k),j=m.slice(k,L);if(v[j]===void 0){let _=u(m,R+1,O),A=d(m,O,_);const T=w(m.slice(_,A));v[j]=T}E=O+1}while(Ev;){const C=m.charCodeAt(--S);if(C!==32&&C!==9)return S+1}return v}function f(m,S,v){const C=(v==null?void 0:v.encode)||encodeURIComponent;if(!e.test(m))throw new TypeError(`argument name is invalid: ${m}`);const w=C(S);if(!t.test(w))throw new TypeError(`argument val is invalid: ${S}`);let E=m+"="+w;if(!v)return E;if(v.maxAge!==void 0){if(!Number.isInteger(v.maxAge))throw new TypeError(`option maxAge is invalid: ${v.maxAge}`);E+="; Max-Age="+v.maxAge}if(v.domain){if(!n.test(v.domain))throw new TypeError(`option domain is invalid: ${v.domain}`);E+="; Domain="+v.domain}if(v.path){if(!r.test(v.path))throw new TypeError(`option path is invalid: ${v.path}`);E+="; Path="+v.path}if(v.expires){if(!g(v.expires)||!Number.isFinite(v.expires.valueOf()))throw new TypeError(`option expires is invalid: ${v.expires}`);E+="; Expires="+v.expires.toUTCString()}if(v.httpOnly&&(E+="; HttpOnly"),v.secure&&(E+="; Secure"),v.partitioned&&(E+="; Partitioned"),v.priority)switch(typeof v.priority=="string"?v.priority.toLowerCase():void 0){case"low":E+="; Priority=Low";break;case"medium":E+="; Priority=Medium";break;case"high":E+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${v.priority}`)}if(v.sameSite)switch(typeof v.sameSite=="string"?v.sameSite.toLowerCase():v.sameSite){case!0:case"strict":E+="; SameSite=Strict";break;case"lax":E+="; SameSite=Lax";break;case"none":E+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${v.sameSite}`)}return E}function h(m){if(m.indexOf("%")===-1)return m;try{return decodeURIComponent(m)}catch{return m}}function g(m){return l.call(m)==="[object Date]"}return ju}N5();/** +export default theme;`}function $y(e={},...t){const{breakpoints:n,mixins:r={},spacing:l,palette:a={},transitions:s={},typography:u={},shape:d,...f}=e;if(e.vars)throw new Error(ri(20));const h=t0(a),g=Vd(e);let m=Cr(g,{mixins:Q$(g.breakpoints,r),palette:h,shadows:r5.slice(),typography:Rk(h,u),transitions:a5(s),zIndex:{...s5}});return m=Cr(m,f),m=t.reduce((S,v)=>Cr(S,v),m),m.unstable_sxConfig={...jd,...f==null?void 0:f.unstable_sxConfig},m.unstable_sx=function(v){return ta({sx:v,theme:this})},m.toRuntimeSource=Ik,m}function zy(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const u5=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=zy(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Ok(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Pk(e){return e==="dark"?u5:[]}function d5(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...l}=e,a=t0(t);return{palette:a,opacity:{...Ok(a.mode),...n},overlays:r||Pk(a.mode),...l}}function f5(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const p5=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],h5=e=>(t,n)=>{const r=e.rootSelector||":root",l=e.colorSchemeSelector;let a=l;if(l==="class"&&(a=".%s"),l==="data"&&(a="[data-%s]"),l!=null&&l.startsWith("data-")&&!l.includes("%s")&&(a=`[${l}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return p5(e.cssVarPrefix).forEach(u=>{s[u]=n[u],delete n[u]}),a==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:s}}:a?{[a.replace("%s",t)]:s,[`${r}, ${a.replace("%s",t)}`]:n}:{[r]:{...n,...s}}}if(a&&a!=="media")return`${r}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace("%s",String(t))}return r};function m5(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Ce(e,t,n){!e[t]&&n&&(e[t]=n)}function nd(e){return typeof e!="string"||!e.startsWith("hsl")?e:mk(e)}function Yl(e,t){`${t}Channel`in e||(e[`${t}Channel`]=td(nd(e[t])))}function g5(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const dl=e=>{try{return e()}catch{}},b5=(e="mui")=>y$(e);function Ub(e,t,n,r){if(!t)return;t=t===!0?{}:t;const l=r==="dark"?"dark":"light";if(!n){e[r]=d5({...t,palette:{mode:l,...t==null?void 0:t.palette}});return}const{palette:a,...s}=$y({...n,palette:{mode:l,...t==null?void 0:t.palette}});return e[r]={...t,palette:a,opacity:{...Ok(l),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||Pk(l)},s}function y5(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:l=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:s=f5,colorSchemeSelector:u=n.light&&n.dark?"media":void 0,rootSelector:d=":root",...f}=e,h=Object.keys(n)[0],g=r||(n.light&&h!=="light"?"light":h),m=b5(a),{[g]:S,light:v,dark:C,...w}=n,E={...w};let R=S;if((g==="dark"&&!("dark"in n)||g==="light"&&!("light"in n))&&(R=!0),!R)throw new Error(ri(21,g));const I=Ub(E,R,f,g);v&&!E.light&&Ub(E,v,void 0,"light"),C&&!E.dark&&Ub(E,C,void 0,"dark");let O={defaultColorScheme:g,...I,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:d,getCssVar:m,colorSchemes:E,font:{...Z$(I.typography),...I.font},spacing:g5(f.spacing)};Object.keys(O.colorSchemes).forEach(A=>{const T=O.colorSchemes[A].palette,z=V=>{const B=V.split("-"),U=B[1],H=B[2];return m(V,T[U][H])};if(T.mode==="light"&&(Ce(T.common,"background","#fff"),Ce(T.common,"onBackground","#000")),T.mode==="dark"&&(Ce(T.common,"background","#000"),Ce(T.common,"onBackground","#fff")),m5(T,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),T.mode==="light"){Ce(T.Alert,"errorColor",un(T.error.light,.6)),Ce(T.Alert,"infoColor",un(T.info.light,.6)),Ce(T.Alert,"successColor",un(T.success.light,.6)),Ce(T.Alert,"warningColor",un(T.warning.light,.6)),Ce(T.Alert,"errorFilledBg",z("palette-error-main")),Ce(T.Alert,"infoFilledBg",z("palette-info-main")),Ce(T.Alert,"successFilledBg",z("palette-success-main")),Ce(T.Alert,"warningFilledBg",z("palette-warning-main")),Ce(T.Alert,"errorFilledColor",dl(()=>T.getContrastText(T.error.main))),Ce(T.Alert,"infoFilledColor",dl(()=>T.getContrastText(T.info.main))),Ce(T.Alert,"successFilledColor",dl(()=>T.getContrastText(T.success.main))),Ce(T.Alert,"warningFilledColor",dl(()=>T.getContrastText(T.warning.main))),Ce(T.Alert,"errorStandardBg",dn(T.error.light,.9)),Ce(T.Alert,"infoStandardBg",dn(T.info.light,.9)),Ce(T.Alert,"successStandardBg",dn(T.success.light,.9)),Ce(T.Alert,"warningStandardBg",dn(T.warning.light,.9)),Ce(T.Alert,"errorIconColor",z("palette-error-main")),Ce(T.Alert,"infoIconColor",z("palette-info-main")),Ce(T.Alert,"successIconColor",z("palette-success-main")),Ce(T.Alert,"warningIconColor",z("palette-warning-main")),Ce(T.AppBar,"defaultBg",z("palette-grey-100")),Ce(T.Avatar,"defaultBg",z("palette-grey-400")),Ce(T.Button,"inheritContainedBg",z("palette-grey-300")),Ce(T.Button,"inheritContainedHoverBg",z("palette-grey-A100")),Ce(T.Chip,"defaultBorder",z("palette-grey-400")),Ce(T.Chip,"defaultAvatarColor",z("palette-grey-700")),Ce(T.Chip,"defaultIconColor",z("palette-grey-700")),Ce(T.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ce(T.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ce(T.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ce(T.LinearProgress,"primaryBg",dn(T.primary.main,.62)),Ce(T.LinearProgress,"secondaryBg",dn(T.secondary.main,.62)),Ce(T.LinearProgress,"errorBg",dn(T.error.main,.62)),Ce(T.LinearProgress,"infoBg",dn(T.info.main,.62)),Ce(T.LinearProgress,"successBg",dn(T.success.main,.62)),Ce(T.LinearProgress,"warningBg",dn(T.warning.main,.62)),Ce(T.Skeleton,"bg",`rgba(${z("palette-text-primaryChannel")} / 0.11)`),Ce(T.Slider,"primaryTrack",dn(T.primary.main,.62)),Ce(T.Slider,"secondaryTrack",dn(T.secondary.main,.62)),Ce(T.Slider,"errorTrack",dn(T.error.main,.62)),Ce(T.Slider,"infoTrack",dn(T.info.main,.62)),Ce(T.Slider,"successTrack",dn(T.success.main,.62)),Ce(T.Slider,"warningTrack",dn(T.warning.main,.62));const V=wp(T.background.default,.8);Ce(T.SnackbarContent,"bg",V),Ce(T.SnackbarContent,"color",dl(()=>T.getContrastText(V))),Ce(T.SpeedDialAction,"fabHoverBg",wp(T.background.paper,.15)),Ce(T.StepConnector,"border",z("palette-grey-400")),Ce(T.StepContent,"border",z("palette-grey-400")),Ce(T.Switch,"defaultColor",z("palette-common-white")),Ce(T.Switch,"defaultDisabledColor",z("palette-grey-100")),Ce(T.Switch,"primaryDisabledColor",dn(T.primary.main,.62)),Ce(T.Switch,"secondaryDisabledColor",dn(T.secondary.main,.62)),Ce(T.Switch,"errorDisabledColor",dn(T.error.main,.62)),Ce(T.Switch,"infoDisabledColor",dn(T.info.main,.62)),Ce(T.Switch,"successDisabledColor",dn(T.success.main,.62)),Ce(T.Switch,"warningDisabledColor",dn(T.warning.main,.62)),Ce(T.TableCell,"border",dn(Cp(T.divider,1),.88)),Ce(T.Tooltip,"bg",Cp(T.grey[700],.92))}if(T.mode==="dark"){Ce(T.Alert,"errorColor",dn(T.error.light,.6)),Ce(T.Alert,"infoColor",dn(T.info.light,.6)),Ce(T.Alert,"successColor",dn(T.success.light,.6)),Ce(T.Alert,"warningColor",dn(T.warning.light,.6)),Ce(T.Alert,"errorFilledBg",z("palette-error-dark")),Ce(T.Alert,"infoFilledBg",z("palette-info-dark")),Ce(T.Alert,"successFilledBg",z("palette-success-dark")),Ce(T.Alert,"warningFilledBg",z("palette-warning-dark")),Ce(T.Alert,"errorFilledColor",dl(()=>T.getContrastText(T.error.dark))),Ce(T.Alert,"infoFilledColor",dl(()=>T.getContrastText(T.info.dark))),Ce(T.Alert,"successFilledColor",dl(()=>T.getContrastText(T.success.dark))),Ce(T.Alert,"warningFilledColor",dl(()=>T.getContrastText(T.warning.dark))),Ce(T.Alert,"errorStandardBg",un(T.error.light,.9)),Ce(T.Alert,"infoStandardBg",un(T.info.light,.9)),Ce(T.Alert,"successStandardBg",un(T.success.light,.9)),Ce(T.Alert,"warningStandardBg",un(T.warning.light,.9)),Ce(T.Alert,"errorIconColor",z("palette-error-main")),Ce(T.Alert,"infoIconColor",z("palette-info-main")),Ce(T.Alert,"successIconColor",z("palette-success-main")),Ce(T.Alert,"warningIconColor",z("palette-warning-main")),Ce(T.AppBar,"defaultBg",z("palette-grey-900")),Ce(T.AppBar,"darkBg",z("palette-background-paper")),Ce(T.AppBar,"darkColor",z("palette-text-primary")),Ce(T.Avatar,"defaultBg",z("palette-grey-600")),Ce(T.Button,"inheritContainedBg",z("palette-grey-800")),Ce(T.Button,"inheritContainedHoverBg",z("palette-grey-700")),Ce(T.Chip,"defaultBorder",z("palette-grey-700")),Ce(T.Chip,"defaultAvatarColor",z("palette-grey-300")),Ce(T.Chip,"defaultIconColor",z("palette-grey-300")),Ce(T.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ce(T.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ce(T.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ce(T.LinearProgress,"primaryBg",un(T.primary.main,.5)),Ce(T.LinearProgress,"secondaryBg",un(T.secondary.main,.5)),Ce(T.LinearProgress,"errorBg",un(T.error.main,.5)),Ce(T.LinearProgress,"infoBg",un(T.info.main,.5)),Ce(T.LinearProgress,"successBg",un(T.success.main,.5)),Ce(T.LinearProgress,"warningBg",un(T.warning.main,.5)),Ce(T.Skeleton,"bg",`rgba(${z("palette-text-primaryChannel")} / 0.13)`),Ce(T.Slider,"primaryTrack",un(T.primary.main,.5)),Ce(T.Slider,"secondaryTrack",un(T.secondary.main,.5)),Ce(T.Slider,"errorTrack",un(T.error.main,.5)),Ce(T.Slider,"infoTrack",un(T.info.main,.5)),Ce(T.Slider,"successTrack",un(T.success.main,.5)),Ce(T.Slider,"warningTrack",un(T.warning.main,.5));const V=wp(T.background.default,.98);Ce(T.SnackbarContent,"bg",V),Ce(T.SnackbarContent,"color",dl(()=>T.getContrastText(V))),Ce(T.SpeedDialAction,"fabHoverBg",wp(T.background.paper,.15)),Ce(T.StepConnector,"border",z("palette-grey-600")),Ce(T.StepContent,"border",z("palette-grey-600")),Ce(T.Switch,"defaultColor",z("palette-grey-300")),Ce(T.Switch,"defaultDisabledColor",z("palette-grey-600")),Ce(T.Switch,"primaryDisabledColor",un(T.primary.main,.55)),Ce(T.Switch,"secondaryDisabledColor",un(T.secondary.main,.55)),Ce(T.Switch,"errorDisabledColor",un(T.error.main,.55)),Ce(T.Switch,"infoDisabledColor",un(T.info.main,.55)),Ce(T.Switch,"successDisabledColor",un(T.success.main,.55)),Ce(T.Switch,"warningDisabledColor",un(T.warning.main,.55)),Ce(T.TableCell,"border",un(Cp(T.divider,1),.68)),Ce(T.Tooltip,"bg",Cp(T.grey[700],.92))}Yl(T.background,"default"),Yl(T.background,"paper"),Yl(T.common,"background"),Yl(T.common,"onBackground"),Yl(T,"divider"),Object.keys(T).forEach(V=>{const B=T[V];V!=="tonalOffset"&&B&&typeof B=="object"&&(B.main&&Ce(T[V],"mainChannel",td(nd(B.main))),B.light&&Ce(T[V],"lightChannel",td(nd(B.light))),B.dark&&Ce(T[V],"darkChannel",td(nd(B.dark))),B.contrastText&&Ce(T[V],"contrastTextChannel",td(nd(B.contrastText))),V==="text"&&(Yl(T[V],"primary"),Yl(T[V],"secondary")),V==="action"&&(B.active&&Yl(T[V],"active"),B.selected&&Yl(T[V],"selected")))})}),O=t.reduce((A,T)=>Cr(A,T),O);const k={prefix:a,disableCssColorScheme:l,shouldSkipGeneratingVar:s,getSelector:h5(O)},{vars:L,generateThemeVars:j,generateStyleSheets:_}=C$(O,k);return O.vars=L,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([A,T])=>{O[A]=T}),O.generateThemeVars=j,O.generateStyleSheets=_,O.generateSpacing=function(){return ik(f.spacing,Hv(this))},O.getColorSchemeSelector=w$(u),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=s,O.unstable_sxConfig={...jd,...f==null?void 0:f.unstable_sxConfig},O.unstable_sx=function(T){return ta({sx:T,theme:this})},O.toRuntimeSource=Ik,O}function w1(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:t0({...n===!0?{}:n.palette,mode:t})})}function Vh(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:l=n?void 0:{light:!0},defaultColorScheme:a=n==null?void 0:n.mode,...s}=e,u=a||"light",d=l==null?void 0:l[u],f={...l,...n?{[u]:{...typeof d!="boolean"&&d,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return $y(e,...t);let h=n;"palette"in e||f[u]&&(f[u]!==!0?h=f[u].palette:u==="dark"&&(h={mode:"dark"}));const g=$y({...e,palette:h},...t);return g.defaultColorScheme=u,g.colorSchemes=f,g.palette.mode==="light"&&(g.colorSchemes.light={...f.light!==!0&&f.light,palette:g.palette},w1(g,"dark",f.dark)),g.palette.mode==="dark"&&(g.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:g.palette},w1(g,"light",f.light)),g}return!n&&!("light"in f)&&u==="light"&&(f.light=!0),y5({...s,colorSchemes:f,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const Wh=Vh(),Po="$$material";function Nr(){const e=Wd(Wh);return e[Po]||e}function v5(e){return x.jsx($D,{...e,defaultTheme:Wh,themeId:Po})}function Ak(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ir=e=>Ak(e)&&e!=="classes",ue=dk({themeId:Po,defaultTheme:Wh,rootShouldForwardProp:Ir});function n0(e){return function(n){return x.jsx(v5,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function S5(){return Fv}function nt(e){return u$(e)}const Hy=typeof n0({})=="function",C5=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),w5=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Lk=(e,t=!1)=>{var a,s;const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([u,d])=>{var h,g;const f=e.getColorSchemeSelector(u);f.startsWith("@")?n[f]={":root":{colorScheme:(h=d.palette)==null?void 0:h.mode}}:n[f.replace(/\s*&/,"")]={colorScheme:(g=d.palette)==null?void 0:g.mode}});let r={html:C5(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...w5(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const l=(s=(a=e.components)==null?void 0:a.MuiCssBaseline)==null?void 0:s.styleOverrides;return l&&(r=[r,l]),r},Np="mui-ecs",x5=e=>{const t=Lk(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Np})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,l])=>{var s,u;const a=e.getColorSchemeSelector(r);a.startsWith("@")?n[a]={[`:root:not(:has(.${Np}))`]:{colorScheme:(s=l.palette)==null?void 0:s.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Np}))`]:{colorScheme:(u=l.palette)==null?void 0:u.mode}}}),t},E5=n0(Hy?({theme:e,enableColorScheme:t})=>Lk(e,t):({theme:e})=>x5(e));function M5(e){const t=nt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return x.jsxs(b.Fragment,{children:[Hy&&x.jsx(E5,{enableColorScheme:r}),!Hy&&!r&&x.jsx("span",{className:Np,style:{display:"none"}}),n]})}function T5(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function k5(e){return parseFloat(e)}function R5({props:e,name:t}){return qv({props:e,name:t,defaultTheme:Wh,themeId:Po})}function x1({theme:e,...t}){const n=Po in e?e[Po]:void 0;return x.jsx(Ek,{...t,themeId:n?Po:void 0,theme:n||e})}const xp={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:I5}=b$({themeId:Po,theme:()=>Vh({cssVariables:!0}),colorSchemeStorageKey:xp.colorSchemeStorageKey,modeStorageKey:xp.modeStorageKey,defaultColorScheme:{light:xp.defaultLightColorScheme,dark:xp.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Rk(e.palette,e.typography)};return t.unstable_sx=function(r){return ta({sx:r,theme:this})},t}}),O5=I5;function P5({theme:e,...t}){return typeof e=="function"?x.jsx(x1,{theme:e,...t}):"colorSchemes"in(Po in e?e[Po]:e)?x.jsx(O5,{theme:e,...t}):x.jsx(x1,{theme:e,...t})}const Dk=b.createContext(),A5={organisations:[],organisationLookup:{},mobiles:[],mobileLookup:{},mobileLocations:[],mobileLocationLookup:{},mobilesNearest:[],mobilesNearestLookup:{},routes:[],routeLookup:{},stops:[],trips:[]},L5=(e,t)=>{switch(t.type){case"AddOrganisations":return{...e,organisations:t.organisations,organisationLookup:t.organisationLookup};case"AddMobileLocations":return{...e,mobileLocations:t.mobileLocations,mobileLocationLookup:t.mobileLocationLookup};case"AddRoutes":return{...e,routes:t.routes,routeLookup:t.routeLookup};case"AddMobiles":return{...e,mobiles:t.mobiles,mobileLookup:t.mobileLookup};case"UpdateMobilesNearest":return{...e,mobilesNearest:t.mobilesNearest,mobilesNearestLookup:t.mobilesNearestLookup};default:return e}},D5=({children:e})=>x.jsx(Dk.Provider,{value:b.useReducer(L5,A5),children:e}),qd=()=>b.useContext(Dk),$k=b.createContext(),$5={searchPostcode:"",searchType:"",searchDistance:1609,searchPosition:[],searchPositionUpdateInterval:null,organisationFilter:[],mobileFilter:[],routeFilter:[],currentStopId:null,currentMobileLibraryId:null,currentTripId:null},z5=(e,t)=>{switch(t.type){case"SetCurrentStop":return{...e,currentStopId:t.currentStopId};case"SetCurrentMobileLibrary":return{...e,currentMobileLibraryId:t.mobileLibraryId};case"SetCurrentTrip":return{...e,currentTripId:t.currentTripId};case"SetSearchDistance":return{...e,searchDistance:t.searchDistance};case"SetPostcodeSearch":return{...e,searchPostcode:t.searchPostcode,searchPosition:t.searchPosition,searchType:"postcode",organisationFilter:[],mobileFilter:[],routeFilter:[]};case"FilterByOrganisation":return{...e,organisationFilter:[t.organisationId],mobileFilter:[],routeFilter:[],searchPostcode:"",searchPosition:[],searchType:""};case"FilterByMobile":return{...e,organisationFilter:[t.organisationId],mobileFilter:[t.mobileId],routeFilter:[],searchPostcode:"",searchPosition:[],searchType:""};case"FilterByRoute":return{...e,routeFilter:[t.routeId],searchPostcode:"",searchPosition:[],searchType:""};case"ClearAll":return{...e,organisationFilter:[],mobileFilter:[],routeFilter:[],searchPostcode:"",searchPosition:[],searchType:""};case"ClearMobileFilter":return{...e,mobileFilter:[],routeFilter:[],searchPostcode:"",searchPosition:[],searchType:""};case"ClearRouteFilter":return{...e,routeFilter:[],searchPostcode:"",searchPosition:[],searchType:""};default:return e}},H5=({children:e})=>x.jsx($k.Provider,{value:b.useReducer(z5,$5),children:e}),si=()=>b.useContext($k),zk=b.createContext(),B5={stopDialogOpen:!1,mobileLibraryDialogOpen:!1,tripDialogOpen:!1,notificationOpen:!1,notificationMessage:"",mapZoom:[7],mapPosition:[-1.155414,52.691432],mapSettings:{authorityBoundary:!1},mapSettingsDialogOpen:!1,loadingOrganisations:!1,loadingMobiles:!1,loadingRoutes:!1,loadingMobileLocations:!1,loadingNearestMobiles:!1,loadingPostcode:!1,loadingLocation:!1,locationLoaded:!1},F5=(e,t)=>{switch(t.type){case"SetNotificationMessage":return{...e,notificationMessage:t.notificationMessage};case"SetNotification":return{...e,notificationOpen:t.notificationOpen};case"ShowNotification":return{...e,notificationOpen:!0,notificationMessage:t.notificationMessage};case"SetStopDialog":return{...e,stopDialogOpen:t.stopDialogOpen};case"SetMobileLibraryDialog":return{...e,mobileLibraryDialogOpen:t.mobileLibraryDialogOpen};case"SetTripDialog":return{...e,tripDialogOpen:t.tripDialogOpen};case"SetMapSettingsDialog":return{...e,mapSettingsDialogOpen:t.mapSettingsDialogOpen};case"ToggleMapSetting":{const n=e.mapSettings;return n[t.mapSetting]=!n[t.mapSetting],{...e,mapSettings:n}}case"SetPostcodeSearch":return{...e,mapPosition:t.mapPosition,mapZoom:[13]};case"ToggleLoadingPostcode":return{...e,loadingPostcode:!e.loadingPostcode};case"ToggleLoadingLocation":return{...e,loadingLocation:!e.loadingLocation,locationLoaded:!0};case"SetMapPosition":return{...e,mapPosition:t.mapPosition,mapZoom:[t.mapZoom]};default:return e}},N5=({children:e})=>x.jsx(zk.Provider,{value:b.useReducer(F5,B5),children:e}),jo=()=>b.useContext(zk);var ju={},E1;function j5(){if(E1)return ju;E1=1,Object.defineProperty(ju,"__esModule",{value:!0}),ju.parse=s,ju.serialize=f;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,l=Object.prototype.toString,a=(()=>{const m=function(){};return m.prototype=Object.create(null),m})();function s(m,S){const v=new a,C=m.length;if(C<2)return v;const w=(S==null?void 0:S.decode)||h;let E=0;do{const R=m.indexOf("=",E);if(R===-1)break;const I=m.indexOf(";",E),O=I===-1?C:I;if(R>O){E=m.lastIndexOf(";",R-1)+1;continue}const k=u(m,E,R),L=d(m,R,k),j=m.slice(k,L);if(v[j]===void 0){let _=u(m,R+1,O),A=d(m,O,_);const T=w(m.slice(_,A));v[j]=T}E=O+1}while(Ev;){const C=m.charCodeAt(--S);if(C!==32&&C!==9)return S+1}return v}function f(m,S,v){const C=(v==null?void 0:v.encode)||encodeURIComponent;if(!e.test(m))throw new TypeError(`argument name is invalid: ${m}`);const w=C(S);if(!t.test(w))throw new TypeError(`argument val is invalid: ${S}`);let E=m+"="+w;if(!v)return E;if(v.maxAge!==void 0){if(!Number.isInteger(v.maxAge))throw new TypeError(`option maxAge is invalid: ${v.maxAge}`);E+="; Max-Age="+v.maxAge}if(v.domain){if(!n.test(v.domain))throw new TypeError(`option domain is invalid: ${v.domain}`);E+="; Domain="+v.domain}if(v.path){if(!r.test(v.path))throw new TypeError(`option path is invalid: ${v.path}`);E+="; Path="+v.path}if(v.expires){if(!g(v.expires)||!Number.isFinite(v.expires.valueOf()))throw new TypeError(`option expires is invalid: ${v.expires}`);E+="; Expires="+v.expires.toUTCString()}if(v.httpOnly&&(E+="; HttpOnly"),v.secure&&(E+="; Secure"),v.partitioned&&(E+="; Partitioned"),v.priority)switch(typeof v.priority=="string"?v.priority.toLowerCase():void 0){case"low":E+="; Priority=Low";break;case"medium":E+="; Priority=Medium";break;case"high":E+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${v.priority}`)}if(v.sameSite)switch(typeof v.sameSite=="string"?v.sameSite.toLowerCase():v.sameSite){case!0:case"strict":E+="; SameSite=Strict";break;case"lax":E+="; SameSite=Lax";break;case"none":E+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${v.sameSite}`)}return E}function h(m){if(m.indexOf("%")===-1)return m;try{return decodeURIComponent(m)}catch{return m}}function g(m){return l.call(m)==="[object Date]"}return ju}j5();/** * react-router v7.2.0 * * Copyright (c) Remix Software Inc. @@ -110,9 +110,9 @@ export default theme;`}function $y(e={},...t){const{breakpoints:n,mixins:r={},sp * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var M1="popstate";function j5(e={}){function t(r,l){let{pathname:a,search:s,hash:u}=r.location;return By("",{pathname:a,search:s,hash:u},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(r,l){return typeof l=="string"?l:xd(l)}return G5(t,n,null,e)}function Mn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function El(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function _5(){return Math.random().toString(36).substring(2,10)}function T1(e,t){return{usr:e.state,key:e.key,idx:t}}function By(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Rc(t):t,state:n,key:t&&t.key||r||_5()}}function xd({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Rc(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function G5(e,t,n,r={}){let{window:l=document.defaultView,v5Compat:a=!1}=r,s=l.history,u="POP",d=null,f=h();f==null&&(f=0,s.replaceState({...s.state,idx:f},""));function h(){return(s.state||{idx:null}).idx}function g(){u="POP";let w=h(),E=w==null?null:w-f;f=w,d&&d({action:u,location:C.location,delta:E})}function m(w,E){u="PUSH";let R=By(C.location,w,E);f=h()+1;let I=T1(R,f),O=C.createHref(R);try{s.pushState(I,"",O)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;l.location.assign(O)}a&&d&&d({action:u,location:C.location,delta:1})}function S(w,E){u="REPLACE";let R=By(C.location,w,E);f=h();let I=T1(R,f),O=C.createHref(R);s.replaceState(I,"",O),a&&d&&d({action:u,location:C.location,delta:0})}function v(w){let E=l.location.origin!=="null"?l.location.origin:l.location.href,R=typeof w=="string"?w:xd(w);return R=R.replace(/ $/,"%20"),Mn(E,`No window.location.(origin|href) available to create URL for href: ${R}`),new URL(R,E)}let C={get action(){return u},get location(){return e(l,s)},listen(w){if(d)throw new Error("A history only accepts one active listener");return l.addEventListener(M1,g),d=w,()=>{l.removeEventListener(M1,g),d=null}},createHref(w){return t(l,w)},createURL:v,encodeLocation(w){let E=v(w);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:m,replace:S,go(w){return s.go(w)}};return C}function zk(e,t,n="/"){return U5(e,t,n,!1)}function U5(e,t,n,r){let l=typeof t=="string"?Rc(t):t,a=na(l.pathname||"/",n);if(a==null)return null;let s=Hk(e);V5(s);let u=null;for(let d=0;u==null&&d{let d={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:s,route:a};d.relativePath.startsWith("/")&&(Mn(d.relativePath.startsWith(r),`Absolute route path "${d.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(r.length));let f=Jl([r,d.relativePath]),h=n.concat(d);a.children&&a.children.length>0&&(Mn(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),Hk(a.children,t,h,f)),!(a.path==null&&!a.index)&&t.push({path:f,score:Q5(f,a.index),routesMeta:h})};return e.forEach((a,s)=>{var u;if(a.path===""||!((u=a.path)!=null&&u.includes("?")))l(a,s);else for(let d of Bk(a.path))l(a,s,d)}),t}function Bk(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return l?[a,""]:[a];let s=Bk(r.join("/")),u=[];return u.push(...s.map(d=>d===""?a:[a,d].join("/"))),l&&u.push(...s),u.map(d=>e.startsWith("/")&&d===""?"/":d)}function V5(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:J5(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var W5=/^:[\w-]+$/,Y5=3,q5=2,K5=1,X5=10,Z5=-2,k1=e=>e==="*";function Q5(e,t){let n=e.split("/"),r=n.length;return n.some(k1)&&(r+=Z5),t&&(r+=q5),n.filter(l=>!k1(l)).reduce((l,a)=>l+(W5.test(a)?Y5:a===""?K5:X5),r)}function J5(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function ez(e,t,n=!1){let{routesMeta:r}=e,l={},a="/",s=[];for(let u=0;u{if(h==="*"){let v=u[m]||"";s=a.slice(0,a.length-v.length).replace(/(.)\/+$/,"$1")}const S=u[m];return g&&!S?f[h]=void 0:f[h]=(S||"").replace(/%2F/g,"/"),f},{}),pathname:a,pathnameBase:s,pattern:e}}function tz(e,t=!1,n=!0){El(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,u,d)=>(r.push({paramName:u,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Fk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return El(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function na(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function nz(e,t="/"){let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Rc(e):e;return{pathname:n?n.startsWith("/")?n:rz(n,t):t,search:iz(r),hash:az(l)}}function rz(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function Vb(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` 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 oz(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Nk(e){let t=oz(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function jk(e,t,n,r=!1){let l;typeof e=="string"?l=Rc(e):(l={...e},Mn(!l.pathname||!l.pathname.includes("?"),Vb("?","pathname","search",l)),Mn(!l.pathname||!l.pathname.includes("#"),Vb("#","pathname","hash",l)),Mn(!l.search||!l.search.includes("#"),Vb("#","search","hash",l)));let a=e===""||l.pathname==="",s=a?"/":l.pathname,u;if(s==null)u=n;else{let g=t.length-1;if(!r&&s.startsWith("..")){let m=s.split("/");for(;m[0]==="..";)m.shift(),g-=1;l.pathname=m.join("/")}u=g>=0?t[g]:"/"}let d=nz(l,u),f=s&&s!=="/"&&s.endsWith("/"),h=(a||s===".")&&n.endsWith("/");return!d.pathname.endsWith("/")&&(f||h)&&(d.pathname+="/"),d}var Jl=e=>e.join("/").replace(/\/\/+/g,"/"),lz=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),iz=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,az=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function sz(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var _k=["POST","PUT","PATCH","DELETE"];new Set(_k);var cz=["GET",..._k];new Set(cz);var Ic=b.createContext(null);Ic.displayName="DataRouter";var Yh=b.createContext(null);Yh.displayName="DataRouterState";var Gk=b.createContext({isTransitioning:!1});Gk.displayName="ViewTransition";var uz=b.createContext(new Map);uz.displayName="Fetchers";var dz=b.createContext(null);dz.displayName="Await";var Rl=b.createContext(null);Rl.displayName="Navigation";var Kd=b.createContext(null);Kd.displayName="Location";var ci=b.createContext({outlet:null,matches:[],isDataRoute:!1});ci.displayName="Route";var r0=b.createContext(null);r0.displayName="RouteError";function fz(e,{relative:t}={}){Mn(Oc(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=b.useContext(Rl),{hash:l,pathname:a,search:s}=Xd(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:Jl([n,a])),r.createHref({pathname:u,search:s,hash:l})}function Oc(){return b.useContext(Kd)!=null}function ui(){return Mn(Oc(),"useLocation() may be used only in the context of a component."),b.useContext(Kd).location}function pz(e){Mn(Oc(),"useMatch() may be used only in the context of a component.");let{pathname:t}=ui();return b.useMemo(()=>Ed(e,Fk(t)),[t,e])}var Uk="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Vk(e){b.useContext(Rl).static||b.useLayoutEffect(e)}function Wk(){let{isDataRoute:e}=b.useContext(ci);return e?Tz():hz()}function hz(){Mn(Oc(),"useNavigate() may be used only in the context of a component.");let e=b.useContext(Ic),{basename:t,navigator:n}=b.useContext(Rl),{matches:r}=b.useContext(ci),{pathname:l}=ui(),a=JSON.stringify(Nk(r)),s=b.useRef(!1);return Vk(()=>{s.current=!0}),b.useCallback((d,f={})=>{if(El(s.current,Uk),!s.current)return;if(typeof d=="number"){n.go(d);return}let h=jk(d,JSON.parse(a),l,f.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Jl([t,h.pathname])),(f.replace?n.replace:n.push)(h,f.state,f)},[t,n,a,l,e])}b.createContext(null);function Xd(e,{relative:t}={}){let{matches:n}=b.useContext(ci),{pathname:r}=ui(),l=JSON.stringify(Nk(n));return b.useMemo(()=>jk(e,JSON.parse(l),r,t==="path"),[e,l,r,t])}function mz(e,t){return Yk(e,t)}function Yk(e,t,n,r){var R;Mn(Oc(),"useRoutes() may be used only in the context of a component.");let{navigator:l,static:a}=b.useContext(Rl),{matches:s}=b.useContext(ci),u=s[s.length-1],d=u?u.params:{},f=u?u.pathname:"/",h=u?u.pathnameBase:"/",g=u&&u.route;{let I=g&&g.path||"";qk(f,!g||I.endsWith("*")||I.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${f}" (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 M1="popstate";function _5(e={}){function t(r,l){let{pathname:a,search:s,hash:u}=r.location;return By("",{pathname:a,search:s,hash:u},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(r,l){return typeof l=="string"?l:xd(l)}return U5(t,n,null,e)}function Mn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function El(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function G5(){return Math.random().toString(36).substring(2,10)}function T1(e,t){return{usr:e.state,key:e.key,idx:t}}function By(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Rc(t):t,state:n,key:t&&t.key||r||G5()}}function xd({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Rc(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function U5(e,t,n,r={}){let{window:l=document.defaultView,v5Compat:a=!1}=r,s=l.history,u="POP",d=null,f=h();f==null&&(f=0,s.replaceState({...s.state,idx:f},""));function h(){return(s.state||{idx:null}).idx}function g(){u="POP";let w=h(),E=w==null?null:w-f;f=w,d&&d({action:u,location:C.location,delta:E})}function m(w,E){u="PUSH";let R=By(C.location,w,E);f=h()+1;let I=T1(R,f),O=C.createHref(R);try{s.pushState(I,"",O)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;l.location.assign(O)}a&&d&&d({action:u,location:C.location,delta:1})}function S(w,E){u="REPLACE";let R=By(C.location,w,E);f=h();let I=T1(R,f),O=C.createHref(R);s.replaceState(I,"",O),a&&d&&d({action:u,location:C.location,delta:0})}function v(w){let E=l.location.origin!=="null"?l.location.origin:l.location.href,R=typeof w=="string"?w:xd(w);return R=R.replace(/ $/,"%20"),Mn(E,`No window.location.(origin|href) available to create URL for href: ${R}`),new URL(R,E)}let C={get action(){return u},get location(){return e(l,s)},listen(w){if(d)throw new Error("A history only accepts one active listener");return l.addEventListener(M1,g),d=w,()=>{l.removeEventListener(M1,g),d=null}},createHref(w){return t(l,w)},createURL:v,encodeLocation(w){let E=v(w);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:m,replace:S,go(w){return s.go(w)}};return C}function Hk(e,t,n="/"){return V5(e,t,n,!1)}function V5(e,t,n,r){let l=typeof t=="string"?Rc(t):t,a=na(l.pathname||"/",n);if(a==null)return null;let s=Bk(e);W5(s);let u=null;for(let d=0;u==null&&d{let d={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:s,route:a};d.relativePath.startsWith("/")&&(Mn(d.relativePath.startsWith(r),`Absolute route path "${d.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(r.length));let f=Jl([r,d.relativePath]),h=n.concat(d);a.children&&a.children.length>0&&(Mn(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),Bk(a.children,t,h,f)),!(a.path==null&&!a.index)&&t.push({path:f,score:J5(f,a.index),routesMeta:h})};return e.forEach((a,s)=>{var u;if(a.path===""||!((u=a.path)!=null&&u.includes("?")))l(a,s);else for(let d of Fk(a.path))l(a,s,d)}),t}function Fk(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return l?[a,""]:[a];let s=Fk(r.join("/")),u=[];return u.push(...s.map(d=>d===""?a:[a,d].join("/"))),l&&u.push(...s),u.map(d=>e.startsWith("/")&&d===""?"/":d)}function W5(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:ez(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Y5=/^:[\w-]+$/,q5=3,K5=2,X5=1,Z5=10,Q5=-2,k1=e=>e==="*";function J5(e,t){let n=e.split("/"),r=n.length;return n.some(k1)&&(r+=Q5),t&&(r+=K5),n.filter(l=>!k1(l)).reduce((l,a)=>l+(Y5.test(a)?q5:a===""?X5:Z5),r)}function ez(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function tz(e,t,n=!1){let{routesMeta:r}=e,l={},a="/",s=[];for(let u=0;u{if(h==="*"){let v=u[m]||"";s=a.slice(0,a.length-v.length).replace(/(.)\/+$/,"$1")}const S=u[m];return g&&!S?f[h]=void 0:f[h]=(S||"").replace(/%2F/g,"/"),f},{}),pathname:a,pathnameBase:s,pattern:e}}function nz(e,t=!1,n=!0){El(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,u,d)=>(r.push({paramName:u,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Nk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return El(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function na(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function rz(e,t="/"){let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Rc(e):e;return{pathname:n?n.startsWith("/")?n:oz(n,t):t,search:az(r),hash:sz(l)}}function oz(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function Vb(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` 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 lz(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function jk(e){let t=lz(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function _k(e,t,n,r=!1){let l;typeof e=="string"?l=Rc(e):(l={...e},Mn(!l.pathname||!l.pathname.includes("?"),Vb("?","pathname","search",l)),Mn(!l.pathname||!l.pathname.includes("#"),Vb("#","pathname","hash",l)),Mn(!l.search||!l.search.includes("#"),Vb("#","search","hash",l)));let a=e===""||l.pathname==="",s=a?"/":l.pathname,u;if(s==null)u=n;else{let g=t.length-1;if(!r&&s.startsWith("..")){let m=s.split("/");for(;m[0]==="..";)m.shift(),g-=1;l.pathname=m.join("/")}u=g>=0?t[g]:"/"}let d=rz(l,u),f=s&&s!=="/"&&s.endsWith("/"),h=(a||s===".")&&n.endsWith("/");return!d.pathname.endsWith("/")&&(f||h)&&(d.pathname+="/"),d}var Jl=e=>e.join("/").replace(/\/\/+/g,"/"),iz=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),az=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,sz=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function cz(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Gk=["POST","PUT","PATCH","DELETE"];new Set(Gk);var uz=["GET",...Gk];new Set(uz);var Ic=b.createContext(null);Ic.displayName="DataRouter";var Yh=b.createContext(null);Yh.displayName="DataRouterState";var Uk=b.createContext({isTransitioning:!1});Uk.displayName="ViewTransition";var dz=b.createContext(new Map);dz.displayName="Fetchers";var fz=b.createContext(null);fz.displayName="Await";var Rl=b.createContext(null);Rl.displayName="Navigation";var Kd=b.createContext(null);Kd.displayName="Location";var ci=b.createContext({outlet:null,matches:[],isDataRoute:!1});ci.displayName="Route";var r0=b.createContext(null);r0.displayName="RouteError";function pz(e,{relative:t}={}){Mn(Oc(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=b.useContext(Rl),{hash:l,pathname:a,search:s}=Xd(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:Jl([n,a])),r.createHref({pathname:u,search:s,hash:l})}function Oc(){return b.useContext(Kd)!=null}function ui(){return Mn(Oc(),"useLocation() may be used only in the context of a component."),b.useContext(Kd).location}function hz(e){Mn(Oc(),"useMatch() may be used only in the context of a component.");let{pathname:t}=ui();return b.useMemo(()=>Ed(e,Nk(t)),[t,e])}var Vk="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Wk(e){b.useContext(Rl).static||b.useLayoutEffect(e)}function Yk(){let{isDataRoute:e}=b.useContext(ci);return e?kz():mz()}function mz(){Mn(Oc(),"useNavigate() may be used only in the context of a component.");let e=b.useContext(Ic),{basename:t,navigator:n}=b.useContext(Rl),{matches:r}=b.useContext(ci),{pathname:l}=ui(),a=JSON.stringify(jk(r)),s=b.useRef(!1);return Wk(()=>{s.current=!0}),b.useCallback((d,f={})=>{if(El(s.current,Vk),!s.current)return;if(typeof d=="number"){n.go(d);return}let h=_k(d,JSON.parse(a),l,f.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Jl([t,h.pathname])),(f.replace?n.replace:n.push)(h,f.state,f)},[t,n,a,l,e])}b.createContext(null);function Xd(e,{relative:t}={}){let{matches:n}=b.useContext(ci),{pathname:r}=ui(),l=JSON.stringify(jk(n));return b.useMemo(()=>_k(e,JSON.parse(l),r,t==="path"),[e,l,r,t])}function gz(e,t){return qk(e,t)}function qk(e,t,n,r){var R;Mn(Oc(),"useRoutes() may be used only in the context of a component.");let{navigator:l,static:a}=b.useContext(Rl),{matches:s}=b.useContext(ci),u=s[s.length-1],d=u?u.params:{},f=u?u.pathname:"/",h=u?u.pathnameBase:"/",g=u&&u.route;{let I=g&&g.path||"";Kk(f,!g||I.endsWith("*")||I.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${f}" (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 m=ui(),S;if(t){let I=typeof t=="string"?Rc(t):t;Mn(h==="/"||((R=I.pathname)==null?void 0:R.startsWith(h)),`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 "${h}" but pathname "${I.pathname}" was given in the \`location\` prop.`),S=I}else S=m;let v=S.pathname||"/",C=v;if(h!=="/"){let I=h.replace(/^\//,"").split("/");C="/"+v.replace(/^\//,"").split("/").slice(I.length).join("/")}let w=!a&&n&&n.matches&&n.matches.length>0?n.matches:zk(e,{pathname:C});El(g||w!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),El(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.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 E=Sz(w&&w.map(I=>Object.assign({},I,{params:Object.assign({},d,I.params),pathname:Jl([h,l.encodeLocation?l.encodeLocation(I.pathname).pathname:I.pathname]),pathnameBase:I.pathnameBase==="/"?h:Jl([h,l.encodeLocation?l.encodeLocation(I.pathnameBase).pathname:I.pathnameBase])})),s,n,r);return t&&E?b.createElement(Kd.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...S},navigationType:"POP"}},E):E}function gz(){let e=Mz(),t=sz(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=b.createElement(b.Fragment,null,b.createElement("p",null,"💿 Hey developer 👋"),b.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",b.createElement("code",{style:a},"ErrorBoundary")," or"," ",b.createElement("code",{style:a},"errorElement")," prop on your route.")),b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:l},n):null,s)}var bz=b.createElement(gz,null),yz=class extends b.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?b.createElement(ci.Provider,{value:this.props.routeContext},b.createElement(r0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function vz({routeContext:e,match:t,children:n}){let r=b.useContext(Ic);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),b.createElement(ci.Provider,{value:e},n)}function Sz(e,t=[],n=null,r=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let l=e,a=n==null?void 0:n.errors;if(a!=null){let d=l.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);Mn(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),l=l.slice(0,Math.min(l.length,d+1))}let s=!1,u=-1;if(n)for(let d=0;d=0?l=l.slice(0,u+1):l=[l[0]];break}}}return l.reduceRight((d,f,h)=>{let g,m=!1,S=null,v=null;n&&(g=a&&f.route.id?a[f.route.id]:void 0,S=f.route.errorElement||bz,s&&(u<0&&h===0?(qk("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),m=!0,v=null):u===h&&(m=!0,v=f.route.hydrateFallbackElement||null)));let C=t.concat(l.slice(0,h+1)),w=()=>{let E;return g?E=S:m?E=v:f.route.Component?E=b.createElement(f.route.Component,null):f.route.element?E=f.route.element:E=d,b.createElement(vz,{match:f,routeContext:{outlet:d,matches:C,isDataRoute:n!=null},children:E})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?b.createElement(yz,{location:n.location,revalidation:n.revalidation,component:S,error:g,children:w(),routeContext:{outlet:null,matches:C,isDataRoute:!0}}):w()},null)}function o0(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Cz(e){let t=b.useContext(Ic);return Mn(t,o0(e)),t}function wz(e){let t=b.useContext(Yh);return Mn(t,o0(e)),t}function xz(e){let t=b.useContext(ci);return Mn(t,o0(e)),t}function l0(e){let t=xz(e),n=t.matches[t.matches.length-1];return Mn(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Ez(){return l0("useRouteId")}function Mz(){var r;let e=b.useContext(r0),t=wz("useRouteError"),n=l0("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function Tz(){let{router:e}=Cz("useNavigate"),t=l0("useNavigate"),n=b.useRef(!1);return Vk(()=>{n.current=!0}),b.useCallback(async(l,a={})=>{El(n.current,Uk),n.current&&(typeof l=="number"?e.navigate(l):await e.navigate(l,{fromRouteId:t,...a}))},[e,t])}var R1={};function qk(e,t,n){!t&&!R1[e]&&(R1[e]=!0,El(!1,n))}b.memo(kz);function kz({routes:e,future:t,state:n}){return Yk(e,void 0,n,t)}function Aa(e){Mn(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function Rz({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:l,static:a=!1}){Mn(!Oc(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:s,navigator:l,static:a,future:{}}),[s,l,a]);typeof n=="string"&&(n=Rc(n));let{pathname:d="/",search:f="",hash:h="",state:g=null,key:m="default"}=n,S=b.useMemo(()=>{let v=na(d,s);return v==null?null:{location:{pathname:v,search:f,hash:h,state:g,key:m},navigationType:r}},[s,d,f,h,g,m,r]);return El(S!=null,` is not able to match the URL "${d}${f}${h}" because it does not start with the basename, so the won't render anything.`),S==null?null:b.createElement(Rl.Provider,{value:u},b.createElement(Kd.Provider,{children:t,value:S}))}function Iz({children:e,location:t}){return mz(Fy(e),t)}function Fy(e,t=[]){let n=[];return b.Children.forEach(e,(r,l)=>{if(!b.isValidElement(r))return;let a=[...t,l];if(r.type===b.Fragment){n.push.apply(n,Fy(r.props.children,a));return}Mn(r.type===Aa,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),Mn(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={id:r.props.id||a.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=Fy(r.props.children,a)),n.push(s)}),n}var jp="get",_p="application/x-www-form-urlencoded";function qh(e){return e!=null&&typeof e.tagName=="string"}function Oz(e){return qh(e)&&e.tagName.toLowerCase()==="button"}function Pz(e){return qh(e)&&e.tagName.toLowerCase()==="form"}function Az(e){return qh(e)&&e.tagName.toLowerCase()==="input"}function Lz(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Dz(e,t){return e.button===0&&(!t||t==="_self")&&!Lz(e)}var Ep=null;function $z(){if(Ep===null)try{new FormData(document.createElement("form"),0),Ep=!1}catch{Ep=!0}return Ep}var zz=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Wb(e){return e!=null&&!zz.has(e)?(El(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${_p}"`),null):e}function Hz(e,t){let n,r,l,a,s;if(Pz(e)){let u=e.getAttribute("action");r=u?na(u,t):null,n=e.getAttribute("method")||jp,l=Wb(e.getAttribute("enctype"))||_p,a=new FormData(e)}else if(Oz(e)||Az(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a