"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[7974],{62859:(e,o,r)=>{r.d(o,{A:()=>g});var a=r(7552),t=r(93878),s=r(70799),i=r(48054),n=r(15622),d=r(1791),l=r(55270),c=r(51148),h=r(60129),p=r(58520),u=r(4785),b=r(69500);const v=(0,c.Ay)(i.A,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>(0,l.A)(e)||"classes"===e,overridesResolver:(e,o)=>{const{ownerState:r}=e;return[o.root,o[r.variant],o[`size${(0,n.A)(r.size)}`],"inherit"===r.color&&o.colorInherit,o[(0,n.A)(r.size)],o[r.color]]}})((0,h.A)((({theme:e})=>({...e.typography.button,minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.text.primary:e.palette.getContrastText?.(e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${d.A.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},variants:[{props:{size:"small"},style:{width:40,height:40}},{props:{size:"medium"},style:{width:48,height:48}},{props:{variant:"extended"},style:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48}},{props:{variant:"extended",size:"small"},style:{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34}},{props:{variant:"extended",size:"medium"},style:{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},{props:{color:"inherit"},style:{color:"inherit"}}]}))),(0,h.A)((({theme:e})=>({variants:[...Object.entries(e.palette).filter((0,p.A)(["dark","contrastText"])).map((([o])=>({props:{color:o},style:{color:(e.vars||e).palette[o].contrastText,backgroundColor:(e.vars||e).palette[o].main,"&:hover":{backgroundColor:(e.vars||e).palette[o].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[o].main}}}})))]}))),(0,h.A)((({theme:e})=>({[`&.${d.A.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}})))),g=a.forwardRef((function(e,o){const r=(0,u.b)({props:e,name:"MuiFab"}),{children:a,className:i,color:l="default",component:c="button",disabled:h=!1,disableFocusRipple:p=!1,focusVisibleClassName:g,size:m="large",variant:w="circular",...A}=r,x={...r,color:l,component:c,disabled:h,disableFocusRipple:p,size:m,variant:w},y=(e=>{const{color:o,variant:r,classes:a,size:t}=e,i={root:["root",r,`size${(0,n.A)(t)}`,"inherit"===o?"colorInherit":o]},l=(0,s.A)(i,d.C,a);return{...a,...l}})(x);return(0,b.jsx)(v,{className:(0,t.A)(y.root,i),component:c,disabled:h,focusRipple:!p,focusVisibleClassName:(0,t.A)(y.focusVisible,g),ownerState:x,ref:o,...A,classes:y,children:a})}))},1791:(e,o,r)=>{r.d(o,{A:()=>i,C:()=>s});var a=r(33761),t=r(85693);function s(e){return(0,t.Ay)("MuiFab",e)}const i=(0,a.A)("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"])},97974:(e,o,r)=>{r.r(o),r.d(o,{default:()=>a.A,fabClasses:()=>t.A,getFabUtilityClass:()=>t.C});var a=r(62859),t=r(1791)}}]);
//# sourceMappingURL=7974.3f19c570.chunk.js.map