From c2fb221d06256891f695e1948b43d1a55230fd7d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Jul 2025 13:34:10 +0000 Subject: [PATCH] Bump the minors group in /ui with 14 updates --- jhub_apps/static/js/index.js | 68 +-- ui/package-lock.json | 783 ++++++++++++++++------------------- ui/package.json | 26 +- 3 files changed, 398 insertions(+), 479 deletions(-) diff --git a/jhub_apps/static/js/index.js b/jhub_apps/static/js/index.js index bbbaf5ba..7dd3cc0f 100644 --- a/jhub_apps/static/js/index.js +++ b/jhub_apps/static/js/index.js @@ -1,4 +1,4 @@ -var a3=Object.defineProperty;var Wb=e=>{throw TypeError(e)};var l3=(e,t,n)=>t in e?a3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var zc=(e,t,n)=>l3(e,typeof t!="symbol"?t+"":t,n),em=(e,t,n)=>t.has(e)||Wb("Cannot "+n);var G=(e,t,n)=>(em(e,t,"read from private field"),n?n.call(e):t.get(e)),ht=(e,t,n)=>t.has(e)?Wb("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ue=(e,t,n,r)=>(em(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Dt=(e,t,n)=>(em(e,t,"access private method"),n);var ud=(e,t,n,r)=>({set _(s){Ue(e,t,s,n)},get _(){return G(e,t,r)}});function c3(e,t){for(var n=0;nr[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();function Ap(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tm={exports:{}},Sc={},nm={exports:{}},Mt={};/** +var l3=Object.defineProperty;var Jb=e=>{throw TypeError(e)};var c3=(e,t,n)=>t in e?l3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var zc=(e,t,n)=>c3(e,typeof t!="symbol"?t+"":t,n),em=(e,t,n)=>t.has(e)||Jb("Cannot "+n);var G=(e,t,n)=>(em(e,t,"read from private field"),n?n.call(e):t.get(e)),ht=(e,t,n)=>t.has(e)?Jb("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ze=(e,t,n,r)=>(em(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Dt=(e,t,n)=>(em(e,t,"access private method"),n);var ud=(e,t,n,r)=>({set _(s){Ze(e,t,s,n)},get _(){return G(e,t,r)}});function u3(e,t){for(var n=0;nr[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();function Ap(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tm={exports:{}},Sc={},nm={exports:{}},Mt={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var a3=Object.defineProperty;var Wb=e=>{throw TypeError(e)};var l3=(e,t,n)=>t in * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Jb;function u3(){if(Jb)return Mt;Jb=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.iterator;function g(E){return E===null||typeof E!="object"?null:(E=m&&E[m]||E["@@iterator"],typeof E=="function"?E:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,b={};function j(E,q,X){this.props=E,this.context=q,this.refs=b,this.updater=X||w}j.prototype.isReactComponent={},j.prototype.setState=function(E,q){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,q,"setState")},j.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function S(){}S.prototype=j.prototype;function z(E,q,X){this.props=E,this.context=q,this.refs=b,this.updater=X||w}var C=z.prototype=new S;C.constructor=z,A(C,j.prototype),C.isPureReactComponent=!0;var O=Array.isArray,D=Object.prototype.hasOwnProperty,T={current:null},M={key:!0,ref:!0,__self:!0,__source:!0};function L(E,q,X){var $,ee={},se=null,ae=null;if(q!=null)for($ in q.ref!==void 0&&(ae=q.ref),q.key!==void 0&&(se=""+q.key),q)D.call(q,$)&&!M.hasOwnProperty($)&&(ee[$]=q[$]);var ye=arguments.length-2;if(ye===1)ee.children=X;else if(1{throw TypeError(e)};var l3=(e,t,n)=>t in * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Yb;function f3(){if(Yb)return Sc;Yb=1;var e=Vy(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(u,f,p){var h,m={},g=null,w=null;p!==void 0&&(g=""+p),f.key!==void 0&&(g=""+f.key),f.ref!==void 0&&(w=f.ref);for(h in f)r.call(f,h)&&!a.hasOwnProperty(h)&&(m[h]=f[h]);if(u&&u.defaultProps)for(h in f=u.defaultProps,f)m[h]===void 0&&(m[h]=f[h]);return{$$typeof:t,type:u,key:g,ref:w,props:m,_owner:s.current}}return Sc.Fragment=n,Sc.jsx=l,Sc.jsxs=l,Sc}var qb;function d3(){return qb||(qb=1,tm.exports=f3()),tm.exports}var v=d3();const hu={black:"#000",white:"#fff"},Za={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ga={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Ua={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Qa={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Ka={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Cc={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},p3={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Rs(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.`}const uo="$$material";function Ms(){return Ms=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?_n(Xl,--Er):0,zl--,Ln===10&&(zl=1,bp--),Ln}function qr(){return Ln=Er2||yu(Ln)>3?"":" "}function S3(e,t){for(;--t&&qr()&&!(Ln<48||Ln>102||Ln>57&&Ln<65||Ln>70&&Ln<97););return Mu(e,Td()+(t<6&&as()==32&&qr()==32))}function Nm(e){for(;qr();)switch(Ln){case e:return Er;case 34:case 39:e!==34&&e!==39&&Nm(Ln);break;case 40:e===41&&Nm(e);break;case 92:qr();break}return Er}function C3(e,t){for(;qr()&&e+Ln!==57;)if(e+Ln===84&&as()===47)break;return"/*"+Mu(t,Er-1)+"*"+Pp(e===47?e:qr())}function O3(e){for(;!yu(as());)qr();return Mu(e,Er)}function D3(e){return u0(Rd("",null,null,null,[""],e=c0(e),0,[0],e))}function Rd(e,t,n,r,s,a,l,u,f){for(var p=0,h=0,m=l,g=0,w=0,A=0,b=1,j=1,S=1,z=0,C="",O=s,D=a,T=r,M=C;j;)switch(A=z,z=qr()){case 40:if(A!=108&&_n(M,m-1)==58){Xm(M+=Yt(Ed(z),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:M+=Ed(z);break;case 9:case 10:case 13:case 32:M+=z3(A);break;case 92:M+=S3(Td()-1,7);continue;case 47:switch(as()){case 42:case 47:fd(k3(C3(qr(),Td()),t,n),f);break;default:M+="/"}break;case 123*b:u[p++]=ns(M)*S;case 125*b:case 59:case 0:switch(z){case 0:case 125:j=0;case 59+h:S==-1&&(M=Yt(M,/\f/g,"")),w>0&&ns(M)-m&&fd(w>32?Gb(M+";",r,n,m-1):Gb(Yt(M," ","")+";",r,n,m-2),f);break;case 59:M+=";";default:if(fd(T=Zb(M,t,n,p,h,s,u,C,O=[],D=[],m),a),z===123)if(h===0)Rd(M,t,T,T,O,a,m,u,D);else switch(g===99&&_n(M,3)===110?100:g){case 100:case 108:case 109:case 115:Rd(e,T,T,r&&fd(Zb(e,T,T,0,0,s,u,C,s,O=[],m),D),s,D,m,u,r?O:D);break;default:Rd(M,T,T,T,[""],D,0,u,D)}}p=h=w=0,b=S=1,C=M="",m=l;break;case 58:m=1+ns(M),w=A;default:if(b<1){if(z==123)--b;else if(z==125&&b++==0&&j3()==125)continue}switch(M+=Pp(z),z*b){case 38:S=h>0?1:(M+="\f",-1);break;case 44:u[p++]=(ns(M)-1)*S,S=1;break;case 64:as()===45&&(M+=Ed(qr())),g=as(),h=m=ns(C=M+=O3(Td())),z++;break;case 45:A===45&&ns(M)==2&&(b=0)}}return a}function Zb(e,t,n,r,s,a,l,u,f,p,h){for(var m=s-1,g=s===0?a:[""],w=Jy(g),A=0,b=0,j=0;A0?g[S]+" "+z:Yt(z,/&\f/g,g[S])))&&(f[j++]=C);return xp(e,t,n,s===0?Iy:u,f,p,h)}function k3(e,t,n){return xp(e,t,n,s0,Pp(H3()),mu(e,2,-2),0)}function Gb(e,t,n,r){return xp(e,t,n,Wy,mu(e,0,r),mu(e,r+1,-1),r)}function ul(e,t){for(var n="",r=Jy(e),s=0;s6)switch(_n(e,t+1)){case 109:if(_n(e,t+4)!==45)break;case 102:return Yt(e,/(.+:)(.+)-([^]+)/,"$1"+Ft+"$2-$3$1"+_d+(_n(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xm(e,"stretch")?d0(Yt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(_n(e,t+1)!==115)break;case 6444:switch(_n(e,ns(e)-3-(~Xm(e,"!important")&&10))){case 107:return Yt(e,":",":"+Ft)+e;case 101:return Yt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ft+(_n(e,14)===45?"inline-":"")+"box$3$1"+Ft+"$2$3$1"+or+"$2box$3")+e}break;case 5936:switch(_n(e,t+11)){case 114:return Ft+e+or+Yt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ft+e+or+Yt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ft+e+or+Yt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ft+e+or+e+e}return e}var V3=function(t,n,r,s){if(t.length>-1&&!t.return)switch(t.type){case Wy:t.return=d0(t.value,t.length);break;case i0:return ul([Oc(t,{value:Yt(t.value,"@","@"+Ft)})],s);case Iy:if(t.length)return w3(t.props,function(a){switch(x3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ul([Oc(t,{props:[Yt(a,/:(read-\w+)/,":"+_d+"$1")]})],s);case"::placeholder":return ul([Oc(t,{props:[Yt(a,/:(plac\w+)/,":"+Ft+"input-$1")]}),Oc(t,{props:[Yt(a,/:(plac\w+)/,":"+_d+"$1")]}),Oc(t,{props:[Yt(a,/:(plac\w+)/,or+"input-$1")]})],s)}return""})}},I3=[V3],W3=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(b){var j=b.getAttribute("data-emotion");j.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var s=t.stylisPlugins||I3,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(b){for(var j=b.getAttribute("data-emotion").split(" "),S=1;Sn.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const uo="$$material";function Ms(){return Ms=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?_n(Xl,--Er):0,zl--,Xn===10&&(zl=1,bp--),Xn}function qr(){return Xn=Er2||yu(Xn)>3?"":" "}function C3(e,t){for(;--t&&qr()&&!(Xn<48||Xn>102||Xn>57&&Xn<65||Xn>70&&Xn<97););return Mu(e,Td()+(t<6&&as()==32&&qr()==32))}function Nm(e){for(;qr();)switch(Xn){case e:return Er;case 34:case 39:e!==34&&e!==39&&Nm(Xn);break;case 40:e===41&&Nm(e);break;case 92:qr();break}return Er}function O3(e,t){for(;qr()&&e+Xn!==57;)if(e+Xn===84&&as()===47)break;return"/*"+Mu(t,Er-1)+"*"+Pp(e===47?e:qr())}function D3(e){for(;!yu(as());)qr();return Mu(e,Er)}function k3(e){return f0(Rd("",null,null,null,[""],e=u0(e),0,[0],e))}function Rd(e,t,n,r,s,a,l,u,f){for(var p=0,h=0,m=l,g=0,w=0,A=0,b=1,j=1,S=1,z=0,C="",O=s,D=a,T=r,M=C;j;)switch(A=z,z=qr()){case 40:if(A!=108&&_n(M,m-1)==58){Xm(M+=Yt(Ed(z),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:M+=Ed(z);break;case 9:case 10:case 13:case 32:M+=S3(A);break;case 92:M+=C3(Td()-1,7);continue;case 47:switch(as()){case 42:case 47:fd(T3(O3(qr(),Td()),t,n),f);break;default:M+="/"}break;case 123*b:u[p++]=ns(M)*S;case 125*b:case 59:case 0:switch(z){case 0:case 125:j=0;case 59+h:S==-1&&(M=Yt(M,/\f/g,"")),w>0&&ns(M)-m&&fd(w>32?Ub(M+";",r,n,m-1):Ub(Yt(M," ","")+";",r,n,m-2),f);break;case 59:M+=";";default:if(fd(T=Gb(M,t,n,p,h,s,u,C,O=[],D=[],m),a),z===123)if(h===0)Rd(M,t,T,T,O,a,m,u,D);else switch(g===99&&_n(M,3)===110?100:g){case 100:case 108:case 109:case 115:Rd(e,T,T,r&&fd(Gb(e,T,T,0,0,s,u,C,s,O=[],m),D),s,D,m,u,r?O:D);break;default:Rd(M,T,T,T,[""],D,0,u,D)}}p=h=w=0,b=S=1,C=M="",m=l;break;case 58:m=1+ns(M),w=A;default:if(b<1){if(z==123)--b;else if(z==125&&b++==0&&z3()==125)continue}switch(M+=Pp(z),z*b){case 38:S=h>0?1:(M+="\f",-1);break;case 44:u[p++]=(ns(M)-1)*S,S=1;break;case 64:as()===45&&(M+=Ed(qr())),g=as(),h=m=ns(C=M+=D3(Td())),z++;break;case 45:A===45&&ns(M)==2&&(b=0)}}return a}function Gb(e,t,n,r,s,a,l,u,f,p,h){for(var m=s-1,g=s===0?a:[""],w=Jy(g),A=0,b=0,j=0;A0?g[S]+" "+z:Yt(z,/&\f/g,g[S])))&&(f[j++]=C);return xp(e,t,n,s===0?Iy:u,f,p,h)}function T3(e,t,n){return xp(e,t,n,i0,Pp(j3()),mu(e,2,-2),0)}function Ub(e,t,n,r){return xp(e,t,n,Wy,mu(e,0,r),mu(e,r+1,-1),r)}function fl(e,t){for(var n="",r=Jy(e),s=0;s6)switch(_n(e,t+1)){case 109:if(_n(e,t+4)!==45)break;case 102:return Yt(e,/(.+:)(.+)-([^]+)/,"$1"+Ft+"$2-$3$1"+_d+(_n(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xm(e,"stretch")?p0(Yt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(_n(e,t+1)!==115)break;case 6444:switch(_n(e,ns(e)-3-(~Xm(e,"!important")&&10))){case 107:return Yt(e,":",":"+Ft)+e;case 101:return Yt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ft+(_n(e,14)===45?"inline-":"")+"box$3$1"+Ft+"$2$3$1"+or+"$2box$3")+e}break;case 5936:switch(_n(e,t+11)){case 114:return Ft+e+or+Yt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ft+e+or+Yt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ft+e+or+Yt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ft+e+or+e+e}return e}var I3=function(t,n,r,s){if(t.length>-1&&!t.return)switch(t.type){case Wy:t.return=p0(t.value,t.length);break;case a0:return fl([Oc(t,{value:Yt(t.value,"@","@"+Ft)})],s);case Iy:if(t.length)return H3(t.props,function(a){switch(w3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return fl([Oc(t,{props:[Yt(a,/:(read-\w+)/,":"+_d+"$1")]})],s);case"::placeholder":return fl([Oc(t,{props:[Yt(a,/:(plac\w+)/,":"+Ft+"input-$1")]}),Oc(t,{props:[Yt(a,/:(plac\w+)/,":"+_d+"$1")]}),Oc(t,{props:[Yt(a,/:(plac\w+)/,or+"input-$1")]})],s)}return""})}},W3=[I3],J3=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(b){var j=b.getAttribute("data-emotion");j.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var s=t.stylisPlugins||W3,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(b){for(var j=b.getAttribute("data-emotion").split(" "),S=1;S=4;++r,s-=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(s){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 G3={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},U3=/[A-Z]|^ms/g,Q3=/_EMO_([^_]+?)_([^]*?)_EMO_/g,v0=function(t){return t.charCodeAt(1)===45},$b=function(t){return t!=null&&typeof t!="boolean"},sm=f0(function(e){return v0(e)?e:e.replace(U3,"-$&").toLowerCase()}),e8=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Q3,function(r,s,a){return rs={name:s,styles:a,next:rs},s})}return G3[t]!==1&&!v0(t)&&typeof n=="number"&&n!==0?n+"px":n};function gu(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 s=n;if(s.anim===1)return rs={name:s.name,styles:s.styles,next:rs},s.name;var a=n;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)rs={name:l.name,styles:l.styles,next:rs},l=l.next;var u=a.styles+";";return u}return K3(e,t,n)}case"function":{if(e!==void 0){var f=rs,p=n(e);return rs=f,gu(e,t,p)}break}}var h=n;if(t==null)return h;var m=t[h];return m!==void 0?m:h}function K3(e,t,n){var r="";if(Array.isArray(n))for(var s=0;s96?i7:a7},s8=function(t,n,r){var s;if(n){var a=n.shouldForwardProp;s=t.__emotion_forwardProp&&a?function(l){return t.__emotion_forwardProp(l)&&a(l)}:a}return typeof s!="function"&&r&&(s=t.__emotion_forwardProp),s},l7=function(t){var n=t.cache,r=t.serialized,s=t.isStringTag;return Fy(n,r,s),m0(function(){return Yy(n,r,s)}),null},c7=function e(t,n){var r=t.__emotion_real===t,s=r&&t.__emotion_base||t,a,l;n!==void 0&&(a=n.label,l=n.target);var u=s8(t,n,r),f=u||o8(s),p=!f("as");return function(){var h=arguments,m=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),h[0]==null||h[0].raw===void 0)m.push.apply(m,h);else{var g=h[0];m.push(g[0]);for(var w=h.length,A=1;At(f7(s)?n:s):t;return v.jsx(r7,{styles:r})}/** + */var Kb;function F3(){if(Kb)return Zt;Kb=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,s=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,A=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,j=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,z=e?Symbol.for("react.scope"):60119;function C(D){if(typeof D=="object"&&D!==null){var T=D.$$typeof;switch(T){case t:switch(D=D.type,D){case f:case p:case r:case a:case s:case m:return D;default:switch(D=D&&D.$$typeof,D){case u:case h:case A:case w:case l:return D;default:return T}}case n:return T}}}function O(D){return C(D)===p}return Zt.AsyncMode=f,Zt.ConcurrentMode=p,Zt.ContextConsumer=u,Zt.ContextProvider=l,Zt.Element=t,Zt.ForwardRef=h,Zt.Fragment=r,Zt.Lazy=A,Zt.Memo=w,Zt.Portal=n,Zt.Profiler=a,Zt.StrictMode=s,Zt.Suspense=m,Zt.isAsyncMode=function(D){return O(D)||C(D)===f},Zt.isConcurrentMode=O,Zt.isContextConsumer=function(D){return C(D)===u},Zt.isContextProvider=function(D){return C(D)===l},Zt.isElement=function(D){return typeof D=="object"&&D!==null&&D.$$typeof===t},Zt.isForwardRef=function(D){return C(D)===h},Zt.isFragment=function(D){return C(D)===r},Zt.isLazy=function(D){return C(D)===A},Zt.isMemo=function(D){return C(D)===w},Zt.isPortal=function(D){return C(D)===n},Zt.isProfiler=function(D){return C(D)===a},Zt.isStrictMode=function(D){return C(D)===s},Zt.isSuspense=function(D){return C(D)===m},Zt.isValidElementType=function(D){return typeof D=="string"||typeof D=="function"||D===r||D===p||D===a||D===s||D===m||D===g||typeof D=="object"&&D!==null&&(D.$$typeof===A||D.$$typeof===w||D.$$typeof===l||D.$$typeof===u||D.$$typeof===h||D.$$typeof===j||D.$$typeof===S||D.$$typeof===z||D.$$typeof===b)},Zt.typeOf=C,Zt}var _b;function Y3(){return _b||(_b=1,rm.exports=F3()),rm.exports}var om,$b;function q3(){if($b)return om;$b=1;var e=Y3(),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},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=r,a[e.Memo]=s;function l(A){return e.isMemo(A)?s:a[A.$$typeof]||t}var u=Object.defineProperty,f=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,g=Object.prototype;function w(A,b,j){if(typeof b!="string"){if(g){var S=m(b);S&&S!==g&&w(A,S,j)}var z=f(b);p&&(z=z.concat(p(b)));for(var C=l(A),O=l(b),D=0;D=4;++r,s-=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(s){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 U3={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},Q3=/[A-Z]|^ms/g,K3=/_EMO_([^_]+?)_([^]*?)_EMO_/g,h0=function(t){return t.charCodeAt(1)===45},e8=function(t){return t!=null&&typeof t!="boolean"},sm=d0(function(e){return h0(e)?e:e.replace(Q3,"-$&").toLowerCase()}),t8=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(K3,function(r,s,a){return rs={name:s,styles:a,next:rs},s})}return U3[t]!==1&&!h0(t)&&typeof n=="number"&&n!==0?n+"px":n};function gu(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 s=n;if(s.anim===1)return rs={name:s.name,styles:s.styles,next:rs},s.name;var a=n;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)rs={name:l.name,styles:l.styles,next:rs},l=l.next;var u=a.styles+";";return u}return _3(e,t,n)}case"function":{if(e!==void 0){var f=rs,p=n(e);return rs=f,gu(e,t,p)}break}}var h=n;if(t==null)return h;var m=t[h];return m!==void 0?m:h}function _3(e,t,n){var r="";if(Array.isArray(n))for(var s=0;s96?a7:l7},i8=function(t,n,r){var s;if(n){var a=n.shouldForwardProp;s=t.__emotion_forwardProp&&a?function(l){return t.__emotion_forwardProp(l)&&a(l)}:a}return typeof s!="function"&&r&&(s=t.__emotion_forwardProp),s},c7=function(t){var n=t.cache,r=t.serialized,s=t.isStringTag;return Fy(n,r,s),y0(function(){return Yy(n,r,s)}),null},u7=function e(t,n){var r=t.__emotion_real===t,s=r&&t.__emotion_base||t,a,l;n!==void 0&&(a=n.label,l=n.target);var u=i8(t,n,r),f=u||s8(s),p=!f("as");return function(){var h=arguments,m=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),h[0]==null||h[0].raw===void 0)m.push.apply(m,h);else{var g=h[0];m.push(g[0]);for(var w=h.length,A=1;At(d7(s)?n:s):t;return v.jsx(o7,{styles:r})}/** * @mui/styled-engine v6.4.11 * * @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 A0(e,t){return Vm(e,t)}function d7(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const i8=[];function a8(e){return i8[0]=e,Lu(i8)}var im={exports:{}},_t={};/** + */function P0(e,t){return Vm(e,t)}function p7(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const a8=[];function l8(e){return a8[0]=e,Lu(a8)}var im={exports:{}},_t={};/** * @license React * react-is.production.js * @@ -35,8 +35,8 @@ var a3=Object.defineProperty;var Wb=e=>{throw TypeError(e)};var l3=(e,t,n)=>t in * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var l8;function p7(){if(l8)return _t;l8=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),w=Symbol.for("react.client.reference");function A(b){if(typeof b=="object"&&b!==null){var j=b.$$typeof;switch(j){case e:switch(b=b.type,b){case n:case s:case r:case f:case p:return b;default:switch(b=b&&b.$$typeof,b){case l:case u:case m:case h:return b;case a:return b;default:return j}}case t:return j}}}return _t.ContextConsumer=a,_t.ContextProvider=l,_t.Element=e,_t.ForwardRef=u,_t.Fragment=n,_t.Lazy=m,_t.Memo=h,_t.Portal=t,_t.Profiler=s,_t.StrictMode=r,_t.Suspense=f,_t.SuspenseList=p,_t.isContextConsumer=function(b){return A(b)===a},_t.isContextProvider=function(b){return A(b)===l},_t.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},_t.isForwardRef=function(b){return A(b)===u},_t.isFragment=function(b){return A(b)===n},_t.isLazy=function(b){return A(b)===m},_t.isMemo=function(b){return A(b)===h},_t.isPortal=function(b){return A(b)===t},_t.isProfiler=function(b){return A(b)===s},_t.isStrictMode=function(b){return A(b)===r},_t.isSuspense=function(b){return A(b)===f},_t.isSuspenseList=function(b){return A(b)===p},_t.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===s||b===r||b===f||b===p||b===g||typeof b=="object"&&b!==null&&(b.$$typeof===m||b.$$typeof===h||b.$$typeof===l||b.$$typeof===a||b.$$typeof===u||b.$$typeof===w||b.getModuleId!==void 0)},_t.typeOf=A,_t}var c8;function v7(){return c8||(c8=1,im.exports=p7()),im.exports}var P0=v7();function os(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 b0(e){if(P.isValidElement(e)||P0.isValidElementType(e)||!os(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=b0(e[n])}),t}function qn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return os(e)&&os(t)&&Object.keys(t).forEach(s=>{P.isValidElement(t[s])||P0.isValidElementType(t[s])?r[s]=t[s]:os(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&os(e[s])?r[s]=qn(e[s],t[s],n):n.clone?r[s]=os(t[s])?b0(t[s]):t[s]:r[s]=t[s]}),r}const h7=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 m7(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...s}=e,a=h7(t),l=Object.keys(a);function u(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${n})`}function f(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-r/100}${n})`}function p(g,w){const A=l.indexOf(w);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${n}) and (max-width:${(A!==-1&&typeof t[l[A]]=="number"?t[l[A]]:w)-r/100}${n})`}function h(g){return l.indexOf(g)+1r.startsWith("@container")).sort((r,s)=>{var l,u;const a=/min-width:\s*([0-9.]+)/;return+(((l=r.match(a))==null?void 0:l[1])||0)-+(((u=s.match(a))==null?void 0:u[1])||0)});return n.length?n.reduce((r,s)=>{const a=t[s];return delete r[s],r[s]=a,r},{...t}):t}function g7(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function A7(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,s]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(s).up(a)}function P7(e){const t=(a,l)=>a.replace("@media",l?`@container ${l}`:"@container");function n(a,l){a.up=(...u)=>t(e.breakpoints.up(...u),l),a.down=(...u)=>t(e.breakpoints.down(...u),l),a.between=(...u)=>t(e.breakpoints.between(...u),l),a.only=(...u)=>t(e.breakpoints.only(...u),l),a.not=(...u)=>{const f=t(e.breakpoints.not(...u),l);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const r={},s=a=>(n(r,a),r);return n(s),{...e,containerQueries:s}}const b7={borderRadius:4};function iu(e,t){return t?qn(e,t,{clone:!1}):e}const wp={xs:0,sm:600,md:900,lg:1200,xl:1536},u8={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${wp[e]}px)`},x7={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:wp[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Rr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||u8;return t.reduce((l,u,f)=>(l[a.up(a.keys[f])]=n(t[f]),l),{})}if(typeof t=="object"){const a=r.breakpoints||u8;return Object.keys(t).reduce((l,u)=>{if(g7(a.keys,u)){const f=A7(r.containerQueries?r:x7,u);f&&(l[f]=n(t[u],u))}else if(Object.keys(a.values||wp).includes(u)){const f=a.up(u);l[f]=n(t[u],u)}else{const f=u;l[f]=t[f]}return l},{})}return n(t)}function x0(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,s)=>{const a=e.up(s);return r[a]={},r},{}))||{}}function w0(e,t){return e.reduce((n,r)=>{const s=n[r];return(!s||Object.keys(s).length===0)&&delete n[r],n},t)}function w7(e,...t){const n=x0(e),r=[n,...t].reduce((s,a)=>qn(s,a),{});return w0(Object.keys(n),r)}function H7(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((s,a)=>{a{e[s]!=null&&(n[s]=!0)}),n}function la({values:e,breakpoints:t,base:n}){const r=n||H7(e,t),s=Object.keys(r);if(s.length===0)return e;let a;return s.reduce((l,u,f)=>(Array.isArray(e)?(l[u]=e[f]!=null?e[f]:e[a],a=f):typeof e=="object"?(l[u]=e[u]!=null?e[u]:e[a],a=u):l[u]=e,l),{})}function me(e){if(typeof e!="string")throw new Error(Rs(7));return e.charAt(0).toUpperCase()+e.slice(1)}function bi(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((s,a)=>s&&s[a]?s[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,s)=>r&&r[s]!=null?r[s]:null,e)}function $d(e,t,n,r=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||r:s=bi(e,n)||r,t&&(s=t(s,r,e)),s}function En(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:s}=e,a=l=>{if(l[t]==null)return null;const u=l[t],f=l.theme,p=bi(f,r)||{};return Rr(l,u,m=>{let g=$d(p,s,m);return m===g&&typeof m=="string"&&(g=$d(p,s,`${t}${m==="default"?"":me(m)}`,m)),n===!1?g:{[n]:g}})};return a.propTypes={},a.filterProps=[t],a}function j7(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const z7={m:"margin",p:"padding"},S7={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},f8={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},C7=j7(e=>{if(e.length>2)if(f8[e])e=f8[e];else return[e];const[t,n]=e.split(""),r=z7[t],s=S7[n]||"";return Array.isArray(s)?s.map(a=>r+a):[r+s]}),Uy=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Qy=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Uy,...Qy];function Bu(e,t,n,r){const s=bi(e,t,!0)??n;return typeof s=="number"||typeof s=="string"?a=>typeof a=="string"?a:typeof s=="string"?`calc(${a} * ${s})`:s*a:Array.isArray(s)?a=>{if(typeof a=="string")return a;const l=Math.abs(a),u=s[l];return a>=0?u:typeof u=="number"?-u:`-${u}`}:typeof s=="function"?s:()=>{}}function Hp(e){return Bu(e,"spacing",8)}function fa(e,t){return typeof t=="string"||t==null?t:e(t)}function O7(e,t){return n=>e.reduce((r,s)=>(r[s]=fa(t,n),r),{})}function D7(e,t,n,r){if(!t.includes(n))return null;const s=C7(n),a=O7(s,r),l=e[n];return Rr(e,l,a)}function H0(e,t){const n=Hp(e.theme);return Object.keys(e).map(r=>D7(e,t,r,n)).reduce(iu,{})}function Hn(e){return H0(e,Uy)}Hn.propTypes={};Hn.filterProps=Uy;function jn(e){return H0(e,Qy)}jn.propTypes={};jn.filterProps=Qy;function j0(e=8,t=Hp({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(a=>{const l=t(a);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function jp(...e){const t=e.reduce((r,s)=>(s.filterProps.forEach(a=>{r[a]=s}),r),{}),n=r=>Object.keys(r).reduce((s,a)=>t[a]?iu(s,t[a](r)):s,{});return n.propTypes={},n.filterProps=e.reduce((r,s)=>r.concat(s.filterProps),[]),n}function co(e){return typeof e!="number"?e:`${e}px solid`}function ho(e,t){return En({prop:e,themeKey:"borders",transform:t})}const k7=ho("border",co),T7=ho("borderTop",co),E7=ho("borderRight",co),R7=ho("borderBottom",co),M7=ho("borderLeft",co),L7=ho("borderColor"),X7=ho("borderTopColor"),N7=ho("borderRightColor"),B7=ho("borderBottomColor"),V7=ho("borderLeftColor"),I7=ho("outline",co),W7=ho("outlineColor"),zp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Bu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:fa(t,r)});return Rr(e,e.borderRadius,n)}return null};zp.propTypes={};zp.filterProps=["borderRadius"];jp(k7,T7,E7,R7,M7,L7,X7,N7,B7,V7,zp,I7,W7);const Sp=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Bu(e.theme,"spacing",8),n=r=>({gap:fa(t,r)});return Rr(e,e.gap,n)}return null};Sp.propTypes={};Sp.filterProps=["gap"];const Cp=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Bu(e.theme,"spacing",8),n=r=>({columnGap:fa(t,r)});return Rr(e,e.columnGap,n)}return null};Cp.propTypes={};Cp.filterProps=["columnGap"];const Op=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Bu(e.theme,"spacing",8),n=r=>({rowGap:fa(t,r)});return Rr(e,e.rowGap,n)}return null};Op.propTypes={};Op.filterProps=["rowGap"];const J7=En({prop:"gridColumn"}),F7=En({prop:"gridRow"}),Y7=En({prop:"gridAutoFlow"}),q7=En({prop:"gridAutoColumns"}),Z7=En({prop:"gridAutoRows"}),G7=En({prop:"gridTemplateColumns"}),U7=En({prop:"gridTemplateRows"}),Q7=En({prop:"gridTemplateAreas"}),K7=En({prop:"gridArea"});jp(Sp,Cp,Op,J7,F7,Y7,q7,Z7,G7,U7,Q7,K7);function fl(e,t){return t==="grey"?t:e}const _7=En({prop:"color",themeKey:"palette",transform:fl}),$7=En({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:fl}),eH=En({prop:"backgroundColor",themeKey:"palette",transform:fl});jp(_7,$7,eH);function Yr(e){return e<=1&&e!==0?`${e*100}%`:e}const tH=En({prop:"width",transform:Yr}),Ky=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var s,a,l,u,f;const r=((l=(a=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:a.values)==null?void 0:l[n])||wp[n];return r?((f=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Yr(n)}};return Rr(e,e.maxWidth,t)}return null};Ky.filterProps=["maxWidth"];const nH=En({prop:"minWidth",transform:Yr}),rH=En({prop:"height",transform:Yr}),oH=En({prop:"maxHeight",transform:Yr}),sH=En({prop:"minHeight",transform:Yr});En({prop:"size",cssProperty:"width",transform:Yr});En({prop:"size",cssProperty:"height",transform:Yr});const iH=En({prop:"boxSizing"});jp(tH,Ky,nH,rH,oH,sH,iH);const Vu={border:{themeKey:"borders",transform:co},borderTop:{themeKey:"borders",transform:co},borderRight:{themeKey:"borders",transform:co},borderBottom:{themeKey:"borders",transform:co},borderLeft:{themeKey:"borders",transform:co},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:co},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:zp},color:{themeKey:"palette",transform:fl},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:fl},backgroundColor:{themeKey:"palette",transform:fl},p:{style:jn},pt:{style:jn},pr:{style:jn},pb:{style:jn},pl:{style:jn},px:{style:jn},py:{style:jn},padding:{style:jn},paddingTop:{style:jn},paddingRight:{style:jn},paddingBottom:{style:jn},paddingLeft:{style:jn},paddingX:{style:jn},paddingY:{style:jn},paddingInline:{style:jn},paddingInlineStart:{style:jn},paddingInlineEnd:{style:jn},paddingBlock:{style:jn},paddingBlockStart:{style:jn},paddingBlockEnd:{style:jn},m:{style:Hn},mt:{style:Hn},mr:{style:Hn},mb:{style:Hn},ml:{style:Hn},mx:{style:Hn},my:{style:Hn},margin:{style:Hn},marginTop:{style:Hn},marginRight:{style:Hn},marginBottom:{style:Hn},marginLeft:{style:Hn},marginX:{style:Hn},marginY:{style:Hn},marginInline:{style:Hn},marginInlineStart:{style:Hn},marginInlineEnd:{style:Hn},marginBlock:{style:Hn},marginBlockStart:{style:Hn},marginBlockEnd:{style:Hn},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:Sp},rowGap:{style:Op},columnGap:{style:Cp},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Yr},maxWidth:{style:Ky},minWidth:{transform:Yr},height:{transform:Yr},maxHeight:{transform:Yr},minHeight:{transform:Yr},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 aH(...e){const t=e.reduce((r,s)=>r.concat(Object.keys(s)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function lH(e,t){return typeof e=="function"?e(t):e}function cH(){function e(n,r,s,a){const l={[n]:r,theme:s},u=a[n];if(!u)return{[n]:r};const{cssProperty:f=n,themeKey:p,transform:h,style:m}=u;if(r==null)return null;if(p==="typography"&&r==="inherit")return{[n]:r};const g=bi(s,p)||{};return m?m(l):Rr(l,r,A=>{let b=$d(g,h,A);return A===b&&typeof A=="string"&&(b=$d(g,h,`${n}${A==="default"?"":me(A)}`,A)),f===!1?b:{[f]:b}})}function t(n){const{sx:r,theme:s={}}=n||{};if(!r)return null;const a=s.unstable_sxConfig??Vu;function l(u){let f=u;if(typeof u=="function")f=u(s);else if(typeof u!="object")return u;if(!f)return null;const p=x0(s.breakpoints),h=Object.keys(p);let m=p;return Object.keys(f).forEach(g=>{const w=lH(f[g],s);if(w!=null)if(typeof w=="object")if(a[g])m=iu(m,e(g,w,s,a));else{const A=Rr({theme:s},w,b=>({[g]:b}));aH(A,w)?m[g]=t({sx:w,theme:s}):m=iu(m,A)}else m=iu(m,e(g,w,s,a))}),y7(s,w0(h,m))}return Array.isArray(r)?r.map(l):l(r)}return t}const Hi=cH();Hi.filterProps=["sx"];function uH(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let s=n.getColorSchemeSelector(e);return s==="&"?t:((s.includes("data-")||s.includes("."))&&(s=`*:where(${s.replace(/\s*&$/,"")}) &`),{[s]:t})}return n.palette.mode===e?t:{}}function Dp(e={},...t){const{breakpoints:n={},palette:r={},spacing:s,shape:a={},...l}=e,u=m7(n),f=j0(s);let p=qn({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:f,shape:{...b7,...a}},l);return p=P7(p),p.applyStyles=uH,p=t.reduce((h,m)=>qn(h,m),p),p.unstable_sxConfig={...Vu,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(m){return Hi({sx:m,theme:this})},p}function fH(e){return Object.keys(e).length===0}function _y(e=null){const t=P.useContext(Xu);return!t||fH(t)?e:t}const dH=Dp();function kp(e=dH){return _y(e)}function pH({styles:e,themeId:t,defaultTheme:n={}}){const r=kp(n),s=typeof e=="function"?e(t&&r[t]||r):e;return v.jsx(g0,{styles:s})}const vH=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Vu;return Object.keys(e).forEach(s=>{n[s]?t.systemProps[s]=e[s]:t.otherProps[s]=e[s]}),t};function Tp(e){const{sx:t,...n}=e,{systemProps:r,otherProps:s}=vH(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return os(u)?{...r,...u}:r}:a={...r,...t},{...s,sx:a}}const d8=e=>e,hH=()=>{let e=d8;return{configure(t){e=t},generate(t){return e(t)},reset(){e=d8}}},z0=hH();function S0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;tu!=="theme"&&u!=="sx"&&u!=="as"})(Hi);return P.forwardRef(function(f,p){const h=kp(n),{className:m,component:g="div",...w}=Tp(f);return v.jsx(a,{as:g,ref:p,className:Oe(m,s?s(r):r),theme:t&&h[t]||h,...w})})}const yH={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 Qe(e,t,n="Mui"){const r=yH[t];return r?`${n}-${r}`:`${z0.generate(e)}-${t}`}function Ke(e,t,n="Mui"){const r={};return t.forEach(s=>{r[s]=Qe(e,s,n)}),r}function C0(e){const{variants:t,...n}=e,r={variants:t,style:a8(n),isProcessed:!0};return r.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=a8(s.style))}),r}const gH=Dp();function am(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function AH(e){return e?(t,n)=>n[e]:null}function PH(e,t,n){e.theme=xH(e.theme)?n:e.theme[t]||e.theme}function Md(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>Md(e,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:s,...a}=n;r=a}return O0(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function O0(e,t,n=[]){var s;let r;e:for(let a=0;a{d7(u,D=>D.filter(T=>T!==Hi));const{name:p,slot:h,skipVariantsResolver:m,skipSx:g,overridesResolver:w=AH(HH(h)),...A}=f,b=m!==void 0?m:h&&h!=="Root"&&h!=="root"||!1,j=g||!1;let S=am;h==="Root"||h==="root"?S=r:h?S=s:wH(u)&&(S=void 0);const z=A0(u,{shouldForwardProp:S,label:bH(),...A}),C=D=>{if(D.__emotion_real===D)return D;if(typeof D=="function")return function(M){return Md(M,D)};if(os(D)){const T=C0(D);return T.variants?function(L){return Md(L,T)}:T.style}return D},O=(...D)=>{const T=[],M=D.map(C),L=[];if(T.push(a),p&&w&&L.push(function(B){var U,oe;const _=(oe=(U=B.theme.components)==null?void 0:U[p])==null?void 0:oe.styleOverrides;if(!_)return null;const J={};for(const K in _)J[K]=Md(B,_[K]);return w(B,J)}),p&&!b&&L.push(function(B){var J,U;const W=B.theme,_=(U=(J=W==null?void 0:W.components)==null?void 0:J[p])==null?void 0:U.variants;return _?O0(B,_):null}),j||L.push(Hi),Array.isArray(M[0])){const N=M.shift(),B=new Array(T.length).fill(""),W=new Array(L.length).fill("");let _;_=[...B,...N,...W],_.raw=[...B,...N.raw,...W],T.unshift(_)}const R=[...T,...M,...L],H=z(...R);return u.muiName&&(H.muiName=u.muiName),H};return z.withConfig&&(O.withConfig=z.withConfig),O}}function bH(e,t){return void 0}function xH(e){for(const t in e)return!1;return!0}function wH(e){return typeof e=="string"&&e.charCodeAt(0)>96}function HH(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const jH=D0();function Sl(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const s=r;if(s==="components"||s==="slots")n[s]={...e[s],...n[s]};else if(s==="componentsProps"||s==="slotProps"){const a=e[s],l=t[s];if(!l)n[s]=a||{};else if(!a)n[s]=l;else{n[s]={...l};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const f=u;n[s][f]=Sl(a[f],l[f])}}}else n[s]===void 0&&(n[s]=e[s])}return n}function k0(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Sl(t.components[n].defaultProps,r)}function T0({props:e,name:t,defaultTheme:n,themeId:r}){let s=kp(n);return r&&(s=s[r]||s),k0({theme:s,name:t,props:e})}const Zr=typeof window<"u"?P.useLayoutEffect:P.useEffect;function zH(e,t,n,r,s){const[a,l]=P.useState(()=>s&&n?n(e).matches:r?r(e).matches:t);return Zr(()=>{if(!n)return;const u=n(e),f=()=>{l(u.matches)};return f(),u.addEventListener("change",f),()=>{u.removeEventListener("change",f)}},[e,n]),a}const SH={...Kd},E0=SH.useSyncExternalStore;function CH(e,t,n,r,s){const a=P.useCallback(()=>t,[t]),l=P.useMemo(()=>{if(s&&n)return()=>n(e).matches;if(r!==null){const{matches:h}=r(e);return()=>h}return a},[a,e,r,s,n]),[u,f]=P.useMemo(()=>{if(n===null)return[a,()=>()=>{}];const h=n(e);return[()=>h.matches,m=>(h.addEventListener("change",m),()=>{h.removeEventListener("change",m)})]},[a,n,e]);return E0(f,u,l)}function R0(e={}){const{themeId:t}=e;return function(r,s={}){let a=_y();a&&t&&(a=a[t]||a);const l=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:u=!1,matchMedia:f=l?window.matchMedia:null,ssrMatchMedia:p=null,noSsr:h=!1}=k0({name:"MuiUseMediaQuery",props:s,theme:a});let m=typeof r=="function"?r(a):r;return m=m.replace(/^@media( ?)/m,""),m.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(` -`)),(E0!==void 0?CH:zH)(m,u,f,p,h)}}R0();function OH(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function $y(e,t=0,n=1){return OH(e,t,n)}function DH(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,s)=>s<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function ji(e){if(e.type)return e;if(e.charAt(0)==="#")return ji(DH(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Rs(9,e));let r=e.substring(t+1,e.length-1),s;if(n==="color"){if(r=r.split(" "),s=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(s))throw new Error(Rs(10,s))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:s}}const kH=e=>{const t=ji(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Gc=(e,t)=>{try{return kH(e)}catch{return e}};function Ep(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((s,a)=>a<3?parseInt(s,10):s):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function M0(e){e=ji(e);const{values:t}=e,n=t[0],r=t[1]/100,s=t[2]/100,a=r*Math.min(s,1-s),l=(p,h=(p+n/30)%12)=>s-a*Math.max(Math.min(h-3,9-h,1),-1);let u="rgb";const f=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",f.push(t[3])),Ep({type:u,values:f})}function Im(e){e=ji(e);let t=e.type==="hsl"||e.type==="hsla"?ji(M0(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 TH(e,t){const n=Im(e),r=Im(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function xt(e,t){return e=ji(e),t=$y(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ep(e)}function dd(e,t,n){try{return xt(e,t)}catch{return e}}function da(e,t){if(e=ji(e),t=$y(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 Ep(e)}function $t(e,t,n){try{return da(e,t)}catch{return e}}function pa(e,t){if(e=ji(e),t=$y(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 Ep(e)}function en(e,t,n){try{return pa(e,t)}catch{return e}}function L0(e,t=.15){return Im(e)>.5?da(e,t):pa(e,t)}function pd(e,t,n){try{return L0(e,t)}catch{return e}}function Wm(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function eg(e,t=166){let n;function r(...s){const a=()=>{e.apply(this,s)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function Ld(e,t){var n,r,s;return P.isValidElement(e)&&t.indexOf(e.type.muiName??((s=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:s.muiName))!==-1}function lr(e){return e&&e.ownerDocument||document}function Lo(e){return lr(e).defaultView||window}function Jm(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let p8=0;function EH(e){const[t,n]=P.useState(e),r=e||t;return P.useEffect(()=>{t==null&&(p8+=1,n(`mui-${p8}`))},[t]),r}const RH={...Kd},v8=RH.useId;function Xo(e){if(v8!==void 0){const t=v8();return e??t}return EH(e)}function xi({controlled:e,default:t,name:n,state:r="value"}){const{current:s}=P.useRef(e!==void 0),[a,l]=P.useState(t),u=s?e:a,f=P.useCallback(p=>{s||l(p)},[]);return[u,f]}function ar(e){const t=P.useRef(e);return Zr(()=>{t.current=e}),P.useRef((...n)=>(0,t.current)(...n)).current}function pn(...e){const t=P.useRef(void 0),n=P.useCallback(r=>{const s=e.map(a=>{if(a==null)return null;if(typeof a=="function"){const l=a,u=l(r);return typeof u=="function"?u:()=>{l(null)}}return a.current=r,()=>{a.current=null}});return()=>{s.forEach(a=>a==null?void 0:a())}},e);return P.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=n(r))},e)}const h8={};function X0(e,t){const n=P.useRef(h8);return n.current===h8&&(n.current=e(t)),n}const MH=[];function LH(e){P.useEffect(e,MH)}class Rp{constructor(){zc(this,"currentId",null);zc(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});zc(this,"disposeEffect",()=>this.clear)}static create(){return new Rp}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Qi(){const e=X0(Rp.create).current;return LH(e.disposeEffect),e}function Cl(e){try{return e.matches(":focus-visible")}catch{}return!1}function N0(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const XH=e=>{const t=P.useRef({});return P.useEffect(()=>{t.current=e}),t.current};function _e(e,t,n=void 0){const r={};for(const s in e){const a=e[s];let l="",u=!0;for(let f=0;fr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function m8(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 V0(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:s,className:a}=e;if(!t){const w=Oe(n==null?void 0:n.className,a,s==null?void 0:s.className,r==null?void 0:r.className),A={...n==null?void 0:n.style,...s==null?void 0:s.style,...r==null?void 0:r.style},b={...n,...s,...r};return w.length>0&&(b.className=w),Object.keys(A).length>0&&(b.style=A),{props:b,internalRef:void 0}}const l=ep({...s,...r}),u=m8(r),f=m8(s),p=t(l),h=Oe(p==null?void 0:p.className,n==null?void 0:n.className,a,s==null?void 0:s.className,r==null?void 0:r.className),m={...p==null?void 0:p.style,...n==null?void 0:n.style,...s==null?void 0:s.style,...r==null?void 0:r.style},g={...p,...n,...f,...u};return h.length>0&&(g.className=h),Object.keys(m).length>0&&(g.style=m),{props:g,internalRef:p.ref}}function I0(e,t,n){return typeof e=="function"?e(t,n):e}function W0(e){var m;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:s=!1,...a}=e,l=s?{}:I0(n,r),{props:u,internalRef:f}=V0({...a,externalSlotProps:l}),p=pn(f,l==null?void 0:l.ref,(m=e.additionalProps)==null?void 0:m.ref);return B0(t,{...u,ref:p},r)}function zi(e){var t;return parseInt(P.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const J0=P.createContext(null);function tg(){return P.useContext(J0)}const BH=typeof Symbol=="function"&&Symbol.for,VH=BH?Symbol.for("mui.nested"):"__THEME_NESTED__";function IH(e,t){return typeof t=="function"?t(e):{...e,...t}}function WH(e){const{children:t,theme:n}=e,r=tg(),s=P.useMemo(()=>{const a=r===null?{...n}:IH(r,n);return a!=null&&(a[VH]=r!==null),a},[n,r]);return v.jsx(J0.Provider,{value:s,children:t})}const F0=P.createContext();function JH({value:e,...t}){return v.jsx(F0.Provider,{value:e??!0,...t})}const Iu=()=>P.useContext(F0)??!1,Y0=P.createContext(void 0);function FH({value:e,children:t}){return v.jsx(Y0.Provider,{value:e,children:t})}function YH(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const s=t.components[n];return s.defaultProps?Sl(s.defaultProps,r):!s.styleOverrides&&!s.variants?Sl(s,r):r}function qH({props:e,name:t}){const n=P.useContext(Y0);return YH({props:e,name:t,theme:{components:n}})}const y8={};function g8(e,t,n,r=!1){return P.useMemo(()=>{const s=e&&t[e]||t;if(typeof n=="function"){const a=n(s),l=e?{...t,[e]:a}:a;return r?()=>l:l}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function q0(e){const{children:t,theme:n,themeId:r}=e,s=_y(y8),a=tg()||y8,l=g8(r,s,n),u=g8(r,a,n,!0),f=(r?l[r]:l).direction==="rtl";return v.jsx(WH,{theme:u,children:v.jsx(Xu.Provider,{value:l,children:v.jsx(JH,{value:f,children:v.jsx(FH,{value:r?l[r].components:l.components,children:t})})})})}const A8={theme:void 0};function ZH(e){let t,n;return function(s){let a=t;return(a===void 0||s.theme!==n)&&(A8.theme=s.theme,a=C0(e(A8)),t=a,n=s.theme),a}}const ng="mode",rg="color-scheme",GH="data-color-scheme";function UH(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:s=ng,colorSchemeStorageKey:a=rg,attribute:l=GH,colorSchemeNode:u="document.documentElement",nonce:f}=e||{};let p="",h=l;if(l==="class"&&(h=".%s"),l==="data"&&(h="[data-%s]"),h.startsWith(".")){const g=h.substring(1);p+=`${u}.classList.remove('${g}'.replace('%s', light), '${g}'.replace('%s', dark)); + */var c8;function v7(){if(c8)return _t;c8=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),w=Symbol.for("react.client.reference");function A(b){if(typeof b=="object"&&b!==null){var j=b.$$typeof;switch(j){case e:switch(b=b.type,b){case n:case s:case r:case f:case p:return b;default:switch(b=b&&b.$$typeof,b){case l:case u:case m:case h:return b;case a:return b;default:return j}}case t:return j}}}return _t.ContextConsumer=a,_t.ContextProvider=l,_t.Element=e,_t.ForwardRef=u,_t.Fragment=n,_t.Lazy=m,_t.Memo=h,_t.Portal=t,_t.Profiler=s,_t.StrictMode=r,_t.Suspense=f,_t.SuspenseList=p,_t.isContextConsumer=function(b){return A(b)===a},_t.isContextProvider=function(b){return A(b)===l},_t.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},_t.isForwardRef=function(b){return A(b)===u},_t.isFragment=function(b){return A(b)===n},_t.isLazy=function(b){return A(b)===m},_t.isMemo=function(b){return A(b)===h},_t.isPortal=function(b){return A(b)===t},_t.isProfiler=function(b){return A(b)===s},_t.isStrictMode=function(b){return A(b)===r},_t.isSuspense=function(b){return A(b)===f},_t.isSuspenseList=function(b){return A(b)===p},_t.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===s||b===r||b===f||b===p||b===g||typeof b=="object"&&b!==null&&(b.$$typeof===m||b.$$typeof===h||b.$$typeof===l||b.$$typeof===a||b.$$typeof===u||b.$$typeof===w||b.getModuleId!==void 0)},_t.typeOf=A,_t}var u8;function h7(){return u8||(u8=1,im.exports=v7()),im.exports}var b0=h7();function os(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 x0(e){if(P.isValidElement(e)||b0.isValidElementType(e)||!os(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=x0(e[n])}),t}function Zn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return os(e)&&os(t)&&Object.keys(t).forEach(s=>{P.isValidElement(t[s])||b0.isValidElementType(t[s])?r[s]=t[s]:os(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&os(e[s])?r[s]=Zn(e[s],t[s],n):n.clone?r[s]=os(t[s])?x0(t[s]):t[s]:r[s]=t[s]}),r}const m7=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 y7(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...s}=e,a=m7(t),l=Object.keys(a);function u(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${n})`}function f(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-r/100}${n})`}function p(g,w){const A=l.indexOf(w);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${n}) and (max-width:${(A!==-1&&typeof t[l[A]]=="number"?t[l[A]]:w)-r/100}${n})`}function h(g){return l.indexOf(g)+1r.startsWith("@container")).sort((r,s)=>{var l,u;const a=/min-width:\s*([0-9.]+)/;return+(((l=r.match(a))==null?void 0:l[1])||0)-+(((u=s.match(a))==null?void 0:u[1])||0)});return n.length?n.reduce((r,s)=>{const a=t[s];return delete r[s],r[s]=a,r},{...t}):t}function A7(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function P7(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,s]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(s).up(a)}function b7(e){const t=(a,l)=>a.replace("@media",l?`@container ${l}`:"@container");function n(a,l){a.up=(...u)=>t(e.breakpoints.up(...u),l),a.down=(...u)=>t(e.breakpoints.down(...u),l),a.between=(...u)=>t(e.breakpoints.between(...u),l),a.only=(...u)=>t(e.breakpoints.only(...u),l),a.not=(...u)=>{const f=t(e.breakpoints.not(...u),l);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const r={},s=a=>(n(r,a),r);return n(s),{...e,containerQueries:s}}const x7={borderRadius:4};function iu(e,t){return t?Zn(e,t,{clone:!1}):e}const wp={xs:0,sm:600,md:900,lg:1200,xl:1536},f8={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${wp[e]}px)`},w7={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:wp[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Rr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||f8;return t.reduce((l,u,f)=>(l[a.up(a.keys[f])]=n(t[f]),l),{})}if(typeof t=="object"){const a=r.breakpoints||f8;return Object.keys(t).reduce((l,u)=>{if(A7(a.keys,u)){const f=P7(r.containerQueries?r:w7,u);f&&(l[f]=n(t[u],u))}else if(Object.keys(a.values||wp).includes(u)){const f=a.up(u);l[f]=n(t[u],u)}else{const f=u;l[f]=t[f]}return l},{})}return n(t)}function w0(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,s)=>{const a=e.up(s);return r[a]={},r},{}))||{}}function H0(e,t){return e.reduce((n,r)=>{const s=n[r];return(!s||Object.keys(s).length===0)&&delete n[r],n},t)}function H7(e,...t){const n=w0(e),r=[n,...t].reduce((s,a)=>Zn(s,a),{});return H0(Object.keys(n),r)}function j7(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((s,a)=>{a{e[s]!=null&&(n[s]=!0)}),n}function ca({values:e,breakpoints:t,base:n}){const r=n||j7(e,t),s=Object.keys(r);if(s.length===0)return e;let a;return s.reduce((l,u,f)=>(Array.isArray(e)?(l[u]=e[f]!=null?e[f]:e[a],a=f):typeof e=="object"?(l[u]=e[u]!=null?e[u]:e[a],a=u):l[u]=e,l),{})}function me(e){if(typeof e!="string")throw new Error(Rs(7));return e.charAt(0).toUpperCase()+e.slice(1)}function bi(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((s,a)=>s&&s[a]?s[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,s)=>r&&r[s]!=null?r[s]:null,e)}function $d(e,t,n,r=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||r:s=bi(e,n)||r,t&&(s=t(s,r,e)),s}function En(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:s}=e,a=l=>{if(l[t]==null)return null;const u=l[t],f=l.theme,p=bi(f,r)||{};return Rr(l,u,m=>{let g=$d(p,s,m);return m===g&&typeof m=="string"&&(g=$d(p,s,`${t}${m==="default"?"":me(m)}`,m)),n===!1?g:{[n]:g}})};return a.propTypes={},a.filterProps=[t],a}function z7(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const S7={m:"margin",p:"padding"},C7={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},d8={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},O7=z7(e=>{if(e.length>2)if(d8[e])e=d8[e];else return[e];const[t,n]=e.split(""),r=S7[t],s=C7[n]||"";return Array.isArray(s)?s.map(a=>r+a):[r+s]}),Uy=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Qy=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Uy,...Qy];function Bu(e,t,n,r){const s=bi(e,t,!0)??n;return typeof s=="number"||typeof s=="string"?a=>typeof a=="string"?a:typeof s=="string"?`calc(${a} * ${s})`:s*a:Array.isArray(s)?a=>{if(typeof a=="string")return a;const l=Math.abs(a),u=s[l];return a>=0?u:typeof u=="number"?-u:`-${u}`}:typeof s=="function"?s:()=>{}}function Hp(e){return Bu(e,"spacing",8)}function da(e,t){return typeof t=="string"||t==null?t:e(t)}function D7(e,t){return n=>e.reduce((r,s)=>(r[s]=da(t,n),r),{})}function k7(e,t,n,r){if(!t.includes(n))return null;const s=O7(n),a=D7(s,r),l=e[n];return Rr(e,l,a)}function j0(e,t){const n=Hp(e.theme);return Object.keys(e).map(r=>k7(e,t,r,n)).reduce(iu,{})}function Hn(e){return j0(e,Uy)}Hn.propTypes={};Hn.filterProps=Uy;function jn(e){return j0(e,Qy)}jn.propTypes={};jn.filterProps=Qy;function z0(e=8,t=Hp({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(a=>{const l=t(a);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function jp(...e){const t=e.reduce((r,s)=>(s.filterProps.forEach(a=>{r[a]=s}),r),{}),n=r=>Object.keys(r).reduce((s,a)=>t[a]?iu(s,t[a](r)):s,{});return n.propTypes={},n.filterProps=e.reduce((r,s)=>r.concat(s.filterProps),[]),n}function co(e){return typeof e!="number"?e:`${e}px solid`}function ho(e,t){return En({prop:e,themeKey:"borders",transform:t})}const T7=ho("border",co),E7=ho("borderTop",co),R7=ho("borderRight",co),M7=ho("borderBottom",co),L7=ho("borderLeft",co),X7=ho("borderColor"),N7=ho("borderTopColor"),B7=ho("borderRightColor"),V7=ho("borderBottomColor"),I7=ho("borderLeftColor"),W7=ho("outline",co),J7=ho("outlineColor"),zp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Bu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:da(t,r)});return Rr(e,e.borderRadius,n)}return null};zp.propTypes={};zp.filterProps=["borderRadius"];jp(T7,E7,R7,M7,L7,X7,N7,B7,V7,I7,zp,W7,J7);const Sp=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Bu(e.theme,"spacing",8),n=r=>({gap:da(t,r)});return Rr(e,e.gap,n)}return null};Sp.propTypes={};Sp.filterProps=["gap"];const Cp=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Bu(e.theme,"spacing",8),n=r=>({columnGap:da(t,r)});return Rr(e,e.columnGap,n)}return null};Cp.propTypes={};Cp.filterProps=["columnGap"];const Op=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Bu(e.theme,"spacing",8),n=r=>({rowGap:da(t,r)});return Rr(e,e.rowGap,n)}return null};Op.propTypes={};Op.filterProps=["rowGap"];const F7=En({prop:"gridColumn"}),Y7=En({prop:"gridRow"}),q7=En({prop:"gridAutoFlow"}),Z7=En({prop:"gridAutoColumns"}),G7=En({prop:"gridAutoRows"}),U7=En({prop:"gridTemplateColumns"}),Q7=En({prop:"gridTemplateRows"}),K7=En({prop:"gridTemplateAreas"}),_7=En({prop:"gridArea"});jp(Sp,Cp,Op,F7,Y7,q7,Z7,G7,U7,Q7,K7,_7);function dl(e,t){return t==="grey"?t:e}const $7=En({prop:"color",themeKey:"palette",transform:dl}),eH=En({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:dl}),tH=En({prop:"backgroundColor",themeKey:"palette",transform:dl});jp($7,eH,tH);function Yr(e){return e<=1&&e!==0?`${e*100}%`:e}const nH=En({prop:"width",transform:Yr}),Ky=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var s,a,l,u,f;const r=((l=(a=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:a.values)==null?void 0:l[n])||wp[n];return r?((f=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Yr(n)}};return Rr(e,e.maxWidth,t)}return null};Ky.filterProps=["maxWidth"];const rH=En({prop:"minWidth",transform:Yr}),oH=En({prop:"height",transform:Yr}),sH=En({prop:"maxHeight",transform:Yr}),iH=En({prop:"minHeight",transform:Yr});En({prop:"size",cssProperty:"width",transform:Yr});En({prop:"size",cssProperty:"height",transform:Yr});const aH=En({prop:"boxSizing"});jp(nH,Ky,rH,oH,sH,iH,aH);const Vu={border:{themeKey:"borders",transform:co},borderTop:{themeKey:"borders",transform:co},borderRight:{themeKey:"borders",transform:co},borderBottom:{themeKey:"borders",transform:co},borderLeft:{themeKey:"borders",transform:co},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:co},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:zp},color:{themeKey:"palette",transform:dl},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:dl},backgroundColor:{themeKey:"palette",transform:dl},p:{style:jn},pt:{style:jn},pr:{style:jn},pb:{style:jn},pl:{style:jn},px:{style:jn},py:{style:jn},padding:{style:jn},paddingTop:{style:jn},paddingRight:{style:jn},paddingBottom:{style:jn},paddingLeft:{style:jn},paddingX:{style:jn},paddingY:{style:jn},paddingInline:{style:jn},paddingInlineStart:{style:jn},paddingInlineEnd:{style:jn},paddingBlock:{style:jn},paddingBlockStart:{style:jn},paddingBlockEnd:{style:jn},m:{style:Hn},mt:{style:Hn},mr:{style:Hn},mb:{style:Hn},ml:{style:Hn},mx:{style:Hn},my:{style:Hn},margin:{style:Hn},marginTop:{style:Hn},marginRight:{style:Hn},marginBottom:{style:Hn},marginLeft:{style:Hn},marginX:{style:Hn},marginY:{style:Hn},marginInline:{style:Hn},marginInlineStart:{style:Hn},marginInlineEnd:{style:Hn},marginBlock:{style:Hn},marginBlockStart:{style:Hn},marginBlockEnd:{style:Hn},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:Sp},rowGap:{style:Op},columnGap:{style:Cp},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Yr},maxWidth:{style:Ky},minWidth:{transform:Yr},height:{transform:Yr},maxHeight:{transform:Yr},minHeight:{transform:Yr},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 lH(...e){const t=e.reduce((r,s)=>r.concat(Object.keys(s)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function cH(e,t){return typeof e=="function"?e(t):e}function uH(){function e(n,r,s,a){const l={[n]:r,theme:s},u=a[n];if(!u)return{[n]:r};const{cssProperty:f=n,themeKey:p,transform:h,style:m}=u;if(r==null)return null;if(p==="typography"&&r==="inherit")return{[n]:r};const g=bi(s,p)||{};return m?m(l):Rr(l,r,A=>{let b=$d(g,h,A);return A===b&&typeof A=="string"&&(b=$d(g,h,`${n}${A==="default"?"":me(A)}`,A)),f===!1?b:{[f]:b}})}function t(n){const{sx:r,theme:s={}}=n||{};if(!r)return null;const a=s.unstable_sxConfig??Vu;function l(u){let f=u;if(typeof u=="function")f=u(s);else if(typeof u!="object")return u;if(!f)return null;const p=w0(s.breakpoints),h=Object.keys(p);let m=p;return Object.keys(f).forEach(g=>{const w=cH(f[g],s);if(w!=null)if(typeof w=="object")if(a[g])m=iu(m,e(g,w,s,a));else{const A=Rr({theme:s},w,b=>({[g]:b}));lH(A,w)?m[g]=t({sx:w,theme:s}):m=iu(m,A)}else m=iu(m,e(g,w,s,a))}),g7(s,H0(h,m))}return Array.isArray(r)?r.map(l):l(r)}return t}const Hi=uH();Hi.filterProps=["sx"];function fH(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let s=n.getColorSchemeSelector(e);return s==="&"?t:((s.includes("data-")||s.includes("."))&&(s=`*:where(${s.replace(/\s*&$/,"")}) &`),{[s]:t})}return n.palette.mode===e?t:{}}function Dp(e={},...t){const{breakpoints:n={},palette:r={},spacing:s,shape:a={},...l}=e,u=y7(n),f=z0(s);let p=Zn({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:f,shape:{...x7,...a}},l);return p=b7(p),p.applyStyles=fH,p=t.reduce((h,m)=>Zn(h,m),p),p.unstable_sxConfig={...Vu,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(m){return Hi({sx:m,theme:this})},p}function dH(e){return Object.keys(e).length===0}function _y(e=null){const t=P.useContext(Xu);return!t||dH(t)?e:t}const pH=Dp();function kp(e=pH){return _y(e)}function vH({styles:e,themeId:t,defaultTheme:n={}}){const r=kp(n),s=typeof e=="function"?e(t&&r[t]||r):e;return v.jsx(A0,{styles:s})}const hH=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Vu;return Object.keys(e).forEach(s=>{n[s]?t.systemProps[s]=e[s]:t.otherProps[s]=e[s]}),t};function Tp(e){const{sx:t,...n}=e,{systemProps:r,otherProps:s}=hH(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return os(u)?{...r,...u}:r}:a={...r,...t},{...s,sx:a}}const p8=e=>e,mH=()=>{let e=p8;return{configure(t){e=t},generate(t){return e(t)},reset(){e=p8}}},S0=mH();function C0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;tu!=="theme"&&u!=="sx"&&u!=="as"})(Hi);return P.forwardRef(function(f,p){const h=kp(n),{className:m,component:g="div",...w}=Tp(f);return v.jsx(a,{as:g,ref:p,className:Oe(m,s?s(r):r),theme:t&&h[t]||h,...w})})}const gH={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 Qe(e,t,n="Mui"){const r=gH[t];return r?`${n}-${r}`:`${S0.generate(e)}-${t}`}function Ke(e,t,n="Mui"){const r={};return t.forEach(s=>{r[s]=Qe(e,s,n)}),r}function O0(e){const{variants:t,...n}=e,r={variants:t,style:l8(n),isProcessed:!0};return r.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=l8(s.style))}),r}const AH=Dp();function am(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function PH(e){return e?(t,n)=>n[e]:null}function bH(e,t,n){e.theme=wH(e.theme)?n:e.theme[t]||e.theme}function Md(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>Md(e,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:s,...a}=n;r=a}return D0(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function D0(e,t,n=[]){var s;let r;e:for(let a=0;a{p7(u,D=>D.filter(T=>T!==Hi));const{name:p,slot:h,skipVariantsResolver:m,skipSx:g,overridesResolver:w=PH(jH(h)),...A}=f,b=m!==void 0?m:h&&h!=="Root"&&h!=="root"||!1,j=g||!1;let S=am;h==="Root"||h==="root"?S=r:h?S=s:HH(u)&&(S=void 0);const z=P0(u,{shouldForwardProp:S,label:xH(),...A}),C=D=>{if(D.__emotion_real===D)return D;if(typeof D=="function")return function(M){return Md(M,D)};if(os(D)){const T=O0(D);return T.variants?function(L){return Md(L,T)}:T.style}return D},O=(...D)=>{const T=[],M=D.map(C),L=[];if(T.push(a),p&&w&&L.push(function(B){var U,oe;const _=(oe=(U=B.theme.components)==null?void 0:U[p])==null?void 0:oe.styleOverrides;if(!_)return null;const J={};for(const K in _)J[K]=Md(B,_[K]);return w(B,J)}),p&&!b&&L.push(function(B){var J,U;const W=B.theme,_=(U=(J=W==null?void 0:W.components)==null?void 0:J[p])==null?void 0:U.variants;return _?D0(B,_):null}),j||L.push(Hi),Array.isArray(M[0])){const N=M.shift(),B=new Array(T.length).fill(""),W=new Array(L.length).fill("");let _;_=[...B,...N,...W],_.raw=[...B,...N.raw,...W],T.unshift(_)}const R=[...T,...M,...L],H=z(...R);return u.muiName&&(H.muiName=u.muiName),H};return z.withConfig&&(O.withConfig=z.withConfig),O}}function xH(e,t){return void 0}function wH(e){for(const t in e)return!1;return!0}function HH(e){return typeof e=="string"&&e.charCodeAt(0)>96}function jH(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const zH=k0();function Sl(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const s=r;if(s==="components"||s==="slots")n[s]={...e[s],...n[s]};else if(s==="componentsProps"||s==="slotProps"){const a=e[s],l=t[s];if(!l)n[s]=a||{};else if(!a)n[s]=l;else{n[s]={...l};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const f=u;n[s][f]=Sl(a[f],l[f])}}}else n[s]===void 0&&(n[s]=e[s])}return n}function T0(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Sl(t.components[n].defaultProps,r)}function E0({props:e,name:t,defaultTheme:n,themeId:r}){let s=kp(n);return r&&(s=s[r]||s),T0({theme:s,name:t,props:e})}const Zr=typeof window<"u"?P.useLayoutEffect:P.useEffect;function SH(e,t,n,r,s){const[a,l]=P.useState(()=>s&&n?n(e).matches:r?r(e).matches:t);return Zr(()=>{if(!n)return;const u=n(e),f=()=>{l(u.matches)};return f(),u.addEventListener("change",f),()=>{u.removeEventListener("change",f)}},[e,n]),a}const CH={...Kd},R0=CH.useSyncExternalStore;function OH(e,t,n,r,s){const a=P.useCallback(()=>t,[t]),l=P.useMemo(()=>{if(s&&n)return()=>n(e).matches;if(r!==null){const{matches:h}=r(e);return()=>h}return a},[a,e,r,s,n]),[u,f]=P.useMemo(()=>{if(n===null)return[a,()=>()=>{}];const h=n(e);return[()=>h.matches,m=>(h.addEventListener("change",m),()=>{h.removeEventListener("change",m)})]},[a,n,e]);return R0(f,u,l)}function M0(e={}){const{themeId:t}=e;return function(r,s={}){let a=_y();a&&t&&(a=a[t]||a);const l=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:u=!1,matchMedia:f=l?window.matchMedia:null,ssrMatchMedia:p=null,noSsr:h=!1}=T0({name:"MuiUseMediaQuery",props:s,theme:a});let m=typeof r=="function"?r(a):r;return m=m.replace(/^@media( ?)/m,""),m.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(` +`)),(R0!==void 0?OH:SH)(m,u,f,p,h)}}M0();function DH(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function $y(e,t=0,n=1){return DH(e,t,n)}function kH(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,s)=>s<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function ji(e){if(e.type)return e;if(e.charAt(0)==="#")return ji(kH(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Rs(9,e));let r=e.substring(t+1,e.length-1),s;if(n==="color"){if(r=r.split(" "),s=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(s))throw new Error(Rs(10,s))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:s}}const TH=e=>{const t=ji(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Gc=(e,t)=>{try{return TH(e)}catch{return e}};function Ep(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((s,a)=>a<3?parseInt(s,10):s):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function L0(e){e=ji(e);const{values:t}=e,n=t[0],r=t[1]/100,s=t[2]/100,a=r*Math.min(s,1-s),l=(p,h=(p+n/30)%12)=>s-a*Math.max(Math.min(h-3,9-h,1),-1);let u="rgb";const f=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",f.push(t[3])),Ep({type:u,values:f})}function Im(e){e=ji(e);let t=e.type==="hsl"||e.type==="hsla"?ji(L0(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 EH(e,t){const n=Im(e),r=Im(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function xt(e,t){return e=ji(e),t=$y(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ep(e)}function dd(e,t,n){try{return xt(e,t)}catch{return e}}function pa(e,t){if(e=ji(e),t=$y(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 Ep(e)}function $t(e,t,n){try{return pa(e,t)}catch{return e}}function va(e,t){if(e=ji(e),t=$y(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 Ep(e)}function en(e,t,n){try{return va(e,t)}catch{return e}}function X0(e,t=.15){return Im(e)>.5?pa(e,t):va(e,t)}function pd(e,t,n){try{return X0(e,t)}catch{return e}}function Wm(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function eg(e,t=166){let n;function r(...s){const a=()=>{e.apply(this,s)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function Ld(e,t){var n,r,s;return P.isValidElement(e)&&t.indexOf(e.type.muiName??((s=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:s.muiName))!==-1}function lr(e){return e&&e.ownerDocument||document}function Lo(e){return lr(e).defaultView||window}function Jm(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let v8=0;function RH(e){const[t,n]=P.useState(e),r=e||t;return P.useEffect(()=>{t==null&&(v8+=1,n(`mui-${v8}`))},[t]),r}const MH={...Kd},h8=MH.useId;function Xo(e){if(h8!==void 0){const t=h8();return e??t}return RH(e)}function xi({controlled:e,default:t,name:n,state:r="value"}){const{current:s}=P.useRef(e!==void 0),[a,l]=P.useState(t),u=s?e:a,f=P.useCallback(p=>{s||l(p)},[]);return[u,f]}function ar(e){const t=P.useRef(e);return Zr(()=>{t.current=e}),P.useRef((...n)=>(0,t.current)(...n)).current}function pn(...e){const t=P.useRef(void 0),n=P.useCallback(r=>{const s=e.map(a=>{if(a==null)return null;if(typeof a=="function"){const l=a,u=l(r);return typeof u=="function"?u:()=>{l(null)}}return a.current=r,()=>{a.current=null}});return()=>{s.forEach(a=>a==null?void 0:a())}},e);return P.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=n(r))},e)}const m8={};function N0(e,t){const n=P.useRef(m8);return n.current===m8&&(n.current=e(t)),n}const LH=[];function XH(e){P.useEffect(e,LH)}class Rp{constructor(){zc(this,"currentId",null);zc(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});zc(this,"disposeEffect",()=>this.clear)}static create(){return new Rp}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Qi(){const e=N0(Rp.create).current;return XH(e.disposeEffect),e}function Cl(e){try{return e.matches(":focus-visible")}catch{}return!1}function B0(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const NH=e=>{const t=P.useRef({});return P.useEffect(()=>{t.current=e}),t.current};function _e(e,t,n=void 0){const r={};for(const s in e){const a=e[s];let l="",u=!0;for(let f=0;fr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function y8(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 I0(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:s,className:a}=e;if(!t){const w=Oe(n==null?void 0:n.className,a,s==null?void 0:s.className,r==null?void 0:r.className),A={...n==null?void 0:n.style,...s==null?void 0:s.style,...r==null?void 0:r.style},b={...n,...s,...r};return w.length>0&&(b.className=w),Object.keys(A).length>0&&(b.style=A),{props:b,internalRef:void 0}}const l=ep({...s,...r}),u=y8(r),f=y8(s),p=t(l),h=Oe(p==null?void 0:p.className,n==null?void 0:n.className,a,s==null?void 0:s.className,r==null?void 0:r.className),m={...p==null?void 0:p.style,...n==null?void 0:n.style,...s==null?void 0:s.style,...r==null?void 0:r.style},g={...p,...n,...f,...u};return h.length>0&&(g.className=h),Object.keys(m).length>0&&(g.style=m),{props:g,internalRef:p.ref}}function W0(e,t,n){return typeof e=="function"?e(t,n):e}function J0(e){var m;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:s=!1,...a}=e,l=s?{}:W0(n,r),{props:u,internalRef:f}=I0({...a,externalSlotProps:l}),p=pn(f,l==null?void 0:l.ref,(m=e.additionalProps)==null?void 0:m.ref);return V0(t,{...u,ref:p},r)}function zi(e){var t;return parseInt(P.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const F0=P.createContext(null);function tg(){return P.useContext(F0)}const VH=typeof Symbol=="function"&&Symbol.for,IH=VH?Symbol.for("mui.nested"):"__THEME_NESTED__";function WH(e,t){return typeof t=="function"?t(e):{...e,...t}}function JH(e){const{children:t,theme:n}=e,r=tg(),s=P.useMemo(()=>{const a=r===null?{...n}:WH(r,n);return a!=null&&(a[IH]=r!==null),a},[n,r]);return v.jsx(F0.Provider,{value:s,children:t})}const Y0=P.createContext();function FH({value:e,...t}){return v.jsx(Y0.Provider,{value:e??!0,...t})}const Iu=()=>P.useContext(Y0)??!1,q0=P.createContext(void 0);function YH({value:e,children:t}){return v.jsx(q0.Provider,{value:e,children:t})}function qH(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const s=t.components[n];return s.defaultProps?Sl(s.defaultProps,r):!s.styleOverrides&&!s.variants?Sl(s,r):r}function ZH({props:e,name:t}){const n=P.useContext(q0);return qH({props:e,name:t,theme:{components:n}})}const g8={};function A8(e,t,n,r=!1){return P.useMemo(()=>{const s=e&&t[e]||t;if(typeof n=="function"){const a=n(s),l=e?{...t,[e]:a}:a;return r?()=>l:l}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Z0(e){const{children:t,theme:n,themeId:r}=e,s=_y(g8),a=tg()||g8,l=A8(r,s,n),u=A8(r,a,n,!0),f=(r?l[r]:l).direction==="rtl";return v.jsx(JH,{theme:u,children:v.jsx(Xu.Provider,{value:l,children:v.jsx(FH,{value:f,children:v.jsx(YH,{value:r?l[r].components:l.components,children:t})})})})}const P8={theme:void 0};function GH(e){let t,n;return function(s){let a=t;return(a===void 0||s.theme!==n)&&(P8.theme=s.theme,a=O0(e(P8)),t=a,n=s.theme),a}}const ng="mode",rg="color-scheme",UH="data-color-scheme";function QH(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:s=ng,colorSchemeStorageKey:a=rg,attribute:l=UH,colorSchemeNode:u="document.documentElement",nonce:f}=e||{};let p="",h=l;if(l==="class"&&(h=".%s"),l==="data"&&(h="[data-%s]"),h.startsWith(".")){const g=h.substring(1);p+=`${u}.classList.remove('${g}'.replace('%s', light), '${g}'.replace('%s', dark)); ${u}.classList.add('${g}'.replace('%s', colorScheme));`}const m=h.match(/\[([^\]]+)\]/);if(m){const[g,w]=m[1].split("=");w||(p+=`${u}.removeAttribute('${g}'.replace('%s', light)); ${u}.removeAttribute('${g}'.replace('%s', dark));`),p+=` ${u}.setAttribute('${g}'.replace('%s', colorScheme), ${w?`${w}.replace('%s', colorScheme)`:'""'});`}else p+=`${u}.setAttribute('${h}', colorScheme);`;return v.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(function() { @@ -63,14 +63,14 @@ try { if (colorScheme) { ${p} } -} catch(e){}})();`}},"mui-color-scheme-init")}function QH(){}const KH=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(n){if(typeof window>"u")return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return QH;const r=s=>{const a=s.newValue;s.key===e&&n(a)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}});function lm(){}function P8(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Z0(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 _H(e){return Z0(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function $H(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:a=ng,colorSchemeStorageKey:l=rg,storageWindow:u=typeof window>"u"?void 0:window,storageManager:f=KH,noSsr:p=!1}=e,h=s.join(","),m=s.length>1,g=P.useMemo(()=>f==null?void 0:f({key:a,storageWindow:u}),[f,a,u]),w=P.useMemo(()=>f==null?void 0:f({key:`${l}-light`,storageWindow:u}),[f,l,u]),A=P.useMemo(()=>f==null?void 0:f({key:`${l}-dark`,storageWindow:u}),[f,l,u]),[b,j]=P.useState(()=>{const L=(g==null?void 0:g.get(t))||t,R=(w==null?void 0:w.get(n))||n,H=(A==null?void 0:A.get(r))||r;return{mode:L,systemMode:P8(L),lightColorScheme:R,darkColorScheme:H}}),[S,z]=P.useState(p||!m);P.useEffect(()=>{z(!0)},[]);const C=_H(b),O=P.useCallback(L=>{j(R=>{if(L===R.mode)return R;const H=L??t;return g==null||g.set(H),{...R,mode:H,systemMode:P8(H)}})},[g,t]),D=P.useCallback(L=>{L?typeof L=="string"?L&&!h.includes(L)?console.error(`\`${L}\` does not exist in \`theme.colorSchemes\`.`):j(R=>{const H={...R};return Z0(R,N=>{N==="light"&&(w==null||w.set(L),H.lightColorScheme=L),N==="dark"&&(A==null||A.set(L),H.darkColorScheme=L)}),H}):j(R=>{const H={...R},N=L.light===null?n:L.light,B=L.dark===null?r:L.dark;return N&&(h.includes(N)?(H.lightColorScheme=N,w==null||w.set(N)):console.error(`\`${N}\` does not exist in \`theme.colorSchemes\`.`)),B&&(h.includes(B)?(H.darkColorScheme=B,A==null||A.set(B)):console.error(`\`${B}\` does not exist in \`theme.colorSchemes\`.`)),H}):j(R=>(w==null||w.set(n),A==null||A.set(r),{...R,lightColorScheme:n,darkColorScheme:r}))},[h,w,A,n,r]),T=P.useCallback(L=>{b.mode==="system"&&j(R=>{const H=L!=null&&L.matches?"dark":"light";return R.systemMode===H?R:{...R,systemMode:H}})},[b.mode]),M=P.useRef(T);return M.current=T,P.useEffect(()=>{if(typeof window.matchMedia!="function"||!m)return;const L=(...H)=>M.current(...H),R=window.matchMedia("(prefers-color-scheme: dark)");return R.addListener(L),L(R),()=>{R.removeListener(L)}},[m]),P.useEffect(()=>{if(m){const L=(g==null?void 0:g.subscribe(N=>{(!N||["light","dark","system"].includes(N))&&O(N||t)}))||lm,R=(w==null?void 0:w.subscribe(N=>{(!N||h.match(N))&&D({light:N})}))||lm,H=(A==null?void 0:A.subscribe(N=>{(!N||h.match(N))&&D({dark:N})}))||lm;return()=>{L(),R(),H()}}},[D,O,h,t,u,m,g,w,A]),{...b,mode:S?b.mode:void 0,systemMode:S?b.systemMode:void 0,colorScheme:S?C:void 0,setMode:O,setColorScheme:D}}const ej="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function tj(e){const{themeId:t,theme:n={},modeStorageKey:r=ng,colorSchemeStorageKey:s=rg,disableTransitionOnChange:a=!1,defaultColorScheme:l,resolveTheme:u}=e,f={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},p=P.createContext(void 0),h=()=>P.useContext(p)||f,m={},g={};function w(S){var he,xe,Ie,lt;const{children:z,theme:C,modeStorageKey:O=r,colorSchemeStorageKey:D=s,disableTransitionOnChange:T=a,storageManager:M,storageWindow:L=typeof window>"u"?void 0:window,documentNode:R=typeof document>"u"?void 0:document,colorSchemeNode:H=typeof document>"u"?void 0:document.documentElement,disableNestedContext:N=!1,disableStyleSheetGeneration:B=!1,defaultMode:W="system",noSsr:_}=S,J=P.useRef(!1),U=tg(),oe=P.useContext(p),K=!!oe&&!N,Z=P.useMemo(()=>C||(typeof n=="function"?n():n),[C]),E=Z[t],q=E||Z,{colorSchemes:X=m,components:$=g,cssVarPrefix:ee}=q,se=Object.keys(X).filter(Fe=>!!X[Fe]).join(","),ae=P.useMemo(()=>se.split(","),[se]),ye=typeof l=="string"?l:l.light,le=typeof l=="string"?l:l.dark,we=X[ye]&&X[le]?W:((xe=(he=X[q.defaultColorScheme])==null?void 0:he.palette)==null?void 0:xe.mode)||((Ie=q.palette)==null?void 0:Ie.mode),{mode:Ce,setMode:Le,systemMode:Pe,lightColorScheme:Ve,darkColorScheme:be,colorScheme:Be,setColorScheme:Pt}=$H({supportedColorSchemes:ae,defaultLightColorScheme:ye,defaultDarkColorScheme:le,modeStorageKey:O,colorSchemeStorageKey:D,defaultMode:we,storageManager:M,storageWindow:L,noSsr:_});let Ne=Ce,gt=Be;K&&(Ne=oe.mode,gt=oe.colorScheme);const ft=P.useMemo(()=>{var We;const Fe=gt||q.defaultColorScheme,ct=((We=q.generateThemeVars)==null?void 0:We.call(q))||q.vars,et={...q,components:$,colorSchemes:X,cssVarPrefix:ee,vars:ct};if(typeof et.generateSpacing=="function"&&(et.spacing=et.generateSpacing()),Fe){const Ot=X[Fe];Ot&&typeof Ot=="object"&&Object.keys(Ot).forEach(zt=>{Ot[zt]&&typeof Ot[zt]=="object"?et[zt]={...et[zt],...Ot[zt]}:et[zt]=Ot[zt]})}return u?u(et):et},[q,gt,$,X,ee]),V=q.colorSchemeSelector;Zr(()=>{if(gt&&H&&V&&V!=="media"){const Fe=V;let ct=V;if(Fe==="class"&&(ct=".%s"),Fe==="data"&&(ct="[data-%s]"),Fe!=null&&Fe.startsWith("data-")&&!Fe.includes("%s")&&(ct=`[${Fe}="%s"]`),ct.startsWith("."))H.classList.remove(...ae.map(et=>ct.substring(1).replace("%s",et))),H.classList.add(ct.substring(1).replace("%s",gt));else{const et=ct.replace("%s",gt).match(/\[([^\]]+)\]/);if(et){const[We,Ot]=et[1].split("=");Ot||ae.forEach(zt=>{H.removeAttribute(We.replace(gt,zt))}),H.setAttribute(We,Ot?Ot.replace(/"|'/g,""):"")}else H.setAttribute(ct,gt)}}},[gt,V,H,ae]),P.useEffect(()=>{let Fe;if(T&&J.current&&R){const ct=R.createElement("style");ct.appendChild(R.createTextNode(ej)),R.head.appendChild(ct),window.getComputedStyle(R.body),Fe=setTimeout(()=>{R.head.removeChild(ct)},1)}return()=>{clearTimeout(Fe)}},[gt,T,R]),P.useEffect(()=>(J.current=!0,()=>{J.current=!1}),[]);const te=P.useMemo(()=>({allColorSchemes:ae,colorScheme:gt,darkColorScheme:be,lightColorScheme:Ve,mode:Ne,setColorScheme:Pt,setMode:Le,systemMode:Pe}),[ae,gt,be,Ve,Ne,Pt,Le,Pe,ft.colorSchemeSelector]);let ne=!0;(B||q.cssVariables===!1||K&&(U==null?void 0:U.cssVarPrefix)===ee)&&(ne=!1);const He=v.jsxs(P.Fragment,{children:[v.jsx(q0,{themeId:E?t:void 0,theme:ft,children:z}),ne&&v.jsx(g0,{styles:((lt=ft.generateStyleSheets)==null?void 0:lt.call(ft))||[]})]});return K?He:v.jsx(p.Provider,{value:te,children:He})}const A=typeof l=="string"?l:l.light,b=typeof l=="string"?l:l.dark;return{CssVarsProvider:w,useColorScheme:h,getInitColorSchemeScript:S=>UH({colorSchemeStorageKey:s,defaultLightColorScheme:A,defaultDarkColorScheme:b,modeStorageKey:r,...S})}}function nj(e=""){function t(...r){if(!r.length)return"";const s=r[0];return typeof s=="string"&&!s.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}-`:""}${s}${t(...r.slice(1))})`:`, ${s}`}return(r,...s)=>`var(--${e?`${e}-`:""}${r}${t(...s)})`}const b8=(e,t,n,r=[])=>{let s=e;t.forEach((a,l)=>{l===t.length-1?Array.isArray(s)?s[Number(a)]=n:s&&typeof s=="object"&&(s[a]=n):s&&typeof s=="object"&&(s[a]||(s[a]=r.includes(a)?[]:{}),s=s[a])})},rj=(e,t,n)=>{function r(s,a=[],l=[]){Object.entries(s).forEach(([u,f])=>{(!n||n&&!n([...a,u]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?r(f,[...a,u],Array.isArray(f)?[...l,u]:l):t([...a,u],f,l))})}r(e)},oj=(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 cm(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},s={},a={},l={};return rj(e,(u,f,p)=>{if((typeof f=="string"||typeof f=="number")&&(!r||!r(u,f))){const h=`--${n?`${n}-`:""}${u.join("-")}`,m=oj(u,f);Object.assign(s,{[h]:m}),b8(a,u,`var(${h})`,p),b8(l,u,`var(${h}, ${m})`,p)}},u=>u[0]==="vars"),{css:s,vars:a,varsWithDefaults:l}}function sj(e,t={}){const{getSelector:n=j,disableCssColorScheme:r,colorSchemeSelector:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:u="light",...f}=e,{vars:p,css:h,varsWithDefaults:m}=cm(f,t);let g=m;const w={},{[u]:A,...b}=a;if(Object.entries(b||{}).forEach(([C,O])=>{const{vars:D,css:T,varsWithDefaults:M}=cm(O,t);g=qn(g,M),w[C]={css:T,vars:D}}),A){const{css:C,vars:O,varsWithDefaults:D}=cm(A,t);g=qn(g,D),w[u]={css:C,vars:O}}function j(C,O){var T,M;let D=s;if(s==="class"&&(D=".%s"),s==="data"&&(D="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(D=`[${s}="%s"]`),C){if(D==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${((M=(T=a[C])==null?void 0:T.palette)==null?void 0:M.mode)||C})`]:{":root":O}};if(D)return e.defaultColorScheme===C?`:root, ${D.replace("%s",String(C))}`:D.replace("%s",String(C))}return":root"}return{vars:g,generateThemeVars:()=>{let C={...p};return Object.entries(w).forEach(([,{vars:O}])=>{C=qn(C,O)}),C},generateStyleSheets:()=>{var L,R;const C=[],O=e.defaultColorScheme||"light";function D(H,N){Object.keys(N).length&&C.push(typeof H=="string"?{[H]:{...N}}:H)}D(n(void 0,{...h}),h);const{[O]:T,...M}=w;if(T){const{css:H}=T,N=(R=(L=a[O])==null?void 0:L.palette)==null?void 0:R.mode,B=!r&&N?{colorScheme:N,...H}:{...H};D(n(O,{...B}),B)}return Object.entries(M).forEach(([H,{css:N}])=>{var _,J;const B=(J=(_=a[H])==null?void 0:_.palette)==null?void 0:J.mode,W=!r&&B?{colorScheme:B,...N}:{...N};D(n(H,{...W}),W)}),C}}}function ij(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 aj=Dp(),lj=jH("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function cj(e){return T0({props:e,name:"MuiStack",defaultTheme:aj})}function uj(e,t){const n=P.Children.toArray(e).filter(Boolean);return n.reduce((r,s,a)=>(r.push(s),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],dj=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...Rr({theme:t},la({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=Hp(t),s=Object.keys(t.breakpoints.values).reduce((f,p)=>((typeof e.spacing=="object"&&e.spacing[p]!=null||typeof e.direction=="object"&&e.direction[p]!=null)&&(f[p]=!0),f),{}),a=la({values:e.direction,base:s}),l=la({values:e.spacing,base:s});typeof a=="object"&&Object.keys(a).forEach((f,p,h)=>{if(!a[f]){const g=p>0?a[h[p-1]]:"column";a[f]=g}}),n=qn(n,Rr({theme:t},l,(f,p)=>e.useFlexGap?{gap:fa(r,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${fj(p?a[p]:e.direction)}`]:fa(r,f)}}))}return n=w7(t.breakpoints,n),n};function pj(e={}){const{createStyledComponent:t=lj,useThemeProps:n=cj,componentName:r="MuiStack"}=e,s=()=>_e({root:["root"]},f=>Qe(r,f),{}),a=t(dj);return P.forwardRef(function(f,p){const h=n(f),m=Tp(h),{component:g="div",direction:w="column",spacing:A=0,divider:b,children:j,className:S,useFlexGap:z=!1,...C}=m,O={direction:w,spacing:A,useFlexGap:z},D=s();return v.jsx(a,{as:g,ownerState:O,ref:p,className:Oe(D.root,S),...C,children:b?uj(j,b):j})})}function G0(){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:hu.white,default:hu.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 vj=G0();function U0(){return{text:{primary:hu.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:hu.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 x8=U0();function w8(e,t,n,r){const s=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=pa(e.main,s):t==="dark"&&(e.dark=da(e.main,a)))}function hj(e="light"){return e==="dark"?{main:Ua[200],light:Ua[50],dark:Ua[400]}:{main:Ua[700],light:Ua[400],dark:Ua[800]}}function mj(e="light"){return e==="dark"?{main:Ga[200],light:Ga[50],dark:Ga[400]}:{main:Ga[500],light:Ga[300],dark:Ga[700]}}function yj(e="light"){return e==="dark"?{main:Za[500],light:Za[300],dark:Za[700]}:{main:Za[700],light:Za[400],dark:Za[800]}}function gj(e="light"){return e==="dark"?{main:Qa[400],light:Qa[300],dark:Qa[700]}:{main:Qa[700],light:Qa[500],dark:Qa[900]}}function Aj(e="light"){return e==="dark"?{main:Ka[400],light:Ka[300],dark:Ka[700]}:{main:Ka[800],light:Ka[500],dark:Ka[900]}}function Pj(e="light"){return e==="dark"?{main:Cc[400],light:Cc[300],dark:Cc[700]}:{main:"#ed6c02",light:Cc[500],dark:Cc[900]}}function og(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...s}=e,a=e.primary||hj(t),l=e.secondary||mj(t),u=e.error||yj(t),f=e.info||gj(t),p=e.success||Aj(t),h=e.warning||Pj(t);function m(b){return TH(b,x8.text.primary)>=n?x8.text.primary:vj.text.primary}const g=({color:b,name:j,mainShade:S=500,lightShade:z=300,darkShade:C=700})=>{if(b={...b},!b.main&&b[S]&&(b.main=b[S]),!b.hasOwnProperty("main"))throw new Error(Rs(11,j?` (${j})`:"",S));if(typeof b.main!="string")throw new Error(Rs(12,j?` (${j})`:"",JSON.stringify(b.main)));return w8(b,"light",z,r),w8(b,"dark",C,r),b.contrastText||(b.contrastText=m(b.main)),b};let w;return t==="light"?w=G0():t==="dark"&&(w=U0()),qn({common:{...hu},mode:t,primary:g({color:a,name:"primary"}),secondary:g({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:g({color:u,name:"error"}),warning:g({color:h,name:"warning"}),info:g({color:f,name:"info"}),success:g({color:p,name:"success"}),grey:p3,contrastThreshold:n,getContrastText:m,augmentColor:g,tonalOffset:r,...w},s)}function bj(e){const t={};return Object.entries(e).forEach(r=>{const[s,a]=r;typeof a=="object"&&(t[s]=`${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 xj(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function wj(e){return Math.round(e*1e5)/1e5}const H8={textTransform:"uppercase"},j8='"Roboto", "Helvetica", "Arial", sans-serif';function Q0(e,t){const{fontFamily:n=j8,fontSize:r=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:u=700,htmlFontSize:f=16,allVariants:p,pxToRem:h,...m}=typeof t=="function"?t(e):t,g=r/14,w=h||(j=>`${j/f*g}rem`),A=(j,S,z,C,O)=>({fontFamily:n,fontWeight:j,fontSize:w(S),lineHeight:z,...n===j8?{letterSpacing:`${wj(C/S)}em`}:{},...O,...p}),b={h1:A(s,96,1.167,-1.5),h2:A(s,60,1.2,-.5),h3:A(a,48,1.167,0),h4:A(a,34,1.235,.25),h5:A(a,24,1.334,0),h6:A(l,20,1.6,.15),subtitle1:A(a,16,1.75,.15),subtitle2:A(l,14,1.57,.1),body1:A(a,16,1.5,.15),body2:A(a,14,1.43,.15),button:A(l,14,1.75,.4,H8),caption:A(a,12,1.66,.4),overline:A(a,12,2.66,1,H8),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return qn({htmlFontSize:f,pxToRem:w,fontFamily:n,fontSize:r,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:u,...b},m,{clone:!1})}const Hj=.2,jj=.14,zj=.12;function fn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Hj})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${jj})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${zj})`].join(",")}const Sj=["none",fn(0,2,1,-1,0,1,1,0,0,1,3,0),fn(0,3,1,-2,0,2,2,0,0,1,5,0),fn(0,3,3,-2,0,3,4,0,0,1,8,0),fn(0,2,4,-1,0,4,5,0,0,1,10,0),fn(0,3,5,-1,0,5,8,0,0,1,14,0),fn(0,3,5,-1,0,6,10,0,0,1,18,0),fn(0,4,5,-2,0,7,10,1,0,2,16,1),fn(0,5,5,-3,0,8,10,1,0,3,14,2),fn(0,5,6,-3,0,9,12,1,0,3,16,2),fn(0,6,6,-3,0,10,14,1,0,4,18,3),fn(0,6,7,-4,0,11,15,1,0,4,20,3),fn(0,7,8,-4,0,12,17,2,0,5,22,4),fn(0,7,8,-4,0,13,19,2,0,5,24,4),fn(0,7,9,-4,0,14,21,2,0,5,26,4),fn(0,8,9,-5,0,15,22,2,0,6,28,5),fn(0,8,10,-5,0,16,24,2,0,6,30,5),fn(0,8,11,-5,0,17,26,2,0,6,32,5),fn(0,9,11,-5,0,18,28,2,0,7,34,6),fn(0,9,12,-6,0,19,29,2,0,7,36,6),fn(0,10,13,-6,0,20,31,3,0,8,38,7),fn(0,10,13,-6,0,21,33,3,0,8,40,7),fn(0,10,14,-6,0,22,35,3,0,8,42,7),fn(0,11,14,-7,0,23,36,3,0,9,44,8),fn(0,11,15,-7,0,24,38,3,0,9,46,8)],Cj={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)"},Oj={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function z8(e){return`${Math.round(e)}ms`}function Dj(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function kj(e){const t={...Cj,...e.easing},n={...Oj,...e.duration};return{getAutoHeightDuration:Dj,create:(s=["all"],a={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:f=0,...p}=a;return(Array.isArray(s)?s:[s]).map(h=>`${h} ${typeof l=="string"?l:z8(l)} ${u} ${typeof f=="string"?f:z8(f)}`).join(",")},...e,easing:t,duration:n}}const Tj={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Ej(e){return os(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function K0(e={}){const t={...e};function n(r){const s=Object.entries(r);for(let a=0;a(!t&&typeof window<"u"&&(t=window),{get(n){if(typeof window>"u")return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return KH;const r=s=>{const a=s.newValue;s.key===e&&n(a)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}});function lm(){}function b8(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function G0(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 $H(e){return G0(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function ej(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:a=ng,colorSchemeStorageKey:l=rg,storageWindow:u=typeof window>"u"?void 0:window,storageManager:f=_H,noSsr:p=!1}=e,h=s.join(","),m=s.length>1,g=P.useMemo(()=>f==null?void 0:f({key:a,storageWindow:u}),[f,a,u]),w=P.useMemo(()=>f==null?void 0:f({key:`${l}-light`,storageWindow:u}),[f,l,u]),A=P.useMemo(()=>f==null?void 0:f({key:`${l}-dark`,storageWindow:u}),[f,l,u]),[b,j]=P.useState(()=>{const L=(g==null?void 0:g.get(t))||t,R=(w==null?void 0:w.get(n))||n,H=(A==null?void 0:A.get(r))||r;return{mode:L,systemMode:b8(L),lightColorScheme:R,darkColorScheme:H}}),[S,z]=P.useState(p||!m);P.useEffect(()=>{z(!0)},[]);const C=$H(b),O=P.useCallback(L=>{j(R=>{if(L===R.mode)return R;const H=L??t;return g==null||g.set(H),{...R,mode:H,systemMode:b8(H)}})},[g,t]),D=P.useCallback(L=>{L?typeof L=="string"?L&&!h.includes(L)?console.error(`\`${L}\` does not exist in \`theme.colorSchemes\`.`):j(R=>{const H={...R};return G0(R,N=>{N==="light"&&(w==null||w.set(L),H.lightColorScheme=L),N==="dark"&&(A==null||A.set(L),H.darkColorScheme=L)}),H}):j(R=>{const H={...R},N=L.light===null?n:L.light,B=L.dark===null?r:L.dark;return N&&(h.includes(N)?(H.lightColorScheme=N,w==null||w.set(N)):console.error(`\`${N}\` does not exist in \`theme.colorSchemes\`.`)),B&&(h.includes(B)?(H.darkColorScheme=B,A==null||A.set(B)):console.error(`\`${B}\` does not exist in \`theme.colorSchemes\`.`)),H}):j(R=>(w==null||w.set(n),A==null||A.set(r),{...R,lightColorScheme:n,darkColorScheme:r}))},[h,w,A,n,r]),T=P.useCallback(L=>{b.mode==="system"&&j(R=>{const H=L!=null&&L.matches?"dark":"light";return R.systemMode===H?R:{...R,systemMode:H}})},[b.mode]),M=P.useRef(T);return M.current=T,P.useEffect(()=>{if(typeof window.matchMedia!="function"||!m)return;const L=(...H)=>M.current(...H),R=window.matchMedia("(prefers-color-scheme: dark)");return R.addListener(L),L(R),()=>{R.removeListener(L)}},[m]),P.useEffect(()=>{if(m){const L=(g==null?void 0:g.subscribe(N=>{(!N||["light","dark","system"].includes(N))&&O(N||t)}))||lm,R=(w==null?void 0:w.subscribe(N=>{(!N||h.match(N))&&D({light:N})}))||lm,H=(A==null?void 0:A.subscribe(N=>{(!N||h.match(N))&&D({dark:N})}))||lm;return()=>{L(),R(),H()}}},[D,O,h,t,u,m,g,w,A]),{...b,mode:S?b.mode:void 0,systemMode:S?b.systemMode:void 0,colorScheme:S?C:void 0,setMode:O,setColorScheme:D}}const tj="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function nj(e){const{themeId:t,theme:n={},modeStorageKey:r=ng,colorSchemeStorageKey:s=rg,disableTransitionOnChange:a=!1,defaultColorScheme:l,resolveTheme:u}=e,f={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},p=P.createContext(void 0),h=()=>P.useContext(p)||f,m={},g={};function w(S){var he,xe,Be,ot;const{children:z,theme:C,modeStorageKey:O=r,colorSchemeStorageKey:D=s,disableTransitionOnChange:T=a,storageManager:M,storageWindow:L=typeof window>"u"?void 0:window,documentNode:R=typeof document>"u"?void 0:document,colorSchemeNode:H=typeof document>"u"?void 0:document.documentElement,disableNestedContext:N=!1,disableStyleSheetGeneration:B=!1,defaultMode:W="system",noSsr:_}=S,J=P.useRef(!1),U=tg(),oe=P.useContext(p),K=!!oe&&!N,Z=P.useMemo(()=>C||(typeof n=="function"?n():n),[C]),E=Z[t],q=E||Z,{colorSchemes:X=m,components:$=g,cssVarPrefix:ee}=q,se=Object.keys(X).filter(Fe=>!!X[Fe]).join(","),ae=P.useMemo(()=>se.split(","),[se]),ye=typeof l=="string"?l:l.light,le=typeof l=="string"?l:l.dark,we=X[ye]&&X[le]?W:((xe=(he=X[q.defaultColorScheme])==null?void 0:he.palette)==null?void 0:xe.mode)||((Be=q.palette)==null?void 0:Be.mode),{mode:Ce,setMode:Le,systemMode:Pe,lightColorScheme:Ie,darkColorScheme:be,colorScheme:Ve,setColorScheme:Pt}=ej({supportedColorSchemes:ae,defaultLightColorScheme:ye,defaultDarkColorScheme:le,modeStorageKey:O,colorSchemeStorageKey:D,defaultMode:we,storageManager:M,storageWindow:L,noSsr:_});let Ne=Ce,gt=Ve;K&&(Ne=oe.mode,gt=oe.colorScheme);const ft=P.useMemo(()=>{var We;const Fe=gt||q.defaultColorScheme,ct=((We=q.generateThemeVars)==null?void 0:We.call(q))||q.vars,et={...q,components:$,colorSchemes:X,cssVarPrefix:ee,vars:ct};if(typeof et.generateSpacing=="function"&&(et.spacing=et.generateSpacing()),Fe){const Ot=X[Fe];Ot&&typeof Ot=="object"&&Object.keys(Ot).forEach(zt=>{Ot[zt]&&typeof Ot[zt]=="object"?et[zt]={...et[zt],...Ot[zt]}:et[zt]=Ot[zt]})}return u?u(et):et},[q,gt,$,X,ee]),V=q.colorSchemeSelector;Zr(()=>{if(gt&&H&&V&&V!=="media"){const Fe=V;let ct=V;if(Fe==="class"&&(ct=".%s"),Fe==="data"&&(ct="[data-%s]"),Fe!=null&&Fe.startsWith("data-")&&!Fe.includes("%s")&&(ct=`[${Fe}="%s"]`),ct.startsWith("."))H.classList.remove(...ae.map(et=>ct.substring(1).replace("%s",et))),H.classList.add(ct.substring(1).replace("%s",gt));else{const et=ct.replace("%s",gt).match(/\[([^\]]+)\]/);if(et){const[We,Ot]=et[1].split("=");Ot||ae.forEach(zt=>{H.removeAttribute(We.replace(gt,zt))}),H.setAttribute(We,Ot?Ot.replace(/"|'/g,""):"")}else H.setAttribute(ct,gt)}}},[gt,V,H,ae]),P.useEffect(()=>{let Fe;if(T&&J.current&&R){const ct=R.createElement("style");ct.appendChild(R.createTextNode(tj)),R.head.appendChild(ct),window.getComputedStyle(R.body),Fe=setTimeout(()=>{R.head.removeChild(ct)},1)}return()=>{clearTimeout(Fe)}},[gt,T,R]),P.useEffect(()=>(J.current=!0,()=>{J.current=!1}),[]);const te=P.useMemo(()=>({allColorSchemes:ae,colorScheme:gt,darkColorScheme:be,lightColorScheme:Ie,mode:Ne,setColorScheme:Pt,setMode:Le,systemMode:Pe}),[ae,gt,be,Ie,Ne,Pt,Le,Pe,ft.colorSchemeSelector]);let ne=!0;(B||q.cssVariables===!1||K&&(U==null?void 0:U.cssVarPrefix)===ee)&&(ne=!1);const He=v.jsxs(P.Fragment,{children:[v.jsx(Z0,{themeId:E?t:void 0,theme:ft,children:z}),ne&&v.jsx(A0,{styles:((ot=ft.generateStyleSheets)==null?void 0:ot.call(ft))||[]})]});return K?He:v.jsx(p.Provider,{value:te,children:He})}const A=typeof l=="string"?l:l.light,b=typeof l=="string"?l:l.dark;return{CssVarsProvider:w,useColorScheme:h,getInitColorSchemeScript:S=>QH({colorSchemeStorageKey:s,defaultLightColorScheme:A,defaultDarkColorScheme:b,modeStorageKey:r,...S})}}function rj(e=""){function t(...r){if(!r.length)return"";const s=r[0];return typeof s=="string"&&!s.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}-`:""}${s}${t(...r.slice(1))})`:`, ${s}`}return(r,...s)=>`var(--${e?`${e}-`:""}${r}${t(...s)})`}const x8=(e,t,n,r=[])=>{let s=e;t.forEach((a,l)=>{l===t.length-1?Array.isArray(s)?s[Number(a)]=n:s&&typeof s=="object"&&(s[a]=n):s&&typeof s=="object"&&(s[a]||(s[a]=r.includes(a)?[]:{}),s=s[a])})},oj=(e,t,n)=>{function r(s,a=[],l=[]){Object.entries(s).forEach(([u,f])=>{(!n||n&&!n([...a,u]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?r(f,[...a,u],Array.isArray(f)?[...l,u]:l):t([...a,u],f,l))})}r(e)},sj=(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 cm(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},s={},a={},l={};return oj(e,(u,f,p)=>{if((typeof f=="string"||typeof f=="number")&&(!r||!r(u,f))){const h=`--${n?`${n}-`:""}${u.join("-")}`,m=sj(u,f);Object.assign(s,{[h]:m}),x8(a,u,`var(${h})`,p),x8(l,u,`var(${h}, ${m})`,p)}},u=>u[0]==="vars"),{css:s,vars:a,varsWithDefaults:l}}function ij(e,t={}){const{getSelector:n=j,disableCssColorScheme:r,colorSchemeSelector:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:u="light",...f}=e,{vars:p,css:h,varsWithDefaults:m}=cm(f,t);let g=m;const w={},{[u]:A,...b}=a;if(Object.entries(b||{}).forEach(([C,O])=>{const{vars:D,css:T,varsWithDefaults:M}=cm(O,t);g=Zn(g,M),w[C]={css:T,vars:D}}),A){const{css:C,vars:O,varsWithDefaults:D}=cm(A,t);g=Zn(g,D),w[u]={css:C,vars:O}}function j(C,O){var T,M;let D=s;if(s==="class"&&(D=".%s"),s==="data"&&(D="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(D=`[${s}="%s"]`),C){if(D==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${((M=(T=a[C])==null?void 0:T.palette)==null?void 0:M.mode)||C})`]:{":root":O}};if(D)return e.defaultColorScheme===C?`:root, ${D.replace("%s",String(C))}`:D.replace("%s",String(C))}return":root"}return{vars:g,generateThemeVars:()=>{let C={...p};return Object.entries(w).forEach(([,{vars:O}])=>{C=Zn(C,O)}),C},generateStyleSheets:()=>{var L,R;const C=[],O=e.defaultColorScheme||"light";function D(H,N){Object.keys(N).length&&C.push(typeof H=="string"?{[H]:{...N}}:H)}D(n(void 0,{...h}),h);const{[O]:T,...M}=w;if(T){const{css:H}=T,N=(R=(L=a[O])==null?void 0:L.palette)==null?void 0:R.mode,B=!r&&N?{colorScheme:N,...H}:{...H};D(n(O,{...B}),B)}return Object.entries(M).forEach(([H,{css:N}])=>{var _,J;const B=(J=(_=a[H])==null?void 0:_.palette)==null?void 0:J.mode,W=!r&&B?{colorScheme:B,...N}:{...N};D(n(H,{...W}),W)}),C}}}function aj(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 lj=Dp(),cj=zH("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function uj(e){return E0({props:e,name:"MuiStack",defaultTheme:lj})}function fj(e,t){const n=P.Children.toArray(e).filter(Boolean);return n.reduce((r,s,a)=>(r.push(s),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],pj=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...Rr({theme:t},ca({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=Hp(t),s=Object.keys(t.breakpoints.values).reduce((f,p)=>((typeof e.spacing=="object"&&e.spacing[p]!=null||typeof e.direction=="object"&&e.direction[p]!=null)&&(f[p]=!0),f),{}),a=ca({values:e.direction,base:s}),l=ca({values:e.spacing,base:s});typeof a=="object"&&Object.keys(a).forEach((f,p,h)=>{if(!a[f]){const g=p>0?a[h[p-1]]:"column";a[f]=g}}),n=Zn(n,Rr({theme:t},l,(f,p)=>e.useFlexGap?{gap:da(r,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${dj(p?a[p]:e.direction)}`]:da(r,f)}}))}return n=H7(t.breakpoints,n),n};function vj(e={}){const{createStyledComponent:t=cj,useThemeProps:n=uj,componentName:r="MuiStack"}=e,s=()=>_e({root:["root"]},f=>Qe(r,f),{}),a=t(pj);return P.forwardRef(function(f,p){const h=n(f),m=Tp(h),{component:g="div",direction:w="column",spacing:A=0,divider:b,children:j,className:S,useFlexGap:z=!1,...C}=m,O={direction:w,spacing:A,useFlexGap:z},D=s();return v.jsx(a,{as:g,ownerState:O,ref:p,className:Oe(D.root,S),...C,children:b?fj(j,b):j})})}function U0(){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:hu.white,default:hu.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 hj=U0();function Q0(){return{text:{primary:hu.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:hu.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 w8=Q0();function H8(e,t,n,r){const s=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=va(e.main,s):t==="dark"&&(e.dark=pa(e.main,a)))}function mj(e="light"){return e==="dark"?{main:Qa[200],light:Qa[50],dark:Qa[400]}:{main:Qa[700],light:Qa[400],dark:Qa[800]}}function yj(e="light"){return e==="dark"?{main:Ua[200],light:Ua[50],dark:Ua[400]}:{main:Ua[500],light:Ua[300],dark:Ua[700]}}function gj(e="light"){return e==="dark"?{main:Ga[500],light:Ga[300],dark:Ga[700]}:{main:Ga[700],light:Ga[400],dark:Ga[800]}}function Aj(e="light"){return e==="dark"?{main:Ka[400],light:Ka[300],dark:Ka[700]}:{main:Ka[700],light:Ka[500],dark:Ka[900]}}function Pj(e="light"){return e==="dark"?{main:_a[400],light:_a[300],dark:_a[700]}:{main:_a[800],light:_a[500],dark:_a[900]}}function bj(e="light"){return e==="dark"?{main:Cc[400],light:Cc[300],dark:Cc[700]}:{main:"#ed6c02",light:Cc[500],dark:Cc[900]}}function og(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...s}=e,a=e.primary||mj(t),l=e.secondary||yj(t),u=e.error||gj(t),f=e.info||Aj(t),p=e.success||Pj(t),h=e.warning||bj(t);function m(b){return EH(b,w8.text.primary)>=n?w8.text.primary:hj.text.primary}const g=({color:b,name:j,mainShade:S=500,lightShade:z=300,darkShade:C=700})=>{if(b={...b},!b.main&&b[S]&&(b.main=b[S]),!b.hasOwnProperty("main"))throw new Error(Rs(11,j?` (${j})`:"",S));if(typeof b.main!="string")throw new Error(Rs(12,j?` (${j})`:"",JSON.stringify(b.main)));return H8(b,"light",z,r),H8(b,"dark",C,r),b.contrastText||(b.contrastText=m(b.main)),b};let w;return t==="light"?w=U0():t==="dark"&&(w=Q0()),Zn({common:{...hu},mode:t,primary:g({color:a,name:"primary"}),secondary:g({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:g({color:u,name:"error"}),warning:g({color:h,name:"warning"}),info:g({color:f,name:"info"}),success:g({color:p,name:"success"}),grey:v3,contrastThreshold:n,getContrastText:m,augmentColor:g,tonalOffset:r,...w},s)}function xj(e){const t={};return Object.entries(e).forEach(r=>{const[s,a]=r;typeof a=="object"&&(t[s]=`${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 wj(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Hj(e){return Math.round(e*1e5)/1e5}const j8={textTransform:"uppercase"},z8='"Roboto", "Helvetica", "Arial", sans-serif';function K0(e,t){const{fontFamily:n=z8,fontSize:r=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:u=700,htmlFontSize:f=16,allVariants:p,pxToRem:h,...m}=typeof t=="function"?t(e):t,g=r/14,w=h||(j=>`${j/f*g}rem`),A=(j,S,z,C,O)=>({fontFamily:n,fontWeight:j,fontSize:w(S),lineHeight:z,...n===z8?{letterSpacing:`${Hj(C/S)}em`}:{},...O,...p}),b={h1:A(s,96,1.167,-1.5),h2:A(s,60,1.2,-.5),h3:A(a,48,1.167,0),h4:A(a,34,1.235,.25),h5:A(a,24,1.334,0),h6:A(l,20,1.6,.15),subtitle1:A(a,16,1.75,.15),subtitle2:A(l,14,1.57,.1),body1:A(a,16,1.5,.15),body2:A(a,14,1.43,.15),button:A(l,14,1.75,.4,j8),caption:A(a,12,1.66,.4),overline:A(a,12,2.66,1,j8),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Zn({htmlFontSize:f,pxToRem:w,fontFamily:n,fontSize:r,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:u,...b},m,{clone:!1})}const jj=.2,zj=.14,Sj=.12;function fn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${jj})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${zj})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Sj})`].join(",")}const Cj=["none",fn(0,2,1,-1,0,1,1,0,0,1,3,0),fn(0,3,1,-2,0,2,2,0,0,1,5,0),fn(0,3,3,-2,0,3,4,0,0,1,8,0),fn(0,2,4,-1,0,4,5,0,0,1,10,0),fn(0,3,5,-1,0,5,8,0,0,1,14,0),fn(0,3,5,-1,0,6,10,0,0,1,18,0),fn(0,4,5,-2,0,7,10,1,0,2,16,1),fn(0,5,5,-3,0,8,10,1,0,3,14,2),fn(0,5,6,-3,0,9,12,1,0,3,16,2),fn(0,6,6,-3,0,10,14,1,0,4,18,3),fn(0,6,7,-4,0,11,15,1,0,4,20,3),fn(0,7,8,-4,0,12,17,2,0,5,22,4),fn(0,7,8,-4,0,13,19,2,0,5,24,4),fn(0,7,9,-4,0,14,21,2,0,5,26,4),fn(0,8,9,-5,0,15,22,2,0,6,28,5),fn(0,8,10,-5,0,16,24,2,0,6,30,5),fn(0,8,11,-5,0,17,26,2,0,6,32,5),fn(0,9,11,-5,0,18,28,2,0,7,34,6),fn(0,9,12,-6,0,19,29,2,0,7,36,6),fn(0,10,13,-6,0,20,31,3,0,8,38,7),fn(0,10,13,-6,0,21,33,3,0,8,40,7),fn(0,10,14,-6,0,22,35,3,0,8,42,7),fn(0,11,14,-7,0,23,36,3,0,9,44,8),fn(0,11,15,-7,0,24,38,3,0,9,46,8)],Oj={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)"},Dj={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function S8(e){return`${Math.round(e)}ms`}function kj(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Tj(e){const t={...Oj,...e.easing},n={...Dj,...e.duration};return{getAutoHeightDuration:kj,create:(s=["all"],a={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:f=0,...p}=a;return(Array.isArray(s)?s:[s]).map(h=>`${h} ${typeof l=="string"?l:S8(l)} ${u} ${typeof f=="string"?f:S8(f)}`).join(",")},...e,easing:t,duration:n}}const Ej={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Rj(e){return os(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function _0(e={}){const t={...e};function n(r){const s=Object.entries(r);for(let a=0;aqn(w,A),g),g.unstable_sxConfig={...Vu,...p==null?void 0:p.unstable_sxConfig},g.unstable_sx=function(A){return Hi({sx:A,theme:this})},g.toRuntimeSource=K0,g}function Ym(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 Rj=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Ym(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function _0(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function $0(e){return e==="dark"?Rj:[]}function Mj(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...s}=e,a=og(t);return{palette:a,opacity:{..._0(a.mode),...n},overlays:r||$0(a.mode),...s}}function Lj(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 Xj=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Nj=e=>(t,n)=>{const r=e.rootSelector||":root",s=e.colorSchemeSelector;let a=s;if(s==="class"&&(a=".%s"),s==="data"&&(a="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(a=`[${s}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const l={};return Xj(e.cssVarPrefix).forEach(u=>{l[u]=n[u],delete n[u]}),a==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:l}}:a?{[a.replace("%s",t)]:l,[`${r}, ${a.replace("%s",t)}`]:n}:{[r]:{...n,...l}}}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 Bj(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Ae(e,t,n){!e[t]&&n&&(e[t]=n)}function Uc(e){return typeof e!="string"||!e.startsWith("hsl")?e:M0(e)}function xs(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Gc(Uc(e[t])))}function Vj(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ko=e=>{try{return e()}catch{}},Ij=(e="mui")=>nj(e);function um(e,t,n,r){if(!t)return;t=t===!0?{}:t;const s=r==="dark"?"dark":"light";if(!n){e[r]=Mj({...t,palette:{mode:s,...t==null?void 0:t.palette}});return}const{palette:a,...l}=Fm({...n,palette:{mode:s,...t==null?void 0:t.palette}});return e[r]={...t,palette:a,opacity:{..._0(s),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||$0(s)},l}function Wj(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:s=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=Lj,colorSchemeSelector:u=n.light&&n.dark?"media":void 0,rootSelector:f=":root",...p}=e,h=Object.keys(n)[0],m=r||(n.light&&h!=="light"?"light":h),g=Ij(a),{[m]:w,light:A,dark:b,...j}=n,S={...j};let z=w;if((m==="dark"&&!("dark"in n)||m==="light"&&!("light"in n))&&(z=!0),!z)throw new Error(Rs(21,m));const C=um(S,z,p,m);A&&!S.light&&um(S,A,void 0,"light"),b&&!S.dark&&um(S,b,void 0,"dark");let O={defaultColorScheme:m,...C,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:f,getCssVar:g,colorSchemes:S,font:{...bj(C.typography),...C.font},spacing:Vj(p.spacing)};Object.keys(O.colorSchemes).forEach(R=>{const H=O.colorSchemes[R].palette,N=B=>{const W=B.split("-"),_=W[1],J=W[2];return g(B,H[_][J])};if(H.mode==="light"&&(Ae(H.common,"background","#fff"),Ae(H.common,"onBackground","#000")),H.mode==="dark"&&(Ae(H.common,"background","#000"),Ae(H.common,"onBackground","#fff")),Bj(H,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),H.mode==="light"){Ae(H.Alert,"errorColor",$t(H.error.light,.6)),Ae(H.Alert,"infoColor",$t(H.info.light,.6)),Ae(H.Alert,"successColor",$t(H.success.light,.6)),Ae(H.Alert,"warningColor",$t(H.warning.light,.6)),Ae(H.Alert,"errorFilledBg",N("palette-error-main")),Ae(H.Alert,"infoFilledBg",N("palette-info-main")),Ae(H.Alert,"successFilledBg",N("palette-success-main")),Ae(H.Alert,"warningFilledBg",N("palette-warning-main")),Ae(H.Alert,"errorFilledColor",Ko(()=>H.getContrastText(H.error.main))),Ae(H.Alert,"infoFilledColor",Ko(()=>H.getContrastText(H.info.main))),Ae(H.Alert,"successFilledColor",Ko(()=>H.getContrastText(H.success.main))),Ae(H.Alert,"warningFilledColor",Ko(()=>H.getContrastText(H.warning.main))),Ae(H.Alert,"errorStandardBg",en(H.error.light,.9)),Ae(H.Alert,"infoStandardBg",en(H.info.light,.9)),Ae(H.Alert,"successStandardBg",en(H.success.light,.9)),Ae(H.Alert,"warningStandardBg",en(H.warning.light,.9)),Ae(H.Alert,"errorIconColor",N("palette-error-main")),Ae(H.Alert,"infoIconColor",N("palette-info-main")),Ae(H.Alert,"successIconColor",N("palette-success-main")),Ae(H.Alert,"warningIconColor",N("palette-warning-main")),Ae(H.AppBar,"defaultBg",N("palette-grey-100")),Ae(H.Avatar,"defaultBg",N("palette-grey-400")),Ae(H.Button,"inheritContainedBg",N("palette-grey-300")),Ae(H.Button,"inheritContainedHoverBg",N("palette-grey-A100")),Ae(H.Chip,"defaultBorder",N("palette-grey-400")),Ae(H.Chip,"defaultAvatarColor",N("palette-grey-700")),Ae(H.Chip,"defaultIconColor",N("palette-grey-700")),Ae(H.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ae(H.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ae(H.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ae(H.LinearProgress,"primaryBg",en(H.primary.main,.62)),Ae(H.LinearProgress,"secondaryBg",en(H.secondary.main,.62)),Ae(H.LinearProgress,"errorBg",en(H.error.main,.62)),Ae(H.LinearProgress,"infoBg",en(H.info.main,.62)),Ae(H.LinearProgress,"successBg",en(H.success.main,.62)),Ae(H.LinearProgress,"warningBg",en(H.warning.main,.62)),Ae(H.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.11)`),Ae(H.Slider,"primaryTrack",en(H.primary.main,.62)),Ae(H.Slider,"secondaryTrack",en(H.secondary.main,.62)),Ae(H.Slider,"errorTrack",en(H.error.main,.62)),Ae(H.Slider,"infoTrack",en(H.info.main,.62)),Ae(H.Slider,"successTrack",en(H.success.main,.62)),Ae(H.Slider,"warningTrack",en(H.warning.main,.62));const B=pd(H.background.default,.8);Ae(H.SnackbarContent,"bg",B),Ae(H.SnackbarContent,"color",Ko(()=>H.getContrastText(B))),Ae(H.SpeedDialAction,"fabHoverBg",pd(H.background.paper,.15)),Ae(H.StepConnector,"border",N("palette-grey-400")),Ae(H.StepContent,"border",N("palette-grey-400")),Ae(H.Switch,"defaultColor",N("palette-common-white")),Ae(H.Switch,"defaultDisabledColor",N("palette-grey-100")),Ae(H.Switch,"primaryDisabledColor",en(H.primary.main,.62)),Ae(H.Switch,"secondaryDisabledColor",en(H.secondary.main,.62)),Ae(H.Switch,"errorDisabledColor",en(H.error.main,.62)),Ae(H.Switch,"infoDisabledColor",en(H.info.main,.62)),Ae(H.Switch,"successDisabledColor",en(H.success.main,.62)),Ae(H.Switch,"warningDisabledColor",en(H.warning.main,.62)),Ae(H.TableCell,"border",en(dd(H.divider,1),.88)),Ae(H.Tooltip,"bg",dd(H.grey[700],.92))}if(H.mode==="dark"){Ae(H.Alert,"errorColor",en(H.error.light,.6)),Ae(H.Alert,"infoColor",en(H.info.light,.6)),Ae(H.Alert,"successColor",en(H.success.light,.6)),Ae(H.Alert,"warningColor",en(H.warning.light,.6)),Ae(H.Alert,"errorFilledBg",N("palette-error-dark")),Ae(H.Alert,"infoFilledBg",N("palette-info-dark")),Ae(H.Alert,"successFilledBg",N("palette-success-dark")),Ae(H.Alert,"warningFilledBg",N("palette-warning-dark")),Ae(H.Alert,"errorFilledColor",Ko(()=>H.getContrastText(H.error.dark))),Ae(H.Alert,"infoFilledColor",Ko(()=>H.getContrastText(H.info.dark))),Ae(H.Alert,"successFilledColor",Ko(()=>H.getContrastText(H.success.dark))),Ae(H.Alert,"warningFilledColor",Ko(()=>H.getContrastText(H.warning.dark))),Ae(H.Alert,"errorStandardBg",$t(H.error.light,.9)),Ae(H.Alert,"infoStandardBg",$t(H.info.light,.9)),Ae(H.Alert,"successStandardBg",$t(H.success.light,.9)),Ae(H.Alert,"warningStandardBg",$t(H.warning.light,.9)),Ae(H.Alert,"errorIconColor",N("palette-error-main")),Ae(H.Alert,"infoIconColor",N("palette-info-main")),Ae(H.Alert,"successIconColor",N("palette-success-main")),Ae(H.Alert,"warningIconColor",N("palette-warning-main")),Ae(H.AppBar,"defaultBg",N("palette-grey-900")),Ae(H.AppBar,"darkBg",N("palette-background-paper")),Ae(H.AppBar,"darkColor",N("palette-text-primary")),Ae(H.Avatar,"defaultBg",N("palette-grey-600")),Ae(H.Button,"inheritContainedBg",N("palette-grey-800")),Ae(H.Button,"inheritContainedHoverBg",N("palette-grey-700")),Ae(H.Chip,"defaultBorder",N("palette-grey-700")),Ae(H.Chip,"defaultAvatarColor",N("palette-grey-300")),Ae(H.Chip,"defaultIconColor",N("palette-grey-300")),Ae(H.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ae(H.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ae(H.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ae(H.LinearProgress,"primaryBg",$t(H.primary.main,.5)),Ae(H.LinearProgress,"secondaryBg",$t(H.secondary.main,.5)),Ae(H.LinearProgress,"errorBg",$t(H.error.main,.5)),Ae(H.LinearProgress,"infoBg",$t(H.info.main,.5)),Ae(H.LinearProgress,"successBg",$t(H.success.main,.5)),Ae(H.LinearProgress,"warningBg",$t(H.warning.main,.5)),Ae(H.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.13)`),Ae(H.Slider,"primaryTrack",$t(H.primary.main,.5)),Ae(H.Slider,"secondaryTrack",$t(H.secondary.main,.5)),Ae(H.Slider,"errorTrack",$t(H.error.main,.5)),Ae(H.Slider,"infoTrack",$t(H.info.main,.5)),Ae(H.Slider,"successTrack",$t(H.success.main,.5)),Ae(H.Slider,"warningTrack",$t(H.warning.main,.5));const B=pd(H.background.default,.98);Ae(H.SnackbarContent,"bg",B),Ae(H.SnackbarContent,"color",Ko(()=>H.getContrastText(B))),Ae(H.SpeedDialAction,"fabHoverBg",pd(H.background.paper,.15)),Ae(H.StepConnector,"border",N("palette-grey-600")),Ae(H.StepContent,"border",N("palette-grey-600")),Ae(H.Switch,"defaultColor",N("palette-grey-300")),Ae(H.Switch,"defaultDisabledColor",N("palette-grey-600")),Ae(H.Switch,"primaryDisabledColor",$t(H.primary.main,.55)),Ae(H.Switch,"secondaryDisabledColor",$t(H.secondary.main,.55)),Ae(H.Switch,"errorDisabledColor",$t(H.error.main,.55)),Ae(H.Switch,"infoDisabledColor",$t(H.info.main,.55)),Ae(H.Switch,"successDisabledColor",$t(H.success.main,.55)),Ae(H.Switch,"warningDisabledColor",$t(H.warning.main,.55)),Ae(H.TableCell,"border",$t(dd(H.divider,1),.68)),Ae(H.Tooltip,"bg",dd(H.grey[700],.92))}xs(H.background,"default"),xs(H.background,"paper"),xs(H.common,"background"),xs(H.common,"onBackground"),xs(H,"divider"),Object.keys(H).forEach(B=>{const W=H[B];B!=="tonalOffset"&&W&&typeof W=="object"&&(W.main&&Ae(H[B],"mainChannel",Gc(Uc(W.main))),W.light&&Ae(H[B],"lightChannel",Gc(Uc(W.light))),W.dark&&Ae(H[B],"darkChannel",Gc(Uc(W.dark))),W.contrastText&&Ae(H[B],"contrastTextChannel",Gc(Uc(W.contrastText))),B==="text"&&(xs(H[B],"primary"),xs(H[B],"secondary")),B==="action"&&(W.active&&xs(H[B],"active"),W.selected&&xs(H[B],"selected")))})}),O=t.reduce((R,H)=>qn(R,H),O);const D={prefix:a,disableCssColorScheme:s,shouldSkipGeneratingVar:l,getSelector:Nj(O)},{vars:T,generateThemeVars:M,generateStyleSheets:L}=sj(O,D);return O.vars=T,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([R,H])=>{O[R]=H}),O.generateThemeVars=M,O.generateStyleSheets=L,O.generateSpacing=function(){return j0(p.spacing,Hp(this))},O.getColorSchemeSelector=ij(u),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=l,O.unstable_sxConfig={...Vu,...p==null?void 0:p.unstable_sxConfig},O.unstable_sx=function(H){return Hi({sx:H,theme:this})},O.toRuntimeSource=K0,O}function S8(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:og({...n===!0?{}:n.palette,mode:t})})}function Wu(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:s=n?void 0:{light:!0},defaultColorScheme:a=n==null?void 0:n.mode,...l}=e,u=a||"light",f=s==null?void 0:s[u],p={...s,...n?{[u]:{...typeof f!="boolean"&&f,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Fm(e,...t);let h=n;"palette"in e||p[u]&&(p[u]!==!0?h=p[u].palette:u==="dark"&&(h={mode:"dark"}));const m=Fm({...e,palette:h},...t);return m.defaultColorScheme=u,m.colorSchemes=p,m.palette.mode==="light"&&(m.colorSchemes.light={...p.light!==!0&&p.light,palette:m.palette},S8(m,"dark",p.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:m.palette},S8(m,"light",p.light)),m}return!n&&!("light"in p)&&u==="light"&&(p.light=!0),Wj({...l,colorSchemes:p,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const Mp=Wu();function Qr(){const e=kp(Mp);return e[uo]||e}function Jj({props:e,name:t}){return T0({props:e,name:t,defaultTheme:Mp,themeId:uo})}function e1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Zn=e=>e1(e)&&e!=="classes",pe=D0({themeId:uo,defaultTheme:Mp,rootShouldForwardProp:Zn});function Fj({theme:e,...t}){const n=uo in e?e[uo]:void 0;return v.jsx(q0,{...t,themeId:n?uo:void 0,theme:n||e})}const vd={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:Yj}=tj({themeId:uo,theme:()=>Wu({cssVariables:!0}),colorSchemeStorageKey:vd.colorSchemeStorageKey,modeStorageKey:vd.modeStorageKey,defaultColorScheme:{light:vd.defaultLightColorScheme,dark:vd.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Q0(e.palette,e.typography)};return t.unstable_sx=function(r){return Hi({sx:r,theme:this})},t}}),qj=Yj;function Zj({theme:e,...t}){const n=P.useMemo(()=>{if(typeof e=="function")return e;const r=uo in e?e[uo]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return n?v.jsx(Fj,{theme:n,...t}):v.jsx(qj,{theme:e,...t})}function Gj(e){return v.jsx(pH,{...e,defaultTheme:Mp,themeId:uo})}function sg(e){return function(n){return v.jsx(Gj,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function Uj(){return Tp}const nt=ZH;function rt(e){return qH(e)}function Qj(e){return Qe("MuiSvgIcon",e)}Ke("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Kj=e=>{const{color:t,fontSize:n,classes:r}=e,s={root:["root",t!=="inherit"&&`color${me(t)}`,`fontSize${me(n)}`]};return _e(s,Qj,r)},_j=pe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${me(n.color)}`],t[`fontSize${me(n.fontSize)}`]]}})(nt(({theme:e})=>{var t,n,r,s,a,l,u,f,p,h,m,g,w,A;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(s=(t=e.transitions)==null?void 0:t.create)==null?void 0:s.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:b=>!b.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((l=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:l.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((f=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:f.call(u,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((h=(p=e.typography)==null?void 0:p.pxToRem)==null?void 0:h.call(p,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,b])=>b&&b.main).map(([b])=>{var j,S;return{props:{color:b},style:{color:(S=(j=(e.vars??e).palette)==null?void 0:j[b])==null?void 0:S.main}}}),{props:{color:"action"},style:{color:(g=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:g.active}},{props:{color:"disabled"},style:{color:(A=(w=(e.vars??e).palette)==null?void 0:w.action)==null?void 0:A.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),tp=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiSvgIcon"}),{children:s,className:a,color:l="inherit",component:u="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:h=!1,titleAccess:m,viewBox:g="0 0 24 24",...w}=r,A=P.isValidElement(s)&&s.type==="svg",b={...r,color:l,component:u,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:A},j={};h||(j.viewBox=g);const S=Kj(b);return v.jsxs(_j,{as:u,className:Oe(S.root,a),focusable:"false",color:p,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n,...j,...w,...A&&s.props,ownerState:b,children:[A?s.props.children:s,m?v.jsx("title",{children:m}):null]})});tp.muiName="SvgIcon";function bt(e,t){function n(r,s){return v.jsx(tp,{"data-testid":`${t}Icon`,ref:s,...r,children:e})}return n.muiName=tp.muiName,P.memo(P.forwardRef(n))}function ig(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return s=>{const a=typeof t=="function"?t(s):t,l=typeof e=="function"?e({...s,...a}):e,u=Oe(s==null?void 0:s.className,a==null?void 0:a.className,l==null?void 0:l.className);return{...a,...l,...!!u&&{className:u},...(a==null?void 0:a.style)&&(l==null?void 0:l.style)&&{style:{...a.style,...l.style}},...(a==null?void 0:a.sx)&&(l==null?void 0:l.sx)&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(l.sx)?l.sx:[l.sx]]}}};const n=t,r=Oe(n==null?void 0:n.className,e==null?void 0:e.className);return{...t,...e,...!!r&&{className:r},...(n==null?void 0:n.style)&&(e==null?void 0:e.style)&&{style:{...n.style,...e.style}},...(n==null?void 0:n.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function ag(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function qm(e,t){return qm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},qm(e,t)}function t1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,qm(e,t)}var fm={exports:{}},Hr={},dm={exports:{}},pm={};/** +export default theme;`}function Fm(e={},...t){const{breakpoints:n,mixins:r={},spacing:s,palette:a={},transitions:l={},typography:u={},shape:f,...p}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(Rs(20));const h=og(a),m=Dp(e);let g=Zn(m,{mixins:wj(m.breakpoints,r),palette:h,shadows:Cj.slice(),typography:K0(h,u),transitions:Tj(l),zIndex:{...Ej}});return g=Zn(g,p),g=t.reduce((w,A)=>Zn(w,A),g),g.unstable_sxConfig={...Vu,...p==null?void 0:p.unstable_sxConfig},g.unstable_sx=function(A){return Hi({sx:A,theme:this})},g.toRuntimeSource=_0,g}function Ym(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 Mj=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Ym(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function $0(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function e1(e){return e==="dark"?Mj:[]}function Lj(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...s}=e,a=og(t);return{palette:a,opacity:{...$0(a.mode),...n},overlays:r||e1(a.mode),...s}}function Xj(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 Nj=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Bj=e=>(t,n)=>{const r=e.rootSelector||":root",s=e.colorSchemeSelector;let a=s;if(s==="class"&&(a=".%s"),s==="data"&&(a="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(a=`[${s}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const l={};return Nj(e.cssVarPrefix).forEach(u=>{l[u]=n[u],delete n[u]}),a==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:l}}:a?{[a.replace("%s",t)]:l,[`${r}, ${a.replace("%s",t)}`]:n}:{[r]:{...n,...l}}}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 Vj(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Ae(e,t,n){!e[t]&&n&&(e[t]=n)}function Uc(e){return typeof e!="string"||!e.startsWith("hsl")?e:L0(e)}function xs(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Gc(Uc(e[t])))}function Ij(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ko=e=>{try{return e()}catch{}},Wj=(e="mui")=>rj(e);function um(e,t,n,r){if(!t)return;t=t===!0?{}:t;const s=r==="dark"?"dark":"light";if(!n){e[r]=Lj({...t,palette:{mode:s,...t==null?void 0:t.palette}});return}const{palette:a,...l}=Fm({...n,palette:{mode:s,...t==null?void 0:t.palette}});return e[r]={...t,palette:a,opacity:{...$0(s),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||e1(s)},l}function Jj(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:s=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=Xj,colorSchemeSelector:u=n.light&&n.dark?"media":void 0,rootSelector:f=":root",...p}=e,h=Object.keys(n)[0],m=r||(n.light&&h!=="light"?"light":h),g=Wj(a),{[m]:w,light:A,dark:b,...j}=n,S={...j};let z=w;if((m==="dark"&&!("dark"in n)||m==="light"&&!("light"in n))&&(z=!0),!z)throw new Error(Rs(21,m));const C=um(S,z,p,m);A&&!S.light&&um(S,A,void 0,"light"),b&&!S.dark&&um(S,b,void 0,"dark");let O={defaultColorScheme:m,...C,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:f,getCssVar:g,colorSchemes:S,font:{...xj(C.typography),...C.font},spacing:Ij(p.spacing)};Object.keys(O.colorSchemes).forEach(R=>{const H=O.colorSchemes[R].palette,N=B=>{const W=B.split("-"),_=W[1],J=W[2];return g(B,H[_][J])};if(H.mode==="light"&&(Ae(H.common,"background","#fff"),Ae(H.common,"onBackground","#000")),H.mode==="dark"&&(Ae(H.common,"background","#000"),Ae(H.common,"onBackground","#fff")),Vj(H,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),H.mode==="light"){Ae(H.Alert,"errorColor",$t(H.error.light,.6)),Ae(H.Alert,"infoColor",$t(H.info.light,.6)),Ae(H.Alert,"successColor",$t(H.success.light,.6)),Ae(H.Alert,"warningColor",$t(H.warning.light,.6)),Ae(H.Alert,"errorFilledBg",N("palette-error-main")),Ae(H.Alert,"infoFilledBg",N("palette-info-main")),Ae(H.Alert,"successFilledBg",N("palette-success-main")),Ae(H.Alert,"warningFilledBg",N("palette-warning-main")),Ae(H.Alert,"errorFilledColor",Ko(()=>H.getContrastText(H.error.main))),Ae(H.Alert,"infoFilledColor",Ko(()=>H.getContrastText(H.info.main))),Ae(H.Alert,"successFilledColor",Ko(()=>H.getContrastText(H.success.main))),Ae(H.Alert,"warningFilledColor",Ko(()=>H.getContrastText(H.warning.main))),Ae(H.Alert,"errorStandardBg",en(H.error.light,.9)),Ae(H.Alert,"infoStandardBg",en(H.info.light,.9)),Ae(H.Alert,"successStandardBg",en(H.success.light,.9)),Ae(H.Alert,"warningStandardBg",en(H.warning.light,.9)),Ae(H.Alert,"errorIconColor",N("palette-error-main")),Ae(H.Alert,"infoIconColor",N("palette-info-main")),Ae(H.Alert,"successIconColor",N("palette-success-main")),Ae(H.Alert,"warningIconColor",N("palette-warning-main")),Ae(H.AppBar,"defaultBg",N("palette-grey-100")),Ae(H.Avatar,"defaultBg",N("palette-grey-400")),Ae(H.Button,"inheritContainedBg",N("palette-grey-300")),Ae(H.Button,"inheritContainedHoverBg",N("palette-grey-A100")),Ae(H.Chip,"defaultBorder",N("palette-grey-400")),Ae(H.Chip,"defaultAvatarColor",N("palette-grey-700")),Ae(H.Chip,"defaultIconColor",N("palette-grey-700")),Ae(H.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ae(H.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ae(H.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ae(H.LinearProgress,"primaryBg",en(H.primary.main,.62)),Ae(H.LinearProgress,"secondaryBg",en(H.secondary.main,.62)),Ae(H.LinearProgress,"errorBg",en(H.error.main,.62)),Ae(H.LinearProgress,"infoBg",en(H.info.main,.62)),Ae(H.LinearProgress,"successBg",en(H.success.main,.62)),Ae(H.LinearProgress,"warningBg",en(H.warning.main,.62)),Ae(H.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.11)`),Ae(H.Slider,"primaryTrack",en(H.primary.main,.62)),Ae(H.Slider,"secondaryTrack",en(H.secondary.main,.62)),Ae(H.Slider,"errorTrack",en(H.error.main,.62)),Ae(H.Slider,"infoTrack",en(H.info.main,.62)),Ae(H.Slider,"successTrack",en(H.success.main,.62)),Ae(H.Slider,"warningTrack",en(H.warning.main,.62));const B=pd(H.background.default,.8);Ae(H.SnackbarContent,"bg",B),Ae(H.SnackbarContent,"color",Ko(()=>H.getContrastText(B))),Ae(H.SpeedDialAction,"fabHoverBg",pd(H.background.paper,.15)),Ae(H.StepConnector,"border",N("palette-grey-400")),Ae(H.StepContent,"border",N("palette-grey-400")),Ae(H.Switch,"defaultColor",N("palette-common-white")),Ae(H.Switch,"defaultDisabledColor",N("palette-grey-100")),Ae(H.Switch,"primaryDisabledColor",en(H.primary.main,.62)),Ae(H.Switch,"secondaryDisabledColor",en(H.secondary.main,.62)),Ae(H.Switch,"errorDisabledColor",en(H.error.main,.62)),Ae(H.Switch,"infoDisabledColor",en(H.info.main,.62)),Ae(H.Switch,"successDisabledColor",en(H.success.main,.62)),Ae(H.Switch,"warningDisabledColor",en(H.warning.main,.62)),Ae(H.TableCell,"border",en(dd(H.divider,1),.88)),Ae(H.Tooltip,"bg",dd(H.grey[700],.92))}if(H.mode==="dark"){Ae(H.Alert,"errorColor",en(H.error.light,.6)),Ae(H.Alert,"infoColor",en(H.info.light,.6)),Ae(H.Alert,"successColor",en(H.success.light,.6)),Ae(H.Alert,"warningColor",en(H.warning.light,.6)),Ae(H.Alert,"errorFilledBg",N("palette-error-dark")),Ae(H.Alert,"infoFilledBg",N("palette-info-dark")),Ae(H.Alert,"successFilledBg",N("palette-success-dark")),Ae(H.Alert,"warningFilledBg",N("palette-warning-dark")),Ae(H.Alert,"errorFilledColor",Ko(()=>H.getContrastText(H.error.dark))),Ae(H.Alert,"infoFilledColor",Ko(()=>H.getContrastText(H.info.dark))),Ae(H.Alert,"successFilledColor",Ko(()=>H.getContrastText(H.success.dark))),Ae(H.Alert,"warningFilledColor",Ko(()=>H.getContrastText(H.warning.dark))),Ae(H.Alert,"errorStandardBg",$t(H.error.light,.9)),Ae(H.Alert,"infoStandardBg",$t(H.info.light,.9)),Ae(H.Alert,"successStandardBg",$t(H.success.light,.9)),Ae(H.Alert,"warningStandardBg",$t(H.warning.light,.9)),Ae(H.Alert,"errorIconColor",N("palette-error-main")),Ae(H.Alert,"infoIconColor",N("palette-info-main")),Ae(H.Alert,"successIconColor",N("palette-success-main")),Ae(H.Alert,"warningIconColor",N("palette-warning-main")),Ae(H.AppBar,"defaultBg",N("palette-grey-900")),Ae(H.AppBar,"darkBg",N("palette-background-paper")),Ae(H.AppBar,"darkColor",N("palette-text-primary")),Ae(H.Avatar,"defaultBg",N("palette-grey-600")),Ae(H.Button,"inheritContainedBg",N("palette-grey-800")),Ae(H.Button,"inheritContainedHoverBg",N("palette-grey-700")),Ae(H.Chip,"defaultBorder",N("palette-grey-700")),Ae(H.Chip,"defaultAvatarColor",N("palette-grey-300")),Ae(H.Chip,"defaultIconColor",N("palette-grey-300")),Ae(H.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ae(H.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ae(H.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ae(H.LinearProgress,"primaryBg",$t(H.primary.main,.5)),Ae(H.LinearProgress,"secondaryBg",$t(H.secondary.main,.5)),Ae(H.LinearProgress,"errorBg",$t(H.error.main,.5)),Ae(H.LinearProgress,"infoBg",$t(H.info.main,.5)),Ae(H.LinearProgress,"successBg",$t(H.success.main,.5)),Ae(H.LinearProgress,"warningBg",$t(H.warning.main,.5)),Ae(H.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.13)`),Ae(H.Slider,"primaryTrack",$t(H.primary.main,.5)),Ae(H.Slider,"secondaryTrack",$t(H.secondary.main,.5)),Ae(H.Slider,"errorTrack",$t(H.error.main,.5)),Ae(H.Slider,"infoTrack",$t(H.info.main,.5)),Ae(H.Slider,"successTrack",$t(H.success.main,.5)),Ae(H.Slider,"warningTrack",$t(H.warning.main,.5));const B=pd(H.background.default,.98);Ae(H.SnackbarContent,"bg",B),Ae(H.SnackbarContent,"color",Ko(()=>H.getContrastText(B))),Ae(H.SpeedDialAction,"fabHoverBg",pd(H.background.paper,.15)),Ae(H.StepConnector,"border",N("palette-grey-600")),Ae(H.StepContent,"border",N("palette-grey-600")),Ae(H.Switch,"defaultColor",N("palette-grey-300")),Ae(H.Switch,"defaultDisabledColor",N("palette-grey-600")),Ae(H.Switch,"primaryDisabledColor",$t(H.primary.main,.55)),Ae(H.Switch,"secondaryDisabledColor",$t(H.secondary.main,.55)),Ae(H.Switch,"errorDisabledColor",$t(H.error.main,.55)),Ae(H.Switch,"infoDisabledColor",$t(H.info.main,.55)),Ae(H.Switch,"successDisabledColor",$t(H.success.main,.55)),Ae(H.Switch,"warningDisabledColor",$t(H.warning.main,.55)),Ae(H.TableCell,"border",$t(dd(H.divider,1),.68)),Ae(H.Tooltip,"bg",dd(H.grey[700],.92))}xs(H.background,"default"),xs(H.background,"paper"),xs(H.common,"background"),xs(H.common,"onBackground"),xs(H,"divider"),Object.keys(H).forEach(B=>{const W=H[B];B!=="tonalOffset"&&W&&typeof W=="object"&&(W.main&&Ae(H[B],"mainChannel",Gc(Uc(W.main))),W.light&&Ae(H[B],"lightChannel",Gc(Uc(W.light))),W.dark&&Ae(H[B],"darkChannel",Gc(Uc(W.dark))),W.contrastText&&Ae(H[B],"contrastTextChannel",Gc(Uc(W.contrastText))),B==="text"&&(xs(H[B],"primary"),xs(H[B],"secondary")),B==="action"&&(W.active&&xs(H[B],"active"),W.selected&&xs(H[B],"selected")))})}),O=t.reduce((R,H)=>Zn(R,H),O);const D={prefix:a,disableCssColorScheme:s,shouldSkipGeneratingVar:l,getSelector:Bj(O)},{vars:T,generateThemeVars:M,generateStyleSheets:L}=ij(O,D);return O.vars=T,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([R,H])=>{O[R]=H}),O.generateThemeVars=M,O.generateStyleSheets=L,O.generateSpacing=function(){return z0(p.spacing,Hp(this))},O.getColorSchemeSelector=aj(u),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=l,O.unstable_sxConfig={...Vu,...p==null?void 0:p.unstable_sxConfig},O.unstable_sx=function(H){return Hi({sx:H,theme:this})},O.toRuntimeSource=_0,O}function C8(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:og({...n===!0?{}:n.palette,mode:t})})}function Wu(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:s=n?void 0:{light:!0},defaultColorScheme:a=n==null?void 0:n.mode,...l}=e,u=a||"light",f=s==null?void 0:s[u],p={...s,...n?{[u]:{...typeof f!="boolean"&&f,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Fm(e,...t);let h=n;"palette"in e||p[u]&&(p[u]!==!0?h=p[u].palette:u==="dark"&&(h={mode:"dark"}));const m=Fm({...e,palette:h},...t);return m.defaultColorScheme=u,m.colorSchemes=p,m.palette.mode==="light"&&(m.colorSchemes.light={...p.light!==!0&&p.light,palette:m.palette},C8(m,"dark",p.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:m.palette},C8(m,"light",p.light)),m}return!n&&!("light"in p)&&u==="light"&&(p.light=!0),Jj({...l,colorSchemes:p,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const Mp=Wu();function Qr(){const e=kp(Mp);return e[uo]||e}function Fj({props:e,name:t}){return E0({props:e,name:t,defaultTheme:Mp,themeId:uo})}function t1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Gn=e=>t1(e)&&e!=="classes",pe=k0({themeId:uo,defaultTheme:Mp,rootShouldForwardProp:Gn});function Yj({theme:e,...t}){const n=uo in e?e[uo]:void 0;return v.jsx(Z0,{...t,themeId:n?uo:void 0,theme:n||e})}const vd={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:qj}=nj({themeId:uo,theme:()=>Wu({cssVariables:!0}),colorSchemeStorageKey:vd.colorSchemeStorageKey,modeStorageKey:vd.modeStorageKey,defaultColorScheme:{light:vd.defaultLightColorScheme,dark:vd.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:K0(e.palette,e.typography)};return t.unstable_sx=function(r){return Hi({sx:r,theme:this})},t}}),Zj=qj;function Gj({theme:e,...t}){const n=P.useMemo(()=>{if(typeof e=="function")return e;const r=uo in e?e[uo]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return n?v.jsx(Yj,{theme:n,...t}):v.jsx(Zj,{theme:e,...t})}function Uj(e){return v.jsx(vH,{...e,defaultTheme:Mp,themeId:uo})}function sg(e){return function(n){return v.jsx(Uj,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function Qj(){return Tp}const nt=GH;function rt(e){return ZH(e)}function Kj(e){return Qe("MuiSvgIcon",e)}Ke("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const _j=e=>{const{color:t,fontSize:n,classes:r}=e,s={root:["root",t!=="inherit"&&`color${me(t)}`,`fontSize${me(n)}`]};return _e(s,Kj,r)},$j=pe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${me(n.color)}`],t[`fontSize${me(n.fontSize)}`]]}})(nt(({theme:e})=>{var t,n,r,s,a,l,u,f,p,h,m,g,w,A;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(s=(t=e.transitions)==null?void 0:t.create)==null?void 0:s.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:b=>!b.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((l=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:l.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((f=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:f.call(u,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((h=(p=e.typography)==null?void 0:p.pxToRem)==null?void 0:h.call(p,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,b])=>b&&b.main).map(([b])=>{var j,S;return{props:{color:b},style:{color:(S=(j=(e.vars??e).palette)==null?void 0:j[b])==null?void 0:S.main}}}),{props:{color:"action"},style:{color:(g=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:g.active}},{props:{color:"disabled"},style:{color:(A=(w=(e.vars??e).palette)==null?void 0:w.action)==null?void 0:A.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),tp=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiSvgIcon"}),{children:s,className:a,color:l="inherit",component:u="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:h=!1,titleAccess:m,viewBox:g="0 0 24 24",...w}=r,A=P.isValidElement(s)&&s.type==="svg",b={...r,color:l,component:u,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:A},j={};h||(j.viewBox=g);const S=_j(b);return v.jsxs($j,{as:u,className:Oe(S.root,a),focusable:"false",color:p,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n,...j,...w,...A&&s.props,ownerState:b,children:[A?s.props.children:s,m?v.jsx("title",{children:m}):null]})});tp.muiName="SvgIcon";function bt(e,t){function n(r,s){return v.jsx(tp,{"data-testid":`${t}Icon`,ref:s,...r,children:e})}return n.muiName=tp.muiName,P.memo(P.forwardRef(n))}function ig(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return s=>{const a=typeof t=="function"?t(s):t,l=typeof e=="function"?e({...s,...a}):e,u=Oe(s==null?void 0:s.className,a==null?void 0:a.className,l==null?void 0:l.className);return{...a,...l,...!!u&&{className:u},...(a==null?void 0:a.style)&&(l==null?void 0:l.style)&&{style:{...a.style,...l.style}},...(a==null?void 0:a.sx)&&(l==null?void 0:l.sx)&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(l.sx)?l.sx:[l.sx]]}}};const n=t,r=Oe(n==null?void 0:n.className,e==null?void 0:e.className);return{...t,...e,...!!r&&{className:r},...(n==null?void 0:n.style)&&(e==null?void 0:e.style)&&{style:{...n.style,...e.style}},...(n==null?void 0:n.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function ag(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function qm(e,t){return qm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},qm(e,t)}function n1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,qm(e,t)}var fm={exports:{}},Hr={},dm={exports:{}},pm={};/** * @license React * scheduler.production.min.js * @@ -78,7 +78,7 @@ export default theme;`}function Fm(e={},...t){const{breakpoints:n,mixins:r={},sp * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var C8;function $j(){return C8||(C8=1,function(e){function t(K,Z){var E=K.length;K.push(Z);e:for(;0>>1,X=K[q];if(0>>1;q<$;){var ee=2*(q+1)-1,se=K[ee],ae=ee+1,ye=K[ae];if(0>s(se,E))aes(ye,se)?(K[q]=ye,K[ae]=E,q=ae):(K[q]=se,K[ee]=E,q=ee);else if(aes(ye,E))K[q]=ye,K[ae]=E,q=ae;else break e}}return Z}function s(K,Z){var E=K.sortIndex-Z.sortIndex;return E!==0?E:K.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var f=[],p=[],h=1,m=null,g=3,w=!1,A=!1,b=!1,j=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(K){for(var Z=n(p);Z!==null;){if(Z.callback===null)r(p);else if(Z.startTime<=K)r(p),Z.sortIndex=Z.expirationTime,t(f,Z);else break;Z=n(p)}}function O(K){if(b=!1,C(K),!A)if(n(f)!==null)A=!0,U(D);else{var Z=n(p);Z!==null&&oe(O,Z.startTime-K)}}function D(K,Z){A=!1,b&&(b=!1,S(L),L=-1),w=!0;var E=g;try{for(C(Z),m=n(f);m!==null&&(!(m.expirationTime>Z)||K&&!N());){var q=m.callback;if(typeof q=="function"){m.callback=null,g=m.priorityLevel;var X=q(m.expirationTime<=Z);Z=e.unstable_now(),typeof X=="function"?m.callback=X:m===n(f)&&r(f),C(Z)}else r(f);m=n(f)}if(m!==null)var $=!0;else{var ee=n(p);ee!==null&&oe(O,ee.startTime-Z),$=!1}return $}finally{m=null,g=E,w=!1}}var T=!1,M=null,L=-1,R=5,H=-1;function N(){return!(e.unstable_now()-HK||125q?(K.sortIndex=E,t(p,K),n(f)===null&&K===n(p)&&(b?(S(L),L=-1):b=!0,oe(O,E-q))):(K.sortIndex=X,t(f,K),A||w||(A=!0,U(D))),K},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(K){var Z=g;return function(){var E=g;g=Z;try{return K.apply(this,arguments)}finally{g=E}}}}(pm)),pm}var O8;function ez(){return O8||(O8=1,dm.exports=$j()),dm.exports}/** + */var O8;function ez(){return O8||(O8=1,function(e){function t(K,Z){var E=K.length;K.push(Z);e:for(;0>>1,X=K[q];if(0>>1;q<$;){var ee=2*(q+1)-1,se=K[ee],ae=ee+1,ye=K[ae];if(0>s(se,E))aes(ye,se)?(K[q]=ye,K[ae]=E,q=ae):(K[q]=se,K[ee]=E,q=ee);else if(aes(ye,E))K[q]=ye,K[ae]=E,q=ae;else break e}}return Z}function s(K,Z){var E=K.sortIndex-Z.sortIndex;return E!==0?E:K.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var f=[],p=[],h=1,m=null,g=3,w=!1,A=!1,b=!1,j=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(K){for(var Z=n(p);Z!==null;){if(Z.callback===null)r(p);else if(Z.startTime<=K)r(p),Z.sortIndex=Z.expirationTime,t(f,Z);else break;Z=n(p)}}function O(K){if(b=!1,C(K),!A)if(n(f)!==null)A=!0,U(D);else{var Z=n(p);Z!==null&&oe(O,Z.startTime-K)}}function D(K,Z){A=!1,b&&(b=!1,S(L),L=-1),w=!0;var E=g;try{for(C(Z),m=n(f);m!==null&&(!(m.expirationTime>Z)||K&&!N());){var q=m.callback;if(typeof q=="function"){m.callback=null,g=m.priorityLevel;var X=q(m.expirationTime<=Z);Z=e.unstable_now(),typeof X=="function"?m.callback=X:m===n(f)&&r(f),C(Z)}else r(f);m=n(f)}if(m!==null)var $=!0;else{var ee=n(p);ee!==null&&oe(O,ee.startTime-Z),$=!1}return $}finally{m=null,g=E,w=!1}}var T=!1,M=null,L=-1,R=5,H=-1;function N(){return!(e.unstable_now()-HK||125q?(K.sortIndex=E,t(p,K),n(f)===null&&K===n(p)&&(b?(S(L),L=-1):b=!0,oe(O,E-q))):(K.sortIndex=X,t(f,K),A||w||(A=!0,U(D))),K},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(K){var Z=g;return function(){var E=g;g=Z;try{return K.apply(this,arguments)}finally{g=E}}}}(pm)),pm}var D8;function tz(){return D8||(D8=1,dm.exports=ez()),dm.exports}/** * @license React * react-dom.production.min.js * @@ -86,14 +86,14 @@ export default theme;`}function Fm(e={},...t){const{breakpoints:n,mixins:r={},sp * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var D8;function tz(){if(D8)return Hr;D8=1;var e=Vy(),t=ez();function n(o){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+o,c=1;c"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,p=/^[: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]*$/,h={},m={};function g(o){return f.call(m,o)?!0:f.call(h,o)?!1:p.test(o)?m[o]=!0:(h[o]=!0,!1)}function w(o,i,c,d){if(c!==null&&c.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return d?!1:c!==null?!c.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function A(o,i,c,d){if(i===null||typeof i>"u"||w(o,i,c,d))return!0;if(d)return!1;if(c!==null)switch(c.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function b(o,i,c,d,y,x,k){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=y,this.mustUseProperty=c,this.propertyName=o,this.type=i,this.sanitizeURL=x,this.removeEmptyString=k}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){j[o]=new b(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var i=o[0];j[i]=new b(i,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){j[o]=new b(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){j[o]=new b(o,2,!1,o,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(o){j[o]=new b(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){j[o]=new b(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){j[o]=new b(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){j[o]=new b(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){j[o]=new b(o,5,!1,o.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function z(o){return o[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(o){var i=o.replace(S,z);j[i]=new b(i,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var i=o.replace(S,z);j[i]=new b(i,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var i=o.replace(S,z);j[i]=new b(i,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){j[o]=new b(o,1,!1,o.toLowerCase(),null,!1,!1)}),j.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){j[o]=new b(o,1,!1,o.toLowerCase(),null,!0,!0)});function C(o,i,c,d){var y=j.hasOwnProperty(i)?j[i]:null;(y!==null?y.type!==0:d||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,p=/^[: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]*$/,h={},m={};function g(o){return f.call(m,o)?!0:f.call(h,o)?!1:p.test(o)?m[o]=!0:(h[o]=!0,!1)}function w(o,i,c,d){if(c!==null&&c.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return d?!1:c!==null?!c.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function A(o,i,c,d){if(i===null||typeof i>"u"||w(o,i,c,d))return!0;if(d)return!1;if(c!==null)switch(c.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function b(o,i,c,d,y,x,k){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=y,this.mustUseProperty=c,this.propertyName=o,this.type=i,this.sanitizeURL=x,this.removeEmptyString=k}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){j[o]=new b(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var i=o[0];j[i]=new b(i,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){j[o]=new b(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){j[o]=new b(o,2,!1,o,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(o){j[o]=new b(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){j[o]=new b(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){j[o]=new b(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){j[o]=new b(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){j[o]=new b(o,5,!1,o.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function z(o){return o[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(o){var i=o.replace(S,z);j[i]=new b(i,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var i=o.replace(S,z);j[i]=new b(i,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var i=o.replace(S,z);j[i]=new b(i,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){j[o]=new b(o,1,!1,o.toLowerCase(),null,!1,!1)}),j.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){j[o]=new b(o,1,!1,o.toLowerCase(),null,!0,!0)});function C(o,i,c,d){var y=j.hasOwnProperty(i)?j[i]:null;(y!==null?y.type!==0:d||!(2I||y[k]!==x[I]){var Q=` -`+y[k].replace(" at new "," at ");return o.displayName&&Q.includes("")&&(Q=Q.replace("",o.displayName)),Q}while(1<=k&&0<=I);break}}}finally{$=!1,Error.prepareStackTrace=c}return(o=o?o.displayName||o.name:"")?X(o):""}function se(o){switch(o.tag){case 5:return X(o.type);case 16:return X("Lazy");case 13:return X("Suspense");case 19:return X("SuspenseList");case 0:case 2:case 15:return o=ee(o.type,!1),o;case 11:return o=ee(o.type.render,!1),o;case 1:return o=ee(o.type,!0),o;default:return""}}function ae(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case M:return"Fragment";case T:return"Portal";case R:return"Profiler";case L:return"StrictMode";case W:return"Suspense";case _:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case N:return(o.displayName||"Context")+".Consumer";case H:return(o._context.displayName||"Context")+".Provider";case B:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case J:return i=o.displayName||null,i!==null?i:ae(o.type)||"Memo";case U:i=o._payload,o=o._init;try{return ae(o(i))}catch{}}return null}function ye(o){var i=o.type;switch(o.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=i.render,o=o.displayName||o.name||"",i.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ae(i);case 8:return i===L?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function le(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function we(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Ce(o){var i=we(o)?"checked":"value",c=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),d=""+o[i];if(!o.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var y=c.get,x=c.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return y.call(this)},set:function(k){d=""+k,x.call(this,k)}}),Object.defineProperty(o,i,{enumerable:c.enumerable}),{getValue:function(){return d},setValue:function(k){d=""+k},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function Le(o){o._valueTracker||(o._valueTracker=Ce(o))}function Pe(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var c=i.getValue(),d="";return o&&(d=we(o)?o.checked?"true":"false":o.value),o=d,o!==c?(i.setValue(o),!0):!1}function Ve(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}}function be(o,i){var c=i.checked;return E({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??o._wrapperState.initialChecked})}function Be(o,i){var c=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;c=le(i.value!=null?i.value:c),o._wrapperState={initialChecked:d,initialValue:c,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function Pt(o,i){i=i.checked,i!=null&&C(o,"checked",i,!1)}function Ne(o,i){Pt(o,i);var c=le(i.value),d=i.type;if(c!=null)d==="number"?(c===0&&o.value===""||o.value!=c)&&(o.value=""+c):o.value!==""+c&&(o.value=""+c);else if(d==="submit"||d==="reset"){o.removeAttribute("value");return}i.hasOwnProperty("value")?ft(o,i.type,c):i.hasOwnProperty("defaultValue")&&ft(o,i.type,le(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function gt(o,i,c){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var d=i.type;if(!(d!=="submit"&&d!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+o._wrapperState.initialValue,c||i===o.value||(o.value=i),o.defaultValue=i}c=o.name,c!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,c!==""&&(o.name=c)}function ft(o,i,c){(i!=="number"||Ve(o.ownerDocument)!==o)&&(c==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+c&&(o.defaultValue=""+c))}var V=Array.isArray;function te(o,i,c,d){if(o=o.options,i){i={};for(var y=0;y"+i.valueOf().toString()+"",i=Fe.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function et(o,i){if(i){var c=o.firstChild;if(c&&c===o.lastChild&&c.nodeType===3){c.nodeValue=i;return}}o.textContent=i}var We={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ot=["Webkit","ms","Moz","O"];Object.keys(We).forEach(function(o){Ot.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),We[i]=We[o]})});function zt(o,i,c){return i==null||typeof i=="boolean"||i===""?"":c||typeof i!="number"||i===0||We.hasOwnProperty(o)&&We[o]?(""+i).trim():i+"px"}function qt(o,i){o=o.style;for(var c in i)if(i.hasOwnProperty(c)){var d=c.indexOf("--")===0,y=zt(c,i[c],d);c==="float"&&(c="cssFloat"),d?o.setProperty(c,y):o[c]=y}}var Y=E({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function F(o,i){if(i){if(Y[o]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,o));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function ge(o,i){if(o.indexOf("-")===-1)return typeof i.is=="string";switch(o){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var je=null;function Ee(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Xe=null,Ze=null,ke=null;function st(o){if(o=fc(o)){if(typeof Xe!="function")throw Error(n(280));var i=o.stateNode;i&&(i=jf(i),Xe(o.stateNode,o.type,i))}}function vt(o){Ze?ke?ke.push(o):ke=[o]:Ze=o}function Xt(){if(Ze){var o=Ze,i=ke;if(ke=Ze=null,st(o),i)for(o=0;o>>=0,o===0?32:31-(w4(o)/H4|0)|0}var af=64,lf=4194304;function Zl(o){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: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&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function cf(o,i){var c=o.pendingLanes;if(c===0)return 0;var d=0,y=o.suspendedLanes,x=o.pingedLanes,k=c&268435455;if(k!==0){var I=k&~y;I!==0?d=Zl(I):(x&=k,x!==0&&(d=Zl(x)))}else k=c&~y,k!==0?d=Zl(k):x!==0&&(d=Zl(x));if(d===0)return 0;if(i!==0&&i!==d&&(i&y)===0&&(y=d&-d,x=i&-i,y>=x||y===16&&(x&4194240)!==0))return i;if((d&4)!==0&&(d|=c&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=d;0c;c++)i.push(o);return i}function Gl(o,i,c){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-Ao(i),o[i]=c}function C4(o,i){var c=o.pendingLanes&~i;o.pendingLanes=i,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=i,o.mutableReadLanes&=i,o.entangledLanes&=i,i=o.entanglements;var d=o.eventTimes;for(o=o.expirationTimes;0=nc),RA=" ",MA=!1;function LA(o,i){switch(o){case"keyup":return n5.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function XA(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Sa=!1;function o5(o,i){switch(o){case"compositionend":return XA(i);case"keypress":return i.which!==32?null:(MA=!0,RA);case"textInput":return o=i.data,o===RA&&MA?null:o;default:return null}}function s5(o,i){if(Sa)return o==="compositionend"||!Rv&&LA(o,i)?(o=CA(),vf=Cv=Ys=null,Sa=!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=d}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=FA(c)}}function qA(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?qA(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function ZA(){for(var o=window,i=Ve();i instanceof o.HTMLIFrameElement;){try{var c=typeof i.contentWindow.location.href=="string"}catch{c=!1}if(c)o=i.contentWindow;else break;i=Ve(o.document)}return i}function Xv(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 v5(o){var i=ZA(),c=o.focusedElem,d=o.selectionRange;if(i!==c&&c&&c.ownerDocument&&qA(c.ownerDocument.documentElement,c)){if(d!==null&&Xv(c)){if(i=d.start,o=d.end,o===void 0&&(o=i),"selectionStart"in c)c.selectionStart=i,c.selectionEnd=Math.min(o,c.value.length);else if(o=(i=c.ownerDocument||document)&&i.defaultView||window,o.getSelection){o=o.getSelection();var y=c.textContent.length,x=Math.min(d.start,y);d=d.end===void 0?x:Math.min(d.end,y),!o.extend&&x>d&&(y=d,d=x,x=y),y=YA(c,x);var k=YA(c,d);y&&k&&(o.rangeCount!==1||o.anchorNode!==y.node||o.anchorOffset!==y.offset||o.focusNode!==k.node||o.focusOffset!==k.offset)&&(i=i.createRange(),i.setStart(y.node,y.offset),o.removeAllRanges(),x>d?(o.addRange(i),o.extend(k.node,k.offset)):(i.setEnd(k.node,k.offset),o.addRange(i)))}}for(i=[],o=c;o=o.parentNode;)o.nodeType===1&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c=document.documentMode,Ca=null,Nv=null,ic=null,Bv=!1;function GA(o,i,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Bv||Ca==null||Ca!==Ve(d)||(d=Ca,"selectionStart"in d&&Xv(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),ic&&sc(ic,d)||(ic=d,d=xf(Nv,"onSelect"),0Ea||(o.current=Kv[Ea],Kv[Ea]=null,Ea--)}function rn(o,i){Ea++,Kv[Ea]=o.current,o.current=i}var Us={},er=Gs(Us),Ar=Gs(!1),Ei=Us;function Ra(o,i){var c=o.type.contextTypes;if(!c)return Us;var d=o.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var y={},x;for(x in c)y[x]=i[x];return d&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=y),y}function Pr(o){return o=o.childContextTypes,o!=null}function zf(){an(Ar),an(er)}function cP(o,i,c){if(er.current!==Us)throw Error(n(168));rn(er,i),rn(Ar,c)}function uP(o,i,c){var d=o.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return c;d=d.getChildContext();for(var y in d)if(!(y in i))throw Error(n(108,ye(o)||"Unknown",y));return E({},c,d)}function Sf(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Us,Ei=er.current,rn(er,o),rn(Ar,Ar.current),!0}function fP(o,i,c){var d=o.stateNode;if(!d)throw Error(n(169));c?(o=uP(o,i,Ei),d.__reactInternalMemoizedMergedChildContext=o,an(Ar),an(er),rn(er,o)):an(Ar),rn(Ar,c)}var hs=null,Cf=!1,_v=!1;function dP(o){hs===null?hs=[o]:hs.push(o)}function z5(o){Cf=!0,dP(o)}function Qs(){if(!_v&&hs!==null){_v=!0;var o=0,i=Ut;try{var c=hs;for(Ut=1;o>=k,y-=k,ms=1<<32-Ao(i)+y|c<wt?(Yn=yt,yt=null):Yn=yt.sibling;var Jt=ze(ie,yt,ce[wt],Me);if(Jt===null){yt===null&&(yt=Yn);break}o&&yt&&Jt.alternate===null&&i(ie,yt),re=x(Jt,re,wt),mt===null?dt=Jt:mt.sibling=Jt,mt=Jt,yt=Yn}if(wt===ce.length)return c(ie,yt),un&&Mi(ie,wt),dt;if(yt===null){for(;wtwt?(Yn=yt,yt=null):Yn=yt.sibling;var si=ze(ie,yt,Jt.value,Me);if(si===null){yt===null&&(yt=Yn);break}o&&yt&&si.alternate===null&&i(ie,yt),re=x(si,re,wt),mt===null?dt=si:mt.sibling=si,mt=si,yt=Yn}if(Jt.done)return c(ie,yt),un&&Mi(ie,wt),dt;if(yt===null){for(;!Jt.done;wt++,Jt=ce.next())Jt=De(ie,Jt.value,Me),Jt!==null&&(re=x(Jt,re,wt),mt===null?dt=Jt:mt.sibling=Jt,mt=Jt);return un&&Mi(ie,wt),dt}for(yt=d(ie,yt);!Jt.done;wt++,Jt=ce.next())Jt=qe(yt,ie,wt,Jt.value,Me),Jt!==null&&(o&&Jt.alternate!==null&&yt.delete(Jt.key===null?wt:Jt.key),re=x(Jt,re,wt),mt===null?dt=Jt:mt.sibling=Jt,mt=Jt);return o&&yt.forEach(function(i3){return i(ie,i3)}),un&&Mi(ie,wt),dt}function On(ie,re,ce,Me){if(typeof ce=="object"&&ce!==null&&ce.type===M&&ce.key===null&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case D:e:{for(var dt=ce.key,mt=re;mt!==null;){if(mt.key===dt){if(dt=ce.type,dt===M){if(mt.tag===7){c(ie,mt.sibling),re=y(mt,ce.props.children),re.return=ie,ie=re;break e}}else if(mt.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===U&&zP(dt)===mt.type){c(ie,mt.sibling),re=y(mt,ce.props),re.ref=dc(ie,mt,ce),re.return=ie,ie=re;break e}c(ie,mt);break}else i(ie,mt);mt=mt.sibling}ce.type===M?(re=Ji(ce.props.children,ie.mode,Me,ce.key),re.return=ie,ie=re):(Me=nd(ce.type,ce.key,ce.props,null,ie.mode,Me),Me.ref=dc(ie,re,ce),Me.return=ie,ie=Me)}return k(ie);case T:e:{for(mt=ce.key;re!==null;){if(re.key===mt)if(re.tag===4&&re.stateNode.containerInfo===ce.containerInfo&&re.stateNode.implementation===ce.implementation){c(ie,re.sibling),re=y(re,ce.children||[]),re.return=ie,ie=re;break e}else{c(ie,re);break}else i(ie,re);re=re.sibling}re=Uh(ce,ie.mode,Me),re.return=ie,ie=re}return k(ie);case U:return mt=ce._init,On(ie,re,mt(ce._payload),Me)}if(V(ce))return it(ie,re,ce,Me);if(Z(ce))return ut(ie,re,ce,Me);Xf(ie,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"?(ce=""+ce,re!==null&&re.tag===6?(c(ie,re.sibling),re=y(re,ce),re.return=ie,ie=re):(c(ie,re),re=Gh(ce,ie.mode,Me),re.return=ie,ie=re),k(ie)):c(ie,re)}return On}var Va=SP(!0),CP=SP(!1),pc={},Go=Gs(pc),vc=Gs(pc),hc=Gs(pc);function Xi(o){if(o===pc)throw Error(n(174));return o}function dh(o,i){switch(rn(hc,i),rn(vc,o),rn(Go,pc),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:lt(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=lt(i,o)}an(Go),rn(Go,i)}function Ia(){an(Go),an(vc),an(hc)}function OP(o){Xi(hc.current);var i=Xi(Go.current),c=lt(i,o.type);i!==c&&(rn(vc,o),rn(Go,c))}function ph(o){vc.current===o&&(an(Go),an(vc))}var mn=Gs(0);function Nf(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)!==0)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 vh=[];function hh(){for(var o=0;oc?c:4,o(!0);var d=mh.transition;mh.transition={};try{o(!1),i()}finally{Ut=c,mh.transition=d}}function ZP(){return no().memoizedState}function D5(o,i,c){var d=ni(o);if(c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null},GP(o))UP(i,c);else if(c=gP(o,i,c,d),c!==null){var y=ur();jo(c,o,d,y),QP(c,i,d)}}function k5(o,i,c){var d=ni(o),y={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(GP(o))UP(i,y);else{var x=o.alternate;if(o.lanes===0&&(x===null||x.lanes===0)&&(x=i.lastRenderedReducer,x!==null))try{var k=i.lastRenderedState,I=x(k,c);if(y.hasEagerState=!0,y.eagerState=I,Po(I,k)){var Q=i.interleaved;Q===null?(y.next=y,lh(i)):(y.next=Q.next,Q.next=y),i.interleaved=y;return}}catch{}finally{}c=gP(o,i,y,d),c!==null&&(y=ur(),jo(c,o,d,y),QP(c,i,d))}}function GP(o){var i=o.alternate;return o===yn||i!==null&&i===yn}function UP(o,i){mc=Vf=!0;var c=o.pending;c===null?i.next=i:(i.next=c.next,c.next=i),o.pending=i}function QP(o,i,c){if((c&4194240)!==0){var d=i.lanes;d&=o.pendingLanes,c|=d,i.lanes=c,wv(o,c)}}var Jf={readContext:to,useCallback:tr,useContext:tr,useEffect:tr,useImperativeHandle:tr,useInsertionEffect:tr,useLayoutEffect:tr,useMemo:tr,useReducer:tr,useRef:tr,useState:tr,useDebugValue:tr,useDeferredValue:tr,useTransition:tr,useMutableSource:tr,useSyncExternalStore:tr,useId:tr,unstable_isNewReconciler:!1},T5={readContext:to,useCallback:function(o,i){return Uo().memoizedState=[o,i===void 0?null:i],o},useContext:to,useEffect:BP,useImperativeHandle:function(o,i,c){return c=c!=null?c.concat([o]):null,If(4194308,4,WP.bind(null,i,o),c)},useLayoutEffect:function(o,i){return If(4194308,4,o,i)},useInsertionEffect:function(o,i){return If(4,2,o,i)},useMemo:function(o,i){var c=Uo();return i=i===void 0?null:i,o=o(),c.memoizedState=[o,i],o},useReducer:function(o,i,c){var d=Uo();return i=c!==void 0?c(i):i,d.memoizedState=d.baseState=i,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:i},d.queue=o,o=o.dispatch=D5.bind(null,yn,o),[d.memoizedState,o]},useRef:function(o){var i=Uo();return o={current:o},i.memoizedState=o},useState:XP,useDebugValue:wh,useDeferredValue:function(o){return Uo().memoizedState=o},useTransition:function(){var o=XP(!1),i=o[0];return o=O5.bind(null,o[1]),Uo().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,c){var d=yn,y=Uo();if(un){if(c===void 0)throw Error(n(407));c=c()}else{if(c=i(),Fn===null)throw Error(n(349));(Ni&30)!==0||TP(d,i,c)}y.memoizedState=c;var x={value:c,getSnapshot:i};return y.queue=x,BP(RP.bind(null,d,x,o),[o]),d.flags|=2048,Ac(9,EP.bind(null,d,x,c,i),void 0,null),c},useId:function(){var o=Uo(),i=Fn.identifierPrefix;if(un){var c=ys,d=ms;c=(d&~(1<<32-Ao(d)-1)).toString(32)+c,i=":"+i+"R"+c,c=yc++,0")&&(Q=Q.replace("",o.displayName)),Q}while(1<=k&&0<=I);break}}}finally{$=!1,Error.prepareStackTrace=c}return(o=o?o.displayName||o.name:"")?X(o):""}function se(o){switch(o.tag){case 5:return X(o.type);case 16:return X("Lazy");case 13:return X("Suspense");case 19:return X("SuspenseList");case 0:case 2:case 15:return o=ee(o.type,!1),o;case 11:return o=ee(o.type.render,!1),o;case 1:return o=ee(o.type,!0),o;default:return""}}function ae(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case M:return"Fragment";case T:return"Portal";case R:return"Profiler";case L:return"StrictMode";case W:return"Suspense";case _:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case N:return(o.displayName||"Context")+".Consumer";case H:return(o._context.displayName||"Context")+".Provider";case B:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case J:return i=o.displayName||null,i!==null?i:ae(o.type)||"Memo";case U:i=o._payload,o=o._init;try{return ae(o(i))}catch{}}return null}function ye(o){var i=o.type;switch(o.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=i.render,o=o.displayName||o.name||"",i.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ae(i);case 8:return i===L?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function le(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function we(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Ce(o){var i=we(o)?"checked":"value",c=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),d=""+o[i];if(!o.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var y=c.get,x=c.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return y.call(this)},set:function(k){d=""+k,x.call(this,k)}}),Object.defineProperty(o,i,{enumerable:c.enumerable}),{getValue:function(){return d},setValue:function(k){d=""+k},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function Le(o){o._valueTracker||(o._valueTracker=Ce(o))}function Pe(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var c=i.getValue(),d="";return o&&(d=we(o)?o.checked?"true":"false":o.value),o=d,o!==c?(i.setValue(o),!0):!1}function Ie(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}}function be(o,i){var c=i.checked;return E({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??o._wrapperState.initialChecked})}function Ve(o,i){var c=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;c=le(i.value!=null?i.value:c),o._wrapperState={initialChecked:d,initialValue:c,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function Pt(o,i){i=i.checked,i!=null&&C(o,"checked",i,!1)}function Ne(o,i){Pt(o,i);var c=le(i.value),d=i.type;if(c!=null)d==="number"?(c===0&&o.value===""||o.value!=c)&&(o.value=""+c):o.value!==""+c&&(o.value=""+c);else if(d==="submit"||d==="reset"){o.removeAttribute("value");return}i.hasOwnProperty("value")?ft(o,i.type,c):i.hasOwnProperty("defaultValue")&&ft(o,i.type,le(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function gt(o,i,c){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var d=i.type;if(!(d!=="submit"&&d!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+o._wrapperState.initialValue,c||i===o.value||(o.value=i),o.defaultValue=i}c=o.name,c!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,c!==""&&(o.name=c)}function ft(o,i,c){(i!=="number"||Ie(o.ownerDocument)!==o)&&(c==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+c&&(o.defaultValue=""+c))}var V=Array.isArray;function te(o,i,c,d){if(o=o.options,i){i={};for(var y=0;y"+i.valueOf().toString()+"",i=Fe.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function et(o,i){if(i){var c=o.firstChild;if(c&&c===o.lastChild&&c.nodeType===3){c.nodeValue=i;return}}o.textContent=i}var We={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ot=["Webkit","ms","Moz","O"];Object.keys(We).forEach(function(o){Ot.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),We[i]=We[o]})});function zt(o,i,c){return i==null||typeof i=="boolean"||i===""?"":c||typeof i!="number"||i===0||We.hasOwnProperty(o)&&We[o]?(""+i).trim():i+"px"}function qt(o,i){o=o.style;for(var c in i)if(i.hasOwnProperty(c)){var d=c.indexOf("--")===0,y=zt(c,i[c],d);c==="float"&&(c="cssFloat"),d?o.setProperty(c,y):o[c]=y}}var Y=E({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function F(o,i){if(i){if(Y[o]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,o));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function ge(o,i){if(o.indexOf("-")===-1)return typeof i.is=="string";switch(o){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var je=null;function Ee(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Xe=null,Ge=null,ke=null;function it(o){if(o=fc(o)){if(typeof Xe!="function")throw Error(n(280));var i=o.stateNode;i&&(i=jf(i),Xe(o.stateNode,o.type,i))}}function vt(o){Ge?ke?ke.push(o):ke=[o]:Ge=o}function Xt(){if(Ge){var o=Ge,i=ke;if(ke=Ge=null,it(o),i)for(o=0;o>>=0,o===0?32:31-(H4(o)/j4|0)|0}var af=64,lf=4194304;function Zl(o){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: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&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function cf(o,i){var c=o.pendingLanes;if(c===0)return 0;var d=0,y=o.suspendedLanes,x=o.pingedLanes,k=c&268435455;if(k!==0){var I=k&~y;I!==0?d=Zl(I):(x&=k,x!==0&&(d=Zl(x)))}else k=c&~y,k!==0?d=Zl(k):x!==0&&(d=Zl(x));if(d===0)return 0;if(i!==0&&i!==d&&(i&y)===0&&(y=d&-d,x=i&-i,y>=x||y===16&&(x&4194240)!==0))return i;if((d&4)!==0&&(d|=c&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=d;0c;c++)i.push(o);return i}function Gl(o,i,c){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-Ao(i),o[i]=c}function O4(o,i){var c=o.pendingLanes&~i;o.pendingLanes=i,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=i,o.mutableReadLanes&=i,o.entangledLanes&=i,i=o.entanglements;var d=o.eventTimes;for(o=o.expirationTimes;0=nc),MA=" ",LA=!1;function XA(o,i){switch(o){case"keyup":return r5.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function NA(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Ca=!1;function s5(o,i){switch(o){case"compositionend":return NA(i);case"keypress":return i.which!==32?null:(LA=!0,MA);case"textInput":return o=i.data,o===MA&&LA?null:o;default:return null}}function i5(o,i){if(Ca)return o==="compositionend"||!Rv&&XA(o,i)?(o=OA(),vf=Cv=Ys=null,Ca=!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=d}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=YA(c)}}function ZA(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?ZA(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function GA(){for(var o=window,i=Ie();i instanceof o.HTMLIFrameElement;){try{var c=typeof i.contentWindow.location.href=="string"}catch{c=!1}if(c)o=i.contentWindow;else break;i=Ie(o.document)}return i}function Xv(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 h5(o){var i=GA(),c=o.focusedElem,d=o.selectionRange;if(i!==c&&c&&c.ownerDocument&&ZA(c.ownerDocument.documentElement,c)){if(d!==null&&Xv(c)){if(i=d.start,o=d.end,o===void 0&&(o=i),"selectionStart"in c)c.selectionStart=i,c.selectionEnd=Math.min(o,c.value.length);else if(o=(i=c.ownerDocument||document)&&i.defaultView||window,o.getSelection){o=o.getSelection();var y=c.textContent.length,x=Math.min(d.start,y);d=d.end===void 0?x:Math.min(d.end,y),!o.extend&&x>d&&(y=d,d=x,x=y),y=qA(c,x);var k=qA(c,d);y&&k&&(o.rangeCount!==1||o.anchorNode!==y.node||o.anchorOffset!==y.offset||o.focusNode!==k.node||o.focusOffset!==k.offset)&&(i=i.createRange(),i.setStart(y.node,y.offset),o.removeAllRanges(),x>d?(o.addRange(i),o.extend(k.node,k.offset)):(i.setEnd(k.node,k.offset),o.addRange(i)))}}for(i=[],o=c;o=o.parentNode;)o.nodeType===1&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c=document.documentMode,Oa=null,Nv=null,ic=null,Bv=!1;function UA(o,i,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Bv||Oa==null||Oa!==Ie(d)||(d=Oa,"selectionStart"in d&&Xv(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),ic&&sc(ic,d)||(ic=d,d=xf(Nv,"onSelect"),0Ra||(o.current=Kv[Ra],Kv[Ra]=null,Ra--)}function rn(o,i){Ra++,Kv[Ra]=o.current,o.current=i}var Us={},er=Gs(Us),Ar=Gs(!1),Ei=Us;function Ma(o,i){var c=o.type.contextTypes;if(!c)return Us;var d=o.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var y={},x;for(x in c)y[x]=i[x];return d&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=y),y}function Pr(o){return o=o.childContextTypes,o!=null}function zf(){an(Ar),an(er)}function uP(o,i,c){if(er.current!==Us)throw Error(n(168));rn(er,i),rn(Ar,c)}function fP(o,i,c){var d=o.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return c;d=d.getChildContext();for(var y in d)if(!(y in i))throw Error(n(108,ye(o)||"Unknown",y));return E({},c,d)}function Sf(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Us,Ei=er.current,rn(er,o),rn(Ar,Ar.current),!0}function dP(o,i,c){var d=o.stateNode;if(!d)throw Error(n(169));c?(o=fP(o,i,Ei),d.__reactInternalMemoizedMergedChildContext=o,an(Ar),an(er),rn(er,o)):an(Ar),rn(Ar,c)}var hs=null,Cf=!1,_v=!1;function pP(o){hs===null?hs=[o]:hs.push(o)}function S5(o){Cf=!0,pP(o)}function Qs(){if(!_v&&hs!==null){_v=!0;var o=0,i=Ut;try{var c=hs;for(Ut=1;o>=k,y-=k,ms=1<<32-Ao(i)+y|c<wt?(Yn=yt,yt=null):Yn=yt.sibling;var Jt=ze(ie,yt,ce[wt],Me);if(Jt===null){yt===null&&(yt=Yn);break}o&&yt&&Jt.alternate===null&&i(ie,yt),re=x(Jt,re,wt),mt===null?dt=Jt:mt.sibling=Jt,mt=Jt,yt=Yn}if(wt===ce.length)return c(ie,yt),un&&Mi(ie,wt),dt;if(yt===null){for(;wtwt?(Yn=yt,yt=null):Yn=yt.sibling;var si=ze(ie,yt,Jt.value,Me);if(si===null){yt===null&&(yt=Yn);break}o&&yt&&si.alternate===null&&i(ie,yt),re=x(si,re,wt),mt===null?dt=si:mt.sibling=si,mt=si,yt=Yn}if(Jt.done)return c(ie,yt),un&&Mi(ie,wt),dt;if(yt===null){for(;!Jt.done;wt++,Jt=ce.next())Jt=De(ie,Jt.value,Me),Jt!==null&&(re=x(Jt,re,wt),mt===null?dt=Jt:mt.sibling=Jt,mt=Jt);return un&&Mi(ie,wt),dt}for(yt=d(ie,yt);!Jt.done;wt++,Jt=ce.next())Jt=qe(yt,ie,wt,Jt.value,Me),Jt!==null&&(o&&Jt.alternate!==null&&yt.delete(Jt.key===null?wt:Jt.key),re=x(Jt,re,wt),mt===null?dt=Jt:mt.sibling=Jt,mt=Jt);return o&&yt.forEach(function(a3){return i(ie,a3)}),un&&Mi(ie,wt),dt}function Dn(ie,re,ce,Me){if(typeof ce=="object"&&ce!==null&&ce.type===M&&ce.key===null&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case D:e:{for(var dt=ce.key,mt=re;mt!==null;){if(mt.key===dt){if(dt=ce.type,dt===M){if(mt.tag===7){c(ie,mt.sibling),re=y(mt,ce.props.children),re.return=ie,ie=re;break e}}else if(mt.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===U&&SP(dt)===mt.type){c(ie,mt.sibling),re=y(mt,ce.props),re.ref=dc(ie,mt,ce),re.return=ie,ie=re;break e}c(ie,mt);break}else i(ie,mt);mt=mt.sibling}ce.type===M?(re=Ji(ce.props.children,ie.mode,Me,ce.key),re.return=ie,ie=re):(Me=nd(ce.type,ce.key,ce.props,null,ie.mode,Me),Me.ref=dc(ie,re,ce),Me.return=ie,ie=Me)}return k(ie);case T:e:{for(mt=ce.key;re!==null;){if(re.key===mt)if(re.tag===4&&re.stateNode.containerInfo===ce.containerInfo&&re.stateNode.implementation===ce.implementation){c(ie,re.sibling),re=y(re,ce.children||[]),re.return=ie,ie=re;break e}else{c(ie,re);break}else i(ie,re);re=re.sibling}re=Uh(ce,ie.mode,Me),re.return=ie,ie=re}return k(ie);case U:return mt=ce._init,Dn(ie,re,mt(ce._payload),Me)}if(V(ce))return at(ie,re,ce,Me);if(Z(ce))return ut(ie,re,ce,Me);Xf(ie,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"?(ce=""+ce,re!==null&&re.tag===6?(c(ie,re.sibling),re=y(re,ce),re.return=ie,ie=re):(c(ie,re),re=Gh(ce,ie.mode,Me),re.return=ie,ie=re),k(ie)):c(ie,re)}return Dn}var Ia=CP(!0),OP=CP(!1),pc={},Go=Gs(pc),vc=Gs(pc),hc=Gs(pc);function Xi(o){if(o===pc)throw Error(n(174));return o}function dh(o,i){switch(rn(hc,i),rn(vc,o),rn(Go,pc),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:ot(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=ot(i,o)}an(Go),rn(Go,i)}function Wa(){an(Go),an(vc),an(hc)}function DP(o){Xi(hc.current);var i=Xi(Go.current),c=ot(i,o.type);i!==c&&(rn(vc,o),rn(Go,c))}function ph(o){vc.current===o&&(an(Go),an(vc))}var mn=Gs(0);function Nf(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)!==0)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 vh=[];function hh(){for(var o=0;oc?c:4,o(!0);var d=mh.transition;mh.transition={};try{o(!1),i()}finally{Ut=c,mh.transition=d}}function GP(){return no().memoizedState}function k5(o,i,c){var d=ni(o);if(c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null},UP(o))QP(i,c);else if(c=AP(o,i,c,d),c!==null){var y=ur();jo(c,o,d,y),KP(c,i,d)}}function T5(o,i,c){var d=ni(o),y={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(UP(o))QP(i,y);else{var x=o.alternate;if(o.lanes===0&&(x===null||x.lanes===0)&&(x=i.lastRenderedReducer,x!==null))try{var k=i.lastRenderedState,I=x(k,c);if(y.hasEagerState=!0,y.eagerState=I,Po(I,k)){var Q=i.interleaved;Q===null?(y.next=y,lh(i)):(y.next=Q.next,Q.next=y),i.interleaved=y;return}}catch{}finally{}c=AP(o,i,y,d),c!==null&&(y=ur(),jo(c,o,d,y),KP(c,i,d))}}function UP(o){var i=o.alternate;return o===yn||i!==null&&i===yn}function QP(o,i){mc=Vf=!0;var c=o.pending;c===null?i.next=i:(i.next=c.next,c.next=i),o.pending=i}function KP(o,i,c){if((c&4194240)!==0){var d=i.lanes;d&=o.pendingLanes,c|=d,i.lanes=c,wv(o,c)}}var Jf={readContext:to,useCallback:tr,useContext:tr,useEffect:tr,useImperativeHandle:tr,useInsertionEffect:tr,useLayoutEffect:tr,useMemo:tr,useReducer:tr,useRef:tr,useState:tr,useDebugValue:tr,useDeferredValue:tr,useTransition:tr,useMutableSource:tr,useSyncExternalStore:tr,useId:tr,unstable_isNewReconciler:!1},E5={readContext:to,useCallback:function(o,i){return Uo().memoizedState=[o,i===void 0?null:i],o},useContext:to,useEffect:VP,useImperativeHandle:function(o,i,c){return c=c!=null?c.concat([o]):null,If(4194308,4,JP.bind(null,i,o),c)},useLayoutEffect:function(o,i){return If(4194308,4,o,i)},useInsertionEffect:function(o,i){return If(4,2,o,i)},useMemo:function(o,i){var c=Uo();return i=i===void 0?null:i,o=o(),c.memoizedState=[o,i],o},useReducer:function(o,i,c){var d=Uo();return i=c!==void 0?c(i):i,d.memoizedState=d.baseState=i,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:i},d.queue=o,o=o.dispatch=k5.bind(null,yn,o),[d.memoizedState,o]},useRef:function(o){var i=Uo();return o={current:o},i.memoizedState=o},useState:NP,useDebugValue:wh,useDeferredValue:function(o){return Uo().memoizedState=o},useTransition:function(){var o=NP(!1),i=o[0];return o=D5.bind(null,o[1]),Uo().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,c){var d=yn,y=Uo();if(un){if(c===void 0)throw Error(n(407));c=c()}else{if(c=i(),Fn===null)throw Error(n(349));(Ni&30)!==0||EP(d,i,c)}y.memoizedState=c;var x={value:c,getSnapshot:i};return y.queue=x,VP(MP.bind(null,d,x,o),[o]),d.flags|=2048,Ac(9,RP.bind(null,d,x,c,i),void 0,null),c},useId:function(){var o=Uo(),i=Fn.identifierPrefix;if(un){var c=ys,d=ms;c=(d&~(1<<32-Ao(d)-1)).toString(32)+c,i=":"+i+"R"+c,c=yc++,0<\/script>",o=o.removeChild(o.firstChild)):typeof d.is=="string"?o=k.createElement(c,{is:d.is}):(o=k.createElement(c),c==="select"&&(k=o,d.multiple?k.multiple=!0:d.size&&(k.size=d.size))):o=k.createElementNS(o,c),o[Zo]=i,o[uc]=d,pb(o,i,!1,!1),i.stateNode=o;e:{switch(k=ge(c,d),c){case"dialog":sn("cancel",o),sn("close",o),y=d;break;case"iframe":case"object":case"embed":sn("load",o),y=d;break;case"video":case"audio":for(y=0;yYa&&(i.flags|=128,d=!0,Pc(x,!1),i.lanes=4194304)}else{if(!d)if(o=Nf(k),o!==null){if(i.flags|=128,d=!0,c=o.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),Pc(x,!0),x.tail===null&&x.tailMode==="hidden"&&!k.alternate&&!un)return nr(i),null}else 2*nn()-x.renderingStartTime>Ya&&c!==1073741824&&(i.flags|=128,d=!0,Pc(x,!1),i.lanes=4194304);x.isBackwards?(k.sibling=i.child,i.child=k):(c=x.last,c!==null?c.sibling=k:i.child=k,x.last=k)}return x.tail!==null?(i=x.tail,x.rendering=i,x.tail=i.sibling,x.renderingStartTime=nn(),i.sibling=null,c=mn.current,rn(mn,d?c&1|2:c&1),i):(nr(i),null);case 22:case 23:return Yh(),d=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==d&&(i.flags|=8192),d&&(i.mode&1)!==0?(Vr&1073741824)!==0&&(nr(i),i.subtreeFlags&6&&(i.flags|=8192)):nr(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function V5(o,i){switch(eh(i),i.tag){case 1:return Pr(i.type)&&zf(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return Ia(),an(Ar),an(er),hh(),o=i.flags,(o&65536)!==0&&(o&128)===0?(i.flags=o&-65537|128,i):null;case 5:return ph(i),null;case 13:if(an(mn),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Xa()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return an(mn),null;case 4:return Ia(),null;case 10:return ih(i.type._context),null;case 22:case 23:return Yh(),null;case 24:return null;default:return null}}var qf=!1,rr=!1,I5=typeof WeakSet=="function"?WeakSet:Set,tt=null;function Ja(o,i){var c=o.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(d){wn(o,i,d)}else c.current=null}function Eh(o,i,c){try{c()}catch(d){wn(o,i,d)}}var mb=!1;function W5(o,i){if(Yv=df,o=ZA(),Xv(o)){if("selectionStart"in o)var c={start:o.selectionStart,end:o.selectionEnd};else e:{c=(c=o.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&d.rangeCount!==0){c=d.anchorNode;var y=d.anchorOffset,x=d.focusNode;d=d.focusOffset;try{c.nodeType,x.nodeType}catch{c=null;break e}var k=0,I=-1,Q=-1,de=0,Se=0,De=o,ze=null;t:for(;;){for(var qe;De!==c||y!==0&&De.nodeType!==3||(I=k+y),De!==x||d!==0&&De.nodeType!==3||(Q=k+d),De.nodeType===3&&(k+=De.nodeValue.length),(qe=De.firstChild)!==null;)ze=De,De=qe;for(;;){if(De===o)break t;if(ze===c&&++de===y&&(I=k),ze===x&&++Se===d&&(Q=k),(qe=De.nextSibling)!==null)break;De=ze,ze=De.parentNode}De=qe}c=I===-1||Q===-1?null:{start:I,end:Q}}else c=null}c=c||{start:0,end:0}}else c=null;for(qv={focusedElem:o,selectionRange:c},df=!1,tt=i;tt!==null;)if(i=tt,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,tt=o;else for(;tt!==null;){i=tt;try{var it=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(it!==null){var ut=it.memoizedProps,On=it.memoizedState,ie=i.stateNode,re=ie.getSnapshotBeforeUpdate(i.elementType===i.type?ut:xo(i.type,ut),On);ie.__reactInternalSnapshotBeforeUpdate=re}break;case 3:var ce=i.stateNode.containerInfo;ce.nodeType===1?ce.textContent="":ce.nodeType===9&&ce.documentElement&&ce.removeChild(ce.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Me){wn(i,i.return,Me)}if(o=i.sibling,o!==null){o.return=i.return,tt=o;break}tt=i.return}return it=mb,mb=!1,it}function bc(o,i,c){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var y=d=d.next;do{if((y.tag&o)===o){var x=y.destroy;y.destroy=void 0,x!==void 0&&Eh(i,c,x)}y=y.next}while(y!==d)}}function Zf(o,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var c=i=i.next;do{if((c.tag&o)===o){var d=c.create;c.destroy=d()}c=c.next}while(c!==i)}}function Rh(o){var i=o.ref;if(i!==null){var c=o.stateNode;switch(o.tag){case 5:o=c;break;default:o=c}typeof i=="function"?i(o):i.current=o}}function yb(o){var i=o.alternate;i!==null&&(o.alternate=null,yb(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Zo],delete i[uc],delete i[Qv],delete i[H5],delete i[j5])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function gb(o){return o.tag===5||o.tag===3||o.tag===4}function Ab(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||gb(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Mh(o,i,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?c.nodeType===8?c.parentNode.insertBefore(o,i):c.insertBefore(o,i):(c.nodeType===8?(i=c.parentNode,i.insertBefore(o,c)):(i=c,i.appendChild(o)),c=c._reactRootContainer,c!=null||i.onclick!==null||(i.onclick=Hf));else if(d!==4&&(o=o.child,o!==null))for(Mh(o,i,c),o=o.sibling;o!==null;)Mh(o,i,c),o=o.sibling}function Lh(o,i,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?c.insertBefore(o,i):c.appendChild(o);else if(d!==4&&(o=o.child,o!==null))for(Lh(o,i,c),o=o.sibling;o!==null;)Lh(o,i,c),o=o.sibling}var Un=null,wo=!1;function $s(o,i,c){for(c=c.child;c!==null;)Pb(o,i,c),c=c.sibling}function Pb(o,i,c){if(_r&&typeof _r.onCommitFiberUnmount=="function")try{_r.onCommitFiberUnmount(qo,c)}catch{}switch(c.tag){case 5:rr||Ja(c,i);case 6:var d=Un,y=wo;Un=null,$s(o,i,c),Un=d,wo=y,Un!==null&&(wo?(o=Un,c=c.stateNode,o.nodeType===8?o.parentNode.removeChild(c):o.removeChild(c)):Un.removeChild(c.stateNode));break;case 18:Un!==null&&(wo?(o=Un,c=c.stateNode,o.nodeType===8?Uv(o.parentNode,c):o.nodeType===1&&Uv(o,c),$l(o)):Uv(Un,c.stateNode));break;case 4:d=Un,y=wo,Un=c.stateNode.containerInfo,wo=!0,$s(o,i,c),Un=d,wo=y;break;case 0:case 11:case 14:case 15:if(!rr&&(d=c.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){y=d=d.next;do{var x=y,k=x.destroy;x=x.tag,k!==void 0&&((x&2)!==0||(x&4)!==0)&&Eh(c,i,k),y=y.next}while(y!==d)}$s(o,i,c);break;case 1:if(!rr&&(Ja(c,i),d=c.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(I){wn(c,i,I)}$s(o,i,c);break;case 21:$s(o,i,c);break;case 22:c.mode&1?(rr=(d=rr)||c.memoizedState!==null,$s(o,i,c),rr=d):$s(o,i,c);break;default:$s(o,i,c)}}function bb(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var c=o.stateNode;c===null&&(c=o.stateNode=new I5),i.forEach(function(d){var y=K5.bind(null,o,d);c.has(d)||(c.add(d),d.then(y,y))})}}function Ho(o,i){var c=i.deletions;if(c!==null)for(var d=0;dy&&(y=k),d&=~x}if(d=y,d=nn()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*F5(d/1960))-d,10o?16:o,ti===null)var d=!1;else{if(o=ti,ti=null,_f=0,(Wt&6)!==0)throw Error(n(331));var y=Wt;for(Wt|=4,tt=o.current;tt!==null;){var x=tt,k=x.child;if((tt.flags&16)!==0){var I=x.deletions;if(I!==null){for(var Q=0;Qnn()-Bh?Ii(o,0):Nh|=c),wr(o,i)}function Rb(o,i){i===0&&((o.mode&1)===0?i=1:(i=lf,lf<<=1,(lf&130023424)===0&&(lf=4194304)));var c=ur();o=gs(o,i),o!==null&&(Gl(o,i,c),wr(o,c))}function Q5(o){var i=o.memoizedState,c=0;i!==null&&(c=i.retryLane),Rb(o,c)}function K5(o,i){var c=0;switch(o.tag){case 13:var d=o.stateNode,y=o.memoizedState;y!==null&&(c=y.retryLane);break;case 19:d=o.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),Rb(o,c)}var Mb;Mb=function(o,i,c){if(o!==null)if(o.memoizedProps!==i.pendingProps||Ar.current)br=!0;else{if((o.lanes&c)===0&&(i.flags&128)===0)return br=!1,N5(o,i,c);br=(o.flags&131072)!==0}else br=!1,un&&(i.flags&1048576)!==0&&pP(i,Df,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;Yf(o,i),o=i.pendingProps;var y=Ra(i,er.current);Ba(i,c),y=gh(null,i,d,o,y,c);var x=Ah();return i.flags|=1,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,Pr(d)?(x=!0,Sf(i)):x=!1,i.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,ch(i),y.updater=Lf,i.stateNode=y,y._reactInternals=i,fh(i,d,o,c),i=Sh(null,i,d,!0,x,c)):(i.tag=0,un&&x&&$v(i),cr(null,i,y,c),i=i.child),i;case 16:d=i.elementType;e:{switch(Yf(o,i),o=i.pendingProps,y=d._init,d=y(d._payload),i.type=d,y=i.tag=$5(d),o=xo(d,o),y){case 0:i=zh(null,i,d,o,c);break e;case 1:i=ab(null,i,d,o,c);break e;case 11:i=nb(null,i,d,o,c);break e;case 14:i=rb(null,i,d,xo(d.type,o),c);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,y=i.pendingProps,y=i.elementType===d?y:xo(d,y),zh(o,i,d,y,c);case 1:return d=i.type,y=i.pendingProps,y=i.elementType===d?y:xo(d,y),ab(o,i,d,y,c);case 3:e:{if(lb(i),o===null)throw Error(n(387));d=i.pendingProps,x=i.memoizedState,y=x.element,AP(o,i),Mf(i,d,null,c);var k=i.memoizedState;if(d=k.element,x.isDehydrated)if(x={element:d,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},i.updateQueue.baseState=x,i.memoizedState=x,i.flags&256){y=Wa(Error(n(423)),i),i=cb(o,i,d,c,y);break e}else if(d!==y){y=Wa(Error(n(424)),i),i=cb(o,i,d,c,y);break e}else for(Br=Zs(i.stateNode.containerInfo.firstChild),Nr=i,un=!0,bo=null,c=CP(i,null,d,c),i.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Xa(),d===y){i=Ps(o,i,c);break e}cr(o,i,d,c)}i=i.child}return i;case 5:return OP(i),o===null&&nh(i),d=i.type,y=i.pendingProps,x=o!==null?o.memoizedProps:null,k=y.children,Zv(d,y)?k=null:x!==null&&Zv(d,x)&&(i.flags|=32),ib(o,i),cr(o,i,k,c),i.child;case 6:return o===null&&nh(i),null;case 13:return ub(o,i,c);case 4:return dh(i,i.stateNode.containerInfo),d=i.pendingProps,o===null?i.child=Va(i,null,d,c):cr(o,i,d,c),i.child;case 11:return d=i.type,y=i.pendingProps,y=i.elementType===d?y:xo(d,y),nb(o,i,d,y,c);case 7:return cr(o,i,i.pendingProps,c),i.child;case 8:return cr(o,i,i.pendingProps.children,c),i.child;case 12:return cr(o,i,i.pendingProps.children,c),i.child;case 10:e:{if(d=i.type._context,y=i.pendingProps,x=i.memoizedProps,k=y.value,rn(Tf,d._currentValue),d._currentValue=k,x!==null)if(Po(x.value,k)){if(x.children===y.children&&!Ar.current){i=Ps(o,i,c);break e}}else for(x=i.child,x!==null&&(x.return=i);x!==null;){var I=x.dependencies;if(I!==null){k=x.child;for(var Q=I.firstContext;Q!==null;){if(Q.context===d){if(x.tag===1){Q=As(-1,c&-c),Q.tag=2;var de=x.updateQueue;if(de!==null){de=de.shared;var Se=de.pending;Se===null?Q.next=Q:(Q.next=Se.next,Se.next=Q),de.pending=Q}}x.lanes|=c,Q=x.alternate,Q!==null&&(Q.lanes|=c),ah(x.return,c,i),I.lanes|=c;break}Q=Q.next}}else if(x.tag===10)k=x.type===i.type?null:x.child;else if(x.tag===18){if(k=x.return,k===null)throw Error(n(341));k.lanes|=c,I=k.alternate,I!==null&&(I.lanes|=c),ah(k,c,i),k=x.sibling}else k=x.child;if(k!==null)k.return=x;else for(k=x;k!==null;){if(k===i){k=null;break}if(x=k.sibling,x!==null){x.return=k.return,k=x;break}k=k.return}x=k}cr(o,i,y.children,c),i=i.child}return i;case 9:return y=i.type,d=i.pendingProps.children,Ba(i,c),y=to(y),d=d(y),i.flags|=1,cr(o,i,d,c),i.child;case 14:return d=i.type,y=xo(d,i.pendingProps),y=xo(d.type,y),rb(o,i,d,y,c);case 15:return ob(o,i,i.type,i.pendingProps,c);case 17:return d=i.type,y=i.pendingProps,y=i.elementType===d?y:xo(d,y),Yf(o,i),i.tag=1,Pr(d)?(o=!0,Sf(i)):o=!1,Ba(i,c),HP(i,d,y),fh(i,d,y,c),Sh(null,i,d,!0,o,c);case 19:return db(o,i,c);case 22:return sb(o,i,c)}throw Error(n(156,i.tag))};function Lb(o,i){return It(o,i)}function _5(o,i,c,d){this.tag=o,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function oo(o,i,c,d){return new _5(o,i,c,d)}function Zh(o){return o=o.prototype,!(!o||!o.isReactComponent)}function $5(o){if(typeof o=="function")return Zh(o)?1:0;if(o!=null){if(o=o.$$typeof,o===B)return 11;if(o===J)return 14}return 2}function oi(o,i){var c=o.alternate;return c===null?(c=oo(o.tag,i,o.key,o.mode),c.elementType=o.elementType,c.type=o.type,c.stateNode=o.stateNode,c.alternate=o,o.alternate=c):(c.pendingProps=i,c.type=o.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=o.flags&14680064,c.childLanes=o.childLanes,c.lanes=o.lanes,c.child=o.child,c.memoizedProps=o.memoizedProps,c.memoizedState=o.memoizedState,c.updateQueue=o.updateQueue,i=o.dependencies,c.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},c.sibling=o.sibling,c.index=o.index,c.ref=o.ref,c}function nd(o,i,c,d,y,x){var k=2;if(d=o,typeof o=="function")Zh(o)&&(k=1);else if(typeof o=="string")k=5;else e:switch(o){case M:return Ji(c.children,y,x,i);case L:k=8,y|=8;break;case R:return o=oo(12,c,i,y|2),o.elementType=R,o.lanes=x,o;case W:return o=oo(13,c,i,y),o.elementType=W,o.lanes=x,o;case _:return o=oo(19,c,i,y),o.elementType=_,o.lanes=x,o;case oe:return rd(c,y,x,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case H:k=10;break e;case N:k=9;break e;case B:k=11;break e;case J:k=14;break e;case U:k=16,d=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=oo(k,c,i,y),i.elementType=o,i.type=d,i.lanes=x,i}function Ji(o,i,c,d){return o=oo(7,o,d,i),o.lanes=c,o}function rd(o,i,c,d){return o=oo(22,o,d,i),o.elementType=oe,o.lanes=c,o.stateNode={isHidden:!1},o}function Gh(o,i,c){return o=oo(6,o,null,i),o.lanes=c,o}function Uh(o,i,c){return i=oo(4,o.children!==null?o.children:[],o.key,i),i.lanes=c,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function e3(o,i,c,d,y){this.tag=i,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=xv(0),this.expirationTimes=xv(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xv(0),this.identifierPrefix=d,this.onRecoverableError=y,this.mutableSourceEagerHydrationData=null}function Qh(o,i,c,d,y,x,k,I,Q){return o=new e3(o,i,c,I,Q),i===1?(i=1,x===!0&&(i|=8)):i=0,x=oo(3,null,null,i),o.current=x,x.stateNode=o,x.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},ch(x),o}function t3(o,i,c){var d=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),fm.exports=tz(),fm.exports}var r1=n1();const Qc=Ap(r1),T8={disabled:!1},np=$e.createContext(null);var nz=function(t){return t.scrollTop},Kc="unmounted",Zi="exited",Gi="entering",rl="entered",Zm="exiting",Vo=function(e){t1(t,e);function t(r,s){var a;a=e.call(this,r,s)||this;var l=s,u=l&&!l.isMounting?r.enter:r.appear,f;return a.appearStatus=null,r.in?u?(f=Zi,a.appearStatus=Gi):f=rl:r.unmountOnExit||r.mountOnEnter?f=Kc:f=Zi,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(s,a){var l=s.in;return l&&a.status===Kc?{status:Zi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var a=null;if(s!==this.props){var l=this.state.status;this.props.in?l!==Gi&&l!==rl&&(a=Gi):(l===Gi||l===rl)&&(a=Zm)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,a,l,u;return a=l=u=s,s!=null&&typeof s!="number"&&(a=s.exit,l=s.enter,u=s.appear!==void 0?s.appear:l),{exit:a,enter:l,appear:u}},n.updateStatus=function(s,a){if(s===void 0&&(s=!1),a!==null)if(this.cancelNextCallback(),a===Gi){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:Qc.findDOMNode(this);l&&nz(l)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Zi&&this.setState({status:Kc})},n.performEnter=function(s){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:s,f=this.props.nodeRef?[u]:[Qc.findDOMNode(this),u],p=f[0],h=f[1],m=this.getTimeouts(),g=u?m.appear:m.enter;if(!s&&!l||T8.disabled){this.safeSetState({status:rl},function(){a.props.onEntered(p)});return}this.props.onEnter(p,h),this.safeSetState({status:Gi},function(){a.props.onEntering(p,h),a.onTransitionEnd(g,function(){a.safeSetState({status:rl},function(){a.props.onEntered(p,h)})})})},n.performExit=function(){var s=this,a=this.props.exit,l=this.getTimeouts(),u=this.props.nodeRef?void 0:Qc.findDOMNode(this);if(!a||T8.disabled){this.safeSetState({status:Zi},function(){s.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:Zm},function(){s.props.onExiting(u),s.onTransitionEnd(l.exit,function(){s.safeSetState({status:Zi},function(){s.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,a){a=this.setNextCallback(a),this.setState(s,a)},n.setNextCallback=function(s){var a=this,l=!0;return this.nextCallback=function(u){l&&(l=!1,a.nextCallback=null,s(u))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(s,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:Qc.findDOMNode(this),u=s==null&&!this.props.addEndListener;if(!l||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],p=f[0],h=f[1];this.props.addEndListener(p,h)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===Kc)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=ag(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return $e.createElement(np.Provider,{value:null},typeof l=="function"?l(s,u):$e.cloneElement($e.Children.only(l),u))},t}($e.Component);Vo.contextType=np;Vo.propTypes={};function _a(){}Vo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:_a,onEntering:_a,onEntered:_a,onExit:_a,onExiting:_a,onExited:_a};Vo.UNMOUNTED=Kc;Vo.EXITED=Zi;Vo.ENTERING=Gi;Vo.ENTERED=rl;Vo.EXITING=Zm;function rz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lg(e,t){var n=function(a){return t&&P.isValidElement(a)?t(a):a},r=Object.create(null);return e&&P.Children.map(e,function(s){return s}).forEach(function(s){r[s.key]=n(s)}),r}function oz(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}var r=Object.create(null),s=[];for(var a in e)a in t?s.length&&(r[a]=s,s=[]):s.push(a);var l,u={};for(var f in t){if(r[f])for(l=0;le.scrollTop;function Ol(e,t){const{timeout:n,easing:r,style:s={}}=e;return{duration:s.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:s.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:s.transitionDelay}}function cz(e){return Qe("MuiPaper",e)}Ke("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const uz=e=>{const{square:t,elevation:n,variant:r,classes:s}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return _e(a,cz,s)},fz=pe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(nt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Gr=P.forwardRef(function(t,n){var w;const r=rt({props:t,name:"MuiPaper"}),s=Qr(),{className:a,component:l="div",elevation:u=1,square:f=!1,variant:p="elevation",...h}=r,m={...r,component:l,elevation:u,square:f,variant:p},g=uz(m);return v.jsx(fz,{as:l,ownerState:m,className:Oe(g.root,a),ref:n,...h,style:{...p==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[u],...s.vars&&{"--Paper-overlay":(w=s.vars.overlays)==null?void 0:w[u]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${xt("#fff",Ym(u))}, ${xt("#fff",Ym(u))})`}},...h.style}})});function pt(e,t){const{className:n,elementType:r,ownerState:s,externalForwardedProps:a,internalForwardedProps:l,shouldForwardComponentProp:u=!1,...f}=t,{component:p,slots:h={[e]:void 0},slotProps:m={[e]:void 0},...g}=a,w=h[e]||r,A=I0(m[e],s),{props:{component:b,...j},internalRef:S}=V0({className:n,...f,externalForwardedProps:e==="root"?g:void 0,externalSlotProps:A}),z=pn(S,A==null?void 0:A.ref,t.ref),C=e==="root"?b||p:b,O=B0(w,{...e==="root"&&!p&&!h[e]&&l,...e!=="root"&&!h[e]&&l,...j,...C&&!u&&{as:C},...C&&u&&{component:C},ref:z},s);return[w,O]}class rp{constructor(){zc(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new rp}static use(){const t=X0(rp.create).current,[n,r]=P.useState(!1);return t.shouldMount=n,t.setShouldMount=r,P.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=pz(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function dz(){return rp.use()}function pz(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});return n.resolve=e,n.reject=t,n}function vz(e){const{className:t,classes:n,pulsate:r=!1,rippleX:s,rippleY:a,rippleSize:l,in:u,onExited:f,timeout:p}=e,[h,m]=P.useState(!1),g=Oe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),w={width:l,height:l,top:-(l/2)+a,left:-(l/2)+s},A=Oe(n.child,h&&n.childLeaving,r&&n.childPulsate);return!u&&!h&&m(!0),P.useEffect(()=>{if(!u&&f!=null){const b=setTimeout(f,p);return()=>{clearTimeout(b)}}},[f,u,p]),v.jsx("span",{className:g,style:w,children:v.jsx("span",{className:A})})}const ao=Ke("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Gm=550,hz=80,mz=Nu` +`+x.stack}return{value:o,source:i,stack:y,digest:null}}function Hh(o,i,c){return{value:o,source:null,stack:c??null,digest:i??null}}function jh(o,i){try{console.error(i.value)}catch(c){setTimeout(function(){throw c})}}var L5=typeof WeakMap=="function"?WeakMap:Map;function _P(o,i,c){c=As(-1,c),c.tag=3,c.payload={element:null};var d=i.value;return c.callback=function(){Qf||(Qf=!0,Vh=d),jh(o,i)},c}function $P(o,i,c){c=As(-1,c),c.tag=3;var d=o.type.getDerivedStateFromError;if(typeof d=="function"){var y=i.value;c.payload=function(){return d(y)},c.callback=function(){jh(o,i)}}var x=o.stateNode;return x!==null&&typeof x.componentDidCatch=="function"&&(c.callback=function(){jh(o,i),typeof d!="function"&&(ei===null?ei=new Set([this]):ei.add(this));var k=i.stack;this.componentDidCatch(i.value,{componentStack:k!==null?k:""})}),c}function eb(o,i,c){var d=o.pingCache;if(d===null){d=o.pingCache=new L5;var y=new Set;d.set(i,y)}else y=d.get(i),y===void 0&&(y=new Set,d.set(i,y));y.has(c)||(y.add(c),o=Q5.bind(null,o,i,c),i.then(o,o))}function tb(o){do{var i;if((i=o.tag===13)&&(i=o.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return o;o=o.return}while(o!==null);return null}function nb(o,i,c,d,y){return(o.mode&1)===0?(o===i?o.flags|=65536:(o.flags|=128,c.flags|=131072,c.flags&=-52805,c.tag===1&&(c.alternate===null?c.tag=17:(i=As(-1,1),i.tag=2,_s(c,i,1))),c.lanes|=1),o):(o.flags|=65536,o.lanes=y,o)}var X5=O.ReactCurrentOwner,br=!1;function cr(o,i,c,d){i.child=o===null?OP(i,null,c,d):Ia(i,o.child,c,d)}function rb(o,i,c,d,y){c=c.render;var x=i.ref;return Va(i,y),d=gh(o,i,c,d,x,y),c=Ah(),o!==null&&!br?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~y,Ps(o,i,y)):(un&&c&&$v(i),i.flags|=1,cr(o,i,d,y),i.child)}function ob(o,i,c,d,y){if(o===null){var x=c.type;return typeof x=="function"&&!Zh(x)&&x.defaultProps===void 0&&c.compare===null&&c.defaultProps===void 0?(i.tag=15,i.type=x,sb(o,i,x,d,y)):(o=nd(c.type,null,d,i,i.mode,y),o.ref=i.ref,o.return=i,i.child=o)}if(x=o.child,(o.lanes&y)===0){var k=x.memoizedProps;if(c=c.compare,c=c!==null?c:sc,c(k,d)&&o.ref===i.ref)return Ps(o,i,y)}return i.flags|=1,o=oi(x,d),o.ref=i.ref,o.return=i,i.child=o}function sb(o,i,c,d,y){if(o!==null){var x=o.memoizedProps;if(sc(x,d)&&o.ref===i.ref)if(br=!1,i.pendingProps=d=x,(o.lanes&y)!==0)(o.flags&131072)!==0&&(br=!0);else return i.lanes=o.lanes,Ps(o,i,y)}return zh(o,i,c,d,y)}function ib(o,i,c){var d=i.pendingProps,y=d.children,x=o!==null?o.memoizedState:null;if(d.mode==="hidden")if((i.mode&1)===0)i.memoizedState={baseLanes:0,cachePool:null,transitions:null},rn(Ya,Vr),Vr|=c;else{if((c&1073741824)===0)return o=x!==null?x.baseLanes|c:c,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:o,cachePool:null,transitions:null},i.updateQueue=null,rn(Ya,Vr),Vr|=o,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=x!==null?x.baseLanes:c,rn(Ya,Vr),Vr|=d}else x!==null?(d=x.baseLanes|c,i.memoizedState=null):d=c,rn(Ya,Vr),Vr|=d;return cr(o,i,y,c),i.child}function ab(o,i){var c=i.ref;(o===null&&c!==null||o!==null&&o.ref!==c)&&(i.flags|=512,i.flags|=2097152)}function zh(o,i,c,d,y){var x=Pr(c)?Ei:er.current;return x=Ma(i,x),Va(i,y),c=gh(o,i,c,d,x,y),d=Ah(),o!==null&&!br?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~y,Ps(o,i,y)):(un&&d&&$v(i),i.flags|=1,cr(o,i,c,y),i.child)}function lb(o,i,c,d,y){if(Pr(c)){var x=!0;Sf(i)}else x=!1;if(Va(i,y),i.stateNode===null)Yf(o,i),jP(i,c,d),fh(i,c,d,y),d=!0;else if(o===null){var k=i.stateNode,I=i.memoizedProps;k.props=I;var Q=k.context,de=c.contextType;typeof de=="object"&&de!==null?de=to(de):(de=Pr(c)?Ei:er.current,de=Ma(i,de));var Se=c.getDerivedStateFromProps,De=typeof Se=="function"||typeof k.getSnapshotBeforeUpdate=="function";De||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(I!==d||Q!==de)&&zP(i,k,d,de),Ks=!1;var ze=i.memoizedState;k.state=ze,Mf(i,d,k,y),Q=i.memoizedState,I!==d||ze!==Q||Ar.current||Ks?(typeof Se=="function"&&(uh(i,c,Se,d),Q=i.memoizedState),(I=Ks||HP(i,c,I,d,ze,Q,de))?(De||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(i.flags|=4194308)):(typeof k.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=d,i.memoizedState=Q),k.props=d,k.state=Q,k.context=de,d=I):(typeof k.componentDidMount=="function"&&(i.flags|=4194308),d=!1)}else{k=i.stateNode,PP(o,i),I=i.memoizedProps,de=i.type===i.elementType?I:xo(i.type,I),k.props=de,De=i.pendingProps,ze=k.context,Q=c.contextType,typeof Q=="object"&&Q!==null?Q=to(Q):(Q=Pr(c)?Ei:er.current,Q=Ma(i,Q));var qe=c.getDerivedStateFromProps;(Se=typeof qe=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(I!==De||ze!==Q)&&zP(i,k,d,Q),Ks=!1,ze=i.memoizedState,k.state=ze,Mf(i,d,k,y);var at=i.memoizedState;I!==De||ze!==at||Ar.current||Ks?(typeof qe=="function"&&(uh(i,c,qe,d),at=i.memoizedState),(de=Ks||HP(i,c,de,d,ze,at,Q)||!1)?(Se||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(d,at,Q),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(d,at,Q)),typeof k.componentDidUpdate=="function"&&(i.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof k.componentDidUpdate!="function"||I===o.memoizedProps&&ze===o.memoizedState||(i.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||I===o.memoizedProps&&ze===o.memoizedState||(i.flags|=1024),i.memoizedProps=d,i.memoizedState=at),k.props=d,k.state=at,k.context=Q,d=de):(typeof k.componentDidUpdate!="function"||I===o.memoizedProps&&ze===o.memoizedState||(i.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||I===o.memoizedProps&&ze===o.memoizedState||(i.flags|=1024),d=!1)}return Sh(o,i,c,d,x,y)}function Sh(o,i,c,d,y,x){ab(o,i);var k=(i.flags&128)!==0;if(!d&&!k)return y&&dP(i,c,!1),Ps(o,i,x);d=i.stateNode,X5.current=i;var I=k&&typeof c.getDerivedStateFromError!="function"?null:d.render();return i.flags|=1,o!==null&&k?(i.child=Ia(i,o.child,null,x),i.child=Ia(i,null,I,x)):cr(o,i,I,x),i.memoizedState=d.state,y&&dP(i,c,!0),i.child}function cb(o){var i=o.stateNode;i.pendingContext?uP(o,i.pendingContext,i.pendingContext!==i.context):i.context&&uP(o,i.context,!1),dh(o,i.containerInfo)}function ub(o,i,c,d,y){return Na(),rh(y),i.flags|=256,cr(o,i,c,d),i.child}var Ch={dehydrated:null,treeContext:null,retryLane:0};function Oh(o){return{baseLanes:o,cachePool:null,transitions:null}}function fb(o,i,c){var d=i.pendingProps,y=mn.current,x=!1,k=(i.flags&128)!==0,I;if((I=k)||(I=o!==null&&o.memoizedState===null?!1:(y&2)!==0),I?(x=!0,i.flags&=-129):(o===null||o.memoizedState!==null)&&(y|=1),rn(mn,y&1),o===null)return nh(i),o=i.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?((i.mode&1)===0?i.lanes=1:o.data==="$!"?i.lanes=8:i.lanes=1073741824,null):(k=d.children,o=d.fallback,x?(d=i.mode,x=i.child,k={mode:"hidden",children:k},(d&1)===0&&x!==null?(x.childLanes=0,x.pendingProps=k):x=rd(k,d,0,null),o=Ji(o,d,c,null),x.return=i,o.return=i,x.sibling=o,i.child=x,i.child.memoizedState=Oh(c),i.memoizedState=Ch,o):Dh(i,k));if(y=o.memoizedState,y!==null&&(I=y.dehydrated,I!==null))return N5(o,i,k,d,I,y,c);if(x){x=d.fallback,k=i.mode,y=o.child,I=y.sibling;var Q={mode:"hidden",children:d.children};return(k&1)===0&&i.child!==y?(d=i.child,d.childLanes=0,d.pendingProps=Q,i.deletions=null):(d=oi(y,Q),d.subtreeFlags=y.subtreeFlags&14680064),I!==null?x=oi(I,x):(x=Ji(x,k,c,null),x.flags|=2),x.return=i,d.return=i,d.sibling=x,i.child=d,d=x,x=i.child,k=o.child.memoizedState,k=k===null?Oh(c):{baseLanes:k.baseLanes|c,cachePool:null,transitions:k.transitions},x.memoizedState=k,x.childLanes=o.childLanes&~c,i.memoizedState=Ch,d}return x=o.child,o=x.sibling,d=oi(x,{mode:"visible",children:d.children}),(i.mode&1)===0&&(d.lanes=c),d.return=i,d.sibling=null,o!==null&&(c=i.deletions,c===null?(i.deletions=[o],i.flags|=16):c.push(o)),i.child=d,i.memoizedState=null,d}function Dh(o,i){return i=rd({mode:"visible",children:i},o.mode,0,null),i.return=o,o.child=i}function Ff(o,i,c,d){return d!==null&&rh(d),Ia(i,o.child,null,c),o=Dh(i,i.pendingProps.children),o.flags|=2,i.memoizedState=null,o}function N5(o,i,c,d,y,x,k){if(c)return i.flags&256?(i.flags&=-257,d=Hh(Error(n(422))),Ff(o,i,k,d)):i.memoizedState!==null?(i.child=o.child,i.flags|=128,null):(x=d.fallback,y=i.mode,d=rd({mode:"visible",children:d.children},y,0,null),x=Ji(x,y,k,null),x.flags|=2,d.return=i,x.return=i,d.sibling=x,i.child=d,(i.mode&1)!==0&&Ia(i,o.child,null,k),i.child.memoizedState=Oh(k),i.memoizedState=Ch,x);if((i.mode&1)===0)return Ff(o,i,k,null);if(y.data==="$!"){if(d=y.nextSibling&&y.nextSibling.dataset,d)var I=d.dgst;return d=I,x=Error(n(419)),d=Hh(x,d,void 0),Ff(o,i,k,d)}if(I=(k&o.childLanes)!==0,br||I){if(d=Fn,d!==null){switch(k&-k){case 4:y=2;break;case 16:y=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:y=32;break;case 536870912:y=268435456;break;default:y=0}y=(y&(d.suspendedLanes|k))!==0?0:y,y!==0&&y!==x.retryLane&&(x.retryLane=y,gs(o,y),jo(d,o,y,-1))}return qh(),d=Hh(Error(n(421))),Ff(o,i,k,d)}return y.data==="$?"?(i.flags|=128,i.child=o.child,i=K5.bind(null,o),y._reactRetry=i,null):(o=x.treeContext,Br=Zs(y.nextSibling),Nr=i,un=!0,bo=null,o!==null&&($r[eo++]=ms,$r[eo++]=ys,$r[eo++]=Ri,ms=o.id,ys=o.overflow,Ri=i),i=Dh(i,d.children),i.flags|=4096,i)}function db(o,i,c){o.lanes|=i;var d=o.alternate;d!==null&&(d.lanes|=i),ah(o.return,i,c)}function kh(o,i,c,d,y){var x=o.memoizedState;x===null?o.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:y}:(x.isBackwards=i,x.rendering=null,x.renderingStartTime=0,x.last=d,x.tail=c,x.tailMode=y)}function pb(o,i,c){var d=i.pendingProps,y=d.revealOrder,x=d.tail;if(cr(o,i,d.children,c),d=mn.current,(d&2)!==0)d=d&1|2,i.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=i.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&db(o,c,i);else if(o.tag===19)db(o,c,i);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break e;for(;o.sibling===null;){if(o.return===null||o.return===i)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}d&=1}if(rn(mn,d),(i.mode&1)===0)i.memoizedState=null;else switch(y){case"forwards":for(c=i.child,y=null;c!==null;)o=c.alternate,o!==null&&Nf(o)===null&&(y=c),c=c.sibling;c=y,c===null?(y=i.child,i.child=null):(y=c.sibling,c.sibling=null),kh(i,!1,y,c,x);break;case"backwards":for(c=null,y=i.child,i.child=null;y!==null;){if(o=y.alternate,o!==null&&Nf(o)===null){i.child=y;break}o=y.sibling,y.sibling=c,c=y,y=o}kh(i,!0,c,null,x);break;case"together":kh(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Yf(o,i){(i.mode&1)===0&&o!==null&&(o.alternate=null,i.alternate=null,i.flags|=2)}function Ps(o,i,c){if(o!==null&&(i.dependencies=o.dependencies),Bi|=i.lanes,(c&i.childLanes)===0)return null;if(o!==null&&i.child!==o.child)throw Error(n(153));if(i.child!==null){for(o=i.child,c=oi(o,o.pendingProps),i.child=c,c.return=i;o.sibling!==null;)o=o.sibling,c=c.sibling=oi(o,o.pendingProps),c.return=i;c.sibling=null}return i.child}function B5(o,i,c){switch(i.tag){case 3:cb(i),Na();break;case 5:DP(i);break;case 1:Pr(i.type)&&Sf(i);break;case 4:dh(i,i.stateNode.containerInfo);break;case 10:var d=i.type._context,y=i.memoizedProps.value;rn(Tf,d._currentValue),d._currentValue=y;break;case 13:if(d=i.memoizedState,d!==null)return d.dehydrated!==null?(rn(mn,mn.current&1),i.flags|=128,null):(c&i.child.childLanes)!==0?fb(o,i,c):(rn(mn,mn.current&1),o=Ps(o,i,c),o!==null?o.sibling:null);rn(mn,mn.current&1);break;case 19:if(d=(c&i.childLanes)!==0,(o.flags&128)!==0){if(d)return pb(o,i,c);i.flags|=128}if(y=i.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),rn(mn,mn.current),d)break;return null;case 22:case 23:return i.lanes=0,ib(o,i,c)}return Ps(o,i,c)}var vb,Th,hb,mb;vb=function(o,i){for(var c=i.child;c!==null;){if(c.tag===5||c.tag===6)o.appendChild(c.stateNode);else if(c.tag!==4&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===i)break;for(;c.sibling===null;){if(c.return===null||c.return===i)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},Th=function(){},hb=function(o,i,c,d){var y=o.memoizedProps;if(y!==d){o=i.stateNode,Xi(Go.current);var x=null;switch(c){case"input":y=be(o,y),d=be(o,d),x=[];break;case"select":y=E({},y,{value:void 0}),d=E({},d,{value:void 0}),x=[];break;case"textarea":y=ne(o,y),d=ne(o,d),x=[];break;default:typeof y.onClick!="function"&&typeof d.onClick=="function"&&(o.onclick=Hf)}F(c,d);var k;c=null;for(de in y)if(!d.hasOwnProperty(de)&&y.hasOwnProperty(de)&&y[de]!=null)if(de==="style"){var I=y[de];for(k in I)I.hasOwnProperty(k)&&(c||(c={}),c[k]="")}else de!=="dangerouslySetInnerHTML"&&de!=="children"&&de!=="suppressContentEditableWarning"&&de!=="suppressHydrationWarning"&&de!=="autoFocus"&&(s.hasOwnProperty(de)?x||(x=[]):(x=x||[]).push(de,null));for(de in d){var Q=d[de];if(I=y!=null?y[de]:void 0,d.hasOwnProperty(de)&&Q!==I&&(Q!=null||I!=null))if(de==="style")if(I){for(k in I)!I.hasOwnProperty(k)||Q&&Q.hasOwnProperty(k)||(c||(c={}),c[k]="");for(k in Q)Q.hasOwnProperty(k)&&I[k]!==Q[k]&&(c||(c={}),c[k]=Q[k])}else c||(x||(x=[]),x.push(de,c)),c=Q;else de==="dangerouslySetInnerHTML"?(Q=Q?Q.__html:void 0,I=I?I.__html:void 0,Q!=null&&I!==Q&&(x=x||[]).push(de,Q)):de==="children"?typeof Q!="string"&&typeof Q!="number"||(x=x||[]).push(de,""+Q):de!=="suppressContentEditableWarning"&&de!=="suppressHydrationWarning"&&(s.hasOwnProperty(de)?(Q!=null&&de==="onScroll"&&sn("scroll",o),x||I===Q||(x=[])):(x=x||[]).push(de,Q))}c&&(x=x||[]).push("style",c);var de=x;(i.updateQueue=de)&&(i.flags|=4)}},mb=function(o,i,c,d){c!==d&&(i.flags|=4)};function Pc(o,i){if(!un)switch(o.tailMode){case"hidden":i=o.tail;for(var c=null;i!==null;)i.alternate!==null&&(c=i),i=i.sibling;c===null?o.tail=null:c.sibling=null;break;case"collapsed":c=o.tail;for(var d=null;c!==null;)c.alternate!==null&&(d=c),c=c.sibling;d===null?i||o.tail===null?o.tail=null:o.tail.sibling=null:d.sibling=null}}function nr(o){var i=o.alternate!==null&&o.alternate.child===o.child,c=0,d=0;if(i)for(var y=o.child;y!==null;)c|=y.lanes|y.childLanes,d|=y.subtreeFlags&14680064,d|=y.flags&14680064,y.return=o,y=y.sibling;else for(y=o.child;y!==null;)c|=y.lanes|y.childLanes,d|=y.subtreeFlags,d|=y.flags,y.return=o,y=y.sibling;return o.subtreeFlags|=d,o.childLanes=c,i}function V5(o,i,c){var d=i.pendingProps;switch(eh(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nr(i),null;case 1:return Pr(i.type)&&zf(),nr(i),null;case 3:return d=i.stateNode,Wa(),an(Ar),an(er),hh(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(o===null||o.child===null)&&(kf(i)?i.flags|=4:o===null||o.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,bo!==null&&(Jh(bo),bo=null))),Th(o,i),nr(i),null;case 5:ph(i);var y=Xi(hc.current);if(c=i.type,o!==null&&i.stateNode!=null)hb(o,i,c,d,y),o.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!d){if(i.stateNode===null)throw Error(n(166));return nr(i),null}if(o=Xi(Go.current),kf(i)){d=i.stateNode,c=i.type;var x=i.memoizedProps;switch(d[Zo]=i,d[uc]=x,o=(i.mode&1)!==0,c){case"dialog":sn("cancel",d),sn("close",d);break;case"iframe":case"object":case"embed":sn("load",d);break;case"video":case"audio":for(y=0;y<\/script>",o=o.removeChild(o.firstChild)):typeof d.is=="string"?o=k.createElement(c,{is:d.is}):(o=k.createElement(c),c==="select"&&(k=o,d.multiple?k.multiple=!0:d.size&&(k.size=d.size))):o=k.createElementNS(o,c),o[Zo]=i,o[uc]=d,vb(o,i,!1,!1),i.stateNode=o;e:{switch(k=ge(c,d),c){case"dialog":sn("cancel",o),sn("close",o),y=d;break;case"iframe":case"object":case"embed":sn("load",o),y=d;break;case"video":case"audio":for(y=0;yqa&&(i.flags|=128,d=!0,Pc(x,!1),i.lanes=4194304)}else{if(!d)if(o=Nf(k),o!==null){if(i.flags|=128,d=!0,c=o.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),Pc(x,!0),x.tail===null&&x.tailMode==="hidden"&&!k.alternate&&!un)return nr(i),null}else 2*nn()-x.renderingStartTime>qa&&c!==1073741824&&(i.flags|=128,d=!0,Pc(x,!1),i.lanes=4194304);x.isBackwards?(k.sibling=i.child,i.child=k):(c=x.last,c!==null?c.sibling=k:i.child=k,x.last=k)}return x.tail!==null?(i=x.tail,x.rendering=i,x.tail=i.sibling,x.renderingStartTime=nn(),i.sibling=null,c=mn.current,rn(mn,d?c&1|2:c&1),i):(nr(i),null);case 22:case 23:return Yh(),d=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==d&&(i.flags|=8192),d&&(i.mode&1)!==0?(Vr&1073741824)!==0&&(nr(i),i.subtreeFlags&6&&(i.flags|=8192)):nr(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function I5(o,i){switch(eh(i),i.tag){case 1:return Pr(i.type)&&zf(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return Wa(),an(Ar),an(er),hh(),o=i.flags,(o&65536)!==0&&(o&128)===0?(i.flags=o&-65537|128,i):null;case 5:return ph(i),null;case 13:if(an(mn),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Na()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return an(mn),null;case 4:return Wa(),null;case 10:return ih(i.type._context),null;case 22:case 23:return Yh(),null;case 24:return null;default:return null}}var qf=!1,rr=!1,W5=typeof WeakSet=="function"?WeakSet:Set,tt=null;function Fa(o,i){var c=o.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(d){wn(o,i,d)}else c.current=null}function Eh(o,i,c){try{c()}catch(d){wn(o,i,d)}}var yb=!1;function J5(o,i){if(Yv=df,o=GA(),Xv(o)){if("selectionStart"in o)var c={start:o.selectionStart,end:o.selectionEnd};else e:{c=(c=o.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&d.rangeCount!==0){c=d.anchorNode;var y=d.anchorOffset,x=d.focusNode;d=d.focusOffset;try{c.nodeType,x.nodeType}catch{c=null;break e}var k=0,I=-1,Q=-1,de=0,Se=0,De=o,ze=null;t:for(;;){for(var qe;De!==c||y!==0&&De.nodeType!==3||(I=k+y),De!==x||d!==0&&De.nodeType!==3||(Q=k+d),De.nodeType===3&&(k+=De.nodeValue.length),(qe=De.firstChild)!==null;)ze=De,De=qe;for(;;){if(De===o)break t;if(ze===c&&++de===y&&(I=k),ze===x&&++Se===d&&(Q=k),(qe=De.nextSibling)!==null)break;De=ze,ze=De.parentNode}De=qe}c=I===-1||Q===-1?null:{start:I,end:Q}}else c=null}c=c||{start:0,end:0}}else c=null;for(qv={focusedElem:o,selectionRange:c},df=!1,tt=i;tt!==null;)if(i=tt,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,tt=o;else for(;tt!==null;){i=tt;try{var at=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(at!==null){var ut=at.memoizedProps,Dn=at.memoizedState,ie=i.stateNode,re=ie.getSnapshotBeforeUpdate(i.elementType===i.type?ut:xo(i.type,ut),Dn);ie.__reactInternalSnapshotBeforeUpdate=re}break;case 3:var ce=i.stateNode.containerInfo;ce.nodeType===1?ce.textContent="":ce.nodeType===9&&ce.documentElement&&ce.removeChild(ce.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Me){wn(i,i.return,Me)}if(o=i.sibling,o!==null){o.return=i.return,tt=o;break}tt=i.return}return at=yb,yb=!1,at}function bc(o,i,c){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var y=d=d.next;do{if((y.tag&o)===o){var x=y.destroy;y.destroy=void 0,x!==void 0&&Eh(i,c,x)}y=y.next}while(y!==d)}}function Zf(o,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var c=i=i.next;do{if((c.tag&o)===o){var d=c.create;c.destroy=d()}c=c.next}while(c!==i)}}function Rh(o){var i=o.ref;if(i!==null){var c=o.stateNode;switch(o.tag){case 5:o=c;break;default:o=c}typeof i=="function"?i(o):i.current=o}}function gb(o){var i=o.alternate;i!==null&&(o.alternate=null,gb(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Zo],delete i[uc],delete i[Qv],delete i[j5],delete i[z5])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function Ab(o){return o.tag===5||o.tag===3||o.tag===4}function Pb(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Ab(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Mh(o,i,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?c.nodeType===8?c.parentNode.insertBefore(o,i):c.insertBefore(o,i):(c.nodeType===8?(i=c.parentNode,i.insertBefore(o,c)):(i=c,i.appendChild(o)),c=c._reactRootContainer,c!=null||i.onclick!==null||(i.onclick=Hf));else if(d!==4&&(o=o.child,o!==null))for(Mh(o,i,c),o=o.sibling;o!==null;)Mh(o,i,c),o=o.sibling}function Lh(o,i,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?c.insertBefore(o,i):c.appendChild(o);else if(d!==4&&(o=o.child,o!==null))for(Lh(o,i,c),o=o.sibling;o!==null;)Lh(o,i,c),o=o.sibling}var Qn=null,wo=!1;function $s(o,i,c){for(c=c.child;c!==null;)bb(o,i,c),c=c.sibling}function bb(o,i,c){if(_r&&typeof _r.onCommitFiberUnmount=="function")try{_r.onCommitFiberUnmount(qo,c)}catch{}switch(c.tag){case 5:rr||Fa(c,i);case 6:var d=Qn,y=wo;Qn=null,$s(o,i,c),Qn=d,wo=y,Qn!==null&&(wo?(o=Qn,c=c.stateNode,o.nodeType===8?o.parentNode.removeChild(c):o.removeChild(c)):Qn.removeChild(c.stateNode));break;case 18:Qn!==null&&(wo?(o=Qn,c=c.stateNode,o.nodeType===8?Uv(o.parentNode,c):o.nodeType===1&&Uv(o,c),$l(o)):Uv(Qn,c.stateNode));break;case 4:d=Qn,y=wo,Qn=c.stateNode.containerInfo,wo=!0,$s(o,i,c),Qn=d,wo=y;break;case 0:case 11:case 14:case 15:if(!rr&&(d=c.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){y=d=d.next;do{var x=y,k=x.destroy;x=x.tag,k!==void 0&&((x&2)!==0||(x&4)!==0)&&Eh(c,i,k),y=y.next}while(y!==d)}$s(o,i,c);break;case 1:if(!rr&&(Fa(c,i),d=c.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(I){wn(c,i,I)}$s(o,i,c);break;case 21:$s(o,i,c);break;case 22:c.mode&1?(rr=(d=rr)||c.memoizedState!==null,$s(o,i,c),rr=d):$s(o,i,c);break;default:$s(o,i,c)}}function xb(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var c=o.stateNode;c===null&&(c=o.stateNode=new W5),i.forEach(function(d){var y=_5.bind(null,o,d);c.has(d)||(c.add(d),d.then(y,y))})}}function Ho(o,i){var c=i.deletions;if(c!==null)for(var d=0;dy&&(y=k),d&=~x}if(d=y,d=nn()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*Y5(d/1960))-d,10o?16:o,ti===null)var d=!1;else{if(o=ti,ti=null,_f=0,(Wt&6)!==0)throw Error(n(331));var y=Wt;for(Wt|=4,tt=o.current;tt!==null;){var x=tt,k=x.child;if((tt.flags&16)!==0){var I=x.deletions;if(I!==null){for(var Q=0;Qnn()-Bh?Ii(o,0):Nh|=c),wr(o,i)}function Mb(o,i){i===0&&((o.mode&1)===0?i=1:(i=lf,lf<<=1,(lf&130023424)===0&&(lf=4194304)));var c=ur();o=gs(o,i),o!==null&&(Gl(o,i,c),wr(o,c))}function K5(o){var i=o.memoizedState,c=0;i!==null&&(c=i.retryLane),Mb(o,c)}function _5(o,i){var c=0;switch(o.tag){case 13:var d=o.stateNode,y=o.memoizedState;y!==null&&(c=y.retryLane);break;case 19:d=o.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),Mb(o,c)}var Lb;Lb=function(o,i,c){if(o!==null)if(o.memoizedProps!==i.pendingProps||Ar.current)br=!0;else{if((o.lanes&c)===0&&(i.flags&128)===0)return br=!1,B5(o,i,c);br=(o.flags&131072)!==0}else br=!1,un&&(i.flags&1048576)!==0&&vP(i,Df,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;Yf(o,i),o=i.pendingProps;var y=Ma(i,er.current);Va(i,c),y=gh(null,i,d,o,y,c);var x=Ah();return i.flags|=1,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,Pr(d)?(x=!0,Sf(i)):x=!1,i.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,ch(i),y.updater=Lf,i.stateNode=y,y._reactInternals=i,fh(i,d,o,c),i=Sh(null,i,d,!0,x,c)):(i.tag=0,un&&x&&$v(i),cr(null,i,y,c),i=i.child),i;case 16:d=i.elementType;e:{switch(Yf(o,i),o=i.pendingProps,y=d._init,d=y(d._payload),i.type=d,y=i.tag=e3(d),o=xo(d,o),y){case 0:i=zh(null,i,d,o,c);break e;case 1:i=lb(null,i,d,o,c);break e;case 11:i=rb(null,i,d,o,c);break e;case 14:i=ob(null,i,d,xo(d.type,o),c);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,y=i.pendingProps,y=i.elementType===d?y:xo(d,y),zh(o,i,d,y,c);case 1:return d=i.type,y=i.pendingProps,y=i.elementType===d?y:xo(d,y),lb(o,i,d,y,c);case 3:e:{if(cb(i),o===null)throw Error(n(387));d=i.pendingProps,x=i.memoizedState,y=x.element,PP(o,i),Mf(i,d,null,c);var k=i.memoizedState;if(d=k.element,x.isDehydrated)if(x={element:d,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},i.updateQueue.baseState=x,i.memoizedState=x,i.flags&256){y=Ja(Error(n(423)),i),i=ub(o,i,d,c,y);break e}else if(d!==y){y=Ja(Error(n(424)),i),i=ub(o,i,d,c,y);break e}else for(Br=Zs(i.stateNode.containerInfo.firstChild),Nr=i,un=!0,bo=null,c=OP(i,null,d,c),i.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Na(),d===y){i=Ps(o,i,c);break e}cr(o,i,d,c)}i=i.child}return i;case 5:return DP(i),o===null&&nh(i),d=i.type,y=i.pendingProps,x=o!==null?o.memoizedProps:null,k=y.children,Zv(d,y)?k=null:x!==null&&Zv(d,x)&&(i.flags|=32),ab(o,i),cr(o,i,k,c),i.child;case 6:return o===null&&nh(i),null;case 13:return fb(o,i,c);case 4:return dh(i,i.stateNode.containerInfo),d=i.pendingProps,o===null?i.child=Ia(i,null,d,c):cr(o,i,d,c),i.child;case 11:return d=i.type,y=i.pendingProps,y=i.elementType===d?y:xo(d,y),rb(o,i,d,y,c);case 7:return cr(o,i,i.pendingProps,c),i.child;case 8:return cr(o,i,i.pendingProps.children,c),i.child;case 12:return cr(o,i,i.pendingProps.children,c),i.child;case 10:e:{if(d=i.type._context,y=i.pendingProps,x=i.memoizedProps,k=y.value,rn(Tf,d._currentValue),d._currentValue=k,x!==null)if(Po(x.value,k)){if(x.children===y.children&&!Ar.current){i=Ps(o,i,c);break e}}else for(x=i.child,x!==null&&(x.return=i);x!==null;){var I=x.dependencies;if(I!==null){k=x.child;for(var Q=I.firstContext;Q!==null;){if(Q.context===d){if(x.tag===1){Q=As(-1,c&-c),Q.tag=2;var de=x.updateQueue;if(de!==null){de=de.shared;var Se=de.pending;Se===null?Q.next=Q:(Q.next=Se.next,Se.next=Q),de.pending=Q}}x.lanes|=c,Q=x.alternate,Q!==null&&(Q.lanes|=c),ah(x.return,c,i),I.lanes|=c;break}Q=Q.next}}else if(x.tag===10)k=x.type===i.type?null:x.child;else if(x.tag===18){if(k=x.return,k===null)throw Error(n(341));k.lanes|=c,I=k.alternate,I!==null&&(I.lanes|=c),ah(k,c,i),k=x.sibling}else k=x.child;if(k!==null)k.return=x;else for(k=x;k!==null;){if(k===i){k=null;break}if(x=k.sibling,x!==null){x.return=k.return,k=x;break}k=k.return}x=k}cr(o,i,y.children,c),i=i.child}return i;case 9:return y=i.type,d=i.pendingProps.children,Va(i,c),y=to(y),d=d(y),i.flags|=1,cr(o,i,d,c),i.child;case 14:return d=i.type,y=xo(d,i.pendingProps),y=xo(d.type,y),ob(o,i,d,y,c);case 15:return sb(o,i,i.type,i.pendingProps,c);case 17:return d=i.type,y=i.pendingProps,y=i.elementType===d?y:xo(d,y),Yf(o,i),i.tag=1,Pr(d)?(o=!0,Sf(i)):o=!1,Va(i,c),jP(i,d,y),fh(i,d,y,c),Sh(null,i,d,!0,o,c);case 19:return pb(o,i,c);case 22:return ib(o,i,c)}throw Error(n(156,i.tag))};function Xb(o,i){return It(o,i)}function $5(o,i,c,d){this.tag=o,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function oo(o,i,c,d){return new $5(o,i,c,d)}function Zh(o){return o=o.prototype,!(!o||!o.isReactComponent)}function e3(o){if(typeof o=="function")return Zh(o)?1:0;if(o!=null){if(o=o.$$typeof,o===B)return 11;if(o===J)return 14}return 2}function oi(o,i){var c=o.alternate;return c===null?(c=oo(o.tag,i,o.key,o.mode),c.elementType=o.elementType,c.type=o.type,c.stateNode=o.stateNode,c.alternate=o,o.alternate=c):(c.pendingProps=i,c.type=o.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=o.flags&14680064,c.childLanes=o.childLanes,c.lanes=o.lanes,c.child=o.child,c.memoizedProps=o.memoizedProps,c.memoizedState=o.memoizedState,c.updateQueue=o.updateQueue,i=o.dependencies,c.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},c.sibling=o.sibling,c.index=o.index,c.ref=o.ref,c}function nd(o,i,c,d,y,x){var k=2;if(d=o,typeof o=="function")Zh(o)&&(k=1);else if(typeof o=="string")k=5;else e:switch(o){case M:return Ji(c.children,y,x,i);case L:k=8,y|=8;break;case R:return o=oo(12,c,i,y|2),o.elementType=R,o.lanes=x,o;case W:return o=oo(13,c,i,y),o.elementType=W,o.lanes=x,o;case _:return o=oo(19,c,i,y),o.elementType=_,o.lanes=x,o;case oe:return rd(c,y,x,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case H:k=10;break e;case N:k=9;break e;case B:k=11;break e;case J:k=14;break e;case U:k=16,d=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=oo(k,c,i,y),i.elementType=o,i.type=d,i.lanes=x,i}function Ji(o,i,c,d){return o=oo(7,o,d,i),o.lanes=c,o}function rd(o,i,c,d){return o=oo(22,o,d,i),o.elementType=oe,o.lanes=c,o.stateNode={isHidden:!1},o}function Gh(o,i,c){return o=oo(6,o,null,i),o.lanes=c,o}function Uh(o,i,c){return i=oo(4,o.children!==null?o.children:[],o.key,i),i.lanes=c,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function t3(o,i,c,d,y){this.tag=i,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=xv(0),this.expirationTimes=xv(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xv(0),this.identifierPrefix=d,this.onRecoverableError=y,this.mutableSourceEagerHydrationData=null}function Qh(o,i,c,d,y,x,k,I,Q){return o=new t3(o,i,c,I,Q),i===1?(i=1,x===!0&&(i|=8)):i=0,x=oo(3,null,null,i),o.current=x,x.stateNode=o,x.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},ch(x),o}function n3(o,i,c){var d=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),fm.exports=nz(),fm.exports}var o1=r1();const Qc=Ap(o1),E8={disabled:!1},np=$e.createContext(null);var rz=function(t){return t.scrollTop},Kc="unmounted",Zi="exited",Gi="entering",ol="entered",Zm="exiting",Vo=function(e){n1(t,e);function t(r,s){var a;a=e.call(this,r,s)||this;var l=s,u=l&&!l.isMounting?r.enter:r.appear,f;return a.appearStatus=null,r.in?u?(f=Zi,a.appearStatus=Gi):f=ol:r.unmountOnExit||r.mountOnEnter?f=Kc:f=Zi,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(s,a){var l=s.in;return l&&a.status===Kc?{status:Zi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var a=null;if(s!==this.props){var l=this.state.status;this.props.in?l!==Gi&&l!==ol&&(a=Gi):(l===Gi||l===ol)&&(a=Zm)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,a,l,u;return a=l=u=s,s!=null&&typeof s!="number"&&(a=s.exit,l=s.enter,u=s.appear!==void 0?s.appear:l),{exit:a,enter:l,appear:u}},n.updateStatus=function(s,a){if(s===void 0&&(s=!1),a!==null)if(this.cancelNextCallback(),a===Gi){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:Qc.findDOMNode(this);l&&rz(l)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Zi&&this.setState({status:Kc})},n.performEnter=function(s){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:s,f=this.props.nodeRef?[u]:[Qc.findDOMNode(this),u],p=f[0],h=f[1],m=this.getTimeouts(),g=u?m.appear:m.enter;if(!s&&!l||E8.disabled){this.safeSetState({status:ol},function(){a.props.onEntered(p)});return}this.props.onEnter(p,h),this.safeSetState({status:Gi},function(){a.props.onEntering(p,h),a.onTransitionEnd(g,function(){a.safeSetState({status:ol},function(){a.props.onEntered(p,h)})})})},n.performExit=function(){var s=this,a=this.props.exit,l=this.getTimeouts(),u=this.props.nodeRef?void 0:Qc.findDOMNode(this);if(!a||E8.disabled){this.safeSetState({status:Zi},function(){s.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:Zm},function(){s.props.onExiting(u),s.onTransitionEnd(l.exit,function(){s.safeSetState({status:Zi},function(){s.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,a){a=this.setNextCallback(a),this.setState(s,a)},n.setNextCallback=function(s){var a=this,l=!0;return this.nextCallback=function(u){l&&(l=!1,a.nextCallback=null,s(u))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(s,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:Qc.findDOMNode(this),u=s==null&&!this.props.addEndListener;if(!l||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],p=f[0],h=f[1];this.props.addEndListener(p,h)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===Kc)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=ag(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return $e.createElement(np.Provider,{value:null},typeof l=="function"?l(s,u):$e.cloneElement($e.Children.only(l),u))},t}($e.Component);Vo.contextType=np;Vo.propTypes={};function $a(){}Vo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:$a,onEntering:$a,onEntered:$a,onExit:$a,onExiting:$a,onExited:$a};Vo.UNMOUNTED=Kc;Vo.EXITED=Zi;Vo.ENTERING=Gi;Vo.ENTERED=ol;Vo.EXITING=Zm;function oz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lg(e,t){var n=function(a){return t&&P.isValidElement(a)?t(a):a},r=Object.create(null);return e&&P.Children.map(e,function(s){return s}).forEach(function(s){r[s.key]=n(s)}),r}function sz(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}var r=Object.create(null),s=[];for(var a in e)a in t?s.length&&(r[a]=s,s=[]):s.push(a);var l,u={};for(var f in t){if(r[f])for(l=0;le.scrollTop;function Ol(e,t){const{timeout:n,easing:r,style:s={}}=e;return{duration:s.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:s.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:s.transitionDelay}}function uz(e){return Qe("MuiPaper",e)}Ke("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const fz=e=>{const{square:t,elevation:n,variant:r,classes:s}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return _e(a,uz,s)},dz=pe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(nt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Gr=P.forwardRef(function(t,n){var w;const r=rt({props:t,name:"MuiPaper"}),s=Qr(),{className:a,component:l="div",elevation:u=1,square:f=!1,variant:p="elevation",...h}=r,m={...r,component:l,elevation:u,square:f,variant:p},g=fz(m);return v.jsx(dz,{as:l,ownerState:m,className:Oe(g.root,a),ref:n,...h,style:{...p==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[u],...s.vars&&{"--Paper-overlay":(w=s.vars.overlays)==null?void 0:w[u]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${xt("#fff",Ym(u))}, ${xt("#fff",Ym(u))})`}},...h.style}})});function pt(e,t){const{className:n,elementType:r,ownerState:s,externalForwardedProps:a,internalForwardedProps:l,shouldForwardComponentProp:u=!1,...f}=t,{component:p,slots:h={[e]:void 0},slotProps:m={[e]:void 0},...g}=a,w=h[e]||r,A=W0(m[e],s),{props:{component:b,...j},internalRef:S}=I0({className:n,...f,externalForwardedProps:e==="root"?g:void 0,externalSlotProps:A}),z=pn(S,A==null?void 0:A.ref,t.ref),C=e==="root"?b||p:b,O=V0(w,{...e==="root"&&!p&&!h[e]&&l,...e!=="root"&&!h[e]&&l,...j,...C&&!u&&{as:C},...C&&u&&{component:C},ref:z},s);return[w,O]}class rp{constructor(){zc(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new rp}static use(){const t=N0(rp.create).current,[n,r]=P.useState(!1);return t.shouldMount=n,t.setShouldMount=r,P.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=vz(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function pz(){return rp.use()}function vz(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});return n.resolve=e,n.reject=t,n}function hz(e){const{className:t,classes:n,pulsate:r=!1,rippleX:s,rippleY:a,rippleSize:l,in:u,onExited:f,timeout:p}=e,[h,m]=P.useState(!1),g=Oe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),w={width:l,height:l,top:-(l/2)+a,left:-(l/2)+s},A=Oe(n.child,h&&n.childLeaving,r&&n.childPulsate);return!u&&!h&&m(!0),P.useEffect(()=>{if(!u&&f!=null){const b=setTimeout(f,p);return()=>{clearTimeout(b)}}},[f,u,p]),v.jsx("span",{className:g,style:w,children:v.jsx("span",{className:A})})}const ao=Ke("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Gm=550,mz=80,yz=Nu` 0% { transform: scale(0); opacity: 0.1; @@ -103,7 +103,7 @@ Error generating stack: `+x.message+` transform: scale(1); opacity: 0.3; } -`,yz=Nu` +`,gz=Nu` 0% { opacity: 1; } @@ -111,7 +111,7 @@ Error generating stack: `+x.message+` 100% { opacity: 0; } -`,gz=Nu` +`,Az=Nu` 0% { transform: scale(1); } @@ -123,14 +123,14 @@ Error generating stack: `+x.message+` 100% { transform: scale(1); } -`,Az=pe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Pz=pe(vz,{name:"MuiTouchRipple",slot:"Ripple"})` +`,Pz=pe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),bz=pe(hz,{name:"MuiTouchRipple",slot:"Ripple"})` opacity: 0; position: absolute; &.${ao.rippleVisible} { opacity: 0.3; transform: scale(1); - animation-name: ${mz}; + animation-name: ${yz}; animation-duration: ${Gm}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } @@ -150,7 +150,7 @@ Error generating stack: `+x.message+` & .${ao.childLeaving} { opacity: 0; - animation-name: ${yz}; + animation-name: ${gz}; animation-duration: ${Gm}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } @@ -160,13 +160,13 @@ Error generating stack: `+x.message+` /* @noflip */ left: 0px; top: 0; - animation-name: ${gz}; + animation-name: ${Az}; animation-duration: 2500ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; animation-iteration-count: infinite; animation-delay: 200ms; } -`,bz=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:l,...u}=r,[f,p]=P.useState([]),h=P.useRef(0),m=P.useRef(null);P.useEffect(()=>{m.current&&(m.current(),m.current=null)},[f]);const g=P.useRef(!1),w=Qi(),A=P.useRef(null),b=P.useRef(null),j=P.useCallback(O=>{const{pulsate:D,rippleX:T,rippleY:M,rippleSize:L,cb:R}=O;p(H=>[...H,v.jsx(Pz,{classes:{ripple:Oe(a.ripple,ao.ripple),rippleVisible:Oe(a.rippleVisible,ao.rippleVisible),ripplePulsate:Oe(a.ripplePulsate,ao.ripplePulsate),child:Oe(a.child,ao.child),childLeaving:Oe(a.childLeaving,ao.childLeaving),childPulsate:Oe(a.childPulsate,ao.childPulsate)},timeout:Gm,pulsate:D,rippleX:T,rippleY:M,rippleSize:L},h.current)]),h.current+=1,m.current=R},[a]),S=P.useCallback((O={},D={},T=()=>{})=>{const{pulsate:M=!1,center:L=s||D.pulsate,fakeElement:R=!1}=D;if((O==null?void 0:O.type)==="mousedown"&&g.current){g.current=!1;return}(O==null?void 0:O.type)==="touchstart"&&(g.current=!0);const H=R?null:b.current,N=H?H.getBoundingClientRect():{width:0,height:0,left:0,top:0};let B,W,_;if(L||O===void 0||O.clientX===0&&O.clientY===0||!O.clientX&&!O.touches)B=Math.round(N.width/2),W=Math.round(N.height/2);else{const{clientX:J,clientY:U}=O.touches&&O.touches.length>0?O.touches[0]:O;B=Math.round(J-N.left),W=Math.round(U-N.top)}if(L)_=Math.sqrt((2*N.width**2+N.height**2)/3),_%2===0&&(_+=1);else{const J=Math.max(Math.abs((H?H.clientWidth:0)-B),B)*2+2,U=Math.max(Math.abs((H?H.clientHeight:0)-W),W)*2+2;_=Math.sqrt(J**2+U**2)}O!=null&&O.touches?A.current===null&&(A.current=()=>{j({pulsate:M,rippleX:B,rippleY:W,rippleSize:_,cb:T})},w.start(hz,()=>{A.current&&(A.current(),A.current=null)})):j({pulsate:M,rippleX:B,rippleY:W,rippleSize:_,cb:T})},[s,j,w]),z=P.useCallback(()=>{S({},{pulsate:!0})},[S]),C=P.useCallback((O,D)=>{if(w.clear(),(O==null?void 0:O.type)==="touchend"&&A.current){A.current(),A.current=null,w.start(0,()=>{C(O,D)});return}A.current=null,p(T=>T.length>0?T.slice(1):T),m.current=D},[w]);return P.useImperativeHandle(n,()=>({pulsate:z,start:S,stop:C}),[z,S,C]),v.jsx(Az,{className:Oe(ao.root,a.root,l),ref:b,...u,children:v.jsx(cg,{component:null,exit:!0,children:f})})});function xz(e){return Qe("MuiButtonBase",e)}const wz=Ke("MuiButtonBase",["root","disabled","focusVisible"]),Hz=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:s}=e,l=_e({root:["root",t&&"disabled",n&&"focusVisible"]},xz,s);return n&&r&&(l.root+=` ${r}`),l},jz=pe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${wz.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),va=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiButtonBase"}),{action:s,centerRipple:a=!1,children:l,className:u,component:f="button",disabled:p=!1,disableRipple:h=!1,disableTouchRipple:m=!1,focusRipple:g=!1,focusVisibleClassName:w,LinkComponent:A="a",onBlur:b,onClick:j,onContextMenu:S,onDragLeave:z,onFocus:C,onFocusVisible:O,onKeyDown:D,onKeyUp:T,onMouseDown:M,onMouseLeave:L,onMouseUp:R,onTouchEnd:H,onTouchMove:N,onTouchStart:B,tabIndex:W=0,TouchRippleProps:_,touchRippleRef:J,type:U,...oe}=r,K=P.useRef(null),Z=dz(),E=pn(Z.ref,J),[q,X]=P.useState(!1);p&&q&&X(!1),P.useImperativeHandle(s,()=>({focusVisible:()=>{X(!0),K.current.focus()}}),[]);const $=Z.shouldMount&&!h&&!p;P.useEffect(()=>{q&&g&&!h&&Z.pulsate()},[h,g,q,Z]);const ee=ws(Z,"start",M,m),se=ws(Z,"stop",S,m),ae=ws(Z,"stop",z,m),ye=ws(Z,"stop",R,m),le=ws(Z,"stop",ne=>{q&&ne.preventDefault(),L&&L(ne)},m),we=ws(Z,"start",B,m),Ce=ws(Z,"stop",H,m),Le=ws(Z,"stop",N,m),Pe=ws(Z,"stop",ne=>{Cl(ne.target)||X(!1),b&&b(ne)},!1),Ve=ar(ne=>{K.current||(K.current=ne.currentTarget),Cl(ne.target)&&(X(!0),O&&O(ne)),C&&C(ne)}),be=()=>{const ne=K.current;return f&&f!=="button"&&!(ne.tagName==="A"&&ne.href)},Be=ar(ne=>{g&&!ne.repeat&&q&&ne.key===" "&&Z.stop(ne,()=>{Z.start(ne)}),ne.target===ne.currentTarget&&be()&&ne.key===" "&&ne.preventDefault(),D&&D(ne),ne.target===ne.currentTarget&&be()&&ne.key==="Enter"&&!p&&(ne.preventDefault(),j&&j(ne))}),Pt=ar(ne=>{g&&ne.key===" "&&q&&!ne.defaultPrevented&&Z.stop(ne,()=>{Z.pulsate(ne)}),T&&T(ne),j&&ne.target===ne.currentTarget&&be()&&ne.key===" "&&!ne.defaultPrevented&&j(ne)});let Ne=f;Ne==="button"&&(oe.href||oe.to)&&(Ne=A);const gt={};Ne==="button"?(gt.type=U===void 0?"button":U,gt.disabled=p):(!oe.href&&!oe.to&&(gt.role="button"),p&&(gt["aria-disabled"]=p));const ft=pn(n,K),V={...r,centerRipple:a,component:f,disabled:p,disableRipple:h,disableTouchRipple:m,focusRipple:g,tabIndex:W,focusVisible:q},te=Hz(V);return v.jsxs(jz,{as:Ne,className:Oe(te.root,u),ownerState:V,onBlur:Pe,onClick:j,onContextMenu:se,onFocus:Ve,onKeyDown:Be,onKeyUp:Pt,onMouseDown:ee,onMouseLeave:le,onMouseUp:ye,onDragLeave:ae,onTouchEnd:Ce,onTouchMove:Le,onTouchStart:we,ref:ft,tabIndex:p?-1:W,type:U,...gt,...oe,children:[l,$?v.jsx(bz,{ref:E,center:a,..._}):null]})});function ws(e,t,n,r=!1){return ar(s=>(n&&n(s),r||e[t](s),!0))}function zz(e){return typeof e.main=="string"}function Sz(e,t=[]){if(!zz(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function gn(e=[]){return([,t])=>t&&Sz(t,e)}function Cz(e){return Qe("MuiAlert",e)}const E8=Ke("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Oz(e){return Qe("MuiCircularProgress",e)}Ke("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const ii=44,Um=Nu` +`,xz=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:l,...u}=r,[f,p]=P.useState([]),h=P.useRef(0),m=P.useRef(null);P.useEffect(()=>{m.current&&(m.current(),m.current=null)},[f]);const g=P.useRef(!1),w=Qi(),A=P.useRef(null),b=P.useRef(null),j=P.useCallback(O=>{const{pulsate:D,rippleX:T,rippleY:M,rippleSize:L,cb:R}=O;p(H=>[...H,v.jsx(bz,{classes:{ripple:Oe(a.ripple,ao.ripple),rippleVisible:Oe(a.rippleVisible,ao.rippleVisible),ripplePulsate:Oe(a.ripplePulsate,ao.ripplePulsate),child:Oe(a.child,ao.child),childLeaving:Oe(a.childLeaving,ao.childLeaving),childPulsate:Oe(a.childPulsate,ao.childPulsate)},timeout:Gm,pulsate:D,rippleX:T,rippleY:M,rippleSize:L},h.current)]),h.current+=1,m.current=R},[a]),S=P.useCallback((O={},D={},T=()=>{})=>{const{pulsate:M=!1,center:L=s||D.pulsate,fakeElement:R=!1}=D;if((O==null?void 0:O.type)==="mousedown"&&g.current){g.current=!1;return}(O==null?void 0:O.type)==="touchstart"&&(g.current=!0);const H=R?null:b.current,N=H?H.getBoundingClientRect():{width:0,height:0,left:0,top:0};let B,W,_;if(L||O===void 0||O.clientX===0&&O.clientY===0||!O.clientX&&!O.touches)B=Math.round(N.width/2),W=Math.round(N.height/2);else{const{clientX:J,clientY:U}=O.touches&&O.touches.length>0?O.touches[0]:O;B=Math.round(J-N.left),W=Math.round(U-N.top)}if(L)_=Math.sqrt((2*N.width**2+N.height**2)/3),_%2===0&&(_+=1);else{const J=Math.max(Math.abs((H?H.clientWidth:0)-B),B)*2+2,U=Math.max(Math.abs((H?H.clientHeight:0)-W),W)*2+2;_=Math.sqrt(J**2+U**2)}O!=null&&O.touches?A.current===null&&(A.current=()=>{j({pulsate:M,rippleX:B,rippleY:W,rippleSize:_,cb:T})},w.start(mz,()=>{A.current&&(A.current(),A.current=null)})):j({pulsate:M,rippleX:B,rippleY:W,rippleSize:_,cb:T})},[s,j,w]),z=P.useCallback(()=>{S({},{pulsate:!0})},[S]),C=P.useCallback((O,D)=>{if(w.clear(),(O==null?void 0:O.type)==="touchend"&&A.current){A.current(),A.current=null,w.start(0,()=>{C(O,D)});return}A.current=null,p(T=>T.length>0?T.slice(1):T),m.current=D},[w]);return P.useImperativeHandle(n,()=>({pulsate:z,start:S,stop:C}),[z,S,C]),v.jsx(Pz,{className:Oe(ao.root,a.root,l),ref:b,...u,children:v.jsx(cg,{component:null,exit:!0,children:f})})});function wz(e){return Qe("MuiButtonBase",e)}const Hz=Ke("MuiButtonBase",["root","disabled","focusVisible"]),jz=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:s}=e,l=_e({root:["root",t&&"disabled",n&&"focusVisible"]},wz,s);return n&&r&&(l.root+=` ${r}`),l},zz=pe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Hz.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ha=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiButtonBase"}),{action:s,centerRipple:a=!1,children:l,className:u,component:f="button",disabled:p=!1,disableRipple:h=!1,disableTouchRipple:m=!1,focusRipple:g=!1,focusVisibleClassName:w,LinkComponent:A="a",onBlur:b,onClick:j,onContextMenu:S,onDragLeave:z,onFocus:C,onFocusVisible:O,onKeyDown:D,onKeyUp:T,onMouseDown:M,onMouseLeave:L,onMouseUp:R,onTouchEnd:H,onTouchMove:N,onTouchStart:B,tabIndex:W=0,TouchRippleProps:_,touchRippleRef:J,type:U,...oe}=r,K=P.useRef(null),Z=pz(),E=pn(Z.ref,J),[q,X]=P.useState(!1);p&&q&&X(!1),P.useImperativeHandle(s,()=>({focusVisible:()=>{X(!0),K.current.focus()}}),[]);const $=Z.shouldMount&&!h&&!p;P.useEffect(()=>{q&&g&&!h&&Z.pulsate()},[h,g,q,Z]);const ee=ws(Z,"start",M,m),se=ws(Z,"stop",S,m),ae=ws(Z,"stop",z,m),ye=ws(Z,"stop",R,m),le=ws(Z,"stop",ne=>{q&&ne.preventDefault(),L&&L(ne)},m),we=ws(Z,"start",B,m),Ce=ws(Z,"stop",H,m),Le=ws(Z,"stop",N,m),Pe=ws(Z,"stop",ne=>{Cl(ne.target)||X(!1),b&&b(ne)},!1),Ie=ar(ne=>{K.current||(K.current=ne.currentTarget),Cl(ne.target)&&(X(!0),O&&O(ne)),C&&C(ne)}),be=()=>{const ne=K.current;return f&&f!=="button"&&!(ne.tagName==="A"&&ne.href)},Ve=ar(ne=>{g&&!ne.repeat&&q&&ne.key===" "&&Z.stop(ne,()=>{Z.start(ne)}),ne.target===ne.currentTarget&&be()&&ne.key===" "&&ne.preventDefault(),D&&D(ne),ne.target===ne.currentTarget&&be()&&ne.key==="Enter"&&!p&&(ne.preventDefault(),j&&j(ne))}),Pt=ar(ne=>{g&&ne.key===" "&&q&&!ne.defaultPrevented&&Z.stop(ne,()=>{Z.pulsate(ne)}),T&&T(ne),j&&ne.target===ne.currentTarget&&be()&&ne.key===" "&&!ne.defaultPrevented&&j(ne)});let Ne=f;Ne==="button"&&(oe.href||oe.to)&&(Ne=A);const gt={};Ne==="button"?(gt.type=U===void 0?"button":U,gt.disabled=p):(!oe.href&&!oe.to&&(gt.role="button"),p&&(gt["aria-disabled"]=p));const ft=pn(n,K),V={...r,centerRipple:a,component:f,disabled:p,disableRipple:h,disableTouchRipple:m,focusRipple:g,tabIndex:W,focusVisible:q},te=jz(V);return v.jsxs(zz,{as:Ne,className:Oe(te.root,u),ownerState:V,onBlur:Pe,onClick:j,onContextMenu:se,onFocus:Ie,onKeyDown:Ve,onKeyUp:Pt,onMouseDown:ee,onMouseLeave:le,onMouseUp:ye,onDragLeave:ae,onTouchEnd:Ce,onTouchMove:Le,onTouchStart:we,ref:ft,tabIndex:p?-1:W,type:U,...gt,...oe,children:[l,$?v.jsx(xz,{ref:E,center:a,..._}):null]})});function ws(e,t,n,r=!1){return ar(s=>(n&&n(s),r||e[t](s),!0))}function Sz(e){return typeof e.main=="string"}function Cz(e,t=[]){if(!Sz(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function gn(e=[]){return([,t])=>t&&Cz(t,e)}function Oz(e){return Qe("MuiAlert",e)}const R8=Ke("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Dz(e){return Qe("MuiCircularProgress",e)}Ke("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const ii=44,Um=Nu` 0% { transform: rotate(0deg); } @@ -189,23 +189,23 @@ Error generating stack: `+x.message+` stroke-dasharray: 1px, 200px; stroke-dashoffset: -126px; } -`,Dz=typeof Um!="string"?Gy` +`,kz=typeof Um!="string"?Gy` animation: ${Um} 1.4s linear infinite; - `:null,kz=typeof Qm!="string"?Gy` + `:null,Tz=typeof Qm!="string"?Gy` animation: ${Qm} 1.4s ease-in-out infinite; - `:null,Tz=e=>{const{classes:t,variant:n,color:r,disableShrink:s}=e,a={root:["root",n,`color${me(r)}`],svg:["svg"],circle:["circle",`circle${me(n)}`,s&&"circleDisableShrink"]};return _e(a,Oz,t)},Ez=pe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${me(n.color)}`]]}})(nt(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Dz||{animation:`${Um} 1.4s linear infinite`}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Rz=pe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Mz=pe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${me(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(nt(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:kz||{animation:`${Qm} 1.4s ease-in-out infinite`}}]}))),Nl=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCircularProgress"}),{className:s,color:a="primary",disableShrink:l=!1,size:u=40,style:f,thickness:p=3.6,value:h=0,variant:m="indeterminate",...g}=r,w={...r,color:a,disableShrink:l,size:u,thickness:p,value:h,variant:m},A=Tz(w),b={},j={},S={};if(m==="determinate"){const z=2*Math.PI*((ii-p)/2);b.strokeDasharray=z.toFixed(3),S["aria-valuenow"]=Math.round(h),b.strokeDashoffset=`${((100-h)/100*z).toFixed(3)}px`,j.transform="rotate(-90deg)"}return v.jsx(Ez,{className:Oe(A.root,s),style:{width:u,height:u,...j,...f},ownerState:w,ref:n,role:"progressbar",...S,...g,children:v.jsx(Rz,{className:A.svg,ownerState:w,viewBox:`${ii/2} ${ii/2} ${ii} ${ii}`,children:v.jsx(Mz,{className:A.circle,style:b,ownerState:w,cx:ii,cy:ii,r:(ii-p)/2,fill:"none",strokeWidth:p})})})});function Lz(e){return Qe("MuiIconButton",e)}const R8=Ke("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Xz=e=>{const{classes:t,disabled:n,color:r,edge:s,size:a,loading:l}=e,u={root:["root",l&&"loading",n&&"disabled",r!=="default"&&`color${me(r)}`,s&&`edge${me(s)}`,`size${me(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return _e(u,Lz,t)},Nz=pe(va,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${me(n.color)}`],n.edge&&t[`edge${me(n.edge)}`],t[`size${me(n.size)}`]]}})(nt(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),nt(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${R8.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${R8.loading}`]:{color:"transparent"}}))),Bz=pe("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Cr=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiIconButton"}),{edge:s=!1,children:a,className:l,color:u="default",disabled:f=!1,disableFocusRipple:p=!1,size:h="medium",id:m,loading:g=null,loadingIndicator:w,...A}=r,b=Xo(m),j=w??v.jsx(Nl,{"aria-labelledby":b,color:"inherit",size:16}),S={...r,edge:s,color:u,disabled:f,disableFocusRipple:p,loading:g,loadingIndicator:j,size:h},z=Xz(S);return v.jsxs(Nz,{id:g?b:m,className:Oe(z.root,l),centerRipple:!0,focusRipple:!p,disabled:f||g,ref:n,...A,ownerState:S,children:[typeof g=="boolean"&&v.jsx("span",{className:z.loadingWrapper,style:{display:"contents"},children:v.jsx(Bz,{className:z.loadingIndicator,ownerState:S,children:g&&j})}),a]})}),Vz=bt(v.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Iz=bt(v.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Wz=bt(v.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Jz=bt(v.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),o1=bt(v.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Fz=e=>{const{variant:t,color:n,severity:r,classes:s}=e,a={root:["root",`color${me(n||r)}`,`${t}${me(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return _e(a,Cz,s)},Yz=pe(Gr,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${me(n.color||n.severity)}`]]}})(nt(({theme:e})=>{const t=e.palette.mode==="light"?da:pa,n=e.palette.mode==="light"?pa:da;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(gn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${E8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(gn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${E8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(gn(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)}}}))]}})),qz=pe("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Zz=pe("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Gz=pe("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),M8={success:v.jsx(Vz,{fontSize:"inherit"}),warning:v.jsx(Iz,{fontSize:"inherit"}),error:v.jsx(Wz,{fontSize:"inherit"}),info:v.jsx(Jz,{fontSize:"inherit"})},fg=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiAlert"}),{action:s,children:a,className:l,closeText:u="Close",color:f,components:p={},componentsProps:h={},icon:m,iconMapping:g=M8,onClose:w,role:A="alert",severity:b="success",slotProps:j={},slots:S={},variant:z="standard",...C}=r,O={...r,color:f,severity:b,variant:z,colorSeverity:f||b},D=Fz(O),T={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...S},slotProps:{...h,...j}},[M,L]=pt("root",{ref:n,shouldForwardComponentProp:!0,className:Oe(D.root,l),elementType:Yz,externalForwardedProps:{...T,...C},ownerState:O,additionalProps:{role:A,elevation:0}}),[R,H]=pt("icon",{className:D.icon,elementType:qz,externalForwardedProps:T,ownerState:O}),[N,B]=pt("message",{className:D.message,elementType:Zz,externalForwardedProps:T,ownerState:O}),[W,_]=pt("action",{className:D.action,elementType:Gz,externalForwardedProps:T,ownerState:O}),[J,U]=pt("closeButton",{elementType:Cr,externalForwardedProps:T,ownerState:O}),[oe,K]=pt("closeIcon",{elementType:o1,externalForwardedProps:T,ownerState:O});return v.jsxs(M,{...L,children:[m!==!1?v.jsx(R,{...H,children:m||g[b]||M8[b]}):null,v.jsx(N,{...B,children:a}),s!=null?v.jsx(W,{..._,children:s}):null,s==null&&w?v.jsx(W,{..._,children:v.jsx(J,{size:"small","aria-label":u,title:u,color:"inherit",onClick:w,...U,children:v.jsx(oe,{fontSize:"small",...K})})}):null]})});function Uz(e){return Qe("MuiTypography",e)}const L8=Ke("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),Qz={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Kz=Uj(),_z=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:s,variant:a,classes:l}=e,u={root:["root",a,e.align!=="inherit"&&`align${me(t)}`,n&&"gutterBottom",r&&"noWrap",s&&"paragraph"]};return _e(u,Uz,l)},$z=pe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${me(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(nt(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(gn()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${me(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),X8={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},jt=P.forwardRef(function(t,n){const{color:r,...s}=rt({props:t,name:"MuiTypography"}),a=!Qz[r],l=Kz({...s,...a&&{color:r}}),{align:u="inherit",className:f,component:p,gutterBottom:h=!1,noWrap:m=!1,paragraph:g=!1,variant:w="body1",variantMapping:A=X8,...b}=l,j={...l,align:u,color:r,className:f,component:p,gutterBottom:h,noWrap:m,paragraph:g,variant:w,variantMapping:A},S=p||(g?"p":A[w]||X8[w])||"span",z=_z(j);return v.jsx($z,{as:S,ref:n,className:Oe(z.root,f),...b,ownerState:j,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...b.style}})});function eS(e){return Qe("MuiAppBar",e)}Ke("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const tS=e=>{const{color:t,position:n,classes:r}=e,s={root:["root",`color${me(t)}`,`position${me(n)}`]};return _e(s,eS,r)},N8=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,nS=pe(Gr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],t[`color${me(n.color)}`]]}})(nt(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(gn(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?N8(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?N8(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),rS=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiAppBar"}),{className:s,color:a="primary",enableColorOnDark:l=!1,position:u="fixed",...f}=r,p={...r,color:a,position:u,enableColorOnDark:l},h=tS(p);return v.jsx(nS,{square:!0,component:"header",ownerState:p,elevation:4,className:Oe(h.root,s,u==="fixed"&&"mui-fixed"),ref:n,...f})});function B8(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function oS(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:s="any",stringify:a,trim:l=!1}=e;return(u,{inputValue:f,getOptionLabel:p})=>{let h=l?f.trim():f;n&&(h=h.toLowerCase()),t&&(h=B8(h));const m=h?u.filter(g=>{let w=(a||p)(g);return n&&(w=w.toLowerCase()),t&&(w=B8(w)),s==="start"?w.startsWith(h):w.includes(h)}):u;return typeof r=="number"?m.slice(0,r):m}}const sS=oS(),iS=5,aS=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},lS=[];function V8(e,t,n){if(t||e==null)return"";const r=n(e);return typeof r=="string"?r:""}function cS(e){const{unstable_isActiveElementInListbox:t=aS,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:s=!1,autoSelect:a=!1,blurOnSelect:l=!1,clearOnBlur:u=!e.freeSolo,clearOnEscape:f=!1,componentName:p="useAutocomplete",defaultValue:h=e.multiple?lS:null,disableClearable:m=!1,disableCloseOnSelect:g=!1,disabled:w,disabledItemsFocusable:A=!1,disableListWrap:b=!1,filterOptions:j=sS,filterSelectedOptions:S=!1,freeSolo:z=!1,getOptionDisabled:C,getOptionKey:O,getOptionLabel:D=ue=>ue.label??ue,groupBy:T,handleHomeEndKeys:M=!e.freeSolo,id:L,includeInputInList:R=!1,inputValue:H,isOptionEqualToValue:N=(ue,fe)=>ue===fe,multiple:B=!1,onChange:W,onClose:_,onHighlightChange:J,onInputChange:U,onOpen:oe,open:K,openOnFocus:Z=!1,options:E,readOnly:q=!1,selectOnFocus:X=!e.freeSolo,value:$}=e,ee=Xo(L);let se=D;se=ue=>{const fe=D(ue);return typeof fe!="string"?String(fe):fe};const ae=P.useRef(!1),ye=P.useRef(!0),le=P.useRef(null),we=P.useRef(null),[Ce,Le]=P.useState(null),[Pe,Ve]=P.useState(-1),be=s?0:-1,Be=P.useRef(be),Pt=P.useRef(V8(h??$,B,se)).current,[Ne,gt]=xi({controlled:$,default:h,name:p}),[ft,V]=xi({controlled:H,default:Pt,name:p,state:"inputValue"}),[te,ne]=P.useState(!1),He=P.useCallback((ue,fe,Re)=>{if(!(B?Ne.length!(S&&(B?Ne:[Ne]).some(fe=>fe!==null&&N(ue,fe)))),{inputValue:Fe&&Ie?"":ft,getOptionLabel:se}):[],We=XH({filteredOptions:et,value:Ne,inputValue:ft});P.useEffect(()=>{const ue=Ne!==We.value;te&&!ue||z&&!ue||He(null,Ne,"reset")},[Ne,He,te,We.value,z]);const Ot=he&&et.length>0&&!q,zt=ar(ue=>{ue===-1?le.current.focus():Ce.querySelector(`[data-tag-index="${ue}"]`).focus()});P.useEffect(()=>{B&&Pe>Ne.length-1&&(Ve(-1),zt(-1))},[Ne,B,Pe,zt]);function qt(ue,fe){if(!we.current||ue<0||ue>=et.length)return-1;let Re=ue;for(;;){const ot=we.current.querySelector(`[data-option-index="${Re}"]`),Ht=A?!1:!ot||ot.disabled||ot.getAttribute("aria-disabled")==="true";if(ot&&ot.hasAttribute("tabindex")&&!Ht)return Re;if(fe==="next"?Re=(Re+1)%et.length:Re=(Re-1+et.length)%et.length,Re===ue)return-1}}const Y=ar(({event:ue,index:fe,reason:Re})=>{if(Be.current=fe,fe===-1?le.current.removeAttribute("aria-activedescendant"):le.current.setAttribute("aria-activedescendant",`${ee}-option-${fe}`),J&&["mouse","keyboard","touch"].includes(Re)&&J(ue,fe===-1?null:et[fe],Re),!we.current)return;const ot=we.current.querySelector(`[role="option"].${n}-focused`);ot&&(ot.classList.remove(`${n}-focused`),ot.classList.remove(`${n}-focusVisible`));let Ht=we.current;if(we.current.getAttribute("role")!=="listbox"&&(Ht=we.current.parentElement.querySelector('[role="listbox"]')),!Ht)return;if(fe===-1){Ht.scrollTop=0;return}const It=we.current.querySelector(`[data-option-index="${fe}"]`);if(It&&(It.classList.add(`${n}-focused`),Re==="keyboard"&&It.classList.add(`${n}-focusVisible`),Ht.scrollHeight>Ht.clientHeight&&Re!=="mouse"&&Re!=="touch")){const Kt=It,Xn=Ht.clientHeight+Ht.scrollTop,gr=Kt.offsetTop+Kt.offsetHeight;gr>Xn?Ht.scrollTop=gr-Ht.clientHeight:Kt.offsetTop-Kt.offsetHeight*(T?1.3:0){if(!ct)return;const It=qt((()=>{const Kt=et.length-1;if(fe==="reset")return be;if(fe==="start")return 0;if(fe==="end")return Kt;const Xn=Be.current+fe;return Xn<0?Xn===-1&&R?-1:b&&Be.current!==-1||Math.abs(fe)>1?0:Kt:Xn>Kt?Xn===Kt+1&&R?-1:b||Math.abs(fe)>1?Kt:0:Xn})(),Re);if(Y({index:It,reason:ot,event:ue}),r&&fe!=="reset")if(It===-1)le.current.value=ft;else{const Kt=se(et[It]);le.current.value=Kt,Kt.toLowerCase().indexOf(ft.toLowerCase())===0&&ft.length>0&&le.current.setSelectionRange(ft.length,Kt.length)}}),ge=()=>{const ue=(fe,Re)=>{const ot=fe?se(fe):"",Ht=Re?se(Re):"";return ot===Ht};if(Be.current!==-1&&We.filteredOptions&&We.filteredOptions.length!==et.length&&We.inputValue===ft&&(B?Ne.length===We.value.length&&We.value.every((fe,Re)=>se(Ne[Re])===se(fe)):ue(We.value,Ne))){const fe=We.filteredOptions[Be.current];if(fe)return et.findIndex(Re=>se(Re)===se(fe))}return-1},je=P.useCallback(()=>{if(!ct)return;const ue=ge();if(ue!==-1){Be.current=ue;return}const fe=B?Ne[0]:Ne;if(et.length===0||fe==null){F({diff:"reset"});return}if(we.current){if(fe!=null){const Re=et[Be.current];if(B&&Re&&Ne.findIndex(Ht=>N(Re,Ht))!==-1)return;const ot=et.findIndex(Ht=>N(Ht,fe));ot===-1?F({diff:"reset"}):Y({index:ot});return}if(Be.current>=et.length-1){Y({index:et.length-1});return}Y({index:Be.current})}},[et.length,B?!1:Ne,S,F,Y,ct,ft,B]),Ee=ar(ue=>{Jm(we,ue),ue&&je()});P.useEffect(()=>{je()},[je]);const Xe=ue=>{he||(xe(!0),lt(!0),oe&&oe(ue))},Ze=(ue,fe)=>{he&&(xe(!1),_&&_(ue,fe))},ke=(ue,fe,Re,ot)=>{if(B){if(Ne.length===fe.length&&Ne.every((Ht,It)=>Ht===fe[It]))return}else if(Ne===fe)return;W&&W(ue,fe,Re,ot),gt(fe)},st=P.useRef(!1),vt=(ue,fe,Re="selectOption",ot="options")=>{let Ht=Re,It=fe;if(B){It=Array.isArray(Ne)?Ne.slice():[];const Kt=It.findIndex(Xn=>N(fe,Xn));Kt===-1?It.push(fe):ot!=="freeSolo"&&(It.splice(Kt,1),Ht="removeOption")}He(ue,It,Ht),ke(ue,It,Ht,{option:fe}),!g&&(!ue||!ue.ctrlKey&&!ue.metaKey)&&Ze(ue,Ht),(l===!0||l==="touch"&&st.current||l==="mouse"&&!st.current)&&le.current.blur()};function Xt(ue,fe){if(ue===-1)return-1;let Re=ue;for(;;){if(fe==="next"&&Re===Ne.length||fe==="previous"&&Re===-1)return-1;const ot=Ce.querySelector(`[data-tag-index="${Re}"]`);if(!ot||!ot.hasAttribute("tabindex")||ot.disabled||ot.getAttribute("aria-disabled")==="true")Re+=fe==="next"?1:-1;else return Re}}const Qt=(ue,fe)=>{if(!B)return;ft===""&&Ze(ue,"toggleInput");let Re=Pe;Pe===-1?ft===""&&fe==="previous"&&(Re=Ne.length-1):(Re+=fe==="next"?1:-1,Re<0&&(Re=0),Re===Ne.length&&(Re=-1)),Re=Xt(Re,fe),Ve(Re),zt(Re)},Ye=ue=>{ae.current=!0,V(""),U&&U(ue,"","clear"),ke(ue,B?[]:null,"clear")},Rt=ue=>fe=>{if(ue.onKeyDown&&ue.onKeyDown(fe),!fe.defaultMuiPrevented&&(Pe!==-1&&!["ArrowLeft","ArrowRight"].includes(fe.key)&&(Ve(-1),zt(-1)),fe.which!==229))switch(fe.key){case"Home":ct&&M&&(fe.preventDefault(),F({diff:"start",direction:"next",reason:"keyboard",event:fe}));break;case"End":ct&&M&&(fe.preventDefault(),F({diff:"end",direction:"previous",reason:"keyboard",event:fe}));break;case"PageUp":fe.preventDefault(),F({diff:-5,direction:"previous",reason:"keyboard",event:fe}),Xe(fe);break;case"PageDown":fe.preventDefault(),F({diff:iS,direction:"next",reason:"keyboard",event:fe}),Xe(fe);break;case"ArrowDown":fe.preventDefault(),F({diff:1,direction:"next",reason:"keyboard",event:fe}),Xe(fe);break;case"ArrowUp":fe.preventDefault(),F({diff:-1,direction:"previous",reason:"keyboard",event:fe}),Xe(fe);break;case"ArrowLeft":Qt(fe,"previous");break;case"ArrowRight":Qt(fe,"next");break;case"Enter":if(Be.current!==-1&&ct){const Re=et[Be.current],ot=C?C(Re):!1;if(fe.preventDefault(),ot)return;vt(fe,Re,"selectOption"),r&&le.current.setSelectionRange(le.current.value.length,le.current.value.length)}else z&&ft!==""&&Fe===!1&&(B&&fe.preventDefault(),vt(fe,ft,"createOption","freeSolo"));break;case"Escape":ct?(fe.preventDefault(),fe.stopPropagation(),Ze(fe,"escape")):f&&(ft!==""||B&&Ne.length>0)&&(fe.preventDefault(),fe.stopPropagation(),Ye(fe));break;case"Backspace":if(B&&!q&&ft===""&&Ne.length>0){const Re=Pe===-1?Ne.length-1:Pe,ot=Ne.slice();ot.splice(Re,1),ke(fe,ot,"removeOption",{option:Ne[Re]})}break;case"Delete":if(B&&!q&&ft===""&&Ne.length>0&&Pe!==-1){const Re=Pe,ot=Ne.slice();ot.splice(Re,1),ke(fe,ot,"removeOption",{option:Ne[Re]})}break}},vn=ue=>{ne(!0),Z&&!ae.current&&Xe(ue)},Pn=ue=>{if(t(we)){le.current.focus();return}ne(!1),ye.current=!0,ae.current=!1,a&&Be.current!==-1&&ct?vt(ue,et[Be.current],"blur"):a&&z&&ft!==""?vt(ue,ft,"blur","freeSolo"):u&&He(ue,Ne,"blur"),Ze(ue,"blur")},Gn=ue=>{const fe=ue.target.value;ft!==fe&&(V(fe),lt(!1),U&&U(ue,fe,"input")),fe===""?!m&&!B&&ke(ue,null,"clear"):Xe(ue)},bn=ue=>{const fe=Number(ue.currentTarget.getAttribute("data-option-index"));Be.current!==fe&&Y({event:ue,index:fe,reason:"mouse"})},Lr=ue=>{Y({event:ue,index:Number(ue.currentTarget.getAttribute("data-option-index")),reason:"touch"}),st.current=!0},mo=ue=>{const fe=Number(ue.currentTarget.getAttribute("data-option-index"));vt(ue,et[fe],"selectOption"),st.current=!1},Fo=ue=>fe=>{const Re=Ne.slice();Re.splice(ue,1),ke(fe,Re,"removeOption",{option:Ne[ue]})},Yo=ue=>{he?Ze(ue,"toggleInput"):Xe(ue)},yo=ue=>{ue.currentTarget.contains(ue.target)&&ue.target.getAttribute("id")!==ee&&ue.preventDefault()},xn=ue=>{ue.currentTarget.contains(ue.target)&&(le.current.focus(),X&&ye.current&&le.current.selectionEnd-le.current.selectionStart===0&&le.current.select(),ye.current=!1)},hn=ue=>{!w&&(ft===""||!he)&&Yo(ue)};let Te=z&&ft.length>0;Te=Te||(B?Ne.length>0:Ne!==null);let Ge=et;return T&&(Ge=et.reduce((ue,fe,Re)=>{const ot=T(fe);return ue.length>0&&ue[ue.length-1].group===ot?ue[ue.length-1].options.push(fe):ue.push({key:Re,index:Re,group:ot,options:[fe]}),ue},[])),w&&te&&Pn(),{getRootProps:(ue={})=>({...ue,onKeyDown:Rt(ue),onMouseDown:yo,onClick:xn}),getInputLabelProps:()=>({id:`${ee}-label`,htmlFor:ee}),getInputProps:()=>({id:ee,value:ft,onBlur:Pn,onFocus:vn,onChange:Gn,onMouseDown:hn,"aria-activedescendant":ct?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Ot?`${ee}-listbox`:void 0,"aria-expanded":Ot,autoComplete:"off",ref:le,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:w}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ye}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Yo}),getTagProps:({index:ue})=>({key:ue,"data-tag-index":ue,tabIndex:-1,...!q&&{onDelete:Fo(ue)}}),getListboxProps:()=>({role:"listbox",id:`${ee}-listbox`,"aria-labelledby":`${ee}-label`,ref:Ee,onMouseDown:ue=>{ue.preventDefault()}}),getOptionProps:({index:ue,option:fe})=>{const Re=(B?Ne:[Ne]).some(Ht=>Ht!=null&&N(fe,Ht)),ot=C?C(fe):!1;return{key:(O==null?void 0:O(fe))??se(fe),tabIndex:-1,role:"option",id:`${ee}-option-${ue}`,onMouseMove:bn,onClick:mo,onTouchStart:Lr,"data-option-index":ue,"aria-disabled":ot,"aria-selected":Re}},id:ee,inputValue:ft,value:Ne,dirty:Te,expanded:ct&&Ce,popupOpen:ct,focused:te||Pe!==-1,anchorEl:Ce,setAnchorEl:Le,focusedTag:Pe,groupedOptions:Ge}}var Or="top",po="bottom",vo="right",Dr="left",dg="auto",Ju=[Or,po,vo,Dr],Dl="start",Au="end",uS="clippingParents",s1="viewport",Dc="popper",fS="reference",I8=Ju.reduce(function(e,t){return e.concat([t+"-"+Dl,t+"-"+Au])},[]),i1=[].concat(Ju,[dg]).reduce(function(e,t){return e.concat([t,t+"-"+Dl,t+"-"+Au])},[]),dS="beforeRead",pS="read",vS="afterRead",hS="beforeMain",mS="main",yS="afterMain",gS="beforeWrite",AS="write",PS="afterWrite",bS=[dS,pS,vS,hS,mS,yS,gS,AS,PS];function us(e){return e?(e.nodeName||"").toLowerCase():null}function Ur(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ha(e){var t=Ur(e).Element;return e instanceof t||e instanceof Element}function fo(e){var t=Ur(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function pg(e){if(typeof ShadowRoot>"u")return!1;var t=Ur(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function xS(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},a=t.elements[n];!fo(a)||!us(a)||(Object.assign(a.style,r),Object.keys(s).forEach(function(l){var u=s[l];u===!1?a.removeAttribute(l):a.setAttribute(l,u===!0?"":u)}))})}function wS(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],a=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=l.reduce(function(f,p){return f[p]="",f},{});!fo(s)||!us(s)||(Object.assign(s.style,u),Object.keys(a).forEach(function(f){s.removeAttribute(f)}))})}}const HS={name:"applyStyles",enabled:!0,phase:"write",fn:xS,effect:wS,requires:["computeStyles"]};function ls(e){return e.split("-")[0]}var ca=Math.max,op=Math.min,kl=Math.round;function Km(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function a1(){return!/^((?!chrome|android).)*safari/i.test(Km())}function Tl(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,a=1;t&&fo(e)&&(s=e.offsetWidth>0&&kl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&kl(r.height)/e.offsetHeight||1);var l=ha(e)?Ur(e):window,u=l.visualViewport,f=!a1()&&n,p=(r.left+(f&&u?u.offsetLeft:0))/s,h=(r.top+(f&&u?u.offsetTop:0))/a,m=r.width/s,g=r.height/a;return{width:m,height:g,top:h,right:p+m,bottom:h+g,left:p,x:p,y:h}}function vg(e){var t=Tl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function l1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&pg(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ls(e){return Ur(e).getComputedStyle(e)}function jS(e){return["table","td","th"].indexOf(us(e))>=0}function Si(e){return((ha(e)?e.ownerDocument:e.document)||window.document).documentElement}function Lp(e){return us(e)==="html"?e:e.assignedSlot||e.parentNode||(pg(e)?e.host:null)||Si(e)}function W8(e){return!fo(e)||Ls(e).position==="fixed"?null:e.offsetParent}function zS(e){var t=/firefox/i.test(Km()),n=/Trident/i.test(Km());if(n&&fo(e)){var r=Ls(e);if(r.position==="fixed")return null}var s=Lp(e);for(pg(s)&&(s=s.host);fo(s)&&["html","body"].indexOf(us(s))<0;){var a=Ls(s);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return s;s=s.parentNode}return null}function Fu(e){for(var t=Ur(e),n=W8(e);n&&jS(n)&&Ls(n).position==="static";)n=W8(n);return n&&(us(n)==="html"||us(n)==="body"&&Ls(n).position==="static")?t:n||zS(e)||t}function hg(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function au(e,t,n){return ca(e,op(t,n))}function SS(e,t,n){var r=au(e,t,n);return r>n?n:r}function c1(){return{top:0,right:0,bottom:0,left:0}}function u1(e){return Object.assign({},c1(),e)}function f1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var CS=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,u1(typeof t!="number"?t:f1(t,Ju))};function OS(e){var t,n=e.state,r=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=ls(n.placement),f=hg(u),p=[Dr,vo].indexOf(u)>=0,h=p?"height":"width";if(!(!a||!l)){var m=CS(s.padding,n),g=vg(a),w=f==="y"?Or:Dr,A=f==="y"?po:vo,b=n.rects.reference[h]+n.rects.reference[f]-l[f]-n.rects.popper[h],j=l[f]-n.rects.reference[f],S=Fu(a),z=S?f==="y"?S.clientHeight||0:S.clientWidth||0:0,C=b/2-j/2,O=m[w],D=z-g[h]-m[A],T=z/2-g[h]/2+C,M=au(O,T,D),L=f;n.modifiersData[r]=(t={},t[L]=M,t.centerOffset=M-T,t)}}function DS(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||l1(t.elements.popper,s)&&(t.elements.arrow=s))}const kS={name:"arrow",enabled:!0,phase:"main",fn:OS,effect:DS,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function El(e){return e.split("-")[1]}var TS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ES(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:kl(n*s)/s||0,y:kl(r*s)/s||0}}function J8(e){var t,n=e.popper,r=e.popperRect,s=e.placement,a=e.variation,l=e.offsets,u=e.position,f=e.gpuAcceleration,p=e.adaptive,h=e.roundOffsets,m=e.isFixed,g=l.x,w=g===void 0?0:g,A=l.y,b=A===void 0?0:A,j=typeof h=="function"?h({x:w,y:b}):{x:w,y:b};w=j.x,b=j.y;var S=l.hasOwnProperty("x"),z=l.hasOwnProperty("y"),C=Dr,O=Or,D=window;if(p){var T=Fu(n),M="clientHeight",L="clientWidth";if(T===Ur(n)&&(T=Si(n),Ls(T).position!=="static"&&u==="absolute"&&(M="scrollHeight",L="scrollWidth")),T=T,s===Or||(s===Dr||s===vo)&&a===Au){O=po;var R=m&&T===D&&D.visualViewport?D.visualViewport.height:T[M];b-=R-r.height,b*=f?1:-1}if(s===Dr||(s===Or||s===po)&&a===Au){C=vo;var H=m&&T===D&&D.visualViewport?D.visualViewport.width:T[L];w-=H-r.width,w*=f?1:-1}}var N=Object.assign({position:u},p&&TS),B=h===!0?ES({x:w,y:b},Ur(n)):{x:w,y:b};if(w=B.x,b=B.y,f){var W;return Object.assign({},N,(W={},W[O]=z?"0":"",W[C]=S?"0":"",W.transform=(D.devicePixelRatio||1)<=1?"translate("+w+"px, "+b+"px)":"translate3d("+w+"px, "+b+"px, 0)",W))}return Object.assign({},N,(t={},t[O]=z?b+"px":"",t[C]=S?w+"px":"",t.transform="",t))}function RS(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,a=n.adaptive,l=a===void 0?!0:a,u=n.roundOffsets,f=u===void 0?!0:u,p={placement:ls(t.placement),variation:El(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,J8(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,J8(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const MS={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:RS,data:{}};var hd={passive:!0};function LS(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,a=s===void 0?!0:s,l=r.resize,u=l===void 0?!0:l,f=Ur(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach(function(h){h.addEventListener("scroll",n.update,hd)}),u&&f.addEventListener("resize",n.update,hd),function(){a&&p.forEach(function(h){h.removeEventListener("scroll",n.update,hd)}),u&&f.removeEventListener("resize",n.update,hd)}}const XS={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:LS,data:{}};var NS={left:"right",right:"left",bottom:"top",top:"bottom"};function Xd(e){return e.replace(/left|right|bottom|top/g,function(t){return NS[t]})}var BS={start:"end",end:"start"};function F8(e){return e.replace(/start|end/g,function(t){return BS[t]})}function mg(e){var t=Ur(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function yg(e){return Tl(Si(e)).left+mg(e).scrollLeft}function VS(e,t){var n=Ur(e),r=Si(e),s=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,f=0;if(s){a=s.width,l=s.height;var p=a1();(p||!p&&t==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:a,height:l,x:u+yg(e),y:f}}function IS(e){var t,n=Si(e),r=mg(e),s=(t=e.ownerDocument)==null?void 0:t.body,a=ca(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=ca(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),u=-r.scrollLeft+yg(e),f=-r.scrollTop;return Ls(s||n).direction==="rtl"&&(u+=ca(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:u,y:f}}function gg(e){var t=Ls(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function d1(e){return["html","body","#document"].indexOf(us(e))>=0?e.ownerDocument.body:fo(e)&&gg(e)?e:d1(Lp(e))}function lu(e,t){var n;t===void 0&&(t=[]);var r=d1(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),a=Ur(r),l=s?[a].concat(a.visualViewport||[],gg(r)?r:[]):r,u=t.concat(l);return s?u:u.concat(lu(Lp(l)))}function _m(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function WS(e,t){var n=Tl(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Y8(e,t,n){return t===s1?_m(VS(e,n)):ha(t)?WS(t,n):_m(IS(Si(e)))}function JS(e){var t=lu(Lp(e)),n=["absolute","fixed"].indexOf(Ls(e).position)>=0,r=n&&fo(e)?Fu(e):e;return ha(r)?t.filter(function(s){return ha(s)&&l1(s,r)&&us(s)!=="body"}):[]}function FS(e,t,n,r){var s=t==="clippingParents"?JS(e):[].concat(t),a=[].concat(s,[n]),l=a[0],u=a.reduce(function(f,p){var h=Y8(e,p,r);return f.top=ca(h.top,f.top),f.right=op(h.right,f.right),f.bottom=op(h.bottom,f.bottom),f.left=ca(h.left,f.left),f},Y8(e,l,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function p1(e){var t=e.reference,n=e.element,r=e.placement,s=r?ls(r):null,a=r?El(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(s){case Or:f={x:l,y:t.y-n.height};break;case po:f={x:l,y:t.y+t.height};break;case vo:f={x:t.x+t.width,y:u};break;case Dr:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var p=s?hg(s):null;if(p!=null){var h=p==="y"?"height":"width";switch(a){case Dl:f[p]=f[p]-(t[h]/2-n[h]/2);break;case Au:f[p]=f[p]+(t[h]/2-n[h]/2);break}}return f}function Pu(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,a=n.strategy,l=a===void 0?e.strategy:a,u=n.boundary,f=u===void 0?uS:u,p=n.rootBoundary,h=p===void 0?s1:p,m=n.elementContext,g=m===void 0?Dc:m,w=n.altBoundary,A=w===void 0?!1:w,b=n.padding,j=b===void 0?0:b,S=u1(typeof j!="number"?j:f1(j,Ju)),z=g===Dc?fS:Dc,C=e.rects.popper,O=e.elements[A?z:g],D=FS(ha(O)?O:O.contextElement||Si(e.elements.popper),f,h,l),T=Tl(e.elements.reference),M=p1({reference:T,element:C,placement:s}),L=_m(Object.assign({},C,M)),R=g===Dc?L:T,H={top:D.top-R.top+S.top,bottom:R.bottom-D.bottom+S.bottom,left:D.left-R.left+S.left,right:R.right-D.right+S.right},N=e.modifiersData.offset;if(g===Dc&&N){var B=N[s];Object.keys(H).forEach(function(W){var _=[vo,po].indexOf(W)>=0?1:-1,J=[Or,po].indexOf(W)>=0?"y":"x";H[W]+=B[J]*_})}return H}function YS(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,a=n.rootBoundary,l=n.padding,u=n.flipVariations,f=n.allowedAutoPlacements,p=f===void 0?i1:f,h=El(r),m=h?u?I8:I8.filter(function(A){return El(A)===h}):Ju,g=m.filter(function(A){return p.indexOf(A)>=0});g.length===0&&(g=m);var w=g.reduce(function(A,b){return A[b]=Pu(e,{placement:b,boundary:s,rootBoundary:a,padding:l})[ls(b)],A},{});return Object.keys(w).sort(function(A,b){return w[A]-w[b]})}function qS(e){if(ls(e)===dg)return[];var t=Xd(e);return[F8(e),t,F8(t)]}function ZS(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!0:l,f=n.fallbackPlacements,p=n.padding,h=n.boundary,m=n.rootBoundary,g=n.altBoundary,w=n.flipVariations,A=w===void 0?!0:w,b=n.allowedAutoPlacements,j=t.options.placement,S=ls(j),z=S===j,C=f||(z||!A?[Xd(j)]:qS(j)),O=[j].concat(C).reduce(function(ee,se){return ee.concat(ls(se)===dg?YS(t,{placement:se,boundary:h,rootBoundary:m,padding:p,flipVariations:A,allowedAutoPlacements:b}):se)},[]),D=t.rects.reference,T=t.rects.popper,M=new Map,L=!0,R=O[0],H=0;H=0,J=_?"width":"height",U=Pu(t,{placement:N,boundary:h,rootBoundary:m,altBoundary:g,padding:p}),oe=_?W?vo:Dr:W?po:Or;D[J]>T[J]&&(oe=Xd(oe));var K=Xd(oe),Z=[];if(a&&Z.push(U[B]<=0),u&&Z.push(U[oe]<=0,U[K]<=0),Z.every(function(ee){return ee})){R=N,L=!1;break}M.set(N,Z)}if(L)for(var E=A?3:1,q=function(se){var ae=O.find(function(ye){var le=M.get(ye);if(le)return le.slice(0,se).every(function(we){return we})});if(ae)return R=ae,"break"},X=E;X>0;X--){var $=q(X);if($==="break")break}t.placement!==R&&(t.modifiersData[r]._skip=!0,t.placement=R,t.reset=!0)}}const GS={name:"flip",enabled:!0,phase:"main",fn:ZS,requiresIfExists:["offset"],data:{_skip:!1}};function q8(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Z8(e){return[Or,vo,po,Dr].some(function(t){return e[t]>=0})}function US(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=Pu(t,{elementContext:"reference"}),u=Pu(t,{altBoundary:!0}),f=q8(l,r),p=q8(u,s,a),h=Z8(f),m=Z8(p);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:p,isReferenceHidden:h,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":m})}const QS={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:US};function KS(e,t,n){var r=ls(e),s=[Dr,Or].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],u=a[1];return l=l||0,u=(u||0)*s,[Dr,vo].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function _S(e){var t=e.state,n=e.options,r=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=i1.reduce(function(h,m){return h[m]=KS(m,t.rects,a),h},{}),u=l[t.placement],f=u.x,p=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=l}const $S={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:_S};function eC(e){var t=e.state,n=e.name;t.modifiersData[n]=p1({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const tC={name:"popperOffsets",enabled:!0,phase:"read",fn:eC,data:{}};function nC(e){return e==="x"?"y":"x"}function rC(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!1:l,f=n.boundary,p=n.rootBoundary,h=n.altBoundary,m=n.padding,g=n.tether,w=g===void 0?!0:g,A=n.tetherOffset,b=A===void 0?0:A,j=Pu(t,{boundary:f,rootBoundary:p,padding:m,altBoundary:h}),S=ls(t.placement),z=El(t.placement),C=!z,O=hg(S),D=nC(O),T=t.modifiersData.popperOffsets,M=t.rects.reference,L=t.rects.popper,R=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,H=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(T){if(a){var W,_=O==="y"?Or:Dr,J=O==="y"?po:vo,U=O==="y"?"height":"width",oe=T[O],K=oe+j[_],Z=oe-j[J],E=w?-L[U]/2:0,q=z===Dl?M[U]:L[U],X=z===Dl?-L[U]:-M[U],$=t.elements.arrow,ee=w&&$?vg($):{width:0,height:0},se=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:c1(),ae=se[_],ye=se[J],le=au(0,M[U],ee[U]),we=C?M[U]/2-E-le-ae-H.mainAxis:q-le-ae-H.mainAxis,Ce=C?-M[U]/2+E+le+ye+H.mainAxis:X+le+ye+H.mainAxis,Le=t.elements.arrow&&Fu(t.elements.arrow),Pe=Le?O==="y"?Le.clientTop||0:Le.clientLeft||0:0,Ve=(W=N==null?void 0:N[O])!=null?W:0,be=oe+we-Ve-Pe,Be=oe+Ce-Ve,Pt=au(w?op(K,be):K,oe,w?ca(Z,Be):Z);T[O]=Pt,B[O]=Pt-oe}if(u){var Ne,gt=O==="x"?Or:Dr,ft=O==="x"?po:vo,V=T[D],te=D==="y"?"height":"width",ne=V+j[gt],He=V-j[ft],he=[Or,Dr].indexOf(S)!==-1,xe=(Ne=N==null?void 0:N[D])!=null?Ne:0,Ie=he?ne:V-M[te]-L[te]-xe+H.altAxis,lt=he?V+M[te]+L[te]-xe-H.altAxis:He,Fe=w&&he?SS(Ie,V,lt):au(w?Ie:ne,V,w?lt:He);T[D]=Fe,B[D]=Fe-V}t.modifiersData[r]=B}}const oC={name:"preventOverflow",enabled:!0,phase:"main",fn:rC,requiresIfExists:["offset"]};function sC(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function iC(e){return e===Ur(e)||!fo(e)?mg(e):sC(e)}function aC(e){var t=e.getBoundingClientRect(),n=kl(t.width)/e.offsetWidth||1,r=kl(t.height)/e.offsetHeight||1;return n!==1||r!==1}function lC(e,t,n){n===void 0&&(n=!1);var r=fo(t),s=fo(t)&&aC(t),a=Si(t),l=Tl(e,s,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((us(t)!=="body"||gg(a))&&(u=iC(t)),fo(t)?(f=Tl(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=yg(a))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function cC(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function s(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var f=t.get(u);f&&s(f)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||s(a)}),r}function uC(e){var t=cC(e);return bS.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function fC(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function dC(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var G8={placement:"bottom",modifiers:[],strategy:"absolute"};function U8(){for(var e=arguments.length,t=new Array(e),n=0;n{a||u(mC(s)||document.body)},[s,a]),Zr(()=>{if(l&&!a)return Jm(n,l),()=>{Jm(n,null)}},[n,l,a]),a){if(P.isValidElement(r)){const p={ref:f};return P.cloneElement(r,p)}return r}return l&&r1.createPortal(r,l)});function yC(e){return Qe("MuiPopper",e)}Ke("MuiPopper",["root"]);function gC(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function $m(e){return typeof e=="function"?e():e}function AC(e){return e.nodeType!==void 0}const PC=e=>{const{classes:t}=e;return _e({root:["root"]},yC,t)},bC={},xC=P.forwardRef(function(t,n){const{anchorEl:r,children:s,direction:a,disablePortal:l,modifiers:u,open:f,placement:p,popperOptions:h,popperRef:m,slotProps:g={},slots:w={},TransitionProps:A,ownerState:b,...j}=t,S=P.useRef(null),z=pn(S,n),C=P.useRef(null),O=pn(C,m),D=P.useRef(O);Zr(()=>{D.current=O},[O]),P.useImperativeHandle(m,()=>C.current,[]);const T=gC(p,a),[M,L]=P.useState(T),[R,H]=P.useState($m(r));P.useEffect(()=>{C.current&&C.current.forceUpdate()}),P.useEffect(()=>{r&&H($m(r))},[r]),Zr(()=>{if(!R||!f)return;const J=K=>{L(K.placement)};let U=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:K})=>{J(K)}}];u!=null&&(U=U.concat(u)),h&&h.modifiers!=null&&(U=U.concat(h.modifiers));const oe=hC(R,S.current,{placement:T,...h,modifiers:U});return D.current(oe),()=>{oe.destroy(),D.current(null)}},[R,l,u,f,h,T]);const N={placement:M};A!==null&&(N.TransitionProps=A);const B=PC(t),W=w.root??"div",_=W0({elementType:W,externalSlotProps:g.root,externalForwardedProps:j,additionalProps:{role:"tooltip",ref:z},ownerState:t,className:B.root});return v.jsx(W,{..._,children:typeof s=="function"?s(N):s})}),wC=P.forwardRef(function(t,n){const{anchorEl:r,children:s,container:a,direction:l="ltr",disablePortal:u=!1,keepMounted:f=!1,modifiers:p,open:h,placement:m="bottom",popperOptions:g=bC,popperRef:w,style:A,transition:b=!1,slotProps:j={},slots:S={},...z}=t,[C,O]=P.useState(!0),D=()=>{O(!1)},T=()=>{O(!0)};if(!f&&!h&&(!b||C))return null;let M;if(a)M=a;else if(r){const H=$m(r);M=H&&AC(H)?lr(H).body:lr(null).body}const L=!h&&f&&(!b||C)?"none":void 0,R=b?{in:h,onEnter:D,onExited:T}:void 0;return v.jsx(v1,{disablePortal:u,container:M,children:v.jsx(xC,{anchorEl:r,direction:l,disablePortal:u,modifiers:p,ref:n,open:b?!C:h,placement:m,popperOptions:g,popperRef:w,slotProps:j,slots:S,...z,style:{position:"fixed",top:0,left:0,display:L,...A},TransitionProps:R,children:s})})}),HC=pe(wC,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Xp=P.forwardRef(function(t,n){const r=Iu(),s=rt({props:t,name:"MuiPopper"}),{anchorEl:a,component:l,components:u,componentsProps:f,container:p,disablePortal:h,keepMounted:m,modifiers:g,open:w,placement:A,popperOptions:b,popperRef:j,transition:S,slots:z,slotProps:C,...O}=s,D=(z==null?void 0:z.root)??(u==null?void 0:u.Root),T={anchorEl:a,container:p,disablePortal:h,keepMounted:m,modifiers:g,open:w,placement:A,popperOptions:b,popperRef:j,transition:S,...O};return v.jsx(HC,{as:l,direction:r?"rtl":"ltr",slots:{root:D},slotProps:C??f,...T,ref:n})});function jC(e){return Qe("MuiListSubheader",e)}Ke("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const zC=e=>{const{classes:t,color:n,disableGutters:r,inset:s,disableSticky:a}=e,l={root:["root",n!=="default"&&`color${me(n)}`,!r&&"gutters",s&&"inset",!a&&"sticky"]};return _e(l,jC,t)},SC=pe("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${me(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(nt(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),ey=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiListSubheader"}),{className:s,color:a="default",component:l="li",disableGutters:u=!1,disableSticky:f=!1,inset:p=!1,...h}=r,m={...r,color:a,component:l,disableGutters:u,disableSticky:f,inset:p},g=zC(m);return v.jsx(SC,{as:l,className:Oe(g.root,s),ref:n,ownerState:m,...h})});ey&&(ey.muiSkipListHighlight=!0);const CC=bt(v.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function OC(e){return Qe("MuiChip",e)}const Lt=Ke("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),DC=e=>{const{classes:t,disabled:n,size:r,color:s,iconColor:a,onDelete:l,clickable:u,variant:f}=e,p={root:["root",f,n&&"disabled",`size${me(r)}`,`color${me(s)}`,u&&"clickable",u&&`clickableColor${me(s)}`,l&&"deletable",l&&`deletableColor${me(s)}`,`${f}${me(s)}`],label:["label",`label${me(r)}`],avatar:["avatar",`avatar${me(r)}`,`avatarColor${me(s)}`],icon:["icon",`icon${me(r)}`,`iconColor${me(a)}`],deleteIcon:["deleteIcon",`deleteIcon${me(r)}`,`deleteIconColor${me(s)}`,`deleteIcon${me(f)}Color${me(s)}`]};return _e(p,OC,t)},kC=pe("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:s,clickable:a,onDelete:l,size:u,variant:f}=n;return[{[`& .${Lt.avatar}`]:t.avatar},{[`& .${Lt.avatar}`]:t[`avatar${me(u)}`]},{[`& .${Lt.avatar}`]:t[`avatarColor${me(r)}`]},{[`& .${Lt.icon}`]:t.icon},{[`& .${Lt.icon}`]:t[`icon${me(u)}`]},{[`& .${Lt.icon}`]:t[`iconColor${me(s)}`]},{[`& .${Lt.deleteIcon}`]:t.deleteIcon},{[`& .${Lt.deleteIcon}`]:t[`deleteIcon${me(u)}`]},{[`& .${Lt.deleteIcon}`]:t[`deleteIconColor${me(r)}`]},{[`& .${Lt.deleteIcon}`]:t[`deleteIcon${me(f)}Color${me(r)}`]},t.root,t[`size${me(u)}`],t[`color${me(r)}`],a&&t.clickable,a&&r!=="default"&&t[`clickableColor${me(r)})`],l&&t.deletable,l&&r!=="default"&&t[`deletableColor${me(r)}`],t[f],t[`${f}${me(r)}`]]}})(nt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Lt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Lt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Lt.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Lt.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Lt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Lt.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Lt.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:xt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:xt(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Lt.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Lt.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(gn(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Lt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:xt(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Lt.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Lt.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Lt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(gn(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Lt.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Lt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(gn(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Lt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Lt.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Lt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Lt.avatar}`]:{marginLeft:4},[`& .${Lt.avatarSmall}`]:{marginLeft:2},[`& .${Lt.icon}`]:{marginLeft:4},[`& .${Lt.iconSmall}`]:{marginLeft:2},[`& .${Lt.deleteIcon}`]:{marginRight:5},[`& .${Lt.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(gn()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:xt(e.palette[n].main,.7)}`,[`&.${Lt.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${Lt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:xt(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${Lt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:xt(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),TC=pe("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${me(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function Q8(e){return e.key==="Backspace"||e.key==="Delete"}const Yu=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiChip"}),{avatar:s,className:a,clickable:l,color:u="default",component:f,deleteIcon:p,disabled:h=!1,icon:m,label:g,onClick:w,onDelete:A,onKeyDown:b,onKeyUp:j,size:S="medium",variant:z="filled",tabIndex:C,skipFocusWhenDisabled:O=!1,...D}=r,T=P.useRef(null),M=pn(T,n),L=Z=>{Z.stopPropagation(),A&&A(Z)},R=Z=>{Z.currentTarget===Z.target&&Q8(Z)&&Z.preventDefault(),b&&b(Z)},H=Z=>{Z.currentTarget===Z.target&&A&&Q8(Z)&&A(Z),j&&j(Z)},N=l!==!1&&w?!0:l,B=N||A?va:f||"div",W={...r,component:B,disabled:h,size:S,color:u,iconColor:P.isValidElement(m)&&m.props.color||u,onDelete:!!A,clickable:N,variant:z},_=DC(W),J=B===va?{component:f||"div",focusVisibleClassName:_.focusVisible,...A&&{disableRipple:!0}}:{};let U=null;A&&(U=p&&P.isValidElement(p)?P.cloneElement(p,{className:Oe(p.props.className,_.deleteIcon),onClick:L}):v.jsx(CC,{className:Oe(_.deleteIcon),onClick:L}));let oe=null;s&&P.isValidElement(s)&&(oe=P.cloneElement(s,{className:Oe(_.avatar,s.props.className)}));let K=null;return m&&P.isValidElement(m)&&(K=P.cloneElement(m,{className:Oe(_.icon,m.props.className)})),v.jsxs(kC,{as:B,className:Oe(_.root,a),disabled:N&&h?!0:void 0,onClick:w,onKeyDown:R,onKeyUp:H,ref:M,tabIndex:O&&h?-1:C,ownerState:W,...J,...D,children:[oe||K,v.jsx(TC,{className:Oe(_.label),ownerState:W,children:g}),U]})});function md(e){return parseInt(e,10)||0}const EC={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function RC(e){for(const t in e)return!1;return!0}function K8(e){return RC(e)||e.outerHeightStyle===0&&!e.overflowing}const MC=P.forwardRef(function(t,n){const{onChange:r,maxRows:s,minRows:a=1,style:l,value:u,...f}=t,{current:p}=P.useRef(u!=null),h=P.useRef(null),m=pn(n,h),g=P.useRef(null),w=P.useRef(null),A=P.useCallback(()=>{const C=h.current,O=w.current;if(!C||!O)return;const T=Lo(C).getComputedStyle(C);if(T.width==="0px")return{outerHeightStyle:0,overflowing:!1};O.style.width=T.width,O.value=C.value||t.placeholder||"x",O.value.slice(-1)===` -`&&(O.value+=" ");const M=T.boxSizing,L=md(T.paddingBottom)+md(T.paddingTop),R=md(T.borderBottomWidth)+md(T.borderTopWidth),H=O.scrollHeight;O.value="x";const N=O.scrollHeight;let B=H;a&&(B=Math.max(Number(a)*N,B)),s&&(B=Math.min(Number(s)*N,B)),B=Math.max(B,N);const W=B+(M==="border-box"?L+R:0),_=Math.abs(B-H)<=1;return{outerHeightStyle:W,overflowing:_}},[s,a,t.placeholder]),b=ar(()=>{const C=h.current,O=A();if(!C||!O||K8(O))return!1;const D=O.outerHeightStyle;return g.current!=null&&g.current!==D}),j=P.useCallback(()=>{const C=h.current,O=A();if(!C||!O||K8(O))return;const D=O.outerHeightStyle;g.current!==D&&(g.current=D,C.style.height=`${D}px`),C.style.overflow=O.overflowing?"hidden":""},[A]),S=P.useRef(-1);Zr(()=>{const C=eg(j),O=h==null?void 0:h.current;if(!O)return;const D=Lo(O);D.addEventListener("resize",C);let T;return typeof ResizeObserver<"u"&&(T=new ResizeObserver(()=>{b()&&(T.unobserve(O),cancelAnimationFrame(S.current),j(),S.current=requestAnimationFrame(()=>{T.observe(O)}))}),T.observe(O)),()=>{C.clear(),cancelAnimationFrame(S.current),D.removeEventListener("resize",C),T&&T.disconnect()}},[A,j,b]),Zr(()=>{j()});const z=C=>{p||j(),r&&r(C)};return v.jsxs(P.Fragment,{children:[v.jsx("textarea",{value:u,onChange:z,ref:m,rows:a,style:l,...f}),v.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:w,tabIndex:-1,style:{...EC.shadow,...l,paddingTop:0,paddingBottom:0}})]})});function bu(e){return typeof e=="string"}function Ci({props:e,states:t,muiFormControl:n}){return t.reduce((r,s)=>(r[s]=e[s],n&&typeof e[s]>"u"&&(r[s]=n[s]),r),{})}const Np=P.createContext(void 0);function Io(){return P.useContext(Np)}function _8(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function sp(e,t=!1){return e&&(_8(e.value)&&e.value!==""||t&&_8(e.defaultValue)&&e.defaultValue!=="")}function LC(e){return e.startAdornment}function XC(e){return Qe("MuiInputBase",e)}const Wr=Ke("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var $8;const Bp=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${me(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Vp=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},NC=e=>{const{classes:t,color:n,disabled:r,error:s,endAdornment:a,focused:l,formControl:u,fullWidth:f,hiddenLabel:p,multiline:h,readOnly:m,size:g,startAdornment:w,type:A}=e,b={root:["root",`color${me(n)}`,r&&"disabled",s&&"error",f&&"fullWidth",l&&"focused",u&&"formControl",g&&g!=="medium"&&`size${me(g)}`,h&&"multiline",w&&"adornedStart",a&&"adornedEnd",p&&"hiddenLabel",m&&"readOnly"],input:["input",r&&"disabled",A==="search"&&"inputTypeSearch",h&&"inputMultiline",g==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",w&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return _e(b,XC,t)},Ip=pe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Bp})(nt(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Wr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Wp=pe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Vp})(nt(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},s=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Wr.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${Wr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),ex=sg({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Jp=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:a,autoFocus:l,className:u,color:f,components:p={},componentsProps:h={},defaultValue:m,disabled:g,disableInjectingGlobalStyles:w,endAdornment:A,error:b,fullWidth:j=!1,id:S,inputComponent:z="input",inputProps:C={},inputRef:O,margin:D,maxRows:T,minRows:M,multiline:L=!1,name:R,onBlur:H,onChange:N,onClick:B,onFocus:W,onKeyDown:_,onKeyUp:J,placeholder:U,readOnly:oe,renderSuffix:K,rows:Z,size:E,slotProps:q={},slots:X={},startAdornment:$,type:ee="text",value:se,...ae}=r,ye=C.value!=null?C.value:se,{current:le}=P.useRef(ye!=null),we=P.useRef(),Ce=P.useCallback(We=>{},[]),Le=pn(we,O,C.ref,Ce),[Pe,Ve]=P.useState(!1),be=Io(),Be=Ci({props:r,muiFormControl:be,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Be.focused=be?be.focused:Pe,P.useEffect(()=>{!be&&g&&Pe&&(Ve(!1),H&&H())},[be,g,Pe,H]);const Pt=be&&be.onFilled,Ne=be&&be.onEmpty,gt=P.useCallback(We=>{sp(We)?Pt&&Pt():Ne&&Ne()},[Pt,Ne]);Zr(()=>{le&>({value:ye})},[ye,gt,le]);const ft=We=>{W&&W(We),C.onFocus&&C.onFocus(We),be&&be.onFocus?be.onFocus(We):Ve(!0)},V=We=>{H&&H(We),C.onBlur&&C.onBlur(We),be&&be.onBlur?be.onBlur(We):Ve(!1)},te=(We,...Ot)=>{if(!le){const zt=We.target||we.current;if(zt==null)throw new Error(Rs(1));gt({value:zt.value})}C.onChange&&C.onChange(We,...Ot),N&&N(We,...Ot)};P.useEffect(()=>{gt(we.current)},[]);const ne=We=>{we.current&&We.currentTarget===We.target&&we.current.focus(),B&&B(We)};let He=z,he=C;L&&He==="input"&&(Z?he={type:void 0,minRows:Z,maxRows:Z,...he}:he={type:void 0,maxRows:T,minRows:M,...he},He=MC);const xe=We=>{gt(We.animationName==="mui-auto-fill-cancel"?we.current:{value:"x"})};P.useEffect(()=>{be&&be.setAdornedStart(!!$)},[be,$]);const Ie={...r,color:Be.color||"primary",disabled:Be.disabled,endAdornment:A,error:Be.error,focused:Be.focused,formControl:be,fullWidth:j,hiddenLabel:Be.hiddenLabel,multiline:L,size:Be.size,startAdornment:$,type:ee},lt=NC(Ie),Fe=X.root||p.Root||Ip,ct=q.root||h.root||{},et=X.input||p.Input||Wp;return he={...he,...q.input??h.input},v.jsxs(P.Fragment,{children:[!w&&typeof ex=="function"&&($8||($8=v.jsx(ex,{}))),v.jsxs(Fe,{...ct,ref:n,onClick:ne,...ae,...!bu(Fe)&&{ownerState:{...Ie,...ct.ownerState}},className:Oe(lt.root,ct.className,u,oe&&"MuiInputBase-readOnly"),children:[$,v.jsx(Np.Provider,{value:null,children:v.jsx(et,{"aria-invalid":Be.error,"aria-describedby":s,autoComplete:a,autoFocus:l,defaultValue:m,disabled:Be.disabled,id:S,onAnimationStart:xe,name:R,placeholder:U,readOnly:oe,required:Be.required,rows:Z,value:ye,onKeyDown:_,onKeyUp:J,type:ee,...he,...!bu(et)&&{as:He,ownerState:{...Ie,...he.ownerState}},ref:Le,className:Oe(lt.input,he.className,oe&&"MuiInputBase-readOnly"),onBlur:V,onChange:te,onFocus:ft})}),A,K?K({...Be,startAdornment:$}):null]})]})});function BC(e){return Qe("MuiInput",e)}const ci={...Wr,...Ke("MuiInput",["root","underline","input"])};function VC(e){return Qe("MuiOutlinedInput",e)}const so={...Wr,...Ke("MuiOutlinedInput",["root","notchedOutline","input"])};function IC(e){return Qe("MuiFilledInput",e)}const Jr={...Wr,...Ke("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},h1=bt(v.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function WC(e){return Qe("MuiAutocomplete",e)}const kt=Ke("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var tx,nx;const JC=e=>{const{classes:t,disablePortal:n,expanded:r,focused:s,fullWidth:a,hasClearIcon:l,hasPopupIcon:u,inputFocused:f,popupOpen:p,size:h}=e,m={root:["root",r&&"expanded",s&&"focused",a&&"fullWidth",l&&"hasClearIcon",u&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",f&&"inputFocused"],tag:["tag",`tagSize${me(h)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",p&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return _e(m,WC,t)},FC=pe("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:s,hasPopupIcon:a,inputFocused:l,size:u}=n;return[{[`& .${kt.tag}`]:t.tag},{[`& .${kt.tag}`]:t[`tagSize${me(u)}`]},{[`& .${kt.inputRoot}`]:t.inputRoot},{[`& .${kt.input}`]:t.input},{[`& .${kt.input}`]:l&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,s&&t.hasClearIcon]}})({[`&.${kt.focused} .${kt.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${kt.clearIndicator}`]:{visibility:"visible"}},[`& .${kt.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${kt.inputRoot}`]:{[`.${kt.hasPopupIcon}&, .${kt.hasClearIcon}&`]:{paddingRight:30},[`.${kt.hasPopupIcon}.${kt.hasClearIcon}&`]:{paddingRight:56},[`& .${kt.input}`]:{width:0,minWidth:30}},[`& .${ci.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${ci.root}.${Wr.sizeSmall}`]:{[`& .${ci.input}`]:{padding:"2px 4px 3px 0"}},[`& .${so.root}`]:{padding:9,[`.${kt.hasPopupIcon}&, .${kt.hasClearIcon}&`]:{paddingRight:39},[`.${kt.hasPopupIcon}.${kt.hasClearIcon}&`]:{paddingRight:65},[`& .${kt.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${kt.endAdornment}`]:{right:9}},[`& .${so.root}.${Wr.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${kt.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Jr.root}`]:{paddingTop:19,paddingLeft:8,[`.${kt.hasPopupIcon}&, .${kt.hasClearIcon}&`]:{paddingRight:39},[`.${kt.hasPopupIcon}.${kt.hasClearIcon}&`]:{paddingRight:65},[`& .${Jr.input}`]:{padding:"7px 4px"},[`& .${kt.endAdornment}`]:{right:9}},[`& .${Jr.root}.${Wr.sizeSmall}`]:{paddingBottom:1,[`& .${Jr.input}`]:{padding:"2.5px 4px"}},[`& .${Wr.hiddenLabel}`]:{paddingTop:8},[`& .${Jr.root}.${Wr.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${kt.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Jr.root}.${Wr.hiddenLabel}.${Wr.sizeSmall}`]:{[`& .${kt.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${kt.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${kt.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${kt.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${kt.inputRoot}`]:{flexWrap:"wrap"}}}]}),YC=pe("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),qC=pe(Cr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),ZC=pe(Cr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),GC=pe(Xp,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${kt.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(nt(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),UC=pe(Gr,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(nt(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),QC=pe("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(nt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),KC=pe("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(nt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),_C=pe("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(nt(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${kt.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${kt.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${kt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${kt.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${kt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),$C=pe(ey,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(nt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),eO=pe("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${kt.option}`]:{paddingLeft:24}}),tO=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:u=!1,ChipProps:f,className:p,clearIcon:h=tx||(tx=v.jsx(o1,{fontSize:"small"})),clearOnBlur:m=!r.freeSolo,clearOnEscape:g=!1,clearText:w="Clear",closeText:A="Close",componentsProps:b,defaultValue:j=r.multiple?[]:null,disableClearable:S=!1,disableCloseOnSelect:z=!1,disabled:C=!1,disabledItemsFocusable:O=!1,disableListWrap:D=!1,disablePortal:T=!1,filterOptions:M,filterSelectedOptions:L=!1,forcePopupIcon:R="auto",freeSolo:H=!1,fullWidth:N=!1,getLimitTagsText:B=Nt=>`+${Nt}`,getOptionDisabled:W,getOptionKey:_,getOptionLabel:J,isOptionEqualToValue:U,groupBy:oe,handleHomeEndKeys:K=!r.freeSolo,id:Z,includeInputInList:E=!1,inputValue:q,limitTags:X=-1,ListboxComponent:$,ListboxProps:ee,loading:se=!1,loadingText:ae="Loading…",multiple:ye=!1,noOptionsText:le="No options",onChange:we,onClose:Ce,onHighlightChange:Le,onInputChange:Pe,onOpen:Ve,open:be,openOnFocus:Be=!1,openText:Pt="Open",options:Ne,PaperComponent:gt,PopperComponent:ft,popupIcon:V=nx||(nx=v.jsx(h1,{})),readOnly:te=!1,renderGroup:ne,renderInput:He,renderOption:he,renderTags:xe,selectOnFocus:Ie=!r.freeSolo,size:lt="medium",slots:Fe={},slotProps:ct={},value:et,...We}=r,{getRootProps:Ot,getInputProps:zt,getInputLabelProps:qt,getPopupIndicatorProps:Y,getClearProps:F,getTagProps:ge,getListboxProps:je,getOptionProps:Ee,value:Xe,dirty:Ze,expanded:ke,id:st,popupOpen:vt,focused:Xt,focusedTag:Qt,anchorEl:Ye,setAnchorEl:Rt,inputValue:vn,groupedOptions:Pn}=cS({...r,componentName:"Autocomplete"}),Gn=!S&&!C&&Ze&&!te,bn=(!H||R===!0)&&R!==!1,{onMouseDown:Lr}=zt(),{ref:mo,...Fo}=je(),yo=J||(Nt=>Nt.label??Nt),xn={...r,disablePortal:T,expanded:ke,focused:Xt,fullWidth:N,getOptionLabel:yo,hasClearIcon:Gn,hasPopupIcon:bn,inputFocused:Qt===-1,popupOpen:vt,size:lt},hn=JC(xn),Te={slots:{paper:gt,popper:ft,...Fe},slotProps:{chip:f,listbox:ee,...b,...ct}},[Ge,ue]=pt("listbox",{elementType:_C,externalForwardedProps:Te,ownerState:xn,className:hn.listbox,additionalProps:Fo,ref:mo}),[fe,Re]=pt("paper",{elementType:Gr,externalForwardedProps:Te,ownerState:xn,className:hn.paper}),[ot,Ht]=pt("popper",{elementType:Xp,externalForwardedProps:Te,ownerState:xn,className:hn.popper,additionalProps:{disablePortal:T,style:{width:Ye?Ye.clientWidth:null},role:"presentation",anchorEl:Ye,open:vt}});let It;if(ye&&Xe.length>0){const Nt=Kr=>({className:hn.tag,disabled:C,...ge(Kr)});xe?It=xe(Xe,Nt,xn):It=Xe.map((Kr,go)=>{const{key:qo,..._r}=Nt({index:go});return v.jsx(Yu,{label:yo(Kr),size:lt,..._r,...Te.slotProps.chip},qo)})}if(X>-1&&Array.isArray(It)){const Nt=It.length-X;!Xt&&Nt>0&&(It=It.splice(0,X),It.push(v.jsx("span",{className:hn.tag,children:B(Nt)},It.length)))}const Xn=ne||(Nt=>v.jsxs("li",{children:[v.jsx($C,{className:hn.groupLabel,ownerState:xn,component:"div",children:Nt.group}),v.jsx(eO,{className:hn.groupUl,ownerState:xn,children:Nt.children})]},Nt.key)),nn=he||((Nt,Kr)=>{const{key:go,...qo}=Nt;return v.jsx("li",{...qo,children:yo(Kr)},go)}),Di=(Nt,Kr)=>{const go=Ee({option:Nt,index:Kr});return nn({...go,className:hn.option},Nt,{selected:go["aria-selected"],index:Kr,inputValue:vn},xn)},Vs=Te.slotProps.clearIndicator,ki=Te.slotProps.popupIndicator;return v.jsxs(P.Fragment,{children:[v.jsx(FC,{ref:n,className:Oe(hn.root,p),ownerState:xn,...Ot(We),children:He({id:st,disabled:C,fullWidth:!0,size:lt==="small"?"small":void 0,InputLabelProps:qt(),InputProps:{ref:Rt,className:hn.inputRoot,startAdornment:It,onMouseDown:Nt=>{Nt.target===Nt.currentTarget&&Lr(Nt)},...(Gn||bn)&&{endAdornment:v.jsxs(YC,{className:hn.endAdornment,ownerState:xn,children:[Gn?v.jsx(qC,{...F(),"aria-label":w,title:w,ownerState:xn,...Vs,className:Oe(hn.clearIndicator,Vs==null?void 0:Vs.className),children:h}):null,bn?v.jsx(ZC,{...Y(),disabled:C,"aria-label":vt?A:Pt,title:vt?A:Pt,ownerState:xn,...ki,className:Oe(hn.popupIndicator,ki==null?void 0:ki.className),children:V}):null]})}},inputProps:{className:hn.input,disabled:C,readOnly:te,...zt()}})}),Ye?v.jsx(GC,{as:ot,...Ht,children:v.jsxs(UC,{as:fe,...Re,children:[se&&Pn.length===0?v.jsx(QC,{className:hn.loading,ownerState:xn,children:ae}):null,Pn.length===0&&!H&&!se?v.jsx(KC,{className:hn.noOptions,ownerState:xn,role:"presentation",onMouseDown:Nt=>{Nt.preventDefault()},children:le}):null,Pn.length>0?v.jsx(Ge,{as:$,...ue,children:Pn.map((Nt,Kr)=>oe?Xn({key:Nt.key,group:Nt.group,children:Nt.options.map((go,qo)=>Di(go,Nt.index+qo))}):Di(Nt,Kr))}):null]})}):null]})}),nO={entering:{opacity:1},entered:{opacity:1}},ty=P.forwardRef(function(t,n){const r=Qr(),s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:l=!0,children:u,easing:f,in:p,onEnter:h,onEntered:m,onEntering:g,onExit:w,onExited:A,onExiting:b,style:j,timeout:S=s,TransitionComponent:z=Vo,...C}=t,O=P.useRef(null),D=pn(O,zi(u),n),T=_=>J=>{if(_){const U=O.current;J===void 0?_(U):_(U,J)}},M=T(g),L=T((_,J)=>{ug(_);const U=Ol({style:j,timeout:S,easing:f},{mode:"enter"});_.style.webkitTransition=r.transitions.create("opacity",U),_.style.transition=r.transitions.create("opacity",U),h&&h(_,J)}),R=T(m),H=T(b),N=T(_=>{const J=Ol({style:j,timeout:S,easing:f},{mode:"exit"});_.style.webkitTransition=r.transitions.create("opacity",J),_.style.transition=r.transitions.create("opacity",J),w&&w(_)}),B=T(A),W=_=>{a&&a(O.current,_)};return v.jsx(z,{appear:l,in:p,nodeRef:O,onEnter:L,onEntered:R,onEntering:M,onExit:N,onExited:B,onExiting:H,addEndListener:W,timeout:S,...C,children:(_,{ownerState:J,...U})=>P.cloneElement(u,{style:{opacity:0,visibility:_==="exited"&&!p?"hidden":void 0,...nO[_],...j,...u.props.style},ref:D,...U})})});function rO(e){return Qe("MuiBackdrop",e)}Ke("MuiBackdrop",["root","invisible"]);const oO=e=>{const{classes:t,invisible:n}=e;return _e({root:["root",n&&"invisible"]},rO,t)},sO=pe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),m1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",invisible:u=!1,open:f,components:p={},componentsProps:h={},slotProps:m={},slots:g={},TransitionComponent:w,transitionDuration:A,...b}=r,j={...r,component:l,invisible:u},S=oO(j),z={transition:w,root:p.Root,...g},C={...h,...m},O={slots:z,slotProps:C},[D,T]=pt("root",{elementType:sO,externalForwardedProps:O,className:Oe(S.root,a),ownerState:j}),[M,L]=pt("transition",{elementType:ty,externalForwardedProps:O,ownerState:j});return v.jsx(M,{in:f,timeout:A,...b,...L,children:v.jsx(D,{"aria-hidden":!0,...T,classes:S,ref:n,children:s})})}),iO=Ke("MuiBox",["root"]),aO=Wu(),At=mH({themeId:uo,defaultTheme:aO,defaultClassName:iO.root,generateClassName:z0.generate});function lO(e){return Qe("MuiButton",e)}const Fi=Ke("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),y1=P.createContext({}),cO=P.createContext(void 0),uO=e=>{const{color:t,disableElevation:n,fullWidth:r,size:s,variant:a,loading:l,loadingPosition:u,classes:f}=e,p={root:["root",l&&"loading",a,`${a}${me(t)}`,`size${me(s)}`,`${a}Size${me(s)}`,`color${me(t)}`,n&&"disableElevation",r&&"fullWidth",l&&`loadingPosition${me(u)}`],startIcon:["icon","startIcon",`iconSize${me(s)}`],endIcon:["icon","endIcon",`iconSize${me(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},h=_e(p,lO,f);return{...f,...h}},g1=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],fO=pe(va,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${me(n.color)}`],t[`size${me(n.size)}`],t[`${n.variant}Size${me(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(nt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Fi.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Fi.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Fi.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Fi.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(gn()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.5)`:xt(e.palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[r].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[r].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Fi.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Fi.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Fi.loading}`]:{color:"transparent"}}}]}})),dO=pe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${me(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...g1]})),pO=pe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${me(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...g1]})),vO=pe("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),rx=pe("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Bt=P.forwardRef(function(t,n){const r=P.useContext(y1),s=P.useContext(cO),a=Sl(r,t),l=rt({props:a,name:"MuiButton"}),{children:u,color:f="primary",component:p="button",className:h,disabled:m=!1,disableElevation:g=!1,disableFocusRipple:w=!1,endIcon:A,focusVisibleClassName:b,fullWidth:j=!1,id:S,loading:z=null,loadingIndicator:C,loadingPosition:O="center",size:D="medium",startIcon:T,type:M,variant:L="text",...R}=l,H=Xo(S),N=C??v.jsx(Nl,{"aria-labelledby":H,color:"inherit",size:16}),B={...l,color:f,component:p,disabled:m,disableElevation:g,disableFocusRipple:w,fullWidth:j,loading:z,loadingIndicator:N,loadingPosition:O,size:D,type:M,variant:L},W=uO(B),_=(T||z&&O==="start")&&v.jsx(dO,{className:W.startIcon,ownerState:B,children:T||v.jsx(rx,{className:W.loadingIconPlaceholder,ownerState:B})}),J=(A||z&&O==="end")&&v.jsx(pO,{className:W.endIcon,ownerState:B,children:A||v.jsx(rx,{className:W.loadingIconPlaceholder,ownerState:B})}),U=s||"",oe=typeof z=="boolean"?v.jsx("span",{className:W.loadingWrapper,style:{display:"contents"},children:z&&v.jsx(vO,{className:W.loadingIndicator,ownerState:B,children:N})}):null;return v.jsxs(fO,{ownerState:B,className:Oe(r.className,W.root,h,U),component:p,disabled:m||z,focusRipple:!w,focusVisibleClassName:Oe(W.focusVisible,b),ref:n,type:M,id:z?H:S,...R,classes:W,children:[_,O!=="end"&&oe,u,O==="end"&&oe,J]})});function hO(e){return Qe("MuiCard",e)}Ke("MuiCard",["root"]);const mO=e=>{const{classes:t}=e;return _e({root:["root"]},hO,t)},yO=pe(Gr,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),A1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCard"}),{className:s,raised:a=!1,...l}=r,u={...r,raised:a},f=mO(u);return v.jsx(yO,{className:Oe(f.root,s),elevation:a?8:void 0,ref:n,ownerState:u,...l})});function gO(e){return Qe("MuiCardContent",e)}Ke("MuiCardContent",["root"]);const AO=e=>{const{classes:t}=e;return _e({root:["root"]},gO,t)},PO=pe("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),ny=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCardContent"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=AO(u);return v.jsx(PO,{as:a,className:Oe(f.root,s),ownerState:u,ref:n,...l})});function bO(e){return Qe("MuiCardMedia",e)}Ke("MuiCardMedia",["root","media","img"]);const xO=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return _e({root:["root",n&&"media",r&&"img"]},bO,t)},wO=pe("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:s}=n;return[t.root,r&&t.media,s&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),HO=["video","audio","picture","iframe","img"],jO=["picture","img"],zO=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCardMedia"}),{children:s,className:a,component:l="div",image:u,src:f,style:p,...h}=r,m=HO.includes(l),g=!m&&u?{backgroundImage:`url("${u}")`,...p}:p,w={...r,component:l,isMediaComponent:m,isImageComponent:jO.includes(l)},A=xO(w);return v.jsx(wO,{className:Oe(A.root,a),as:l,role:!m&&u?"img":void 0,ref:n,style:g,ownerState:w,src:m?u||f:void 0,...h,children:s})});function SO(e){return Qe("PrivateSwitchBase",e)}Ke("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const CO=e=>{const{classes:t,checked:n,disabled:r,edge:s}=e,a={root:["root",n&&"checked",r&&"disabled",s&&`edge${me(s)}`],input:["input"]};return _e(a,SO,t)},OO=pe(va)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),DO=pe("input",{shouldForwardProp:Zn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ag=P.forwardRef(function(t,n){const{autoFocus:r,checked:s,checkedIcon:a,defaultChecked:l,disabled:u,disableFocusRipple:f=!1,edge:p=!1,icon:h,id:m,inputProps:g,inputRef:w,name:A,onBlur:b,onChange:j,onFocus:S,readOnly:z,required:C=!1,tabIndex:O,type:D,value:T,slots:M={},slotProps:L={},...R}=t,[H,N]=xi({controlled:s,default:!!l,name:"SwitchBase",state:"checked"}),B=Io(),W=se=>{S&&S(se),B&&B.onFocus&&B.onFocus(se)},_=se=>{b&&b(se),B&&B.onBlur&&B.onBlur(se)},J=se=>{if(se.nativeEvent.defaultPrevented)return;const ae=se.target.checked;N(ae),j&&j(se,ae)};let U=u;B&&typeof U>"u"&&(U=B.disabled);const oe=D==="checkbox"||D==="radio",K={...t,checked:H,disabled:U,disableFocusRipple:f,edge:p},Z=CO(K),E={slots:M,slotProps:{input:g,...L}},[q,X]=pt("root",{ref:n,elementType:OO,className:Z.root,shouldForwardComponentProp:!0,externalForwardedProps:{...E,component:"span",...R},getSlotProps:se=>({...se,onFocus:ae=>{var ye;(ye=se.onFocus)==null||ye.call(se,ae),W(ae)},onBlur:ae=>{var ye;(ye=se.onBlur)==null||ye.call(se,ae),_(ae)}}),ownerState:K,additionalProps:{centerRipple:!0,focusRipple:!f,disabled:U,role:void 0,tabIndex:null}}),[$,ee]=pt("input",{ref:w,elementType:DO,className:Z.input,externalForwardedProps:E,getSlotProps:se=>({onChange:ae=>{var ye;(ye=se.onChange)==null||ye.call(se,ae),J(ae)}}),ownerState:K,additionalProps:{autoFocus:r,checked:s,defaultChecked:l,disabled:U,id:oe?m:void 0,name:A,readOnly:z,required:C,tabIndex:O,type:D,...D==="checkbox"&&T===void 0?{}:{value:T}}});return v.jsxs(q,{...X,children:[v.jsx($,{...ee}),H?a:h]})}),kO=bt(v.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),TO=bt(v.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),EO=bt(v.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function RO(e){return Qe("MuiCheckbox",e)}const vm=Ke("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),MO=e=>{const{classes:t,indeterminate:n,color:r,size:s}=e,a={root:["root",n&&"indeterminate",`color${me(r)}`,`size${me(s)}`]},l=_e(a,RO,t);return{...t,...l}},LO=pe(Ag,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${me(n.size)}`],n.color!=="default"&&t[`color${me(n.color)}`]]}})(nt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{[`&.${vm.checked}, &.${vm.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${vm.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),XO=v.jsx(TO,{}),NO=v.jsx(kO,{}),BO=v.jsx(EO,{}),ox=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCheckbox"}),{checkedIcon:s=XO,color:a="primary",icon:l=NO,indeterminate:u=!1,indeterminateIcon:f=BO,inputProps:p,size:h="medium",disableRipple:m=!1,className:g,slots:w={},slotProps:A={},...b}=r,j=u?f:l,S=u?f:s,z={...r,disableRipple:m,color:a,indeterminate:u,size:h},C=MO(z),O=A.input??p,[D,T]=pt("root",{ref:n,elementType:LO,className:Oe(C.root,g),shouldForwardComponentProp:!0,externalForwardedProps:{slots:w,slotProps:A,...b},ownerState:z,additionalProps:{type:"checkbox",icon:P.cloneElement(j,{fontSize:j.props.fontSize??h}),checkedIcon:P.cloneElement(S,{fontSize:S.props.fontSize??h}),disableRipple:m,slots:w,slotProps:{input:ig(typeof O=="function"?O(z):O,{"data-indeterminate":u})}}});return v.jsx(D,{...T,classes:C})});function sx(e){return e.substring(2).toLowerCase()}function VO(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const h=pn(zi(t),u),m=ar(A=>{const b=p.current;p.current=!1;const j=lr(u.current);if(!f.current||!u.current||"clientX"in A&&VO(A,j))return;if(l.current){l.current=!1;return}let S;A.composedPath?S=A.composedPath().includes(u.current):S=!j.documentElement.contains(A.target)||u.current.contains(A.target),!S&&(n||!b)&&s(A)}),g=A=>b=>{p.current=!0;const j=t.props[A];j&&j(b)},w={ref:h};return a!==!1&&(w[a]=g(a)),P.useEffect(()=>{if(a!==!1){const A=sx(a),b=lr(u.current),j=()=>{l.current=!0};return b.addEventListener(A,m),b.addEventListener("touchmove",j),()=>{b.removeEventListener(A,m),b.removeEventListener("touchmove",j)}}},[m,a]),r!==!1&&(w[r]=g(r)),P.useEffect(()=>{if(r!==!1){const A=sx(r),b=lr(u.current);return b.addEventListener(A,m),()=>{b.removeEventListener(A,m)}}},[m,r]),P.cloneElement(t,w)}const ry=typeof sg({})=="function",IO=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),WO=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}}),b1=(e,t=!1)=>{var a,l;const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([u,f])=>{var h,m;const p=e.getColorSchemeSelector(u);p.startsWith("@")?n[p]={":root":{colorScheme:(h=f.palette)==null?void 0:h.mode}}:n[p.replace(/\s*&/,"")]={colorScheme:(m=f.palette)==null?void 0:m.mode}});let r={html:IO(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...WO(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const s=(l=(a=e.components)==null?void 0:a.MuiCssBaseline)==null?void 0:l.styleOverrides;return s&&(r=[r,s]),r},Nd="mui-ecs",JO=e=>{const t=b1(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Nd})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,s])=>{var l,u;const a=e.getColorSchemeSelector(r);a.startsWith("@")?n[a]={[`:root:not(:has(.${Nd}))`]:{colorScheme:(l=s.palette)==null?void 0:l.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Nd}))`]:{colorScheme:(u=s.palette)==null?void 0:u.mode}}}),t},FO=sg(ry?({theme:e,enableColorScheme:t})=>b1(e,t):({theme:e})=>JO(e));function YO(e){const t=rt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return v.jsxs(P.Fragment,{children:[ry&&v.jsx(FO,{enableColorScheme:r}),!ry&&!r&&v.jsx("span",{className:Nd,style:{display:"none"}}),n]})}function qO(e){const t=lr(e);return t.body===e?Lo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function cu(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ix(e){return parseInt(Lo(e).getComputedStyle(e).paddingRight,10)||0}function ZO(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function ax(e,t,n,r,s){const a=[t,n,...r];[].forEach.call(e.children,l=>{const u=!a.includes(l),f=!ZO(l);u&&f&&cu(l,s)})}function hm(e,t){let n=-1;return e.some((r,s)=>t(r)?(n=s,!0):!1),n}function GO(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(qO(r)){const l=N0(Lo(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${ix(r)+l}px`;const u=lr(r).querySelectorAll(".mui-fixed");[].forEach.call(u,f=>{n.push({value:f.style.paddingRight,property:"padding-right",el:f}),f.style.paddingRight=`${ix(f)+l}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=lr(r).body;else{const l=r.parentElement,u=Lo(r);a=(l==null?void 0:l.nodeName)==="HTML"&&u.getComputedStyle(l).overflowY==="scroll"?l:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:l,property:u})=>{a?l.style.setProperty(u,a):l.style.removeProperty(u)})}}function UO(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class QO{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&cu(t.modalRef,!1);const s=UO(n);ax(n,t.mount,t.modalRef,s,!0);const a=hm(this.containers,l=>l.container===n);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:s}),r)}mount(t,n){const r=hm(this.containers,a=>a.modals.includes(t)),s=this.containers[r];s.restore||(s.restore=GO(s,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const s=hm(this.containers,l=>l.modals.includes(t)),a=this.containers[s];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&cu(t.modalRef,n),ax(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(s,1);else{const l=a.modals[a.modals.length-1];l.modalRef&&cu(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const KO=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function _O(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function $O(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function eD(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||$O(e))}function tD(e){const t=[],n=[];return Array.from(e.querySelectorAll(KO)).forEach((r,s)=>{const a=_O(r);a===-1||!eD(r)||(a===0?t.push(r):n.push({documentOrder:s,tabIndex:a,node:r}))}),n.sort((r,s)=>r.tabIndex===s.tabIndex?r.documentOrder-s.documentOrder:r.tabIndex-s.tabIndex).map(r=>r.node).concat(t)}function nD(){return!0}function rD(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:s=!1,getTabbable:a=tD,isEnabled:l=nD,open:u}=e,f=P.useRef(!1),p=P.useRef(null),h=P.useRef(null),m=P.useRef(null),g=P.useRef(null),w=P.useRef(!1),A=P.useRef(null),b=pn(zi(t),A),j=P.useRef(null);P.useEffect(()=>{!u||!A.current||(w.current=!n)},[n,u]),P.useEffect(()=>{if(!u||!A.current)return;const C=lr(A.current);return A.current.contains(C.activeElement)||(A.current.hasAttribute("tabIndex")||A.current.setAttribute("tabIndex","-1"),w.current&&A.current.focus()),()=>{s||(m.current&&m.current.focus&&(f.current=!0,m.current.focus()),m.current=null)}},[u]),P.useEffect(()=>{if(!u||!A.current)return;const C=lr(A.current),O=M=>{j.current=M,!(r||!l()||M.key!=="Tab")&&C.activeElement===A.current&&M.shiftKey&&(f.current=!0,h.current&&h.current.focus())},D=()=>{var R,H;const M=A.current;if(M===null)return;if(!C.hasFocus()||!l()||f.current){f.current=!1;return}if(M.contains(C.activeElement)||r&&C.activeElement!==p.current&&C.activeElement!==h.current)return;if(C.activeElement!==g.current)g.current=null;else if(g.current!==null)return;if(!w.current)return;let L=[];if((C.activeElement===p.current||C.activeElement===h.current)&&(L=a(A.current)),L.length>0){const N=!!((R=j.current)!=null&&R.shiftKey&&((H=j.current)==null?void 0:H.key)==="Tab"),B=L[0],W=L[L.length-1];typeof B!="string"&&typeof W!="string"&&(N?W.focus():B.focus())}else M.focus()};C.addEventListener("focusin",D),C.addEventListener("keydown",O,!0);const T=setInterval(()=>{C.activeElement&&C.activeElement.tagName==="BODY"&&D()},50);return()=>{clearInterval(T),C.removeEventListener("focusin",D),C.removeEventListener("keydown",O,!0)}},[n,r,s,l,u,a]);const S=C=>{m.current===null&&(m.current=C.relatedTarget),w.current=!0,g.current=C.target;const O=t.props.onFocus;O&&O(C)},z=C=>{m.current===null&&(m.current=C.relatedTarget),w.current=!0};return v.jsxs(P.Fragment,{children:[v.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:p,"data-testid":"sentinelStart"}),P.cloneElement(t,{ref:b,onFocus:S}),v.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:h,"data-testid":"sentinelEnd"})]})}function oD(e){return typeof e=="function"?e():e}function sD(e){return e?e.props.hasOwnProperty("in"):!1}const lx=()=>{},yd=new QO;function iD(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:s=!1,onTransitionEnter:a,onTransitionExited:l,children:u,onClose:f,open:p,rootRef:h}=e,m=P.useRef({}),g=P.useRef(null),w=P.useRef(null),A=pn(w,h),[b,j]=P.useState(!p),S=sD(u);let z=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(z=!1);const C=()=>lr(g.current),O=()=>(m.current.modalRef=w.current,m.current.mount=g.current,m.current),D=()=>{yd.mount(O(),{disableScrollLock:r}),w.current&&(w.current.scrollTop=0)},T=ar(()=>{const J=oD(t)||C().body;yd.add(O(),J),w.current&&D()}),M=()=>yd.isTopModal(O()),L=ar(J=>{g.current=J,J&&(p&&M()?D():w.current&&cu(w.current,z))}),R=P.useCallback(()=>{yd.remove(O(),z)},[z]);P.useEffect(()=>()=>{R()},[R]),P.useEffect(()=>{p?T():(!S||!s)&&R()},[p,R,S,s,T]);const H=J=>U=>{var oe;(oe=J.onKeyDown)==null||oe.call(J,U),!(U.key!=="Escape"||U.which===229||!M())&&(n||(U.stopPropagation(),f&&f(U,"escapeKeyDown")))},N=J=>U=>{var oe;(oe=J.onClick)==null||oe.call(J,U),U.target===U.currentTarget&&f&&f(U,"backdropClick")};return{getRootProps:(J={})=>{const U=ep(e);delete U.onTransitionEnter,delete U.onTransitionExited;const oe={...U,...J};return{role:"presentation",...oe,onKeyDown:H(oe),ref:A}},getBackdropProps:(J={})=>{const U=J;return{"aria-hidden":!0,...U,onClick:N(U),open:p}},getTransitionProps:()=>{const J=()=>{j(!1),a&&a()},U=()=>{j(!0),l&&l(),s&&R()};return{onEnter:Wm(J,(u==null?void 0:u.props.onEnter)??lx),onExited:Wm(U,(u==null?void 0:u.props.onExited)??lx)}},rootRef:A,portalRef:L,isTopModal:M,exited:b,hasTransition:S}}function aD(e){return Qe("MuiModal",e)}Ke("MuiModal",["root","hidden","backdrop"]);const lD=e=>{const{open:t,exited:n,classes:r}=e;return _e({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},aD,r)},cD=pe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(nt(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),uD=pe(m1,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Pg=P.forwardRef(function(t,n){const r=rt({name:"MuiModal",props:t}),{BackdropComponent:s=uD,BackdropProps:a,classes:l,className:u,closeAfterTransition:f=!1,children:p,container:h,component:m,components:g={},componentsProps:w={},disableAutoFocus:A=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:j=!1,disablePortal:S=!1,disableRestoreFocus:z=!1,disableScrollLock:C=!1,hideBackdrop:O=!1,keepMounted:D=!1,onBackdropClick:T,onClose:M,onTransitionEnter:L,onTransitionExited:R,open:H,slotProps:N={},slots:B={},theme:W,..._}=r,J={...r,closeAfterTransition:f,disableAutoFocus:A,disableEnforceFocus:b,disableEscapeKeyDown:j,disablePortal:S,disableRestoreFocus:z,disableScrollLock:C,hideBackdrop:O,keepMounted:D},{getRootProps:U,getBackdropProps:oe,getTransitionProps:K,portalRef:Z,isTopModal:E,exited:q,hasTransition:X}=iD({...J,rootRef:n}),$={...J,exited:q},ee=lD($),se={};if(p.props.tabIndex===void 0&&(se.tabIndex="-1"),X){const{onEnter:Le,onExited:Pe}=K();se.onEnter=Le,se.onExited=Pe}const ae={slots:{root:g.Root,backdrop:g.Backdrop,...B},slotProps:{...w,...N}},[ye,le]=pt("root",{ref:n,elementType:cD,externalForwardedProps:{...ae,..._,component:m},getSlotProps:U,ownerState:$,className:Oe(u,ee==null?void 0:ee.root,!$.open&&$.exited&&(ee==null?void 0:ee.hidden))}),[we,Ce]=pt("backdrop",{ref:a==null?void 0:a.ref,elementType:s,externalForwardedProps:ae,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:Le=>oe({...Le,onClick:Pe=>{T&&T(Pe),Le!=null&&Le.onClick&&Le.onClick(Pe)}}),className:Oe(a==null?void 0:a.className,ee==null?void 0:ee.backdrop),ownerState:$});return!D&&!H&&(!X||q)?null:v.jsx(v1,{ref:Z,container:h,disablePortal:S,children:v.jsxs(ye,{...le,children:[!O&&s?v.jsx(we,{...Ce}):null,v.jsx(rD,{disableEnforceFocus:b,disableAutoFocus:A,disableRestoreFocus:z,isEnabled:E,open:H,children:P.cloneElement(p,se)})]})})});function fD(e){return Qe("MuiDialog",e)}const mm=Ke("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),x1=P.createContext({}),dD=pe(m1,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),pD=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:s,fullScreen:a}=e,l={root:["root"],container:["container",`scroll${me(n)}`],paper:["paper",`paperScroll${me(n)}`,`paperWidth${me(String(r))}`,s&&"paperFullWidth",a&&"paperFullScreen"]};return _e(l,fD,t)},vD=pe(Pg,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),hD=pe("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${me(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),mD=pe(Gr,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${me(n.scroll)}`],t[`paperWidth${me(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(nt(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${mm.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${mm.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${mm.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),al=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDialog"}),s=Qr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":u,"aria-modal":f=!0,BackdropComponent:p,BackdropProps:h,children:m,className:g,disableEscapeKeyDown:w=!1,fullScreen:A=!1,fullWidth:b=!1,maxWidth:j="sm",onBackdropClick:S,onClick:z,onClose:C,open:O,PaperComponent:D=Gr,PaperProps:T={},scroll:M="paper",slots:L={},slotProps:R={},TransitionComponent:H=ty,transitionDuration:N=a,TransitionProps:B,...W}=r,_={...r,disableEscapeKeyDown:w,fullScreen:A,fullWidth:b,maxWidth:j,scroll:M},J=pD(_),U=P.useRef(),oe=be=>{U.current=be.target===be.currentTarget},K=be=>{z&&z(be),U.current&&(U.current=null,S&&S(be),C&&C(be,"backdropClick"))},Z=Xo(u),E=P.useMemo(()=>({titleId:Z}),[Z]),q={transition:H,...L},X={transition:B,paper:T,backdrop:h,...R},$={slots:q,slotProps:X},[ee,se]=pt("root",{elementType:vD,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:_,className:Oe(J.root,g),ref:n}),[ae,ye]=pt("backdrop",{elementType:dD,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:_}),[le,we]=pt("paper",{elementType:mD,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:_,className:Oe(J.paper,T.className)}),[Ce,Le]=pt("container",{elementType:hD,externalForwardedProps:$,ownerState:_,className:Oe(J.container)}),[Pe,Ve]=pt("transition",{elementType:ty,externalForwardedProps:$,ownerState:_,additionalProps:{appear:!0,in:O,timeout:N,role:"presentation"}});return v.jsx(ee,{closeAfterTransition:!0,slots:{backdrop:ae},slotProps:{backdrop:{transitionDuration:N,as:p,...ye}},disableEscapeKeyDown:w,onClose:C,open:O,onClick:K,...se,...W,children:v.jsx(Pe,{...Ve,children:v.jsx(Ce,{onMouseDown:oe,...Le,children:v.jsx(le,{as:D,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":Z,"aria-modal":f,...we,children:v.jsx(x1.Provider,{value:E,children:m})})})})})});function yD(e){return Qe("MuiDialogActions",e)}Ke("MuiDialogActions",["root","spacing"]);const gD=e=>{const{classes:t,disableSpacing:n}=e;return _e({root:["root",!n&&"spacing"]},yD,t)},AD=pe("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),PD=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:a=!1,...l}=r,u={...r,disableSpacing:a},f=gD(u);return v.jsx(AD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})});function bD(e){return Qe("MuiDialogContent",e)}Ke("MuiDialogContent",["root","dividers"]);function xD(e){return Qe("MuiDialogTitle",e)}const wD=Ke("MuiDialogTitle",["root"]),HD=e=>{const{classes:t,dividers:n}=e;return _e({root:["root",n&&"dividers"]},bD,t)},jD=pe("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(nt(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${wD.root} + &`]:{paddingTop:0}}}]}))),_c=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDialogContent"}),{className:s,dividers:a=!1,...l}=r,u={...r,dividers:a},f=HD(u);return v.jsx(jD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})}),zD=e=>{const{classes:t}=e;return _e({root:["root"]},xD,t)},SD=pe(jt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),$c=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...l}=r,u=r,f=zD(u),{titleId:p=a}=P.useContext(x1);return v.jsx(SD,{component:"h2",className:Oe(f.root,s),ownerState:u,ref:n,variant:"h6",id:a??p,...l})});function CD(e){return Qe("MuiDivider",e)}const cx=Ke("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),OD=e=>{const{absolute:t,children:n,classes:r,flexItem:s,light:a,orientation:l,textAlign:u,variant:f}=e;return _e({root:["root",t&&"absolute",f,a&&"light",l==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&l==="vertical"&&"withChildrenVertical",u==="right"&&l!=="vertical"&&"textAlignRight",u==="left"&&l!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",l==="vertical"&&"wrapperVertical"]},CD,r)},DD=pe("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(nt(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:xt(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),kD=pe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(nt(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),ma=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDivider"}),{absolute:s=!1,children:a,className:l,orientation:u="horizontal",component:f=a||u==="vertical"?"div":"hr",flexItem:p=!1,light:h=!1,role:m=f!=="hr"?"separator":void 0,textAlign:g="center",variant:w="fullWidth",...A}=r,b={...r,absolute:s,component:f,flexItem:p,light:h,orientation:u,role:m,textAlign:g,variant:w},j=OD(b);return v.jsx(DD,{as:f,className:Oe(j.root,l),role:m,ref:n,ownerState:b,"aria-orientation":m==="separator"&&(f!=="hr"||u==="vertical")?u:void 0,...A,children:a?v.jsx(kD,{className:j.wrapper,ownerState:b,children:a}):null})});ma&&(ma.muiSkipListHighlight=!0);function TD(e,t,n){const r=t.getBoundingClientRect(),s=n&&n.getBoundingClientRect(),a=Lo(t);let l;if(t.fakeTransform)l=t.fakeTransform;else{const p=a.getComputedStyle(t);l=p.getPropertyValue("-webkit-transform")||p.getPropertyValue("transform")}let u=0,f=0;if(l&&l!=="none"&&typeof l=="string"){const p=l.split("(")[1].split(")")[0].split(",");u=parseInt(p[4],10),f=parseInt(p[5],10)}return e==="left"?s?`translateX(${s.right+u-r.left}px)`:`translateX(${a.innerWidth+u-r.left}px)`:e==="right"?s?`translateX(-${r.right-s.left-u}px)`:`translateX(-${r.left+r.width-u}px)`:e==="up"?s?`translateY(${s.bottom+f-r.top}px)`:`translateY(${a.innerHeight+f-r.top}px)`:s?`translateY(-${r.top-s.top+r.height-f}px)`:`translateY(-${r.top+r.height-f}px)`}function ED(e){return typeof e=="function"?e():e}function gd(e,t,n){const r=ED(n),s=TD(e,t,r);s&&(t.style.webkitTransform=s,t.style.transform=s)}const RD=P.forwardRef(function(t,n){const r=Qr(),s={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:l,appear:u=!0,children:f,container:p,direction:h="down",easing:m=s,in:g,onEnter:w,onEntered:A,onEntering:b,onExit:j,onExited:S,onExiting:z,style:C,timeout:O=a,TransitionComponent:D=Vo,...T}=t,M=P.useRef(null),L=pn(zi(f),M,n),R=K=>Z=>{K&&(Z===void 0?K(M.current):K(M.current,Z))},H=R((K,Z)=>{gd(h,K,p),ug(K),w&&w(K,Z)}),N=R((K,Z)=>{const E=Ol({timeout:O,style:C,easing:m},{mode:"enter"});K.style.webkitTransition=r.transitions.create("-webkit-transform",{...E}),K.style.transition=r.transitions.create("transform",{...E}),K.style.webkitTransform="none",K.style.transform="none",b&&b(K,Z)}),B=R(A),W=R(z),_=R(K=>{const Z=Ol({timeout:O,style:C,easing:m},{mode:"exit"});K.style.webkitTransition=r.transitions.create("-webkit-transform",Z),K.style.transition=r.transitions.create("transform",Z),gd(h,K,p),j&&j(K)}),J=R(K=>{K.style.webkitTransition="",K.style.transition="",S&&S(K)}),U=K=>{l&&l(M.current,K)},oe=P.useCallback(()=>{M.current&&gd(h,M.current,p)},[h,p]);return P.useEffect(()=>{if(g||h==="down"||h==="right")return;const K=eg(()=>{M.current&&gd(h,M.current,p)}),Z=Lo(M.current);return Z.addEventListener("resize",K),()=>{K.clear(),Z.removeEventListener("resize",K)}},[h,g,p]),P.useEffect(()=>{g||oe()},[g,oe]),v.jsx(D,{nodeRef:M,onEnter:H,onEntered:B,onEntering:N,onExit:_,onExited:J,onExiting:W,addEndListener:U,appear:u,in:g,timeout:O,...T,children:(K,{ownerState:Z,...E})=>P.cloneElement(f,{ref:L,style:{visibility:K==="exited"&&!g?"hidden":void 0,...C,...f.props.style},...E})})});function MD(e){return Qe("MuiDrawer",e)}Ke("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const w1=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},LD=e=>{const{classes:t,anchor:n,variant:r}=e,s={root:["root",`anchor${me(n)}`],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${me(n)}`,r!=="temporary"&&`paperAnchorDocked${me(n)}`]};return _e(s,MD,t)},XD=pe(Pg,{name:"MuiDrawer",slot:"Root",overridesResolver:w1})(nt(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),ND=pe("div",{shouldForwardProp:Zn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:w1})({flex:"0 0 auto"}),BD=pe(Gr,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${me(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${me(n.anchor)}`]]}})(nt(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:t})=>t.anchor==="left"&&t.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="top"&&t.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="right"&&t.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="bottom"&&t.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),H1={left:"right",right:"left",top:"down",bottom:"up"};function VD(e){return["left","right"].includes(e)}function ID({direction:e},t){return e==="rtl"&&VD(t)?H1[t]:t}const WD=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDrawer"}),s=Qr(),a=Iu(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:f,children:p,className:h,elevation:m=16,hideBackdrop:g=!1,ModalProps:{BackdropProps:w,...A}={},onClose:b,open:j=!1,PaperProps:S={},SlideProps:z,TransitionComponent:C,transitionDuration:O=l,variant:D="temporary",slots:T={},slotProps:M={},...L}=r,R=P.useRef(!1);P.useEffect(()=>{R.current=!0},[]);const H=ID({direction:a?"rtl":"ltr"},u),B={...r,anchor:u,elevation:m,open:j,variant:D,...L},W=LD(B),_={slots:{transition:C,...T},slotProps:{paper:S,transition:z,...M,backdrop:ig(M.backdrop||{...f,...w},{transitionDuration:O})}},[J,U]=pt("root",{ref:n,elementType:XD,className:Oe(W.root,W.modal,h),shouldForwardComponentProp:!0,ownerState:B,externalForwardedProps:{..._,...L,...A},additionalProps:{open:j,onClose:b,hideBackdrop:g,slots:{backdrop:_.slots.backdrop},slotProps:{backdrop:_.slotProps.backdrop}}}),[oe,K]=pt("paper",{elementType:BD,shouldForwardComponentProp:!0,className:Oe(W.paper,S.className),ownerState:B,externalForwardedProps:_,additionalProps:{elevation:D==="temporary"?m:0,square:!0}}),[Z,E]=pt("docked",{elementType:ND,ref:n,className:Oe(W.root,W.docked,h),ownerState:B,externalForwardedProps:_,additionalProps:L}),[q,X]=pt("transition",{elementType:RD,ownerState:B,externalForwardedProps:_,additionalProps:{in:j,direction:H1[H],timeout:O,appear:R.current}}),$=v.jsx(oe,{...K,children:p});if(D==="permanent")return v.jsx(Z,{...E,children:$});const ee=v.jsx(q,{...X,children:$});return D==="persistent"?v.jsx(Z,{...E,children:ee}):v.jsx(J,{...U,children:ee})}),JD=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:s,size:a,hiddenLabel:l,multiline:u}=e,f={root:["root",!n&&"underline",r&&"adornedStart",s&&"adornedEnd",a==="small"&&`size${me(a)}`,l&&"hiddenLabel",u&&"multiline"],input:["input"]},p=_e(f,IC,t);return{...t,...p}},FD=pe(Ip,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Bp(e,t),!n.disableUnderline&&t.underline]}})(nt(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Jr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Jr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:l})=>!l.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Jr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Jr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Jr.disabled}, .${Jr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Jr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(gn()).map(([l])=>{var u;return{props:{disableUnderline:!1,color:l},style:{"&::after":{borderBottom:`2px solid ${(u=(e.vars||e).palette[l])==null?void 0:u.main}`}}}}),{props:({ownerState:l})=>l.startAdornment,style:{paddingLeft:12}},{props:({ownerState:l})=>l.endAdornment,style:{paddingRight:12}},{props:({ownerState:l})=>l.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:l,size:u})=>l.multiline&&u==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel&&l.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),YD=pe(Wp,{name:"MuiFilledInput",slot:"Input",overridesResolver:Vp})(nt(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),bg=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiFilledInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,hiddenLabel:f,inputComponent:p="input",multiline:h=!1,slotProps:m,slots:g={},type:w="text",...A}=r,b={...r,disableUnderline:s,fullWidth:u,inputComponent:p,multiline:h,type:w},j=JD(r),S={root:{ownerState:b},input:{ownerState:b}},z=m??l?qn(S,m??l):S,C=g.root??a.Root??FD,O=g.input??a.Input??YD;return v.jsx(Jp,{slots:{root:C,input:O},slotProps:z,fullWidth:u,inputComponent:p,multiline:h,ref:n,type:w,...A,classes:j})});bg.muiName="Input";function qD(e){return Qe("MuiFormControl",e)}Ke("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const ZD=e=>{const{classes:t,margin:n,fullWidth:r}=e,s={root:["root",n!=="none"&&`margin${me(n)}`,r&&"fullWidth"]};return _e(s,qD,t)},GD=pe("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${me(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),fr=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiFormControl"}),{children:s,className:a,color:l="primary",component:u="div",disabled:f=!1,error:p=!1,focused:h,fullWidth:m=!1,hiddenLabel:g=!1,margin:w="none",required:A=!1,size:b="medium",variant:j="outlined",...S}=r,z={...r,color:l,component:u,disabled:f,error:p,fullWidth:m,hiddenLabel:g,margin:w,required:A,size:b,variant:j},C=ZD(z),[O,D]=P.useState(()=>{let J=!1;return s&&P.Children.forEach(s,U=>{if(!Ld(U,["Input","Select"]))return;const oe=Ld(U,["Select"])?U.props.input:U;oe&&LC(oe.props)&&(J=!0)}),J}),[T,M]=P.useState(()=>{let J=!1;return s&&P.Children.forEach(s,U=>{Ld(U,["Input","Select"])&&(sp(U.props,!0)||sp(U.props.inputProps,!0))&&(J=!0)}),J}),[L,R]=P.useState(!1);f&&L&&R(!1);const H=h!==void 0&&!f?h:L;let N;P.useRef(!1);const B=P.useCallback(()=>{M(!0)},[]),W=P.useCallback(()=>{M(!1)},[]),_=P.useMemo(()=>({adornedStart:O,setAdornedStart:D,color:l,disabled:f,error:p,filled:T,focused:H,fullWidth:m,hiddenLabel:g,size:b,onBlur:()=>{R(!1)},onFocus:()=>{R(!0)},onEmpty:W,onFilled:B,registerEffect:N,required:A,variant:j}),[O,l,f,p,T,H,m,g,N,W,B,A,b,j]);return v.jsx(Np.Provider,{value:_,children:v.jsx(GD,{as:u,ownerState:z,className:Oe(C.root,a),ref:n,...S,children:s})})});function UD(e){return Qe("MuiFormControlLabel",e)}const eu=Ke("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),QD=e=>{const{classes:t,disabled:n,labelPlacement:r,error:s,required:a}=e,l={root:["root",n&&"disabled",`labelPlacement${me(r)}`,s&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",s&&"error"]};return _e(l,UD,t)},KD=pe("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${eu.label}`]:t.label},t.root,t[`labelPlacement${me(n.labelPlacement)}`]]}})(nt(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${eu.disabled}`]:{cursor:"default"},[`& .${eu.label}`]:{[`&.${eu.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),_D=pe("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(nt(({theme:e})=>({[`&.${eu.error}`]:{color:(e.vars||e).palette.error.main}}))),Ds=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiFormControlLabel"}),{checked:s,className:a,componentsProps:l={},control:u,disabled:f,disableTypography:p,inputRef:h,label:m,labelPlacement:g="end",name:w,onChange:A,required:b,slots:j={},slotProps:S={},value:z,...C}=r,O=Io(),D=f??u.props.disabled??(O==null?void 0:O.disabled),T=b??u.props.required,M={disabled:D,required:T};["checked","name","onChange","value","inputRef"].forEach(J=>{typeof u.props[J]>"u"&&typeof r[J]<"u"&&(M[J]=r[J])});const L=Ci({props:r,muiFormControl:O,states:["error"]}),R={...r,disabled:D,labelPlacement:g,required:T,error:L.error},H=QD(R),N={slots:j,slotProps:{...l,...S}},[B,W]=pt("typography",{elementType:jt,externalForwardedProps:N,ownerState:R});let _=m;return _!=null&&_.type!==jt&&!p&&(_=v.jsx(B,{component:"span",...W,className:Oe(H.label,W==null?void 0:W.className),children:_})),v.jsxs(KD,{className:Oe(H.root,a),ownerState:R,ref:n,...C,children:[P.cloneElement(u,M),T?v.jsxs("div",{children:[_,v.jsxs(_D,{ownerState:R,"aria-hidden":!0,className:H.asterisk,children:[" ","*"]})]}):_]})});function $D(e){return Qe("MuiFormGroup",e)}Ke("MuiFormGroup",["root","row","error"]);const ek=e=>{const{classes:t,row:n,error:r}=e;return _e({root:["root",n&&"row",r&&"error"]},$D,t)},tk=pe("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),nk=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiFormGroup"}),{className:s,row:a=!1,...l}=r,u=Io(),f=Ci({props:r,muiFormControl:u,states:["error"]}),p={...r,row:a,error:f.error},h=ek(p);return v.jsx(tk,{className:Oe(h.root,s),ownerState:p,ref:n,...l})});function rk(e){return Qe("MuiFormHelperText",e)}const ux=Ke("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var fx;const ok=e=>{const{classes:t,contained:n,size:r,disabled:s,error:a,filled:l,focused:u,required:f}=e,p={root:["root",s&&"disabled",a&&"error",r&&`size${me(r)}`,n&&"contained",u&&"focused",l&&"filled",f&&"required"]};return _e(p,rk,t)},sk=pe("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${me(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(nt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${ux.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${ux.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),ol=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiFormHelperText"}),{children:s,className:a,component:l="p",disabled:u,error:f,filled:p,focused:h,margin:m,required:g,variant:w,...A}=r,b=Io(),j=Ci({props:r,muiFormControl:b,states:["variant","size","disabled","error","filled","focused","required"]}),S={...r,component:l,contained:j.variant==="filled"||j.variant==="outlined",variant:j.variant,size:j.size,disabled:j.disabled,error:j.error,filled:j.filled,focused:j.focused,required:j.required};delete S.ownerState;const z=ok(S);return v.jsx(sk,{as:l,className:Oe(z.root,a),ref:n,...A,ownerState:S,children:s===" "?fx||(fx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function ik(e){return Qe("MuiFormLabel",e)}const uu=Ke("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),ak=e=>{const{classes:t,color:n,focused:r,disabled:s,error:a,filled:l,required:u}=e,f={root:["root",`color${me(n)}`,s&&"disabled",a&&"error",l&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return _e(f,ik,t)},lk=pe("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color==="secondary"&&t.colorSecondary,n.filled&&t.filled]}})(nt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{[`&.${uu.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${uu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${uu.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),ck=pe("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(nt(({theme:e})=>({[`&.${uu.error}`]:{color:(e.vars||e).palette.error.main}}))),Bd=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiFormLabel"}),{children:s,className:a,color:l,component:u="label",disabled:f,error:p,filled:h,focused:m,required:g,...w}=r,A=Io(),b=Ci({props:r,muiFormControl:A,states:["color","required","focused","disabled","error","filled"]}),j={...r,color:b.color||"primary",component:u,disabled:b.disabled,error:b.error,filled:b.filled,focused:b.focused,required:b.required},S=ak(j);return v.jsxs(lk,{as:u,ownerState:j,className:Oe(S.root,a),ref:n,...w,children:[s,b.required&&v.jsxs(ck,{ownerState:j,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]})}),dx=P.createContext();function uk(e){return Qe("MuiGrid",e)}const fk=[0,1,2,3,4,5,6,7,8,9,10],dk=["column-reverse","column","row-reverse","row"],pk=["nowrap","wrap-reverse","wrap"],kc=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],xu=Ke("MuiGrid",["root","container","item","zeroMinWidth",...fk.map(e=>`spacing-xs-${e}`),...dk.map(e=>`direction-xs-${e}`),...pk.map(e=>`wrap-xs-${e}`),...kc.map(e=>`grid-xs-${e}`),...kc.map(e=>`grid-sm-${e}`),...kc.map(e=>`grid-md-${e}`),...kc.map(e=>`grid-lg-${e}`),...kc.map(e=>`grid-xl-${e}`)]);function vk({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,s)=>{let a={};if(t[s]&&(n=t[s]),!n)return r;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=la({values:t.columns,breakpoints:e.breakpoints.values}),u=typeof l=="object"?l[s]:l;if(u==null)return r;const f=`${Math.round(n/u*1e8)/1e6}%`;let p={};if(t.container&&t.item&&t.columnSpacing!==0){const h=e.spacing(t.columnSpacing);if(h!=="0px"){const m=`calc(${f} + ${h})`;p={flexBasis:m,maxWidth:m}}}a={flexBasis:f,flexGrow:0,maxWidth:f,...p}}return e.breakpoints.values[s]===0?Object.assign(r,a):r[e.breakpoints.up(s)]=a,r},{})}function hk({theme:e,ownerState:t}){const n=la({values:t.direction,breakpoints:e.breakpoints.values});return Rr({theme:e},n,r=>{const s={flexDirection:r};return r.startsWith("column")&&(s[`& > .${xu.item}`]={maxWidth:"none"}),s})}function j1({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(s=>{n===""&&t[s]!==0&&(n=s)});const r=Object.keys(e).sort((s,a)=>e[s]-e[a]);return r.slice(0,r.indexOf(n))}function mk({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let s={};if(n&&r!==0){const a=la({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=j1({breakpoints:e.breakpoints.values,values:a})),s=Rr({theme:e},a,(u,f)=>{const p=e.spacing(u);return p!=="0px"?{marginTop:`calc(-1 * ${p})`,[`& > .${xu.item}`]:{paddingTop:p}}:l!=null&&l.includes(f)?{}:{marginTop:0,[`& > .${xu.item}`]:{paddingTop:0}}})}return s}function yk({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let s={};if(n&&r!==0){const a=la({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=j1({breakpoints:e.breakpoints.values,values:a})),s=Rr({theme:e},a,(u,f)=>{const p=e.spacing(u);if(p!=="0px"){const h=`calc(-1 * ${p})`;return{width:`calc(100% + ${p})`,marginLeft:h,[`& > .${xu.item}`]:{paddingLeft:p}}}return l!=null&&l.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${xu.item}`]:{paddingLeft:0}}})}return s}function gk(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(s=>{const a=e[s];Number(a)>0&&r.push(n[`spacing-${s}-${String(a)}`])}),r}const Ak=pe("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:s,item:a,spacing:l,wrap:u,zeroMinWidth:f,breakpoints:p}=n;let h=[];r&&(h=gk(l,p,t));const m=[];return p.forEach(g=>{const w=n[g];w&&m.push(t[`grid-${g}-${String(w)}`])}),[t.root,r&&t.container,a&&t.item,f&&t.zeroMinWidth,...h,s!=="row"&&t[`direction-xs-${String(s)}`],u!=="wrap"&&t[`wrap-xs-${String(u)}`],...m]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},...e.wrap!=="wrap"&&{flexWrap:e.wrap}}),hk,mk,yk,vk);function Pk(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const s=e[r];if(Number(s)>0){const a=`spacing-${r}-${String(s)}`;n.push(a)}}),n}const bk=e=>{const{classes:t,container:n,direction:r,item:s,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:f}=e;let p=[];n&&(p=Pk(a,f));const h=[];f.forEach(g=>{const w=e[g];w&&h.push(`grid-${g}-${String(w)}`)});const m={root:["root",n&&"container",s&&"item",u&&"zeroMinWidth",...p,r!=="row"&&`direction-xs-${String(r)}`,l!=="wrap"&&`wrap-xs-${String(l)}`,...h]};return _e(m,uk,t)},cs=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiGrid"}),{breakpoints:s}=Qr(),a=Tp(r),{className:l,columns:u,columnSpacing:f,component:p="div",container:h=!1,direction:m="row",item:g=!1,rowSpacing:w,spacing:A=0,wrap:b="wrap",zeroMinWidth:j=!1,...S}=a,z=w||A,C=f||A,O=P.useContext(dx),D=h?u||12:O,T={},M={...S};s.keys.forEach(H=>{S[H]!=null&&(T[H]=S[H],delete M[H])});const L={...a,columns:D,container:h,direction:m,item:g,rowSpacing:z,columnSpacing:C,wrap:b,zeroMinWidth:j,spacing:A,...T,breakpoints:s.keys},R=bk(L);return v.jsx(dx.Provider,{value:D,children:v.jsx(Ak,{ownerState:L,className:Oe(R.root,l),as:p,ref:n,...M})})});function oy(e){return`scale(${e}, ${e**2})`}const xk={entering:{opacity:1,transform:oy(1)},entered:{opacity:1,transform:"none"}},ym=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),wu=P.forwardRef(function(t,n){const{addEndListener:r,appear:s=!0,children:a,easing:l,in:u,onEnter:f,onEntered:p,onEntering:h,onExit:m,onExited:g,onExiting:w,style:A,timeout:b="auto",TransitionComponent:j=Vo,...S}=t,z=Qi(),C=P.useRef(),O=Qr(),D=P.useRef(null),T=pn(D,zi(a),n),M=J=>U=>{if(J){const oe=D.current;U===void 0?J(oe):J(oe,U)}},L=M(h),R=M((J,U)=>{ug(J);const{duration:oe,delay:K,easing:Z}=Ol({style:A,timeout:b,easing:l},{mode:"enter"});let E;b==="auto"?(E=O.transitions.getAutoHeightDuration(J.clientHeight),C.current=E):E=oe,J.style.transition=[O.transitions.create("opacity",{duration:E,delay:K}),O.transitions.create("transform",{duration:ym?E:E*.666,delay:K,easing:Z})].join(","),f&&f(J,U)}),H=M(p),N=M(w),B=M(J=>{const{duration:U,delay:oe,easing:K}=Ol({style:A,timeout:b,easing:l},{mode:"exit"});let Z;b==="auto"?(Z=O.transitions.getAutoHeightDuration(J.clientHeight),C.current=Z):Z=U,J.style.transition=[O.transitions.create("opacity",{duration:Z,delay:oe}),O.transitions.create("transform",{duration:ym?Z:Z*.666,delay:ym?oe:oe||Z*.333,easing:K})].join(","),J.style.opacity=0,J.style.transform=oy(.75),m&&m(J)}),W=M(g),_=J=>{b==="auto"&&z.start(C.current||0,J),r&&r(D.current,J)};return v.jsx(j,{appear:s,in:u,nodeRef:D,onEnter:R,onEntered:H,onEntering:L,onExit:B,onExited:W,onExiting:N,addEndListener:_,timeout:b==="auto"?null:b,...S,children:(J,{ownerState:U,...oe})=>P.cloneElement(a,{style:{opacity:0,transform:oy(.75),visibility:J==="exited"&&!u?"hidden":void 0,...xk[J],...A,...a.props.style},ref:T,...oe})})});wu&&(wu.muiSupportAuto=!0);const wk=R0({themeId:uo}),Hk=e=>{const{classes:t,disableUnderline:n}=e,s=_e({root:["root",!n&&"underline"],input:["input"]},BC,t);return{...t,...s}},jk=pe(Ip,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Bp(e,t),!n.disableUnderline&&t.underline]}})(nt(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ci.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ci.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ci.disabled}, .${ci.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${ci.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(gn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),zk=pe(Wp,{name:"MuiInput",slot:"Input",overridesResolver:Vp})({}),xg=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,inputComponent:f="input",multiline:p=!1,slotProps:h,slots:m={},type:g="text",...w}=r,A=Hk(r),j={root:{ownerState:{disableUnderline:s}}},S=h??l?qn(h??l,j):j,z=m.root??a.Root??jk,C=m.input??a.Input??zk;return v.jsx(Jp,{slots:{root:z,input:C},slotProps:S,fullWidth:u,inputComponent:f,multiline:p,ref:n,type:g,...w,classes:A})});xg.muiName="Input";function Sk(e){return Qe("MuiInputAdornment",e)}const px=Ke("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var vx;const Ck=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},Ok=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:s,size:a,variant:l}=e,u={root:["root",n&&"disablePointerEvents",s&&`position${me(s)}`,l,r&&"hiddenLabel",a&&`size${me(a)}`]};return _e(u,Sk,t)},Dk=pe("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Ck})(nt(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${px.positionStart}&:not(.${px.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),z1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiInputAdornment"}),{children:s,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:f=!1,position:p,variant:h,...m}=r,g=Io()||{};let w=h;h&&g.variant,g&&!w&&(w=g.variant);const A={...r,hiddenLabel:g.hiddenLabel,size:g.size,disablePointerEvents:u,position:p,variant:w},b=Ok(A);return v.jsx(Np.Provider,{value:null,children:v.jsx(Dk,{as:l,ownerState:A,className:Oe(b.root,a),ref:n,...m,children:typeof s=="string"&&!f?v.jsx(jt,{color:"textSecondary",children:s}):v.jsxs(P.Fragment,{children:[p==="start"?vx||(vx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});function kk(e){return Qe("MuiInputLabel",e)}Ke("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Tk=e=>{const{classes:t,formControl:n,size:r,shrink:s,disableAnimation:a,variant:l,required:u}=e,f={root:["root",n&&"formControl",!a&&"animated",s&&"shrink",r&&r!=="normal"&&`size${me(r)}`,l],asterisk:[u&&"asterisk"]},p=_e(f,kk,t);return{...t,...p}},Ek=pe(Bd,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${uu.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(nt(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Vd=P.forwardRef(function(t,n){const r=rt({name:"MuiInputLabel",props:t}),{disableAnimation:s=!1,margin:a,shrink:l,variant:u,className:f,...p}=r,h=Io();let m=l;typeof m>"u"&&h&&(m=h.filled||h.focused||h.adornedStart);const g=Ci({props:r,muiFormControl:h,states:["size","variant","required","focused"]}),w={...r,disableAnimation:s,formControl:h,shrink:m,size:g.size,variant:g.variant,required:g.required,focused:g.focused},A=Tk(w);return v.jsx(Ek,{"data-shrink":m,ref:n,className:Oe(A.root,f),...p,ownerState:w,classes:A})});function Rk(e){return Qe("MuiLink",e)}const Mk=Ke("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Lk=({theme:e,ownerState:t})=>{const n=t.color,r=bi(e,`palette.${n}.main`,!1)||bi(e,`palette.${n}`,!1)||t.color,s=bi(e,`palette.${n}.mainChannel`)||bi(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:xt(r,.4)},hx={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Xk=e=>{const{classes:t,component:n,focusVisible:r,underline:s}=e,a={root:["root",`underline${me(s)}`,n==="button"&&"button",r&&"focusVisible"]};return _e(a,Rk,t)},Nk=pe(jt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${me(n.underline)}`],n.component==="button"&&t.button]}})(nt(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:xt(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:xt(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:xt(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Mk.focusVisible}`]:{outline:"auto"}}}]}))),tu=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiLink"}),s=Qr(),{className:a,color:l="primary",component:u="a",onBlur:f,onFocus:p,TypographyClasses:h,underline:m="always",variant:g="inherit",sx:w,...A}=r,[b,j]=P.useState(!1),S=D=>{Cl(D.target)||j(!1),f&&f(D)},z=D=>{Cl(D.target)&&j(!0),p&&p(D)},C={...r,color:l,component:u,focusVisible:b,underline:m,variant:g},O=Xk(C);return v.jsx(Nk,{color:l,className:Oe(O.root,a),classes:h,component:u,onBlur:S,onFocus:z,ref:n,ownerState:C,variant:g,...A,sx:[...hx[l]===void 0?[{color:l}]:[],...Array.isArray(w)?w:[w]],style:{...A.style,...m==="always"&&l!=="inherit"&&!hx[l]&&{"--Link-underlineColor":Lk({theme:s,ownerState:C})}}})}),Ro=P.createContext({});function Bk(e){return Qe("MuiList",e)}Ke("MuiList",["root","padding","dense","subheader"]);const Vk=e=>{const{classes:t,disablePadding:n,dense:r,subheader:s}=e;return _e({root:["root",!n&&"padding",r&&"dense",s&&"subheader"]},Bk,t)},Ik=pe("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),sy=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiList"}),{children:s,className:a,component:l="ul",dense:u=!1,disablePadding:f=!1,subheader:p,...h}=r,m=P.useMemo(()=>({dense:u}),[u]),g={...r,component:l,dense:u,disablePadding:f},w=Vk(g);return v.jsx(Ro.Provider,{value:m,children:v.jsxs(Ik,{as:l,className:Oe(w.root,a),ref:n,ownerState:g,...h,children:[p,s]})})});function Wk(e){return Qe("MuiListItem",e)}Ke("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function Jk(e){return Qe("MuiListItemButton",e)}const sl=Ke("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Fk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Yk=e=>{const{alignItems:t,classes:n,dense:r,disabled:s,disableGutters:a,divider:l,selected:u}=e,p=_e({root:["root",r&&"dense",!a&&"gutters",l&&"divider",s&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},Jk,n);return{...n,...p}},qk=pe(va,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:Fk})(nt(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${sl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${sl.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${sl.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${sl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${sl.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),S1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiListItemButton"}),{alignItems:s="center",autoFocus:a=!1,component:l="div",children:u,dense:f=!1,disableGutters:p=!1,divider:h=!1,focusVisibleClassName:m,selected:g=!1,className:w,...A}=r,b=P.useContext(Ro),j=P.useMemo(()=>({dense:f||b.dense||!1,alignItems:s,disableGutters:p}),[s,b.dense,f,p]),S=P.useRef(null);Zr(()=>{a&&S.current&&S.current.focus()},[a]);const z={...r,alignItems:s,dense:j.dense,disableGutters:p,divider:h,selected:g},C=Yk(z),O=pn(S,n);return v.jsx(Ro.Provider,{value:j,children:v.jsx(qk,{ref:O,href:A.href||A.to,component:(A.href||A.to)&&l==="div"?"button":l,focusVisibleClassName:Oe(C.focusVisible,m),ownerState:z,className:Oe(C.root,w),...A,classes:C,children:u})})});function Zk(e){return Qe("MuiListItemSecondaryAction",e)}Ke("MuiListItemSecondaryAction",["root","disableGutters"]);const Gk=e=>{const{disableGutters:t,classes:n}=e;return _e({root:["root",t&&"disableGutters"]},Zk,n)},Uk=pe("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),C1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiListItemSecondaryAction"}),{className:s,...a}=r,l=P.useContext(Ro),u={...r,disableGutters:l.disableGutters},f=Gk(u);return v.jsx(Uk,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});C1.muiName="ListItemSecondaryAction";const Qk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},Kk=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:u}=e;return _e({root:["root",r&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction"],container:["container"]},Wk,n)},_k=pe("div",{name:"MuiListItem",slot:"Root",overridesResolver:Qk})(nt(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${sl.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),$k=pe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Tc=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiListItem"}),{alignItems:s="center",children:a,className:l,component:u,components:f={},componentsProps:p={},ContainerComponent:h="li",ContainerProps:{className:m,...g}={},dense:w=!1,disableGutters:A=!1,disablePadding:b=!1,divider:j=!1,secondaryAction:S,slotProps:z={},slots:C={},...O}=r,D=P.useContext(Ro),T=P.useMemo(()=>({dense:w||D.dense||!1,alignItems:s,disableGutters:A}),[s,D.dense,w,A]),M=P.useRef(null),L=P.Children.toArray(a),R=L.length&&Ld(L[L.length-1],["ListItemSecondaryAction"]),H={...r,alignItems:s,dense:T.dense,disableGutters:A,disablePadding:b,divider:j,hasSecondaryAction:R},N=Kk(H),B=pn(M,n),W=C.root||f.Root||_k,_=z.root||p.root||{},J={className:Oe(N.root,_.className,l),...O};let U=u||"li";return R?(U=!J.component&&!u?"div":U,h==="li"&&(U==="li"?U="div":J.component==="li"&&(J.component="div")),v.jsx(Ro.Provider,{value:T,children:v.jsxs($k,{as:h,className:Oe(N.container,m),ref:B,ownerState:H,...g,children:[v.jsx(W,{..._,...!bu(W)&&{as:U,ownerState:{...H,..._.ownerState}},...J,children:L}),L.pop()]})})):v.jsx(Ro.Provider,{value:T,children:v.jsxs(W,{..._,as:U,ref:B,...!bu(W)&&{ownerState:{...H,..._.ownerState}},...J,children:[L,S&&v.jsx(C1,{children:S})]})})});function eT(e){return Qe("MuiListItemIcon",e)}const mx=Ke("MuiListItemIcon",["root","alignItemsFlexStart"]),tT=e=>{const{alignItems:t,classes:n}=e;return _e({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},eT,n)},nT=pe("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(nt(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),rT=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiListItemIcon"}),{className:s,...a}=r,l=P.useContext(Ro),u={...r,alignItems:l.alignItems},f=tT(u);return v.jsx(nT,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});function oT(e){return Qe("MuiListItemText",e)}const ll=Ke("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),sT=e=>{const{classes:t,inset:n,primary:r,secondary:s,dense:a}=e;return _e({root:["root",n&&"inset",a&&"dense",r&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},oT,t)},iT=pe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ll.primary}`]:t.primary},{[`& .${ll.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${L8.root}:where(& .${ll.primary})`]:{display:"block"},[`.${L8.root}:where(& .${ll.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),cl=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiListItemText"}),{children:s,className:a,disableTypography:l=!1,inset:u=!1,primary:f,primaryTypographyProps:p,secondary:h,secondaryTypographyProps:m,slots:g={},slotProps:w={},...A}=r,{dense:b}=P.useContext(Ro);let j=f??s,S=h;const z={...r,disableTypography:l,inset:u,primary:!!j,secondary:!!S,dense:b},C=sT(z),O={slots:g,slotProps:{primary:p,secondary:m,...w}},[D,T]=pt("root",{className:Oe(C.root,a),elementType:iT,externalForwardedProps:{...O,...A},ownerState:z,ref:n}),[M,L]=pt("primary",{className:C.primary,elementType:jt,externalForwardedProps:O,ownerState:z}),[R,H]=pt("secondary",{className:C.secondary,elementType:jt,externalForwardedProps:O,ownerState:z});return j!=null&&j.type!==jt&&!l&&(j=v.jsx(M,{variant:b?"body2":"body1",component:L!=null&&L.variant?void 0:"span",...L,children:j})),S!=null&&S.type!==jt&&!l&&(S=v.jsx(R,{variant:"body2",color:"textSecondary",...H,children:S})),v.jsxs(D,{...T,children:[j,S]})});function gm(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function yx(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function O1(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Ec(e,t,n,r,s,a){let l=!1,u=s(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(l)return!1;l=!0}const f=r?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!O1(u,a)||f)u=s(e,u,n);else return u.focus(),!0}return!1}const aT=P.forwardRef(function(t,n){const{actions:r,autoFocus:s=!1,autoFocusItem:a=!1,children:l,className:u,disabledItemsFocusable:f=!1,disableListWrap:p=!1,onKeyDown:h,variant:m="selectedMenu",...g}=t,w=P.useRef(null),A=P.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Zr(()=>{s&&w.current.focus()},[s]),P.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(C,{direction:O})=>{const D=!w.current.style.width;if(C.clientHeight{const O=w.current,D=C.key;if(C.ctrlKey||C.metaKey||C.altKey){h&&h(C);return}const M=lr(O).activeElement;if(D==="ArrowDown")C.preventDefault(),Ec(O,M,p,f,gm);else if(D==="ArrowUp")C.preventDefault(),Ec(O,M,p,f,yx);else if(D==="Home")C.preventDefault(),Ec(O,null,p,f,gm);else if(D==="End")C.preventDefault(),Ec(O,null,p,f,yx);else if(D.length===1){const L=A.current,R=D.toLowerCase(),H=performance.now();L.keys.length>0&&(H-L.lastTime>500?(L.keys=[],L.repeating=!0,L.previousKeyMatched=!0):L.repeating&&R!==L.keys[0]&&(L.repeating=!1)),L.lastTime=H,L.keys.push(R);const N=M&&!L.repeating&&O1(M,L);L.previousKeyMatched&&(N||Ec(O,M,!1,f,gm,L))?C.preventDefault():L.previousKeyMatched=!1}h&&h(C)},j=pn(w,n);let S=-1;P.Children.forEach(l,(C,O)=>{if(!P.isValidElement(C)){S===O&&(S+=1,S>=l.length&&(S=-1));return}C.props.disabled||(m==="selectedMenu"&&C.props.selected||S===-1)&&(S=O),S===O&&(C.props.disabled||C.props.muiSkipListHighlight||C.type.muiSkipListHighlight)&&(S+=1,S>=l.length&&(S=-1))});const z=P.Children.map(l,(C,O)=>{if(O===S){const D={};return a&&(D.autoFocus=!0),C.props.tabIndex===void 0&&m==="selectedMenu"&&(D.tabIndex=0),P.cloneElement(C,D)}return C});return v.jsx(sy,{role:"menu",ref:j,className:u,onKeyDown:b,tabIndex:s?0:-1,...g,children:z})});function lT(e){return Qe("MuiPopover",e)}Ke("MuiPopover",["root","paper"]);function gx(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Ax(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Px(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Ad(e){return typeof e=="function"?e():e}const cT=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"]},lT,t)},uT=pe(Pg,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),D1=pe(Gr,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),fT=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiPopover"}),{action:s,anchorEl:a,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:f="anchorEl",children:p,className:h,container:m,elevation:g=8,marginThreshold:w=16,open:A,PaperProps:b={},slots:j={},slotProps:S={},transformOrigin:z={vertical:"top",horizontal:"left"},TransitionComponent:C,transitionDuration:O="auto",TransitionProps:D={},disableScrollLock:T=!1,...M}=r,L=P.useRef(),R={...r,anchorOrigin:l,anchorReference:f,elevation:g,marginThreshold:w,transformOrigin:z,TransitionComponent:C,transitionDuration:O,TransitionProps:D},H=cT(R),N=P.useCallback(()=>{if(f==="anchorPosition")return u;const Ce=Ad(a),Pe=(Ce&&Ce.nodeType===1?Ce:lr(L.current).body).getBoundingClientRect();return{top:Pe.top+gx(Pe,l.vertical),left:Pe.left+Ax(Pe,l.horizontal)}},[a,l.horizontal,l.vertical,u,f]),B=P.useCallback(Ce=>({vertical:gx(Ce,z.vertical),horizontal:Ax(Ce,z.horizontal)}),[z.horizontal,z.vertical]),W=P.useCallback(Ce=>{const Le={width:Ce.offsetWidth,height:Ce.offsetHeight},Pe=B(Le);if(f==="none")return{top:null,left:null,transformOrigin:Px(Pe)};const Ve=N();let be=Ve.top-Pe.vertical,Be=Ve.left-Pe.horizontal;const Pt=be+Le.height,Ne=Be+Le.width,gt=Lo(Ad(a)),ft=gt.innerHeight-w,V=gt.innerWidth-w;if(w!==null&&beft){const te=Pt-ft;be-=te,Pe.vertical+=te}if(w!==null&&BeV){const te=Ne-V;Be-=te,Pe.horizontal+=te}return{top:`${Math.round(be)}px`,left:`${Math.round(Be)}px`,transformOrigin:Px(Pe)}},[a,f,N,B,w]),[_,J]=P.useState(A),U=P.useCallback(()=>{const Ce=L.current;if(!Ce)return;const Le=W(Ce);Le.top!==null&&Ce.style.setProperty("top",Le.top),Le.left!==null&&(Ce.style.left=Le.left),Ce.style.transformOrigin=Le.transformOrigin,J(!0)},[W]);P.useEffect(()=>(T&&window.addEventListener("scroll",U),()=>window.removeEventListener("scroll",U)),[a,T,U]);const oe=()=>{U()},K=()=>{J(!1)};P.useEffect(()=>{A&&U()}),P.useImperativeHandle(s,()=>A?{updatePosition:()=>{U()}}:null,[A,U]),P.useEffect(()=>{if(!A)return;const Ce=eg(()=>{U()}),Le=Lo(Ad(a));return Le.addEventListener("resize",Ce),()=>{Ce.clear(),Le.removeEventListener("resize",Ce)}},[a,A,U]);let Z=O;const E={slots:{transition:C,...j},slotProps:{transition:D,paper:b,...S}},[q,X]=pt("transition",{elementType:wu,externalForwardedProps:E,ownerState:R,getSlotProps:Ce=>({...Ce,onEntering:(Le,Pe)=>{var Ve;(Ve=Ce.onEntering)==null||Ve.call(Ce,Le,Pe),oe()},onExited:Le=>{var Pe;(Pe=Ce.onExited)==null||Pe.call(Ce,Le),K()}}),additionalProps:{appear:!0,in:A}});O==="auto"&&!q.muiSupportAuto&&(Z=void 0);const $=m||(a?lr(Ad(a)).body:void 0),[ee,{slots:se,slotProps:ae,...ye}]=pt("root",{ref:n,elementType:uT,externalForwardedProps:{...E,...M},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:j.backdrop},slotProps:{backdrop:ig(typeof S.backdrop=="function"?S.backdrop(R):S.backdrop,{invisible:!0})},container:$,open:A},ownerState:R,className:Oe(H.root,h)}),[le,we]=pt("paper",{ref:L,className:H.paper,elementType:D1,externalForwardedProps:E,shouldForwardComponentProp:!0,additionalProps:{elevation:g,style:_?void 0:{opacity:0}},ownerState:R});return v.jsx(ee,{...ye,...!bu(ee)&&{slots:se,slotProps:ae,disableScrollLock:T},children:v.jsx(q,{...X,timeout:Z,children:v.jsx(le,{...we,children:p})})})});function dT(e){return Qe("MuiMenu",e)}Ke("MuiMenu",["root","paper","list"]);const pT={vertical:"top",horizontal:"right"},vT={vertical:"top",horizontal:"left"},hT=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"],list:["list"]},dT,t)},mT=pe(fT,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),yT=pe(D1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),gT=pe(aT,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Hu=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:u=!1,MenuListProps:f={},onClose:p,open:h,PaperProps:m={},PopoverClasses:g,transitionDuration:w="auto",TransitionProps:{onEntering:A,...b}={},variant:j="selectedMenu",slots:S={},slotProps:z={},...C}=r,O=Iu(),D={...r,autoFocus:s,disableAutoFocusItem:u,MenuListProps:f,onEntering:A,PaperProps:m,transitionDuration:w,TransitionProps:b,variant:j},T=hT(D),M=s&&!u&&h,L=P.useRef(null),R=(Z,E)=>{L.current&&L.current.adjustStyleForScrollbar(Z,{direction:O?"rtl":"ltr"}),A&&A(Z,E)},H=Z=>{Z.key==="Tab"&&(Z.preventDefault(),p&&p(Z,"tabKeyDown"))};let N=-1;P.Children.map(a,(Z,E)=>{P.isValidElement(Z)&&(Z.props.disabled||(j==="selectedMenu"&&Z.props.selected||N===-1)&&(N=E))});const B={slots:S,slotProps:{list:f,transition:b,paper:m,...z}},W=W0({elementType:S.root,externalSlotProps:z.root,ownerState:D,className:[T.root,l]}),[_,J]=pt("paper",{className:T.paper,elementType:yT,externalForwardedProps:B,shouldForwardComponentProp:!0,ownerState:D}),[U,oe]=pt("list",{className:Oe(T.list,f.className),elementType:gT,shouldForwardComponentProp:!0,externalForwardedProps:B,getSlotProps:Z=>({...Z,onKeyDown:E=>{var q;H(E),(q=Z.onKeyDown)==null||q.call(Z,E)}}),ownerState:D}),K=typeof B.slotProps.transition=="function"?B.slotProps.transition(D):B.slotProps.transition;return v.jsx(mT,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?pT:vT,slots:{root:S.root,paper:_,backdrop:S.backdrop,...S.transition&&{transition:S.transition}},slotProps:{root:W,paper:J,backdrop:typeof z.backdrop=="function"?z.backdrop(D):z.backdrop,transition:{...K,onEntering:(...Z)=>{var E;R(...Z),(E=K==null?void 0:K.onEntering)==null||E.call(K,...Z)}}},open:h,ref:n,transitionDuration:w,ownerState:D,...C,classes:g,children:v.jsx(U,{actions:L,autoFocus:s&&(N===-1||u),autoFocusItem:M,variant:j,...oe,children:a})})});function AT(e){return Qe("MuiMenuItem",e)}const Rc=Ke("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),PT=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},bT=e=>{const{disabled:t,dense:n,divider:r,disableGutters:s,selected:a,classes:l}=e,f=_e({root:["root",n&&"dense",t&&"disabled",!s&&"gutters",r&&"divider",a&&"selected"]},AT,l);return{...l,...f}},xT=pe(va,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:PT})(nt(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Rc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Rc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Rc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Rc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Rc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${cx.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${cx.inset}`]:{marginLeft:52},[`& .${ll.root}`]:{marginTop:0,marginBottom:0},[`& .${ll.inset}`]:{paddingLeft:36},[`& .${mx.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${mx.root} svg`]:{fontSize:"1.25rem"}}}]}))),ss=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiMenuItem"}),{autoFocus:s=!1,component:a="li",dense:l=!1,divider:u=!1,disableGutters:f=!1,focusVisibleClassName:p,role:h="menuitem",tabIndex:m,className:g,...w}=r,A=P.useContext(Ro),b=P.useMemo(()=>({dense:l||A.dense||!1,disableGutters:f}),[A.dense,l,f]),j=P.useRef(null);Zr(()=>{s&&j.current&&j.current.focus()},[s]);const S={...r,dense:b.dense,divider:u,disableGutters:f},z=bT(r),C=pn(j,n);let O;return r.disabled||(O=m!==void 0?m:-1),v.jsx(Ro.Provider,{value:b,children:v.jsx(xT,{ref:C,role:h,tabIndex:O,component:a,focusVisibleClassName:Oe(z.focusVisible,p),className:Oe(z.root,g),...w,ownerState:S,classes:z})})});function wT(e){return Qe("MuiNativeSelect",e)}const wg=Ke("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),HT=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,u={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${me(n)}`,a&&"iconOpen",r&&"disabled"]};return _e(u,wT,t)},k1=pe("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${wg.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),jT=pe(k1,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Zn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${wg.multiple}`]:t.multiple}]}})({}),T1=pe("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${wg.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),zT=pe(T1,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${me(n.variant)}`],n.open&&t.iconOpen]}})({}),ST=P.forwardRef(function(t,n){const{className:r,disabled:s,error:a,IconComponent:l,inputRef:u,variant:f="standard",...p}=t,h={...t,disabled:s,variant:f,error:a},m=HT(h);return v.jsxs(P.Fragment,{children:[v.jsx(jT,{ownerState:h,className:Oe(m.select,r),disabled:s,ref:u||n,...p}),t.multiple?null:v.jsx(zT,{as:l,ownerState:h,className:m.icon})]})});var bx;const CT=pe("fieldset",{shouldForwardProp:Zn})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),OT=pe("legend",{shouldForwardProp:Zn})(nt(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function DT(e){const{children:t,classes:n,className:r,label:s,notched:a,...l}=e,u=s!=null&&s!=="",f={...e,notched:a,withLabel:u};return v.jsx(CT,{"aria-hidden":!0,className:r,ownerState:f,...l,children:v.jsx(OT,{ownerState:f,children:u?v.jsx("span",{children:s}):bx||(bx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const kT=e=>{const{classes:t}=e,r=_e({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},VC,t);return{...t,...r}},TT=pe(Ip,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Bp})(nt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${so.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${so.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${so.focused} .${so.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(gn()).map(([n])=>({props:{color:n},style:{[`&.${so.focused} .${so.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${so.error} .${so.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${so.disabled} .${so.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),ET=pe(DT,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(nt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),RT=pe(Wp,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Vp})(nt(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),Hg=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiOutlinedInput"}),{components:s={},fullWidth:a=!1,inputComponent:l="input",label:u,multiline:f=!1,notched:p,slots:h={},slotProps:m={},type:g="text",...w}=r,A=kT(r),b=Io(),j=Ci({props:r,muiFormControl:b,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S={...r,color:j.color||"primary",disabled:j.disabled,error:j.error,focused:j.focused,formControl:b,fullWidth:a,hiddenLabel:j.hiddenLabel,multiline:f,size:j.size,type:g},z=h.root??s.Root??TT,C=h.input??s.Input??RT,[O,D]=pt("notchedOutline",{elementType:ET,className:A.notchedOutline,shouldForwardComponentProp:!0,ownerState:S,externalForwardedProps:{slots:h,slotProps:m},additionalProps:{label:u!=null&&u!==""&&j.required?v.jsxs(P.Fragment,{children:[u," ","*"]}):u}});return v.jsx(Jp,{slots:{root:z,input:C},slotProps:m,renderSuffix:T=>v.jsx(O,{...D,notched:typeof p<"u"?p:!!(T.startAdornment||T.filled||T.focused)}),fullWidth:a,inputComponent:l,multiline:f,ref:n,type:g,...w,classes:{...A,notchedOutline:null}})});Hg.muiName="Input";const MT=bt(v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),LT=bt(v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),XT=bt(v.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),NT=bt(v.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),BT=pe("span",{shouldForwardProp:Zn})({position:"relative",display:"flex"}),VT=pe(XT)({transform:"scale(1)"}),IT=pe(NT)(nt(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function E1(e){const{checked:t=!1,classes:n={},fontSize:r}=e,s={...e,checked:t};return v.jsxs(BT,{className:n.root,ownerState:s,children:[v.jsx(VT,{fontSize:r,className:n.background,ownerState:s}),v.jsx(IT,{fontSize:r,className:n.dot,ownerState:s})]})}const R1=P.createContext(void 0);function WT(){return P.useContext(R1)}function JT(e){return Qe("MuiRadio",e)}const xx=Ke("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),FT=e=>{const{classes:t,color:n,size:r}=e,s={root:["root",`color${me(n)}`,r!=="medium"&&`size${me(r)}`]};return{...t,..._e(s,JT,t)}},YT=pe(Ag,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${me(n.size)}`],t[`color${me(n.color)}`]]}})(nt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${xx.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${xx.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function qT(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const ZT=v.jsx(E1,{checked:!0}),GT=v.jsx(E1,{}),ju=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=ZT,color:l="primary",icon:u=GT,name:f,onChange:p,size:h="medium",className:m,disabled:g,disableRipple:w=!1,slots:A={},slotProps:b={},inputProps:j,...S}=r,z=Io();let C=g;z&&typeof C>"u"&&(C=z.disabled),C??(C=!1);const O={...r,disabled:C,disableRipple:w,color:l,size:h},D=FT(O),T=WT();let M=s;const L=Wm(p,T&&T.onChange);let R=f;T&&(typeof M>"u"&&(M=qT(T.value,r.value)),typeof R>"u"&&(R=T.name));const H=b.input??j,[N,B]=pt("root",{ref:n,elementType:YT,className:Oe(D.root,m),shouldForwardComponentProp:!0,externalForwardedProps:{slots:A,slotProps:b,...S},getSlotProps:W=>({...W,onChange:(_,...J)=>{var U;(U=W.onChange)==null||U.call(W,_,...J),L(_,...J)}}),ownerState:O,additionalProps:{type:"radio",icon:P.cloneElement(u,{fontSize:u.props.fontSize??h}),checkedIcon:P.cloneElement(a,{fontSize:a.props.fontSize??h}),disabled:C,name:R,checked:M,slots:A,slotProps:{input:typeof H=="function"?H(O):H}}});return v.jsx(N,{...B,classes:D})});function UT(e){return Qe("MuiRadioGroup",e)}Ke("MuiRadioGroup",["root","row","error"]);const QT=e=>{const{classes:t,row:n,error:r}=e;return _e({root:["root",n&&"row",r&&"error"]},UT,t)},ip=P.forwardRef(function(t,n){const{actions:r,children:s,className:a,defaultValue:l,name:u,onChange:f,value:p,...h}=t,m=P.useRef(null),g=QT(t),[w,A]=xi({controlled:p,default:l,name:"RadioGroup"});P.useImperativeHandle(r,()=>({focus:()=>{let z=m.current.querySelector("input:not(:disabled):checked");z||(z=m.current.querySelector("input:not(:disabled)")),z&&z.focus()}}),[]);const b=pn(n,m),j=Xo(u),S=P.useMemo(()=>({name:j,onChange(z){A(z.target.value),f&&f(z,z.target.value)},value:w}),[j,f,A,w]);return v.jsx(R1.Provider,{value:S,children:v.jsx(nk,{role:"radiogroup",ref:b,className:Oe(g.root,a),...h,children:s})})});function M1(e){return Qe("MuiSelect",e)}const Mc=Ke("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var wx;const KT=pe(k1,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Mc.select}`]:t.select},{[`&.${Mc.select}`]:t[n.variant]},{[`&.${Mc.error}`]:t.error},{[`&.${Mc.multiple}`]:t.multiple}]}})({[`&.${Mc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),_T=pe(T1,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${me(n.variant)}`],n.open&&t.iconOpen]}})({}),$T=pe("input",{shouldForwardProp:e=>e1(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Hx(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function eE(e){return e==null||typeof e=="string"&&!e.trim()}const tE=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,u={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${me(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return _e(u,M1,t)},nE=P.forwardRef(function(t,n){var qt;const{"aria-describedby":r,"aria-label":s,autoFocus:a,autoWidth:l,children:u,className:f,defaultOpen:p,defaultValue:h,disabled:m,displayEmpty:g,error:w=!1,IconComponent:A,inputRef:b,labelId:j,MenuProps:S={},multiple:z,name:C,onBlur:O,onChange:D,onClose:T,onFocus:M,onOpen:L,open:R,readOnly:H,renderValue:N,required:B,SelectDisplayProps:W={},tabIndex:_,type:J,value:U,variant:oe="standard",...K}=t,[Z,E]=xi({controlled:U,default:h,name:"Select"}),[q,X]=xi({controlled:R,default:p,name:"Select"}),$=P.useRef(null),ee=P.useRef(null),[se,ae]=P.useState(null),{current:ye}=P.useRef(R!=null),[le,we]=P.useState(),Ce=pn(n,b),Le=P.useCallback(Y=>{ee.current=Y,Y&&ae(Y)},[]),Pe=se==null?void 0:se.parentNode;P.useImperativeHandle(Ce,()=>({focus:()=>{ee.current.focus()},node:$.current,value:Z}),[Z]),P.useEffect(()=>{p&&q&&se&&!ye&&(we(l?null:Pe.clientWidth),ee.current.focus())},[se,l]),P.useEffect(()=>{a&&ee.current.focus()},[a]),P.useEffect(()=>{if(!j)return;const Y=lr(ee.current).getElementById(j);if(Y){const F=()=>{getSelection().isCollapsed&&ee.current.focus()};return Y.addEventListener("click",F),()=>{Y.removeEventListener("click",F)}}},[j]);const Ve=(Y,F)=>{Y?L&&L(F):T&&T(F),ye||(we(l?null:Pe.clientWidth),X(Y))},be=Y=>{Y.button===0&&(Y.preventDefault(),ee.current.focus(),Ve(!0,Y))},Be=Y=>{Ve(!1,Y)},Pt=P.Children.toArray(u),Ne=Y=>{const F=Pt.find(ge=>ge.props.value===Y.target.value);F!==void 0&&(E(F.props.value),D&&D(Y,F))},gt=Y=>F=>{let ge;if(F.currentTarget.hasAttribute("tabindex")){if(z){ge=Array.isArray(Z)?Z.slice():[];const je=Z.indexOf(Y.props.value);je===-1?ge.push(Y.props.value):ge.splice(je,1)}else ge=Y.props.value;if(Y.props.onClick&&Y.props.onClick(F),Z!==ge&&(E(ge),D)){const je=F.nativeEvent||F,Ee=new je.constructor(je.type,je);Object.defineProperty(Ee,"target",{writable:!0,value:{value:ge,name:C}}),D(Ee,Y)}z||Ve(!1,F)}},ft=Y=>{H||[" ","ArrowUp","ArrowDown","Enter"].includes(Y.key)&&(Y.preventDefault(),Ve(!0,Y))},V=se!==null&&q,te=Y=>{!V&&O&&(Object.defineProperty(Y,"target",{writable:!0,value:{value:Z,name:C}}),O(Y))};delete K["aria-invalid"];let ne,He;const he=[];let xe=!1;(sp({value:Z})||g)&&(N?ne=N(Z):xe=!0);const Ie=Pt.map(Y=>{if(!P.isValidElement(Y))return null;let F;if(z){if(!Array.isArray(Z))throw new Error(Rs(2));F=Z.some(ge=>Hx(ge,Y.props.value)),F&&xe&&he.push(Y.props.children)}else F=Hx(Z,Y.props.value),F&&xe&&(He=Y.props.children);return P.cloneElement(Y,{"aria-selected":F?"true":"false",onClick:gt(Y),onKeyUp:ge=>{ge.key===" "&&ge.preventDefault(),Y.props.onKeyUp&&Y.props.onKeyUp(ge)},role:"option",selected:F,value:void 0,"data-value":Y.props.value})});xe&&(z?he.length===0?ne=null:ne=he.reduce((Y,F,ge)=>(Y.push(F),ge{const{classes:t}=e,r=_e({root:["root"]},M1,t);return{...t,...r}},jg={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Zn(e)&&e!=="variant",slot:"Root"},oE=pe(xg,jg)(""),sE=pe(Hg,jg)(""),iE=pe(bg,jg)(""),zu=P.forwardRef(function(t,n){const r=rt({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:a,classes:l={},className:u,defaultOpen:f=!1,displayEmpty:p=!1,IconComponent:h=h1,id:m,input:g,inputProps:w,label:A,labelId:b,MenuProps:j,multiple:S=!1,native:z=!1,onClose:C,onOpen:O,open:D,renderValue:T,SelectDisplayProps:M,variant:L="outlined",...R}=r,H=z?ST:nE,N=Io(),B=Ci({props:r,muiFormControl:N,states:["variant","error"]}),W=B.variant||L,_={...r,variant:W,classes:l},J=rE(_),{root:U,...oe}=J,K=g||{standard:v.jsx(oE,{ownerState:_}),outlined:v.jsx(sE,{label:A,ownerState:_}),filled:v.jsx(iE,{ownerState:_})}[W],Z=pn(n,zi(K));return v.jsx(P.Fragment,{children:P.cloneElement(K,{inputComponent:H,inputProps:{children:a,error:B.error,IconComponent:h,variant:W,type:void 0,multiple:S,...z?{id:m}:{autoWidth:s,defaultOpen:f,displayEmpty:p,labelId:b,MenuProps:j,onClose:C,onOpen:O,open:D,renderValue:T,SelectDisplayProps:{id:m,...M}},...w,classes:w?qn(oe,w.classes):oe,...g?g.props.inputProps:{}},...(S&&z||p)&&W==="outlined"?{notched:!0}:{},ref:Z,className:Oe(K.props.className,u,J.root),...!g&&{variant:W},...R})})});zu.muiName="Select";function aE(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:s,resumeHideDuration:a}=e,l=Qi();P.useEffect(()=>{if(!s)return;function S(z){z.defaultPrevented||z.key==="Escape"&&(r==null||r(z,"escapeKeyDown"))}return document.addEventListener("keydown",S),()=>{document.removeEventListener("keydown",S)}},[s,r]);const u=ar((S,z)=>{r==null||r(S,z)}),f=ar(S=>{!r||S==null||l.start(S,()=>{u(null,"timeout")})});P.useEffect(()=>(s&&f(t),l.clear),[s,t,f,l]);const p=S=>{r==null||r(S,"clickaway")},h=l.clear,m=P.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),g=S=>z=>{const C=S.onBlur;C==null||C(z),m()},w=S=>z=>{const C=S.onFocus;C==null||C(z),h()},A=S=>z=>{const C=S.onMouseEnter;C==null||C(z),h()},b=S=>z=>{const C=S.onMouseLeave;C==null||C(z),m()};return P.useEffect(()=>{if(!n&&s)return window.addEventListener("focus",m),window.addEventListener("blur",h),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",h)}},[n,s,m,h]),{getRootProps:(S={})=>{const z={...ep(e),...ep(S)};return{role:"presentation",...S,...z,onBlur:g(z),onFocus:w(z),onMouseEnter:A(z),onMouseLeave:b(z)}},onClickAway:p}}function lE(e){return Qe("MuiSnackbarContent",e)}Ke("MuiSnackbarContent",["root","message","action"]);const cE=e=>{const{classes:t}=e;return _e({root:["root"],action:["action"],message:["message"]},lE,t)},uE=pe(Gr,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(nt(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=L0(e.palette.background.default,t);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),fE=pe("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),dE=pe("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),pE=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiSnackbarContent"}),{action:s,className:a,message:l,role:u="alert",...f}=r,p=r,h=cE(p);return v.jsxs(uE,{role:u,square:!0,elevation:6,className:Oe(h.root,a),ownerState:p,ref:n,...f,children:[v.jsx(fE,{className:h.message,ownerState:p,children:l}),s?v.jsx(dE,{className:h.action,ownerState:p,children:s}):null]})});function vE(e){return Qe("MuiSnackbar",e)}Ke("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const hE=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${me(n.vertical)}${me(n.horizontal)}`]};return _e(r,vE,t)},mE=pe("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${me(n.anchorOrigin.vertical)}${me(n.anchorOrigin.horizontal)}`]]}})(nt(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:t})=>t.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:t})=>t.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),yE=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiSnackbar"}),s=Qr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{action:l,anchorOrigin:{vertical:u,horizontal:f}={vertical:"bottom",horizontal:"left"},autoHideDuration:p=null,children:h,className:m,ClickAwayListenerProps:g,ContentProps:w,disableWindowBlurListener:A=!1,message:b,onBlur:j,onClose:S,onFocus:z,onMouseEnter:C,onMouseLeave:O,open:D,resumeHideDuration:T,slots:M={},slotProps:L={},TransitionComponent:R,transitionDuration:H=a,TransitionProps:{onEnter:N,onExited:B,...W}={},..._}=r,J={...r,anchorOrigin:{vertical:u,horizontal:f},autoHideDuration:p,disableWindowBlurListener:A,TransitionComponent:R,transitionDuration:H},U=hE(J),{getRootProps:oe,onClickAway:K}=aE({...J}),[Z,E]=P.useState(!0),q=Ve=>{E(!0),B&&B(Ve)},X=(Ve,be)=>{E(!1),N&&N(Ve,be)},$={slots:{transition:R,...M},slotProps:{content:w,clickAwayListener:g,transition:W,...L}},[ee,se]=pt("root",{ref:n,className:[U.root,m],elementType:mE,getSlotProps:oe,externalForwardedProps:{...$,..._},ownerState:J}),[ae,{ownerState:ye,...le}]=pt("clickAwayListener",{elementType:P1,externalForwardedProps:$,getSlotProps:Ve=>({onClickAway:(...be)=>{var Be;(Be=Ve.onClickAway)==null||Be.call(Ve,...be),K(...be)}}),ownerState:J}),[we,Ce]=pt("content",{elementType:pE,shouldForwardComponentProp:!0,externalForwardedProps:$,additionalProps:{message:b,action:l},ownerState:J}),[Le,Pe]=pt("transition",{elementType:wu,externalForwardedProps:$,getSlotProps:Ve=>({onEnter:(...be)=>{var Be;(Be=Ve.onEnter)==null||Be.call(Ve,...be),X(...be)},onExited:(...be)=>{var Be;(Be=Ve.onExited)==null||Be.call(Ve,...be),q(...be)}}),additionalProps:{appear:!0,in:D,timeout:H,direction:u==="top"?"down":"up"},ownerState:J});return!D&&Z?null:v.jsx(ae,{...le,...M.clickAwayListener&&{ownerState:ye},children:v.jsx(ee,{...se,children:v.jsx(Le,{...Pe,children:h||v.jsx(we,{...Ce})})})})});function gE(e){return Qe("MuiTooltip",e)}const Sn=Ke("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function AE(e){return Math.round(e*1e5)/1e5}const PE=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:s,placement:a}=e,l={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",s&&"touch",`tooltipPlacement${me(a.split("-")[0])}`],arrow:["arrow"]};return _e(l,gE,t)},bE=pe(Xp,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(nt(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Sn.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Sn.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Sn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Sn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Sn.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Sn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Sn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Sn.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),xE=pe("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${me(n.placement.split("-")[0])}`]]}})(nt(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:xt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Sn.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Sn.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Sn.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${AE(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Sn.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Sn.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),wE=pe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(nt(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:xt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Pd=!1;const jx=new Rp;let Lc={x:0,y:0};function bd(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const zg=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTooltip"}),{arrow:s=!1,children:a,classes:l,components:u={},componentsProps:f={},describeChild:p=!1,disableFocusListener:h=!1,disableHoverListener:m=!1,disableInteractive:g=!1,disableTouchListener:w=!1,enterDelay:A=100,enterNextDelay:b=0,enterTouchDelay:j=700,followCursor:S=!1,id:z,leaveDelay:C=0,leaveTouchDelay:O=1500,onClose:D,onOpen:T,open:M,placement:L="bottom",PopperComponent:R,PopperProps:H={},slotProps:N={},slots:B={},title:W,TransitionComponent:_,TransitionProps:J,...U}=r,oe=P.isValidElement(a)?a:v.jsx("span",{children:a}),K=Qr(),Z=Iu(),[E,q]=P.useState(),[X,$]=P.useState(null),ee=P.useRef(!1),se=g||S,ae=Qi(),ye=Qi(),le=Qi(),we=Qi(),[Ce,Le]=xi({controlled:M,default:!1,name:"Tooltip",state:"open"});let Pe=Ce;const Ve=Xo(z),be=P.useRef(),Be=ar(()=>{be.current!==void 0&&(document.body.style.WebkitUserSelect=be.current,be.current=void 0),we.clear()});P.useEffect(()=>Be,[Be]);const Pt=Ye=>{jx.clear(),Pd=!0,Le(!0),T&&!Pe&&T(Ye)},Ne=ar(Ye=>{jx.start(800+C,()=>{Pd=!1}),Le(!1),D&&Pe&&D(Ye),ae.start(K.transitions.duration.shortest,()=>{ee.current=!1})}),gt=Ye=>{ee.current&&Ye.type!=="touchstart"||(E&&E.removeAttribute("title"),ye.clear(),le.clear(),A||Pd&&b?ye.start(Pd?b:A,()=>{Pt(Ye)}):Pt(Ye))},ft=Ye=>{ye.clear(),le.start(C,()=>{Ne(Ye)})},[,V]=P.useState(!1),te=Ye=>{Cl(Ye.target)||(V(!1),ft(Ye))},ne=Ye=>{E||q(Ye.currentTarget),Cl(Ye.target)&&(V(!0),gt(Ye))},He=Ye=>{ee.current=!0;const Rt=oe.props;Rt.onTouchStart&&Rt.onTouchStart(Ye)},he=Ye=>{He(Ye),le.clear(),ae.clear(),Be(),be.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",we.start(j,()=>{document.body.style.WebkitUserSelect=be.current,gt(Ye)})},xe=Ye=>{oe.props.onTouchEnd&&oe.props.onTouchEnd(Ye),Be(),le.start(O,()=>{Ne(Ye)})};P.useEffect(()=>{if(!Pe)return;function Ye(Rt){Rt.key==="Escape"&&Ne(Rt)}return document.addEventListener("keydown",Ye),()=>{document.removeEventListener("keydown",Ye)}},[Ne,Pe]);const Ie=pn(zi(oe),q,n);!W&&W!==0&&(Pe=!1);const lt=P.useRef(),Fe=Ye=>{const Rt=oe.props;Rt.onMouseMove&&Rt.onMouseMove(Ye),Lc={x:Ye.clientX,y:Ye.clientY},lt.current&<.current.update()},ct={},et=typeof W=="string";p?(ct.title=!Pe&&et&&!m?W:null,ct["aria-describedby"]=Pe?Ve:null):(ct["aria-label"]=et?W:null,ct["aria-labelledby"]=Pe&&!et?Ve:null);const We={...ct,...U,...oe.props,className:Oe(U.className,oe.props.className),onTouchStart:He,ref:Ie,...S?{onMouseMove:Fe}:{}},Ot={};w||(We.onTouchStart=he,We.onTouchEnd=xe),m||(We.onMouseOver=bd(gt,We.onMouseOver),We.onMouseLeave=bd(ft,We.onMouseLeave),se||(Ot.onMouseOver=gt,Ot.onMouseLeave=ft)),h||(We.onFocus=bd(ne,We.onFocus),We.onBlur=bd(te,We.onBlur),se||(Ot.onFocus=ne,Ot.onBlur=te));const zt={...r,isRtl:Z,arrow:s,disableInteractive:se,placement:L,PopperComponentProp:R,touch:ee.current},qt=typeof N.popper=="function"?N.popper(zt):N.popper,Y=P.useMemo(()=>{var Rt,vn;let Ye=[{name:"arrow",enabled:!!X,options:{element:X,padding:4}}];return(Rt=H.popperOptions)!=null&&Rt.modifiers&&(Ye=Ye.concat(H.popperOptions.modifiers)),(vn=qt==null?void 0:qt.popperOptions)!=null&&vn.modifiers&&(Ye=Ye.concat(qt.popperOptions.modifiers)),{...H.popperOptions,...qt==null?void 0:qt.popperOptions,modifiers:Ye}},[X,H.popperOptions,qt==null?void 0:qt.popperOptions]),F=PE(zt),ge=typeof N.transition=="function"?N.transition(zt):N.transition,je={slots:{popper:u.Popper,transition:u.Transition??_,tooltip:u.Tooltip,arrow:u.Arrow,...B},slotProps:{arrow:N.arrow??f.arrow,popper:{...H,...qt??f.popper},tooltip:N.tooltip??f.tooltip,transition:{...J,...ge??f.transition}}},[Ee,Xe]=pt("popper",{elementType:bE,externalForwardedProps:je,ownerState:zt,className:Oe(F.popper,H==null?void 0:H.className)}),[Ze,ke]=pt("transition",{elementType:wu,externalForwardedProps:je,ownerState:zt}),[st,vt]=pt("tooltip",{elementType:xE,className:F.tooltip,externalForwardedProps:je,ownerState:zt}),[Xt,Qt]=pt("arrow",{elementType:wE,className:F.arrow,externalForwardedProps:je,ownerState:zt,ref:$});return v.jsxs(P.Fragment,{children:[P.cloneElement(oe,We),v.jsx(Ee,{as:R??Xp,placement:L,anchorEl:S?{getBoundingClientRect:()=>({top:Lc.y,left:Lc.x,right:Lc.x,bottom:Lc.y,width:0,height:0})}:E,popperRef:lt,open:E?Pe:!1,id:Ve,transition:!0,...Ot,...Xe,popperOptions:Y,children:({TransitionProps:Ye})=>v.jsx(Ze,{timeout:K.transitions.duration.shorter,...Ye,...ke,children:v.jsxs(st,{...vt,children:[W,s?v.jsx(Xt,{...Qt}):null]})})})]})}),fs=pj({createStyledComponent:pe("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>rt({props:e,name:"MuiStack"})});function HE(e){return Qe("MuiSwitch",e)}const dr=Ke("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),jE=e=>{const{classes:t,edge:n,size:r,color:s,checked:a,disabled:l}=e,u={root:["root",n&&`edge${me(n)}`,`size${me(r)}`],switchBase:["switchBase",`color${me(s)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=_e(u,HE,t);return{...t,...f}},zE=pe("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${me(n.edge)}`],t[`size${me(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${dr.thumb}`]:{width:16,height:16},[`& .${dr.switchBase}`]:{padding:4,[`&.${dr.checked}`]:{transform:"translateX(16px)"}}}}]}),SE=pe(Ag,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${dr.input}`]:t.input},n.color!=="default"&&t[`color${me(n.color)}`]]}})(nt(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${dr.checked}`]:{transform:"translateX(20px)"},[`&.${dr.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${dr.checked} + .${dr.track}`]:{opacity:.5},[`&.${dr.disabled} + .${dr.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${dr.input}`]:{left:"-100%",width:"300%"}})),nt(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(gn(["light"])).map(([t])=>({props:{color:t},style:{[`&.${dr.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${dr.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?pa(e.palette[t].main,.62):da(e.palette[t].main,.55)}`}},[`&.${dr.checked} + .${dr.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),CE=pe("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(nt(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),OE=pe("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(nt(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),L1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiSwitch"}),{className:s,color:a="primary",edge:l=!1,size:u="medium",sx:f,slots:p={},slotProps:h={},...m}=r,g={...r,color:a,edge:l,size:u},w=jE(g),A={slots:p,slotProps:h},[b,j]=pt("root",{className:Oe(w.root,s),elementType:zE,externalForwardedProps:A,ownerState:g,additionalProps:{sx:f}}),[S,z]=pt("thumb",{className:w.thumb,elementType:OE,externalForwardedProps:A,ownerState:g}),C=v.jsx(S,{...z}),[O,D]=pt("track",{className:w.track,elementType:CE,externalForwardedProps:A,ownerState:g});return v.jsxs(b,{...j,children:[v.jsx(SE,{type:"checkbox",icon:C,checkedIcon:C,ref:n,ownerState:g,...m,classes:{...w,root:w.switchBase},slots:{...p.switchBase&&{root:p.switchBase},...p.input&&{input:p.input}},slotProps:{...h.switchBase&&{root:typeof h.switchBase=="function"?h.switchBase(g):h.switchBase},...h.input&&{input:typeof h.input=="function"?h.input(g):h.input}}}),v.jsx(O,{...D})]})}),X1=P.createContext();function DE(e){return Qe("MuiTable",e)}Ke("MuiTable",["root","stickyHeader"]);const kE=e=>{const{classes:t,stickyHeader:n}=e;return _e({root:["root",n&&"stickyHeader"]},DE,t)},TE=pe("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(nt(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),zx="table",N1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTable"}),{className:s,component:a=zx,padding:l="normal",size:u="medium",stickyHeader:f=!1,...p}=r,h={...r,component:a,padding:l,size:u,stickyHeader:f},m=kE(h),g=P.useMemo(()=>({padding:l,size:u,stickyHeader:f}),[l,u,f]);return v.jsx(X1.Provider,{value:g,children:v.jsx(TE,{as:a,role:a===zx?null:"table",ref:n,className:Oe(m.root,s),ownerState:h,...p})})}),qu=P.createContext();function EE(e){return Qe("MuiTableBody",e)}Ke("MuiTableBody",["root"]);const RE=e=>{const{classes:t}=e;return _e({root:["root"]},EE,t)},ME=pe("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),LE={variant:"body"},Sx="tbody",B1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTableBody"}),{className:s,component:a=Sx,...l}=r,u={...r,component:a},f=RE(u);return v.jsx(qu.Provider,{value:LE,children:v.jsx(ME,{className:Oe(f.root,s),as:a,ref:n,role:a===Sx?null:"rowgroup",ownerState:u,...l})})});function XE(e){return Qe("MuiTableCell",e)}const NE=Ke("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),BE=e=>{const{classes:t,variant:n,align:r,padding:s,size:a,stickyHeader:l}=e,u={root:["root",n,l&&"stickyHeader",r!=="inherit"&&`align${me(r)}`,s!=="normal"&&`padding${me(s)}`,`size${me(a)}`]};return _e(u,XE,t)},VE=pe("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${me(n.size)}`],n.padding!=="normal"&&t[`padding${me(n.padding)}`],n.align!=="inherit"&&t[`align${me(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(nt(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid - ${e.palette.mode==="light"?pa(xt(e.palette.divider,1),.88):da(xt(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${NE.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),hr=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTableCell"}),{align:s="inherit",className:a,component:l,padding:u,scope:f,size:p,sortDirection:h,variant:m,...g}=r,w=P.useContext(X1),A=P.useContext(qu),b=A&&A.variant==="head";let j;l?j=l:j=b?"th":"td";let S=f;j==="td"?S=void 0:!S&&b&&(S="col");const z=m||A&&A.variant,C={...r,align:s,component:j,padding:u||(w&&w.padding?w.padding:"normal"),size:p||(w&&w.size?w.size:"medium"),sortDirection:h,stickyHeader:z==="head"&&w&&w.stickyHeader,variant:z},O=BE(C);let D=null;return h&&(D=h==="asc"?"ascending":"descending"),v.jsx(VE,{as:j,ref:n,className:Oe(O.root,a),"aria-sort":D,scope:S,ownerState:C,...g})});function IE(e){return Qe("MuiTableContainer",e)}Ke("MuiTableContainer",["root"]);const WE=e=>{const{classes:t}=e;return _e({root:["root"]},IE,t)},JE=pe("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),V1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTableContainer"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=WE(u);return v.jsx(JE,{ref:n,as:a,className:Oe(f.root,s),ownerState:u,...l})});function FE(e){return Qe("MuiTableFooter",e)}Ke("MuiTableFooter",["root"]);const YE=e=>{const{classes:t}=e;return _e({root:["root"]},FE,t)},qE=pe("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),ZE={variant:"footer"},Cx="tfoot",GE=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTableFooter"}),{className:s,component:a=Cx,...l}=r,u={...r,component:a},f=YE(u);return v.jsx(qu.Provider,{value:ZE,children:v.jsx(qE,{as:a,className:Oe(f.root,s),ref:n,role:a===Cx?null:"rowgroup",ownerState:u,...l})})});function UE(e){return Qe("MuiTableHead",e)}Ke("MuiTableHead",["root"]);const QE=e=>{const{classes:t}=e;return _e({root:["root"]},UE,t)},KE=pe("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),_E={variant:"head"},Ox="thead",$E=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTableHead"}),{className:s,component:a=Ox,...l}=r,u={...r,component:a},f=QE(u);return v.jsx(qu.Provider,{value:_E,children:v.jsx(KE,{as:a,className:Oe(f.root,s),ref:n,role:a===Ox?null:"rowgroup",ownerState:u,...l})})});function eR(e){return Qe("MuiToolbar",e)}Ke("MuiToolbar",["root","gutters","regular","dense"]);const tR=e=>{const{classes:t,disableGutters:n,variant:r}=e;return _e({root:["root",!n&&"gutters",r]},eR,t)},nR=pe("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(nt(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),I1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiToolbar"}),{className:s,component:a="div",disableGutters:l=!1,variant:u="regular",...f}=r,p={...r,component:a,disableGutters:l,variant:u},h=tR(p);return v.jsx(nR,{as:a,className:Oe(h.root,s),ref:n,ownerState:p,...f})}),rR=bt(v.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),oR=bt(v.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),sR=P.forwardRef(function(t,n){const{backIconButtonProps:r,count:s,disabled:a=!1,getItemAriaLabel:l,nextIconButtonProps:u,onPageChange:f,page:p,rowsPerPage:h,showFirstButton:m,showLastButton:g,slots:w={},slotProps:A={},...b}=t,j=Iu(),S=q=>{f(q,0)},z=q=>{f(q,p-1)},C=q=>{f(q,p+1)},O=q=>{f(q,Math.max(0,Math.ceil(s/h)-1))},D=w.firstButton??Cr,T=w.lastButton??Cr,M=w.nextButton??Cr,L=w.previousButton??Cr,R=w.firstButtonIcon??MT,H=w.lastButtonIcon??LT,N=w.nextButtonIcon??oR,B=w.previousButtonIcon??rR,W=j?T:D,_=j?M:L,J=j?L:M,U=j?D:T,oe=j?A.lastButton:A.firstButton,K=j?A.nextButton:A.previousButton,Z=j?A.previousButton:A.nextButton,E=j?A.firstButton:A.lastButton;return v.jsxs("div",{ref:n,...b,children:[m&&v.jsx(W,{onClick:S,disabled:a||p===0,"aria-label":l("first",p),title:l("first",p),...oe,children:j?v.jsx(H,{...A.lastButtonIcon}):v.jsx(R,{...A.firstButtonIcon})}),v.jsx(_,{onClick:z,disabled:a||p===0,color:"inherit","aria-label":l("previous",p),title:l("previous",p),...K??r,children:j?v.jsx(N,{...A.nextButtonIcon}):v.jsx(B,{...A.previousButtonIcon})}),v.jsx(J,{onClick:C,disabled:a||(s!==-1?p>=Math.ceil(s/h)-1:!1),color:"inherit","aria-label":l("next",p),title:l("next",p),...Z??u,children:j?v.jsx(B,{...A.previousButtonIcon}):v.jsx(N,{...A.nextButtonIcon})}),g&&v.jsx(U,{onClick:O,disabled:a||p>=Math.ceil(s/h)-1,"aria-label":l("last",p),title:l("last",p),...E,children:j?v.jsx(R,{...A.firstButtonIcon}):v.jsx(H,{...A.lastButtonIcon})})]})});function iR(e){return Qe("MuiTablePagination",e)}const fu=Ke("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Dx;const aR=pe(hr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(nt(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),lR=pe(I1,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${fu.actions}`]:t.actions,...t.toolbar})})(nt(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${fu.actions}`]:{flexShrink:0,marginLeft:20}}))),cR=pe("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),uR=pe("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(nt(({theme:e})=>({...e.typography.body2,flexShrink:0}))),fR=pe(zu,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${fu.selectIcon}`]:t.selectIcon,[`& .${fu.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${fu.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),dR=pe(ss,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),pR=pe("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(nt(({theme:e})=>({...e.typography.body2,flexShrink:0})));function vR({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function hR(e){return`Go to ${e} page`}const mR=e=>{const{classes:t}=e;return _e({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},iR,t)},yR=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=sR,backIconButtonProps:a,colSpan:l,component:u=hr,count:f,disabled:p=!1,getItemAriaLabel:h=hR,labelDisplayedRows:m=vR,labelRowsPerPage:g="Rows per page:",nextIconButtonProps:w,onPageChange:A,onRowsPerPageChange:b,page:j,rowsPerPage:S,rowsPerPageOptions:z=[10,25,50,100],SelectProps:C={},showFirstButton:O=!1,showLastButton:D=!1,slotProps:T={},slots:M={},...L}=r,R=r,H=mR(R),N=(T==null?void 0:T.select)??C,B=N.native?"option":dR;let W;(u===hr||u==="td")&&(W=l||1e3);const _=Xo(N.id),J=Xo(N.labelId),U=()=>f===-1?(j+1)*S:S===-1?f:Math.min(f,(j+1)*S),oe={slots:M,slotProps:T},[K,Z]=pt("root",{ref:n,className:H.root,elementType:aR,externalForwardedProps:{...oe,component:u,...L},ownerState:R,additionalProps:{colSpan:W}}),[E,q]=pt("toolbar",{className:H.toolbar,elementType:lR,externalForwardedProps:oe,ownerState:R}),[X,$]=pt("spacer",{className:H.spacer,elementType:cR,externalForwardedProps:oe,ownerState:R}),[ee,se]=pt("selectLabel",{className:H.selectLabel,elementType:uR,externalForwardedProps:oe,ownerState:R,additionalProps:{id:J}}),[ae,ye]=pt("select",{className:H.select,elementType:fR,externalForwardedProps:oe,ownerState:R}),[le,we]=pt("menuItem",{className:H.menuItem,elementType:B,externalForwardedProps:oe,ownerState:R}),[Ce,Le]=pt("displayedRows",{className:H.displayedRows,elementType:pR,externalForwardedProps:oe,ownerState:R});return v.jsx(K,{...Z,children:v.jsxs(E,{...q,children:[v.jsx(X,{...$}),z.length>1&&v.jsx(ee,{...se,children:g}),z.length>1&&v.jsx(ae,{variant:"standard",...!N.variant&&{input:Dx||(Dx=v.jsx(Jp,{}))},value:S,onChange:b,id:_,labelId:J,...N,classes:{...N.classes,root:Oe(H.input,H.selectRoot,(N.classes||{}).root),select:Oe(H.select,(N.classes||{}).select),icon:Oe(H.selectIcon,(N.classes||{}).icon)},disabled:p,...ye,children:z.map(Pe=>P.createElement(le,{...we,key:Pe.label?Pe.label:Pe,value:Pe.value?Pe.value:Pe},Pe.label?Pe.label:Pe))}),v.jsx(Ce,{...Le,children:m({from:f===0?0:j*S+1,to:U(),count:f===-1?-1:f,page:j})}),v.jsx(s,{className:H.actions,backIconButtonProps:a,count:f,nextIconButtonProps:w,onPageChange:A,page:j,rowsPerPage:S,showFirstButton:O,showLastButton:D,slotProps:T.actions,slots:M.actions,getItemAriaLabel:h,disabled:p})]})})});function gR(e){return Qe("MuiTableRow",e)}const kx=Ke("MuiTableRow",["root","selected","hover","head","footer"]),AR=e=>{const{classes:t,selected:n,hover:r,head:s,footer:a}=e;return _e({root:["root",n&&"selected",r&&"hover",s&&"head",a&&"footer"]},gR,t)},PR=pe("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(nt(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${kx.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${kx.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Tx="tr",ap=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTableRow"}),{className:s,component:a=Tx,hover:l=!1,selected:u=!1,...f}=r,p=P.useContext(qu),h={...r,component:a,hover:l,selected:u,head:p&&p.variant==="head",footer:p&&p.variant==="footer"},m=AR(h);return v.jsx(PR,{as:a,ref:n,className:Oe(m.root,s),role:a===Tx?null:"row",ownerState:h,...f})});function bR(e){return Qe("MuiTextField",e)}Ke("MuiTextField",["root"]);const xR={standard:xg,filled:bg,outlined:Hg},wR=e=>{const{classes:t}=e;return _e({root:["root"]},bR,t)},HR=pe(fr,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),lo=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTextField"}),{autoComplete:s,autoFocus:a=!1,children:l,className:u,color:f="primary",defaultValue:p,disabled:h=!1,error:m=!1,FormHelperTextProps:g,fullWidth:w=!1,helperText:A,id:b,InputLabelProps:j,inputProps:S,InputProps:z,inputRef:C,label:O,maxRows:D,minRows:T,multiline:M=!1,name:L,onBlur:R,onChange:H,onFocus:N,placeholder:B,required:W=!1,rows:_,select:J=!1,SelectProps:U,slots:oe={},slotProps:K={},type:Z,value:E,variant:q="outlined",...X}=r,$={...r,autoFocus:a,color:f,disabled:h,error:m,fullWidth:w,multiline:M,required:W,select:J,variant:q},ee=wR($),se=Xo(b),ae=A&&se?`${se}-helper-text`:void 0,ye=O&&se?`${se}-label`:void 0,le=xR[q],we={slots:oe,slotProps:{input:z,inputLabel:j,htmlInput:S,formHelperText:g,select:U,...K}},Ce={},Le=we.slotProps.inputLabel;q==="outlined"&&(Le&&typeof Le.shrink<"u"&&(Ce.notched=Le.shrink),Ce.label=O),J&&((!U||!U.native)&&(Ce.id=void 0),Ce["aria-describedby"]=void 0);const[Pe,Ve]=pt("root",{elementType:HR,shouldForwardComponentProp:!0,externalForwardedProps:{...we,...X},ownerState:$,className:Oe(ee.root,u),ref:n,additionalProps:{disabled:h,error:m,fullWidth:w,required:W,color:f,variant:q}}),[be,Be]=pt("input",{elementType:le,externalForwardedProps:we,additionalProps:Ce,ownerState:$}),[Pt,Ne]=pt("inputLabel",{elementType:Vd,externalForwardedProps:we,ownerState:$}),[gt,ft]=pt("htmlInput",{elementType:"input",externalForwardedProps:we,ownerState:$}),[V,te]=pt("formHelperText",{elementType:ol,externalForwardedProps:we,ownerState:$}),[ne,He]=pt("select",{elementType:zu,externalForwardedProps:we,ownerState:$}),he=v.jsx(be,{"aria-describedby":ae,autoComplete:s,autoFocus:a,defaultValue:p,fullWidth:w,multiline:M,name:L,rows:_,maxRows:D,minRows:T,type:Z,value:E,id:se,inputRef:C,onBlur:R,onChange:H,onFocus:N,placeholder:B,inputProps:ft,slots:{input:oe.htmlInput?gt:void 0},...Be});return v.jsxs(Pe,{...Ve,children:[O!=null&&O!==""&&v.jsx(Pt,{htmlFor:se,id:ye,...Ne,children:O}),J?v.jsx(ne,{"aria-describedby":ae,id:se,labelId:ye,value:E,input:he,...He,children:l}):he,A&&v.jsx(V,{id:ae,...te,children:A})]})}),kn="/hub",Fp="/services/japps",Sg=["Environments"],jR=["Any","Owned by me","Shared with me"],zR=["Recently modified","Name: A-Z","Name: Z-A"],SR=["Running","Ready","Pending","Unknown"],Cg="startAppId";var Bl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ya=typeof window>"u"||"Deno"in globalThis;function mr(){}function CR(e,t){return typeof e=="function"?e(t):e}function iy(e){return typeof e=="number"&&e>=0&&e!==1/0}function W1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function wi(e,t){return typeof e=="function"?e(t):e}function ko(e,t){return typeof e=="function"?e(t):e}function Ex(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:l,stale:u}=e;if(l){if(r){if(t.queryHash!==Og(l,t.options))return!1}else if(!Su(t.queryKey,l))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||s&&s!==t.state.fetchStatus||a&&!a(t))}function Rx(e,t){const{exact:n,status:r,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(ga(t.options.mutationKey)!==ga(a))return!1}else if(!Su(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Og(e,t){return((t==null?void 0:t.queryKeyHashFn)||ga)(e)}function ga(e){return JSON.stringify(e,(t,n)=>ay(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Su(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Su(e[n],t[n])):!1}function J1(e,t){if(e===t)return e;const n=Mx(e)&&Mx(t);if(n||ay(e)&&ay(t)){const r=n?e:Object.keys(e),s=r.length,a=n?t:Object.keys(t),l=a.length,u=n?[]:{},f=new Set(r);let p=0;for(let h=0;h{setTimeout(t,e)})}function ly(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?J1(e,t):t}function DR(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function kR(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Dg=Symbol();function F1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Dg?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Y1(e,t){return typeof e=="function"?e(...t):!!e}var ea,fi,pl,Uw,TR=(Uw=class extends Bl{constructor(){super();ht(this,ea);ht(this,fi);ht(this,pl);Ue(this,pl,t=>{if(!ya&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){G(this,fi)||this.setEventListener(G(this,pl))}onUnsubscribe(){var t;this.hasListeners()||((t=G(this,fi))==null||t.call(this),Ue(this,fi,void 0))}setEventListener(t){var n;Ue(this,pl,t),(n=G(this,fi))==null||n.call(this),Ue(this,fi,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){G(this,ea)!==t&&(Ue(this,ea,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof G(this,ea)=="boolean"?G(this,ea):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ea=new WeakMap,fi=new WeakMap,pl=new WeakMap,Uw),kg=new TR,vl,di,hl,Qw,ER=(Qw=class extends Bl{constructor(){super();ht(this,vl,!0);ht(this,di);ht(this,hl);Ue(this,hl,t=>{if(!ya&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){G(this,di)||this.setEventListener(G(this,hl))}onUnsubscribe(){var t;this.hasListeners()||((t=G(this,di))==null||t.call(this),Ue(this,di,void 0))}setEventListener(t){var n;Ue(this,hl,t),(n=G(this,di))==null||n.call(this),Ue(this,di,t(this.setOnline.bind(this)))}setOnline(t){G(this,vl)!==t&&(Ue(this,vl,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return G(this,vl)}},vl=new WeakMap,di=new WeakMap,hl=new WeakMap,Qw),cp=new ER;function cy(){let e,t;const n=new Promise((s,a)=>{e=s,t=a});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function RR(e){return Math.min(1e3*2**e,3e4)}function q1(e){return(e??"online")==="online"?cp.isOnline():!0}var Z1=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Am(e){return e instanceof Z1}function G1(e){let t=!1,n=0,r=!1,s;const a=cy(),l=b=>{var j;r||(g(new Z1(b)),(j=e.abort)==null||j.call(e))},u=()=>{t=!0},f=()=>{t=!1},p=()=>kg.isFocused()&&(e.networkMode==="always"||cp.isOnline())&&e.canRun(),h=()=>q1(e.networkMode)&&e.canRun(),m=b=>{var j;r||(r=!0,(j=e.onSuccess)==null||j.call(e,b),s==null||s(),a.resolve(b))},g=b=>{var j;r||(r=!0,(j=e.onError)==null||j.call(e,b),s==null||s(),a.reject(b))},w=()=>new Promise(b=>{var j;s=S=>{(r||p())&&b(S)},(j=e.onPause)==null||j.call(e)}).then(()=>{var b;s=void 0,r||(b=e.onContinue)==null||b.call(e)}),A=()=>{if(r)return;let b;const j=n===0?e.initialPromise:void 0;try{b=j??e.fn()}catch(S){b=Promise.reject(S)}Promise.resolve(b).then(m).catch(S=>{var T;if(r)return;const z=e.retry??(ya?0:3),C=e.retryDelay??RR,O=typeof C=="function"?C(n,S):C,D=z===!0||typeof z=="number"&&np()?void 0:w()).then(()=>{t?g(S):A()})})};return{promise:a,cancel:l,continue:()=>(s==null||s(),a),cancelRetry:u,continueRetry:f,canStart:h,start:()=>(h()?A():w().then(A),a)}}var MR=e=>setTimeout(e,0);function LR(){let e=[],t=0,n=u=>{u()},r=u=>{u()},s=MR;const a=u=>{t?e.push(u):s(()=>{n(u)})},l=()=>{const u=e;e=[],u.length&&s(()=>{r(()=>{u.forEach(f=>{n(f)})})})};return{batch:u=>{let f;t++;try{f=u()}finally{t--,t||l()}return f},batchCalls:u=>(...f)=>{a(()=>{u(...f)})},schedule:a,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{s=u}}}var In=LR(),ta,Kw,U1=(Kw=class{constructor(){ht(this,ta)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),iy(this.gcTime)&&Ue(this,ta,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ya?1/0:5*60*1e3))}clearGcTimeout(){G(this,ta)&&(clearTimeout(G(this,ta)),Ue(this,ta,void 0))}},ta=new WeakMap,Kw),ml,yl,io,na,sr,ku,ra,Oo,zs,_w,XR=(_w=class extends U1{constructor(t){super();ht(this,Oo);ht(this,ml);ht(this,yl);ht(this,io);ht(this,na);ht(this,sr);ht(this,ku);ht(this,ra);Ue(this,ra,!1),Ue(this,ku,t.defaultOptions),this.setOptions(t.options),this.observers=[],Ue(this,na,t.client),Ue(this,io,G(this,na).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Ue(this,ml,NR(this.options)),this.state=t.state??G(this,ml),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=G(this,sr))==null?void 0:t.promise}setOptions(t){this.options={...G(this,ku),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&G(this,io).remove(this)}setData(t,n){const r=ly(this.state.data,t,this.options);return Dt(this,Oo,zs).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Dt(this,Oo,zs).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=G(this,sr))==null?void 0:r.promise;return(s=G(this,sr))==null||s.cancel(t),n?n.then(mr).catch(mr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(G(this,ml))}isActive(){return this.observers.some(t=>ko(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Dg||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>wi(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!W1(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=G(this,sr))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=G(this,sr))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),G(this,io).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(G(this,sr)&&(G(this,ra)?G(this,sr).cancel({revert:!0}):G(this,sr).cancelRetry()),this.scheduleGc()),G(this,io).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Dt(this,Oo,zs).call(this,{type:"invalidate"})}fetch(t,n){var p,h,m;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(G(this,sr))return G(this,sr).continueRetry(),G(this,sr).promise}if(t&&this.setOptions(t),!this.options.queryFn){const g=this.observers.find(w=>w.options.queryFn);g&&this.setOptions(g.options)}const r=new AbortController,s=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(Ue(this,ra,!0),r.signal)})},a=()=>{const g=F1(this.options,n),A=(()=>{const b={client:G(this,na),queryKey:this.queryKey,meta:this.meta};return s(b),b})();return Ue(this,ra,!1),this.options.persister?this.options.persister(g,A,this):g(A)},u=(()=>{const g={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:G(this,na),state:this.state,fetchFn:a};return s(g),g})();(p=this.options.behavior)==null||p.onFetch(u,this),Ue(this,yl,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((h=u.fetchOptions)==null?void 0:h.meta))&&Dt(this,Oo,zs).call(this,{type:"fetch",meta:(m=u.fetchOptions)==null?void 0:m.meta});const f=g=>{var w,A,b,j;Am(g)&&g.silent||Dt(this,Oo,zs).call(this,{type:"error",error:g}),Am(g)||((A=(w=G(this,io).config).onError)==null||A.call(w,g,this),(j=(b=G(this,io).config).onSettled)==null||j.call(b,this.state.data,g,this)),this.scheduleGc()};return Ue(this,sr,G1({initialPromise:n==null?void 0:n.initialPromise,fn:u.fetchFn,abort:r.abort.bind(r),onSuccess:g=>{var w,A,b,j;if(g===void 0){f(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(g)}catch(S){f(S);return}(A=(w=G(this,io).config).onSuccess)==null||A.call(w,g,this),(j=(b=G(this,io).config).onSettled)==null||j.call(b,g,this.state.error,this),this.scheduleGc()},onError:f,onFail:(g,w)=>{Dt(this,Oo,zs).call(this,{type:"failed",failureCount:g,error:w})},onPause:()=>{Dt(this,Oo,zs).call(this,{type:"pause"})},onContinue:()=>{Dt(this,Oo,zs).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0})),G(this,sr).start()}},ml=new WeakMap,yl=new WeakMap,io=new WeakMap,na=new WeakMap,sr=new WeakMap,ku=new WeakMap,ra=new WeakMap,Oo=new WeakSet,zs=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Q1(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return Am(s)&&s.revert&&G(this,yl)?{...G(this,yl),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),In.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),G(this,io).notify({query:this,type:"updated",action:t})})},_w);function Q1(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:q1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function NR(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var $o,$w,BR=($w=class extends Bl{constructor(t={}){super();ht(this,$o);this.config=t,Ue(this,$o,new Map)}build(t,n,r){const s=n.queryKey,a=n.queryHash??Og(s,n);let l=this.get(a);return l||(l=new XR({client:t,queryKey:s,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(l)),l}add(t){G(this,$o).has(t.queryHash)||(G(this,$o).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=G(this,$o).get(t.queryHash);n&&(t.destroy(),n===t&&G(this,$o).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){In.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return G(this,$o).get(t)}getAll(){return[...G(this,$o).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ex(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Ex(t,r)):n}notify(t){In.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){In.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){In.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},$o=new WeakMap,$w),es,pr,oa,ts,ai,e0,VR=(e0=class extends U1{constructor(t){super();ht(this,ts);ht(this,es);ht(this,pr);ht(this,oa);this.mutationId=t.mutationId,Ue(this,pr,t.mutationCache),Ue(this,es,[]),this.state=t.state||K1(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){G(this,es).includes(t)||(G(this,es).push(t),this.clearGcTimeout(),G(this,pr).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Ue(this,es,G(this,es).filter(n=>n!==t)),this.scheduleGc(),G(this,pr).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){G(this,es).length||(this.state.status==="pending"?this.scheduleGc():G(this,pr).remove(this))}continue(){var t;return((t=G(this,oa))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,l,u,f,p,h,m,g,w,A,b,j,S,z,C,O,D,T,M,L;const n=()=>{Dt(this,ts,ai).call(this,{type:"continue"})};Ue(this,oa,G1({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(R,H)=>{Dt(this,ts,ai).call(this,{type:"failed",failureCount:R,error:H})},onPause:()=>{Dt(this,ts,ai).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>G(this,pr).canRun(this)}));const r=this.state.status==="pending",s=!G(this,oa).canStart();try{if(r)n();else{Dt(this,ts,ai).call(this,{type:"pending",variables:t,isPaused:s}),await((l=(a=G(this,pr).config).onMutate)==null?void 0:l.call(a,t,this));const H=await((f=(u=this.options).onMutate)==null?void 0:f.call(u,t));H!==this.state.context&&Dt(this,ts,ai).call(this,{type:"pending",context:H,variables:t,isPaused:s})}const R=await G(this,oa).start();return await((h=(p=G(this,pr).config).onSuccess)==null?void 0:h.call(p,R,t,this.state.context,this)),await((g=(m=this.options).onSuccess)==null?void 0:g.call(m,R,t,this.state.context)),await((A=(w=G(this,pr).config).onSettled)==null?void 0:A.call(w,R,null,this.state.variables,this.state.context,this)),await((j=(b=this.options).onSettled)==null?void 0:j.call(b,R,null,t,this.state.context)),Dt(this,ts,ai).call(this,{type:"success",data:R}),R}catch(R){try{throw await((z=(S=G(this,pr).config).onError)==null?void 0:z.call(S,R,t,this.state.context,this)),await((O=(C=this.options).onError)==null?void 0:O.call(C,R,t,this.state.context)),await((T=(D=G(this,pr).config).onSettled)==null?void 0:T.call(D,void 0,R,this.state.variables,this.state.context,this)),await((L=(M=this.options).onSettled)==null?void 0:L.call(M,void 0,R,t,this.state.context)),R}finally{Dt(this,ts,ai).call(this,{type:"error",error:R})}}finally{G(this,pr).runNext(this)}}},es=new WeakMap,pr=new WeakMap,oa=new WeakMap,ts=new WeakSet,ai=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),In.batch(()=>{G(this,es).forEach(r=>{r.onMutationUpdate(t)}),G(this,pr).notify({mutation:this,type:"updated",action:t})})},e0);function K1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Cs,Do,Tu,t0,IR=(t0=class extends Bl{constructor(t={}){super();ht(this,Cs);ht(this,Do);ht(this,Tu);this.config=t,Ue(this,Cs,new Set),Ue(this,Do,new Map),Ue(this,Tu,0)}build(t,n,r){const s=new VR({mutationCache:this,mutationId:++ud(this,Tu)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){G(this,Cs).add(t);const n=xd(t);if(typeof n=="string"){const r=G(this,Do).get(n);r?r.push(t):G(this,Do).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(G(this,Cs).delete(t)){const n=xd(t);if(typeof n=="string"){const r=G(this,Do).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&G(this,Do).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=xd(t);if(typeof n=="string"){const r=G(this,Do).get(n),s=r==null?void 0:r.find(a=>a.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=xd(t);if(typeof n=="string"){const s=(r=G(this,Do).get(n))==null?void 0:r.find(a=>a!==t&&a.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){In.batch(()=>{G(this,Cs).forEach(t=>{this.notify({type:"removed",mutation:t})}),G(this,Cs).clear(),G(this,Do).clear()})}getAll(){return Array.from(G(this,Cs))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Rx(n,r))}findAll(t={}){return this.getAll().filter(n=>Rx(t,n))}notify(t){In.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return In.batch(()=>Promise.all(t.map(n=>n.continue().catch(mr))))}},Cs=new WeakMap,Do=new WeakMap,Tu=new WeakMap,t0);function xd(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Xx(e){return{onFetch:(t,n)=>{var h,m,g,w,A;const r=t.options,s=(g=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:g.direction,a=((w=t.state.data)==null?void 0:w.pages)||[],l=((A=t.state.data)==null?void 0:A.pageParams)||[];let u={pages:[],pageParams:[]},f=0;const p=async()=>{let b=!1;const j=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(t.signal.aborted?b=!0:t.signal.addEventListener("abort",()=>{b=!0}),t.signal)})},S=F1(t.options,t.fetchOptions),z=async(C,O,D)=>{if(b)return Promise.reject();if(O==null&&C.pages.length)return Promise.resolve(C);const M=(()=>{const N={client:t.client,queryKey:t.queryKey,pageParam:O,direction:D?"backward":"forward",meta:t.options.meta};return j(N),N})(),L=await S(M),{maxPages:R}=t.options,H=D?kR:DR;return{pages:H(C.pages,L,R),pageParams:H(C.pageParams,O,R)}};if(s&&a.length){const C=s==="backward",O=C?WR:Nx,D={pages:a,pageParams:l},T=O(r,D);u=await z(D,T,C)}else{const C=e??a.length;do{const O=f===0?l[0]??r.initialPageParam:Nx(r,u);if(f>0&&O==null)break;u=await z(u,O),f++}while(f{var b,j;return(j=(b=t.options).persister)==null?void 0:j.call(b,p,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=p}}}function Nx(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function WR(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var zn,pi,vi,gl,Al,hi,Pl,bl,n0,JR=(n0=class{constructor(e={}){ht(this,zn);ht(this,pi);ht(this,vi);ht(this,gl);ht(this,Al);ht(this,hi);ht(this,Pl);ht(this,bl);Ue(this,zn,e.queryCache||new BR),Ue(this,pi,e.mutationCache||new IR),Ue(this,vi,e.defaultOptions||{}),Ue(this,gl,new Map),Ue(this,Al,new Map),Ue(this,hi,0)}mount(){ud(this,hi)._++,G(this,hi)===1&&(Ue(this,Pl,kg.subscribe(async e=>{e&&(await this.resumePausedMutations(),G(this,zn).onFocus())})),Ue(this,bl,cp.subscribe(async e=>{e&&(await this.resumePausedMutations(),G(this,zn).onOnline())})))}unmount(){var e,t;ud(this,hi)._--,G(this,hi)===0&&((e=G(this,Pl))==null||e.call(this),Ue(this,Pl,void 0),(t=G(this,bl))==null||t.call(this),Ue(this,bl,void 0))}isFetching(e){return G(this,zn).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return G(this,pi).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=G(this,zn).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=G(this,zn).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(wi(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return G(this,zn).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=G(this,zn).get(r.queryHash),a=s==null?void 0:s.state.data,l=CR(t,a);if(l!==void 0)return G(this,zn).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return In.batch(()=>G(this,zn).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=G(this,zn).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=G(this,zn);In.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=G(this,zn);return In.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=In.batch(()=>G(this,zn).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(mr).catch(mr)}invalidateQueries(e,t={}){return In.batch(()=>(G(this,zn).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=In.batch(()=>G(this,zn).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(mr)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(mr)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=G(this,zn).build(this,t);return n.isStaleByTime(wi(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(mr).catch(mr)}fetchInfiniteQuery(e){return e.behavior=Xx(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(mr).catch(mr)}ensureInfiniteQueryData(e){return e.behavior=Xx(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return cp.isOnline()?G(this,pi).resumePausedMutations():Promise.resolve()}getQueryCache(){return G(this,zn)}getMutationCache(){return G(this,pi)}getDefaultOptions(){return G(this,vi)}setDefaultOptions(e){Ue(this,vi,e)}setQueryDefaults(e,t){G(this,gl).set(ga(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...G(this,gl).values()],n={};return t.forEach(r=>{Su(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){G(this,Al).set(ga(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...G(this,Al).values()],n={};return t.forEach(r=>{Su(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...G(this,vi).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Og(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Dg&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...G(this,vi).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){G(this,zn).clear(),G(this,pi).clear()}},zn=new WeakMap,pi=new WeakMap,vi=new WeakMap,gl=new WeakMap,Al=new WeakMap,hi=new WeakMap,Pl=new WeakMap,bl=new WeakMap,n0),jr,Vt,Eu,vr,sa,xl,mi,yi,Ru,wl,Hl,ia,aa,gi,jl,Gt,nu,uy,fy,dy,py,vy,hy,my,_1,r0,FR=(r0=class extends Bl{constructor(t,n){super();ht(this,Gt);ht(this,jr);ht(this,Vt);ht(this,Eu);ht(this,vr);ht(this,sa);ht(this,xl);ht(this,mi);ht(this,yi);ht(this,Ru);ht(this,wl);ht(this,Hl);ht(this,ia);ht(this,aa);ht(this,gi);ht(this,jl,new Set);this.options=n,Ue(this,jr,t),Ue(this,yi,null),Ue(this,mi,cy()),this.options.experimental_prefetchInRender||G(this,mi).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(G(this,Vt).addObserver(this),Bx(G(this,Vt),this.options)?Dt(this,Gt,nu).call(this):this.updateResult(),Dt(this,Gt,py).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return yy(G(this,Vt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return yy(G(this,Vt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Dt(this,Gt,vy).call(this),Dt(this,Gt,hy).call(this),G(this,Vt).removeObserver(this)}setOptions(t){const n=this.options,r=G(this,Vt);if(this.options=G(this,jr).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof ko(this.options.enabled,G(this,Vt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Dt(this,Gt,my).call(this),G(this,Vt).setOptions(this.options),n._defaulted&&!lp(this.options,n)&&G(this,jr).getQueryCache().notify({type:"observerOptionsUpdated",query:G(this,Vt),observer:this});const s=this.hasListeners();s&&Vx(G(this,Vt),r,this.options,n)&&Dt(this,Gt,nu).call(this),this.updateResult(),s&&(G(this,Vt)!==r||ko(this.options.enabled,G(this,Vt))!==ko(n.enabled,G(this,Vt))||wi(this.options.staleTime,G(this,Vt))!==wi(n.staleTime,G(this,Vt)))&&Dt(this,Gt,uy).call(this);const a=Dt(this,Gt,fy).call(this);s&&(G(this,Vt)!==r||ko(this.options.enabled,G(this,Vt))!==ko(n.enabled,G(this,Vt))||a!==G(this,gi))&&Dt(this,Gt,dy).call(this,a)}getOptimisticResult(t){const n=G(this,jr).getQueryCache().build(G(this,jr),t),r=this.createResult(n,t);return qR(this,r)&&(Ue(this,vr,r),Ue(this,xl,this.options),Ue(this,sa,G(this,Vt).state)),r}getCurrentResult(){return G(this,vr)}trackResult(t,n){return new Proxy(t,{get:(r,s)=>(this.trackProp(s),n==null||n(s),Reflect.get(r,s))})}trackProp(t){G(this,jl).add(t)}getCurrentQuery(){return G(this,Vt)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=G(this,jr).defaultQueryOptions(t),r=G(this,jr).getQueryCache().build(G(this,jr),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return Dt(this,Gt,nu).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),G(this,vr)))}createResult(t,n){var R;const r=G(this,Vt),s=this.options,a=G(this,vr),l=G(this,sa),u=G(this,xl),p=t!==r?t.state:G(this,Eu),{state:h}=t;let m={...h},g=!1,w;if(n._optimisticResults){const H=this.hasListeners(),N=!H&&Bx(t,n),B=H&&Vx(t,r,n,s);(N||B)&&(m={...m,...Q1(h.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:A,errorUpdatedAt:b,status:j}=m;w=m.data;let S=!1;if(n.placeholderData!==void 0&&w===void 0&&j==="pending"){let H;a!=null&&a.isPlaceholderData&&n.placeholderData===(u==null?void 0:u.placeholderData)?(H=a.data,S=!0):H=typeof n.placeholderData=="function"?n.placeholderData((R=G(this,Hl))==null?void 0:R.state.data,G(this,Hl)):n.placeholderData,H!==void 0&&(j="success",w=ly(a==null?void 0:a.data,H,n),g=!0)}if(n.select&&w!==void 0&&!S)if(a&&w===(l==null?void 0:l.data)&&n.select===G(this,Ru))w=G(this,wl);else try{Ue(this,Ru,n.select),w=n.select(w),w=ly(a==null?void 0:a.data,w,n),Ue(this,wl,w),Ue(this,yi,null)}catch(H){Ue(this,yi,H)}G(this,yi)&&(A=G(this,yi),w=G(this,wl),b=Date.now(),j="error");const z=m.fetchStatus==="fetching",C=j==="pending",O=j==="error",D=C&&z,T=w!==void 0,L={status:j,fetchStatus:m.fetchStatus,isPending:C,isSuccess:j==="success",isError:O,isInitialLoading:D,isLoading:D,data:w,dataUpdatedAt:m.dataUpdatedAt,error:A,errorUpdatedAt:b,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>p.dataUpdateCount||m.errorUpdateCount>p.errorUpdateCount,isFetching:z,isRefetching:z&&!C,isLoadingError:O&&!T,isPaused:m.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:O&&T,isStale:Tg(t,n),refetch:this.refetch,promise:G(this,mi)};if(this.options.experimental_prefetchInRender){const H=W=>{L.status==="error"?W.reject(L.error):L.data!==void 0&&W.resolve(L.data)},N=()=>{const W=Ue(this,mi,L.promise=cy());H(W)},B=G(this,mi);switch(B.status){case"pending":t.queryHash===r.queryHash&&H(B);break;case"fulfilled":(L.status==="error"||L.data!==B.value)&&N();break;case"rejected":(L.status!=="error"||L.error!==B.reason)&&N();break}}return L}updateResult(){const t=G(this,vr),n=this.createResult(G(this,Vt),this.options);if(Ue(this,sa,G(this,Vt).state),Ue(this,xl,this.options),G(this,sa).data!==void 0&&Ue(this,Hl,G(this,Vt)),lp(n,t))return;Ue(this,vr,n);const r=()=>{if(!t)return!0;const{notifyOnChangeProps:s}=this.options,a=typeof s=="function"?s():s;if(a==="all"||!a&&!G(this,jl).size)return!0;const l=new Set(a??G(this,jl));return this.options.throwOnError&&l.add("error"),Object.keys(G(this,vr)).some(u=>{const f=u;return G(this,vr)[f]!==t[f]&&l.has(f)})};Dt(this,Gt,_1).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Dt(this,Gt,py).call(this)}},jr=new WeakMap,Vt=new WeakMap,Eu=new WeakMap,vr=new WeakMap,sa=new WeakMap,xl=new WeakMap,mi=new WeakMap,yi=new WeakMap,Ru=new WeakMap,wl=new WeakMap,Hl=new WeakMap,ia=new WeakMap,aa=new WeakMap,gi=new WeakMap,jl=new WeakMap,Gt=new WeakSet,nu=function(t){Dt(this,Gt,my).call(this);let n=G(this,Vt).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(mr)),n},uy=function(){Dt(this,Gt,vy).call(this);const t=wi(this.options.staleTime,G(this,Vt));if(ya||G(this,vr).isStale||!iy(t))return;const r=W1(G(this,vr).dataUpdatedAt,t)+1;Ue(this,ia,setTimeout(()=>{G(this,vr).isStale||this.updateResult()},r))},fy=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(G(this,Vt)):this.options.refetchInterval)??!1},dy=function(t){Dt(this,Gt,hy).call(this),Ue(this,gi,t),!(ya||ko(this.options.enabled,G(this,Vt))===!1||!iy(G(this,gi))||G(this,gi)===0)&&Ue(this,aa,setInterval(()=>{(this.options.refetchIntervalInBackground||kg.isFocused())&&Dt(this,Gt,nu).call(this)},G(this,gi)))},py=function(){Dt(this,Gt,uy).call(this),Dt(this,Gt,dy).call(this,Dt(this,Gt,fy).call(this))},vy=function(){G(this,ia)&&(clearTimeout(G(this,ia)),Ue(this,ia,void 0))},hy=function(){G(this,aa)&&(clearInterval(G(this,aa)),Ue(this,aa,void 0))},my=function(){const t=G(this,jr).getQueryCache().build(G(this,jr),this.options);if(t===G(this,Vt))return;const n=G(this,Vt);Ue(this,Vt,t),Ue(this,Eu,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},_1=function(t){In.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(G(this,vr))}),G(this,jr).getQueryCache().notify({query:G(this,Vt),type:"observerResultsUpdated"})})},r0);function YR(e,t){return ko(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Bx(e,t){return YR(e,t)||e.state.data!==void 0&&yy(e,t,t.refetchOnMount)}function yy(e,t,n){if(ko(t.enabled,e)!==!1&&wi(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Tg(e,t)}return!1}function Vx(e,t,n,r){return(e!==t||ko(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Tg(e,n)}function Tg(e,t){return ko(t.enabled,e)!==!1&&e.isStaleByTime(wi(t.staleTime,e))}function qR(e,t){return!lp(e.getCurrentResult(),t)}var Ai,Pi,zr,Os,Es,Id,gy,o0,ZR=(o0=class extends Bl{constructor(n,r){super();ht(this,Es);ht(this,Ai);ht(this,Pi);ht(this,zr);ht(this,Os);Ue(this,Ai,n),this.setOptions(r),this.bindMethods(),Dt(this,Es,Id).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var s;const r=this.options;this.options=G(this,Ai).defaultMutationOptions(n),lp(this.options,r)||G(this,Ai).getMutationCache().notify({type:"observerOptionsUpdated",mutation:G(this,zr),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&ga(r.mutationKey)!==ga(this.options.mutationKey)?this.reset():((s=G(this,zr))==null?void 0:s.state.status)==="pending"&&G(this,zr).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=G(this,zr))==null||n.removeObserver(this)}onMutationUpdate(n){Dt(this,Es,Id).call(this),Dt(this,Es,gy).call(this,n)}getCurrentResult(){return G(this,Pi)}reset(){var n;(n=G(this,zr))==null||n.removeObserver(this),Ue(this,zr,void 0),Dt(this,Es,Id).call(this),Dt(this,Es,gy).call(this)}mutate(n,r){var s;return Ue(this,Os,r),(s=G(this,zr))==null||s.removeObserver(this),Ue(this,zr,G(this,Ai).getMutationCache().build(G(this,Ai),this.options)),G(this,zr).addObserver(this),G(this,zr).execute(n)}},Ai=new WeakMap,Pi=new WeakMap,zr=new WeakMap,Os=new WeakMap,Es=new WeakSet,Id=function(){var r;const n=((r=G(this,zr))==null?void 0:r.state)??K1();Ue(this,Pi,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},gy=function(n){In.batch(()=>{var r,s,a,l,u,f,p,h;if(G(this,Os)&&this.hasListeners()){const m=G(this,Pi).variables,g=G(this,Pi).context;(n==null?void 0:n.type)==="success"?((s=(r=G(this,Os)).onSuccess)==null||s.call(r,n.data,m,g),(l=(a=G(this,Os)).onSettled)==null||l.call(a,n.data,null,m,g)):(n==null?void 0:n.type)==="error"&&((f=(u=G(this,Os)).onError)==null||f.call(u,n.error,m,g),(h=(p=G(this,Os)).onSettled)==null||h.call(p,void 0,n.error,m,g))}this.listeners.forEach(m=>{m(G(this,Pi))})})},o0),$1=P.createContext(void 0),Yp=e=>{const t=P.useContext($1);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},GR=({client:e,children:t})=>(P.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),v.jsx($1.Provider,{value:e,children:t})),e2=P.createContext(!1),UR=()=>P.useContext(e2);e2.Provider;function QR(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var KR=P.createContext(QR()),_R=()=>P.useContext(KR),$R=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},e6=e=>{P.useEffect(()=>{e.clearReset()},[e])},t6=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(s&&e.data===void 0||Y1(n,[e.error,r])),n6=e=>{if(e.suspense){const t=r=>r==="static"?r:Math.max(r??1e3,1e3),n=e.staleTime;e.staleTime=typeof n=="function"?(...r)=>t(n(...r)):t(n),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},r6=(e,t)=>e.isLoading&&e.isFetching&&!t,o6=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Ix=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function s6(e,t,n){var m,g,w,A,b;const r=UR(),s=_R(),a=Yp(),l=a.defaultQueryOptions(e);(g=(m=a.getDefaultOptions().queries)==null?void 0:m._experimental_beforeQuery)==null||g.call(m,l),l._optimisticResults=r?"isRestoring":"optimistic",n6(l),$R(l,s),e6(s);const u=!a.getQueryCache().get(l.queryHash),[f]=P.useState(()=>new t(a,l)),p=f.getOptimisticResult(l),h=!r&&e.subscribed!==!1;if(P.useSyncExternalStore(P.useCallback(j=>{const S=h?f.subscribe(In.batchCalls(j)):mr;return f.updateResult(),S},[f,h]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),P.useEffect(()=>{f.setOptions(l)},[l,f]),o6(l,p))throw Ix(l,f,s);if(t6({result:p,errorResetBoundary:s,throwOnError:l.throwOnError,query:a.getQueryCache().get(l.queryHash),suspense:l.suspense}))throw p.error;if((A=(w=a.getDefaultOptions().queries)==null?void 0:w._experimental_afterQuery)==null||A.call(w,l,p),l.experimental_prefetchInRender&&!ya&&r6(p,r)){const j=u?Ix(l,f,s):(b=a.getQueryCache().get(l.queryHash))==null?void 0:b.promise;j==null||j.catch(mr).finally(()=>{f.updateResult()})}return l.notifyOnChangeProps?p:f.trackResult(p)}function $n(e,t){return s6(e,FR)}function Rl(e,t){const n=Yp(),[r]=P.useState(()=>new ZR(n,e));P.useEffect(()=>{r.setOptions(e)},[r,e]);const s=P.useSyncExternalStore(P.useCallback(l=>r.subscribe(In.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=P.useCallback((l,u)=>{r.mutate(l,u).catch(mr)},[r]);if(s.error&&Y1(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}var wd={},Wx;function i6(){if(Wx)return wd;Wx=1;var e=n1();return wd.createRoot=e.createRoot,wd.hydrateRoot=e.hydrateRoot,wd}var a6=i6();const l6=Ap(a6);var Xc={},Jx;function c6(){if(Jx)return Xc;Jx=1,Object.defineProperty(Xc,"__esModule",{value:!0}),Xc.parse=l,Xc.serialize=p;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]*$/,s=Object.prototype.toString,a=(()=>{const g=function(){};return g.prototype=Object.create(null),g})();function l(g,w){const A=new a,b=g.length;if(b<2)return A;const j=(w==null?void 0:w.decode)||h;let S=0;do{const z=g.indexOf("=",S);if(z===-1)break;const C=g.indexOf(";",S),O=C===-1?b:C;if(z>O){S=g.lastIndexOf(";",z-1)+1;continue}const D=u(g,S,z),T=f(g,z,D),M=g.slice(D,T);if(A[M]===void 0){let L=u(g,z+1,O),R=f(g,O,L);const H=j(g.slice(L,R));A[M]=H}S=O+1}while(SA;){const b=g.charCodeAt(--w);if(b!==32&&b!==9)return w+1}return A}function p(g,w,A){const b=(A==null?void 0:A.encode)||encodeURIComponent;if(!e.test(g))throw new TypeError(`argument name is invalid: ${g}`);const j=b(w);if(!t.test(j))throw new TypeError(`argument val is invalid: ${w}`);let S=g+"="+j;if(!A)return S;if(A.maxAge!==void 0){if(!Number.isInteger(A.maxAge))throw new TypeError(`option maxAge is invalid: ${A.maxAge}`);S+="; Max-Age="+A.maxAge}if(A.domain){if(!n.test(A.domain))throw new TypeError(`option domain is invalid: ${A.domain}`);S+="; Domain="+A.domain}if(A.path){if(!r.test(A.path))throw new TypeError(`option path is invalid: ${A.path}`);S+="; Path="+A.path}if(A.expires){if(!m(A.expires)||!Number.isFinite(A.expires.valueOf()))throw new TypeError(`option expires is invalid: ${A.expires}`);S+="; Expires="+A.expires.toUTCString()}if(A.httpOnly&&(S+="; HttpOnly"),A.secure&&(S+="; Secure"),A.partitioned&&(S+="; Partitioned"),A.priority)switch(typeof A.priority=="string"?A.priority.toLowerCase():void 0){case"low":S+="; Priority=Low";break;case"medium":S+="; Priority=Medium";break;case"high":S+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${A.priority}`)}if(A.sameSite)switch(typeof A.sameSite=="string"?A.sameSite.toLowerCase():A.sameSite){case!0:case"strict":S+="; SameSite=Strict";break;case"lax":S+="; SameSite=Lax";break;case"none":S+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${A.sameSite}`)}return S}function h(g){if(g.indexOf("%")===-1)return g;try{return decodeURIComponent(g)}catch{return g}}function m(g){return s.call(g)==="[object Date]"}return Xc}c6();var Fx="popstate";function u6(e={}){function t(r,s){let{pathname:a,search:l,hash:u}=r.location;return Ay("",{pathname:a,search:l,hash:u},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:Cu(s)}return d6(t,n,null,e)}function An(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function No(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function f6(){return Math.random().toString(36).substring(2,10)}function Yx(e,t){return{usr:e.state,key:e.key,idx:t}}function Ay(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Vl(t):t,state:n,key:t&&t.key||r||f6()}}function Cu({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 Vl(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 d6(e,t,n,r={}){let{window:s=document.defaultView,v5Compat:a=!1}=r,l=s.history,u="POP",f=null,p=h();p==null&&(p=0,l.replaceState({...l.state,idx:p},""));function h(){return(l.state||{idx:null}).idx}function m(){u="POP";let j=h(),S=j==null?null:j-p;p=j,f&&f({action:u,location:b.location,delta:S})}function g(j,S){u="PUSH";let z=Ay(b.location,j,S);p=h()+1;let C=Yx(z,p),O=b.createHref(z);try{l.pushState(C,"",O)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;s.location.assign(O)}a&&f&&f({action:u,location:b.location,delta:1})}function w(j,S){u="REPLACE";let z=Ay(b.location,j,S);p=h();let C=Yx(z,p),O=b.createHref(z);l.replaceState(C,"",O),a&&f&&f({action:u,location:b.location,delta:0})}function A(j){return p6(j)}let b={get action(){return u},get location(){return e(s,l)},listen(j){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(Fx,m),f=j,()=>{s.removeEventListener(Fx,m),f=null}},createHref(j){return t(s,j)},createURL:A,encodeLocation(j){let S=A(j);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:g,replace:w,go(j){return l.go(j)}};return b}function p6(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),An(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Cu(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function t2(e,t,n="/"){return v6(e,t,n,!1)}function v6(e,t,n,r){let s=typeof t=="string"?Vl(t):t,a=Xs(s.pathname||"/",n);if(a==null)return null;let l=n2(e);h6(l);let u=null;for(let f=0;u==null&&f{let f={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};f.relativePath.startsWith("/")&&(An(f.relativePath.startsWith(r),`Absolute route path "${f.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(r.length));let p=Ts([r,f.relativePath]),h=n.concat(f);a.children&&a.children.length>0&&(An(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),n2(a.children,t,h,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:x6(p,a.index),routesMeta:h})};return e.forEach((a,l)=>{var u;if(a.path===""||!((u=a.path)!=null&&u.includes("?")))s(a,l);else for(let f of r2(a.path))s(a,l,f)}),t}function r2(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return s?[a,""]:[a];let l=r2(r.join("/")),u=[];return u.push(...l.map(f=>f===""?a:[a,f].join("/"))),s&&u.push(...l),u.map(f=>e.startsWith("/")&&f===""?"/":f)}function h6(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:w6(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var m6=/^:[\w-]+$/,y6=3,g6=2,A6=1,P6=10,b6=-2,qx=e=>e==="*";function x6(e,t){let n=e.split("/"),r=n.length;return n.some(qx)&&(r+=b6),t&&(r+=g6),n.filter(s=>!qx(s)).reduce((s,a)=>s+(m6.test(a)?y6:a===""?A6:P6),r)}function w6(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function H6(e,t,n=!1){let{routesMeta:r}=e,s={},a="/",l=[];for(let u=0;u{if(h==="*"){let A=u[g]||"";l=a.slice(0,a.length-A.length).replace(/(.)\/+$/,"$1")}const w=u[g];return m&&!w?p[h]=void 0:p[h]=(w||"").replace(/%2F/g,"/"),p},{}),pathname:a,pathnameBase:l,pattern:e}}function j6(e,t=!1,n=!0){No(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=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,f)=>(r.push({paramName:u,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function z6(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return No(!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 Xs(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 S6(e,t="/"){let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Vl(e):e;return{pathname:n?n.startsWith("/")?n:C6(n,t):t,search:k6(r),hash:T6(s)}}function C6(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Pm(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 O6(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function o2(e){let t=O6(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function s2(e,t,n,r=!1){let s;typeof e=="string"?s=Vl(e):(s={...e},An(!s.pathname||!s.pathname.includes("?"),Pm("?","pathname","search",s)),An(!s.pathname||!s.pathname.includes("#"),Pm("#","pathname","hash",s)),An(!s.search||!s.search.includes("#"),Pm("#","search","hash",s)));let a=e===""||s.pathname==="",l=a?"/":s.pathname,u;if(l==null)u=n;else{let m=t.length-1;if(!r&&l.startsWith("..")){let g=l.split("/");for(;g[0]==="..";)g.shift(),m-=1;s.pathname=g.join("/")}u=m>=0?t[m]:"/"}let f=S6(s,u),p=l&&l!=="/"&&l.endsWith("/"),h=(a||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(p||h)&&(f.pathname+="/"),f}var Ts=e=>e.join("/").replace(/\/\/+/g,"/"),D6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),k6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,T6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function E6(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var i2=["POST","PUT","PATCH","DELETE"];new Set(i2);var R6=["GET",...i2];new Set(R6);var Il=P.createContext(null);Il.displayName="DataRouter";var qp=P.createContext(null);qp.displayName="DataRouterState";var a2=P.createContext({isTransitioning:!1});a2.displayName="ViewTransition";var M6=P.createContext(new Map);M6.displayName="Fetchers";var L6=P.createContext(null);L6.displayName="Await";var ds=P.createContext(null);ds.displayName="Navigation";var Zu=P.createContext(null);Zu.displayName="Location";var Ns=P.createContext({outlet:null,matches:[],isDataRoute:!1});Ns.displayName="Route";var Eg=P.createContext(null);Eg.displayName="RouteError";function X6(e,{relative:t}={}){An(Gu(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=P.useContext(ds),{hash:s,pathname:a,search:l}=Uu(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:Ts([n,a])),r.createHref({pathname:u,search:l,hash:s})}function Gu(){return P.useContext(Zu)!=null}function Oi(){return An(Gu(),"useLocation() may be used only in the context of a component."),P.useContext(Zu).location}var l2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function c2(e){P.useContext(ds).static||P.useLayoutEffect(e)}function Zp(){let{isDataRoute:e}=P.useContext(Ns);return e?Q6():N6()}function N6(){An(Gu(),"useNavigate() may be used only in the context of a component.");let e=P.useContext(Il),{basename:t,navigator:n}=P.useContext(ds),{matches:r}=P.useContext(Ns),{pathname:s}=Oi(),a=JSON.stringify(o2(r)),l=P.useRef(!1);return c2(()=>{l.current=!0}),P.useCallback((f,p={})=>{if(No(l.current,l2),!l.current)return;if(typeof f=="number"){n.go(f);return}let h=s2(f,JSON.parse(a),s,p.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Ts([t,h.pathname])),(p.replace?n.replace:n.push)(h,p.state,p)},[t,n,a,s,e])}P.createContext(null);function Uu(e,{relative:t}={}){let{matches:n}=P.useContext(Ns),{pathname:r}=Oi(),s=JSON.stringify(o2(n));return P.useMemo(()=>s2(e,JSON.parse(s),r,t==="path"),[e,s,r,t])}function B6(e,t){return u2(e,t)}function u2(e,t,n,r){var S;An(Gu(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=P.useContext(ds),{matches:a}=P.useContext(Ns),l=a[a.length-1],u=l?l.params:{},f=l?l.pathname:"/",p=l?l.pathnameBase:"/",h=l&&l.route;{let z=h&&h.path||"";f2(f,!h||z.endsWith("*")||z.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. + `:null,Ez=e=>{const{classes:t,variant:n,color:r,disableShrink:s}=e,a={root:["root",n,`color${me(r)}`],svg:["svg"],circle:["circle",`circle${me(n)}`,s&&"circleDisableShrink"]};return _e(a,Dz,t)},Rz=pe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${me(n.color)}`]]}})(nt(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:kz||{animation:`${Um} 1.4s linear infinite`}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Mz=pe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Lz=pe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${me(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(nt(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:Tz||{animation:`${Qm} 1.4s ease-in-out infinite`}}]}))),Nl=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCircularProgress"}),{className:s,color:a="primary",disableShrink:l=!1,size:u=40,style:f,thickness:p=3.6,value:h=0,variant:m="indeterminate",...g}=r,w={...r,color:a,disableShrink:l,size:u,thickness:p,value:h,variant:m},A=Ez(w),b={},j={},S={};if(m==="determinate"){const z=2*Math.PI*((ii-p)/2);b.strokeDasharray=z.toFixed(3),S["aria-valuenow"]=Math.round(h),b.strokeDashoffset=`${((100-h)/100*z).toFixed(3)}px`,j.transform="rotate(-90deg)"}return v.jsx(Rz,{className:Oe(A.root,s),style:{width:u,height:u,...j,...f},ownerState:w,ref:n,role:"progressbar",...S,...g,children:v.jsx(Mz,{className:A.svg,ownerState:w,viewBox:`${ii/2} ${ii/2} ${ii} ${ii}`,children:v.jsx(Lz,{className:A.circle,style:b,ownerState:w,cx:ii,cy:ii,r:(ii-p)/2,fill:"none",strokeWidth:p})})})});function Xz(e){return Qe("MuiIconButton",e)}const M8=Ke("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Nz=e=>{const{classes:t,disabled:n,color:r,edge:s,size:a,loading:l}=e,u={root:["root",l&&"loading",n&&"disabled",r!=="default"&&`color${me(r)}`,s&&`edge${me(s)}`,`size${me(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return _e(u,Xz,t)},Bz=pe(ha,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${me(n.color)}`],n.edge&&t[`edge${me(n.edge)}`],t[`size${me(n.size)}`]]}})(nt(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),nt(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${M8.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${M8.loading}`]:{color:"transparent"}}))),Vz=pe("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Cr=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiIconButton"}),{edge:s=!1,children:a,className:l,color:u="default",disabled:f=!1,disableFocusRipple:p=!1,size:h="medium",id:m,loading:g=null,loadingIndicator:w,...A}=r,b=Xo(m),j=w??v.jsx(Nl,{"aria-labelledby":b,color:"inherit",size:16}),S={...r,edge:s,color:u,disabled:f,disableFocusRipple:p,loading:g,loadingIndicator:j,size:h},z=Nz(S);return v.jsxs(Bz,{id:g?b:m,className:Oe(z.root,l),centerRipple:!0,focusRipple:!p,disabled:f||g,ref:n,...A,ownerState:S,children:[typeof g=="boolean"&&v.jsx("span",{className:z.loadingWrapper,style:{display:"contents"},children:v.jsx(Vz,{className:z.loadingIndicator,ownerState:S,children:g&&j})}),a]})}),Iz=bt(v.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Wz=bt(v.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Jz=bt(v.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Fz=bt(v.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),s1=bt(v.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Yz=e=>{const{variant:t,color:n,severity:r,classes:s}=e,a={root:["root",`color${me(n||r)}`,`${t}${me(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return _e(a,Oz,s)},qz=pe(Gr,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${me(n.color||n.severity)}`]]}})(nt(({theme:e})=>{const t=e.palette.mode==="light"?pa:va,n=e.palette.mode==="light"?va:pa;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(gn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${R8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(gn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${R8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(gn(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)}}}))]}})),Zz=pe("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Gz=pe("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Uz=pe("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),L8={success:v.jsx(Iz,{fontSize:"inherit"}),warning:v.jsx(Wz,{fontSize:"inherit"}),error:v.jsx(Jz,{fontSize:"inherit"}),info:v.jsx(Fz,{fontSize:"inherit"})},fg=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiAlert"}),{action:s,children:a,className:l,closeText:u="Close",color:f,components:p={},componentsProps:h={},icon:m,iconMapping:g=L8,onClose:w,role:A="alert",severity:b="success",slotProps:j={},slots:S={},variant:z="standard",...C}=r,O={...r,color:f,severity:b,variant:z,colorSeverity:f||b},D=Yz(O),T={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...S},slotProps:{...h,...j}},[M,L]=pt("root",{ref:n,shouldForwardComponentProp:!0,className:Oe(D.root,l),elementType:qz,externalForwardedProps:{...T,...C},ownerState:O,additionalProps:{role:A,elevation:0}}),[R,H]=pt("icon",{className:D.icon,elementType:Zz,externalForwardedProps:T,ownerState:O}),[N,B]=pt("message",{className:D.message,elementType:Gz,externalForwardedProps:T,ownerState:O}),[W,_]=pt("action",{className:D.action,elementType:Uz,externalForwardedProps:T,ownerState:O}),[J,U]=pt("closeButton",{elementType:Cr,externalForwardedProps:T,ownerState:O}),[oe,K]=pt("closeIcon",{elementType:s1,externalForwardedProps:T,ownerState:O});return v.jsxs(M,{...L,children:[m!==!1?v.jsx(R,{...H,children:m||g[b]||L8[b]}):null,v.jsx(N,{...B,children:a}),s!=null?v.jsx(W,{..._,children:s}):null,s==null&&w?v.jsx(W,{..._,children:v.jsx(J,{size:"small","aria-label":u,title:u,color:"inherit",onClick:w,...U,children:v.jsx(oe,{fontSize:"small",...K})})}):null]})});function Qz(e){return Qe("MuiTypography",e)}const X8=Ke("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),Kz={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},_z=Qj(),$z=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:s,variant:a,classes:l}=e,u={root:["root",a,e.align!=="inherit"&&`align${me(t)}`,n&&"gutterBottom",r&&"noWrap",s&&"paragraph"]};return _e(u,Qz,l)},eS=pe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${me(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(nt(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(gn()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${me(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),N8={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},jt=P.forwardRef(function(t,n){const{color:r,...s}=rt({props:t,name:"MuiTypography"}),a=!Kz[r],l=_z({...s,...a&&{color:r}}),{align:u="inherit",className:f,component:p,gutterBottom:h=!1,noWrap:m=!1,paragraph:g=!1,variant:w="body1",variantMapping:A=N8,...b}=l,j={...l,align:u,color:r,className:f,component:p,gutterBottom:h,noWrap:m,paragraph:g,variant:w,variantMapping:A},S=p||(g?"p":A[w]||N8[w])||"span",z=$z(j);return v.jsx(eS,{as:S,ref:n,className:Oe(z.root,f),...b,ownerState:j,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...b.style}})});function tS(e){return Qe("MuiAppBar",e)}Ke("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const nS=e=>{const{color:t,position:n,classes:r}=e,s={root:["root",`color${me(t)}`,`position${me(n)}`]};return _e(s,tS,r)},B8=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,rS=pe(Gr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],t[`color${me(n.color)}`]]}})(nt(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(gn(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?B8(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?B8(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),oS=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiAppBar"}),{className:s,color:a="primary",enableColorOnDark:l=!1,position:u="fixed",...f}=r,p={...r,color:a,position:u,enableColorOnDark:l},h=nS(p);return v.jsx(rS,{square:!0,component:"header",ownerState:p,elevation:4,className:Oe(h.root,s,u==="fixed"&&"mui-fixed"),ref:n,...f})});function V8(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function sS(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:s="any",stringify:a,trim:l=!1}=e;return(u,{inputValue:f,getOptionLabel:p})=>{let h=l?f.trim():f;n&&(h=h.toLowerCase()),t&&(h=V8(h));const m=h?u.filter(g=>{let w=(a||p)(g);return n&&(w=w.toLowerCase()),t&&(w=V8(w)),s==="start"?w.startsWith(h):w.includes(h)}):u;return typeof r=="number"?m.slice(0,r):m}}const iS=sS(),aS=5,lS=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},cS=[];function I8(e,t,n){if(t||e==null)return"";const r=n(e);return typeof r=="string"?r:""}function uS(e){const{unstable_isActiveElementInListbox:t=lS,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:s=!1,autoSelect:a=!1,blurOnSelect:l=!1,clearOnBlur:u=!e.freeSolo,clearOnEscape:f=!1,componentName:p="useAutocomplete",defaultValue:h=e.multiple?cS:null,disableClearable:m=!1,disableCloseOnSelect:g=!1,disabled:w,disabledItemsFocusable:A=!1,disableListWrap:b=!1,filterOptions:j=iS,filterSelectedOptions:S=!1,freeSolo:z=!1,getOptionDisabled:C,getOptionKey:O,getOptionLabel:D=ue=>ue.label??ue,groupBy:T,handleHomeEndKeys:M=!e.freeSolo,id:L,includeInputInList:R=!1,inputValue:H,isOptionEqualToValue:N=(ue,fe)=>ue===fe,multiple:B=!1,onChange:W,onClose:_,onHighlightChange:J,onInputChange:U,onOpen:oe,open:K,openOnFocus:Z=!1,options:E,readOnly:q=!1,selectOnFocus:X=!e.freeSolo,value:$}=e,ee=Xo(L);let se=D;se=ue=>{const fe=D(ue);return typeof fe!="string"?String(fe):fe};const ae=P.useRef(!1),ye=P.useRef(!0),le=P.useRef(null),we=P.useRef(null),[Ce,Le]=P.useState(null),[Pe,Ie]=P.useState(-1),be=s?0:-1,Ve=P.useRef(be),Pt=P.useRef(I8(h??$,B,se)).current,[Ne,gt]=xi({controlled:$,default:h,name:p}),[ft,V]=xi({controlled:H,default:Pt,name:p,state:"inputValue"}),[te,ne]=P.useState(!1),He=P.useCallback((ue,fe,Re)=>{if(!(B?Ne.length!(S&&(B?Ne:[Ne]).some(fe=>fe!==null&&N(ue,fe)))),{inputValue:Fe&&Be?"":ft,getOptionLabel:se}):[],We=NH({filteredOptions:et,value:Ne,inputValue:ft});P.useEffect(()=>{const ue=Ne!==We.value;te&&!ue||z&&!ue||He(null,Ne,"reset")},[Ne,He,te,We.value,z]);const Ot=he&&et.length>0&&!q,zt=ar(ue=>{ue===-1?le.current.focus():Ce.querySelector(`[data-tag-index="${ue}"]`).focus()});P.useEffect(()=>{B&&Pe>Ne.length-1&&(Ie(-1),zt(-1))},[Ne,B,Pe,zt]);function qt(ue,fe){if(!we.current||ue<0||ue>=et.length)return-1;let Re=ue;for(;;){const st=we.current.querySelector(`[data-option-index="${Re}"]`),Ht=A?!1:!st||st.disabled||st.getAttribute("aria-disabled")==="true";if(st&&st.hasAttribute("tabindex")&&!Ht)return Re;if(fe==="next"?Re=(Re+1)%et.length:Re=(Re-1+et.length)%et.length,Re===ue)return-1}}const Y=ar(({event:ue,index:fe,reason:Re})=>{if(Ve.current=fe,fe===-1?le.current.removeAttribute("aria-activedescendant"):le.current.setAttribute("aria-activedescendant",`${ee}-option-${fe}`),J&&["mouse","keyboard","touch"].includes(Re)&&J(ue,fe===-1?null:et[fe],Re),!we.current)return;const st=we.current.querySelector(`[role="option"].${n}-focused`);st&&(st.classList.remove(`${n}-focused`),st.classList.remove(`${n}-focusVisible`));let Ht=we.current;if(we.current.getAttribute("role")!=="listbox"&&(Ht=we.current.parentElement.querySelector('[role="listbox"]')),!Ht)return;if(fe===-1){Ht.scrollTop=0;return}const It=we.current.querySelector(`[data-option-index="${fe}"]`);if(It&&(It.classList.add(`${n}-focused`),Re==="keyboard"&&It.classList.add(`${n}-focusVisible`),Ht.scrollHeight>Ht.clientHeight&&Re!=="mouse"&&Re!=="touch")){const Kt=It,Nn=Ht.clientHeight+Ht.scrollTop,gr=Kt.offsetTop+Kt.offsetHeight;gr>Nn?Ht.scrollTop=gr-Ht.clientHeight:Kt.offsetTop-Kt.offsetHeight*(T?1.3:0){if(!ct)return;const It=qt((()=>{const Kt=et.length-1;if(fe==="reset")return be;if(fe==="start")return 0;if(fe==="end")return Kt;const Nn=Ve.current+fe;return Nn<0?Nn===-1&&R?-1:b&&Ve.current!==-1||Math.abs(fe)>1?0:Kt:Nn>Kt?Nn===Kt+1&&R?-1:b||Math.abs(fe)>1?Kt:0:Nn})(),Re);if(Y({index:It,reason:st,event:ue}),r&&fe!=="reset")if(It===-1)le.current.value=ft;else{const Kt=se(et[It]);le.current.value=Kt,Kt.toLowerCase().indexOf(ft.toLowerCase())===0&&ft.length>0&&le.current.setSelectionRange(ft.length,Kt.length)}}),ge=()=>{const ue=(fe,Re)=>{const st=fe?se(fe):"",Ht=Re?se(Re):"";return st===Ht};if(Ve.current!==-1&&We.filteredOptions&&We.filteredOptions.length!==et.length&&We.inputValue===ft&&(B?Ne.length===We.value.length&&We.value.every((fe,Re)=>se(Ne[Re])===se(fe)):ue(We.value,Ne))){const fe=We.filteredOptions[Ve.current];if(fe)return et.findIndex(Re=>se(Re)===se(fe))}return-1},je=P.useCallback(()=>{if(!ct)return;const ue=ge();if(ue!==-1){Ve.current=ue;return}const fe=B?Ne[0]:Ne;if(et.length===0||fe==null){F({diff:"reset"});return}if(we.current){if(fe!=null){const Re=et[Ve.current];if(B&&Re&&Ne.findIndex(Ht=>N(Re,Ht))!==-1)return;const st=et.findIndex(Ht=>N(Ht,fe));st===-1?F({diff:"reset"}):Y({index:st});return}if(Ve.current>=et.length-1){Y({index:et.length-1});return}Y({index:Ve.current})}},[et.length,B?!1:Ne,S,F,Y,ct,ft,B]),Ee=ar(ue=>{Jm(we,ue),ue&&je()});P.useEffect(()=>{je()},[je]);const Xe=ue=>{he||(xe(!0),ot(!0),oe&&oe(ue))},Ge=(ue,fe)=>{he&&(xe(!1),_&&_(ue,fe))},ke=(ue,fe,Re,st)=>{if(B){if(Ne.length===fe.length&&Ne.every((Ht,It)=>Ht===fe[It]))return}else if(Ne===fe)return;W&&W(ue,fe,Re,st),gt(fe)},it=P.useRef(!1),vt=(ue,fe,Re="selectOption",st="options")=>{let Ht=Re,It=fe;if(B){It=Array.isArray(Ne)?Ne.slice():[];const Kt=It.findIndex(Nn=>N(fe,Nn));Kt===-1?It.push(fe):st!=="freeSolo"&&(It.splice(Kt,1),Ht="removeOption")}He(ue,It,Ht),ke(ue,It,Ht,{option:fe}),!g&&(!ue||!ue.ctrlKey&&!ue.metaKey)&&Ge(ue,Ht),(l===!0||l==="touch"&&it.current||l==="mouse"&&!it.current)&&le.current.blur()};function Xt(ue,fe){if(ue===-1)return-1;let Re=ue;for(;;){if(fe==="next"&&Re===Ne.length||fe==="previous"&&Re===-1)return-1;const st=Ce.querySelector(`[data-tag-index="${Re}"]`);if(!st||!st.hasAttribute("tabindex")||st.disabled||st.getAttribute("aria-disabled")==="true")Re+=fe==="next"?1:-1;else return Re}}const Qt=(ue,fe)=>{if(!B)return;ft===""&&Ge(ue,"toggleInput");let Re=Pe;Pe===-1?ft===""&&fe==="previous"&&(Re=Ne.length-1):(Re+=fe==="next"?1:-1,Re<0&&(Re=0),Re===Ne.length&&(Re=-1)),Re=Xt(Re,fe),Ie(Re),zt(Re)},Ye=ue=>{ae.current=!0,V(""),U&&U(ue,"","clear"),ke(ue,B?[]:null,"clear")},Rt=ue=>fe=>{if(ue.onKeyDown&&ue.onKeyDown(fe),!fe.defaultMuiPrevented&&(Pe!==-1&&!["ArrowLeft","ArrowRight"].includes(fe.key)&&(Ie(-1),zt(-1)),fe.which!==229))switch(fe.key){case"Home":ct&&M&&(fe.preventDefault(),F({diff:"start",direction:"next",reason:"keyboard",event:fe}));break;case"End":ct&&M&&(fe.preventDefault(),F({diff:"end",direction:"previous",reason:"keyboard",event:fe}));break;case"PageUp":fe.preventDefault(),F({diff:-5,direction:"previous",reason:"keyboard",event:fe}),Xe(fe);break;case"PageDown":fe.preventDefault(),F({diff:aS,direction:"next",reason:"keyboard",event:fe}),Xe(fe);break;case"ArrowDown":fe.preventDefault(),F({diff:1,direction:"next",reason:"keyboard",event:fe}),Xe(fe);break;case"ArrowUp":fe.preventDefault(),F({diff:-1,direction:"previous",reason:"keyboard",event:fe}),Xe(fe);break;case"ArrowLeft":Qt(fe,"previous");break;case"ArrowRight":Qt(fe,"next");break;case"Enter":if(Ve.current!==-1&&ct){const Re=et[Ve.current],st=C?C(Re):!1;if(fe.preventDefault(),st)return;vt(fe,Re,"selectOption"),r&&le.current.setSelectionRange(le.current.value.length,le.current.value.length)}else z&&ft!==""&&Fe===!1&&(B&&fe.preventDefault(),vt(fe,ft,"createOption","freeSolo"));break;case"Escape":ct?(fe.preventDefault(),fe.stopPropagation(),Ge(fe,"escape")):f&&(ft!==""||B&&Ne.length>0)&&(fe.preventDefault(),fe.stopPropagation(),Ye(fe));break;case"Backspace":if(B&&!q&&ft===""&&Ne.length>0){const Re=Pe===-1?Ne.length-1:Pe,st=Ne.slice();st.splice(Re,1),ke(fe,st,"removeOption",{option:Ne[Re]})}break;case"Delete":if(B&&!q&&ft===""&&Ne.length>0&&Pe!==-1){const Re=Pe,st=Ne.slice();st.splice(Re,1),ke(fe,st,"removeOption",{option:Ne[Re]})}break}},vn=ue=>{ne(!0),Z&&!ae.current&&Xe(ue)},Pn=ue=>{if(t(we)){le.current.focus();return}ne(!1),ye.current=!0,ae.current=!1,a&&Ve.current!==-1&&ct?vt(ue,et[Ve.current],"blur"):a&&z&&ft!==""?vt(ue,ft,"blur","freeSolo"):u&&He(ue,Ne,"blur"),Ge(ue,"blur")},Un=ue=>{const fe=ue.target.value;ft!==fe&&(V(fe),ot(!1),U&&U(ue,fe,"input")),fe===""?!m&&!B&&ke(ue,null,"clear"):Xe(ue)},bn=ue=>{const fe=Number(ue.currentTarget.getAttribute("data-option-index"));Ve.current!==fe&&Y({event:ue,index:fe,reason:"mouse"})},Lr=ue=>{Y({event:ue,index:Number(ue.currentTarget.getAttribute("data-option-index")),reason:"touch"}),it.current=!0},mo=ue=>{const fe=Number(ue.currentTarget.getAttribute("data-option-index"));vt(ue,et[fe],"selectOption"),it.current=!1},Fo=ue=>fe=>{const Re=Ne.slice();Re.splice(ue,1),ke(fe,Re,"removeOption",{option:Ne[ue]})},Yo=ue=>{he?Ge(ue,"toggleInput"):Xe(ue)},yo=ue=>{ue.currentTarget.contains(ue.target)&&ue.target.getAttribute("id")!==ee&&ue.preventDefault()},xn=ue=>{ue.currentTarget.contains(ue.target)&&(le.current.focus(),X&&ye.current&&le.current.selectionEnd-le.current.selectionStart===0&&le.current.select(),ye.current=!1)},hn=ue=>{!w&&(ft===""||!he)&&Yo(ue)};let Te=z&&ft.length>0;Te=Te||(B?Ne.length>0:Ne!==null);let Ue=et;return T&&(Ue=et.reduce((ue,fe,Re)=>{const st=T(fe);return ue.length>0&&ue[ue.length-1].group===st?ue[ue.length-1].options.push(fe):ue.push({key:Re,index:Re,group:st,options:[fe]}),ue},[])),w&&te&&Pn(),{getRootProps:(ue={})=>({...ue,onKeyDown:Rt(ue),onMouseDown:yo,onClick:xn}),getInputLabelProps:()=>({id:`${ee}-label`,htmlFor:ee}),getInputProps:()=>({id:ee,value:ft,onBlur:Pn,onFocus:vn,onChange:Un,onMouseDown:hn,"aria-activedescendant":ct?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Ot?`${ee}-listbox`:void 0,"aria-expanded":Ot,autoComplete:"off",ref:le,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:w}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ye}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Yo}),getTagProps:({index:ue})=>({key:ue,"data-tag-index":ue,tabIndex:-1,...!q&&{onDelete:Fo(ue)}}),getListboxProps:()=>({role:"listbox",id:`${ee}-listbox`,"aria-labelledby":`${ee}-label`,ref:Ee,onMouseDown:ue=>{ue.preventDefault()}}),getOptionProps:({index:ue,option:fe})=>{const Re=(B?Ne:[Ne]).some(Ht=>Ht!=null&&N(fe,Ht)),st=C?C(fe):!1;return{key:(O==null?void 0:O(fe))??se(fe),tabIndex:-1,role:"option",id:`${ee}-option-${ue}`,onMouseMove:bn,onClick:mo,onTouchStart:Lr,"data-option-index":ue,"aria-disabled":st,"aria-selected":Re}},id:ee,inputValue:ft,value:Ne,dirty:Te,expanded:ct&&Ce,popupOpen:ct,focused:te||Pe!==-1,anchorEl:Ce,setAnchorEl:Le,focusedTag:Pe,groupedOptions:Ue}}var Or="top",po="bottom",vo="right",Dr="left",dg="auto",Ju=[Or,po,vo,Dr],Dl="start",Au="end",fS="clippingParents",i1="viewport",Dc="popper",dS="reference",W8=Ju.reduce(function(e,t){return e.concat([t+"-"+Dl,t+"-"+Au])},[]),a1=[].concat(Ju,[dg]).reduce(function(e,t){return e.concat([t,t+"-"+Dl,t+"-"+Au])},[]),pS="beforeRead",vS="read",hS="afterRead",mS="beforeMain",yS="main",gS="afterMain",AS="beforeWrite",PS="write",bS="afterWrite",xS=[pS,vS,hS,mS,yS,gS,AS,PS,bS];function us(e){return e?(e.nodeName||"").toLowerCase():null}function Ur(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ma(e){var t=Ur(e).Element;return e instanceof t||e instanceof Element}function fo(e){var t=Ur(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function pg(e){if(typeof ShadowRoot>"u")return!1;var t=Ur(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function wS(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},a=t.elements[n];!fo(a)||!us(a)||(Object.assign(a.style,r),Object.keys(s).forEach(function(l){var u=s[l];u===!1?a.removeAttribute(l):a.setAttribute(l,u===!0?"":u)}))})}function HS(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],a=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=l.reduce(function(f,p){return f[p]="",f},{});!fo(s)||!us(s)||(Object.assign(s.style,u),Object.keys(a).forEach(function(f){s.removeAttribute(f)}))})}}const jS={name:"applyStyles",enabled:!0,phase:"write",fn:wS,effect:HS,requires:["computeStyles"]};function ls(e){return e.split("-")[0]}var ua=Math.max,op=Math.min,kl=Math.round;function Km(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function l1(){return!/^((?!chrome|android).)*safari/i.test(Km())}function Tl(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,a=1;t&&fo(e)&&(s=e.offsetWidth>0&&kl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&kl(r.height)/e.offsetHeight||1);var l=ma(e)?Ur(e):window,u=l.visualViewport,f=!l1()&&n,p=(r.left+(f&&u?u.offsetLeft:0))/s,h=(r.top+(f&&u?u.offsetTop:0))/a,m=r.width/s,g=r.height/a;return{width:m,height:g,top:h,right:p+m,bottom:h+g,left:p,x:p,y:h}}function vg(e){var t=Tl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function c1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&pg(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ls(e){return Ur(e).getComputedStyle(e)}function zS(e){return["table","td","th"].indexOf(us(e))>=0}function Si(e){return((ma(e)?e.ownerDocument:e.document)||window.document).documentElement}function Lp(e){return us(e)==="html"?e:e.assignedSlot||e.parentNode||(pg(e)?e.host:null)||Si(e)}function J8(e){return!fo(e)||Ls(e).position==="fixed"?null:e.offsetParent}function SS(e){var t=/firefox/i.test(Km()),n=/Trident/i.test(Km());if(n&&fo(e)){var r=Ls(e);if(r.position==="fixed")return null}var s=Lp(e);for(pg(s)&&(s=s.host);fo(s)&&["html","body"].indexOf(us(s))<0;){var a=Ls(s);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return s;s=s.parentNode}return null}function Fu(e){for(var t=Ur(e),n=J8(e);n&&zS(n)&&Ls(n).position==="static";)n=J8(n);return n&&(us(n)==="html"||us(n)==="body"&&Ls(n).position==="static")?t:n||SS(e)||t}function hg(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function au(e,t,n){return ua(e,op(t,n))}function CS(e,t,n){var r=au(e,t,n);return r>n?n:r}function u1(){return{top:0,right:0,bottom:0,left:0}}function f1(e){return Object.assign({},u1(),e)}function d1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var OS=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,f1(typeof t!="number"?t:d1(t,Ju))};function DS(e){var t,n=e.state,r=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=ls(n.placement),f=hg(u),p=[Dr,vo].indexOf(u)>=0,h=p?"height":"width";if(!(!a||!l)){var m=OS(s.padding,n),g=vg(a),w=f==="y"?Or:Dr,A=f==="y"?po:vo,b=n.rects.reference[h]+n.rects.reference[f]-l[f]-n.rects.popper[h],j=l[f]-n.rects.reference[f],S=Fu(a),z=S?f==="y"?S.clientHeight||0:S.clientWidth||0:0,C=b/2-j/2,O=m[w],D=z-g[h]-m[A],T=z/2-g[h]/2+C,M=au(O,T,D),L=f;n.modifiersData[r]=(t={},t[L]=M,t.centerOffset=M-T,t)}}function kS(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||c1(t.elements.popper,s)&&(t.elements.arrow=s))}const TS={name:"arrow",enabled:!0,phase:"main",fn:DS,effect:kS,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function El(e){return e.split("-")[1]}var ES={top:"auto",right:"auto",bottom:"auto",left:"auto"};function RS(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:kl(n*s)/s||0,y:kl(r*s)/s||0}}function F8(e){var t,n=e.popper,r=e.popperRect,s=e.placement,a=e.variation,l=e.offsets,u=e.position,f=e.gpuAcceleration,p=e.adaptive,h=e.roundOffsets,m=e.isFixed,g=l.x,w=g===void 0?0:g,A=l.y,b=A===void 0?0:A,j=typeof h=="function"?h({x:w,y:b}):{x:w,y:b};w=j.x,b=j.y;var S=l.hasOwnProperty("x"),z=l.hasOwnProperty("y"),C=Dr,O=Or,D=window;if(p){var T=Fu(n),M="clientHeight",L="clientWidth";if(T===Ur(n)&&(T=Si(n),Ls(T).position!=="static"&&u==="absolute"&&(M="scrollHeight",L="scrollWidth")),T=T,s===Or||(s===Dr||s===vo)&&a===Au){O=po;var R=m&&T===D&&D.visualViewport?D.visualViewport.height:T[M];b-=R-r.height,b*=f?1:-1}if(s===Dr||(s===Or||s===po)&&a===Au){C=vo;var H=m&&T===D&&D.visualViewport?D.visualViewport.width:T[L];w-=H-r.width,w*=f?1:-1}}var N=Object.assign({position:u},p&&ES),B=h===!0?RS({x:w,y:b},Ur(n)):{x:w,y:b};if(w=B.x,b=B.y,f){var W;return Object.assign({},N,(W={},W[O]=z?"0":"",W[C]=S?"0":"",W.transform=(D.devicePixelRatio||1)<=1?"translate("+w+"px, "+b+"px)":"translate3d("+w+"px, "+b+"px, 0)",W))}return Object.assign({},N,(t={},t[O]=z?b+"px":"",t[C]=S?w+"px":"",t.transform="",t))}function MS(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,a=n.adaptive,l=a===void 0?!0:a,u=n.roundOffsets,f=u===void 0?!0:u,p={placement:ls(t.placement),variation:El(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,F8(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,F8(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const LS={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:MS,data:{}};var hd={passive:!0};function XS(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,a=s===void 0?!0:s,l=r.resize,u=l===void 0?!0:l,f=Ur(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach(function(h){h.addEventListener("scroll",n.update,hd)}),u&&f.addEventListener("resize",n.update,hd),function(){a&&p.forEach(function(h){h.removeEventListener("scroll",n.update,hd)}),u&&f.removeEventListener("resize",n.update,hd)}}const NS={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:XS,data:{}};var BS={left:"right",right:"left",bottom:"top",top:"bottom"};function Xd(e){return e.replace(/left|right|bottom|top/g,function(t){return BS[t]})}var VS={start:"end",end:"start"};function Y8(e){return e.replace(/start|end/g,function(t){return VS[t]})}function mg(e){var t=Ur(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function yg(e){return Tl(Si(e)).left+mg(e).scrollLeft}function IS(e,t){var n=Ur(e),r=Si(e),s=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,f=0;if(s){a=s.width,l=s.height;var p=l1();(p||!p&&t==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:a,height:l,x:u+yg(e),y:f}}function WS(e){var t,n=Si(e),r=mg(e),s=(t=e.ownerDocument)==null?void 0:t.body,a=ua(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=ua(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),u=-r.scrollLeft+yg(e),f=-r.scrollTop;return Ls(s||n).direction==="rtl"&&(u+=ua(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:u,y:f}}function gg(e){var t=Ls(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function p1(e){return["html","body","#document"].indexOf(us(e))>=0?e.ownerDocument.body:fo(e)&&gg(e)?e:p1(Lp(e))}function lu(e,t){var n;t===void 0&&(t=[]);var r=p1(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),a=Ur(r),l=s?[a].concat(a.visualViewport||[],gg(r)?r:[]):r,u=t.concat(l);return s?u:u.concat(lu(Lp(l)))}function _m(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function JS(e,t){var n=Tl(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function q8(e,t,n){return t===i1?_m(IS(e,n)):ma(t)?JS(t,n):_m(WS(Si(e)))}function FS(e){var t=lu(Lp(e)),n=["absolute","fixed"].indexOf(Ls(e).position)>=0,r=n&&fo(e)?Fu(e):e;return ma(r)?t.filter(function(s){return ma(s)&&c1(s,r)&&us(s)!=="body"}):[]}function YS(e,t,n,r){var s=t==="clippingParents"?FS(e):[].concat(t),a=[].concat(s,[n]),l=a[0],u=a.reduce(function(f,p){var h=q8(e,p,r);return f.top=ua(h.top,f.top),f.right=op(h.right,f.right),f.bottom=op(h.bottom,f.bottom),f.left=ua(h.left,f.left),f},q8(e,l,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function v1(e){var t=e.reference,n=e.element,r=e.placement,s=r?ls(r):null,a=r?El(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(s){case Or:f={x:l,y:t.y-n.height};break;case po:f={x:l,y:t.y+t.height};break;case vo:f={x:t.x+t.width,y:u};break;case Dr:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var p=s?hg(s):null;if(p!=null){var h=p==="y"?"height":"width";switch(a){case Dl:f[p]=f[p]-(t[h]/2-n[h]/2);break;case Au:f[p]=f[p]+(t[h]/2-n[h]/2);break}}return f}function Pu(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,a=n.strategy,l=a===void 0?e.strategy:a,u=n.boundary,f=u===void 0?fS:u,p=n.rootBoundary,h=p===void 0?i1:p,m=n.elementContext,g=m===void 0?Dc:m,w=n.altBoundary,A=w===void 0?!1:w,b=n.padding,j=b===void 0?0:b,S=f1(typeof j!="number"?j:d1(j,Ju)),z=g===Dc?dS:Dc,C=e.rects.popper,O=e.elements[A?z:g],D=YS(ma(O)?O:O.contextElement||Si(e.elements.popper),f,h,l),T=Tl(e.elements.reference),M=v1({reference:T,element:C,placement:s}),L=_m(Object.assign({},C,M)),R=g===Dc?L:T,H={top:D.top-R.top+S.top,bottom:R.bottom-D.bottom+S.bottom,left:D.left-R.left+S.left,right:R.right-D.right+S.right},N=e.modifiersData.offset;if(g===Dc&&N){var B=N[s];Object.keys(H).forEach(function(W){var _=[vo,po].indexOf(W)>=0?1:-1,J=[Or,po].indexOf(W)>=0?"y":"x";H[W]+=B[J]*_})}return H}function qS(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,a=n.rootBoundary,l=n.padding,u=n.flipVariations,f=n.allowedAutoPlacements,p=f===void 0?a1:f,h=El(r),m=h?u?W8:W8.filter(function(A){return El(A)===h}):Ju,g=m.filter(function(A){return p.indexOf(A)>=0});g.length===0&&(g=m);var w=g.reduce(function(A,b){return A[b]=Pu(e,{placement:b,boundary:s,rootBoundary:a,padding:l})[ls(b)],A},{});return Object.keys(w).sort(function(A,b){return w[A]-w[b]})}function ZS(e){if(ls(e)===dg)return[];var t=Xd(e);return[Y8(e),t,Y8(t)]}function GS(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!0:l,f=n.fallbackPlacements,p=n.padding,h=n.boundary,m=n.rootBoundary,g=n.altBoundary,w=n.flipVariations,A=w===void 0?!0:w,b=n.allowedAutoPlacements,j=t.options.placement,S=ls(j),z=S===j,C=f||(z||!A?[Xd(j)]:ZS(j)),O=[j].concat(C).reduce(function(ee,se){return ee.concat(ls(se)===dg?qS(t,{placement:se,boundary:h,rootBoundary:m,padding:p,flipVariations:A,allowedAutoPlacements:b}):se)},[]),D=t.rects.reference,T=t.rects.popper,M=new Map,L=!0,R=O[0],H=0;H=0,J=_?"width":"height",U=Pu(t,{placement:N,boundary:h,rootBoundary:m,altBoundary:g,padding:p}),oe=_?W?vo:Dr:W?po:Or;D[J]>T[J]&&(oe=Xd(oe));var K=Xd(oe),Z=[];if(a&&Z.push(U[B]<=0),u&&Z.push(U[oe]<=0,U[K]<=0),Z.every(function(ee){return ee})){R=N,L=!1;break}M.set(N,Z)}if(L)for(var E=A?3:1,q=function(se){var ae=O.find(function(ye){var le=M.get(ye);if(le)return le.slice(0,se).every(function(we){return we})});if(ae)return R=ae,"break"},X=E;X>0;X--){var $=q(X);if($==="break")break}t.placement!==R&&(t.modifiersData[r]._skip=!0,t.placement=R,t.reset=!0)}}const US={name:"flip",enabled:!0,phase:"main",fn:GS,requiresIfExists:["offset"],data:{_skip:!1}};function Z8(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function G8(e){return[Or,vo,po,Dr].some(function(t){return e[t]>=0})}function QS(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=Pu(t,{elementContext:"reference"}),u=Pu(t,{altBoundary:!0}),f=Z8(l,r),p=Z8(u,s,a),h=G8(f),m=G8(p);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:p,isReferenceHidden:h,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":m})}const KS={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:QS};function _S(e,t,n){var r=ls(e),s=[Dr,Or].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],u=a[1];return l=l||0,u=(u||0)*s,[Dr,vo].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function $S(e){var t=e.state,n=e.options,r=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=a1.reduce(function(h,m){return h[m]=_S(m,t.rects,a),h},{}),u=l[t.placement],f=u.x,p=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=l}const eC={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:$S};function tC(e){var t=e.state,n=e.name;t.modifiersData[n]=v1({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const nC={name:"popperOffsets",enabled:!0,phase:"read",fn:tC,data:{}};function rC(e){return e==="x"?"y":"x"}function oC(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!1:l,f=n.boundary,p=n.rootBoundary,h=n.altBoundary,m=n.padding,g=n.tether,w=g===void 0?!0:g,A=n.tetherOffset,b=A===void 0?0:A,j=Pu(t,{boundary:f,rootBoundary:p,padding:m,altBoundary:h}),S=ls(t.placement),z=El(t.placement),C=!z,O=hg(S),D=rC(O),T=t.modifiersData.popperOffsets,M=t.rects.reference,L=t.rects.popper,R=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,H=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(T){if(a){var W,_=O==="y"?Or:Dr,J=O==="y"?po:vo,U=O==="y"?"height":"width",oe=T[O],K=oe+j[_],Z=oe-j[J],E=w?-L[U]/2:0,q=z===Dl?M[U]:L[U],X=z===Dl?-L[U]:-M[U],$=t.elements.arrow,ee=w&&$?vg($):{width:0,height:0},se=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:u1(),ae=se[_],ye=se[J],le=au(0,M[U],ee[U]),we=C?M[U]/2-E-le-ae-H.mainAxis:q-le-ae-H.mainAxis,Ce=C?-M[U]/2+E+le+ye+H.mainAxis:X+le+ye+H.mainAxis,Le=t.elements.arrow&&Fu(t.elements.arrow),Pe=Le?O==="y"?Le.clientTop||0:Le.clientLeft||0:0,Ie=(W=N==null?void 0:N[O])!=null?W:0,be=oe+we-Ie-Pe,Ve=oe+Ce-Ie,Pt=au(w?op(K,be):K,oe,w?ua(Z,Ve):Z);T[O]=Pt,B[O]=Pt-oe}if(u){var Ne,gt=O==="x"?Or:Dr,ft=O==="x"?po:vo,V=T[D],te=D==="y"?"height":"width",ne=V+j[gt],He=V-j[ft],he=[Or,Dr].indexOf(S)!==-1,xe=(Ne=N==null?void 0:N[D])!=null?Ne:0,Be=he?ne:V-M[te]-L[te]-xe+H.altAxis,ot=he?V+M[te]+L[te]-xe-H.altAxis:He,Fe=w&&he?CS(Be,V,ot):au(w?Be:ne,V,w?ot:He);T[D]=Fe,B[D]=Fe-V}t.modifiersData[r]=B}}const sC={name:"preventOverflow",enabled:!0,phase:"main",fn:oC,requiresIfExists:["offset"]};function iC(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function aC(e){return e===Ur(e)||!fo(e)?mg(e):iC(e)}function lC(e){var t=e.getBoundingClientRect(),n=kl(t.width)/e.offsetWidth||1,r=kl(t.height)/e.offsetHeight||1;return n!==1||r!==1}function cC(e,t,n){n===void 0&&(n=!1);var r=fo(t),s=fo(t)&&lC(t),a=Si(t),l=Tl(e,s,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((us(t)!=="body"||gg(a))&&(u=aC(t)),fo(t)?(f=Tl(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=yg(a))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function uC(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function s(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var f=t.get(u);f&&s(f)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||s(a)}),r}function fC(e){var t=uC(e);return xS.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function dC(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function pC(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var U8={placement:"bottom",modifiers:[],strategy:"absolute"};function Q8(){for(var e=arguments.length,t=new Array(e),n=0;n{a||u(yC(s)||document.body)},[s,a]),Zr(()=>{if(l&&!a)return Jm(n,l),()=>{Jm(n,null)}},[n,l,a]),a){if(P.isValidElement(r)){const p={ref:f};return P.cloneElement(r,p)}return r}return l&&o1.createPortal(r,l)});function gC(e){return Qe("MuiPopper",e)}Ke("MuiPopper",["root"]);function AC(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function $m(e){return typeof e=="function"?e():e}function PC(e){return e.nodeType!==void 0}const bC=e=>{const{classes:t}=e;return _e({root:["root"]},gC,t)},xC={},wC=P.forwardRef(function(t,n){const{anchorEl:r,children:s,direction:a,disablePortal:l,modifiers:u,open:f,placement:p,popperOptions:h,popperRef:m,slotProps:g={},slots:w={},TransitionProps:A,ownerState:b,...j}=t,S=P.useRef(null),z=pn(S,n),C=P.useRef(null),O=pn(C,m),D=P.useRef(O);Zr(()=>{D.current=O},[O]),P.useImperativeHandle(m,()=>C.current,[]);const T=AC(p,a),[M,L]=P.useState(T),[R,H]=P.useState($m(r));P.useEffect(()=>{C.current&&C.current.forceUpdate()}),P.useEffect(()=>{r&&H($m(r))},[r]),Zr(()=>{if(!R||!f)return;const J=K=>{L(K.placement)};let U=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:K})=>{J(K)}}];u!=null&&(U=U.concat(u)),h&&h.modifiers!=null&&(U=U.concat(h.modifiers));const oe=mC(R,S.current,{placement:T,...h,modifiers:U});return D.current(oe),()=>{oe.destroy(),D.current(null)}},[R,l,u,f,h,T]);const N={placement:M};A!==null&&(N.TransitionProps=A);const B=bC(t),W=w.root??"div",_=J0({elementType:W,externalSlotProps:g.root,externalForwardedProps:j,additionalProps:{role:"tooltip",ref:z},ownerState:t,className:B.root});return v.jsx(W,{..._,children:typeof s=="function"?s(N):s})}),HC=P.forwardRef(function(t,n){const{anchorEl:r,children:s,container:a,direction:l="ltr",disablePortal:u=!1,keepMounted:f=!1,modifiers:p,open:h,placement:m="bottom",popperOptions:g=xC,popperRef:w,style:A,transition:b=!1,slotProps:j={},slots:S={},...z}=t,[C,O]=P.useState(!0),D=()=>{O(!1)},T=()=>{O(!0)};if(!f&&!h&&(!b||C))return null;let M;if(a)M=a;else if(r){const H=$m(r);M=H&&PC(H)?lr(H).body:lr(null).body}const L=!h&&f&&(!b||C)?"none":void 0,R=b?{in:h,onEnter:D,onExited:T}:void 0;return v.jsx(h1,{disablePortal:u,container:M,children:v.jsx(wC,{anchorEl:r,direction:l,disablePortal:u,modifiers:p,ref:n,open:b?!C:h,placement:m,popperOptions:g,popperRef:w,slotProps:j,slots:S,...z,style:{position:"fixed",top:0,left:0,display:L,...A},TransitionProps:R,children:s})})}),jC=pe(HC,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Xp=P.forwardRef(function(t,n){const r=Iu(),s=rt({props:t,name:"MuiPopper"}),{anchorEl:a,component:l,components:u,componentsProps:f,container:p,disablePortal:h,keepMounted:m,modifiers:g,open:w,placement:A,popperOptions:b,popperRef:j,transition:S,slots:z,slotProps:C,...O}=s,D=(z==null?void 0:z.root)??(u==null?void 0:u.Root),T={anchorEl:a,container:p,disablePortal:h,keepMounted:m,modifiers:g,open:w,placement:A,popperOptions:b,popperRef:j,transition:S,...O};return v.jsx(jC,{as:l,direction:r?"rtl":"ltr",slots:{root:D},slotProps:C??f,...T,ref:n})});function zC(e){return Qe("MuiListSubheader",e)}Ke("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const SC=e=>{const{classes:t,color:n,disableGutters:r,inset:s,disableSticky:a}=e,l={root:["root",n!=="default"&&`color${me(n)}`,!r&&"gutters",s&&"inset",!a&&"sticky"]};return _e(l,zC,t)},CC=pe("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${me(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(nt(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),ey=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiListSubheader"}),{className:s,color:a="default",component:l="li",disableGutters:u=!1,disableSticky:f=!1,inset:p=!1,...h}=r,m={...r,color:a,component:l,disableGutters:u,disableSticky:f,inset:p},g=SC(m);return v.jsx(CC,{as:l,className:Oe(g.root,s),ref:n,ownerState:m,...h})});ey&&(ey.muiSkipListHighlight=!0);const OC=bt(v.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function DC(e){return Qe("MuiChip",e)}const Lt=Ke("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),kC=e=>{const{classes:t,disabled:n,size:r,color:s,iconColor:a,onDelete:l,clickable:u,variant:f}=e,p={root:["root",f,n&&"disabled",`size${me(r)}`,`color${me(s)}`,u&&"clickable",u&&`clickableColor${me(s)}`,l&&"deletable",l&&`deletableColor${me(s)}`,`${f}${me(s)}`],label:["label",`label${me(r)}`],avatar:["avatar",`avatar${me(r)}`,`avatarColor${me(s)}`],icon:["icon",`icon${me(r)}`,`iconColor${me(a)}`],deleteIcon:["deleteIcon",`deleteIcon${me(r)}`,`deleteIconColor${me(s)}`,`deleteIcon${me(f)}Color${me(s)}`]};return _e(p,DC,t)},TC=pe("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:s,clickable:a,onDelete:l,size:u,variant:f}=n;return[{[`& .${Lt.avatar}`]:t.avatar},{[`& .${Lt.avatar}`]:t[`avatar${me(u)}`]},{[`& .${Lt.avatar}`]:t[`avatarColor${me(r)}`]},{[`& .${Lt.icon}`]:t.icon},{[`& .${Lt.icon}`]:t[`icon${me(u)}`]},{[`& .${Lt.icon}`]:t[`iconColor${me(s)}`]},{[`& .${Lt.deleteIcon}`]:t.deleteIcon},{[`& .${Lt.deleteIcon}`]:t[`deleteIcon${me(u)}`]},{[`& .${Lt.deleteIcon}`]:t[`deleteIconColor${me(r)}`]},{[`& .${Lt.deleteIcon}`]:t[`deleteIcon${me(f)}Color${me(r)}`]},t.root,t[`size${me(u)}`],t[`color${me(r)}`],a&&t.clickable,a&&r!=="default"&&t[`clickableColor${me(r)})`],l&&t.deletable,l&&r!=="default"&&t[`deletableColor${me(r)}`],t[f],t[`${f}${me(r)}`]]}})(nt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Lt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Lt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Lt.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Lt.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Lt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Lt.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Lt.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:xt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:xt(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Lt.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Lt.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(gn(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Lt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:xt(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Lt.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Lt.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Lt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(gn(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Lt.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Lt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(gn(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Lt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Lt.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Lt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Lt.avatar}`]:{marginLeft:4},[`& .${Lt.avatarSmall}`]:{marginLeft:2},[`& .${Lt.icon}`]:{marginLeft:4},[`& .${Lt.iconSmall}`]:{marginLeft:2},[`& .${Lt.deleteIcon}`]:{marginRight:5},[`& .${Lt.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(gn()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:xt(e.palette[n].main,.7)}`,[`&.${Lt.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${Lt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:xt(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${Lt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:xt(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),EC=pe("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${me(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function K8(e){return e.key==="Backspace"||e.key==="Delete"}const Yu=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiChip"}),{avatar:s,className:a,clickable:l,color:u="default",component:f,deleteIcon:p,disabled:h=!1,icon:m,label:g,onClick:w,onDelete:A,onKeyDown:b,onKeyUp:j,size:S="medium",variant:z="filled",tabIndex:C,skipFocusWhenDisabled:O=!1,...D}=r,T=P.useRef(null),M=pn(T,n),L=Z=>{Z.stopPropagation(),A&&A(Z)},R=Z=>{Z.currentTarget===Z.target&&K8(Z)&&Z.preventDefault(),b&&b(Z)},H=Z=>{Z.currentTarget===Z.target&&A&&K8(Z)&&A(Z),j&&j(Z)},N=l!==!1&&w?!0:l,B=N||A?ha:f||"div",W={...r,component:B,disabled:h,size:S,color:u,iconColor:P.isValidElement(m)&&m.props.color||u,onDelete:!!A,clickable:N,variant:z},_=kC(W),J=B===ha?{component:f||"div",focusVisibleClassName:_.focusVisible,...A&&{disableRipple:!0}}:{};let U=null;A&&(U=p&&P.isValidElement(p)?P.cloneElement(p,{className:Oe(p.props.className,_.deleteIcon),onClick:L}):v.jsx(OC,{className:Oe(_.deleteIcon),onClick:L}));let oe=null;s&&P.isValidElement(s)&&(oe=P.cloneElement(s,{className:Oe(_.avatar,s.props.className)}));let K=null;return m&&P.isValidElement(m)&&(K=P.cloneElement(m,{className:Oe(_.icon,m.props.className)})),v.jsxs(TC,{as:B,className:Oe(_.root,a),disabled:N&&h?!0:void 0,onClick:w,onKeyDown:R,onKeyUp:H,ref:M,tabIndex:O&&h?-1:C,ownerState:W,...J,...D,children:[oe||K,v.jsx(EC,{className:Oe(_.label),ownerState:W,children:g}),U]})});function md(e){return parseInt(e,10)||0}const RC={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function MC(e){for(const t in e)return!1;return!0}function _8(e){return MC(e)||e.outerHeightStyle===0&&!e.overflowing}const LC=P.forwardRef(function(t,n){const{onChange:r,maxRows:s,minRows:a=1,style:l,value:u,...f}=t,{current:p}=P.useRef(u!=null),h=P.useRef(null),m=pn(n,h),g=P.useRef(null),w=P.useRef(null),A=P.useCallback(()=>{const C=h.current,O=w.current;if(!C||!O)return;const T=Lo(C).getComputedStyle(C);if(T.width==="0px")return{outerHeightStyle:0,overflowing:!1};O.style.width=T.width,O.value=C.value||t.placeholder||"x",O.value.slice(-1)===` +`&&(O.value+=" ");const M=T.boxSizing,L=md(T.paddingBottom)+md(T.paddingTop),R=md(T.borderBottomWidth)+md(T.borderTopWidth),H=O.scrollHeight;O.value="x";const N=O.scrollHeight;let B=H;a&&(B=Math.max(Number(a)*N,B)),s&&(B=Math.min(Number(s)*N,B)),B=Math.max(B,N);const W=B+(M==="border-box"?L+R:0),_=Math.abs(B-H)<=1;return{outerHeightStyle:W,overflowing:_}},[s,a,t.placeholder]),b=ar(()=>{const C=h.current,O=A();if(!C||!O||_8(O))return!1;const D=O.outerHeightStyle;return g.current!=null&&g.current!==D}),j=P.useCallback(()=>{const C=h.current,O=A();if(!C||!O||_8(O))return;const D=O.outerHeightStyle;g.current!==D&&(g.current=D,C.style.height=`${D}px`),C.style.overflow=O.overflowing?"hidden":""},[A]),S=P.useRef(-1);Zr(()=>{const C=eg(j),O=h==null?void 0:h.current;if(!O)return;const D=Lo(O);D.addEventListener("resize",C);let T;return typeof ResizeObserver<"u"&&(T=new ResizeObserver(()=>{b()&&(T.unobserve(O),cancelAnimationFrame(S.current),j(),S.current=requestAnimationFrame(()=>{T.observe(O)}))}),T.observe(O)),()=>{C.clear(),cancelAnimationFrame(S.current),D.removeEventListener("resize",C),T&&T.disconnect()}},[A,j,b]),Zr(()=>{j()});const z=C=>{p||j(),r&&r(C)};return v.jsxs(P.Fragment,{children:[v.jsx("textarea",{value:u,onChange:z,ref:m,rows:a,style:l,...f}),v.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:w,tabIndex:-1,style:{...RC.shadow,...l,paddingTop:0,paddingBottom:0}})]})});function bu(e){return typeof e=="string"}function Ci({props:e,states:t,muiFormControl:n}){return t.reduce((r,s)=>(r[s]=e[s],n&&typeof e[s]>"u"&&(r[s]=n[s]),r),{})}const Np=P.createContext(void 0);function Io(){return P.useContext(Np)}function $8(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function sp(e,t=!1){return e&&($8(e.value)&&e.value!==""||t&&$8(e.defaultValue)&&e.defaultValue!=="")}function XC(e){return e.startAdornment}function NC(e){return Qe("MuiInputBase",e)}const Wr=Ke("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var ex;const Bp=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${me(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Vp=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},BC=e=>{const{classes:t,color:n,disabled:r,error:s,endAdornment:a,focused:l,formControl:u,fullWidth:f,hiddenLabel:p,multiline:h,readOnly:m,size:g,startAdornment:w,type:A}=e,b={root:["root",`color${me(n)}`,r&&"disabled",s&&"error",f&&"fullWidth",l&&"focused",u&&"formControl",g&&g!=="medium"&&`size${me(g)}`,h&&"multiline",w&&"adornedStart",a&&"adornedEnd",p&&"hiddenLabel",m&&"readOnly"],input:["input",r&&"disabled",A==="search"&&"inputTypeSearch",h&&"inputMultiline",g==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",w&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return _e(b,NC,t)},Ip=pe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Bp})(nt(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Wr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Wp=pe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Vp})(nt(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},s=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Wr.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${Wr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),tx=sg({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Jp=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:a,autoFocus:l,className:u,color:f,components:p={},componentsProps:h={},defaultValue:m,disabled:g,disableInjectingGlobalStyles:w,endAdornment:A,error:b,fullWidth:j=!1,id:S,inputComponent:z="input",inputProps:C={},inputRef:O,margin:D,maxRows:T,minRows:M,multiline:L=!1,name:R,onBlur:H,onChange:N,onClick:B,onFocus:W,onKeyDown:_,onKeyUp:J,placeholder:U,readOnly:oe,renderSuffix:K,rows:Z,size:E,slotProps:q={},slots:X={},startAdornment:$,type:ee="text",value:se,...ae}=r,ye=C.value!=null?C.value:se,{current:le}=P.useRef(ye!=null),we=P.useRef(),Ce=P.useCallback(We=>{},[]),Le=pn(we,O,C.ref,Ce),[Pe,Ie]=P.useState(!1),be=Io(),Ve=Ci({props:r,muiFormControl:be,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Ve.focused=be?be.focused:Pe,P.useEffect(()=>{!be&&g&&Pe&&(Ie(!1),H&&H())},[be,g,Pe,H]);const Pt=be&&be.onFilled,Ne=be&&be.onEmpty,gt=P.useCallback(We=>{sp(We)?Pt&&Pt():Ne&&Ne()},[Pt,Ne]);Zr(()=>{le&>({value:ye})},[ye,gt,le]);const ft=We=>{W&&W(We),C.onFocus&&C.onFocus(We),be&&be.onFocus?be.onFocus(We):Ie(!0)},V=We=>{H&&H(We),C.onBlur&&C.onBlur(We),be&&be.onBlur?be.onBlur(We):Ie(!1)},te=(We,...Ot)=>{if(!le){const zt=We.target||we.current;if(zt==null)throw new Error(Rs(1));gt({value:zt.value})}C.onChange&&C.onChange(We,...Ot),N&&N(We,...Ot)};P.useEffect(()=>{gt(we.current)},[]);const ne=We=>{we.current&&We.currentTarget===We.target&&we.current.focus(),B&&B(We)};let He=z,he=C;L&&He==="input"&&(Z?he={type:void 0,minRows:Z,maxRows:Z,...he}:he={type:void 0,maxRows:T,minRows:M,...he},He=LC);const xe=We=>{gt(We.animationName==="mui-auto-fill-cancel"?we.current:{value:"x"})};P.useEffect(()=>{be&&be.setAdornedStart(!!$)},[be,$]);const Be={...r,color:Ve.color||"primary",disabled:Ve.disabled,endAdornment:A,error:Ve.error,focused:Ve.focused,formControl:be,fullWidth:j,hiddenLabel:Ve.hiddenLabel,multiline:L,size:Ve.size,startAdornment:$,type:ee},ot=BC(Be),Fe=X.root||p.Root||Ip,ct=q.root||h.root||{},et=X.input||p.Input||Wp;return he={...he,...q.input??h.input},v.jsxs(P.Fragment,{children:[!w&&typeof tx=="function"&&(ex||(ex=v.jsx(tx,{}))),v.jsxs(Fe,{...ct,ref:n,onClick:ne,...ae,...!bu(Fe)&&{ownerState:{...Be,...ct.ownerState}},className:Oe(ot.root,ct.className,u,oe&&"MuiInputBase-readOnly"),children:[$,v.jsx(Np.Provider,{value:null,children:v.jsx(et,{"aria-invalid":Ve.error,"aria-describedby":s,autoComplete:a,autoFocus:l,defaultValue:m,disabled:Ve.disabled,id:S,onAnimationStart:xe,name:R,placeholder:U,readOnly:oe,required:Ve.required,rows:Z,value:ye,onKeyDown:_,onKeyUp:J,type:ee,...he,...!bu(et)&&{as:He,ownerState:{...Be,...he.ownerState}},ref:Le,className:Oe(ot.input,he.className,oe&&"MuiInputBase-readOnly"),onBlur:V,onChange:te,onFocus:ft})}),A,K?K({...Ve,startAdornment:$}):null]})]})});function VC(e){return Qe("MuiInput",e)}const ci={...Wr,...Ke("MuiInput",["root","underline","input"])};function IC(e){return Qe("MuiOutlinedInput",e)}const so={...Wr,...Ke("MuiOutlinedInput",["root","notchedOutline","input"])};function WC(e){return Qe("MuiFilledInput",e)}const Jr={...Wr,...Ke("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},m1=bt(v.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function JC(e){return Qe("MuiAutocomplete",e)}const kt=Ke("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var nx,rx;const FC=e=>{const{classes:t,disablePortal:n,expanded:r,focused:s,fullWidth:a,hasClearIcon:l,hasPopupIcon:u,inputFocused:f,popupOpen:p,size:h}=e,m={root:["root",r&&"expanded",s&&"focused",a&&"fullWidth",l&&"hasClearIcon",u&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",f&&"inputFocused"],tag:["tag",`tagSize${me(h)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",p&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return _e(m,JC,t)},YC=pe("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:s,hasPopupIcon:a,inputFocused:l,size:u}=n;return[{[`& .${kt.tag}`]:t.tag},{[`& .${kt.tag}`]:t[`tagSize${me(u)}`]},{[`& .${kt.inputRoot}`]:t.inputRoot},{[`& .${kt.input}`]:t.input},{[`& .${kt.input}`]:l&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,s&&t.hasClearIcon]}})({[`&.${kt.focused} .${kt.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${kt.clearIndicator}`]:{visibility:"visible"}},[`& .${kt.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${kt.inputRoot}`]:{[`.${kt.hasPopupIcon}&, .${kt.hasClearIcon}&`]:{paddingRight:30},[`.${kt.hasPopupIcon}.${kt.hasClearIcon}&`]:{paddingRight:56},[`& .${kt.input}`]:{width:0,minWidth:30}},[`& .${ci.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${ci.root}.${Wr.sizeSmall}`]:{[`& .${ci.input}`]:{padding:"2px 4px 3px 0"}},[`& .${so.root}`]:{padding:9,[`.${kt.hasPopupIcon}&, .${kt.hasClearIcon}&`]:{paddingRight:39},[`.${kt.hasPopupIcon}.${kt.hasClearIcon}&`]:{paddingRight:65},[`& .${kt.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${kt.endAdornment}`]:{right:9}},[`& .${so.root}.${Wr.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${kt.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Jr.root}`]:{paddingTop:19,paddingLeft:8,[`.${kt.hasPopupIcon}&, .${kt.hasClearIcon}&`]:{paddingRight:39},[`.${kt.hasPopupIcon}.${kt.hasClearIcon}&`]:{paddingRight:65},[`& .${Jr.input}`]:{padding:"7px 4px"},[`& .${kt.endAdornment}`]:{right:9}},[`& .${Jr.root}.${Wr.sizeSmall}`]:{paddingBottom:1,[`& .${Jr.input}`]:{padding:"2.5px 4px"}},[`& .${Wr.hiddenLabel}`]:{paddingTop:8},[`& .${Jr.root}.${Wr.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${kt.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Jr.root}.${Wr.hiddenLabel}.${Wr.sizeSmall}`]:{[`& .${kt.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${kt.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${kt.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${kt.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${kt.inputRoot}`]:{flexWrap:"wrap"}}}]}),qC=pe("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),ZC=pe(Cr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),GC=pe(Cr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),UC=pe(Xp,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${kt.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(nt(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),QC=pe(Gr,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(nt(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),KC=pe("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(nt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),_C=pe("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(nt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),$C=pe("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(nt(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${kt.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${kt.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${kt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${kt.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${kt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),eO=pe(ey,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(nt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),tO=pe("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${kt.option}`]:{paddingLeft:24}}),nO=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:u=!1,ChipProps:f,className:p,clearIcon:h=nx||(nx=v.jsx(s1,{fontSize:"small"})),clearOnBlur:m=!r.freeSolo,clearOnEscape:g=!1,clearText:w="Clear",closeText:A="Close",componentsProps:b,defaultValue:j=r.multiple?[]:null,disableClearable:S=!1,disableCloseOnSelect:z=!1,disabled:C=!1,disabledItemsFocusable:O=!1,disableListWrap:D=!1,disablePortal:T=!1,filterOptions:M,filterSelectedOptions:L=!1,forcePopupIcon:R="auto",freeSolo:H=!1,fullWidth:N=!1,getLimitTagsText:B=Nt=>`+${Nt}`,getOptionDisabled:W,getOptionKey:_,getOptionLabel:J,isOptionEqualToValue:U,groupBy:oe,handleHomeEndKeys:K=!r.freeSolo,id:Z,includeInputInList:E=!1,inputValue:q,limitTags:X=-1,ListboxComponent:$,ListboxProps:ee,loading:se=!1,loadingText:ae="Loading…",multiple:ye=!1,noOptionsText:le="No options",onChange:we,onClose:Ce,onHighlightChange:Le,onInputChange:Pe,onOpen:Ie,open:be,openOnFocus:Ve=!1,openText:Pt="Open",options:Ne,PaperComponent:gt,PopperComponent:ft,popupIcon:V=rx||(rx=v.jsx(m1,{})),readOnly:te=!1,renderGroup:ne,renderInput:He,renderOption:he,renderTags:xe,selectOnFocus:Be=!r.freeSolo,size:ot="medium",slots:Fe={},slotProps:ct={},value:et,...We}=r,{getRootProps:Ot,getInputProps:zt,getInputLabelProps:qt,getPopupIndicatorProps:Y,getClearProps:F,getTagProps:ge,getListboxProps:je,getOptionProps:Ee,value:Xe,dirty:Ge,expanded:ke,id:it,popupOpen:vt,focused:Xt,focusedTag:Qt,anchorEl:Ye,setAnchorEl:Rt,inputValue:vn,groupedOptions:Pn}=uS({...r,componentName:"Autocomplete"}),Un=!S&&!C&&Ge&&!te,bn=(!H||R===!0)&&R!==!1,{onMouseDown:Lr}=zt(),{ref:mo,...Fo}=je(),yo=J||(Nt=>Nt.label??Nt),xn={...r,disablePortal:T,expanded:ke,focused:Xt,fullWidth:N,getOptionLabel:yo,hasClearIcon:Un,hasPopupIcon:bn,inputFocused:Qt===-1,popupOpen:vt,size:ot},hn=FC(xn),Te={slots:{paper:gt,popper:ft,...Fe},slotProps:{chip:f,listbox:ee,...b,...ct}},[Ue,ue]=pt("listbox",{elementType:$C,externalForwardedProps:Te,ownerState:xn,className:hn.listbox,additionalProps:Fo,ref:mo}),[fe,Re]=pt("paper",{elementType:Gr,externalForwardedProps:Te,ownerState:xn,className:hn.paper}),[st,Ht]=pt("popper",{elementType:Xp,externalForwardedProps:Te,ownerState:xn,className:hn.popper,additionalProps:{disablePortal:T,style:{width:Ye?Ye.clientWidth:null},role:"presentation",anchorEl:Ye,open:vt}});let It;if(ye&&Xe.length>0){const Nt=Kr=>({className:hn.tag,disabled:C,...ge(Kr)});xe?It=xe(Xe,Nt,xn):It=Xe.map((Kr,go)=>{const{key:qo,..._r}=Nt({index:go});return v.jsx(Yu,{label:yo(Kr),size:ot,..._r,...Te.slotProps.chip},qo)})}if(X>-1&&Array.isArray(It)){const Nt=It.length-X;!Xt&&Nt>0&&(It=It.splice(0,X),It.push(v.jsx("span",{className:hn.tag,children:B(Nt)},It.length)))}const Nn=ne||(Nt=>v.jsxs("li",{children:[v.jsx(eO,{className:hn.groupLabel,ownerState:xn,component:"div",children:Nt.group}),v.jsx(tO,{className:hn.groupUl,ownerState:xn,children:Nt.children})]},Nt.key)),nn=he||((Nt,Kr)=>{const{key:go,...qo}=Nt;return v.jsx("li",{...qo,children:yo(Kr)},go)}),Di=(Nt,Kr)=>{const go=Ee({option:Nt,index:Kr});return nn({...go,className:hn.option},Nt,{selected:go["aria-selected"],index:Kr,inputValue:vn},xn)},Vs=Te.slotProps.clearIndicator,ki=Te.slotProps.popupIndicator;return v.jsxs(P.Fragment,{children:[v.jsx(YC,{ref:n,className:Oe(hn.root,p),ownerState:xn,...Ot(We),children:He({id:it,disabled:C,fullWidth:!0,size:ot==="small"?"small":void 0,InputLabelProps:qt(),InputProps:{ref:Rt,className:hn.inputRoot,startAdornment:It,onMouseDown:Nt=>{Nt.target===Nt.currentTarget&&Lr(Nt)},...(Un||bn)&&{endAdornment:v.jsxs(qC,{className:hn.endAdornment,ownerState:xn,children:[Un?v.jsx(ZC,{...F(),"aria-label":w,title:w,ownerState:xn,...Vs,className:Oe(hn.clearIndicator,Vs==null?void 0:Vs.className),children:h}):null,bn?v.jsx(GC,{...Y(),disabled:C,"aria-label":vt?A:Pt,title:vt?A:Pt,ownerState:xn,...ki,className:Oe(hn.popupIndicator,ki==null?void 0:ki.className),children:V}):null]})}},inputProps:{className:hn.input,disabled:C,readOnly:te,...zt()}})}),Ye?v.jsx(UC,{as:st,...Ht,children:v.jsxs(QC,{as:fe,...Re,children:[se&&Pn.length===0?v.jsx(KC,{className:hn.loading,ownerState:xn,children:ae}):null,Pn.length===0&&!H&&!se?v.jsx(_C,{className:hn.noOptions,ownerState:xn,role:"presentation",onMouseDown:Nt=>{Nt.preventDefault()},children:le}):null,Pn.length>0?v.jsx(Ue,{as:$,...ue,children:Pn.map((Nt,Kr)=>oe?Nn({key:Nt.key,group:Nt.group,children:Nt.options.map((go,qo)=>Di(go,Nt.index+qo))}):Di(Nt,Kr))}):null]})}):null]})}),rO={entering:{opacity:1},entered:{opacity:1}},ty=P.forwardRef(function(t,n){const r=Qr(),s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:l=!0,children:u,easing:f,in:p,onEnter:h,onEntered:m,onEntering:g,onExit:w,onExited:A,onExiting:b,style:j,timeout:S=s,TransitionComponent:z=Vo,...C}=t,O=P.useRef(null),D=pn(O,zi(u),n),T=_=>J=>{if(_){const U=O.current;J===void 0?_(U):_(U,J)}},M=T(g),L=T((_,J)=>{ug(_);const U=Ol({style:j,timeout:S,easing:f},{mode:"enter"});_.style.webkitTransition=r.transitions.create("opacity",U),_.style.transition=r.transitions.create("opacity",U),h&&h(_,J)}),R=T(m),H=T(b),N=T(_=>{const J=Ol({style:j,timeout:S,easing:f},{mode:"exit"});_.style.webkitTransition=r.transitions.create("opacity",J),_.style.transition=r.transitions.create("opacity",J),w&&w(_)}),B=T(A),W=_=>{a&&a(O.current,_)};return v.jsx(z,{appear:l,in:p,nodeRef:O,onEnter:L,onEntered:R,onEntering:M,onExit:N,onExited:B,onExiting:H,addEndListener:W,timeout:S,...C,children:(_,{ownerState:J,...U})=>P.cloneElement(u,{style:{opacity:0,visibility:_==="exited"&&!p?"hidden":void 0,...rO[_],...j,...u.props.style},ref:D,...U})})});function oO(e){return Qe("MuiBackdrop",e)}Ke("MuiBackdrop",["root","invisible"]);const sO=e=>{const{classes:t,invisible:n}=e;return _e({root:["root",n&&"invisible"]},oO,t)},iO=pe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),y1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",invisible:u=!1,open:f,components:p={},componentsProps:h={},slotProps:m={},slots:g={},TransitionComponent:w,transitionDuration:A,...b}=r,j={...r,component:l,invisible:u},S=sO(j),z={transition:w,root:p.Root,...g},C={...h,...m},O={slots:z,slotProps:C},[D,T]=pt("root",{elementType:iO,externalForwardedProps:O,className:Oe(S.root,a),ownerState:j}),[M,L]=pt("transition",{elementType:ty,externalForwardedProps:O,ownerState:j});return v.jsx(M,{in:f,timeout:A,...b,...L,children:v.jsx(D,{"aria-hidden":!0,...T,classes:S,ref:n,children:s})})}),aO=Ke("MuiBox",["root"]),lO=Wu(),At=yH({themeId:uo,defaultTheme:lO,defaultClassName:aO.root,generateClassName:S0.generate});function cO(e){return Qe("MuiButton",e)}const Fi=Ke("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),g1=P.createContext({}),uO=P.createContext(void 0),fO=e=>{const{color:t,disableElevation:n,fullWidth:r,size:s,variant:a,loading:l,loadingPosition:u,classes:f}=e,p={root:["root",l&&"loading",a,`${a}${me(t)}`,`size${me(s)}`,`${a}Size${me(s)}`,`color${me(t)}`,n&&"disableElevation",r&&"fullWidth",l&&`loadingPosition${me(u)}`],startIcon:["icon","startIcon",`iconSize${me(s)}`],endIcon:["icon","endIcon",`iconSize${me(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},h=_e(p,cO,f);return{...f,...h}},A1=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],dO=pe(ha,{shouldForwardProp:e=>Gn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${me(n.color)}`],t[`size${me(n.size)}`],t[`${n.variant}Size${me(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(nt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Fi.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Fi.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Fi.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Fi.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(gn()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.5)`:xt(e.palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[r].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[r].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Fi.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Fi.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Fi.loading}`]:{color:"transparent"}}}]}})),pO=pe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${me(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...A1]})),vO=pe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${me(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...A1]})),hO=pe("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),ox=pe("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Bt=P.forwardRef(function(t,n){const r=P.useContext(g1),s=P.useContext(uO),a=Sl(r,t),l=rt({props:a,name:"MuiButton"}),{children:u,color:f="primary",component:p="button",className:h,disabled:m=!1,disableElevation:g=!1,disableFocusRipple:w=!1,endIcon:A,focusVisibleClassName:b,fullWidth:j=!1,id:S,loading:z=null,loadingIndicator:C,loadingPosition:O="center",size:D="medium",startIcon:T,type:M,variant:L="text",...R}=l,H=Xo(S),N=C??v.jsx(Nl,{"aria-labelledby":H,color:"inherit",size:16}),B={...l,color:f,component:p,disabled:m,disableElevation:g,disableFocusRipple:w,fullWidth:j,loading:z,loadingIndicator:N,loadingPosition:O,size:D,type:M,variant:L},W=fO(B),_=(T||z&&O==="start")&&v.jsx(pO,{className:W.startIcon,ownerState:B,children:T||v.jsx(ox,{className:W.loadingIconPlaceholder,ownerState:B})}),J=(A||z&&O==="end")&&v.jsx(vO,{className:W.endIcon,ownerState:B,children:A||v.jsx(ox,{className:W.loadingIconPlaceholder,ownerState:B})}),U=s||"",oe=typeof z=="boolean"?v.jsx("span",{className:W.loadingWrapper,style:{display:"contents"},children:z&&v.jsx(hO,{className:W.loadingIndicator,ownerState:B,children:N})}):null;return v.jsxs(dO,{ownerState:B,className:Oe(r.className,W.root,h,U),component:p,disabled:m||z,focusRipple:!w,focusVisibleClassName:Oe(W.focusVisible,b),ref:n,type:M,id:z?H:S,...R,classes:W,children:[_,O!=="end"&&oe,u,O==="end"&&oe,J]})});function mO(e){return Qe("MuiCard",e)}Ke("MuiCard",["root"]);const yO=e=>{const{classes:t}=e;return _e({root:["root"]},mO,t)},gO=pe(Gr,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),P1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCard"}),{className:s,raised:a=!1,...l}=r,u={...r,raised:a},f=yO(u);return v.jsx(gO,{className:Oe(f.root,s),elevation:a?8:void 0,ref:n,ownerState:u,...l})});function AO(e){return Qe("MuiCardContent",e)}Ke("MuiCardContent",["root"]);const PO=e=>{const{classes:t}=e;return _e({root:["root"]},AO,t)},bO=pe("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),ny=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCardContent"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=PO(u);return v.jsx(bO,{as:a,className:Oe(f.root,s),ownerState:u,ref:n,...l})});function xO(e){return Qe("MuiCardMedia",e)}Ke("MuiCardMedia",["root","media","img"]);const wO=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return _e({root:["root",n&&"media",r&&"img"]},xO,t)},HO=pe("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:s}=n;return[t.root,r&&t.media,s&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),jO=["video","audio","picture","iframe","img"],zO=["picture","img"],SO=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCardMedia"}),{children:s,className:a,component:l="div",image:u,src:f,style:p,...h}=r,m=jO.includes(l),g=!m&&u?{backgroundImage:`url("${u}")`,...p}:p,w={...r,component:l,isMediaComponent:m,isImageComponent:zO.includes(l)},A=wO(w);return v.jsx(HO,{className:Oe(A.root,a),as:l,role:!m&&u?"img":void 0,ref:n,style:g,ownerState:w,src:m?u||f:void 0,...h,children:s})});function CO(e){return Qe("PrivateSwitchBase",e)}Ke("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const OO=e=>{const{classes:t,checked:n,disabled:r,edge:s}=e,a={root:["root",n&&"checked",r&&"disabled",s&&`edge${me(s)}`],input:["input"]};return _e(a,CO,t)},DO=pe(ha)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),kO=pe("input",{shouldForwardProp:Gn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ag=P.forwardRef(function(t,n){const{autoFocus:r,checked:s,checkedIcon:a,defaultChecked:l,disabled:u,disableFocusRipple:f=!1,edge:p=!1,icon:h,id:m,inputProps:g,inputRef:w,name:A,onBlur:b,onChange:j,onFocus:S,readOnly:z,required:C=!1,tabIndex:O,type:D,value:T,slots:M={},slotProps:L={},...R}=t,[H,N]=xi({controlled:s,default:!!l,name:"SwitchBase",state:"checked"}),B=Io(),W=se=>{S&&S(se),B&&B.onFocus&&B.onFocus(se)},_=se=>{b&&b(se),B&&B.onBlur&&B.onBlur(se)},J=se=>{if(se.nativeEvent.defaultPrevented)return;const ae=se.target.checked;N(ae),j&&j(se,ae)};let U=u;B&&typeof U>"u"&&(U=B.disabled);const oe=D==="checkbox"||D==="radio",K={...t,checked:H,disabled:U,disableFocusRipple:f,edge:p},Z=OO(K),E={slots:M,slotProps:{input:g,...L}},[q,X]=pt("root",{ref:n,elementType:DO,className:Z.root,shouldForwardComponentProp:!0,externalForwardedProps:{...E,component:"span",...R},getSlotProps:se=>({...se,onFocus:ae=>{var ye;(ye=se.onFocus)==null||ye.call(se,ae),W(ae)},onBlur:ae=>{var ye;(ye=se.onBlur)==null||ye.call(se,ae),_(ae)}}),ownerState:K,additionalProps:{centerRipple:!0,focusRipple:!f,disabled:U,role:void 0,tabIndex:null}}),[$,ee]=pt("input",{ref:w,elementType:kO,className:Z.input,externalForwardedProps:E,getSlotProps:se=>({onChange:ae=>{var ye;(ye=se.onChange)==null||ye.call(se,ae),J(ae)}}),ownerState:K,additionalProps:{autoFocus:r,checked:s,defaultChecked:l,disabled:U,id:oe?m:void 0,name:A,readOnly:z,required:C,tabIndex:O,type:D,...D==="checkbox"&&T===void 0?{}:{value:T}}});return v.jsxs(q,{...X,children:[v.jsx($,{...ee}),H?a:h]})}),TO=bt(v.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),EO=bt(v.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),RO=bt(v.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function MO(e){return Qe("MuiCheckbox",e)}const vm=Ke("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),LO=e=>{const{classes:t,indeterminate:n,color:r,size:s}=e,a={root:["root",n&&"indeterminate",`color${me(r)}`,`size${me(s)}`]},l=_e(a,MO,t);return{...t,...l}},XO=pe(Ag,{shouldForwardProp:e=>Gn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${me(n.size)}`],n.color!=="default"&&t[`color${me(n.color)}`]]}})(nt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{[`&.${vm.checked}, &.${vm.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${vm.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),NO=v.jsx(EO,{}),BO=v.jsx(TO,{}),VO=v.jsx(RO,{}),sx=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCheckbox"}),{checkedIcon:s=NO,color:a="primary",icon:l=BO,indeterminate:u=!1,indeterminateIcon:f=VO,inputProps:p,size:h="medium",disableRipple:m=!1,className:g,slots:w={},slotProps:A={},...b}=r,j=u?f:l,S=u?f:s,z={...r,disableRipple:m,color:a,indeterminate:u,size:h},C=LO(z),O=A.input??p,[D,T]=pt("root",{ref:n,elementType:XO,className:Oe(C.root,g),shouldForwardComponentProp:!0,externalForwardedProps:{slots:w,slotProps:A,...b},ownerState:z,additionalProps:{type:"checkbox",icon:P.cloneElement(j,{fontSize:j.props.fontSize??h}),checkedIcon:P.cloneElement(S,{fontSize:S.props.fontSize??h}),disableRipple:m,slots:w,slotProps:{input:ig(typeof O=="function"?O(z):O,{"data-indeterminate":u})}}});return v.jsx(D,{...T,classes:C})});function ix(e){return e.substring(2).toLowerCase()}function IO(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const h=pn(zi(t),u),m=ar(A=>{const b=p.current;p.current=!1;const j=lr(u.current);if(!f.current||!u.current||"clientX"in A&&IO(A,j))return;if(l.current){l.current=!1;return}let S;A.composedPath?S=A.composedPath().includes(u.current):S=!j.documentElement.contains(A.target)||u.current.contains(A.target),!S&&(n||!b)&&s(A)}),g=A=>b=>{p.current=!0;const j=t.props[A];j&&j(b)},w={ref:h};return a!==!1&&(w[a]=g(a)),P.useEffect(()=>{if(a!==!1){const A=ix(a),b=lr(u.current),j=()=>{l.current=!0};return b.addEventListener(A,m),b.addEventListener("touchmove",j),()=>{b.removeEventListener(A,m),b.removeEventListener("touchmove",j)}}},[m,a]),r!==!1&&(w[r]=g(r)),P.useEffect(()=>{if(r!==!1){const A=ix(r),b=lr(u.current);return b.addEventListener(A,m),()=>{b.removeEventListener(A,m)}}},[m,r]),P.cloneElement(t,w)}const ry=typeof sg({})=="function",WO=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),JO=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}}),x1=(e,t=!1)=>{var a,l;const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([u,f])=>{var h,m;const p=e.getColorSchemeSelector(u);p.startsWith("@")?n[p]={":root":{colorScheme:(h=f.palette)==null?void 0:h.mode}}:n[p.replace(/\s*&/,"")]={colorScheme:(m=f.palette)==null?void 0:m.mode}});let r={html:WO(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...JO(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const s=(l=(a=e.components)==null?void 0:a.MuiCssBaseline)==null?void 0:l.styleOverrides;return s&&(r=[r,s]),r},Nd="mui-ecs",FO=e=>{const t=x1(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Nd})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,s])=>{var l,u;const a=e.getColorSchemeSelector(r);a.startsWith("@")?n[a]={[`:root:not(:has(.${Nd}))`]:{colorScheme:(l=s.palette)==null?void 0:l.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Nd}))`]:{colorScheme:(u=s.palette)==null?void 0:u.mode}}}),t},YO=sg(ry?({theme:e,enableColorScheme:t})=>x1(e,t):({theme:e})=>FO(e));function qO(e){const t=rt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return v.jsxs(P.Fragment,{children:[ry&&v.jsx(YO,{enableColorScheme:r}),!ry&&!r&&v.jsx("span",{className:Nd,style:{display:"none"}}),n]})}function ZO(e){const t=lr(e);return t.body===e?Lo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function cu(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ax(e){return parseInt(Lo(e).getComputedStyle(e).paddingRight,10)||0}function GO(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function lx(e,t,n,r,s){const a=[t,n,...r];[].forEach.call(e.children,l=>{const u=!a.includes(l),f=!GO(l);u&&f&&cu(l,s)})}function hm(e,t){let n=-1;return e.some((r,s)=>t(r)?(n=s,!0):!1),n}function UO(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(ZO(r)){const l=B0(Lo(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${ax(r)+l}px`;const u=lr(r).querySelectorAll(".mui-fixed");[].forEach.call(u,f=>{n.push({value:f.style.paddingRight,property:"padding-right",el:f}),f.style.paddingRight=`${ax(f)+l}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=lr(r).body;else{const l=r.parentElement,u=Lo(r);a=(l==null?void 0:l.nodeName)==="HTML"&&u.getComputedStyle(l).overflowY==="scroll"?l:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:l,property:u})=>{a?l.style.setProperty(u,a):l.style.removeProperty(u)})}}function QO(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class KO{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&cu(t.modalRef,!1);const s=QO(n);lx(n,t.mount,t.modalRef,s,!0);const a=hm(this.containers,l=>l.container===n);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:s}),r)}mount(t,n){const r=hm(this.containers,a=>a.modals.includes(t)),s=this.containers[r];s.restore||(s.restore=UO(s,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const s=hm(this.containers,l=>l.modals.includes(t)),a=this.containers[s];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&cu(t.modalRef,n),lx(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(s,1);else{const l=a.modals[a.modals.length-1];l.modalRef&&cu(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const _O=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function $O(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function eD(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function tD(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||eD(e))}function nD(e){const t=[],n=[];return Array.from(e.querySelectorAll(_O)).forEach((r,s)=>{const a=$O(r);a===-1||!tD(r)||(a===0?t.push(r):n.push({documentOrder:s,tabIndex:a,node:r}))}),n.sort((r,s)=>r.tabIndex===s.tabIndex?r.documentOrder-s.documentOrder:r.tabIndex-s.tabIndex).map(r=>r.node).concat(t)}function rD(){return!0}function oD(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:s=!1,getTabbable:a=nD,isEnabled:l=rD,open:u}=e,f=P.useRef(!1),p=P.useRef(null),h=P.useRef(null),m=P.useRef(null),g=P.useRef(null),w=P.useRef(!1),A=P.useRef(null),b=pn(zi(t),A),j=P.useRef(null);P.useEffect(()=>{!u||!A.current||(w.current=!n)},[n,u]),P.useEffect(()=>{if(!u||!A.current)return;const C=lr(A.current);return A.current.contains(C.activeElement)||(A.current.hasAttribute("tabIndex")||A.current.setAttribute("tabIndex","-1"),w.current&&A.current.focus()),()=>{s||(m.current&&m.current.focus&&(f.current=!0,m.current.focus()),m.current=null)}},[u]),P.useEffect(()=>{if(!u||!A.current)return;const C=lr(A.current),O=M=>{j.current=M,!(r||!l()||M.key!=="Tab")&&C.activeElement===A.current&&M.shiftKey&&(f.current=!0,h.current&&h.current.focus())},D=()=>{var R,H;const M=A.current;if(M===null)return;if(!C.hasFocus()||!l()||f.current){f.current=!1;return}if(M.contains(C.activeElement)||r&&C.activeElement!==p.current&&C.activeElement!==h.current)return;if(C.activeElement!==g.current)g.current=null;else if(g.current!==null)return;if(!w.current)return;let L=[];if((C.activeElement===p.current||C.activeElement===h.current)&&(L=a(A.current)),L.length>0){const N=!!((R=j.current)!=null&&R.shiftKey&&((H=j.current)==null?void 0:H.key)==="Tab"),B=L[0],W=L[L.length-1];typeof B!="string"&&typeof W!="string"&&(N?W.focus():B.focus())}else M.focus()};C.addEventListener("focusin",D),C.addEventListener("keydown",O,!0);const T=setInterval(()=>{C.activeElement&&C.activeElement.tagName==="BODY"&&D()},50);return()=>{clearInterval(T),C.removeEventListener("focusin",D),C.removeEventListener("keydown",O,!0)}},[n,r,s,l,u,a]);const S=C=>{m.current===null&&(m.current=C.relatedTarget),w.current=!0,g.current=C.target;const O=t.props.onFocus;O&&O(C)},z=C=>{m.current===null&&(m.current=C.relatedTarget),w.current=!0};return v.jsxs(P.Fragment,{children:[v.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:p,"data-testid":"sentinelStart"}),P.cloneElement(t,{ref:b,onFocus:S}),v.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:h,"data-testid":"sentinelEnd"})]})}function sD(e){return typeof e=="function"?e():e}function iD(e){return e?e.props.hasOwnProperty("in"):!1}const cx=()=>{},yd=new KO;function aD(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:s=!1,onTransitionEnter:a,onTransitionExited:l,children:u,onClose:f,open:p,rootRef:h}=e,m=P.useRef({}),g=P.useRef(null),w=P.useRef(null),A=pn(w,h),[b,j]=P.useState(!p),S=iD(u);let z=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(z=!1);const C=()=>lr(g.current),O=()=>(m.current.modalRef=w.current,m.current.mount=g.current,m.current),D=()=>{yd.mount(O(),{disableScrollLock:r}),w.current&&(w.current.scrollTop=0)},T=ar(()=>{const J=sD(t)||C().body;yd.add(O(),J),w.current&&D()}),M=()=>yd.isTopModal(O()),L=ar(J=>{g.current=J,J&&(p&&M()?D():w.current&&cu(w.current,z))}),R=P.useCallback(()=>{yd.remove(O(),z)},[z]);P.useEffect(()=>()=>{R()},[R]),P.useEffect(()=>{p?T():(!S||!s)&&R()},[p,R,S,s,T]);const H=J=>U=>{var oe;(oe=J.onKeyDown)==null||oe.call(J,U),!(U.key!=="Escape"||U.which===229||!M())&&(n||(U.stopPropagation(),f&&f(U,"escapeKeyDown")))},N=J=>U=>{var oe;(oe=J.onClick)==null||oe.call(J,U),U.target===U.currentTarget&&f&&f(U,"backdropClick")};return{getRootProps:(J={})=>{const U=ep(e);delete U.onTransitionEnter,delete U.onTransitionExited;const oe={...U,...J};return{role:"presentation",...oe,onKeyDown:H(oe),ref:A}},getBackdropProps:(J={})=>{const U=J;return{"aria-hidden":!0,...U,onClick:N(U),open:p}},getTransitionProps:()=>{const J=()=>{j(!1),a&&a()},U=()=>{j(!0),l&&l(),s&&R()};return{onEnter:Wm(J,(u==null?void 0:u.props.onEnter)??cx),onExited:Wm(U,(u==null?void 0:u.props.onExited)??cx)}},rootRef:A,portalRef:L,isTopModal:M,exited:b,hasTransition:S}}function lD(e){return Qe("MuiModal",e)}Ke("MuiModal",["root","hidden","backdrop"]);const cD=e=>{const{open:t,exited:n,classes:r}=e;return _e({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},lD,r)},uD=pe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(nt(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),fD=pe(y1,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Pg=P.forwardRef(function(t,n){const r=rt({name:"MuiModal",props:t}),{BackdropComponent:s=fD,BackdropProps:a,classes:l,className:u,closeAfterTransition:f=!1,children:p,container:h,component:m,components:g={},componentsProps:w={},disableAutoFocus:A=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:j=!1,disablePortal:S=!1,disableRestoreFocus:z=!1,disableScrollLock:C=!1,hideBackdrop:O=!1,keepMounted:D=!1,onBackdropClick:T,onClose:M,onTransitionEnter:L,onTransitionExited:R,open:H,slotProps:N={},slots:B={},theme:W,..._}=r,J={...r,closeAfterTransition:f,disableAutoFocus:A,disableEnforceFocus:b,disableEscapeKeyDown:j,disablePortal:S,disableRestoreFocus:z,disableScrollLock:C,hideBackdrop:O,keepMounted:D},{getRootProps:U,getBackdropProps:oe,getTransitionProps:K,portalRef:Z,isTopModal:E,exited:q,hasTransition:X}=aD({...J,rootRef:n}),$={...J,exited:q},ee=cD($),se={};if(p.props.tabIndex===void 0&&(se.tabIndex="-1"),X){const{onEnter:Le,onExited:Pe}=K();se.onEnter=Le,se.onExited=Pe}const ae={slots:{root:g.Root,backdrop:g.Backdrop,...B},slotProps:{...w,...N}},[ye,le]=pt("root",{ref:n,elementType:uD,externalForwardedProps:{...ae,..._,component:m},getSlotProps:U,ownerState:$,className:Oe(u,ee==null?void 0:ee.root,!$.open&&$.exited&&(ee==null?void 0:ee.hidden))}),[we,Ce]=pt("backdrop",{ref:a==null?void 0:a.ref,elementType:s,externalForwardedProps:ae,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:Le=>oe({...Le,onClick:Pe=>{T&&T(Pe),Le!=null&&Le.onClick&&Le.onClick(Pe)}}),className:Oe(a==null?void 0:a.className,ee==null?void 0:ee.backdrop),ownerState:$});return!D&&!H&&(!X||q)?null:v.jsx(h1,{ref:Z,container:h,disablePortal:S,children:v.jsxs(ye,{...le,children:[!O&&s?v.jsx(we,{...Ce}):null,v.jsx(oD,{disableEnforceFocus:b,disableAutoFocus:A,disableRestoreFocus:z,isEnabled:E,open:H,children:P.cloneElement(p,se)})]})})});function dD(e){return Qe("MuiDialog",e)}const mm=Ke("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),w1=P.createContext({}),pD=pe(y1,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),vD=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:s,fullScreen:a}=e,l={root:["root"],container:["container",`scroll${me(n)}`],paper:["paper",`paperScroll${me(n)}`,`paperWidth${me(String(r))}`,s&&"paperFullWidth",a&&"paperFullScreen"]};return _e(l,dD,t)},hD=pe(Pg,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),mD=pe("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${me(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),yD=pe(Gr,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${me(n.scroll)}`],t[`paperWidth${me(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(nt(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${mm.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${mm.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${mm.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),ll=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDialog"}),s=Qr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":u,"aria-modal":f=!0,BackdropComponent:p,BackdropProps:h,children:m,className:g,disableEscapeKeyDown:w=!1,fullScreen:A=!1,fullWidth:b=!1,maxWidth:j="sm",onBackdropClick:S,onClick:z,onClose:C,open:O,PaperComponent:D=Gr,PaperProps:T={},scroll:M="paper",slots:L={},slotProps:R={},TransitionComponent:H=ty,transitionDuration:N=a,TransitionProps:B,...W}=r,_={...r,disableEscapeKeyDown:w,fullScreen:A,fullWidth:b,maxWidth:j,scroll:M},J=vD(_),U=P.useRef(),oe=be=>{U.current=be.target===be.currentTarget},K=be=>{z&&z(be),U.current&&(U.current=null,S&&S(be),C&&C(be,"backdropClick"))},Z=Xo(u),E=P.useMemo(()=>({titleId:Z}),[Z]),q={transition:H,...L},X={transition:B,paper:T,backdrop:h,...R},$={slots:q,slotProps:X},[ee,se]=pt("root",{elementType:hD,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:_,className:Oe(J.root,g),ref:n}),[ae,ye]=pt("backdrop",{elementType:pD,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:_}),[le,we]=pt("paper",{elementType:yD,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:_,className:Oe(J.paper,T.className)}),[Ce,Le]=pt("container",{elementType:mD,externalForwardedProps:$,ownerState:_,className:Oe(J.container)}),[Pe,Ie]=pt("transition",{elementType:ty,externalForwardedProps:$,ownerState:_,additionalProps:{appear:!0,in:O,timeout:N,role:"presentation"}});return v.jsx(ee,{closeAfterTransition:!0,slots:{backdrop:ae},slotProps:{backdrop:{transitionDuration:N,as:p,...ye}},disableEscapeKeyDown:w,onClose:C,open:O,onClick:K,...se,...W,children:v.jsx(Pe,{...Ie,children:v.jsx(Ce,{onMouseDown:oe,...Le,children:v.jsx(le,{as:D,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":Z,"aria-modal":f,...we,children:v.jsx(w1.Provider,{value:E,children:m})})})})})});function gD(e){return Qe("MuiDialogActions",e)}Ke("MuiDialogActions",["root","spacing"]);const AD=e=>{const{classes:t,disableSpacing:n}=e;return _e({root:["root",!n&&"spacing"]},gD,t)},PD=pe("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),bD=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:a=!1,...l}=r,u={...r,disableSpacing:a},f=AD(u);return v.jsx(PD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})});function xD(e){return Qe("MuiDialogContent",e)}Ke("MuiDialogContent",["root","dividers"]);function wD(e){return Qe("MuiDialogTitle",e)}const HD=Ke("MuiDialogTitle",["root"]),jD=e=>{const{classes:t,dividers:n}=e;return _e({root:["root",n&&"dividers"]},xD,t)},zD=pe("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(nt(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${HD.root} + &`]:{paddingTop:0}}}]}))),_c=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDialogContent"}),{className:s,dividers:a=!1,...l}=r,u={...r,dividers:a},f=jD(u);return v.jsx(zD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})}),SD=e=>{const{classes:t}=e;return _e({root:["root"]},wD,t)},CD=pe(jt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),$c=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...l}=r,u=r,f=SD(u),{titleId:p=a}=P.useContext(w1);return v.jsx(CD,{component:"h2",className:Oe(f.root,s),ownerState:u,ref:n,variant:"h6",id:a??p,...l})});function OD(e){return Qe("MuiDivider",e)}const ux=Ke("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),DD=e=>{const{absolute:t,children:n,classes:r,flexItem:s,light:a,orientation:l,textAlign:u,variant:f}=e;return _e({root:["root",t&&"absolute",f,a&&"light",l==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&l==="vertical"&&"withChildrenVertical",u==="right"&&l!=="vertical"&&"textAlignRight",u==="left"&&l!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",l==="vertical"&&"wrapperVertical"]},OD,r)},kD=pe("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(nt(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:xt(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),TD=pe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(nt(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),ya=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDivider"}),{absolute:s=!1,children:a,className:l,orientation:u="horizontal",component:f=a||u==="vertical"?"div":"hr",flexItem:p=!1,light:h=!1,role:m=f!=="hr"?"separator":void 0,textAlign:g="center",variant:w="fullWidth",...A}=r,b={...r,absolute:s,component:f,flexItem:p,light:h,orientation:u,role:m,textAlign:g,variant:w},j=DD(b);return v.jsx(kD,{as:f,className:Oe(j.root,l),role:m,ref:n,ownerState:b,"aria-orientation":m==="separator"&&(f!=="hr"||u==="vertical")?u:void 0,...A,children:a?v.jsx(TD,{className:j.wrapper,ownerState:b,children:a}):null})});ya&&(ya.muiSkipListHighlight=!0);function ED(e,t,n){const r=t.getBoundingClientRect(),s=n&&n.getBoundingClientRect(),a=Lo(t);let l;if(t.fakeTransform)l=t.fakeTransform;else{const p=a.getComputedStyle(t);l=p.getPropertyValue("-webkit-transform")||p.getPropertyValue("transform")}let u=0,f=0;if(l&&l!=="none"&&typeof l=="string"){const p=l.split("(")[1].split(")")[0].split(",");u=parseInt(p[4],10),f=parseInt(p[5],10)}return e==="left"?s?`translateX(${s.right+u-r.left}px)`:`translateX(${a.innerWidth+u-r.left}px)`:e==="right"?s?`translateX(-${r.right-s.left-u}px)`:`translateX(-${r.left+r.width-u}px)`:e==="up"?s?`translateY(${s.bottom+f-r.top}px)`:`translateY(${a.innerHeight+f-r.top}px)`:s?`translateY(-${r.top-s.top+r.height-f}px)`:`translateY(-${r.top+r.height-f}px)`}function RD(e){return typeof e=="function"?e():e}function gd(e,t,n){const r=RD(n),s=ED(e,t,r);s&&(t.style.webkitTransform=s,t.style.transform=s)}const MD=P.forwardRef(function(t,n){const r=Qr(),s={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:l,appear:u=!0,children:f,container:p,direction:h="down",easing:m=s,in:g,onEnter:w,onEntered:A,onEntering:b,onExit:j,onExited:S,onExiting:z,style:C,timeout:O=a,TransitionComponent:D=Vo,...T}=t,M=P.useRef(null),L=pn(zi(f),M,n),R=K=>Z=>{K&&(Z===void 0?K(M.current):K(M.current,Z))},H=R((K,Z)=>{gd(h,K,p),ug(K),w&&w(K,Z)}),N=R((K,Z)=>{const E=Ol({timeout:O,style:C,easing:m},{mode:"enter"});K.style.webkitTransition=r.transitions.create("-webkit-transform",{...E}),K.style.transition=r.transitions.create("transform",{...E}),K.style.webkitTransform="none",K.style.transform="none",b&&b(K,Z)}),B=R(A),W=R(z),_=R(K=>{const Z=Ol({timeout:O,style:C,easing:m},{mode:"exit"});K.style.webkitTransition=r.transitions.create("-webkit-transform",Z),K.style.transition=r.transitions.create("transform",Z),gd(h,K,p),j&&j(K)}),J=R(K=>{K.style.webkitTransition="",K.style.transition="",S&&S(K)}),U=K=>{l&&l(M.current,K)},oe=P.useCallback(()=>{M.current&&gd(h,M.current,p)},[h,p]);return P.useEffect(()=>{if(g||h==="down"||h==="right")return;const K=eg(()=>{M.current&&gd(h,M.current,p)}),Z=Lo(M.current);return Z.addEventListener("resize",K),()=>{K.clear(),Z.removeEventListener("resize",K)}},[h,g,p]),P.useEffect(()=>{g||oe()},[g,oe]),v.jsx(D,{nodeRef:M,onEnter:H,onEntered:B,onEntering:N,onExit:_,onExited:J,onExiting:W,addEndListener:U,appear:u,in:g,timeout:O,...T,children:(K,{ownerState:Z,...E})=>P.cloneElement(f,{ref:L,style:{visibility:K==="exited"&&!g?"hidden":void 0,...C,...f.props.style},...E})})});function LD(e){return Qe("MuiDrawer",e)}Ke("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const H1=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},XD=e=>{const{classes:t,anchor:n,variant:r}=e,s={root:["root",`anchor${me(n)}`],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${me(n)}`,r!=="temporary"&&`paperAnchorDocked${me(n)}`]};return _e(s,LD,t)},ND=pe(Pg,{name:"MuiDrawer",slot:"Root",overridesResolver:H1})(nt(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),BD=pe("div",{shouldForwardProp:Gn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:H1})({flex:"0 0 auto"}),VD=pe(Gr,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${me(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${me(n.anchor)}`]]}})(nt(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:t})=>t.anchor==="left"&&t.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="top"&&t.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="right"&&t.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="bottom"&&t.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),j1={left:"right",right:"left",top:"down",bottom:"up"};function ID(e){return["left","right"].includes(e)}function WD({direction:e},t){return e==="rtl"&&ID(t)?j1[t]:t}const JD=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDrawer"}),s=Qr(),a=Iu(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:f,children:p,className:h,elevation:m=16,hideBackdrop:g=!1,ModalProps:{BackdropProps:w,...A}={},onClose:b,open:j=!1,PaperProps:S={},SlideProps:z,TransitionComponent:C,transitionDuration:O=l,variant:D="temporary",slots:T={},slotProps:M={},...L}=r,R=P.useRef(!1);P.useEffect(()=>{R.current=!0},[]);const H=WD({direction:a?"rtl":"ltr"},u),B={...r,anchor:u,elevation:m,open:j,variant:D,...L},W=XD(B),_={slots:{transition:C,...T},slotProps:{paper:S,transition:z,...M,backdrop:ig(M.backdrop||{...f,...w},{transitionDuration:O})}},[J,U]=pt("root",{ref:n,elementType:ND,className:Oe(W.root,W.modal,h),shouldForwardComponentProp:!0,ownerState:B,externalForwardedProps:{..._,...L,...A},additionalProps:{open:j,onClose:b,hideBackdrop:g,slots:{backdrop:_.slots.backdrop},slotProps:{backdrop:_.slotProps.backdrop}}}),[oe,K]=pt("paper",{elementType:VD,shouldForwardComponentProp:!0,className:Oe(W.paper,S.className),ownerState:B,externalForwardedProps:_,additionalProps:{elevation:D==="temporary"?m:0,square:!0}}),[Z,E]=pt("docked",{elementType:BD,ref:n,className:Oe(W.root,W.docked,h),ownerState:B,externalForwardedProps:_,additionalProps:L}),[q,X]=pt("transition",{elementType:MD,ownerState:B,externalForwardedProps:_,additionalProps:{in:j,direction:j1[H],timeout:O,appear:R.current}}),$=v.jsx(oe,{...K,children:p});if(D==="permanent")return v.jsx(Z,{...E,children:$});const ee=v.jsx(q,{...X,children:$});return D==="persistent"?v.jsx(Z,{...E,children:ee}):v.jsx(J,{...U,children:ee})}),FD=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:s,size:a,hiddenLabel:l,multiline:u}=e,f={root:["root",!n&&"underline",r&&"adornedStart",s&&"adornedEnd",a==="small"&&`size${me(a)}`,l&&"hiddenLabel",u&&"multiline"],input:["input"]},p=_e(f,WC,t);return{...t,...p}},YD=pe(Ip,{shouldForwardProp:e=>Gn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Bp(e,t),!n.disableUnderline&&t.underline]}})(nt(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Jr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Jr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:l})=>!l.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Jr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Jr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Jr.disabled}, .${Jr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Jr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(gn()).map(([l])=>{var u;return{props:{disableUnderline:!1,color:l},style:{"&::after":{borderBottom:`2px solid ${(u=(e.vars||e).palette[l])==null?void 0:u.main}`}}}}),{props:({ownerState:l})=>l.startAdornment,style:{paddingLeft:12}},{props:({ownerState:l})=>l.endAdornment,style:{paddingRight:12}},{props:({ownerState:l})=>l.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:l,size:u})=>l.multiline&&u==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel&&l.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),qD=pe(Wp,{name:"MuiFilledInput",slot:"Input",overridesResolver:Vp})(nt(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),bg=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiFilledInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,hiddenLabel:f,inputComponent:p="input",multiline:h=!1,slotProps:m,slots:g={},type:w="text",...A}=r,b={...r,disableUnderline:s,fullWidth:u,inputComponent:p,multiline:h,type:w},j=FD(r),S={root:{ownerState:b},input:{ownerState:b}},z=m??l?Zn(S,m??l):S,C=g.root??a.Root??YD,O=g.input??a.Input??qD;return v.jsx(Jp,{slots:{root:C,input:O},slotProps:z,fullWidth:u,inputComponent:p,multiline:h,ref:n,type:w,...A,classes:j})});bg.muiName="Input";function ZD(e){return Qe("MuiFormControl",e)}Ke("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const GD=e=>{const{classes:t,margin:n,fullWidth:r}=e,s={root:["root",n!=="none"&&`margin${me(n)}`,r&&"fullWidth"]};return _e(s,ZD,t)},UD=pe("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${me(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),fr=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiFormControl"}),{children:s,className:a,color:l="primary",component:u="div",disabled:f=!1,error:p=!1,focused:h,fullWidth:m=!1,hiddenLabel:g=!1,margin:w="none",required:A=!1,size:b="medium",variant:j="outlined",...S}=r,z={...r,color:l,component:u,disabled:f,error:p,fullWidth:m,hiddenLabel:g,margin:w,required:A,size:b,variant:j},C=GD(z),[O,D]=P.useState(()=>{let J=!1;return s&&P.Children.forEach(s,U=>{if(!Ld(U,["Input","Select"]))return;const oe=Ld(U,["Select"])?U.props.input:U;oe&&XC(oe.props)&&(J=!0)}),J}),[T,M]=P.useState(()=>{let J=!1;return s&&P.Children.forEach(s,U=>{Ld(U,["Input","Select"])&&(sp(U.props,!0)||sp(U.props.inputProps,!0))&&(J=!0)}),J}),[L,R]=P.useState(!1);f&&L&&R(!1);const H=h!==void 0&&!f?h:L;let N;P.useRef(!1);const B=P.useCallback(()=>{M(!0)},[]),W=P.useCallback(()=>{M(!1)},[]),_=P.useMemo(()=>({adornedStart:O,setAdornedStart:D,color:l,disabled:f,error:p,filled:T,focused:H,fullWidth:m,hiddenLabel:g,size:b,onBlur:()=>{R(!1)},onFocus:()=>{R(!0)},onEmpty:W,onFilled:B,registerEffect:N,required:A,variant:j}),[O,l,f,p,T,H,m,g,N,W,B,A,b,j]);return v.jsx(Np.Provider,{value:_,children:v.jsx(UD,{as:u,ownerState:z,className:Oe(C.root,a),ref:n,...S,children:s})})});function QD(e){return Qe("MuiFormControlLabel",e)}const eu=Ke("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),KD=e=>{const{classes:t,disabled:n,labelPlacement:r,error:s,required:a}=e,l={root:["root",n&&"disabled",`labelPlacement${me(r)}`,s&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",s&&"error"]};return _e(l,QD,t)},_D=pe("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${eu.label}`]:t.label},t.root,t[`labelPlacement${me(n.labelPlacement)}`]]}})(nt(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${eu.disabled}`]:{cursor:"default"},[`& .${eu.label}`]:{[`&.${eu.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),$D=pe("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(nt(({theme:e})=>({[`&.${eu.error}`]:{color:(e.vars||e).palette.error.main}}))),Ds=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiFormControlLabel"}),{checked:s,className:a,componentsProps:l={},control:u,disabled:f,disableTypography:p,inputRef:h,label:m,labelPlacement:g="end",name:w,onChange:A,required:b,slots:j={},slotProps:S={},value:z,...C}=r,O=Io(),D=f??u.props.disabled??(O==null?void 0:O.disabled),T=b??u.props.required,M={disabled:D,required:T};["checked","name","onChange","value","inputRef"].forEach(J=>{typeof u.props[J]>"u"&&typeof r[J]<"u"&&(M[J]=r[J])});const L=Ci({props:r,muiFormControl:O,states:["error"]}),R={...r,disabled:D,labelPlacement:g,required:T,error:L.error},H=KD(R),N={slots:j,slotProps:{...l,...S}},[B,W]=pt("typography",{elementType:jt,externalForwardedProps:N,ownerState:R});let _=m;return _!=null&&_.type!==jt&&!p&&(_=v.jsx(B,{component:"span",...W,className:Oe(H.label,W==null?void 0:W.className),children:_})),v.jsxs(_D,{className:Oe(H.root,a),ownerState:R,ref:n,...C,children:[P.cloneElement(u,M),T?v.jsxs("div",{children:[_,v.jsxs($D,{ownerState:R,"aria-hidden":!0,className:H.asterisk,children:[" ","*"]})]}):_]})});function ek(e){return Qe("MuiFormGroup",e)}Ke("MuiFormGroup",["root","row","error"]);const tk=e=>{const{classes:t,row:n,error:r}=e;return _e({root:["root",n&&"row",r&&"error"]},ek,t)},nk=pe("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),rk=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiFormGroup"}),{className:s,row:a=!1,...l}=r,u=Io(),f=Ci({props:r,muiFormControl:u,states:["error"]}),p={...r,row:a,error:f.error},h=tk(p);return v.jsx(nk,{className:Oe(h.root,s),ownerState:p,ref:n,...l})});function ok(e){return Qe("MuiFormHelperText",e)}const fx=Ke("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var dx;const sk=e=>{const{classes:t,contained:n,size:r,disabled:s,error:a,filled:l,focused:u,required:f}=e,p={root:["root",s&&"disabled",a&&"error",r&&`size${me(r)}`,n&&"contained",u&&"focused",l&&"filled",f&&"required"]};return _e(p,ok,t)},ik=pe("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${me(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(nt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${fx.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${fx.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),sl=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiFormHelperText"}),{children:s,className:a,component:l="p",disabled:u,error:f,filled:p,focused:h,margin:m,required:g,variant:w,...A}=r,b=Io(),j=Ci({props:r,muiFormControl:b,states:["variant","size","disabled","error","filled","focused","required"]}),S={...r,component:l,contained:j.variant==="filled"||j.variant==="outlined",variant:j.variant,size:j.size,disabled:j.disabled,error:j.error,filled:j.filled,focused:j.focused,required:j.required};delete S.ownerState;const z=sk(S);return v.jsx(ik,{as:l,className:Oe(z.root,a),ref:n,...A,ownerState:S,children:s===" "?dx||(dx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function ak(e){return Qe("MuiFormLabel",e)}const uu=Ke("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),lk=e=>{const{classes:t,color:n,focused:r,disabled:s,error:a,filled:l,required:u}=e,f={root:["root",`color${me(n)}`,s&&"disabled",a&&"error",l&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return _e(f,ak,t)},ck=pe("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color==="secondary"&&t.colorSecondary,n.filled&&t.filled]}})(nt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{[`&.${uu.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${uu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${uu.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),uk=pe("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(nt(({theme:e})=>({[`&.${uu.error}`]:{color:(e.vars||e).palette.error.main}}))),Bd=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiFormLabel"}),{children:s,className:a,color:l,component:u="label",disabled:f,error:p,filled:h,focused:m,required:g,...w}=r,A=Io(),b=Ci({props:r,muiFormControl:A,states:["color","required","focused","disabled","error","filled"]}),j={...r,color:b.color||"primary",component:u,disabled:b.disabled,error:b.error,filled:b.filled,focused:b.focused,required:b.required},S=lk(j);return v.jsxs(ck,{as:u,ownerState:j,className:Oe(S.root,a),ref:n,...w,children:[s,b.required&&v.jsxs(uk,{ownerState:j,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]})}),px=P.createContext();function fk(e){return Qe("MuiGrid",e)}const dk=[0,1,2,3,4,5,6,7,8,9,10],pk=["column-reverse","column","row-reverse","row"],vk=["nowrap","wrap-reverse","wrap"],kc=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],xu=Ke("MuiGrid",["root","container","item","zeroMinWidth",...dk.map(e=>`spacing-xs-${e}`),...pk.map(e=>`direction-xs-${e}`),...vk.map(e=>`wrap-xs-${e}`),...kc.map(e=>`grid-xs-${e}`),...kc.map(e=>`grid-sm-${e}`),...kc.map(e=>`grid-md-${e}`),...kc.map(e=>`grid-lg-${e}`),...kc.map(e=>`grid-xl-${e}`)]);function hk({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,s)=>{let a={};if(t[s]&&(n=t[s]),!n)return r;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=ca({values:t.columns,breakpoints:e.breakpoints.values}),u=typeof l=="object"?l[s]:l;if(u==null)return r;const f=`${Math.round(n/u*1e8)/1e6}%`;let p={};if(t.container&&t.item&&t.columnSpacing!==0){const h=e.spacing(t.columnSpacing);if(h!=="0px"){const m=`calc(${f} + ${h})`;p={flexBasis:m,maxWidth:m}}}a={flexBasis:f,flexGrow:0,maxWidth:f,...p}}return e.breakpoints.values[s]===0?Object.assign(r,a):r[e.breakpoints.up(s)]=a,r},{})}function mk({theme:e,ownerState:t}){const n=ca({values:t.direction,breakpoints:e.breakpoints.values});return Rr({theme:e},n,r=>{const s={flexDirection:r};return r.startsWith("column")&&(s[`& > .${xu.item}`]={maxWidth:"none"}),s})}function z1({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(s=>{n===""&&t[s]!==0&&(n=s)});const r=Object.keys(e).sort((s,a)=>e[s]-e[a]);return r.slice(0,r.indexOf(n))}function yk({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let s={};if(n&&r!==0){const a=ca({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=z1({breakpoints:e.breakpoints.values,values:a})),s=Rr({theme:e},a,(u,f)=>{const p=e.spacing(u);return p!=="0px"?{marginTop:`calc(-1 * ${p})`,[`& > .${xu.item}`]:{paddingTop:p}}:l!=null&&l.includes(f)?{}:{marginTop:0,[`& > .${xu.item}`]:{paddingTop:0}}})}return s}function gk({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let s={};if(n&&r!==0){const a=ca({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=z1({breakpoints:e.breakpoints.values,values:a})),s=Rr({theme:e},a,(u,f)=>{const p=e.spacing(u);if(p!=="0px"){const h=`calc(-1 * ${p})`;return{width:`calc(100% + ${p})`,marginLeft:h,[`& > .${xu.item}`]:{paddingLeft:p}}}return l!=null&&l.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${xu.item}`]:{paddingLeft:0}}})}return s}function Ak(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(s=>{const a=e[s];Number(a)>0&&r.push(n[`spacing-${s}-${String(a)}`])}),r}const Pk=pe("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:s,item:a,spacing:l,wrap:u,zeroMinWidth:f,breakpoints:p}=n;let h=[];r&&(h=Ak(l,p,t));const m=[];return p.forEach(g=>{const w=n[g];w&&m.push(t[`grid-${g}-${String(w)}`])}),[t.root,r&&t.container,a&&t.item,f&&t.zeroMinWidth,...h,s!=="row"&&t[`direction-xs-${String(s)}`],u!=="wrap"&&t[`wrap-xs-${String(u)}`],...m]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},...e.wrap!=="wrap"&&{flexWrap:e.wrap}}),mk,yk,gk,hk);function bk(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const s=e[r];if(Number(s)>0){const a=`spacing-${r}-${String(s)}`;n.push(a)}}),n}const xk=e=>{const{classes:t,container:n,direction:r,item:s,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:f}=e;let p=[];n&&(p=bk(a,f));const h=[];f.forEach(g=>{const w=e[g];w&&h.push(`grid-${g}-${String(w)}`)});const m={root:["root",n&&"container",s&&"item",u&&"zeroMinWidth",...p,r!=="row"&&`direction-xs-${String(r)}`,l!=="wrap"&&`wrap-xs-${String(l)}`,...h]};return _e(m,fk,t)},cs=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiGrid"}),{breakpoints:s}=Qr(),a=Tp(r),{className:l,columns:u,columnSpacing:f,component:p="div",container:h=!1,direction:m="row",item:g=!1,rowSpacing:w,spacing:A=0,wrap:b="wrap",zeroMinWidth:j=!1,...S}=a,z=w||A,C=f||A,O=P.useContext(px),D=h?u||12:O,T={},M={...S};s.keys.forEach(H=>{S[H]!=null&&(T[H]=S[H],delete M[H])});const L={...a,columns:D,container:h,direction:m,item:g,rowSpacing:z,columnSpacing:C,wrap:b,zeroMinWidth:j,spacing:A,...T,breakpoints:s.keys},R=xk(L);return v.jsx(px.Provider,{value:D,children:v.jsx(Pk,{ownerState:L,className:Oe(R.root,l),as:p,ref:n,...M})})});function oy(e){return`scale(${e}, ${e**2})`}const wk={entering:{opacity:1,transform:oy(1)},entered:{opacity:1,transform:"none"}},ym=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),wu=P.forwardRef(function(t,n){const{addEndListener:r,appear:s=!0,children:a,easing:l,in:u,onEnter:f,onEntered:p,onEntering:h,onExit:m,onExited:g,onExiting:w,style:A,timeout:b="auto",TransitionComponent:j=Vo,...S}=t,z=Qi(),C=P.useRef(),O=Qr(),D=P.useRef(null),T=pn(D,zi(a),n),M=J=>U=>{if(J){const oe=D.current;U===void 0?J(oe):J(oe,U)}},L=M(h),R=M((J,U)=>{ug(J);const{duration:oe,delay:K,easing:Z}=Ol({style:A,timeout:b,easing:l},{mode:"enter"});let E;b==="auto"?(E=O.transitions.getAutoHeightDuration(J.clientHeight),C.current=E):E=oe,J.style.transition=[O.transitions.create("opacity",{duration:E,delay:K}),O.transitions.create("transform",{duration:ym?E:E*.666,delay:K,easing:Z})].join(","),f&&f(J,U)}),H=M(p),N=M(w),B=M(J=>{const{duration:U,delay:oe,easing:K}=Ol({style:A,timeout:b,easing:l},{mode:"exit"});let Z;b==="auto"?(Z=O.transitions.getAutoHeightDuration(J.clientHeight),C.current=Z):Z=U,J.style.transition=[O.transitions.create("opacity",{duration:Z,delay:oe}),O.transitions.create("transform",{duration:ym?Z:Z*.666,delay:ym?oe:oe||Z*.333,easing:K})].join(","),J.style.opacity=0,J.style.transform=oy(.75),m&&m(J)}),W=M(g),_=J=>{b==="auto"&&z.start(C.current||0,J),r&&r(D.current,J)};return v.jsx(j,{appear:s,in:u,nodeRef:D,onEnter:R,onEntered:H,onEntering:L,onExit:B,onExited:W,onExiting:N,addEndListener:_,timeout:b==="auto"?null:b,...S,children:(J,{ownerState:U,...oe})=>P.cloneElement(a,{style:{opacity:0,transform:oy(.75),visibility:J==="exited"&&!u?"hidden":void 0,...wk[J],...A,...a.props.style},ref:T,...oe})})});wu&&(wu.muiSupportAuto=!0);const Hk=M0({themeId:uo}),jk=e=>{const{classes:t,disableUnderline:n}=e,s=_e({root:["root",!n&&"underline"],input:["input"]},VC,t);return{...t,...s}},zk=pe(Ip,{shouldForwardProp:e=>Gn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Bp(e,t),!n.disableUnderline&&t.underline]}})(nt(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ci.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ci.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ci.disabled}, .${ci.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${ci.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(gn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),Sk=pe(Wp,{name:"MuiInput",slot:"Input",overridesResolver:Vp})({}),xg=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,inputComponent:f="input",multiline:p=!1,slotProps:h,slots:m={},type:g="text",...w}=r,A=jk(r),j={root:{ownerState:{disableUnderline:s}}},S=h??l?Zn(h??l,j):j,z=m.root??a.Root??zk,C=m.input??a.Input??Sk;return v.jsx(Jp,{slots:{root:z,input:C},slotProps:S,fullWidth:u,inputComponent:f,multiline:p,ref:n,type:g,...w,classes:A})});xg.muiName="Input";function Ck(e){return Qe("MuiInputAdornment",e)}const vx=Ke("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var hx;const Ok=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},Dk=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:s,size:a,variant:l}=e,u={root:["root",n&&"disablePointerEvents",s&&`position${me(s)}`,l,r&&"hiddenLabel",a&&`size${me(a)}`]};return _e(u,Ck,t)},kk=pe("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Ok})(nt(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${vx.positionStart}&:not(.${vx.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),S1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiInputAdornment"}),{children:s,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:f=!1,position:p,variant:h,...m}=r,g=Io()||{};let w=h;h&&g.variant,g&&!w&&(w=g.variant);const A={...r,hiddenLabel:g.hiddenLabel,size:g.size,disablePointerEvents:u,position:p,variant:w},b=Dk(A);return v.jsx(Np.Provider,{value:null,children:v.jsx(kk,{as:l,ownerState:A,className:Oe(b.root,a),ref:n,...m,children:typeof s=="string"&&!f?v.jsx(jt,{color:"textSecondary",children:s}):v.jsxs(P.Fragment,{children:[p==="start"?hx||(hx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});function Tk(e){return Qe("MuiInputLabel",e)}Ke("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Ek=e=>{const{classes:t,formControl:n,size:r,shrink:s,disableAnimation:a,variant:l,required:u}=e,f={root:["root",n&&"formControl",!a&&"animated",s&&"shrink",r&&r!=="normal"&&`size${me(r)}`,l],asterisk:[u&&"asterisk"]},p=_e(f,Tk,t);return{...t,...p}},Rk=pe(Bd,{shouldForwardProp:e=>Gn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${uu.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(nt(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Vd=P.forwardRef(function(t,n){const r=rt({name:"MuiInputLabel",props:t}),{disableAnimation:s=!1,margin:a,shrink:l,variant:u,className:f,...p}=r,h=Io();let m=l;typeof m>"u"&&h&&(m=h.filled||h.focused||h.adornedStart);const g=Ci({props:r,muiFormControl:h,states:["size","variant","required","focused"]}),w={...r,disableAnimation:s,formControl:h,shrink:m,size:g.size,variant:g.variant,required:g.required,focused:g.focused},A=Ek(w);return v.jsx(Rk,{"data-shrink":m,ref:n,className:Oe(A.root,f),...p,ownerState:w,classes:A})});function Mk(e){return Qe("MuiLink",e)}const Lk=Ke("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Xk=({theme:e,ownerState:t})=>{const n=t.color,r=bi(e,`palette.${n}.main`,!1)||bi(e,`palette.${n}`,!1)||t.color,s=bi(e,`palette.${n}.mainChannel`)||bi(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:xt(r,.4)},mx={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Nk=e=>{const{classes:t,component:n,focusVisible:r,underline:s}=e,a={root:["root",`underline${me(s)}`,n==="button"&&"button",r&&"focusVisible"]};return _e(a,Mk,t)},Bk=pe(jt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${me(n.underline)}`],n.component==="button"&&t.button]}})(nt(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:xt(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:xt(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:xt(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Lk.focusVisible}`]:{outline:"auto"}}}]}))),tu=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiLink"}),s=Qr(),{className:a,color:l="primary",component:u="a",onBlur:f,onFocus:p,TypographyClasses:h,underline:m="always",variant:g="inherit",sx:w,...A}=r,[b,j]=P.useState(!1),S=D=>{Cl(D.target)||j(!1),f&&f(D)},z=D=>{Cl(D.target)&&j(!0),p&&p(D)},C={...r,color:l,component:u,focusVisible:b,underline:m,variant:g},O=Nk(C);return v.jsx(Bk,{color:l,className:Oe(O.root,a),classes:h,component:u,onBlur:S,onFocus:z,ref:n,ownerState:C,variant:g,...A,sx:[...mx[l]===void 0?[{color:l}]:[],...Array.isArray(w)?w:[w]],style:{...A.style,...m==="always"&&l!=="inherit"&&!mx[l]&&{"--Link-underlineColor":Xk({theme:s,ownerState:C})}}})}),Ro=P.createContext({});function Vk(e){return Qe("MuiList",e)}Ke("MuiList",["root","padding","dense","subheader"]);const Ik=e=>{const{classes:t,disablePadding:n,dense:r,subheader:s}=e;return _e({root:["root",!n&&"padding",r&&"dense",s&&"subheader"]},Vk,t)},Wk=pe("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),sy=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiList"}),{children:s,className:a,component:l="ul",dense:u=!1,disablePadding:f=!1,subheader:p,...h}=r,m=P.useMemo(()=>({dense:u}),[u]),g={...r,component:l,dense:u,disablePadding:f},w=Ik(g);return v.jsx(Ro.Provider,{value:m,children:v.jsxs(Wk,{as:l,className:Oe(w.root,a),ref:n,ownerState:g,...h,children:[p,s]})})});function Jk(e){return Qe("MuiListItem",e)}Ke("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function Fk(e){return Qe("MuiListItemButton",e)}const il=Ke("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Yk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},qk=e=>{const{alignItems:t,classes:n,dense:r,disabled:s,disableGutters:a,divider:l,selected:u}=e,p=_e({root:["root",r&&"dense",!a&&"gutters",l&&"divider",s&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},Fk,n);return{...n,...p}},Zk=pe(ha,{shouldForwardProp:e=>Gn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:Yk})(nt(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${il.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${il.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${il.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${il.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${il.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),C1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiListItemButton"}),{alignItems:s="center",autoFocus:a=!1,component:l="div",children:u,dense:f=!1,disableGutters:p=!1,divider:h=!1,focusVisibleClassName:m,selected:g=!1,className:w,...A}=r,b=P.useContext(Ro),j=P.useMemo(()=>({dense:f||b.dense||!1,alignItems:s,disableGutters:p}),[s,b.dense,f,p]),S=P.useRef(null);Zr(()=>{a&&S.current&&S.current.focus()},[a]);const z={...r,alignItems:s,dense:j.dense,disableGutters:p,divider:h,selected:g},C=qk(z),O=pn(S,n);return v.jsx(Ro.Provider,{value:j,children:v.jsx(Zk,{ref:O,href:A.href||A.to,component:(A.href||A.to)&&l==="div"?"button":l,focusVisibleClassName:Oe(C.focusVisible,m),ownerState:z,className:Oe(C.root,w),...A,classes:C,children:u})})});function Gk(e){return Qe("MuiListItemSecondaryAction",e)}Ke("MuiListItemSecondaryAction",["root","disableGutters"]);const Uk=e=>{const{disableGutters:t,classes:n}=e;return _e({root:["root",t&&"disableGutters"]},Gk,n)},Qk=pe("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),O1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiListItemSecondaryAction"}),{className:s,...a}=r,l=P.useContext(Ro),u={...r,disableGutters:l.disableGutters},f=Uk(u);return v.jsx(Qk,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});O1.muiName="ListItemSecondaryAction";const Kk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},_k=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:u}=e;return _e({root:["root",r&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction"],container:["container"]},Jk,n)},$k=pe("div",{name:"MuiListItem",slot:"Root",overridesResolver:Kk})(nt(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${il.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),eT=pe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Tc=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiListItem"}),{alignItems:s="center",children:a,className:l,component:u,components:f={},componentsProps:p={},ContainerComponent:h="li",ContainerProps:{className:m,...g}={},dense:w=!1,disableGutters:A=!1,disablePadding:b=!1,divider:j=!1,secondaryAction:S,slotProps:z={},slots:C={},...O}=r,D=P.useContext(Ro),T=P.useMemo(()=>({dense:w||D.dense||!1,alignItems:s,disableGutters:A}),[s,D.dense,w,A]),M=P.useRef(null),L=P.Children.toArray(a),R=L.length&&Ld(L[L.length-1],["ListItemSecondaryAction"]),H={...r,alignItems:s,dense:T.dense,disableGutters:A,disablePadding:b,divider:j,hasSecondaryAction:R},N=_k(H),B=pn(M,n),W=C.root||f.Root||$k,_=z.root||p.root||{},J={className:Oe(N.root,_.className,l),...O};let U=u||"li";return R?(U=!J.component&&!u?"div":U,h==="li"&&(U==="li"?U="div":J.component==="li"&&(J.component="div")),v.jsx(Ro.Provider,{value:T,children:v.jsxs(eT,{as:h,className:Oe(N.container,m),ref:B,ownerState:H,...g,children:[v.jsx(W,{..._,...!bu(W)&&{as:U,ownerState:{...H,..._.ownerState}},...J,children:L}),L.pop()]})})):v.jsx(Ro.Provider,{value:T,children:v.jsxs(W,{..._,as:U,ref:B,...!bu(W)&&{ownerState:{...H,..._.ownerState}},...J,children:[L,S&&v.jsx(O1,{children:S})]})})});function tT(e){return Qe("MuiListItemIcon",e)}const yx=Ke("MuiListItemIcon",["root","alignItemsFlexStart"]),nT=e=>{const{alignItems:t,classes:n}=e;return _e({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},tT,n)},rT=pe("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(nt(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),oT=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiListItemIcon"}),{className:s,...a}=r,l=P.useContext(Ro),u={...r,alignItems:l.alignItems},f=nT(u);return v.jsx(rT,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});function sT(e){return Qe("MuiListItemText",e)}const cl=Ke("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),iT=e=>{const{classes:t,inset:n,primary:r,secondary:s,dense:a}=e;return _e({root:["root",n&&"inset",a&&"dense",r&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},sT,t)},aT=pe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${cl.primary}`]:t.primary},{[`& .${cl.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${X8.root}:where(& .${cl.primary})`]:{display:"block"},[`.${X8.root}:where(& .${cl.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),ul=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiListItemText"}),{children:s,className:a,disableTypography:l=!1,inset:u=!1,primary:f,primaryTypographyProps:p,secondary:h,secondaryTypographyProps:m,slots:g={},slotProps:w={},...A}=r,{dense:b}=P.useContext(Ro);let j=f??s,S=h;const z={...r,disableTypography:l,inset:u,primary:!!j,secondary:!!S,dense:b},C=iT(z),O={slots:g,slotProps:{primary:p,secondary:m,...w}},[D,T]=pt("root",{className:Oe(C.root,a),elementType:aT,externalForwardedProps:{...O,...A},ownerState:z,ref:n}),[M,L]=pt("primary",{className:C.primary,elementType:jt,externalForwardedProps:O,ownerState:z}),[R,H]=pt("secondary",{className:C.secondary,elementType:jt,externalForwardedProps:O,ownerState:z});return j!=null&&j.type!==jt&&!l&&(j=v.jsx(M,{variant:b?"body2":"body1",component:L!=null&&L.variant?void 0:"span",...L,children:j})),S!=null&&S.type!==jt&&!l&&(S=v.jsx(R,{variant:"body2",color:"textSecondary",...H,children:S})),v.jsxs(D,{...T,children:[j,S]})});function gm(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function gx(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function D1(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Ec(e,t,n,r,s,a){let l=!1,u=s(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(l)return!1;l=!0}const f=r?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!D1(u,a)||f)u=s(e,u,n);else return u.focus(),!0}return!1}const lT=P.forwardRef(function(t,n){const{actions:r,autoFocus:s=!1,autoFocusItem:a=!1,children:l,className:u,disabledItemsFocusable:f=!1,disableListWrap:p=!1,onKeyDown:h,variant:m="selectedMenu",...g}=t,w=P.useRef(null),A=P.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Zr(()=>{s&&w.current.focus()},[s]),P.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(C,{direction:O})=>{const D=!w.current.style.width;if(C.clientHeight{const O=w.current,D=C.key;if(C.ctrlKey||C.metaKey||C.altKey){h&&h(C);return}const M=lr(O).activeElement;if(D==="ArrowDown")C.preventDefault(),Ec(O,M,p,f,gm);else if(D==="ArrowUp")C.preventDefault(),Ec(O,M,p,f,gx);else if(D==="Home")C.preventDefault(),Ec(O,null,p,f,gm);else if(D==="End")C.preventDefault(),Ec(O,null,p,f,gx);else if(D.length===1){const L=A.current,R=D.toLowerCase(),H=performance.now();L.keys.length>0&&(H-L.lastTime>500?(L.keys=[],L.repeating=!0,L.previousKeyMatched=!0):L.repeating&&R!==L.keys[0]&&(L.repeating=!1)),L.lastTime=H,L.keys.push(R);const N=M&&!L.repeating&&D1(M,L);L.previousKeyMatched&&(N||Ec(O,M,!1,f,gm,L))?C.preventDefault():L.previousKeyMatched=!1}h&&h(C)},j=pn(w,n);let S=-1;P.Children.forEach(l,(C,O)=>{if(!P.isValidElement(C)){S===O&&(S+=1,S>=l.length&&(S=-1));return}C.props.disabled||(m==="selectedMenu"&&C.props.selected||S===-1)&&(S=O),S===O&&(C.props.disabled||C.props.muiSkipListHighlight||C.type.muiSkipListHighlight)&&(S+=1,S>=l.length&&(S=-1))});const z=P.Children.map(l,(C,O)=>{if(O===S){const D={};return a&&(D.autoFocus=!0),C.props.tabIndex===void 0&&m==="selectedMenu"&&(D.tabIndex=0),P.cloneElement(C,D)}return C});return v.jsx(sy,{role:"menu",ref:j,className:u,onKeyDown:b,tabIndex:s?0:-1,...g,children:z})});function cT(e){return Qe("MuiPopover",e)}Ke("MuiPopover",["root","paper"]);function Ax(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Px(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function bx(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Ad(e){return typeof e=="function"?e():e}const uT=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"]},cT,t)},fT=pe(Pg,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),k1=pe(Gr,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),dT=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiPopover"}),{action:s,anchorEl:a,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:f="anchorEl",children:p,className:h,container:m,elevation:g=8,marginThreshold:w=16,open:A,PaperProps:b={},slots:j={},slotProps:S={},transformOrigin:z={vertical:"top",horizontal:"left"},TransitionComponent:C,transitionDuration:O="auto",TransitionProps:D={},disableScrollLock:T=!1,...M}=r,L=P.useRef(),R={...r,anchorOrigin:l,anchorReference:f,elevation:g,marginThreshold:w,transformOrigin:z,TransitionComponent:C,transitionDuration:O,TransitionProps:D},H=uT(R),N=P.useCallback(()=>{if(f==="anchorPosition")return u;const Ce=Ad(a),Pe=(Ce&&Ce.nodeType===1?Ce:lr(L.current).body).getBoundingClientRect();return{top:Pe.top+Ax(Pe,l.vertical),left:Pe.left+Px(Pe,l.horizontal)}},[a,l.horizontal,l.vertical,u,f]),B=P.useCallback(Ce=>({vertical:Ax(Ce,z.vertical),horizontal:Px(Ce,z.horizontal)}),[z.horizontal,z.vertical]),W=P.useCallback(Ce=>{const Le={width:Ce.offsetWidth,height:Ce.offsetHeight},Pe=B(Le);if(f==="none")return{top:null,left:null,transformOrigin:bx(Pe)};const Ie=N();let be=Ie.top-Pe.vertical,Ve=Ie.left-Pe.horizontal;const Pt=be+Le.height,Ne=Ve+Le.width,gt=Lo(Ad(a)),ft=gt.innerHeight-w,V=gt.innerWidth-w;if(w!==null&&beft){const te=Pt-ft;be-=te,Pe.vertical+=te}if(w!==null&&VeV){const te=Ne-V;Ve-=te,Pe.horizontal+=te}return{top:`${Math.round(be)}px`,left:`${Math.round(Ve)}px`,transformOrigin:bx(Pe)}},[a,f,N,B,w]),[_,J]=P.useState(A),U=P.useCallback(()=>{const Ce=L.current;if(!Ce)return;const Le=W(Ce);Le.top!==null&&Ce.style.setProperty("top",Le.top),Le.left!==null&&(Ce.style.left=Le.left),Ce.style.transformOrigin=Le.transformOrigin,J(!0)},[W]);P.useEffect(()=>(T&&window.addEventListener("scroll",U),()=>window.removeEventListener("scroll",U)),[a,T,U]);const oe=()=>{U()},K=()=>{J(!1)};P.useEffect(()=>{A&&U()}),P.useImperativeHandle(s,()=>A?{updatePosition:()=>{U()}}:null,[A,U]),P.useEffect(()=>{if(!A)return;const Ce=eg(()=>{U()}),Le=Lo(Ad(a));return Le.addEventListener("resize",Ce),()=>{Ce.clear(),Le.removeEventListener("resize",Ce)}},[a,A,U]);let Z=O;const E={slots:{transition:C,...j},slotProps:{transition:D,paper:b,...S}},[q,X]=pt("transition",{elementType:wu,externalForwardedProps:E,ownerState:R,getSlotProps:Ce=>({...Ce,onEntering:(Le,Pe)=>{var Ie;(Ie=Ce.onEntering)==null||Ie.call(Ce,Le,Pe),oe()},onExited:Le=>{var Pe;(Pe=Ce.onExited)==null||Pe.call(Ce,Le),K()}}),additionalProps:{appear:!0,in:A}});O==="auto"&&!q.muiSupportAuto&&(Z=void 0);const $=m||(a?lr(Ad(a)).body:void 0),[ee,{slots:se,slotProps:ae,...ye}]=pt("root",{ref:n,elementType:fT,externalForwardedProps:{...E,...M},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:j.backdrop},slotProps:{backdrop:ig(typeof S.backdrop=="function"?S.backdrop(R):S.backdrop,{invisible:!0})},container:$,open:A},ownerState:R,className:Oe(H.root,h)}),[le,we]=pt("paper",{ref:L,className:H.paper,elementType:k1,externalForwardedProps:E,shouldForwardComponentProp:!0,additionalProps:{elevation:g,style:_?void 0:{opacity:0}},ownerState:R});return v.jsx(ee,{...ye,...!bu(ee)&&{slots:se,slotProps:ae,disableScrollLock:T},children:v.jsx(q,{...X,timeout:Z,children:v.jsx(le,{...we,children:p})})})});function pT(e){return Qe("MuiMenu",e)}Ke("MuiMenu",["root","paper","list"]);const vT={vertical:"top",horizontal:"right"},hT={vertical:"top",horizontal:"left"},mT=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"],list:["list"]},pT,t)},yT=pe(dT,{shouldForwardProp:e=>Gn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),gT=pe(k1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),AT=pe(lT,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Hu=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:u=!1,MenuListProps:f={},onClose:p,open:h,PaperProps:m={},PopoverClasses:g,transitionDuration:w="auto",TransitionProps:{onEntering:A,...b}={},variant:j="selectedMenu",slots:S={},slotProps:z={},...C}=r,O=Iu(),D={...r,autoFocus:s,disableAutoFocusItem:u,MenuListProps:f,onEntering:A,PaperProps:m,transitionDuration:w,TransitionProps:b,variant:j},T=mT(D),M=s&&!u&&h,L=P.useRef(null),R=(Z,E)=>{L.current&&L.current.adjustStyleForScrollbar(Z,{direction:O?"rtl":"ltr"}),A&&A(Z,E)},H=Z=>{Z.key==="Tab"&&(Z.preventDefault(),p&&p(Z,"tabKeyDown"))};let N=-1;P.Children.map(a,(Z,E)=>{P.isValidElement(Z)&&(Z.props.disabled||(j==="selectedMenu"&&Z.props.selected||N===-1)&&(N=E))});const B={slots:S,slotProps:{list:f,transition:b,paper:m,...z}},W=J0({elementType:S.root,externalSlotProps:z.root,ownerState:D,className:[T.root,l]}),[_,J]=pt("paper",{className:T.paper,elementType:gT,externalForwardedProps:B,shouldForwardComponentProp:!0,ownerState:D}),[U,oe]=pt("list",{className:Oe(T.list,f.className),elementType:AT,shouldForwardComponentProp:!0,externalForwardedProps:B,getSlotProps:Z=>({...Z,onKeyDown:E=>{var q;H(E),(q=Z.onKeyDown)==null||q.call(Z,E)}}),ownerState:D}),K=typeof B.slotProps.transition=="function"?B.slotProps.transition(D):B.slotProps.transition;return v.jsx(yT,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?vT:hT,slots:{root:S.root,paper:_,backdrop:S.backdrop,...S.transition&&{transition:S.transition}},slotProps:{root:W,paper:J,backdrop:typeof z.backdrop=="function"?z.backdrop(D):z.backdrop,transition:{...K,onEntering:(...Z)=>{var E;R(...Z),(E=K==null?void 0:K.onEntering)==null||E.call(K,...Z)}}},open:h,ref:n,transitionDuration:w,ownerState:D,...C,classes:g,children:v.jsx(U,{actions:L,autoFocus:s&&(N===-1||u),autoFocusItem:M,variant:j,...oe,children:a})})});function PT(e){return Qe("MuiMenuItem",e)}const Rc=Ke("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),bT=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},xT=e=>{const{disabled:t,dense:n,divider:r,disableGutters:s,selected:a,classes:l}=e,f=_e({root:["root",n&&"dense",t&&"disabled",!s&&"gutters",r&&"divider",a&&"selected"]},PT,l);return{...l,...f}},wT=pe(ha,{shouldForwardProp:e=>Gn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:bT})(nt(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Rc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Rc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Rc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Rc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Rc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${ux.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${ux.inset}`]:{marginLeft:52},[`& .${cl.root}`]:{marginTop:0,marginBottom:0},[`& .${cl.inset}`]:{paddingLeft:36},[`& .${yx.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${yx.root} svg`]:{fontSize:"1.25rem"}}}]}))),ss=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiMenuItem"}),{autoFocus:s=!1,component:a="li",dense:l=!1,divider:u=!1,disableGutters:f=!1,focusVisibleClassName:p,role:h="menuitem",tabIndex:m,className:g,...w}=r,A=P.useContext(Ro),b=P.useMemo(()=>({dense:l||A.dense||!1,disableGutters:f}),[A.dense,l,f]),j=P.useRef(null);Zr(()=>{s&&j.current&&j.current.focus()},[s]);const S={...r,dense:b.dense,divider:u,disableGutters:f},z=xT(r),C=pn(j,n);let O;return r.disabled||(O=m!==void 0?m:-1),v.jsx(Ro.Provider,{value:b,children:v.jsx(wT,{ref:C,role:h,tabIndex:O,component:a,focusVisibleClassName:Oe(z.focusVisible,p),className:Oe(z.root,g),...w,ownerState:S,classes:z})})});function HT(e){return Qe("MuiNativeSelect",e)}const wg=Ke("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),jT=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,u={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${me(n)}`,a&&"iconOpen",r&&"disabled"]};return _e(u,HT,t)},T1=pe("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${wg.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),zT=pe(T1,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Gn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${wg.multiple}`]:t.multiple}]}})({}),E1=pe("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${wg.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),ST=pe(E1,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${me(n.variant)}`],n.open&&t.iconOpen]}})({}),CT=P.forwardRef(function(t,n){const{className:r,disabled:s,error:a,IconComponent:l,inputRef:u,variant:f="standard",...p}=t,h={...t,disabled:s,variant:f,error:a},m=jT(h);return v.jsxs(P.Fragment,{children:[v.jsx(zT,{ownerState:h,className:Oe(m.select,r),disabled:s,ref:u||n,...p}),t.multiple?null:v.jsx(ST,{as:l,ownerState:h,className:m.icon})]})});var xx;const OT=pe("fieldset",{shouldForwardProp:Gn})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),DT=pe("legend",{shouldForwardProp:Gn})(nt(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function kT(e){const{children:t,classes:n,className:r,label:s,notched:a,...l}=e,u=s!=null&&s!=="",f={...e,notched:a,withLabel:u};return v.jsx(OT,{"aria-hidden":!0,className:r,ownerState:f,...l,children:v.jsx(DT,{ownerState:f,children:u?v.jsx("span",{children:s}):xx||(xx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const TT=e=>{const{classes:t}=e,r=_e({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},IC,t);return{...t,...r}},ET=pe(Ip,{shouldForwardProp:e=>Gn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Bp})(nt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${so.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${so.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${so.focused} .${so.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(gn()).map(([n])=>({props:{color:n},style:{[`&.${so.focused} .${so.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${so.error} .${so.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${so.disabled} .${so.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),RT=pe(kT,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(nt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),MT=pe(Wp,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Vp})(nt(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),Hg=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiOutlinedInput"}),{components:s={},fullWidth:a=!1,inputComponent:l="input",label:u,multiline:f=!1,notched:p,slots:h={},slotProps:m={},type:g="text",...w}=r,A=TT(r),b=Io(),j=Ci({props:r,muiFormControl:b,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S={...r,color:j.color||"primary",disabled:j.disabled,error:j.error,focused:j.focused,formControl:b,fullWidth:a,hiddenLabel:j.hiddenLabel,multiline:f,size:j.size,type:g},z=h.root??s.Root??ET,C=h.input??s.Input??MT,[O,D]=pt("notchedOutline",{elementType:RT,className:A.notchedOutline,shouldForwardComponentProp:!0,ownerState:S,externalForwardedProps:{slots:h,slotProps:m},additionalProps:{label:u!=null&&u!==""&&j.required?v.jsxs(P.Fragment,{children:[u," ","*"]}):u}});return v.jsx(Jp,{slots:{root:z,input:C},slotProps:m,renderSuffix:T=>v.jsx(O,{...D,notched:typeof p<"u"?p:!!(T.startAdornment||T.filled||T.focused)}),fullWidth:a,inputComponent:l,multiline:f,ref:n,type:g,...w,classes:{...A,notchedOutline:null}})});Hg.muiName="Input";const LT=bt(v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),XT=bt(v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),NT=bt(v.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),BT=bt(v.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),VT=pe("span",{shouldForwardProp:Gn})({position:"relative",display:"flex"}),IT=pe(NT)({transform:"scale(1)"}),WT=pe(BT)(nt(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function R1(e){const{checked:t=!1,classes:n={},fontSize:r}=e,s={...e,checked:t};return v.jsxs(VT,{className:n.root,ownerState:s,children:[v.jsx(IT,{fontSize:r,className:n.background,ownerState:s}),v.jsx(WT,{fontSize:r,className:n.dot,ownerState:s})]})}const M1=P.createContext(void 0);function JT(){return P.useContext(M1)}function FT(e){return Qe("MuiRadio",e)}const wx=Ke("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),YT=e=>{const{classes:t,color:n,size:r}=e,s={root:["root",`color${me(n)}`,r!=="medium"&&`size${me(r)}`]};return{...t,..._e(s,FT,t)}},qT=pe(Ag,{shouldForwardProp:e=>Gn(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${me(n.size)}`],t[`color${me(n.color)}`]]}})(nt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${wx.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${wx.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function ZT(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const GT=v.jsx(R1,{checked:!0}),UT=v.jsx(R1,{}),ju=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=GT,color:l="primary",icon:u=UT,name:f,onChange:p,size:h="medium",className:m,disabled:g,disableRipple:w=!1,slots:A={},slotProps:b={},inputProps:j,...S}=r,z=Io();let C=g;z&&typeof C>"u"&&(C=z.disabled),C??(C=!1);const O={...r,disabled:C,disableRipple:w,color:l,size:h},D=YT(O),T=JT();let M=s;const L=Wm(p,T&&T.onChange);let R=f;T&&(typeof M>"u"&&(M=ZT(T.value,r.value)),typeof R>"u"&&(R=T.name));const H=b.input??j,[N,B]=pt("root",{ref:n,elementType:qT,className:Oe(D.root,m),shouldForwardComponentProp:!0,externalForwardedProps:{slots:A,slotProps:b,...S},getSlotProps:W=>({...W,onChange:(_,...J)=>{var U;(U=W.onChange)==null||U.call(W,_,...J),L(_,...J)}}),ownerState:O,additionalProps:{type:"radio",icon:P.cloneElement(u,{fontSize:u.props.fontSize??h}),checkedIcon:P.cloneElement(a,{fontSize:a.props.fontSize??h}),disabled:C,name:R,checked:M,slots:A,slotProps:{input:typeof H=="function"?H(O):H}}});return v.jsx(N,{...B,classes:D})});function QT(e){return Qe("MuiRadioGroup",e)}Ke("MuiRadioGroup",["root","row","error"]);const KT=e=>{const{classes:t,row:n,error:r}=e;return _e({root:["root",n&&"row",r&&"error"]},QT,t)},ip=P.forwardRef(function(t,n){const{actions:r,children:s,className:a,defaultValue:l,name:u,onChange:f,value:p,...h}=t,m=P.useRef(null),g=KT(t),[w,A]=xi({controlled:p,default:l,name:"RadioGroup"});P.useImperativeHandle(r,()=>({focus:()=>{let z=m.current.querySelector("input:not(:disabled):checked");z||(z=m.current.querySelector("input:not(:disabled)")),z&&z.focus()}}),[]);const b=pn(n,m),j=Xo(u),S=P.useMemo(()=>({name:j,onChange(z){A(z.target.value),f&&f(z,z.target.value)},value:w}),[j,f,A,w]);return v.jsx(M1.Provider,{value:S,children:v.jsx(rk,{role:"radiogroup",ref:b,className:Oe(g.root,a),...h,children:s})})});function L1(e){return Qe("MuiSelect",e)}const Mc=Ke("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Hx;const _T=pe(T1,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Mc.select}`]:t.select},{[`&.${Mc.select}`]:t[n.variant]},{[`&.${Mc.error}`]:t.error},{[`&.${Mc.multiple}`]:t.multiple}]}})({[`&.${Mc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),$T=pe(E1,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${me(n.variant)}`],n.open&&t.iconOpen]}})({}),eE=pe("input",{shouldForwardProp:e=>t1(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function jx(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function tE(e){return e==null||typeof e=="string"&&!e.trim()}const nE=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,u={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${me(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return _e(u,L1,t)},rE=P.forwardRef(function(t,n){var qt;const{"aria-describedby":r,"aria-label":s,autoFocus:a,autoWidth:l,children:u,className:f,defaultOpen:p,defaultValue:h,disabled:m,displayEmpty:g,error:w=!1,IconComponent:A,inputRef:b,labelId:j,MenuProps:S={},multiple:z,name:C,onBlur:O,onChange:D,onClose:T,onFocus:M,onOpen:L,open:R,readOnly:H,renderValue:N,required:B,SelectDisplayProps:W={},tabIndex:_,type:J,value:U,variant:oe="standard",...K}=t,[Z,E]=xi({controlled:U,default:h,name:"Select"}),[q,X]=xi({controlled:R,default:p,name:"Select"}),$=P.useRef(null),ee=P.useRef(null),[se,ae]=P.useState(null),{current:ye}=P.useRef(R!=null),[le,we]=P.useState(),Ce=pn(n,b),Le=P.useCallback(Y=>{ee.current=Y,Y&&ae(Y)},[]),Pe=se==null?void 0:se.parentNode;P.useImperativeHandle(Ce,()=>({focus:()=>{ee.current.focus()},node:$.current,value:Z}),[Z]),P.useEffect(()=>{p&&q&&se&&!ye&&(we(l?null:Pe.clientWidth),ee.current.focus())},[se,l]),P.useEffect(()=>{a&&ee.current.focus()},[a]),P.useEffect(()=>{if(!j)return;const Y=lr(ee.current).getElementById(j);if(Y){const F=()=>{getSelection().isCollapsed&&ee.current.focus()};return Y.addEventListener("click",F),()=>{Y.removeEventListener("click",F)}}},[j]);const Ie=(Y,F)=>{Y?L&&L(F):T&&T(F),ye||(we(l?null:Pe.clientWidth),X(Y))},be=Y=>{Y.button===0&&(Y.preventDefault(),ee.current.focus(),Ie(!0,Y))},Ve=Y=>{Ie(!1,Y)},Pt=P.Children.toArray(u),Ne=Y=>{const F=Pt.find(ge=>ge.props.value===Y.target.value);F!==void 0&&(E(F.props.value),D&&D(Y,F))},gt=Y=>F=>{let ge;if(F.currentTarget.hasAttribute("tabindex")){if(z){ge=Array.isArray(Z)?Z.slice():[];const je=Z.indexOf(Y.props.value);je===-1?ge.push(Y.props.value):ge.splice(je,1)}else ge=Y.props.value;if(Y.props.onClick&&Y.props.onClick(F),Z!==ge&&(E(ge),D)){const je=F.nativeEvent||F,Ee=new je.constructor(je.type,je);Object.defineProperty(Ee,"target",{writable:!0,value:{value:ge,name:C}}),D(Ee,Y)}z||Ie(!1,F)}},ft=Y=>{H||[" ","ArrowUp","ArrowDown","Enter"].includes(Y.key)&&(Y.preventDefault(),Ie(!0,Y))},V=se!==null&&q,te=Y=>{!V&&O&&(Object.defineProperty(Y,"target",{writable:!0,value:{value:Z,name:C}}),O(Y))};delete K["aria-invalid"];let ne,He;const he=[];let xe=!1;(sp({value:Z})||g)&&(N?ne=N(Z):xe=!0);const Be=Pt.map(Y=>{if(!P.isValidElement(Y))return null;let F;if(z){if(!Array.isArray(Z))throw new Error(Rs(2));F=Z.some(ge=>jx(ge,Y.props.value)),F&&xe&&he.push(Y.props.children)}else F=jx(Z,Y.props.value),F&&xe&&(He=Y.props.children);return P.cloneElement(Y,{"aria-selected":F?"true":"false",onClick:gt(Y),onKeyUp:ge=>{ge.key===" "&&ge.preventDefault(),Y.props.onKeyUp&&Y.props.onKeyUp(ge)},role:"option",selected:F,value:void 0,"data-value":Y.props.value})});xe&&(z?he.length===0?ne=null:ne=he.reduce((Y,F,ge)=>(Y.push(F),ge{const{classes:t}=e,r=_e({root:["root"]},L1,t);return{...t,...r}},jg={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Gn(e)&&e!=="variant",slot:"Root"},sE=pe(xg,jg)(""),iE=pe(Hg,jg)(""),aE=pe(bg,jg)(""),zu=P.forwardRef(function(t,n){const r=rt({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:a,classes:l={},className:u,defaultOpen:f=!1,displayEmpty:p=!1,IconComponent:h=m1,id:m,input:g,inputProps:w,label:A,labelId:b,MenuProps:j,multiple:S=!1,native:z=!1,onClose:C,onOpen:O,open:D,renderValue:T,SelectDisplayProps:M,variant:L="outlined",...R}=r,H=z?CT:rE,N=Io(),B=Ci({props:r,muiFormControl:N,states:["variant","error"]}),W=B.variant||L,_={...r,variant:W,classes:l},J=oE(_),{root:U,...oe}=J,K=g||{standard:v.jsx(sE,{ownerState:_}),outlined:v.jsx(iE,{label:A,ownerState:_}),filled:v.jsx(aE,{ownerState:_})}[W],Z=pn(n,zi(K));return v.jsx(P.Fragment,{children:P.cloneElement(K,{inputComponent:H,inputProps:{children:a,error:B.error,IconComponent:h,variant:W,type:void 0,multiple:S,...z?{id:m}:{autoWidth:s,defaultOpen:f,displayEmpty:p,labelId:b,MenuProps:j,onClose:C,onOpen:O,open:D,renderValue:T,SelectDisplayProps:{id:m,...M}},...w,classes:w?Zn(oe,w.classes):oe,...g?g.props.inputProps:{}},...(S&&z||p)&&W==="outlined"?{notched:!0}:{},ref:Z,className:Oe(K.props.className,u,J.root),...!g&&{variant:W},...R})})});zu.muiName="Select";function lE(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:s,resumeHideDuration:a}=e,l=Qi();P.useEffect(()=>{if(!s)return;function S(z){z.defaultPrevented||z.key==="Escape"&&(r==null||r(z,"escapeKeyDown"))}return document.addEventListener("keydown",S),()=>{document.removeEventListener("keydown",S)}},[s,r]);const u=ar((S,z)=>{r==null||r(S,z)}),f=ar(S=>{!r||S==null||l.start(S,()=>{u(null,"timeout")})});P.useEffect(()=>(s&&f(t),l.clear),[s,t,f,l]);const p=S=>{r==null||r(S,"clickaway")},h=l.clear,m=P.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),g=S=>z=>{const C=S.onBlur;C==null||C(z),m()},w=S=>z=>{const C=S.onFocus;C==null||C(z),h()},A=S=>z=>{const C=S.onMouseEnter;C==null||C(z),h()},b=S=>z=>{const C=S.onMouseLeave;C==null||C(z),m()};return P.useEffect(()=>{if(!n&&s)return window.addEventListener("focus",m),window.addEventListener("blur",h),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",h)}},[n,s,m,h]),{getRootProps:(S={})=>{const z={...ep(e),...ep(S)};return{role:"presentation",...S,...z,onBlur:g(z),onFocus:w(z),onMouseEnter:A(z),onMouseLeave:b(z)}},onClickAway:p}}function cE(e){return Qe("MuiSnackbarContent",e)}Ke("MuiSnackbarContent",["root","message","action"]);const uE=e=>{const{classes:t}=e;return _e({root:["root"],action:["action"],message:["message"]},cE,t)},fE=pe(Gr,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(nt(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=X0(e.palette.background.default,t);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),dE=pe("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),pE=pe("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),vE=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiSnackbarContent"}),{action:s,className:a,message:l,role:u="alert",...f}=r,p=r,h=uE(p);return v.jsxs(fE,{role:u,square:!0,elevation:6,className:Oe(h.root,a),ownerState:p,ref:n,...f,children:[v.jsx(dE,{className:h.message,ownerState:p,children:l}),s?v.jsx(pE,{className:h.action,ownerState:p,children:s}):null]})});function hE(e){return Qe("MuiSnackbar",e)}Ke("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const mE=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${me(n.vertical)}${me(n.horizontal)}`]};return _e(r,hE,t)},yE=pe("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${me(n.anchorOrigin.vertical)}${me(n.anchorOrigin.horizontal)}`]]}})(nt(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:t})=>t.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:t})=>t.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),gE=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiSnackbar"}),s=Qr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{action:l,anchorOrigin:{vertical:u,horizontal:f}={vertical:"bottom",horizontal:"left"},autoHideDuration:p=null,children:h,className:m,ClickAwayListenerProps:g,ContentProps:w,disableWindowBlurListener:A=!1,message:b,onBlur:j,onClose:S,onFocus:z,onMouseEnter:C,onMouseLeave:O,open:D,resumeHideDuration:T,slots:M={},slotProps:L={},TransitionComponent:R,transitionDuration:H=a,TransitionProps:{onEnter:N,onExited:B,...W}={},..._}=r,J={...r,anchorOrigin:{vertical:u,horizontal:f},autoHideDuration:p,disableWindowBlurListener:A,TransitionComponent:R,transitionDuration:H},U=mE(J),{getRootProps:oe,onClickAway:K}=lE({...J}),[Z,E]=P.useState(!0),q=Ie=>{E(!0),B&&B(Ie)},X=(Ie,be)=>{E(!1),N&&N(Ie,be)},$={slots:{transition:R,...M},slotProps:{content:w,clickAwayListener:g,transition:W,...L}},[ee,se]=pt("root",{ref:n,className:[U.root,m],elementType:yE,getSlotProps:oe,externalForwardedProps:{...$,..._},ownerState:J}),[ae,{ownerState:ye,...le}]=pt("clickAwayListener",{elementType:b1,externalForwardedProps:$,getSlotProps:Ie=>({onClickAway:(...be)=>{var Ve;(Ve=Ie.onClickAway)==null||Ve.call(Ie,...be),K(...be)}}),ownerState:J}),[we,Ce]=pt("content",{elementType:vE,shouldForwardComponentProp:!0,externalForwardedProps:$,additionalProps:{message:b,action:l},ownerState:J}),[Le,Pe]=pt("transition",{elementType:wu,externalForwardedProps:$,getSlotProps:Ie=>({onEnter:(...be)=>{var Ve;(Ve=Ie.onEnter)==null||Ve.call(Ie,...be),X(...be)},onExited:(...be)=>{var Ve;(Ve=Ie.onExited)==null||Ve.call(Ie,...be),q(...be)}}),additionalProps:{appear:!0,in:D,timeout:H,direction:u==="top"?"down":"up"},ownerState:J});return!D&&Z?null:v.jsx(ae,{...le,...M.clickAwayListener&&{ownerState:ye},children:v.jsx(ee,{...se,children:v.jsx(Le,{...Pe,children:h||v.jsx(we,{...Ce})})})})});function AE(e){return Qe("MuiTooltip",e)}const Sn=Ke("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function PE(e){return Math.round(e*1e5)/1e5}const bE=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:s,placement:a}=e,l={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",s&&"touch",`tooltipPlacement${me(a.split("-")[0])}`],arrow:["arrow"]};return _e(l,AE,t)},xE=pe(Xp,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(nt(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Sn.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Sn.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Sn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Sn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Sn.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Sn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Sn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Sn.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),wE=pe("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${me(n.placement.split("-")[0])}`]]}})(nt(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:xt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Sn.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Sn.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Sn.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${PE(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Sn.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Sn.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),HE=pe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(nt(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:xt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Pd=!1;const zx=new Rp;let Lc={x:0,y:0};function bd(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const zg=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTooltip"}),{arrow:s=!1,children:a,classes:l,components:u={},componentsProps:f={},describeChild:p=!1,disableFocusListener:h=!1,disableHoverListener:m=!1,disableInteractive:g=!1,disableTouchListener:w=!1,enterDelay:A=100,enterNextDelay:b=0,enterTouchDelay:j=700,followCursor:S=!1,id:z,leaveDelay:C=0,leaveTouchDelay:O=1500,onClose:D,onOpen:T,open:M,placement:L="bottom",PopperComponent:R,PopperProps:H={},slotProps:N={},slots:B={},title:W,TransitionComponent:_,TransitionProps:J,...U}=r,oe=P.isValidElement(a)?a:v.jsx("span",{children:a}),K=Qr(),Z=Iu(),[E,q]=P.useState(),[X,$]=P.useState(null),ee=P.useRef(!1),se=g||S,ae=Qi(),ye=Qi(),le=Qi(),we=Qi(),[Ce,Le]=xi({controlled:M,default:!1,name:"Tooltip",state:"open"});let Pe=Ce;const Ie=Xo(z),be=P.useRef(),Ve=ar(()=>{be.current!==void 0&&(document.body.style.WebkitUserSelect=be.current,be.current=void 0),we.clear()});P.useEffect(()=>Ve,[Ve]);const Pt=Ye=>{zx.clear(),Pd=!0,Le(!0),T&&!Pe&&T(Ye)},Ne=ar(Ye=>{zx.start(800+C,()=>{Pd=!1}),Le(!1),D&&Pe&&D(Ye),ae.start(K.transitions.duration.shortest,()=>{ee.current=!1})}),gt=Ye=>{ee.current&&Ye.type!=="touchstart"||(E&&E.removeAttribute("title"),ye.clear(),le.clear(),A||Pd&&b?ye.start(Pd?b:A,()=>{Pt(Ye)}):Pt(Ye))},ft=Ye=>{ye.clear(),le.start(C,()=>{Ne(Ye)})},[,V]=P.useState(!1),te=Ye=>{Cl(Ye.target)||(V(!1),ft(Ye))},ne=Ye=>{E||q(Ye.currentTarget),Cl(Ye.target)&&(V(!0),gt(Ye))},He=Ye=>{ee.current=!0;const Rt=oe.props;Rt.onTouchStart&&Rt.onTouchStart(Ye)},he=Ye=>{He(Ye),le.clear(),ae.clear(),Ve(),be.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",we.start(j,()=>{document.body.style.WebkitUserSelect=be.current,gt(Ye)})},xe=Ye=>{oe.props.onTouchEnd&&oe.props.onTouchEnd(Ye),Ve(),le.start(O,()=>{Ne(Ye)})};P.useEffect(()=>{if(!Pe)return;function Ye(Rt){Rt.key==="Escape"&&Ne(Rt)}return document.addEventListener("keydown",Ye),()=>{document.removeEventListener("keydown",Ye)}},[Ne,Pe]);const Be=pn(zi(oe),q,n);!W&&W!==0&&(Pe=!1);const ot=P.useRef(),Fe=Ye=>{const Rt=oe.props;Rt.onMouseMove&&Rt.onMouseMove(Ye),Lc={x:Ye.clientX,y:Ye.clientY},ot.current&&ot.current.update()},ct={},et=typeof W=="string";p?(ct.title=!Pe&&et&&!m?W:null,ct["aria-describedby"]=Pe?Ie:null):(ct["aria-label"]=et?W:null,ct["aria-labelledby"]=Pe&&!et?Ie:null);const We={...ct,...U,...oe.props,className:Oe(U.className,oe.props.className),onTouchStart:He,ref:Be,...S?{onMouseMove:Fe}:{}},Ot={};w||(We.onTouchStart=he,We.onTouchEnd=xe),m||(We.onMouseOver=bd(gt,We.onMouseOver),We.onMouseLeave=bd(ft,We.onMouseLeave),se||(Ot.onMouseOver=gt,Ot.onMouseLeave=ft)),h||(We.onFocus=bd(ne,We.onFocus),We.onBlur=bd(te,We.onBlur),se||(Ot.onFocus=ne,Ot.onBlur=te));const zt={...r,isRtl:Z,arrow:s,disableInteractive:se,placement:L,PopperComponentProp:R,touch:ee.current},qt=typeof N.popper=="function"?N.popper(zt):N.popper,Y=P.useMemo(()=>{var Rt,vn;let Ye=[{name:"arrow",enabled:!!X,options:{element:X,padding:4}}];return(Rt=H.popperOptions)!=null&&Rt.modifiers&&(Ye=Ye.concat(H.popperOptions.modifiers)),(vn=qt==null?void 0:qt.popperOptions)!=null&&vn.modifiers&&(Ye=Ye.concat(qt.popperOptions.modifiers)),{...H.popperOptions,...qt==null?void 0:qt.popperOptions,modifiers:Ye}},[X,H.popperOptions,qt==null?void 0:qt.popperOptions]),F=bE(zt),ge=typeof N.transition=="function"?N.transition(zt):N.transition,je={slots:{popper:u.Popper,transition:u.Transition??_,tooltip:u.Tooltip,arrow:u.Arrow,...B},slotProps:{arrow:N.arrow??f.arrow,popper:{...H,...qt??f.popper},tooltip:N.tooltip??f.tooltip,transition:{...J,...ge??f.transition}}},[Ee,Xe]=pt("popper",{elementType:xE,externalForwardedProps:je,ownerState:zt,className:Oe(F.popper,H==null?void 0:H.className)}),[Ge,ke]=pt("transition",{elementType:wu,externalForwardedProps:je,ownerState:zt}),[it,vt]=pt("tooltip",{elementType:wE,className:F.tooltip,externalForwardedProps:je,ownerState:zt}),[Xt,Qt]=pt("arrow",{elementType:HE,className:F.arrow,externalForwardedProps:je,ownerState:zt,ref:$});return v.jsxs(P.Fragment,{children:[P.cloneElement(oe,We),v.jsx(Ee,{as:R??Xp,placement:L,anchorEl:S?{getBoundingClientRect:()=>({top:Lc.y,left:Lc.x,right:Lc.x,bottom:Lc.y,width:0,height:0})}:E,popperRef:ot,open:E?Pe:!1,id:Ie,transition:!0,...Ot,...Xe,popperOptions:Y,children:({TransitionProps:Ye})=>v.jsx(Ge,{timeout:K.transitions.duration.shorter,...Ye,...ke,children:v.jsxs(it,{...vt,children:[W,s?v.jsx(Xt,{...Qt}):null]})})})]})}),fs=vj({createStyledComponent:pe("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>rt({props:e,name:"MuiStack"})});function jE(e){return Qe("MuiSwitch",e)}const dr=Ke("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),zE=e=>{const{classes:t,edge:n,size:r,color:s,checked:a,disabled:l}=e,u={root:["root",n&&`edge${me(n)}`,`size${me(r)}`],switchBase:["switchBase",`color${me(s)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=_e(u,jE,t);return{...t,...f}},SE=pe("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${me(n.edge)}`],t[`size${me(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${dr.thumb}`]:{width:16,height:16},[`& .${dr.switchBase}`]:{padding:4,[`&.${dr.checked}`]:{transform:"translateX(16px)"}}}}]}),CE=pe(Ag,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${dr.input}`]:t.input},n.color!=="default"&&t[`color${me(n.color)}`]]}})(nt(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${dr.checked}`]:{transform:"translateX(20px)"},[`&.${dr.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${dr.checked} + .${dr.track}`]:{opacity:.5},[`&.${dr.disabled} + .${dr.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${dr.input}`]:{left:"-100%",width:"300%"}})),nt(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(gn(["light"])).map(([t])=>({props:{color:t},style:{[`&.${dr.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${dr.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?va(e.palette[t].main,.62):pa(e.palette[t].main,.55)}`}},[`&.${dr.checked} + .${dr.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),OE=pe("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(nt(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),DE=pe("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(nt(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),X1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiSwitch"}),{className:s,color:a="primary",edge:l=!1,size:u="medium",sx:f,slots:p={},slotProps:h={},...m}=r,g={...r,color:a,edge:l,size:u},w=zE(g),A={slots:p,slotProps:h},[b,j]=pt("root",{className:Oe(w.root,s),elementType:SE,externalForwardedProps:A,ownerState:g,additionalProps:{sx:f}}),[S,z]=pt("thumb",{className:w.thumb,elementType:DE,externalForwardedProps:A,ownerState:g}),C=v.jsx(S,{...z}),[O,D]=pt("track",{className:w.track,elementType:OE,externalForwardedProps:A,ownerState:g});return v.jsxs(b,{...j,children:[v.jsx(CE,{type:"checkbox",icon:C,checkedIcon:C,ref:n,ownerState:g,...m,classes:{...w,root:w.switchBase},slots:{...p.switchBase&&{root:p.switchBase},...p.input&&{input:p.input}},slotProps:{...h.switchBase&&{root:typeof h.switchBase=="function"?h.switchBase(g):h.switchBase},...h.input&&{input:typeof h.input=="function"?h.input(g):h.input}}}),v.jsx(O,{...D})]})}),N1=P.createContext();function kE(e){return Qe("MuiTable",e)}Ke("MuiTable",["root","stickyHeader"]);const TE=e=>{const{classes:t,stickyHeader:n}=e;return _e({root:["root",n&&"stickyHeader"]},kE,t)},EE=pe("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(nt(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),Sx="table",B1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTable"}),{className:s,component:a=Sx,padding:l="normal",size:u="medium",stickyHeader:f=!1,...p}=r,h={...r,component:a,padding:l,size:u,stickyHeader:f},m=TE(h),g=P.useMemo(()=>({padding:l,size:u,stickyHeader:f}),[l,u,f]);return v.jsx(N1.Provider,{value:g,children:v.jsx(EE,{as:a,role:a===Sx?null:"table",ref:n,className:Oe(m.root,s),ownerState:h,...p})})}),qu=P.createContext();function RE(e){return Qe("MuiTableBody",e)}Ke("MuiTableBody",["root"]);const ME=e=>{const{classes:t}=e;return _e({root:["root"]},RE,t)},LE=pe("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),XE={variant:"body"},Cx="tbody",V1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTableBody"}),{className:s,component:a=Cx,...l}=r,u={...r,component:a},f=ME(u);return v.jsx(qu.Provider,{value:XE,children:v.jsx(LE,{className:Oe(f.root,s),as:a,ref:n,role:a===Cx?null:"rowgroup",ownerState:u,...l})})});function NE(e){return Qe("MuiTableCell",e)}const BE=Ke("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),VE=e=>{const{classes:t,variant:n,align:r,padding:s,size:a,stickyHeader:l}=e,u={root:["root",n,l&&"stickyHeader",r!=="inherit"&&`align${me(r)}`,s!=="normal"&&`padding${me(s)}`,`size${me(a)}`]};return _e(u,NE,t)},IE=pe("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${me(n.size)}`],n.padding!=="normal"&&t[`padding${me(n.padding)}`],n.align!=="inherit"&&t[`align${me(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(nt(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid + ${e.palette.mode==="light"?va(xt(e.palette.divider,1),.88):pa(xt(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${BE.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),hr=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTableCell"}),{align:s="inherit",className:a,component:l,padding:u,scope:f,size:p,sortDirection:h,variant:m,...g}=r,w=P.useContext(N1),A=P.useContext(qu),b=A&&A.variant==="head";let j;l?j=l:j=b?"th":"td";let S=f;j==="td"?S=void 0:!S&&b&&(S="col");const z=m||A&&A.variant,C={...r,align:s,component:j,padding:u||(w&&w.padding?w.padding:"normal"),size:p||(w&&w.size?w.size:"medium"),sortDirection:h,stickyHeader:z==="head"&&w&&w.stickyHeader,variant:z},O=VE(C);let D=null;return h&&(D=h==="asc"?"ascending":"descending"),v.jsx(IE,{as:j,ref:n,className:Oe(O.root,a),"aria-sort":D,scope:S,ownerState:C,...g})});function WE(e){return Qe("MuiTableContainer",e)}Ke("MuiTableContainer",["root"]);const JE=e=>{const{classes:t}=e;return _e({root:["root"]},WE,t)},FE=pe("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),I1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTableContainer"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=JE(u);return v.jsx(FE,{ref:n,as:a,className:Oe(f.root,s),ownerState:u,...l})});function YE(e){return Qe("MuiTableFooter",e)}Ke("MuiTableFooter",["root"]);const qE=e=>{const{classes:t}=e;return _e({root:["root"]},YE,t)},ZE=pe("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),GE={variant:"footer"},Ox="tfoot",UE=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTableFooter"}),{className:s,component:a=Ox,...l}=r,u={...r,component:a},f=qE(u);return v.jsx(qu.Provider,{value:GE,children:v.jsx(ZE,{as:a,className:Oe(f.root,s),ref:n,role:a===Ox?null:"rowgroup",ownerState:u,...l})})});function QE(e){return Qe("MuiTableHead",e)}Ke("MuiTableHead",["root"]);const KE=e=>{const{classes:t}=e;return _e({root:["root"]},QE,t)},_E=pe("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),$E={variant:"head"},Dx="thead",eR=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTableHead"}),{className:s,component:a=Dx,...l}=r,u={...r,component:a},f=KE(u);return v.jsx(qu.Provider,{value:$E,children:v.jsx(_E,{as:a,className:Oe(f.root,s),ref:n,role:a===Dx?null:"rowgroup",ownerState:u,...l})})});function tR(e){return Qe("MuiToolbar",e)}Ke("MuiToolbar",["root","gutters","regular","dense"]);const nR=e=>{const{classes:t,disableGutters:n,variant:r}=e;return _e({root:["root",!n&&"gutters",r]},tR,t)},rR=pe("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(nt(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),W1=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiToolbar"}),{className:s,component:a="div",disableGutters:l=!1,variant:u="regular",...f}=r,p={...r,component:a,disableGutters:l,variant:u},h=nR(p);return v.jsx(rR,{as:a,className:Oe(h.root,s),ref:n,ownerState:p,...f})}),oR=bt(v.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),sR=bt(v.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),iR=P.forwardRef(function(t,n){const{backIconButtonProps:r,count:s,disabled:a=!1,getItemAriaLabel:l,nextIconButtonProps:u,onPageChange:f,page:p,rowsPerPage:h,showFirstButton:m,showLastButton:g,slots:w={},slotProps:A={},...b}=t,j=Iu(),S=q=>{f(q,0)},z=q=>{f(q,p-1)},C=q=>{f(q,p+1)},O=q=>{f(q,Math.max(0,Math.ceil(s/h)-1))},D=w.firstButton??Cr,T=w.lastButton??Cr,M=w.nextButton??Cr,L=w.previousButton??Cr,R=w.firstButtonIcon??LT,H=w.lastButtonIcon??XT,N=w.nextButtonIcon??sR,B=w.previousButtonIcon??oR,W=j?T:D,_=j?M:L,J=j?L:M,U=j?D:T,oe=j?A.lastButton:A.firstButton,K=j?A.nextButton:A.previousButton,Z=j?A.previousButton:A.nextButton,E=j?A.firstButton:A.lastButton;return v.jsxs("div",{ref:n,...b,children:[m&&v.jsx(W,{onClick:S,disabled:a||p===0,"aria-label":l("first",p),title:l("first",p),...oe,children:j?v.jsx(H,{...A.lastButtonIcon}):v.jsx(R,{...A.firstButtonIcon})}),v.jsx(_,{onClick:z,disabled:a||p===0,color:"inherit","aria-label":l("previous",p),title:l("previous",p),...K??r,children:j?v.jsx(N,{...A.nextButtonIcon}):v.jsx(B,{...A.previousButtonIcon})}),v.jsx(J,{onClick:C,disabled:a||(s!==-1?p>=Math.ceil(s/h)-1:!1),color:"inherit","aria-label":l("next",p),title:l("next",p),...Z??u,children:j?v.jsx(B,{...A.previousButtonIcon}):v.jsx(N,{...A.nextButtonIcon})}),g&&v.jsx(U,{onClick:O,disabled:a||p>=Math.ceil(s/h)-1,"aria-label":l("last",p),title:l("last",p),...E,children:j?v.jsx(R,{...A.firstButtonIcon}):v.jsx(H,{...A.lastButtonIcon})})]})});function aR(e){return Qe("MuiTablePagination",e)}const fu=Ke("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var kx;const lR=pe(hr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(nt(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),cR=pe(W1,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${fu.actions}`]:t.actions,...t.toolbar})})(nt(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${fu.actions}`]:{flexShrink:0,marginLeft:20}}))),uR=pe("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),fR=pe("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(nt(({theme:e})=>({...e.typography.body2,flexShrink:0}))),dR=pe(zu,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${fu.selectIcon}`]:t.selectIcon,[`& .${fu.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${fu.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),pR=pe(ss,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),vR=pe("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(nt(({theme:e})=>({...e.typography.body2,flexShrink:0})));function hR({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function mR(e){return`Go to ${e} page`}const yR=e=>{const{classes:t}=e;return _e({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},aR,t)},gR=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=iR,backIconButtonProps:a,colSpan:l,component:u=hr,count:f,disabled:p=!1,getItemAriaLabel:h=mR,labelDisplayedRows:m=hR,labelRowsPerPage:g="Rows per page:",nextIconButtonProps:w,onPageChange:A,onRowsPerPageChange:b,page:j,rowsPerPage:S,rowsPerPageOptions:z=[10,25,50,100],SelectProps:C={},showFirstButton:O=!1,showLastButton:D=!1,slotProps:T={},slots:M={},...L}=r,R=r,H=yR(R),N=(T==null?void 0:T.select)??C,B=N.native?"option":pR;let W;(u===hr||u==="td")&&(W=l||1e3);const _=Xo(N.id),J=Xo(N.labelId),U=()=>f===-1?(j+1)*S:S===-1?f:Math.min(f,(j+1)*S),oe={slots:M,slotProps:T},[K,Z]=pt("root",{ref:n,className:H.root,elementType:lR,externalForwardedProps:{...oe,component:u,...L},ownerState:R,additionalProps:{colSpan:W}}),[E,q]=pt("toolbar",{className:H.toolbar,elementType:cR,externalForwardedProps:oe,ownerState:R}),[X,$]=pt("spacer",{className:H.spacer,elementType:uR,externalForwardedProps:oe,ownerState:R}),[ee,se]=pt("selectLabel",{className:H.selectLabel,elementType:fR,externalForwardedProps:oe,ownerState:R,additionalProps:{id:J}}),[ae,ye]=pt("select",{className:H.select,elementType:dR,externalForwardedProps:oe,ownerState:R}),[le,we]=pt("menuItem",{className:H.menuItem,elementType:B,externalForwardedProps:oe,ownerState:R}),[Ce,Le]=pt("displayedRows",{className:H.displayedRows,elementType:vR,externalForwardedProps:oe,ownerState:R});return v.jsx(K,{...Z,children:v.jsxs(E,{...q,children:[v.jsx(X,{...$}),z.length>1&&v.jsx(ee,{...se,children:g}),z.length>1&&v.jsx(ae,{variant:"standard",...!N.variant&&{input:kx||(kx=v.jsx(Jp,{}))},value:S,onChange:b,id:_,labelId:J,...N,classes:{...N.classes,root:Oe(H.input,H.selectRoot,(N.classes||{}).root),select:Oe(H.select,(N.classes||{}).select),icon:Oe(H.selectIcon,(N.classes||{}).icon)},disabled:p,...ye,children:z.map(Pe=>P.createElement(le,{...we,key:Pe.label?Pe.label:Pe,value:Pe.value?Pe.value:Pe},Pe.label?Pe.label:Pe))}),v.jsx(Ce,{...Le,children:m({from:f===0?0:j*S+1,to:U(),count:f===-1?-1:f,page:j})}),v.jsx(s,{className:H.actions,backIconButtonProps:a,count:f,nextIconButtonProps:w,onPageChange:A,page:j,rowsPerPage:S,showFirstButton:O,showLastButton:D,slotProps:T.actions,slots:M.actions,getItemAriaLabel:h,disabled:p})]})})});function AR(e){return Qe("MuiTableRow",e)}const Tx=Ke("MuiTableRow",["root","selected","hover","head","footer"]),PR=e=>{const{classes:t,selected:n,hover:r,head:s,footer:a}=e;return _e({root:["root",n&&"selected",r&&"hover",s&&"head",a&&"footer"]},AR,t)},bR=pe("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(nt(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Tx.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Tx.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Ex="tr",ap=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTableRow"}),{className:s,component:a=Ex,hover:l=!1,selected:u=!1,...f}=r,p=P.useContext(qu),h={...r,component:a,hover:l,selected:u,head:p&&p.variant==="head",footer:p&&p.variant==="footer"},m=PR(h);return v.jsx(bR,{as:a,ref:n,className:Oe(m.root,s),role:a===Ex?null:"row",ownerState:h,...f})});function xR(e){return Qe("MuiTextField",e)}Ke("MuiTextField",["root"]);const wR={standard:xg,filled:bg,outlined:Hg},HR=e=>{const{classes:t}=e;return _e({root:["root"]},xR,t)},jR=pe(fr,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),lo=P.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTextField"}),{autoComplete:s,autoFocus:a=!1,children:l,className:u,color:f="primary",defaultValue:p,disabled:h=!1,error:m=!1,FormHelperTextProps:g,fullWidth:w=!1,helperText:A,id:b,InputLabelProps:j,inputProps:S,InputProps:z,inputRef:C,label:O,maxRows:D,minRows:T,multiline:M=!1,name:L,onBlur:R,onChange:H,onFocus:N,placeholder:B,required:W=!1,rows:_,select:J=!1,SelectProps:U,slots:oe={},slotProps:K={},type:Z,value:E,variant:q="outlined",...X}=r,$={...r,autoFocus:a,color:f,disabled:h,error:m,fullWidth:w,multiline:M,required:W,select:J,variant:q},ee=HR($),se=Xo(b),ae=A&&se?`${se}-helper-text`:void 0,ye=O&&se?`${se}-label`:void 0,le=wR[q],we={slots:oe,slotProps:{input:z,inputLabel:j,htmlInput:S,formHelperText:g,select:U,...K}},Ce={},Le=we.slotProps.inputLabel;q==="outlined"&&(Le&&typeof Le.shrink<"u"&&(Ce.notched=Le.shrink),Ce.label=O),J&&((!U||!U.native)&&(Ce.id=void 0),Ce["aria-describedby"]=void 0);const[Pe,Ie]=pt("root",{elementType:jR,shouldForwardComponentProp:!0,externalForwardedProps:{...we,...X},ownerState:$,className:Oe(ee.root,u),ref:n,additionalProps:{disabled:h,error:m,fullWidth:w,required:W,color:f,variant:q}}),[be,Ve]=pt("input",{elementType:le,externalForwardedProps:we,additionalProps:Ce,ownerState:$}),[Pt,Ne]=pt("inputLabel",{elementType:Vd,externalForwardedProps:we,ownerState:$}),[gt,ft]=pt("htmlInput",{elementType:"input",externalForwardedProps:we,ownerState:$}),[V,te]=pt("formHelperText",{elementType:sl,externalForwardedProps:we,ownerState:$}),[ne,He]=pt("select",{elementType:zu,externalForwardedProps:we,ownerState:$}),he=v.jsx(be,{"aria-describedby":ae,autoComplete:s,autoFocus:a,defaultValue:p,fullWidth:w,multiline:M,name:L,rows:_,maxRows:D,minRows:T,type:Z,value:E,id:se,inputRef:C,onBlur:R,onChange:H,onFocus:N,placeholder:B,inputProps:ft,slots:{input:oe.htmlInput?gt:void 0},...Ve});return v.jsxs(Pe,{...Ie,children:[O!=null&&O!==""&&v.jsx(Pt,{htmlFor:se,id:ye,...Ne,children:O}),J?v.jsx(ne,{"aria-describedby":ae,id:se,labelId:ye,value:E,input:he,...He,children:l}):he,A&&v.jsx(V,{id:ae,...te,children:A})]})}),kn="/hub",Fp="/services/japps",Sg=["Environments"],zR=["Any","Owned by me","Shared with me"],SR=["Recently modified","Name: A-Z","Name: Z-A"],CR=["Running","Ready","Pending","Unknown"],Cg="startAppId";var Bl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ga=typeof window>"u"||"Deno"in globalThis;function mr(){}function OR(e,t){return typeof e=="function"?e(t):e}function iy(e){return typeof e=="number"&&e>=0&&e!==1/0}function J1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function wi(e,t){return typeof e=="function"?e(t):e}function ko(e,t){return typeof e=="function"?e(t):e}function Rx(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:l,stale:u}=e;if(l){if(r){if(t.queryHash!==Og(l,t.options))return!1}else if(!Su(t.queryKey,l))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||s&&s!==t.state.fetchStatus||a&&!a(t))}function Mx(e,t){const{exact:n,status:r,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Aa(t.options.mutationKey)!==Aa(a))return!1}else if(!Su(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Og(e,t){return((t==null?void 0:t.queryKeyHashFn)||Aa)(e)}function Aa(e){return JSON.stringify(e,(t,n)=>ay(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Su(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Su(e[n],t[n])):!1}function F1(e,t){if(e===t)return e;const n=Lx(e)&&Lx(t);if(n||ay(e)&&ay(t)){const r=n?e:Object.keys(e),s=r.length,a=n?t:Object.keys(t),l=a.length,u=n?[]:{},f=new Set(r);let p=0;for(let h=0;h{setTimeout(t,e)})}function ly(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?F1(e,t):t}function kR(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function TR(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Dg=Symbol();function Y1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Dg?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function q1(e,t){return typeof e=="function"?e(...t):!!e}var ea,fi,vl,Qw,ER=(Qw=class extends Bl{constructor(){super();ht(this,ea);ht(this,fi);ht(this,vl);Ze(this,vl,t=>{if(!ga&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){G(this,fi)||this.setEventListener(G(this,vl))}onUnsubscribe(){var t;this.hasListeners()||((t=G(this,fi))==null||t.call(this),Ze(this,fi,void 0))}setEventListener(t){var n;Ze(this,vl,t),(n=G(this,fi))==null||n.call(this),Ze(this,fi,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){G(this,ea)!==t&&(Ze(this,ea,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof G(this,ea)=="boolean"?G(this,ea):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ea=new WeakMap,fi=new WeakMap,vl=new WeakMap,Qw),kg=new ER,hl,di,ml,Kw,RR=(Kw=class extends Bl{constructor(){super();ht(this,hl,!0);ht(this,di);ht(this,ml);Ze(this,ml,t=>{if(!ga&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){G(this,di)||this.setEventListener(G(this,ml))}onUnsubscribe(){var t;this.hasListeners()||((t=G(this,di))==null||t.call(this),Ze(this,di,void 0))}setEventListener(t){var n;Ze(this,ml,t),(n=G(this,di))==null||n.call(this),Ze(this,di,t(this.setOnline.bind(this)))}setOnline(t){G(this,hl)!==t&&(Ze(this,hl,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return G(this,hl)}},hl=new WeakMap,di=new WeakMap,ml=new WeakMap,Kw),cp=new RR;function cy(){let e,t;const n=new Promise((s,a)=>{e=s,t=a});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function MR(e){return Math.min(1e3*2**e,3e4)}function Z1(e){return(e??"online")==="online"?cp.isOnline():!0}var G1=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Am(e){return e instanceof G1}function U1(e){let t=!1,n=0,r=!1,s;const a=cy(),l=b=>{var j;r||(g(new G1(b)),(j=e.abort)==null||j.call(e))},u=()=>{t=!0},f=()=>{t=!1},p=()=>kg.isFocused()&&(e.networkMode==="always"||cp.isOnline())&&e.canRun(),h=()=>Z1(e.networkMode)&&e.canRun(),m=b=>{var j;r||(r=!0,(j=e.onSuccess)==null||j.call(e,b),s==null||s(),a.resolve(b))},g=b=>{var j;r||(r=!0,(j=e.onError)==null||j.call(e,b),s==null||s(),a.reject(b))},w=()=>new Promise(b=>{var j;s=S=>{(r||p())&&b(S)},(j=e.onPause)==null||j.call(e)}).then(()=>{var b;s=void 0,r||(b=e.onContinue)==null||b.call(e)}),A=()=>{if(r)return;let b;const j=n===0?e.initialPromise:void 0;try{b=j??e.fn()}catch(S){b=Promise.reject(S)}Promise.resolve(b).then(m).catch(S=>{var T;if(r)return;const z=e.retry??(ga?0:3),C=e.retryDelay??MR,O=typeof C=="function"?C(n,S):C,D=z===!0||typeof z=="number"&&np()?void 0:w()).then(()=>{t?g(S):A()})})};return{promise:a,cancel:l,continue:()=>(s==null||s(),a),cancelRetry:u,continueRetry:f,canStart:h,start:()=>(h()?A():w().then(A),a)}}var LR=e=>setTimeout(e,0);function XR(){let e=[],t=0,n=u=>{u()},r=u=>{u()},s=LR;const a=u=>{t?e.push(u):s(()=>{n(u)})},l=()=>{const u=e;e=[],u.length&&s(()=>{r(()=>{u.forEach(f=>{n(f)})})})};return{batch:u=>{let f;t++;try{f=u()}finally{t--,t||l()}return f},batchCalls:u=>(...f)=>{a(()=>{u(...f)})},schedule:a,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{s=u}}}var In=XR(),ta,_w,Q1=(_w=class{constructor(){ht(this,ta)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),iy(this.gcTime)&&Ze(this,ta,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ga?1/0:5*60*1e3))}clearGcTimeout(){G(this,ta)&&(clearTimeout(G(this,ta)),Ze(this,ta,void 0))}},ta=new WeakMap,_w),yl,na,io,ra,sr,ku,oa,Oo,zs,$w,NR=($w=class extends Q1{constructor(t){super();ht(this,Oo);ht(this,yl);ht(this,na);ht(this,io);ht(this,ra);ht(this,sr);ht(this,ku);ht(this,oa);Ze(this,oa,!1),Ze(this,ku,t.defaultOptions),this.setOptions(t.options),this.observers=[],Ze(this,ra,t.client),Ze(this,io,G(this,ra).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Ze(this,yl,BR(this.options)),this.state=t.state??G(this,yl),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=G(this,sr))==null?void 0:t.promise}setOptions(t){this.options={...G(this,ku),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&G(this,io).remove(this)}setData(t,n){const r=ly(this.state.data,t,this.options);return Dt(this,Oo,zs).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Dt(this,Oo,zs).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=G(this,sr))==null?void 0:r.promise;return(s=G(this,sr))==null||s.cancel(t),n?n.then(mr).catch(mr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(G(this,yl))}isActive(){return this.observers.some(t=>ko(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Dg||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>wi(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!J1(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=G(this,sr))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=G(this,sr))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),G(this,io).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(G(this,sr)&&(G(this,oa)?G(this,sr).cancel({revert:!0}):G(this,sr).cancelRetry()),this.scheduleGc()),G(this,io).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Dt(this,Oo,zs).call(this,{type:"invalidate"})}fetch(t,n){var p,h,m;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(G(this,sr))return G(this,sr).continueRetry(),G(this,sr).promise}if(t&&this.setOptions(t),!this.options.queryFn){const g=this.observers.find(w=>w.options.queryFn);g&&this.setOptions(g.options)}const r=new AbortController,s=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(Ze(this,oa,!0),r.signal)})},a=()=>{const g=Y1(this.options,n),A=(()=>{const b={client:G(this,ra),queryKey:this.queryKey,meta:this.meta};return s(b),b})();return Ze(this,oa,!1),this.options.persister?this.options.persister(g,A,this):g(A)},u=(()=>{const g={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:G(this,ra),state:this.state,fetchFn:a};return s(g),g})();(p=this.options.behavior)==null||p.onFetch(u,this),Ze(this,na,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((h=u.fetchOptions)==null?void 0:h.meta))&&Dt(this,Oo,zs).call(this,{type:"fetch",meta:(m=u.fetchOptions)==null?void 0:m.meta});const f=g=>{var w,A,b,j;Am(g)&&g.silent||Dt(this,Oo,zs).call(this,{type:"error",error:g}),Am(g)||((A=(w=G(this,io).config).onError)==null||A.call(w,g,this),(j=(b=G(this,io).config).onSettled)==null||j.call(b,this.state.data,g,this)),this.scheduleGc()};return Ze(this,sr,U1({initialPromise:n==null?void 0:n.initialPromise,fn:u.fetchFn,abort:r.abort.bind(r),onSuccess:g=>{var w,A,b,j;if(g===void 0){f(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(g)}catch(S){f(S);return}(A=(w=G(this,io).config).onSuccess)==null||A.call(w,g,this),(j=(b=G(this,io).config).onSettled)==null||j.call(b,g,this.state.error,this),this.scheduleGc()},onError:f,onFail:(g,w)=>{Dt(this,Oo,zs).call(this,{type:"failed",failureCount:g,error:w})},onPause:()=>{Dt(this,Oo,zs).call(this,{type:"pause"})},onContinue:()=>{Dt(this,Oo,zs).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0})),G(this,sr).start()}},yl=new WeakMap,na=new WeakMap,io=new WeakMap,ra=new WeakMap,sr=new WeakMap,ku=new WeakMap,oa=new WeakMap,Oo=new WeakSet,zs=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...K1(r.data,this.options),fetchMeta:t.meta??null};case"success":return Ze(this,na,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return Am(s)&&s.revert&&G(this,na)?{...G(this,na),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),In.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),G(this,io).notify({query:this,type:"updated",action:t})})},$w);function K1(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Z1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function BR(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var $o,e0,VR=(e0=class extends Bl{constructor(t={}){super();ht(this,$o);this.config=t,Ze(this,$o,new Map)}build(t,n,r){const s=n.queryKey,a=n.queryHash??Og(s,n);let l=this.get(a);return l||(l=new NR({client:t,queryKey:s,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(l)),l}add(t){G(this,$o).has(t.queryHash)||(G(this,$o).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=G(this,$o).get(t.queryHash);n&&(t.destroy(),n===t&&G(this,$o).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){In.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return G(this,$o).get(t)}getAll(){return[...G(this,$o).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Rx(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Rx(t,r)):n}notify(t){In.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){In.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){In.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},$o=new WeakMap,e0),es,pr,sa,ts,ai,t0,IR=(t0=class extends Q1{constructor(t){super();ht(this,ts);ht(this,es);ht(this,pr);ht(this,sa);this.mutationId=t.mutationId,Ze(this,pr,t.mutationCache),Ze(this,es,[]),this.state=t.state||_1(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){G(this,es).includes(t)||(G(this,es).push(t),this.clearGcTimeout(),G(this,pr).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Ze(this,es,G(this,es).filter(n=>n!==t)),this.scheduleGc(),G(this,pr).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){G(this,es).length||(this.state.status==="pending"?this.scheduleGc():G(this,pr).remove(this))}continue(){var t;return((t=G(this,sa))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,l,u,f,p,h,m,g,w,A,b,j,S,z,C,O,D,T,M,L;const n=()=>{Dt(this,ts,ai).call(this,{type:"continue"})};Ze(this,sa,U1({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(R,H)=>{Dt(this,ts,ai).call(this,{type:"failed",failureCount:R,error:H})},onPause:()=>{Dt(this,ts,ai).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>G(this,pr).canRun(this)}));const r=this.state.status==="pending",s=!G(this,sa).canStart();try{if(r)n();else{Dt(this,ts,ai).call(this,{type:"pending",variables:t,isPaused:s}),await((l=(a=G(this,pr).config).onMutate)==null?void 0:l.call(a,t,this));const H=await((f=(u=this.options).onMutate)==null?void 0:f.call(u,t));H!==this.state.context&&Dt(this,ts,ai).call(this,{type:"pending",context:H,variables:t,isPaused:s})}const R=await G(this,sa).start();return await((h=(p=G(this,pr).config).onSuccess)==null?void 0:h.call(p,R,t,this.state.context,this)),await((g=(m=this.options).onSuccess)==null?void 0:g.call(m,R,t,this.state.context)),await((A=(w=G(this,pr).config).onSettled)==null?void 0:A.call(w,R,null,this.state.variables,this.state.context,this)),await((j=(b=this.options).onSettled)==null?void 0:j.call(b,R,null,t,this.state.context)),Dt(this,ts,ai).call(this,{type:"success",data:R}),R}catch(R){try{throw await((z=(S=G(this,pr).config).onError)==null?void 0:z.call(S,R,t,this.state.context,this)),await((O=(C=this.options).onError)==null?void 0:O.call(C,R,t,this.state.context)),await((T=(D=G(this,pr).config).onSettled)==null?void 0:T.call(D,void 0,R,this.state.variables,this.state.context,this)),await((L=(M=this.options).onSettled)==null?void 0:L.call(M,void 0,R,t,this.state.context)),R}finally{Dt(this,ts,ai).call(this,{type:"error",error:R})}}finally{G(this,pr).runNext(this)}}},es=new WeakMap,pr=new WeakMap,sa=new WeakMap,ts=new WeakSet,ai=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),In.batch(()=>{G(this,es).forEach(r=>{r.onMutationUpdate(t)}),G(this,pr).notify({mutation:this,type:"updated",action:t})})},t0);function _1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Cs,Do,Tu,n0,WR=(n0=class extends Bl{constructor(t={}){super();ht(this,Cs);ht(this,Do);ht(this,Tu);this.config=t,Ze(this,Cs,new Set),Ze(this,Do,new Map),Ze(this,Tu,0)}build(t,n,r){const s=new IR({mutationCache:this,mutationId:++ud(this,Tu)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){G(this,Cs).add(t);const n=xd(t);if(typeof n=="string"){const r=G(this,Do).get(n);r?r.push(t):G(this,Do).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(G(this,Cs).delete(t)){const n=xd(t);if(typeof n=="string"){const r=G(this,Do).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&G(this,Do).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=xd(t);if(typeof n=="string"){const r=G(this,Do).get(n),s=r==null?void 0:r.find(a=>a.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=xd(t);if(typeof n=="string"){const s=(r=G(this,Do).get(n))==null?void 0:r.find(a=>a!==t&&a.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){In.batch(()=>{G(this,Cs).forEach(t=>{this.notify({type:"removed",mutation:t})}),G(this,Cs).clear(),G(this,Do).clear()})}getAll(){return Array.from(G(this,Cs))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Mx(n,r))}findAll(t={}){return this.getAll().filter(n=>Mx(t,n))}notify(t){In.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return In.batch(()=>Promise.all(t.map(n=>n.continue().catch(mr))))}},Cs=new WeakMap,Do=new WeakMap,Tu=new WeakMap,n0);function xd(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Nx(e){return{onFetch:(t,n)=>{var h,m,g,w,A;const r=t.options,s=(g=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:g.direction,a=((w=t.state.data)==null?void 0:w.pages)||[],l=((A=t.state.data)==null?void 0:A.pageParams)||[];let u={pages:[],pageParams:[]},f=0;const p=async()=>{let b=!1;const j=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(t.signal.aborted?b=!0:t.signal.addEventListener("abort",()=>{b=!0}),t.signal)})},S=Y1(t.options,t.fetchOptions),z=async(C,O,D)=>{if(b)return Promise.reject();if(O==null&&C.pages.length)return Promise.resolve(C);const M=(()=>{const N={client:t.client,queryKey:t.queryKey,pageParam:O,direction:D?"backward":"forward",meta:t.options.meta};return j(N),N})(),L=await S(M),{maxPages:R}=t.options,H=D?TR:kR;return{pages:H(C.pages,L,R),pageParams:H(C.pageParams,O,R)}};if(s&&a.length){const C=s==="backward",O=C?JR:Bx,D={pages:a,pageParams:l},T=O(r,D);u=await z(D,T,C)}else{const C=e??a.length;do{const O=f===0?l[0]??r.initialPageParam:Bx(r,u);if(f>0&&O==null)break;u=await z(u,O),f++}while(f{var b,j;return(j=(b=t.options).persister)==null?void 0:j.call(b,p,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=p}}}function Bx(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function JR(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var zn,pi,vi,gl,Al,hi,Pl,bl,r0,FR=(r0=class{constructor(e={}){ht(this,zn);ht(this,pi);ht(this,vi);ht(this,gl);ht(this,Al);ht(this,hi);ht(this,Pl);ht(this,bl);Ze(this,zn,e.queryCache||new VR),Ze(this,pi,e.mutationCache||new WR),Ze(this,vi,e.defaultOptions||{}),Ze(this,gl,new Map),Ze(this,Al,new Map),Ze(this,hi,0)}mount(){ud(this,hi)._++,G(this,hi)===1&&(Ze(this,Pl,kg.subscribe(async e=>{e&&(await this.resumePausedMutations(),G(this,zn).onFocus())})),Ze(this,bl,cp.subscribe(async e=>{e&&(await this.resumePausedMutations(),G(this,zn).onOnline())})))}unmount(){var e,t;ud(this,hi)._--,G(this,hi)===0&&((e=G(this,Pl))==null||e.call(this),Ze(this,Pl,void 0),(t=G(this,bl))==null||t.call(this),Ze(this,bl,void 0))}isFetching(e){return G(this,zn).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return G(this,pi).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=G(this,zn).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=G(this,zn).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(wi(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return G(this,zn).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=G(this,zn).get(r.queryHash),a=s==null?void 0:s.state.data,l=OR(t,a);if(l!==void 0)return G(this,zn).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return In.batch(()=>G(this,zn).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=G(this,zn).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=G(this,zn);In.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=G(this,zn);return In.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=In.batch(()=>G(this,zn).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(mr).catch(mr)}invalidateQueries(e,t={}){return In.batch(()=>(G(this,zn).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=In.batch(()=>G(this,zn).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(mr)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(mr)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=G(this,zn).build(this,t);return n.isStaleByTime(wi(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(mr).catch(mr)}fetchInfiniteQuery(e){return e.behavior=Nx(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(mr).catch(mr)}ensureInfiniteQueryData(e){return e.behavior=Nx(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return cp.isOnline()?G(this,pi).resumePausedMutations():Promise.resolve()}getQueryCache(){return G(this,zn)}getMutationCache(){return G(this,pi)}getDefaultOptions(){return G(this,vi)}setDefaultOptions(e){Ze(this,vi,e)}setQueryDefaults(e,t){G(this,gl).set(Aa(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...G(this,gl).values()],n={};return t.forEach(r=>{Su(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){G(this,Al).set(Aa(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...G(this,Al).values()],n={};return t.forEach(r=>{Su(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...G(this,vi).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Og(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Dg&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...G(this,vi).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){G(this,zn).clear(),G(this,pi).clear()}},zn=new WeakMap,pi=new WeakMap,vi=new WeakMap,gl=new WeakMap,Al=new WeakMap,hi=new WeakMap,Pl=new WeakMap,bl=new WeakMap,r0),jr,Vt,Eu,vr,ia,xl,mi,yi,Ru,wl,Hl,aa,la,gi,jl,Gt,nu,uy,fy,dy,py,vy,hy,my,$1,o0,YR=(o0=class extends Bl{constructor(t,n){super();ht(this,Gt);ht(this,jr);ht(this,Vt);ht(this,Eu);ht(this,vr);ht(this,ia);ht(this,xl);ht(this,mi);ht(this,yi);ht(this,Ru);ht(this,wl);ht(this,Hl);ht(this,aa);ht(this,la);ht(this,gi);ht(this,jl,new Set);this.options=n,Ze(this,jr,t),Ze(this,yi,null),Ze(this,mi,cy()),this.options.experimental_prefetchInRender||G(this,mi).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(G(this,Vt).addObserver(this),Vx(G(this,Vt),this.options)?Dt(this,Gt,nu).call(this):this.updateResult(),Dt(this,Gt,py).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return yy(G(this,Vt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return yy(G(this,Vt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Dt(this,Gt,vy).call(this),Dt(this,Gt,hy).call(this),G(this,Vt).removeObserver(this)}setOptions(t){const n=this.options,r=G(this,Vt);if(this.options=G(this,jr).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof ko(this.options.enabled,G(this,Vt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Dt(this,Gt,my).call(this),G(this,Vt).setOptions(this.options),n._defaulted&&!lp(this.options,n)&&G(this,jr).getQueryCache().notify({type:"observerOptionsUpdated",query:G(this,Vt),observer:this});const s=this.hasListeners();s&&Ix(G(this,Vt),r,this.options,n)&&Dt(this,Gt,nu).call(this),this.updateResult(),s&&(G(this,Vt)!==r||ko(this.options.enabled,G(this,Vt))!==ko(n.enabled,G(this,Vt))||wi(this.options.staleTime,G(this,Vt))!==wi(n.staleTime,G(this,Vt)))&&Dt(this,Gt,uy).call(this);const a=Dt(this,Gt,fy).call(this);s&&(G(this,Vt)!==r||ko(this.options.enabled,G(this,Vt))!==ko(n.enabled,G(this,Vt))||a!==G(this,gi))&&Dt(this,Gt,dy).call(this,a)}getOptimisticResult(t){const n=G(this,jr).getQueryCache().build(G(this,jr),t),r=this.createResult(n,t);return ZR(this,r)&&(Ze(this,vr,r),Ze(this,xl,this.options),Ze(this,ia,G(this,Vt).state)),r}getCurrentResult(){return G(this,vr)}trackResult(t,n){return new Proxy(t,{get:(r,s)=>(this.trackProp(s),n==null||n(s),Reflect.get(r,s))})}trackProp(t){G(this,jl).add(t)}getCurrentQuery(){return G(this,Vt)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=G(this,jr).defaultQueryOptions(t),r=G(this,jr).getQueryCache().build(G(this,jr),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return Dt(this,Gt,nu).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),G(this,vr)))}createResult(t,n){var R;const r=G(this,Vt),s=this.options,a=G(this,vr),l=G(this,ia),u=G(this,xl),p=t!==r?t.state:G(this,Eu),{state:h}=t;let m={...h},g=!1,w;if(n._optimisticResults){const H=this.hasListeners(),N=!H&&Vx(t,n),B=H&&Ix(t,r,n,s);(N||B)&&(m={...m,...K1(h.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:A,errorUpdatedAt:b,status:j}=m;w=m.data;let S=!1;if(n.placeholderData!==void 0&&w===void 0&&j==="pending"){let H;a!=null&&a.isPlaceholderData&&n.placeholderData===(u==null?void 0:u.placeholderData)?(H=a.data,S=!0):H=typeof n.placeholderData=="function"?n.placeholderData((R=G(this,Hl))==null?void 0:R.state.data,G(this,Hl)):n.placeholderData,H!==void 0&&(j="success",w=ly(a==null?void 0:a.data,H,n),g=!0)}if(n.select&&w!==void 0&&!S)if(a&&w===(l==null?void 0:l.data)&&n.select===G(this,Ru))w=G(this,wl);else try{Ze(this,Ru,n.select),w=n.select(w),w=ly(a==null?void 0:a.data,w,n),Ze(this,wl,w),Ze(this,yi,null)}catch(H){Ze(this,yi,H)}G(this,yi)&&(A=G(this,yi),w=G(this,wl),b=Date.now(),j="error");const z=m.fetchStatus==="fetching",C=j==="pending",O=j==="error",D=C&&z,T=w!==void 0,L={status:j,fetchStatus:m.fetchStatus,isPending:C,isSuccess:j==="success",isError:O,isInitialLoading:D,isLoading:D,data:w,dataUpdatedAt:m.dataUpdatedAt,error:A,errorUpdatedAt:b,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>p.dataUpdateCount||m.errorUpdateCount>p.errorUpdateCount,isFetching:z,isRefetching:z&&!C,isLoadingError:O&&!T,isPaused:m.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:O&&T,isStale:Tg(t,n),refetch:this.refetch,promise:G(this,mi)};if(this.options.experimental_prefetchInRender){const H=W=>{L.status==="error"?W.reject(L.error):L.data!==void 0&&W.resolve(L.data)},N=()=>{const W=Ze(this,mi,L.promise=cy());H(W)},B=G(this,mi);switch(B.status){case"pending":t.queryHash===r.queryHash&&H(B);break;case"fulfilled":(L.status==="error"||L.data!==B.value)&&N();break;case"rejected":(L.status!=="error"||L.error!==B.reason)&&N();break}}return L}updateResult(){const t=G(this,vr),n=this.createResult(G(this,Vt),this.options);if(Ze(this,ia,G(this,Vt).state),Ze(this,xl,this.options),G(this,ia).data!==void 0&&Ze(this,Hl,G(this,Vt)),lp(n,t))return;Ze(this,vr,n);const r=()=>{if(!t)return!0;const{notifyOnChangeProps:s}=this.options,a=typeof s=="function"?s():s;if(a==="all"||!a&&!G(this,jl).size)return!0;const l=new Set(a??G(this,jl));return this.options.throwOnError&&l.add("error"),Object.keys(G(this,vr)).some(u=>{const f=u;return G(this,vr)[f]!==t[f]&&l.has(f)})};Dt(this,Gt,$1).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Dt(this,Gt,py).call(this)}},jr=new WeakMap,Vt=new WeakMap,Eu=new WeakMap,vr=new WeakMap,ia=new WeakMap,xl=new WeakMap,mi=new WeakMap,yi=new WeakMap,Ru=new WeakMap,wl=new WeakMap,Hl=new WeakMap,aa=new WeakMap,la=new WeakMap,gi=new WeakMap,jl=new WeakMap,Gt=new WeakSet,nu=function(t){Dt(this,Gt,my).call(this);let n=G(this,Vt).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(mr)),n},uy=function(){Dt(this,Gt,vy).call(this);const t=wi(this.options.staleTime,G(this,Vt));if(ga||G(this,vr).isStale||!iy(t))return;const r=J1(G(this,vr).dataUpdatedAt,t)+1;Ze(this,aa,setTimeout(()=>{G(this,vr).isStale||this.updateResult()},r))},fy=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(G(this,Vt)):this.options.refetchInterval)??!1},dy=function(t){Dt(this,Gt,hy).call(this),Ze(this,gi,t),!(ga||ko(this.options.enabled,G(this,Vt))===!1||!iy(G(this,gi))||G(this,gi)===0)&&Ze(this,la,setInterval(()=>{(this.options.refetchIntervalInBackground||kg.isFocused())&&Dt(this,Gt,nu).call(this)},G(this,gi)))},py=function(){Dt(this,Gt,uy).call(this),Dt(this,Gt,dy).call(this,Dt(this,Gt,fy).call(this))},vy=function(){G(this,aa)&&(clearTimeout(G(this,aa)),Ze(this,aa,void 0))},hy=function(){G(this,la)&&(clearInterval(G(this,la)),Ze(this,la,void 0))},my=function(){const t=G(this,jr).getQueryCache().build(G(this,jr),this.options);if(t===G(this,Vt))return;const n=G(this,Vt);Ze(this,Vt,t),Ze(this,Eu,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},$1=function(t){In.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(G(this,vr))}),G(this,jr).getQueryCache().notify({query:G(this,Vt),type:"observerResultsUpdated"})})},o0);function qR(e,t){return ko(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Vx(e,t){return qR(e,t)||e.state.data!==void 0&&yy(e,t,t.refetchOnMount)}function yy(e,t,n){if(ko(t.enabled,e)!==!1&&wi(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Tg(e,t)}return!1}function Ix(e,t,n,r){return(e!==t||ko(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Tg(e,n)}function Tg(e,t){return ko(t.enabled,e)!==!1&&e.isStaleByTime(wi(t.staleTime,e))}function ZR(e,t){return!lp(e.getCurrentResult(),t)}var Ai,Pi,zr,Os,Es,Id,gy,s0,GR=(s0=class extends Bl{constructor(n,r){super();ht(this,Es);ht(this,Ai);ht(this,Pi);ht(this,zr);ht(this,Os);Ze(this,Ai,n),this.setOptions(r),this.bindMethods(),Dt(this,Es,Id).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var s;const r=this.options;this.options=G(this,Ai).defaultMutationOptions(n),lp(this.options,r)||G(this,Ai).getMutationCache().notify({type:"observerOptionsUpdated",mutation:G(this,zr),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&Aa(r.mutationKey)!==Aa(this.options.mutationKey)?this.reset():((s=G(this,zr))==null?void 0:s.state.status)==="pending"&&G(this,zr).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=G(this,zr))==null||n.removeObserver(this)}onMutationUpdate(n){Dt(this,Es,Id).call(this),Dt(this,Es,gy).call(this,n)}getCurrentResult(){return G(this,Pi)}reset(){var n;(n=G(this,zr))==null||n.removeObserver(this),Ze(this,zr,void 0),Dt(this,Es,Id).call(this),Dt(this,Es,gy).call(this)}mutate(n,r){var s;return Ze(this,Os,r),(s=G(this,zr))==null||s.removeObserver(this),Ze(this,zr,G(this,Ai).getMutationCache().build(G(this,Ai),this.options)),G(this,zr).addObserver(this),G(this,zr).execute(n)}},Ai=new WeakMap,Pi=new WeakMap,zr=new WeakMap,Os=new WeakMap,Es=new WeakSet,Id=function(){var r;const n=((r=G(this,zr))==null?void 0:r.state)??_1();Ze(this,Pi,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},gy=function(n){In.batch(()=>{var r,s,a,l,u,f,p,h;if(G(this,Os)&&this.hasListeners()){const m=G(this,Pi).variables,g=G(this,Pi).context;(n==null?void 0:n.type)==="success"?((s=(r=G(this,Os)).onSuccess)==null||s.call(r,n.data,m,g),(l=(a=G(this,Os)).onSettled)==null||l.call(a,n.data,null,m,g)):(n==null?void 0:n.type)==="error"&&((f=(u=G(this,Os)).onError)==null||f.call(u,n.error,m,g),(h=(p=G(this,Os)).onSettled)==null||h.call(p,void 0,n.error,m,g))}this.listeners.forEach(m=>{m(G(this,Pi))})})},s0),e2=P.createContext(void 0),Yp=e=>{const t=P.useContext(e2);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},UR=({client:e,children:t})=>(P.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),v.jsx(e2.Provider,{value:e,children:t})),t2=P.createContext(!1),QR=()=>P.useContext(t2);t2.Provider;function KR(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var _R=P.createContext(KR()),$R=()=>P.useContext(_R),e6=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},t6=e=>{P.useEffect(()=>{e.clearReset()},[e])},n6=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(s&&e.data===void 0||q1(n,[e.error,r])),r6=e=>{if(e.suspense){const t=r=>r==="static"?r:Math.max(r??1e3,1e3),n=e.staleTime;e.staleTime=typeof n=="function"?(...r)=>t(n(...r)):t(n),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},o6=(e,t)=>e.isLoading&&e.isFetching&&!t,s6=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Wx=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function i6(e,t,n){var m,g,w,A,b;const r=QR(),s=$R(),a=Yp(),l=a.defaultQueryOptions(e);(g=(m=a.getDefaultOptions().queries)==null?void 0:m._experimental_beforeQuery)==null||g.call(m,l),l._optimisticResults=r?"isRestoring":"optimistic",r6(l),e6(l,s),t6(s);const u=!a.getQueryCache().get(l.queryHash),[f]=P.useState(()=>new t(a,l)),p=f.getOptimisticResult(l),h=!r&&e.subscribed!==!1;if(P.useSyncExternalStore(P.useCallback(j=>{const S=h?f.subscribe(In.batchCalls(j)):mr;return f.updateResult(),S},[f,h]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),P.useEffect(()=>{f.setOptions(l)},[l,f]),s6(l,p))throw Wx(l,f,s);if(n6({result:p,errorResetBoundary:s,throwOnError:l.throwOnError,query:a.getQueryCache().get(l.queryHash),suspense:l.suspense}))throw p.error;if((A=(w=a.getDefaultOptions().queries)==null?void 0:w._experimental_afterQuery)==null||A.call(w,l,p),l.experimental_prefetchInRender&&!ga&&o6(p,r)){const j=u?Wx(l,f,s):(b=a.getQueryCache().get(l.queryHash))==null?void 0:b.promise;j==null||j.catch(mr).finally(()=>{f.updateResult()})}return l.notifyOnChangeProps?p:f.trackResult(p)}function $n(e,t){return i6(e,YR)}function Rl(e,t){const n=Yp(),[r]=P.useState(()=>new GR(n,e));P.useEffect(()=>{r.setOptions(e)},[r,e]);const s=P.useSyncExternalStore(P.useCallback(l=>r.subscribe(In.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=P.useCallback((l,u)=>{r.mutate(l,u).catch(mr)},[r]);if(s.error&&q1(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}var wd={},Jx;function a6(){if(Jx)return wd;Jx=1;var e=r1();return wd.createRoot=e.createRoot,wd.hydrateRoot=e.hydrateRoot,wd}var l6=a6();const c6=Ap(l6);var Xc={},Fx;function u6(){if(Fx)return Xc;Fx=1,Object.defineProperty(Xc,"__esModule",{value:!0}),Xc.parse=l,Xc.serialize=p;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]*$/,s=Object.prototype.toString,a=(()=>{const g=function(){};return g.prototype=Object.create(null),g})();function l(g,w){const A=new a,b=g.length;if(b<2)return A;const j=(w==null?void 0:w.decode)||h;let S=0;do{const z=g.indexOf("=",S);if(z===-1)break;const C=g.indexOf(";",S),O=C===-1?b:C;if(z>O){S=g.lastIndexOf(";",z-1)+1;continue}const D=u(g,S,z),T=f(g,z,D),M=g.slice(D,T);if(A[M]===void 0){let L=u(g,z+1,O),R=f(g,O,L);const H=j(g.slice(L,R));A[M]=H}S=O+1}while(SA;){const b=g.charCodeAt(--w);if(b!==32&&b!==9)return w+1}return A}function p(g,w,A){const b=(A==null?void 0:A.encode)||encodeURIComponent;if(!e.test(g))throw new TypeError(`argument name is invalid: ${g}`);const j=b(w);if(!t.test(j))throw new TypeError(`argument val is invalid: ${w}`);let S=g+"="+j;if(!A)return S;if(A.maxAge!==void 0){if(!Number.isInteger(A.maxAge))throw new TypeError(`option maxAge is invalid: ${A.maxAge}`);S+="; Max-Age="+A.maxAge}if(A.domain){if(!n.test(A.domain))throw new TypeError(`option domain is invalid: ${A.domain}`);S+="; Domain="+A.domain}if(A.path){if(!r.test(A.path))throw new TypeError(`option path is invalid: ${A.path}`);S+="; Path="+A.path}if(A.expires){if(!m(A.expires)||!Number.isFinite(A.expires.valueOf()))throw new TypeError(`option expires is invalid: ${A.expires}`);S+="; Expires="+A.expires.toUTCString()}if(A.httpOnly&&(S+="; HttpOnly"),A.secure&&(S+="; Secure"),A.partitioned&&(S+="; Partitioned"),A.priority)switch(typeof A.priority=="string"?A.priority.toLowerCase():void 0){case"low":S+="; Priority=Low";break;case"medium":S+="; Priority=Medium";break;case"high":S+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${A.priority}`)}if(A.sameSite)switch(typeof A.sameSite=="string"?A.sameSite.toLowerCase():A.sameSite){case!0:case"strict":S+="; SameSite=Strict";break;case"lax":S+="; SameSite=Lax";break;case"none":S+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${A.sameSite}`)}return S}function h(g){if(g.indexOf("%")===-1)return g;try{return decodeURIComponent(g)}catch{return g}}function m(g){return s.call(g)==="[object Date]"}return Xc}u6();var Yx="popstate";function f6(e={}){function t(r,s){let{pathname:a,search:l,hash:u}=r.location;return Ay("",{pathname:a,search:l,hash:u},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:Cu(s)}return p6(t,n,null,e)}function An(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function No(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function d6(){return Math.random().toString(36).substring(2,10)}function qx(e,t){return{usr:e.state,key:e.key,idx:t}}function Ay(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Vl(t):t,state:n,key:t&&t.key||r||d6()}}function Cu({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 Vl(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 p6(e,t,n,r={}){let{window:s=document.defaultView,v5Compat:a=!1}=r,l=s.history,u="POP",f=null,p=h();p==null&&(p=0,l.replaceState({...l.state,idx:p},""));function h(){return(l.state||{idx:null}).idx}function m(){u="POP";let j=h(),S=j==null?null:j-p;p=j,f&&f({action:u,location:b.location,delta:S})}function g(j,S){u="PUSH";let z=Ay(b.location,j,S);p=h()+1;let C=qx(z,p),O=b.createHref(z);try{l.pushState(C,"",O)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;s.location.assign(O)}a&&f&&f({action:u,location:b.location,delta:1})}function w(j,S){u="REPLACE";let z=Ay(b.location,j,S);p=h();let C=qx(z,p),O=b.createHref(z);l.replaceState(C,"",O),a&&f&&f({action:u,location:b.location,delta:0})}function A(j){return v6(j)}let b={get action(){return u},get location(){return e(s,l)},listen(j){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(Yx,m),f=j,()=>{s.removeEventListener(Yx,m),f=null}},createHref(j){return t(s,j)},createURL:A,encodeLocation(j){let S=A(j);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:g,replace:w,go(j){return l.go(j)}};return b}function v6(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),An(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Cu(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function n2(e,t,n="/"){return h6(e,t,n,!1)}function h6(e,t,n,r){let s=typeof t=="string"?Vl(t):t,a=Xs(s.pathname||"/",n);if(a==null)return null;let l=r2(e);m6(l);let u=null;for(let f=0;u==null&&f{let f={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};f.relativePath.startsWith("/")&&(An(f.relativePath.startsWith(r),`Absolute route path "${f.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(r.length));let p=Ts([r,f.relativePath]),h=n.concat(f);a.children&&a.children.length>0&&(An(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),r2(a.children,t,h,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:w6(p,a.index),routesMeta:h})};return e.forEach((a,l)=>{var u;if(a.path===""||!((u=a.path)!=null&&u.includes("?")))s(a,l);else for(let f of o2(a.path))s(a,l,f)}),t}function o2(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return s?[a,""]:[a];let l=o2(r.join("/")),u=[];return u.push(...l.map(f=>f===""?a:[a,f].join("/"))),s&&u.push(...l),u.map(f=>e.startsWith("/")&&f===""?"/":f)}function m6(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:H6(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var y6=/^:[\w-]+$/,g6=3,A6=2,P6=1,b6=10,x6=-2,Zx=e=>e==="*";function w6(e,t){let n=e.split("/"),r=n.length;return n.some(Zx)&&(r+=x6),t&&(r+=A6),n.filter(s=>!Zx(s)).reduce((s,a)=>s+(y6.test(a)?g6:a===""?P6:b6),r)}function H6(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function j6(e,t,n=!1){let{routesMeta:r}=e,s={},a="/",l=[];for(let u=0;u{if(h==="*"){let A=u[g]||"";l=a.slice(0,a.length-A.length).replace(/(.)\/+$/,"$1")}const w=u[g];return m&&!w?p[h]=void 0:p[h]=(w||"").replace(/%2F/g,"/"),p},{}),pathname:a,pathnameBase:l,pattern:e}}function z6(e,t=!1,n=!0){No(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=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,f)=>(r.push({paramName:u,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function S6(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return No(!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 Xs(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 C6(e,t="/"){let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Vl(e):e;return{pathname:n?n.startsWith("/")?n:O6(n,t):t,search:T6(r),hash:E6(s)}}function O6(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Pm(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 D6(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function s2(e){let t=D6(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function i2(e,t,n,r=!1){let s;typeof e=="string"?s=Vl(e):(s={...e},An(!s.pathname||!s.pathname.includes("?"),Pm("?","pathname","search",s)),An(!s.pathname||!s.pathname.includes("#"),Pm("#","pathname","hash",s)),An(!s.search||!s.search.includes("#"),Pm("#","search","hash",s)));let a=e===""||s.pathname==="",l=a?"/":s.pathname,u;if(l==null)u=n;else{let m=t.length-1;if(!r&&l.startsWith("..")){let g=l.split("/");for(;g[0]==="..";)g.shift(),m-=1;s.pathname=g.join("/")}u=m>=0?t[m]:"/"}let f=C6(s,u),p=l&&l!=="/"&&l.endsWith("/"),h=(a||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(p||h)&&(f.pathname+="/"),f}var Ts=e=>e.join("/").replace(/\/\/+/g,"/"),k6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),T6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,E6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function R6(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var a2=["POST","PUT","PATCH","DELETE"];new Set(a2);var M6=["GET",...a2];new Set(M6);var Il=P.createContext(null);Il.displayName="DataRouter";var qp=P.createContext(null);qp.displayName="DataRouterState";var l2=P.createContext({isTransitioning:!1});l2.displayName="ViewTransition";var L6=P.createContext(new Map);L6.displayName="Fetchers";var X6=P.createContext(null);X6.displayName="Await";var ds=P.createContext(null);ds.displayName="Navigation";var Zu=P.createContext(null);Zu.displayName="Location";var Ns=P.createContext({outlet:null,matches:[],isDataRoute:!1});Ns.displayName="Route";var Eg=P.createContext(null);Eg.displayName="RouteError";function N6(e,{relative:t}={}){An(Gu(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=P.useContext(ds),{hash:s,pathname:a,search:l}=Uu(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:Ts([n,a])),r.createHref({pathname:u,search:l,hash:s})}function Gu(){return P.useContext(Zu)!=null}function Oi(){return An(Gu(),"useLocation() may be used only in the context of a component."),P.useContext(Zu).location}var c2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function u2(e){P.useContext(ds).static||P.useLayoutEffect(e)}function Zp(){let{isDataRoute:e}=P.useContext(Ns);return e?K6():B6()}function B6(){An(Gu(),"useNavigate() may be used only in the context of a component.");let e=P.useContext(Il),{basename:t,navigator:n}=P.useContext(ds),{matches:r}=P.useContext(Ns),{pathname:s}=Oi(),a=JSON.stringify(s2(r)),l=P.useRef(!1);return u2(()=>{l.current=!0}),P.useCallback((f,p={})=>{if(No(l.current,c2),!l.current)return;if(typeof f=="number"){n.go(f);return}let h=i2(f,JSON.parse(a),s,p.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Ts([t,h.pathname])),(p.replace?n.replace:n.push)(h,p.state,p)},[t,n,a,s,e])}P.createContext(null);function Uu(e,{relative:t}={}){let{matches:n}=P.useContext(Ns),{pathname:r}=Oi(),s=JSON.stringify(s2(n));return P.useMemo(()=>i2(e,JSON.parse(s),r,t==="path"),[e,s,r,t])}function V6(e,t){return f2(e,t)}function f2(e,t,n,r){var S;An(Gu(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=P.useContext(ds),{matches:a}=P.useContext(Ns),l=a[a.length-1],u=l?l.params:{},f=l?l.pathname:"/",p=l?l.pathnameBase:"/",h=l&&l.route;{let z=h&&h.path||"";d2(f,!h||z.endsWith("*")||z.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=Oi(),g;if(t){let z=typeof t=="string"?Vl(t):t;An(p==="/"||((S=z.pathname)==null?void 0:S.startsWith(p)),`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 "${p}" but pathname "${z.pathname}" was given in the \`location\` prop.`),g=z}else g=m;let w=g.pathname||"/",A=w;if(p!=="/"){let z=p.replace(/^\//,"").split("/");A="/"+w.replace(/^\//,"").split("/").slice(z.length).join("/")}let b=t2(e,{pathname:A});No(h||b!=null,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),No(b==null||b[b.length-1].route.element!==void 0||b[b.length-1].route.Component!==void 0||b[b.length-1].route.lazy!==void 0,`Matched leaf route at location "${g.pathname}${g.search}${g.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 j=F6(b&&b.map(z=>Object.assign({},z,{params:Object.assign({},u,z.params),pathname:Ts([p,s.encodeLocation?s.encodeLocation(z.pathname).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?p:Ts([p,s.encodeLocation?s.encodeLocation(z.pathnameBase).pathname:z.pathnameBase])})),a,n,r);return t&&j?P.createElement(Zu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...g},navigationType:"POP"}},j):j}function V6(){let e=U6(),t=E6(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)",s={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=P.createElement(P.Fragment,null,P.createElement("p",null,"💿 Hey developer 👋"),P.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",P.createElement("code",{style:a},"ErrorBoundary")," or"," ",P.createElement("code",{style:a},"errorElement")," prop on your route.")),P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:s},n):null,l)}var I6=P.createElement(V6,null),W6=class extends P.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?P.createElement(Ns.Provider,{value:this.props.routeContext},P.createElement(Eg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function J6({routeContext:e,match:t,children:n}){let r=P.useContext(Il);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),P.createElement(Ns.Provider,{value:e},n)}function F6(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 s=e,a=n==null?void 0:n.errors;if(a!=null){let f=s.findIndex(p=>p.route.id&&(a==null?void 0:a[p.route.id])!==void 0);An(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),s=s.slice(0,Math.min(s.length,f+1))}let l=!1,u=-1;if(n)for(let f=0;f=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((f,p,h)=>{let m,g=!1,w=null,A=null;n&&(m=a&&p.route.id?a[p.route.id]:void 0,w=p.route.errorElement||I6,l&&(u<0&&h===0?(f2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),g=!0,A=null):u===h&&(g=!0,A=p.route.hydrateFallbackElement||null)));let b=t.concat(s.slice(0,h+1)),j=()=>{let S;return m?S=w:g?S=A:p.route.Component?S=P.createElement(p.route.Component,null):p.route.element?S=p.route.element:S=f,P.createElement(J6,{match:p,routeContext:{outlet:f,matches:b,isDataRoute:n!=null},children:S})};return n&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?P.createElement(W6,{location:n.location,revalidation:n.revalidation,component:w,error:m,children:j(),routeContext:{outlet:null,matches:b,isDataRoute:!0}}):j()},null)}function Rg(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Y6(e){let t=P.useContext(Il);return An(t,Rg(e)),t}function q6(e){let t=P.useContext(qp);return An(t,Rg(e)),t}function Z6(e){let t=P.useContext(Ns);return An(t,Rg(e)),t}function Mg(e){let t=Z6(e),n=t.matches[t.matches.length-1];return An(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function G6(){return Mg("useRouteId")}function U6(){var r;let e=P.useContext(Eg),t=q6("useRouteError"),n=Mg("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function Q6(){let{router:e}=Y6("useNavigate"),t=Mg("useNavigate"),n=P.useRef(!1);return c2(()=>{n.current=!0}),P.useCallback(async(s,a={})=>{No(n.current,l2),n.current&&(typeof s=="number"?e.navigate(s):await e.navigate(s,{fromRouteId:t,...a}))},[e,t])}var Zx={};function f2(e,t,n){!t&&!Zx[e]&&(Zx[e]=!0,No(!1,n))}P.memo(K6);function K6({routes:e,future:t,state:n}){return u2(e,void 0,n,t)}function Ss(e){An(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function _6({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:s,static:a=!1}){An(!Gu(),"You cannot render a inside another . You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),u=P.useMemo(()=>({basename:l,navigator:s,static:a,future:{}}),[l,s,a]);typeof n=="string"&&(n=Vl(n));let{pathname:f="/",search:p="",hash:h="",state:m=null,key:g="default"}=n,w=P.useMemo(()=>{let A=Xs(f,l);return A==null?null:{location:{pathname:A,search:p,hash:h,state:m,key:g},navigationType:r}},[l,f,p,h,m,g,r]);return No(w!=null,` is not able to match the URL "${f}${p}${h}" because it does not start with the basename, so the won't render anything.`),w==null?null:P.createElement(ds.Provider,{value:u},P.createElement(Zu.Provider,{children:t,value:w}))}function $6({children:e,location:t}){return B6(Py(e),t)}function Py(e,t=[]){let n=[];return P.Children.forEach(e,(r,s)=>{if(!P.isValidElement(r))return;let a=[...t,s];if(r.type===P.Fragment){n.push.apply(n,Py(r.props.children,a));return}An(r.type===Ss,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),An(!r.props.index||!r.props.children,"An index route cannot have child routes.");let l={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&&(l.children=Py(r.props.children,a)),n.push(l)}),n}var Wd="get",Jd="application/x-www-form-urlencoded";function Gp(e){return e!=null&&typeof e.tagName=="string"}function eM(e){return Gp(e)&&e.tagName.toLowerCase()==="button"}function tM(e){return Gp(e)&&e.tagName.toLowerCase()==="form"}function nM(e){return Gp(e)&&e.tagName.toLowerCase()==="input"}function rM(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function oM(e,t){return e.button===0&&(!t||t==="_self")&&!rM(e)}function by(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(s=>[n,s]):[[n,r]])},[]))}function sM(e,t){let n=by(e);return t&&t.forEach((r,s)=>{n.has(s)||t.getAll(s).forEach(a=>{n.append(s,a)})}),n}var Hd=null;function iM(){if(Hd===null)try{new FormData(document.createElement("form"),0),Hd=!1}catch{Hd=!0}return Hd}var aM=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function bm(e){return e!=null&&!aM.has(e)?(No(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Jd}"`),null):e}function lM(e,t){let n,r,s,a,l;if(tM(e)){let u=e.getAttribute("action");r=u?Xs(u,t):null,n=e.getAttribute("method")||Wd,s=bm(e.getAttribute("enctype"))||Jd,a=new FormData(e)}else if(eM(e)||nM(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a