UNPKG

iobroker.javascript

Version:
3 lines 270 kB
import{C as ms,b as bs,S as vs,s as ys,d as R,e as Dr,h as ko,r as Ye,f as hs,i as Bn,m as xs,j as Yr,k as Cs,l as Ss,c as Nn,n as Ao,p as ws,q as $s,t as Ps,g as ks,u as Rs,o as Ts,v as Is,w as Ms,x as As,y as Ke,z as Ze,a as It,T as Ls,A as tr,B as Do,D as Ve}from"./createTheme-Wd4QxQE0.js";import{O as Hv,L as Vv,M as Gv,H as _v,N as qv,J as Xv,K as Yv,P as Kv,E as Zv,G as Jv,U as Qv,R as ty,V as ey,I as oy,F as ry,Q as ny}from"./createTheme-Wd4QxQE0.js";import{b as Bs}from"./blue-CagzI6CQ.js";import{a as z,b as Ns,d as q,g as K,C as On,e as Z,u as X,s as C,m as E,c as Xt,r as Be,f as sr,S as Os}from"./createSvgIcon-ZdrQ8zSU.js";import{i as ay,h as iy}from"./createSvgIcon-ZdrQ8zSU.js";import{e as ar,u as Fr,i as ir,c as zs,a as Kr,r as js,b as Ds,f as Fs,T as Er,d as _e,g as ye,h as Je,j as ve,k as V,P as Ne,B as he,I as qe,l as Ut,m as le,n as ce,s as Es,A as zn,o as lr,C as Us,p as ro,q as He,t as Zr,v as br,w as Le,x as Ws,y as Hs,z as er,D as Lo,E as Ro,F as cr,G as be,H as jn,J as Vs,K as Gs,L as _s,M as ao,N as Dn,O as qs,Q as Ur,R as Xs,S as Ys,U as Ue,V as To,W as Ks,X as mo,Y as Zs,Z as Js,_ as Fo,$ as Qs,a0 as ta,a1 as ea,a2 as oa,a3 as Fn,a4 as $o,a5 as Jo,a6 as En,a7 as ra,a8 as na,a9 as sa,aa,ab as ia,ac as la}from"./TextField-DNzklBSl.js";import{ad as cy,ae as py,af as dy,ag as uy,ah as fy,ai as gy,aj as my,ak as by,al as vy,am as yy,an as hy,ao as xy,b9 as Cy,aF as Sy,ap as wy,aq as $y,ar as Py,as as ky,at as Ry,au as Ty,av as Iy,bu as My,aw as Ay,ax as Ly,bF as By,bE as Ny,ay as Oy,az as zy,aA as jy,aC as Dy,aB as Fy,aD as Ey,aE as Uy,aG as Wy,aK as Hy,aO as Vy,aM as Gy,aS as _y,aU as qy,aY as Xy,aW as Yy,a_ as Ky,b0 as Zy,b1 as Jy,b4 as Qy,b6 as th,b8 as eh,aL as oh,aQ as rh,aN as nh,aT as sh,aV as ah,aZ as ih,a$ as lh,aX as ch,b2 as ph,b3 as dh,b5 as uh,b7 as fh,ba as gh,bc as mh,bf as bh,bg as vh,bi as yh,bd as hh,bp as xh,bm as Ch,bk as Sh,bt as wh,br as $h,bw as Ph,bD as kh,bC as Rh,by as Th,bA as Ih,bG as Mh,bH as Ah,bJ as Lh,bL as Bh,bR as Nh,bN as Oh,bP as zh,bT as jh,aR as Dh,bU as Fh,bb as Eh,be as Uh,bh as Wh,bj as Hh,bl as Vh,bn as Gh,bo as _h,bq as qh,bs as Xh,bv as Yh,bx as Kh,bz as Zh,bB as Jh,bI as Qh,bK as t0,bM as e0,bQ as o0,bO as r0,bS as n0,aP as s0,aH as a0,aI as i0,aJ as l0}from"./TextField-DNzklBSl.js";import{p as xe,d as W,_ as Tt,a as Vt,s as ke,l as $e,m as qt,b as Re,g as Pe,c as Ht,f as Gt,r as Te,e as ca,j as Un}from"./ConfigCustomJavascriptSet__loadShare__react__loadShare__.mjs-0SjJESw9.js";import{j as d}from"./jsx-runtime-DfVU3AZG.js";import{u as pe}from"./useTheme-BfhDdtAr.js";import{u as Qe,a as to,b as Bo,c as Wr,k as Hr}from"./index-AZB1OHDH.js";import{s as pa,r as da}from"./DefaultPropsProvider-CGb21NGY.js";import{u as Wn}from"./useTheme-DWZ6jNyq.js";import{P as ne}from"./index-huvZQhZw.js";import{_ as Jr}from"./ConfigCustomJavascriptSet__loadShare__react_mf_2_dom__loadShare__.mjs-CL--xmjC.js";import{C as p0,E as d0,T as u0,g as f0,u as g0}from"./ThemeProvider-B4G3jidj.js";import"./defaultTheme-F2iJF2G2.js";import"./ConfigCustomJavascriptSet__loadShare__react__loadShare__.mjs_commonjs-proxy-CInLgMWW.js";const vr=new Map,ua=(t,e)=>{const o=bs(t);return o.sheet=new e({key:o.key,nonce:o.sheet.nonce,container:o.sheet.container,speedy:o.sheet.isSpeedy,prepend:o.sheet.prepend,insertionPoint:o.sheet.insertionPoint}),o};let De;if(typeof document=="object"&&(De=document.querySelector('[name="emotion-insertion-point"]'),!De)){De=document.createElement("meta"),De.setAttribute("name","emotion-insertion-point"),De.setAttribute("content","");const t=document.querySelector("head");t&&t.prepend(De)}function fa(t,e){if(t||e){class o extends vs{insert(s,a){return this.key&&this.key.endsWith("global")&&(this.before=De),super.insert(s,a)}}const r=ua({key:"css",insertionPoint:t?De:void 0},o);if(e){const n=r.insert;r.insert=(...s)=>(s[1].styles.match(/^@layer\s+[^{]*$/)||(s[1].styles=`@layer mui {${s[1].styles}}`),n(...s))}return r}}function xm(t){const{injectFirst:e,enableCssLayer:o,children:r}=t,n=xe(()=>{const s=`${e}-${o}`;if(typeof document=="object"&&vr.has(s))return vr.get(s);const a=fa(e,o);return vr.set(s,a),a},[e,o]);return n?d.jsx(ms,{value:n,children:r}):r}function ga(t={}){const{themeId:e,defaultTheme:o,defaultClassName:r="MuiBox-root",generateClassName:n}=t,s=pa("div",{shouldForwardProp:i=>i!=="theme"&&i!=="sx"&&i!=="as"})(ys);return W(function(l,c){const p=Wn(o),{className:u,component:b="div",...g}=ar(l);return d.jsx(s,{as:b,ref:c,className:z(u,n?n(r):r),theme:e&&p[e]||p,...g})})}const Vr=Ns();function Cm(t,e){return()=>null}function Sm(t,e){return()=>null}function wm(t,e,o,r,n){return null}const Gr=t=>{const e=Tt({});return Vt(()=>{e.current=t}),e.current};function Hn(t){return ke.toArray(t).filter(e=>$e(e))}const ma=Dr(),ba=Vr("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[`maxWidth${R(String(o.maxWidth))}`],o.fixed&&e.fixed,o.disableGutters&&e.disableGutters]}}),va=t=>Fr({props:t,name:"MuiContainer",defaultTheme:ma}),ya=(t,e)=>{const o=l=>K(e,l),{classes:r,fixed:n,disableGutters:s,maxWidth:a}=t,i={root:["root",a&&`maxWidth${R(String(a))}`,n&&"fixed",s&&"disableGutters"]};return q(i,o,r)};function ha(t={}){const{createStyledComponent:e=ba,useThemeProps:o=va,componentName:r="MuiContainer"}=t,n=e(({theme:a,ownerState:i})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!i.disableGutters&&{paddingLeft:a.spacing(2),paddingRight:a.spacing(2),[a.breakpoints.up("sm")]:{paddingLeft:a.spacing(3),paddingRight:a.spacing(3)}}}),({theme:a,ownerState:i})=>i.fixed&&Object.keys(a.breakpoints.values).reduce((l,c)=>{const p=c,u=a.breakpoints.values[p];return u!==0&&(l[a.breakpoints.up(p)]={maxWidth:`${u}${a.breakpoints.unit}`}),l},{}),({theme:a,ownerState:i})=>({...i.maxWidth==="xs"&&{[a.breakpoints.up("xs")]:{maxWidth:Math.max(a.breakpoints.values.xs,444)}},...i.maxWidth&&i.maxWidth!=="xs"&&{[a.breakpoints.up(i.maxWidth)]:{maxWidth:`${a.breakpoints.values[i.maxWidth]}${a.breakpoints.unit}`}}}));return W(function(i,l){const c=o(i),{className:p,component:u="div",disableGutters:b=!1,fixed:g=!1,maxWidth:v="lg",classes:f,...y}=c,m={...c,component:u,disableGutters:b,fixed:g,maxWidth:v},h=ya(m,r);return d.jsx(n,{as:u,ownerState:m,className:z(h.root,p),ref:l,...y})})}const xa=(t,e)=>t.filter(o=>e.includes(o)),lo=(t,e,o)=>{const r=t.keys[0];Array.isArray(e)?e.forEach((n,s)=>{o((a,i)=>{s<=t.keys.length-1&&(s===0?Object.assign(a,i):a[t.up(t.keys[s])]=i)},n)}):e&&typeof e=="object"?(Object.keys(e).length>t.keys.length?t.keys:xa(t.keys,Object.keys(e))).forEach(s=>{if(t.keys.includes(s)){const a=e[s];a!==void 0&&o((i,l)=>{r===s?Object.assign(i,l):i[t.up(s)]=l},a)}}):(typeof e=="number"||typeof e=="string")&&o((n,s)=>{Object.assign(n,s)},e)};function or(t){return`--Grid-${t}Spacing`}function pr(t){return`--Grid-parent-${t}Spacing`}const Qr="--Grid-columns",io="--Grid-parent-columns",Ca=({theme:t,ownerState:e})=>{const o={};return lo(t.breakpoints,e.size,(r,n)=>{let s={};n==="grow"&&(s={flexBasis:0,flexGrow:1,maxWidth:"100%"}),n==="auto"&&(s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof n=="number"&&(s={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${n} / var(${io}) - (var(${io}) - ${n}) * (var(${pr("column")}) / var(${io})))`}),r(o,s)}),o},Sa=({theme:t,ownerState:e})=>{const o={};return lo(t.breakpoints,e.offset,(r,n)=>{let s={};n==="auto"&&(s={marginLeft:"auto"}),typeof n=="number"&&(s={marginLeft:n===0?"0px":`calc(100% * ${n} / var(${io}) + var(${pr("column")}) * ${n} / var(${io}))`}),r(o,s)}),o},wa=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={[Qr]:12};return lo(t.breakpoints,e.columns,(r,n)=>{const s=n??12;r(o,{[Qr]:s,"> *":{[io]:s}})}),o},$a=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={};return lo(t.breakpoints,e.rowSpacing,(r,n)=>{var a;const s=typeof n=="string"?n:(a=t.spacing)==null?void 0:a.call(t,n);r(o,{[or("row")]:s,"> *":{[pr("row")]:s}})}),o},Pa=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={};return lo(t.breakpoints,e.columnSpacing,(r,n)=>{var a;const s=typeof n=="string"?n:(a=t.spacing)==null?void 0:a.call(t,n);r(o,{[or("column")]:s,"> *":{[pr("column")]:s}})}),o},ka=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={};return lo(t.breakpoints,e.direction,(r,n)=>{r(o,{flexDirection:n})}),o},Ra=({ownerState:t})=>({minWidth:0,boxSizing:"border-box",...t.container&&{display:"flex",flexWrap:"wrap",...t.wrap&&t.wrap!=="wrap"&&{flexWrap:t.wrap},gap:`var(${or("row")}) var(${or("column")})`}}),Ta=t=>{const e=[];return Object.entries(t).forEach(([o,r])=>{r!==!1&&r!==void 0&&e.push(`grid-${o}-${String(r)}`)}),e},Ia=(t,e="xs")=>{function o(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(o(t))return[`spacing-${e}-${String(t)}`];if(typeof t=="object"&&!Array.isArray(t)){const r=[];return Object.entries(t).forEach(([n,s])=>{o(s)&&r.push(`spacing-${n}-${String(s)}`)}),r}return[]},Ma=t=>t===void 0?[]:typeof t=="object"?Object.entries(t).map(([e,o])=>`direction-${e}-${o}`):[`direction-xs-${String(t)}`];function Aa(t,e){t.item!==void 0&&delete t.item,t.zeroMinWidth!==void 0&&delete t.zeroMinWidth,e.keys.forEach(o=>{t[o]!==void 0&&delete t[o]})}const La=Dr(),Ba=Vr("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>e.root});function Na(t){return Fr({props:t,name:"MuiGrid",defaultTheme:La})}function Oa(t={}){const{createStyledComponent:e=Ba,useThemeProps:o=Na,useTheme:r=Wn,componentName:n="MuiGrid"}=t,s=(c,p)=>{const{container:u,direction:b,spacing:g,wrap:v,size:f}=c,y={root:["root",u&&"container",v!=="wrap"&&`wrap-xs-${String(v)}`,...Ma(b),...Ta(f),...u?Ia(g,p.breakpoints.keys[0]):[]]};return q(y,m=>K(n,m),{})};function a(c,p,u=()=>!0){const b={};return c===null||(Array.isArray(c)?c.forEach((g,v)=>{g!==null&&u(g)&&p.keys[v]&&(b[p.keys[v]]=g)}):typeof c=="object"?Object.keys(c).forEach(g=>{const v=c[g];v!=null&&u(v)&&(b[g]=v)}):b[p.keys[0]]=c),b}const i=e(wa,Pa,$a,Ca,ka,Ra,Sa),l=W(function(p,u){const b=r(),g=o(p),v=ar(g);Aa(v,b.breakpoints);const{className:f,children:y,columns:m=12,container:h=!1,component:x="div",direction:w="row",wrap:P="wrap",size:B={},offset:$={},spacing:M=0,rowSpacing:k=M,columnSpacing:T=M,unstable_level:F=0,...A}=v,S=a(B,b.breakpoints,_=>_!==!1),I=a($,b.breakpoints),H=p.columns??(F?void 0:m),O=p.spacing??(F?void 0:M),Q=p.rowSpacing??p.spacing??(F?void 0:k),j=p.columnSpacing??p.spacing??(F?void 0:T),et={...v,level:F,columns:H,container:h,direction:w,wrap:P,spacing:O,rowSpacing:Q,columnSpacing:j,size:S,offset:I},pt=s(et,b);return d.jsx(i,{ref:u,as:x,ownerState:et,className:z(pt.root,f),...A,children:ke.map(y,_=>{var wt;return $e(_)&&ir(_,["Grid"])&&h&&_.props.container?qt(_,{unstable_level:((wt=_.props)==null?void 0:wt.unstable_level)??F+1}):_})})});return l.muiName="Grid",l}const za=Dr(),ja=Vr("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function Da(t){return Fr({props:t,name:"MuiStack",defaultTheme:za})}function Fa(t,e){const o=ke.toArray(t).filter(Boolean);return o.reduce((r,n,s)=>(r.push(n),s<o.length-1&&r.push(qt(e,{key:`separator-${s}`})),r),[])}const Ea=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],Ua=({ownerState:t,theme:e})=>{let o={display:"flex",flexDirection:"column",...ko({theme:e},Ye({values:t.direction,breakpoints:e.breakpoints.values}),r=>({flexDirection:r}))};if(t.spacing){const r=hs(e),n=Object.keys(e.breakpoints.values).reduce((l,c)=>((typeof t.spacing=="object"&&t.spacing[c]!=null||typeof t.direction=="object"&&t.direction[c]!=null)&&(l[c]=!0),l),{}),s=Ye({values:t.direction,base:n}),a=Ye({values:t.spacing,base:n});typeof s=="object"&&Object.keys(s).forEach((l,c,p)=>{if(!s[l]){const b=c>0?s[p[c-1]]:"column";s[l]=b}}),o=Bn(o,ko({theme:e},a,(l,c)=>t.useFlexGap?{gap:Yr(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Ea(c?s[c]:t.direction)}`]:Yr(r,l)}}))}return o=xs(e.breakpoints,o),o};function Wa(t={}){const{createStyledComponent:e=ja,useThemeProps:o=Da,componentName:r="MuiStack"}=t,n=()=>q({root:["root"]},l=>K(r,l),{}),s=e(Ua);return W(function(l,c){const p=o(l),u=ar(p),{component:b="div",direction:g="column",spacing:v=0,divider:f,children:y,className:m,useFlexGap:h=!1,...x}=u,w={direction:g,spacing:v,useFlexGap:h},P=n();return d.jsx(s,{as:b,ownerState:w,ref:c,className:z(P.root,m),...x,children:f?Fa(y,f):y})})}function $m(t){const{defaultProps:e={},mixins:o={},overrides:r={},palette:n={},props:s={},styleOverrides:a={},...i}=t,l={...i,components:{}};Object.keys(e).forEach(f=>{const y=l.components[f]||{};y.defaultProps=e[f],l.components[f]=y}),Object.keys(s).forEach(f=>{const y=l.components[f]||{};y.defaultProps=s[f],l.components[f]=y}),Object.keys(a).forEach(f=>{const y=l.components[f]||{};y.styleOverrides=a[f],l.components[f]=y}),Object.keys(r).forEach(f=>{const y=l.components[f]||{};y.styleOverrides=r[f],l.components[f]=y}),l.spacing=Cs(t.spacing);const c=Ss(t.breakpoints||{}),p=l.spacing;l.mixins={gutters:(f={})=>({paddingLeft:p(2),paddingRight:p(2),...f,[c.up("sm")]:{paddingLeft:p(3),paddingRight:p(3),...f[c.up("sm")]}}),...o};const{type:u,mode:b,...g}=n,v=b||u||"light";return l.palette={text:{hint:v==="dark"?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:v,type:v,...g},l}function Pm(t,...e){return Nn(Bn({unstable_strictMode:!0},t),...e)}let tn=!1;function km(t){return tn||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join(` `)),tn=!0),t}function Rm(t,e={}){const{breakpoints:o=["sm","md","lg"],disableAlign:r=!1,factor:n=2,variants:s=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=e,a={...t};a.typography={...a.typography};const i=a.typography,l=zs(i.htmlFontSize),c=o.map(p=>a.breakpoints.values[p]);return s.forEach(p=>{const u=i[p];if(!u)return;const b=parseFloat(l(u.fontSize,"rem"));if(b<=1)return;const g=b,v=1+(g-1)/n;let{lineHeight:f}=u;if(!Kr(f)&&!r)throw new Error(Ao(6));Kr(f)||(f=parseFloat(l(f,"rem"))/parseFloat(b));let y=null;r||(y=m=>Ds({size:m,grid:Fs({pixels:4,lineHeight:f,htmlFontSize:i.htmlFontSize})})),i[p]={...u,...js({cssProperty:"fontSize",min:v,max:g,unit:"rem",breakpoints:c,transform:y})}}),a}function Tm(){throw new Error(Ao(14))}function Im(){throw new Error(Ao(15))}function Mm(){throw new Error(Ao(16))}let en=!1;function Am(...t){return en||(console.warn(["MUI: The `experimental_extendTheme` has been stabilized.","","You should use `import { extendTheme } from '@mui/material/styles'`"].join(` `)),en=!0),ws(...t)}function Lm(){throw new Error(Ao(19))}const Ha={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},Va={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},Ga={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},_a={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},qa={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},Xa={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},Ya={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},Ka={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},Za={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},Ja={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},Qa={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},ti={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"},Bm=Object.freeze(Object.defineProperty({__proto__:null,amber:Za,blue:Bs,blueGrey:ti,brown:Qa,common:$s,cyan:_a,deepOrange:Ja,deepPurple:Va,green:Ps,grey:ks,indigo:Ga,lightBlue:Rs,lightGreen:Xa,lime:Ya,orange:Ts,pink:Ha,purple:Is,red:Ms,teal:qa,yellow:Ka},Symbol.toStringTag,{value:"Module"})),Nm={configure:t=>{On.configure(t)}};function ei(t){return K("MuiCollapse",t)}const Om=Z("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]),oi=t=>{const{orientation:e,classes:o}=t,r={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return q(r,ei,o)},ri=C("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[o.orientation],o.state==="entered"&&e.entered,o.state==="exited"&&!o.in&&o.collapsedSize==="0px"&&e.hidden]}})(E(({theme:t})=>({height:0,overflow:"hidden",transition:t.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:t.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>e.state==="exited"&&!e.in&&e.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),ni=C("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),si=C("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Io=W(function(e,o){const r=X({props:e,name:"MuiCollapse"}),{addEndListener:n,children:s,className:a,collapsedSize:i="0px",component:l,easing:c,in:p,onEnter:u,onEntered:b,onEntering:g,onExit:v,onExited:f,onExiting:y,orientation:m="vertical",style:h,timeout:x=As.standard,TransitionComponent:w=Er,...P}=r,B={...r,orientation:m,collapsedSize:i},$=oi(B),M=pe(),k=_e(),T=Tt(null),F=Tt(),A=typeof i=="number"?`${i}px`:i,S=m==="horizontal",I=S?"width":"height",H=Tt(null),O=ye(o,H),Q=rt=>U=>{if(rt){const it=H.current;U===void 0?rt(it):rt(it,U)}},j=()=>T.current?T.current[S?"clientWidth":"clientHeight"]:0,et=Q((rt,U)=>{T.current&&S&&(T.current.style.position="absolute"),rt.style[I]=A,u&&u(rt,U)}),pt=Q((rt,U)=>{const it=j();T.current&&S&&(T.current.style.position="");const{duration:dt,easing:bt}=Je({style:h,timeout:x,easing:c},{mode:"enter"});if(x==="auto"){const Pt=M.transitions.getAutoHeightDuration(it);rt.style.transitionDuration=`${Pt}ms`,F.current=Pt}else rt.style.transitionDuration=typeof dt=="string"?dt:`${dt}ms`;rt.style[I]=`${it}px`,rt.style.transitionTimingFunction=bt,g&&g(rt,U)}),_=Q((rt,U)=>{rt.style[I]="auto",b&&b(rt,U)}),wt=Q(rt=>{rt.style[I]=`${j()}px`,v&&v(rt)}),Bt=Q(f),$t=Q(rt=>{const U=j(),{duration:it,easing:dt}=Je({style:h,timeout:x,easing:c},{mode:"exit"});if(x==="auto"){const bt=M.transitions.getAutoHeightDuration(U);rt.style.transitionDuration=`${bt}ms`,F.current=bt}else rt.style.transitionDuration=typeof it=="string"?it:`${it}ms`;rt.style[I]=A,rt.style.transitionTimingFunction=dt,y&&y(rt)}),lt=rt=>{x==="auto"&&k.start(F.current||0,rt),n&&n(H.current,rt)};return d.jsx(w,{in:p,onEnter:et,onEntered:_,onEntering:pt,onExit:wt,onExited:Bt,onExiting:$t,addEndListener:lt,nodeRef:H,timeout:x==="auto"?null:x,...P,children:(rt,{ownerState:U,...it})=>d.jsx(ri,{as:l,className:z($.root,a,{entered:$.entered,exited:!p&&A==="0px"&&$.hidden}[rt]),style:{[S?"minWidth":"minHeight"]:A,...h},ref:O,ownerState:{...B,state:rt},...it,children:d.jsx(ni,{ownerState:{...B,state:rt},className:$.wrapper,ref:T,children:d.jsx(si,{ownerState:{...B,state:rt},className:$.wrapperInner,children:s})})})})});Io&&(Io.muiSupportAuto=!0);const Vn=Re({});function ai(t){return K("MuiAccordion",t)}const Eo=Z("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),ii=t=>{const{classes:e,square:o,expanded:r,disabled:n,disableGutters:s}=t;return q({root:["root",!o&&"rounded",r&&"expanded",n&&"disabled",!s&&"gutters"],heading:["heading"],region:["region"]},ai,e)},li=C(Ne,{name:"MuiAccordion",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[{[`& .${Eo.region}`]:e.region},e.root,!o.square&&e.rounded,!o.disableGutters&&e.gutters]}})(E(({theme:t})=>{const e={duration:t.transitions.duration.shortest};return{position:"relative",transition:t.transitions.create(["margin"],e),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(t.vars||t).palette.divider,transition:t.transitions.create(["opacity","background-color"],e)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${Eo.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${Eo.disabled}`]:{backgroundColor:(t.vars||t).palette.action.disabledBackground}}}),E(({theme:t})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(t.vars||t).shape.borderRadius,borderBottomRightRadius:(t.vars||t).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${Eo.expanded}`]:{margin:"16px 0"}}}]}))),ci=C("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(t,e)=>e.heading})({all:"unset"}),zm=W(function(e,o){const r=X({props:e,name:"MuiAccordion"}),{children:n,className:s,defaultExpanded:a=!1,disabled:i=!1,disableGutters:l=!1,expanded:c,onChange:p,square:u=!1,slots:b={},slotProps:g={},TransitionComponent:v,TransitionProps:f,...y}=r,[m,h]=ve({controlled:c,default:a,name:"Accordion",state:"expanded"}),x=Pe(j=>{h(!m),p&&p(j,!m)},[m,p,h]),[w,...P]=ke.toArray(n),B=xe(()=>({expanded:m,disabled:i,disableGutters:l,toggle:x}),[m,i,l,x]),$={...r,square:u,disabled:i,disableGutters:l,expanded:m},M=ii($),k={transition:v,...b},T={transition:f,...g},F={slots:k,slotProps:T},[A,S]=V("root",{elementType:li,externalForwardedProps:{...F,...y},className:z(M.root,s),shouldForwardComponentProp:!0,ownerState:$,ref:o,additionalProps:{square:u}}),[I,H]=V("heading",{elementType:ci,externalForwardedProps:F,className:M.heading,ownerState:$}),[O,Q]=V("transition",{elementType:Io,externalForwardedProps:F,ownerState:$});return d.jsxs(A,{...S,children:[d.jsx(I,{...H,children:d.jsx(Vn.Provider,{value:B,children:w})}),d.jsx(O,{in:m,timeout:"auto",...Q,children:d.jsx("div",{"aria-labelledby":w.props.id,id:w.props["aria-controls"],role:"region",className:M.region,children:P})})]})});function pi(t){return K("MuiAccordionActions",t)}const jm=Z("MuiAccordionActions",["root","spacing"]),di=t=>{const{classes:e,disableSpacing:o}=t;return q({root:["root",!o&&"spacing"]},pi,e)},ui=C("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,!o.disableSpacing&&e.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",variants:[{props:t=>!t.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),Dm=W(function(e,o){const r=X({props:e,name:"MuiAccordionActions"}),{className:n,disableSpacing:s=!1,...a}=r,i={...r,disableSpacing:s},l=di(i);return d.jsx(ui,{className:z(l.root,n),ref:o,ownerState:i,...a})});function fi(t){return K("MuiAccordionDetails",t)}const Fm=Z("MuiAccordionDetails",["root"]),gi=t=>{const{classes:e}=t;return q({root:["root"]},fi,e)},mi=C("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(t,e)=>e.root})(E(({theme:t})=>({padding:t.spacing(1,2,2)}))),Em=W(function(e,o){const r=X({props:e,name:"MuiAccordionDetails"}),{className:n,...s}=r,a=r,i=gi(a);return d.jsx(mi,{className:z(i.root,n),ref:o,ownerState:a,...s})});function bi(t){return K("MuiAccordionSummary",t)}const so=Z("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),vi=t=>{const{classes:e,expanded:o,disabled:r,disableGutters:n}=t;return q({root:["root",o&&"expanded",r&&"disabled",!n&&"gutters"],focusVisible:["focusVisible"],content:["content",o&&"expanded",!n&&"contentGutters"],expandIconWrapper:["expandIconWrapper",o&&"expanded"]},bi,e)},yi=C(he,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(t,e)=>e.root})(E(({theme:t})=>{const e={duration:t.transitions.duration.shortest};return{display:"flex",width:"100%",minHeight:48,padding:t.spacing(0,2),transition:t.transitions.create(["min-height","background-color"],e),[`&.${so.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${so.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`&:hover:not(.${so.disabled})`]:{cursor:"pointer"},variants:[{props:o=>!o.disableGutters,style:{[`&.${so.expanded}`]:{minHeight:64}}}]}})),hi=C("span",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(t,e)=>e.content})(E(({theme:t})=>({display:"flex",textAlign:"start",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest}),[`&.${so.expanded}`]:{margin:"20px 0"}}}]}))),xi=C("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(t,e)=>e.expandIconWrapper})(E(({theme:t})=>({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),[`&.${so.expanded}`]:{transform:"rotate(180deg)"}}))),Um=W(function(e,o){const r=X({props:e,name:"MuiAccordionSummary"}),{children:n,className:s,expandIcon:a,focusVisibleClassName:i,onClick:l,slots:c,slotProps:p,...u}=r,{disabled:b=!1,disableGutters:g,expanded:v,toggle:f}=Ht(Vn),y=T=>{f&&f(T),l&&l(T)},m={...r,expanded:v,disabled:b,disableGutters:g},h=vi(m),x={slots:c,slotProps:p},[w,P]=V("root",{ref:o,shouldForwardComponentProp:!0,className:z(h.root,s),elementType:yi,externalForwardedProps:{...x,...u},ownerState:m,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:b,"aria-expanded":v,focusVisibleClassName:z(h.focusVisible,i)},getSlotProps:T=>({...T,onClick:F=>{var A;(A=T.onClick)==null||A.call(T,F),y(F)}})}),[B,$]=V("content",{className:h.content,elementType:hi,externalForwardedProps:x,ownerState:m}),[M,k]=V("expandIconWrapper",{className:h.expandIconWrapper,elementType:xi,externalForwardedProps:x,ownerState:m});return d.jsxs(w,{...P,children:[d.jsx(B,{...$,children:n}),a&&d.jsx(M,{...k,children:a})]})});function Ci(t){return K("MuiAlert",t)}const on=Z("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Si=Xt(d.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"),wi=Xt(d.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),$i=Xt(d.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"),Pi=Xt(d.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"),Gn=Xt(d.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"),ki=t=>{const{variant:e,color:o,severity:r,classes:n}=t,s={root:["root",`color${R(o||r)}`,`${e}${R(o||r)}`,`${e}`],icon:["icon"],message:["message"],action:["action"]};return q(s,Ci,n)},Ri=C(Ne,{name:"MuiAlert",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[o.variant],e[`${o.variant}${R(o.color||o.severity)}`]]}})(E(({theme:t})=>{const e=t.palette.mode==="light"?Ke:Ze,o=t.palette.mode==="light"?Ze:Ke;return{...t.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(Ut(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${r}Color`]:e(t.palette[r].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${r}StandardBg`]:o(t.palette[r].light,.9),[`& .${on.icon}`]:t.vars?{color:t.vars.palette.Alert[`${r}IconColor`]}:{color:t.palette[r].main}}})),...Object.entries(t.palette).filter(Ut(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${r}Color`]:e(t.palette[r].light,.6),border:`1px solid ${(t.vars||t).palette[r].light}`,[`& .${on.icon}`]:t.vars?{color:t.vars.palette.Alert[`${r}IconColor`]}:{color:t.palette[r].main}}})),...Object.entries(t.palette).filter(Ut(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:t.typography.fontWeightMedium,...t.vars?{color:t.vars.palette.Alert[`${r}FilledColor`],backgroundColor:t.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:t.palette.mode==="dark"?t.palette[r].dark:t.palette[r].main,color:t.palette.getContrastText(t.palette[r].main)}}}))]}})),Ti=C("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,e)=>e.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Ii=C("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Mi=C("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),rn={success:d.jsx(Si,{fontSize:"inherit"}),warning:d.jsx(wi,{fontSize:"inherit"}),error:d.jsx($i,{fontSize:"inherit"}),info:d.jsx(Pi,{fontSize:"inherit"})},Wm=W(function(e,o){const r=X({props:e,name:"MuiAlert"}),{action:n,children:s,className:a,closeText:i="Close",color:l,components:c={},componentsProps:p={},icon:u,iconMapping:b=rn,onClose:g,role:v="alert",severity:f="success",slotProps:y={},slots:m={},variant:h="standard",...x}=r,w={...r,color:l,severity:f,variant:h,colorSeverity:l||f},P=ki(w),B={slots:{closeButton:c.CloseButton,closeIcon:c.CloseIcon,...m},slotProps:{...p,...y}},[$,M]=V("root",{ref:o,shouldForwardComponentProp:!0,className:z(P.root,a),elementType:Ri,externalForwardedProps:{...B,...x},ownerState:w,additionalProps:{role:v,elevation:0}}),[k,T]=V("icon",{className:P.icon,elementType:Ti,externalForwardedProps:B,ownerState:w}),[F,A]=V("message",{className:P.message,elementType:Ii,externalForwardedProps:B,ownerState:w}),[S,I]=V("action",{className:P.action,elementType:Mi,externalForwardedProps:B,ownerState:w}),[H,O]=V("closeButton",{elementType:qe,externalForwardedProps:B,ownerState:w}),[Q,j]=V("closeIcon",{elementType:Gn,externalForwardedProps:B,ownerState:w});return d.jsxs($,{...M,children:[u!==!1?d.jsx(k,{...T,children:u||b[f]||rn[f]}):null,d.jsx(F,{...A,children:s}),n!=null?d.jsx(S,{...I,children:n}):null,n==null&&g?d.jsx(S,{...I,children:d.jsx(H,{size:"small","aria-label":i,title:i,color:"inherit",onClick:g,...O,children:d.jsx(Q,{fontSize:"small",...j})})}):null]})});function Ai(t){return K("MuiAlertTitle",t)}const Hm=Z("MuiAlertTitle",["root"]),Li=t=>{const{classes:e}=t;return q({root:["root"]},Ai,e)},Bi=C(le,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(t,e)=>e.root})(E(({theme:t})=>({fontWeight:t.typography.fontWeightMedium,marginTop:-2}))),Vm=W(function(e,o){const r=X({props:e,name:"MuiAlertTitle"}),{className:n,...s}=r,a=r,i=Li(a);return d.jsx(Bi,{gutterBottom:!0,component:"div",ownerState:a,ref:o,className:z(i.root,n),...s})});function Ni(t){return K("MuiAppBar",t)}const Gm=Z("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]),Oi=t=>{const{color:e,position:o,classes:r}=t,n={root:["root",`color${R(e)}`,`position${R(o)}`]};return q(n,Ni,r)},nn=(t,e)=>t?`${t==null?void 0:t.replace(")","")}, ${e})`:e,zi=C(Ne,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[`position${R(o.position)}`],e[`color${R(o.color)}`]]}})(E(({theme:t})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[100],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[100]),...t.applyStyles("dark",{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[900],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[900])})}},...Object.entries(t.palette).filter(Ut(["contrastText"])).map(([e])=>({props:{color:e},style:{"--AppBar-background":(t.vars??t).palette[e].main,"--AppBar-color":(t.vars??t).palette[e].contrastText}})),{props:e=>e.enableColorOnDark===!0&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>e.enableColorOnDark===!1&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundColor:t.vars?nn(t.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:t.vars?nn(t.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundImage:"none"})}}]}))),_m=W(function(e,o){const r=X({props:e,name:"MuiAppBar"}),{className:n,color:s="primary",enableColorOnDark:a=!1,position:i="fixed",...l}=r,c={...r,color:s,position:i,enableColorOnDark:a},p=Oi(c);return d.jsx(zi,{square:!0,component:"header",ownerState:c,elevation:4,className:z(p.root,n,i==="fixed"&&"mui-fixed"),ref:o,...l})});function sn(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function ji(t={}){const{ignoreAccents:e=!0,ignoreCase:o=!0,limit:r,matchFrom:n="any",stringify:s,trim:a=!1}=t;return(i,{inputValue:l,getOptionLabel:c})=>{let p=a?l.trim():l;o&&(p=p.toLowerCase()),e&&(p=sn(p));const u=p?i.filter(b=>{let g=(s||c)(b);return o&&(g=g.toLowerCase()),e&&(g=sn(g)),n==="start"?g.startsWith(p):g.includes(p)}):i;return typeof r=="number"?u.slice(0,r):u}}const Di=ji(),an=5,Fi=t=>{var e;return t.current!==null&&((e=t.current.parentElement)==null?void 0:e.contains(document.activeElement))},Ei=[];function ln(t,e,o){if(e||t==null)return"";const r=o(t);return typeof r=="string"?r:""}function Ui(t){const{unstable_isActiveElementInListbox:e=Fi,unstable_classNamePrefix:o="Mui",autoComplete:r=!1,autoHighlight:n=!1,autoSelect:s=!1,blurOnSelect:a=!1,clearOnBlur:i=!t.freeSolo,clearOnEscape:l=!1,componentName:c="useAutocomplete",defaultValue:p=t.multiple?Ei:null,disableClearable:u=!1,disableCloseOnSelect:b=!1,disabled:g,disabledItemsFocusable:v=!1,disableListWrap:f=!1,filterOptions:y=Di,filterSelectedOptions:m=!1,freeSolo:h=!1,getOptionDisabled:x,getOptionKey:w,getOptionLabel:P=N=>N.label??N,groupBy:B,handleHomeEndKeys:$=!t.freeSolo,id:M,includeInputInList:k=!1,inputValue:T,isOptionEqualToValue:F=(N,L)=>N===L,multiple:A=!1,onChange:S,onClose:I,onHighlightChange:H,onInputChange:O,onOpen:Q,open:j,openOnFocus:et=!1,options:pt,readOnly:_=!1,selectOnFocus:wt=!t.freeSolo,value:Bt}=t,$t=Qe(M);let lt=P;lt=N=>{const L=P(N);return typeof L!="string"?String(L):L};const rt=Tt(!1),U=Tt(!0),it=Tt(null),dt=Tt(null),[bt,Pt]=Gt(null),[nt,ct]=Gt(-1),vt=n?0:-1,yt=Tt(vt),zt=Tt(ln(p??Bt,A,lt)).current,[Y,tt]=ve({controlled:Bt,default:p,name:c}),[st,xt]=ve({controlled:T,default:zt,name:c,state:"inputValue"}),[ft,kt]=Gt(!1),Mt=Pe((N,L,at)=>{if(!(A?Y.length<L.length:L!==null)&&!i)return;const At=ln(L,A,lt);st!==At&&(xt(At),O&&O(N,At,at))},[lt,st,A,O,xt,i,Y]),[Yt,D]=ve({controlled:j,default:!1,name:c,state:"open"}),[G,ot]=Gt(!0),gt=!A&&Y!=null&&st===lt(Y),ut=Yt&&!_,J=ut?y(pt.filter(N=>!(m&&(A?Y:[Y]).some(L=>L!==null&&F(N,L)))),{inputValue:gt&&G?"":st,getOptionLabel:lt}):[],ht=Gr({filteredOptions:J,value:Y,inputValue:st});Vt(()=>{const N=Y!==ht.value;ft&&!N||h&&!N||Mt(null,Y,"reset")},[Y,Mt,ft,ht.value,h]);const Ft=Yt&&J.length>0&&!_,Lt=ce(N=>{N===-1?it.current.focus():bt.querySelector(`[data-tag-index="${N}"]`).focus()});Vt(()=>{A&&nt>Y.length-1&&(ct(-1),Lt(-1))},[Y,A,nt,Lt]);function jt(N,L){if(!dt.current||N<0||N>=J.length)return-1;let at=N;for(;;){const Ct=dt.current.querySelector(`[data-option-index="${at}"]`),At=v?!1:!Ct||Ct.disabled||Ct.getAttribute("aria-disabled")==="true";if(Ct&&Ct.hasAttribute("tabindex")&&!At)return at;if(L==="next"?at=(at+1)%J.length:at=(at-1+J.length)%J.length,at===N)return-1}}const Jt=ce(({event:N,index:L,reason:at})=>{if(yt.current=L,L===-1?it.current.removeAttribute("aria-activedescendant"):it.current.setAttribute("aria-activedescendant",`${$t}-option-${L}`),H&&["mouse","keyboard","touch"].includes(at)&&H(N,L===-1?null:J[L],at),!dt.current)return;const Ct=dt.current.querySelector(`[role="option"].${o}-focused`);Ct&&(Ct.classList.remove(`${o}-focused`),Ct.classList.remove(`${o}-focusVisible`));let At=dt.current;if(dt.current.getAttribute("role")!=="listbox"&&(At=dt.current.parentElement.querySelector('[role="listbox"]')),!At)return;if(L===-1){At.scrollTop=0;return}const Dt=dt.current.querySelector(`[data-option-index="${L}"]`);if(Dt&&(Dt.classList.add(`${o}-focused`),at==="keyboard"&&Dt.classList.add(`${o}-focusVisible`),At.scrollHeight>At.clientHeight&&at!=="mouse"&&at!=="touch")){const Kt=Dt,ue=At.clientHeight+At.scrollTop,mr=Kt.offsetTop+Kt.offsetHeight;mr>ue?At.scrollTop=mr-At.clientHeight:Kt.offsetTop-Kt.offsetHeight*(B?1.3:0)<At.scrollTop&&(At.scrollTop=Kt.offsetTop-Kt.offsetHeight*(B?1.3:0))}}),Qt=ce(({event:N,diff:L,direction:at="next",reason:Ct})=>{if(!ut)return;const Dt=jt((()=>{const Kt=J.length-1;if(L==="reset")return vt;if(L==="start")return 0;if(L==="end")return Kt;const ue=yt.current+L;return ue<0?ue===-1&&k?-1:f&&yt.current!==-1||Math.abs(L)>1?0:Kt:ue>Kt?ue===Kt+1&&k?-1:f||Math.abs(L)>1?Kt:0:ue})(),at);if(Jt({index:Dt,reason:Ct,event:N}),r&&L!=="reset")if(Dt===-1)it.current.value=st;else{const Kt=lt(J[Dt]);it.current.value=Kt,Kt.toLowerCase().indexOf(st.toLowerCase())===0&&st.length>0&&it.current.setSelectionRange(st.length,Kt.length)}}),Ie=()=>{const N=(L,at)=>{const Ct=L?lt(L):"",At=at?lt(at):"";return Ct===At};if(yt.current!==-1&&ht.filteredOptions&&ht.filteredOptions.length!==J.length&&ht.inputValue===st&&(A?Y.length===ht.value.length&&ht.value.every((L,at)=>lt(Y[at])===lt(L)):N(ht.value,Y))){const L=ht.filteredOptions[yt.current];if(L)return J.findIndex(at=>lt(at)===lt(L))}return-1},de=Pe(()=>{if(!ut)return;const N=Ie();if(N!==-1){yt.current=N;return}const L=A?Y[0]:Y;if(J.length===0||L==null){Qt({diff:"reset"});return}if(dt.current){if(L!=null){const at=J[yt.current];if(A&&at&&Y.findIndex(At=>F(at,At))!==-1)return;const Ct=J.findIndex(At=>F(At,L));Ct===-1?Qt({diff:"reset"}):Jt({index:Ct});return}if(yt.current>=J.length-1){Jt({index:J.length-1});return}Jt({index:yt.current})}},[J.length,A?!1:Y,m,Qt,Jt,ut,st,A]),Me=ce(N=>{Es(dt,N),N&&de()});Vt(()=>{de()},[de]);const te=N=>{Yt||(D(!0),ot(!0),Q&&Q(N))},ge=(N,L)=>{Yt&&(D(!1),I&&I(N,L))},Nt=(N,L,at,Ct)=>{if(A){if(Y.length===L.length&&Y.every((At,Dt)=>At===L[Dt]))return}else if(Y===L)return;S&&S(N,L,at,Ct),tt(L)},Et=Tt(!1),ee=(N,L,at="selectOption",Ct="options")=>{let At=at,Dt=L;if(A){Dt=Array.isArray(Y)?Y.slice():[];const Kt=Dt.findIndex(ue=>F(L,ue));Kt===-1?Dt.push(L):Ct!=="freeSolo"&&(Dt.splice(Kt,1),At="removeOption")}Mt(N,Dt,At),Nt(N,Dt,At,{option:L}),!b&&(!N||!N.ctrlKey&&!N.metaKey)&&ge(N,At),(a===!0||a==="touch"&&Et.current||a==="mouse"&&!Et.current)&&it.current.blur()};function me(N,L){if(N===-1)return-1;let at=N;for(;;){if(L==="next"&&at===Y.length||L==="previous"&&at===-1)return-1;const Ct=bt.querySelector(`[data-tag-index="${at}"]`);if(!Ct||!Ct.hasAttribute("tabindex")||Ct.disabled||Ct.getAttribute("aria-disabled")==="true")at+=L==="next"?1:-1;else return at}}const oe=(N,L)=>{if(!A)return;st===""&&ge(N,"toggleInput");let at=nt;nt===-1?st===""&&L==="previous"&&(at=Y.length-1):(at+=L==="next"?1:-1,at<0&&(at=0),at===Y.length&&(at=-1)),at=me(at,L),ct(at),Lt(at)},mt=N=>{rt.current=!0,xt(""),O&&O(N,"","clear"),Nt(N,A?[]:null,"clear")},se=N=>L=>{if(N.onKeyDown&&N.onKeyDown(L),!L.defaultMuiPrevented&&(nt!==-1&&!["ArrowLeft","ArrowRight"].includes(L.key)&&(ct(-1),Lt(-1)),L.which!==229))switch(L.key){case"Home":ut&&$&&(L.preventDefault(),Qt({diff:"start",direction:"next",reason:"keyboard",event:L}));break;case"End":ut&&$&&(L.preventDefault(),Qt({diff:"end",direction:"previous",reason:"keyboard",event:L}));break;case"PageUp":L.preventDefault(),Qt({diff:-an,direction:"previous",reason:"keyboard",event:L}),te(L);break;case"PageDown":L.preventDefault(),Qt({diff:an,direction:"next",reason:"keyboard",event:L}),te(L);break;case"ArrowDown":L.preventDefault(),Qt({diff:1,direction:"next",reason:"keyboard",event:L}),te(L);break;case"ArrowUp":L.preventDefault(),Qt({diff:-1,direction:"previous",reason:"keyboard",event:L}),te(L);break;case"ArrowLeft":oe(L,"previous");break;case"ArrowRight":oe(L,"next");break;case"Enter":if(yt.current!==-1&&ut){const at=J[yt.current],Ct=x?x(at):!1;if(L.preventDefault(),Ct)return;ee(L,at,"selectOption"),r&&it.current.setSelectionRange(it.current.value.length,it.current.value.length)}else h&&st!==""&&gt===!1&&(A&&L.preventDefault(),ee(L,st,"createOption","freeSolo"));break;case"Escape":ut?(L.preventDefault(),L.stopPropagation(),ge(L,"escape")):l&&(st!==""||A&&Y.length>0)&&(L.preventDefault(),L.stopPropagation(),mt(L));break;case"Backspace":if(A&&!_&&st===""&&Y.length>0){const at=nt===-1?Y.length-1:nt,Ct=Y.slice();Ct.splice(at,1),Nt(L,Ct,"removeOption",{option:Y[at]})}break;case"Delete":if(A&&!_&&st===""&&Y.length>0&&nt!==-1){const at=nt,Ct=Y.slice();Ct.splice(at,1),Nt(L,Ct,"removeOption",{option:Y[at]})}break}},oo=N=>{kt(!0),et&&!rt.current&&te(N)},We=N=>{if(e(dt)){it.current.focus();return}kt(!1),U.current=!0,rt.current=!1,s&&yt.current!==-1&&ut?ee(N,J[yt.current],"blur"):s&&h&&st!==""?ee(N,st,"blur","freeSolo"):i&&Mt(N,Y,"blur"),ge(N,"blur")},po=N=>{const L=N.target.value;st!==L&&(xt(L),ot(!1),O&&O(N,L,"input")),L===""?!u&&!A&&Nt(N,null,"clear"):te(N)},uo=N=>{const L=Number(N.currentTarget.getAttribute("data-option-index"));yt.current!==L&&Jt({event:N,index:L,reason:"mouse"})},dr=N=>{Jt({event:N,index:Number(N.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Et.current=!0},ur=N=>{const L=Number(N.currentTarget.getAttribute("data-option-index"));ee(N,J[L],"selectOption"),Et.current=!1},fr=N=>L=>{const at=Y.slice();at.splice(N,1),Nt(L,at,"removeOption",{option:Y[N]})},gr=N=>{Yt?ge(N,"toggleInput"):te(N)},fo=N=>{N.currentTarget.contains(N.target)&&N.target.getAttribute("id")!==$t&&N.preventDefault()},re=N=>{N.currentTarget.contains(N.target)&&(it.current.focus(),wt&&U.current&&it.current.selectionEnd-it.current.selectionStart===0&&it.current.select(),U.current=!1)},Zt=N=>{!g&&(st===""||!Yt)&&gr(N)};let Ce=h&&st.length>0;Ce=Ce||(A?Y.length>0:Y!==null);let Oo=J;return B&&(Oo=J.reduce((N,L,at)=>{const Ct=B(L);return N.length>0&&N[N.length-1].group===Ct?N[N.length-1].options.push(L):N.push({key:at,index:at,group:Ct,options:[L]}),N},[])),g&&ft&&We(),{getRootProps:(N={})=>({...N,onKeyDown:se(N),onMouseDown:fo,onClick:re}),getInputLabelProps:()=>({id:`${$t}-label`,htmlFor:$t}),getInputProps:()=>({id:$t,value:st,onBlur:We,onFocus:oo,onChange:po,onMouseDown:Zt,"aria-activedescendant":ut?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Ft?`${$t}-listbox`:void 0,"aria-expanded":Ft,autoComplete:"off",ref:it,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:g}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:mt}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:gr}),getTagProps:({index:N})=>({key:N,"data-tag-index":N,tabIndex:-1,...!_&&{onDelete:fr(N)}}),getListboxProps:()=>({role:"listbox",id:`${$t}-listbox`,"aria-labelledby":`${$t}-label`,ref:Me,onMouseDown:N=>{N.preventDefault()}}),getOptionProps:({index:N,option:L})=>{const at=(A?Y:[Y]).some(At=>At!=null&&F(L,At)),Ct=x?x(L):!1;return{key:(w==null?void 0:w(L))??lt(L),tabIndex:-1,role:"option",id:`${$t}-option-${N}`,onMouseMove:uo,onClick:ur,onTouchStart:dr,"data-option-index":N,"aria-disabled":Ct,"aria-selected":at}},id:$t,inputValue:st,value:Y,dirty:Ce,expanded:ut&&bt,popupOpen:ut,focused:ft||nt!==-1,anchorEl:bt,setAnchorEl:Pt,focusedTag:nt,groupedOptions:Oo}}function Wi(t){return K("MuiListSubheader",t)}const qm=Z("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]),Hi=t=>{const{classes:e,color:o,disableGutters:r,inset:n,disableSticky:s}=t,a={root:["root",o!=="default"&&`color${R(o)}`,!r&&"gutters",n&&"inset",!s&&"sticky"]};return q(a,Wi,e)},Vi=C("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,o.color!=="default"&&e[`color${R(o.color)}`],!o.disableGutters&&e.gutters,o.inset&&e.inset,!o.disableSticky&&e.sticky]}})(E(({theme:t})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(t.vars||t).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:72}},{props:({ownerState:e})=>!e.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper}}]}))),Ar=W(function(e,o){const r=X({props:e,name:"MuiListSubheader"}),{className:n,color:s="default",component:a="li",disableGutters:i=!1,disableSticky:l=!1,inset:c=!1,...p}=r,u={...r,color:s,component:a,disableGutters:i,disableSticky:l,inset:c},b=Hi(u);return d.jsx(Vi,{as:a,className:z(b.root,n),ref:o,ownerState:u,...p})});Ar&&(Ar.muiSkipListHighlight=!0);function Gi(t){return K("MuiAutocomplete",t)}const Rt=Z("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 cn,pn;const _i=t=>{const{classes:e,disablePortal:o,expanded:r,focused:n,fullWidth:s,hasClearIcon:a,hasPopupIcon:i,inputFocused:l,popupOpen:c,size:p}=t,u={root:["root",r&&"expanded",n&&"focused",s&&"fullWidth",a&&"hasClearIcon",i&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${R(p)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",o&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return q(u,Gi,e)},qi=C("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t,{fullWidth:r,hasClearIcon:n,hasPopupIcon:s,inputFocused:a,size:i}=o;return[{[`& .${Rt.tag}`]:e.tag},{[`& .${Rt.tag}`]:e[`tagSize${R(i)}`]},{[`& .${Rt.inputRoot}`]:e.inputRoot},{[`& .${Rt.input}`]:e.input},{[`& .${Rt.input}`]:a&&e.inputFocused},e.root,r&&e.fullWidth,s&&e.hasPopupIcon,n&&e.hasClearIcon]}})({[`&.${Rt.focused} .${Rt.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{