iobroker.nspanel-lovelace-ui
Version:
NsPanel Lovelace UI is a Firmware for the nextion screen inside of NSPanel in the Design of Lovelace UI Design.
3 lines • 286 kB
JavaScript
import{s as cs,d as I,e as kr,h as ho,f as Ge,i as ps,j as $n,m as ds,k as Dr,l as us,n as fs,c as kn,p as wo,q as gs,b as ms,t as bs,u as vs,g as hs,v as ys,o as xs,w as Cs,x as Ss,y as ws,z as _e,A as Xe,a as kt,T as Rs,B as _o,C as Ao,D as Ue}from"./defaultTheme-B6DpRwGi.js";import{O as Zv,L as Jv,M as Qv,H as th,N as eh,J as oh,K as rh,P as nh,E as sh,G as ah,S as ih,R as lh,U as ch,I as ph,F as dh,Q as uh}from"./defaultTheme-B6DpRwGi.js";import{e as $s,j as d,b as z,f as ks,d as _,g as K,C as Pn,a as Z,u as q,s as S,m as F,c as Vt,r as Ie,h as Zo,S as Ps,i as Ts}from"./createSvgIcon-Debf11BA.js";import{l as gh,k as mh}from"./createSvgIcon-Debf11BA.js";import{q as Jo,r as Pr,s as Qo,P as Me,B as pe,I as He,t as Wt,T as ae,A as Tn,C as Is,w as Ke,x as Fe,y as Er,z as or,E as Ms,G as As,H as Xo,c as Ro,J as yo,K as In,N as Bs,O as Ls,Q as Ns,R as Tr,S as De,U as Os,V as Ir,W as zs,j as js,X as xo,Y as Ds,Z as io,_ as Es,$ as Fs,a0 as Bo,a1 as Us,a2 as Ws,a3 as Hs,a4 as Vs,v as Mn,a5 as Vo,a6 as Gs,M as _s,a7 as Xs}from"./TextField-C4Ld7RKX.js";import{a8 as vh,l as hh,a9 as yh,n as xh,D as Ch,p as Sh,h as wh,F as Rh,f as $h,e as kh,aa as Ph,aG as Th,ag as Ih,b as Mh,d as Ah,L as Bh,m as Lh,ab as Nh,ac as Oh,a as zh,a$ as jh,ad as Dh,ae as Eh,ba as Fh,b9 as Uh,g as Wh,af as Hh,k as Vh,ah as Gh,al as _h,aj as Xh,ap as qh,ar as Yh,au as Kh,o as Zh,aw as Jh,ay as Qh,az as ty,aB as ey,aD as oy,aF as ry,ai as ny,an as sy,ak as ay,aq as iy,as as ly,av as cy,ax as py,at as dy,aA as uy,aC as fy,aE as gy,aH as my,aJ as by,aM as vy,aN as hy,aP as yy,aK as xy,aW as Cy,aT as Sy,aR as wy,a_ as Ry,aY as $y,b1 as ky,b8 as Py,b7 as Ty,b3 as Iy,b5 as My,bb as Ay,bd as By,bf as Ly,ao as Ny,bg as Oy,aI as zy,aL as jy,aO as Dy,aQ as Ey,aS as Fy,aU as Uy,aV as Wy,aX as Hy,aZ as Vy,b0 as Gy,b2 as _y,b4 as Xy,b6 as qy,bc as Yy,be as Ky,am as Zy,u as Jy}from"./TextField-C4Ld7RKX.js";import{A as u}from"./AdminComponentEasyAccessSet__loadShare__react__loadShare__-CJmceRyn.js";import{T as Mr,e as Ar,d as Re,g as qe,b as we,h as V,c as oe,s as qs,P as An,u as ce,i as Br,o as ge,j as Bn,k as to,l as bo,G as Ys}from"./Grow-DnKMqB40.js";import{m as t0,n as e0}from"./Grow-DnKMqB40.js";import{a as Ln,u as le}from"./useTheme-Y4z6S2UP.js";import{a as eo,b as Ee,u as oo,A as Fr}from"./index-BTwTI1Tk.js";import{P as ee}from"./index-DcK0RDrH.js";import{c as $o,k as ko}from"./GlobalStyles-5ozVpP3B.js";import{T as Ks}from"./Tooltip-BHlkKxQm.js";import{g as r0,t as n0}from"./Tooltip-BHlkKxQm.js";import{C as a0,E as i0,S as l0,T as c0,g as p0,u as d0}from"./ThemeProvider-vboP8fwI.js";import"./_commonjsHelpers-CE1G-McA.js";import"./AdminComponentEasyAccessSet__mf_v__runtimeInit__mf_v__-9o5tLcPN.js";function Zs(t={}){const{themeId:e,defaultTheme:o,defaultClassName:r="MuiBox-root",generateClassName:n}=t,s=$s("div",{shouldForwardProp:i=>i!=="theme"&&i!=="sx"&&i!=="as"})(cs);return u.forwardRef(function(l,c){const p=Ln(o),{className:f,component:g="div",...b}=Jo(l);return d.jsx(s,{as:g,ref:c,className:z(f,n?n(r):r),theme:e&&p[e]||p,...b})})}const Lr=ks();function $m(t,e){return()=>null}function km(t,e){return()=>null}function Pm(t,e,o,r,n){return null}const Nr=t=>{const e=u.useRef({});return u.useEffect(()=>{e.current=t}),e.current};function Nn(t){return u.Children.toArray(t).filter(e=>u.isValidElement(e))}const Js=kr(),Qs=Lr("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[`maxWidth${I(String(o.maxWidth))}`],o.fixed&&e.fixed,o.disableGutters&&e.disableGutters]}}),ta=t=>Pr({props:t,name:"MuiContainer",defaultTheme:Js}),ea=(t,e)=>{const o=l=>K(e,l),{classes:r,fixed:n,disableGutters:s,maxWidth:a}=t,i={root:["root",a&&`maxWidth${I(String(a))}`,n&&"fixed",s&&"disableGutters"]};return _(i,o,r)};function oa(t={}){const{createStyledComponent:e=Qs,useThemeProps:o=ta,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,f=a.breakpoints.values[p];return f!==0&&(l[a.breakpoints.up(p)]={maxWidth:`${f}${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 u.forwardRef(function(i,l){const c=o(i),{className:p,component:f="div",disableGutters:g=!1,fixed:b=!1,maxWidth:y="lg",classes:m,...v}=c,h={...c,component:f,disableGutters:g,fixed:b,maxWidth:y},x=ea(h,r);return d.jsx(n,{as:f,ownerState:h,className:z(x.root,p),ref:l,...v})})}const ra=(t,e)=>t.filter(o=>e.includes(o)),ro=(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:ra(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 qo(t){return`--Grid-${t}Spacing`}function tr(t){return`--Grid-parent-${t}Spacing`}const Ur="--Grid-columns",Qe="--Grid-parent-columns",na=({theme:t,ownerState:e})=>{const o={};return ro(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(${Qe}) - (var(${Qe}) - ${n}) * (var(${tr("column")}) / var(${Qe})))`}),r(o,s)}),o},sa=({theme:t,ownerState:e})=>{const o={};return ro(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(${Qe}) + var(${tr("column")}) * ${n} / var(${Qe}))`}),r(o,s)}),o},aa=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={[Ur]:12};return ro(t.breakpoints,e.columns,(r,n)=>{const s=n??12;r(o,{[Ur]:s,"> *":{[Qe]:s}})}),o},ia=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={};return ro(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,{[qo("row")]:s,"> *":{[tr("row")]:s}})}),o},la=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={};return ro(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,{[qo("column")]:s,"> *":{[tr("column")]:s}})}),o},ca=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={};return ro(t.breakpoints,e.direction,(r,n)=>{r(o,{flexDirection:n})}),o},pa=({ownerState:t})=>({minWidth:0,boxSizing:"border-box",...t.container&&{display:"flex",flexWrap:"wrap",...t.wrap&&t.wrap!=="wrap"&&{flexWrap:t.wrap},gap:`var(${qo("row")}) var(${qo("column")})`}}),da=t=>{const e=[];return Object.entries(t).forEach(([o,r])=>{r!==!1&&r!==void 0&&e.push(`grid-${o}-${String(r)}`)}),e},ua=(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[]},fa=t=>t===void 0?[]:typeof t=="object"?Object.entries(t).map(([e,o])=>`direction-${e}-${o}`):[`direction-xs-${String(t)}`];function ga(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 ma=kr(),ba=Lr("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>e.root});function va(t){return Pr({props:t,name:"MuiGrid",defaultTheme:ma})}function ha(t={}){const{createStyledComponent:e=ba,useThemeProps:o=va,useTheme:r=Ln,componentName:n="MuiGrid"}=t,s=(c,p)=>{const{container:f,direction:g,spacing:b,wrap:y,size:m}=c,v={root:["root",f&&"container",y!=="wrap"&&`wrap-xs-${String(y)}`,...fa(g),...da(m),...f?ua(b,p.breakpoints.keys[0]):[]]};return _(v,h=>K(n,h),{})};function a(c,p,f=()=>!0){const g={};return c===null||(Array.isArray(c)?c.forEach((b,y)=>{b!==null&&f(b)&&p.keys[y]&&(g[p.keys[y]]=b)}):typeof c=="object"?Object.keys(c).forEach(b=>{const y=c[b];y!=null&&f(y)&&(g[b]=y)}):g[p.keys[0]]=c),g}const i=e(aa,la,ia,na,ca,pa,sa),l=u.forwardRef(function(p,f){const g=r(),b=o(p),y=Jo(b);ga(y,g.breakpoints);const{className:m,children:v,columns:h=12,container:x=!1,component:C="div",direction:R="row",wrap:k="wrap",size:L={},offset:$={},spacing:A=0,rowSpacing:P=A,columnSpacing:M=A,unstable_level:U=0,...B}=y,w=a(L,g.breakpoints,H=>H!==!1),T=a($,g.breakpoints),W=p.columns??(U?void 0:h),j=p.spacing??(U?void 0:A),rt=p.rowSpacing??p.spacing??(U?void 0:P),D=p.columnSpacing??p.spacing??(U?void 0:M),Q={...y,level:U,columns:W,container:x,direction:R,wrap:k,spacing:j,rowSpacing:rt,columnSpacing:D,size:w,offset:T},ct=s(Q,g);return d.jsx(i,{ref:f,as:C,ownerState:Q,className:z(ct.root,m),...B,children:u.Children.map(v,H=>{var Pt;return u.isValidElement(H)&&Qo(H,["Grid"])&&x&&H.props.container?u.cloneElement(H,{unstable_level:((Pt=H.props)==null?void 0:Pt.unstable_level)??U+1}):H})})});return l.muiName="Grid",l}const ya=kr(),xa=Lr("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function Ca(t){return Pr({props:t,name:"MuiStack",defaultTheme:ya})}function Sa(t,e){const o=u.Children.toArray(t).filter(Boolean);return o.reduce((r,n,s)=>(r.push(n),s<o.length-1&&r.push(u.cloneElement(e,{key:`separator-${s}`})),r),[])}const wa=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],Ra=({ownerState:t,theme:e})=>{let o={display:"flex",flexDirection:"column",...ho({theme:e},Ge({values:t.direction,breakpoints:e.breakpoints.values}),r=>({flexDirection:r}))};if(t.spacing){const r=ps(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=Ge({values:t.direction,base:n}),a=Ge({values:t.spacing,base:n});typeof s=="object"&&Object.keys(s).forEach((l,c,p)=>{if(!s[l]){const g=c>0?s[p[c-1]]:"column";s[l]=g}}),o=$n(o,ho({theme:e},a,(l,c)=>t.useFlexGap?{gap:Dr(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${wa(c?s[c]:t.direction)}`]:Dr(r,l)}}))}return o=ds(e.breakpoints,o),o};function $a(t={}){const{createStyledComponent:e=xa,useThemeProps:o=Ca,componentName:r="MuiStack"}=t,n=()=>_({root:["root"]},l=>K(r,l),{}),s=e(Ra);return u.forwardRef(function(l,c){const p=o(l),f=Jo(p),{component:g="div",direction:b="column",spacing:y=0,divider:m,children:v,className:h,useFlexGap:x=!1,...C}=f,R={direction:b,spacing:y,useFlexGap:x},k=n();return d.jsx(s,{as:g,ownerState:R,ref:c,className:z(k.root,h),...C,children:m?Sa(v,m):v})})}function Tm(t){const{defaultProps:e={},mixins:o={},overrides:r={},palette:n={},props:s={},styleOverrides:a={},...i}=t,l={...i,components:{}};Object.keys(e).forEach(m=>{const v=l.components[m]||{};v.defaultProps=e[m],l.components[m]=v}),Object.keys(s).forEach(m=>{const v=l.components[m]||{};v.defaultProps=s[m],l.components[m]=v}),Object.keys(a).forEach(m=>{const v=l.components[m]||{};v.styleOverrides=a[m],l.components[m]=v}),Object.keys(r).forEach(m=>{const v=l.components[m]||{};v.styleOverrides=r[m],l.components[m]=v}),l.spacing=us(t.spacing);const c=fs(t.breakpoints||{}),p=l.spacing;l.mixins={gutters:(m={})=>({paddingLeft:p(2),paddingRight:p(2),...m,[c.up("sm")]:{paddingLeft:p(3),paddingRight:p(3),...m[c.up("sm")]}}),...o};const{type:f,mode:g,...b}=n,y=g||f||"light";return l.palette={text:{hint:y==="dark"?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:y,type:y,...b},l}function Im(t,...e){return kn($n({unstable_strictMode:!0},t),...e)}let Wr=!1;function Mm(t){return Wr||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join(`
`)),Wr=!0),t}function Hr(t){return String(parseFloat(t)).length===String(t).length}function On(t){return String(t).match(/[\d.\-+]*\s*(.*)/)[1]||""}function Oe(t){return parseFloat(t)}function ka(t){return(e,o)=>{const r=On(e);if(r===o)return e;let n=Oe(e);r!=="px"&&(r==="em"||r==="rem")&&(n=Oe(e)*Oe(t));let s=n;if(o!=="px")if(o==="em")s=n/Oe(t);else if(o==="rem")s=n/Oe(t);else return e;return parseFloat(s.toFixed(5))+o}}function Pa({size:t,grid:e}){const o=t-t%e,r=o+e;return t-o<r-t?o:r}function Ta({lineHeight:t,pixels:e,htmlFontSize:o}){return e/(t*o)}function Ia({cssProperty:t,min:e,max:o,unit:r="rem",breakpoints:n=[600,900,1200],transform:s=null}){const a={[t]:`${e}${r}`},i=(o-e)/n[n.length-1];return n.forEach(l=>{let c=e+i*l;s!==null&&(c=s(c)),a[`@media (min-width:${l}px)`]={[t]:`${Math.round(c*1e4)/1e4}${r}`}}),a}function Am(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=ka(i.htmlFontSize),c=o.map(p=>a.breakpoints.values[p]);return s.forEach(p=>{const f=i[p];if(!f)return;const g=parseFloat(l(f.fontSize,"rem"));if(g<=1)return;const b=g,y=1+(b-1)/n;let{lineHeight:m}=f;if(!Hr(m)&&!r)throw new Error(wo(6));Hr(m)||(m=parseFloat(l(m,"rem"))/parseFloat(g));let v=null;r||(v=h=>Pa({size:h,grid:Ta({pixels:4,lineHeight:m,htmlFontSize:i.htmlFontSize})})),i[p]={...f,...Ia({cssProperty:"fontSize",min:y,max:b,unit:"rem",breakpoints:c,transform:v})}}),a}function Bm(){throw new Error(wo(14))}function Lm(){throw new Error(wo(15))}function Nm(){throw new Error(wo(16))}let Vr=!1;function Om(...t){return Vr||(console.warn(["MUI: The `experimental_extendTheme` has been stabilized.","","You should use `import { extendTheme } from '@mui/material/styles'`"].join(`
`)),Vr=!0),gs(...t)}function zm(){throw new Error(wo(19))}const Ma={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"},Aa={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"},Ba={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"},La={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"},Na={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"},Oa={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"},za={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"},ja={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"},Da={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"},Ea={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"},Fa={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"},Ua={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"},jm=Object.freeze(Object.defineProperty({__proto__:null,amber:Da,blue:ms,blueGrey:Ua,brown:Fa,common:bs,cyan:La,deepOrange:Ea,deepPurple:Aa,green:vs,grey:hs,indigo:Ba,lightBlue:ys,lightGreen:Oa,lime:za,orange:xs,pink:Ma,purple:Cs,red:Ss,teal:Na,yellow:ja},Symbol.toStringTag,{value:"Module"})),Dm={configure:t=>{Pn.configure(t)}};function Wa(t){return K("MuiCollapse",t)}const Em=Z("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]),Ha=t=>{const{orientation:e,classes:o}=t,r={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return _(r,Wa,o)},Va=S("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]}})(F(({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"}}]}))),Ga=S("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),_a=S("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Co=u.forwardRef(function(e,o){const r=q({props:e,name:"MuiCollapse"}),{addEndListener:n,children:s,className:a,collapsedSize:i="0px",component:l,easing:c,in:p,onEnter:f,onEntered:g,onEntering:b,onExit:y,onExited:m,onExiting:v,orientation:h="vertical",style:x,timeout:C=ws.standard,TransitionComponent:R=Mr,...k}=r,L={...r,orientation:h,collapsedSize:i},$=Ha(L),A=le(),P=Ar(),M=u.useRef(null),U=u.useRef(),B=typeof i=="number"?`${i}px`:i,w=h==="horizontal",T=w?"width":"height",W=u.useRef(null),j=Re(o,W),rt=tt=>G=>{if(tt){const lt=W.current;G===void 0?tt(lt):tt(lt,G)}},D=()=>M.current?M.current[w?"clientWidth":"clientHeight"]:0,Q=rt((tt,G)=>{M.current&&w&&(M.current.style.position="absolute"),tt.style[T]=B,f&&f(tt,G)}),ct=rt((tt,G)=>{const lt=D();M.current&&w&&(M.current.style.position="");const{duration:ft,easing:vt}=qe({style:x,timeout:C,easing:c},{mode:"enter"});if(C==="auto"){const $t=A.transitions.getAutoHeightDuration(lt);tt.style.transitionDuration=`${$t}ms`,U.current=$t}else tt.style.transitionDuration=typeof ft=="string"?ft:`${ft}ms`;tt.style[T]=`${lt}px`,tt.style.transitionTimingFunction=vt,b&&b(tt,G)}),H=rt((tt,G)=>{tt.style[T]="auto",g&&g(tt,G)}),Pt=rt(tt=>{tt.style[T]=`${D()}px`,y&&y(tt)}),Lt=rt(m),Tt=rt(tt=>{const G=D(),{duration:lt,easing:ft}=qe({style:x,timeout:C,easing:c},{mode:"exit"});if(C==="auto"){const vt=A.transitions.getAutoHeightDuration(G);tt.style.transitionDuration=`${vt}ms`,U.current=vt}else tt.style.transitionDuration=typeof lt=="string"?lt:`${lt}ms`;tt.style[T]=B,tt.style.transitionTimingFunction=ft,v&&v(tt)}),dt=tt=>{C==="auto"&&P.start(U.current||0,tt),n&&n(W.current,tt)};return d.jsx(R,{in:p,onEnter:Q,onEntered:H,onEntering:ct,onExit:Pt,onExited:Lt,onExiting:Tt,addEndListener:dt,nodeRef:W,timeout:C==="auto"?null:C,...k,children:(tt,{ownerState:G,...lt})=>d.jsx(Va,{as:l,className:z($.root,a,{entered:$.entered,exited:!p&&B==="0px"&&$.hidden}[tt]),style:{[w?"minWidth":"minHeight"]:B,...x},ref:j,ownerState:{...L,state:tt},...lt,children:d.jsx(Ga,{ownerState:{...L,state:tt},className:$.wrapper,ref:M,children:d.jsx(_a,{ownerState:{...L,state:tt},className:$.wrapperInner,children:s})})})})});Co&&(Co.muiSupportAuto=!0);const zn=u.createContext({});function Xa(t){return K("MuiAccordion",t)}const Lo=Z("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),qa=t=>{const{classes:e,square:o,expanded:r,disabled:n,disableGutters:s}=t;return _({root:["root",!o&&"rounded",r&&"expanded",n&&"disabled",!s&&"gutters"],heading:["heading"],region:["region"]},Xa,e)},Ya=S(Me,{name:"MuiAccordion",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[{[`& .${Lo.region}`]:e.region},e.root,!o.square&&e.rounded,!o.disableGutters&&e.gutters]}})(F(({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"}},[`&.${Lo.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${Lo.disabled}`]:{backgroundColor:(t.vars||t).palette.action.disabledBackground}}}),F(({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:{[`&.${Lo.expanded}`]:{margin:"16px 0"}}}]}))),Ka=S("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(t,e)=>e.heading})({all:"unset"}),Fm=u.forwardRef(function(e,o){const r=q({props:e,name:"MuiAccordion"}),{children:n,className:s,defaultExpanded:a=!1,disabled:i=!1,disableGutters:l=!1,expanded:c,onChange:p,square:f=!1,slots:g={},slotProps:b={},TransitionComponent:y,TransitionProps:m,...v}=r,[h,x]=we({controlled:c,default:a,name:"Accordion",state:"expanded"}),C=u.useCallback(D=>{x(!h),p&&p(D,!h)},[h,p,x]),[R,...k]=u.Children.toArray(n),L=u.useMemo(()=>({expanded:h,disabled:i,disableGutters:l,toggle:C}),[h,i,l,C]),$={...r,square:f,disabled:i,disableGutters:l,expanded:h},A=qa($),P={transition:y,...g},M={transition:m,...b},U={slots:P,slotProps:M},[B,w]=V("root",{elementType:Ya,externalForwardedProps:{...U,...v},className:z(A.root,s),shouldForwardComponentProp:!0,ownerState:$,ref:o,additionalProps:{square:f}}),[T,W]=V("heading",{elementType:Ka,externalForwardedProps:U,className:A.heading,ownerState:$}),[j,rt]=V("transition",{elementType:Co,externalForwardedProps:U,ownerState:$});return d.jsxs(B,{...w,children:[d.jsx(T,{...W,children:d.jsx(zn.Provider,{value:L,children:R})}),d.jsx(j,{in:h,timeout:"auto",...rt,children:d.jsx("div",{"aria-labelledby":R.props.id,id:R.props["aria-controls"],role:"region",className:A.region,children:k})})]})});function Za(t){return K("MuiAccordionActions",t)}const Um=Z("MuiAccordionActions",["root","spacing"]),Ja=t=>{const{classes:e,disableSpacing:o}=t;return _({root:["root",!o&&"spacing"]},Za,e)},Qa=S("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}}}]}),Wm=u.forwardRef(function(e,o){const r=q({props:e,name:"MuiAccordionActions"}),{className:n,disableSpacing:s=!1,...a}=r,i={...r,disableSpacing:s},l=Ja(i);return d.jsx(Qa,{className:z(l.root,n),ref:o,ownerState:i,...a})});function ti(t){return K("MuiAccordionDetails",t)}const Hm=Z("MuiAccordionDetails",["root"]),ei=t=>{const{classes:e}=t;return _({root:["root"]},ti,e)},oi=S("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(t,e)=>e.root})(F(({theme:t})=>({padding:t.spacing(1,2,2)}))),Vm=u.forwardRef(function(e,o){const r=q({props:e,name:"MuiAccordionDetails"}),{className:n,...s}=r,a=r,i=ei(a);return d.jsx(oi,{className:z(i.root,n),ref:o,ownerState:a,...s})});function ri(t){return K("MuiAccordionSummary",t)}const Je=Z("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),ni=t=>{const{classes:e,expanded:o,disabled:r,disableGutters:n}=t;return _({root:["root",o&&"expanded",r&&"disabled",!n&&"gutters"],focusVisible:["focusVisible"],content:["content",o&&"expanded",!n&&"contentGutters"],expandIconWrapper:["expandIconWrapper",o&&"expanded"]},ri,e)},si=S(pe,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(t,e)=>e.root})(F(({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),[`&.${Je.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${Je.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`&:hover:not(.${Je.disabled})`]:{cursor:"pointer"},variants:[{props:o=>!o.disableGutters,style:{[`&.${Je.expanded}`]:{minHeight:64}}}]}})),ai=S("span",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(t,e)=>e.content})(F(({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}),[`&.${Je.expanded}`]:{margin:"20px 0"}}}]}))),ii=S("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(t,e)=>e.expandIconWrapper})(F(({theme:t})=>({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),[`&.${Je.expanded}`]:{transform:"rotate(180deg)"}}))),Gm=u.forwardRef(function(e,o){const r=q({props:e,name:"MuiAccordionSummary"}),{children:n,className:s,expandIcon:a,focusVisibleClassName:i,onClick:l,slots:c,slotProps:p,...f}=r,{disabled:g=!1,disableGutters:b,expanded:y,toggle:m}=u.useContext(zn),v=M=>{m&&m(M),l&&l(M)},h={...r,expanded:y,disabled:g,disableGutters:b},x=ni(h),C={slots:c,slotProps:p},[R,k]=V("root",{ref:o,shouldForwardComponentProp:!0,className:z(x.root,s),elementType:si,externalForwardedProps:{...C,...f},ownerState:h,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:g,"aria-expanded":y,focusVisibleClassName:z(x.focusVisible,i)},getSlotProps:M=>({...M,onClick:U=>{var B;(B=M.onClick)==null||B.call(M,U),v(U)}})}),[L,$]=V("content",{className:x.content,elementType:ai,externalForwardedProps:C,ownerState:h}),[A,P]=V("expandIconWrapper",{className:x.expandIconWrapper,elementType:ii,externalForwardedProps:C,ownerState:h});return d.jsxs(R,{...k,children:[d.jsx(L,{...$,children:n}),a&&d.jsx(A,{...P,children:a})]})});function li(t){return K("MuiAlert",t)}const Gr=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"]),ci=Vt(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"),pi=Vt(d.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),di=Vt(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"),ui=Vt(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"),jn=Vt(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"),fi=t=>{const{variant:e,color:o,severity:r,classes:n}=t,s={root:["root",`color${I(o||r)}`,`${e}${I(o||r)}`,`${e}`],icon:["icon"],message:["message"],action:["action"]};return _(s,li,n)},gi=S(Me,{name:"MuiAlert",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[o.variant],e[`${o.variant}${I(o.color||o.severity)}`]]}})(F(({theme:t})=>{const e=t.palette.mode==="light"?_e:Xe,o=t.palette.mode==="light"?Xe:_e;return{...t.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(Wt(["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),[`& .${Gr.icon}`]:t.vars?{color:t.vars.palette.Alert[`${r}IconColor`]}:{color:t.palette[r].main}}})),...Object.entries(t.palette).filter(Wt(["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}`,[`& .${Gr.icon}`]:t.vars?{color:t.vars.palette.Alert[`${r}IconColor`]}:{color:t.palette[r].main}}})),...Object.entries(t.palette).filter(Wt(["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)}}}))]}})),mi=S("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,e)=>e.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),bi=S("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),vi=S("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),_r={success:d.jsx(ci,{fontSize:"inherit"}),warning:d.jsx(pi,{fontSize:"inherit"}),error:d.jsx(di,{fontSize:"inherit"}),info:d.jsx(ui,{fontSize:"inherit"})},_m=u.forwardRef(function(e,o){const r=q({props:e,name:"MuiAlert"}),{action:n,children:s,className:a,closeText:i="Close",color:l,components:c={},componentsProps:p={},icon:f,iconMapping:g=_r,onClose:b,role:y="alert",severity:m="success",slotProps:v={},slots:h={},variant:x="standard",...C}=r,R={...r,color:l,severity:m,variant:x,colorSeverity:l||m},k=fi(R),L={slots:{closeButton:c.CloseButton,closeIcon:c.CloseIcon,...h},slotProps:{...p,...v}},[$,A]=V("root",{ref:o,shouldForwardComponentProp:!0,className:z(k.root,a),elementType:gi,externalForwardedProps:{...L,...C},ownerState:R,additionalProps:{role:y,elevation:0}}),[P,M]=V("icon",{className:k.icon,elementType:mi,externalForwardedProps:L,ownerState:R}),[U,B]=V("message",{className:k.message,elementType:bi,externalForwardedProps:L,ownerState:R}),[w,T]=V("action",{className:k.action,elementType:vi,externalForwardedProps:L,ownerState:R}),[W,j]=V("closeButton",{elementType:He,externalForwardedProps:L,ownerState:R}),[rt,D]=V("closeIcon",{elementType:jn,externalForwardedProps:L,ownerState:R});return d.jsxs($,{...A,children:[f!==!1?d.jsx(P,{...M,children:f||g[m]||_r[m]}):null,d.jsx(U,{...B,children:s}),n!=null?d.jsx(w,{...T,children:n}):null,n==null&&b?d.jsx(w,{...T,children:d.jsx(W,{size:"small","aria-label":i,title:i,color:"inherit",onClick:b,...j,children:d.jsx(rt,{fontSize:"small",...D})})}):null]})});function hi(t){return K("MuiAlertTitle",t)}const Xm=Z("MuiAlertTitle",["root"]),yi=t=>{const{classes:e}=t;return _({root:["root"]},hi,e)},xi=S(ae,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(t,e)=>e.root})(F(({theme:t})=>({fontWeight:t.typography.fontWeightMedium,marginTop:-2}))),qm=u.forwardRef(function(e,o){const r=q({props:e,name:"MuiAlertTitle"}),{className:n,...s}=r,a=r,i=yi(a);return d.jsx(xi,{gutterBottom:!0,component:"div",ownerState:a,ref:o,className:z(i.root,n),...s})});function Ci(t){return K("MuiAppBar",t)}const Ym=Z("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]),Si=t=>{const{color:e,position:o,classes:r}=t,n={root:["root",`color${I(e)}`,`position${I(o)}`]};return _(n,Ci,r)},Xr=(t,e)=>t?`${t==null?void 0:t.replace(")","")}, ${e})`:e,wi=S(Me,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[`position${I(o.position)}`],e[`color${I(o.color)}`]]}})(F(({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(Wt(["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?Xr(t.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:t.vars?Xr(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"})}}]}))),Km=u.forwardRef(function(e,o){const r=q({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=Si(c);return d.jsx(wi,{square:!0,component:"header",ownerState:c,elevation:4,className:z(p.root,n,i==="fixed"&&"mui-fixed"),ref:o,...l})});function qr(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Ri(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=qr(p));const f=p?i.filter(g=>{let b=(s||c)(g);return o&&(b=b.toLowerCase()),e&&(b=qr(b)),n==="start"?b.startsWith(p):b.includes(p)}):i;return typeof r=="number"?f.slice(0,r):f}}const $i=Ri(),Yr=5,ki=t=>{var e;return t.current!==null&&((e=t.current.parentElement)==null?void 0:e.contains(document.activeElement))},Pi=[];function Kr(t,e,o){if(e||t==null)return"";const r=o(t);return typeof r=="string"?r:""}function Ti(t){const{unstable_isActiveElementInListbox:e=ki,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?Pi:null,disableClearable:f=!1,disableCloseOnSelect:g=!1,disabled:b,disabledItemsFocusable:y=!1,disableListWrap:m=!1,filterOptions:v=$i,filterSelectedOptions:h=!1,freeSolo:x=!1,getOptionDisabled:C,getOptionKey:R,getOptionLabel:k=O=>O.label??O,groupBy:L,handleHomeEndKeys:$=!t.freeSolo,id:A,includeInputInList:P=!1,inputValue:M,isOptionEqualToValue:U=(O,N)=>O===N,multiple:B=!1,onChange:w,onClose:T,onHighlightChange:W,onInputChange:j,onOpen:rt,open:D,openOnFocus:Q=!1,options:ct,readOnly:H=!1,selectOnFocus:Pt=!t.freeSolo,value:Lt}=t,Tt=eo(A);let dt=k;dt=O=>{const N=k(O);return typeof N!="string"?String(N):N};const tt=u.useRef(!1),G=u.useRef(!0),lt=u.useRef(null),ft=u.useRef(null),[vt,$t]=u.useState(null),[pt,ut]=u.useState(-1),ht=n?0:-1,yt=u.useRef(ht),jt=u.useRef(Kr(p??Lt,B,dt)).current,[X,J]=we({controlled:Lt,default:p,name:c}),[ot,xt]=we({controlled:M,default:jt,name:c,state:"inputValue"}),[gt,Ct]=u.useState(!1),At=u.useCallback((O,N,at)=>{if(!(B?X.length<N.length:N!==null)&&!i)return;const Bt=Kr(N,B,dt);ot!==Bt&&(xt(Bt),j&&j(O,Bt,at))},[dt,ot,B,j,xt,i,X]),[_t,E]=we({controlled:D,default:!1,name:c,state:"open"}),[Y,st]=u.useState(!0),mt=!B&&X!=null&&ot===dt(X),bt=_t&&!H,et=bt?v(ct.filter(O=>!(h&&(B?X:[X]).some(N=>N!==null&&U(O,N)))),{inputValue:mt&&Y?"":ot,getOptionLabel:dt}):[],Nt=Nr({filteredOptions:et,value:X,inputValue:ot});u.useEffect(()=>{const O=X!==Nt.value;gt&&!O||x&&!O||At(null,X,"reset")},[X,At,gt,Nt.value,x]);const Gt=_t&&et.length>0&&!H,Dt=oe(O=>{O===-1?lt.current.focus():vt.querySelector(`[data-tag-index="${O}"]`).focus()});u.useEffect(()=>{B&&pt>X.length-1&&(ut(-1),Dt(-1))},[X,B,pt,Dt]);function Kt(O,N){if(!ft.current||O<0||O>=et.length)return-1;let at=O;for(;;){const St=ft.current.querySelector(`[data-option-index="${at}"]`),Bt=y?!1:!St||St.disabled||St.getAttribute("aria-disabled")==="true";if(St&&St.hasAttribute("tabindex")&&!Bt)return at;if(N==="next"?at=(at+1)%et.length:at=(at-1+et.length)%et.length,at===O)return-1}}const Xt=oe(({event:O,index:N,reason:at})=>{if(yt.current=N,N===-1?lt.current.removeAttribute("aria-activedescendant"):lt.current.setAttribute("aria-activedescendant",`${Tt}-option-${N}`),W&&["mouse","keyboard","touch"].includes(at)&&W(O,N===-1?null:et[N],at),!ft.current)return;const St=ft.current.querySelector(`[role="option"].${o}-focused`);St&&(St.classList.remove(`${o}-focused`),St.classList.remove(`${o}-focusVisible`));let Bt=ft.current;if(ft.current.getAttribute("role")!=="listbox"&&(Bt=ft.current.parentElement.querySelector('[role="listbox"]')),!Bt)return;if(N===-1){Bt.scrollTop=0;return}const Et=ft.current.querySelector(`[data-option-index="${N}"]`);if(Et&&(Et.classList.add(`${o}-focused`),at==="keyboard"&&Et.classList.add(`${o}-focusVisible`),Bt.scrollHeight>Bt.clientHeight&&at!=="mouse"&&at!=="touch")){const Yt=Et,ue=Bt.clientHeight+Bt.scrollTop,er=Yt.offsetTop+Yt.offsetHeight;er>ue?Bt.scrollTop=er-Bt.clientHeight:Yt.offsetTop-Yt.offsetHeight*(L?1.3:0)<Bt.scrollTop&&(Bt.scrollTop=Yt.offsetTop-Yt.offsetHeight*(L?1.3:0))}}),re=oe(({event:O,diff:N,direction:at="next",reason:St})=>{if(!bt)return;const Et=Kt((()=>{const Yt=et.length-1;if(N==="reset")return ht;if(N==="start")return 0;if(N==="end")return Yt;const ue=yt.current+N;return ue<0?ue===-1&&P?-1:m&&yt.current!==-1||Math.abs(N)>1?0:Yt:ue>Yt?ue===Yt+1&&P?-1:m||Math.abs(N)>1?Yt:0:ue})(),at);if(Xt({index:Et,reason:St,event:O}),r&&N!=="reset")if(Et===-1)lt.current.value=ot;else{const Yt=dt(et[Et]);lt.current.value=Yt,Yt.toLowerCase().indexOf(ot.toLowerCase())===0&&ot.length>0&<.current.setSelectionRange(ot.length,Yt.length)}}),$e=()=>{const O=(N,at)=>{const St=N?dt(N):"",Bt=at?dt(at):"";return St===Bt};if(yt.current!==-1&&Nt.filteredOptions&&Nt.filteredOptions.length!==et.length&&Nt.inputValue===ot&&(B?X.length===Nt.value.length&&Nt.value.every((N,at)=>dt(X[at])===dt(N)):O(Nt.value,X))){const N=Nt.filteredOptions[yt.current];if(N)return et.findIndex(at=>dt(at)===dt(N))}return-1},ye=u.useCallback(()=>{if(!bt)return;const O=$e();if(O!==-1){yt.current=O;return}const N=B?X[0]:X;if(et.length===0||N==null){re({diff:"reset"});return}if(ft.current){if(N!=null){const at=et[yt.current];if(B&&at&&X.findIndex(Bt=>U(at,Bt))!==-1)return;const St=et.findIndex(Bt=>U(Bt,N));St===-1?re({diff:"reset"}):Xt({index:St});return}if(yt.current>=et.length-1){Xt({index:et.length-1});return}Xt({index:yt.current})}},[et.length,B?!1:X,h,re,Xt,bt,ot,B]),de=oe(O=>{qs(ft,O),O&&ye()});u.useEffect(()=>{ye()},[ye]);const Jt=O=>{_t||(E(!0),st(!0),rt&&rt(O))},be=(O,N)=>{_t&&(E(!1),T&&T(O,N))},Ot=(O,N,at,St)=>{if(B){if(X.length===N.length&&X.every((Bt,Et)=>Bt===N[Et]))return}else if(X===N)return;w&&w(O,N,at,St),J(N)},Ft=u.useRef(!1),Qt=(O,N,at="selectOption",St="options")=>{let Bt=at,Et=N;if(B){Et=Array.isArray(X)?X.slice():[];const Yt=Et.findIndex(ue=>U(N,ue));Yt===-1?Et.push(N):St!=="freeSolo"&&(Et.splice(Yt,1),Bt="removeOption")}At(O,Et,Bt),Ot(O,Et,Bt,{option:N}),!g&&(!O||!O.ctrlKey&&!O.metaKey)&&be(O,Bt),(a===!0||a==="touch"&&Ft.current||a==="mouse"&&!Ft.current)&<.current.blur()};function ve(O,N){if(O===-1)return-1;let at=O;for(;;){if(N==="next"&&at===X.length||N==="previous"&&at===-1)return-1;const St=vt.querySelector(`[data-tag-index="${at}"]`);if(!St||!St.hasAttribute("tabindex")||St.disabled||St.getAttribute("aria-disabled")==="true")at+=N==="next"?1:-1;else return at}}const te=(O,N)=>{if(!B)return;ot===""&&be(O,"toggleInput");let at=pt;pt===-1?ot===""&&N==="previous"&&(at=X.length-1):(at+=N==="next"?1:-1,at<0&&(at=0),at===X.length&&(at=-1)),at=ve(at,N),ut(at),Dt(at)},ke=O=>{tt.current=!0,xt(""),j&&j(O,"","clear"),Ot(O,B?[]:null,"clear")},so=O=>N=>{if(O.onKeyDown&&O.onKeyDown(N),!N.defaultMuiPrevented&&(pt!==-1&&!["ArrowLeft","ArrowRight"].includes(N.key)&&(ut(-1),Dt(-1)),N.which!==229))switch(N.key){case"Home":bt&&$&&(N.preventDefault(),re({diff:"start",direction:"next",reason:"keyboard",event:N}));break;case"End":bt&&$&&(N.preventDefault(),re({diff:"end",direction:"previous",reason:"keyboard",event:N}));break;case"PageUp":N.preventDefault(),re({diff:-Yr,direction:"previous",reason:"keyboard",event:N}),Jt(N);break;case"PageDown":N.preventDefault(),re({diff:Yr,direction:"next",reason:"keyboard",event:N}),Jt(N);break;case"ArrowDown":N.preventDefault(),re({diff:1,direction:"next",reason:"keyboard",event:N}),Jt(N);break;case"ArrowUp":N.preventDefault(),re({diff:-1,direction:"previous",reason:"keyboard",event:N}),Jt(N);break;case"ArrowLeft":te(N,"previous");break;case"ArrowRight":te(N,"next");break;case"Enter":if(yt.current!==-1&&bt){const at=et[yt.current],St=C?C(at):!1;if(N.preventDefault(),St)return;Qt(N,at,"selectOption"),r&<.current.setSelectionRange(lt.current.value.length,lt.current.value.length)}else x&&ot!==""&&mt===!1&&(B&&N.preventDefault(),Qt(N,ot,"createOption","freeSolo"));break;case"Escape":bt?(N.preventDefault(),N.stopPropagation(),be(N,"escape")):l&&(ot!==""||B&&X.length>0)&&(N.preventDefault(),N.stopPropagation(),ke(N));break;case"Backspace":if(B&&!H&&ot===""&&X.length>0){const at=pt===-1?X.length-1:pt,St=X.slice();St.splice(at,1),Ot(N,St,"removeOption",{option:X[at]})}break;case"Delete":if(B&&!H&&ot===""&&X.length>0&&pt!==-1){const at=pt,St=X.slice();St.splice(at,1),Ot(N,St,"removeOption",{option:X[at]})}break}},nt=O=>{Ct(!0),Q&&!tt.current&&Jt(O)},it=O=>{if(e(ft)){lt.current.focus();return}Ct(!1),G.current=!0,tt.current=!1,s&&yt.current!==-1&&bt?Qt(O,et[yt.current],"blur"):s&&x&&ot!==""?Qt(O,ot,"blur","freeSolo"):i&&At(O,X,"blur"),be(O,"blur")},It=O=>{const N=O.target.value;ot!==N&&(xt(N),st(!1),j&&j(O,N,"input")),N===""?!f&&!B&&Ot(O,null,"clear"):Jt(O)},Mt=O=>{const N=Number(O.currentTarget.getAttribute("data-option-index"));yt.current!==N&&Xt({event:O,index:N,reason:"mouse"})},Ut=O=>{Xt({event:O,index:Number(O.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Ft.current=!0},ie=O=>{const N=Number(O.currentTarget.getAttribute("data-option-index"));Qt(O,et[N],"selectOption"),Ft.current=!1},he=O=>N=>{const at=X.slice();at.splice(O,1),Ot(N,at,"removeOption",{option:X[O]})},Pe=O=>{_t?be(O,"toggleInput"):Jt(O)},Ae=O=>{O.currentTarget.contains(O.target)&&O.target.getAttribute("id")!==Tt&&O.preventDefault()},qt=O=>{O.currentTarget.contains(O.target)&&(lt.current.focus(),Pt&&G.current&<.current.selectionEnd-lt.current.selectionStart===0&<.current.select(),G.current=!1)},Zt=O=>{!b&&(ot===""||!_t)&&Pe(O)};let xe=x&&ot.length>0;xe=xe||(B?X.length>0:X!==null);let To=et;return L&&(To=et.reduce((O,N,at)=>{const St=L(N);return O.length>0&&O[O.length-1].group===St?O[O.length-1].options.push(N):O.push({key:at,index:at,group:St,options:[N]}),O},[])),b&>&&it(),{getRootProps:(O={})=>({...O,onKeyDown:so(O),onMouseDown:Ae,onClick:qt}),getInputLabelProps:()=>({id:`${Tt}-label`,htmlFor:Tt}),getInputProps:()=>({id:Tt,value:ot,onBlur:it,onFocus:nt,onChange:It,onMouseDown:Zt,"aria-activedescendant":bt?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Gt?`${Tt}-listbox`:void 0,"aria-expanded":Gt,autoComplete:"off",ref:lt,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:b}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:ke}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Pe}),getTagProps:({index:O})=>({key:O,"data-tag-index":O,tabIndex:-1,...!H&&{onDelete:he(O)}}),getListboxProps:()=>({role:"listbox",id:`${Tt}-listbox`,"aria-labelledby":`${Tt}-label`,ref:de,onMouseDown:O=>{O.preventDefault()}}),getOptionProps:({index:O,option:N})=>{const at=(B?X:[X]).some(Bt=>Bt!=null&&U(N,Bt)),St=C?C(N):!1;return{key:(R==null?void 0:R(N))??dt(N),tabIndex:-1,role:"option",id:`${Tt}-option-${O}`,onMouseMove:Mt,onClick:ie,onTouchStart:Ut,"data-option-index":O,"aria-disabled":St,"aria-selected":at}},id:Tt,inputValue:ot,value:X,dirty:xe,expanded:bt&&vt,popupOpen:bt,focused:gt||pt!==-1,anchorEl:vt,setAnchorEl:$t,focusedTag:pt,groupedOptions:To}}function Ii(t){return K("MuiListSubheader",t)}const Zm=Z("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]),Mi=t=>{const{classes:e,color:o,disableGutters:r,inset:n,disableSticky:s}=t,a={root:["root",o!=="default"&&`color${I(o)}`,!r&&"gutters",n&&"inset",!s&&"sticky"]};return _(a,Ii,e)},Ai=S("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,o.color!=="default"&&e[`color${I(o.color)}`],!o.disableGutters&&e.gutters,o.inset&&e.inset,!o.disableSticky&&e.sticky]}})(F(({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}}]}))),vr=u.forwardRef(function(e,o){const r=q({props:e,name:"MuiListSubheader"}),{className:n,color:s="default",component:a="li",disableGutters:i=!1,disableSticky:l=!1,inset:c=!1,...p}=r,f={...r,color:s,component:a,disableGutters:i,disableSticky:l,inset:c},g=Mi(f);return d.jsx(Ai,{as:a,className:z(g.root,n),ref:o,ownerState:f,...p})});vr&&(vr.muiSkipListHighlight=!0);function Bi(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 Zr,Jr;const Li=t=>{const{classes:e,disablePortal:o,expanded:r,focused:n,fullWidth:s,hasClearIcon:a,hasPopupIcon:i,inputFocused:l,popupOpen:c,size:p}=t,f={root:["root",r&&"expanded",n&&"focused",s&&"fullWidth",a&&"hasClearIcon",i&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${I(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 _(f,Bi,e)},Ni=S("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${I(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)":{[`&:hover .${Rt.clearIndicator}`]:{visibility:"visible"}},[`& .${Rt.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Rt.inputRoot}`]:{[`.${Rt.hasPopupIcon}&, .${Rt.hasClearIcon}&`]:{paddingRight:30