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.
39 lines (35 loc) • 283 kB
JavaScript
import{s as Ss,d as T,e as jr,h as Io,f as oo,i as ws,j as zn,m as $s,k as Yr,l as Ps,n as ks,c as jn,p as No,q as Rs,b as Ts,t as Is,u as Ms,g as As,v as Bs,o as Ls,w as Ns,x as Os,a as Rt,y as zs,z as ro,A as no,T as js,B as rr,C as Wo,D as Je}from"./identifier-BUIOJqla.js";import{E as lh,F as ch,G as ph,H as dh,I as uh,J as fh,K as gh,L as mh,M as bh,N as vh,O as hh,P as yh,Q as xh,R as Ch,S as Sh,U as wh}from"./identifier-BUIOJqla.js";import{y as Ds,T as Fs}from"./yellow-BAmaKoOY.js";import{g as Ph,t as kh}from"./yellow-BAmaKoOY.js";import{e as Es,j as d,b as O,f as Us,d as _,g as K,C as Dn,u as q,s as C,m as F,a as Z,r as Fe,c as qt,h as lr,S as Ws,i as Hs}from"./createSvgIcon-CHdwYyrx.js";import{k as Th,l as Ih}from"./createSvgIcon-CHdwYyrx.js";import{p as cr,q as Dr,r as pr,s as Vs,t as Mo,w as Gs,T as de,x as _s,y as Ho,z as nr,A as Xs,B as me,E as yo,G as Fr,H as Ye,P as Ee,I as to,J as Gt,K as Fn,C as qs,N as io,O as Ze,Q as Kr,R as fr,S as Ys,U as Ks,c as Oo,V as Ao,W as En,X as Zs,Y as Js,Z as Qs,_ as Er,$ as ta,i as ea,a0 as oa,a1 as ra,a2 as na,a3 as sa,v as Un,a4 as er,a5 as aa,M as ia,a6 as la}from"./Dialog-BYWIfl38.js";import{a7 as Ah,k as Bh,a8 as Lh,m as Nh,D as Oh,o as zh,g as jh,a9 as Dh,e as Fh,F as Eh,aa as Uh,ab as Wh,ac as Hh,b as Vh,d as Gh,L as _h,l as Xh,ad as qh,ae as Yh,a as Kh,af as Zh,ag as Jh,ah as Qh,ai as ty,aj as ey,f as oy,ak as ry,j as ny,al as sy,am as ay,an as iy,ao as ly,ap as cy,aq as py,n as dy,ar as uy,as as fy,at as gy,au as my,av as by,aw as vy,ax as hy,ay as yy,az as xy,aA as Cy,aB as Sy,aC as wy,aD as $y,aE as Py,aF as ky,aG as Ry,aH as Ty,aI as Iy,aJ as My,aK as Ay,aL as By,aM as Ly,aN as Ny,aO as Oy,aP as zy,aQ as jy,aR as Dy,aS as Fy,aT as Ey,aU as Uy,aV as Wy,aW as Hy,aX as Vy,aY as Gy,aZ as _y,a_ as Xy,a$ as qy,b0 as Yy,b1 as Ky,b2 as Zy,b3 as Jy,b4 as Qy,b5 as t0,b6 as e0,b7 as o0,b8 as r0,b9 as n0,ba as s0,bb as a0,bc as i0,bd as l0,be as c0,bf as p0,bg as d0,u as u0}from"./Dialog-BYWIfl38.js";import{e as $t,f as Et,u as Re,m as $e,c as U,n as Kt,b as Xt,h as Ue,q as Pe,d as Vt,i as ke,s as Wn,_ as Le,k as Hn}from"./AdminComponentEasyAccessSet__loadShare__react__loadShare__.js-VQUi_FZ-.js";import{i as V,d as go,g as Ne,j as Ke,u as ge,c as ie,o as ye,T as Ur,k as Wr,l as so,b as Be,e as uo,s as ca,P as Vn,m as Hr,n as Gn,p as fo,q as Ro,G as pa}from"./useSlot-Chpl3Bui.js";import{t as g0,v as m0}from"./useSlot-Chpl3Bui.js";import{a as _n,u as fe,P as ae}from"./useTheme-7761-x-Y.js";import{c as zo,k as jo}from"./GlobalStyles-C2Ehq_Bw.js";import{C as v0,E as h0,S as y0,T as x0,g as C0,u as S0}from"./ThemeProvider-BNoRgKuj.js";import{_ as Zr}from"./AdminComponentEasyAccessSet__loadShare__react_mf_2_dom__loadShare__.js-CYi6jjIv.js";import"./AdminComponentEasyAccessSet__loadShare__react__loadShare__.js_commonjs-proxy-xiMWmJG0.js";function zm(t,e){return()=>null}function jm(t,e){return()=>null}function Dm(t,e,o,r,n){return null}const Vr=t=>{const e=$t({});return Et(()=>{e.current=t}),e.current};function Xn(t){return Re.toArray(t).filter(e=>$e(e))}function da(t={}){const{themeId:e,defaultTheme:o,defaultClassName:r="MuiBox-root",generateClassName:n}=t,s=Es("div",{shouldForwardProp:i=>i!=="theme"&&i!=="sx"&&i!=="as"})(Ss);return U(function(l,c){const p=_n(o),{className:u,component:f="div",...m}=cr(l);return d.jsx(s,{as:f,ref:c,className:O(u,n?n(r):r),theme:e&&p[e]||p,...m})})}const Gr=Us(),ua=jr(),fa=Gr("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[`maxWidth${T(String(o.maxWidth))}`],o.fixed&&e.fixed,o.disableGutters&&e.disableGutters]}}),ga=t=>Dr({props:t,name:"MuiContainer",defaultTheme:ua}),ma=(t,e)=>{const o=l=>K(e,l),{classes:r,fixed:n,disableGutters:s,maxWidth:a}=t,i={root:["root",a&&`maxWidth${T(String(a))}`,n&&"fixed",s&&"disableGutters"]};return _(i,o,r)};function ba(t={}){const{createStyledComponent:e=fa,useThemeProps:o=ga,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 U(function(i,l){const c=o(i),{className:p,component:u="div",disableGutters:f=!1,fixed:m=!1,maxWidth:h="lg",classes:g,...b}=c,v={...c,component:u,disableGutters:f,fixed:m,maxWidth:h},y=ma(v,r);return d.jsx(n,{as:u,ownerState:v,className:O(y.root,p),ref:l,...b})})}const va=(t,e)=>t.filter(o=>e.includes(o)),mo=(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:va(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 sr(t){return`--Grid-${t}Spacing`}function dr(t){return`--Grid-parent-${t}Spacing`}const Jr="--Grid-columns",po="--Grid-parent-columns",ha=({theme:t,ownerState:e})=>{const o={};return mo(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(${po}) - (var(${po}) - ${n}) * (var(${dr("column")}) / var(${po})))`}),r(o,s)}),o},ya=({theme:t,ownerState:e})=>{const o={};return mo(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(${po}) + var(${dr("column")}) * ${n} / var(${po}))`}),r(o,s)}),o},xa=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={[Jr]:12};return mo(t.breakpoints,e.columns,(r,n)=>{const s=n??12;r(o,{[Jr]:s,"> *":{[po]:s}})}),o},Ca=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={};return mo(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,{[sr("row")]:s,"> *":{[dr("row")]:s}})}),o},Sa=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={};return mo(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,{[sr("column")]:s,"> *":{[dr("column")]:s}})}),o},wa=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={};return mo(t.breakpoints,e.direction,(r,n)=>{r(o,{flexDirection:n})}),o},$a=({ownerState:t})=>({minWidth:0,boxSizing:"border-box",...t.container&&{display:"flex",flexWrap:"wrap",...t.wrap&&t.wrap!=="wrap"&&{flexWrap:t.wrap},gap:`var(${sr("row")}) var(${sr("column")})`}}),Pa=t=>{const e=[];return Object.entries(t).forEach(([o,r])=>{r!==!1&&r!==void 0&&e.push(`grid-${o}-${String(r)}`)}),e},ka=(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[]},Ra=t=>t===void 0?[]:typeof t=="object"?Object.entries(t).map(([e,o])=>`direction-${e}-${o}`):[`direction-xs-${String(t)}`];function Ta(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 Ia=jr(),Ma=Gr("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>e.root});function Aa(t){return Dr({props:t,name:"MuiGrid",defaultTheme:Ia})}function Ba(t={}){const{createStyledComponent:e=Ma,useThemeProps:o=Aa,useTheme:r=_n,componentName:n="MuiGrid"}=t,s=(c,p)=>{const{container:u,direction:f,spacing:m,wrap:h,size:g}=c,b={root:["root",u&&"container",h!=="wrap"&&`wrap-xs-${String(h)}`,...Ra(f),...Pa(g),...u?ka(m,p.breakpoints.keys[0]):[]]};return _(b,v=>K(n,v),{})};function a(c,p,u=()=>!0){const f={};return c===null||(Array.isArray(c)?c.forEach((m,h)=>{m!==null&&u(m)&&p.keys[h]&&(f[p.keys[h]]=m)}):typeof c=="object"?Object.keys(c).forEach(m=>{const h=c[m];h!=null&&u(h)&&(f[m]=h)}):f[p.keys[0]]=c),f}const i=e(xa,Sa,Ca,ha,wa,$a,ya),l=U(function(p,u){const f=r(),m=o(p),h=cr(m);Ta(h,f.breakpoints);const{className:g,children:b,columns:v=12,container:y=!1,component:x="div",direction:w="row",wrap:P="wrap",size:B={},offset:$={},spacing:M=0,rowSpacing:k=M,columnSpacing:I=M,unstable_level:E=0,...A}=h,S=a(B,f.breakpoints,H=>H!==!1),R=a($,f.breakpoints),W=p.columns??(E?void 0:v),z=p.spacing??(E?void 0:M),rt=p.rowSpacing??p.spacing??(E?void 0:k),j=p.columnSpacing??p.spacing??(E?void 0:I),Q={...h,level:E,columns:W,container:y,direction:w,wrap:P,spacing:z,rowSpacing:rt,columnSpacing:j,size:S,offset:R},ct=s(Q,f);return d.jsx(i,{ref:u,as:x,ownerState:Q,className:O(ct.root,g),...A,children:Re.map(b,H=>{var Tt;return $e(H)&&pr(H,["Grid"])&&y&&H.props.container?Kt(H,{unstable_level:((Tt=H.props)==null?void 0:Tt.unstable_level)??E+1}):H})})});return l.muiName="Grid",l}const La=jr(),Na=Gr("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function Oa(t){return Dr({props:t,name:"MuiStack",defaultTheme:La})}function za(t,e){const o=Re.toArray(t).filter(Boolean);return o.reduce((r,n,s)=>(r.push(n),s<o.length-1&&r.push(Kt(e,{key:`separator-${s}`})),r),[])}const ja=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],Da=({ownerState:t,theme:e})=>{let o={display:"flex",flexDirection:"column",...Io({theme:e},oo({values:t.direction,breakpoints:e.breakpoints.values}),r=>({flexDirection:r}))};if(t.spacing){const r=ws(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=oo({values:t.direction,base:n}),a=oo({values:t.spacing,base:n});typeof s=="object"&&Object.keys(s).forEach((l,c,p)=>{if(!s[l]){const f=c>0?s[p[c-1]]:"column";s[l]=f}}),o=zn(o,Io({theme:e},a,(l,c)=>t.useFlexGap?{gap:Yr(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${ja(c?s[c]:t.direction)}`]:Yr(r,l)}}))}return o=$s(e.breakpoints,o),o};function Fa(t={}){const{createStyledComponent:e=Na,useThemeProps:o=Oa,componentName:r="MuiStack"}=t,n=()=>_({root:["root"]},l=>K(r,l),{}),s=e(Da);return U(function(l,c){const p=o(l),u=cr(p),{component:f="div",direction:m="column",spacing:h=0,divider:g,children:b,className:v,useFlexGap:y=!1,...x}=u,w={direction:m,spacing:h,useFlexGap:y},P=n();return d.jsx(s,{as:f,ownerState:w,ref:c,className:O(P.root,v),...x,children:g?za(b,g):b})})}const Fm={configure:t=>{Dn.configure(t)}};function Em(t){const{defaultProps:e={},mixins:o={},overrides:r={},palette:n={},props:s={},styleOverrides:a={},...i}=t,l={...i,components:{}};Object.keys(e).forEach(g=>{const b=l.components[g]||{};b.defaultProps=e[g],l.components[g]=b}),Object.keys(s).forEach(g=>{const b=l.components[g]||{};b.defaultProps=s[g],l.components[g]=b}),Object.keys(a).forEach(g=>{const b=l.components[g]||{};b.styleOverrides=a[g],l.components[g]=b}),Object.keys(r).forEach(g=>{const b=l.components[g]||{};b.styleOverrides=r[g],l.components[g]=b}),l.spacing=Ps(t.spacing);const c=ks(t.breakpoints||{}),p=l.spacing;l.mixins={gutters:(g={})=>({paddingLeft:p(2),paddingRight:p(2),...g,[c.up("sm")]:{paddingLeft:p(3),paddingRight:p(3),...g[c.up("sm")]}}),...o};const{type:u,mode:f,...m}=n,h=f||u||"light";return l.palette={text:{hint:h==="dark"?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:h,type:h,...m},l}function Um(t,...e){return jn(zn({unstable_strictMode:!0},t),...e)}let Qr=!1;function Wm(t){return Qr||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join(`
`)),Qr=!0),t}function tn(t){return String(parseFloat(t)).length===String(t).length}function qn(t){return String(t).match(/[\d.\-+]*\s*(.*)/)[1]||""}function _e(t){return parseFloat(t)}function Ea(t){return(e,o)=>{const r=qn(e);if(r===o)return e;let n=_e(e);r!=="px"&&(r==="em"||r==="rem")&&(n=_e(e)*_e(t));let s=n;if(o!=="px")if(o==="em")s=n/_e(t);else if(o==="rem")s=n/_e(t);else return e;return parseFloat(s.toFixed(5))+o}}function Ua({size:t,grid:e}){const o=t-t%e,r=o+e;return t-o<r-t?o:r}function Wa({lineHeight:t,pixels:e,htmlFontSize:o}){return e/(t*o)}function Ha({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 Hm(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=Ea(i.htmlFontSize),c=o.map(p=>a.breakpoints.values[p]);return s.forEach(p=>{const u=i[p];if(!u)return;const f=parseFloat(l(u.fontSize,"rem"));if(f<=1)return;const m=f,h=1+(m-1)/n;let{lineHeight:g}=u;if(!tn(g)&&!r)throw new Error(No(6));tn(g)||(g=parseFloat(l(g,"rem"))/parseFloat(f));let b=null;r||(b=v=>Ua({size:v,grid:Wa({pixels:4,lineHeight:g,htmlFontSize:i.htmlFontSize})})),i[p]={...u,...Ha({cssProperty:"fontSize",min:h,max:m,unit:"rem",breakpoints:c,transform:b})}}),a}function Vm(){throw new Error(No(14))}function Gm(){throw new Error(No(15))}function _m(){throw new Error(No(16))}let en=!1;function Xm(...t){return en||(console.warn(["MUI: The `experimental_extendTheme` has been stabilized.","","You should use `import { extendTheme } from '@mui/material/styles'`"].join(`
`)),en=!0),Rs(...t)}function qm(){throw new Error(No(19))}const Va={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"},Ga={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"},_a={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"},Xa={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"},Ya={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"},Ka={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"},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"},Ym=Object.freeze(Object.defineProperty({__proto__:null,amber:Za,blue:Ts,blueGrey:ti,brown:Qa,common:Is,cyan:Xa,deepOrange:Ja,deepPurple:Ga,green:Ms,grey:As,indigo:_a,lightBlue:Bs,lightGreen:Ya,lime:Ka,orange:Ls,pink:Va,purple:Ns,red:Os,teal:qa,yellow:Ds},Symbol.toStringTag,{value:"Module"})),ei=t=>{const{absolute:e,children:o,classes:r,flexItem:n,light:s,orientation:a,textAlign:i,variant:l}=t;return _({root:["root",e&&"absolute",l,s&&"light",a==="vertical"&&"vertical",n&&"flexItem",o&&"withChildren",o&&a==="vertical"&&"withChildrenVertical",i==="right"&&a!=="vertical"&&"textAlignRight",i==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},Vs,r)},oi=C("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,o.absolute&&e.absolute,e[o.variant],o.light&&e.light,o.orientation==="vertical"&&e.vertical,o.flexItem&&e.flexItem,o.children&&e.withChildren,o.children&&o.orientation==="vertical"&&e.withChildrenVertical,o.textAlign==="right"&&o.orientation!=="vertical"&&e.textAlignRight,o.textAlign==="left"&&o.orientation!=="vertical"&&e.textAlignLeft]}})(F(({theme:t})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:Rt(t.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:t.spacing(2),marginRight:t.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:t.spacing(1),marginBottom:t.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&e.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>e.orientation==="vertical"&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>e.textAlign==="right"&&e.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>e.textAlign==="left"&&e.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),ri=C("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.wrapper,o.orientation==="vertical"&&e.wrapperVertical]}})(F(({theme:t})=>({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`}}]}))),on=U(function(e,o){const r=q({props:e,name:"MuiDivider"}),{absolute:n=!1,children:s,className:a,orientation:i="horizontal",component:l=s||i==="vertical"?"div":"hr",flexItem:c=!1,light:p=!1,role:u=l!=="hr"?"separator":void 0,textAlign:f="center",variant:m="fullWidth",...h}=r,g={...r,absolute:n,component:l,flexItem:c,light:p,orientation:i,role:u,textAlign:f,variant:m},b=ei(g);return d.jsx(oi,{as:l,className:O(b.root,a),role:u,ref:o,ownerState:g,"aria-orientation":u==="separator"&&(l!=="hr"||i==="vertical")?i:void 0,...h,children:s?d.jsx(ri,{className:b.wrapper,ownerState:g,children:s}):null})});on&&(on.muiSkipListHighlight=!0);const ni=t=>{const{alignItems:e,classes:o}=t;return _({root:["root",e==="flex-start"&&"alignItemsFlexStart"]},Gs,o)},si=C("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,o.alignItems==="flex-start"&&e.alignItemsFlexStart]}})(F(({theme:t})=>({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),Km=U(function(e,o){const r=q({props:e,name:"MuiListItemIcon"}),{className:n,...s}=r,a=Xt(Mo),i={...r,alignItems:a.alignItems},l=ni(i);return d.jsx(si,{className:O(l.root,n),ownerState:i,ref:o,...s})}),ai=t=>{const{classes:e,inset:o,primary:r,secondary:n,dense:s}=t;return _({root:["root",o&&"inset",s&&"dense",r&&n&&"multiline"],primary:["primary"],secondary:["secondary"]},_s,e)},ii=C("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[{[`& .${Ho.primary}`]:e.primary},{[`& .${Ho.secondary}`]:e.secondary},e.root,o.inset&&e.inset,o.primary&&o.secondary&&e.multiline,o.dense&&e.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${nr.root}:where(& .${Ho.primary})`]:{display:"block"},[`.${nr.root}:where(& .${Ho.secondary})`]:{display:"block"},variants:[{props:({ownerState:t})=>t.primary&&t.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:56}}]}),Zm=U(function(e,o){const r=q({props:e,name:"MuiListItemText"}),{children:n,className:s,disableTypography:a=!1,inset:i=!1,primary:l,primaryTypographyProps:c,secondary:p,secondaryTypographyProps:u,slots:f={},slotProps:m={},...h}=r,{dense:g}=Xt(Mo);let b=l??n,v=p;const y={...r,disableTypography:a,inset:i,primary:!!b,secondary:!!v,dense:g},x=ai(y),w={slots:f,slotProps:{primary:c,secondary:u,...m}},[P,B]=V("root",{className:O(x.root,s),elementType:ii,externalForwardedProps:{...w,...h},ownerState:y,ref:o}),[$,M]=V("primary",{className:x.primary,elementType:de,externalForwardedProps:w,ownerState:y}),[k,I]=V("secondary",{className:x.secondary,elementType:de,externalForwardedProps:w,ownerState:y});return b!=null&&b.type!==de&&!a&&(b=d.jsx($,{variant:g?"body2":"body1",component:M!=null&&M.variant?void 0:"span",...M,children:b})),v!=null&&v.type!==de&&!a&&(v=d.jsx(k,{variant:"body2",color:"textSecondary",...I,children:v})),d.jsxs(P,{...B,children:[b,v]})});function li(t){return K("MuiSkeleton",t)}const Jm=Z("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]),ci=t=>{const{classes:e,variant:o,animation:r,hasChildren:n,width:s,height:a}=t;return _({root:["root",o,r,n&&"withChildren",n&&!s&&"fitContent",n&&!a&&"heightAuto"]},li,e)},Tr=jo`
0% {
opacity: 1;
}
50% {
opacity: 0.4;
}
100% {
opacity: 1;
}
`,Ir=jo`
0% {
transform: translateX(-100%);
}
50% {
/* +0.5s of delay between each loop */
transform: translateX(100%);
}
100% {
transform: translateX(100%);
}
`,pi=typeof Tr!="string"?zo`
animation: ${Tr} 2s ease-in-out 0.5s infinite;
`:null,di=typeof Ir!="string"?zo`
&::after {
animation: ${Ir} 2s linear 0.5s infinite;
}
`:null,ui=C("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[o.variant],o.animation!==!1&&e[o.animation],o.hasChildren&&e.withChildren,o.hasChildren&&!o.width&&e.fitContent,o.hasChildren&&!o.height&&e.heightAuto]}})(F(({theme:t})=>{const e=qn(t.shape.borderRadius)||"px",o=_e(t.shape.borderRadius);return{display:"block",backgroundColor:t.vars?t.vars.palette.Skeleton.bg:Rt(t.palette.text.primary,t.palette.mode==="light"?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${o}${e}/${Math.round(o/.6*10)/10}${e}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:({ownerState:r})=>r.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:r})=>r.hasChildren&&!r.width,style:{maxWidth:"fit-content"}},{props:({ownerState:r})=>r.hasChildren&&!r.height,style:{height:"auto"}},{props:{animation:"pulse"},style:pi||{animation:`${Tr} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(
90deg,
transparent,
${(t.vars||t).palette.action.hover},
transparent
)`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:di||{"&::after":{animation:`${Ir} 2s linear 0.5s infinite`}}}]}})),Qm=U(function(e,o){const r=q({props:e,name:"MuiSkeleton"}),{animation:n="pulse",className:s,component:a="span",height:i,style:l,variant:c="text",width:p,...u}=r,f={...r,animation:n,component:a,variant:c,hasChildren:!!u.children},m=ci(f);return d.jsx(ui,{as:a,ref:o,className:O(m.root,s),ownerState:f,...u,style:{width:p,height:i,...l}})}),fi=(t,e)=>{const{ownerState:o}=t;return[e.root,o.dense&&e.dense,o.alignItems==="flex-start"&&e.alignItemsFlexStart,o.divider&&e.divider,!o.disableGutters&&e.gutters]},gi=t=>{const{alignItems:e,classes:o,dense:r,disabled:n,disableGutters:s,divider:a,selected:i}=t,c=_({root:["root",r&&"dense",!s&&"gutters",a&&"divider",n&&"disabled",e==="flex-start"&&"alignItemsFlexStart",i&&"selected"]},Xs,o);return{...o,...c}},mi=C(me,{shouldForwardProp:t=>Fe(t)||t==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:fi})(F(({theme:t})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${yo.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Rt(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${yo.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Rt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${yo.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Rt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Rt(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${yo.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${yo.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},variants:[{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.dense,style:{paddingTop:4,paddingBottom:4}}]}))),tb=U(function(e,o){const r=q({props:e,name:"MuiListItemButton"}),{alignItems:n="center",autoFocus:s=!1,component:a="div",children:i,dense:l=!1,disableGutters:c=!1,divider:p=!1,focusVisibleClassName:u,selected:f=!1,className:m,...h}=r,g=Xt(Mo),b=Ue(()=>({dense:l||g.dense||!1,alignItems:n,disableGutters:c}),[n,g.dense,l,c]),v=$t(null);go(()=>{s&&v.current&&v.current.focus()},[s]);const y={...r,alignItems:n,dense:b.dense,disableGutters:c,divider:p,selected:f},x=gi(y),w=Ne(v,o);return d.jsx(Mo.Provider,{value:b,children:d.jsx(mi,{ref:w,href:h.href||h.to,component:(h.href||h.to)&&a==="div"?"button":a,focusVisibleClassName:O(x.focusVisible,u),ownerState:y,className:O(x.root,m),...h,classes:x,children:i})})});function bi(t){return K("MuiTab",t)}const he=Z("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),vi=t=>{const{classes:e,textColor:o,fullWidth:r,wrapped:n,icon:s,label:a,selected:i,disabled:l}=t,c={root:["root",s&&a&&"labelIcon",`textColor${T(o)}`,r&&"fullWidth",n&&"wrapped",i&&"selected",l&&"disabled"],icon:["iconWrapper","icon"]};return _(c,bi,e)},hi=C(me,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,o.label&&o.icon&&e.labelIcon,e[`textColor${T(o.textColor)}`],o.fullWidth&&e.fullWidth,o.wrapped&&e.wrapped,{[`& .${he.iconWrapper}`]:e.iconWrapper},{[`& .${he.icon}`]:e.icon}]}})(F(({theme:t})=>({...t.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:e})=>e.label&&(e.iconPosition==="top"||e.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:e})=>e.label&&e.iconPosition!=="top"&&e.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:e})=>e.icon&&e.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:e,iconPosition:o})=>e.icon&&e.label&&o==="top",style:{[`& > .${he.icon}`]:{marginBottom:6}}},{props:({ownerState:e,iconPosition:o})=>e.icon&&e.label&&o==="bottom",style:{[`& > .${he.icon}`]:{marginTop:6}}},{props:({ownerState:e,iconPosition:o})=>e.icon&&e.label&&o==="start",style:{[`& > .${he.icon}`]:{marginRight:t.spacing(1)}}},{props:({ownerState:e,iconPosition:o})=>e.icon&&e.label&&o==="end",style:{[`& > .${he.icon}`]:{marginLeft:t.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${he.selected}`]:{opacity:1},[`&.${he.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(t.vars||t).palette.text.secondary,[`&.${he.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${he.disabled}`]:{color:(t.vars||t).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(t.vars||t).palette.text.secondary,[`&.${he.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${he.disabled}`]:{color:(t.vars||t).palette.text.disabled}}},{props:({ownerState:e})=>e.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:e})=>e.wrapped,style:{fontSize:t.typography.pxToRem(12)}}]}))),eb=U(function(e,o){const r=q({props:e,name:"MuiTab"}),{className:n,disabled:s=!1,disableFocusRipple:a=!1,fullWidth:i,icon:l,iconPosition:c="top",indicator:p,label:u,onChange:f,onClick:m,onFocus:h,selected:g,selectionFollowsFocus:b,textColor:v="inherit",value:y,wrapped:x=!1,...w}=r,P={...r,disabled:s,disableFocusRipple:a,selected:g,icon:!!l,iconPosition:c,label:!!u,fullWidth:i,textColor:v,wrapped:x},B=vi(P),$=l&&u&&$e(l)?Kt(l,{className:O(B.icon,l.props.className)}):l,M=I=>{!g&&f&&f(I,y),m&&m(I)},k=I=>{b&&!g&&f&&f(I,y),h&&h(I)};return d.jsxs(hi,{focusRipple:!a,className:O(B.root,n),ref:o,role:"tab","aria-selected":g,disabled:s,onClick:M,onFocus:k,ownerState:P,tabIndex:g?0:-1,...w,children:[c==="top"||c==="start"?d.jsxs(Pe,{children:[$,u]}):d.jsxs(Pe,{children:[u,$]}),p]})});function yi(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function xi(t,e,o,r={},n=()=>{}){const{ease:s=yi,duration:a=300}=r;let i=null;const l=e[t];let c=!1;const p=()=>{c=!0},u=f=>{if(c){n(new Error("Animation cancelled"));return}i===null&&(i=f);const m=Math.min(1,(f-i)/a);if(e[t]=s(m)*(o-l)+l,m>=1){requestAnimationFrame(()=>{n(null)});return}requestAnimationFrame(u)};return l===o?(n(new Error("Element already at target position")),p):(requestAnimationFrame(u),p)}const Ci={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Si(t){const{onChange:e,...o}=t,r=$t(),n=$t(null),s=()=>{r.current=n.current.offsetHeight-n.current.clientHeight};return go(()=>{const a=Fr(()=>{const l=r.current;s(),l!==r.current&&e(r.current)}),i=Ye(n.current);return i.addEventListener("resize",a),()=>{a.clear(),i.removeEventListener("resize",a)}},[e]),Et(()=>{s(),e(r.current)},[e]),d.jsx("div",{style:Ci,...o,ref:n})}const Yn=qt(d.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Kn=qt(d.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function wi(t){return K("MuiTabScrollButton",t)}const $i=Z("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Pi=t=>{const{classes:e,orientation:o,disabled:r}=t;return _({root:["root",o,r&&"disabled"]},wi,e)},ki=C(me,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,o.orientation&&e[o.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${$i.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),Ri=U(function(e,o){const r=q({props:e,name:"MuiTabScrollButton"}),{className:n,slots:s={},slotProps:a={},direction:i,orientation:l,disabled:c,...p}=r,u=Ke(),f={isRtl:u,...r},m=Pi(f),h=s.StartScrollButtonIcon??Yn,g=s.EndScrollButtonIcon??Kn,b=ge({elementType:h,externalSlotProps:a.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f}),v=ge({elementType:g,externalSlotProps:a.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f});return d.jsx(ki,{component:"div",className:O(m.root,n),ref:o,role:null,ownerState:f,tabIndex:null,...p,style:{...p.style,...l==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${u?-90:90}deg)`}},children:i==="left"?d.jsx(h,{...b}):d.jsx(g,{...v})})});function Ti(t){return K("MuiTabs",t)}const gr=Z("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),rn=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,nn=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,Vo=(t,e,o)=>{let r=!1,n=o(t,e);for(;n;){if(n===t.firstChild){if(r)return;r=!0}const s=n.disabled||n.getAttribute("aria-disabled")==="true";if(!n.hasAttribute("tabindex")||s)n=o(t,n);else{n.focus();return}}},Ii=t=>{const{vertical:e,fixed:o,hideScrollbar:r,scrollableX:n,scrollableY:s,centered:a,scrollButtonsHideMobile:i,classes:l}=t;return _({root:["root",e&&"vertical"],scroller:["scroller",o&&"fixed",r&&"hideScrollbar",n&&"scrollableX",s&&"scrollableY"],list:["list","flexContainer",e&&"flexContainerVertical",e&&"vertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",i&&"scrollButtonsHideMobile"],scrollableX:[n&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},Ti,l)},Mi=C("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[{[`& .${gr.scrollButtons}`]:e.scrollButtons},{[`& .${gr.scrollButtons}`]:o.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,o.vertical&&e.vertical]}})(F(({theme:t})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.scrollButtonsHideMobile,style:{[`& .${gr.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}}]}))),Ai=C("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.scroller,o.fixed&&e.fixed,o.hideScrollbar&&e.hideScrollbar,o.scrollableX&&e.scrollableX,o.scrollableY&&e.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:t})=>t.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:t})=>t.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:t})=>t.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:t})=>t.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),Bi=C("div",{name:"MuiTabs",slot:"List",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.list,e.flexContainer,o.vertical&&e.flexContainerVertical,o.centered&&e.centered]}})({display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.centered,style:{justifyContent:"center"}}]}),Li=C("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})(F(({theme:t})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(t.vars||t).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(t.vars||t).palette.secondary.main}},{props:({ownerState:e})=>e.vertical,style:{height:"100%",width:2,right:0}}]}))),Ni=C(Si)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),sn={},ob=U(function(e,o){const r=q({props:e,name:"MuiTabs"}),n=fe(),s=Ke(),{"aria-label":a,"aria-labelledby":i,action:l,centered:c=!1,children:p,className:u,component:f="div",allowScrollButtonsMobile:m=!1,indicatorColor:h="primary",onChange:g,orientation:b="horizontal",ScrollButtonComponent:v,scrollButtons:y="auto",selectionFollowsFocus:x,slots:w={},slotProps:P={},TabIndicatorProps:B={},TabScrollButtonProps:$={},textColor:M="primary",value:k,variant:I="standard",visibleScrollbar:E=!1,...A}=r,S=I==="scrollable",R=b==="vertical",W=R?"scrollTop":"scrollLeft",z=R?"top":"left",rt=R?"bottom":"right",j=R?"clientHeight":"clientWidth",Q=R?"height":"width",ct={...r,component:f,allowScrollButtonsMobile:m,indicatorColor:h,orientation:b,vertical:R,scrollButtons:y,textColor:M,variant:I,visibleScrollbar:E,fixed:!S,hideScrollbar:S&&!E,scrollableX:S&&!R,scrollableY:S&&R,centered:c&&!S,scrollButtonsHideMobile:!m},H=Ii(ct),Tt=ge({elementType:w.StartScrollButtonIcon,externalSlotProps:P.startScrollButtonIcon,ownerState:ct}),Nt=ge({elementType:w.EndScrollButtonIcon,externalSlotProps:P.endScrollButtonIcon,ownerState:ct}),[It,dt]=Vt(!1),[tt,G]=Vt(sn),[lt,ft]=Vt(!1),[vt,kt]=Vt(!1),[pt,ut]=Vt(!1),[ht,yt]=Vt({overflow:"hidden",scrollbarWidth:0}),Dt=new Map,X=$t(null),J=$t(null),ot={slots:w,slotProps:{indicator:B,scrollButton:$,...P}},xt=()=>{const nt=X.current;let it;if(nt){const At=nt.getBoundingClientRect();it={clientWidth:nt.clientWidth,scrollLeft:nt.scrollLeft,scrollTop:nt.scrollTop,scrollWidth:nt.scrollWidth,top:At.top,bottom:At.bottom,left:At.left,right:At.right}}let Mt;if(nt&&k!==!1){const At=J.current.children;if(At.length>0){const Ht=At[Dt.get(k)];Mt=Ht?Ht.getBoundingClientRect():null}}return{tabsMeta:it,tabMeta:Mt}},gt=ie(()=>{const{tabsMeta:nt,tabMeta:it}=xt();let Mt=0,At;R?(At="top",it&&nt&&(Mt=it.top-nt.top+nt.scrollTop)):(At=s?"right":"left",it&&nt&&(Mt=(s?-1:1)*(it[At]-nt[At]+nt.scrollLeft)));const Ht={[At]:Mt,[Q]:it?it[Q]:0};if(typeof tt[At]!="number"||typeof tt[Q]!="number")G(Ht);else{const ue=Math.abs(tt[At]-Ht[At]),we=Math.abs(tt[Q]-Ht[Q]);(ue>=1||we>=1)&&G(Ht)}}),Ct=(nt,{animation:it=!0}={})=>{it?xi(W,X.current,nt,{duration:n.transitions.duration.standard}):X.current[W]=nt},Bt=nt=>{let it=X.current[W];R?it+=nt:it+=nt*(s?-1:1),Ct(it)},Zt=()=>{const nt=X.current[j];let it=0;const Mt=Array.from(J.current.children);for(let At=0;At<Mt.length;At+=1){const Ht=Mt[At];if(it+Ht[j]>nt){At===0&&(it=nt);break}it+=Ht[j]}return it},D=()=>{Bt(-1*Zt())},Y=()=>{Bt(Zt())},[st,{onChange:mt,...bt}]=V("scrollbar",{className:O(H.scrollableX,H.hideScrollbar),elementType:Ni,shouldForwardComponentProp:!0,externalForwardedProps:ot,ownerState:ct}),et=ke(nt=>{mt==null||mt(nt),yt({overflow:null,scrollbarWidth:nt})},[mt]),[Ot,Yt]=V("scrollButtons",{className:O(H.scrollButtons,$.className),elementType:Ri,externalForwardedProps:ot,ownerState:ct,additionalProps:{orientation:b,slots:{StartScrollButtonIcon:w.startScrollButtonIcon||w.StartScrollButtonIcon,EndScrollButtonIcon:w.endScrollButtonIcon||w.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:Tt,endScrollButtonIcon:Nt}}}),Ft=()=>{const nt={};nt.scrollbarSizeListener=S?d.jsx(st,{...bt,onChange:et}):null;const Mt=S&&(y==="auto"&&(lt||vt)||y===!0);return nt.scrollButtonStart=Mt?d.jsx(Ot,{direction:s?"right":"left",onClick:D,disabled:!lt,...Yt}):null,nt.scrollButtonEnd=Mt?d.jsx(Ot,{direction:s?"left":"right",onClick:Y,disabled:!vt,...Yt}):null,nt},ee=ie(nt=>{const{tabsMeta:it,tabMeta:Mt}=xt();if(!(!Mt||!it)){if(Mt[z]<it[z]){const At=it[W]+(Mt[z]-it[z]);Ct(At,{animation:nt})}else if(Mt[rt]>it[rt]){const At=it[W]+(Mt[rt]-it[rt]);Ct(At,{animation:nt})}}}),Jt=ie(()=>{S&&y!==!1&&ut(!pt)});Et(()=>{const nt=Fr(()=>{X.current&>()});let it;const Mt=ue=>{ue.forEach(we=>{we.removedNodes.forEach(je=>{it==null||it.unobserve(je)}),we.addedNodes.forEach(je=>{it==null||it.observe(je)})}),nt(),Jt()},At=Ye(X.current);At.addEventListener("resize",nt);let Ht;return typeof ResizeObserver<"u"&&(it=new ResizeObserver(nt),Array.from(J.current.children).forEach(ue=>{it.observe(ue)})),typeof MutationObserver<"u"&&(Ht=new MutationObserver(Mt),Ht.observe(J.current,{childList:!0})),()=>{nt.clear(),At.removeEventListener("resize",nt),Ht==null||Ht.disconnect(),it==null||it.disconnect()}},[gt,Jt]),Et(()=>{const nt=Array.from(J.current.children),it=nt.length;if(typeof IntersectionObserver<"u"&&it>0&&S&&y!==!1){const Mt=nt[0],At=nt[it-1],Ht={root:X.current,threshold:.99},ue=Qt=>{ft(!Qt[0].isIntersecting)},we=new IntersectionObserver(ue,Ht);we.observe(Mt);const je=Qt=>{kt(!Qt[0].isIntersecting)},We=new IntersectionObserver(je,Ht);return We.observe(At),()=>{we.disconnect(),We.disconnect()}}},[S,y,pt,p==null?void 0:p.length]),Et(()=>{dt(!0)},[]),Et(()=>{gt()}),Et(()=>{ee(sn!==tt)},[ee,tt]),Wn(l,()=>({updateIndicator:gt,updateScrollButtons:Jt}),[gt,Jt]);const[le,Oe]=V("indicator",{className:O(H.indicator,B.className),elementType:Li,externalForwardedProps:ot,ownerState:ct,additionalProps:{style:tt}}),Te=d.jsx(le,{...Oe});let be=0;const re=Re.map(p,nt=>{if(!$e(nt))return null;const it=nt.props.value===void 0?be:nt.props.value;Dt.set(it,be);const Mt=it===k;return be+=1,Kt(nt,{fullWidth:I==="fullWidth",indicator:Mt&&!It&&Te,selected:Mt,selectionFollowsFocus:x,onChange:g,textColor:M,value:it,...be===1&&k===!1&&!nt.props.tabIndex?{tabIndex:0}:{}})}),Ce=nt=>{if(nt.altKey||nt.shiftKey||nt.ctrlKey||nt.metaKey)return;const it=J.current,Mt=ye(it).activeElement;if(Mt.getAttribute("role")!=="tab")return;let Ht=b==="horizontal"?"ArrowLeft":"ArrowUp",ue=b==="horizontal"?"ArrowRight":"ArrowDown";switch(b==="horizontal"&&s&&(Ht="ArrowRight",ue="ArrowLeft"),nt.key){case Ht:nt.preventDefault(),Vo(it,Mt,nn);break;case ue:nt.preventDefault(),Vo(it,Mt,rn);break;case"Home":nt.preventDefault(),Vo(it,null,rn);break;case"End":nt.preventDefault(),Vo(it,null,nn);break}},zt=Ft(),[Wt,ne]=V("root",{ref:o,className:O(H.root,u),elementType:Mi,externalForwardedProps:{...ot,...A,component:f},ownerState:ct}),[Se,se]=V("scroller",{ref:X,className:H.scroller,elementType:Ai,externalForwardedProps:ot,ownerState:ct,additionalProps:{style:{overflow:ht.overflow,[R?`margin${s?"Left":"Right"}`:"marginBottom"]:E?void 0:-ht.scrollbarWidth}}}),[ze,vo]=V("list",{ref:J,className:O(H.list,H.flexContainer),elementType:Bi,externalForwardedProps:ot,ownerState:ct,getSlotProps:nt=>({...nt,onKeyDown:it=>{var Mt;Ce(it),(Mt=nt.onKeyDown)==null||Mt.call(nt,it)}})});return d.jsxs(Wt,{...ne,children:[zt.scrollButtonStart,zt.scrollbarSizeListener,d.jsxs(Se,{...se,children:[d.jsx(ze,{"aria-label":a,"aria-labelledby":i,"aria-orientation":b==="vertical"?"vertical":null,role:"tablist",...vo,children:re}),It&&Te]}),zt.scrollButtonEnd]})});function Oi(t){return K("MuiCollapse",t)}const rb=Z("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]),zi=t=>{const{orientation:e,classes:o}=t,r={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return _(r,Oi,o)},ji=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]}})(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"}}]}))),Di=C("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Fi=C("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Bo=U(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:u,onEntered:f,onEntering:m,onExit:h,onExited:g,onExiting:b,orientation:v="vertical",style:y,timeout:x=zs.standard,TransitionComponent:w=Ur,...P}=r,B={...r,orientation:v,collapsedSize:i},$=zi(B),M=fe(),k=Wr(),I=$t(null),E=$t(),A=typeof i=="number"?`${i}px`:i,S=v==="horizontal",R=S?"width":"height",W=$t(null),z=Ne(o,W),rt=tt=>G=>{if(tt){const lt=W.current;G===void 0?tt(lt):tt(lt,G)}},j=()=>I.current?I.current[S?"clientWidth":"clientHeight"]:0,Q=rt((tt,G)=>{I.current&&S&&(I.current.style.position="absolute"),tt.style[R]=A,u&&u(tt,G)}),ct=rt((tt,G)=>{const lt=j();I.current&&S&&(I.current.style.position="");const{duration:ft,easing:vt}=so({style:y,timeout:x,easing:c},{mode:"enter"});if(x==="auto"){const kt=M.transitions.getAutoHeightDuration(lt);tt.style.transitionDuration=`${kt}ms`,E.current=kt}else tt.style.transitionDuration=typeof ft=="string"?ft:`${ft}ms`;tt.style[R]=`${lt}px`,tt.style.transitionTimingFunction=vt,m&&m(tt,G)}),H=rt((tt,G)=>{tt.style[R]="auto",f&&f(tt,G)}),Tt=rt(tt=>{tt.style[R]=`${j()}px`,h&&h(tt)}),Nt=rt(g),It=rt(tt=>{const G=j(),{duration:lt,easing:ft}=so({style:y,timeout:x,easing:c},{mode:"exit"});if(x==="auto"){const vt=M.transitions.getAutoHeightDuration(G);tt.style.transitionDuration=`${vt}ms`,E.current=vt}else tt.style.transitionDuration=typeof lt=="string"?lt:`${lt}ms`;tt.style[R]=A,tt.style.transitionTimingFunction=ft,b&&b(tt)}),dt=tt=>{x==="auto"&&k.start(E.current||0,tt),n&&n(W.current,tt)};return d.jsx(w,{in:p,onEnter:Q,onEntered:H,onEntering:ct,onExit:Tt,onExited:Nt,onExiting:It,addEndListener:dt,nodeRef:W,timeout:x==="auto"?null:x,...P,children:(tt,{ownerState:G,...lt})=>d.jsx(ji,{as:l,className:O($.root,a,{entered:$.entered,exited:!p&&A==="0px"&&$.hidden}[tt]),style:{[S?"minWidth":"minHeight"]:A,...y},ref:z,ownerState:{...B,state:tt},...lt,children:d.jsx(Di,{ownerState:{...B,state:tt},className:$.wrapper,ref:I,children:d.jsx(Fi,{ownerState:{...B,state:tt},className:$.wrapperInner,children:s})})})})});Bo&&(Bo.muiSupportAuto=!0);const Zn=Le({});function Ei(t){return K("MuiAccordion",t)}const Go=Z("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),Ui=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"]},Ei,e)},Wi=C(Ee,{name:"MuiAccordion",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[{[`& .${Go.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"}},[`&.${Go.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${Go.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:{[`&.${Go.expanded}`]:{margin:"16px 0"}}}]}))),Hi=C("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(t,e)=>e.heading})({all:"unset"}),nb=U(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:u=!1,slots:f={},slotProps:m={},TransitionComponent:h,TransitionProps:g,...b}=r,[v,y]=Be({controlled:c,default:a,name:"Accordion",state:"expanded"}),x=ke(j=>{y(!v),p&&p(j