(this["webpackJsonp@jbrowse/web"]=this["webpackJsonp@jbrowse/web"]||[]).push([[54],{2441:function(e,t,a){"use strict";a.r(t);var n=a(83),o=a(1),l=a.n(o),r=a(85),i=a(51),c=a(2396),s=a(2399),u=a(2368),m=a(2400),b=a(2364),p=a(2373),h=a(2363),g=a(131),d=a.n(g),f=Object(i.a)((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)}}}));t.default=Object(r.observer)((function(e){var t=e.model,a=e.handleClose,r=f(),i=t.maxHeight,g=void 0===i?"":i,E=Object(o.useState)("".concat(g)),v=Object(n.a)(E,2),w=v[0],j=v[1];return l.a.createElement(c.a,{open:!0,onClose:a},l.a.createElement(s.a,{id:"alert-dialog-title"},"Filter options",l.a.createElement(u.a,{"aria-label":"close",className:r.closeButton,onClick:a},l.a.createElement(d.a,null))),l.a.createElement(m.a,null,l.a.createElement("div",{className:r.root},l.a.createElement(b.a,null,"Set max height for the track"),l.a.createElement(p.a,{value:w,onChange:function(e){j(e.target.value)},placeholder:"Enter max height for layout"}),l.a.createElement(h.a,{variant:"contained",color:"primary",type:"submit",style:{marginLeft:20},onClick:function(){t.setMaxHeight(""===w||Number.isNaN(+w)?void 0:+w),a()}},"Submit"))))}))}}]);
//# sourceMappingURL=54.8b7e9a7b.chunk.js.map