diff --git a/jhub_apps/static/js/index.js b/jhub_apps/static/js/index.js index e57b296f..c0c3d31f 100644 --- a/jhub_apps/static/js/index.js +++ b/jhub_apps/static/js/index.js @@ -1,4 +1,4 @@ -var L3=Object.defineProperty;var n8=e=>{throw TypeError(e)};var X3=(e,t,n)=>t in e?L3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Oc=(e,t,n)=>X3(e,typeof t!="symbol"?t+"":t,n),vm=(e,t,n)=>t.has(e)||n8("Cannot "+n);var Z=(e,t,n)=>(vm(e,t,"read from private field"),n?n.call(e):t.get(e)),gt=(e,t,n)=>t.has(e)?n8("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),qe=(e,t,n,r)=>(vm(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),zt=(e,t,n)=>(vm(e,t,"access private method"),n);var vd=(e,t,n,r)=>({set _(s){qe(e,t,s,n)},get _(){return Z(e,t,r)}});function N3(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 Cp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hm={exports:{}},Cc={},mm={exports:{}},Et={};/** +var L3=Object.defineProperty;var n8=e=>{throw TypeError(e)};var X3=(e,t,n)=>t in e?L3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Oc=(e,t,n)=>X3(e,typeof t!="symbol"?t+"":t,n),vm=(e,t,n)=>t.has(e)||n8("Cannot "+n);var G=(e,t,n)=>(vm(e,t,"read from private field"),n?n.call(e):t.get(e)),mt=(e,t,n)=>t.has(e)?n8("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),qe=(e,t,n,r)=>(vm(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),zt=(e,t,n)=>(vm(e,t,"access private method"),n);var vd=(e,t,n,r)=>({set _(s){qe(e,t,s,n)},get _(){return G(e,t,r)}});function N3(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 Cp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hm={exports:{}},Cc={},mm={exports:{}},Rt={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var L3=Object.defineProperty;var n8=e=>{throw TypeError(e)};var X3=(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 r8;function B3(){if(r8)return Et;r8=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 P(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,x={};function H(E,G,X){this.props=E,this.context=G,this.refs=x,this.updater=X||w}H.prototype.isReactComponent={},H.prototype.setState=function(E,G){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,G,"setState")},H.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function S(){}S.prototype=H.prototype;function z(E,G,X){this.props=E,this.context=G,this.refs=x,this.updater=X||w}var O=z.prototype=new S;O.constructor=z,A(O,H.prototype),O.isPureReactComponent=!0;var C=Array.isArray,D=Object.prototype.hasOwnProperty,k={current:null},R={key:!0,ref:!0,__self:!0,__source:!0};function M(E,G,X){var ee,te={},ue=null,de=null;if(G!=null)for(ee in G.ref!==void 0&&(de=G.ref),G.key!==void 0&&(ue=""+G.key),G)D.call(G,ee)&&!R.hasOwnProperty(ee)&&(te[ee]=G[ee]);var xe=arguments.length-2;if(xe===1)te.children=X;else if(1{throw TypeError(e)};var X3=(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 s8;function V3(){if(s8)return Cc;s8=1;var e=oy(),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={},P=null,w=null;p!==void 0&&(P=""+p),f.key!==void 0&&(P=""+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:P,ref:w,props:m,_owner:s.current}}return Cc.Fragment=n,Cc.jsx=l,Cc.jsxs=l,Cc}var i8;function I3(){return i8||(i8=1,hm.exports=V3()),hm.exports}var v=I3();const Au={black:"#000",white:"#fff"},Ja={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Fa={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ya={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},qa={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Za={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Dc={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},W3={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 Ts(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 ko="$$material";function ep(){return ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Qn(Vl,--Tr):0,Hl--,En===10&&(Hl=1,Tp--),En}function qr(){return En=Tr2||bu(En)>3?"":" "}function r7(e,t){for(;--t&&qr()&&!(En<48||En>102||En>57&&En<65||En>70&&En<97););return Nu(e,Md()+(t<6&&ns()==32&&qr()==32))}function tg(e){for(;qr();)switch(En){case e:return Tr;case 34:case 39:e!==34&&e!==39&&tg(En);break;case 40:e===41&&tg(e);break;case 92:qr();break}return Tr}function o7(e,t){for(;qr()&&e+En!==57;)if(e+En===84&&ns()===47)break;return"/*"+Nu(t,Tr-1)+"*"+Dp(e===47?e:qr())}function s7(e){for(;!bu(ns());)qr();return Nu(e,Tr)}function i7(e){return H0(Xd("",null,null,null,[""],e=w0(e),0,[0],e))}function Xd(e,t,n,r,s,a,l,u,f){for(var p=0,h=0,m=l,P=0,w=0,A=0,x=1,H=1,S=1,z=0,O="",C=s,D=a,k=r,R=O;H;)switch(A=z,z=qr()){case 40:if(A!=108&&Qn(R,m-1)==58){eg(R+=Yt(Ld(z),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:R+=Ld(z);break;case 9:case 10:case 13:case 32:R+=n7(A);break;case 92:R+=r7(Md()-1,7);continue;case 47:switch(ns()){case 42:case 47:hd(a7(o7(qr(),Md()),t,n),f);break;default:R+="/"}break;case 123*x:u[p++]=Qo(R)*S;case 125*x:case 59:case 0:switch(z){case 0:case 125:H=0;case 59+h:S==-1&&(R=Yt(R,/\f/g,"")),w>0&&Qo(R)-m&&hd(w>32?l8(R+";",r,n,m-1):l8(Yt(R," ","")+";",r,n,m-2),f);break;case 59:R+=";";default:if(hd(k=a8(R,t,n,p,h,s,u,O,C=[],D=[],m),a),z===123)if(h===0)Xd(R,t,k,k,C,a,m,u,D);else switch(P===99&&Qn(R,3)===110?100:P){case 100:case 108:case 109:case 115:Xd(e,k,k,r&&hd(a8(e,k,k,0,0,s,u,O,s,C=[],m),D),s,D,m,u,r?C:D);break;default:Xd(R,k,k,k,[""],D,0,u,D)}}p=h=w=0,x=S=1,O=R="",m=l;break;case 58:m=1+Qo(R),w=A;default:if(x<1){if(z==123)--x;else if(z==125&&x++==0&&t7()==125)continue}switch(R+=Dp(z),z*x){case 38:S=h>0?1:(R+="\f",-1);break;case 44:u[p++]=(Qo(R)-1)*S,S=1;break;case 64:ns()===45&&(R+=Ld(qr())),P=ns(),h=m=Qo(O=R+=s7(Md())),z++;break;case 45:A===45&&Qo(R)==2&&(x=0)}}return a}function a8(e,t,n,r,s,a,l,u,f,p,h){for(var m=s-1,P=s===0?a:[""],w=ay(P),A=0,x=0,H=0;A0?P[S]+" "+z:Yt(z,/&\f/g,P[S])))&&(f[H++]=O);return kp(e,t,n,s===0?sy:u,f,p,h)}function a7(e,t,n){return kp(e,t,n,A0,Dp(e7()),Pu(e,2,-2),0)}function l8(e,t,n,r){return kp(e,t,n,iy,Pu(e,0,r),Pu(e,r+1,-1),r)}function al(e,t){for(var n="",r=ay(e),s=0;s6)switch(Qn(e,t+1)){case 109:if(Qn(e,t+4)!==45)break;case 102:return Yt(e,/(.+:)(.+)-([^]+)/,"$1"+Ft+"$2-$3$1"+np+(Qn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~eg(e,"stretch")?S0(Yt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Qn(e,t+1)!==115)break;case 6444:switch(Qn(e,Qo(e)-3-(~eg(e,"!important")&&10))){case 107:return Yt(e,":",":"+Ft)+e;case 101:return Yt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ft+(Qn(e,14)===45?"inline-":"")+"box$3$1"+Ft+"$2$3$1"+nr+"$2box$3")+e}break;case 5936:switch(Qn(e,t+11)){case 114:return Ft+e+nr+Yt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ft+e+nr+Yt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ft+e+nr+Yt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ft+e+nr+e+e}return e}var m7=function(t,n,r,s){if(t.length>-1&&!t.return)switch(t.type){case iy:t.return=S0(t.value,t.length);break;case P0:return al([Tc(t,{value:Yt(t.value,"@","@"+Ft)})],s);case sy:if(t.length)return $3(t.props,function(a){switch(_3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return al([Tc(t,{props:[Yt(a,/:(read-\w+)/,":"+np+"$1")]})],s);case"::placeholder":return al([Tc(t,{props:[Yt(a,/:(plac\w+)/,":"+Ft+"input-$1")]}),Tc(t,{props:[Yt(a,/:(plac\w+)/,":"+np+"$1")]}),Tc(t,{props:[Yt(a,/:(plac\w+)/,nr+"input-$1")]})],s)}return""})}},g7=[m7],y7=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(x){var H=x.getAttribute("data-emotion");H.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var s=t.stylisPlugins||g7,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var H=x.getAttribute("data-emotion").split(" "),S=1;Sn.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const ko="$$material";function ep(){return ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Qn(Vl,--Tr):0,Hl--,En===10&&(Hl=1,Tp--),En}function Yr(){return En=Tr2||bu(En)>3?"":" "}function r7(e,t){for(;--t&&Yr()&&!(En<48||En>102||En>57&&En<65||En>70&&En<97););return Nu(e,Md()+(t<6&&ns()==32&&Yr()==32))}function tg(e){for(;Yr();)switch(En){case e:return Tr;case 34:case 39:e!==34&&e!==39&&tg(En);break;case 40:e===41&&tg(e);break;case 92:Yr();break}return Tr}function o7(e,t){for(;Yr()&&e+En!==57;)if(e+En===84&&ns()===47)break;return"/*"+Nu(t,Tr-1)+"*"+Dp(e===47?e:Yr())}function s7(e){for(;!bu(ns());)Yr();return Nu(e,Tr)}function i7(e){return H0(Xd("",null,null,null,[""],e=w0(e),0,[0],e))}function Xd(e,t,n,r,s,a,l,u,f){for(var p=0,h=0,m=l,P=0,w=0,A=0,x=1,H=1,S=1,z=0,O="",C=s,D=a,k=r,R=O;H;)switch(A=z,z=Yr()){case 40:if(A!=108&&Qn(R,m-1)==58){eg(R+=Yt(Ld(z),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:R+=Ld(z);break;case 9:case 10:case 13:case 32:R+=n7(A);break;case 92:R+=r7(Md()-1,7);continue;case 47:switch(ns()){case 42:case 47:hd(a7(o7(Yr(),Md()),t,n),f);break;default:R+="/"}break;case 123*x:u[p++]=Qo(R)*S;case 125*x:case 59:case 0:switch(z){case 0:case 125:H=0;case 59+h:S==-1&&(R=Yt(R,/\f/g,"")),w>0&&Qo(R)-m&&hd(w>32?l8(R+";",r,n,m-1):l8(Yt(R," ","")+";",r,n,m-2),f);break;case 59:R+=";";default:if(hd(k=a8(R,t,n,p,h,s,u,O,C=[],D=[],m),a),z===123)if(h===0)Xd(R,t,k,k,C,a,m,u,D);else switch(P===99&&Qn(R,3)===110?100:P){case 100:case 108:case 109:case 115:Xd(e,k,k,r&&hd(a8(e,k,k,0,0,s,u,O,s,C=[],m),D),s,D,m,u,r?C:D);break;default:Xd(R,k,k,k,[""],D,0,u,D)}}p=h=w=0,x=S=1,O=R="",m=l;break;case 58:m=1+Qo(R),w=A;default:if(x<1){if(z==123)--x;else if(z==125&&x++==0&&t7()==125)continue}switch(R+=Dp(z),z*x){case 38:S=h>0?1:(R+="\f",-1);break;case 44:u[p++]=(Qo(R)-1)*S,S=1;break;case 64:ns()===45&&(R+=Ld(Yr())),P=ns(),h=m=Qo(O=R+=s7(Md())),z++;break;case 45:A===45&&Qo(R)==2&&(x=0)}}return a}function a8(e,t,n,r,s,a,l,u,f,p,h){for(var m=s-1,P=s===0?a:[""],w=ay(P),A=0,x=0,H=0;A0?P[S]+" "+z:Yt(z,/&\f/g,P[S])))&&(f[H++]=O);return kp(e,t,n,s===0?sy:u,f,p,h)}function a7(e,t,n){return kp(e,t,n,A0,Dp(e7()),Pu(e,2,-2),0)}function l8(e,t,n,r){return kp(e,t,n,iy,Pu(e,0,r),Pu(e,r+1,-1),r)}function al(e,t){for(var n="",r=ay(e),s=0;s6)switch(Qn(e,t+1)){case 109:if(Qn(e,t+4)!==45)break;case 102:return Yt(e,/(.+:)(.+)-([^]+)/,"$1"+Ft+"$2-$3$1"+np+(Qn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~eg(e,"stretch")?S0(Yt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Qn(e,t+1)!==115)break;case 6444:switch(Qn(e,Qo(e)-3-(~eg(e,"!important")&&10))){case 107:return Yt(e,":",":"+Ft)+e;case 101:return Yt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ft+(Qn(e,14)===45?"inline-":"")+"box$3$1"+Ft+"$2$3$1"+nr+"$2box$3")+e}break;case 5936:switch(Qn(e,t+11)){case 114:return Ft+e+nr+Yt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ft+e+nr+Yt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ft+e+nr+Yt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ft+e+nr+e+e}return e}var m7=function(t,n,r,s){if(t.length>-1&&!t.return)switch(t.type){case iy:t.return=S0(t.value,t.length);break;case P0:return al([Tc(t,{value:Yt(t.value,"@","@"+Ft)})],s);case sy:if(t.length)return $3(t.props,function(a){switch(_3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return al([Tc(t,{props:[Yt(a,/:(read-\w+)/,":"+np+"$1")]})],s);case"::placeholder":return al([Tc(t,{props:[Yt(a,/:(plac\w+)/,":"+Ft+"input-$1")]}),Tc(t,{props:[Yt(a,/:(plac\w+)/,":"+np+"$1")]}),Tc(t,{props:[Yt(a,/:(plac\w+)/,nr+"input-$1")]})],s)}return""})}},g7=[m7],y7=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(x){var H=x.getAttribute("data-emotion");H.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var s=t.stylisPlugins||g7,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var H=x.getAttribute("data-emotion").split(" "),S=1;S{throw TypeError(e)};var X3=(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 u8;function A7(){if(u8)return qt;u8=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,P=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,A=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,H=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,z=e?Symbol.for("react.scope"):60119;function O(D){if(typeof D=="object"&&D!==null){var k=D.$$typeof;switch(k){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 k}}case n:return k}}}function C(D){return O(D)===p}return qt.AsyncMode=f,qt.ConcurrentMode=p,qt.ContextConsumer=u,qt.ContextProvider=l,qt.Element=t,qt.ForwardRef=h,qt.Fragment=r,qt.Lazy=A,qt.Memo=w,qt.Portal=n,qt.Profiler=a,qt.StrictMode=s,qt.Suspense=m,qt.isAsyncMode=function(D){return C(D)||O(D)===f},qt.isConcurrentMode=C,qt.isContextConsumer=function(D){return O(D)===u},qt.isContextProvider=function(D){return O(D)===l},qt.isElement=function(D){return typeof D=="object"&&D!==null&&D.$$typeof===t},qt.isForwardRef=function(D){return O(D)===h},qt.isFragment=function(D){return O(D)===r},qt.isLazy=function(D){return O(D)===A},qt.isMemo=function(D){return O(D)===w},qt.isPortal=function(D){return O(D)===n},qt.isProfiler=function(D){return O(D)===a},qt.isStrictMode=function(D){return O(D)===s},qt.isSuspense=function(D){return O(D)===m},qt.isValidElementType=function(D){return typeof D=="string"||typeof D=="function"||D===r||D===p||D===a||D===s||D===m||D===P||typeof D=="object"&&D!==null&&(D.$$typeof===A||D.$$typeof===w||D.$$typeof===l||D.$$typeof===u||D.$$typeof===h||D.$$typeof===H||D.$$typeof===S||D.$$typeof===z||D.$$typeof===x)},qt.typeOf=O,qt}var f8;function P7(){return f8||(f8=1,gm.exports=A7()),gm.exports}var ym,d8;function b7(){if(d8)return ym;d8=1;var e=P7(),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,P=Object.prototype;function w(A,x,H){if(typeof x!="string"){if(P){var S=m(x);S&&S!==P&&w(A,S,H)}var z=f(x);p&&(z=z.concat(p(x)));for(var O=l(A),C=l(x),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 H7={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},j7=!1,S7=/[A-Z]|^ms/g,z7=/_EMO_([^_]+?)_([^]*?)_EMO_/g,O0=function(t){return t.charCodeAt(1)===45},p8=function(t){return t!=null&&typeof t!="boolean"},Am=j0(function(e){return O0(e)?e:e.replace(S7,"-$&").toLowerCase()}),v8=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(z7,function(r,s,a){return Ko={name:s,styles:a,next:Ko},s})}return H7[t]!==1&&!O0(t)&&typeof n=="number"&&n!==0?n+"px":n},O7="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function xu(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 Ko={name:s.name,styles:s.styles,next:Ko},s.name;var a=n;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)Ko={name:l.name,styles:l.styles,next:Ko},l=l.next;var u=a.styles+";";return u}return C7(e,t,n)}case"function":{if(e!==void 0){var f=Ko,p=n(e);return Ko=f,xu(e,t,p)}break}}var h=n;if(t==null)return h;var m=t[h];return m!==void 0?m:h}function C7(e,t,n){var r="";if(Array.isArray(n))for(var s=0;s96?V7:I7},A8=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},W7=function(t){var n=t.cache,r=t.serialized,s=t.isStringTag;return ly(n,r,s),D0(function(){return cy(n,r,s)}),null},J7=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=A8(t,n,r),f=u||y8(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 P=h[0];m.push(P[0]);for(var w=h.length,A=1;At(Y7(s)?n:s):t;return v.jsx(L7,{styles:r})}/** - * @mui/styled-engine v6.2.0 + * @mui/styled-engine v6.2.1 * * @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 R0(e,t){return rg(e,t)}function q7(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const P8=[];function b8(e){return P8[0]=e,Bu(P8)}function _o(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 E0(e){if(y.isValidElement(e)||!_o(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=E0(e[n])}),t}function Yn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return _o(e)&&_o(t)&&Object.keys(t).forEach(s=>{y.isValidElement(t[s])?r[s]=t[s]:_o(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&_o(e[s])?r[s]=Yn(e[s],t[s],n):n.clone?r[s]=_o(t[s])?E0(t[s]):t[s]:r[s]=t[s]}),r}const Z7=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 G7(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...s}=e,a=Z7(t),l=Object.keys(a);function u(P){return`@media (min-width:${typeof t[P]=="number"?t[P]:P}${n})`}function f(P){return`@media (max-width:${(typeof t[P]=="number"?t[P]:P)-r/100}${n})`}function p(P,w){const A=l.indexOf(w);return`@media (min-width:${typeof t[P]=="number"?t[P]:P}${n}) and (max-width:${(A!==-1&&typeof t[l[A]]=="number"?t[l[A]]:w)-r/100}${n})`}function h(P){return l.indexOf(P)+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 Q7(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function K7(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 _7(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 $7={borderRadius:4};function lu(e,t){return t?Yn(e,t,{clone:!1}):e}const Rp={xs:0,sm:600,md:900,lg:1200,xl:1536},x8={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Rp[e]}px)`},eH={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Rp[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function kr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||x8;return t.reduce((l,u,f)=>(l[a.up(a.keys[f])]=n(t[f]),l),{})}if(typeof t=="object"){const a=r.breakpoints||x8;return Object.keys(t).reduce((l,u)=>{if(Q7(a.keys,u)){const f=K7(r.containerQueries?r:eH,u);f&&(l[f]=n(t[u],u))}else if(Object.keys(a.values||Rp).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 M0(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,s)=>{const a=e.up(s);return r[a]={},r},{}))||{}}function L0(e,t){return e.reduce((n,r)=>{const s=n[r];return(!s||Object.keys(s).length===0)&&delete n[r],n},t)}function tH(e,...t){const n=M0(e),r=[n,...t].reduce((s,a)=>Yn(s,a),{});return L0(Object.keys(n),r)}function nH(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 oa({values:e,breakpoints:t,base:n}){const r=n||nH(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(Ts(7));return e.charAt(0).toUpperCase()+e.slice(1)}function jl(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 rp(e,t,n,r=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||r:s=jl(e,n)||r,t&&(s=t(s,r,e)),s}function Tn(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=jl(f,r)||{};return kr(l,u,m=>{let P=rp(p,s,m);return m===P&&typeof m=="string"&&(P=rp(p,s,`${t}${m==="default"?"":me(m)}`,m)),n===!1?P:{[n]:P}})};return a.propTypes={},a.filterProps=[t],a}function rH(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const oH={m:"margin",p:"padding"},sH={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},w8={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},iH=rH(e=>{if(e.length>2)if(w8[e])e=w8[e];else return[e];const[t,n]=e.split(""),r=oH[t],s=sH[n]||"";return Array.isArray(s)?s.map(a=>r+a):[r+s]}),py=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],vy=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...py,...vy];function Wu(e,t,n,r){const s=jl(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 Ep(e){return Wu(e,"spacing",8)}function aa(e,t){return typeof t=="string"||t==null?t:e(t)}function aH(e,t){return n=>e.reduce((r,s)=>(r[s]=aa(t,n),r),{})}function lH(e,t,n,r){if(!t.includes(n))return null;const s=iH(n),a=aH(s,r),l=e[n];return kr(e,l,a)}function X0(e,t){const n=Ep(e.theme);return Object.keys(e).map(r=>lH(e,t,r,n)).reduce(lu,{})}function xn(e){return X0(e,py)}xn.propTypes={};xn.filterProps=py;function wn(e){return X0(e,vy)}wn.propTypes={};wn.filterProps=vy;function N0(e=8,t=Ep({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 Mp(...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]?lu(s,t[a](r)):s,{});return n.propTypes={},n.filterProps=e.reduce((r,s)=>r.concat(s.filterProps),[]),n}function lo(e){return typeof e!="number"?e:`${e}px solid`}function vo(e,t){return Tn({prop:e,themeKey:"borders",transform:t})}const cH=vo("border",lo),uH=vo("borderTop",lo),fH=vo("borderRight",lo),dH=vo("borderBottom",lo),pH=vo("borderLeft",lo),vH=vo("borderColor"),hH=vo("borderTopColor"),mH=vo("borderRightColor"),gH=vo("borderBottomColor"),yH=vo("borderLeftColor"),AH=vo("outline",lo),PH=vo("outlineColor"),Lp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Wu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:aa(t,r)});return kr(e,e.borderRadius,n)}return null};Lp.propTypes={};Lp.filterProps=["borderRadius"];Mp(cH,uH,fH,dH,pH,vH,hH,mH,gH,yH,Lp,AH,PH);const Xp=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Wu(e.theme,"spacing",8),n=r=>({gap:aa(t,r)});return kr(e,e.gap,n)}return null};Xp.propTypes={};Xp.filterProps=["gap"];const Np=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Wu(e.theme,"spacing",8),n=r=>({columnGap:aa(t,r)});return kr(e,e.columnGap,n)}return null};Np.propTypes={};Np.filterProps=["columnGap"];const Bp=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Wu(e.theme,"spacing",8),n=r=>({rowGap:aa(t,r)});return kr(e,e.rowGap,n)}return null};Bp.propTypes={};Bp.filterProps=["rowGap"];const bH=Tn({prop:"gridColumn"}),xH=Tn({prop:"gridRow"}),wH=Tn({prop:"gridAutoFlow"}),HH=Tn({prop:"gridAutoColumns"}),jH=Tn({prop:"gridAutoRows"}),SH=Tn({prop:"gridTemplateColumns"}),zH=Tn({prop:"gridTemplateRows"}),OH=Tn({prop:"gridTemplateAreas"}),CH=Tn({prop:"gridArea"});Mp(Xp,Np,Bp,bH,xH,wH,HH,jH,SH,zH,OH,CH);function ll(e,t){return t==="grey"?t:e}const DH=Tn({prop:"color",themeKey:"palette",transform:ll}),TH=Tn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ll}),kH=Tn({prop:"backgroundColor",themeKey:"palette",transform:ll});Mp(DH,TH,kH);function Yr(e){return e<=1&&e!==0?`${e*100}%`:e}const RH=Tn({prop:"width",transform:Yr}),hy=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])||Rp[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 kr(e,e.maxWidth,t)}return null};hy.filterProps=["maxWidth"];const EH=Tn({prop:"minWidth",transform:Yr}),MH=Tn({prop:"height",transform:Yr}),LH=Tn({prop:"maxHeight",transform:Yr}),XH=Tn({prop:"minHeight",transform:Yr});Tn({prop:"size",cssProperty:"width",transform:Yr});Tn({prop:"size",cssProperty:"height",transform:Yr});const NH=Tn({prop:"boxSizing"});Mp(RH,hy,EH,MH,LH,XH,NH);const Ju={border:{themeKey:"borders",transform:lo},borderTop:{themeKey:"borders",transform:lo},borderRight:{themeKey:"borders",transform:lo},borderBottom:{themeKey:"borders",transform:lo},borderLeft:{themeKey:"borders",transform:lo},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:lo},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lp},color:{themeKey:"palette",transform:ll},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ll},backgroundColor:{themeKey:"palette",transform:ll},p:{style:wn},pt:{style:wn},pr:{style:wn},pb:{style:wn},pl:{style:wn},px:{style:wn},py:{style:wn},padding:{style:wn},paddingTop:{style:wn},paddingRight:{style:wn},paddingBottom:{style:wn},paddingLeft:{style:wn},paddingX:{style:wn},paddingY:{style:wn},paddingInline:{style:wn},paddingInlineStart:{style:wn},paddingInlineEnd:{style:wn},paddingBlock:{style:wn},paddingBlockStart:{style:wn},paddingBlockEnd:{style:wn},m:{style:xn},mt:{style:xn},mr:{style:xn},mb:{style:xn},ml:{style:xn},mx:{style:xn},my:{style:xn},margin:{style:xn},marginTop:{style:xn},marginRight:{style:xn},marginBottom:{style:xn},marginLeft:{style:xn},marginX:{style:xn},marginY:{style:xn},marginInline:{style:xn},marginInlineStart:{style:xn},marginInlineEnd:{style:xn},marginBlock:{style:xn},marginBlockStart:{style:xn},marginBlockEnd:{style:xn},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:Xp},rowGap:{style:Bp},columnGap:{style:Np},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:hy},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 BH(...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 VH(e,t){return typeof e=="function"?e(t):e}function IH(){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 P=jl(s,p)||{};return m?m(l):kr(l,r,A=>{let x=rp(P,h,A);return A===x&&typeof A=="string"&&(x=rp(P,h,`${n}${A==="default"?"":me(A)}`,A)),f===!1?x:{[f]:x}})}function t(n){const{sx:r,theme:s={}}=n||{};if(!r)return null;const a=s.unstable_sxConfig??Ju;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=M0(s.breakpoints),h=Object.keys(p);let m=p;return Object.keys(f).forEach(P=>{const w=VH(f[P],s);if(w!=null)if(typeof w=="object")if(a[P])m=lu(m,e(P,w,s,a));else{const A=kr({theme:s},w,x=>({[P]:x}));BH(A,w)?m[P]=t({sx:w,theme:s}):m=lu(m,A)}else m=lu(m,e(P,w,s,a))}),U7(s,L0(h,m))}return Array.isArray(r)?r.map(l):l(r)}return t}const yi=IH();yi.filterProps=["sx"];function WH(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 Vp(e={},...t){const{breakpoints:n={},palette:r={},spacing:s,shape:a={},...l}=e,u=G7(n),f=N0(s);let p=Yn({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:f,shape:{...$7,...a}},l);return p=_7(p),p.applyStyles=WH,p=t.reduce((h,m)=>Yn(h,m),p),p.unstable_sxConfig={...Ju,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(m){return yi({sx:m,theme:this})},p}function JH(e){return Object.keys(e).length===0}function my(e=null){const t=y.useContext(Vu);return!t||JH(t)?e:t}const FH=Vp();function Ip(e=FH){return my(e)}function YH({styles:e,themeId:t,defaultTheme:n={}}){const r=Ip(n),s=typeof e=="function"?e(t&&r[t]||r):e;return v.jsx(k0,{styles:s})}const qH=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Ju;return Object.keys(e).forEach(s=>{n[s]?t.systemProps[s]=e[s]:t.otherProps[s]=e[s]}),t};function Wp(e){const{sx:t,...n}=e,{systemProps:r,otherProps:s}=qH(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return _o(u)?{...r,...u}:r}:a={...r,...t},{...s,sx:a}}const H8=e=>e,ZH=()=>{let e=H8;return{configure(t){e=t},generate(t){return e(t)},reset(){e=H8}}},B0=ZH();function V0(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"})(yi);return y.forwardRef(function(f,p){const h=Ip(n),{className:m,component:P="div",...w}=Wp(f);return v.jsx(a,{as:P,ref:p,className:Oe(m,s?s(r):r),theme:t&&h[t]||h,...w})})}const UH={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 Ze(e,t,n="Mui"){const r=UH[t];return r?`${n}-${r}`:`${B0.generate(e)}-${t}`}function Ge(e,t,n="Mui"){const r={};return t.forEach(s=>{r[s]=Ze(e,s,n)}),r}function I0(e){const{variants:t,...n}=e,r={variants:t,style:b8(n),isProcessed:!0};return r.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=b8(s.style))}),r}const QH=Vp();function Pm(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function KH(e){return e?(t,n)=>n[e]:null}function _H(e,t,n){e.theme=ej(e.theme)?n:e.theme[t]||e.theme}function Nd(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>Nd(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 W0(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function W0(e,t,n=[]){var s;let r;e:for(let a=0;a{q7(u,D=>D.filter(k=>k!==yi));const{name:p,slot:h,skipVariantsResolver:m,skipSx:P,overridesResolver:w=KH(nj(h)),...A}=f,x=m!==void 0?m:h&&h!=="Root"&&h!=="root"||!1,H=P||!1;let S=Pm;h==="Root"||h==="root"?S=r:h?S=s:tj(u)&&(S=void 0);const z=R0(u,{shouldForwardProp:S,label:$H(),...A}),O=D=>{if(typeof D=="function"&&D.__emotion_real!==D)return function(R){return Nd(R,D)};if(_o(D)){const k=I0(D);return k.variants?function(M){return Nd(M,k)}:k.style}return D},C=(...D)=>{const k=[],R=D.map(O),M=[];if(k.push(a),p&&w&&M.push(function(I){var ne,re;const K=(re=(ne=I.theme.components)==null?void 0:ne[p])==null?void 0:re.styleOverrides;if(!K)return null;const W={};for(const F in K)W[F]=Nd(I,K[F]);return w(I,W)}),p&&!x&&M.push(function(I){var W,ne;const J=I.theme,K=(ne=(W=J==null?void 0:J.components)==null?void 0:W[p])==null?void 0:ne.variants;return K?W0(I,K):null}),H||M.push(yi),Array.isArray(R[0])){const B=R.shift(),I=new Array(k.length).fill(""),J=new Array(M.length).fill("");let K;K=[...I,...B,...J],K.raw=[...I,...B.raw,...J],k.unshift(K)}const L=[...k,...R,...M],j=z(...L);return u.muiName&&(j.muiName=u.muiName),j};return z.withConfig&&(C.withConfig=z.withConfig),C}}function $H(e,t){return void 0}function ej(e){for(const t in e)return!1;return!0}function tj(e){return typeof e=="string"&&e.charCodeAt(0)>96}function nj(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const rj=J0();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 F0(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 oj({props:e,name:t,defaultTheme:n,themeId:r}){let s=Ip(n);return r&&(s=s[r]||s),F0({theme:s,name:t,props:e})}const uo=typeof window<"u"?y.useLayoutEffect:y.useEffect;function sj(e,t,n,r,s){const[a,l]=y.useState(()=>s&&n?n(e).matches:r?r(e).matches:t);return uo(()=>{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 ij={...tp},Y0=ij.useSyncExternalStore;function aj(e,t,n,r,s){const a=y.useCallback(()=>t,[t]),l=y.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]=y.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 Y0(f,u,l)}function lj(e={}){const{themeId:t}=e;return function(r,s={}){let a=my();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}=F0({name:"MuiUseMediaQuery",props:s,theme:a});let m=typeof r=="function"?r(a):r;return m=m.replace(/^@media( ?)/m,""),(Y0!==void 0?aj:sj)(m,u,f,p,h)}}function cj(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function gy(e,t=0,n=1){return cj(e,t,n)}function uj(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 Ai(e){if(e.type)return e;if(e.charAt(0)==="#")return Ai(uj(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Ts(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(Ts(10,s))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:s}}const fj=e=>{const t=Ai(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Qc=(e,t)=>{try{return fj(e)}catch{return e}};function Jp(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 q0(e){e=Ai(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])),Jp({type:u,values:f})}function og(e){e=Ai(e);let t=e.type==="hsl"||e.type==="hsla"?Ai(q0(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 dj(e,t){const n=og(e),r=og(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Pt(e,t){return e=Ai(e),t=gy(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Jp(e)}function md(e,t,n){try{return Pt(e,t)}catch{return e}}function la(e,t){if(e=Ai(e),t=gy(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 Jp(e)}function Qt(e,t,n){try{return la(e,t)}catch{return e}}function ca(e,t){if(e=Ai(e),t=gy(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 Jp(e)}function Kt(e,t,n){try{return ca(e,t)}catch{return e}}function Z0(e,t=.15){return og(e)>.5?la(e,t):ca(e,t)}function gd(e,t,n){try{return Z0(e,t)}catch{return e}}function sg(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function yy(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 Bd(e,t){var n,r,s;return y.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 sr(e){return e&&e.ownerDocument||document}function Eo(e){return sr(e).defaultView||window}function op(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let j8=0;function pj(e){const[t,n]=y.useState(e),r=e||t;return y.useEffect(()=>{t==null&&(j8+=1,n(`mui-${j8}`))},[t]),r}const vj={...tp},S8=vj.useId;function ks(e){if(S8!==void 0){const t=S8();return e??t}return pj(e)}function gi({controlled:e,default:t,name:n,state:r="value"}){const{current:s}=y.useRef(e!==void 0),[a,l]=y.useState(t),u=s?e:a,f=y.useCallback(p=>{s||l(p)},[]);return[u,f]}function hr(e){const t=y.useRef(e);return uo(()=>{t.current=e}),y.useRef((...n)=>(0,t.current)(...n)).current}function nn(...e){return y.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{op(n,t)})},e)}const z8={};function G0(e,t){const n=y.useRef(z8);return n.current===z8&&(n.current=e(t)),n}const hj=[];function mj(e){y.useEffect(e,hj)}class Fp{constructor(){Oc(this,"currentId",null);Oc(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Oc(this,"disposeEffect",()=>this.clear)}static create(){return new Fp}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Zi(){const e=G0(Fp.create).current;return mj(e.disposeEffect),e}function zl(e){try{return e.matches(":focus-visible")}catch{}return!1}function U0(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const gj=e=>{const t=y.useRef({});return y.useEffect(()=>{t.current=e}),t.current};function Ke(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 O8(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 K0(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},x={...n,...s,...r};return w.length>0&&(x.className=w),Object.keys(A).length>0&&(x.style=A),{props:x,internalRef:void 0}}const l=sp({...s,...r}),u=O8(r),f=O8(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},P={...p,...n,...f,...u};return h.length>0&&(P.className=h),Object.keys(m).length>0&&(P.style=m),{props:P,internalRef:p.ref}}function _0(e,t,n){return typeof e=="function"?e(t,n):e}function ip(e){var m;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:s=!1,...a}=e,l=s?{}:_0(n,r),{props:u,internalRef:f}=K0({...a,externalSlotProps:l}),p=nn(f,l==null?void 0:l.ref,(m=e.additionalProps)==null?void 0:m.ref);return Q0(t,{...u,ref:p},r)}function bi(e){var t;return parseInt(y.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const $0=y.createContext(null);function Ay(){return y.useContext($0)}const Aj=typeof Symbol=="function"&&Symbol.for,Pj=Aj?Symbol.for("mui.nested"):"__THEME_NESTED__";function bj(e,t){return typeof t=="function"?t(e):{...e,...t}}function xj(e){const{children:t,theme:n}=e,r=Ay(),s=y.useMemo(()=>{const a=r===null?{...n}:bj(r,n);return a!=null&&(a[Pj]=r!==null),a},[n,r]);return v.jsx($0.Provider,{value:s,children:t})}const e1=y.createContext();function wj({value:e,...t}){return v.jsx(e1.Provider,{value:e??!0,...t})}const Fu=()=>y.useContext(e1)??!1,t1=y.createContext(void 0);function Hj({value:e,children:t}){return v.jsx(t1.Provider,{value:e,children:t})}function jj(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 Sj({props:e,name:t}){const n=y.useContext(t1);return jj({props:e,name:t,theme:{components:n}})}const C8={};function D8(e,t,n,r=!1){return y.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 n1(e){const{children:t,theme:n,themeId:r}=e,s=my(C8),a=Ay()||C8,l=D8(r,s,n),u=D8(r,a,n,!0),f=(r?l[r]:l).direction==="rtl";return v.jsx(xj,{theme:u,children:v.jsx(Vu.Provider,{value:l,children:v.jsx(wj,{value:f,children:v.jsx(Hj,{value:r?l[r].components:l.components,children:t})})})})}const T8={theme:void 0};function zj(e){let t,n;return function(s){let a=t;return(a===void 0||s.theme!==n)&&(T8.theme=s.theme,a=I0(e(T8)),t=a,n=s.theme),a}}const Py="mode",by="color-scheme",Oj="data-color-scheme";function Cj(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:s=Py,colorSchemeStorageKey:a=by,attribute:l=Oj,colorSchemeNode:u="document.documentElement",nonce:f}=e||{};let p="",h=l;if(l==="class"&&(h=".%s"),l==="data"&&(h="[data-%s]"),h.startsWith(".")){const P=h.substring(1);p+=`${u}.classList.remove('${P}'.replace('%s', light), '${P}'.replace('%s', dark)); + */function R0(e,t){return rg(e,t)}function q7(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const P8=[];function b8(e){return P8[0]=e,Bu(P8)}function _o(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 E0(e){if(y.isValidElement(e)||!_o(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=E0(e[n])}),t}function Yn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return _o(e)&&_o(t)&&Object.keys(t).forEach(s=>{y.isValidElement(t[s])?r[s]=t[s]:_o(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&_o(e[s])?r[s]=Yn(e[s],t[s],n):n.clone?r[s]=_o(t[s])?E0(t[s]):t[s]:r[s]=t[s]}),r}const Z7=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 G7(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...s}=e,a=Z7(t),l=Object.keys(a);function u(P){return`@media (min-width:${typeof t[P]=="number"?t[P]:P}${n})`}function f(P){return`@media (max-width:${(typeof t[P]=="number"?t[P]:P)-r/100}${n})`}function p(P,w){const A=l.indexOf(w);return`@media (min-width:${typeof t[P]=="number"?t[P]:P}${n}) and (max-width:${(A!==-1&&typeof t[l[A]]=="number"?t[l[A]]:w)-r/100}${n})`}function h(P){return l.indexOf(P)+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 Q7(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function K7(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 _7(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 $7={borderRadius:4};function lu(e,t){return t?Yn(e,t,{clone:!1}):e}const Rp={xs:0,sm:600,md:900,lg:1200,xl:1536},x8={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Rp[e]}px)`},eH={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Rp[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function kr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||x8;return t.reduce((l,u,f)=>(l[a.up(a.keys[f])]=n(t[f]),l),{})}if(typeof t=="object"){const a=r.breakpoints||x8;return Object.keys(t).reduce((l,u)=>{if(Q7(a.keys,u)){const f=K7(r.containerQueries?r:eH,u);f&&(l[f]=n(t[u],u))}else if(Object.keys(a.values||Rp).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 M0(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,s)=>{const a=e.up(s);return r[a]={},r},{}))||{}}function L0(e,t){return e.reduce((n,r)=>{const s=n[r];return(!s||Object.keys(s).length===0)&&delete n[r],n},t)}function tH(e,...t){const n=M0(e),r=[n,...t].reduce((s,a)=>Yn(s,a),{});return L0(Object.keys(n),r)}function nH(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 oa({values:e,breakpoints:t,base:n}){const r=n||nH(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(Ts(7));return e.charAt(0).toUpperCase()+e.slice(1)}function jl(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 rp(e,t,n,r=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||r:s=jl(e,n)||r,t&&(s=t(s,r,e)),s}function Tn(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=jl(f,r)||{};return kr(l,u,m=>{let P=rp(p,s,m);return m===P&&typeof m=="string"&&(P=rp(p,s,`${t}${m==="default"?"":me(m)}`,m)),n===!1?P:{[n]:P}})};return a.propTypes={},a.filterProps=[t],a}function rH(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const oH={m:"margin",p:"padding"},sH={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},w8={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},iH=rH(e=>{if(e.length>2)if(w8[e])e=w8[e];else return[e];const[t,n]=e.split(""),r=oH[t],s=sH[n]||"";return Array.isArray(s)?s.map(a=>r+a):[r+s]}),py=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],vy=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...py,...vy];function Wu(e,t,n,r){const s=jl(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 Ep(e){return Wu(e,"spacing",8)}function aa(e,t){return typeof t=="string"||t==null?t:e(t)}function aH(e,t){return n=>e.reduce((r,s)=>(r[s]=aa(t,n),r),{})}function lH(e,t,n,r){if(!t.includes(n))return null;const s=iH(n),a=aH(s,r),l=e[n];return kr(e,l,a)}function X0(e,t){const n=Ep(e.theme);return Object.keys(e).map(r=>lH(e,t,r,n)).reduce(lu,{})}function bn(e){return X0(e,py)}bn.propTypes={};bn.filterProps=py;function xn(e){return X0(e,vy)}xn.propTypes={};xn.filterProps=vy;function N0(e=8,t=Ep({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 Mp(...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]?lu(s,t[a](r)):s,{});return n.propTypes={},n.filterProps=e.reduce((r,s)=>r.concat(s.filterProps),[]),n}function lo(e){return typeof e!="number"?e:`${e}px solid`}function vo(e,t){return Tn({prop:e,themeKey:"borders",transform:t})}const cH=vo("border",lo),uH=vo("borderTop",lo),fH=vo("borderRight",lo),dH=vo("borderBottom",lo),pH=vo("borderLeft",lo),vH=vo("borderColor"),hH=vo("borderTopColor"),mH=vo("borderRightColor"),gH=vo("borderBottomColor"),yH=vo("borderLeftColor"),AH=vo("outline",lo),PH=vo("outlineColor"),Lp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Wu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:aa(t,r)});return kr(e,e.borderRadius,n)}return null};Lp.propTypes={};Lp.filterProps=["borderRadius"];Mp(cH,uH,fH,dH,pH,vH,hH,mH,gH,yH,Lp,AH,PH);const Xp=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Wu(e.theme,"spacing",8),n=r=>({gap:aa(t,r)});return kr(e,e.gap,n)}return null};Xp.propTypes={};Xp.filterProps=["gap"];const Np=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Wu(e.theme,"spacing",8),n=r=>({columnGap:aa(t,r)});return kr(e,e.columnGap,n)}return null};Np.propTypes={};Np.filterProps=["columnGap"];const Bp=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Wu(e.theme,"spacing",8),n=r=>({rowGap:aa(t,r)});return kr(e,e.rowGap,n)}return null};Bp.propTypes={};Bp.filterProps=["rowGap"];const bH=Tn({prop:"gridColumn"}),xH=Tn({prop:"gridRow"}),wH=Tn({prop:"gridAutoFlow"}),HH=Tn({prop:"gridAutoColumns"}),jH=Tn({prop:"gridAutoRows"}),SH=Tn({prop:"gridTemplateColumns"}),zH=Tn({prop:"gridTemplateRows"}),OH=Tn({prop:"gridTemplateAreas"}),CH=Tn({prop:"gridArea"});Mp(Xp,Np,Bp,bH,xH,wH,HH,jH,SH,zH,OH,CH);function ll(e,t){return t==="grey"?t:e}const DH=Tn({prop:"color",themeKey:"palette",transform:ll}),TH=Tn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ll}),kH=Tn({prop:"backgroundColor",themeKey:"palette",transform:ll});Mp(DH,TH,kH);function Fr(e){return e<=1&&e!==0?`${e*100}%`:e}const RH=Tn({prop:"width",transform:Fr}),hy=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])||Rp[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:Fr(n)}};return kr(e,e.maxWidth,t)}return null};hy.filterProps=["maxWidth"];const EH=Tn({prop:"minWidth",transform:Fr}),MH=Tn({prop:"height",transform:Fr}),LH=Tn({prop:"maxHeight",transform:Fr}),XH=Tn({prop:"minHeight",transform:Fr});Tn({prop:"size",cssProperty:"width",transform:Fr});Tn({prop:"size",cssProperty:"height",transform:Fr});const NH=Tn({prop:"boxSizing"});Mp(RH,hy,EH,MH,LH,XH,NH);const Ju={border:{themeKey:"borders",transform:lo},borderTop:{themeKey:"borders",transform:lo},borderRight:{themeKey:"borders",transform:lo},borderBottom:{themeKey:"borders",transform:lo},borderLeft:{themeKey:"borders",transform:lo},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:lo},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lp},color:{themeKey:"palette",transform:ll},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ll},backgroundColor:{themeKey:"palette",transform:ll},p:{style:xn},pt:{style:xn},pr:{style:xn},pb:{style:xn},pl:{style:xn},px:{style:xn},py:{style:xn},padding:{style:xn},paddingTop:{style:xn},paddingRight:{style:xn},paddingBottom:{style:xn},paddingLeft:{style:xn},paddingX:{style:xn},paddingY:{style:xn},paddingInline:{style:xn},paddingInlineStart:{style:xn},paddingInlineEnd:{style:xn},paddingBlock:{style:xn},paddingBlockStart:{style:xn},paddingBlockEnd:{style:xn},m:{style:bn},mt:{style:bn},mr:{style:bn},mb:{style:bn},ml:{style:bn},mx:{style:bn},my:{style:bn},margin:{style:bn},marginTop:{style:bn},marginRight:{style:bn},marginBottom:{style:bn},marginLeft:{style:bn},marginX:{style:bn},marginY:{style:bn},marginInline:{style:bn},marginInlineStart:{style:bn},marginInlineEnd:{style:bn},marginBlock:{style:bn},marginBlockStart:{style:bn},marginBlockEnd:{style:bn},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:Xp},rowGap:{style:Bp},columnGap:{style:Np},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Fr},maxWidth:{style:hy},minWidth:{transform:Fr},height:{transform:Fr},maxHeight:{transform:Fr},minHeight:{transform:Fr},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 BH(...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 VH(e,t){return typeof e=="function"?e(t):e}function IH(){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 P=jl(s,p)||{};return m?m(l):kr(l,r,A=>{let x=rp(P,h,A);return A===x&&typeof A=="string"&&(x=rp(P,h,`${n}${A==="default"?"":me(A)}`,A)),f===!1?x:{[f]:x}})}function t(n){const{sx:r,theme:s={}}=n||{};if(!r)return null;const a=s.unstable_sxConfig??Ju;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=M0(s.breakpoints),h=Object.keys(p);let m=p;return Object.keys(f).forEach(P=>{const w=VH(f[P],s);if(w!=null)if(typeof w=="object")if(a[P])m=lu(m,e(P,w,s,a));else{const A=kr({theme:s},w,x=>({[P]:x}));BH(A,w)?m[P]=t({sx:w,theme:s}):m=lu(m,A)}else m=lu(m,e(P,w,s,a))}),U7(s,L0(h,m))}return Array.isArray(r)?r.map(l):l(r)}return t}const yi=IH();yi.filterProps=["sx"];function WH(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 Vp(e={},...t){const{breakpoints:n={},palette:r={},spacing:s,shape:a={},...l}=e,u=G7(n),f=N0(s);let p=Yn({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:f,shape:{...$7,...a}},l);return p=_7(p),p.applyStyles=WH,p=t.reduce((h,m)=>Yn(h,m),p),p.unstable_sxConfig={...Ju,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(m){return yi({sx:m,theme:this})},p}function JH(e){return Object.keys(e).length===0}function my(e=null){const t=y.useContext(Vu);return!t||JH(t)?e:t}const FH=Vp();function Ip(e=FH){return my(e)}function YH({styles:e,themeId:t,defaultTheme:n={}}){const r=Ip(n),s=typeof e=="function"?e(t&&r[t]||r):e;return v.jsx(k0,{styles:s})}const qH=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Ju;return Object.keys(e).forEach(s=>{n[s]?t.systemProps[s]=e[s]:t.otherProps[s]=e[s]}),t};function Wp(e){const{sx:t,...n}=e,{systemProps:r,otherProps:s}=qH(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return _o(u)?{...r,...u}:r}:a={...r,...t},{...s,sx:a}}const H8=e=>e,ZH=()=>{let e=H8;return{configure(t){e=t},generate(t){return e(t)},reset(){e=H8}}},B0=ZH();function V0(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"})(yi);return y.forwardRef(function(f,p){const h=Ip(n),{className:m,component:P="div",...w}=Wp(f);return v.jsx(a,{as:P,ref:p,className:Oe(m,s?s(r):r),theme:t&&h[t]||h,...w})})}const UH={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 Ze(e,t,n="Mui"){const r=UH[t];return r?`${n}-${r}`:`${B0.generate(e)}-${t}`}function Ge(e,t,n="Mui"){const r={};return t.forEach(s=>{r[s]=Ze(e,s,n)}),r}function I0(e){const{variants:t,...n}=e,r={variants:t,style:b8(n),isProcessed:!0};return r.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=b8(s.style))}),r}const QH=Vp();function Pm(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function KH(e){return e?(t,n)=>n[e]:null}function _H(e,t,n){e.theme=ej(e.theme)?n:e.theme[t]||e.theme}function Nd(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>Nd(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 W0(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function W0(e,t,n=[]){var s;let r;e:for(let a=0;a{q7(u,D=>D.filter(k=>k!==yi));const{name:p,slot:h,skipVariantsResolver:m,skipSx:P,overridesResolver:w=KH(nj(h)),...A}=f,x=m!==void 0?m:h&&h!=="Root"&&h!=="root"||!1,H=P||!1;let S=Pm;h==="Root"||h==="root"?S=r:h?S=s:tj(u)&&(S=void 0);const z=R0(u,{shouldForwardProp:S,label:$H(),...A}),O=D=>{if(typeof D=="function"&&D.__emotion_real!==D)return function(R){return Nd(R,D)};if(_o(D)){const k=I0(D);return k.variants?function(M){return Nd(M,k)}:k.style}return D},C=(...D)=>{const k=[],R=D.map(O),M=[];if(k.push(a),p&&w&&M.push(function(I){var ee,ne;const _=(ne=(ee=I.theme.components)==null?void 0:ee[p])==null?void 0:ne.styleOverrides;if(!_)return null;const J={};for(const Z in _)J[Z]=Nd(I,_[Z]);return w(I,J)}),p&&!x&&M.push(function(I){var J,ee;const W=I.theme,_=(ee=(J=W==null?void 0:W.components)==null?void 0:J[p])==null?void 0:ee.variants;return _?W0(I,_):null}),H||M.push(yi),Array.isArray(R[0])){const B=R.shift(),I=new Array(k.length).fill(""),W=new Array(M.length).fill("");let _;_=[...I,...B,...W],_.raw=[...I,...B.raw,...W],k.unshift(_)}const L=[...k,...R,...M],j=z(...L);return u.muiName&&(j.muiName=u.muiName),j};return z.withConfig&&(C.withConfig=z.withConfig),C}}function $H(e,t){return void 0}function ej(e){for(const t in e)return!1;return!0}function tj(e){return typeof e=="string"&&e.charCodeAt(0)>96}function nj(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const rj=J0();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 F0(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 oj({props:e,name:t,defaultTheme:n,themeId:r}){let s=Ip(n);return r&&(s=s[r]||s),F0({theme:s,name:t,props:e})}const uo=typeof window<"u"?y.useLayoutEffect:y.useEffect;function sj(e,t,n,r,s){const[a,l]=y.useState(()=>s&&n?n(e).matches:r?r(e).matches:t);return uo(()=>{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 ij={...tp},Y0=ij.useSyncExternalStore;function aj(e,t,n,r,s){const a=y.useCallback(()=>t,[t]),l=y.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]=y.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 Y0(f,u,l)}function lj(e={}){const{themeId:t}=e;return function(r,s={}){let a=my();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}=F0({name:"MuiUseMediaQuery",props:s,theme:a});let m=typeof r=="function"?r(a):r;return m=m.replace(/^@media( ?)/m,""),(Y0!==void 0?aj:sj)(m,u,f,p,h)}}function cj(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function gy(e,t=0,n=1){return cj(e,t,n)}function uj(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 Ai(e){if(e.type)return e;if(e.charAt(0)==="#")return Ai(uj(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Ts(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(Ts(10,s))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:s}}const fj=e=>{const t=Ai(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Qc=(e,t)=>{try{return fj(e)}catch{return e}};function Jp(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 q0(e){e=Ai(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])),Jp({type:u,values:f})}function og(e){e=Ai(e);let t=e.type==="hsl"||e.type==="hsla"?Ai(q0(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 dj(e,t){const n=og(e),r=og(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function At(e,t){return e=Ai(e),t=gy(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Jp(e)}function md(e,t,n){try{return At(e,t)}catch{return e}}function la(e,t){if(e=Ai(e),t=gy(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 Jp(e)}function Qt(e,t,n){try{return la(e,t)}catch{return e}}function ca(e,t){if(e=Ai(e),t=gy(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 Jp(e)}function Kt(e,t,n){try{return ca(e,t)}catch{return e}}function Z0(e,t=.15){return og(e)>.5?la(e,t):ca(e,t)}function gd(e,t,n){try{return Z0(e,t)}catch{return e}}function sg(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function yy(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 Bd(e,t){var n,r,s;return y.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 sr(e){return e&&e.ownerDocument||document}function Eo(e){return sr(e).defaultView||window}function op(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let j8=0;function pj(e){const[t,n]=y.useState(e),r=e||t;return y.useEffect(()=>{t==null&&(j8+=1,n(`mui-${j8}`))},[t]),r}const vj={...tp},S8=vj.useId;function ks(e){if(S8!==void 0){const t=S8();return e??t}return pj(e)}function gi({controlled:e,default:t,name:n,state:r="value"}){const{current:s}=y.useRef(e!==void 0),[a,l]=y.useState(t),u=s?e:a,f=y.useCallback(p=>{s||l(p)},[]);return[u,f]}function hr(e){const t=y.useRef(e);return uo(()=>{t.current=e}),y.useRef((...n)=>(0,t.current)(...n)).current}function nn(...e){return y.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{op(n,t)})},e)}const z8={};function G0(e,t){const n=y.useRef(z8);return n.current===z8&&(n.current=e(t)),n}const hj=[];function mj(e){y.useEffect(e,hj)}class Fp{constructor(){Oc(this,"currentId",null);Oc(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Oc(this,"disposeEffect",()=>this.clear)}static create(){return new Fp}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Zi(){const e=G0(Fp.create).current;return mj(e.disposeEffect),e}function zl(e){try{return e.matches(":focus-visible")}catch{}return!1}function U0(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const gj=e=>{const t=y.useRef({});return y.useEffect(()=>{t.current=e}),t.current};function Ke(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 O8(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 K0(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},x={...n,...s,...r};return w.length>0&&(x.className=w),Object.keys(A).length>0&&(x.style=A),{props:x,internalRef:void 0}}const l=sp({...s,...r}),u=O8(r),f=O8(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},P={...p,...n,...f,...u};return h.length>0&&(P.className=h),Object.keys(m).length>0&&(P.style=m),{props:P,internalRef:p.ref}}function _0(e,t,n){return typeof e=="function"?e(t,n):e}function ip(e){var m;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:s=!1,...a}=e,l=s?{}:_0(n,r),{props:u,internalRef:f}=K0({...a,externalSlotProps:l}),p=nn(f,l==null?void 0:l.ref,(m=e.additionalProps)==null?void 0:m.ref);return Q0(t,{...u,ref:p},r)}function bi(e){var t;return parseInt(y.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const $0=y.createContext(null);function Ay(){return y.useContext($0)}const Aj=typeof Symbol=="function"&&Symbol.for,Pj=Aj?Symbol.for("mui.nested"):"__THEME_NESTED__";function bj(e,t){return typeof t=="function"?t(e):{...e,...t}}function xj(e){const{children:t,theme:n}=e,r=Ay(),s=y.useMemo(()=>{const a=r===null?{...n}:bj(r,n);return a!=null&&(a[Pj]=r!==null),a},[n,r]);return v.jsx($0.Provider,{value:s,children:t})}const e1=y.createContext();function wj({value:e,...t}){return v.jsx(e1.Provider,{value:e??!0,...t})}const Fu=()=>y.useContext(e1)??!1,t1=y.createContext(void 0);function Hj({value:e,children:t}){return v.jsx(t1.Provider,{value:e,children:t})}function jj(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 Sj({props:e,name:t}){const n=y.useContext(t1);return jj({props:e,name:t,theme:{components:n}})}const C8={};function D8(e,t,n,r=!1){return y.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 n1(e){const{children:t,theme:n,themeId:r}=e,s=my(C8),a=Ay()||C8,l=D8(r,s,n),u=D8(r,a,n,!0),f=(r?l[r]:l).direction==="rtl";return v.jsx(xj,{theme:u,children:v.jsx(Vu.Provider,{value:l,children:v.jsx(wj,{value:f,children:v.jsx(Hj,{value:r?l[r].components:l.components,children:t})})})})}const T8={theme:void 0};function zj(e){let t,n;return function(s){let a=t;return(a===void 0||s.theme!==n)&&(T8.theme=s.theme,a=I0(e(T8)),t=a,n=s.theme),a}}const Py="mode",by="color-scheme",Oj="data-color-scheme";function Cj(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:s=Py,colorSchemeStorageKey:a=by,attribute:l=Oj,colorSchemeNode:u="document.documentElement",nonce:f}=e||{};let p="",h=l;if(l==="class"&&(h=".%s"),l==="data"&&(h="[data-%s]"),h.startsWith(".")){const P=h.substring(1);p+=`${u}.classList.remove('${P}'.replace('%s', light), '${P}'.replace('%s', dark)); ${u}.classList.add('${P}'.replace('%s', colorScheme));`}const m=h.match(/\[([^\]]+)\]/);if(m){const[P,w]=m[1].split("=");w||(p+=`${u}.removeAttribute('${P}'.replace('%s', light)); ${u}.removeAttribute('${P}'.replace('%s', dark));`),p+=` ${u}.setAttribute('${P}'.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() { @@ -54,15 +54,15 @@ try { if (colorScheme) { ${p} } -} catch(e){}})();`}},"mui-color-scheme-init")}function k8(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function r1(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 Dj(e){return r1(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function bm(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function Tj(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:a=Py,colorSchemeStorageKey:l=by,storageWindow:u=typeof window>"u"?void 0:window,noSsr:f=!1}=e,p=s.join(","),h=s.length>1,[m,P]=y.useState(()=>{const C=bm(a,t),D=bm(`${l}-light`,n),k=bm(`${l}-dark`,r);return{mode:C,systemMode:k8(C),lightColorScheme:D,darkColorScheme:k}}),[w,A]=y.useState(f||!h);y.useEffect(()=>{A(!0)},[]);const x=Dj(m),H=y.useCallback(C=>{P(D=>{if(C===D.mode)return D;const k=C??t;try{localStorage.setItem(a,k)}catch{}return{...D,mode:k,systemMode:k8(k)}})},[a,t]),S=y.useCallback(C=>{C?typeof C=="string"?C&&!p.includes(C)?console.error(`\`${C}\` does not exist in \`theme.colorSchemes\`.`):P(D=>{const k={...D};return r1(D,R=>{try{localStorage.setItem(`${l}-${R}`,C)}catch{}R==="light"&&(k.lightColorScheme=C),R==="dark"&&(k.darkColorScheme=C)}),k}):P(D=>{const k={...D},R=C.light===null?n:C.light,M=C.dark===null?r:C.dark;if(R)if(!p.includes(R))console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`);else{k.lightColorScheme=R;try{localStorage.setItem(`${l}-light`,R)}catch{}}if(M)if(!p.includes(M))console.error(`\`${M}\` does not exist in \`theme.colorSchemes\`.`);else{k.darkColorScheme=M;try{localStorage.setItem(`${l}-dark`,M)}catch{}}return k}):P(D=>{try{localStorage.setItem(`${l}-light`,n),localStorage.setItem(`${l}-dark`,r)}catch{}return{...D,lightColorScheme:n,darkColorScheme:r}})},[p,l,n,r]),z=y.useCallback(C=>{m.mode==="system"&&P(D=>{const k=C!=null&&C.matches?"dark":"light";return D.systemMode===k?D:{...D,systemMode:k}})},[m.mode]),O=y.useRef(z);return O.current=z,y.useEffect(()=>{if(typeof window.matchMedia!="function"||!h)return;const C=(...k)=>O.current(...k),D=window.matchMedia("(prefers-color-scheme: dark)");return D.addListener(C),C(D),()=>{D.removeListener(C)}},[h]),y.useEffect(()=>{if(u&&h){const C=D=>{const k=D.newValue;typeof D.key=="string"&&D.key.startsWith(l)&&(!k||p.match(k))&&(D.key.endsWith("light")&&S({light:k}),D.key.endsWith("dark")&&S({dark:k})),D.key===a&&(!k||["light","dark","system"].includes(k))&&H(k||t)};return u.addEventListener("storage",C),()=>{u.removeEventListener("storage",C)}}},[S,H,a,l,p,t,u,h]),{...m,mode:w?m.mode:void 0,systemMode:w?m.systemMode:void 0,colorScheme:w?x:void 0,setMode:H,setColorScheme:S}}const kj="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Rj(e){const{themeId:t,theme:n={},modeStorageKey:r=Py,colorSchemeStorageKey:s=by,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=y.createContext(void 0),h=()=>y.useContext(p)||f,m={},P={};function w(S){var Ae,je,st,wt;const{children:z,theme:O,modeStorageKey:C=r,colorSchemeStorageKey:D=s,disableTransitionOnChange:k=a,storageWindow:R=typeof window>"u"?void 0:window,documentNode:M=typeof document>"u"?void 0:document,colorSchemeNode:L=typeof document>"u"?void 0:document.documentElement,disableNestedContext:j=!1,disableStyleSheetGeneration:B=!1,defaultMode:I="system",noSsr:J}=S,K=y.useRef(!1),W=Ay(),ne=y.useContext(p),re=!!ne&&!j,F=y.useMemo(()=>O||(typeof n=="function"?n():n),[O]),_=F[t],E=_||F,{colorSchemes:G=m,components:X=P,cssVarPrefix:ee}=E,te=Object.keys(G).filter(nt=>!!G[nt]).join(","),ue=y.useMemo(()=>te.split(","),[te]),de=typeof l=="string"?l:l.light,xe=typeof l=="string"?l:l.dark,ve=G[de]&&G[xe]?I:((je=(Ae=G[E.defaultColorScheme])==null?void 0:Ae.palette)==null?void 0:je.mode)||((st=E.palette)==null?void 0:st.mode),{mode:be,setMode:Xe,systemMode:Ie,lightColorScheme:He,darkColorScheme:_e,colorScheme:we,setColorScheme:tt}=Tj({supportedColorSchemes:ue,defaultLightColorScheme:de,defaultDarkColorScheme:xe,modeStorageKey:C,colorSchemeStorageKey:D,defaultMode:ve,storageWindow:R,noSsr:J});let Le=be,dt=we;re&&(Le=ne.mode,dt=ne.colorScheme);const N=y.useMemo(()=>{var Ht;const nt=dt||E.defaultColorScheme,ft=((Ht=E.generateThemeVars)==null?void 0:Ht.call(E))||E.vars,ct={...E,components:X,colorSchemes:G,cssVarPrefix:ee,vars:ft};if(typeof ct.generateSpacing=="function"&&(ct.spacing=ct.generateSpacing()),nt){const We=G[nt];We&&typeof We=="object"&&Object.keys(We).forEach(Dt=>{We[Dt]&&typeof We[Dt]=="object"?ct[Dt]={...ct[Dt],...We[Dt]}:ct[Dt]=We[Dt]})}return u?u(ct):ct},[E,dt,X,G,ee]),$=E.colorSchemeSelector;y.useEffect(()=>{if(dt&&L&&$&&$!=="media"){const nt=$;let ft=$;if(nt==="class"&&(ft=".%s"),nt==="data"&&(ft="[data-%s]"),nt!=null&&nt.startsWith("data-")&&!nt.includes("%s")&&(ft=`[${nt}="%s"]`),ft.startsWith("."))L.classList.remove(...ue.map(ct=>ft.substring(1).replace("%s",ct))),L.classList.add(ft.substring(1).replace("%s",dt));else{const ct=ft.replace("%s",dt).match(/\[([^\]]+)\]/);if(ct){const[Ht,We]=ct[1].split("=");We||ue.forEach(Dt=>{L.removeAttribute(Ht.replace(dt,Dt))}),L.setAttribute(Ht,We?We.replace(/"|'/g,""):"")}else L.setAttribute(ft,dt)}}},[dt,$,L,ue]),y.useEffect(()=>{let nt;if(k&&K.current&&M){const ft=M.createElement("style");ft.appendChild(M.createTextNode(kj)),M.head.appendChild(ft),window.getComputedStyle(M.body),nt=setTimeout(()=>{M.head.removeChild(ft)},1)}return()=>{clearTimeout(nt)}},[dt,k,M]),y.useEffect(()=>(K.current=!0,()=>{K.current=!1}),[]);const se=y.useMemo(()=>({allColorSchemes:ue,colorScheme:dt,darkColorScheme:_e,lightColorScheme:He,mode:Le,setColorScheme:tt,setMode:Xe,systemMode:Ie}),[ue,dt,_e,He,Le,tt,Xe,Ie,N.colorSchemeSelector]);let ye=!0;(B||E.cssVariables===!1||re&&(W==null?void 0:W.cssVarPrefix)===ee)&&(ye=!1);const ce=v.jsxs(y.Fragment,{children:[v.jsx(n1,{themeId:_?t:void 0,theme:N,children:z}),ye&&v.jsx(k0,{styles:((wt=N.generateStyleSheets)==null?void 0:wt.call(N))||[]})]});return re?ce:v.jsx(p.Provider,{value:se,children:ce})}const A=typeof l=="string"?l:l.light,x=typeof l=="string"?l:l.dark;return{CssVarsProvider:w,useColorScheme:h,getInitColorSchemeScript:S=>Cj({colorSchemeStorageKey:s,defaultLightColorScheme:A,defaultDarkColorScheme:x,modeStorageKey:r,...S})}}function Ej(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 R8=(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])})},Mj=(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)},Lj=(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 xm(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},s={},a={},l={};return Mj(e,(u,f,p)=>{if((typeof f=="string"||typeof f=="number")&&(!r||!r(u,f))){const h=`--${n?`${n}-`:""}${u.join("-")}`,m=Lj(u,f);Object.assign(s,{[h]:m}),R8(a,u,`var(${h})`,p),R8(l,u,`var(${h}, ${m})`,p)}},u=>u[0]==="vars"),{css:s,vars:a,varsWithDefaults:l}}function Xj(e,t={}){const{getSelector:n=H,disableCssColorScheme:r,colorSchemeSelector:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:u="light",...f}=e,{vars:p,css:h,varsWithDefaults:m}=xm(f,t);let P=m;const w={},{[u]:A,...x}=a;if(Object.entries(x||{}).forEach(([O,C])=>{const{vars:D,css:k,varsWithDefaults:R}=xm(C,t);P=Yn(P,R),w[O]={css:k,vars:D}}),A){const{css:O,vars:C,varsWithDefaults:D}=xm(A,t);P=Yn(P,D),w[u]={css:O,vars:C}}function H(O,C){var k,R;let D=s;if(s==="class"&&(D=".%s"),s==="data"&&(D="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(D=`[${s}="%s"]`),O){if(D==="media")return e.defaultColorScheme===O?":root":{[`@media (prefers-color-scheme: ${((R=(k=a[O])==null?void 0:k.palette)==null?void 0:R.mode)||O})`]:{":root":C}};if(D)return e.defaultColorScheme===O?`:root, ${D.replace("%s",String(O))}`:D.replace("%s",String(O))}return":root"}return{vars:P,generateThemeVars:()=>{let O={...p};return Object.entries(w).forEach(([,{vars:C}])=>{O=Yn(O,C)}),O},generateStyleSheets:()=>{var M,L;const O=[],C=e.defaultColorScheme||"light";function D(j,B){Object.keys(B).length&&O.push(typeof j=="string"?{[j]:{...B}}:j)}D(n(void 0,{...h}),h);const{[C]:k,...R}=w;if(k){const{css:j}=k,B=(L=(M=a[C])==null?void 0:M.palette)==null?void 0:L.mode,I=!r&&B?{colorScheme:B,...j}:{...j};D(n(C,{...I}),I)}return Object.entries(R).forEach(([j,{css:B}])=>{var K,W;const I=(W=(K=a[j])==null?void 0:K.palette)==null?void 0:W.mode,J=!r&&I?{colorScheme:I,...B}:{...B};D(n(j,{...J}),J)}),O}}}function Nj(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 Bj=Vp(),Vj=rj("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Ij(e){return oj({props:e,name:"MuiStack",defaultTheme:Bj})}function Wj(e,t){const n=y.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],Fj=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...kr({theme:t},oa({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=Ep(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=oa({values:e.direction,base:s}),l=oa({values:e.spacing,base:s});typeof a=="object"&&Object.keys(a).forEach((f,p,h)=>{if(!a[f]){const P=p>0?a[h[p-1]]:"column";a[f]=P}}),n=Yn(n,kr({theme:t},l,(f,p)=>e.useFlexGap?{gap:aa(r,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Jj(p?a[p]:e.direction)}`]:aa(r,f)}}))}return n=tH(t.breakpoints,n),n};function Yj(e={}){const{createStyledComponent:t=Vj,useThemeProps:n=Ij,componentName:r="MuiStack"}=e,s=()=>Ke({root:["root"]},f=>Ze(r,f),{}),a=t(Fj);return y.forwardRef(function(f,p){const h=n(f),m=Wp(h),{component:P="div",direction:w="column",spacing:A=0,divider:x,children:H,className:S,useFlexGap:z=!1,...O}=m,C={direction:w,spacing:A,useFlexGap:z},D=s();return v.jsx(a,{as:P,ownerState:C,ref:p,className:Oe(D.root,S),...O,children:x?Wj(H,x):H})})}function o1(){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:Au.white,default:Au.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 qj=o1();function s1(){return{text:{primary:Au.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:Au.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 E8=s1();function M8(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=ca(e.main,s):t==="dark"&&(e.dark=la(e.main,a)))}function Zj(e="light"){return e==="dark"?{main:Ya[200],light:Ya[50],dark:Ya[400]}:{main:Ya[700],light:Ya[400],dark:Ya[800]}}function Gj(e="light"){return e==="dark"?{main:Fa[200],light:Fa[50],dark:Fa[400]}:{main:Fa[500],light:Fa[300],dark:Fa[700]}}function Uj(e="light"){return e==="dark"?{main:Ja[500],light:Ja[300],dark:Ja[700]}:{main:Ja[700],light:Ja[400],dark:Ja[800]}}function Qj(e="light"){return e==="dark"?{main:qa[400],light:qa[300],dark:qa[700]}:{main:qa[700],light:qa[500],dark:qa[900]}}function Kj(e="light"){return e==="dark"?{main:Za[400],light:Za[300],dark:Za[700]}:{main:Za[800],light:Za[500],dark:Za[900]}}function _j(e="light"){return e==="dark"?{main:Dc[400],light:Dc[300],dark:Dc[700]}:{main:"#ed6c02",light:Dc[500],dark:Dc[900]}}function xy(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...s}=e,a=e.primary||Zj(t),l=e.secondary||Gj(t),u=e.error||Uj(t),f=e.info||Qj(t),p=e.success||Kj(t),h=e.warning||_j(t);function m(x){return dj(x,E8.text.primary)>=n?E8.text.primary:qj.text.primary}const P=({color:x,name:H,mainShade:S=500,lightShade:z=300,darkShade:O=700})=>{if(x={...x},!x.main&&x[S]&&(x.main=x[S]),!x.hasOwnProperty("main"))throw new Error(Ts(11,H?` (${H})`:"",S));if(typeof x.main!="string")throw new Error(Ts(12,H?` (${H})`:"",JSON.stringify(x.main)));return M8(x,"light",z,r),M8(x,"dark",O,r),x.contrastText||(x.contrastText=m(x.main)),x};let w;return t==="light"?w=o1():t==="dark"&&(w=s1()),Yn({common:{...Au},mode:t,primary:P({color:a,name:"primary"}),secondary:P({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:P({color:u,name:"error"}),warning:P({color:h,name:"warning"}),info:P({color:f,name:"info"}),success:P({color:p,name:"success"}),grey:W3,contrastThreshold:n,getContrastText:m,augmentColor:P,tonalOffset:r,...w},s)}function $j(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 eS(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function tS(e){return Math.round(e*1e5)/1e5}const L8={textTransform:"uppercase"},X8='"Roboto", "Helvetica", "Arial", sans-serif';function i1(e,t){const{fontFamily:n=X8,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,P=r/14,w=h||(H=>`${H/f*P}rem`),A=(H,S,z,O,C)=>({fontFamily:n,fontWeight:H,fontSize:w(S),lineHeight:z,...n===X8?{letterSpacing:`${tS(O/S)}em`}:{},...C,...p}),x={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,L8),caption:A(a,12,1.66,.4),overline:A(a,12,2.66,1,L8),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Yn({htmlFontSize:f,pxToRem:w,fontFamily:n,fontSize:r,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:u,...x},m,{clone:!1})}const nS=.2,rS=.14,oS=.12;function fn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${nS})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${rS})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${oS})`].join(",")}const sS=["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)],iS={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)"},aS={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function N8(e){return`${Math.round(e)}ms`}function lS(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function cS(e){const t={...iS,...e.easing},n={...aS,...e.duration};return{getAutoHeightDuration:lS,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:N8(l)} ${u} ${typeof f=="string"?f:N8(f)}`).join(",")},...e,easing:t,duration:n}}const uS={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function fS(e){return _o(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function a1(e={}){const t={...e};function n(r){const s=Object.entries(r);for(let a=0;a{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function bm(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function Tj(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:a=Py,colorSchemeStorageKey:l=by,storageWindow:u=typeof window>"u"?void 0:window,noSsr:f=!1}=e,p=s.join(","),h=s.length>1,[m,P]=y.useState(()=>{const C=bm(a,t),D=bm(`${l}-light`,n),k=bm(`${l}-dark`,r);return{mode:C,systemMode:k8(C),lightColorScheme:D,darkColorScheme:k}}),[w,A]=y.useState(f||!h);y.useEffect(()=>{A(!0)},[]);const x=Dj(m),H=y.useCallback(C=>{P(D=>{if(C===D.mode)return D;const k=C??t;try{localStorage.setItem(a,k)}catch{}return{...D,mode:k,systemMode:k8(k)}})},[a,t]),S=y.useCallback(C=>{C?typeof C=="string"?C&&!p.includes(C)?console.error(`\`${C}\` does not exist in \`theme.colorSchemes\`.`):P(D=>{const k={...D};return r1(D,R=>{try{localStorage.setItem(`${l}-${R}`,C)}catch{}R==="light"&&(k.lightColorScheme=C),R==="dark"&&(k.darkColorScheme=C)}),k}):P(D=>{const k={...D},R=C.light===null?n:C.light,M=C.dark===null?r:C.dark;if(R)if(!p.includes(R))console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`);else{k.lightColorScheme=R;try{localStorage.setItem(`${l}-light`,R)}catch{}}if(M)if(!p.includes(M))console.error(`\`${M}\` does not exist in \`theme.colorSchemes\`.`);else{k.darkColorScheme=M;try{localStorage.setItem(`${l}-dark`,M)}catch{}}return k}):P(D=>{try{localStorage.setItem(`${l}-light`,n),localStorage.setItem(`${l}-dark`,r)}catch{}return{...D,lightColorScheme:n,darkColorScheme:r}})},[p,l,n,r]),z=y.useCallback(C=>{m.mode==="system"&&P(D=>{const k=C!=null&&C.matches?"dark":"light";return D.systemMode===k?D:{...D,systemMode:k}})},[m.mode]),O=y.useRef(z);return O.current=z,y.useEffect(()=>{if(typeof window.matchMedia!="function"||!h)return;const C=(...k)=>O.current(...k),D=window.matchMedia("(prefers-color-scheme: dark)");return D.addListener(C),C(D),()=>{D.removeListener(C)}},[h]),y.useEffect(()=>{if(u&&h){const C=D=>{const k=D.newValue;typeof D.key=="string"&&D.key.startsWith(l)&&(!k||p.match(k))&&(D.key.endsWith("light")&&S({light:k}),D.key.endsWith("dark")&&S({dark:k})),D.key===a&&(!k||["light","dark","system"].includes(k))&&H(k||t)};return u.addEventListener("storage",C),()=>{u.removeEventListener("storage",C)}}},[S,H,a,l,p,t,u,h]),{...m,mode:w?m.mode:void 0,systemMode:w?m.systemMode:void 0,colorScheme:w?x:void 0,setMode:H,setColorScheme:S}}const kj="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Rj(e){const{themeId:t,theme:n={},modeStorageKey:r=Py,colorSchemeStorageKey:s=by,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=y.createContext(void 0),h=()=>y.useContext(p)||f,m={},P={};function w(S){var Pe,je,_e,xt;const{children:z,theme:O,modeStorageKey:C=r,colorSchemeStorageKey:D=s,disableTransitionOnChange:k=a,storageWindow:R=typeof window>"u"?void 0:window,documentNode:M=typeof document>"u"?void 0:document,colorSchemeNode:L=typeof document>"u"?void 0:document.documentElement,disableNestedContext:j=!1,disableStyleSheetGeneration:B=!1,defaultMode:I="system",noSsr:W}=S,_=y.useRef(!1),J=Ay(),ee=y.useContext(p),ne=!!ee&&!j,Z=y.useMemo(()=>O||(typeof n=="function"?n():n),[O]),Q=Z[t],E=Q||Z,{colorSchemes:U=m,components:X=P,cssVarPrefix:re}=E,$=Object.keys(U).filter(ot=>!!U[ot]).join(","),ce=y.useMemo(()=>$.split(","),[$]),de=typeof l=="string"?l:l.light,xe=typeof l=="string"?l:l.dark,ve=U[de]&&U[xe]?I:((je=(Pe=U[E.defaultColorScheme])==null?void 0:Pe.palette)==null?void 0:je.mode)||((_e=E.palette)==null?void 0:_e.mode),{mode:be,setMode:Xe,systemMode:Ve,lightColorScheme:He,darkColorScheme:We,colorScheme:we,setColorScheme:rt}=Tj({supportedColorSchemes:ce,defaultLightColorScheme:de,defaultDarkColorScheme:xe,modeStorageKey:C,colorSchemeStorageKey:D,defaultMode:ve,storageWindow:R,noSsr:W});let Me=be,ut=we;ne&&(Me=ee.mode,ut=ee.colorScheme);const N=y.useMemo(()=>{var wt;const ot=ut||E.defaultColorScheme,at=((wt=E.generateThemeVars)==null?void 0:wt.call(E))||E.vars,ft={...E,components:X,colorSchemes:U,cssVarPrefix:re,vars:at};if(typeof ft.generateSpacing=="function"&&(ft.spacing=ft.generateSpacing()),ot){const Ie=U[ot];Ie&&typeof Ie=="object"&&Object.keys(Ie).forEach(St=>{Ie[St]&&typeof Ie[St]=="object"?ft[St]={...ft[St],...Ie[St]}:ft[St]=Ie[St]})}return u?u(ft):ft},[E,ut,X,U,re]),te=E.colorSchemeSelector;y.useEffect(()=>{if(ut&&L&&te&&te!=="media"){const ot=te;let at=te;if(ot==="class"&&(at=".%s"),ot==="data"&&(at="[data-%s]"),ot!=null&&ot.startsWith("data-")&&!ot.includes("%s")&&(at=`[${ot}="%s"]`),at.startsWith("."))L.classList.remove(...ce.map(ft=>at.substring(1).replace("%s",ft))),L.classList.add(at.substring(1).replace("%s",ut));else{const ft=at.replace("%s",ut).match(/\[([^\]]+)\]/);if(ft){const[wt,Ie]=ft[1].split("=");Ie||ce.forEach(St=>{L.removeAttribute(wt.replace(ut,St))}),L.setAttribute(wt,Ie?Ie.replace(/"|'/g,""):"")}else L.setAttribute(at,ut)}}},[ut,te,L,ce]),y.useEffect(()=>{let ot;if(k&&_.current&&M){const at=M.createElement("style");at.appendChild(M.createTextNode(kj)),M.head.appendChild(at),window.getComputedStyle(M.body),ot=setTimeout(()=>{M.head.removeChild(at)},1)}return()=>{clearTimeout(ot)}},[ut,k,M]),y.useEffect(()=>(_.current=!0,()=>{_.current=!1}),[]);const se=y.useMemo(()=>({allColorSchemes:ce,colorScheme:ut,darkColorScheme:We,lightColorScheme:He,mode:Me,setColorScheme:rt,setMode:Xe,systemMode:Ve}),[ce,ut,We,He,Me,rt,Xe,Ve,N.colorSchemeSelector]);let Ae=!0;(B||E.cssVariables===!1||ne&&(J==null?void 0:J.cssVarPrefix)===re)&&(Ae=!1);const le=v.jsxs(y.Fragment,{children:[v.jsx(n1,{themeId:Q?t:void 0,theme:N,children:z}),Ae&&v.jsx(k0,{styles:((xt=N.generateStyleSheets)==null?void 0:xt.call(N))||[]})]});return ne?le:v.jsx(p.Provider,{value:se,children:le})}const A=typeof l=="string"?l:l.light,x=typeof l=="string"?l:l.dark;return{CssVarsProvider:w,useColorScheme:h,getInitColorSchemeScript:S=>Cj({colorSchemeStorageKey:s,defaultLightColorScheme:A,defaultDarkColorScheme:x,modeStorageKey:r,...S})}}function Ej(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 R8=(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])})},Mj=(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)},Lj=(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 xm(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},s={},a={},l={};return Mj(e,(u,f,p)=>{if((typeof f=="string"||typeof f=="number")&&(!r||!r(u,f))){const h=`--${n?`${n}-`:""}${u.join("-")}`,m=Lj(u,f);Object.assign(s,{[h]:m}),R8(a,u,`var(${h})`,p),R8(l,u,`var(${h}, ${m})`,p)}},u=>u[0]==="vars"),{css:s,vars:a,varsWithDefaults:l}}function Xj(e,t={}){const{getSelector:n=H,disableCssColorScheme:r,colorSchemeSelector:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:u="light",...f}=e,{vars:p,css:h,varsWithDefaults:m}=xm(f,t);let P=m;const w={},{[u]:A,...x}=a;if(Object.entries(x||{}).forEach(([O,C])=>{const{vars:D,css:k,varsWithDefaults:R}=xm(C,t);P=Yn(P,R),w[O]={css:k,vars:D}}),A){const{css:O,vars:C,varsWithDefaults:D}=xm(A,t);P=Yn(P,D),w[u]={css:O,vars:C}}function H(O,C){var k,R;let D=s;if(s==="class"&&(D=".%s"),s==="data"&&(D="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(D=`[${s}="%s"]`),O){if(D==="media")return e.defaultColorScheme===O?":root":{[`@media (prefers-color-scheme: ${((R=(k=a[O])==null?void 0:k.palette)==null?void 0:R.mode)||O})`]:{":root":C}};if(D)return e.defaultColorScheme===O?`:root, ${D.replace("%s",String(O))}`:D.replace("%s",String(O))}return":root"}return{vars:P,generateThemeVars:()=>{let O={...p};return Object.entries(w).forEach(([,{vars:C}])=>{O=Yn(O,C)}),O},generateStyleSheets:()=>{var M,L;const O=[],C=e.defaultColorScheme||"light";function D(j,B){Object.keys(B).length&&O.push(typeof j=="string"?{[j]:{...B}}:j)}D(n(void 0,{...h}),h);const{[C]:k,...R}=w;if(k){const{css:j}=k,B=(L=(M=a[C])==null?void 0:M.palette)==null?void 0:L.mode,I=!r&&B?{colorScheme:B,...j}:{...j};D(n(C,{...I}),I)}return Object.entries(R).forEach(([j,{css:B}])=>{var _,J;const I=(J=(_=a[j])==null?void 0:_.palette)==null?void 0:J.mode,W=!r&&I?{colorScheme:I,...B}:{...B};D(n(j,{...W}),W)}),O}}}function Nj(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 Bj=Vp(),Vj=rj("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Ij(e){return oj({props:e,name:"MuiStack",defaultTheme:Bj})}function Wj(e,t){const n=y.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],Fj=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...kr({theme:t},oa({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=Ep(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=oa({values:e.direction,base:s}),l=oa({values:e.spacing,base:s});typeof a=="object"&&Object.keys(a).forEach((f,p,h)=>{if(!a[f]){const P=p>0?a[h[p-1]]:"column";a[f]=P}}),n=Yn(n,kr({theme:t},l,(f,p)=>e.useFlexGap?{gap:aa(r,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Jj(p?a[p]:e.direction)}`]:aa(r,f)}}))}return n=tH(t.breakpoints,n),n};function Yj(e={}){const{createStyledComponent:t=Vj,useThemeProps:n=Ij,componentName:r="MuiStack"}=e,s=()=>Ke({root:["root"]},f=>Ze(r,f),{}),a=t(Fj);return y.forwardRef(function(f,p){const h=n(f),m=Wp(h),{component:P="div",direction:w="column",spacing:A=0,divider:x,children:H,className:S,useFlexGap:z=!1,...O}=m,C={direction:w,spacing:A,useFlexGap:z},D=s();return v.jsx(a,{as:P,ownerState:C,ref:p,className:Oe(D.root,S),...O,children:x?Wj(H,x):H})})}function o1(){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:Au.white,default:Au.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 qj=o1();function s1(){return{text:{primary:Au.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:Au.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 E8=s1();function M8(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=ca(e.main,s):t==="dark"&&(e.dark=la(e.main,a)))}function Zj(e="light"){return e==="dark"?{main:Ya[200],light:Ya[50],dark:Ya[400]}:{main:Ya[700],light:Ya[400],dark:Ya[800]}}function Gj(e="light"){return e==="dark"?{main:Fa[200],light:Fa[50],dark:Fa[400]}:{main:Fa[500],light:Fa[300],dark:Fa[700]}}function Uj(e="light"){return e==="dark"?{main:Ja[500],light:Ja[300],dark:Ja[700]}:{main:Ja[700],light:Ja[400],dark:Ja[800]}}function Qj(e="light"){return e==="dark"?{main:qa[400],light:qa[300],dark:qa[700]}:{main:qa[700],light:qa[500],dark:qa[900]}}function Kj(e="light"){return e==="dark"?{main:Za[400],light:Za[300],dark:Za[700]}:{main:Za[800],light:Za[500],dark:Za[900]}}function _j(e="light"){return e==="dark"?{main:Dc[400],light:Dc[300],dark:Dc[700]}:{main:"#ed6c02",light:Dc[500],dark:Dc[900]}}function xy(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...s}=e,a=e.primary||Zj(t),l=e.secondary||Gj(t),u=e.error||Uj(t),f=e.info||Qj(t),p=e.success||Kj(t),h=e.warning||_j(t);function m(x){return dj(x,E8.text.primary)>=n?E8.text.primary:qj.text.primary}const P=({color:x,name:H,mainShade:S=500,lightShade:z=300,darkShade:O=700})=>{if(x={...x},!x.main&&x[S]&&(x.main=x[S]),!x.hasOwnProperty("main"))throw new Error(Ts(11,H?` (${H})`:"",S));if(typeof x.main!="string")throw new Error(Ts(12,H?` (${H})`:"",JSON.stringify(x.main)));return M8(x,"light",z,r),M8(x,"dark",O,r),x.contrastText||(x.contrastText=m(x.main)),x};let w;return t==="light"?w=o1():t==="dark"&&(w=s1()),Yn({common:{...Au},mode:t,primary:P({color:a,name:"primary"}),secondary:P({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:P({color:u,name:"error"}),warning:P({color:h,name:"warning"}),info:P({color:f,name:"info"}),success:P({color:p,name:"success"}),grey:W3,contrastThreshold:n,getContrastText:m,augmentColor:P,tonalOffset:r,...w},s)}function $j(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 eS(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function tS(e){return Math.round(e*1e5)/1e5}const L8={textTransform:"uppercase"},X8='"Roboto", "Helvetica", "Arial", sans-serif';function i1(e,t){const{fontFamily:n=X8,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,P=r/14,w=h||(H=>`${H/f*P}rem`),A=(H,S,z,O,C)=>({fontFamily:n,fontWeight:H,fontSize:w(S),lineHeight:z,...n===X8?{letterSpacing:`${tS(O/S)}em`}:{},...C,...p}),x={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,L8),caption:A(a,12,1.66,.4),overline:A(a,12,2.66,1,L8),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Yn({htmlFontSize:f,pxToRem:w,fontFamily:n,fontSize:r,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:u,...x},m,{clone:!1})}const nS=.2,rS=.14,oS=.12;function fn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${nS})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${rS})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${oS})`].join(",")}const sS=["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)],iS={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)"},aS={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function N8(e){return`${Math.round(e)}ms`}function lS(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function cS(e){const t={...iS,...e.easing},n={...aS,...e.duration};return{getAutoHeightDuration:lS,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:N8(l)} ${u} ${typeof f=="string"?f:N8(f)}`).join(",")},...e,easing:t,duration:n}}const uS={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function fS(e){return _o(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function a1(e={}){const t={...e};function n(r){const s=Object.entries(r);for(let a=0;aYn(w,A),P),P.unstable_sxConfig={...Ju,...p==null?void 0:p.unstable_sxConfig},P.unstable_sx=function(A){return yi({sx:A,theme:this})},P.toRuntimeSource=a1,P}function ag(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 dS=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=ag(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function l1(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function c1(e){return e==="dark"?dS:[]}function pS(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...s}=e,a=xy(t);return{palette:a,opacity:{...l1(a.mode),...n},overlays:r||c1(a.mode),...s}}function vS(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 hS=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],mS=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 hS(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 gS(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function ge(e,t,n){!e[t]&&n&&(e[t]=n)}function Kc(e){return typeof e!="string"||!e.startsWith("hsl")?e:q0(e)}function Ps(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Qc(Kc(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). -To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function yS(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Fo=e=>{try{return e()}catch{}},AS=(e="mui")=>Ej(e);function wm(e,t,n,r){if(!t)return;t=t===!0?{}:t;const s=r==="dark"?"dark":"light";if(!n){e[r]=pS({...t,palette:{mode:s,...t==null?void 0:t.palette}});return}const{palette:a,...l}=ig({...n,palette:{mode:s,...t==null?void 0:t.palette}});return e[r]={...t,palette:a,opacity:{...l1(s),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||c1(s)},l}function PS(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:s=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=vS,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),P=AS(a),{[m]:w,light:A,dark:x,...H}=n,S={...H};let z=w;if((m==="dark"&&!("dark"in n)||m==="light"&&!("light"in n))&&(z=!0),!z)throw new Error(Ts(21,m));const O=wm(S,z,p,m);A&&!S.light&&wm(S,A,void 0,"light"),x&&!S.dark&&wm(S,x,void 0,"dark");let C={defaultColorScheme:m,...O,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:f,getCssVar:P,colorSchemes:S,font:{...$j(O.typography),...O.font},spacing:yS(p.spacing)};Object.keys(C.colorSchemes).forEach(L=>{const j=C.colorSchemes[L].palette,B=I=>{const J=I.split("-"),K=J[1],W=J[2];return P(I,j[K][W])};if(j.mode==="light"&&(ge(j.common,"background","#fff"),ge(j.common,"onBackground","#000")),j.mode==="dark"&&(ge(j.common,"background","#000"),ge(j.common,"onBackground","#fff")),gS(j,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),j.mode==="light"){ge(j.Alert,"errorColor",Qt(j.error.light,.6)),ge(j.Alert,"infoColor",Qt(j.info.light,.6)),ge(j.Alert,"successColor",Qt(j.success.light,.6)),ge(j.Alert,"warningColor",Qt(j.warning.light,.6)),ge(j.Alert,"errorFilledBg",B("palette-error-main")),ge(j.Alert,"infoFilledBg",B("palette-info-main")),ge(j.Alert,"successFilledBg",B("palette-success-main")),ge(j.Alert,"warningFilledBg",B("palette-warning-main")),ge(j.Alert,"errorFilledColor",Fo(()=>j.getContrastText(j.error.main))),ge(j.Alert,"infoFilledColor",Fo(()=>j.getContrastText(j.info.main))),ge(j.Alert,"successFilledColor",Fo(()=>j.getContrastText(j.success.main))),ge(j.Alert,"warningFilledColor",Fo(()=>j.getContrastText(j.warning.main))),ge(j.Alert,"errorStandardBg",Kt(j.error.light,.9)),ge(j.Alert,"infoStandardBg",Kt(j.info.light,.9)),ge(j.Alert,"successStandardBg",Kt(j.success.light,.9)),ge(j.Alert,"warningStandardBg",Kt(j.warning.light,.9)),ge(j.Alert,"errorIconColor",B("palette-error-main")),ge(j.Alert,"infoIconColor",B("palette-info-main")),ge(j.Alert,"successIconColor",B("palette-success-main")),ge(j.Alert,"warningIconColor",B("palette-warning-main")),ge(j.AppBar,"defaultBg",B("palette-grey-100")),ge(j.Avatar,"defaultBg",B("palette-grey-400")),ge(j.Button,"inheritContainedBg",B("palette-grey-300")),ge(j.Button,"inheritContainedHoverBg",B("palette-grey-A100")),ge(j.Chip,"defaultBorder",B("palette-grey-400")),ge(j.Chip,"defaultAvatarColor",B("palette-grey-700")),ge(j.Chip,"defaultIconColor",B("palette-grey-700")),ge(j.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ge(j.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ge(j.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ge(j.LinearProgress,"primaryBg",Kt(j.primary.main,.62)),ge(j.LinearProgress,"secondaryBg",Kt(j.secondary.main,.62)),ge(j.LinearProgress,"errorBg",Kt(j.error.main,.62)),ge(j.LinearProgress,"infoBg",Kt(j.info.main,.62)),ge(j.LinearProgress,"successBg",Kt(j.success.main,.62)),ge(j.LinearProgress,"warningBg",Kt(j.warning.main,.62)),ge(j.Skeleton,"bg",`rgba(${B("palette-text-primaryChannel")} / 0.11)`),ge(j.Slider,"primaryTrack",Kt(j.primary.main,.62)),ge(j.Slider,"secondaryTrack",Kt(j.secondary.main,.62)),ge(j.Slider,"errorTrack",Kt(j.error.main,.62)),ge(j.Slider,"infoTrack",Kt(j.info.main,.62)),ge(j.Slider,"successTrack",Kt(j.success.main,.62)),ge(j.Slider,"warningTrack",Kt(j.warning.main,.62));const I=gd(j.background.default,.8);ge(j.SnackbarContent,"bg",I),ge(j.SnackbarContent,"color",Fo(()=>j.getContrastText(I))),ge(j.SpeedDialAction,"fabHoverBg",gd(j.background.paper,.15)),ge(j.StepConnector,"border",B("palette-grey-400")),ge(j.StepContent,"border",B("palette-grey-400")),ge(j.Switch,"defaultColor",B("palette-common-white")),ge(j.Switch,"defaultDisabledColor",B("palette-grey-100")),ge(j.Switch,"primaryDisabledColor",Kt(j.primary.main,.62)),ge(j.Switch,"secondaryDisabledColor",Kt(j.secondary.main,.62)),ge(j.Switch,"errorDisabledColor",Kt(j.error.main,.62)),ge(j.Switch,"infoDisabledColor",Kt(j.info.main,.62)),ge(j.Switch,"successDisabledColor",Kt(j.success.main,.62)),ge(j.Switch,"warningDisabledColor",Kt(j.warning.main,.62)),ge(j.TableCell,"border",Kt(md(j.divider,1),.88)),ge(j.Tooltip,"bg",md(j.grey[700],.92))}if(j.mode==="dark"){ge(j.Alert,"errorColor",Kt(j.error.light,.6)),ge(j.Alert,"infoColor",Kt(j.info.light,.6)),ge(j.Alert,"successColor",Kt(j.success.light,.6)),ge(j.Alert,"warningColor",Kt(j.warning.light,.6)),ge(j.Alert,"errorFilledBg",B("palette-error-dark")),ge(j.Alert,"infoFilledBg",B("palette-info-dark")),ge(j.Alert,"successFilledBg",B("palette-success-dark")),ge(j.Alert,"warningFilledBg",B("palette-warning-dark")),ge(j.Alert,"errorFilledColor",Fo(()=>j.getContrastText(j.error.dark))),ge(j.Alert,"infoFilledColor",Fo(()=>j.getContrastText(j.info.dark))),ge(j.Alert,"successFilledColor",Fo(()=>j.getContrastText(j.success.dark))),ge(j.Alert,"warningFilledColor",Fo(()=>j.getContrastText(j.warning.dark))),ge(j.Alert,"errorStandardBg",Qt(j.error.light,.9)),ge(j.Alert,"infoStandardBg",Qt(j.info.light,.9)),ge(j.Alert,"successStandardBg",Qt(j.success.light,.9)),ge(j.Alert,"warningStandardBg",Qt(j.warning.light,.9)),ge(j.Alert,"errorIconColor",B("palette-error-main")),ge(j.Alert,"infoIconColor",B("palette-info-main")),ge(j.Alert,"successIconColor",B("palette-success-main")),ge(j.Alert,"warningIconColor",B("palette-warning-main")),ge(j.AppBar,"defaultBg",B("palette-grey-900")),ge(j.AppBar,"darkBg",B("palette-background-paper")),ge(j.AppBar,"darkColor",B("palette-text-primary")),ge(j.Avatar,"defaultBg",B("palette-grey-600")),ge(j.Button,"inheritContainedBg",B("palette-grey-800")),ge(j.Button,"inheritContainedHoverBg",B("palette-grey-700")),ge(j.Chip,"defaultBorder",B("palette-grey-700")),ge(j.Chip,"defaultAvatarColor",B("palette-grey-300")),ge(j.Chip,"defaultIconColor",B("palette-grey-300")),ge(j.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ge(j.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ge(j.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ge(j.LinearProgress,"primaryBg",Qt(j.primary.main,.5)),ge(j.LinearProgress,"secondaryBg",Qt(j.secondary.main,.5)),ge(j.LinearProgress,"errorBg",Qt(j.error.main,.5)),ge(j.LinearProgress,"infoBg",Qt(j.info.main,.5)),ge(j.LinearProgress,"successBg",Qt(j.success.main,.5)),ge(j.LinearProgress,"warningBg",Qt(j.warning.main,.5)),ge(j.Skeleton,"bg",`rgba(${B("palette-text-primaryChannel")} / 0.13)`),ge(j.Slider,"primaryTrack",Qt(j.primary.main,.5)),ge(j.Slider,"secondaryTrack",Qt(j.secondary.main,.5)),ge(j.Slider,"errorTrack",Qt(j.error.main,.5)),ge(j.Slider,"infoTrack",Qt(j.info.main,.5)),ge(j.Slider,"successTrack",Qt(j.success.main,.5)),ge(j.Slider,"warningTrack",Qt(j.warning.main,.5));const I=gd(j.background.default,.98);ge(j.SnackbarContent,"bg",I),ge(j.SnackbarContent,"color",Fo(()=>j.getContrastText(I))),ge(j.SpeedDialAction,"fabHoverBg",gd(j.background.paper,.15)),ge(j.StepConnector,"border",B("palette-grey-600")),ge(j.StepContent,"border",B("palette-grey-600")),ge(j.Switch,"defaultColor",B("palette-grey-300")),ge(j.Switch,"defaultDisabledColor",B("palette-grey-600")),ge(j.Switch,"primaryDisabledColor",Qt(j.primary.main,.55)),ge(j.Switch,"secondaryDisabledColor",Qt(j.secondary.main,.55)),ge(j.Switch,"errorDisabledColor",Qt(j.error.main,.55)),ge(j.Switch,"infoDisabledColor",Qt(j.info.main,.55)),ge(j.Switch,"successDisabledColor",Qt(j.success.main,.55)),ge(j.Switch,"warningDisabledColor",Qt(j.warning.main,.55)),ge(j.TableCell,"border",Qt(md(j.divider,1),.68)),ge(j.Tooltip,"bg",md(j.grey[700],.92))}Ps(j.background,"default"),Ps(j.background,"paper"),Ps(j.common,"background"),Ps(j.common,"onBackground"),Ps(j,"divider"),Object.keys(j).forEach(I=>{const J=j[I];I!=="tonalOffset"&&J&&typeof J=="object"&&(J.main&&ge(j[I],"mainChannel",Qc(Kc(J.main))),J.light&&ge(j[I],"lightChannel",Qc(Kc(J.light))),J.dark&&ge(j[I],"darkChannel",Qc(Kc(J.dark))),J.contrastText&&ge(j[I],"contrastTextChannel",Qc(Kc(J.contrastText))),I==="text"&&(Ps(j[I],"primary"),Ps(j[I],"secondary")),I==="action"&&(J.active&&Ps(j[I],"active"),J.selected&&Ps(j[I],"selected")))})}),C=t.reduce((L,j)=>Yn(L,j),C);const D={prefix:a,disableCssColorScheme:s,shouldSkipGeneratingVar:l,getSelector:mS(C)},{vars:k,generateThemeVars:R,generateStyleSheets:M}=Xj(C,D);return C.vars=k,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([L,j])=>{C[L]=j}),C.generateThemeVars=R,C.generateStyleSheets=M,C.generateSpacing=function(){return N0(p.spacing,Ep(this))},C.getColorSchemeSelector=Nj(u),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=l,C.unstable_sxConfig={...Ju,...p==null?void 0:p.unstable_sxConfig},C.unstable_sx=function(j){return yi({sx:j,theme:this})},C.toRuntimeSource=a1,C}function B8(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:xy({...n===!0?{}:n.palette,mode:t})})}function Yu(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 ig(e,...t);let h=n;"palette"in e||p[u]&&(p[u]!==!0?h=p[u].palette:u==="dark"&&(h={mode:"dark"}));const m=ig({...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},B8(m,"dark",p.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:m.palette},B8(m,"light",p.light)),m}return!n&&!("light"in p)&&u==="light"&&(p.light=!0),PS({...l,colorSchemes:p,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const wy=Yu();function Qr(){const e=Ip(wy);return e[ko]||e}function u1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const qn=e=>u1(e)&&e!=="classes",pe=J0({themeId:ko,defaultTheme:wy,rootShouldForwardProp:qn});function V8({theme:e,...t}){const n=ko in e?e[ko]:void 0;return v.jsx(n1,{...t,themeId:n?ko:void 0,theme:n||e})}const yd={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:bS,useColorScheme:vq,getInitColorSchemeScript:hq}=Rj({themeId:ko,theme:()=>Yu({cssVariables:!0}),colorSchemeStorageKey:yd.colorSchemeStorageKey,modeStorageKey:yd.modeStorageKey,defaultColorScheme:{light:yd.defaultLightColorScheme,dark:yd.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:i1(e.palette,e.typography)};return t.unstable_sx=function(r){return yi({sx:r,theme:this})},t}}),xS=bS;function wS({theme:e,...t}){return typeof e=="function"?v.jsx(V8,{theme:e,...t}):"colorSchemes"in(ko in e?e[ko]:e)?v.jsx(xS,{theme:e,...t}):v.jsx(V8,{theme:e,...t})}function HS(e){return v.jsx(YH,{...e,defaultTheme:wy,themeId:ko})}function Hy(e){return function(n){return v.jsx(HS,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function jS(){return Wp}const Qe=zj;function $e(e){return Sj(e)}function SS(e){return Ze("MuiSvgIcon",e)}Ge("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const zS=e=>{const{color:t,fontSize:n,classes:r}=e,s={root:["root",t!=="inherit"&&`color${me(t)}`,`fontSize${me(n)}`]};return Ke(s,SS,r)},OS=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)}`]]}})(Qe(({theme:e})=>{var t,n,r,s,a,l,u,f,p,h,m,P,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:x=>!x.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(([,x])=>x&&x.main).map(([x])=>{var H,S;return{props:{color:x},style:{color:(S=(H=(e.vars??e).palette)==null?void 0:H[x])==null?void 0:S.main}}}),{props:{color:"action"},style:{color:(P=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:P.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}}]}})),wu=y.forwardRef(function(t,n){const r=$e({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:P="0 0 24 24",...w}=r,A=y.isValidElement(s)&&s.type==="svg",x={...r,color:l,component:u,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:P,hasSvgAsChild:A},H={};h||(H.viewBox=P);const S=zS(x);return v.jsxs(OS,{as:u,className:Oe(S.root,a),focusable:"false",color:p,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n,...H,...w,...A&&s.props,ownerState:x,children:[A?s.props.children:s,m?v.jsx("title",{children:m}):null]})});wu&&(wu.muiName="SvgIcon");function At(e,t){function n(r,s){return v.jsx(wu,{"data-testid":`${t}Icon`,ref:s,...r,children:e})}return n.muiName=wu.muiName,y.memo(y.forwardRef(n))}function f1(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function lg(e,t){return lg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},lg(e,t)}function d1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,lg(e,t)}var Hm={exports:{}},br={},jm={exports:{}},Sm={};/** +export default theme;`}function ig(e={},...t){const{breakpoints:n,mixins:r={},spacing:s,palette:a={},transitions:l={},typography:u={},shape:f,...p}=e;if(e.vars)throw new Error(Ts(20));const h=xy(a),m=Vp(e);let P=Yn(m,{mixins:eS(m.breakpoints,r),palette:h,shadows:sS.slice(),typography:i1(h,u),transitions:cS(l),zIndex:{...uS}});return P=Yn(P,p),P=t.reduce((w,A)=>Yn(w,A),P),P.unstable_sxConfig={...Ju,...p==null?void 0:p.unstable_sxConfig},P.unstable_sx=function(A){return yi({sx:A,theme:this})},P.toRuntimeSource=a1,P}function ag(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 dS=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=ag(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function l1(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function c1(e){return e==="dark"?dS:[]}function pS(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...s}=e,a=xy(t);return{palette:a,opacity:{...l1(a.mode),...n},overlays:r||c1(a.mode),...s}}function vS(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 hS=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],mS=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 hS(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 gS(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function ye(e,t,n){!e[t]&&n&&(e[t]=n)}function Kc(e){return typeof e!="string"||!e.startsWith("hsl")?e:q0(e)}function Ps(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Qc(Kc(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). +To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function yS(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Fo=e=>{try{return e()}catch{}},AS=(e="mui")=>Ej(e);function wm(e,t,n,r){if(!t)return;t=t===!0?{}:t;const s=r==="dark"?"dark":"light";if(!n){e[r]=pS({...t,palette:{mode:s,...t==null?void 0:t.palette}});return}const{palette:a,...l}=ig({...n,palette:{mode:s,...t==null?void 0:t.palette}});return e[r]={...t,palette:a,opacity:{...l1(s),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||c1(s)},l}function PS(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:s=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=vS,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),P=AS(a),{[m]:w,light:A,dark:x,...H}=n,S={...H};let z=w;if((m==="dark"&&!("dark"in n)||m==="light"&&!("light"in n))&&(z=!0),!z)throw new Error(Ts(21,m));const O=wm(S,z,p,m);A&&!S.light&&wm(S,A,void 0,"light"),x&&!S.dark&&wm(S,x,void 0,"dark");let C={defaultColorScheme:m,...O,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:f,getCssVar:P,colorSchemes:S,font:{...$j(O.typography),...O.font},spacing:yS(p.spacing)};Object.keys(C.colorSchemes).forEach(L=>{const j=C.colorSchemes[L].palette,B=I=>{const W=I.split("-"),_=W[1],J=W[2];return P(I,j[_][J])};if(j.mode==="light"&&(ye(j.common,"background","#fff"),ye(j.common,"onBackground","#000")),j.mode==="dark"&&(ye(j.common,"background","#000"),ye(j.common,"onBackground","#fff")),gS(j,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),j.mode==="light"){ye(j.Alert,"errorColor",Qt(j.error.light,.6)),ye(j.Alert,"infoColor",Qt(j.info.light,.6)),ye(j.Alert,"successColor",Qt(j.success.light,.6)),ye(j.Alert,"warningColor",Qt(j.warning.light,.6)),ye(j.Alert,"errorFilledBg",B("palette-error-main")),ye(j.Alert,"infoFilledBg",B("palette-info-main")),ye(j.Alert,"successFilledBg",B("palette-success-main")),ye(j.Alert,"warningFilledBg",B("palette-warning-main")),ye(j.Alert,"errorFilledColor",Fo(()=>j.getContrastText(j.error.main))),ye(j.Alert,"infoFilledColor",Fo(()=>j.getContrastText(j.info.main))),ye(j.Alert,"successFilledColor",Fo(()=>j.getContrastText(j.success.main))),ye(j.Alert,"warningFilledColor",Fo(()=>j.getContrastText(j.warning.main))),ye(j.Alert,"errorStandardBg",Kt(j.error.light,.9)),ye(j.Alert,"infoStandardBg",Kt(j.info.light,.9)),ye(j.Alert,"successStandardBg",Kt(j.success.light,.9)),ye(j.Alert,"warningStandardBg",Kt(j.warning.light,.9)),ye(j.Alert,"errorIconColor",B("palette-error-main")),ye(j.Alert,"infoIconColor",B("palette-info-main")),ye(j.Alert,"successIconColor",B("palette-success-main")),ye(j.Alert,"warningIconColor",B("palette-warning-main")),ye(j.AppBar,"defaultBg",B("palette-grey-100")),ye(j.Avatar,"defaultBg",B("palette-grey-400")),ye(j.Button,"inheritContainedBg",B("palette-grey-300")),ye(j.Button,"inheritContainedHoverBg",B("palette-grey-A100")),ye(j.Chip,"defaultBorder",B("palette-grey-400")),ye(j.Chip,"defaultAvatarColor",B("palette-grey-700")),ye(j.Chip,"defaultIconColor",B("palette-grey-700")),ye(j.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ye(j.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ye(j.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ye(j.LinearProgress,"primaryBg",Kt(j.primary.main,.62)),ye(j.LinearProgress,"secondaryBg",Kt(j.secondary.main,.62)),ye(j.LinearProgress,"errorBg",Kt(j.error.main,.62)),ye(j.LinearProgress,"infoBg",Kt(j.info.main,.62)),ye(j.LinearProgress,"successBg",Kt(j.success.main,.62)),ye(j.LinearProgress,"warningBg",Kt(j.warning.main,.62)),ye(j.Skeleton,"bg",`rgba(${B("palette-text-primaryChannel")} / 0.11)`),ye(j.Slider,"primaryTrack",Kt(j.primary.main,.62)),ye(j.Slider,"secondaryTrack",Kt(j.secondary.main,.62)),ye(j.Slider,"errorTrack",Kt(j.error.main,.62)),ye(j.Slider,"infoTrack",Kt(j.info.main,.62)),ye(j.Slider,"successTrack",Kt(j.success.main,.62)),ye(j.Slider,"warningTrack",Kt(j.warning.main,.62));const I=gd(j.background.default,.8);ye(j.SnackbarContent,"bg",I),ye(j.SnackbarContent,"color",Fo(()=>j.getContrastText(I))),ye(j.SpeedDialAction,"fabHoverBg",gd(j.background.paper,.15)),ye(j.StepConnector,"border",B("palette-grey-400")),ye(j.StepContent,"border",B("palette-grey-400")),ye(j.Switch,"defaultColor",B("palette-common-white")),ye(j.Switch,"defaultDisabledColor",B("palette-grey-100")),ye(j.Switch,"primaryDisabledColor",Kt(j.primary.main,.62)),ye(j.Switch,"secondaryDisabledColor",Kt(j.secondary.main,.62)),ye(j.Switch,"errorDisabledColor",Kt(j.error.main,.62)),ye(j.Switch,"infoDisabledColor",Kt(j.info.main,.62)),ye(j.Switch,"successDisabledColor",Kt(j.success.main,.62)),ye(j.Switch,"warningDisabledColor",Kt(j.warning.main,.62)),ye(j.TableCell,"border",Kt(md(j.divider,1),.88)),ye(j.Tooltip,"bg",md(j.grey[700],.92))}if(j.mode==="dark"){ye(j.Alert,"errorColor",Kt(j.error.light,.6)),ye(j.Alert,"infoColor",Kt(j.info.light,.6)),ye(j.Alert,"successColor",Kt(j.success.light,.6)),ye(j.Alert,"warningColor",Kt(j.warning.light,.6)),ye(j.Alert,"errorFilledBg",B("palette-error-dark")),ye(j.Alert,"infoFilledBg",B("palette-info-dark")),ye(j.Alert,"successFilledBg",B("palette-success-dark")),ye(j.Alert,"warningFilledBg",B("palette-warning-dark")),ye(j.Alert,"errorFilledColor",Fo(()=>j.getContrastText(j.error.dark))),ye(j.Alert,"infoFilledColor",Fo(()=>j.getContrastText(j.info.dark))),ye(j.Alert,"successFilledColor",Fo(()=>j.getContrastText(j.success.dark))),ye(j.Alert,"warningFilledColor",Fo(()=>j.getContrastText(j.warning.dark))),ye(j.Alert,"errorStandardBg",Qt(j.error.light,.9)),ye(j.Alert,"infoStandardBg",Qt(j.info.light,.9)),ye(j.Alert,"successStandardBg",Qt(j.success.light,.9)),ye(j.Alert,"warningStandardBg",Qt(j.warning.light,.9)),ye(j.Alert,"errorIconColor",B("palette-error-main")),ye(j.Alert,"infoIconColor",B("palette-info-main")),ye(j.Alert,"successIconColor",B("palette-success-main")),ye(j.Alert,"warningIconColor",B("palette-warning-main")),ye(j.AppBar,"defaultBg",B("palette-grey-900")),ye(j.AppBar,"darkBg",B("palette-background-paper")),ye(j.AppBar,"darkColor",B("palette-text-primary")),ye(j.Avatar,"defaultBg",B("palette-grey-600")),ye(j.Button,"inheritContainedBg",B("palette-grey-800")),ye(j.Button,"inheritContainedHoverBg",B("palette-grey-700")),ye(j.Chip,"defaultBorder",B("palette-grey-700")),ye(j.Chip,"defaultAvatarColor",B("palette-grey-300")),ye(j.Chip,"defaultIconColor",B("palette-grey-300")),ye(j.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ye(j.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ye(j.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ye(j.LinearProgress,"primaryBg",Qt(j.primary.main,.5)),ye(j.LinearProgress,"secondaryBg",Qt(j.secondary.main,.5)),ye(j.LinearProgress,"errorBg",Qt(j.error.main,.5)),ye(j.LinearProgress,"infoBg",Qt(j.info.main,.5)),ye(j.LinearProgress,"successBg",Qt(j.success.main,.5)),ye(j.LinearProgress,"warningBg",Qt(j.warning.main,.5)),ye(j.Skeleton,"bg",`rgba(${B("palette-text-primaryChannel")} / 0.13)`),ye(j.Slider,"primaryTrack",Qt(j.primary.main,.5)),ye(j.Slider,"secondaryTrack",Qt(j.secondary.main,.5)),ye(j.Slider,"errorTrack",Qt(j.error.main,.5)),ye(j.Slider,"infoTrack",Qt(j.info.main,.5)),ye(j.Slider,"successTrack",Qt(j.success.main,.5)),ye(j.Slider,"warningTrack",Qt(j.warning.main,.5));const I=gd(j.background.default,.98);ye(j.SnackbarContent,"bg",I),ye(j.SnackbarContent,"color",Fo(()=>j.getContrastText(I))),ye(j.SpeedDialAction,"fabHoverBg",gd(j.background.paper,.15)),ye(j.StepConnector,"border",B("palette-grey-600")),ye(j.StepContent,"border",B("palette-grey-600")),ye(j.Switch,"defaultColor",B("palette-grey-300")),ye(j.Switch,"defaultDisabledColor",B("palette-grey-600")),ye(j.Switch,"primaryDisabledColor",Qt(j.primary.main,.55)),ye(j.Switch,"secondaryDisabledColor",Qt(j.secondary.main,.55)),ye(j.Switch,"errorDisabledColor",Qt(j.error.main,.55)),ye(j.Switch,"infoDisabledColor",Qt(j.info.main,.55)),ye(j.Switch,"successDisabledColor",Qt(j.success.main,.55)),ye(j.Switch,"warningDisabledColor",Qt(j.warning.main,.55)),ye(j.TableCell,"border",Qt(md(j.divider,1),.68)),ye(j.Tooltip,"bg",md(j.grey[700],.92))}Ps(j.background,"default"),Ps(j.background,"paper"),Ps(j.common,"background"),Ps(j.common,"onBackground"),Ps(j,"divider"),Object.keys(j).forEach(I=>{const W=j[I];I!=="tonalOffset"&&W&&typeof W=="object"&&(W.main&&ye(j[I],"mainChannel",Qc(Kc(W.main))),W.light&&ye(j[I],"lightChannel",Qc(Kc(W.light))),W.dark&&ye(j[I],"darkChannel",Qc(Kc(W.dark))),W.contrastText&&ye(j[I],"contrastTextChannel",Qc(Kc(W.contrastText))),I==="text"&&(Ps(j[I],"primary"),Ps(j[I],"secondary")),I==="action"&&(W.active&&Ps(j[I],"active"),W.selected&&Ps(j[I],"selected")))})}),C=t.reduce((L,j)=>Yn(L,j),C);const D={prefix:a,disableCssColorScheme:s,shouldSkipGeneratingVar:l,getSelector:mS(C)},{vars:k,generateThemeVars:R,generateStyleSheets:M}=Xj(C,D);return C.vars=k,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([L,j])=>{C[L]=j}),C.generateThemeVars=R,C.generateStyleSheets=M,C.generateSpacing=function(){return N0(p.spacing,Ep(this))},C.getColorSchemeSelector=Nj(u),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=l,C.unstable_sxConfig={...Ju,...p==null?void 0:p.unstable_sxConfig},C.unstable_sx=function(j){return yi({sx:j,theme:this})},C.toRuntimeSource=a1,C}function B8(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:xy({...n===!0?{}:n.palette,mode:t})})}function Yu(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 ig(e,...t);let h=n;"palette"in e||p[u]&&(p[u]!==!0?h=p[u].palette:u==="dark"&&(h={mode:"dark"}));const m=ig({...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},B8(m,"dark",p.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:m.palette},B8(m,"light",p.light)),m}return!n&&!("light"in p)&&u==="light"&&(p.light=!0),PS({...l,colorSchemes:p,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const wy=Yu();function Ur(){const e=Ip(wy);return e[ko]||e}function u1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const qn=e=>u1(e)&&e!=="classes",pe=J0({themeId:ko,defaultTheme:wy,rootShouldForwardProp:qn});function V8({theme:e,...t}){const n=ko in e?e[ko]:void 0;return v.jsx(n1,{...t,themeId:n?ko:void 0,theme:n||e})}const yd={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:bS,useColorScheme:vq,getInitColorSchemeScript:hq}=Rj({themeId:ko,theme:()=>Yu({cssVariables:!0}),colorSchemeStorageKey:yd.colorSchemeStorageKey,modeStorageKey:yd.modeStorageKey,defaultColorScheme:{light:yd.defaultLightColorScheme,dark:yd.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:i1(e.palette,e.typography)};return t.unstable_sx=function(r){return yi({sx:r,theme:this})},t}}),xS=bS;function wS({theme:e,...t}){return typeof e=="function"?v.jsx(V8,{theme:e,...t}):"colorSchemes"in(ko in e?e[ko]:e)?v.jsx(xS,{theme:e,...t}):v.jsx(V8,{theme:e,...t})}function HS(e){return v.jsx(YH,{...e,defaultTheme:wy,themeId:ko})}function Hy(e){return function(n){return v.jsx(HS,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function jS(){return Wp}const Qe=zj;function $e(e){return Sj(e)}function SS(e){return Ze("MuiSvgIcon",e)}Ge("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const zS=e=>{const{color:t,fontSize:n,classes:r}=e,s={root:["root",t!=="inherit"&&`color${me(t)}`,`fontSize${me(n)}`]};return Ke(s,SS,r)},OS=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)}`]]}})(Qe(({theme:e})=>{var t,n,r,s,a,l,u,f,p,h,m,P,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:x=>!x.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(([,x])=>x&&x.main).map(([x])=>{var H,S;return{props:{color:x},style:{color:(S=(H=(e.vars??e).palette)==null?void 0:H[x])==null?void 0:S.main}}}),{props:{color:"action"},style:{color:(P=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:P.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}}]}})),wu=y.forwardRef(function(t,n){const r=$e({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:P="0 0 24 24",...w}=r,A=y.isValidElement(s)&&s.type==="svg",x={...r,color:l,component:u,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:P,hasSvgAsChild:A},H={};h||(H.viewBox=P);const S=zS(x);return v.jsxs(OS,{as:u,className:Oe(S.root,a),focusable:"false",color:p,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n,...H,...w,...A&&s.props,ownerState:x,children:[A?s.props.children:s,m?v.jsx("title",{children:m}):null]})});wu&&(wu.muiName="SvgIcon");function yt(e,t){function n(r,s){return v.jsx(wu,{"data-testid":`${t}Icon`,ref:s,...r,children:e})}return n.muiName=wu.muiName,y.memo(y.forwardRef(n))}function f1(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function lg(e,t){return lg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},lg(e,t)}function d1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,lg(e,t)}var Hm={exports:{}},br={},jm={exports:{}},Sm={};/** * @license React * scheduler.production.min.js * @@ -70,7 +70,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var I8;function CS(){return I8||(I8=1,function(e){function t(F,_){var E=F.length;F.push(_);e:for(;0>>1,X=F[G];if(0>>1;Gs(ue,E))des(xe,ue)?(F[G]=xe,F[de]=E,G=de):(F[G]=ue,F[te]=E,G=te);else if(des(xe,E))F[G]=xe,F[de]=E,G=de;else break e}}return _}function s(F,_){var E=F.sortIndex-_.sortIndex;return E!==0?E:F.id-_.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,P=3,w=!1,A=!1,x=!1,H=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 O(F){for(var _=n(p);_!==null;){if(_.callback===null)r(p);else if(_.startTime<=F)r(p),_.sortIndex=_.expirationTime,t(f,_);else break;_=n(p)}}function C(F){if(x=!1,O(F),!A)if(n(f)!==null)A=!0,ne(D);else{var _=n(p);_!==null&&re(C,_.startTime-F)}}function D(F,_){A=!1,x&&(x=!1,S(M),M=-1),w=!0;var E=P;try{for(O(_),m=n(f);m!==null&&(!(m.expirationTime>_)||F&&!B());){var G=m.callback;if(typeof G=="function"){m.callback=null,P=m.priorityLevel;var X=G(m.expirationTime<=_);_=e.unstable_now(),typeof X=="function"?m.callback=X:m===n(f)&&r(f),O(_)}else r(f);m=n(f)}if(m!==null)var ee=!0;else{var te=n(p);te!==null&&re(C,te.startTime-_),ee=!1}return ee}finally{m=null,P=E,w=!1}}var k=!1,R=null,M=-1,L=5,j=-1;function B(){return!(e.unstable_now()-jF||125G?(F.sortIndex=E,t(p,F),n(f)===null&&F===n(p)&&(x?(S(M),M=-1):x=!0,re(C,E-G))):(F.sortIndex=X,t(f,F),A||w||(A=!0,ne(D))),F},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(F){var _=P;return function(){var E=P;P=_;try{return F.apply(this,arguments)}finally{P=E}}}}(Sm)),Sm}var W8;function DS(){return W8||(W8=1,jm.exports=CS()),jm.exports}/** + */var I8;function CS(){return I8||(I8=1,function(e){function t(Z,Q){var E=Z.length;Z.push(Q);e:for(;0>>1,X=Z[U];if(0>>1;Us(ce,E))des(xe,ce)?(Z[U]=xe,Z[de]=E,U=de):(Z[U]=ce,Z[$]=E,U=$);else if(des(xe,E))Z[U]=xe,Z[de]=E,U=de;else break e}}return Q}function s(Z,Q){var E=Z.sortIndex-Q.sortIndex;return E!==0?E:Z.id-Q.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,P=3,w=!1,A=!1,x=!1,H=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 O(Z){for(var Q=n(p);Q!==null;){if(Q.callback===null)r(p);else if(Q.startTime<=Z)r(p),Q.sortIndex=Q.expirationTime,t(f,Q);else break;Q=n(p)}}function C(Z){if(x=!1,O(Z),!A)if(n(f)!==null)A=!0,ee(D);else{var Q=n(p);Q!==null&&ne(C,Q.startTime-Z)}}function D(Z,Q){A=!1,x&&(x=!1,S(M),M=-1),w=!0;var E=P;try{for(O(Q),m=n(f);m!==null&&(!(m.expirationTime>Q)||Z&&!B());){var U=m.callback;if(typeof U=="function"){m.callback=null,P=m.priorityLevel;var X=U(m.expirationTime<=Q);Q=e.unstable_now(),typeof X=="function"?m.callback=X:m===n(f)&&r(f),O(Q)}else r(f);m=n(f)}if(m!==null)var re=!0;else{var $=n(p);$!==null&&ne(C,$.startTime-Q),re=!1}return re}finally{m=null,P=E,w=!1}}var k=!1,R=null,M=-1,L=5,j=-1;function B(){return!(e.unstable_now()-jZ||125U?(Z.sortIndex=E,t(p,Z),n(f)===null&&Z===n(p)&&(x?(S(M),M=-1):x=!0,ne(C,E-U))):(Z.sortIndex=X,t(f,Z),A||w||(A=!0,ee(D))),Z},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(Z){var Q=P;return function(){var E=P;P=Q;try{return Z.apply(this,arguments)}finally{P=E}}}}(Sm)),Sm}var W8;function DS(){return W8||(W8=1,jm.exports=CS()),jm.exports}/** * @license React * react-dom.production.min.js * @@ -78,14 +78,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var J8;function TS(){if(J8)return br;J8=1;var e=oy(),t=DS();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 P(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 x(o,i,c,d,g,b,T){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=g,this.mustUseProperty=c,this.propertyName=o,this.type=i,this.sanitizeURL=b,this.removeEmptyString=T}var H={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){H[o]=new x(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var i=o[0];H[i]=new x(i,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){H[o]=new x(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){H[o]=new x(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){H[o]=new x(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){H[o]=new x(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){H[o]=new x(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){H[o]=new x(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){H[o]=new x(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);H[i]=new x(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);H[i]=new x(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);H[i]=new x(i,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){H[o]=new x(o,1,!1,o.toLowerCase(),null,!1,!1)}),H.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){H[o]=new x(o,1,!1,o.toLowerCase(),null,!0,!0)});function O(o,i,c,d){var g=H.hasOwnProperty(i)?H[i]:null;(g!==null?g.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 P(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 x(o,i,c,d,g,b,T){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=g,this.mustUseProperty=c,this.propertyName=o,this.type=i,this.sanitizeURL=b,this.removeEmptyString=T}var H={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){H[o]=new x(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var i=o[0];H[i]=new x(i,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){H[o]=new x(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){H[o]=new x(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){H[o]=new x(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){H[o]=new x(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){H[o]=new x(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){H[o]=new x(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){H[o]=new x(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);H[i]=new x(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);H[i]=new x(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);H[i]=new x(i,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){H[o]=new x(o,1,!1,o.toLowerCase(),null,!1,!1)}),H.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){H[o]=new x(o,1,!1,o.toLowerCase(),null,!0,!0)});function O(o,i,c,d){var g=H.hasOwnProperty(i)?H[i]:null;(g!==null?g.type!==0:d||!(2V||g[T]!==b[V]){var q=` -`+g[T].replace(" at new "," at ");return o.displayName&&q.includes("")&&(q=q.replace("",o.displayName)),q}while(1<=T&&0<=V);break}}}finally{ee=!1,Error.prepareStackTrace=c}return(o=o?o.displayName||o.name:"")?X(o):""}function ue(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=te(o.type,!1),o;case 11:return o=te(o.type.render,!1),o;case 1:return o=te(o.type,!0),o;default:return""}}function de(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 R:return"Fragment";case k:return"Portal";case L:return"Profiler";case M:return"StrictMode";case J:return"Suspense";case K:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case B:return(o.displayName||"Context")+".Consumer";case j:return(o._context.displayName||"Context")+".Provider";case I:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case W:return i=o.displayName||null,i!==null?i:de(o.type)||"Memo";case ne:i=o._payload,o=o._init;try{return de(o(i))}catch{}}return null}function xe(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 de(i);case 8:return i===M?"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 ve(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function be(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Xe(o){var i=be(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 g=c.get,b=c.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return g.call(this)},set:function(T){d=""+T,b.call(this,T)}}),Object.defineProperty(o,i,{enumerable:c.enumerable}),{getValue:function(){return d},setValue:function(T){d=""+T},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function Ie(o){o._valueTracker||(o._valueTracker=Xe(o))}function He(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var c=i.getValue(),d="";return o&&(d=be(o)?o.checked?"true":"false":o.value),o=d,o!==c?(i.setValue(o),!0):!1}function _e(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 we(o,i){var c=i.checked;return E({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??o._wrapperState.initialChecked})}function tt(o,i){var c=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;c=ve(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 Le(o,i){i=i.checked,i!=null&&O(o,"checked",i,!1)}function dt(o,i){Le(o,i);var c=ve(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")?$(o,i.type,c):i.hasOwnProperty("defaultValue")&&$(o,i.type,ve(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function N(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 $(o,i,c){(i!=="number"||_e(o.ownerDocument)!==o)&&(c==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+c&&(o.defaultValue=""+c))}var se=Array.isArray;function ye(o,i,c,d){if(o=o.options,i){i={};for(var g=0;g"+i.valueOf().toString()+"",i=ft.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function Ht(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},Dt=["Webkit","ms","Moz","O"];Object.keys(We).forEach(function(o){Dt.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),We[i]=We[o]})});function Jt(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 Be(o,i){o=o.style;for(var c in i)if(i.hasOwnProperty(c)){var d=c.indexOf("--")===0,g=Jt(c,i[c],d);c==="float"&&(c="cssFloat"),d?o.setProperty(c,g):o[c]=g}}var U=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 Y(o,i){if(i){if(U[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 Pe(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 De=null;function Te(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Ne=null,Je=null,ke=null;function rt(o){if(o=pc(o)){if(typeof Ne!="function")throw Error(n(280));var i=o.stateNode;i&&(i=Cf(i),Ne(o.stateNode,o.type,i))}}function vt(o){Je?ke?ke.push(o):ke=[o]:Je=o}function kt(){if(Je){var o=Je,i=ke;if(ke=Je=null,rt(o),i)for(o=0;o>>=0,o===0?32:31-(_4(o)/$4|0)|0}var ff=64,df=4194304;function Ul(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 pf(o,i){var c=o.pendingLanes;if(c===0)return 0;var d=0,g=o.suspendedLanes,b=o.pingedLanes,T=c&268435455;if(T!==0){var V=T&~g;V!==0?d=Ul(V):(b&=T,b!==0&&(d=Ul(b)))}else T=c&~g,T!==0?d=Ul(T):b!==0&&(d=Ul(b));if(d===0)return 0;if(i!==0&&i!==d&&!(i&g)&&(g=d&-d,b=i&-i,g>=b||g===16&&(b&4194240)!==0))return i;if(d&4&&(d|=c&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=d;0c;c++)i.push(o);return i}function Ql(o,i,c){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-Mr(i),o[i]=c}function r5(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=oc),GA=" ",UA=!1;function QA(o,i){switch(o){case"keyup":return T5.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function KA(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var wa=!1;function R5(o,i){switch(o){case"compositionend":return KA(i);case"keypress":return i.which!==32?null:(UA=!0,GA);case"textInput":return o=i.data,o===GA&&UA?null:o;default:return null}}function E5(o,i){if(wa)return o==="compositionend"||!Gv&&QA(o,i)?(o=WA(),yf=Wv=Ws=null,wa=!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=oP(c)}}function iP(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?iP(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function aP(){for(var o=window,i=_e();i instanceof o.HTMLIFrameElement;){try{var c=typeof i.contentWindow.location.href=="string"}catch{c=!1}if(c)o=i.contentWindow;else break;i=_e(o.document)}return i}function Kv(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 J5(o){var i=aP(),c=o.focusedElem,d=o.selectionRange;if(i!==c&&c&&c.ownerDocument&&iP(c.ownerDocument.documentElement,c)){if(d!==null&&Kv(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 g=c.textContent.length,b=Math.min(d.start,g);d=d.end===void 0?b:Math.min(d.end,g),!o.extend&&b>d&&(g=d,d=b,b=g),g=sP(c,b);var T=sP(c,d);g&&T&&(o.rangeCount!==1||o.anchorNode!==g.node||o.anchorOffset!==g.offset||o.focusNode!==T.node||o.focusOffset!==T.offset)&&(i=i.createRange(),i.setStart(g.node,g.offset),o.removeAllRanges(),b>d?(o.addRange(i),o.extend(T.node,T.offset)):(i.setEnd(T.node,T.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,Ha=null,_v=null,lc=null,$v=!1;function lP(o,i,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;$v||Ha==null||Ha!==_e(d)||(d=Ha,"selectionStart"in d&&Kv(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}),lc&&ac(lc,d)||(lc=d,d=Sf(_v,"onSelect"),0Ca||(o.current=fh[Ca],fh[Ca]=null,Ca--)}function tn(o,i){Ca++,fh[Ca]=o.current,o.current=i}var qs={},_n=Ys(qs),mr=Ys(!1),Ti=qs;function Da(o,i){var c=o.type.contextTypes;if(!c)return qs;var d=o.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var g={},b;for(b in c)g[b]=i[b];return d&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=g),g}function gr(o){return o=o.childContextTypes,o!=null}function Df(){sn(mr),sn(_n)}function wP(o,i,c){if(_n.current!==qs)throw Error(n(168));tn(_n,i),tn(mr,c)}function HP(o,i,c){var d=o.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return c;d=d.getChildContext();for(var g in d)if(!(g in i))throw Error(n(108,xe(o)||"Unknown",g));return E({},c,d)}function Tf(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||qs,Ti=_n.current,tn(_n,o),tn(mr,mr.current),!0}function jP(o,i,c){var d=o.stateNode;if(!d)throw Error(n(169));c?(o=HP(o,i,Ti),d.__reactInternalMemoizedMergedChildContext=o,sn(mr),sn(_n),tn(_n,o)):sn(mr),tn(mr,c)}var ps=null,kf=!1,dh=!1;function SP(o){ps===null?ps=[o]:ps.push(o)}function t3(o){kf=!0,SP(o)}function Zs(){if(!dh&&ps!==null){dh=!0;var o=0,i=Gt;try{var c=ps;for(Gt=1;o>=T,g-=T,vs=1<<32-Mr(i)+g|c<bt?(Fn=mt,mt=null):Fn=mt.sibling;var Wt=Se(ie,mt,ae[bt],Me);if(Wt===null){mt===null&&(mt=Fn);break}o&&mt&&Wt.alternate===null&&i(ie,mt),Q=b(Wt,Q,bt),ht===null?pt=Wt:ht.sibling=Wt,ht=Wt,mt=Fn}if(bt===ae.length)return c(ie,mt),un&&Ri(ie,bt),pt;if(mt===null){for(;btbt?(Fn=mt,mt=null):Fn=mt.sibling;var ni=Se(ie,mt,Wt.value,Me);if(ni===null){mt===null&&(mt=Fn);break}o&&mt&&ni.alternate===null&&i(ie,mt),Q=b(ni,Q,bt),ht===null?pt=ni:ht.sibling=ni,ht=ni,mt=Fn}if(Wt.done)return c(ie,mt),un&&Ri(ie,bt),pt;if(mt===null){for(;!Wt.done;bt++,Wt=ae.next())Wt=Ce(ie,Wt.value,Me),Wt!==null&&(Q=b(Wt,Q,bt),ht===null?pt=Wt:ht.sibling=Wt,ht=Wt);return un&&Ri(ie,bt),pt}for(mt=d(ie,mt);!Wt.done;bt++,Wt=ae.next())Wt=Ye(mt,ie,bt,Wt.value,Me),Wt!==null&&(o&&Wt.alternate!==null&&mt.delete(Wt.key===null?bt:Wt.key),Q=b(Wt,Q,bt),ht===null?pt=Wt:ht.sibling=Wt,ht=Wt);return o&&mt.forEach(function(M3){return i(ie,M3)}),un&&Ri(ie,bt),pt}function On(ie,Q,ae,Me){if(typeof ae=="object"&&ae!==null&&ae.type===R&&ae.key===null&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case D:e:{for(var pt=ae.key,ht=Q;ht!==null;){if(ht.key===pt){if(pt=ae.type,pt===R){if(ht.tag===7){c(ie,ht.sibling),Q=g(ht,ae.props.children),Q.return=ie,ie=Q;break e}}else if(ht.elementType===pt||typeof pt=="object"&&pt!==null&&pt.$$typeof===ne&&VP(pt)===ht.type){c(ie,ht.sibling),Q=g(ht,ae.props),Q.ref=vc(ie,ht,ae),Q.return=ie,ie=Q;break e}c(ie,ht);break}else i(ie,ht);ht=ht.sibling}ae.type===R?(Q=Ii(ae.props.children,ie.mode,Me,ae.key),Q.return=ie,ie=Q):(Me=id(ae.type,ae.key,ae.props,null,ie.mode,Me),Me.ref=vc(ie,Q,ae),Me.return=ie,ie=Me)}return T(ie);case k:e:{for(ht=ae.key;Q!==null;){if(Q.key===ht)if(Q.tag===4&&Q.stateNode.containerInfo===ae.containerInfo&&Q.stateNode.implementation===ae.implementation){c(ie,Q.sibling),Q=g(Q,ae.children||[]),Q.return=ie,ie=Q;break e}else{c(ie,Q);break}else i(ie,Q);Q=Q.sibling}Q=cm(ae,ie.mode,Me),Q.return=ie,ie=Q}return T(ie);case ne:return ht=ae._init,On(ie,Q,ht(ae._payload),Me)}if(se(ae))return it(ie,Q,ae,Me);if(_(ae))return ut(ie,Q,ae,Me);If(ie,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"?(ae=""+ae,Q!==null&&Q.tag===6?(c(ie,Q.sibling),Q=g(Q,ae),Q.return=ie,ie=Q):(c(ie,Q),Q=lm(ae,ie.mode,Me),Q.return=ie,ie=Q),T(ie)):c(ie,Q)}return On}var La=IP(!0),WP=IP(!1),hc={},Io=Ys(hc),mc=Ys(hc),gc=Ys(hc);function Mi(o){if(o===hc)throw Error(n(174));return o}function Sh(o,i){switch(tn(gc,i),tn(mc,o),tn(Io,hc),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:nt(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=nt(i,o)}sn(Io),tn(Io,i)}function Xa(){sn(Io),sn(mc),sn(gc)}function JP(o){Mi(gc.current);var i=Mi(Io.current),c=nt(i,o.type);i!==c&&(tn(mc,o),tn(Io,c))}function zh(o){mc.current===o&&(sn(Io),sn(mc))}var pn=Ys(0);function Wf(o){for(var i=o;i!==null;){if(i.tag===13){var c=i.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Oh=[];function Ch(){for(var o=0;oc?c:4,o(!0);var d=Dh.transition;Dh.transition={};try{o(!1),i()}finally{Gt=c,Dh.transition=d}}function ab(){return eo().memoizedState}function s3(o,i,c){var d=$s(o);if(c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null},lb(o))cb(i,c);else if(c=kP(o,i,c,d),c!==null){var g=lr();jo(c,o,d,g),ub(c,i,d)}}function i3(o,i,c){var d=$s(o),g={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(lb(o))cb(i,g);else{var b=o.alternate;if(o.lanes===0&&(b===null||b.lanes===0)&&(b=i.lastRenderedReducer,b!==null))try{var T=i.lastRenderedState,V=b(T,c);if(g.hasEagerState=!0,g.eagerState=V,Po(V,T)){var q=i.interleaved;q===null?(g.next=g,xh(i)):(g.next=q.next,q.next=g),i.interleaved=g;return}}catch{}finally{}c=kP(o,i,g,d),c!==null&&(g=lr(),jo(c,o,d,g),ub(c,i,d))}}function lb(o){var i=o.alternate;return o===vn||i!==null&&i===vn}function cb(o,i){yc=Ff=!0;var c=o.pending;c===null?i.next=i:(i.next=c.next,c.next=i),o.pending=i}function ub(o,i,c){if(c&4194240){var d=i.lanes;d&=o.pendingLanes,c|=d,i.lanes=c,Xv(o,c)}}var Zf={readContext:$r,useCallback:$n,useContext:$n,useEffect:$n,useImperativeHandle:$n,useInsertionEffect:$n,useLayoutEffect:$n,useMemo:$n,useReducer:$n,useRef:$n,useState:$n,useDebugValue:$n,useDeferredValue:$n,useTransition:$n,useMutableSource:$n,useSyncExternalStore:$n,useId:$n,unstable_isNewReconciler:!1},a3={readContext:$r,useCallback:function(o,i){return Wo().memoizedState=[o,i===void 0?null:i],o},useContext:$r,useEffect:$P,useImperativeHandle:function(o,i,c){return c=c!=null?c.concat([o]):null,Yf(4194308,4,nb.bind(null,i,o),c)},useLayoutEffect:function(o,i){return Yf(4194308,4,o,i)},useInsertionEffect:function(o,i){return Yf(4,2,o,i)},useMemo:function(o,i){var c=Wo();return i=i===void 0?null:i,o=o(),c.memoizedState=[o,i],o},useReducer:function(o,i,c){var d=Wo();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=s3.bind(null,vn,o),[d.memoizedState,o]},useRef:function(o){var i=Wo();return o={current:o},i.memoizedState=o},useState:KP,useDebugValue:Xh,useDeferredValue:function(o){return Wo().memoizedState=o},useTransition:function(){var o=KP(!1),i=o[0];return o=o3.bind(null,o[1]),Wo().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,c){var d=vn,g=Wo();if(un){if(c===void 0)throw Error(n(407));c=c()}else{if(c=i(),Jn===null)throw Error(n(349));Li&30||qP(d,i,c)}g.memoizedState=c;var b={value:c,getSnapshot:i};return g.queue=b,$P(GP.bind(null,d,b,o),[o]),d.flags|=2048,bc(9,ZP.bind(null,d,b,c,i),void 0,null),c},useId:function(){var o=Wo(),i=Jn.identifierPrefix;if(un){var c=hs,d=vs;c=(d&~(1<<32-Mr(d)-1)).toString(32)+c,i=":"+i+"R"+c,c=Ac++,0")&&(q=q.replace("",o.displayName)),q}while(1<=T&&0<=V);break}}}finally{re=!1,Error.prepareStackTrace=c}return(o=o?o.displayName||o.name:"")?X(o):""}function ce(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=$(o.type,!1),o;case 11:return o=$(o.type.render,!1),o;case 1:return o=$(o.type,!0),o;default:return""}}function de(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 R:return"Fragment";case k:return"Portal";case L:return"Profiler";case M:return"StrictMode";case W:return"Suspense";case _:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case B:return(o.displayName||"Context")+".Consumer";case j:return(o._context.displayName||"Context")+".Provider";case I: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:de(o.type)||"Memo";case ee:i=o._payload,o=o._init;try{return de(o(i))}catch{}}return null}function xe(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 de(i);case 8:return i===M?"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 ve(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function be(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Xe(o){var i=be(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 g=c.get,b=c.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return g.call(this)},set:function(T){d=""+T,b.call(this,T)}}),Object.defineProperty(o,i,{enumerable:c.enumerable}),{getValue:function(){return d},setValue:function(T){d=""+T},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function Ve(o){o._valueTracker||(o._valueTracker=Xe(o))}function He(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var c=i.getValue(),d="";return o&&(d=be(o)?o.checked?"true":"false":o.value),o=d,o!==c?(i.setValue(o),!0):!1}function We(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 we(o,i){var c=i.checked;return E({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??o._wrapperState.initialChecked})}function rt(o,i){var c=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;c=ve(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 Me(o,i){i=i.checked,i!=null&&O(o,"checked",i,!1)}function ut(o,i){Me(o,i);var c=ve(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")?te(o,i.type,c):i.hasOwnProperty("defaultValue")&&te(o,i.type,ve(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function N(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 te(o,i,c){(i!=="number"||We(o.ownerDocument)!==o)&&(c==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+c&&(o.defaultValue=""+c))}var se=Array.isArray;function Ae(o,i,c,d){if(o=o.options,i){i={};for(var g=0;g"+i.valueOf().toString()+"",i=at.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function wt(o,i){if(i){var c=o.firstChild;if(c&&c===o.lastChild&&c.nodeType===3){c.nodeValue=i;return}}o.textContent=i}var Ie={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},St=["Webkit","ms","Moz","O"];Object.keys(Ie).forEach(function(o){St.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),Ie[i]=Ie[o]})});function Jt(o,i,c){return i==null||typeof i=="boolean"||i===""?"":c||typeof i!="number"||i===0||Ie.hasOwnProperty(o)&&Ie[o]?(""+i).trim():i+"px"}function Bt(o,i){o=o.style;for(var c in i)if(i.hasOwnProperty(c)){var d=c.indexOf("--")===0,g=Jt(c,i[c],d);c==="float"&&(c="cssFloat"),d?o.setProperty(c,g):o[c]=g}}var F=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 Y(o,i){if(i){if(F[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 Ce=null;function De(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Ne=null,Je=null,ke=null;function tt(o){if(o=pc(o)){if(typeof Ne!="function")throw Error(n(280));var i=o.stateNode;i&&(i=Cf(i),Ne(o.stateNode,o.type,i))}}function pt(o){Je?ke?ke.push(o):ke=[o]:Je=o}function Tt(){if(Je){var o=Je,i=ke;if(ke=Je=null,tt(o),i)for(o=0;o>>=0,o===0?32:31-(_4(o)/$4|0)|0}var ff=64,df=4194304;function Ul(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 pf(o,i){var c=o.pendingLanes;if(c===0)return 0;var d=0,g=o.suspendedLanes,b=o.pingedLanes,T=c&268435455;if(T!==0){var V=T&~g;V!==0?d=Ul(V):(b&=T,b!==0&&(d=Ul(b)))}else T=c&~g,T!==0?d=Ul(T):b!==0&&(d=Ul(b));if(d===0)return 0;if(i!==0&&i!==d&&!(i&g)&&(g=d&-d,b=i&-i,g>=b||g===16&&(b&4194240)!==0))return i;if(d&4&&(d|=c&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=d;0c;c++)i.push(o);return i}function Ql(o,i,c){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-Mr(i),o[i]=c}function r5(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=oc),GA=" ",UA=!1;function QA(o,i){switch(o){case"keyup":return T5.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function KA(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var wa=!1;function R5(o,i){switch(o){case"compositionend":return KA(i);case"keypress":return i.which!==32?null:(UA=!0,GA);case"textInput":return o=i.data,o===GA&&UA?null:o;default:return null}}function E5(o,i){if(wa)return o==="compositionend"||!Gv&&QA(o,i)?(o=WA(),yf=Wv=Ws=null,wa=!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=oP(c)}}function iP(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?iP(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function aP(){for(var o=window,i=We();i instanceof o.HTMLIFrameElement;){try{var c=typeof i.contentWindow.location.href=="string"}catch{c=!1}if(c)o=i.contentWindow;else break;i=We(o.document)}return i}function Kv(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 J5(o){var i=aP(),c=o.focusedElem,d=o.selectionRange;if(i!==c&&c&&c.ownerDocument&&iP(c.ownerDocument.documentElement,c)){if(d!==null&&Kv(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 g=c.textContent.length,b=Math.min(d.start,g);d=d.end===void 0?b:Math.min(d.end,g),!o.extend&&b>d&&(g=d,d=b,b=g),g=sP(c,b);var T=sP(c,d);g&&T&&(o.rangeCount!==1||o.anchorNode!==g.node||o.anchorOffset!==g.offset||o.focusNode!==T.node||o.focusOffset!==T.offset)&&(i=i.createRange(),i.setStart(g.node,g.offset),o.removeAllRanges(),b>d?(o.addRange(i),o.extend(T.node,T.offset)):(i.setEnd(T.node,T.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,Ha=null,_v=null,lc=null,$v=!1;function lP(o,i,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;$v||Ha==null||Ha!==We(d)||(d=Ha,"selectionStart"in d&&Kv(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}),lc&&ac(lc,d)||(lc=d,d=Sf(_v,"onSelect"),0Ca||(o.current=fh[Ca],fh[Ca]=null,Ca--)}function tn(o,i){Ca++,fh[Ca]=o.current,o.current=i}var qs={},_n=Ys(qs),mr=Ys(!1),Ti=qs;function Da(o,i){var c=o.type.contextTypes;if(!c)return qs;var d=o.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var g={},b;for(b in c)g[b]=i[b];return d&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=g),g}function gr(o){return o=o.childContextTypes,o!=null}function Df(){sn(mr),sn(_n)}function wP(o,i,c){if(_n.current!==qs)throw Error(n(168));tn(_n,i),tn(mr,c)}function HP(o,i,c){var d=o.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return c;d=d.getChildContext();for(var g in d)if(!(g in i))throw Error(n(108,xe(o)||"Unknown",g));return E({},c,d)}function Tf(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||qs,Ti=_n.current,tn(_n,o),tn(mr,mr.current),!0}function jP(o,i,c){var d=o.stateNode;if(!d)throw Error(n(169));c?(o=HP(o,i,Ti),d.__reactInternalMemoizedMergedChildContext=o,sn(mr),sn(_n),tn(_n,o)):sn(mr),tn(mr,c)}var ps=null,kf=!1,dh=!1;function SP(o){ps===null?ps=[o]:ps.push(o)}function t3(o){kf=!0,SP(o)}function Zs(){if(!dh&&ps!==null){dh=!0;var o=0,i=Gt;try{var c=ps;for(Gt=1;o>=T,g-=T,vs=1<<32-Mr(i)+g|c<Pt?(Fn=ht,ht=null):Fn=ht.sibling;var Wt=Se(ie,ht,ae[Pt],Le);if(Wt===null){ht===null&&(ht=Fn);break}o&&ht&&Wt.alternate===null&&i(ie,ht),K=b(Wt,K,Pt),vt===null?dt=Wt:vt.sibling=Wt,vt=Wt,ht=Fn}if(Pt===ae.length)return c(ie,ht),un&&Ri(ie,Pt),dt;if(ht===null){for(;PtPt?(Fn=ht,ht=null):Fn=ht.sibling;var ni=Se(ie,ht,Wt.value,Le);if(ni===null){ht===null&&(ht=Fn);break}o&&ht&&ni.alternate===null&&i(ie,ht),K=b(ni,K,Pt),vt===null?dt=ni:vt.sibling=ni,vt=ni,ht=Fn}if(Wt.done)return c(ie,ht),un&&Ri(ie,Pt),dt;if(ht===null){for(;!Wt.done;Pt++,Wt=ae.next())Wt=Te(ie,Wt.value,Le),Wt!==null&&(K=b(Wt,K,Pt),vt===null?dt=Wt:vt.sibling=Wt,vt=Wt);return un&&Ri(ie,Pt),dt}for(ht=d(ie,ht);!Wt.done;Pt++,Wt=ae.next())Wt=Ye(ht,ie,Pt,Wt.value,Le),Wt!==null&&(o&&Wt.alternate!==null&&ht.delete(Wt.key===null?Pt:Wt.key),K=b(Wt,K,Pt),vt===null?dt=Wt:vt.sibling=Wt,vt=Wt);return o&&ht.forEach(function(M3){return i(ie,M3)}),un&&Ri(ie,Pt),dt}function zn(ie,K,ae,Le){if(typeof ae=="object"&&ae!==null&&ae.type===R&&ae.key===null&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case D:e:{for(var dt=ae.key,vt=K;vt!==null;){if(vt.key===dt){if(dt=ae.type,dt===R){if(vt.tag===7){c(ie,vt.sibling),K=g(vt,ae.props.children),K.return=ie,ie=K;break e}}else if(vt.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===ee&&VP(dt)===vt.type){c(ie,vt.sibling),K=g(vt,ae.props),K.ref=vc(ie,vt,ae),K.return=ie,ie=K;break e}c(ie,vt);break}else i(ie,vt);vt=vt.sibling}ae.type===R?(K=Ii(ae.props.children,ie.mode,Le,ae.key),K.return=ie,ie=K):(Le=id(ae.type,ae.key,ae.props,null,ie.mode,Le),Le.ref=vc(ie,K,ae),Le.return=ie,ie=Le)}return T(ie);case k:e:{for(vt=ae.key;K!==null;){if(K.key===vt)if(K.tag===4&&K.stateNode.containerInfo===ae.containerInfo&&K.stateNode.implementation===ae.implementation){c(ie,K.sibling),K=g(K,ae.children||[]),K.return=ie,ie=K;break e}else{c(ie,K);break}else i(ie,K);K=K.sibling}K=cm(ae,ie.mode,Le),K.return=ie,ie=K}return T(ie);case ee:return vt=ae._init,zn(ie,K,vt(ae._payload),Le)}if(se(ae))return st(ie,K,ae,Le);if(Q(ae))return ct(ie,K,ae,Le);If(ie,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"?(ae=""+ae,K!==null&&K.tag===6?(c(ie,K.sibling),K=g(K,ae),K.return=ie,ie=K):(c(ie,K),K=lm(ae,ie.mode,Le),K.return=ie,ie=K),T(ie)):c(ie,K)}return zn}var La=IP(!0),WP=IP(!1),hc={},Io=Ys(hc),mc=Ys(hc),gc=Ys(hc);function Mi(o){if(o===hc)throw Error(n(174));return o}function Sh(o,i){switch(tn(gc,i),tn(mc,o),tn(Io,hc),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)}sn(Io),tn(Io,i)}function Xa(){sn(Io),sn(mc),sn(gc)}function JP(o){Mi(gc.current);var i=Mi(Io.current),c=ot(i,o.type);i!==c&&(tn(mc,o),tn(Io,c))}function zh(o){mc.current===o&&(sn(Io),sn(mc))}var pn=Ys(0);function Wf(o){for(var i=o;i!==null;){if(i.tag===13){var c=i.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Oh=[];function Ch(){for(var o=0;oc?c:4,o(!0);var d=Dh.transition;Dh.transition={};try{o(!1),i()}finally{Gt=c,Dh.transition=d}}function ab(){return $r().memoizedState}function s3(o,i,c){var d=$s(o);if(c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null},lb(o))cb(i,c);else if(c=kP(o,i,c,d),c!==null){var g=lr();jo(c,o,d,g),ub(c,i,d)}}function i3(o,i,c){var d=$s(o),g={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(lb(o))cb(i,g);else{var b=o.alternate;if(o.lanes===0&&(b===null||b.lanes===0)&&(b=i.lastRenderedReducer,b!==null))try{var T=i.lastRenderedState,V=b(T,c);if(g.hasEagerState=!0,g.eagerState=V,Po(V,T)){var q=i.interleaved;q===null?(g.next=g,xh(i)):(g.next=q.next,q.next=g),i.interleaved=g;return}}catch{}finally{}c=kP(o,i,g,d),c!==null&&(g=lr(),jo(c,o,d,g),ub(c,i,d))}}function lb(o){var i=o.alternate;return o===vn||i!==null&&i===vn}function cb(o,i){yc=Ff=!0;var c=o.pending;c===null?i.next=i:(i.next=c.next,c.next=i),o.pending=i}function ub(o,i,c){if(c&4194240){var d=i.lanes;d&=o.pendingLanes,c|=d,i.lanes=c,Xv(o,c)}}var Zf={readContext:_r,useCallback:$n,useContext:$n,useEffect:$n,useImperativeHandle:$n,useInsertionEffect:$n,useLayoutEffect:$n,useMemo:$n,useReducer:$n,useRef:$n,useState:$n,useDebugValue:$n,useDeferredValue:$n,useTransition:$n,useMutableSource:$n,useSyncExternalStore:$n,useId:$n,unstable_isNewReconciler:!1},a3={readContext:_r,useCallback:function(o,i){return Wo().memoizedState=[o,i===void 0?null:i],o},useContext:_r,useEffect:$P,useImperativeHandle:function(o,i,c){return c=c!=null?c.concat([o]):null,Yf(4194308,4,nb.bind(null,i,o),c)},useLayoutEffect:function(o,i){return Yf(4194308,4,o,i)},useInsertionEffect:function(o,i){return Yf(4,2,o,i)},useMemo:function(o,i){var c=Wo();return i=i===void 0?null:i,o=o(),c.memoizedState=[o,i],o},useReducer:function(o,i,c){var d=Wo();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=s3.bind(null,vn,o),[d.memoizedState,o]},useRef:function(o){var i=Wo();return o={current:o},i.memoizedState=o},useState:KP,useDebugValue:Xh,useDeferredValue:function(o){return Wo().memoizedState=o},useTransition:function(){var o=KP(!1),i=o[0];return o=o3.bind(null,o[1]),Wo().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,c){var d=vn,g=Wo();if(un){if(c===void 0)throw Error(n(407));c=c()}else{if(c=i(),Jn===null)throw Error(n(349));Li&30||qP(d,i,c)}g.memoizedState=c;var b={value:c,getSnapshot:i};return g.queue=b,$P(GP.bind(null,d,b,o),[o]),d.flags|=2048,bc(9,ZP.bind(null,d,b,c,i),void 0,null),c},useId:function(){var o=Wo(),i=Jn.identifierPrefix;if(un){var c=hs,d=vs;c=(d&~(1<<32-Mr(d)-1)).toString(32)+c,i=":"+i+"R"+c,c=Ac++,0<\/script>",o=o.removeChild(o.firstChild)):typeof d.is=="string"?o=T.createElement(c,{is:d.is}):(o=T.createElement(c),c==="select"&&(T=o,d.multiple?T.multiple=!0:d.size&&(T.size=d.size))):o=T.createElementNS(o,c),o[Vo]=i,o[dc]=d,zb(o,i,!1,!1),i.stateNode=o;e:{switch(T=Pe(c,d),c){case"dialog":on("cancel",o),on("close",o),g=d;break;case"iframe":case"object":case"embed":on("load",o),g=d;break;case"video":case"audio":for(g=0;gIa&&(i.flags|=128,d=!0,xc(b,!1),i.lanes=4194304)}else{if(!d)if(o=Wf(T),o!==null){if(i.flags|=128,d=!0,c=o.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),xc(b,!0),b.tail===null&&b.tailMode==="hidden"&&!T.alternate&&!un)return er(i),null}else 2*en()-b.renderingStartTime>Ia&&c!==1073741824&&(i.flags|=128,d=!0,xc(b,!1),i.lanes=4194304);b.isBackwards?(T.sibling=i.child,i.child=T):(c=b.last,c!==null?c.sibling=T:i.child=T,b.last=T)}return b.tail!==null?(i=b.tail,b.rendering=i,b.tail=i.sibling,b.renderingStartTime=en(),i.sibling=null,c=pn.current,tn(pn,d?c&1|2:c&1),i):(er(i),null);case 22:case 23:return sm(),d=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==d&&(i.flags|=8192),d&&i.mode&1?Br&1073741824&&(er(i),i.subtreeFlags&6&&(i.flags|=8192)):er(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function h3(o,i){switch(vh(i),i.tag){case 1:return gr(i.type)&&Df(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return Xa(),sn(mr),sn(_n),Ch(),o=i.flags,o&65536&&!(o&128)?(i.flags=o&-65537|128,i):null;case 5:return zh(i),null;case 13:if(sn(pn),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Ra()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return sn(pn),null;case 4:return Xa(),null;case 10:return Ph(i.type._context),null;case 22:case 23:return sm(),null;case 24:return null;default:return null}}var Qf=!1,tr=!1,m3=typeof WeakSet=="function"?WeakSet:Set,et=null;function Ba(o,i){var c=o.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(d){bn(o,i,d)}else c.current=null}function Zh(o,i,c){try{c()}catch(d){bn(o,i,d)}}var Db=!1;function g3(o,i){if(sh=mf,o=aP(),Kv(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 g=d.anchorOffset,b=d.focusNode;d=d.focusOffset;try{c.nodeType,b.nodeType}catch{c=null;break e}var T=0,V=-1,q=-1,fe=0,ze=0,Ce=o,Se=null;t:for(;;){for(var Ye;Ce!==c||g!==0&&Ce.nodeType!==3||(V=T+g),Ce!==b||d!==0&&Ce.nodeType!==3||(q=T+d),Ce.nodeType===3&&(T+=Ce.nodeValue.length),(Ye=Ce.firstChild)!==null;)Se=Ce,Ce=Ye;for(;;){if(Ce===o)break t;if(Se===c&&++fe===g&&(V=T),Se===b&&++ze===d&&(q=T),(Ye=Ce.nextSibling)!==null)break;Ce=Se,Se=Ce.parentNode}Ce=Ye}c=V===-1||q===-1?null:{start:V,end:q}}else c=null}c=c||{start:0,end:0}}else c=null;for(ih={focusedElem:o,selectionRange:c},mf=!1,et=i;et!==null;)if(i=et,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,et=o;else for(;et!==null;){i=et;try{var it=i.alternate;if(i.flags&1024)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,Q=ie.getSnapshotBeforeUpdate(i.elementType===i.type?ut:xo(i.type,ut),On);ie.__reactInternalSnapshotBeforeUpdate=Q}break;case 3:var ae=i.stateNode.containerInfo;ae.nodeType===1?ae.textContent="":ae.nodeType===9&&ae.documentElement&&ae.removeChild(ae.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Me){bn(i,i.return,Me)}if(o=i.sibling,o!==null){o.return=i.return,et=o;break}et=i.return}return it=Db,Db=!1,it}function wc(o,i,c){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var g=d=d.next;do{if((g.tag&o)===o){var b=g.destroy;g.destroy=void 0,b!==void 0&&Zh(i,c,b)}g=g.next}while(g!==d)}}function Kf(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 Gh(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 Tb(o){var i=o.alternate;i!==null&&(o.alternate=null,Tb(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Vo],delete i[dc],delete i[uh],delete i[$5],delete i[e3])),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 kb(o){return o.tag===5||o.tag===3||o.tag===4}function Rb(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||kb(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 Uh(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=Of));else if(d!==4&&(o=o.child,o!==null))for(Uh(o,i,c),o=o.sibling;o!==null;)Uh(o,i,c),o=o.sibling}function Qh(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(Qh(o,i,c),o=o.sibling;o!==null;)Qh(o,i,c),o=o.sibling}var Gn=null,wo=!1;function Qs(o,i,c){for(c=c.child;c!==null;)Eb(o,i,c),c=c.sibling}function Eb(o,i,c){if(Ln&&typeof Ln.onCommitFiberUnmount=="function")try{Ln.onCommitFiberUnmount(ir,c)}catch{}switch(c.tag){case 5:tr||Ba(c,i);case 6:var d=Gn,g=wo;Gn=null,Qs(o,i,c),Gn=d,wo=g,Gn!==null&&(wo?(o=Gn,c=c.stateNode,o.nodeType===8?o.parentNode.removeChild(c):o.removeChild(c)):Gn.removeChild(c.stateNode));break;case 18:Gn!==null&&(wo?(o=Gn,c=c.stateNode,o.nodeType===8?ch(o.parentNode,c):o.nodeType===1&&ch(o,c),tc(o)):ch(Gn,c.stateNode));break;case 4:d=Gn,g=wo,Gn=c.stateNode.containerInfo,wo=!0,Qs(o,i,c),Gn=d,wo=g;break;case 0:case 11:case 14:case 15:if(!tr&&(d=c.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){g=d=d.next;do{var b=g,T=b.destroy;b=b.tag,T!==void 0&&(b&2||b&4)&&Zh(c,i,T),g=g.next}while(g!==d)}Qs(o,i,c);break;case 1:if(!tr&&(Ba(c,i),d=c.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(V){bn(c,i,V)}Qs(o,i,c);break;case 21:Qs(o,i,c);break;case 22:c.mode&1?(tr=(d=tr)||c.memoizedState!==null,Qs(o,i,c),tr=d):Qs(o,i,c);break;default:Qs(o,i,c)}}function Mb(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var c=o.stateNode;c===null&&(c=o.stateNode=new m3),i.forEach(function(d){var g=S3.bind(null,o,d);c.has(d)||(c.add(d),d.then(g,g))})}}function Ho(o,i){var c=i.deletions;if(c!==null)for(var d=0;dg&&(g=T),d&=~b}if(d=g,d=en()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*A3(d/1960))-d,10o?16:o,_s===null)var d=!1;else{if(o=_s,_s=null,nd=0,Vt&6)throw Error(n(331));var g=Vt;for(Vt|=4,et=o.current;et!==null;){var b=et,T=b.child;if(et.flags&16){var V=b.deletions;if(V!==null){for(var q=0;qen()-$h?Bi(o,0):_h|=c),Pr(o,i)}function Gb(o,i){i===0&&(o.mode&1?(i=df,df<<=1,!(df&130023424)&&(df=4194304)):i=1);var c=lr();o=ms(o,i),o!==null&&(Ql(o,i,c),Pr(o,c))}function j3(o){var i=o.memoizedState,c=0;i!==null&&(c=i.retryLane),Gb(o,c)}function S3(o,i){var c=0;switch(o.tag){case 13:var d=o.stateNode,g=o.memoizedState;g!==null&&(c=g.retryLane);break;case 19:d=o.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),Gb(o,c)}var Ub;Ub=function(o,i,c){if(o!==null)if(o.memoizedProps!==i.pendingProps||mr.current)yr=!0;else{if(!(o.lanes&c)&&!(i.flags&128))return yr=!1,p3(o,i,c);yr=!!(o.flags&131072)}else yr=!1,un&&i.flags&1048576&&zP(i,Ef,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;Uf(o,i),o=i.pendingProps;var g=Da(i,_n.current);Ma(i,c),g=kh(null,i,d,o,g,c);var b=Rh();return i.flags|=1,typeof g=="object"&&g!==null&&typeof g.render=="function"&&g.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,gr(d)?(b=!0,Tf(i)):b=!1,i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,wh(i),g.updater=Vf,i.stateNode=g,g._reactInternals=i,jh(i,d,o,c),i=Ih(null,i,d,!0,b,c)):(i.tag=0,un&&b&&ph(i),ar(null,i,g,c),i=i.child),i;case 16:d=i.elementType;e:{switch(Uf(o,i),o=i.pendingProps,g=d._init,d=g(d._payload),i.type=d,g=i.tag=O3(d),o=xo(d,o),g){case 0:i=Vh(null,i,d,o,c);break e;case 1:i=bb(null,i,d,o,c);break e;case 11:i=mb(null,i,d,o,c);break e;case 14:i=gb(null,i,d,xo(d.type,o),c);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:xo(d,g),Vh(o,i,d,g,c);case 1:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:xo(d,g),bb(o,i,d,g,c);case 3:e:{if(xb(i),o===null)throw Error(n(387));d=i.pendingProps,b=i.memoizedState,g=b.element,RP(o,i),Bf(i,d,null,c);var T=i.memoizedState;if(d=T.element,b.isDehydrated)if(b={element:d,isDehydrated:!1,cache:T.cache,pendingSuspenseBoundaries:T.pendingSuspenseBoundaries,transitions:T.transitions},i.updateQueue.baseState=b,i.memoizedState=b,i.flags&256){g=Na(Error(n(423)),i),i=wb(o,i,d,c,g);break e}else if(d!==g){g=Na(Error(n(424)),i),i=wb(o,i,d,c,g);break e}else for(Nr=Fs(i.stateNode.containerInfo.firstChild),Xr=i,un=!0,bo=null,c=WP(i,null,d,c),i.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Ra(),d===g){i=ys(o,i,c);break e}ar(o,i,d,c)}i=i.child}return i;case 5:return JP(i),o===null&&mh(i),d=i.type,g=i.pendingProps,b=o!==null?o.memoizedProps:null,T=g.children,ah(d,g)?T=null:b!==null&&ah(d,b)&&(i.flags|=32),Pb(o,i),ar(o,i,T,c),i.child;case 6:return o===null&&mh(i),null;case 13:return Hb(o,i,c);case 4:return Sh(i,i.stateNode.containerInfo),d=i.pendingProps,o===null?i.child=La(i,null,d,c):ar(o,i,d,c),i.child;case 11:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:xo(d,g),mb(o,i,d,g,c);case 7:return ar(o,i,i.pendingProps,c),i.child;case 8:return ar(o,i,i.pendingProps.children,c),i.child;case 12:return ar(o,i,i.pendingProps.children,c),i.child;case 10:e:{if(d=i.type._context,g=i.pendingProps,b=i.memoizedProps,T=g.value,tn(Lf,d._currentValue),d._currentValue=T,b!==null)if(Po(b.value,T)){if(b.children===g.children&&!mr.current){i=ys(o,i,c);break e}}else for(b=i.child,b!==null&&(b.return=i);b!==null;){var V=b.dependencies;if(V!==null){T=b.child;for(var q=V.firstContext;q!==null;){if(q.context===d){if(b.tag===1){q=gs(-1,c&-c),q.tag=2;var fe=b.updateQueue;if(fe!==null){fe=fe.shared;var ze=fe.pending;ze===null?q.next=q:(q.next=ze.next,ze.next=q),fe.pending=q}}b.lanes|=c,q=b.alternate,q!==null&&(q.lanes|=c),bh(b.return,c,i),V.lanes|=c;break}q=q.next}}else if(b.tag===10)T=b.type===i.type?null:b.child;else if(b.tag===18){if(T=b.return,T===null)throw Error(n(341));T.lanes|=c,V=T.alternate,V!==null&&(V.lanes|=c),bh(T,c,i),T=b.sibling}else T=b.child;if(T!==null)T.return=b;else for(T=b;T!==null;){if(T===i){T=null;break}if(b=T.sibling,b!==null){b.return=T.return,T=b;break}T=T.return}b=T}ar(o,i,g.children,c),i=i.child}return i;case 9:return g=i.type,d=i.pendingProps.children,Ma(i,c),g=$r(g),d=d(g),i.flags|=1,ar(o,i,d,c),i.child;case 14:return d=i.type,g=xo(d,i.pendingProps),g=xo(d.type,g),gb(o,i,d,g,c);case 15:return yb(o,i,i.type,i.pendingProps,c);case 17:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:xo(d,g),Uf(o,i),i.tag=1,gr(d)?(o=!0,Tf(i)):o=!1,Ma(i,c),NP(i,d,g),jh(i,d,g,c),Ih(null,i,d,!0,o,c);case 19:return Sb(o,i,c);case 22:return Ab(o,i,c)}throw Error(n(156,i.tag))};function Qb(o,i){return Nt(o,i)}function z3(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 no(o,i,c,d){return new z3(o,i,c,d)}function am(o){return o=o.prototype,!(!o||!o.isReactComponent)}function O3(o){if(typeof o=="function")return am(o)?1:0;if(o!=null){if(o=o.$$typeof,o===I)return 11;if(o===W)return 14}return 2}function ti(o,i){var c=o.alternate;return c===null?(c=no(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 id(o,i,c,d,g,b){var T=2;if(d=o,typeof o=="function")am(o)&&(T=1);else if(typeof o=="string")T=5;else e:switch(o){case R:return Ii(c.children,g,b,i);case M:T=8,g|=8;break;case L:return o=no(12,c,i,g|2),o.elementType=L,o.lanes=b,o;case J:return o=no(13,c,i,g),o.elementType=J,o.lanes=b,o;case K:return o=no(19,c,i,g),o.elementType=K,o.lanes=b,o;case re:return ad(c,g,b,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case j:T=10;break e;case B:T=9;break e;case I:T=11;break e;case W:T=14;break e;case ne:T=16,d=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=no(T,c,i,g),i.elementType=o,i.type=d,i.lanes=b,i}function Ii(o,i,c,d){return o=no(7,o,d,i),o.lanes=c,o}function ad(o,i,c,d){return o=no(22,o,d,i),o.elementType=re,o.lanes=c,o.stateNode={isHidden:!1},o}function lm(o,i,c){return o=no(6,o,null,i),o.lanes=c,o}function cm(o,i,c){return i=no(4,o.children!==null?o.children:[],o.key,i),i.lanes=c,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function C3(o,i,c,d,g){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=Lv(0),this.expirationTimes=Lv(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lv(0),this.identifierPrefix=d,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function um(o,i,c,d,g,b,T,V,q){return o=new C3(o,i,c,V,q),i===1?(i=1,b===!0&&(i|=8)):i=0,b=no(3,null,null,i),o.current=b,b.stateNode=o,b.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},wh(b),o}function D3(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(),Hm.exports=TS(),Hm.exports}var v1=p1();const _c=Cp(v1),Y8={disabled:!1},ap=Ue.createContext(null);var kS=function(t){return t.scrollTop},$c="unmounted",Fi="exited",Yi="entering",el="entered",cg="exiting",Xo=function(e){d1(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=Fi,a.appearStatus=Yi):f=el:r.unmountOnExit||r.mountOnEnter?f=$c:f=Fi,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(s,a){var l=s.in;return l&&a.status===$c?{status:Fi}: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!==Yi&&l!==el&&(a=Yi):(l===Yi||l===el)&&(a=cg)}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===Yi){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:_c.findDOMNode(this);l&&kS(l)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Fi&&this.setState({status:$c})},n.performEnter=function(s){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:s,f=this.props.nodeRef?[u]:[_c.findDOMNode(this),u],p=f[0],h=f[1],m=this.getTimeouts(),P=u?m.appear:m.enter;if(!s&&!l||Y8.disabled){this.safeSetState({status:el},function(){a.props.onEntered(p)});return}this.props.onEnter(p,h),this.safeSetState({status:Yi},function(){a.props.onEntering(p,h),a.onTransitionEnd(P,function(){a.safeSetState({status:el},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:_c.findDOMNode(this);if(!a||Y8.disabled){this.safeSetState({status:Fi},function(){s.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:cg},function(){s.props.onExiting(u),s.onTransitionEnd(l.exit,function(){s.safeSetState({status:Fi},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:_c.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===$c)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=f1(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ue.createElement(ap.Provider,{value:null},typeof l=="function"?l(s,u):Ue.cloneElement(Ue.Children.only(l),u))},t}(Ue.Component);Xo.contextType=ap;Xo.propTypes={};function Ga(){}Xo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ga,onEntering:Ga,onEntered:Ga,onExit:Ga,onExiting:Ga,onExited:Ga};Xo.UNMOUNTED=$c;Xo.EXITED=Fi;Xo.ENTERING=Yi;Xo.ENTERED=el;Xo.EXITING=cg;function RS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jy(e,t){var n=function(a){return t&&y.isValidElement(a)?t(a):a},r=Object.create(null);return e&&y.Children.map(e,function(s){return s}).forEach(function(s){r[s.key]=n(s)}),r}function ES(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 BS(e){return Ze("MuiPaper",e)}Ge("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 VS=e=>{const{square:t,elevation:n,variant:r,classes:s}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Ke(a,BS,s)},IS=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}`]]}})(Qe(({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=y.forwardRef(function(t,n){var w;const r=$e({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},P=VS(m);return v.jsx(IS,{as:l,ownerState:m,className:Oe(P.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(${Pt("#fff",ag(u))}, ${Pt("#fff",ag(u))})`}},...h.style}})});function mn(e,t){const{className:n,elementType:r,ownerState:s,externalForwardedProps:a,internalForwardedProps:l,...u}=t,{component:f,slots:p={[e]:void 0},slotProps:h={[e]:void 0},...m}=a,P=p[e]||r,w=_0(h[e],s),{props:{component:A,...x},internalRef:H}=K0({className:n,...u,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:w}),S=nn(H,w==null?void 0:w.ref,t.ref),z=e==="root"?A||f:A,O=Q0(P,{...e==="root"&&!f&&!p[e]&&l,...e!=="root"&&!p[e]&&l,...x,...z&&{as:z},ref:S},s);return[P,O]}class lp{constructor(){Oc(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 lp}static use(){const t=G0(lp.create).current,[n,r]=y.useState(!1);return t.shouldMount=n,t.setShouldMount=r,y.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=JS(),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 WS(){return lp.use()}function JS(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});return n.resolve=e,n.reject=t,n}function FS(e){const{className:t,classes:n,pulsate:r=!1,rippleX:s,rippleY:a,rippleSize:l,in:u,onExited:f,timeout:p}=e,[h,m]=y.useState(!1),P=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),y.useEffect(()=>{if(!u&&f!=null){const x=setTimeout(f,p);return()=>{clearTimeout(x)}}},[f,u,p]),v.jsx("span",{className:P,style:w,children:v.jsx("span",{className:A})})}const io=Ge("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ug=550,YS=80,qS=Iu` +`+b.stack}return{value:o,source:i,stack:g,digest:null}}function Nh(o,i,c){return{value:o,source:null,stack:c??null,digest:i??null}}function Bh(o,i){try{console.error(i.value)}catch(c){setTimeout(function(){throw c})}}var u3=typeof WeakMap=="function"?WeakMap:Map;function fb(o,i,c){c=gs(-1,c),c.tag=3,c.payload={element:null};var d=i.value;return c.callback=function(){ed||(ed=!0,em=d),Bh(o,i)},c}function db(o,i,c){c=gs(-1,c),c.tag=3;var d=o.type.getDerivedStateFromError;if(typeof d=="function"){var g=i.value;c.payload=function(){return d(g)},c.callback=function(){Bh(o,i)}}var b=o.stateNode;return b!==null&&typeof b.componentDidCatch=="function"&&(c.callback=function(){Bh(o,i),typeof d!="function"&&(Ks===null?Ks=new Set([this]):Ks.add(this));var T=i.stack;this.componentDidCatch(i.value,{componentStack:T!==null?T:""})}),c}function pb(o,i,c){var d=o.pingCache;if(d===null){d=o.pingCache=new u3;var g=new Set;d.set(i,g)}else g=d.get(i),g===void 0&&(g=new Set,d.set(i,g));g.has(c)||(g.add(c),o=H3.bind(null,o,i,c),i.then(o,o))}function vb(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 hb(o,i,c,d,g){return o.mode&1?(o.flags|=65536,o.lanes=g,o):(o===i?o.flags|=65536:(o.flags|=128,c.flags|=131072,c.flags&=-52805,c.tag===1&&(c.alternate===null?c.tag=17:(i=gs(-1,1),i.tag=2,Us(c,i,1))),c.lanes|=1),o)}var f3=C.ReactCurrentOwner,yr=!1;function ar(o,i,c,d){i.child=o===null?WP(i,null,c,d):La(i,o.child,c,d)}function mb(o,i,c,d,g){c=c.render;var b=i.ref;return Ma(i,g),d=kh(o,i,c,d,b,g),c=Rh(),o!==null&&!yr?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~g,ys(o,i,g)):(un&&c&&ph(i),i.flags|=1,ar(o,i,d,g),i.child)}function gb(o,i,c,d,g){if(o===null){var b=c.type;return typeof b=="function"&&!am(b)&&b.defaultProps===void 0&&c.compare===null&&c.defaultProps===void 0?(i.tag=15,i.type=b,yb(o,i,b,d,g)):(o=id(c.type,null,d,i,i.mode,g),o.ref=i.ref,o.return=i,i.child=o)}if(b=o.child,!(o.lanes&g)){var T=b.memoizedProps;if(c=c.compare,c=c!==null?c:ac,c(T,d)&&o.ref===i.ref)return ys(o,i,g)}return i.flags|=1,o=ti(b,d),o.ref=i.ref,o.return=i,i.child=o}function yb(o,i,c,d,g){if(o!==null){var b=o.memoizedProps;if(ac(b,d)&&o.ref===i.ref)if(yr=!1,i.pendingProps=d=b,(o.lanes&g)!==0)o.flags&131072&&(yr=!0);else return i.lanes=o.lanes,ys(o,i,g)}return Vh(o,i,c,d,g)}function Ab(o,i,c){var d=i.pendingProps,g=d.children,b=o!==null?o.memoizedState:null;if(d.mode==="hidden")if(!(i.mode&1))i.memoizedState={baseLanes:0,cachePool:null,transitions:null},tn(Va,Br),Br|=c;else{if(!(c&1073741824))return o=b!==null?b.baseLanes|c:c,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:o,cachePool:null,transitions:null},i.updateQueue=null,tn(Va,Br),Br|=o,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=b!==null?b.baseLanes:c,tn(Va,Br),Br|=d}else b!==null?(d=b.baseLanes|c,i.memoizedState=null):d=c,tn(Va,Br),Br|=d;return ar(o,i,g,c),i.child}function Pb(o,i){var c=i.ref;(o===null&&c!==null||o!==null&&o.ref!==c)&&(i.flags|=512,i.flags|=2097152)}function Vh(o,i,c,d,g){var b=gr(c)?Ti:_n.current;return b=Da(i,b),Ma(i,g),c=kh(o,i,c,d,b,g),d=Rh(),o!==null&&!yr?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~g,ys(o,i,g)):(un&&d&&ph(i),i.flags|=1,ar(o,i,c,g),i.child)}function bb(o,i,c,d,g){if(gr(c)){var b=!0;Tf(i)}else b=!1;if(Ma(i,g),i.stateNode===null)Uf(o,i),NP(i,c,d),jh(i,c,d,g),d=!0;else if(o===null){var T=i.stateNode,V=i.memoizedProps;T.props=V;var q=T.context,fe=c.contextType;typeof fe=="object"&&fe!==null?fe=_r(fe):(fe=gr(c)?Ti:_n.current,fe=Da(i,fe));var ze=c.getDerivedStateFromProps,Te=typeof ze=="function"||typeof T.getSnapshotBeforeUpdate=="function";Te||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(V!==d||q!==fe)&&BP(i,T,d,fe),Gs=!1;var Se=i.memoizedState;T.state=Se,Bf(i,d,T,g),q=i.memoizedState,V!==d||Se!==q||mr.current||Gs?(typeof ze=="function"&&(Hh(i,c,ze,d),q=i.memoizedState),(V=Gs||XP(i,c,V,d,Se,q,fe))?(Te||typeof T.UNSAFE_componentWillMount!="function"&&typeof T.componentWillMount!="function"||(typeof T.componentWillMount=="function"&&T.componentWillMount(),typeof T.UNSAFE_componentWillMount=="function"&&T.UNSAFE_componentWillMount()),typeof T.componentDidMount=="function"&&(i.flags|=4194308)):(typeof T.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=d,i.memoizedState=q),T.props=d,T.state=q,T.context=fe,d=V):(typeof T.componentDidMount=="function"&&(i.flags|=4194308),d=!1)}else{T=i.stateNode,RP(o,i),V=i.memoizedProps,fe=i.type===i.elementType?V:xo(i.type,V),T.props=fe,Te=i.pendingProps,Se=T.context,q=c.contextType,typeof q=="object"&&q!==null?q=_r(q):(q=gr(c)?Ti:_n.current,q=Da(i,q));var Ye=c.getDerivedStateFromProps;(ze=typeof Ye=="function"||typeof T.getSnapshotBeforeUpdate=="function")||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(V!==Te||Se!==q)&&BP(i,T,d,q),Gs=!1,Se=i.memoizedState,T.state=Se,Bf(i,d,T,g);var st=i.memoizedState;V!==Te||Se!==st||mr.current||Gs?(typeof Ye=="function"&&(Hh(i,c,Ye,d),st=i.memoizedState),(fe=Gs||XP(i,c,fe,d,Se,st,q)||!1)?(ze||typeof T.UNSAFE_componentWillUpdate!="function"&&typeof T.componentWillUpdate!="function"||(typeof T.componentWillUpdate=="function"&&T.componentWillUpdate(d,st,q),typeof T.UNSAFE_componentWillUpdate=="function"&&T.UNSAFE_componentWillUpdate(d,st,q)),typeof T.componentDidUpdate=="function"&&(i.flags|=4),typeof T.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof T.componentDidUpdate!="function"||V===o.memoizedProps&&Se===o.memoizedState||(i.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||V===o.memoizedProps&&Se===o.memoizedState||(i.flags|=1024),i.memoizedProps=d,i.memoizedState=st),T.props=d,T.state=st,T.context=q,d=fe):(typeof T.componentDidUpdate!="function"||V===o.memoizedProps&&Se===o.memoizedState||(i.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||V===o.memoizedProps&&Se===o.memoizedState||(i.flags|=1024),d=!1)}return Ih(o,i,c,d,b,g)}function Ih(o,i,c,d,g,b){Pb(o,i);var T=(i.flags&128)!==0;if(!d&&!T)return g&&jP(i,c,!1),ys(o,i,b);d=i.stateNode,f3.current=i;var V=T&&typeof c.getDerivedStateFromError!="function"?null:d.render();return i.flags|=1,o!==null&&T?(i.child=La(i,o.child,null,b),i.child=La(i,null,V,b)):ar(o,i,V,b),i.memoizedState=d.state,g&&jP(i,c,!0),i.child}function xb(o){var i=o.stateNode;i.pendingContext?wP(o,i.pendingContext,i.pendingContext!==i.context):i.context&&wP(o,i.context,!1),Sh(o,i.containerInfo)}function wb(o,i,c,d,g){return Ra(),gh(g),i.flags|=256,ar(o,i,c,d),i.child}var Wh={dehydrated:null,treeContext:null,retryLane:0};function Jh(o){return{baseLanes:o,cachePool:null,transitions:null}}function Hb(o,i,c){var d=i.pendingProps,g=pn.current,b=!1,T=(i.flags&128)!==0,V;if((V=T)||(V=o!==null&&o.memoizedState===null?!1:(g&2)!==0),V?(b=!0,i.flags&=-129):(o===null||o.memoizedState!==null)&&(g|=1),tn(pn,g&1),o===null)return mh(i),o=i.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?(i.mode&1?o.data==="$!"?i.lanes=8:i.lanes=1073741824:i.lanes=1,null):(T=d.children,o=d.fallback,b?(d=i.mode,b=i.child,T={mode:"hidden",children:T},!(d&1)&&b!==null?(b.childLanes=0,b.pendingProps=T):b=ad(T,d,0,null),o=Ii(o,d,c,null),b.return=i,o.return=i,b.sibling=o,i.child=b,i.child.memoizedState=Jh(c),i.memoizedState=Wh,o):Fh(i,T));if(g=o.memoizedState,g!==null&&(V=g.dehydrated,V!==null))return d3(o,i,T,d,V,g,c);if(b){b=d.fallback,T=i.mode,g=o.child,V=g.sibling;var q={mode:"hidden",children:d.children};return!(T&1)&&i.child!==g?(d=i.child,d.childLanes=0,d.pendingProps=q,i.deletions=null):(d=ti(g,q),d.subtreeFlags=g.subtreeFlags&14680064),V!==null?b=ti(V,b):(b=Ii(b,T,c,null),b.flags|=2),b.return=i,d.return=i,d.sibling=b,i.child=d,d=b,b=i.child,T=o.child.memoizedState,T=T===null?Jh(c):{baseLanes:T.baseLanes|c,cachePool:null,transitions:T.transitions},b.memoizedState=T,b.childLanes=o.childLanes&~c,i.memoizedState=Wh,d}return b=o.child,o=b.sibling,d=ti(b,{mode:"visible",children:d.children}),!(i.mode&1)&&(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 Fh(o,i){return i=ad({mode:"visible",children:i},o.mode,0,null),i.return=o,o.child=i}function Gf(o,i,c,d){return d!==null&&gh(d),La(i,o.child,null,c),o=Fh(i,i.pendingProps.children),o.flags|=2,i.memoizedState=null,o}function d3(o,i,c,d,g,b,T){if(c)return i.flags&256?(i.flags&=-257,d=Nh(Error(n(422))),Gf(o,i,T,d)):i.memoizedState!==null?(i.child=o.child,i.flags|=128,null):(b=d.fallback,g=i.mode,d=ad({mode:"visible",children:d.children},g,0,null),b=Ii(b,g,T,null),b.flags|=2,d.return=i,b.return=i,d.sibling=b,i.child=d,i.mode&1&&La(i,o.child,null,T),i.child.memoizedState=Jh(T),i.memoizedState=Wh,b);if(!(i.mode&1))return Gf(o,i,T,null);if(g.data==="$!"){if(d=g.nextSibling&&g.nextSibling.dataset,d)var V=d.dgst;return d=V,b=Error(n(419)),d=Nh(b,d,void 0),Gf(o,i,T,d)}if(V=(T&o.childLanes)!==0,yr||V){if(d=Jn,d!==null){switch(T&-T){case 4:g=2;break;case 16:g=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:g=32;break;case 536870912:g=268435456;break;default:g=0}g=g&(d.suspendedLanes|T)?0:g,g!==0&&g!==b.retryLane&&(b.retryLane=g,ms(o,g),jo(d,o,g,-1))}return im(),d=Nh(Error(n(421))),Gf(o,i,T,d)}return g.data==="$?"?(i.flags|=128,i.child=o.child,i=j3.bind(null,o),g._reactRetry=i,null):(o=b.treeContext,Nr=Fs(g.nextSibling),Xr=i,un=!0,bo=null,o!==null&&(Qr[Kr++]=vs,Qr[Kr++]=hs,Qr[Kr++]=ki,vs=o.id,hs=o.overflow,ki=i),i=Fh(i,d.children),i.flags|=4096,i)}function jb(o,i,c){o.lanes|=i;var d=o.alternate;d!==null&&(d.lanes|=i),bh(o.return,i,c)}function Yh(o,i,c,d,g){var b=o.memoizedState;b===null?o.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:g}:(b.isBackwards=i,b.rendering=null,b.renderingStartTime=0,b.last=d,b.tail=c,b.tailMode=g)}function Sb(o,i,c){var d=i.pendingProps,g=d.revealOrder,b=d.tail;if(ar(o,i,d.children,c),d=pn.current,d&2)d=d&1|2,i.flags|=128;else{if(o!==null&&o.flags&128)e:for(o=i.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&jb(o,c,i);else if(o.tag===19)jb(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(tn(pn,d),!(i.mode&1))i.memoizedState=null;else switch(g){case"forwards":for(c=i.child,g=null;c!==null;)o=c.alternate,o!==null&&Wf(o)===null&&(g=c),c=c.sibling;c=g,c===null?(g=i.child,i.child=null):(g=c.sibling,c.sibling=null),Yh(i,!1,g,c,b);break;case"backwards":for(c=null,g=i.child,i.child=null;g!==null;){if(o=g.alternate,o!==null&&Wf(o)===null){i.child=g;break}o=g.sibling,g.sibling=c,c=g,g=o}Yh(i,!0,c,null,b);break;case"together":Yh(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Uf(o,i){!(i.mode&1)&&o!==null&&(o.alternate=null,i.alternate=null,i.flags|=2)}function ys(o,i,c){if(o!==null&&(i.dependencies=o.dependencies),Xi|=i.lanes,!(c&i.childLanes))return null;if(o!==null&&i.child!==o.child)throw Error(n(153));if(i.child!==null){for(o=i.child,c=ti(o,o.pendingProps),i.child=c,c.return=i;o.sibling!==null;)o=o.sibling,c=c.sibling=ti(o,o.pendingProps),c.return=i;c.sibling=null}return i.child}function p3(o,i,c){switch(i.tag){case 3:xb(i),Ra();break;case 5:JP(i);break;case 1:gr(i.type)&&Tf(i);break;case 4:Sh(i,i.stateNode.containerInfo);break;case 10:var d=i.type._context,g=i.memoizedProps.value;tn(Lf,d._currentValue),d._currentValue=g;break;case 13:if(d=i.memoizedState,d!==null)return d.dehydrated!==null?(tn(pn,pn.current&1),i.flags|=128,null):c&i.child.childLanes?Hb(o,i,c):(tn(pn,pn.current&1),o=ys(o,i,c),o!==null?o.sibling:null);tn(pn,pn.current&1);break;case 19:if(d=(c&i.childLanes)!==0,o.flags&128){if(d)return Sb(o,i,c);i.flags|=128}if(g=i.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),tn(pn,pn.current),d)break;return null;case 22:case 23:return i.lanes=0,Ab(o,i,c)}return ys(o,i,c)}var zb,qh,Ob,Cb;zb=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}},qh=function(){},Ob=function(o,i,c,d){var g=o.memoizedProps;if(g!==d){o=i.stateNode,Mi(Io.current);var b=null;switch(c){case"input":g=we(o,g),d=we(o,d),b=[];break;case"select":g=E({},g,{value:void 0}),d=E({},d,{value:void 0}),b=[];break;case"textarea":g=le(o,g),d=le(o,d),b=[];break;default:typeof g.onClick!="function"&&typeof d.onClick=="function"&&(o.onclick=Of)}Y(c,d);var T;c=null;for(fe in g)if(!d.hasOwnProperty(fe)&&g.hasOwnProperty(fe)&&g[fe]!=null)if(fe==="style"){var V=g[fe];for(T in V)V.hasOwnProperty(T)&&(c||(c={}),c[T]="")}else fe!=="dangerouslySetInnerHTML"&&fe!=="children"&&fe!=="suppressContentEditableWarning"&&fe!=="suppressHydrationWarning"&&fe!=="autoFocus"&&(s.hasOwnProperty(fe)?b||(b=[]):(b=b||[]).push(fe,null));for(fe in d){var q=d[fe];if(V=g!=null?g[fe]:void 0,d.hasOwnProperty(fe)&&q!==V&&(q!=null||V!=null))if(fe==="style")if(V){for(T in V)!V.hasOwnProperty(T)||q&&q.hasOwnProperty(T)||(c||(c={}),c[T]="");for(T in q)q.hasOwnProperty(T)&&V[T]!==q[T]&&(c||(c={}),c[T]=q[T])}else c||(b||(b=[]),b.push(fe,c)),c=q;else fe==="dangerouslySetInnerHTML"?(q=q?q.__html:void 0,V=V?V.__html:void 0,q!=null&&V!==q&&(b=b||[]).push(fe,q)):fe==="children"?typeof q!="string"&&typeof q!="number"||(b=b||[]).push(fe,""+q):fe!=="suppressContentEditableWarning"&&fe!=="suppressHydrationWarning"&&(s.hasOwnProperty(fe)?(q!=null&&fe==="onScroll"&&on("scroll",o),b||V===q||(b=[])):(b=b||[]).push(fe,q))}c&&(b=b||[]).push("style",c);var fe=b;(i.updateQueue=fe)&&(i.flags|=4)}},Cb=function(o,i,c,d){c!==d&&(i.flags|=4)};function xc(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 er(o){var i=o.alternate!==null&&o.alternate.child===o.child,c=0,d=0;if(i)for(var g=o.child;g!==null;)c|=g.lanes|g.childLanes,d|=g.subtreeFlags&14680064,d|=g.flags&14680064,g.return=o,g=g.sibling;else for(g=o.child;g!==null;)c|=g.lanes|g.childLanes,d|=g.subtreeFlags,d|=g.flags,g.return=o,g=g.sibling;return o.subtreeFlags|=d,o.childLanes=c,i}function v3(o,i,c){var d=i.pendingProps;switch(vh(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return er(i),null;case 1:return gr(i.type)&&Df(),er(i),null;case 3:return d=i.stateNode,Xa(),sn(mr),sn(_n),Ch(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(o===null||o.child===null)&&(Mf(i)?i.flags|=4:o===null||o.memoizedState.isDehydrated&&!(i.flags&256)||(i.flags|=1024,bo!==null&&(rm(bo),bo=null))),qh(o,i),er(i),null;case 5:zh(i);var g=Mi(gc.current);if(c=i.type,o!==null&&i.stateNode!=null)Ob(o,i,c,d,g),o.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!d){if(i.stateNode===null)throw Error(n(166));return er(i),null}if(o=Mi(Io.current),Mf(i)){d=i.stateNode,c=i.type;var b=i.memoizedProps;switch(d[Vo]=i,d[dc]=b,o=(i.mode&1)!==0,c){case"dialog":on("cancel",d),on("close",d);break;case"iframe":case"object":case"embed":on("load",d);break;case"video":case"audio":for(g=0;g<\/script>",o=o.removeChild(o.firstChild)):typeof d.is=="string"?o=T.createElement(c,{is:d.is}):(o=T.createElement(c),c==="select"&&(T=o,d.multiple?T.multiple=!0:d.size&&(T.size=d.size))):o=T.createElementNS(o,c),o[Vo]=i,o[dc]=d,zb(o,i,!1,!1),i.stateNode=o;e:{switch(T=ge(c,d),c){case"dialog":on("cancel",o),on("close",o),g=d;break;case"iframe":case"object":case"embed":on("load",o),g=d;break;case"video":case"audio":for(g=0;gIa&&(i.flags|=128,d=!0,xc(b,!1),i.lanes=4194304)}else{if(!d)if(o=Wf(T),o!==null){if(i.flags|=128,d=!0,c=o.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),xc(b,!0),b.tail===null&&b.tailMode==="hidden"&&!T.alternate&&!un)return er(i),null}else 2*en()-b.renderingStartTime>Ia&&c!==1073741824&&(i.flags|=128,d=!0,xc(b,!1),i.lanes=4194304);b.isBackwards?(T.sibling=i.child,i.child=T):(c=b.last,c!==null?c.sibling=T:i.child=T,b.last=T)}return b.tail!==null?(i=b.tail,b.rendering=i,b.tail=i.sibling,b.renderingStartTime=en(),i.sibling=null,c=pn.current,tn(pn,d?c&1|2:c&1),i):(er(i),null);case 22:case 23:return sm(),d=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==d&&(i.flags|=8192),d&&i.mode&1?Br&1073741824&&(er(i),i.subtreeFlags&6&&(i.flags|=8192)):er(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function h3(o,i){switch(vh(i),i.tag){case 1:return gr(i.type)&&Df(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return Xa(),sn(mr),sn(_n),Ch(),o=i.flags,o&65536&&!(o&128)?(i.flags=o&-65537|128,i):null;case 5:return zh(i),null;case 13:if(sn(pn),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Ra()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return sn(pn),null;case 4:return Xa(),null;case 10:return Ph(i.type._context),null;case 22:case 23:return sm(),null;case 24:return null;default:return null}}var Qf=!1,tr=!1,m3=typeof WeakSet=="function"?WeakSet:Set,et=null;function Ba(o,i){var c=o.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(d){Pn(o,i,d)}else c.current=null}function Zh(o,i,c){try{c()}catch(d){Pn(o,i,d)}}var Db=!1;function g3(o,i){if(sh=mf,o=aP(),Kv(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 g=d.anchorOffset,b=d.focusNode;d=d.focusOffset;try{c.nodeType,b.nodeType}catch{c=null;break e}var T=0,V=-1,q=-1,fe=0,ze=0,Te=o,Se=null;t:for(;;){for(var Ye;Te!==c||g!==0&&Te.nodeType!==3||(V=T+g),Te!==b||d!==0&&Te.nodeType!==3||(q=T+d),Te.nodeType===3&&(T+=Te.nodeValue.length),(Ye=Te.firstChild)!==null;)Se=Te,Te=Ye;for(;;){if(Te===o)break t;if(Se===c&&++fe===g&&(V=T),Se===b&&++ze===d&&(q=T),(Ye=Te.nextSibling)!==null)break;Te=Se,Se=Te.parentNode}Te=Ye}c=V===-1||q===-1?null:{start:V,end:q}}else c=null}c=c||{start:0,end:0}}else c=null;for(ih={focusedElem:o,selectionRange:c},mf=!1,et=i;et!==null;)if(i=et,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,et=o;else for(;et!==null;){i=et;try{var st=i.alternate;if(i.flags&1024)switch(i.tag){case 0:case 11:case 15:break;case 1:if(st!==null){var ct=st.memoizedProps,zn=st.memoizedState,ie=i.stateNode,K=ie.getSnapshotBeforeUpdate(i.elementType===i.type?ct:xo(i.type,ct),zn);ie.__reactInternalSnapshotBeforeUpdate=K}break;case 3:var ae=i.stateNode.containerInfo;ae.nodeType===1?ae.textContent="":ae.nodeType===9&&ae.documentElement&&ae.removeChild(ae.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Le){Pn(i,i.return,Le)}if(o=i.sibling,o!==null){o.return=i.return,et=o;break}et=i.return}return st=Db,Db=!1,st}function wc(o,i,c){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var g=d=d.next;do{if((g.tag&o)===o){var b=g.destroy;g.destroy=void 0,b!==void 0&&Zh(i,c,b)}g=g.next}while(g!==d)}}function Kf(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 Gh(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 Tb(o){var i=o.alternate;i!==null&&(o.alternate=null,Tb(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Vo],delete i[dc],delete i[uh],delete i[$5],delete i[e3])),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 kb(o){return o.tag===5||o.tag===3||o.tag===4}function Rb(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||kb(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 Uh(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=Of));else if(d!==4&&(o=o.child,o!==null))for(Uh(o,i,c),o=o.sibling;o!==null;)Uh(o,i,c),o=o.sibling}function Qh(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(Qh(o,i,c),o=o.sibling;o!==null;)Qh(o,i,c),o=o.sibling}var Gn=null,wo=!1;function Qs(o,i,c){for(c=c.child;c!==null;)Eb(o,i,c),c=c.sibling}function Eb(o,i,c){if(Ln&&typeof Ln.onCommitFiberUnmount=="function")try{Ln.onCommitFiberUnmount(ir,c)}catch{}switch(c.tag){case 5:tr||Ba(c,i);case 6:var d=Gn,g=wo;Gn=null,Qs(o,i,c),Gn=d,wo=g,Gn!==null&&(wo?(o=Gn,c=c.stateNode,o.nodeType===8?o.parentNode.removeChild(c):o.removeChild(c)):Gn.removeChild(c.stateNode));break;case 18:Gn!==null&&(wo?(o=Gn,c=c.stateNode,o.nodeType===8?ch(o.parentNode,c):o.nodeType===1&&ch(o,c),tc(o)):ch(Gn,c.stateNode));break;case 4:d=Gn,g=wo,Gn=c.stateNode.containerInfo,wo=!0,Qs(o,i,c),Gn=d,wo=g;break;case 0:case 11:case 14:case 15:if(!tr&&(d=c.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){g=d=d.next;do{var b=g,T=b.destroy;b=b.tag,T!==void 0&&(b&2||b&4)&&Zh(c,i,T),g=g.next}while(g!==d)}Qs(o,i,c);break;case 1:if(!tr&&(Ba(c,i),d=c.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(V){Pn(c,i,V)}Qs(o,i,c);break;case 21:Qs(o,i,c);break;case 22:c.mode&1?(tr=(d=tr)||c.memoizedState!==null,Qs(o,i,c),tr=d):Qs(o,i,c);break;default:Qs(o,i,c)}}function Mb(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var c=o.stateNode;c===null&&(c=o.stateNode=new m3),i.forEach(function(d){var g=S3.bind(null,o,d);c.has(d)||(c.add(d),d.then(g,g))})}}function Ho(o,i){var c=i.deletions;if(c!==null)for(var d=0;dg&&(g=T),d&=~b}if(d=g,d=en()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*A3(d/1960))-d,10o?16:o,_s===null)var d=!1;else{if(o=_s,_s=null,nd=0,Vt&6)throw Error(n(331));var g=Vt;for(Vt|=4,et=o.current;et!==null;){var b=et,T=b.child;if(et.flags&16){var V=b.deletions;if(V!==null){for(var q=0;qen()-$h?Bi(o,0):_h|=c),Pr(o,i)}function Gb(o,i){i===0&&(o.mode&1?(i=df,df<<=1,!(df&130023424)&&(df=4194304)):i=1);var c=lr();o=ms(o,i),o!==null&&(Ql(o,i,c),Pr(o,c))}function j3(o){var i=o.memoizedState,c=0;i!==null&&(c=i.retryLane),Gb(o,c)}function S3(o,i){var c=0;switch(o.tag){case 13:var d=o.stateNode,g=o.memoizedState;g!==null&&(c=g.retryLane);break;case 19:d=o.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),Gb(o,c)}var Ub;Ub=function(o,i,c){if(o!==null)if(o.memoizedProps!==i.pendingProps||mr.current)yr=!0;else{if(!(o.lanes&c)&&!(i.flags&128))return yr=!1,p3(o,i,c);yr=!!(o.flags&131072)}else yr=!1,un&&i.flags&1048576&&zP(i,Ef,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;Uf(o,i),o=i.pendingProps;var g=Da(i,_n.current);Ma(i,c),g=kh(null,i,d,o,g,c);var b=Rh();return i.flags|=1,typeof g=="object"&&g!==null&&typeof g.render=="function"&&g.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,gr(d)?(b=!0,Tf(i)):b=!1,i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,wh(i),g.updater=Vf,i.stateNode=g,g._reactInternals=i,jh(i,d,o,c),i=Ih(null,i,d,!0,b,c)):(i.tag=0,un&&b&&ph(i),ar(null,i,g,c),i=i.child),i;case 16:d=i.elementType;e:{switch(Uf(o,i),o=i.pendingProps,g=d._init,d=g(d._payload),i.type=d,g=i.tag=O3(d),o=xo(d,o),g){case 0:i=Vh(null,i,d,o,c);break e;case 1:i=bb(null,i,d,o,c);break e;case 11:i=mb(null,i,d,o,c);break e;case 14:i=gb(null,i,d,xo(d.type,o),c);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:xo(d,g),Vh(o,i,d,g,c);case 1:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:xo(d,g),bb(o,i,d,g,c);case 3:e:{if(xb(i),o===null)throw Error(n(387));d=i.pendingProps,b=i.memoizedState,g=b.element,RP(o,i),Bf(i,d,null,c);var T=i.memoizedState;if(d=T.element,b.isDehydrated)if(b={element:d,isDehydrated:!1,cache:T.cache,pendingSuspenseBoundaries:T.pendingSuspenseBoundaries,transitions:T.transitions},i.updateQueue.baseState=b,i.memoizedState=b,i.flags&256){g=Na(Error(n(423)),i),i=wb(o,i,d,c,g);break e}else if(d!==g){g=Na(Error(n(424)),i),i=wb(o,i,d,c,g);break e}else for(Nr=Fs(i.stateNode.containerInfo.firstChild),Xr=i,un=!0,bo=null,c=WP(i,null,d,c),i.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Ra(),d===g){i=ys(o,i,c);break e}ar(o,i,d,c)}i=i.child}return i;case 5:return JP(i),o===null&&mh(i),d=i.type,g=i.pendingProps,b=o!==null?o.memoizedProps:null,T=g.children,ah(d,g)?T=null:b!==null&&ah(d,b)&&(i.flags|=32),Pb(o,i),ar(o,i,T,c),i.child;case 6:return o===null&&mh(i),null;case 13:return Hb(o,i,c);case 4:return Sh(i,i.stateNode.containerInfo),d=i.pendingProps,o===null?i.child=La(i,null,d,c):ar(o,i,d,c),i.child;case 11:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:xo(d,g),mb(o,i,d,g,c);case 7:return ar(o,i,i.pendingProps,c),i.child;case 8:return ar(o,i,i.pendingProps.children,c),i.child;case 12:return ar(o,i,i.pendingProps.children,c),i.child;case 10:e:{if(d=i.type._context,g=i.pendingProps,b=i.memoizedProps,T=g.value,tn(Lf,d._currentValue),d._currentValue=T,b!==null)if(Po(b.value,T)){if(b.children===g.children&&!mr.current){i=ys(o,i,c);break e}}else for(b=i.child,b!==null&&(b.return=i);b!==null;){var V=b.dependencies;if(V!==null){T=b.child;for(var q=V.firstContext;q!==null;){if(q.context===d){if(b.tag===1){q=gs(-1,c&-c),q.tag=2;var fe=b.updateQueue;if(fe!==null){fe=fe.shared;var ze=fe.pending;ze===null?q.next=q:(q.next=ze.next,ze.next=q),fe.pending=q}}b.lanes|=c,q=b.alternate,q!==null&&(q.lanes|=c),bh(b.return,c,i),V.lanes|=c;break}q=q.next}}else if(b.tag===10)T=b.type===i.type?null:b.child;else if(b.tag===18){if(T=b.return,T===null)throw Error(n(341));T.lanes|=c,V=T.alternate,V!==null&&(V.lanes|=c),bh(T,c,i),T=b.sibling}else T=b.child;if(T!==null)T.return=b;else for(T=b;T!==null;){if(T===i){T=null;break}if(b=T.sibling,b!==null){b.return=T.return,T=b;break}T=T.return}b=T}ar(o,i,g.children,c),i=i.child}return i;case 9:return g=i.type,d=i.pendingProps.children,Ma(i,c),g=_r(g),d=d(g),i.flags|=1,ar(o,i,d,c),i.child;case 14:return d=i.type,g=xo(d,i.pendingProps),g=xo(d.type,g),gb(o,i,d,g,c);case 15:return yb(o,i,i.type,i.pendingProps,c);case 17:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:xo(d,g),Uf(o,i),i.tag=1,gr(d)?(o=!0,Tf(i)):o=!1,Ma(i,c),NP(i,d,g),jh(i,d,g,c),Ih(null,i,d,!0,o,c);case 19:return Sb(o,i,c);case 22:return Ab(o,i,c)}throw Error(n(156,i.tag))};function Qb(o,i){return Xt(o,i)}function z3(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 to(o,i,c,d){return new z3(o,i,c,d)}function am(o){return o=o.prototype,!(!o||!o.isReactComponent)}function O3(o){if(typeof o=="function")return am(o)?1:0;if(o!=null){if(o=o.$$typeof,o===I)return 11;if(o===J)return 14}return 2}function ti(o,i){var c=o.alternate;return c===null?(c=to(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 id(o,i,c,d,g,b){var T=2;if(d=o,typeof o=="function")am(o)&&(T=1);else if(typeof o=="string")T=5;else e:switch(o){case R:return Ii(c.children,g,b,i);case M:T=8,g|=8;break;case L:return o=to(12,c,i,g|2),o.elementType=L,o.lanes=b,o;case W:return o=to(13,c,i,g),o.elementType=W,o.lanes=b,o;case _:return o=to(19,c,i,g),o.elementType=_,o.lanes=b,o;case ne:return ad(c,g,b,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case j:T=10;break e;case B:T=9;break e;case I:T=11;break e;case J:T=14;break e;case ee:T=16,d=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=to(T,c,i,g),i.elementType=o,i.type=d,i.lanes=b,i}function Ii(o,i,c,d){return o=to(7,o,d,i),o.lanes=c,o}function ad(o,i,c,d){return o=to(22,o,d,i),o.elementType=ne,o.lanes=c,o.stateNode={isHidden:!1},o}function lm(o,i,c){return o=to(6,o,null,i),o.lanes=c,o}function cm(o,i,c){return i=to(4,o.children!==null?o.children:[],o.key,i),i.lanes=c,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function C3(o,i,c,d,g){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=Lv(0),this.expirationTimes=Lv(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lv(0),this.identifierPrefix=d,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function um(o,i,c,d,g,b,T,V,q){return o=new C3(o,i,c,V,q),i===1?(i=1,b===!0&&(i|=8)):i=0,b=to(3,null,null,i),o.current=b,b.stateNode=o,b.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},wh(b),o}function D3(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(),Hm.exports=TS(),Hm.exports}var v1=p1();const _c=Cp(v1),Y8={disabled:!1},ap=Ue.createContext(null);var kS=function(t){return t.scrollTop},$c="unmounted",Fi="exited",Yi="entering",el="entered",cg="exiting",Xo=function(e){d1(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=Fi,a.appearStatus=Yi):f=el:r.unmountOnExit||r.mountOnEnter?f=$c:f=Fi,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(s,a){var l=s.in;return l&&a.status===$c?{status:Fi}: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!==Yi&&l!==el&&(a=Yi):(l===Yi||l===el)&&(a=cg)}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===Yi){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:_c.findDOMNode(this);l&&kS(l)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Fi&&this.setState({status:$c})},n.performEnter=function(s){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:s,f=this.props.nodeRef?[u]:[_c.findDOMNode(this),u],p=f[0],h=f[1],m=this.getTimeouts(),P=u?m.appear:m.enter;if(!s&&!l||Y8.disabled){this.safeSetState({status:el},function(){a.props.onEntered(p)});return}this.props.onEnter(p,h),this.safeSetState({status:Yi},function(){a.props.onEntering(p,h),a.onTransitionEnd(P,function(){a.safeSetState({status:el},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:_c.findDOMNode(this);if(!a||Y8.disabled){this.safeSetState({status:Fi},function(){s.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:cg},function(){s.props.onExiting(u),s.onTransitionEnd(l.exit,function(){s.safeSetState({status:Fi},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:_c.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===$c)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=f1(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ue.createElement(ap.Provider,{value:null},typeof l=="function"?l(s,u):Ue.cloneElement(Ue.Children.only(l),u))},t}(Ue.Component);Xo.contextType=ap;Xo.propTypes={};function Ga(){}Xo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ga,onEntering:Ga,onEntered:Ga,onExit:Ga,onExiting:Ga,onExited:Ga};Xo.UNMOUNTED=$c;Xo.EXITED=Fi;Xo.ENTERING=Yi;Xo.ENTERED=el;Xo.EXITING=cg;function RS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jy(e,t){var n=function(a){return t&&y.isValidElement(a)?t(a):a},r=Object.create(null);return e&&y.Children.map(e,function(s){return s}).forEach(function(s){r[s.key]=n(s)}),r}function ES(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 BS(e){return Ze("MuiPaper",e)}Ge("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 VS=e=>{const{square:t,elevation:n,variant:r,classes:s}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Ke(a,BS,s)},IS=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}`]]}})(Qe(({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)"}}]}))),Zr=y.forwardRef(function(t,n){var w;const r=$e({props:t,name:"MuiPaper"}),s=Ur(),{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},P=VS(m);return v.jsx(IS,{as:l,ownerState:m,className:Oe(P.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(${At("#fff",ag(u))}, ${At("#fff",ag(u))})`}},...h.style}})});function hn(e,t){const{className:n,elementType:r,ownerState:s,externalForwardedProps:a,internalForwardedProps:l,...u}=t,{component:f,slots:p={[e]:void 0},slotProps:h={[e]:void 0},...m}=a,P=p[e]||r,w=_0(h[e],s),{props:{component:A,...x},internalRef:H}=K0({className:n,...u,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:w}),S=nn(H,w==null?void 0:w.ref,t.ref),z=e==="root"?A||f:A,O=Q0(P,{...e==="root"&&!f&&!p[e]&&l,...e!=="root"&&!p[e]&&l,...x,...z&&{as:z},ref:S},s);return[P,O]}class lp{constructor(){Oc(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 lp}static use(){const t=G0(lp.create).current,[n,r]=y.useState(!1);return t.shouldMount=n,t.setShouldMount=r,y.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=JS(),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 WS(){return lp.use()}function JS(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});return n.resolve=e,n.reject=t,n}function FS(e){const{className:t,classes:n,pulsate:r=!1,rippleX:s,rippleY:a,rippleSize:l,in:u,onExited:f,timeout:p}=e,[h,m]=y.useState(!1),P=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),y.useEffect(()=>{if(!u&&f!=null){const x=setTimeout(f,p);return()=>{clearTimeout(x)}}},[f,u,p]),v.jsx("span",{className:P,style:w,children:v.jsx("span",{className:A})})}const so=Ge("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ug=550,YS=80,qS=Iu` 0% { transform: scale(0); opacity: 0.1; @@ -119,7 +119,7 @@ Error generating stack: `+b.message+` opacity: 0; position: absolute; - &.${io.rippleVisible} { + &.${so.rippleVisible} { opacity: 0.3; transform: scale(1); animation-name: ${qS}; @@ -127,11 +127,11 @@ Error generating stack: `+b.message+` animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } - &.${io.ripplePulsate} { + &.${so.ripplePulsate} { animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; } - & .${io.child} { + & .${so.child} { opacity: 1; display: block; width: 100%; @@ -140,14 +140,14 @@ Error generating stack: `+b.message+` background-color: currentColor; } - & .${io.childLeaving} { + & .${so.childLeaving} { opacity: 0; animation-name: ${ZS}; animation-duration: ${ug}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } - & .${io.childPulsate} { + & .${so.childPulsate} { position: absolute; /* @noflip */ left: 0px; @@ -158,8 +158,8 @@ Error generating stack: `+b.message+` animation-iteration-count: infinite; animation-delay: 200ms; } -`,KS=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:l,...u}=r,[f,p]=y.useState([]),h=y.useRef(0),m=y.useRef(null);y.useEffect(()=>{m.current&&(m.current(),m.current=null)},[f]);const P=y.useRef(!1),w=Zi(),A=y.useRef(null),x=y.useRef(null),H=y.useCallback(C=>{const{pulsate:D,rippleX:k,rippleY:R,rippleSize:M,cb:L}=C;p(j=>[...j,v.jsx(QS,{classes:{ripple:Oe(a.ripple,io.ripple),rippleVisible:Oe(a.rippleVisible,io.rippleVisible),ripplePulsate:Oe(a.ripplePulsate,io.ripplePulsate),child:Oe(a.child,io.child),childLeaving:Oe(a.childLeaving,io.childLeaving),childPulsate:Oe(a.childPulsate,io.childPulsate)},timeout:ug,pulsate:D,rippleX:k,rippleY:R,rippleSize:M},h.current)]),h.current+=1,m.current=L},[a]),S=y.useCallback((C={},D={},k=()=>{})=>{const{pulsate:R=!1,center:M=s||D.pulsate,fakeElement:L=!1}=D;if((C==null?void 0:C.type)==="mousedown"&&P.current){P.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(P.current=!0);const j=L?null:x.current,B=j?j.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,J,K;if(M||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)I=Math.round(B.width/2),J=Math.round(B.height/2);else{const{clientX:W,clientY:ne}=C.touches&&C.touches.length>0?C.touches[0]:C;I=Math.round(W-B.left),J=Math.round(ne-B.top)}if(M)K=Math.sqrt((2*B.width**2+B.height**2)/3),K%2===0&&(K+=1);else{const W=Math.max(Math.abs((j?j.clientWidth:0)-I),I)*2+2,ne=Math.max(Math.abs((j?j.clientHeight:0)-J),J)*2+2;K=Math.sqrt(W**2+ne**2)}C!=null&&C.touches?A.current===null&&(A.current=()=>{H({pulsate:R,rippleX:I,rippleY:J,rippleSize:K,cb:k})},w.start(YS,()=>{A.current&&(A.current(),A.current=null)})):H({pulsate:R,rippleX:I,rippleY:J,rippleSize:K,cb:k})},[s,H,w]),z=y.useCallback(()=>{S({},{pulsate:!0})},[S]),O=y.useCallback((C,D)=>{if(w.clear(),(C==null?void 0:C.type)==="touchend"&&A.current){A.current(),A.current=null,w.start(0,()=>{O(C,D)});return}A.current=null,p(k=>k.length>0?k.slice(1):k),m.current=D},[w]);return y.useImperativeHandle(n,()=>({pulsate:z,start:S,stop:O}),[z,S,O]),v.jsx(US,{className:Oe(io.root,a.root,l),ref:x,...u,children:v.jsx(Sy,{component:null,exit:!0,children:f})})});function _S(e){return Ze("MuiButtonBase",e)}const $S=Ge("MuiButtonBase",["root","disabled","focusVisible"]),ez=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:s}=e,l=Ke({root:["root",t&&"disabled",n&&"focusVisible"]},_S,s);return n&&r&&(l.root+=` ${r}`),l},tz=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"},[`&.${$S.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ua=y.forwardRef(function(t,n){const r=$e({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:P=!1,focusVisibleClassName:w,LinkComponent:A="a",onBlur:x,onClick:H,onContextMenu:S,onDragLeave:z,onFocus:O,onFocusVisible:C,onKeyDown:D,onKeyUp:k,onMouseDown:R,onMouseLeave:M,onMouseUp:L,onTouchEnd:j,onTouchMove:B,onTouchStart:I,tabIndex:J=0,TouchRippleProps:K,touchRippleRef:W,type:ne,...re}=r,F=y.useRef(null),_=WS(),E=nn(_.ref,W),[G,X]=y.useState(!1);p&&G&&X(!1),y.useImperativeHandle(s,()=>({focusVisible:()=>{X(!0),F.current.focus()}}),[]);const ee=_.shouldMount&&!h&&!p;y.useEffect(()=>{G&&P&&!h&&_.pulsate()},[h,P,G,_]);const te=bs(_,"start",R,m),ue=bs(_,"stop",S,m),de=bs(_,"stop",z,m),xe=bs(_,"stop",L,m),ve=bs(_,"stop",ce=>{G&&ce.preventDefault(),M&&M(ce)},m),be=bs(_,"start",I,m),Xe=bs(_,"stop",j,m),Ie=bs(_,"stop",B,m),He=bs(_,"stop",ce=>{zl(ce.target)||X(!1),x&&x(ce)},!1),_e=hr(ce=>{F.current||(F.current=ce.currentTarget),zl(ce.target)&&(X(!0),C&&C(ce)),O&&O(ce)}),we=()=>{const ce=F.current;return f&&f!=="button"&&!(ce.tagName==="A"&&ce.href)},tt=hr(ce=>{P&&!ce.repeat&&G&&ce.key===" "&&_.stop(ce,()=>{_.start(ce)}),ce.target===ce.currentTarget&&we()&&ce.key===" "&&ce.preventDefault(),D&&D(ce),ce.target===ce.currentTarget&&we()&&ce.key==="Enter"&&!p&&(ce.preventDefault(),H&&H(ce))}),Le=hr(ce=>{P&&ce.key===" "&&G&&!ce.defaultPrevented&&_.stop(ce,()=>{_.pulsate(ce)}),k&&k(ce),H&&ce.target===ce.currentTarget&&we()&&ce.key===" "&&!ce.defaultPrevented&&H(ce)});let dt=f;dt==="button"&&(re.href||re.to)&&(dt=A);const N={};dt==="button"?(N.type=ne===void 0?"button":ne,N.disabled=p):(!re.href&&!re.to&&(N.role="button"),p&&(N["aria-disabled"]=p));const $=nn(n,F),se={...r,centerRipple:a,component:f,disabled:p,disableRipple:h,disableTouchRipple:m,focusRipple:P,tabIndex:J,focusVisible:G},ye=ez(se);return v.jsxs(tz,{as:dt,className:Oe(ye.root,u),ownerState:se,onBlur:He,onClick:H,onContextMenu:ue,onFocus:_e,onKeyDown:tt,onKeyUp:Le,onMouseDown:te,onMouseLeave:ve,onMouseUp:xe,onDragLeave:de,onTouchEnd:Xe,onTouchMove:Ie,onTouchStart:be,ref:$,tabIndex:p?-1:J,type:ne,...N,...re,children:[l,ee?v.jsx(KS,{ref:E,center:a,...K}):null]})});function bs(e,t,n,r=!1){return hr(s=>(n&&n(s),r||e[t](s),!0))}function nz(e){return typeof e.main=="string"}function rz(e,t=[]){if(!nz(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&&rz(t,e)}function oz(e){return Ze("MuiAlert",e)}const q8=Ge("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 sz(e){return Ze("MuiIconButton",e)}const iz=Ge("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),az=e=>{const{classes:t,disabled:n,color:r,edge:s,size:a}=e,l={root:["root",n&&"disabled",r!=="default"&&`color${me(r)}`,s&&`edge${me(s)}`,`size${me(a)}`]};return Ke(l,sz,t)},lz=pe(ua,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${me(n.color)}`],n.edge&&t[`edge${me(n.edge)}`],t[`size${me(n.size)}`]]}})(Qe(({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})`:Pt(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}}]})),Qe(({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})`:Pt((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)}}],[`&.${iz.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),Sr=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiIconButton"}),{edge:s=!1,children:a,className:l,color:u="default",disabled:f=!1,disableFocusRipple:p=!1,size:h="medium",...m}=r,P={...r,edge:s,color:u,disabled:f,disableFocusRipple:p,size:h},w=az(P);return v.jsx(lz,{className:Oe(w.root,l),centerRipple:!0,focusRipple:!p,disabled:f,ref:n,...m,ownerState:P,children:a})}),cz=At(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"),uz=At(v.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),fz=At(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"),dz=At(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"),h1=At(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"),pz=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 Ke(a,oz,s)},vz=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)}`]]}})(Qe(({theme:e})=>{const t=e.palette.mode==="light"?la:ca,n=e.palette.mode==="light"?ca:la;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),[`& .${q8.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}`,[`& .${q8.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)}}}))]}})),hz=pe("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),mz=pe("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Z8=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}),G8={success:v.jsx(cz,{fontSize:"inherit"}),warning:v.jsx(uz,{fontSize:"inherit"}),error:v.jsx(fz,{fontSize:"inherit"}),info:v.jsx(dz,{fontSize:"inherit"})},Oy=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiAlert"}),{action:s,children:a,className:l,closeText:u="Close",color:f,components:p={},componentsProps:h={},icon:m,iconMapping:P=G8,onClose:w,role:A="alert",severity:x="success",slotProps:H={},slots:S={},variant:z="standard",...O}=r,C={...r,color:f,severity:x,variant:z,colorSeverity:f||x},D=pz(C),k={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...S},slotProps:{...h,...H}},[R,M]=mn("closeButton",{elementType:Sr,externalForwardedProps:k,ownerState:C}),[L,j]=mn("closeIcon",{elementType:h1,externalForwardedProps:k,ownerState:C});return v.jsxs(vz,{role:A,elevation:0,ownerState:C,className:Oe(D.root,l),ref:n,...O,children:[m!==!1?v.jsx(hz,{ownerState:C,className:D.icon,children:m||P[x]||G8[x]}):null,v.jsx(mz,{ownerState:C,className:D.message,children:a}),s!=null?v.jsx(Z8,{ownerState:C,className:D.action,children:s}):null,s==null&&w?v.jsx(Z8,{ownerState:C,className:D.action,children:v.jsx(R,{size:"small","aria-label":u,title:u,color:"inherit",onClick:w,...M,children:v.jsx(L,{fontSize:"small",...j})})}):null]})});function gz(e){return Ze("MuiTypography",e)}const U8=Ge("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),yz={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Az=jS(),Pz=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 Ke(u,gz,l)},bz=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]}})(Qe(({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}}]}})),Q8={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},xt=y.forwardRef(function(t,n){const{color:r,...s}=$e({props:t,name:"MuiTypography"}),a=!yz[r],l=Az({...s,...a&&{color:r}}),{align:u="inherit",className:f,component:p,gutterBottom:h=!1,noWrap:m=!1,paragraph:P=!1,variant:w="body1",variantMapping:A=Q8,...x}=l,H={...l,align:u,color:r,className:f,component:p,gutterBottom:h,noWrap:m,paragraph:P,variant:w,variantMapping:A},S=p||(P?"p":A[w]||Q8[w])||"span",z=Pz(H);return v.jsx(bz,{as:S,ref:n,className:Oe(z.root,f),...x,ownerState:H,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...x.style}})});function xz(e){return Ze("MuiAppBar",e)}Ge("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const wz=e=>{const{color:t,position:n,classes:r}=e,s={root:["root",`color${me(t)}`,`position${me(n)}`]};return Ke(s,xz,r)},K8=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,Hz=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)}`]]}})(Qe(({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?K8(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?K8(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"})}}]}))),jz=y.forwardRef(function(t,n){const r=$e({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=wz(p);return v.jsx(Hz,{square:!0,component:"header",ownerState:p,elevation:4,className:Oe(h.root,s,u==="fixed"&&"mui-fixed"),ref:n,...f})});function _8(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Sz(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=_8(h));const m=h?u.filter(P=>{let w=(a||p)(P);return n&&(w=w.toLowerCase()),t&&(w=_8(w)),s==="start"?w.startsWith(h):w.includes(h)}):u;return typeof r=="number"?m.slice(0,r):m}}const zz=Sz(),$8=5,Oz=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},Cz=[];function Dz(e){const{unstable_isActiveElementInListbox:t=Oz,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?Cz:null,disableClearable:m=!1,disableCloseOnSelect:P=!1,disabled:w,disabledItemsFocusable:A=!1,disableListWrap:x=!1,filterOptions:H=zz,filterSelectedOptions:S=!1,freeSolo:z=!1,getOptionDisabled:O,getOptionKey:C,getOptionLabel:D=oe=>oe.label??oe,groupBy:k,handleHomeEndKeys:R=!e.freeSolo,id:M,includeInputInList:L=!1,inputValue:j,isOptionEqualToValue:B=(oe,le)=>oe===le,multiple:I=!1,onChange:J,onClose:K,onHighlightChange:W,onInputChange:ne,onOpen:re,open:F,openOnFocus:_=!1,options:E,readOnly:G=!1,selectOnFocus:X=!e.freeSolo,value:ee}=e,te=ks(M);let ue=D;ue=oe=>{const le=D(oe);return typeof le!="string"?String(le):le};const de=y.useRef(!1),xe=y.useRef(!0),ve=y.useRef(null),be=y.useRef(null),[Xe,Ie]=y.useState(null),[He,_e]=y.useState(-1),we=s?0:-1,tt=y.useRef(we),[Le,dt]=gi({controlled:ee,default:h,name:p}),[N,$]=gi({controlled:j,default:"",name:p,state:"inputValue"}),[se,ye]=y.useState(!1),ce=y.useCallback((oe,le,Ee)=>{if(!(I?Le.length!(S&&(I?Le:[Le]).some(le=>le!==null&&B(oe,le)))),{inputValue:nt&&st?"":N,getOptionLabel:ue}):[],Ht=gj({filteredOptions:ct,value:Le,inputValue:N});y.useEffect(()=>{const oe=Le!==Ht.value;se&&!oe||z&&!oe||ce(null,Le,"reset")},[Le,ce,se,Ht.value,z]);const We=Ae&&ct.length>0&&!G,Dt=hr(oe=>{oe===-1?ve.current.focus():Xe.querySelector(`[data-tag-index="${oe}"]`).focus()});y.useEffect(()=>{I&&He>Le.length-1&&(_e(-1),Dt(-1))},[Le,I,He,Dt]);function Jt(oe,le){if(!be.current||oe<0||oe>=ct.length)return-1;let Ee=oe;for(;;){const ot=be.current.querySelector(`[data-option-index="${Ee}"]`),lt=A?!1:!ot||ot.disabled||ot.getAttribute("aria-disabled")==="true";if(ot&&ot.hasAttribute("tabindex")&&!lt)return Ee;if(le==="next"?Ee=(Ee+1)%ct.length:Ee=(Ee-1+ct.length)%ct.length,Ee===oe)return-1}}const Be=hr(({event:oe,index:le,reason:Ee="auto"})=>{if(tt.current=le,le===-1?ve.current.removeAttribute("aria-activedescendant"):ve.current.setAttribute("aria-activedescendant",`${te}-option-${le}`),W&&W(oe,le===-1?null:ct[le],Ee),!be.current)return;const ot=be.current.querySelector(`[role="option"].${n}-focused`);ot&&(ot.classList.remove(`${n}-focused`),ot.classList.remove(`${n}-focusVisible`));let lt=be.current;if(be.current.getAttribute("role")!=="listbox"&&(lt=be.current.parentElement.querySelector('[role="listbox"]')),!lt)return;if(le===-1){lt.scrollTop=0;return}const It=be.current.querySelector(`[data-option-index="${le}"]`);if(It&&(It.classList.add(`${n}-focused`),Ee==="keyboard"&&It.classList.add(`${n}-focusVisible`),lt.scrollHeight>lt.clientHeight&&Ee!=="mouse"&&Ee!=="touch")){const Nt=It,Mn=lt.clientHeight+lt.scrollTop,yo=Nt.offsetTop+Nt.offsetHeight;yo>Mn?lt.scrollTop=yo-lt.clientHeight:Nt.offsetTop-Nt.offsetHeight*(k?1.3:0){if(!ft)return;const It=Jt((()=>{const Nt=ct.length-1;if(le==="reset")return we;if(le==="start")return 0;if(le==="end")return Nt;const Mn=tt.current+le;return Mn<0?Mn===-1&&L?-1:x&&tt.current!==-1||Math.abs(le)>1?0:Nt:Mn>Nt?Mn===Nt+1&&L?-1:x||Math.abs(le)>1?Nt:0:Mn})(),Ee);if(Be({index:It,reason:ot,event:oe}),r&&le!=="reset")if(It===-1)ve.current.value=N;else{const Nt=ue(ct[It]);ve.current.value=Nt,Nt.toLowerCase().indexOf(N.toLowerCase())===0&&N.length>0&&ve.current.setSelectionRange(N.length,Nt.length)}}),Y=()=>{const oe=(le,Ee)=>{const ot=le?ue(le):"",lt=Ee?ue(Ee):"";return ot===lt};if(tt.current!==-1&&Ht.filteredOptions&&Ht.filteredOptions.length!==ct.length&&Ht.inputValue===N&&(I?Le.length===Ht.value.length&&Ht.value.every((le,Ee)=>ue(Le[Ee])===ue(le)):oe(Ht.value,Le))){const le=Ht.filteredOptions[tt.current];if(le)return ct.findIndex(Ee=>ue(Ee)===ue(le))}return-1},Pe=y.useCallback(()=>{if(!ft)return;const oe=Y();if(oe!==-1){tt.current=oe;return}const le=I?Le[0]:Le;if(ct.length===0||le==null){U({diff:"reset"});return}if(be.current){if(le!=null){const Ee=ct[tt.current];if(I&&Ee&&Le.findIndex(lt=>B(Ee,lt))!==-1)return;const ot=ct.findIndex(lt=>B(lt,le));ot===-1?U({diff:"reset"}):Be({index:ot});return}if(tt.current>=ct.length-1){Be({index:ct.length-1});return}Be({index:tt.current})}},[ct.length,I?!1:Le,S,U,Be,ft,N,I]),De=hr(oe=>{op(be,oe),oe&&Pe()});y.useEffect(()=>{Pe()},[Pe]);const Te=oe=>{Ae||(je(!0),wt(!0),re&&re(oe))},Ne=(oe,le)=>{Ae&&(je(!1),K&&K(oe,le))},Je=(oe,le,Ee,ot)=>{if(I){if(Le.length===le.length&&Le.every((lt,It)=>lt===le[It]))return}else if(Le===le)return;J&&J(oe,le,Ee,ot),dt(le)},ke=y.useRef(!1),rt=(oe,le,Ee="selectOption",ot="options")=>{let lt=Ee,It=le;if(I){It=Array.isArray(Le)?Le.slice():[];const Nt=It.findIndex(Mn=>B(le,Mn));Nt===-1?It.push(le):ot!=="freeSolo"&&(It.splice(Nt,1),lt="removeOption")}ce(oe,It,lt),Je(oe,It,lt,{option:le}),!P&&(!oe||!oe.ctrlKey&&!oe.metaKey)&&Ne(oe,lt),(l===!0||l==="touch"&&ke.current||l==="mouse"&&!ke.current)&&ve.current.blur()};function vt(oe,le){if(oe===-1)return-1;let Ee=oe;for(;;){if(le==="next"&&Ee===Le.length||le==="previous"&&Ee===-1)return-1;const ot=Xe.querySelector(`[data-tag-index="${Ee}"]`);if(!ot||!ot.hasAttribute("tabindex")||ot.disabled||ot.getAttribute("aria-disabled")==="true")Ee+=le==="next"?1:-1;else return Ee}}const kt=(oe,le)=>{if(!I)return;N===""&&Ne(oe,"toggleInput");let Ee=He;He===-1?N===""&&le==="previous"&&(Ee=Le.length-1):(Ee+=le==="next"?1:-1,Ee<0&&(Ee=0),Ee===Le.length&&(Ee=-1)),Ee=vt(Ee,le),_e(Ee),Dt(Ee)},Ut=oe=>{de.current=!0,$(""),ne&&ne(oe,"","clear"),Je(oe,I?[]:null,"clear")},Fe=oe=>le=>{if(oe.onKeyDown&&oe.onKeyDown(le),!le.defaultMuiPrevented&&(He!==-1&&!["ArrowLeft","ArrowRight"].includes(le.key)&&(_e(-1),Dt(-1)),le.which!==229))switch(le.key){case"Home":ft&&R&&(le.preventDefault(),U({diff:"start",direction:"next",reason:"keyboard",event:le}));break;case"End":ft&&R&&(le.preventDefault(),U({diff:"end",direction:"previous",reason:"keyboard",event:le}));break;case"PageUp":le.preventDefault(),U({diff:-$8,direction:"previous",reason:"keyboard",event:le}),Te(le);break;case"PageDown":le.preventDefault(),U({diff:$8,direction:"next",reason:"keyboard",event:le}),Te(le);break;case"ArrowDown":le.preventDefault(),U({diff:1,direction:"next",reason:"keyboard",event:le}),Te(le);break;case"ArrowUp":le.preventDefault(),U({diff:-1,direction:"previous",reason:"keyboard",event:le}),Te(le);break;case"ArrowLeft":kt(le,"previous");break;case"ArrowRight":kt(le,"next");break;case"Enter":if(tt.current!==-1&&ft){const Ee=ct[tt.current],ot=O?O(Ee):!1;if(le.preventDefault(),ot)return;rt(le,Ee,"selectOption"),r&&ve.current.setSelectionRange(ve.current.value.length,ve.current.value.length)}else z&&N!==""&&nt===!1&&(I&&le.preventDefault(),rt(le,N,"createOption","freeSolo"));break;case"Escape":ft?(le.preventDefault(),le.stopPropagation(),Ne(le,"escape")):f&&(N!==""||I&&Le.length>0)&&(le.preventDefault(),le.stopPropagation(),Ut(le));break;case"Backspace":if(I&&!G&&N===""&&Le.length>0){const Ee=He===-1?Le.length-1:He,ot=Le.slice();ot.splice(Ee,1),Je(le,ot,"removeOption",{option:Le[Ee]})}break;case"Delete":if(I&&!G&&N===""&&Le.length>0&&He!==-1){const Ee=He,ot=Le.slice();ot.splice(Ee,1),Je(le,ot,"removeOption",{option:Le[Ee]})}break}},Rt=oe=>{ye(!0),_&&!de.current&&Te(oe)},cn=oe=>{if(t(be)){ve.current.focus();return}ye(!1),xe.current=!0,de.current=!1,a&&tt.current!==-1&&ft?rt(oe,ct[tt.current],"blur"):a&&z&&N!==""?rt(oe,N,"blur","freeSolo"):u&&ce(oe,Le,"blur"),Ne(oe,"blur")},zn=oe=>{const le=oe.target.value;N!==le&&($(le),wt(!1),ne&&ne(oe,le,"input")),le===""?!m&&!I&&Je(oe,null,"clear"):Te(oe)},Zn=oe=>{const le=Number(oe.currentTarget.getAttribute("data-option-index"));tt.current!==le&&Be({event:oe,index:le,reason:"mouse"})},An=oe=>{Be({event:oe,index:Number(oe.currentTarget.getAttribute("data-option-index")),reason:"touch"}),ke.current=!0},Er=oe=>{const le=Number(oe.currentTarget.getAttribute("data-option-index"));rt(oe,ct[le],"selectOption"),ke.current=!1},ho=oe=>le=>{const Ee=Le.slice();Ee.splice(oe,1),Je(le,Ee,"removeOption",{option:Le[oe]})},mo=oe=>{Ae?Ne(oe,"toggleInput"):Te(oe)},fs=oe=>{oe.currentTarget.contains(oe.target)&&oe.target.getAttribute("id")!==te&&oe.preventDefault()},go=oe=>{oe.currentTarget.contains(oe.target)&&(ve.current.focus(),X&&xe.current&&ve.current.selectionEnd-ve.current.selectionStart===0&&ve.current.select(),xe.current=!1)},Pn=oe=>{!w&&(N===""||!Ae)&&mo(oe)};let rn=z&&N.length>0;rn=rn||(I?Le.length>0:Le!==null);let Re=ct;return k&&(Re=ct.reduce((oe,le,Ee)=>{const ot=k(le);return oe.length>0&&oe[oe.length-1].group===ot?oe[oe.length-1].options.push(le):oe.push({key:Ee,index:Ee,group:ot,options:[le]}),oe},[])),w&&se&&cn(),{getRootProps:(oe={})=>({"aria-owns":We?`${te}-listbox`:null,...oe,onKeyDown:Fe(oe),onMouseDown:fs,onClick:go}),getInputLabelProps:()=>({id:`${te}-label`,htmlFor:te}),getInputProps:()=>({id:te,value:N,onBlur:cn,onFocus:Rt,onChange:zn,onMouseDown:Pn,"aria-activedescendant":ft?"":null,"aria-autocomplete":r?"both":"list","aria-controls":We?`${te}-listbox`:void 0,"aria-expanded":We,autoComplete:"off",ref:ve,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:w}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ut}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:mo}),getTagProps:({index:oe})=>({key:oe,"data-tag-index":oe,tabIndex:-1,...!G&&{onDelete:ho(oe)}}),getListboxProps:()=>({role:"listbox",id:`${te}-listbox`,"aria-labelledby":`${te}-label`,ref:De,onMouseDown:oe=>{oe.preventDefault()}}),getOptionProps:({index:oe,option:le})=>{const Ee=(I?Le:[Le]).some(lt=>lt!=null&&B(le,lt)),ot=O?O(le):!1;return{key:(C==null?void 0:C(le))??ue(le),tabIndex:-1,role:"option",id:`${te}-option-${oe}`,onMouseMove:Zn,onClick:Er,onTouchStart:An,"data-option-index":oe,"aria-disabled":ot,"aria-selected":Ee}},id:te,inputValue:N,value:Le,dirty:rn,expanded:ft&&Xe,popupOpen:ft,focused:se||He!==-1,anchorEl:Xe,setAnchorEl:Ie,focusedTag:He,groupedOptions:Re}}var zr="top",fo="bottom",po="right",Or="left",Cy="auto",qu=[zr,fo,po,Or],Cl="start",Hu="end",Tz="clippingParents",m1="viewport",kc="popper",kz="reference",ex=qu.reduce(function(e,t){return e.concat([t+"-"+Cl,t+"-"+Hu])},[]),g1=[].concat(qu,[Cy]).reduce(function(e,t){return e.concat([t,t+"-"+Cl,t+"-"+Hu])},[]),Rz="beforeRead",Ez="read",Mz="afterRead",Lz="beforeMain",Xz="main",Nz="afterMain",Bz="beforeWrite",Vz="write",Iz="afterWrite",Wz=[Rz,Ez,Mz,Lz,Xz,Nz,Bz,Vz,Iz];function ss(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 fa(e){var t=Ur(e).Element;return e instanceof t||e instanceof Element}function co(e){var t=Ur(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Dy(e){if(typeof ShadowRoot>"u")return!1;var t=Ur(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Jz(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];!co(a)||!ss(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 Fz(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},{});!co(s)||!ss(s)||(Object.assign(s.style,u),Object.keys(a).forEach(function(f){s.removeAttribute(f)}))})}}const Yz={name:"applyStyles",enabled:!0,phase:"write",fn:Jz,effect:Fz,requires:["computeStyles"]};function rs(e){return e.split("-")[0]}var sa=Math.max,cp=Math.min,Dl=Math.round;function fg(){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 y1(){return!/^((?!chrome|android).)*safari/i.test(fg())}function Tl(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,a=1;t&&co(e)&&(s=e.offsetWidth>0&&Dl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Dl(r.height)/e.offsetHeight||1);var l=fa(e)?Ur(e):window,u=l.visualViewport,f=!y1()&&n,p=(r.left+(f&&u?u.offsetLeft:0))/s,h=(r.top+(f&&u?u.offsetTop:0))/a,m=r.width/s,P=r.height/a;return{width:m,height:P,top:h,right:p+m,bottom:h+P,left:p,x:p,y:h}}function Ty(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 A1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Dy(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Rs(e){return Ur(e).getComputedStyle(e)}function qz(e){return["table","td","th"].indexOf(ss(e))>=0}function xi(e){return((fa(e)?e.ownerDocument:e.document)||window.document).documentElement}function Yp(e){return ss(e)==="html"?e:e.assignedSlot||e.parentNode||(Dy(e)?e.host:null)||xi(e)}function tx(e){return!co(e)||Rs(e).position==="fixed"?null:e.offsetParent}function Zz(e){var t=/firefox/i.test(fg()),n=/Trident/i.test(fg());if(n&&co(e)){var r=Rs(e);if(r.position==="fixed")return null}var s=Yp(e);for(Dy(s)&&(s=s.host);co(s)&&["html","body"].indexOf(ss(s))<0;){var a=Rs(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 Zu(e){for(var t=Ur(e),n=tx(e);n&&qz(n)&&Rs(n).position==="static";)n=tx(n);return n&&(ss(n)==="html"||ss(n)==="body"&&Rs(n).position==="static")?t:n||Zz(e)||t}function ky(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function cu(e,t,n){return sa(e,cp(t,n))}function Gz(e,t,n){var r=cu(e,t,n);return r>n?n:r}function P1(){return{top:0,right:0,bottom:0,left:0}}function b1(e){return Object.assign({},P1(),e)}function x1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Uz=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,b1(typeof t!="number"?t:x1(t,qu))};function Qz(e){var t,n=e.state,r=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=rs(n.placement),f=ky(u),p=[Or,po].indexOf(u)>=0,h=p?"height":"width";if(!(!a||!l)){var m=Uz(s.padding,n),P=Ty(a),w=f==="y"?zr:Or,A=f==="y"?fo:po,x=n.rects.reference[h]+n.rects.reference[f]-l[f]-n.rects.popper[h],H=l[f]-n.rects.reference[f],S=Zu(a),z=S?f==="y"?S.clientHeight||0:S.clientWidth||0:0,O=x/2-H/2,C=m[w],D=z-P[h]-m[A],k=z/2-P[h]/2+O,R=cu(C,k,D),M=f;n.modifiersData[r]=(t={},t[M]=R,t.centerOffset=R-k,t)}}function Kz(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)||A1(t.elements.popper,s)&&(t.elements.arrow=s))}const _z={name:"arrow",enabled:!0,phase:"main",fn:Qz,effect:Kz,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function kl(e){return e.split("-")[1]}var $z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function eO(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:Dl(n*s)/s||0,y:Dl(r*s)/s||0}}function nx(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,P=l.x,w=P===void 0?0:P,A=l.y,x=A===void 0?0:A,H=typeof h=="function"?h({x:w,y:x}):{x:w,y:x};w=H.x,x=H.y;var S=l.hasOwnProperty("x"),z=l.hasOwnProperty("y"),O=Or,C=zr,D=window;if(p){var k=Zu(n),R="clientHeight",M="clientWidth";if(k===Ur(n)&&(k=xi(n),Rs(k).position!=="static"&&u==="absolute"&&(R="scrollHeight",M="scrollWidth")),k=k,s===zr||(s===Or||s===po)&&a===Hu){C=fo;var L=m&&k===D&&D.visualViewport?D.visualViewport.height:k[R];x-=L-r.height,x*=f?1:-1}if(s===Or||(s===zr||s===fo)&&a===Hu){O=po;var j=m&&k===D&&D.visualViewport?D.visualViewport.width:k[M];w-=j-r.width,w*=f?1:-1}}var B=Object.assign({position:u},p&&$z),I=h===!0?eO({x:w,y:x},Ur(n)):{x:w,y:x};if(w=I.x,x=I.y,f){var J;return Object.assign({},B,(J={},J[C]=z?"0":"",J[O]=S?"0":"",J.transform=(D.devicePixelRatio||1)<=1?"translate("+w+"px, "+x+"px)":"translate3d("+w+"px, "+x+"px, 0)",J))}return Object.assign({},B,(t={},t[C]=z?x+"px":"",t[O]=S?w+"px":"",t.transform="",t))}function tO(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:rs(t.placement),variation:kl(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,nx(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,nx(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 nO={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:tO,data:{}};var Ad={passive:!0};function rO(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,Ad)}),u&&f.addEventListener("resize",n.update,Ad),function(){a&&p.forEach(function(h){h.removeEventListener("scroll",n.update,Ad)}),u&&f.removeEventListener("resize",n.update,Ad)}}const oO={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:rO,data:{}};var sO={left:"right",right:"left",bottom:"top",top:"bottom"};function Vd(e){return e.replace(/left|right|bottom|top/g,function(t){return sO[t]})}var iO={start:"end",end:"start"};function rx(e){return e.replace(/start|end/g,function(t){return iO[t]})}function Ry(e){var t=Ur(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ey(e){return Tl(xi(e)).left+Ry(e).scrollLeft}function aO(e,t){var n=Ur(e),r=xi(e),s=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,f=0;if(s){a=s.width,l=s.height;var p=y1();(p||!p&&t==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:a,height:l,x:u+Ey(e),y:f}}function lO(e){var t,n=xi(e),r=Ry(e),s=(t=e.ownerDocument)==null?void 0:t.body,a=sa(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=sa(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),u=-r.scrollLeft+Ey(e),f=-r.scrollTop;return Rs(s||n).direction==="rtl"&&(u+=sa(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:u,y:f}}function My(e){var t=Rs(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function w1(e){return["html","body","#document"].indexOf(ss(e))>=0?e.ownerDocument.body:co(e)&&My(e)?e:w1(Yp(e))}function uu(e,t){var n;t===void 0&&(t=[]);var r=w1(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),a=Ur(r),l=s?[a].concat(a.visualViewport||[],My(r)?r:[]):r,u=t.concat(l);return s?u:u.concat(uu(Yp(l)))}function dg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function cO(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 ox(e,t,n){return t===m1?dg(aO(e,n)):fa(t)?cO(t,n):dg(lO(xi(e)))}function uO(e){var t=uu(Yp(e)),n=["absolute","fixed"].indexOf(Rs(e).position)>=0,r=n&&co(e)?Zu(e):e;return fa(r)?t.filter(function(s){return fa(s)&&A1(s,r)&&ss(s)!=="body"}):[]}function fO(e,t,n,r){var s=t==="clippingParents"?uO(e):[].concat(t),a=[].concat(s,[n]),l=a[0],u=a.reduce(function(f,p){var h=ox(e,p,r);return f.top=sa(h.top,f.top),f.right=cp(h.right,f.right),f.bottom=cp(h.bottom,f.bottom),f.left=sa(h.left,f.left),f},ox(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 H1(e){var t=e.reference,n=e.element,r=e.placement,s=r?rs(r):null,a=r?kl(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(s){case zr:f={x:l,y:t.y-n.height};break;case fo:f={x:l,y:t.y+t.height};break;case po:f={x:t.x+t.width,y:u};break;case Or:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var p=s?ky(s):null;if(p!=null){var h=p==="y"?"height":"width";switch(a){case Cl:f[p]=f[p]-(t[h]/2-n[h]/2);break;case Hu:f[p]=f[p]+(t[h]/2-n[h]/2);break}}return f}function ju(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?Tz:u,p=n.rootBoundary,h=p===void 0?m1:p,m=n.elementContext,P=m===void 0?kc:m,w=n.altBoundary,A=w===void 0?!1:w,x=n.padding,H=x===void 0?0:x,S=b1(typeof H!="number"?H:x1(H,qu)),z=P===kc?kz:kc,O=e.rects.popper,C=e.elements[A?z:P],D=fO(fa(C)?C:C.contextElement||xi(e.elements.popper),f,h,l),k=Tl(e.elements.reference),R=H1({reference:k,element:O,strategy:"absolute",placement:s}),M=dg(Object.assign({},O,R)),L=P===kc?M:k,j={top:D.top-L.top+S.top,bottom:L.bottom-D.bottom+S.bottom,left:D.left-L.left+S.left,right:L.right-D.right+S.right},B=e.modifiersData.offset;if(P===kc&&B){var I=B[s];Object.keys(j).forEach(function(J){var K=[po,fo].indexOf(J)>=0?1:-1,W=[zr,fo].indexOf(J)>=0?"y":"x";j[J]+=I[W]*K})}return j}function dO(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?g1:f,h=kl(r),m=h?u?ex:ex.filter(function(A){return kl(A)===h}):qu,P=m.filter(function(A){return p.indexOf(A)>=0});P.length===0&&(P=m);var w=P.reduce(function(A,x){return A[x]=ju(e,{placement:x,boundary:s,rootBoundary:a,padding:l})[rs(x)],A},{});return Object.keys(w).sort(function(A,x){return w[A]-w[x]})}function pO(e){if(rs(e)===Cy)return[];var t=Vd(e);return[rx(e),t,rx(t)]}function vO(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,P=n.altBoundary,w=n.flipVariations,A=w===void 0?!0:w,x=n.allowedAutoPlacements,H=t.options.placement,S=rs(H),z=S===H,O=f||(z||!A?[Vd(H)]:pO(H)),C=[H].concat(O).reduce(function(te,ue){return te.concat(rs(ue)===Cy?dO(t,{placement:ue,boundary:h,rootBoundary:m,padding:p,flipVariations:A,allowedAutoPlacements:x}):ue)},[]),D=t.rects.reference,k=t.rects.popper,R=new Map,M=!0,L=C[0],j=0;j=0,W=K?"width":"height",ne=ju(t,{placement:B,boundary:h,rootBoundary:m,altBoundary:P,padding:p}),re=K?J?po:Or:J?fo:zr;D[W]>k[W]&&(re=Vd(re));var F=Vd(re),_=[];if(a&&_.push(ne[I]<=0),u&&_.push(ne[re]<=0,ne[F]<=0),_.every(function(te){return te})){L=B,M=!1;break}R.set(B,_)}if(M)for(var E=A?3:1,G=function(ue){var de=C.find(function(xe){var ve=R.get(xe);if(ve)return ve.slice(0,ue).every(function(be){return be})});if(de)return L=de,"break"},X=E;X>0;X--){var ee=G(X);if(ee==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}const hO={name:"flip",enabled:!0,phase:"main",fn:vO,requiresIfExists:["offset"],data:{_skip:!1}};function sx(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 ix(e){return[zr,po,fo,Or].some(function(t){return e[t]>=0})}function mO(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=ju(t,{elementContext:"reference"}),u=ju(t,{altBoundary:!0}),f=sx(l,r),p=sx(u,s,a),h=ix(f),m=ix(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 gO={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:mO};function yO(e,t,n){var r=rs(e),s=[Or,zr].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,[Or,po].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function AO(e){var t=e.state,n=e.options,r=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=g1.reduce(function(h,m){return h[m]=yO(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 PO={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:AO};function bO(e){var t=e.state,n=e.name;t.modifiersData[n]=H1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const xO={name:"popperOffsets",enabled:!0,phase:"read",fn:bO,data:{}};function wO(e){return e==="x"?"y":"x"}function HO(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,P=n.tether,w=P===void 0?!0:P,A=n.tetherOffset,x=A===void 0?0:A,H=ju(t,{boundary:f,rootBoundary:p,padding:m,altBoundary:h}),S=rs(t.placement),z=kl(t.placement),O=!z,C=ky(S),D=wO(C),k=t.modifiersData.popperOffsets,R=t.rects.reference,M=t.rects.popper,L=typeof x=="function"?x(Object.assign({},t.rects,{placement:t.placement})):x,j=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(k){if(a){var J,K=C==="y"?zr:Or,W=C==="y"?fo:po,ne=C==="y"?"height":"width",re=k[C],F=re+H[K],_=re-H[W],E=w?-M[ne]/2:0,G=z===Cl?R[ne]:M[ne],X=z===Cl?-M[ne]:-R[ne],ee=t.elements.arrow,te=w&&ee?Ty(ee):{width:0,height:0},ue=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:P1(),de=ue[K],xe=ue[W],ve=cu(0,R[ne],te[ne]),be=O?R[ne]/2-E-ve-de-j.mainAxis:G-ve-de-j.mainAxis,Xe=O?-R[ne]/2+E+ve+xe+j.mainAxis:X+ve+xe+j.mainAxis,Ie=t.elements.arrow&&Zu(t.elements.arrow),He=Ie?C==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,_e=(J=B==null?void 0:B[C])!=null?J:0,we=re+be-_e-He,tt=re+Xe-_e,Le=cu(w?cp(F,we):F,re,w?sa(_,tt):_);k[C]=Le,I[C]=Le-re}if(u){var dt,N=C==="x"?zr:Or,$=C==="x"?fo:po,se=k[D],ye=D==="y"?"height":"width",ce=se+H[N],Ae=se-H[$],je=[zr,Or].indexOf(S)!==-1,st=(dt=B==null?void 0:B[D])!=null?dt:0,wt=je?ce:se-R[ye]-M[ye]-st+j.altAxis,nt=je?se+R[ye]+M[ye]-st-j.altAxis:Ae,ft=w&&je?Gz(wt,se,nt):cu(w?wt:ce,se,w?nt:Ae);k[D]=ft,I[D]=ft-se}t.modifiersData[r]=I}}const jO={name:"preventOverflow",enabled:!0,phase:"main",fn:HO,requiresIfExists:["offset"]};function SO(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function zO(e){return e===Ur(e)||!co(e)?Ry(e):SO(e)}function OO(e){var t=e.getBoundingClientRect(),n=Dl(t.width)/e.offsetWidth||1,r=Dl(t.height)/e.offsetHeight||1;return n!==1||r!==1}function CO(e,t,n){n===void 0&&(n=!1);var r=co(t),s=co(t)&&OO(t),a=xi(t),l=Tl(e,s,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((ss(t)!=="body"||My(a))&&(u=zO(t)),co(t)?(f=Tl(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=Ey(a))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function DO(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 TO(e){var t=DO(e);return Wz.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function kO(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function RO(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 ax={placement:"bottom",modifiers:[],strategy:"absolute"};function lx(){for(var e=arguments.length,t=new Array(e),n=0;n{a||u(XO(s)||document.body)},[s,a]),uo(()=>{if(l&&!a)return op(n,l),()=>{op(n,null)}},[n,l,a]),a){if(y.isValidElement(r)){const p={ref:f};return y.cloneElement(r,p)}return r}return l&&v1.createPortal(r,l)});function NO(e){return Ze("MuiPopper",e)}Ge("MuiPopper",["root"]);function BO(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 pg(e){return typeof e=="function"?e():e}function VO(e){return e.nodeType!==void 0}const IO=e=>{const{classes:t}=e;return Ke({root:["root"]},NO,t)},WO={},JO=y.forwardRef(function(t,n){const{anchorEl:r,children:s,direction:a,disablePortal:l,modifiers:u,open:f,placement:p,popperOptions:h,popperRef:m,slotProps:P={},slots:w={},TransitionProps:A,ownerState:x,...H}=t,S=y.useRef(null),z=nn(S,n),O=y.useRef(null),C=nn(O,m),D=y.useRef(C);uo(()=>{D.current=C},[C]),y.useImperativeHandle(m,()=>O.current,[]);const k=BO(p,a),[R,M]=y.useState(k),[L,j]=y.useState(pg(r));y.useEffect(()=>{O.current&&O.current.forceUpdate()}),y.useEffect(()=>{r&&j(pg(r))},[r]),uo(()=>{if(!L||!f)return;const W=F=>{M(F.placement)};let ne=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:F})=>{W(F)}}];u!=null&&(ne=ne.concat(u)),h&&h.modifiers!=null&&(ne=ne.concat(h.modifiers));const re=LO(L,S.current,{placement:k,...h,modifiers:ne});return D.current(re),()=>{re.destroy(),D.current(null)}},[L,l,u,f,h,k]);const B={placement:R};A!==null&&(B.TransitionProps=A);const I=IO(t),J=w.root??"div",K=ip({elementType:J,externalSlotProps:P.root,externalForwardedProps:H,additionalProps:{role:"tooltip",ref:z},ownerState:t,className:I.root});return v.jsx(J,{...K,children:typeof s=="function"?s(B):s})}),FO=y.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:P=WO,popperRef:w,style:A,transition:x=!1,slotProps:H={},slots:S={},...z}=t,[O,C]=y.useState(!0),D=()=>{C(!1)},k=()=>{C(!0)};if(!f&&!h&&(!x||O))return null;let R;if(a)R=a;else if(r){const j=pg(r);R=j&&VO(j)?sr(j).body:sr(null).body}const M=!h&&f&&(!x||O)?"none":void 0,L=x?{in:h,onEnter:D,onExited:k}:void 0;return v.jsx(j1,{disablePortal:u,container:R,children:v.jsx(JO,{anchorEl:r,direction:l,disablePortal:u,modifiers:p,ref:n,open:x?!O:h,placement:m,popperOptions:P,popperRef:w,slotProps:H,slots:S,...z,style:{position:"fixed",top:0,left:0,display:M,...A},TransitionProps:L,children:s})})}),YO=pe(FO,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),qp=y.forwardRef(function(t,n){const r=Fu(),s=$e({props:t,name:"MuiPopper"}),{anchorEl:a,component:l,components:u,componentsProps:f,container:p,disablePortal:h,keepMounted:m,modifiers:P,open:w,placement:A,popperOptions:x,popperRef:H,transition:S,slots:z,slotProps:O,...C}=s,D=(z==null?void 0:z.root)??(u==null?void 0:u.Root),k={anchorEl:a,container:p,disablePortal:h,keepMounted:m,modifiers:P,open:w,placement:A,popperOptions:x,popperRef:H,transition:S,...C};return v.jsx(YO,{as:l,direction:r?"rtl":"ltr",slots:{root:D},slotProps:O??f,...k,ref:n})});function qO(e){return Ze("MuiListSubheader",e)}Ge("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const ZO=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 Ke(l,qO,t)},GO=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]}})(Qe(({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}}]}))),vg=y.forwardRef(function(t,n){const r=$e({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},P=ZO(m);return v.jsx(GO,{as:l,className:Oe(P.root,s),ref:n,ownerState:m,...h})});vg&&(vg.muiSkipListHighlight=!0);const UO=At(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 QO(e){return Ze("MuiChip",e)}const Mt=Ge("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"]),KO=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 Ke(p,QO,t)},_O=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[{[`& .${Mt.avatar}`]:t.avatar},{[`& .${Mt.avatar}`]:t[`avatar${me(u)}`]},{[`& .${Mt.avatar}`]:t[`avatarColor${me(r)}`]},{[`& .${Mt.icon}`]:t.icon},{[`& .${Mt.icon}`]:t[`icon${me(u)}`]},{[`& .${Mt.icon}`]:t[`iconColor${me(s)}`]},{[`& .${Mt.deleteIcon}`]:t.deleteIcon},{[`& .${Mt.deleteIcon}`]:t[`deleteIcon${me(u)}`]},{[`& .${Mt.deleteIcon}`]:t[`deleteIconColor${me(r)}`]},{[`& .${Mt.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)}`]]}})(Qe(({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",[`&.${Mt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Mt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Mt.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Mt.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Mt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Mt.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Mt.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Pt(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)`:Pt(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Mt.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Mt.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,[`& .${Mt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:Pt(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Mt.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Mt.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(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:{[`&.${Mt.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}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(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, &.${Mt.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]}`,[`&.${Mt.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Mt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Mt.avatar}`]:{marginLeft:4},[`& .${Mt.avatarSmall}`]:{marginLeft:2},[`& .${Mt.icon}`]:{marginLeft:4},[`& .${Mt.iconSmall}`]:{marginLeft:2},[`& .${Mt.deleteIcon}`]:{marginRight:5},[`& .${Mt.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)`:Pt(e.palette[n].main,.7)}`,[`&.${Mt.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${Mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Pt(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${Mt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Pt(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),$O=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 cx(e){return e.key==="Backspace"||e.key==="Delete"}const Gu=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiChip"}),{avatar:s,className:a,clickable:l,color:u="default",component:f,deleteIcon:p,disabled:h=!1,icon:m,label:P,onClick:w,onDelete:A,onKeyDown:x,onKeyUp:H,size:S="medium",variant:z="filled",tabIndex:O,skipFocusWhenDisabled:C=!1,...D}=r,k=y.useRef(null),R=nn(k,n),M=_=>{_.stopPropagation(),A&&A(_)},L=_=>{_.currentTarget===_.target&&cx(_)&&_.preventDefault(),x&&x(_)},j=_=>{_.currentTarget===_.target&&A&&cx(_)&&A(_),H&&H(_)},B=l!==!1&&w?!0:l,I=B||A?ua:f||"div",J={...r,component:I,disabled:h,size:S,color:u,iconColor:y.isValidElement(m)&&m.props.color||u,onDelete:!!A,clickable:B,variant:z},K=KO(J),W=I===ua?{component:f||"div",focusVisibleClassName:K.focusVisible,...A&&{disableRipple:!0}}:{};let ne=null;A&&(ne=p&&y.isValidElement(p)?y.cloneElement(p,{className:Oe(p.props.className,K.deleteIcon),onClick:M}):v.jsx(UO,{className:Oe(K.deleteIcon),onClick:M}));let re=null;s&&y.isValidElement(s)&&(re=y.cloneElement(s,{className:Oe(K.avatar,s.props.className)}));let F=null;return m&&y.isValidElement(m)&&(F=y.cloneElement(m,{className:Oe(K.icon,m.props.className)})),v.jsxs(_O,{as:I,className:Oe(K.root,a),disabled:B&&h?!0:void 0,onClick:w,onKeyDown:L,onKeyUp:j,ref:R,tabIndex:C&&h?-1:O,ownerState:J,...W,...D,children:[re||F,v.jsx($O,{className:Oe(K.label),ownerState:J,children:P}),ne]})});function Pd(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 tC(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const nC=y.forwardRef(function(t,n){const{onChange:r,maxRows:s,minRows:a=1,style:l,value:u,...f}=t,{current:p}=y.useRef(u!=null),h=y.useRef(null),m=nn(n,h),P=y.useRef(null),w=y.useRef(null),A=y.useCallback(()=>{const S=h.current,O=Eo(S).getComputedStyle(S);if(O.width==="0px")return{outerHeightStyle:0,overflowing:!1};const C=w.current;C.style.width=O.width,C.value=S.value||t.placeholder||"x",C.value.slice(-1)===` -`&&(C.value+=" ");const D=O.boxSizing,k=Pd(O.paddingBottom)+Pd(O.paddingTop),R=Pd(O.borderBottomWidth)+Pd(O.borderTopWidth),M=C.scrollHeight;C.value="x";const L=C.scrollHeight;let j=M;a&&(j=Math.max(Number(a)*L,j)),s&&(j=Math.min(Number(s)*L,j)),j=Math.max(j,L);const B=j+(D==="border-box"?k+R:0),I=Math.abs(j-M)<=1;return{outerHeightStyle:B,overflowing:I}},[s,a,t.placeholder]),x=y.useCallback(()=>{const S=A();if(tC(S))return;const z=S.outerHeightStyle,O=h.current;P.current!==z&&(P.current=z,O.style.height=`${z}px`),O.style.overflow=S.overflowing?"hidden":""},[A]);uo(()=>{const S=()=>{x()};let z;const O=yy(S),C=h.current,D=Eo(C);D.addEventListener("resize",O);let k;return typeof ResizeObserver<"u"&&(k=new ResizeObserver(S),k.observe(C)),()=>{O.clear(),cancelAnimationFrame(z),D.removeEventListener("resize",O),k&&k.disconnect()}},[A,x]),uo(()=>{x()});const H=S=>{p||x(),r&&r(S)};return v.jsxs(y.Fragment,{children:[v.jsx("textarea",{value:u,onChange:H,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 Rl(e){return typeof e=="string"}function wi({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 Zp=y.createContext(void 0);function No(){return y.useContext(Zp)}function ux(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function up(e,t=!1){return e&&(ux(e.value)&&e.value!==""||t&&ux(e.defaultValue)&&e.defaultValue!=="")}function rC(e){return e.startAdornment}function oC(e){return Ze("MuiInputBase",e)}const Wr=Ge("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var fx;const Gp=(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]},Up=(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]},sC=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:P,startAdornment:w,type:A}=e,x={root:["root",`color${me(n)}`,r&&"disabled",s&&"error",f&&"fullWidth",l&&"focused",u&&"formControl",P&&P!=="medium"&&`size${me(P)}`,h&&"multiline",w&&"adornedStart",a&&"adornedEnd",p&&"hiddenLabel",m&&"readOnly"],input:["input",r&&"disabled",A==="search"&&"inputTypeSearch",h&&"inputMultiline",P==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",w&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return Ke(x,oC,t)},Qp=pe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Gp})(Qe(({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%"}}]}))),Kp=pe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Up})(Qe(({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"}}]}})),dx=Hy({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),_p=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:a,autoFocus:l,className:u,color:f,components:p={},componentsProps:h={},defaultValue:m,disabled:P,disableInjectingGlobalStyles:w,endAdornment:A,error:x,fullWidth:H=!1,id:S,inputComponent:z="input",inputProps:O={},inputRef:C,margin:D,maxRows:k,minRows:R,multiline:M=!1,name:L,onBlur:j,onChange:B,onClick:I,onFocus:J,onKeyDown:K,onKeyUp:W,placeholder:ne,readOnly:re,renderSuffix:F,rows:_,size:E,slotProps:G={},slots:X={},startAdornment:ee,type:te="text",value:ue,...de}=r,xe=O.value!=null?O.value:ue,{current:ve}=y.useRef(xe!=null),be=y.useRef(),Xe=y.useCallback(We=>{},[]),Ie=nn(be,C,O.ref,Xe),[He,_e]=y.useState(!1),we=No(),tt=wi({props:r,muiFormControl:we,states:["color","disabled","error","hiddenLabel","size","required","filled"]});tt.focused=we?we.focused:He,y.useEffect(()=>{!we&&P&&He&&(_e(!1),j&&j())},[we,P,He,j]);const Le=we&&we.onFilled,dt=we&&we.onEmpty,N=y.useCallback(We=>{up(We)?Le&&Le():dt&&dt()},[Le,dt]);uo(()=>{ve&&N({value:xe})},[xe,N,ve]);const $=We=>{J&&J(We),O.onFocus&&O.onFocus(We),we&&we.onFocus?we.onFocus(We):_e(!0)},se=We=>{j&&j(We),O.onBlur&&O.onBlur(We),we&&we.onBlur?we.onBlur(We):_e(!1)},ye=(We,...Dt)=>{if(!ve){const Jt=We.target||be.current;if(Jt==null)throw new Error(Ts(1));N({value:Jt.value})}O.onChange&&O.onChange(We,...Dt),B&&B(We,...Dt)};y.useEffect(()=>{N(be.current)},[]);const ce=We=>{be.current&&We.currentTarget===We.target&&be.current.focus(),I&&I(We)};let Ae=z,je=O;M&&Ae==="input"&&(_?je={type:void 0,minRows:_,maxRows:_,...je}:je={type:void 0,maxRows:k,minRows:R,...je},Ae=nC);const st=We=>{N(We.animationName==="mui-auto-fill-cancel"?be.current:{value:"x"})};y.useEffect(()=>{we&&we.setAdornedStart(!!ee)},[we,ee]);const wt={...r,color:tt.color||"primary",disabled:tt.disabled,endAdornment:A,error:tt.error,focused:tt.focused,formControl:we,fullWidth:H,hiddenLabel:tt.hiddenLabel,multiline:M,size:tt.size,startAdornment:ee,type:te},nt=sC(wt),ft=X.root||p.Root||Qp,ct=G.root||h.root||{},Ht=X.input||p.Input||Kp;return je={...je,...G.input??h.input},v.jsxs(y.Fragment,{children:[!w&&typeof dx=="function"&&(fx||(fx=v.jsx(dx,{}))),v.jsxs(ft,{...ct,ref:n,onClick:ce,...de,...!Rl(ft)&&{ownerState:{...wt,...ct.ownerState}},className:Oe(nt.root,ct.className,u,re&&"MuiInputBase-readOnly"),children:[ee,v.jsx(Zp.Provider,{value:null,children:v.jsx(Ht,{"aria-invalid":tt.error,"aria-describedby":s,autoComplete:a,autoFocus:l,defaultValue:m,disabled:tt.disabled,id:S,onAnimationStart:st,name:L,placeholder:ne,readOnly:re,required:tt.required,rows:_,value:xe,onKeyDown:K,onKeyUp:W,type:te,...je,...!Rl(Ht)&&{as:Ae,ownerState:{...wt,...je.ownerState}},ref:Ie,className:Oe(nt.input,je.className,re&&"MuiInputBase-readOnly"),onBlur:se,onChange:ye,onFocus:$})}),A,F?F({...tt,startAdornment:ee}):null]})]})});function iC(e){return Ze("MuiInput",e)}const ii={...Wr,...Ge("MuiInput",["root","underline","input"])};function aC(e){return Ze("MuiOutlinedInput",e)}const ro={...Wr,...Ge("MuiOutlinedInput",["root","notchedOutline","input"])};function lC(e){return Ze("MuiFilledInput",e)}const Jr={...Wr,...Ge("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},S1=At(v.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function cC(e){return Ze("MuiAutocomplete",e)}const Ot=Ge("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 px,vx;const uC=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 Ke(m,cC,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[{[`& .${Ot.tag}`]:t.tag},{[`& .${Ot.tag}`]:t[`tagSize${me(u)}`]},{[`& .${Ot.inputRoot}`]:t.inputRoot},{[`& .${Ot.input}`]:t.input},{[`& .${Ot.input}`]:l&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,s&&t.hasClearIcon]}})({[`&.${Ot.focused} .${Ot.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Ot.clearIndicator}`]:{visibility:"visible"}},[`& .${Ot.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Ot.inputRoot}`]:{[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:30},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:56},[`& .${Ot.input}`]:{width:0,minWidth:30}},[`& .${ii.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${ii.root}.${Wr.sizeSmall}`]:{[`& .${ii.input}`]:{padding:"2px 4px 3px 0"}},[`& .${ro.root}`]:{padding:9,[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:39},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:65},[`& .${Ot.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Ot.endAdornment}`]:{right:9}},[`& .${ro.root}.${Wr.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ot.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Jr.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:39},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:65},[`& .${Jr.input}`]:{padding:"7px 4px"},[`& .${Ot.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,[`& .${Ot.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Jr.root}.${Wr.hiddenLabel}.${Wr.sizeSmall}`]:{[`& .${Ot.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Ot.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Ot.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Ot.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Ot.inputRoot}`]:{flexWrap:"wrap"}}}]}),dC=pe("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),pC=pe(Sr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),vC=pe(Sr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>({...t.popupIndicator,...e.popupOpen&&t.popupIndicatorOpen})})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),hC=pe(qp,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ot.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(Qe(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),mC=pe(Gr,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(Qe(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),gC=pe("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),yC=pe("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),AC=pe("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(Qe(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Ot.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"},[`&.${Ot.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"},[`&.${Ot.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})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ot.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Ot.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),PC=pe(vg,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(Qe(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),bC=pe("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Ot.option}`]:{paddingLeft:24}}),xC=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:u=!1,ChipProps:f,className:p,clearIcon:h=px||(px=v.jsx(h1,{fontSize:"small"})),clearOnBlur:m=!r.freeSolo,clearOnEscape:P=!1,clearText:w="Clear",closeText:A="Close",componentsProps:x,defaultValue:H=r.multiple?[]:null,disableClearable:S=!1,disableCloseOnSelect:z=!1,disabled:O=!1,disabledItemsFocusable:C=!1,disableListWrap:D=!1,disablePortal:k=!1,filterOptions:R,filterSelectedOptions:M=!1,forcePopupIcon:L="auto",freeSolo:j=!1,fullWidth:B=!1,getLimitTagsText:I=Lt=>`+${Lt}`,getOptionDisabled:J,getOptionKey:K,getOptionLabel:W,isOptionEqualToValue:ne,groupBy:re,handleHomeEndKeys:F=!r.freeSolo,id:_,includeInputInList:E=!1,inputValue:G,limitTags:X=-1,ListboxComponent:ee,ListboxProps:te,loading:ue=!1,loadingText:de="Loading…",multiple:xe=!1,noOptionsText:ve="No options",onChange:be,onClose:Xe,onHighlightChange:Ie,onInputChange:He,onOpen:_e,open:we,openOnFocus:tt=!1,openText:Le="Open",options:dt,PaperComponent:N,PopperComponent:$,popupIcon:se=vx||(vx=v.jsx(S1,{})),readOnly:ye=!1,renderGroup:ce,renderInput:Ae,renderOption:je,renderTags:st,selectOnFocus:wt=!r.freeSolo,size:nt="medium",slots:ft={},slotProps:ct={},value:Ht,...We}=r,{getRootProps:Dt,getInputProps:Jt,getInputLabelProps:Be,getPopupIndicatorProps:U,getClearProps:Y,getTagProps:Pe,getListboxProps:De,getOptionProps:Te,value:Ne,dirty:Je,expanded:ke,id:rt,popupOpen:vt,focused:kt,focusedTag:Ut,anchorEl:Fe,setAnchorEl:Rt,inputValue:cn,groupedOptions:zn}=Dz({...r,componentName:"Autocomplete"}),Zn=!S&&!O&&Je&&!ye,An=(!j||L===!0)&&L!==!1,{onMouseDown:Er}=Jt(),{ref:ho,...mo}=De(),go=W||(Lt=>Lt.label??Lt),Pn={...r,disablePortal:k,expanded:ke,focused:kt,fullWidth:B,getOptionLabel:go,hasClearIcon:Zn,hasPopupIcon:An,inputFocused:Ut===-1,popupOpen:vt,size:nt},rn=uC(Pn),Re={slots:{paper:N,popper:$,...ft},slotProps:{chip:f,listbox:te,...x,...ct}},[oe,le]=mn("listbox",{elementType:AC,externalForwardedProps:Re,ownerState:Pn,className:rn.listbox,additionalProps:mo,ref:ho}),[Ee,ot]=mn("paper",{elementType:Gr,externalForwardedProps:Re,ownerState:Pn,className:rn.paper}),[lt,It]=mn("popper",{elementType:qp,externalForwardedProps:Re,ownerState:Pn,className:rn.popper,additionalProps:{disablePortal:k,style:{width:Fe?Fe.clientWidth:null},role:"presentation",anchorEl:Fe,open:vt}});let Nt;if(xe&&Ne.length>0){const Lt=ir=>({className:rn.tag,disabled:O,...Pe(ir)});st?Nt=st(Ne,Lt,Pn):Nt=Ne.map((ir,Ln)=>{const{key:Ci,...Mr}=Lt({index:Ln});return v.jsx(Gu,{label:go(ir),size:nt,...Mr,...Re.slotProps.chip},Ci)})}if(X>-1&&Array.isArray(Nt)){const Lt=Nt.length-X;!kt&&Lt>0&&(Nt=Nt.splice(0,X),Nt.push(v.jsx("span",{className:rn.tag,children:I(Lt)},Nt.length)))}const yo=ce||(Lt=>v.jsxs("li",{children:[v.jsx(PC,{className:rn.groupLabel,ownerState:Pn,component:"div",children:Lt.group}),v.jsx(bC,{className:rn.groupUl,ownerState:Pn,children:Lt.children})]},Lt.key)),en=je||((Lt,ir)=>{const{key:Ln,...Ci}=Lt;return v.jsx("li",{...Ci,children:go(ir)},Ln)}),zi=(Lt,ir)=>{const Ln=Te({option:Lt,index:ir});return en({...Ln,className:rn.option},Lt,{selected:Ln["aria-selected"],index:ir,inputValue:cn},Pn)},Ls=Re.slotProps.clearIndicator,Oi=Re.slotProps.popupIndicator,Xs=Lt=>v.jsx(hC,{as:lt,...It,children:v.jsx(mC,{as:Ee,...ot,children:Lt})});let Pa=null;return zn.length>0?Pa=Xs(v.jsx(oe,{as:ee,...le,children:zn.map((Lt,ir)=>re?yo({key:Lt.key,group:Lt.group,children:Lt.options.map((Ln,Ci)=>zi(Ln,Lt.index+Ci))}):zi(Lt,ir))})):ue&&zn.length===0?Pa=Xs(v.jsx(gC,{className:rn.loading,ownerState:Pn,children:de})):zn.length===0&&!j&&!ue&&(Pa=Xs(v.jsx(yC,{className:rn.noOptions,ownerState:Pn,role:"presentation",onMouseDown:Lt=>{Lt.preventDefault()},children:ve}))),v.jsxs(y.Fragment,{children:[v.jsx(fC,{ref:n,className:Oe(rn.root,p),ownerState:Pn,...Dt(We),children:Ae({id:rt,disabled:O,fullWidth:!0,size:nt==="small"?"small":void 0,InputLabelProps:Be(),InputProps:{ref:Rt,className:rn.inputRoot,startAdornment:Nt,onMouseDown:Lt=>{Lt.target===Lt.currentTarget&&Er(Lt)},...(Zn||An)&&{endAdornment:v.jsxs(dC,{className:rn.endAdornment,ownerState:Pn,children:[Zn?v.jsx(pC,{...Y(),"aria-label":w,title:w,ownerState:Pn,...Ls,className:Oe(rn.clearIndicator,Ls==null?void 0:Ls.className),children:h}):null,An?v.jsx(vC,{...U(),disabled:O,"aria-label":vt?A:Le,title:vt?A:Le,ownerState:Pn,...Oi,className:Oe(rn.popupIndicator,Oi==null?void 0:Oi.className),children:se}):null]})}},inputProps:{className:rn.input,disabled:O,readOnly:ye,...Jt()}})}),Fe?Pa:null]})}),wC={entering:{opacity:1},entered:{opacity:1}},z1=y.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:P,onExit:w,onExited:A,onExiting:x,style:H,timeout:S=s,TransitionComponent:z=Xo,...O}=t,C=y.useRef(null),D=nn(C,bi(u),n),k=K=>W=>{if(K){const ne=C.current;W===void 0?K(ne):K(ne,W)}},R=k(P),M=k((K,W)=>{zy(K);const ne=Ol({style:H,timeout:S,easing:f},{mode:"enter"});K.style.webkitTransition=r.transitions.create("opacity",ne),K.style.transition=r.transitions.create("opacity",ne),h&&h(K,W)}),L=k(m),j=k(x),B=k(K=>{const W=Ol({style:H,timeout:S,easing:f},{mode:"exit"});K.style.webkitTransition=r.transitions.create("opacity",W),K.style.transition=r.transitions.create("opacity",W),w&&w(K)}),I=k(A),J=K=>{a&&a(C.current,K)};return v.jsx(z,{appear:l,in:p,nodeRef:C,onEnter:M,onEntered:L,onEntering:R,onExit:B,onExited:I,onExiting:j,addEndListener:J,timeout:S,...O,children:(K,W)=>y.cloneElement(u,{style:{opacity:0,visibility:K==="exited"&&!p?"hidden":void 0,...wC[K],...H,...u.props.style},ref:D,...W})})});function HC(e){return Ze("MuiBackdrop",e)}Ge("MuiBackdrop",["root","invisible"]);const jC=e=>{const{ownerState:t,...n}=e;return n},SC=e=>{const{classes:t,invisible:n}=e;return Ke({root:["root",n&&"invisible"]},HC,t)},zC=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"}}]}),O1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",invisible:u=!1,open:f,components:p={},componentsProps:h={},slotProps:m={},slots:P={},TransitionComponent:w,transitionDuration:A,...x}=r,H={...r,component:l,invisible:u},S=SC(H),z={transition:w,root:p.Root,...P},O={...h,...m},C={slots:z,slotProps:O},[D,k]=mn("root",{elementType:zC,externalForwardedProps:C,className:Oe(S.root,a),ownerState:H}),[R,M]=mn("transition",{elementType:z1,externalForwardedProps:C,ownerState:H}),L=jC(M);return v.jsx(R,{in:f,timeout:A,...x,...L,children:v.jsx(D,{"aria-hidden":!0,...k,classes:S,ref:n,children:s})})}),OC=Ge("MuiBox",["root"]),CC=Yu(),yt=GH({themeId:ko,defaultTheme:CC,defaultClassName:OC.root,generateClassName:B0.generate});function DC(e){return Ze("MuiButton",e)}const Ua=Ge("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"]),C1=y.createContext({}),TC=y.createContext(void 0),kC=e=>{const{color:t,disableElevation:n,fullWidth:r,size:s,variant:a,classes:l}=e,u={root:["root",a,`${a}${me(t)}`,`size${me(s)}`,`${a}Size${me(s)}`,`color${me(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${me(s)}`],endIcon:["icon","endIcon",`iconSize${me(s)}`]},f=Ke(u,DC,l);return{...l,...f}},D1=[{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}}}],RC=pe(ua,{shouldForwardProp:e=>qn(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]}})(Qe(({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"},[`&.${Ua.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]},[`&.${Ua.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Ua.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)",[`&.${Ua.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)`:Pt(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})`:Pt(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})`:Pt(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})`:Pt(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(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"},[`&.${Ua.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ua.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),EC=pe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${me(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...D1]}),MC=pe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${me(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...D1]}),Xt=y.forwardRef(function(t,n){const r=y.useContext(C1),s=y.useContext(TC),a=Sl(r,t),l=$e({props:a,name:"MuiButton"}),{children:u,color:f="primary",component:p="button",className:h,disabled:m=!1,disableElevation:P=!1,disableFocusRipple:w=!1,endIcon:A,focusVisibleClassName:x,fullWidth:H=!1,size:S="medium",startIcon:z,type:O,variant:C="text",...D}=l,k={...l,color:f,component:p,disabled:m,disableElevation:P,disableFocusRipple:w,fullWidth:H,size:S,type:O,variant:C},R=kC(k),M=z&&v.jsx(EC,{className:R.startIcon,ownerState:k,children:z}),L=A&&v.jsx(MC,{className:R.endIcon,ownerState:k,children:A}),j=s||"";return v.jsxs(RC,{ownerState:k,className:Oe(r.className,R.root,h,j),component:p,disabled:m,focusRipple:!w,focusVisibleClassName:Oe(R.focusVisible,x),ref:n,type:O,...D,classes:R,children:[M,u,L]})});function LC(e){return Ze("MuiCard",e)}Ge("MuiCard",["root"]);const XC=e=>{const{classes:t}=e;return Ke({root:["root"]},LC,t)},NC=pe(Gr,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),T1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCard"}),{className:s,raised:a=!1,...l}=r,u={...r,raised:a},f=XC(u);return v.jsx(NC,{className:Oe(f.root,s),elevation:a?8:void 0,ref:n,ownerState:u,...l})});function BC(e){return Ze("MuiCardContent",e)}Ge("MuiCardContent",["root"]);const VC=e=>{const{classes:t}=e;return Ke({root:["root"]},BC,t)},IC=pe("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),hg=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCardContent"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=VC(u);return v.jsx(IC,{as:a,className:Oe(f.root,s),ownerState:u,ref:n,...l})});function WC(e){return Ze("MuiCardMedia",e)}Ge("MuiCardMedia",["root","media","img"]);const JC=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return Ke({root:["root",n&&"media",r&&"img"]},WC,t)},FC=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"}}]}),YC=["video","audio","picture","iframe","img"],qC=["picture","img"],ZC=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCardMedia"}),{children:s,className:a,component:l="div",image:u,src:f,style:p,...h}=r,m=YC.includes(l),P=!m&&u?{backgroundImage:`url("${u}")`,...p}:p,w={...r,component:l,isMediaComponent:m,isImageComponent:qC.includes(l)},A=JC(w);return v.jsx(FC,{className:Oe(A.root,a),as:l,role:!m&&u?"img":void 0,ref:n,style:P,ownerState:w,src:m?u||f:void 0,...h,children:s})});function GC(e){return Ze("PrivateSwitchBase",e)}Ge("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const UC=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 Ke(a,GC,t)},QC=pe(ua)({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}}]}),KC=pe("input",{shouldForwardProp:qn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ly=y.forwardRef(function(t,n){const{autoFocus:r,checked:s,checkedIcon:a,className:l,defaultChecked:u,disabled:f,disableFocusRipple:p=!1,edge:h=!1,icon:m,id:P,inputProps:w,inputRef:A,name:x,onBlur:H,onChange:S,onFocus:z,readOnly:O,required:C=!1,tabIndex:D,type:k,value:R,...M}=t,[L,j]=gi({controlled:s,default:!!u,name:"SwitchBase",state:"checked"}),B=No(),I=_=>{z&&z(_),B&&B.onFocus&&B.onFocus(_)},J=_=>{H&&H(_),B&&B.onBlur&&B.onBlur(_)},K=_=>{if(_.nativeEvent.defaultPrevented)return;const E=_.target.checked;j(E),S&&S(_,E)};let W=f;B&&typeof W>"u"&&(W=B.disabled);const ne=k==="checkbox"||k==="radio",re={...t,checked:L,disabled:W,disableFocusRipple:p,edge:h},F=UC(re);return v.jsxs(QC,{component:"span",className:Oe(F.root,l),centerRipple:!0,focusRipple:!p,disabled:W,tabIndex:null,role:void 0,onFocus:I,onBlur:J,ownerState:re,ref:n,...M,children:[v.jsx(KC,{autoFocus:r,checked:s,defaultChecked:u,className:F.input,disabled:W,id:ne?P:void 0,name:x,onChange:K,readOnly:O,ref:A,required:C,ownerState:re,tabIndex:D,type:k,...k==="checkbox"&&R===void 0?{}:{value:R},...w}),L?a:m]})}),_C=At(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"),$C=At(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"),eD=At(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 tD(e){return Ze("MuiCheckbox",e)}const zm=Ge("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),nD=e=>{const{classes:t,indeterminate:n,color:r,size:s}=e,a={root:["root",n&&"indeterminate",`color${me(r)}`,`size${me(s)}`]},l=Ke(a,tD,t);return{...t,...l}},rD=pe(Ly,{shouldForwardProp:e=>qn(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)}`]]}})(Qe(({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})`:Pt(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})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{[`&.${zm.checked}, &.${zm.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${zm.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),oD=v.jsx($C,{}),sD=v.jsx(_C,{}),iD=v.jsx(eD,{}),hx=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCheckbox"}),{checkedIcon:s=oD,color:a="primary",icon:l=sD,indeterminate:u=!1,indeterminateIcon:f=iD,inputProps:p,size:h="medium",disableRipple:m=!1,className:P,...w}=r,A=u?f:l,x=u?f:s,H={...r,disableRipple:m,color:a,indeterminate:u,size:h},S=nD(H);return v.jsx(rD,{type:"checkbox",inputProps:{"data-indeterminate":u,...p},icon:y.cloneElement(A,{fontSize:A.props.fontSize??h}),checkedIcon:y.cloneElement(x,{fontSize:x.props.fontSize??h}),ownerState:H,ref:n,className:Oe(S.root,P),disableRipple:m,...w,classes:S})});function aD(e){return Ze("MuiCircularProgress",e)}Ge("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const ri=44,mg=Iu` +`,KS=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:l,...u}=r,[f,p]=y.useState([]),h=y.useRef(0),m=y.useRef(null);y.useEffect(()=>{m.current&&(m.current(),m.current=null)},[f]);const P=y.useRef(!1),w=Zi(),A=y.useRef(null),x=y.useRef(null),H=y.useCallback(C=>{const{pulsate:D,rippleX:k,rippleY:R,rippleSize:M,cb:L}=C;p(j=>[...j,v.jsx(QS,{classes:{ripple:Oe(a.ripple,so.ripple),rippleVisible:Oe(a.rippleVisible,so.rippleVisible),ripplePulsate:Oe(a.ripplePulsate,so.ripplePulsate),child:Oe(a.child,so.child),childLeaving:Oe(a.childLeaving,so.childLeaving),childPulsate:Oe(a.childPulsate,so.childPulsate)},timeout:ug,pulsate:D,rippleX:k,rippleY:R,rippleSize:M},h.current)]),h.current+=1,m.current=L},[a]),S=y.useCallback((C={},D={},k=()=>{})=>{const{pulsate:R=!1,center:M=s||D.pulsate,fakeElement:L=!1}=D;if((C==null?void 0:C.type)==="mousedown"&&P.current){P.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(P.current=!0);const j=L?null:x.current,B=j?j.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,W,_;if(M||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)I=Math.round(B.width/2),W=Math.round(B.height/2);else{const{clientX:J,clientY:ee}=C.touches&&C.touches.length>0?C.touches[0]:C;I=Math.round(J-B.left),W=Math.round(ee-B.top)}if(M)_=Math.sqrt((2*B.width**2+B.height**2)/3),_%2===0&&(_+=1);else{const J=Math.max(Math.abs((j?j.clientWidth:0)-I),I)*2+2,ee=Math.max(Math.abs((j?j.clientHeight:0)-W),W)*2+2;_=Math.sqrt(J**2+ee**2)}C!=null&&C.touches?A.current===null&&(A.current=()=>{H({pulsate:R,rippleX:I,rippleY:W,rippleSize:_,cb:k})},w.start(YS,()=>{A.current&&(A.current(),A.current=null)})):H({pulsate:R,rippleX:I,rippleY:W,rippleSize:_,cb:k})},[s,H,w]),z=y.useCallback(()=>{S({},{pulsate:!0})},[S]),O=y.useCallback((C,D)=>{if(w.clear(),(C==null?void 0:C.type)==="touchend"&&A.current){A.current(),A.current=null,w.start(0,()=>{O(C,D)});return}A.current=null,p(k=>k.length>0?k.slice(1):k),m.current=D},[w]);return y.useImperativeHandle(n,()=>({pulsate:z,start:S,stop:O}),[z,S,O]),v.jsx(US,{className:Oe(so.root,a.root,l),ref:x,...u,children:v.jsx(Sy,{component:null,exit:!0,children:f})})});function _S(e){return Ze("MuiButtonBase",e)}const $S=Ge("MuiButtonBase",["root","disabled","focusVisible"]),ez=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:s}=e,l=Ke({root:["root",t&&"disabled",n&&"focusVisible"]},_S,s);return n&&r&&(l.root+=` ${r}`),l},tz=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"},[`&.${$S.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ua=y.forwardRef(function(t,n){const r=$e({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:P=!1,focusVisibleClassName:w,LinkComponent:A="a",onBlur:x,onClick:H,onContextMenu:S,onDragLeave:z,onFocus:O,onFocusVisible:C,onKeyDown:D,onKeyUp:k,onMouseDown:R,onMouseLeave:M,onMouseUp:L,onTouchEnd:j,onTouchMove:B,onTouchStart:I,tabIndex:W=0,TouchRippleProps:_,touchRippleRef:J,type:ee,...ne}=r,Z=y.useRef(null),Q=WS(),E=nn(Q.ref,J),[U,X]=y.useState(!1);p&&U&&X(!1),y.useImperativeHandle(s,()=>({focusVisible:()=>{X(!0),Z.current.focus()}}),[]);const re=Q.shouldMount&&!h&&!p;y.useEffect(()=>{U&&P&&!h&&Q.pulsate()},[h,P,U,Q]);const $=bs(Q,"start",R,m),ce=bs(Q,"stop",S,m),de=bs(Q,"stop",z,m),xe=bs(Q,"stop",L,m),ve=bs(Q,"stop",le=>{U&&le.preventDefault(),M&&M(le)},m),be=bs(Q,"start",I,m),Xe=bs(Q,"stop",j,m),Ve=bs(Q,"stop",B,m),He=bs(Q,"stop",le=>{zl(le.target)||X(!1),x&&x(le)},!1),We=hr(le=>{Z.current||(Z.current=le.currentTarget),zl(le.target)&&(X(!0),C&&C(le)),O&&O(le)}),we=()=>{const le=Z.current;return f&&f!=="button"&&!(le.tagName==="A"&&le.href)},rt=hr(le=>{P&&!le.repeat&&U&&le.key===" "&&Q.stop(le,()=>{Q.start(le)}),le.target===le.currentTarget&&we()&&le.key===" "&&le.preventDefault(),D&&D(le),le.target===le.currentTarget&&we()&&le.key==="Enter"&&!p&&(le.preventDefault(),H&&H(le))}),Me=hr(le=>{P&&le.key===" "&&U&&!le.defaultPrevented&&Q.stop(le,()=>{Q.pulsate(le)}),k&&k(le),H&&le.target===le.currentTarget&&we()&&le.key===" "&&!le.defaultPrevented&&H(le)});let ut=f;ut==="button"&&(ne.href||ne.to)&&(ut=A);const N={};ut==="button"?(N.type=ee===void 0?"button":ee,N.disabled=p):(!ne.href&&!ne.to&&(N.role="button"),p&&(N["aria-disabled"]=p));const te=nn(n,Z),se={...r,centerRipple:a,component:f,disabled:p,disableRipple:h,disableTouchRipple:m,focusRipple:P,tabIndex:W,focusVisible:U},Ae=ez(se);return v.jsxs(tz,{as:ut,className:Oe(Ae.root,u),ownerState:se,onBlur:He,onClick:H,onContextMenu:ce,onFocus:We,onKeyDown:rt,onKeyUp:Me,onMouseDown:$,onMouseLeave:ve,onMouseUp:xe,onDragLeave:de,onTouchEnd:Xe,onTouchMove:Ve,onTouchStart:be,ref:te,tabIndex:p?-1:W,type:ee,...N,...ne,children:[l,re?v.jsx(KS,{ref:E,center:a,..._}):null]})});function bs(e,t,n,r=!1){return hr(s=>(n&&n(s),r||e[t](s),!0))}function nz(e){return typeof e.main=="string"}function rz(e,t=[]){if(!nz(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function mn(e=[]){return([,t])=>t&&rz(t,e)}function oz(e){return Ze("MuiAlert",e)}const q8=Ge("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 sz(e){return Ze("MuiIconButton",e)}const iz=Ge("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),az=e=>{const{classes:t,disabled:n,color:r,edge:s,size:a}=e,l={root:["root",n&&"disabled",r!=="default"&&`color${me(r)}`,s&&`edge${me(s)}`,`size${me(a)}`]};return Ke(l,sz,t)},lz=pe(ua,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${me(n.color)}`],n.edge&&t[`edge${me(n.edge)}`],t[`size${me(n.size)}`]]}})(Qe(({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})`:At(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}}]})),Qe(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:At((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)}}],[`&.${iz.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),Sr=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiIconButton"}),{edge:s=!1,children:a,className:l,color:u="default",disabled:f=!1,disableFocusRipple:p=!1,size:h="medium",...m}=r,P={...r,edge:s,color:u,disabled:f,disableFocusRipple:p,size:h},w=az(P);return v.jsx(lz,{className:Oe(w.root,l),centerRipple:!0,focusRipple:!p,disabled:f,ref:n,...m,ownerState:P,children:a})}),cz=yt(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"),uz=yt(v.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),fz=yt(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"),dz=yt(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"),h1=yt(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"),pz=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 Ke(a,oz,s)},vz=pe(Zr,{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)}`]]}})(Qe(({theme:e})=>{const t=e.palette.mode==="light"?la:ca,n=e.palette.mode==="light"?ca:la;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(mn(["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),[`& .${q8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(mn(["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}`,[`& .${q8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(mn(["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)}}}))]}})),hz=pe("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),mz=pe("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Z8=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}),G8={success:v.jsx(cz,{fontSize:"inherit"}),warning:v.jsx(uz,{fontSize:"inherit"}),error:v.jsx(fz,{fontSize:"inherit"}),info:v.jsx(dz,{fontSize:"inherit"})},Oy=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiAlert"}),{action:s,children:a,className:l,closeText:u="Close",color:f,components:p={},componentsProps:h={},icon:m,iconMapping:P=G8,onClose:w,role:A="alert",severity:x="success",slotProps:H={},slots:S={},variant:z="standard",...O}=r,C={...r,color:f,severity:x,variant:z,colorSeverity:f||x},D=pz(C),k={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...S},slotProps:{...h,...H}},[R,M]=hn("closeButton",{elementType:Sr,externalForwardedProps:k,ownerState:C}),[L,j]=hn("closeIcon",{elementType:h1,externalForwardedProps:k,ownerState:C});return v.jsxs(vz,{role:A,elevation:0,ownerState:C,className:Oe(D.root,l),ref:n,...O,children:[m!==!1?v.jsx(hz,{ownerState:C,className:D.icon,children:m||P[x]||G8[x]}):null,v.jsx(mz,{ownerState:C,className:D.message,children:a}),s!=null?v.jsx(Z8,{ownerState:C,className:D.action,children:s}):null,s==null&&w?v.jsx(Z8,{ownerState:C,className:D.action,children:v.jsx(R,{size:"small","aria-label":u,title:u,color:"inherit",onClick:w,...M,children:v.jsx(L,{fontSize:"small",...j})})}):null]})});function gz(e){return Ze("MuiTypography",e)}const U8=Ge("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),yz={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Az=jS(),Pz=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 Ke(u,gz,l)},bz=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]}})(Qe(({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(mn()).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}}]}})),Q8={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},bt=y.forwardRef(function(t,n){const{color:r,...s}=$e({props:t,name:"MuiTypography"}),a=!yz[r],l=Az({...s,...a&&{color:r}}),{align:u="inherit",className:f,component:p,gutterBottom:h=!1,noWrap:m=!1,paragraph:P=!1,variant:w="body1",variantMapping:A=Q8,...x}=l,H={...l,align:u,color:r,className:f,component:p,gutterBottom:h,noWrap:m,paragraph:P,variant:w,variantMapping:A},S=p||(P?"p":A[w]||Q8[w])||"span",z=Pz(H);return v.jsx(bz,{as:S,ref:n,className:Oe(z.root,f),...x,ownerState:H,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...x.style}})});function xz(e){return Ze("MuiAppBar",e)}Ge("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const wz=e=>{const{color:t,position:n,classes:r}=e,s={root:["root",`color${me(t)}`,`position${me(n)}`]};return Ke(s,xz,r)},K8=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,Hz=pe(Zr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],t[`color${me(n.color)}`]]}})(Qe(({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(mn(["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?K8(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?K8(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"})}}]}))),jz=y.forwardRef(function(t,n){const r=$e({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=wz(p);return v.jsx(Hz,{square:!0,component:"header",ownerState:p,elevation:4,className:Oe(h.root,s,u==="fixed"&&"mui-fixed"),ref:n,...f})});function _8(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Sz(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=_8(h));const m=h?u.filter(P=>{let w=(a||p)(P);return n&&(w=w.toLowerCase()),t&&(w=_8(w)),s==="start"?w.startsWith(h):w.includes(h)}):u;return typeof r=="number"?m.slice(0,r):m}}const zz=Sz(),$8=5,Oz=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},Cz=[];function Dz(e){const{unstable_isActiveElementInListbox:t=Oz,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?Cz:null,disableClearable:m=!1,disableCloseOnSelect:P=!1,disabled:w,disabledItemsFocusable:A=!1,disableListWrap:x=!1,filterOptions:H=zz,filterSelectedOptions:S=!1,freeSolo:z=!1,getOptionDisabled:O,getOptionKey:C,getOptionLabel:D=oe=>oe.label??oe,groupBy:k,handleHomeEndKeys:R=!e.freeSolo,id:M,includeInputInList:L=!1,inputValue:j,isOptionEqualToValue:B=(oe,ue)=>oe===ue,multiple:I=!1,onChange:W,onClose:_,onHighlightChange:J,onInputChange:ee,onOpen:ne,open:Z,openOnFocus:Q=!1,options:E,readOnly:U=!1,selectOnFocus:X=!e.freeSolo,value:re}=e,$=ks(M);let ce=D;ce=oe=>{const ue=D(oe);return typeof ue!="string"?String(ue):ue};const de=y.useRef(!1),xe=y.useRef(!0),ve=y.useRef(null),be=y.useRef(null),[Xe,Ve]=y.useState(null),[He,We]=y.useState(-1),we=s?0:-1,rt=y.useRef(we),[Me,ut]=gi({controlled:re,default:h,name:p}),[N,te]=gi({controlled:j,default:"",name:p,state:"inputValue"}),[se,Ae]=y.useState(!1),le=y.useCallback((oe,ue,Ee)=>{if(!(I?Me.length!(S&&(I?Me:[Me]).some(ue=>ue!==null&&B(oe,ue)))),{inputValue:ot&&_e?"":N,getOptionLabel:ce}):[],wt=gj({filteredOptions:ft,value:Me,inputValue:N});y.useEffect(()=>{const oe=Me!==wt.value;se&&!oe||z&&!oe||le(null,Me,"reset")},[Me,le,se,wt.value,z]);const Ie=Pe&&ft.length>0&&!U,St=hr(oe=>{oe===-1?ve.current.focus():Xe.querySelector(`[data-tag-index="${oe}"]`).focus()});y.useEffect(()=>{I&&He>Me.length-1&&(We(-1),St(-1))},[Me,I,He,St]);function Jt(oe,ue){if(!be.current||oe<0||oe>=ft.length)return-1;let Ee=oe;for(;;){const nt=be.current.querySelector(`[data-option-index="${Ee}"]`),lt=A?!1:!nt||nt.disabled||nt.getAttribute("aria-disabled")==="true";if(nt&&nt.hasAttribute("tabindex")&&!lt)return Ee;if(ue==="next"?Ee=(Ee+1)%ft.length:Ee=(Ee-1+ft.length)%ft.length,Ee===oe)return-1}}const Bt=hr(({event:oe,index:ue,reason:Ee="auto"})=>{if(rt.current=ue,ue===-1?ve.current.removeAttribute("aria-activedescendant"):ve.current.setAttribute("aria-activedescendant",`${$}-option-${ue}`),J&&J(oe,ue===-1?null:ft[ue],Ee),!be.current)return;const nt=be.current.querySelector(`[role="option"].${n}-focused`);nt&&(nt.classList.remove(`${n}-focused`),nt.classList.remove(`${n}-focusVisible`));let lt=be.current;if(be.current.getAttribute("role")!=="listbox"&&(lt=be.current.parentElement.querySelector('[role="listbox"]')),!lt)return;if(ue===-1){lt.scrollTop=0;return}const It=be.current.querySelector(`[data-option-index="${ue}"]`);if(It&&(It.classList.add(`${n}-focused`),Ee==="keyboard"&&It.classList.add(`${n}-focusVisible`),lt.scrollHeight>lt.clientHeight&&Ee!=="mouse"&&Ee!=="touch")){const Xt=It,Mn=lt.clientHeight+lt.scrollTop,yo=Xt.offsetTop+Xt.offsetHeight;yo>Mn?lt.scrollTop=yo-lt.clientHeight:Xt.offsetTop-Xt.offsetHeight*(k?1.3:0){if(!at)return;const It=Jt((()=>{const Xt=ft.length-1;if(ue==="reset")return we;if(ue==="start")return 0;if(ue==="end")return Xt;const Mn=rt.current+ue;return Mn<0?Mn===-1&&L?-1:x&&rt.current!==-1||Math.abs(ue)>1?0:Xt:Mn>Xt?Mn===Xt+1&&L?-1:x||Math.abs(ue)>1?Xt:0:Mn})(),Ee);if(Bt({index:It,reason:nt,event:oe}),r&&ue!=="reset")if(It===-1)ve.current.value=N;else{const Xt=ce(ft[It]);ve.current.value=Xt,Xt.toLowerCase().indexOf(N.toLowerCase())===0&&N.length>0&&ve.current.setSelectionRange(N.length,Xt.length)}}),Y=()=>{const oe=(ue,Ee)=>{const nt=ue?ce(ue):"",lt=Ee?ce(Ee):"";return nt===lt};if(rt.current!==-1&&wt.filteredOptions&&wt.filteredOptions.length!==ft.length&&wt.inputValue===N&&(I?Me.length===wt.value.length&&wt.value.every((ue,Ee)=>ce(Me[Ee])===ce(ue)):oe(wt.value,Me))){const ue=wt.filteredOptions[rt.current];if(ue)return ft.findIndex(Ee=>ce(Ee)===ce(ue))}return-1},ge=y.useCallback(()=>{if(!at)return;const oe=Y();if(oe!==-1){rt.current=oe;return}const ue=I?Me[0]:Me;if(ft.length===0||ue==null){F({diff:"reset"});return}if(be.current){if(ue!=null){const Ee=ft[rt.current];if(I&&Ee&&Me.findIndex(lt=>B(Ee,lt))!==-1)return;const nt=ft.findIndex(lt=>B(lt,ue));nt===-1?F({diff:"reset"}):Bt({index:nt});return}if(rt.current>=ft.length-1){Bt({index:ft.length-1});return}Bt({index:rt.current})}},[ft.length,I?!1:Me,S,F,Bt,at,N,I]),Ce=hr(oe=>{op(be,oe),oe&&ge()});y.useEffect(()=>{ge()},[ge]);const De=oe=>{Pe||(je(!0),xt(!0),ne&&ne(oe))},Ne=(oe,ue)=>{Pe&&(je(!1),_&&_(oe,ue))},Je=(oe,ue,Ee,nt)=>{if(I){if(Me.length===ue.length&&Me.every((lt,It)=>lt===ue[It]))return}else if(Me===ue)return;W&&W(oe,ue,Ee,nt),ut(ue)},ke=y.useRef(!1),tt=(oe,ue,Ee="selectOption",nt="options")=>{let lt=Ee,It=ue;if(I){It=Array.isArray(Me)?Me.slice():[];const Xt=It.findIndex(Mn=>B(ue,Mn));Xt===-1?It.push(ue):nt!=="freeSolo"&&(It.splice(Xt,1),lt="removeOption")}le(oe,It,lt),Je(oe,It,lt,{option:ue}),!P&&(!oe||!oe.ctrlKey&&!oe.metaKey)&&Ne(oe,lt),(l===!0||l==="touch"&&ke.current||l==="mouse"&&!ke.current)&&ve.current.blur()};function pt(oe,ue){if(oe===-1)return-1;let Ee=oe;for(;;){if(ue==="next"&&Ee===Me.length||ue==="previous"&&Ee===-1)return-1;const nt=Xe.querySelector(`[data-tag-index="${Ee}"]`);if(!nt||!nt.hasAttribute("tabindex")||nt.disabled||nt.getAttribute("aria-disabled")==="true")Ee+=ue==="next"?1:-1;else return Ee}}const Tt=(oe,ue)=>{if(!I)return;N===""&&Ne(oe,"toggleInput");let Ee=He;He===-1?N===""&&ue==="previous"&&(Ee=Me.length-1):(Ee+=ue==="next"?1:-1,Ee<0&&(Ee=0),Ee===Me.length&&(Ee=-1)),Ee=pt(Ee,ue),We(Ee),St(Ee)},Ut=oe=>{de.current=!0,te(""),ee&&ee(oe,"","clear"),Je(oe,I?[]:null,"clear")},Fe=oe=>ue=>{if(oe.onKeyDown&&oe.onKeyDown(ue),!ue.defaultMuiPrevented&&(He!==-1&&!["ArrowLeft","ArrowRight"].includes(ue.key)&&(We(-1),St(-1)),ue.which!==229))switch(ue.key){case"Home":at&&R&&(ue.preventDefault(),F({diff:"start",direction:"next",reason:"keyboard",event:ue}));break;case"End":at&&R&&(ue.preventDefault(),F({diff:"end",direction:"previous",reason:"keyboard",event:ue}));break;case"PageUp":ue.preventDefault(),F({diff:-$8,direction:"previous",reason:"keyboard",event:ue}),De(ue);break;case"PageDown":ue.preventDefault(),F({diff:$8,direction:"next",reason:"keyboard",event:ue}),De(ue);break;case"ArrowDown":ue.preventDefault(),F({diff:1,direction:"next",reason:"keyboard",event:ue}),De(ue);break;case"ArrowUp":ue.preventDefault(),F({diff:-1,direction:"previous",reason:"keyboard",event:ue}),De(ue);break;case"ArrowLeft":Tt(ue,"previous");break;case"ArrowRight":Tt(ue,"next");break;case"Enter":if(rt.current!==-1&&at){const Ee=ft[rt.current],nt=O?O(Ee):!1;if(ue.preventDefault(),nt)return;tt(ue,Ee,"selectOption"),r&&ve.current.setSelectionRange(ve.current.value.length,ve.current.value.length)}else z&&N!==""&&ot===!1&&(I&&ue.preventDefault(),tt(ue,N,"createOption","freeSolo"));break;case"Escape":at?(ue.preventDefault(),ue.stopPropagation(),Ne(ue,"escape")):f&&(N!==""||I&&Me.length>0)&&(ue.preventDefault(),ue.stopPropagation(),Ut(ue));break;case"Backspace":if(I&&!U&&N===""&&Me.length>0){const Ee=He===-1?Me.length-1:He,nt=Me.slice();nt.splice(Ee,1),Je(ue,nt,"removeOption",{option:Me[Ee]})}break;case"Delete":if(I&&!U&&N===""&&Me.length>0&&He!==-1){const Ee=He,nt=Me.slice();nt.splice(Ee,1),Je(ue,nt,"removeOption",{option:Me[Ee]})}break}},kt=oe=>{Ae(!0),Q&&!de.current&&De(oe)},cn=oe=>{if(t(be)){ve.current.focus();return}Ae(!1),xe.current=!0,de.current=!1,a&&rt.current!==-1&&at?tt(oe,ft[rt.current],"blur"):a&&z&&N!==""?tt(oe,N,"blur","freeSolo"):u&&le(oe,Me,"blur"),Ne(oe,"blur")},Sn=oe=>{const ue=oe.target.value;N!==ue&&(te(ue),xt(!1),ee&&ee(oe,ue,"input")),ue===""?!m&&!I&&Je(oe,null,"clear"):De(oe)},Zn=oe=>{const ue=Number(oe.currentTarget.getAttribute("data-option-index"));rt.current!==ue&&Bt({event:oe,index:ue,reason:"mouse"})},yn=oe=>{Bt({event:oe,index:Number(oe.currentTarget.getAttribute("data-option-index")),reason:"touch"}),ke.current=!0},Er=oe=>{const ue=Number(oe.currentTarget.getAttribute("data-option-index"));tt(oe,ft[ue],"selectOption"),ke.current=!1},ho=oe=>ue=>{const Ee=Me.slice();Ee.splice(oe,1),Je(ue,Ee,"removeOption",{option:Me[oe]})},mo=oe=>{Pe?Ne(oe,"toggleInput"):De(oe)},fs=oe=>{oe.currentTarget.contains(oe.target)&&oe.target.getAttribute("id")!==$&&oe.preventDefault()},go=oe=>{oe.currentTarget.contains(oe.target)&&(ve.current.focus(),X&&xe.current&&ve.current.selectionEnd-ve.current.selectionStart===0&&ve.current.select(),xe.current=!1)},An=oe=>{!w&&(N===""||!Pe)&&mo(oe)};let rn=z&&N.length>0;rn=rn||(I?Me.length>0:Me!==null);let Re=ft;return k&&(Re=ft.reduce((oe,ue,Ee)=>{const nt=k(ue);return oe.length>0&&oe[oe.length-1].group===nt?oe[oe.length-1].options.push(ue):oe.push({key:Ee,index:Ee,group:nt,options:[ue]}),oe},[])),w&&se&&cn(),{getRootProps:(oe={})=>({"aria-owns":Ie?`${$}-listbox`:null,...oe,onKeyDown:Fe(oe),onMouseDown:fs,onClick:go}),getInputLabelProps:()=>({id:`${$}-label`,htmlFor:$}),getInputProps:()=>({id:$,value:N,onBlur:cn,onFocus:kt,onChange:Sn,onMouseDown:An,"aria-activedescendant":at?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Ie?`${$}-listbox`:void 0,"aria-expanded":Ie,autoComplete:"off",ref:ve,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:w}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ut}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:mo}),getTagProps:({index:oe})=>({key:oe,"data-tag-index":oe,tabIndex:-1,...!U&&{onDelete:ho(oe)}}),getListboxProps:()=>({role:"listbox",id:`${$}-listbox`,"aria-labelledby":`${$}-label`,ref:Ce,onMouseDown:oe=>{oe.preventDefault()}}),getOptionProps:({index:oe,option:ue})=>{const Ee=(I?Me:[Me]).some(lt=>lt!=null&&B(ue,lt)),nt=O?O(ue):!1;return{key:(C==null?void 0:C(ue))??ce(ue),tabIndex:-1,role:"option",id:`${$}-option-${oe}`,onMouseMove:Zn,onClick:Er,onTouchStart:yn,"data-option-index":oe,"aria-disabled":nt,"aria-selected":Ee}},id:$,inputValue:N,value:Me,dirty:rn,expanded:at&&Xe,popupOpen:at,focused:se||He!==-1,anchorEl:Xe,setAnchorEl:Ve,focusedTag:He,groupedOptions:Re}}var zr="top",fo="bottom",po="right",Or="left",Cy="auto",qu=[zr,fo,po,Or],Cl="start",Hu="end",Tz="clippingParents",m1="viewport",kc="popper",kz="reference",ex=qu.reduce(function(e,t){return e.concat([t+"-"+Cl,t+"-"+Hu])},[]),g1=[].concat(qu,[Cy]).reduce(function(e,t){return e.concat([t,t+"-"+Cl,t+"-"+Hu])},[]),Rz="beforeRead",Ez="read",Mz="afterRead",Lz="beforeMain",Xz="main",Nz="afterMain",Bz="beforeWrite",Vz="write",Iz="afterWrite",Wz=[Rz,Ez,Mz,Lz,Xz,Nz,Bz,Vz,Iz];function ss(e){return e?(e.nodeName||"").toLowerCase():null}function Gr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function fa(e){var t=Gr(e).Element;return e instanceof t||e instanceof Element}function co(e){var t=Gr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Dy(e){if(typeof ShadowRoot>"u")return!1;var t=Gr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Jz(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];!co(a)||!ss(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 Fz(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},{});!co(s)||!ss(s)||(Object.assign(s.style,u),Object.keys(a).forEach(function(f){s.removeAttribute(f)}))})}}const Yz={name:"applyStyles",enabled:!0,phase:"write",fn:Jz,effect:Fz,requires:["computeStyles"]};function rs(e){return e.split("-")[0]}var sa=Math.max,cp=Math.min,Dl=Math.round;function fg(){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 y1(){return!/^((?!chrome|android).)*safari/i.test(fg())}function Tl(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,a=1;t&&co(e)&&(s=e.offsetWidth>0&&Dl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Dl(r.height)/e.offsetHeight||1);var l=fa(e)?Gr(e):window,u=l.visualViewport,f=!y1()&&n,p=(r.left+(f&&u?u.offsetLeft:0))/s,h=(r.top+(f&&u?u.offsetTop:0))/a,m=r.width/s,P=r.height/a;return{width:m,height:P,top:h,right:p+m,bottom:h+P,left:p,x:p,y:h}}function Ty(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 A1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Dy(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Rs(e){return Gr(e).getComputedStyle(e)}function qz(e){return["table","td","th"].indexOf(ss(e))>=0}function xi(e){return((fa(e)?e.ownerDocument:e.document)||window.document).documentElement}function Yp(e){return ss(e)==="html"?e:e.assignedSlot||e.parentNode||(Dy(e)?e.host:null)||xi(e)}function tx(e){return!co(e)||Rs(e).position==="fixed"?null:e.offsetParent}function Zz(e){var t=/firefox/i.test(fg()),n=/Trident/i.test(fg());if(n&&co(e)){var r=Rs(e);if(r.position==="fixed")return null}var s=Yp(e);for(Dy(s)&&(s=s.host);co(s)&&["html","body"].indexOf(ss(s))<0;){var a=Rs(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 Zu(e){for(var t=Gr(e),n=tx(e);n&&qz(n)&&Rs(n).position==="static";)n=tx(n);return n&&(ss(n)==="html"||ss(n)==="body"&&Rs(n).position==="static")?t:n||Zz(e)||t}function ky(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function cu(e,t,n){return sa(e,cp(t,n))}function Gz(e,t,n){var r=cu(e,t,n);return r>n?n:r}function P1(){return{top:0,right:0,bottom:0,left:0}}function b1(e){return Object.assign({},P1(),e)}function x1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Uz=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,b1(typeof t!="number"?t:x1(t,qu))};function Qz(e){var t,n=e.state,r=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=rs(n.placement),f=ky(u),p=[Or,po].indexOf(u)>=0,h=p?"height":"width";if(!(!a||!l)){var m=Uz(s.padding,n),P=Ty(a),w=f==="y"?zr:Or,A=f==="y"?fo:po,x=n.rects.reference[h]+n.rects.reference[f]-l[f]-n.rects.popper[h],H=l[f]-n.rects.reference[f],S=Zu(a),z=S?f==="y"?S.clientHeight||0:S.clientWidth||0:0,O=x/2-H/2,C=m[w],D=z-P[h]-m[A],k=z/2-P[h]/2+O,R=cu(C,k,D),M=f;n.modifiersData[r]=(t={},t[M]=R,t.centerOffset=R-k,t)}}function Kz(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)||A1(t.elements.popper,s)&&(t.elements.arrow=s))}const _z={name:"arrow",enabled:!0,phase:"main",fn:Qz,effect:Kz,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function kl(e){return e.split("-")[1]}var $z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function eO(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:Dl(n*s)/s||0,y:Dl(r*s)/s||0}}function nx(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,P=l.x,w=P===void 0?0:P,A=l.y,x=A===void 0?0:A,H=typeof h=="function"?h({x:w,y:x}):{x:w,y:x};w=H.x,x=H.y;var S=l.hasOwnProperty("x"),z=l.hasOwnProperty("y"),O=Or,C=zr,D=window;if(p){var k=Zu(n),R="clientHeight",M="clientWidth";if(k===Gr(n)&&(k=xi(n),Rs(k).position!=="static"&&u==="absolute"&&(R="scrollHeight",M="scrollWidth")),k=k,s===zr||(s===Or||s===po)&&a===Hu){C=fo;var L=m&&k===D&&D.visualViewport?D.visualViewport.height:k[R];x-=L-r.height,x*=f?1:-1}if(s===Or||(s===zr||s===fo)&&a===Hu){O=po;var j=m&&k===D&&D.visualViewport?D.visualViewport.width:k[M];w-=j-r.width,w*=f?1:-1}}var B=Object.assign({position:u},p&&$z),I=h===!0?eO({x:w,y:x},Gr(n)):{x:w,y:x};if(w=I.x,x=I.y,f){var W;return Object.assign({},B,(W={},W[C]=z?"0":"",W[O]=S?"0":"",W.transform=(D.devicePixelRatio||1)<=1?"translate("+w+"px, "+x+"px)":"translate3d("+w+"px, "+x+"px, 0)",W))}return Object.assign({},B,(t={},t[C]=z?x+"px":"",t[O]=S?w+"px":"",t.transform="",t))}function tO(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:rs(t.placement),variation:kl(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,nx(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,nx(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 nO={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:tO,data:{}};var Ad={passive:!0};function rO(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=Gr(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach(function(h){h.addEventListener("scroll",n.update,Ad)}),u&&f.addEventListener("resize",n.update,Ad),function(){a&&p.forEach(function(h){h.removeEventListener("scroll",n.update,Ad)}),u&&f.removeEventListener("resize",n.update,Ad)}}const oO={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:rO,data:{}};var sO={left:"right",right:"left",bottom:"top",top:"bottom"};function Vd(e){return e.replace(/left|right|bottom|top/g,function(t){return sO[t]})}var iO={start:"end",end:"start"};function rx(e){return e.replace(/start|end/g,function(t){return iO[t]})}function Ry(e){var t=Gr(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ey(e){return Tl(xi(e)).left+Ry(e).scrollLeft}function aO(e,t){var n=Gr(e),r=xi(e),s=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,f=0;if(s){a=s.width,l=s.height;var p=y1();(p||!p&&t==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:a,height:l,x:u+Ey(e),y:f}}function lO(e){var t,n=xi(e),r=Ry(e),s=(t=e.ownerDocument)==null?void 0:t.body,a=sa(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=sa(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),u=-r.scrollLeft+Ey(e),f=-r.scrollTop;return Rs(s||n).direction==="rtl"&&(u+=sa(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:u,y:f}}function My(e){var t=Rs(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function w1(e){return["html","body","#document"].indexOf(ss(e))>=0?e.ownerDocument.body:co(e)&&My(e)?e:w1(Yp(e))}function uu(e,t){var n;t===void 0&&(t=[]);var r=w1(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),a=Gr(r),l=s?[a].concat(a.visualViewport||[],My(r)?r:[]):r,u=t.concat(l);return s?u:u.concat(uu(Yp(l)))}function dg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function cO(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 ox(e,t,n){return t===m1?dg(aO(e,n)):fa(t)?cO(t,n):dg(lO(xi(e)))}function uO(e){var t=uu(Yp(e)),n=["absolute","fixed"].indexOf(Rs(e).position)>=0,r=n&&co(e)?Zu(e):e;return fa(r)?t.filter(function(s){return fa(s)&&A1(s,r)&&ss(s)!=="body"}):[]}function fO(e,t,n,r){var s=t==="clippingParents"?uO(e):[].concat(t),a=[].concat(s,[n]),l=a[0],u=a.reduce(function(f,p){var h=ox(e,p,r);return f.top=sa(h.top,f.top),f.right=cp(h.right,f.right),f.bottom=cp(h.bottom,f.bottom),f.left=sa(h.left,f.left),f},ox(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 H1(e){var t=e.reference,n=e.element,r=e.placement,s=r?rs(r):null,a=r?kl(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(s){case zr:f={x:l,y:t.y-n.height};break;case fo:f={x:l,y:t.y+t.height};break;case po:f={x:t.x+t.width,y:u};break;case Or:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var p=s?ky(s):null;if(p!=null){var h=p==="y"?"height":"width";switch(a){case Cl:f[p]=f[p]-(t[h]/2-n[h]/2);break;case Hu:f[p]=f[p]+(t[h]/2-n[h]/2);break}}return f}function ju(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?Tz:u,p=n.rootBoundary,h=p===void 0?m1:p,m=n.elementContext,P=m===void 0?kc:m,w=n.altBoundary,A=w===void 0?!1:w,x=n.padding,H=x===void 0?0:x,S=b1(typeof H!="number"?H:x1(H,qu)),z=P===kc?kz:kc,O=e.rects.popper,C=e.elements[A?z:P],D=fO(fa(C)?C:C.contextElement||xi(e.elements.popper),f,h,l),k=Tl(e.elements.reference),R=H1({reference:k,element:O,strategy:"absolute",placement:s}),M=dg(Object.assign({},O,R)),L=P===kc?M:k,j={top:D.top-L.top+S.top,bottom:L.bottom-D.bottom+S.bottom,left:D.left-L.left+S.left,right:L.right-D.right+S.right},B=e.modifiersData.offset;if(P===kc&&B){var I=B[s];Object.keys(j).forEach(function(W){var _=[po,fo].indexOf(W)>=0?1:-1,J=[zr,fo].indexOf(W)>=0?"y":"x";j[W]+=I[J]*_})}return j}function dO(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?g1:f,h=kl(r),m=h?u?ex:ex.filter(function(A){return kl(A)===h}):qu,P=m.filter(function(A){return p.indexOf(A)>=0});P.length===0&&(P=m);var w=P.reduce(function(A,x){return A[x]=ju(e,{placement:x,boundary:s,rootBoundary:a,padding:l})[rs(x)],A},{});return Object.keys(w).sort(function(A,x){return w[A]-w[x]})}function pO(e){if(rs(e)===Cy)return[];var t=Vd(e);return[rx(e),t,rx(t)]}function vO(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,P=n.altBoundary,w=n.flipVariations,A=w===void 0?!0:w,x=n.allowedAutoPlacements,H=t.options.placement,S=rs(H),z=S===H,O=f||(z||!A?[Vd(H)]:pO(H)),C=[H].concat(O).reduce(function($,ce){return $.concat(rs(ce)===Cy?dO(t,{placement:ce,boundary:h,rootBoundary:m,padding:p,flipVariations:A,allowedAutoPlacements:x}):ce)},[]),D=t.rects.reference,k=t.rects.popper,R=new Map,M=!0,L=C[0],j=0;j=0,J=_?"width":"height",ee=ju(t,{placement:B,boundary:h,rootBoundary:m,altBoundary:P,padding:p}),ne=_?W?po:Or:W?fo:zr;D[J]>k[J]&&(ne=Vd(ne));var Z=Vd(ne),Q=[];if(a&&Q.push(ee[I]<=0),u&&Q.push(ee[ne]<=0,ee[Z]<=0),Q.every(function($){return $})){L=B,M=!1;break}R.set(B,Q)}if(M)for(var E=A?3:1,U=function(ce){var de=C.find(function(xe){var ve=R.get(xe);if(ve)return ve.slice(0,ce).every(function(be){return be})});if(de)return L=de,"break"},X=E;X>0;X--){var re=U(X);if(re==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}const hO={name:"flip",enabled:!0,phase:"main",fn:vO,requiresIfExists:["offset"],data:{_skip:!1}};function sx(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 ix(e){return[zr,po,fo,Or].some(function(t){return e[t]>=0})}function mO(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=ju(t,{elementContext:"reference"}),u=ju(t,{altBoundary:!0}),f=sx(l,r),p=sx(u,s,a),h=ix(f),m=ix(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 gO={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:mO};function yO(e,t,n){var r=rs(e),s=[Or,zr].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,[Or,po].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function AO(e){var t=e.state,n=e.options,r=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=g1.reduce(function(h,m){return h[m]=yO(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 PO={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:AO};function bO(e){var t=e.state,n=e.name;t.modifiersData[n]=H1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const xO={name:"popperOffsets",enabled:!0,phase:"read",fn:bO,data:{}};function wO(e){return e==="x"?"y":"x"}function HO(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,P=n.tether,w=P===void 0?!0:P,A=n.tetherOffset,x=A===void 0?0:A,H=ju(t,{boundary:f,rootBoundary:p,padding:m,altBoundary:h}),S=rs(t.placement),z=kl(t.placement),O=!z,C=ky(S),D=wO(C),k=t.modifiersData.popperOffsets,R=t.rects.reference,M=t.rects.popper,L=typeof x=="function"?x(Object.assign({},t.rects,{placement:t.placement})):x,j=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(k){if(a){var W,_=C==="y"?zr:Or,J=C==="y"?fo:po,ee=C==="y"?"height":"width",ne=k[C],Z=ne+H[_],Q=ne-H[J],E=w?-M[ee]/2:0,U=z===Cl?R[ee]:M[ee],X=z===Cl?-M[ee]:-R[ee],re=t.elements.arrow,$=w&&re?Ty(re):{width:0,height:0},ce=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:P1(),de=ce[_],xe=ce[J],ve=cu(0,R[ee],$[ee]),be=O?R[ee]/2-E-ve-de-j.mainAxis:U-ve-de-j.mainAxis,Xe=O?-R[ee]/2+E+ve+xe+j.mainAxis:X+ve+xe+j.mainAxis,Ve=t.elements.arrow&&Zu(t.elements.arrow),He=Ve?C==="y"?Ve.clientTop||0:Ve.clientLeft||0:0,We=(W=B==null?void 0:B[C])!=null?W:0,we=ne+be-We-He,rt=ne+Xe-We,Me=cu(w?cp(Z,we):Z,ne,w?sa(Q,rt):Q);k[C]=Me,I[C]=Me-ne}if(u){var ut,N=C==="x"?zr:Or,te=C==="x"?fo:po,se=k[D],Ae=D==="y"?"height":"width",le=se+H[N],Pe=se-H[te],je=[zr,Or].indexOf(S)!==-1,_e=(ut=B==null?void 0:B[D])!=null?ut:0,xt=je?le:se-R[Ae]-M[Ae]-_e+j.altAxis,ot=je?se+R[Ae]+M[Ae]-_e-j.altAxis:Pe,at=w&&je?Gz(xt,se,ot):cu(w?xt:le,se,w?ot:Pe);k[D]=at,I[D]=at-se}t.modifiersData[r]=I}}const jO={name:"preventOverflow",enabled:!0,phase:"main",fn:HO,requiresIfExists:["offset"]};function SO(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function zO(e){return e===Gr(e)||!co(e)?Ry(e):SO(e)}function OO(e){var t=e.getBoundingClientRect(),n=Dl(t.width)/e.offsetWidth||1,r=Dl(t.height)/e.offsetHeight||1;return n!==1||r!==1}function CO(e,t,n){n===void 0&&(n=!1);var r=co(t),s=co(t)&&OO(t),a=xi(t),l=Tl(e,s,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((ss(t)!=="body"||My(a))&&(u=zO(t)),co(t)?(f=Tl(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=Ey(a))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function DO(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 TO(e){var t=DO(e);return Wz.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function kO(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function RO(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 ax={placement:"bottom",modifiers:[],strategy:"absolute"};function lx(){for(var e=arguments.length,t=new Array(e),n=0;n{a||u(XO(s)||document.body)},[s,a]),uo(()=>{if(l&&!a)return op(n,l),()=>{op(n,null)}},[n,l,a]),a){if(y.isValidElement(r)){const p={ref:f};return y.cloneElement(r,p)}return r}return l&&v1.createPortal(r,l)});function NO(e){return Ze("MuiPopper",e)}Ge("MuiPopper",["root"]);function BO(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 pg(e){return typeof e=="function"?e():e}function VO(e){return e.nodeType!==void 0}const IO=e=>{const{classes:t}=e;return Ke({root:["root"]},NO,t)},WO={},JO=y.forwardRef(function(t,n){const{anchorEl:r,children:s,direction:a,disablePortal:l,modifiers:u,open:f,placement:p,popperOptions:h,popperRef:m,slotProps:P={},slots:w={},TransitionProps:A,ownerState:x,...H}=t,S=y.useRef(null),z=nn(S,n),O=y.useRef(null),C=nn(O,m),D=y.useRef(C);uo(()=>{D.current=C},[C]),y.useImperativeHandle(m,()=>O.current,[]);const k=BO(p,a),[R,M]=y.useState(k),[L,j]=y.useState(pg(r));y.useEffect(()=>{O.current&&O.current.forceUpdate()}),y.useEffect(()=>{r&&j(pg(r))},[r]),uo(()=>{if(!L||!f)return;const J=Z=>{M(Z.placement)};let ee=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:Z})=>{J(Z)}}];u!=null&&(ee=ee.concat(u)),h&&h.modifiers!=null&&(ee=ee.concat(h.modifiers));const ne=LO(L,S.current,{placement:k,...h,modifiers:ee});return D.current(ne),()=>{ne.destroy(),D.current(null)}},[L,l,u,f,h,k]);const B={placement:R};A!==null&&(B.TransitionProps=A);const I=IO(t),W=w.root??"div",_=ip({elementType:W,externalSlotProps:P.root,externalForwardedProps:H,additionalProps:{role:"tooltip",ref:z},ownerState:t,className:I.root});return v.jsx(W,{..._,children:typeof s=="function"?s(B):s})}),FO=y.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:P=WO,popperRef:w,style:A,transition:x=!1,slotProps:H={},slots:S={},...z}=t,[O,C]=y.useState(!0),D=()=>{C(!1)},k=()=>{C(!0)};if(!f&&!h&&(!x||O))return null;let R;if(a)R=a;else if(r){const j=pg(r);R=j&&VO(j)?sr(j).body:sr(null).body}const M=!h&&f&&(!x||O)?"none":void 0,L=x?{in:h,onEnter:D,onExited:k}:void 0;return v.jsx(j1,{disablePortal:u,container:R,children:v.jsx(JO,{anchorEl:r,direction:l,disablePortal:u,modifiers:p,ref:n,open:x?!O:h,placement:m,popperOptions:P,popperRef:w,slotProps:H,slots:S,...z,style:{position:"fixed",top:0,left:0,display:M,...A},TransitionProps:L,children:s})})}),YO=pe(FO,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),qp=y.forwardRef(function(t,n){const r=Fu(),s=$e({props:t,name:"MuiPopper"}),{anchorEl:a,component:l,components:u,componentsProps:f,container:p,disablePortal:h,keepMounted:m,modifiers:P,open:w,placement:A,popperOptions:x,popperRef:H,transition:S,slots:z,slotProps:O,...C}=s,D=(z==null?void 0:z.root)??(u==null?void 0:u.Root),k={anchorEl:a,container:p,disablePortal:h,keepMounted:m,modifiers:P,open:w,placement:A,popperOptions:x,popperRef:H,transition:S,...C};return v.jsx(YO,{as:l,direction:r?"rtl":"ltr",slots:{root:D},slotProps:O??f,...k,ref:n})});function qO(e){return Ze("MuiListSubheader",e)}Ge("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const ZO=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 Ke(l,qO,t)},GO=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]}})(Qe(({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}}]}))),vg=y.forwardRef(function(t,n){const r=$e({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},P=ZO(m);return v.jsx(GO,{as:l,className:Oe(P.root,s),ref:n,ownerState:m,...h})});vg&&(vg.muiSkipListHighlight=!0);const UO=yt(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 QO(e){return Ze("MuiChip",e)}const Et=Ge("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"]),KO=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 Ke(p,QO,t)},_O=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[{[`& .${Et.avatar}`]:t.avatar},{[`& .${Et.avatar}`]:t[`avatar${me(u)}`]},{[`& .${Et.avatar}`]:t[`avatarColor${me(r)}`]},{[`& .${Et.icon}`]:t.icon},{[`& .${Et.icon}`]:t[`icon${me(u)}`]},{[`& .${Et.icon}`]:t[`iconColor${me(s)}`]},{[`& .${Et.deleteIcon}`]:t.deleteIcon},{[`& .${Et.deleteIcon}`]:t[`deleteIcon${me(u)}`]},{[`& .${Et.deleteIcon}`]:t[`deleteIconColor${me(r)}`]},{[`& .${Et.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)}`]]}})(Qe(({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",[`&.${Et.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Et.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Et.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Et.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Et.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Et.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Et.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:At(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)`:At(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Et.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Et.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(mn(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Et.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:At(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Et.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Et.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Et.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:At(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(mn(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Et.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}))`:At(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Et.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:At(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(mn(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Et.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]}`,[`&.${Et.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Et.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Et.avatar}`]:{marginLeft:4},[`& .${Et.avatarSmall}`]:{marginLeft:2},[`& .${Et.icon}`]:{marginLeft:4},[`& .${Et.iconSmall}`]:{marginLeft:2},[`& .${Et.deleteIcon}`]:{marginRight:5},[`& .${Et.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(mn()).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)`:At(e.palette[n].main,.7)}`,[`&.${Et.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:At(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${Et.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:At(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${Et.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:At(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),$O=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 cx(e){return e.key==="Backspace"||e.key==="Delete"}const Gu=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiChip"}),{avatar:s,className:a,clickable:l,color:u="default",component:f,deleteIcon:p,disabled:h=!1,icon:m,label:P,onClick:w,onDelete:A,onKeyDown:x,onKeyUp:H,size:S="medium",variant:z="filled",tabIndex:O,skipFocusWhenDisabled:C=!1,...D}=r,k=y.useRef(null),R=nn(k,n),M=Q=>{Q.stopPropagation(),A&&A(Q)},L=Q=>{Q.currentTarget===Q.target&&cx(Q)&&Q.preventDefault(),x&&x(Q)},j=Q=>{Q.currentTarget===Q.target&&A&&cx(Q)&&A(Q),H&&H(Q)},B=l!==!1&&w?!0:l,I=B||A?ua:f||"div",W={...r,component:I,disabled:h,size:S,color:u,iconColor:y.isValidElement(m)&&m.props.color||u,onDelete:!!A,clickable:B,variant:z},_=KO(W),J=I===ua?{component:f||"div",focusVisibleClassName:_.focusVisible,...A&&{disableRipple:!0}}:{};let ee=null;A&&(ee=p&&y.isValidElement(p)?y.cloneElement(p,{className:Oe(p.props.className,_.deleteIcon),onClick:M}):v.jsx(UO,{className:Oe(_.deleteIcon),onClick:M}));let ne=null;s&&y.isValidElement(s)&&(ne=y.cloneElement(s,{className:Oe(_.avatar,s.props.className)}));let Z=null;return m&&y.isValidElement(m)&&(Z=y.cloneElement(m,{className:Oe(_.icon,m.props.className)})),v.jsxs(_O,{as:I,className:Oe(_.root,a),disabled:B&&h?!0:void 0,onClick:w,onKeyDown:L,onKeyUp:j,ref:R,tabIndex:C&&h?-1:O,ownerState:W,...J,...D,children:[ne||Z,v.jsx($O,{className:Oe(_.label),ownerState:W,children:P}),ee]})});function Pd(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 tC(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const nC=y.forwardRef(function(t,n){const{onChange:r,maxRows:s,minRows:a=1,style:l,value:u,...f}=t,{current:p}=y.useRef(u!=null),h=y.useRef(null),m=nn(n,h),P=y.useRef(null),w=y.useRef(null),A=y.useCallback(()=>{const S=h.current,O=Eo(S).getComputedStyle(S);if(O.width==="0px")return{outerHeightStyle:0,overflowing:!1};const C=w.current;C.style.width=O.width,C.value=S.value||t.placeholder||"x",C.value.slice(-1)===` +`&&(C.value+=" ");const D=O.boxSizing,k=Pd(O.paddingBottom)+Pd(O.paddingTop),R=Pd(O.borderBottomWidth)+Pd(O.borderTopWidth),M=C.scrollHeight;C.value="x";const L=C.scrollHeight;let j=M;a&&(j=Math.max(Number(a)*L,j)),s&&(j=Math.min(Number(s)*L,j)),j=Math.max(j,L);const B=j+(D==="border-box"?k+R:0),I=Math.abs(j-M)<=1;return{outerHeightStyle:B,overflowing:I}},[s,a,t.placeholder]),x=y.useCallback(()=>{const S=A();if(tC(S))return;const z=S.outerHeightStyle,O=h.current;P.current!==z&&(P.current=z,O.style.height=`${z}px`),O.style.overflow=S.overflowing?"hidden":""},[A]);uo(()=>{const S=()=>{x()};let z;const O=yy(S),C=h.current,D=Eo(C);D.addEventListener("resize",O);let k;return typeof ResizeObserver<"u"&&(k=new ResizeObserver(S),k.observe(C)),()=>{O.clear(),cancelAnimationFrame(z),D.removeEventListener("resize",O),k&&k.disconnect()}},[A,x]),uo(()=>{x()});const H=S=>{p||x(),r&&r(S)};return v.jsxs(y.Fragment,{children:[v.jsx("textarea",{value:u,onChange:H,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 Rl(e){return typeof e=="string"}function wi({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 Zp=y.createContext(void 0);function No(){return y.useContext(Zp)}function ux(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function up(e,t=!1){return e&&(ux(e.value)&&e.value!==""||t&&ux(e.defaultValue)&&e.defaultValue!=="")}function rC(e){return e.startAdornment}function oC(e){return Ze("MuiInputBase",e)}const Wr=Ge("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var fx;const Gp=(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]},Up=(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]},sC=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:P,startAdornment:w,type:A}=e,x={root:["root",`color${me(n)}`,r&&"disabled",s&&"error",f&&"fullWidth",l&&"focused",u&&"formControl",P&&P!=="medium"&&`size${me(P)}`,h&&"multiline",w&&"adornedStart",a&&"adornedEnd",p&&"hiddenLabel",m&&"readOnly"],input:["input",r&&"disabled",A==="search"&&"inputTypeSearch",h&&"inputMultiline",P==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",w&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return Ke(x,oC,t)},Qp=pe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Gp})(Qe(({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%"}}]}))),Kp=pe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Up})(Qe(({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"}}]}})),dx=Hy({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),_p=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:a,autoFocus:l,className:u,color:f,components:p={},componentsProps:h={},defaultValue:m,disabled:P,disableInjectingGlobalStyles:w,endAdornment:A,error:x,fullWidth:H=!1,id:S,inputComponent:z="input",inputProps:O={},inputRef:C,margin:D,maxRows:k,minRows:R,multiline:M=!1,name:L,onBlur:j,onChange:B,onClick:I,onFocus:W,onKeyDown:_,onKeyUp:J,placeholder:ee,readOnly:ne,renderSuffix:Z,rows:Q,size:E,slotProps:U={},slots:X={},startAdornment:re,type:$="text",value:ce,...de}=r,xe=O.value!=null?O.value:ce,{current:ve}=y.useRef(xe!=null),be=y.useRef(),Xe=y.useCallback(Ie=>{},[]),Ve=nn(be,C,O.ref,Xe),[He,We]=y.useState(!1),we=No(),rt=wi({props:r,muiFormControl:we,states:["color","disabled","error","hiddenLabel","size","required","filled"]});rt.focused=we?we.focused:He,y.useEffect(()=>{!we&&P&&He&&(We(!1),j&&j())},[we,P,He,j]);const Me=we&&we.onFilled,ut=we&&we.onEmpty,N=y.useCallback(Ie=>{up(Ie)?Me&&Me():ut&&ut()},[Me,ut]);uo(()=>{ve&&N({value:xe})},[xe,N,ve]);const te=Ie=>{W&&W(Ie),O.onFocus&&O.onFocus(Ie),we&&we.onFocus?we.onFocus(Ie):We(!0)},se=Ie=>{j&&j(Ie),O.onBlur&&O.onBlur(Ie),we&&we.onBlur?we.onBlur(Ie):We(!1)},Ae=(Ie,...St)=>{if(!ve){const Jt=Ie.target||be.current;if(Jt==null)throw new Error(Ts(1));N({value:Jt.value})}O.onChange&&O.onChange(Ie,...St),B&&B(Ie,...St)};y.useEffect(()=>{N(be.current)},[]);const le=Ie=>{be.current&&Ie.currentTarget===Ie.target&&be.current.focus(),I&&I(Ie)};let Pe=z,je=O;M&&Pe==="input"&&(Q?je={type:void 0,minRows:Q,maxRows:Q,...je}:je={type:void 0,maxRows:k,minRows:R,...je},Pe=nC);const _e=Ie=>{N(Ie.animationName==="mui-auto-fill-cancel"?be.current:{value:"x"})};y.useEffect(()=>{we&&we.setAdornedStart(!!re)},[we,re]);const xt={...r,color:rt.color||"primary",disabled:rt.disabled,endAdornment:A,error:rt.error,focused:rt.focused,formControl:we,fullWidth:H,hiddenLabel:rt.hiddenLabel,multiline:M,size:rt.size,startAdornment:re,type:$},ot=sC(xt),at=X.root||p.Root||Qp,ft=U.root||h.root||{},wt=X.input||p.Input||Kp;return je={...je,...U.input??h.input},v.jsxs(y.Fragment,{children:[!w&&typeof dx=="function"&&(fx||(fx=v.jsx(dx,{}))),v.jsxs(at,{...ft,ref:n,onClick:le,...de,...!Rl(at)&&{ownerState:{...xt,...ft.ownerState}},className:Oe(ot.root,ft.className,u,ne&&"MuiInputBase-readOnly"),children:[re,v.jsx(Zp.Provider,{value:null,children:v.jsx(wt,{"aria-invalid":rt.error,"aria-describedby":s,autoComplete:a,autoFocus:l,defaultValue:m,disabled:rt.disabled,id:S,onAnimationStart:_e,name:L,placeholder:ee,readOnly:ne,required:rt.required,rows:Q,value:xe,onKeyDown:_,onKeyUp:J,type:$,...je,...!Rl(wt)&&{as:Pe,ownerState:{...xt,...je.ownerState}},ref:Ve,className:Oe(ot.input,je.className,ne&&"MuiInputBase-readOnly"),onBlur:se,onChange:Ae,onFocus:te})}),A,Z?Z({...rt,startAdornment:re}):null]})]})});function iC(e){return Ze("MuiInput",e)}const ii={...Wr,...Ge("MuiInput",["root","underline","input"])};function aC(e){return Ze("MuiOutlinedInput",e)}const no={...Wr,...Ge("MuiOutlinedInput",["root","notchedOutline","input"])};function lC(e){return Ze("MuiFilledInput",e)}const Jr={...Wr,...Ge("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},S1=yt(v.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function cC(e){return Ze("MuiAutocomplete",e)}const Ot=Ge("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 px,vx;const uC=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 Ke(m,cC,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[{[`& .${Ot.tag}`]:t.tag},{[`& .${Ot.tag}`]:t[`tagSize${me(u)}`]},{[`& .${Ot.inputRoot}`]:t.inputRoot},{[`& .${Ot.input}`]:t.input},{[`& .${Ot.input}`]:l&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,s&&t.hasClearIcon]}})({[`&.${Ot.focused} .${Ot.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Ot.clearIndicator}`]:{visibility:"visible"}},[`& .${Ot.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Ot.inputRoot}`]:{[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:30},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:56},[`& .${Ot.input}`]:{width:0,minWidth:30}},[`& .${ii.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${ii.root}.${Wr.sizeSmall}`]:{[`& .${ii.input}`]:{padding:"2px 4px 3px 0"}},[`& .${no.root}`]:{padding:9,[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:39},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:65},[`& .${Ot.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Ot.endAdornment}`]:{right:9}},[`& .${no.root}.${Wr.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ot.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Jr.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:39},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:65},[`& .${Jr.input}`]:{padding:"7px 4px"},[`& .${Ot.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,[`& .${Ot.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Jr.root}.${Wr.hiddenLabel}.${Wr.sizeSmall}`]:{[`& .${Ot.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Ot.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Ot.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Ot.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Ot.inputRoot}`]:{flexWrap:"wrap"}}}]}),dC=pe("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),pC=pe(Sr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),vC=pe(Sr,{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)"}}]}),hC=pe(qp,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ot.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(Qe(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),mC=pe(Zr,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(Qe(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),gC=pe("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),yC=pe("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),AC=pe("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(Qe(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Ot.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"},[`&.${Ot.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"},[`&.${Ot.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})`:At(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ot.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:At(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Ot.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:At(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),PC=pe(vg,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(Qe(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),bC=pe("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Ot.option}`]:{paddingLeft:24}}),xC=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:u=!1,ChipProps:f,className:p,clearIcon:h=px||(px=v.jsx(h1,{fontSize:"small"})),clearOnBlur:m=!r.freeSolo,clearOnEscape:P=!1,clearText:w="Clear",closeText:A="Close",componentsProps:x,defaultValue:H=r.multiple?[]:null,disableClearable:S=!1,disableCloseOnSelect:z=!1,disabled:O=!1,disabledItemsFocusable:C=!1,disableListWrap:D=!1,disablePortal:k=!1,filterOptions:R,filterSelectedOptions:M=!1,forcePopupIcon:L="auto",freeSolo:j=!1,fullWidth:B=!1,getLimitTagsText:I=Mt=>`+${Mt}`,getOptionDisabled:W,getOptionKey:_,getOptionLabel:J,isOptionEqualToValue:ee,groupBy:ne,handleHomeEndKeys:Z=!r.freeSolo,id:Q,includeInputInList:E=!1,inputValue:U,limitTags:X=-1,ListboxComponent:re,ListboxProps:$,loading:ce=!1,loadingText:de="Loading…",multiple:xe=!1,noOptionsText:ve="No options",onChange:be,onClose:Xe,onHighlightChange:Ve,onInputChange:He,onOpen:We,open:we,openOnFocus:rt=!1,openText:Me="Open",options:ut,PaperComponent:N,PopperComponent:te,popupIcon:se=vx||(vx=v.jsx(S1,{})),readOnly:Ae=!1,renderGroup:le,renderInput:Pe,renderOption:je,renderTags:_e,selectOnFocus:xt=!r.freeSolo,size:ot="medium",slots:at={},slotProps:ft={},value:wt,...Ie}=r,{getRootProps:St,getInputProps:Jt,getInputLabelProps:Bt,getPopupIndicatorProps:F,getClearProps:Y,getTagProps:ge,getListboxProps:Ce,getOptionProps:De,value:Ne,dirty:Je,expanded:ke,id:tt,popupOpen:pt,focused:Tt,focusedTag:Ut,anchorEl:Fe,setAnchorEl:kt,inputValue:cn,groupedOptions:Sn}=Dz({...r,componentName:"Autocomplete"}),Zn=!S&&!O&&Je&&!Ae,yn=(!j||L===!0)&&L!==!1,{onMouseDown:Er}=Jt(),{ref:ho,...mo}=Ce(),go=J||(Mt=>Mt.label??Mt),An={...r,disablePortal:k,expanded:ke,focused:Tt,fullWidth:B,getOptionLabel:go,hasClearIcon:Zn,hasPopupIcon:yn,inputFocused:Ut===-1,popupOpen:pt,size:ot},rn=uC(An),Re={slots:{paper:N,popper:te,...at},slotProps:{chip:f,listbox:$,...x,...ft}},[oe,ue]=hn("listbox",{elementType:AC,externalForwardedProps:Re,ownerState:An,className:rn.listbox,additionalProps:mo,ref:ho}),[Ee,nt]=hn("paper",{elementType:Zr,externalForwardedProps:Re,ownerState:An,className:rn.paper}),[lt,It]=hn("popper",{elementType:qp,externalForwardedProps:Re,ownerState:An,className:rn.popper,additionalProps:{disablePortal:k,style:{width:Fe?Fe.clientWidth:null},role:"presentation",anchorEl:Fe,open:pt}});let Xt;if(xe&&Ne.length>0){const Mt=ir=>({className:rn.tag,disabled:O,...ge(ir)});_e?Xt=_e(Ne,Mt,An):Xt=Ne.map((ir,Ln)=>{const{key:Ci,...Mr}=Mt({index:Ln});return v.jsx(Gu,{label:go(ir),size:ot,...Mr,...Re.slotProps.chip},Ci)})}if(X>-1&&Array.isArray(Xt)){const Mt=Xt.length-X;!Tt&&Mt>0&&(Xt=Xt.splice(0,X),Xt.push(v.jsx("span",{className:rn.tag,children:I(Mt)},Xt.length)))}const yo=le||(Mt=>v.jsxs("li",{children:[v.jsx(PC,{className:rn.groupLabel,ownerState:An,component:"div",children:Mt.group}),v.jsx(bC,{className:rn.groupUl,ownerState:An,children:Mt.children})]},Mt.key)),en=je||((Mt,ir)=>{const{key:Ln,...Ci}=Mt;return v.jsx("li",{...Ci,children:go(ir)},Ln)}),zi=(Mt,ir)=>{const Ln=De({option:Mt,index:ir});return en({...Ln,className:rn.option},Mt,{selected:Ln["aria-selected"],index:ir,inputValue:cn},An)},Ls=Re.slotProps.clearIndicator,Oi=Re.slotProps.popupIndicator,Xs=Mt=>v.jsx(hC,{as:lt,...It,children:v.jsx(mC,{as:Ee,...nt,children:Mt})});let Pa=null;return Sn.length>0?Pa=Xs(v.jsx(oe,{as:re,...ue,children:Sn.map((Mt,ir)=>ne?yo({key:Mt.key,group:Mt.group,children:Mt.options.map((Ln,Ci)=>zi(Ln,Mt.index+Ci))}):zi(Mt,ir))})):ce&&Sn.length===0?Pa=Xs(v.jsx(gC,{className:rn.loading,ownerState:An,children:de})):Sn.length===0&&!j&&!ce&&(Pa=Xs(v.jsx(yC,{className:rn.noOptions,ownerState:An,role:"presentation",onMouseDown:Mt=>{Mt.preventDefault()},children:ve}))),v.jsxs(y.Fragment,{children:[v.jsx(fC,{ref:n,className:Oe(rn.root,p),ownerState:An,...St(Ie),children:Pe({id:tt,disabled:O,fullWidth:!0,size:ot==="small"?"small":void 0,InputLabelProps:Bt(),InputProps:{ref:kt,className:rn.inputRoot,startAdornment:Xt,onMouseDown:Mt=>{Mt.target===Mt.currentTarget&&Er(Mt)},...(Zn||yn)&&{endAdornment:v.jsxs(dC,{className:rn.endAdornment,ownerState:An,children:[Zn?v.jsx(pC,{...Y(),"aria-label":w,title:w,ownerState:An,...Ls,className:Oe(rn.clearIndicator,Ls==null?void 0:Ls.className),children:h}):null,yn?v.jsx(vC,{...F(),disabled:O,"aria-label":pt?A:Me,title:pt?A:Me,ownerState:An,...Oi,className:Oe(rn.popupIndicator,Oi==null?void 0:Oi.className),children:se}):null]})}},inputProps:{className:rn.input,disabled:O,readOnly:Ae,...Jt()}})}),Fe?Pa:null]})}),wC={entering:{opacity:1},entered:{opacity:1}},z1=y.forwardRef(function(t,n){const r=Ur(),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:P,onExit:w,onExited:A,onExiting:x,style:H,timeout:S=s,TransitionComponent:z=Xo,...O}=t,C=y.useRef(null),D=nn(C,bi(u),n),k=_=>J=>{if(_){const ee=C.current;J===void 0?_(ee):_(ee,J)}},R=k(P),M=k((_,J)=>{zy(_);const ee=Ol({style:H,timeout:S,easing:f},{mode:"enter"});_.style.webkitTransition=r.transitions.create("opacity",ee),_.style.transition=r.transitions.create("opacity",ee),h&&h(_,J)}),L=k(m),j=k(x),B=k(_=>{const J=Ol({style:H,timeout:S,easing:f},{mode:"exit"});_.style.webkitTransition=r.transitions.create("opacity",J),_.style.transition=r.transitions.create("opacity",J),w&&w(_)}),I=k(A),W=_=>{a&&a(C.current,_)};return v.jsx(z,{appear:l,in:p,nodeRef:C,onEnter:M,onEntered:L,onEntering:R,onExit:B,onExited:I,onExiting:j,addEndListener:W,timeout:S,...O,children:(_,J)=>y.cloneElement(u,{style:{opacity:0,visibility:_==="exited"&&!p?"hidden":void 0,...wC[_],...H,...u.props.style},ref:D,...J})})});function HC(e){return Ze("MuiBackdrop",e)}Ge("MuiBackdrop",["root","invisible"]);const jC=e=>{const{ownerState:t,...n}=e;return n},SC=e=>{const{classes:t,invisible:n}=e;return Ke({root:["root",n&&"invisible"]},HC,t)},zC=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"}}]}),O1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",invisible:u=!1,open:f,components:p={},componentsProps:h={},slotProps:m={},slots:P={},TransitionComponent:w,transitionDuration:A,...x}=r,H={...r,component:l,invisible:u},S=SC(H),z={transition:w,root:p.Root,...P},O={...h,...m},C={slots:z,slotProps:O},[D,k]=hn("root",{elementType:zC,externalForwardedProps:C,className:Oe(S.root,a),ownerState:H}),[R,M]=hn("transition",{elementType:z1,externalForwardedProps:C,ownerState:H}),L=jC(M);return v.jsx(R,{in:f,timeout:A,...x,...L,children:v.jsx(D,{"aria-hidden":!0,...k,classes:S,ref:n,children:s})})}),OC=Ge("MuiBox",["root"]),CC=Yu(),gt=GH({themeId:ko,defaultTheme:CC,defaultClassName:OC.root,generateClassName:B0.generate});function DC(e){return Ze("MuiButton",e)}const Ua=Ge("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"]),C1=y.createContext({}),TC=y.createContext(void 0),kC=e=>{const{color:t,disableElevation:n,fullWidth:r,size:s,variant:a,classes:l}=e,u={root:["root",a,`${a}${me(t)}`,`size${me(s)}`,`${a}Size${me(s)}`,`color${me(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${me(s)}`],endIcon:["icon","endIcon",`iconSize${me(s)}`]},f=Ke(u,DC,l);return{...l,...f}},D1=[{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}}}],RC=pe(ua,{shouldForwardProp:e=>qn(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]}})(Qe(({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"},[`&.${Ua.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]},[`&.${Ua.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Ua.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)",[`&.${Ua.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(mn()).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)`:At(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})`:At(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})`:At(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})`:At(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:At(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"},[`&.${Ua.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ua.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),EC=pe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${me(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...D1]}),MC=pe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${me(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...D1]}),Lt=y.forwardRef(function(t,n){const r=y.useContext(C1),s=y.useContext(TC),a=Sl(r,t),l=$e({props:a,name:"MuiButton"}),{children:u,color:f="primary",component:p="button",className:h,disabled:m=!1,disableElevation:P=!1,disableFocusRipple:w=!1,endIcon:A,focusVisibleClassName:x,fullWidth:H=!1,size:S="medium",startIcon:z,type:O,variant:C="text",...D}=l,k={...l,color:f,component:p,disabled:m,disableElevation:P,disableFocusRipple:w,fullWidth:H,size:S,type:O,variant:C},R=kC(k),M=z&&v.jsx(EC,{className:R.startIcon,ownerState:k,children:z}),L=A&&v.jsx(MC,{className:R.endIcon,ownerState:k,children:A}),j=s||"";return v.jsxs(RC,{ownerState:k,className:Oe(r.className,R.root,h,j),component:p,disabled:m,focusRipple:!w,focusVisibleClassName:Oe(R.focusVisible,x),ref:n,type:O,...D,classes:R,children:[M,u,L]})});function LC(e){return Ze("MuiCard",e)}Ge("MuiCard",["root"]);const XC=e=>{const{classes:t}=e;return Ke({root:["root"]},LC,t)},NC=pe(Zr,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),T1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCard"}),{className:s,raised:a=!1,...l}=r,u={...r,raised:a},f=XC(u);return v.jsx(NC,{className:Oe(f.root,s),elevation:a?8:void 0,ref:n,ownerState:u,...l})});function BC(e){return Ze("MuiCardContent",e)}Ge("MuiCardContent",["root"]);const VC=e=>{const{classes:t}=e;return Ke({root:["root"]},BC,t)},IC=pe("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),hg=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCardContent"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=VC(u);return v.jsx(IC,{as:a,className:Oe(f.root,s),ownerState:u,ref:n,...l})});function WC(e){return Ze("MuiCardMedia",e)}Ge("MuiCardMedia",["root","media","img"]);const JC=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return Ke({root:["root",n&&"media",r&&"img"]},WC,t)},FC=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"}}]}),YC=["video","audio","picture","iframe","img"],qC=["picture","img"],ZC=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCardMedia"}),{children:s,className:a,component:l="div",image:u,src:f,style:p,...h}=r,m=YC.includes(l),P=!m&&u?{backgroundImage:`url("${u}")`,...p}:p,w={...r,component:l,isMediaComponent:m,isImageComponent:qC.includes(l)},A=JC(w);return v.jsx(FC,{className:Oe(A.root,a),as:l,role:!m&&u?"img":void 0,ref:n,style:P,ownerState:w,src:m?u||f:void 0,...h,children:s})});function GC(e){return Ze("PrivateSwitchBase",e)}Ge("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const UC=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 Ke(a,GC,t)},QC=pe(ua)({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}}]}),KC=pe("input",{shouldForwardProp:qn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ly=y.forwardRef(function(t,n){const{autoFocus:r,checked:s,checkedIcon:a,className:l,defaultChecked:u,disabled:f,disableFocusRipple:p=!1,edge:h=!1,icon:m,id:P,inputProps:w,inputRef:A,name:x,onBlur:H,onChange:S,onFocus:z,readOnly:O,required:C=!1,tabIndex:D,type:k,value:R,...M}=t,[L,j]=gi({controlled:s,default:!!u,name:"SwitchBase",state:"checked"}),B=No(),I=Q=>{z&&z(Q),B&&B.onFocus&&B.onFocus(Q)},W=Q=>{H&&H(Q),B&&B.onBlur&&B.onBlur(Q)},_=Q=>{if(Q.nativeEvent.defaultPrevented)return;const E=Q.target.checked;j(E),S&&S(Q,E)};let J=f;B&&typeof J>"u"&&(J=B.disabled);const ee=k==="checkbox"||k==="radio",ne={...t,checked:L,disabled:J,disableFocusRipple:p,edge:h},Z=UC(ne);return v.jsxs(QC,{component:"span",className:Oe(Z.root,l),centerRipple:!0,focusRipple:!p,disabled:J,tabIndex:null,role:void 0,onFocus:I,onBlur:W,ownerState:ne,ref:n,...M,children:[v.jsx(KC,{autoFocus:r,checked:s,defaultChecked:u,className:Z.input,disabled:J,id:ee?P:void 0,name:x,onChange:_,readOnly:O,ref:A,required:C,ownerState:ne,tabIndex:D,type:k,...k==="checkbox"&&R===void 0?{}:{value:R},...w}),L?a:m]})}),_C=yt(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"),$C=yt(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"),eD=yt(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 tD(e){return Ze("MuiCheckbox",e)}const zm=Ge("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),nD=e=>{const{classes:t,indeterminate:n,color:r,size:s}=e,a={root:["root",n&&"indeterminate",`color${me(r)}`,`size${me(s)}`]},l=Ke(a,tD,t);return{...t,...l}},rD=pe(Ly,{shouldForwardProp:e=>qn(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)}`]]}})(Qe(({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})`:At(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:At(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t},style:{[`&.${zm.checked}, &.${zm.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${zm.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),oD=v.jsx($C,{}),sD=v.jsx(_C,{}),iD=v.jsx(eD,{}),hx=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCheckbox"}),{checkedIcon:s=oD,color:a="primary",icon:l=sD,indeterminate:u=!1,indeterminateIcon:f=iD,inputProps:p,size:h="medium",disableRipple:m=!1,className:P,...w}=r,A=u?f:l,x=u?f:s,H={...r,disableRipple:m,color:a,indeterminate:u,size:h},S=nD(H);return v.jsx(rD,{type:"checkbox",inputProps:{"data-indeterminate":u,...p},icon:y.cloneElement(A,{fontSize:A.props.fontSize??h}),checkedIcon:y.cloneElement(x,{fontSize:x.props.fontSize??h}),ownerState:H,ref:n,className:Oe(S.root,P),disableRipple:m,...w,classes:S})});function aD(e){return Ze("MuiCircularProgress",e)}Ge("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const ri=44,mg=Iu` 0% { transform: rotate(0deg); } @@ -186,9 +186,9 @@ Error generating stack: `+b.message+` animation: ${mg} 1.4s linear infinite; `:null,cD=typeof gg!="string"?dy` animation: ${gg} 1.4s ease-in-out infinite; - `:null,uD=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 Ke(a,aD,t)},fD=pe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${me(n.color)}`]]}})(Qe(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:lD||{animation:`${mg} 1.4s linear infinite`}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),dD=pe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),pD=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]}})(Qe(({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:cD||{animation:`${gg} 1.4s ease-in-out infinite`}}]}))),$p=y.forwardRef(function(t,n){const r=$e({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",...P}=r,w={...r,color:a,disableShrink:l,size:u,thickness:p,value:h,variant:m},A=uD(w),x={},H={},S={};if(m==="determinate"){const z=2*Math.PI*((ri-p)/2);x.strokeDasharray=z.toFixed(3),S["aria-valuenow"]=Math.round(h),x.strokeDashoffset=`${((100-h)/100*z).toFixed(3)}px`,H.transform="rotate(-90deg)"}return v.jsx(fD,{className:Oe(A.root,s),style:{width:u,height:u,...H,...f},ownerState:w,ref:n,role:"progressbar",...S,...P,children:v.jsx(dD,{className:A.svg,ownerState:w,viewBox:`${ri/2} ${ri/2} ${ri} ${ri}`,children:v.jsx(pD,{className:A.circle,style:x,ownerState:w,cx:ri,cy:ri,r:(ri-p)/2,fill:"none",strokeWidth:p})})})});function mx(e){return e.substring(2).toLowerCase()}function vD(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const h=nn(bi(t),u),m=hr(A=>{const x=p.current;p.current=!1;const H=sr(u.current);if(!f.current||!u.current||"clientX"in A&&vD(A,H))return;if(l.current){l.current=!1;return}let S;A.composedPath?S=A.composedPath().includes(u.current):S=!H.documentElement.contains(A.target)||u.current.contains(A.target),!S&&(n||!x)&&s(A)}),P=A=>x=>{p.current=!0;const H=t.props[A];H&&H(x)},w={ref:h};return a!==!1&&(w[a]=P(a)),y.useEffect(()=>{if(a!==!1){const A=mx(a),x=sr(u.current),H=()=>{l.current=!0};return x.addEventListener(A,m),x.addEventListener("touchmove",H),()=>{x.removeEventListener(A,m),x.removeEventListener("touchmove",H)}}},[m,a]),r!==!1&&(w[r]=P(r)),y.useEffect(()=>{if(r!==!1){const A=mx(r),x=sr(u.current);return x.addEventListener(A,m),()=>{x.removeEventListener(A,m)}}},[m,r]),y.cloneElement(t,w)}const yg=typeof Hy({})=="function",hD=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),mD=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}}),R1=(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:hD(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...mD(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},Id="mui-ecs",gD=e=>{const t=R1(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Id})`]={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(.${Id}))`]:{colorScheme:(l=s.palette)==null?void 0:l.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Id}))`]:{colorScheme:(u=s.palette)==null?void 0:u.mode}}}),t},yD=Hy(yg?({theme:e,enableColorScheme:t})=>R1(e,t):({theme:e})=>gD(e));function AD(e){const t=$e({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return v.jsxs(y.Fragment,{children:[yg&&v.jsx(yD,{enableColorScheme:r}),!yg&&!r&&v.jsx("span",{className:Id,style:{display:"none"}}),n]})}function PD(e){const t=sr(e);return t.body===e?Eo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function fu(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function gx(e){return parseInt(Eo(e).getComputedStyle(e).paddingRight,10)||0}function bD(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 yx(e,t,n,r,s){const a=[t,n,...r];[].forEach.call(e.children,l=>{const u=!a.includes(l),f=!bD(l);u&&f&&fu(l,s)})}function Om(e,t){let n=-1;return e.some((r,s)=>t(r)?(n=s,!0):!1),n}function xD(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(PD(r)){const l=U0(Eo(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${gx(r)+l}px`;const u=sr(r).querySelectorAll(".mui-fixed");[].forEach.call(u,f=>{n.push({value:f.style.paddingRight,property:"padding-right",el:f}),f.style.paddingRight=`${gx(f)+l}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=sr(r).body;else{const l=r.parentElement,u=Eo(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 wD(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class HD{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&&fu(t.modalRef,!1);const s=wD(n);yx(n,t.mount,t.modalRef,s,!0);const a=Om(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=Om(this.containers,a=>a.modals.includes(t)),s=this.containers[r];s.restore||(s.restore=xD(s,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const s=Om(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&&fu(t.modalRef,n),yx(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&&fu(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const jD=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function SD(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 zD(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 OD(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||zD(e))}function CD(e){const t=[],n=[];return Array.from(e.querySelectorAll(jD)).forEach((r,s)=>{const a=SD(r);a===-1||!OD(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 DD(){return!0}function TD(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:s=!1,getTabbable:a=CD,isEnabled:l=DD,open:u}=e,f=y.useRef(!1),p=y.useRef(null),h=y.useRef(null),m=y.useRef(null),P=y.useRef(null),w=y.useRef(!1),A=y.useRef(null),x=nn(bi(t),A),H=y.useRef(null);y.useEffect(()=>{!u||!A.current||(w.current=!n)},[n,u]),y.useEffect(()=>{if(!u||!A.current)return;const O=sr(A.current);return A.current.contains(O.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]),y.useEffect(()=>{if(!u||!A.current)return;const O=sr(A.current),C=R=>{H.current=R,!(r||!l()||R.key!=="Tab")&&O.activeElement===A.current&&R.shiftKey&&(f.current=!0,h.current&&h.current.focus())},D=()=>{var L,j;const R=A.current;if(R===null)return;if(!O.hasFocus()||!l()||f.current){f.current=!1;return}if(R.contains(O.activeElement)||r&&O.activeElement!==p.current&&O.activeElement!==h.current)return;if(O.activeElement!==P.current)P.current=null;else if(P.current!==null)return;if(!w.current)return;let M=[];if((O.activeElement===p.current||O.activeElement===h.current)&&(M=a(A.current)),M.length>0){const B=!!((L=H.current)!=null&&L.shiftKey&&((j=H.current)==null?void 0:j.key)==="Tab"),I=M[0],J=M[M.length-1];typeof I!="string"&&typeof J!="string"&&(B?J.focus():I.focus())}else R.focus()};O.addEventListener("focusin",D),O.addEventListener("keydown",C,!0);const k=setInterval(()=>{O.activeElement&&O.activeElement.tagName==="BODY"&&D()},50);return()=>{clearInterval(k),O.removeEventListener("focusin",D),O.removeEventListener("keydown",C,!0)}},[n,r,s,l,u,a]);const S=O=>{m.current===null&&(m.current=O.relatedTarget),w.current=!0,P.current=O.target;const C=t.props.onFocus;C&&C(O)},z=O=>{m.current===null&&(m.current=O.relatedTarget),w.current=!0};return v.jsxs(y.Fragment,{children:[v.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:p,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:x,onFocus:S}),v.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:h,"data-testid":"sentinelEnd"})]})}function kD(e){return typeof e=="function"?e():e}function RD(e){return e?e.props.hasOwnProperty("in"):!1}const Ax=()=>{},bd=new HD;function ED(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=y.useRef({}),P=y.useRef(null),w=y.useRef(null),A=nn(w,h),[x,H]=y.useState(!p),S=RD(u);let z=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(z=!1);const O=()=>sr(P.current),C=()=>(m.current.modalRef=w.current,m.current.mount=P.current,m.current),D=()=>{bd.mount(C(),{disableScrollLock:r}),w.current&&(w.current.scrollTop=0)},k=hr(()=>{const W=kD(t)||O().body;bd.add(C(),W),w.current&&D()}),R=()=>bd.isTopModal(C()),M=hr(W=>{P.current=W,W&&(p&&R()?D():w.current&&fu(w.current,z))}),L=y.useCallback(()=>{bd.remove(C(),z)},[z]);y.useEffect(()=>()=>{L()},[L]),y.useEffect(()=>{p?k():(!S||!s)&&L()},[p,L,S,s,k]);const j=W=>ne=>{var re;(re=W.onKeyDown)==null||re.call(W,ne),!(ne.key!=="Escape"||ne.which===229||!R())&&(n||(ne.stopPropagation(),f&&f(ne,"escapeKeyDown")))},B=W=>ne=>{var re;(re=W.onClick)==null||re.call(W,ne),ne.target===ne.currentTarget&&f&&f(ne,"backdropClick")};return{getRootProps:(W={})=>{const ne=sp(e);delete ne.onTransitionEnter,delete ne.onTransitionExited;const re={...ne,...W};return{role:"presentation",...re,onKeyDown:j(re),ref:A}},getBackdropProps:(W={})=>{const ne=W;return{"aria-hidden":!0,...ne,onClick:B(ne),open:p}},getTransitionProps:()=>{const W=()=>{H(!1),a&&a()},ne=()=>{H(!0),l&&l(),s&&L()};return{onEnter:sg(W,(u==null?void 0:u.props.onEnter)??Ax),onExited:sg(ne,(u==null?void 0:u.props.onExited)??Ax)}},rootRef:A,portalRef:M,isTopModal:R,exited:x,hasTransition:S}}function MD(e){return Ze("MuiModal",e)}Ge("MuiModal",["root","hidden","backdrop"]);const LD=e=>{const{open:t,exited:n,classes:r}=e;return Ke({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},MD,r)},XD=pe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Qe(({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"}}]}))),ND=pe(O1,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Xy=y.forwardRef(function(t,n){const r=$e({name:"MuiModal",props:t}),{BackdropComponent:s=ND,BackdropProps:a,classes:l,className:u,closeAfterTransition:f=!1,children:p,container:h,component:m,components:P={},componentsProps:w={},disableAutoFocus:A=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:H=!1,disablePortal:S=!1,disableRestoreFocus:z=!1,disableScrollLock:O=!1,hideBackdrop:C=!1,keepMounted:D=!1,onBackdropClick:k,onClose:R,onTransitionEnter:M,onTransitionExited:L,open:j,slotProps:B={},slots:I={},theme:J,...K}=r,W={...r,closeAfterTransition:f,disableAutoFocus:A,disableEnforceFocus:x,disableEscapeKeyDown:H,disablePortal:S,disableRestoreFocus:z,disableScrollLock:O,hideBackdrop:C,keepMounted:D},{getRootProps:ne,getBackdropProps:re,getTransitionProps:F,portalRef:_,isTopModal:E,exited:G,hasTransition:X}=ED({...W,rootRef:n}),ee={...W,exited:G},te=LD(ee),ue={};if(p.props.tabIndex===void 0&&(ue.tabIndex="-1"),X){const{onEnter:He,onExited:_e}=F();ue.onEnter=He,ue.onExited=_e}const de={...K,slots:{root:P.Root,backdrop:P.Backdrop,...I},slotProps:{...w,...B}},[xe,ve]=mn("root",{elementType:XD,externalForwardedProps:de,getSlotProps:ne,additionalProps:{ref:n,as:m},ownerState:ee,className:Oe(u,te==null?void 0:te.root,!ee.open&&ee.exited&&(te==null?void 0:te.hidden))}),[be,Xe]=mn("backdrop",{elementType:s,externalForwardedProps:de,additionalProps:a,getSlotProps:He=>re({...He,onClick:_e=>{k&&k(_e),He!=null&&He.onClick&&He.onClick(_e)}}),className:Oe(a==null?void 0:a.className,te==null?void 0:te.backdrop),ownerState:ee}),Ie=nn(a==null?void 0:a.ref,Xe.ref);return!D&&!j&&(!X||G)?null:v.jsx(j1,{ref:_,container:h,disablePortal:S,children:v.jsxs(xe,{...ve,children:[!C&&s?v.jsx(be,{...Xe,ref:Ie}):null,v.jsx(TD,{disableEnforceFocus:x,disableAutoFocus:A,disableRestoreFocus:z,isEnabled:E,open:j,children:y.cloneElement(p,ue)})]})})});function BD(e){return Ze("MuiDialog",e)}const Cm=Ge("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),E1=y.createContext({}),VD=pe(O1,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),ID=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 Ke(l,BD,t)},WD=pe(Xy,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),JD=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"}}}]}),FD=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]}})(Qe(({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)`,[`&.${Cm.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}`,[`&.${Cm.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,[`&.${Cm.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),ol=y.forwardRef(function(t,n){const r=$e({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:P,disableEscapeKeyDown:w=!1,fullScreen:A=!1,fullWidth:x=!1,maxWidth:H="sm",onBackdropClick:S,onClick:z,onClose:O,open:C,PaperComponent:D=Gr,PaperProps:k={},scroll:R="paper",TransitionComponent:M=z1,transitionDuration:L=a,TransitionProps:j,...B}=r,I={...r,disableEscapeKeyDown:w,fullScreen:A,fullWidth:x,maxWidth:H,scroll:R},J=ID(I),K=y.useRef(),W=_=>{K.current=_.target===_.currentTarget},ne=_=>{z&&z(_),K.current&&(K.current=null,S&&S(_),O&&O(_,"backdropClick"))},re=ks(u),F=y.useMemo(()=>({titleId:re}),[re]);return v.jsx(WD,{className:Oe(J.root,P),closeAfterTransition:!0,components:{Backdrop:VD},componentsProps:{backdrop:{transitionDuration:L,as:p,...h}},disableEscapeKeyDown:w,onClose:O,open:C,ref:n,onClick:ne,ownerState:I,...B,children:v.jsx(M,{appear:!0,in:C,timeout:L,role:"presentation",...j,children:v.jsx(JD,{className:Oe(J.container),onMouseDown:W,ownerState:I,children:v.jsx(FD,{as:D,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":re,"aria-modal":f,...k,className:Oe(J.paper,k.className),ownerState:I,children:v.jsx(E1.Provider,{value:F,children:m})})})})})});function YD(e){return Ze("MuiDialogActions",e)}Ge("MuiDialogActions",["root","spacing"]);const qD=e=>{const{classes:t,disableSpacing:n}=e;return Ke({root:["root",!n&&"spacing"]},YD,t)},ZD=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}}}]}),GD=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:a=!1,...l}=r,u={...r,disableSpacing:a},f=qD(u);return v.jsx(ZD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})});function UD(e){return Ze("MuiDialogContent",e)}Ge("MuiDialogContent",["root","dividers"]);function QD(e){return Ze("MuiDialogTitle",e)}const KD=Ge("MuiDialogTitle",["root"]),_D=e=>{const{classes:t,dividers:n}=e;return Ke({root:["root",n&&"dividers"]},UD,t)},$D=pe("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(Qe(({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:{[`.${KD.root} + &`]:{paddingTop:0}}}]}))),eu=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogContent"}),{className:s,dividers:a=!1,...l}=r,u={...r,dividers:a},f=_D(u);return v.jsx($D,{className:Oe(f.root,s),ownerState:u,ref:n,...l})}),eT=e=>{const{classes:t}=e;return Ke({root:["root"]},QD,t)},tT=pe(xt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),tu=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...l}=r,u=r,f=eT(u),{titleId:p=a}=y.useContext(E1);return v.jsx(tT,{component:"h2",className:Oe(f.root,s),ownerState:u,ref:n,variant:"h6",id:a??p,...l})});function nT(e){return Ze("MuiDivider",e)}const Px=Ge("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),rT=e=>{const{absolute:t,children:n,classes:r,flexItem:s,light:a,orientation:l,textAlign:u,variant:f}=e;return Ke({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"]},nT,r)},oT=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]}})(Qe(({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)`:Pt(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%"}}}]}))),sT=pe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(Qe(({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)`}}]}))),da=y.forwardRef(function(t,n){const r=$e({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:P="center",variant:w="fullWidth",...A}=r,x={...r,absolute:s,component:f,flexItem:p,light:h,orientation:u,role:m,textAlign:P,variant:w},H=rT(x);return v.jsx(oT,{as:f,className:Oe(H.root,l),role:m,ref:n,ownerState:x,"aria-orientation":m==="separator"&&(f!=="hr"||u==="vertical")?u:void 0,...A,children:a?v.jsx(sT,{className:H.wrapper,ownerState:x,children:a}):null})});da&&(da.muiSkipListHighlight=!0);function iT(e,t,n){const r=t.getBoundingClientRect(),s=n&&n.getBoundingClientRect(),a=Eo(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 aT(e){return typeof e=="function"?e():e}function xd(e,t,n){const r=aT(n),s=iT(e,t,r);s&&(t.style.webkitTransform=s,t.style.transform=s)}const lT=y.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:P,onEnter:w,onEntered:A,onEntering:x,onExit:H,onExited:S,onExiting:z,style:O,timeout:C=a,TransitionComponent:D=Xo,...k}=t,R=y.useRef(null),M=nn(bi(f),R,n),L=F=>_=>{F&&(_===void 0?F(R.current):F(R.current,_))},j=L((F,_)=>{xd(h,F,p),zy(F),w&&w(F,_)}),B=L((F,_)=>{const E=Ol({timeout:C,style:O,easing:m},{mode:"enter"});F.style.webkitTransition=r.transitions.create("-webkit-transform",{...E}),F.style.transition=r.transitions.create("transform",{...E}),F.style.webkitTransform="none",F.style.transform="none",x&&x(F,_)}),I=L(A),J=L(z),K=L(F=>{const _=Ol({timeout:C,style:O,easing:m},{mode:"exit"});F.style.webkitTransition=r.transitions.create("-webkit-transform",_),F.style.transition=r.transitions.create("transform",_),xd(h,F,p),H&&H(F)}),W=L(F=>{F.style.webkitTransition="",F.style.transition="",S&&S(F)}),ne=F=>{l&&l(R.current,F)},re=y.useCallback(()=>{R.current&&xd(h,R.current,p)},[h,p]);return y.useEffect(()=>{if(P||h==="down"||h==="right")return;const F=yy(()=>{R.current&&xd(h,R.current,p)}),_=Eo(R.current);return _.addEventListener("resize",F),()=>{F.clear(),_.removeEventListener("resize",F)}},[h,P,p]),y.useEffect(()=>{P||re()},[P,re]),v.jsx(D,{nodeRef:R,onEnter:j,onEntered:I,onEntering:B,onExit:K,onExited:W,onExiting:J,addEndListener:ne,appear:u,in:P,timeout:C,...k,children:(F,_)=>y.cloneElement(f,{ref:M,style:{visibility:F==="exited"&&!P?"hidden":void 0,...O,...f.props.style},..._})})});function cT(e){return Ze("MuiDrawer",e)}Ge("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const M1=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},uT=e=>{const{classes:t,anchor:n,variant:r}=e,s={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${me(n)}`,r!=="temporary"&&`paperAnchorDocked${me(n)}`]};return Ke(s,cT,t)},fT=pe(Xy,{name:"MuiDrawer",slot:"Root",overridesResolver:M1})(Qe(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),bx=pe("div",{shouldForwardProp:qn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:M1})({flex:"0 0 auto"}),dT=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)}`]]}})(Qe(({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}`}}]}))),L1={left:"right",right:"left",top:"down",bottom:"up"};function pT(e){return["left","right"].includes(e)}function vT({direction:e},t){return e==="rtl"&&pT(t)?L1[t]:t}const hT=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDrawer"}),s=Qr(),a=Fu(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:f,children:p,className:h,elevation:m=16,hideBackdrop:P=!1,ModalProps:{BackdropProps:w,...A}={},onClose:x,open:H=!1,PaperProps:S={},SlideProps:z,TransitionComponent:O=lT,transitionDuration:C=l,variant:D="temporary",...k}=r,R=y.useRef(!1);y.useEffect(()=>{R.current=!0},[]);const M=vT({direction:a?"rtl":"ltr"},u),j={...r,anchor:u,elevation:m,open:H,variant:D,...k},B=uT(j),I=v.jsx(dT,{elevation:D==="temporary"?m:0,square:!0,...S,className:Oe(B.paper,S.className),ownerState:j,children:p});if(D==="permanent")return v.jsx(bx,{className:Oe(B.root,B.docked,h),ownerState:j,ref:n,...k,children:I});const J=v.jsx(O,{in:H,direction:L1[M],timeout:C,appear:R.current,...z,children:I});return D==="persistent"?v.jsx(bx,{className:Oe(B.root,B.docked,h),ownerState:j,ref:n,...k,children:J}):v.jsx(fT,{BackdropProps:{...f,...w,transitionDuration:C},className:Oe(B.root,B.modal,h),open:H,ownerState:j,onClose:x,hideBackdrop:P,ref:n,...k,...A,children:J})}),mT=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=Ke(f,lC,t);return{...t,...p}},gT=pe(Qp,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Gp(e,t),!n.disableUnderline&&t.underline]}})(Qe(({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}}]}})),yT=pe(Kp,{name:"MuiFilledInput",slot:"Input",overridesResolver:Up})(Qe(({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}}]}))),fp=y.forwardRef(function(t,n){const r=$e({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:P={},type:w="text",...A}=r,x={...r,disableUnderline:s,fullWidth:u,inputComponent:p,multiline:h,type:w},H=mT(r),S={root:{ownerState:x},input:{ownerState:x}},z=m??l?Yn(S,m??l):S,O=P.root??a.Root??gT,C=P.input??a.Input??yT;return v.jsx(_p,{slots:{root:O,input:C},slotProps:z,fullWidth:u,inputComponent:p,multiline:h,ref:n,type:w,...A,classes:H})});fp&&(fp.muiName="Input");function AT(e){return Ze("MuiFormControl",e)}Ge("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const PT=e=>{const{classes:t,margin:n,fullWidth:r}=e,s={root:["root",n!=="none"&&`margin${me(n)}`,r&&"fullWidth"]};return Ke(s,AT,t)},bT=pe("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${me(e.margin)}`],...e.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%"}}]}),cr=y.forwardRef(function(t,n){const r=$e({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:P=!1,margin:w="none",required:A=!1,size:x="medium",variant:H="outlined",...S}=r,z={...r,color:l,component:u,disabled:f,error:p,fullWidth:m,hiddenLabel:P,margin:w,required:A,size:x,variant:H},O=PT(z),[C,D]=y.useState(()=>{let J=!1;return s&&y.Children.forEach(s,K=>{if(!Bd(K,["Input","Select"]))return;const W=Bd(K,["Select"])?K.props.input:K;W&&rC(W.props)&&(J=!0)}),J}),[k,R]=y.useState(()=>{let J=!1;return s&&y.Children.forEach(s,K=>{Bd(K,["Input","Select"])&&(up(K.props,!0)||up(K.props.inputProps,!0))&&(J=!0)}),J}),[M,L]=y.useState(!1);f&&M&&L(!1);const j=h!==void 0&&!f?h:M;let B;y.useRef(!1);const I=y.useMemo(()=>({adornedStart:C,setAdornedStart:D,color:l,disabled:f,error:p,filled:k,focused:j,fullWidth:m,hiddenLabel:P,size:x,onBlur:()=>{L(!1)},onEmpty:()=>{R(!1)},onFilled:()=>{R(!0)},onFocus:()=>{L(!0)},registerEffect:B,required:A,variant:H}),[C,l,f,p,k,j,m,P,B,A,x,H]);return v.jsx(Zp.Provider,{value:I,children:v.jsx(bT,{as:u,ownerState:z,className:Oe(O.root,a),ref:n,...S,children:s})})});function xT(e){return Ze("MuiFormControlLabel",e)}const nu=Ge("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),wT=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 Ke(l,xT,t)},HT=pe("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${nu.label}`]:t.label},t.root,t[`labelPlacement${me(n.labelPlacement)}`]]}})(Qe(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${nu.disabled}`]:{cursor:"default"},[`& .${nu.label}`]:{[`&.${nu.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}}]}))),jT=pe("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Qe(({theme:e})=>({[`&.${nu.error}`]:{color:(e.vars||e).palette.error.main}}))),zs=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormControlLabel"}),{checked:s,className:a,componentsProps:l={},control:u,disabled:f,disableTypography:p,inputRef:h,label:m,labelPlacement:P="end",name:w,onChange:A,required:x,slots:H={},slotProps:S={},value:z,...O}=r,C=No(),D=f??u.props.disabled??(C==null?void 0:C.disabled),k=x??u.props.required,R={disabled:D,required:k};["checked","name","onChange","value","inputRef"].forEach(W=>{typeof u.props[W]>"u"&&typeof r[W]<"u"&&(R[W]=r[W])});const M=wi({props:r,muiFormControl:C,states:["error"]}),L={...r,disabled:D,labelPlacement:P,required:k,error:M.error},j=wT(L),B={slots:H,slotProps:{...l,...S}},[I,J]=mn("typography",{elementType:xt,externalForwardedProps:B,ownerState:L});let K=m;return K!=null&&K.type!==xt&&!p&&(K=v.jsx(I,{component:"span",...J,className:Oe(j.label,J==null?void 0:J.className),children:K})),v.jsxs(HT,{className:Oe(j.root,a),ownerState:L,ref:n,...O,children:[y.cloneElement(u,R),k?v.jsxs("div",{children:[K,v.jsxs(jT,{ownerState:L,"aria-hidden":!0,className:j.asterisk,children:[" ","*"]})]}):K]})});function ST(e){return Ze("MuiFormGroup",e)}Ge("MuiFormGroup",["root","row","error"]);const zT=e=>{const{classes:t,row:n,error:r}=e;return Ke({root:["root",n&&"row",r&&"error"]},ST,t)},OT=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"}}]}),CT=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormGroup"}),{className:s,row:a=!1,...l}=r,u=No(),f=wi({props:r,muiFormControl:u,states:["error"]}),p={...r,row:a,error:f.error},h=zT(p);return v.jsx(OT,{className:Oe(h.root,s),ownerState:p,ref:n,...l})});function DT(e){return Ze("MuiFormHelperText",e)}const xx=Ge("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var wx;const TT=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 Ke(p,DT,t)},kT=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]}})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${xx.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${xx.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}}]}))),tl=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormHelperText"}),{children:s,className:a,component:l="p",disabled:u,error:f,filled:p,focused:h,margin:m,required:P,variant:w,...A}=r,x=No(),H=wi({props:r,muiFormControl:x,states:["variant","size","disabled","error","filled","focused","required"]}),S={...r,component:l,contained:H.variant==="filled"||H.variant==="outlined",variant:H.variant,size:H.size,disabled:H.disabled,error:H.error,filled:H.filled,focused:H.focused,required:H.required};delete S.ownerState;const z=TT(S);return v.jsx(kT,{as:l,className:Oe(z.root,a),ref:n,...A,ownerState:S,children:s===" "?wx||(wx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function RT(e){return Ze("MuiFormLabel",e)}const du=Ge("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),ET=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 Ke(f,RT,t)},MT=pe("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(Qe(({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:{[`&.${du.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${du.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${du.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),LT=pe("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Qe(({theme:e})=>({[`&.${du.error}`]:{color:(e.vars||e).palette.error.main}}))),Wd=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormLabel"}),{children:s,className:a,color:l,component:u="label",disabled:f,error:p,filled:h,focused:m,required:P,...w}=r,A=No(),x=wi({props:r,muiFormControl:A,states:["color","required","focused","disabled","error","filled"]}),H={...r,color:x.color||"primary",component:u,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required},S=ET(H);return v.jsxs(MT,{as:u,ownerState:H,className:Oe(S.root,a),ref:n,...w,children:[s,x.required&&v.jsxs(LT,{ownerState:H,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]})}),Hx=y.createContext();function XT(e){return Ze("MuiGrid",e)}const NT=[0,1,2,3,4,5,6,7,8,9,10],BT=["column-reverse","column","row-reverse","row"],VT=["nowrap","wrap-reverse","wrap"],Rc=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Su=Ge("MuiGrid",["root","container","item","zeroMinWidth",...NT.map(e=>`spacing-xs-${e}`),...BT.map(e=>`direction-xs-${e}`),...VT.map(e=>`wrap-xs-${e}`),...Rc.map(e=>`grid-xs-${e}`),...Rc.map(e=>`grid-sm-${e}`),...Rc.map(e=>`grid-md-${e}`),...Rc.map(e=>`grid-lg-${e}`),...Rc.map(e=>`grid-xl-${e}`)]);function IT({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=oa({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 WT({theme:e,ownerState:t}){const n=oa({values:t.direction,breakpoints:e.breakpoints.values});return kr({theme:e},n,r=>{const s={flexDirection:r};return r.startsWith("column")&&(s[`& > .${Su.item}`]={maxWidth:"none"}),s})}function X1({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 JT({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let s={};if(n&&r!==0){const a=oa({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=X1({breakpoints:e.breakpoints.values,values:a})),s=kr({theme:e},a,(u,f)=>{const p=e.spacing(u);return p!=="0px"?{marginTop:`calc(-1 * ${p})`,[`& > .${Su.item}`]:{paddingTop:p}}:l!=null&&l.includes(f)?{}:{marginTop:0,[`& > .${Su.item}`]:{paddingTop:0}}})}return s}function FT({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let s={};if(n&&r!==0){const a=oa({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=X1({breakpoints:e.breakpoints.values,values:a})),s=kr({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,[`& > .${Su.item}`]:{paddingLeft:p}}}return l!=null&&l.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${Su.item}`]:{paddingLeft:0}}})}return s}function YT(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 qT=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=YT(l,p,t));const m=[];return p.forEach(P=>{const w=n[P];w&&m.push(t[`grid-${P}-${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}}),WT,JT,FT,IT);function ZT(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 GT=e=>{const{classes:t,container:n,direction:r,item:s,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:f}=e;let p=[];n&&(p=ZT(a,f));const h=[];f.forEach(P=>{const w=e[P];w&&h.push(`grid-${P}-${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 Ke(m,XT,t)},os=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiGrid"}),{breakpoints:s}=Qr(),a=Wp(r),{className:l,columns:u,columnSpacing:f,component:p="div",container:h=!1,direction:m="row",item:P=!1,rowSpacing:w,spacing:A=0,wrap:x="wrap",zeroMinWidth:H=!1,...S}=a,z=w||A,O=f||A,C=y.useContext(Hx),D=h?u||12:C,k={},R={...S};s.keys.forEach(j=>{S[j]!=null&&(k[j]=S[j],delete R[j])});const M={...a,columns:D,container:h,direction:m,item:P,rowSpacing:z,columnSpacing:O,wrap:x,zeroMinWidth:H,spacing:A,...k,breakpoints:s.keys},L=GT(M);return v.jsx(Hx.Provider,{value:D,children:v.jsx(qT,{ownerState:M,className:Oe(L.root,l),as:p,ref:n,...R})})});function Ag(e){return`scale(${e}, ${e**2})`}const UT={entering:{opacity:1,transform:Ag(1)},entered:{opacity:1,transform:"none"}},Dm=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),zu=y.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:P,onExiting:w,style:A,timeout:x="auto",TransitionComponent:H=Xo,...S}=t,z=Zi(),O=y.useRef(),C=Qr(),D=y.useRef(null),k=nn(D,bi(a),n),R=W=>ne=>{if(W){const re=D.current;ne===void 0?W(re):W(re,ne)}},M=R(h),L=R((W,ne)=>{zy(W);const{duration:re,delay:F,easing:_}=Ol({style:A,timeout:x,easing:l},{mode:"enter"});let E;x==="auto"?(E=C.transitions.getAutoHeightDuration(W.clientHeight),O.current=E):E=re,W.style.transition=[C.transitions.create("opacity",{duration:E,delay:F}),C.transitions.create("transform",{duration:Dm?E:E*.666,delay:F,easing:_})].join(","),f&&f(W,ne)}),j=R(p),B=R(w),I=R(W=>{const{duration:ne,delay:re,easing:F}=Ol({style:A,timeout:x,easing:l},{mode:"exit"});let _;x==="auto"?(_=C.transitions.getAutoHeightDuration(W.clientHeight),O.current=_):_=ne,W.style.transition=[C.transitions.create("opacity",{duration:_,delay:re}),C.transitions.create("transform",{duration:Dm?_:_*.666,delay:Dm?re:re||_*.333,easing:F})].join(","),W.style.opacity=0,W.style.transform=Ag(.75),m&&m(W)}),J=R(P),K=W=>{x==="auto"&&z.start(O.current||0,W),r&&r(D.current,W)};return v.jsx(H,{appear:s,in:u,nodeRef:D,onEnter:L,onEntered:j,onEntering:M,onExit:I,onExited:J,onExiting:B,addEndListener:K,timeout:x==="auto"?null:x,...S,children:(W,ne)=>y.cloneElement(a,{style:{opacity:0,transform:Ag(.75),visibility:W==="exited"&&!u?"hidden":void 0,...UT[W],...A,...a.props.style},ref:k,...ne})})});zu&&(zu.muiSupportAuto=!0);const QT=lj({themeId:ko}),KT=e=>{const{classes:t,disableUnderline:n}=e,s=Ke({root:["root",!n&&"underline"],input:["input"]},iC,t);return{...t,...s}},_T=pe(Qp,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Gp(e,t),!n.disableUnderline&&t.underline]}})(Qe(({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"},[`&.${ii.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ii.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(.${ii.disabled}, .${ii.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${ii.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}`}}}))]}})),$T=pe(Kp,{name:"MuiInput",slot:"Input",overridesResolver:Up})({}),dp=y.forwardRef(function(t,n){const r=$e({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:P="text",...w}=r,A=KT(r),H={root:{ownerState:{disableUnderline:s}}},S=h??l?Yn(h??l,H):H,z=m.root??a.Root??_T,O=m.input??a.Input??$T;return v.jsx(_p,{slots:{root:z,input:O},slotProps:S,fullWidth:u,inputComponent:f,multiline:p,ref:n,type:P,...w,classes:A})});dp&&(dp.muiName="Input");function ek(e){return Ze("MuiInputAdornment",e)}const jx=Ge("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Sx;const tk=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},nk=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 Ke(u,ek,t)},rk=pe("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:tk})(Qe(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${jx.positionStart}&:not(.${jx.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),N1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiInputAdornment"}),{children:s,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:f=!1,position:p,variant:h,...m}=r,P=No()||{};let w=h;h&&P.variant,P&&!w&&(w=P.variant);const A={...r,hiddenLabel:P.hiddenLabel,size:P.size,disablePointerEvents:u,position:p,variant:w},x=nk(A);return v.jsx(Zp.Provider,{value:null,children:v.jsx(rk,{as:l,ownerState:A,className:Oe(x.root,a),ref:n,...m,children:typeof s=="string"&&!f?v.jsx(xt,{color:"textSecondary",children:s}):v.jsxs(y.Fragment,{children:[p==="start"?Sx||(Sx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});function ok(e){return Ze("MuiInputLabel",e)}Ge("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const sk=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=Ke(f,ok,t);return{...t,...p}},ik=pe(Wd,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${du.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]]}})(Qe(({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)"}}]}))),Jd=y.forwardRef(function(t,n){const r=$e({name:"MuiInputLabel",props:t}),{disableAnimation:s=!1,margin:a,shrink:l,variant:u,className:f,...p}=r,h=No();let m=l;typeof m>"u"&&h&&(m=h.filled||h.focused||h.adornedStart);const P=wi({props:r,muiFormControl:h,states:["size","variant","required","focused"]}),w={...r,disableAnimation:s,formControl:h,shrink:m,size:P.size,variant:P.variant,required:P.required,focused:P.focused},A=sk(w);return v.jsx(ik,{"data-shrink":m,ref:n,className:Oe(A.root,f),...p,ownerState:w,classes:A})});function ak(e){return Ze("MuiLink",e)}const lk=Ge("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),ck=({theme:e,ownerState:t})=>{const n=t.color,r=jl(e,`palette.${n}`,!1)||t.color,s=jl(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:Pt(r,.4)},zx={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},uk=e=>{const{classes:t,component:n,focusVisible:r,underline:s}=e,a={root:["root",`underline${me(s)}`,n==="button"&&"button",r&&"focusVisible"]};return Ke(a,ak,t)},fk=pe(xt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${me(n.underline)}`],n.component==="button"&&t.button]}})(Qe(({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)`:Pt(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Pt(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:Pt(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"}}}]}))),ru=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiLink"}),s=Qr(),{className:a,color:l="primary",component:u="a",onBlur:f,onFocus:p,TypographyClasses:h,underline:m="always",variant:P="inherit",sx:w,...A}=r,[x,H]=y.useState(!1),S=D=>{zl(D.target)||H(!1),f&&f(D)},z=D=>{zl(D.target)&&H(!0),p&&p(D)},O={...r,color:l,component:u,focusVisible:x,underline:m,variant:P},C=uk(O);return v.jsx(fk,{color:l,className:Oe(C.root,a),classes:h,component:u,onBlur:S,onFocus:z,ref:n,ownerState:O,variant:P,...A,sx:[...zx[l]===void 0?[{color:l}]:[],...Array.isArray(w)?w:[w]],style:{...A.style,...m==="always"&&l!=="inherit"&&!zx[l]&&{"--Link-underlineColor":ck({theme:s,ownerState:O})}}})}),Ro=y.createContext({});function dk(e){return Ze("MuiList",e)}Ge("MuiList",["root","padding","dense","subheader"]);const pk=e=>{const{classes:t,disablePadding:n,dense:r,subheader:s}=e;return Ke({root:["root",!n&&"padding",r&&"dense",s&&"subheader"]},dk,t)},vk=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}}]}),Pg=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiList"}),{children:s,className:a,component:l="ul",dense:u=!1,disablePadding:f=!1,subheader:p,...h}=r,m=y.useMemo(()=>({dense:u}),[u]),P={...r,component:l,dense:u,disablePadding:f},w=pk(P);return v.jsx(Ro.Provider,{value:m,children:v.jsxs(vk,{as:l,className:Oe(w.root,a),ref:n,ownerState:P,...h,children:[p,s]})})});function hk(e){return Ze("MuiListItem",e)}Ge("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function mk(e){return Ze("MuiListItemButton",e)}const nl=Ge("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),gk=(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=Ke({root:["root",r&&"dense",!a&&"gutters",l&&"divider",s&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},mk,n);return{...n,...p}},Ak=pe(ua,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:gk})(Qe(({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"}},[`&.${nl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${nl.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${nl.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(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})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${nl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${nl.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}}]}))),B1=y.forwardRef(function(t,n){const r=$e({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:P=!1,className:w,...A}=r,x=y.useContext(Ro),H=y.useMemo(()=>({dense:f||x.dense||!1,alignItems:s,disableGutters:p}),[s,x.dense,f,p]),S=y.useRef(null);uo(()=>{a&&S.current&&S.current.focus()},[a]);const z={...r,alignItems:s,dense:H.dense,disableGutters:p,divider:h,selected:P},O=yk(z),C=nn(S,n);return v.jsx(Ro.Provider,{value:H,children:v.jsx(Ak,{ref:C,href:A.href||A.to,component:(A.href||A.to)&&l==="div"?"button":l,focusVisibleClassName:Oe(O.focusVisible,m),ownerState:z,className:Oe(O.root,w),...A,classes:O,children:u})})});function Pk(e){return Ze("MuiListItemSecondaryAction",e)}Ge("MuiListItemSecondaryAction",["root","disableGutters"]);const bk=e=>{const{disableGutters:t,classes:n}=e;return Ke({root:["root",t&&"disableGutters"]},Pk,n)},xk=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}}]}),V1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemSecondaryAction"}),{className:s,...a}=r,l=y.useContext(Ro),u={...r,disableGutters:l.disableGutters},f=bk(u);return v.jsx(xk,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});V1.muiName="ListItemSecondaryAction";const wk=(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]},Hk=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:u}=e;return Ke({root:["root",r&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction"],container:["container"]},hk,n)},jk=pe("div",{name:"MuiListItem",slot:"Root",overridesResolver:wk})(Qe(({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:{[`& > .${nl.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}}]}))),Sk=pe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Ec=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItem"}),{alignItems:s="center",children:a,className:l,component:u,components:f={},componentsProps:p={},ContainerComponent:h="li",ContainerProps:{className:m,...P}={},dense:w=!1,disableGutters:A=!1,disablePadding:x=!1,divider:H=!1,secondaryAction:S,slotProps:z={},slots:O={},...C}=r,D=y.useContext(Ro),k=y.useMemo(()=>({dense:w||D.dense||!1,alignItems:s,disableGutters:A}),[s,D.dense,w,A]),R=y.useRef(null),M=y.Children.toArray(a),L=M.length&&Bd(M[M.length-1],["ListItemSecondaryAction"]),j={...r,alignItems:s,dense:k.dense,disableGutters:A,disablePadding:x,divider:H,hasSecondaryAction:L},B=Hk(j),I=nn(R,n),J=O.root||f.Root||jk,K=z.root||p.root||{},W={className:Oe(B.root,K.className,l),...C};let ne=u||"li";return L?(ne=!W.component&&!u?"div":ne,h==="li"&&(ne==="li"?ne="div":W.component==="li"&&(W.component="div")),v.jsx(Ro.Provider,{value:k,children:v.jsxs(Sk,{as:h,className:Oe(B.container,m),ref:I,ownerState:j,...P,children:[v.jsx(J,{...K,...!Rl(J)&&{as:ne,ownerState:{...j,...K.ownerState}},...W,children:M}),M.pop()]})})):v.jsx(Ro.Provider,{value:k,children:v.jsxs(J,{...K,as:ne,ref:I,...!Rl(J)&&{ownerState:{...j,...K.ownerState}},...W,children:[M,S&&v.jsx(V1,{children:S})]})})});function zk(e){return Ze("MuiListItemIcon",e)}const Ox=Ge("MuiListItemIcon",["root","alignItemsFlexStart"]),Ok=e=>{const{alignItems:t,classes:n}=e;return Ke({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},zk,n)},Ck=pe("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(Qe(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),Dk=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemIcon"}),{className:s,...a}=r,l=y.useContext(Ro),u={...r,alignItems:l.alignItems},f=Ok(u);return v.jsx(Ck,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});function Tk(e){return Ze("MuiListItemText",e)}const sl=Ge("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),kk=e=>{const{classes:t,inset:n,primary:r,secondary:s,dense:a}=e;return Ke({root:["root",n&&"inset",a&&"dense",r&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},Tk,t)},Rk=pe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${sl.primary}`]:t.primary},{[`& .${sl.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,[`.${U8.root}:where(& .${sl.primary})`]:{display:"block"},[`.${U8.root}:where(& .${sl.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),il=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemText"}),{children:s,className:a,disableTypography:l=!1,inset:u=!1,primary:f,primaryTypographyProps:p,secondary:h,secondaryTypographyProps:m,slots:P={},slotProps:w={},...A}=r,{dense:x}=y.useContext(Ro);let H=f??s,S=h;const z={...r,disableTypography:l,inset:u,primary:!!H,secondary:!!S,dense:x},O=kk(z),C={slots:P,slotProps:{primary:p,secondary:m,...w}},[D,k]=mn("primary",{className:O.primary,elementType:xt,externalForwardedProps:C,ownerState:z}),[R,M]=mn("secondary",{className:O.secondary,elementType:xt,externalForwardedProps:C,ownerState:z});return H!=null&&H.type!==xt&&!l&&(H=v.jsx(D,{variant:x?"body2":"body1",component:k!=null&&k.variant?void 0:"span",...k,children:H})),S!=null&&S.type!==xt&&!l&&(S=v.jsx(R,{variant:"body2",color:"textSecondary",...M,children:S})),v.jsxs(Rk,{className:Oe(O.root,a),ownerState:z,ref:n,...A,children:[H,S]})});function Tm(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Cx(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function I1(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 Mc(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")||!I1(u,a)||f)u=s(e,u,n);else return u.focus(),!0}return!1}const Ek=y.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",...P}=t,w=y.useRef(null),A=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});uo(()=>{s&&w.current.focus()},[s]),y.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(O,{direction:C})=>{const D=!w.current.style.width;if(O.clientHeight{const C=w.current,D=O.key;if(O.ctrlKey||O.metaKey||O.altKey){h&&h(O);return}const R=sr(C).activeElement;if(D==="ArrowDown")O.preventDefault(),Mc(C,R,p,f,Tm);else if(D==="ArrowUp")O.preventDefault(),Mc(C,R,p,f,Cx);else if(D==="Home")O.preventDefault(),Mc(C,null,p,f,Tm);else if(D==="End")O.preventDefault(),Mc(C,null,p,f,Cx);else if(D.length===1){const M=A.current,L=D.toLowerCase(),j=performance.now();M.keys.length>0&&(j-M.lastTime>500?(M.keys=[],M.repeating=!0,M.previousKeyMatched=!0):M.repeating&&L!==M.keys[0]&&(M.repeating=!1)),M.lastTime=j,M.keys.push(L);const B=R&&!M.repeating&&I1(R,M);M.previousKeyMatched&&(B||Mc(C,R,!1,f,Tm,M))?O.preventDefault():M.previousKeyMatched=!1}h&&h(O)},H=nn(w,n);let S=-1;y.Children.forEach(l,(O,C)=>{if(!y.isValidElement(O)){S===C&&(S+=1,S>=l.length&&(S=-1));return}O.props.disabled||(m==="selectedMenu"&&O.props.selected||S===-1)&&(S=C),S===C&&(O.props.disabled||O.props.muiSkipListHighlight||O.type.muiSkipListHighlight)&&(S+=1,S>=l.length&&(S=-1))});const z=y.Children.map(l,(O,C)=>{if(C===S){const D={};return a&&(D.autoFocus=!0),O.props.tabIndex===void 0&&m==="selectedMenu"&&(D.tabIndex=0),y.cloneElement(O,D)}return O});return v.jsx(Pg,{role:"menu",ref:H,className:u,onKeyDown:x,tabIndex:s?0:-1,...P,children:z})});function Mk(e){return Ze("MuiPopover",e)}Ge("MuiPopover",["root","paper"]);function Dx(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Tx(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function kx(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function km(e){return typeof e=="function"?e():e}const Lk=e=>{const{classes:t}=e;return Ke({root:["root"],paper:["paper"]},Mk,t)},Xk=pe(Xy,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),W1=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}),Nk=y.forwardRef(function(t,n){const r=$e({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:P=8,marginThreshold:w=16,open:A,PaperProps:x={},slots:H={},slotProps:S={},transformOrigin:z={vertical:"top",horizontal:"left"},TransitionComponent:O=zu,transitionDuration:C="auto",TransitionProps:{onEntering:D,...k}={},disableScrollLock:R=!1,...M}=r,L=(S==null?void 0:S.paper)??x,j=y.useRef(),B={...r,anchorOrigin:l,anchorReference:f,elevation:P,marginThreshold:w,externalPaperSlotProps:L,transformOrigin:z,TransitionComponent:O,transitionDuration:C,TransitionProps:k},I=Lk(B),J=y.useCallback(()=>{if(f==="anchorPosition")return u;const Xe=km(a),He=(Xe&&Xe.nodeType===1?Xe:sr(j.current).body).getBoundingClientRect();return{top:He.top+Dx(He,l.vertical),left:He.left+Tx(He,l.horizontal)}},[a,l.horizontal,l.vertical,u,f]),K=y.useCallback(Xe=>({vertical:Dx(Xe,z.vertical),horizontal:Tx(Xe,z.horizontal)}),[z.horizontal,z.vertical]),W=y.useCallback(Xe=>{const Ie={width:Xe.offsetWidth,height:Xe.offsetHeight},He=K(Ie);if(f==="none")return{top:null,left:null,transformOrigin:kx(He)};const _e=J();let we=_e.top-He.vertical,tt=_e.left-He.horizontal;const Le=we+Ie.height,dt=tt+Ie.width,N=Eo(km(a)),$=N.innerHeight-w,se=N.innerWidth-w;if(w!==null&&we$){const ye=Le-$;we-=ye,He.vertical+=ye}if(w!==null&&ttse){const ye=dt-se;tt-=ye,He.horizontal+=ye}return{top:`${Math.round(we)}px`,left:`${Math.round(tt)}px`,transformOrigin:kx(He)}},[a,f,J,K,w]),[ne,re]=y.useState(A),F=y.useCallback(()=>{const Xe=j.current;if(!Xe)return;const Ie=W(Xe);Ie.top!==null&&Xe.style.setProperty("top",Ie.top),Ie.left!==null&&(Xe.style.left=Ie.left),Xe.style.transformOrigin=Ie.transformOrigin,re(!0)},[W]);y.useEffect(()=>(R&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F)),[a,R,F]);const _=(Xe,Ie)=>{D&&D(Xe,Ie),F()},E=()=>{re(!1)};y.useEffect(()=>{A&&F()}),y.useImperativeHandle(s,()=>A?{updatePosition:()=>{F()}}:null,[A,F]),y.useEffect(()=>{if(!A)return;const Xe=yy(()=>{F()}),Ie=Eo(a);return Ie.addEventListener("resize",Xe),()=>{Xe.clear(),Ie.removeEventListener("resize",Xe)}},[a,A,F]);let G=C;C==="auto"&&!O.muiSupportAuto&&(G=void 0);const X=m||(a?sr(km(a)).body:void 0),ee={slots:H,slotProps:{...S,paper:L}},[te,ue]=mn("paper",{elementType:W1,externalForwardedProps:ee,additionalProps:{elevation:P,className:Oe(I.paper,L==null?void 0:L.className),style:ne?L.style:{...L.style,opacity:0}},ownerState:B}),[de,{slotProps:xe,...ve}]=mn("root",{elementType:Xk,externalForwardedProps:ee,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:X,open:A},ownerState:B,className:Oe(I.root,h)}),be=nn(j,ue.ref);return v.jsx(de,{...ve,...!Rl(de)&&{slotProps:xe,disableScrollLock:R},...M,ref:n,children:v.jsx(O,{appear:!0,in:A,onEntering:_,onExited:E,timeout:G,...k,children:v.jsx(te,{...ue,ref:be,children:p})})})});function Bk(e){return Ze("MuiMenu",e)}Ge("MuiMenu",["root","paper","list"]);const Vk={vertical:"top",horizontal:"right"},Ik={vertical:"top",horizontal:"left"},Wk=e=>{const{classes:t}=e;return Ke({root:["root"],paper:["paper"],list:["list"]},Bk,t)},Jk=pe(Nk,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Fk=pe(W1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Yk=pe(Ek,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Ou=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:u=!1,MenuListProps:f={},onClose:p,open:h,PaperProps:m={},PopoverClasses:P,transitionDuration:w="auto",TransitionProps:{onEntering:A,...x}={},variant:H="selectedMenu",slots:S={},slotProps:z={},...O}=r,C=Fu(),D={...r,autoFocus:s,disableAutoFocusItem:u,MenuListProps:f,onEntering:A,PaperProps:m,transitionDuration:w,TransitionProps:x,variant:H},k=Wk(D),R=s&&!u&&h,M=y.useRef(null),L=(ne,re)=>{M.current&&M.current.adjustStyleForScrollbar(ne,{direction:C?"rtl":"ltr"}),A&&A(ne,re)},j=ne=>{ne.key==="Tab"&&(ne.preventDefault(),p&&p(ne,"tabKeyDown"))};let B=-1;y.Children.map(a,(ne,re)=>{y.isValidElement(ne)&&(ne.props.disabled||(H==="selectedMenu"&&ne.props.selected||B===-1)&&(B=re))});const I=S.paper??Fk,J=z.paper??m,K=ip({elementType:S.root,externalSlotProps:z.root,ownerState:D,className:[k.root,l]}),W=ip({elementType:I,externalSlotProps:J,ownerState:D,className:k.paper});return v.jsx(Jk,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?Vk:Ik,slots:{paper:I,root:S.root},slotProps:{root:K,paper:W},open:h,ref:n,transitionDuration:w,TransitionProps:{onEntering:L,...x},ownerState:D,...O,classes:P,children:v.jsx(Yk,{onKeyDown:j,actions:M,autoFocus:s&&(B===-1||u),autoFocusItem:R,variant:H,...f,className:Oe(k.list,f.className),children:a})})});function qk(e){return Ze("MuiMenuItem",e)}const Lc=Ge("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Zk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Gk=e=>{const{disabled:t,dense:n,divider:r,disableGutters:s,selected:a,classes:l}=e,f=Ke({root:["root",n&&"dense",t&&"disabled",!s&&"gutters",r&&"divider",a&&"selected"]},qk,l);return{...l,...f}},Uk=pe(ua,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Zk})(Qe(({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"}},[`&.${Lc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Lc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Lc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(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})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Lc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Lc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Px.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Px.inset}`]:{marginLeft:52},[`& .${sl.root}`]:{marginTop:0,marginBottom:0},[`& .${sl.inset}`]:{paddingLeft:36},[`& .${Ox.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,[`& .${Ox.root} svg`]:{fontSize:"1.25rem"}}}]}))),es=y.forwardRef(function(t,n){const r=$e({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:P,...w}=r,A=y.useContext(Ro),x=y.useMemo(()=>({dense:l||A.dense||!1,disableGutters:f}),[A.dense,l,f]),H=y.useRef(null);uo(()=>{s&&H.current&&H.current.focus()},[s]);const S={...r,dense:x.dense,divider:u,disableGutters:f},z=Gk(r),O=nn(H,n);let C;return r.disabled||(C=m!==void 0?m:-1),v.jsx(Ro.Provider,{value:x,children:v.jsx(Uk,{ref:O,role:h,tabIndex:C,component:a,focusVisibleClassName:Oe(z.focusVisible,p),className:Oe(z.root,P),...w,ownerState:S,classes:z})})});function Qk(e){return Ze("MuiNativeSelect",e)}const Ny=Ge("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Kk=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 Ke(u,Qk,t)},J1=pe("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Ny.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}}}]})),_k=pe(J1,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:qn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Ny.multiple}`]:t.multiple}]}})({}),F1=pe("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Ny.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}}]})),$k=pe(F1,{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]}})({}),eR=y.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=Kk(h);return v.jsxs(y.Fragment,{children:[v.jsx(_k,{ownerState:h,className:Oe(m.select,r),disabled:s,ref:u||n,...p}),t.multiple?null:v.jsx($k,{as:l,ownerState:h,className:m.icon})]})});var Rx;const tR=pe("fieldset",{shouldForwardProp:qn})({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%"}),nR=pe("legend",{shouldForwardProp:qn})(Qe(({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 rR(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(tR,{"aria-hidden":!0,className:r,ownerState:f,...l,children:v.jsx(nR,{ownerState:f,children:u?v.jsx("span",{children:s}):Rx||(Rx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const oR=e=>{const{classes:t}=e,r=Ke({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},aC,t);return{...t,...r}},sR=pe(Qp,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Gp})(Qe(({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 .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${ro.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${ro.focused} .${ro.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(gn()).map(([n])=>({props:{color:n},style:{[`&.${ro.focused} .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${ro.error} .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${ro.disabled} .${ro.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"}}]}})),iR=pe(rR,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(Qe(({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}})),aR=pe(Kp,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Up})(Qe(({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}}]}))),pp=y.forwardRef(function(t,n){var r;const s=$e({props:t,name:"MuiOutlinedInput"}),{components:a={},fullWidth:l=!1,inputComponent:u="input",label:f,multiline:p=!1,notched:h,slots:m={},type:P="text",...w}=s,A=oR(s),x=No(),H=wi({props:s,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S={...s,color:H.color||"primary",disabled:H.disabled,error:H.error,focused:H.focused,formControl:x,fullWidth:l,hiddenLabel:H.hiddenLabel,multiline:p,size:H.size,type:P},z=m.root??a.Root??sR,O=m.input??a.Input??aR;return v.jsx(_p,{slots:{root:z,input:O},renderSuffix:C=>v.jsx(iR,{ownerState:S,className:A.notchedOutline,label:f!=null&&f!==""&&H.required?r||(r=v.jsxs(y.Fragment,{children:[f," ","*"]})):f,notched:typeof h<"u"?h:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:l,inputComponent:u,multiline:p,ref:n,type:P,...w,classes:{...A,notchedOutline:null}})});pp&&(pp.muiName="Input");const lR=At(v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),cR=At(v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),uR=At(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"),fR=At(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"),dR=pe("span",{shouldForwardProp:qn})({position:"relative",display:"flex"}),pR=pe(uR)({transform:"scale(1)"}),vR=pe(fR)(Qe(({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 Y1(e){const{checked:t=!1,classes:n={},fontSize:r}=e,s={...e,checked:t};return v.jsxs(dR,{className:n.root,ownerState:s,children:[v.jsx(pR,{fontSize:r,className:n.background,ownerState:s}),v.jsx(vR,{fontSize:r,className:n.dot,ownerState:s})]})}const q1=y.createContext(void 0);function hR(){return y.useContext(q1)}function mR(e){return Ze("MuiRadio",e)}const Ex=Ge("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),gR=e=>{const{classes:t,color:n,size:r}=e,s={root:["root",`color${me(n)}`,r!=="medium"&&`size${me(r)}`]};return{...t,...Ke(s,mR,t)}},yR=pe(Ly,{shouldForwardProp:e=>qn(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)}`]]}})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${Ex.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})`:Pt(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})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${Ex.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function AR(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const Mx=v.jsx(Y1,{checked:!0}),Lx=v.jsx(Y1,{}),Cu=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=Mx,color:l="primary",icon:u=Lx,name:f,onChange:p,size:h="medium",className:m,disabled:P,disableRipple:w=!1,...A}=r,x=No();let H=P;x&&typeof H>"u"&&(H=x.disabled),H??(H=!1);const S={...r,disabled:H,disableRipple:w,color:l,size:h},z=gR(S),O=hR();let C=s;const D=sg(p,O&&O.onChange);let k=f;return O&&(typeof C>"u"&&(C=AR(O.value,r.value)),typeof k>"u"&&(k=O.name)),v.jsx(yR,{type:"radio",icon:y.cloneElement(u,{fontSize:Lx.props.fontSize??h}),checkedIcon:y.cloneElement(a,{fontSize:Mx.props.fontSize??h}),disabled:H,ownerState:S,classes:z,name:k,checked:C,onChange:D,ref:n,className:Oe(z.root,m),...A})});function PR(e){return Ze("MuiRadioGroup",e)}Ge("MuiRadioGroup",["root","row","error"]);const bR=e=>{const{classes:t,row:n,error:r}=e;return Ke({root:["root",n&&"row",r&&"error"]},PR,t)},vp=y.forwardRef(function(t,n){const{actions:r,children:s,className:a,defaultValue:l,name:u,onChange:f,value:p,...h}=t,m=y.useRef(null),P=bR(t),[w,A]=gi({controlled:p,default:l,name:"RadioGroup"});y.useImperativeHandle(r,()=>({focus:()=>{let z=m.current.querySelector("input:not(:disabled):checked");z||(z=m.current.querySelector("input:not(:disabled)")),z&&z.focus()}}),[]);const x=nn(n,m),H=ks(u),S=y.useMemo(()=>({name:H,onChange(z){A(z.target.value),f&&f(z,z.target.value)},value:w}),[H,f,A,w]);return v.jsx(q1.Provider,{value:S,children:v.jsx(CT,{role:"radiogroup",ref:x,className:Oe(P.root,a),...h,children:s})})});function xR(e){return Ze("MuiSelect",e)}const Xc=Ge("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Xx;const wR=pe(J1,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Xc.select}`]:t.select},{[`&.${Xc.select}`]:t[n.variant]},{[`&.${Xc.error}`]:t.error},{[`&.${Xc.multiple}`]:t.multiple}]}})({[`&.${Xc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),HR=pe(F1,{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]}})({}),jR=pe("input",{shouldForwardProp:e=>u1(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 Nx(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function SR(e){return e==null||typeof e=="string"&&!e.trim()}const zR=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 Ke(u,xR,t)},OR=y.forwardRef(function(t,n){var Jt;const{"aria-describedby":r,"aria-label":s,autoFocus:a,autoWidth:l,children:u,className:f,defaultOpen:p,defaultValue:h,disabled:m,displayEmpty:P,error:w=!1,IconComponent:A,inputRef:x,labelId:H,MenuProps:S={},multiple:z,name:O,onBlur:C,onChange:D,onClose:k,onFocus:R,onOpen:M,open:L,readOnly:j,renderValue:B,SelectDisplayProps:I={},tabIndex:J,type:K,value:W,variant:ne="standard",...re}=t,[F,_]=gi({controlled:W,default:h,name:"Select"}),[E,G]=gi({controlled:L,default:p,name:"Select"}),X=y.useRef(null),ee=y.useRef(null),[te,ue]=y.useState(null),{current:de}=y.useRef(L!=null),[xe,ve]=y.useState(),be=nn(n,x),Xe=y.useCallback(Be=>{ee.current=Be,Be&&ue(Be)},[]),Ie=te==null?void 0:te.parentNode;y.useImperativeHandle(be,()=>({focus:()=>{ee.current.focus()},node:X.current,value:F}),[F]),y.useEffect(()=>{p&&E&&te&&!de&&(ve(l?null:Ie.clientWidth),ee.current.focus())},[te,l]),y.useEffect(()=>{a&&ee.current.focus()},[a]),y.useEffect(()=>{if(!H)return;const Be=sr(ee.current).getElementById(H);if(Be){const U=()=>{getSelection().isCollapsed&&ee.current.focus()};return Be.addEventListener("click",U),()=>{Be.removeEventListener("click",U)}}},[H]);const He=(Be,U)=>{Be?M&&M(U):k&&k(U),de||(ve(l?null:Ie.clientWidth),G(Be))},_e=Be=>{Be.button===0&&(Be.preventDefault(),ee.current.focus(),He(!0,Be))},we=Be=>{He(!1,Be)},tt=y.Children.toArray(u),Le=Be=>{const U=tt.find(Y=>Y.props.value===Be.target.value);U!==void 0&&(_(U.props.value),D&&D(Be,U))},dt=Be=>U=>{let Y;if(U.currentTarget.hasAttribute("tabindex")){if(z){Y=Array.isArray(F)?F.slice():[];const Pe=F.indexOf(Be.props.value);Pe===-1?Y.push(Be.props.value):Y.splice(Pe,1)}else Y=Be.props.value;if(Be.props.onClick&&Be.props.onClick(U),F!==Y&&(_(Y),D)){const Pe=U.nativeEvent||U,De=new Pe.constructor(Pe.type,Pe);Object.defineProperty(De,"target",{writable:!0,value:{value:Y,name:O}}),D(De,Be)}z||He(!1,U)}},N=Be=>{j||[" ","ArrowUp","ArrowDown","Enter"].includes(Be.key)&&(Be.preventDefault(),He(!0,Be))},$=te!==null&&E,se=Be=>{!$&&C&&(Object.defineProperty(Be,"target",{writable:!0,value:{value:F,name:O}}),C(Be))};delete re["aria-invalid"];let ye,ce;const Ae=[];let je=!1;(up({value:F})||P)&&(B?ye=B(F):je=!0);const st=tt.map(Be=>{if(!y.isValidElement(Be))return null;let U;if(z){if(!Array.isArray(F))throw new Error(Ts(2));U=F.some(Y=>Nx(Y,Be.props.value)),U&&je&&Ae.push(Be.props.children)}else U=Nx(F,Be.props.value),U&&je&&(ce=Be.props.children);return y.cloneElement(Be,{"aria-selected":U?"true":"false",onClick:dt(Be),onKeyUp:Y=>{Y.key===" "&&Y.preventDefault(),Be.props.onKeyUp&&Be.props.onKeyUp(Y)},role:"option",selected:U,value:void 0,"data-value":Be.props.value})});je&&(z?Ae.length===0?ye=null:ye=Ae.reduce((Be,U,Y)=>(Be.push(U),Y{const{classes:t}=e;return t},By={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>qn(e)&&e!=="variant",slot:"Root"},DR=pe(dp,By)(""),TR=pe(pp,By)(""),kR=pe(fp,By)(""),Du=y.forwardRef(function(t,n){const r=$e({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:a,classes:l={},className:u,defaultOpen:f=!1,displayEmpty:p=!1,IconComponent:h=S1,id:m,input:P,inputProps:w,label:A,labelId:x,MenuProps:H,multiple:S=!1,native:z=!1,onClose:O,onOpen:C,open:D,renderValue:k,SelectDisplayProps:R,variant:M="outlined",...L}=r,j=z?eR:OR,B=No(),I=wi({props:r,muiFormControl:B,states:["variant","error"]}),J=I.variant||M,K={...r,variant:J,classes:l},W=CR(K),{root:ne,...re}=W,F=P||{standard:v.jsx(DR,{ownerState:K}),outlined:v.jsx(TR,{label:A,ownerState:K}),filled:v.jsx(kR,{ownerState:K})}[J],_=nn(n,bi(F));return v.jsx(y.Fragment,{children:y.cloneElement(F,{inputComponent:j,inputProps:{children:a,error:I.error,IconComponent:h,variant:J,type:void 0,multiple:S,...z?{id:m}:{autoWidth:s,defaultOpen:f,displayEmpty:p,labelId:x,MenuProps:H,onClose:O,onOpen:C,open:D,renderValue:k,SelectDisplayProps:{id:m,...R}},...w,classes:w?Yn(re,w.classes):re,...P?P.props.inputProps:{}},...(S&&z||p)&&J==="outlined"?{notched:!0}:{},ref:_,className:Oe(F.props.className,u,W.root),...!P&&{variant:J},...L})})});Du.muiName="Select";function RR(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:s,resumeHideDuration:a}=e,l=Zi();y.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=hr((S,z)=>{r==null||r(S,z)}),f=hr(S=>{!r||S==null||l.start(S,()=>{u(null,"timeout")})});y.useEffect(()=>(s&&f(t),l.clear),[s,t,f,l]);const p=S=>{r==null||r(S,"clickaway")},h=l.clear,m=y.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),P=S=>z=>{const O=S.onBlur;O==null||O(z),m()},w=S=>z=>{const O=S.onFocus;O==null||O(z),h()},A=S=>z=>{const O=S.onMouseEnter;O==null||O(z),h()},x=S=>z=>{const O=S.onMouseLeave;O==null||O(z),m()};return y.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={...sp(e),...sp(S)};return{role:"presentation",...S,...z,onBlur:P(z),onFocus:w(z),onMouseEnter:A(z),onMouseLeave:x(z)}},onClickAway:p}}function ER(e){return Ze("MuiSnackbarContent",e)}Ge("MuiSnackbarContent",["root","message","action"]);const MR=e=>{const{classes:t}=e;return Ke({root:["root"],action:["action"],message:["message"]},ER,t)},LR=pe(Gr,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(Qe(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=Z0(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}}})),XR=pe("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),NR=pe("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),BR=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSnackbarContent"}),{action:s,className:a,message:l,role:u="alert",...f}=r,p=r,h=MR(p);return v.jsxs(LR,{role:u,square:!0,elevation:6,className:Oe(h.root,a),ownerState:p,ref:n,...f,children:[v.jsx(XR,{className:h.message,ownerState:p,children:l}),s?v.jsx(NR,{className:h.action,ownerState:p,children:s}):null]})});function VR(e){return Ze("MuiSnackbar",e)}Ge("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const IR=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${me(n.vertical)}${me(n.horizontal)}`]};return Ke(r,VR,t)},Bx=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)}`]]}})(Qe(({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%)"}}}]}))),WR=y.forwardRef(function(t,n){const r=$e({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:P,ContentProps:w,disableWindowBlurListener:A=!1,message:x,onBlur:H,onClose:S,onFocus:z,onMouseEnter:O,onMouseLeave:C,open:D,resumeHideDuration:k,TransitionComponent:R=zu,transitionDuration:M=a,TransitionProps:{onEnter:L,onExited:j,...B}={},...I}=r,J={...r,anchorOrigin:{vertical:u,horizontal:f},autoHideDuration:p,disableWindowBlurListener:A,TransitionComponent:R,transitionDuration:M},K=IR(J),{getRootProps:W,onClickAway:ne}=RR({...J}),[re,F]=y.useState(!0),_=ip({elementType:Bx,getSlotProps:W,externalForwardedProps:I,ownerState:J,additionalProps:{ref:n},className:[K.root,m]}),E=X=>{F(!0),j&&j(X)},G=(X,ee)=>{F(!1),L&&L(X,ee)};return!D&&re?null:v.jsx(k1,{onClickAway:ne,...P,children:v.jsx(Bx,{..._,children:v.jsx(R,{appear:!0,in:D,timeout:M,direction:u==="top"?"down":"up",onEnter:G,onExited:E,...B,children:h||v.jsx(BR,{message:x,action:l,...w})})})})});function JR(e){return Ze("MuiTooltip",e)}const jn=Ge("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function FR(e){return Math.round(e*1e5)/1e5}const YR=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 Ke(l,JR,t)},qR=pe(qp,{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]}})(Qe(({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"] .${jn.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${jn.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${jn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${jn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${jn.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${jn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${jn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${jn.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),ZR=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])}`]]}})(Qe(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Pt(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,[`.${jn.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${jn.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${jn.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${jn.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:`${FR(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${jn.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${jn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${jn.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${jn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${jn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${jn.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${jn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${jn.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${jn.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${jn.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),GR=pe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(Qe(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Pt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let wd=!1;const Vx=new Fp;let Nc={x:0,y:0};function Hd(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Vy=y.forwardRef(function(t,n){const r=$e({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:P=!1,disableTouchListener:w=!1,enterDelay:A=100,enterNextDelay:x=0,enterTouchDelay:H=700,followCursor:S=!1,id:z,leaveDelay:O=0,leaveTouchDelay:C=1500,onClose:D,onOpen:k,open:R,placement:M="bottom",PopperComponent:L,PopperProps:j={},slotProps:B={},slots:I={},title:J,TransitionComponent:K,TransitionProps:W,...ne}=r,re=y.isValidElement(a)?a:v.jsx("span",{children:a}),F=Qr(),_=Fu(),[E,G]=y.useState(),[X,ee]=y.useState(null),te=y.useRef(!1),ue=P||S,de=Zi(),xe=Zi(),ve=Zi(),be=Zi(),[Xe,Ie]=gi({controlled:R,default:!1,name:"Tooltip",state:"open"});let He=Xe;const _e=ks(z),we=y.useRef(),tt=hr(()=>{we.current!==void 0&&(document.body.style.WebkitUserSelect=we.current,we.current=void 0),be.clear()});y.useEffect(()=>tt,[tt]);const Le=Fe=>{Vx.clear(),wd=!0,Ie(!0),k&&!He&&k(Fe)},dt=hr(Fe=>{Vx.start(800+O,()=>{wd=!1}),Ie(!1),D&&He&&D(Fe),de.start(F.transitions.duration.shortest,()=>{te.current=!1})}),N=Fe=>{te.current&&Fe.type!=="touchstart"||(E&&E.removeAttribute("title"),xe.clear(),ve.clear(),A||wd&&x?xe.start(wd?x:A,()=>{Le(Fe)}):Le(Fe))},$=Fe=>{xe.clear(),ve.start(O,()=>{dt(Fe)})},[,se]=y.useState(!1),ye=Fe=>{zl(Fe.target)||(se(!1),$(Fe))},ce=Fe=>{E||G(Fe.currentTarget),zl(Fe.target)&&(se(!0),N(Fe))},Ae=Fe=>{te.current=!0;const Rt=re.props;Rt.onTouchStart&&Rt.onTouchStart(Fe)},je=Fe=>{Ae(Fe),ve.clear(),de.clear(),tt(),we.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",be.start(H,()=>{document.body.style.WebkitUserSelect=we.current,N(Fe)})},st=Fe=>{re.props.onTouchEnd&&re.props.onTouchEnd(Fe),tt(),ve.start(C,()=>{dt(Fe)})};y.useEffect(()=>{if(!He)return;function Fe(Rt){Rt.key==="Escape"&&dt(Rt)}return document.addEventListener("keydown",Fe),()=>{document.removeEventListener("keydown",Fe)}},[dt,He]);const wt=nn(bi(re),G,n);!J&&J!==0&&(He=!1);const nt=y.useRef(),ft=Fe=>{const Rt=re.props;Rt.onMouseMove&&Rt.onMouseMove(Fe),Nc={x:Fe.clientX,y:Fe.clientY},nt.current&&nt.current.update()},ct={},Ht=typeof J=="string";p?(ct.title=!He&&Ht&&!m?J:null,ct["aria-describedby"]=He?_e:null):(ct["aria-label"]=Ht?J:null,ct["aria-labelledby"]=He&&!Ht?_e:null);const We={...ct,...ne,...re.props,className:Oe(ne.className,re.props.className),onTouchStart:Ae,ref:wt,...S?{onMouseMove:ft}:{}},Dt={};w||(We.onTouchStart=je,We.onTouchEnd=st),m||(We.onMouseOver=Hd(N,We.onMouseOver),We.onMouseLeave=Hd($,We.onMouseLeave),ue||(Dt.onMouseOver=N,Dt.onMouseLeave=$)),h||(We.onFocus=Hd(ce,We.onFocus),We.onBlur=Hd(ye,We.onBlur),ue||(Dt.onFocus=ce,Dt.onBlur=ye));const Jt={...r,isRtl:_,arrow:s,disableInteractive:ue,placement:M,PopperComponentProp:L,touch:te.current},Be=typeof B.popper=="function"?B.popper(Jt):B.popper,U=y.useMemo(()=>{var Rt,cn;let Fe=[{name:"arrow",enabled:!!X,options:{element:X,padding:4}}];return(Rt=j.popperOptions)!=null&&Rt.modifiers&&(Fe=Fe.concat(j.popperOptions.modifiers)),(cn=Be==null?void 0:Be.popperOptions)!=null&&cn.modifiers&&(Fe=Fe.concat(Be.popperOptions.modifiers)),{...j.popperOptions,...Be==null?void 0:Be.popperOptions,modifiers:Fe}},[X,j.popperOptions,Be==null?void 0:Be.popperOptions]),Y=YR(Jt),Pe=typeof B.transition=="function"?B.transition(Jt):B.transition,De={slots:{popper:u.Popper,transition:u.Transition??K,tooltip:u.Tooltip,arrow:u.Arrow,...I},slotProps:{arrow:B.arrow??f.arrow,popper:{...j,...Be??f.popper},tooltip:B.tooltip??f.tooltip,transition:{...W,...Pe??f.transition}}},[Te,Ne]=mn("popper",{elementType:qR,externalForwardedProps:De,ownerState:Jt,className:Oe(Y.popper,j==null?void 0:j.className)}),[Je,ke]=mn("transition",{elementType:zu,externalForwardedProps:De,ownerState:Jt}),[rt,vt]=mn("tooltip",{elementType:ZR,className:Y.tooltip,externalForwardedProps:De,ownerState:Jt}),[kt,Ut]=mn("arrow",{elementType:GR,className:Y.arrow,externalForwardedProps:De,ownerState:Jt,ref:ee});return v.jsxs(y.Fragment,{children:[y.cloneElement(re,We),v.jsx(Te,{as:L??qp,placement:M,anchorEl:S?{getBoundingClientRect:()=>({top:Nc.y,left:Nc.x,right:Nc.x,bottom:Nc.y,width:0,height:0})}:E,popperRef:nt,open:E?He:!1,id:_e,transition:!0,...Dt,...Ne,popperOptions:U,children:({TransitionProps:Fe})=>v.jsx(Je,{timeout:F.transitions.duration.shorter,...Fe,...ke,children:v.jsxs(rt,{...vt,children:[J,s?v.jsx(kt,{...Ut}):null]})})})]})}),is=Yj({createStyledComponent:pe("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>$e({props:e,name:"MuiStack"})});function UR(e){return Ze("MuiSwitch",e)}const ur=Ge("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),QR=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=Ke(u,UR,t);return{...t,...f}},KR=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,[`& .${ur.thumb}`]:{width:16,height:16},[`& .${ur.switchBase}`]:{padding:4,[`&.${ur.checked}`]:{transform:"translateX(16px)"}}}}]}),_R=pe(Ly,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${ur.input}`]:t.input},n.color!=="default"&&t[`color${me(n.color)}`]]}})(Qe(({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}),[`&.${ur.checked}`]:{transform:"translateX(20px)"},[`&.${ur.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${ur.checked} + .${ur.track}`]:{opacity:.5},[`&.${ur.disabled} + .${ur.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${ur.input}`]:{left:"-100%",width:"300%"}})),Qe(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(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:{[`&.${ur.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ur.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?ca(e.palette[t].main,.62):la(e.palette[t].main,.55)}`}},[`&.${ur.checked} + .${ur.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),$R=pe("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(Qe(({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}`}))),eE=pe("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(Qe(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),Z1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSwitch"}),{className:s,color:a="primary",edge:l=!1,size:u="medium",sx:f,...p}=r,h={...r,color:a,edge:l,size:u},m=QR(h),P=v.jsx(eE,{className:m.thumb,ownerState:h});return v.jsxs(KR,{className:Oe(m.root,s),sx:f,ownerState:h,children:[v.jsx(_R,{type:"checkbox",icon:P,checkedIcon:P,ref:n,ownerState:h,...p,classes:{...m,root:m.switchBase}}),v.jsx($R,{className:m.track,ownerState:h})]})}),G1=y.createContext();function tE(e){return Ze("MuiTable",e)}Ge("MuiTable",["root","stickyHeader"]);const nE=e=>{const{classes:t,stickyHeader:n}=e;return Ke({root:["root",n&&"stickyHeader"]},tE,t)},rE=pe("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(Qe(({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"}}]}))),Ix="table",U1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTable"}),{className:s,component:a=Ix,padding:l="normal",size:u="medium",stickyHeader:f=!1,...p}=r,h={...r,component:a,padding:l,size:u,stickyHeader:f},m=nE(h),P=y.useMemo(()=>({padding:l,size:u,stickyHeader:f}),[l,u,f]);return v.jsx(G1.Provider,{value:P,children:v.jsx(rE,{as:a,role:a===Ix?null:"table",ref:n,className:Oe(m.root,s),ownerState:h,...p})})}),Uu=y.createContext();function oE(e){return Ze("MuiTableBody",e)}Ge("MuiTableBody",["root"]);const sE=e=>{const{classes:t}=e;return Ke({root:["root"]},oE,t)},iE=pe("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),aE={variant:"body"},Wx="tbody",Q1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableBody"}),{className:s,component:a=Wx,...l}=r,u={...r,component:a},f=sE(u);return v.jsx(Uu.Provider,{value:aE,children:v.jsx(iE,{className:Oe(f.root,s),as:a,ref:n,role:a===Wx?null:"rowgroup",ownerState:u,...l})})});function lE(e){return Ze("MuiTableCell",e)}const cE=Ge("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),uE=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 Ke(u,lE,t)},fE=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]}})(Qe(({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"?ca(Pt(e.palette.divider,1),.88):la(Pt(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",[`&.${cE.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}}]}))),pr=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableCell"}),{align:s="inherit",className:a,component:l,padding:u,scope:f,size:p,sortDirection:h,variant:m,...P}=r,w=y.useContext(G1),A=y.useContext(Uu),x=A&&A.variant==="head";let H;l?H=l:H=x?"th":"td";let S=f;H==="td"?S=void 0:!S&&x&&(S="col");const z=m||A&&A.variant,O={...r,align:s,component:H,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},C=uE(O);let D=null;return h&&(D=h==="asc"?"ascending":"descending"),v.jsx(fE,{as:H,ref:n,className:Oe(C.root,a),"aria-sort":D,scope:S,ownerState:O,...P})});function dE(e){return Ze("MuiTableContainer",e)}Ge("MuiTableContainer",["root"]);const pE=e=>{const{classes:t}=e;return Ke({root:["root"]},dE,t)},vE=pe("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),K1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableContainer"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=pE(u);return v.jsx(vE,{ref:n,as:a,className:Oe(f.root,s),ownerState:u,...l})});function hE(e){return Ze("MuiTableFooter",e)}Ge("MuiTableFooter",["root"]);const mE=e=>{const{classes:t}=e;return Ke({root:["root"]},hE,t)},gE=pe("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),yE={variant:"footer"},Jx="tfoot",AE=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableFooter"}),{className:s,component:a=Jx,...l}=r,u={...r,component:a},f=mE(u);return v.jsx(Uu.Provider,{value:yE,children:v.jsx(gE,{as:a,className:Oe(f.root,s),ref:n,role:a===Jx?null:"rowgroup",ownerState:u,...l})})});function PE(e){return Ze("MuiTableHead",e)}Ge("MuiTableHead",["root"]);const bE=e=>{const{classes:t}=e;return Ke({root:["root"]},PE,t)},xE=pe("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),wE={variant:"head"},Fx="thead",HE=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableHead"}),{className:s,component:a=Fx,...l}=r,u={...r,component:a},f=bE(u);return v.jsx(Uu.Provider,{value:wE,children:v.jsx(xE,{as:a,className:Oe(f.root,s),ref:n,role:a===Fx?null:"rowgroup",ownerState:u,...l})})});function jE(e){return Ze("MuiToolbar",e)}Ge("MuiToolbar",["root","gutters","regular","dense"]);const SE=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Ke({root:["root",!n&&"gutters",r]},jE,t)},zE=pe("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Qe(({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}]}))),_1=y.forwardRef(function(t,n){const r=$e({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=SE(p);return v.jsx(zE,{as:a,className:Oe(h.root,s),ref:n,ownerState:p,...f})}),OE=At(v.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),CE=At(v.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),DE=y.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:P,slots:w={},slotProps:A={},...x}=t,H=Fu(),S=G=>{f(G,0)},z=G=>{f(G,p-1)},O=G=>{f(G,p+1)},C=G=>{f(G,Math.max(0,Math.ceil(s/h)-1))},D=w.firstButton??Sr,k=w.lastButton??Sr,R=w.nextButton??Sr,M=w.previousButton??Sr,L=w.firstButtonIcon??lR,j=w.lastButtonIcon??cR,B=w.nextButtonIcon??CE,I=w.previousButtonIcon??OE,J=H?k:D,K=H?R:M,W=H?M:R,ne=H?D:k,re=H?A.lastButton:A.firstButton,F=H?A.nextButton:A.previousButton,_=H?A.previousButton:A.nextButton,E=H?A.firstButton:A.lastButton;return v.jsxs("div",{ref:n,...x,children:[m&&v.jsx(J,{onClick:S,disabled:a||p===0,"aria-label":l("first",p),title:l("first",p),...re,children:H?v.jsx(j,{...A.lastButtonIcon}):v.jsx(L,{...A.firstButtonIcon})}),v.jsx(K,{onClick:z,disabled:a||p===0,color:"inherit","aria-label":l("previous",p),title:l("previous",p),...F??r,children:H?v.jsx(B,{...A.nextButtonIcon}):v.jsx(I,{...A.previousButtonIcon})}),v.jsx(W,{onClick:O,disabled:a||(s!==-1?p>=Math.ceil(s/h)-1:!1),color:"inherit","aria-label":l("next",p),title:l("next",p),..._??u,children:H?v.jsx(I,{...A.previousButtonIcon}):v.jsx(B,{...A.nextButtonIcon})}),P&&v.jsx(ne,{onClick:C,disabled:a||p>=Math.ceil(s/h)-1,"aria-label":l("last",p),title:l("last",p),...E,children:H?v.jsx(L,{...A.firstButtonIcon}):v.jsx(j,{...A.lastButtonIcon})})]})});function TE(e){return Ze("MuiTablePagination",e)}const pu=Ge("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Yx;const kE=pe(pr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(Qe(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),RE=pe(_1,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${pu.actions}`]:t.actions,...t.toolbar})})(Qe(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${pu.actions}`]:{flexShrink:0,marginLeft:20}}))),EE=pe("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),ME=pe("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(Qe(({theme:e})=>({...e.typography.body2,flexShrink:0}))),LE=pe(Du,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${pu.selectIcon}`]:t.selectIcon,[`& .${pu.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${pu.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),XE=pe(es,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),NE=pe("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(Qe(({theme:e})=>({...e.typography.body2,flexShrink:0})));function BE({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function VE(e){return`Go to ${e} page`}const IE=e=>{const{classes:t}=e;return Ke({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},TE,t)},WE=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=DE,backIconButtonProps:a,className:l,colSpan:u,component:f=pr,count:p,disabled:h=!1,getItemAriaLabel:m=VE,labelDisplayedRows:P=BE,labelRowsPerPage:w="Rows per page:",nextIconButtonProps:A,onPageChange:x,onRowsPerPageChange:H,page:S,rowsPerPage:z,rowsPerPageOptions:O=[10,25,50,100],SelectProps:C={},showFirstButton:D=!1,showLastButton:k=!1,slotProps:R={},slots:M={},...L}=r,j=r,B=IE(j),I=(R==null?void 0:R.select)??C,J=I.native?"option":XE;let K;(f===pr||f==="td")&&(K=u||1e3);const W=ks(I.id),ne=ks(I.labelId),re=()=>p===-1?(S+1)*z:z===-1?p:Math.min(p,(S+1)*z);return v.jsx(kE,{colSpan:K,ref:n,as:f,ownerState:j,className:Oe(B.root,l),...L,children:v.jsxs(RE,{className:B.toolbar,children:[v.jsx(EE,{className:B.spacer}),O.length>1&&v.jsx(ME,{className:B.selectLabel,id:ne,children:w}),O.length>1&&v.jsx(LE,{variant:"standard",...!I.variant&&{input:Yx||(Yx=v.jsx(_p,{}))},value:z,onChange:H,id:W,labelId:ne,...I,classes:{...I.classes,root:Oe(B.input,B.selectRoot,(I.classes||{}).root),select:Oe(B.select,(I.classes||{}).select),icon:Oe(B.selectIcon,(I.classes||{}).icon)},disabled:h,children:O.map(F=>y.createElement(J,{...!Rl(J)&&{ownerState:j},className:B.menuItem,key:F.label?F.label:F,value:F.value?F.value:F},F.label?F.label:F))}),v.jsx(NE,{className:B.displayedRows,children:P({from:p===0?0:S*z+1,to:re(),count:p===-1?-1:p,page:S})}),v.jsx(s,{className:B.actions,backIconButtonProps:a,count:p,nextIconButtonProps:A,onPageChange:x,page:S,rowsPerPage:z,showFirstButton:D,showLastButton:k,slotProps:R.actions,slots:M.actions,getItemAriaLabel:m,disabled:h})]})})});function JE(e){return Ze("MuiTableRow",e)}const qx=Ge("MuiTableRow",["root","selected","hover","head","footer"]),FE=e=>{const{classes:t,selected:n,hover:r,head:s,footer:a}=e;return Ke({root:["root",n&&"selected",r&&"hover",s&&"head",a&&"footer"]},JE,t)},YE=pe("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(Qe(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${qx.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${qx.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(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}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Zx="tr",hp=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableRow"}),{className:s,component:a=Zx,hover:l=!1,selected:u=!1,...f}=r,p=y.useContext(Uu),h={...r,component:a,hover:l,selected:u,head:p&&p.variant==="head",footer:p&&p.variant==="footer"},m=FE(h);return v.jsx(YE,{as:a,ref:n,className:Oe(m.root,s),role:a===Zx?null:"row",ownerState:h,...f})});function qE(e){return Ze("MuiTextField",e)}Ge("MuiTextField",["root"]);const ZE={standard:dp,filled:fp,outlined:pp},GE=e=>{const{classes:t}=e;return Ke({root:["root"]},qE,t)},UE=pe(cr,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ao=y.forwardRef(function(t,n){const r=$e({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:P,fullWidth:w=!1,helperText:A,id:x,InputLabelProps:H,inputProps:S,InputProps:z,inputRef:O,label:C,maxRows:D,minRows:k,multiline:R=!1,name:M,onBlur:L,onChange:j,onFocus:B,placeholder:I,required:J=!1,rows:K,select:W=!1,SelectProps:ne,slots:re={},slotProps:F={},type:_,value:E,variant:G="outlined",...X}=r,ee={...r,autoFocus:a,color:f,disabled:h,error:m,fullWidth:w,multiline:R,required:J,select:W,variant:G},te=GE(ee),ue=ks(x),de=A&&ue?`${ue}-helper-text`:void 0,xe=C&&ue?`${ue}-label`:void 0,ve=ZE[G],be={slots:re,slotProps:{input:z,inputLabel:H,htmlInput:S,formHelperText:P,select:ne,...F}},Xe={},Ie=be.slotProps.inputLabel;G==="outlined"&&(Ie&&typeof Ie.shrink<"u"&&(Xe.notched=Ie.shrink),Xe.label=C),W&&((!ne||!ne.native)&&(Xe.id=void 0),Xe["aria-describedby"]=void 0);const[He,_e]=mn("input",{elementType:ve,externalForwardedProps:be,additionalProps:Xe,ownerState:ee}),[we,tt]=mn("inputLabel",{elementType:Jd,externalForwardedProps:be,ownerState:ee}),[Le,dt]=mn("htmlInput",{elementType:"input",externalForwardedProps:be,ownerState:ee}),[N,$]=mn("formHelperText",{elementType:tl,externalForwardedProps:be,ownerState:ee}),[se,ye]=mn("select",{elementType:Du,externalForwardedProps:be,ownerState:ee}),ce=v.jsx(He,{"aria-describedby":de,autoComplete:s,autoFocus:a,defaultValue:p,fullWidth:w,multiline:R,name:M,rows:K,maxRows:D,minRows:k,type:_,value:E,id:ue,inputRef:O,onBlur:L,onChange:j,onFocus:B,placeholder:I,inputProps:dt,slots:{input:re.htmlInput?Le:void 0},..._e});return v.jsxs(UE,{className:Oe(te.root,u),disabled:h,error:m,fullWidth:w,ref:n,required:J,color:f,variant:G,ownerState:ee,...X,children:[C!=null&&C!==""&&v.jsx(we,{htmlFor:ue,id:xe,...tt,children:C}),W?v.jsx(se,{"aria-describedby":de,id:ue,labelId:xe,value:E,input:ce,...ye,children:l}):ce,A&&v.jsx(N,{id:de,...$,children:A})]})}),Cn="/hub",ev="/services/japps",Iy=["Environments"],QE=["Any","Owned by me","Shared with me"],KE=["Recently modified","Name: A-Z","Name: Z-A"],_E=["Running","Ready","Pending","Unknown"],Wy="startAppId";var Il=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(){}},pa=typeof window>"u"||"Deno"in globalThis;function so(){}function $E(e,t){return typeof e=="function"?e(t):e}function bg(e){return typeof e=="number"&&e>=0&&e!==1/0}function $1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function cl(e,t){return typeof e=="function"?e(t):e}function Do(e,t){return typeof e=="function"?e(t):e}function Gx(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:l,stale:u}=e;if(l){if(r){if(t.queryHash!==Jy(l,t.options))return!1}else if(!Tu(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 Ux(e,t){const{exact:n,status:r,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(va(t.options.mutationKey)!==va(a))return!1}else if(!Tu(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Jy(e,t){return((t==null?void 0:t.queryKeyHashFn)||va)(e)}function va(e){return JSON.stringify(e,(t,n)=>xg(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Tu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Tu(e[n],t[n])):!1}function e2(e,t){if(e===t)return e;const n=Qx(e)&&Qx(t);if(n||xg(e)&&xg(t)){const r=n?e:Object.keys(e),s=r.length,a=n?t:Object.keys(t),l=a.length,u=n?[]:{};let f=0;for(let p=0;p{setTimeout(t,e)})}function wg(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?e2(e,t):t}function t6(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function n6(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Fy=Symbol();function t2(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Fy?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Ki,li,fl,c0,r6=(c0=class extends Il{constructor(){super();gt(this,Ki);gt(this,li);gt(this,fl);qe(this,fl,t=>{if(!pa&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){Z(this,li)||this.setEventListener(Z(this,fl))}onUnsubscribe(){var t;this.hasListeners()||((t=Z(this,li))==null||t.call(this),qe(this,li,void 0))}setEventListener(t){var n;qe(this,fl,t),(n=Z(this,li))==null||n.call(this),qe(this,li,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){Z(this,Ki)!==t&&(qe(this,Ki,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof Z(this,Ki)=="boolean"?Z(this,Ki):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Ki=new WeakMap,li=new WeakMap,fl=new WeakMap,c0),Yy=new r6,dl,ci,pl,u0,o6=(u0=class extends Il{constructor(){super();gt(this,dl,!0);gt(this,ci);gt(this,pl);qe(this,pl,t=>{if(!pa&&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(){Z(this,ci)||this.setEventListener(Z(this,pl))}onUnsubscribe(){var t;this.hasListeners()||((t=Z(this,ci))==null||t.call(this),qe(this,ci,void 0))}setEventListener(t){var n;qe(this,pl,t),(n=Z(this,ci))==null||n.call(this),qe(this,ci,t(this.setOnline.bind(this)))}setOnline(t){Z(this,dl)!==t&&(qe(this,dl,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return Z(this,dl)}},dl=new WeakMap,ci=new WeakMap,pl=new WeakMap,u0),gp=new o6;function Hg(){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 s6(e){return Math.min(1e3*2**e,3e4)}function n2(e){return(e??"online")==="online"?gp.isOnline():!0}var r2=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Rm(e){return e instanceof r2}function o2(e){let t=!1,n=0,r=!1,s;const a=Hg(),l=x=>{var H;r||(P(new r2(x)),(H=e.abort)==null||H.call(e))},u=()=>{t=!0},f=()=>{t=!1},p=()=>Yy.isFocused()&&(e.networkMode==="always"||gp.isOnline())&&e.canRun(),h=()=>n2(e.networkMode)&&e.canRun(),m=x=>{var H;r||(r=!0,(H=e.onSuccess)==null||H.call(e,x),s==null||s(),a.resolve(x))},P=x=>{var H;r||(r=!0,(H=e.onError)==null||H.call(e,x),s==null||s(),a.reject(x))},w=()=>new Promise(x=>{var H;s=S=>{(r||p())&&x(S)},(H=e.onPause)==null||H.call(e)}).then(()=>{var x;s=void 0,r||(x=e.onContinue)==null||x.call(e)}),A=()=>{if(r)return;let x;const H=n===0?e.initialPromise:void 0;try{x=H??e.fn()}catch(S){x=Promise.reject(S)}Promise.resolve(x).then(m).catch(S=>{var k;if(r)return;const z=e.retry??(pa?0:3),O=e.retryDelay??s6,C=typeof O=="function"?O(n,S):O,D=z===!0||typeof z=="number"&&np()?void 0:w()).then(()=>{t?P(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)}}function i6(){let e=[],t=0,n=u=>{u()},r=u=>{u()},s=u=>setTimeout(u,0);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 Vn=i6(),_i,f0,s2=(f0=class{constructor(){gt(this,_i)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),bg(this.gcTime)&&qe(this,_i,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(pa?1/0:5*60*1e3))}clearGcTimeout(){Z(this,_i)&&(clearTimeout(Z(this,_i)),qe(this,_i,void 0))}},_i=new WeakMap,f0),vl,hl,oo,rr,Eu,$i,Co,Hs,d0,a6=(d0=class extends s2{constructor(t){super();gt(this,Co);gt(this,vl);gt(this,hl);gt(this,oo);gt(this,rr);gt(this,Eu);gt(this,$i);qe(this,$i,!1),qe(this,Eu,t.defaultOptions),this.setOptions(t.options),this.observers=[],qe(this,oo,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,qe(this,vl,l6(this.options)),this.state=t.state??Z(this,vl),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=Z(this,rr))==null?void 0:t.promise}setOptions(t){this.options={...Z(this,Eu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&Z(this,oo).remove(this)}setData(t,n){const r=wg(this.state.data,t,this.options);return zt(this,Co,Hs).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){zt(this,Co,Hs).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=Z(this,rr))==null?void 0:r.promise;return(s=Z(this,rr))==null||s.cancel(t),n?n.then(so).catch(so):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(Z(this,vl))}isActive(){return this.observers.some(t=>Do(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Fy||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!$1(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=Z(this,rr))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=Z(this,rr))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),Z(this,oo).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(Z(this,rr)&&(Z(this,$i)?Z(this,rr).cancel({revert:!0}):Z(this,rr).cancelRetry()),this.scheduleGc()),Z(this,oo).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||zt(this,Co,Hs).call(this,{type:"invalidate"})}fetch(t,n){var f,p,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(Z(this,rr))return Z(this,rr).continueRetry(),Z(this,rr).promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(P=>P.options.queryFn);m&&this.setOptions(m.options)}const r=new AbortController,s=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(qe(this,$i,!0),r.signal)})},a=()=>{const m=t2(this.options,n),P={queryKey:this.queryKey,meta:this.meta};return s(P),qe(this,$i,!1),this.options.persister?this.options.persister(m,P,this):m(P)},l={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};s(l),(f=this.options.behavior)==null||f.onFetch(l,this),qe(this,hl,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=l.fetchOptions)==null?void 0:p.meta))&&zt(this,Co,Hs).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta});const u=m=>{var P,w,A,x;Rm(m)&&m.silent||zt(this,Co,Hs).call(this,{type:"error",error:m}),Rm(m)||((w=(P=Z(this,oo).config).onError)==null||w.call(P,m,this),(x=(A=Z(this,oo).config).onSettled)==null||x.call(A,this.state.data,m,this)),this.scheduleGc()};return qe(this,rr,o2({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:m=>{var P,w,A,x;if(m===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(H){u(H);return}(w=(P=Z(this,oo).config).onSuccess)==null||w.call(P,m,this),(x=(A=Z(this,oo).config).onSettled)==null||x.call(A,m,this.state.error,this),this.scheduleGc()},onError:u,onFail:(m,P)=>{zt(this,Co,Hs).call(this,{type:"failed",failureCount:m,error:P})},onPause:()=>{zt(this,Co,Hs).call(this,{type:"pause"})},onContinue:()=>{zt(this,Co,Hs).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),Z(this,rr).start()}},vl=new WeakMap,hl=new WeakMap,oo=new WeakMap,rr=new WeakMap,Eu=new WeakMap,$i=new WeakMap,Co=new WeakSet,Hs=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,...i2(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 Rm(s)&&s.revert&&Z(this,hl)?{...Z(this,hl),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),Vn.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),Z(this,oo).notify({query:this,type:"updated",action:t})})},d0);function i2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:n2(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function l6(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 qo,p0,c6=(p0=class extends Il{constructor(t={}){super();gt(this,qo);this.config=t,qe(this,qo,new Map)}build(t,n,r){const s=n.queryKey,a=n.queryHash??Jy(s,n);let l=this.get(a);return l||(l=new a6({cache:this,queryKey:s,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(l)),l}add(t){Z(this,qo).has(t.queryHash)||(Z(this,qo).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=Z(this,qo).get(t.queryHash);n&&(t.destroy(),n===t&&Z(this,qo).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Vn.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return Z(this,qo).get(t)}getAll(){return[...Z(this,qo).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Gx(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Gx(t,r)):n}notify(t){Vn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Vn.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Vn.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},qo=new WeakMap,p0),Zo,fr,ea,Go,oi,v0,u6=(v0=class extends s2{constructor(t){super();gt(this,Go);gt(this,Zo);gt(this,fr);gt(this,ea);this.mutationId=t.mutationId,qe(this,fr,t.mutationCache),qe(this,Zo,[]),this.state=t.state||a2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){Z(this,Zo).includes(t)||(Z(this,Zo).push(t),this.clearGcTimeout(),Z(this,fr).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){qe(this,Zo,Z(this,Zo).filter(n=>n!==t)),this.scheduleGc(),Z(this,fr).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){Z(this,Zo).length||(this.state.status==="pending"?this.scheduleGc():Z(this,fr).remove(this))}continue(){var t;return((t=Z(this,ea))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,a,l,u,f,p,h,m,P,w,A,x,H,S,z,O,C,D,k,R;qe(this,ea,o2({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,L)=>{zt(this,Go,oi).call(this,{type:"failed",failureCount:M,error:L})},onPause:()=>{zt(this,Go,oi).call(this,{type:"pause"})},onContinue:()=>{zt(this,Go,oi).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Z(this,fr).canRun(this)}));const n=this.state.status==="pending",r=!Z(this,ea).canStart();try{if(!n){zt(this,Go,oi).call(this,{type:"pending",variables:t,isPaused:r}),await((a=(s=Z(this,fr).config).onMutate)==null?void 0:a.call(s,t,this));const L=await((u=(l=this.options).onMutate)==null?void 0:u.call(l,t));L!==this.state.context&&zt(this,Go,oi).call(this,{type:"pending",context:L,variables:t,isPaused:r})}const M=await Z(this,ea).start();return await((p=(f=Z(this,fr).config).onSuccess)==null?void 0:p.call(f,M,t,this.state.context,this)),await((m=(h=this.options).onSuccess)==null?void 0:m.call(h,M,t,this.state.context)),await((w=(P=Z(this,fr).config).onSettled)==null?void 0:w.call(P,M,null,this.state.variables,this.state.context,this)),await((x=(A=this.options).onSettled)==null?void 0:x.call(A,M,null,t,this.state.context)),zt(this,Go,oi).call(this,{type:"success",data:M}),M}catch(M){try{throw await((S=(H=Z(this,fr).config).onError)==null?void 0:S.call(H,M,t,this.state.context,this)),await((O=(z=this.options).onError)==null?void 0:O.call(z,M,t,this.state.context)),await((D=(C=Z(this,fr).config).onSettled)==null?void 0:D.call(C,void 0,M,this.state.variables,this.state.context,this)),await((R=(k=this.options).onSettled)==null?void 0:R.call(k,void 0,M,t,this.state.context)),M}finally{zt(this,Go,oi).call(this,{type:"error",error:M})}}finally{Z(this,fr).runNext(this)}}},Zo=new WeakMap,fr=new WeakMap,ea=new WeakMap,Go=new WeakSet,oi=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),Vn.batch(()=>{Z(this,Zo).forEach(r=>{r.onMutationUpdate(t)}),Z(this,fr).notify({mutation:this,type:"updated",action:t})})},v0);function a2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Ir,Mu,h0,f6=(h0=class extends Il{constructor(t={}){super();gt(this,Ir);gt(this,Mu);this.config=t,qe(this,Ir,new Map),qe(this,Mu,Date.now())}build(t,n,r){const s=new u6({mutationCache:this,mutationId:++vd(this,Mu)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){const n=jd(t),r=Z(this,Ir).get(n)??[];r.push(t),Z(this,Ir).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=jd(t);if(Z(this,Ir).has(n)){const s=(r=Z(this,Ir).get(n))==null?void 0:r.filter(a=>a!==t);s&&(s.length===0?Z(this,Ir).delete(n):Z(this,Ir).set(n,s))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=Z(this,Ir).get(jd(t)))==null?void 0:r.find(s=>s.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=Z(this,Ir).get(jd(t)))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Vn.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...Z(this,Ir).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ux(n,r))}findAll(t={}){return this.getAll().filter(n=>Ux(t,n))}notify(t){Vn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Vn.batch(()=>Promise.all(t.map(n=>n.continue().catch(so))))}},Ir=new WeakMap,Mu=new WeakMap,h0);function jd(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function _x(e){return{onFetch:(t,n)=>{var h,m,P,w,A;const r=t.options,s=(P=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:P.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 x=!1;const H=O=>{Object.defineProperty(O,"signal",{enumerable:!0,get:()=>(t.signal.aborted?x=!0:t.signal.addEventListener("abort",()=>{x=!0}),t.signal)})},S=t2(t.options,t.fetchOptions),z=async(O,C,D)=>{if(x)return Promise.reject();if(C==null&&O.pages.length)return Promise.resolve(O);const k={queryKey:t.queryKey,pageParam:C,direction:D?"backward":"forward",meta:t.options.meta};H(k);const R=await S(k),{maxPages:M}=t.options,L=D?n6:t6;return{pages:L(O.pages,R,M),pageParams:L(O.pageParams,C,M)}};if(s&&a.length){const O=s==="backward",C=O?d6:$x,D={pages:a,pageParams:l},k=C(r,D);u=await z(D,k,O)}else{const O=e??a.length;do{const C=f===0?l[0]??r.initialPageParam:$x(r,u);if(f>0&&C==null)break;u=await z(u,C),f++}while(f{var x,H;return(H=(x=t.options).persister)==null?void 0:H.call(x,p,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=p}}}function $x(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 d6(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 Hn,ui,fi,ml,gl,di,yl,Al,m0,p6=(m0=class{constructor(e={}){gt(this,Hn);gt(this,ui);gt(this,fi);gt(this,ml);gt(this,gl);gt(this,di);gt(this,yl);gt(this,Al);qe(this,Hn,e.queryCache||new c6),qe(this,ui,e.mutationCache||new f6),qe(this,fi,e.defaultOptions||{}),qe(this,ml,new Map),qe(this,gl,new Map),qe(this,di,0)}mount(){vd(this,di)._++,Z(this,di)===1&&(qe(this,yl,Yy.subscribe(async e=>{e&&(await this.resumePausedMutations(),Z(this,Hn).onFocus())})),qe(this,Al,gp.subscribe(async e=>{e&&(await this.resumePausedMutations(),Z(this,Hn).onOnline())})))}unmount(){var e,t;vd(this,di)._--,Z(this,di)===0&&((e=Z(this,yl))==null||e.call(this),qe(this,yl,void 0),(t=Z(this,Al))==null||t.call(this),qe(this,Al,void 0))}isFetching(e){return Z(this,Hn).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return Z(this,ui).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Z(this,Hn).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=Z(this,Hn).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(cl(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return Z(this,Hn).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=Z(this,Hn).get(r.queryHash),a=s==null?void 0:s.state.data,l=$E(t,a);if(l!==void 0)return Z(this,Hn).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return Vn.batch(()=>Z(this,Hn).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Z(this,Hn).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=Z(this,Hn);Vn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=Z(this,Hn),r={type:"active",...e};return Vn.batch(()=>(n.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries(r,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Vn.batch(()=>Z(this,Hn).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(so).catch(so)}invalidateQueries(e,t={}){return Vn.batch(()=>{if(Z(this,Hn).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none")return Promise.resolve();const n={...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"};return this.refetchQueries(n,t)})}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Vn.batch(()=>Z(this,Hn).findAll(e).filter(s=>!s.isDisabled()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(so)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(so)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=Z(this,Hn).build(this,t);return n.isStaleByTime(cl(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(so).catch(so)}fetchInfiniteQuery(e){return e.behavior=_x(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(so).catch(so)}ensureInfiniteQueryData(e){return e.behavior=_x(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return gp.isOnline()?Z(this,ui).resumePausedMutations():Promise.resolve()}getQueryCache(){return Z(this,Hn)}getMutationCache(){return Z(this,ui)}getDefaultOptions(){return Z(this,fi)}setDefaultOptions(e){qe(this,fi,e)}setQueryDefaults(e,t){Z(this,ml).set(va(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...Z(this,ml).values()],n={};return t.forEach(r=>{Tu(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){Z(this,gl).set(va(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...Z(this,gl).values()];let n={};return t.forEach(r=>{Tu(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...Z(this,fi).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Jy(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===Fy&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...Z(this,fi).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){Z(this,Hn).clear(),Z(this,ui).clear()}},Hn=new WeakMap,ui=new WeakMap,fi=new WeakMap,ml=new WeakMap,gl=new WeakMap,di=new WeakMap,yl=new WeakMap,Al=new WeakMap,m0),wr,Bt,Lu,dr,ta,Pl,pi,Uo,Xu,bl,xl,na,ra,vi,wl,Zt,ou,jg,Sg,zg,Og,Cg,Dg,Tg,l2,g0,v6=(g0=class extends Il{constructor(t,n){super();gt(this,Zt);gt(this,wr);gt(this,Bt);gt(this,Lu);gt(this,dr);gt(this,ta);gt(this,Pl);gt(this,pi);gt(this,Uo);gt(this,Xu);gt(this,bl);gt(this,xl);gt(this,na);gt(this,ra);gt(this,vi);gt(this,wl,new Set);this.options=n,qe(this,wr,t),qe(this,Uo,null),qe(this,pi,Hg()),this.options.experimental_prefetchInRender||Z(this,pi).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&&(Z(this,Bt).addObserver(this),ew(Z(this,Bt),this.options)?zt(this,Zt,ou).call(this):this.updateResult(),zt(this,Zt,Og).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return kg(Z(this,Bt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return kg(Z(this,Bt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,zt(this,Zt,Cg).call(this),zt(this,Zt,Dg).call(this),Z(this,Bt).removeObserver(this)}setOptions(t,n){const r=this.options,s=Z(this,Bt);if(this.options=Z(this,wr).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Do(this.options.enabled,Z(this,Bt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");zt(this,Zt,Tg).call(this),Z(this,Bt).setOptions(this.options),r._defaulted&&!mp(this.options,r)&&Z(this,wr).getQueryCache().notify({type:"observerOptionsUpdated",query:Z(this,Bt),observer:this});const a=this.hasListeners();a&&tw(Z(this,Bt),s,this.options,r)&&zt(this,Zt,ou).call(this),this.updateResult(n),a&&(Z(this,Bt)!==s||Do(this.options.enabled,Z(this,Bt))!==Do(r.enabled,Z(this,Bt))||cl(this.options.staleTime,Z(this,Bt))!==cl(r.staleTime,Z(this,Bt)))&&zt(this,Zt,jg).call(this);const l=zt(this,Zt,Sg).call(this);a&&(Z(this,Bt)!==s||Do(this.options.enabled,Z(this,Bt))!==Do(r.enabled,Z(this,Bt))||l!==Z(this,vi))&&zt(this,Zt,zg).call(this,l)}getOptimisticResult(t){const n=Z(this,wr).getQueryCache().build(Z(this,wr),t),r=this.createResult(n,t);return m6(this,r)&&(qe(this,dr,r),qe(this,Pl,this.options),qe(this,ta,Z(this,Bt).state)),r}getCurrentResult(){return Z(this,dr)}trackResult(t,n){const r={};return Object.keys(t).forEach(s=>{Object.defineProperty(r,s,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(s),n==null||n(s),t[s])})}),r}trackProp(t){Z(this,wl).add(t)}getCurrentQuery(){return Z(this,Bt)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=Z(this,wr).defaultQueryOptions(t),r=Z(this,wr).getQueryCache().build(Z(this,wr),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return zt(this,Zt,ou).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),Z(this,dr)))}createResult(t,n){var M;const r=Z(this,Bt),s=this.options,a=Z(this,dr),l=Z(this,ta),u=Z(this,Pl),p=t!==r?t.state:Z(this,Lu),{state:h}=t;let m={...h},P=!1,w;if(n._optimisticResults){const L=this.hasListeners(),j=!L&&ew(t,n),B=L&&tw(t,r,n,s);(j||B)&&(m={...m,...i2(h.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:A,errorUpdatedAt:x,status:H}=m;if(n.select&&m.data!==void 0)if(a&&m.data===(l==null?void 0:l.data)&&n.select===Z(this,Xu))w=Z(this,bl);else try{qe(this,Xu,n.select),w=n.select(m.data),w=wg(a==null?void 0:a.data,w,n),qe(this,bl,w),qe(this,Uo,null)}catch(L){qe(this,Uo,L)}else w=m.data;if(n.placeholderData!==void 0&&w===void 0&&H==="pending"){let L;if(a!=null&&a.isPlaceholderData&&n.placeholderData===(u==null?void 0:u.placeholderData))L=a.data;else if(L=typeof n.placeholderData=="function"?n.placeholderData((M=Z(this,xl))==null?void 0:M.state.data,Z(this,xl)):n.placeholderData,n.select&&L!==void 0)try{L=n.select(L),qe(this,Uo,null)}catch(j){qe(this,Uo,j)}L!==void 0&&(H="success",w=wg(a==null?void 0:a.data,L,n),P=!0)}Z(this,Uo)&&(A=Z(this,Uo),w=Z(this,bl),x=Date.now(),H="error");const S=m.fetchStatus==="fetching",z=H==="pending",O=H==="error",C=z&&S,D=w!==void 0,R={status:H,fetchStatus:m.fetchStatus,isPending:z,isSuccess:H==="success",isError:O,isInitialLoading:C,isLoading:C,data:w,dataUpdatedAt:m.dataUpdatedAt,error:A,errorUpdatedAt:x,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:S,isRefetching:S&&!z,isLoadingError:O&&!D,isPaused:m.fetchStatus==="paused",isPlaceholderData:P,isRefetchError:O&&D,isStale:qy(t,n),refetch:this.refetch,promise:Z(this,pi)};if(this.options.experimental_prefetchInRender){const L=I=>{R.status==="error"?I.reject(R.error):R.data!==void 0&&I.resolve(R.data)},j=()=>{const I=qe(this,pi,R.promise=Hg());L(I)},B=Z(this,pi);switch(B.status){case"pending":t.queryHash===r.queryHash&&L(B);break;case"fulfilled":(R.status==="error"||R.data!==B.value)&&j();break;case"rejected":(R.status!=="error"||R.error!==B.reason)&&j();break}}return R}updateResult(t){const n=Z(this,dr),r=this.createResult(Z(this,Bt),this.options);if(qe(this,ta,Z(this,Bt).state),qe(this,Pl,this.options),Z(this,ta).data!==void 0&&qe(this,xl,Z(this,Bt)),mp(r,n))return;qe(this,dr,r);const s={},a=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,u=typeof l=="function"?l():l;if(u==="all"||!u&&!Z(this,wl).size)return!0;const f=new Set(u??Z(this,wl));return this.options.throwOnError&&f.add("error"),Object.keys(Z(this,dr)).some(p=>{const h=p;return Z(this,dr)[h]!==n[h]&&f.has(h)})};(t==null?void 0:t.listeners)!==!1&&a()&&(s.listeners=!0),zt(this,Zt,l2).call(this,{...s,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&zt(this,Zt,Og).call(this)}},wr=new WeakMap,Bt=new WeakMap,Lu=new WeakMap,dr=new WeakMap,ta=new WeakMap,Pl=new WeakMap,pi=new WeakMap,Uo=new WeakMap,Xu=new WeakMap,bl=new WeakMap,xl=new WeakMap,na=new WeakMap,ra=new WeakMap,vi=new WeakMap,wl=new WeakMap,Zt=new WeakSet,ou=function(t){zt(this,Zt,Tg).call(this);let n=Z(this,Bt).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(so)),n},jg=function(){zt(this,Zt,Cg).call(this);const t=cl(this.options.staleTime,Z(this,Bt));if(pa||Z(this,dr).isStale||!bg(t))return;const r=$1(Z(this,dr).dataUpdatedAt,t)+1;qe(this,na,setTimeout(()=>{Z(this,dr).isStale||this.updateResult()},r))},Sg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(Z(this,Bt)):this.options.refetchInterval)??!1},zg=function(t){zt(this,Zt,Dg).call(this),qe(this,vi,t),!(pa||Do(this.options.enabled,Z(this,Bt))===!1||!bg(Z(this,vi))||Z(this,vi)===0)&&qe(this,ra,setInterval(()=>{(this.options.refetchIntervalInBackground||Yy.isFocused())&&zt(this,Zt,ou).call(this)},Z(this,vi)))},Og=function(){zt(this,Zt,jg).call(this),zt(this,Zt,zg).call(this,zt(this,Zt,Sg).call(this))},Cg=function(){Z(this,na)&&(clearTimeout(Z(this,na)),qe(this,na,void 0))},Dg=function(){Z(this,ra)&&(clearInterval(Z(this,ra)),qe(this,ra,void 0))},Tg=function(){const t=Z(this,wr).getQueryCache().build(Z(this,wr),this.options);if(t===Z(this,Bt))return;const n=Z(this,Bt);qe(this,Bt,t),qe(this,Lu,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},l2=function(t){Vn.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(Z(this,dr))}),Z(this,wr).getQueryCache().notify({query:Z(this,Bt),type:"observerResultsUpdated"})})},g0);function h6(e,t){return Do(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function ew(e,t){return h6(e,t)||e.state.data!==void 0&&kg(e,t,t.refetchOnMount)}function kg(e,t,n){if(Do(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&qy(e,t)}return!1}function tw(e,t,n,r){return(e!==t||Do(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&qy(e,n)}function qy(e,t){return Do(t.enabled,e)!==!1&&e.isStaleByTime(cl(t.staleTime,e))}function m6(e,t){return!mp(e.getCurrentResult(),t)}var hi,mi,Hr,Ss,Ds,Fd,Rg,y0,g6=(y0=class extends Il{constructor(n,r){super();gt(this,Ds);gt(this,hi);gt(this,mi);gt(this,Hr);gt(this,Ss);qe(this,hi,n),this.setOptions(r),this.bindMethods(),zt(this,Ds,Fd).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=Z(this,hi).defaultMutationOptions(n),mp(this.options,r)||Z(this,hi).getMutationCache().notify({type:"observerOptionsUpdated",mutation:Z(this,Hr),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&va(r.mutationKey)!==va(this.options.mutationKey)?this.reset():((s=Z(this,Hr))==null?void 0:s.state.status)==="pending"&&Z(this,Hr).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=Z(this,Hr))==null||n.removeObserver(this)}onMutationUpdate(n){zt(this,Ds,Fd).call(this),zt(this,Ds,Rg).call(this,n)}getCurrentResult(){return Z(this,mi)}reset(){var n;(n=Z(this,Hr))==null||n.removeObserver(this),qe(this,Hr,void 0),zt(this,Ds,Fd).call(this),zt(this,Ds,Rg).call(this)}mutate(n,r){var s;return qe(this,Ss,r),(s=Z(this,Hr))==null||s.removeObserver(this),qe(this,Hr,Z(this,hi).getMutationCache().build(Z(this,hi),this.options)),Z(this,Hr).addObserver(this),Z(this,Hr).execute(n)}},hi=new WeakMap,mi=new WeakMap,Hr=new WeakMap,Ss=new WeakMap,Ds=new WeakSet,Fd=function(){var r;const n=((r=Z(this,Hr))==null?void 0:r.state)??a2();qe(this,mi,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},Rg=function(n){Vn.batch(()=>{var r,s,a,l,u,f,p,h;if(Z(this,Ss)&&this.hasListeners()){const m=Z(this,mi).variables,P=Z(this,mi).context;(n==null?void 0:n.type)==="success"?((s=(r=Z(this,Ss)).onSuccess)==null||s.call(r,n.data,m,P),(l=(a=Z(this,Ss)).onSettled)==null||l.call(a,n.data,null,m,P)):(n==null?void 0:n.type)==="error"&&((f=(u=Z(this,Ss)).onError)==null||f.call(u,n.error,m,P),(h=(p=Z(this,Ss)).onSettled)==null||h.call(p,void 0,n.error,m,P))}this.listeners.forEach(m=>{m(Z(this,mi))})})},y0),c2=y.createContext(void 0),tv=e=>{const t=y.useContext(c2);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},y6=({client:e,children:t})=>(y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),v.jsx(c2.Provider,{value:e,children:t})),u2=y.createContext(!1),A6=()=>y.useContext(u2);u2.Provider;function P6(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var b6=y.createContext(P6()),x6=()=>y.useContext(b6);function f2(e,t){return typeof e=="function"?e(...t):!!e}function Eg(){}var w6=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},H6=e=>{y.useEffect(()=>{e.clearReset()},[e])},j6=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&f2(n,[e.error,r]),S6=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},z6=(e,t)=>e.isLoading&&e.isFetching&&!t,O6=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,nw=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function C6(e,t,n){var h,m,P,w,A;const r=tv(),s=A6(),a=x6(),l=r.defaultQueryOptions(e);(m=(h=r.getDefaultOptions().queries)==null?void 0:h._experimental_beforeQuery)==null||m.call(h,l),l._optimisticResults=s?"isRestoring":"optimistic",S6(l),w6(l,a),H6(a);const u=!r.getQueryCache().get(l.queryHash),[f]=y.useState(()=>new t(r,l)),p=f.getOptimisticResult(l);if(y.useSyncExternalStore(y.useCallback(x=>{const H=s?Eg:f.subscribe(Vn.batchCalls(x));return f.updateResult(),H},[f,s]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),y.useEffect(()=>{f.setOptions(l,{listeners:!1})},[l,f]),O6(l,p))throw nw(l,f,a);if(j6({result:p,errorResetBoundary:a,throwOnError:l.throwOnError,query:r.getQueryCache().get(l.queryHash)}))throw p.error;if((w=(P=r.getDefaultOptions().queries)==null?void 0:P._experimental_afterQuery)==null||w.call(P,l,p),l.experimental_prefetchInRender&&!pa&&z6(p,s)){const x=u?nw(l,f,a):(A=r.getQueryCache().get(l.queryHash))==null?void 0:A.promise;x==null||x.catch(Eg).finally(()=>{f.updateResult()})}return l.notifyOnChangeProps?p:f.trackResult(p)}function Kn(e,t){return C6(e,v6)}function El(e,t){const n=tv(),[r]=y.useState(()=>new g6(n,e));y.useEffect(()=>{r.setOptions(e)},[r,e]);const s=y.useSyncExternalStore(y.useCallback(l=>r.subscribe(Vn.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=y.useCallback((l,u)=>{r.mutate(l,u).catch(Eg)},[r]);if(s.error&&f2(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}var Sd={},rw;function D6(){if(rw)return Sd;rw=1;var e=p1();return Sd.createRoot=e.createRoot,Sd.hydrateRoot=e.hydrateRoot,Sd}var T6=D6();const k6=Cp(T6);var Bc={},ow;function R6(){if(ow)return Bc;ow=1,Object.defineProperty(Bc,"__esModule",{value:!0}),Bc.parse=l,Bc.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 P=function(){};return P.prototype=Object.create(null),P})();function l(P,w){const A=new a,x=P.length;if(x<2)return A;const H=(w==null?void 0:w.decode)||h;let S=0;do{const z=P.indexOf("=",S);if(z===-1)break;const O=P.indexOf(";",S),C=O===-1?x:O;if(z>C){S=P.lastIndexOf(";",z-1)+1;continue}const D=u(P,S,z),k=f(P,z,D),R=P.slice(D,k);if(A[R]===void 0){let M=u(P,z+1,C),L=f(P,C,M);const j=H(P.slice(M,L));A[R]=j}S=C+1}while(SA;){const x=P.charCodeAt(--w);if(x!==32&&x!==9)return w+1}return A}function p(P,w,A){const x=(A==null?void 0:A.encode)||encodeURIComponent;if(!e.test(P))throw new TypeError(`argument name is invalid: ${P}`);const H=x(w);if(!t.test(H))throw new TypeError(`argument val is invalid: ${w}`);let S=P+"="+H;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(P){if(P.indexOf("%")===-1)return P;try{return decodeURIComponent(P)}catch{return P}}function m(P){return s.call(P)==="[object Date]"}return Bc}R6();/** - * react-router v7.0.2 + `:null,uD=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 Ke(a,aD,t)},fD=pe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${me(n.color)}`]]}})(Qe(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:lD||{animation:`${mg} 1.4s linear infinite`}},...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),dD=pe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),pD=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]}})(Qe(({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:cD||{animation:`${gg} 1.4s ease-in-out infinite`}}]}))),$p=y.forwardRef(function(t,n){const r=$e({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",...P}=r,w={...r,color:a,disableShrink:l,size:u,thickness:p,value:h,variant:m},A=uD(w),x={},H={},S={};if(m==="determinate"){const z=2*Math.PI*((ri-p)/2);x.strokeDasharray=z.toFixed(3),S["aria-valuenow"]=Math.round(h),x.strokeDashoffset=`${((100-h)/100*z).toFixed(3)}px`,H.transform="rotate(-90deg)"}return v.jsx(fD,{className:Oe(A.root,s),style:{width:u,height:u,...H,...f},ownerState:w,ref:n,role:"progressbar",...S,...P,children:v.jsx(dD,{className:A.svg,ownerState:w,viewBox:`${ri/2} ${ri/2} ${ri} ${ri}`,children:v.jsx(pD,{className:A.circle,style:x,ownerState:w,cx:ri,cy:ri,r:(ri-p)/2,fill:"none",strokeWidth:p})})})});function mx(e){return e.substring(2).toLowerCase()}function vD(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const h=nn(bi(t),u),m=hr(A=>{const x=p.current;p.current=!1;const H=sr(u.current);if(!f.current||!u.current||"clientX"in A&&vD(A,H))return;if(l.current){l.current=!1;return}let S;A.composedPath?S=A.composedPath().includes(u.current):S=!H.documentElement.contains(A.target)||u.current.contains(A.target),!S&&(n||!x)&&s(A)}),P=A=>x=>{p.current=!0;const H=t.props[A];H&&H(x)},w={ref:h};return a!==!1&&(w[a]=P(a)),y.useEffect(()=>{if(a!==!1){const A=mx(a),x=sr(u.current),H=()=>{l.current=!0};return x.addEventListener(A,m),x.addEventListener("touchmove",H),()=>{x.removeEventListener(A,m),x.removeEventListener("touchmove",H)}}},[m,a]),r!==!1&&(w[r]=P(r)),y.useEffect(()=>{if(r!==!1){const A=mx(r),x=sr(u.current);return x.addEventListener(A,m),()=>{x.removeEventListener(A,m)}}},[m,r]),y.cloneElement(t,w)}const yg=typeof Hy({})=="function",hD=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),mD=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}}),R1=(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:hD(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...mD(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},Id="mui-ecs",gD=e=>{const t=R1(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Id})`]={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(.${Id}))`]:{colorScheme:(l=s.palette)==null?void 0:l.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Id}))`]:{colorScheme:(u=s.palette)==null?void 0:u.mode}}}),t},yD=Hy(yg?({theme:e,enableColorScheme:t})=>R1(e,t):({theme:e})=>gD(e));function AD(e){const t=$e({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return v.jsxs(y.Fragment,{children:[yg&&v.jsx(yD,{enableColorScheme:r}),!yg&&!r&&v.jsx("span",{className:Id,style:{display:"none"}}),n]})}function PD(e){const t=sr(e);return t.body===e?Eo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function fu(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function gx(e){return parseInt(Eo(e).getComputedStyle(e).paddingRight,10)||0}function bD(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 yx(e,t,n,r,s){const a=[t,n,...r];[].forEach.call(e.children,l=>{const u=!a.includes(l),f=!bD(l);u&&f&&fu(l,s)})}function Om(e,t){let n=-1;return e.some((r,s)=>t(r)?(n=s,!0):!1),n}function xD(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(PD(r)){const l=U0(Eo(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${gx(r)+l}px`;const u=sr(r).querySelectorAll(".mui-fixed");[].forEach.call(u,f=>{n.push({value:f.style.paddingRight,property:"padding-right",el:f}),f.style.paddingRight=`${gx(f)+l}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=sr(r).body;else{const l=r.parentElement,u=Eo(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 wD(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class HD{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&&fu(t.modalRef,!1);const s=wD(n);yx(n,t.mount,t.modalRef,s,!0);const a=Om(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=Om(this.containers,a=>a.modals.includes(t)),s=this.containers[r];s.restore||(s.restore=xD(s,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const s=Om(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&&fu(t.modalRef,n),yx(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&&fu(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const jD=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function SD(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 zD(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 OD(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||zD(e))}function CD(e){const t=[],n=[];return Array.from(e.querySelectorAll(jD)).forEach((r,s)=>{const a=SD(r);a===-1||!OD(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 DD(){return!0}function TD(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:s=!1,getTabbable:a=CD,isEnabled:l=DD,open:u}=e,f=y.useRef(!1),p=y.useRef(null),h=y.useRef(null),m=y.useRef(null),P=y.useRef(null),w=y.useRef(!1),A=y.useRef(null),x=nn(bi(t),A),H=y.useRef(null);y.useEffect(()=>{!u||!A.current||(w.current=!n)},[n,u]),y.useEffect(()=>{if(!u||!A.current)return;const O=sr(A.current);return A.current.contains(O.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]),y.useEffect(()=>{if(!u||!A.current)return;const O=sr(A.current),C=R=>{H.current=R,!(r||!l()||R.key!=="Tab")&&O.activeElement===A.current&&R.shiftKey&&(f.current=!0,h.current&&h.current.focus())},D=()=>{var L,j;const R=A.current;if(R===null)return;if(!O.hasFocus()||!l()||f.current){f.current=!1;return}if(R.contains(O.activeElement)||r&&O.activeElement!==p.current&&O.activeElement!==h.current)return;if(O.activeElement!==P.current)P.current=null;else if(P.current!==null)return;if(!w.current)return;let M=[];if((O.activeElement===p.current||O.activeElement===h.current)&&(M=a(A.current)),M.length>0){const B=!!((L=H.current)!=null&&L.shiftKey&&((j=H.current)==null?void 0:j.key)==="Tab"),I=M[0],W=M[M.length-1];typeof I!="string"&&typeof W!="string"&&(B?W.focus():I.focus())}else R.focus()};O.addEventListener("focusin",D),O.addEventListener("keydown",C,!0);const k=setInterval(()=>{O.activeElement&&O.activeElement.tagName==="BODY"&&D()},50);return()=>{clearInterval(k),O.removeEventListener("focusin",D),O.removeEventListener("keydown",C,!0)}},[n,r,s,l,u,a]);const S=O=>{m.current===null&&(m.current=O.relatedTarget),w.current=!0,P.current=O.target;const C=t.props.onFocus;C&&C(O)},z=O=>{m.current===null&&(m.current=O.relatedTarget),w.current=!0};return v.jsxs(y.Fragment,{children:[v.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:p,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:x,onFocus:S}),v.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:h,"data-testid":"sentinelEnd"})]})}function kD(e){return typeof e=="function"?e():e}function RD(e){return e?e.props.hasOwnProperty("in"):!1}const Ax=()=>{},bd=new HD;function ED(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=y.useRef({}),P=y.useRef(null),w=y.useRef(null),A=nn(w,h),[x,H]=y.useState(!p),S=RD(u);let z=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(z=!1);const O=()=>sr(P.current),C=()=>(m.current.modalRef=w.current,m.current.mount=P.current,m.current),D=()=>{bd.mount(C(),{disableScrollLock:r}),w.current&&(w.current.scrollTop=0)},k=hr(()=>{const J=kD(t)||O().body;bd.add(C(),J),w.current&&D()}),R=()=>bd.isTopModal(C()),M=hr(J=>{P.current=J,J&&(p&&R()?D():w.current&&fu(w.current,z))}),L=y.useCallback(()=>{bd.remove(C(),z)},[z]);y.useEffect(()=>()=>{L()},[L]),y.useEffect(()=>{p?k():(!S||!s)&&L()},[p,L,S,s,k]);const j=J=>ee=>{var ne;(ne=J.onKeyDown)==null||ne.call(J,ee),!(ee.key!=="Escape"||ee.which===229||!R())&&(n||(ee.stopPropagation(),f&&f(ee,"escapeKeyDown")))},B=J=>ee=>{var ne;(ne=J.onClick)==null||ne.call(J,ee),ee.target===ee.currentTarget&&f&&f(ee,"backdropClick")};return{getRootProps:(J={})=>{const ee=sp(e);delete ee.onTransitionEnter,delete ee.onTransitionExited;const ne={...ee,...J};return{role:"presentation",...ne,onKeyDown:j(ne),ref:A}},getBackdropProps:(J={})=>{const ee=J;return{"aria-hidden":!0,...ee,onClick:B(ee),open:p}},getTransitionProps:()=>{const J=()=>{H(!1),a&&a()},ee=()=>{H(!0),l&&l(),s&&L()};return{onEnter:sg(J,(u==null?void 0:u.props.onEnter)??Ax),onExited:sg(ee,(u==null?void 0:u.props.onExited)??Ax)}},rootRef:A,portalRef:M,isTopModal:R,exited:x,hasTransition:S}}function MD(e){return Ze("MuiModal",e)}Ge("MuiModal",["root","hidden","backdrop"]);const LD=e=>{const{open:t,exited:n,classes:r}=e;return Ke({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},MD,r)},XD=pe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Qe(({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"}}]}))),ND=pe(O1,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Xy=y.forwardRef(function(t,n){const r=$e({name:"MuiModal",props:t}),{BackdropComponent:s=ND,BackdropProps:a,classes:l,className:u,closeAfterTransition:f=!1,children:p,container:h,component:m,components:P={},componentsProps:w={},disableAutoFocus:A=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:H=!1,disablePortal:S=!1,disableRestoreFocus:z=!1,disableScrollLock:O=!1,hideBackdrop:C=!1,keepMounted:D=!1,onBackdropClick:k,onClose:R,onTransitionEnter:M,onTransitionExited:L,open:j,slotProps:B={},slots:I={},theme:W,..._}=r,J={...r,closeAfterTransition:f,disableAutoFocus:A,disableEnforceFocus:x,disableEscapeKeyDown:H,disablePortal:S,disableRestoreFocus:z,disableScrollLock:O,hideBackdrop:C,keepMounted:D},{getRootProps:ee,getBackdropProps:ne,getTransitionProps:Z,portalRef:Q,isTopModal:E,exited:U,hasTransition:X}=ED({...J,rootRef:n}),re={...J,exited:U},$=LD(re),ce={};if(p.props.tabIndex===void 0&&(ce.tabIndex="-1"),X){const{onEnter:He,onExited:We}=Z();ce.onEnter=He,ce.onExited=We}const de={..._,slots:{root:P.Root,backdrop:P.Backdrop,...I},slotProps:{...w,...B}},[xe,ve]=hn("root",{elementType:XD,externalForwardedProps:de,getSlotProps:ee,additionalProps:{ref:n,as:m},ownerState:re,className:Oe(u,$==null?void 0:$.root,!re.open&&re.exited&&($==null?void 0:$.hidden))}),[be,Xe]=hn("backdrop",{elementType:s,externalForwardedProps:de,additionalProps:a,getSlotProps:He=>ne({...He,onClick:We=>{k&&k(We),He!=null&&He.onClick&&He.onClick(We)}}),className:Oe(a==null?void 0:a.className,$==null?void 0:$.backdrop),ownerState:re}),Ve=nn(a==null?void 0:a.ref,Xe.ref);return!D&&!j&&(!X||U)?null:v.jsx(j1,{ref:Q,container:h,disablePortal:S,children:v.jsxs(xe,{...ve,children:[!C&&s?v.jsx(be,{...Xe,ref:Ve}):null,v.jsx(TD,{disableEnforceFocus:x,disableAutoFocus:A,disableRestoreFocus:z,isEnabled:E,open:j,children:y.cloneElement(p,ce)})]})})});function BD(e){return Ze("MuiDialog",e)}const Cm=Ge("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),E1=y.createContext({}),VD=pe(O1,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),ID=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 Ke(l,BD,t)},WD=pe(Xy,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),JD=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"}}}]}),FD=pe(Zr,{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]}})(Qe(({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)`,[`&.${Cm.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}`,[`&.${Cm.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,[`&.${Cm.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),ol=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialog"}),s=Ur(),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:P,disableEscapeKeyDown:w=!1,fullScreen:A=!1,fullWidth:x=!1,maxWidth:H="sm",onBackdropClick:S,onClick:z,onClose:O,open:C,PaperComponent:D=Zr,PaperProps:k={},scroll:R="paper",TransitionComponent:M=z1,transitionDuration:L=a,TransitionProps:j,...B}=r,I={...r,disableEscapeKeyDown:w,fullScreen:A,fullWidth:x,maxWidth:H,scroll:R},W=ID(I),_=y.useRef(),J=Q=>{_.current=Q.target===Q.currentTarget},ee=Q=>{z&&z(Q),_.current&&(_.current=null,S&&S(Q),O&&O(Q,"backdropClick"))},ne=ks(u),Z=y.useMemo(()=>({titleId:ne}),[ne]);return v.jsx(WD,{className:Oe(W.root,P),closeAfterTransition:!0,components:{Backdrop:VD},componentsProps:{backdrop:{transitionDuration:L,as:p,...h}},disableEscapeKeyDown:w,onClose:O,open:C,ref:n,onClick:ee,ownerState:I,...B,children:v.jsx(M,{appear:!0,in:C,timeout:L,role:"presentation",...j,children:v.jsx(JD,{className:Oe(W.container),onMouseDown:J,ownerState:I,children:v.jsx(FD,{as:D,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":ne,"aria-modal":f,...k,className:Oe(W.paper,k.className),ownerState:I,children:v.jsx(E1.Provider,{value:Z,children:m})})})})})});function YD(e){return Ze("MuiDialogActions",e)}Ge("MuiDialogActions",["root","spacing"]);const qD=e=>{const{classes:t,disableSpacing:n}=e;return Ke({root:["root",!n&&"spacing"]},YD,t)},ZD=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}}}]}),GD=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:a=!1,...l}=r,u={...r,disableSpacing:a},f=qD(u);return v.jsx(ZD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})});function UD(e){return Ze("MuiDialogContent",e)}Ge("MuiDialogContent",["root","dividers"]);function QD(e){return Ze("MuiDialogTitle",e)}const KD=Ge("MuiDialogTitle",["root"]),_D=e=>{const{classes:t,dividers:n}=e;return Ke({root:["root",n&&"dividers"]},UD,t)},$D=pe("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(Qe(({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:{[`.${KD.root} + &`]:{paddingTop:0}}}]}))),eu=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogContent"}),{className:s,dividers:a=!1,...l}=r,u={...r,dividers:a},f=_D(u);return v.jsx($D,{className:Oe(f.root,s),ownerState:u,ref:n,...l})}),eT=e=>{const{classes:t}=e;return Ke({root:["root"]},QD,t)},tT=pe(bt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),tu=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...l}=r,u=r,f=eT(u),{titleId:p=a}=y.useContext(E1);return v.jsx(tT,{component:"h2",className:Oe(f.root,s),ownerState:u,ref:n,variant:"h6",id:a??p,...l})});function nT(e){return Ze("MuiDivider",e)}const Px=Ge("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),rT=e=>{const{absolute:t,children:n,classes:r,flexItem:s,light:a,orientation:l,textAlign:u,variant:f}=e;return Ke({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"]},nT,r)},oT=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]}})(Qe(({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)`:At(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%"}}}]}))),sT=pe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(Qe(({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)`}}]}))),da=y.forwardRef(function(t,n){const r=$e({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:P="center",variant:w="fullWidth",...A}=r,x={...r,absolute:s,component:f,flexItem:p,light:h,orientation:u,role:m,textAlign:P,variant:w},H=rT(x);return v.jsx(oT,{as:f,className:Oe(H.root,l),role:m,ref:n,ownerState:x,"aria-orientation":m==="separator"&&(f!=="hr"||u==="vertical")?u:void 0,...A,children:a?v.jsx(sT,{className:H.wrapper,ownerState:x,children:a}):null})});da&&(da.muiSkipListHighlight=!0);function iT(e,t,n){const r=t.getBoundingClientRect(),s=n&&n.getBoundingClientRect(),a=Eo(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 aT(e){return typeof e=="function"?e():e}function xd(e,t,n){const r=aT(n),s=iT(e,t,r);s&&(t.style.webkitTransform=s,t.style.transform=s)}const lT=y.forwardRef(function(t,n){const r=Ur(),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:P,onEnter:w,onEntered:A,onEntering:x,onExit:H,onExited:S,onExiting:z,style:O,timeout:C=a,TransitionComponent:D=Xo,...k}=t,R=y.useRef(null),M=nn(bi(f),R,n),L=Z=>Q=>{Z&&(Q===void 0?Z(R.current):Z(R.current,Q))},j=L((Z,Q)=>{xd(h,Z,p),zy(Z),w&&w(Z,Q)}),B=L((Z,Q)=>{const E=Ol({timeout:C,style:O,easing:m},{mode:"enter"});Z.style.webkitTransition=r.transitions.create("-webkit-transform",{...E}),Z.style.transition=r.transitions.create("transform",{...E}),Z.style.webkitTransform="none",Z.style.transform="none",x&&x(Z,Q)}),I=L(A),W=L(z),_=L(Z=>{const Q=Ol({timeout:C,style:O,easing:m},{mode:"exit"});Z.style.webkitTransition=r.transitions.create("-webkit-transform",Q),Z.style.transition=r.transitions.create("transform",Q),xd(h,Z,p),H&&H(Z)}),J=L(Z=>{Z.style.webkitTransition="",Z.style.transition="",S&&S(Z)}),ee=Z=>{l&&l(R.current,Z)},ne=y.useCallback(()=>{R.current&&xd(h,R.current,p)},[h,p]);return y.useEffect(()=>{if(P||h==="down"||h==="right")return;const Z=yy(()=>{R.current&&xd(h,R.current,p)}),Q=Eo(R.current);return Q.addEventListener("resize",Z),()=>{Z.clear(),Q.removeEventListener("resize",Z)}},[h,P,p]),y.useEffect(()=>{P||ne()},[P,ne]),v.jsx(D,{nodeRef:R,onEnter:j,onEntered:I,onEntering:B,onExit:_,onExited:J,onExiting:W,addEndListener:ee,appear:u,in:P,timeout:C,...k,children:(Z,Q)=>y.cloneElement(f,{ref:M,style:{visibility:Z==="exited"&&!P?"hidden":void 0,...O,...f.props.style},...Q})})});function cT(e){return Ze("MuiDrawer",e)}Ge("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const M1=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},uT=e=>{const{classes:t,anchor:n,variant:r}=e,s={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${me(n)}`,r!=="temporary"&&`paperAnchorDocked${me(n)}`]};return Ke(s,cT,t)},fT=pe(Xy,{name:"MuiDrawer",slot:"Root",overridesResolver:M1})(Qe(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),bx=pe("div",{shouldForwardProp:qn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:M1})({flex:"0 0 auto"}),dT=pe(Zr,{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)}`]]}})(Qe(({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}`}}]}))),L1={left:"right",right:"left",top:"down",bottom:"up"};function pT(e){return["left","right"].includes(e)}function vT({direction:e},t){return e==="rtl"&&pT(t)?L1[t]:t}const hT=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDrawer"}),s=Ur(),a=Fu(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:f,children:p,className:h,elevation:m=16,hideBackdrop:P=!1,ModalProps:{BackdropProps:w,...A}={},onClose:x,open:H=!1,PaperProps:S={},SlideProps:z,TransitionComponent:O=lT,transitionDuration:C=l,variant:D="temporary",...k}=r,R=y.useRef(!1);y.useEffect(()=>{R.current=!0},[]);const M=vT({direction:a?"rtl":"ltr"},u),j={...r,anchor:u,elevation:m,open:H,variant:D,...k},B=uT(j),I=v.jsx(dT,{elevation:D==="temporary"?m:0,square:!0,...S,className:Oe(B.paper,S.className),ownerState:j,children:p});if(D==="permanent")return v.jsx(bx,{className:Oe(B.root,B.docked,h),ownerState:j,ref:n,...k,children:I});const W=v.jsx(O,{in:H,direction:L1[M],timeout:C,appear:R.current,...z,children:I});return D==="persistent"?v.jsx(bx,{className:Oe(B.root,B.docked,h),ownerState:j,ref:n,...k,children:W}):v.jsx(fT,{BackdropProps:{...f,...w,transitionDuration:C},className:Oe(B.root,B.modal,h),open:H,ownerState:j,onClose:x,hideBackdrop:P,ref:n,...k,...A,children:W})}),mT=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=Ke(f,lC,t);return{...t,...p}},gT=pe(Qp,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Gp(e,t),!n.disableUnderline&&t.underline]}})(Qe(({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(mn()).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}}]}})),yT=pe(Kp,{name:"MuiFilledInput",slot:"Input",overridesResolver:Up})(Qe(({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}}]}))),fp=y.forwardRef(function(t,n){const r=$e({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:P={},type:w="text",...A}=r,x={...r,disableUnderline:s,fullWidth:u,inputComponent:p,multiline:h,type:w},H=mT(r),S={root:{ownerState:x},input:{ownerState:x}},z=m??l?Yn(S,m??l):S,O=P.root??a.Root??gT,C=P.input??a.Input??yT;return v.jsx(_p,{slots:{root:O,input:C},slotProps:z,fullWidth:u,inputComponent:p,multiline:h,ref:n,type:w,...A,classes:H})});fp&&(fp.muiName="Input");function AT(e){return Ze("MuiFormControl",e)}Ge("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const PT=e=>{const{classes:t,margin:n,fullWidth:r}=e,s={root:["root",n!=="none"&&`margin${me(n)}`,r&&"fullWidth"]};return Ke(s,AT,t)},bT=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%"}}]}),cr=y.forwardRef(function(t,n){const r=$e({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:P=!1,margin:w="none",required:A=!1,size:x="medium",variant:H="outlined",...S}=r,z={...r,color:l,component:u,disabled:f,error:p,fullWidth:m,hiddenLabel:P,margin:w,required:A,size:x,variant:H},O=PT(z),[C,D]=y.useState(()=>{let W=!1;return s&&y.Children.forEach(s,_=>{if(!Bd(_,["Input","Select"]))return;const J=Bd(_,["Select"])?_.props.input:_;J&&rC(J.props)&&(W=!0)}),W}),[k,R]=y.useState(()=>{let W=!1;return s&&y.Children.forEach(s,_=>{Bd(_,["Input","Select"])&&(up(_.props,!0)||up(_.props.inputProps,!0))&&(W=!0)}),W}),[M,L]=y.useState(!1);f&&M&&L(!1);const j=h!==void 0&&!f?h:M;let B;y.useRef(!1);const I=y.useMemo(()=>({adornedStart:C,setAdornedStart:D,color:l,disabled:f,error:p,filled:k,focused:j,fullWidth:m,hiddenLabel:P,size:x,onBlur:()=>{L(!1)},onEmpty:()=>{R(!1)},onFilled:()=>{R(!0)},onFocus:()=>{L(!0)},registerEffect:B,required:A,variant:H}),[C,l,f,p,k,j,m,P,B,A,x,H]);return v.jsx(Zp.Provider,{value:I,children:v.jsx(bT,{as:u,ownerState:z,className:Oe(O.root,a),ref:n,...S,children:s})})});function xT(e){return Ze("MuiFormControlLabel",e)}const nu=Ge("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),wT=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 Ke(l,xT,t)},HT=pe("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${nu.label}`]:t.label},t.root,t[`labelPlacement${me(n.labelPlacement)}`]]}})(Qe(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${nu.disabled}`]:{cursor:"default"},[`& .${nu.label}`]:{[`&.${nu.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}}]}))),jT=pe("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Qe(({theme:e})=>({[`&.${nu.error}`]:{color:(e.vars||e).palette.error.main}}))),zs=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormControlLabel"}),{checked:s,className:a,componentsProps:l={},control:u,disabled:f,disableTypography:p,inputRef:h,label:m,labelPlacement:P="end",name:w,onChange:A,required:x,slots:H={},slotProps:S={},value:z,...O}=r,C=No(),D=f??u.props.disabled??(C==null?void 0:C.disabled),k=x??u.props.required,R={disabled:D,required:k};["checked","name","onChange","value","inputRef"].forEach(J=>{typeof u.props[J]>"u"&&typeof r[J]<"u"&&(R[J]=r[J])});const M=wi({props:r,muiFormControl:C,states:["error"]}),L={...r,disabled:D,labelPlacement:P,required:k,error:M.error},j=wT(L),B={slots:H,slotProps:{...l,...S}},[I,W]=hn("typography",{elementType:bt,externalForwardedProps:B,ownerState:L});let _=m;return _!=null&&_.type!==bt&&!p&&(_=v.jsx(I,{component:"span",...W,className:Oe(j.label,W==null?void 0:W.className),children:_})),v.jsxs(HT,{className:Oe(j.root,a),ownerState:L,ref:n,...O,children:[y.cloneElement(u,R),k?v.jsxs("div",{children:[_,v.jsxs(jT,{ownerState:L,"aria-hidden":!0,className:j.asterisk,children:[" ","*"]})]}):_]})});function ST(e){return Ze("MuiFormGroup",e)}Ge("MuiFormGroup",["root","row","error"]);const zT=e=>{const{classes:t,row:n,error:r}=e;return Ke({root:["root",n&&"row",r&&"error"]},ST,t)},OT=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"}}]}),CT=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormGroup"}),{className:s,row:a=!1,...l}=r,u=No(),f=wi({props:r,muiFormControl:u,states:["error"]}),p={...r,row:a,error:f.error},h=zT(p);return v.jsx(OT,{className:Oe(h.root,s),ownerState:p,ref:n,...l})});function DT(e){return Ze("MuiFormHelperText",e)}const xx=Ge("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var wx;const TT=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 Ke(p,DT,t)},kT=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]}})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${xx.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${xx.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}}]}))),tl=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormHelperText"}),{children:s,className:a,component:l="p",disabled:u,error:f,filled:p,focused:h,margin:m,required:P,variant:w,...A}=r,x=No(),H=wi({props:r,muiFormControl:x,states:["variant","size","disabled","error","filled","focused","required"]}),S={...r,component:l,contained:H.variant==="filled"||H.variant==="outlined",variant:H.variant,size:H.size,disabled:H.disabled,error:H.error,filled:H.filled,focused:H.focused,required:H.required};delete S.ownerState;const z=TT(S);return v.jsx(kT,{as:l,className:Oe(z.root,a),ref:n,...A,ownerState:S,children:s===" "?wx||(wx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function RT(e){return Ze("MuiFormLabel",e)}const du=Ge("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),ET=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 Ke(f,RT,t)},MT=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]}})(Qe(({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(mn()).map(([t])=>({props:{color:t},style:{[`&.${du.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${du.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${du.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),LT=pe("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Qe(({theme:e})=>({[`&.${du.error}`]:{color:(e.vars||e).palette.error.main}}))),Wd=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormLabel"}),{children:s,className:a,color:l,component:u="label",disabled:f,error:p,filled:h,focused:m,required:P,...w}=r,A=No(),x=wi({props:r,muiFormControl:A,states:["color","required","focused","disabled","error","filled"]}),H={...r,color:x.color||"primary",component:u,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required},S=ET(H);return v.jsxs(MT,{as:u,ownerState:H,className:Oe(S.root,a),ref:n,...w,children:[s,x.required&&v.jsxs(LT,{ownerState:H,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]})}),Hx=y.createContext();function XT(e){return Ze("MuiGrid",e)}const NT=[0,1,2,3,4,5,6,7,8,9,10],BT=["column-reverse","column","row-reverse","row"],VT=["nowrap","wrap-reverse","wrap"],Rc=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Su=Ge("MuiGrid",["root","container","item","zeroMinWidth",...NT.map(e=>`spacing-xs-${e}`),...BT.map(e=>`direction-xs-${e}`),...VT.map(e=>`wrap-xs-${e}`),...Rc.map(e=>`grid-xs-${e}`),...Rc.map(e=>`grid-sm-${e}`),...Rc.map(e=>`grid-md-${e}`),...Rc.map(e=>`grid-lg-${e}`),...Rc.map(e=>`grid-xl-${e}`)]);function IT({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=oa({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 WT({theme:e,ownerState:t}){const n=oa({values:t.direction,breakpoints:e.breakpoints.values});return kr({theme:e},n,r=>{const s={flexDirection:r};return r.startsWith("column")&&(s[`& > .${Su.item}`]={maxWidth:"none"}),s})}function X1({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 JT({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let s={};if(n&&r!==0){const a=oa({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=X1({breakpoints:e.breakpoints.values,values:a})),s=kr({theme:e},a,(u,f)=>{const p=e.spacing(u);return p!=="0px"?{marginTop:`calc(-1 * ${p})`,[`& > .${Su.item}`]:{paddingTop:p}}:l!=null&&l.includes(f)?{}:{marginTop:0,[`& > .${Su.item}`]:{paddingTop:0}}})}return s}function FT({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let s={};if(n&&r!==0){const a=oa({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=X1({breakpoints:e.breakpoints.values,values:a})),s=kr({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,[`& > .${Su.item}`]:{paddingLeft:p}}}return l!=null&&l.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${Su.item}`]:{paddingLeft:0}}})}return s}function YT(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 qT=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=YT(l,p,t));const m=[];return p.forEach(P=>{const w=n[P];w&&m.push(t[`grid-${P}-${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}}),WT,JT,FT,IT);function ZT(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 GT=e=>{const{classes:t,container:n,direction:r,item:s,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:f}=e;let p=[];n&&(p=ZT(a,f));const h=[];f.forEach(P=>{const w=e[P];w&&h.push(`grid-${P}-${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 Ke(m,XT,t)},os=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiGrid"}),{breakpoints:s}=Ur(),a=Wp(r),{className:l,columns:u,columnSpacing:f,component:p="div",container:h=!1,direction:m="row",item:P=!1,rowSpacing:w,spacing:A=0,wrap:x="wrap",zeroMinWidth:H=!1,...S}=a,z=w||A,O=f||A,C=y.useContext(Hx),D=h?u||12:C,k={},R={...S};s.keys.forEach(j=>{S[j]!=null&&(k[j]=S[j],delete R[j])});const M={...a,columns:D,container:h,direction:m,item:P,rowSpacing:z,columnSpacing:O,wrap:x,zeroMinWidth:H,spacing:A,...k,breakpoints:s.keys},L=GT(M);return v.jsx(Hx.Provider,{value:D,children:v.jsx(qT,{ownerState:M,className:Oe(L.root,l),as:p,ref:n,...R})})});function Ag(e){return`scale(${e}, ${e**2})`}const UT={entering:{opacity:1,transform:Ag(1)},entered:{opacity:1,transform:"none"}},Dm=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),zu=y.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:P,onExiting:w,style:A,timeout:x="auto",TransitionComponent:H=Xo,...S}=t,z=Zi(),O=y.useRef(),C=Ur(),D=y.useRef(null),k=nn(D,bi(a),n),R=J=>ee=>{if(J){const ne=D.current;ee===void 0?J(ne):J(ne,ee)}},M=R(h),L=R((J,ee)=>{zy(J);const{duration:ne,delay:Z,easing:Q}=Ol({style:A,timeout:x,easing:l},{mode:"enter"});let E;x==="auto"?(E=C.transitions.getAutoHeightDuration(J.clientHeight),O.current=E):E=ne,J.style.transition=[C.transitions.create("opacity",{duration:E,delay:Z}),C.transitions.create("transform",{duration:Dm?E:E*.666,delay:Z,easing:Q})].join(","),f&&f(J,ee)}),j=R(p),B=R(w),I=R(J=>{const{duration:ee,delay:ne,easing:Z}=Ol({style:A,timeout:x,easing:l},{mode:"exit"});let Q;x==="auto"?(Q=C.transitions.getAutoHeightDuration(J.clientHeight),O.current=Q):Q=ee,J.style.transition=[C.transitions.create("opacity",{duration:Q,delay:ne}),C.transitions.create("transform",{duration:Dm?Q:Q*.666,delay:Dm?ne:ne||Q*.333,easing:Z})].join(","),J.style.opacity=0,J.style.transform=Ag(.75),m&&m(J)}),W=R(P),_=J=>{x==="auto"&&z.start(O.current||0,J),r&&r(D.current,J)};return v.jsx(H,{appear:s,in:u,nodeRef:D,onEnter:L,onEntered:j,onEntering:M,onExit:I,onExited:W,onExiting:B,addEndListener:_,timeout:x==="auto"?null:x,...S,children:(J,ee)=>y.cloneElement(a,{style:{opacity:0,transform:Ag(.75),visibility:J==="exited"&&!u?"hidden":void 0,...UT[J],...A,...a.props.style},ref:k,...ee})})});zu&&(zu.muiSupportAuto=!0);const QT=lj({themeId:ko}),KT=e=>{const{classes:t,disableUnderline:n}=e,s=Ke({root:["root",!n&&"underline"],input:["input"]},iC,t);return{...t,...s}},_T=pe(Qp,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Gp(e,t),!n.disableUnderline&&t.underline]}})(Qe(({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"},[`&.${ii.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ii.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(.${ii.disabled}, .${ii.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${ii.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(mn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),$T=pe(Kp,{name:"MuiInput",slot:"Input",overridesResolver:Up})({}),dp=y.forwardRef(function(t,n){const r=$e({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:P="text",...w}=r,A=KT(r),H={root:{ownerState:{disableUnderline:s}}},S=h??l?Yn(h??l,H):H,z=m.root??a.Root??_T,O=m.input??a.Input??$T;return v.jsx(_p,{slots:{root:z,input:O},slotProps:S,fullWidth:u,inputComponent:f,multiline:p,ref:n,type:P,...w,classes:A})});dp&&(dp.muiName="Input");function ek(e){return Ze("MuiInputAdornment",e)}const jx=Ge("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Sx;const tk=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},nk=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 Ke(u,ek,t)},rk=pe("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:tk})(Qe(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${jx.positionStart}&:not(.${jx.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),N1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiInputAdornment"}),{children:s,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:f=!1,position:p,variant:h,...m}=r,P=No()||{};let w=h;h&&P.variant,P&&!w&&(w=P.variant);const A={...r,hiddenLabel:P.hiddenLabel,size:P.size,disablePointerEvents:u,position:p,variant:w},x=nk(A);return v.jsx(Zp.Provider,{value:null,children:v.jsx(rk,{as:l,ownerState:A,className:Oe(x.root,a),ref:n,...m,children:typeof s=="string"&&!f?v.jsx(bt,{color:"textSecondary",children:s}):v.jsxs(y.Fragment,{children:[p==="start"?Sx||(Sx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});function ok(e){return Ze("MuiInputLabel",e)}Ge("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const sk=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=Ke(f,ok,t);return{...t,...p}},ik=pe(Wd,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${du.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]]}})(Qe(({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)"}}]}))),Jd=y.forwardRef(function(t,n){const r=$e({name:"MuiInputLabel",props:t}),{disableAnimation:s=!1,margin:a,shrink:l,variant:u,className:f,...p}=r,h=No();let m=l;typeof m>"u"&&h&&(m=h.filled||h.focused||h.adornedStart);const P=wi({props:r,muiFormControl:h,states:["size","variant","required","focused"]}),w={...r,disableAnimation:s,formControl:h,shrink:m,size:P.size,variant:P.variant,required:P.required,focused:P.focused},A=sk(w);return v.jsx(ik,{"data-shrink":m,ref:n,className:Oe(A.root,f),...p,ownerState:w,classes:A})});function ak(e){return Ze("MuiLink",e)}const lk=Ge("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),ck=({theme:e,ownerState:t})=>{const n=t.color,r=jl(e,`palette.${n}`,!1)||t.color,s=jl(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:At(r,.4)},zx={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},uk=e=>{const{classes:t,component:n,focusVisible:r,underline:s}=e,a={root:["root",`underline${me(s)}`,n==="button"&&"button",r&&"focusVisible"]};return Ke(a,ak,t)},fk=pe(bt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${me(n.underline)}`],n.component==="button"&&t.button]}})(Qe(({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(mn()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:At(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:At(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:At(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"}}}]}))),ru=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiLink"}),s=Ur(),{className:a,color:l="primary",component:u="a",onBlur:f,onFocus:p,TypographyClasses:h,underline:m="always",variant:P="inherit",sx:w,...A}=r,[x,H]=y.useState(!1),S=D=>{zl(D.target)||H(!1),f&&f(D)},z=D=>{zl(D.target)&&H(!0),p&&p(D)},O={...r,color:l,component:u,focusVisible:x,underline:m,variant:P},C=uk(O);return v.jsx(fk,{color:l,className:Oe(C.root,a),classes:h,component:u,onBlur:S,onFocus:z,ref:n,ownerState:O,variant:P,...A,sx:[...zx[l]===void 0?[{color:l}]:[],...Array.isArray(w)?w:[w]],style:{...A.style,...m==="always"&&l!=="inherit"&&!zx[l]&&{"--Link-underlineColor":ck({theme:s,ownerState:O})}}})}),Ro=y.createContext({});function dk(e){return Ze("MuiList",e)}Ge("MuiList",["root","padding","dense","subheader"]);const pk=e=>{const{classes:t,disablePadding:n,dense:r,subheader:s}=e;return Ke({root:["root",!n&&"padding",r&&"dense",s&&"subheader"]},dk,t)},vk=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}}]}),Pg=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiList"}),{children:s,className:a,component:l="ul",dense:u=!1,disablePadding:f=!1,subheader:p,...h}=r,m=y.useMemo(()=>({dense:u}),[u]),P={...r,component:l,dense:u,disablePadding:f},w=pk(P);return v.jsx(Ro.Provider,{value:m,children:v.jsxs(vk,{as:l,className:Oe(w.root,a),ref:n,ownerState:P,...h,children:[p,s]})})});function hk(e){return Ze("MuiListItem",e)}Ge("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function mk(e){return Ze("MuiListItemButton",e)}const nl=Ge("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),gk=(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=Ke({root:["root",r&&"dense",!a&&"gutters",l&&"divider",s&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},mk,n);return{...n,...p}},Ak=pe(ua,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:gk})(Qe(({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"}},[`&.${nl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:At(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${nl.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:At(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${nl.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:At(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})`:At(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${nl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${nl.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}}]}))),B1=y.forwardRef(function(t,n){const r=$e({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:P=!1,className:w,...A}=r,x=y.useContext(Ro),H=y.useMemo(()=>({dense:f||x.dense||!1,alignItems:s,disableGutters:p}),[s,x.dense,f,p]),S=y.useRef(null);uo(()=>{a&&S.current&&S.current.focus()},[a]);const z={...r,alignItems:s,dense:H.dense,disableGutters:p,divider:h,selected:P},O=yk(z),C=nn(S,n);return v.jsx(Ro.Provider,{value:H,children:v.jsx(Ak,{ref:C,href:A.href||A.to,component:(A.href||A.to)&&l==="div"?"button":l,focusVisibleClassName:Oe(O.focusVisible,m),ownerState:z,className:Oe(O.root,w),...A,classes:O,children:u})})});function Pk(e){return Ze("MuiListItemSecondaryAction",e)}Ge("MuiListItemSecondaryAction",["root","disableGutters"]);const bk=e=>{const{disableGutters:t,classes:n}=e;return Ke({root:["root",t&&"disableGutters"]},Pk,n)},xk=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}}]}),V1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemSecondaryAction"}),{className:s,...a}=r,l=y.useContext(Ro),u={...r,disableGutters:l.disableGutters},f=bk(u);return v.jsx(xk,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});V1.muiName="ListItemSecondaryAction";const wk=(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]},Hk=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:u}=e;return Ke({root:["root",r&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction"],container:["container"]},hk,n)},jk=pe("div",{name:"MuiListItem",slot:"Root",overridesResolver:wk})(Qe(({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:{[`& > .${nl.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}}]}))),Sk=pe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Ec=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItem"}),{alignItems:s="center",children:a,className:l,component:u,components:f={},componentsProps:p={},ContainerComponent:h="li",ContainerProps:{className:m,...P}={},dense:w=!1,disableGutters:A=!1,disablePadding:x=!1,divider:H=!1,secondaryAction:S,slotProps:z={},slots:O={},...C}=r,D=y.useContext(Ro),k=y.useMemo(()=>({dense:w||D.dense||!1,alignItems:s,disableGutters:A}),[s,D.dense,w,A]),R=y.useRef(null),M=y.Children.toArray(a),L=M.length&&Bd(M[M.length-1],["ListItemSecondaryAction"]),j={...r,alignItems:s,dense:k.dense,disableGutters:A,disablePadding:x,divider:H,hasSecondaryAction:L},B=Hk(j),I=nn(R,n),W=O.root||f.Root||jk,_=z.root||p.root||{},J={className:Oe(B.root,_.className,l),...C};let ee=u||"li";return L?(ee=!J.component&&!u?"div":ee,h==="li"&&(ee==="li"?ee="div":J.component==="li"&&(J.component="div")),v.jsx(Ro.Provider,{value:k,children:v.jsxs(Sk,{as:h,className:Oe(B.container,m),ref:I,ownerState:j,...P,children:[v.jsx(W,{..._,...!Rl(W)&&{as:ee,ownerState:{...j,..._.ownerState}},...J,children:M}),M.pop()]})})):v.jsx(Ro.Provider,{value:k,children:v.jsxs(W,{..._,as:ee,ref:I,...!Rl(W)&&{ownerState:{...j,..._.ownerState}},...J,children:[M,S&&v.jsx(V1,{children:S})]})})});function zk(e){return Ze("MuiListItemIcon",e)}const Ox=Ge("MuiListItemIcon",["root","alignItemsFlexStart"]),Ok=e=>{const{alignItems:t,classes:n}=e;return Ke({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},zk,n)},Ck=pe("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(Qe(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),Dk=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemIcon"}),{className:s,...a}=r,l=y.useContext(Ro),u={...r,alignItems:l.alignItems},f=Ok(u);return v.jsx(Ck,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});function Tk(e){return Ze("MuiListItemText",e)}const sl=Ge("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),kk=e=>{const{classes:t,inset:n,primary:r,secondary:s,dense:a}=e;return Ke({root:["root",n&&"inset",a&&"dense",r&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},Tk,t)},Rk=pe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${sl.primary}`]:t.primary},{[`& .${sl.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,[`.${U8.root}:where(& .${sl.primary})`]:{display:"block"},[`.${U8.root}:where(& .${sl.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),il=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemText"}),{children:s,className:a,disableTypography:l=!1,inset:u=!1,primary:f,primaryTypographyProps:p,secondary:h,secondaryTypographyProps:m,slots:P={},slotProps:w={},...A}=r,{dense:x}=y.useContext(Ro);let H=f??s,S=h;const z={...r,disableTypography:l,inset:u,primary:!!H,secondary:!!S,dense:x},O=kk(z),C={slots:P,slotProps:{primary:p,secondary:m,...w}},[D,k]=hn("primary",{className:O.primary,elementType:bt,externalForwardedProps:C,ownerState:z}),[R,M]=hn("secondary",{className:O.secondary,elementType:bt,externalForwardedProps:C,ownerState:z});return H!=null&&H.type!==bt&&!l&&(H=v.jsx(D,{variant:x?"body2":"body1",component:k!=null&&k.variant?void 0:"span",...k,children:H})),S!=null&&S.type!==bt&&!l&&(S=v.jsx(R,{variant:"body2",color:"textSecondary",...M,children:S})),v.jsxs(Rk,{className:Oe(O.root,a),ownerState:z,ref:n,...A,children:[H,S]})});function Tm(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Cx(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function I1(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 Mc(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")||!I1(u,a)||f)u=s(e,u,n);else return u.focus(),!0}return!1}const Ek=y.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",...P}=t,w=y.useRef(null),A=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});uo(()=>{s&&w.current.focus()},[s]),y.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(O,{direction:C})=>{const D=!w.current.style.width;if(O.clientHeight{const C=w.current,D=O.key;if(O.ctrlKey||O.metaKey||O.altKey){h&&h(O);return}const R=sr(C).activeElement;if(D==="ArrowDown")O.preventDefault(),Mc(C,R,p,f,Tm);else if(D==="ArrowUp")O.preventDefault(),Mc(C,R,p,f,Cx);else if(D==="Home")O.preventDefault(),Mc(C,null,p,f,Tm);else if(D==="End")O.preventDefault(),Mc(C,null,p,f,Cx);else if(D.length===1){const M=A.current,L=D.toLowerCase(),j=performance.now();M.keys.length>0&&(j-M.lastTime>500?(M.keys=[],M.repeating=!0,M.previousKeyMatched=!0):M.repeating&&L!==M.keys[0]&&(M.repeating=!1)),M.lastTime=j,M.keys.push(L);const B=R&&!M.repeating&&I1(R,M);M.previousKeyMatched&&(B||Mc(C,R,!1,f,Tm,M))?O.preventDefault():M.previousKeyMatched=!1}h&&h(O)},H=nn(w,n);let S=-1;y.Children.forEach(l,(O,C)=>{if(!y.isValidElement(O)){S===C&&(S+=1,S>=l.length&&(S=-1));return}O.props.disabled||(m==="selectedMenu"&&O.props.selected||S===-1)&&(S=C),S===C&&(O.props.disabled||O.props.muiSkipListHighlight||O.type.muiSkipListHighlight)&&(S+=1,S>=l.length&&(S=-1))});const z=y.Children.map(l,(O,C)=>{if(C===S){const D={};return a&&(D.autoFocus=!0),O.props.tabIndex===void 0&&m==="selectedMenu"&&(D.tabIndex=0),y.cloneElement(O,D)}return O});return v.jsx(Pg,{role:"menu",ref:H,className:u,onKeyDown:x,tabIndex:s?0:-1,...P,children:z})});function Mk(e){return Ze("MuiPopover",e)}Ge("MuiPopover",["root","paper"]);function Dx(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Tx(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function kx(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function km(e){return typeof e=="function"?e():e}const Lk=e=>{const{classes:t}=e;return Ke({root:["root"],paper:["paper"]},Mk,t)},Xk=pe(Xy,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),W1=pe(Zr,{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}),Nk=y.forwardRef(function(t,n){const r=$e({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:P=8,marginThreshold:w=16,open:A,PaperProps:x={},slots:H={},slotProps:S={},transformOrigin:z={vertical:"top",horizontal:"left"},TransitionComponent:O=zu,transitionDuration:C="auto",TransitionProps:{onEntering:D,...k}={},disableScrollLock:R=!1,...M}=r,L=(S==null?void 0:S.paper)??x,j=y.useRef(),B={...r,anchorOrigin:l,anchorReference:f,elevation:P,marginThreshold:w,externalPaperSlotProps:L,transformOrigin:z,TransitionComponent:O,transitionDuration:C,TransitionProps:k},I=Lk(B),W=y.useCallback(()=>{if(f==="anchorPosition")return u;const Xe=km(a),He=(Xe&&Xe.nodeType===1?Xe:sr(j.current).body).getBoundingClientRect();return{top:He.top+Dx(He,l.vertical),left:He.left+Tx(He,l.horizontal)}},[a,l.horizontal,l.vertical,u,f]),_=y.useCallback(Xe=>({vertical:Dx(Xe,z.vertical),horizontal:Tx(Xe,z.horizontal)}),[z.horizontal,z.vertical]),J=y.useCallback(Xe=>{const Ve={width:Xe.offsetWidth,height:Xe.offsetHeight},He=_(Ve);if(f==="none")return{top:null,left:null,transformOrigin:kx(He)};const We=W();let we=We.top-He.vertical,rt=We.left-He.horizontal;const Me=we+Ve.height,ut=rt+Ve.width,N=Eo(km(a)),te=N.innerHeight-w,se=N.innerWidth-w;if(w!==null&&wete){const Ae=Me-te;we-=Ae,He.vertical+=Ae}if(w!==null&&rtse){const Ae=ut-se;rt-=Ae,He.horizontal+=Ae}return{top:`${Math.round(we)}px`,left:`${Math.round(rt)}px`,transformOrigin:kx(He)}},[a,f,W,_,w]),[ee,ne]=y.useState(A),Z=y.useCallback(()=>{const Xe=j.current;if(!Xe)return;const Ve=J(Xe);Ve.top!==null&&Xe.style.setProperty("top",Ve.top),Ve.left!==null&&(Xe.style.left=Ve.left),Xe.style.transformOrigin=Ve.transformOrigin,ne(!0)},[J]);y.useEffect(()=>(R&&window.addEventListener("scroll",Z),()=>window.removeEventListener("scroll",Z)),[a,R,Z]);const Q=(Xe,Ve)=>{D&&D(Xe,Ve),Z()},E=()=>{ne(!1)};y.useEffect(()=>{A&&Z()}),y.useImperativeHandle(s,()=>A?{updatePosition:()=>{Z()}}:null,[A,Z]),y.useEffect(()=>{if(!A)return;const Xe=yy(()=>{Z()}),Ve=Eo(a);return Ve.addEventListener("resize",Xe),()=>{Xe.clear(),Ve.removeEventListener("resize",Xe)}},[a,A,Z]);let U=C;C==="auto"&&!O.muiSupportAuto&&(U=void 0);const X=m||(a?sr(km(a)).body:void 0),re={slots:H,slotProps:{...S,paper:L}},[$,ce]=hn("paper",{elementType:W1,externalForwardedProps:re,additionalProps:{elevation:P,className:Oe(I.paper,L==null?void 0:L.className),style:ee?L.style:{...L.style,opacity:0}},ownerState:B}),[de,{slotProps:xe,...ve}]=hn("root",{elementType:Xk,externalForwardedProps:re,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:X,open:A},ownerState:B,className:Oe(I.root,h)}),be=nn(j,ce.ref);return v.jsx(de,{...ve,...!Rl(de)&&{slotProps:xe,disableScrollLock:R},...M,ref:n,children:v.jsx(O,{appear:!0,in:A,onEntering:Q,onExited:E,timeout:U,...k,children:v.jsx($,{...ce,ref:be,children:p})})})});function Bk(e){return Ze("MuiMenu",e)}Ge("MuiMenu",["root","paper","list"]);const Vk={vertical:"top",horizontal:"right"},Ik={vertical:"top",horizontal:"left"},Wk=e=>{const{classes:t}=e;return Ke({root:["root"],paper:["paper"],list:["list"]},Bk,t)},Jk=pe(Nk,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Fk=pe(W1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Yk=pe(Ek,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Ou=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:u=!1,MenuListProps:f={},onClose:p,open:h,PaperProps:m={},PopoverClasses:P,transitionDuration:w="auto",TransitionProps:{onEntering:A,...x}={},variant:H="selectedMenu",slots:S={},slotProps:z={},...O}=r,C=Fu(),D={...r,autoFocus:s,disableAutoFocusItem:u,MenuListProps:f,onEntering:A,PaperProps:m,transitionDuration:w,TransitionProps:x,variant:H},k=Wk(D),R=s&&!u&&h,M=y.useRef(null),L=(ee,ne)=>{M.current&&M.current.adjustStyleForScrollbar(ee,{direction:C?"rtl":"ltr"}),A&&A(ee,ne)},j=ee=>{ee.key==="Tab"&&(ee.preventDefault(),p&&p(ee,"tabKeyDown"))};let B=-1;y.Children.map(a,(ee,ne)=>{y.isValidElement(ee)&&(ee.props.disabled||(H==="selectedMenu"&&ee.props.selected||B===-1)&&(B=ne))});const I=S.paper??Fk,W=z.paper??m,_=ip({elementType:S.root,externalSlotProps:z.root,ownerState:D,className:[k.root,l]}),J=ip({elementType:I,externalSlotProps:W,ownerState:D,className:k.paper});return v.jsx(Jk,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?Vk:Ik,slots:{paper:I,root:S.root},slotProps:{root:_,paper:J},open:h,ref:n,transitionDuration:w,TransitionProps:{onEntering:L,...x},ownerState:D,...O,classes:P,children:v.jsx(Yk,{onKeyDown:j,actions:M,autoFocus:s&&(B===-1||u),autoFocusItem:R,variant:H,...f,className:Oe(k.list,f.className),children:a})})});function qk(e){return Ze("MuiMenuItem",e)}const Lc=Ge("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Zk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Gk=e=>{const{disabled:t,dense:n,divider:r,disableGutters:s,selected:a,classes:l}=e,f=Ke({root:["root",n&&"dense",t&&"disabled",!s&&"gutters",r&&"divider",a&&"selected"]},qk,l);return{...l,...f}},Uk=pe(ua,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Zk})(Qe(({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"}},[`&.${Lc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:At(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Lc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:At(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Lc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:At(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})`:At(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Lc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Lc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Px.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Px.inset}`]:{marginLeft:52},[`& .${sl.root}`]:{marginTop:0,marginBottom:0},[`& .${sl.inset}`]:{paddingLeft:36},[`& .${Ox.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,[`& .${Ox.root} svg`]:{fontSize:"1.25rem"}}}]}))),es=y.forwardRef(function(t,n){const r=$e({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:P,...w}=r,A=y.useContext(Ro),x=y.useMemo(()=>({dense:l||A.dense||!1,disableGutters:f}),[A.dense,l,f]),H=y.useRef(null);uo(()=>{s&&H.current&&H.current.focus()},[s]);const S={...r,dense:x.dense,divider:u,disableGutters:f},z=Gk(r),O=nn(H,n);let C;return r.disabled||(C=m!==void 0?m:-1),v.jsx(Ro.Provider,{value:x,children:v.jsx(Uk,{ref:O,role:h,tabIndex:C,component:a,focusVisibleClassName:Oe(z.focusVisible,p),className:Oe(z.root,P),...w,ownerState:S,classes:z})})});function Qk(e){return Ze("MuiNativeSelect",e)}const Ny=Ge("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Kk=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 Ke(u,Qk,t)},J1=pe("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Ny.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}}}]})),_k=pe(J1,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:qn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Ny.multiple}`]:t.multiple}]}})({}),F1=pe("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Ny.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}}]})),$k=pe(F1,{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]}})({}),eR=y.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=Kk(h);return v.jsxs(y.Fragment,{children:[v.jsx(_k,{ownerState:h,className:Oe(m.select,r),disabled:s,ref:u||n,...p}),t.multiple?null:v.jsx($k,{as:l,ownerState:h,className:m.icon})]})});var Rx;const tR=pe("fieldset",{shouldForwardProp:qn})({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%"}),nR=pe("legend",{shouldForwardProp:qn})(Qe(({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 rR(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(tR,{"aria-hidden":!0,className:r,ownerState:f,...l,children:v.jsx(nR,{ownerState:f,children:u?v.jsx("span",{children:s}):Rx||(Rx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const oR=e=>{const{classes:t}=e,r=Ke({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},aC,t);return{...t,...r}},sR=pe(Qp,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Gp})(Qe(({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 .${no.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${no.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${no.focused} .${no.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(mn()).map(([n])=>({props:{color:n},style:{[`&.${no.focused} .${no.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${no.error} .${no.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${no.disabled} .${no.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"}}]}})),iR=pe(rR,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(Qe(({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}})),aR=pe(Kp,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Up})(Qe(({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}}]}))),pp=y.forwardRef(function(t,n){var r;const s=$e({props:t,name:"MuiOutlinedInput"}),{components:a={},fullWidth:l=!1,inputComponent:u="input",label:f,multiline:p=!1,notched:h,slots:m={},type:P="text",...w}=s,A=oR(s),x=No(),H=wi({props:s,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S={...s,color:H.color||"primary",disabled:H.disabled,error:H.error,focused:H.focused,formControl:x,fullWidth:l,hiddenLabel:H.hiddenLabel,multiline:p,size:H.size,type:P},z=m.root??a.Root??sR,O=m.input??a.Input??aR;return v.jsx(_p,{slots:{root:z,input:O},renderSuffix:C=>v.jsx(iR,{ownerState:S,className:A.notchedOutline,label:f!=null&&f!==""&&H.required?r||(r=v.jsxs(y.Fragment,{children:[f," ","*"]})):f,notched:typeof h<"u"?h:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:l,inputComponent:u,multiline:p,ref:n,type:P,...w,classes:{...A,notchedOutline:null}})});pp&&(pp.muiName="Input");const lR=yt(v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),cR=yt(v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),uR=yt(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"),fR=yt(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"),dR=pe("span",{shouldForwardProp:qn})({position:"relative",display:"flex"}),pR=pe(uR)({transform:"scale(1)"}),vR=pe(fR)(Qe(({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 Y1(e){const{checked:t=!1,classes:n={},fontSize:r}=e,s={...e,checked:t};return v.jsxs(dR,{className:n.root,ownerState:s,children:[v.jsx(pR,{fontSize:r,className:n.background,ownerState:s}),v.jsx(vR,{fontSize:r,className:n.dot,ownerState:s})]})}const q1=y.createContext(void 0);function hR(){return y.useContext(q1)}function mR(e){return Ze("MuiRadio",e)}const Ex=Ge("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),gR=e=>{const{classes:t,color:n,size:r}=e,s={root:["root",`color${me(n)}`,r!=="medium"&&`size${me(r)}`]};return{...t,...Ke(s,mR,t)}},yR=pe(Ly,{shouldForwardProp:e=>qn(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)}`]]}})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${Ex.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})`:At(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(mn()).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})`:At(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${Ex.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function AR(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const Mx=v.jsx(Y1,{checked:!0}),Lx=v.jsx(Y1,{}),Cu=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=Mx,color:l="primary",icon:u=Lx,name:f,onChange:p,size:h="medium",className:m,disabled:P,disableRipple:w=!1,...A}=r,x=No();let H=P;x&&typeof H>"u"&&(H=x.disabled),H??(H=!1);const S={...r,disabled:H,disableRipple:w,color:l,size:h},z=gR(S),O=hR();let C=s;const D=sg(p,O&&O.onChange);let k=f;return O&&(typeof C>"u"&&(C=AR(O.value,r.value)),typeof k>"u"&&(k=O.name)),v.jsx(yR,{type:"radio",icon:y.cloneElement(u,{fontSize:Lx.props.fontSize??h}),checkedIcon:y.cloneElement(a,{fontSize:Mx.props.fontSize??h}),disabled:H,ownerState:S,classes:z,name:k,checked:C,onChange:D,ref:n,className:Oe(z.root,m),...A})});function PR(e){return Ze("MuiRadioGroup",e)}Ge("MuiRadioGroup",["root","row","error"]);const bR=e=>{const{classes:t,row:n,error:r}=e;return Ke({root:["root",n&&"row",r&&"error"]},PR,t)},vp=y.forwardRef(function(t,n){const{actions:r,children:s,className:a,defaultValue:l,name:u,onChange:f,value:p,...h}=t,m=y.useRef(null),P=bR(t),[w,A]=gi({controlled:p,default:l,name:"RadioGroup"});y.useImperativeHandle(r,()=>({focus:()=>{let z=m.current.querySelector("input:not(:disabled):checked");z||(z=m.current.querySelector("input:not(:disabled)")),z&&z.focus()}}),[]);const x=nn(n,m),H=ks(u),S=y.useMemo(()=>({name:H,onChange(z){A(z.target.value),f&&f(z,z.target.value)},value:w}),[H,f,A,w]);return v.jsx(q1.Provider,{value:S,children:v.jsx(CT,{role:"radiogroup",ref:x,className:Oe(P.root,a),...h,children:s})})});function xR(e){return Ze("MuiSelect",e)}const Xc=Ge("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Xx;const wR=pe(J1,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Xc.select}`]:t.select},{[`&.${Xc.select}`]:t[n.variant]},{[`&.${Xc.error}`]:t.error},{[`&.${Xc.multiple}`]:t.multiple}]}})({[`&.${Xc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),HR=pe(F1,{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]}})({}),jR=pe("input",{shouldForwardProp:e=>u1(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 Nx(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function SR(e){return e==null||typeof e=="string"&&!e.trim()}const zR=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 Ke(u,xR,t)},OR=y.forwardRef(function(t,n){var Bt;const{"aria-describedby":r,"aria-label":s,autoFocus:a,autoWidth:l,children:u,className:f,defaultOpen:p,defaultValue:h,disabled:m,displayEmpty:P,error:w=!1,IconComponent:A,inputRef:x,labelId:H,MenuProps:S={},multiple:z,name:O,onBlur:C,onChange:D,onClose:k,onFocus:R,onOpen:M,open:L,readOnly:j,renderValue:B,required:I,SelectDisplayProps:W={},tabIndex:_,type:J,value:ee,variant:ne="standard",...Z}=t,[Q,E]=gi({controlled:ee,default:h,name:"Select"}),[U,X]=gi({controlled:L,default:p,name:"Select"}),re=y.useRef(null),$=y.useRef(null),[ce,de]=y.useState(null),{current:xe}=y.useRef(L!=null),[ve,be]=y.useState(),Xe=nn(n,x),Ve=y.useCallback(F=>{$.current=F,F&&de(F)},[]),He=ce==null?void 0:ce.parentNode;y.useImperativeHandle(Xe,()=>({focus:()=>{$.current.focus()},node:re.current,value:Q}),[Q]),y.useEffect(()=>{p&&U&&ce&&!xe&&(be(l?null:He.clientWidth),$.current.focus())},[ce,l]),y.useEffect(()=>{a&&$.current.focus()},[a]),y.useEffect(()=>{if(!H)return;const F=sr($.current).getElementById(H);if(F){const Y=()=>{getSelection().isCollapsed&&$.current.focus()};return F.addEventListener("click",Y),()=>{F.removeEventListener("click",Y)}}},[H]);const We=(F,Y)=>{F?M&&M(Y):k&&k(Y),xe||(be(l?null:He.clientWidth),X(F))},we=F=>{F.button===0&&(F.preventDefault(),$.current.focus(),We(!0,F))},rt=F=>{We(!1,F)},Me=y.Children.toArray(u),ut=F=>{const Y=Me.find(ge=>ge.props.value===F.target.value);Y!==void 0&&(E(Y.props.value),D&&D(F,Y))},N=F=>Y=>{let ge;if(Y.currentTarget.hasAttribute("tabindex")){if(z){ge=Array.isArray(Q)?Q.slice():[];const Ce=Q.indexOf(F.props.value);Ce===-1?ge.push(F.props.value):ge.splice(Ce,1)}else ge=F.props.value;if(F.props.onClick&&F.props.onClick(Y),Q!==ge&&(E(ge),D)){const Ce=Y.nativeEvent||Y,De=new Ce.constructor(Ce.type,Ce);Object.defineProperty(De,"target",{writable:!0,value:{value:ge,name:O}}),D(De,F)}z||We(!1,Y)}},te=F=>{j||[" ","ArrowUp","ArrowDown","Enter"].includes(F.key)&&(F.preventDefault(),We(!0,F))},se=ce!==null&&U,Ae=F=>{!se&&C&&(Object.defineProperty(F,"target",{writable:!0,value:{value:Q,name:O}}),C(F))};delete Z["aria-invalid"];let le,Pe;const je=[];let _e=!1;(up({value:Q})||P)&&(B?le=B(Q):_e=!0);const xt=Me.map(F=>{if(!y.isValidElement(F))return null;let Y;if(z){if(!Array.isArray(Q))throw new Error(Ts(2));Y=Q.some(ge=>Nx(ge,F.props.value)),Y&&_e&&je.push(F.props.children)}else Y=Nx(Q,F.props.value),Y&&_e&&(Pe=F.props.children);return y.cloneElement(F,{"aria-selected":Y?"true":"false",onClick:N(F),onKeyUp:ge=>{ge.key===" "&&ge.preventDefault(),F.props.onKeyUp&&F.props.onKeyUp(ge)},role:"option",selected:Y,value:void 0,"data-value":F.props.value})});_e&&(z?je.length===0?le=null:le=je.reduce((F,Y,ge)=>(F.push(Y),ge{const{classes:t}=e;return t},By={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>qn(e)&&e!=="variant",slot:"Root"},DR=pe(dp,By)(""),TR=pe(pp,By)(""),kR=pe(fp,By)(""),Du=y.forwardRef(function(t,n){const r=$e({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:a,classes:l={},className:u,defaultOpen:f=!1,displayEmpty:p=!1,IconComponent:h=S1,id:m,input:P,inputProps:w,label:A,labelId:x,MenuProps:H,multiple:S=!1,native:z=!1,onClose:O,onOpen:C,open:D,renderValue:k,SelectDisplayProps:R,variant:M="outlined",...L}=r,j=z?eR:OR,B=No(),I=wi({props:r,muiFormControl:B,states:["variant","error"]}),W=I.variant||M,_={...r,variant:W,classes:l},J=CR(_),{root:ee,...ne}=J,Z=P||{standard:v.jsx(DR,{ownerState:_}),outlined:v.jsx(TR,{label:A,ownerState:_}),filled:v.jsx(kR,{ownerState:_})}[W],Q=nn(n,bi(Z));return v.jsx(y.Fragment,{children:y.cloneElement(Z,{inputComponent:j,inputProps:{children:a,error:I.error,IconComponent:h,variant:W,type:void 0,multiple:S,...z?{id:m}:{autoWidth:s,defaultOpen:f,displayEmpty:p,labelId:x,MenuProps:H,onClose:O,onOpen:C,open:D,renderValue:k,SelectDisplayProps:{id:m,...R}},...w,classes:w?Yn(ne,w.classes):ne,...P?P.props.inputProps:{}},...(S&&z||p)&&W==="outlined"?{notched:!0}:{},ref:Q,className:Oe(Z.props.className,u,J.root),...!P&&{variant:W},...L})})});Du.muiName="Select";function RR(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:s,resumeHideDuration:a}=e,l=Zi();y.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=hr((S,z)=>{r==null||r(S,z)}),f=hr(S=>{!r||S==null||l.start(S,()=>{u(null,"timeout")})});y.useEffect(()=>(s&&f(t),l.clear),[s,t,f,l]);const p=S=>{r==null||r(S,"clickaway")},h=l.clear,m=y.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),P=S=>z=>{const O=S.onBlur;O==null||O(z),m()},w=S=>z=>{const O=S.onFocus;O==null||O(z),h()},A=S=>z=>{const O=S.onMouseEnter;O==null||O(z),h()},x=S=>z=>{const O=S.onMouseLeave;O==null||O(z),m()};return y.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={...sp(e),...sp(S)};return{role:"presentation",...S,...z,onBlur:P(z),onFocus:w(z),onMouseEnter:A(z),onMouseLeave:x(z)}},onClickAway:p}}function ER(e){return Ze("MuiSnackbarContent",e)}Ge("MuiSnackbarContent",["root","message","action"]);const MR=e=>{const{classes:t}=e;return Ke({root:["root"],action:["action"],message:["message"]},ER,t)},LR=pe(Zr,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(Qe(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=Z0(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}}})),XR=pe("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),NR=pe("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),BR=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSnackbarContent"}),{action:s,className:a,message:l,role:u="alert",...f}=r,p=r,h=MR(p);return v.jsxs(LR,{role:u,square:!0,elevation:6,className:Oe(h.root,a),ownerState:p,ref:n,...f,children:[v.jsx(XR,{className:h.message,ownerState:p,children:l}),s?v.jsx(NR,{className:h.action,ownerState:p,children:s}):null]})});function VR(e){return Ze("MuiSnackbar",e)}Ge("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const IR=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${me(n.vertical)}${me(n.horizontal)}`]};return Ke(r,VR,t)},Bx=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)}`]]}})(Qe(({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%)"}}}]}))),WR=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSnackbar"}),s=Ur(),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:P,ContentProps:w,disableWindowBlurListener:A=!1,message:x,onBlur:H,onClose:S,onFocus:z,onMouseEnter:O,onMouseLeave:C,open:D,resumeHideDuration:k,TransitionComponent:R=zu,transitionDuration:M=a,TransitionProps:{onEnter:L,onExited:j,...B}={},...I}=r,W={...r,anchorOrigin:{vertical:u,horizontal:f},autoHideDuration:p,disableWindowBlurListener:A,TransitionComponent:R,transitionDuration:M},_=IR(W),{getRootProps:J,onClickAway:ee}=RR({...W}),[ne,Z]=y.useState(!0),Q=ip({elementType:Bx,getSlotProps:J,externalForwardedProps:I,ownerState:W,additionalProps:{ref:n},className:[_.root,m]}),E=X=>{Z(!0),j&&j(X)},U=(X,re)=>{Z(!1),L&&L(X,re)};return!D&&ne?null:v.jsx(k1,{onClickAway:ee,...P,children:v.jsx(Bx,{...Q,children:v.jsx(R,{appear:!0,in:D,timeout:M,direction:u==="top"?"down":"up",onEnter:U,onExited:E,...B,children:h||v.jsx(BR,{message:x,action:l,...w})})})})});function JR(e){return Ze("MuiTooltip",e)}const Hn=Ge("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function FR(e){return Math.round(e*1e5)/1e5}const YR=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 Ke(l,JR,t)},qR=pe(qp,{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]}})(Qe(({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"] .${Hn.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Hn.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Hn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Hn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Hn.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Hn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Hn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Hn.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),ZR=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])}`]]}})(Qe(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:At(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,[`.${Hn.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Hn.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Hn.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:`${FR(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Hn.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Hn.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Hn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Hn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Hn.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Hn.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),GR=pe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(Qe(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:At(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let wd=!1;const Vx=new Fp;let Nc={x:0,y:0};function Hd(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Vy=y.forwardRef(function(t,n){const r=$e({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:P=!1,disableTouchListener:w=!1,enterDelay:A=100,enterNextDelay:x=0,enterTouchDelay:H=700,followCursor:S=!1,id:z,leaveDelay:O=0,leaveTouchDelay:C=1500,onClose:D,onOpen:k,open:R,placement:M="bottom",PopperComponent:L,PopperProps:j={},slotProps:B={},slots:I={},title:W,TransitionComponent:_,TransitionProps:J,...ee}=r,ne=y.isValidElement(a)?a:v.jsx("span",{children:a}),Z=Ur(),Q=Fu(),[E,U]=y.useState(),[X,re]=y.useState(null),$=y.useRef(!1),ce=P||S,de=Zi(),xe=Zi(),ve=Zi(),be=Zi(),[Xe,Ve]=gi({controlled:R,default:!1,name:"Tooltip",state:"open"});let He=Xe;const We=ks(z),we=y.useRef(),rt=hr(()=>{we.current!==void 0&&(document.body.style.WebkitUserSelect=we.current,we.current=void 0),be.clear()});y.useEffect(()=>rt,[rt]);const Me=Fe=>{Vx.clear(),wd=!0,Ve(!0),k&&!He&&k(Fe)},ut=hr(Fe=>{Vx.start(800+O,()=>{wd=!1}),Ve(!1),D&&He&&D(Fe),de.start(Z.transitions.duration.shortest,()=>{$.current=!1})}),N=Fe=>{$.current&&Fe.type!=="touchstart"||(E&&E.removeAttribute("title"),xe.clear(),ve.clear(),A||wd&&x?xe.start(wd?x:A,()=>{Me(Fe)}):Me(Fe))},te=Fe=>{xe.clear(),ve.start(O,()=>{ut(Fe)})},[,se]=y.useState(!1),Ae=Fe=>{zl(Fe.target)||(se(!1),te(Fe))},le=Fe=>{E||U(Fe.currentTarget),zl(Fe.target)&&(se(!0),N(Fe))},Pe=Fe=>{$.current=!0;const kt=ne.props;kt.onTouchStart&&kt.onTouchStart(Fe)},je=Fe=>{Pe(Fe),ve.clear(),de.clear(),rt(),we.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",be.start(H,()=>{document.body.style.WebkitUserSelect=we.current,N(Fe)})},_e=Fe=>{ne.props.onTouchEnd&&ne.props.onTouchEnd(Fe),rt(),ve.start(C,()=>{ut(Fe)})};y.useEffect(()=>{if(!He)return;function Fe(kt){kt.key==="Escape"&&ut(kt)}return document.addEventListener("keydown",Fe),()=>{document.removeEventListener("keydown",Fe)}},[ut,He]);const xt=nn(bi(ne),U,n);!W&&W!==0&&(He=!1);const ot=y.useRef(),at=Fe=>{const kt=ne.props;kt.onMouseMove&&kt.onMouseMove(Fe),Nc={x:Fe.clientX,y:Fe.clientY},ot.current&&ot.current.update()},ft={},wt=typeof W=="string";p?(ft.title=!He&&wt&&!m?W:null,ft["aria-describedby"]=He?We:null):(ft["aria-label"]=wt?W:null,ft["aria-labelledby"]=He&&!wt?We:null);const Ie={...ft,...ee,...ne.props,className:Oe(ee.className,ne.props.className),onTouchStart:Pe,ref:xt,...S?{onMouseMove:at}:{}},St={};w||(Ie.onTouchStart=je,Ie.onTouchEnd=_e),m||(Ie.onMouseOver=Hd(N,Ie.onMouseOver),Ie.onMouseLeave=Hd(te,Ie.onMouseLeave),ce||(St.onMouseOver=N,St.onMouseLeave=te)),h||(Ie.onFocus=Hd(le,Ie.onFocus),Ie.onBlur=Hd(Ae,Ie.onBlur),ce||(St.onFocus=le,St.onBlur=Ae));const Jt={...r,isRtl:Q,arrow:s,disableInteractive:ce,placement:M,PopperComponentProp:L,touch:$.current},Bt=typeof B.popper=="function"?B.popper(Jt):B.popper,F=y.useMemo(()=>{var kt,cn;let Fe=[{name:"arrow",enabled:!!X,options:{element:X,padding:4}}];return(kt=j.popperOptions)!=null&&kt.modifiers&&(Fe=Fe.concat(j.popperOptions.modifiers)),(cn=Bt==null?void 0:Bt.popperOptions)!=null&&cn.modifiers&&(Fe=Fe.concat(Bt.popperOptions.modifiers)),{...j.popperOptions,...Bt==null?void 0:Bt.popperOptions,modifiers:Fe}},[X,j.popperOptions,Bt==null?void 0:Bt.popperOptions]),Y=YR(Jt),ge=typeof B.transition=="function"?B.transition(Jt):B.transition,Ce={slots:{popper:u.Popper,transition:u.Transition??_,tooltip:u.Tooltip,arrow:u.Arrow,...I},slotProps:{arrow:B.arrow??f.arrow,popper:{...j,...Bt??f.popper},tooltip:B.tooltip??f.tooltip,transition:{...J,...ge??f.transition}}},[De,Ne]=hn("popper",{elementType:qR,externalForwardedProps:Ce,ownerState:Jt,className:Oe(Y.popper,j==null?void 0:j.className)}),[Je,ke]=hn("transition",{elementType:zu,externalForwardedProps:Ce,ownerState:Jt}),[tt,pt]=hn("tooltip",{elementType:ZR,className:Y.tooltip,externalForwardedProps:Ce,ownerState:Jt}),[Tt,Ut]=hn("arrow",{elementType:GR,className:Y.arrow,externalForwardedProps:Ce,ownerState:Jt,ref:re});return v.jsxs(y.Fragment,{children:[y.cloneElement(ne,Ie),v.jsx(De,{as:L??qp,placement:M,anchorEl:S?{getBoundingClientRect:()=>({top:Nc.y,left:Nc.x,right:Nc.x,bottom:Nc.y,width:0,height:0})}:E,popperRef:ot,open:E?He:!1,id:We,transition:!0,...St,...Ne,popperOptions:F,children:({TransitionProps:Fe})=>v.jsx(Je,{timeout:Z.transitions.duration.shorter,...Fe,...ke,children:v.jsxs(tt,{...pt,children:[W,s?v.jsx(Tt,{...Ut}):null]})})})]})}),is=Yj({createStyledComponent:pe("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>$e({props:e,name:"MuiStack"})});function UR(e){return Ze("MuiSwitch",e)}const ur=Ge("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),QR=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=Ke(u,UR,t);return{...t,...f}},KR=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,[`& .${ur.thumb}`]:{width:16,height:16},[`& .${ur.switchBase}`]:{padding:4,[`&.${ur.checked}`]:{transform:"translateX(16px)"}}}}]}),_R=pe(Ly,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${ur.input}`]:t.input},n.color!=="default"&&t[`color${me(n.color)}`]]}})(Qe(({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}),[`&.${ur.checked}`]:{transform:"translateX(20px)"},[`&.${ur.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${ur.checked} + .${ur.track}`]:{opacity:.5},[`&.${ur.disabled} + .${ur.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${ur.input}`]:{left:"-100%",width:"300%"}})),Qe(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:At(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(mn(["light"])).map(([t])=>({props:{color:t},style:{[`&.${ur.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:At(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ur.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?ca(e.palette[t].main,.62):la(e.palette[t].main,.55)}`}},[`&.${ur.checked} + .${ur.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),$R=pe("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(Qe(({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}`}))),eE=pe("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(Qe(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),Z1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSwitch"}),{className:s,color:a="primary",edge:l=!1,size:u="medium",sx:f,...p}=r,h={...r,color:a,edge:l,size:u},m=QR(h),P=v.jsx(eE,{className:m.thumb,ownerState:h});return v.jsxs(KR,{className:Oe(m.root,s),sx:f,ownerState:h,children:[v.jsx(_R,{type:"checkbox",icon:P,checkedIcon:P,ref:n,ownerState:h,...p,classes:{...m,root:m.switchBase}}),v.jsx($R,{className:m.track,ownerState:h})]})}),G1=y.createContext();function tE(e){return Ze("MuiTable",e)}Ge("MuiTable",["root","stickyHeader"]);const nE=e=>{const{classes:t,stickyHeader:n}=e;return Ke({root:["root",n&&"stickyHeader"]},tE,t)},rE=pe("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(Qe(({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"}}]}))),Ix="table",U1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTable"}),{className:s,component:a=Ix,padding:l="normal",size:u="medium",stickyHeader:f=!1,...p}=r,h={...r,component:a,padding:l,size:u,stickyHeader:f},m=nE(h),P=y.useMemo(()=>({padding:l,size:u,stickyHeader:f}),[l,u,f]);return v.jsx(G1.Provider,{value:P,children:v.jsx(rE,{as:a,role:a===Ix?null:"table",ref:n,className:Oe(m.root,s),ownerState:h,...p})})}),Uu=y.createContext();function oE(e){return Ze("MuiTableBody",e)}Ge("MuiTableBody",["root"]);const sE=e=>{const{classes:t}=e;return Ke({root:["root"]},oE,t)},iE=pe("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),aE={variant:"body"},Wx="tbody",Q1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableBody"}),{className:s,component:a=Wx,...l}=r,u={...r,component:a},f=sE(u);return v.jsx(Uu.Provider,{value:aE,children:v.jsx(iE,{className:Oe(f.root,s),as:a,ref:n,role:a===Wx?null:"rowgroup",ownerState:u,...l})})});function lE(e){return Ze("MuiTableCell",e)}const cE=Ge("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),uE=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 Ke(u,lE,t)},fE=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]}})(Qe(({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"?ca(At(e.palette.divider,1),.88):la(At(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",[`&.${cE.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}}]}))),pr=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableCell"}),{align:s="inherit",className:a,component:l,padding:u,scope:f,size:p,sortDirection:h,variant:m,...P}=r,w=y.useContext(G1),A=y.useContext(Uu),x=A&&A.variant==="head";let H;l?H=l:H=x?"th":"td";let S=f;H==="td"?S=void 0:!S&&x&&(S="col");const z=m||A&&A.variant,O={...r,align:s,component:H,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},C=uE(O);let D=null;return h&&(D=h==="asc"?"ascending":"descending"),v.jsx(fE,{as:H,ref:n,className:Oe(C.root,a),"aria-sort":D,scope:S,ownerState:O,...P})});function dE(e){return Ze("MuiTableContainer",e)}Ge("MuiTableContainer",["root"]);const pE=e=>{const{classes:t}=e;return Ke({root:["root"]},dE,t)},vE=pe("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),K1=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableContainer"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=pE(u);return v.jsx(vE,{ref:n,as:a,className:Oe(f.root,s),ownerState:u,...l})});function hE(e){return Ze("MuiTableFooter",e)}Ge("MuiTableFooter",["root"]);const mE=e=>{const{classes:t}=e;return Ke({root:["root"]},hE,t)},gE=pe("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),yE={variant:"footer"},Jx="tfoot",AE=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableFooter"}),{className:s,component:a=Jx,...l}=r,u={...r,component:a},f=mE(u);return v.jsx(Uu.Provider,{value:yE,children:v.jsx(gE,{as:a,className:Oe(f.root,s),ref:n,role:a===Jx?null:"rowgroup",ownerState:u,...l})})});function PE(e){return Ze("MuiTableHead",e)}Ge("MuiTableHead",["root"]);const bE=e=>{const{classes:t}=e;return Ke({root:["root"]},PE,t)},xE=pe("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),wE={variant:"head"},Fx="thead",HE=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableHead"}),{className:s,component:a=Fx,...l}=r,u={...r,component:a},f=bE(u);return v.jsx(Uu.Provider,{value:wE,children:v.jsx(xE,{as:a,className:Oe(f.root,s),ref:n,role:a===Fx?null:"rowgroup",ownerState:u,...l})})});function jE(e){return Ze("MuiToolbar",e)}Ge("MuiToolbar",["root","gutters","regular","dense"]);const SE=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Ke({root:["root",!n&&"gutters",r]},jE,t)},zE=pe("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Qe(({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}]}))),_1=y.forwardRef(function(t,n){const r=$e({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=SE(p);return v.jsx(zE,{as:a,className:Oe(h.root,s),ref:n,ownerState:p,...f})}),OE=yt(v.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),CE=yt(v.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),DE=y.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:P,slots:w={},slotProps:A={},...x}=t,H=Fu(),S=U=>{f(U,0)},z=U=>{f(U,p-1)},O=U=>{f(U,p+1)},C=U=>{f(U,Math.max(0,Math.ceil(s/h)-1))},D=w.firstButton??Sr,k=w.lastButton??Sr,R=w.nextButton??Sr,M=w.previousButton??Sr,L=w.firstButtonIcon??lR,j=w.lastButtonIcon??cR,B=w.nextButtonIcon??CE,I=w.previousButtonIcon??OE,W=H?k:D,_=H?R:M,J=H?M:R,ee=H?D:k,ne=H?A.lastButton:A.firstButton,Z=H?A.nextButton:A.previousButton,Q=H?A.previousButton:A.nextButton,E=H?A.firstButton:A.lastButton;return v.jsxs("div",{ref:n,...x,children:[m&&v.jsx(W,{onClick:S,disabled:a||p===0,"aria-label":l("first",p),title:l("first",p),...ne,children:H?v.jsx(j,{...A.lastButtonIcon}):v.jsx(L,{...A.firstButtonIcon})}),v.jsx(_,{onClick:z,disabled:a||p===0,color:"inherit","aria-label":l("previous",p),title:l("previous",p),...Z??r,children:H?v.jsx(B,{...A.nextButtonIcon}):v.jsx(I,{...A.previousButtonIcon})}),v.jsx(J,{onClick:O,disabled:a||(s!==-1?p>=Math.ceil(s/h)-1:!1),color:"inherit","aria-label":l("next",p),title:l("next",p),...Q??u,children:H?v.jsx(I,{...A.previousButtonIcon}):v.jsx(B,{...A.nextButtonIcon})}),P&&v.jsx(ee,{onClick:C,disabled:a||p>=Math.ceil(s/h)-1,"aria-label":l("last",p),title:l("last",p),...E,children:H?v.jsx(L,{...A.firstButtonIcon}):v.jsx(j,{...A.lastButtonIcon})})]})});function TE(e){return Ze("MuiTablePagination",e)}const pu=Ge("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Yx;const kE=pe(pr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(Qe(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),RE=pe(_1,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${pu.actions}`]:t.actions,...t.toolbar})})(Qe(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${pu.actions}`]:{flexShrink:0,marginLeft:20}}))),EE=pe("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),ME=pe("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(Qe(({theme:e})=>({...e.typography.body2,flexShrink:0}))),LE=pe(Du,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${pu.selectIcon}`]:t.selectIcon,[`& .${pu.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${pu.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),XE=pe(es,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),NE=pe("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(Qe(({theme:e})=>({...e.typography.body2,flexShrink:0})));function BE({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function VE(e){return`Go to ${e} page`}const IE=e=>{const{classes:t}=e;return Ke({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},TE,t)},WE=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=DE,backIconButtonProps:a,className:l,colSpan:u,component:f=pr,count:p,disabled:h=!1,getItemAriaLabel:m=VE,labelDisplayedRows:P=BE,labelRowsPerPage:w="Rows per page:",nextIconButtonProps:A,onPageChange:x,onRowsPerPageChange:H,page:S,rowsPerPage:z,rowsPerPageOptions:O=[10,25,50,100],SelectProps:C={},showFirstButton:D=!1,showLastButton:k=!1,slotProps:R={},slots:M={},...L}=r,j=r,B=IE(j),I=(R==null?void 0:R.select)??C,W=I.native?"option":XE;let _;(f===pr||f==="td")&&(_=u||1e3);const J=ks(I.id),ee=ks(I.labelId),ne=()=>p===-1?(S+1)*z:z===-1?p:Math.min(p,(S+1)*z);return v.jsx(kE,{colSpan:_,ref:n,as:f,ownerState:j,className:Oe(B.root,l),...L,children:v.jsxs(RE,{className:B.toolbar,children:[v.jsx(EE,{className:B.spacer}),O.length>1&&v.jsx(ME,{className:B.selectLabel,id:ee,children:w}),O.length>1&&v.jsx(LE,{variant:"standard",...!I.variant&&{input:Yx||(Yx=v.jsx(_p,{}))},value:z,onChange:H,id:J,labelId:ee,...I,classes:{...I.classes,root:Oe(B.input,B.selectRoot,(I.classes||{}).root),select:Oe(B.select,(I.classes||{}).select),icon:Oe(B.selectIcon,(I.classes||{}).icon)},disabled:h,children:O.map(Z=>y.createElement(W,{...!Rl(W)&&{ownerState:j},className:B.menuItem,key:Z.label?Z.label:Z,value:Z.value?Z.value:Z},Z.label?Z.label:Z))}),v.jsx(NE,{className:B.displayedRows,children:P({from:p===0?0:S*z+1,to:ne(),count:p===-1?-1:p,page:S})}),v.jsx(s,{className:B.actions,backIconButtonProps:a,count:p,nextIconButtonProps:A,onPageChange:x,page:S,rowsPerPage:z,showFirstButton:D,showLastButton:k,slotProps:R.actions,slots:M.actions,getItemAriaLabel:m,disabled:h})]})})});function JE(e){return Ze("MuiTableRow",e)}const qx=Ge("MuiTableRow",["root","selected","hover","head","footer"]),FE=e=>{const{classes:t,selected:n,hover:r,head:s,footer:a}=e;return Ke({root:["root",n&&"selected",r&&"hover",s&&"head",a&&"footer"]},JE,t)},YE=pe("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(Qe(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${qx.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${qx.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:At(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}))`:At(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Zx="tr",hp=y.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableRow"}),{className:s,component:a=Zx,hover:l=!1,selected:u=!1,...f}=r,p=y.useContext(Uu),h={...r,component:a,hover:l,selected:u,head:p&&p.variant==="head",footer:p&&p.variant==="footer"},m=FE(h);return v.jsx(YE,{as:a,ref:n,className:Oe(m.root,s),role:a===Zx?null:"row",ownerState:h,...f})});function qE(e){return Ze("MuiTextField",e)}Ge("MuiTextField",["root"]);const ZE={standard:dp,filled:fp,outlined:pp},GE=e=>{const{classes:t}=e;return Ke({root:["root"]},qE,t)},UE=pe(cr,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),io=y.forwardRef(function(t,n){const r=$e({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:P,fullWidth:w=!1,helperText:A,id:x,InputLabelProps:H,inputProps:S,InputProps:z,inputRef:O,label:C,maxRows:D,minRows:k,multiline:R=!1,name:M,onBlur:L,onChange:j,onFocus:B,placeholder:I,required:W=!1,rows:_,select:J=!1,SelectProps:ee,slots:ne={},slotProps:Z={},type:Q,value:E,variant:U="outlined",...X}=r,re={...r,autoFocus:a,color:f,disabled:h,error:m,fullWidth:w,multiline:R,required:W,select:J,variant:U},$=GE(re),ce=ks(x),de=A&&ce?`${ce}-helper-text`:void 0,xe=C&&ce?`${ce}-label`:void 0,ve=ZE[U],be={slots:ne,slotProps:{input:z,inputLabel:H,htmlInput:S,formHelperText:P,select:ee,...Z}},Xe={},Ve=be.slotProps.inputLabel;U==="outlined"&&(Ve&&typeof Ve.shrink<"u"&&(Xe.notched=Ve.shrink),Xe.label=C),J&&((!ee||!ee.native)&&(Xe.id=void 0),Xe["aria-describedby"]=void 0);const[He,We]=hn("input",{elementType:ve,externalForwardedProps:be,additionalProps:Xe,ownerState:re}),[we,rt]=hn("inputLabel",{elementType:Jd,externalForwardedProps:be,ownerState:re}),[Me,ut]=hn("htmlInput",{elementType:"input",externalForwardedProps:be,ownerState:re}),[N,te]=hn("formHelperText",{elementType:tl,externalForwardedProps:be,ownerState:re}),[se,Ae]=hn("select",{elementType:Du,externalForwardedProps:be,ownerState:re}),le=v.jsx(He,{"aria-describedby":de,autoComplete:s,autoFocus:a,defaultValue:p,fullWidth:w,multiline:R,name:M,rows:_,maxRows:D,minRows:k,type:Q,value:E,id:ce,inputRef:O,onBlur:L,onChange:j,onFocus:B,placeholder:I,inputProps:ut,slots:{input:ne.htmlInput?Me:void 0},...We});return v.jsxs(UE,{className:Oe($.root,u),disabled:h,error:m,fullWidth:w,ref:n,required:W,color:f,variant:U,ownerState:re,...X,children:[C!=null&&C!==""&&v.jsx(we,{htmlFor:ce,id:xe,...rt,children:C}),J?v.jsx(se,{"aria-describedby":de,id:ce,labelId:xe,value:E,input:le,...Ae,children:l}):le,A&&v.jsx(N,{id:de,...te,children:A})]})}),Cn="/hub",ev="/services/japps",Iy=["Environments"],QE=["Any","Owned by me","Shared with me"],KE=["Recently modified","Name: A-Z","Name: Z-A"],_E=["Running","Ready","Pending","Unknown"],Wy="startAppId";var Il=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(){}},pa=typeof window>"u"||"Deno"in globalThis;function oo(){}function $E(e,t){return typeof e=="function"?e(t):e}function bg(e){return typeof e=="number"&&e>=0&&e!==1/0}function $1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function cl(e,t){return typeof e=="function"?e(t):e}function Do(e,t){return typeof e=="function"?e(t):e}function Gx(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:l,stale:u}=e;if(l){if(r){if(t.queryHash!==Jy(l,t.options))return!1}else if(!Tu(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 Ux(e,t){const{exact:n,status:r,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(va(t.options.mutationKey)!==va(a))return!1}else if(!Tu(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Jy(e,t){return((t==null?void 0:t.queryKeyHashFn)||va)(e)}function va(e){return JSON.stringify(e,(t,n)=>xg(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Tu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Tu(e[n],t[n])):!1}function e2(e,t){if(e===t)return e;const n=Qx(e)&&Qx(t);if(n||xg(e)&&xg(t)){const r=n?e:Object.keys(e),s=r.length,a=n?t:Object.keys(t),l=a.length,u=n?[]:{};let f=0;for(let p=0;p{setTimeout(t,e)})}function wg(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?e2(e,t):t}function t6(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function n6(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Fy=Symbol();function t2(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Fy?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Ki,li,fl,c0,r6=(c0=class extends Il{constructor(){super();mt(this,Ki);mt(this,li);mt(this,fl);qe(this,fl,t=>{if(!pa&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){G(this,li)||this.setEventListener(G(this,fl))}onUnsubscribe(){var t;this.hasListeners()||((t=G(this,li))==null||t.call(this),qe(this,li,void 0))}setEventListener(t){var n;qe(this,fl,t),(n=G(this,li))==null||n.call(this),qe(this,li,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){G(this,Ki)!==t&&(qe(this,Ki,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof G(this,Ki)=="boolean"?G(this,Ki):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Ki=new WeakMap,li=new WeakMap,fl=new WeakMap,c0),Yy=new r6,dl,ci,pl,u0,o6=(u0=class extends Il{constructor(){super();mt(this,dl,!0);mt(this,ci);mt(this,pl);qe(this,pl,t=>{if(!pa&&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,ci)||this.setEventListener(G(this,pl))}onUnsubscribe(){var t;this.hasListeners()||((t=G(this,ci))==null||t.call(this),qe(this,ci,void 0))}setEventListener(t){var n;qe(this,pl,t),(n=G(this,ci))==null||n.call(this),qe(this,ci,t(this.setOnline.bind(this)))}setOnline(t){G(this,dl)!==t&&(qe(this,dl,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return G(this,dl)}},dl=new WeakMap,ci=new WeakMap,pl=new WeakMap,u0),gp=new o6;function Hg(){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 s6(e){return Math.min(1e3*2**e,3e4)}function n2(e){return(e??"online")==="online"?gp.isOnline():!0}var r2=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Rm(e){return e instanceof r2}function o2(e){let t=!1,n=0,r=!1,s;const a=Hg(),l=x=>{var H;r||(P(new r2(x)),(H=e.abort)==null||H.call(e))},u=()=>{t=!0},f=()=>{t=!1},p=()=>Yy.isFocused()&&(e.networkMode==="always"||gp.isOnline())&&e.canRun(),h=()=>n2(e.networkMode)&&e.canRun(),m=x=>{var H;r||(r=!0,(H=e.onSuccess)==null||H.call(e,x),s==null||s(),a.resolve(x))},P=x=>{var H;r||(r=!0,(H=e.onError)==null||H.call(e,x),s==null||s(),a.reject(x))},w=()=>new Promise(x=>{var H;s=S=>{(r||p())&&x(S)},(H=e.onPause)==null||H.call(e)}).then(()=>{var x;s=void 0,r||(x=e.onContinue)==null||x.call(e)}),A=()=>{if(r)return;let x;const H=n===0?e.initialPromise:void 0;try{x=H??e.fn()}catch(S){x=Promise.reject(S)}Promise.resolve(x).then(m).catch(S=>{var k;if(r)return;const z=e.retry??(pa?0:3),O=e.retryDelay??s6,C=typeof O=="function"?O(n,S):O,D=z===!0||typeof z=="number"&&np()?void 0:w()).then(()=>{t?P(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)}}function i6(){let e=[],t=0,n=u=>{u()},r=u=>{u()},s=u=>setTimeout(u,0);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 Vn=i6(),_i,f0,s2=(f0=class{constructor(){mt(this,_i)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),bg(this.gcTime)&&qe(this,_i,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(pa?1/0:5*60*1e3))}clearGcTimeout(){G(this,_i)&&(clearTimeout(G(this,_i)),qe(this,_i,void 0))}},_i=new WeakMap,f0),vl,hl,ro,rr,Eu,$i,Co,Hs,d0,a6=(d0=class extends s2{constructor(t){super();mt(this,Co);mt(this,vl);mt(this,hl);mt(this,ro);mt(this,rr);mt(this,Eu);mt(this,$i);qe(this,$i,!1),qe(this,Eu,t.defaultOptions),this.setOptions(t.options),this.observers=[],qe(this,ro,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,qe(this,vl,l6(this.options)),this.state=t.state??G(this,vl),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=G(this,rr))==null?void 0:t.promise}setOptions(t){this.options={...G(this,Eu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&G(this,ro).remove(this)}setData(t,n){const r=wg(this.state.data,t,this.options);return zt(this,Co,Hs).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){zt(this,Co,Hs).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=G(this,rr))==null?void 0:r.promise;return(s=G(this,rr))==null||s.cancel(t),n?n.then(oo).catch(oo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(G(this,vl))}isActive(){return this.observers.some(t=>Do(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Fy||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!$1(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=G(this,rr))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=G(this,rr))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),G(this,ro).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,rr)&&(G(this,$i)?G(this,rr).cancel({revert:!0}):G(this,rr).cancelRetry()),this.scheduleGc()),G(this,ro).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||zt(this,Co,Hs).call(this,{type:"invalidate"})}fetch(t,n){var f,p,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(G(this,rr))return G(this,rr).continueRetry(),G(this,rr).promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(P=>P.options.queryFn);m&&this.setOptions(m.options)}const r=new AbortController,s=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(qe(this,$i,!0),r.signal)})},a=()=>{const m=t2(this.options,n),P={queryKey:this.queryKey,meta:this.meta};return s(P),qe(this,$i,!1),this.options.persister?this.options.persister(m,P,this):m(P)},l={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};s(l),(f=this.options.behavior)==null||f.onFetch(l,this),qe(this,hl,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=l.fetchOptions)==null?void 0:p.meta))&&zt(this,Co,Hs).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta});const u=m=>{var P,w,A,x;Rm(m)&&m.silent||zt(this,Co,Hs).call(this,{type:"error",error:m}),Rm(m)||((w=(P=G(this,ro).config).onError)==null||w.call(P,m,this),(x=(A=G(this,ro).config).onSettled)==null||x.call(A,this.state.data,m,this)),this.scheduleGc()};return qe(this,rr,o2({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:m=>{var P,w,A,x;if(m===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(H){u(H);return}(w=(P=G(this,ro).config).onSuccess)==null||w.call(P,m,this),(x=(A=G(this,ro).config).onSettled)==null||x.call(A,m,this.state.error,this),this.scheduleGc()},onError:u,onFail:(m,P)=>{zt(this,Co,Hs).call(this,{type:"failed",failureCount:m,error:P})},onPause:()=>{zt(this,Co,Hs).call(this,{type:"pause"})},onContinue:()=>{zt(this,Co,Hs).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),G(this,rr).start()}},vl=new WeakMap,hl=new WeakMap,ro=new WeakMap,rr=new WeakMap,Eu=new WeakMap,$i=new WeakMap,Co=new WeakSet,Hs=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,...i2(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 Rm(s)&&s.revert&&G(this,hl)?{...G(this,hl),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),Vn.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),G(this,ro).notify({query:this,type:"updated",action:t})})},d0);function i2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:n2(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function l6(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 qo,p0,c6=(p0=class extends Il{constructor(t={}){super();mt(this,qo);this.config=t,qe(this,qo,new Map)}build(t,n,r){const s=n.queryKey,a=n.queryHash??Jy(s,n);let l=this.get(a);return l||(l=new a6({cache:this,queryKey:s,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(l)),l}add(t){G(this,qo).has(t.queryHash)||(G(this,qo).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=G(this,qo).get(t.queryHash);n&&(t.destroy(),n===t&&G(this,qo).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Vn.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return G(this,qo).get(t)}getAll(){return[...G(this,qo).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Gx(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Gx(t,r)):n}notify(t){Vn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Vn.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Vn.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},qo=new WeakMap,p0),Zo,fr,ea,Go,oi,v0,u6=(v0=class extends s2{constructor(t){super();mt(this,Go);mt(this,Zo);mt(this,fr);mt(this,ea);this.mutationId=t.mutationId,qe(this,fr,t.mutationCache),qe(this,Zo,[]),this.state=t.state||a2(),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,Zo).includes(t)||(G(this,Zo).push(t),this.clearGcTimeout(),G(this,fr).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){qe(this,Zo,G(this,Zo).filter(n=>n!==t)),this.scheduleGc(),G(this,fr).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){G(this,Zo).length||(this.state.status==="pending"?this.scheduleGc():G(this,fr).remove(this))}continue(){var t;return((t=G(this,ea))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,a,l,u,f,p,h,m,P,w,A,x,H,S,z,O,C,D,k,R;qe(this,ea,o2({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,L)=>{zt(this,Go,oi).call(this,{type:"failed",failureCount:M,error:L})},onPause:()=>{zt(this,Go,oi).call(this,{type:"pause"})},onContinue:()=>{zt(this,Go,oi).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>G(this,fr).canRun(this)}));const n=this.state.status==="pending",r=!G(this,ea).canStart();try{if(!n){zt(this,Go,oi).call(this,{type:"pending",variables:t,isPaused:r}),await((a=(s=G(this,fr).config).onMutate)==null?void 0:a.call(s,t,this));const L=await((u=(l=this.options).onMutate)==null?void 0:u.call(l,t));L!==this.state.context&&zt(this,Go,oi).call(this,{type:"pending",context:L,variables:t,isPaused:r})}const M=await G(this,ea).start();return await((p=(f=G(this,fr).config).onSuccess)==null?void 0:p.call(f,M,t,this.state.context,this)),await((m=(h=this.options).onSuccess)==null?void 0:m.call(h,M,t,this.state.context)),await((w=(P=G(this,fr).config).onSettled)==null?void 0:w.call(P,M,null,this.state.variables,this.state.context,this)),await((x=(A=this.options).onSettled)==null?void 0:x.call(A,M,null,t,this.state.context)),zt(this,Go,oi).call(this,{type:"success",data:M}),M}catch(M){try{throw await((S=(H=G(this,fr).config).onError)==null?void 0:S.call(H,M,t,this.state.context,this)),await((O=(z=this.options).onError)==null?void 0:O.call(z,M,t,this.state.context)),await((D=(C=G(this,fr).config).onSettled)==null?void 0:D.call(C,void 0,M,this.state.variables,this.state.context,this)),await((R=(k=this.options).onSettled)==null?void 0:R.call(k,void 0,M,t,this.state.context)),M}finally{zt(this,Go,oi).call(this,{type:"error",error:M})}}finally{G(this,fr).runNext(this)}}},Zo=new WeakMap,fr=new WeakMap,ea=new WeakMap,Go=new WeakSet,oi=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),Vn.batch(()=>{G(this,Zo).forEach(r=>{r.onMutationUpdate(t)}),G(this,fr).notify({mutation:this,type:"updated",action:t})})},v0);function a2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Ir,Mu,h0,f6=(h0=class extends Il{constructor(t={}){super();mt(this,Ir);mt(this,Mu);this.config=t,qe(this,Ir,new Map),qe(this,Mu,Date.now())}build(t,n,r){const s=new u6({mutationCache:this,mutationId:++vd(this,Mu)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){const n=jd(t),r=G(this,Ir).get(n)??[];r.push(t),G(this,Ir).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=jd(t);if(G(this,Ir).has(n)){const s=(r=G(this,Ir).get(n))==null?void 0:r.filter(a=>a!==t);s&&(s.length===0?G(this,Ir).delete(n):G(this,Ir).set(n,s))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=G(this,Ir).get(jd(t)))==null?void 0:r.find(s=>s.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=G(this,Ir).get(jd(t)))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Vn.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...G(this,Ir).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ux(n,r))}findAll(t={}){return this.getAll().filter(n=>Ux(t,n))}notify(t){Vn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Vn.batch(()=>Promise.all(t.map(n=>n.continue().catch(oo))))}},Ir=new WeakMap,Mu=new WeakMap,h0);function jd(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function _x(e){return{onFetch:(t,n)=>{var h,m,P,w,A;const r=t.options,s=(P=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:P.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 x=!1;const H=O=>{Object.defineProperty(O,"signal",{enumerable:!0,get:()=>(t.signal.aborted?x=!0:t.signal.addEventListener("abort",()=>{x=!0}),t.signal)})},S=t2(t.options,t.fetchOptions),z=async(O,C,D)=>{if(x)return Promise.reject();if(C==null&&O.pages.length)return Promise.resolve(O);const k={queryKey:t.queryKey,pageParam:C,direction:D?"backward":"forward",meta:t.options.meta};H(k);const R=await S(k),{maxPages:M}=t.options,L=D?n6:t6;return{pages:L(O.pages,R,M),pageParams:L(O.pageParams,C,M)}};if(s&&a.length){const O=s==="backward",C=O?d6:$x,D={pages:a,pageParams:l},k=C(r,D);u=await z(D,k,O)}else{const O=e??a.length;do{const C=f===0?l[0]??r.initialPageParam:$x(r,u);if(f>0&&C==null)break;u=await z(u,C),f++}while(f{var x,H;return(H=(x=t.options).persister)==null?void 0:H.call(x,p,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=p}}}function $x(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 d6(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 wn,ui,fi,ml,gl,di,yl,Al,m0,p6=(m0=class{constructor(e={}){mt(this,wn);mt(this,ui);mt(this,fi);mt(this,ml);mt(this,gl);mt(this,di);mt(this,yl);mt(this,Al);qe(this,wn,e.queryCache||new c6),qe(this,ui,e.mutationCache||new f6),qe(this,fi,e.defaultOptions||{}),qe(this,ml,new Map),qe(this,gl,new Map),qe(this,di,0)}mount(){vd(this,di)._++,G(this,di)===1&&(qe(this,yl,Yy.subscribe(async e=>{e&&(await this.resumePausedMutations(),G(this,wn).onFocus())})),qe(this,Al,gp.subscribe(async e=>{e&&(await this.resumePausedMutations(),G(this,wn).onOnline())})))}unmount(){var e,t;vd(this,di)._--,G(this,di)===0&&((e=G(this,yl))==null||e.call(this),qe(this,yl,void 0),(t=G(this,Al))==null||t.call(this),qe(this,Al,void 0))}isFetching(e){return G(this,wn).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return G(this,ui).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=G(this,wn).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=G(this,wn).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(cl(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return G(this,wn).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,wn).get(r.queryHash),a=s==null?void 0:s.state.data,l=$E(t,a);if(l!==void 0)return G(this,wn).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return Vn.batch(()=>G(this,wn).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,wn).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=G(this,wn);Vn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=G(this,wn),r={type:"active",...e};return Vn.batch(()=>(n.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries(r,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Vn.batch(()=>G(this,wn).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(oo).catch(oo)}invalidateQueries(e,t={}){return Vn.batch(()=>{if(G(this,wn).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none")return Promise.resolve();const n={...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"};return this.refetchQueries(n,t)})}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Vn.batch(()=>G(this,wn).findAll(e).filter(s=>!s.isDisabled()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(oo)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(oo)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=G(this,wn).build(this,t);return n.isStaleByTime(cl(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(oo).catch(oo)}fetchInfiniteQuery(e){return e.behavior=_x(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(oo).catch(oo)}ensureInfiniteQueryData(e){return e.behavior=_x(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return gp.isOnline()?G(this,ui).resumePausedMutations():Promise.resolve()}getQueryCache(){return G(this,wn)}getMutationCache(){return G(this,ui)}getDefaultOptions(){return G(this,fi)}setDefaultOptions(e){qe(this,fi,e)}setQueryDefaults(e,t){G(this,ml).set(va(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...G(this,ml).values()],n={};return t.forEach(r=>{Tu(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){G(this,gl).set(va(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...G(this,gl).values()];let n={};return t.forEach(r=>{Tu(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...G(this,fi).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Jy(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===Fy&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...G(this,fi).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){G(this,wn).clear(),G(this,ui).clear()}},wn=new WeakMap,ui=new WeakMap,fi=new WeakMap,ml=new WeakMap,gl=new WeakMap,di=new WeakMap,yl=new WeakMap,Al=new WeakMap,m0),wr,Nt,Lu,dr,ta,Pl,pi,Uo,Xu,bl,xl,na,ra,vi,wl,Zt,ou,jg,Sg,zg,Og,Cg,Dg,Tg,l2,g0,v6=(g0=class extends Il{constructor(t,n){super();mt(this,Zt);mt(this,wr);mt(this,Nt);mt(this,Lu);mt(this,dr);mt(this,ta);mt(this,Pl);mt(this,pi);mt(this,Uo);mt(this,Xu);mt(this,bl);mt(this,xl);mt(this,na);mt(this,ra);mt(this,vi);mt(this,wl,new Set);this.options=n,qe(this,wr,t),qe(this,Uo,null),qe(this,pi,Hg()),this.options.experimental_prefetchInRender||G(this,pi).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,Nt).addObserver(this),ew(G(this,Nt),this.options)?zt(this,Zt,ou).call(this):this.updateResult(),zt(this,Zt,Og).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return kg(G(this,Nt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return kg(G(this,Nt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,zt(this,Zt,Cg).call(this),zt(this,Zt,Dg).call(this),G(this,Nt).removeObserver(this)}setOptions(t,n){const r=this.options,s=G(this,Nt);if(this.options=G(this,wr).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Do(this.options.enabled,G(this,Nt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");zt(this,Zt,Tg).call(this),G(this,Nt).setOptions(this.options),r._defaulted&&!mp(this.options,r)&&G(this,wr).getQueryCache().notify({type:"observerOptionsUpdated",query:G(this,Nt),observer:this});const a=this.hasListeners();a&&tw(G(this,Nt),s,this.options,r)&&zt(this,Zt,ou).call(this),this.updateResult(n),a&&(G(this,Nt)!==s||Do(this.options.enabled,G(this,Nt))!==Do(r.enabled,G(this,Nt))||cl(this.options.staleTime,G(this,Nt))!==cl(r.staleTime,G(this,Nt)))&&zt(this,Zt,jg).call(this);const l=zt(this,Zt,Sg).call(this);a&&(G(this,Nt)!==s||Do(this.options.enabled,G(this,Nt))!==Do(r.enabled,G(this,Nt))||l!==G(this,vi))&&zt(this,Zt,zg).call(this,l)}getOptimisticResult(t){const n=G(this,wr).getQueryCache().build(G(this,wr),t),r=this.createResult(n,t);return m6(this,r)&&(qe(this,dr,r),qe(this,Pl,this.options),qe(this,ta,G(this,Nt).state)),r}getCurrentResult(){return G(this,dr)}trackResult(t,n){const r={};return Object.keys(t).forEach(s=>{Object.defineProperty(r,s,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(s),n==null||n(s),t[s])})}),r}trackProp(t){G(this,wl).add(t)}getCurrentQuery(){return G(this,Nt)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=G(this,wr).defaultQueryOptions(t),r=G(this,wr).getQueryCache().build(G(this,wr),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return zt(this,Zt,ou).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),G(this,dr)))}createResult(t,n){var M;const r=G(this,Nt),s=this.options,a=G(this,dr),l=G(this,ta),u=G(this,Pl),p=t!==r?t.state:G(this,Lu),{state:h}=t;let m={...h},P=!1,w;if(n._optimisticResults){const L=this.hasListeners(),j=!L&&ew(t,n),B=L&&tw(t,r,n,s);(j||B)&&(m={...m,...i2(h.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:A,errorUpdatedAt:x,status:H}=m;if(n.select&&m.data!==void 0)if(a&&m.data===(l==null?void 0:l.data)&&n.select===G(this,Xu))w=G(this,bl);else try{qe(this,Xu,n.select),w=n.select(m.data),w=wg(a==null?void 0:a.data,w,n),qe(this,bl,w),qe(this,Uo,null)}catch(L){qe(this,Uo,L)}else w=m.data;if(n.placeholderData!==void 0&&w===void 0&&H==="pending"){let L;if(a!=null&&a.isPlaceholderData&&n.placeholderData===(u==null?void 0:u.placeholderData))L=a.data;else if(L=typeof n.placeholderData=="function"?n.placeholderData((M=G(this,xl))==null?void 0:M.state.data,G(this,xl)):n.placeholderData,n.select&&L!==void 0)try{L=n.select(L),qe(this,Uo,null)}catch(j){qe(this,Uo,j)}L!==void 0&&(H="success",w=wg(a==null?void 0:a.data,L,n),P=!0)}G(this,Uo)&&(A=G(this,Uo),w=G(this,bl),x=Date.now(),H="error");const S=m.fetchStatus==="fetching",z=H==="pending",O=H==="error",C=z&&S,D=w!==void 0,R={status:H,fetchStatus:m.fetchStatus,isPending:z,isSuccess:H==="success",isError:O,isInitialLoading:C,isLoading:C,data:w,dataUpdatedAt:m.dataUpdatedAt,error:A,errorUpdatedAt:x,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:S,isRefetching:S&&!z,isLoadingError:O&&!D,isPaused:m.fetchStatus==="paused",isPlaceholderData:P,isRefetchError:O&&D,isStale:qy(t,n),refetch:this.refetch,promise:G(this,pi)};if(this.options.experimental_prefetchInRender){const L=I=>{R.status==="error"?I.reject(R.error):R.data!==void 0&&I.resolve(R.data)},j=()=>{const I=qe(this,pi,R.promise=Hg());L(I)},B=G(this,pi);switch(B.status){case"pending":t.queryHash===r.queryHash&&L(B);break;case"fulfilled":(R.status==="error"||R.data!==B.value)&&j();break;case"rejected":(R.status!=="error"||R.error!==B.reason)&&j();break}}return R}updateResult(t){const n=G(this,dr),r=this.createResult(G(this,Nt),this.options);if(qe(this,ta,G(this,Nt).state),qe(this,Pl,this.options),G(this,ta).data!==void 0&&qe(this,xl,G(this,Nt)),mp(r,n))return;qe(this,dr,r);const s={},a=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,u=typeof l=="function"?l():l;if(u==="all"||!u&&!G(this,wl).size)return!0;const f=new Set(u??G(this,wl));return this.options.throwOnError&&f.add("error"),Object.keys(G(this,dr)).some(p=>{const h=p;return G(this,dr)[h]!==n[h]&&f.has(h)})};(t==null?void 0:t.listeners)!==!1&&a()&&(s.listeners=!0),zt(this,Zt,l2).call(this,{...s,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&zt(this,Zt,Og).call(this)}},wr=new WeakMap,Nt=new WeakMap,Lu=new WeakMap,dr=new WeakMap,ta=new WeakMap,Pl=new WeakMap,pi=new WeakMap,Uo=new WeakMap,Xu=new WeakMap,bl=new WeakMap,xl=new WeakMap,na=new WeakMap,ra=new WeakMap,vi=new WeakMap,wl=new WeakMap,Zt=new WeakSet,ou=function(t){zt(this,Zt,Tg).call(this);let n=G(this,Nt).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(oo)),n},jg=function(){zt(this,Zt,Cg).call(this);const t=cl(this.options.staleTime,G(this,Nt));if(pa||G(this,dr).isStale||!bg(t))return;const r=$1(G(this,dr).dataUpdatedAt,t)+1;qe(this,na,setTimeout(()=>{G(this,dr).isStale||this.updateResult()},r))},Sg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(G(this,Nt)):this.options.refetchInterval)??!1},zg=function(t){zt(this,Zt,Dg).call(this),qe(this,vi,t),!(pa||Do(this.options.enabled,G(this,Nt))===!1||!bg(G(this,vi))||G(this,vi)===0)&&qe(this,ra,setInterval(()=>{(this.options.refetchIntervalInBackground||Yy.isFocused())&&zt(this,Zt,ou).call(this)},G(this,vi)))},Og=function(){zt(this,Zt,jg).call(this),zt(this,Zt,zg).call(this,zt(this,Zt,Sg).call(this))},Cg=function(){G(this,na)&&(clearTimeout(G(this,na)),qe(this,na,void 0))},Dg=function(){G(this,ra)&&(clearInterval(G(this,ra)),qe(this,ra,void 0))},Tg=function(){const t=G(this,wr).getQueryCache().build(G(this,wr),this.options);if(t===G(this,Nt))return;const n=G(this,Nt);qe(this,Nt,t),qe(this,Lu,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},l2=function(t){Vn.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(G(this,dr))}),G(this,wr).getQueryCache().notify({query:G(this,Nt),type:"observerResultsUpdated"})})},g0);function h6(e,t){return Do(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function ew(e,t){return h6(e,t)||e.state.data!==void 0&&kg(e,t,t.refetchOnMount)}function kg(e,t,n){if(Do(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&qy(e,t)}return!1}function tw(e,t,n,r){return(e!==t||Do(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&qy(e,n)}function qy(e,t){return Do(t.enabled,e)!==!1&&e.isStaleByTime(cl(t.staleTime,e))}function m6(e,t){return!mp(e.getCurrentResult(),t)}var hi,mi,Hr,Ss,Ds,Fd,Rg,y0,g6=(y0=class extends Il{constructor(n,r){super();mt(this,Ds);mt(this,hi);mt(this,mi);mt(this,Hr);mt(this,Ss);qe(this,hi,n),this.setOptions(r),this.bindMethods(),zt(this,Ds,Fd).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,hi).defaultMutationOptions(n),mp(this.options,r)||G(this,hi).getMutationCache().notify({type:"observerOptionsUpdated",mutation:G(this,Hr),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&va(r.mutationKey)!==va(this.options.mutationKey)?this.reset():((s=G(this,Hr))==null?void 0:s.state.status)==="pending"&&G(this,Hr).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=G(this,Hr))==null||n.removeObserver(this)}onMutationUpdate(n){zt(this,Ds,Fd).call(this),zt(this,Ds,Rg).call(this,n)}getCurrentResult(){return G(this,mi)}reset(){var n;(n=G(this,Hr))==null||n.removeObserver(this),qe(this,Hr,void 0),zt(this,Ds,Fd).call(this),zt(this,Ds,Rg).call(this)}mutate(n,r){var s;return qe(this,Ss,r),(s=G(this,Hr))==null||s.removeObserver(this),qe(this,Hr,G(this,hi).getMutationCache().build(G(this,hi),this.options)),G(this,Hr).addObserver(this),G(this,Hr).execute(n)}},hi=new WeakMap,mi=new WeakMap,Hr=new WeakMap,Ss=new WeakMap,Ds=new WeakSet,Fd=function(){var r;const n=((r=G(this,Hr))==null?void 0:r.state)??a2();qe(this,mi,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},Rg=function(n){Vn.batch(()=>{var r,s,a,l,u,f,p,h;if(G(this,Ss)&&this.hasListeners()){const m=G(this,mi).variables,P=G(this,mi).context;(n==null?void 0:n.type)==="success"?((s=(r=G(this,Ss)).onSuccess)==null||s.call(r,n.data,m,P),(l=(a=G(this,Ss)).onSettled)==null||l.call(a,n.data,null,m,P)):(n==null?void 0:n.type)==="error"&&((f=(u=G(this,Ss)).onError)==null||f.call(u,n.error,m,P),(h=(p=G(this,Ss)).onSettled)==null||h.call(p,void 0,n.error,m,P))}this.listeners.forEach(m=>{m(G(this,mi))})})},y0),c2=y.createContext(void 0),tv=e=>{const t=y.useContext(c2);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},y6=({client:e,children:t})=>(y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),v.jsx(c2.Provider,{value:e,children:t})),u2=y.createContext(!1),A6=()=>y.useContext(u2);u2.Provider;function P6(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var b6=y.createContext(P6()),x6=()=>y.useContext(b6);function f2(e,t){return typeof e=="function"?e(...t):!!e}function Eg(){}var w6=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},H6=e=>{y.useEffect(()=>{e.clearReset()},[e])},j6=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&f2(n,[e.error,r]),S6=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},z6=(e,t)=>e.isLoading&&e.isFetching&&!t,O6=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,nw=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function C6(e,t,n){var h,m,P,w,A;const r=tv(),s=A6(),a=x6(),l=r.defaultQueryOptions(e);(m=(h=r.getDefaultOptions().queries)==null?void 0:h._experimental_beforeQuery)==null||m.call(h,l),l._optimisticResults=s?"isRestoring":"optimistic",S6(l),w6(l,a),H6(a);const u=!r.getQueryCache().get(l.queryHash),[f]=y.useState(()=>new t(r,l)),p=f.getOptimisticResult(l);if(y.useSyncExternalStore(y.useCallback(x=>{const H=s?Eg:f.subscribe(Vn.batchCalls(x));return f.updateResult(),H},[f,s]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),y.useEffect(()=>{f.setOptions(l,{listeners:!1})},[l,f]),O6(l,p))throw nw(l,f,a);if(j6({result:p,errorResetBoundary:a,throwOnError:l.throwOnError,query:r.getQueryCache().get(l.queryHash)}))throw p.error;if((w=(P=r.getDefaultOptions().queries)==null?void 0:P._experimental_afterQuery)==null||w.call(P,l,p),l.experimental_prefetchInRender&&!pa&&z6(p,s)){const x=u?nw(l,f,a):(A=r.getQueryCache().get(l.queryHash))==null?void 0:A.promise;x==null||x.catch(Eg).finally(()=>{f.updateResult()})}return l.notifyOnChangeProps?p:f.trackResult(p)}function Kn(e,t){return C6(e,v6)}function El(e,t){const n=tv(),[r]=y.useState(()=>new g6(n,e));y.useEffect(()=>{r.setOptions(e)},[r,e]);const s=y.useSyncExternalStore(y.useCallback(l=>r.subscribe(Vn.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=y.useCallback((l,u)=>{r.mutate(l,u).catch(Eg)},[r]);if(s.error&&f2(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}var Sd={},rw;function D6(){if(rw)return Sd;rw=1;var e=p1();return Sd.createRoot=e.createRoot,Sd.hydrateRoot=e.hydrateRoot,Sd}var T6=D6();const k6=Cp(T6);var Bc={},ow;function R6(){if(ow)return Bc;ow=1,Object.defineProperty(Bc,"__esModule",{value:!0}),Bc.parse=l,Bc.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 P=function(){};return P.prototype=Object.create(null),P})();function l(P,w){const A=new a,x=P.length;if(x<2)return A;const H=(w==null?void 0:w.decode)||h;let S=0;do{const z=P.indexOf("=",S);if(z===-1)break;const O=P.indexOf(";",S),C=O===-1?x:O;if(z>C){S=P.lastIndexOf(";",z-1)+1;continue}const D=u(P,S,z),k=f(P,z,D),R=P.slice(D,k);if(A[R]===void 0){let M=u(P,z+1,C),L=f(P,C,M);const j=H(P.slice(M,L));A[R]=j}S=C+1}while(SA;){const x=P.charCodeAt(--w);if(x!==32&&x!==9)return w+1}return A}function p(P,w,A){const x=(A==null?void 0:A.encode)||encodeURIComponent;if(!e.test(P))throw new TypeError(`argument name is invalid: ${P}`);const H=x(w);if(!t.test(H))throw new TypeError(`argument val is invalid: ${w}`);let S=P+"="+H;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(P){if(P.indexOf("%")===-1)return P;try{return decodeURIComponent(P)}catch{return P}}function m(P){return s.call(P)==="[object Date]"}return Bc}R6();/** + * react-router v7.1.0 * * Copyright (c) Remix Software Inc. * @@ -196,17 +196,17 @@ Error generating stack: `+b.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var sw="popstate";function E6(e={}){function t(r,s){let{pathname:a,search:l,hash:u}=r.location;return Mg("",{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:ku(s)}return L6(t,n,null,e)}function yn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Mo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function M6(){return Math.random().toString(36).substring(2,10)}function iw(e,t){return{usr:e.state,key:e.key,idx:t}}function Mg(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Wl(t):t,state:n,key:t&&t.key||r||M6()}}function ku({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 Wl(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 L6(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 H=h(),S=H==null?null:H-p;p=H,f&&f({action:u,location:x.location,delta:S})}function P(H,S){u="PUSH";let z=Mg(x.location,H,S);p=h()+1;let O=iw(z,p),C=x.createHref(z);try{l.pushState(O,"",C)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;s.location.assign(C)}a&&f&&f({action:u,location:x.location,delta:1})}function w(H,S){u="REPLACE";let z=Mg(x.location,H,S);p=h();let O=iw(z,p),C=x.createHref(z);l.replaceState(O,"",C),a&&f&&f({action:u,location:x.location,delta:0})}function A(H){let S=s.location.origin!=="null"?s.location.origin:s.location.href,z=typeof H=="string"?H:ku(H);return z=z.replace(/ $/,"%20"),yn(S,`No window.location.(origin|href) available to create URL for href: ${z}`),new URL(z,S)}let x={get action(){return u},get location(){return e(s,l)},listen(H){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(sw,m),f=H,()=>{s.removeEventListener(sw,m),f=null}},createHref(H){return t(s,H)},createURL:A,encodeLocation(H){let S=A(H);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:P,replace:w,go(H){return l.go(H)}};return x}function d2(e,t,n="/"){return X6(e,t,n,!1)}function X6(e,t,n,r){let s=typeof t=="string"?Wl(t):t,a=Pi(s.pathname||"/",n);if(a==null)return null;let l=p2(e);N6(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("/")&&(yn(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=Cs([r,f.relativePath]),h=n.concat(f);a.children&&a.children.length>0&&(yn(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),p2(a.children,t,h,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:Y6(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 v2(a.path))s(a,l,f)}),t}function v2(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=v2(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 N6(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:q6(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var B6=/^:[\w-]+$/,V6=3,I6=2,W6=1,J6=10,F6=-2,aw=e=>e==="*";function Y6(e,t){let n=e.split("/"),r=n.length;return n.some(aw)&&(r+=F6),t&&(r+=I6),n.filter(s=>!aw(s)).reduce((s,a)=>s+(B6.test(a)?V6:a===""?W6:J6),r)}function q6(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 Z6(e,t,n=!1){let{routesMeta:r}=e,s={},a="/",l=[];for(let u=0;u{if(h==="*"){let A=u[P]||"";l=a.slice(0,a.length-A.length).replace(/(.)\/+$/,"$1")}const w=u[P];return m&&!w?p[h]=void 0:p[h]=(w||"").replace(/%2F/g,"/"),p},{}),pathname:a,pathnameBase:l,pattern:e}}function G6(e,t=!1,n=!0){Mo(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 U6(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Mo(!1,`The URL path "${e}" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Pi(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 Q6(e,t="/"){let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Wl(e):e;return{pathname:n?n.startsWith("/")?n:K6(n,t):t,search:eM(r),hash:tM(s)}}function K6(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 Em(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 _6(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function h2(e){let t=_6(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function m2(e,t,n,r=!1){let s;typeof e=="string"?s=Wl(e):(s={...e},yn(!s.pathname||!s.pathname.includes("?"),Em("?","pathname","search",s)),yn(!s.pathname||!s.pathname.includes("#"),Em("#","pathname","hash",s)),yn(!s.search||!s.search.includes("#"),Em("#","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 P=l.split("/");for(;P[0]==="..";)P.shift(),m-=1;s.pathname=P.join("/")}u=m>=0?t[m]:"/"}let f=Q6(s,u),p=l&&l!=="/"&&l.endsWith("/"),h=(a||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(p||h)&&(f.pathname+="/"),f}var Cs=e=>e.join("/").replace(/\/\/+/g,"/"),$6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),eM=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,tM=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function nM(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var g2=["POST","PUT","PATCH","DELETE"];new Set(g2);var rM=["GET",...g2];new Set(rM);var Jl=y.createContext(null);Jl.displayName="DataRouter";var nv=y.createContext(null);nv.displayName="DataRouterState";var y2=y.createContext({isTransitioning:!1});y2.displayName="ViewTransition";var oM=y.createContext(new Map);oM.displayName="Fetchers";var sM=y.createContext(null);sM.displayName="Await";var as=y.createContext(null);as.displayName="Navigation";var Qu=y.createContext(null);Qu.displayName="Location";var Es=y.createContext({outlet:null,matches:[],isDataRoute:!1});Es.displayName="Route";var Zy=y.createContext(null);Zy.displayName="RouteError";function iM(e,{relative:t}={}){yn(Ku(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=y.useContext(as),{hash:s,pathname:a,search:l}=_u(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:Cs([n,a])),r.createHref({pathname:u,search:l,hash:s})}function Ku(){return y.useContext(Qu)!=null}function Hi(){return yn(Ku(),"useLocation() may be used only in the context of a component."),y.useContext(Qu).location}var A2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function P2(e){y.useContext(as).static||y.useLayoutEffect(e)}function rv(){let{isDataRoute:e}=y.useContext(Es);return e?AM():aM()}function aM(){yn(Ku(),"useNavigate() may be used only in the context of a component.");let e=y.useContext(Jl),{basename:t,navigator:n}=y.useContext(as),{matches:r}=y.useContext(Es),{pathname:s}=Hi(),a=JSON.stringify(h2(r)),l=y.useRef(!1);return P2(()=>{l.current=!0}),y.useCallback((f,p={})=>{if(Mo(l.current,A2),!l.current)return;if(typeof f=="number"){n.go(f);return}let h=m2(f,JSON.parse(a),s,p.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Cs([t,h.pathname])),(p.replace?n.replace:n.push)(h,p.state,p)},[t,n,a,s,e])}y.createContext(null);function _u(e,{relative:t}={}){let{matches:n}=y.useContext(Es),{pathname:r}=Hi(),s=JSON.stringify(h2(n));return y.useMemo(()=>m2(e,JSON.parse(s),r,t==="path"),[e,s,r,t])}function lM(e,t){return b2(e,t)}function b2(e,t,n,r){var S;yn(Ku(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=y.useContext(as),{matches:a}=y.useContext(Es),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||"";x2(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. + */var sw="popstate";function E6(e={}){function t(r,s){let{pathname:a,search:l,hash:u}=r.location;return Mg("",{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:ku(s)}return L6(t,n,null,e)}function gn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Mo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function M6(){return Math.random().toString(36).substring(2,10)}function iw(e,t){return{usr:e.state,key:e.key,idx:t}}function Mg(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Wl(t):t,state:n,key:t&&t.key||r||M6()}}function ku({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 Wl(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 L6(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 H=h(),S=H==null?null:H-p;p=H,f&&f({action:u,location:x.location,delta:S})}function P(H,S){u="PUSH";let z=Mg(x.location,H,S);p=h()+1;let O=iw(z,p),C=x.createHref(z);try{l.pushState(O,"",C)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;s.location.assign(C)}a&&f&&f({action:u,location:x.location,delta:1})}function w(H,S){u="REPLACE";let z=Mg(x.location,H,S);p=h();let O=iw(z,p),C=x.createHref(z);l.replaceState(O,"",C),a&&f&&f({action:u,location:x.location,delta:0})}function A(H){let S=s.location.origin!=="null"?s.location.origin:s.location.href,z=typeof H=="string"?H:ku(H);return z=z.replace(/ $/,"%20"),gn(S,`No window.location.(origin|href) available to create URL for href: ${z}`),new URL(z,S)}let x={get action(){return u},get location(){return e(s,l)},listen(H){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(sw,m),f=H,()=>{s.removeEventListener(sw,m),f=null}},createHref(H){return t(s,H)},createURL:A,encodeLocation(H){let S=A(H);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:P,replace:w,go(H){return l.go(H)}};return x}function d2(e,t,n="/"){return X6(e,t,n,!1)}function X6(e,t,n,r){let s=typeof t=="string"?Wl(t):t,a=Pi(s.pathname||"/",n);if(a==null)return null;let l=p2(e);N6(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("/")&&(gn(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=Cs([r,f.relativePath]),h=n.concat(f);a.children&&a.children.length>0&&(gn(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),p2(a.children,t,h,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:Y6(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 v2(a.path))s(a,l,f)}),t}function v2(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=v2(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 N6(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:q6(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var B6=/^:[\w-]+$/,V6=3,I6=2,W6=1,J6=10,F6=-2,aw=e=>e==="*";function Y6(e,t){let n=e.split("/"),r=n.length;return n.some(aw)&&(r+=F6),t&&(r+=I6),n.filter(s=>!aw(s)).reduce((s,a)=>s+(B6.test(a)?V6:a===""?W6:J6),r)}function q6(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 Z6(e,t,n=!1){let{routesMeta:r}=e,s={},a="/",l=[];for(let u=0;u{if(h==="*"){let A=u[P]||"";l=a.slice(0,a.length-A.length).replace(/(.)\/+$/,"$1")}const w=u[P];return m&&!w?p[h]=void 0:p[h]=(w||"").replace(/%2F/g,"/"),p},{}),pathname:a,pathnameBase:l,pattern:e}}function G6(e,t=!1,n=!0){Mo(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 U6(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Mo(!1,`The URL path "${e}" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Pi(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 Q6(e,t="/"){let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Wl(e):e;return{pathname:n?n.startsWith("/")?n:K6(n,t):t,search:eM(r),hash:tM(s)}}function K6(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 Em(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 _6(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function h2(e){let t=_6(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function m2(e,t,n,r=!1){let s;typeof e=="string"?s=Wl(e):(s={...e},gn(!s.pathname||!s.pathname.includes("?"),Em("?","pathname","search",s)),gn(!s.pathname||!s.pathname.includes("#"),Em("#","pathname","hash",s)),gn(!s.search||!s.search.includes("#"),Em("#","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 P=l.split("/");for(;P[0]==="..";)P.shift(),m-=1;s.pathname=P.join("/")}u=m>=0?t[m]:"/"}let f=Q6(s,u),p=l&&l!=="/"&&l.endsWith("/"),h=(a||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(p||h)&&(f.pathname+="/"),f}var Cs=e=>e.join("/").replace(/\/\/+/g,"/"),$6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),eM=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,tM=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function nM(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var g2=["POST","PUT","PATCH","DELETE"];new Set(g2);var rM=["GET",...g2];new Set(rM);var Jl=y.createContext(null);Jl.displayName="DataRouter";var nv=y.createContext(null);nv.displayName="DataRouterState";var y2=y.createContext({isTransitioning:!1});y2.displayName="ViewTransition";var oM=y.createContext(new Map);oM.displayName="Fetchers";var sM=y.createContext(null);sM.displayName="Await";var as=y.createContext(null);as.displayName="Navigation";var Qu=y.createContext(null);Qu.displayName="Location";var Es=y.createContext({outlet:null,matches:[],isDataRoute:!1});Es.displayName="Route";var Zy=y.createContext(null);Zy.displayName="RouteError";function iM(e,{relative:t}={}){gn(Ku(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=y.useContext(as),{hash:s,pathname:a,search:l}=_u(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:Cs([n,a])),r.createHref({pathname:u,search:l,hash:s})}function Ku(){return y.useContext(Qu)!=null}function Hi(){return gn(Ku(),"useLocation() may be used only in the context of a component."),y.useContext(Qu).location}var A2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function P2(e){y.useContext(as).static||y.useLayoutEffect(e)}function rv(){let{isDataRoute:e}=y.useContext(Es);return e?AM():aM()}function aM(){gn(Ku(),"useNavigate() may be used only in the context of a component.");let e=y.useContext(Jl),{basename:t,navigator:n}=y.useContext(as),{matches:r}=y.useContext(Es),{pathname:s}=Hi(),a=JSON.stringify(h2(r)),l=y.useRef(!1);return P2(()=>{l.current=!0}),y.useCallback((f,p={})=>{if(Mo(l.current,A2),!l.current)return;if(typeof f=="number"){n.go(f);return}let h=m2(f,JSON.parse(a),s,p.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Cs([t,h.pathname])),(p.replace?n.replace:n.push)(h,p.state,p)},[t,n,a,s,e])}y.createContext(null);function _u(e,{relative:t}={}){let{matches:n}=y.useContext(Es),{pathname:r}=Hi(),s=JSON.stringify(h2(n));return y.useMemo(()=>m2(e,JSON.parse(s),r,t==="path"),[e,s,r,t])}function lM(e,t){return b2(e,t)}function b2(e,t,n,r){var S;gn(Ku(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=y.useContext(as),{matches:a}=y.useContext(Es),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||"";x2(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=Hi(),P;if(t){let z=typeof t=="string"?Wl(t):t;yn(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.`),P=z}else P=m;let w=P.pathname||"/",A=w;if(p!=="/"){let z=p.replace(/^\//,"").split("/");A="/"+w.replace(/^\//,"").split("/").slice(z.length).join("/")}let x=d2(e,{pathname:A});Mo(h||x!=null,`No routes matched location "${P.pathname}${P.search}${P.hash}" `),Mo(x==null||x[x.length-1].route.element!==void 0||x[x.length-1].route.Component!==void 0||x[x.length-1].route.lazy!==void 0,`Matched leaf route at location "${P.pathname}${P.search}${P.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 H=pM(x&&x.map(z=>Object.assign({},z,{params:Object.assign({},u,z.params),pathname:Cs([p,s.encodeLocation?s.encodeLocation(z.pathname).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?p:Cs([p,s.encodeLocation?s.encodeLocation(z.pathnameBase).pathname:z.pathnameBase])})),a,n,r);return t&&H?y.createElement(Qu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...P},navigationType:"POP"}},H):H}function cM(){let e=yM(),t=nM(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=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:a},"ErrorBoundary")," or"," ",y.createElement("code",{style:a},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:s},n):null,l)}var uM=y.createElement(cM,null),fM=class extends y.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?y.createElement(Es.Provider,{value:this.props.routeContext},y.createElement(Zy.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function dM({routeContext:e,match:t,children:n}){let r=y.useContext(Jl);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),y.createElement(Es.Provider,{value:e},n)}function pM(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);yn(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,P=!1,w=null,A=null;n&&(m=a&&p.route.id?a[p.route.id]:void 0,w=p.route.errorElement||uM,l&&(u<0&&h===0?(x2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),P=!0,A=null):u===h&&(P=!0,A=p.route.hydrateFallbackElement||null)));let x=t.concat(s.slice(0,h+1)),H=()=>{let S;return m?S=w:P?S=A:p.route.Component?S=y.createElement(p.route.Component,null):p.route.element?S=p.route.element:S=f,y.createElement(dM,{match:p,routeContext:{outlet:f,matches:x,isDataRoute:n!=null},children:S})};return n&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?y.createElement(fM,{location:n.location,revalidation:n.revalidation,component:w,error:m,children:H(),routeContext:{outlet:null,matches:x,isDataRoute:!0}}):H()},null)}function Gy(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function vM(e){let t=y.useContext(Jl);return yn(t,Gy(e)),t}function hM(e){let t=y.useContext(nv);return yn(t,Gy(e)),t}function mM(e){let t=y.useContext(Es);return yn(t,Gy(e)),t}function Uy(e){let t=mM(e),n=t.matches[t.matches.length-1];return yn(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function gM(){return Uy("useRouteId")}function yM(){var r;let e=y.useContext(Zy),t=hM("useRouteError"),n=Uy("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function AM(){let{router:e}=vM("useNavigate"),t=Uy("useNavigate"),n=y.useRef(!1);return P2(()=>{n.current=!0}),y.useCallback(async(s,a={})=>{Mo(n.current,A2),n.current&&(typeof s=="number"?e.navigate(s):await e.navigate(s,{fromRouteId:t,...a}))},[e,t])}var lw={};function x2(e,t,n){!t&&!lw[e]&&(lw[e]=!0,Mo(!1,n))}y.memo(PM);function PM({routes:e,future:t,state:n}){return b2(e,void 0,n,t)}function js(e){yn(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function bM({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:s,static:a=!1}){yn(!Ku(),"You cannot render a inside another . You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),u=y.useMemo(()=>({basename:l,navigator:s,static:a,future:{}}),[l,s,a]);typeof n=="string"&&(n=Wl(n));let{pathname:f="/",search:p="",hash:h="",state:m=null,key:P="default"}=n,w=y.useMemo(()=>{let A=Pi(f,l);return A==null?null:{location:{pathname:A,search:p,hash:h,state:m,key:P},navigationType:r}},[l,f,p,h,m,P,r]);return Mo(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:y.createElement(as.Provider,{value:u},y.createElement(Qu.Provider,{children:t,value:w}))}function xM({children:e,location:t}){return lM(Lg(e),t)}function Lg(e,t=[]){let n=[];return y.Children.forEach(e,(r,s)=>{if(!y.isValidElement(r))return;let a=[...t,s];if(r.type===y.Fragment){n.push.apply(n,Lg(r.props.children,a));return}yn(r.type===js,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),yn(!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=Lg(r.props.children,a)),n.push(l)}),n}var Yd="get",qd="application/x-www-form-urlencoded";function ov(e){return e!=null&&typeof e.tagName=="string"}function wM(e){return ov(e)&&e.tagName.toLowerCase()==="button"}function HM(e){return ov(e)&&e.tagName.toLowerCase()==="form"}function jM(e){return ov(e)&&e.tagName.toLowerCase()==="input"}function SM(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function zM(e,t){return e.button===0&&(!t||t==="_self")&&!SM(e)}function Xg(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 OM(e,t){let n=Xg(e);return t&&t.forEach((r,s)=>{n.has(s)||t.getAll(s).forEach(a=>{n.append(s,a)})}),n}var zd=null;function CM(){if(zd===null)try{new FormData(document.createElement("form"),0),zd=!1}catch{zd=!0}return zd}var DM=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Mm(e){return e!=null&&!DM.has(e)?(Mo(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${qd}"`),null):e}function TM(e,t){let n,r,s,a,l;if(HM(e)){let u=e.getAttribute("action");r=u?Pi(u,t):null,n=e.getAttribute("method")||Yd,s=Mm(e.getAttribute("enctype"))||qd,a=new FormData(e)}else if(wM(e)||jM(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a