"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[6192],{8438:(e,t,a)=>{a.d(t,{A:()=>s,T:()=>n});var o=a(51062),r=a(2958);function n(e){return(0,r.Ay)("MuiAccordionSummary",e)}const s=(0,o.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"])},26192:(e,t,a)=>{a.r(t),a.d(t,{accordionSummaryClasses:()=>r.A,default:()=>o.A,getAccordionSummaryUtilityClass:()=>r.T});var o=a(75068),r=a(8438)},75068:(e,t,a)=>{a.d(t,{A:()=>y});var o=a(7552),r=a(93878),n=a(75100),s=a(80317),i=a(21928),d=a(50864),l=a(43124),c=a(81215),p=a(8438),u=a(22020),m=a(69500);const A=(0,s.Ay)(l.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}}}]}})),b=(0,s.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"}}}]}))),x=(0,s.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)"}}))),y=o.forwardRef(function(e,t){const a=(0,d.b)({props:e,name:"MuiAccordionSummary"}),{children:s,className:i,expandIcon:l,focusVisibleClassName:y,onClick:f,slots:h,slotProps:g,...w}=a,{disabled:C=!1,disableGutters:S,expanded:v,toggle:k}=o.useContext(c.A),G={...a,expanded:v,disabled:C,disableGutters:S},P=(e=>{const{classes:t,expanded:a,disabled:o,disableGutters:r}=e,s={root:["root",a&&"expanded",o&&"disabled",!r&&"gutters"],focusVisible:["focusVisible"],content:["content",a&&"expanded",!r&&"contentGutters"],expandIconWrapper:["expandIconWrapper",a&&"expanded"]};return(0,n.A)(s,p.T,t)})(G),T={slots:h,slotProps:g},[I,V]=(0,u.A)("root",{ref:t,shouldForwardComponentProp:!0,className:(0,r.A)(P.root,i),elementType:A,externalForwardedProps:{...T,...w},ownerState:G,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:C,"aria-expanded":v,focusVisibleClassName:(0,r.A)(P.focusVisible,y)},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),(e=>{k&&k(e),f&&f(e)})(t)}})}),[M,N]=(0,u.A)("content",{className:P.content,elementType:b,externalForwardedProps:T,ownerState:G}),[W,$]=(0,u.A)("expandIconWrapper",{className:P.expandIconWrapper,elementType:x,externalForwardedProps:T,ownerState:G});return(0,m.jsxs)(I,{...V,children:[(0,m.jsx)(M,{...N,children:s}),l&&(0,m.jsx)(W,{...$,children:l})]})})},81215:(e,t,a)=>{a.d(t,{A:()=>o});const o=a(7552).createContext({})}}]);
//# sourceMappingURL=6192.a80ea63a.chunk.js.map