import{ak as d,al as g,r as b,an as m,ap as v,ah as e,j as f,am as x,as as T,at as R}from"./vendor-ClLR6ncd.js";function C(s){return d("MuiToolbar",s)}g("MuiToolbar",["root","gutters","regular","dense"]);const G=["className","component","disableGutters","variant"],j=s=>{const{classes:t,disableGutters:a,variant:o}=s;return T({root:["root",!a&&"gutters",o]},C,t)},y=R("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(s,t)=>{const{ownerState:a}=s;return[t.root,!a.disableGutters&&t.gutters,t[a.variant]]}})(({theme:s,ownerState:t})=>e({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:s,ownerState:t})=>t.variant==="regular"&&s.mixins.toolbar),U=b.forwardRef(function(t,a){const o=m({props:t,name:"MuiToolbar"}),{className:r,component:n="div",disableGutters:l=!1,variant:c="regular"}=o,u=v(o,G),i=e({},o,{component:n,disableGutters:l,variant:c}),p=j(i);return f.jsx(y,e({as:n,className:x(p.root,r),ref:a,ownerState:i},u))});export{U as T};
