"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[7974],{62859:(e,o,a)=>{a.d(o,{A:()=>g});var r=a(83673),t=a(6614),i=a(7552),s=a(93878),l=a(60827),n=a(83159),d=a(15622),c=a(31049),h=a(1791),u=a(51148),b=a(55270),p=a(69500);const v=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],m=(0,u.Ay)(n.A,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>(0,b.A)(e)||"classes"===e,overridesResolver:(e,o)=>{const{ownerState:a}=e;return[o.root,o[a.variant],o[`size${(0,d.A)(a.size)}`],"inherit"===a.color&&o.colorInherit,o[(0,d.A)(a.size)],o[a.color]]}})((({theme:e,ownerState:o})=>{var a,r;return(0,t.A)({},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:null==(a=(r=e.palette).getContrastText)?void 0:a.call(r,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"},[`&.${h.A.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]}},"small"===o.size&&{width:40,height:40},"medium"===o.size&&{width:48,height:48},"extended"===o.variant&&{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},"extended"===o.variant&&"small"===o.size&&{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"extended"===o.variant&&"medium"===o.size&&{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40},"inherit"===o.color&&{color:"inherit"})}),(({theme:e,ownerState:o})=>(0,t.A)({},"inherit"!==o.color&&"default"!==o.color&&null!=(e.vars||e).palette[o.color]&&{color:(e.vars||e).palette[o.color].contrastText,backgroundColor:(e.vars||e).palette[o.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[o.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[o.color].main}}})),(({theme:e})=>({[`&.${h.A.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}))),g=i.forwardRef((function(e,o){const a=(0,c.A)({props:e,name:"MuiFab"}),{children:i,className:n,color:u="default",component:b="button",disabled:g=!1,disableFocusRipple:w=!1,focusVisibleClassName:A,size:x="large",variant:f="circular"}=a,C=(0,r.A)(a,v),z=(0,t.A)({},a,{color:u,component:b,disabled:g,disableFocusRipple:w,size:x,variant:f}),k=(e=>{const{color:o,variant:a,classes:r,size:i}=e,s={root:["root",a,`size${(0,d.A)(i)}`,"inherit"===o?"colorInherit":o]},n=(0,l.A)(s,h.C,r);return(0,t.A)({},r,n)})(z);return(0,p.jsx)(m,(0,t.A)({className:(0,s.A)(k.root,n),component:b,disabled:g,focusRipple:!w,focusVisibleClassName:(0,s.A)(k.focusVisible,A),ownerState:z,ref:o},C,{classes:k,children:i}))}))},1791:(e,o,a)=>{a.d(o,{A:()=>s,C:()=>i});var r=a(55549),t=a(9577);function i(e){return(0,t.Ay)("MuiFab",e)}const s=(0,r.A)("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"])},97974:(e,o,a)=>{a.r(o),a.d(o,{default:()=>r.A,fabClasses:()=>t.A,getFabUtilityClass:()=>t.C});var r=a(62859),t=a(1791)}}]);
//# sourceMappingURL=7974.aeacdb63.chunk.js.map