"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[5224],{42809:(e,a,t)=>{t.d(a,{Z:()=>m});var r=t(55559),o=t(30984),s=t(66204),n=t(56317),l=t(58029),i=t(80013),d=t(57369),c=t(61125),p=t(4268),u=t(43188);const h=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],b=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,a)=>(0,o.Z)({[`& .${p.Z.title}`]:a.title,[`& .${p.Z.subheader}`]:a.subheader},a.root)})({display:"flex",alignItems:"center",padding:16}),v=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,a)=>a.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),y=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,a)=>a.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),Z=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,a)=>a.content})({flex:"1 1 auto"}),m=s.forwardRef((function(e,a){const t=(0,d.Z)({props:e,name:"MuiCardHeader"}),{action:s,avatar:c,className:m,component:g="div",disableTypography:f=!1,subheader:x,subheaderTypographyProps:C,title:w,titleTypographyProps:T}=t,H=(0,r.Z)(t,h),j=(0,o.Z)({},t,{component:g,disableTypography:f}),N=(e=>{const{classes:a}=e;return(0,l.Z)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},p.J,a)})(j);let P=w;null==P||P.type===i.Z||f||(P=(0,u.jsx)(i.Z,(0,o.Z)({variant:c?"body2":"h5",className:N.title,component:"span",display:"block"},T,{children:P})));let R=x;return null==R||R.type===i.Z||f||(R=(0,u.jsx)(i.Z,(0,o.Z)({variant:c?"body2":"body1",className:N.subheader,color:"text.secondary",component:"span",display:"block"},C,{children:R}))),(0,u.jsxs)(b,(0,o.Z)({className:(0,n.Z)(N.root,m),as:g,ref:a,ownerState:j},H,{children:[c&&(0,u.jsx)(v,{className:N.avatar,ownerState:j,children:c}),(0,u.jsxs)(Z,{className:N.content,ownerState:j,children:[P,R]}),s&&(0,u.jsx)(y,{className:N.action,ownerState:j,children:s})]}))}))},4268:(e,a,t)=>{t.d(a,{J:()=>s,Z:()=>n});var r=t(58109),o=t(95201);function s(e){return(0,o.Z)("MuiCardHeader",e)}const n=(0,r.Z)("MuiCardHeader",["root","avatar","action","content","title","subheader"])},45224:(e,a,t)=>{t.r(a),t.d(a,{cardHeaderClasses:()=>o.Z,default:()=>r.Z,getCardHeaderUtilityClass:()=>o.J});var r=t(42809),o=t(4268)}}]);
//# sourceMappingURL=5224.1838d258.chunk.js.map