"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[6161],{36161:function(e,a,t){t.r(a);var i=t(96234),o=t(30969),r=t(90550),n=t(92256),s=t(48651),l=t(66581),c=t(17984),d=t(70054),u=t(35436),h=t(52907),b=t(69852),g=t(2374),p=t(88581),x=t(37574),f=(0,g.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)}}}));a.default=(0,r.observer)((function(e){var a=e.model,t=e.handleClose,r=f().classes,g=a.maxHeight,j=void 0===g?"":g,m=(0,o.useState)("".concat(j)),Z=(0,i.Z)(m,2),v=Z[0],y=Z[1];return(0,x.jsxs)(n.Z,{open:!0,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[(0,x.jsxs)(s.Z,{id:"alert-dialog-title",children:["Filter options",(0,x.jsx)(l.Z,{"aria-label":"close",className:r.closeButton,onClick:t,size:"large",children:(0,x.jsx)(p.Z,{})})]}),(0,x.jsxs)(c.Z,{className:r.root,children:[(0,x.jsx)(d.Z,{children:'Set max height for the track. For example, you can increase this if the layout says "Max height reached"'}),(0,x.jsx)(u.Z,{value:v,onChange:function(e){return y(e.target.value)},placeholder:"Enter max score"}),(0,x.jsxs)(h.Z,{children:[(0,x.jsx)(b.Z,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,onClick:function(){a.setMaxHeight(""===v||Number.isNaN(+v)?void 0:+v),t()},children:"Submit"}),(0,x.jsx)(b.Z,{variant:"contained",color:"secondary",onClick:function(){return t()},children:"Cancel"})]})]})]})}))}}]);
//# sourceMappingURL=6161.50f607f5.chunk.js.map