"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9384],{33248:(e,o,t)=>{t.d(o,{A:()=>j});var a=t(7552),s=t(93878),r=t(70799),n=t(72639),i=t(15110),c=t(74893),l=t(69500);const d=(0,c.A)((0,l.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"),p=(0,c.A)((0,l.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 u=t(55270),h=t(51148),m=t(60129);const v=(0,h.Ay)("span",{shouldForwardProp:u.A})({position:"relative",display:"flex"}),A=(0,h.Ay)(d)({transform:"scale(1)"}),b=(0,h.Ay)(p)((0,m.A)((({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})))),f=function(e){const{checked:o=!1,classes:t={},fontSize:a}=e,s={...e,checked:o};return(0,l.jsxs)(v,{className:t.root,ownerState:s,children:[(0,l.jsx)(A,{fontSize:a,className:t.background,ownerState:s}),(0,l.jsx)(b,{fontSize:a,className:t.dot,ownerState:s})]})};var y=t(15622),C=t(4402),k=t(39006),g=t(38127),z=t(4785);const S=(0,h.Ay)(i.A,{shouldForwardProp:e=>(0,u.A)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,"medium"!==t.size&&o[`size${(0,y.A)(t.size)}`],o[`color${(0,y.A)(t.color)}`]]}})((0,m.A)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${g.A.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,n.X4)(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([o])=>({props:{color:o,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,n.X4)(e.palette[o].main,e.palette.action.hoverOpacity)}}}))),...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([o])=>({props:{color:o},style:{[`&.${g.A.checked}`]:{color:(e.vars||e).palette[o].main}}}))),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})))),R=(0,l.jsx)(f,{checked:!0}),w=(0,l.jsx)(f,{}),j=a.forwardRef((function(e,o){const t=(0,z.b)({props:e,name:"MuiRadio"}),{checked:n,checkedIcon:i=R,color:c="primary",icon:d=w,name:p,onChange:u,size:h="medium",className:m,disableRipple:v=!1,...A}=t,b={...t,disableRipple:v,color:c,size:h},f=(e=>{const{classes:o,color:t,size:a}=e,s={root:["root",`color${(0,y.A)(t)}`,"medium"!==a&&`size${(0,y.A)(a)}`]};return{...o,...(0,r.A)(s,g.q,o)}})(b),j=(0,k.A)();let x=n;const $=(0,C.A)(u,j&&j.onChange);let O=p;var M,N;return j&&(void 0===x&&(M=j.value,x="object"==typeof(N=t.value)&&null!==N?M===N:String(M)===String(N)),void 0===O&&(O=j.name)),(0,l.jsx)(S,{type:"radio",icon:a.cloneElement(d,{fontSize:w.props.fontSize??h}),checkedIcon:a.cloneElement(i,{fontSize:R.props.fontSize??h}),ownerState:b,classes:f,name:O,checked:x,onChange:$,ref:o,className:(0,s.A)(f.root,m),...A})}))},79384:(e,o,t)=>{t.r(o),t.d(o,{default:()=>a.A,getRadioUtilityClass:()=>s.q,radioClasses:()=>s.A});var a=t(33248),s=t(38127)},38127:(e,o,t)=>{t.d(o,{A:()=>n,q:()=>r});var a=t(33761),s=t(85693);function r(e){return(0,s.Ay)("MuiRadio",e)}const n=(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),s=t(76258);function r(){return a.useContext(s.A)}}}]);
//# sourceMappingURL=9384.27782030.chunk.js.map