"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[3576],{93576:function(e,o,t){t.r(o);var n=t(96234),a=t(30969),i=t(90550),r=t(22714),s=t(83483),c=t(64501),l=t(32343),h=t(93138),u=t(80975),d=t(7690),x=t(53033),p=t(28599),f=t(14008),g=t(37574),b=(0,r.Z)((function(e){return{root:{width:500},closeButton:{position:"absolute",right:e.spacing(1),top:e.spacing(1),color:e.palette.grey[500]},field:{margin:e.spacing(2)}}}));o.default=(0,i.observer)((function(e){var o=e.model,t=e.handleClose,i=b(),r=o.maxHeight,j=void 0===r?"":r,m=(0,a.useState)("".concat(j)),Z=(0,n.Z)(m,2),v=Z[0],C=Z[1];return(0,g.jsxs)(s.Z,{open:!0,onClose:t,children:[(0,g.jsxs)(c.Z,{children:["Filter options",(0,g.jsx)(l.Z,{"aria-label":"close",className:i.closeButton,onClick:t,children:(0,g.jsx)(f.Z,{})})]}),(0,g.jsxs)(h.Z,{className:i.root,children:[(0,g.jsx)(u.Z,{children:'Set max height for the track. For example, you can increase this if the layout says "Max height reached"'}),(0,g.jsx)(d.Z,{value:v,onChange:function(e){C(e.target.value)},placeholder:"Enter max height for layout"}),(0,g.jsxs)(x.Z,{children:[(0,g.jsx)(p.Z,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,onClick:function(){o.setMaxHeight(""===v||Number.isNaN(+v)?void 0:+v),t()},children:"Submit"}),(0,g.jsx)(p.Z,{variant:"contained",color:"secondary",onClick:function(){return t()},children:"Cancel"})]})]})]})}))}}]);
//# sourceMappingURL=3576.b2146cf7.chunk.js.map