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