"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[7083],{3032:(e,t,o)=>{o.d(t,{A:()=>u});var n=o(7552),r=o(93878),a=o(75100),s=o(80317),i=o(21928),d=o(50864),c=o(18890),l=o(69500);const p=(0,s.Ay)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((0,i.A)((({theme:e})=>({padding:e.spacing(1,2,2)})))),u=n.forwardRef((function(e,t){const o=(0,d.b)({props:e,name:"MuiAccordionDetails"}),{className:n,...s}=o,i=o,u=(e=>{const{classes:t}=e;return(0,a.A)({root:["root"]},c.n,t)})(i);return(0,l.jsx)(p,{className:(0,r.A)(u.root,n),ref:t,ownerState:i,...s})}))},8438:(e,t,o)=>{o.d(t,{A:()=>s,T:()=>a});var n=o(51062),r=o(2958);function a(e){return(0,r.Ay)("MuiAccordionSummary",e)}const s=(0,n.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"])},18890:(e,t,o)=>{o.d(t,{A:()=>s,n:()=>a});var n=o(51062),r=o(2958);function a(e){return(0,r.Ay)("MuiAccordionDetails",e)}const s=(0,n.A)("MuiAccordionDetails",["root"])},48759:(e,t,o)=>{o.d(t,{A:()=>a});var n=o(29772),r=o(69500);const a=(0,n.A)((0,r.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},75068:(e,t,o)=>{o.d(t,{A:()=>f});var n=o(7552),r=o(93878),a=o(75100),s=o(80317),i=o(21928),d=o(50864),c=o(43124),l=o(81215),p=o(8438),u=o(22020),A=o(69500);const x=(0,s.Ay)(c.A,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((0,i.A)((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",width:"100%",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${p.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${p.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${p.A.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${p.A.expanded}`]:{minHeight:64}}}]}}))),m=(0,s.Ay)("span",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((0,i.A)((({theme:e})=>({display:"flex",textAlign:"start",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${p.A.expanded}`]:{margin:"20px 0"}}}]})))),b=(0,s.Ay)("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((0,i.A)((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${p.A.expanded}`]:{transform:"rotate(180deg)"}})))),f=n.forwardRef((function(e,t){const o=(0,d.b)({props:e,name:"MuiAccordionSummary"}),{children:s,className:i,expandIcon:c,focusVisibleClassName:f,onClick:h,slots:g,slotProps:y,...v}=o,{disabled:w=!1,disableGutters:j,expanded:M,toggle:C}=n.useContext(l.A),S={...o,expanded:M,disabled:w,disableGutters:j},k=(e=>{const{classes:t,expanded:o,disabled:n,disableGutters:r}=e,s={root:["root",o&&"expanded",n&&"disabled",!r&&"gutters"],focusVisible:["focusVisible"],content:["content",o&&"expanded",!r&&"contentGutters"],expandIconWrapper:["expandIconWrapper",o&&"expanded"]};return(0,a.A)(s,p.T,t)})(S),N={slots:g,slotProps:y},[P,R]=(0,u.A)("root",{ref:t,shouldForwardComponentProp:!0,className:(0,r.A)(k.root,i),elementType:x,externalForwardedProps:{...N,...v},ownerState:S,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:w,"aria-expanded":M,focusVisibleClassName:(0,r.A)(k.focusVisible,f)},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),(e=>{C&&C(e),h&&h(e)})(t)}})}),[I,G]=(0,u.A)("content",{className:k.content,elementType:m,externalForwardedProps:N,ownerState:S}),[T,V]=(0,u.A)("expandIconWrapper",{className:k.expandIconWrapper,elementType:b,externalForwardedProps:N,ownerState:S});return(0,A.jsxs)(P,{...R,children:[(0,A.jsx)(I,{...G,children:s}),c&&(0,A.jsx)(T,{...V,children:c})]})}))},87083:(e,t,o)=>{o.r(t),o.d(t,{default:()=>p});var n=o(48759),r=o(76386),a=o(75068),s=o(61282),i=o(3032),d=o(75785),c=o(69500);const l=(0,d.n9)()((e=>({expansionPanelDetails:{display:"block",padding:e.spacing(1)},icon:{color:e.palette.tertiary.contrastText||"#fff"}})));function p({children:e,title:t,defaultExpanded:o=!0}){const{classes:d}=l();return(0,c.jsxs)(r.A,{defaultExpanded:o,children:[(0,c.jsx)(a.A,{expandIcon:(0,c.jsx)(n.A,{className:d.icon}),children:(0,c.jsx)(s.A,{variant:"button",children:t})}),(0,c.jsx)(i.A,{className:d.expansionPanelDetails,children:e})]})}}}]);
//# sourceMappingURL=7083.44e56fad.chunk.js.map