1import{o as e}from"./chunk-zsgVPwQN.js";import{n as t,t as n}from"./jsx-runtime-DXhYoj5F.js";import{I as r,T as i,a,b as o,h as s,j as c,k as l,o as u,t as d,w as f,x as p}from"./DefaultPropsProvider-2y1vxoiZ.js";var m=p();function h(e){let{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:o(t.components[n].defaultProps,r)}function g({props:e,name:t,defaultTheme:n,themeId:r}){let i=l(n);return r&&(i=i[r]||i),h({theme:i,name:t,props:e})}var _=e(t()),v=n(),y=c(),b=m(`div`,{name:`MuiContainer`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`maxWidth${r(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),x=e=>g({props:e,name:`MuiContainer`,defaultTheme:y}),S=(e,t)=>{let n=e=>f(t,e),{classes:i,fixed:a,disableGutters:o,maxWidth:c}=e;return s({root:[`root`,c&&`maxWidth${r(String(c))}`,a&&`fixed`,o&&`disableGutters`]},n,i)};function C(e={}){let{createStyledComponent:t=b,useThemeProps:n=x,componentName:r=`MuiContainer`}=e,a=t(({theme:e,ownerState:t})=>({width:`100%`,marginLeft:`auto`,boxSizing:`border-box`,marginRight:`auto`,...!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up(`sm`)]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,n)=>{let r=n,i=e.breakpoints.values[r];return i!==0&&(t[e.breakpoints.up(r)]={maxWidth:`${i}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:t})=>({...t.maxWidth===`xs`&&{[e.breakpoints.up(`xs`)]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},...t.maxWidth&&t.maxWidth!==`xs`&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}}));return _.forwardRef(function(e,t){let o=n(e),{className:s,component:c=`div`,disableGutters:l=!1,fixed:u=!1,maxWidth:d=`lg`,classes:f,...p}=o,m={...o,component:c,disableGutters:l,fixed:u,maxWidth:d};return(0,v.jsx)(a,{as:c,ownerState:m,className:i(S(m,r).root,s),ref:t,...p})})}var w=C({createStyledComponent:u(`div`,{name:`MuiContainer`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`maxWidth${a(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>d({props:e,name:`MuiContainer`})});export{m as i,g as n,h as r,w as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.