"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[3790],{98402:(e,o,a)=>{a.d(o,{Z:()=>m});var r=a(55559),t=a(30984),i=a(66204),s=a(56317),l=a(58029),n=a(42870),d=a(40118),c=a(57369),h=a(93112),u=a(61125),b=a(43188);const p=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],v=(0,u.ZP)(n.Z,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>(0,u.FO)(e)||"classes"===e,overridesResolver:(e,o)=>{const{ownerState:a}=e;return[o.root,o[a.variant],o[`size${(0,d.Z)(a.size)}`],"inherit"===a.color&&o.colorInherit,o[(0,d.Z)(a.size)],o[a.color]]}})((({theme:e,ownerState:o})=>{var a,r;return(0,t.Z)({},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.Z.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.Z)({},"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.Z.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}))),m=i.forwardRef((function(e,o){const a=(0,c.Z)({props:e,name:"MuiFab"}),{children:i,className:n,color:u="default",component:m="button",disabled:g=!1,disableFocusRipple:w=!1,focusVisibleClassName:Z,size:x="large",variant:f="circular"}=a,z=(0,r.Z)(a,p),C=(0,t.Z)({},a,{color:u,component:m,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.Z)(i)}`,"inherit"===o?"colorInherit":o]},n=(0,l.Z)(s,h.N,r);return(0,t.Z)({},r,n)})(C);return(0,b.jsx)(v,(0,t.Z)({className:(0,s.Z)(k.root,n),component:m,disabled:g,focusRipple:!w,focusVisibleClassName:(0,s.Z)(k.focusVisible,Z),ownerState:C,ref:o},z,{classes:k,children:i}))}))},93112:(e,o,a)=>{a.d(o,{N:()=>i,Z:()=>s});var r=a(58109),t=a(95201);function i(e){return(0,t.Z)("MuiFab",e)}const s=(0,r.Z)("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"])},53790:(e,o,a)=>{a.r(o),a.d(o,{default:()=>r.Z,fabClasses:()=>t.Z,getFabUtilityClass:()=>t.N});var r=a(98402),t=a(93112)}}]);
//# sourceMappingURL=3790.fe11ae14.chunk.js.map