"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[785],{650785:function(o,r,t){t.r(r),t.d(r,{appBarClasses:function(){return v},default:function(){return m},getAppBarUtilityClass:function(){return f}});var a=t(263366),e=t(487462),n=t(667294),l=t(490512),i=t(794780),p=t(690948),s=t(471657),c=t(998216),u=t(411791),d=t(1588),k=t(34867);function f(o){return(0,k.Z)("MuiAppBar",o)}var v=(0,d.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]),b=t(785893);const g=["className","color","enableColorOnDark","position"],B=(o,r)=>o?`${null==o?void 0:o.replace(")","")}, ${r})`:r,x=(0,p.ZP)(u.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:(o,r)=>{const{ownerState:t}=o;return[r.root,r[`position${(0,c.Z)(t.position)}`],r[`color${(0,c.Z)(t.color)}`]]}})((({theme:o,ownerState:r})=>{const t="light"===o.palette.mode?o.palette.grey[100]:o.palette.grey[900];return(0,e.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===r.position&&{position:"fixed",zIndex:(o.vars||o).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===r.position&&{position:"absolute",zIndex:(o.vars||o).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===r.position&&{position:"sticky",zIndex:(o.vars||o).zIndex.appBar,top:0,left:"auto",right:0},"static"===r.position&&{position:"static"},"relative"===r.position&&{position:"relative"},!o.vars&&(0,e.Z)({},"default"===r.color&&{backgroundColor:t,color:o.palette.getContrastText(t)},r.color&&"default"!==r.color&&"inherit"!==r.color&&"transparent"!==r.color&&{backgroundColor:o.palette[r.color].main,color:o.palette[r.color].contrastText},"inherit"===r.color&&{color:"inherit"},"dark"===o.palette.mode&&!r.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===r.color&&(0,e.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===o.palette.mode&&{backgroundImage:"none"})),o.vars&&(0,e.Z)({},"default"===r.color&&{"--AppBar-background":r.enableColorOnDark?o.vars.palette.AppBar.defaultBg:B(o.vars.palette.AppBar.darkBg,o.vars.palette.AppBar.defaultBg),"--AppBar-color":r.enableColorOnDark?o.vars.palette.text.primary:B(o.vars.palette.AppBar.darkColor,o.vars.palette.text.primary)},r.color&&!r.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":r.enableColorOnDark?o.vars.palette[r.color].main:B(o.vars.palette.AppBar.darkBg,o.vars.palette[r.color].main),"--AppBar-color":r.enableColorOnDark?o.vars.palette[r.color].contrastText:B(o.vars.palette.AppBar.darkColor,o.vars.palette[r.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===r.color?"inherit":"var(--AppBar-color)"},"transparent"===r.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}));var m=n.forwardRef((function(o,r){const t=(0,s.Z)({props:o,name:"MuiAppBar"}),{className:n,color:p="primary",enableColorOnDark:u=!1,position:d="fixed"}=t,k=(0,a.Z)(t,g),v=(0,e.Z)({},t,{color:p,position:d,enableColorOnDark:u}),B=(o=>{const{color:r,position:t,classes:a}=o,e={root:["root",`color${(0,c.Z)(r)}`,`position${(0,c.Z)(t)}`]};return(0,i.Z)(e,f,a)})(v);return(0,b.jsx)(x,(0,e.Z)({square:!0,component:"header",ownerState:v,elevation:4,className:(0,l.Z)(B.root,n,"fixed"===d&&"mui-fixed"),ref:r},k))}))},998216:function(o,r,t){var a=t(14142);r.Z=a.Z}}]);