"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[7621],{31106:(e,a,t)=>{t.d(a,{A:()=>m});var r=t(7552),o=t(75100),n=t(61282),s=t(52960),l=t(80317),d=t(50864),i=t(54304),c=t(22020),p=t(69500);const u=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,a)=>[{[`& .${i.A.title}`]:a.title},{[`& .${i.A.subheader}`]:a.subheader},a.root]})({display:"flex",alignItems:"center",padding:16}),h=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Avatar"})({display:"flex",flex:"0 0 auto",marginRight:16}),y=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Action"})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),A=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Content"})({flex:"1 1 auto",[`.${s.A.root}:where(& .${i.A.title})`]:{display:"block"},[`.${s.A.root}:where(& .${i.A.subheader})`]:{display:"block"}}),m=r.forwardRef(function(e,a){const t=(0,d.b)({props:e,name:"MuiCardHeader"}),{action:r,avatar:s,component:l="div",disableTypography:m=!1,subheader:b,subheaderTypographyProps:w,title:v,titleTypographyProps:x,slots:g={},slotProps:f={},...C}=t,T={...t,component:l,disableTypography:m},P=(e=>{const{classes:a}=e;return(0,o.A)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},i.u,a)})(T),H={slots:g,slotProps:{title:x,subheader:w,...f}};let j=v;const[S,M]=(0,c.A)("title",{className:P.title,elementType:n.A,externalForwardedProps:H,ownerState:T,additionalProps:{variant:s?"body2":"h5",component:"span"}});null==j||j.type===n.A||m||(j=(0,p.jsx)(S,{...M,children:j}));let k=b;const[F,N]=(0,c.A)("subheader",{className:P.subheader,elementType:n.A,externalForwardedProps:H,ownerState:T,additionalProps:{variant:s?"body2":"body1",color:"textSecondary",component:"span"}});null==k||k.type===n.A||m||(k=(0,p.jsx)(F,{...N,children:k}));const[$,R]=(0,c.A)("root",{ref:a,className:P.root,elementType:u,externalForwardedProps:{...H,...C,component:l},ownerState:T}),[_,B]=(0,c.A)("avatar",{className:P.avatar,elementType:h,externalForwardedProps:H,ownerState:T}),[I,U]=(0,c.A)("content",{className:P.content,elementType:A,externalForwardedProps:H,ownerState:T}),[q,z]=(0,c.A)("action",{className:P.action,elementType:y,externalForwardedProps:H,ownerState:T});return(0,p.jsxs)($,{...R,children:[s&&(0,p.jsx)(_,{...B,children:s}),(0,p.jsxs)(I,{...U,children:[j,k]}),r&&(0,p.jsx)(q,{...z,children:r})]})})},54304:(e,a,t)=>{t.d(a,{A:()=>s,u:()=>n});var r=t(51062),o=t(2958);function n(e){return(0,o.Ay)("MuiCardHeader",e)}const s=(0,r.A)("MuiCardHeader",["root","avatar","action","content","title","subheader"])},97621:(e,a,t)=>{t.r(a),t.d(a,{cardHeaderClasses:()=>o.A,default:()=>r.A,getCardHeaderUtilityClass:()=>o.u});var r=t(31106),o=t(54304)}}]);
//# sourceMappingURL=7621.b15f0846.chunk.js.map