"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[66],{500066:function(e,o,n){n.r(o),n.d(o,{cardMediaClasses:function(){return p},default:function(){return Z},getCardMediaUtilityClass:function(){return l}});var i=n(263366),r=n(487462),t=n(667294),a=n(490512),s=n(794780),d=n(471657),c=n(690948),m=n(1588),u=n(34867);function l(e){return(0,u.Z)("MuiCardMedia",e)}var p=(0,m.Z)("MuiCardMedia",["root","media","img"]),g=n(785893);const C=["children","className","component","image","src","style"],f=(0,c.ZP)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e,{isMediaComponent:i,isImageComponent:r}=n;return[o.root,i&&o.media,r&&o.img]}})((({ownerState:e})=>(0,r.Z)({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"}))),M=["video","audio","picture","iframe","img"],v=["picture","img"];var Z=t.forwardRef((function(e,o){const n=(0,d.Z)({props:e,name:"MuiCardMedia"}),{children:t,className:c,component:m="div",image:u,src:p,style:Z}=n,k=(0,i.Z)(n,C),b=-1!==M.indexOf(m),h=!b&&u?(0,r.Z)({backgroundImage:`url("${u}")`},Z):Z,w=(0,r.Z)({},n,{component:m,isMediaComponent:b,isImageComponent:-1!==v.indexOf(m)}),y=(e=>{const{classes:o,isMediaComponent:n,isImageComponent:i}=e,r={root:["root",n&&"media",i&&"img"]};return(0,s.Z)(r,l,o)})(w);return(0,g.jsx)(f,(0,r.Z)({className:(0,a.Z)(y.root,c),as:m,role:!b&&u?"img":void 0,ref:o,style:h,ownerState:w,src:b?u||p:void 0},k,{children:t}))}))}}]);