"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[1598],{26875:(e,a,t)=>{t.d(a,{A:()=>m});var r=t(83673),o=t(6614),s=t(7552),n=t(93878),l=t(60827),i=t(36715),d=t(31049),c=t(51148),p=t(63439),u=t(69500);const h=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],y=(0,c.Ay)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,a)=>(0,o.A)({[`& .${p.A.title}`]:a.title,[`& .${p.A.subheader}`]:a.subheader},a.root)})({display:"flex",alignItems:"center",padding:16}),A=(0,c.Ay)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,a)=>a.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),b=(0,c.Ay)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,a)=>a.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),v=(0,c.Ay)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,a)=>a.content})({flex:"1 1 auto"}),m=s.forwardRef((function(e,a){const t=(0,d.A)({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.A)(t,h),j=(0,o.A)({},t,{component:g,disableTypography:f}),N=(e=>{const{classes:a}=e;return(0,l.A)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},p.u,a)})(j);let R=w;null==R||R.type===i.A||f||(R=(0,u.jsx)(i.A,(0,o.A)({variant:c?"body2":"h5",className:N.title,component:"span",display:"block"},T,{children:R})));let M=x;return null==M||M.type===i.A||f||(M=(0,u.jsx)(i.A,(0,o.A)({variant:c?"body2":"body1",className:N.subheader,color:"text.secondary",component:"span",display:"block"},C,{children:M}))),(0,u.jsxs)(y,(0,o.A)({className:(0,n.A)(N.root,m),as:g,ref:a,ownerState:j},H,{children:[c&&(0,u.jsx)(A,{className:N.avatar,ownerState:j,children:c}),(0,u.jsxs)(v,{className:N.content,ownerState:j,children:[R,M]}),s&&(0,u.jsx)(b,{className:N.action,ownerState:j,children:s})]}))}))},63439:(e,a,t)=>{t.d(a,{A:()=>n,u:()=>s});var r=t(55549),o=t(9577);function s(e){return(0,o.Ay)("MuiCardHeader",e)}const n=(0,r.A)("MuiCardHeader",["root","avatar","action","content","title","subheader"])},31598:(e,a,t)=>{t.r(a),t.d(a,{cardHeaderClasses:()=>o.A,default:()=>r.A,getCardHeaderUtilityClass:()=>o.u});var r=t(26875),o=t(63439)}}]);
//# sourceMappingURL=1598.ba77a97f.chunk.js.map