"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),s=t(90550),i=t(92256),r=t(48651),c=t(66581),l=t(17984),h=t(70054),u=t(35436),d=t(52907),x=t(69852),p=t(2374),f=t(88581),g=t(37574),b=(0,p.ZL)()((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,s.observer)((function(e){var o=e.model,t=e.handleClose,s=b().classes,p=o.maxHeight,j=void 0===p?"":p,m=(0,a.useState)("".concat(j)),Z=(0,n.Z)(m,2),v=Z[0],C=Z[1];return(0,g.jsxs)(i.Z,{open:!0,onClose:t,children:[(0,g.jsxs)(r.Z,{children:["Filter options",(0,g.jsx)(c.Z,{"aria-label":"close",className:s.closeButton,onClick:t,children:(0,g.jsx)(f.Z,{})})]}),(0,g.jsxs)(l.Z,{className:s.root,children:[(0,g.jsx)(h.Z,{children:'Set max height for the track. For example, you can increase this if the layout says "Max height reached"'}),(0,g.jsx)(u.Z,{value:v,onChange:function(e){C(e.target.value)},placeholder:"Enter max height for layout"}),(0,g.jsxs)(d.Z,{children:[(0,g.jsx)(x.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)(x.Z,{variant:"contained",color:"secondary",onClick:function(){return t()},children:"Cancel"})]})]})]})}))}}]);
//# sourceMappingURL=3576.1fb411f9.chunk.js.map