import{r as i,bh as h,bi as L,d as f,bk as x,j as c,bm as C,bn as v}from"./index-43bf7a1c.js";function U(s){return typeof s=="string"}const y=i.createContext({}),P=y;function M(s){return h("MuiList",s)}L("MuiList",["root","padding","dense","subheader"]);const R=s=>{const{classes:e,disablePadding:t,dense:o,subheader:n}=s;return v({root:["root",!t&&"padding",o&&"dense",n&&"subheader"]},M,e)},j=f("ul",{name:"MuiList",slot:"Root",overridesResolver:(s,e)=>{const{ownerState:t}=s;return[e.root,!t.disablePadding&&e.padding,t.dense&&e.dense,t.subheader&&e.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:s})=>!s.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:s})=>s.subheader,style:{paddingTop:0}}]}),w=i.forwardRef(function(e,t){const o=x({props:e,name:"MuiList"}),{children:n,className:r,component:d="ul",dense:a=!1,disablePadding:p=!1,subheader:u,...b}=o,g=i.useMemo(()=>({dense:a}),[a]),l={...o,component:d,dense:a,disablePadding:p},m=R(l);return c.jsx(P.Provider,{value:g,children:c.jsxs(j,{as:d,className:C(m.root,r),ref:t,ownerState:l,...b,children:[u,n]})})}),E=w;export{E as L,P as a,U as i};
