"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9793],{32842:(e,o,t)=>{t.d(o,{Z:()=>y});var a=t(55559),n=t(30984),r=t(66204),s=t(56317),c=t(58029),i=t(73330),l=t(68892),d=t(57369),u=t(50968),h=t(43188);const m=(0,u.Z)((0,h.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,u.Z)((0,h.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");var p=t(61125);const v=(0,p.ZP)("span",{shouldForwardProp:p.FO})({position:"relative",display:"flex"}),f=(0,p.ZP)(m)({transform:"scale(1)"}),C=(0,p.ZP)(Z)((({theme:e,ownerState:o})=>(0,n.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},o.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}))),k=function(e){const{checked:o=!1,classes:t={},fontSize:a}=e,r=(0,n.Z)({},e,{checked:o});return(0,h.jsxs)(v,{className:t.root,ownerState:r,children:[(0,h.jsx)(f,{fontSize:a,className:t.background,ownerState:r}),(0,h.jsx)(C,{fontSize:a,className:t.dot,ownerState:r})]})};var S=t(40118),b=t(91882),z=t(66021),g=t(95474);const w=["checked","checkedIcon","color","icon","name","onChange","size","className"],x=(0,p.ZP)(l.Z,{shouldForwardProp:e=>(0,p.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,"medium"!==t.size&&o[`size${(0,S.Z)(t.size)}`],o[`color${(0,S.Z)(t.color)}`]]}})((({theme:e,ownerState:o})=>(0,n.Z)({color:(e.vars||e).palette.text.secondary},!o.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===o.color?e.vars.palette.action.activeChannel:e.vars.palette[o.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.Fq)("default"===o.color?e.palette.action.active:e.palette[o.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==o.color&&{[`&.${g.Z.checked}`]:{color:(e.vars||e).palette[o.color].main}},{[`&.${g.Z.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),j=(0,h.jsx)(k,{checked:!0}),R=(0,h.jsx)(k,{}),y=r.forwardRef((function(e,o){var t,i;const l=(0,d.Z)({props:e,name:"MuiRadio"}),{checked:u,checkedIcon:m=j,color:Z="primary",icon:p=R,name:v,onChange:f,size:C="medium",className:k}=l,y=(0,a.Z)(l,w),$=(0,n.Z)({},l,{color:Z,size:C}),P=(e=>{const{classes:o,color:t,size:a}=e,r={root:["root",`color${(0,S.Z)(t)}`,"medium"!==a&&`size${(0,S.Z)(a)}`]};return(0,n.Z)({},o,(0,c.Z)(r,g.l,o))})($),M=(0,z.Z)();let N=u;const F=(0,b.Z)(f,M&&M.onChange);let O=v;var I,_;return M&&(void 0===N&&(I=M.value,N="object"==typeof(_=l.value)&&null!==_?I===_:String(I)===String(_)),void 0===O&&(O=M.name)),(0,h.jsx)(x,(0,n.Z)({type:"radio",icon:r.cloneElement(p,{fontSize:null!=(t=R.props.fontSize)?t:C}),checkedIcon:r.cloneElement(m,{fontSize:null!=(i=j.props.fontSize)?i:C}),ownerState:$,classes:P,name:O,checked:N,onChange:F,ref:o,className:(0,s.Z)(P.root,k)},y))}))},99793:(e,o,t)=>{t.r(o),t.d(o,{default:()=>a.Z,getRadioUtilityClass:()=>n.l,radioClasses:()=>n.Z});var a=t(32842),n=t(95474)},95474:(e,o,t)=>{t.d(o,{Z:()=>s,l:()=>r});var a=t(58109),n=t(95201);function r(e){return(0,n.Z)("MuiRadio",e)}const s=(0,a.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"])},54855:(e,o,t)=>{t.d(o,{Z:()=>a});const a=t(66204).createContext(void 0)},66021:(e,o,t)=>{t.d(o,{Z:()=>r});var a=t(66204),n=t(54855);function r(){return a.useContext(n.Z)}}}]);
//# sourceMappingURL=9793.974c16ce.chunk.js.map