"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[1598],{26875:(e,a,t)=>{t.d(a,{A:()=>y});var r=t(7552),o=t(93878),s=t(70799),n=t(90175),l=t(36715),i=t(51148),d=t(4785),c=t(63439),u=t(69500);const h=(0,i.Ay)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,a)=>({[`& .${c.A.title}`]:a.title,[`& .${c.A.subheader}`]:a.subheader,...a.root})})({display:"flex",alignItems:"center",padding:16}),p=(0,i.Ay)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,a)=>a.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),b=(0,i.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,i.Ay)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,a)=>a.content})({flex:"1 1 auto",[`.${n.A.root}:where(& .${c.A.title})`]:{display:"block"},[`.${n.A.root}:where(& .${c.A.subheader})`]:{display:"block"}}),y=r.forwardRef((function(e,a){const t=(0,d.b)({props:e,name:"MuiCardHeader"}),{action:r,avatar:n,className:i,component:y="div",disableTypography:A=!1,subheader:m,subheaderTypographyProps:g,title:f,titleTypographyProps:w,...x}=t,C={...t,component:y,disableTypography:A},H=(e=>{const{classes:a}=e;return(0,s.A)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},c.u,a)})(C);let j=f;null==j||j.type===l.A||A||(j=(0,u.jsx)(l.A,{variant:n?"body2":"h5",className:H.title,component:"span",...w,children:j}));let R=m;return null==R||R.type===l.A||A||(R=(0,u.jsx)(l.A,{variant:n?"body2":"body1",className:H.subheader,color:"textSecondary",component:"span",...g,children:R})),(0,u.jsxs)(h,{className:(0,o.A)(H.root,i),as:y,ref:a,ownerState:C,...x,children:[n&&(0,u.jsx)(p,{className:H.avatar,ownerState:C,children:n}),(0,u.jsxs)(v,{className:H.content,ownerState:C,children:[j,R]}),r&&(0,u.jsx)(b,{className:H.action,ownerState:C,children:r})]})}))},63439:(e,a,t)=>{t.d(a,{A:()=>n,u:()=>s});var r=t(33761),o=t(85693);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.3b48685f.chunk.js.map