"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[4257],{37626:function(e,a,r){var t=r(56666),n=r(31461),o=r(7896),s=r(30969),i=r(87023),d=r(26540),l=r(33359),c=r(17363),u=r(45971),p=r(54127),v=r(37574),h=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],f=(0,u.ZP)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:function(e,a){var r;return(0,o.Z)((r={},(0,t.Z)(r,"& .".concat(p.Z.title),a.title),(0,t.Z)(r,"& .".concat(p.Z.subheader),a.subheader),r),a.root)}})({display:"flex",alignItems:"center",padding:16}),Z=(0,u.ZP)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:function(e,a){return a.avatar}})({display:"flex",flex:"0 0 auto",marginRight:16}),y=(0,u.ZP)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:function(e,a){return a.action}})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),b=(0,u.ZP)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:function(e,a){return a.content}})({flex:"1 1 auto"}),m=s.forwardRef((function(e,a){var r=(0,c.Z)({props:e,name:"MuiCardHeader"}),t=r.action,s=r.avatar,u=r.className,m=r.component,g=void 0===m?"div":m,x=r.disableTypography,C=void 0!==x&&x,w=r.subheader,H=r.subheaderTypographyProps,j=r.title,N=r.titleTypographyProps,P=(0,n.Z)(r,h),R=(0,o.Z)({},r,{component:g,disableTypography:C}),T=function(e){var a=e.classes;return(0,d.Z)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},p.J,a)}(R),M=j;null==M||M.type===l.Z||C||(M=(0,v.jsx)(l.Z,(0,o.Z)({variant:s?"body2":"h5",className:T.title,component:"span",display:"block"},N,{children:M})));var k=w;return null==k||k.type===l.Z||C||(k=(0,v.jsx)(l.Z,(0,o.Z)({variant:s?"body2":"body1",className:T.subheader,color:"text.secondary",component:"span",display:"block"},H,{children:k}))),(0,v.jsxs)(f,(0,o.Z)({className:(0,i.Z)(T.root,u),as:g,ref:a,ownerState:R},P,{children:[s&&(0,v.jsx)(Z,{className:T.avatar,ownerState:R,children:s}),(0,v.jsxs)(b,{className:T.content,ownerState:R,children:[M,k]}),t&&(0,v.jsx)(y,{className:T.action,ownerState:R,children:t})]}))}));a.Z=m},54127:function(e,a,r){r.d(a,{J:function(){return o}});var t=r(62746),n=r(2975);function o(e){return(0,n.Z)("MuiCardHeader",e)}var s=(0,t.Z)("MuiCardHeader",["root","avatar","action","content","title","subheader"]);a.Z=s},44257:function(e,a,r){r.r(a),r.d(a,{cardHeaderClasses:function(){return n.Z},default:function(){return t.Z},getCardHeaderUtilityClass:function(){return n.J}});var t=r(37626),n=r(54127)}}]);
//# sourceMappingURL=4257.533e72b3.chunk.js.map