"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[7083],{3032:(e,t,n)=>{n.d(t,{A:()=>u});var a=n(7552),o=n(93878),s=n(75100),r=n(80317),i=n(21928),d=n(50864),c=n(18890),l=n(69500);const p=(0,r.Ay)("div",{name:"MuiAccordionDetails",slot:"Root"})((0,i.A)((({theme:e})=>({padding:e.spacing(1,2,2)})))),u=a.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiAccordionDetails"}),{className:a,...r}=n,i=n,u=(e=>{const{classes:t}=e;return(0,s.A)({root:["root"]},c.n,t)})(i);return(0,l.jsx)(p,{className:(0,o.A)(u.root,a),ref:t,ownerState:i,...r})}))},8438:(e,t,n)=>{n.d(t,{A:()=>r,T:()=>s});var a=n(51062),o=n(2958);function s(e){return(0,o.Ay)("MuiAccordionSummary",e)}const r=(0,a.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"])},18890:(e,t,n)=>{n.d(t,{A:()=>r,n:()=>s});var a=n(51062),o=n(2958);function s(e){return(0,o.Ay)("MuiAccordionDetails",e)}const r=(0,a.A)("MuiAccordionDetails",["root"])},48759:(e,t,n)=>{n.d(t,{A:()=>s});var a=n(29772),o=n(69500);const s=(0,a.A)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},75068:(e,t,n)=>{n.d(t,{A:()=>f});var a=n(7552),o=n(93878),s=n(75100),r=n(80317),i=n(21928),d=n(50864),c=n(43124),l=n(81215),p=n(8438),u=n(22020),A=n(69500);const x=(0,r.Ay)(c.A,{name:"MuiAccordionSummary",slot:"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,r.Ay)("span",{name:"MuiAccordionSummary",slot:"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,r.Ay)("span",{name:"MuiAccordionSummary",slot:"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=a.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiAccordionSummary"}),{children:r,className:i,expandIcon:c,focusVisibleClassName:f,onClick:h,slots:g,slotProps:y,...w}=n,{disabled:v=!1,disableGutters:j,expanded:M,toggle:C}=a.useContext(l.A),S={...n,expanded:M,disabled:v,disableGutters:j},k=(e=>{const{classes:t,expanded:n,disabled:a,disableGutters:o}=e,r={root:["root",n&&"expanded",a&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,s.A)(r,p.T,t)})(S),N={slots:g,slotProps:y},[P,G]=(0,u.A)("root",{ref:t,shouldForwardComponentProp:!0,className:(0,o.A)(k.root,i),elementType:x,externalForwardedProps:{...N,...w},ownerState:S,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:v,"aria-expanded":M,focusVisibleClassName:(0,o.A)(k.focusVisible,f)},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),(e=>{C&&C(e),h&&h(e)})(t)}})}),[I,T]=(0,u.A)("content",{className:k.content,elementType:m,externalForwardedProps:N,ownerState:S}),[V,D]=(0,u.A)("expandIconWrapper",{className:k.expandIconWrapper,elementType:b,externalForwardedProps:N,ownerState:S});return(0,A.jsxs)(P,{...G,children:[(0,A.jsx)(I,{...T,children:r}),c&&(0,A.jsx)(V,{...D,children:c})]})}))},87083:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var a=n(48759),o=n(76386),s=n(75068),r=n(61282),i=n(3032),d=n(75785),c=n(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:n=!0}){const{classes:d}=l();return(0,c.jsxs)(o.A,{defaultExpanded:n,children:[(0,c.jsx)(s.A,{expandIcon:(0,c.jsx)(a.A,{className:d.icon}),children:(0,c.jsx)(r.A,{variant:"button",children:t})}),(0,c.jsx)(i.A,{className:d.expansionPanelDetails,children:e})]})}}}]);
//# sourceMappingURL=7083.16cde34b.chunk.js.map