"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[7419],{13570:(e,o,r)=>{r.d(o,{A:()=>g});var a=r(7552),t=r(93878),s=r(75100),i=r(43124),n=r(74325),d=r(51456),l=r(99977),c=r(80317),h=r(21928),p=r(20535),u=r(50864),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.grey[900]: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})})},37419:(e,o,r)=>{r.r(o),r.d(o,{default:()=>a.A,fabClasses:()=>t.A,getFabUtilityClass:()=>t.C});var a=r(13570),t=r(51456)},51456:(e,o,r)=>{r.d(o,{A:()=>i,C:()=>s});var a=r(51062),t=r(2958);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"])}}]);
//# sourceMappingURL=7419.d2d57c54.chunk.js.map