"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9173],{69173:(e,t,a)=>{a.r(t),a.d(t,{default:()=>m});var o=a(7552),l=a(68446),n=a(29499),r=a(36715),c=a(1343),i=a(58507),s=a(5401),h=a(48735);const u=(0,a(75785).n9)()({root:{width:500}}),m=(0,l.observer)((function(e){const{model:t,handleClose:a}=e,{classes:l}=u(),{maxHeight:m=""}=t,[b,d]=(0,o.useState)(`${m}`);return o.createElement(h.Dialog,{open:!0,onClose:a,title:"Filter options"},o.createElement(n.A,{className:l.root},o.createElement(r.A,null,'Set max height for the track. For example, you can increase this if the layout says "Max height reached"'),o.createElement(c.A,{value:b,onChange:e=>d(e.target.value),placeholder:"Enter max height for layout"}),o.createElement(i.A,null,o.createElement(s.A,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,onClick:()=>{t.setMaxHeight(""===b||Number.isNaN(+b)?void 0:+b),a()}},"Submit"),o.createElement(s.A,{variant:"contained",color:"secondary",onClick:()=>a()},"Cancel"))))}))}}]);
//# sourceMappingURL=9173.bcaf9a29.chunk.js.map