"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[7091],{7091:(n,o,e)=>{e.r(o),e.d(o,{default:()=>v,getSpeedDialIconUtilityClass:()=>m,speedDialIconClasses:()=>f});var t=e(31461),c=e(7896),a=e(41867),i=e(66184),r=e(92705),s=e(75693),p=e(90293),l=e(17886),I=e(80838);const u=(0,l.Z)((0,I.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");var d=e(70101),h=e(88498);function m(n){return(0,h.Z)("MuiSpeedDialIcon",n)}const f=(0,d.Z)("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]),O=["className","icon","open","openIcon"],Z=(0,s.ZP)("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:(n,o)=>{const{ownerState:e}=n;return[{["& .".concat(f.icon)]:o.icon},{["& .".concat(f.icon)]:e.open&&o.iconOpen},{["& .".concat(f.icon)]:e.open&&e.openIcon&&o.iconWithOpenIconOpen},{["& .".concat(f.openIcon)]:o.openIcon},{["& .".concat(f.openIcon)]:e.open&&o.openIconOpen},o.root]}})((n=>{let{theme:o,ownerState:e}=n;return{height:24,["& .".concat(f.icon)]:(0,c.Z)({transition:o.transitions.create(["transform","opacity"],{duration:o.transitions.duration.short})},e.open&&(0,c.Z)({transform:"rotate(45deg)"},e.openIcon&&{opacity:0})),["& .".concat(f.openIcon)]:(0,c.Z)({position:"absolute",transition:o.transitions.create(["transform","opacity"],{duration:o.transitions.duration.short}),opacity:0,transform:"rotate(-45deg)"},e.open&&{transform:"rotate(0deg)",opacity:1})}})),w=a.forwardRef((function(n,o){const e=(0,p.Z)({props:n,name:"MuiSpeedDialIcon"}),{className:s,icon:l,openIcon:d}=e,h=(0,t.Z)(e,O),f=e,w=(n=>{const{classes:o,open:e,openIcon:t}=n,c={root:["root"],icon:["icon",e&&"iconOpen",t&&e&&"iconWithOpenIconOpen"],openIcon:["openIcon",e&&"openIconOpen"]};return(0,r.Z)(c,m,o)})(f);function v(n,o){return a.isValidElement(n)?a.cloneElement(n,{className:o}):n}return(0,I.jsxs)(Z,(0,c.Z)({className:(0,i.Z)(w.root,s),ref:o,ownerState:f},h,{children:[d?v(d,w.openIcon):null,l?v(l,w.icon):(0,I.jsx)(u,{className:w.icon})]}))}));w.muiName="SpeedDialIcon";const v=w}}]);
//# sourceMappingURL=7091.d8919f71.chunk.js.map