"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[8407],{38407:(e,t,l)=>{l.r(t),l.d(t,{default:()=>m});var r=l(7552),n=l(48768),a=l(76218),o=l(61282),s=l(93062),i=l(30698),c=l(69092),u=l(68446),h=l(75785),d=l(69500);const b=(0,h.n9)()({root:{width:500}}),m=(0,u.observer)((function({model:e,handleClose:t}){const{minorAlleleFrequencyFilter:l=""}=e,{classes:u}=b(),[h,m]=(0,r.useState)(`${l}`);return(0,d.jsx)(n.A,{open:!0,onClose:t,title:"Set minor allele frequency (MAF)",children:(0,d.jsxs)(a.A,{className:u.root,children:[(0,d.jsx)(o.A,{children:"Set minor allele frequency cutoff track. This will filter out rare variants that might not contribute to meaningful large scale patterns"}),(0,d.jsx)(s.A,{value:h,autoFocus:!0,placeholder:"Enter MAF",onChange:e=>{m(e.target.value)}}),(0,d.jsxs)(i.A,{children:[(0,d.jsx)(c.A,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,onClick:()=>{Number.isNaN(+h)||e.setMafFilter(+h),t()},children:"Submit"}),(0,d.jsx)(c.A,{variant:"contained",color:"secondary",onClick:()=>{t()},children:"Cancel"})]})]})})}))}}]);
//# sourceMappingURL=8407.95839be2.chunk.js.map