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