"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[5185],{52849:function(e,o,t){t.d(o,{Z:function(){return M}});var n=t(56666),a=t(31461),r=t(7896),c=t(30969),i=t(81856),s=t(26540),l=t(74262),d=t(56844),u=t(2441),f=t(12104),v=t(37574),h=(0,f.Z)((0,v.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),Z=(0,f.Z)((0,v.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),p=t(62221),m=(0,p.ZP)("span")({position:"relative",display:"flex"}),C=(0,p.ZP)(h)({transform:"scale(1)"}),k=(0,p.ZP)(Z)((function(e){var o=e.theme,t=e.ownerState;return(0,r.Z)({left:0,position:"absolute",transform:"scale(0)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeIn,duration:o.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeOut,duration:o.transitions.duration.shortest})})}));var S=function(e){var o=e.checked,t=void 0!==o&&o,n=e.classes,a=void 0===n?{}:n,c=e.fontSize,i=(0,r.Z)({},e,{checked:t});return(0,v.jsxs)(m,{className:a.root,ownerState:i,children:[(0,v.jsx)(C,{fontSize:c,className:a.background,ownerState:i}),(0,v.jsx)(k,{fontSize:c,className:a.dot,ownerState:i})]})},b=t(99853),g=t(74223),w=t(67889),x=t(5318),y=["checked","checkedIcon","color","icon","name","onChange","size","className"],z=(0,p.ZP)(d.Z,{shouldForwardProp:function(e){return(0,p.FO)(e)||"classes"===e},name:"MuiRadio",slot:"Root",overridesResolver:function(e,o){var t=e.ownerState;return[o.root,o["color".concat((0,b.Z)(t.color))]]}})((function(e){var o=e.theme,t=e.ownerState;return(0,r.Z)({color:(o.vars||o).palette.text.secondary,"&:hover":{backgroundColor:o.vars?"rgba(".concat("default"===t.color?o.vars.palette.action.activeChannel:o.vars.palette[t.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,l.Fq)("default"===t.color?o.palette.action.active:o.palette[t.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&(0,n.Z)({},"&.".concat(x.Z.checked),{color:(o.vars||o).palette[t.color].main}),(0,n.Z)({},"&.".concat(x.Z.disabled),{color:(o.vars||o).palette.action.disabled}))}));var j=(0,v.jsx)(S,{checked:!0}),R=(0,v.jsx)(S,{}),M=c.forwardRef((function(e,o){var t,n,l,d,f=(0,u.Z)({props:e,name:"MuiRadio"}),h=f.checked,Z=f.checkedIcon,p=void 0===Z?j:Z,m=f.color,C=void 0===m?"primary":m,k=f.icon,S=void 0===k?R:k,M=f.name,N=f.onChange,P=f.size,I=void 0===P?"medium":P,O=f.className,_=(0,a.Z)(f,y),F=(0,r.Z)({},f,{color:C,size:I}),B=function(e){var o=e.classes,t=e.color,n={root:["root","color".concat((0,b.Z)(t))]};return(0,r.Z)({},o,(0,s.Z)(n,x.l,o))}(F),E=(0,w.Z)(),U=h,q=(0,g.Z)(N,E&&E.onChange),A=M;return E&&("undefined"===typeof U&&(l=E.value,U="object"===typeof(d=f.value)&&null!==d?l===d:String(l)===String(d)),"undefined"===typeof A&&(A=E.name)),(0,v.jsx)(z,(0,r.Z)({type:"radio",icon:c.cloneElement(S,{fontSize:null!=(t=R.props.fontSize)?t:I}),checkedIcon:c.cloneElement(p,{fontSize:null!=(n=j.props.fontSize)?n:I}),ownerState:F,classes:B,name:A,checked:U,onChange:q,ref:o,className:(0,i.default)(B.root,O)},_))}))},55185:function(e,o,t){t.r(o),t.d(o,{default:function(){return n.Z},getRadioUtilityClass:function(){return a.l},radioClasses:function(){return a.Z}});var n=t(52849),a=t(5318)},5318:function(e,o,t){t.d(o,{l:function(){return a}});var n=t(2975);function a(e){return(0,n.Z)("MuiRadio",e)}var r=(0,t(62746).Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]);o.Z=r},72038:function(e,o,t){var n=t(30969).createContext(void 0);o.Z=n},67889:function(e,o,t){t.d(o,{Z:function(){return r}});var n=t(30969),a=t(72038);function r(){return n.useContext(a.Z)}}}]);
//# sourceMappingURL=5185.10e11a6c.chunk.js.map