"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9384],{33248:(e,o,t)=>{t.d(o,{A:()=>R});var a=t(83673),n=t(6614),r=t(7552),s=t(93878),c=t(60827),i=t(18283),l=t(15110),d=t(31049),u=t(74893),h=t(69500);const p=(0,u.A)((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"),m=(0,u.A)((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 A=t(51148);const v=(0,A.Ay)("span",{shouldForwardProp:A.ep})({position:"relative",display:"flex"}),f=(0,A.Ay)(p)({transform:"scale(1)"}),C=(0,A.Ay)(m)((({theme:e,ownerState:o})=>(0,n.A)({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.A)({},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(15622),b=t(4402),z=t(39006),g=t(38127);const w=["checked","checkedIcon","color","icon","name","onChange","size","className"],y=(0,A.Ay)(l.A,{shouldForwardProp:e=>(0,A.ep)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,"medium"!==t.size&&o[`size${(0,S.A)(t.size)}`],o[`color${(0,S.A)(t.color)}`]]}})((({theme:e,ownerState:o})=>(0,n.A)({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.X4)("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.A.checked}`]:{color:(e.vars||e).palette[o.color].main}},{[`&.${g.A.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),x=(0,h.jsx)(k,{checked:!0}),j=(0,h.jsx)(k,{}),R=r.forwardRef((function(e,o){var t,i;const l=(0,d.A)({props:e,name:"MuiRadio"}),{checked:u,checkedIcon:p=x,color:m="primary",icon:A=j,name:v,onChange:f,size:C="medium",className:k}=l,R=(0,a.A)(l,w),$=(0,n.A)({},l,{color:m,size:C}),M=(e=>{const{classes:o,color:t,size:a}=e,r={root:["root",`color${(0,S.A)(t)}`,"medium"!==a&&`size${(0,S.A)(a)}`]};return(0,n.A)({},o,(0,c.A)(r,g.q,o))})($),N=(0,z.A)();let I=u;const _=(0,b.A)(f,N&&N.onChange);let q=v;var O,P;return N&&(void 0===I&&(O=N.value,I="object"==typeof(P=l.value)&&null!==P?O===P:String(O)===String(P)),void 0===q&&(q=N.name)),(0,h.jsx)(y,(0,n.A)({type:"radio",icon:r.cloneElement(A,{fontSize:null!=(t=j.props.fontSize)?t:C}),checkedIcon:r.cloneElement(p,{fontSize:null!=(i=x.props.fontSize)?i:C}),ownerState:$,classes:M,name:q,checked:I,onChange:_,ref:o,className:(0,s.A)(M.root,k)},R))}))},79384:(e,o,t)=>{t.r(o),t.d(o,{default:()=>a.A,getRadioUtilityClass:()=>n.q,radioClasses:()=>n.A});var a=t(33248),n=t(38127)},38127:(e,o,t)=>{t.d(o,{A:()=>s,q:()=>r});var a=t(55549),n=t(9577);function r(e){return(0,n.Ay)("MuiRadio",e)}const s=(0,a.A)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"])},76258:(e,o,t)=>{t.d(o,{A:()=>a});const a=t(7552).createContext(void 0)},39006:(e,o,t)=>{t.d(o,{A:()=>r});var a=t(7552),n=t(76258);function r(){return a.useContext(n.A)}}}]);
//# sourceMappingURL=9384.3fc3f1f1.chunk.js.map