"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:P}=a.useContext(l.A),C={...n,expanded:M,disabled:v,disableGutters:j},S=(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)})(C),k={slots:g,slotProps:y},[N,D]=(0,u.A)("root",{ref:t,shouldForwardComponentProp:!0,className:(0,o.A)(S.root,i),elementType:x,externalForwardedProps:{...k,...w},ownerState:C,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:v,"aria-expanded":M,focusVisibleClassName:(0,o.A)(S.focusVisible,f)},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),(e=>{P&&P(e),h&&h(e)})(t)}})}),[G,I]=(0,u.A)("content",{className:S.content,elementType:m,externalForwardedProps:k,ownerState:C}),[T,V]=(0,u.A)("expandIconWrapper",{className:S.expandIconWrapper,elementType:b,externalForwardedProps:k,ownerState:C});return(0,A.jsxs)(N,{...D,children:[(0,A.jsx)(G,{...I,children:r}),c&&(0,A.jsx)(T,{...V,children:c})]})})},87083:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var a=n(67758),o=n(48759),s=n(61282),r=n(75068),i=n(3032),d=n(76386),c=n(75785),l=n(69500);const p=(0,c.n9)()(e=>({expansionPanelDetails:{display:"block",padding:e.spacing(1)},icon:{color:e.palette.tertiary.contrastText||"#fff"}}));function u(e){const t=(0,a.c)(14),{children:n,title:c,defaultExpanded:u}=e,A=void 0===u||u,{classes:x}=p();let m,b,f,h,g;return t[0]!==x.icon?(m=(0,l.jsx)(o.A,{className:x.icon}),t[0]=x.icon,t[1]=m):m=t[1],t[2]!==c?(b=(0,l.jsx)(s.A,{variant:"button",children:c}),t[2]=c,t[3]=b):b=t[3],t[4]!==m||t[5]!==b?(f=(0,l.jsx)(r.A,{expandIcon:m,children:b}),t[4]=m,t[5]=b,t[6]=f):f=t[6],t[7]!==n||t[8]!==x.expansionPanelDetails?(h=(0,l.jsx)(i.A,{className:x.expansionPanelDetails,children:n}),t[7]=n,t[8]=x.expansionPanelDetails,t[9]=h):h=t[9],t[10]!==A||t[11]!==f||t[12]!==h?(g=(0,l.jsxs)(d.A,{defaultExpanded:A,children:[f,h]}),t[10]=A,t[11]=f,t[12]=h,t[13]=g):g=t[13],g}}}]);
//# sourceMappingURL=7083.deef8c82.chunk.js.map